igniteui-webcomponents-layouts 4.0.3 → 4.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +1582 -2580
  2. package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
  3. package/esm2015/lib/ListPanelView_combined.js +31 -18
  4. package/esm2015/lib/PropertyEditorPanelView_combined.js +154 -154
  5. package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +130 -116
  6. package/{esm5/lib/Popup.js → esm2015/lib/ToolActionButton.js} +1 -1
  7. package/esm2015/lib/ToolPanelView_combined.js +862 -692
  8. package/esm2015/lib/ToolbarView_combined.js +123 -96
  9. package/esm2015/lib/igc-list-panel-template-item-updating-event-args.js +5 -3
  10. package/esm2015/lib/igc-property-editor-property-description-component.js +71 -34
  11. package/esm2015/lib/igc-tool-action-button-component.js +63 -0
  12. package/esm2015/lib/{igc-popup-module.js → igc-tool-action-button-module.js} +6 -9
  13. package/esm2015/lib/igc-tool-action-component.js +42 -31
  14. package/esm2015/lib/igc-tool-action-menu-base-component.js +1 -1
  15. package/esm2015/lib/igc-tool-action-performed-event-args.js +5 -3
  16. package/esm2015/lib/igc-tool-action-radio-component.js +7 -4
  17. package/esm2015/lib/igc-tool-panel-component.js +21 -10
  18. package/esm2015/lib/igc-toolbar-component.js +23 -12
  19. package/esm2015/public_api.js +3 -13
  20. package/esm5/lib/ListPanelView_combined.js +31 -18
  21. package/esm5/lib/PropertyEditorPanelView_combined.js +154 -154
  22. package/esm5/lib/PropertyEditorPropertyDescription_combined.js +134 -116
  23. package/esm5/lib/{PopupView.js → ToolActionButton.js} +1 -1
  24. package/esm5/lib/ToolPanelView_combined.js +877 -693
  25. package/esm5/lib/ToolbarView_combined.js +123 -92
  26. package/esm5/lib/igc-list-panel-template-item-updating-event-args.js +5 -3
  27. package/esm5/lib/igc-property-editor-property-description-component.js +75 -34
  28. package/esm5/lib/igc-tool-action-button-component.js +72 -0
  29. package/esm5/lib/igc-tool-action-button-module.js +20 -0
  30. package/esm5/lib/igc-tool-action-component.js +46 -31
  31. package/esm5/lib/igc-tool-action-menu-base-component.js +1 -1
  32. package/esm5/lib/igc-tool-action-performed-event-args.js +5 -3
  33. package/esm5/lib/igc-tool-action-radio-component.js +6 -3
  34. package/esm5/lib/igc-tool-panel-component.js +25 -10
  35. package/esm5/lib/igc-toolbar-component.js +27 -12
  36. package/esm5/public_api.js +3 -13
  37. package/fesm2015/igniteui-webcomponents-layouts.js +1547 -2429
  38. package/fesm5/igniteui-webcomponents-layouts.js +1577 -2562
  39. package/lib/PropertyEditorPropertyDescription_combined.d.ts +24 -22
  40. package/lib/ToolActionButton.d.ts +1 -0
  41. package/lib/ToolPanelView_combined.d.ts +172 -146
  42. package/lib/ToolbarView_combined.d.ts +33 -28
  43. package/lib/igc-property-editor-property-description-component.d.ts +3 -0
  44. package/lib/igc-tool-action-button-component.d.ts +17 -0
  45. package/lib/igc-tool-action-button-module.d.ts +3 -0
  46. package/lib/igc-tool-action-component.d.ts +5 -0
  47. package/lib/igc-tool-action-radio-component.d.ts +4 -1
  48. package/lib/igc-tool-panel-component.d.ts +5 -0
  49. package/lib/igc-toolbar-component.d.ts +5 -0
  50. package/package.json +3 -3
  51. package/public_api.d.ts +3 -13
  52. package/esm2015/lib/OnClosedEventArgs.js +0 -16
  53. package/esm2015/lib/OnPopupEventArgs.js +0 -16
  54. package/esm2015/lib/Popup.js +0 -7
  55. package/esm2015/lib/PopupAlignment.js +0 -29
  56. package/esm2015/lib/PopupDirection.js +0 -29
  57. package/esm2015/lib/PopupView.js +0 -7
  58. package/esm2015/lib/PopupView_combined.js +0 -647
  59. package/esm2015/lib/PopupVisualModelExport.js +0 -36
  60. package/esm2015/lib/Popup_InnerAnimationInfo.js +0 -21
  61. package/esm2015/lib/Popup_OuterAnimationInfo.js +0 -23
  62. package/esm2015/lib/igc-on-closed-event-args.js +0 -24
  63. package/esm2015/lib/igc-on-popup-event-args.js +0 -24
  64. package/esm2015/lib/igc-popup-component.js +0 -388
  65. package/esm5/lib/OnClosedEventArgs.js +0 -20
  66. package/esm5/lib/OnPopupEventArgs.js +0 -20
  67. package/esm5/lib/PopupAlignment.js +0 -29
  68. package/esm5/lib/PopupDirection.js +0 -29
  69. package/esm5/lib/PopupView_combined.js +0 -700
  70. package/esm5/lib/PopupVisualModelExport.js +0 -38
  71. package/esm5/lib/Popup_InnerAnimationInfo.js +0 -23
  72. package/esm5/lib/Popup_OuterAnimationInfo.js +0 -25
  73. package/esm5/lib/igc-on-closed-event-args.js +0 -30
  74. package/esm5/lib/igc-on-popup-event-args.js +0 -30
  75. package/esm5/lib/igc-popup-component.js +0 -473
  76. package/esm5/lib/igc-popup-module.js +0 -23
  77. package/lib/OnClosedEventArgs.d.ts +0 -7
  78. package/lib/OnPopupEventArgs.d.ts +0 -7
  79. package/lib/Popup.d.ts +0 -1
  80. package/lib/PopupAlignment.d.ts +0 -22
  81. package/lib/PopupDirection.d.ts +0 -22
  82. package/lib/PopupView.d.ts +0 -1
  83. package/lib/PopupView_combined.d.ts +0 -126
  84. package/lib/PopupVisualModelExport.d.ts +0 -14
  85. package/lib/Popup_InnerAnimationInfo.d.ts +0 -10
  86. package/lib/Popup_OuterAnimationInfo.d.ts +0 -12
  87. package/lib/igc-on-closed-event-args.d.ts +0 -12
  88. package/lib/igc-on-popup-event-args.d.ts +0 -12
  89. package/lib/igc-popup-component.d.ts +0 -110
  90. package/lib/igc-popup-module.d.ts +0 -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")):"function"==typeof define&&define.amd?define(["exports","tslib","igniteui-webcomponents-core"],e):e((t=t||self)["igniteui-webcomponents-layouts"]={},t.tslib_1,t.igniteuiWebcomponentsCore)}(this,(function(t,e,n){"use strict";var i=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.a=function(t){return t.getNativeElement().checked},i.b=function(t,e){t.getNativeElement().checked=e},i.c=function(t){var e=0;return t.altKey&&(e|=1),t.shiftKey&&(e|=4),t.ctrlKey&&(e|=2),e},i.$t=n.markType(i,"ExpansionPanelUtilities"),i}(n.Base),r=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"OnCollapsedEventArgs",n.EventArgs.$),i}(n.EventArgs),o=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"OnExpandedEventArgs",n.EventArgs.$),i}(n.EventArgs),a=function(t){function r(){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(r,t),Object.defineProperty(r.prototype,"r",{get:function(){return this.q},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"h",{get:function(){return this.g},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"k",{get:function(){return this.j},enumerable:!0,configurable:!0}),r.prototype.ab=function(){this.r.setStyleProperty("display","flex"),this.r.setStyleProperty("flexDirection","column"),this.r.setStyleProperty("flexWrap","no-wrap"),this.r.setStyleProperty("alignItems","left")},r.prototype.aj=function(){var t=this.h,e=n.ElevationHelper.e(t.q,t.bn,t.bm,t.bi);this.r.setStyleProperty("box-shadow",e)},r.prototype.ak=function(){null!=this.r&&(this.aj(),this.ah(),this.ai(),this.ag(),null!=this.p&&n.NativeUI.k(this.p,this.h.bl),null!=this.l&&n.NativeUI.o(this.l,this.h.bj),null!=this.o&&n.NativeUI.o(this.o,this.h.bk))},r.prototype.a=function(t){return new n.AnimationKeyFrameEffect(0,this.l,0,null,t)},r.prototype.b=function(t){return new n.AnimationKeyFrameEffect(0,this.o,0,null,t)},r.prototype.c=function(t){return new n.AnimationKeyFrameEffect(0,this.p,0,null,t)},r.prototype.d=function(t){return new n.AnimationKeyFrameEffect(0,this.m,0,null,t)},r.prototype.e=function(t){return new n.AnimationKeyFrameEffect(0,this.n,0,null,t)},r.prototype.u=function(){null==n.KeyFrameAnimationFactory.h&&(n.KeyFrameAnimationFactory.h=this.k)},r.prototype.i=function(){return this.m.outerHeight()},r.prototype.ac=function(t){if(null!=t){this.j=t;var e=t.rootWrapper;this.y(e)}else this.j=null},r.prototype.ag=function(){if(null!=this.f){var t=this.h.n;this.f.svgPath=t?r.s:r.t}},r.prototype.ah=function(){if(null!=this.l){var t=this.h.ab;this.l.setRawText(t)}},r.prototype.ai=function(){if(null!=this.o){var t=this.h.ah;this.o.setRawText(t)}},r.prototype.y=function(t){this.q=t,this.ab()},r.prototype.z=function(t){this.g=t},r.prototype.aa=function(){},r.prototype.af=function(t){var e=this.k;this.p=t;var i=e.createElement("div");this.p.append(i),this.v(i);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"),i.setStyleProperty("display","flex"),i.setStyleProperty("justify-content","center"),i.setStyleProperty("flex-direction","column"),i.setStyleProperty("margin","0px 10px 0px 10px"),i.setStyleProperty("flex","none | 0 | content"),this.ak(),this.p.listen("click",n.runOn(this,this.w)),this.p.listen("keydown",n.runOn(this,this.x))},r.prototype.v=function(t){var e=this;null==this.f&&this.j.getPortal(t,"XIcon",(function(t){var n=t.componentRef;e.f=n.i,e.f.fill=r.al,e.ag()}),!1)},r.prototype.ae=function(t){this.k;this.n=t,this.n.setAttribute("tabindex","1"),this.n.setStyleProperty("overflow","hidden")},r.prototype.ad=function(t){this.k;this.m=t},r.prototype.w=function(t){t.originalEvent.target;this.h.a2()},r.prototype.x=function(t){var e=n.BaseDOMEventProxy.c0(t),r=i.c(t);switch(e){case 9:case 3:this.h.a2(),t.preventDefault();break;case 17:1==r&&(this.h.au(),t.preventDefault());break;case 15:1==r&&(this.h.ar(),t.preventDefault())}},r.$t=n.markType(r,"ExpansionPanelView"),r.al=n.BrushUtil.g(255,33,150,243),r.t="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z",r.s="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",r}(n.Base),s=function(t){function i(){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=i.bs,e.a9=null,e.ba=null,e.ag=n.stringEmpty(),e.be=null,e.a5=i.bt,e.bc=null,e.bd=null,e.p=-1,e.o=i.r,e.m=!0,e.bf=null,e.a6=i.bu,e.bg=null,e.bh=null,e.a8=i.bw,e.a7=i.bv,e.a3=i.br;var r=e.f();return e.g=r,r.z(e),e}return e.__extends(i,t),i.prototype.aw=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.ax(t,e,i)},Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.prototype,"n",{get:function(){return this.m},set:function(t){var e=this;if(t!=this.m){this.at();var n=this.m;this.m=t;var i=this.h(this.m),a=this.i(this.m),s=this.j(this.m),l=this.k(this.m),u=this.l(this.m);i.play(),a.play(),s.play(),l.play(),u.play(),i.finished.f((function(t){return i.commitStyles()})),a.finished.f((function(t){return a.commitStyles()})),s.finished.f((function(t){return s.commitStyles()})),l.finished.f((function(t){return l.commitStyles()})),u.finished.f((function(t){u.commitStyles(),e.aw("Expanded",n,e.m),e.m&&(null!=e.onExpanded?e.onExpanded(e,new o):null!=e.onCollapsed&&e.onCollapsed(e,new r))}))}},enumerable:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),i.prototype.f=function(){return new a},i.prototype.ax=function(t,e,n){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(),l=this.bk,u=this.b2();r!=o||a!=s||l!=u?(this.bl=o,this.bj=s,this.bk=u):"Expanded"==t&&this.g.ak();break;case"Elevation":this.q=-1==this.s?i.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()}},i.prototype.h=function(t){var i=this.bj,r=this.b1(t),o=t?this.b():this.a(),a=this.g.a(o),s=[new n.AnimationKeyFrameProperty(7,i)],l=[new n.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(l)),n.KeyFrameAnimationFactory.f.c(a)},i.prototype.i=function(t){var i=this.bk,r=this.b3(t),o=t?this.b():this.a(),a=this.g.b(o),s=[new n.AnimationKeyFrameProperty(7,i)],l=[new n.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(l)),n.KeyFrameAnimationFactory.f.c(a)},i.prototype.j=function(t){var i=this.bl,r=this.b5(t),o=t?this.b():this.a(),a=this.g.c(o),s=[new n.AnimationKeyFrameProperty(2,i)],l=[new n.AnimationKeyFrameProperty(2,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(l)),n.KeyFrameAnimationFactory.f.c(a)},i.prototype.k=function(t){var i=this.g.i();i<=0&&(i=500);var r=t?-i:0,o=t?0:-i,a=t?0:1,s=t?1:0,l=t?this.b():this.a(),u=new n.TranslateTransform;u.k=r;var p=new n.TranslateTransform;p.k=o;var c=this.g.d(l),h=[new n.AnimationKeyFrameProperty(14,u),new n.AnimationKeyFrameProperty(1,a)],f=[new n.AnimationKeyFrameProperty(14,p),new n.AnimationKeyFrameProperty(1,s)];return c.m.apply(c,e.__spread(h)),c.m.apply(c,e.__spread(f)),n.KeyFrameAnimationFactory.f.c(c)},i.prototype.l=function(t){var i=this.g.i();i<=0&&(i=500);var r=t?0:i,o=t?i:0,a=t?this.b():this.a(),s=this.g.e(a),l=[new n.AnimationKeyFrameProperty(10,r)],u=[new n.AnimationKeyFrameProperty(10,o)];return s.m.apply(s,e.__spread(l)),s.m.apply(s,e.__spread(u)),n.KeyFrameAnimationFactory.f.c(s)},i.prototype.a=function(){var t=new n.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},i.prototype.b=function(){var t=new n.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},i.prototype.at=function(){this.g.u()},i.prototype.b0=function(){return this.b1(this.n)},i.prototype.b1=function(t){var e;return null!=(e=t?this.bp:this.bo)?e:null!=this.bq?this.bq:i.bs},i.prototype.b2=function(){return this.b3(this.n)},i.prototype.b3=function(t){var e;return null!=(e=t?this.by:this.bx)?e:null!=this.bz?this.bz:i.bt},i.prototype.b4=function(){return this.b5(this.n)},i.prototype.b5=function(t){var e;return null!=(e=t?this.b8:this.b7)?e:null!=this.b6?this.b6:i.bu},i.prototype.ar=function(){this.n=!1},i.prototype.destroy=function(){this.provideRenderer(null)},i.prototype.au=function(){this.n=!0},i.prototype.notifySizeChanged=function(){},i.prototype.provideHeader=function(t){this.g.af(t)},i.prototype.provideContentAreaOuter=function(t){this.g.ae(t)},i.prototype.provideContentAreaInner=function(t){this.g.ad(t)},i.prototype.provideRenderer=function(t){this.g.ac(t)},i.prototype.a2=function(){this.n=!this.n},i.$t=n.markType(i,"XExpansionPanel",n.Base.$,[n.INotifyPropertyChanged_$type]),i.bs=n.BrushUtil.g(188,0,0,0),i.bt=n.BrushUtil.g(188,0,0,0),i.r=2,i.bu=n.BrushUtil.g(255,245,245,245),i.bw=n.BrushUtil.g(66,0,0,0),i.bv=n.BrushUtil.g(30,0,0,0),i.br=n.BrushUtil.g(20,0,0,0),i}(n.Base),l=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new o},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),u=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new r},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),p=function(t){function i(){var i=t.call(this)||this;i._implementation=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._onCollapsed=null,i._onCollapsed_wrapped=null,i._onExpanded=null,i._onExpanded_wrapped=null,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._portalManager=new n.PortalManager("iconContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._mainDiv=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._mainDiv);var r=i._webComponentRenderer.createElement("div");r.setAttribute("key","expansionPanelHeaderArea");var o=i._webComponentRenderer.createElement("div");o.setAttribute("key","expansionPanelContentAreaOuter");var a=i._webComponentRenderer.createElement("div");return a.setAttribute("key","expansionPanelContentAreaInner"),o.append(a),i._mainDiv.append(r),i._mainDiv.append(o),new MutationObserver((function(t){var n,s;try{for(var l=e.__values(t),u=l.next();!u.done;u=l.next()){if("childList"==u.value.type)for(var p=0;p<i.childNodes.length;p++){var c=i.childNodes[p];c!=i._mainDiv.getNativeElement()&&c!==r.getNativeElement()&&c!==o.getNativeElement()&&c!==a.getNativeElement()&&(c.remove(),a.append(i._webComponentRenderer.getWrapper(c)))}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(s=l.return)&&s.call(l)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i.i.provideRenderer(i._webComponentRenderer),i.i.provideHeader(i._webComponentRenderer.getWrapper(r)),i.i.provideContentAreaOuter(i._webComponentRenderer.getWrapper(o)),i.i.provideContentAreaInner(i._webComponentRenderer.getWrapper(a)),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t},enumerable:!0,configurable:!0}),i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.createImplementation=function(){return new s},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.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())},i.prototype.afterContentInit=function(){},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcXExpansionPanelComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcXExpansionPanelComponent=t}return i._observedAttributesIgcXExpansionPanelComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"caption",{get:function(){return this.i.ab},set:function(t){this.i.ab=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"captionTextColor",{get:function(){return n.brushToString(this.i.bq)},set:function(t){this.i.bq=n.stringToBrush(t),this._a("captionTextColor",n.brushToString(this.i.bq))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualCaptionTextColor",{get:function(){return n.brushToString(this.i.bj)},set:function(t){this.i.bj=n.stringToBrush(t),this._a("actualCaptionTextColor",n.brushToString(this.i.bj))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"captionCollapsedTextColor",{get:function(){return n.brushToString(this.i.bo)},set:function(t){this.i.bo=n.stringToBrush(t),this._a("captionCollapsedTextColor",n.brushToString(this.i.bo))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"captionExpandedTextColor",{get:function(){return n.brushToString(this.i.bp)},set:function(t){this.i.bp=n.stringToBrush(t),this._a("captionExpandedTextColor",n.brushToString(this.i.bp))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"description",{get:function(){return this.i.ah},set:function(t){this.i.ah=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionTextColor",{get:function(){return n.brushToString(this.i.bz)},set:function(t){this.i.bz=n.stringToBrush(t),this._a("descriptionTextColor",n.brushToString(this.i.bz))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualDescriptionTextColor",{get:function(){return n.brushToString(this.i.bk)},set:function(t){this.i.bk=n.stringToBrush(t),this._a("actualDescriptionTextColor",n.brushToString(this.i.bk))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionCollapsedTextColor",{get:function(){return n.brushToString(this.i.bx)},set:function(t){this.i.bx=n.stringToBrush(t),this._a("descriptionCollapsedTextColor",n.brushToString(this.i.bx))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionExpandedTextColor",{get:function(){return n.brushToString(this.i.by)},set:function(t){this.i.by=n.stringToBrush(t),this._a("descriptionExpandedTextColor",n.brushToString(this.i.by))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"elevation",{get:function(){return this.i.s},set:function(t){this.i.s=+t,this._a("elevation",this.i.s)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualElevation",{get:function(){return this.i.q},set:function(t){this.i.q=+t,this._a("actualElevation",this.i.q)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"expanded",{get:function(){return this.i.n},set:function(t){this.i.n=n.ensureBool(t),this._a("expanded",this.i.n)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"headerBackgroundColor",{get:function(){return n.brushToString(this.i.b6)},set:function(t){this.i.b6=n.stringToBrush(t),this._a("headerBackgroundColor",n.brushToString(this.i.b6))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualHeaderBackgroundColor",{get:function(){return n.brushToString(this.i.bl)},set:function(t){this.i.bl=n.stringToBrush(t),this._a("actualHeaderBackgroundColor",n.brushToString(this.i.bl))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"headerCollapsedBackgroundColor",{get:function(){return n.brushToString(this.i.b7)},set:function(t){this.i.b7=n.stringToBrush(t),this._a("headerCollapsedBackgroundColor",n.brushToString(this.i.b7))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"headerExpandedBackgroundColor",{get:function(){return n.brushToString(this.i.b8)},set:function(t){this.i.b8=n.stringToBrush(t),this._a("headerExpandedBackgroundColor",n.brushToString(this.i.b8))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualUmbraShadowColor",{get:function(){return n.brushToString(this.i.bn)},set:function(t){this.i.bn=n.stringToBrush(t),this._a("actualUmbraShadowColor",n.brushToString(this.i.bn))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualPenumbraShadowColor",{get:function(){return n.brushToString(this.i.bm)},set:function(t){this.i.bm=n.stringToBrush(t),this._a("actualPenumbraShadowColor",n.brushToString(this.i.bm))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualAmbientShadowColor",{get:function(){return n.brushToString(this.i.bi)},set:function(t){this.i.bi=n.stringToBrush(t),this._a("actualAmbientShadowColor",n.brushToString(this.i.bi))},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("XExpansionPanelComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var c=n.toSpinal(p);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.collapse=function(){this.i.ar()},i.prototype.expand=function(){this.i.au()},i.prototype.toggle=function(){this.i.a2()},Object.defineProperty(i.prototype,"onCollapsed",{get:function(){return this._onCollapsed},set:function(t){var e=this;null!==this._onCollapsed_wrapped&&(this.i.onCollapsed=n.delegateRemove(this.i.onCollapsed,this._onCollapsed_wrapped),this._onCollapsed_wrapped=null,this._onCollapsed=null),this._onCollapsed=t,this._onCollapsed_wrapped=function(t,n){var i=new u;i._provideImplementation(n),e.beforeOnCollapsed&&e.beforeOnCollapsed(e,i),e._onCollapsed&&e._onCollapsed(e,i)},this.i.onCollapsed=n.delegateCombine(this.i.onCollapsed,this._onCollapsed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onExpanded",{get:function(){return this._onExpanded},set:function(t){var e=this;null!==this._onExpanded_wrapped&&(this.i.onExpanded=n.delegateRemove(this.i.onExpanded,this._onExpanded_wrapped),this._onExpanded_wrapped=null,this._onExpanded=null),this._onExpanded=t,this._onExpanded_wrapped=function(t,n){var i=new l;i._provideImplementation(n),e.beforeOnExpanded&&e.beforeOnExpanded(e,i),e._onExpanded&&e._onExpanded(e,i)},this.i.onExpanded=n.delegateCombine(this.i.onExpanded,this._onExpanded_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcXExpansionPanelComponent=null,i.htmlTagName="igc-x-expansion-panel",i._isElementRegistered=!1,i}(n.IgcHTMLElement),c=function(){function t(){}return t.register=function(){p.register(),n.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",p),n.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",p),n.TypeRegistrar.register("XExpansionPanel",s.$type)},t}(),h=function(t){function i(){var e=t.call(this)||this;return e.c=0,e.d=0,e.a=0,e.b=0,e}return e.__extends(i,t),i.$t=n.markStruct(i,"Popup_OuterAnimationInfo"),i}(n.ValueType),f=function(t){function i(){var e=t.call(this)||this;return e.a=0,e.b=0,e}return e.__extends(i,t),i.$t=n.markStruct(i,"Popup_InnerAnimationInfo"),i}(n.ValueType),d=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"OnClosedEventArgs",n.EventArgs.$),i}(n.EventArgs),b=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"OnPopupEventArgs",n.EventArgs.$),i}(n.EventArgs),y=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=0,e.d=!1,e.c=null,e.b=null,e.a=null,e}return e.__extends(i,t),i.prototype.f=function(){var t=new n.StringBuilder(0);return t.l("{"),t.l("actualElevation : "+this.e+", "),t.l("isShown : "+this.d+", "),t.l("actualUmbraShadowColor : "+this.c.serialize()+", "),t.l("actualPenumbraShadowColor : "+this.b.serialize()+", "),t.l("actualAmbientShadowColor : "+this.a.serialize()+", "),t.l("}"),t.toString()},i.$t=n.markType(i,"PopupVisualModelExport"),i}(n.Base),m=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.k=null,e.c=null,e.o=null,e.n=null,e.m=null,e.p=null,e.f=!1,e.h=0,e.al=new n.Size(1,0,0),e.e=!0,e.g=!1,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"d",{get:function(){return this.c},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"l",{get:function(){return this.k},enumerable:!0,configurable:!0}),i.prototype.ab=function(){this.o.setStyleProperty("height","0%"),this.o.setStyleProperty("width","0%"),this.n=this.k.createElement("div"),this.n.setStyleProperty("position","absolute"),this.n.setStyleProperty("overflow","hidden"),this.n.setStyleProperty("z-index","10000"),this.n.setAttribute("key","popupContentAreaOuter"),this.m=this.k.createElement("div"),this.m.setAttribute("key","popupContentAreaInner"),this.n.append(this.m)},i.prototype.ai=function(){var t=this.d,e=n.ElevationHelper.e(t.w,t.a7,t.a6,t.a5);this.n.setStyleProperty("box-shadow",e)},i.prototype.ah=function(){null!=this.d.a8&&this.n.setStyleProperty("background-color",this.d.a8._fill)},i.prototype.aj=function(){null!=this.o&&(this.ai(),this.ah())},i.prototype.s=function(){if(null!=this.n){this.aj(),this.n.setStyleProperty("height","0px");var t=this.n.getNativeElement();0==this.f&&(document.body.appendChild(t),this.f=!0,this.e&&this.z())}},i.prototype.t=function(t,e){return this.n.setStyleProperty("top",i.q(t.b)),this.n.setStyleProperty("height",i.r(t.d)),this.m.setStyleProperty("top",i.r(e.b)),this.m.setStyleProperty("opacity","1"),this.m.setStyleProperty("transform",n.stringEmpty()),this.h=0,this.g&&this.ag(),{p0:t,p1:e}},i.prototype.u=function(t){this.h=t},i.prototype.ae=function(){if(null!=this.n&&this.f){var t=this.n.getNativeElement();document.body.removeChild(t),this.f=!1}},i.prototype.v=function(t){this.m.append(t)},i.prototype.a=function(t){return new n.AnimationKeyFrameEffect(0,this.m,0,null,t)},i.prototype.b=function(t){return new n.AnimationKeyFrameEffect(0,this.n,0,null,t)},i.prototype.w=function(){null==n.KeyFrameAnimationFactory.h&&(n.KeyFrameAnimationFactory.h=this.l)},Object.defineProperty(i.prototype,"am",{get:function(){return this.e&&this.z(),this.al},enumerable:!0,configurable:!0}),i.prototype.i=function(t,e){var n,i=e;t:for(;;){switch(i){case 0:case 1:n=t.left;break;case 2:n=t.right-this.am.width;break;default:i=0;continue t}break}return n},i.prototype.j=function(t,e){var n,i=e;t:for(;;){switch(i){case 0:case 1:n=t.bottom;break;case 2:n=t.top-this.am.height;break;default:i=0;continue t}break}return n},i.r=function(t){return n.stringFormat("{0}px",t)},i.q=function(t){return n.stringFormat("{0}px",t)},i.prototype.ak=function(t,e,i){var r=this.j(t,e),o=this.i(t,i);if(this.af(o,r),2==e||2==i)for(var a=10;a>0;){var s=this.j(t,e),l=this.i(t,i);if(s==r&&l==o){a=0;break}r=s,o=l,this.af(o,r),a--}return new n.Rect(0,o,r,this.am.width,this.am.height)},i.prototype.z=function(){this.f?(this.n.setStyleProperty("width",n.stringEmpty()),this.n.setStyleProperty("height",n.stringEmpty()),this.al=new n.Size(1,this.m.outerWidth(),this.m.outerHeight()),this.e=!1,this.ag()):this.e=!0},i.prototype.af=function(t,e){var i=n.stringFormat("{0}px",t),r=n.stringFormat("{0}px",e);this.n.setStyleProperty("left",i),this.n.setStyleProperty("top",r)},i.prototype.ac=function(t){var e=this;if(null!=t){this.k=t;var n=t.rootWrapper;this.x(n),this.k.getPortal(this.m,"ChildContent",(function(t){var n=t.componentRef;e.p=n}),!0)}else this.k=null},i.prototype.ag=function(){var t=new n.Size(1,this.am.width,this.am.height);this.f&&this.d.t||(t.height=0);var e=t.width,i=t.height;if(this.c.r()){if(this.h==i)return;return this.c.an(),void(this.g=!0)}this.g=!1;var r=n.stringFormat("{0}px",e),o=n.stringFormat("{0}px",i);this.n.setStyleProperty("width",r),this.n.setStyleProperty("height",o)},i.prototype.x=function(t){this.o=t,this.ab()},i.prototype.y=function(t){this.c=t},i.prototype.aa=function(){},i.prototype.ad=function(){this.s(),this.d.t||this.ag()},i.$t=n.markType(i,"PopupView"),i}(n.Base),g=function(t){function i(){var e=t.call(this)||this;e.i=0,e.h=0,e.bc=null,e.n=null,e.o=null,e.onClosed=null,e.onPopup=null,e.propertyChanged=null,e.k=null,e.x=50,e.p=!0,e.v=-1,e.u=i.z,e.s=!1,e.a3=i.bb,e.a2=i.ba,e.a1=i.a9,e.a4=null;var n=e.j();return e.k=n,n.y(e),e}return e.__extends(i,t),i.prototype.au=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.aw(t,e,i)},Object.defineProperty(i.prototype,"y",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,e!=this.x&&this.au("AnimationDuration",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"q",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.au("AnimationEnabled",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"aa",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.au("Elevation",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"w",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.au("ActualElevation",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"t",{get:function(){return this.s},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"a7",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.au("ActualUmbraShadowColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"a6",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.au("ActualPenumbraShadowColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"a5",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.au("ActualAmbientShadowColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"a8",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.au("Background",e,this.a4)},enumerable:!0,configurable:!0}),i.prototype.j=function(){return new m},i.prototype.aw=function(t,e,n){switch(t){case"IsShown":0==this.t&&this.k.ae();break;case"Elevation":this.w=-1==this.aa?i.z:this.aa;break;case"ActualElevation":case"ActualUmbraShadowColor":case"ActualPenumbraShadowColor":case"ActualAmbientShadowColor":case"Background":this.k.aj();break;case"AnimationEnabled":0==this.q&&this.an()}},i.prototype.an=function(){this.r()&&(null!=this.o&&1==this.o.playState&&this.o.cancel(),null!=this.n&&1==this.n.playState&&this.n.cancel())},i.prototype.l=function(t){var i=this.f(t),r=t?this.b():this.a(),o=this.k.a(r),a=new n.List$1(n.AnimationKeyFrameProperty.$,0),s=new n.List$1(n.AnimationKeyFrameProperty.$,0),l=new n.TranslateTransform;l.k=i.a;var u=new n.TranslateTransform;u.k=i.b;var p=new n.AnimationKeyFrameProperty(14,l),c=new n.AnimationKeyFrameProperty(14,u);return a.add(p),s.add(c),o.m.apply(o,e.__spread(a.toArray())),o.m.apply(o,e.__spread(s.toArray())),n.KeyFrameAnimationFactory.f.c(o)},i.prototype.m=function(t){var i=this.g(t);this.k.u(i.d);var r=t?this.b():this.a(),o=this.k.b(r),a=new n.List$1(n.AnimationKeyFrameProperty.$,0),s=new n.List$1(n.AnimationKeyFrameProperty.$,0),l=new n.AnimationKeyFrameProperty(10,i.c),u=new n.AnimationKeyFrameProperty(10,i.d);if(a.add(l),s.add(u),2==this.i){var p=i.a,c=i.b,h=new n.AnimationKeyFrameProperty(12,p),f=new n.AnimationKeyFrameProperty(12,c);a.add(h),s.add(f)}return o.m.apply(o,e.__spread(a.toArray())),o.m.apply(o,e.__spread(s.toArray())),n.KeyFrameAnimationFactory.f.c(o)},i.prototype.a=function(){var t=new n.AnimationKeyFrameEffectTiming;return t.g=this.y,t.b=3,t},i.prototype.b=function(){var t=new n.AnimationKeyFrameEffectTiming;return t.g=this.y,t.b=3,t},i.prototype.aq=function(){this.k.w()},i.prototype.f=function(t){var e=n.truncate(this.k.am.height);e<=0&&(e=500);var i,r=t?-e:0,o=t?0:-e;return 2==this.i&&(r=0,o=0),(i=new f).a=r,i.b=o,i},i.prototype.g=function(t){var e=n.truncate(this.k.am.height);e<=0&&(e=500);var i,r,o,a=t?0:e,s=t?e:0;return 2==this.i?(i=t?this.bc.bottom:this.bc.top,r=t?this.bc.top:this.bc.bottom):(i=this.bc.top,r=this.bc.top),(o=new h).c=a,o.d=s,o.a=i,o.b=r,o},i.prototype.r=function(){return(null!=this.o||null!=this.n)&&(null!=this.o&&1==this.o.playState||null!=this.n&&1==this.n.playState)},i.prototype.ar=function(){this.k.z()},i.prototype.av=function(t,e,n){this.k.ad(),this.bc=this.k.ak(t,e,n),this.i=e,this.h=n},i.prototype.ay=function(t,e,n){this.s&&(this.s=!1,this.au("IsShown",!0,this.s)),this.av(t,e,n),this.az(!0)},i.prototype.az=function(t){var e=this;this.an();var n=this.s;this.s=t;var i=this.g(t),r=this.f(t);if(0==this.q){var o=this.k.t(i,r);return i=o.p0,void(r=o.p1)}this.aq(),this.n=this.l(this.s),this.o=this.m(this.s),this.n.play(),this.o.play(),this.n.finished.f((function(t){return e.n.commitStyles()})),this.o.finished.f((function(t){e.o.commitStyles(),e.au("IsShown",n,e.s),e.s?null!=e.onPopup&&e.onPopup(e,new b):null!=e.onClosed&&e.onClosed(e,new d);var o=e.k.t(i,r);i=o.p0,r=o.p1}))},i.prototype.appendPopupContent=function(t){this.k.v(t)},i.prototype.ao=function(){this.s&&this.az(!1)},i.prototype.destroy=function(){this.provideRenderer(null)},i.prototype.showRelativeToExclusionRect=function(t,e,n){this.ay(t,e,n)},i.prototype.as=function(t){this.bc=this.k.ak(t,this.i,this.h)},i.prototype.notifySizeChanged=function(){},i.prototype.provideRenderer=function(t){this.k.ac(t)},i.prototype.ab=function(){return this.c()},i.prototype.ak=function(){return this.c().f()},i.prototype.c=function(){var t=new y;return t.e=this.w,t.d=this.t,t.c=n.AppearanceHelper.a(this.a7),t.b=n.AppearanceHelper.a(this.a6),t.a=n.AppearanceHelper.a(this.a5),t},i.$t=n.markType(i,"Popup",n.Base.$,[n.INotifyPropertyChanged_$type]),i.z=2,i.bb=n.BrushUtil.g(66,0,0,0),i.ba=n.BrushUtil.g(30,0,0,0),i.a9=n.BrushUtil.g(20,0,0,0),i}(n.Base),_=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new b},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),v=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new d},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),C=function(t){function i(){var i=t.call(this)||this;return i._implementation=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._onClosed=null,i._onClosed_wrapped=null,i._onPopup=null,i._onPopup_wrapped=null,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._portalManager=new n.PortalManager("popupContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._mainDiv=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._mainDiv),i.i.provideRenderer(i._webComponentRenderer),new MutationObserver((function(t){var n,r;try{for(var o=e.__values(t),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&i._onChildrenChanged()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t},enumerable:!0,configurable:!0}),i.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var n=this.childNodes[e];n!==this._mainDiv.getNativeElement()&&t.push(n)}this._portalManager.onChildrenChanged(t)},i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.createImplementation=function(){return new g},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.prototype.connectedCallback=function(){this._disconnected?this._disconnected=!1:(this.classList.add("ig-popup"),this.classList.add("igr-popup"),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())},i.prototype.afterContentInit=function(){},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcPopupComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcPopupComponent=t}return i._observedAttributesIgcPopupComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"animationDuration",{get:function(){return this.i.y},set:function(t){this.i.y=+t,this._a("animationDuration",this.i.y)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"animationEnabled",{get:function(){return this.i.q},set:function(t){this.i.q=n.ensureBool(t),this._a("animationEnabled",this.i.q)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"elevation",{get:function(){return this.i.aa},set:function(t){this.i.aa=+t,this._a("elevation",this.i.aa)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualElevation",{get:function(){return this.i.w},set:function(t){this.i.w=+t,this._a("actualElevation",this.i.w)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isShown",{get:function(){return this.i.t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualUmbraShadowColor",{get:function(){return n.brushToString(this.i.a7)},set:function(t){this.i.a7=n.stringToBrush(t),this._a("actualUmbraShadowColor",n.brushToString(this.i.a7))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualPenumbraShadowColor",{get:function(){return n.brushToString(this.i.a6)},set:function(t){this.i.a6=n.stringToBrush(t),this._a("actualPenumbraShadowColor",n.brushToString(this.i.a6))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualAmbientShadowColor",{get:function(){return n.brushToString(this.i.a5)},set:function(t){this.i.a5=n.stringToBrush(t),this._a("actualAmbientShadowColor",n.brushToString(this.i.a5))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"background",{get:function(){return n.brushToString(this.i.a8)},set:function(t){this.i.a8=n.stringToBrush(t),this._a("background",n.brushToString(this.i.a8))},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("PopupComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var c=n.toSpinal(p);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.close=function(){this.i.ao()},i.prototype.showRelativeToExclusionRect=function(t,e,i){this.i.showRelativeToExclusionRect(n.toRect(t),null==e?null:e,null==i?null:i)},i.prototype.exportVisualModel=function(){return this.i.ab()},i.prototype.exportSerializedVisualModel=function(){return this.i.ak()},Object.defineProperty(i.prototype,"onClosed",{get:function(){return this._onClosed},set:function(t){var e=this;null!==this._onClosed_wrapped&&(this.i.onClosed=n.delegateRemove(this.i.onClosed,this._onClosed_wrapped),this._onClosed_wrapped=null,this._onClosed=null),this._onClosed=t,this._onClosed_wrapped=function(t,n){var i=new v;i._provideImplementation(n),e.beforeOnClosed&&e.beforeOnClosed(e,i),e._onClosed&&e._onClosed(e,i)},this.i.onClosed=n.delegateCombine(this.i.onClosed,this._onClosed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onPopup",{get:function(){return this._onPopup},set:function(t){var e=this;null!==this._onPopup_wrapped&&(this.i.onPopup=n.delegateRemove(this.i.onPopup,this._onPopup_wrapped),this._onPopup_wrapped=null,this._onPopup=null),this._onPopup=t,this._onPopup_wrapped=function(t,n){var i=new _;i._provideImplementation(n),e.beforeOnPopup&&e.beforeOnPopup(e,i),e._onPopup&&e._onPopup(e,i)},this.i.onPopup=n.delegateCombine(this.i.onPopup,this._onPopup_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcPopupComponent=null,i.htmlTagName="igc-popup",i._isElementRegistered=!1,i}(n.IgcHTMLElement),P=function(){function t(){}return t.register=function(){n.IgcChildContentModule.register(),C.register(),n.TypeRegistrar.registerCons("IgcPopupComponent",C),n.TypeRegistrar.registerCons("IgcPopupComponent",C),n.TypeRegistrar.register("Popup",g.$type)},t}(),w=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}({}),A=n.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"),T=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionButtonClickEventArgs",n.EventArgs.$),i}(n.EventArgs),S=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e._newValue=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"newValue",{get:function(){return this._newValue},set:function(t){this._newValue=t},enumerable:!0,configurable:!0}),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionChangedEventArgs",n.EventArgs.$),i}(n.EventArgs),I=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e._target=null,e._value=null,e._propertyPath=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"target",{get:function(){return this._target},set:function(t){this._target=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"propertyPath",{get:function(){return this._propertyPath},set:function(t){this._propertyPath=t},enumerable:!0,configurable:!0}),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs",n.EventArgs.$),i}(n.EventArgs),O=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.ah=null,e.af=null,e.m=0,e.ag=null,e.o=!1,e.ae=null,e.a=null,e.b=null,e.ab=null,e.u=NaN,e.r=NaN,e.s=NaN,e.t=NaN,e.v=NaN,e.f=null,e.h=null,e.e=null,e.propertyChanged=null,e.buttonClicked=null,e.changed=null,e.targetPropertyUpdating=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"al",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,this.ah!=e&&this.ao("PropertyPath",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"aj",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,this.af!=e&&this.ao("Label",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"n",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,this.m!=e&&this.ao("ValueType",n.enumGetBox(A,e),n.enumGetBox(A,t))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ak",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,this.ag!=e&&this.ao("PropertyDescriptionType",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"q",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,this.o!=e&&this.ao("ShouldOverrideDefaultEditor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ai",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,this.ae!=e&&this.ao("ElementDescriptionType",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"c",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.ao("DropDownNames",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"d",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.ao("DropDownValues",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ad",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.ab!=e&&this.ao("PrimitiveValue",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"z",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,this.u!=e&&this.ao("Min",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"w",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,this.r!=e&&this.ao("EditorWidth",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"x",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,this.s!=e&&this.ao("LabelWidth",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"y",{get:function(){return this.t},set:function(t){var e=this.t;this.t=t,this.t!=e&&this.ao("Max",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"aa",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,this.v!=e&&this.ao("Step",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"g",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.f!=e&&this.ao("ComplexValue",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"i",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,this.h!=e&&this.ao("ComplexValues",e,t)},enumerable:!0,configurable:!0}),i.prototype.ao=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t))},i.prototype.p=function(t){return null!=t&&(null==t.c||null!=this.c&&this.q||(this.c=t.c),null==t.d||null!=this.d&&this.q||(this.d=t.d),null==t.ai||null!=this.ai&&this.q||(this.ai=t.ai),null==t.ak||null!=this.ak&&this.q||(this.ak=t.ak),0==t.n||0!=this.n&&this.q||(this.n=t.n,!0),!0)},i.prototype.ac=function(t,e){return e?this.e:null!=this.e?this.e.e(t,!1):null},i.prototype.an=function(){null!=this.buttonClicked&&this.buttonClicked(this,new T)},i.prototype.am=function(){var t,e=this;null!=this.changed&&this.changed(this,((t=new S).newValue=e.ad,t))},i.prototype.ap=function(t,e,n){var i;null!=this.targetPropertyUpdating&&this.targetPropertyUpdating(this,((i=new I).propertyPath=t,i.target=e,i.value=n,i))},i.$t=n.markType(i,"PropertyEditorPropertyDescription",n.Base.$,[n.INotifyPropertyChanged_$type]),i}(n.Base),k=function(t){function i(){return t.call(this,O.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionCollection",n.ObservableCollection$1.$.specialize(O.$)),i}(n.ObservableCollection$1),x=function(t){function i(){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(i,t),Object.defineProperty(i.prototype,"n",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.p("DescriptionType",e,this.k)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.p("Context",e,this.a)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"h",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.p("Data",e,this.g)},enumerable:!0,configurable:!0}),i.prototype.p=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.q(t,e,i)},i.prototype.q=function(t,e,n){switch(t){case"DescriptionType":case"Context":this.r()}},i.d=function(t,e,n){var r=new i;return r.j=n,r.b=t,r.n=e,r.j=null,r},i.prototype.f=function(t){var e=new O;return e.al=t.propertyName,e.n=this.i(t),e.ak=null!=t.specificExternalType?t.specificExternalType:t.specificType,9==t.knownType&&(e.ai=t.collectionElementType,null!=this.j&&this.j.containsKey(e.ai)?e.e=this.j.item(e.ai):e.e=i.d(this.a,e.ai,this.j)),8==e.n&&(null!=this.j&&this.j.containsKey(e.ak)?e.e=this.j.item(e.ak):e.e=i.d(this.a,e.ak,this.j)),15==e.n&&(e.c=this.a.c(this.n,e.al),e.d=e.d),e},i.prototype.i=function(t){switch(t.knownType){case 10:return 10;case 7:return 7;case 4:return 4;case 6:return 6;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},i.prototype.r=function(){var t=new k;if(null!=this.n&&null!=this.b){var e=!1;null==this.j&&(e=!0,this.j=new n.Dictionary$2(n.String_$type,i.$,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(!(n.stringEndsWith(r[o],"@names")||n.stringEndsWith(r[o],"@nameBinding")||n.stringEndsWith(r[o],"@ngQueryList")||n.stringEndsWith(r[o],"@mustSetInCode"))){var a=this.b.getMetadata(this.n,r[o]),s=this.f(a);0!=s.n&&t.add(s)}e&&(this.j=null)}this.h=t},i.prototype.e=function(t,e){if(null==t)return null;for(var i=n.stringSplit(t,[".","["],0),r=new n.List$1(n.String_$type,1,i),o=null,a=null;r.count>0;){var s=r._inner[0];r.removeAt(0);var l=!1;if(n.stringContains(s,"]")){l=!0;var u=(s=n.stringReplace(s,"]","")).split(",");if(s=u[0].trim(),n.stringContains(s,"as")){var p=s.indexOf("as");s.substr(0,p).trim(),a=s.substr(p+2).trim()}if(null!=a&&a!=this.n){var c=this.c();c.n=a,o=c;continue}}if(e&&(l=!0),null!=o&&null!==n.typeCast(O.$,o)){var h=o.ac(s,l);if(null==h)return null;o=h}else if(null!=o){var f=o.e(s,l);if(null==f)return null;o=f}else{if(null==this.h)return null;for(var d=0;d<this.h.count;d++)if(n.Base.equalsStatic(this.h._inner[d].al,s)){o=this.h._inner[d];break}if(null==o)return null}}return n.typeCast(O.$,o)},i.prototype.c=function(){var t,e=this;return(t=new i).b=e.b,t.n=e.n,t},i.$t=n.markType(i,"PropertyEditorDataSource",n.Base.$,[n.INotifyPropertyChanged_$type]),i}(n.Base),j=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e.a=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorDescriptionObject"),i}(n.Base),E=function(t){function i(){return t.call(this,j.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorDescriptionObjectCollection",n.ObservableCollection$1.$.specialize(j.$)),i}(n.ObservableCollection$1),R=function(t){function i(e){var i=t.call(this)||this;if(D.$type||(D.$type=n.markType(D,"IgcPropertyEditorPropertyDescriptionComponent")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){D.$type||(D.$type=n.markType(D,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new n.SyncableObservableCollection$2(D.$type,O.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new D)&&(e._implementation=t),e},t},i}(n.IgCollection),N=function(){function t(){this._properties=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new j},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){if(null===this._properties){var t=new R,e=this.i.a;e||(e=new k),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 R;this._properties=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(O.$type),r=this.i.a;r||(r=new k),i._inner=r,i.clear(),this._properties._setSyncTarget(i),this.i.a=r},enumerable:!0,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}(),$=function(t){function i(e){var i=t.call(this)||this;if(N.$type||(N.$type=n.markType(N,"IgcPropertyEditorDescriptionObject")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){N.$type||(N.$type=n.markType(N,"IgcPropertyEditorDescriptionObject"));var t=new n.SyncableObservableCollection$2(N.$type,j.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new N)&&(e._implementation=t),e},t},i}(n.IgCollection),q=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new T},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),B=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new S},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!0,configurable:!0}),t}(),U=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new I},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"target",{get:function(){return this.i.target},set:function(t){this.i.target=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"propertyPath",{get:function(){return this.i.propertyPath},set:function(t){this.i.propertyPath=t},enumerable:!0,configurable:!0}),t}(),D=function(t){function i(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._complexValues=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&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e}return e.__extends(i,t),i.prototype.createImplementation=function(){return new O},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return n.TypeRegistrar.isRegistered(e)?n.TypeRegistrar.create(e):null},i.prototype.onImplementationCreated=function(){},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=t}return i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"propertyPath",{get:function(){return this.i.al},set:function(t){this.i.al=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"label",{get:function(){return this.i.aj},set:function(t){this.i.aj=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"valueType",{get:function(){return this.i.n},set:function(t){this.i.n=n.ensureEnum(A,t),this._a("valueType",n.enumToString(A,this.i.n))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"propertyDescriptionType",{get:function(){return this.i.ak},set:function(t){this.i.ak=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"shouldOverrideDefaultEditor",{get:function(){return this.i.q},set:function(t){this.i.q=n.ensureBool(t),this._a("shouldOverrideDefaultEditor",this.i.q)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"elementDescriptionType",{get:function(){return this.i.ai},set:function(t){this.i.ai=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.prototype,"primitiveValue",{get:function(){return this.i.ad},set:function(t){this.i.ad=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"min",{get:function(){return this.i.z},set:function(t){this.i.z=+t,this._a("min",this.i.z)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"editorWidth",{get:function(){return this.i.w},set:function(t){this.i.w=+t,this._a("editorWidth",this.i.w)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"labelWidth",{get:function(){return this.i.x},set:function(t){this.i.x=+t,this._a("labelWidth",this.i.x)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"max",{get:function(){return this.i.y},set:function(t){this.i.y=+t,this._a("max",this.i.y)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"step",{get:function(){return this.i.aa},set:function(t){this.i.aa=+t,this._a("step",this.i.aa)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"complexValue",{get:function(){var t=this.i.g;if(null==t)return null;if(!t.externalObject){var e=new N;e.i.setNativeElement?e.i.setNativeElement(t):e._implementation=t,t.externalObject=e}return t.externalObject},set:function(t){this.i.g=null==t?null:t.i},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new $,e=this.i.i;e||(e=new E),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 $;this._complexValues=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(j.$type),r=this.i.i;r||(r=new E),i._inner=r,i.clear(),this._complexValues._setSyncTarget(i),this.i.i=r},enumerable:!0,configurable:!0}),i.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},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("PropertyEditorPropertyDescriptionComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var c=n.toSpinal(p);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},Object.defineProperty(i.prototype,"buttonClicked",{get:function(){return this._buttonClicked},set:function(t){var e=this;null!==this._buttonClicked_wrapped&&(this.i.buttonClicked=n.delegateRemove(this.i.buttonClicked,this._buttonClicked_wrapped),this._buttonClicked_wrapped=null,this._buttonClicked=null),this._buttonClicked=t,this._buttonClicked_wrapped=function(t,n){var i=new q;i._provideImplementation(n),e.beforeButtonClicked&&e.beforeButtonClicked(e,i),e._buttonClicked&&e._buttonClicked(e,i)},this.i.buttonClicked=n.delegateCombine(this.i.buttonClicked,this._buttonClicked_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"changed",{get:function(){return this._changed},set:function(t){var e=this;null!==this._changed_wrapped&&(this.i.changed=n.delegateRemove(this.i.changed,this._changed_wrapped),this._changed_wrapped=null,this._changed=null),this._changed=t,this._changed_wrapped=function(t,n){var i=new B;i._provideImplementation(n),e.beforeChanged&&e.beforeChanged(e,i),e._changed&&e._changed(e,i)},this.i.changed=n.delegateCombine(this.i.changed,this._changed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"targetPropertyUpdating",{get:function(){return this._targetPropertyUpdating},set:function(t){var e=this;null!==this._targetPropertyUpdating_wrapped&&(this.i.targetPropertyUpdating=n.delegateRemove(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped),this._targetPropertyUpdating_wrapped=null,this._targetPropertyUpdating=null),this._targetPropertyUpdating=t,this._targetPropertyUpdating_wrapped=function(t,n){var i=new U;i._provideImplementation(n),e.beforeTargetPropertyUpdating&&e.beforeTargetPropertyUpdating(e,i),e._targetPropertyUpdating&&e._targetPropertyUpdating(e,i)},this.i.targetPropertyUpdating=n.delegateCombine(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=null,i.htmlTagName="igc-property-editor-property-description",i._isElementRegistered=!1,i}(n.IgcHTMLElement),z=function(){function t(){}return t.register=function(){D.register(),n.TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent",D),n.TypeRegistrar.register("PropertyEditorPropertyDescription",O.$type)},t}(),V=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPanelTemplateCellUpdatingEventArgs"),i}(n.Base),L=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.c=null,e.b=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPanelDataBindingEventArgs"),i}(n.Base),F=function(t){function i(){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(i,t),i.prototype.i=function(t,e,n){if(null!=this.dataBinding){var i=new L;return i.b=t,i.a=e,i.c=n,this.dataBinding(this,i),i.b}return t},i.prototype.e=function(t,e,n){if(null!=this.cellUpdating){var i=new V;return i.a=t,i.b=e,i.c=n,this.cellUpdating(this,i),i.a}return t},i.$t=n.markType(i,"PropertyEditorPanelColumnDefinition"),i}(n.Base),M=function(t){function i(e){var n=t.call(this)||this;return n.ae=null,n.add(new O),n.ae=e,n}return e.__extends(i,t),i.$t=n.markType(i,"HorizontalPropertyEditorPanelDataSource",k.$),i}(k),W=function(t){function i(e,i){var r=t.call(this)||this;r.a=new n.DescriptionTreeNode,r.b=null,r.b=e,r.a=new n.DescriptionTreeNode,r.a.i=i;new n.JsonDictionaryObject;return r}return e.__extends(i,t),i.prototype.h=function(t,e,n){null!=t&&this.c(t,e,this.a,n,null)},i.prototype.c=function(t,i,r,o,a){if(null==t)return null;var s=n.stringSplit(t,[".","["],0),l=s[0],u=s.length>1,p=!1,c=new n.List$1(n.Number_$type,0),h=new n.List$1(n.String_$type,0);if(n.stringContains(l,"]")){p=!0;for(var f=(l=n.stringReplace(l,"]","")).split(","),d=0;d<f.length;d++){var b=f[d];if(n.stringContains(b,"as")){var y=b.indexOf("as"),m=b.substr(0,y).trim(),g=b.substr(y+2).trim();c.add(parseInt(m)),h.add(g),o=g,l=m}}}var _=null;if(_=p?a:this.b.getMetadata(o,l),u)if(p)for(var v=r.b,C=0;C<c.count;C++){l=c._inner[C].toString();for(var P=h._inner[C],w=parseInt(n.stringReplace(n.stringReplace(l,"[",""),"]","")),A=new n.List$1(n.Base.$,0),T=0;T<=w;T++)if(null!=v&&T<v.length){var S=v[T];null!==n.typeCast(n.DescriptionTreeNode.$,S)&&T==w&&(S.i=P),A.add1(S)}else{var I=this.d(a,!0,P);null!=I&&A.add1(I)}var O=(v=A.toArray())[w],k=new n.List$1(n.String_$type,1,s);k.removeAt(0);var x=_.collectionElementType;null!=P&&(x=P);var j=this.c(n.stringJoin.apply(void 0,e.__spread(["."],k.toArray())),i,O,x,_);null!=j&&(v[w]=j),r.b=v}else{var E=r;E.c(l)||E.o(l,this.d(_,!1,null),_);var R=E.a(l),N=new n.List$1(n.String_$type,1,s);N.removeAt(0);var $=this.c(n.stringJoin.apply(void 0,e.__spread(["."],N.toArray())),i,R,_.specificExternalType,_);null!=$&&E.o(l,$,_)}else r.o(l,this.e(i,_),_);return null},i.prototype.f=function(t){return null==t?null:t.length<1?"":t.substr(0,1).toLowerCase()+t.substr(1)},i.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 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},i.prototype.d=function(t,e,i){if(e||10!=t.knownType&&9!=t.knownType){var r=new n.DescriptionTreeNode;return r.i=null!=i?i:null!=t.specificExternalType?t.specificExternalType:t.specificType,r}return new Array(0)},i.prototype.g=function(){var t=new n.DescriptionSerializerBuilder,e=new n.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()},i.$t=n.markType(i,"PropertyEditorTreeTransformer"),i}(n.Base),H=function(t){function i(){var e,i=t.call(this)||this;return i.n=null,i.m=null,i.a=null,i.i=null,i.l=null,i.e=null,i.k=null,i.b=((e=new n.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="Normal",e),i.aa=new n.Size,i.c=null,i._gridExternal=null,i.f=!1,i.j=null,i}return e.__extends(i,t),i.prototype.p=function(){return this.i},i.prototype.v=function(){},i.prototype.t=function(t){var e=this;if(null!=t){this.a.j=new n.DOMExecutionContext(t),this.i=t,this.l=this.i.createElement("canvas"),this.e=new n.RenderingContext(new n.CanvasViewRenderer,this.i.get2DCanvasContext(this.l)),this.k=this.i.createElement("div"),this.y(),n.NativeUIComponent.aa(this.p(),7,(function(t){var n=t;e.a.dh(n,e.n),e.i.append(n.v)}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.i.rootWrapper.setStyleProperty("position","relative")}else this.i=null},i.prototype.y=function(){},i.prototype.x=function(){this.i},i.prototype.s=function(){if(null!=this.i){var t=this.i.rootWrapper.width(),e=this.i.rootWrapper.height();this.aa=new n.Size(1,t,e),null!=this.a.v&&this.a.d2()}},i.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(n.NativeUI.o(e,this.a.d9),n.NativeUI.k(e,this.a.d6))}},i.prototype.d=function(){return this.b},i.prototype.u=function(){},i.prototype.w=function(){},i.prototype.r=function(){var t=this.a.ea();t.height>0&&this.i.rootWrapper.setStyleProperty("min-height",t.height+"px")},i.prototype.g=function(){return this.aa.width},i.prototype.h=function(t){return this.c=this.a.u(),n.FontUtil.measureStringWidth(t,this.c,this.e)},i.prototype.q=function(t,e){null==this.j&&(this.j=this.i.createElement("div")),e(this.j.getNativeElement())},i.$t=n.markType(i,"PropertyEditorPanelView"),i}(n.Base),K=function(t){function i(){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 k,e.bk=-1,e.aq=n.DeviceUtils.g(38),e.s=null,e.br=null,e.c=null,e.an=null,e.j=null,e.ae=!1,e.ap=null,e.bj=-1,e.bt=null,e.ad=!0,e.am=new n.Dictionary$2(F.$,n.Number_$type,0),e.f=null,e.g=null,e.d=null,e.bq=null,e.bu=null,e.aa=!1,e.ac=!1,e.ab=!1,e.d4=i.d7,e.d5=i.d8,e.bo=0,e.bl=-1,e.k=null,n.NativeUIInputsFactory.m(),e.ap=new n.ObservableCollection$1(F.$,0);var r=new H;r.a=e,e.l=r,e.l.v();var o=e.properties;return o.collectionChanged=n.delegateCombine(o.collectionChanged,n.runOn(e,e.dx)),e}return e.__extends(i,t),Object.defineProperty(i.prototype,"x",{get:function(){return null==this.w&&(this.w=new n.SRProvider(this.l.i),this.w.cb("Layouts")),this.w},enumerable:!0,configurable:!0}),i.prototype.dx=function(t,i){var r,o,a,s;if(null!=i.oldItems)try{for(var l=e.__values(n.fromEn(i.oldItems)),u=l.next();!u.done;u=l.next()){var p=u.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,p)){var c=p;c.propertyChanged=n.delegateRemove(c.propertyChanged,n.runOn(this,this.dj))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}if(null!=i.newItems)try{for(var h=e.__values(n.fromEn(i.newItems)),f=h.next();!f.done;f=h.next()){var d=f.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=n.delegateCombine(b.propertyChanged,n.runOn(this,this.dj))}}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}this.aj(),this.properties.count>0&&this.actualProperties!=this.properties&&(this.actualProperties=this.properties),this.dt()},i.prototype.dt=function(){this.af||null!=this.v&&this.d2()},i.prototype.dj=function(t,e){this.af||(this.aj(),null!=this.v&&this.d2())},i.prototype.notifySizeChanged=function(){this.l.s()},i.prototype.dh=function(t,e){if(this.v=t,null!=this.v){if(null!=this.actualProperties){if(this.ag)null!=this.actualProperties&&null===n.typeCast(M.$,this.actualProperties)&&(this.actualProperties=new M(this.actualProperties));else if(null!==n.typeCast(M.$,this.actualProperties)){var i=this.actualProperties;this.actualProperties=i.ae}this.br=this.actualProperties;var r=this.actualProperties;r=this.actualProperties.toArray();var o=new n.LocalDataSource;o.dataSource=r,this.c=o,this.ce()}null!=this.actualProperties&&this.d2()}},i.prototype.destroy=function(){this.provideContainer(null)},i.prototype.provideContainer=function(t){this.l.t(t)},i.prototype.ds=function(t){},Object.defineProperty(i.prototype,"actualProperties",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.du("ActualProperties",e,this.n)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"properties",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.du("Properties",e,this.o)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bp",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.du("RowHeight",e,this.bk)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ar",{get:function(){return this.aq},set:function(t){this.aq=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"t",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.du("CellTextStyle",e,this.s)},enumerable:!0,configurable:!0}),i.prototype.u=function(){return null==this.t?this.l.d():this.t},i.prototype.du=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.dy(t,e,i)},i.prototype.dy=function(t,e,i){switch(t){case"DescriptionType":null==this.b2&&null==this.properties&&(this.actualProperties=null),null!=this.b2&&(null==this.k&&(this.k=new x),this.k.n=this.b2),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(n.runOn(this,this.al)),e!=i&&(this.ad=!0),null==this.e?this.h=this.i:this.h=this.e.context;break;case"Target":null!=n.ComponentRenderer.defaultInstance&&null==this.e&&(this.e=n.ComponentRenderer.defaultInstance);break;case"DescriptionContext":null==this.e&&(this.h=i);break;case"ActualContext":null==this.h&&null==this.properties&&(this.actualProperties=null),null!=this.h&&(null==this.k&&(this.k=new x),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.d2();break;case"IsHorizontal":if(this.ag)this.bj=-1,null!=this.actualProperties&&null===n.typeCast(M.$,this.actualProperties)&&(this.actualProperties=new M(this.actualProperties));else if(null!==n.typeCast(M.$,this.actualProperties)){var r=this.actualProperties;this.actualProperties=r.ae}break;case"ActualProperties":if(this.ag)null!=this.actualProperties&&null===n.typeCast(M.$,this.actualProperties)&&(this.actualProperties=new M(this.actualProperties));else if(null!==n.typeCast(M.$,this.actualProperties)){var o=this.actualProperties;this.actualProperties=o.ae}if(null!=this.v){var a=this.br!=this.actualProperties;if(this.ag)null!=this.actualProperties&&null===n.typeCast(M.$,this.actualProperties)&&(this.actualProperties=new M(this.actualProperties));else if(null!==n.typeCast(M.$,this.actualProperties)){var s=this.actualProperties;this.actualProperties=s.ae}this.br=this.actualProperties;var l=this.actualProperties;l=this.actualProperties.toArray();var u=new n.LocalDataSource;if(u.dataSource=l,this.c=u,this.ce(),null!=this.c){var p=this.c;p.schemaChanged=n.delegateCombine(p.schemaChanged,n.runOn(this,this.dw))}a&&this.d2()}break;case"RowHeight":null!=this.v&&(this.ar=this.bp);break;case"CellTextStyle":this.d0();break;case"BackgroundColor":case"TextColor":this.d0()}},i.prototype.aj=function(){var t,i,r=this.af;this.af=!0;var o=!1;try{for(var a=e.__values(n.fromEnum(this.properties)),s=a.next();!s.done;s=a.next()){var l=s.value,u=l.al;if(null!=this.k){var p=this.k.e(u,!1);null!=p&&l.p(p)&&(o=!0)}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}return o?this.d2():null!=this.v&&this.d0(),this.af=r,o},i.prototype.d0=function(){this.ae||null==this.j||(this.ae=!0,this.j.enqueueAction(n.runOn(this,this.cj)))},i.prototype.cj=function(){var t=this;if(this.ae=!1,null==this.an&&(this.an=new n.List$1(n.List$1.$.specialize(n.NativeUIComponent.$),0)),null!=this.c){for(var e=this.c.actualCount,i=function(e){var i=e,o=r.c.getItemAtIndex(e);r.v.a5<i+1?r.v.a7(i,1,r.ar):r.v.bd(i,1,r.ar),r.an.count<i+1&&r.an.add(new n.List$1(n.NativeUIComponent.$,0));for(var a=r.an._inner[i],s=function(e){var s=r.ap._inner[e];a.count<e+1&&n.NativeUIComponent.ac(r.l.p(),0,(function(r){var o=r;o.e=1,0==s.a&&(o.d=2),o.ar=new n.Thickness(1,5,5,5,0),t.v.aw(o),t.v.bb(o,i),t.v.ba(o,e),a.add(o)})),r.v.a2<e+1?r.v.a6(e,1,s.h):r.v.bc(e,1,s.h);var l=a._inner[e],u="PropertyPath";1==s.a&&(u="ValueType");var p=r.m(s,i,o),c=null;(null!=p&&(c=r.c.getItemProperty(p,u),null!=(c=s.i(c,i,o))&&(l=s.e(l,i,o))),null==c)&&(l.a0=null)},l=0;l<r.ap.count;l++)s(l)},r=this,o=0;o<e;o++)i(o);for(var a=new n.HashSet$1(n.NativeUIComponent.$,0),s=this.v.av-1;s>=0;s--){var l=this.v.au(s),u=this.v.a4(l),p=this.v.a3(l);(u+1>e||p+1>this.ap.count)&&a.add_1(l)}for(var c=this.v.av-1;c>=0;c--){var h=this.v.au(c);a.contains(h)&&this.v.ay(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.a5>e;)this.v.a9(this.v.a5-1);for(;this.v.a2>this.ap.count;)this.v.a8(this.v.a2-1)}},i.prototype.dw=function(t,e){this.z=!0,this.ce(),this.z=!1},i.prototype.d2=function(){if(null!=this.v){this.am.clear(),this.ap.clear();-1==this.bp||this.bp,this.d6,this.u();if(this.ag)this.cg();else{var t=new F;t.b=0,t.f=10,t.g=5,t.a=0,t.dataBinding=n.delegateCombine(t.dataBinding,n.runOn(this,this.dl)),t.cellUpdating=n.delegateCombine(t.cellUpdating,n.runOn(this,this.dk)),t.j="PropertyPath",this.ap.add(t);var e=new F;e.b=1,e.a=1,e.f=5,e.g=5,e.dataBinding=n.delegateCombine(e.dataBinding,n.runOn(this,this.cl)),e.cellUpdating=n.delegateCombine(e.cellUpdating,n.runOn(this,this.ck)),e.j="ValueType",this.ap.add(e)}this.d0()}},i.prototype.cg=function(){if(null!=this.actualProperties){for(var t=this.actualProperties.ae,e=t.count,i=new n.List$1(F.$,0),r=this.bm(t,e,i,2147483647),o=0;o<i.count;o++)this.ap.add(i._inner[o]);this.bo=r;var a=this.actualProperties,s=this.bj;a.clear();for(var l=0;l<this.bo;l++)a.add(new O);var u=this.actualProperties.toArray(),p=new n.LocalDataSource;p.dataSource=u,this.c=p,a.count!=s&&(this.bj=a.count,this.d0(),this.l.r())}},i.prototype.ea=function(){if(this.ag&&null!=this.v&&null!=this.c){var t=this.ar,e=this.actualProperties;return new n.Size(1,0,e.count*t)}return new n.Size(1,0,0)},i.prototype.bm=function(t,e,i,r){var o=0,a=0,s=this.l.g();s-=5,this.ai||(s=17976931348623157e292);for(var l=0,u=s,p=0;p<e;p++){var c=t.item(p),h=this.a9(c),f=this.a5(c);if(l+h+f>s&&a>0||a>=r){if(0!=o&&a<r&&r>2){var d=i._inner[a],b=i._inner[a+1];return d.h=h,b.h=f,this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count)}r=Math.max(Math.min(r,a),2),o++;var y=s-l;y<u&&(u=y),l=0,a=0}this.b5(c);if(i.count<=a){var m=new F;m.b=0,m.a=0,m.f=10,m.g=5,m.h=h,m.dataBinding=n.delegateCombine(m.dataBinding,n.runOn(this,this.dl)),m.cellUpdating=n.delegateCombine(m.cellUpdating,n.runOn(this,this.dk)),m.j="PropertyName_"+p,i.add(m),this.am.item(m,i.count-1),a++}else{var g=i._inner[a];if(h>g.h){var _=h-g.h;if(g.h=h,_>u&&r>2)return this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count);(u-=_)<0&&(u=0),a++}else h=g.h,a++}if(i.count<=a){var v=new F;v.b=1,v.a=1,v.j="ValueType_"+p,v.f=5,v.g=5,v.dataBinding=n.delegateCombine(v.dataBinding,n.runOn(this,this.cl)),v.h=f,v.cellUpdating=n.delegateCombine(v.cellUpdating,n.runOn(this,this.ck)),i.add(v),this.am.item(v,i.count-1),a++}else{var C=i._inner[a];if(f>C.h){var P=f-C.h;if(C.h=f,P>u&&r>2)return this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count);(u-=P)<0&&(u=0),a++}else f=C.h,a++}l+=h+f}return o+1},i.prototype.d1=function(t,i){var r,o,a=0;try{for(var s=e.__values(n.fromEnum(i)),l=s.next();!l.done;l=s.next()){a+=l.value.h}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}for(;a>t;){if(i.count<1)return;1==i._inner[i.count-1].b?(a-=i._inner[i.count-1].h,a-=i._inner[i.count-2].h,i.removeAt(i.count-1),i.removeAt(i.count-1)):(a-=i._inner[i.count-1].h,i.removeAt(i.count-1))}},i.prototype.cl=function(t,e){var i=t,r=this.m(i,e.a,e.c);e.b=n.enumGetBox(A,null!=r?r.n:0)},i.prototype.dl=function(t,e){var n=t,i=this.m(n,e.a,e.c);e.b=null!=i?null!=i.aj?i.aj:i.al:null},i.prototype.a5=function(t){if(!n.isNaN_(t.w))return t.w;switch(t.n){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 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.a6(t);case 17:return this.a7(t);case 16:return this.ba(t);case 1:return this.bb(t);case 11:return this.bc(t);case 13:return this.bd(t);case 12:return this.be(t);case 2:return this.bg(t);case 8:return this.bh(t);case 19:return this.bi(t);case 0:return this.a8(t);case 20:return this.aw(t);case 21:return this.bf(t)}return 100},i.prototype.bi=function(t){return this.a8(t)},i.prototype.a8=function(t){return 175},i.prototype.aw=function(t){return null!=t.ad?Math.max(100,this.l.h(t.ad.toString())+30):80},i.prototype.bf=function(t){return 175},i.prototype.bh=function(t){return this.aw(t)},i.prototype.bg=function(t){return this.a8(t)},i.prototype.be=function(t){return this.a8(t)},i.prototype.bd=function(t){return this.a8(t)},i.prototype.bc=function(t){return this.a8(t)},i.prototype.bb=function(t){return this.a8(t)},i.prototype.ba=function(t){return this.aw(t)},i.prototype.a7=function(t){return this.aw(t)},i.prototype.a6=function(t){return this.a4(t)},i.prototype.a4=function(t){return this.a8(t)},i.prototype.a2=function(t){return this.a3(t)},i.prototype.a3=function(t){return this.a8(t)},i.prototype.a1=function(t){return this.aw(t)},i.prototype.az=function(t){return this.aw(t)},i.prototype.a0=function(t){return this.a8(t)},i.prototype.ay=function(t){return this.aw(t)},i.prototype.au=function(t){return this.aw(t)},i.prototype.av=function(t){return this.a8(t)},i.prototype.at=function(t){return this.ax(t)},i.prototype.ax=function(t){return 50},i.prototype.as=function(t){return this.aw(t)},i.prototype.a9=function(t){return n.isNaN_(t.x)?this.l.h(this.b5(t))+17:t.x},i.prototype.b5=function(t){return null!=t.aj?t.aj:t.al},i.prototype.dk=function(t,e){var n=t;this.m(n,e.b,e.c);this.c7(n,e)},i.prototype.ck=function(t,e){var n=t,i=this.m(n,e.b,e.c);switch(null!=i?i.n:0){case 10:this.cs(n,e);break;case 7:this.ct(n,e);break;case 4:this.cv(n,e);break;case 6:this.cu(n,e);break;case 9:this.cx(n,e);break;case 5:this.cz(n,e);break;case 14:this.cy(n,e);break;case 18:this.c0(n,e);break;case 3:this.c1(n,e);break;case 15:this.c4(n,e);break;case 17:this.c5(n,e);break;case 16:this.c8(n,e);break;case 1:this.c9(n,e);break;case 11:this.da(n,e);break;case 13:this.db(n,e);break;case 12:this.dc(n,e);break;case 2:this.de(n,e);break;case 8:this.df(n,e);break;case 19:this.dg(n,e);break;case 20:this.cw(n,e);break;case 21:this.dd(n,e)}},i.prototype.dg=function(t,e){this.c6(t,e)},i.prototype.df=function(t,e){},i.prototype.de=function(t,e){this.c6(t,e)},i.prototype.dc=function(t,e){this.c6(t,e)},i.prototype.db=function(t,e){this.c6(t,e)},i.prototype.da=function(t,e){this.c6(t,e)},i.prototype.c9=function(t,e){this.c6(t,e)},i.prototype.c7=function(t,e){var n=this;this.cq(e,(function(i,r){i.at=n.u(),i.e=1;var o=n.m(t,e.b,e.c);i.w=o,i.au=n.b5(o)}))},i.prototype.c6=function(t,e){var i=this;this.cp(e,(function(r,o){r.e=1,r.ax=1,r.au=2;var a=i.m(t,e.b,e.c);r.w=a,r.ay=null!=a.ad?a.ad.toString():"",o&&(r.aw=n.runOn(i,i.di))}))},i.prototype.cq=function(t,e){var i=t.a,r=i.a0,o=!1;if(null==r||3!=r.c)return o=!0,void n.NativeUIComponent.aa(this.l.p(),3,(function(t){i.a0=t,e(t,o)}));e(r,o)},i.prototype.cp=function(t,e){var i=t.a,r=i.a0,o=!1;if(null==r||2!=r.c)return o=!0,void n.NativeUIComponent.aa(this.l.p(),2,(function(t){i.a0=t,e(t,o)}));e(r,o)},i.prototype.cm=function(t,e){var i=t.a,r=i.a0,o=!1;if(null==r||1!=r.c)return o=!0,void n.NativeUIComponent.aa(this.l.p(),1,(function(t){i.a0=t,e(t,o)}));e(r,o)},i.prototype.cr=function(t,e){var i=t.a,r=i.a0,o=!1;if(null==r||5!=r.c)return o=!0,void n.NativeUIComponent.aa(this.l.p(),5,(function(t){i.a0=t,e(t,o)}));e(r,o)},i.prototype.co=function(t,e){var i=t.a,r=i.a0,o=!1;if(null==r||4!=r.c)return o=!0,void n.NativeUIComponent.aa(this.l.p(),4,(function(t){i.a0=t,e(t,o)}));e(r,o)},i.prototype.cn=function(t,e){var i=t.a,r=i.a0,o=!1;if(null==r||6!=r.c)return o=!0,void n.NativeUIComponent.aa(this.l.p(),6,(function(t){i.a0=t,e(t,o)}));e(r,o)},i.prototype.cw=function(t,e){var i=this;this.cm(e,(function(r,o){r.e=1,2!=r.av&&(r.av=2);var a=i.m(t,e.b,e.c);r.w=a;var s=a.ad;"number"!=typeof a.ad&&"number"!=typeof a.ad||(s=a.ad.toString()),r.aw=s,o&&(r.au=n.runOn(i,i.cd))}))},i.prototype.dd=function(t,e){var i=this;this.cr(e,(function(r,o){r.e=1;var a=i.m(t,e.b,e.c);r.w=a;var s=a.ad;if("number"!=typeof a.ad&&"number"!=typeof a.ad||(s=a.ad),"string"==typeof a.ad){var l=0;s=l=n.tryParseNumber(s,l).p1}null==s&&(s=0),r.a0=s,n.isNaN_(a.z)?r.ay=0:r.ay=a.z,n.isNaN_(a.y)?r.ax=100:r.ax=a.y,n.isNaN_(a.aa)?r.az=1:r.az=a.aa,o&&(r.aw=n.runOn(i,i.d3))}))},i.prototype.d3=function(t,e){var n=t,i=n.w;this.af=!0,i.ad=n.a0,this.af=!1,this.dv(i)},i.prototype.c3=function(t,e){var i=this;this.co(e,(function(r,o){r.e=1,2!=r.at&&(r.at=2);var a=i.m(t,e.b,e.c);r.w!=a?(r.av=null,r.w=a,r.ax=null,r.aw=i.b(i.a(a)),a.ad!=r.ax&&("number"==typeof a.ad||"number"==typeof a.ad?r.ax=a.ad.toString():r.ax=a.ad),r.av=n.runOn(i,i.ch)):a.ad!=r.ax&&("number"==typeof a.ad||"number"==typeof a.ad?r.ax=a.ad.toString():r.ax=a.ad),o&&(null==r.av&&(r.av=n.runOn(i,i.ch)),r.aj=n.BrushUtil.g(255,255,255,255))}))},i.prototype.b=function(t){return t},i.prototype.a=function(t){return t.c},i.prototype.ch=function(t,e){var n=t,i=n.w;this.af=!0,i.ad=n.ax,i.am(),this.af=!1,this.dv(i)},i.prototype.di=function(t,e){var i=t,r=i.w;if(this.af=!0,1==r.n){var o=0;o=n.tryParseNumber(i.ay,o).p1,r.ad=o}else r.ad=i.ay;r.am(),this.af=!1,this.dv(r)},i.prototype.cd=function(t,e){var n=t.w;this.af=!0,n.an(),this.af=!1,this.dv(n)},i.prototype.dv=function(t){var e=this;if(null!=this.bs&&null!=this.e){this.ad&&(this.ad=!1,this.e.addTargetPropertyUpdatingListener(n.runOn(this,this.al)));var i=null==this.bt;this.bt=this.b4(),i?this.l.q(this.bs,(function(t){return e.e.loadJsonOverlay(e.bt,(function(e){return t}),(function(t){return e.bs}))})):this.l.q(this.bs,(function(t){return e.e.loadJsonDelta(e.bt,(function(e){return t}),!1)}))}},i.prototype.al=function(t,e,i){var r=this.actualProperties;null!==n.typeCast(M.$,r)&&(r=r.ae);for(var o=0;o<r.count;o++){var a=r._inner[o].al;this.ak(a,t)&&r._inner[o].ap(t,e,i)}return!!this.ah},i.prototype.ak=function(t,e){if(null==t&&null==e)return!0;if(null==t)return!1;if(null==e)return!1;var i=n.stringSplit(t,[".","["],0),r=n.stringSplit(e,[".","["],0);if(i.length!=r.length)return!1;for(var o=0;o<i.length;o++){var a=i[o],s=r[o];if(n.stringContains(a,"]")){if(!n.stringContains(s,"]"))return!1;if(s=n.stringReplace(s,"]",""),!this.ao(a).contains(s))return!1}else if(!n.Base.equalsStatic(a,s))return!1}return!0},i.prototype.ao=function(t){var e=new n.List$1(n.String_$type,0);if(n.stringContains(t,"]")){for(var i=(t=n.stringReplace(t,"]","")).split(","),r=0;r<i.length;r++){var o=i[r];if(n.stringContains(o,"as")){var a=o.indexOf("as"),s=o.substr(0,a).trim();e.add(s)}}return e}return e.add(t),e},i.prototype.b4=function(){if(null==this.actualProperties)return null;var t=this.actualProperties;null!==n.typeCast(M.$,t)&&(t=t.ae);var e=new W(this.h,this.b2);return this.c2(t,"",e,this.b2),e.g()},i.prototype.c2=function(t,e,n,i){for(var r=0;r<t.count;r++){var o=t._inner[r];if(20!=o.n)if(null!=o.i)for(var a=0;a<o.i.count;a++){var s=o.i._inner[a],l=e+o.al+"["+a+"]";this.c2(s.a,l,n,s.b)}else if(null!=o.g){var u=e+o.al;this.c2(o.g.a,u,n,o.g.b)}else n.h(e+o.al,o.ad,i)}},i.prototype.c8=function(t,e){},i.prototype.c5=function(t,e){},i.prototype.c4=function(t,e){this.c3(t,e)},i.prototype.c1=function(t,e){},i.prototype.c0=function(t,e){},i.prototype.cy=function(t,e){},i.prototype.cz=function(t,e){this.c6(t,e)},i.prototype.cx=function(t,e){},i.prototype.cu=function(t,e){},i.prototype.cv=function(t,e){this.c6(t,e)},i.prototype.ct=function(t,e){var i=this;this.cn(e,(function(r,o){r.e=1,r.av||(r.av=!0);var a,s=i.m(t,e.b,e.c),l=s.ad;if((null==l&&(l=!1),"string"==typeof l)&&function(){var t=n.tryParseBool(l,a);return a=t.p1,t.ret}()){l=a;var u=i.af;i.af=!0,s.ad=l,i.af=u}if("number"==typeof l&&n.typeGetValue(l)>0){l=!0;var p=i.af;i.af=!0,s.ad=l,i.af=p}if("number"==typeof l&&l>0){l=!0;var c=i.af;i.af=!0,s.ad=l,i.af=c}var h=l;r.aw=h,r.w=s,o&&(r.au=n.runOn(i,i.cf))}))},i.prototype.m=function(t,e,i){if(this.ag){var r=this.actualProperties.ae,o=e*n.truncate(this.ap.count/2),a=this.bn(t);return(a=n.truncate(Math.floor(a/2))+o)>r.count-1?null:r.item(a)}return i},i.prototype.bn=function(t){return this.am.item(t)},i.prototype.cf=function(t,e){var n=t,i=n.w;this.af=!0,i.ad=n.aw,i.am(),this.af=!1,this.dv(i)},i.prototype.cs=function(t,e){},i.prototype.dq=function(t,e,n){null!=this.v&&this.c.notifySetItem(t,e,n)},i.prototype.dm=function(){null!=this.v&&this.c.notifyClearItems()},i.prototype.dn=function(t,e){null!=this.v&&this.c.notifyInsertItem(t,e)},i.prototype.dp=function(t,e){null!=this.v&&this.c.notifyRemoveItem(t,e)},Object.defineProperty(i.prototype,"h",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.du("ActualContext",e,this.f)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"i",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.du("DescriptionContext",e,this.g)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,this.du("ComponentRenderer",e,this.d)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bs",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,this.du("Target",e,this.bq)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"b2",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,this.du("DescriptionType",e,this.bu)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ag",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,this.du("IsHorizontal",e,this.aa)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ai",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,this.du("IsWrappingEnabled",e,this.ac)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ah",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.du("IsIndirectModeEnabled",e,this.ab)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"d6",{get:function(){return this.d4},set:function(t){var e=this.d4;this.d4=t,e!=this.d4&&this.du("BackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"d9",{get:function(){return this.d5},set:function(t){var e=this.d5;this.d5=t,e!=this.d5&&this.du("TextColor",e,t)},enumerable:!0,configurable:!0}),i.prototype.ce=function(){var t=this.c;if(null!=t){if(null==t.actualSchema)return void(this.bl=-1);var e=t.actualCount;this.bl=e}else this.bl=-1},i.$t=n.markType(i,"PropertyEditorPanel",n.Base.$,[n.INotifyPropertyChanged_$type]),i.d7=n.BrushUtil.g(255,248,248,248),i.d8=n.BrushUtil.g(255,24,29,31),i}(n.Base),G=function(t){function i(){var i=t.call(this)||this;return i._implementation=null,i.contentProperties=[],i.actualProperties=[],i._properties=null,i._propertiesAdapter=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i._actualDataSource=null,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._implementation.externalObject=i,i._portalManager=new n.PortalManager("propertyEditorContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._webComponentWrapper=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._webComponentWrapper),i._webComponentWrapper.setStyleProperty("display","block"),i._webComponentWrapper.setStyleProperty("width","100%"),i._webComponentWrapper.setStyleProperty("height","100%"),i._propertiesAdapter=new n.CollectionAdapter(i.contentProperties,i.i.properties,i.actualProperties,(function(t){return t.i}),(function(t){i._webComponentRenderer&&i._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(i,i,i)}),(function(t){})),i.i.provideContainer(i._webComponentRenderer),i.i.notifySizeChanged(),new MutationObserver((function(t){var n,r;try{for(var o=e.__values(t),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&i.updateContentProperties()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i._webComponentRenderer.addSizeWatcher((function(){i.i.notifySizeChanged()})),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"properties",{get:function(){var t=this;if(null===this._properties){var e=new R;e._innerColl.addListener((function(e,i){switch(i.action){case n.NotifyCollectionChangedAction.Add:t._propertiesAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Remove:t._propertiesAdapter.removeManualItemAt(i.oldStartingIndex);break;case n.NotifyCollectionChangedAction.Replace:t._propertiesAdapter.removeManualItemAt(i.oldStartingIndex),t._propertiesAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Reset:t._propertiesAdapter.clearManualItems()}})),this._properties=e}return this._properties},enumerable:!0,configurable:!0}),i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.updateContentProperties=function(){this.contentProperties.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof D&&this.contentProperties.push(this.children[t]);null!=this._propertiesAdapter&&this._propertiesAdapter.notifyContentChanged()},i.prototype.createImplementation=function(){return new K},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.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()}},i.prototype.afterContentInit=function(){this.i.notifySizeChanged()},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcPropertyEditorPanelComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcPropertyEditorPanelComponent=t}return i._observedAttributesIgcPropertyEditorPanelComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"actualDataSource",{get:function(){if(null===this._actualDataSource){var t=new R,e=this.i.actualProperties;e||(e=new k),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 R;this._actualDataSource=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(O.$type),r=this.i.actualProperties;r||(r=new k),i._inner=r,i.clear(),this._actualDataSource._setSyncTarget(i),this.i.actualProperties=r},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rowHeight",{get:function(){return this.i.bp},set:function(t){this.i.bp=+t,this._a("rowHeight",this.i.bp)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualRowHeight",{get:function(){return this.i.ar},set:function(t){this.i.ar=+t,this._a("actualRowHeight",this.i.ar)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"cellTextStyle",{get:function(){return null==this.i.t?null:this.i.t.fontString},set:function(t){var e=new n.FontInfo;e.fontString=t,this.i.t=e,this._a("cellTextStyle",null!=this.i.t?this.i.t.fontString:"")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualDescriptionContext",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionContext",{get:function(){return this.i.i},set:function(t){this.i.i=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"componentRenderer",{get:function(){return this.i.e},set:function(t){this.i.e=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"target",{get:function(){return this.i.bs},set:function(t){this.i.bs=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionType",{get:function(){return this.i.b2},set:function(t){this.i.b2=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isHorizontal",{get:function(){return this.i.ag},set:function(t){this.i.ag=n.ensureBool(t),this._a("isHorizontal",this.i.ag)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isWrappingEnabled",{get:function(){return this.i.ai},set:function(t){this.i.ai=n.ensureBool(t),this._a("isWrappingEnabled",this.i.ai)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isIndirectModeEnabled",{get:function(){return this.i.ah},set:function(t){this.i.ah=n.ensureBool(t),this._a("isIndirectModeEnabled",this.i.ah)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"backgroundColor",{get:function(){return n.brushToString(this.i.d6)},set:function(t){this.i.d6=n.stringToBrush(t),this._a("backgroundColor",n.brushToString(this.i.d6))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"textColor",{get:function(){return n.brushToString(this.i.d9)},set:function(t){this.i.d9=n.stringToBrush(t),this._a("textColor",n.brushToString(this.i.d9))},enumerable:!0,configurable:!0}),i.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(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("PropertyEditorPanelComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var c=n.toSpinal(p);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.notifySetItem=function(t,e,n){this.i.dq(t,e,n)},i.prototype.notifyClearItems=function(){this.i.dm()},i.prototype.notifyInsertItem=function(t,e){this.i.dn(t,e)},i.prototype.notifyRemoveItem=function(t,e){this.i.dp(t,e)},i._observedAttributesIgcPropertyEditorPanelComponent=null,i.htmlTagName="igc-property-editor-panel",i._isElementRegistered=!1,i}(n.IgcHTMLElement),X=function(){function t(){}return t.register=function(){z.register(),G.register(),n.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",G),n.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",G),n.TypeRegistrar.register("PropertyEditorPanel",K.$type)},t}(),Q=function(t){return t[t.Vertical=0]="Vertical",t[t.Horiztonal=1]="Horiztonal",t}({}),J=n.markEnum("ListPanelOrientation","Vertical,0|Horiztonal,1"),Y=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=!1,e.l=0,e.j=0,e.m=null,e.a=null,e.b=!1,e.d=!1,e.f=!1,e.g=0,e.h=0,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"n",{get:function(){return this.m},set:function(t){this.e=!0,this.m=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"e",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"i",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&(this.f=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"k",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,e!=this.h&&(this.f=!0)},enumerable:!0,configurable:!0}),i.$t=n.markType(i,"ListPanelItemModel"),i}(n.Base),Z=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.$t=n.markType(i,"ListPanelContentRefreshedEventArgs"),i}(n.Base),tt=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(i,t),i.$t=n.markType(i,"ListPanelItemPresenter"),i}(n.Base),et=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.c=null,e.b=null,e}return e.__extends(i,t),i.$t=n.markType(i,"ListPanelTemplateItemUpdatingEventArgs"),i}(n.Base),nt=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(i,t),i.$t=n.markType(i,"ListPanelTemplateWidthRequestedEventArgs"),i}(n.Base),it=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(i,t),i.$t=n.markType(i,"ListPanelTemplateHeightRequestedEventArgs"),i}(n.Base),rt=function(t){function i(){var e,i=t.call(this)||this;return i.n=null,i.m=null,i.a=null,i.i=null,i.l=null,i.e=null,i.k=null,i.b=((e=new n.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="Normal",e),i.aa=new n.Size,i.c=null,i._gridExternal=null,i.f=!1,i.j=null,i}return e.__extends(i,t),i.prototype.p=function(){return this.i},i.prototype.v=function(){},i.prototype.t=function(t){var e=this;if(null!=t){this.a.c=new n.DOMExecutionContext(t),this.i=t,this.l=this.i.createElement("canvas"),this.e=new n.RenderingContext(new n.CanvasViewRenderer,this.i.get2DCanvasContext(this.l)),this.k=this.i.createElement("div"),this.y(),n.NativeUIComponent.aa(this.p(),9,(function(t){var n=t;e.a.bv(n),e.i.append(n.v)}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.i.rootWrapper.setStyleProperty("position","relative")}else this.i=null},i.prototype.y=function(){},i.prototype.x=function(){this.i},i.prototype.s=function(){if(null!=this.i){var t=this.i.rootWrapper.width(),e=this.i.rootWrapper.height();this.aa=new n.Size(1,t,e),null!=this.a.u&&this.a.cp()}},i.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(n.NativeUI.o(e,this.a.cv),n.NativeUI.k(e,this.a.cs))}},i.prototype.d=function(){return this.b},i.prototype.u=function(){},i.prototype.w=function(){},i.prototype.r=function(){},i.prototype.g=function(){return this.aa.width},i.prototype.h=function(t){return this.c=this.a.t(),n.FontUtil.measureStringWidth(t,this.c,this.e)},i.prototype.q=function(t,e){null==this.j&&(this.j=this.i.createElement("div")),e(this.j.getNativeElement())},i.$t=n.markType(i,"ListPanelView"),i}(n.Base),ot=function(t){function i(){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=n.DeviceUtils.g(38),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 n.FastIterationDictionary$2(n.Number_$type,Y.$,0),e.itemWidthRequested=null,e.itemHeightRequested=null,e.p=new n.FastIterationDictionary$2(Y.$,Y.$,0),e.ao=new n.Stack$1(Y.$),e.al=new n.List$1(n.Number_$type,0),e.ak=new n.List$1(n.Number_$type,0),e.an=new n.List$1(n.Number_$type,0),e.am=new n.List$1(n.Number_$type,0),e.ae=!0,e.ab=!0,e.ay=-1,e.az=-1,e.d=null,e.c=null,e.cq=i.ct,e.i=i.j,e.aa=i.af,e.cr=i.cu,n.NativeUIInputsFactory.m();var r=new rt;return r.a=e,e.o=r,e.o.v(),e}return e.__extends(i,t),Object.defineProperty(i.prototype,"w",{get:function(){return null==this.v&&(this.v=new n.SRProvider(this.o.i),this.v.cb("Layouts")),this.v},enumerable:!0,configurable:!0}),i.prototype.bv=function(t){this.h=new st(t)},i.prototype.cd=function(t){this.aq=t.width,this.ch()},Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),i.prototype.notifySizeChanged=function(){this.o.s()},i.prototype.destroy=function(){this.provideContainer(null)},i.prototype.provideContainer=function(t){this.o.t(t)},Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.prototype,"av",{get:function(){return this.ar},set:function(t){this.ar=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),i.prototype.t=function(){return null==this.s?this.o.d():this.s},Object.defineProperty(i.prototype,"ah",{get:function(){return 1==this.k},enumerable:!0,configurable:!0}),i.prototype.ca=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.ce(t,e,i)},i.prototype.bm=function(t,e){this.b8()},i.prototype.ch=function(){this.ac||(this.ac=!0,this.c.enqueueAction(n.runOn(this,this.bo)))},i.prototype.bo=function(){this.ac&&(this.ac=!1,this.ab&&this.bk(),this.ae&&this.bl(),this.ci(),this.cl(),null!=this.contentRefreshed&&this.contentRefreshed(this,new Z))},i.prototype.cl=function(){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 n=0;n<this.q.o.count;n++)if(!this.q.p._inner[n]){this.q.o._inner[n];var i=this.q.q._inner[n];this.br(i),this.bp(i),this.h.b(this,i)}},i.prototype.bp=function(t){t.e&&(t.e=!1,this.bs(t))},i.prototype.bs=function(t){var e;null!=this.rowUpdating&&this.rowUpdating(this,((e=new et).a=t,e.b=t.a.a,e.c=t.a.a.v,e))},i.prototype.br=function(t){var e=this;null==t.a&&(t.a=new tt,n.NativeUIComponent.ac(this.o.p(),0,(function(n){var i=n;0==e.k?i.d=3:i.d=0,t.a.a=i})))},i.prototype.bl=function(){if(this.ae){this.ae=!1,this.bu(),this.ay=this.a5(),this.az=this.a6();for(var t=new n.List$1(n.Number_$type,0),e=0;e<this.q.o.count;e++)if(!this.q.p._inner[e]){var i=this.q.o._inner[e];this.q.q._inner[e];(i<this.ay||i>this.az)&&t.add(i)}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.k=this.ax(o),a.i=this.aw(o)}}},i.prototype.aw=function(t){return 0==this.k?0:this.an._inner[t]},i.prototype.ax=function(t){return 1==this.k?0:this.ai?this.al._inner[t]:t*this.av},i.prototype.bq=function(t){if(!this.q.d(t)){var e=this.g(t);e.c&&(this.p.f(e),e.c=!1),this.q.s(t,e)}},i.prototype.g=function(t){if(this.ao.f>0)return this.ao.e();var e=new Y;return e.l=t,e.j=this.av,e},i.prototype.co=function(t){var e=this.q.item(t);this.ck(e),this.q.f(t),e.c=!0,this.p.s(e,e)},i.prototype.ck=function(t){this.ao.h(t)},i.prototype.a6=function(){return null==this.actualDataSource||null==this.actualDataSource.actualSchema?-1:this.actualDataSource.actualCount-1},i.prototype.a5=function(){return null==this.actualDataSource||null==this.actualDataSource.actualSchema?-1:0},i.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,i=n.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 n,i=a.av;if(null!=a.itemHeightRequested){var o=((n=new it).b=e,n.c=t.actualDataSource.getItemAtIndex(e),n.a=i,n);a.itemHeightRequested(a,o),i=o.a,r+=i}a.ak.add(i)},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 l=0,u=function(e){p.an.add(l);var n,i=0;if(null!=p.itemWidthRequested){var r=((n=new nt).b=e,n.c=t.actualDataSource.getItemAtIndex(e),n.a=i,n);p.itemWidthRequested(p,r),i=r.a,l+=i}p.am.add(i)},p=this,c=0;c<this.actualDataSource.actualCount;c++)u(c);this.aq=l}e==this.ap&&i==(n.isNaN_(this.aq)?0:this.aq)||this.o.r()}},i.prototype.bt=function(){this.ac&&this.bo()},i.prototype.cm=function(){if(0!=this.as){var t=n.isNaN_(this.aq)?0:this.aq,e=this.ap;this.ad=!0,this.bz(this.as),t==(n.isNaN_(this.aq)?0:this.aq)&&e==this.ap||this.externalListPanel.onContentSizeChanged(),this.ad=!1,this.b0(),this.ch()}},i.prototype.b0=function(){this.ae=!0},i.prototype.bz=function(t){this.ab=!0,this.as=t},i.prototype.bu=function(){this.z&&(this.z=!1,this.cm(),this.by())},i.prototype.cn=function(){this.z?this.bu():(this.ch(),this.bt())},i.prototype.a4=function(){return this.az},i.prototype.a3=function(){return this.ay},i.prototype.aj=function(){return this.ay>=0&&this.az>=0},i.prototype.by=function(){if(this.aj()){var t=this.a3(),e=this.a4();this.bx(t,e)}},i.prototype.bx=function(t,e){var n=this.a3(),i=this.a4();e<n||t>i||(t<n&&(t=n),e>i&&(e=i),this.ci(),this.cn())},i.prototype.ci=function(){for(var t=0;t<this.q.q.count;t++)if(!this.q.p._inner[t]){var e=this.q.q._inner[t];e.n=this.actualDataSource.getItemAtIndex(e.l),e.j=this.av}},i.prototype.cj=function(t){if(this.q.d(t)){var e=this.q.item(t);e.n=this.actualDataSource.getItemAtIndex(e.l),e.j=this.av}},i.prototype.cg=function(){this.z||(this.z=!0,this.b0(),this.ch())},i.prototype.bw=function(t){this.cj(t)},i.prototype.b8=function(){this.z?this.bu():(this.cm(),this.by())},Object.defineProperty(i.prototype,"externalListPanel",{get:function(){return this.d},set:function(t){this.d=t},enumerable:!0,configurable:!0}),i.prototype.ce=function(t,e,i){var r=this;switch(t){case"ItemsSource":if(null!=this.a){var o=this.a;o.schemaChanged=n.delegateRemove(o.schemaChanged,n.runOn(this,this.bm)),this.a.updateNotifier=null}if(null!==n.typeCast(n.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=n.delegateCombine(s.schemaChanged,n.runOn(this,this.bm)),this.a.updateNotifier=new at(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()}},i.prototype.cp=function(){if(null!=this.u)-1==this.a7||this.a7,this.cs,this.t()},i.prototype.cw=function(){var t=this.ap,e=0;!n.isNaN_(t)&&t>=0&&(e=t);var i=new n.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),r=0;if(0==this.k)for(var 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.ap(i);r=Math.max(r,a.width)}return new n.Size(1,r,e)},i.prototype.b7=function(t,e){},i.prototype.cc=function(t,e,n){if(0==this.k){if(this.ai){var i=this.av;if(null!=this.itemHeightRequested){var r=new it;r.c=n,r.b=t,r.a=i,this.itemHeightRequested(this,r),i=r.a}var o=this.ak._inner[t];this.ak._inner[t]=i;for(var a=i-o,s=t;s<this.actualDataSource.actualCount;s++)this.al._inner[s]+=a}}else{var l=0;if(null!=this.itemWidthRequested){var u=new nt;u.c=n,u.b=t,u.a=l,this.itemWidthRequested(this,u),l=u.a}var p=this.am._inner[t];this.am._inner[t]=l;for(var c=l-p,h=t;h<this.actualDataSource.actualCount;h++)this.an._inner[h]+=c}this.bw(t)},i.prototype.b6=function(){this.cm()},i.prototype.b9=function(t,e){if(0==this.k){if(this.ai){var n=this.av;if(null!=this.itemHeightRequested){var i=new it;i.c=e,i.b=t,i.a=n,this.itemHeightRequested(this,i),n=i.a}this.ak.insert(t,n);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]+=n}}else{var a=0;if(null!=this.itemWidthRequested){var s=new nt;s.c=e,s.b=t,s.a=a,this.itemWidthRequested(this,s),a=s.a}this.am.insert(t,a);var l=0;if(t>0)l=this.an._inner[t-1]+this.am._inner[t-1];this.an.insert(t,l);for(var u=t;u<this.actualDataSource.actualCount;u++)this.an._inner[u]+=a}this.cg()},i.prototype.cb=function(t,e){if(0==this.k){for(var n=this.ak._inner[t],i=t+1;i<this.actualDataSource.actualCount;i++)this.al._inner[i]-=n;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()},i.prototype.b4=function(t,e,n){null!=this.a&&this.a.notifySetItem(t,e,n)},i.prototype.b1=function(){null!=this.a&&this.a.notifyClearItems()},i.prototype.b2=function(t,e){null!=this.a&&this.a.notifyInsertItem(t,e)},i.prototype.b3=function(t,e){null!=this.a&&this.a.notifyRemoveItem(t,e)},i.prototype.a1=function(t){return null==this.a?-1:this.a.indexOfItem(t)},i.prototype.a2=function(t){return null==this.a?-1:this.a.indexOfKey(t)},Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.prototype,"k",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.ca("Orientation",n.enumGetBox(J,e),n.enumGetBox(J,t))},enumerable:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.prototype,"au",{get:function(){return this.aq},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"at",{get:function(){return this.ap},enumerable:!0,configurable:!0}),i.$t=n.markType(i,"ListPanel",n.Base.$,[n.INotifyPropertyChanged_$type]),i.ct=n.BrushUtil.g(255,248,248,248),i.j=0,i.af=!1,i.cu=n.BrushUtil.g(255,24,29,31),i}(n.Base),at=function(t){function i(e){var n=t.call(this)||this;return n.a=null,n.a=e,n}return e.__extends(i,t),i.prototype.rangeActualized=function(t,e){this.a.b7(t,e)},i.prototype.notifySetItem=function(t,e,n){this.a.cc(t,e,n)},i.prototype.notifyClearItems=function(){this.a.b6()},i.prototype.notifyInsertItem=function(t,e){this.a.b9(t,e)},i.prototype.notifyRemoveItem=function(t,e){this.a.cb(t,e)},i.$t=n.markType(i,"ListPanelDataSourceNotificationBridge",n.Base.$,[n.IDataSourceUpdateNotifier_$type]),i}(n.Base),st=function(t){function i(e){var n=t.call(this)||this;return n.a=null,n.a=e,n}return e.__extends(i,t),i.prototype.d=function(t){this.a.n=t.width,this.a.h=t.height},i.prototype.b=function(t,e){e.d||(e.d=!0,this.a.aw(e.a.a)),0==t.k?n.isNaN_(t.au)||(e.a.a.n=t.au):e.a.a.h=t.at,e.f&&(e.f=!1,this.a.a2(e.a.a,e.i),this.a.a3(e.a.a,e.k))},i.prototype.c=function(t){this.a.a3(t,-1e3),this.a.a2(t,-1e3)},i.$t=n.markType(i,"ListPanelLayoutPanel"),i}(n.Base),lt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new Y},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.l},set:function(t){this.i.l=+t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowHeight",{get:function(){return this.i.j},set:function(t){this.i.j=+t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowObject",{get:function(){return this.i.n},set:function(t){this.i.n=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isModelDirty",{get:function(){return this.i.e},set:function(t){this.i.e=n.ensureBool(t)},enumerable:!0,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}(),ut=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new et},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"model",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=new lt;e.i.setNativeElement?e.i.setNativeElement(t):e._implementation=t,t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"content",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!0,configurable:!0}),t}(),pt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new Z},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),ct=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new nt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.b},set:function(t){this.i.b=+t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataItem",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.i.a},set:function(t){this.i.a=+t},enumerable:!0,configurable:!0}),t}(),ht=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new it},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.b},set:function(t){this.i.b=+t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataItem",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.i.a},set:function(t){this.i.a=+t},enumerable:!0,configurable:!0}),t}(),ft=function(t){function i(){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&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e._webComponentRenderer=new n.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(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),i.prototype.createLocalDataSource=function(t){var e=new n.LocalDataSource;return e.dataSource=t,e},i.prototype.onContentSizeChanged=function(){},i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.createImplementation=function(){return new ot},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.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()}},i.prototype.afterContentInit=function(){this.i.notifySizeChanged()},Object.defineProperty(i.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource=t,null!=this._implementation&&(this._implementation.itemsSource=this._dataSource)},enumerable:!0,configurable:!0}),i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcListPanelComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcListPanelComponent=t}return i._observedAttributesIgcListPanelComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"rowHeight",{get:function(){return this.i.a7},set:function(t){this.i.a7=+t,this._a("rowHeight",this.i.a7)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualRowHeight",{get:function(){return this.i.av},set:function(t){this.i.av=+t,this._a("actualRowHeight",this.i.av)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"cellTextStyle",{get:function(){return null==this.i.s?null:this.i.s.fontString},set:function(t){var e=new n.FontInfo;e.fontString=t,this.i.s=e,this._a("cellTextStyle",null!=this.i.s?this.i.s.fontString:"")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"hasUnevenSizes",{get:function(){return this.i.ah},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"backgroundColor",{get:function(){return n.brushToString(this.i.cs)},set:function(t){this.i.cs=n.stringToBrush(t),this._a("backgroundColor",n.brushToString(this.i.cs))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"orientation",{get:function(){return this.i.k},set:function(t){this.i.k=n.ensureEnum(J,t),this._a("orientation",n.enumToString(J,this.i.k))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isCustomRowHeightEnabled",{get:function(){return this.i.ai},set:function(t){this.i.ai=n.ensureBool(t),this._a("isCustomRowHeightEnabled",this.i.ai)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"textColor",{get:function(){return n.brushToString(this.i.cv)},set:function(t){this.i.cv=n.stringToBrush(t),this._a("textColor",n.brushToString(this.i.cv))},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("ListPanelComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var c=n.toSpinal(p);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.getLastVisibleIndex=function(){return this.i.a4()},i.prototype.getFirstVisibleIndex=function(){return this.i.a3()},i.prototype.invalidateVisibleItems=function(){this.i.by()},i.prototype.notifySetItem=function(t,e,n){this.i.b4(t,e,n)},i.prototype.notifyClearItems=function(){this.i.b1()},i.prototype.notifyInsertItem=function(t,e){this.i.b2(t,e)},i.prototype.notifyRemoveItem=function(t,e){this.i.b3(t,e)},i.prototype.dataIndexOfItem=function(t){return this.i.a1(t)},i.prototype.dataIndexOfPrimaryKey=function(t){return this.i.a2(t)},Object.defineProperty(i.prototype,"contentRefreshed",{get:function(){return this._contentRefreshed},set:function(t){var e=this;null!==this._contentRefreshed_wrapped&&(this.i.contentRefreshed=n.delegateRemove(this.i.contentRefreshed,this._contentRefreshed_wrapped),this._contentRefreshed_wrapped=null,this._contentRefreshed=null),this._contentRefreshed=t,this._contentRefreshed_wrapped=function(t,n){var i=new pt;i._provideImplementation(n),e.beforeContentRefreshed&&e.beforeContentRefreshed(e,i),e._contentRefreshed&&e._contentRefreshed(e,i)},this.i.contentRefreshed=n.delegateCombine(this.i.contentRefreshed,this._contentRefreshed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rowUpdating",{get:function(){return this._rowUpdating},set:function(t){var e=this;null!==this._rowUpdating_wrapped&&(this.i.rowUpdating=n.delegateRemove(this.i.rowUpdating,this._rowUpdating_wrapped),this._rowUpdating_wrapped=null,this._rowUpdating=null),this._rowUpdating=t,this._rowUpdating_wrapped=function(t,n){var i=new ut;i._provideImplementation(n),e.beforeRowUpdating&&e.beforeRowUpdating(e,i),e._rowUpdating&&e._rowUpdating(e,i)},this.i.rowUpdating=n.delegateCombine(this.i.rowUpdating,this._rowUpdating_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"itemWidthRequested",{get:function(){return this._itemWidthRequested},set:function(t){var e=this;null!==this._itemWidthRequested_wrapped&&(this.i.itemWidthRequested=n.delegateRemove(this.i.itemWidthRequested,this._itemWidthRequested_wrapped),this._itemWidthRequested_wrapped=null,this._itemWidthRequested=null),this._itemWidthRequested=t,this._itemWidthRequested_wrapped=function(t,n){var i=new ct;i._provideImplementation(n),e.beforeItemWidthRequested&&e.beforeItemWidthRequested(e,i),e._itemWidthRequested&&e._itemWidthRequested(e,i)},this.i.itemWidthRequested=n.delegateCombine(this.i.itemWidthRequested,this._itemWidthRequested_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"itemHeightRequested",{get:function(){return this._itemHeightRequested},set:function(t){var e=this;null!==this._itemHeightRequested_wrapped&&(this.i.itemHeightRequested=n.delegateRemove(this.i.itemHeightRequested,this._itemHeightRequested_wrapped),this._itemHeightRequested_wrapped=null,this._itemHeightRequested=null),this._itemHeightRequested=t,this._itemHeightRequested_wrapped=function(t,n){var i=new ht;i._provideImplementation(n),e.beforeItemHeightRequested&&e.beforeItemHeightRequested(e,i),e._itemHeightRequested&&e._itemHeightRequested(e,i)},this.i.itemHeightRequested=n.delegateCombine(this.i.itemHeightRequested,this._itemHeightRequested_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcListPanelComponent=null,i.htmlTagName="igc-list-panel",i._isElementRegistered=!1,i}(n.IgcHTMLElement),dt=function(){function t(){}return t.register=function(){ft.register(),n.TypeRegistrar.registerCons("IgcListPanelComponent",ft),n.TypeRegistrar.registerCons("IgcListPanelComponent",ft),n.TypeRegistrar.register("ListPanel",ot.$type)},t}(),bt=function(t){function i(){var e=t.call(this)||this;return e.e=0,e.g=0,e.f=0,e.a=0,e.b=0,e.d=0,e.c=0,e.e=NaN,e.g=NaN,e.f=NaN,e.d=NaN,e.c=NaN,e}return e.__extends(i,t),i.$t=n.markType(i,"ToolActionMeasurementContext"),i}(n.Base),yt=function(t){function i(){var e=t.call(this)||this;return e.a=null,e}return e.__extends(i,t),i.$t=n.markType(i,"ToolCommandEventArgs"),i}(n.Base),mt=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t}({}),gt=n.markEnum("ToolPanelOrientation","Vertical,0|Horizontal,1"),_t=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.$t=n.markType(i,"ToolPanelContentRefreshedEventArgs"),i}(n.Base),vt=function(t){function i(){var e,i=t.call(this)||this;return i.p=null,i.o=null,i.c=null,i.k=null,i.n=null,i.g=null,i.m=null,i.d=((e=new n.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="Normal",e),i.ad=new n.Size,i.e=null,i._gridExternal=null,i.h=!1,i.l=null,i}return e.__extends(i,t),i.prototype.r=function(){return this.k},i.prototype.x=function(){},i.prototype.v=function(t){if(null!=t){this.c.a=new n.DOMExecutionContext(t),this.k=t,this.n=this.k.createElement("canvas"),this.g=new n.RenderingContext(new n.CanvasViewRenderer,this.k.get2DCanvasContext(this.n)),this.m=this.k.createElement("div"),this.aa();var e=new ot,i=this.k.createElement("div");i.setStyleProperty("width","100%"),i.setStyleProperty("height","100%"),this.k.append(i);var r=this.k.getSubRenderer(i);e.provideContainer(r);var o=this.k.getExternal(e,this.k.rootWrapper,this.k.getExternal(this.c,null,null));e.externalListPanel=o,this.c.aq(e);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.k.rootWrapper.setStyleProperty("position","relative")}else this.k=null},i.prototype.aa=function(){},i.prototype.z=function(){this.k},i.prototype.u=function(){if(null!=this.k){var t=this.k.rootWrapper.width(),e=this.k.rootWrapper.height();this.ad=new n.Size(1,t,e),this.c.p}},i.prototype.ab=function(){var t=this.k;if(null!=t){var e=t.rootWrapper;null!=e&&(n.NativeUI.o(e,this.c.ba),n.NativeUI.k(e,this.c.a7))}},i.prototype.f=function(){return this.d},i.prototype.w=function(){},i.prototype.y=function(){},i.prototype.t=function(){},i.prototype.i=function(){return this.ad.width},i.prototype.j=function(t){return this.e=this.c.o(),n.FontUtil.measureStringWidth(t,this.e,this.g)},i.prototype.s=function(t,e){null==this.l&&(this.l=this.k.createElement("div")),e(this.l.getNativeElement())},i.prototype.a=function(){var t=new g;this.k.getExternal(t,this.k.rootWrapper,this.k.getExternal(this.c,null,null));return t},i.prototype.b=function(t){var e=new $t;this.k.getExternal(e,this.k.rootWrapper,this.k.getExternal(this.c,null,null));return t.v.appendChild(e.l.k.rootWrapper.getNativeElement()),e},i.prototype.ac=function(t){var e=t.getBoundingClientRect(),i=e.left,r=e.top,o=e.width,a=e.height;return new n.Rect(0,i,r,o,a)},i.$t=n.markType(i,"ToolPanelView"),i}(n.Base),Ct=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=null,e.ae=null,e.z=null,e.y=null,e.u=null,e.k=n.DeviceUtils.g(5),e.l=n.DeviceUtils.g(5),e.j=n.DeviceUtils.g(2),e.m=n.DeviceUtils.g(2),e.ad=null,e.ac=null,e.ab=null,e.aa=null,e.propertyChanged=null,e.onCommand=null,e.performed=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"ao",{get:function(){return null!=this.ar?this.ar:null!=this.ap?this.a1(this.ap):null},enumerable:!0,configurable:!0}),i.prototype.a1=function(t){return n.stringReplace(t," ","_")},i.prototype.b=function(t){var e,n=this;return(e=new Rt).a=n,e.d=t,e},i.prototype.g=function(){var t,e=this;return(t=new n.ToolCommandArgument).argumentName=e.az(),t.value=e.w(),t},i.prototype.az=function(){return null!=this.af?this.af:null!=this.ao?this.ao:"Unknown"},i.prototype.w=function(){return null!=this.v?this.v:this.x()},i.prototype.x=function(){return null},Object.defineProperty(i.prototype,"ax",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.a8("ParentId",e,this.ae)},enumerable:!0,configurable:!0}),i.prototype.a0=function(){return null!=this.ai?this.ai:this.ao},Object.defineProperty(i.prototype,"ai",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.a8("CommandId",e,this.z)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"af",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.a8("CommandArgument",e,this.y)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"v",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.a8("CommandArgumentValue",e,this.u)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"r",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.a8("PaddingLeft",e,this.k)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"s",{get:function(){return this.l},set:function(t){var e=this.l;this.l=t,e!=this.l&&this.a8("PaddingRight",e,this.l)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"q",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,e!=this.j&&this.a8("PaddingBottom",e,this.j)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"t",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.a8("PaddingTop",e,this.m)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"i",{get:function(){return null!=this.ax},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ar",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.a8("Name",e,this.ad)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ap",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.a8("Label",e,this.ac)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"am",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.a8("IconName",e,this.ab)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ak",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.a8("IconCollectionName",e,this.aa)},enumerable:!0,configurable:!0}),i.prototype.a8=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.bc(t,e,i)},i.prototype.get_f=function(){return 0},Object.defineProperty(i.prototype,"f",{get:function(){return this.get_f()},enumerable:!0,configurable:!0}),i.prototype.bc=function(t,e,n){},i.prototype.ba=function(t,e,n,i){this.bb(t,e,n,i)},i.prototype.bb=function(t,e,n,i){},i.prototype.a4=function(t,e){this.a5(t,e)},i.prototype.a5=function(t,e){if(e.e=this.n(t,e),e.g=this.p(t,e),e.f=this.o(t,e),1==e.a){var i=0;n.isNaN_(e.e)||(i+=e.e),n.isNaN_(e.g)||(i+=e.g),n.isNaN_(e.f)||(i+=e.f),i+=this.r+this.s,e.d=i}},i.prototype.o=function(t,e){return NaN},i.prototype.p=function(t,e){return null==this.ap?NaN:t.l.j(this.ap)},i.prototype.n=function(t,e){return NaN},i.prototype.a9=function(t,e){if(this.bd(),this.i){var n=this.e.c(this.ax);null!=n&&n.a7(this)}else if(this.e.u(this)){if(null!=this.performed){var i=new Nt;this.a3(this,i,e),this.performed(this,((r=new Et).c=!0,r.b=i,r))}}else null!=this.performed&&this.performed(this,function(){var e=new Et;return e.c=!1,e.a=t,e}());var r},i.prototype.bd=function(){var t=this.a0();if(null!=t){var e=new n.ToolCommand;e.commandId=t;var i,r=new n.List$1(n.ToolCommandArgument.$,0);this.a2(this,r),e.argumentsList=r.toArray(),null!=this.onCommand&&this.onCommand(this,((i=new yt).a=e,i)),null!=this.e&&this.e.ay(this,e)}},i.prototype.a2=function(t,e){var n=t.g();null!=n&&e.add(n);var i=this.e.y(t);if(null!=i)for(var r=0;r<i.count;r++)i._inner[r].h()&&this.a2(i._inner[r],e)},i.prototype.h=function(){return!0},i.prototype.a7=function(t){if(this.i){var e=this.e.c(this.ax);null!=e&&e.a7(t)}else this.a9(this.b(!1),t)},i.prototype.a3=function(t,e,n){var i=t.b(t==n);e.add(i);var r=this.e.y(t);if(null!=r)for(var o=0;o<r.count;o++)this.a3(r._inner[o],e,n)},i.a=function(t){var e=null;switch(t.a){case 2:e=new kt;break;case 1:e=new St;break;case 3:e=new Tt;break;case 4:e=new Pt;break;case 5:e=new xt;break;case 6:e=new wt;break;case 7:e=new At;break;case 8:e=new Ot;break;case 0:return null}return e.a6(t),e},i.prototype.a6=function(t){this.ar=t.name,this.ap=t.label,this.af=t.commandArgument,this.v=t.commandArgumentValue,this.ai=t.commandId,this.am=t.iconName,this.ak=t.iconCollectionName,this.r=t.paddingLeft,this.s=t.paddingRight,this.t=t.paddingTop,this.q=t.paddingBottom,this.ax=t.parentId},i.$t=n.markType(i,"ToolAction",n.Base.$,[n.INotifyPropertyChanged_$type]),i}(n.Base),Pt=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.prototype.get_f=function(){return 4},i.prototype.bf=function(t,e,i,r,o,a,s){null!=t.w&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.w)==this.f||(t.a0=e,1==s.a?e.d=0:e.d=3,e.a7(0,2,1),e.a6(0,1,n.isNaN_(s.e)?0:s.e),e.a6(1,1,n.isNaN_(s.g)?0:s.g),e.as=new n.Thickness(1,this.r,this.t,this.s,this.q),0==e.av&&e.aw(i),e.bb(i,0),e.ba(i,1),i.e=1,e.a1=n.runOn(this,this.be)),e.h=a.a.j,e.aj=n.BrushUtil.g(0,0,0,0),i.au=this.ap,i.al=n.BrushUtil.g(255,20,20,20)},i.prototype.be=function(t,e){this.a9(this.b(!1),this)},i.prototype.bb=function(e,i,r,o){var a=this;t.prototype.bb.call(this,e,i,r,o);var s=r.b;if(null==s.a0||null==s.w||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.w)!=this.f)n.NativeUIComponent.ab(i.l.r(),[7,3],(function(t){var n=t[0],l=t[1];s.a0=n,a.bf(s,n,l,e,i,r,o)}));else{var l=s.a0,u=l.au(0);this.bf(s,l,u,e,i,r,o)}},i.$t=n.markType(i,"ToolActionLabel",Ct.$),i}(Ct),wt=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.bf=null,e.be=null,e}return e.__extends(i,t),i.prototype.get_f=function(){return 6},i.prototype.b=function(t){var e=new Rt;return e.a=this,e.b=this.f,e.d=t,null!=this.be&&(e.c=this.be.aw),e},i.prototype.x=function(){return this.be.aw},i.prototype.bg=function(){null!=this.be&&(this.be.aw=!1)},i.prototype.o=function(t,e){return 30},i.prototype.bi=function(t,e,i,r,o,a,s,l){null!=t.w&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.w)==this.f||(t.a0=e,1==l.a?e.d=0:e.d=3,e.a7(0,2,1),e.a6(0,1,n.isNaN_(l.e)?0:l.e),e.a6(1,1,n.isNaN_(l.g)?0:l.g),e.a6(1,2,1),e.as=new n.Thickness(1,this.r,this.t,this.s,this.q),0==e.av&&(e.aw(i),e.aw(r)),e.bb(i,0),e.ba(i,1),e.bb(r,0),e.ba(r,2),this.be=r,r.ax=25,r.av=!0,r.d=2,r.e=1,r.au=n.runOn(this,this.bh),i.e=1),e.h=s.a.j,i.au=this.ap,i.al=n.BrushUtil.g(255,20,20,20)},i.prototype.bh=function(t,e){this.a9(this.b(!0),this)},i.prototype.bb=function(e,i,r,o){var a=this;t.prototype.bb.call(this,e,i,r,o);var s=r.b;if(null==s.a0||null==s.w||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.w)!=this.f)n.NativeUIComponent.ab(i.l.r(),[7,3,6],(function(t){var n=t[0],l=t[1],u=t[2];s.a0=n,a.bi(s,n,l,u,e,i,r,o)}));else{var l=s.a0,u=l.au(0),p=l.au(1);this.bi(s,l,u,p,e,i,r,o)}},i.$t=n.markType(i,"ToolActionRadio",Ct.$),i}(Ct),At=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.prototype.get_f=function(){return 7},i.prototype.a5=function(e,n){t.prototype.a5.call(this,e,n),1==n.a?n.d=2:n.c=2},i.prototype.be=function(t,e,i,r,o,a){null!=t.w&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.w)==this.f||(t.a0=e,1==a.a?(e.d=0,e.e=3):e.d=3),1==a.a?e.n=n.DeviceUtils.g(2):e.h=n.DeviceUtils.g(2),e.aj=n.BrushUtil.g(255,200,200,200),e.ak=n.BrushUtil.g(255,80,80,80)},i.prototype.bb=function(e,i,r,o){var a=this;t.prototype.bb.call(this,e,i,r,o);var s=r.b;if(null==s.a0||null==s.w||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.w)!=this.f)n.NativeUIComponent.ab(i.l.r(),[7],(function(t){var n=t[0];s.a0=n,a.be(s,n,e,i,r,o)}));else{var l=s.a0;this.be(s,l,e,i,r,o)}},i.$t=n.markType(i,"ToolActionSeparator",Ct.$),i}(Ct),Tt=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.be=null,e}return e.__extends(i,t),i.prototype.get_f=function(){return 3},i.prototype.g=function(){return null},i.prototype.b=function(t){var e=new Rt;return e.a=this,e.b=this.f,e.d=t,e},i.prototype.o=function(t,e){return 30},i.prototype.bg=function(t,e,i,r,o,a,s){null!=t.w&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.w)==this.f||(t.a0=e,1==s.a?e.d=0:e.d=3,e.a7(0,2,1),e.a6(0,1,n.isNaN_(s.f)?0:s.f),e.as=new n.Thickness(1,this.r,this.t,this.s,this.q),0==e.av&&e.aw(i),e.bb(i,0),e.ba(i,0),this.be=i,this.be.av=2,this.be.au=n.runOn(this,this.bf)),this.be.ay=this.am,this.be.ax=this.ak,e.h=a.a.j},i.prototype.bf=function(t,e){this.a9(this.b(!0),this)},i.prototype.bb=function(e,i,r,o){var a=this;t.prototype.bb.call(this,e,i,r,o);var s=r.b;if(null==s.a0||null==s.w||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.w)!=this.f)n.NativeUIComponent.ab(i.l.r(),[7,10],(function(t){var n=t[0],l=t[1];s.a0=n,a.bg(s,n,l,e,i,r,o)}));else{var l=s.a0,u=l.au(0);this.bg(s,l,u,e,i,r,o)}},i.$t=n.markType(i,"ToolActionIconButton",Ct.$),i}(Ct),St=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.prototype.get_f=function(){return 1},i.prototype.be=function(t,e,i,r,o,a,s){null!=t.w&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.w)==this.f||(t.a0=e,1==s.a?e.d=0:e.d=3,e.a7(0,2,1),e.a6(0,1,n.isNaN_(s.e)?0:s.e),e.a6(1,2,1),e.as=new n.Thickness(1,this.r,this.t,this.s,this.q),0==e.av&&e.aw(i),i.e=1),e.h=a.a.j,e.aj=n.BrushUtil.g(255,200,200,200),e.ak=n.BrushUtil.g(255,80,80,80),e.aq=new n.Thickness(1,0,0,0,2),i.au=this.ap,i.al=n.BrushUtil.g(255,20,20,20),e.bb(i,0),e.ba(i,1)},i.prototype.bb=function(e,i,r,o){var a=this;t.prototype.bb.call(this,e,i,r,o);var s=r.b;if(null==s.a0||null==s.w||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.w)!=this.f)n.NativeUIComponent.ab(i.l.r(),[7,3],(function(t){var n=t[0],l=t[1];s.a0=n,a.be(s,n,l,e,i,r,o)}));else{var l=s.a0,u=l.au(0);this.be(s,l,u,e,i,r,o)}},i.$t=n.markType(i,"ToolActionGroupHeader",Ct.$),i}(Ct),It=function(t){function i(){var e=t.call(this)||this;e.bh=new jt,e.bm=!1,e.be=null,e.bk=null,e.bl=!1,e.bj=null,e.bo=!1,e.bn=!1;var i=e.bh;return i.collectionChanged=n.delegateCombine(i.collectionChanged,n.runOn(e,e.bq)),e}return e.__extends(i,t),i.prototype.g=function(){return null},i.prototype.a6=function(e){t.prototype.a6.call(this,e);var n=e;if(null!=n.actions)for(var i=0;i<n.actions.length;i++)this.bh.add(Ct.a(n.actions[i]))},i.prototype.bq=function(t,e){this.bv()},i.prototype.bv=function(){},Object.defineProperty(i.prototype,"actions",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.a8("Actions",e,this.bh)},enumerable:!0,configurable:!0}),i.prototype.b=function(t){var e=new Rt;return e.a=this,e.b=this.f,e.d=t,e},i.prototype.bw=function(){this.bt(),this.bs(),this.bu(),this.be.t||this.bn?this.bn?this.bn=!1:this.be.ao():this.bo?this.bx():this.bn=!0},i.prototype.bx=function(){this.be.showRelativeToExclusionRect(this.by(),this.bg(),this.bf())},i.prototype.bf=function(){return 1},i.prototype.bg=function(){return 1},i.prototype.bu=function(){this.bl||(this.bl=!0,this.be.appendPopupContent(this.bk.v))},i.prototype.bt=function(){if(null==this.be){if(null==this.e)return;this.be=this.e.l.a()}},i.prototype.bs=function(){var t=this;if(null==this.bk){n.NativeUIContent.ac(this.e.l.r(),0,(function(e){return t.bk=e})),this.bj=this.e.l.b(this.bk);var e=this.bj;e.contentRefreshed=n.delegateCombine(e.contentRefreshed,n.runOn(this,this.br)),this.bj.actions=this.actions}},i.prototype.br=function(t,e){this.bo=!0,this.be.ar(),this.bn&&(this.bn=!1,this.bx())},i.$t=n.markType(i,"ToolActionMenuBase",Ct.$),i}(Ct),Ot=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.bz=null,e}return e.__extends(i,t),i.prototype.get_f=function(){return 3},i.prototype.o=function(t,e){return 30},i.prototype.by=function(){return this.e.l.ac(this.bz.v)},i.prototype.b1=function(t,e,i,r,o,a,s){null!=t.w&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.w)==this.f||(t.a0=e,1==s.a?e.d=0:e.d=3,e.a7(0,2,1),e.a6(0,1,n.isNaN_(s.f)?0:s.f),e.as=new n.Thickness(1,this.r,this.t,this.s,this.q),0==e.av&&e.aw(i),e.bb(i,0),e.ba(i,0),this.bz=i,this.bz.av=2,this.bz.au=n.runOn(this,this.b0)),this.bz.ay=this.am,this.bz.ax=this.ak,e.h=a.a.j},i.prototype.b0=function(t,e){this.bw()},i.prototype.bb=function(e,i,r,o){var a=this;t.prototype.bb.call(this,e,i,r,o);var s=r.b;if(null==s.a0||null==s.w||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.w)!=this.f)n.NativeUIComponent.ab(i.l.r(),[7,10],(function(t){var n=t[0],l=t[1];s.a0=n,a.b1(s,n,l,e,i,r,o)}));else{var l=s.a0,u=l.au(0);this.b1(s,l,u,e,i,r,o)}},i.$t=n.markType(i,"ToolActionIconMenu",It.$),i}(It),kt=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.be=null,e}return e.__extends(i,t),i.prototype.get_f=function(){return 2},i.prototype.b=function(t){var e=new Rt;return e.a=this,e.b=this.f,e.d=t,null!=this.be&&(e.c=this.be.aw),e},i.prototype.x=function(){return this.be.aw},i.prototype.o=function(t,e){return 30},i.prototype.bg=function(t,e,i,r,o,a,s,l){null!=t.w&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.w)==this.f||(t.a0=e,1==l.a?e.d=0:e.d=3,e.a7(0,2,1),e.a6(0,1,n.isNaN_(l.e)?0:l.e),e.a6(1,1,n.isNaN_(l.g)?0:l.g),e.a6(1,2,1),e.as=new n.Thickness(1,this.r,this.t,this.s,this.q),0==e.av&&(e.aw(i),e.aw(r)),e.bb(i,0),e.ba(i,1),e.bb(r,0),e.ba(r,2),this.be=r,r.av=!0,r.d=2,r.e=1,r.au=n.runOn(this,this.bf),i.e=1),e.h=s.a.j,i.au=this.ap,i.al=n.BrushUtil.g(255,20,20,20)},i.prototype.bf=function(t,e){this.a9(this.b(!0),this)},i.prototype.bb=function(e,i,r,o){var a=this;t.prototype.bb.call(this,e,i,r,o);var s=r.b;if(null==s.a0||null==s.w||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.w)!=this.f)n.NativeUIComponent.ab(i.l.r(),[7,3,6],(function(t){var n=t[0],l=t[1],u=t[2];s.a0=n,a.bg(s,n,l,u,e,i,r,o)}));else{var l=s.a0,u=l.au(0),p=l.au(1);this.bg(s,l,u,p,e,i,r,o)}},i.$t=n.markType(i,"ToolActionCheckbox",Ct.$),i}(Ct),xt=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.be=null,e}return e.__extends(i,t),i.prototype.get_f=function(){return 5},i.prototype.x=function(){return this.bf()},i.prototype.o=function(t,e){return 100},i.prototype.bh=function(t,e,i,r,o,a,s,l){null!=t.w&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.w)==this.f||(t.a0=e,1==l.a?e.d=0:e.d=3,e.a7(0,2,1),e.a6(0,1,n.isNaN_(l.e)?0:l.e),e.a6(1,1,n.isNaN_(l.g)?0:l.g),e.a6(1,2,1),e.as=new n.Thickness(1,this.r,this.t,this.s,this.q),0==e.av&&(e.aw(i),e.aw(r)),e.bb(i,0),e.ba(i,1),e.bb(r,0),e.ba(r,2),this.be=r,r.n=100,r.au=2,r.ax=1,r.d=2,r.e=1,r.aw=n.runOn(this,this.bg),i.e=1),e.h=s.a.j,i.au=this.ap,i.al=n.BrushUtil.g(255,20,20,20)},i.prototype.bf=function(){var t,e,i=this;return t=NaN,null!=this.be&&(e=n.tryParseNumber(i.be.ay,t),t=e.p1,e.ret),t},i.prototype.b=function(t){var e=new Rt;return e.a=this,e.d=t,e.b=this.f,e.f=this.bf(),e},i.prototype.bg=function(t,e){var n=this.b(!0);this.a9(n,this)},i.prototype.bb=function(e,i,r,o){var a=this;t.prototype.bb.call(this,e,i,r,o);var s=r.b;if(null==s.a0||null==s.w||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.w)!=this.f)n.NativeUIComponent.ab(i.l.r(),[7,3,2],(function(t){var n=t[0],l=t[1],u=t[2];s.a0=n,a.bh(s,n,l,u,e,i,r,o)}));else{var l=s.a0,u=l.au(0),p=l.au(1);this.bh(s,l,u,p,e,i,r,o)}},i.$t=n.markType(i,"ToolActionNumberInput",Ct.$),i}(Ct),jt=function(t){function i(){return t.call(this,Ct.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"ToolActionCollection",n.ObservableCollection$1.$.specialize(Ct.$)),i}(n.ObservableCollection$1),Et=function(t){function i(){var e=t.call(this)||this;return e.c=!1,e.a=null,e.b=null,e.b=new Nt,e}return e.__extends(i,t),i.$t=n.markType(i,"ToolActionPerformedEventArgs"),i}(n.Base),Rt=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.b=0,e.d=!1,e.c=!1,e.f=0,e.e=new Date,e.g=null,e}return e.__extends(i,t),i.$t=n.markType(i,"ToolActionEventDetail"),i}(n.Base),Nt=function(t){function i(){return t.call(this,Rt.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"ToolActionEventDetailCollection",n.ObservableCollection$1.$.specialize(Rt.$)),i}(n.ObservableCollection$1),$t=function(t){function i(){var e=t.call(this)||this;e.l=null,e.p=null,e.s=!1,e.q=null,e.f=new bt,e.propertyChanged=null,e.d=new jt,e.contentRefreshed=null,e.t=!1,e.w=new n.Dictionary$2(n.String_$type,n.List$1.$.specialize(Ct.$),0),e.x=new n.Dictionary$2(n.String_$type,n.List$1.$.specialize(Ct.$),0),e.v=new n.Dictionary$2(n.String_$type,Ct.$,0),e.m=null,e.a=null,e.a5=i.a8,e.a6=i.a9,e.b=null,e.z=Number.POSITIVE_INFINITY,e.i=i.j,e.onCommand=null;var r=e.actions;r.collectionChanged=n.delegateCombine(r.collectionChanged,n.runOn(e,e.ak)),n.NativeUIInputsFactory.m();var o=new vt;return o.c=e,e.l=o,e.l.x(),e}return e.__extends(i,t),Object.defineProperty(i.prototype,"r",{get:function(){return null==this.q&&(this.q=new n.SRProvider(this.l.k),this.q.cb("Layouts")),this.q},enumerable:!0,configurable:!0}),i.prototype.aq=function(t){this.b=t;var e=this.b;e.rowUpdating=n.delegateCombine(e.rowUpdating,n.runOn(this,this.aj));var i=this.b;i.contentRefreshed=n.delegateCombine(i.contentRefreshed,n.runOn(this,this.ag)),this.b.k=this.k,this.b.ai=!0;var r=this.b;r.itemHeightRequested=n.delegateCombine(r.itemHeightRequested,n.runOn(this,this.ah));var o=this.b;o.itemWidthRequested=n.delegateCombine(o.itemWidthRequested,n.runOn(this,this.ai))},i.prototype.ag=function(t,e){null!=this.contentRefreshed&&this.contentRefreshed(this,new _t)},i.prototype.ah=function(t,e){var i=e.c,r=new bt;this.az(r),i.a4(this,r),n.isNaN_(r.c)?e.a=this.b.av:e.a=r.c},i.prototype.ai=function(t,e){var i=e.c,r=new bt;this.az(r),i.a4(this,r),n.isNaN_(r.d)||(e.a=r.d)},i.prototype.aj=function(t,e){var n=e.a.n,i=t;if(1==this.k){var r=new bt;this.az(r),n.a4(this,r),n.ba(i,this,e,r)}else n.ba(i,this,e,this.f)},i.prototype.aw=function(t){this.z=t.width,this.a2()},Object.defineProperty(i.prototype,"actions",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.ax("Actions",e,this.d)},enumerable:!0,configurable:!0}),i.prototype.ak=function(t,i){var r,o,a,s;if(null!=i.oldItems)try{for(var l=e.__values(n.fromEn(i.oldItems)),u=l.next();!u.done;u=l.next()){var p=u.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,p)){var c=p;c.propertyChanged=n.delegateRemove(c.propertyChanged,n.runOn(this,this.ar))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}if(null!=i.newItems)try{for(var h=e.__values(n.fromEn(i.newItems)),f=h.next();!f.done;f=h.next()){var d=f.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=n.delegateCombine(b.propertyChanged,n.runOn(this,this.ar))}}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}this.av()},i.prototype.av=function(){this.a2()},i.prototype.a2=function(){this.t||(this.t=!0,this.a.enqueueAction(n.runOn(this,this.an)))},i.prototype.an=function(){if(this.t){this.t=!1,this.al(),this.a4();for(var t=0;t<this.d.count;t++)this.as(this.d._inner[t]);this.ao()}},i.prototype.al=function(){this.w.clear(),this.x.clear(),this.v.clear();for(var t=0;t<this.d.count;t++)this.d._inner[t].e=this,null!=this.d._inner[t].ao&&this.v.item(this.d._inner[t].ao,this.d._inner[t]);for(var e=0;e<this.d.count;e++){if(null!=this.d._inner[e].ax)if(this.v.containsKey(this.d._inner[e].ax))this.w.containsKey(this.d._inner[e].ax)||this.w.item(this.d._inner[e].ax,new n.List$1(Ct.$,0)),this.w.item(this.d._inner[e].ax).add(this.d._inner[e])}for(var i=0;i<this.d.count;i++)if(6==this.d._inner[i].f){var r=this.d._inner[i].bf;this.x.containsKey(r)||this.x.item(r,new n.List$1(Ct.$,0)),this.x.item(r).add(this.d._inner[i])}},i.prototype.u=function(t){return null!=t.ao&&this.w.containsKey(t.ao)},i.prototype.c=function(t){return this.v.containsKey(t)?this.v.item(t):null},i.prototype.y=function(t){return null==t.ao?null:this.w.containsKey(t.ao)?this.w.item(t.ao):null},i.prototype.as=function(t){var e=new bt;this.az(e),t.a4(this,e),this.at(this.f,e)},i.prototype.az=function(t){t.a=this.k,t.b=this.z},i.prototype.at=function(t,e){n.isNaN_(e.e)||(n.isNaN_(t.e)?t.e=e.e:t.e=Math.max(t.e,e.e)),n.isNaN_(e.g)||(n.isNaN_(t.g)?t.g=e.g:t.g=Math.max(t.g,e.g))},i.prototype.a4=function(){this.f=new bt,this.f.a=this.k,this.f.b=this.z},i.prototype.ao=function(){this.b.itemsSource!=this.actions&&(this.b.itemsSource=this.actions)},i.prototype.ap=function(){this.t&&this.an(),null!=this.b&&this.b.bt()},i.prototype.a3=function(t){var e=t.bf,n=t.ao;if(null!=this.x&&this.x.containsKey(e))for(var i=0;i<this.x.item(e).count;i++)this.x.item(e)._inner[i].ao!=n&&this.x.item(e)._inner[i].bg()},i.prototype.ar=function(t,e){this.av()},i.prototype.notifySizeChanged=function(){this.l.u()},i.prototype.destroy=function(){this.provideContainer(null)},i.prototype.provideContainer=function(t){this.l.v(t)},Object.defineProperty(i.prototype,"n",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.ax("CellTextStyle",e,this.m)},enumerable:!0,configurable:!0}),i.prototype.o=function(){return null==this.n?this.l.f():this.n},i.prototype.ax=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.a0(t,e,i)},i.prototype.a0=function(t,e,i){switch(t){case"CellTextStyle":this.a2();break;case"BackgroundColor":case"TextColor":this.a2();break;case"Orientation":null!=this.b&&(this.b.k=this.k);break;case"Actions":if(null!=e){var r=e;r.collectionChanged=n.delegateRemove(r.collectionChanged,n.runOn(this,this.ak))}if(null!=i){var o=i;o.collectionChanged=n.delegateCombine(o.collectionChanged,n.runOn(this,this.ak))}this.a2()}},Object.defineProperty(i.prototype,"a7",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.ax("BackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ba",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.ax("TextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"k",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.ax("Orientation",n.enumGetBox(gt,e),n.enumGetBox(gt,t))},enumerable:!0,configurable:!0}),i.prototype.ay=function(t,e){var n;null!=this.onCommand&&this.onCommand(this,((n=new yt).a=e,n)),6==t.f&&this.a3(t)},i.$t=n.markType(i,"ToolPanel",n.Base.$,[n.INotifyPropertyChanged_$type]),i.a8=n.BrushUtil.g(255,248,248,248),i.a9=n.BrushUtil.g(255,24,29,31),i.j=0,i}(n.Base),qt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new yt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"command",{get:function(){return this.i.a},set:function(t){this.i.a=t},enumerable:!0,configurable:!0}),t}(),Bt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new Rt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"action",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=zt._createFromInternal(t);e&&(e._implementation=t),t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"actionType",{get:function(){return this.i.b},set:function(t){this.i.b=n.ensureEnum(n.ToolActionType_$type,t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isModified",{get:function(){return this.i.d},set:function(t){this.i.d=n.ensureBool(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"boolValue",{get:function(){return this.i.c},set:function(t){this.i.c=n.ensureBool(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"numberValue",{get:function(){return this.i.f},set:function(t){this.i.f=+t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dateTimeValue",{get:function(){return this.i.e},set:function(t){this.i.e=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untypedValue",{get:function(){return this.i.g},set:function(t){this.i.g=t},enumerable:!0,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):this.action&&this.action.name&&this.action.name==t?this.action:null},t}(),Ut=function(t){function i(e){var i=t.call(this)||this;if(Bt.$type||(Bt.$type=n.markType(Bt,"IgcToolActionEventDetail")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){Bt.$type||(Bt.$type=n.markType(Bt,"IgcToolActionEventDetail"));var t=new n.SyncableObservableCollection$2(Bt.$type,Rt.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Bt)&&(e._implementation=t),e},t},i}(n.IgCollection),Dt=function(){function t(){this._detailCollection=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new Et},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"isAggregate",{get:function(){return this.i.c},set:function(t){this.i.c=n.ensureBool(t)},enumerable:!0,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 Bt;e.i.setNativeElement?e.i.setNativeElement(t):e._implementation=t,t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"detailCollection",{get:function(){if(null===this._detailCollection){var t=new Ut,e=this.i.b;e||(e=new Nt),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 Ut;this._detailCollection=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(Rt.$type),r=this.i.b;r||(r=new Nt),i._inner=r,i.clear(),this._detailCollection._setSyncTarget(i),this.i.b=r},enumerable:!0,configurable:!0}),t}(),zt=function(t){function i(){var e=t.call(this)||this;return 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._onCommand=null,e._onCommand_wrapped=null,e._performed=null,e._performed_wrapped=null,e._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e}return e.__extends(i,t),i.prototype.createImplementation=function(){return new Ct},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return n.TypeRegistrar.isRegistered(e)?n.TypeRegistrar.create(e):null},i.prototype.onImplementationCreated=function(){},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionComponent=t}return i._observedAttributesIgcToolActionComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"id",{get:function(){return this.i.ao},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"parentId",{get:function(){return this.i.ax},set:function(t){this.i.ax=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"commandId",{get:function(){return this.i.ai},set:function(t){this.i.ai=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"commandArgument",{get:function(){return this.i.af},set:function(t){this.i.af=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"commandArgumentValue",{get:function(){return this.i.v},set:function(t){this.i.v=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"paddingLeft",{get:function(){return this.i.r},set:function(t){this.i.r=+t,this._a("paddingLeft",this.i.r)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"paddingRight",{get:function(){return this.i.s},set:function(t){this.i.s=+t,this._a("paddingRight",this.i.s)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"paddingBottom",{get:function(){return this.i.q},set:function(t){this.i.q=+t,this._a("paddingBottom",this.i.q)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"paddingTop",{get:function(){return this.i.t},set:function(t){this.i.t=+t,this._a("paddingTop",this.i.t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"name",{get:function(){return this.i.ar},set:function(t){this.i.ar=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"label",{get:function(){return this.i.ap},set:function(t){this.i.ap=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"iconName",{get:function(){return this.i.am},set:function(t){this.i.am=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"iconCollectionName",{get:function(){return this.i.ak},set:function(t){this.i.ak=t},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("ToolActionComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var c=n.toSpinal(p);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.fromInfo=function(t){this.i.a6(t)},Object.defineProperty(i.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=n.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,n){var i=new qt;i._provideImplementation(n),e.beforeOnCommand&&e.beforeOnCommand(e,i),e._onCommand&&e._onCommand(e,i)},this.i.onCommand=n.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"performed",{get:function(){return this._performed},set:function(t){var e=this;null!==this._performed_wrapped&&(this.i.performed=n.delegateRemove(this.i.performed,this._performed_wrapped),this._performed_wrapped=null,this._performed=null),this._performed=t,this._performed_wrapped=function(t,n){var i=new Dt;i._provideImplementation(n),e.beforePerformed&&e.beforePerformed(e,i),e._performed&&e._performed(e,i)},this.i.performed=n.delegateCombine(this.i.performed,this._performed_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcToolActionComponent=null,i.htmlTagName="igc-tool-action",i._isElementRegistered=!1,i}(n.IgcHTMLElement),Vt=function(t){function i(e){var i=t.call(this)||this;if(zt.$type||(zt.$type=n.markType(zt,"IgcToolActionComponent")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){zt.$type||(zt.$type=n.markType(zt,"IgcToolActionComponent"));var t=new n.SyncableObservableCollection$2(zt.$type,Ct.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new zt)&&(e._implementation=t),e},t},i}(n.IgCollection),Lt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new _t},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),Ft=function(t){function i(){var i=t.call(this)||this;return i._implementation=null,i.contentActions=[],i.actualActions=[],i._actions=null,i._actionsAdapter=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._contentRefreshed=null,i._contentRefreshed_wrapped=null,i._onCommand=null,i._onCommand_wrapped=null,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._implementation.externalObject=i,i._portalManager=new n.PortalManager("toolPanelContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._webComponentWrapper=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._webComponentWrapper),i._webComponentWrapper.setStyleProperty("display","block"),i._webComponentWrapper.setStyleProperty("width","100%"),i._webComponentWrapper.setStyleProperty("height","100%"),i._actionsAdapter=new n.CollectionAdapter(i.contentActions,i.i.actions,i.actualActions,(function(t){return t.i}),(function(t){i._webComponentRenderer&&i._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(i,i,i)}),(function(t){})),i.i.provideContainer(i._webComponentRenderer),i.i.notifySizeChanged(),new MutationObserver((function(t){var n,r;try{for(var o=e.__values(t),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&i.updateContentProperties()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i._webComponentRenderer.addSizeWatcher((function(){i.i.notifySizeChanged()})),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new Vt;e._innerColl.addListener((function(e,i){switch(i.action){case n.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(i.oldStartingIndex);break;case n.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(i.oldStartingIndex),t._actionsAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}})),this._actions=e}return this._actions},enumerable:!0,configurable:!0}),i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.updateContentProperties=function(){this.contentActions.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof zt&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},i.prototype.createImplementation=function(){return new $t},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.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()}},i.prototype.afterContentInit=function(){this.i.notifySizeChanged()},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolPanelComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolPanelComponent=t}return i._observedAttributesIgcToolPanelComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"cellTextStyle",{get:function(){return null==this.i.n?null:this.i.n.fontString},set:function(t){var e=new n.FontInfo;e.fontString=t,this.i.n=e,this._a("cellTextStyle",null!=this.i.n?this.i.n.fontString:"")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"backgroundColor",{get:function(){return n.brushToString(this.i.a7)},set:function(t){this.i.a7=n.stringToBrush(t),this._a("backgroundColor",n.brushToString(this.i.a7))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"textColor",{get:function(){return n.brushToString(this.i.ba)},set:function(t){this.i.ba=n.stringToBrush(t),this._a("textColor",n.brushToString(this.i.ba))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"orientation",{get:function(){return this.i.k},set:function(t){this.i.k=n.ensureEnum(gt,t),this._a("orientation",n.enumToString(gt,this.i.k))},enumerable:!0,configurable:!0}),i.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(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("ToolPanelComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var c=n.toSpinal(p);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},Object.defineProperty(i.prototype,"contentRefreshed",{get:function(){return this._contentRefreshed},set:function(t){var e=this;null!==this._contentRefreshed_wrapped&&(this.i.contentRefreshed=n.delegateRemove(this.i.contentRefreshed,this._contentRefreshed_wrapped),this._contentRefreshed_wrapped=null,this._contentRefreshed=null),this._contentRefreshed=t,this._contentRefreshed_wrapped=function(t,n){var i=new Lt;i._provideImplementation(n),e.beforeContentRefreshed&&e.beforeContentRefreshed(e,i),e._contentRefreshed&&e._contentRefreshed(e,i)},this.i.contentRefreshed=n.delegateCombine(this.i.contentRefreshed,this._contentRefreshed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=n.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,n){var i=new qt;i._provideImplementation(n),e.beforeOnCommand&&e.beforeOnCommand(e,i),e._onCommand&&e._onCommand(e,i)},this.i.onCommand=n.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcToolPanelComponent=null,i.htmlTagName="igc-tool-panel",i._isElementRegistered=!1,i}(n.IgcHTMLElement),Mt=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t}({}),Wt=n.markEnum("ToolbarOrientation","Vertical,0|Horizontal,1"),Ht=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.c=function(){i.a||(i.a=!0,i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"))},i.b=function(t,e){n.SvgIconRegistry.instance.addSvgPathString("default",t,e)},i.$t=n.markType(i,"ToolbarIconManager"),i.a=!1,i}(n.Base),Kt=function(t){function i(){var e,i=t.call(this)||this;return i.n=null,i.m=null,i.a=null,i.i=null,i.l=null,i.e=null,i.k=null,i.b=((e=new n.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="Normal",e),i.aa=new n.Size,i.c=null,i._gridExternal=null,i.f=!1,i.j=null,i}return e.__extends(i,t),i.prototype.p=function(){return this.i},i.prototype.v=function(){},i.prototype.t=function(t){if(null!=t){this.a.a=new n.DOMExecutionContext(t),this.i=t,this.l=this.i.createElement("canvas"),this.e=new n.RenderingContext(new n.CanvasViewRenderer,this.i.get2DCanvasContext(this.l)),this.k=this.i.createElement("div"),this.y();var e=new $t,i=this.i.createElement("div");i.setStyleProperty("width","100%"),i.setStyleProperty("height","100%"),this.i.append(i);var r=this.i.getSubRenderer(i);e.provideContainer(r);this.i.getExternal(e,this.i.rootWrapper,this.i.getExternal(this.a,null,null));this.a.am(e);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.i.rootWrapper.setStyleProperty("position","relative")}else this.i=null},i.prototype.y=function(){},i.prototype.x=function(){this.i},i.prototype.s=function(){if(null!=this.i){var t=this.i.rootWrapper.width(),e=this.i.rootWrapper.height();this.aa=new n.Size(1,t,e)}},i.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(n.NativeUI.o(e,this.a.a1),n.NativeUI.k(e,this.a.ay))}},i.prototype.d=function(){return this.b},i.prototype.u=function(){},i.prototype.w=function(){},i.prototype.r=function(){},i.prototype.g=function(){return this.aa.width},i.prototype.h=function(t){return this.c=this.a.p(),n.FontUtil.measureStringWidth(t,this.c,this.e)},i.prototype.q=function(t,e){null==this.j&&(this.j=this.i.createElement("div")),e(this.j.getNativeElement())},i.$t=n.markType(i,"ToolbarView"),i}(n.Base),Gt=function(t){function i(){var e=t.call(this)||this;e.k=null,e.s=!1,e.q=null,e.l=null,e.d=new jt,e.b=new jt,e.c=new jt,e.h=i.i,e.m=null,e.u=i.v,e.aw=i.az,e.ax=i.a0,e.n=null,e.t=!1,e.propertyChanged=null,e.a=null,Ht.c();var r=e.actions;r.collectionChanged=n.delegateCombine(r.collectionChanged,n.runOn(e,e.ah)),n.NativeUIInputsFactory.m();var o=new Kt;return o.a=e,e.k=o,e.k.v(),e}return e.__extends(i,t),Object.defineProperty(i.prototype,"r",{get:function(){return null==this.q&&(this.q=new n.SRProvider(this.k.i),this.q.cb("Layouts")),this.q},enumerable:!0,configurable:!0}),i.prototype.am=function(t){this.l=t;var e=this.l;e.onCommand=n.delegateCombine(e.onCommand,n.runOn(this,this.ag)),this.l.k=this.j},i.prototype.ag=function(t,e){null!=this.m&&this.m.onToolCommandExecuting(e.a)},i.prototype.ap=function(t){},Object.defineProperty(i.prototype,"autoGeneratedActions",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.aq("AutoGeneratedActions",e,this.d)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actions",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,e!=this.b&&this.aq("Actions",e,this.b)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualActions",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.aq("ActualActions",e,this.c)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"j",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,e!=this.h&&this.aq("Orientation",n.enumGetBox(Wt,e),n.enumGetBox(Wt,t))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"w",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.aq("Target",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ay",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.aq("BackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"a1",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.aq("TextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.aq("CellTextStyle",e,this.n)},enumerable:!0,configurable:!0}),i.prototype.p=function(){return null==this.o?this.k.d():this.o},i.prototype.ah=function(t,i){var r,o,a,s;if(null!=i.oldItems)try{for(var l=e.__values(n.fromEn(i.oldItems)),u=l.next();!u.done;u=l.next()){var p=u.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,p)){var c=p;c.propertyChanged=n.delegateRemove(c.propertyChanged,n.runOn(this,this.ai))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}if(null!=i.newItems)try{for(var h=e.__values(n.fromEn(i.newItems)),f=h.next();!f.done;f=h.next()){var d=f.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=n.delegateCombine(b.propertyChanged,n.runOn(this,this.ai))}}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}this.ao()},i.prototype.ai=function(t,e){this.ao()},i.prototype.ao=function(){this.au()},i.prototype.au=function(){this.t||(this.t=!0,this.a.enqueueAction(n.runOn(this,this.ak)))},i.prototype.ak=function(){this.t&&(this.t=!1,this.av(),this.l.actions!=this.actualActions&&(this.l.actions=this.actualActions))},i.prototype.av=function(){this.actualActions.clear();for(var t=0;t<this.actions.count;t++)this.actualActions.add(this.actions._inner[t]);for(var e=0;e<this.autoGeneratedActions.count;e++)this.actualActions.add(this.autoGeneratedActions._inner[e])},i.prototype.al=function(){this.t&&this.ak()},i.prototype.notifySizeChanged=function(){this.k.s()},i.prototype.destroy=function(){this.provideContainer(null)},i.prototype.provideContainer=function(t){this.k.t(t)},i.prototype.aq=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.as(t,e,i)},i.prototype.as=function(t,e,n){switch(t){case"CellTextStyle":this.au();break;case"BackgroundColor":case"TextColor":this.au();break;case"Orientation":null!=this.l&&(this.l.k=this.j);break;case"Target":var i=n,r=e;this.ar(r,i)}},i.prototype.ar=function(t,e){if(this.m=e,null!=t&&(this.autoGeneratedActions.clear(),this.au()),null!=e){this.autoGeneratedActions.clear();var n=e.getDesiredToolbarActions();if(null!=n)for(var i=0;i<n.length;i++){var r=Ct.a(n[i]);this.autoGeneratedActions.add(r)}this.au()}},i.$t=n.markType(i,"Toolbar",n.Base.$,[n.INotifyPropertyChanged_$type]),i.i=1,i.v=null,i.az=n.BrushUtil.g(255,248,248,248),i.a0=n.BrushUtil.g(255,24,29,31),i}(n.Base),Xt=function(t){function i(){var i=t.call(this)||this;return i._implementation=null,i.contentActions=[],i.combinedActions=[],i._actions=null,i._actionsAdapter=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i._autoGeneratedActions=null,i._actualActions=null,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._implementation.externalObject=i,i._portalManager=new n.PortalManager("toolbarContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._webComponentWrapper=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._webComponentWrapper),i._webComponentWrapper.setStyleProperty("display","block"),i._webComponentWrapper.setStyleProperty("width","100%"),i._webComponentWrapper.setStyleProperty("height","100%"),i._actionsAdapter=new n.CollectionAdapter(i.contentActions,i.i.actions,i.combinedActions,(function(t){return t.i}),(function(t){i._webComponentRenderer&&i._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(i,i,i)}),(function(t){})),i.i.provideContainer(i._webComponentRenderer),i.i.notifySizeChanged(),new MutationObserver((function(t){var n,r;try{for(var o=e.__values(t),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&i.updateContentProperties()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i._webComponentRenderer.addSizeWatcher((function(){i.i.notifySizeChanged()})),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new Vt;e._innerColl.addListener((function(e,i){switch(i.action){case n.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(i.oldStartingIndex);break;case n.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(i.oldStartingIndex),t._actionsAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}})),this._actions=e}return this._actions},enumerable:!0,configurable:!0}),i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.updateContentProperties=function(){this.contentActions.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof zt&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},i.prototype.createImplementation=function(){return new Gt},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.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()}},i.prototype.afterContentInit=function(){this.i.notifySizeChanged()},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolbarComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolbarComponent=t}return i._observedAttributesIgcToolbarComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"autoGeneratedActions",{get:function(){if(null===this._autoGeneratedActions){var t=new Vt,e=this.i.autoGeneratedActions;e||(e=new jt),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 Vt;this._autoGeneratedActions=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(Ct.$type),r=this.i.autoGeneratedActions;r||(r=new jt),i._inner=r,i.clear(),this._autoGeneratedActions._setSyncTarget(i),this.i.autoGeneratedActions=r},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualActions",{get:function(){if(null===this._actualActions){var t=new Vt,e=this.i.actualActions;e||(e=new jt),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 Vt;this._actualActions=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(Ct.$type),r=this.i.actualActions;r||(r=new jt),i._inner=r,i.clear(),this._actualActions._setSyncTarget(i),this.i.actualActions=r},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"orientation",{get:function(){return this.i.j},set:function(t){this.i.j=n.ensureEnum(Wt,t),this._a("orientation",n.enumToString(Wt,this.i.j))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"target",{get:function(){return this.i.w},set:function(t){this.i.w=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"backgroundColor",{get:function(){return n.brushToString(this.i.ay)},set:function(t){this.i.ay=n.stringToBrush(t),this._a("backgroundColor",n.brushToString(this.i.ay))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"textColor",{get:function(){return n.brushToString(this.i.a1)},set:function(t){this.i.a1=n.stringToBrush(t),this._a("textColor",n.brushToString(this.i.a1))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"cellTextStyle",{get:function(){return null==this.i.o?null:this.i.o.fontString},set:function(t){var e=new n.FontInfo;e.fontString=t,this.i.o=e,this._a("cellTextStyle",null!=this.i.o?this.i.o.fontString:"")},enumerable:!0,configurable:!0}),i.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(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("ToolbarComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var c=n.toSpinal(p);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i._observedAttributesIgcToolbarComponent=null,i.htmlTagName="igc-toolbar",i._isElementRegistered=!1,i}(n.IgcHTMLElement),Qt=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new kt},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionCheckboxComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionCheckboxComponent=t}return i._observedAttributesIgcToolActionCheckboxComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionCheckboxComponent=null,i.htmlTagName="igc-tool-action-checkbox",i._isElementRegistered=!1,i}(zt),Jt=function(){function t(){}return t.register=function(){Qt.register(),n.TypeRegistrar.registerCons("IgcToolActionCheckboxComponent",Qt),n.TypeRegistrar.register("ToolActionCheckbox",kt.$type)},t}(),Yt=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new St},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionGroupHeaderComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionGroupHeaderComponent=t}return i._observedAttributesIgcToolActionGroupHeaderComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionGroupHeaderComponent=null,i.htmlTagName="igc-tool-action-group-header",i._isElementRegistered=!1,i}(zt),Zt=function(){function t(){}return t.register=function(){Yt.register(),n.TypeRegistrar.registerCons("IgcToolActionGroupHeaderComponent",Yt),n.TypeRegistrar.register("ToolActionGroupHeader",St.$type)},t}(),te=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new xt},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionNumberInputComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionNumberInputComponent=t}return i._observedAttributesIgcToolActionNumberInputComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionNumberInputComponent=null,i.htmlTagName="igc-tool-action-number-input",i._isElementRegistered=!1,i}(zt),ee=function(){function t(){}return t.register=function(){te.register(),n.TypeRegistrar.registerCons("IgcToolActionNumberInputComponent",te),n.TypeRegistrar.register("ToolActionNumberInput",xt.$type)},t}(),ne=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new Tt},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionIconButtonComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionIconButtonComponent=t}return i._observedAttributesIgcToolActionIconButtonComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionIconButtonComponent=null,i.htmlTagName="igc-tool-action-icon-button",i._isElementRegistered=!1,i}(zt),ie=function(){function t(){}return t.register=function(){ne.register(),n.TypeRegistrar.registerCons("IgcToolActionIconButtonComponent",ne),n.TypeRegistrar.register("ToolActionIconButton",Tt.$type)},t}(),re=function(t){function i(){var e=t.call(this)||this;return e._actions=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionMenuBaseComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionMenuBaseComponent=t}return i._observedAttributesIgcToolActionMenuBaseComponent},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actions",{get:function(){if(null===this._actions){var t=new Vt,e=this.i.actions;e||(e=new jt),this._actions=t._fromInner(e),this.i.actions=e}return this._actions},set:function(t){null!==this._actions&&(this._actions._setSyncTarget(null),this._actions=null);var e=new Vt;this._actions=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(Ct.$type),r=this.i.actions;r||(r=new jt),i._inner=r,i.clear(),this._actions._setSyncTarget(i),this.i.actions=r},enumerable:!0,configurable:!0}),i.prototype.findByName=function(e){var n=t.prototype.findByName.call(this,e);return n||(null!=this.actions&&this.actions.findByName&&this.actions.findByName(e)?this.actions.findByName(e):null)},i.prototype.fromInfo=function(t){this.i.a6(t)},i._observedAttributesIgcToolActionMenuBaseComponent=null,i}(zt),oe=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new Ot},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionIconMenuComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionIconMenuComponent=t}return i._observedAttributesIgcToolActionIconMenuComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionIconMenuComponent=null,i.htmlTagName="igc-tool-action-icon-menu",i._isElementRegistered=!1,i}(re),ae=function(){function t(){}return t.register=function(){oe.register(),n.TypeRegistrar.registerCons("IgcToolActionIconMenuComponent",oe),n.TypeRegistrar.register("ToolActionIconMenu",Ot.$type)},t}(),se=function(){function t(){}return t.register=function(){dt.register(),Jt.register(),Zt.register(),ee.register(),ie.register(),ae.register(),Ft.register(),n.TypeRegistrar.registerCons("IgcToolPanelComponent",Ft),n.TypeRegistrar.registerCons("IgcToolPanelComponent",Ft),n.TypeRegistrar.register("ToolPanel",$t.$type)},t}(),le=function(){function t(){}return t.register=function(){se.register(),Xt.register(),n.TypeRegistrar.registerCons("IgcToolbarComponent",Xt),n.TypeRegistrar.registerCons("IgcToolbarComponent",Xt),n.TypeRegistrar.register("Toolbar",Gt.$type)},t}(),ue=function(t){return t[t.Auto=0]="Auto",t[t.Near=1]="Near",t[t.Far=2]="Far",t}({}),pe=n.markEnum("PopupAlignment","Auto,0|Near,1|Far,2"),ce=function(t){return t[t.Auto=0]="Auto",t[t.Down=1]="Down",t[t.Up=2]="Up",t}({}),he=n.markEnum("PopupDirection","Auto,0|Down,1|Up,2"),fe=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new Pt},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionLabelComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionLabelComponent=t}return i._observedAttributesIgcToolActionLabelComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionLabelComponent=null,i.htmlTagName="igc-tool-action-label",i._isElementRegistered=!1,i}(zt),de=function(){function t(){}return t.register=function(){fe.register(),n.TypeRegistrar.registerCons("IgcToolActionLabelComponent",fe),n.TypeRegistrar.register("ToolActionLabel",Pt.$type)},t}(),be=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new wt},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionRadioComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionRadioComponent=t}return i._observedAttributesIgcToolActionRadioComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"radioGroup",{get:function(){return this.i.bf},set:function(t){this.i.bf=t},enumerable:!0,configurable:!0}),i._observedAttributesIgcToolActionRadioComponent=null,i.htmlTagName="igc-tool-action-radio",i._isElementRegistered=!1,i}(zt),ye=function(){function t(){}return t.register=function(){be.register(),n.TypeRegistrar.registerCons("IgcToolActionRadioComponent",be),n.TypeRegistrar.register("ToolActionRadio",wt.$type)},t}(),me=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new At},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionSeparatorComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionSeparatorComponent=t}return i._observedAttributesIgcToolActionSeparatorComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionSeparatorComponent=null,i.htmlTagName="igc-tool-action-separator",i._isElementRegistered=!1,i}(zt),ge=function(){function t(){}return t.register=function(){me.register(),n.TypeRegistrar.registerCons("IgcToolActionSeparatorComponent",me),n.TypeRegistrar.register("ToolActionSeparator",At.$type)},t}(),_e=function(){function t(){}return t.register=function(){zt.register(),n.TypeRegistrar.registerCons("IgcToolActionComponent",zt),n.TypeRegistrar.register("ToolAction",Ct.$type)},t}(),ve=new n.Type(null,"IExternalToolbar"),Ce=new n.Type(null,"IToolbarView"),Pe=new n.Type(null,"IExternalToolPanel"),we=new n.Type(null,"IToolPanelView"),Ae=new n.Type(null,"IExternalListPanel"),Te=new n.Type(null,"IListPanelView"),Se=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.b=null,e.c=null,e}return e.__extends(i,t),i.$t=n.markType(i,"ListPanelDataBindingEventArgs"),i}(n.Base),Ie=new n.Type(null,"IPropertyEditorPanelView"),Oe=n.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),ke=n.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),xe=function(t){function i(e){var i=t.call(this)||this;if(D.$type||(D.$type=n.markType(D,"IgcPropertyEditorPropertyDescriptionComponent")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){D.$type||(D.$type=n.markType(D,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new n.SyncableObservableCollection$2(D.$type,O.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new D)&&(e._implementation=t),e},t},i}(n.IgCollection),je=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.Name=null,e.Value=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPanelDropDownDataListItem"),i}(n.Base),Ee=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new x},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.n},set:function(t){this.i.n=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!0,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}();t.ExpansionPanelUtilities=i,t.ExpansionPanelView=a,t.HorizontalPropertyEditorPanelDataSource=M,t.IExternalListPanel_$type=Ae,t.IExternalToolPanel_$type=Pe,t.IExternalToolbar_$type=ve,t.IListPanelView_$type=Te,t.IPropertyEditorPanelView_$type=Ie,t.IToolPanelView_$type=we,t.IToolbarView_$type=Ce,t.IgcHorizontalPropertyEditorPanelDataSource=xe,t.IgcListPanelComponent=ft,t.IgcListPanelContentRefreshedEventArgs=pt,t.IgcListPanelItemModel=lt,t.IgcListPanelModule=dt,t.IgcListPanelTemplateHeightRequestedEventArgs=ht,t.IgcListPanelTemplateItemUpdatingEventArgs=ut,t.IgcListPanelTemplateWidthRequestedEventArgs=ct,t.IgcOnClosedEventArgs=v,t.IgcOnCollapsedEventArgs=u,t.IgcOnExpandedEventArgs=l,t.IgcOnPopupEventArgs=_,t.IgcPopupComponent=C,t.IgcPopupModule=P,t.IgcPropertyEditorDataSource=Ee,t.IgcPropertyEditorDescriptionObject=N,t.IgcPropertyEditorDescriptionObjectCollection=$,t.IgcPropertyEditorPanelComponent=G,t.IgcPropertyEditorPanelModule=X,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=q,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=B,t.IgcPropertyEditorPropertyDescriptionCollection=R,t.IgcPropertyEditorPropertyDescriptionComponent=D,t.IgcPropertyEditorPropertyDescriptionModule=z,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=U,t.IgcToolActionCheckboxComponent=Qt,t.IgcToolActionCheckboxModule=Jt,t.IgcToolActionCollection=Vt,t.IgcToolActionComponent=zt,t.IgcToolActionEventDetail=Bt,t.IgcToolActionEventDetailCollection=Ut,t.IgcToolActionGroupHeaderComponent=Yt,t.IgcToolActionGroupHeaderModule=Zt,t.IgcToolActionIconButtonComponent=ne,t.IgcToolActionIconButtonModule=ie,t.IgcToolActionIconMenuComponent=oe,t.IgcToolActionIconMenuModule=ae,t.IgcToolActionLabelComponent=fe,t.IgcToolActionLabelModule=de,t.IgcToolActionMenuBaseComponent=re,t.IgcToolActionModule=_e,t.IgcToolActionNumberInputComponent=te,t.IgcToolActionNumberInputModule=ee,t.IgcToolActionPerformedEventArgs=Dt,t.IgcToolActionRadioComponent=be,t.IgcToolActionRadioModule=ye,t.IgcToolActionSeparatorComponent=me,t.IgcToolActionSeparatorModule=ge,t.IgcToolCommandEventArgs=qt,t.IgcToolPanelComponent=Ft,t.IgcToolPanelContentRefreshedEventArgs=Lt,t.IgcToolPanelModule=se,t.IgcToolbarComponent=Xt,t.IgcToolbarModule=le,t.IgcXExpansionPanelComponent=p,t.IgcXExpansionPanelModule=c,t.ListPanel=ot,t.ListPanelContentRefreshedEventArgs=Z,t.ListPanelDataBindingEventArgs=Se,t.ListPanelDataSourceNotificationBridge=at,t.ListPanelItemModel=Y,t.ListPanelItemPresenter=tt,t.ListPanelLayoutPanel=st,t.ListPanelOrientation=Q,t.ListPanelOrientation_$type=J,t.ListPanelTemplateHeightRequestedEventArgs=it,t.ListPanelTemplateItemUpdatingEventArgs=et,t.ListPanelTemplateWidthRequestedEventArgs=nt,t.ListPanelView=rt,t.OnClosedEventArgs=d,t.OnCollapsedEventArgs=r,t.OnExpandedEventArgs=o,t.OnPopupEventArgs=b,t.Popup=g,t.PopupAlignment=ue,t.PopupAlignment_$type=pe,t.PopupDirection=ce,t.PopupDirection_$type=he,t.PopupView=m,t.PopupVisualModelExport=y,t.Popup_InnerAnimationInfo=f,t.Popup_OuterAnimationInfo=h,t.PropertyEditorDataSource=x,t.PropertyEditorDescriptionObject=j,t.PropertyEditorDescriptionObjectCollection=E,t.PropertyEditorPanel=K,t.PropertyEditorPanelColumnDefinition=F,t.PropertyEditorPanelColumnFieldType_$type=ke,t.PropertyEditorPanelColumnType_$type=Oe,t.PropertyEditorPanelDataBindingEventArgs=L,t.PropertyEditorPanelDropDownDataListItem=je,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=V,t.PropertyEditorPanelView=H,t.PropertyEditorPropertyDescription=O,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=T,t.PropertyEditorPropertyDescriptionChangedEventArgs=S,t.PropertyEditorPropertyDescriptionCollection=k,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=I,t.PropertyEditorTreeTransformer=W,t.PropertyEditorValueType=w,t.PropertyEditorValueType_$type=A,t.ToolAction=Ct,t.ToolActionCheckbox=kt,t.ToolActionCollection=jt,t.ToolActionEventDetail=Rt,t.ToolActionEventDetailCollection=Nt,t.ToolActionGroupHeader=St,t.ToolActionIconButton=Tt,t.ToolActionIconMenu=Ot,t.ToolActionLabel=Pt,t.ToolActionMeasurementContext=bt,t.ToolActionMenuBase=It,t.ToolActionNumberInput=xt,t.ToolActionPerformedEventArgs=Et,t.ToolActionRadio=wt,t.ToolActionSeparator=At,t.ToolCommandEventArgs=yt,t.ToolPanel=$t,t.ToolPanelContentRefreshedEventArgs=_t,t.ToolPanelOrientation=mt,t.ToolPanelOrientation_$type=gt,t.ToolPanelView=vt,t.Toolbar=Gt,t.ToolbarIconManager=Ht,t.ToolbarOrientation=Mt,t.ToolbarOrientation_$type=Wt,t.ToolbarView=Kt,t.XExpansionPanel=s,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_1,t.igniteuiWebcomponentsCore,t.igniteuiWebcomponentsInputs)}(this,(function(t,e,n,i){"use strict";var r=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.a=function(t){return t.getNativeElement().checked},i.b=function(t,e){t.getNativeElement().checked=e},i.c=function(t){var e=0;return t.altKey&&(e|=1),t.shiftKey&&(e|=4),t.ctrlKey&&(e|=2),e},i.$t=n.markType(i,"ExpansionPanelUtilities"),i}(n.Base),o=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"OnCollapsedEventArgs",n.EventArgs.$),i}(n.EventArgs),a=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"OnExpandedEventArgs",n.EventArgs.$),i}(n.EventArgs),s=function(t){function i(){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(i,t),Object.defineProperty(i.prototype,"r",{get:function(){return this.q},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"h",{get:function(){return this.g},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"k",{get:function(){return this.j},enumerable:!0,configurable:!0}),i.prototype.ab=function(){this.r.setStyleProperty("display","flex"),this.r.setStyleProperty("flexDirection","column"),this.r.setStyleProperty("flexWrap","no-wrap"),this.r.setStyleProperty("alignItems","left")},i.prototype.aj=function(){var t=this.h,e=n.ElevationHelper.e(t.q,t.bn,t.bm,t.bi);this.r.setStyleProperty("box-shadow",e)},i.prototype.ak=function(){null!=this.r&&(this.aj(),this.ah(),this.ai(),this.ag(),null!=this.p&&n.NativeUI.k(this.p,this.h.bl),null!=this.l&&n.NativeUI.o(this.l,this.h.bj),null!=this.o&&n.NativeUI.o(this.o,this.h.bk))},i.prototype.a=function(t){return new n.AnimationKeyFrameEffect(0,this.l,0,null,t)},i.prototype.b=function(t){return new n.AnimationKeyFrameEffect(0,this.o,0,null,t)},i.prototype.c=function(t){return new n.AnimationKeyFrameEffect(0,this.p,0,null,t)},i.prototype.d=function(t){return new n.AnimationKeyFrameEffect(0,this.m,0,null,t)},i.prototype.e=function(t){return new n.AnimationKeyFrameEffect(0,this.n,0,null,t)},i.prototype.u=function(){null==n.KeyFrameAnimationFactory.h&&(n.KeyFrameAnimationFactory.h=this.k)},i.prototype.i=function(){return this.m.outerHeight()},i.prototype.ac=function(t){if(null!=t){this.j=t;var e=t.rootWrapper;this.y(e)}else this.j=null},i.prototype.ag=function(){if(null!=this.f){var t=this.h.n;this.f.svgPath=t?i.s:i.t}},i.prototype.ah=function(){if(null!=this.l){var t=this.h.ab;this.l.setRawText(t)}},i.prototype.ai=function(){if(null!=this.o){var t=this.h.ah;this.o.setRawText(t)}},i.prototype.y=function(t){this.q=t,this.ab()},i.prototype.z=function(t){this.g=t},i.prototype.aa=function(){},i.prototype.af=function(t){var e=this.k;this.p=t;var i=e.createElement("div");this.p.append(i),this.v(i);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"),i.setStyleProperty("display","flex"),i.setStyleProperty("justify-content","center"),i.setStyleProperty("flex-direction","column"),i.setStyleProperty("margin","0px 10px 0px 10px"),i.setStyleProperty("flex","none | 0 | content"),this.ak(),this.p.listen("click",n.runOn(this,this.w)),this.p.listen("keydown",n.runOn(this,this.x))},i.prototype.v=function(t){var e=this;null==this.f&&this.j.getPortal(t,"XIcon",(function(t){var n=t.componentRef;e.f=n.i,e.f.fill=i.al,e.ag()}),!1)},i.prototype.ae=function(t){this.k;this.n=t,this.n.setAttribute("tabindex","1"),this.n.setStyleProperty("overflow","hidden")},i.prototype.ad=function(t){this.k;this.m=t},i.prototype.w=function(t){t.originalEvent.target;this.h.a2()},i.prototype.x=function(t){var e=n.BaseDOMEventProxy.c0(t),i=r.c(t);switch(e){case 9:case 3:this.h.a2(),t.preventDefault();break;case 17:1==i&&(this.h.au(),t.preventDefault());break;case 15:1==i&&(this.h.ar(),t.preventDefault())}},i.$t=n.markType(i,"ExpansionPanelView"),i.al=n.BrushUtil.g(255,33,150,243),i.t="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z",i.s="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",i}(n.Base),l=function(t){function i(){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=i.bs,e.a9=null,e.ba=null,e.ag=n.stringEmpty(),e.be=null,e.a5=i.bt,e.bc=null,e.bd=null,e.p=-1,e.o=i.r,e.m=!0,e.bf=null,e.a6=i.bu,e.bg=null,e.bh=null,e.a8=i.bw,e.a7=i.bv,e.a3=i.br;var r=e.f();return e.g=r,r.z(e),e}return e.__extends(i,t),i.prototype.aw=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.ax(t,e,i)},Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.prototype,"n",{get:function(){return this.m},set:function(t){var e=this;if(t!=this.m){this.at();var n=this.m;this.m=t;var i=this.h(this.m),r=this.i(this.m),s=this.j(this.m),l=this.k(this.m),u=this.l(this.m);i.play(),r.play(),s.play(),l.play(),u.play(),i.finished.f((function(t){return i.commitStyles()})),r.finished.f((function(t){return r.commitStyles()})),s.finished.f((function(t){return s.commitStyles()})),l.finished.f((function(t){return l.commitStyles()})),u.finished.f((function(t){u.commitStyles(),e.aw("Expanded",n,e.m),e.m&&(null!=e.onExpanded?e.onExpanded(e,new a):null!=e.onCollapsed&&e.onCollapsed(e,new o))}))}},enumerable:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),i.prototype.f=function(){return new s},i.prototype.ax=function(t,e,n){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(),l=this.bk,u=this.b2();r!=o||a!=s||l!=u?(this.bl=o,this.bj=s,this.bk=u):"Expanded"==t&&this.g.ak();break;case"Elevation":this.q=-1==this.s?i.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()}},i.prototype.h=function(t){var i=this.bj,r=this.b1(t),o=t?this.b():this.a(),a=this.g.a(o),s=[new n.AnimationKeyFrameProperty(7,i)],l=[new n.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(l)),n.KeyFrameAnimationFactory.f.c(a)},i.prototype.i=function(t){var i=this.bk,r=this.b3(t),o=t?this.b():this.a(),a=this.g.b(o),s=[new n.AnimationKeyFrameProperty(7,i)],l=[new n.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(l)),n.KeyFrameAnimationFactory.f.c(a)},i.prototype.j=function(t){var i=this.bl,r=this.b5(t),o=t?this.b():this.a(),a=this.g.c(o),s=[new n.AnimationKeyFrameProperty(2,i)],l=[new n.AnimationKeyFrameProperty(2,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(l)),n.KeyFrameAnimationFactory.f.c(a)},i.prototype.k=function(t){var i=this.g.i();i<=0&&(i=500);var r=t?-i:0,o=t?0:-i,a=t?0:1,s=t?1:0,l=t?this.b():this.a(),u=new n.TranslateTransform;u.k=r;var c=new n.TranslateTransform;c.k=o;var p=this.g.d(l),h=[new n.AnimationKeyFrameProperty(14,u),new n.AnimationKeyFrameProperty(1,a)],f=[new n.AnimationKeyFrameProperty(14,c),new n.AnimationKeyFrameProperty(1,s)];return p.m.apply(p,e.__spread(h)),p.m.apply(p,e.__spread(f)),n.KeyFrameAnimationFactory.f.c(p)},i.prototype.l=function(t){var i=this.g.i();i<=0&&(i=500);var r=t?0:i,o=t?i:0,a=t?this.b():this.a(),s=this.g.e(a),l=[new n.AnimationKeyFrameProperty(10,r)],u=[new n.AnimationKeyFrameProperty(10,o)];return s.m.apply(s,e.__spread(l)),s.m.apply(s,e.__spread(u)),n.KeyFrameAnimationFactory.f.c(s)},i.prototype.a=function(){var t=new n.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},i.prototype.b=function(){var t=new n.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},i.prototype.at=function(){this.g.u()},i.prototype.b0=function(){return this.b1(this.n)},i.prototype.b1=function(t){var e;return null!=(e=t?this.bp:this.bo)?e:null!=this.bq?this.bq:i.bs},i.prototype.b2=function(){return this.b3(this.n)},i.prototype.b3=function(t){var e;return null!=(e=t?this.by:this.bx)?e:null!=this.bz?this.bz:i.bt},i.prototype.b4=function(){return this.b5(this.n)},i.prototype.b5=function(t){var e;return null!=(e=t?this.b8:this.b7)?e:null!=this.b6?this.b6:i.bu},i.prototype.ar=function(){this.n=!1},i.prototype.destroy=function(){this.provideRenderer(null)},i.prototype.au=function(){this.n=!0},i.prototype.notifySizeChanged=function(){},i.prototype.provideHeader=function(t){this.g.af(t)},i.prototype.provideContentAreaOuter=function(t){this.g.ae(t)},i.prototype.provideContentAreaInner=function(t){this.g.ad(t)},i.prototype.provideRenderer=function(t){this.g.ac(t)},i.prototype.a2=function(){this.n=!this.n},i.$t=n.markType(i,"XExpansionPanel",n.Base.$,[n.INotifyPropertyChanged_$type]),i.bs=n.BrushUtil.g(188,0,0,0),i.bt=n.BrushUtil.g(188,0,0,0),i.r=2,i.bu=n.BrushUtil.g(255,245,245,245),i.bw=n.BrushUtil.g(66,0,0,0),i.bv=n.BrushUtil.g(30,0,0,0),i.br=n.BrushUtil.g(20,0,0,0),i}(n.Base),u=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new a},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),c=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new o},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),p=function(t){function i(){var i=t.call(this)||this;i._implementation=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._onCollapsed=null,i._onCollapsed_wrapped=null,i._onExpanded=null,i._onExpanded_wrapped=null,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._portalManager=new n.PortalManager("iconContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._mainDiv=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._mainDiv);var r=i._webComponentRenderer.createElement("div");r.setAttribute("key","expansionPanelHeaderArea");var o=i._webComponentRenderer.createElement("div");o.setAttribute("key","expansionPanelContentAreaOuter");var a=i._webComponentRenderer.createElement("div");return a.setAttribute("key","expansionPanelContentAreaInner"),o.append(a),i._mainDiv.append(r),i._mainDiv.append(o),new MutationObserver((function(t){var n,s;try{for(var l=e.__values(t),u=l.next();!u.done;u=l.next()){if("childList"==u.value.type)for(var c=0;c<i.childNodes.length;c++){var p=i.childNodes[c];p!=i._mainDiv.getNativeElement()&&p!==r.getNativeElement()&&p!==o.getNativeElement()&&p!==a.getNativeElement()&&(p.remove(),a.append(i._webComponentRenderer.getWrapper(p)))}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(s=l.return)&&s.call(l)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i.i.provideRenderer(i._webComponentRenderer),i.i.provideHeader(i._webComponentRenderer.getWrapper(r)),i.i.provideContentAreaOuter(i._webComponentRenderer.getWrapper(o)),i.i.provideContentAreaInner(i._webComponentRenderer.getWrapper(a)),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t},enumerable:!0,configurable:!0}),i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.createImplementation=function(){return new l},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.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())},i.prototype.afterContentInit=function(){},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcXExpansionPanelComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcXExpansionPanelComponent=t}return i._observedAttributesIgcXExpansionPanelComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"caption",{get:function(){return this.i.ab},set:function(t){this.i.ab=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"captionTextColor",{get:function(){return n.brushToString(this.i.bq)},set:function(t){this.i.bq=n.stringToBrush(t),this._a("captionTextColor",n.brushToString(this.i.bq))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualCaptionTextColor",{get:function(){return n.brushToString(this.i.bj)},set:function(t){this.i.bj=n.stringToBrush(t),this._a("actualCaptionTextColor",n.brushToString(this.i.bj))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"captionCollapsedTextColor",{get:function(){return n.brushToString(this.i.bo)},set:function(t){this.i.bo=n.stringToBrush(t),this._a("captionCollapsedTextColor",n.brushToString(this.i.bo))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"captionExpandedTextColor",{get:function(){return n.brushToString(this.i.bp)},set:function(t){this.i.bp=n.stringToBrush(t),this._a("captionExpandedTextColor",n.brushToString(this.i.bp))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"description",{get:function(){return this.i.ah},set:function(t){this.i.ah=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionTextColor",{get:function(){return n.brushToString(this.i.bz)},set:function(t){this.i.bz=n.stringToBrush(t),this._a("descriptionTextColor",n.brushToString(this.i.bz))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualDescriptionTextColor",{get:function(){return n.brushToString(this.i.bk)},set:function(t){this.i.bk=n.stringToBrush(t),this._a("actualDescriptionTextColor",n.brushToString(this.i.bk))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionCollapsedTextColor",{get:function(){return n.brushToString(this.i.bx)},set:function(t){this.i.bx=n.stringToBrush(t),this._a("descriptionCollapsedTextColor",n.brushToString(this.i.bx))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionExpandedTextColor",{get:function(){return n.brushToString(this.i.by)},set:function(t){this.i.by=n.stringToBrush(t),this._a("descriptionExpandedTextColor",n.brushToString(this.i.by))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"elevation",{get:function(){return this.i.s},set:function(t){this.i.s=+t,this._a("elevation",this.i.s)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualElevation",{get:function(){return this.i.q},set:function(t){this.i.q=+t,this._a("actualElevation",this.i.q)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"expanded",{get:function(){return this.i.n},set:function(t){this.i.n=n.ensureBool(t),this._a("expanded",this.i.n)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"headerBackgroundColor",{get:function(){return n.brushToString(this.i.b6)},set:function(t){this.i.b6=n.stringToBrush(t),this._a("headerBackgroundColor",n.brushToString(this.i.b6))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualHeaderBackgroundColor",{get:function(){return n.brushToString(this.i.bl)},set:function(t){this.i.bl=n.stringToBrush(t),this._a("actualHeaderBackgroundColor",n.brushToString(this.i.bl))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"headerCollapsedBackgroundColor",{get:function(){return n.brushToString(this.i.b7)},set:function(t){this.i.b7=n.stringToBrush(t),this._a("headerCollapsedBackgroundColor",n.brushToString(this.i.b7))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"headerExpandedBackgroundColor",{get:function(){return n.brushToString(this.i.b8)},set:function(t){this.i.b8=n.stringToBrush(t),this._a("headerExpandedBackgroundColor",n.brushToString(this.i.b8))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualUmbraShadowColor",{get:function(){return n.brushToString(this.i.bn)},set:function(t){this.i.bn=n.stringToBrush(t),this._a("actualUmbraShadowColor",n.brushToString(this.i.bn))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualPenumbraShadowColor",{get:function(){return n.brushToString(this.i.bm)},set:function(t){this.i.bm=n.stringToBrush(t),this._a("actualPenumbraShadowColor",n.brushToString(this.i.bm))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualAmbientShadowColor",{get:function(){return n.brushToString(this.i.bi)},set:function(t){this.i.bi=n.stringToBrush(t),this._a("actualAmbientShadowColor",n.brushToString(this.i.bi))},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("XExpansionPanelComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var c=i.i.$type.name;0===c.indexOf("Xam")&&(c=c.substring(3));var p=n.toSpinal(c);a.push(p+"-"+r+"-"),a.push(p+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.collapse=function(){this.i.ar()},i.prototype.expand=function(){this.i.au()},i.prototype.toggle=function(){this.i.a2()},Object.defineProperty(i.prototype,"onCollapsed",{get:function(){return this._onCollapsed},set:function(t){var e=this;null!==this._onCollapsed_wrapped&&(this.i.onCollapsed=n.delegateRemove(this.i.onCollapsed,this._onCollapsed_wrapped),this._onCollapsed_wrapped=null,this._onCollapsed=null),this._onCollapsed=t,this._onCollapsed_wrapped=function(t,n){var i=new c;i._provideImplementation(n),e.beforeOnCollapsed&&e.beforeOnCollapsed(e,i),e._onCollapsed&&e._onCollapsed(e,i)},this.i.onCollapsed=n.delegateCombine(this.i.onCollapsed,this._onCollapsed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onExpanded",{get:function(){return this._onExpanded},set:function(t){var e=this;null!==this._onExpanded_wrapped&&(this.i.onExpanded=n.delegateRemove(this.i.onExpanded,this._onExpanded_wrapped),this._onExpanded_wrapped=null,this._onExpanded=null),this._onExpanded=t,this._onExpanded_wrapped=function(t,n){var i=new u;i._provideImplementation(n),e.beforeOnExpanded&&e.beforeOnExpanded(e,i),e._onExpanded&&e._onExpanded(e,i)},this.i.onExpanded=n.delegateCombine(this.i.onExpanded,this._onExpanded_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcXExpansionPanelComponent=null,i.htmlTagName="igc-x-expansion-panel",i._isElementRegistered=!1,i}(n.IgcHTMLElement),h=function(){function t(){}return t.register=function(){p.register(),n.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",p),n.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",p),n.TypeRegistrar.register("XExpansionPanel",l.$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}({}),d=n.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"),b=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionButtonClickEventArgs",n.EventArgs.$),i}(n.EventArgs),y=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e._newValue=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"newValue",{get:function(){return this._newValue},set:function(t){this._newValue=t},enumerable:!0,configurable:!0}),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionChangedEventArgs",n.EventArgs.$),i}(n.EventArgs),m=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e._target=null,e._value=null,e._propertyPath=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"target",{get:function(){return this._target},set:function(t){this._target=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"propertyPath",{get:function(){return this._propertyPath},set:function(t){this._propertyPath=t},enumerable:!0,configurable:!0}),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs",n.EventArgs.$),i}(n.EventArgs),g=function(t){function i(){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(i,t),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.prototype,"p",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,this.o!=e&&this.aq("ValueType",n.enumGetBox(d,e),n.enumGetBox(d,t))},enumerable:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),i.prototype.aq=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t))},i.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)},i.prototype.ae=function(t,e){return e?this.e:null!=this.e?this.e.e(t,!1):null},i.prototype.ap=function(){null!=this.buttonClicked&&this.buttonClicked(this,new b)},i.prototype.ao=function(){var t,e=this;null!=this.changed&&this.changed(this,((t=new y).newValue=e.af,t))},i.prototype.ar=function(t,e,n){var i;null!=this.targetPropertyUpdating&&this.targetPropertyUpdating(this,((i=new m).propertyPath=t,i.target=e,i.value=n,i))},i.$t=n.markType(i,"PropertyEditorPropertyDescription",n.Base.$,[n.INotifyPropertyChanged_$type]),i}(n.Base),_=function(t){function i(){return t.call(this,g.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionCollection",n.ObservableCollection$1.$.specialize(g.$)),i}(n.ObservableCollection$1),v=function(t){function i(){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(i,t),Object.defineProperty(i.prototype,"n",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.p("DescriptionType",e,this.k)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.p("Context",e,this.a)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"h",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.p("Data",e,this.g)},enumerable:!0,configurable:!0}),i.prototype.p=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.q(t,e,i)},i.prototype.q=function(t,e,n){switch(t){case"DescriptionType":case"Context":this.r()}},i.d=function(t,e,n){var r=new i;return r.j=n,r.b=t,r.n=e,r.j=null,r},i.prototype.f=function(t){var e=new g;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=i.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=i.d(this.a,e.am,this.j)),15==e.p&&(e.c=this.a.c(this.n,e.an),e.d=e.d),e},i.prototype.i=function(t){switch(t.knownType){case 10:return 10;case 7:return 7;case 4:return 4;case 6:return 6;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},i.prototype.r=function(){var t=new _;if(null!=this.n&&null!=this.b){var e=!1;null==this.j&&(e=!0,this.j=new n.Dictionary$2(n.String_$type,i.$,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(!n.stringEndsWith(r[o],"@names")&&!(n.stringEndsWith(r[o],"@nameBinding")||n.stringEndsWith(r[o],"@ngQueryList")||n.stringEndsWith(r[o],"@mustSetInCode")||n.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},i.prototype.e=function(t,e){if(null==t)return null;for(var i=n.stringSplit(t,[".","["],0),r=new n.List$1(n.String_$type,1,i),o=null,a=null;r.count>0;){var s=r._inner[0];r.removeAt(0);var l=!1;if(n.stringContains(s,"]")){l=!0;var u=(s=n.stringReplace(s,"]","")).split(",");if(s=u[0].trim(),n.stringContains(s,"as")){var c=s.indexOf("as");s.substr(0,c).trim(),a=s.substr(c+2).trim()}if(null!=a&&a!=this.n){var p=this.c();p.n=a,o=p;continue}}if(e&&(l=!0),null!=o&&null!==n.typeCast(g.$,o)){var h=o.ae(s,l);if(null==h)return null;o=h}else if(null!=o){var f=o.e(s,l);if(null==f)return null;o=f}else{if(null==this.h)return null;for(var d=0;d<this.h.count;d++)if(n.Base.equalsStatic(this.h._inner[d].an,s)){o=this.h._inner[d];break}if(null==o)return null}}return n.typeCast(g.$,o)},i.prototype.c=function(){var t,e=this;return(t=new i).b=e.b,t.n=e.n,t},i.$t=n.markType(i,"PropertyEditorDataSource",n.Base.$,[n.INotifyPropertyChanged_$type]),i}(n.Base),C=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e.a=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorDescriptionObject"),i}(n.Base),P=function(t){function i(){return t.call(this,C.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorDescriptionObjectCollection",n.ObservableCollection$1.$.specialize(C.$)),i}(n.ObservableCollection$1),w=function(t){function i(e){var i=t.call(this)||this;if(k.$type||(k.$type=n.markType(k,"IgcPropertyEditorPropertyDescriptionComponent")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){k.$type||(k.$type=n.markType(k,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new n.SyncableObservableCollection$2(k.$type,g.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new k)&&(e._implementation=t),e},t},i}(n.IgCollection),A=function(){function t(){this._properties=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new C},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){if(null===this._properties){var t=new w,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 w;this._properties=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(g.$type),r=this.i.a;r||(r=new _),i._inner=r,i.clear(),this._properties._setSyncTarget(i),this.i.a=r},enumerable:!0,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}(),T=function(t){function i(e){var i=t.call(this)||this;if(A.$type||(A.$type=n.markType(A,"IgcPropertyEditorDescriptionObject")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){A.$type||(A.$type=n.markType(A,"IgcPropertyEditorDescriptionObject"));var t=new n.SyncableObservableCollection$2(A.$type,C.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new A)&&(e._implementation=t),e},t},i}(n.IgCollection),I=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new b},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),O=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new y},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!0,configurable:!0}),t}(),S=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new m},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"target",{get:function(){return this.i.target},set:function(t){this.i.target=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"propertyPath",{get:function(){return this.i.propertyPath},set:function(t){this.i.propertyPath=t},enumerable:!0,configurable:!0}),t}(),k=function(t){function i(){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&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e}return e.__extends(i,t),i.prototype.createImplementation=function(){return new g},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return n.TypeRegistrar.isRegistered(e)?n.TypeRegistrar.create(e):null},i.prototype.onImplementationCreated=function(){},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=t}return i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"propertyPath",{get:function(){return this.i.an},set:function(t){this.i.an=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"label",{get:function(){return this.i.al},set:function(t){this.i.al=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"valueType",{get:function(){return this.i.p},set:function(t){this.i.p=n.ensureEnum(d,t),this._a("valueType",n.enumToString(d,this.i.p))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"propertyDescriptionType",{get:function(){return this.i.am},set:function(t){this.i.am=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"shouldOverrideDefaultEditor",{get:function(){return this.i.s},set:function(t){this.i.s=n.ensureBool(t),this._a("shouldOverrideDefaultEditor",this.i.s)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"elementDescriptionType",{get:function(){return this.i.ak},set:function(t){this.i.ak=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.prototype,"primitiveValue",{get:function(){return this.i.af},set:function(t){this.i.af=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"min",{get:function(){return this.i.ab},set:function(t){this.i.ab=+t,this._a("min",this.i.ab)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"editorWidth",{get:function(){return this.i.y},set:function(t){this.i.y=+t,this._a("editorWidth",this.i.y)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"labelWidth",{get:function(){return this.i.z},set:function(t){this.i.z=+t,this._a("labelWidth",this.i.z)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"max",{get:function(){return this.i.aa},set:function(t){this.i.aa=+t,this._a("max",this.i.aa)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"step",{get:function(){return this.i.ac},set:function(t){this.i.ac=+t,this._a("step",this.i.ac)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"complexValue",{get:function(){var t=this.i.g;if(null==t)return null;if(!t.externalObject){var e=new A;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:!0,configurable:!0}),Object.defineProperty(i.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new T,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 T;this._complexValues=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(C.$type),r=this.i.i;r||(r=new P),i._inner=r,i.clear(),this._complexValues._setSyncTarget(i),this.i.i=r},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"properties",{get:function(){if(null===this._properties){var t=new w,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 w;this._properties=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(g.$type),r=this.i.m;r||(r=new _),i._inner=r,i.clear(),this._properties._setSyncTarget(i),this.i.m=r},enumerable:!0,configurable:!0}),i.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(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("PropertyEditorPropertyDescriptionComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var c=i.i.$type.name;0===c.indexOf("Xam")&&(c=c.substring(3));var p=n.toSpinal(c);a.push(p+"-"+r+"-"),a.push(p+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},Object.defineProperty(i.prototype,"buttonClicked",{get:function(){return this._buttonClicked},set:function(t){var e=this;null!==this._buttonClicked_wrapped&&(this.i.buttonClicked=n.delegateRemove(this.i.buttonClicked,this._buttonClicked_wrapped),this._buttonClicked_wrapped=null,this._buttonClicked=null),this._buttonClicked=t,this._buttonClicked_wrapped=function(t,n){var i=new I;i._provideImplementation(n),e.beforeButtonClicked&&e.beforeButtonClicked(e,i),e._buttonClicked&&e._buttonClicked(e,i)},this.i.buttonClicked=n.delegateCombine(this.i.buttonClicked,this._buttonClicked_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"changed",{get:function(){return this._changed},set:function(t){var e=this;null!==this._changed_wrapped&&(this.i.changed=n.delegateRemove(this.i.changed,this._changed_wrapped),this._changed_wrapped=null,this._changed=null),this._changed=t,this._changed_wrapped=function(t,n){var i=new O;i._provideImplementation(n),e.beforeChanged&&e.beforeChanged(e,i),e._changed&&e._changed(e,i)},this.i.changed=n.delegateCombine(this.i.changed,this._changed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"targetPropertyUpdating",{get:function(){return this._targetPropertyUpdating},set:function(t){var e=this;null!==this._targetPropertyUpdating_wrapped&&(this.i.targetPropertyUpdating=n.delegateRemove(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped),this._targetPropertyUpdating_wrapped=null,this._targetPropertyUpdating=null),this._targetPropertyUpdating=t,this._targetPropertyUpdating_wrapped=function(t,n){var i=new S;i._provideImplementation(n),e.beforeTargetPropertyUpdating&&e.beforeTargetPropertyUpdating(e,i),e._targetPropertyUpdating&&e._targetPropertyUpdating(e,i)},this.i.targetPropertyUpdating=n.delegateCombine(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=null,i.htmlTagName="igc-property-editor-property-description",i._isElementRegistered=!1,i}(n.IgcHTMLElement),j=function(){function t(){}return t.register=function(){k.register(),n.TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent",k),n.TypeRegistrar.register("PropertyEditorPropertyDescription",g.$type)},t}(),x=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPanelTemplateCellUpdatingEventArgs"),i}(n.Base),E=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.c=null,e.b=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPanelDataBindingEventArgs"),i}(n.Base),R=function(t){function i(){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(i,t),i.prototype.i=function(t,e,n){if(null!=this.dataBinding){var i=new E;return i.b=t,i.a=e,i.c=n,this.dataBinding(this,i),i.b}return t},i.prototype.e=function(t,e,n){if(null!=this.cellUpdating){var i=new x;return i.a=t,i.b=e,i.c=n,this.cellUpdating(this,i),i.a}return t},i.$t=n.markType(i,"PropertyEditorPanelColumnDefinition"),i}(n.Base),N=function(t){function i(e){var n=t.call(this)||this;return n.ae=null,n.add(new g),n.ae=e,n}return e.__extends(i,t),i.$t=n.markType(i,"HorizontalPropertyEditorPanelDataSource",_.$),i}(_),$=function(t){function i(e,i){var r=t.call(this)||this;r.a=new n.DescriptionTreeNode,r.b=null,r.b=e,r.a=new n.DescriptionTreeNode,r.a.i=i;new n.JsonDictionaryObject;return r}return e.__extends(i,t),i.prototype.h=function(t,e,n){null!=t&&this.c(t,e,this.a,n,null)},i.prototype.c=function(t,i,r,o,a){if(null==t)return null;var s=n.stringSplit(t,[".","["],0),l=s[0],u=s.length>1,c=!1,p=new n.List$1(n.Number_$type,0),h=new n.List$1(n.String_$type,0);if(n.stringContains(l,"]")){c=!0;for(var f=(l=n.stringReplace(l,"]","")).split(","),d=0;d<f.length;d++){var b=f[d];if(n.stringContains(b,"as")){var y=b.indexOf("as"),m=b.substr(0,y).trim(),g=b.substr(y+2).trim();p.add(parseInt(m)),h.add(g),o=g,l=m}}}var _=null;if(_=c?a:this.b.getMetadata(o,l),u)if(c)for(var v=r.b,C=0;C<p.count;C++){l=p._inner[C].toString();for(var P=h._inner[C],w=parseInt(n.stringReplace(n.stringReplace(l,"[",""),"]","")),A=new n.List$1(n.Base.$,0),T=0;T<=w;T++)if(null!=v&&T<v.length){var I=v[T];null!==n.typeCast(n.DescriptionTreeNode.$,I)&&T==w&&(I.i=P),A.add1(I)}else{var O=this.d(a,!0,P);null!=O&&A.add1(O)}var S=(v=A.toArray())[w],k=new n.List$1(n.String_$type,1,s);k.removeAt(0);var j=_.collectionElementType;null!=P&&(j=P);var x=this.c(n.stringJoin.apply(void 0,e.__spread(["."],k.toArray())),i,S,j,_);null!=x&&(v[w]=x),r.b=v}else{var E=r;E.c(l)||E.o(l,this.d(_,!1,null),_);var R=E.a(l),N=new n.List$1(n.String_$type,1,s);N.removeAt(0);var $=this.c(n.stringJoin.apply(void 0,e.__spread(["."],N.toArray())),i,R,_.specificExternalType,_);null!=$&&E.o(l,$,_)}else r.o(l,this.e(i,_),_);return null},i.prototype.f=function(t){return null==t?null:t.length<1?"":t.substr(0,1).toLowerCase()+t.substr(1)},i.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 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},i.prototype.d=function(t,e,i){if(e||10!=t.knownType&&9!=t.knownType){var r=new n.DescriptionTreeNode;return r.i=null!=i?i:null!=t.specificExternalType?t.specificExternalType:t.specificType,r}return new Array(0)},i.prototype.g=function(){var t=new n.DescriptionSerializerBuilder,e=new n.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()},i.$t=n.markType(i,"PropertyEditorTreeTransformer"),i}(n.Base),B=function(t){function i(){var e,i=t.call(this)||this;return i.n=null,i.m=null,i.a=null,i.i=null,i.l=null,i.e=null,i.k=null,i.b=((e=new n.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="Normal",e),i.aa=new n.Size,i.c=null,i._gridExternal=null,i.f=!1,i.j=null,i}return e.__extends(i,t),i.prototype.p=function(){return this.i},i.prototype.v=function(){},i.prototype.t=function(t){var e=this;if(null!=t){this.a.j=new n.DOMExecutionContext(t),this.i=t,this.l=this.i.createElement("canvas"),this.e=new n.RenderingContext(new n.CanvasViewRenderer,this.i.get2DCanvasContext(this.l)),this.k=this.i.createElement("div"),this.y(),n.NativeUIComponent.ad(this.p(),7,(function(t){var n=t;e.a.dh(n,e.n),e.i.append(n.x)}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.i.rootWrapper.setStyleProperty("position","relative")}else this.i=null},i.prototype.y=function(){},i.prototype.x=function(){this.i},i.prototype.s=function(){if(null!=this.i){var t=this.i.rootWrapper.width(),e=this.i.rootWrapper.height();this.aa=new n.Size(1,t,e),null!=this.a.v&&this.a.d2()}},i.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(n.NativeUI.o(e,this.a.d9),n.NativeUI.k(e,this.a.d6))}},i.prototype.d=function(){return this.b},i.prototype.u=function(){},i.prototype.w=function(){},i.prototype.r=function(){var t=this.a.ea();t.height>0&&this.i.rootWrapper.setStyleProperty("min-height",t.height+"px")},i.prototype.g=function(){return this.aa.width},i.prototype.h=function(t){return this.c=this.a.u(),n.FontUtil.measureStringWidth(t,this.c,this.e)},i.prototype.q=function(t,e){null==this.j&&(this.j=this.i.createElement("div")),e(this.j.getNativeElement())},i.$t=n.markType(i,"PropertyEditorPanelView"),i}(n.Base),q=function(t){function i(){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.bk=-1,e.aq=n.DeviceUtils.g(38),e.s=null,e.br=null,e.c=null,e.an=null,e.j=null,e.ae=!1,e.ap=null,e.bj=-1,e.bt=null,e.ad=!0,e.am=new n.Dictionary$2(R.$,n.Number_$type,0),e.f=null,e.g=null,e.d=null,e.bq=null,e.bu=null,e.aa=!1,e.ac=!1,e.ab=!1,e.d4=i.d7,e.d5=i.d8,e.bo=0,e.bl=-1,e.k=null,n.NativeUIInputsFactory.n(),e.ap=new n.ObservableCollection$1(R.$,0);var r=new B;r.a=e,e.l=r,e.l.v();var o=e.properties;return o.collectionChanged=n.delegateCombine(o.collectionChanged,n.runOn(e,e.dx)),e}return e.__extends(i,t),Object.defineProperty(i.prototype,"x",{get:function(){return null==this.w&&(this.w=new n.SRProvider(this.l.i),this.w.cb("Layouts")),this.w},enumerable:!0,configurable:!0}),i.prototype.dx=function(t,i){var r,o,a,s;if(null!=i.oldItems)try{for(var l=e.__values(n.fromEn(i.oldItems)),u=l.next();!u.done;u=l.next()){var c=u.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,c)){var p=c;p.propertyChanged=n.delegateRemove(p.propertyChanged,n.runOn(this,this.dj))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}if(null!=i.newItems)try{for(var h=e.__values(n.fromEn(i.newItems)),f=h.next();!f.done;f=h.next()){var d=f.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=n.delegateCombine(b.propertyChanged,n.runOn(this,this.dj))}}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}this.aj(),this.properties.count>0&&this.actualProperties!=this.properties&&(this.actualProperties=this.properties),this.dt()},i.prototype.dt=function(){this.af||null!=this.v&&this.d2()},i.prototype.dj=function(t,e){this.af||(this.aj(),null!=this.v&&this.d2())},i.prototype.notifySizeChanged=function(){this.l.s()},i.prototype.dh=function(t,e){if(this.v=t,null!=this.v){if(null!=this.actualProperties){if(this.ag)null!=this.actualProperties&&null===n.typeCast(N.$,this.actualProperties)&&(this.actualProperties=new N(this.actualProperties));else if(null!==n.typeCast(N.$,this.actualProperties)){var i=this.actualProperties;this.actualProperties=i.ae}this.br=this.actualProperties;var r=this.actualProperties;r=this.actualProperties.toArray();var o=new n.LocalDataSource;o.dataSource=r,this.c=o,this.ce()}null!=this.actualProperties&&this.d2()}},i.prototype.destroy=function(){this.provideContainer(null)},i.prototype.provideContainer=function(t){this.l.t(t)},i.prototype.ds=function(t){},Object.defineProperty(i.prototype,"actualProperties",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.du("ActualProperties",e,this.n)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"properties",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.du("Properties",e,this.o)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bp",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.du("RowHeight",e,this.bk)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ar",{get:function(){return this.aq},set:function(t){this.aq=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"t",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.du("CellTextStyle",e,this.s)},enumerable:!0,configurable:!0}),i.prototype.u=function(){return null==this.t?this.l.d():this.t},i.prototype.du=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.dy(t,e,i)},i.prototype.dy=function(t,e,i){switch(t){case"DescriptionType":null==this.b2&&null==this.properties&&(this.actualProperties=null),null!=this.b2&&(null==this.k&&(this.k=new v),this.k.n=this.b2),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(n.runOn(this,this.al)),e!=i&&(this.ad=!0),null==this.e?this.h=this.i:this.h=this.e.context;break;case"Target":null!=n.ComponentRenderer.defaultInstance&&null==this.e&&(this.e=n.ComponentRenderer.defaultInstance);break;case"DescriptionContext":null==this.e&&(this.h=i);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.d2();break;case"IsHorizontal":if(this.ag)this.bj=-1,null!=this.actualProperties&&null===n.typeCast(N.$,this.actualProperties)&&(this.actualProperties=new N(this.actualProperties));else if(null!==n.typeCast(N.$,this.actualProperties)){var r=this.actualProperties;this.actualProperties=r.ae}break;case"ActualProperties":if(this.ag)null!=this.actualProperties&&null===n.typeCast(N.$,this.actualProperties)&&(this.actualProperties=new N(this.actualProperties));else if(null!==n.typeCast(N.$,this.actualProperties)){var o=this.actualProperties;this.actualProperties=o.ae}if(null!=this.v){var a=this.br!=this.actualProperties;if(this.ag)null!=this.actualProperties&&null===n.typeCast(N.$,this.actualProperties)&&(this.actualProperties=new N(this.actualProperties));else if(null!==n.typeCast(N.$,this.actualProperties)){var s=this.actualProperties;this.actualProperties=s.ae}this.br=this.actualProperties;var l=this.actualProperties;l=this.actualProperties.toArray();var u=new n.LocalDataSource;if(u.dataSource=l,this.c=u,this.ce(),null!=this.c){var c=this.c;c.schemaChanged=n.delegateCombine(c.schemaChanged,n.runOn(this,this.dw))}a&&this.d2()}break;case"RowHeight":null!=this.v&&(this.ar=this.bp);break;case"CellTextStyle":this.d0();break;case"BackgroundColor":case"TextColor":this.d0()}},i.prototype.aj=function(){var t,i,r=this.af;this.af=!0;var o=!1;try{for(var a=e.__values(n.fromEnum(this.properties)),s=a.next();!s.done;s=a.next()){var l=s.value,u=l.an;if(null!=this.k){var c=this.k.e(u,!1);null!=c&&l.r(c)&&(o=!0)}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}return o?this.d2():null!=this.v&&this.d0(),this.af=r,o},i.prototype.d0=function(){this.ae||null==this.j||(this.ae=!0,this.j.enqueueAction(n.runOn(this,this.cj)))},i.prototype.cj=function(){var t=this;if(this.ae=!1,null==this.an&&(this.an=new n.List$1(n.List$1.$.specialize(n.NativeUIComponent.$),0)),null!=this.c){for(var e=this.c.actualCount,i=function(e){var i=e,o=r.c.getItemAtIndex(e);r.v.bb<i+1?r.v.bd(i,1,r.ar):r.v.bj(i,1,r.ar),r.an.count<i+1&&r.an.add(new n.List$1(n.NativeUIComponent.$,0));for(var a=r.an._inner[i],s=function(e){var s=r.ap._inner[e];a.count<e+1&&n.NativeUIComponent.ah(r.l.p(),0,(function(r){var o=r;o.g=1,0==s.a&&(o.f=2),o.aw=new n.Thickness(1,5,5,5,0),t.v.a1(o),t.v.bh(o,i),t.v.bg(o,e),a.add(o)})),r.v.a8<e+1?r.v.bc(e,1,s.h):r.v.bi(e,1,s.h);var l=a._inner[e],u="PropertyPath";1==s.a&&(u="ValueType");var c=r.m(s,i,o),p=null;(null!=c&&(p=r.c.getItemProperty(c,u),null!=(p=s.i(p,i,o))&&(l=s.e(l,i,o))),null==p)&&(l.a6=null)},l=0;l<r.ap.count;l++)s(l)},r=this,o=0;o<e;o++)i(o);for(var a=new n.HashSet$1(n.NativeUIComponent.$,0),s=this.v.a0-1;s>=0;s--){var l=this.v.az(s),u=this.v.ba(l),c=this.v.a9(l);(u+1>e||c+1>this.ap.count)&&a.add_1(l)}for(var p=this.v.a0-1;p>=0;p--){var h=this.v.az(p);a.contains(h)&&this.v.a4(p)}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.bb>e;)this.v.bf(this.v.bb-1);for(;this.v.a8>this.ap.count;)this.v.be(this.v.a8-1)}},i.prototype.dw=function(t,e){this.z=!0,this.ce(),this.z=!1},i.prototype.d2=function(){if(null!=this.v){this.am.clear(),this.ap.clear();-1==this.bp||this.bp,this.d6,this.u();if(this.ag)this.cg();else{var t=new R;t.b=0,t.f=10,t.g=5,t.a=0,t.dataBinding=n.delegateCombine(t.dataBinding,n.runOn(this,this.dl)),t.cellUpdating=n.delegateCombine(t.cellUpdating,n.runOn(this,this.dk)),t.j="PropertyPath",this.ap.add(t);var e=new R;e.b=1,e.a=1,e.f=5,e.g=5,e.dataBinding=n.delegateCombine(e.dataBinding,n.runOn(this,this.cl)),e.cellUpdating=n.delegateCombine(e.cellUpdating,n.runOn(this,this.ck)),e.j="ValueType",this.ap.add(e)}this.d0()}},i.prototype.cg=function(){if(null!=this.actualProperties){for(var t=this.actualProperties.ae,e=t.count,i=new n.List$1(R.$,0),r=this.bm(t,e,i,2147483647),o=0;o<i.count;o++)this.ap.add(i._inner[o]);this.bo=r;var a=this.actualProperties,s=this.bj;a.clear();for(var l=0;l<this.bo;l++)a.add(new g);var u=this.actualProperties.toArray(),c=new n.LocalDataSource;c.dataSource=u,this.c=c,a.count!=s&&(this.bj=a.count,this.d0(),this.l.r())}},i.prototype.ea=function(){if(this.ag&&null!=this.v&&null!=this.c){var t=this.ar,e=this.actualProperties;return new n.Size(1,0,e.count*t)}return new n.Size(1,0,0)},i.prototype.bm=function(t,e,i,r){var o=0,a=0,s=this.l.g();s-=5,this.ai||(s=17976931348623157e292);for(var l=0,u=s,c=0;c<e;c++){var p=t.item(c),h=this.a9(p),f=this.a5(p);if(l+h+f>s&&a>0||a>=r){if(0!=o&&a<r&&r>2){var d=i._inner[a],b=i._inner[a+1];return d.h=h,b.h=f,this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count)}r=Math.max(Math.min(r,a),2),o++;var y=s-l;y<u&&(u=y),l=0,a=0}this.b5(p);if(i.count<=a){var m=new R;m.b=0,m.a=0,m.f=10,m.g=5,m.h=h,m.dataBinding=n.delegateCombine(m.dataBinding,n.runOn(this,this.dl)),m.cellUpdating=n.delegateCombine(m.cellUpdating,n.runOn(this,this.dk)),m.j="PropertyName_"+c,i.add(m),this.am.item(m,i.count-1),a++}else{var g=i._inner[a];if(h>g.h){var _=h-g.h;if(g.h=h,_>u&&r>2)return this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count);(u-=_)<0&&(u=0),a++}else h=g.h,a++}if(i.count<=a){var v=new R;v.b=1,v.a=1,v.j="ValueType_"+c,v.f=5,v.g=5,v.dataBinding=n.delegateCombine(v.dataBinding,n.runOn(this,this.cl)),v.h=f,v.cellUpdating=n.delegateCombine(v.cellUpdating,n.runOn(this,this.ck)),i.add(v),this.am.item(v,i.count-1),a++}else{var C=i._inner[a];if(f>C.h){var P=f-C.h;if(C.h=f,P>u&&r>2)return this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count);(u-=P)<0&&(u=0),a++}else f=C.h,a++}l+=h+f}return o+1},i.prototype.d1=function(t,i){var r,o,a=0;try{for(var s=e.__values(n.fromEnum(i)),l=s.next();!l.done;l=s.next()){a+=l.value.h}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}for(;a>t;){if(i.count<1)return;1==i._inner[i.count-1].b?(a-=i._inner[i.count-1].h,a-=i._inner[i.count-2].h,i.removeAt(i.count-1),i.removeAt(i.count-1)):(a-=i._inner[i.count-1].h,i.removeAt(i.count-1))}},i.prototype.cl=function(t,e){var i=t,r=this.m(i,e.a,e.c);e.b=n.enumGetBox(d,null!=r?r.p:0)},i.prototype.dl=function(t,e){var n=t,i=this.m(n,e.a,e.c);e.b=null!=i?null!=i.al?i.al:i.an:null},i.prototype.a5=function(t){if(!n.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 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.a6(t);case 17:return this.a7(t);case 16:return this.ba(t);case 1:return this.bb(t);case 11:return this.bc(t);case 13:return this.bd(t);case 12:return this.be(t);case 2:return this.bg(t);case 8:return this.bh(t);case 19:return this.bi(t);case 0:return this.a8(t);case 20:return this.aw(t);case 21:return this.bf(t)}return 100},i.prototype.bi=function(t){return this.a8(t)},i.prototype.a8=function(t){return 175},i.prototype.aw=function(t){return null!=t.af?Math.max(100,this.l.h(t.af.toString())+30):80},i.prototype.bf=function(t){return 175},i.prototype.bh=function(t){return this.aw(t)},i.prototype.bg=function(t){return this.a8(t)},i.prototype.be=function(t){return this.a8(t)},i.prototype.bd=function(t){return this.a8(t)},i.prototype.bc=function(t){return this.a8(t)},i.prototype.bb=function(t){return this.a8(t)},i.prototype.ba=function(t){return this.aw(t)},i.prototype.a7=function(t){return this.aw(t)},i.prototype.a6=function(t){return this.a4(t)},i.prototype.a4=function(t){return this.a8(t)},i.prototype.a2=function(t){return this.a3(t)},i.prototype.a3=function(t){return this.a8(t)},i.prototype.a1=function(t){return this.aw(t)},i.prototype.az=function(t){return this.aw(t)},i.prototype.a0=function(t){return this.a8(t)},i.prototype.ay=function(t){return this.aw(t)},i.prototype.au=function(t){return this.aw(t)},i.prototype.av=function(t){return this.a8(t)},i.prototype.at=function(t){return this.ax(t)},i.prototype.ax=function(t){return 50},i.prototype.as=function(t){return this.aw(t)},i.prototype.a9=function(t){return n.isNaN_(t.z)?this.l.h(this.b5(t))+17:t.z},i.prototype.b5=function(t){return null!=t.al?t.al:t.an},i.prototype.dk=function(t,e){var n=t;this.m(n,e.b,e.c);this.c7(n,e)},i.prototype.ck=function(t,e){var n=t,i=this.m(n,e.b,e.c);switch(null!=i?i.p:0){case 10:this.cs(n,e);break;case 7:this.ct(n,e);break;case 4:this.cv(n,e);break;case 6:this.cu(n,e);break;case 9:this.cx(n,e);break;case 5:this.cz(n,e);break;case 14:this.cy(n,e);break;case 18:this.c0(n,e);break;case 3:this.c1(n,e);break;case 15:this.c4(n,e);break;case 17:this.c5(n,e);break;case 16:this.c8(n,e);break;case 1:this.c9(n,e);break;case 11:this.da(n,e);break;case 13:this.db(n,e);break;case 12:this.dc(n,e);break;case 2:this.de(n,e);break;case 8:this.df(n,e);break;case 19:this.dg(n,e);break;case 20:this.cw(n,e);break;case 21:this.dd(n,e)}},i.prototype.dg=function(t,e){this.c6(t,e)},i.prototype.df=function(t,e){},i.prototype.de=function(t,e){this.c6(t,e)},i.prototype.dc=function(t,e){this.c6(t,e)},i.prototype.db=function(t,e){this.c6(t,e)},i.prototype.da=function(t,e){this.c6(t,e)},i.prototype.c9=function(t,e){this.c6(t,e)},i.prototype.c7=function(t,e){var n=this;this.cq(e,(function(i,r){i.ay=n.u(),i.g=1;var o=n.m(t,e.b,e.c);i.y=o,i.az=n.b5(o)}))},i.prototype.c6=function(t,e){var i=this;this.cp(e,(function(r,o){r.g=1,r.a2=1,r.az=2;var a=i.m(t,e.b,e.c);r.y=a,r.a4=null!=a.af?a.af.toString():"",o&&(r.a1=n.runOn(i,i.di))}))},i.prototype.cq=function(t,e){var i=t.a,r=i.a6,o=!1;if(null==r||3!=r.e)return o=!0,void n.NativeUIComponent.ad(this.l.p(),3,(function(t){i.a6=t,e(t,o)}));e(r,o)},i.prototype.cp=function(t,e){var i=t.a,r=i.a6,o=!1;if(null==r||2!=r.e)return o=!0,void n.NativeUIComponent.ad(this.l.p(),2,(function(t){i.a6=t,e(t,o)}));e(r,o)},i.prototype.cm=function(t,e){var i=t.a,r=i.a6,o=!1;if(null==r||1!=r.e)return o=!0,void n.NativeUIComponent.ad(this.l.p(),1,(function(t){i.a6=t,e(t,o)}));e(r,o)},i.prototype.cr=function(t,e){var i=t.a,r=i.a6,o=!1;if(null==r||5!=r.e)return o=!0,void n.NativeUIComponent.ad(this.l.p(),5,(function(t){i.a6=t,e(t,o)}));e(r,o)},i.prototype.co=function(t,e){var i=t.a,r=i.a6,o=!1;if(null==r||4!=r.e)return o=!0,void n.NativeUIComponent.ad(this.l.p(),4,(function(t){i.a6=t,e(t,o)}));e(r,o)},i.prototype.cn=function(t,e){var i=t.a,r=i.a6,o=!1;if(null==r||6!=r.e)return o=!0,void n.NativeUIComponent.ad(this.l.p(),6,(function(t){i.a6=t,e(t,o)}));e(r,o)},i.prototype.cw=function(t,e){var i=this;this.cm(e,(function(r,o){r.g=1,2!=r.a0&&(r.a0=2);var a=i.m(t,e.b,e.c);r.y=a;var s=a.af;"number"!=typeof a.af&&"number"!=typeof a.af||(s=a.af.toString()),r.a1=s,o&&(r.az=n.runOn(i,i.cd))}))},i.prototype.dd=function(t,e){var i=this;this.cr(e,(function(r,o){r.g=1;var a=i.m(t,e.b,e.c);r.y=a;var s=a.af;if("number"!=typeof a.af&&"number"!=typeof a.af||(s=a.af),"string"==typeof a.af){var l=0;s=l=n.tryParseNumber(s,l).p1}null==s&&(s=0),r.a5=s,n.isNaN_(a.ab)?r.a3=0:r.a3=a.ab,n.isNaN_(a.aa)?r.a2=100:r.a2=a.aa,n.isNaN_(a.ac)?r.a4=1:r.a4=a.ac,o&&(r.a1=n.runOn(i,i.d3))}))},i.prototype.d3=function(t,e){var n=t,i=n.y;this.af=!0,i.af=n.a5,this.af=!1,this.dv(i)},i.prototype.c3=function(t,e){var i=this;this.co(e,(function(r,o){r.g=1,2!=r.ay&&(r.ay=2);var a=i.m(t,e.b,e.c);r.y!=a?(r.a0=null,r.y=a,r.a2=null,r.a1=i.b(i.a(a)),a.af!=r.a2&&("number"==typeof a.af||"number"==typeof a.af?r.a2=a.af.toString():r.a2=a.af),r.a0=n.runOn(i,i.ch)):a.af!=r.a2&&("number"==typeof a.af||"number"==typeof a.af?r.a2=a.af.toString():r.a2=a.af),o&&(null==r.a0&&(r.a0=n.runOn(i,i.ch)),r.ao=n.BrushUtil.g(255,255,255,255))}))},i.prototype.b=function(t){return t},i.prototype.a=function(t){return t.c},i.prototype.ch=function(t,e){var n=t,i=n.y;this.af=!0,i.af=n.a2,i.ao(),this.af=!1,this.dv(i)},i.prototype.di=function(t,e){var i=t,r=i.y;if(this.af=!0,1==r.p){var o=0;o=n.tryParseNumber(i.a4,o).p1,r.af=o}else r.af=i.a4;r.ao(),this.af=!1,this.dv(r)},i.prototype.cd=function(t,e){var n=t.y;this.af=!0,n.ap(),this.af=!1,this.dv(n)},i.prototype.dv=function(t){var e=this;if(null!=this.bs&&null!=this.e){this.ad&&(this.ad=!1,this.e.addTargetPropertyUpdatingListener(n.runOn(this,this.al)));var i=null==this.bt;this.bt=this.b4(),i?this.l.q(this.bs,(function(t){return e.e.loadJsonOverlay(e.bt,(function(e){return t}),(function(t){return e.bs}))})):this.l.q(this.bs,(function(t){return e.e.loadJsonDelta(e.bt,(function(e){return t}),!1)}))}},i.prototype.al=function(t,e,i){var r=this.actualProperties;null!==n.typeCast(N.$,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,i)}return!!this.ah},i.prototype.ak=function(t,e){if(null==t&&null==e)return!0;if(null==t)return!1;if(null==e)return!1;var i=n.stringSplit(t,[".","["],0),r=n.stringSplit(e,[".","["],0);if(i.length!=r.length)return!1;for(var o=0;o<i.length;o++){var a=i[o],s=r[o];if(n.stringContains(a,"]")){if(!n.stringContains(s,"]"))return!1;if(s=n.stringReplace(s,"]",""),!this.ao(a).contains(s))return!1}else if(!n.Base.equalsStatic(a,s))return!1}return!0},i.prototype.ao=function(t){var e=new n.List$1(n.String_$type,0);if(n.stringContains(t,"]")){for(var i=(t=n.stringReplace(t,"]","")).split(","),r=0;r<i.length;r++){var o=i[r];if(n.stringContains(o,"as")){var a=o.indexOf("as"),s=o.substr(0,a).trim();e.add(s)}}return e}return e.add(t),e},i.prototype.b4=function(){if(null==this.actualProperties)return null;var t=this.actualProperties;null!==n.typeCast(N.$,t)&&(t=t.ae);var e=new $(this.h,this.b2);return this.c2(t,"",e,this.b2),e.g()},i.prototype.c2=function(t,e,n,i){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],l=e+o.an+"["+a+"]";this.c2(s.a,l,n,s.b)}else if(null!=o.g){var u=e+o.an;this.c2(o.g.a,u,n,o.g.b)}else n.h(e+o.an,o.af,i)}},i.prototype.c8=function(t,e){},i.prototype.c5=function(t,e){},i.prototype.c4=function(t,e){this.c3(t,e)},i.prototype.c1=function(t,e){},i.prototype.c0=function(t,e){},i.prototype.cy=function(t,e){},i.prototype.cz=function(t,e){this.c6(t,e)},i.prototype.cx=function(t,e){},i.prototype.cu=function(t,e){},i.prototype.cv=function(t,e){this.c6(t,e)},i.prototype.ct=function(t,e){var i=this;this.cn(e,(function(r,o){r.g=1,r.a0||(r.a0=!0);var a,s=i.m(t,e.b,e.c),l=s.af;if((null==l&&(l=!1),"string"==typeof l)&&function(){var t=n.tryParseBool(l,a);return a=t.p1,t.ret}()){l=a;var u=i.af;i.af=!0,s.af=l,i.af=u}if("number"==typeof l&&n.typeGetValue(l)>0){l=!0;var c=i.af;i.af=!0,s.af=l,i.af=c}if("number"==typeof l&&l>0){l=!0;var p=i.af;i.af=!0,s.af=l,i.af=p}var h=l;r.a1=h,r.y=s,o&&(r.az=n.runOn(i,i.cf))}))},i.prototype.m=function(t,e,i){if(this.ag){var r=this.actualProperties.ae,o=e*n.truncate(this.ap.count/2),a=this.bn(t);return(a=n.truncate(Math.floor(a/2))+o)>r.count-1?null:r.item(a)}return i},i.prototype.bn=function(t){return this.am.item(t)},i.prototype.cf=function(t,e){var n=t,i=n.y;this.af=!0,i.af=n.a1,i.ao(),this.af=!1,this.dv(i)},i.prototype.cs=function(t,e){},i.prototype.dq=function(t,e,n){null!=this.v&&this.c.notifySetItem(t,e,n)},i.prototype.dm=function(){null!=this.v&&this.c.notifyClearItems()},i.prototype.dn=function(t,e){null!=this.v&&this.c.notifyInsertItem(t,e)},i.prototype.dp=function(t,e){null!=this.v&&this.c.notifyRemoveItem(t,e)},Object.defineProperty(i.prototype,"h",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.du("ActualContext",e,this.f)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"i",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.du("DescriptionContext",e,this.g)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,this.du("ComponentRenderer",e,this.d)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bs",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,this.du("Target",e,this.bq)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"b2",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,this.du("DescriptionType",e,this.bu)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ag",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,this.du("IsHorizontal",e,this.aa)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ai",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,this.du("IsWrappingEnabled",e,this.ac)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ah",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.du("IsIndirectModeEnabled",e,this.ab)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"d6",{get:function(){return this.d4},set:function(t){var e=this.d4;this.d4=t,e!=this.d4&&this.du("BackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"d9",{get:function(){return this.d5},set:function(t){var e=this.d5;this.d5=t,e!=this.d5&&this.du("TextColor",e,t)},enumerable:!0,configurable:!0}),i.prototype.ce=function(){var t=this.c;if(null!=t){if(null==t.actualSchema)return void(this.bl=-1);var e=t.actualCount;this.bl=e}else this.bl=-1},i.$t=n.markType(i,"PropertyEditorPanel",n.Base.$,[n.INotifyPropertyChanged_$type]),i.d7=n.BrushUtil.g(255,248,248,248),i.d8=n.BrushUtil.g(255,24,29,31),i}(n.Base),U=function(t){function i(){var i=t.call(this)||this;return i._implementation=null,i.contentProperties=[],i.actualProperties=[],i._properties=null,i._propertiesAdapter=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i._actualDataSource=null,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._implementation.externalObject=i,i._portalManager=new n.PortalManager("propertyEditorContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._webComponentWrapper=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._webComponentWrapper),i._webComponentWrapper.setStyleProperty("display","block"),i._webComponentWrapper.setStyleProperty("width","100%"),i._webComponentWrapper.setStyleProperty("height","100%"),i._propertiesAdapter=new n.CollectionAdapter(i.contentProperties,i.i.properties,i.actualProperties,(function(t){return t.i}),(function(t){i._webComponentRenderer&&i._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(i,i,i)}),(function(t){})),i.i.provideContainer(i._webComponentRenderer),i.i.notifySizeChanged(),new MutationObserver((function(t){var n,r;try{for(var o=e.__values(t),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&i.updateContentProperties()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i._webComponentRenderer.addSizeWatcher((function(){i.i.notifySizeChanged()})),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"properties",{get:function(){var t=this;if(null===this._properties){var e=new w;e._innerColl.addListener((function(e,i){switch(i.action){case n.NotifyCollectionChangedAction.Add:t._propertiesAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Remove:t._propertiesAdapter.removeManualItemAt(i.oldStartingIndex);break;case n.NotifyCollectionChangedAction.Replace:t._propertiesAdapter.removeManualItemAt(i.oldStartingIndex),t._propertiesAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Reset:t._propertiesAdapter.clearManualItems()}})),this._properties=e}return this._properties},enumerable:!0,configurable:!0}),i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.updateContentProperties=function(){this.contentProperties.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof k&&this.contentProperties.push(this.children[t]);null!=this._propertiesAdapter&&this._propertiesAdapter.notifyContentChanged()},i.prototype.createImplementation=function(){return new q},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.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()}},i.prototype.afterContentInit=function(){this.i.notifySizeChanged()},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcPropertyEditorPanelComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcPropertyEditorPanelComponent=t}return i._observedAttributesIgcPropertyEditorPanelComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"actualDataSource",{get:function(){if(null===this._actualDataSource){var t=new w,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 w;this._actualDataSource=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(g.$type),r=this.i.actualProperties;r||(r=new _),i._inner=r,i.clear(),this._actualDataSource._setSyncTarget(i),this.i.actualProperties=r},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rowHeight",{get:function(){return this.i.bp},set:function(t){this.i.bp=+t,this._a("rowHeight",this.i.bp)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualRowHeight",{get:function(){return this.i.ar},set:function(t){this.i.ar=+t,this._a("actualRowHeight",this.i.ar)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"cellTextStyle",{get:function(){return null==this.i.t?null:this.i.t.fontString},set:function(t){var e=new n.FontInfo;e.fontString=t,this.i.t=e,this._a("cellTextStyle",null!=this.i.t?this.i.t.fontString:"")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualDescriptionContext",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionContext",{get:function(){return this.i.i},set:function(t){this.i.i=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"componentRenderer",{get:function(){return this.i.e},set:function(t){this.i.e=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"target",{get:function(){return this.i.bs},set:function(t){this.i.bs=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionType",{get:function(){return this.i.b2},set:function(t){this.i.b2=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isHorizontal",{get:function(){return this.i.ag},set:function(t){this.i.ag=n.ensureBool(t),this._a("isHorizontal",this.i.ag)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isWrappingEnabled",{get:function(){return this.i.ai},set:function(t){this.i.ai=n.ensureBool(t),this._a("isWrappingEnabled",this.i.ai)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isIndirectModeEnabled",{get:function(){return this.i.ah},set:function(t){this.i.ah=n.ensureBool(t),this._a("isIndirectModeEnabled",this.i.ah)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"backgroundColor",{get:function(){return n.brushToString(this.i.d6)},set:function(t){this.i.d6=n.stringToBrush(t),this._a("backgroundColor",n.brushToString(this.i.d6))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"textColor",{get:function(){return n.brushToString(this.i.d9)},set:function(t){this.i.d9=n.stringToBrush(t),this._a("textColor",n.brushToString(this.i.d9))},enumerable:!0,configurable:!0}),i.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(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("PropertyEditorPanelComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var c=i.i.$type.name;0===c.indexOf("Xam")&&(c=c.substring(3));var p=n.toSpinal(c);a.push(p+"-"+r+"-"),a.push(p+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.notifySetItem=function(t,e,n){this.i.dq(t,e,n)},i.prototype.notifyClearItems=function(){this.i.dm()},i.prototype.notifyInsertItem=function(t,e){this.i.dn(t,e)},i.prototype.notifyRemoveItem=function(t,e){this.i.dp(t,e)},i._observedAttributesIgcPropertyEditorPanelComponent=null,i.htmlTagName="igc-property-editor-panel",i._isElementRegistered=!1,i}(n.IgcHTMLElement),D=function(){function t(){}return t.register=function(){j.register(),U.register(),n.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",U),n.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",U),n.TypeRegistrar.register("PropertyEditorPanel",q.$type)},t}(),z=function(t){return t[t.Vertical=0]="Vertical",t[t.Horiztonal=1]="Horiztonal",t}({}),V=n.markEnum("ListPanelOrientation","Vertical,0|Horiztonal,1"),L=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=!1,e.l=0,e.j=0,e.m=null,e.a=null,e.b=!1,e.d=!1,e.f=!1,e.g=0,e.h=0,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"n",{get:function(){return this.m},set:function(t){this.e=!0,this.m=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"e",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"i",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&(this.f=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"k",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,e!=this.h&&(this.f=!0)},enumerable:!0,configurable:!0}),i.$t=n.markType(i,"ListPanelItemModel"),i}(n.Base),M=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.$t=n.markType(i,"ListPanelContentRefreshedEventArgs"),i}(n.Base),W=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(i,t),i.$t=n.markType(i,"ListPanelItemPresenter"),i}(n.Base),H=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.c=null,e.b=null,e}return e.__extends(i,t),i.$t=n.markType(i,"ListPanelTemplateItemUpdatingEventArgs"),i}(n.Base),F=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(i,t),i.$t=n.markType(i,"ListPanelTemplateWidthRequestedEventArgs"),i}(n.Base),G=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(i,t),i.$t=n.markType(i,"ListPanelTemplateHeightRequestedEventArgs"),i}(n.Base),K=function(t){function i(){var e,i=t.call(this)||this;return i.n=null,i.m=null,i.a=null,i.i=null,i.l=null,i.e=null,i.k=null,i.b=((e=new n.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="Normal",e),i.aa=new n.Size,i.c=null,i._gridExternal=null,i.f=!1,i.j=null,i}return e.__extends(i,t),i.prototype.p=function(){return this.i},i.prototype.v=function(){},i.prototype.t=function(t){var e=this;if(null!=t){this.a.c=new n.DOMExecutionContext(t),this.i=t,this.l=this.i.createElement("canvas"),this.e=new n.RenderingContext(new n.CanvasViewRenderer,this.i.get2DCanvasContext(this.l)),this.k=this.i.createElement("div"),this.y(),n.NativeUIComponent.ad(this.p(),9,(function(t){var n=t;e.a.bv(n),e.i.append(n.x)}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.i.rootWrapper.setStyleProperty("position","relative")}else this.i=null},i.prototype.y=function(){},i.prototype.x=function(){this.i},i.prototype.s=function(){if(null!=this.i){var t=this.i.rootWrapper.width(),e=this.i.rootWrapper.height();this.aa=new n.Size(1,t,e),this.a.cd(this.aa),null!=this.a.u&&this.a.cp()}},i.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(n.NativeUI.o(e,this.a.cv),n.NativeUI.k(e,this.a.cs))}},i.prototype.d=function(){return this.b},i.prototype.u=function(){},i.prototype.w=function(){},i.prototype.r=function(){},i.prototype.g=function(){return this.aa.width},i.prototype.h=function(t){return this.c=this.a.t(),n.FontUtil.measureStringWidth(t,this.c,this.e)},i.prototype.q=function(t,e){null==this.j&&(this.j=this.i.createElement("div")),e(this.j.getNativeElement())},i.$t=n.markType(i,"ListPanelView"),i}(n.Base),X=function(t){function i(){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=n.DeviceUtils.g(38),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 n.FastIterationDictionary$2(n.Number_$type,L.$,0),e.itemWidthRequested=null,e.itemHeightRequested=null,e.p=new n.FastIterationDictionary$2(L.$,L.$,0),e.ao=new n.Stack$1(L.$),e.al=new n.List$1(n.Number_$type,0),e.ak=new n.List$1(n.Number_$type,0),e.an=new n.List$1(n.Number_$type,0),e.am=new n.List$1(n.Number_$type,0),e.ae=!0,e.ab=!0,e.ay=-1,e.az=-1,e.d=null,e.c=null,e.cq=i.ct,e.i=i.j,e.aa=i.af,e.cr=i.cu,n.NativeUIInputsFactory.n();var r=new K;return r.a=e,e.o=r,e.o.v(),e}return e.__extends(i,t),Object.defineProperty(i.prototype,"w",{get:function(){return null==this.v&&(this.v=new n.SRProvider(this.o.i),this.v.cb("Layouts")),this.v},enumerable:!0,configurable:!0}),i.prototype.bv=function(t){this.h=new J(t)},i.prototype.cd=function(t){this.aq=t.width,this.ch()},Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),i.prototype.notifySizeChanged=function(){this.o.s()},i.prototype.destroy=function(){this.provideContainer(null)},i.prototype.provideContainer=function(t){this.o.t(t)},Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.prototype,"av",{get:function(){return this.ar},set:function(t){this.ar=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),i.prototype.t=function(){return null==this.s?this.o.d():this.s},Object.defineProperty(i.prototype,"ah",{get:function(){return 1==this.k},enumerable:!0,configurable:!0}),i.prototype.ca=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.ce(t,e,i)},i.prototype.bm=function(t,e){this.b8()},i.prototype.ch=function(){this.ac||(this.ac=!0,this.c.enqueueAction(n.runOn(this,this.bo)))},i.prototype.bo=function(){this.ac&&(this.ac=!1,this.ab&&this.bk(),this.ae&&this.bl(),this.ci(),this.cl(),null!=this.contentRefreshed&&this.contentRefreshed(this,new M))},i.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 n=0;n<this.q.o.count;n++)if(!this.q.p._inner[n]){this.q.o._inner[n];var i=this.q.q._inner[n];this.br(i),this.bp(i),this.h.b(this,i)}}},i.prototype.bp=function(t){t.e&&(t.e=!1,this.bs(t))},i.prototype.bs=function(t){var e;null!=this.rowUpdating&&this.rowUpdating(this,((e=new H).a=t,e.b=t.a.a,e.c=t.a.a.x,e))},i.prototype.br=function(t){var e=this;null==t.a&&(t.a=new W,n.NativeUIComponent.ah(this.o.p(),0,(function(n){var i=n;0==e.k?i.f=3:i.f=0,t.a.a=i})))},i.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 n.List$1(n.Number_$type,0),e=0;e<this.q.o.count;e++)if(!this.q.p._inner[e]){var i=this.q.o._inner[e];this.q.q._inner[e];(i<this.ay||i>this.az)&&t.add(i)}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.k=this.ax(o),a.i=this.aw(o)}}},i.prototype.aw=function(t){return 0==this.k?0:this.an._inner[t]},i.prototype.ax=function(t){return 1==this.k?0:this.ai?this.al._inner[t]:t*this.av},i.prototype.bq=function(t){if(!this.q.d(t)){var e=this.g(t);e.c&&(this.p.f(e),e.c=!1),this.q.s(t,e)}},i.prototype.g=function(t){if(this.ao.f>0)return this.ao.e();var e=new L;return e.l=t,e.j=this.av,e},i.prototype.co=function(t){var e=this.q.item(t);this.ck(e),this.q.f(t),e.c=!0,this.p.s(e,e)},i.prototype.ck=function(t){this.ao.h(t)},i.prototype.a6=function(){return null==this.actualDataSource||null==this.actualDataSource.actualSchema?-1:this.actualDataSource.actualCount-1},i.prototype.a5=function(){return null==this.actualDataSource||null==this.actualDataSource.actualSchema?-1:0},i.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,i=n.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 n,i=a.av;if(null!=a.itemHeightRequested){var o=((n=new G).b=e,n.c=t.actualDataSource.getItemAtIndex(e),n.a=i,n);a.itemHeightRequested(a,o),i=o.a,r+=i}a.ak.add(i)},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 l=0,u=function(e){c.an.add(l);var n,i=0;if(null!=c.itemWidthRequested){var r=((n=new F).b=e,n.c=t.actualDataSource.getItemAtIndex(e),n.a=i,n);c.itemWidthRequested(c,r),i=r.a,l+=i}c.am.add(i)},c=this,p=0;p<this.actualDataSource.actualCount;p++)u(p);this.aq=l}e==this.ap&&i==(n.isNaN_(this.aq)?0:this.aq)||this.o.r()}},i.prototype.bt=function(){this.ac&&this.bo()},i.prototype.cm=function(){if(0!=this.as){var t=n.isNaN_(this.aq)?0:this.aq,e=this.ap;this.ad=!0,this.bz(this.as),t==(n.isNaN_(this.aq)?0:this.aq)&&e==this.ap||this.externalListPanel.onContentSizeChanged(),this.ad=!1,this.b0(),this.ch()}},i.prototype.b0=function(){this.ae=!0},i.prototype.bz=function(t){this.ab=!0,this.as=t},i.prototype.bu=function(){this.z&&(this.z=!1,this.cm(),this.by())},i.prototype.cn=function(){this.z?this.bu():(this.ch(),this.bt())},i.prototype.a4=function(){return this.az},i.prototype.a3=function(){return this.ay},i.prototype.aj=function(){return this.ay>=0&&this.az>=0},i.prototype.by=function(){if(this.aj()){var t=this.a3(),e=this.a4();this.bx(t,e)}},i.prototype.bx=function(t,e){var n=this.a3(),i=this.a4();e<n||t>i||(t<n&&(t=n),e>i&&(e=i),this.ci(),this.cn())},i.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.n=this.actualDataSource.getItemAtIndex(e.l),e.j=this.av}},i.prototype.cj=function(t){if(null!=this.actualDataSource&&this.q.d(t)){var e=this.q.item(t);e.n=this.actualDataSource.getItemAtIndex(e.l),e.j=this.av}},i.prototype.cg=function(){this.z||(this.z=!0,this.b0(),this.ch())},i.prototype.bw=function(t){this.cj(t)},i.prototype.b8=function(){this.z?this.bu():(this.cm(),this.by())},Object.defineProperty(i.prototype,"externalListPanel",{get:function(){return this.d},set:function(t){this.d=t},enumerable:!0,configurable:!0}),i.prototype.ce=function(t,e,i){var r=this;switch(t){case"ItemsSource":if(null!=this.a){var o=this.a;o.schemaChanged=n.delegateRemove(o.schemaChanged,n.runOn(this,this.bm)),this.a.updateNotifier=null}if(null!==n.typeCast(n.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=n.delegateCombine(s.schemaChanged,n.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()}},i.prototype.cp=function(){if(null!=this.u)-1==this.a7||this.a7,this.cs,this.t()},i.prototype.cw=function(){var t=this.ap,e=0;!n.isNaN_(t)&&t>=0&&(e=t);var i=new n.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),r=0;if(0==this.k)for(var 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.au(i);r=Math.max(r,a.width)}return new n.Size(1,r,e)},i.prototype.b7=function(t,e){},i.prototype.cc=function(t,e,n){if(0==this.k){if(this.ai){var i=this.av;if(null!=this.itemHeightRequested){var r=new G;r.c=n,r.b=t,r.a=i,this.itemHeightRequested(this,r),i=r.a}var o=this.ak._inner[t];this.ak._inner[t]=i;for(var a=i-o,s=t;s<this.actualDataSource.actualCount;s++)this.al._inner[s]+=a}}else{var l=0;if(null!=this.itemWidthRequested){var u=new F;u.c=n,u.b=t,u.a=l,this.itemWidthRequested(this,u),l=u.a}var c=this.am._inner[t];this.am._inner[t]=l;for(var p=l-c,h=t;h<this.actualDataSource.actualCount;h++)this.an._inner[h]+=p}this.bw(t)},i.prototype.b6=function(){this.cm()},i.prototype.b9=function(t,e){if(0==this.k){if(this.ai){var n=this.av;if(null!=this.itemHeightRequested){var i=new G;i.c=e,i.b=t,i.a=n,this.itemHeightRequested(this,i),n=i.a}this.ak.insert(t,n);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]+=n}}else{var a=0;if(null!=this.itemWidthRequested){var s=new F;s.c=e,s.b=t,s.a=a,this.itemWidthRequested(this,s),a=s.a}this.am.insert(t,a);var l=0;if(t>0)l=this.an._inner[t-1]+this.am._inner[t-1];this.an.insert(t,l);for(var u=t;u<this.actualDataSource.actualCount;u++)this.an._inner[u]+=a}this.cg()},i.prototype.cb=function(t,e){if(0==this.k){for(var n=this.ak._inner[t],i=t+1;i<this.actualDataSource.actualCount;i++)this.al._inner[i]-=n;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()},i.prototype.b4=function(t,e,n){null!=this.a&&this.a.notifySetItem(t,e,n)},i.prototype.b1=function(){null!=this.a&&this.a.notifyClearItems()},i.prototype.b2=function(t,e){null!=this.a&&this.a.notifyInsertItem(t,e)},i.prototype.b3=function(t,e){null!=this.a&&this.a.notifyRemoveItem(t,e)},i.prototype.a1=function(t){return null==this.a?-1:this.a.indexOfItem(t)},i.prototype.a2=function(t){return null==this.a?-1:this.a.indexOfKey(t)},Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.prototype,"k",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.ca("Orientation",n.enumGetBox(V,e),n.enumGetBox(V,t))},enumerable:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.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:!0,configurable:!0}),Object.defineProperty(i.prototype,"au",{get:function(){return this.aq},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"at",{get:function(){return this.ap},enumerable:!0,configurable:!0}),i.$t=n.markType(i,"ListPanel",n.Base.$,[n.INotifyPropertyChanged_$type]),i.ct=n.BrushUtil.g(255,248,248,248),i.j=0,i.af=!1,i.cu=n.BrushUtil.g(255,24,29,31),i}(n.Base),Q=function(t){function i(e){var n=t.call(this)||this;return n.a=null,n.a=e,n}return e.__extends(i,t),i.prototype.rangeActualized=function(t,e){this.a.b7(t,e)},i.prototype.notifySetItem=function(t,e,n){this.a.cc(t,e,n)},i.prototype.notifyClearItems=function(){this.a.b6()},i.prototype.notifyInsertItem=function(t,e){this.a.b9(t,e)},i.prototype.notifyRemoveItem=function(t,e){this.a.cb(t,e)},i.$t=n.markType(i,"ListPanelDataSourceNotificationBridge",n.Base.$,[n.IDataSourceUpdateNotifier_$type]),i}(n.Base),J=function(t){function i(e){var n=t.call(this)||this;return n.a=null,n.a=e,n}return e.__extends(i,t),i.prototype.d=function(t){this.a.p=t.width,this.a.j=t.height},i.prototype.b=function(t,e){e.d||(e.d=!0,this.a.a1(e.a.a)),0==t.k?n.isNaN_(t.au)||(e.a.a.p=t.au):e.a.a.j=t.at,e.f&&(e.f=!1,this.a.a8(e.a.a,e.i),this.a.a9(e.a.a,e.k))},i.prototype.c=function(t){this.a.a9(t,-1e3),this.a.a8(t,-1e3)},i.$t=n.markType(i,"ListPanelLayoutPanel"),i}(n.Base),Y=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new L},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.l},set:function(t){this.i.l=+t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowHeight",{get:function(){return this.i.j},set:function(t){this.i.j=+t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowObject",{get:function(){return this.i.n},set:function(t){this.i.n=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isModelDirty",{get:function(){return this.i.e},set:function(t){this.i.e=n.ensureBool(t)},enumerable:!0,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()}return t.prototype.createImplementation=function(){return new H},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"model",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=new Y;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:!0,configurable:!0}),Object.defineProperty(t.prototype,"content",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!0,configurable:!0}),t}(),tt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new M},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),et=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new F},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.b},set:function(t){this.i.b=+t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataItem",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.i.a},set:function(t){this.i.a=+t},enumerable:!0,configurable:!0}),t}(),nt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new G},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.b},set:function(t){this.i.b=+t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataItem",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.i.a},set:function(t){this.i.a=+t},enumerable:!0,configurable:!0}),t}(),it=function(t){function i(){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&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e._webComponentRenderer=new n.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(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),i.prototype.createLocalDataSource=function(t){var e=new n.LocalDataSource;return e.dataSource=t,e},i.prototype.onContentSizeChanged=function(){},i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.createImplementation=function(){return new X},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.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()}},i.prototype.afterContentInit=function(){this.i.notifySizeChanged()},Object.defineProperty(i.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource=t,null!=this._implementation&&(this._implementation.itemsSource=this._dataSource)},enumerable:!0,configurable:!0}),i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcListPanelComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcListPanelComponent=t}return i._observedAttributesIgcListPanelComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"rowHeight",{get:function(){return this.i.a7},set:function(t){this.i.a7=+t,this._a("rowHeight",this.i.a7)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualRowHeight",{get:function(){return this.i.av},set:function(t){this.i.av=+t,this._a("actualRowHeight",this.i.av)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"cellTextStyle",{get:function(){return null==this.i.s?null:this.i.s.fontString},set:function(t){var e=new n.FontInfo;e.fontString=t,this.i.s=e,this._a("cellTextStyle",null!=this.i.s?this.i.s.fontString:"")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"hasUnevenSizes",{get:function(){return this.i.ah},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"backgroundColor",{get:function(){return n.brushToString(this.i.cs)},set:function(t){this.i.cs=n.stringToBrush(t),this._a("backgroundColor",n.brushToString(this.i.cs))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"orientation",{get:function(){return this.i.k},set:function(t){this.i.k=n.ensureEnum(V,t),this._a("orientation",n.enumToString(V,this.i.k))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isCustomRowHeightEnabled",{get:function(){return this.i.ai},set:function(t){this.i.ai=n.ensureBool(t),this._a("isCustomRowHeightEnabled",this.i.ai)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"textColor",{get:function(){return n.brushToString(this.i.cv)},set:function(t){this.i.cv=n.stringToBrush(t),this._a("textColor",n.brushToString(this.i.cv))},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("ListPanelComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var c=i.i.$type.name;0===c.indexOf("Xam")&&(c=c.substring(3));var p=n.toSpinal(c);a.push(p+"-"+r+"-"),a.push(p+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.getLastVisibleIndex=function(){return this.i.a4()},i.prototype.getFirstVisibleIndex=function(){return this.i.a3()},i.prototype.invalidateVisibleItems=function(){this.i.by()},i.prototype.notifySetItem=function(t,e,n){this.i.b4(t,e,n)},i.prototype.notifyClearItems=function(){this.i.b1()},i.prototype.notifyInsertItem=function(t,e){this.i.b2(t,e)},i.prototype.notifyRemoveItem=function(t,e){this.i.b3(t,e)},i.prototype.dataIndexOfItem=function(t){return this.i.a1(t)},i.prototype.dataIndexOfPrimaryKey=function(t){return this.i.a2(t)},Object.defineProperty(i.prototype,"contentRefreshed",{get:function(){return this._contentRefreshed},set:function(t){var e=this;null!==this._contentRefreshed_wrapped&&(this.i.contentRefreshed=n.delegateRemove(this.i.contentRefreshed,this._contentRefreshed_wrapped),this._contentRefreshed_wrapped=null,this._contentRefreshed=null),this._contentRefreshed=t,this._contentRefreshed_wrapped=function(t,n){var i=new tt;i._provideImplementation(n),e.beforeContentRefreshed&&e.beforeContentRefreshed(e,i),e._contentRefreshed&&e._contentRefreshed(e,i)},this.i.contentRefreshed=n.delegateCombine(this.i.contentRefreshed,this._contentRefreshed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rowUpdating",{get:function(){return this._rowUpdating},set:function(t){var e=this;null!==this._rowUpdating_wrapped&&(this.i.rowUpdating=n.delegateRemove(this.i.rowUpdating,this._rowUpdating_wrapped),this._rowUpdating_wrapped=null,this._rowUpdating=null),this._rowUpdating=t,this._rowUpdating_wrapped=function(t,n){var i=new Z;i._provideImplementation(n),e.beforeRowUpdating&&e.beforeRowUpdating(e,i),e._rowUpdating&&e._rowUpdating(e,i)},this.i.rowUpdating=n.delegateCombine(this.i.rowUpdating,this._rowUpdating_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"itemWidthRequested",{get:function(){return this._itemWidthRequested},set:function(t){var e=this;null!==this._itemWidthRequested_wrapped&&(this.i.itemWidthRequested=n.delegateRemove(this.i.itemWidthRequested,this._itemWidthRequested_wrapped),this._itemWidthRequested_wrapped=null,this._itemWidthRequested=null),this._itemWidthRequested=t,this._itemWidthRequested_wrapped=function(t,n){var i=new et;i._provideImplementation(n),e.beforeItemWidthRequested&&e.beforeItemWidthRequested(e,i),e._itemWidthRequested&&e._itemWidthRequested(e,i)},this.i.itemWidthRequested=n.delegateCombine(this.i.itemWidthRequested,this._itemWidthRequested_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"itemHeightRequested",{get:function(){return this._itemHeightRequested},set:function(t){var e=this;null!==this._itemHeightRequested_wrapped&&(this.i.itemHeightRequested=n.delegateRemove(this.i.itemHeightRequested,this._itemHeightRequested_wrapped),this._itemHeightRequested_wrapped=null,this._itemHeightRequested=null),this._itemHeightRequested=t,this._itemHeightRequested_wrapped=function(t,n){var i=new nt;i._provideImplementation(n),e.beforeItemHeightRequested&&e.beforeItemHeightRequested(e,i),e._itemHeightRequested&&e._itemHeightRequested(e,i)},this.i.itemHeightRequested=n.delegateCombine(this.i.itemHeightRequested,this._itemHeightRequested_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcListPanelComponent=null,i.htmlTagName="igc-list-panel",i._isElementRegistered=!1,i}(n.IgcHTMLElement),rt=function(){function t(){}return t.register=function(){it.register(),n.TypeRegistrar.registerCons("IgcListPanelComponent",it),n.TypeRegistrar.registerCons("IgcListPanelComponent",it),n.TypeRegistrar.register("ListPanel",X.$type)},t}(),ot=function(t){function i(){var e=t.call(this)||this;return e.e=0,e.g=0,e.f=0,e.a=0,e.b=0,e.d=0,e.c=0,e.e=NaN,e.g=NaN,e.f=NaN,e.d=NaN,e.c=NaN,e}return e.__extends(i,t),i.$t=n.markType(i,"ToolActionMeasurementContext"),i}(n.Base),at=function(t){function i(){var e=t.call(this)||this;return e.a=null,e}return e.__extends(i,t),i.$t=n.markType(i,"ToolCommandEventArgs"),i}(n.Base),st=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t}({}),lt=n.markEnum("ToolPanelOrientation","Vertical,0|Horizontal,1"),ut=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.$t=n.markType(i,"ToolPanelContentRefreshedEventArgs"),i}(n.Base),ct=function(t){function i(){var e,i=t.call(this)||this;return i.p=null,i.o=null,i.c=null,i.k=null,i.n=null,i.g=null,i.m=null,i.d=((e=new n.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="Normal",e),i.ad=new n.Size,i.e=null,i._gridExternal=null,i.h=!1,i.l=null,i}return e.__extends(i,t),i.prototype.r=function(){return this.k},i.prototype.x=function(){},i.prototype.v=function(t){if(null!=t){this.c.a=new n.DOMExecutionContext(t),this.k=t,this.n=this.k.createElement("canvas"),this.g=new n.RenderingContext(new n.CanvasViewRenderer,this.k.get2DCanvasContext(this.n)),this.m=this.k.createElement("div"),this.aa();var e=new X,i=this.k.createElement("div");i.setStyleProperty("width","100%"),i.setStyleProperty("height","100%"),this.k.append(i);var r=this.k.getSubRenderer(i);e.provideContainer(r);var o=this.k.getExternal(e,this.k.rootWrapper,this.k.getExternal(this.c,null,null));e.externalListPanel=o,this.c.at(e);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.k.rootWrapper.setStyleProperty("position","relative")}else this.k=null},i.prototype.aa=function(){},i.prototype.z=function(){this.k},i.prototype.u=function(){if(null!=this.k){var t=this.k.rootWrapper.width(),e=this.k.rootWrapper.height();this.ad=new n.Size(1,t,e),this.c.az(this.ad),this.c.r}},i.prototype.ab=function(){var t=this.k;if(null!=t){var e=t.rootWrapper;null!=e&&(n.NativeUI.o(e,this.c.be),n.NativeUI.k(e,this.c.bb))}},i.prototype.f=function(){return this.d},i.prototype.w=function(){},i.prototype.y=function(){},i.prototype.t=function(){},i.prototype.i=function(){return this.ad.width},i.prototype.j=function(t){return this.e=this.c.q(),n.FontUtil.measureStringWidth(t,this.e,this.g)},i.prototype.s=function(t,e){null==this.l&&(this.l=this.k.createElement("div")),e(this.l.getNativeElement())},i.prototype.a=function(){var t=new n.Popup;this.k.getExternal(t,this.k.rootWrapper,this.k.getExternal(this.c,null,null));return t},i.prototype.b=function(t){var e=new It;this.k.getExternal(e,this.k.rootWrapper,this.k.getExternal(this.c,null,null));return t.x.appendChild(e.l.k.rootWrapper.getNativeElement()),e},i.prototype.ac=function(t){var e=t.getBoundingClientRect(),i=e.left,r=e.top,o=e.width,a=e.height;return new n.Rect(0,i,r,o,a)},i.$t=n.markType(i,"ToolPanelView"),i}(n.Base),pt=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=null,e.ag=null,e.ab=null,e.aa=null,e.w=null,e.f=0,e.m=n.DeviceUtils.g(5),e.n=n.DeviceUtils.g(5),e.l=n.DeviceUtils.g(2),e.o=n.DeviceUtils.g(2),e.af=null,e.ae=null,e.ad=null,e.ac=null,e.propertyChanged=null,e.onCommand=null,e.performed=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"ar",{get:function(){return null!=this.au?this.au:null!=this.as?this.a4(this.as):null},enumerable:!0,configurable:!0}),i.prototype.a4=function(t){return n.stringReplace(t," ","_")},i.prototype.b=function(t){var e,n=this;return(e=new At).a=n,e.d=t,e},i.prototype.i=function(){var t,e=this;return(t=new n.ToolCommandArgument).argumentName=e.a2(),t.value=e.y(),t},i.prototype.a2=function(){return null!=this.ai?this.ai:null!=this.ar?this.ar:"Unknown"},i.prototype.y=function(){return null!=this.x?this.x:this.z()},i.prototype.z=function(){return null},Object.defineProperty(i.prototype,"a0",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.bb("ParentId",e,this.ag)},enumerable:!0,configurable:!0}),i.prototype.a3=function(){return null!=this.al?this.al:this.ar},Object.defineProperty(i.prototype,"al",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.bb("CommandId",e,this.ab)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ai",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.bb("CommandArgument",e,this.aa)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"x",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.bb("CommandArgumentValue",e,this.w)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"g",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&this.bb("BaseTheme",n.enumGetBox(n.BaseControlTheme_$type,e),n.enumGetBox(n.BaseControlTheme_$type,t))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"t",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.bb("PaddingLeft",e,this.m)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"u",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.bb("PaddingRight",e,this.n)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"s",{get:function(){return this.l},set:function(t){var e=this.l;this.l=t,e!=this.l&&this.bb("PaddingBottom",e,this.l)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"v",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.bb("PaddingTop",e,this.o)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"k",{get:function(){return null!=this.a0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"au",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.bb("Name",e,this.af)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"as",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.bb("Label",e,this.ae)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ap",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.bb("IconName",e,this.ad)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"an",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.bb("IconCollectionName",e,this.ac)},enumerable:!0,configurable:!0}),i.prototype.bb=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.bf(t,e,i)},i.prototype.get_h=function(){return 0},Object.defineProperty(i.prototype,"h",{get:function(){return this.get_h()},enumerable:!0,configurable:!0}),i.prototype.bf=function(t,e,n){switch(t){case"BaseTheme":this.bh()}},i.prototype.bh=function(){},i.prototype.bd=function(t,e,n,i){this.be(t,e,n,i)},i.prototype.be=function(t,e,n,i){},i.prototype.a7=function(t,e){this.a8(t,e)},i.prototype.a8=function(t,e){if(e.e=this.p(t,e),e.g=this.r(t,e),e.f=this.q(t,e),1==e.a){var i=0;n.isNaN_(e.e)||(i+=e.e),n.isNaN_(e.g)||(i+=e.g),n.isNaN_(e.f)||(i+=e.f),i+=this.t+this.u,e.d=i}},i.prototype.q=function(t,e){return NaN},i.prototype.r=function(t,e){return null==this.as?NaN:t.l.j(this.as)},i.prototype.p=function(t,e){return NaN},i.prototype.bc=function(t,e){if(this.bg(),this.k){var n=this.e.c(this.a0);null!=n&&n.ba(this)}else if(this.e.w(this)){if(null!=this.performed){var i=new Tt;this.a6(this,i,e),this.performed(this,((r=new wt).c=!0,r.b=i,r))}}else null!=this.performed&&this.performed(this,function(){var e=new wt;return e.c=!1,e.a=t,e}());var r},i.prototype.bg=function(){var t=this.a3();if(null!=t){var e=new n.ToolCommand;e.commandId=t;var i,r=new n.List$1(n.ToolCommandArgument.$,0);this.a5(this,r),e.argumentsList=r.toArray(),null!=this.onCommand&&this.onCommand(this,((i=new at).a=e,i)),null!=this.e&&this.e.a1(this,e)}},i.prototype.a5=function(t,e){var n=t.i();null!=n&&e.add(n);var i=this.e.aa(t);if(null!=i)for(var r=0;r<i.count;r++)i._inner[r].j()&&this.a5(i._inner[r],e)},i.prototype.j=function(){return!0},i.prototype.ba=function(t){if(this.k){var e=this.e.c(this.a0);null!=e&&e.ba(t)}else this.bc(this.b(!1),t)},i.prototype.a6=function(t,e,n){var i=t.b(t==n);e.add(i);var r=this.e.aa(t);if(null!=r)for(var o=0;o<r.count;o++)this.a6(r._inner[o],e,n)},i.a=function(t){var e=null;switch(t.a){case 2:e=new vt;break;case 1:e=new mt;break;case 3:e=new yt;break;case 4:e=new ft;break;case 5:e=new Ct;break;case 6:e=new dt;break;case 7:e=new bt;break;case 8:e=new _t;break;case 9:e=new ht;break;case 0:return null}return e.a9(t),e},i.prototype.a9=function(t){this.au=t.name,this.as=t.label,this.ai=t.commandArgument,this.x=t.commandArgumentValue,this.al=t.commandId,this.ap=t.iconName,this.an=t.iconCollectionName,this.t=t.paddingLeft,this.u=t.paddingRight,this.v=t.paddingTop,this.s=t.paddingBottom,this.a0=t.parentId},i.$t=n.markType(i,"ToolAction",n.Base.$,[n.INotifyPropertyChanged_$type]),i}(n.Base),ht=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.bi=null,e}return e.__extends(i,t),i.prototype.get_h=function(){return 9},i.prototype.i=function(){return null},i.prototype.b=function(t){var e=new At;return e.a=this,e.b=this.h,e.d=t,e},i.prototype.r=function(t,e){return NaN},i.prototype.q=function(t,e){return 88},i.prototype.bk=function(t,e,i,r,o,a,s){null!=t.y&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.y)==this.h||(t.a6=e,1==s.a?e.f=0:e.f=3,e.bd(0,2,1),e.bc(0,0,1),e.ax=new n.Thickness(1,this.t,this.v,this.u,this.s),0==e.a0&&e.a1(i),e.bh(i,0),e.bg(i,0),this.bi=i,this.bi.a0=2,this.bi.az=n.runOn(this,this.bj)),i.a1=this.as,e.j=a.a.j},i.prototype.bj=function(t,e){this.bc(this.b(!0),this)},i.prototype.be=function(e,i,r,o){var a=this;t.prototype.be.call(this,e,i,r,o);var s=r.b;if(null==s.a6||null==s.y||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.y)!=this.h){var l=[0,0];this.g>=3&&this.g<=6&&(l=[0,2]),n.NativeUIComponent.ae(i.l.r(),[7,1],l,(function(t){var n=t[0],l=t[1];s.a6=n,a.bk(s,n,l,e,i,r,o)}))}else{var u=s.a6,c=u.az(0);this.bk(s,u,c,e,i,r,o)}},i.$t=n.markType(i,"ToolActionButton",pt.$),i}(pt),ft=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.prototype.get_h=function(){return 4},i.prototype.bj=function(t,e,i,r,o,a,s){null!=t.y&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.y)==this.h||(t.a6=e,1==s.a?e.f=0:e.f=3,e.bd(0,2,1),e.bc(0,1,n.isNaN_(s.e)?0:s.e),e.bc(1,1,n.isNaN_(s.g)?0:s.g),e.ax=new n.Thickness(1,this.t,this.v,this.u,this.s),0==e.a0&&e.a1(i),e.bh(i,0),e.bg(i,1),i.g=1,e.a7=n.runOn(this,this.bi)),e.j=a.a.j,e.ao=n.BrushUtil.g(0,0,0,0),i.az=this.as,i.aq=n.BrushUtil.g(255,20,20,20)},i.prototype.bi=function(t,e){this.bc(this.b(!1),this)},i.prototype.be=function(e,i,r,o){var a=this;t.prototype.be.call(this,e,i,r,o);var s=r.b;if(null==s.a6||null==s.y||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.y)!=this.h)n.NativeUIComponent.af(i.l.r(),[7,3],(function(t){var n=t[0],l=t[1];s.a6=n,a.bj(s,n,l,e,i,r,o)}));else{var l=s.a6,u=l.az(0);this.bj(s,l,u,e,i,r,o)}},i.$t=n.markType(i,"ToolActionLabel",pt.$),i}(pt),dt=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.bj="channel_1",e.bi=null,e}return e.__extends(i,t),i.prototype.get_h=function(){return 6},Object.defineProperty(i.prototype,"bk",{get:function(){return this.bj},set:function(t){this.bj=t},enumerable:!0,configurable:!0}),i.prototype.b=function(t){var e=new At;return e.a=this,e.b=this.h,e.d=t,null!=this.bi&&(e.c=this.bi.a1),e},i.prototype.z=function(){return this.bi.a1},i.prototype.bl=function(){null!=this.bi&&(this.bi.a1=!1)},i.prototype.q=function(t,e){return 30},i.prototype.bh=function(){null!=this.bi&&(this.bi.c=this.g)},i.prototype.bn=function(t,e,i,r,o,a,s,l){null!=t.y&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.y)==this.h||(t.a6=e,1==l.a?e.f=0:e.f=3,e.bd(0,2,1),e.bc(0,1,n.isNaN_(l.e)?0:l.e),e.bc(1,1,n.isNaN_(l.g)?0:l.g),e.bc(2,2,1),e.ax=new n.Thickness(1,this.t,this.v,this.u,this.s),0==e.a0&&(e.a1(i),e.a1(r)),e.bh(i,0),e.bg(i,1),e.bh(r,0),e.bg(r,2),this.bi=r,r.a2=25,r.a0=!0,r.f=2,r.g=1,r.az=n.runOn(this,this.bm),i.g=1),e.j=s.a.j,i.az=this.as,i.aq=n.BrushUtil.g(255,20,20,20)},i.prototype.bm=function(t,e){this.bc(this.b(!0),this)},i.prototype.be=function(e,i,r,o){var a=this;t.prototype.be.call(this,e,i,r,o);var s=r.b;if(null==s.a6||null==s.y||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.y)!=this.h){var l=[0,0,0];this.g>=3&&this.g<=6&&(l=[0,0,2]),n.NativeUIComponent.ae(i.l.r(),[7,3,6],l,(function(t){var n=t[0],l=t[1],u=t[2];s.a6=n,a.bn(s,n,l,u,e,i,r,o)}))}else{var u=s.a6,c=u.az(0),p=u.az(1);this.bn(s,u,c,p,e,i,r,o)}},i.$t=n.markType(i,"ToolActionRadio",pt.$),i}(pt),bt=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.prototype.get_h=function(){return 7},i.prototype.a8=function(e,n){t.prototype.a8.call(this,e,n),1==n.a?n.d=2:n.c=2},i.prototype.bi=function(t,e,i,r,o,a){null!=t.y&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.y)==this.h||(t.a6=e,1==a.a?(e.f=0,e.g=3):e.f=3),1==a.a?e.p=n.DeviceUtils.g(2):e.j=n.DeviceUtils.g(2),e.ao=n.BrushUtil.g(255,200,200,200),e.ap=n.BrushUtil.g(255,80,80,80)},i.prototype.be=function(e,i,r,o){var a=this;t.prototype.be.call(this,e,i,r,o);var s=r.b;if(null==s.a6||null==s.y||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.y)!=this.h)n.NativeUIComponent.af(i.l.r(),[7],(function(t){var n=t[0];s.a6=n,a.bi(s,n,e,i,r,o)}));else{var l=s.a6;this.bi(s,l,e,i,r,o)}},i.$t=n.markType(i,"ToolActionSeparator",pt.$),i}(pt),yt=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.bi=null,e}return e.__extends(i,t),i.prototype.get_h=function(){return 3},i.prototype.i=function(){return null},i.prototype.b=function(t){var e=new At;return e.a=this,e.b=this.h,e.d=t,e},i.prototype.q=function(t,e){return 30},i.prototype.bh=function(){null!=this.bi&&(this.bi.c=this.g)},i.prototype.bk=function(t,e,i,r,o,a,s){null!=t.y&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.y)==this.h||(t.a6=e,1==s.a?e.f=0:e.f=3,e.bd(0,2,1),e.bc(0,1,n.isNaN_(s.f)?0:s.f),e.ax=new n.Thickness(1,this.t,this.v,this.u,this.s),0==e.a0&&e.a1(i),e.bh(i,0),e.bg(i,0),this.bi=i,this.bi.a0=2,this.bi.az=n.runOn(this,this.bj)),this.bi.a3=this.ap,this.bi.a2=this.an,e.j=a.a.j},i.prototype.bj=function(t,e){this.bc(this.b(!0),this)},i.prototype.be=function(e,i,r,o){var a=this;t.prototype.be.call(this,e,i,r,o);var s=r.b;if(null==s.a6||null==s.y||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.y)!=this.h){var l=[0,0];this.g>=3&&this.g<=6&&(l=[0,2]),n.NativeUIComponent.ae(i.l.r(),[7,10],l,(function(t){var n=t[0],l=t[1];s.a6=n,a.bk(s,n,l,e,i,r,o)}))}else{var u=s.a6,c=u.az(0);this.bk(s,u,c,e,i,r,o)}},i.$t=n.markType(i,"ToolActionIconButton",pt.$),i}(pt),mt=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.prototype.get_h=function(){return 1},i.prototype.bi=function(t,e,i,r,o,a,s){null!=t.y&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.y)==this.h||(t.a6=e,1==s.a?e.f=0:e.f=3,e.bd(0,2,1),e.bc(0,1,n.isNaN_(s.e)?0:s.e),e.bc(1,2,1),e.ax=new n.Thickness(1,this.t,this.v,this.u,this.s),0==e.a0&&e.a1(i),i.g=1),e.j=a.a.j,e.ao=n.BrushUtil.g(255,200,200,200),e.ap=n.BrushUtil.g(255,80,80,80),e.av=new n.Thickness(1,0,0,0,2),i.az=this.as,i.aq=n.BrushUtil.g(255,20,20,20),e.bh(i,0),e.bg(i,1)},i.prototype.be=function(e,i,r,o){var a=this;t.prototype.be.call(this,e,i,r,o);var s=r.b;if(null==s.a6||null==s.y||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.y)!=this.h)n.NativeUIComponent.af(i.l.r(),[7,3],(function(t){var n=t[0],l=t[1];s.a6=n,a.bi(s,n,l,e,i,r,o)}));else{var l=s.a6,u=l.az(0);this.bi(s,l,u,e,i,r,o)}},i.$t=n.markType(i,"ToolActionGroupHeader",pt.$),i}(pt),gt=function(t){function i(){var e=t.call(this)||this;e.bl=new Pt,e.bq=!1,e.bi=null,e.bo=null,e.bp=!1,e.bn=null,e.bs=!1,e.br=!1;var i=e.bl;return i.collectionChanged=n.delegateCombine(i.collectionChanged,n.runOn(e,e.bu)),e}return e.__extends(i,t),i.prototype.i=function(){return null},i.prototype.a9=function(e){t.prototype.a9.call(this,e);var n=e;if(null!=n.actions)for(var i=0;i<n.actions.length;i++)this.bl.add(pt.a(n.actions[i]))},i.prototype.bu=function(t,e){this.bz()},i.prototype.bz=function(){},Object.defineProperty(i.prototype,"actions",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.bb("Actions",e,this.bl)},enumerable:!0,configurable:!0}),i.prototype.b=function(t){var e=new At;return e.a=this,e.b=this.h,e.d=t,e},i.prototype.b0=function(){this.bx(),this.bw(),this.by(),this.bi.t||this.br?this.br?this.br=!1:this.bi.ao():this.bs?this.b1():this.br=!0},i.prototype.b1=function(){this.bi.showRelativeToExclusionRect(this.b2(),this.bk(),this.bj())},i.prototype.bj=function(){return 1},i.prototype.bk=function(){return 1},i.prototype.by=function(){this.bp||(this.bp=!0,this.bi.appendPopupContent(this.bo.x))},i.prototype.bx=function(){if(null==this.bi){if(null==this.e)return;this.bi=this.e.l.a()}},i.prototype.bw=function(){var t=this;if(null==this.bo){n.NativeUIContent.ah(this.e.l.r(),0,(function(e){return t.bo=e})),this.bn=this.e.l.b(this.bo);var e=this.bn;e.contentRefreshed=n.delegateCombine(e.contentRefreshed,n.runOn(this,this.bv)),this.bn.actions=this.actions,this.bn.n=this.g}},i.prototype.bv=function(t,e){this.bs=!0,this.bi.ar(),this.br&&(this.br=!1,this.b1())},i.$t=n.markType(i,"ToolActionMenuBase",pt.$),i}(pt),_t=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b3=null,e}return e.__extends(i,t),i.prototype.get_h=function(){return 3},i.prototype.q=function(t,e){return 30},i.prototype.b2=function(){return this.e.l.ac(this.b3.x)},i.prototype.b5=function(t,e,i,r,o,a,s){null!=t.y&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.y)==this.h||(t.a6=e,1==s.a?e.f=0:e.f=3,e.bd(0,2,1),e.bc(0,1,n.isNaN_(s.f)?0:s.f),e.ax=new n.Thickness(1,this.t,this.v,this.u,this.s),0==e.a0&&e.a1(i),e.bh(i,0),e.bg(i,0),this.b3=i,this.b3.a0=2,this.b3.az=n.runOn(this,this.b4)),this.b3.a3=this.ap,this.b3.a2=this.an,e.j=a.a.j},i.prototype.b4=function(t,e){this.b0()},i.prototype.be=function(e,i,r,o){var a=this;t.prototype.be.call(this,e,i,r,o);var s=r.b;if(null==s.a6||null==s.y||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.y)!=this.h)n.NativeUIComponent.af(i.l.r(),[7,10],(function(t){var n=t[0],l=t[1];s.a6=n,a.b5(s,n,l,e,i,r,o)}));else{var l=s.a6,u=l.az(0);this.b5(s,l,u,e,i,r,o)}},i.$t=n.markType(i,"ToolActionIconMenu",gt.$),i}(gt),vt=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.bi=null,e}return e.__extends(i,t),i.prototype.get_h=function(){return 2},i.prototype.b=function(t){var e=new At;return e.a=this,e.b=this.h,e.d=t,null!=this.bi&&(e.c=this.bi.a1),e},i.prototype.z=function(){return this.bi.a1},i.prototype.q=function(t,e){return 30},i.prototype.bk=function(t,e,i,r,o,a,s,l){null!=t.y&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.y)==this.h||(t.a6=e,1==l.a?e.f=0:e.f=3,e.bd(0,2,1),e.bc(0,1,n.isNaN_(l.e)?0:l.e),e.bc(1,1,n.isNaN_(l.g)?0:l.g),e.bc(2,2,1),e.ax=new n.Thickness(1,this.t,this.v,this.u,this.s),0==e.a0&&(e.a1(i),e.a1(r)),e.bh(i,0),e.bg(i,1),e.bh(r,0),e.bg(r,2),this.bi=r,r.a0=!0,r.f=2,r.g=1,r.az=n.runOn(this,this.bj),i.g=1),e.j=s.a.j,i.az=this.as,i.aq=n.BrushUtil.g(255,20,20,20)},i.prototype.bj=function(t,e){this.bc(this.b(!0),this)},i.prototype.be=function(e,i,r,o){var a=this;t.prototype.be.call(this,e,i,r,o);var s=r.b;if(null==s.a6||null==s.y||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.y)!=this.h){var l=[0,0,0];this.g>=3&&this.g<=6&&(l=[0,0,2]),n.NativeUIComponent.ae(i.l.r(),[7,3,6],l,(function(t){var n=t[0],l=t[1],u=t[2];s.a6=n,a.bk(s,n,l,u,e,i,r,o)}))}else{var u=s.a6,c=u.az(0),p=u.az(1);this.bk(s,u,c,p,e,i,r,o)}},i.$t=n.markType(i,"ToolActionCheckbox",pt.$),i}(pt),Ct=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.bi=null,e}return e.__extends(i,t),i.prototype.get_h=function(){return 5},i.prototype.z=function(){return this.bj()},i.prototype.q=function(t,e){return 100},i.prototype.bh=function(){null!=this.bi&&(this.bi.c=this.g)},i.prototype.bl=function(t,e,i,r,o,a,s,l){null!=t.y&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.y)==this.h||(t.a6=e,1==l.a?e.f=0:e.f=3,e.bd(0,2,1),e.bc(0,1,n.isNaN_(l.e)?0:l.e),e.bc(1,1,n.isNaN_(l.g)?0:l.g),e.bc(1,2,1),e.ax=new n.Thickness(1,this.t,this.v,this.u,this.s),0==e.a0&&(e.a1(i),e.a1(r)),e.bh(i,0),e.bg(i,1),e.bh(r,0),e.bg(r,2),this.bi=r,r.p=100,r.az=2,r.a2=1,r.f=2,r.g=1,r.a3=1,r.a1=n.runOn(this,this.bk),i.g=1),e.j=s.a.j,i.az=this.as,i.aq=n.BrushUtil.g(255,20,20,20)},i.prototype.bj=function(){var t,e,i=this;return t=NaN,null!=this.bi&&(e=n.tryParseNumber(i.bi.a4,t),t=e.p1,e.ret),t},i.prototype.b=function(t){var e=new At;return e.a=this,e.d=t,e.b=this.h,e.f=this.bj(),e},i.prototype.bk=function(t,e){var n=this.b(!0);this.bc(n,this)},i.prototype.be=function(e,i,r,o){var a=this;t.prototype.be.call(this,e,i,r,o);var s=r.b;if(null==s.a6||null==s.y||n.EnumUtil.getEnumValue(n.ToolActionType_$type,s.y)!=this.h){var l=[0,0,0];this.g>=3&&this.g<=6&&(l=[0,0,2]),n.NativeUIComponent.ae(i.l.r(),[7,3,2],l,(function(t){var n=t[0],l=t[1],u=t[2];s.a6=n,a.bl(s,n,l,u,e,i,r,o)}))}else{var u=s.a6,c=u.az(0),p=u.az(1);this.bl(s,u,c,p,e,i,r,o)}},i.$t=n.markType(i,"ToolActionNumberInput",pt.$),i}(pt),Pt=function(t){function i(){return t.call(this,pt.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"ToolActionCollection",n.ObservableCollection$1.$.specialize(pt.$)),i}(n.ObservableCollection$1),wt=function(t){function i(){var e=t.call(this)||this;return e.c=!1,e.a=null,e.b=null,e.b=new Tt,e}return e.__extends(i,t),i.$t=n.markType(i,"ToolActionPerformedEventArgs"),i}(n.Base),At=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.b=0,e.d=!1,e.c=!1,e.f=0,e.e=new Date,e.g=null,e}return e.__extends(i,t),i.$t=n.markType(i,"ToolActionEventDetail"),i}(n.Base),Tt=function(t){function i(){return t.call(this,At.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"ToolActionEventDetailCollection",n.ObservableCollection$1.$.specialize(At.$)),i}(n.ObservableCollection$1),It=function(t){function r(){var e=t.call(this)||this;e.l=null,e.r=null,e.u=!1,e.s=null,e.f=new ot,e.propertyChanged=null,e.d=new Pt,e.contentRefreshed=null,e.v=!1,e.y=new n.Dictionary$2(n.String_$type,n.List$1.$.specialize(pt.$),0),e.z=new n.Dictionary$2(n.String_$type,n.List$1.$.specialize(pt.$),0),e.x=new n.Dictionary$2(n.String_$type,pt.$,0),e.o=null,e.a=null,e.m=0,e.a9=r.bc,e.ba=r.bd,e.b=null,e.ab=Number.POSITIVE_INFINITY,e.i=r.j,e.onCommand=null;var o=e.actions;o.collectionChanged=n.delegateCombine(o.collectionChanged,n.runOn(e,e.an)),i.NativeUIXInputsFactory.h(),n.NativeUIInputsFactory.n();var a=new ct;return a.c=e,e.l=a,e.l.x(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"t",{get:function(){return null==this.s&&(this.s=new n.SRProvider(this.l.k),this.s.cb("Layouts")),this.s},enumerable:!0,configurable:!0}),r.prototype.at=function(t){this.b=t;var e=this.b;e.rowUpdating=n.delegateCombine(e.rowUpdating,n.runOn(this,this.am));var i=this.b;i.contentRefreshed=n.delegateCombine(i.contentRefreshed,n.runOn(this,this.aj)),this.b.k=this.k,this.b.ai=!0;var r=this.b;r.itemHeightRequested=n.delegateCombine(r.itemHeightRequested,n.runOn(this,this.ak));var o=this.b;o.itemWidthRequested=n.delegateCombine(o.itemWidthRequested,n.runOn(this,this.al))},r.prototype.aj=function(t,e){null!=this.contentRefreshed&&this.contentRefreshed(this,new ut)},r.prototype.ak=function(t,e){var i=e.c,r=new ot;this.a2(r),i.a7(this,r),n.isNaN_(r.c)?e.a=this.b.av:e.a=r.c},r.prototype.al=function(t,e){var i=e.c,r=new ot;this.a2(r),i.a7(this,r),n.isNaN_(r.d)||(e.a=r.d)},r.prototype.am=function(t,e){var n=e.a.n,i=t;if(1==this.k){var r=new ot;this.a2(r),n.a7(this,r),n.bd(i,this,e,r)}else n.bd(i,this,e,this.f)},r.prototype.az=function(t){this.ab=t.width,this.a5(),this.b.notifySizeChanged()},Object.defineProperty(r.prototype,"actions",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.a0("Actions",e,this.d)},enumerable:!0,configurable:!0}),r.prototype.an=function(t,i){var r,o,a,s;if(null!=i.oldItems)try{for(var l=e.__values(n.fromEn(i.oldItems)),u=l.next();!u.done;u=l.next()){var c=u.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,c)){var p=c;p.propertyChanged=n.delegateRemove(p.propertyChanged,n.runOn(this,this.au))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}if(null!=i.newItems)try{for(var h=e.__values(n.fromEn(i.newItems)),f=h.next();!f.done;f=h.next()){var d=f.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=n.delegateCombine(b.propertyChanged,n.runOn(this,this.au))}}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}this.a8(),this.ay()},r.prototype.ay=function(){this.a5()},r.prototype.a5=function(){this.v||(this.v=!0,this.a.enqueueAction(n.runOn(this,this.aq)))},r.prototype.aq=function(){if(this.v){this.v=!1,this.ao(),this.a7();for(var t=0;t<this.d.count;t++)this.av(this.d._inner[t]);this.ar()}},r.prototype.ao=function(){this.y.clear(),this.z.clear(),this.x.clear();for(var t=0;t<this.d.count;t++)this.d._inner[t].e=this,null!=this.d._inner[t].ar&&this.x.item(this.d._inner[t].ar,this.d._inner[t]);for(var e=0;e<this.d.count;e++){if(null!=this.d._inner[e].a0)if(this.x.containsKey(this.d._inner[e].a0))this.y.containsKey(this.d._inner[e].a0)||this.y.item(this.d._inner[e].a0,new n.List$1(pt.$,0)),this.y.item(this.d._inner[e].a0).add(this.d._inner[e])}for(var i=0;i<this.d.count;i++)if(6==this.d._inner[i].h){var r=this.d._inner[i].bk;this.z.containsKey(r)||this.z.item(r,new n.List$1(pt.$,0)),this.z.item(r).add(this.d._inner[i])}},r.prototype.w=function(t){return null!=t.ar&&this.y.containsKey(t.ar)},r.prototype.c=function(t){return this.x.containsKey(t)?this.x.item(t):null},r.prototype.aa=function(t){return null==t.ar?null:this.y.containsKey(t.ar)?this.y.item(t.ar):null},r.prototype.av=function(t){var e=new ot;this.a2(e),t.a7(this,e),this.aw(this.f,e)},r.prototype.a2=function(t){t.a=this.k,t.b=this.ab},r.prototype.aw=function(t,e){n.isNaN_(e.e)||(n.isNaN_(t.e)?t.e=e.e:t.e=Math.max(t.e,e.e)),n.isNaN_(e.g)||(n.isNaN_(t.g)?t.g=e.g:t.g=Math.max(t.g,e.g))},r.prototype.a7=function(){this.f=new ot,this.f.a=this.k,this.f.b=this.ab},r.prototype.ar=function(){this.b.itemsSource!=this.actions&&(this.b.itemsSource=this.actions)},r.prototype.as=function(){this.v&&this.aq(),null!=this.b&&this.b.bt()},r.prototype.a6=function(t){var e=t.bk,n=t.ar;if(null!=this.z&&this.z.containsKey(e))for(var i=0;i<this.z.item(e).count;i++)this.z.item(e)._inner[i].ar!=n&&this.z.item(e)._inner[i].bl()},r.prototype.au=function(t,e){this.ay()},r.prototype.notifySizeChanged=function(){this.l.u()},r.prototype.destroy=function(){this.provideContainer(null)},r.prototype.provideContainer=function(t){this.l.v(t)},Object.defineProperty(r.prototype,"p",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.a0("CellTextStyle",e,this.o)},enumerable:!0,configurable:!0}),r.prototype.q=function(){return null==this.p?this.l.f():this.p},r.prototype.a0=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.a3(t,e,i)},r.prototype.a3=function(t,e,i){switch(t){case"BaseTheme":this.a8();break;case"CellTextStyle":this.a5();break;case"BackgroundColor":case"TextColor":this.a5();break;case"Orientation":null!=this.b&&(this.b.k=this.k);break;case"Actions":if(null!=e){var r=e;r.collectionChanged=n.delegateRemove(r.collectionChanged,n.runOn(this,this.an))}if(null!=i){var o=i;o.collectionChanged=n.delegateCombine(o.collectionChanged,n.runOn(this,this.an))}this.a5()}},r.prototype.a8=function(){for(var t=0;t<this.d.count;t++)this.d._inner[t].g=this.n},Object.defineProperty(r.prototype,"n",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.a0("BaseTheme",n.enumGetBox(n.BaseControlTheme_$type,e),n.enumGetBox(n.BaseControlTheme_$type,t))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bb",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.a0("BackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"be",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.a0("TextColor",e,t)},enumerable:!0,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.a0("Orientation",n.enumGetBox(lt,e),n.enumGetBox(lt,t))},enumerable:!0,configurable:!0}),r.prototype.a1=function(t,e){var n;null!=this.onCommand&&this.onCommand(this,((n=new at).a=e,n)),6==t.h&&this.a6(t)},r.$t=n.markType(r,"ToolPanel",n.Base.$,[n.INotifyPropertyChanged_$type]),r.bc=n.BrushUtil.g(255,248,248,248),r.bd=n.BrushUtil.g(255,24,29,31),r.j=0,r}(n.Base),Ot=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new at},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"command",{get:function(){return this.i.a},set:function(t){this.i.a=t},enumerable:!0,configurable:!0}),t}(),St=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new At},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"action",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=xt._createFromInternal(t);e&&(e._implementation=t),t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"actionType",{get:function(){return this.i.b},set:function(t){this.i.b=n.ensureEnum(n.ToolActionType_$type,t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isModified",{get:function(){return this.i.d},set:function(t){this.i.d=n.ensureBool(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"boolValue",{get:function(){return this.i.c},set:function(t){this.i.c=n.ensureBool(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"numberValue",{get:function(){return this.i.f},set:function(t){this.i.f=+t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dateTimeValue",{get:function(){return this.i.e},set:function(t){this.i.e=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untypedValue",{get:function(){return this.i.g},set:function(t){this.i.g=t},enumerable:!0,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):this.action&&this.action.name&&this.action.name==t?this.action:null},t}(),kt=function(t){function i(e){var i=t.call(this)||this;if(St.$type||(St.$type=n.markType(St,"IgcToolActionEventDetail")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){St.$type||(St.$type=n.markType(St,"IgcToolActionEventDetail"));var t=new n.SyncableObservableCollection$2(St.$type,At.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new St)&&(e._implementation=t),e},t},i}(n.IgCollection),jt=function(){function t(){this._detailCollection=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new wt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"isAggregate",{get:function(){return this.i.c},set:function(t){this.i.c=n.ensureBool(t)},enumerable:!0,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 St;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:!0,configurable:!0}),Object.defineProperty(t.prototype,"detailCollection",{get:function(){if(null===this._detailCollection){var t=new kt,e=this.i.b;e||(e=new Tt),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 kt;this._detailCollection=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(At.$type),r=this.i.b;r||(r=new Tt),i._inner=r,i.clear(),this._detailCollection._setSyncTarget(i),this.i.b=r},enumerable:!0,configurable:!0}),t}(),xt=function(t){function i(){var e=t.call(this)||this;return 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._onCommand=null,e._onCommand_wrapped=null,e._performed=null,e._performed_wrapped=null,e._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e}return e.__extends(i,t),i.prototype.createImplementation=function(){return new pt},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return n.TypeRegistrar.isRegistered(e)?n.TypeRegistrar.create(e):null},i.prototype.onImplementationCreated=function(){},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionComponent=t}return i._observedAttributesIgcToolActionComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"id",{get:function(){return this.i.ar},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"parentId",{get:function(){return this.i.a0},set:function(t){this.i.a0=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"commandId",{get:function(){return this.i.al},set:function(t){this.i.al=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"commandArgument",{get:function(){return this.i.ai},set:function(t){this.i.ai=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"commandArgumentValue",{get:function(){return this.i.x},set:function(t){this.i.x=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"baseTheme",{get:function(){return this.i.g},set:function(t){this.i.g=n.ensureEnum(n.BaseControlTheme_$type,t),this._a("baseTheme",n.enumToString(n.BaseControlTheme_$type,this.i.g))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"paddingLeft",{get:function(){return this.i.t},set:function(t){this.i.t=+t,this._a("paddingLeft",this.i.t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"paddingRight",{get:function(){return this.i.u},set:function(t){this.i.u=+t,this._a("paddingRight",this.i.u)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"paddingBottom",{get:function(){return this.i.s},set:function(t){this.i.s=+t,this._a("paddingBottom",this.i.s)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"paddingTop",{get:function(){return this.i.v},set:function(t){this.i.v=+t,this._a("paddingTop",this.i.v)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"name",{get:function(){return this.i.au},set:function(t){this.i.au=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"label",{get:function(){return this.i.as},set:function(t){this.i.as=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"iconName",{get:function(){return this.i.ap},set:function(t){this.i.ap=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"iconCollectionName",{get:function(){return this.i.an},set:function(t){this.i.an=t},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("ToolActionComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var c=i.i.$type.name;0===c.indexOf("Xam")&&(c=c.substring(3));var p=n.toSpinal(c);a.push(p+"-"+r+"-"),a.push(p+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.fromInfo=function(t){this.i.a9(t)},Object.defineProperty(i.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=n.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,n){var i=new Ot;i._provideImplementation(n),e.beforeOnCommand&&e.beforeOnCommand(e,i),e._onCommand&&e._onCommand(e,i)},this.i.onCommand=n.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"performed",{get:function(){return this._performed},set:function(t){var e=this;null!==this._performed_wrapped&&(this.i.performed=n.delegateRemove(this.i.performed,this._performed_wrapped),this._performed_wrapped=null,this._performed=null),this._performed=t,this._performed_wrapped=function(t,n){var i=new jt;i._provideImplementation(n),e.beforePerformed&&e.beforePerformed(e,i),e._performed&&e._performed(e,i)},this.i.performed=n.delegateCombine(this.i.performed,this._performed_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcToolActionComponent=null,i.htmlTagName="igc-tool-action",i._isElementRegistered=!1,i}(n.IgcHTMLElement),Et=function(t){function i(e){var i=t.call(this)||this;if(xt.$type||(xt.$type=n.markType(xt,"IgcToolActionComponent")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){xt.$type||(xt.$type=n.markType(xt,"IgcToolActionComponent"));var t=new n.SyncableObservableCollection$2(xt.$type,pt.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new xt)&&(e._implementation=t),e},t},i}(n.IgCollection),Rt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new ut},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),Nt=function(t){function i(){var i=t.call(this)||this;return i._implementation=null,i.contentActions=[],i.actualActions=[],i._actions=null,i._actionsAdapter=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._contentRefreshed=null,i._contentRefreshed_wrapped=null,i._onCommand=null,i._onCommand_wrapped=null,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._implementation.externalObject=i,i._portalManager=new n.PortalManager("toolPanelContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._webComponentWrapper=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._webComponentWrapper),i._webComponentWrapper.setStyleProperty("display","block"),i._webComponentWrapper.setStyleProperty("width","100%"),i._webComponentWrapper.setStyleProperty("height","100%"),i._actionsAdapter=new n.CollectionAdapter(i.contentActions,i.i.actions,i.actualActions,(function(t){return t.i}),(function(t){i._webComponentRenderer&&i._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(i,i,i)}),(function(t){})),i.i.provideContainer(i._webComponentRenderer),i.i.notifySizeChanged(),new MutationObserver((function(t){var n,r;try{for(var o=e.__values(t),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&i.updateContentProperties()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i._webComponentRenderer.addSizeWatcher((function(){i.i.notifySizeChanged()})),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new Et;e._innerColl.addListener((function(e,i){switch(i.action){case n.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(i.oldStartingIndex);break;case n.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(i.oldStartingIndex),t._actionsAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}})),this._actions=e}return this._actions},enumerable:!0,configurable:!0}),i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.updateContentProperties=function(){this.contentActions.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof xt&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},i.prototype.createImplementation=function(){return new It},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.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()}},i.prototype.afterContentInit=function(){this.i.notifySizeChanged()},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolPanelComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolPanelComponent=t}return i._observedAttributesIgcToolPanelComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"cellTextStyle",{get:function(){return null==this.i.p?null:this.i.p.fontString},set:function(t){var e=new n.FontInfo;e.fontString=t,this.i.p=e,this._a("cellTextStyle",null!=this.i.p?this.i.p.fontString:"")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"baseTheme",{get:function(){return this.i.n},set:function(t){this.i.n=n.ensureEnum(n.BaseControlTheme_$type,t),this._a("baseTheme",n.enumToString(n.BaseControlTheme_$type,this.i.n))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"backgroundColor",{get:function(){return n.brushToString(this.i.bb)},set:function(t){this.i.bb=n.stringToBrush(t),this._a("backgroundColor",n.brushToString(this.i.bb))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"textColor",{get:function(){return n.brushToString(this.i.be)},set:function(t){this.i.be=n.stringToBrush(t),this._a("textColor",n.brushToString(this.i.be))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"orientation",{get:function(){return this.i.k},set:function(t){this.i.k=n.ensureEnum(lt,t),this._a("orientation",n.enumToString(lt,this.i.k))},enumerable:!0,configurable:!0}),i.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(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("ToolPanelComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var c=i.i.$type.name;0===c.indexOf("Xam")&&(c=c.substring(3));var p=n.toSpinal(c);a.push(p+"-"+r+"-"),a.push(p+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},Object.defineProperty(i.prototype,"contentRefreshed",{get:function(){return this._contentRefreshed},set:function(t){var e=this;null!==this._contentRefreshed_wrapped&&(this.i.contentRefreshed=n.delegateRemove(this.i.contentRefreshed,this._contentRefreshed_wrapped),this._contentRefreshed_wrapped=null,this._contentRefreshed=null),this._contentRefreshed=t,this._contentRefreshed_wrapped=function(t,n){var i=new Rt;i._provideImplementation(n),e.beforeContentRefreshed&&e.beforeContentRefreshed(e,i),e._contentRefreshed&&e._contentRefreshed(e,i)},this.i.contentRefreshed=n.delegateCombine(this.i.contentRefreshed,this._contentRefreshed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=n.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,n){var i=new Ot;i._provideImplementation(n),e.beforeOnCommand&&e.beforeOnCommand(e,i),e._onCommand&&e._onCommand(e,i)},this.i.onCommand=n.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcToolPanelComponent=null,i.htmlTagName="igc-tool-panel",i._isElementRegistered=!1,i}(n.IgcHTMLElement),$t=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t}({}),Bt=n.markEnum("ToolbarOrientation","Vertical,0|Horizontal,1"),qt=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.c=function(){i.a||(i.a=!0,i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"))},i.b=function(t,e){n.SvgIconRegistry.instance.addSvgPathString("default",t,e)},i.$t=n.markType(i,"ToolbarIconManager"),i.a=!1,i}(n.Base),Ut=function(t){function i(){var e,i=t.call(this)||this;return i.n=null,i.m=null,i.a=null,i.i=null,i.l=null,i.e=null,i.k=null,i.b=((e=new n.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="Normal",e),i.aa=new n.Size,i.c=null,i._gridExternal=null,i.f=!1,i.j=null,i}return e.__extends(i,t),i.prototype.p=function(){return this.i},i.prototype.v=function(){},i.prototype.t=function(t){if(null!=t){this.a.a=new n.DOMExecutionContext(t),this.i=t,this.l=this.i.createElement("canvas"),this.e=new n.RenderingContext(new n.CanvasViewRenderer,this.i.get2DCanvasContext(this.l)),this.k=this.i.createElement("div"),this.y();var e=new It,i=this.i.createElement("div");i.setStyleProperty("width","100%"),i.setStyleProperty("height","100%"),this.i.append(i);var r=this.i.getSubRenderer(i);e.provideContainer(r);this.i.getExternal(e,this.i.rootWrapper,this.i.getExternal(this.a,null,null));this.a.aq(e);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.i.rootWrapper.setStyleProperty("position","relative")}else this.i=null},i.prototype.y=function(){},i.prototype.x=function(){this.i},i.prototype.s=function(){if(null!=this.i){var t=this.i.rootWrapper.width(),e=this.i.rootWrapper.height();this.aa=new n.Size(1,t,e),this.a.at(this.aa)}},i.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(n.NativeUI.o(e,this.a.a6),n.NativeUI.k(e,this.a.a3))}},i.prototype.d=function(){return this.b},i.prototype.u=function(){},i.prototype.w=function(){},i.prototype.r=function(){},i.prototype.g=function(){return this.aa.width},i.prototype.h=function(t){return this.c=this.a.r(),n.FontUtil.measureStringWidth(t,this.c,this.e)},i.prototype.q=function(t,e){null==this.j&&(this.j=this.i.createElement("div")),e(this.j.getNativeElement())},i.$t=n.markType(i,"ToolbarView"),i}(n.Base),Dt=function(t){function r(){var e=t.call(this)||this;e.k=null,e.u=!1,e.s=null,e.l=null,e.m=0,e.d=new Pt,e.b=new Pt,e.c=new Pt,e.h=r.i,e.o=null,e.w=r.x,e.a1=r.a4,e.a2=r.a5,e.p=null,e.v=!1,e.propertyChanged=null,e.a=null,qt.c();var o=e.actions;o.collectionChanged=n.delegateCombine(o.collectionChanged,n.runOn(e,e.ak));var a=e.actualActions;a.collectionChanged=n.delegateCombine(a.collectionChanged,n.runOn(e,e.am)),n.NativeUIInputsFactory.n(),i.NativeUIXInputsFactory.h();var s=new Ut;return s.a=e,e.k=s,e.k.v(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"t",{get:function(){return null==this.s&&(this.s=new n.SRProvider(this.k.i),this.s.cb("Layouts")),this.s},enumerable:!0,configurable:!0}),r.prototype.aq=function(t){this.l=t,this.l.n=this.m;var e=this.l;e.onCommand=n.delegateCombine(e.onCommand,n.runOn(this,this.aj)),this.l.k=this.j},r.prototype.aj=function(t,e){null!=this.o&&this.o.onToolCommandExecuting(e.a)},r.prototype.at=function(t){this.l.notifySizeChanged()},Object.defineProperty(r.prototype,"n",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.au("BaseTheme",n.enumGetBox(n.BaseControlTheme_$type,e),n.enumGetBox(n.BaseControlTheme_$type,t))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"autoGeneratedActions",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.au("AutoGeneratedActions",e,this.d)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"actions",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,e!=this.b&&this.au("Actions",e,this.b)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"actualActions",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.au("ActualActions",e,this.c)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"j",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,e!=this.h&&this.au("Orientation",n.enumGetBox(Bt,e),n.enumGetBox(Bt,t))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"y",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.au("Target",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"a3",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.au("BackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"a6",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.au("TextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"q",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.au("CellTextStyle",e,this.p)},enumerable:!0,configurable:!0}),r.prototype.r=function(){return null==this.q?this.k.d():this.q},r.prototype.ak=function(t,i){var r,o,a,s;if(null!=i.oldItems)try{for(var l=e.__values(n.fromEn(i.oldItems)),u=l.next();!u.done;u=l.next()){var c=u.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,c)){var p=c;p.propertyChanged=n.delegateRemove(p.propertyChanged,n.runOn(this,this.al))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}if(null!=i.newItems)try{for(var h=e.__values(n.fromEn(i.newItems)),f=h.next();!f.done;f=h.next()){var d=f.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=n.delegateCombine(b.propertyChanged,n.runOn(this,this.al))}}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}this.as()},r.prototype.am=function(t,e){this.a0()},r.prototype.a0=function(){for(var t=0;t<this.actualActions.count;t++)this.actualActions._inner[t].g=this.n},r.prototype.al=function(t,e){this.as()},r.prototype.as=function(){this.ay()},r.prototype.ay=function(){this.v||(this.v=!0,this.a.enqueueAction(n.runOn(this,this.ao)))},r.prototype.ao=function(){this.v&&(this.v=!1,this.az(),this.l.actions!=this.actualActions&&(this.l.actions=this.actualActions))},r.prototype.az=function(){this.actualActions.clear();for(var t=0;t<this.actions.count;t++)this.actualActions.add(this.actions._inner[t]);for(var e=0;e<this.autoGeneratedActions.count;e++)this.actualActions.add(this.autoGeneratedActions._inner[e])},r.prototype.ap=function(){this.v&&this.ao()},r.prototype.notifySizeChanged=function(){this.k.s()},r.prototype.destroy=function(){this.provideContainer(null)},r.prototype.provideContainer=function(t){this.k.t(t)},r.prototype.au=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.aw(t,e,i)},r.prototype.aw=function(t,e,n){switch(t){case"CellTextStyle":this.ay();break;case"BackgroundColor":case"TextColor":this.ay();break;case"Orientation":null!=this.l&&(this.l.k=this.j);break;case"Target":var i=n,r=e;this.av(r,i)}},r.prototype.av=function(t,e){if(this.o=e,null!=t&&(this.autoGeneratedActions.clear(),this.ay()),null!=e){this.autoGeneratedActions.clear();var n=e.getDesiredToolbarActions();if(null!=n)for(var i=0;i<n.length;i++){var r=pt.a(n[i]);this.autoGeneratedActions.add(r)}this.ay()}},r.$t=n.markType(r,"Toolbar",n.Base.$,[n.INotifyPropertyChanged_$type]),r.i=1,r.x=null,r.a4=n.BrushUtil.g(255,248,248,248),r.a5=n.BrushUtil.g(255,24,29,31),r}(n.Base),zt=function(t){function i(){var i=t.call(this)||this;return i._implementation=null,i.contentActions=[],i.combinedActions=[],i._actions=null,i._actionsAdapter=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i._autoGeneratedActions=null,i._actualActions=null,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._implementation.externalObject=i,i._portalManager=new n.PortalManager("toolbarContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._webComponentWrapper=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._webComponentWrapper),i._webComponentWrapper.setStyleProperty("display","block"),i._webComponentWrapper.setStyleProperty("width","100%"),i._webComponentWrapper.setStyleProperty("height","100%"),i._actionsAdapter=new n.CollectionAdapter(i.contentActions,i.i.actions,i.combinedActions,(function(t){return t.i}),(function(t){i._webComponentRenderer&&i._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(i,i,i)}),(function(t){})),i.i.provideContainer(i._webComponentRenderer),i.i.notifySizeChanged(),new MutationObserver((function(t){var n,r;try{for(var o=e.__values(t),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&i.updateContentProperties()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i._webComponentRenderer.addSizeWatcher((function(){i.i.notifySizeChanged()})),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new Et;e._innerColl.addListener((function(e,i){switch(i.action){case n.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(i.oldStartingIndex);break;case n.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(i.oldStartingIndex),t._actionsAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}})),this._actions=e}return this._actions},enumerable:!0,configurable:!0}),i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.updateContentProperties=function(){this.contentActions.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof xt&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},i.prototype.createImplementation=function(){return new Dt},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.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()}},i.prototype.afterContentInit=function(){this.i.notifySizeChanged()},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.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},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolbarComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolbarComponent=t}return i._observedAttributesIgcToolbarComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"baseTheme",{get:function(){return this.i.n},set:function(t){this.i.n=n.ensureEnum(n.BaseControlTheme_$type,t),this._a("baseTheme",n.enumToString(n.BaseControlTheme_$type,this.i.n))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"autoGeneratedActions",{get:function(){if(null===this._autoGeneratedActions){var t=new Et,e=this.i.autoGeneratedActions;e||(e=new Pt),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 Et;this._autoGeneratedActions=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(pt.$type),r=this.i.autoGeneratedActions;r||(r=new Pt),i._inner=r,i.clear(),this._autoGeneratedActions._setSyncTarget(i),this.i.autoGeneratedActions=r},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualActions",{get:function(){if(null===this._actualActions){var t=new Et,e=this.i.actualActions;e||(e=new Pt),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 Et;this._actualActions=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(pt.$type),r=this.i.actualActions;r||(r=new Pt),i._inner=r,i.clear(),this._actualActions._setSyncTarget(i),this.i.actualActions=r},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"orientation",{get:function(){return this.i.j},set:function(t){this.i.j=n.ensureEnum(Bt,t),this._a("orientation",n.enumToString(Bt,this.i.j))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"target",{get:function(){return this.i.y},set:function(t){this.i.y=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"backgroundColor",{get:function(){return n.brushToString(this.i.a3)},set:function(t){this.i.a3=n.stringToBrush(t),this._a("backgroundColor",n.brushToString(this.i.a3))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"textColor",{get:function(){return n.brushToString(this.i.a6)},set:function(t){this.i.a6=n.stringToBrush(t),this._a("textColor",n.brushToString(this.i.a6))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"cellTextStyle",{get:function(){return null==this.i.q?null:this.i.q.fontString},set:function(t){var e=new n.FontInfo;e.fontString=t,this.i.q=e,this._a("cellTextStyle",null!=this.i.q?this.i.q.fontString:"")},enumerable:!0,configurable:!0}),i.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(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){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=n.toSpinal("ToolbarComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(o=l.name).indexOf("Xam")&&(o=o.substring(3));var u=n.toSpinal(o);a.push(u+"-"),l=l.baseType}if(i){var c=i.i.$type.name;0===c.indexOf("Xam")&&(c=c.substring(3));var p=n.toSpinal(c);a.push(p+"-"+r+"-"),a.push(p+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i._observedAttributesIgcToolbarComponent=null,i.htmlTagName="igc-toolbar",i._isElementRegistered=!1,i}(n.IgcHTMLElement),Vt=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new vt},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionCheckboxComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionCheckboxComponent=t}return i._observedAttributesIgcToolActionCheckboxComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionCheckboxComponent=null,i.htmlTagName="igc-tool-action-checkbox",i._isElementRegistered=!1,i}(xt),Lt=function(){function t(){}return t.register=function(){Vt.register(),n.TypeRegistrar.registerCons("IgcToolActionCheckboxComponent",Vt),n.TypeRegistrar.register("ToolActionCheckbox",vt.$type)},t}(),Mt=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new mt},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionGroupHeaderComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionGroupHeaderComponent=t}return i._observedAttributesIgcToolActionGroupHeaderComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionGroupHeaderComponent=null,i.htmlTagName="igc-tool-action-group-header",i._isElementRegistered=!1,i}(xt),Wt=function(){function t(){}return t.register=function(){Mt.register(),n.TypeRegistrar.registerCons("IgcToolActionGroupHeaderComponent",Mt),n.TypeRegistrar.register("ToolActionGroupHeader",mt.$type)},t}(),Ht=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new Ct},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionNumberInputComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionNumberInputComponent=t}return i._observedAttributesIgcToolActionNumberInputComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionNumberInputComponent=null,i.htmlTagName="igc-tool-action-number-input",i._isElementRegistered=!1,i}(xt),Ft=function(){function t(){}return t.register=function(){Ht.register(),n.TypeRegistrar.registerCons("IgcToolActionNumberInputComponent",Ht),n.TypeRegistrar.register("ToolActionNumberInput",Ct.$type)},t}(),Gt=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new yt},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionIconButtonComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionIconButtonComponent=t}return i._observedAttributesIgcToolActionIconButtonComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionIconButtonComponent=null,i.htmlTagName="igc-tool-action-icon-button",i._isElementRegistered=!1,i}(xt),Kt=function(){function t(){}return t.register=function(){Gt.register(),n.TypeRegistrar.registerCons("IgcToolActionIconButtonComponent",Gt),n.TypeRegistrar.register("ToolActionIconButton",yt.$type)},t}(),Xt=function(t){function i(){var e=t.call(this)||this;return e._actions=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionMenuBaseComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionMenuBaseComponent=t}return i._observedAttributesIgcToolActionMenuBaseComponent},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actions",{get:function(){if(null===this._actions){var t=new Et,e=this.i.actions;e||(e=new Pt),this._actions=t._fromInner(e),this.i.actions=e}return this._actions},set:function(t){null!==this._actions&&(this._actions._setSyncTarget(null),this._actions=null);var e=new Et;this._actions=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(pt.$type),r=this.i.actions;r||(r=new Pt),i._inner=r,i.clear(),this._actions._setSyncTarget(i),this.i.actions=r},enumerable:!0,configurable:!0}),i.prototype.findByName=function(e){var n=t.prototype.findByName.call(this,e);return n||(null!=this.actions&&this.actions.findByName&&this.actions.findByName(e)?this.actions.findByName(e):null)},i.prototype.fromInfo=function(t){this.i.a9(t)},i._observedAttributesIgcToolActionMenuBaseComponent=null,i}(xt),Qt=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new _t},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionIconMenuComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionIconMenuComponent=t}return i._observedAttributesIgcToolActionIconMenuComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionIconMenuComponent=null,i.htmlTagName="igc-tool-action-icon-menu",i._isElementRegistered=!1,i}(Xt),Jt=function(){function t(){}return t.register=function(){Qt.register(),n.TypeRegistrar.registerCons("IgcToolActionIconMenuComponent",Qt),n.TypeRegistrar.register("ToolActionIconMenu",_t.$type)},t}(),Yt=function(){function t(){}return t.register=function(){rt.register(),Lt.register(),Wt.register(),Ft.register(),Kt.register(),Jt.register(),Nt.register(),n.TypeRegistrar.registerCons("IgcToolPanelComponent",Nt),n.TypeRegistrar.registerCons("IgcToolPanelComponent",Nt),n.TypeRegistrar.register("ToolPanel",It.$type)},t}(),Zt=function(){function t(){}return t.register=function(){Yt.register(),zt.register(),n.TypeRegistrar.registerCons("IgcToolbarComponent",zt),n.TypeRegistrar.registerCons("IgcToolbarComponent",zt),n.TypeRegistrar.register("Toolbar",Dt.$type)},t}(),te=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new ht},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionButtonComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionButtonComponent=t}return i._observedAttributesIgcToolActionButtonComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionButtonComponent=null,i.htmlTagName="igc-tool-action-button",i._isElementRegistered=!1,i}(xt),ee=function(){function t(){}return t.register=function(){te.register(),n.TypeRegistrar.registerCons("IgcToolActionButtonComponent",te),n.TypeRegistrar.register("ToolActionButton",ht.$type)},t}(),ne=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new ft},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionLabelComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionLabelComponent=t}return i._observedAttributesIgcToolActionLabelComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionLabelComponent=null,i.htmlTagName="igc-tool-action-label",i._isElementRegistered=!1,i}(xt),ie=function(){function t(){}return t.register=function(){ne.register(),n.TypeRegistrar.registerCons("IgcToolActionLabelComponent",ne),n.TypeRegistrar.register("ToolActionLabel",ft.$type)},t}(),re=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new dt},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionRadioComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionRadioComponent=t}return i._observedAttributesIgcToolActionRadioComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"channel",{get:function(){return this.i.bk},set:function(t){this.i.bk=t},enumerable:!0,configurable:!0}),i._observedAttributesIgcToolActionRadioComponent=null,i.htmlTagName="igc-tool-action-radio",i._isElementRegistered=!1,i}(xt),oe=function(){function t(){}return t.register=function(){re.register(),n.TypeRegistrar.registerCons("IgcToolActionRadioComponent",re),n.TypeRegistrar.register("ToolActionRadio",dt.$type)},t}(),ae=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new bt},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},i.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcToolActionSeparatorComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcToolActionSeparatorComponent=t}return i._observedAttributesIgcToolActionSeparatorComponent},enumerable:!0,configurable:!0}),i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},i._observedAttributesIgcToolActionSeparatorComponent=null,i.htmlTagName="igc-tool-action-separator",i._isElementRegistered=!1,i}(xt),se=function(){function t(){}return t.register=function(){ae.register(),n.TypeRegistrar.registerCons("IgcToolActionSeparatorComponent",ae),n.TypeRegistrar.register("ToolActionSeparator",bt.$type)},t}(),le=function(){function t(){}return t.register=function(){xt.register(),n.TypeRegistrar.registerCons("IgcToolActionComponent",xt),n.TypeRegistrar.register("ToolAction",pt.$type)},t}(),ue=new n.Type(null,"IExternalToolbar"),ce=new n.Type(null,"IToolbarView"),pe=new n.Type(null,"IExternalToolPanel"),he=new n.Type(null,"IToolPanelView"),fe=new n.Type(null,"IExternalListPanel"),de=new n.Type(null,"IListPanelView"),be=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.b=null,e.c=null,e}return e.__extends(i,t),i.$t=n.markType(i,"ListPanelDataBindingEventArgs"),i}(n.Base),ye=new n.Type(null,"IPropertyEditorPanelView"),me=n.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),ge=n.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),_e=function(t){function i(e){var i=t.call(this)||this;if(k.$type||(k.$type=n.markType(k,"IgcPropertyEditorPropertyDescriptionComponent")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){k.$type||(k.$type=n.markType(k,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new n.SyncableObservableCollection$2(k.$type,g.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new k)&&(e._implementation=t),e},t},i}(n.IgCollection),ve=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.Name=null,e.Value=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPanelDropDownDataListItem"),i}(n.Base),Ce=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new v},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.n},set:function(t){this.i.n=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!0,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}();t.ExpansionPanelUtilities=r,t.ExpansionPanelView=s,t.HorizontalPropertyEditorPanelDataSource=N,t.IExternalListPanel_$type=fe,t.IExternalToolPanel_$type=pe,t.IExternalToolbar_$type=ue,t.IListPanelView_$type=de,t.IPropertyEditorPanelView_$type=ye,t.IToolPanelView_$type=he,t.IToolbarView_$type=ce,t.IgcHorizontalPropertyEditorPanelDataSource=_e,t.IgcListPanelComponent=it,t.IgcListPanelContentRefreshedEventArgs=tt,t.IgcListPanelItemModel=Y,t.IgcListPanelModule=rt,t.IgcListPanelTemplateHeightRequestedEventArgs=nt,t.IgcListPanelTemplateItemUpdatingEventArgs=Z,t.IgcListPanelTemplateWidthRequestedEventArgs=et,t.IgcOnCollapsedEventArgs=c,t.IgcOnExpandedEventArgs=u,t.IgcPropertyEditorDataSource=Ce,t.IgcPropertyEditorDescriptionObject=A,t.IgcPropertyEditorDescriptionObjectCollection=T,t.IgcPropertyEditorPanelComponent=U,t.IgcPropertyEditorPanelModule=D,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=I,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=O,t.IgcPropertyEditorPropertyDescriptionCollection=w,t.IgcPropertyEditorPropertyDescriptionComponent=k,t.IgcPropertyEditorPropertyDescriptionModule=j,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=S,t.IgcToolActionButtonComponent=te,t.IgcToolActionButtonModule=ee,t.IgcToolActionCheckboxComponent=Vt,t.IgcToolActionCheckboxModule=Lt,t.IgcToolActionCollection=Et,t.IgcToolActionComponent=xt,t.IgcToolActionEventDetail=St,t.IgcToolActionEventDetailCollection=kt,t.IgcToolActionGroupHeaderComponent=Mt,t.IgcToolActionGroupHeaderModule=Wt,t.IgcToolActionIconButtonComponent=Gt,t.IgcToolActionIconButtonModule=Kt,t.IgcToolActionIconMenuComponent=Qt,t.IgcToolActionIconMenuModule=Jt,t.IgcToolActionLabelComponent=ne,t.IgcToolActionLabelModule=ie,t.IgcToolActionMenuBaseComponent=Xt,t.IgcToolActionModule=le,t.IgcToolActionNumberInputComponent=Ht,t.IgcToolActionNumberInputModule=Ft,t.IgcToolActionPerformedEventArgs=jt,t.IgcToolActionRadioComponent=re,t.IgcToolActionRadioModule=oe,t.IgcToolActionSeparatorComponent=ae,t.IgcToolActionSeparatorModule=se,t.IgcToolCommandEventArgs=Ot,t.IgcToolPanelComponent=Nt,t.IgcToolPanelContentRefreshedEventArgs=Rt,t.IgcToolPanelModule=Yt,t.IgcToolbarComponent=zt,t.IgcToolbarModule=Zt,t.IgcXExpansionPanelComponent=p,t.IgcXExpansionPanelModule=h,t.ListPanel=X,t.ListPanelContentRefreshedEventArgs=M,t.ListPanelDataBindingEventArgs=be,t.ListPanelDataSourceNotificationBridge=Q,t.ListPanelItemModel=L,t.ListPanelItemPresenter=W,t.ListPanelLayoutPanel=J,t.ListPanelOrientation=z,t.ListPanelOrientation_$type=V,t.ListPanelTemplateHeightRequestedEventArgs=G,t.ListPanelTemplateItemUpdatingEventArgs=H,t.ListPanelTemplateWidthRequestedEventArgs=F,t.ListPanelView=K,t.OnCollapsedEventArgs=o,t.OnExpandedEventArgs=a,t.PropertyEditorDataSource=v,t.PropertyEditorDescriptionObject=C,t.PropertyEditorDescriptionObjectCollection=P,t.PropertyEditorPanel=q,t.PropertyEditorPanelColumnDefinition=R,t.PropertyEditorPanelColumnFieldType_$type=ge,t.PropertyEditorPanelColumnType_$type=me,t.PropertyEditorPanelDataBindingEventArgs=E,t.PropertyEditorPanelDropDownDataListItem=ve,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=x,t.PropertyEditorPanelView=B,t.PropertyEditorPropertyDescription=g,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=b,t.PropertyEditorPropertyDescriptionChangedEventArgs=y,t.PropertyEditorPropertyDescriptionCollection=_,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=m,t.PropertyEditorTreeTransformer=$,t.PropertyEditorValueType=f,t.PropertyEditorValueType_$type=d,t.ToolAction=pt,t.ToolActionButton=ht,t.ToolActionCheckbox=vt,t.ToolActionCollection=Pt,t.ToolActionEventDetail=At,t.ToolActionEventDetailCollection=Tt,t.ToolActionGroupHeader=mt,t.ToolActionIconButton=yt,t.ToolActionIconMenu=_t,t.ToolActionLabel=ft,t.ToolActionMeasurementContext=ot,t.ToolActionMenuBase=gt,t.ToolActionNumberInput=Ct,t.ToolActionPerformedEventArgs=wt,t.ToolActionRadio=dt,t.ToolActionSeparator=bt,t.ToolCommandEventArgs=at,t.ToolPanel=It,t.ToolPanelContentRefreshedEventArgs=ut,t.ToolPanelOrientation=st,t.ToolPanelOrientation_$type=lt,t.ToolPanelView=ct,t.Toolbar=Dt,t.ToolbarIconManager=qt,t.ToolbarOrientation=$t,t.ToolbarOrientation_$type=Bt,t.ToolbarView=Ut,t.XExpansionPanel=l,Object.defineProperty(t,"__esModule",{value:!0})}));