igniteui-webcomponents-layouts 3.2.2 → 3.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-layouts.umd.js +6913 -146
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
- package/esm2015/lib/IExternalListPanel.js +11 -0
- package/esm2015/lib/IExternalToolPanel.js +11 -0
- package/esm2015/lib/IExternalToolbar.js +11 -0
- package/esm2015/lib/IListPanelView.js +11 -0
- package/esm2015/lib/IPropertyEditorPanelView.js +11 -0
- package/esm2015/lib/IToolPanelView.js +11 -0
- package/esm2015/lib/IToolbarView.js +11 -0
- package/esm2015/lib/ListPanel.js +7 -0
- package/esm2015/lib/ListPanelContentRefreshedEventArgs.js +19 -0
- package/esm2015/lib/ListPanelDataBindingEventArgs.js +22 -0
- package/esm2015/lib/ListPanelDataSourceNotificationBridge.js +7 -0
- package/esm2015/lib/ListPanelItemModel.js +62 -0
- package/esm2015/lib/ListPanelItemPresenter.js +20 -0
- package/esm2015/lib/ListPanelLayoutPanel.js +7 -0
- package/esm2015/lib/ListPanelOrientation.js +16 -0
- package/esm2015/lib/ListPanelTemplateHeightRequestedEventArgs.js +22 -0
- package/esm2015/lib/ListPanelTemplateItemUpdatingEventArgs.js +22 -0
- package/esm2015/lib/ListPanelTemplateWidthRequestedEventArgs.js +22 -0
- package/esm2015/lib/ListPanelView.js +7 -0
- package/esm2015/lib/ListPanelView_combined.js +972 -0
- package/esm2015/lib/PropertyEditorPanelView_combined.js +100 -100
- package/esm2015/lib/PropertyEditorTreeTransformer.js +8 -8
- package/esm2015/lib/ToolAction.js +7 -0
- package/esm2015/lib/ToolActionCheckbox.js +7 -0
- package/esm2015/lib/ToolActionCollection.js +7 -0
- package/esm2015/lib/ToolActionEventDetail.js +7 -0
- package/esm2015/lib/ToolActionEventDetailCollection.js +7 -0
- package/esm2015/lib/ToolActionGroupHeader.js +7 -0
- package/esm2015/lib/ToolActionIconButton.js +7 -0
- package/esm2015/lib/ToolActionIconMenu.js +7 -0
- package/esm2015/lib/ToolActionMeasurementContext.js +31 -0
- package/esm2015/lib/ToolActionMenuBase.js +7 -0
- package/esm2015/lib/ToolActionNumberInput.js +7 -0
- package/esm2015/lib/ToolActionPerformedEventArgs.js +7 -0
- package/esm2015/lib/ToolActionSeparator.js +7 -0
- package/esm2015/lib/ToolCommandEventArgs.js +20 -0
- package/esm2015/lib/ToolPanel.js +7 -0
- package/esm2015/lib/ToolPanelContentRefreshedEventArgs.js +19 -0
- package/esm2015/lib/ToolPanelOrientation.js +16 -0
- package/esm2015/lib/ToolPanelView.js +7 -0
- package/esm2015/lib/ToolPanelView_combined.js +1515 -0
- package/esm2015/lib/Toolbar.js +7 -0
- package/esm2015/lib/ToolbarIconManager.js +40 -0
- package/esm2015/lib/ToolbarOrientation.js +16 -0
- package/esm2015/lib/ToolbarView.js +7 -0
- package/esm2015/lib/ToolbarView_combined.js +387 -0
- package/esm2015/lib/igc-list-panel-component.js +457 -0
- package/esm2015/lib/igc-list-panel-content-refreshed-event-args.js +24 -0
- package/esm2015/lib/igc-list-panel-item-model.js +52 -0
- package/esm2015/lib/igc-list-panel-module.js +17 -0
- package/esm2015/lib/igc-list-panel-template-height-requested-event-args.js +42 -0
- package/esm2015/lib/igc-list-panel-template-item-updating-event-args.js +45 -0
- package/esm2015/lib/igc-list-panel-template-width-requested-event-args.js +42 -0
- package/esm2015/lib/igc-property-editor-panel-component.js +1 -5
- package/esm2015/lib/igc-tool-action-checkbox-component.js +49 -0
- package/esm2015/lib/igc-tool-action-checkbox-module.js +16 -0
- package/esm2015/lib/igc-tool-action-collection.js +48 -0
- package/esm2015/lib/igc-tool-action-component.js +312 -0
- package/esm2015/lib/igc-tool-action-event-detail-collection.js +48 -0
- package/esm2015/lib/igc-tool-action-event-detail.js +85 -0
- package/esm2015/lib/igc-tool-action-group-header-component.js +49 -0
- package/esm2015/lib/igc-tool-action-group-header-module.js +16 -0
- package/esm2015/lib/igc-tool-action-icon-button-component.js +49 -0
- package/esm2015/lib/igc-tool-action-icon-button-module.js +16 -0
- package/esm2015/lib/igc-tool-action-icon-menu-component.js +49 -0
- package/esm2015/lib/igc-tool-action-icon-menu-module.js +16 -0
- package/esm2015/lib/igc-tool-action-menu-base-component.js +89 -0
- package/esm2015/lib/igc-tool-action-module.js +16 -0
- package/esm2015/lib/igc-tool-action-number-input-component.js +49 -0
- package/esm2015/lib/igc-tool-action-number-input-module.js +16 -0
- package/esm2015/lib/igc-tool-action-performed-event-args.js +80 -0
- package/esm2015/lib/igc-tool-action-separator-component.js +49 -0
- package/esm2015/lib/igc-tool-action-separator-module.js +16 -0
- package/esm2015/lib/igc-tool-command-event-args.js +30 -0
- package/esm2015/lib/igc-tool-panel-component.js +379 -0
- package/esm2015/lib/igc-tool-panel-content-refreshed-event-args.js +24 -0
- package/esm2015/lib/igc-tool-panel-module.js +29 -0
- package/esm2015/lib/igc-toolbar-component.js +412 -0
- package/esm2015/lib/igc-toolbar-module.js +19 -0
- package/esm2015/public_api.js +73 -0
- package/esm5/lib/IExternalListPanel.js +11 -0
- package/esm5/lib/IExternalToolPanel.js +11 -0
- package/esm5/lib/IExternalToolbar.js +11 -0
- package/esm5/lib/IListPanelView.js +11 -0
- package/esm5/lib/IPropertyEditorPanelView.js +11 -0
- package/esm5/lib/IToolPanelView.js +11 -0
- package/esm5/lib/IToolbarView.js +11 -0
- package/esm5/lib/ListPanel.js +7 -0
- package/esm5/lib/ListPanelContentRefreshedEventArgs.js +20 -0
- package/esm5/lib/ListPanelDataBindingEventArgs.js +24 -0
- package/esm5/lib/ListPanelDataSourceNotificationBridge.js +7 -0
- package/esm5/lib/ListPanelItemModel.js +80 -0
- package/esm5/lib/ListPanelItemPresenter.js +22 -0
- package/esm5/lib/ListPanelLayoutPanel.js +7 -0
- package/esm5/lib/ListPanelOrientation.js +16 -0
- package/esm5/lib/ListPanelTemplateHeightRequestedEventArgs.js +24 -0
- package/esm5/lib/ListPanelTemplateItemUpdatingEventArgs.js +24 -0
- package/esm5/lib/ListPanelTemplateWidthRequestedEventArgs.js +24 -0
- package/esm5/lib/ListPanelView.js +7 -0
- package/esm5/lib/ListPanelView_combined.js +1045 -0
- package/esm5/lib/PropertyEditorPanelView_combined.js +100 -100
- package/esm5/lib/PropertyEditorTreeTransformer.js +8 -8
- package/esm5/lib/ToolAction.js +7 -0
- package/esm5/lib/ToolActionCheckbox.js +7 -0
- package/esm5/lib/ToolActionCollection.js +7 -0
- package/esm5/lib/ToolActionEventDetail.js +7 -0
- package/esm5/lib/ToolActionEventDetailCollection.js +7 -0
- package/esm5/lib/ToolActionGroupHeader.js +7 -0
- package/esm5/lib/ToolActionIconButton.js +7 -0
- package/esm5/lib/ToolActionIconMenu.js +7 -0
- package/esm5/lib/ToolActionMeasurementContext.js +33 -0
- package/esm5/lib/ToolActionMenuBase.js +7 -0
- package/esm5/lib/ToolActionNumberInput.js +7 -0
- package/esm5/lib/ToolActionPerformedEventArgs.js +7 -0
- package/esm5/lib/ToolActionSeparator.js +7 -0
- package/esm5/lib/ToolCommandEventArgs.js +22 -0
- package/esm5/lib/ToolPanel.js +7 -0
- package/esm5/lib/ToolPanelContentRefreshedEventArgs.js +20 -0
- package/esm5/lib/ToolPanelOrientation.js +16 -0
- package/esm5/lib/ToolPanelView.js +7 -0
- package/esm5/lib/ToolPanelView_combined.js +1663 -0
- package/esm5/lib/Toolbar.js +7 -0
- package/esm5/lib/ToolbarIconManager.js +44 -0
- package/esm5/lib/ToolbarOrientation.js +16 -0
- package/esm5/lib/ToolbarView.js +7 -0
- package/esm5/lib/ToolbarView_combined.js +459 -0
- package/esm5/lib/igc-list-panel-component.js +535 -0
- package/esm5/lib/igc-list-panel-content-refreshed-event-args.js +30 -0
- package/esm5/lib/igc-list-panel-item-model.js +74 -0
- package/esm5/lib/igc-list-panel-module.js +21 -0
- package/esm5/lib/igc-list-panel-template-height-requested-event-args.js +60 -0
- package/esm5/lib/igc-list-panel-template-item-updating-event-args.js +59 -0
- package/esm5/lib/igc-list-panel-template-width-requested-event-args.js +60 -0
- package/esm5/lib/igc-property-editor-panel-component.js +1 -5
- package/esm5/lib/igc-tool-action-checkbox-component.js +58 -0
- package/esm5/lib/igc-tool-action-checkbox-module.js +20 -0
- package/esm5/lib/igc-tool-action-collection.js +53 -0
- package/esm5/lib/igc-tool-action-component.js +388 -0
- package/esm5/lib/igc-tool-action-event-detail-collection.js +53 -0
- package/esm5/lib/igc-tool-action-event-detail.js +119 -0
- package/esm5/lib/igc-tool-action-group-header-component.js +58 -0
- package/esm5/lib/igc-tool-action-group-header-module.js +20 -0
- package/esm5/lib/igc-tool-action-icon-button-component.js +58 -0
- package/esm5/lib/igc-tool-action-icon-button-module.js +20 -0
- package/esm5/lib/igc-tool-action-icon-menu-component.js +58 -0
- package/esm5/lib/igc-tool-action-icon-menu-module.js +20 -0
- package/esm5/lib/igc-tool-action-menu-base-component.js +103 -0
- package/esm5/lib/igc-tool-action-module.js +20 -0
- package/esm5/lib/igc-tool-action-number-input-component.js +58 -0
- package/esm5/lib/igc-tool-action-number-input-module.js +20 -0
- package/esm5/lib/igc-tool-action-performed-event-args.js +98 -0
- package/esm5/lib/igc-tool-action-separator-component.js +58 -0
- package/esm5/lib/igc-tool-action-separator-module.js +20 -0
- package/esm5/lib/igc-tool-command-event-args.js +40 -0
- package/esm5/lib/igc-tool-panel-component.js +449 -0
- package/esm5/lib/igc-tool-panel-content-refreshed-event-args.js +30 -0
- package/esm5/lib/igc-tool-panel-module.js +33 -0
- package/esm5/lib/igc-toolbar-component.js +484 -0
- package/esm5/lib/igc-toolbar-module.js +23 -0
- package/esm5/public_api.js +73 -0
- package/fesm2015/igniteui-webcomponents-layouts.js +6038 -148
- package/fesm5/igniteui-webcomponents-layouts.js +6839 -148
- package/lib/IExternalListPanel.d.ts +13 -0
- package/lib/IExternalToolPanel.d.ts +13 -0
- package/lib/IExternalToolbar.d.ts +13 -0
- package/lib/IListPanelView.d.ts +25 -0
- package/lib/IPropertyEditorPanelView.d.ts +26 -0
- package/lib/IToolPanelView.d.ts +25 -0
- package/lib/IToolbarView.d.ts +25 -0
- package/lib/ListPanel.d.ts +1 -0
- package/lib/ListPanelContentRefreshedEventArgs.d.ts +8 -0
- package/lib/ListPanelDataBindingEventArgs.d.ts +10 -0
- package/lib/ListPanelDataSourceNotificationBridge.d.ts +1 -0
- package/lib/ListPanelItemModel.d.ts +22 -0
- package/lib/ListPanelItemPresenter.d.ts +9 -0
- package/lib/ListPanelLayoutPanel.d.ts +1 -0
- package/lib/ListPanelOrientation.d.ts +9 -0
- package/lib/ListPanelTemplateHeightRequestedEventArgs.d.ts +10 -0
- package/lib/ListPanelTemplateItemUpdatingEventArgs.d.ts +12 -0
- package/lib/ListPanelTemplateWidthRequestedEventArgs.d.ts +10 -0
- package/lib/ListPanelView.d.ts +1 -0
- package/lib/ListPanelView_combined.d.ts +197 -0
- package/lib/PropertyEditorPanelView_combined.d.ts +1 -1
- package/lib/ToolAction.d.ts +1 -0
- package/lib/ToolActionCheckbox.d.ts +1 -0
- package/lib/ToolActionCollection.d.ts +1 -0
- package/lib/ToolActionEventDetail.d.ts +1 -0
- package/lib/ToolActionEventDetailCollection.d.ts +1 -0
- package/lib/ToolActionGroupHeader.d.ts +1 -0
- package/lib/ToolActionIconButton.d.ts +1 -0
- package/lib/ToolActionIconMenu.d.ts +1 -0
- package/lib/ToolActionMeasurementContext.d.ts +16 -0
- package/lib/ToolActionMenuBase.d.ts +1 -0
- package/lib/ToolActionNumberInput.d.ts +1 -0
- package/lib/ToolActionPerformedEventArgs.d.ts +1 -0
- package/lib/ToolActionSeparator.d.ts +1 -0
- package/lib/ToolCommandEventArgs.d.ts +10 -0
- package/lib/ToolPanel.d.ts +1 -0
- package/lib/ToolPanelContentRefreshedEventArgs.d.ts +8 -0
- package/lib/ToolPanelOrientation.d.ts +9 -0
- package/lib/ToolPanelView.d.ts +1 -0
- package/lib/ToolPanelView_combined.d.ts +328 -0
- package/lib/Toolbar.d.ts +1 -0
- package/lib/ToolbarIconManager.d.ts +10 -0
- package/lib/ToolbarOrientation.d.ts +9 -0
- package/lib/ToolbarView.d.ts +1 -0
- package/lib/ToolbarView_combined.d.ts +98 -0
- package/lib/igc-list-panel-component.d.ts +122 -0
- package/lib/igc-list-panel-content-refreshed-event-args.d.ts +12 -0
- package/lib/igc-list-panel-item-model.d.ts +17 -0
- package/lib/igc-list-panel-module.d.ts +3 -0
- package/lib/igc-list-panel-template-height-requested-event-args.d.ts +15 -0
- package/lib/igc-list-panel-template-item-updating-event-args.d.ts +15 -0
- package/lib/igc-list-panel-template-width-requested-event-args.d.ts +15 -0
- package/lib/igc-property-editor-panel-component.d.ts +0 -2
- package/lib/igc-tool-action-checkbox-component.d.ts +16 -0
- package/lib/igc-tool-action-checkbox-module.d.ts +3 -0
- package/lib/igc-tool-action-collection.d.ts +8 -0
- package/lib/igc-tool-action-component.d.ts +64 -0
- package/lib/igc-tool-action-event-detail-collection.d.ts +8 -0
- package/lib/igc-tool-action-event-detail.d.ts +22 -0
- package/lib/igc-tool-action-group-header-component.d.ts +16 -0
- package/lib/igc-tool-action-group-header-module.d.ts +3 -0
- package/lib/igc-tool-action-icon-button-component.d.ts +16 -0
- package/lib/igc-tool-action-icon-button-module.d.ts +3 -0
- package/lib/igc-tool-action-icon-menu-component.d.ts +16 -0
- package/lib/igc-tool-action-icon-menu-module.d.ts +3 -0
- package/lib/igc-tool-action-menu-base-component.d.ts +24 -0
- package/lib/igc-tool-action-module.d.ts +3 -0
- package/lib/igc-tool-action-number-input-component.d.ts +16 -0
- package/lib/igc-tool-action-number-input-module.d.ts +3 -0
- package/lib/igc-tool-action-performed-event-args.d.ts +18 -0
- package/lib/igc-tool-action-separator-component.d.ts +16 -0
- package/lib/igc-tool-action-separator-module.d.ts +3 -0
- package/lib/igc-tool-command-event-args.d.ts +14 -0
- package/lib/igc-tool-panel-component.d.ts +83 -0
- package/lib/igc-tool-panel-content-refreshed-event-args.d.ts +12 -0
- package/lib/igc-tool-panel-module.d.ts +3 -0
- package/lib/igc-toolbar-component.d.ts +89 -0
- package/lib/igc-toolbar-module.d.ts +3 -0
- package/package.json +3 -3
- package/public_api.d.ts +73 -0
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tslib"),require("igniteui-webcomponents-core")):"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),u=this.k(this.m),p=this.l(this.m);i.play(),a.play(),s.play(),u.play(),p.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()})),u.finished.f((function(t){return u.commitStyles()})),p.finished.f((function(t){p.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(),u=this.bk,p=this.b2();r!=o||a!=s||u!=p?(this.bl=o,this.bj=s,this.bk=p):"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)],u=[new n.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(u)),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)],u=[new n.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(u)),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)],u=[new n.AnimationKeyFrameProperty(2,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(u)),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,u=t?this.b():this.a(),p=new n.TranslateTransform;p.k=r;var l=new n.TranslateTransform;l.k=o;var h=this.g.d(u),c=[new n.AnimationKeyFrameProperty(14,p),new n.AnimationKeyFrameProperty(1,a)],f=[new n.AnimationKeyFrameProperty(14,l),new n.AnimationKeyFrameProperty(1,s)];return h.m.apply(h,e.__spread(c)),h.m.apply(h,e.__spread(f)),n.KeyFrameAnimationFactory.f.c(h)},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),u=[new n.AnimationKeyFrameProperty(10,r)],p=[new n.AnimationKeyFrameProperty(10,o)];return s.m.apply(s,e.__spread(u)),s.m.apply(s,e.__spread(p)),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 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(){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}(),l=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 u=e.__values(t),p=u.next();!p.done;p=u.next()){if("childList"==p.value.type)for(var l=0;l<i.childNodes.length;l++){var h=i.childNodes[l];h!=i._mainDiv.getNativeElement()&&h!==r.getNativeElement()&&h!==o.getNativeElement()&&h!==a.getNativeElement()&&(h.remove(),a.append(i._webComponentRenderer.getWrapper(h)))}}}catch(t){n={error:t}}finally{try{p&&!p.done&&(s=u.return)&&s.call(u)}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 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 u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var p=n.toSpinal(o);a.push(p+"-"),u=u.baseType}if(i){var l=i.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var h=n.toSpinal(l);a.push(h+"-"+r+"-"),a.push(h+"-"+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 p;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(){l.register(),n.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",l),n.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",l),n.TypeRegistrar.register("XExpansionPanel",s.$type)},t}(),c=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),y=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),b=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),g=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),u=this.i(t,i);if(s==r&&u==o){a=0;break}r=s,o=u,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),m=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 g},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),u=new n.TranslateTransform;u.k=i.a;var p=new n.TranslateTransform;p.k=i.b;var l=new n.AnimationKeyFrameProperty(14,u),h=new n.AnimationKeyFrameProperty(14,p);return a.add(l),s.add(h),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),u=new n.AnimationKeyFrameProperty(10,i.c),p=new n.AnimationKeyFrameProperty(10,i.d);if(a.add(u),s.add(p),2==this.i){var l=i.a,h=i.b,c=new n.AnimationKeyFrameProperty(12,l),f=new n.AnimationKeyFrameProperty(12,h);a.add(c),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 c).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 y):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 b;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 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()},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}(),P=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 m},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 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 u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var p=n.toSpinal(o);a.push(p+"-"),u=u.baseType}if(i){var l=i.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var h=n.toSpinal(l);a.push(h+"-"+r+"-"),a.push(h+"-"+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),C=function(){function t(){}return t.register=function(){n.IgcChildContentModule.register(),P.register(),n.TypeRegistrar.registerCons("IgcPopupComponent",P),n.TypeRegistrar.registerCons("IgcPopupComponent",P),n.TypeRegistrar.register("Popup",m.$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}({}),S=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"),x=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),A=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),O=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),E=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(S,e),n.enumGetBox(S,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.d(t,!1):null},i.prototype.an=function(){null!=this.buttonClicked&&this.buttonClicked(this,new x)},i.prototype.am=function(){var t,e=this;null!=this.changed&&this.changed(this,((t=new A).newValue=e.ad,t))},i.prototype.ap=function(t,e,n){var i;null!=this.targetPropertyUpdating&&this.targetPropertyUpdating(this,((i=new O).propertyPath=t,i.target=e,i.value=n,i))},i.$t=n.markType(i,"PropertyEditorPropertyDescription",n.Base.$,[n.INotifyPropertyChanged_$type]),i}(n.Base),j=function(t){function i(){return t.call(this,E.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionCollection",n.ObservableCollection$1.$.specialize(E.$)),i}(n.ObservableCollection$1),k=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=null,e.a=null,e.f=null,e.propertyChanged=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"l",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,this.n("DescriptionType",e,this.i)},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.n("Context",e,this.a)},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.n("Data",e,this.f)},enumerable:!0,configurable:!0}),i.prototype.n=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.o(t,e,i)},i.prototype.o=function(t,e,n){switch(t){case"DescriptionType":case"Context":this.p()}},i.prototype.e=function(t){var e,n=this,r=new E;return r.al=t.propertyName,r.n=this.h(t),r.ak=null!=t.specificExternalType?t.specificExternalType:t.specificType,9==t.knownType&&(r.ai=t.collectionElementType,r.e=((e=new i).b=n.a,e.l=r.ai,e)),8==r.n&&(r.e=function(){var t=new i;return t.b=n.a,t.l=r.ak,t}()),15==r.n&&(r.c=this.a.c(this.l,r.al),r.d=r.d),r},i.prototype.h=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 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.p=function(){var t=new j;if(null!=this.l&&null!=this.b){var e=this.b.b(this.l);if(null==e)return;for(var i=0;i<e.length;i++)if(!n.stringEndsWith(e[i],"@names")&&!n.stringEndsWith(e[i],"@nameBinding")){var r=this.b.getMetadata(this.l,e[i]),o=this.e(r);0!=o.n&&t.add(o)}}this.g=t},i.prototype.d=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 u=!1;if(n.stringContains(s,"]")){u=!0;var p=(s=n.stringReplace(s,"]","")).split(",");if(s=p[0].trim(),n.stringContains(s,"as")){var l=s.indexOf("as");s.substr(0,l).trim(),a=s.substr(l+2).trim()}if(null!=a&&a!=this.l){var h=this.c();h.l=a,o=h;continue}}if(e&&(u=!0),null!=o&&null!==n.typeCast(E.$,o)){var c=o.ac(s,u);if(null==c)return null;o=c}else if(null!=o){var f=o.d(s,u);if(null==f)return null;o=f}else{if(null==this.g)return null;for(var d=0;d<this.g.count;d++)if(n.Base.equalsStatic(this.g._inner[d].al,s)){o=this.g._inner[d];break}if(null==o)return null}}return n.typeCast(E.$,o)},i.prototype.c=function(){var t,e=this;return(t=new i).b=e.b,t.l=e.l,t},i.$t=n.markType(i,"PropertyEditorDataSource",n.Base.$,[n.INotifyPropertyChanged_$type]),i}(n.Base),T=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),I=function(t){function i(){return t.call(this,T.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorDescriptionObjectCollection",n.ObservableCollection$1.$.specialize(T.$)),i}(n.ObservableCollection$1),$=function(t){function i(e){var i=t.call(this)||this;if(q.$type||(q.$type=n.markType(q,"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(){q.$type||(q.$type=n.markType(q,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new n.SyncableObservableCollection$2(q.$type,E.$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 q)&&(e._implementation=t),e},t},i}(n.IgCollection),D=function(){function t(){this._properties=null,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()},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 $,e=this.i.a;e||(e=new j),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 $;this._properties=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(E.$type),r=this.i.a;r||(r=new j),i._inner=r,i.clear(),this._properties._setSyncTarget(i),this.i.a=r},enumerable:!0,configurable:!0}),t.prototype.findByName=function(t){return null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},t}(),B=function(t){function i(e){var i=t.call(this)||this;if(D.$type||(D.$type=n.markType(D,"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(){D.$type||(D.$type=n.markType(D,"IgcPropertyEditorDescriptionObject"));var t=new n.SyncableObservableCollection$2(D.$type,T.$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._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()},t}(),R=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()},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 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()},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}(),q=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 E},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._attached||(this._attached=!0,this._flushQueuedAttributes())},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(S,t),this._a("valueType",n.enumToString(S,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(){if(null==this.i.g)return null;if(!this.i.g.externalObject){var t=new D;t._implementation=this.i.g,this.i.g.externalObject=t}return this.i.g.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 B,e=this.i.i;e||(e=new I),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 B;this._complexValues=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(T.$type),r=this.i.i;r||(r=new I),i._inner=r,i.clear(),this._complexValues._setSyncTarget(i),this.i.i=r},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return 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 u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var p=n.toSpinal(o);a.push(p+"-"),u=u.baseType}if(i){var l=i.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var h=n.toSpinal(l);a.push(h+"-"+r+"-"),a.push(h+"-"+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 N;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 R;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),F=function(){function t(){}return t.register=function(){q.register(),n.TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent",q),n.TypeRegistrar.register("PropertyEditorPropertyDescription",E.$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),z=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),M=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 z;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),K=function(t){function i(e){var n=t.call(this)||this;return n.ae=null,n.add(new E),n.ae=e,n}return e.__extends(i,t),i.$t=n.markType(i,"HorizontalPropertyEditorPanelDataSource",j.$),i}(j),L=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.h=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),u=s[0],p=s.length>1,l=!1,h=new n.List$1(n.Number_$type,0),c=new n.List$1(n.String_$type,0);if(n.stringContains(u,"]")){l=!0;for(var f=(u=n.stringReplace(u,"]","")).split(","),d=0;d<f.length;d++){var y=f[d];if(n.stringContains(y,"as")){var b=y.indexOf("as"),g=y.substr(0,b).trim(),m=y.substr(b+2).trim();h.add(parseInt(g)),c.add(m),o=m,u=g}}}var _=null;if(_=l?a:this.b.getMetadata(o,u),p)if(l)for(var v=r.b,P=0;P<h.count;P++){u=h._inner[P].toString();for(var C=c._inner[P],w=parseInt(n.stringReplace(n.stringReplace(u,"[",""),"]","")),S=new n.List$1(n.Base.$,0),x=0;x<=w;x++)if(null!=v&&x<v.length){var A=v[x];null!==n.typeCast(n.DescriptionTreeNode.$,A)&&x==w&&(A.h=C),S.add1(A)}else{var O=this.d(a,!0,C);null!=O&&S.add1(O)}var E=(v=S.toArray())[w],j=new n.List$1(n.String_$type,1,s);j.removeAt(0);var k=_.collectionElementType;null!=C&&(k=C);var T=this.c(n.stringJoin.apply(void 0,e.__spread(["."],j.toArray())),i,E,k,_);null!=T&&(v[w]=T),r.b=v}else{var I=r;I.b(u)||I.n(u,this.d(_,!1,null),_);var $=I.a(u),D=new n.List$1(n.String_$type,1,s);D.removeAt(0);var B=this.c(n.stringJoin.apply(void 0,e.__spread(["."],D.toArray())),i,$,_.specificExternalType,_);null!=B&&I.n(u,B,_)}else r.n(u,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 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.h=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.z(this.p(),7,(function(t){var n=t;e.a.dh(n,e.n),e.i.append(n.u)}));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),W=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 j,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(M.$,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.k(),e.ap=new n.ObservableCollection$1(M.$,0);var r=new H;r.a=e;var o=e.properties;return o.collectionChanged=n.delegateCombine(o.collectionChanged,n.runOn(e,e.dx)),e.l=r,e.l.v(),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 u=e.__values(n.fromEn(i.oldItems)),p=u.next();!p.done;p=u.next()){var l=p.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,l)){var h=l;h.propertyChanged=n.delegateRemove(h.propertyChanged,n.runOn(this,this.dj))}}}catch(t){r={error:t}}finally{try{p&&!p.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}if(null!=i.newItems)try{for(var c=e.__values(n.fromEn(i.newItems)),f=c.next();!f.done;f=c.next()){var d=f.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,d)){var y=d;y.propertyChanged=n.delegateCombine(y.propertyChanged,n.runOn(this,this.dj))}}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=c.return)&&s.call(c)}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(K.$,this.actualProperties)&&(this.actualProperties=new K(this.actualProperties));else if(null!==n.typeCast(K.$,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 k),this.k.l=this.b2),null==this.properties||0==this.properties.count?null!=this.k.g&&(this.actualProperties=this.k.g):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 k),this.k.b=this.h),null==this.properties||0==this.properties.count?null!=this.k.g&&(this.actualProperties=this.k.g):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(K.$,this.actualProperties)&&(this.actualProperties=new K(this.actualProperties));else if(null!==n.typeCast(K.$,this.actualProperties)){var r=this.actualProperties;this.actualProperties=r.ae}break;case"ActualProperties":if(this.ag)null!=this.actualProperties&&null===n.typeCast(K.$,this.actualProperties)&&(this.actualProperties=new K(this.actualProperties));else if(null!==n.typeCast(K.$,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(K.$,this.actualProperties)&&(this.actualProperties=new K(this.actualProperties));else if(null!==n.typeCast(K.$,this.actualProperties)){var s=this.actualProperties;this.actualProperties=s.ae}this.br=this.actualProperties;var u=this.actualProperties;u=this.actualProperties.toArray();var p=new n.LocalDataSource;if(p.dataSource=u,this.c=p,this.ce(),null!=this.c){var l=this.c;l.schemaChanged=n.delegateCombine(l.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 u=s.value,p=u.al;if(null!=this.k){var l=this.k.d(p,!1);null!=l&&u.p(l)&&(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.az<i+1?r.v.a1(i,1,r.ar):r.v.a7(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.aa(r.l.p(),0,(function(r){var o=r;o.e=1,0==s.a&&(o.d=2),o.an=new n.Thickness(1,5,5,5,0),t.v.as(o),t.v.a5(o,i),t.v.a4(o,e),a.add(o)})),r.v.aw<e+1?r.v.a0(e,1,s.h):r.v.a6(e,1,s.h);var u=a._inner[e],p="PropertyPath";1==s.a&&(p="ValueType");var l=r.m(s,i,o),h=null;(null!=l&&(h=r.c.getItemProperty(l,p),null!=(h=s.i(h,i,o))&&(u=s.e(u,i,o))),null==h)&&(u.aw=null)},u=0;u<r.ap.count;u++)s(u)},r=this,o=0;o<e;o++)i(o);for(var a=new n.HashSet$1(n.NativeUIComponent.$,0),s=this.v.ar-1;s>=0;s--){var u=this.v.aq(s),p=this.v.ay(u),l=this.v.ax(u);(p+1>e||l+1>this.ap.count)&&a.add_1(u)}for(var h=this.v.ar-1;h>=0;h--){var c=this.v.aq(h);a.contains(c)&&this.v.au(h)}for(var f=this.an.count-1;f>=0;f--){for(var d=this.an._inner[f].count-1;d>=0;d--){var y=this.an._inner[f]._inner[d];a.contains(y)&&this.an._inner[f].removeAt(d)}0==this.an._inner[f].count&&this.an.removeAt(f)}for(;this.v.az>e;)this.v.a3(this.v.az-1);for(;this.v.aw>this.ap.count;)this.v.a2(this.v.aw-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 M;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 M;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(M.$,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 u=0;u<this.bo;u++)a.add(new E);var p=this.actualProperties.toArray(),l=new n.LocalDataSource;l.dataSource=p,this.c=l,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 u=0,p=s,l=0;l<e;l++){var h=t.item(l),c=this.a9(h),f=this.a5(h);if(u+c+f>s&&a>0||a>=r){if(0!=o&&a<r&&r>2){var d=i._inner[a],y=i._inner[a+1];return d.h=c,y.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 b=s-u;b<p&&(p=b),u=0,a=0}this.b5(h);if(i.count<=a){var g=new M;g.b=0,g.a=0,g.f=10,g.g=5,g.h=c,g.dataBinding=n.delegateCombine(g.dataBinding,n.runOn(this,this.dl)),g.cellUpdating=n.delegateCombine(g.cellUpdating,n.runOn(this,this.dk)),g.j="PropertyName_"+l,i.add(g),this.am.item(g,i.count-1),a++}else{var m=i._inner[a];if(c>m.h){var _=c-m.h;if(m.h=c,_>p&&r>2)return this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count);(p-=_)<0&&(p=0),a++}else c=m.h,a++}if(i.count<=a){var v=new M;v.b=1,v.a=1,v.j="ValueType_"+l,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 P=i._inner[a];if(f>P.h){var C=f-P.h;if(P.h=f,C>p&&r>2)return this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count);(p-=C)<0&&(p=0),a++}else f=P.h,a++}u+=c+f}return o+1},i.prototype.d1=function(t,i){var r,o,a=0;try{for(var s=e.__values(n.fromEnum(i)),u=s.next();!u.done;u=s.next()){a+=u.value.h}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}for(;a>t;){if(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(S,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.ap=n.u(),i.e=1;var o=n.m(t,e.b,e.c);i.v=o,i.aq=n.b5(o)}))},i.prototype.c6=function(t,e){var i=this;this.cp(e,(function(r,o){r.e=1,r.at=1,r.aq=2;var a=i.m(t,e.b,e.c);r.v=a,r.au=null!=a.ad?a.ad.toString():"",o&&(r.as=n.runOn(i,i.di))}))},i.prototype.cq=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||3!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),3,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.cp=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||2!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),2,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.cm=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||1!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),1,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.cr=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||5!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),5,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.co=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||4!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),4,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.cn=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||6!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),6,(function(t){i.aw=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.ar&&(r.ar=2);var a=i.m(t,e.b,e.c);r.v=a;var s=a.ad;"number"!=typeof a.ad&&"number"!=typeof a.ad||(s=a.ad.toString()),r.as=s,o&&(r.aq=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.v=a;var s=a.ad;if("number"!=typeof a.ad&&"number"!=typeof a.ad||(s=a.ad),"string"==typeof a.ad){var u=0;s=u=n.tryParseNumber(s,u).p1}null==s&&(s=0),r.aw=s,n.isNaN_(a.z)?r.au=0:r.au=a.z,n.isNaN_(a.y)?r.at=100:r.at=a.y,n.isNaN_(a.aa)?r.av=1:r.av=a.aa,o&&(r.as=n.runOn(i,i.d3))}))},i.prototype.d3=function(t,e){var n=t,i=n.v;this.af=!0,i.ad=n.aw,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.ap&&(r.ap=2);var a=i.m(t,e.b,e.c);r.v!=a?(r.ar=null,r.v=a,r.at=null,r.as=i.b(i.a(a)),a.ad!=r.at&&("number"==typeof a.ad||"number"==typeof a.ad?r.at=a.ad.toString():r.at=a.ad),r.ar=n.runOn(i,i.ch)):a.ad!=r.at&&("number"==typeof a.ad||"number"==typeof a.ad?r.at=a.ad.toString():r.at=a.ad),o&&(null==r.ar&&(r.ar=n.runOn(i,i.ch)),r.ah=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.v;this.af=!0,i.ad=n.at,i.am(),this.af=!1,this.dv(i)},i.prototype.di=function(t,e){var i=t,r=i.v;if(this.af=!0,1==r.n){var o=0;o=n.tryParseNumber(i.au,o).p1,r.ad=o}else r.ad=i.au;r.am(),this.af=!1,this.dv(r)},i.prototype.cd=function(t,e){var n=t.v;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(K.$,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(K.$,t)&&(t=t.ae);var e=new L(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],u=e+o.al+"["+a+"]";this.c2(s.a,u,n,s.b)}else if(null!=o.g){var p=e+o.al;this.c2(o.g.a,p,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.ar||(r.ar=!0);var a,s=i.m(t,e.b,e.c),u=s.ad;if((null==u&&(u=!1),"string"==typeof u)&&function(){var t=n.tryParseBool(u,a);return a=t.p1,t.ret}()){u=a;var p=i.af;i.af=!0,s.ad=u,i.af=p}if("number"==typeof u&&n.typeGetValue(u)>0){u=!0;var l=i.af;i.af=!0,s.ad=u,i.af=l}if("number"==typeof u&&u>0){u=!0;var h=i.af;i.af=!0,s.ad=u,i.af=h}var c=u;r.as=c,r.v=s,o&&(r.aq=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.v;this.af=!0,i.ad=n.as,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),X=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 $;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 q&&this.contentProperties.push(this.children[t]);null!=this._propertiesAdapter&&this._propertiesAdapter.notifyContentChanged()},i.prototype.createImplementation=function(){return new W},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 $,e=this.i.actualProperties;e||(e=new j),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 $;this._actualDataSource=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(E.$type),r=this.i.actualProperties;r||(r=new j),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 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 u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var p=n.toSpinal(o);a.push(p+"-"),u=u.baseType}if(i){var l=i.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var h=n.toSpinal(l);a.push(h+"-"+r+"-"),a.push(h+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.getDesiredSize=function(){var t=this.i.ea();return n.fromSize(t)},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),Q=function(){function t(){}return t.register=function(){F.register(),X.register(),n.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",X),n.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",X),n.TypeRegistrar.register("PropertyEditorPanel",W.$type)},t}(),J=function(t){return t[t.Auto=0]="Auto",t[t.Near=1]="Near",t[t.Far=2]="Far",t}({}),G=n.markEnum("PopupAlignment","Auto,0|Near,1|Far,2"),Y=function(t){return t[t.Auto=0]="Auto",t[t.Down=1]="Down",t[t.Up=2]="Up",t}({}),Z=n.markEnum("PopupDirection","Auto,0|Down,1|Up,2"),tt=n.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),et=n.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),nt=function(t){function i(e){var i=t.call(this)||this;if(q.$type||(q.$type=n.markType(q,"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(){q.$type||(q.$type=n.markType(q,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new n.SyncableObservableCollection$2(q.$type,E.$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 q)&&(e._implementation=t),e},t},i}(n.IgCollection),it=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),rt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new k},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.l},set:function(t){this.i.l=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 null},t}();t.ExpansionPanelUtilities=i,t.ExpansionPanelView=a,t.HorizontalPropertyEditorPanelDataSource=K,t.IgcHorizontalPropertyEditorPanelDataSource=nt,t.IgcOnClosedEventArgs=v,t.IgcOnCollapsedEventArgs=p,t.IgcOnExpandedEventArgs=u,t.IgcOnPopupEventArgs=_,t.IgcPopupComponent=P,t.IgcPopupModule=C,t.IgcPropertyEditorDataSource=rt,t.IgcPropertyEditorDescriptionObject=D,t.IgcPropertyEditorDescriptionObjectCollection=B,t.IgcPropertyEditorPanelComponent=X,t.IgcPropertyEditorPanelModule=Q,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=N,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=R,t.IgcPropertyEditorPropertyDescriptionCollection=$,t.IgcPropertyEditorPropertyDescriptionComponent=q,t.IgcPropertyEditorPropertyDescriptionModule=F,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=U,t.IgcXExpansionPanelComponent=l,t.IgcXExpansionPanelModule=h,t.OnClosedEventArgs=d,t.OnCollapsedEventArgs=r,t.OnExpandedEventArgs=o,t.OnPopupEventArgs=y,t.Popup=m,t.PopupAlignment=J,t.PopupAlignment_$type=G,t.PopupDirection=Y,t.PopupDirection_$type=Z,t.PopupView=g,t.PopupVisualModelExport=b,t.Popup_InnerAnimationInfo=f,t.Popup_OuterAnimationInfo=c,t.PropertyEditorDataSource=k,t.PropertyEditorDescriptionObject=T,t.PropertyEditorDescriptionObjectCollection=I,t.PropertyEditorPanel=W,t.PropertyEditorPanelColumnDefinition=M,t.PropertyEditorPanelColumnFieldType_$type=et,t.PropertyEditorPanelColumnType_$type=tt,t.PropertyEditorPanelDataBindingEventArgs=z,t.PropertyEditorPanelDropDownDataListItem=it,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=V,t.PropertyEditorPanelView=H,t.PropertyEditorPropertyDescription=E,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=x,t.PropertyEditorPropertyDescriptionChangedEventArgs=A,t.PropertyEditorPropertyDescriptionCollection=j,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=O,t.PropertyEditorTreeTransformer=L,t.PropertyEditorValueType=w,t.PropertyEditorValueType_$type=S,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")):"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),u=this.k(this.m),l=this.l(this.m);i.play(),a.play(),s.play(),u.play(),l.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()})),u.finished.f((function(t){return u.commitStyles()})),l.finished.f((function(t){l.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(),u=this.bk,l=this.b2();r!=o||a!=s||u!=l?(this.bl=o,this.bj=s,this.bk=l):"Expanded"==t&&this.g.ak();break;case"Elevation":this.q=-1==this.s?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)],u=[new n.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(u)),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)],u=[new n.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(u)),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)],u=[new n.AnimationKeyFrameProperty(2,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(u)),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,u=t?this.b():this.a(),l=new n.TranslateTransform;l.k=r;var p=new n.TranslateTransform;p.k=o;var h=this.g.d(u),c=[new n.AnimationKeyFrameProperty(14,l),new n.AnimationKeyFrameProperty(1,a)],f=[new n.AnimationKeyFrameProperty(14,p),new n.AnimationKeyFrameProperty(1,s)];return h.m.apply(h,e.__spread(c)),h.m.apply(h,e.__spread(f)),n.KeyFrameAnimationFactory.f.c(h)},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),u=[new n.AnimationKeyFrameProperty(10,r)],l=[new n.AnimationKeyFrameProperty(10,o)];return s.m.apply(s,e.__spread(u)),s.m.apply(s,e.__spread(l)),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 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}(),l=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 u=e.__values(t),l=u.next();!l.done;l=u.next()){if("childList"==l.value.type)for(var p=0;p<i.childNodes.length;p++){var h=i.childNodes[p];h!=i._mainDiv.getNativeElement()&&h!==r.getNativeElement()&&h!==o.getNativeElement()&&h!==a.getNativeElement()&&(h.remove(),a.append(i._webComponentRenderer.getWrapper(h)))}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(s=u.return)&&s.call(u)}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 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 u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=n.toSpinal(o);a.push(l+"-"),u=u.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var h=n.toSpinal(p);a.push(h+"-"+r+"-"),a.push(h+"-"+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 l;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",s.$type)},t}(),c=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),u=this.i(t,i);if(s==r&&u==o){a=0;break}r=s,o=u,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),u=new n.TranslateTransform;u.k=i.a;var l=new n.TranslateTransform;l.k=i.b;var p=new n.AnimationKeyFrameProperty(14,u),h=new n.AnimationKeyFrameProperty(14,l);return a.add(p),s.add(h),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),u=new n.AnimationKeyFrameProperty(10,i.c),l=new n.AnimationKeyFrameProperty(10,i.d);if(a.add(u),s.add(l),2==this.i){var p=i.a,h=i.b,c=new n.AnimationKeyFrameProperty(12,p),f=new n.AnimationKeyFrameProperty(12,h);a.add(c),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 c).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 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 u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=n.toSpinal(o);a.push(l+"-"),u=u.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var h=n.toSpinal(p);a.push(h+"-"+r+"-"),a.push(h+"-"+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}({}),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"),S=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),T=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.d(t,!1):null},i.prototype.an=function(){null!=this.buttonClicked&&this.buttonClicked(this,new S)},i.prototype.am=function(){var t,e=this;null!=this.changed&&this.changed(this,((t=new T).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),x=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),j=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=null,e.a=null,e.f=null,e.propertyChanged=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"l",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,this.n("DescriptionType",e,this.i)},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.n("Context",e,this.a)},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.n("Data",e,this.f)},enumerable:!0,configurable:!0}),i.prototype.n=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.o(t,e,i)},i.prototype.o=function(t,e,n){switch(t){case"DescriptionType":case"Context":this.p()}},i.prototype.e=function(t){var e,n=this,r=new O;return r.al=t.propertyName,r.n=this.h(t),r.ak=null!=t.specificExternalType?t.specificExternalType:t.specificType,9==t.knownType&&(r.ai=t.collectionElementType,r.e=((e=new i).b=n.a,e.l=r.ai,e)),8==r.n&&(r.e=function(){var t=new i;return t.b=n.a,t.l=r.ak,t}()),15==r.n&&(r.c=this.a.c(this.l,r.al),r.d=r.d),r},i.prototype.h=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 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.p=function(){var t=new x;if(null!=this.l&&null!=this.b){var e=this.b.b(this.l);if(null==e)return;for(var i=0;i<e.length;i++)if(!n.stringEndsWith(e[i],"@names")&&!n.stringEndsWith(e[i],"@nameBinding")){var r=this.b.getMetadata(this.l,e[i]),o=this.e(r);0!=o.n&&t.add(o)}}this.g=t},i.prototype.d=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 u=!1;if(n.stringContains(s,"]")){u=!0;var l=(s=n.stringReplace(s,"]","")).split(",");if(s=l[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.l){var h=this.c();h.l=a,o=h;continue}}if(e&&(u=!0),null!=o&&null!==n.typeCast(O.$,o)){var c=o.ac(s,u);if(null==c)return null;o=c}else if(null!=o){var f=o.d(s,u);if(null==f)return null;o=f}else{if(null==this.g)return null;for(var d=0;d<this.g.count;d++)if(n.Base.equalsStatic(this.g._inner[d].al,s)){o=this.g._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.l=e.l,t},i.$t=n.markType(i,"PropertyEditorDataSource",n.Base.$,[n.INotifyPropertyChanged_$type]),i}(n.Base),k=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,k.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorDescriptionObjectCollection",n.ObservableCollection$1.$.specialize(k.$)),i}(n.ObservableCollection$1),R=function(t){function i(e){var i=t.call(this)||this;if(U.$type||(U.$type=n.markType(U,"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(){U.$type||(U.$type=n.markType(U,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new n.SyncableObservableCollection$2(U.$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 U)&&(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 k},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 x),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 x),i._inner=r,i.clear(),this._properties._setSyncTarget(i),this.i.a=r},enumerable:!0,configurable:!0}),t.prototype.findByName=function(t){return 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,k.$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 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()},t}(),B=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()},Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!0,configurable:!0}),t}(),D=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}(),U=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._attached||(this._attached=!0,this._flushQueuedAttributes())},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(){if(null==this.i.g)return null;if(!this.i.g.externalObject){var t=new N;t._implementation=this.i.g,this.i.g.externalObject=t}return this.i.g.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(k.$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.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 u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=n.toSpinal(o);a.push(l+"-"),u=u.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var h=n.toSpinal(p);a.push(h+"-"+r+"-"),a.push(h+"-"+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 D;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(){U.register(),n.TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent",U),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",x.$),i}(x),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),u=s[0],l=s.length>1,p=!1,h=new n.List$1(n.Number_$type,0),c=new n.List$1(n.String_$type,0);if(n.stringContains(u,"]")){p=!0;for(var f=(u=n.stringReplace(u,"]","")).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();h.add(parseInt(m)),c.add(g),o=g,u=m}}}var _=null;if(_=p?a:this.b.getMetadata(o,u),l)if(p)for(var v=r.b,C=0;C<h.count;C++){u=h._inner[C].toString();for(var P=c._inner[C],w=parseInt(n.stringReplace(n.stringReplace(u,"[",""),"]","")),A=new n.List$1(n.Base.$,0),S=0;S<=w;S++)if(null!=v&&S<v.length){var T=v[S];null!==n.typeCast(n.DescriptionTreeNode.$,T)&&S==w&&(T.i=P),A.add1(T)}else{var I=this.d(a,!0,P);null!=I&&A.add1(I)}var O=(v=A.toArray())[w],x=new n.List$1(n.String_$type,1,s);x.removeAt(0);var j=_.collectionElementType;null!=P&&(j=P);var k=this.c(n.stringJoin.apply(void 0,e.__spread(["."],x.toArray())),i,O,j,_);null!=k&&(v[w]=k),r.b=v}else{var E=r;E.c(u)||E.o(u,this.d(_,!1,null),_);var R=E.a(u),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(u,$,_)}else r.o(u,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 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 x,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 u=e.__values(n.fromEn(i.oldItems)),l=u.next();!l.done;l=u.next()){var p=l.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,p)){var h=p;h.propertyChanged=n.delegateRemove(h.propertyChanged,n.runOn(this,this.dj))}}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}if(null!=i.newItems)try{for(var c=e.__values(n.fromEn(i.newItems)),f=c.next();!f.done;f=c.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=c.return)&&s.call(c)}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 j),this.k.l=this.b2),null==this.properties||0==this.properties.count?null!=this.k.g&&(this.actualProperties=this.k.g):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 j),this.k.b=this.h),null==this.properties||0==this.properties.count?null!=this.k.g&&(this.actualProperties=this.k.g):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 u=this.actualProperties;u=this.actualProperties.toArray();var l=new n.LocalDataSource;if(l.dataSource=u,this.c=l,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 u=s.value,l=u.al;if(null!=this.k){var p=this.k.d(l,!1);null!=p&&u.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.a3<i+1?r.v.a5(i,1,r.ar):r.v.bb(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.a9(o,i),t.v.a8(o,e),a.add(o)})),r.v.a0<e+1?r.v.a4(e,1,s.h):r.v.ba(e,1,s.h);var u=a._inner[e],l="PropertyPath";1==s.a&&(l="ValueType");var p=r.m(s,i,o),h=null;(null!=p&&(h=r.c.getItemProperty(p,l),null!=(h=s.i(h,i,o))&&(u=s.e(u,i,o))),null==h)&&(u.a0=null)},u=0;u<r.ap.count;u++)s(u)},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 u=this.v.au(s),l=this.v.a2(u),p=this.v.a1(u);(l+1>e||p+1>this.ap.count)&&a.add_1(u)}for(var h=this.v.av-1;h>=0;h--){var c=this.v.au(h);a.contains(c)&&this.v.ay(h)}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.a3>e;)this.v.a7(this.v.a3-1);for(;this.v.a0>this.ap.count;)this.v.a6(this.v.a0-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 u=0;u<this.bo;u++)a.add(new O);var l=this.actualProperties.toArray(),p=new n.LocalDataSource;p.dataSource=l,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 u=0,l=s,p=0;p<e;p++){var h=t.item(p),c=this.a9(h),f=this.a5(h);if(u+c+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=c,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-u;y<l&&(l=y),u=0,a=0}this.b5(h);if(i.count<=a){var m=new F;m.b=0,m.a=0,m.f=10,m.g=5,m.h=c,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(c>g.h){var _=c-g.h;if(g.h=c,_>l&&r>2)return this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count);(l-=_)<0&&(l=0),a++}else c=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>l&&r>2)return this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count);(l-=P)<0&&(l=0),a++}else f=C.h,a++}u+=c+f}return o+1},i.prototype.d1=function(t,i){var r,o,a=0;try{for(var s=e.__values(n.fromEnum(i)),u=s.next();!u.done;u=s.next()){a+=u.value.h}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}for(;a>t;){if(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 u=0;s=u=n.tryParseNumber(s,u).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],u=e+o.al+"["+a+"]";this.c2(s.a,u,n,s.b)}else if(null!=o.g){var l=e+o.al;this.c2(o.g.a,l,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),u=s.ad;if((null==u&&(u=!1),"string"==typeof u)&&function(){var t=n.tryParseBool(u,a);return a=t.p1,t.ret}()){u=a;var l=i.af;i.af=!0,s.ad=u,i.af=l}if("number"==typeof u&&n.typeGetValue(u)>0){u=!0;var p=i.af;i.af=!0,s.ad=u,i.af=p}if("number"==typeof u&&u>0){u=!0;var h=i.af;i.af=!0,s.ad=u,i.af=h}var c=u;r.aw=c,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 U&&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 x),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 x),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 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 u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=n.toSpinal(o);a.push(l+"-"),u=u.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var h=n.toSpinal(p);a.push(h+"-"+r+"-"),a.push(h+"-"+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 u=0,l=function(e){p.an.add(u);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,u+=i}p.am.add(i)},p=this,h=0;h<this.actualDataSource.actualCount;h++)l(h);this.aq=u}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 u=0;if(null!=this.itemWidthRequested){var l=new nt;l.c=n,l.b=t,l.a=u,this.itemWidthRequested(this,l),u=l.a}var p=this.am._inner[t];this.am._inner[t]=u;for(var h=u-p,c=t;c<this.actualDataSource.actualCount;c++)this.an._inner[c]+=h}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 u=0;if(t>0)u=this.an._inner[t-1]+this.am._inner[t-1];this.an.insert(t,u);for(var l=t;l<this.actualDataSource.actualCount;l++)this.an._inner[l]+=a}this.cg()},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),ut=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 null},t}(),lt=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(){if(null==this.i.a)return null;if(!this.i.a.externalObject){var t=new ut;t._implementation=this.i.a,this.i.a.externalObject=t}return this.i.a.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}(),ht=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}(),ct=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 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 u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=n.toSpinal(o);a.push(l+"-"),u=u.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var h=n.toSpinal(p);a.push(h+"-"+r+"-"),a.push(h+"-"+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 lt;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 ht;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 ct;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.a9),n.NativeUI.k(e,this.c.a6))}},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 Rt;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 kt).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 Et;this.a3(this,i,e),this.performed(this,((r=new jt).c=!0,r.b=i,r))}}else null!=this.performed&&this.performed(this,function(){var e=new jt;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 It;break;case 1:e=new At;break;case 3:e=new wt;break;case 4:e=new Ot;break;case 5:e=new Pt;break;case 6:e=new Tt;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 5},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 u=s.a0;this.be(s,u,e,i,r,o)}},i.$t=n.markType(i,"ToolActionSeparator",Ct.$),i}(Ct),wt=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 kt;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.a5(0,2,1),e.a4(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.a9(i,0),e.a8(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],u=t[1];s.a0=n,a.bg(s,n,u,e,i,r,o)}));else{var u=s.a0,l=u.au(0);this.bg(s,u,l,e,i,r,o)}},i.$t=n.markType(i,"ToolActionIconButton",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 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.a5(0,2,1),e.a4(0,1,n.isNaN_(s.e)?0:s.e),e.a4(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.a9(i,0),e.a8(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],u=t[1];s.a0=n,a.be(s,n,u,e,i,r,o)}));else{var u=s.a0,l=u.au(0);this.be(s,u,l,e,i,r,o)}},i.$t=n.markType(i,"ToolActionGroupHeader",Ct.$),i}(Ct),St=function(t){function i(){var e=t.call(this)||this;e.bh=new xt,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 kt;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),Tt=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.a5(0,2,1),e.a4(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.a9(i,0),e.a8(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],u=t[1];s.a0=n,a.b1(s,n,u,e,i,r,o)}));else{var u=s.a0,l=u.au(0);this.b1(s,u,l,e,i,r,o)}},i.$t=n.markType(i,"ToolActionIconMenu",St.$),i}(St),It=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 kt;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,u){null!=t.w&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.w)==this.f||(t.a0=e,1==u.a?e.d=0:e.d=3,e.a5(0,2,1),e.a4(0,1,n.isNaN_(u.e)?0:u.e),e.a4(1,1,n.isNaN_(u.g)?0:u.g),e.a4(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.a9(i,0),e.a8(i,1),e.a9(r,0),e.a8(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],u=t[1],l=t[2];s.a0=n,a.bg(s,n,u,l,e,i,r,o)}));else{var u=s.a0,l=u.au(0),p=u.au(1);this.bg(s,u,l,p,e,i,r,o)}},i.$t=n.markType(i,"ToolActionCheckbox",Ct.$),i}(Ct),Ot=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 4},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,u){null!=t.w&&n.EnumUtil.getEnumValue(n.ToolActionType_$type,t.w)==this.f||(t.a0=e,1==u.a?e.d=0:e.d=3,e.a5(0,2,1),e.a4(0,1,n.isNaN_(u.e)?0:u.e),e.a4(1,1,n.isNaN_(u.g)?0:u.g),e.a4(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.a9(i,0),e.a8(i,1),e.a9(r,0),e.a8(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 kt;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],u=t[1],l=t[2];s.a0=n,a.bh(s,n,u,l,e,i,r,o)}));else{var u=s.a0,l=u.au(0),p=u.au(1);this.bh(s,u,l,p,e,i,r,o)}},i.$t=n.markType(i,"ToolActionNumberInput",Ct.$),i}(Ct),xt=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),jt=function(t){function i(){var e=t.call(this)||this;return e.c=!1,e.a=null,e.b=null,e.b=new Et,e}return e.__extends(i,t),i.$t=n.markType(i,"ToolActionPerformedEventArgs"),i}(n.Base),kt=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),Et=function(t){function i(){return t.call(this,kt.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"ToolActionEventDetailCollection",n.ObservableCollection$1.$.specialize(kt.$)),i}(n.ObservableCollection$1),Rt=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 xt,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.a4=i.a7,e.a5=i.a8,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 u=e.__values(n.fromEn(i.oldItems)),l=u.next();!l.done;l=u.next()){var p=l.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,p)){var h=p;h.propertyChanged=n.delegateRemove(h.propertyChanged,n.runOn(this,this.ar))}}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}if(null!=i.newItems)try{for(var c=e.__values(n.fromEn(i.newItems)),f=c.next();!f.done;f=c.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=c.return)&&s.call(c)}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.a3();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])}},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.a3=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.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,"a6",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.ax("BackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"a9",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&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))},i.$t=n.markType(i,"ToolPanel",n.Base.$,[n.INotifyPropertyChanged_$type]),i.a7=n.BrushUtil.g(255,248,248,248),i.a8=n.BrushUtil.g(255,24,29,31),i.j=0,i}(n.Base),Nt=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}(),$t=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new kt},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(){if(null==this.i.a)return null;if(!this.i.a.externalObject){var t=Dt._createFromInternal(this.i.a);t&&(t._implementation=this.i.a),this.i.a.externalObject=t}return this.i.a.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.action&&this.action.name&&this.action.name==t?this.action:null},t}(),qt=function(t){function i(e){var i=t.call(this)||this;if($t.$type||($t.$type=n.markType($t,"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(){$t.$type||($t.$type=n.markType($t,"IgcToolActionEventDetail"));var t=new n.SyncableObservableCollection$2($t.$type,kt.$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 $t)&&(e._implementation=t),e},t},i}(n.IgCollection),Bt=function(){function t(){this._detailCollection=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new jt},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(){if(null==this.i.a)return null;if(!this.i.a.externalObject){var t=new $t;t._implementation=this.i.a,this.i.a.externalObject=t}return this.i.a.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 qt,e=this.i.b;e||(e=new Et),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 qt;this._detailCollection=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(kt.$type),r=this.i.b;r||(r=new Et),i._inner=r,i.clear(),this._detailCollection._setSyncTarget(i),this.i.b=r},enumerable:!0,configurable:!0}),t}(),Dt=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._attached||(this._attached=!0,this._flushQueuedAttributes())},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 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 u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=n.toSpinal(o);a.push(l+"-"),u=u.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var h=n.toSpinal(p);a.push(h+"-"+r+"-"),a.push(h+"-"+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 Nt;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 Bt;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),Ut=function(t){function i(e){var i=t.call(this)||this;if(Dt.$type||(Dt.$type=n.markType(Dt,"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(){Dt.$type||(Dt.$type=n.markType(Dt,"IgcToolActionComponent"));var t=new n.SyncableObservableCollection$2(Dt.$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 Dt)&&(e._implementation=t),e},t},i}(n.IgCollection),zt=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}(),Vt=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 Ut;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 Dt&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},i.prototype.createImplementation=function(){return new Rt},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.a6)},set:function(t){this.i.a6=n.stringToBrush(t),this._a("backgroundColor",n.brushToString(this.i.a6))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"textColor",{get:function(){return n.brushToString(this.i.a9)},set:function(t){this.i.a9=n.stringToBrush(t),this._a("textColor",n.brushToString(this.i.a9))},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 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 u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=n.toSpinal(o);a.push(l+"-"),u=u.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var h=n.toSpinal(p);a.push(h+"-"+r+"-"),a.push(h+"-"+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 zt;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 Nt;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),Lt=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t}({}),Ft=n.markEnum("ToolbarOrientation","Vertical,0|Horizontal,1"),Mt=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),Wt=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 Rt,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),Ht=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 xt,e.b=new xt,e.c=new xt,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,Mt.c();var r=e.actions;r.collectionChanged=n.delegateCombine(r.collectionChanged,n.runOn(e,e.ah)),n.NativeUIInputsFactory.m();var o=new Wt;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(Ft,e),n.enumGetBox(Ft,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 u=e.__values(n.fromEn(i.oldItems)),l=u.next();!l.done;l=u.next()){var p=l.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,p)){var h=p;h.propertyChanged=n.delegateRemove(h.propertyChanged,n.runOn(this,this.ai))}}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}if(null!=i.newItems)try{for(var c=e.__values(n.fromEn(i.newItems)),f=c.next();!f.done;f=c.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=c.return)&&s.call(c)}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),Kt=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 Ut;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 Dt&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},i.prototype.createImplementation=function(){return new Ht},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 Ut,e=this.i.autoGeneratedActions;e||(e=new xt),this._autoGeneratedActions=t._fromInner(e),this.i.autoGeneratedActions=e}return this._autoGeneratedActions},set:function(t){null!==this._autoGeneratedActions&&(this._autoGeneratedActions._setSyncTarget(null),this._autoGeneratedActions=null);var e=new Ut;this._autoGeneratedActions=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(Ct.$type),r=this.i.autoGeneratedActions;r||(r=new xt),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 Ut,e=this.i.actualActions;e||(e=new xt),this._actualActions=t._fromInner(e),this.i.actualActions=e}return this._actualActions},set:function(t){null!==this._actualActions&&(this._actualActions._setSyncTarget(null),this._actualActions=null);var e=new Ut;this._actualActions=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(Ct.$type),r=this.i.actualActions;r||(r=new xt),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(Ft,t),this._a("orientation",n.enumToString(Ft,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 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 u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=n.toSpinal(o);a.push(l+"-"),u=u.baseType}if(i){var p=i.i.$type.name;0===p.indexOf("Xam")&&(p=p.substring(3));var h=n.toSpinal(p);a.push(h+"-"+r+"-"),a.push(h+"-"+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),Gt=function(t){function i(){return t.call(this)||this}return e.__extends(i,t),i.prototype.createImplementation=function(){return new It},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._attached||(this._attached=!0,this._flushQueuedAttributes())},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}(Dt),Xt=function(){function t(){}return t.register=function(){Gt.register(),n.TypeRegistrar.registerCons("IgcToolActionCheckboxComponent",Gt),n.TypeRegistrar.register("ToolActionCheckbox",It.$type)},t}(),Qt=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._attached||(this._attached=!0,this._flushQueuedAttributes())},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}(Dt),Jt=function(){function t(){}return t.register=function(){Qt.register(),n.TypeRegistrar.registerCons("IgcToolActionGroupHeaderComponent",Qt),n.TypeRegistrar.register("ToolActionGroupHeader",At.$type)},t}(),Yt=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._attached||(this._attached=!0,this._flushQueuedAttributes())},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}(Dt),Zt=function(){function t(){}return t.register=function(){Yt.register(),n.TypeRegistrar.registerCons("IgcToolActionNumberInputComponent",Yt),n.TypeRegistrar.register("ToolActionNumberInput",Ot.$type)},t}(),te=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._attached||(this._attached=!0,this._flushQueuedAttributes())},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}(Dt),ee=function(){function t(){}return t.register=function(){te.register(),n.TypeRegistrar.registerCons("IgcToolActionIconButtonComponent",te),n.TypeRegistrar.register("ToolActionIconButton",wt.$type)},t}(),ne=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._attached||(this._attached=!0,this._flushQueuedAttributes())},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 Ut,e=this.i.actions;e||(e=new xt),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 Ut;this._actions=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(Ct.$type),r=this.i.actions;r||(r=new xt),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}(Dt),ie=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._attached||(this._attached=!0,this._flushQueuedAttributes())},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}(ne),re=function(){function t(){}return t.register=function(){ie.register(),n.TypeRegistrar.registerCons("IgcToolActionIconMenuComponent",ie),n.TypeRegistrar.register("ToolActionIconMenu",Tt.$type)},t}(),oe=function(){function t(){}return t.register=function(){dt.register(),Xt.register(),Jt.register(),Zt.register(),ee.register(),re.register(),Vt.register(),n.TypeRegistrar.registerCons("IgcToolPanelComponent",Vt),n.TypeRegistrar.registerCons("IgcToolPanelComponent",Vt),n.TypeRegistrar.register("ToolPanel",Rt.$type)},t}(),ae=function(){function t(){}return t.register=function(){oe.register(),Kt.register(),n.TypeRegistrar.registerCons("IgcToolbarComponent",Kt),n.TypeRegistrar.registerCons("IgcToolbarComponent",Kt),n.TypeRegistrar.register("Toolbar",Ht.$type)},t}(),se=function(t){return t[t.Auto=0]="Auto",t[t.Near=1]="Near",t[t.Far=2]="Far",t}({}),ue=n.markEnum("PopupAlignment","Auto,0|Near,1|Far,2"),le=function(t){return t[t.Auto=0]="Auto",t[t.Down=1]="Down",t[t.Up=2]="Up",t}({}),pe=n.markEnum("PopupDirection","Auto,0|Down,1|Up,2"),he=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._attached||(this._attached=!0,this._flushQueuedAttributes())},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}(Dt),ce=function(){function t(){}return t.register=function(){he.register(),n.TypeRegistrar.registerCons("IgcToolActionSeparatorComponent",he),n.TypeRegistrar.register("ToolActionSeparator",Pt.$type)},t}(),fe=function(){function t(){}return t.register=function(){Dt.register(),n.TypeRegistrar.registerCons("IgcToolActionComponent",Dt),n.TypeRegistrar.register("ToolAction",Ct.$type)},t}(),de=new n.Type(null,"IExternalToolbar"),be=new n.Type(null,"IToolbarView"),ye=new n.Type(null,"IExternalToolPanel"),me=new n.Type(null,"IToolPanelView"),ge=new n.Type(null,"IExternalListPanel"),_e=new n.Type(null,"IListPanelView"),ve=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),Ce=new n.Type(null,"IPropertyEditorPanelView"),Pe=n.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),we=n.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),Ae=function(t){function i(e){var i=t.call(this)||this;if(U.$type||(U.$type=n.markType(U,"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(){U.$type||(U.$type=n.markType(U,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new n.SyncableObservableCollection$2(U.$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 U)&&(e._implementation=t),e},t},i}(n.IgCollection),Se=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),Te=function(){function t(){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.l},set:function(t){this.i.l=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 null},t}();t.ExpansionPanelUtilities=i,t.ExpansionPanelView=a,t.HorizontalPropertyEditorPanelDataSource=M,t.IExternalListPanel_$type=ge,t.IExternalToolPanel_$type=ye,t.IExternalToolbar_$type=de,t.IListPanelView_$type=_e,t.IPropertyEditorPanelView_$type=Ce,t.IToolPanelView_$type=me,t.IToolbarView_$type=be,t.IgcHorizontalPropertyEditorPanelDataSource=Ae,t.IgcListPanelComponent=ft,t.IgcListPanelContentRefreshedEventArgs=pt,t.IgcListPanelItemModel=ut,t.IgcListPanelModule=dt,t.IgcListPanelTemplateHeightRequestedEventArgs=ct,t.IgcListPanelTemplateItemUpdatingEventArgs=lt,t.IgcListPanelTemplateWidthRequestedEventArgs=ht,t.IgcOnClosedEventArgs=v,t.IgcOnCollapsedEventArgs=l,t.IgcOnExpandedEventArgs=u,t.IgcOnPopupEventArgs=_,t.IgcPopupComponent=C,t.IgcPopupModule=P,t.IgcPropertyEditorDataSource=Te,t.IgcPropertyEditorDescriptionObject=N,t.IgcPropertyEditorDescriptionObjectCollection=$,t.IgcPropertyEditorPanelComponent=G,t.IgcPropertyEditorPanelModule=X,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=q,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=B,t.IgcPropertyEditorPropertyDescriptionCollection=R,t.IgcPropertyEditorPropertyDescriptionComponent=U,t.IgcPropertyEditorPropertyDescriptionModule=z,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=D,t.IgcToolActionCheckboxComponent=Gt,t.IgcToolActionCheckboxModule=Xt,t.IgcToolActionCollection=Ut,t.IgcToolActionComponent=Dt,t.IgcToolActionEventDetail=$t,t.IgcToolActionEventDetailCollection=qt,t.IgcToolActionGroupHeaderComponent=Qt,t.IgcToolActionGroupHeaderModule=Jt,t.IgcToolActionIconButtonComponent=te,t.IgcToolActionIconButtonModule=ee,t.IgcToolActionIconMenuComponent=ie,t.IgcToolActionIconMenuModule=re,t.IgcToolActionMenuBaseComponent=ne,t.IgcToolActionModule=fe,t.IgcToolActionNumberInputComponent=Yt,t.IgcToolActionNumberInputModule=Zt,t.IgcToolActionPerformedEventArgs=Bt,t.IgcToolActionSeparatorComponent=he,t.IgcToolActionSeparatorModule=ce,t.IgcToolCommandEventArgs=Nt,t.IgcToolPanelComponent=Vt,t.IgcToolPanelContentRefreshedEventArgs=zt,t.IgcToolPanelModule=oe,t.IgcToolbarComponent=Kt,t.IgcToolbarModule=ae,t.IgcXExpansionPanelComponent=p,t.IgcXExpansionPanelModule=h,t.ListPanel=ot,t.ListPanelContentRefreshedEventArgs=Z,t.ListPanelDataBindingEventArgs=ve,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=se,t.PopupAlignment_$type=ue,t.PopupDirection=le,t.PopupDirection_$type=pe,t.PopupView=m,t.PopupVisualModelExport=y,t.Popup_InnerAnimationInfo=f,t.Popup_OuterAnimationInfo=c,t.PropertyEditorDataSource=j,t.PropertyEditorDescriptionObject=k,t.PropertyEditorDescriptionObjectCollection=E,t.PropertyEditorPanel=K,t.PropertyEditorPanelColumnDefinition=F,t.PropertyEditorPanelColumnFieldType_$type=we,t.PropertyEditorPanelColumnType_$type=Pe,t.PropertyEditorPanelDataBindingEventArgs=L,t.PropertyEditorPanelDropDownDataListItem=Se,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=V,t.PropertyEditorPanelView=H,t.PropertyEditorPropertyDescription=O,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=S,t.PropertyEditorPropertyDescriptionChangedEventArgs=T,t.PropertyEditorPropertyDescriptionCollection=x,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=I,t.PropertyEditorTreeTransformer=W,t.PropertyEditorValueType=w,t.PropertyEditorValueType_$type=A,t.ToolAction=Ct,t.ToolActionCheckbox=It,t.ToolActionCollection=xt,t.ToolActionEventDetail=kt,t.ToolActionEventDetailCollection=Et,t.ToolActionGroupHeader=At,t.ToolActionIconButton=wt,t.ToolActionIconMenu=Tt,t.ToolActionMeasurementContext=bt,t.ToolActionMenuBase=St,t.ToolActionNumberInput=Ot,t.ToolActionPerformedEventArgs=jt,t.ToolActionSeparator=Pt,t.ToolCommandEventArgs=yt,t.ToolPanel=Rt,t.ToolPanelContentRefreshedEventArgs=_t,t.ToolPanelOrientation=mt,t.ToolPanelOrientation_$type=gt,t.ToolPanelView=vt,t.Toolbar=Ht,t.ToolbarIconManager=Mt,t.ToolbarOrientation=Lt,t.ToolbarOrientation_$type=Ft,t.ToolbarView=Wt,t.XExpansionPanel=s,Object.defineProperty(t,"__esModule",{value:!0})}));
|