diff --git a/qxl.datagrid/index.js b/qxl.datagrid/index.js index 1ad9d46..6e00b08 100644 --- a/qxl.datagrid/index.js +++ b/qxl.datagrid/index.js @@ -23,4 +23,4 @@ //! do not modify this tester's limits without also modifying the size source to accommodate if(![0,1,2].includes(e)||![0,1,2].includes(t))return;const r=i.getSizesFor(3*t+6,3*e+6,e,t);this.assertArrayEquals([e,e+1,e+2],r.rows.map((e=>e.rowIndex)));this.assertTrue(r.rows[0].height==e+1);this.assertTrue(r.rows[1].height==e+2);this.assertTrue(r.rows[2].height==e+3);this.assertArrayEquals([t,t+1,t+2],r.columns.map((e=>e.columnIndex)));this.assertTrue(r.columns[0].width==t+1);this.assertTrue(r.columns[1].width==t+2);this.assertTrue(r.columns[2].width==t+3)};n(0,0);n(1,0);n(2,0);n(0,1);n(0,2);n(1,1);n(2,2);n(2,1);n(1,2)},testWithFixed(){const e=new qxl.datagrid.column.Columns;e.addAll([new qxl.datagrid.column.TextColumn("a").set({width:1}),new qxl.datagrid.column.TextColumn("b").set({width:2}),new qxl.datagrid.column.TextColumn("c").set({width:3}),new qxl.datagrid.column.TextColumn("d").set({width:4}),new qxl.datagrid.column.TextColumn("e").set({width:5})]);const t={widgetHeights:[[1,1,1,1,1],[2,2,2,2,2],[3,3,3,3,3],[4,4,4,4,4],[5,5,5,5,5]],headerHeights:[10,10,10,10,10],init(){},getWidgetSize(e,t){const r=e<0?this.headerHeights:this.widgetHeights[e];let i=void 0===r[t]?null:r[t];return{minWidth:null,width:null,maxWidth:null,minHeight:i,height:i,maxHeight:i}},_size:new qxl.datagrid.source.Position(5,5),getDataSourceSize(){return this._size}},r=(new qxl.datagrid.ui.GridStyling).set({horizontalSpacing:0,verticalSpacing:0,minRowHeight:0,numHeaderRows:0,numFixedColumns:0,numFixedRows:0}),i=new qxl.datagrid.ui.GridSizeCalculator(e,r,t),n=(e,t)=>{ //! do not modify this tester's limits without also modifying the size source to accommodate -if(![0,1,2,3].includes(e)||![0,1,2,3].includes(t))return;r.setNumFixedColumns(e);r.setNumFixedRows(t);const n=i.getSizesFor(12-2*e,12-2*t,2,2);this.assertArrayEquals([t>0?0:2,t>1?1:3,t>2?2:4],n.rows.map((e=>e.rowIndex)));this.assertTrue(n.rows[0].height==(t>0?1:3));this.assertTrue(n.rows[1].height==(t>1?2:4));this.assertTrue(n.rows[2].height==(t>2?3:5));this.assertArrayEquals([e>0?0:2,e>1?1:3,e>2?2:4],n.columns.map((e=>e.columnIndex)));this.assertTrue(n.columns[0].width==(e>0?1:3));this.assertTrue(n.columns[1].width==(e>1?2:4));this.assertTrue(n.columns[2].width==(e>2?3:5))};n(1,0);n(2,0);n(3,0);n(0,1);n(0,2);n(0,3);n(1,1);n(2,2);n(3,3)}}});qxl.datagrid.test.ui.GridSizeCalculator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.dev.unit.TestCase":{require:!0},"qxl.datagrid.demo.biggrid.DummyDataSource":{},"qxl.datagrid.ui.GridStyling":{},"qxl.datagrid.column.Columns":{},"qxl.datagrid.column.TextColumn":{},"qxl.datagrid.util.Labels":{},"qxl.datagrid.ui.GridSizeCalculator":{},"qxl.datagrid.ui.factory.HeaderWidgetFactory":{},"qxl.datagrid.ui.HeaderRows":{},"qxl.datagrid.ui.factory.SimpleWidgetFactory":{},"qxl.datagrid.ui.WidgetPane":{},"qxl.datagrid.ui.SelectionManager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.test.ui.DataGrid",{extend:qx.dev.unit.TestCase,members:{async testCellSizes(){let e=new qxl.datagrid.demo.biggrid.DummyDataSource(100,100),t=(new qxl.datagrid.ui.GridStyling).set({horizontalSpacing:0,verticalSpacing:0,minRowHeight:40}),r=new qxl.datagrid.column.Columns;for(let t=0;te.getSize()},n=new qxl.datagrid.ui.GridSizeCalculator(r,t,i);n.setAvailableSize(400,200,1,1);let o=new qxl.datagrid.ui.factory.HeaderWidgetFactory(r,"qxl-datagrid-header-cell"),a=new qxl.datagrid.ui.HeaderRows(n,o,e),s=new qxl.datagrid.ui.factory.SimpleWidgetFactory(r,"qxl-datagrid-cell"),l=new qxl.datagrid.ui.WidgetPane(n,s,e,new qxl.datagrid.ui.SelectionManager);a.updateWidgets();await l.updateWidgets();const u=(e,t)=>{this.assertArrayEquals(Object.keys(e).sort(),Object.keys(t).sort());for(let r in e)this.assertTrue(e[r]===t[r])};let c=o.getWidgets();this.assertTrue(void 0===c["0:0"]);this.assertTrue(void 0===c["0:12"]);this.assertTrue("B"===c["0:1"].getLabel());u(c["0:2"].getLayoutProperties(),{height:40,top:0,left:40,width:40});u(c["0:3"].getLayoutProperties(),{height:40,top:0,left:80,width:40});c=s.getWidgets();this.assertTrue(void 0===c["0:0"]);this.assertTrue(void 0===c["6:1"]);this.assertTrue("C2"===c["2:2"].getValue());u(c["2:2"].getLayoutProperties(),{top:40,height:40,left:40,width:40});u(c["3:3"].getLayoutProperties(),{top:80,height:40,left:80,width:40})}}});qxl.datagrid.test.ui.DataGrid.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.core.ISingleSelection",{events:{changeSelection:"qx.event.type.Data"},members:{getSelection:()=>!0,setSelection(e){return 1==arguments.length},resetSelection:()=>!0,isSelected(e){return 1==arguments.length},isSelectionEmpty:()=>!0,getSelectables(e){return 1==arguments.length}}});qx.ui.core.ISingleSelection.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MContentPadding",{properties:{contentPaddingTop:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPaddingRight:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPaddingBottom:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPaddingLeft:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPadding:{group:["contentPaddingTop","contentPaddingRight","contentPaddingBottom","contentPaddingLeft"],mode:"shorthand",themeable:!0}},members:{__P_71_0:{contentPaddingTop:"setPaddingTop",contentPaddingRight:"setPaddingRight",contentPaddingBottom:"setPaddingBottom",contentPaddingLeft:"setPaddingLeft"},__P_71_1:{contentPaddingTop:"setThemedPaddingTop",contentPaddingRight:"setThemedPaddingRight",contentPaddingBottom:"setThemedPaddingBottom",contentPaddingLeft:"setThemedPaddingLeft"},__P_71_2:{contentPaddingTop:"resetPaddingTop",contentPaddingRight:"resetPaddingRight",contentPaddingBottom:"resetPaddingBottom",contentPaddingLeft:"resetPaddingLeft"},_applyContentPadding(e,t,r,i){var n=this._getContentPaddingTarget();if(null==e){n[this.__P_71_2[r]]()}else if("setThemed"==i||"resetThemed"==i){n[this.__P_71_1[r]](e)}else{n[this.__P_71_0[r]](e)}}}});qx.ui.core.MContentPadding.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.ISingleSelection":{require:!0},"qx.ui.core.MContentPadding":{require:!0},"qx.ui.tabview.Page":{},"qx.ui.container.SlideBar":{},"qx.ui.container.Stack":{},"qx.ui.form.RadioGroup":{},"qx.ui.layout.HBox":{},"qx.ui.layout.VBox":{},"qx.event.type.Event":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.tabview.TabView",{extend:qx.ui.core.Widget,implement:qx.ui.core.ISingleSelection,include:[qx.ui.core.MContentPadding],construct(e){qx.ui.core.Widget.constructor.call(this);this.__P_29_0={top:"barTop",right:"barRight",bottom:"barBottom",left:"barLeft"};this._createChildControl("bar");this._createChildControl("pane");var t=this.__P_29_1=this._createRadioGroupInstance();t.setWrap(!1);t.addListener("changeSelection",this._onChangeSelection,this);null!=e?this.setBarPosition(e):this.initBarPosition();this.getContentElement().setAttribute("role","tablist")},events:{changeSelection:"qx.event.type.Data",changeValue:"qx.event.type.Data"},properties:{appearance:{refine:!0,init:"tabview"},barPosition:{check:["left","right","top","bottom"],init:"top",apply:"_applyBarPosition"}},members:{__P_29_1:null,setValue(e){if(null===e){this.resetSelection();return null}if(e instanceof qx.ui.tabview.Page){this.setSelection([e]);return null}return new TypeError("Given argument is not null or a {qx.ui.tabview.Page}.")},getValue(){var e=this.getSelection();return e.length?e[0]:null},resetValue(){this.resetSelection()},_createChildControlImpl(e,t){var r;switch(e){case"bar":(r=new qx.ui.container.SlideBar).setZIndex(10);this._add(r);break;case"pane":(r=new qx.ui.container.Stack).setZIndex(5);this._add(r,{flex:1})}return r||qx.ui.tabview.TabView.superclass.prototype._createChildControlImpl.call(this,e)},_createRadioGroupInstance:()=>new qx.ui.form.RadioGroup,_getContentPaddingTarget(){return this.getChildControl("pane")},add(e){var t=e.getButton(),r=this.getChildControl("bar"),i=this.getChildControl("pane");e.exclude();r.add(t);i.add(e);this.__P_29_1.add(t);e.addState(this.__P_29_0[this.getBarPosition()]);e.addState("lastTab");var n=this.getChildren();n[0]==e?e.addState("firstTab"):n[n.length-2].removeState("lastTab");e.addListener("close",this._onPageClose,this)},addAt(e,t){var r=this.getChildren();if(null!=t&&t>r.length)throw new Error("Index should be less than : "+r.length);null==t&&(t=r.length);var i=e.getButton(),n=this.getChildControl("bar"),o=this.getChildControl("pane");e.exclude();n.addAt(i,t);o.addAt(e,t);this.__P_29_1.add(i);e.addState(this.__P_29_0[this.getBarPosition()]);t==(r=this.getChildren()).length-1&&e.addState("lastTab");r[0]==e?e.addState("firstTab"):r[r.length-2].removeState("lastTab");e.addListener("close",this._onPageClose,this)},remove(e){var t=this.getChildControl("pane"),r=this.getChildControl("bar"),i=e.getButton(),n=t.getChildren();if(this.getSelection()[0]==e){var o=n.indexOf(e);0==o?n[1]?this.setSelection([n[1]]):this.resetSelection():this.setSelection([n[o-1]])}r.remove(i);t.remove(e);this.__P_29_1.remove(i);e.removeState(this.__P_29_0[this.getBarPosition()]);if(e.hasState("firstTab")){e.removeState("firstTab");n[0]&&n[0].addState("firstTab")}if(e.hasState("lastTab")){e.removeState("lastTab");n.length>0&&n[n.length-1].addState("lastTab")}e.removeListener("close",this._onPageClose,this)},getChildren(){return this.getChildControl("pane").getChildren()},indexOf(e){return this.getChildControl("pane").indexOf(e)},getRadioGroup(){return this.__P_29_1},__P_29_0:null,_applyBarPosition(e,t){var r=this.getChildControl("bar"),i=this.getChildControl("pane"),n="left"==e||"right"==e,o="right"==e||"bottom"==e,a=n?qx.ui.layout.HBox:qx.ui.layout.VBox,s=this._getLayout();s&&s instanceof a||this._setLayout(s=new a);s.setReversed(o);r.setOrientation(n?"vertical":"horizontal");var l,u,c=this.getChildren();if(t){var h=this.__P_29_0[t];r.removeState(h);i.removeState(h);for(l=0,u=c.length;l{let r=(this.getSelection()[0]||null).getQxObjectId();e.setItem(this.classname+".lastPageId",r)}))},objects:{pgArrayDemo(){const e=new qx.ui.tabview.Page("Array Demo");e.setLayout(new qx.ui.layout.Grow);e.addListenerOnce("appear",(async()=>{let t=new qxl.datagrid.demo.array.ArrayDemo;e.add(t);await t.init()}));return e},pgTreeDemo(){const e=new qx.ui.tabview.Page("Tree Demo");e.setLayout(new qx.ui.layout.Grow);e.addListenerOnce("appear",(async()=>{let t=new qxl.datagrid.demo.tree.TreeDemo;e.add(t);await t.init()}));return e},pgBigGridDemo(){const e=new qx.ui.tabview.Page("Big Grid Demo");e.setLayout(new qx.ui.layout.Grow);e.addListenerOnce("appear",(async()=>{let t=new qxl.datagrid.demo.biggrid.BigGridDemo;e.add(t);await t.init()}));return e}}});qxl.datagrid.demo.Demo.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.ValueManager",{type:"abstract",extend:qx.core.Object,construct(){qx.core.Object.constructor.call(this);this._dynamic={}},members:{_dynamic:null,resolveDynamic(e){return this._dynamic[e]},isDynamic(e){return!!this._dynamic[e]},resolve(e){return e&&this._dynamic[e]?this._dynamic[e]:e},_setDynamic(e){this._dynamic=e},_getDynamic(){return this._dynamic}}});qx.util.ValueManager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.util.ValueManager":{require:!0},"qx.util.ColorUtil":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.theme.manager.Color",{type:"singleton",extend:qx.util.ValueManager,properties:{theme:{check:"Theme",nullable:!0,apply:"_applyTheme",event:"changeTheme"}},members:{_applyTheme(e){var t={};this._setDynamic(t);if(e){var r=e.colors;for(var i in r)t[i]||(t[i]=this.__P_92_0(r,i))}},__P_92_0(e,t){var r=e[t];if("string"==typeof r){if(!qx.util.ColorUtil.isCssString(r)){if(null!=e[r])return this.__P_92_0(e,r);throw new Error("Could not parse color: "+r)}return r}return r instanceof Array?qx.util.ColorUtil.rgbToRgbString(r):r instanceof Function?this.__P_92_0(e,r(t)):t},resolve(e){var t=this._dynamic,r=t[e];if(r)return r;var i=this.getTheme();return null!==i&&i.colors[e]?t[e]=this.__P_92_0(i.colors,e):e},isDynamic(e){var t=this._dynamic;if(e&&void 0!==t[e])return!0;var r=this.getTheme();if(null!==r&&e&&void 0!==r.colors[e]){t[e]=this.__P_92_0(r.colors,e);return!0}return!1}}});qx.theme.manager.Color.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.Engine":{construct:!0,require:!0},"qx.bom.client.Browser":{construct:!0,require:!0},"qx.lang.Type":{},"qx.ui.style.Stylesheet":{},"qx.Bootstrap":{},"qx.ui.decoration.Decorator":{},"qx.ui.decoration.IDecorator":{},"qx.lang.Object":{},"qx.util.AliasManager":{}},environment:{provided:[],required:{"engine.name":{construct:!0,className:"qx.bom.client.Engine"},"browser.documentmode":{construct:!0,className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.theme.manager.Decoration",{type:"singleton",extend:qx.core.Object,implement:[qx.core.IDisposable],statics:{CSS_CLASSNAME_PREFIX:"qx-"},construct(){qx.core.Object.constructor.call(this);this.__P_93_0=[];this.__P_93_1="mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9},properties:{theme:{check:"Theme",nullable:!0,apply:"_applyTheme",event:"changeTheme"}},members:{__P_93_2:null,__P_93_0:null,__P_93_1:!1,getCssClassName(e){var t=qx.theme.manager.Decoration.CSS_CLASSNAME_PREFIX;return qx.lang.Type.isString(e)?t+e:t+e.toHashCode()},addCssClass(e){var t=qx.ui.style.Stylesheet.getInstance(),r=e,i="."+(e=this.getCssClassName(e));if(t.hasRule(i))return e;qx.lang.Type.isString(r)&&(r=this.resolve(r));if(!r)throw new Error("Unable to resolve decorator '"+e+"'.");var n="",o=r.getStyles(!0);Object.keys(o).sort().forEach((function(e){if(qx.Bootstrap.isObject(o[e])){var r="",a=o[e],s=!1;for(var l in a){s=!0;r+=l+":"+a[l]+";"}var u=this.__P_93_1?i:i+(s?":":"");this.__P_93_0.push(u+e);t.addRule(u+e,r)}else n+=e+":"+o[e]+";"}),this);if(n){t.addRule(i,n);this.__P_93_0.push(i)}return e},removeAllCssClasses(){for(var e=0;e{void 0===o[t]&&(o[t]=e[t])}))}if(o.sources){o.sources.family&&o.family.indexOf(o.sources.family)<0&&o.family.unshift(o.sources.family);let t=o.family[0];e[t]||(e[t]={fontFaces:[]});let r={};e[t].fontFaces.forEach((e=>{let t=qx.bom.webfonts.WebFontLoader.createFontLookupKey(e.family,e.fontWeight,e.fontStyle);r[t]=e}));let i=qx.bom.webfonts.WebFontLoader.createFontLookupKey(o.sources.family,o.sources.fontWeight,o.sources.fontStyle);if(!r[i]){let r={fontFamily:o.sources.family,fontWeight:o.sources.fontWeight,fontStyle:o.sources.fontStyle};e[t].fontFaces.push(r)}}(o.css||o.fontFaces)&&t.push(o);var n=new(this.__P_94_1(o));o.comparisonString&&n.setComparisonString(o.comparisonString);r[i]=n;qx.Class.getProperties(qx.bom.Font).forEach((e=>{let t=o[e];void 0!==t&&n["set"+qx.lang.String.firstUp(e)](t)}));r[i].themed=!0}for(let e of t){let t=qx.bom.webfonts.WebFontLoader.getLoader(e.family[0],!0);["css","fontFaces","comparisonString","version"].forEach((r=>{e[r]&&t["set"+qx.lang.String.firstUp(r)](e[r])}));t.load()}for(let e in r){r[e].loadComplete()}return r},_applyTheme(e){let t=this._dynamic={};for(let e in t)if(t[e].themed){t[e].dispose();delete t[e]}if(e){var r=this._manifestFonts?Object.assign(e.fonts,this._manifestFonts):e.fonts;t=this.__P_94_0(r)}this._setDynamic(t)},__P_94_1:e=>e.fontFaces||e.css?qx.bom.webfonts.WebFont:qx.bom.Font,getManifestFonts(){return this._manifestFonts}},destruct(){this._disposeMap("_dynamic")}});qx.theme.manager.Font.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.util.AliasManager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.theme.manager.Icon",{type:"singleton",extend:qx.core.Object,properties:{theme:{check:"Theme",nullable:!0,apply:"_applyTheme",event:"changeTheme"}},members:{_applyTheme(e,t){var r=qx.util.AliasManager.getInstance();if(t)for(var i in t.aliases)r.remove(i);if(e)for(var i in e.aliases)r.add(i,e.aliases[i])}}});qx.theme.manager.Icon.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.lang.Array":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.theme.manager.Appearance",{type:"singleton",extend:qx.core.Object,construct(){qx.core.Object.constructor.call(this);this.__P_95_0={};this.__P_95_1={}},properties:{theme:{check:"Theme",nullable:!0,event:"changeTheme",apply:"_applyTheme"}},members:{__P_95_2:{},__P_95_0:null,__P_95_1:null,_applyTheme(){this.__P_95_1={};this.__P_95_0={}},__P_95_3(e,t,r,i){var n=t.appearances,o=n[e];if(!o){for(var a,s="/",l=[],u=e.split(s),c=qx.lang.Array.clone(u);!o&&u.length>0;){l.unshift(u.pop());if((o=n[u.join(s)])&&"string"==typeof(a=o.alias||o)){var h=a+s+l.join(s);return this.__P_95_3(h,t,r,c)}}for(var d=0;d0&&(s+=":"+u)}var h,d=this.__P_95_0;if(d[r.name]&&void 0!==d[r.name][s])return d[r.name][s];t||(t=this.__P_95_2);if(a.include||a.base){var f;a.include&&(f=this.styleFrom(a.include,t,r,i));var _=a.style(t,f);h={};if(a.base){var p=this.styleFrom(o,t,a.base,i);if(a.include)for(var m in p)f.hasOwnProperty(m)||_.hasOwnProperty(m)||(h[m]=p[m]);else for(var g in p)_.hasOwnProperty(g)||(h[g]=p[g])}if(a.include)for(var v in f)_.hasOwnProperty(v)||(h[v]=f[v]);for(var b in _)h[b]=_[b]}else h=a.style(t);d[r.name]||(d[r.name]={});return d[r.name][s]=h||null}}});qx.theme.manager.Appearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.Theme",{statics:{define(e,t){if(!t)t={};t.include=this.__P_3_0(t.include);t.patch=this.__P_3_0(t.patch);var r={$$type:"Theme",name:e,title:t.title,toString:this.genericToString};t.extend&&(r.supertheme=t.extend);r.basename=qx.Bootstrap.createNamespace(e,r);this.__P_3_1(r,t);this.__P_3_2(r,t);this.$$registry[e]=r;for(var i=0,n=(o=t.include).length;ie?qx.Bootstrap.isArray(e)?e:[e]:[],__P_3_2(e,t){var r=t.aliases||{};t.extend&&t.extend.aliases&&qx.Bootstrap.objectMergeWith(r,t.extend.aliases,!1);e.aliases=r},getAll(){return this.$$registry},getByName(e){return this.$$registry[e]},isDefined(e){return void 0!==this.getByName(e)},getTotalNumber(){return qx.Bootstrap.objectGetLength(this.$$registry)},genericToString(){return"[Theme "+this.name+"]"},__P_3_3(e){for(var t=0,r=this.__P_3_4,i=r.length;t1)throw new Error("You can only define one theme category per file! Invalid theme: "+e)}if(t.meta){var l;for(var i in t.meta){l=t.meta[i];if(void 0===this.__P_3_6[i])throw new Error('The key "'+i+'" is not allowed inside a meta theme block.');if(typeof l!==this.__P_3_6[i])throw new Error('The type of the key "'+i+'" inside the meta block is wrong.');if("object"!=typeof l||null===l||"Theme"!==l.$$type)throw new Error('The content of a meta theme must reference to other themes. The value for "'+i+'" in theme "'+e+'" is invalid: '+l)}}if(t.extend&&"Theme"!==t.extend.$$type)throw new Error('Invalid extend in theme "'+e+'": '+t.extend);if(t.include)for(o=0,a=t.include.length;on.left&&en.top&&t{if(this.__P_159_2){qx.event.Idle.getInstance().removeListener("interval",this.__P_159_2);this.__P_159_2=null}}))}this._place(i)},placeToPoint(e){var t={left:e.left,top:e.top,right:e.left,bottom:e.top};this._place(t)},_getPlacementOffsets(){return{left:this.getOffsetLeft(),top:this.getOffsetTop(),right:this.getOffsetRight(),bottom:this.getOffsetBottom()}},__P_159_6(e){var t=null;if(this._computePlacementSize)t=this._computePlacementSize();else if(this.isVisible())t=this.getBounds();null==t?this.addListenerOnce("appear",(()=>{this.__P_159_6(e)})):e.call(this,t)},_place(e){this.__P_159_6((function(t){var r=qx.util.placement.Placement.compute(t,this.getLayoutParent().getBounds(),e,this._getPlacementOffsets(),this.getPosition(),this.getPlacementModeX(),this.getPlacementModeY());this.removeState("placementLeft");this.removeState("placementRight");this.addState(e.left"object"==typeof document.createStyleSheet,getInsertRule:()=>"function"==typeof qx.bom.client.Stylesheet.__P_145_0().insertRule,getDeleteRule:()=>"function"==typeof qx.bom.client.Stylesheet.__P_145_0().deleteRule,getAddImport:()=>"object"==typeof qx.bom.client.Stylesheet.__P_145_0().addImport,getRemoveImport:()=>"object"==typeof qx.bom.client.Stylesheet.__P_145_0().removeImport},defer(e){qx.core.Environment.add("html.stylesheet.createstylesheet",e.getCreateStyleSheet);qx.core.Environment.add("html.stylesheet.insertrule",e.getInsertRule);qx.core.Environment.add("html.stylesheet.deleterule",e.getDeleteRule);qx.core.Environment.add("html.stylesheet.addimport",e.getAddImport);qx.core.Environment.add("html.stylesheet.removeimport",e.getRemoveImport)}});qx.bom.client.Stylesheet.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.bom.client.Stylesheet":{require:!0},"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.dom.Element":{},"qx.util.Uri":{}},environment:{provided:[],required:{"html.stylesheet.createstylesheet":{className:"qx.bom.client.Stylesheet"},"html.stylesheet.insertrule":{className:"qx.bom.client.Stylesheet"},"html.stylesheet.deleterule":{className:"qx.bom.client.Stylesheet"},"html.stylesheet.addimport":{className:"qx.bom.client.Stylesheet"},"html.stylesheet.removeimport":{className:"qx.bom.client.Stylesheet"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Stylesheet",{statics:{includeFile(e,t){t||(t=document);var r=t.createElement("link");r.type="text/css";r.rel="stylesheet";r.href=e;t.getElementsByTagName("head")[0].appendChild(r)},createElement(e){if(qx.core.Environment.get("html.stylesheet.createstylesheet")){var t=document.createStyleSheet();e&&(t.cssText=e);return t}var r=document.createElement("style");r.type="text/css";e&&r.appendChild(document.createTextNode(e));document.getElementsByTagName("head")[0].appendChild(r);return r.sheet},addRule(e,t,r){qx.core.Environment.get("html.stylesheet.insertrule")?e.insertRule(t+"{"+r+"}",e.cssRules.length):e.addRule(t,r)},removeRule(e,t){if(qx.core.Environment.get("html.stylesheet.deleterule"))for(var r=(i=e.cssRules).length-1;r>=0;--r)i[r].selectorText==t&&e.deleteRule(r);else{var i;for(r=(i=e.rules).length-1;r>=0;--r)i[r].selectorText==t&&e.removeRule(r)}},removeSheet(e){var t=e.ownerNode?e.ownerNode:e.owningElement;qx.dom.Element.removeChild(t,t.parentNode)},removeAllRules(e){if(qx.core.Environment.get("html.stylesheet.deleterule"))for(var t=e.cssRules.length-1;t>=0;t--)e.deleteRule(t);else for(t=e.rules.length-1;t>=0;t--)e.removeRule(t)},addImport(e,t){qx.core.Environment.get("html.stylesheet.addimport")?e.addImport(t):e.insertRule('@import "'+t+'";',e.cssRules.length)},removeImport(e,t){if(qx.core.Environment.get("html.stylesheet.removeimport"))for(var r=e.imports,i=r.length-1;i>=0;i--)r[i].href!=t&&r[i].href!=qx.util.Uri.getAbsolute(t)||e.removeImport(i);else{var n=e.cssRules;for(i=n.length-1;i>=0;i--)n[i].href==t&&e.deleteRule(i)}},removeAllImports(e){if(qx.core.Environment.get("html.stylesheet.removeimport"))for(var t=e.imports.length-1;t>=0;t--)e.removeImport(t);else{var r=e.cssRules;for(t=r.length-1;t>=0;t--)r[t].type==r[t].IMPORT_RULE&&e.deleteRule(t)}}}});qx.bom.Stylesheet.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.Emitter",{extend:Object,statics:{__P_147_0:[]},members:{__P_147_1:null,__P_147_2:null,on(e,t,r){var i=qx.event.Emitter.__P_147_0.length;this.__P_147_3(e).push({listener:t,ctx:r,id:i,name:e});qx.event.Emitter.__P_147_0.push({name:e,listener:t,ctx:r});return i},once(e,t,r){var i=qx.event.Emitter.__P_147_0.length;this.__P_147_3(e).push({listener:t,ctx:r,once:!0,id:i});qx.event.Emitter.__P_147_0.push({name:e,listener:t,ctx:r});return i},off(e,t,r){for(var i=this.__P_147_3(e),n=i.length-1;n>=0;n--){var o=i[n];if(o.listener==t&&o.ctx==r){i.splice(n,1);qx.event.Emitter.__P_147_0[o.id]=null;return o.id}}return null},offById(e){var t=qx.event.Emitter.__P_147_0[e];t&&this.off(t.name,t.listener,t.ctx);return null},addListener(e,t,r){return this.on(e,t,r)},addListenerOnce(e,t,r){return this.once(e,t,r)},removeListener(e,t,r){this.off(e,t,r)},removeListenerById(e){this.offById(e)},emit(e,t){for(var r=this.__P_147_3(e).concat(),i=[],n=0;n=0;n--){var o;(o=r[n]).listener.call(o.ctx,t)}},getListeners(){return this.__P_147_1},getEntryById(e){for(var t in this.__P_147_1)for(var r=this.__P_147_1[t],i=0,n=r.length;iqx.bom.Style.getPropertyName("AnimationFillMode"),getPlayState:()=>qx.bom.Style.getPropertyName("AnimationPlayState"),getName:()=>qx.bom.Style.getPropertyName("animation"),getAnimationStart(){if(qx.bom.Event.supportsEvent(window,"webkitanimationstart"))return"webkitAnimationStart";return{msAnimation:"MSAnimationStart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"animationstart",OAnimation:"oAnimationStart",animation:"animationstart"}[this.getName()]},getAnimationIteration(){if(qx.bom.Event.supportsEvent(window,"webkitanimationiteration"))return"webkitAnimationIteration";return{msAnimation:"MSAnimationIteration",WebkitAnimation:"webkitAnimationIteration",MozAnimation:"animationiteration",OAnimation:"oAnimationIteration",animation:"animationiteration"}[this.getName()]},getAnimationEnd(){if(qx.bom.Event.supportsEvent(window,"webkitanimationend"))return"webkitAnimationEnd";return{msAnimation:"MSAnimationEnd",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}[this.getName()]},getKeyFrames(){for(var e=qx.bom.Style.VENDOR_PREFIXES,t=[],r=0;r=t+e){this.emit("end");this.id=null}else{var n=Math.max(i-t,0);this.emit("frame",n);this.id=qx.bom.AnimationFrame.request(r,this)}}),this)},cancelSequence(){this.__P_97_0=!0}},statics:{TIMEOUT:30,calculateTiming(e,t){if("ease-in"==e)var r=[3.1223e-7,.0757,1.2646,-.167,-.4387,.2654];else if("ease-out"==e)r=[-7.0198e-8,1.652,-.551,-.0458,.1255,-.1807];else{if("linear"==e)return t;if("ease-in-out"==e)r=[2.482e-7,-.2289,3.3466,-1.0857,-1.7354,.7034];else r=[-.0021,.2472,9.8054,-21.6869,17.7611,-5.1226]}for(var i=0,n=0;n=0;i--){e=r[i];t=this.__P_98_1[e.toHashCode()];r.splice(i,1);e.syncWidget(t)}if(0==r.length){this.__P_98_0=[];this.__P_98_1={}}}}});qx.ui.core.queue.Widget.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.lang.Array":{},"qx.ui.core.queue.Manager":{},"qx.ui.core.queue.Visibility":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.queue.Appearance",{statics:{__P_100_0:[],__P_100_1:{},remove(e){if(this.__P_100_1[e.toHashCode()]){qx.lang.Array.remove(this.__P_100_0,e);delete this.__P_100_1[e.toHashCode()]}},add(e){if(!this.__P_100_1[e.toHashCode()]){this.__P_100_0.unshift(e);this.__P_100_1[e.toHashCode()]=e;qx.ui.core.queue.Manager.scheduleFlush("appearance")}},has(e){return!!this.__P_100_1[e.toHashCode()]},flush(){for(var e,t=qx.ui.core.queue.Visibility,r=this.__P_100_0,i=r.length-1;i>=0;i--){e=r[i];r.splice(i,1);delete this.__P_100_1[e.toHashCode()];t.isVisible(e)?e.syncAppearance():e.$$stateChanges=!0}}}});qx.ui.core.queue.Appearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.queue.Manager":{},"qx.ui.core.queue.Visibility":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.queue.Layout",{statics:{__P_43_0:{},__P_43_1:{},remove(e){delete this.__P_43_0[e.toHashCode()]},add(e){this.__P_43_0[e.toHashCode()]=e;qx.ui.core.queue.Manager.scheduleFlush("layout")},isScheduled(e){return!!this.__P_43_0[e.toHashCode()]},flush(){for(var e=this.__P_43_2(),t=e.length-1;t>=0;t--){var r=e[t];if(!r.hasValidLayout())if(r.isRootWidget()&&!r.hasUserBounds()){var i=r.getSizeHint();r.renderLayout(0,0,i.width,i.height)}else{var n=r.getBounds();n&&r.renderLayout(n.left,n.top,n.width,n.height)}}},getNestingLevel(e){for(var t=this.__P_43_1,r=0,i=e;;){if(null!=t[i.toHashCode()]){r+=t[i.toHashCode()];break}if(!i.$$parent)break;i=i.$$parent;r+=1}for(var n=r;e&&e!==i;){t[e.toHashCode()]=n--;e=e.$$parent}return r},__P_43_3(){var e=qx.ui.core.queue.Visibility;this.__P_43_1={};var t,r,i=[],n=this.__P_43_0;for(var o in n){t=n[o];if(e.isVisible(t)){i[r=this.getNestingLevel(t)]||(i[r]={});i[r][o]=t;delete n[o]}}return i},__P_43_2(){for(var e=[],t=this.__P_43_3(),r=t.length-1;r>=0;r--)if(t[r])for(var i in t[r]){var n=t[r][i];if(0==r||n.isRootWidget()||n.hasUserBounds()){e.push(n);n.invalidateLayoutCache()}else{var o=n.getSizeHint(!1);if(o){n.invalidateLayoutCache();var a=n.getSizeHint(),s=!n.getBounds()||o.minWidth!==a.minWidth||o.width!==a.width||o.maxWidth!==a.maxWidth||o.minHeight!==a.minHeight||o.height!==a.height||o.maxHeight!==a.maxHeight}else s=!0;if(s){var l=n.getLayoutParent();t[r-1]||(t[r-1]={});t[r-1][l.toHashCode()]=l}else e.push(n)}}return e}}});qx.ui.core.queue.Layout.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.queue.Manager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.queue.Dispose",{statics:{__P_102_0:[],add(e){var t=this.__P_102_0;if(!t.includes(e)){t.unshift(e);qx.ui.core.queue.Manager.scheduleFlush("dispose")}},isEmpty(){return 0==this.__P_102_0.length},flush(){for(var e=this.__P_102_0,t=e.length-1;t>=0;t--){var r=e[t];e.splice(t,1);r.dispose()}0==e.length&&(this.__P_102_0=[])}}});qx.ui.core.queue.Dispose.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.bom.client.Engine":{require:!0},"qx.dom.Node":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Dimension",{statics:{getWidth(e){var t=e.getBoundingClientRect();return Math.round(t.right-t.left)},getHeight(e){var t=e.getBoundingClientRect();return Math.round(t.bottom-t.top)},getSize(e){return{width:this.getWidth(e),height:this.getHeight(e)}},getOuterHeight(e,t){if(t){let t=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-top"),10),r=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-bottom"),10);return e.offsetHeight+t+r}return e.offsetHeight},getOuterWidth(e,t){if(t){let t=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-left"),10),r=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-right"),10);return e.offsetWidth+t+r}return e.offsetWidth},getOuterSize(e,t){return{width:this.getOuterWidth(e,t),height:this.getOuterHeight(e,t)}},__P_155_0:{visible:!0,hidden:!0},getContentWidth(e){var t=qx.bom.element.Style,r=qx.bom.element.Style.get(e,"overflowX"),i=parseInt(t.get(e,"paddingLeft")||"0px",10),n=parseInt(t.get(e,"paddingRight")||"0px",10);if(this.__P_155_0[r]){var o=e.clientWidth;("opera"==qx.core.Environment.get("engine.name")||qx.dom.Node.isBlockNode(e))&&(o=o-i-n);return"mshtml"==qx.core.Environment.get("engine.name")&&0===o&&0===e.offsetHeight?e.offsetWidth:o}if(e.clientWidth>=e.scrollWidth)return Math.max(e.clientWidth,e.scrollWidth)-i-n;var a=e.scrollWidth-i;"mshtml"==qx.core.Environment.get("engine.name")&&(a-=n);return a},getContentHeight(e){var t=qx.bom.element.Style,r=qx.bom.element.Style.get(e,"overflowY"),i=parseInt(t.get(e,"paddingTop")||"0px",10),n=parseInt(t.get(e,"paddingBottom")||"0px",10);return this.__P_155_0[r]?e.clientHeight-i-n:e.clientHeight>=e.scrollHeight?Math.max(e.clientHeight,e.scrollHeight)-i-n:e.scrollHeight-i},getContentSize(e){return{width:this.getContentWidth(e),height:this.getContentHeight(e)}}}});qx.bom.element.Dimension.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.Viewport":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Document",{statics:{isQuirksMode:qx.core.Environment.select("engine.name",{mshtml:e=>qx.core.Environment.get("engine.version")>=8?5===(e||window).document.documentMode:"CSS1Compat"!==(e||window).document.compatMode,webkit(e){if(void 0===document.compatMode){var t=(e||window).document.createElement("div");t.style.cssText="position:absolute;width:0;height:0;width:1";return"1px"===t.style.width}return"CSS1Compat"!==(e||window).document.compatMode},default:e=>"CSS1Compat"!==(e||window).document.compatMode}),isStandardMode(e){return!this.isQuirksMode(e)},getWidth(e){var t=(e||window).document,r=qx.bom.Viewport.getWidth(e),i=this.isStandardMode(e)?t.documentElement.scrollWidth:t.body.scrollWidth;return Math.max(i,r)},getHeight(e){var t=(e||window).document,r=qx.bom.Viewport.getHeight(e),i=this.isStandardMode(e)?t.documentElement.scrollHeight:t.body.scrollHeight;return Math.max(i,r)}}});qx.bom.Document.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.Document":{},"qx.bom.client.OperatingSystem":{require:!0}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Viewport",{statics:{getWidth(e){var t=(e=e||window).document;return qx.bom.Document.isStandardMode(e)?t.documentElement.clientWidth:t.body.clientWidth},getHeight(e){var t=(e=e||window).document;return"ios"==qx.core.Environment.get("os.name")&&window.innerHeight!=t.documentElement.clientHeight?window.innerHeight:qx.bom.Document.isStandardMode(e)?t.documentElement.clientHeight:t.body.clientHeight},getScrollLeft(e){if(void 0!==(e=e||window).pageXOffset)return e.pageXOffset;var t=e.document;return t.documentElement.scrollLeft||t.body.scrollLeft},getScrollTop(e){if(void 0!==(e=e||window).pageYOffset)return e.pageYOffset;var t=e.document;return t.documentElement.scrollTop||t.body.scrollTop},__P_48_0(e){var t=this.getWidth(e)>this.getHeight(e)?90:0,r=e.orientation;return null==r||Math.abs(r%180)==t?{"-270":90,"-180":180,"-90":-90,0:0,90:90,180:180,270:-90}:{"-270":180,"-180":-90,"-90":0,0:90,90:180,180:-90,270:0}},__P_48_1:null,getOrientation(e){var t=(e=e||window.top).orientation;if(null==t)t=this.getWidth(e)>this.getHeight(e)?90:0;else{null==this.__P_48_1&&(this.__P_48_1=this.__P_48_0(e));t=this.__P_48_1[t]}return t},isLandscape(e){var t=this.getOrientation(e);return-90===t||90===t},isPortrait(e){var t=this.getOrientation(e);return 0===t||180===t}}});qx.bom.Viewport.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.dom.Node":{},"qx.bom.Viewport":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.element.BoxSizing":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"browser.quirksmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Location",{statics:{__P_106_0:(e,t)=>qx.bom.element.Style.get(e,t,qx.bom.element.Style.COMPUTED_MODE,!1),__P_106_1:(e,t)=>parseInt(qx.bom.element.Style.get(e,t,qx.bom.element.Style.COMPUTED_MODE,!1),10)||0,__P_106_2(e){var t=0,r=0,i=qx.dom.Node.getWindow(e);return{left:t-=qx.bom.Viewport.getScrollLeft(i),top:r-=qx.bom.Viewport.getScrollTop(i)}},__P_106_3:qx.core.Environment.select("engine.name",{mshtml(e){var t=qx.dom.Node.getDocument(e),r=t.body,i=0,n=0;i-=r.clientLeft+t.documentElement.clientLeft;n-=r.clientTop+t.documentElement.clientTop;if(!qx.core.Environment.get("browser.quirksmode")){i+=this.__P_106_1(r,"borderLeftWidth");n+=this.__P_106_1(r,"borderTopWidth")}return{left:i,top:n}},webkit(e){var t=qx.dom.Node.getDocument(e).body;return{left:t.offsetLeft,top:t.offsetTop}},gecko(e){var t=qx.dom.Node.getDocument(e).body,r=t.offsetLeft,i=t.offsetTop;if("border-box"!==qx.bom.element.BoxSizing.get(t)){r+=this.__P_106_1(t,"borderLeftWidth");i+=this.__P_106_1(t,"borderTopWidth")}return{left:r,top:i}},default(e){var t=qx.dom.Node.getDocument(e).body;return{left:t.offsetLeft,top:t.offsetTop}}}),__P_106_4(e){var t=e.getBoundingClientRect();return{left:Math.round(t.left),top:Math.round(t.top)}},get(e,t){if("BODY"==e.tagName)var r=this.__P_106_5(e),i=r.left,n=r.top;else{var o=this.__P_106_3(e),a=this.__P_106_4(e),s=this.__P_106_2(e);i=a.left+o.left-s.left,n=a.top+o.top-s.top}var l,u;if(e instanceof SVGElement){var c=e.getBoundingClientRect();l=c.width;u=c.height}else{l=e.offsetWidth;u=e.offsetHeight}var h=i+l,d=n+u;if(t){if("padding"==t||"scroll"==t){var f=qx.bom.element.Style.get(e,"overflowX");"scroll"!=f&&"auto"!=f||(h+=e.scrollWidth-l+this.__P_106_1(e,"borderLeftWidth")+this.__P_106_1(e,"borderRightWidth"));var _=qx.bom.element.Style.get(e,"overflowY");"scroll"!=_&&"auto"!=_||(d+=e.scrollHeight-u+this.__P_106_1(e,"borderTopWidth")+this.__P_106_1(e,"borderBottomWidth"))}switch(t){case"padding":i+=this.__P_106_1(e,"paddingLeft");n+=this.__P_106_1(e,"paddingTop");h-=this.__P_106_1(e,"paddingRight");d-=this.__P_106_1(e,"paddingBottom");case"scroll":i-=e.scrollLeft;n-=e.scrollTop;h-=e.scrollLeft;d-=e.scrollTop;case"border":i+=this.__P_106_1(e,"borderLeftWidth");n+=this.__P_106_1(e,"borderTopWidth");h-=this.__P_106_1(e,"borderRightWidth");d-=this.__P_106_1(e,"borderBottomWidth");break;case"margin":i-=this.__P_106_1(e,"marginLeft");n-=this.__P_106_1(e,"marginTop");h+=this.__P_106_1(e,"marginRight");d+=this.__P_106_1(e,"marginBottom")}}return{left:i,top:n,right:h,bottom:d}},__P_106_5(e){var t=e.offsetTop,r=e.offsetLeft;t+=this.__P_106_1(e,"marginTop");r+=this.__P_106_1(e,"marginLeft");if("gecko"===qx.core.Environment.get("engine.name")){t+=this.__P_106_1(e,"borderLeftWidth");r+=this.__P_106_1(e,"borderTopWidth")}return{left:r,top:t}},getLeft(e,t){return this.get(e,t).left},getTop(e,t){return this.get(e,t).top},getRight(e,t){return this.get(e,t).right},getBottom(e,t){return this.get(e,t).bottom},getRelative(e,t,r,i){var n=this.get(e,r),o=this.get(t,i);return{left:n.left-o.left,top:n.top-o.top,right:n.right-o.right,bottom:n.bottom-o.bottom}},getPosition(e){return this.getRelative(e,this.getOffsetParent(e))},getOffsetParent(e){if(e instanceof SVGElement)return document.body;for(var t=e.offsetParent||document.body,r=qx.bom.element.Style;t&&!/^body|html$/i.test(t.tagName)&&"static"===r.get(t,"position");)t=t.offsetParent;return t}}});qx.bom.element.Location.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.lang.normalize.String":{require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Clip",{statics:{compile(e){if(!e)return"clip:auto;";var t,r,i=e.left,n=e.top,o=e.width,a=e.height;if(null==i){t=null==o?"auto":o+"px";i="auto"}else{t=null==o?"auto":i+o+"px";i+="px"}if(null==n){r=null==a?"auto":a+"px";n="auto"}else{r=null==a?"auto":n+a+"px";n+="px"}return"clip:rect("+n+","+t+","+r+","+i+");"},get(e,t){var r,i,n,o,a,s,l=qx.bom.element.Style.get(e,"clip",t,!1);if("string"==typeof l&&"auto"!==l&&""!==l){l=l.trim();if(!/\((.*)\)/.test(l))throw new Error("Could not parse clip string: "+l);var u=RegExp.$1;if(/,/.test(u))var c=u.split(",");else c=u.split(" ");i=c[0].trim();a=c[1].trim();s=c[2].trim();"auto"===(r=c[3].trim())&&(r=null);"auto"===i&&(i=null);"auto"===a&&(a=null);"auto"===s&&(s=null);null!=i&&(i=parseInt(i,10));null!=a&&(a=parseInt(a,10));null!=s&&(s=parseInt(s,10));null!=r&&(r=parseInt(r,10));null!=a&&null!=r?n=a-r:null!=a&&(n=a);null!=s&&null!=i?o=s-i:null!=s&&(o=s)}return{left:r||null,top:i||null,width:n||null,height:o||null}},set(e,t){if(t){var r,i,n=t.left,o=t.top,a=t.width,s=t.height;if(null==n){r=null==a?"auto":a+"px";n="auto"}else{r=null==a?"auto":n+a+"px";n+="px"}if(null==o){i=null==s?"auto":s+"px";o="auto"}else{i=null==s?"auto":o+s+"px";o+="px"}e.style.clip="rect("+o+","+r+","+i+","+n+")"}else e.style.clip="rect(auto,auto,auto,auto)"},reset(e){e.style.clip="rect(auto, auto, auto, auto)"}}});qx.bom.element.Clip.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.bom.client.Engine":{defer:"load",require:!0},"qx.bom.client.Browser":{defer:"load",require:!0}},environment:{provided:[],required:{"engine.name":{defer:!0,className:"qx.bom.client.Engine"},"engine.version":{defer:!0,className:"qx.bom.client.Engine"},"browser.documentmode":{defer:!0,className:"qx.bom.client.Browser"},"browser.quirksmode":{defer:!0,className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Cursor",{statics:{__P_105_0:{},compile(e){return"cursor:"+(this.__P_105_0[e]||e)+";"},get:(e,t)=>qx.bom.element.Style.get(e,"cursor",t,!1),set(e,t){e.style.cursor=this.__P_105_0[t]||t},reset(e){e.style.cursor=""}},defer(e){if("mshtml"==qx.core.Environment.get("engine.name")&&(parseFloat(qx.core.Environment.get("engine.version"))<9||qx.core.Environment.get("browser.documentmode")<9)&&!qx.core.Environment.get("browser.quirksmode")){e.__P_105_0["nesw-resize"]="ne-resize";e.__P_105_0["nwse-resize"]="nw-resize"}}});qx.bom.element.Cursor.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Css":{require:!0},"qx.bom.element.Style":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"css.opacity":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Opacity",{statics:{compile:qx.core.Environment.select("engine.name",{mshtml(e){e>=1&&(e=1);e<1e-5&&(e=0);return qx.core.Environment.get("css.opacity")?"opacity:"+e+";":"zoom:1;filter:alpha(opacity="+100*e+");"},default:e=>"opacity:"+e+";"}),set:qx.core.Environment.select("engine.name",{mshtml(e,t){if(qx.core.Environment.get("css.opacity"))e.style.opacity=t;else{var r=qx.bom.element.Style.get(e,"filter",qx.bom.element.Style.COMPUTED_MODE,!1);t>=1&&(t=1);t<1e-5&&(t=0);e.currentStyle&&e.currentStyle.hasLayout||(e.style.zoom=1);e.style.filter=r.replace(/alpha\([^\)]*\)/gi,"")+"alpha(opacity="+100*t+")"}},default(e,t){e.style.opacity=t}}),reset:qx.core.Environment.select("engine.name",{mshtml(e){if(qx.core.Environment.get("css.opacity"))e.style.opacity="";else{var t=qx.bom.element.Style.get(e,"filter",qx.bom.element.Style.COMPUTED_MODE,!1);e.style.filter=t.replace(/alpha\([^\)]*\)/gi,"")}},default(e){e.style.opacity=""}}),get:qx.core.Environment.select("engine.name",{mshtml(e,t){if(qx.core.Environment.get("css.opacity")){return null!=(i=qx.bom.element.Style.get(e,"opacity",t,!1))?parseFloat(i):1}var r=qx.bom.element.Style.get(e,"filter",t,!1);if(r){var i;if((i=r.match(/alpha\(opacity=(.*)\)/))&&i[1])return parseFloat(i[1])/100}return 1},default(e,t){var r=qx.bom.element.Style.get(e,"opacity",t,!1);return null!=r?parseFloat(r):1}})}});qx.bom.element.Opacity.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Css":{require:!0},"qx.bom.Style":{},"qx.bom.element.Style":{},"qx.bom.Document":{},"qx.dom.Node":{}},environment:{provided:[],required:{"css.boxsizing":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.BoxSizing",{statics:{__P_117_0:{tags:{button:!0,select:!0},types:{search:!0,button:!0,submit:!0,reset:!0,checkbox:!0,radio:!0}},__P_117_1(e){var t=this.__P_117_0;return t.tags[e.tagName.toLowerCase()]||t.types[e.type]},compile(e){if(qx.core.Environment.get("css.boxsizing")){return qx.bom.Style.getCssName(qx.core.Environment.get("css.boxsizing"))+":"+e+";"}},get(e){return qx.core.Environment.get("css.boxsizing")?qx.bom.element.Style.get(e,"boxSizing",null,!1)||"":qx.bom.Document.isStandardMode(qx.dom.Node.getWindow(e))&&!this.__P_117_1(e)?"content-box":"border-box"},set(e,t){if(qx.core.Environment.get("css.boxsizing"))try{e.style[qx.core.Environment.get("css.boxsizing")]=t}catch(e){}},reset(e){this.set(e,"")}}});qx.bom.element.BoxSizing.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.lang.String":{require:!0,defer:"runtime"},"qx.bom.client.Css":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.bom.Style":{},"qx.bom.element.Clip":{require:!0},"qx.bom.element.Cursor":{require:!0},"qx.bom.element.Opacity":{require:!0},"qx.bom.element.BoxSizing":{require:!0},"qx.dom.Node":{}},environment:{provided:[],required:{"css.appearance":{className:"qx.bom.client.Css"},"css.userselect":{className:"qx.bom.client.Css"},"css.textoverflow":{className:"qx.bom.client.Css"},"css.borderimage":{className:"qx.bom.client.Css"},"css.float":{className:"qx.bom.client.Css"},"css.usermodify":{className:"qx.bom.client.Css"},"css.boxsizing":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Style",{statics:{__P_49_0:null,__P_49_1:null,__P_49_2(){var e={appearance:qx.core.Environment.get("css.appearance"),userSelect:qx.core.Environment.get("css.userselect"),textOverflow:qx.core.Environment.get("css.textoverflow"),borderImage:qx.core.Environment.get("css.borderimage"),float:qx.core.Environment.get("css.float"),userModify:qx.core.Environment.get("css.usermodify"),boxSizing:qx.core.Environment.get("css.boxsizing")};this.__P_49_1={};for(var t in qx.lang.Object.clone(e))e[t]?"float"===t?this.__P_49_1.cssFloat=t:this.__P_49_1[t]=qx.bom.Style.getCssName(e[t]):delete e[t];this.__P_49_0=e},__P_49_3(e){var t=qx.bom.Style.getPropertyName(e);t&&(this.__P_49_0[e]=t);return t},__P_49_4:{width:"pixelWidth",height:"pixelHeight",left:"pixelLeft",right:"pixelRight",top:"pixelTop",bottom:"pixelBottom"},__P_49_5:{clip:qx.bom.element.Clip,cursor:qx.bom.element.Cursor,opacity:qx.bom.element.Opacity,boxSizing:qx.bom.element.BoxSizing},compile(e){var t,r,i=[],n=this.__P_49_5,o=this.__P_49_1;for(t in e)if(null!=(r=e[t]))if(n[t=this.__P_49_1[t]||t])i.push(n[t].compile(r));else{o[t]||(o[t]=qx.bom.Style.getCssName(t));i.push(o[t],":",""===r?'""':r,";")}return i.join("")},setCss(e,t){e.setAttribute("style",t)},getCss:e=>e.getAttribute("style"),isPropertySupported(e){return this.__P_49_5[e]||this.__P_49_0[e]||e in document.documentElement.style},COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set(e,t,r,i){t=this.__P_49_0[t]||this.__P_49_3(t)||t;!1!==i&&this.__P_49_5[t]?this.__P_49_5[t].set(e,r):e.style[t]=null!==r?r:""},setStyles(e,t,r){var i=this.__P_49_0,n=this.__P_49_5,o=e.style;for(var a in t){var s=t[a],l=i[a]||this.__P_49_3(a)||a;void 0===s?!1!==r&&n[l]?n[l].reset(e):o[l]="":!1!==r&&n[l]?n[l].set(e,s):o[l]=null!==s?s:""}},reset(e,t,r){t=this.__P_49_0[t]||this.__P_49_3(t)||t;!1!==r&&this.__P_49_5[t]?this.__P_49_5[t].reset(e):e.style[t]=""},get(e,t,r,i){t=this.__P_49_0[t]||this.__P_49_3(t)||t;if(!1!==i&&this.__P_49_5[t])return this.__P_49_5[t].get(e,r);switch(r){case this.LOCAL_MODE:return e.style[t]||"";case this.CASCADED_MODE:if(e.currentStyle)return e.currentStyle[t]||"";throw new Error("Cascaded styles are not supported in this browser!");default:var n=qx.dom.Node.getDocument(e),o=n.defaultView?n.defaultView.getComputedStyle:void 0;if(void 0===o){if(!e.currentStyle)return e.style[t]||"";var a=e.currentStyle[t]||e.style[t]||"";if(/^-?[\.\d]+(px)?$/i.test(a))return a;var s=this.__P_49_4[t];if(s&&s in e.style){var l=e.style[t];e.style[t]=a||0;var u=e.style[s]+"px";e.style[t]=l;return u}return a}var c=o(e,null);return c&&c[t]?c[t]:e.style[t]||""}}},defer(e){e.__P_49_2()}});qx.bom.element.Style.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["html.webworker","html.filereader","html.geolocation","html.audio","html.audio.ogg","html.audio.mp3","html.audio.wav","html.audio.au","html.audio.aif","html.video","html.video.ogg","html.video.h264","html.video.webm","html.storage.local","html.storage.session","html.storage.userdata","html.classlist","html.xpath","html.xul","html.canvas","html.svg","html.vml","html.dataset","html.element.contains","html.element.compareDocumentPosition","html.element.textcontent","html.console","html.image.naturaldimensions","html.history.state","html.selection","html.node.isequalnode","html.fullscreen"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.Html",{statics:{getWebWorker:()=>null!=window.Worker,getFileReader:()=>null!=window.FileReader,getGeoLocation:()=>"geolocation"in navigator,getAudio:()=>!!document.createElement("audio").canPlayType,getAudioOgg:()=>qx.bom.client.Html.getAudio()?document.createElement("audio").canPlayType("audio/ogg"):"",getAudioMp3:()=>qx.bom.client.Html.getAudio()?document.createElement("audio").canPlayType("audio/mpeg"):"",getAudioWav:()=>qx.bom.client.Html.getAudio()?document.createElement("audio").canPlayType("audio/x-wav"):"",getAudioAu:()=>qx.bom.client.Html.getAudio()?document.createElement("audio").canPlayType("audio/basic"):"",getAudioAif:()=>qx.bom.client.Html.getAudio()?document.createElement("audio").canPlayType("audio/x-aiff"):"",getVideo:()=>!!document.createElement("video").canPlayType,getVideoOgg:()=>qx.bom.client.Html.getVideo()?document.createElement("video").canPlayType('video/ogg; codecs="theora, vorbis"'):"",getVideoH264:()=>qx.bom.client.Html.getVideo()?document.createElement("video").canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"'):"",getVideoWebm:()=>qx.bom.client.Html.getVideo()?document.createElement("video").canPlayType('video/webm; codecs="vp8, vorbis"'):"",getLocalStorage(){try{window.localStorage.setItem("$qx_check","test");window.localStorage.removeItem("$qx_check");return!0}catch(e){return!1}},getSessionStorage(){try{window.sessionStorage.setItem("$qx_check","test");window.sessionStorage.removeItem("$qx_check");return!0}catch(e){return!1}},getUserDataStorage(){var e=document.createElement("div");e.style.display="none";document.getElementsByTagName("head")[0].appendChild(e);var t=!1;try{e.addBehavior("#default#userdata");e.load("qxtest");t=!0}catch(e){}document.getElementsByTagName("head")[0].removeChild(e);return t},getClassList:()=>!(!document.documentElement.classList||"DOMTokenList"!==qx.Bootstrap.getClass(document.documentElement.classList)),getXPath:()=>!!document.evaluate,getXul(){try{document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul","label");return!0}catch(e){return!1}},getSvg:()=>document.implementation&&document.implementation.hasFeature&&(document.implementation.hasFeature("org.w3c.dom.svg","1.0")||document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")),getVml(){var e=document.createElement("div");document.body.appendChild(e);e.innerHTML='';e.firstChild.style.behavior="url(#default#VML)";var t="object"==typeof e.firstChild.adj;document.body.removeChild(e);return t},getCanvas:()=>!!window.CanvasRenderingContext2D,getDataUrl(e){var t=new Image;t.onload=t.onerror=function(){window.setTimeout((function(){e.call(null,1==t.width&&1==t.height)}),0)};t.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw=="},getDataset:()=>!!document.documentElement.dataset,getContains:()=>void 0!==document.documentElement.contains,getCompareDocumentPosition:()=>"function"==typeof document.documentElement.compareDocumentPosition,getTextContent:()=>void 0!==document.createElement("span").textContent,getFullScreen:()=>document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled||!1,getConsole:()=>void 0!==window.console,getNaturalDimensions(){var e=document.createElement("img");return"number"==typeof e.naturalHeight&&"number"==typeof e.naturalWidth},getHistoryState:()=>void 0!==window.onpopstate&&void 0!==window.history.replaceState&&void 0!==window.history.pushState,getSelection:()=>"function"==typeof window.getSelection?"getSelection":"object"==typeof document.selection?"selection":null,getIsEqualNode:()=>"function"==typeof document.documentElement.isEqualNode},defer(e){qx.core.Environment.add("html.webworker",e.getWebWorker);qx.core.Environment.add("html.filereader",e.getFileReader);qx.core.Environment.add("html.geolocation",e.getGeoLocation);qx.core.Environment.add("html.audio",e.getAudio);qx.core.Environment.add("html.audio.ogg",e.getAudioOgg);qx.core.Environment.add("html.audio.mp3",e.getAudioMp3);qx.core.Environment.add("html.audio.wav",e.getAudioWav);qx.core.Environment.add("html.audio.au",e.getAudioAu);qx.core.Environment.add("html.audio.aif",e.getAudioAif);qx.core.Environment.add("html.video",e.getVideo);qx.core.Environment.add("html.video.ogg",e.getVideoOgg);qx.core.Environment.add("html.video.h264",e.getVideoH264);qx.core.Environment.add("html.video.webm",e.getVideoWebm);qx.core.Environment.add("html.storage.local",e.getLocalStorage);qx.core.Environment.add("html.storage.session",e.getSessionStorage);qx.core.Environment.add("html.storage.userdata",e.getUserDataStorage);qx.core.Environment.add("html.classlist",e.getClassList);qx.core.Environment.add("html.xpath",e.getXPath);qx.core.Environment.add("html.xul",e.getXul);qx.core.Environment.add("html.canvas",e.getCanvas);qx.core.Environment.add("html.svg",e.getSvg);qx.core.Environment.add("html.vml",e.getVml);qx.core.Environment.add("html.dataset",e.getDataset);qx.core.Environment.addAsync("html.dataurl",e.getDataUrl);qx.core.Environment.add("html.element.contains",e.getContains);qx.core.Environment.add("html.element.compareDocumentPosition",e.getCompareDocumentPosition);qx.core.Environment.add("html.element.textcontent",e.getTextContent);qx.core.Environment.add("html.console",e.getConsole);qx.core.Environment.add("html.image.naturaldimensions",e.getNaturalDimensions);qx.core.Environment.add("html.history.state",e.getHistoryState);qx.core.Environment.add("html.selection",e.getSelection);qx.core.Environment.add("html.node.isequalnode",e.getIsEqualNode);qx.core.Environment.add("html.fullscreen",e.getFullScreen)}});qx.bom.client.Html.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Html":{require:!0}},environment:{provided:[],required:{"html.classlist":{load:!0,className:"qx.bom.client.Html"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Class",{statics:{__P_206_0:/\s+/g,__P_206_1:/^\s+|\s+$/g,add:{native(e,t){t.length>0&&e.classList.add(t);return t},default(e,t){this.has(e,t)||(e.className+=(e.className?" ":"")+t);return t}}[qx.core.Environment.get("html.classlist")?"native":"default"],addClasses:{native(e,t){for(var r=0;r0&&e.classList.add(t[r]);return e.className},default(e,t){var r,i={},n=e.className;if(n){for(var o=0,a=(r=n.split(this.__P_206_0)).length;oe.classList.contains(t),default:(e,t)=>new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)}[qx.core.Environment.get("html.classlist")?"native":"default"],remove:{native(e,t){e.classList.remove(t);return t},default(e,t){var r=new RegExp("(^|\\s)"+t+"(\\s|$)");e.className=e.className.replace(r,"$2");return t}}[qx.core.Environment.get("html.classlist")?"native":"default"],removeClasses:{native(e,t){for(var r=0;r=0;i--){var n=new qx.event.type.dom.Pointer("pointercancel",e,{identifier:this.__P_215_5[i].identifier,target:e.target,pointerType:"touch",pointerId:this.__P_215_5[i].identifier+2});this._fireEvent(n,"pointercancel",e.target)}this.__P_215_9=null;this.__P_215_5=[]}else{"touchstart"==e.type&&null===this.__P_215_9&&(this.__P_215_9=r[0].identifier);i=0;for(var o=r.length;i1||"mouseup"==e.type&&i>0))if("contextmenu"!=e.type){var a=new qx.event.type.dom.Pointer(t,e,n);this._fireEvent(a,t,r)}else this.__P_215_4[e.which]=0}}},_determineActiveTouches(e,t){if("touchstart"==e)for(var r=0;r=0;i--)r[t[i].name]=t[i].value;t=r}var n={};if(t.style){t.style.split(/;/).forEach((function(e){var t=e.indexOf(":"),r=e.substring(0,t),i=e.substring(t+1).trim();r&&(n[r]=i)}));delete t.style}var o=t["data-qx-classname"];if(o)qx.Class.getByName(o)}var a=this.__P_190_0[e];if(a)for(i=a.length-1;i>-1;i--){var s=a[i];if(s.classname&&qx.Class.getByName(s.classname)===s)return new s(e,n,t);var l=s(e,n,t);if(l)return l}return new qx.html.Element(e,n,t)}}});qx.html.Factory.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.core.Init":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.core.Id",{extend:qx.core.Object,type:"singleton",members:{__P_153_0:null,__P_153_1:null,_createQxObject(e){return this._createQxObjectImpl(e)},_createQxObjectImpl(e){if(this.__P_153_0){var t=this.__P_153_0[e];if(void 0!==t)return t}if("application"===e)return qx.core.Init.getApplication()||void 0},getAbsoluteIdOf(e,t){if(this.__P_153_1&&this.__P_153_1[e.toHashCode()])return e.getQxObjectId();for(var r=[],i=qx.core.Init.getApplication();e;){var n=e.getQxObjectId();if(!n){t||this.error("Cannot determine an absolute Object ID because one of the ancestor ObjectID's is null (got as far as "+r.join("/")+")");return null}r.unshift(n);var o=e.getQxOwner();if(!o){t||this.error("Cannot determine a global absolute Object ID because the topmost object is not registered");return null}var a=null;if(a=o===i?"application":this.__P_153_1&&this.__P_153_1[o.toHashCode()]||null){r.unshift(a);break}e=o}return r.join("/")},register(e,t){if(!this.__P_153_0){this.__P_153_0={};this.__P_153_1={}}t||(t=e.getQxObjectId());this.__P_153_0[t]=e;this.__P_153_1[e.toHashCode()]=t;e._cascadeQxObjectIdChanges()},unregister(e){if(!this.__P_153_0)return!1;var t;if("string"==typeof e)t=e;else{var r=e.toHashCode();if(!(t=this.__P_153_1[r]))return!1}var i=this.__P_153_0[t];if(i){delete this.__P_153_0[t];delete this.__P_153_1[i.toHashCode()];i._cascadeQxObjectIdChanges();return!0}return!1},getRegisteredObjects(){return this.__P_153_0}},statics:{getQxObject(e){return this.getInstance().getQxObject(e)},getAbsoluteIdOf(e,t){return this.getInstance().getAbsoluteIdOf(e,t)}}});qx.core.Id.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.event.IEventDispatcher":{require:!0},"qx.event.Utils":{},"qx.event.type.Event":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.dispatch.AbstractBubbling",{extend:qx.core.Object,implement:qx.event.IEventDispatcher,type:"abstract",construct(e){this._manager=e},members:{_getParent(e){throw new Error("Missing implementation")},canDispatchEvent:(e,t,r)=>t.getBubbles(),dispatchEvent(e,t,r){var i,n,o,a=e,s=this._manager,l=[];i=s.getListeners(e,r,!0);n=s.getListeners(e,r,!1);i&&l.push(i);n&&l.push(n);a=this._getParent(e);for(var u=[],c=[],h=[],d=[];null!=a;){if(i=s.getListeners(a,r,!0)){h.push(i);d.push(a)}if(n=s.getListeners(a,r,!1)){u.push(n);c.push(a)}a=this._getParent(a)}var f,_=this,p={},m=function(){};qx.event.Utils.catch(p,(function(){m("Aborted serial="+f+", type="+t.getType())}));qx.event.Utils.then(p,(function(){t.setEventPhase(qx.event.type.Event.CAPTURING_PHASE);m("captureList="+h.length);return qx.event.Utils.series(h,(function(e,r){m("captureList["+r+"]: localList.length="+e.length);var i=d[r];t.setCurrentTarget(i);var n=qx.event.Utils.series(e,(function(e,n){o=e.context||i;if(!_._manager.isBlacklisted(e.unique)){m("captureList["+r+"] => localList["+n+"] callListener");return e.handler.call(o,t)}m("captureList["+r+"] => localList["+n+"] is blacklisted")}),!0);return n===qx.event.Utils.ABORT||t.getPropagationStopped()?qx.event.Utils.reject(p):n}))}));qx.event.Utils.then(p,(function(){t.setEventPhase(qx.event.type.Event.AT_TARGET);t.setCurrentTarget(e);m("targetList="+l.length);return qx.event.Utils.series(l,(function(r,i){m("targetList["+i+"] localList.length="+r.length);var n=qx.event.Utils.series(r,(function(r,n){m("targetList["+i+"] -> localList["+n+"] callListener");o=r.context||e;m("Calling target serial="+f+", type="+t.getType());return r.handler.call(o,t)}),!0);return n===qx.event.Utils.ABORT||t.getPropagationStopped()?qx.event.Utils.reject(p):n}))}));qx.event.Utils.then(p,(function(){t.setEventPhase(qx.event.type.Event.BUBBLING_PHASE);m("bubbleList="+u.length);return qx.event.Utils.series(u,(function(e,r){m("bubbleList["+r+"] localList.length="+e.length);var i=c[r];t.setCurrentTarget(i);var n=qx.event.Utils.series(e,(function(e,n){m("bubbleList["+r+"] -> localList["+n+"] callListener");o=e.context||i;return e.handler.call(o,t)}),!0);return n===qx.event.Utils.ABORT||t.getPropagationStopped()?qx.event.Utils.reject(p):n}))}));false;return p.promise}}});qx.event.dispatch.AbstractBubbling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.dispatch.AbstractBubbling":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.dispatch.DomBubbling",{extend:qx.event.dispatch.AbstractBubbling,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL},members:{_getParent:e=>e.parentNode,canDispatchEvent:(e,t,r)=>void 0!==e.nodeType&&t.getBubbles()},defer(e){qx.event.Registration.addDispatcher(e)}});qx.event.dispatch.DomBubbling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.UserAction":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",construct:!0,usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.Engine":{construct:!0,defer:"load",require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.event.type.KeyInput":{},"qx.event.Utils":{},"qx.event.type.Data":{},"qx.event.type.KeySequence":{},"qx.bom.client.Browser":{require:!0},"qx.event.util.Keyboard":{},"qx.event.handler.Focus":{},"qx.lang.Function":{},"qx.bom.Event":{},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.core.ObjectRegistry":{}},environment:{provided:[],required:{"engine.name":{construct:!0,className:"qx.bom.client.Engine",load:!0,defer:!0},"browser.version":{className:"qx.bom.client.Browser",load:!0},"engine.version":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Keyboard",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this.__P_158_0=e;this.__P_158_1=e.getWindow();"gecko"==qx.core.Environment.get("engine.name")?this.__P_158_2=this.__P_158_1:this.__P_158_2=this.__P_158_1.document.documentElement;this.__P_158_3={};this._initKeyObserver()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{keyup:1,keydown:1,keypress:1,keyinput:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!0},members:{__P_158_4:null,__P_158_0:null,__P_158_1:null,__P_158_2:null,__P_158_3:null,__P_158_5:null,__P_158_6:null,__P_158_7:null,canHandleEvent(e,t){},registerEvent(e,t,r){},unregisterEvent(e,t,r){},_fireInputEvent(e,t){var r=this.__P_158_8(),i={},n=this;if(r&&0!=r.offsetWidth){var o=qx.event.Registration.createEvent("keyinput",qx.event.type.KeyInput,[e,r,t]);qx.event.Utils.then(i,(function(){n.__P_158_0.dispatchEvent(r,o)}))}if(this.__P_158_1){n=this;qx.event.Utils.then(i,(function(){return qx.event.Registration.fireEvent(n.__P_158_1,"useraction",qx.event.type.Data,["keyinput"])}))}return i.promise},_fireSequenceEvent(e,t,r){var i=this.__P_158_8(),n=e.keyCode,o={},a=this,s=qx.event.Registration.createEvent(t,qx.event.type.KeySequence,[e,i,r]);qx.event.Utils.then(o,(function(){return a.__P_158_0.dispatchEvent(i,s)}));s.getDefaultPrevented()&&"keydown"==t&&("mshtml"==qx.core.Environment.get("engine.name")||"webkit"==qx.core.Environment.get("engine.name")||"gecko"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.version")>=29)&&(qx.event.util.Keyboard.isNonPrintableKeyCode(n)||this._emulateKeyPress[n]||qx.event.Utils.then(o,(function(){return a._fireSequenceEvent(e,"keypress",r)})));this.__P_158_1&&qx.event.Utils.then(o,(function(){return qx.event.Registration.fireEvent(a.__P_158_1,"useraction",qx.event.type.Data,[t])}));return o.promise},__P_158_8(){var e=this.__P_158_0.getHandler(qx.event.handler.Focus),t=e.getActive();t&&0!=t.offsetWidth||(t=e.getFocus());t&&0!=t.offsetWidth||(t=this.__P_158_0.getWindow().document.body);return t},_initKeyObserver(){this.__P_158_4=qx.lang.Function.listener(this.__P_158_9,this);this.__P_158_7=qx.lang.Function.listener(this.__P_158_10,this);var e=qx.bom.Event;e.addNativeListener(this.__P_158_2,"keyup",this.__P_158_4);e.addNativeListener(this.__P_158_2,"keydown",this.__P_158_4);e.addNativeListener(this.__P_158_2,"keypress",this.__P_158_7)},_stopKeyObserver(){var e=qx.bom.Event;e.removeNativeListener(this.__P_158_2,"keyup",this.__P_158_4);e.removeNativeListener(this.__P_158_2,"keydown",this.__P_158_4);e.removeNativeListener(this.__P_158_2,"keypress",this.__P_158_7);for(var t in this.__P_158_6||{}){var r=this.__P_158_6[t];e.removeNativeListener(r.target,"keypress",r.callback)}delete this.__P_158_6},__P_158_9:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{"gecko|webkit|mshtml"(e){var t,r=e.type;t=e.keyCode;var i={},n=this;qx.event.Utils.track(i,this._idealKeyHandler(t,0,r,e));if("keydown"==r){var o=e.ctrlKey||e.altKey||e.metaKey;(qx.event.util.Keyboard.isNonPrintableKeyCode(t)||this._emulateKeyPress[t]||o)&&qx.event.Utils.then(i,(function(){return n._idealKeyHandler(t,0,"keypress",e)}))}this.__P_158_3[t]=r;return i.promise},opera(e){this.__P_158_5=e.keyCode;return this._idealKeyHandler(e.keyCode,0,e.type,e)}})),__P_158_11:qx.core.Environment.select("engine.name",{gecko(e,t,r){if("keydown"===t&&(33==r||34==r||38==r||40==r)&&"text"==e.type&&"input"===e.tagName.toLowerCase()&&"off"!==e.getAttribute("autoComplete")){this.__P_158_6||(this.__P_158_6={});var i=qx.core.ObjectRegistry.toHashCode(e);if(this.__P_158_6[i])return;var n=this;this.__P_158_6[i]={target:e,callback(e){qx.bom.Event.stopPropagation(e);n.__P_158_10(e)}};var o=qx.event.GlobalError.observeMethod(this.__P_158_6[i].callback);qx.bom.Event.addNativeListener(e,"keypress",o)}},default:null}),__P_158_10:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml(e){e=window.event||e;return this._charCode2KeyCode[e.keyCode]?this._idealKeyHandler(this._charCode2KeyCode[e.keyCode],0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)},gecko(e){if(qx.core.Environment.get("engine.version")<66){var t=e.charCode,r=e.type;return this._idealKeyHandler(e.keyCode,t,r,e)}return this._charCode2KeyCode[e.keyCode]?this._idealKeyHandler(this._charCode2KeyCode[e.keyCode],0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)},webkit(e){return this._charCode2KeyCode[e.keyCode]?this._idealKeyHandler(this._charCode2KeyCode[e.keyCode],0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)},opera(e){var t=e.keyCode,r=e.type;return t!=this.__P_158_5?this._idealKeyHandler(0,this.__P_158_5,r,e):qx.event.util.Keyboard.keyCodeToIdentifierMap[e.keyCode]?this._idealKeyHandler(e.keyCode,0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)}})),_idealKeyHandler(e,t,r,i){var n;if(e||!e&&!t){n=qx.event.util.Keyboard.keyCodeToIdentifier(e);return this._fireSequenceEvent(i,r,n)}n=qx.event.util.Keyboard.charCodeToIdentifier(t);var o={},a=this;qx.event.Utils.track(o,this._fireSequenceEvent(i,"keypress",n));return qx.event.Utils.then(o,(function(){return a._fireInputEvent(i,t)}))},_emulateKeyPress:qx.core.Environment.select("engine.name",{mshtml:{8:!0,9:!0},webkit:{8:!0,9:!0,27:!0},gecko:qx.core.Environment.get("browser.version")>=65?{8:!0,9:!0,27:!0}:{},default:{}}),_identifierToKeyCode:e=>qx.event.util.Keyboard.identifierToKeyCodeMap[e]||e.charCodeAt(0)},destruct(){this._stopKeyObserver();this.__P_158_5=this.__P_158_0=this.__P_158_1=this.__P_158_2=this.__P_158_3=null},defer(e,t){qx.event.Registration.addHandler(e);"opera"!==qx.core.Environment.get("engine.name")&&(t._charCode2KeyCode={13:13,27:27})}});qx.event.handler.Keyboard.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.UserAction":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.lang.Function":{construct:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.bom.Event":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.event.type.Mouse":{},"qx.event.type.MouseWheel":{},"qx.event.type.Data":{},"qx.bom.client.Event":{},"qx.bom.client.Engine":{require:!0},"qx.dom.Hierarchy":{}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"},"engine.name":{className:"qx.bom.client.Engine",load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Mouse",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this.__P_191_0=e;this.__P_191_1=e.getWindow();this.__P_191_2=this.__P_191_1.document;this.__P_191_3=qx.lang.Function.listener(this._onNative,this);this._initButtonObserver();this._initMoveObserver();this._initWheelObserver()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{auxclick:1,click:1,contextmenu:1,dblclick:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,mousewheel:1},NON_BUBBLING_EVENTS:{mouseenter:!0,mouseleave:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT+qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:!0},members:{__P_191_4:null,__P_191_5:null,__P_191_6:null,__P_191_7:null,__P_191_8:null,__P_191_0:null,__P_191_1:null,__P_191_2:null,__P_191_9:null,__P_191_3:null,canHandleEvent(e,t){},registerEvent(e,t,r){qx.event.handler.Mouse.NON_BUBBLING_EVENTS[t]?qx.bom.Event.addNativeListener(e,t,this.__P_191_3):"ios"===qx.core.Environment.get("os.name")&&(e["on"+t]=function(){return null})},unregisterEvent(e,t,r){qx.event.handler.Mouse.NON_BUBBLING_EVENTS[t]?qx.bom.Event.removeNativeListener(e,t,this.__P_191_3):"ios"===qx.core.Environment.get("os.name")&&(e["on"+t]=void 0)},_onNative:qx.event.GlobalError.observeMethod((function(e){let t=qx.bom.Event.getTarget(e);qx.event.Registration.fireNonBubblingEvent(t,e.type,qx.event.type.Mouse,[e,t,void 0,void 0,e.cancelable])})),__P_191_10(e,t,r){r||(r=qx.bom.Event.getTarget(e));r&&r.nodeType&&qx.event.Registration.fireEvent(r,t||e.type,"mousewheel"==t?qx.event.type.MouseWheel:qx.event.type.Mouse,[e,r,null,!0,!0]);qx.event.Registration.fireEvent(this.__P_191_1,"useraction",qx.event.type.Data,[t||e.type])},preventNextClick(){this.__P_191_9=!0},_initButtonObserver(){this.__P_191_4=qx.lang.Function.listener(this._onButtonEvent,this);var e=qx.bom.Event;e.addNativeListener(this.__P_191_2,"mousedown",this.__P_191_4);e.addNativeListener(this.__P_191_2,"mouseup",this.__P_191_4);e.addNativeListener(this.__P_191_2,"click",this.__P_191_4);e.addNativeListener(this.__P_191_2,"auxclick",this.__P_191_4);e.addNativeListener(this.__P_191_2,"dblclick",this.__P_191_4);e.addNativeListener(this.__P_191_2,"contextmenu",this.__P_191_4)},_initMoveObserver(){this.__P_191_5=qx.lang.Function.listener(this._onMoveEvent,this);var e=qx.bom.Event;e.addNativeListener(this.__P_191_2,"mousemove",this.__P_191_5);e.addNativeListener(this.__P_191_2,"mouseout",this.__P_191_5);e.addNativeListener(this.__P_191_2,"mouseover",this.__P_191_5)},_initWheelObserver(){this.__P_191_6=qx.lang.Function.listener(this._onWheelEvent,this);var e=qx.bom.client.Event.getMouseWheel(this.__P_191_1);qx.bom.Event.addNativeListener(e.target,e.type,this.__P_191_6)},_stopButtonObserver(){var e=qx.bom.Event;e.removeNativeListener(this.__P_191_2,"mousedown",this.__P_191_4);e.removeNativeListener(this.__P_191_2,"mouseup",this.__P_191_4);e.removeNativeListener(this.__P_191_2,"click",this.__P_191_4);e.removeNativeListener(this.__P_191_2,"dblclick",this.__P_191_4);e.removeNativeListener(this.__P_191_2,"contextmenu",this.__P_191_4)},_stopMoveObserver(){var e=qx.bom.Event;e.removeNativeListener(this.__P_191_2,"mousemove",this.__P_191_5);e.removeNativeListener(this.__P_191_2,"mouseover",this.__P_191_5);e.removeNativeListener(this.__P_191_2,"mouseout",this.__P_191_5)},_stopWheelObserver(){var e=qx.bom.client.Event.getMouseWheel(this.__P_191_1);qx.bom.Event.removeNativeListener(e.target,e.type,this.__P_191_6)},_onMoveEvent:qx.event.GlobalError.observeMethod((function(e){this.__P_191_10(e)})),_onButtonEvent:qx.event.GlobalError.observeMethod((function(e){var t=e.type,r=qx.bom.Event.getTarget(e);if("click"==t&&this.__P_191_9)delete this.__P_191_9;else{"gecko"!=qx.core.Environment.get("engine.name")&&"webkit"!=qx.core.Environment.get("engine.name")||r&&3==r.nodeType&&(r=r.parentNode);var i=qx.event.handler.DragDrop&&this.__P_191_0.getHandler(qx.event.handler.DragDrop).isSessionActive();if(!i||"click"!=t){this.__P_191_11&&this.__P_191_11(e,t,r);this.__P_191_10(e,t,r);"auxclick"==t&&1==e.button&&this.__P_191_10(e,"click",r);this.__P_191_12&&this.__P_191_12(e,t,r);this.__P_191_13&&!i&&this.__P_191_13(e,t,r);this.__P_191_7=t}}})),_onWheelEvent:qx.event.GlobalError.observeMethod((function(e){this.__P_191_10(e,"mousewheel")})),__P_191_12:qx.core.Environment.select("engine.name",{opera(e,t,r){"mouseup"==t&&2==e.button&&this.__P_191_10(e,"contextmenu",r)},default:null}),__P_191_11:qx.core.Environment.select("engine.name",{mshtml(e,t,r){void 0===e.target&&("mouseup"==t&&"click"==this.__P_191_7?this.__P_191_10(e,"mousedown",r):"dblclick"==t&&this.__P_191_10(e,"click",r))},default:null}),__P_191_13:qx.core.Environment.select("engine.name",{mshtml:null,default(e,t,r){switch(t){case"mousedown":this.__P_191_8=r;break;case"mouseup":if(r!==this.__P_191_8){var i=qx.dom.Hierarchy.getCommonParent(r,this.__P_191_8);i&&this.__P_191_10(e,"click",i)}}}})},destruct(){this._stopButtonObserver();this._stopMoveObserver();this._stopWheelObserver();this.__P_191_0=this.__P_191_1=this.__P_191_2=this.__P_191_8=null},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Mouse.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.core.ObjectRegistry":{},"qx.lang.Function":{},"qx.bom.Event":{},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.event.type.Native":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Element",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this._manager=e;this._registeredEvents={}},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{abort:!0,load:!0,scroll:!0,select:!0,reset:!0,submit:!0},CANCELABLE:{selectstart:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!1},members:{canHandleEvent:(e,t)=>"load"!==t||"iframe"!==e.tagName.toLowerCase(),registerEvent(e,t,r){var i=qx.core.ObjectRegistry.toHashCode(e)+"-"+t,n=qx.lang.Function.listener(this._onNative,this,i);qx.bom.Event.addNativeListener(e,t,n);this._registeredEvents[i]={element:e,type:t,listener:n}},unregisterEvent(e,t,r){if(this._registeredEvents){var i=qx.core.ObjectRegistry.toHashCode(e)+"-"+t,n=this._registeredEvents[i];n&&qx.bom.Event.removeNativeListener(e,t,n.listener);delete this._registeredEvents[i]}},_onNative:qx.event.GlobalError.observeMethod((function(e,t){var r=this._registeredEvents;if(r){var i=r[t],n=e.cancelable||this.constructor.CANCELABLE[i.type];qx.event.Registration.fireNonBubblingEvent(i.element,i.type,qx.event.type.Native,[e,void 0,void 0,void 0,n])}}))},destruct(){var e,t=this._registeredEvents;for(var r in t){e=t[r];qx.bom.Event.removeNativeListener(e.element,e.type,e.listener)}this._manager=this._registeredEvents=null},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Element.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.core.ObjectRegistry":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.event.Utils":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Appear",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this.__P_151_0=e;this.__P_151_1={};qx.event.handler.Appear.__P_151_2[this.toHashCode()]=this},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{appear:!0,disappear:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!0,__P_151_2:{},refresh(){var e=this.__P_151_2;for(var t in e)e[t].refresh()}},members:{__P_151_0:null,__P_151_1:null,canHandleEvent(e,t){},registerEvent(e,t,r){var i=qx.core.ObjectRegistry.toHashCode(e)+t,n=this.__P_151_1;if(n&&!n[i]){n[i]=e;e.$$displayed=e.offsetWidth>0}},unregisterEvent(e,t,r){var i=qx.core.ObjectRegistry.toHashCode(e)+t,n=this.__P_151_1;n&&n[i]&&delete n[i]},refresh(){var e=this.__P_151_1,t="mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9,r={},i=this;Object.keys(e).forEach((function(n){var o=e[n];void 0!==o&&qx.event.Utils.then(r,(function(){var e=o.offsetWidth>0;!e&&t&&(e=o.offsetWidth>0);if(!!o.$$displayed!==e){o.$$displayed=e;var r=qx.event.Registration.createEvent(e?"appear":"disappear");return i.__P_151_0.dispatchEvent(o,r)}}))}));return r.promise}},destruct(){this.__P_151_0=this.__P_151_1=null;delete qx.event.handler.Appear.__P_151_2[this.toHashCode()]},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Appear.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.lang.Function":{},"qx.bom.Event":{},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.Viewport":{},"qx.event.type.Orientation":{}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Orientation",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this.__P_212_0=e;this.__P_212_1=e.getWindow();this._initObserver()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{orientationchange:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:!0},members:{__P_212_0:null,__P_212_1:null,__P_212_2:null,_currentOrientation:null,__P_212_3:null,canHandleEvent(e,t){},registerEvent(e,t,r){},unregisterEvent(e,t,r){},_initObserver(){this.__P_212_3=qx.lang.Function.listener(this._onNative,this);this.__P_212_2=qx.bom.Event.supportsEvent(this.__P_212_1,"orientationchange")?"orientationchange":"resize";qx.bom.Event.addNativeListener(this.__P_212_1,this.__P_212_2,this.__P_212_3)},_stopObserver(){qx.bom.Event.removeNativeListener(this.__P_212_1,this.__P_212_2,this.__P_212_3)},_onNative:qx.event.GlobalError.observeMethod((function(e){var t=0;"android"==qx.core.Environment.get("os.name")&&(t=300);qx.lang.Function.delay(this._onOrientationChange,t,this,e)})),_onOrientationChange(e){var t=qx.bom.Viewport,r=t.getOrientation(e.target);if(this._currentOrientation!=r){this._currentOrientation=r;var i=t.isLandscape(e.target)?"landscape":"portrait";qx.event.Registration.fireEvent(this.__P_212_1,"orientationchange",qx.event.type.Orientation,[r,i])}}},destruct(){this._stopObserver();this.__P_212_0=this.__P_212_1=null},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Orientation.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Native":{require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"},"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Dom",{extend:qx.event.type.Native,statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8,CAPSLOCK_MASK:16,NUMLOCK_MASK:32,SCROLLLOCK_MASK:64},members:{_cloneNativeEvent(e,t){(t=qx.event.type.Dom.superclass.prototype._cloneNativeEvent.call(this,e,t)).shiftKey=e.shiftKey;t.ctrlKey=e.ctrlKey;t.altKey=e.altKey;t.metaKey=e.metaKey;if("function"==typeof e.getModifierState){t.numLock=e.getModifierState("NumLock");t.capsLock=e.getModifierState("CapsLock");t.scrollLock=e.getModifierState("ScrollLock")}else{t.numLock=!1;t.capsLock=!1;t.scrollLock=!1}return t},getModifiers(){var e=0,t=this._native;t.shiftKey&&(e|=qx.event.type.Dom.SHIFT_MASK);t.ctrlKey&&(e|=qx.event.type.Dom.CTRL_MASK);t.altKey&&(e|=qx.event.type.Dom.ALT_MASK);t.metaKey&&(e|=qx.event.type.Dom.META_MASK);return e},getKeyLockState(){var e=0,t=this._native;t.capsLock&&(e|=qx.event.type.Dom.CAPSLOCK_MASK);t.numLock&&(e|=qx.event.type.Dom.NUMLOCK_MASK);t.scrollLock&&(e|=qx.event.type.Dom.SCROLLLOCK_MASK);return e},isCtrlPressed(){return this._native.ctrlKey},isShiftPressed(){return this._native.shiftKey},isAltPressed(){return this._native.altKey},isMetaPressed(){return this._native.metaKey},isCapsLocked(){return this._native.capsLock},isNumLocked(){return this._native.numLock},isScrollLocked(){return this._native.scrollLock},isCtrlOrCommandPressed(){return"osx"==qx.core.Environment.get("os.name")&&"opera"!=qx.core.Environment.get("engine.name")?this._native.metaKey:this._native.ctrlKey}}});qx.event.type.Dom.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Dom":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.Engine":{require:!0},"qx.dom.Node":{},"qx.bom.Viewport":{}},environment:{provided:[],required:{"browser.name":{className:"qx.bom.client.Browser"},"browser.documentmode":{className:"qx.bom.client.Browser"},"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Mouse",{extend:qx.event.type.Dom,members:{_cloneNativeEvent(e,t){t=qx.event.type.Mouse.superclass.prototype._cloneNativeEvent.call(this,e,t);switch(e.type){case"mousemove":case"mouseenter":case"mouseleave":case"mouseover":case"mouseout":t.button=-1;break;default:t.button=e.button}t.buttons=e.buttons;t.clientX=Math.round(e.clientX);t.clientY=Math.round(e.clientY);t.pageX=e.pageX?Math.round(e.pageX):void 0;t.pageY=e.pageY?Math.round(e.pageY):void 0;t.screenX=Math.round(e.screenX);t.screenY=Math.round(e.screenY);t.wheelDelta=e.wheelDelta;t.wheelDeltaX=e.wheelDeltaX;t.wheelDeltaY=e.wheelDeltaY;t.delta=e.delta;t.deltaX=e.deltaX;t.deltaY=e.deltaY;t.deltaZ=e.deltaZ;t.detail=e.detail;t.axis=e.axis;t.wheelX=e.wheelX;t.wheelY=e.wheelY;t.HORIZONTAL_AXIS=e.HORIZONTAL_AXIS;t.srcElement=e.srcElement;t.target=e.target;return t},__P_211_0:{0:"left",2:"right",1:"middle"},__P_211_1:{0:"none",1:"left",2:"right",4:"middle"},__P_211_2:{1:"left",2:"right",4:"middle"},stop(){this.stopPropagation()},getButton(){switch(this._type){case"contextmenu":return"right";case"click":if("ie"===qx.core.Environment.get("browser.name")&&qx.core.Environment.get("browser.documentmode")<9)return"left";default:return"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<=8?this.__P_211_2[this._native.button]||"none":-1===this._native.button?this.__P_211_1[this._native.buttons]||"none":this.__P_211_0[this._native.button]||"none"}},isLeftPressed(){return"left"===this.getButton()},isMiddlePressed(){return"middle"===this.getButton()},isRightPressed(){return"right"===this.getButton()},getRelatedTarget(){return this._relatedTarget},getViewportLeft(){return Math.round(this._native.clientX)},getViewportTop(){return Math.round(this._native.clientY)},getDocumentLeft(){if(void 0!==this._native.pageX)return Math.round(this._native.pageX);if(this._native.srcElement){var e=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(e)}return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(window)},getDocumentTop(){if(void 0!==this._native.pageY)return Math.round(this._native.pageY);if(this._native.srcElement){var e=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(e)}return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(window)},getScreenLeft(){return Math.round(this._native.screenX)},getScreenTop(){return Math.round(this._native.screenY)}}});qx.event.type.Mouse.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Mouse":{require:!0},"qx.bom.Event":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Pointer",{extend:qx.event.type.Mouse,members:{_cloneNativeEvent(e,t){(t=qx.event.type.Pointer.superclass.prototype._cloneNativeEvent.call(this,e,t)).pointerId=e.pointerId;t.width=e.width;t.height=e.height;t.pressure=e.pressure;t.tiltX=e.tiltX;t.tiltY=e.tiltY;t.pointerType=e.pointerType;t.isPrimary=e.isPrimary;t._original=e._original;t.MSPOINTER_TYPE_MOUSE=e.MSPOINTER_TYPE_MOUSE;t.MSPOINTER_TYPE_PEN=e.MSPOINTER_TYPE_PEN;t.MSPOINTER_TYPE_TOUCH=e.MSPOINTER_TYPE_TOUCH;return t},getDocumentLeft(){var e=qx.event.type.Pointer.superclass.prototype.getDocumentLeft.call(this);0==e&&"touch"==this.getPointerType()&&void 0!==this._native._original&&(e=Math.round(this._native._original.changedTouches[0].pageX)||0);return e},getDocumentTop(){var e=qx.event.type.Pointer.superclass.prototype.getDocumentTop.call(this);0==e&&"touch"==this.getPointerType()&&void 0!==this._native._original&&(e=Math.round(this._native._original.changedTouches[0].pageY)||0);return e},getPointerId(){return this._native.pointerId||0},getWidth(){return this._native.width||0},getHeight(){return this._native.height||0},getPressure(){return this._native.pressure||0},getTiltX(){return this._native.tiltX||0},getTiltY(){return this._native.tiltY||0},getOriginalTarget(){if(this._native&&this._native._original){var e=this._native._original;try{if(0==e.type.indexOf("touch")&&e.changedTouches[0])return document.elementFromPoint(e.changedTouches[0].clientX,e.changedTouches[0].clientY)}catch(e){return qx.bom.Event.getTarget(this._native)}return qx.bom.Event.getTarget(e)}return this._native?qx.bom.Event.getTarget(this._native):qx.event.type.Pointer.superclass.prototype.getOriginalTarget.call(this)},getPointerType(){if("string"==typeof this._native.pointerType)return this._native.pointerType;if("number"==typeof this._native.pointerType){if(this._native.pointerType==this._native.MSPOINTER_TYPE_MOUSE)return"mouse";if(this._native.pointerType==this._native.MSPOINTER_TYPE_PEN)return"pen";if(this._native.pointerType==this._native.MSPOINTER_TYPE_TOUCH)return"touch"}return""},isPrimary(){return!!this._native.isPrimary}}});qx.event.type.Pointer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Tap",{extend:qx.event.type.Pointer});qx.event.type.Tap.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Swipe",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent(e,t){(t=qx.event.type.Swipe.superclass.prototype._cloneNativeEvent.call(this,e,t)).swipe=e.swipe;return t},getStartTime(){return this._native.swipe.startTime},getDuration(){return this._native.swipe.duration},getAxis(){return this._native.swipe.axis},getDirection(){return this._native.swipe.direction},getVelocity(){return this._native.swipe.velocity},getDistance(){return this._native.swipe.distance}}});qx.event.type.Swipe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Track",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent(e,t){(t=qx.event.type.Track.superclass.prototype._cloneNativeEvent.call(this,e,t)).delta=e.delta;return t},getDelta(){return this._native.delta}}});qx.event.type.Track.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Rotate",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent(e,t){(t=qx.event.type.Rotate.superclass.prototype._cloneNativeEvent.call(this,e,t)).angle=e.angle;return t},getAngle(){return this._native.angle}}});qx.event.type.Rotate.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Pinch",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent(e,t){(t=qx.event.type.Pinch.superclass.prototype._cloneNativeEvent.call(this,e,t)).scale=e.scale;return t},getScale(){return this._native.scale}}});qx.event.type.Pinch.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Device":{require:!0},"qx.lang.Function":{},"qx.bom.client.Event":{require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.Event":{},"qx.bom.client.Browser":{require:!0},"qx.bom.element.Style":{}},environment:{provided:[],required:{"os.name":{load:!0,className:"qx.bom.client.OperatingSystem"},"device.touch":{load:!0,className:"qx.bom.client.Device"},"event.mspointer":{className:"qx.bom.client.Event"},"engine.version":{className:"qx.bom.client.Engine"},"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.handler.TouchCore",{extend:Object,implement:[qx.core.IDisposable],statics:{TAP_MAX_DISTANCE:"android"!=qx.core.Environment.get("os.name")?10:40,SWIPE_DIRECTION:{x:["left","right"],y:["up","down"]},SWIPE_MIN_DISTANCE:"android"!=qx.core.Environment.get("os.name")?11:41,SWIPE_MIN_VELOCITY:0,LONGTAP_TIME:qx.core.Environment.get("device.touch")?500:99999},construct(e,t){this.__P_213_0=e;this.__P_213_1=t;this._initTouchObserver();this.__P_213_2=[];this.__P_213_3={}},members:{__P_213_0:null,__P_213_1:null,__P_213_4:null,__P_213_5:null,__P_213_3:null,__P_213_6:null,__P_213_7:null,__P_213_8:null,__P_213_2:null,__P_213_9:null,_initTouchObserver(){this.__P_213_4=qx.lang.Function.listener(this._onTouchEvent,this);this.__P_213_9=["touchstart","touchmove","touchend","touchcancel"];if(qx.core.Environment.get("event.mspointer")){var e=parseInt(qx.core.Environment.get("engine.version"),10);this.__P_213_9=10==e?["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerCancel"]:["pointerdown","pointermove","pointerup","pointercancel"]}for(var t=0;tMath.sqrt(Math.pow(e.pageX-t.pageX,2)+Math.pow(e.pageY-t.pageY,2)),_getRotationAngle(e,t){var r=e.pageX-t.pageX,i=e.pageY-t.pageY;return 180*Math.atan2(i,r)/Math.PI},_calcTouchesDelta(e){for(var t=[],r=0;r1){this.__P_213_7=this._getScalingDistance(e.touches[0],e.touches[1]);this.__P_213_8=this._getRotationAngle(e.touches[0],e.touches[1])}for(var i=0;i1){var o=this._getScalingDistance(e.targetTouches[0],e.targetTouches[1]);e.scale=o/this.__P_213_7}if((void 0===e.rotation||qx.core.Environment.get("event.mspointer"))&&e.targetTouches.length>1){var a=this._getRotationAngle(e.targetTouches[0],e.targetTouches[1]);e._rotation=a-this.__P_213_8}e.delta=this._calcTouchesDelta(e.targetTouches)}this._fireEvent(e,t,this.__P_213_5);qx.core.Environment.get("event.mspointer")&&("touchend"!=t&&"touchcancel"!=t||delete this.__P_213_2[e.pointerId]);"touchend"!=t&&"touchcancel"!=t||!e.changedTouches[0]||delete this.__P_213_3[e.changedTouches[0].identifier]},_detectTouchesByPointer(e,t){var r=[];("touchstart"==t||"touchmove"==t)&&(this.__P_213_2[e.pointerId]=e);for(var i in this.__P_213_2){var n=this.__P_213_2[i];r.push(n)}return r},_mapPointerEvent:e=>-1!==(e=e.toLowerCase()).indexOf("pointerdown")?"touchstart":-1!==e.indexOf("pointerup")?"touchend":-1!==e.indexOf("pointermove")?"touchmove":-1!==e.indexOf("pointercancel")?"touchcancel":e,_getTarget(e){var t=qx.bom.Event.getTarget(e);if("webkit"==qx.core.Environment.get("engine.name"))t&&3==t.nodeType&&(t=t.parentNode);else if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<11){var r=this.__P_213_10(e);r&&(t=r)}return t},__P_213_10(e){var t=null,r=null;if(e&&e.touches&&0!==e.touches.length){t=e.touches[0].clientX;r=e.touches[0].clientY}var i=document.msElementsFromPoint(t,r);if(i)for(var n=0;n=9&&qx.core.Environment.get("browser.documentmode")<9)){if(!e.__P_194_4){var i=e.tagName.toLowerCase(),n=e.type;"text"!==n&&"password"!==n&&"textarea"!==i&&"checkbox"!==n&&"radio"!==n||qx.bom.Event.addNativeListener(e,"propertychange",this._onPropertyWrapper);"checkbox"!==n&&"radio"!==n&&qx.bom.Event.addNativeListener(e,"change",this._onChangeValueWrapper);if("text"===n||"password"===n){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,e);qx.bom.Event.addNativeListener(e,"keypress",this._onKeyPressWrapped)}e.__P_194_4=!0}}else if("input"===t)this.__P_194_5(e);else if("change"===t){"radio"===e.type||"checkbox"===e.type?qx.bom.Event.addNativeListener(e,"change",this._onChangeCheckedWrapper):qx.bom.Event.addNativeListener(e,"change",this._onChangeValueWrapper);if(!("opera"!=qx.core.Environment.get("engine.name")&&"mshtml"!=qx.core.Environment.get("engine.name")||"text"!==e.type&&"password"!==e.type)){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,e);qx.bom.Event.addNativeListener(e,"keypress",this._onKeyPressWrapped)}}},__P_194_5:qx.core.Environment.select("engine.name",{mshtml(e){if(qx.core.Environment.get("engine.version")>=9&&qx.core.Environment.get("browser.documentmode")>=9){qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper);if("text"===e.type||"password"===e.type||"textarea"===e.type){this._inputFixWrapper=qx.lang.Function.listener(this._inputFix,this,e);qx.bom.Event.addNativeListener(e,"keyup",this._inputFixWrapper)}}},webkit(e){var t=e.tagName.toLowerCase();parseFloat(qx.core.Environment.get("engine.version"))<532&&"textarea"==t&&qx.bom.Event.addNativeListener(e,"keypress",this._onInputWrapper);qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper)},opera(e){qx.bom.Event.addNativeListener(e,"keyup",this._onKeyUpWrapper);qx.bom.Event.addNativeListener(e,"keydown",this._onKeyDownWrapper);qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper)},default(e){qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper)}}),unregisterEvent(e,t){if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("engine.version")<9&&qx.core.Environment.get("browser.documentmode")<9){if(e.__P_194_4){var r=e.tagName.toLowerCase(),i=e.type;"text"!==i&&"password"!==i&&"textarea"!==r&&"checkbox"!==i&&"radio"!==i||qx.bom.Event.removeNativeListener(e,"propertychange",this._onPropertyWrapper);"checkbox"!==i&&"radio"!==i&&qx.bom.Event.removeNativeListener(e,"change",this._onChangeValueWrapper);"text"!==i&&"password"!==i||qx.bom.Event.removeNativeListener(e,"keypress",this._onKeyPressWrapped);try{delete e.__P_194_4}catch(t){e.__P_194_4=null}}}else{"input"===t?this.__P_194_6(e):"change"===t&&("radio"===e.type||"checkbox"===e.type?qx.bom.Event.removeNativeListener(e,"change",this._onChangeCheckedWrapper):qx.bom.Event.removeNativeListener(e,"change",this._onChangeValueWrapper));"opera"!=qx.core.Environment.get("engine.name")&&"mshtml"!=qx.core.Environment.get("engine.name")||"text"!==e.type&&"password"!==e.type||qx.bom.Event.removeNativeListener(e,"keypress",this._onKeyPressWrapped)}},__P_194_6:qx.core.Environment.select("engine.name",{mshtml(e){if(qx.core.Environment.get("engine.version")>=9&&qx.core.Environment.get("browser.documentmode")>=9){qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper);"text"!==e.type&&"password"!==e.type&&"textarea"!==e.type||qx.bom.Event.removeNativeListener(e,"keyup",this._inputFixWrapper)}},webkit(e){var t=e.tagName.toLowerCase();parseFloat(qx.core.Environment.get("engine.version"))<532&&"textarea"==t&&qx.bom.Event.removeNativeListener(e,"keypress",this._onInputWrapper);qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper)},opera(e){qx.bom.Event.removeNativeListener(e,"keyup",this._onKeyUpWrapper);qx.bom.Event.removeNativeListener(e,"keydown",this._onKeyDownWrapper);qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper)},default(e){qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper)}}),_onKeyPress:qx.core.Environment.select("engine.name",{mshtml(e,t){if(13===e.keyCode&&t.value!==this.__P_194_2){this.__P_194_2=t.value;qx.event.Registration.fireEvent(t,"change",qx.event.type.Data,[t.value])}},opera(e,t){if(13===e.keyCode&&t.value!==this.__P_194_2){this.__P_194_2=t.value;qx.event.Registration.fireEvent(t,"change",qx.event.type.Data,[t.value])}},default:null}),_inputFix:qx.core.Environment.select("engine.name",{mshtml(e,t){if((46===e.keyCode||8===e.keyCode)&&t.value!==this.__P_194_3){this.__P_194_3=t.value;qx.event.Registration.fireEvent(t,"input",qx.event.type.Data,[t.value])}},default:null}),_onKeyDown:qx.core.Environment.select("engine.name",{opera(e){13===e.keyCode&&(this.__P_194_0=!0)},default:null}),_onKeyUp:qx.core.Environment.select("engine.name",{opera(e){13===e.keyCode&&(this.__P_194_0=!1)},default:null}),_onInput:qx.event.GlobalError.observeMethod((function(e){var t=qx.bom.Event.getTarget(e),r=t.tagName.toLowerCase();this.__P_194_0&&"input"===r||("opera"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.version")<10.6?this.__P_194_1=window.setTimeout((function(){qx.event.Registration.fireEvent(t,"input",qx.event.type.Data,[t.value])}),0):qx.event.Registration.fireEvent(t,"input",qx.event.type.Data,[t.value]))})),_onChangeValue:qx.event.GlobalError.observeMethod((function(e){var t=qx.bom.Event.getTarget(e),r=t.value;if("select-multiple"===t.type){r=[];for(var i=0,n=t.options,o=n.length;i=8&&(e.READONLY_PROPERTIES=e.READONLY_PROPERTIES.concat(e.MOUSE_PROPERTIES))}});qx.event.type.dom.Pointer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.dispatch.DomBubbling":{require:!0,defer:"runtime"},"qx.event.type.Pointer":{require:!0,defer:"runtime"},"qx.event.type.dom.Pointer":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.handler.PointerCore":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.Event":{},"qx.event.Utils":{},"qx.event.type.Data":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"},"browser.name":{className:"qx.bom.client.Browser"},"browser.version":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Pointer",{extend:qx.event.handler.PointerCore,implement:[qx.event.IEventHandler,qx.core.IDisposable],statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{pointermove:1,pointerover:1,pointerout:1,pointerdown:1,pointerup:1,pointercancel:1,gesturebegin:1,gesturemove:1,gesturefinish:1,gesturecancel:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT,IGNORE_CAN_HANDLE:!0},construct(e){this.__P_195_0=e;this.__P_195_1=e.getWindow();this.__P_195_2=this.__P_195_1.document;qx.event.handler.PointerCore.apply(this,[this.__P_195_2])},members:{__P_195_0:null,__P_195_1:null,__P_195_2:null,canHandleEvent(e,t){},registerEvent(e,t,r){},unregisterEvent(e,t,r){},_initPointerObserver(){var e=!1;"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9&&(e=!0);this._initObserver(this._onPointerEvent,e)},_fireEvent(e,t,r){r||(r=qx.bom.Event.getTarget(e));for(;r&&r.getAttribute&&r.getAttribute("qxanonymous");)r=r.parentNode;t||(t=e.type);t=qx.event.handler.PointerCore.MSPOINTER_TO_POINTER_MAPPING[t]||t;if(r&&r.nodeType){qx.event.type.dom.Pointer.normalize(e);if("msie"===qx.core.Environment.get("browser.name")&&qx.core.Environment.get("browser.version")<9)try{e.srcElement=r}catch(e){}var i={},n=this;qx.event.Utils.track(i,(function(){return qx.event.Registration.fireEvent(r,t,qx.event.type.Pointer,[e,r,null,!0,!0])}));qx.event.Utils.then(i,(function(){if(("mouse"!==e.getPointerType()||e.button<=qx.event.handler.PointerCore.LEFT_BUTTON)&&("pointerdown"==t||"pointerup"==t||"pointermove"==t||"pointercancel"==t))return qx.event.Registration.fireEvent(n.__P_195_2,qx.event.handler.PointerCore.POINTER_TO_GESTURE_MAPPING[t],qx.event.type.Pointer,[e,r,null,!1,!1])}));qx.event.Utils.then(i,(function(){return qx.event.Registration.fireEvent(n.__P_195_1,"useraction",qx.event.type.Data,[t])}));return i.promise}},_onPointerEvent(e){if(!e._original||!e._original[this._processedFlag]){var t=qx.event.handler.PointerCore.MSPOINTER_TO_POINTER_MAPPING[e.type]||e.type;return this._fireEvent(e,t,qx.bom.Event.getTarget(e))}},dispose(){this.__P_195_3("dispose");this.__P_195_0=this.__P_195_1=this.__P_195_2=null},__P_195_3(e,t){qx.event.handler.PointerCore.prototype[e].apply(this,t||[])}},defer(e){qx.event.Registration.addHandler(e);qx.event.Registration.getManager(document).getHandler(e)}});qx.event.handler.Pointer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.Device":{require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.Event":{require:!0},"qx.bom.Event":{},"qx.bom.AnimationFrame":{},"qx.lang.Function":{},"qx.event.type.dom.Custom":{},"qx.util.Wheel":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.event.Timer":{}},environment:{provided:[],required:{"device.touch":{load:!0,className:"qx.bom.client.Device"},"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"},"event.mousewheel":{className:"qx.bom.client.Event"},"event.dispatchevent":{className:"qx.bom.client.Event"},"os.name":{className:"qx.bom.client.OperatingSystem"},"os.version":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.handler.GestureCore",{extend:Object,implement:[qx.core.IDisposable],statics:{TYPES:["tap","swipe","longtap","dbltap","track","trackstart","trackend","rotate","pinch","roll"],GESTURE_EVENTS:["gesturebegin","gesturefinish","gesturemove","gesturecancel"],TAP_MAX_DISTANCE:{touch:40,mouse:5,pen:20},DOUBLETAP_MAX_DISTANCE:{touch:10,mouse:4,pen:10},SWIPE_DIRECTION:{x:["left","right"],y:["up","down"]},LONGTAP_TIME:qx.core.Environment.get("device.touch")?500:99999,DOUBLETAP_TIME:500,ROLL_FACTOR:18,TOUCHPAD_ROLL_FACTOR:1,TOUCHPAD_WHEEL_EVENTS_THRESHOLD:10,TOUCHPAD_WHEEL_EVENTS_PERIOD:100,TOUCHPAD_WHEEL_EVENTS_TIMEOUT:5e3},construct(e,t){this.__P_198_0=e;this.__P_198_1=t;this.__P_198_2={};this.__P_198_3={};this.__P_198_4={};this.__P_198_5={};this.__P_198_6=[];this._initObserver()},members:{__P_198_0:null,__P_198_1:null,__P_198_2:null,__P_198_7:null,__P_198_8:null,__P_198_9:null,__P_198_10:null,__P_198_3:null,__P_198_11:null,__P_198_4:null,__P_198_12:null,__P_198_5:null,__P_198_6:null,__P_198_13:0,__P_198_14:0,__P_198_15:!1,__P_198_16:0,_initObserver(){qx.event.handler.GestureCore.GESTURE_EVENTS.forEach(function(e){qxWeb(this.__P_198_0).on(e,this.checkAndFireGesture,this)}.bind(this));"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9&&qxWeb(this.__P_198_0).on("dblclick",this._onDblClick,this);var e=qx.core.Environment.get("event.mousewheel");qxWeb(e.target).on(e.type,this._fireRoll,this)},_stopObserver(){qx.event.handler.GestureCore.GESTURE_EVENTS.forEach(function(e){qxWeb(this.__P_198_0).off(e,this.checkAndFireGesture,this)}.bind(this));"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9&&qxWeb(this.__P_198_0).off("dblclick",this._onDblClick,this);var e=qx.core.Environment.get("event.mousewheel");qxWeb(e.target).off(e.type,this._fireRoll,this)},checkAndFireGesture(e,t,r){t||(t=e.type);r||(r=qx.bom.Event.getTarget(e));"gesturebegin"==t?this.gestureBegin(e,r):"gesturemove"==t?this.gestureMove(e,r):"gesturefinish"==t?this.gestureFinish(e,r):"gesturecancel"==t&&this.gestureCancel(e.pointerId)},gestureBegin(e,t){if(this.__P_198_2[e.pointerId]){this.__P_198_17(this.__P_198_2[e.pointerId]);delete this.__P_198_2[e.pointerId]}if(!this._hasIntermediaryHandler(t)){this.__P_198_2[e.pointerId]={startTime:(new Date).getTime(),lastEventTime:(new Date).getTime(),startX:e.clientX,startY:e.clientY,clientX:e.clientX,clientY:e.clientY,velocityX:0,velocityY:0,target:t,isTap:!0,isPrimary:e.isPrimary,longTapTimer:window.setTimeout(this.__P_198_18.bind(this,e,t),qx.event.handler.GestureCore.LONGTAP_TIME)};if(e.isPrimary){this.__P_198_9=!1;this.__P_198_8=t;this.__P_198_19("trackstart",e,t)}else{this.__P_198_9=!0;if(2===Object.keys(this.__P_198_2).length){this.__P_198_10=this._calcAngle();this.__P_198_12=this._calcDistance()}}}},gestureMove(e,t){var r=this.__P_198_2[e.pointerId];if(r){var i=r.clientX,n=r.clientY;r.clientX=e.clientX;r.clientY=e.clientY;r.lastEventTime=(new Date).getTime();i&&(r.velocityX=r.clientX-i);n&&(r.velocityY=r.clientY-n);if(2===Object.keys(this.__P_198_2).length){this.__P_198_20(e,r.target);this.__P_198_21(e,r.target)}if(!this.__P_198_9){this.__P_198_19("track",e,r.target);this._fireRoll(e,"touch",r.target)}if(r.isTap){r.isTap=this._isBelowTapMaxDistance(e);r.isTap||this.__P_198_17(r)}}},_hasIntermediaryHandler(e){for(;e&&e!==this.__P_198_0;){if(e.$$gestureHandler)return!0;e=e.parentNode}return!1},gestureFinish(e,t){if(this.__P_198_2[e.pointerId]){var r=this.__P_198_2[e.pointerId];this.__P_198_17(r);if(!this._hasIntermediaryHandler(t)){this.__P_198_22(r.velocityX,r.velocityY,e,r.target);this.__P_198_19("trackend",e,r.target);if(r.isTap){if(t!==r.target){delete this.__P_198_2[e.pointerId];return}this._fireEvent(e,"tap",e.target||t);var i=!1;if(Object.keys(this.__P_198_3).length>0){var n=Date.now()-qx.event.handler.GestureCore.DOUBLETAP_TIME;for(var o in this.__P_198_3)if(o=Math.abs(n.y)?"x":"y",s=n[a],l=i.SWIPE_DIRECTION[a][s<0?0:1],u=0!==o?s/o:0;return{startTime:r.startTime,duration:o,axis:a,direction:l,distance:s,velocity:u}},__P_198_19(e,t,r){t.delta=this._getDeltaCoordinates(t);this._fireEvent(t,e,t.target||r)},__P_198_25(e,t,r){e.delta={x:qx.util.Wheel.getDelta(e,"x")*r,y:qx.util.Wheel.getDelta(e,"y")*r};e.delta.axis=Math.abs(e.delta.x/e.delta.y)<1?"y":"x";e.pointerType="wheel";this._fireEvent(e,"roll",e.target||t)},__P_198_26(e){var t=qx.event.handler.GestureCore.ROLL_FACTOR;qx.util.Wheel.IS_TOUCHPAD&&(t=qx.event.handler.GestureCore.TOUCHPAD_ROLL_FACTOR);this.__P_198_16=(new Date).getTime();for(var r=this.__P_198_6.length,i=0;iqx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_THRESHOLD?qx.util.Wheel.IS_TOUCHPAD=!0:qx.util.Wheel.IS_TOUCHPAD=!1;this.__P_198_15=!0},_isTouchPadDetectionEnabled:()=>"osx"==qx.core.Environment.get("os.name")&&qx.core.Environment.get("os.version")>=10.12,_fireRoll(e,t,r){var i,n;if(e.type===qx.core.Environment.get("event.mousewheel").type)if(this._isTouchPadDetectionEnabled()){i=(new Date).getTime();n=qx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_TIMEOUT;if(this.__P_198_16>0&&i-this.__P_198_16>n){this.__P_198_15=!1;this.__P_198_6=[];this.__P_198_16=0}if(!this.__P_198_15){if(0===this.__P_198_6.length){this.__P_198_13=i;qx.event.Timer.once((function(){if(!this.__P_198_15){this.__P_198_27();this.__P_198_26(r)}}),this,qx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_PERIOD+50)}this.__P_198_6.push(e);this.__P_198_14++;i-this.__P_198_13>qx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_PERIOD&&this.__P_198_27()}if(this.__P_198_15){0===this.__P_198_6.length&&this.__P_198_6.push(e);this.__P_198_26(r)}}else this.__P_198_25(e,r,qx.event.handler.GestureCore.ROLL_FACTOR);else{var o=this.__P_198_2[e.pointerId];e.delta={x:-o.velocityX,y:-o.velocityY,axis:Math.abs(o.velocityX/o.velocityY)<1?"y":"x"};this._fireEvent(e,"roll",e.target||r)}},__P_198_20(e,t){if(!e.isPrimary){var r=this._calcAngle();e.angle=Math.round((r-this.__P_198_10)%360);this._fireEvent(e,"rotate",this.__P_198_8)}},__P_198_21(e,t){if(!e.isPrimary){var r=this._calcDistance()/this.__P_198_12;e.scale=Math.round(100*r)/100;this._fireEvent(e,"pinch",this.__P_198_8)}},__P_198_18(e,t){var r=this.__P_198_2[e.pointerId];if(r){this._fireEvent(e,"longtap",e.target||t);r.longTapTimer=null;r.isTap=!1}},__P_198_17(e){if(e.longTapTimer){window.clearTimeout(e.longTapTimer);e.longTapTimer=null}},dispose(){for(var e in this.__P_198_2)this.__P_198_17(e);this._stopObserver();this.__P_198_0=this.__P_198_1=null}}});qx.event.handler.GestureCore.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0},"qx.event.Registration":{},"qx.event.handler.Gesture":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Roll",{extend:qx.event.type.Pointer,members:{stop(){this.stopPropagation();this.preventDefault()},_cloneNativeEvent(e,t){(t=qx.event.type.Roll.superclass.prototype._cloneNativeEvent.call(this,e,t)).delta=e.delta;t.momentum=e.momentum;t.timeoutId=e.timeoutId;return t},getMomentum(){return this._native.momentum},stopMomentum(){this._native.timeoutId&&qx.event.Registration.getManager(this._originalTarget).getHandler(qx.event.handler.Gesture).stopMomentum(this._native.timeoutId)},getDelta(){return this._native.delta}}});qx.event.type.Roll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Pointer":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.handler.GestureCore":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.event.type.Tap":{require:!0},"qx.event.type.Swipe":{require:!0},"qx.event.type.Rotate":{require:!0},"qx.event.type.Pinch":{require:!0},"qx.event.type.Track":{require:!0},"qx.event.type.Roll":{require:!0},"qx.lang.Function":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.Event":{},"qx.bom.client.Event":{},"qx.event.type.Pointer":{},"qx.event.type.Data":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Gesture",{extend:qx.event.handler.GestureCore,implement:[qx.event.IEventHandler,qx.core.IDisposable],statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{tap:1,swipe:1,longtap:1,dbltap:1,rotate:1,pinch:1,track:1,trackstart:1,trackend:1,roll:1},GESTURE_EVENTS:["gesturebegin","gesturefinish","gesturemove","gesturecancel"],TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT,IGNORE_CAN_HANDLE:!0,EVENT_CLASSES:{tap:qx.event.type.Tap,longtap:qx.event.type.Tap,dbltap:qx.event.type.Tap,swipe:qx.event.type.Swipe,rotate:qx.event.type.Rotate,pinch:qx.event.type.Pinch,track:qx.event.type.Track,trackstart:qx.event.type.Track,trackend:qx.event.type.Track,roll:qx.event.type.Roll}},construct(e){this.__P_157_0=e;this.__P_157_1=e.getWindow();this.__P_157_2=this.__P_157_1.document;qx.event.handler.GestureCore.apply(this,[this.__P_157_2])},members:{__P_157_0:null,__P_157_1:null,__P_157_2:null,__P_157_3:null,__P_157_4:null,__P_157_5:null,getWindow(){return this.__P_157_1},canHandleEvent(e,t){},registerEvent(e,t,r){},unregisterEvent(e,t,r){},_initObserver(){this.__P_157_3=qx.lang.Function.listener(this.checkAndFireGesture,this);qx.event.handler.Gesture.GESTURE_EVENTS.forEach(function(e){qx.event.Registration.addListener(this.__P_157_2,e,this.__P_157_3,this)}.bind(this));if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9){this.__P_157_4=qx.lang.Function.listener(this._onDblClick,this);qx.bom.Event.addNativeListener(this.__P_157_2,"dblclick",this.__P_157_4)}var e=qx.bom.client.Event.getMouseWheel(this.__P_157_1);this.__P_157_5=qx.lang.Function.listener(this._fireRoll,this);qx.bom.Event.addNativeListener(e.target,e.type,this.__P_157_5,!0,!1)},checkAndFireGesture(e,t,r){this.__P_157_6("checkAndFireGesture",[e.getNativeEvent(),e.getType(),e.getTarget()])},_stopObserver(){qx.event.handler.Gesture.GESTURE_EVENTS.forEach(function(e){qx.event.Registration.removeListener(this.__P_157_2,e,this.__P_157_3)}.bind(this));"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9&&qx.bom.Event.removeNativeListener(this.__P_157_2,"dblclick",this.__P_157_4);var e=qx.bom.client.Event.getMouseWheel(this.__P_157_1);qx.bom.Event.removeNativeListener(e.target,e.type,this.__P_157_5)},_hasIntermediaryHandler:e=>!1,_fireEvent(e,t,r){r||(r=qx.bom.Event.getTarget(e));t||(t=e.type);var i=qx.event.handler.Gesture.EVENT_CLASSES[t]||qx.event.type.Pointer;r&&r.nodeType&&qx.event.Registration.fireEvent(r,t,i,[e,r,null,!0,!0]);qx.event.Registration.fireEvent(this.__P_157_1,"useraction",qx.event.type.Data,[t])},dispose(){this._stopObserver();this.__P_157_6("dispose");this.__P_157_0=this.__P_157_1=this.__P_157_2=this.__P_157_4=null},__P_157_6(e,t){qx.event.handler.GestureCore.prototype[e].apply(this,t||[])}},defer(e){qx.event.Registration.addHandler(e);qx.event.Registration.addListener(window,"appinitialized",(()=>{qx.event.Registration.getManager(document).getHandler(e)}))}});qx.event.handler.Gesture.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.lang.Function":{construct:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.bom.Event":{},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.event.type.Dom":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Video",{extend:qx.core.Object,implement:qx.event.IEventHandler,construct(){qx.core.Object.constructor.call(this);this.__P_196_0=qx.lang.Function.listener(this._onNative,this)},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{abort:1,canplay:1,canplaythrough:1,durationchange:1,emptied:1,ended:1,error:1,loadeddata:1,loadedmetadata:1,loadstart:1,pause:1,play:1,playing:1,progress:1,ratechange:1,seeked:1,seeking:1,stalled:1,suspend:1,timeupdate:1,volumechange:1,waiting:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!1},members:{canHandleEvent(e,t){var r=e.tagName.toLowerCase();return"video"===r||"audio"===r},registerEvent(e,t,r){qx.bom.Event.addNativeListener(e,t,this.__P_196_0)},_onNative:qx.event.GlobalError.observeMethod((function(e){let t=qx.bom.Event.getTarget(e);qx.event.Registration.fireNonBubblingEvent(t,e.type,qx.event.type.Dom,[e,t,void 0,void 0,e.cancelable])})),unregisterEvent(e,t){qx.bom.Event.removeNativeListener(e,t,this.__P_196_0)}},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Video.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.dispatch.Direct":{require:!0},"qx.event.dispatch.DomBubbling":{require:!0},"qx.event.handler.Keyboard":{require:!0},"qx.event.handler.Mouse":{require:!0},"qx.event.handler.Element":{require:!0},"qx.event.handler.Appear":{require:!0},"qx.event.handler.Touch":{require:!0},"qx.event.handler.Offline":{require:!0},"qx.event.handler.Input":{require:!0},"qx.event.handler.Pointer":{require:!0},"qx.event.handler.Gesture":{require:!0},"qx.event.handler.Video":{require:!0},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.Registration":{},"qx.event.handler.Focus":{},"qx.event.dispatch.MouseCapture":{},"qx.bom.client.Engine":{require:!0},"qx.xml.Document":{},"qx.dom.Hierarchy":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.Element",{statics:{addListener:(e,t,r,i,n)=>qx.event.Registration.addListener(e,t,r,i,n),removeListener:(e,t,r,i,n)=>qx.event.Registration.removeListener(e,t,r,i,n),removeListenerById:(e,t)=>qx.event.Registration.removeListenerById(e,t),hasListener:(e,t,r)=>qx.event.Registration.hasListener(e,t,r),focus(e){qx.event.Registration.getManager(e).getHandler(qx.event.handler.Focus).focus(e)},blur(e){qx.event.Registration.getManager(e).getHandler(qx.event.handler.Focus).blur(e)},activate(e){qx.event.Registration.getManager(e).getHandler(qx.event.handler.Focus).activate(e)},deactivate(e){qx.event.Registration.getManager(e).getHandler(qx.event.handler.Focus).deactivate(e)},capture(e,t){qx.event.Registration.getManager(e).getDispatcher(qx.event.dispatch.MouseCapture).activateCapture(e,t)},releaseCapture(e){qx.event.Registration.getManager(e).getDispatcher(qx.event.dispatch.MouseCapture).releaseCapture(e)},clone(e,t){if(t||"mshtml"==qx.core.Environment.get("engine.name")&&!qx.xml.Document.isXmlDocument(e)){var r=qx.event.Registration.getManager(e),i=qx.dom.Hierarchy.getDescendants(e);i.push(e)}if("mshtml"==qx.core.Environment.get("engine.name"))for(var n=0,o=i.length;n0){l=h[n];for(var f=0,_=s.length;f<_;f++){c=s[f];r.addListener(l,c.type,c.handler,c.self,c.capture)}}}}return a}}});qx.bom.Element.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.dom.Node":{},"qx.bom.client.Html":{require:!0},"qx.lang.Array":{}},environment:{provided:[],required:{"html.element.contains":{className:"qx.bom.client.Html"},"html.element.compareDocumentPosition":{className:"qx.bom.client.Html"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.dom.Hierarchy",{statics:{getNodeIndex(e){for(var t=0;e&&(e=e.previousSibling);)t++;return t},getElementIndex(e){for(var t=0,r=qx.dom.Node.ELEMENT;e&&(e=e.previousSibling);)e.nodeType==r&&t++;return t},getNextElementSibling(e){for(;e&&(e=e.nextSibling)&&!qx.dom.Node.isElement(e););return e||null},getPreviousElementSibling(e){for(;e&&(e=e.previousSibling)&&!qx.dom.Node.isElement(e););return e||null},contains(e,t){if(qx.core.Environment.get("html.element.contains")){if(qx.dom.Node.isDocument(e)){var r=qx.dom.Node.getDocument(t);return e&&r==e}return!qx.dom.Node.isDocument(t)&&e.contains(t)}if(qx.core.Environment.get("html.element.compareDocumentPosition"))return!!(16&e.compareDocumentPosition(t));for(;t;){if(e==t)return!0;t=t.parentNode}return!1},isRendered(e){var t=e.ownerDocument||e.document;if(qx.core.Environment.get("html.element.contains"))return!!e.parentNode&&t.body.contains(e);if(qx.core.Environment.get("html.element.compareDocumentPosition"))return!!(16&t.compareDocumentPosition(e));for(;e;){if(e==t.body)return!0;e=e.parentNode}return!1},isDescendantOf(e,t){return this.contains(t,e)},getCommonParent(e,t){if(e===t)return e;if(qx.core.Environment.get("html.element.contains")){for(;e&&qx.dom.Node.isElement(e);){if(e.contains(t))return e;e=e.parentNode}return null}for(var r=[];e||t;){if(e){if(r.includes(e))return e;r.push(e);e=e.parentNode}if(t){if(r.includes(t))return t;r.push(t);t=t.parentNode}}return null},getAncestors(e){return this._recursivelyCollect(e,"parentNode")},getChildElements(e){if(!(e=e.firstChild))return[];var t=this.getNextSiblings(e);1===e.nodeType&&t.unshift(e);return t},getDescendants:e=>qx.lang.Array.fromCollection(e.getElementsByTagName("*")),getFirstDescendant(e){e=e.firstChild;for(;e&&1!=e.nodeType;)e=e.nextSibling;return e},getLastDescendant(e){e=e.lastChild;for(;e&&1!=e.nodeType;)e=e.previousSibling;return e},getPreviousSiblings(e){return this._recursivelyCollect(e,"previousSibling")},getNextSiblings(e){return this._recursivelyCollect(e,"nextSibling")},_recursivelyCollect(e,t){for(var r=[];e=e[t];)1==e.nodeType&&r.push(e);return r},getSiblings(e){return this.getPreviousSiblings(e).reverse().concat(this.getNextSiblings(e))},isEmpty(e){e=e.firstChild;for(;e;){if(e.nodeType===qx.dom.Node.ELEMENT||e.nodeType===qx.dom.Node.TEXT)return!1;e=e.nextSibling}return!0},cleanWhitespace(e){for(var t=e.firstChild;t;){var r=t.nextSibling;3!=t.nodeType||/\S/.test(t.nodeValue)||e.removeChild(t);t=r}}}});qx.dom.Hierarchy.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.bom.client.Engine":{require:!0},"qx.dom.Node":{},"qx.bom.Viewport":{},"qx.bom.element.Location":{},"qx.event.Registration":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.element.Scroll",{statics:{__P_149_0:null,getScrollbarWidth(){if(null!==this.__P_149_0)return this.__P_149_0;var e=qx.bom.element.Style,t=function(t,r){return parseInt(e.get(t,r),10)||0},r=function(r){return"none"==e.get(r,"borderRightStyle")?0:t(r,"borderRightWidth")},i=qx.core.Environment.select("engine.name",{mshtml:t=>"hidden"==e.get(t,"overflowY")||0==t.clientWidth?r(t):Math.max(0,t.offsetWidth-t.clientLeft-t.clientWidth),default(i){if(0==i.clientWidth){var n=e.get(i,"overflow"),o="scroll"==n||"-moz-scrollbars-vertical"==n?16:0;return Math.max(0,r(i)+o)}return Math.max(0,i.offsetWidth-i.clientWidth-function(r){return"none"==e.get(r,"borderLeftStyle")?0:t(r,"borderLeftWidth")}(i))}}),n=document.createElement("div"),o=n.style;o.height=o.width="100px";o.overflow="scroll";document.body.appendChild(n);var a,s=i(a=n)-r(a);this.__P_149_0=s;document.body.removeChild(n);return this.__P_149_0},intoViewX(e,t,r){var i,n,o,a,s,l,u,c,h,d,f,_,p,m,g,v=e.parentNode,b=qx.dom.Node.getDocument(e),y=b.body,x="left"===r,q="right"===r;t=t?t.parentNode:b;for(;v&&v!=t;){if(v.scrollWidth>v.clientWidth&&(v===y||"visible"!=qx.bom.element.Style.get(v,"overflowY"))){if(v===y){o=(n=v.scrollLeft)+qx.bom.Viewport.getWidth();a=qx.bom.Viewport.getWidth();s=v.clientWidth;v.scrollWidth;l=0;u=0;c=0}else{n=(i=qx.bom.element.Location.get(v)).left;o=i.right;a=v.offsetWidth;s=v.clientWidth;v.scrollWidth;c=a-s-(l=parseInt(qx.bom.element.Style.get(v,"borderLeftWidth"),10)||0)-(u=parseInt(qx.bom.element.Style.get(v,"borderRightWidth"),10)||0)}d=(h=qx.bom.element.Location.get(e)).left;f=h.right;_=e.offsetWidth;p=d-n-l;m=f-o+u;g=0;x?g=p:q?g=m+c:p<0||_>s?g=p:m>0&&(g=m+c);v.scrollLeft+=g;qx.event.Registration.fireNonBubblingEvent(v,"scroll")}if(v===y)break;v=v.parentNode}},intoViewY(e,t,r){var i,n,o,a,s,l,u,c,h,d,f,_,p,m,g,v=e.parentNode,b=qx.dom.Node.getDocument(e),y=b.body,x="top"===r,q="bottom"===r;t=t?t.parentNode:b;for(;v&&v!=t;){if(v.scrollHeight>v.clientHeight&&(v===y||"visible"!=qx.bom.element.Style.get(v,"overflowY"))){if(v===y){o=(n=v.scrollTop)+qx.bom.Viewport.getHeight();a=qx.bom.Viewport.getHeight();s=v.clientHeight;v.scrollHeight;l=0;u=0;c=0}else{n=(i=qx.bom.element.Location.get(v)).top;o=i.bottom;a=v.offsetHeight;s=v.clientHeight;v.scrollHeight;c=a-s-(l=parseInt(qx.bom.element.Style.get(v,"borderTopWidth"),10)||0)-(u=parseInt(qx.bom.element.Style.get(v,"borderBottomWidth"),10)||0)}d=(h=qx.bom.element.Location.get(e)).top;f=h.bottom;_=e.offsetHeight;p=d-n-l;m=f-o+u;g=0;x?g=p:q?g=m+c:p<0||_>s?g=p:m>0&&(g=m+c);v.scrollTop+=g;qx.event.Registration.fireNonBubblingEvent(v,"scroll")}if(v===y)break;v=v.parentNode}},intoView(e,t,r,i){this.intoViewX(e,t,r);this.intoViewY(e,t,i)}}});qx.bom.element.Scroll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Html":{require:!0},"qx.dom.Node":{},"qx.bom.Range":{},"qx.util.StringSplit":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"html.selection":{load:!0,className:"qx.bom.client.Html"},"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Selection",{statics:{getSelectionObject:qx.core.Environment.select("html.selection",{selection:e=>e.selection,default:e=>qx.dom.Node.getWindow(e).getSelection()}),get:qx.core.Environment.select("html.selection",{selection:e=>qx.bom.Range.get(qx.dom.Node.getDocument(e)).text,default(e){return this.__P_150_0(e)?e.value.substring(e.selectionStart,e.selectionEnd):this.getSelectionObject(qx.dom.Node.getDocument(e)).toString()}}),getLength:qx.core.Environment.select("html.selection",{selection(e){var t=this.get(e),r=qx.util.StringSplit.split(t,/\r\n/);return t.length-(r.length-1)},default(e){if("opera"==qx.core.Environment.get("engine.name")){var t,r;if(this.__P_150_0(e)){var i=e.selectionStart,n=e.selectionEnd;t=e.value.substring(i,n);r=n-i}else r=(t=qx.bom.Selection.get(e)).length;return r-(qx.util.StringSplit.split(t,/\r\n/).length-1)}return this.__P_150_0(e)?e.selectionEnd-e.selectionStart:this.get(e).length}}),getStart:qx.core.Environment.select("html.selection",{selection(e){if(this.__P_150_0(e)){var t=qx.bom.Range.get();if(!e.contains(t.parentElement()))return-1;var r=qx.bom.Range.get(e),i=e.value.length;r.moveToBookmark(t.getBookmark());r.moveEnd("character",i);return i-r.text.length}var n=(r=qx.bom.Range.get(e)).parentElement(),o=qx.bom.Range.get();try{o.moveToElementText(n)}catch(e){return 0}var a,s=qx.bom.Range.get(qx.dom.Node.getBodyElement(e));s.setEndPoint("StartToStart",r);s.setEndPoint("EndToEnd",o);if(0==o.compareEndPoints("StartToStart",s))return 0;for(var l=0;;){a=s.moveStart("character",-1);if(0==o.compareEndPoints("StartToStart",s))break;if(0==a)break;l++}return++l},default(e){if("gecko"===qx.core.Environment.get("engine.name")||"webkit"===qx.core.Environment.get("engine.name")){if(this.__P_150_0(e))return e.selectionStart;var t=qx.dom.Node.getDocument(e),r=this.getSelectionObject(t);return r.anchorOffsetr.anchorOffset?r.focusOffset:r.anchorOffset}return this.__P_150_0(e)?e.selectionEnd:qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(e)).focusOffset}}),__P_150_0:e=>qx.dom.Node.isElement(e)&&("input"==e.nodeName.toLowerCase()||"textarea"==e.nodeName.toLowerCase()),set:qx.core.Environment.select("html.selection",{selection(e,t,r){var i;qx.dom.Node.isDocument(e)&&(e=e.body);if(qx.dom.Node.isElement(e)||qx.dom.Node.isText(e))switch(e.nodeName.toLowerCase()){case"input":case"textarea":case"button":void 0===r&&(r=e.value.length);if(t>=0&&t<=e.value.length&&r>=0&&r<=e.value.length){(i=qx.bom.Range.get(e)).collapse(!0);i.moveStart("character",t);i.moveEnd("character",r-t);i.select();return!0}break;case"#text":void 0===r&&(r=e.nodeValue.length);if(t>=0&&t<=e.nodeValue.length&&r>=0&&r<=e.nodeValue.length){(i=qx.bom.Range.get(qx.dom.Node.getBodyElement(e))).moveToElementText(e.parentNode);i.collapse(!0);i.moveStart("character",t);i.moveEnd("character",r-t);i.select();return!0}break;default:void 0===r&&(r=e.childNodes.length-1);if(e.childNodes[t]&&e.childNodes[r]){(i=qx.bom.Range.get(qx.dom.Node.getBodyElement(e))).moveToElementText(e.childNodes[t]);i.collapse(!0);var n=qx.bom.Range.get(qx.dom.Node.getBodyElement(e));n.moveToElementText(e.childNodes[r]);i.setEndPoint("EndToEnd",n);i.select();return!0}}return!1},default(e,t,r){var i=e.nodeName.toLowerCase();if(!qx.dom.Node.isElement(e)||"input"!=i&&"textarea"!=i){var n=!1,o=qx.dom.Node.getWindow(e).getSelection(),a=qx.bom.Range.get(e);if(qx.dom.Node.isText(e)){void 0===r&&(r=e.length);t>=0&&t=0&&r<=e.length&&(n=!0)}else if(qx.dom.Node.isElement(e)){void 0===r&&(r=e.childNodes.length-1);t>=0&&e.childNodes[t]&&r>=0&&e.childNodes[r]&&(n=!0)}else if(qx.dom.Node.isDocument(e)){e=e.body;void 0===r&&(r=e.childNodes.length-1);t>=0&&e.childNodes[t]&&r>=0&&e.childNodes[r]&&(n=!0)}if(n){o.isCollapsed||o.collapseToStart();a.setStart(e,t);qx.dom.Node.isText(e)?a.setEnd(e,r):a.setEndAfter(e.childNodes[r]);o.rangeCount>0&&o.removeAllRanges();o.addRange(a);return!0}}else{void 0===r&&(r=e.value.length);if(t>=0&&t<=e.value.length&&r>=0&&r<=e.value.length){e.focus();e.select();try{e.setSelectionRange(t,r)}catch(e){}return!0}}return!1}}),setAll:e=>qx.bom.Selection.set(e,0),clear:qx.core.Environment.select("html.selection",{selection(e){var t=qx.bom.Range.get(e).parentElement(),r=qx.bom.Range.get(qx.dom.Node.getDocument(e));qx.dom.Node.isText(e)&&(e=e.parentNode);if(t==r.parentElement()&&t==e){qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(e)).empty()}},default(e){var t=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(e)),r=e.nodeName.toLowerCase();if(!qx.dom.Node.isElement(e)||"input"!=r&&"textarea"!=r)if(qx.dom.Node.isDocument(e)||"body"==r)t.collapse(e.body?e.body:e,0);else{var i=qx.bom.Range.get(e);if(!i.collapsed){var n=i.commonAncestorContainer;(qx.dom.Node.isElement(e)&&qx.dom.Node.isText(n)?n.parentNode:n)==e&&t.collapse(e,0)}}else{try{e.setSelectionRange(0,0)}catch(e){}qx.bom.Element&&qx.bom.Element.blur&&qx.bom.Element.blur(e)}}})}});qx.bom.Selection.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.dispatch.DomBubbling":{defer:"runtime"},"qx.core.Environment":{defer:"load",construct:!0,usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.OperatingSystem":{construct:!0,require:!0},"qx.core.Init":{construct:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.Selection":{},"qx.event.type.Focus":{},"qx.lang.Function":{},"qx.bom.Event":{},"qx.bom.client.Browser":{require:!0},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{},"qx.bom.element.Attribute":{}},environment:{provided:[],required:{"os.name":{construct:!0,className:"qx.bom.client.OperatingSystem"},"os.version":{construct:!0,className:"qx.bom.client.OperatingSystem"},"engine.name":{load:!0,className:"qx.bom.client.Engine"},"browser.name":{load:!0,className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Focus",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this._manager=e;this._window=e.getWindow();this._document=this._window.document;this._root=this._document.documentElement;this._body=this._document.body;"ios"==qx.core.Environment.get("os.name")&&parseFloat(qx.core.Environment.get("os.version"))>6&&parseFloat(qx.core.Environment.get("os.version"))<15&&(!qx.application.Inline||!qx.core.Init.getApplication()instanceof qx.application.Inline)&&(this.__P_152_0=!0);this._initObserver()},properties:{active:{apply:"_applyActive",nullable:!0},focus:{apply:"_applyFocus",nullable:!0}},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{focus:1,blur:1,focusin:1,focusout:1,activate:1,deactivate:1},IGNORE_CAN_HANDLE:!0,FOCUSABLE_ELEMENTS:qx.core.Environment.select("engine.name",{mshtml:{a:1,body:1,button:1,frame:1,iframe:1,img:1,input:1,object:1,select:1,textarea:1},gecko:{a:1,body:1,button:1,frame:1,iframe:1,img:1,input:1,object:1,select:1,textarea:1},opera:{button:1,input:1,select:1,textarea:1},webkit:{button:1,input:1,select:1,textarea:1}})},members:{__P_152_1:null,__P_152_2:null,__P_152_3:null,__P_152_4:null,__P_152_5:null,__P_152_6:null,__P_152_7:null,__P_152_8:null,__P_152_9:null,__P_152_10:null,__P_152_11:"",__P_152_12:"",__P_152_0:!1,__P_152_13:null,canHandleEvent(e,t){},registerEvent(e,t,r){},unregisterEvent(e,t,r){},focus(e){"mshtml"==qx.core.Environment.get("engine.name")?window.setTimeout((function(){try{e.focus();if(0==qx.bom.Selection.get(e).length&&"function"==typeof e.createTextRange){var t=e.createTextRange();t.moveStart("character",e.value.length);t.collapse();t.select()}}catch(e){}}),0):window.setTimeout((function(){try{e.focus()}catch(e){}}),0);this.setFocus(e);this.setActive(e)},activate(e){this.setActive(e)},blur(e){try{e.blur()}catch(e){}this.getActive()===e&&this.resetActive();this.getFocus()===e&&this.resetFocus()},deactivate(e){this.getActive()===e&&this.resetActive()},tryActivate(e){var t=this.__P_152_14(e);t&&this.setActive(t)},__P_152_15(e,t,r,i){var n=qx.event.Registration,o=n.createEvent(r,qx.event.type.Focus,[e,t,i]);return n.dispatchEvent(e,o)},_windowFocused:!0,__P_152_16(){if(this._windowFocused){this._windowFocused=!1;this.__P_152_15(this._window,null,"blur",!1)}},__P_152_17(){if(!this._windowFocused){this._windowFocused=!0;this.__P_152_15(this._window,null,"focus",!1)}},_initObserver:qx.core.Environment.select("engine.name",{gecko(){this.__P_152_1=qx.lang.Function.listener(this.__P_152_18,this);this.__P_152_2=qx.lang.Function.listener(this.__P_152_19,this);this.__P_152_3=qx.lang.Function.listener(this.__P_152_20,this);this.__P_152_4=qx.lang.Function.listener(this.__P_152_21,this);this.__P_152_5=qx.lang.Function.listener(this.__P_152_22,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_152_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_152_2,!0);qx.bom.Event.addNativeListener(this._window,"focus",this.__P_152_3,!0);qx.bom.Event.addNativeListener(this._window,"blur",this.__P_152_4,!0);qx.bom.Event.addNativeListener(this._window,"draggesture",this.__P_152_5,!0)},mshtml(){this.__P_152_1=qx.lang.Function.listener(this.__P_152_18,this);this.__P_152_2=qx.lang.Function.listener(this.__P_152_19,this);this.__P_152_7=qx.lang.Function.listener(this.__P_152_23,this);this.__P_152_8=qx.lang.Function.listener(this.__P_152_24,this);this.__P_152_6=qx.lang.Function.listener(this.__P_152_25,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_152_1);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_152_2);qx.bom.Event.addNativeListener(this._document,"focusin",this.__P_152_7);qx.bom.Event.addNativeListener(this._document,"focusout",this.__P_152_8);qx.bom.Event.addNativeListener(this._document,"selectstart",this.__P_152_6)},webkit:qx.core.Environment.select("browser.name",{edge(e){this.__P_152_1=qx.lang.Function.listener(this.__P_152_18,this);this.__P_152_2=qx.lang.Function.listener(this.__P_152_19,this);this.__P_152_8=qx.lang.Function.listener(this.__P_152_24,this);this.__P_152_7=qx.lang.Function.listener(this.__P_152_23,this);this.__P_152_6=qx.lang.Function.listener(this.__P_152_25,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_152_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_152_2,!0);qx.bom.Event.addNativeListener(this._document,"selectstart",this.__P_152_6,!1);qx.bom.Event.addNativeListener(this._document,"focusin",this.__P_152_7);qx.bom.Event.addNativeListener(this._document,"focusout",this.__P_152_8)},default(e){this.__P_152_1=qx.lang.Function.listener(this.__P_152_18,this);this.__P_152_2=qx.lang.Function.listener(this.__P_152_19,this);this.__P_152_8=qx.lang.Function.listener(this.__P_152_24,this);this.__P_152_3=qx.lang.Function.listener(this.__P_152_20,this);this.__P_152_4=qx.lang.Function.listener(this.__P_152_21,this);this.__P_152_6=qx.lang.Function.listener(this.__P_152_25,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_152_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_152_2,!0);qx.bom.Event.addNativeListener(this._document,"selectstart",this.__P_152_6,!1);qx.bom.Event.addNativeListener(this._window,"DOMFocusOut",this.__P_152_8,!0);qx.bom.Event.addNativeListener(this._window,"focus",this.__P_152_3,!0);qx.bom.Event.addNativeListener(this._window,"blur",this.__P_152_4,!0)}}),opera(){this.__P_152_1=qx.lang.Function.listener(this.__P_152_18,this);this.__P_152_2=qx.lang.Function.listener(this.__P_152_19,this);this.__P_152_7=qx.lang.Function.listener(this.__P_152_23,this);this.__P_152_8=qx.lang.Function.listener(this.__P_152_24,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_152_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_152_2,!0);qx.bom.Event.addNativeListener(this._window,"DOMFocusIn",this.__P_152_7,!0);qx.bom.Event.addNativeListener(this._window,"DOMFocusOut",this.__P_152_8,!0)}}),_stopObserver:qx.core.Environment.select("engine.name",{gecko(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_152_1,!0);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_152_2,!0);qx.bom.Event.removeNativeListener(this._window,"focus",this.__P_152_3,!0);qx.bom.Event.removeNativeListener(this._window,"blur",this.__P_152_4,!0);qx.bom.Event.removeNativeListener(this._window,"draggesture",this.__P_152_5,!0)},mshtml(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_152_1);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_152_2);qx.bom.Event.removeNativeListener(this._document,"focusin",this.__P_152_7);qx.bom.Event.removeNativeListener(this._document,"focusout",this.__P_152_8);qx.bom.Event.removeNativeListener(this._document,"selectstart",this.__P_152_6)},webkit:qx.core.Environment.select("browser.name",{edge(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_152_1);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_152_2);qx.bom.Event.removeNativeListener(this._document,"focusin",this.__P_152_7);qx.bom.Event.removeNativeListener(this._document,"focusout",this.__P_152_8);qx.bom.Event.removeNativeListener(this._document,"selectstart",this.__P_152_6)},default(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_152_1,!0);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_152_2,!0);qx.bom.Event.removeNativeListener(this._document,"selectstart",this.__P_152_6,!1);qx.bom.Event.removeNativeListener(this._window,"DOMFocusOut",this.__P_152_8,!0);qx.bom.Event.removeNativeListener(this._window,"focus",this.__P_152_3,!0);qx.bom.Event.removeNativeListener(this._window,"blur",this.__P_152_4,!0)}}),opera(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_152_1,!0);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_152_2,!0);qx.bom.Event.removeNativeListener(this._window,"DOMFocusIn",this.__P_152_7,!0);qx.bom.Event.removeNativeListener(this._window,"DOMFocusOut",this.__P_152_8,!0)}}),__P_152_22:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{gecko(e){var t=qx.bom.Event.getTarget(e);this.__P_152_26(t)||qx.bom.Event.preventDefault(e)},default:null})),__P_152_23:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml(e){this.__P_152_17();var t=qx.bom.Event.getTarget(e),r=this.__P_152_27(t);r&&this.setFocus(r);this.tryActivate(t)},webkit:qx.core.Environment.select("browser.name",{edge(e){this.__P_152_17();var t=qx.bom.Event.getTarget(e),r=this.__P_152_27(t);r&&this.setFocus(r);this.tryActivate(t)},default:null}),opera(e){var t=qx.bom.Event.getTarget(e);if(t==this._document||t==this._window){this.__P_152_17();if(this.__P_152_9){this.setFocus(this.__P_152_9);delete this.__P_152_9}if(this.__P_152_10){this.setActive(this.__P_152_10);delete this.__P_152_10}}else{this.setFocus(t);this.tryActivate(t);if(!this.__P_152_26(t)){t.selectionStart=0;t.selectionEnd=0}}},default:null})),__P_152_24:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml(e){if(null==qx.bom.Event.getRelatedTarget(e)){this.__P_152_16();this.resetFocus();this.resetActive()}},webkit:qx.core.Environment.select("browser.name",{edge(e){if(null==qx.bom.Event.getRelatedTarget(e)){this.__P_152_16();this.resetFocus();this.resetActive()}},default(e){var t=qx.bom.Event.getTarget(e);t===this.getFocus()&&this.resetFocus();t===this.getActive()&&this.resetActive()}}),opera(e){var t=qx.bom.Event.getTarget(e);if(t==this._document){this.__P_152_16();this.__P_152_9=this.getFocus();this.__P_152_10=this.getActive();this.resetFocus();this.resetActive()}else{t===this.getFocus()&&this.resetFocus();t===this.getActive()&&this.resetActive()}},default:null})),__P_152_21:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{gecko(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_152_16();this.resetActive();this.resetFocus()}},webkit(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_152_16();this.__P_152_9=this.getFocus();this.__P_152_10=this.getActive();this.resetActive();this.resetFocus()}},default:null})),__P_152_20:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{gecko(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_152_17();t=this._body}this.setFocus(t);this.tryActivate(t)},webkit(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_152_17();if(this.__P_152_9){this.setFocus(this.__P_152_9);delete this.__P_152_9}if(this.__P_152_10){this.setActive(this.__P_152_10);delete this.__P_152_10}}else{this.__P_152_13=e.relatedTarget;this.setFocus(t);this.__P_152_13=null;this.tryActivate(t)}},default:null})),__P_152_18:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml(e){var t=qx.bom.Event.getTarget(e),r=this.__P_152_27(t);if(r){if(!this.__P_152_26(t)){t.unselectable="on";try{document.selection&&document.selection.empty()}catch(e){}try{r.focus()}catch(e){}}}else{qx.bom.Event.preventDefault(e);this.__P_152_26(t)||(t.unselectable="on")}},webkit(e){var t=qx.bom.Event.getTarget(e),r=this.__P_152_27(t);r?this.setFocus(r):qx.bom.Event.preventDefault(e)},gecko(e){var t=qx.bom.Event.getTarget(e),r=this.__P_152_27(t);r?this.setFocus(r):qx.bom.Event.preventDefault(e)},opera(e){var t=qx.bom.Event.getTarget(e),r=this.__P_152_27(t);if(this.__P_152_26(t))r&&this.setFocus(r);else{qx.bom.Event.preventDefault(e);if(r){var i=this.getFocus();if(i&&i.selectionEnd){i.selectionStart=0;i.selectionEnd=0;i.blur()}r&&this.setFocus(r)}}},default:null})),__P_152_19:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml(e){var t=qx.bom.Event.getTarget(e);t.unselectable&&(t.unselectable="off");this.tryActivate(this.__P_152_28(t))},gecko(e){for(var t=qx.bom.Event.getTarget(e);t&&void 0===t.offsetWidth;)t=t.parentNode;t&&this.tryActivate(t)},webkit(e){var t=qx.bom.Event.getTarget(e);this.tryActivate(this.__P_152_28(t))},opera(e){var t=qx.bom.Event.getTarget(e);this.tryActivate(this.__P_152_28(t))},default:null})),__P_152_29(e){var t=this.getFocus();if(t&&e!=t){if("input"===t.nodeName.toLowerCase()||"textarea"===t.nodeName.toLowerCase())return t;if(qx.Class.isClass("qx.ui.core.Widget"))var r=qx.ui.core.Widget.getWidgetByElement(t),i=r&&r.getChildControl&&r.getChildControl("textfield",!0);if(i)return i.getContentElement().getDomElement()}return e},__P_152_28:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml(e){return this.__P_152_29(e)},webkit(e){return this.__P_152_29(e)},default:e=>e})),__P_152_25:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml(e){var t=qx.bom.Event.getTarget(e);this.__P_152_26(t)||qx.bom.Event.preventDefault(e)},webkit(e){var t=qx.bom.Event.getTarget(e);this.__P_152_26(t)||qx.bom.Event.preventDefault(e)},default:null})),__P_152_30(e){var t=qx.bom.element.Attribute.get(e,"tabIndex");if(t>=1)return!0;var r=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;return!!(t>=0&&r[e.tagName])},__P_152_27(e){for(;e&&1===e.nodeType;){if("on"==e.getAttribute("qxKeepFocus"))return null;if(this.__P_152_30(e))return e;e=e.parentNode}return this._body},__P_152_14(e){for(var t=e;e&&1===e.nodeType;){if("on"==e.getAttribute("qxKeepActive"))return null;e=e.parentNode}return t},__P_152_26(e){for(;e&&1===e.nodeType;){var t=e.getAttribute("qxSelectable");if(null!=t)return"on"===t;e=e.parentNode}return!0},_applyActive(e,t){t&&this.__P_152_15(t,e,"deactivate",!0);e&&this.__P_152_15(e,t,"activate",!0);this.__P_152_0&&window.scrollTo(0,0)},_applyFocus(e,t){t&&this.__P_152_15(t,e,"focusout",!0);e&&this.__P_152_15(e,t,"focusin",!0);t&&this.__P_152_15(t,e,"blur",!1);e&&this.__P_152_15(e,t||this.__P_152_13,"focus",!1)}},destruct(){this._stopObserver();this._manager=this._window=this._document=this._root=this._body=this.__P_152_31=this.__P_152_13=null},defer(e){qx.event.Registration.addHandler(e);var t=e.FOCUSABLE_ELEMENTS;for(var r in t)t[r.toUpperCase()]=1}});qx.event.handler.Focus.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Focus":{defer:"runtime"},"qx.event.handler.Window":{defer:"runtime"},"qx.event.handler.Capture":{defer:"runtime"},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.dispatch.AbstractBubbling":{construct:!0,require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.dom.Hierarchy":{},"qx.bom.Event":{},"qx.event.type.Event":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.OperatingSystem":{require:!0}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"browser.documentmode":{load:!0,className:"qx.bom.client.Browser"},"os.version":{load:!0,className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.dispatch.MouseCapture",{extend:qx.event.dispatch.AbstractBubbling,construct(e,t){qx.event.dispatch.AbstractBubbling.constructor.call(this,e);this.__P_113_0=e.getWindow();this.__P_113_1=t;e.addListener(this.__P_113_0,"blur",this.releaseCapture,this);e.addListener(this.__P_113_0,"focus",this.releaseCapture,this);e.addListener(this.__P_113_0,"scroll",this.releaseCapture,this)},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST},members:{__P_113_1:null,__P_113_2:null,__P_113_3:!0,__P_113_0:null,_getParent:e=>e.parentNode,canDispatchEvent(e,t,r){return!(!this.__P_113_2||!this.__P_113_4[r])},dispatchEvent(e,t,r){if("click"!=r){!this.__P_113_3&&qx.dom.Hierarchy.contains(this.__P_113_2,e)||(e=this.__P_113_2);return qx.event.dispatch.MouseCapture.superclass.prototype.dispatchEvent.call(this,e,t,r)}t.stopPropagation();this.releaseCapture()},__P_113_4:{mouseup:1,mousedown:1,click:1,dblclick:1,mousemove:1,mouseout:1,mouseover:1,pointerdown:1,pointerup:1,pointermove:1,pointerover:1,pointerout:1,tap:1,dbltap:1},activateCapture(e,t){t=!1!==t;if(this.__P_113_2!==e||this.__P_113_3!=t){this.__P_113_2&&this.releaseCapture();if(this.hasNativeCapture){this.nativeSetCapture(e,t);var r=this;qx.bom.Event.addNativeListener(e,"losecapture",(function t(){qx.bom.Event.removeNativeListener(e,"losecapture",t);r.releaseCapture()}))}this.__P_113_3=t;this.__P_113_2=e;this.__P_113_1.fireEvent(e,"capture",qx.event.type.Event,[!0,!1])}},getCaptureElement(){return this.__P_113_2},releaseCapture(){var e=this.__P_113_2;if(e){this.__P_113_2=null;this.__P_113_1.fireEvent(e,"losecapture",qx.event.type.Event,[!0,!1]);this.nativeReleaseCapture(e)}},hasNativeCapture:"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9||parseInt(qx.core.Environment.get("os.version"),10)>7&&qx.core.Environment.get("browser.documentmode")>9,nativeSetCapture:qx.core.Environment.select("engine.name",{mshtml(e,t){e.setCapture(!1!==t)},default(){}}),nativeReleaseCapture:qx.core.Environment.select("engine.name",{mshtml(e){e.releaseCapture()},default(){}})},defer(e){qx.event.Registration.addDispatcher(e)}});qx.event.dispatch.MouseCapture.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.event.IEventHandler":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Capture",{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{capture:!0,losecapture:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!0},members:{canHandleEvent(e,t){},registerEvent(e,t,r){},unregisterEvent(e,t,r){}},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Capture.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.element.Attribute":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.dom.Element",{statics:{hasChild:(e,t)=>t.parentNode===e,hasChildren:e=>!!e.firstChild,hasChildElements(e){e=e.firstChild;for(;e;){if(1===e.nodeType)return!0;e=e.nextSibling}return!1},getParentElement:e=>e.parentNode,isInDom(e,t){t||(t=window);for(var r=t.document.getElementsByTagName(e.nodeName),i=0,n=r.length;ie.innerHTML=""}});qx.dom.Element.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Html":{require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.lang.Type":{}},environment:{provided:[],required:{"html.element.textcontent":{load:!0,className:"qx.bom.client.Html"},"engine.name":{load:!0,className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Attribute",{statics:{__P_118_0:{names:{class:"className",for:"htmlFor",html:"innerHTML",text:qx.core.Environment.get("html.element.textcontent")?"textContent":"innerText",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",datetime:"dateTime",accesskey:"accessKey",tabindex:"tabIndex",maxlength:"maxLength",readonly:"readOnly",longdesc:"longDesc",cellpadding:"cellPadding",cellspacing:"cellSpacing",frameborder:"frameBorder",usemap:"useMap"},runtime:{html:1,text:1},bools:{compact:1,nowrap:1,ismap:1,declare:1,noshade:1,checked:1,disabled:1,readOnly:1,multiple:1,selected:1,noresize:1,defer:1,allowTransparency:1},property:{$$element:1,$$elementObject:1,$$qxObjectHash:1,$$qxObject:1,checked:1,readOnly:1,multiple:1,selected:1,value:1,maxLength:1,className:1,innerHTML:1,innerText:1,textContent:1,htmlFor:1,tabIndex:1},qxProperties:{$$qxObjectHash:1,$$qxObject:1,$$element:1,$$elementObject:1},propertyDefault:{disabled:!1,checked:!1,readOnly:!1,multiple:!1,selected:!1,value:"",className:"",innerHTML:"",innerText:"",textContent:"",htmlFor:"",tabIndex:0,maxLength:qx.core.Environment.select("engine.name",{mshtml:2147483647,webkit:524288,default:-1})},removeableProperties:{disabled:1,multiple:1,maxLength:1}},compile(e){var t=[],r=this.__P_118_0.runtime;for(var i in e)r[i]||t.push(i,"='",e[i],"'");return t.join("")},get(e,t){var r,i=this.__P_118_0;t=i.names[t]||t;if(i.property[t]){r=e[t];if(void 0!==i.propertyDefault[t]&&r==i.propertyDefault[t])return void 0===i.bools[t]?null:r}else{r=e.getAttribute(t);if(i.bools[t]&&!("mshtml"==qx.core.Environment.get("engine.name")&&parseInt(qx.core.Environment.get("browser.documentmode"),10)<=8))return qx.Bootstrap.isString(r)}return i.bools[t]?!!r:r},set(e,t,r){if(void 0!==r){var i=this.__P_118_0;t=i.names[t]||t;i.bools[t]&&!qx.lang.Type.isBoolean(r)&&(r=qx.lang.Type.isString(r));if(i.property[t]&&(void 0!==e[t]||i.qxProperties[t])){if(null==r){if(i.removeableProperties[t]){e.removeAttribute(t);return}void 0!==i.propertyDefault[t]&&(r=i.propertyDefault[t])}e[t]=r}else!i.bools[t]&&null!==r||0===t.indexOf("data-")?null===r?e.removeAttribute(t):e.setAttribute(t,r):!0===r?e.setAttribute(t,t):!1!==r&&null!==r||e.removeAttribute(t)}},serialize(e,t,r){if(void 0!==r){var i=this.__P_118_0;if(!i.qxProperties[t]){i.bools[t]&&!qx.lang.Type.isBoolean(r)&&(r=qx.lang.Type.isString(r));!i.bools[t]&&null!==r||0===t.indexOf("data-")?null!==r&&e(t,'="',r,'"'):!0===r&&e(t,"=",t)}}},reset(e,t){0===t.indexOf("data-")?e.removeAttribute(t):this.set(e,t,null)}}});qx.bom.element.Attribute.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.html.Node":{construct:!0,require:!0},"qx.html.Element":{defer:"runtime"},"qx.util.DeferredCall":{defer:"runtime"}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Text",{extend:qx.html.Node,construct(e){qx.html.Node.constructor.call(this,"#text");e&&(this.__P_154_0=e)},members:{__P_154_0:null,_createDomElement(){return window.document.createTextNode(this.__P_154_0||"")},isRoot:()=>!1,_copyData(e,t){qx.html.Text.superclass.prototype._copyData.call(this,e,t);this._domNode.nodeValue=this.__P_154_0||""},_useNode(e){this.setText(e.nodeValue)},_useNodeImpl(e){this.setText(e.nodeValue)},_syncData(){qx.html.Text.superclass.prototype._syncData.call(this);this._domNode.nodeValue=this.__P_154_0||""},_serializeImpl(e){null!==this.__P_154_0&&e(this.__P_154_0)},useMarkup(e){throw new Error("Could not overwrite existing text node!")},setText(e,t){this.__P_154_0=e;if(t&&this._domNode)this._domNode.nodeValue=e;else{qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush("element")}},getText(){return this.__P_154_0}},defer(e){e.__P_154_1=new qx.util.DeferredCall(e.flush,e)},destruct(){if(this.toHashCode()){delete qx.html.Element._modified[this.toHashCode()];delete qx.html.Element._scroll[this.toHashCode()]}this.__P_154_2=this.__P_154_3=this.__P_154_4=this.__P_154_5=this.__P_154_6=this.__P_154_7=this.__P_154_8=null}});qx.html.Text.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.event.Registration":{construct:!0,defer:"runtime",require:!0},"qx.ui.core.Widget":{},"qx.event.type.Event":{},"qx.event.Pool":{},"qx.event.Utils":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.EventHandler",{extend:qx.core.Object,implement:qx.event.IEventHandler,construct(){qx.core.Object.constructor.call(this);this.__P_107_0=qx.event.Registration.getManager(window)},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST,SUPPORTED_TYPES:{mousemove:1,mouseover:1,mouseout:1,mousedown:1,mouseup:1,click:1,auxclick:1,dblclick:1,contextmenu:1,mousewheel:1,keyup:1,keydown:1,keypress:1,keyinput:1,capture:1,losecapture:1,focusin:1,focusout:1,focus:1,blur:1,activate:1,deactivate:1,appear:1,disappear:1,dragstart:1,dragend:1,dragover:1,dragleave:1,drop:1,drag:1,dragchange:1,droprequest:1,touchstart:1,touchend:1,touchmove:1,touchcancel:1,tap:1,longtap:1,swipe:1,dbltap:1,track:1,trackend:1,trackstart:1,pinch:1,rotate:1,roll:1,pointermove:1,pointerover:1,pointerout:1,pointerdown:1,pointerup:1,pointercancel:1},IGNORE_CAN_HANDLE:!1},members:{__P_107_0:null,__P_107_1:{focusin:1,focusout:1,focus:1,blur:1},__P_107_2:{mouseover:1,mouseout:1,appear:1,disappear:1},canHandleEvent:(e,t)=>e instanceof qx.ui.core.Widget,_dispatchEvent(e){for(var t=e.getTarget(),r=qx.ui.core.Widget.getWidgetByElement(t),i=!1;r&&r.isAnonymous();){i=!0;r=r.getLayoutParent()}r&&i&&"activate"==e.getType()&&r.getContentElement().activate();if(!this.__P_107_1[e.getType()]||(r=r&&r.getFocusTarget())){if(e.getRelatedTarget){for(var n=e.getRelatedTarget(),o=qx.ui.core.Widget.getWidgetByElement(n);o&&o.isAnonymous();)o=o.getLayoutParent();if(o){this.__P_107_1[e.getType()]&&(o=o.getFocusTarget());if(o===r)return}}var a=e.getCurrentTarget(),s=qx.ui.core.Widget.getWidgetByElement(a);if(s&&!s.isAnonymous()){this.__P_107_1[e.getType()]&&(s=s.getFocusTarget());var l=e.getType();if(s&&(s.isEnabled()||this.__P_107_2[l])){var u=e.getEventPhase()==qx.event.type.Event.CAPTURING_PHASE,c=this.__P_107_0.getListeners(s,l,u);if(e.getEventPhase()==qx.event.type.Event.AT_TARGET){c||(c=[]);var h=this.__P_107_0.getListeners(s,l,!u);h&&(c=c.concat(h))}if(c&&0!==c.length){var d=qx.event.Pool.getInstance().getObject(e.constructor);e.clone(d);d.setTarget(r);d.setRelatedTarget(o||null);d.setCurrentTarget(s);var f=e.getOriginalTarget();if(f){for(var _=qx.ui.core.Widget.getWidgetByElement(f);_&&_.isAnonymous();)_=_.getLayoutParent();d.setOriginalTarget(_)}else d.setOriginalTarget(t);var p={};qx.event.Utils.then(p,(function(){return qx.event.Utils.series(c,(function(e){var t=e.context||s;return e.handler.call(t,d)}))}));qx.event.Utils.then(p,(function(){d.getPropagationStopped()&&e.stopPropagation();d.getDefaultPrevented()&&e.preventDefault()}));return qx.event.Utils.then(p,(function(){qx.event.Pool.getInstance().poolObject(d)}))}}}}},registerEvent(e,t,r){var i;(i="focus"===t||"blur"===t?e.getFocusElement():e.getContentElement())&&i.addListener(t,this._dispatchEvent,this,r)},unregisterEvent(e,t,r){var i;(i="focus"===t||"blur"===t?e.getFocusElement():e.getContentElement())&&i.removeListener(t,this._dispatchEvent,this,r)}},destruct(){this.__P_107_0=null},defer(e){qx.event.Registration.addHandler(e)}});qx.ui.core.EventHandler.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Gesture":{require:!0,defer:"runtime"},"qx.event.handler.Keyboard":{require:!0,defer:"runtime"},"qx.event.handler.Capture":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{construct:!0,defer:"runtime",require:!0},"qx.ui.core.Widget":{},"qx.event.Utils":{},"qx.Promise":{},"qx.event.type.Drag":{},"qx.ui.core.DragDropCursor":{},"qx.bom.element.Style":{}},environment:{provided:[],required:{"qx.promise":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.DragDrop",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this.__P_108_0=e;this.__P_108_1=e.getWindow().document.documentElement;this.__P_108_0.addListener(this.__P_108_1,"longtap",this._onLongtap,this);this.__P_108_0.addListener(this.__P_108_1,"pointerdown",this._onPointerdown,this,!0);qx.event.Registration.addListener(window,"blur",this._onWindowBlur,this);this.__P_108_2()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{dragstart:1,dragend:1,dragover:1,dragleave:1,drop:1,drag:1,dragchange:1,droprequest:1},IGNORE_CAN_HANDLE:!0,ALLOWED_BUTTONS:["left"],MIN_DRAG_DISTANCE:5},properties:{cursor:{check:"qx.ui.core.Widget",nullable:!0,init:null}},members:{__P_108_0:null,__P_108_1:null,__P_108_3:null,__P_108_4:null,__P_108_5:null,__P_108_6:null,__P_108_7:null,__P_108_8:null,__P_108_9:null,__P_108_10:null,__P_108_11:!1,__P_108_12:!1,__P_108_13:!1,__P_108_14:null,__P_108_15:null,canHandleEvent(e,t){},registerEvent(e,t,r){},unregisterEvent(e,t,r){},addType(e){this.__P_108_5[e]=!0},addAction(e){this.__P_108_6[e]=!0},supportsType(e){return!!this.__P_108_5[e]},supportsAction(e){return!!this.__P_108_6[e]},setDropAllowed(e){this.__P_108_12=e;this.__P_108_16()},getData(e){if(!this.__P_108_12||!this.__P_108_3)throw new Error("This method must not be used outside the drop event listener!");if(!this.__P_108_5[e])throw new Error("Unsupported data type: "+e+"!");if(!this.__P_108_8[e]){this.__P_108_9=e;this.__P_108_17("droprequest",this.__P_108_4,this.__P_108_3,!1,!1)}if(!this.__P_108_8[e])throw new Error("Please use a droprequest listener to the drag source to fill the manager with data!");return this.__P_108_8[e]||null},getDataAsync(e){if(!this.__P_108_12||!this.__P_108_3)throw new Error("This method must not be used outside the drop event listener!");if(!this.__P_108_5[e])throw new Error("Unsupported data type: "+e+"!");var t={},r=this;this.__P_108_8[e]||qx.event.Utils.then(t,(function(){r.__P_108_9=e;return r.__P_108_17("droprequest",r.__P_108_4,r.__P_108_3,!1)}));return qx.event.Utils.then(t,(function(){if(!this.__P_108_8[e])throw new Error("Please use a droprequest listener to the drag source to fill the manager with data!");return this.__P_108_8[e]||null}))},getCurrentAction(){this.__P_108_16();return this.__P_108_10},getCurrentActionAsync:qx.core.Environment.select("qx.promise",{true(){var e=this;return qx.Promise.resolve(e.__P_108_16()).then((function(){return e.__P_108_10}))},false(){throw new Error(this.classname+".getCurrentActionAsync not supported because qx.promise==false")}}),getDragTarget(){return this.__P_108_14},addData(e,t){this.__P_108_8[e]=t},getCurrentType(){return this.__P_108_9},isSessionActive(){return this.__P_108_11},__P_108_2(){this.__P_108_5={};this.__P_108_6={};this.__P_108_7={};this.__P_108_8={}},__P_108_16(){if(null==this.__P_108_4)return qx.Promise.reject();var e=this.__P_108_6,t=this.__P_108_7,r=null;this.__P_108_12&&(t.Shift&&t.Control&&e.alias?r="alias":t.Shift&&t.Alt&&e.copy?r="copy":t.Shift&&e.move?r="move":t.Alt&&e.alias?r="alias":t.Control&&e.copy?r="copy":e.move?r="move":e.copy?r="copy":e.alias&&(r="alias"));var i=this,n={},o=this.__P_108_10;if(r!=o&&this.__P_108_3){qx.event.Utils.catch((function(){i.__P_108_13=!1;r=null}));qx.event.Utils.then(n,(function(){i.__P_108_10=r;return i.__P_108_17("dragchange",i.__P_108_3,i.__P_108_4,!0)}));qx.event.Utils.then(n,(function(e){i.__P_108_13=e;e||(r=null)}))}return qx.event.Utils.then(n,(function(){if(r!=o){i.__P_108_10=r;return i.__P_108_17("dragchange",i.__P_108_4,i.__P_108_3,!1)}}))},__P_108_17(e,t,r,i,n,o){var a=qx.event.Registration,s=a.createEvent(e,qx.event.type.Drag,[i,n]);t!==r&&s.setRelatedTarget(r);var l=a.dispatchEvent(t,s);return void 0===o||o?qx.Promise.resolve(l).then((function(){return!s.getDefaultPrevented()})):l},__P_108_18(e){for(;e&&1==e.nodeType;){if("on"==e.getAttribute("qxDraggable"))return e;e=e.parentNode}return null},__P_108_19(e){for(;e&&1==e.nodeType;){if("on"==e.getAttribute("qxDroppable"))return e;e=e.parentNode}return null},clearSession(){this.__P_108_0.removeListener(this.__P_108_1,"pointermove",this._onPointermove,this);this.__P_108_0.removeListener(this.__P_108_1,"pointerup",this._onPointerup,this,!0);this.__P_108_0.removeListener(this.__P_108_1,"keydown",this._onKeyDown,this,!0);this.__P_108_0.removeListener(this.__P_108_1,"keyup",this._onKeyUp,this,!0);this.__P_108_0.removeListener(this.__P_108_1,"keypress",this._onKeyPress,this,!0);this.__P_108_0.removeListener(this.__P_108_1,"roll",this._onRoll,this,!0);var e={},t=this;this.__P_108_4&&qx.event.Utils.then(e,(function(){return t.__P_108_17("dragend",t.__P_108_4,t.__P_108_3,!1)}));return qx.event.Utils.then(e,(function(){t.__P_108_12=!1;t.__P_108_3=null;if(t.__P_108_14){t.__P_108_14.removeState("drag");t.__P_108_14=null}t.__P_108_4=null;t.__P_108_11=!1;t.__P_108_15=null;t.__P_108_2()}))},_onLongtap(e){if("touch"==e.getPointerType()){this.__P_108_0.addListener(this.__P_108_1,"roll",this._onRoll,this,!0);return this._start(e)}},_start(e){var t=-1!==qx.event.handler.DragDrop.ALLOWED_BUTTONS.indexOf(e.getButton());if(!e.isPrimary()||!t)return!1;var r=this.__P_108_15?this.__P_108_15.target:e.getTarget(),i=this.__P_108_18(r);if(i){this.__P_108_4=i;for(var n=qx.ui.core.Widget.getWidgetByElement(this.__P_108_15.original);n&&n.isAnonymous();)n=n.getLayoutParent();if(n){this.__P_108_14=n;n.addState("drag")}var o=this,a={};qx.event.Utils.catch((function(){o.__P_108_11=!1}));qx.event.Utils.then(a,(function(){return o.__P_108_17("dragstart",o.__P_108_4,o.__P_108_3,!0,e)}));return qx.event.Utils.then(a,(function(e){if(e){o.__P_108_0.addListener(o.__P_108_1,"keydown",o._onKeyDown,o,!0);o.__P_108_0.addListener(o.__P_108_1,"keyup",o._onKeyUp,o,!0);o.__P_108_0.addListener(o.__P_108_1,"keypress",o._onKeyPress,o,!0);o.__P_108_11=!0}}))}},_onPointerdown(e){if(e.isPrimary()){this.__P_108_15={target:e.getTarget(),original:e.getOriginalTarget(),left:e.getDocumentLeft(),top:e.getDocumentTop()};this.__P_108_0.addListener(this.__P_108_1,"pointermove",this._onPointermove,this);this.__P_108_0.addListener(this.__P_108_1,"pointerup",this._onPointerup,this,!0)}},_onPointermove(e){if(e.isPrimary()){var t=this,r={};qx.event.Utils.catch((function(){return t.clearSession()}));if(!t.__P_108_11&&"mouse"==e.getPointerType()){var i=t._getDelta(e),n=qx.event.handler.DragDrop.MIN_DRAG_DISTANCE;i&&(Math.abs(i.x)>n||Math.abs(i.y)>n)&&qx.event.Utils.then(r,(function(){return t._start(e)}))}return qx.event.Utils.then(r,(function(){if(t.__P_108_11){var r={};qx.event.Utils.then(r,(function(){return t.__P_108_17("drag",t.__P_108_4,t.__P_108_3,!0,e)}));qx.event.Utils.then(r,(function(r){r||this.clearSession();var i=e.getTarget();t.__P_108_15.target===i&&(i=e.getNativeEvent().view.document.elementFromPoint(e.getDocumentLeft(),e.getDocumentTop()));var n=t.getCursor();n||(n=qx.ui.core.DragDropCursor.getInstance());var o=n.getContentElement().getDomElement();if(o&&(i===o||o.contains(i))){var a=qx.bom.element.Style.get(o,"display");qx.bom.element.Style.set(o,"display","none");i=e.getNativeEvent().view.document.elementFromPoint(e.getDocumentLeft(),e.getDocumentTop());qx.bom.element.Style.set(o,"display",a)}if(i!==o){var s=t.__P_108_19(i);if(s&&s!=t.__P_108_3){var l=t.__P_108_3;t.__P_108_12=!0;t.__P_108_3=s;var u={};qx.event.Utils.catch(u,(function(){t.__P_108_3=null;t.__P_108_12=!1}));l&&qx.event.Utils.then(u,(function(){return t.__P_108_17("dragleave",l,t.__P_108_4,!1,e)}));qx.event.Utils.then(u,(function(){return t.__P_108_17("dragover",s,t.__P_108_4,!0,e)}));return qx.event.Utils.then(u,(function(e){t.__P_108_12=e}))}if(!s&&t.__P_108_3){u={};qx.event.Utils.then(u,(function(){return t.__P_108_17("dragleave",t.__P_108_3,t.__P_108_4,!1,e)}));return qx.event.Utils.then(u,(function(){t.__P_108_3=null;t.__P_108_12=!1;return t.__P_108_16()}))}}}));return qx.event.Utils.then(r,(function(){var r=t.__P_108_7;r.Control=e.isCtrlPressed();r.Shift=e.isShiftPressed();r.Alt=e.isAltPressed();return t.__P_108_16()}))}}))}},_getDelta(e){return this.__P_108_15?{x:e.getDocumentLeft()-this.__P_108_15.left,y:e.getDocumentTop()-this.__P_108_15.top}:null},_onPointerup(e){if(e.isPrimary()){var t={},r=this;this.__P_108_12&&this.__P_108_13&&qx.event.Utils.then(t,(function(){return r.__P_108_17("drop",r.__P_108_3,r.__P_108_4,!1,e)}));return qx.event.Utils.then(t,(function(){e.getTarget()==r.__P_108_4&&e.stopPropagation();return r.clearSession()}))}},_onRoll(e){e.stop()},_onWindowBlur(e){return this.clearSession()},_onKeyDown(e){var t=e.getKeyIdentifier();switch(t){case"Alt":case"Control":case"Shift":if(!this.__P_108_7[t]){this.__P_108_7[t]=!0;return this.__P_108_16()}}},_onKeyUp(e){var t=e.getKeyIdentifier();switch(t){case"Alt":case"Control":case"Shift":if(this.__P_108_7[t]){this.__P_108_7[t]=!1;return this.__P_108_16()}}},_onKeyPress(e){if("Escape"===e.getKeyIdentifier())return this.clearSession()}},destruct(){qx.event.Registration.removeListener(window,"blur",this._onWindowBlur,this);this.__P_108_4=this.__P_108_3=this.__P_108_0=this.__P_108_1=this.__P_108_5=this.__P_108_6=this.__P_108_7=this.__P_108_8=null},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.DragDrop.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{},"qx.core.Property":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.PropertyUtil",{statics:{getProperties:e=>e.$$properties,getAllProperties(e){for(var t={},r=e;r!=qx.core.Object;){var i=this.getProperties(r);for(var n in i)t[n]=i[n];r=r.superclass}return t},getUserValue:(e,t)=>e["$$user_"+t],setUserValue(e,t,r){e["$$user_"+t]=r},deleteUserValue(e,t){delete e["$$user_"+t]},getInitValue:(e,t)=>e["$$init_"+t],setInitValue(e,t,r){e["$$init_"+t]=r},deleteInitValue(e,t){delete e["$$init_"+t]},getThemeValue:(e,t)=>e["$$theme_"+t],setThemeValue(e,t,r){e["$$theme_"+t]=r},deleteThemeValue(e,t){delete e["$$theme_"+t]},setThemed(e,t,r){e[qx.core.Property.$$method.setThemed[t]](r)},resetThemed(e,t){e[qx.core.Property.$$method.resetThemed[t]]()}}});qx.util.PropertyUtil.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MRemoteChildrenHandling",{members:{__P_123_0(e,t,r,i){var n=this.getChildrenContainer();n===this&&(e="_"+e);return n[e](t,r,i)},getChildren(){return this.__P_123_0("getChildren")},hasChildren(){return this.__P_123_0("hasChildren")},add(e,t){return this.__P_123_0("add",e,t)},remove(e){return this.__P_123_0("remove",e)},removeAll(){return this.__P_123_0("removeAll")},indexOf(e){return this.__P_123_0("indexOf",e)},addAt(e,t,r){this.__P_123_0("addAt",e,t,r)},addBefore(e,t,r){this.__P_123_0("addBefore",e,t,r)},addAfter(e,t,r){this.__P_123_0("addAfter",e,t,r)},removeAt(e){return this.__P_123_0("removeAt",e)}}});qx.ui.core.MRemoteChildrenHandling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MPlacement":{require:!0},"qx.ui.core.MRemoteChildrenHandling":{require:!0},"qx.ui.menu.Layout":{construct:!0},"qx.ui.core.Blocker":{construct:!0},"qx.ui.menu.Separator":{},"qx.ui.menu.Manager":{},"qx.ui.menu.AbstractButton":{},"qx.ui.menu.MenuSlideBar":{},"qx.ui.layout.Grow":{},"qx.lang.Array":{},"qx.ui.core.queue.Widget":{},"qx.core.ObjectRegistry":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.menu.Menu",{extend:qx.ui.core.Widget,include:[qx.ui.core.MPlacement,qx.ui.core.MRemoteChildrenHandling],construct(){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.menu.Layout);var e=this.getApplicationRoot();e.add(this);const t=this.getContentElement();t.setAttribute("role","menu");t.setAttribute("id","menu-"+this.toHashCode());this.addListener("pointerover",this._onPointerOver);this.addListener("pointerout",this._onPointerOut);this.addListener("resize",this._onResize,this);e.addListener("resize",this._onResize,this);this._blocker=new qx.ui.core.Blocker(e);this.initVisibility();this.initKeepFocus();this.initKeepActive()},properties:{appearance:{refine:!0,init:"menu"},allowGrowX:{refine:!0,init:!1},allowGrowY:{refine:!0,init:!1},visibility:{refine:!0,init:"excluded"},keepFocus:{refine:!0,init:!0},keepActive:{refine:!0,init:!0},spacingX:{check:"Integer",apply:"_applySpacingX",init:0,themeable:!0},spacingY:{check:"Integer",apply:"_applySpacingY",init:0,themeable:!0},iconColumnWidth:{check:"Integer",init:0,themeable:!0,apply:"_applyIconColumnWidth"},arrowColumnWidth:{check:"Integer",init:0,themeable:!0,apply:"_applyArrowColumnWidth"},blockerColor:{check:"Color",init:null,nullable:!0,apply:"_applyBlockerColor",themeable:!0},blockerOpacity:{check:"Number",init:1,apply:"_applyBlockerOpacity",themeable:!0},selectedButton:{check:"qx.ui.core.Widget",nullable:!0,apply:"_applySelectedButton"},openedButton:{check:"qx.ui.core.Widget",nullable:!0,apply:"_applyOpenedButton"},opener:{check:"qx.ui.core.Widget",nullable:!0,apply:"_applyOpener"},openInterval:{check:"Integer",themeable:!0,init:250},closeInterval:{check:"Integer",themeable:!0,init:250},blockBackground:{check:"Boolean",themeable:!0,init:!1}},members:{__P_110_0:null,__P_110_1:null,_blocker:null,open(){if(null!=this.getOpener()){if(this.placeToWidget(this.getOpener(),!0)){this.__P_110_2();this.show();this._placementTarget=this.getOpener()}else this.warn("Could not open menu instance because 'opener' widget is not visible")}else this.warn("The menu instance needs a configured 'opener' widget!")},openAtPointer(e){this.placeToPointer(e);this.__P_110_2();this.show();this._placementTarget={left:e.getDocumentLeft(),top:e.getDocumentTop()}},openAtPoint(e){this.placeToPoint(e);this.__P_110_2();this.show();this._placementTarget=e},addSeparator(){this.add(new qx.ui.menu.Separator)},getColumnSizes(){return this._getMenuLayout().getColumnSizes()},getSelectables(){for(var e=[],t=this.getChildren(),r=0;rt?this._assertSlideBar((function(){this.setHeight(t-r)})):this.setHeight(null)}else this.addListenerOnce("resize",this.__P_110_2,this)},_assertSlideBar(e){if(this.hasChildControl("slidebar"))return e.call(this);this.__P_110_1=e;qx.ui.core.queue.Widget.add(this)},syncWidget(e){this.getChildControl("slidebar");if(this.__P_110_1){this.__P_110_1.call(this);delete this.__P_110_1}},_afterAddChild(e){if(e instanceof qx.ui.menu.AbstractButton){const t=e.getContentElement();t.setAttribute("id","menu-item-"+e.toHashCode());t.setAttribute("role","menuitem")}},_onResize(){if(this.isVisible()){var e=this._placementTarget;if(!e)return;if(e instanceof qx.ui.core.Widget)this.placeToWidget(e,!0);else{if(void 0===e.top)throw new Error("Unknown target: "+e);this.placeToPoint(e)}this.__P_110_2()}},_onPointerOver(e){var t=qx.ui.menu.Manager.getInstance();t.cancelClose(this);var r=e.getTarget();if(r.isEnabled()&&r instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(r);var i=r.getMenu&&r.getMenu();if(i){i.setOpener(r);t.scheduleOpen(i);this.__P_110_0=i}else{var n=this.getOpenedButton();n&&t.scheduleClose(n.getMenu());if(this.__P_110_0){t.cancelOpen(this.__P_110_0);this.__P_110_0=null}}}else this.getOpenedButton()||this.resetSelectedButton()},_onPointerOut(e){var t=qx.ui.menu.Manager.getInstance();if(!qx.ui.core.Widget.contains(this,e.getRelatedTarget())){var r=this.getOpenedButton();r?this.setSelectedButton(r):this.resetSelectedButton();r&&t.cancelClose(r.getMenu());this.__P_110_0&&t.cancelOpen(this.__P_110_0)}},__P_110_4(){let e,t=this.getParentMenu();if(!t)return this.getOpener();for(;t;){e=t.getOpener();t=t.getParentMenu()}return e}},destruct(){qx.core.ObjectRegistry.inShutDown||qx.ui.menu.Manager.getInstance().remove(this);this.getApplicationRoot().removeListener("resize",this._onResize,this);this._placementTarget=null;this._disposeObjects("_blocker")}});qx.ui.menu.Menu.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.ObjectRegistry":{},"qx.core.Object":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.type.BaseString",{extend:Object,construct(e){e=e||"";this.__P_203_0=e;this.length=e.length},members:{$$isString:!0,length:0,__P_203_0:null,toString(){return this.__P_203_0},charAt:null,valueOf:null,charCodeAt:null,concat:null,indexOf:null,lastIndexOf:null,match:null,replace:null,search:null,slice:null,split:null,substr:null,substring:null,toLowerCase:null,toUpperCase:null,toHashCode(){return qx.core.ObjectRegistry.toHashCode(this)},toLocaleLowerCase:null,toLocaleUpperCase:null,base(e,t){return qx.core.Object.prototype.base.apply(this,arguments)}},defer(e,t){var r=["charAt","charCodeAt","concat","indexOf","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","toLocaleLowerCase","toLocaleUpperCase","trim","codePointAt"];t.valueOf=t.toString;null==new e("").valueOf()&&delete t.valueOf;for(var i=0,n=r.length;i=3&&(parseInt(t[1])<4||4===parseInt(t[1])&&parseInt(t[2])<4)){var r=/(\w{2})-(\w{2})/i.exec(navigator.userAgent);r&&(e=r[0])}}return e.toLowerCase()}},defer(e){qx.core.Environment.add("locale",e.getLocale);qx.core.Environment.add("locale.variant",e.getVariant);qx.core.Environment.add("locale.default","C")}});qx.bom.client.Locale.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.dispatch.Direct":{require:!0},"qx.locale.LocalizedString":{require:!0},"qx.bom.client.Locale":{require:!0},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.lang.Array":{},"qx.lang.String":{}},environment:{provided:[],required:{locale:{className:"qx.bom.client.Locale"},"locale.default":{className:"qx.bom.client.Locale",load:!0},"locale.variant":{className:"qx.bom.client.Locale"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.locale.Manager",{type:"singleton",extend:qx.core.Object,construct(){qx.core.Object.constructor.call(this);this.__P_114_0=qx.$$translations||{};this.__P_114_1=qx.$$locales||{};this.initLocale();this.__P_114_2=this.getLocale()},statics:{tr(e,t){var r=qx.lang.Array.fromArguments(arguments,1);return qx.locale.Manager.getInstance().translate(e,r)},trn(e,t,r,i){var n=qx.lang.Array.fromArguments(arguments);n.splice(0,3);return 1!=r?qx.locale.Manager.getInstance().translate(t,n):qx.locale.Manager.getInstance().translate(e,n)},trc(e,t,r){var i=qx.lang.Array.fromArguments(arguments);i.splice(0,2);return qx.locale.Manager.getInstance().translate(t,i)},trnc(e,t,r,i,n){var o=qx.lang.Array.fromArguments(arguments);o.splice(0,4);return 1!=i?qx.locale.Manager.getInstance().translate(r,o):qx.locale.Manager.getInstance().translate(t,o)},marktr:e=>e},properties:{locale:{check:"String",apply:"_applyLocale",event:"changeLocale",init:function(){var e=qx.core.Environment.get("locale");if(!e||""===e)return qx.core.Environment.get("locale.default");var t=qx.core.Environment.get("locale.variant");""!==t&&(e+="_"+t);return e}()}},members:{__P_114_3:qx.core.Environment.get("locale.default"),__P_114_4:null,__P_114_5:null,__P_114_0:null,__P_114_1:null,__P_114_2:null,getLanguage(){return this.__P_114_5},getTerritory(){return this.getLocale().split("_")[1]||""},getAvailableLocales(e){var t=[];for(var r in this.__P_114_1)if(r!=this.__P_114_3){if(null===this.__P_114_1[r]&&!e)continue;t.push(r)}return t},__P_114_6(e){if(null==e)return null;var t=e.indexOf("_");return-1==t?e:e.substring(0,t)},_applyLocale(e,t){this.__P_114_4=e;this.__P_114_5=this.__P_114_6(e)},addTranslation(e,t){var r=this.__P_114_0;if(r[e])for(var i in t)r[e][i]=t[i];else r[e]=t},addLocale(e,t){var r=this.__P_114_1;if(r[e])for(var i in t)r[e][i]=t[i];else r[e]=t},translate(e,t,r){var i=this.__P_114_0;return this.__P_114_7(i,e,t,r)},localize(e,t,r){var i=this.__P_114_1;return this.__P_114_7(i,e,t,r)},__P_114_7(e,t,r,i){var n;if(!e)return t;if(i)var o=this.__P_114_6(i);else{i=this.__P_114_4;o=this.__P_114_5}!n&&e[i]&&(n=e[i][t]);!n&&e[o]&&(n=e[o][t]);!n&&e[this.__P_114_3]&&(n=e[this.__P_114_3][t]);n||(n=t);if(r.length>0){for(var a=[],s=0;sr?r:t)+"px");else{var i=qx.util.AliasManager.getInstance().resolve(this.getSource()),n=i.split("/"),o=this.__P_122_20(i),a=parseInt(n[2]||o.getSize());e.setStyle("fontSize",a+"px")}},_applyDimension(){qx.ui.basic.Image.superclass.prototype._applyDimension.call(this);if(this.getSource()&&qx.lang.String.startsWith(this.getSource(),"@")){var e=this.getContentElement();if(e){var t=this.getSizeHint(),r=this.getWidth()||t.width||40,i=this.getHeight()||t.height||40;this.__P_122_22(e,r,i)}}else this.__P_122_21()},__P_122_17(e,t){var r=qx.io.ImageLoader;this.__P_122_8(e,t);var i=r.getWidth(t),n=r.getHeight(t);this.__P_122_21(i,n)},__P_122_18(e,t){var r=qx.io.ImageLoader;r.isFailed(t)?this.__P_122_12(e):r.load(t,this.__P_122_23,this)},__P_122_12(e){null!=e&&(e instanceof qx.html.Image?e.resetSource():e.resetValue())},__P_122_20(e){var t=qx.theme.manager.Font.getInstance().resolve(e.match(/@([^/]+)/)[1]);if("string"==typeof t)throw new Error(`Cannot find font in virtual image source: '${e}'`);return t},__P_122_8(e,t){if(t&&qx.lang.String.startsWith(t,"@")){var r=qx.util.ResourceManager.getInstance(),i=this.__P_122_20(t),n=qx.lang.Object.clone(i.getStyles());delete n.color;e.setStyles(n);e.setStyle("font");e.setStyle("display","table-cell");e.setStyle("verticalAlign","middle");e.setStyle("textAlign","center");this.__P_122_22(e,this.__P_122_1,this.__P_122_2);var o=r.fromFontUriToCharCode(t);e.setValue(String.fromCharCode(o))}else{if("div"==e.getNodeName()){var a=qx.theme.manager.Decoration.getInstance().resolve(this.getDecorator());if(a){var s=a.getStartColor()&&a.getEndColor(),l=a.getBackgroundImage();if(s||l){var u=this.getScale()?"scale":"no-repeat",c=qx.bom.element.Decoration.getAttributes(t,u),h=a.getStyles(!0),d={backgroundImage:c.style.backgroundImage,backgroundPosition:c.style.backgroundPosition||"0 0",backgroundRepeat:c.style.backgroundRepeat||"no-repeat",position:"absolute"};if(l){d.backgroundPosition+=","+h["background-position"]||"0 0";d.backgroundRepeat+=", "+a.getBackgroundRepeat()}if(s){d.backgroundPosition+=", 0 0";d.backgroundRepeat+=", no-repeat"}d.backgroundImage+=","+(h["background-image"]||h.background);e.setStyles(d);return}}else e.setSource&&e.setSource(null)}if(e.setSource){e.setSource(t);e.setStyle("position","absolute")}}},__P_122_23(e,t){if(!0!==this.$$disposed)if(e===qx.util.AliasManager.getInstance().resolve(this.getSource())){if(t.failed){this.warn("Image could not be loaded: "+e);this.fireEvent("loadingFailed")}else{if(t.aborted){this.fireEvent("aborted");return}this.fireEvent("loaded")}this.__P_122_17(this.__P_122_14(),e)}else this.fireEvent("aborted")},__P_122_21(e,t){void 0===e&&(e=this.__P_122_1);void 0===t&&(t=this.__P_122_2);this._recalc(e,t)&&qx.ui.core.queue.Layout.add(this)},_recalc(e,t){var r=this.getMaxWidth(),i=this.getMaxHeight(),n=this.getMinWidth(),o=this.getMinHeight(),a=e,s=t,l=t/e;switch(this.getForceRatio()){case"height":null!==i&&s>i?a=(s=i)/l:sr?s=(a=r)*l:ar?s=(a=r)*l:ai&&(a=(s=i)/l)}a=Math.round(a);s=Math.round(s);if(a!=this.__P_122_1||s!=this.__P_122_2){this.__P_122_1=a;this.__P_122_2=s;return!0}return!1}},destruct(){for(var e in this.__P_122_0)this.__P_122_0.hasOwnProperty(e)&&this.__P_122_0[e].disconnectObject(this);delete this.__P_122_4;this.__P_122_5&&delete this.__P_122_5;this._disposeMap("__P_122_0")}});qx.ui.basic.Image.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.basic.Image":{construct:!0,require:!0},"qx.ui.core.MPlacement":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.DragDropCursor",{extend:qx.ui.basic.Image,include:qx.ui.core.MPlacement,type:"singleton",construct(){qx.ui.basic.Image.constructor.call(this);this.setZIndex(1e8);this.setDomMove(!0);this.getApplicationRoot().add(this,{left:-1e3,top:-1e3})},properties:{appearance:{refine:!0,init:"dragdrop-cursor"},action:{check:["alias","copy","move"],apply:"_applyAction",nullable:!0}},members:{_applyAction(e,t){t&&this.removeState(t);e&&this.addState(e)}}});qx.ui.core.DragDropCursor.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",construct:!0,require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.theme.manager.Meta":{construct:!0},"qx.theme.manager.Color":{},"qx.event.Registration":{},"qx.event.handler.Focus":{},"qx.ui.core.Widget":{},"qx.html.Blocker":{},"qx.event.type.Event":{},"qx.ui.core.FocusHandler":{}},environment:{provided:[],required:{"qx.dyntheme":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.Blocker",{extend:qx.core.Object,events:{blocked:"qx.event.type.Event",unblocked:"qx.event.type.Event"},construct(e){qx.core.Object.constructor.call(this);this._widget=e;e.addListener("resize",this.__P_156_0,this);e.addListener("move",this.__P_156_0,this);e.addListener("disappear",this.__P_156_1,this);if(qx.Class.isDefined("qx.ui.root.Abstract")&&e instanceof qx.ui.root.Abstract){this._isRoot=!0;this.setKeepBlockerActive(!0)}qx.theme.manager.Meta.getInstance().addListener("changeTheme",this._onChangeTheme,this);this.__P_156_2=[];this.__P_156_3=[]},properties:{color:{check:"Color",init:null,nullable:!0,apply:"_applyColor",themeable:!0},opacity:{check:"Number",init:1,apply:"_applyOpacity",themeable:!0},keepBlockerActive:{check:"Boolean",init:!1}},members:{__P_156_4:null,__P_156_5:0,__P_156_2:null,__P_156_3:null,__P_156_6:null,_widget:null,_isRoot:!1,__P_156_7:null,__P_156_0(e){var t=e.getData();this.isBlocked()&&this._updateBlockerBounds(t)},__P_156_8(){this._updateBlockerBounds(this._widget.getBounds());this._widget.isRootWidget()?this._widget.getContentElement().add(this.getBlockerElement()):this._widget.getLayoutParent().getContentElement().add(this.getBlockerElement())},__P_156_1(){if(this.isBlocked()){this.getBlockerElement().getParent().remove(this.getBlockerElement());this._widget.addListenerOnce("appear",this.__P_156_8,this)}},_updateBlockerBounds(e){this.getBlockerElement().setStyles({width:e.width+"px",height:e.height+"px",left:e.left+"px",top:e.top+"px"})},_applyColor(e,t){var r=qx.theme.manager.Color.getInstance().resolve(e);this.__P_156_9("backgroundColor",r)},_applyOpacity(e,t){this.__P_156_9("opacity",e)},_onChangeTheme:qx.core.Environment.select("qx.dyntheme",{true(){this._applyColor(this.getColor())},false:null}),__P_156_9(e,t){var r=[];this.__P_156_4&&r.push(this.__P_156_4);for(var i=0;i0&&(e=this.__P_156_3.pop())&&!e.isDisposed()&&e.isFocusable()&&e.focus();this.__P_156_2.length>0&&(e=this.__P_156_2.pop())&&!e.isDisposed()&&e.activate()},__P_156_10(){return new qx.html.Blocker(this.getColor(),this.getOpacity())},getBlockerElement(e){if(!this.__P_156_4){this.__P_156_4=this.__P_156_10();this.__P_156_4.setStyle("zIndex",15);e||(e=this._isRoot?this._widget:this._widget.getLayoutParent());e.getContentElement().add(this.__P_156_4);this.__P_156_4.exclude()}return this.__P_156_4},block(){this._block()},_block(e,t){if(this._isRoot||this._widget.getLayoutParent()){var r;r=this._isRoot||t?this._widget:this._widget.getLayoutParent();var i=this.getBlockerElement(r);null!=e&&i.setStyle("zIndex",e);this.__P_156_5++;if(this.__P_156_5<2){this._backupActiveWidget();var n=this._widget.getBounds();n&&this._updateBlockerBounds(n);i.include();t||i.activate();i.addListener("deactivate",this.__P_156_11,this);i.addListener("keypress",this.__P_156_12,this);i.addListener("keydown",this.__P_156_12,this);i.addListener("keyup",this.__P_156_12,this);this.fireEvent("blocked",qx.event.type.Event)}}else this.__P_156_7||(this.__P_156_7=this._widget.addListenerOnce("appear",this._block.bind(this,e)))},isBlocked(){return this.__P_156_5>0},unblock(){if(this.__P_156_7){this._widget.removeListenerById(this.__P_156_7);this.__P_156_7=null}if(this.isBlocked()){this.__P_156_5--;if(this.__P_156_5<1){this.__P_156_13();this.__P_156_5=0}}},forceUnblock(){if(this.__P_156_7){this._widget.removeListenerById(this.__P_156_7);this.__P_156_7=null}if(this.isBlocked()){this.__P_156_5=0;this.__P_156_13()}},__P_156_13(){this._restoreActiveWidget();var e=this.getBlockerElement();e.removeListener("deactivate",this.__P_156_11,this);e.removeListener("keypress",this.__P_156_12,this);e.removeListener("keydown",this.__P_156_12,this);e.removeListener("keyup",this.__P_156_12,this);e.exclude();this.fireEvent("unblocked",qx.event.type.Event)},blockContent(e){this._block(e,!0)},__P_156_12(e){"Tab"==e.getKeyIdentifier()&&e.stop()},__P_156_11(){this.getKeepBlockerActive()&&!qx.ui.core.FocusHandler.getInstance().isFocusRoot(this._widget)&&this.getBlockerElement().activate()}},destruct(){qx.theme.manager.Meta.getInstance().removeListener("changeTheme",this._onChangeTheme,this);this._widget.removeListener("resize",this.__P_156_0,this);this._widget.removeListener("move",this.__P_156_0,this);this._widget.removeListener("appear",this.__P_156_8,this);this._widget.removeListener("disappear",this.__P_156_1,this);this.__P_156_7&&this._widget.removeListenerById(this.__P_156_7);this._disposeObjects("__P_156_4","__P_156_6");this.__P_156_2=this.__P_156_3=this._widget=null}});qx.ui.core.Blocker.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.ui.core.LayoutItem":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Abstract",{type:"abstract",extend:qx.core.Object,members:{__P_79_0:null,_invalidChildrenCache:null,__P_79_1:null,invalidateLayoutCache(){this.__P_79_0=null},renderLayout(e,t,r){this.warn("Missing renderLayout() implementation!")},getSizeHint(){return this.__P_79_0?this.__P_79_0:this.__P_79_0=this._computeSizeHint()},hasHeightForWidth:()=>!1,getHeightForWidth(e){this.warn("Missing getHeightForWidth() implementation!");return null},_computeSizeHint:()=>null,invalidateChildrenCache(){this._invalidChildrenCache=!0},verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true(e,t,r){},false:null}),_clearSeparators(){var e=this.__P_79_1;e instanceof qx.ui.core.LayoutItem&&e.clearSeparators()},_renderSeparator(e,t){this.__P_79_1.renderSeparator(e,t)},connectToWidget(e){if(e&&this.__P_79_1)throw new Error("It is not possible to manually set the connected widget.");this.__P_79_1=e;this.invalidateChildrenCache()},_getWidget(){return this.__P_79_1},_applyLayoutChange(){this.__P_79_1&&this.__P_79_1.scheduleLayoutUpdate()},_getLayoutChildren(){return this.__P_79_1.getLayoutChildren()}},destruct(){this.__P_79_1=this.__P_79_0=null}});qx.ui.layout.Abstract.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0},"qx.ui.layout.Util":{},"qx.lang.Type":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Canvas",{extend:qx.ui.layout.Abstract,properties:{desktop:{check:"Boolean",init:!1}},members:{verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true(e,t,r){this.assert(1=={top:1,left:1,bottom:1,right:1,width:1,height:1,edge:1}[t],"The property '"+t+"' is not supported by the Canvas layout!");"width"==t||"height"==t?this.assertMatch(r,qx.ui.layout.Util.PERCENT_VALUE):"number"==typeof r?this.assertInteger(r):qx.lang.Type.isString(r)?this.assertMatch(r,qx.ui.layout.Util.PERCENT_VALUE):this.fail("Bad format of layout property '"+t+"': "+r+". The value must be either an integer or an percent string.")},false:null}),renderLayout(e,t,r){for(var i,n,o,a,s,l,u,c,h,d,f,_,p,m=this._getLayoutChildren(),g=0,v=m.length;gn.maxWidth&&(c=n.maxWidth);a+=p}else{null==(c=o.width)?c=n.width:(c=Math.round(parseFloat(c)*e/100))n.maxWidth&&(c=n.maxWidth);if(null==a&&null==l)switch(i.getAlignX()){case"center":a=Math.round((e-n.width)/2-f);break;case"right":l=0}null!=l?a=e-c-l-f:null==a?a=p:a+=p}if(null!=s&&null!=u){(h=t-s-u-d-_)n.maxHeight&&(h=n.maxHeight);s+=d}else{null==(h=o.height)?h=n.height:(h=Math.round(parseFloat(h)*t/100))n.maxHeight&&(h=n.maxHeight);if(null==s&&null==u)switch(i.getAlignY()){case"middle":s=Math.round((t-n.height)/2-_);break;case"bottom":u=0}null!=u?s=t-h-u-_:null==s?s=d:s+=d}a+=r.left;s+=r.top;i.renderLayout(a,s,c,h)}},_computeSizeHint(){for(var e,t,r,i,n,o,a,s,l,u,c,h=0,d=0,f=0,_=0,p=this._getLayoutChildren(),m=this.isDesktop(),g=0,v=p.length;g{var t=e.getData()[0].exception,r=e.getData()[0].test;this.error("Test '"+r.getFullName()+"' failed: "+t.message+" - "+t.getComment());t.getStackTrace&&this.error("Stack trace: "+t.getStackTrace().join("\n"))}));e.addListener("error",(e=>{var t=e.getData()[0].exception,r=e.getData()[0].test;this.error("The test '"+r.getFullName()+"' had an error: "+t,t)}));this.getSuite().run(e)},getTestDescriptions(){for(var e=[],t=this.getSuite().getTestClasses(),r=0;r{var r=[{exception:t.getData(),test:e}];this.fireDataEvent("failure",r)}));if(!i||this._timeout[e.getFullName()]){this.fireDataEvent("startTest",e);if(this._timeout[e.getFullName()]){if("failed"!==this._timeout[e.getFullName()]){this._timeout[e.getFullName()].stop();this._timeout[e.getFullName()].dispose()}delete this._timeout[e.getFullName()]}else try{e.setUp()}catch(t){if(t instanceof qx.dev.unit.AsyncWrapper){if(this._timeout[e.getFullName()])return;if(t.getDelay()){var o=this,a=function(){throw new qx.core.AssertionError("Asynchronous Test Error in setUp","Timeout of "+t.getDelay()+" ms reached before resume() was called.")},s=t.getDeferredFunction()?t.getDeferredFunction():a,l=t.getContext()?t.getContext():window;this._timeout[e.getFullName()]=qx.event.Timer.once((function(){this.run(e,s,l)}),o,t.getDelay());this.fireDataEvent("wait",e)}return}try{this.tearDown(e)}catch(e){}if("qx.dev.unit.RequirementError"==t.classname){this._createError("skip",[t],e);this.fireDataEvent("endTest",e)}else{t instanceof qx.type.BaseError&&t.message==qx.type.BaseError.DEFAULTMESSAGE?t.message="setUp failed":t.message="setUp failed: "+t.message;this._createError("error",[t],e);this.fireDataEvent("endTest",e)}return}var u;try{u=t.call(r||window)}catch(t){var c=!0;if(t instanceof qx.dev.unit.AsyncWrapper){if(this._timeout[e.getFullName()])return;if(t.getDelay()){o=this,a=function(){throw new qx.core.AssertionError("Asynchronous Test Error","Timeout of "+t.getDelay()+" ms reached before resume() was called.")},s=t.getDeferredFunction()?t.getDeferredFunction():a,l=t.getContext()?t.getContext():window;this._timeout[e.getFullName()]=qx.event.Timer.once((function(){this.run(e,s,l)}),o,t.getDelay());this.fireDataEvent("wait",e)}}else if(t instanceof qx.dev.unit.MeasurementResult){c=!1;this._createError("endMeasurement",[t],e)}else{try{this.tearDown(e)}catch(e){}if("qx.core.AssertionError"==t.classname){this._createError("failure",[t],e);this.fireDataEvent("endTest",e)}else if("qx.dev.unit.RequirementError"==t.classname){this._createError("skip",[t],e);this.fireDataEvent("endTest",e)}else{this._createError("error",[t],e);this.fireDataEvent("endTest",e)}}}if(!c)try{this.tearDown(e);this.fireDataEvent("endTest",e)}catch(t){t instanceof qx.type.BaseError&&t.message==qx.type.BaseError.DEFAULTMESSAGE?t.message="tearDown failed":t.message="tearDown failed: "+t.message;this._createError("error",[t],e);this.fireDataEvent("endTest",e)}return u}this._timeout[e.getFullName()]="failed";var h=new qx.type.BaseError("Error in asynchronous test","resume() called before wait()");this._createError("failure",[h],e);this.fireDataEvent("endTest",e)},_createError(e,t,r){for(var i=[],n=0,o=t.length;n0&&([t,r]=e);null===t&&(t=void 0);null===r&&(r=void 0);return{row:t,column:r}},fromId(e){let t=e.indexOf(":"),r=parseInt(e.substring(0,t),10),i=parseInt(e.substring(t+1),10);return new qxl.datagrid.source.Position(r,i)}}});qxl.datagrid.source.Position.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qxl.datagrid.source.Position":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.source.Range",{extend:qx.core.Object,construct(e,t){qx.core.Object.constructor.call(this);this.setStart(new qxl.datagrid.source.Position(e));this.setEnd(new qxl.datagrid.source.Position(t))},properties:{start:{check:"qxl.datagrid.source.Position",transform:"__P_18_0",event:"changeStart",apply:"__P_18_1"},end:{check:"qxl.datagrid.source.Position",transform:"__P_18_0",event:"changeEnd",apply:"__P_18_1"}},events:{change:"qx.event.type.Event"},members:{clone(){let e=new qxl.datagrid.source.Range;e.set({start:this.getStart(),end:this.getEnd()});return e},contains(e){let t=this.getStart().getRow(),r=this.getEnd().getRow(),i=this.getStart().getColumn(),n=this.getEnd().getColumn(),o=e.getRow(),a=e.getColumn();return o>=t&&o<=r&&a>=i&&a<=n},eclipses(e){return this.contains(e.getStart())&&this.contains(e.getEnd())},iterator(){let e=this.getStart().getRow(),t=this.getEnd().getRow(),r=this.getStart().getColumn(),i=this.getEnd().getColumn(),n=new qxl.datagrid.source.Position(-1,-1);return{next(){if(-1==n.getRow()){n.setRow(e);n.setColumn(r);return{value:n}}if(n.getColumn()this.fireEvent("change")))}},defer(e){e.prototype[Symbol.iterator]=function(){return this.iterator()}}});qxl.datagrid.source.Range.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.util.Labels",{extend:qx.core.Object,statics:{getColumnLetters(e){e++;let t="";for(;e>0;){let r=(e-1)%26;t=String.fromCharCode(r+65)+t;e=(e-r-1)/26}return t}}});qxl.datagrid.util.Labels.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qxl.datagrid.column.IColumns",{members:{getColumn(e){},getLength(){},indexOf(e){}}});qxl.datagrid.column.IColumns.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qxl.datagrid.column.IColumns":{require:!0},"qx.lang.Array":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.Columns",{extend:qx.core.Object,implement:[qxl.datagrid.column.IColumns],construct(){qx.core.Object.constructor.call(this);this._columns=[]},events:{change:"qx.event.type.Data"},members:{_columns:null,isValid:e=>!0,add(e){if(!this.isValid(e))throw new Error(`Cannot add column ${e} because it is not allowed in this list`);let t=!!qx.lang.Array.remove(this._columns,e);this._columns.push(e);this.fireDataEvent("change",{type:"add",column:e,moved:t})},addAll(e){for(let t of e)this.add(t)},remove(e){!!qx.lang.Array.remove(this._columns,e)&&this.fireDataEvent("change",{type:"remove",column:e})},insertBefore(e,t){if(!this.isValid(e))throw new Error(`Cannot add column ${e} because it is not allowed in this list`);let r=!!qx.lang.Array.remove(this._columns,e);t?qx.lang.Array.insertBefore(this._columns,e,t):this._columns.unshift(e);this.fireDataEvent("change",{type:"add",column:e,moved:r})},insertAfter(e,t){if(!this.isValid(e))throw new Error(`Cannot add column ${e} because it is not allowed in this list`);let r=!!qx.lang.Array.remove(this._columns,e);t?qx.lang.Array.insertAfter(this._columns,e,t):this._columns.push(e);this.fireDataEvent("change",{type:"add",column:e,moved:r})},getColumn(e){if(e<0||e>=this._columns.length)throw new Error(`Index out of range, found ${e} maximum is ${this._columns.length}`);return this._columns[e]},getLength(){return this._columns.length},indexOf(e){return this._columns.indexOf(e)},iterator(){let e=0;return{next:()=>e{}},shouldFillWidth:{init:null,check:"Function",nullable:!0,event:"changeShouldFillWidth"},colSpan:{init:null,check:"Function",nullable:!0,event:"changecolSpan"}},events:{change:"qx.event.type.Data",headerTap:"qx.event.type.Event",changeEffectivelyEnabled:"qx.event.type.Data",changeEffectivelyReadOnly:"qx.event.type.Data"},members:{__P_65_0:null,setDataGrid(e){if(this.__P_65_0!==e){if(this.__P_65_0){this.__P_65_0.removeListener("changeEnabled",this.__P_65_1,this);this.__P_65_0.removeListener("changeReadOnly",this.__P_65_2,this)}this.__P_65_0=e;if(e){e.addListener("changeEnabled",this.__P_65_1,this);e.addListener("changeReadOnly",this.__P_65_2,this)}this.fireDataEvent("changeEffectivelyEnabled",this.isEffectivelyEnabled());this.fireDataEvent("changeEffectivelyReadOnly",this.isEffectivelyEnabled())}},getDataGrid(){return this.__P_65_0},__P_65_1(e){this.fireDataEvent("changeEffectivelyEnabled",this.isEffectivelyEnabled())},__P_65_2(e){this.fireDataEvent("changeEffectivelyReadOnly",this.isEffectivelyEnabled())},isEffectivelyReadOnly(){var e,t;return this.getReadOnly()||!this.getEnabled()||!(null===(e=this.__P_65_0)||void 0===e||!e.isReadOnly())||!(null!==(t=this.__P_65_0)&&void 0!==t&&t.isEnabled())},isEffectivelyEnabled(){var e;return!this.getEnabled()||!(null===(e=this.__P_65_0)||void 0===e||!e.isEnabled())},bindWidget(e,t,r){let i=this.getPath(),n=new qxl.datagrid.binding.Bindings(t);if(i&&t){let r=t.bind(i,e,"value",this.getBindingOptions()(e,t));n.add(t,r)}if("function"==typeof e.setReadOnly){const t=()=>{e.setReadOnly(this.isEffectivelyReadOnly());e.setEnabled(this.isEffectivelyEnabled())};n.add(this,this.addListener("changeEffectivelyReadOnly",(()=>t())),"listener");n.add(this,this.addListener("changeEffectivelyEnabled",(()=>t())),"listener");t()}else{const t=()=>{e.setEnabled(this.isEffectivelyEnabled()&&!this.isEffectivelyReadOnly())};n.add(this,this.addListener("changeEffectivelyReadOnly",(()=>t())),"listener");n.add(this,this.addListener("changeEffectivelyEnabled",(()=>t())),"listener");t()}return n},createWidgetForDisplay:()=>(new qx.ui.basic.Label).set({appearance:"qxl-datagrid-cell"}),_applyWidth(e){},_applyMinWidth(e){},_applyMaxWidth(e){},_applyFlex(e){},_applyReadOnly(e){},_applyEnabled(e){}}});qxl.datagrid.column.Column.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.column.Column":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.TextColumn",{extend:qxl.datagrid.column.Column,members:{}});qxl.datagrid.column.TextColumn.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.column.Columns":{construct:!0,require:!0},"qx.lang.Type":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.FilteredColumns",{extend:qxl.datagrid.column.Columns,construct(e){qxl.datagrid.column.Columns.constructor.call(this);this.__P_19_0=e},members:{__P_19_0:null,isValid(e){return this.__P_19_0.indexOf(e)>-1},addRange(e,t){if(!qx.lang.Type.isNumber(e)&&(e=this.__P_19_0.indexOf(e))<0)throw new Error("Invalid start, does not exist in source columns");if(!qx.lang.Type.isNumber(t)&&(t=this.__P_19_0.indexOf(t))<0)throw new Error("Invalid end, does not exist in source columns");t<0&&(t=this.__P_19_0.getLength());if(e<0)throw new Error(`Invalid start, found ${e}`);if(e>t){let r=e;e=t;t=r}for(let r=e;rObject.keys(e).sort().join('"')+(!0===t?"♥":"")},members:{__P_20_0:null,__P_20_1(e,t){return this.__P_20_0&&this.__P_20_0.getJsonHash?this.__P_20_0.getJsonHash(e,t):Object.keys(e).sort().join("|")+(!0===t?"♥":"")},__P_20_2(e,t){if(!0===t)return this.__P_20_1(e,!0);if(!1===t)return this.__P_20_1(e,!1);var r=this.__P_20_1(e),i=r+"♥",n="qx.data.model."+i;return qx.Class.isDefined(n)?i:r},toClass(e,t){this.__P_20_3(e,t,null,0)},__P_20_3(e,t,r,i){if(!qx.lang.Type.isObject(e)||e.$$isString||e instanceof qx.core.Object){if(e instanceof Array||"Array"==qx.Bootstrap.getClass(e))for(var n=0;nString(e).padStart("0")+":"+String(t).padStart("0"),_parseDataKey(e){let t=5;11!==e.length&&(t=e.indexOf(":"));return{row:parseInt(e.substring(0,t),10),column:parseInt(e.substring(t+1),10)}},getModelForPosition(e){let t=this._createDataKey(e.getRow(),e.getColumn());return this._data[t]}}});qxl.datagrid.source.AbstractDataSource.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qxl.datagrid.source.tree.ITreeDataSource",{members:{getNodeStateFor(e){},async expandNode(e){},async collapseNode(e){}}});qxl.datagrid.source.tree.ITreeDataSource.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.source.AbstractDataSource":{construct:!0,require:!0},"qxl.datagrid.source.tree.ITreeDataSource":{require:!0},"qx.lang.Array":{},"qx.data.Array":{},"qx.Promise":{},"qxl.datagrid.source.Position":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.source.tree.TreeDataSource",{extend:qxl.datagrid.source.AbstractDataSource,implement:[qxl.datagrid.source.tree.ITreeDataSource],construct(e,t){qxl.datagrid.source.AbstractDataSource.constructor.call(this);this.__P_22_0=[];this.__P_22_1={};this.__P_22_2=[];e&&this.setNodeInspectorFactory(e);t&&this.setColumns(t)},properties:{root:{nullable:!0,apply:"__P_22_3"},nodeInspectorFactory:{check:"Function"}},events:{changeSize:"qx.event.type.Data"},members:{__P_22_0:null,__P_22_1:null,__P_22_2:null,__P_22_4:null,async __P_22_3(e,t){this._data={};this.__P_22_0=[];if(t){let e=this.__P_22_0;this.__P_22_1={};this.__P_22_0=[];for(let t in e)this.__P_22_5(t)}if(e){let t=this.getNodeInspectorFactory()(e);await this.queue((async()=>{let r=this.__P_22_6(e,-1);this.__P_22_1[e.toHashCode()]=r;r.canHaveChildren=t.canHaveChildren(e);if(!r.canHaveChildren)throw new Error("Root must be able to have children!");r.childrenChangeBinding||(r.childrenChangeBinding=t.createChildrenChangeBinding(e,(()=>this.refreshNodeChildren(e))));await this._insertChildRows(e)}))}this.fireDataEvent("changeSize",this.getSize())},async _insertChildRows(e){let t=this.getNodeInspectorFactory()(e),r=this._getNodeMetaData(e);r.childRowMetas=[];this.__P_22_1[e.toHashCode()]=r;for(let i=0,n=await t.getChildrenOf(e);i{await this._collapseNode(e);await this._expandNode(e);this.fireDataEvent("changeSize",this.getSize())}))},getShownChildren(e){return this._getNodeMetaData(e).childRowMetas.map((e=>e.node))},__P_22_6:(e,t)=>({node:e,level:t,canHaveChildren:void 0,childrenChangeBinding:void 0}),__P_22_5(e){if(e.childrenChangeBinding){e.childrenChangeBinding.dispose();delete e.childrenChangeBinding}},__P_22_5(e){if(e.childrenChangeBinding){e.childrenChangeBinding.dispose();delete e.childrenChangeBinding}},_getNodeMetaData(e){return this.__P_22_1[e.toHashCode()]},async expandNode(e){await this.queue((()=>this._expandNode(e)))},async _expandNode(e){let t=this.getNodeInspectorFactory()(e),r=await t.getChildrenOf(e),i=this._getNodeMetaData(e);if(!i)throw new Error(`Cannot find ${e} in rows`);if(i.childRowMetas||!i.canHaveChildren)return;i.childrenChangeBinding=t.createChildrenChangeBinding(e,(()=>this.refreshNodeChildren(e)));let n=this.__P_22_0.indexOf(i),o=[];for(let e of r){if(!e)continue;const t=this.getNodeInspectorFactory()(e);let r=this.__P_22_6(e,i.level+1);r.canHaveChildren=t.canHaveChildren(e);o.push(r);this.__P_22_1[e.toHashCode()]=r}let a=this.__P_22_0.slice(0,n+1),s=n==this.__P_22_0.length-1?[]:this.__P_22_0.slice(n+1);qx.lang.Array.append(a,o);qx.lang.Array.append(a,s);i.childRowMetas=o;this.__P_22_0=a;this.fireDataEvent("changeSize",this.getSize())},async revealNode(e){const t=async e=>{let t=new qx.data.Array,r=this.getNodeInspectorFactory()(e);for(var i=await r.getParentOf(e);i&&await r.getParentOf(i);){t.insertAt(0,i);i=await r.getParentOf(i)}return t};await this.queue((async()=>{let r=await t(e);if(!r)throw new Error("Cannot find node in tree");for(var i=0;ithis._collapseNode(e)))},async _collapseNode(e){let t=this.__P_22_1[e.toHashCode()];if(!t)throw new Error(`Cannot find ${e} in rows`);if(t.childRowMetas){if(t.childrenChangeBinding){t.childrenChangeBinding.dispose();delete t.childrenChangeBinding}this._removeChildRows(t);this.fireDataEvent("changeSize",this.getSize())}},async updateNodes(){return this.refreshNodeChildren(this.getRoot())},_removeChildRows(e){let t=[];const r=e=>{if(e.childRowMetas)for(let i of e.childRowMetas){t.push(i);r(i);this.__P_22_5(i)}};r(e);delete e.childRowMetas;for(let e of t){delete this.__P_22_1[e.node.toHashCode()];qx.lang.Array.remove(this.__P_22_0,e)}},async queue(e){this.__P_22_2.push(e);1==this.__P_22_2.length&&await this.__P_22_7()},async __P_22_7(){if(0==this.__P_22_2.length){if(this.__P_22_4){this.__P_22_4.resolve();this.__P_22_4=null}return}let e=this.__P_22_2[0];await e();this.__P_22_2.shift();await this.__P_22_7()},async flushQueue(){this.__P_22_4?await this.__P_22_4:this.__P_22_2.length&&(this.__P_22_4=new qx.Promise)},async makeAvailable(e){await this.flushQueue()},isAvailable(e){return!this.__P_22_2.length},getModelForPosition(e){return this.getNode(e.getRow())||null},getPositionOfModel(e){let t=this.__P_22_1[e.toHashCode()]||null;if(null!==t){let e=this.__P_22_0.indexOf(t);return new qxl.datagrid.source.Position(e,0)}return null},getNodeStateFor(e){let t=this.__P_22_1[e.toHashCode()]||null;return t?{level:t.level,state:t.canHaveChildren?t.childRowMetas?"open":"closed":"none"}:null},getNode(e){if(e>=this.__P_22_0.length)return null;return this.__P_22_0[e].node},getSize(){var e;return new qxl.datagrid.source.Position((null===(e=this.__P_22_0)||void 0===e?void 0:e.length)||0,1)}}});qxl.datagrid.source.tree.TreeDataSource.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.ui.GridStyling",{extend:qx.core.Object,properties:{numHeaderRows:{init:1,check:"Integer",apply:"__P_23_0",event:"changeNumHeaderRows"},numFixedRows:{init:0,check:"Integer",apply:"__P_23_0",event:"changeNumFixedRows"},numFixedColumns:{init:0,check:"Integer",apply:"__P_23_0",event:"changeNumFixedColumns"},minRowHeight:{init:22,nullable:!0,check:"Integer",apply:"__P_23_0",event:"changeMinRowHeight"},maxRowHeight:{init:null,nullable:!0,check:"Integer",apply:"__P_23_0",event:"changeMaxRowHeight"},headerRowHeight:{init:null,nullable:!0,check:"Integer",apply:"__P_23_0",event:"changeHeaderRowHeight"},minColumnWidth:{init:null,nullable:!0,check:"Integer",apply:"__P_23_0",event:"changeMinColumnWidth"},maxColumnWidth:{init:null,nullable:!0,check:"Integer",apply:"__P_23_0",event:"changeMaxColumnWidth"},horizontalSpacing:{init:3,themeable:!0,check:"Integer",apply:"__P_23_0",event:"changeHorizontalSpacing"},verticalSpacing:{init:2,themeable:!0,check:"Integer",apply:"__P_23_0",event:"changeVerticalSpacing"},colSpan:{init:null,check:"Function",nullable:!0,event:"changecolSpan"}},events:{change:"qx.event.type.Event"},members:{__P_23_0(){this.fireEvent("change")}}});qxl.datagrid.ui.GridStyling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qxl.datagrid.column.IColumns":{},"qxl.datagrid.ui.GridStyling":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.ui.GridSizeCalculator",{extend:qx.core.Object,construct(e,t,r){qx.core.Object.constructor.call(this);this._columns=e;this._widgetSizeSource=r;t&&this.setStyling(t)},properties:{columns:{init:null,nullable:!0,check:"qxl.datagrid.column.IColumns",apply:"invalidate",event:"changeColumns"},styling:{nullable:!1,check:"qxl.datagrid.ui.GridStyling",apply:"__P_24_0",event:"changeStyling"}},events:{change:"qx.data.event.Event"},members:{_columns:null,_widgetSizeSource:null,__P_24_1:null,_width:null,_height:null,_startRowIndex:null,_startColumnIndex:null,_left:null,_top:null,getSizesFor(e,t,r,i){this.setAvailableSize(e,t,r,i,0,0);return this.getSizes()},setAvailableSize(e,t,r,i,n,o){if(e!==this._width||t!==this._height||r!=this._startRowIndex||i!=this._startColumnIndex){this.invalidate();this._width=e;this._height=t;this._startRowIndex=r;this._startColumnIndex=i;this._left=n;this._top=o}return!this.__P_24_1},getSizes(){!this.__P_24_1&&this._width&&this._height&&(this.__P_24_1=this._calculateSizes());return this.__P_24_1},getInitialOffsets(){return{left:this._left,top:this._top}},invalidate(){this.__P_24_1=null},_calculateSizes(){let e=this.getStyling(),t={row:this._startRowIndex+e.getNumFixedRows(),column:this._startColumnIndex+e.getNumFixedColumns()},r=[],i=[],n=0,o={},a=this._width,s=e.getHorizontalSpacing(),l=e.getVerticalSpacing(),u=0;const c=e=>{var t,l;let c=this._columns.getColumn(e);i.push(e);let h=c.getFlex()&&null===c.getWidth()?c.getFlex():0,d=null!==(t=c.getWidth())&&void 0!==t?t:0,f=null!==(l=c.getMinWidth())&&void 0!==l?l:0;if(h){r.push(e);n+=h;d=f}else{var _;let e=null!==(_=c.getMaxWidth())&&void 0!==_?_:0;de&&(d=e)}a-=d;a-=s;o[e]=d;i.length>0&&(u+=s);u+=d};for(let t=0;t=0)for(let e=t.column;e=this._width);e++)c(e);else for(let e=this._columns.getLength()-1;e>=0&&!(u>=this._width);e--)c(e);if(r.length){let e=r.map((e=>({index:e,column:this._columns.getColumn(e)})));e.sort(((e,t)=>{var r,i,n,o,a,s;return(null!==(r=e.column.getMinWidth())&&void 0!==r?r:0)-(null!==(i=t.column.getMinWidth())&&void 0!==i?i:0)||(null!==(n=e.column.getMaxWidth())&&void 0!==n?n:0)-(null!==(o=t.column.getMaxWidth())&&void 0!==o?o:0)||(null!==(a=e.column.getFlex())&&void 0!==a?a:0)-(null!==(s=t.column.getFlex())&&void 0!==s?s:0)}));for(let{column:t,index:r}of e){let e=Math.floor(a/n*t.getFlex());if(t.getMaxWidth()){let i=t.getMaxWidth()-o[r];e>i&&(e=i)}a-=e;u+=e;o[r]+=e;n-=t.getFlex()}}let h=e.getMinRowHeight(),d=e.getMaxRowHeight(),f={},_=0;const p=e=>{let t=0;for(let r of i){let i=this._widgetSizeSource.getWidgetSize(e,r),n=i.height||0;ni.maxHeight&&(n=i.maxHeight);nd){t=n=d;break}t0&&(_+=l);_+=t};for(let t=0;t=0)for(let e=t.row;e=this._height);e++)void 0===f[e]&&p(e);else for(let e=m-1;e>=0&&!(_>=this._height);e--)void 0===f[e]&&p(e);let g={columns:[],rows:[],horizontalScrollPosition:0,verticalScrollPosition:0};for(let e in o){let t=parseInt(e,10);g.columns.push({columnIndex:t,column:this._columns.getColumn(t),width:o[e]})}for(let e in f){let t=parseInt(e,10);g.rows.push({rowIndex:t,height:f[e]})}return g},__P_24_0(e,t){t&&t.removeListener("change",this.invalidate,this);e&&e.addListener("change",this.invalidate,this)}}});qxl.datagrid.ui.GridSizeCalculator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qxl.datagrid.source.IDataSource":{require:!0},"qxl.datagrid.source.Position":{},"qxl.datagrid.demo.biggrid.DummyModel":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.demo.biggrid.DummyDataSource",{extend:qx.core.Object,implement:[qxl.datagrid.source.IDataSource],construct(e,t){qx.core.Object.constructor.call(this);this.__P_25_0={};e&&this.setNumRows(e);t&&this.setNumColumns(t)},properties:{numRows:{init:100,event:"changeNumRows",apply:"_applyNumXxx"},numColumns:{init:100,event:"changeNumColumns",apply:"_applyNumXxx"}},events:{changeSize:"qx.event.type.Data"},members:{__P_25_0:null,__P_25_1:null,_applyNumXxx(e){for(let e in this.__P_25_0){let t=qxl.datagrid.source.Position.fromId(e);if(t.getColumn()>=this.getNumColumns()||t.getRow()>=this.getNumRows()){this.__P_25_0[e].dispose();delete this.__P_25_0[e]}}if(this.__P_25_1){this.__P_25_1.getColumn()>this.getNumColumns()&&this.__P_25_1.setColumn(this.getNumColumns());this.__P_25_1.getRow()>this.getNumRows()&&this.__P_25_1.setRow(this.getNumRows())}},isAvailable(e){return!!this.__P_25_1&&(this.__P_25_1.eclipses(e)||this.__P_25_1.columnZero().eclipses(e))},async makeAvailable(e){let t=this.__P_25_0,r={};const i=e=>{let i=e.toId(),n=t[i];n?delete t[i]:n=(new qxl.datagrid.demo.biggrid.DummyModel).set({rowIndex:e.getRow(),columnIndex:e.getColumn()});r[i]=n};for(let t of e)i(t);for(let t of e.rowsIterator())i(t);for(let e in t)t[e].dispose();this.__P_25_0=r;this.__P_25_1=e},getModelForPosition(e){return this.__P_25_0[e.toId()]},getPositionOfModel:e=>new qxl.datagrid.source.Position(e.getRowIndex(),e.getColumnIndex()),getSize(){return new qxl.datagrid.source.Position(this.getNumRows(),this.getNumColumns())}}});qxl.datagrid.demo.biggrid.DummyDataSource.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qxl.datagrid.source.IDataSource":{}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qxl.datagrid.ui.factory.IWidgetFactory",{properties:{dataSource:{init:null,check:"qxl.datagrid.source.IDataSource",event:"changeDataSource"}},members:{getWidgetFor(e,t){},bindWidget(e,t,r){},unbindWidget(e){},getModelForWidget(e){}}});qxl.datagrid.ui.factory.IWidgetFactory.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qxl.datagrid.ui.factory.IWidgetFactory":{require:!0},"qxl.datagrid.source.IDataSource":{},"qxl.datagrid.column.IColumns":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.ui.factory.AbstractWidgetFactory",{extend:qx.core.Object,type:"abstract",implement:[qxl.datagrid.ui.factory.IWidgetFactory],construct(e){qx.core.Object.constructor.call(this);this.__P_69_0={};e&&this.setColumns(e)},properties:{dataSource:{init:null,check:"qxl.datagrid.source.IDataSource",event:"changeDataSource"},columns:{init:null,nullable:!0,check:"qxl.datagrid.column.IColumns",apply:"_applyColumns",event:"changeColumns"}},members:{__P_69_0:null,__P_69_1:null,_applyColumns(e,t){this.disposeAllWidgets()},disposeAllWidgets(){Object.values(this.getWidgets()).forEach((e=>{this.unbindWidget(e);this.disposeWidget(e)}))},getWidgetFor(e,t){let r=e+":"+t,i=this.__P_69_0[r];if(!i){let n=this.getColumns().getColumn(t);i=this.__P_69_0[r]=this._createWidget(n);this.__P_69_1&&i.setAppearance(this.__P_69_1);i.setUserData("qxl.datagrid.factory.AbstractWidgetFactory.bindingData",{rowIndex:e,columnIndex:t,column:n})}return i},getModelForWidget(e){let t=e.getUserData("qxl.datagrid.factory.AbstractWidgetFactory.bindingData");return(null==t?void 0:t.model)||null},disposeWidget(e){let t=e.getUserData("qxl.datagrid.factory.AbstractWidgetFactory.bindingData"),r=t.rowIndex+":"+t.columnIndex;t.model&&this.unbindWidget(e);e.setUserData("qxl.datagrid.factory.AbstractWidgetFactory.bindingData",null);delete this.__P_69_0[r];e.dispose()},_createWidget(e){throw new Error("No such method "+this.classname+"._createWidget")},getWidgets(){return this.__P_69_0},setChildAppearances(e){this.__P_69_1=e;Object.values(this.getWidgets()).forEach((e=>{e.setAppearance(this.__P_69_1)}))}}});qxl.datagrid.ui.factory.AbstractWidgetFactory.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.ui.factory.AbstractWidgetFactory":{require:!0},"qxl.datagrid.util.Labels":{},"qx.ui.basic.Atom":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.ui.factory.HeaderWidgetFactory",{extend:qxl.datagrid.ui.factory.AbstractWidgetFactory,properties:{widgetAppearance:{check:"String",event:"changeWidgetAppearance",init:"qxl-datagrid-header-cell"}},members:{bindWidget(e,t){let r=e.getUserData("qxl.datagrid.factory.AbstractWidgetFactory.bindingData"),i=r.column.bind("caption",e,"label",{converter:(e,t,i,n)=>e||qxl.datagrid.util.Labels.getColumnLetters(r.columnIndex)});r.bindingId=i},unbindWidget(e){let t=e.getUserData("qxl.datagrid.factory.AbstractWidgetFactory.bindingData");t.column.removeBinding(t.bindingId);t.bindingId=null},_createWidget(){return(new qx.ui.basic.Atom).set({appearance:this.getWidgetAppearance(),rich:!0,iconPosition:"top-left"})}}});qxl.datagrid.ui.factory.HeaderWidgetFactory.$$dbClassInfo=e}();function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread(e){for(var t=1;t{let t=e.getUserData("qxl.datagrid.cellData"),r=t.row+":"+t.column;t.row>s||t.columnu?this.__P_26_2(e,r):c[r]=e}));let h=o.getHorizontalSpacing(),d=o.getVerticalSpacing(),f=0;const _=o.getColSpan();let p=new qxl.datagrid.source.Position,m=new qxl.datagrid.source.Position;for(let e of a.rows){let t=0;if(e.rowIndex>=0)continue;let r=e.rowIndex,i=-1/0;for(let o=0;onull==_?void 0:_(...v)),...v):_&&(y=_(...v));y=Math.floor(null!==(g=y)&&void 0!==g?g:1);d.setUserData("qxl.datagrid.cellData",_objectSpread(_objectSpread({},d.getUserData("qxl.datagrid.cellData")),{},{colSpan:y}));i=o+y;for(let e=o+1;ee.createWidgetForDisplay()}});qxl.datagrid.ui.factory.SimpleWidgetFactory.$$dbClassInfo=e}();function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread(e){for(var t=1;tthis.updateWidgets()));i.addListener("changeSelection",(()=>{"cell"==i.getSelectionStyle()&&this.updateWidgets()}));i.addListener("changeFocused",(()=>{"cell"==i.getSelectionStyle()&&this.updateWidgets()}));r&&this.setDataSource(r);this._setLayout(new qxl.datagrid.ui.layout.Fixed);this.addListener("tap",this.__P_27_4,this,!0)},properties:{dataSource:{init:null,check:"qxl.datagrid.source.IDataSource",event:"changeDataSource"},appearance:{init:"qxl-datagrid-widgetpane",refine:!0}},events:{modelDoubleTap:"qx.event.type.Data"},members:{__P_27_0:null,__P_27_1:null,__P_27_2:null,__P_27_5:!1,__P_27_3:null,invalidateAll(){this.__P_27_5=!0},updateWidgets(){var e,t,r,i;if(!this.__P_27_1.getColumns())return;let n=this.__P_27_1.getColumns(),o=this.getDataSource(),a=this.__P_27_0.getStyling(),s=this.__P_27_0.getSizes();if(!s)return;let l=null!==(e=null===(t=s.columns[0])||void 0===t?void 0:t.columnIndex)&&void 0!==e?e:0,u=null!==(r=null===(i=s.columns[s.columns.length-1])||void 0===i?void 0:i.columnIndex)&&void 0!==r?r:0,c=null,h=null,d=null;s.rows.forEach((e=>{e.rowIndex>=a.getNumFixedRows()&&(null===d||d>e.rowIndex)&&(d=e.rowIndex);(null===c||c>e.rowIndex)&&(c=e.rowIndex);(null===h||hthis.updateWidgets()))}let p=this.__P_27_5;this.__P_27_5=!1;let m=this.__P_27_3;qx.lang.Array.clone(this._getChildren()).forEach((e=>{let t=e.getUserData("qxl.datagrid.cellData"),r=t.row+":"+t.column;p||t.rowh||t.columnu?this.__P_27_6(e,r):m[r]=e}));let g=a.getHorizontalSpacing(),v=a.getVerticalSpacing(),b=0;const y=a.getColSpan();let x=new qxl.datagrid.source.Position,q=new qxl.datagrid.source.Position;for(let e=0;enull==y?void 0:y(..._)),..._):y&&(t=y(..._));t=Math.max(1,Math.floor(null!==(w=t)&&void 0!==w?w:1));d.setUserData("qxl.datagrid.cellData",_objectSpread(_objectSpread({},d.getUserData("qxl.datagrid.cellData")),{},{colSpan:t}));a=l+t;for(let e=l+1;ethis.__P_28_1()));this.__P_28_2=new qx.data.Array;this.__P_28_2.addListener("change",(()=>{this.__P_28_0.run()}))},properties:{dataSource:{init:null,check:"qxl.datagrid.source.IDataSource",event:"changeDataSource"},selectionStyle:{init:"row",check:["row","cell","area"],apply:"_applySelectionStyle",event:"changeSelectionStyle"},selectionMode:{check:["single","multi","additive","one"],init:"single",apply:"_applySelectionMode",event:"changeSelectionMode"},focused:{init:null,nullable:!0,transform:"__P_28_3",event:"changeFocused"}},events:{changeSelection:"qx.event.type.Data"},members:{__P_28_2:null,__P_28_0:null,__P_28_4:null,_applySelectionStyle(e){if("row"===e){for(let e=0;e1&&this.__P_28_2.replace([this.__P_28_2.getItem(0)])},__P_28_3(e){"row"===this.getSelectionStyle()&&(e=this.__P_28_5(e));return e},__P_28_1(){let e=this.__P_28_2,t=this.__P_28_4;this.__P_28_4=e;this.fireDataEvent("changeSelection",e,t)},getSelection(){return this.__P_28_2},getSelectionRange(){return this.__P_28_6},setSelection(e){this.__P_28_6=null;"area"===this.getSelectionStyle()?this.__P_28_7(e):this.__P_28_8(e)},__P_28_7(e){this.__P_28_6=e;this.__P_28_2.replace(this.__P_28_9(e));this.setFocused(this.__P_28_2.getItem(0))},__P_28_9(e){const t=this.getDataSource(),r=Math.min(e.getStart().getColumn(),e.getEnd().getColumn()),i=Math.max(e.getStart().getColumn(),e.getEnd().getColumn()),n=Math.min(e.getStart().getRow(),e.getEnd().getRow()),o=Math.max(e.getStart().getRow(),e.getEnd().getRow()),a=new qx.data.Array;for(let e=n;e<=o;e++)for(let n=r;n<=i;n++){const r=t.getModelForPosition(new qxl.datagrid.source.Position(e,n));a.push(r)}return a},__P_28_8(e){e instanceof qx.data.Array&&(e=e.toArray());"one"===this.getSelectionMode()&&e.length>1&&(e=[e[0]]);"row"===this.getSelectionStyle()&&(e=e.map((e=>this.__P_28_5(e))));this.__P_28_2.replace(e)},resetSelection(){this.__P_28_2.removeAll()},isSelected(e){return this.__P_28_2.contains(e)},isSelectionEmpty(){return 0===this.__P_28_2.getLength()},__P_28_5(e){let t=this.getDataSource(),r=t.getPositionOfModel(e);0!=r.getColumn()&&(e=t.getModelForPosition(new qxl.datagrid.source.Position(r.getRow(),0)));return e}}});qxl.datagrid.ui.SelectionManager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.container.Composite":{construct:!0,require:!0},"qx.ui.tabview.TabButton":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.tabview.Page",{extend:qx.ui.container.Composite,construct(e,t){qx.ui.container.Composite.constructor.call(this);this._createChildControl("button");null!=e&&this.setLabel(e);null!=t&&this.setIcon(t);const r=this.getButton(),i="page-"+this.toHashCode(),n="btn-"+i+r.toHashCode(),o=this.getContentElement();o.setAttribute("id",i);o.setAttribute("role","tabpanel");o.setAttribute("aria-labelledBy",n);o.setAttribute("aria-expanded",!1);const a=r.getContentElement();a.setAttribute("id",n);a.setAttribute("role","tab");a.setAttribute("aria-selected",!1);a.setAttribute("aria-controls",i);r.addListener("changeValue",this._onBtnChangeValue,this)},events:{close:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"tabview-page"},label:{check:"String",init:"",apply:"_applyLabel"},icon:{check:"String",init:"",apply:"_applyIcon",nullable:!0},showCloseButton:{check:"Boolean",init:!1,apply:"_applyShowCloseButton"},tabVisibility:{init:"visible",check:["visible","excluded"],nullable:!1,apply:"_applyTabVisibility",event:"changeTabVisibility"}},members:{_forwardStates:{barTop:1,barRight:1,barBottom:1,barLeft:1,firstTab:1,lastTab:1},_applyIcon(e,t){var r=this.getChildControl("button");if(e){r.setIcon(e);r._showChildControl("icon")}else r._excludeChildControl("icon")},_applyLabel(e,t){this.getChildControl("button").setLabel(e)},_applyEnabled(e,t){qx.ui.tabview.Page.superclass.prototype._applyEnabled.call(this,e,t);var r=this.getChildControl("button");null==e?r.resetEnabled():r.setEnabled(e)},_createChildControlImpl(e,t){var r;if("button"===e){(r=new qx.ui.tabview.TabButton).setAllowGrowX(!0);r.setAllowGrowY(!0);r.setUserData("page",this);r.addListener("close",this._onButtonClose,this);r.setVisibility(this.getTabVisibility())}return r||qx.ui.tabview.Page.superclass.prototype._createChildControlImpl.call(this,e)},_onBtnChangeValue(e){const t=e.getData();this.getContentElement().setAttribute("aria-expanded",t,!0);this.getButton().getContentElement().setAttribute("aria-selected",t)},_applyShowCloseButton(e,t){this.getChildControl("button").setShowCloseButton(e)},_applyTabVisibility(e,t){this.getButton().setVisibility(e)},_onButtonClose(){this.fireEvent("close")},getChildrenContainer(){return this},getButton(){return this.getChildControl("button")}}});qx.ui.tabview.Page.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MRemoteLayoutHandling",{members:{setLayout(e){var t=this.getChildrenContainer();t===this?t._setLayout(e):t.setLayout(e)},getLayout(){var e=this.getChildrenContainer();return e===this?e._getLayout():e.getLayout()}}});qx.ui.core.MRemoteLayoutHandling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MRemoteChildrenHandling":{require:!0},"qx.ui.core.MRemoteLayoutHandling":{require:!0},"qx.ui.form.RepeatButton":{},"qx.ui.container.Composite":{},"qx.ui.core.scroll.ScrollPane":{},"qx.ui.layout.HBox":{},"qx.ui.layout.VBox":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.container.SlideBar",{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling],construct(e){qx.ui.core.Widget.constructor.call(this);var t=this.getChildControl("scrollpane");this._add(t,{flex:1});null!=e?this.setOrientation(e):this.initOrientation();this.addListener("roll",this._onRoll,this)},properties:{appearance:{refine:!0,init:"slidebar"},orientation:{check:["horizontal","vertical"],init:"horizontal",apply:"_applyOrientation"},scrollStep:{check:"Integer",init:15,themeable:!0}},events:{scrollAnimationEnd:"qx.event.type.Event"},members:{getChildrenContainer(){return this.getChildControl("content")},_createChildControlImpl(e,t){var r;switch(e){case"button-forward":(r=new qx.ui.form.RepeatButton).addListener("execute",this._onExecuteForward,this);r.setFocusable(!1);this._addAt(r,2);break;case"button-backward":(r=new qx.ui.form.RepeatButton).addListener("execute",this._onExecuteBackward,this);r.setFocusable(!1);this._addAt(r,0);break;case"content":r=new qx.ui.container.Composite;this.getChildControl("scrollpane").add(r);break;case"scrollpane":(r=new qx.ui.core.scroll.ScrollPane).addListener("update",this._onResize,this);r.addListener("scrollX",this._onScroll,this);r.addListener("scrollY",this._onScroll,this);r.addListener("scrollAnimationEnd",this._onScrollAnimationEnd,this)}return r||qx.ui.container.SlideBar.superclass.prototype._createChildControlImpl.call(this,e)},_forwardStates:{barLeft:!0,barTop:!0,barRight:!0,barBottom:!0},scrollBy(e,t){var r=this.getChildControl("scrollpane");"horizontal"===this.getOrientation()?r.scrollByX(e,t):r.scrollByY(e,t)},scrollTo(e,t){var r=this.getChildControl("scrollpane");"horizontal"===this.getOrientation()?r.scrollToX(e,t):r.scrollToY(e,t)},_applyEnabled(e,t,r){qx.ui.container.SlideBar.superclass.prototype._applyEnabled.call(this,e,t,r);this._updateArrowsEnabled()},_applyOrientation(e,t){this.getContentElement().setAttribute("aria-orientation",e);var r=[this.getLayout(),this._getLayout()],i=this.getChildControl("button-forward"),n=this.getChildControl("button-backward");if("vertical"==t&&"horizontal"==e){i.removeState("vertical");n.removeState("vertical");i.addState("horizontal");n.addState("horizontal")}else if("horizontal"==t&&"vertical"==e){i.removeState("horizontal");n.removeState("horizontal");i.addState("vertical");n.addState("vertical")}if("horizontal"==e){this._setLayout(new qx.ui.layout.HBox);this.setLayout(new qx.ui.layout.HBox)}else{this._setLayout(new qx.ui.layout.VBox);this.setLayout(new qx.ui.layout.VBox)}r[0]&&r[0].dispose();r[1]&&r[1].dispose()},_onRoll(e){if("mouse"!=e.getPointerType()){var t=0,r=this.getChildControl("scrollpane");if("horizontal"===this.getOrientation()){t=e.getDelta().x;var i=r.getScrollX(),n=r.getScrollMaxX();(o=parseInt(t))<0&&i<=0||o>0&&i>=n||0==t?e.stopMomentum():e.stop()}else{t=e.getDelta().y;var o;i=r.getScrollY(),n=r.getScrollMaxY();(o=parseInt(t))<0&&i<=0||o>0&&i>=n||0==t?e.stopMomentum():e.stop()}this.scrollBy(parseInt(t,10));e.getMomentum()&&e.stop()}},_onScroll(){this._updateArrowsEnabled()},_onScrollAnimationEnd(){this.fireEvent("scrollAnimationEnd")},_onResize(e){var t=this.getChildControl("scrollpane").getChildren()[0];if(t){var r=this.getInnerSize(),i=t.getBounds();if("horizontal"===this.getOrientation()?i.width>r.width:i.height>r.height){this._showArrows();this._updateArrowsEnabled()}else this._hideArrows()}},_onExecuteBackward(){this.scrollBy(-this.getScrollStep())},_onExecuteForward(){this.scrollBy(this.getScrollStep())},_updateArrowsEnabled(){if(this.getEnabled()){var e=this.getChildControl("scrollpane");if("horizontal"===this.getOrientation())var t=e.getScrollX(),r=e.getScrollMaxX();else t=e.getScrollY(),r=e.getScrollMaxY();this.getChildControl("button-backward").setEnabled(t>0);this.getChildControl("button-forward").setEnabled(te._getItems(),isItemSelectable:t=>e._isItemSelectable?e._isItemSelectable(t):t.isVisible()});this.__P_126_0.addListener("changeSelected",this._onChangeSelected,this)}this.__P_126_0.setAllowEmptySelection(this._isAllowEmptySelection());return this.__P_126_0}},destruct(){this._disposeObjects("__P_126_0")}});qx.ui.core.MSingleSelectionHandling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.form.IField":{require:!0},"qx.ui.core.ISingleSelection":{require:!0},"qx.ui.core.MSingleSelectionHandling":{require:!0},"qx.ui.core.MChildrenHandling":{require:!0},"qx.ui.layout.Grow":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.container.Stack",{extend:qx.ui.core.Widget,implement:[qx.ui.form.IField,qx.ui.core.ISingleSelection],include:[qx.ui.core.MSingleSelectionHandling,qx.ui.core.MChildrenHandling],construct(){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.layout.Grow);this.addListener("changeSelection",this.__P_72_0,this)},properties:{dynamic:{check:"Boolean",init:!1,apply:"_applyDynamic"}},members:{_applyDynamic(e){for(var t=this._getChildren(),r=this.getSelection()[0],i=0,n=t.length;i!0,_isItemSelectable:e=>!0,__P_72_0(e){var t=e.getOldData()[0],r=e.getData()[0];t&&(this.isDynamic()?t.exclude():t.hide());r&&r.show()},_afterAddChild(e){var t=this.getSelection()[0];t?t!==e&&(this.isDynamic()?e.exclude():e.hide()):this.setSelection([e])},_afterRemoveChild(e){if(this.getSelection()[0]===e){var t=this._getChildren()[0];t?this.setSelection([t]):this.resetSelection()}},previous(){var e=this.getSelection()[0],t=this._indexOf(e)-1,r=this._getChildren();t<0&&(t=r.length-1);var i=r[t];this.setSelection([i])},next(){var e=this.getSelection()[0],t=this._indexOf(e)+1,r=this._getChildren(),i=r[t]||r[0];this.setSelection([i])}}});qx.ui.container.Stack.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IModelSelection",{members:{setModelSelection(e){},getModelSelection(){}}});qx.ui.form.IModelSelection.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.data.Array":{construct:!0},"qx.lang.Array":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.form.MModelSelection",{construct(){this.__P_127_0=new qx.data.Array;this.__P_127_0.addListener("change",this.__P_127_1,this);this.addListener("changeSelection",this.__P_127_2,this)},events:{changeModelSelection:"qx.event.type.Data"},members:{__P_127_0:null,__P_127_3:!1,__P_127_2(){if(!this.__P_127_3){for(var e=this.getSelection(),t=[],r=0;r0&&!this.getSelection()[0]&&this.setSelection([r[0]])},remove(e){var t=this.__P_73_0,r=this.getGroupedProperty(),i=qx.lang.String.firstUp(r);if(t.includes(e)){qx.lang.Array.remove(t,e);e.get(this.getGroupProperty())===this&&e.reset(this.getGroupProperty());e.removeListener("change"+i,this._onItemChangeChecked,this);e.get(r)&&this.resetSelection()}},getChildren(){return this.__P_73_0},_onItemChangeChecked(e){var t=e.getTarget(),r=this.getGroupedProperty();t.get(r)?this.setSelection([t]):this.getSelection()[0]==t&&this.resetSelection()},_applyGroupedProperty(e,t){for(var r,i=qx.lang.String.firstUp(t),n=qx.lang.String.firstUp(e),o=0;o=0)}else"flexShrink"===t?this.assertBoolean(r):this.assert(!1,"The property '"+t+"' is not supported by the HBox layout!")},false:null}),renderLayout(e,t,r){this._invalidChildrenCache&&this.__P_74_4();var i,n,o,a,s=this.__P_74_3,l=s.length,u=qx.ui.layout.Util,c=this.getSpacing(),h=this.getSeparator(),d=[],f=i=h?u.computeHorizontalSeparatorGaps(s,c,h):u.computeHorizontalGaps(s,c,!0);for(n=0;ny.maxWidth&&(w=y.maxWidth);d.push(w);f+=w}if(this.__P_74_2&&f!=e){var _,p,m={},g=f>e;for(n=0;n0){y=s[n].getSizeHint();m[n]={min:y.minWidth,value:d[n],max:y.maxWidth,flex:_};if(g){var v=s[n].getLayoutProperties();v&&v.flexShrink&&(m[n].min=0)}}var b=u.computeFlexOffsets(m,e,f);for(n in b){p=b[n].offset;d[n]+=p;f+=p}}var y,x,q,w,P,M,E,I=s[0].getMarginLeft();if(f0)if(h){I+=P+c;this._renderSeparator(h,{left:I+r.left,top:r.top,width:S,height:t});I+=S+c+o.getMarginLeft()}else I+=u.collapseMargins(c,P,o.getMarginLeft());o.renderLayout(I+r.left,x+r.top,w,q);I+=w;P=o.getMarginRight()}},_computeSizeHint(){this._invalidChildrenCache&&this.__P_74_4();for(var e,t,r,i=qx.ui.layout.Util,n=this.__P_74_3,o=0,a=0,s=0,l=0,u=0,c=0,h=n.length;cu&&(u=t.height+r);t.minHeight+r>l&&(l=t.minHeight+r)}o+=s;var _,p=this.getSpacing(),m=this.getSeparator();return{minWidth:o+(_=m?i.computeHorizontalSeparatorGaps(n,p,m):i.computeHorizontalGaps(n,p,!0)),width:a+_,minHeight:l,height:u}}},destruct(){this.__P_74_0=this.__P_74_1=this.__P_74_3=null}});qx.ui.layout.HBox.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{construct:!0,require:!0},"qx.ui.layout.Util":{},"qx.theme.manager.Decoration":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.VBox",{extend:qx.ui.layout.Abstract,construct(e,t,r){qx.ui.layout.Abstract.constructor.call(this);e&&this.setSpacing(e);t&&this.setAlignY(t);r&&this.setSeparator(r)},properties:{alignY:{check:["top","middle","bottom"],init:"top",apply:"_applyLayoutChange"},alignX:{check:["left","center","right"],init:"left",apply:"_applyLayoutChange"},spacing:{check:"Integer",init:0,apply:"_applyLayoutChange"},separator:{check:"Decorator",nullable:!0,apply:"_applyLayoutChange"},reversed:{check:"Boolean",init:!1,apply:"_applyReversed"}},members:{__P_75_0:null,__P_75_1:null,__P_75_2:null,__P_75_3:null,_applyReversed(){this._invalidChildrenCache=!0;this._applyLayoutChange()},__P_75_4(){var e,t=this._getLayoutChildren(),r=t.length,i=!1,n=this.__P_75_0&&this.__P_75_0.length!=r&&this.__P_75_1&&this.__P_75_0,o=n?this.__P_75_0:new Array(r),a=n?this.__P_75_1:new Array(r);this.getReversed()&&(t=t.concat().reverse());for(var s=0;s=0)}else"flexShrink"==t?this.assertBoolean(r):this.assert(!1,"The property '"+t+"' is not supported by the VBox layout!")},false:null}),renderLayout(e,t,r){this._invalidChildrenCache&&this.__P_75_4();var i,n,o,a,s=this.__P_75_3,l=s.length,u=qx.ui.layout.Util,c=this.getSpacing(),h=this.getSeparator(),d=[],f=i=h?u.computeVerticalSeparatorGaps(s,c,h):u.computeVerticalGaps(s,c,!0);for(n=0;ny.maxHeight&&(w=y.maxHeight);d.push(w);f+=w}if(this.__P_75_2&&f!=t){var _,p,m={},g=f>t;for(n=0;n0){y=s[n].getSizeHint();m[n]={min:y.minHeight,value:d[n],max:y.maxHeight,flex:_};if(g){var v=s[n].getLayoutProperties();v&&v.flexShrink&&(m[n].min=0)}}var b=u.computeFlexOffsets(m,t,f);for(n in b){p=b[n].offset;d[n]+=p;f+=p}}var y,x,q,w,P,M,E,I=s[0].getMarginTop();if(f0)if(h){I+=P+c;this._renderSeparator(h,{top:I+r.top,left:r.left,height:S,width:e});I+=S+c+o.getMarginTop()}else I+=u.collapseMargins(c,P,o.getMarginTop());o.renderLayout(x+r.left,I+r.top,q,w);I+=w;P=o.getMarginBottom()}},_computeSizeHint(){this._invalidChildrenCache&&this.__P_75_4();for(var e,t,r,i=qx.ui.layout.Util,n=this.__P_75_3,o=0,a=0,s=0,l=0,u=0,c=0,h=n.length;cu&&(u=t.width+r);t.minWidth+r>l&&(l=t.minWidth+r)}o+=s;var _,p=this.getSpacing(),m=this.getSeparator();return{minHeight:o+(_=m?i.computeVerticalSeparatorGaps(n,p,m):i.computeVerticalGaps(n,p,!0)),height:a+_,minWidth:l,width:u}}},destruct(){this.__P_75_0=this.__P_75_1=this.__P_75_3=null}});qx.ui.layout.VBox.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Html":{require:!0},"qx.bom.storage.Web":{},"qx.bom.storage.UserData":{},"qx.bom.storage.Memory":{}},environment:{provided:[],required:{"html.storage.local":{className:"qx.bom.client.Html"},"html.storage.userdata":{className:"qx.bom.client.Html"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Storage",{statics:{__P_30_0:null,getLocal:()=>qx.core.Environment.get("html.storage.local")?qx.bom.storage.Web.getLocal():qx.core.Environment.get("html.storage.userdata")?qx.bom.storage.UserData.getLocal():qx.bom.storage.Memory.getLocal(),getSession:()=>qx.core.Environment.get("html.storage.local")?qx.bom.storage.Web.getSession():qx.core.Environment.get("html.storage.userdata")?qx.bom.storage.UserData.getSession():qx.bom.storage.Memory.getSession()}});qx.bom.Storage.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Grow",{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true(e,t,r){this.assert(!1,"The property '"+t+"' is not supported by the Grow layout!")},false:null}),renderLayout(e,t,r){for(var i,n,o,a,s=this._getLayoutChildren(),l=0,u=s.length;ln.maxWidth&&(o=n.maxWidth);(a=t)n.maxHeight&&(a=n.maxHeight);i.renderLayout(r.left,r.top,o,a)}},_computeSizeHint(){for(var e,t=this._getLayoutChildren(),r=0,i=0,n=0,o=0,a=1/0,s=1/0,l=0,u=t.length;lnew qxl.datagrid.source.ArrayDataSource,grid(){return new qxl.datagrid.DataGrid(this.getQxObject("columns")).set({dataSource:this.getQxObject("dataSource")})},columns(){const e=new qxl.datagrid.column.Columns;e.add((new qxl.datagrid.column.TextColumn).set({path:"title",caption:"Title",minWidth:200,flex:1}));e.add((new qxl.datagrid.column.TextColumn).set({path:"author",caption:"Author",minWidth:200}));e.add((new qxl.datagrid.column.DateColumn).set({path:"date",caption:"Date",minWidth:200}));return e}},members:{async init(){this.getQxObject("dataSource").setColumns(this.getQxObject("columns"));const e=new qx.data.Array(...Array.from({length:100},(()=>new qxl.datagrid.demo.array.DummyModel)));this.getQxObject("dataSource").setModel(e)}}});qxl.datagrid.demo.array.ArrayDemo.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.container.Composite":{construct:!0,require:!0},"qx.ui.layout.VBox":{construct:!0},"qxl.datagrid.demo.tree.TreeDemoNodeInspector":{},"qxl.datagrid.source.tree.TreeDataSource":{},"qx.ui.toolbar.ToolBar":{},"qx.ui.toolbar.Button":{},"qxl.datagrid.demo.tree.TreeDemoFileNode":{},"qxl.datagrid.column.Columns":{},"qxl.datagrid.column.tree.ExpansionColumn":{},"qxl.datagrid.column.FileSizeColumn":{},"qxl.datagrid.column.TextColumn":{},"qxl.datagrid.column.DateColumn":{},"qx.util.format.DateFormat":{},"qxl.datagrid.DataGrid":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.demo.tree.TreeDemo",{extend:qx.ui.container.Composite,construct(){qx.ui.container.Composite.constructor.call(this);this.setLayout(new qx.ui.layout.VBox);let e=this.getQxObject("grid");this.add(this.getQxObject("toolbar"));this.add(e,{flex:1})},objects:{dataSource(){var e=new qxl.datagrid.demo.tree.TreeDemoNodeInspector;return new qxl.datagrid.source.tree.TreeDataSource((()=>e),this.getQxObject("columns"))},toolbar(){var e=new qx.ui.toolbar.ToolBar;e.add(this.getQxObject("btnAdd"));e.add(this.getQxObject("btnRemoveChild"));e.add(this.getQxObject("btnExpandAll"));return e},btnAdd(){var e=new qx.ui.toolbar.Button("Add child");e.addListener("execute",(()=>{let e=(new qxl.datagrid.demo.tree.TreeDemoFileNode).set({name:"Cat pictures",permissions:"-rw-",lastModified:new Date});this._getSelectedNode().getChildren().push(e);this._updateUi()}));return e},btnRemoveChild(){var e=new qx.ui.toolbar.Button("Remove last child");e.addListener("execute",(()=>{let e=this._getSelectedNode();e.getChildren().removeAt(e.getChildren().length-1);this._updateUi()}));return e},btnExpandAll(){var e=new qx.ui.toolbar.Button("Expand All");e.addListener("execute",(async()=>{var e=this.getQxObject("dataSource");const t=async(r,i)=>{await e.expandNode(r);if(i<=2){let n=e.getNodeInspectorFactory()(r),o=await n.getChildrenOf(r);if(o)for(let e of o)await t(e,i+1)}};await t(e.getRoot(),1)}));return e},columns(){var e=new qxl.datagrid.column.Columns;e.add((new qxl.datagrid.column.tree.ExpansionColumn).set({caption:"Name",path:"name",minWidth:160,flex:1,iconPathProvider:e=>"directory"==e.getType()?"@MaterialIcons/folder/16":"@MaterialIcons/description/16"}));e.add((new qxl.datagrid.column.FileSizeColumn).set({caption:"Size",path:"size",minWidth:70}));e.add((new qxl.datagrid.column.TextColumn).set({caption:"Permissions",path:"permissions",minWidth:100}));e.add((new qxl.datagrid.column.DateColumn).set({caption:"Last Modified",path:"lastModified",minWidth:240,dateFormat:new qx.util.format.DateFormat("dd/MM/yyyy hh:mm")}));return e},grid(){var e=this.getQxObject("dataSource"),t=new qxl.datagrid.DataGrid(this.getQxObject("columns")).set({dataSource:e});t.getSelection().addListener("change",this._updateUi,this);return t}},members:{async init(){this.getQxObject("dataSource").setRoot(await qxl.datagrid.demo.tree.TreeDemoFileNode.createDummyRoot())},_getSelectedNode(){var e;return null!==(e=this.getQxObject("grid").getSelection().getItem(0))&&void 0!==e?e:this.getQxObject("dataSource").getRoot()},_updateUi(){var e;let t=this._getSelectedNode();this.getQxObject("btnRemoveChild").setEnabled(!!t.getChildren()&&(null===(e=t.getChildren())||void 0===e?void 0:e.length)>0);this.getQxObject("btnAdd").setEnabled(this.getQxObject("dataSource").getNodeInspectorFactory()().canHaveChildren(t))}}});qxl.datagrid.demo.tree.TreeDemo.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.container.Composite":{construct:!0,require:!0},"qx.ui.layout.VBox":{construct:!0},"qx.ui.layout.Grid":{construct:!0},"qx.ui.basic.Label":{construct:!0},"qx.ui.layout.HBox":{construct:!0},"qx.ui.form.RadioButton":{construct:!0},"qx.ui.form.RadioGroup":{construct:!0},"qxl.datagrid.demo.biggrid.DummyDataSource":{},"qxl.datagrid.column.Columns":{},"qxl.datagrid.column.TextColumn":{},"qxl.datagrid.util.Labels":{},"qxl.datagrid.DataGrid":{},"qxl.datagrid.source.Range":{},"qxl.datagrid.source.Position":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.demo.biggrid.BigGridDemo",{extend:qx.ui.container.Composite,construct(){qx.ui.container.Composite.constructor.call(this);this.setLayout(new qx.ui.layout.VBox);let e=this.getQxObject("grid");{let t=new qx.ui.container.Composite(new qx.ui.layout.Grid(5,3));t.add(new qx.ui.basic.Label("Selection Style : "),{row:0,column:0});let r=new qx.ui.container.Composite(new qx.ui.layout.HBox(5)),i=new qx.ui.form.RadioButton("Row");r.add(i.set({model:"row"}));let n=new qx.ui.form.RadioButton("Cell");r.add(n.set({model:"cell"}));let o=new qx.ui.form.RadioButton("Area");r.add(o.set({model:"area"}));t.add(r,{row:0,column:1});let a=new qx.ui.form.RadioGroup(i,n,o);a.addListener("changeSelection",(t=>{let r=t.getData()[0];e.getSelectionManager().setSelectionStyle(r.getModel())}));a.setSelection([n]);this.add(t)}{let t=new qx.ui.container.Composite(new qx.ui.layout.Grid(5,3));t.add(new qx.ui.basic.Label("Selection Mode : "),{row:0,column:0});let r=new qx.ui.container.Composite(new qx.ui.layout.HBox(5)),i=new qx.ui.form.RadioButton("One").set({model:"one"});r.add(i);let n=new qx.ui.form.RadioButton("Single").set({model:"single"});r.add(n);let o=new qx.ui.form.RadioButton("Multi").set({model:"multi"});r.add(o);let a=new qx.ui.form.RadioButton("Additive").set({model:"additive"});r.add(a);t.add(r,{row:0,column:1});let s=new qx.ui.form.RadioGroup(i,n,o,a);s.addListener("changeSelection",(t=>{let r=t.getData()[0];e.getSelectionManager().setSelectionMode(r.getModel())}));s.setSelection([o]);this.add(t)}this.add(e,{flex:1})},objects:{dataSource:()=>new qxl.datagrid.demo.biggrid.DummyDataSource(1e6,1e4),grid(){var e=this.getQxObject("dataSource"),t=new qxl.datagrid.column.Columns;for(let r=0;r{let t=e.getData();console.log("Selection changed to "+t.map((e=>e.toString())).join(","))}));return r}},members:{async init(){let e=this.getQxObject("dataSource");await e.makeAvailable(new qxl.datagrid.source.Range([0,0],[10,10]));let t=this.getQxObject("grid");const r=(t,r)=>e.getModelForPosition(new qxl.datagrid.source.Position(t,r));t.getSelection().replace([r(1,0),r(2,0),r(3,0)]);t.getSelectionManager().setFocused(r(4,4))}}});qxl.datagrid.demo.biggrid.BigGridDemo.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.String":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.ColorUtil",{statics:{REGEXP:{hexShort:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])?$/,hexLong:/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})?$/,hex3:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,hex6:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,rgb:/^rgb\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/,rgba:/^rgba\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,2}[0-9]*)\s*\)$/},SYSTEM:{activeborder:!0,activecaption:!0,appworkspace:!0,background:!0,buttonface:!0,buttonhighlight:!0,buttonshadow:!0,buttontext:!0,captiontext:!0,graytext:!0,highlight:!0,highlighttext:!0,inactiveborder:!0,inactivecaption:!0,inactivecaptiontext:!0,infobackground:!0,infotext:!0,menu:!0,menutext:!0,scrollbar:!0,threeddarkshadow:!0,threedface:!0,threedhighlight:!0,threedlightshadow:!0,threedshadow:!0,window:!0,windowframe:!0,windowtext:!0},NAMED:{black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:[-1,-1,-1],magenta:[255,0,255],orange:[255,165,0],brown:[165,42,42]},isNamedColor(e){return void 0!==this.NAMED[e]},isSystemColor(e){return void 0!==this.SYSTEM[e]},supportsThemes:()=>!!qx.Class&&qx.Class.isDefined("qx.theme.manager.Color"),isThemedColor(e){return!!this.supportsThemes()&&(!!(qx.theme&&qx.theme.manager&&qx.theme.manager.Color)&&qx.theme.manager.Color.getInstance().isDynamic(e))},stringToRgb(e){this.supportsThemes()&&this.isThemedColor(e)&&(e=qx.theme.manager.Color.getInstance().resolveDynamic(e));return this.cssStringToRgb(e)},cssStringToRgb(e){var t;if(this.isNamedColor(e))t=this.NAMED[e].concat();else{if(this.isSystemColor(e))throw new Error("Could not convert system colors to RGB: "+e);this.isRgbaString(e)?t=this.__P_140_0(e):this.isRgbString(e)?t=this.__P_140_1():this.ishexShortString(e)?t=this.__P_140_2():this.ishexLongString(e)&&(t=this.__P_140_3())}if(t){3===t.length&&1==t[3]&&t.pop();return t}throw new Error("Could not parse color: "+e)},stringToRgbString(e){return this.rgbToRgbString(this.stringToRgb(e))},rgbToRgbString:e=>"rgb"+(4===e.length?"a":"")+"("+e.map((function(e){return Math.round(1e3*e)/1e3})).join(",")+")",rgbToHexString:e=>"#"+qx.lang.String.pad(e[0].toString(16).toUpperCase(),2)+qx.lang.String.pad(e[1].toString(16).toUpperCase(),2)+qx.lang.String.pad(e[2].toString(16).toUpperCase(),2)+(4===e.length&&1!==e[3]?qx.lang.String.pad(Math.round(255*e[3]).toString(16).toUpperCase(),2):""),isValidPropertyValue(e){return this.isThemedColor(e)||this.isNamedColor(e)||this.ishexShortString(e)||this.ishexLongString(e)||this.isRgbString(e)||this.isRgbaString(e)},isCssString(e){return this.isSystemColor(e)||this.isNamedColor(e)||this.ishexShortString(e)||this.ishexLongString(e)||this.isRgbString(e)||this.isRgbaString(e)},ishexShortString(e){return this.REGEXP.hexShort.test(e)},isHex3String(e){return this.REGEXP.hex3.test(e)},isHex6String(e){return this.REGEXP.hex6.test(e)},ishexLongString(e){return this.REGEXP.hexLong.test(e)},isRgbString(e){return this.REGEXP.rgb.test(e)},isRgbaString(e){return this.REGEXP.rgba.test(e)},__P_140_1:()=>[parseInt(RegExp.$1,10),parseInt(RegExp.$2,10),parseInt(RegExp.$3,10)],__P_140_0(){var e=parseInt(RegExp.$1,10),t=parseInt(RegExp.$2,10),r=parseInt(RegExp.$3,10),i=parseFloat(RegExp.$4,10);return 0===e&&0===t&0===r&&0===i?[-1,-1,-1]:1==i?[e,t,r]:[e,t,r,i]},__P_140_2(){var e=17*parseInt(RegExp.$1,16),t=17*parseInt(RegExp.$2,16),r=17*parseInt(RegExp.$3,16),i=Math.round(parseInt(RegExp.$4||"f",16)/15*1e3)/1e3;return 1==i?[e,t,r]:[e,t,r,i]},__P_140_4:()=>[17*parseInt(RegExp.$1,16),17*parseInt(RegExp.$2,16),17*parseInt(RegExp.$3,16)],__P_140_5:()=>[16*parseInt(RegExp.$1,16)+parseInt(RegExp.$2,16),16*parseInt(RegExp.$3,16)+parseInt(RegExp.$4,16),16*parseInt(RegExp.$5,16)+parseInt(RegExp.$6,16)],__P_140_3(){var e=parseInt(RegExp.$1,16),t=parseInt(RegExp.$2,16),r=parseInt(RegExp.$3,16),i=Math.round(parseInt(RegExp.$4||"ff",16)/255*1e3)/1e3;return 1==i?[e,t,r]:[e,t,r,i]},hex3StringToRgb(e){if(this.isHex3String(e))return this.__P_140_4(e);throw new Error("Invalid hex3 value: "+e)},hex3StringToHex6String(e){return this.isHex3String(e)?this.rgbToHexString(this.hex3StringToRgb(e)):e},hex6StringToRgb(e){if(this.isHex6String(e))return this.__P_140_5(e);throw new Error("Invalid hex6 value: "+e)},hexStringToRgb(e){if(this.ishexShortString(e))return this.__P_140_2(e);if(this.ishexLongString(e))return this.__P_140_3(e);throw new Error("Invalid hex value: "+e)},rgbToHsb(e){var t,r,i,n=e[0],o=e[1],a=e[2],s=n>o?n:o;a>s&&(s=a);var l=n=1&&(a%=1);s>1&&(s=1);l>1&&(l=1);var u=Math.floor(255*l),c={};if(0==s)c.red=c.green=c.blue=u;else{r=(a*=6)-(t=Math.floor(a));i=Math.floor(u*(1-s));n=Math.floor(u*(1-s*r));o=Math.floor(u*(1-s*(1-r)));switch(t){case 0:c.red=u;c.green=o;c.blue=i;break;case 1:c.red=n;c.green=u;c.blue=i;break;case 2:c.red=i;c.green=u;c.blue=o;break;case 3:c.red=i;c.green=n;c.blue=u;break;case 4:c.red=o;c.green=i;c.blue=u;break;case 5:c.red=u;c.green=i;c.blue=n}}return[c.red,c.green,c.blue]},rgbToHsl(e){var t=e[0]/255,r=e[1]/255,i=e[2]/255,n=Math.max(t,r,i),o=n-Math.min(t,r,i),a=1-Math.abs(n+n-o-1),s=o&&(n==t?(r-i)/o:n==r?2+(i-t)/o:4+(t-r)/o);return[60*(s<0?s+6:s),100*(a?o/a:0),100*(n+n-o)/2]},hslToRgb(e){var t=e[0],r=e[1]/100,i=e[2]/100,n=r*Math.min(i,1-i),o=function(e){var r=(e+t/30)%12;return i-n*Math.max(Math.min(r-3,9-r,1),-1)};return[o(0),o(8),o(4)].map((function(e){return Math.round(2550*e)/10}))},randomColor(){var e=Math.round(255*Math.random()),t=Math.round(255*Math.random()),r=Math.round(255*Math.random());return this.rgbToRgbString([e,t,r])},__P_140_6(e,t,r,i){var n=this.stringToRgb(e);for(var o in t)if(0!=t[o])switch(o){case"red":n[0]=r(n[0],t[o],255);break;case"green":n[1]=r(n[1],t[o],255);break;case"blue":n[2]=r(n[2],t[o],255);break;case"alpha":n[3]=r(n[3]||1,t[o],1);break;case"hue":if(!i)throw new Error("Invalid key in map: "+o);(s=this.rgbToHsb(n))[0]=i(s[0],t[o]);var a=this.hsbToRgb(s);a[3]=n[3];n=a;break;case"saturation":(s=this.rgbToHsb(n))[1]=r(s[1],t[o],100);(a=this.hsbToRgb(s))[3]=n[3];n=a;break;case"brightness":var s;(s=this.rgbToHsb(n))[2]=r(s[2],t[o],100);(a=this.hsbToRgb(s))[3]=n[3];n=a;break;case"lightness":var l=this.rgbToHsl(n);l[2]=r(l[2],t[o],100);(a=this.hslToRgb(l))[3]=n[3];n=a;break;default:throw new Error("Invalid key in tune map: "+o)}4===n.length&&(void 0===n[3]||n[3]>=1?n.pop():n[3]<0&&(n[3]=0));[0,1,2].forEach((function(e){n[e]<0?n[e]=0:n[e]>255&&(n[e]=255)}));return this.rgbToRgbString(n)},scale(e,t){return this.__P_140_6(e,t,(function(e,t,r){e>r&&(e=r);if(t>0){t>100&&(t=100);return e+(r-e)*t/100}t<-100&&(t=-100);return e+e*t/100}))},adjust(e,t){return this.__P_140_6(e,t,(function(e,t,r){return(e+=t)>r?r:e<0?0:e}),(function(e,t){e+=t;for(;e>=360;)e-=360;for(;e<0;)e+=360;return e}))},luminance(e){var t=this.stringToRgb(e),r=function(e){var r=t[e]/255;return r<.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)};return.2126*r(0)+.7152*r(1)+.0722*r(2)},contrast(e,t){var r=this.luminance(e)+.05,i=this.luminance(t)+.5;return Math.max(r,i)/Math.min(r,i)},chooseContrastingColor(e,t,r,i){"string"==typeof e&&(e=qx.util.ColorUtil.stringToRgb(e));t||(t=128);return(299*e[0]+587*e[1]+114*e[2])/1e3>=t?r||"#000":i||"#fff"}}});qx.util.ColorUtil.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.decoration.IDecorator",{members:{getStyles(){},getPadding(){},getInsets(){}}});qx.ui.decoration.IDecorator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.ui.decoration.IDecorator":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.decoration.Abstract",{extend:qx.core.Object,implement:[qx.ui.decoration.IDecorator],type:"abstract",members:{__P_180_0:null,_getDefaultInsets(){throw new Error("Abstract method called.")},_isInitialized(){throw new Error("Abstract method called.")},_resetInsets(){this.__P_180_0=null},getInsets(){this.__P_180_0||(this.__P_180_0=this._getDefaultInsets());return this.__P_180_0}},destruct(){this.__P_180_0=null}});qx.ui.decoration.Abstract.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.theme.manager.Color":{}},environment:{provided:[],required:{"qx.theme":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBackgroundColor",{properties:{backgroundColor:{check:"Color",nullable:!0,apply:"_applyBackgroundColor"}},members:{_styleBackgroundColor(e){var t=this.getBackgroundColor();t&&qx.core.Environment.get("qx.theme")&&(t=qx.theme.manager.Color.getInstance().resolve(t));t&&(e["background-color"]=t)},_applyBackgroundColor(){}}});qx.ui.decoration.MBackgroundColor.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBorderRadius",{properties:{radiusTopLeft:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radiusTopRight:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radiusBottomLeft:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radiusBottomRight:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radius:{group:["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"],mode:"shorthand"}},members:{_styleBorderRadius(e){e["-webkit-background-clip"]="padding-box";e["background-clip"]="padding-box";var t=!1,r=this.getRadiusTopLeft();if(r>0){t=!0;e["-moz-border-radius-topleft"]=r+"px";e["-webkit-border-top-left-radius"]=r+"px";e["border-top-left-radius"]=r+"px"}if((r=this.getRadiusTopRight())>0){t=!0;e["-moz-border-radius-topright"]=r+"px";e["-webkit-border-top-right-radius"]=r+"px";e["border-top-right-radius"]=r+"px"}if((r=this.getRadiusBottomLeft())>0){t=!0;e["-moz-border-radius-bottomleft"]=r+"px";e["-webkit-border-bottom-left-radius"]=r+"px";e["border-bottom-left-radius"]=r+"px"}if((r=this.getRadiusBottomRight())>0){t=!0;e["-moz-border-radius-bottomright"]=r+"px";e["-webkit-border-bottom-right-radius"]=r+"px";e["border-bottom-right-radius"]=r+"px"}t&&"webkit"==qx.core.Environment.get("engine.name")?e["-webkit-background-clip"]="padding-box":e["background-clip"]="padding-box"},_applyBorderRadius(){}}});qx.ui.decoration.MBorderRadius.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.bom.client.Css":{require:!0},"qx.bom.Style":{},"qx.theme.manager.Color":{}},environment:{provided:[],required:{"css.boxshadow":{className:"qx.bom.client.Css"},"qx.theme":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBoxShadow",{properties:{shadowHorizontalLength:{nullable:!0,apply:"_applyBoxShadow"},shadowVerticalLength:{nullable:!0,apply:"_applyBoxShadow"},shadowBlurRadius:{nullable:!0,apply:"_applyBoxShadow"},shadowSpreadRadius:{nullable:!0,apply:"_applyBoxShadow"},shadowColor:{nullable:!0,apply:"_applyBoxShadow"},inset:{init:!1,apply:"_applyBoxShadow"},shadowLength:{group:["shadowHorizontalLength","shadowVerticalLength"],mode:"shorthand"}},members:{_styleBoxShadow(e){var t=qx.core.Environment.get("css.boxshadow");if(t&&(null!=this.getShadowVerticalLength()||null!=this.getShadowHorizontalLength())){t=qx.bom.Style.getCssName(t);var r=null;qx.core.Environment.get("qx.theme")&&(r=qx.theme.manager.Color.getInstance());(function(i,n,o,a,s,l){for(var u=0;u0&&(e["border-top"]=a+"px "+this.getStyleTop()+" "+(r||""));(a=this.getWidthRight())>0&&(e["border-right"]=a+"px "+this.getStyleRight()+" "+(i||""));(a=this.getWidthBottom())>0&&(e["border-bottom"]=a+"px "+this.getStyleBottom()+" "+(n||""));(a=this.getWidthLeft())>0&&(e["border-left"]=a+"px "+this.getStyleLeft()+" "+(o||""));e.position="absolute"},_getDefaultInsetsForBorder(){return{top:this.getWidthTop(),right:this.getWidthRight(),bottom:this.getWidthBottom(),left:this.getWidthLeft()}},_applyWidth(){this._applyStyle();this._resetInsets()},_applyStyle(){}}});qx.ui.decoration.MSingleBorder.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.lang.Type":{},"qx.util.AliasManager":{},"qx.util.ResourceManager":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBackgroundImage",{properties:{backgroundImage:{nullable:!0,apply:"_applyBackgroundImage"},backgroundRepeat:{init:"repeat",apply:"_applyBackgroundImage"},backgroundPositionX:{nullable:!0,apply:"_applyBackgroundPosition"},backgroundPositionY:{nullable:!0,apply:"_applyBackgroundPosition"},backgroundOrigin:{nullable:!0,apply:"_applyBackgroundImage"},backgroundPosition:{group:["backgroundPositionY","backgroundPositionX"]},orderGradientsFront:{check:"Boolean",init:!1}},members:{_styleBackgroundImage(e){if(this.getBackgroundImage()){"background"in e?qx.lang.Type.isArray(e.background)||(e.background=[e.background]):e.background=[];(function(t,r,i,n,o){for(var a=0;a0&&(e["border-top"]=a+"px "+this.getStyleTop()+" "+t.top);(a=this.getWidthRight())>0&&(e["border-right"]=a+"px "+this.getStyleRight()+" "+t.right);(a=this.getWidthBottom())>0&&(e["border-bottom"]=a+"px "+this.getStyleBottom()+" "+t.bottom);(a=this.getWidthLeft())>0&&(e["border-left"]=a+"px "+this.getStyleLeft()+" "+t.left);var s=this.getInnerOpacity();s<1&&this.__P_181_2(r,s);if(i.top>0||i.right>0||i.bottom>0||i.left>0){var l=(i.top||0)+"px solid "+r.top,u=(i.right||0)+"px solid "+r.right,c=(i.bottom||0)+"px solid "+r.bottom,h=(i.left||0)+"px solid "+r.left;e[":before"]={width:"100%",height:"100%",position:"absolute",content:'""',"border-top":l,"border-right":u,"border-bottom":c,"border-left":h,left:0,top:0};var d=qx.bom.Style.getCssName(qx.core.Environment.get("css.boxsizing"));e[":before"][d]="border-box";var f=qx.core.Environment.get("css.borderradius");if(f){f=qx.bom.Style.getCssName(f);e[":before"][f]="inherit"}var _=[];if(r.top&&i.top&&r.top==r.bottom&&r.top==r.right&&r.top==r.left&&i.top==i.bottom&&i.top==i.right&&i.top==i.left)_.push("inset 0 0 0 "+i.top+"px "+r.top);else{r.top&&_.push("inset 0 "+(i.top||0)+"px "+r.top);r.right&&_.push("inset -"+(i.right||0)+"px 0 "+r.right);r.bottom&&_.push("inset 0 -"+(i.bottom||0)+"px "+r.bottom);r.left&&_.push("inset "+(i.left||0)+"px 0 "+r.left)}_.length>0&&n&&(e[n=qx.bom.Style.getCssName(n)]?e[n]+=","+_.join(","):e[n]=_.join(","))}else e[":before"]={border:0}},__P_181_2(e,t){if(qx.core.Environment.get("css.rgba"))for(var r in e){var i=qx.util.ColorUtil.stringToRgb(e[r]);i.push(t);var n=qx.util.ColorUtil.rgbToRgbString(i);e[r]=n}},_applyDoubleBorder(){},__P_181_0(){return{top:this.getWidthTop()+this.getInnerWidthTop(),right:this.getWidthRight()+this.getInnerWidthRight(),bottom:this.getWidthBottom()+this.getInnerWidthBottom(),left:this.getWidthLeft()+this.getInnerWidthLeft()}}}});qx.ui.decoration.MDoubleBorder.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.bom.client.Css":{require:!0},"qx.lang.Type":{},"qx.util.ColorUtil":{},"qx.theme.manager.Color":{}},environment:{provided:[],required:{"css.gradient.legacywebkit":{className:"qx.bom.client.Css"},"css.gradient.linear":{className:"qx.bom.client.Css"},"css.borderradius":{className:"qx.bom.client.Css"},"qx.theme":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MLinearBackgroundGradient",{properties:{startColor:{nullable:!0,apply:"_applyLinearBackgroundGradient"},endColor:{nullable:!0,apply:"_applyLinearBackgroundGradient"},orientation:{init:"vertical",apply:"_applyLinearBackgroundGradient"},startColorPosition:{init:0,apply:"_applyLinearBackgroundGradient"},endColorPosition:{init:100,apply:"_applyLinearBackgroundGradient"},colorPositionUnit:{init:"%",apply:"_applyLinearBackgroundGradient"},gradientStart:{group:["startColor","startColorPosition"],mode:"shorthand"},gradientEnd:{group:["endColor","endColorPosition"],mode:"shorthand"}},members:{_styleLinearBackgroundGradient(e){var t=[];if(this.getStartColor()&&this.getEndColor()){var r=this.__P_182_0;qx.core.Environment.get("css.gradient.legacywebkit")?r=this.__P_182_1:!qx.core.Environment.get("css.gradient.linear")&&qx.core.Environment.get("css.borderradius")?r=this.__P_182_2:qx.core.Environment.get("css.gradient.linear")||(r=this.__P_182_3);(function(i,n,o,a,s,l){for(var u=0;uqx.core.Environment.get("qx.theme")?qx.theme.manager.Color.getInstance().resolve(e):e,_applyLinearBackgroundGradient(){}}});qx.ui.decoration.MLinearBackgroundGradient.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.util.AliasManager":{},"qx.util.ResourceManager":{},"qx.bom.client.Css":{require:!0},"qx.bom.Style":{}},environment:{provided:[],required:{"css.borderimage.standardsyntax":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBorderImage",{properties:{borderImage:{check:"String",nullable:!0,apply:"_applyBorderImage"},sliceTop:{check:"Integer",nullable:!0,init:null,apply:"_applyBorderImage"},sliceRight:{check:"Integer",nullable:!0,init:null,apply:"_applyBorderImage"},sliceBottom:{check:"Integer",nullable:!0,init:null,apply:"_applyBorderImage"},sliceLeft:{check:"Integer",nullable:!0,init:null,apply:"_applyBorderImage"},slice:{group:["sliceTop","sliceRight","sliceBottom","sliceLeft"],mode:"shorthand"},repeatX:{check:["stretch","repeat","round"],init:"stretch",apply:"_applyBorderImage"},repeatY:{check:["stretch","repeat","round"],init:"stretch",apply:"_applyBorderImage"},repeat:{group:["repeatX","repeatY"],mode:"shorthand"},fill:{check:"Boolean",init:!0,apply:"_applyBorderImage"},borderImageMode:{check:["horizontal","vertical","grid"],init:"grid"}},members:{_styleBorderImage(e){if(this.getBorderImage()){var t=qx.util.AliasManager.getInstance().resolve(this.getBorderImage()),r=qx.util.ResourceManager.getInstance().toUri(t),i=this._getDefaultInsetsForBorderImage(),n=[i.top,i.right,i.bottom,i.left],o=[this.getRepeatX(),this.getRepeatY()].join(" "),a=this.getFill()&&qx.core.Environment.get("css.borderimage.standardsyntax")?" fill":"",s=qx.bom.Style.getPropertyName("borderImage");if(s){e[qx.bom.Style.getCssName(s)]='url("'+r+'") '+n.join(" ")+a+" "+o}e["border-style"]="solid";e["border-color"]="transparent";e["border-width"]=n.join("px ")+"px"}},_getDefaultInsetsForBorderImage(){if(!this.getBorderImage())return{top:0,right:0,bottom:0,left:0};var e=qx.util.AliasManager.getInstance().resolve(this.getBorderImage()),t=this.__P_183_0(e);return{top:this.getSliceTop()||t[0],right:this.getSliceRight()||t[1],bottom:this.getSliceBottom()||t[2],left:this.getSliceLeft()||t[3]}},_applyBorderImage(){},__P_183_0(e){var t=this.getBorderImageMode(),r=0,i=0,n=0,o=0,a=/(.*)(\.[a-z]+)$/.exec(e),s=a[1],l=a[2],u=qx.util.ResourceManager.getInstance();if("grid"==t||"vertical"==t){r=u.getImageHeight(s+"-t"+l);n=u.getImageHeight(s+"-b"+l)}if("grid"==t||"horizontal"==t){i=u.getImageWidth(s+"-r"+l);o=u.getImageWidth(s+"-l"+l)}return[r,i,n,o]}}});qx.ui.decoration.MBorderImage.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.bom.client.CssTransition":{require:!0},"qx.bom.client.Browser":{},"qx.bom.Style":{}},environment:{provided:[],required:{"css.transition":{className:"qx.bom.client.CssTransition"}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MTransition",{properties:{transitionProperty:{nullable:!0,apply:"_applyTransition"},transitionDuration:{nullable:!0,apply:"_applyTransition"},transitionTimingFunction:{nullable:!0,apply:"_applyTransition"},transitionDelay:{nullable:!0,apply:"_applyTransition"}},members:{_styleTransition(e){var t=qx.core.Environment.get("css.transition");if(t&&null!=this.getTransitionDuration()){"chrome"===qx.bom.client.Browser.getName()&&qx.bom.client.Browser.getVersion()>=71&&(e.transform||(e.transform="translateZ(0)"));t=qx.bom.Style.getCssName(t.name);(function(r,i,n,o){for(var a=0;at[o]&&(t[o]=i[o])}return null!=t.top?t:{top:0,right:0,bottom:0,left:0}},_isInitialized(){return this.__P_142_0},_getExtendedPropertyValueArrays(e){for(var t=e.map((function(e){var t=this.get(e);qx.lang.Type.isArray(t)||(t=[t]);return t}),this),r=Math.max.apply(Math,t.map((function(e){return e.length}))),i=0;i0&&r.setFamily(n);return r},fromConfig(e){var t=new qx.bom.Font;t.set(e);return t},__P_137_1:{fontFamily:"",fontSize:"",fontWeight:"",fontStyle:"",textDecoration:"",lineHeight:1.2,color:"",textShadow:"",letterSpacing:""},getDefaultStyles(){return this.__P_137_1}},properties:{size:{check:"Integer",nullable:!0,apply:"_applySize"},lineHeight:{check:"Number",nullable:!0,apply:"_applyLineHeight"},comparisonString:{check:"String",init:null,nullable:!0},version:{check:e=>null===e||"string"==typeof e&&/^[a-zA-Z0-9.-]+$/.test(e),init:null,nullable:!0},family:{check:"Array",nullable:!0,apply:"_applyFamily"},bold:{check:"Boolean",nullable:!0,apply:"_applyBold"},italic:{check:"Boolean",nullable:!0,apply:"_applyItalic"},decoration:{check:["underline","line-through","overline"],nullable:!0,apply:"_applyDecoration"},color:{check:"Color",nullable:!0,apply:"_applyColor"},textShadow:{nullable:!0,check:"String",apply:"_applyTextShadow"},weight:{nullable:!0,check:"String",apply:"_applyWeight"},letterSpacing:{check:"Integer",nullable:!0,apply:"_applyLetterSpacing"},fontName:{check:"String",nullable:!0,apply:"_applyFontName"}},members:{__P_137_0:null,loadComplete(){},_applySize(e,t){this.__P_137_0.fontSize=null===e?null:e+"px"},_applyLineHeight(e,t){this.__P_137_0.lineHeight=null===e?null:e},_applyFamily(e,t){for(var r="",i=0,n=e.length;i0?r+="'"+e[i]+"'":r+=e[i];i!==n-1&&(r+=",")}this.__P_137_0.fontFamily=r},_applyFontName(e){if(e){let t=qx.theme.manager.Font.getInstance().getManifestFonts()[e];if(t){let e={};["family","comparisonString"].forEach((r=>{void 0!==t[r]&&(e[r]=t[r])}));this.set(e)}else this.warn("Cannot find a font called "+e)}},_applyBold(e,t){this.__P_137_0.fontWeight=null==e?null:e?"bold":"normal"},_applyItalic(e,t){this.__P_137_0.fontStyle=null==e?null:e?"italic":"normal"},_applyDecoration(e,t){this.__P_137_0.textDecoration=null==e?null:e},_applyColor(e,t){this.__P_137_0.color=null;e&&(this.__P_137_0.color=qx.theme.manager.Color.getInstance().resolve(e))},_applyWeight(e,t){this.__P_137_0.fontWeight=e},_applyTextShadow(e,t){this.__P_137_0.textShadow=null==e?null:e},_applyLetterSpacing(e,t){this.__P_137_0.letterSpacing=null===e?null:e+"px"},getStyles(){return this.__P_137_0}}});qx.bom.Font.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.bom.webfonts.Validator":{},"qx.bom.webfonts.WebFont":{},"qx.util.ResourceManager":{},"qx.lang.Array":{},"qx.Promise":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.Stylesheet":{},"qx.bom.client.OperatingSystem":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"},"browser.name":{className:"qx.bom.client.Browser"},"browser.version":{className:"qx.bom.client.Browser"},"os.name":{className:"qx.bom.client.OperatingSystem"},"os.version":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.webfonts.WebFontLoader",{extend:qx.core.Object,construct(e){qx.core.Object.constructor.call(this);this.setFontFamily(e);this.__P_144_0={}},properties:{fontFamily:{check:"String"},fontFaces:{nullable:!0,apply:"_applyFontFaces"},css:{nullable:!0,check:"Array"},comparisonString:{check:"String",init:null,nullable:!0},version:{check:e=>null===e||"string"==typeof e&&/^[a-zA-Z0-9.-]+$/.test(e),init:null,nullable:!0}},members:{__P_144_1:null,__P_144_2:null,_validators:null,getValidator(e,t){let r=(e=e||"normal")+"::"+(t=t||"normal"),i=this.__P_144_0[r];if(!i){i=this.__P_144_0[r]=new qx.bom.webfonts.Validator(this.getFontFamily(),this.getComparisonString(),e,t);i.setTimeout(qx.bom.webfonts.WebFont.VALIDATION_TIMEOUT);i.validate()}return i},async load(){(this.getCss()||[]).forEach((e=>{e.match(/^https?:/)||(e=qx.util.ResourceManager.getInstance().toUri(e));if(this.getVersion()){e+=e.indexOf("?")<0?"?":"&";e+=this.getVersion()}qx.bom.webfonts.WebFontLoader.__P_144_3(e)}));let e=this.getFontFaces();if(e){e.forEach((e=>{e.paths&&(e.paths=e.paths.map((e=>{e.match(/^https?:/)||(e=qx.util.ResourceManager.getInstance().toUri(e));if(this.getVersion()){e+=e.indexOf("?")<0?"?":"&";e+=this.getVersion()}return e})))}));this.__P_144_1=qx.lang.Array.clone(e);this.__P_144_2=new qx.Promise}this.__P_144_4()},async promiseLoaded(){return await this.__P_144_2},__P_144_4(){if(null==this.__P_144_1)return;let e=this.__P_144_1.pop();this.__P_144_5(e);if(0==this.__P_144_1.length){this.__P_144_1=null;this.__P_144_2.resolve(!0)}"mshtml"==qx.core.Environment.get("engine.name")&&(parseInt(qx.core.Environment.get("engine.version"))<9||qx.core.Environment.get("browser.documentmode")<9)?setTimeout((()=>this.__P_144_4()),100):this.__P_144_4()},__P_144_5(e){let t=e.fontFamily||this.getFontFamily(),r=qx.bom.webfonts.WebFontLoader.createFontLookupKey(t,e.fontWeight||"normal",e.fontStyle||"normal");if(qx.bom.webfonts.WebFontLoader.__P_144_6[r])return;if(!qx.bom.webfonts.WebFontLoader.__P_144_7){let e=qx.bom.Stylesheet.createElement();qx.bom.webfonts.WebFontLoader.__P_144_7=e}const i=new RegExp(".("+qx.bom.webfonts.WebFontLoader.getPreferredFormats().join("|")+")");let n=[];for(let t=0;t{e.fontFormat}));let o="src: ";for(let e=0;e0&&(o+=", ");o+="url('"+new URL(n[e].url,document.baseURI).href+"')";e>0&&(o+=" format('"+n[e].format+"')")}o+=";\n";let a="font-family: "+t+";\n";a+=o+"\n";a+="font-style: "+(e.fontStyle||"normal")+";\n";a+="font-weight: "+(e.fontWeight||"normal")+";\n";a="@font-face {\n"+a+"}\n";let s=qx.bom.webfonts.WebFontLoader.__P_144_7;try{if("ie"==qx.core.Environment.get("browser.name")&&qx.core.Environment.get("browser.documentmode")<9){let e=qx.bom.webfonts.WebFontLoader.__P_144_8(s.cssText);e+=a;s.cssText=e}else s.insertRule(a,s.cssRules.length)}catch(e){}qx.bom.webfonts.WebFontLoader.__P_144_6[r]=!0},_applyFontFaces(e,t){for(var r=[],i=0,n=e.length;ie.replace(/["']/g,"")},statics:{FONT_FORMATS:["eot","woff2","woff","ttf","svg"],VALIDATION_TIMEOUT:5e3,__P_144_9:null,__P_144_10:{},__P_144_6:{},__P_144_11:{},getLoader(e,t){let r=qx.bom.webfonts.WebFontLoader.__P_144_11[e];!r&&t&&(r=qx.bom.webfonts.WebFontLoader.__P_144_11[e]=new qx.bom.webfonts.WebFontLoader(e));return r},__P_144_3(e){if(!qx.bom.webfonts.WebFontLoader.__P_144_10[e]){qx.bom.Stylesheet.includeFile(e);qx.bom.webfonts.WebFontLoader.__P_144_10[e]=!0}},createFontLookupKey:(e,t,r)=>e+"_"+(t||"normal")+"_"+(r||"normal"),__P_144_12(e){for(var t=qx.bom.webfonts.WebFontLoader.FONT_FORMATS,r={},i=new RegExp(".("+t.join("|")+")"),n=0,o=e.length;n=14||"firefox"==t&&r>=69||"chrome"==t&&r>=36)&&e.push("woff2");("ie"==t&&qx.core.Environment.get("browser.documentmode")>=9||"edge"==t&&r>=12||"firefox"==t&&r>=3.6||"chrome"==t&&r>=6)&&e.push("woff");("edge"==t&&r>=12||"opera"==t&&r>=10||"safari"==t&&r>=3.1||"firefox"==t&&r>=3.5||"chrome"==t&&r>=4||"mobile safari"==t&&"ios"==i&&n>=4.2)&&e.push("ttf");"ie"==t&&r>=4&&e.push("eot");"mobileSafari"==t&&"ios"==i&&n>=4.1&&e.push("svg");return qx.bom.webfonts.WebFontLoader.__P_144_9=e},__P_144_8:e=>e.replace("'eot)","'eot')").replace("('embedded-opentype)","('embedded-opentype')")}});qx.bom.webfonts.WebFontLoader.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.bom.Font":{require:!0},"qx.bom.webfonts.WebFontLoader":{},"qx.Promise":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.webfonts.WebFont",{extend:qx.bom.Font,properties:{valid:{init:!1,check:"Boolean",event:"changeValid",apply:"__P_136_0"}},events:{changeStatus:"qx.event.type.Data"},members:{__P_136_1:null,__P_136_2:null,toString(){let e=this.isBold()?"bold":"normal";null!==this.getWeight()&&(e=this.getWeight());let t=this.isItalic()?"italic":"normal";return this.getFamily().join(",")+"["+e+"::"+t+"] "+this.toHashCode()},loadComplete(){let e=[];for(let t of this.getFamily()){let r=qx.bom.webfonts.WebFontLoader.getLoader(t);if(r){let t=this.isBold()?"bold":"normal";null!==this.getWeight()&&(t=this.getWeight());let i=this.isItalic()?"italic":"normal",n=r.getValidator(t,i);e.push(n.isValid())}}this.__P_136_2=qx.Promise.all(e).then((e=>{0==e.length||e.indexOf(!0)>-1?this.setValid(!0):this.setValid(!1)}))},async checkValid(){await this.__P_136_2},__P_136_0(e){this.fireDataEvent("changeStatus",{family:this.getFamily(),valid:e})}},statics:{VALIDATION_TIMEOUT:5e3}});qx.bom.webfonts.WebFont.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Timer":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.Idle",{extend:qx.core.Object,implement:[qx.core.IDisposable],type:"singleton",construct(){qx.core.Object.constructor.call(this)},events:{interval:"qx.event.type.Event"},properties:{timeoutInterval:{check:"Number",init:100,apply:"_applyTimeoutInterval"}},members:{__P_199_0:null,_applyTimeoutInterval(e){this.__P_199_0&&this.__P_199_0.setInterval(e)},_onInterval(){this.fireEvent("interval")},__P_199_1(){if(!this.__P_199_0&&this.hasListener("interval")){var e=new qx.event.Timer(this.getTimeoutInterval());e.addListener("interval",this._onInterval,this);e.start();this.__P_199_0=e}},__P_199_2(){if(this.__P_199_0&&!this.hasListener("interval")){this.__P_199_0.stop();this.__P_199_0.dispose();this.__P_199_0=null}},addListener(e,t,r,i){var n=qx.event.Idle.superclass.prototype.addListener.call(this,e,t,r,i);this.__P_199_1();return n},addListenerOnce(e,t,r,i){var n=qx.event.Idle.superclass.prototype.addListenerOnce.call(this,e,t,r,i);this.__P_199_1();return n},removeListener(e,t,r,i){var n=qx.event.Idle.superclass.prototype.removeListener.call(this,e,t,r,i);this.__P_199_2();return n},removeListenerById(e){var t=qx.event.Idle.superclass.prototype.removeListenerById.call(this,e);this.__P_199_2();return t}},destruct(){this.__P_199_0&&this.__P_199_0.stop();this.__P_199_0=null}});qx.event.Idle.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.util.placement.DirectAxis":{construct:!0},"qx.util.placement.KeepAlignAxis":{},"qx.util.placement.BestFitAxis":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.placement.Placement",{extend:qx.core.Object,construct(){qx.core.Object.constructor.call(this);this.__P_200_0=qx.util.placement.DirectAxis},properties:{axisX:{check:"Class"},axisY:{check:"Class"},edge:{check:["top","right","bottom","left"],init:"top"},align:{check:["top","right","bottom","left","center","middle"],init:"right"}},statics:{__P_200_1:null,compute(e,t,r,i,n,o,a){this.__P_200_1=this.__P_200_1||new qx.util.placement.Placement;var s=n.split("-"),l=s[0],u=s[1];this.__P_200_1.set({axisX:this.__P_200_2(o),axisY:this.__P_200_2(a),edge:l,align:u});return this.__P_200_1.compute(e,t,r,i)},__P_200_3:null,__P_200_4:null,__P_200_5:null,__P_200_2(e){switch(e){case"direct":this.__P_200_3=this.__P_200_3||qx.util.placement.DirectAxis;return this.__P_200_3;case"keep-align":this.__P_200_4=this.__P_200_4||qx.util.placement.KeepAlignAxis;return this.__P_200_4;case"best-fit":this.__P_200_5=this.__P_200_5||qx.util.placement.BestFitAxis;return this.__P_200_5;default:throw new Error("Invalid 'mode' argument!'")}}},members:{__P_200_0:null,compute(e,t,r,i){return{left:(this.getAxisX()||this.__P_200_0).computeStart(e.width,{start:r.left,end:r.right},{start:i.left,end:i.right},t.width,this.__P_200_6()),top:(this.getAxisY()||this.__P_200_0).computeStart(e.height,{start:r.top,end:r.bottom},{start:i.top,end:i.bottom},t.height,this.__P_200_7())}},__P_200_6(){var e=this.getEdge(),t=this.getAlign();return"left"==e?"edge-start":"right"==e?"edge-end":"left"==t?"align-start":"center"==t?"align-center":"right"==t?"align-end":void 0},__P_200_7(){var e=this.getEdge(),t=this.getAlign();return"top"==e?"edge-start":"bottom"==e?"edge-end":"top"==t?"align-start":"middle"==t?"align-center":"bottom"==t?"align-end":void 0}},destruct(){this._disposeObjects("__P_200_0")}});qx.util.placement.Placement.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.Registration":{construct:!0},"qx.bom.Element":{construct:!0},"qx.ui.core.Widget":{require:!0},"qx.lang.Array":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.popup.Manager",{type:"singleton",extend:qx.core.Object,construct(){qx.core.Object.constructor.call(this);this.__P_185_0=[];qx.event.Registration.addListener(document.documentElement,"pointerdown",this.__P_185_1,this,!0);qx.bom.Element.addListener(window,"blur",this.hideAll,this)},properties:{containsFunction:{check:"Function",init:qx.ui.core.Widget.contains}},members:{__P_185_0:null,add(e){this.__P_185_0.push(e);this.__P_185_2()},remove(e){qx.lang.Array.remove(this.__P_185_0,e);this.__P_185_2()},hideAll(){for(var e=this.__P_185_0.length,t={};e--;)(t=this.__P_185_0[e]).getAutoHide()&&t.exclude()},__P_185_2(){for(var e=1e7,t=0;t0';return t.firstChild.href}}});qx.util.Uri.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.CssAnimation":{require:!0},"qx.bom.Stylesheet":{},"qx.bom.Event":{},"qx.lang.String":{},"qx.bom.element.AnimationHandle":{},"qx.bom.element.Transform":{},"qx.bom.Style":{},"qx.bom.client.OperatingSystem":{defer:"load",require:!0}},environment:{provided:[],required:{"css.animation":{load:!0,className:"qx.bom.client.CssAnimation"},"qx.debug":{load:!0},"os.name":{defer:!0,className:"qx.bom.client.OperatingSystem"},"os.version":{defer:!0,className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.AnimationCss",{statics:{__P_207_0:null,__P_207_1:"Anni",__P_207_2:0,__P_207_3:{},__P_207_4:{scale:!0,rotate:!0,skew:!0,translate:!0},__P_207_5:qx.core.Environment.get("css.animation"),animateReverse(e,t,r){return this._animate(e,t,r,!0)},animate(e,t,r){return this._animate(e,t,r,!1)},_animate(e,t,r,i){this.__P_207_6(t);var n=t.keep;null!=n&&(i||t.alternate&&t.repeat%2==0)&&(n=100-n);this.__P_207_0||(this.__P_207_0=qx.bom.Stylesheet.createElement());var o=t.keyFrames;null==r&&(r=t.duration);if(null!=this.__P_207_5){var a=this.__P_207_7(o,i)+" "+r+"ms "+t.timing+" "+(t.delay?t.delay+"ms ":"")+t.repeat+" "+(t.alternate?"alternate":"");qx.bom.Event.addNativeListener(e,this.__P_207_5["start-event"],this.__P_207_8);qx.bom.Event.addNativeListener(e,this.__P_207_5["iteration-event"],this.__P_207_9);qx.bom.Event.addNativeListener(e,this.__P_207_5["end-event"],this.__P_207_10);e.style[qx.lang.String.camelCase(this.__P_207_5.name)]=a;n&&100==n&&this.__P_207_5["fill-mode"]&&(e.style[this.__P_207_5["fill-mode"]]="forwards")}var s=new qx.bom.element.AnimationHandle;s.desc=t;s.el=e;s.keep=n;e.$$animation=s;null!=t.origin&&qx.bom.element.Transform.setOrigin(e,t.origin);null==this.__P_207_5&&window.setTimeout((function(){qx.bom.element.AnimationCss.__P_207_10({target:e})}),0);return s},__P_207_8(e){e.target.$$animation&&e.target.$$animation.emit("start",e.target)},__P_207_9(e){null!=e.target&&null!=e.target.$$animation&&e.target.$$animation.emit("iteration",e.target)},__P_207_10(e){var t=e.target,r=t.$$animation;if(r){var i=r.desc;if(null!=qx.bom.element.AnimationCss.__P_207_5){var n=qx.lang.String.camelCase(qx.bom.element.AnimationCss.__P_207_5.name);t.style[n]="";qx.bom.Event.removeNativeListener(t,qx.bom.element.AnimationCss.__P_207_5.name,qx.bom.element.AnimationCss.__P_207_10)}null!=i.origin&&qx.bom.element.Transform.setOrigin(t,"");qx.bom.element.AnimationCss.__P_207_11(t,i.keyFrames[r.keep]);t.$$animation=null;r.el=null;r.ended=!0;r.emit("end",t)}},__P_207_11(e,t){var r;for(var i in t)if(i in qx.bom.element.AnimationCss.__P_207_4){r||(r={});r[i]=t[i]}else e.style[qx.lang.String.camelCase(i)]=t[i];r&&qx.bom.element.Transform.transform(e,r)},__P_207_6(e){e.hasOwnProperty("alternate")||(e.alternate=!1);e.hasOwnProperty("keep")||(e.keep=null);e.hasOwnProperty("repeat")||(e.repeat=1);e.hasOwnProperty("timing")||(e.timing="linear");e.hasOwnProperty("origin")||(e.origin=null)},__P_207_12:qx.core.Environment.select("qx.debug",{true(e){var t=["origin","duration","keep","keyFrames","delay","repeat","timing","alternate"];for(var r in e)-1==t.indexOf(r)&&qx.Bootstrap.warn("Unknown key '"+r+"' in the animation description.");if(null==e.keyFrames)qx.Bootstrap.warn("No 'keyFrames' given > 0");else for(var i in e.keyFrames)(i<0||i>100)&&qx.Bootstrap.warn("Keyframe position needs to be between 0 and 100")},default:null}),__P_207_7(e,t){var r="";for(var i in e){r+=(t?-(i-100):i)+"% {";var n,o=e[i];for(var a in o)if(a in this.__P_207_4){n||(n={});n[a]=o[a]}else{var s=qx.bom.Style.getPropertyName(a);r+=((null!==s?qx.bom.Style.getCssName(s):"")||a)+":"+o[a]+";"}n&&(r+=qx.bom.element.Transform.getCss(n));r+="} "}if(this.__P_207_3[r])return this.__P_207_3[r];var l=this.__P_207_1+this.__P_207_2++,u=this.__P_207_5.keyframes+" "+l;qx.bom.Stylesheet.addRule(this.__P_207_0,u,r);this.__P_207_3[r]=l;return l},__P_207_13(){this.__P_207_2=0;if(this.__P_207_0){this.__P_207_0.ownerNode.remove();this.__P_207_0=null;this.__P_207_3={}}}},defer(e){"ios"===qx.core.Environment.get("os.name")&&parseInt(qx.core.Environment.get("os.version"))>=8&&document.addEventListener("visibilitychange",(function(){document.hidden||e.__P_207_13()}),!1)}});qx.bom.element.AnimationCss.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.bom.element.AnimationHandle":{},"qx.bom.Style":{},"qx.bom.element.Transform":{},"qx.util.ColorUtil":{},"qx.bom.AnimationFrame":{},"qx.lang.String":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.AnimationJs",{statics:{__P_208_0:30,__P_208_1:["%","in","cm","mm","em","ex","pt","pc","px"],__P_208_2:{scale:!0,rotate:!0,skew:!0,translate:!0},animate(e,t,r){return this._animate(e,t,r,!1)},animateReverse(e,t,r){return this._animate(e,t,r,!0)},_animate(e,t,r,i){if(e.$$animation)return e.$$animation;t=qx.lang.Object.clone(t,!0);null==r&&(r=t.duration);var n=t.keyFrames,o=this.__P_208_3(n),a=this.__P_208_4(r,o),s=parseInt(r/a,10);this.__P_208_5(n,e);var l=this.__P_208_6(s,a,o,n,r,t.timing),u=new qx.bom.element.AnimationHandle;u.jsAnimation=!0;if(i){l.reverse();u.reverse=!0}u.desc=t;u.el=e;u.delta=l;u.stepTime=a;u.steps=s;e.$$animation=u;u.i=0;u.initValues={};u.repeatSteps=this.__P_208_7(s,t.repeat);var c=t.delay||0,h=this;u.delayId=window.setTimeout((function(){u.delayId=null;h.play(u)}),c);return u},__P_208_5(e,t){var r={};for(var i in e)for(var n in e[i]){var o=qx.bom.Style.getPropertyName(n);if(o&&o!=n){var a=qx.bom.Style.getCssName(o);e[i][a]=e[i][n];delete e[i][n];n=a}if(null==r[n]){var s=e[i][n];r[n]="string"==typeof s?this.__P_208_8(s):""}}for(var i in e){var l=e[i];for(var n in r)if(null==l[n]){n in t.style?window.getComputedStyle?l[n]=window.getComputedStyle(t,null)[n]:l[n]=t.style[n]:l[n]=t[n];""===l[n]&&-1!=this.__P_208_1.indexOf(r[n])&&(l[n]="0"+r[n])}}},__P_208_9(e){e=qx.lang.Object.clone(e);var t;for(var r in e)if(r in this.__P_208_2){t||(t={});t[r]=e[r];delete e[r]}if(t){var i=qx.bom.element.Transform.getCss(t).split(":");i.length>1&&(e[i[0]]=i[1].replace(";",""))}return e},__P_208_6(e,t,r,i,n,o){var a=new Array(e),s=1;a[0]=this.__P_208_9(i[0]);for(var l=i[0],u=i[r[s]],c=Math.floor(r[s]/(t/n*100)),h=1,d=1;dr[s]){l=u;u=i[r[++s]];c=Math.floor(r[s]/(t/n*100))-c;h=1}a[d]={};var f;for(var _ in u){var p=u[_]+"";if(_ in this.__P_208_2){f||(f={});if(qx.Bootstrap.isArray(l[_])){qx.Bootstrap.isArray(u[_])||(u[_]=[u[_]]);f[_]=[];for(var m=0;m1&&(a[d][P[0]]=P[1].replace(";",""))}h++}a[a.length-1]=this.__P_208_9(i[100]);return a},__P_208_8:e=>e.substring((parseFloat(e)+"").length,e.length),__P_208_10(e,t,r,i){var n=parseFloat(e)-parseFloat(t);return parseFloat(t)+n*qx.bom.AnimationFrame.calculateTiming(r,i)+this.__P_208_8(e)},play(e){e.emit("start",e.el);var t=window.setInterval((function(){e.repeatSteps--;var t=e.delta[e.i%e.steps];if(0===e.i)for(var r in t)void 0===e.initValues[r]&&(void 0!==e.el[r]?e.initValues[r]=e.el[r]:qx.bom.element.Style?e.initValues[r]=qx.bom.element.Style.get(e.el,qx.lang.String.camelCase(r)):e.initValues[r]=e.el.style[qx.lang.String.camelCase(r)]);qx.bom.element.AnimationJs.__P_208_11(e.el,t);e.i++;if(e.i%e.steps==0){e.emit("iteration",e.el);e.desc.alternate&&e.delta.reverse()}e.repeatSteps<0&&qx.bom.element.AnimationJs.stop(e)}),e.stepTime);e.animationId=t;return e},pause(e){window.clearInterval(e.animationId);e.animationId=null;return e},stop(e){var t=e.desc,r=e.el,i=e.initValues;e.animationId&&window.clearInterval(e.animationId);e.delayId&&window.clearTimeout(e.delayId);if(null==r)return e;var n=t.keep;if(null==n||e.stopped)this.__P_208_11(r,i);else{(e.reverse||t.alternate&&t.repeat&&t.repeat%2==0)&&(n=100-n);this.__P_208_11(r,this.__P_208_9(t.keyFrames[n]))}r.$$animation=null;e.el=null;e.ended=!0;e.animationId=null;e.emit("end",r);return e},__P_208_7:(e,t)=>null==t?e:"infinite"==t?Number.MAX_VALUE:e*t,__P_208_11(e,t){for(var r in t)if(void 0!==t[r])if(void 0===e.style[r]&&r in e)e[r]=t[r];else{var i=qx.bom.Style.getPropertyName(r)||r;qx.bom.element.Style?qx.bom.element.Style.set(e,i,t[r]):e.style[i]=t[r]}},__P_208_4(e,t){for(var r=100,i=0;ithis.__P_208_0;)n/=2;return Math.round(n)},__P_208_3(e){for(var t=Object.keys(e),r=0;rr.value&&e("src="+JSON.stringify(r.value))));this.registerProperty("scale",null,this._setScaleProperty)},members:{__P_166_0:null,__P_166_1:null,tagNameHint:null,setPadding(e,t){this.__P_166_1=e;this.__P_166_0=t;"div"==this.getNodeName()&&this.setStyle("backgroundPosition",e+"px "+t+"px")},_setSourceProperty(e){var t=this.getDomElement(),r=this.getAllStyles()||{};"div"==this.getNodeName()&&this.getStyle("backgroundImage")&&(r.backgroundRepeat=null);var i=this._getProperty("source"),n=this._getProperty("scale")?"scale":"no-repeat";if(null!=i){i=i||null;r.paddingTop=this.__P_166_0;r.paddingLeft=this.__P_166_1;qx.bom.element.Decoration.update(t,i,n,r)}},_setScaleProperty(e){},_removeProperty(e,t){"source"==e?this._setProperty(e,"",t):this._setProperty(e,null,t)},_createDomElement(){var e=this._getProperty("scale")?"scale":"no-repeat";if("mshtml"==qx.core.Environment.get("engine.name")){var t=this._getProperty("source");null!=this.tagNameHint?this.setNodeName(this.tagNameHint):this.setNodeName(qx.bom.element.Decoration.getTagName(e,t))}else this.setNodeName(qx.bom.element.Decoration.getTagName(e));return qx.html.Image.superclass.prototype._createDomElement.call(this)},_copyData(e,t){return qx.html.Image.superclass.prototype._copyData.call(this,!0,t)},setSource(e){this._setProperty("source",e);return this},getSource(){return this._getProperty("source")},resetSource(){"webkit"==qx.core.Environment.get("engine.name")?this._setProperty("source","qx/static/blank.gif"):this._removeProperty("source",!0);return this},setScale(e){this._setProperty("scale",e);return this},getScale(){return this._getProperty("scale")}}});qx.html.Image.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.bom.Iframe":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Iframe",{extend:qx.html.Element,construct(e,t,r){qx.html.Element.constructor.call(this,"iframe",t,r);this.registerProperty("source",null,this._setSourceProperty);this.setSource(e);this.addListener("navigate",this.__P_209_0,this);qx.html.Element._modified[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")},events:{load:"qx.event.type.Event",navigate:"qx.event.type.Data"},members:{_setSourceProperty(e){var t=this.getDomElement();e!==qx.bom.Iframe.queryCurrentUrl(t)&&qx.bom.Iframe.setSource(t,e)},_createDomElement:()=>qx.bom.Iframe.create(),getWindow(){var e=this.getDomElement();return e?qx.bom.Iframe.getWindow(e):null},getDocument(){var e=this.getDomElement();return e?qx.bom.Iframe.getDocument(e):null},getBody(){var e=this.getDomElement();return e?qx.bom.Iframe.getBody(e):null},setSource(e){this._setProperty("source",e,!0);return this},getSource(){return this._getProperty("source")},setName(e){this.setAttribute("name",e);return this},getName(){return this.getAttribute("name")},reload(){if(this.getDomElement()){var e=this.getSource();this.setSource(null);this.setSource(e)}},__P_209_0(e){var t=e.getData();t&&this.setSource(t)}}});qx.html.Iframe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.bom.Input":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine",load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Input",{extend:qx.html.Element,construct(e,t,r){if("select"===e||"textarea"===e)var i=e;else i="input";qx.html.Element.constructor.call(this,i,t,r);this.__P_210_0=e;this.registerProperty("value",this._getValueProperty,this._setValueProperty);this.registerProperty("wrap",null,this._setWrapProperty)},members:{__P_210_0:null,__P_210_1:null,__P_210_2:null,_useNodeImpl(e,t){qx.html.Input.superclass.prototype._useNodeImpl.call(this,e,t)},_createDomElement(){return qx.bom.Input.create(this.__P_210_0)},_setValueProperty(e){var t=this.getDomElement();qx.bom.Input.setValue(t,e)},_getValueProperty(){var e=this.getDomElement();return qx.bom.Input.getValue(e)},_setWrapProperty(e){var t=this.getDomElement();qx.bom.Input.setWrap(t,e);this.setStyle("overflow",t.style.overflow,!0);this.setStyle("overflowX",t.style.overflowX,!0);this.setStyle("overflowY",t.style.overflowY,!0)},setEnabled(e){this.__P_210_2=e;this.setAttribute("disabled",!1===e);"webkit"==qx.core.Environment.get("engine.name")&&(e?this.setStyles({userModify:null,userSelect:this.__P_210_1?null:"none"}):this.setStyles({userModify:"read-only",userSelect:"none"}))},setSelectable:qx.core.Environment.select("engine.name",{webkit(e){this.__P_210_1=e;qx.html.Input.superclass.prototype.setSelectable.call(this,this.__P_210_2&&e)},default(e){qx.html.Input.superclass.prototype.setSelectable.call(this,e)}}),setValue(e){var t=this.getDomElement();t?t.value!=e&&qx.bom.Input.setValue(t,e):this._setProperty("value",e);return this},getValue(){var e=this.getDomElement();return e?qx.bom.Input.getValue(e):this._getProperty("value")||""},setWrap(e,t){if("textarea"!==this.__P_210_0)throw new Error("Text wrapping is only support by textareas!");this._setProperty("wrap",e,t);return this},getWrap(){if("textarea"===this.__P_210_0)return this._getProperty("wrap");throw new Error("Text wrapping is only support by textareas!")}}});qx.html.Input.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Dom":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.KeyInput",{extend:qx.event.type.Dom,members:{init(e,t,r){qx.event.type.KeyInput.superclass.prototype.init.call(this,e,t,null,!0,!0);this._charCode=r;return this},clone(e){var t=qx.event.type.KeyInput.superclass.prototype.clone.call(this,e);t._charCode=this._charCode;return t},getCharCode(){return this._charCode},getChar(){return String.fromCharCode(this._charCode)}}});qx.event.type.KeyInput.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Dom":{require:!0},"qx.event.util.Keyboard":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.KeySequence",{extend:qx.event.type.Dom,members:{init(e,t,r){qx.event.type.KeySequence.superclass.prototype.init.call(this,e,t,null,!0,!0);this._keyCode=e.keyCode;this._identifier=r;return this},clone(e){var t=qx.event.type.KeySequence.superclass.prototype.clone.call(this,e);t._keyCode=this._keyCode;t._identifier=this._identifier;return t},getKeyIdentifier(){return this._identifier},getKeyCode(){return this._keyCode},isPrintable(){return qx.event.util.Keyboard.isPrintableKeyIdentifier(this._identifier)}}});qx.event.type.KeySequence.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.OperatingSystem":{require:!0}},environment:{provided:[],required:{"os.name":{load:!0,className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.util.Keyboard",{statics:{specialCharCodeMap:{8:"Backspace",9:"Tab",13:"Enter",27:"Escape",32:"Space"},numpadToCharCode:{96:"0".charCodeAt(0),97:"1".charCodeAt(0),98:"2".charCodeAt(0),99:"3".charCodeAt(0),100:"4".charCodeAt(0),101:"5".charCodeAt(0),102:"6".charCodeAt(0),103:"7".charCodeAt(0),104:"8".charCodeAt(0),105:"9".charCodeAt(0),106:"*".charCodeAt(0),107:"+".charCodeAt(0),109:"-".charCodeAt(0),110:",".charCodeAt(0),111:"/".charCodeAt(0)},keyCodeToIdentifierMap:{16:"Shift",17:"Control",18:"Alt",20:"CapsLock",224:"Meta",37:"Left",38:"Up",39:"Right",40:"Down",33:"PageUp",34:"PageDown",35:"End",36:"Home",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",44:"PrintScreen",145:"Scroll",19:"Pause",91:"osx"==qx.core.Environment.get("os.name")?"cmd":"Win",92:"Win",93:"osx"==qx.core.Environment.get("os.name")?"cmd":"Apps"},charCodeA:"A".charCodeAt(0),charCodeZ:"Z".charCodeAt(0),charCode0:"0".charCodeAt(0),charCode9:"9".charCodeAt(0),keyCodeToIdentifier(e){if(this.isIdentifiableKeyCode(e)){var t=this.numpadToCharCode[e];return t?String.fromCharCode(t):this.keyCodeToIdentifierMap[e]||this.specialCharCodeMap[e]||String.fromCharCode(e)}return"Unidentified"},charCodeToIdentifier(e){return this.specialCharCodeMap[e]||String.fromCharCode(e).toUpperCase()},isIdentifiableKeyCode(e){return e>=this.charCodeA&&e<=this.charCodeZ||(e>=this.charCode0&&e<=this.charCode9||(!!this.specialCharCodeMap[e]||(!!this.numpadToCharCode[e]||!!this.isNonPrintableKeyCode(e))))},isNonPrintableKeyCode(e){return!!this.keyCodeToIdentifierMap[e]},isValidKeyIdentifier(e){if(this.identifierToKeyCodeMap[e])return!0;if(1!=e.length)return!1;if(e>="0"&&e<="9")return!0;if(e>="A"&&e<="Z")return!0;switch(e){case"+":case"-":case"*":case"/":case",":return!0;default:return!1}},isPrintableKeyIdentifier(e){return"Space"===e||!this.identifierToKeyCodeMap[e]}},defer(e){if(!e.identifierToKeyCodeMap){e.identifierToKeyCodeMap={};for(var t in e.keyCodeToIdentifierMap)e.identifierToKeyCodeMap[e.keyCodeToIdentifierMap[t]]=parseInt(t,10);for(var t in e.specialCharCodeMap)e.identifierToKeyCodeMap[e.specialCharCodeMap[t]]=parseInt(t,10)}}});qx.event.util.Keyboard.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Mouse":{require:!0},"qx.util.Wheel":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.MouseWheel",{extend:qx.event.type.Mouse,members:{stop(){this.stopPropagation();this.preventDefault()},getWheelDelta(e){return qx.util.Wheel.getDelta(this._native,e)}}});qx.event.type.MouseWheel.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Event":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Orientation",{extend:qx.event.type.Event,members:{__P_224_0:null,__P_224_1:null,init(e,t){qx.event.type.Orientation.superclass.prototype.init.call(this,!1,!1);this.__P_224_0=e;this.__P_224_1=t;return this},clone(e){var t=qx.event.type.Orientation.superclass.prototype.clone.call(this,e);t.__P_224_0=this.__P_224_0;t.__P_224_1=this.__P_224_1;return t},getOrientation(){return this.__P_224_0},isLandscape(){return"landscape"==this.__P_224_1},isPortrait(){return"portrait"==this.__P_224_1}}});qx.event.type.Orientation.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Dom":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Touch",{extend:qx.event.type.Dom,members:{_cloneNativeEvent(e,t){(t=qx.event.type.Touch.superclass.prototype._cloneNativeEvent.call(this,e,t)).pageX=e.pageX;t.pageY=e.pageY;t.offsetX=e.offsetX;t.offsetY=e.offsetY;t.layerX=e.offsetX||e.layerX;t.layerY=e.offsetY||e.layerY;t.scale=e.scale;t.rotation=e.rotation;t._rotation=e._rotation;t.delta=e.delta;t.srcElement=e.srcElement;t.targetTouches=[];for(var r=0;r1},getScale(){return this._native.scale},getRotation(){return void 0===this._native._rotation?this._native.rotation:this._native._rotation},getDelta(){return this._native.delta},getDocumentLeft(e){return this.__P_214_1(e).pageX},getDocumentTop(e){return this.__P_214_1(e).pageY},getScreenLeft(e){return this.__P_214_1(e).screenX},getScreenTop(e){return this.__P_214_1(e).screenY},getViewportLeft(e){return this.__P_214_1(e).clientX},getViewportTop(e){return this.__P_214_1(e).clientY},getIdentifier(e){return this.__P_214_1(e).identifier},__P_214_1(e){e=null==e?0:e;return this.__P_214_0()[e]},__P_214_0(){return this._isTouchEnd()?this.getChangedTargetTouches():this.getTargetTouches()},_isTouchEnd(){return"touchend"==this.getType()||"touchcancel"==this.getType()}}});qx.event.type.Touch.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.Wheel",{statics:{MAXSCROLL:null,MINSCROLL:null,FACTOR:1,IS_TOUCHPAD:!1,getDelta(e,t){if(void 0===t){var r=0;void 0!==e.wheelDelta?r=-e.wheelDelta:0!==e.detail?r=e.detail:void 0!==e.deltaY&&(r=e.deltaY);return this.__P_217_0(r)}if("x"===t){var i=0;void 0!==e.wheelDelta?void 0!==e.wheelDeltaX&&(i=e.wheelDeltaX?this.__P_217_0(-e.wheelDeltaX):0):e.axis&&e.axis==e.HORIZONTAL_AXIS&&void 0!==e.detail&&e.detail>0?i=this.__P_217_0(e.detail):void 0!==e.deltaX&&(i=this.__P_217_0(e.deltaX));return i}if("y"===t){var n=0;void 0!==e.wheelDelta?n=void 0!==e.wheelDeltaY?e.wheelDeltaY?this.__P_217_0(-e.wheelDeltaY):0:this.__P_217_0(-e.wheelDelta):(!e.axis||e.axis!=e.HORIZONTAL_AXIS)&&void 0!==e.detail&&e.detail>0?n=this.__P_217_0(e.detail):void 0!==e.deltaY&&(n=this.__P_217_0(e.deltaY));return n}return 0},__P_217_0(e){if(qx.util.Wheel.IS_TOUCHPAD){qx.util.Wheel.MINSCROLL=null;qx.util.Wheel.MAXSCROLL=null;qx.util.Wheel.FACTOR=1;return e}var t=Math.abs(e);if(0===t)return 0;if(null==qx.util.Wheel.MINSCROLL||qx.util.Wheel.MINSCROLL>t){qx.util.Wheel.MINSCROLL=t;this.__P_217_1()}if(null==qx.util.Wheel.MAXSCROLL||qx.util.Wheel.MAXSCROLL!(!window.google||!window.google.gears),getActiveX(){if("function"==typeof window.ActiveXObject)return!0;try{return void 0!==window.ActiveXObject&&("object"==typeof new window.ActiveXObject("Microsoft.XMLHTTP")||"object"==typeof new window.ActiveXObject("MSXML2.DOMDocument.6.0"))}catch(e){return!1}},getSkype(){if(qx.bom.client.Plugin.getActiveX())try{new window.ActiveXObject("Skype.Detection");return!0}catch(e){}var e=navigator.mimeTypes;if(e){if("application/x-skype"in e)return!0;for(var t=0;t1&&2===(i=i[0].split("=")).length)return i[1];if(null!=(i=n.versionInfo))return i;if(null!=(i=n.version))return i;if(null!=(i=n.settings.version))return i}catch(e){return""}return""}for(var o=navigator.plugins,a=/([0-9]\.[0-9])/g,s=0;sdocument.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("XML","1.0"),getDomParser:()=>void 0!==window.DOMParser,getSelectSingleNode:()=>void 0!==qx.xml.Document.create().selectSingleNode,getSelectNodes:()=>void 0!==qx.xml.Document.create().selectNodes,getElementsByTagNameNS:()=>void 0!==qx.xml.Document.create().getElementsByTagNameNS,getDomProperties(){var e=qx.xml.Document.create();return"getProperty"in e&&"string"==typeof e.getProperty("SelectionLanguage")},getAttributeNS(){var e=qx.xml.Document.fromString("").documentElement;return"function"==typeof e.getAttributeNS&&"function"==typeof e.setAttributeNS},getCreateElementNS:()=>"function"==typeof qx.xml.Document.create().createElementNS,getCreateNode:()=>void 0!==qx.xml.Document.create().createNode,getQualifiedItem:()=>void 0!==qx.xml.Document.fromString("").documentElement.attributes.getQualifiedItem},defer(e){qx.core.Environment.add("xml.implementation",e.getImplementation);qx.core.Environment.add("xml.domparser",e.getDomParser);qx.core.Environment.add("xml.selectsinglenode",e.getSelectSingleNode);qx.core.Environment.add("xml.selectnodes",e.getSelectNodes);qx.core.Environment.add("xml.getelementsbytagnamens",e.getElementsByTagNameNS);qx.core.Environment.add("xml.domproperties",e.getDomProperties);qx.core.Environment.add("xml.attributens",e.getAttributeNS);qx.core.Environment.add("xml.createelementns",e.getCreateElementNS);qx.core.Environment.add("xml.createnode",e.getCreateNode);qx.core.Environment.add("xml.getqualifieditem",e.getQualifiedItem)}});qx.bom.client.Xml.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Plugin":{defer:"load",require:!0},"qx.bom.client.Xml":{require:!0}},environment:{provided:[],required:{"plugin.activex":{className:"qx.bom.client.Plugin",defer:!0},"xml.implementation":{className:"qx.bom.client.Xml"},"xml.domparser":{className:"qx.bom.client.Xml"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.xml.Document",{statics:{DOMDOC:null,XMLHTTP:null,isXmlDocument(e){return 9===e.nodeType?"HTML"!==e.documentElement.nodeName:!!e.ownerDocument&&this.isXmlDocument(e.ownerDocument)},create(e,t){if(qx.core.Environment.get("plugin.activex")){var r=new ActiveXObject(this.DOMDOC);"MSXML2.DOMDocument.3.0"==this.DOMDOC&&r.setProperty("SelectionLanguage","XPath");if(t){var i='\n<';i+=t;e&&(i+=" xmlns='"+e+"'");i+=" />";r.loadXML(i)}return r}if(qx.core.Environment.get("xml.implementation"))return document.implementation.createDocument(e||"",t||"",null);throw new Error("No XML implementation available!")},fromString(e){if(qx.core.Environment.get("plugin.activex")){var t=qx.xml.Document.create();t.loadXML(e);return t}if(qx.core.Environment.get("xml.domparser")){return(new DOMParser).parseFromString(e,"text/xml")}throw new Error("No XML implementation available!")}},defer(e){if(qx.core.Environment.get("plugin.activex"))for(var t=["MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.3.0"],r=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0"],i=0,n=t.length;i0?r.getRangeAt(0):t.createRange()}})}});qx.bom.Range.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.StringSplit",{statics:{split(e,t,r){if("[object RegExp]"!==Object.prototype.toString.call(t))return String.prototype.split.call(e,t,r);var i,n,o,a,s=[],l=0,u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":""),c=(t=RegExp(t.source,u+"g"),void 0===/()??/.exec("")[1]);e+="";c||(i=RegExp("^"+t.source+"$(?!\\s)",u));if(void 0===r||+r<0)r=1/0;else if(!(r=Math.floor(+r)))return[];for(;n=t.exec(e);){if((o=n.index+n[0].length)>l){s.push(e.slice(l,n.index));!c&&n.length>1&&n[0].replace(i,(function(){for(var e=1;e1&&n.index=r)break}t.lastIndex===n.index&&t.lastIndex++}l===e.length?!a&&t.test("")||s.push(""):s.push(e.slice(l));return s.length>r?s.slice(0,r):s}}});qx.util.StringSplit.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Event":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Focus",{extend:qx.event.type.Event,members:{init(e,t,r){qx.event.type.Focus.superclass.prototype.init.call(this,r,!1);this._target=e;this._relatedTarget=t;return this}}});qx.event.type.Focus.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Event":{require:!0},"qx.dom.Node":{},"qx.bom.Viewport":{},"qx.event.Registration":{},"qx.event.handler.DragDrop":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Drag",{extend:qx.event.type.Event,members:{init(e,t){qx.event.type.Drag.superclass.prototype.init.call(this,!0,e);if(t){this._native=t.getNativeEvent()||null;this._originalTarget=t.getOriginalTarget()||null}else{this._native=null;this._originalTarget=null}return this},clone(e){var t=qx.event.type.Drag.superclass.prototype.clone.call(this,e);t._native=this._native;return t},getDocumentLeft(){if(null==this._native)return 0;var e=this._native.pageX;if(void 0!==e){0==e&&"touch"==this._native.pointerType&&(e=this._native._original.changedTouches[0].pageX||0);return Math.round(e)}var t=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(t)},getDocumentTop(){if(null==this._native)return 0;var e=this._native.pageY;if(void 0!==e){0==e&&"touch"==this._native.pointerType&&(e=this._native._original.changedTouches[0].pageY||0);return Math.round(e)}var t=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(t)},getManager(){return qx.event.Registration.getManager(this.getTarget()).getHandler(qx.event.handler.DragDrop)},addType(e){this.getManager().addType(e)},addAction(e){this.getManager().addAction(e)},supportsType(e){return this.getManager().supportsType(e)},supportsAction(e){return this.getManager().supportsAction(e)},addData(e,t){this.getManager().addData(e,t)},getData(e){return this.getManager().getData(e)},getDataAsync(e){return this.getManager().getDataAsync(e)},getCurrentType(){return this.getManager().getCurrentType()},getCurrentAction(){return this.getDefaultPrevented()?null:this.getManager().getCurrentAction()},getCurrentActionAsync(){return this.getDefaultPrevented()?null:this.getManager().getCurrentActionAsync()},setDropAllowed(e){this.getManager().setDropAllowed(e)},getDragTarget(){return this.getManager().getDragTarget()},stopSession(){this.getManager().clearSession()}}});qx.event.type.Drag.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.VBox":{require:!0},"qx.lang.Array":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.menu.Layout",{extend:qx.ui.layout.VBox,properties:{columnSpacing:{check:"Integer",init:0,apply:"_applyLayoutChange"},spanColumn:{check:"Integer",init:1,nullable:!0,apply:"_applyLayoutChange"},iconColumnWidth:{check:"Integer",init:0,themeable:!0,apply:"_applyLayoutChange"},arrowColumnWidth:{check:"Integer",init:0,themeable:!0,apply:"_applyLayoutChange"}},members:{__P_160_0:null,_computeSizeHint(){for(var e,t,r,i=this._getLayoutChildren(),n=this.getSpanColumn(),o=this.__P_160_0=[0,0,0,0],a=this.getColumnSpacing(),s=0,l=0,u=0,c=i.length;u=0;s+=r)if((n=o[s]).isEnabled()&&!n.isAnonymous()&&n.isVisible())return n;if(i){s=s==a?0:a-1;for(;s!=t;s+=r)if((n=o[s]).isEnabled()&&!n.isAnonymous()&&n.isVisible())return n}return null},_isInMenu(e){for(;e;){if(e instanceof qx.ui.menu.Menu)return!0;e=e.getLayoutParent()}return!1},_isMenuOpener(e){for(var t=this.__P_161_0,r=0;r=0;t--)e[t].exclude()},getActiveMenu(){var e=this.__P_161_0;return e.length>0?e[e.length-1]:null},scheduleOpen(e){this.cancelClose(e);if(e.isVisible())this.__P_161_3&&this.cancelOpen(this.__P_161_3);else if(this.__P_161_3!=e){this.__P_161_3=e;this.__P_161_1.restartWith(e.getOpenInterval())}},scheduleClose(e){this.cancelOpen(e);if(e.isVisible()){if(this.__P_161_4!=e){this.__P_161_4=e;this.__P_161_2.restartWith(e.getCloseInterval())}}else this.__P_161_4&&this.cancelClose(this.__P_161_4)},cancelOpen(e){if(this.__P_161_3==e){this.__P_161_1.stop();this.__P_161_3=null}},cancelClose(e){if(this.__P_161_4==e){this.__P_161_2.stop();this.__P_161_4=null}},_onOpenInterval(e){this.__P_161_1.stop();this.__P_161_3.open();this.__P_161_3=null},_onCloseInterval(e){this.__P_161_2.stop();this.__P_161_4.exclude();this.__P_161_4=null},preventContextMenuOnce(){qx.event.Registration.addListener(document.body,"contextmenu",this.__P_161_5,this,!0)},__P_161_5(e){var t=e.getTarget();t=qx.ui.core.Widget.getWidgetByElement(t,!0);if(this._isInMenu(t)){e.stopPropagation();e.preventDefault()}qx.event.Registration.removeListener(document.body,"contextmenu",this.__P_161_5,this,!0)},_onPointerDown(e){var t=e.getTarget();null!=(t=qx.ui.core.Widget.getWidgetByElement(t,!0))?t.getMenu&&t.getMenu()&&t.getMenu().isVisible()||this.__P_161_0.length>0&&!this._isInMenu(t)&&this.hideAll():this.hideAll()},__P_161_6:{Enter:1,Space:1},__P_161_7:{Tab:1,Escape:1,Up:1,Down:1,Left:1,Right:1},_onKeyUpDown(e){var t=this.getActiveMenu();if(t){var r=e.getKeyIdentifier();(this.__P_161_7[r]||this.__P_161_6[r]&&t.getSelectedButton())&&e.stopPropagation()}},_onKeyPress(e){var t=this.getActiveMenu();if(t){var r=e.getKeyIdentifier(),i=this.__P_161_7[r],n=this.__P_161_6[r];if(i){switch(r){case"Up":this._onKeyPressUp(t);break;case"Down":this._onKeyPressDown(t);break;case"Left":this._onKeyPressLeft(t);break;case"Right":this._onKeyPressRight(t);break;case"Tab":case"Escape":this.hideAll()}e.stopPropagation();e.preventDefault()}else if(n){var o=t.getSelectedButton();if(o){switch(r){case"Enter":this._onKeyPressEnter(t,o,e);break;case"Space":this._onKeyPressSpace(t,o,e)}e.stopPropagation();e.preventDefault()}}}},_onKeyPressUp(e){var t=e.getSelectedButton(),r=e.getChildren(),i=t?e.indexOf(t)-1:r.length-1,n=this._getChild(e,i,-1,!0);n?e.setSelectedButton(n):e.resetSelectedButton()},_onKeyPressDown(e){var t=e.getSelectedButton(),r=t?e.indexOf(t)+1:0,i=this._getChild(e,r,1,!0);i?e.setSelectedButton(i):e.resetSelectedButton()},_onKeyPressLeft(e){var t=e.getOpener();if(t)if(t instanceof qx.ui.menu.AbstractButton){var r=t.getLayoutParent();r.resetOpenedButton();r.setSelectedButton(t)}else if(t instanceof qx.ui.menubar.Button){var i=t.getMenuBar().getMenuButtons(),n=i.indexOf(t);if(-1===n)return;for(var o=null,a=i.length,s=1;s<=a;s++){var l=i[(n-s+a)%a];if(l.isEnabled()&&l.isVisible()){o=l;break}}o&&o!=t&&o.open(!0)}},_onKeyPressRight(e){var t=e.getSelectedButton();if(t){var r=t.getMenu();if(r){e.setOpenedButton(t);(i=this._getChild(r,0,1))&&r.setSelectedButton(i);return}}else if(!e.getOpenedButton()){var i;if(i=this._getChild(e,0,1)){e.setSelectedButton(i);i.getMenu()&&e.setOpenedButton(i);return}}var n=e.getOpener();if(n instanceof qx.ui.menu.Button&&t){for(;n&&(n=n.getLayoutParent())instanceof qx.ui.menu.Menu&&!((n=n.getOpener())instanceof qx.ui.menubar.Button););if(!n)return}if(n instanceof qx.ui.menubar.Button){var o=n.getMenuBar().getMenuButtons(),a=o.indexOf(n);if(-1===a)return;for(var s=null,l=o.length,u=1;u<=l;u++){var c=o[(a+u)%l];if(c.isEnabled()&&c.isVisible()){s=c;break}}s&&s!=n&&s.open(!0)}},_onKeyPressEnter(e,t,r){if(t.hasListener("keypress")){var i=r.clone();i.setBubbles(!1);i.setTarget(t);t.dispatchEvent(i)}this.hideAll()},_onKeyPressSpace(e,t,r){if(t.hasListener("keypress")){var i=r.clone();i.setBubbles(!1);i.setTarget(t);t.dispatchEvent(i)}},_onRoll(e){var t=e.getTarget();t=qx.ui.core.Widget.getWidgetByElement(t,!0);this.__P_161_0.length>0&&!this._isInMenu(t)&&!this._isMenuOpener(t)&&!e.getMomentum()&&this.hideAll()}},destruct(){var e=qx.event.Registration,t=document.body;e.removeListener(window.document.documentElement,"pointerdown",this._onPointerDown,this,!0);e.removeListener(t,"keydown",this._onKeyUpDown,this,!0);e.removeListener(t,"keyup",this._onKeyUpDown,this,!0);e.removeListener(t,"keypress",this._onKeyPress,this,!0);this._disposeObjects("__P_161_1","__P_161_2");this._disposeArray("__P_161_0")}});qx.ui.menu.Manager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.ui.command.Command":{},"qx.Class":{},"qx.util.PropertyUtil":{}},environment:{provided:[],required:{"qx.command.bindEnabled":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MExecutable",{events:{execute:"qx.event.type.Event"},properties:{command:{check:"qx.ui.command.Command",apply:"_applyCommand",event:"changeCommand",nullable:!0}},members:{__P_170_0:null,__P_170_1:!1,__P_170_2:null,_bindableProperties:qx.core.Environment.select("qx.command.bindEnabled",{true:["enabled","label","icon","toolTipText","value","menu"],false:["label","icon","toolTipText","value","menu"]}),execute(){var e=this.getCommand();if(e)if(this.__P_170_1)this.__P_170_1=!1;else{this.__P_170_1=!0;e.execute(this)}this.fireEvent("execute")},__P_170_3(e){if(this.isEnabled()){if(this.__P_170_1){this.__P_170_1=!1;return}if(this.isEnabled()){this.__P_170_1=!0;this.execute()}}},_applyCommand(e,t){null!=t&&t.removeListenerById(this.__P_170_2);null!=e&&(this.__P_170_2=e.addListener("execute",this.__P_170_3,this));var r,i=this.__P_170_0;null==i&&(this.__P_170_0=i={});for(var n=0;n1||1==t&&r>9||1==t&&9==r&&i>=1)?6:2},getSsl:()=>"https:"===window.location.protocol,getXmlHttpRequest:()=>(window.ActiveXObject?function(){if("file:"!==window.location.protocol)try{new window.XMLHttpRequest;return"xhr"}catch(e){}try{new window.ActiveXObject("Microsoft.XMLHTTP");return"activex"}catch(e){}}():function(){try{new window.XMLHttpRequest;return"xhr"}catch(e){}}())||""},defer(e){qx.core.Environment.add("io.maxrequests",e.getMaxConcurrentRequestCount);qx.core.Environment.add("io.ssl",e.getSsl);qx.core.Environment.add("io.xhr",e.getXmlHttpRequest)}});qx.bom.client.Transport.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.bom.client.Device":{},"qx.bom.client.Engine":{defer:"load",require:!0},"qx.bom.client.Transport":{defer:"load",require:!0},"qx.util.LibraryManager":{defer:"runtime"}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine",defer:!0},"io.ssl":{className:"qx.bom.client.Transport",defer:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.ResourceManager",{extend:qx.core.Object,type:"singleton",construct(){qx.core.Object.constructor.call(this)},statics:{__P_132_0:qx.$$resources||{},__P_132_1:{}},members:{findHighResolutionSource(e,t){var r=["3","2","1.5"];t||(t=parseFloat(qx.bom.client.Device.getDevicePixelRatio().toFixed(2)));if(t<=1)return!1;for(var i,n,o=r.length;o>0&&t>r[--o];);for(n=o;n>=0;n--)if(i=this.getHighResolutionSource(e,r[n]))return i;for(n=o+1;n-1){var i="@"+t+"x",n=e.slice(0,r)+i+e.slice(r);if(this.has(n))return n}return null},getIds(e){var t=qx.util.ResourceManager.__P_132_0;return t?Object.keys(t).filter((function(t){return!e||-1!=t.indexOf(e)})):null},has:e=>!!qx.util.ResourceManager.__P_132_0[e],getData:e=>qx.util.ResourceManager.__P_132_0[e]||null,getImageWidth(e){var t;if(e&&e.startsWith("@")){var r=e.split("/");(t=parseInt(r[2],10))&&(e=r[0]+"/"+r[1])}var i=qx.util.ResourceManager.__P_132_0[e];if(t&&i){return Math.ceil(t/i[1]*i[0])}return i?i[0]:null},getImageHeight(e){if(e&&e.startsWith("@")){var t=e.split("/"),r=parseInt(t[2],10);if(r)return r}var i=qx.util.ResourceManager.__P_132_0[e];return i?i[1]:null},getImageFormat(e){if(e&&e.startsWith("@"))return"font";var t=qx.util.ResourceManager.__P_132_0[e];return t?t[2]:null},getCombinedFormat(e){var t="",r=qx.util.ResourceManager.__P_132_0[e];if(r&&r.length>4&&"string"==typeof r[4]&&this.constructor.__P_132_0[r[4]]){var i=r[4];t=this.constructor.__P_132_0[i][2]}return t},toUri(e){if(null==e)return e;var t=qx.util.ResourceManager.__P_132_0[e];if(!t)return e;if("string"==typeof t)var r=t;else{if(!(r=t[3]))return e}var i="";"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("io.ssl")&&(i=qx.util.ResourceManager.__P_132_1[r]);return i+qx.util.LibraryManager.getInstance().get(r,"resourceUri")+"/"+e},toDataUri(e){var t,r=this.constructor.__P_132_0[e],i=r?this.constructor.__P_132_0[r[4]]:null;if(i){var n=i[4][e];t="data:image/"+n.type+";"+n.encoding+","+n.data}else t=this.toUri(e);return t},isFontUri:e=>!!e&&e.startsWith("@"),fromFontUriToCharCode(e){var t=e.split("/"),r=e;t.length>2&&(r=t[0]+"/"+t[1]);var i=this.getData(r),n=null;if(i)n=i[2];else{let t=e.match(/@([^/]+)\/(.*)$/)[2];if(t){n=parseInt(t,16);isNaN(n)&&(n=null)}}if(!n)throw new Error(`Cannot determine charCode from source: ${e}`);return n}},defer(e){if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("io.ssl"))for(var t in qx.$$libraries){var r;if(qx.util.LibraryManager.getInstance().get(t,"resourceUri")){r=qx.util.LibraryManager.getInstance().get(t,"resourceUri");var i,n=document.getElementsByTagName("base");n.length>0&&(i=n[0].href);if(null!=r.match(/^\/\//))e.__P_132_1[t]=window.location.protocol;else if(null!=r.match(/^\//))e.__P_132_1[t]=i||window.location.protocol+"//"+window.location.host;else if(null!=r.match(/^\.\//)){var o=document.URL;e.__P_132_1[t]=o.substring(0,o.lastIndexOf("/")+1)}else if(null!=r.match(/^http/))e.__P_132_1[t]="";else{if(!i){var a=window.location.href.indexOf("?");i=-1==a?window.location.href:window.location.href.substring(0,a)}e.__P_132_1[t]=i.substring(0,i.lastIndexOf("/")+1)}}else e.__P_132_1[t]=""}}});qx.util.ResourceManager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.LibraryManager",{extend:qx.core.Object,type:"singleton",statics:{__P_178_0:qx.$$libraries||{}},members:{has:e=>!!qx.util.LibraryManager.__P_178_0[e],get:(e,t)=>qx.util.LibraryManager.__P_178_0[e][t]?qx.util.LibraryManager.__P_178_0[e][t]:null,set(e,t,r){qx.util.LibraryManager.__P_178_0[e][t]=r}}});qx.util.LibraryManager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.util.ResourceManager":{},"qx.bom.element.Style":{},"qx.bom.client.Css":{require:!0},"qx.theme.manager.Font":{},"qx.lang.Object":{},"qx.bom.Style":{},"qx.io.ImageLoader":{},"qx.bom.element.Background":{},"qx.log.Logger":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"css.alphaimageloaderneeded":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.element.Decoration",{statics:{DEBUG:!1,__P_167_0:{},__P_167_1:qx.core.Environment.select("engine.name",{mshtml:{"scale-x":!0,"scale-y":!0,scale:!0,"no-repeat":!0},default:null}),__P_167_2:{"scale-x":"img","scale-y":"img",scale:"img",repeat:"div","no-repeat":"div","repeat-x":"div","repeat-y":"div"},update(e,t,r,i){var n=this.getTagName(r,t);if(n!=e.tagName.toLowerCase()&&("no-repeat"!=r||"img"!=e.tagName.toLowerCase()))throw new Error("Image modification not possible because elements could not be replaced at runtime anymore!");var o=this.getAttributes(t,r,i);"img"===n&&(e.src=o.src||qx.util.ResourceManager.getInstance().toUri("qx/static/blank.gif"));""!=e.style.backgroundPosition&&void 0===o.style.backgroundPosition&&(o.style.backgroundPosition=null);""!=e.style.clip&&void 0===o.style.clip&&(o.style.clip=null);qx.bom.element.Style.setStyles(e,o.style);if(qx.core.Environment.get("css.alphaimageloaderneeded"))try{e.filters["DXImageTransform.Microsoft.AlphaImageLoader"].apply()}catch(e){}},create(e,t,r){var i=this.getTagName(t,e),n=this.getAttributes(e,t,r),o=qx.bom.element.Style.compile(n.style),a=qx.util.ResourceManager.getInstance();if(a.isFontUri(e)){var s=qx.theme.manager.Font.getInstance().resolve(e.match(/@([^/]+)/)[1]),l=qx.lang.Object.clone(s.getStyles());l.width=r.width;l.height=r.height;l.lineHeight=r.height;l.fontSize=parseInt(r.width)>parseInt(r.height)?r.height:r.width;l.display=r.display;l.verticalAlign=r.verticalAlign;l.position=r.position;o="";for(var u in l)if(l.hasOwnProperty(u)){let e=l[u];null!==e&&(o+=qx.bom.Style.getCssName(u)+": "+e+";")}var c=a.fromFontUriToCharCode(e);return'
'+String.fromCharCode(c)+"
"}return"img"===i?'':'
'},getTagName(e,t){return t&&qx.core.Environment.get("css.alphaimageloaderneeded")&&this.__P_167_1[e]&&t.endsWith(".png")?"div":this.__P_167_2[e]},getAttributes(e,t,r){r||(r={});if("mshtml"==qx.core.Environment.get("engine.name")){r.fontSize=0;r.lineHeight=0}else"webkit"==qx.core.Environment.get("engine.name")&&(r.WebkitUserDrag="none");var i,n=qx.util.ResourceManager.getInstance().getImageFormat(e)||qx.io.ImageLoader.getFormat(e);if(qx.core.Environment.get("css.alphaimageloaderneeded")&&this.__P_167_1[t]&&"png"===n){var o=this.__P_167_3(e);this.__P_167_4(r,o.width,o.height);i=this.processAlphaFix(r,t,e)}else{delete r.clip;i="scale"===t?this.__P_167_5(r,t,e):"scale-x"===t||"scale-y"===t?this.__P_167_6(r,t,e):this.__P_167_7(r,t,e)}return i},__P_167_4(e,t,r){null==e.width&&null!=t&&(e.width=t+"px");null==e.height&&null!=r&&(e.height=r+"px")},__P_167_3:e=>({width:qx.util.ResourceManager.getInstance().getImageWidth(e)||qx.io.ImageLoader.getWidth(e),height:qx.util.ResourceManager.getInstance().getImageHeight(e)||qx.io.ImageLoader.getHeight(e)}),processAlphaFix(e,t,r){if("repeat"==t||"repeat-x"==t||"repeat-y"==t)return e;var i="no-repeat"==t?"crop":"scale",n="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+qx.util.ResourceManager.getInstance().toUri(r)+"', sizingMethod='"+i+"')";e.filter=n;e.backgroundImage=e.backgroundRepeat="";delete e["background-image"];delete e["background-repeat"];return{style:e}},__P_167_5(e,t,r){var i=qx.util.ResourceManager.getInstance().toUri(r),n=this.__P_167_3(r);this.__P_167_4(e,n.width,n.height);return{src:i,style:e}},__P_167_6(e,t,r){var i=qx.util.ResourceManager.getInstance(),n=i.getCombinedFormat(r),o=this.__P_167_3(r);if(n){var a=i.getData(r),s=a[4];return{src:"b64"==n?i.toDataUri(r):i.toUri(s),style:e="scale-x"===t?this.__P_167_8(e,a,o.height):this.__P_167_9(e,a,o.width)}}"scale-x"==t?e.height=null==o.height?null:o.height+"px":"scale-y"==t&&(e.width=null==o.width?null:o.width+"px");return{src:i.toUri(r),style:e}},__P_167_8(e,t,r){var i=qx.util.ResourceManager.getInstance().getImageHeight(t[4]);e.clip={top:-t[6],height:r};e.height=i+"px";null!=e.top?e.top=parseInt(e.top,10)+t[6]+"px":null!=e.bottom&&(e.bottom=parseInt(e.bottom,10)+r-i-t[6]+"px");return e},__P_167_9(e,t,r){var i=qx.util.ResourceManager.getInstance().getImageWidth(t[4]);e.clip={left:-t[5],width:r};e.width=i+"px";null!=e.left?e.left=parseInt(e.left,10)+t[5]+"px":null!=e.right&&(e.right=parseInt(e.right,10)+r-i-t[5]+"px");return e},__P_167_7(e,t,r){var i=qx.util.ResourceManager.getInstance(),n=i.getCombinedFormat(r),o=this.__P_167_3(r);if(n&&"repeat"!==t){var a=i.getData(r),s=a[4];if("b64"==n)var l=i.toDataUri(r),u=0,c=0;else{l=i.toUri(s),u=a[5],c=a[6];if(e.paddingTop||e.paddingLeft||e.paddingRight||e.paddingBottom){var h=e.paddingTop||0,d=e.paddingLeft||0;u+=e.paddingLeft||0;c+=e.paddingTop||0;e.clip={left:d,top:h,width:o.width,height:o.height}}}var f=qx.bom.element.Background.getStyles(l,t,u,c);for(var _ in f)e[_]=f[_];null==o.width||null!=e.width||"repeat-y"!=t&&"no-repeat"!==t||(e.width=o.width+"px");null==o.height||null!=e.height||"repeat-x"!=t&&"no-repeat"!==t||(e.height=o.height+"px");return{style:e}}h=e.paddingTop||0,d=e.paddingLeft||0;e.backgroundPosition=d+"px "+h+"px";this.__P_167_4(e,o.width,o.height);this.__P_167_10(e,r,t);return{style:e}},__P_167_10(e,t,r){var i=null,n=null;if(e.backgroundPosition){var o=e.backgroundPosition.split(" ");n=parseInt(o[0],10);isNaN(n)&&(n=o[0]);i=parseInt(o[1],10);isNaN(i)&&(i=o[1])}var a=qx.bom.element.Background.getStyles(t,r,n,i);for(var s in a)e[s]=a[s];e.filter&&(e.filter="")},__P_167_11(e){if(this.DEBUG&&qx.util.ResourceManager.getInstance().has(e)&&-1==e.indexOf("qx/icon")&&!this.__P_167_0[e]){qx.log.Logger.debug("Potential clipped image candidate: "+e);this.__P_167_0[e]=!0}}}});qx.bom.element.Decoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.theme.manager.Color":{construct:!0},"qx.bom.client.Engine":{construct:!0,require:!0},"qx.util.ResourceManager":{construct:!0}},environment:{provided:[],required:{"engine.name":{construct:!0,className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Blocker",{extend:qx.html.Element,construct(e,t){var r={position:"absolute",opacity:t||0,backgroundColor:e=e?qx.theme.manager.Color.getInstance().resolve(e):null};if("mshtml"==qx.core.Environment.get("engine.name")){r.backgroundImage="url("+qx.util.ResourceManager.getInstance().toUri("qx/static/blank.gif")+")";r.backgroundRepeat="repeat"}qx.html.Element.constructor.call(this,"div",r);this.addListener("mousedown",this._stopPropagation,this);this.addListener("mouseup",this._stopPropagation,this);this.addListener("click",this._stopPropagation,this);this.addListener("dblclick",this._stopPropagation,this);this.addListener("mousemove",this._stopPropagation,this);this.addListener("mouseover",this._stopPropagation,this);this.addListener("mouseout",this._stopPropagation,this);this.addListener("mousewheel",this._stopPropagation,this);this.addListener("roll",this._stopPropagation,this);this.addListener("contextmenu",this._stopPropagation,this);this.addListener("pointerdown",this._stopPropagation,this);this.addListener("pointerup",this._stopPropagation,this);this.addListener("pointermove",this._stopPropagation,this);this.addListener("pointerover",this._stopPropagation,this);this.addListener("pointerout",this._stopPropagation,this);this.addListener("tap",this._stopPropagation,this);this.addListener("dbltap",this._stopPropagation,this);this.addListener("swipe",this._stopPropagation,this);this.addListener("longtap",this._stopPropagation,this);this.addListener("appear",this.__P_197_0,this);this.addListener("disappear",this.__P_197_0,this)},members:{_stopPropagation(e){e.stopPropagation()},__P_197_0(){var e=this.getStyle("cursor");this.setStyle("cursor",null,!0);this.setStyle("cursor",e,!0)}}});qx.html.Blocker.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.theme.manager.Decoration":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Util",{statics:{PERCENT_VALUE:/[0-9]+(?:\.[0-9]+)?%/,computeFlexOffsets(e,t,r){var i,n,o,a,s,l,u=t>r,c=Math.abs(t-r),h={};for(n in e){i=e[n];h[n]={potential:u?i.max-i.value:i.value-i.min,flex:u?i.flex:1/i.flex,offset:0}}for(;0!=c;){a=1/0;o=0;for(n in h)if((i=h[n]).potential>0){o+=i.flex;a=Math.min(a,i.potential/i.flex)}if(0==o)break;a=Math.min(c,a*o)/o;s=0;for(n in h)if((i=h[n]).potential>0){if((s+=(l=Math.min(c,i.potential,Math.ceil(a*i.flex)))-a*i.flex)>=1){s-=1;l-=1}i.potential-=l;u?i.offset+=l:i.offset-=l;c-=l}}return h},computeHorizontalAlignOffset(e,t,r,i,n){null==i&&(i=0);null==n&&(n=0);var o=0;switch(e){case"left":o=i;break;case"right":o=r-t-n;break;case"center":(o=Math.round((r-t)/2))0&&(t=Math.max(t,o))}return t+r},computeHorizontalGaps(e,t,r){null==t&&(t=0);var i=0;if(r){i+=e[0].getMarginLeft();for(var n=1,o=e.length;nr||n>o)if(t>r&&n>o){t=r;n=o}else if(t>r){n+=t-r;t=r;n>o&&(n=o)}else if(n>o){t+=n-o;n=o;t>r&&(t=r)}return{begin:t,end:n}}}});qx.ui.layout.Util.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.dev.unit.TestFunction":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.dev.unit.AbstractTestSuite",{extend:qx.core.Object,type:"abstract",construct(){qx.core.Object.constructor.call(this);this._tests=[]},members:{_tests:null,addTestFunction(e,t){this._tests.push(new qx.dev.unit.TestFunction(null,e,t))},addTestMethod(e,t){this._tests.push(new qx.dev.unit.TestFunction(e,t))},addFail(e,t){this.addTestFunction(e,(function(){this.fail(t)}))},run(e){for(var t=0;t
":"\n",o=function(e){var t;if(i)t="";else{t="";for(var r=0;ri)a+=o(r)+"*** TOO MUCH RECURSION: not displaying ***"+n;else if("object"==typeof t)for(var s in t)if("object"==typeof t[s])try{if(t[s]instanceof Array)a+=o(r)+s+": Array"+n;else{if(null===t[s]){a+=o(r)+s+": null"+n;continue}if(void 0===t[s]){a+=o(r)+s+": undefined"+n;continue}a+=o(r)+s+": Object"+n}e(t[s],r+1,i)}catch(e){a+=o(r)+s+": EXCEPTION expanding property"+n}else a+=o(r)+s+": "+t[s]+n;else a+=o(r)+t+n}(e,0,r)}catch(e){a+=o(0)+"*** EXCEPTION ("+e+") ***"+n}return a+=o(0)+"============================================================"+n},getFunctionName(e,t){var r=e.self;if(!r)return null;for(;e.wrapper;)e=e.wrapper;switch(t){case"construct":return e==r?"construct":null;case"members":return qx.lang.Object.getKeyFromValue(r,e);case"statics":return qx.lang.Object.getKeyFromValue(r.prototype,e);default:return e==r?"construct":qx.lang.Object.getKeyFromValue(r.prototype,e)||qx.lang.Object.getKeyFromValue(r,e)||null}},debugProperties(e,t,r,i){null==t&&(t=10);null==i&&(i=1);var n="";n=r?"
":"\r\n";var o="";if(qx.lang.Type.isNumber(e)||qx.lang.Type.isString(e)||qx.lang.Type.isBoolean(e)||null==e||t<=0)return e;if(qx.Class.hasInterface(e.constructor,qx.data.IListData)){for(var a=0;at.bindingId===e));if(t>-1){let e=this.__P_67_0[t];qx.lang.Array.removeAt(this.__P_67_0,t);this.__P_67_1(e)}},__P_67_1(e){if(!e.model.isDisposed()&&!e.model.isDisposing())switch(e.bindingType){case"binding":e.model.removeBinding(e.bindingId);break;case"listener":e.model.removeListenerById(e.bindingId);break;case"callback":e.bindingId(e.model);break;default:throw new Error("Invalid binding type"+e.bindingType)}},removeAll(){let e=this.__P_67_0;this.__P_67_0=[];e.forEach((e=>this.__P_67_1(e)));this.fireEvent("removeAll")}}});qxl.datagrid.binding.Bindings.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qx.ui.form.IField":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IStringForm",{extend:qx.ui.form.IField,events:{changeValue:"qx.event.type.Data"},members:{setValue(e){return 1==arguments.length},resetValue(){},getValue(){}}});qx.ui.form.IStringForm.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.form.IStringForm":{require:!0},"qx.locale.Manager":{construct:!0},"qx.bom.client.Css":{require:!0},"qx.bom.client.Html":{require:!0},"qx.html.Label":{},"qx.theme.manager.Color":{},"qx.lang.Type":{},"qx.theme.manager.Font":{},"qx.bom.webfonts.WebFont":{},"qx.ui.core.queue.Layout":{},"qx.bom.Font":{},"qx.bom.Label":{},"qx.lang.Object":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"css.textoverflow":{className:"qx.bom.client.Css"},"html.xul":{className:"qx.bom.client.Html"},"os.name":{className:"qx.bom.client.OperatingSystem"},"engine.name":{className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"},"qx.dynlocale":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.basic.Label",{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm],construct(e){qx.ui.core.Widget.constructor.call(this);null!=e&&this.setValue(e);qx.locale.Manager.getInstance().addListener("changeLocale",this._onChangeLocale,this)},properties:{rich:{check:"Boolean",init:!1,event:"changeRich",apply:"_applyRich"},wrap:{check:"Boolean",init:!0,apply:"_applyWrap"},breakWithinWords:{check:"Boolean",init:!1,apply:"_applyBreakWithinWords"},value:{check:"String",apply:"_applyValue",event:"changeValue",nullable:!0},buddy:{check:"qx.ui.core.Widget",apply:"_applyBuddy",nullable:!0,init:null,dereference:!0},textAlign:{check:["left","center","right","justify"],nullable:!0,themeable:!0,apply:"_applyTextAlign",event:"changeTextAlign"},appearance:{refine:!0,init:"label"},selectable:{refine:!0,init:!1},allowGrowX:{refine:!0,init:!1},allowGrowY:{refine:!0,init:!1},allowShrinkY:{refine:!0,init:!1}},members:{__P_86_0:null,__P_86_1:null,__P_86_2:null,__P_86_3:null,_getContentHint(){if(this.__P_86_1){this.__P_86_4=this.__P_86_5();delete this.__P_86_1}return{width:this.__P_86_4.width,height:this.__P_86_4.height}},_hasHeightForWidth(){return this.getRich()&&this.getWrap()},_applySelectable(e){!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")&&e&&!this.isRich()||qx.ui.basic.Label.superclass.prototype._applySelectable.call(this,e)},_getContentHeightForWidth(e){return this.getRich()||this.getWrap()?this.__P_86_5(e).height:null},_createContentElement:()=>new qx.html.Label,_applyTextAlign(e,t){this.getContentElement().setStyle("textAlign",e)},_applyTextColor(e,t){e?this.getContentElement().setStyle("color",qx.theme.manager.Color.getInstance().resolve(e)):this.getContentElement().removeStyle("color")},__P_86_4:{width:0,height:0},_applyFont(e,t){if(t&&this.__P_86_0&&this.__P_86_3){this.__P_86_0.removeListenerById(this.__P_86_3);this.__P_86_3=null}var r;if(e){qx.lang.Type.isString(e)&&(e=qx.theme.manager.Font.getInstance().resolve(e));this.__P_86_0=e;this.__P_86_0 instanceof qx.bom.webfonts.WebFont&&!this.__P_86_0.isValid()&&(this.__P_86_3=this.__P_86_0.addListener("changeStatus",(e=>{if(e.getData().valid){this.__P_86_1=!0;qx.ui.core.queue.Layout.add(this)}})));r=this.__P_86_0.getStyles()}else{this.__P_86_0=null;r=qx.bom.Font.getDefaultStyles()}null!=this.getTextColor()&&delete r.color;this.getContentElement().setStyles(r);this.__P_86_1=!0;qx.ui.core.queue.Layout.add(this)},__P_86_5(e){var t=qx.bom.Label,r=this.getFont()?this.__P_86_0.getStyles():qx.bom.Font.getDefaultStyles(),i=this.getValue()||"A",n=this.getRich();this.__P_86_3&&this.__P_86_6();n&&this.getBreakWithinWords()&&((r=qx.lang.Object.clone(r)).wordBreak="break-all");return n?t.getHtmlSize(i,r,e):t.getTextSize(i,r)},__P_86_6(){if(this.getContentElement()&&"osx"==qx.core.Environment.get("os.name")&&"gecko"==qx.core.Environment.get("engine.name")&&parseInt(qx.core.Environment.get("engine.version"),10)<16&&parseInt(qx.core.Environment.get("engine.version"),10)>9){var e=this.getContentElement().getDomElement();e&&(e.innerHTML=e.innerHTML)}},_applyBuddy(e,t){if(null!=t){this.removeRelatedBindings(t);this.removeListenerById(this.__P_86_2);this.__P_86_2=null}if(null!=e){e.bind("enabled",this,"enabled");this.__P_86_2=this.addListener("tap",(()=>{e.isFocusable()&&e.focus.apply(e);"toggleValue"in e&&"function"==typeof e.toggleValue&&e.toggleValue()}))}},_applyRich(e){this.getContentElement().setRich(e);this.__P_86_1=!0;qx.ui.core.queue.Layout.add(this)},_applyWrap(e,t){e&&this.isRich();if(this.isRich()){var r=e?"normal":"nowrap";this.getContentElement().setStyle("whiteSpace",r)}},_applyBreakWithinWords(e,t){this.getContentElement().setStyle("wordBreak",this.isRich()&&e?"break-all":"normal")},_onChangeLocale:qx.core.Environment.select("qx.dynlocale",{true(e){var t=this.getValue();t&&t.translate&&this.setValue(t.translate())},false:null}),_applyValue:qx.core.Environment.select("qx.dynlocale",{true(e,t){e&&e.translate?this.getContentElement().setValue(e.translate()):this.getContentElement().setValue(e);this.__P_86_1=!0;qx.ui.core.queue.Layout.add(this)},false(e,t){this.getContentElement().setValue(e);this.__P_86_1=!0;qx.ui.core.queue.Layout.add(this)}})},destruct(){qx.locale.Manager.getInstance().removeListener("changeLocale",this._onChangeLocale,this);this.__P_86_0&&this.__P_86_3&&this.__P_86_0.removeListenerById(this.__P_86_3);this.__P_86_0=null}});qx.ui.basic.Label.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qxl.datagrid.util.Labels":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.demo.biggrid.DummyModel",{extend:qx.core.Object,properties:{rowIndex:{init:0,check:"Integer",event:"changeRowIndex",apply:"__P_68_0"},columnIndex:{init:0,check:"Integer",event:"changeColumnIndex",apply:"__P_68_0"},text:{init:null,nullable:!0,check:"String",event:"changeText",apply:"__P_68_0"},header:{init:!1,check:"Boolean",event:"changeHeader",apply:"__P_68_0"},label:{check:"String",event:"changeLabel"}},members:{__P_68_0(){let e=qxl.datagrid.util.Labels.getColumnLetters(this.getColumnIndex())+this.getRowIndex(),t=(this.getText()||"").trim();t.length&&(e+=" "+t);this.isHeader()&&(e="H:"+e);this.setLabel(e)},toString(){return this.getRowIndex()+":"+this.getColumnIndex()}}});qxl.datagrid.demo.biggrid.DummyModel.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.ui.layout.Fixed",{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true(e,t,r){this.assert("left"==t||"top"==t||"width"==t||"height"==t,"The property '"+t+"' is not supported by the Fixed layout!");this.assertInteger(r)},false:null}),renderLayout(e,t,r){let i=this._getLayoutChildren();for(let e=0,t=i.length;ei&&(i=e);(t=s.height+(s.top||0)+a.getMarginTop()+a.getMarginBottom())>n&&(n=t)}return{width:i,height:n}}}});qxl.datagrid.ui.layout.Fixed.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.util.Batch",{extend:qx.core.Object,construct(e){qx.core.Object.constructor.call(this);this.__P_70_0=e},properties:{enabled:{init:!0,check:"Boolean",event:"changeEnabled"}},members:{__P_70_1:0,__P_70_2:0,suspend(){this.__P_70_1++},resume(){this.__P_70_1--;if(0==this.__P_70_1&&this.__P_70_2>0){this.__P_70_2=0;this.__P_70_0()}},run(){this.isEnabled()&&(this.__P_70_1?this.__P_70_2++:this.__P_70_0())}}});qxl.datagrid.util.Batch.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0},"qx.ui.layout.Util":{},"qx.ui.basic.Label":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Atom",{extend:qx.ui.layout.Abstract,properties:{gap:{check:"Integer",init:4,apply:"_applyLayoutChange"},iconPosition:{check:["left","top","right","bottom","top-left","bottom-left","top-right","bottom-right"],init:"left",apply:"_applyLayoutChange"},center:{check:"Boolean",init:!1,apply:"_applyLayoutChange"}},members:{verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true(e,t,r){this.assert(!1,"The property '"+t+"' is not supported by the Atom layout!")},false:null}),renderLayout(e,t,r){var i,n,o,a=r.left,s=r.top,l=qx.ui.layout.Util,u=this.getIconPosition(),c=this._getLayoutChildren(),h=c.length,d=this.getGap(),f=this.getCenter();if(-1!=["bottom","right","top-right","bottom-right"].indexOf(u))var _=h-1,p=-1,m=-1;else _=0,p=h,m=1;if("top"==u||"bottom"==u){if(f){for(var g=0,v=_;v!=p;v+=m)if((n=c[v].getSizeHint().height)>0){g+=n;v!=_&&(g+=d)}s+=Math.round((t-g)/2)}var b=s;for(v=_;v!=p;v+=m){w=(o=c[v]).getSizeHint();i=Math.min(w.maxWidth,Math.max(e,w.minWidth));n=w.height;a=l.computeHorizontalAlignOffset("center",i,e)+r.left;o.renderLayout(a,b,i,n);n>0&&(b=s+n+d)}}else{var y=e,x=null,q=0;for(v=_;v!=p;v+=m)if((i=(o=c[v]).getSizeHint().width)>0){!x&&o instanceof qx.ui.basic.Label?x=o:y-=i;q++}if(q>1){y-=(q-1)*d}if(x){var w=x.getSizeHint(),P=Math.max(w.minWidth,Math.min(y,w.maxWidth));y-=P}f&&y>0&&(a+=Math.round(y/2));for(v=_;v!=p;v+=m){w=(o=c[v]).getSizeHint();n=Math.min(w.maxHeight,Math.max(t,w.minHeight));i=o===x?P:w.width;var M="middle";"top-left"==u||"top-right"==u?M="top":"bottom-left"!=u&&"bottom-right"!=u||(M="bottom");b=s+l.computeVerticalAlignOffset(M,w.height,t);o.renderLayout(a,b,i,n);i>0&&(a+=i+d)}}},_computeSizeHint(){var e,t=this._getLayoutChildren(),r=t.length;if(1===r){var i;e={width:(i=t[0].getSizeHint()).width,height:i.height,minWidth:i.minWidth,minHeight:i.minHeight}}else{var n=0,o=0,a=0,s=0,l=this.getIconPosition(),u=this.getGap();if("top"===l||"bottom"===l){for(var c=0,h=0;h0){s+=i.height;a+=i.minHeight;c++}}if(c>1){s+=d=(c-1)*u;a+=d}}else{for(c=0,h=0;h0){o+=i.width;n+=i.minWidth;c++}}if(c>1){var d;o+=d=(c-1)*u;n+=d}}e={minWidth:n,width:o,minHeight:a,height:s}}return e}}});qx.ui.layout.Atom.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.basic.Atom":{construct:!0,require:!0},"qx.ui.core.MExecutable":{require:!0},"qx.ui.form.IExecutable":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.Button",{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct(e,t,r){qx.ui.basic.Atom.constructor.call(this,e,t);null!=r&&this.setCommand(r);this.getContentElement().setAttribute("role","button");this.addListener("pointerover",this._onPointerOver);this.addListener("pointerout",this._onPointerOut);this.addListener("pointerdown",this._onPointerDown);this.addListener("pointerup",this._onPointerUp);this.addListenerOnce("appear",(()=>{let e=this.getContentElement().getDomElement();this.addListener("touchstart",(()=>{e.focus()}))}));this.addListener("tap",this._onTap);this.addListener("keydown",this._onKeyDown);this.addListener("keyup",this._onKeyUp);this.addListener("dblclick",(function(e){e.stopPropagation()}))},properties:{appearance:{refine:!0,init:"button"},focusable:{refine:!0,init:!0}},members:{_forwardStates:{focused:!0,hovered:!0,pressed:!0,disabled:!0},press(){this.hasState("abandoned")||this.addState("pressed")},release(){this.hasState("pressed")&&this.removeState("pressed")},reset(){this.removeState("pressed");this.removeState("abandoned");this.removeState("hovered")},_onPointerOver(e){if(this.isEnabled()&&e.getTarget()===this){if(this.hasState("abandoned")){this.removeState("abandoned");this.addState("pressed")}this.addState("hovered")}},_onPointerOut(e){if(this.isEnabled()&&e.getTarget()===this){this.removeState("hovered");if(this.hasState("pressed")){this.removeState("pressed");this.addState("abandoned")}}},_onPointerDown(e){if(e.isLeftPressed()){e.stopPropagation();this.capture();this.removeState("abandoned");this.addState("pressed")}},_onPointerUp(e){this.releaseCapture();var t=this.hasState("pressed"),r=this.hasState("abandoned");t&&this.removeState("pressed");r&&this.removeState("abandoned");e.stopPropagation()},_onTap(e){this.execute();e.stopPropagation()},_onKeyDown(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":this.removeState("abandoned");this.addState("pressed");e.stopPropagation()}},_onKeyUp(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":if(this.hasState("pressed")){this.removeState("abandoned");this.removeState("pressed");this.execute();e.stopPropagation()}}}}});qx.ui.form.Button.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.locale.Manager":{construct:!0}},environment:{provided:[],required:{"qx.dynlocale":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.form.MForm",{construct(){qx.locale.Manager.getInstance().addListener("changeLocale",this.__P_139_0,this)},properties:{valid:{check:"Boolean",init:!0,apply:"_applyValid",event:"changeValid"},required:{check:"Boolean",init:!1,event:"changeRequired"},invalidMessage:{init:null,nullable:!0,check:"String",event:"changeInvalidMessage"},requiredInvalidMessage:{check:"String",nullable:!0,event:"changeRequiredInvalidMessage"}},members:{_applyValid(e,t){e?this.removeState("invalid"):this.addState("invalid")},__P_139_0:qx.core.Environment.select("qx.dynlocale",{true(e){var t=this.getInvalidMessage();t&&t.translate&&this.setInvalidMessage(t.translate());var r=this.getRequiredInvalidMessage();r&&r.translate&&this.setRequiredInvalidMessage(r.translate())},false:null})},destruct(){qx.locale.Manager.getInstance().removeListener("changeLocale",this.__P_139_0,this)}});qx.ui.form.MForm.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.form.MModelProperty",{properties:{model:{nullable:!0,event:"changeModel",apply:"_applyModel",dereference:!0}},members:{_applyModel(e,t){}}});qx.ui.form.MModelProperty.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qx.ui.form.RadioGroup":{}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IRadioItem",{events:{changeValue:"qx.event.type.Data"},members:{setValue(e){},getValue(){},setGroup(e){this.assertInstance(e,qx.ui.form.RadioGroup)},getGroup(){}}});qx.ui.form.IRadioItem.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qx.ui.form.IField":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IBooleanForm",{extend:qx.ui.form.IField,events:{changeValue:"qx.event.type.Data"},members:{setValue(e){return 1==arguments.length},resetValue(){},getValue(){}}});qx.ui.form.IBooleanForm.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IModel",{events:{changeModel:"qx.event.type.Data"},members:{setModel(e){},getModel(){},resetModel(){}}});qx.ui.form.IModel.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Button":{construct:!0,require:!0},"qx.ui.form.MForm":{require:!0},"qx.ui.form.MModelProperty":{require:!0},"qx.ui.form.IRadioItem":{require:!0},"qx.ui.form.IForm":{require:!0},"qx.ui.form.IBooleanForm":{require:!0},"qx.ui.form.IModel":{require:!0},"qx.ui.form.RadioGroup":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.RadioButton",{extend:qx.ui.form.Button,include:[qx.ui.form.MForm,qx.ui.form.MModelProperty],implement:[qx.ui.form.IRadioItem,qx.ui.form.IForm,qx.ui.form.IBooleanForm,qx.ui.form.IModel],construct(e){qx.ui.form.Button.constructor.call(this,e);const t=this.getContentElement();t.setAttribute("role","radio");t.setAttribute("aria-checked",!1);this.addListener("execute",this._onExecute);this.addListener("keypress",this._onKeyPress)},properties:{group:{check:"qx.ui.form.RadioGroup",nullable:!0,apply:"_applyGroup"},value:{check:"Boolean",nullable:!0,event:"changeValue",apply:"_applyValue",init:!1},appearance:{refine:!0,init:"radiobutton"},allowGrowX:{refine:!0,init:!1}},members:{_forwardStates:{checked:!0,focused:!0,invalid:!0,hovered:!0},_bindableProperties:["enabled","label","toolTipText","value","menu"],_applyValue(e,t){e?this.addState("checked"):this.removeState("checked");this.getContentElement().setAttribute("aria-checked",Boolean(e))},_applyGroup(e,t){t&&t.remove(this);e&&e.add(this)},_onExecute(e){var t=this.getGroup();t&&t.getAllowEmptySelection()?this.toggleValue():this.setValue(!0)},_onKeyPress(e){var t=this.getGroup();if(t)switch(e.getKeyIdentifier()){case"Left":case"Up":t.selectPrevious();break;case"Right":case"Down":t.selectNext()}}}});qx.ui.form.RadioButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.RadioButton":{construct:!0,require:!0},"qx.ui.form.IRadioItem":{require:!0},"qx.ui.layout.Grid":{construct:!0},"qx.ui.basic.Label":{},"qx.ui.basic.Image":{},"qx.ui.form.Button":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.tabview.TabButton",{extend:qx.ui.form.RadioButton,implement:qx.ui.form.IRadioItem,construct(){qx.ui.form.RadioButton.constructor.call(this);var e=new qx.ui.layout.Grid(2,0);e.setRowAlign(0,"left","middle");e.setColumnAlign(0,"right","middle");this._getLayout().dispose();this._setLayout(e);this.initShowCloseButton()},events:{close:"qx.event.type.Data"},properties:{showCloseButton:{check:"Boolean",init:!1,apply:"_applyShowCloseButton"}},members:{_forwardStates:{focused:!0,checked:!0},_applyIconPosition(e,t){var r={icon:this.getChildControl("icon"),label:this.getChildControl("label"),closeButton:this.getShowCloseButton()?this.getChildControl("close-button"):null};for(var i in r)r[i]&&this._remove(r[i]);switch(e){case"top":this._add(r.label,{row:3,column:2});this._add(r.icon,{row:1,column:2});r.closeButton&&this._add(r.closeButton,{row:0,column:4});break;case"bottom":this._add(r.label,{row:1,column:2});this._add(r.icon,{row:3,column:2});r.closeButton&&this._add(r.closeButton,{row:0,column:4});break;case"left":this._add(r.label,{row:0,column:2});this._add(r.icon,{row:0,column:0});r.closeButton&&this._add(r.closeButton,{row:0,column:4});break;case"right":this._add(r.label,{row:0,column:0});this._add(r.icon,{row:0,column:2});r.closeButton&&this._add(r.closeButton,{row:0,column:4})}},_createChildControlImpl(e,t){switch(e){case"label":var r;(r=new qx.ui.basic.Label(this.getLabel())).setAnonymous(!0);this._add(r,{row:0,column:2});this._getLayout().setColumnFlex(2,1);break;case"icon":(r=new qx.ui.basic.Image(this.getIcon())).setAnonymous(!0);this._add(r,{row:0,column:0});break;case"close-button":(r=new qx.ui.form.Button).setFocusable(!1);r.setKeepActive(!0);r.addListener("tap",this._onCloseButtonTap,this);this._add(r,{row:0,column:4});this.getShowCloseButton()||r.exclude()}return r||qx.ui.tabview.TabButton.superclass.prototype._createChildControlImpl.call(this,e)},_onCloseButtonTap(){this.fireDataEvent("close",this)},_applyShowCloseButton(e,t){e?this._showChildControl("close-button"):this._excludeChildControl("close-button")},_applyCenter(e){var t=this._getLayout();e?t.setColumnAlign(2,"center","middle"):t.setColumnAlign(2,"left","middle")}}});qx.ui.tabview.TabButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Button":{construct:!0,require:!0},"qx.event.AcceleratingTimer":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.RepeatButton",{extend:qx.ui.form.Button,construct(e,t){qx.ui.form.Button.constructor.call(this,e,t);this.__P_124_0=new qx.event.AcceleratingTimer;this.__P_124_0.addListener("interval",this._onInterval,this)},events:{execute:"qx.event.type.Event",press:"qx.event.type.Event",release:"qx.event.type.Event"},properties:{interval:{check:"Integer",init:100},firstInterval:{check:"Integer",init:500},minTimer:{check:"Integer",init:20},timerDecrease:{check:"Integer",init:2}},members:{__P_124_1:null,__P_124_0:null,press(){if(this.isEnabled()){this.hasState("pressed")||this.__P_124_2();this.removeState("abandoned");this.addState("pressed")}},release(e){if(this.isEnabled()){this.hasState("pressed")&&(this.__P_124_1||this.execute());this.removeState("pressed");this.removeState("abandoned");this.__P_124_3()}},_applyEnabled(e,t){qx.ui.form.RepeatButton.superclass.prototype._applyEnabled.call(this,e,t);if(!e){this.isCapturing()&&this.releaseCapture();this.removeState("pressed");this.removeState("abandoned");this.__P_124_3()}},_onPointerOver(e){if(this.isEnabled()&&e.getTarget()===this){if(this.hasState("abandoned")){this.removeState("abandoned");this.addState("pressed");this.__P_124_0.start()}this.addState("hovered")}},_onPointerOut(e){if(this.isEnabled()&&e.getTarget()===this){this.removeState("hovered");if(this.hasState("pressed")){this.removeState("pressed");this.addState("abandoned");this.__P_124_0.stop()}}},_onPointerDown(e){if(e.isLeftPressed()){this.capture();this.__P_124_2();e.stopPropagation()}},_onPointerUp(e){this.releaseCapture();if(!this.hasState("abandoned")){this.addState("hovered");this.hasState("pressed")&&!this.__P_124_1&&this.execute()}this.__P_124_3();e.stopPropagation()},_onTap(e){},_onKeyUp(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":if(this.hasState("pressed")){this.__P_124_1||this.execute();this.removeState("pressed");this.removeState("abandoned");e.stopPropagation();this.__P_124_3()}}},_onKeyDown(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":this.removeState("abandoned");this.addState("pressed");e.stopPropagation();this.__P_124_2()}},_onInterval(e){this.__P_124_1=!0;this.fireEvent("execute")},__P_124_2(){this.fireEvent("press");this.__P_124_1=!1;this.__P_124_0.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();this.removeState("abandoned");this.addState("pressed")},__P_124_3(){this.fireEvent("release");this.__P_124_0.stop();this.removeState("abandoned");this.removeState("pressed")}},destruct(){this._disposeObjects("__P_124_0")}});qx.ui.form.RepeatButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.layout.Grow":{construct:!0},"qx.bom.AnimationFrame":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.scroll.ScrollPane",{extend:qx.ui.core.Widget,construct(){qx.ui.core.Widget.constructor.call(this);this.set({minWidth:0,minHeight:0});this._setLayout(new qx.ui.layout.Grow);this.addListener("resize",this._onUpdate);var e=this.getContentElement();e.addListener("scroll",this._onScroll,this);e.addListener("appear",this._onAppear,this)},events:{update:"qx.event.type.Event",scrollAnimationEnd:"qx.event.type.Event"},properties:{scrollX:{check:"qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxX()",apply:"_applyScrollX",transform:"_transformScrollX",event:"scrollX",init:0},scrollY:{check:"qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxY()",apply:"_applyScrollY",transform:"_transformScrollY",event:"scrollY",init:0}},members:{__P_125_0:null,add(e){var t=this._getChildren()[0];if(t){this._remove(t);t.removeListener("resize",this._onUpdate,this)}if(e){this._add(e);e.addListener("resize",this._onUpdate,this)}},remove(e){if(e){this._remove(e);e.removeListener("resize",this._onUpdate,this)}},getChildren(){return this._getChildren()},_onUpdate(e){this.fireEvent("update")},_onScroll(e){var t=this.getContentElement();this.setScrollX(t.getScrollX());this.setScrollY(t.getScrollY())},_onAppear(e){var t=this.getContentElement(),r=this.getScrollX();r!=t.getScrollX()&&t.scrollToX(r);var i=this.getScrollY();i!=t.getScrollY()&&t.scrollToY(i)},getItemTop(e){var t=0;do{t+=e.getBounds().top;e=e.getLayoutParent()}while(e&&e!==this);return t},getItemBottom(e){return this.getItemTop(e)+e.getBounds().height},getItemLeft(e){var t,r=0;do{r+=e.getBounds().left;(t=e.getLayoutParent())&&(r+=t.getInsets().left);e=t}while(e&&e!==this);return r},getItemRight(e){return this.getItemLeft(e)+e.getBounds().width},getScrollSize(){return this.getChildren()[0].getBounds()},getScrollMaxX(){var e=this.getInnerSize(),t=this.getScrollSize();return e&&t?Math.max(0,t.width-e.width):0},getScrollMaxY(){var e=this.getInnerSize(),t=this.getScrollSize();return e&&t?Math.max(0,t.height-e.height):0},scrollToX(e,t){var r=this.getScrollMaxX();e<0?e=0:e>r&&(e=r);this.stopScrollAnimation();if(t){var i=this.getScrollX();this.__P_125_0=new qx.bom.AnimationFrame;this.__P_125_0.on("end",(function(){this.setScrollX(e);this.__P_125_0=null;this.fireEvent("scrollAnimationEnd")}),this);this.__P_125_0.on("frame",(function(r){var n=parseInt(r/t*(e-i)+i);this.setScrollX(n)}),this);this.__P_125_0.startSequence(t)}else this.setScrollX(e)},scrollToY(e,t){var r=this.getScrollMaxY();e<0?e=0:e>r&&(e=r);this.stopScrollAnimation();if(t){var i=this.getScrollY();this.__P_125_0=new qx.bom.AnimationFrame;this.__P_125_0.on("end",(function(){this.setScrollY(e);this.__P_125_0=null;this.fireEvent("scrollAnimationEnd")}),this);this.__P_125_0.on("frame",(function(r){var n=parseInt(r/t*(e-i)+i);this.setScrollY(n)}),this);this.__P_125_0.startSequence(t)}else this.setScrollY(e)},scrollByX(e,t){this.scrollToX(this.getScrollX()+e,t)},scrollByY(e,t){this.scrollToY(this.getScrollY()+e,t)},stopScrollAnimation(){if(this.__P_125_0){this.__P_125_0.cancelSequence();this.__P_125_0=null}},_applyScrollX(e){this.getContentElement().scrollToX(e)},_transformScrollX:e=>Math.round(e),_applyScrollY(e){this.getContentElement().scrollToY(e)},_transformScrollY:e=>Math.round(e)}});qx.ui.core.scroll.ScrollPane.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.SingleSelectionManager",{extend:qx.core.Object,construct(e){qx.core.Object.constructor.call(this);this.__P_169_0=e},events:{changeSelected:"qx.event.type.Data"},properties:{allowEmptySelection:{check:"Boolean",init:!0,apply:"__P_169_1"}},members:{__P_169_2:null,__P_169_0:null,getSelected(){return this.__P_169_2},setSelected(e){if(!this.__P_169_3(e))throw new Error("Could not select "+e+", because it is not a child element!");this.__P_169_4(e)},resetSelected(){this.__P_169_4(null)},isSelected(e){if(!this.__P_169_3(e))throw new Error("Could not check if "+e+" is selected, because it is not a child element!");return this.__P_169_2===e},isSelectionEmpty(){return null==this.__P_169_2},getSelectables(e){for(var t=this.__P_169_0.getItems(),r=[],i=0;i=0;i--)r[i].getEnabled()||r.splice(i,1);return r},__P_169_1(e,t){e||this.__P_169_4(this.__P_169_2)},__P_169_4(e){var t=this.__P_169_2,r=e;if(null==r||t!==r){if(!this.isAllowEmptySelection()&&null==r){var i=this.getSelectables(!0)[0];i&&(r=i)}this.__P_169_2=r;this.fireDataEvent("changeSelected",r,t)}},__P_169_3(e){for(var t=this.__P_169_0.getItems(),r=0;r=0;t--)e.removeItem(e.key(t))},getKey(e){return this.getStorage(this.__P_76_2).key(e)},forEach(e,t){for(var r=this.getLength(),i=0;i!0,makeAvailable:async e=>!0,getModelForPosition(e){return e.getRow()<0||e.getRow()>=this.getModel().getLength()?null:this.getModel().getItem(e.getRow())},getPositionOfModel(e){let t=this.getModel().indexOf(e);return new qxl.datagrid.source.Position(t,0)},getSize(){if(!this.getModel())return new qxl.datagrid.source.Position(0,0);return new qxl.datagrid.source.Position(this.getModel().getLength(),this.getColumns().getLength())}}});qxl.datagrid.source.ArrayDataSource.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qxl.datagrid.ui.IWidgetSizeSource",{members:{getWidgetSize(e,t){},getDataSourceSize(){}}});qxl.datagrid.ui.IWidgetSizeSource.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{usage:"dynamic",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.ui.core.scroll.ScrollBar":{}},environment:{provided:["qx.nativeScrollBars"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.core.Environment.add("qx.nativeScrollBars",!1);qx.Mixin.define("qx.ui.core.scroll.MScrollBarFactory",{members:{_createScrollBar:e=>new qx.ui.core.scroll.ScrollBar(e)}});qx.ui.core.scroll.MScrollBarFactory.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Scroll":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.Event":{require:!0}},environment:{provided:["os.scrollBarOverlayed","qx.mobile.nativescroll"],required:{"os.name":{className:"qx.bom.client.OperatingSystem"},"browser.version":{className:"qx.bom.client.Browser"},"browser.name":{className:"qx.bom.client.Browser"},"os.version":{className:"qx.bom.client.OperatingSystem"},"event.mspointer":{className:"qx.bom.client.Event"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.Scroll",{statics:{scrollBarOverlayed(){var e=qx.bom.element.Scroll.getScrollbarWidth(),t="osx"===qx.bom.client.OperatingSystem.getName();return 0===e&&t&&!1},getNativeScroll(){if("ios"==qx.core.Environment.get("os.name")&&parseInt(qx.core.Environment.get("browser.version"),10)>7)return!0;if("firefox"==qx.core.Environment.get("browser.name"))return!0;if("android"==qx.core.Environment.get("os.name")){var e=qx.core.Environment.get("os.version").split(".");if(e[0]>4||e.length>1&&e[0]>3&&e[1]>3)return!0}return!!qx.core.Environment.get("event.mspointer")}},defer(e){qx.core.Environment.add("os.scrollBarOverlayed",e.scrollBarOverlayed);qx.core.Environment.add("qx.mobile.nativescroll",e.getNativeScroll)}});qx.bom.client.Scroll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qxl.datagrid.ui.IWidgetSizeSource":{require:!0},"qx.ui.core.scroll.MScrollBarFactory":{require:!0},"qxl.datagrid.util.Debounce":{construct:!0},"qxl.datagrid.ui.SelectionManager":{construct:!0},"qxl.datagrid.ui.GridStyling":{construct:!0},"qxl.datagrid.ui.GridSizeCalculator":{construct:!0},"qx.bom.client.Scroll":{construct:!0,require:!0},"qx.ui.layout.Canvas":{construct:!0},"qx.ui.core.scroll.AbstractScrollArea":{construct:!0},"qx.ui.layout.Grid":{construct:!0},"qxl.datagrid.column.IColumns":{},"qxl.datagrid.source.IDataSource":{},"qx.ui.container.Composite":{},"qx.ui.layout.VBox":{},"qxl.datagrid.ui.layout.Layered":{},"qxl.datagrid.ui.OddEvenRowBackgrounds":{},"qxl.datagrid.ui.factory.SimpleWidgetFactory":{},"qxl.datagrid.ui.WidgetPane":{},"qxl.datagrid.ui.factory.HeaderWidgetFactory":{},"qxl.datagrid.ui.HeaderRows":{},"qxl.datagrid.util.Math":{}},environment:{provided:[],required:{"os.scrollBarOverlayed":{construct:!0,className:"qx.bom.client.Scroll"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.DataGrid",{extend:qx.ui.core.Widget,implement:[qxl.datagrid.ui.IWidgetSizeSource],include:[qx.ui.core.scroll.MScrollBarFactory],construct(e,t){qx.ui.core.Widget.constructor.call(this);this.__P_81_0=new qxl.datagrid.util.Debounce((()=>this.updateWidgets()),50);this.__P_81_1=new qxl.datagrid.ui.SelectionManager;this.__P_81_1.addListener("changeSelection",(e=>{this.scheduleUpdateWidgets();this.fireDataEvent("changeSelection",e.getData())}));e=e||null;t=t||new qxl.datagrid.ui.GridStyling;this.__P_81_2=new qxl.datagrid.ui.GridSizeCalculator(e,t,this);e&&this.setColumns(e);this.getQxObject("widgetPane").addListener("modelDoubleTap",(e=>this.fireDataEvent("modelDoubleTap",e.getData())));if(qx.core.Environment.get("os.scrollBarOverlayed")){this._setLayout(new qx.ui.layout.Canvas);this._add(this.getQxObject("dataPane"),{edge:0});let e=this.getChildControl("scrollbar-x");e.setMinHeight(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(e,{bottom:0,right:0,left:0});e=this.getChildControl("scrollbar-y");e.setMinWidth(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(e,{right:0,bottom:0,top:0})}else{var r=new qx.ui.layout.Grid;r.setColumnFlex(0,1);r.setRowFlex(0,1);this._setLayout(r);this._add(this.getQxObject("dataPane"),{row:0,column:0});this._add(this.getChildControl("scrollbar-x"),{row:1,column:0});this._add(this.getChildControl("scrollbar-y"),{row:0,column:1});this._add(this.getChildControl("corner"),{row:1,column:1})}var i=2*qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH+14;this.set({minHeight:i,minWidth:i});this._addRollHandling()},properties:{columns:{init:null,nullable:!0,check:"qxl.datagrid.column.IColumns",apply:"_applyColumns",event:"changeColumns"},dataSource:{init:null,check:"qxl.datagrid.source.IDataSource",apply:"_applyDataSource",event:"changeDataSource"},startRowIndex:{init:0,check:"Integer",apply:"_applyStartRowIndex",event:"changeStartRowIndex"},startColumnIndex:{init:0,check:"Integer",apply:"_applyStartColumnIndex",event:"changeStartColumnIndex"},appearance:{init:"qxl-datagrid",refine:!0},scrollbarX:{check:["auto","on","off"],init:"auto",themeable:!0,apply:"_computeScrollbars"},scrollbarY:{check:["auto","on","off"],init:"auto",themeable:!0,apply:"_computeScrollbars"},scrollbar:{group:["scrollbarX","scrollbarY"]},readOnly:{init:!1,check:"Boolean",event:"changeReadOnly"},dynamicSizing:{init:"none",check:["rows","columns","both","none"],event:"changeDynamicSizing"}},objects:{dataPane(){var e=new qx.ui.container.Composite(new qx.ui.layout.VBox);e.add(this.getQxObject("header"));var t=new qx.ui.container.Composite(new qxl.datagrid.ui.layout.Layered);t.add(this.getQxObject("widgetPane"),{layer:0});t.add(this.getQxObject("oddEvenRows"),{layer:1});e.add(t,{flex:1});return e},oddEvenRows(){return new qxl.datagrid.ui.OddEvenRowBackgrounds(this.__P_81_2,this.getDataSource(),this.__P_81_1)},paneWidgetFactory(){return new qxl.datagrid.ui.factory.SimpleWidgetFactory(this.getColumns())},widgetPane(){return new qxl.datagrid.ui.WidgetPane(this.__P_81_2,this.getQxObject("paneWidgetFactory"),this.getDataSource(),this.__P_81_1)},headerWidgetFactory(){return new qxl.datagrid.ui.factory.HeaderWidgetFactory(this.getColumns())},header(){return new qxl.datagrid.ui.HeaderRows(this.__P_81_2,this.getQxObject("headerWidgetFactory"))}},events:{changeSelection:"qx.event.type.Data",modelDoubleTap:"qx.event.type.Data"},members:{__P_81_3:!1,__P_81_4:!1,__P_81_5:!1,__P_81_2:null,__P_81_6:null,__P_81_0:null,__P_81_1:null,__P_81_7:null,_applyColumns(e,t){if(t){t.removeListener("change",this.__P_81_8,this);for(let e of t)e.setDataGrid(null)}if(e){for(let t of e)t.setDataGrid(this);e.addListener("change",this.__P_81_8,this)}this.__P_81_2.setColumns(e);this.getQxObject("headerWidgetFactory").setColumns(e);this.getQxObject("paneWidgetFactory").setColumns(e);this.updateWidgets()},__P_81_8(e){let t=e.getData();"remove"==t.type&&t.column.setDataGrid(null);"add"==t.type&&t.column.setDataGrid(this);this.scheduleLayoutUpdate()},_applyDataSource(e,t){t&&t.removeListener("changeSize",this.__P_81_9,this);this.__P_81_1.resetSelection();["headerWidgetFactory","paneWidgetFactory","widgetPane","oddEvenRows"].forEach((t=>this.getQxObject(t).setDataSource(e)));this.__P_81_1.setDataSource(e);this.updateWidgets();e&&e.addListener("changeSize",this.__P_81_9,this)},_applyStartRowIndex(e,t){this.__P_81_3=!0;this.updateWidgets();this.__P_81_3=!1},_applyStartColumnIndex(e,t){this.__P_81_4=!0;this.updateWidgets();this.__P_81_4=!1},__P_81_9(){this.getQxObject("widgetPane").invalidateAll();this.__P_81_2.invalidate();this.updateWidgets()},_addRollHandling(){this.addListener("roll",this._onRoll,this);this.addListener("pointerdown",this._onPointerDownForRoll,this)},_removeRollHandling(){this.removeListener("roll",this._onRoll,this);this.removeListener("pointerdown",this._onPointerDownForRoll,this)},_onPointerDownForRoll(e){this.__P_81_7=e.getPointerId()},_onRoll(e){e.stop();if("mouse"==e.getPointerType())return;if(this.__P_81_7&&e.getMomentum()){e.stopMomentum();this.__P_81_7=null;return}let t=this.getDataSourceSize().getRow();var r=this.getStartRowIndex()+Math.floor(.08*e.getDelta().y);let i=this.getMaxRows();r=qxl.datagrid.util.Math.clamp(0,Math.max(0,t-i),r);this.setStartRowIndex(r)},getMaxRows(){var e;const t=this.__P_81_2.getStyling();return Math.floor(this.getQxObject("oddEvenRows").getBounds().height/(null!==(e=t.getMaxRowHeight())&&void 0!==e?e:t.getMinRowHeight()))-4},scrollToSelection(){let e=this.getSelection().getLength()?this.getSelection().getItem(0):null;if(!e)throw new Error("Nothing is selected");let t=this.getDataSource().getPositionOfModel(e).getRow(),r=this.getMaxRows(),i=this.getStartRowIndex();t>=i&&t<=i+r-1||this.setStartRowIndex(Math.max(0,t-Math.floor(r/2)))},__P_81_10(e){let t=this._isChildControlVisible("scrollbar-x"),r=this._isChildControlVisible("scrollbar-y");"x"==e?t||this.scrollToX(0):r||this.scrollToY(0);t&&r?this._showChildControl("corner"):this._excludeChildControl("corner")},scrollToX(e){},scrollToY(e){},_computeScrollbars(){if(this.__P_81_5)return;this.__P_81_5=!0;let e=this.__P_81_2.getSizes();if(!e){this.__P_81_5=!1;return}const t=(e,t,r,i,n,o)=>{if("off"===e||"auto"==e&&r>=i)t.setVisibility("excluded");else{t.setVisibility("visible");let e;e=-1==n||r>i-n?100:0==n?0:qxl.datagrid.util.Math.clamp(0,100,o());t.set({position:e})}};let r=this.getDataSource().getSize(),i=this.getColumns(),n=this.getChildControl("scrollbar-x"),o=this.getScrollbarX(),a=i.getLength(),s=this.getStartColumnIndex();t(o,n,e.columns.length,a,s,(()=>Math.floor(s/(a+1)*100)));let l=this.getChildControl("scrollbar-y"),u=this.getScrollbarY(),c=r.getRow()+this.getStyling().getNumHeaderRows(),h=this.getStartRowIndex();t(u,l,e.rows.length,c,h,(()=>Math.floor(qxl.datagrid.util.Math.interpolate(0,Math.max(0,r.getRow()-this.getMaxRows()),0,100,this.getStartRowIndex()))));this.__P_81_5=!1},_createChildControlImpl(e){switch(e){case"scrollbar-x":(t=this._createScrollBar("horizontal").set({minWidth:0,maximum:100})).exclude();t.addListener("scroll",(e=>{if(this.__P_81_3||this.__P_81_5)return;let t=e.getData(),r=this.getDataSource().getSize();if(100==t)this.setStartColumnIndex(-1);else{let e=Math.round(r.getColumn()*(t/100));this.setStartColumnIndex(e)}}));t.addListener("changeVisibility",(()=>this.__P_81_10("x")));return t;case"scrollbar-y":(t=this._createScrollBar("vertical").set({minHeight:0,maximum:100})).exclude();t.addListener("scroll",(e=>{if(this.__P_81_3||this.__P_81_5)return;let t=e.getData(),r=this.getDataSource().getSize().getRow();const i=Math.floor(qxl.datagrid.util.Math.interpolate(0,100,0,Math.max(0,r-this.getMaxRows()),t));this.setStartRowIndex(i)}));t.addListener("changeVisibility",(()=>this.__P_81_10("y")));return t;case"corner":var t;(t=new qx.ui.core.Widget).setWidth(0);t.setHeight(0);t.exclude();return t}return qxl.datagrid.DataGrid.superclass.prototype._createChildControlImpl.call(this,e)},updateWidgets(){if(this.__P_81_6)return;this.getQxObject("header").updateWidgets();this.getQxObject("oddEvenRows").updateWidgets();const e=()=>{this._computeScrollbars();this.scheduleLayoutUpdate();this.__P_81_6=null};let t=this.getQxObject("widgetPane").updateWidgets();t?this.__P_81_6=t.then(e):e()},scheduleUpdateWidgets(){return this.__P_81_0.run()},getWidgetSize(e,t){let r=this.__P_81_2.getStyling(),i=r.getMinRowHeight(),n=r.getMaxRowHeight(),o=r.getMinColumnWidth(),a=r.getMaxColumnWidth(),s=null,l=null,u=this.getQxObject("widgetPane").getChildAtPosition(e,t);if(e<0)l=r.getHeaderRowHeight();else{let e=this.getDynamicSizing();if("rows"===e||"both"===e){var c;l=null==u||null===(c=u.getSizeHint())||void 0===c?void 0:c.height}if("columns"===e||"both"===e){var h;s=null==u||null===(h=u.getSizeHint())||void 0===h?void 0:h.width}}const d={minWidth:o,width:s,maxWidth:a,minHeight:i,height:l,maxHeight:n};null==u||u.setUserData("qxl.datagrid.lastSize",d);return d},renderLayout(e,t,r,i){const n=this.getQxObject("widgetPane").getPaddingLeft(),o=this.getQxObject("widgetPane").getPaddingTop();let a=this.__P_81_2.setAvailableSize(r-this.getChildControl("scrollbar-y").getSizeHint().width-n-this.getQxObject("widgetPane").getPaddingRight(),i,this.getStartRowIndex(),this.getStartColumnIndex(),n,o);const s=this.getDynamicSizing(),l="rows"===s||"both"===s,u="columns"===s||"both"===s;if(!a&&(l||u))for(const e of this.getQxObject("widgetPane").getLayoutChildren()){const t=e.getSizeHint(),r=e.getUserData("qxl.datagrid.lastSize");if(t){if(l){var c,h,d,f;const e=(null!==(c=null==r?void 0:r.height)&&void 0!==c?c:1/0)>(null!==(h=t.maxHeight)&&void 0!==h?h:1/0),i=(null!==(d=null==r?void 0:r.height)&&void 0!==d?d:-1/0)<(null!==(f=t.minHeight)&&void 0!==f?f:0);if(e||i){a=!0;this.__P_81_2.invalidate();break}}if(u){var _,p,m,g;const e=(null!==(_=null==r?void 0:r.width)&&void 0!==_?_:1/0)>(null!==(p=t.maxWidth)&&void 0!==p?p:1/0),i=(null!==(m=null==r?void 0:r.width)&&void 0!==m?m:-1/0)<(null!==(g=t.minWidth)&&void 0!==g?g:0);if(e||i){a=!0;this.__P_81_2.invalidate();break}}}}qxl.datagrid.DataGrid.superclass.prototype.renderLayout.call(this,e,t,r,i);a&&this.updateWidgets()},_computeSizeHint(){var e=this.getMinWidth()||0,t=this.getMinHeight()||0,r=this.getWidth()||e,i=this.getHeight()||t;return{minWidth:e,width:r,maxWidth:this.getMaxWidth()||1/0,minHeight:t,height:i,maxHeight:this.getMaxHeight()||1/0}},getSelection(){return this.__P_81_1.getSelection()},setSelection(e){this.__P_81_1.setSelection(e)},resetSelection(){this.__P_81_1.resetSelection()},getSelectionManager(){return this.__P_81_1},getSizeCalculator(){return this.__P_81_2},getStyling(){return this.__P_81_2.getStyling()},getDataSourceSize(){return this.getDataSource().getSize()}}});qxl.datagrid.DataGrid.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.column.Column":{construct:!0,require:!0},"qx.util.format.DateFormat":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.DateColumn",{extend:qxl.datagrid.column.Column,properties:{dateFormat:{init:null,check:"qx.util.format.DateFormat",event:"changeDateFormat"}},construct(){qxl.datagrid.column.Column.constructor.call(this);this.setBindingOptions(((e,t)=>({converter:(e,t,r,i)=>{if(!e)return"";let n=this.getDateFormat()||qx.util.format.DateFormat.getDateInstance();"string"==typeof e&&(e=new Date(Date.parse(e)));return n.format(e)}})))}});qxl.datagrid.column.DateColumn.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.demo.array.DummyModel",{extend:qx.core.Object,construct(){qx.core.Object.constructor.call(this);this.set({title:this._randomTitle(),author:this._randomAuthor(),date:this._randomDate()})},properties:{title:{nullable:!1,check:"String",event:"changeTitle"},author:{nullable:!1,check:"String",event:"changeAuthor"},date:{nullable:!1,check:"Date",event:"changeDate"}},members:{_randomNoun(){const e=["Cat","Dog","Mouse","Horse","Cow","Pig","Chicken","Duck","Goose","Sheep","Goat","Rabbit","Hamster","Gerbil","Rat","Parrot","Cockatoo","Canary","Finch","Goldfish","Tropical Fish","Frog","Toad","Newt","Salamander","Lizard","Snake","Turtle","Tortoise","Crocodile","Alligator","Dinosaur","Pterodactyl","Tyrannosaurus Rex","Robin","Blue Jay","Sparrow","Owl","Eagle","Hawk","Falcon","Vulture","Penguin"];return e[Math.floor(Math.random()*e.length)]},_randomTitle(){const e=this._randomNoun(),t=this._randomNoun();return[`The ${e} and The ${t}`,`The ${e}'s ${t}`,`The ${e}`][Math.floor(3*Math.random())]},_randomSurname(){const e=["Smith","Johnson","Williams","Brown","Jones","Miller","Davis","Garcia","Rodriguez","Wilson","Martinez","Anderson","Taylor","Thomas"];return e[Math.floor(Math.random()*e.length)]},_randomAuthor(){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(26*Math.random())],t=this._randomSurname();return`${["Mr","Mrs","Dr","Prof"][Math.floor(4*Math.random())]} ${e}. ${t}`},_randomDate(){const e=new Date;return new Date(e.getTime()-Math.floor(15*Math.random()*365*24*60*60*1e3))}}});qxl.datagrid.demo.array.DummyModel.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.source.tree.NodeInspector":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.demo.tree.TreeDemoNodeInspector",{extend:qxl.datagrid.source.tree.NodeInspector,members:{canHaveChildren:e=>"directory"==e.getType()}});qxl.datagrid.demo.tree.TreeDemoNodeInspector.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MChildrenHandling":{require:!0},"qx.ui.layout.HBox":{construct:!0},"qx.ui.menu.Menu":{},"qx.util.PropertyUtil":{},"qx.ui.core.Spacer":{},"qx.ui.toolbar.Separator":{},"qx.ui.menubar.Button":{},"qx.ui.toolbar.Part":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.ToolBar",{extend:qx.ui.core.Widget,include:qx.ui.core.MChildrenHandling,construct(e){qx.ui.core.Widget.constructor.call(this);this.getContentElement().setAttribute("role","toolbar");this._setLayout(e||new qx.ui.layout.HBox);this.__P_82_0=[];this.__P_82_1=[]},properties:{appearance:{refine:!0,init:"toolbar"},openMenu:{check:"qx.ui.menu.Menu",event:"changeOpenMenu",nullable:!0},show:{init:"both",check:["both","label","icon"],inheritable:!0,apply:"_applyShow",event:"changeShow"},spacing:{nullable:!0,check:"Integer",themeable:!0,apply:"_applySpacing"},overflowIndicator:{check:"qx.ui.core.Widget",nullable:!0,apply:"_applyOverflowIndicator"},overflowHandling:{init:!1,check:"Boolean",apply:"_applyOverflowHandling"}},events:{hideItem:"qx.event.type.Data",showItem:"qx.event.type.Data"},members:{__P_82_0:null,__P_82_1:null,_computeSizeHint(){var e=qx.ui.toolbar.ToolBar.superclass.prototype._computeSizeHint.call(this);if(this.getOverflowHandling()){var t=0,r=this.getOverflowIndicator();r&&(t=r.getSizeHint().width+this.getSpacing());e.minWidth=t}return e},_onResize(e){this._recalculateOverflow(e.getData().width)},_recalculateOverflow(e,t){if(this.getOverflowHandling()){t=t||this.getSizeHint().width;var r=this.getOverflowIndicator(),i=0;r&&(i=r.getSizeHint().width);null==e&&null!=this.getBounds()&&(e=this.getBounds().width);if(null!=e)if(ee);else if(this.__P_82_0.length>0)do{var l=this.__P_82_0[0];if(l){o=l.getMarginLeft()+l.getMarginRight();o=Math.max(o,this.getSpacing());if(null==l.getContentElement().getDomElement()){l.syncAppearance();l.invalidateLayoutCache()}var u=l.getSizeHint().width,c=!1;if(1==this.__P_82_0.length&&i>0){c=e>t-i+u+(o-this.getSpacing())}if(!(e>t+u+o||c))return;this.__P_82_3(l);t+=u;r&&0==this.__P_82_0.length&&r.setVisibility("excluded")}}while(e>=t&&this.__P_82_0.length>0)}},__P_82_3(e){e.setVisibility("visible");this.__P_82_0.shift();this.fireDataEvent("showItem",e)},__P_82_2(e){if(e){this.__P_82_0.unshift(e);e.setVisibility("excluded");this.fireDataEvent("hideItem",e)}},_getNextToHide(){for(var e=this.__P_82_1.length-1;e>=0;e--){var t=this.__P_82_1[e];if(t&&t.getVisibility&&"visible"==t.getVisibility())return t}var r=this._getChildren();for(e=r.length-1;e>=0;e--){var i=r[e];if(i!=this.getOverflowIndicator()&&(i.getVisibility&&"visible"==i.getVisibility()))return i}},setRemovePriority(e,t,r){if(!r&&null!=this.__P_82_1[t])throw new Error("Priority already in use!");this.__P_82_1[t]=e},_applyOverflowHandling(e,t){this.invalidateLayoutCache();var r=this.getLayoutParent();r&&r.invalidateLayoutCache();var i=this.getBounds();i&&i.width&&this._recalculateOverflow(i.width);if(e)this.addListener("resize",this._onResize,this);else{this.removeListener("resize",this._onResize,this);var n=this.getOverflowIndicator();n&&n.setVisibility("excluded");for(var o=0;o{var n=new qx.io.request.Xhr(r);i&&n.set(i);n.addListener("success",(t=>{let r=n.getResponseText();n.dispose();e(r)}));n.addListener("fail",(()=>{n.dispose();t()}));n.send()})));var r,i;t=JSON.parse(t);const n=e=>{let t=(new qxl.datagrid.demo.tree.TreeDemoFileNode).set({name:e.name,permissions:e.permissions,lastModified:new Date(e.lastModified)});e.size?t.set({size:e.size,type:"file"}):t.set({type:"directory"});if(e.children)for(let r of e.children){let e=n(r);t.__P_83_0.push(e)}return t};return n(t)}}});qxl.datagrid.demo.tree.TreeDemoFileNode.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.column.Column":{require:!0},"qxl.datagrid.column.tree.ExpansionWidget":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.tree.ExpansionColumn",{extend:qxl.datagrid.column.Column,properties:{iconPathProvider:{check:"Function",nullable:!0}},members:{createWidgetForDisplay:()=>new qxl.datagrid.column.tree.ExpansionWidget,bindWidget(e,t,r){let i=qxl.datagrid.column.tree.ExpansionColumn.superclass.prototype.bindWidget.call(this,e,t),n=r.getDataSource().getNodeStateFor(t);if(null==n)return i;e.setIndentationLevel(n.level);e.setState(n.state);const o=this.getIconPathProvider();if(o){const r=o(t);r&&e.setIcon(r)}e.addListener("changeState",(e=>{let i=e.getData();"open"==i?r.getDataSource().expandNode(t):"closed"==i&&r.getDataSource().collapseNode(t)}));return i}}});qxl.datagrid.column.tree.ExpansionColumn.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.column.Column":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.FileSizeColumn",{extend:qxl.datagrid.column.Column,properties:{binary:{init:!0,check:"Binary"}},construct(){qxl.datagrid.column.Column.constructor.call(this);this.setBindingOptions(((e,t)=>({converter:(e,t,r,i)=>e?this._convertValueForDisplay(e):""})))},members:{_convertValueForDisplay(e){if("number"!=typeof e)return"";let t=this.getBinary()?1024:1e3;return enew Date(e.getTime()+864e5*(3-(e.getDay()+6)%7)),__P_84_10(e){var t=this.__P_84_9(e),r=t.getFullYear(),i=this.__P_84_9(new Date(r,0,4));return Math.floor(1.5+(t.getTime()-i.getTime())/864e5/7)},__P_84_11(e){var t=this.__P_84_9(e),r=this.__P_84_9(new Date(e.getFullYear(),e.getMonth(),4));return Math.floor(1.5+(t.getTime()-r.getTime())/864e5/7)},__P_84_12(e){return this.__P_84_9(e).getFullYear()},__P_84_13(e){var t=new Date(e,2,1);t.setDate(-1);return t.getDate()+1===29},__P_84_14(e,t){var r=0,i=0;t||(t=1971);for(var n=0,o=1;o<=12;o++){var a=new Date(t,o,1);a.setDate(-1);var s=a.getDate()+1;if(!((n+=s)0?1:-1,d=Math.floor(Math.abs(c)/60),f=Math.abs(c)%60;this.__P_84_16();for(var _="",p=0;p(b=(x=Math.abs(r))+"").length)for(var y=b.length;yb.length)for(y=x.length;y=1&&v<=3?b=r>0?"AD":"BC":4==v?b=r>0?"Anno Domini":"Before Christ":5==v&&(b=r>0?"A":"B");break;case"Q":case"q":1!=v&&2!=v||(b=this.__P_84_7(parseInt(i/4)+1,v));3==v&&(b="Q"+(parseInt(i/4)+1));break;case"D":b=this.__P_84_7(this.__P_84_8(e),v);break;case"d":b=this.__P_84_7(n,v);break;case"w":b=this.__P_84_7(this.__P_84_10(e),v);break;case"W":b=this.__P_84_11(e);break;case"E":v>=1&&v<=3?b=qx.locale.Date.getDayName("abbreviated",o,t,"format",!0):4==v?b=qx.locale.Date.getDayName("wide",o,t,"format",!0):5==v&&(b=qx.locale.Date.getDayName("narrow",o,t,"format",!0));break;case"e":var q=1+(o-(w=qx.locale.Date.getWeekStart(t))>=0?o-w:o-w+7);v>=1&&v<=2?b=this.__P_84_7(q,v):3==v?b=qx.locale.Date.getDayName("abbreviated",o,t,"format",!0):4==v?b=qx.locale.Date.getDayName("wide",o,t,"format",!0):5==v&&(b=qx.locale.Date.getDayName("narrow",o,t,"format",!0));break;case"c":var w;q=1+(o-(w=qx.locale.Date.getWeekStart(t))>=0?o-w:o-w+7);1==v?b=""+q:3==v?b=qx.locale.Date.getDayName("abbreviated",o,t,"stand-alone",!0):4==v?b=qx.locale.Date.getDayName("wide",o,t,"stand-alone",!0):5==v&&(b=qx.locale.Date.getDayName("narrow",o,t,"stand-alone",!0));break;case"M":1==v||2==v?b=this.__P_84_7(i+1,v):3==v?b=qx.locale.Date.getMonthName("abbreviated",i,t,"format",!0):4==v?b=qx.locale.Date.getMonthName("wide",i,t,"format",!0):5==v&&(b=qx.locale.Date.getMonthName("narrow",i,t,"format",!0));break;case"L":1==v||2==v?b=this.__P_84_7(i+1,v):3==v?b=qx.locale.Date.getMonthName("abbreviated",i,t,"stand-alone",!0):4==v?b=qx.locale.Date.getMonthName("wide",i,t,"stand-alone",!0):5==v&&(b=qx.locale.Date.getMonthName("narrow",i,t,"stand-alone",!0));break;case"a":b=a<12?qx.locale.Date.getAmMarker(t):qx.locale.Date.getPmMarker(t);break;case"H":b=this.__P_84_7(a,v);break;case"k":b=this.__P_84_7(0==a?24:a,v);break;case"K":b=this.__P_84_7(a%12,v);break;case"h":b=this.__P_84_7(a%12==0?12:a%12,v);break;case"m":b=this.__P_84_7(s,v);break;case"s":b=this.__P_84_7(l,v);break;case"S":if(v<(b=this.__P_84_7(u,3)).length)b=b.substr(0,v);else for(;v>b.length;)b+="0";break;case"z":v>=1&&v<=4&&(b="GMT"+(h>0?"-":"+")+this.__P_84_7(Math.abs(d),2)+":"+this.__P_84_7(f,2));break;case"Z":b=v>=1&&v<=3?(h>0?"-":"+")+this.__P_84_7(Math.abs(d),2)+this.__P_84_7(f,2):"GMT"+(h>0?"-":"+")+this.__P_84_7(Math.abs(d),2)+":"+this.__P_84_7(f,2)}_+=b}}return _},parse(e){this.__P_84_17();var t=this.__P_84_4.regex.exec(e);if(null==t)throw new Error("Date string '"+e+"' does not match the date format: "+this.__P_84_2);for(var r,i={era:1,year:1970,quarter:1,month:0,day:1,dayOfYear:1,hour:0,ispm:!1,weekDay:4,weekYear:1970,weekOfMonth:1,weekOfYear:1,min:0,sec:0,ms:0,tzOffsetMins:null},n=1,o=!1,a=!1,s=0;s=i.length){o++;break}if("'"==i.charAt(o+1)){r+=a;o++}else{o++;n="unkown"}}else{r+=a;o++}break;case"wildcard":if(a==e){t++;o++}else{this.__P_84_6.push({type:"wildcard",character:e,size:t});e=null;t=0;n="default"}break;default:if(a>="a"&&a<="z"||a>="A"&&a<="Z"){e=a;n="wildcard"}else if("'"==a){if(o+1>=i.length){r+=a;o++;break}if("'"==i.charAt(o+1)){r+=a;o++}o++;n="quoted_literal"}else n="default";if("default"!=n){if(r.length>0){this.__P_84_6.push({type:"literal",text:r});r=""}}else{r+=a;o++}}}null!=e?this.__P_84_6.push({type:"wildcard",character:e,size:t}):r.length>0&&this.__P_84_6.push({type:"literal",text:r})}},__P_84_17(){if(null==this.__P_84_4){var e=this.__P_84_2;this.__P_84_18();this.__P_84_16();for(var t,r=[],i="^",n=0;n14)throw new Error("Invalid hours in time zone offset.");if(n>59)throw new Error("Invalid minutes in time zone offset.");e.tzOffsetMins=60*i+n;"-"===r[1]&&(e.tzOffsetMins=-e.tzOffsetMins)},h=["AD","BC"],d=function(e,t){e.era="AD"==t?1:-1},f=["Q1","Q2","Q3","Q4"],_=function(e,t){e.quarter=f.indexOf(t)},p=["1st quarter","2nd quarter","3rd quarter","4th quarter"],m=function(e,t){e.quarter=p.indexOf(t)},g={},v=function(e){var r=["L","M"],i=["c","e","E"],n=e.charAt(0),a=r.indexOf(n)>=0;if(!g[e]){g[e]={};for(var s=function(){var t=n===(a?r:i)[0]?"stand-alone":"format",o="abbreviated";switch(e.length){case 4:o="wide";break;case 5:o="narrow";break;default:o="abbreviated"}return[t,o]}(),l=(a?qx.locale.Date.getMonthNames:qx.locale.Date.getDayNames).call(qx.locale.Date,s[1],o,s[0],!0),u=0,c=l.length;u=0&&(r=0&&(r=0,"Value must be positive")},false:null}),__P_85_9(){for(var e=[],t=[],r=[],i=-1,n=-1,o=this._getLayoutChildren(),a=0,s=o.length;a1&&r.push(l);u.colSpan>1&&t.push(l)}for(f=0;f<=i;f++)null==e[f]&&(e[f]=[]);this.__P_85_2=e;this.__P_85_3=t;this.__P_85_4=r;this.__P_85_5=i;this.__P_85_6=n;this.__P_85_7=null;this.__P_85_8=null;delete this._invalidChildrenCache},_setRowData(e,t,r){var i=this.__P_85_0[e];if(i)i[t]=r;else{this.__P_85_0[e]={};this.__P_85_0[e][t]=r}},_setColumnData(e,t,r){var i=this.__P_85_1[e];if(i)i[t]=r;else{this.__P_85_1[e]={};this.__P_85_1[e][t]=r}},setSpacing(e){this.setSpacingY(e);this.setSpacingX(e);return this},setColumnAlign(e,t,r){this._setColumnData(e,"hAlign",t);this._setColumnData(e,"vAlign",r);this._applyLayoutChange();return this},getColumnAlign(e){var t=this.__P_85_1[e]||{};return{vAlign:t.vAlign||"top",hAlign:t.hAlign||"left"}},setRowAlign(e,t,r){this._setRowData(e,"hAlign",t);this._setRowData(e,"vAlign",r);this._applyLayoutChange();return this},getRowAlign(e){var t=this.__P_85_0[e]||{};return{vAlign:t.vAlign||"top",hAlign:t.hAlign||"left"}},getCellWidget(e,t){this._invalidChildrenCache&&this.__P_85_9();return(e=this.__P_85_2[e]||{})[t]||null},getRowCount(){this._invalidChildrenCache&&this.__P_85_9();return this.__P_85_5+1},getColumnCount(){this._invalidChildrenCache&&this.__P_85_9();return this.__P_85_6+1},getCellAlign(e,t){var r="top",i="left",n=this.__P_85_0[e],o=this.__P_85_1[t],a=this.__P_85_2[e][t];if(a)var s={vAlign:a.getAlignY(),hAlign:a.getAlignX()};else s={};s.vAlign?r=s.vAlign:n&&n.vAlign?r=n.vAlign:o&&o.vAlign&&(r=o.vAlign);s.hAlign?i=s.hAlign:o&&o.hAlign?i=o.hAlign:n&&n.hAlign&&(i=n.hAlign);return{vAlign:r,hAlign:i}},setColumnFlex(e,t){this._setColumnData(e,"flex",t);this._applyLayoutChange();return this},getColumnFlex(e){var t=this.__P_85_1[e]||{};return void 0!==t.flex?t.flex:0},setRowFlex(e,t){this._setRowData(e,"flex",t);this._applyLayoutChange();return this},getRowFlex(e){var t=this.__P_85_0[e]||{};return void 0!==t.flex?t.flex:0},setColumnMaxWidth(e,t){this._setColumnData(e,"maxWidth",t);this._applyLayoutChange();return this},getColumnMaxWidth(e){var t=this.__P_85_1[e]||{};return void 0!==t.maxWidth?t.maxWidth:1/0},setColumnWidth(e,t){this._setColumnData(e,"width",t);this._applyLayoutChange();return this},getColumnWidth(e){var t=this.__P_85_1[e]||{};return void 0!==t.width?t.width:null},setColumnMinWidth(e,t){this._setColumnData(e,"minWidth",t);this._applyLayoutChange();return this},getColumnMinWidth(e){return(this.__P_85_1[e]||{}).minWidth||0},setRowMaxHeight(e,t){this._setRowData(e,"maxHeight",t);this._applyLayoutChange();return this},getRowMaxHeight(e){return(this.__P_85_0[e]||{}).maxHeight||1/0},setRowHeight(e,t){this._setRowData(e,"height",t);this._applyLayoutChange();return this},getRowHeight(e){var t=this.__P_85_0[e]||{};return void 0!==t.height?t.height:null},setRowMinHeight(e,t){this._setRowData(e,"minHeight",t);this._applyLayoutChange();return this},getRowMinHeight(e){return(this.__P_85_0[e]||{}).minHeight||0},_getOuterSize(e){var t=e.getSizeHint(),r=e.getMarginLeft()+e.getMarginRight(),i=e.getMarginTop()+e.getMarginBottom();return{height:t.height+i,width:t.width+r,minHeight:t.minHeight+i,minWidth:t.minWidth+r,maxHeight:t.maxHeight+i,maxWidth:t.maxWidth+r}},_fixHeightsRowSpan(e){for(var t=this.getSpacingY(),r=0,i=this.__P_85_4.length;r0&&(c[d]={min:f.minHeight,value:f.height,max:f.maxHeight,flex:_});l+=f.height;u+=f.minHeight}if(l0&&(d[_]={min:p.minWidth,value:p.width,max:p.maxWidth,flex:m});c+=p.width;h+=p.minWidth}if(c1)){var l=this._getOuterSize(s);n=this.getRowFlex(i)>0?Math.max(n,l.minHeight):Math.max(n,l.height);o=Math.max(o,l.height)}}}n=Math.max(n,this.getRowMinHeight(i));var u=this.getRowMaxHeight(i);if(null!==this.getRowHeight(i))o=this.getRowHeight(i);else o=Math.max(n,Math.min(o,u));e[i]={minHeight:n,height:o,maxHeight:u}}this.__P_85_4.length>0&&this._fixHeightsRowSpan(e);this.__P_85_7=e;return e},_getColWidths(){if(null!=this.__P_85_8)return this.__P_85_8;for(var e=[],t=this.__P_85_6,r=this.__P_85_5,i=0;i<=t;i++){for(var n,o=0,a=0,s=0;s<=r;s++){var l=this.__P_85_2[s][i];if(l){if(!((l.getLayoutProperties().colSpan||0)>1)){var u=this._getOuterSize(l);a=Math.max(a,u.minWidth);o=Math.max(o,u.width)}}}a=Math.max(a,this.getColumnMinWidth(i));n=this.getColumnMaxWidth(i);if(null!==this.getColumnWidth(i))o=this.getColumnWidth(i);else o=Math.max(a,Math.min(o,n));e[i]={minWidth:a,width:o,maxWidth:n}}this._getColSpans().length>0&&this._fixWidthsColSpan(e);this.__P_85_8=e;return e},_getColumnFlexOffsets(e){var t=this.getSizeHint(),r=e-t.width;if(0==r)return{};for(var i=this._getColWidths(),n={},o=0,a=i.length;o0||s.width==s.minWidth&&r<0||(n[o]={min:s.minWidth,value:s.width,max:s.maxWidth,flex:l})}return qx.ui.layout.Util.computeFlexOffsets(n,e,t.width)},_getRowFlexOffsets(e){var t=this.getSizeHint(),r=e-t.height;if(0==r)return{};for(var i=this._getRowHeights(),n={},o=0,a=i.length;o0||s.height==s.minHeight&&r<0||(n[o]={min:s.minHeight,value:s.height,max:s.maxHeight,flex:l})}return qx.ui.layout.Util.computeFlexOffsets(n,e,t.height)},_getColSpans(){return this.__P_85_3},renderLayout(e,t,r){this._invalidChildrenCache&&this.__P_85_9();for(var i,n=qx.ui.layout.Util,o=this.getSpacingX(),a=this.getSpacingY(),s=this._getColWidths(),l=this._getColumnFlexOffsets(e),u=[],c=this.__P_85_6,h=this.__P_85_5,d=0;d<=c;d++){i=l[d]?l[d].offset:0;u[d]=s[d].width+i}for(var f=this._getRowHeights(),_=this._getRowFlexOffsets(t),p=[],m=0;m<=h;m++){i=_[m]?_[m].offset:0;p[m]=f[m].height+i}var g=0;for(d=0;d<=c;d++){var v=0;for(m=0;m<=h;m++){var b=this.__P_85_2[m][d];if(b){var y=b.getLayoutProperties();if(y.row===m&&y.column===d){for(var x=o*(y.colSpan-1),q=0;q0?t+=o.minWidth:t+=o.width;r+=o.width}var a=this._getRowHeights(),s=0,l=0;for(i=0,n=a.length;i0?s+=u.minHeight:s+=u.height;l+=u.height}var c=this.getSpacingX()*(e.length-1),h=this.getSpacingY()*(a.length-1);return{minWidth:t+c,width:r+c,minHeight:s+h,height:l+h}}},destruct(){this.__P_85_2=this.__P_85_0=this.__P_85_1=this.__P_85_3=this.__P_85_4=this.__P_85_8=this.__P_85_7=null}});qx.ui.layout.Grid.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.Promise":{construct:!0},"qx.bom.Label":{},"qx.bom.client.Browser":{require:!0},"qx.event.Timer":{},"qx.bom.element.Dimension":{},"qx.lang.Object":{},"qx.bom.element.Style":{}},environment:{provided:[],required:{"browser.name":{className:"qx.bom.client.Browser"},"browser.version":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.webfonts.Validator",{extend:qx.core.Object,construct(e,t,r,i){qx.core.Object.constructor.call(this);t&&this.setComparisonString(t);r&&this.setFontWeight(r);i&&this.setFontStyle(i);if(e){this.setFontFamily(e);this.__P_184_0=this._getRequestedHelpers()}this.__P_184_1=new qx.Promise},statics:{COMPARISON_FONTS:{sans:["Arial","Helvetica","sans-serif"],serif:["Times New Roman","Georgia","serif"]},HELPER_CSS:{position:"absolute",margin:"0",padding:"0",top:"-1000px",left:"-1000px",fontSize:"350px",width:"auto",height:"auto",lineHeight:"normal",fontVariant:"normal",visibility:"hidden"},COMPARISON_STRING:"WEei",__P_184_2:null,__P_184_3:null,removeDefaultHelperElements(){var e=qx.bom.webfonts.Validator.__P_184_3;if(e)for(var t in e)document.body.removeChild(e[t]);delete qx.bom.webfonts.Validator.__P_184_3}},properties:{fontFamily:{nullable:!0,init:null,apply:"_applyFontFamily"},fontWeight:{nullable:!0,check:"String",apply:"_applyFontWeight"},fontStyle:{nullable:!0,check:"String",apply:"_applyFontStyle"},comparisonString:{nullable:!0,init:null},timeout:{check:"Integer",init:5e3}},events:{changeStatus:"qx.event.type.Data"},members:{__P_184_0:null,__P_184_4:null,__P_184_5:null,__P_184_1:null,validate(){if(this.__P_184_5)return;const e=e=>{this.__P_184_4&&this.__P_184_4.stop();this._reset();this.__P_184_1.resolve(e);this.fireDataEvent("changeStatus",{family:this.getFontFamily(),valid:e})};if(document.fonts&&"function"==typeof document.fonts.load){this.__P_184_5=(new Date).getTime();let t=`${this.getFontStyle()||"normal"} ${this.getFontWeight()||"normal"} 14px ${this.getFontFamily()}`;(async()=>{try{await document.fonts.load(t);await document.fonts.ready;qx.bom.Label.getTextSize("Hello World",{fontFamily:this.getFontFamily(),fontStyle:this.getFontStyle(),fontWeight:this.getFontWeight()});setTimeout((()=>e(this._isFontValid())),100)}catch(r){this.warn(`Exception while loading font ${t}: `+r);e(!1)}})()}else{this.__P_184_5=(new Date).getTime();this.getFontStyle(),this.getFontWeight(),this.getFontFamily();const t=()=>{if(this._isFontValid())"safari"==qx.core.Environment.get("browser.name")&&parseFloat(qx.core.Environment.get("browser.version"))>=8?setTimeout((()=>e(!0)),100):e(!0);else{(new Date).getTime()-this.__P_184_5>=this.getTimeout()&&e(!1)}};qx.event.Timer.once((()=>{this.__P_184_4=new qx.event.Timer(100);this.__P_184_4.addListener("interval",t);this.__P_184_4.start()}),this,0)}},async isValid(){return await this.__P_184_1},_reset(){if(this.__P_184_0){for(var e in this.__P_184_0){var t=this.__P_184_0[e];document.body.removeChild(t)}this.__P_184_0=null}},_isFontValid(){qx.bom.webfonts.Validator.__P_184_2||this.__P_184_6();this.__P_184_0||(this.__P_184_0=this._getRequestedHelpers());this.__P_184_0.sans.style.visibility="visible";this.__P_184_0.sans.style.visibility="hidden";this.__P_184_0.serif.style.visibility="visible";this.__P_184_0.serif.style.visibility="hidden";var e=qx.bom.element.Dimension.getWidth(this.__P_184_0.sans),t=qx.bom.element.Dimension.getWidth(this.__P_184_0.serif),r=qx.bom.webfonts.Validator;return e!==r.__P_184_2.sans||t!==r.__P_184_2.serif},_getRequestedHelpers(){var e=[this.getFontFamily()].concat(qx.bom.webfonts.Validator.COMPARISON_FONTS.sans),t=[this.getFontFamily()].concat(qx.bom.webfonts.Validator.COMPARISON_FONTS.serif);return{sans:this._getHelperElement(e,this.getComparisonString()),serif:this._getHelperElement(t,this.getComparisonString())}},_getHelperElement(e,t){var r=qx.lang.Object.clone(qx.bom.webfonts.Validator.HELPER_CSS);e&&(r.fontFamily?r.fontFamily+=","+e.join(","):r.fontFamily=e.join(","));this.getFontWeight()&&(r.fontWeight=this.getFontWeight());this.getFontStyle()&&(r.fontStyle=this.getFontStyle());var i=document.createElement("span");i.innerHTML=t||qx.bom.webfonts.Validator.COMPARISON_STRING;qx.bom.element.Style.setStyles(i,r);document.body.appendChild(i);return i},_applyFontFamily(e,t){e!==t&&this._reset()},_applyFontWeight(e,t){e!==t&&this._reset()},_applyFontStyle(e,t){e!==t&&this._reset()},__P_184_6(){var e=qx.bom.webfonts.Validator;e.__P_184_3||(e.__P_184_3={sans:this._getHelperElement(e.COMPARISON_FONTS.sans),serif:this._getHelperElement(e.COMPARISON_FONTS.serif)});e.__P_184_2={sans:qx.bom.element.Dimension.getWidth(e.__P_184_3.sans),serif:qx.bom.element.Dimension.getWidth(e.__P_184_3.serif)}}},destruct(){this._reset();null!=this.__P_184_4&&this.__P_184_4.stop();this._disposeObjects("__P_184_4")}});qx.bom.webfonts.Validator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.AbstractAxis",{extend:Object,statics:{computeStart(e,t,r,i,n){throw new Error("abstract method call!")},_moveToEdgeAndAlign(e,t,r,i){switch(i){case"edge-start":return t.start-r.end-e;case"edge-end":return t.end+r.start;case"align-start":return t.start+r.start;case"align-center":return t.start+parseInt((t.end-t.start-e)/2,10)+r.start;case"align-end":return t.end-r.end-e}},_isInRange:(e,t,r)=>e>=0&&e+t<=r}});qx.util.placement.AbstractAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.placement.AbstractAxis":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.DirectAxis",{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart(e,t,r,i,n){return this._moveToEdgeAndAlign(e,t,r,n)}}});qx.util.placement.DirectAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.placement.AbstractAxis":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.KeepAlignAxis",{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,_isInRange:qx.util.placement.AbstractAxis._isInRange,computeStart(e,t,r,i,n){var o,a,s=this._moveToEdgeAndAlign(e,t,r,n);if(this._isInRange(s,e,i))return s;if("edge-start"==n||"edge-end"==n){o=t.start-r.end;a=t.end+r.start}else{o=t.end-r.end;a=t.start+r.start}return s=o>i-a?Math.max(0,o-e):a}}});qx.util.placement.KeepAlignAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.placement.AbstractAxis":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.BestFitAxis",{statics:{_isInRange:qx.util.placement.AbstractAxis._isInRange,_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart(e,t,r,i,n){var o=this._moveToEdgeAndAlign(e,t,r,n);if(this._isInRange(o,e,i))return o;o<0&&(o=Math.min(0,i-e));o+e>i&&(o=Math.max(0,i-e));return o}}});qx.util.placement.BestFitAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.event.Emitter":{require:!0},"qx.bom.client.CssAnimation":{construct:!0,require:!0}},environment:{provided:[],required:{"css.animation":{construct:!0,className:"qx.bom.client.CssAnimation"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.AnimationHandle",{extend:qx.event.Emitter,construct(){var e=qx.core.Environment.get("css.animation");this.__P_220_0=e&&e["play-state"];this.__P_220_1=!0;this.addListenerOnce("end",this.__P_220_2,this)},events:{start:"Element",end:"Element",iteration:"Element"},members:{__P_220_0:null,__P_220_1:!1,__P_220_3:!1,isPlaying(){return this.__P_220_1},isEnded(){return this.__P_220_3},isPaused(){return"paused"==this.el.style[this.__P_220_0]},pause(){if(this.el){this.el.style[this.__P_220_0]="paused";this.el.$$animation.__P_220_1=!1;this.animationId&&qx.bom.element.AnimationJs&&qx.bom.element.AnimationJs.pause(this)}},play(){if(this.el){this.el.style[this.__P_220_0]="running";this.el.$$animation.__P_220_1=!0;null!=this.i&&qx.bom.element.AnimationJs&&qx.bom.element.AnimationJs.play(this)}},stop(){if(this.el&&qx.core.Environment.get("css.animation")&&!this.jsAnimation){this.el.style[this.__P_220_0]="";this.el.style[qx.core.Environment.get("css.animation").name]="";this.el.$$animation.__P_220_1=!1;this.el.$$animation.__P_220_3=!0}else if(this.jsAnimation){this.stopped=!0;qx.bom.element.AnimationJs.stop(this)}},__P_220_2(){this.__P_220_1=!1;this.__P_220_3=!0}}});qx.bom.element.AnimationHandle.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.Style":{},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["css.transform","css.transform.3d"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.CssTransform",{statics:{getSupport(){var e=qx.bom.client.CssTransform.getName();return null!=e?{name:e,style:qx.bom.client.CssTransform.getStyle(),origin:qx.bom.client.CssTransform.getOrigin(),"3d":qx.bom.client.CssTransform.get3D(),perspective:qx.bom.client.CssTransform.getPerspective(),"perspective-origin":qx.bom.client.CssTransform.getPerspectiveOrigin(),"backface-visibility":qx.bom.client.CssTransform.getBackFaceVisibility()}:null},getStyle:()=>qx.bom.Style.getPropertyName("transformStyle"),getPerspective:()=>qx.bom.Style.getPropertyName("perspective"),getPerspectiveOrigin:()=>qx.bom.Style.getPropertyName("perspectiveOrigin"),getBackFaceVisibility:()=>qx.bom.Style.getPropertyName("backfaceVisibility"),getOrigin:()=>qx.bom.Style.getPropertyName("transformOrigin"),getName:()=>qx.bom.Style.getPropertyName("transform"),get3D:()=>null!=qx.bom.client.CssTransform.getPerspective()},defer(e){qx.core.Environment.add("css.transform",e.getSupport);qx.core.Environment.add("css.transform.3d",e.get3D)}});qx.bom.client.CssTransform.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.CssTransform":{require:!0},"qx.bom.Style":{}},environment:{provided:[],required:{"css.transform":{load:!0,className:"qx.bom.client.CssTransform"},"css.transform.3d":{className:"qx.bom.client.CssTransform"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Transform",{statics:{__P_221_0:qx.core.Environment.get("css.transform"),transform(e,t){var r=this.getTransformValue(t);if(null!=this.__P_221_0){var i=this.__P_221_0.name;e.style[i]=r}},translate(e,t){this.transform(e,{translate:t})},scale(e,t){this.transform(e,{scale:t})},rotate(e,t){this.transform(e,{rotate:t})},skew(e,t){this.transform(e,{skew:t})},getCss(e){var t=this.getTransformValue(e);if(null!=this.__P_221_0){var r=this.__P_221_0.name;return qx.bom.Style.getCssName(r)+":"+t+";"}return""},setOrigin(e,t){null!=this.__P_221_0&&(e.style[this.__P_221_0.origin]=t)},getOrigin(e){return null!=this.__P_221_0?e.style[this.__P_221_0.origin]:""},setStyle(e,t){null!=this.__P_221_0&&(e.style[this.__P_221_0.style]=t)},getStyle(e){return null!=this.__P_221_0?e.style[this.__P_221_0.style]:""},setPerspective(e,t){null!=this.__P_221_0&&(e.style[this.__P_221_0.perspective]=t+"px")},getPerspective(e){return null!=this.__P_221_0?e.style[this.__P_221_0.perspective]:""},setPerspectiveOrigin(e,t){null!=this.__P_221_0&&(e.style[this.__P_221_0["perspective-origin"]]=t)},getPerspectiveOrigin(e){if(null!=this.__P_221_0){var t=e.style[this.__P_221_0["perspective-origin"]];if(""!=t)return t;var r=e.style[this.__P_221_0["perspective-origin"]+"X"],i=e.style[this.__P_221_0["perspective-origin"]+"Y"];if(""!=r)return r+" "+i}return""},setBackfaceVisibility(e,t){null!=this.__P_221_0&&(e.style[this.__P_221_0["backface-visibility"]]=t?"visible":"hidden")},getBackfaceVisibility(e){return null==this.__P_221_0||"visible"==e.style[this.__P_221_0["backface-visibility"]]},getTransformValue(e){var t="",r=["translate","scale"];for(var i in e){var n=e[i];qx.Bootstrap.isArray(n)?3===n.length&&r.indexOf(i)>-1&&qx.core.Environment.get("css.transform.3d")?t+=this._compute3dProperty(i,n):t+=this._computeAxisProperties(i,n):t+=i+"("+n+") "}return t.trim()},_compute3dProperty(e,t){var r="";e+="3d";for(var i=0;i"iframe"===e.tagName.toLowerCase(),registerEvent(e,t,r){},unregisterEvent(e,t,r){}},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Iframe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Iframe":{require:!0},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.dom.Element":{},"qx.dom.Hierarchy":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.log.Logger":{},"qx.bom.Event":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.Iframe",{statics:{DEFAULT_ATTRIBUTES:{frameBorder:0,frameSpacing:0,marginWidth:0,marginHeight:0,hspace:0,vspace:0,border:0,allowTransparency:!0},create(e,t){e=e?qx.lang.Object.clone(e):{};var r=qx.bom.Iframe.DEFAULT_ATTRIBUTES;for(var i in r)i in e||(e[i]=r[i]);var n=qx.dom.Element.create("iframe",e,t);"onload"in e||(n.onload=function(){qx.event.handler.Iframe.onevent(n)});return n},getWindow(e){try{return e.contentWindow}catch(e){return null}},getDocument(e){if("contentDocument"in e)try{return e.contentDocument}catch(e){return null}try{var t=this.getWindow(e);return t?t.document:null}catch(e){return null}},getBody(e){try{var t=this.getDocument(e);return t?t.getElementsByTagName("body")[0]:null}catch(e){return null}},setSource(e,t){try{if(this.getWindow(e)&&qx.dom.Hierarchy.isRendered(e))try{if("webkit"==qx.core.Environment.get("engine.name")&&"osx"==qx.core.Environment.get("os.name")){var r=this.getWindow(e);r&&r.stop()}this.getWindow(e).location.replace(t)}catch(r){e.src=t}else e.src=t;this.__P_222_0(e)}catch(e){qx.log.Logger.warn("Iframe source could not be set!")}},queryCurrentUrl(e){var t=this.getDocument(e);try{if(t&&t.location)return t.location.href}catch(e){}return""},__P_222_0(e){qx.bom.Event.addNativeListener(e,"load",(function t(){qx.bom.Event.removeNativeListener(e,"load",t);e.$$url=qx.bom.Iframe.queryCurrentUrl(e)}))}}});qx.bom.Iframe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.dom.Element":{},"qx.lang.Type":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine",load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Input",{statics:{__P_223_0:{text:1,textarea:1,select:1,checkbox:1,radio:1,password:1,hidden:1,submit:1,image:1,file:1,search:1,reset:1,button:1},create(e,t,r){var i;t=t?qx.lang.Object.clone(t):{};if("textarea"===e||"select"===e)i=e;else{i="input";t.type=e}return qx.dom.Element.create(i,t,r)},setValue(e,t){var r=e.nodeName.toLowerCase(),i=e.type,n=qx.lang.Type;"number"==typeof t&&(t+="");if("checkbox"===i||"radio"===i)n.isArray(t)?e.checked=t.includes(e.value):e.checked=e.value==t;else if("select"===r){for(var o,a,s=n.isArray(t),l=e.options,u=0,c=l.length;u0&&(d+=u[a]+c)}},__P_201_0(e){for(;!(e instanceof qx.ui.menu.Menu);)e=e.getLayoutParent();return e},_computeSizeHint(){for(var e=this._getLayoutChildren(),t=0,r=0,i=0,n=e.length;ie.useHtml?e.innerHTML:!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")?e.firstChild.getAttribute("value")||"":qx.bom.element.Attribute.get(e,"text"),getHtmlSize(e,t,r){var i=this._htmlElement||this.__P_138_3();i.style.width=null!=r?r+"px":"auto";i.innerHTML=e;return this.__P_138_6(i,t)},getTextSize(e,t){var r=this._textElement||this.__P_138_1();!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")?r.firstChild.setAttribute("value",e):qx.bom.element.Attribute.set(r,"text",e);return this.__P_138_6(r,t)},__P_138_6(e,t){var r=this.__P_138_0;t||(t={});for(var i in r)e.style[i]=t[i]||"";var n=qx.bom.element.Dimension.getSize(e);n.width++;return n}}});qx.bom.Label.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.util.ResourceManager":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.element.Background",{statics:{__P_204_0:["background-image:url(",null,");","background-position:",null,";","background-repeat:",null,";"],__P_204_1:{backgroundImage:null,backgroundPosition:null,backgroundRepeat:null},__P_204_2(e,t){var r=qx.core.Environment.get("engine.name"),i=qx.core.Environment.get("engine.version");"gecko"==r&&i<1.9&&e==t&&"number"==typeof e&&(t+=.01);if(e)var n="number"==typeof e?e+"px":e;else n="0";if(t)var o="number"==typeof t?t+"px":t;else o="0";return n+" "+o},compile(e,t,r,i){var n=this.__P_204_2(r,i),o=qx.util.ResourceManager.getInstance().toUri(e),a=this.__P_204_0;a[1]="'"+o+"'";a[4]=n;a[7]=t;return a.join("")},getStyles(e,t,r,i){if(!e)return this.__P_204_1;var n={backgroundPosition:this.__P_204_2(r,i),backgroundImage:"url('"+qx.util.ResourceManager.getInstance().toUri(e)+"')"};null!=t&&(n.backgroundRepeat=t);return n},set(e,t,r,i,n){var o=this.getStyles(t,r,i,n);for(var a in o)e.style[a]=o[a]}}});qx.bom.element.Background.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.dev.unit.TestCase":{},"qx.lang.Type":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.dev.unit.TestFunction",{extend:qx.core.Object,construct(e,t,r){r&&this.setTestFunction(r);if(e){this.setClassName(e.classname);this.setTestClass(e)}this.setName(t)},properties:{testFunction:{check:"Function"},name:{check:"String"},className:{check:"String",init:""},testClass:{check:"qx.dev.unit.TestCase",init:null}},members:{run(e){var t=this.getTestClass(),r=this.getName();t.set({testFunc:this,testResult:e});e.run(this,(function(){switch(t[r].constructor.name){case"Function":try{t[r]()}catch(e){throw e}break;case"AsyncFunction":t[r]().then((function(){t.resume()})).catch((function(e){t.resume((function(){throw e}))}));t.wait()}}))},setUp(){var e=this.getTestClass();qx.lang.Type.isFunction(e.setUp)&&e.setUp()},tearDown(){var e=this.getTestClass();qx.lang.Type.isFunction(e.tearDown)&&e.tearDown()},getFullName(){return[this.getClassName(),this.getName()].join(":")}}});qx.dev.unit.TestFunction.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",construct:!0,require:!0},"qx.dev.unit.AbstractTestSuite":{construct:!0,require:!0},"qx.dev.unit.TestCase":{construct:!0},"qx.lang.Type":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.dev.unit.TestClass",{extend:qx.dev.unit.AbstractTestSuite,construct(e){qx.dev.unit.AbstractTestSuite.constructor.call(this);if(e)if(qx.Class.isSubClassOf(e,qx.dev.unit.TestCase)){var t=e.prototype,r=new e;for(var i in t)qx.lang.Type.isFunctionOrAsyncFunction(t[i])&&0==i.indexOf("test")&&this.addTestMethod(r,i);this.setName(e.classname)}else this.addFail("Sub class check.","The test class '"+e.classname+"'is not a sub class of 'qx.dev.unit.TestCase'");else this.addFail("existsCheck","Unknown test class!")},properties:{name:{check:"String"}}});qx.dev.unit.TestClass.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Timer":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.AcceleratingTimer",{extend:qx.core.Object,implement:[qx.core.IDisposable],construct(){qx.core.Object.constructor.call(this);this.__P_168_0=new qx.event.Timer(this.getInterval());this.__P_168_0.addListener("interval",this._onInterval,this)},events:{interval:"qx.event.type.Event"},properties:{interval:{check:"Integer",init:100},firstInterval:{check:"Integer",init:500},minimum:{check:"Integer",init:20},decrease:{check:"Integer",init:2}},members:{__P_168_0:null,__P_168_1:null,start(){this.__P_168_0.setInterval(this.getFirstInterval());this.__P_168_0.start()},stop(){this.__P_168_0.stop();this.__P_168_1=null},_onInterval(){this.__P_168_0.stop();null==this.__P_168_1&&(this.__P_168_1=this.getInterval());this.__P_168_1=Math.max(this.getMinimum(),this.__P_168_1-this.getDecrease());this.__P_168_0.setInterval(this.__P_168_1);this.__P_168_0.start();this.fireEvent("interval")}},destruct(){this._disposeObjects("__P_168_0")}});qx.event.AcceleratingTimer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.core.scroll.IScrollBar",{events:{scroll:"qx.event.type.Data",scrollAnimationEnd:"qx.event.type.Event"},properties:{orientation:{},maximum:{},position:{},knobFactor:{}},members:{scrollTo(e,t){this.assertNumber(e)},scrollBy(e,t){this.assertNumber(e)},scrollBySteps(e,t){this.assertNumber(e)}}});qx.ui.core.scroll.IScrollBar.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.scroll.IScrollBar":{require:!0},"qx.ui.core.scroll.ScrollSlider":{},"qx.ui.form.RepeatButton":{},"qx.ui.layout.HBox":{},"qx.ui.layout.VBox":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.scroll.ScrollBar",{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct(e){qx.ui.core.Widget.constructor.call(this);this._createChildControl("button-begin");this._createChildControl("slider").addListener("resize",this._onResizeSlider,this);this._createChildControl("button-end");null!=e?this.setOrientation(e):this.initOrientation();this.addListener("track",(e=>{e.stopPropagation()}))},events:{scrollAnimationEnd:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"scrollbar"},orientation:{check:["horizontal","vertical"],init:"horizontal",apply:"_applyOrientation"},maximum:{check:"PositiveInteger",apply:"_applyMaximum",init:100},position:{check:"qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getMaximum()",init:0,apply:"_applyPosition",event:"scroll"},singleStep:{check:"Integer",init:20},pageStep:{check:"Integer",init:10,apply:"_applyPageStep"},knobFactor:{check:"PositiveNumber",apply:"_applyKnobFactor",nullable:!0}},members:{__P_171_0:2,__P_171_1:0,_computeSizeHint(){var e=qx.ui.core.scroll.ScrollBar.superclass.prototype._computeSizeHint.call(this);if("horizontal"===this.getOrientation()){this.__P_171_1=e.minWidth;e.minWidth=0}else{this.__P_171_1=e.minHeight;e.minHeight=0}return e},renderLayout(e,t,r,i){var n=qx.ui.core.scroll.ScrollBar.superclass.prototype.renderLayout.call(this,e,t,r,i),o="horizontal"===this.getOrientation();if(this.__P_171_1>=(o?r:i)){this.getChildControl("button-begin").setVisibility("hidden");this.getChildControl("button-end").setVisibility("hidden")}else{this.getChildControl("button-begin").setVisibility("visible");this.getChildControl("button-end").setVisibility("visible")}return n},_createChildControlImpl(e,t){var r;switch(e){case"slider":(r=new qx.ui.core.scroll.ScrollSlider).setPageStep(100);r.setFocusable(!1);r.addListener("changeValue",this._onChangeSliderValue,this);r.addListener("slideAnimationEnd",this._onSlideAnimationEnd,this);this._add(r,{flex:1});break;case"button-begin":(r=new qx.ui.form.RepeatButton).setFocusable(!1);r.addListener("execute",this._onExecuteBegin,this);this._add(r);break;case"button-end":(r=new qx.ui.form.RepeatButton).setFocusable(!1);r.addListener("execute",this._onExecuteEnd,this);this._add(r)}return r||qx.ui.core.scroll.ScrollBar.superclass.prototype._createChildControlImpl.call(this,e)},_applyMaximum(e){this.getChildControl("slider").setMaximum(e)},_applyPosition(e){this.getChildControl("slider").setValue(e)},_applyKnobFactor(e){this.getChildControl("slider").setKnobFactor(e)},_applyPageStep(e){this.getChildControl("slider").setPageStep(e)},_applyOrientation(e,t){this.getContentElement().setAttribute("aria-orientation",e);var r=this._getLayout();r&&r.dispose();if("horizontal"===e){this._setLayout(new qx.ui.layout.HBox);this.setAllowStretchX(!0);this.setAllowStretchY(!1);this.replaceState("vertical","horizontal");this.getChildControl("button-begin").replaceState("up","left");this.getChildControl("button-end").replaceState("down","right")}else{this._setLayout(new qx.ui.layout.VBox);this.setAllowStretchX(!1);this.setAllowStretchY(!0);this.replaceState("horizontal","vertical");this.getChildControl("button-begin").replaceState("left","up");this.getChildControl("button-end").replaceState("right","down")}this.getChildControl("slider").setOrientation(e)},scrollTo(e,t){this.getChildControl("slider").slideTo(e,t)},scrollBy(e,t){this.getChildControl("slider").slideBy(e,t)},scrollBySteps(e,t){var r=this.getSingleStep();this.getChildControl("slider").slideBy(e*r,t)},updatePosition(e){this.getChildControl("slider").updatePosition(e)},stopScrollAnimation(){this.getChildControl("slider").stopSlideAnimation()},_onExecuteBegin(e){this.scrollBy(-this.getSingleStep(),50)},_onExecuteEnd(e){this.scrollBy(this.getSingleStep(),50)},_onSlideAnimationEnd(){this.fireEvent("scrollAnimationEnd")},_onChangeSliderValue(e){this.setPosition(e.getData())},_onResizeSlider(e){var t=this.getChildControl("slider").getChildControl("knob"),r=t.getSizeHint(),i=!1,n=this.getChildControl("slider").getInnerSize();"vertical"==this.getOrientation()?n.heightthis._onTimeout()),this.getTimeout())},_cancelTimer(){if(this.__P_128_3){clearTimeout(this.__P_128_3);this.__P_128_3=null}},async _onTimeout(){this.__P_128_3=null;let e=this.__P_128_2;try{let t;for(;;){t=await this._runImpl();if(!this.__P_128_1)break;if("queue"==this.getRepeatedTrigger()){this._startTimer();return}}this.__P_128_2=null;e.resolve(t)}catch(t){e.reject(t)}},async _runImpl(){await this.__P_128_0()}}});qxl.datagrid.util.Debounce.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.scroll.MRoll",{properties:{scrollByDrag:{init:!1,check:"Boolean"}},members:{_cancelRoll:null,_addRollHandling(){this.addListener("roll",this._onRoll,this);this.addListener("pointerdown",this._onPointerDownForRoll,this)},_removeRollHandling(){this.removeListener("roll",this._onRoll,this);this.removeListener("pointerdown",this._onPointerDownForRoll,this)},_onPointerDownForRoll(e){this._cancelRoll=e.getPointerId()},_onRoll(e){if("mouse"!=e.getPointerType()||this.getScrollByDrag())if(this._cancelRoll&&e.getMomentum()){e.stopMomentum();this._cancelRoll=null}else{this._cancelRoll=null;var t=this._isChildControlVisible("scrollbar-x"),r=this._isChildControlVisible("scrollbar-y"),i=r?this.getChildControl("scrollbar-y",!0):null,n=t?this.getChildControl("scrollbar-x",!0):null,o=e.getDelta().y,a=e.getDelta().x,s=!r,l=!t;if(i){0!==o&&i.scrollBy(parseInt(o,10));var u=i.getPosition(),c=i.getMaximum();(o<0&&u<=0||o>0&&u>=c)&&(s=!0)}if(n){0!==a&&n.scrollBy(parseInt(a,10));u=n.getPosition(),c=n.getMaximum();(a<0&&u<=0||a>0&&u>=c)&&(l=!0)}l&&s&&e.stopMomentum();(s||0!==a)&&(l||0!==o)&&(l&&s||0===a||0===o)||e.stop()}}}});qx.ui.core.scroll.MRoll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.ui.core.DragDropScrolling":{construct:!0},"qx.Class":{},"qx.ui.core.scroll.MScrollBarFactory":{},"qx.ui.core.Widget":{},"qx.event.Timer":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MDragDropScrolling",{construct(){var e=this;this instanceof qx.ui.core.DragDropScrolling&&(e=this._getWidget());e.addListener("drag",this.__P_172_0,this);e.addListener("dragend",this.__P_172_1,this);this.__P_172_2=["left","right"];this.__P_172_3=["top","bottom"]},properties:{dragScrollThresholdX:{check:"Integer",init:30},dragScrollThresholdY:{check:"Integer",init:30},dragScrollSlowDownFactor:{check:"Float",init:.1}},members:{__P_172_4:null,__P_172_2:null,__P_172_3:null,_findScrollableParent(e){var t=e;if(null===t)return null;for(;t.getLayoutParent();){t=t.getLayoutParent();if(this._isScrollable(t))return t}return null},_isScrollable:e=>qx.Class.hasMixin(e.constructor,qx.ui.core.scroll.MScrollBarFactory),_getBounds(e){var t=e.getContentLocation();e.getScrollAreaContainer&&(t=e.getScrollAreaContainer().getContentLocation());return t},_getEdgeType:(e,t,r)=>-1*e.left<=t&&e.left<0?"left":-1*e.top<=r&&e.top<0?"top":e.right<=t&&e.right>0?"right":e.bottom<=r&&e.bottom>0?"bottom":null,_getAxis(e){if(-1!==this.__P_172_2.indexOf(e))return"x";if(-1!==this.__P_172_3.indexOf(e))return"y";throw new Error("Invalid edge type given ("+e+"). Must be: 'left', 'right', 'top' or 'bottom'")},_getThresholdByEdgeType(e){return-1!==this.__P_172_2.indexOf(e)?this.getDragScrollThresholdX():-1!==this.__P_172_3.indexOf(e)?this.getDragScrollThresholdY():void 0},_isScrollbarVisible:(e,t)=>!(!e||!e._isChildControlVisible)&&e._isChildControlVisible("scrollbar-"+t),_isScrollbarExceedingMaxPos(e,t,r){var i;return!e||((i=e.getPosition()+r)>e.getMaximum()||i<0)},_calculateThresholdExceedance(e,t){var r=t-Math.abs(e);return e<0?-1*r:r},_calculateScrollAmount(e,t){return Math.floor(e/100*t*this.getDragScrollSlowDownFactor())},_scrollBy(e,t,r){var i=e.getChildControl("scrollbar-"+t,!0);if(i){var n=i.getBounds(),o="x"===t?n.width:n.height,a=this._calculateScrollAmount(o,r);this._isScrollbarExceedingMaxPos(i,t,a)&&this.__P_172_4.stop();i.scrollBy(a)}},__P_172_0(e){this.__P_172_4&&this.__P_172_4.stop();var t;if(t=e.getOriginalTarget()instanceof qx.ui.core.Widget?e.getOriginalTarget():qx.ui.core.Widget.getWidgetByElement(e.getOriginalTarget())){var r;r=this._isScrollable(t)?t:this._findScrollableParent(t);for(;r;){var i,n,o=this._getBounds(r),a=e.getDocumentLeft(),s=e.getDocumentTop(),l={left:o.left-a,right:o.right-a,top:o.top-s,bottom:o.bottom-s},u=0;if(i=this._getEdgeType(l,this.getDragScrollThresholdX(),this.getDragScrollThresholdY())){n=this._getAxis(i);if(this._isScrollbarVisible(r,n)){u=this._calculateThresholdExceedance(l[i],this._getThresholdByEdgeType(i));this.__P_172_4&&this.__P_172_4.dispose();this.__P_172_4=new qx.event.Timer(50);this.__P_172_4.addListener("interval",function(e,t,r){this._scrollBy(e,t,r)}.bind(this,r,n,u));this.__P_172_4.start();e.stopPropagation();return}r=this._findScrollableParent(r)}else r=this._findScrollableParent(r)}}},__P_172_1(e){this.__P_172_4&&this.__P_172_4.stop()}},destruct(){this.__P_172_4&&this.__P_172_4.dispose()}});qx.ui.core.MDragDropScrolling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.ui.core.MDragDropScrolling":{require:!0},"qx.core.Init":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.DragDropScrolling",{extend:qx.core.Object,include:[qx.ui.core.MDragDropScrolling],construct(e){qx.core.Object.constructor.call(this);this._widget=e},members:{_widget:null,_getWidget(){return this._widget||qx.core.Init.getApplication().getRoot()}}});qx.ui.core.DragDropScrolling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.scroll.MScrollBarFactory":{require:!0},"qx.ui.core.scroll.MRoll":{require:!0},"qx.ui.core.MDragDropScrolling":{require:!0},"qx.bom.client.Scroll":{construct:!0,require:!0},"qx.ui.layout.Canvas":{construct:!0},"qx.ui.layout.Grid":{construct:!0},"qx.ui.core.scroll.ScrollPane":{},"qx.ui.core.queue.Manager":{}},environment:{provided:[],required:{"os.scrollBarOverlayed":{construct:!0,className:"qx.bom.client.Scroll"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.scroll.AbstractScrollArea",{extend:qx.ui.core.Widget,include:[qx.ui.core.scroll.MScrollBarFactory,qx.ui.core.scroll.MRoll,qx.ui.core.MDragDropScrolling],type:"abstract",statics:{DEFAULT_SCROLLBAR_WIDTH:14},construct(){qx.ui.core.Widget.constructor.call(this);if(qx.core.Environment.get("os.scrollBarOverlayed"))this._setLayout(new qx.ui.layout.Canvas);else{var e=new qx.ui.layout.Grid;e.setColumnFlex(0,1);e.setRowFlex(0,1);this._setLayout(e)}var t=2*qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH+14;this.set({minHeight:t,minWidth:t});this._addRollHandling()},events:{scrollAnimationXEnd:"qx.event.type.Event",scrollAnimationYEnd:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"scrollarea"},width:{refine:!0,init:0},height:{refine:!0,init:0},scrollbarX:{check:["auto","on","off"],init:"auto",themeable:!0,apply:"_computeScrollbars"},scrollbarY:{check:["auto","on","off"],init:"auto",themeable:!0,apply:"_computeScrollbars"},scrollbar:{group:["scrollbarX","scrollbarY"]}},members:{_createChildControlImpl(e,t){var r;switch(e){case"pane":(r=new qx.ui.core.scroll.ScrollPane).addListener("update",this._computeScrollbars,this);r.addListener("scrollX",this._onScrollPaneX,this);r.addListener("scrollY",this._onScrollPaneY,this);qx.core.Environment.get("os.scrollBarOverlayed")?this._add(r,{edge:0}):this._add(r,{row:0,column:0});break;case"scrollbar-x":(r=this._createScrollBar("horizontal")).setMinWidth(0);r.exclude();r.addListener("scroll",this._onScrollBarX,this);r.addListener("changeVisibility",this._onChangeScrollbarXVisibility,this);r.addListener("scrollAnimationEnd",this._onScrollAnimationEnd.bind(this,"X"));if(qx.core.Environment.get("os.scrollBarOverlayed")){r.setMinHeight(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(r,{bottom:0,right:0,left:0})}else this._add(r,{row:1,column:0});break;case"scrollbar-y":(r=this._createScrollBar("vertical")).setMinHeight(0);r.exclude();r.addListener("scroll",this._onScrollBarY,this);r.addListener("changeVisibility",this._onChangeScrollbarYVisibility,this);r.addListener("scrollAnimationEnd",this._onScrollAnimationEnd.bind(this,"Y"));if(qx.core.Environment.get("os.scrollBarOverlayed")){r.setMinWidth(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(r,{right:0,bottom:0,top:0})}else this._add(r,{row:0,column:1});break;case"corner":(r=new qx.ui.core.Widget).setWidth(0);r.setHeight(0);r.exclude();qx.core.Environment.get("os.scrollBarOverlayed")||this._add(r,{row:1,column:1})}return r||qx.ui.core.scroll.AbstractScrollArea.superclass.prototype._createChildControlImpl.call(this,e)},getPaneSize(){return this.getChildControl("pane").getInnerSize()},getItemTop(e){return this.getChildControl("pane").getItemTop(e)},getItemBottom(e){return this.getChildControl("pane").getItemBottom(e)},getItemLeft(e){return this.getChildControl("pane").getItemLeft(e)},getItemRight(e){return this.getChildControl("pane").getItemRight(e)},scrollToX(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-x").scrollTo(e,t)},scrollByX(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-x").scrollBy(e,t)},getScrollX(){var e=this.getChildControl("scrollbar-x",!0);return e?e.getPosition():0},scrollToY(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-y").scrollTo(e,t)},scrollByY(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-y").scrollBy(e,t)},getScrollY(){var e=this.getChildControl("scrollbar-y",!0);return e?e.getPosition():0},stopScrollAnimationX(){var e=this.getChildControl("scrollbar-x",!0);e&&e.stopScrollAnimation()},stopScrollAnimationY(){var e=this.getChildControl("scrollbar-y",!0);e&&e.stopScrollAnimation()},_onScrollAnimationEnd(e){this.fireEvent("scrollAnimation"+e+"End")},_onScrollBarX(e){this.getChildControl("pane").scrollToX(e.getData())},_onScrollBarY(e){this.getChildControl("pane").scrollToY(e.getData())},_onScrollPaneX(e){var t=this.getChildControl("scrollbar-x");t&&t.updatePosition(e.getData())},_onScrollPaneY(e){var t=this.getChildControl("scrollbar-y");t&&t.updatePosition(e.getData())},_onChangeScrollbarXVisibility(e){var t=this._isChildControlVisible("scrollbar-x"),r=this._isChildControlVisible("scrollbar-y");t||this.scrollToX(0);t&&r?this._showChildControl("corner"):this._excludeChildControl("corner")},_onChangeScrollbarYVisibility(e){var t=this._isChildControlVisible("scrollbar-x"),r=this._isChildControlVisible("scrollbar-y");r||this.scrollToY(0);t&&r?this._showChildControl("corner"):this._excludeChildControl("corner")},_computeScrollbars(){var e=this.getChildControl("pane");if(e.getChildren()[0]){var t=this.getInnerSize(),r=e.getInnerSize(),i=e.getScrollSize();if(r&&i){var n=this.getScrollbarX(),o=this.getScrollbarY();if("auto"===n&&"auto"===o){var a=i.width>t.width,s=i.height>t.height;!a&&!s||a&&s||(a?s=i.height>r.height:s&&(a=i.width>r.width))}else{a="on"===n,s="on"===o;i.width>(a?r.width:t.width)&&"auto"===n&&(a=!0);i.height>(a?r.height:t.height)&&"auto"===o&&(s=!0)}if(a){var l=this.getChildControl("scrollbar-x");l.show();l.setMaximum(Math.max(0,i.width-r.width));l.setKnobFactor(0===i.width?0:r.width/i.width)}else this._excludeChildControl("scrollbar-x");if(s){var u=this.getChildControl("scrollbar-y");u.show();u.setMaximum(Math.max(0,i.height-r.height));u.setKnobFactor(0===i.height?0:r.height/i.height)}else this._excludeChildControl("scrollbar-y")}}else{this._excludeChildControl("scrollbar-x");this._excludeChildControl("scrollbar-y")}}}});qx.ui.core.scroll.AbstractScrollArea.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.ui.layout.Layered",{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true(e,t,r){this.assert("layer"==t,"The property '"+t+"' is not supported by the Fixed layout!");this.assertInteger(r)},false:null}),__P_129_0(){let e=[],t=0;this._getLayoutChildren().forEach((r=>{let i=r.getLayoutProperties().layer||0;i>t&&(t=i);let n=e[i];n||(n=e[i]={layerId:i,children:[]});n.children.push(r)}));e.forEach((e=>e.zIndex=t-e.layerId));return e},renderLayout(e,t,r){let i=this.__P_129_0();for(let n in i){let o=r.top,a=i[n];a.children.forEach(((i,n)=>{let s=i.getSizeHint(),l=0;if(n==a.children.length-1)l=t-o-i.getMarginTop()-i.getMarginBottom();else{l=s.height;null!==s.minHeight&&ls.maxHeight&&(l=s.maxHeight)}let u=r.left+i.getMarginLeft();i.getContentElement().setStyle("zIndex",a.zIndex);i.renderLayout(u,o+i.getMarginTop(),e,l);o+=i.getMarginTop()+l+i.getMarginBottom()}))}},_computeSizeHint:()=>({width:10,height:10})}});qxl.datagrid.ui.layout.Layered.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qxl.datagrid.ui.layout.Fixed":{construct:!0},"qxl.datagrid.source.IDataSource":{},"qx.lang.Array":{},"qxl.datagrid.source.Position":{},"qx.ui.basic.Atom":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.ui.OddEvenRowBackgrounds",{extend:qx.ui.core.Widget,construct(e,t,r,i){qx.ui.core.Widget.constructor.call(this);this.__P_130_0=e;this.__P_130_1=i||"qxl-datagrid-row";this._setLayout(new qxl.datagrid.ui.layout.Fixed);this.__P_130_2=r;r.addListener("changeSelectionStyle",(()=>this.updateWidgets()));r.addListener("changeSelection",(()=>{"row"==r.getSelectionStyle()&&this.updateWidgets()}));r.addListener("changeFocused",(()=>{"row"==r.getSelectionStyle()&&this.updateWidgets()}));t&&this.setDataSource(t)},properties:{dataSource:{init:null,check:"qxl.datagrid.source.IDataSource",event:"changeDataSource"}},members:{__P_130_0:null,__P_130_1:null,updateWidgets(){let e=this.__P_130_0.getStyling(),t=this.__P_130_0.getSizes();if(!t)return;let r=null,i=null,n=null;t.rows.forEach((t=>{t.rowIndex>=e.getNumFixedRows()&&(null===n||n>t.rowIndex)&&(n=t.rowIndex);(null===r||r>t.rowIndex)&&(r=t.rowIndex);(null===i||i{let t=e.getUserData("qxl.datagrid.cellData");if(t.rowi){e.setUserData("qxl.datagrid.cellData",null);this._remove(e);e.dispose()}else{let r=t.row;o[r]=e}}));let a=0;t.columns.forEach((e=>a+=e.width));let s=this.__P_130_0.getInitialOffsets().top,l=e.getVerticalSpacing(),u=Math.ceil(l/2),c=l-u;for(let e=0;et.setAppearance(e)))}}});qxl.datagrid.ui.OddEvenRowBackgrounds.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.util.Math",{statics:{clamp(e,t,r){r=Math.max(e,r);return r=Math.min(t,r)},interpolate:(e,t,r,i,n)=>r+(n-e)*(i-r)/(t-e)}});qxl.datagrid.util.Math.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.LayoutItem":{construct:!0,require:!0},"qx.ui.core.queue.Dispose":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.Spacer",{extend:qx.ui.core.LayoutItem,construct(e,t){qx.ui.core.LayoutItem.constructor.call(this);this.setWidth(null!=e?e:0);this.setHeight(null!=t?t:0)},members:{checkAppearanceNeeds(){},addChildrenToQueue(e){},destroy(){if(!this.$$disposed){var e=this.$$parent;e&&e._remove(this);qx.ui.core.queue.Dispose.add(this)}}}});qx.ui.core.Spacer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.Separator",{extend:qx.ui.core.Widget,properties:{appearance:{refine:!0,init:"toolbar-separator"},anonymous:{refine:!0,init:!0},width:{refine:!0,init:0},height:{refine:!0,init:0}}});qx.ui.toolbar.Separator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MRemoteChildrenHandling":{require:!0},"qx.ui.layout.HBox":{construct:!0},"qx.ui.basic.Image":{},"qx.ui.toolbar.PartContainer":{},"qx.ui.toolbar.Separator":{},"qx.ui.menubar.Button":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.Part",{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling],construct(){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.layout.HBox);this._createChildControl("handle")},properties:{appearance:{refine:!0,init:"toolbar/part"},show:{init:"both",check:["both","label","icon"],inheritable:!0,event:"changeShow"},spacing:{nullable:!0,check:"Integer",themeable:!0,apply:"_applySpacing"}},members:{_createChildControlImpl(e,t){var r;switch(e){case"handle":(r=new qx.ui.basic.Image).setAlignY("middle");this._add(r);break;case"container":(r=new qx.ui.toolbar.PartContainer).addListener("syncAppearance",this.__P_131_0,this);this._add(r);r.addListener("changeChildren",(()=>{this.__P_131_0()}))}return r||qx.ui.toolbar.Part.superclass.prototype._createChildControlImpl.call(this,e)},getChildrenContainer(){return this.getChildControl("container")},_applySpacing(e,t){var r=this.getChildControl("container").getLayout();null==e?r.resetSpacing():r.setSpacing(e)},__P_131_0(){var e=this.getChildrenContainer().getChildren();e=e.filter((function(e){return"visible"==e.getVisibility()}));for(var t=0;t0&&(this.__P_175_12=window.setTimeout(this.__P_175_3,this.timeout));this.__P_175_10("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Script,"Send native request");t.insertBefore(e,t.firstChild);window.setTimeout((function(){r._readyStateChange(2);r._readyStateChange(3)}));return this},abort(){if(this.__P_175_7)return null;this.__P_175_8=!0;this.__P_175_13();this._emit("abort");return this},_emit(e){this["on"+e]();this._emitter.emit(e,this)},onreadystatechange(){},onload(){},onloadend(){},onerror(){},onabort(){},ontimeout(){},getResponseHeader(e){if(this.__P_175_7)return null;this.__P_175_10("qx.debug")&&qx.Bootstrap.debug("Response header cannot be determined for requests made with script transport.");return"unknown"},getAllResponseHeaders(){if(this.__P_175_7)return null;this.__P_175_10("qx.debug")&&qx.Bootstrap.debug("Response headers cannot be determined forrequests made with script transport.");return"Unknown response headers"},setDetermineSuccess(e){this.__P_175_6=e},dispose(){var e=this.__P_175_14;if(!this.__P_175_7){if(e){e.onload=e.onreadystatechange=null;this.__P_175_13()}this.__P_175_12&&window.clearTimeout(this.__P_175_12);this.__P_175_7=!0}},isDisposed(){return!!this.__P_175_7},_getUrl(){return this.__P_175_9},_getScriptElement(){return this.__P_175_14},_onTimeout(){this.__P_175_15();this.__P_175_5()||this._emit("error");this._emit("timeout");this.__P_175_5()||this._emit("loadend")},_onNativeLoad(){var e=this.__P_175_14,t=this.__P_175_6,r=this;if(!this.__P_175_8){if("mshtml"===this.__P_175_10("engine.name")&&this.__P_175_10("browser.documentmode")<9){if(!/loaded|complete/.test(e.readyState))return;this.__P_175_10("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Script,"Received native readyState: loaded")}this.__P_175_10("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Script,"Received native load");t&&(this.status||(this.status=t()?200:500));500===this.status&&this.__P_175_10("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Script,"Detected error");this.__P_175_12&&window.clearTimeout(this.__P_175_12);window.setTimeout((function(){r._success();r._readyStateChange(4);r._emit("load");r._emit("loadend")}))}},_onNativeError(){this.__P_175_15();this._emit("error");this._emit("loadend")},__P_175_14:null,__P_175_4:null,__P_175_9:"",__P_175_1:null,__P_175_2:null,__P_175_3:null,__P_175_12:null,__P_175_8:null,__P_175_7:null,__P_175_0(){this.readyState=0;this.status=0;this.statusText=""},_readyStateChange(e){this.readyState=e;this._emit("readystatechange")},_success(){this.__P_175_13();this.readyState=4;this.status||(this.status=200);this.statusText=""+this.status},__P_175_15(){this.__P_175_13();this.readyState=4;this.status=0;this.statusText=null},__P_175_5(){var e="mshtml"===this.__P_175_10("engine.name")&&this.__P_175_10("browser.documentmode")<9,t="opera"===this.__P_175_10("engine.name");return!(e||t)},__P_175_11(){var e=this.__P_175_14=document.createElement("script");e.src=this.__P_175_9;e.onerror=this.__P_175_2;e.onload=this.__P_175_1;"mshtml"===this.__P_175_10("engine.name")&&this.__P_175_10("browser.documentmode")<9&&(e.onreadystatechange=this.__P_175_1);return e},__P_175_13(){var e=this.__P_175_14;e&&e.parentNode&&this.__P_175_4.removeChild(e)},__P_175_10(e){if(qx&&qx.core&&qx.core.Environment)return qx.core.Environment.get(e);if("engine.name"===e)return qx.bom.client.Engine.getName();if("browser.documentmode"===e)return qx.bom.client.Browser.getDocumentMode();if("qx.debug.io"==e)return!1;throw new Error("Unknown environment key at this phase")}},defer(){qx&&qx.core&&qx.core.Environment&&qx.core.Environment.add("qx.debug.io",!1)}});qx.bom.request.Script.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.lang.Function":{construct:!0},"qx.io.request.authentication.IAuthentication":{},"qx.lang.Type":{},"qx.Bootstrap":{},"qx.bom.request.Script":{require:!0},"qx.Promise":{},"qx.lang.String":{},"qx.type.BaseError":{},"qx.lang.Object":{},"qx.event.type.Data":{},"qx.util.Request":{},"qx.util.Serializer":{},"qx.lang.Json":{},"qx.util.Uri":{}},environment:{provided:[],required:{"qx.debug.io":{className:"qx.bom.request.Script"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.io.request.AbstractRequest",{type:"abstract",extend:qx.core.Object,implement:[qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);void 0!==e&&this.setUrl(e);this.__P_173_0={};var t=this._transport=this._createTransport();this._setPhase("unsent");this.__P_173_1=qx.lang.Function.bind(this._onReadyStateChange,this);this.__P_173_2=qx.lang.Function.bind(this._onLoad,this);this.__P_173_3=qx.lang.Function.bind(this._onLoadEnd,this);this.__P_173_4=qx.lang.Function.bind(this._onAbort,this);this.__P_173_5=qx.lang.Function.bind(this._onTimeout,this);this.__P_173_6=qx.lang.Function.bind(this._onError,this);t.onreadystatechange=this.__P_173_1;t.onload=this.__P_173_2;t.onloadend=this.__P_173_3;t.onabort=this.__P_173_4;t.ontimeout=this.__P_173_5;t.onerror=this.__P_173_6},events:{readyStateChange:"qx.event.type.Event",success:"qx.event.type.Event",load:"qx.event.type.Event",loadEnd:"qx.event.type.Event",abort:"qx.event.type.Event",timeout:"qx.event.type.Event",error:"qx.event.type.Event",statusError:"qx.event.type.Event",parseError:"qx.event.type.Data",fail:"qx.event.type.Event",changeResponse:"qx.event.type.Data",changePhase:"qx.event.type.Data"},properties:{url:{check:"String"},timeout:{check:"Number",nullable:!0,init:0},requestData:{check:e=>qx.lang.Type.isString(e)||qx.Class.isSubClassOf(e.constructor,qx.core.Object)||qx.lang.Type.isObject(e)||qx.lang.Type.isArray(e)||"Blob"==qx.Bootstrap.getClass(e)||"ArrayBuffer"==qx.Bootstrap.getClass(e)||"FormData"==qx.Bootstrap.getClass(e),nullable:!0},authentication:{check:"qx.io.request.authentication.IAuthentication",nullable:!0}},members:{__P_173_1:null,__P_173_2:null,__P_173_3:null,__P_173_4:null,__P_173_5:null,__P_173_6:null,__P_173_7:null,__P_173_8:null,__P_173_9:null,__P_173_0:null,__P_173_10:null,_transport:null,_parserFailed:!1,_createTransport(){throw new Error("Abstract method call")},_getConfiguredUrl(){},_getConfiguredRequestHeaders(){},_getParsedResponse(){throw new Error("Abstract method call")},_getMethod:()=>"GET",_isAsync:()=>!0,send(){var e,t,r,i,n=this._transport;e=this._getConfiguredUrl();/\#/.test(e)&&(e=e.replace(/\#.*/,""));n.timeout=this.getTimeout();t=this._getMethod();r=this._isAsync();qx.core.Environment.get("qx.debug.io")&&this.debug("Open low-level request with method: "+t+", url: "+e+", async: "+r);n.open(t,e,r);this._setPhase("opened");i=this.getRequestData();-1==["ArrayBuffer","Blob","FormData"].indexOf(qx.Bootstrap.getClass(i))&&(i=this._serializeData(i));this._setRequestHeaders();qx.core.Environment.get("qx.debug.io")&&this.debug("Send low-level request");"GET"==t?n.send():n.send(i);this._setPhase("sent")},sendWithPromise(e){e=e||this;var t=this;return new qx.Promise((function(e,r){var i=[],n=t.addListener("success",(r=>{i.forEach(t.removeListenerById.bind(t));e(t)}));i.push(n);var o=t.addListener("statusError",(e=>{i.forEach(t.removeListenerById.bind(t));var n=qx.lang.String.format("%1: %2.",[t.getStatus(),t.getStatusText()]),o=new qx.type.BaseError("statusError",n);r(o)}));i.push(o);var a=t.addListener("timeout",(e=>{i.forEach(t.removeListenerById.bind(t));var n=qx.lang.String.format("Request failed with timeout after %1 ms.",[t.getTimeout()]),o=new qx.type.BaseError("timeout",n);r(o)}));i.push(a);var s=t.addListener("parseError",(e=>{i.forEach(t.removeListenerById.bind(t));var n=new qx.type.BaseError("parseError","Error parsing the response.");r(n)}));i.push(s);var l=t.addListener("abort",(e=>{i.forEach(t.removeListenerById.bind(t));var n=new qx.type.BaseError("abort","Request aborted.");r(n)}));i.push(l);var u=t.addListener("error",(e=>{i.forEach(t.removeListenerById.bind(t));var n=new qx.type.BaseError("error","Request failed.");r(n)}));i.push(u);t.send()}),e).finally((function(){4!==t.getReadyState()&&t.abort()}))},abort(){qx.core.Environment.get("qx.debug.io")&&this.debug("Abort request");this.__P_173_8=!0;this.__P_173_9="abort";this._transport.abort()},_setRequestHeaders(){var e=this._transport,t=this._getAllRequestHeaders();for(var r in t)e.setRequestHeader(r,t[r])},_getAllRequestHeaders(){var e={};qx.lang.Object.mergeWith(e,this._getConfiguredRequestHeaders());qx.lang.Object.mergeWith(e,this.__P_173_11());qx.lang.Object.mergeWith(e,this.__P_173_10);qx.lang.Object.mergeWith(e,this.__P_173_0);return e},__P_173_11(){var e=this.getAuthentication(),t={};if(e){e.getAuthHeaders().forEach((function(e){t[e.key]=e.value}));return t}},setRequestHeader(e,t){this.__P_173_0[e]=t},getRequestHeader(e){return this.__P_173_0[e]},removeRequestHeader(e){this.__P_173_0[e]&&delete this.__P_173_0[e]},getTransport(){return this._transport},getReadyState(){return this._transport.readyState},getPhase(){return this.__P_173_9},getStatus(){return this._transport.status},getStatusText(){return this._transport.statusText},getResponseText(){return this._transport.responseText},getAllResponseHeaders(){return this._transport.getAllResponseHeaders()},getResponseHeader(e){return this._transport.getResponseHeader(e)},overrideResponseContentType(e){return this._transport.overrideMimeType(e)},getResponseContentType(){return this.getResponseHeader("Content-Type")},isDone(){return 4===this.getReadyState()},getResponse(){return this.__P_173_7},_setResponse(e){var t=e;if(this.__P_173_7!==e){this.__P_173_7=e;this.fireEvent("changeResponse",qx.event.type.Data,[this.__P_173_7,t])}},_onReadyStateChange(){var e=this.getReadyState();qx.core.Environment.get("qx.debug.io")&&this.debug("Fire readyState: "+e);this.fireEvent("readyStateChange");if(!this.__P_173_8){3===e&&this._setPhase("loading");this.isDone()&&this.__P_173_12()}},__P_173_12(){qx.core.Environment.get("qx.debug.io")&&this.debug("Request completed with HTTP status: "+this.getStatus());this._setPhase("load");if(qx.util.Request.isSuccessful(this.getStatus())){qx.core.Environment.get("qx.debug.io")&&this.debug("Response is of type: '"+this.getResponseContentType()+"'");this._setResponse(this._getParsedResponse());this._parserFailed?this.fireEvent("fail"):this._fireStatefulEvent("success")}else{try{this._setResponse(this._getParsedResponse())}catch(e){}if(0!==this.getStatus()){this._fireStatefulEvent("statusError");this.fireEvent("fail")}}},_onLoad(){this.fireEvent("load")},_onLoadEnd(){this.fireEvent("loadEnd")},_onAbort(){this._fireStatefulEvent("abort")},_onTimeout(){this._fireStatefulEvent("timeout");this.fireEvent("fail")},_onError(){this.fireEvent("error");this.fireEvent("fail")},_fireStatefulEvent(e){this._setPhase(e);this.fireEvent(e)},_setPhase(e){var t=this.__P_173_9;this.__P_173_9=e;this.fireDataEvent("changePhase",e,t)},_serializeData(e){var t=void 0!==this.getMethod&&"POST"==this.getMethod(),r=/application\/.*\+?json/.test(this.getRequestHeader("Content-Type"));return e?qx.lang.Type.isString(e)?e:qx.Class.isSubClassOf(e.constructor,qx.core.Object)?qx.util.Serializer.toUriParameter(e):r&&(qx.lang.Type.isObject(e)||qx.lang.Type.isArray(e))?qx.lang.Json.stringify(e):qx.lang.Type.isObject(e)?qx.util.Uri.toParameter(e,t):null:null}},environment:{"qx.debug.io":!1},destruct(){var e=this._transport;if(this._transport){e.onreadystatechange=e.onload=e.onloadend=e.onabort=e.ontimeout=e.onerror=function(){};window.setTimeout((function(){e.dispose()}),0)}this.__P_173_7=null}});qx.io.request.AbstractRequest.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.io.request.AbstractRequest":{construct:!0,require:!0},"qx.lang.Type":{},"qx.bom.request.Xhr":{},"qx.util.Uri":{},"qx.util.Request":{},"qx.Bootstrap":{},"qx.bom.request.Script":{require:!0},"qx.util.ResponseParser":{}},environment:{provided:[],required:{"qx.debug.io":{className:"qx.bom.request.Script"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.io.request.Xhr",{extend:qx.io.request.AbstractRequest,construct(e,t){void 0!==t&&this.setMethod(t);qx.io.request.AbstractRequest.constructor.call(this,e);this._parser=this._createResponseParser()},events:{readyStateChange:"qx.event.type.Event",success:"qx.event.type.Event",load:"qx.event.type.Event",statusError:"qx.event.type.Event"},properties:{method:{init:"GET"},async:{check:"Boolean",init:!0},accept:{check:"String",nullable:!0},cache:{check:e=>qx.lang.Type.isBoolean(e)||qx.lang.Type.isString(e),init:!0}},members:{_parser:null,_createTransport:()=>new qx.bom.request.Xhr,_getConfiguredUrl(){var e,t=this.getUrl();if("GET"===this.getMethod()&&this.getRequestData()){e=this._serializeData(this.getRequestData());t=qx.util.Uri.appendParamsToUrl(t,e)}!1===this.getCache()&&(t=qx.util.Uri.appendParamsToUrl(t,{nocache:(new Date).valueOf()}));return t},_getConfiguredRequestHeaders(){var e={},t=qx.util.Request.methodAllowsRequestBody(this.getMethod()),r="FormData"==qx.Bootstrap.getClass(this.getRequestData());qx.util.Request.isCrossDomain(this.getUrl())||(e["X-Requested-With"]="XMLHttpRequest");qx.lang.Type.isString(this.getCache())&&(e["Cache-Control"]=this.getCache());this.getRequestData()&&t&&!r&&(e["Content-Type"]="application/x-www-form-urlencoded");if(this.getAccept()){qx.core.Environment.get("qx.debug.io")&&this.debug("Accepting: '"+this.getAccept()+"'");e.Accept=this.getAccept()}return e},_getMethod(){return this.getMethod()},_isAsync(){return this.isAsync()},_createResponseParser:()=>new qx.util.ResponseParser,_getParsedResponse(){var e="blob"===this._transport.responseType?this._transport.response:this._transport.responseText,t=this.getResponseContentType()||"",r="";try{r=this._parser.parse(e,t);this._parserFailed=!1}catch(t){this._parserFailed=!0;this.fireDataEvent("parseError",{error:t,response:e})}return r},setParser(e){return this._parser.setParser(e)}}});qx.io.request.Xhr.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qxl.datagrid.column.tree.ExpansionLayout":{construct:!0},"qx.ui.core.queue.Layout":{},"qx.ui.basic.Image":{},"qx.ui.basic.Label":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.tree.ExpansionWidget",{extend:qx.ui.core.Widget,construct(){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qxl.datagrid.column.tree.ExpansionLayout);this._add(this.getChildControl("expander"));this._add(this.getChildControl("icon"));this._add(this.getChildControl("label"));this.addListener("tap",(e=>{let t=this.getState();"open"==t?this.setState("closed"):"closed"==t&&this.setState("open")}))},properties:{appearance:{refine:!0,init:"qxl-datagrid-cell"},value:{init:null,nullable:!0,check:"String",event:"changeValue",apply:"__P_133_0"},icon:{init:null,nullable:!0,check:"String",event:"changeIcon",apply:"__P_133_1"},state:{init:"none",check:["none","open","closed"],apply:"__P_133_2",event:"changeState"},stateIconNone:{init:null,check:"String",apply:"_updateIcon",themeable:!0},stateIconOpen:{init:"@MaterialIcons/expand_more/16",check:"String",apply:"_updateIcon",themeable:!0},stateIconClosed:{init:"@MaterialIcons/chevron_right/16",check:"String",apply:"_updateIcon",themeable:!0},spacePerIndentation:{init:20,check:"Integer",themeable:!0},expanderWidth:{init:null,nullable:!0,check:"Integer",themeable:!0},indentationLevel:{init:0,check:"Integer",apply:"__P_133_3"}},members:{_forwardStates:{selected:!0},__P_133_0(e){this.getChildControl("label").setValue(e||"")},__P_133_1(e){this.getChildControl("icon").setSource(e||null)},__P_133_3(e,t){qx.ui.core.queue.Layout.add(this)},__P_133_2(e,t){this._updateIcon()},_updateIcon(){let e;switch(this.getState()){case"none":e=this.getStateIconNone();break;case"open":e=this.getStateIconOpen();break;case"closed":e=this.getStateIconClosed()}let t=this.getChildControl("expander");e?t.set({source:e,visibility:"visible"}):t.setVisibility("hidden")},_createChildControlImpl(e){switch(e){case"expander":return(new qx.ui.basic.Image).set({visibility:"hidden",anonymous:!0});case"icon":return(new qx.ui.basic.Image).set({anonymous:!0});case"label":return(new qx.ui.basic.Label).set({allowGrowX:!0,anonymous:!0})}return qxl.datagrid.column.tree.ExpansionWidget.superclass.prototype._createChildControlImpl.call(this,e)}}});qxl.datagrid.column.tree.ExpansionWidget.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.locale.Manager":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.locale.Date",{statics:{__P_134_0:qx.locale.Manager.getInstance(),getAmMarker(e){return this.__P_134_0.localize("cldr_am",[],e)},getPmMarker(e){return this.__P_134_0.localize("cldr_pm",[],e)},getDayNames(e,t,r,i){r=r||"format";for(var n=["sun","mon","tue","wed","thu","fri","sat"],o=[],a=0;ar?e>=r&&e<=i:e>=r||e<=i},_getTerritory(e){if(e)var t=e.split("_")[1]||e;else t=this.__P_134_0.getTerritory()||this.__P_134_0.getLanguage();return t.toUpperCase()},__P_134_1(e,t,r,i){var n=this.__P_134_0.localize(r,[],i);if(n==r){var o=r.replace("_"+e+"_","_"+t+"_");return this.__P_134_0.localize(o,[],i)}return n}}});qx.locale.Date.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{},"qx.event.util.Keyboard":{},"qx.lang.String":{},"qx.locale.Key":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.Shortcut",{extend:qx.core.Object,implement:[qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this.__P_218_0={};this.__P_218_1=null;null!=e&&this.setShortcut(e);this.initEnabled()},events:{execute:"qx.event.type.Data"},properties:{enabled:{init:!0,check:"Boolean",event:"changeEnabled",apply:"_applyEnabled"},shortcut:{check:"String",apply:"_applyShortcut",nullable:!0},autoRepeat:{check:"Boolean",init:!1}},members:{__P_218_0:"",__P_218_1:"",execute(e){this.fireDataEvent("execute",e)},__P_218_2(e){if(this.getEnabled()&&this.__P_218_3(e)){this.isAutoRepeat()||this.execute(e.getTarget());e.stop()}},__P_218_4(e){if(this.getEnabled()&&this.__P_218_3(e)){this.isAutoRepeat()&&this.execute(e.getTarget());e.stop()}},_applyEnabled(e,t){if(e){qx.event.Registration.addListener(document.documentElement,"keydown",this.__P_218_2,this);qx.event.Registration.addListener(document.documentElement,"keypress",this.__P_218_4,this)}else{qx.event.Registration.removeListener(document.documentElement,"keydown",this.__P_218_2,this);qx.event.Registration.removeListener(document.documentElement,"keypress",this.__P_218_4,this)}},_applyShortcut(e,t){if(e){if(-1!=e.search(/[\s]+/)){var r="Whitespaces are not allowed within shortcuts";this.error(r);throw new Error(r)}this.__P_218_0={Control:!1,Shift:!1,Meta:!1,Alt:!1};this.__P_218_1=null;for(var i,n=[];e.length>0&&-1!=i;){i=e.search(/[-+]+/);n.push(1==e.length||-1==i?e:e.substring(0,i));e=e.substring(i+1)}for(var o=n.length,a=0;a="a"&&e<="z")return e.toUpperCase();e=e.toLowerCase();var r=this.__P_218_6[e]||qx.lang.String.firstUp(e);return t.isValidKeyIdentifier(r)?r:"Unidentified"},toString(){var e=this.__P_218_1,t=[];for(var r in this.__P_218_0)this.__P_218_0[r]&&t.push(qx.locale.Key.getKeyName("short",r));e&&t.push(qx.locale.Key.getKeyName("short",e));return t.join("+")}},destruct(){this.setEnabled(!1);this.__P_218_0=this.__P_218_1=null}});qx.bom.Shortcut.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qx.ui.form.IField":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.INumberForm",{extend:qx.ui.form.IField,events:{changeValue:"qx.event.type.Data"},members:{setValue(e){return 1==arguments.length},resetValue(){},getValue(){}}});qx.ui.form.INumberForm.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IRange",{members:{setMinimum(e){return 1==arguments.length},getMinimum(){},setMaximum(e){return 1==arguments.length},getMaximum(){},setSingleStep(e){return 1==arguments.length},getSingleStep(){},setPageStep(e){return 1==arguments.length},getPageStep(){}}});qx.ui.form.IRange.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.form.IForm":{require:!0},"qx.ui.form.INumberForm":{require:!0},"qx.ui.form.IRange":{require:!0},"qx.ui.form.MForm":{require:!0},"qx.ui.layout.Canvas":{construct:!0},"qx.theme.manager.Decoration":{},"qx.bom.element.Location":{},"qx.event.Timer":{},"qx.bom.AnimationFrame":{},"qx.event.type.Data":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.Slider",{extend:qx.ui.core.Widget,implement:[qx.ui.form.IForm,qx.ui.form.INumberForm,qx.ui.form.IRange],include:[qx.ui.form.MForm],construct(e){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.layout.Canvas);this.getContentElement().setAttribute("role","slider");this.addListener("keypress",this._onKeyPress,this);this.addListener("roll",this._onRoll,this);this.addListener("pointerdown",this._onPointerDown,this);this.addListener("pointerup",this._onPointerUp,this);this.addListener("losecapture",this._onPointerUp,this);this.addListener("resize",this._onUpdate,this);this.addListener("contextmenu",this._onStopEvent,this);this.addListener("tap",this._onStopEvent,this);this.addListener("dbltap",this._onStopEvent,this);null!=e?this.setOrientation(e):this.initOrientation()},events:{changeValue:"qx.event.type.Data",slideAnimationEnd:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"slider"},focusable:{refine:!0,init:!0},orientation:{check:["horizontal","vertical"],init:"horizontal",apply:"_applyOrientation"},value:{check:"typeof value==='number'&&value>=this.getMinimum()&&value<=this.getMaximum()",init:0,apply:"_applyValue",nullable:!0},minimum:{check:"Integer",init:0,apply:"_applyMinimum",event:"changeMinimum"},maximum:{check:"Integer",init:100,apply:"_applyMaximum",event:"changeMaximum"},singleStep:{check:"Integer",init:1},pageStep:{check:"Integer",init:10},knobFactor:{check:"Number",apply:"_applyKnobFactor",nullable:!0}},members:{__P_219_0:null,__P_219_1:null,__P_219_2:null,__P_219_3:null,__P_219_4:null,__P_219_5:null,__P_219_6:null,__P_219_7:null,__P_219_8:null,__P_219_9:null,__P_219_10:null,__P_219_11:null,__P_219_12:null,_forwardStates:{invalid:!0},renderLayout(e,t,r,i){qx.ui.form.Slider.superclass.prototype.renderLayout.call(this,e,t,r,i);this._updateKnobPosition()},_createChildControlImpl(e,t){var r;if("knob"===e){(r=new qx.ui.core.Widget).addListener("resize",this._onUpdate,this);r.addListener("pointerover",this._onPointerOver,this);r.addListener("pointerout",this._onPointerOut,this);this._add(r)}return r||qx.ui.form.Slider.superclass.prototype._createChildControlImpl.call(this,e)},_onPointerOver(e){this.addState("hovered")},_onPointerOut(e){this.removeState("hovered")},_onRoll(e){if("wheel"==e.getPointerType()){var t="horizontal"===this.getOrientation()?"x":"y",r=e.getDelta()[t],i=r>0?1:r<0?-1:0;this.slideBy(i*this.getSingleStep());e.stop()}},_onKeyPress(e){var t="horizontal"===this.getOrientation(),r=t?"Left":"Up",i=t?"Right":"Down";switch(e.getKeyIdentifier()){case i:this.slideForward();break;case r:this.slideBack();break;case"PageDown":this.slidePageForward(100);break;case"PageUp":this.slidePageBack(100);break;case"Home":this.slideToBegin(200);break;case"End":this.slideToEnd(200);break;default:return}e.stop()},_onPointerDown(e){if(!this.__P_219_3){var t=this.__P_219_13,r=this.getChildControl("knob"),i=t?"left":"top",n=t?e.getDocumentLeft():e.getDocumentTop(),o=this.getDecorator();o=qx.theme.manager.Decoration.getInstance().resolve(o);if(t)var a=o?o.getInsets().left:0,s=(this.getPaddingLeft()||0)+a;else a=o?o.getInsets().top:0,s=(this.getPaddingTop()||0)+a;var l=this.__P_219_0=qx.bom.element.Location.get(this.getContentElement().getDomElement())[i];l+=s;var u=this.__P_219_1=qx.bom.element.Location.get(r.getContentElement().getDomElement())[i];if(e.getTarget()===r){this.__P_219_3=!0;if(!this.__P_219_9){this.__P_219_9=new qx.event.Timer(100);this.__P_219_9.addListener("interval",this._fireValue,this)}this.__P_219_9.start();this.__P_219_4=n+l-u;r.addState("pressed")}else{this.__P_219_5=!0;this.__P_219_6=n<=u?-1:1;this.__P_219_14(e);this._onInterval();if(!this.__P_219_8){this.__P_219_8=new qx.event.Timer(100);this.__P_219_8.addListener("interval",this._onInterval,this)}this.__P_219_8.start()}this.addListener("pointermove",this._onPointerMove,this);this.capture();e.stopPropagation()}},_onPointerUp(e){if(this.__P_219_3){this.releaseCapture();delete this.__P_219_3;this.__P_219_9.stop();this._fireValue();delete this.__P_219_4;this.getChildControl("knob").removeState("pressed");if("pointerup"===e.getType()){var t,r,i;if(this.__P_219_13){t=e.getDocumentLeft()-(this._valueToPosition(this.getValue())+this.__P_219_0);i=qx.bom.element.Location.get(this.getContentElement().getDomElement()).top;r=e.getDocumentTop()-(i+this.getChildControl("knob").getBounds().top)}else{t=e.getDocumentTop()-(this._valueToPosition(this.getValue())+this.__P_219_0);i=qx.bom.element.Location.get(this.getContentElement().getDomElement()).left;r=e.getDocumentLeft()-(i+this.getChildControl("knob").getBounds().left)}(r<0||r>this.__P_219_2||t<0||t>this.__P_219_2)&&this.getChildControl("knob").removeState("hovered")}}else if(this.__P_219_5){this.__P_219_8.stop();this.releaseCapture();delete this.__P_219_5;delete this.__P_219_6;delete this.__P_219_7}this.removeListener("pointermove",this._onPointerMove,this);"pointerup"===e.getType()&&e.stopPropagation()},_onPointerMove(e){if(this.__P_219_3){var t=(this.__P_219_13?e.getDocumentLeft():e.getDocumentTop())-this.__P_219_4;this.slideTo(this._positionToValue(t))}else this.__P_219_5&&this.__P_219_14(e);e.stopPropagation()},_onInterval(e){var t=this.getValue()+this.__P_219_6*this.getPageStep();tthis.getMaximum()&&(t=this.getMaximum());var r=-1==this.__P_219_6;(r&&t<=this.__P_219_7||!r&&t>=this.__P_219_7)&&(t=this.__P_219_7);this.slideTo(t)},_onUpdate(e){var t=this.getInnerSize(),r=this.getChildControl("knob").getBounds(),i=this.__P_219_13?"width":"height";this._updateKnobSize();this.__P_219_15=t[i]-r[i];this.__P_219_2=r[i];this._updateKnobPosition()},__P_219_13:!1,__P_219_15:0,__P_219_14(e){var t=this.__P_219_13?e.getDocumentLeft():e.getDocumentTop(),r=this.__P_219_0,i=this.__P_219_1,n=this.__P_219_2,o=t-r;t>=i&&(o-=n);var a=this._positionToValue(o),s=this.getMinimum(),l=this.getMaximum();if(al)a=l;else{var u=this.getValue(),c=this.getPageStep(),h=this.__P_219_6<0?"floor":"ceil";a=u+Math[h]((a-u)/c)*c}(null==this.__P_219_7||-1==this.__P_219_6&&a<=this.__P_219_7||1==this.__P_219_6&&a>=this.__P_219_7)&&(this.__P_219_7=a)},_positionToValue(e){var t=this.__P_219_15;if(null==t||0==t)return 0;var r=e/t;r<0?r=0:r>1&&(r=1);var i=this.getMaximum()-this.getMinimum();return this.getMinimum()+Math.round(i*r)},_valueToPosition(e){var t=this.__P_219_15;if(null==t)return 0;var r=this.getMaximum()-this.getMinimum();if(0==r)return 0;var i=(e=e-this.getMinimum())/r;i<0?i=0:i>1&&(i=1);return Math.round(t*i)},_updateKnobPosition(){this._setKnobPosition(this._valueToPosition(this.getValue()))},_setKnobPosition(e){var t=this.getChildControl("knob"),r=this.getDecorator();r=qx.theme.manager.Decoration.getInstance().resolve(r);var i=t.getContentElement();if(this.__P_219_13){r&&r.getPadding()&&(e+=r.getPadding().left);e+=this.getPaddingLeft()||0;i.setStyle("left",e+"px",!0)}else{r&&r.getPadding()&&(e+=r.getPadding().top);e+=this.getPaddingTop()||0;i.setStyle("top",e+"px",!0)}},_updateKnobSize(){var e=this.getKnobFactor();if(null!=e){var t=this.getInnerSize();null!=t&&(this.__P_219_13?this.getChildControl("knob").setWidth(Math.round(e*t.width)):this.getChildControl("knob").setHeight(Math.round(e*t.height)))}},slideToBegin(e){this.slideTo(this.getMinimum(),e)},slideToEnd(e){this.slideTo(this.getMaximum(),e)},slideForward(){this.slideBy(this.getSingleStep())},slideBack(){this.slideBy(-this.getSingleStep())},slidePageForward(e){this.slideBy(this.getPageStep(),e)},slidePageBack(e){this.slideBy(-this.getPageStep(),e)},slideBy(e,t){this.slideTo(this.getValue()+e,t)},slideTo(e,t){this.stopSlideAnimation();t?this.__P_219_16(e,t):this.updatePosition(e)},updatePosition(e){this.setValue(this.__P_219_17(e))},stopSlideAnimation(){if(this.__P_219_12){this.__P_219_12.cancelSequence();this.__P_219_12=null}},__P_219_17(e){return e=ethis.getMaximum()?this.getMaximum():this.getMinimum()+Math.round((e-this.getMinimum())/this.getSingleStep())*this.getSingleStep()},__P_219_16(e,t){e=this.__P_219_17(e);var r=this.getValue();this.__P_219_12=new qx.bom.AnimationFrame;this.__P_219_12.on("frame",(function(i){this.setValue(parseInt(i/t*(e-r)+r))}),this);this.__P_219_12.on("end",(function(){this.setValue(e);this.__P_219_12=null;this.fireEvent("slideAnimationEnd")}),this);this.__P_219_12.startSequence(t)},_applyOrientation(e,t){this.getContentElement().setAttribute("aria-orientation",e);var r=this.getChildControl("knob");this.__P_219_13="horizontal"===e;if(this.__P_219_13){this.removeState("vertical");r.removeState("vertical");this.addState("horizontal");r.addState("horizontal");r.setLayoutProperties({top:0,right:null,bottom:0})}else{this.removeState("horizontal");r.removeState("horizontal");this.addState("vertical");r.addState("vertical");r.setLayoutProperties({right:0,bottom:null,left:0})}this._updateKnobPosition()},_applyKnobFactor(e,t){null!=e?this._updateKnobSize():this.__P_219_13?this.getChildControl("knob").resetWidth():this.getChildControl("knob").resetHeight()},_applyValue(e,t){if(null!=e){this.getContentElement().setAttribute("aria-valuenow",e);this._updateKnobPosition();this.__P_219_3?this.__P_219_11=[e,t]:this.fireEvent("changeValue",qx.event.type.Data,[e,t])}else this.resetValue()},_fireValue(){if(this.__P_219_11){var e=this.__P_219_11;this.__P_219_11=null;this.fireEvent("changeValue",qx.event.type.Data,e)}},_applyMinimum(e,t){this.getContentElement().setAttribute("aria-valuemin",e);this.getValue()e&&this.setValue(e);this._updateKnobPosition()}}});qx.ui.form.Slider.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Slider":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.scroll.ScrollSlider",{extend:qx.ui.form.Slider,construct(e){qx.ui.form.Slider.constructor.call(this,e);this.removeListener("keypress",this._onKeyPress);this.removeListener("roll",this._onRoll)},members:{_createChildControlImpl(e,t){var r;if("knob"===e)(r=qx.ui.core.scroll.ScrollSlider.superclass.prototype._createChildControlImpl.call(this,e)).addListener("dblclick",(function(e){e.stopPropagation()}));return r||qx.ui.core.scroll.ScrollSlider.superclass.prototype._createChildControlImpl.call(this,e)},getSizeHint(e){var t=qx.ui.core.scroll.ScrollSlider.superclass.prototype.getSizeHint.call(this);"horizontal"===this.getOrientation()?t.width=0:t.height=0;return t}}});qx.ui.core.scroll.ScrollSlider.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.io.request.authentication.IAuthentication",{members:{getAuthHeaders(){}}});qx.io.request.authentication.IAuthentication.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.Uri":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.Request",{statics:{isCrossDomain(e){var t=qx.util.Uri.parseUri(e),r=window.location;if(!r)return!1;var i=r.protocol;return-1!==e.indexOf("//")&&(i.substr(0,i.length-1)!=t.protocol||r.host!==t.authority||r.port!==t.port)},isSuccessful:e=>e>=200&&e<300||304===e,isMethod:e=>-1!==["GET","POST","PUT","DELETE","HEAD","OPTIONS","TRACE","CONNECT","PATCH"].indexOf(e),methodAllowsRequestBody:e=>!/^(GET|HEAD)$/.test(e)}});qx.util.Request.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.util.PropertyUtil":{},"qx.lang.String":{},"qx.lang.Type":{},"qx.core.Object":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.Serializer",{statics:{toUriParameter(e,t,r){var i="",n=qx.util.PropertyUtil.getAllProperties(e.constructor);for(var o in n)if(null==n[o].group){var a=e["get"+qx.lang.String.firstUp(o)]();if(qx.lang.Type.isArray(a))for(var s=qx.data&&qx.data.IListData&&qx.Class.hasInterface(a&&a.constructor,qx.data.IListData),l=0;lqx.bom.request.Xhr.UNSENT){this.dispose();this.__P_174_8()}this.__P_174_18.onreadystatechange=this.__P_174_1;try{qx.core.Environment.get("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Xhr,"Open native request with method: "+e+", url: "+t+", async: "+r);this.__P_174_18.open(e,t,r,i,n)}catch(o){if(!qx.util.Request.isCrossDomain(t))throw o;this.__P_174_16||(this.__P_174_19=o);if(this.__P_174_16){if(window.XDomainRequest){this.readyState=4;this.__P_174_18=new window.XDomainRequest;this.__P_174_18.onerror=qx.Bootstrap.bind((function(){this._emit("readystatechange");this._emit("error");this._emit("loadend")}),this);qx.core.Environment.get("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Xhr,"Retry open native request with method: "+e+", url: "+t+", async: "+r);this.__P_174_18.open(e,t,r,i,n);return}window.setTimeout(qx.Bootstrap.bind((function(){if(!this.__P_174_20){this.readyState=4;this._emit("readystatechange");this._emit("error");this._emit("loadend")}}),this))}}"mshtml"===qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9&&this.__P_174_18.readyState>0&&this.__P_174_18.setRequestHeader("If-Modified-Since","-1");if("gecko"===qx.core.Environment.get("engine.name")&&parseInt(qx.core.Environment.get("engine.version"),10)<2&&!this.__P_174_16){this.readyState=qx.bom.request.Xhr.OPENED;this._emit("readystatechange")}},setRequestHeader(e,t){this.__P_174_11();"If-Match"!=e&&"If-Modified-Since"!=e&&"If-None-Match"!=e&&"If-Range"!=e||(this.__P_174_14=!0);this.__P_174_18.setRequestHeader(e,t);return this},send(e){this.__P_174_11();if(!this.__P_174_16&&this.__P_174_19)throw this.__P_174_19;"opera"===qx.core.Environment.get("engine.name")&&0===this.timeout&&(this.timeout=1e4);this.timeout>0&&(this.__P_174_21=window.setTimeout(this.__P_174_6,this.timeout));e=void 0===e?null:e;var t=qx.Bootstrap.getClass(e);e=null!==e&&-1===this.__P_174_22.indexOf(t)?e.toString():e;try{qx.core.Environment.get("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Xhr,"Send native request");this.__P_174_16&&(this.__P_174_18.responseType=this.responseType);this.__P_174_18.send(e)}catch(e){if(!this.__P_174_16)throw e;if("file:"===this._getProtocol()){this.readyState=2;this.__P_174_23();var r=this;window.setTimeout((function(){if(!r.__P_174_20){r.readyState=3;r.__P_174_23();r.readyState=4;r.__P_174_23()}}))}}"gecko"!==qx.core.Environment.get("engine.name")||this.__P_174_16||this.__P_174_0();this.__P_174_13=!0;return this},abort(){this.__P_174_11();this.__P_174_12=!0;this.__P_174_18.abort();this.__P_174_18&&this.readyState!==qx.bom.request.Xhr.DONE&&(this.readyState=this.__P_174_18.readyState);return this},_emit(e){this["on"+e]&&this["on"+e]();this._emitter.emit(e,this)},onreadystatechange(){},onload(){},onloadend(){},onerror(){},onabort(){},ontimeout(){},onprogress(){},on(e,t,r){this._emitter.on(e,t,r);return this},getResponseHeader(e){this.__P_174_11();return 9===qx.core.Environment.get("browser.documentmode")&&this.__P_174_18.aborted?"":this.__P_174_18.getResponseHeader(e)},getAllResponseHeaders(){this.__P_174_11();return 9===qx.core.Environment.get("browser.documentmode")&&this.__P_174_18.aborted?"":this.__P_174_18.getAllResponseHeaders()},overrideMimeType(e){this.__P_174_11();if(!this.__P_174_18.overrideMimeType)throw new Error("Native XHR object doesn't support overrideMimeType.");this.__P_174_18.overrideMimeType(e);return this},getRequest(){return this.__P_174_18},dispose(){if(this.__P_174_20)return!1;window.clearTimeout(this.__P_174_21);window.detachEvent&&window.detachEvent("onunload",this.__P_174_9);try{this.__P_174_18.onreadystatechange}catch(e){return!1}var e=function(){};this.__P_174_18.onreadystatechange=e;this.__P_174_18.onload=e;this.__P_174_18.onerror=e;this.__P_174_18.onprogress=e;this.abort();this.__P_174_18=null;this.responseText=null;this.__P_174_20=!0;return!0},isDisposed(){return!!this.__P_174_20},_createNativeXhr(){var e=qx.core.Environment.get("io.xhr");if("xhr"===e)return new XMLHttpRequest;if("activex"==e)return new window.ActiveXObject("Microsoft.XMLHTTP");qx.Bootstrap.error(this,"No XHR support available.")},_getProtocol(){var e=this.__P_174_15;if(null!==e&&e.match){var t=e.match(/^(\w+:)\/\//);if(t&&t[1])return t[1]}return window.location.protocol},__P_174_18:null,__P_174_16:null,__P_174_1:null,__P_174_2:null,__P_174_4:null,__P_174_9:null,__P_174_6:null,__P_174_13:null,__P_174_15:null,__P_174_12:null,__P_174_24:null,__P_174_20:null,__P_174_21:null,__P_174_19:null,__P_174_14:null,__P_174_22:null,__P_174_8(){this.__P_174_18=this._createNativeXhr();this.__P_174_18.onreadystatechange=this.__P_174_1;"Undefined"!==qx.Bootstrap.getClass(this.__P_174_18.onabort)&&(this.__P_174_18.onabort=this.__P_174_2);if("Undefined"!==qx.Bootstrap.getClass(this.__P_174_18.onprogress)){this.__P_174_18.onprogress=this.__P_174_4;this.progress={lengthComputable:!1,loaded:0,total:0}}this.__P_174_20=this.__P_174_13=this.__P_174_12=!1;this.__P_174_22=["ArrayBuffer","Blob","File","HTMLDocument","String","FormData"]},__P_174_3(){this.__P_174_12||this.abort()},__P_174_5(e){this.progress.lengthComputable=e.lengthComputable;this.progress.loaded=e.loaded;this.progress.total=e.total;this._emit("progress")},__P_174_0(){var e=this.__P_174_18,t=!0;qx.core.Environment.get("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Xhr,"Received native readyState: "+e.readyState);if(this.readyState!=e.readyState){this.readyState=e.readyState;if((this.readyState!==qx.bom.request.Xhr.DONE||!this.__P_174_12||this.__P_174_13)&&(this.__P_174_16||2!=e.readyState&&3!=e.readyState)){this.status=0;this.statusText=this.responseText="";this.responseXML=null;this.response=null;if(this.readyState>=qx.bom.request.Xhr.HEADERS_RECEIVED){try{this.status=e.status;this.statusText=e.statusText;this.response=e.response;""!==this.responseType&&"text"!==this.responseType||(this.responseText=e.responseText);""!==this.responseType&&"document"!==this.responseType||(this.responseXML=e.responseXML)}catch(e){t=!1}if(t){this.__P_174_25();this.__P_174_26()}}this.__P_174_23();this.readyState==qx.bom.request.Xhr.DONE&&e&&(e.onreadystatechange=function(){})}}},__P_174_23(){this.readyState===qx.bom.request.Xhr.DONE&&window.clearTimeout(this.__P_174_21);this._emit("readystatechange");this.readyState===qx.bom.request.Xhr.DONE&&this.__P_174_27()},__P_174_27(){if(this.__P_174_24){this._emit("timeout");"opera"===qx.core.Environment.get("engine.name")&&this._emit("error");this.__P_174_24=!1}else this.__P_174_12?this._emit("abort"):this.__P_174_28()?this._emit("error"):this._emit("load");this._emit("loadend")},__P_174_28(){return"file:"===this._getProtocol()?!this.responseText:0===this.status},__P_174_7(){var e=this.__P_174_18;this.readyState=qx.bom.request.Xhr.DONE;this.__P_174_24=!0;e.aborted=!0;e.abort();this.responseText="";this.responseXML=null;this.__P_174_23()},__P_174_25(){var e=this.readyState===qx.bom.request.Xhr.DONE;"file:"===this._getProtocol()&&0===this.status&&e&&(this.__P_174_28()||(this.status=200));1223===this.status&&(this.status=204);"opera"===qx.core.Environment.get("engine.name")&&e&&this.__P_174_14&&!this.__P_174_12&&0===this.status&&(this.status=304)},__P_174_26(){if("mshtml"==qx.core.Environment.get("engine.name")&&(this.getResponseHeader("Content-Type")||"").match(/[^\/]+\/[^\+]+\+xml/)&&this.responseXML&&!this.responseXML.documentElement){var e=new window.ActiveXObject("Microsoft.XMLDOM");e.async=!1;e.validateOnParse=!1;e.loadXML(this.responseText);this.responseXML=e}},__P_174_10(){try{this&&this.dispose()}catch(e){}},__P_174_17(){var e=qx.core.Environment.get("engine.name"),t=qx.core.Environment.get("browser.version");return!("mshtml"==e&&t<9||"gecko"==e&&t<3.5)},__P_174_11(){if(this.__P_174_20)throw new Error("Already disposed")}},defer(){qx.core.Environment.add("qx.debug.io",!1)}});qx.bom.request.Xhr.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Json":{require:!0},"qx.xml.Document":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.ResponseParser",{construct(e){void 0!==e&&this.setParser(e)},statics:{PARSER:{json:qx.lang.Json.parse,xml:qx.xml.Document.fromString}},members:{__P_176_0:null,parse(e,t){var r=this._getParser(t);return"function"==typeof r&&""!==e?r.call(this,e):e},setParser(e){return"function"==typeof qx.util.ResponseParser.PARSER[e]?this.__P_176_0=qx.util.ResponseParser.PARSER[e]:this.__P_176_0=e},_getParser(e){var t,r=this.__P_176_0,i="";if(r)return r;t=(i=e||"").replace(/;.*$/,"");/^application\/(\w|\.)*\+?json$/.test(t)&&(r=qx.util.ResponseParser.PARSER.json);/^application\/xml$/.test(t)&&(r=qx.util.ResponseParser.PARSER.xml);/[^\/]+\/[^\+]+\+xml$/.test(i)&&(r=qx.util.ResponseParser.PARSER.xml);return r}}});qx.util.ResponseParser.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.tree.ExpansionLayout",{extend:qx.ui.layout.Abstract,properties:{spacing:{init:3,check:"Integer"},position:{init:"start",check:["start","end"]}},members:{renderLayout(e,t,r){let i=this._getWidget(),n=i.getChildControl("expander"),o=i.getChildControl("icon"),a=i.getChildControl("label");a.getSizeHint();let s=i.getIndentationLevel()*i.getSpacePerIndentation(),l=this.getSpacing(),u=i.getExpanderWidth();if(null===u)if(n.isVisible()){let e=n.getSizeHint();u=Math.max(e.minWidth,Math.min(e.maxWidth,e.width))}else u=0;let c=o.getSizeHint().width;o.isVisible()||(c=0);if("start"==this.getPosition()){if(n.isVisible()){n.renderLayout(s,0,u,t);s+=u+l}o.renderLayout(s,0,c,t);s+=c+l;a.renderLayout(s,0,e-s,t)}else{let r=e-s-u-l;o.renderLayout(s,0,c,t);s+=c+l;a.renderLayout(s,0,r-c,t);if(n.isVisible()){s+=r+l;n.renderLayout(s,0,u,t)}}},_computeSizeHint(){let e=this._getWidget(),t=e.getChildControl("expander"),r=e.getIndentationLevel()*e.getSpacePerIndentation(),i=this.getSpacing(),n=e.getExpanderWidth();if(null===n)if(t.isVisible()){let e=t.getSizeHint(!0),r=e.width;re.maxWidth&&(r=e.maxWidth);n=r}else n=0;let o=r+n+i,a=e.getChildControl("label").getSizeHint(!0),s=a.width;a.minWidth&&a.minWidth>s&&(s=a.minWidth);o+=s;return{width:o,minWidth:o,height:a.height,minHeight:a.minHeight,maxHeight:a.maxHeight}}}});qxl.datagrid.column.tree.ExpansionLayout.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.locale.Manager":{defer:"runtime"}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.locale.Key",{statics:{getKeyName(e,t,r){var i="key_"+e+"_"+t;"osx"==qx.core.Environment.get("os.name")&&"Control"==t&&(i+="_Mac");var n=qx.locale.Manager.getInstance().translate(i,[],r);return n==i?qx.locale.Key._keyNames[i]||t:n}},defer(e){var t={},r=qx.locale.Manager;t[r.marktr("key_short_Backspace")]="Backspace";t[r.marktr("key_short_Tab")]="Tab";t[r.marktr("key_short_Space")]="Space";t[r.marktr("key_short_Enter")]="Enter";t[r.marktr("key_short_Shift")]="Shift";t[r.marktr("key_short_Control")]="Ctrl";t[r.marktr("key_short_Control_Mac")]="Ctrl";t[r.marktr("key_short_Alt")]="Alt";t[r.marktr("key_short_CapsLock")]="Caps";t[r.marktr("key_short_Meta")]="Meta";t[r.marktr("key_short_Escape")]="Esc";t[r.marktr("key_short_Left")]="Left";t[r.marktr("key_short_Up")]="Up";t[r.marktr("key_short_Right")]="Right";t[r.marktr("key_short_Down")]="Down";t[r.marktr("key_short_PageUp")]="PgUp";t[r.marktr("key_short_PageDown")]="PgDn";t[r.marktr("key_short_End")]="End";t[r.marktr("key_short_Home")]="Home";t[r.marktr("key_short_Insert")]="Ins";t[r.marktr("key_short_Delete")]="Del";t[r.marktr("key_short_NumLock")]="Num";t[r.marktr("key_short_PrintScreen")]="Print";t[r.marktr("key_short_Scroll")]="Scroll";t[r.marktr("key_short_Pause")]="Pause";t[r.marktr("key_short_Win")]="Win";t[r.marktr("key_short_Apps")]="Apps";t[r.marktr("key_full_Backspace")]="Backspace";t[r.marktr("key_full_Tab")]="Tabulator";t[r.marktr("key_full_Space")]="Space";t[r.marktr("key_full_Enter")]="Enter";t[r.marktr("key_full_Shift")]="Shift";t[r.marktr("key_full_Control")]="Control";t[r.marktr("key_full_Control_Mac")]="Control";t[r.marktr("key_full_Alt")]="Alt";t[r.marktr("key_full_CapsLock")]="CapsLock";t[r.marktr("key_full_Meta")]="Meta";t[r.marktr("key_full_Escape")]="Escape";t[r.marktr("key_full_Left")]="Left";t[r.marktr("key_full_Up")]="Up";t[r.marktr("key_full_Right")]="Right";t[r.marktr("key_full_Down")]="Down";t[r.marktr("key_full_PageUp")]="PageUp";t[r.marktr("key_full_PageDown")]="PageDown";t[r.marktr("key_full_End")]="End";t[r.marktr("key_full_Home")]="Home";t[r.marktr("key_full_Insert")]="Insert";t[r.marktr("key_full_Delete")]="Delete";t[r.marktr("key_full_NumLock")]="NumLock";t[r.marktr("key_full_PrintScreen")]="PrintScreen";t[r.marktr("key_full_Scroll")]="Scroll";t[r.marktr("key_full_Pause")]="Pause";t[r.marktr("key_full_Win")]="Win";t[r.marktr("key_full_Apps")]="Apps";e._keyNames=t}});qx.locale.Key.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.util.ColorUtil":{},"qx.theme.manager.Color":{},"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);var t={tone(e){if("dark"==e||"light"==e)return e;var t=qx.util.ColorUtil.contrast(e,"#fff"),r=qx.util.ColorUtil.contrast(e,"rgba(0,0,0,0.87)");return t<3.1&&r>t?"light":"dark"},contrastTone:e=>"dark"===t.tone(e)?"light":"dark",inkColorForFill:(e,r)=>({dark:{primary:"rgba(0,0,0,0.87)",secondary:"rgba(0,0,0,0.54)",hint:"rgba(0,0,0,0.38)",disabled:"rgba(0,0,0,0.38)",icon:"rgba(0,0,0,0.38)"},light:{primary:"#fff",secondary:"rgba(255,255,255,0.7)",hint:"rgba(255,255,255,0.5)",disabled:"rgba(255,255,255,0.5)",icon:"rgba(255,255,255,0.5)"}}[t.contrastTone(r)][e]),onX(e){var r=e.split("-")[2];return"dark"===t.contrastTone(r)?"#000000":"#ffffff"},xState(e){var t=e.split("-"),r=t[0];switch(t[1]){case"focused":return qx.util.ColorUtil.scale(r,{lightness:10,saturation:10});case"hovered":return qx.util.ColorUtil.scale(r,{lightness:10});case"disabled":return qx.util.ColorUtil.scale(r,{lightness:-10,saturation:-70});case"selected":return qx.util.ColorUtil.scale(r,{lightness:30});case"selected_disabled":return qx.util.ColorUtil.scale(r,{lightness:30,saturation:-70});default:return r}},textXonY(e){var r=e.split("-"),i=r[1],n=r[3];return t.inkColorForFill(i,n)},setAlpha(e){var t=e.split("-");if(4==t.length){t[1]=t[0]+"-"+t[1];t.shift()}var r=t[0],i=t[2],n=qx.theme.manager.Color.getInstance().resolve(r),o=qx.util.ColorUtil.stringToRgb(n);o[3]=i/100;return qx.util.ColorUtil.rgbToRgbString(o)}};qx.Theme.define("qx.theme.tangible.ColorEngine",{colors:{"text-on-primary":t.onX,"text-on-secondary":t.onX,"text-on-surface":t.onX,"text-on-error":t.onX,"primary-hovered":t.xState,"primary-disabled":t.xState,"primary-focused":t.xState,"primary-selected":t.xState,"primary-selected_disabled":t.xState,"error-focused":t.xState,"primary-alpha-5":t.setAlpha,"primary-alpha-10":t.setAlpha,"primary-alpha-30":t.setAlpha,"secondary-alpha-5":t.setAlpha,"primary-disabled-alpha-20":t.setAlpha,"text-primary-on-surface":t.textXonY,"text-hint-on-surface":t.textXonY,"text-disabled-on-surface":t.textXonY,"text-icon-on-surface":t.textXonY,"text-disabled-on-primary":t.textXonY,"text-icon-on-primary":t.textXonY,"table-header-cell":"surface","table-row-background-focused-selected":"primary-alpha-10","table-row-background-focused":"primary-alpha-5","table-row-background-selected":"secondary-alpha-5","table-row-background-even":"surface","table-row-background-odd":"surface","table-row-selected":"text-primary-on-surface","table-row":"text-primary-on-surface","table-row-line":"text-hint-on-surface","table-column-line":"transparent","text-disabled":"text-disabled-on-surface","progressive-table-header":"table-header-cell","progressive-table-row-background-even":"primary-alpha-5","progressive-table-row-background-odd":"surface","progressive-progressbar-background":"surface","progressive-progressbar-indicator-done":"primary","progressive-progressbar-indicator-undone":"surface","progressive-progressbar-percent-background":"surface","progressive-progressbar-percent-text":"text-primary-on-surface"}});qx.theme.tangible.ColorEngine.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.tangible.ColorEngine":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.tangible.ColorLight",{extend:qx.theme.tangible.ColorEngine,colors:{primary:"#6200ee",secondary:"#018786",surface:"#ffffff",error:"#b00020"}});qx.theme.tangible.ColorLight.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qxl.datagrid.theme.tangible.MColor",{colors:{"qxl-datagrid-row-background-even":"surface","qxl-datagrid-row-background-odd":"primary-alpha-5","qxl-datagrid-row-background-selected":"primary-alpha-10"}});qxl.datagrid.theme.tangible.MColor.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.tangible.ColorLight":{require:!0},"qxl.datagrid.theme.tangible.MColor":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qxl.datagrid.demo.theme.tangible.Color",{extend:qx.theme.tangible.ColorLight,include:[qxl.datagrid.theme.tangible.MColor]});qxl.datagrid.demo.theme.tangible.Color.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.tangible.Decoration",{aliases:{decoration:"qx/decoration/Simple"},decorations:{"material-textfield":{style:{styleBottom:"solid",widthBottom:1,colorBottom:"primary"}},"material-textfield-focused":{include:"material-textfield",style:{widthBottom:2,colorBottom:"primary-focused"}},"material-textfield-invalid":{include:"material-textfield",style:{widthBottom:1,colorBottom:"error"}},"material-textfield-focused-invalid":{include:"material-textfield",style:{widthBottom:2,colorBottom:"error-focused"}},"material-textfield-disabled":{include:"material-textfield",style:{widthBottom:1,colorBottom:"primary-disabled"}},"material-textfield-readonly":{style:{}},"material-button":{style:{radius:2,backgroundColor:"primary",shadowHorizontalLength:0,shadowVerticalLength:[3,2,1],shadowBlurRadius:[1,2,5],shadowSpreadRadius:[-2,0,0],shadowColor:["rgba(0, 0, 0, 0.2)","rgba(0, 0, 0, 0.14)","rgba(0, 0, 0, 0.12)"],transitionProperty:["all"],transitionDuration:"0s"}},"material-button-hovered":{include:"material-button",style:{backgroundColor:"primary-hovered",shadowVerticalLength:[2,4,1],shadowBlurRadius:[4,5,10],shadowSpreadRadius:[-1,0,0],transitionDuration:"0.1s"}},"material-button-hovered-invalid":{include:"material-button-hovered",style:{color:"error"}},"material-button-pressed":{include:"material-button",style:{backgroundColor:"primary-hovered",shadowVerticalLength:[5,8,3],shadowBlurRadius:[5,10,14],shadowSpreadRadius:[-3,1,2],transitionDuration:"0.1s"}},"material-button-disabled":{include:"material-button",style:{shadowVerticalLength:0,shadowBlurRadius:0,shadowSpreadRadius:0,backgroundColor:"primary-disabled"}},"material-button-left":{include:"material-button",style:{radius:[2,0,0,2]}},"material-button-right":{include:"material-button",style:{radius:[0,2,2,0]}},"material-button-hovered-left":{include:"material-button-hovered",style:{radius:[2,0,0,2]}},"material-button-focused-left":{include:"material-button-hovered",style:{radius:[2,0,0,2]}},"material-button-hovered-right":{include:"material-button-hovered",style:{radius:[0,2,2,0]}},"material-button-focused-right":{include:"material-button-hovered",style:{radius:[0,2,2,0]}},"material-button-pressed-left":{include:"material-button-pressed",style:{radius:[2,0,0,2]}},"material-button-pressed-right":{include:"material-button-pressed",style:{radius:[0,2,2,0]}},"material-button-disabled-left":{include:"material-button-disabled",style:{radius:[2,0,0,2]}},"material-button-disabled-right":{include:"material-button-disabled",style:{radius:[0,2,2,0]}},"toggle-button":{include:"material-button"},"toggle-button-hovered":{include:"material-button-hovered"},"toggle-button-checked":{include:"toggle-button",style:{backgroundColor:"primary-selected"}},"toggle-button-checked-hovered":{include:"toggle-button-hovered",style:{backgroundColor:"primary-selected"}},"toggle-button-disabled":{include:"material-button-disabled"},"toggle-button-checked-disabled":{include:"toggle-button-checked",style:{backgroundColor:"primary-selected_disabled"}},"border-blue":{style:{width:4,color:"surface"}},main:{style:{width:1,color:"text-hint-on-surface"}},"main-top":{include:"main",style:{width:[1,0,0,0]}},"main-right":{include:"main",style:{width:[0,1,0,0]}},"main-bottom":{include:"main",style:{width:[0,0,1,0]}},"main-left":{include:"main",style:{width:[0,0,0,1]}},popup:{style:{width:1,color:"text-hint-on-surface",shadowLength:2,shadowBlurRadius:5,shadowColor:"shadow"}},dragover:{style:{bottom:[2,"solid","dark-blue"]}},"button-box":{style:{radius:0,width:0,color:"text-on-primary",backgroundColor:"primary"}},"button-box-pressed":{include:"button-box",style:{backgroundColor:"primary-focused"}},"button-box-pressed-hovered":{include:"button-box",style:{backgroundColor:"primary-selected"}},"button-box-hovered":{include:"button-box",style:{backgroundColor:"button-hovered"}},"button-box-invalid":{include:"button-box",style:{color:"error"}},"button-box-pressed-invalid":{include:"button-box-pressed",style:{color:"error"}},"button-box-hovered-invalid":{include:"button-box-invalid"},"button-box-pressed-hovered-invalid":{include:"button-box-pressed-invalid"},"button-box-focused":{include:"button-box",style:{color:"surface"}},"button-box-pressed-focused":{include:"button-box-pressed",style:{color:"surface"}},"button-box-hovered-focused":{include:"button-box-focused"},"button-box-pressed-hovered-focused":{include:"button-box-pressed-focused"},"button-box-right":{include:"button-box",style:{radius:[0,1,1,0]}},"button-box-pressed-right":{include:"button-box-pressed",style:{radius:[0,1,1,0]}},"button-box-pressed-hovered-right":{include:"button-box-pressed-hovered",style:{radius:[0,1,1,0]}},"button-box-hovered-right":{include:"button-box-hovered",style:{radius:[0,1,1,0]}},"button-box-focused-right":{include:"button-box-focused",style:{radius:[0,1,1,0]}},"button-box-hovered-focused-right":{include:"button-box-hovered-focused",style:{radius:[0,1,1,0]}},"button-box-pressed-focused-right":{include:"button-box-pressed-focused",style:{radius:[0,1,1,0]}},"button-box-pressed-hovered-focused-right":{include:"button-box-pressed-hovered-focused",style:{radius:[0,1,1,0]}},"button-box-top-right":{include:"button-box",style:{radius:[0,1,0,0]}},"button-box-pressed-top-right":{include:"button-box-pressed",style:{radius:[0,1,0,0]}},"button-box-pressed-hovered-top-right":{include:"button-box-pressed-hovered",style:{radius:[0,1,0,0]}},"button-box-hovered-top-right":{include:"button-box-hovered",style:{radius:[0,1,0,0]}},"button-box-bottom-right":{include:"button-box",style:{radius:[0,0,1,0],width:[0,1,1,0]}},"button-box-pressed-bottom-right":{include:"button-box-pressed",style:{radius:[0,0,1,0],width:[0,1,1,0]}},"button-box-pressed-hovered-bottom-right":{include:"button-box-pressed-hovered",style:{radius:[0,0,1,0],width:[0,1,1,0]}},"button-box-hovered-bottom-right":{include:"button-box-hovered",style:{radius:[0,0,1,0],width:[0,1,1,0]}},"button-box-bottom-left":{include:"button-box",style:{radius:[0,0,0,1],width:[0,0,1,1]}},"button-box-pressed-bottom-left":{include:"button-box-pressed",style:{radius:[0,0,0,1],width:[0,0,1,1]}},"button-box-pressed-hovered-bottom-left":{include:"button-box-pressed-hovered",style:{radius:[0,0,0,1],width:[0,0,1,1]}},"button-box-hovered-bottom-left":{include:"button-box-hovered",style:{radius:[0,0,0,1],width:[0,0,1,1]}},"button-box-top-left":{include:"button-box",style:{radius:[1,0,0,0],width:[1,0,0,1]}},"button-box-pressed-top-left":{include:"button-box-pressed",style:{radius:[1,0,0,0],width:[1,0,0,1]}},"button-box-pressed-hovered-top-left":{include:"button-box-pressed-hovered",style:{radius:[1,0,0,0],width:[1,0,0,1]}},"button-box-hovered-top-left":{include:"button-box-hovered",style:{radius:[1,0,0,0],width:[1,0,0,1]}},"button-box-middle":{include:"button-box",style:{radius:0,width:[1,0,1,1]}},"button-box-pressed-middle":{include:"button-box-pressed",style:{radius:0,width:[1,0,1,1]}},"button-box-pressed-hovered-middle":{include:"button-box-pressed-hovered",style:{radius:0,width:[1,0,1,1]}},"button-box-hovered-middle":{include:"button-box-hovered",style:{radius:0,width:[1,0,1,1]}},"button-box-left":{include:"button-box",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"button-box-pressed-left":{include:"button-box-pressed",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"button-box-pressed-hovered-left":{include:"button-box-pressed-hovered",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"button-box-hovered-left":{include:"button-box-hovered",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"button-box-focused-left":{include:"button-box-focused",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"button-box-hovered-focused-left":{include:"button-box-hovered-focused",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"button-box-pressed-hovered-focused-left":{include:"button-box-pressed-hovered-focused",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"button-box-pressed-focused-left":{include:"button-box-pressed-focused",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"separator-horizontal":{style:{widthLeft:1,colorLeft:"text-hint-on-surface"}},"separator-vertical":{style:{widthTop:1,colorTop:"text-hint-on-surface"}},"scroll-knob":{style:{radius:4,width:0,backgroundColor:"text-hint-on-surface"}},"scroll-knob-pressed":{include:"scroll-knob",style:{backgroundColor:"text-primary-on-surface"}},"scroll-knob-hovered":{include:"scroll-knob"},"scroll-knob-pressed-hovered":{include:"scroll-knob-pressed"},"button-hover":{style:{backgroundColor:"primary-hovered",radius:1}},window:{style:{width:1,color:"text-hint-on-surface",shadowLength:1,shadowBlurRadius:3,shadowColor:"rgba(0,0,0,0.2)",backgroundColor:"surface"}},"window-active":{include:"window",style:{shadowLength:2,shadowBlurRadius:5}},"window-caption":{style:{width:[0,0,1,0],color:"text-hint-on-surface"}},box:{style:{width:1,radius:2,color:"text-hint-on-surface",backgroundColor:"surface"}},border:{style:{width:1,color:"text-hint-on-surface"}},"border-disabled":{style:{width:1,color:"text-disabled-on-surface"}},"border-focused":{style:{width:1,color:"primary"}},"border-invalid":{style:{width:1,color:"error"}},"lead-item":{style:{width:1,style:"dotted",color:"text-disabled-on-surface"}},tag:{include:"button-box",style:{width:1,style:"solid",radius:10}},tooltip:{style:{width:1,color:"text-on-secondary",shadowLength:1,shadowBlurRadius:2,shadowColor:"rgba(0,0,0,0.2)"}},"tooltip-error":{style:{radius:5,backgroundColor:"error"}},"toolbar-separator":{style:{widthLeft:1,colorLeft:"text-hint-on-surface"}},"toolbar-button":{include:"material-button",style:{shadowHorizontalLength:0,shadowVerticalLength:0,shadowBlurRadius:0,shadowSpreadRadius:0}},"toolbar-button-hovered":{include:"material-button-hovered"},"toolbar-button-left":{include:"material-button-left",style:{shadowHorizontalLength:0,shadowVerticalLength:0,shadowBlurRadius:0,shadowSpreadRadius:0}},"toolbar-button-hovered-left":{include:"material-button-hovered-left"},"toolbar-button-right":{include:"material-button-right",style:{shadowHorizontalLength:0,shadowVerticalLength:0,shadowBlurRadius:0,shadowSpreadRadius:0}},"toolbar-button-hovered-right":{include:"material-button-hovered-right"},"menu-separator":{style:{widthTop:1,colorTop:"text-hint-on-surface"}},"menubar-button-hovered":{style:{backgroundColor:"primary-hovered"}},"menubar-button-pressed":{include:"menubar-button-hovered",style:{backgroundColor:"primary-selected"}},"datechooser-date-pane":{style:{widthTop:1,colorTop:"text-hint-on-surface",style:"solid"}},"datechooser-weekday":{style:{widthBottom:1,colorBottom:"text-hint-on-surface",style:"solid"}},"datechooser-week":{style:{widthRight:1,colorRight:"text-hint-on-surface",style:"solid"}},"datechooser-week-header":{style:{widthBottom:1,colorBottom:"text-hint-on-surface",widthRight:1,colorRight:"text-hint-on-surface",style:"solid"}},"tabview-page-button-top":{style:{width:[0,0,2,0],backgroundColor:"surface",color:"primary"}},"tabview-page-button-bottom":{include:"tabview-page-button-top",style:{width:[2,0,0,0]}},"tabview-page-button-left":{include:"tabview-page-button-top",style:{width:[0,2,0,0]}},"tabview-page-button-right":{include:"tabview-page-button-top",style:{width:[0,0,0,2]}},statusbar:{style:{widthTop:1,colorTop:"text-hint-on-surface",styleTop:"solid"}},"table-scroller-focus-indicator":{style:{width:1,style:"dotted",color:"text-hint-on-surface"}},"table-header":{include:"button-box",style:{radius:0,color:"text-hint-on-surface",width:[0,0,2,0]}},"table-header-column-button":{include:"table-header"},"table-header-cell":{style:{}},"table-header-cell-first":{include:"table-header-cell"},"progressive-table-header":{include:"button-box",style:{radius:0,width:[1,0,1,1]}},"progressive-table-header-cell":{style:{widthRight:1,color:"text-hint-on-surface"}},progressbar:{style:{width:1,color:"text-hint-on-surface"}},radiobutton:{style:{color:"text-primary-on-surface"}},checkbox:{style:{color:"text-primary-on-surface"}}}});qx.theme.tangible.Decoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qxl.datagrid.theme.tangible.MDecoration",{decorations:{"qxl-datagrid-row":{style:{radius:0,color:"text-hint-on-surface",width:[0,0,1,0]}},"qxl-datagrid-row-focused":{style:{radius:0,color:"text-hint-on-surface",width:1,style:"dashed"}},"qxl-datagrid-cell-focused":{style:{radius:0,width:1,color:"text-hint-on-surface",style:"dashed"}}}});qxl.datagrid.theme.tangible.MDecoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.tangible.Decoration":{require:!0},"qxl.datagrid.theme.tangible.MDecoration":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qxl.datagrid.demo.theme.tangible.Decoration",{extend:qx.theme.tangible.Decoration,include:[qxl.datagrid.theme.tangible.MDecoration]});qxl.datagrid.demo.theme.tangible.Decoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.tangible.Font",{fonts:{default:{size:14,family:["sans-serif"],color:"text-primary-on-surface",fontName:"Roboto"},bold:{size:14,family:["sans-serif"],bold:!0,color:"text-primary-on-surface",fontName:"Roboto"},headline:{size:24,family:["sans-serif"],color:"text-primary-on-surface",fontName:"Roboto"},small:{size:12,family:["sans-serif"],color:"text-primary-on-surface",fontName:"Roboto"},monospace:{size:14,family:["monospace"],color:"text-primary-on-surface",fontName:"Roboto Mono"}}});qx.theme.tangible.Font.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.icon.Tango",{title:"Tango",aliases:{icon:"qx/icon/Tango"}});qx.theme.icon.Tango.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.tangible.Image":{}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.tangible.Appearance",{appearances:{widget:{},label:{style:e=>({textColor:e.disabled?"text-disabled-on-surface":void 0})},image:{style:e=>({opacity:!e.replacement&&e.disabled?.3:void 0})},atom:{},"atom/label":"label","atom/icon":"image",root:{style:e=>({backgroundColor:"surface",textColor:"text-primary-on-surface",font:"default"})},popup:{style:e=>({decorator:"popup",backgroundColor:"surface"})},tooltip:{include:"popup",style:e=>({backgroundColor:"secondary",textColor:"text-on-secondary",decorator:"tooltip",padding:[1,3,2,3],offset:[10,5,5,5]})},"tooltip/atom":"atom","tooltip-error":{include:"tooltip",style:e=>({textColor:"text-on-error",showTimeout:100,hideTimeout:1e4,decorator:"tooltip-error",font:"bold",backgroundColor:void 0})},"tooltip-error/atom":"atom",iframe:{style:e=>({backgroundColor:"surface",decorator:"main"})},"move-frame":{style:e=>({decorator:"main"})},"resize-frame":"move-frame","dragdrop-cursor":{style(e){var t="nodrop";e.copy?t="copy":e.move?t="move":e.alias&&(t="alias");return{source:qx.theme.tangible.Image.URLS["cursor-"+t],position:"right-top",offset:[2,16,2,6]}}},button:{alias:"material-button",include:"material-button",style:e=>({center:!0})},"toggle-button":{include:"button",style:e=>({decorator:"toggle-button"+(e.checked?"-checked":"")+(e.disabled?"-disabled":"")+(!e.disabled&&e.hovered?"-hovered":""),textColor:e.disabled?"text-disabled-on-primary":"text-on-primary"})},"toggle-button/label":{include:"button/label",style:e=>(e.checked,{textColor:void 0})},"material-button":{alias:"atom",style(e){var t="material-button";e.disabled?t+="-disabled":e.pressed||e.checked?t+="-pressed":(e.hovered||e.focused)&&(t+="-hovered");e.invalid&&!e.disabled&&(t+="-invalid");return{decorator:t,padding:[6,15],margin:[2,4],cursor:e.disabled?void 0:"pointer",minWidth:5,minHeight:5}}},"material-button/label":{alias:"atom/label",style:e=>({textColor:e.disabled?"text-disabled-on-primary":"text-on-primary"})},"material-button/icon":{alias:"atom/label",style:e=>({textColor:e.disabled?"text-disabled-on-primary":"text-on-primary"})},"button-frame":{alias:"atom",style(e){var t="button-box";e.disabled||(!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered":(e.pressed||e.checked)&&(t="button-box-pressed"):t="button-box-hovered");e.invalid&&!e.disabled?t+="-invalid":e.focused&&(t+="-focused");return{decorator:t,padding:[3,8],cursor:e.disabled?void 0:"pointer",minWidth:5,minHeight:5}}},"button-frame/label":{alias:"atom/label",style:e=>({textColor:e.disabled?"text-disabled-on-primary":"text-on-primary"})},"hover-button":{alias:"button",include:"button",style:e=>({decorator:e.hovered?"button-hover":void 0})},menubutton:{include:"button",alias:"button",style:e=>({icon:qx.theme.tangible.Image.URLS["arrow-down"],iconPosition:"right"})},"material-textfield":{style(e){var t,r;t="material-textfield";r=[3,0,4,0];if(e.readonly){t+="-readonly";r=[3,0,5,0]}else if(e.disabled)t+="-disabled";else if(e.focused){t+="-focused";e.invalid&&(t+="-invalid");r=[3,0,3,0]}else e.invalid&&(t+="-invalid");return{decorator:t,padding:r,textColor:e.disabled?"text-disabled-on-surface":e.showingPlaceholder?"text-hint-on-surface":void 0}}},textfield:"material-textfield",textarea:"textfield",framebox:{style(e){var t,r;if(e.disabled){t="border-disabled";r=[1,2]}else if(e.invalid){t="border-invalid";r=[1,2]}else if(e.focused){t="border-focused";r=[1,2]}else{r=[1,2];t="border"}return{decorator:t,padding:r,textColor:e.disabled?"text-disabled-on-surface":e.showingPlaceholder?"text-hint-on-surface":void 0}}},splitbutton:{},"splitbutton/button":{alias:"material-button",style(e){var t="material-button";e.disabled?t+="-disabled":e.pressed||e.checked?t+="-pressed":e.hovered?t+="-hovered":e.focused&&(t+="-focused");return{decorator:t+="-left",padding:[6,15,6,15],margin:[2,0,2,4],cursor:e.disabled?void 0:"pointer",textColor:"text-primary-on-surface"}}},"splitbutton/arrow":{alias:"material-button",style(e){var t="material-button";e.disabled?t+="-disabled":e.pressed||e.checked?t+="-pressed":e.focused?t+="-focused":e.hovered&&(t+="-hovered");t+="-right";return{icon:qx.theme.tangible.Image.URLS["arrow-down"],decorator:t,cursor:e.disabled?void 0:"pointer",padding:[6,10,6,10],margin:[2,4,2,0],textColor:"text-on-primary"}}},"splitbutton/arrow/icon":{style:e=>({textColor:"text-icon-on-primary"})},slidebar:{},"slidebar/scrollpane":{},"slidebar/content":{},"slidebar/button-forward":{alias:"button",include:"button",style:e=>({icon:qx.theme.tangible.Image.URLS["arrow-"+(e.vertical?"down":"right")]})},"slidebar/button-backward":{alias:"button",include:"button",style:e=>({icon:qx.theme.tangible.Image.URLS["arrow-"+(e.vertical?"up":"left")]})},table:{style:e=>({rowHeight:30})},"table/statusbar":{style:e=>({decorator:"statusbar",padding:[2,5]})},"table/column-button":{alias:"button",style:e=>({decorator:"table-header-column-button",textColor:"text-primary-on-surface",backgroundColor:"surface",padding:3,icon:qx.theme.tangible.Image.URLS["select-column-order"]})},"table-column-reset-button":{include:"menu-button",alias:"menu-button",style:()=>({decorator:"table-header-column-button",icon:"icon/16/actions/view-refresh.png"})},"table-scroller/scrollbar-x":"scrollbar","table-scroller/scrollbar-y":"scrollbar","table-scroller":"widget","table-scroller/header":{style:()=>({textColor:"text-primary-on-surface",backgroundColor:"surface",decorator:"table-header"})},"table-scroller/pane":{},"table-scroller/focus-indicator":{style:e=>({})},"table-scroller/resize-line":{style:e=>({backgroundColor:"text-hint-on-surface",width:3})},"table-header-cell":{alias:"atom",style:e=>({decorator:e.first?"table-header-cell-first":"table-header-cell",minWidth:13,font:"bold",paddingTop:3,paddingLeft:5,cursor:e.disabled?void 0:"pointer",sortIcon:e.sorted?qx.theme.tangible.Image.URLS["table-"+(e.sortedAscending?"ascending":"descending")]:void 0})},"table-header-cell/icon":{include:"atom/icon",style:e=>({paddingRight:5})},"table-header-cell/sort-icon":{style:e=>({alignY:"middle",alignX:"right",paddingRight:5})},"table-editor-textfield":{include:"framebox",style:e=>({decorator:void 0,padding:[2,2],backgroundColor:"surface"})},"table-editor-selectbox":{include:"selectbox",alias:"selectbox",style:e=>({padding:[0,2],backgroundColor:"surface"})},"table-editor-combobox":{include:"combobox",alias:"combobox",style:e=>({decorator:void 0,backgroundColor:"surface"})},"progressive-table-header":{style:e=>({decorator:"progressive-table-header"})},"progressive-table-header-cell":{style:e=>({decorator:"progressive-table-header-cell",padding:[5,6,5,6]})},treevirtual:{include:"framebox",alias:"table",style:(e,t)=>({padding:[t.padding[0]+2,t.padding[1]+1]})},"treevirtual-folder":{style:e=>({icon:e.opened?qx.theme.tangible.Image.URLS["folder-open"]:qx.theme.tangible.Image.URLS.folder,opacity:e.drag?.5:void 0})},"treevirtual-file":{include:"treevirtual-folder",alias:"treevirtual-folder",style:e=>({icon:qx.theme.tangible.Image.URLS.file,opacity:e.drag?.5:void 0})},"treevirtual-blank":{style:e=>({icon:qx.theme.tangible.Image.URLS.blank})},"treevirtual-contract":{style:e=>({icon:qx.theme.tangible.Image.URLS["tree-minus"]})},"treevirtual-expand":{style:e=>({icon:qx.theme.tangible.Image.URLS["tree-plus"]})},"treevirtual-only-contract":"treevirtual-contract","treevirtual-only-expand":"treevirtual-expand","treevirtual-start-contract":"treevirtual-contract","treevirtual-start-expand":"treevirtual-expand","treevirtual-end-contract":"treevirtual-contract","treevirtual-end-expand":"treevirtual-expand","treevirtual-cross-contract":"treevirtual-contract","treevirtual-cross-expand":"treevirtual-expand","treevirtual-line":"treevirtual-blank","treevirtual-end":"treevirtual-blank","treevirtual-cross":"treevirtual-blank",resizer:{style:e=>({decorator:"main"})},splitpane:{},"splitpane/splitter":{style:e=>({backgroundColor:"text-hint-on-surface"})},"splitpane/splitter/knob":{style:e=>({source:qx.theme.tangible.Image.URLS["knob-"+(e.horizontal?"horizontal":"vertical")],padding:0})},"splitpane/slider":{style:e=>({backgroundColor:"text-hint-on-surface",opacity:.3})},menu:{style(e){var t={backgroundColor:"surface",decorator:"main",spacingX:6,spacingY:1,iconColumnWidth:16,arrowColumnWidth:4,padding:1,placementModeY:e.submenu||e.contextmenu?"best-fit":"keep-align"};if(e.submenu){t.position="right-top";t.offset=[-2,-3]}e.contextmenu&&(t.offset=4);return t}},"menu/slidebar":"menu-slidebar","menu-slidebar":"widget","menu-slidebar-button":{style:e=>({backgroundColor:e.hovered?"primary-hovered":void 0,padding:6,center:!0})},"menu-slidebar/button-backward":{include:"menu-slidebar-button",style:e=>({icon:qx.theme.tangible.Image.URLS["arrow-up"+(e.hovered?"-invert":"")]})},"menu-slidebar/button-forward":{include:"menu-slidebar-button",style:e=>({icon:qx.theme.tangible.Image.URLS["arrow-down"+(e.hovered?"-invert":"")]})},"menu-separator":{style:e=>({height:0,decorator:"menu-separator",marginTop:4,marginBottom:4,marginLeft:2,marginRight:2})},"menu-button":{alias:"atom",style:e=>({backgroundColor:e.selected?"primary-selected":void 0,textColor:e.selected?"text-on-primary":"text-primary-on-surface",padding:[2,6]})},"menu-button/icon":{include:"image",style:e=>({alignY:"middle",textColor:e.selected?"text-icon-on-primary":"text-icon-on-surface"})},"menu-button/label":{include:"label",style:e=>({alignY:"middle",padding:1})},"menu-button/shortcut":{include:"label",style:e=>({alignY:"middle",marginLeft:14,padding:1})},"menu-button/arrow":{include:"image",style:e=>({source:qx.theme.tangible.Image.URLS["arrow-right"+(e.selected?"-invert":"")],alignY:"middle"})},"menu-checkbox":{alias:"menu-button",include:"menu-button",style(e){var t="menu-checkbox";e.checked&&(t+="-checked");return{icon:qx.theme.tangible.Image.URLS[t]}}},"menu-radiobutton":{alias:"menu-button",include:"menu-button",style(e){var t="menu-radiobutton";e.checked&&(t+="-checked");return{icon:qx.theme.tangible.Image.URLS[t]}}},menubar:{style:e=>({backgroundColor:"surface",padding:[4,2]})},"menubar-button":{style(e){var t;e.disabled||(e.pressed?t="menubar-button-pressed":e.hovered&&(t="menubar-button-hovered"));return{padding:[2,6],cursor:e.disabled?void 0:"pointer",textColor:"text-on-primary",decorator:t}}},"menubar-button/icon":{style:e=>({textColor:e.disabled?"text-disabled-on-surface":e.pressed||e.hovered?"text-on-primary":"text-on-surface"})},"virtual-list":"list","virtual-list/row-layer":"row-layer","row-layer":"widget","column-layer":"widget","group-item":{include:"label",alias:"label",style:e=>({padding:4,backgroundColor:"primary",textColor:"text-on-primary",font:"bold"})},"virtual-selectbox":"selectbox","virtual-selectbox/dropdown":"popup","virtual-selectbox/dropdown/list":{alias:"virtual-list"},"virtual-combobox":"combobox","virtual-combobox/dropdown":"popup","virtual-combobox/dropdown/list":{alias:"virtual-list"},"virtual-tree":{include:"tree",alias:"tree",style:e=>({itemHeight:21})},"virtual-tree-folder":"tree-folder","virtual-tree-file":"tree-file",cell:{style:e=>({backgroundColor:e.selected?"primary-selected":"surface",textColor:e.selected?"text-on-primary":"text-primary-on-surface",padding:[3,6]})},"cell-string":"cell","cell-number":{include:"cell",style:e=>({textAlign:"right"})},"cell-image":"cell","cell-boolean":"cell","cell-atom":"cell","cell-date":"cell","cell-html":"cell",scrollbar:{},"scrollbar/slider":{},"scrollbar/slider/knob":{style(e){var t="scroll-knob";e.disabled||(!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="scroll-knob-pressed-hovered":(e.pressed||e.checked)&&(t="scroll-knob-pressed"):t="scroll-knob-hovered");return{height:8,width:8,marginLeft:2,marginTop:2,cursor:e.disabled?void 0:"pointer",decorator:t,minHeight:e.horizontal?void 0:30,minWidth:e.horizontal?30:void 0}}},"scrollbar/button":{style:e=>({height:0,width:0,margin:[2,2]})},"scrollbar/button-begin":"scrollbar/button","scrollbar/button-end":"scrollbar/button","scrollarea/corner":{style:e=>({backgroundColor:"surface"})},scrollarea:"widget","scrollarea/pane":"widget","scrollarea/scrollbar-x":"scrollbar","scrollarea/scrollbar-y":"scrollbar",radiobutton:{style:e=>({icon:qx.theme.tangible.Image.URLS[e.checked?"radiobutton-checked":"radiobutton-unchecked"],paddingTop:2,textColor:e.disabled?"text-disabled-on-surface":e.invalid?"error":e.checked?"primary":"text-primary-on-surface",gap:6})},"radiobutton/icon":{style:e=>({decorator:"radiobutton",padding:[2,0,0,0]})},"form-renderer-label":{include:"label",style:()=>({paddingTop:3})},checkbox:{alias:"atom",style:e=>({icon:qx.theme.tangible.Image.URLS[e.checked?"checkbox-checked":e.undetermined?"checkbox-undetermined":"checkbox-blank"],textColor:e.disabled?"text-disabled-on-surface":e.invalid?"error":e.checked?"primary":"text-primary-on-surface",gap:6})},"checkbox/icon":{style:e=>({decorator:"checkbox",padding:0})},spinner:{style:e=>({textColor:e.disabled?"text-disabled-on-surface":void 0})},"spinner/textfield":"textfield","spinner/upbutton":{alias:"combobox/button",include:"combobox/button",style:e=>({icon:qx.theme.tangible.Image.URLS["arrow-up-small"],decorator:void 0,width:12,height:6,padding:[-1,0,0,0]})},"spinner/downbutton":{alias:"combobox/button",include:"combobox/button",style:e=>({icon:qx.theme.tangible.Image.URLS["arrow-down-small"],decorator:void 0,width:12,height:6,padding:[-1,0,0,0]})},selectbox:"textfield","selectbox/atom":"atom","selectbox/popup":"popup","selectbox/list":{alias:"list",include:"list",style:()=>({decorator:void 0})},"selectbox/arrow":{include:"image",style:e=>({source:qx.theme.tangible.Image.URLS["arrow-down"],paddingRight:0,paddingLeft:2,paddingTop:-3})},"checked-selectbox":"selectbox","checked-selectbox/allNone":{include:"button",style:e=>({padding:[2,10],textColor:"text-on-primary"})},"checked-selectbox/tag":"tag",tag:{alias:"button",include:"button",style:e=>({padding:[1,7],margin:0,decorator:"tag"})},combobox:{},"combobox/button":{alias:"button-frame",include:"button-frame",style(e){var t="material-textfield";if(e.focused){t+="-focused";e.invalid&&(t+="-invalid")}else e.invalid?t+="-invalid":e.disabled&&(t+="-disabled");return{backgroundColor:void 0,icon:qx.theme.tangible.Image.URLS["arrow-down"],decorator:t,padding:[0,0,0,0]}}},"combobox/popup":"popup","combobox/list":{alias:"list",style:e=>({paddingRight:2})},"combobox/textfield":"textfield",datefield:"textfield","datefield/button":{alias:"combobox/button",include:"combobox/button",style:e=>({icon:"@MaterialIcons/calendar_today/14",padding:[0,0,0,0],backgroundColor:void 0,decorator:void 0,width:16})},"datefield/textfield":{alias:"textfield",include:"textfield",style:e=>({decorator:void 0,padding:0})},"datefield/list":{alias:"datechooser",include:"datechooser",style:e=>({decorator:void 0})},list:{alias:"scrollarea",include:"framebox"},listitem:{alias:"atom",style(e){var t=[3,5,3,5];e.lead&&(t=[2,4,2,4]);e.dragover&&(t[2]-=2);return{gap:4,padding:t,backgroundColor:e.selected?e.disabled?"primary-disabled":"primary":"transparent",textColor:e.selected?"text-on-primary":"text-primary-on-surface",decorator:e.lead?"lead-item":e.dragover?"dragover":void 0,opacity:e.drag?.5:void 0}}},slider:{style(e){var t,r;if(e.disabled){t="border-disabled";r=[1,2]}else if(e.invalid){t="border-invalid";r=[1,2]}else if(e.focused){t="border-focused";r=[1,2]}else{r=[1,2];t="border"}return{decorator:t,padding:r}}},"slider/knob":"scrollbar/slider/knob",groupbox:{},"groupbox/legend":{alias:"atom",style:e=>({textColor:e.invalid?"error":void 0,padding:5,margin:4,font:"bold"})},"groupbox/frame":{style:e=>({backgroundColor:"surface",padding:[6,9],margin:[18,2,2,2],decorator:"box"})},"check-groupbox":"groupbox","check-groupbox/legend":{alias:"checkbox",include:"checkbox",style:e=>({textColor:e.invalid?"error":void 0,padding:5,margin:4,font:"bold"})},"radio-groupbox":"groupbox","radio-groupbox/legend":{alias:"radiobutton",include:"radiobutton",style:e=>({textColor:e.invalid?"error":void 0,padding:5,margin:4,font:"bold"})},"tree-folder/open":{include:"image",style:e=>({source:e.opened?qx.theme.tangible.Image.URLS["tree-minus"]:qx.theme.tangible.Image.URLS["tree-plus"],textColor:e.selected?"text-on-primary":"text-primary-on-surface"})},"tree-folder":{style:e=>({padding:[2,8,2,5],icon:e.opened?qx.theme.tangible.Image.URLS["folder-open"]:qx.theme.tangible.Image.URLS.folder,backgroundColor:e.selected?e.disables?"primary-disabled":"primary-selected":"surface",textColor:e.selected?"text-on-primary":"text-disabled-on-primary",iconOpened:qx.theme.tangible.Image.URLS["folder-open"],opacity:e.drag?.5:void 0})},"tree-folder/icon":{include:"image",style:e=>({padding:[0,4,0,0],textColor:e.selected?"text-icon-on-primary":"text-primary-on-surface"})},"tree-folder/label":{style:e=>({padding:[1,2],textColor:e.selected?"text-on-primary":"text-primary-on-surface"})},"tree-file":{include:"tree-folder",alias:"tree-folder",style:e=>({icon:qx.theme.tangible.Image.URLS.file})},tree:{include:"list",alias:"list",style:e=>({contentPadding:[4,1],padding:1})},window:{style:e=>({contentPadding:[10,10,10,10],backgroundColor:"surface",decorator:e.maximized?void 0:e.active?"window-active":"window"})},"window-resize-frame":"resize-frame","window/pane":{style:e=>({padding:10})},"window/captionbar":{style:e=>({backgroundColor:e.active?"primary-selected":"primary",margin:0,padding:8,decorator:"window-caption"})},"window/icon":{style:e=>({marginRight:4,marginTop:2})},"window/title":{style:e=>({cursor:"default",font:e.active?"bold":"default",textColor:(e.active,"text-on-primary"),marginRight:20,marginLeft:4,alignY:"middle"})},"window/minimize-button":{alias:"button",style:e=>({icon:qx.theme.tangible.Image.URLS["window-minimize"]+"/18",padding:0,cursor:e.disabled?void 0:"pointer",textColor:"text-on-primary"})},"window/restore-button":{alias:"button",style:e=>({icon:qx.theme.tangible.Image.URLS["window-restore"]+"/18",padding:0,cursor:e.disabled?void 0:"pointer",textColor:"text-on-primary"})},"window/maximize-button":{alias:"button",style:e=>({icon:qx.theme.tangible.Image.URLS["window-maximize"]+"/18",padding:0,cursor:e.disabled?void 0:"pointer",textColor:"text-on-primary"})},"window/close-button":{alias:"button",style:e=>({icon:qx.theme.tangible.Image.URLS["window-close"]+"/18",padding:0,cursor:e.disabled?void 0:"pointer",textColor:"text-on-primary"})},"window/statusbar":{style:e=>({decorator:"statusbar",padding:[2,6]})},"window/statusbar-text":"label",datechooser:{style:e=>({decorator:"main",minWidth:220})},"datechooser/navigation-bar":{style:e=>({backgroundColor:"surface",textColor:e.disabled?"text-disabled-on-surface":e.invalid?"error":void 0,padding:[2,10]})},"datechooser/last-year-button-tooltip":"tooltip","datechooser/last-month-button-tooltip":"tooltip","datechooser/next-year-button-tooltip":"tooltip","datechooser/next-month-button-tooltip":"tooltip","datechooser/last-year-button":"datechooser/button","datechooser/last-month-button":"datechooser/button","datechooser/next-year-button":"datechooser/button","datechooser/next-month-button":"datechooser/button","datechooser/button/icon":{},"datechooser/button":{style(e){var t={width:17,show:"icon",cursor:e.disabled?void 0:"pointer"};e.lastYear?t.icon=qx.theme.tangible.Image.URLS["arrow-rewind"]:e.lastMonth?t.icon=qx.theme.tangible.Image.URLS["arrow-left"]:e.nextYear?t.icon=qx.theme.tangible.Image.URLS["arrow-forward"]:e.nextMonth&&(t.icon=qx.theme.tangible.Image.URLS["arrow-right"]);return t}},"datechooser/month-year-label":{style:e=>({font:"bold",textAlign:"center"})},"datechooser/date-pane":{style:e=>({decorator:"datechooser-date-pane",backgroundColor:"surface"})},"datechooser/weekday":{style:e=>({decorator:"datechooser-weekday",font:e.weekend?"bold":"default",textAlign:"center",textColor:e.disabled?"text-disabled-on-surface":"text-primary-on-surface",backgroundColor:"surface",paddingTop:2})},"datechooser/day":{style:e=>({textAlign:"center",decorator:e.today?"main":void 0,textColor:e.disabled?"text-disabled-on-surface":e.selected?"text-on-primary":e.otherMonth?"text-disabled-on-surface":void 0,backgroundColor:e.selected?e.disabled?"primary-disabled":"primary":void 0,padding:e.today?[1,3]:[2,4]})},"datechooser/week":{style:e=>({textAlign:"center",textColor:"text-primary-on-surface",padding:[2,4],decorator:e.header?"datechooser-week-header":"datechooser-week"})},progressbar:{style:e=>({decorator:"progressbar",padding:1,backgroundColor:"surface",width:200,height:20})},"progressbar/progress":{style:e=>({backgroundColor:e.disabled?"primary-disabled":"primary"})},toolbar:{style:e=>({backgroundColor:"primary",padding:0})},"toolbar/part":{style:e=>({margin:[0,15]})},"toolbar/part/container":{},"toolbar/part/handle":{},"toolbar-separator":{style:e=>({decorator:void 0,margin:[7,0],width:4})},"toolbar-button":{alias:"atom",style(e){var t=[7,10];(e.left||e.middle||e.right)&&(t=[7,3]);var r="toolbar-button";(e.hovered||e.pressed||e.checked)&&(r+="-hovered");return{cursor:e.disabled?void 0:"pointer",decorator:r,textColor:"text-on-primary",margin:t,padding:[3,5]}}},"toolbar-menubutton":{alias:"toolbar-button",include:"toolbar-button",style:e=>({showArrow:!0})},"toolbar-menubutton/arrow":{alias:"image",include:"image",style:e=>({source:qx.theme.tangible.Image.URLS["arrow-down"],cursor:e.disabled?void 0:"pointer",padding:0,textColor:"text-on-primary",marginLeft:2})},"toolbar-splitbutton":{},"toolbar-splitbutton/button":{alias:"toolbar-button",include:"toolbar-button",style(e){var t=[7,0,7,10];(e.left||e.middle||e.right)&&(t=[7,0,7,3]);var r="toolbar-button";(e.hovered||e.pressed||e.focused||e.checked)&&(r+="-hovered");return{decorator:r+="-left",margin:t}}},"toolbar-splitbutton/arrow":{alias:"toolbar-button",include:"toolbar-button",style(e){var t=[7,10,7,0];(e.left||e.middle||e.right)&&(t=[7,3,7,0]);var r="toolbar-button";(e.hovered||e.pressed||e.focused||e.checked)&&(r+="-hovered");r+="-right";return{icon:qx.theme.tangible.Image.URLS["arrow-down"],decorator:r,margin:t}}},tabview:{},"tabview/bar":{alias:"slidebar",style(e){var t=0,r=0,i=0,n=0;e.barTop?i-=1:e.barBottom?t-=1:e.barRight?n-=1:r-=1;return{marginBottom:i,marginTop:t,marginLeft:n,marginRight:r}}},"tabview/bar/button-forward":{include:"slidebar/button-forward",alias:"slidebar/button-forward",style:e=>e.barTop?{marginTop:4,marginBottom:2,decorator:null}:e.barBottom?{marginTop:2,marginBottom:4,decorator:null}:e.barLeft?{marginLeft:4,marginRight:2,decorator:null}:{marginLeft:2,marginRight:4,decorator:null}},"tabview/bar/button-backward":{include:"slidebar/button-backward",alias:"slidebar/button-backward",style:e=>e.barTop?{marginTop:4,marginBottom:2,decorator:null}:e.barBottom?{marginTop:2,marginBottom:4,decorator:null}:e.barLeft?{marginLeft:4,marginRight:2,decorator:null}:{marginLeft:2,marginRight:4,decorator:null}},"tabview/pane":{style(e){var t,r=0,i=0,n=0,o=0;if(e.barTop){r=-1;t="main-top"}else if(e.barBottom){i=-1;t="main-bottom"}else if(e.barLeft){n=-1;t="main-left"}else{o=-1;t="main-right"}return{marginLeft:n,marginRight:o,marginTop:r,marginBottom:i,padding:10,decorator:t,backgroundColor:"surface"}}},"tabview-page":"widget","tabview-page/button":{style(e){var t,r;e.barTop||e.barBottom?r=[8,16,8,13]:e.barRight?r=[8,8,8,12]:e.barLeft&&(r=[8,8,8,8]);if(e.checked)if(e.barTop){t="tabview-page-button-top";r[2]-=2}else if(e.barBottom){t="tabview-page-button-bottom";r[0]-=2}else if(e.barRight){t="tabview-page-button-right";r[3]-=2}else if(e.barLeft){t="tabview-page-button-left";r[1]-=2}return{zIndex:e.checked?10:5,decorator:t,textColor:e.disabled?"text-disabled-on-surface":"text-primary-on-surface",font:e.checked?"bold":void 0,padding:r,cursor:"pointer"}}},"tabview-page/button/label":{alias:"label",style:e=>({padding:[0,1,0,1]})},"tabview-page/button/icon":"image","tabview-page/button/close-button":{alias:"atom",style:e=>({cursor:e.disabled?void 0:"pointer",icon:qx.theme.tangible.Image.URLS["tabview-close"]})},colorpopup:{alias:"popup",include:"popup",style:e=>({padding:5})},"colorpopup/field":{style:e=>({margin:2,width:14,height:14,backgroundColor:"surface",decorator:"main"})},"colorpopup/selector-button":"button","colorpopup/auto-button":"button","colorpopup/preview-pane":"groupbox","colorpopup/current-preview":{style:e=>({height:20,padding:4,marginLeft:4,decorator:"main",allowGrowX:!0})},"colorpopup/selected-preview":{style:e=>({height:20,padding:4,marginRight:4,decorator:"main",allowGrowX:!0})},"colorpopup/colorselector-okbutton":{alias:"button",include:"button",style:e=>({icon:"icon/16/actions/dialog-ok.png"})},"colorpopup/colorselector-cancelbutton":{alias:"button",include:"button",style:e=>({icon:"icon/16/actions/dialog-cancel.png"})},colorselector:"widget","colorselector/control-bar":"widget","colorselector/visual-pane":"groupbox","colorselector/control-pane":"widget","colorselector/preset-grid":"widget","colorselector/colorbucket":{style:e=>({decorator:"main",width:16,height:16})},"colorselector/preset-field-set":"groupbox","colorselector/input-field-set":{include:"groupbox",alias:"groupbox",style:()=>({paddingTop:12})},"colorselector/preview-field-set":{include:"groupbox",alias:"groupbox",style:()=>({paddingTop:12})},"colorselector/hex-field-composite":"widget","colorselector/hex-field":"textfield","colorselector/rgb-spinner-composite":"widget","colorselector/rgb-spinner-red":"spinner","colorselector/rgb-spinner-green":"spinner","colorselector/rgb-spinner-blue":"spinner","colorselector/hsb-spinner-composite":"widget","colorselector/hsb-spinner-hue":"spinner","colorselector/hsb-spinner-saturation":"spinner","colorselector/hsb-spinner-brightness":"spinner","colorselector/preview-content-old":{style:e=>({decorator:"main",width:50,height:25})},"colorselector/preview-content-new":{style:e=>({decorator:"main",backgroundColor:"surface",width:50,height:25})},"colorselector/hue-saturation-field":{style:e=>({decorator:"main",margin:5})},"colorselector/brightness-field":{style:e=>({decorator:"main",margin:[5,7]})},"colorselector/hue-saturation-pane":"widget","colorselector/hue-saturation-handle":"widget","colorselector/brightness-pane":"widget","colorselector/brightness-handle":"widget","app-header":{style:e=>({font:"headline",textColor:"text-on-primary",backgroundColor:"primary",padding:[8,12]})},"app-header-label":{style:e=>({paddingTop:5})},"app-splitpane":{alias:"splitpane",style:e=>({padding:[0,10,10,10]})},"list-search-highlight":{style:e=>({backgroundColor:"rgba(255, 251, 0, 0.53)",textDecorationStyle:"dotted",textDecorationLine:"underline"})}}});qx.theme.tangible.Appearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qxl.datagrid.theme.tangible.MAppearance",{appearances:{"qxl-datagrid":"widget","qxl-datagrid/scrollbar-x":"scrollbar","qxl-datagrid/scrollbar-y":"scrollbar","qxl-datagrid-header":"table-scroller/header","qxl-datagrid-header-cell":"widget","qxl-datagrid-widgetpane":{style:e=>({backgroundColor:"transparent"})},"qxl-datagrid-cell":{style(e){let t,r="transparent";e.selected&&(r="qxl-datagrid-row-background-selected");e.focused&&(t="qxl-datagrid-cell-focused");return{backgroundColor:r,decorator:t}}},"qxl-datagrid-row":{style(e){let t="qxl-datagrid-row-background-even";e.selected?t="qxl-datagrid-row-background-selected":e.odd&&(t="qxl-datagrid-row-background-odd");let r="qxl-datagrid-row";e.focused&&(r+="-focused");return{backgroundColor:t,decorator:r}}}}});qxl.datagrid.theme.tangible.MAppearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.tangible.Appearance":{require:!0},"qxl.datagrid.theme.tangible.MAppearance":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qxl.datagrid.demo.theme.tangible.Appearance",{extend:qx.theme.tangible.Appearance,include:[qxl.datagrid.theme.tangible.MAppearance]});qxl.datagrid.demo.theme.tangible.Appearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qxl.datagrid.demo.theme.tangible.Color":{require:!0},"qxl.datagrid.demo.theme.tangible.Decoration":{require:!0},"qx.theme.tangible.Font":{require:!0},"qx.theme.icon.Tango":{require:!0},"qxl.datagrid.demo.theme.tangible.Appearance":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qxl.datagrid.demo.theme.tangible.Theme",{meta:{color:qxl.datagrid.demo.theme.tangible.Color,decoration:qxl.datagrid.demo.theme.tangible.Decoration,font:qx.theme.tangible.Font,icon:qx.theme.icon.Tango,appearance:qxl.datagrid.demo.theme.tangible.Appearance}});qxl.datagrid.demo.theme.tangible.Theme.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.theme.tangible.Image",{extend:qx.core.Object,statics:{URLS:{blank:"qx/static/blank.png","checkbox-checked":"@MaterialIcons/check_box/15","checkbox-blank":"@MaterialIcons/check_box_outline_blank/15","checkbox-undetermined":"@MaterialIcons/indeterminate_check_box/15","radiobutton-checked":"@MaterialIcons/radio_button_on/15","radiobutton-unchecked":"@MaterialIcons/radio_button_off/15","window-minimize":"@MaterialIcons/keyboard_arrow_down","window-maximize":"@MaterialIcons/fullscreen","window-restore":"@MaterialIcons/fullscreen_exit","window-close":"@MaterialIcons/close","cursor-copy":"decoration/cursors/copy.gif","cursor-move":"decoration/cursors/move.gif","cursor-alias":"decoration/cursors/alias.gif","cursor-nodrop":"decoration/cursors/nodrop.gif","arrow-right":"@MaterialIcons/keyboard_arrow_right/18","arrow-left":"@MaterialIcons/keyboard_arrow_left/18","arrow-up":"@MaterialIcons/keyboard_arrow_up/18","arrow-down":"@MaterialIcons/keyboard_arrow_down/18","arrow-forward":"@MaterialIcons/fast_forward/18","arrow-rewind":"@MaterialIcons/fast_rewind/18","arrow-down-small":"@MaterialIcons/keyboard_arrow_down/13","arrow-up-small":"@MaterialIcons/keyboard_arrow_up/13","arrow-up-invert":"@MaterialIcons/keyboard_arrow_up/18","arrow-down-invert":"@MaterialIcons/keyboard_arrow_down/18","arrow-right-invert":"@MaterialIcons/keyboard_arrow_right/18","knob-horizontal":"@MaterialIcons/drag_indicator/12","knob-vertical":"@MaterialIcons/drag_handle/12","tree-minus":"@MaterialIcons/arrow_drop_down/16","tree-plus":"@MaterialIcons/arrow_right/16","select-column-order":"@MaterialIcons/reorder/15","table-ascending":"@MaterialIcons/keyboard_arrow_up/14","table-descending":"@MaterialIcons/keyboard_arrow_down/14","folder-open":"@MaterialIcons/folder_open/15",folder:"@MaterialIcons/folder/15",file:"@MaterialIcons/insert_drive_file/15","menu-checkbox":"@MaterialIcons/check_box_outline_blank/15","menu-checkbox-checked":"@MaterialIcons/check_box/15","menu-radiobutton-checked":"@MaterialIcons/radio_button_checked/15","menu-radiobutton":"@MaterialIcons/radio_button_unchecked/15","tabview-close":"decoration/tabview/close.gif"}}});qx.theme.tangible.Image.$$dbClassInfo=e}();qx.$$packageData[0]={locales:{C:{alternateQuotationEnd:"’",alternateQuotationStart:"‘",quotationEnd:"”",quotationStart:"“",cldr_am:"AM",cldr_pm:"PM",cldr_date_format_full:"EEEE, MMMM d, y",cldr_date_format_long:"MMMM d, y",cldr_date_format_medium:"MMM d, y",cldr_date_format_short:"M/d/yy",cldr_date_time_format_Ed:"d E",cldr_date_time_format_Hm:"HH:mm",cldr_date_time_format_Hms:"HH:mm:ss",cldr_date_time_format_M:"L",cldr_date_time_format_MEd:"E, M/d",cldr_date_time_format_MMM:"LLL",cldr_date_time_format_MMMEd:"E, MMM d",cldr_date_time_format_MMMd:"MMM d",cldr_date_time_format_Md:"M/d",cldr_date_time_format_d:"d",cldr_date_time_format_hm:"h:mm a",cldr_date_time_format_hms:"h:mm:ss a",cldr_date_time_format_ms:"mm:ss",cldr_date_time_format_y:"y",cldr_date_time_format_yM:"M/y",cldr_date_time_format_yMEd:"E, M/d/y",cldr_date_time_format_yMMM:"MMM y",cldr_date_time_format_yMMMEd:"E, MMM d, y",cldr_date_time_format_yMMMd:"MMM d, y",cldr_date_time_format_yMd:"M/d/y",cldr_date_time_format_yQ:null,cldr_date_time_format_yQQQ:"QQQ y",cldr_day_format_abbreviated_fri:"Fri",cldr_day_format_abbreviated_mon:"Mon",cldr_day_format_abbreviated_sat:"Sat",cldr_day_format_abbreviated_sun:"Sun",cldr_day_format_abbreviated_thu:"Thu",cldr_day_format_abbreviated_tue:"Tue",cldr_day_format_abbreviated_wed:"Wed",cldr_day_format_wide_fri:"Friday",cldr_day_format_wide_mon:"Monday",cldr_day_format_wide_sat:"Saturday",cldr_day_format_wide_sun:"Sunday",cldr_day_format_wide_thu:"Thursday",cldr_day_format_wide_tue:"Tuesday",cldr_day_format_wide_wed:"Wednesday","cldr_day_stand-alone_narrow_fri":"Fri","cldr_day_stand-alone_narrow_mon":"Mon","cldr_day_stand-alone_narrow_sat":"Sat","cldr_day_stand-alone_narrow_sun":"Sun","cldr_day_stand-alone_narrow_thu":"Thu","cldr_day_stand-alone_narrow_tue":"Tue","cldr_day_stand-alone_narrow_wed":"Wed",cldr_month_format_abbreviated_1:"Jan",cldr_month_format_abbreviated_2:"Feb",cldr_month_format_abbreviated_3:"Mar",cldr_month_format_abbreviated_4:"Apr",cldr_month_format_abbreviated_5:"May",cldr_month_format_abbreviated_6:"Jun",cldr_month_format_abbreviated_7:"Jul",cldr_month_format_abbreviated_8:"Aug",cldr_month_format_abbreviated_9:"Sep",cldr_month_format_abbreviated_10:"Oct",cldr_month_format_abbreviated_11:"Nov",cldr_month_format_abbreviated_12:"Dec",cldr_month_format_wide_1:"January",cldr_month_format_wide_2:"February",cldr_month_format_wide_3:"March",cldr_month_format_wide_4:"April",cldr_month_format_wide_5:"May",cldr_month_format_wide_6:"June",cldr_month_format_wide_7:"July",cldr_month_format_wide_8:"August",cldr_month_format_wide_9:"September",cldr_month_format_wide_10:"October",cldr_month_format_wide_11:"November",cldr_month_format_wide_12:"December","cldr_month_stand-alone_narrow_1":"Jan","cldr_month_stand-alone_narrow_2":"Feb","cldr_month_stand-alone_narrow_3":"Mar","cldr_month_stand-alone_narrow_4":"Apr","cldr_month_stand-alone_narrow_5":"May","cldr_month_stand-alone_narrow_6":"Jun","cldr_month_stand-alone_narrow_7":"Jul","cldr_month_stand-alone_narrow_8":"Aug","cldr_month_stand-alone_narrow_9":"Sep","cldr_month_stand-alone_narrow_10":"Oct","cldr_month_stand-alone_narrow_11":"Nov","cldr_month_stand-alone_narrow_12":"Dec",cldr_number_decimal_separator:".",cldr_number_group_separator:",",cldr_number_percent_format:"#,##0%",day:["day"],dayperiod:["AM/PM","am/pm"],era:["era"],hour:["hour"],minute:["minute"],month:["month"],second:["second"],week:["week"],weekday:["day of the week"],year:["year"],zone:["time zone"]},en:{alternateQuotationEnd:"’",alternateQuotationStart:"‘",quotationEnd:"”",quotationStart:"“",cldr_am:"AM",cldr_pm:"PM",cldr_date_format_full:"EEEE, MMMM d, y",cldr_date_format_long:"MMMM d, y",cldr_date_format_medium:"MMM d, y",cldr_date_format_short:"M/d/yy",cldr_date_time_format_Ed:"d E",cldr_date_time_format_Hm:"HH:mm",cldr_date_time_format_Hms:"HH:mm:ss",cldr_date_time_format_M:"L",cldr_date_time_format_MEd:"E, M/d",cldr_date_time_format_MMM:"LLL",cldr_date_time_format_MMMEd:"E, MMM d",cldr_date_time_format_MMMd:"MMM d",cldr_date_time_format_Md:"M/d",cldr_date_time_format_d:"d",cldr_date_time_format_hm:"h:mm a",cldr_date_time_format_hms:"h:mm:ss a",cldr_date_time_format_ms:"mm:ss",cldr_date_time_format_y:"y",cldr_date_time_format_yM:"M/y",cldr_date_time_format_yMEd:"E, M/d/y",cldr_date_time_format_yMMM:"MMM y",cldr_date_time_format_yMMMEd:"E, MMM d, y",cldr_date_time_format_yMMMd:"MMM d, y",cldr_date_time_format_yMd:"M/d/y",cldr_date_time_format_yQ:null,cldr_date_time_format_yQQQ:"QQQ y",cldr_day_format_abbreviated_fri:"Fri",cldr_day_format_abbreviated_mon:"Mon",cldr_day_format_abbreviated_sat:"Sat",cldr_day_format_abbreviated_sun:"Sun",cldr_day_format_abbreviated_thu:"Thu",cldr_day_format_abbreviated_tue:"Tue",cldr_day_format_abbreviated_wed:"Wed",cldr_day_format_wide_fri:"Friday",cldr_day_format_wide_mon:"Monday",cldr_day_format_wide_sat:"Saturday",cldr_day_format_wide_sun:"Sunday",cldr_day_format_wide_thu:"Thursday",cldr_day_format_wide_tue:"Tuesday",cldr_day_format_wide_wed:"Wednesday","cldr_day_stand-alone_narrow_fri":"Fri","cldr_day_stand-alone_narrow_mon":"Mon","cldr_day_stand-alone_narrow_sat":"Sat","cldr_day_stand-alone_narrow_sun":"Sun","cldr_day_stand-alone_narrow_thu":"Thu","cldr_day_stand-alone_narrow_tue":"Tue","cldr_day_stand-alone_narrow_wed":"Wed",cldr_month_format_abbreviated_1:"Jan",cldr_month_format_abbreviated_2:"Feb",cldr_month_format_abbreviated_3:"Mar",cldr_month_format_abbreviated_4:"Apr",cldr_month_format_abbreviated_5:"May",cldr_month_format_abbreviated_6:"Jun",cldr_month_format_abbreviated_7:"Jul",cldr_month_format_abbreviated_8:"Aug",cldr_month_format_abbreviated_9:"Sep",cldr_month_format_abbreviated_10:"Oct",cldr_month_format_abbreviated_11:"Nov",cldr_month_format_abbreviated_12:"Dec",cldr_month_format_wide_1:"January",cldr_month_format_wide_2:"February",cldr_month_format_wide_3:"March",cldr_month_format_wide_4:"April",cldr_month_format_wide_5:"May",cldr_month_format_wide_6:"June",cldr_month_format_wide_7:"July",cldr_month_format_wide_8:"August",cldr_month_format_wide_9:"September",cldr_month_format_wide_10:"October",cldr_month_format_wide_11:"November",cldr_month_format_wide_12:"December","cldr_month_stand-alone_narrow_1":"Jan","cldr_month_stand-alone_narrow_2":"Feb","cldr_month_stand-alone_narrow_3":"Mar","cldr_month_stand-alone_narrow_4":"Apr","cldr_month_stand-alone_narrow_5":"May","cldr_month_stand-alone_narrow_6":"Jun","cldr_month_stand-alone_narrow_7":"Jul","cldr_month_stand-alone_narrow_8":"Aug","cldr_month_stand-alone_narrow_9":"Sep","cldr_month_stand-alone_narrow_10":"Oct","cldr_month_stand-alone_narrow_11":"Nov","cldr_month_stand-alone_narrow_12":"Dec",cldr_number_decimal_separator:".",cldr_number_group_separator:",",cldr_number_percent_format:"#,##0%",day:["day"],dayperiod:["AM/PM","am/pm"],era:["era"],hour:["hour"],minute:["minute"],month:["month"],second:["second"],week:["week"],weekday:["day of the week"],year:["year"],zone:["time zone"]}},resources:{"qx/icon/Tango/16/actions/dialog-cancel.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/dialog-ok.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/view-refresh.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/window-close.png":[16,16,"png","qx"],"qx/icon/Tango/16/apps/office-calendar.png":[16,16,"png","qx"],"qx/icon/Tango/16/mimetypes/text-plain.png":[16,16,"png","qx"],"qx/icon/Tango/16/places/folder-open.png":[16,16,"png","qx"],"qx/icon/Tango/16/places/folder.png":[16,16,"png","qx"],"qx/static/blank.gif":[1,1,"gif","qx"],"qx/static/blank.png":[1,1,"png","qx"],"qxl/datagrid/demo/tree/dummy-tree-data.json":[null,null,"json","qxl.datagrid"],"qx/font/Roboto/roboto-v18-latin_latin-ext-regular.woff":[null,null,"woff","qx"],"qx/font/Roboto/roboto-mono-v6-latin_latin-ext-regular.woff":[null,null,"woff","qx"],"qx/iconfont/MaterialIcons/materialicons-v126.woff":[null,null,"woff","qx"]},translations:{en:{"":"Project-Id-Version: qooxdoo framework\nReport-Msgid-Bugs-To: \nPOT-Creation-Date: 2008-05-19 10:11+0200\nPO-Revision-Date: 2007-01-23 17:53+0100\nLast-Translator: Automatically generated\nLanguage-Team: none\nMIME-Version: 1.0\nContent-Type: text/plain; charset=ASCII\nContent-Transfer-Encoding: 8bit\nPlural-Forms: nplurals=2; plural=(n != 1);\n"}}};qx.$$loader.init(); \ No newline at end of file +if(![0,1,2,3].includes(e)||![0,1,2,3].includes(t))return;r.setNumFixedColumns(e);r.setNumFixedRows(t);const n=i.getSizesFor(12-2*e,12-2*t,2,2);this.assertArrayEquals([t>0?0:2,t>1?1:3,t>2?2:4],n.rows.map((e=>e.rowIndex)));this.assertTrue(n.rows[0].height==(t>0?1:3));this.assertTrue(n.rows[1].height==(t>1?2:4));this.assertTrue(n.rows[2].height==(t>2?3:5));this.assertArrayEquals([e>0?0:2,e>1?1:3,e>2?2:4],n.columns.map((e=>e.columnIndex)));this.assertTrue(n.columns[0].width==(e>0?1:3));this.assertTrue(n.columns[1].width==(e>1?2:4));this.assertTrue(n.columns[2].width==(e>2?3:5))};n(1,0);n(2,0);n(3,0);n(0,1);n(0,2);n(0,3);n(1,1);n(2,2);n(3,3)}}});qxl.datagrid.test.ui.GridSizeCalculator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.dev.unit.TestCase":{require:!0},"qxl.datagrid.demo.biggrid.DummyDataSource":{},"qxl.datagrid.ui.GridStyling":{},"qxl.datagrid.column.Columns":{},"qxl.datagrid.column.TextColumn":{},"qxl.datagrid.util.Labels":{},"qxl.datagrid.ui.GridSizeCalculator":{},"qxl.datagrid.ui.factory.HeaderWidgetFactory":{},"qxl.datagrid.ui.HeaderRows":{},"qxl.datagrid.ui.factory.SimpleWidgetFactory":{},"qxl.datagrid.ui.WidgetPane":{},"qxl.datagrid.ui.SelectionManager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.test.ui.DataGrid",{extend:qx.dev.unit.TestCase,members:{async testCellSizes(){let e=new qxl.datagrid.demo.biggrid.DummyDataSource(100,100),t=(new qxl.datagrid.ui.GridStyling).set({horizontalSpacing:0,verticalSpacing:0,minRowHeight:40}),r=new qxl.datagrid.column.Columns;for(let t=0;te.getSize()},n=new qxl.datagrid.ui.GridSizeCalculator(r,t,i);n.setAvailableSize(400,200,1,1);let o=new qxl.datagrid.ui.factory.HeaderWidgetFactory(r,"qxl-datagrid-header-cell"),a=new qxl.datagrid.ui.HeaderRows(n,o,e),s=new qxl.datagrid.ui.factory.SimpleWidgetFactory(r,"qxl-datagrid-cell"),l=new qxl.datagrid.ui.WidgetPane(n,s,e,new qxl.datagrid.ui.SelectionManager);a.updateWidgets();await l.updateWidgets();const u=(e,t)=>{this.assertArrayEquals(Object.keys(e).sort(),Object.keys(t).sort());for(let r in e)this.assertTrue(e[r]===t[r])};let c=o.getWidgets();this.assertTrue(void 0===c["0:0"]);this.assertTrue(void 0===c["0:12"]);this.assertTrue("B"===c["0:1"].getLabel());u(c["0:2"].getLayoutProperties(),{height:40,top:0,left:40,width:40});u(c["0:3"].getLayoutProperties(),{height:40,top:0,left:80,width:40});c=s.getWidgets();this.assertTrue(void 0===c["0:0"]);this.assertTrue(void 0===c["6:1"]);this.assertTrue("C2"===c["2:2"].getValue());u(c["2:2"].getLayoutProperties(),{top:40,height:40,left:40,width:40});u(c["3:3"].getLayoutProperties(),{top:80,height:40,left:80,width:40})}}});qxl.datagrid.test.ui.DataGrid.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.core.ISingleSelection",{events:{changeSelection:"qx.event.type.Data"},members:{getSelection:()=>!0,setSelection(e){return 1==arguments.length},resetSelection:()=>!0,isSelected(e){return 1==arguments.length},isSelectionEmpty:()=>!0,getSelectables(e){return 1==arguments.length}}});qx.ui.core.ISingleSelection.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MContentPadding",{properties:{contentPaddingTop:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPaddingRight:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPaddingBottom:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPaddingLeft:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPadding:{group:["contentPaddingTop","contentPaddingRight","contentPaddingBottom","contentPaddingLeft"],mode:"shorthand",themeable:!0}},members:{__P_71_0:{contentPaddingTop:"setPaddingTop",contentPaddingRight:"setPaddingRight",contentPaddingBottom:"setPaddingBottom",contentPaddingLeft:"setPaddingLeft"},__P_71_1:{contentPaddingTop:"setThemedPaddingTop",contentPaddingRight:"setThemedPaddingRight",contentPaddingBottom:"setThemedPaddingBottom",contentPaddingLeft:"setThemedPaddingLeft"},__P_71_2:{contentPaddingTop:"resetPaddingTop",contentPaddingRight:"resetPaddingRight",contentPaddingBottom:"resetPaddingBottom",contentPaddingLeft:"resetPaddingLeft"},_applyContentPadding(e,t,r,i){var n=this._getContentPaddingTarget();if(null==e){n[this.__P_71_2[r]]()}else if("setThemed"==i||"resetThemed"==i){n[this.__P_71_1[r]](e)}else{n[this.__P_71_0[r]](e)}}}});qx.ui.core.MContentPadding.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.ISingleSelection":{require:!0},"qx.ui.core.MContentPadding":{require:!0},"qx.ui.tabview.Page":{},"qx.ui.container.SlideBar":{},"qx.ui.container.Stack":{},"qx.ui.form.RadioGroup":{},"qx.ui.layout.HBox":{},"qx.ui.layout.VBox":{},"qx.event.type.Event":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.tabview.TabView",{extend:qx.ui.core.Widget,implement:qx.ui.core.ISingleSelection,include:[qx.ui.core.MContentPadding],construct(e){qx.ui.core.Widget.constructor.call(this);this.__P_29_0={top:"barTop",right:"barRight",bottom:"barBottom",left:"barLeft"};this._createChildControl("bar");this._createChildControl("pane");var t=this.__P_29_1=this._createRadioGroupInstance();t.setWrap(!1);t.addListener("changeSelection",this._onChangeSelection,this);null!=e?this.setBarPosition(e):this.initBarPosition();this.getContentElement().setAttribute("role","tablist")},events:{changeSelection:"qx.event.type.Data",changeValue:"qx.event.type.Data"},properties:{appearance:{refine:!0,init:"tabview"},barPosition:{check:["left","right","top","bottom"],init:"top",apply:"_applyBarPosition"}},members:{__P_29_1:null,setValue(e){if(null===e){this.resetSelection();return null}if(e instanceof qx.ui.tabview.Page){this.setSelection([e]);return null}return new TypeError("Given argument is not null or a {qx.ui.tabview.Page}.")},getValue(){var e=this.getSelection();return e.length?e[0]:null},resetValue(){this.resetSelection()},_createChildControlImpl(e,t){var r;switch(e){case"bar":(r=new qx.ui.container.SlideBar).setZIndex(10);this._add(r);break;case"pane":(r=new qx.ui.container.Stack).setZIndex(5);this._add(r,{flex:1})}return r||qx.ui.tabview.TabView.superclass.prototype._createChildControlImpl.call(this,e)},_createRadioGroupInstance:()=>new qx.ui.form.RadioGroup,_getContentPaddingTarget(){return this.getChildControl("pane")},add(e){var t=e.getButton(),r=this.getChildControl("bar"),i=this.getChildControl("pane");e.exclude();r.add(t);i.add(e);this.__P_29_1.add(t);e.addState(this.__P_29_0[this.getBarPosition()]);e.addState("lastTab");var n=this.getChildren();n[0]==e?e.addState("firstTab"):n[n.length-2].removeState("lastTab");e.addListener("close",this._onPageClose,this)},addAt(e,t){var r=this.getChildren();if(null!=t&&t>r.length)throw new Error("Index should be less than : "+r.length);null==t&&(t=r.length);var i=e.getButton(),n=this.getChildControl("bar"),o=this.getChildControl("pane");e.exclude();n.addAt(i,t);o.addAt(e,t);this.__P_29_1.add(i);e.addState(this.__P_29_0[this.getBarPosition()]);t==(r=this.getChildren()).length-1&&e.addState("lastTab");r[0]==e?e.addState("firstTab"):r[r.length-2].removeState("lastTab");e.addListener("close",this._onPageClose,this)},remove(e){var t=this.getChildControl("pane"),r=this.getChildControl("bar"),i=e.getButton(),n=t.getChildren();if(this.getSelection()[0]==e){var o=n.indexOf(e);0==o?n[1]?this.setSelection([n[1]]):this.resetSelection():this.setSelection([n[o-1]])}r.remove(i);t.remove(e);this.__P_29_1.remove(i);e.removeState(this.__P_29_0[this.getBarPosition()]);if(e.hasState("firstTab")){e.removeState("firstTab");n[0]&&n[0].addState("firstTab")}if(e.hasState("lastTab")){e.removeState("lastTab");n.length>0&&n[n.length-1].addState("lastTab")}e.removeListener("close",this._onPageClose,this)},getChildren(){return this.getChildControl("pane").getChildren()},indexOf(e){return this.getChildControl("pane").indexOf(e)},getRadioGroup(){return this.__P_29_1},__P_29_0:null,_applyBarPosition(e,t){var r=this.getChildControl("bar"),i=this.getChildControl("pane"),n="left"==e||"right"==e,o="right"==e||"bottom"==e,a=n?qx.ui.layout.HBox:qx.ui.layout.VBox,s=this._getLayout();s&&s instanceof a||this._setLayout(s=new a);s.setReversed(o);r.setOrientation(n?"vertical":"horizontal");var l,u,c=this.getChildren();if(t){var h=this.__P_29_0[t];r.removeState(h);i.removeState(h);for(l=0,u=c.length;l{let r=(this.getSelection()[0]||null).getQxObjectId();e.setItem(this.classname+".lastPageId",r)}))},objects:{pgArrayDemo(){const e=new qx.ui.tabview.Page("Array Demo");e.setLayout(new qx.ui.layout.Grow);e.addListenerOnce("appear",(async()=>{let t=new qxl.datagrid.demo.array.ArrayDemo;e.add(t);await t.init()}));return e},pgTreeDemo(){const e=new qx.ui.tabview.Page("Tree Demo");e.setLayout(new qx.ui.layout.Grow);e.addListenerOnce("appear",(async()=>{let t=new qxl.datagrid.demo.tree.TreeDemo;e.add(t);await t.init()}));return e},pgBigGridDemo(){const e=new qx.ui.tabview.Page("Big Grid Demo");e.setLayout(new qx.ui.layout.Grow);e.addListenerOnce("appear",(async()=>{let t=new qxl.datagrid.demo.biggrid.BigGridDemo;e.add(t);await t.init()}));return e}}});qxl.datagrid.demo.Demo.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.ValueManager",{type:"abstract",extend:qx.core.Object,construct(){qx.core.Object.constructor.call(this);this._dynamic={}},members:{_dynamic:null,resolveDynamic(e){return this._dynamic[e]},isDynamic(e){return!!this._dynamic[e]},resolve(e){return e&&this._dynamic[e]?this._dynamic[e]:e},_setDynamic(e){this._dynamic=e},_getDynamic(){return this._dynamic}}});qx.util.ValueManager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.util.ValueManager":{require:!0},"qx.util.ColorUtil":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.theme.manager.Color",{type:"singleton",extend:qx.util.ValueManager,properties:{theme:{check:"Theme",nullable:!0,apply:"_applyTheme",event:"changeTheme"}},members:{_applyTheme(e){var t={};this._setDynamic(t);if(e){var r=e.colors;for(var i in r)t[i]||(t[i]=this.__P_92_0(r,i))}},__P_92_0(e,t){var r=e[t];if("string"==typeof r){if(!qx.util.ColorUtil.isCssString(r)){if(null!=e[r])return this.__P_92_0(e,r);throw new Error("Could not parse color: "+r)}return r}return r instanceof Array?qx.util.ColorUtil.rgbToRgbString(r):r instanceof Function?this.__P_92_0(e,r(t)):t},resolve(e){var t=this._dynamic,r=t[e];if(r)return r;var i=this.getTheme();return null!==i&&i.colors[e]?t[e]=this.__P_92_0(i.colors,e):e},isDynamic(e){var t=this._dynamic;if(e&&void 0!==t[e])return!0;var r=this.getTheme();if(null!==r&&e&&void 0!==r.colors[e]){t[e]=this.__P_92_0(r.colors,e);return!0}return!1}}});qx.theme.manager.Color.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.Engine":{construct:!0,require:!0},"qx.bom.client.Browser":{construct:!0,require:!0},"qx.lang.Type":{},"qx.ui.style.Stylesheet":{},"qx.Bootstrap":{},"qx.ui.decoration.Decorator":{},"qx.ui.decoration.IDecorator":{},"qx.lang.Object":{},"qx.util.AliasManager":{}},environment:{provided:[],required:{"engine.name":{construct:!0,className:"qx.bom.client.Engine"},"browser.documentmode":{construct:!0,className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.theme.manager.Decoration",{type:"singleton",extend:qx.core.Object,implement:[qx.core.IDisposable],statics:{CSS_CLASSNAME_PREFIX:"qx-"},construct(){qx.core.Object.constructor.call(this);this.__P_93_0=[];this.__P_93_1="mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9},properties:{theme:{check:"Theme",nullable:!0,apply:"_applyTheme",event:"changeTheme"}},members:{__P_93_2:null,__P_93_0:null,__P_93_1:!1,getCssClassName(e){var t=qx.theme.manager.Decoration.CSS_CLASSNAME_PREFIX;return qx.lang.Type.isString(e)?t+e:t+e.toHashCode()},addCssClass(e){var t=qx.ui.style.Stylesheet.getInstance(),r=e,i="."+(e=this.getCssClassName(e));if(t.hasRule(i))return e;qx.lang.Type.isString(r)&&(r=this.resolve(r));if(!r)throw new Error("Unable to resolve decorator '"+e+"'.");var n="",o=r.getStyles(!0);Object.keys(o).sort().forEach((function(e){if(qx.Bootstrap.isObject(o[e])){var r="",a=o[e],s=!1;for(var l in a){s=!0;r+=l+":"+a[l]+";"}var u=this.__P_93_1?i:i+(s?":":"");this.__P_93_0.push(u+e);t.addRule(u+e,r)}else n+=e+":"+o[e]+";"}),this);if(n){t.addRule(i,n);this.__P_93_0.push(i)}return e},removeAllCssClasses(){for(var e=0;e{void 0===o[t]&&(o[t]=e[t])}))}if(o.sources){o.sources.family&&o.family.indexOf(o.sources.family)<0&&o.family.unshift(o.sources.family);let t=o.family[0];e[t]||(e[t]={fontFaces:[]});let r={};e[t].fontFaces.forEach((e=>{let t=qx.bom.webfonts.WebFontLoader.createFontLookupKey(e.family,e.fontWeight,e.fontStyle);r[t]=e}));let i=qx.bom.webfonts.WebFontLoader.createFontLookupKey(o.sources.family,o.sources.fontWeight,o.sources.fontStyle);if(!r[i]){let r={fontFamily:o.sources.family,fontWeight:o.sources.fontWeight,fontStyle:o.sources.fontStyle};e[t].fontFaces.push(r)}}(o.css||o.fontFaces)&&t.push(o);var n=new(this.__P_94_1(o));o.comparisonString&&n.setComparisonString(o.comparisonString);r[i]=n;qx.Class.getProperties(qx.bom.Font).forEach((e=>{let t=o[e];void 0!==t&&n["set"+qx.lang.String.firstUp(e)](t)}));r[i].themed=!0}for(let e of t){let t=qx.bom.webfonts.WebFontLoader.getLoader(e.family[0],!0);["css","fontFaces","comparisonString","version"].forEach((r=>{e[r]&&t["set"+qx.lang.String.firstUp(r)](e[r])}));t.load()}for(let e in r){r[e].loadComplete()}return r},_applyTheme(e){let t=this._dynamic={};for(let e in t)if(t[e].themed){t[e].dispose();delete t[e]}if(e){var r=this._manifestFonts?Object.assign(e.fonts,this._manifestFonts):e.fonts;t=this.__P_94_0(r)}this._setDynamic(t)},__P_94_1:e=>e.fontFaces||e.css?qx.bom.webfonts.WebFont:qx.bom.Font,getManifestFonts(){return this._manifestFonts}},destruct(){this._disposeMap("_dynamic")}});qx.theme.manager.Font.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.util.AliasManager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.theme.manager.Icon",{type:"singleton",extend:qx.core.Object,properties:{theme:{check:"Theme",nullable:!0,apply:"_applyTheme",event:"changeTheme"}},members:{_applyTheme(e,t){var r=qx.util.AliasManager.getInstance();if(t)for(var i in t.aliases)r.remove(i);if(e)for(var i in e.aliases)r.add(i,e.aliases[i])}}});qx.theme.manager.Icon.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.lang.Array":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.theme.manager.Appearance",{type:"singleton",extend:qx.core.Object,construct(){qx.core.Object.constructor.call(this);this.__P_95_0={};this.__P_95_1={}},properties:{theme:{check:"Theme",nullable:!0,event:"changeTheme",apply:"_applyTheme"}},members:{__P_95_2:{},__P_95_0:null,__P_95_1:null,_applyTheme(){this.__P_95_1={};this.__P_95_0={}},__P_95_3(e,t,r,i){var n=t.appearances,o=n[e];if(!o){for(var a,s="/",l=[],u=e.split(s),c=qx.lang.Array.clone(u);!o&&u.length>0;){l.unshift(u.pop());if((o=n[u.join(s)])&&"string"==typeof(a=o.alias||o)){var h=a+s+l.join(s);return this.__P_95_3(h,t,r,c)}}for(var d=0;d0&&(s+=":"+u)}var h,d=this.__P_95_0;if(d[r.name]&&void 0!==d[r.name][s])return d[r.name][s];t||(t=this.__P_95_2);if(a.include||a.base){var f;a.include&&(f=this.styleFrom(a.include,t,r,i));var _=a.style(t,f);h={};if(a.base){var p=this.styleFrom(o,t,a.base,i);if(a.include)for(var m in p)f.hasOwnProperty(m)||_.hasOwnProperty(m)||(h[m]=p[m]);else for(var g in p)_.hasOwnProperty(g)||(h[g]=p[g])}if(a.include)for(var v in f)_.hasOwnProperty(v)||(h[v]=f[v]);for(var b in _)h[b]=_[b]}else h=a.style(t);d[r.name]||(d[r.name]={});return d[r.name][s]=h||null}}});qx.theme.manager.Appearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.Theme",{statics:{define(e,t){if(!t)t={};t.include=this.__P_3_0(t.include);t.patch=this.__P_3_0(t.patch);var r={$$type:"Theme",name:e,title:t.title,toString:this.genericToString};t.extend&&(r.supertheme=t.extend);r.basename=qx.Bootstrap.createNamespace(e,r);this.__P_3_1(r,t);this.__P_3_2(r,t);this.$$registry[e]=r;for(var i=0,n=(o=t.include).length;ie?qx.Bootstrap.isArray(e)?e:[e]:[],__P_3_2(e,t){var r=t.aliases||{};t.extend&&t.extend.aliases&&qx.Bootstrap.objectMergeWith(r,t.extend.aliases,!1);e.aliases=r},getAll(){return this.$$registry},getByName(e){return this.$$registry[e]},isDefined(e){return void 0!==this.getByName(e)},getTotalNumber(){return qx.Bootstrap.objectGetLength(this.$$registry)},genericToString(){return"[Theme "+this.name+"]"},__P_3_3(e){for(var t=0,r=this.__P_3_4,i=r.length;t1)throw new Error("You can only define one theme category per file! Invalid theme: "+e)}if(t.meta){var l;for(var i in t.meta){l=t.meta[i];if(void 0===this.__P_3_6[i])throw new Error('The key "'+i+'" is not allowed inside a meta theme block.');if(typeof l!==this.__P_3_6[i])throw new Error('The type of the key "'+i+'" inside the meta block is wrong.');if("object"!=typeof l||null===l||"Theme"!==l.$$type)throw new Error('The content of a meta theme must reference to other themes. The value for "'+i+'" in theme "'+e+'" is invalid: '+l)}}if(t.extend&&"Theme"!==t.extend.$$type)throw new Error('Invalid extend in theme "'+e+'": '+t.extend);if(t.include)for(o=0,a=t.include.length;on.left&&en.top&&t{if(this.__P_159_2){qx.event.Idle.getInstance().removeListener("interval",this.__P_159_2);this.__P_159_2=null}}))}this._place(i)},placeToPoint(e){var t={left:e.left,top:e.top,right:e.left,bottom:e.top};this._place(t)},_getPlacementOffsets(){return{left:this.getOffsetLeft(),top:this.getOffsetTop(),right:this.getOffsetRight(),bottom:this.getOffsetBottom()}},__P_159_6(e){var t=null;if(this._computePlacementSize)t=this._computePlacementSize();else if(this.isVisible())t=this.getBounds();null==t?this.addListenerOnce("appear",(()=>{this.__P_159_6(e)})):e.call(this,t)},_place(e){this.__P_159_6((function(t){var r=qx.util.placement.Placement.compute(t,this.getLayoutParent().getBounds(),e,this._getPlacementOffsets(),this.getPosition(),this.getPlacementModeX(),this.getPlacementModeY());this.removeState("placementLeft");this.removeState("placementRight");this.addState(e.left"object"==typeof document.createStyleSheet,getInsertRule:()=>"function"==typeof qx.bom.client.Stylesheet.__P_145_0().insertRule,getDeleteRule:()=>"function"==typeof qx.bom.client.Stylesheet.__P_145_0().deleteRule,getAddImport:()=>"object"==typeof qx.bom.client.Stylesheet.__P_145_0().addImport,getRemoveImport:()=>"object"==typeof qx.bom.client.Stylesheet.__P_145_0().removeImport},defer(e){qx.core.Environment.add("html.stylesheet.createstylesheet",e.getCreateStyleSheet);qx.core.Environment.add("html.stylesheet.insertrule",e.getInsertRule);qx.core.Environment.add("html.stylesheet.deleterule",e.getDeleteRule);qx.core.Environment.add("html.stylesheet.addimport",e.getAddImport);qx.core.Environment.add("html.stylesheet.removeimport",e.getRemoveImport)}});qx.bom.client.Stylesheet.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.bom.client.Stylesheet":{require:!0},"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.dom.Element":{},"qx.util.Uri":{}},environment:{provided:[],required:{"html.stylesheet.createstylesheet":{className:"qx.bom.client.Stylesheet"},"html.stylesheet.insertrule":{className:"qx.bom.client.Stylesheet"},"html.stylesheet.deleterule":{className:"qx.bom.client.Stylesheet"},"html.stylesheet.addimport":{className:"qx.bom.client.Stylesheet"},"html.stylesheet.removeimport":{className:"qx.bom.client.Stylesheet"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Stylesheet",{statics:{includeFile(e,t){t||(t=document);var r=t.createElement("link");r.type="text/css";r.rel="stylesheet";r.href=e;t.getElementsByTagName("head")[0].appendChild(r)},createElement(e){if(qx.core.Environment.get("html.stylesheet.createstylesheet")){var t=document.createStyleSheet();e&&(t.cssText=e);return t}var r=document.createElement("style");r.type="text/css";e&&r.appendChild(document.createTextNode(e));document.getElementsByTagName("head")[0].appendChild(r);return r.sheet},addRule(e,t,r){qx.core.Environment.get("html.stylesheet.insertrule")?e.insertRule(t+"{"+r+"}",e.cssRules.length):e.addRule(t,r)},removeRule(e,t){if(qx.core.Environment.get("html.stylesheet.deleterule"))for(var r=(i=e.cssRules).length-1;r>=0;--r)i[r].selectorText==t&&e.deleteRule(r);else{var i;for(r=(i=e.rules).length-1;r>=0;--r)i[r].selectorText==t&&e.removeRule(r)}},removeSheet(e){var t=e.ownerNode?e.ownerNode:e.owningElement;qx.dom.Element.removeChild(t,t.parentNode)},removeAllRules(e){if(qx.core.Environment.get("html.stylesheet.deleterule"))for(var t=e.cssRules.length-1;t>=0;t--)e.deleteRule(t);else for(t=e.rules.length-1;t>=0;t--)e.removeRule(t)},addImport(e,t){qx.core.Environment.get("html.stylesheet.addimport")?e.addImport(t):e.insertRule('@import "'+t+'";',e.cssRules.length)},removeImport(e,t){if(qx.core.Environment.get("html.stylesheet.removeimport"))for(var r=e.imports,i=r.length-1;i>=0;i--)r[i].href!=t&&r[i].href!=qx.util.Uri.getAbsolute(t)||e.removeImport(i);else{var n=e.cssRules;for(i=n.length-1;i>=0;i--)n[i].href==t&&e.deleteRule(i)}},removeAllImports(e){if(qx.core.Environment.get("html.stylesheet.removeimport"))for(var t=e.imports.length-1;t>=0;t--)e.removeImport(t);else{var r=e.cssRules;for(t=r.length-1;t>=0;t--)r[t].type==r[t].IMPORT_RULE&&e.deleteRule(t)}}}});qx.bom.Stylesheet.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.Emitter",{extend:Object,statics:{__P_147_0:[]},members:{__P_147_1:null,__P_147_2:null,on(e,t,r){var i=qx.event.Emitter.__P_147_0.length;this.__P_147_3(e).push({listener:t,ctx:r,id:i,name:e});qx.event.Emitter.__P_147_0.push({name:e,listener:t,ctx:r});return i},once(e,t,r){var i=qx.event.Emitter.__P_147_0.length;this.__P_147_3(e).push({listener:t,ctx:r,once:!0,id:i});qx.event.Emitter.__P_147_0.push({name:e,listener:t,ctx:r});return i},off(e,t,r){for(var i=this.__P_147_3(e),n=i.length-1;n>=0;n--){var o=i[n];if(o.listener==t&&o.ctx==r){i.splice(n,1);qx.event.Emitter.__P_147_0[o.id]=null;return o.id}}return null},offById(e){var t=qx.event.Emitter.__P_147_0[e];t&&this.off(t.name,t.listener,t.ctx);return null},addListener(e,t,r){return this.on(e,t,r)},addListenerOnce(e,t,r){return this.once(e,t,r)},removeListener(e,t,r){this.off(e,t,r)},removeListenerById(e){this.offById(e)},emit(e,t){for(var r=this.__P_147_3(e).concat(),i=[],n=0;n=0;n--){var o;(o=r[n]).listener.call(o.ctx,t)}},getListeners(){return this.__P_147_1},getEntryById(e){for(var t in this.__P_147_1)for(var r=this.__P_147_1[t],i=0,n=r.length;iqx.bom.Style.getPropertyName("AnimationFillMode"),getPlayState:()=>qx.bom.Style.getPropertyName("AnimationPlayState"),getName:()=>qx.bom.Style.getPropertyName("animation"),getAnimationStart(){if(qx.bom.Event.supportsEvent(window,"webkitanimationstart"))return"webkitAnimationStart";return{msAnimation:"MSAnimationStart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"animationstart",OAnimation:"oAnimationStart",animation:"animationstart"}[this.getName()]},getAnimationIteration(){if(qx.bom.Event.supportsEvent(window,"webkitanimationiteration"))return"webkitAnimationIteration";return{msAnimation:"MSAnimationIteration",WebkitAnimation:"webkitAnimationIteration",MozAnimation:"animationiteration",OAnimation:"oAnimationIteration",animation:"animationiteration"}[this.getName()]},getAnimationEnd(){if(qx.bom.Event.supportsEvent(window,"webkitanimationend"))return"webkitAnimationEnd";return{msAnimation:"MSAnimationEnd",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}[this.getName()]},getKeyFrames(){for(var e=qx.bom.Style.VENDOR_PREFIXES,t=[],r=0;r=t+e){this.emit("end");this.id=null}else{var n=Math.max(i-t,0);this.emit("frame",n);this.id=qx.bom.AnimationFrame.request(r,this)}}),this)},cancelSequence(){this.__P_97_0=!0}},statics:{TIMEOUT:30,calculateTiming(e,t){if("ease-in"==e)var r=[3.1223e-7,.0757,1.2646,-.167,-.4387,.2654];else if("ease-out"==e)r=[-7.0198e-8,1.652,-.551,-.0458,.1255,-.1807];else{if("linear"==e)return t;if("ease-in-out"==e)r=[2.482e-7,-.2289,3.3466,-1.0857,-1.7354,.7034];else r=[-.0021,.2472,9.8054,-21.6869,17.7611,-5.1226]}for(var i=0,n=0;n=0;i--){e=r[i];t=this.__P_98_1[e.toHashCode()];r.splice(i,1);e.syncWidget(t)}if(0==r.length){this.__P_98_0=[];this.__P_98_1={}}}}});qx.ui.core.queue.Widget.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.lang.Array":{},"qx.ui.core.queue.Manager":{},"qx.ui.core.queue.Visibility":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.queue.Appearance",{statics:{__P_100_0:[],__P_100_1:{},remove(e){if(this.__P_100_1[e.toHashCode()]){qx.lang.Array.remove(this.__P_100_0,e);delete this.__P_100_1[e.toHashCode()]}},add(e){if(!this.__P_100_1[e.toHashCode()]){this.__P_100_0.unshift(e);this.__P_100_1[e.toHashCode()]=e;qx.ui.core.queue.Manager.scheduleFlush("appearance")}},has(e){return!!this.__P_100_1[e.toHashCode()]},flush(){for(var e,t=qx.ui.core.queue.Visibility,r=this.__P_100_0,i=r.length-1;i>=0;i--){e=r[i];r.splice(i,1);delete this.__P_100_1[e.toHashCode()];t.isVisible(e)?e.syncAppearance():e.$$stateChanges=!0}}}});qx.ui.core.queue.Appearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.queue.Manager":{},"qx.ui.core.queue.Visibility":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.queue.Layout",{statics:{__P_43_0:{},__P_43_1:{},remove(e){delete this.__P_43_0[e.toHashCode()]},add(e){this.__P_43_0[e.toHashCode()]=e;qx.ui.core.queue.Manager.scheduleFlush("layout")},isScheduled(e){return!!this.__P_43_0[e.toHashCode()]},flush(){for(var e=this.__P_43_2(),t=e.length-1;t>=0;t--){var r=e[t];if(!r.hasValidLayout())if(r.isRootWidget()&&!r.hasUserBounds()){var i=r.getSizeHint();r.renderLayout(0,0,i.width,i.height)}else{var n=r.getBounds();n&&r.renderLayout(n.left,n.top,n.width,n.height)}}},getNestingLevel(e){for(var t=this.__P_43_1,r=0,i=e;;){if(null!=t[i.toHashCode()]){r+=t[i.toHashCode()];break}if(!i.$$parent)break;i=i.$$parent;r+=1}for(var n=r;e&&e!==i;){t[e.toHashCode()]=n--;e=e.$$parent}return r},__P_43_3(){var e=qx.ui.core.queue.Visibility;this.__P_43_1={};var t,r,i=[],n=this.__P_43_0;for(var o in n){t=n[o];if(e.isVisible(t)){i[r=this.getNestingLevel(t)]||(i[r]={});i[r][o]=t;delete n[o]}}return i},__P_43_2(){for(var e=[],t=this.__P_43_3(),r=t.length-1;r>=0;r--)if(t[r])for(var i in t[r]){var n=t[r][i];if(0==r||n.isRootWidget()||n.hasUserBounds()){e.push(n);n.invalidateLayoutCache()}else{var o=n.getSizeHint(!1);if(o){n.invalidateLayoutCache();var a=n.getSizeHint(),s=!n.getBounds()||o.minWidth!==a.minWidth||o.width!==a.width||o.maxWidth!==a.maxWidth||o.minHeight!==a.minHeight||o.height!==a.height||o.maxHeight!==a.maxHeight}else s=!0;if(s){var l=n.getLayoutParent();t[r-1]||(t[r-1]={});t[r-1][l.toHashCode()]=l}else e.push(n)}}return e}}});qx.ui.core.queue.Layout.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.queue.Manager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.queue.Dispose",{statics:{__P_102_0:[],add(e){var t=this.__P_102_0;if(!t.includes(e)){t.unshift(e);qx.ui.core.queue.Manager.scheduleFlush("dispose")}},isEmpty(){return 0==this.__P_102_0.length},flush(){for(var e=this.__P_102_0,t=e.length-1;t>=0;t--){var r=e[t];e.splice(t,1);r.dispose()}0==e.length&&(this.__P_102_0=[])}}});qx.ui.core.queue.Dispose.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.bom.client.Engine":{require:!0},"qx.dom.Node":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Dimension",{statics:{getWidth(e){var t=e.getBoundingClientRect();return Math.round(t.right-t.left)},getHeight(e){var t=e.getBoundingClientRect();return Math.round(t.bottom-t.top)},getSize(e){return{width:this.getWidth(e),height:this.getHeight(e)}},getOuterHeight(e,t){if(t){let t=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-top"),10),r=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-bottom"),10);return e.offsetHeight+t+r}return e.offsetHeight},getOuterWidth(e,t){if(t){let t=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-left"),10),r=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-right"),10);return e.offsetWidth+t+r}return e.offsetWidth},getOuterSize(e,t){return{width:this.getOuterWidth(e,t),height:this.getOuterHeight(e,t)}},__P_155_0:{visible:!0,hidden:!0},getContentWidth(e){var t=qx.bom.element.Style,r=qx.bom.element.Style.get(e,"overflowX"),i=parseInt(t.get(e,"paddingLeft")||"0px",10),n=parseInt(t.get(e,"paddingRight")||"0px",10);if(this.__P_155_0[r]){var o=e.clientWidth;("opera"==qx.core.Environment.get("engine.name")||qx.dom.Node.isBlockNode(e))&&(o=o-i-n);return"mshtml"==qx.core.Environment.get("engine.name")&&0===o&&0===e.offsetHeight?e.offsetWidth:o}if(e.clientWidth>=e.scrollWidth)return Math.max(e.clientWidth,e.scrollWidth)-i-n;var a=e.scrollWidth-i;"mshtml"==qx.core.Environment.get("engine.name")&&(a-=n);return a},getContentHeight(e){var t=qx.bom.element.Style,r=qx.bom.element.Style.get(e,"overflowY"),i=parseInt(t.get(e,"paddingTop")||"0px",10),n=parseInt(t.get(e,"paddingBottom")||"0px",10);return this.__P_155_0[r]?e.clientHeight-i-n:e.clientHeight>=e.scrollHeight?Math.max(e.clientHeight,e.scrollHeight)-i-n:e.scrollHeight-i},getContentSize(e){return{width:this.getContentWidth(e),height:this.getContentHeight(e)}}}});qx.bom.element.Dimension.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.Viewport":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Document",{statics:{isQuirksMode:qx.core.Environment.select("engine.name",{mshtml:e=>qx.core.Environment.get("engine.version")>=8?5===(e||window).document.documentMode:"CSS1Compat"!==(e||window).document.compatMode,webkit(e){if(void 0===document.compatMode){var t=(e||window).document.createElement("div");t.style.cssText="position:absolute;width:0;height:0;width:1";return"1px"===t.style.width}return"CSS1Compat"!==(e||window).document.compatMode},default:e=>"CSS1Compat"!==(e||window).document.compatMode}),isStandardMode(e){return!this.isQuirksMode(e)},getWidth(e){var t=(e||window).document,r=qx.bom.Viewport.getWidth(e),i=this.isStandardMode(e)?t.documentElement.scrollWidth:t.body.scrollWidth;return Math.max(i,r)},getHeight(e){var t=(e||window).document,r=qx.bom.Viewport.getHeight(e),i=this.isStandardMode(e)?t.documentElement.scrollHeight:t.body.scrollHeight;return Math.max(i,r)}}});qx.bom.Document.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.Document":{},"qx.bom.client.OperatingSystem":{require:!0}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Viewport",{statics:{getWidth(e){var t=(e=e||window).document;return qx.bom.Document.isStandardMode(e)?t.documentElement.clientWidth:t.body.clientWidth},getHeight(e){var t=(e=e||window).document;return"ios"==qx.core.Environment.get("os.name")&&window.innerHeight!=t.documentElement.clientHeight?window.innerHeight:qx.bom.Document.isStandardMode(e)?t.documentElement.clientHeight:t.body.clientHeight},getScrollLeft(e){if(void 0!==(e=e||window).pageXOffset)return e.pageXOffset;var t=e.document;return t.documentElement.scrollLeft||t.body.scrollLeft},getScrollTop(e){if(void 0!==(e=e||window).pageYOffset)return e.pageYOffset;var t=e.document;return t.documentElement.scrollTop||t.body.scrollTop},__P_48_0(e){var t=this.getWidth(e)>this.getHeight(e)?90:0,r=e.orientation;return null==r||Math.abs(r%180)==t?{"-270":90,"-180":180,"-90":-90,0:0,90:90,180:180,270:-90}:{"-270":180,"-180":-90,"-90":0,0:90,90:180,180:-90,270:0}},__P_48_1:null,getOrientation(e){var t=(e=e||window.top).orientation;if(null==t)t=this.getWidth(e)>this.getHeight(e)?90:0;else{null==this.__P_48_1&&(this.__P_48_1=this.__P_48_0(e));t=this.__P_48_1[t]}return t},isLandscape(e){var t=this.getOrientation(e);return-90===t||90===t},isPortrait(e){var t=this.getOrientation(e);return 0===t||180===t}}});qx.bom.Viewport.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.dom.Node":{},"qx.bom.Viewport":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.element.BoxSizing":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"browser.quirksmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Location",{statics:{__P_106_0:(e,t)=>qx.bom.element.Style.get(e,t,qx.bom.element.Style.COMPUTED_MODE,!1),__P_106_1:(e,t)=>parseInt(qx.bom.element.Style.get(e,t,qx.bom.element.Style.COMPUTED_MODE,!1),10)||0,__P_106_2(e){var t=0,r=0,i=qx.dom.Node.getWindow(e);return{left:t-=qx.bom.Viewport.getScrollLeft(i),top:r-=qx.bom.Viewport.getScrollTop(i)}},__P_106_3:qx.core.Environment.select("engine.name",{mshtml(e){var t=qx.dom.Node.getDocument(e),r=t.body,i=0,n=0;i-=r.clientLeft+t.documentElement.clientLeft;n-=r.clientTop+t.documentElement.clientTop;if(!qx.core.Environment.get("browser.quirksmode")){i+=this.__P_106_1(r,"borderLeftWidth");n+=this.__P_106_1(r,"borderTopWidth")}return{left:i,top:n}},webkit(e){var t=qx.dom.Node.getDocument(e).body;return{left:t.offsetLeft,top:t.offsetTop}},gecko(e){var t=qx.dom.Node.getDocument(e).body,r=t.offsetLeft,i=t.offsetTop;if("border-box"!==qx.bom.element.BoxSizing.get(t)){r+=this.__P_106_1(t,"borderLeftWidth");i+=this.__P_106_1(t,"borderTopWidth")}return{left:r,top:i}},default(e){var t=qx.dom.Node.getDocument(e).body;return{left:t.offsetLeft,top:t.offsetTop}}}),__P_106_4(e){var t=e.getBoundingClientRect();return{left:Math.round(t.left),top:Math.round(t.top)}},get(e,t){if("BODY"==e.tagName)var r=this.__P_106_5(e),i=r.left,n=r.top;else{var o=this.__P_106_3(e),a=this.__P_106_4(e),s=this.__P_106_2(e);i=a.left+o.left-s.left,n=a.top+o.top-s.top}var l,u;if(e instanceof SVGElement){var c=e.getBoundingClientRect();l=c.width;u=c.height}else{l=e.offsetWidth;u=e.offsetHeight}var h=i+l,d=n+u;if(t){if("padding"==t||"scroll"==t){var f=qx.bom.element.Style.get(e,"overflowX");"scroll"!=f&&"auto"!=f||(h+=e.scrollWidth-l+this.__P_106_1(e,"borderLeftWidth")+this.__P_106_1(e,"borderRightWidth"));var _=qx.bom.element.Style.get(e,"overflowY");"scroll"!=_&&"auto"!=_||(d+=e.scrollHeight-u+this.__P_106_1(e,"borderTopWidth")+this.__P_106_1(e,"borderBottomWidth"))}switch(t){case"padding":i+=this.__P_106_1(e,"paddingLeft");n+=this.__P_106_1(e,"paddingTop");h-=this.__P_106_1(e,"paddingRight");d-=this.__P_106_1(e,"paddingBottom");case"scroll":i-=e.scrollLeft;n-=e.scrollTop;h-=e.scrollLeft;d-=e.scrollTop;case"border":i+=this.__P_106_1(e,"borderLeftWidth");n+=this.__P_106_1(e,"borderTopWidth");h-=this.__P_106_1(e,"borderRightWidth");d-=this.__P_106_1(e,"borderBottomWidth");break;case"margin":i-=this.__P_106_1(e,"marginLeft");n-=this.__P_106_1(e,"marginTop");h+=this.__P_106_1(e,"marginRight");d+=this.__P_106_1(e,"marginBottom")}}return{left:i,top:n,right:h,bottom:d}},__P_106_5(e){var t=e.offsetTop,r=e.offsetLeft;t+=this.__P_106_1(e,"marginTop");r+=this.__P_106_1(e,"marginLeft");if("gecko"===qx.core.Environment.get("engine.name")){t+=this.__P_106_1(e,"borderLeftWidth");r+=this.__P_106_1(e,"borderTopWidth")}return{left:r,top:t}},getLeft(e,t){return this.get(e,t).left},getTop(e,t){return this.get(e,t).top},getRight(e,t){return this.get(e,t).right},getBottom(e,t){return this.get(e,t).bottom},getRelative(e,t,r,i){var n=this.get(e,r),o=this.get(t,i);return{left:n.left-o.left,top:n.top-o.top,right:n.right-o.right,bottom:n.bottom-o.bottom}},getPosition(e){return this.getRelative(e,this.getOffsetParent(e))},getOffsetParent(e){if(e instanceof SVGElement)return document.body;for(var t=e.offsetParent||document.body,r=qx.bom.element.Style;t&&!/^body|html$/i.test(t.tagName)&&"static"===r.get(t,"position");)t=t.offsetParent;return t}}});qx.bom.element.Location.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.lang.normalize.String":{require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Clip",{statics:{compile(e){if(!e)return"clip:auto;";var t,r,i=e.left,n=e.top,o=e.width,a=e.height;if(null==i){t=null==o?"auto":o+"px";i="auto"}else{t=null==o?"auto":i+o+"px";i+="px"}if(null==n){r=null==a?"auto":a+"px";n="auto"}else{r=null==a?"auto":n+a+"px";n+="px"}return"clip:rect("+n+","+t+","+r+","+i+");"},get(e,t){var r,i,n,o,a,s,l=qx.bom.element.Style.get(e,"clip",t,!1);if("string"==typeof l&&"auto"!==l&&""!==l){l=l.trim();if(!/\((.*)\)/.test(l))throw new Error("Could not parse clip string: "+l);var u=RegExp.$1;if(/,/.test(u))var c=u.split(",");else c=u.split(" ");i=c[0].trim();a=c[1].trim();s=c[2].trim();"auto"===(r=c[3].trim())&&(r=null);"auto"===i&&(i=null);"auto"===a&&(a=null);"auto"===s&&(s=null);null!=i&&(i=parseInt(i,10));null!=a&&(a=parseInt(a,10));null!=s&&(s=parseInt(s,10));null!=r&&(r=parseInt(r,10));null!=a&&null!=r?n=a-r:null!=a&&(n=a);null!=s&&null!=i?o=s-i:null!=s&&(o=s)}return{left:r||null,top:i||null,width:n||null,height:o||null}},set(e,t){if(t){var r,i,n=t.left,o=t.top,a=t.width,s=t.height;if(null==n){r=null==a?"auto":a+"px";n="auto"}else{r=null==a?"auto":n+a+"px";n+="px"}if(null==o){i=null==s?"auto":s+"px";o="auto"}else{i=null==s?"auto":o+s+"px";o+="px"}e.style.clip="rect("+o+","+r+","+i+","+n+")"}else e.style.clip="rect(auto,auto,auto,auto)"},reset(e){e.style.clip="rect(auto, auto, auto, auto)"}}});qx.bom.element.Clip.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.bom.client.Engine":{defer:"load",require:!0},"qx.bom.client.Browser":{defer:"load",require:!0}},environment:{provided:[],required:{"engine.name":{defer:!0,className:"qx.bom.client.Engine"},"engine.version":{defer:!0,className:"qx.bom.client.Engine"},"browser.documentmode":{defer:!0,className:"qx.bom.client.Browser"},"browser.quirksmode":{defer:!0,className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Cursor",{statics:{__P_105_0:{},compile(e){return"cursor:"+(this.__P_105_0[e]||e)+";"},get:(e,t)=>qx.bom.element.Style.get(e,"cursor",t,!1),set(e,t){e.style.cursor=this.__P_105_0[t]||t},reset(e){e.style.cursor=""}},defer(e){if("mshtml"==qx.core.Environment.get("engine.name")&&(parseFloat(qx.core.Environment.get("engine.version"))<9||qx.core.Environment.get("browser.documentmode")<9)&&!qx.core.Environment.get("browser.quirksmode")){e.__P_105_0["nesw-resize"]="ne-resize";e.__P_105_0["nwse-resize"]="nw-resize"}}});qx.bom.element.Cursor.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Css":{require:!0},"qx.bom.element.Style":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"css.opacity":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Opacity",{statics:{compile:qx.core.Environment.select("engine.name",{mshtml(e){e>=1&&(e=1);e<1e-5&&(e=0);return qx.core.Environment.get("css.opacity")?"opacity:"+e+";":"zoom:1;filter:alpha(opacity="+100*e+");"},default:e=>"opacity:"+e+";"}),set:qx.core.Environment.select("engine.name",{mshtml(e,t){if(qx.core.Environment.get("css.opacity"))e.style.opacity=t;else{var r=qx.bom.element.Style.get(e,"filter",qx.bom.element.Style.COMPUTED_MODE,!1);t>=1&&(t=1);t<1e-5&&(t=0);e.currentStyle&&e.currentStyle.hasLayout||(e.style.zoom=1);e.style.filter=r.replace(/alpha\([^\)]*\)/gi,"")+"alpha(opacity="+100*t+")"}},default(e,t){e.style.opacity=t}}),reset:qx.core.Environment.select("engine.name",{mshtml(e){if(qx.core.Environment.get("css.opacity"))e.style.opacity="";else{var t=qx.bom.element.Style.get(e,"filter",qx.bom.element.Style.COMPUTED_MODE,!1);e.style.filter=t.replace(/alpha\([^\)]*\)/gi,"")}},default(e){e.style.opacity=""}}),get:qx.core.Environment.select("engine.name",{mshtml(e,t){if(qx.core.Environment.get("css.opacity")){return null!=(i=qx.bom.element.Style.get(e,"opacity",t,!1))?parseFloat(i):1}var r=qx.bom.element.Style.get(e,"filter",t,!1);if(r){var i;if((i=r.match(/alpha\(opacity=(.*)\)/))&&i[1])return parseFloat(i[1])/100}return 1},default(e,t){var r=qx.bom.element.Style.get(e,"opacity",t,!1);return null!=r?parseFloat(r):1}})}});qx.bom.element.Opacity.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Css":{require:!0},"qx.bom.Style":{},"qx.bom.element.Style":{},"qx.bom.Document":{},"qx.dom.Node":{}},environment:{provided:[],required:{"css.boxsizing":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.BoxSizing",{statics:{__P_117_0:{tags:{button:!0,select:!0},types:{search:!0,button:!0,submit:!0,reset:!0,checkbox:!0,radio:!0}},__P_117_1(e){var t=this.__P_117_0;return t.tags[e.tagName.toLowerCase()]||t.types[e.type]},compile(e){if(qx.core.Environment.get("css.boxsizing")){return qx.bom.Style.getCssName(qx.core.Environment.get("css.boxsizing"))+":"+e+";"}},get(e){return qx.core.Environment.get("css.boxsizing")?qx.bom.element.Style.get(e,"boxSizing",null,!1)||"":qx.bom.Document.isStandardMode(qx.dom.Node.getWindow(e))&&!this.__P_117_1(e)?"content-box":"border-box"},set(e,t){if(qx.core.Environment.get("css.boxsizing"))try{e.style[qx.core.Environment.get("css.boxsizing")]=t}catch(e){}},reset(e){this.set(e,"")}}});qx.bom.element.BoxSizing.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.lang.String":{require:!0,defer:"runtime"},"qx.bom.client.Css":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.bom.Style":{},"qx.bom.element.Clip":{require:!0},"qx.bom.element.Cursor":{require:!0},"qx.bom.element.Opacity":{require:!0},"qx.bom.element.BoxSizing":{require:!0},"qx.dom.Node":{}},environment:{provided:[],required:{"css.appearance":{className:"qx.bom.client.Css"},"css.userselect":{className:"qx.bom.client.Css"},"css.textoverflow":{className:"qx.bom.client.Css"},"css.borderimage":{className:"qx.bom.client.Css"},"css.float":{className:"qx.bom.client.Css"},"css.usermodify":{className:"qx.bom.client.Css"},"css.boxsizing":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Style",{statics:{__P_49_0:null,__P_49_1:null,__P_49_2(){var e={appearance:qx.core.Environment.get("css.appearance"),userSelect:qx.core.Environment.get("css.userselect"),textOverflow:qx.core.Environment.get("css.textoverflow"),borderImage:qx.core.Environment.get("css.borderimage"),float:qx.core.Environment.get("css.float"),userModify:qx.core.Environment.get("css.usermodify"),boxSizing:qx.core.Environment.get("css.boxsizing")};this.__P_49_1={};for(var t in qx.lang.Object.clone(e))e[t]?"float"===t?this.__P_49_1.cssFloat=t:this.__P_49_1[t]=qx.bom.Style.getCssName(e[t]):delete e[t];this.__P_49_0=e},__P_49_3(e){var t=qx.bom.Style.getPropertyName(e);t&&(this.__P_49_0[e]=t);return t},__P_49_4:{width:"pixelWidth",height:"pixelHeight",left:"pixelLeft",right:"pixelRight",top:"pixelTop",bottom:"pixelBottom"},__P_49_5:{clip:qx.bom.element.Clip,cursor:qx.bom.element.Cursor,opacity:qx.bom.element.Opacity,boxSizing:qx.bom.element.BoxSizing},compile(e){var t,r,i=[],n=this.__P_49_5,o=this.__P_49_1;for(t in e)if(null!=(r=e[t]))if(n[t=this.__P_49_1[t]||t])i.push(n[t].compile(r));else{o[t]||(o[t]=qx.bom.Style.getCssName(t));i.push(o[t],":",""===r?'""':r,";")}return i.join("")},setCss(e,t){e.setAttribute("style",t)},getCss:e=>e.getAttribute("style"),isPropertySupported(e){return this.__P_49_5[e]||this.__P_49_0[e]||e in document.documentElement.style},COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set(e,t,r,i){t=this.__P_49_0[t]||this.__P_49_3(t)||t;!1!==i&&this.__P_49_5[t]?this.__P_49_5[t].set(e,r):e.style[t]=null!==r?r:""},setStyles(e,t,r){var i=this.__P_49_0,n=this.__P_49_5,o=e.style;for(var a in t){var s=t[a],l=i[a]||this.__P_49_3(a)||a;void 0===s?!1!==r&&n[l]?n[l].reset(e):o[l]="":!1!==r&&n[l]?n[l].set(e,s):o[l]=null!==s?s:""}},reset(e,t,r){t=this.__P_49_0[t]||this.__P_49_3(t)||t;!1!==r&&this.__P_49_5[t]?this.__P_49_5[t].reset(e):e.style[t]=""},get(e,t,r,i){t=this.__P_49_0[t]||this.__P_49_3(t)||t;if(!1!==i&&this.__P_49_5[t])return this.__P_49_5[t].get(e,r);switch(r){case this.LOCAL_MODE:return e.style[t]||"";case this.CASCADED_MODE:if(e.currentStyle)return e.currentStyle[t]||"";throw new Error("Cascaded styles are not supported in this browser!");default:var n=qx.dom.Node.getDocument(e),o=n.defaultView?n.defaultView.getComputedStyle:void 0;if(void 0===o){if(!e.currentStyle)return e.style[t]||"";var a=e.currentStyle[t]||e.style[t]||"";if(/^-?[\.\d]+(px)?$/i.test(a))return a;var s=this.__P_49_4[t];if(s&&s in e.style){var l=e.style[t];e.style[t]=a||0;var u=e.style[s]+"px";e.style[t]=l;return u}return a}var c=o(e,null);return c&&c[t]?c[t]:e.style[t]||""}}},defer(e){e.__P_49_2()}});qx.bom.element.Style.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["html.webworker","html.filereader","html.geolocation","html.audio","html.audio.ogg","html.audio.mp3","html.audio.wav","html.audio.au","html.audio.aif","html.video","html.video.ogg","html.video.h264","html.video.webm","html.storage.local","html.storage.session","html.storage.userdata","html.classlist","html.xpath","html.xul","html.canvas","html.svg","html.vml","html.dataset","html.element.contains","html.element.compareDocumentPosition","html.element.textcontent","html.console","html.image.naturaldimensions","html.history.state","html.selection","html.node.isequalnode","html.fullscreen"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.Html",{statics:{getWebWorker:()=>null!=window.Worker,getFileReader:()=>null!=window.FileReader,getGeoLocation:()=>"geolocation"in navigator,getAudio:()=>!!document.createElement("audio").canPlayType,getAudioOgg:()=>qx.bom.client.Html.getAudio()?document.createElement("audio").canPlayType("audio/ogg"):"",getAudioMp3:()=>qx.bom.client.Html.getAudio()?document.createElement("audio").canPlayType("audio/mpeg"):"",getAudioWav:()=>qx.bom.client.Html.getAudio()?document.createElement("audio").canPlayType("audio/x-wav"):"",getAudioAu:()=>qx.bom.client.Html.getAudio()?document.createElement("audio").canPlayType("audio/basic"):"",getAudioAif:()=>qx.bom.client.Html.getAudio()?document.createElement("audio").canPlayType("audio/x-aiff"):"",getVideo:()=>!!document.createElement("video").canPlayType,getVideoOgg:()=>qx.bom.client.Html.getVideo()?document.createElement("video").canPlayType('video/ogg; codecs="theora, vorbis"'):"",getVideoH264:()=>qx.bom.client.Html.getVideo()?document.createElement("video").canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"'):"",getVideoWebm:()=>qx.bom.client.Html.getVideo()?document.createElement("video").canPlayType('video/webm; codecs="vp8, vorbis"'):"",getLocalStorage(){try{window.localStorage.setItem("$qx_check","test");window.localStorage.removeItem("$qx_check");return!0}catch(e){return!1}},getSessionStorage(){try{window.sessionStorage.setItem("$qx_check","test");window.sessionStorage.removeItem("$qx_check");return!0}catch(e){return!1}},getUserDataStorage(){var e=document.createElement("div");e.style.display="none";document.getElementsByTagName("head")[0].appendChild(e);var t=!1;try{e.addBehavior("#default#userdata");e.load("qxtest");t=!0}catch(e){}document.getElementsByTagName("head")[0].removeChild(e);return t},getClassList:()=>!(!document.documentElement.classList||"DOMTokenList"!==qx.Bootstrap.getClass(document.documentElement.classList)),getXPath:()=>!!document.evaluate,getXul(){try{document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul","label");return!0}catch(e){return!1}},getSvg:()=>document.implementation&&document.implementation.hasFeature&&(document.implementation.hasFeature("org.w3c.dom.svg","1.0")||document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")),getVml(){var e=document.createElement("div");document.body.appendChild(e);e.innerHTML='';e.firstChild.style.behavior="url(#default#VML)";var t="object"==typeof e.firstChild.adj;document.body.removeChild(e);return t},getCanvas:()=>!!window.CanvasRenderingContext2D,getDataUrl(e){var t=new Image;t.onload=t.onerror=function(){window.setTimeout((function(){e.call(null,1==t.width&&1==t.height)}),0)};t.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw=="},getDataset:()=>!!document.documentElement.dataset,getContains:()=>void 0!==document.documentElement.contains,getCompareDocumentPosition:()=>"function"==typeof document.documentElement.compareDocumentPosition,getTextContent:()=>void 0!==document.createElement("span").textContent,getFullScreen:()=>document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled||!1,getConsole:()=>void 0!==window.console,getNaturalDimensions(){var e=document.createElement("img");return"number"==typeof e.naturalHeight&&"number"==typeof e.naturalWidth},getHistoryState:()=>void 0!==window.onpopstate&&void 0!==window.history.replaceState&&void 0!==window.history.pushState,getSelection:()=>"function"==typeof window.getSelection?"getSelection":"object"==typeof document.selection?"selection":null,getIsEqualNode:()=>"function"==typeof document.documentElement.isEqualNode},defer(e){qx.core.Environment.add("html.webworker",e.getWebWorker);qx.core.Environment.add("html.filereader",e.getFileReader);qx.core.Environment.add("html.geolocation",e.getGeoLocation);qx.core.Environment.add("html.audio",e.getAudio);qx.core.Environment.add("html.audio.ogg",e.getAudioOgg);qx.core.Environment.add("html.audio.mp3",e.getAudioMp3);qx.core.Environment.add("html.audio.wav",e.getAudioWav);qx.core.Environment.add("html.audio.au",e.getAudioAu);qx.core.Environment.add("html.audio.aif",e.getAudioAif);qx.core.Environment.add("html.video",e.getVideo);qx.core.Environment.add("html.video.ogg",e.getVideoOgg);qx.core.Environment.add("html.video.h264",e.getVideoH264);qx.core.Environment.add("html.video.webm",e.getVideoWebm);qx.core.Environment.add("html.storage.local",e.getLocalStorage);qx.core.Environment.add("html.storage.session",e.getSessionStorage);qx.core.Environment.add("html.storage.userdata",e.getUserDataStorage);qx.core.Environment.add("html.classlist",e.getClassList);qx.core.Environment.add("html.xpath",e.getXPath);qx.core.Environment.add("html.xul",e.getXul);qx.core.Environment.add("html.canvas",e.getCanvas);qx.core.Environment.add("html.svg",e.getSvg);qx.core.Environment.add("html.vml",e.getVml);qx.core.Environment.add("html.dataset",e.getDataset);qx.core.Environment.addAsync("html.dataurl",e.getDataUrl);qx.core.Environment.add("html.element.contains",e.getContains);qx.core.Environment.add("html.element.compareDocumentPosition",e.getCompareDocumentPosition);qx.core.Environment.add("html.element.textcontent",e.getTextContent);qx.core.Environment.add("html.console",e.getConsole);qx.core.Environment.add("html.image.naturaldimensions",e.getNaturalDimensions);qx.core.Environment.add("html.history.state",e.getHistoryState);qx.core.Environment.add("html.selection",e.getSelection);qx.core.Environment.add("html.node.isequalnode",e.getIsEqualNode);qx.core.Environment.add("html.fullscreen",e.getFullScreen)}});qx.bom.client.Html.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Html":{require:!0}},environment:{provided:[],required:{"html.classlist":{load:!0,className:"qx.bom.client.Html"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Class",{statics:{__P_206_0:/\s+/g,__P_206_1:/^\s+|\s+$/g,add:{native(e,t){t.length>0&&e.classList.add(t);return t},default(e,t){this.has(e,t)||(e.className+=(e.className?" ":"")+t);return t}}[qx.core.Environment.get("html.classlist")?"native":"default"],addClasses:{native(e,t){for(var r=0;r0&&e.classList.add(t[r]);return e.className},default(e,t){var r,i={},n=e.className;if(n){for(var o=0,a=(r=n.split(this.__P_206_0)).length;oe.classList.contains(t),default:(e,t)=>new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)}[qx.core.Environment.get("html.classlist")?"native":"default"],remove:{native(e,t){e.classList.remove(t);return t},default(e,t){var r=new RegExp("(^|\\s)"+t+"(\\s|$)");e.className=e.className.replace(r,"$2");return t}}[qx.core.Environment.get("html.classlist")?"native":"default"],removeClasses:{native(e,t){for(var r=0;r=0;i--){var n=new qx.event.type.dom.Pointer("pointercancel",e,{identifier:this.__P_215_5[i].identifier,target:e.target,pointerType:"touch",pointerId:this.__P_215_5[i].identifier+2});this._fireEvent(n,"pointercancel",e.target)}this.__P_215_9=null;this.__P_215_5=[]}else{"touchstart"==e.type&&null===this.__P_215_9&&(this.__P_215_9=r[0].identifier);i=0;for(var o=r.length;i1||"mouseup"==e.type&&i>0))if("contextmenu"!=e.type){var a=new qx.event.type.dom.Pointer(t,e,n);this._fireEvent(a,t,r)}else this.__P_215_4[e.which]=0}}},_determineActiveTouches(e,t){if("touchstart"==e)for(var r=0;r=0;i--)r[t[i].name]=t[i].value;t=r}var n={};if(t.style){t.style.split(/;/).forEach((function(e){var t=e.indexOf(":"),r=e.substring(0,t),i=e.substring(t+1).trim();r&&(n[r]=i)}));delete t.style}var o=t["data-qx-classname"];if(o)qx.Class.getByName(o)}var a=this.__P_190_0[e];if(a)for(i=a.length-1;i>-1;i--){var s=a[i];if(s.classname&&qx.Class.getByName(s.classname)===s)return new s(e,n,t);var l=s(e,n,t);if(l)return l}return new qx.html.Element(e,n,t)}}});qx.html.Factory.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.core.Init":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.core.Id",{extend:qx.core.Object,type:"singleton",members:{__P_153_0:null,__P_153_1:null,_createQxObject(e){return this._createQxObjectImpl(e)},_createQxObjectImpl(e){if(this.__P_153_0){var t=this.__P_153_0[e];if(void 0!==t)return t}if("application"===e)return qx.core.Init.getApplication()||void 0},getAbsoluteIdOf(e,t){if(this.__P_153_1&&this.__P_153_1[e.toHashCode()])return e.getQxObjectId();for(var r=[],i=qx.core.Init.getApplication();e;){var n=e.getQxObjectId();if(!n){t||this.error("Cannot determine an absolute Object ID because one of the ancestor ObjectID's is null (got as far as "+r.join("/")+")");return null}r.unshift(n);var o=e.getQxOwner();if(!o){t||this.error("Cannot determine a global absolute Object ID because the topmost object is not registered");return null}var a=null;if(a=o===i?"application":this.__P_153_1&&this.__P_153_1[o.toHashCode()]||null){r.unshift(a);break}e=o}return r.join("/")},register(e,t){if(!this.__P_153_0){this.__P_153_0={};this.__P_153_1={}}t||(t=e.getQxObjectId());this.__P_153_0[t]=e;this.__P_153_1[e.toHashCode()]=t;e._cascadeQxObjectIdChanges()},unregister(e){if(!this.__P_153_0)return!1;var t;if("string"==typeof e)t=e;else{var r=e.toHashCode();if(!(t=this.__P_153_1[r]))return!1}var i=this.__P_153_0[t];if(i){delete this.__P_153_0[t];delete this.__P_153_1[i.toHashCode()];i._cascadeQxObjectIdChanges();return!0}return!1},getRegisteredObjects(){return this.__P_153_0}},statics:{getQxObject(e){return this.getInstance().getQxObject(e)},getAbsoluteIdOf(e,t){return this.getInstance().getAbsoluteIdOf(e,t)}}});qx.core.Id.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.event.IEventDispatcher":{require:!0},"qx.event.Utils":{},"qx.event.type.Event":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.dispatch.AbstractBubbling",{extend:qx.core.Object,implement:qx.event.IEventDispatcher,type:"abstract",construct(e){this._manager=e},members:{_getParent(e){throw new Error("Missing implementation")},canDispatchEvent:(e,t,r)=>t.getBubbles(),dispatchEvent(e,t,r){var i,n,o,a=e,s=this._manager,l=[];i=s.getListeners(e,r,!0);n=s.getListeners(e,r,!1);i&&l.push(i);n&&l.push(n);a=this._getParent(e);for(var u=[],c=[],h=[],d=[];null!=a;){if(i=s.getListeners(a,r,!0)){h.push(i);d.push(a)}if(n=s.getListeners(a,r,!1)){u.push(n);c.push(a)}a=this._getParent(a)}var f,_=this,p={},m=function(){};qx.event.Utils.catch(p,(function(){m("Aborted serial="+f+", type="+t.getType())}));qx.event.Utils.then(p,(function(){t.setEventPhase(qx.event.type.Event.CAPTURING_PHASE);m("captureList="+h.length);return qx.event.Utils.series(h,(function(e,r){m("captureList["+r+"]: localList.length="+e.length);var i=d[r];t.setCurrentTarget(i);var n=qx.event.Utils.series(e,(function(e,n){o=e.context||i;if(!_._manager.isBlacklisted(e.unique)){m("captureList["+r+"] => localList["+n+"] callListener");return e.handler.call(o,t)}m("captureList["+r+"] => localList["+n+"] is blacklisted")}),!0);return n===qx.event.Utils.ABORT||t.getPropagationStopped()?qx.event.Utils.reject(p):n}))}));qx.event.Utils.then(p,(function(){t.setEventPhase(qx.event.type.Event.AT_TARGET);t.setCurrentTarget(e);m("targetList="+l.length);return qx.event.Utils.series(l,(function(r,i){m("targetList["+i+"] localList.length="+r.length);var n=qx.event.Utils.series(r,(function(r,n){m("targetList["+i+"] -> localList["+n+"] callListener");o=r.context||e;m("Calling target serial="+f+", type="+t.getType());return r.handler.call(o,t)}),!0);return n===qx.event.Utils.ABORT||t.getPropagationStopped()?qx.event.Utils.reject(p):n}))}));qx.event.Utils.then(p,(function(){t.setEventPhase(qx.event.type.Event.BUBBLING_PHASE);m("bubbleList="+u.length);return qx.event.Utils.series(u,(function(e,r){m("bubbleList["+r+"] localList.length="+e.length);var i=c[r];t.setCurrentTarget(i);var n=qx.event.Utils.series(e,(function(e,n){m("bubbleList["+r+"] -> localList["+n+"] callListener");o=e.context||i;return e.handler.call(o,t)}),!0);return n===qx.event.Utils.ABORT||t.getPropagationStopped()?qx.event.Utils.reject(p):n}))}));false;return p.promise}}});qx.event.dispatch.AbstractBubbling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.dispatch.AbstractBubbling":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.dispatch.DomBubbling",{extend:qx.event.dispatch.AbstractBubbling,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL},members:{_getParent:e=>e.parentNode,canDispatchEvent:(e,t,r)=>void 0!==e.nodeType&&t.getBubbles()},defer(e){qx.event.Registration.addDispatcher(e)}});qx.event.dispatch.DomBubbling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.UserAction":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",construct:!0,usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.Engine":{construct:!0,defer:"load",require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.event.type.KeyInput":{},"qx.event.Utils":{},"qx.event.type.Data":{},"qx.event.type.KeySequence":{},"qx.bom.client.Browser":{require:!0},"qx.event.util.Keyboard":{},"qx.event.handler.Focus":{},"qx.lang.Function":{},"qx.bom.Event":{},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.core.ObjectRegistry":{}},environment:{provided:[],required:{"engine.name":{construct:!0,className:"qx.bom.client.Engine",load:!0,defer:!0},"browser.version":{className:"qx.bom.client.Browser",load:!0},"engine.version":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Keyboard",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this.__P_158_0=e;this.__P_158_1=e.getWindow();"gecko"==qx.core.Environment.get("engine.name")?this.__P_158_2=this.__P_158_1:this.__P_158_2=this.__P_158_1.document.documentElement;this.__P_158_3={};this._initKeyObserver()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{keyup:1,keydown:1,keypress:1,keyinput:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!0},members:{__P_158_4:null,__P_158_0:null,__P_158_1:null,__P_158_2:null,__P_158_3:null,__P_158_5:null,__P_158_6:null,__P_158_7:null,canHandleEvent(e,t){},registerEvent(e,t,r){},unregisterEvent(e,t,r){},_fireInputEvent(e,t){var r=this.__P_158_8(),i={},n=this;if(r&&0!=r.offsetWidth){var o=qx.event.Registration.createEvent("keyinput",qx.event.type.KeyInput,[e,r,t]);qx.event.Utils.then(i,(function(){n.__P_158_0.dispatchEvent(r,o)}))}if(this.__P_158_1){n=this;qx.event.Utils.then(i,(function(){return qx.event.Registration.fireEvent(n.__P_158_1,"useraction",qx.event.type.Data,["keyinput"])}))}return i.promise},_fireSequenceEvent(e,t,r){var i=this.__P_158_8(),n=e.keyCode,o={},a=this,s=qx.event.Registration.createEvent(t,qx.event.type.KeySequence,[e,i,r]);qx.event.Utils.then(o,(function(){return a.__P_158_0.dispatchEvent(i,s)}));s.getDefaultPrevented()&&"keydown"==t&&("mshtml"==qx.core.Environment.get("engine.name")||"webkit"==qx.core.Environment.get("engine.name")||"gecko"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.version")>=29)&&(qx.event.util.Keyboard.isNonPrintableKeyCode(n)||this._emulateKeyPress[n]||qx.event.Utils.then(o,(function(){return a._fireSequenceEvent(e,"keypress",r)})));this.__P_158_1&&qx.event.Utils.then(o,(function(){return qx.event.Registration.fireEvent(a.__P_158_1,"useraction",qx.event.type.Data,[t])}));return o.promise},__P_158_8(){var e=this.__P_158_0.getHandler(qx.event.handler.Focus),t=e.getActive();t&&0!=t.offsetWidth||(t=e.getFocus());t&&0!=t.offsetWidth||(t=this.__P_158_0.getWindow().document.body);return t},_initKeyObserver(){this.__P_158_4=qx.lang.Function.listener(this.__P_158_9,this);this.__P_158_7=qx.lang.Function.listener(this.__P_158_10,this);var e=qx.bom.Event;e.addNativeListener(this.__P_158_2,"keyup",this.__P_158_4);e.addNativeListener(this.__P_158_2,"keydown",this.__P_158_4);e.addNativeListener(this.__P_158_2,"keypress",this.__P_158_7)},_stopKeyObserver(){var e=qx.bom.Event;e.removeNativeListener(this.__P_158_2,"keyup",this.__P_158_4);e.removeNativeListener(this.__P_158_2,"keydown",this.__P_158_4);e.removeNativeListener(this.__P_158_2,"keypress",this.__P_158_7);for(var t in this.__P_158_6||{}){var r=this.__P_158_6[t];e.removeNativeListener(r.target,"keypress",r.callback)}delete this.__P_158_6},__P_158_9:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{"gecko|webkit|mshtml"(e){var t,r=e.type;t=e.keyCode;var i={},n=this;qx.event.Utils.track(i,this._idealKeyHandler(t,0,r,e));if("keydown"==r){var o=e.ctrlKey||e.altKey||e.metaKey;(qx.event.util.Keyboard.isNonPrintableKeyCode(t)||this._emulateKeyPress[t]||o)&&qx.event.Utils.then(i,(function(){return n._idealKeyHandler(t,0,"keypress",e)}))}this.__P_158_3[t]=r;return i.promise},opera(e){this.__P_158_5=e.keyCode;return this._idealKeyHandler(e.keyCode,0,e.type,e)}})),__P_158_11:qx.core.Environment.select("engine.name",{gecko(e,t,r){if("keydown"===t&&(33==r||34==r||38==r||40==r)&&"text"==e.type&&"input"===e.tagName.toLowerCase()&&"off"!==e.getAttribute("autoComplete")){this.__P_158_6||(this.__P_158_6={});var i=qx.core.ObjectRegistry.toHashCode(e);if(this.__P_158_6[i])return;var n=this;this.__P_158_6[i]={target:e,callback(e){qx.bom.Event.stopPropagation(e);n.__P_158_10(e)}};var o=qx.event.GlobalError.observeMethod(this.__P_158_6[i].callback);qx.bom.Event.addNativeListener(e,"keypress",o)}},default:null}),__P_158_10:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml(e){e=window.event||e;return this._charCode2KeyCode[e.keyCode]?this._idealKeyHandler(this._charCode2KeyCode[e.keyCode],0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)},gecko(e){if(qx.core.Environment.get("engine.version")<66){var t=e.charCode,r=e.type;return this._idealKeyHandler(e.keyCode,t,r,e)}return this._charCode2KeyCode[e.keyCode]?this._idealKeyHandler(this._charCode2KeyCode[e.keyCode],0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)},webkit(e){return this._charCode2KeyCode[e.keyCode]?this._idealKeyHandler(this._charCode2KeyCode[e.keyCode],0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)},opera(e){var t=e.keyCode,r=e.type;return t!=this.__P_158_5?this._idealKeyHandler(0,this.__P_158_5,r,e):qx.event.util.Keyboard.keyCodeToIdentifierMap[e.keyCode]?this._idealKeyHandler(e.keyCode,0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)}})),_idealKeyHandler(e,t,r,i){var n;if(e||!e&&!t){n=qx.event.util.Keyboard.keyCodeToIdentifier(e);return this._fireSequenceEvent(i,r,n)}n=qx.event.util.Keyboard.charCodeToIdentifier(t);var o={},a=this;qx.event.Utils.track(o,this._fireSequenceEvent(i,"keypress",n));return qx.event.Utils.then(o,(function(){return a._fireInputEvent(i,t)}))},_emulateKeyPress:qx.core.Environment.select("engine.name",{mshtml:{8:!0,9:!0},webkit:{8:!0,9:!0,27:!0},gecko:qx.core.Environment.get("browser.version")>=65?{8:!0,9:!0,27:!0}:{},default:{}}),_identifierToKeyCode:e=>qx.event.util.Keyboard.identifierToKeyCodeMap[e]||e.charCodeAt(0)},destruct(){this._stopKeyObserver();this.__P_158_5=this.__P_158_0=this.__P_158_1=this.__P_158_2=this.__P_158_3=null},defer(e,t){qx.event.Registration.addHandler(e);"opera"!==qx.core.Environment.get("engine.name")&&(t._charCode2KeyCode={13:13,27:27})}});qx.event.handler.Keyboard.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.UserAction":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.lang.Function":{construct:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.bom.Event":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.event.type.Mouse":{},"qx.event.type.MouseWheel":{},"qx.event.type.Data":{},"qx.bom.client.Event":{},"qx.bom.client.Engine":{require:!0},"qx.dom.Hierarchy":{}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"},"engine.name":{className:"qx.bom.client.Engine",load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Mouse",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this.__P_191_0=e;this.__P_191_1=e.getWindow();this.__P_191_2=this.__P_191_1.document;this.__P_191_3=qx.lang.Function.listener(this._onNative,this);this._initButtonObserver();this._initMoveObserver();this._initWheelObserver()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{auxclick:1,click:1,contextmenu:1,dblclick:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,mousewheel:1},NON_BUBBLING_EVENTS:{mouseenter:!0,mouseleave:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT+qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:!0},members:{__P_191_4:null,__P_191_5:null,__P_191_6:null,__P_191_7:null,__P_191_8:null,__P_191_0:null,__P_191_1:null,__P_191_2:null,__P_191_9:null,__P_191_3:null,canHandleEvent(e,t){},registerEvent(e,t,r){qx.event.handler.Mouse.NON_BUBBLING_EVENTS[t]?qx.bom.Event.addNativeListener(e,t,this.__P_191_3):"ios"===qx.core.Environment.get("os.name")&&(e["on"+t]=function(){return null})},unregisterEvent(e,t,r){qx.event.handler.Mouse.NON_BUBBLING_EVENTS[t]?qx.bom.Event.removeNativeListener(e,t,this.__P_191_3):"ios"===qx.core.Environment.get("os.name")&&(e["on"+t]=void 0)},_onNative:qx.event.GlobalError.observeMethod((function(e){let t=qx.bom.Event.getTarget(e);qx.event.Registration.fireNonBubblingEvent(t,e.type,qx.event.type.Mouse,[e,t,void 0,void 0,e.cancelable])})),__P_191_10(e,t,r){r||(r=qx.bom.Event.getTarget(e));r&&r.nodeType&&qx.event.Registration.fireEvent(r,t||e.type,"mousewheel"==t?qx.event.type.MouseWheel:qx.event.type.Mouse,[e,r,null,!0,!0]);qx.event.Registration.fireEvent(this.__P_191_1,"useraction",qx.event.type.Data,[t||e.type])},preventNextClick(){this.__P_191_9=!0},_initButtonObserver(){this.__P_191_4=qx.lang.Function.listener(this._onButtonEvent,this);var e=qx.bom.Event;e.addNativeListener(this.__P_191_2,"mousedown",this.__P_191_4);e.addNativeListener(this.__P_191_2,"mouseup",this.__P_191_4);e.addNativeListener(this.__P_191_2,"click",this.__P_191_4);e.addNativeListener(this.__P_191_2,"auxclick",this.__P_191_4);e.addNativeListener(this.__P_191_2,"dblclick",this.__P_191_4);e.addNativeListener(this.__P_191_2,"contextmenu",this.__P_191_4)},_initMoveObserver(){this.__P_191_5=qx.lang.Function.listener(this._onMoveEvent,this);var e=qx.bom.Event;e.addNativeListener(this.__P_191_2,"mousemove",this.__P_191_5);e.addNativeListener(this.__P_191_2,"mouseout",this.__P_191_5);e.addNativeListener(this.__P_191_2,"mouseover",this.__P_191_5)},_initWheelObserver(){this.__P_191_6=qx.lang.Function.listener(this._onWheelEvent,this);var e=qx.bom.client.Event.getMouseWheel(this.__P_191_1);qx.bom.Event.addNativeListener(e.target,e.type,this.__P_191_6)},_stopButtonObserver(){var e=qx.bom.Event;e.removeNativeListener(this.__P_191_2,"mousedown",this.__P_191_4);e.removeNativeListener(this.__P_191_2,"mouseup",this.__P_191_4);e.removeNativeListener(this.__P_191_2,"click",this.__P_191_4);e.removeNativeListener(this.__P_191_2,"dblclick",this.__P_191_4);e.removeNativeListener(this.__P_191_2,"contextmenu",this.__P_191_4)},_stopMoveObserver(){var e=qx.bom.Event;e.removeNativeListener(this.__P_191_2,"mousemove",this.__P_191_5);e.removeNativeListener(this.__P_191_2,"mouseover",this.__P_191_5);e.removeNativeListener(this.__P_191_2,"mouseout",this.__P_191_5)},_stopWheelObserver(){var e=qx.bom.client.Event.getMouseWheel(this.__P_191_1);qx.bom.Event.removeNativeListener(e.target,e.type,this.__P_191_6)},_onMoveEvent:qx.event.GlobalError.observeMethod((function(e){this.__P_191_10(e)})),_onButtonEvent:qx.event.GlobalError.observeMethod((function(e){var t=e.type,r=qx.bom.Event.getTarget(e);if("click"==t&&this.__P_191_9)delete this.__P_191_9;else{"gecko"!=qx.core.Environment.get("engine.name")&&"webkit"!=qx.core.Environment.get("engine.name")||r&&3==r.nodeType&&(r=r.parentNode);var i=qx.event.handler.DragDrop&&this.__P_191_0.getHandler(qx.event.handler.DragDrop).isSessionActive();if(!i||"click"!=t){this.__P_191_11&&this.__P_191_11(e,t,r);this.__P_191_10(e,t,r);"auxclick"==t&&1==e.button&&this.__P_191_10(e,"click",r);this.__P_191_12&&this.__P_191_12(e,t,r);this.__P_191_13&&!i&&this.__P_191_13(e,t,r);this.__P_191_7=t}}})),_onWheelEvent:qx.event.GlobalError.observeMethod((function(e){this.__P_191_10(e,"mousewheel")})),__P_191_12:qx.core.Environment.select("engine.name",{opera(e,t,r){"mouseup"==t&&2==e.button&&this.__P_191_10(e,"contextmenu",r)},default:null}),__P_191_11:qx.core.Environment.select("engine.name",{mshtml(e,t,r){void 0===e.target&&("mouseup"==t&&"click"==this.__P_191_7?this.__P_191_10(e,"mousedown",r):"dblclick"==t&&this.__P_191_10(e,"click",r))},default:null}),__P_191_13:qx.core.Environment.select("engine.name",{mshtml:null,default(e,t,r){switch(t){case"mousedown":this.__P_191_8=r;break;case"mouseup":if(r!==this.__P_191_8){var i=qx.dom.Hierarchy.getCommonParent(r,this.__P_191_8);i&&this.__P_191_10(e,"click",i)}}}})},destruct(){this._stopButtonObserver();this._stopMoveObserver();this._stopWheelObserver();this.__P_191_0=this.__P_191_1=this.__P_191_2=this.__P_191_8=null},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Mouse.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.core.ObjectRegistry":{},"qx.lang.Function":{},"qx.bom.Event":{},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.event.type.Native":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Element",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this._manager=e;this._registeredEvents={}},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{abort:!0,load:!0,scroll:!0,select:!0,reset:!0,submit:!0},CANCELABLE:{selectstart:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!1},members:{canHandleEvent:(e,t)=>"load"!==t||"iframe"!==e.tagName.toLowerCase(),registerEvent(e,t,r){var i=qx.core.ObjectRegistry.toHashCode(e)+"-"+t,n=qx.lang.Function.listener(this._onNative,this,i);qx.bom.Event.addNativeListener(e,t,n);this._registeredEvents[i]={element:e,type:t,listener:n}},unregisterEvent(e,t,r){if(this._registeredEvents){var i=qx.core.ObjectRegistry.toHashCode(e)+"-"+t,n=this._registeredEvents[i];n&&qx.bom.Event.removeNativeListener(e,t,n.listener);delete this._registeredEvents[i]}},_onNative:qx.event.GlobalError.observeMethod((function(e,t){var r=this._registeredEvents;if(r){var i=r[t],n=e.cancelable||this.constructor.CANCELABLE[i.type];qx.event.Registration.fireNonBubblingEvent(i.element,i.type,qx.event.type.Native,[e,void 0,void 0,void 0,n])}}))},destruct(){var e,t=this._registeredEvents;for(var r in t){e=t[r];qx.bom.Event.removeNativeListener(e.element,e.type,e.listener)}this._manager=this._registeredEvents=null},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Element.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.core.ObjectRegistry":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.event.Utils":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Appear",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this.__P_151_0=e;this.__P_151_1={};qx.event.handler.Appear.__P_151_2[this.toHashCode()]=this},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{appear:!0,disappear:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!0,__P_151_2:{},refresh(){var e=this.__P_151_2;for(var t in e)e[t].refresh()}},members:{__P_151_0:null,__P_151_1:null,canHandleEvent(e,t){},registerEvent(e,t,r){var i=qx.core.ObjectRegistry.toHashCode(e)+t,n=this.__P_151_1;if(n&&!n[i]){n[i]=e;e.$$displayed=e.offsetWidth>0}},unregisterEvent(e,t,r){var i=qx.core.ObjectRegistry.toHashCode(e)+t,n=this.__P_151_1;n&&n[i]&&delete n[i]},refresh(){var e=this.__P_151_1,t="mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9,r={},i=this;Object.keys(e).forEach((function(n){var o=e[n];void 0!==o&&qx.event.Utils.then(r,(function(){var e=o.offsetWidth>0;!e&&t&&(e=o.offsetWidth>0);if(!!o.$$displayed!==e){o.$$displayed=e;var r=qx.event.Registration.createEvent(e?"appear":"disappear");return i.__P_151_0.dispatchEvent(o,r)}}))}));return r.promise}},destruct(){this.__P_151_0=this.__P_151_1=null;delete qx.event.handler.Appear.__P_151_2[this.toHashCode()]},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Appear.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.lang.Function":{},"qx.bom.Event":{},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.Viewport":{},"qx.event.type.Orientation":{}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Orientation",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this.__P_212_0=e;this.__P_212_1=e.getWindow();this._initObserver()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{orientationchange:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:!0},members:{__P_212_0:null,__P_212_1:null,__P_212_2:null,_currentOrientation:null,__P_212_3:null,canHandleEvent(e,t){},registerEvent(e,t,r){},unregisterEvent(e,t,r){},_initObserver(){this.__P_212_3=qx.lang.Function.listener(this._onNative,this);this.__P_212_2=qx.bom.Event.supportsEvent(this.__P_212_1,"orientationchange")?"orientationchange":"resize";qx.bom.Event.addNativeListener(this.__P_212_1,this.__P_212_2,this.__P_212_3)},_stopObserver(){qx.bom.Event.removeNativeListener(this.__P_212_1,this.__P_212_2,this.__P_212_3)},_onNative:qx.event.GlobalError.observeMethod((function(e){var t=0;"android"==qx.core.Environment.get("os.name")&&(t=300);qx.lang.Function.delay(this._onOrientationChange,t,this,e)})),_onOrientationChange(e){var t=qx.bom.Viewport,r=t.getOrientation(e.target);if(this._currentOrientation!=r){this._currentOrientation=r;var i=t.isLandscape(e.target)?"landscape":"portrait";qx.event.Registration.fireEvent(this.__P_212_1,"orientationchange",qx.event.type.Orientation,[r,i])}}},destruct(){this._stopObserver();this.__P_212_0=this.__P_212_1=null},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Orientation.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Native":{require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"},"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Dom",{extend:qx.event.type.Native,statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8,CAPSLOCK_MASK:16,NUMLOCK_MASK:32,SCROLLLOCK_MASK:64},members:{_cloneNativeEvent(e,t){(t=qx.event.type.Dom.superclass.prototype._cloneNativeEvent.call(this,e,t)).shiftKey=e.shiftKey;t.ctrlKey=e.ctrlKey;t.altKey=e.altKey;t.metaKey=e.metaKey;if("function"==typeof e.getModifierState){t.numLock=e.getModifierState("NumLock");t.capsLock=e.getModifierState("CapsLock");t.scrollLock=e.getModifierState("ScrollLock")}else{t.numLock=!1;t.capsLock=!1;t.scrollLock=!1}return t},getModifiers(){var e=0,t=this._native;t.shiftKey&&(e|=qx.event.type.Dom.SHIFT_MASK);t.ctrlKey&&(e|=qx.event.type.Dom.CTRL_MASK);t.altKey&&(e|=qx.event.type.Dom.ALT_MASK);t.metaKey&&(e|=qx.event.type.Dom.META_MASK);return e},getKeyLockState(){var e=0,t=this._native;t.capsLock&&(e|=qx.event.type.Dom.CAPSLOCK_MASK);t.numLock&&(e|=qx.event.type.Dom.NUMLOCK_MASK);t.scrollLock&&(e|=qx.event.type.Dom.SCROLLLOCK_MASK);return e},isCtrlPressed(){return this._native.ctrlKey},isShiftPressed(){return this._native.shiftKey},isAltPressed(){return this._native.altKey},isMetaPressed(){return this._native.metaKey},isCapsLocked(){return this._native.capsLock},isNumLocked(){return this._native.numLock},isScrollLocked(){return this._native.scrollLock},isCtrlOrCommandPressed(){return"osx"==qx.core.Environment.get("os.name")&&"opera"!=qx.core.Environment.get("engine.name")?this._native.metaKey:this._native.ctrlKey}}});qx.event.type.Dom.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Dom":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.Engine":{require:!0},"qx.dom.Node":{},"qx.bom.Viewport":{}},environment:{provided:[],required:{"browser.name":{className:"qx.bom.client.Browser"},"browser.documentmode":{className:"qx.bom.client.Browser"},"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Mouse",{extend:qx.event.type.Dom,members:{_cloneNativeEvent(e,t){t=qx.event.type.Mouse.superclass.prototype._cloneNativeEvent.call(this,e,t);switch(e.type){case"mousemove":case"mouseenter":case"mouseleave":case"mouseover":case"mouseout":t.button=-1;break;default:t.button=e.button}t.buttons=e.buttons;t.clientX=Math.round(e.clientX);t.clientY=Math.round(e.clientY);t.pageX=e.pageX?Math.round(e.pageX):void 0;t.pageY=e.pageY?Math.round(e.pageY):void 0;t.screenX=Math.round(e.screenX);t.screenY=Math.round(e.screenY);t.wheelDelta=e.wheelDelta;t.wheelDeltaX=e.wheelDeltaX;t.wheelDeltaY=e.wheelDeltaY;t.delta=e.delta;t.deltaX=e.deltaX;t.deltaY=e.deltaY;t.deltaZ=e.deltaZ;t.detail=e.detail;t.axis=e.axis;t.wheelX=e.wheelX;t.wheelY=e.wheelY;t.HORIZONTAL_AXIS=e.HORIZONTAL_AXIS;t.srcElement=e.srcElement;t.target=e.target;return t},__P_211_0:{0:"left",2:"right",1:"middle"},__P_211_1:{0:"none",1:"left",2:"right",4:"middle"},__P_211_2:{1:"left",2:"right",4:"middle"},stop(){this.stopPropagation()},getButton(){switch(this._type){case"contextmenu":return"right";case"click":if("ie"===qx.core.Environment.get("browser.name")&&qx.core.Environment.get("browser.documentmode")<9)return"left";default:return"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<=8?this.__P_211_2[this._native.button]||"none":-1===this._native.button?this.__P_211_1[this._native.buttons]||"none":this.__P_211_0[this._native.button]||"none"}},isLeftPressed(){return"left"===this.getButton()},isMiddlePressed(){return"middle"===this.getButton()},isRightPressed(){return"right"===this.getButton()},getRelatedTarget(){return this._relatedTarget},getViewportLeft(){return Math.round(this._native.clientX)},getViewportTop(){return Math.round(this._native.clientY)},getDocumentLeft(){if(void 0!==this._native.pageX)return Math.round(this._native.pageX);if(this._native.srcElement){var e=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(e)}return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(window)},getDocumentTop(){if(void 0!==this._native.pageY)return Math.round(this._native.pageY);if(this._native.srcElement){var e=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(e)}return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(window)},getScreenLeft(){return Math.round(this._native.screenX)},getScreenTop(){return Math.round(this._native.screenY)}}});qx.event.type.Mouse.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Mouse":{require:!0},"qx.bom.Event":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Pointer",{extend:qx.event.type.Mouse,members:{_cloneNativeEvent(e,t){(t=qx.event.type.Pointer.superclass.prototype._cloneNativeEvent.call(this,e,t)).pointerId=e.pointerId;t.width=e.width;t.height=e.height;t.pressure=e.pressure;t.tiltX=e.tiltX;t.tiltY=e.tiltY;t.pointerType=e.pointerType;t.isPrimary=e.isPrimary;t._original=e._original;t.MSPOINTER_TYPE_MOUSE=e.MSPOINTER_TYPE_MOUSE;t.MSPOINTER_TYPE_PEN=e.MSPOINTER_TYPE_PEN;t.MSPOINTER_TYPE_TOUCH=e.MSPOINTER_TYPE_TOUCH;return t},getDocumentLeft(){var e=qx.event.type.Pointer.superclass.prototype.getDocumentLeft.call(this);0==e&&"touch"==this.getPointerType()&&void 0!==this._native._original&&(e=Math.round(this._native._original.changedTouches[0].pageX)||0);return e},getDocumentTop(){var e=qx.event.type.Pointer.superclass.prototype.getDocumentTop.call(this);0==e&&"touch"==this.getPointerType()&&void 0!==this._native._original&&(e=Math.round(this._native._original.changedTouches[0].pageY)||0);return e},getPointerId(){return this._native.pointerId||0},getWidth(){return this._native.width||0},getHeight(){return this._native.height||0},getPressure(){return this._native.pressure||0},getTiltX(){return this._native.tiltX||0},getTiltY(){return this._native.tiltY||0},getOriginalTarget(){if(this._native&&this._native._original){var e=this._native._original;try{if(0==e.type.indexOf("touch")&&e.changedTouches[0])return document.elementFromPoint(e.changedTouches[0].clientX,e.changedTouches[0].clientY)}catch(e){return qx.bom.Event.getTarget(this._native)}return qx.bom.Event.getTarget(e)}return this._native?qx.bom.Event.getTarget(this._native):qx.event.type.Pointer.superclass.prototype.getOriginalTarget.call(this)},getPointerType(){if("string"==typeof this._native.pointerType)return this._native.pointerType;if("number"==typeof this._native.pointerType){if(this._native.pointerType==this._native.MSPOINTER_TYPE_MOUSE)return"mouse";if(this._native.pointerType==this._native.MSPOINTER_TYPE_PEN)return"pen";if(this._native.pointerType==this._native.MSPOINTER_TYPE_TOUCH)return"touch"}return""},isPrimary(){return!!this._native.isPrimary}}});qx.event.type.Pointer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Tap",{extend:qx.event.type.Pointer});qx.event.type.Tap.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Swipe",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent(e,t){(t=qx.event.type.Swipe.superclass.prototype._cloneNativeEvent.call(this,e,t)).swipe=e.swipe;return t},getStartTime(){return this._native.swipe.startTime},getDuration(){return this._native.swipe.duration},getAxis(){return this._native.swipe.axis},getDirection(){return this._native.swipe.direction},getVelocity(){return this._native.swipe.velocity},getDistance(){return this._native.swipe.distance}}});qx.event.type.Swipe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Track",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent(e,t){(t=qx.event.type.Track.superclass.prototype._cloneNativeEvent.call(this,e,t)).delta=e.delta;return t},getDelta(){return this._native.delta}}});qx.event.type.Track.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Rotate",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent(e,t){(t=qx.event.type.Rotate.superclass.prototype._cloneNativeEvent.call(this,e,t)).angle=e.angle;return t},getAngle(){return this._native.angle}}});qx.event.type.Rotate.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Pinch",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent(e,t){(t=qx.event.type.Pinch.superclass.prototype._cloneNativeEvent.call(this,e,t)).scale=e.scale;return t},getScale(){return this._native.scale}}});qx.event.type.Pinch.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Device":{require:!0},"qx.lang.Function":{},"qx.bom.client.Event":{require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.Event":{},"qx.bom.client.Browser":{require:!0},"qx.bom.element.Style":{}},environment:{provided:[],required:{"os.name":{load:!0,className:"qx.bom.client.OperatingSystem"},"device.touch":{load:!0,className:"qx.bom.client.Device"},"event.mspointer":{className:"qx.bom.client.Event"},"engine.version":{className:"qx.bom.client.Engine"},"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.handler.TouchCore",{extend:Object,implement:[qx.core.IDisposable],statics:{TAP_MAX_DISTANCE:"android"!=qx.core.Environment.get("os.name")?10:40,SWIPE_DIRECTION:{x:["left","right"],y:["up","down"]},SWIPE_MIN_DISTANCE:"android"!=qx.core.Environment.get("os.name")?11:41,SWIPE_MIN_VELOCITY:0,LONGTAP_TIME:qx.core.Environment.get("device.touch")?500:99999},construct(e,t){this.__P_213_0=e;this.__P_213_1=t;this._initTouchObserver();this.__P_213_2=[];this.__P_213_3={}},members:{__P_213_0:null,__P_213_1:null,__P_213_4:null,__P_213_5:null,__P_213_3:null,__P_213_6:null,__P_213_7:null,__P_213_8:null,__P_213_2:null,__P_213_9:null,_initTouchObserver(){this.__P_213_4=qx.lang.Function.listener(this._onTouchEvent,this);this.__P_213_9=["touchstart","touchmove","touchend","touchcancel"];if(qx.core.Environment.get("event.mspointer")){var e=parseInt(qx.core.Environment.get("engine.version"),10);this.__P_213_9=10==e?["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerCancel"]:["pointerdown","pointermove","pointerup","pointercancel"]}for(var t=0;tMath.sqrt(Math.pow(e.pageX-t.pageX,2)+Math.pow(e.pageY-t.pageY,2)),_getRotationAngle(e,t){var r=e.pageX-t.pageX,i=e.pageY-t.pageY;return 180*Math.atan2(i,r)/Math.PI},_calcTouchesDelta(e){for(var t=[],r=0;r1){this.__P_213_7=this._getScalingDistance(e.touches[0],e.touches[1]);this.__P_213_8=this._getRotationAngle(e.touches[0],e.touches[1])}for(var i=0;i1){var o=this._getScalingDistance(e.targetTouches[0],e.targetTouches[1]);e.scale=o/this.__P_213_7}if((void 0===e.rotation||qx.core.Environment.get("event.mspointer"))&&e.targetTouches.length>1){var a=this._getRotationAngle(e.targetTouches[0],e.targetTouches[1]);e._rotation=a-this.__P_213_8}e.delta=this._calcTouchesDelta(e.targetTouches)}this._fireEvent(e,t,this.__P_213_5);qx.core.Environment.get("event.mspointer")&&("touchend"!=t&&"touchcancel"!=t||delete this.__P_213_2[e.pointerId]);"touchend"!=t&&"touchcancel"!=t||!e.changedTouches[0]||delete this.__P_213_3[e.changedTouches[0].identifier]},_detectTouchesByPointer(e,t){var r=[];("touchstart"==t||"touchmove"==t)&&(this.__P_213_2[e.pointerId]=e);for(var i in this.__P_213_2){var n=this.__P_213_2[i];r.push(n)}return r},_mapPointerEvent:e=>-1!==(e=e.toLowerCase()).indexOf("pointerdown")?"touchstart":-1!==e.indexOf("pointerup")?"touchend":-1!==e.indexOf("pointermove")?"touchmove":-1!==e.indexOf("pointercancel")?"touchcancel":e,_getTarget(e){var t=qx.bom.Event.getTarget(e);if("webkit"==qx.core.Environment.get("engine.name"))t&&3==t.nodeType&&(t=t.parentNode);else if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<11){var r=this.__P_213_10(e);r&&(t=r)}return t},__P_213_10(e){var t=null,r=null;if(e&&e.touches&&0!==e.touches.length){t=e.touches[0].clientX;r=e.touches[0].clientY}var i=document.msElementsFromPoint(t,r);if(i)for(var n=0;n=9&&qx.core.Environment.get("browser.documentmode")<9)){if(!e.__P_194_4){var i=e.tagName.toLowerCase(),n=e.type;"text"!==n&&"password"!==n&&"textarea"!==i&&"checkbox"!==n&&"radio"!==n||qx.bom.Event.addNativeListener(e,"propertychange",this._onPropertyWrapper);"checkbox"!==n&&"radio"!==n&&qx.bom.Event.addNativeListener(e,"change",this._onChangeValueWrapper);if("text"===n||"password"===n){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,e);qx.bom.Event.addNativeListener(e,"keypress",this._onKeyPressWrapped)}e.__P_194_4=!0}}else if("input"===t)this.__P_194_5(e);else if("change"===t){"radio"===e.type||"checkbox"===e.type?qx.bom.Event.addNativeListener(e,"change",this._onChangeCheckedWrapper):qx.bom.Event.addNativeListener(e,"change",this._onChangeValueWrapper);if(!("opera"!=qx.core.Environment.get("engine.name")&&"mshtml"!=qx.core.Environment.get("engine.name")||"text"!==e.type&&"password"!==e.type)){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,e);qx.bom.Event.addNativeListener(e,"keypress",this._onKeyPressWrapped)}}},__P_194_5:qx.core.Environment.select("engine.name",{mshtml(e){if(qx.core.Environment.get("engine.version")>=9&&qx.core.Environment.get("browser.documentmode")>=9){qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper);if("text"===e.type||"password"===e.type||"textarea"===e.type){this._inputFixWrapper=qx.lang.Function.listener(this._inputFix,this,e);qx.bom.Event.addNativeListener(e,"keyup",this._inputFixWrapper)}}},webkit(e){var t=e.tagName.toLowerCase();parseFloat(qx.core.Environment.get("engine.version"))<532&&"textarea"==t&&qx.bom.Event.addNativeListener(e,"keypress",this._onInputWrapper);qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper)},opera(e){qx.bom.Event.addNativeListener(e,"keyup",this._onKeyUpWrapper);qx.bom.Event.addNativeListener(e,"keydown",this._onKeyDownWrapper);qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper)},default(e){qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper)}}),unregisterEvent(e,t){if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("engine.version")<9&&qx.core.Environment.get("browser.documentmode")<9){if(e.__P_194_4){var r=e.tagName.toLowerCase(),i=e.type;"text"!==i&&"password"!==i&&"textarea"!==r&&"checkbox"!==i&&"radio"!==i||qx.bom.Event.removeNativeListener(e,"propertychange",this._onPropertyWrapper);"checkbox"!==i&&"radio"!==i&&qx.bom.Event.removeNativeListener(e,"change",this._onChangeValueWrapper);"text"!==i&&"password"!==i||qx.bom.Event.removeNativeListener(e,"keypress",this._onKeyPressWrapped);try{delete e.__P_194_4}catch(t){e.__P_194_4=null}}}else{"input"===t?this.__P_194_6(e):"change"===t&&("radio"===e.type||"checkbox"===e.type?qx.bom.Event.removeNativeListener(e,"change",this._onChangeCheckedWrapper):qx.bom.Event.removeNativeListener(e,"change",this._onChangeValueWrapper));"opera"!=qx.core.Environment.get("engine.name")&&"mshtml"!=qx.core.Environment.get("engine.name")||"text"!==e.type&&"password"!==e.type||qx.bom.Event.removeNativeListener(e,"keypress",this._onKeyPressWrapped)}},__P_194_6:qx.core.Environment.select("engine.name",{mshtml(e){if(qx.core.Environment.get("engine.version")>=9&&qx.core.Environment.get("browser.documentmode")>=9){qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper);"text"!==e.type&&"password"!==e.type&&"textarea"!==e.type||qx.bom.Event.removeNativeListener(e,"keyup",this._inputFixWrapper)}},webkit(e){var t=e.tagName.toLowerCase();parseFloat(qx.core.Environment.get("engine.version"))<532&&"textarea"==t&&qx.bom.Event.removeNativeListener(e,"keypress",this._onInputWrapper);qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper)},opera(e){qx.bom.Event.removeNativeListener(e,"keyup",this._onKeyUpWrapper);qx.bom.Event.removeNativeListener(e,"keydown",this._onKeyDownWrapper);qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper)},default(e){qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper)}}),_onKeyPress:qx.core.Environment.select("engine.name",{mshtml(e,t){if(13===e.keyCode&&t.value!==this.__P_194_2){this.__P_194_2=t.value;qx.event.Registration.fireEvent(t,"change",qx.event.type.Data,[t.value])}},opera(e,t){if(13===e.keyCode&&t.value!==this.__P_194_2){this.__P_194_2=t.value;qx.event.Registration.fireEvent(t,"change",qx.event.type.Data,[t.value])}},default:null}),_inputFix:qx.core.Environment.select("engine.name",{mshtml(e,t){if((46===e.keyCode||8===e.keyCode)&&t.value!==this.__P_194_3){this.__P_194_3=t.value;qx.event.Registration.fireEvent(t,"input",qx.event.type.Data,[t.value])}},default:null}),_onKeyDown:qx.core.Environment.select("engine.name",{opera(e){13===e.keyCode&&(this.__P_194_0=!0)},default:null}),_onKeyUp:qx.core.Environment.select("engine.name",{opera(e){13===e.keyCode&&(this.__P_194_0=!1)},default:null}),_onInput:qx.event.GlobalError.observeMethod((function(e){var t=qx.bom.Event.getTarget(e),r=t.tagName.toLowerCase();this.__P_194_0&&"input"===r||("opera"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.version")<10.6?this.__P_194_1=window.setTimeout((function(){qx.event.Registration.fireEvent(t,"input",qx.event.type.Data,[t.value])}),0):qx.event.Registration.fireEvent(t,"input",qx.event.type.Data,[t.value]))})),_onChangeValue:qx.event.GlobalError.observeMethod((function(e){var t=qx.bom.Event.getTarget(e),r=t.value;if("select-multiple"===t.type){r=[];for(var i=0,n=t.options,o=n.length;i=8&&(e.READONLY_PROPERTIES=e.READONLY_PROPERTIES.concat(e.MOUSE_PROPERTIES))}});qx.event.type.dom.Pointer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.dispatch.DomBubbling":{require:!0,defer:"runtime"},"qx.event.type.Pointer":{require:!0,defer:"runtime"},"qx.event.type.dom.Pointer":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.handler.PointerCore":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.Event":{},"qx.event.Utils":{},"qx.event.type.Data":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"},"browser.name":{className:"qx.bom.client.Browser"},"browser.version":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Pointer",{extend:qx.event.handler.PointerCore,implement:[qx.event.IEventHandler,qx.core.IDisposable],statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{pointermove:1,pointerover:1,pointerout:1,pointerdown:1,pointerup:1,pointercancel:1,gesturebegin:1,gesturemove:1,gesturefinish:1,gesturecancel:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT,IGNORE_CAN_HANDLE:!0},construct(e){this.__P_195_0=e;this.__P_195_1=e.getWindow();this.__P_195_2=this.__P_195_1.document;qx.event.handler.PointerCore.apply(this,[this.__P_195_2])},members:{__P_195_0:null,__P_195_1:null,__P_195_2:null,canHandleEvent(e,t){},registerEvent(e,t,r){},unregisterEvent(e,t,r){},_initPointerObserver(){var e=!1;"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9&&(e=!0);this._initObserver(this._onPointerEvent,e)},_fireEvent(e,t,r){r||(r=qx.bom.Event.getTarget(e));for(;r&&r.getAttribute&&r.getAttribute("qxanonymous");)r=r.parentNode;t||(t=e.type);t=qx.event.handler.PointerCore.MSPOINTER_TO_POINTER_MAPPING[t]||t;if(r&&r.nodeType){qx.event.type.dom.Pointer.normalize(e);if("msie"===qx.core.Environment.get("browser.name")&&qx.core.Environment.get("browser.version")<9)try{e.srcElement=r}catch(e){}var i={},n=this;qx.event.Utils.track(i,(function(){return qx.event.Registration.fireEvent(r,t,qx.event.type.Pointer,[e,r,null,!0,!0])}));qx.event.Utils.then(i,(function(){if(("mouse"!==e.getPointerType()||e.button<=qx.event.handler.PointerCore.LEFT_BUTTON)&&("pointerdown"==t||"pointerup"==t||"pointermove"==t||"pointercancel"==t))return qx.event.Registration.fireEvent(n.__P_195_2,qx.event.handler.PointerCore.POINTER_TO_GESTURE_MAPPING[t],qx.event.type.Pointer,[e,r,null,!1,!1])}));qx.event.Utils.then(i,(function(){return qx.event.Registration.fireEvent(n.__P_195_1,"useraction",qx.event.type.Data,[t])}));return i.promise}},_onPointerEvent(e){if(!e._original||!e._original[this._processedFlag]){var t=qx.event.handler.PointerCore.MSPOINTER_TO_POINTER_MAPPING[e.type]||e.type;return this._fireEvent(e,t,qx.bom.Event.getTarget(e))}},dispose(){this.__P_195_3("dispose");this.__P_195_0=this.__P_195_1=this.__P_195_2=null},__P_195_3(e,t){qx.event.handler.PointerCore.prototype[e].apply(this,t||[])}},defer(e){qx.event.Registration.addHandler(e);qx.event.Registration.getManager(document).getHandler(e)}});qx.event.handler.Pointer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.Device":{require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.Event":{require:!0},"qx.bom.Event":{},"qx.bom.AnimationFrame":{},"qx.lang.Function":{},"qx.event.type.dom.Custom":{},"qx.util.Wheel":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.event.Timer":{}},environment:{provided:[],required:{"device.touch":{load:!0,className:"qx.bom.client.Device"},"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"},"event.mousewheel":{className:"qx.bom.client.Event"},"event.dispatchevent":{className:"qx.bom.client.Event"},"os.name":{className:"qx.bom.client.OperatingSystem"},"os.version":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.handler.GestureCore",{extend:Object,implement:[qx.core.IDisposable],statics:{TYPES:["tap","swipe","longtap","dbltap","track","trackstart","trackend","rotate","pinch","roll"],GESTURE_EVENTS:["gesturebegin","gesturefinish","gesturemove","gesturecancel"],TAP_MAX_DISTANCE:{touch:40,mouse:5,pen:20},DOUBLETAP_MAX_DISTANCE:{touch:10,mouse:4,pen:10},SWIPE_DIRECTION:{x:["left","right"],y:["up","down"]},LONGTAP_TIME:qx.core.Environment.get("device.touch")?500:99999,DOUBLETAP_TIME:500,ROLL_FACTOR:18,TOUCHPAD_ROLL_FACTOR:1,TOUCHPAD_WHEEL_EVENTS_THRESHOLD:10,TOUCHPAD_WHEEL_EVENTS_PERIOD:100,TOUCHPAD_WHEEL_EVENTS_TIMEOUT:5e3},construct(e,t){this.__P_198_0=e;this.__P_198_1=t;this.__P_198_2={};this.__P_198_3={};this.__P_198_4={};this.__P_198_5={};this.__P_198_6=[];this._initObserver()},members:{__P_198_0:null,__P_198_1:null,__P_198_2:null,__P_198_7:null,__P_198_8:null,__P_198_9:null,__P_198_10:null,__P_198_3:null,__P_198_11:null,__P_198_4:null,__P_198_12:null,__P_198_5:null,__P_198_6:null,__P_198_13:0,__P_198_14:0,__P_198_15:!1,__P_198_16:0,_initObserver(){qx.event.handler.GestureCore.GESTURE_EVENTS.forEach(function(e){qxWeb(this.__P_198_0).on(e,this.checkAndFireGesture,this)}.bind(this));"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9&&qxWeb(this.__P_198_0).on("dblclick",this._onDblClick,this);var e=qx.core.Environment.get("event.mousewheel");qxWeb(e.target).on(e.type,this._fireRoll,this)},_stopObserver(){qx.event.handler.GestureCore.GESTURE_EVENTS.forEach(function(e){qxWeb(this.__P_198_0).off(e,this.checkAndFireGesture,this)}.bind(this));"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9&&qxWeb(this.__P_198_0).off("dblclick",this._onDblClick,this);var e=qx.core.Environment.get("event.mousewheel");qxWeb(e.target).off(e.type,this._fireRoll,this)},checkAndFireGesture(e,t,r){t||(t=e.type);r||(r=qx.bom.Event.getTarget(e));"gesturebegin"==t?this.gestureBegin(e,r):"gesturemove"==t?this.gestureMove(e,r):"gesturefinish"==t?this.gestureFinish(e,r):"gesturecancel"==t&&this.gestureCancel(e.pointerId)},gestureBegin(e,t){if(this.__P_198_2[e.pointerId]){this.__P_198_17(this.__P_198_2[e.pointerId]);delete this.__P_198_2[e.pointerId]}if(!this._hasIntermediaryHandler(t)){this.__P_198_2[e.pointerId]={startTime:(new Date).getTime(),lastEventTime:(new Date).getTime(),startX:e.clientX,startY:e.clientY,clientX:e.clientX,clientY:e.clientY,velocityX:0,velocityY:0,target:t,isTap:!0,isPrimary:e.isPrimary,longTapTimer:window.setTimeout(this.__P_198_18.bind(this,e,t),qx.event.handler.GestureCore.LONGTAP_TIME)};if(e.isPrimary){this.__P_198_9=!1;this.__P_198_8=t;this.__P_198_19("trackstart",e,t)}else{this.__P_198_9=!0;if(2===Object.keys(this.__P_198_2).length){this.__P_198_10=this._calcAngle();this.__P_198_12=this._calcDistance()}}}},gestureMove(e,t){var r=this.__P_198_2[e.pointerId];if(r){var i=r.clientX,n=r.clientY;r.clientX=e.clientX;r.clientY=e.clientY;r.lastEventTime=(new Date).getTime();i&&(r.velocityX=r.clientX-i);n&&(r.velocityY=r.clientY-n);if(2===Object.keys(this.__P_198_2).length){this.__P_198_20(e,r.target);this.__P_198_21(e,r.target)}if(!this.__P_198_9){this.__P_198_19("track",e,r.target);this._fireRoll(e,"touch",r.target)}if(r.isTap){r.isTap=this._isBelowTapMaxDistance(e);r.isTap||this.__P_198_17(r)}}},_hasIntermediaryHandler(e){for(;e&&e!==this.__P_198_0;){if(e.$$gestureHandler)return!0;e=e.parentNode}return!1},gestureFinish(e,t){if(this.__P_198_2[e.pointerId]){var r=this.__P_198_2[e.pointerId];this.__P_198_17(r);if(!this._hasIntermediaryHandler(t)){this.__P_198_22(r.velocityX,r.velocityY,e,r.target);this.__P_198_19("trackend",e,r.target);if(r.isTap){if(t!==r.target){delete this.__P_198_2[e.pointerId];return}this._fireEvent(e,"tap",e.target||t);var i=!1;if(Object.keys(this.__P_198_3).length>0){var n=Date.now()-qx.event.handler.GestureCore.DOUBLETAP_TIME;for(var o in this.__P_198_3)if(o=Math.abs(n.y)?"x":"y",s=n[a],l=i.SWIPE_DIRECTION[a][s<0?0:1],u=0!==o?s/o:0;return{startTime:r.startTime,duration:o,axis:a,direction:l,distance:s,velocity:u}},__P_198_19(e,t,r){t.delta=this._getDeltaCoordinates(t);this._fireEvent(t,e,t.target||r)},__P_198_25(e,t,r){e.delta={x:qx.util.Wheel.getDelta(e,"x")*r,y:qx.util.Wheel.getDelta(e,"y")*r};e.delta.axis=Math.abs(e.delta.x/e.delta.y)<1?"y":"x";e.pointerType="wheel";this._fireEvent(e,"roll",e.target||t)},__P_198_26(e){var t=qx.event.handler.GestureCore.ROLL_FACTOR;qx.util.Wheel.IS_TOUCHPAD&&(t=qx.event.handler.GestureCore.TOUCHPAD_ROLL_FACTOR);this.__P_198_16=(new Date).getTime();for(var r=this.__P_198_6.length,i=0;iqx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_THRESHOLD?qx.util.Wheel.IS_TOUCHPAD=!0:qx.util.Wheel.IS_TOUCHPAD=!1;this.__P_198_15=!0},_isTouchPadDetectionEnabled:()=>"osx"==qx.core.Environment.get("os.name")&&qx.core.Environment.get("os.version")>=10.12,_fireRoll(e,t,r){var i,n;if(e.type===qx.core.Environment.get("event.mousewheel").type)if(this._isTouchPadDetectionEnabled()){i=(new Date).getTime();n=qx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_TIMEOUT;if(this.__P_198_16>0&&i-this.__P_198_16>n){this.__P_198_15=!1;this.__P_198_6=[];this.__P_198_16=0}if(!this.__P_198_15){if(0===this.__P_198_6.length){this.__P_198_13=i;qx.event.Timer.once((function(){if(!this.__P_198_15){this.__P_198_27();this.__P_198_26(r)}}),this,qx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_PERIOD+50)}this.__P_198_6.push(e);this.__P_198_14++;i-this.__P_198_13>qx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_PERIOD&&this.__P_198_27()}if(this.__P_198_15){0===this.__P_198_6.length&&this.__P_198_6.push(e);this.__P_198_26(r)}}else this.__P_198_25(e,r,qx.event.handler.GestureCore.ROLL_FACTOR);else{var o=this.__P_198_2[e.pointerId];e.delta={x:-o.velocityX,y:-o.velocityY,axis:Math.abs(o.velocityX/o.velocityY)<1?"y":"x"};this._fireEvent(e,"roll",e.target||r)}},__P_198_20(e,t){if(!e.isPrimary){var r=this._calcAngle();e.angle=Math.round((r-this.__P_198_10)%360);this._fireEvent(e,"rotate",this.__P_198_8)}},__P_198_21(e,t){if(!e.isPrimary){var r=this._calcDistance()/this.__P_198_12;e.scale=Math.round(100*r)/100;this._fireEvent(e,"pinch",this.__P_198_8)}},__P_198_18(e,t){var r=this.__P_198_2[e.pointerId];if(r){this._fireEvent(e,"longtap",e.target||t);r.longTapTimer=null;r.isTap=!1}},__P_198_17(e){if(e.longTapTimer){window.clearTimeout(e.longTapTimer);e.longTapTimer=null}},dispose(){for(var e in this.__P_198_2)this.__P_198_17(e);this._stopObserver();this.__P_198_0=this.__P_198_1=null}}});qx.event.handler.GestureCore.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0},"qx.event.Registration":{},"qx.event.handler.Gesture":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Roll",{extend:qx.event.type.Pointer,members:{stop(){this.stopPropagation();this.preventDefault()},_cloneNativeEvent(e,t){(t=qx.event.type.Roll.superclass.prototype._cloneNativeEvent.call(this,e,t)).delta=e.delta;t.momentum=e.momentum;t.timeoutId=e.timeoutId;return t},getMomentum(){return this._native.momentum},stopMomentum(){this._native.timeoutId&&qx.event.Registration.getManager(this._originalTarget).getHandler(qx.event.handler.Gesture).stopMomentum(this._native.timeoutId)},getDelta(){return this._native.delta}}});qx.event.type.Roll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Pointer":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.handler.GestureCore":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.event.type.Tap":{require:!0},"qx.event.type.Swipe":{require:!0},"qx.event.type.Rotate":{require:!0},"qx.event.type.Pinch":{require:!0},"qx.event.type.Track":{require:!0},"qx.event.type.Roll":{require:!0},"qx.lang.Function":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.Event":{},"qx.bom.client.Event":{},"qx.event.type.Pointer":{},"qx.event.type.Data":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Gesture",{extend:qx.event.handler.GestureCore,implement:[qx.event.IEventHandler,qx.core.IDisposable],statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{tap:1,swipe:1,longtap:1,dbltap:1,rotate:1,pinch:1,track:1,trackstart:1,trackend:1,roll:1},GESTURE_EVENTS:["gesturebegin","gesturefinish","gesturemove","gesturecancel"],TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT,IGNORE_CAN_HANDLE:!0,EVENT_CLASSES:{tap:qx.event.type.Tap,longtap:qx.event.type.Tap,dbltap:qx.event.type.Tap,swipe:qx.event.type.Swipe,rotate:qx.event.type.Rotate,pinch:qx.event.type.Pinch,track:qx.event.type.Track,trackstart:qx.event.type.Track,trackend:qx.event.type.Track,roll:qx.event.type.Roll}},construct(e){this.__P_157_0=e;this.__P_157_1=e.getWindow();this.__P_157_2=this.__P_157_1.document;qx.event.handler.GestureCore.apply(this,[this.__P_157_2])},members:{__P_157_0:null,__P_157_1:null,__P_157_2:null,__P_157_3:null,__P_157_4:null,__P_157_5:null,getWindow(){return this.__P_157_1},canHandleEvent(e,t){},registerEvent(e,t,r){},unregisterEvent(e,t,r){},_initObserver(){this.__P_157_3=qx.lang.Function.listener(this.checkAndFireGesture,this);qx.event.handler.Gesture.GESTURE_EVENTS.forEach(function(e){qx.event.Registration.addListener(this.__P_157_2,e,this.__P_157_3,this)}.bind(this));if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9){this.__P_157_4=qx.lang.Function.listener(this._onDblClick,this);qx.bom.Event.addNativeListener(this.__P_157_2,"dblclick",this.__P_157_4)}var e=qx.bom.client.Event.getMouseWheel(this.__P_157_1);this.__P_157_5=qx.lang.Function.listener(this._fireRoll,this);qx.bom.Event.addNativeListener(e.target,e.type,this.__P_157_5,!0,!1)},checkAndFireGesture(e,t,r){this.__P_157_6("checkAndFireGesture",[e.getNativeEvent(),e.getType(),e.getTarget()])},_stopObserver(){qx.event.handler.Gesture.GESTURE_EVENTS.forEach(function(e){qx.event.Registration.removeListener(this.__P_157_2,e,this.__P_157_3)}.bind(this));"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9&&qx.bom.Event.removeNativeListener(this.__P_157_2,"dblclick",this.__P_157_4);var e=qx.bom.client.Event.getMouseWheel(this.__P_157_1);qx.bom.Event.removeNativeListener(e.target,e.type,this.__P_157_5)},_hasIntermediaryHandler:e=>!1,_fireEvent(e,t,r){r||(r=qx.bom.Event.getTarget(e));t||(t=e.type);var i=qx.event.handler.Gesture.EVENT_CLASSES[t]||qx.event.type.Pointer;r&&r.nodeType&&qx.event.Registration.fireEvent(r,t,i,[e,r,null,!0,!0]);qx.event.Registration.fireEvent(this.__P_157_1,"useraction",qx.event.type.Data,[t])},dispose(){this._stopObserver();this.__P_157_6("dispose");this.__P_157_0=this.__P_157_1=this.__P_157_2=this.__P_157_4=null},__P_157_6(e,t){qx.event.handler.GestureCore.prototype[e].apply(this,t||[])}},defer(e){qx.event.Registration.addHandler(e);qx.event.Registration.addListener(window,"appinitialized",(()=>{qx.event.Registration.getManager(document).getHandler(e)}))}});qx.event.handler.Gesture.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.lang.Function":{construct:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.bom.Event":{},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.event.type.Dom":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Video",{extend:qx.core.Object,implement:qx.event.IEventHandler,construct(){qx.core.Object.constructor.call(this);this.__P_196_0=qx.lang.Function.listener(this._onNative,this)},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{abort:1,canplay:1,canplaythrough:1,durationchange:1,emptied:1,ended:1,error:1,loadeddata:1,loadedmetadata:1,loadstart:1,pause:1,play:1,playing:1,progress:1,ratechange:1,seeked:1,seeking:1,stalled:1,suspend:1,timeupdate:1,volumechange:1,waiting:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!1},members:{canHandleEvent(e,t){var r=e.tagName.toLowerCase();return"video"===r||"audio"===r},registerEvent(e,t,r){qx.bom.Event.addNativeListener(e,t,this.__P_196_0)},_onNative:qx.event.GlobalError.observeMethod((function(e){let t=qx.bom.Event.getTarget(e);qx.event.Registration.fireNonBubblingEvent(t,e.type,qx.event.type.Dom,[e,t,void 0,void 0,e.cancelable])})),unregisterEvent(e,t){qx.bom.Event.removeNativeListener(e,t,this.__P_196_0)}},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Video.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.dispatch.Direct":{require:!0},"qx.event.dispatch.DomBubbling":{require:!0},"qx.event.handler.Keyboard":{require:!0},"qx.event.handler.Mouse":{require:!0},"qx.event.handler.Element":{require:!0},"qx.event.handler.Appear":{require:!0},"qx.event.handler.Touch":{require:!0},"qx.event.handler.Offline":{require:!0},"qx.event.handler.Input":{require:!0},"qx.event.handler.Pointer":{require:!0},"qx.event.handler.Gesture":{require:!0},"qx.event.handler.Video":{require:!0},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.Registration":{},"qx.event.handler.Focus":{},"qx.event.dispatch.MouseCapture":{},"qx.bom.client.Engine":{require:!0},"qx.xml.Document":{},"qx.dom.Hierarchy":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.Element",{statics:{addListener:(e,t,r,i,n)=>qx.event.Registration.addListener(e,t,r,i,n),removeListener:(e,t,r,i,n)=>qx.event.Registration.removeListener(e,t,r,i,n),removeListenerById:(e,t)=>qx.event.Registration.removeListenerById(e,t),hasListener:(e,t,r)=>qx.event.Registration.hasListener(e,t,r),focus(e){qx.event.Registration.getManager(e).getHandler(qx.event.handler.Focus).focus(e)},blur(e){qx.event.Registration.getManager(e).getHandler(qx.event.handler.Focus).blur(e)},activate(e){qx.event.Registration.getManager(e).getHandler(qx.event.handler.Focus).activate(e)},deactivate(e){qx.event.Registration.getManager(e).getHandler(qx.event.handler.Focus).deactivate(e)},capture(e,t){qx.event.Registration.getManager(e).getDispatcher(qx.event.dispatch.MouseCapture).activateCapture(e,t)},releaseCapture(e){qx.event.Registration.getManager(e).getDispatcher(qx.event.dispatch.MouseCapture).releaseCapture(e)},clone(e,t){if(t||"mshtml"==qx.core.Environment.get("engine.name")&&!qx.xml.Document.isXmlDocument(e)){var r=qx.event.Registration.getManager(e),i=qx.dom.Hierarchy.getDescendants(e);i.push(e)}if("mshtml"==qx.core.Environment.get("engine.name"))for(var n=0,o=i.length;n0){l=h[n];for(var f=0,_=s.length;f<_;f++){c=s[f];r.addListener(l,c.type,c.handler,c.self,c.capture)}}}}return a}}});qx.bom.Element.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.dom.Node":{},"qx.bom.client.Html":{require:!0},"qx.lang.Array":{}},environment:{provided:[],required:{"html.element.contains":{className:"qx.bom.client.Html"},"html.element.compareDocumentPosition":{className:"qx.bom.client.Html"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.dom.Hierarchy",{statics:{getNodeIndex(e){for(var t=0;e&&(e=e.previousSibling);)t++;return t},getElementIndex(e){for(var t=0,r=qx.dom.Node.ELEMENT;e&&(e=e.previousSibling);)e.nodeType==r&&t++;return t},getNextElementSibling(e){for(;e&&(e=e.nextSibling)&&!qx.dom.Node.isElement(e););return e||null},getPreviousElementSibling(e){for(;e&&(e=e.previousSibling)&&!qx.dom.Node.isElement(e););return e||null},contains(e,t){if(qx.core.Environment.get("html.element.contains")){if(qx.dom.Node.isDocument(e)){var r=qx.dom.Node.getDocument(t);return e&&r==e}return!qx.dom.Node.isDocument(t)&&e.contains(t)}if(qx.core.Environment.get("html.element.compareDocumentPosition"))return!!(16&e.compareDocumentPosition(t));for(;t;){if(e==t)return!0;t=t.parentNode}return!1},isRendered(e){var t=e.ownerDocument||e.document;if(qx.core.Environment.get("html.element.contains"))return!!e.parentNode&&t.body.contains(e);if(qx.core.Environment.get("html.element.compareDocumentPosition"))return!!(16&t.compareDocumentPosition(e));for(;e;){if(e==t.body)return!0;e=e.parentNode}return!1},isDescendantOf(e,t){return this.contains(t,e)},getCommonParent(e,t){if(e===t)return e;if(qx.core.Environment.get("html.element.contains")){for(;e&&qx.dom.Node.isElement(e);){if(e.contains(t))return e;e=e.parentNode}return null}for(var r=[];e||t;){if(e){if(r.includes(e))return e;r.push(e);e=e.parentNode}if(t){if(r.includes(t))return t;r.push(t);t=t.parentNode}}return null},getAncestors(e){return this._recursivelyCollect(e,"parentNode")},getChildElements(e){if(!(e=e.firstChild))return[];var t=this.getNextSiblings(e);1===e.nodeType&&t.unshift(e);return t},getDescendants:e=>qx.lang.Array.fromCollection(e.getElementsByTagName("*")),getFirstDescendant(e){e=e.firstChild;for(;e&&1!=e.nodeType;)e=e.nextSibling;return e},getLastDescendant(e){e=e.lastChild;for(;e&&1!=e.nodeType;)e=e.previousSibling;return e},getPreviousSiblings(e){return this._recursivelyCollect(e,"previousSibling")},getNextSiblings(e){return this._recursivelyCollect(e,"nextSibling")},_recursivelyCollect(e,t){for(var r=[];e=e[t];)1==e.nodeType&&r.push(e);return r},getSiblings(e){return this.getPreviousSiblings(e).reverse().concat(this.getNextSiblings(e))},isEmpty(e){e=e.firstChild;for(;e;){if(e.nodeType===qx.dom.Node.ELEMENT||e.nodeType===qx.dom.Node.TEXT)return!1;e=e.nextSibling}return!0},cleanWhitespace(e){for(var t=e.firstChild;t;){var r=t.nextSibling;3!=t.nodeType||/\S/.test(t.nodeValue)||e.removeChild(t);t=r}}}});qx.dom.Hierarchy.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.bom.client.Engine":{require:!0},"qx.dom.Node":{},"qx.bom.Viewport":{},"qx.bom.element.Location":{},"qx.event.Registration":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.element.Scroll",{statics:{__P_149_0:null,getScrollbarWidth(){if(null!==this.__P_149_0)return this.__P_149_0;var e=qx.bom.element.Style,t=function(t,r){return parseInt(e.get(t,r),10)||0},r=function(r){return"none"==e.get(r,"borderRightStyle")?0:t(r,"borderRightWidth")},i=qx.core.Environment.select("engine.name",{mshtml:t=>"hidden"==e.get(t,"overflowY")||0==t.clientWidth?r(t):Math.max(0,t.offsetWidth-t.clientLeft-t.clientWidth),default(i){if(0==i.clientWidth){var n=e.get(i,"overflow"),o="scroll"==n||"-moz-scrollbars-vertical"==n?16:0;return Math.max(0,r(i)+o)}return Math.max(0,i.offsetWidth-i.clientWidth-function(r){return"none"==e.get(r,"borderLeftStyle")?0:t(r,"borderLeftWidth")}(i))}}),n=document.createElement("div"),o=n.style;o.height=o.width="100px";o.overflow="scroll";document.body.appendChild(n);var a,s=i(a=n)-r(a);this.__P_149_0=s;document.body.removeChild(n);return this.__P_149_0},intoViewX(e,t,r){var i,n,o,a,s,l,u,c,h,d,f,_,p,m,g,v=e.parentNode,b=qx.dom.Node.getDocument(e),y=b.body,x="left"===r,q="right"===r;t=t?t.parentNode:b;for(;v&&v!=t;){if(v.scrollWidth>v.clientWidth&&(v===y||"visible"!=qx.bom.element.Style.get(v,"overflowY"))){if(v===y){o=(n=v.scrollLeft)+qx.bom.Viewport.getWidth();a=qx.bom.Viewport.getWidth();s=v.clientWidth;v.scrollWidth;l=0;u=0;c=0}else{n=(i=qx.bom.element.Location.get(v)).left;o=i.right;a=v.offsetWidth;s=v.clientWidth;v.scrollWidth;c=a-s-(l=parseInt(qx.bom.element.Style.get(v,"borderLeftWidth"),10)||0)-(u=parseInt(qx.bom.element.Style.get(v,"borderRightWidth"),10)||0)}d=(h=qx.bom.element.Location.get(e)).left;f=h.right;_=e.offsetWidth;p=d-n-l;m=f-o+u;g=0;x?g=p:q?g=m+c:p<0||_>s?g=p:m>0&&(g=m+c);v.scrollLeft+=g;qx.event.Registration.fireNonBubblingEvent(v,"scroll")}if(v===y)break;v=v.parentNode}},intoViewY(e,t,r){var i,n,o,a,s,l,u,c,h,d,f,_,p,m,g,v=e.parentNode,b=qx.dom.Node.getDocument(e),y=b.body,x="top"===r,q="bottom"===r;t=t?t.parentNode:b;for(;v&&v!=t;){if(v.scrollHeight>v.clientHeight&&(v===y||"visible"!=qx.bom.element.Style.get(v,"overflowY"))){if(v===y){o=(n=v.scrollTop)+qx.bom.Viewport.getHeight();a=qx.bom.Viewport.getHeight();s=v.clientHeight;v.scrollHeight;l=0;u=0;c=0}else{n=(i=qx.bom.element.Location.get(v)).top;o=i.bottom;a=v.offsetHeight;s=v.clientHeight;v.scrollHeight;c=a-s-(l=parseInt(qx.bom.element.Style.get(v,"borderTopWidth"),10)||0)-(u=parseInt(qx.bom.element.Style.get(v,"borderBottomWidth"),10)||0)}d=(h=qx.bom.element.Location.get(e)).top;f=h.bottom;_=e.offsetHeight;p=d-n-l;m=f-o+u;g=0;x?g=p:q?g=m+c:p<0||_>s?g=p:m>0&&(g=m+c);v.scrollTop+=g;qx.event.Registration.fireNonBubblingEvent(v,"scroll")}if(v===y)break;v=v.parentNode}},intoView(e,t,r,i){this.intoViewX(e,t,r);this.intoViewY(e,t,i)}}});qx.bom.element.Scroll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Html":{require:!0},"qx.dom.Node":{},"qx.bom.Range":{},"qx.util.StringSplit":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"html.selection":{load:!0,className:"qx.bom.client.Html"},"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Selection",{statics:{getSelectionObject:qx.core.Environment.select("html.selection",{selection:e=>e.selection,default:e=>qx.dom.Node.getWindow(e).getSelection()}),get:qx.core.Environment.select("html.selection",{selection:e=>qx.bom.Range.get(qx.dom.Node.getDocument(e)).text,default(e){return this.__P_150_0(e)?e.value.substring(e.selectionStart,e.selectionEnd):this.getSelectionObject(qx.dom.Node.getDocument(e)).toString()}}),getLength:qx.core.Environment.select("html.selection",{selection(e){var t=this.get(e),r=qx.util.StringSplit.split(t,/\r\n/);return t.length-(r.length-1)},default(e){if("opera"==qx.core.Environment.get("engine.name")){var t,r;if(this.__P_150_0(e)){var i=e.selectionStart,n=e.selectionEnd;t=e.value.substring(i,n);r=n-i}else r=(t=qx.bom.Selection.get(e)).length;return r-(qx.util.StringSplit.split(t,/\r\n/).length-1)}return this.__P_150_0(e)?e.selectionEnd-e.selectionStart:this.get(e).length}}),getStart:qx.core.Environment.select("html.selection",{selection(e){if(this.__P_150_0(e)){var t=qx.bom.Range.get();if(!e.contains(t.parentElement()))return-1;var r=qx.bom.Range.get(e),i=e.value.length;r.moveToBookmark(t.getBookmark());r.moveEnd("character",i);return i-r.text.length}var n=(r=qx.bom.Range.get(e)).parentElement(),o=qx.bom.Range.get();try{o.moveToElementText(n)}catch(e){return 0}var a,s=qx.bom.Range.get(qx.dom.Node.getBodyElement(e));s.setEndPoint("StartToStart",r);s.setEndPoint("EndToEnd",o);if(0==o.compareEndPoints("StartToStart",s))return 0;for(var l=0;;){a=s.moveStart("character",-1);if(0==o.compareEndPoints("StartToStart",s))break;if(0==a)break;l++}return++l},default(e){if("gecko"===qx.core.Environment.get("engine.name")||"webkit"===qx.core.Environment.get("engine.name")){if(this.__P_150_0(e))return e.selectionStart;var t=qx.dom.Node.getDocument(e),r=this.getSelectionObject(t);return r.anchorOffsetr.anchorOffset?r.focusOffset:r.anchorOffset}return this.__P_150_0(e)?e.selectionEnd:qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(e)).focusOffset}}),__P_150_0:e=>qx.dom.Node.isElement(e)&&("input"==e.nodeName.toLowerCase()||"textarea"==e.nodeName.toLowerCase()),set:qx.core.Environment.select("html.selection",{selection(e,t,r){var i;qx.dom.Node.isDocument(e)&&(e=e.body);if(qx.dom.Node.isElement(e)||qx.dom.Node.isText(e))switch(e.nodeName.toLowerCase()){case"input":case"textarea":case"button":void 0===r&&(r=e.value.length);if(t>=0&&t<=e.value.length&&r>=0&&r<=e.value.length){(i=qx.bom.Range.get(e)).collapse(!0);i.moveStart("character",t);i.moveEnd("character",r-t);i.select();return!0}break;case"#text":void 0===r&&(r=e.nodeValue.length);if(t>=0&&t<=e.nodeValue.length&&r>=0&&r<=e.nodeValue.length){(i=qx.bom.Range.get(qx.dom.Node.getBodyElement(e))).moveToElementText(e.parentNode);i.collapse(!0);i.moveStart("character",t);i.moveEnd("character",r-t);i.select();return!0}break;default:void 0===r&&(r=e.childNodes.length-1);if(e.childNodes[t]&&e.childNodes[r]){(i=qx.bom.Range.get(qx.dom.Node.getBodyElement(e))).moveToElementText(e.childNodes[t]);i.collapse(!0);var n=qx.bom.Range.get(qx.dom.Node.getBodyElement(e));n.moveToElementText(e.childNodes[r]);i.setEndPoint("EndToEnd",n);i.select();return!0}}return!1},default(e,t,r){var i=e.nodeName.toLowerCase();if(!qx.dom.Node.isElement(e)||"input"!=i&&"textarea"!=i){var n=!1,o=qx.dom.Node.getWindow(e).getSelection(),a=qx.bom.Range.get(e);if(qx.dom.Node.isText(e)){void 0===r&&(r=e.length);t>=0&&t=0&&r<=e.length&&(n=!0)}else if(qx.dom.Node.isElement(e)){void 0===r&&(r=e.childNodes.length-1);t>=0&&e.childNodes[t]&&r>=0&&e.childNodes[r]&&(n=!0)}else if(qx.dom.Node.isDocument(e)){e=e.body;void 0===r&&(r=e.childNodes.length-1);t>=0&&e.childNodes[t]&&r>=0&&e.childNodes[r]&&(n=!0)}if(n){o.isCollapsed||o.collapseToStart();a.setStart(e,t);qx.dom.Node.isText(e)?a.setEnd(e,r):a.setEndAfter(e.childNodes[r]);o.rangeCount>0&&o.removeAllRanges();o.addRange(a);return!0}}else{void 0===r&&(r=e.value.length);if(t>=0&&t<=e.value.length&&r>=0&&r<=e.value.length){e.focus();e.select();try{e.setSelectionRange(t,r)}catch(e){}return!0}}return!1}}),setAll:e=>qx.bom.Selection.set(e,0),clear:qx.core.Environment.select("html.selection",{selection(e){var t=qx.bom.Range.get(e).parentElement(),r=qx.bom.Range.get(qx.dom.Node.getDocument(e));qx.dom.Node.isText(e)&&(e=e.parentNode);if(t==r.parentElement()&&t==e){qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(e)).empty()}},default(e){var t=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(e)),r=e.nodeName.toLowerCase();if(!qx.dom.Node.isElement(e)||"input"!=r&&"textarea"!=r)if(qx.dom.Node.isDocument(e)||"body"==r)t.collapse(e.body?e.body:e,0);else{var i=qx.bom.Range.get(e);if(!i.collapsed){var n=i.commonAncestorContainer;(qx.dom.Node.isElement(e)&&qx.dom.Node.isText(n)?n.parentNode:n)==e&&t.collapse(e,0)}}else{try{e.setSelectionRange(0,0)}catch(e){}qx.bom.Element&&qx.bom.Element.blur&&qx.bom.Element.blur(e)}}})}});qx.bom.Selection.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.dispatch.DomBubbling":{defer:"runtime"},"qx.core.Environment":{defer:"load",construct:!0,usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.OperatingSystem":{construct:!0,require:!0},"qx.core.Init":{construct:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.Selection":{},"qx.event.type.Focus":{},"qx.lang.Function":{},"qx.bom.Event":{},"qx.bom.client.Browser":{require:!0},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{},"qx.bom.element.Attribute":{}},environment:{provided:[],required:{"os.name":{construct:!0,className:"qx.bom.client.OperatingSystem"},"os.version":{construct:!0,className:"qx.bom.client.OperatingSystem"},"engine.name":{load:!0,className:"qx.bom.client.Engine"},"browser.name":{load:!0,className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Focus",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this._manager=e;this._window=e.getWindow();this._document=this._window.document;this._root=this._document.documentElement;this._body=this._document.body;"ios"==qx.core.Environment.get("os.name")&&parseFloat(qx.core.Environment.get("os.version"))>6&&parseFloat(qx.core.Environment.get("os.version"))<15&&(!qx.application.Inline||!qx.core.Init.getApplication()instanceof qx.application.Inline)&&(this.__P_152_0=!0);this._initObserver()},properties:{active:{apply:"_applyActive",nullable:!0},focus:{apply:"_applyFocus",nullable:!0}},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{focus:1,blur:1,focusin:1,focusout:1,activate:1,deactivate:1},IGNORE_CAN_HANDLE:!0,FOCUSABLE_ELEMENTS:qx.core.Environment.select("engine.name",{mshtml:{a:1,body:1,button:1,frame:1,iframe:1,img:1,input:1,object:1,select:1,textarea:1},gecko:{a:1,body:1,button:1,frame:1,iframe:1,img:1,input:1,object:1,select:1,textarea:1},opera:{button:1,input:1,select:1,textarea:1},webkit:{button:1,input:1,select:1,textarea:1}})},members:{__P_152_1:null,__P_152_2:null,__P_152_3:null,__P_152_4:null,__P_152_5:null,__P_152_6:null,__P_152_7:null,__P_152_8:null,__P_152_9:null,__P_152_10:null,__P_152_11:"",__P_152_12:"",__P_152_0:!1,__P_152_13:null,canHandleEvent(e,t){},registerEvent(e,t,r){},unregisterEvent(e,t,r){},focus(e){"mshtml"==qx.core.Environment.get("engine.name")?window.setTimeout((function(){try{e.focus();if(0==qx.bom.Selection.get(e).length&&"function"==typeof e.createTextRange){var t=e.createTextRange();t.moveStart("character",e.value.length);t.collapse();t.select()}}catch(e){}}),0):window.setTimeout((function(){try{e.focus()}catch(e){}}),0);this.setFocus(e);this.setActive(e)},activate(e){this.setActive(e)},blur(e){try{e.blur()}catch(e){}this.getActive()===e&&this.resetActive();this.getFocus()===e&&this.resetFocus()},deactivate(e){this.getActive()===e&&this.resetActive()},tryActivate(e){var t=this.__P_152_14(e);t&&this.setActive(t)},__P_152_15(e,t,r,i){var n=qx.event.Registration,o=n.createEvent(r,qx.event.type.Focus,[e,t,i]);return n.dispatchEvent(e,o)},_windowFocused:!0,__P_152_16(){if(this._windowFocused){this._windowFocused=!1;this.__P_152_15(this._window,null,"blur",!1)}},__P_152_17(){if(!this._windowFocused){this._windowFocused=!0;this.__P_152_15(this._window,null,"focus",!1)}},_initObserver:qx.core.Environment.select("engine.name",{gecko(){this.__P_152_1=qx.lang.Function.listener(this.__P_152_18,this);this.__P_152_2=qx.lang.Function.listener(this.__P_152_19,this);this.__P_152_3=qx.lang.Function.listener(this.__P_152_20,this);this.__P_152_4=qx.lang.Function.listener(this.__P_152_21,this);this.__P_152_5=qx.lang.Function.listener(this.__P_152_22,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_152_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_152_2,!0);qx.bom.Event.addNativeListener(this._window,"focus",this.__P_152_3,!0);qx.bom.Event.addNativeListener(this._window,"blur",this.__P_152_4,!0);qx.bom.Event.addNativeListener(this._window,"draggesture",this.__P_152_5,!0)},mshtml(){this.__P_152_1=qx.lang.Function.listener(this.__P_152_18,this);this.__P_152_2=qx.lang.Function.listener(this.__P_152_19,this);this.__P_152_7=qx.lang.Function.listener(this.__P_152_23,this);this.__P_152_8=qx.lang.Function.listener(this.__P_152_24,this);this.__P_152_6=qx.lang.Function.listener(this.__P_152_25,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_152_1);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_152_2);qx.bom.Event.addNativeListener(this._document,"focusin",this.__P_152_7);qx.bom.Event.addNativeListener(this._document,"focusout",this.__P_152_8);qx.bom.Event.addNativeListener(this._document,"selectstart",this.__P_152_6)},webkit:qx.core.Environment.select("browser.name",{edge(e){this.__P_152_1=qx.lang.Function.listener(this.__P_152_18,this);this.__P_152_2=qx.lang.Function.listener(this.__P_152_19,this);this.__P_152_8=qx.lang.Function.listener(this.__P_152_24,this);this.__P_152_7=qx.lang.Function.listener(this.__P_152_23,this);this.__P_152_6=qx.lang.Function.listener(this.__P_152_25,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_152_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_152_2,!0);qx.bom.Event.addNativeListener(this._document,"selectstart",this.__P_152_6,!1);qx.bom.Event.addNativeListener(this._document,"focusin",this.__P_152_7);qx.bom.Event.addNativeListener(this._document,"focusout",this.__P_152_8)},default(e){this.__P_152_1=qx.lang.Function.listener(this.__P_152_18,this);this.__P_152_2=qx.lang.Function.listener(this.__P_152_19,this);this.__P_152_8=qx.lang.Function.listener(this.__P_152_24,this);this.__P_152_3=qx.lang.Function.listener(this.__P_152_20,this);this.__P_152_4=qx.lang.Function.listener(this.__P_152_21,this);this.__P_152_6=qx.lang.Function.listener(this.__P_152_25,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_152_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_152_2,!0);qx.bom.Event.addNativeListener(this._document,"selectstart",this.__P_152_6,!1);qx.bom.Event.addNativeListener(this._window,"DOMFocusOut",this.__P_152_8,!0);qx.bom.Event.addNativeListener(this._window,"focus",this.__P_152_3,!0);qx.bom.Event.addNativeListener(this._window,"blur",this.__P_152_4,!0)}}),opera(){this.__P_152_1=qx.lang.Function.listener(this.__P_152_18,this);this.__P_152_2=qx.lang.Function.listener(this.__P_152_19,this);this.__P_152_7=qx.lang.Function.listener(this.__P_152_23,this);this.__P_152_8=qx.lang.Function.listener(this.__P_152_24,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_152_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_152_2,!0);qx.bom.Event.addNativeListener(this._window,"DOMFocusIn",this.__P_152_7,!0);qx.bom.Event.addNativeListener(this._window,"DOMFocusOut",this.__P_152_8,!0)}}),_stopObserver:qx.core.Environment.select("engine.name",{gecko(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_152_1,!0);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_152_2,!0);qx.bom.Event.removeNativeListener(this._window,"focus",this.__P_152_3,!0);qx.bom.Event.removeNativeListener(this._window,"blur",this.__P_152_4,!0);qx.bom.Event.removeNativeListener(this._window,"draggesture",this.__P_152_5,!0)},mshtml(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_152_1);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_152_2);qx.bom.Event.removeNativeListener(this._document,"focusin",this.__P_152_7);qx.bom.Event.removeNativeListener(this._document,"focusout",this.__P_152_8);qx.bom.Event.removeNativeListener(this._document,"selectstart",this.__P_152_6)},webkit:qx.core.Environment.select("browser.name",{edge(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_152_1);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_152_2);qx.bom.Event.removeNativeListener(this._document,"focusin",this.__P_152_7);qx.bom.Event.removeNativeListener(this._document,"focusout",this.__P_152_8);qx.bom.Event.removeNativeListener(this._document,"selectstart",this.__P_152_6)},default(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_152_1,!0);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_152_2,!0);qx.bom.Event.removeNativeListener(this._document,"selectstart",this.__P_152_6,!1);qx.bom.Event.removeNativeListener(this._window,"DOMFocusOut",this.__P_152_8,!0);qx.bom.Event.removeNativeListener(this._window,"focus",this.__P_152_3,!0);qx.bom.Event.removeNativeListener(this._window,"blur",this.__P_152_4,!0)}}),opera(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_152_1,!0);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_152_2,!0);qx.bom.Event.removeNativeListener(this._window,"DOMFocusIn",this.__P_152_7,!0);qx.bom.Event.removeNativeListener(this._window,"DOMFocusOut",this.__P_152_8,!0)}}),__P_152_22:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{gecko(e){var t=qx.bom.Event.getTarget(e);this.__P_152_26(t)||qx.bom.Event.preventDefault(e)},default:null})),__P_152_23:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml(e){this.__P_152_17();var t=qx.bom.Event.getTarget(e),r=this.__P_152_27(t);r&&this.setFocus(r);this.tryActivate(t)},webkit:qx.core.Environment.select("browser.name",{edge(e){this.__P_152_17();var t=qx.bom.Event.getTarget(e),r=this.__P_152_27(t);r&&this.setFocus(r);this.tryActivate(t)},default:null}),opera(e){var t=qx.bom.Event.getTarget(e);if(t==this._document||t==this._window){this.__P_152_17();if(this.__P_152_9){this.setFocus(this.__P_152_9);delete this.__P_152_9}if(this.__P_152_10){this.setActive(this.__P_152_10);delete this.__P_152_10}}else{this.setFocus(t);this.tryActivate(t);if(!this.__P_152_26(t)){t.selectionStart=0;t.selectionEnd=0}}},default:null})),__P_152_24:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml(e){if(null==qx.bom.Event.getRelatedTarget(e)){this.__P_152_16();this.resetFocus();this.resetActive()}},webkit:qx.core.Environment.select("browser.name",{edge(e){if(null==qx.bom.Event.getRelatedTarget(e)){this.__P_152_16();this.resetFocus();this.resetActive()}},default(e){var t=qx.bom.Event.getTarget(e);t===this.getFocus()&&this.resetFocus();t===this.getActive()&&this.resetActive()}}),opera(e){var t=qx.bom.Event.getTarget(e);if(t==this._document){this.__P_152_16();this.__P_152_9=this.getFocus();this.__P_152_10=this.getActive();this.resetFocus();this.resetActive()}else{t===this.getFocus()&&this.resetFocus();t===this.getActive()&&this.resetActive()}},default:null})),__P_152_21:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{gecko(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_152_16();this.resetActive();this.resetFocus()}},webkit(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_152_16();this.__P_152_9=this.getFocus();this.__P_152_10=this.getActive();this.resetActive();this.resetFocus()}},default:null})),__P_152_20:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{gecko(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_152_17();t=this._body}this.setFocus(t);this.tryActivate(t)},webkit(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_152_17();if(this.__P_152_9){this.setFocus(this.__P_152_9);delete this.__P_152_9}if(this.__P_152_10){this.setActive(this.__P_152_10);delete this.__P_152_10}}else{this.__P_152_13=e.relatedTarget;this.setFocus(t);this.__P_152_13=null;this.tryActivate(t)}},default:null})),__P_152_18:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml(e){var t=qx.bom.Event.getTarget(e),r=this.__P_152_27(t);if(r){if(!this.__P_152_26(t)){t.unselectable="on";try{document.selection&&document.selection.empty()}catch(e){}try{r.focus()}catch(e){}}}else{qx.bom.Event.preventDefault(e);this.__P_152_26(t)||(t.unselectable="on")}},webkit(e){var t=qx.bom.Event.getTarget(e),r=this.__P_152_27(t);r?this.setFocus(r):qx.bom.Event.preventDefault(e)},gecko(e){var t=qx.bom.Event.getTarget(e),r=this.__P_152_27(t);r?this.setFocus(r):qx.bom.Event.preventDefault(e)},opera(e){var t=qx.bom.Event.getTarget(e),r=this.__P_152_27(t);if(this.__P_152_26(t))r&&this.setFocus(r);else{qx.bom.Event.preventDefault(e);if(r){var i=this.getFocus();if(i&&i.selectionEnd){i.selectionStart=0;i.selectionEnd=0;i.blur()}r&&this.setFocus(r)}}},default:null})),__P_152_19:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml(e){var t=qx.bom.Event.getTarget(e);t.unselectable&&(t.unselectable="off");this.tryActivate(this.__P_152_28(t))},gecko(e){for(var t=qx.bom.Event.getTarget(e);t&&void 0===t.offsetWidth;)t=t.parentNode;t&&this.tryActivate(t)},webkit(e){var t=qx.bom.Event.getTarget(e);this.tryActivate(this.__P_152_28(t))},opera(e){var t=qx.bom.Event.getTarget(e);this.tryActivate(this.__P_152_28(t))},default:null})),__P_152_29(e){var t=this.getFocus();if(t&&e!=t){if("input"===t.nodeName.toLowerCase()||"textarea"===t.nodeName.toLowerCase())return t;if(qx.Class.isClass("qx.ui.core.Widget"))var r=qx.ui.core.Widget.getWidgetByElement(t),i=r&&r.getChildControl&&r.getChildControl("textfield",!0);if(i)return i.getContentElement().getDomElement()}return e},__P_152_28:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml(e){return this.__P_152_29(e)},webkit(e){return this.__P_152_29(e)},default:e=>e})),__P_152_25:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml(e){var t=qx.bom.Event.getTarget(e);this.__P_152_26(t)||qx.bom.Event.preventDefault(e)},webkit(e){var t=qx.bom.Event.getTarget(e);this.__P_152_26(t)||qx.bom.Event.preventDefault(e)},default:null})),__P_152_30(e){var t=qx.bom.element.Attribute.get(e,"tabIndex");if(t>=1)return!0;var r=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;return!!(t>=0&&r[e.tagName])},__P_152_27(e){for(;e&&1===e.nodeType;){if("on"==e.getAttribute("qxKeepFocus"))return null;if(this.__P_152_30(e))return e;e=e.parentNode}return this._body},__P_152_14(e){for(var t=e;e&&1===e.nodeType;){if("on"==e.getAttribute("qxKeepActive"))return null;e=e.parentNode}return t},__P_152_26(e){for(;e&&1===e.nodeType;){var t=e.getAttribute("qxSelectable");if(null!=t)return"on"===t;e=e.parentNode}return!0},_applyActive(e,t){t&&this.__P_152_15(t,e,"deactivate",!0);e&&this.__P_152_15(e,t,"activate",!0);this.__P_152_0&&window.scrollTo(0,0)},_applyFocus(e,t){t&&this.__P_152_15(t,e,"focusout",!0);e&&this.__P_152_15(e,t,"focusin",!0);t&&this.__P_152_15(t,e,"blur",!1);e&&this.__P_152_15(e,t||this.__P_152_13,"focus",!1)}},destruct(){this._stopObserver();this._manager=this._window=this._document=this._root=this._body=this.__P_152_31=this.__P_152_13=null},defer(e){qx.event.Registration.addHandler(e);var t=e.FOCUSABLE_ELEMENTS;for(var r in t)t[r.toUpperCase()]=1}});qx.event.handler.Focus.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Focus":{defer:"runtime"},"qx.event.handler.Window":{defer:"runtime"},"qx.event.handler.Capture":{defer:"runtime"},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.dispatch.AbstractBubbling":{construct:!0,require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.dom.Hierarchy":{},"qx.bom.Event":{},"qx.event.type.Event":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.OperatingSystem":{require:!0}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"browser.documentmode":{load:!0,className:"qx.bom.client.Browser"},"os.version":{load:!0,className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.dispatch.MouseCapture",{extend:qx.event.dispatch.AbstractBubbling,construct(e,t){qx.event.dispatch.AbstractBubbling.constructor.call(this,e);this.__P_113_0=e.getWindow();this.__P_113_1=t;e.addListener(this.__P_113_0,"blur",this.releaseCapture,this);e.addListener(this.__P_113_0,"focus",this.releaseCapture,this);e.addListener(this.__P_113_0,"scroll",this.releaseCapture,this)},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST},members:{__P_113_1:null,__P_113_2:null,__P_113_3:!0,__P_113_0:null,_getParent:e=>e.parentNode,canDispatchEvent(e,t,r){return!(!this.__P_113_2||!this.__P_113_4[r])},dispatchEvent(e,t,r){if("click"!=r){!this.__P_113_3&&qx.dom.Hierarchy.contains(this.__P_113_2,e)||(e=this.__P_113_2);return qx.event.dispatch.MouseCapture.superclass.prototype.dispatchEvent.call(this,e,t,r)}t.stopPropagation();this.releaseCapture()},__P_113_4:{mouseup:1,mousedown:1,click:1,dblclick:1,mousemove:1,mouseout:1,mouseover:1,pointerdown:1,pointerup:1,pointermove:1,pointerover:1,pointerout:1,tap:1,dbltap:1},activateCapture(e,t){t=!1!==t;if(this.__P_113_2!==e||this.__P_113_3!=t){this.__P_113_2&&this.releaseCapture();if(this.hasNativeCapture){this.nativeSetCapture(e,t);var r=this;qx.bom.Event.addNativeListener(e,"losecapture",(function t(){qx.bom.Event.removeNativeListener(e,"losecapture",t);r.releaseCapture()}))}this.__P_113_3=t;this.__P_113_2=e;this.__P_113_1.fireEvent(e,"capture",qx.event.type.Event,[!0,!1])}},getCaptureElement(){return this.__P_113_2},releaseCapture(){var e=this.__P_113_2;if(e){this.__P_113_2=null;this.__P_113_1.fireEvent(e,"losecapture",qx.event.type.Event,[!0,!1]);this.nativeReleaseCapture(e)}},hasNativeCapture:"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9||parseInt(qx.core.Environment.get("os.version"),10)>7&&qx.core.Environment.get("browser.documentmode")>9,nativeSetCapture:qx.core.Environment.select("engine.name",{mshtml(e,t){e.setCapture(!1!==t)},default(){}}),nativeReleaseCapture:qx.core.Environment.select("engine.name",{mshtml(e){e.releaseCapture()},default(){}})},defer(e){qx.event.Registration.addDispatcher(e)}});qx.event.dispatch.MouseCapture.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.event.IEventHandler":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Capture",{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{capture:!0,losecapture:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!0},members:{canHandleEvent(e,t){},registerEvent(e,t,r){},unregisterEvent(e,t,r){}},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Capture.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.element.Attribute":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.dom.Element",{statics:{hasChild:(e,t)=>t.parentNode===e,hasChildren:e=>!!e.firstChild,hasChildElements(e){e=e.firstChild;for(;e;){if(1===e.nodeType)return!0;e=e.nextSibling}return!1},getParentElement:e=>e.parentNode,isInDom(e,t){t||(t=window);for(var r=t.document.getElementsByTagName(e.nodeName),i=0,n=r.length;ie.innerHTML=""}});qx.dom.Element.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Html":{require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.lang.Type":{}},environment:{provided:[],required:{"html.element.textcontent":{load:!0,className:"qx.bom.client.Html"},"engine.name":{load:!0,className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Attribute",{statics:{__P_118_0:{names:{class:"className",for:"htmlFor",html:"innerHTML",text:qx.core.Environment.get("html.element.textcontent")?"textContent":"innerText",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",datetime:"dateTime",accesskey:"accessKey",tabindex:"tabIndex",maxlength:"maxLength",readonly:"readOnly",longdesc:"longDesc",cellpadding:"cellPadding",cellspacing:"cellSpacing",frameborder:"frameBorder",usemap:"useMap"},runtime:{html:1,text:1},bools:{compact:1,nowrap:1,ismap:1,declare:1,noshade:1,checked:1,disabled:1,readOnly:1,multiple:1,selected:1,noresize:1,defer:1,allowTransparency:1},property:{$$element:1,$$elementObject:1,$$qxObjectHash:1,$$qxObject:1,checked:1,readOnly:1,multiple:1,selected:1,value:1,maxLength:1,className:1,innerHTML:1,innerText:1,textContent:1,htmlFor:1,tabIndex:1},qxProperties:{$$qxObjectHash:1,$$qxObject:1,$$element:1,$$elementObject:1},propertyDefault:{disabled:!1,checked:!1,readOnly:!1,multiple:!1,selected:!1,value:"",className:"",innerHTML:"",innerText:"",textContent:"",htmlFor:"",tabIndex:0,maxLength:qx.core.Environment.select("engine.name",{mshtml:2147483647,webkit:524288,default:-1})},removeableProperties:{disabled:1,multiple:1,maxLength:1}},compile(e){var t=[],r=this.__P_118_0.runtime;for(var i in e)r[i]||t.push(i,"='",e[i],"'");return t.join("")},get(e,t){var r,i=this.__P_118_0;t=i.names[t]||t;if(i.property[t]){r=e[t];if(void 0!==i.propertyDefault[t]&&r==i.propertyDefault[t])return void 0===i.bools[t]?null:r}else{r=e.getAttribute(t);if(i.bools[t]&&!("mshtml"==qx.core.Environment.get("engine.name")&&parseInt(qx.core.Environment.get("browser.documentmode"),10)<=8))return qx.Bootstrap.isString(r)}return i.bools[t]?!!r:r},set(e,t,r){if(void 0!==r){var i=this.__P_118_0;t=i.names[t]||t;i.bools[t]&&!qx.lang.Type.isBoolean(r)&&(r=qx.lang.Type.isString(r));if(i.property[t]&&(void 0!==e[t]||i.qxProperties[t])){if(null==r){if(i.removeableProperties[t]){e.removeAttribute(t);return}void 0!==i.propertyDefault[t]&&(r=i.propertyDefault[t])}e[t]=r}else!i.bools[t]&&null!==r||0===t.indexOf("data-")?null===r?e.removeAttribute(t):e.setAttribute(t,r):!0===r?e.setAttribute(t,t):!1!==r&&null!==r||e.removeAttribute(t)}},serialize(e,t,r){if(void 0!==r){var i=this.__P_118_0;if(!i.qxProperties[t]){i.bools[t]&&!qx.lang.Type.isBoolean(r)&&(r=qx.lang.Type.isString(r));!i.bools[t]&&null!==r||0===t.indexOf("data-")?null!==r&&e(t,'="',r,'"'):!0===r&&e(t,"=",t)}}},reset(e,t){0===t.indexOf("data-")?e.removeAttribute(t):this.set(e,t,null)}}});qx.bom.element.Attribute.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.html.Node":{construct:!0,require:!0},"qx.html.Element":{defer:"runtime"},"qx.util.DeferredCall":{defer:"runtime"}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Text",{extend:qx.html.Node,construct(e){qx.html.Node.constructor.call(this,"#text");e&&(this.__P_154_0=e)},members:{__P_154_0:null,_createDomElement(){return window.document.createTextNode(this.__P_154_0||"")},isRoot:()=>!1,_copyData(e,t){qx.html.Text.superclass.prototype._copyData.call(this,e,t);this._domNode.nodeValue=this.__P_154_0||""},_useNode(e){this.setText(e.nodeValue)},_useNodeImpl(e){this.setText(e.nodeValue)},_syncData(){qx.html.Text.superclass.prototype._syncData.call(this);this._domNode.nodeValue=this.__P_154_0||""},_serializeImpl(e){null!==this.__P_154_0&&e(this.__P_154_0)},useMarkup(e){throw new Error("Could not overwrite existing text node!")},setText(e,t){this.__P_154_0=e;if(t&&this._domNode)this._domNode.nodeValue=e;else{qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush("element")}},getText(){return this.__P_154_0}},defer(e){e.__P_154_1=new qx.util.DeferredCall(e.flush,e)},destruct(){if(this.toHashCode()){delete qx.html.Element._modified[this.toHashCode()];delete qx.html.Element._scroll[this.toHashCode()]}this.__P_154_2=this.__P_154_3=this.__P_154_4=this.__P_154_5=this.__P_154_6=this.__P_154_7=this.__P_154_8=null}});qx.html.Text.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.event.Registration":{construct:!0,defer:"runtime",require:!0},"qx.ui.core.Widget":{},"qx.event.type.Event":{},"qx.event.Pool":{},"qx.event.Utils":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.EventHandler",{extend:qx.core.Object,implement:qx.event.IEventHandler,construct(){qx.core.Object.constructor.call(this);this.__P_107_0=qx.event.Registration.getManager(window)},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST,SUPPORTED_TYPES:{mousemove:1,mouseover:1,mouseout:1,mousedown:1,mouseup:1,click:1,auxclick:1,dblclick:1,contextmenu:1,mousewheel:1,keyup:1,keydown:1,keypress:1,keyinput:1,capture:1,losecapture:1,focusin:1,focusout:1,focus:1,blur:1,activate:1,deactivate:1,appear:1,disappear:1,dragstart:1,dragend:1,dragover:1,dragleave:1,drop:1,drag:1,dragchange:1,droprequest:1,touchstart:1,touchend:1,touchmove:1,touchcancel:1,tap:1,longtap:1,swipe:1,dbltap:1,track:1,trackend:1,trackstart:1,pinch:1,rotate:1,roll:1,pointermove:1,pointerover:1,pointerout:1,pointerdown:1,pointerup:1,pointercancel:1},IGNORE_CAN_HANDLE:!1},members:{__P_107_0:null,__P_107_1:{focusin:1,focusout:1,focus:1,blur:1},__P_107_2:{mouseover:1,mouseout:1,appear:1,disappear:1},canHandleEvent:(e,t)=>e instanceof qx.ui.core.Widget,_dispatchEvent(e){for(var t=e.getTarget(),r=qx.ui.core.Widget.getWidgetByElement(t),i=!1;r&&r.isAnonymous();){i=!0;r=r.getLayoutParent()}r&&i&&"activate"==e.getType()&&r.getContentElement().activate();if(!this.__P_107_1[e.getType()]||(r=r&&r.getFocusTarget())){if(e.getRelatedTarget){for(var n=e.getRelatedTarget(),o=qx.ui.core.Widget.getWidgetByElement(n);o&&o.isAnonymous();)o=o.getLayoutParent();if(o){this.__P_107_1[e.getType()]&&(o=o.getFocusTarget());if(o===r)return}}var a=e.getCurrentTarget(),s=qx.ui.core.Widget.getWidgetByElement(a);if(s&&!s.isAnonymous()){this.__P_107_1[e.getType()]&&(s=s.getFocusTarget());var l=e.getType();if(s&&(s.isEnabled()||this.__P_107_2[l])){var u=e.getEventPhase()==qx.event.type.Event.CAPTURING_PHASE,c=this.__P_107_0.getListeners(s,l,u);if(e.getEventPhase()==qx.event.type.Event.AT_TARGET){c||(c=[]);var h=this.__P_107_0.getListeners(s,l,!u);h&&(c=c.concat(h))}if(c&&0!==c.length){var d=qx.event.Pool.getInstance().getObject(e.constructor);e.clone(d);d.setTarget(r);d.setRelatedTarget(o||null);d.setCurrentTarget(s);var f=e.getOriginalTarget();if(f){for(var _=qx.ui.core.Widget.getWidgetByElement(f);_&&_.isAnonymous();)_=_.getLayoutParent();d.setOriginalTarget(_)}else d.setOriginalTarget(t);var p={};qx.event.Utils.then(p,(function(){return qx.event.Utils.series(c,(function(e){var t=e.context||s;return e.handler.call(t,d)}))}));qx.event.Utils.then(p,(function(){d.getPropagationStopped()&&e.stopPropagation();d.getDefaultPrevented()&&e.preventDefault()}));return qx.event.Utils.then(p,(function(){qx.event.Pool.getInstance().poolObject(d)}))}}}}},registerEvent(e,t,r){var i;(i="focus"===t||"blur"===t?e.getFocusElement():e.getContentElement())&&i.addListener(t,this._dispatchEvent,this,r)},unregisterEvent(e,t,r){var i;(i="focus"===t||"blur"===t?e.getFocusElement():e.getContentElement())&&i.removeListener(t,this._dispatchEvent,this,r)}},destruct(){this.__P_107_0=null},defer(e){qx.event.Registration.addHandler(e)}});qx.ui.core.EventHandler.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Gesture":{require:!0,defer:"runtime"},"qx.event.handler.Keyboard":{require:!0,defer:"runtime"},"qx.event.handler.Capture":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{construct:!0,defer:"runtime",require:!0},"qx.ui.core.Widget":{},"qx.event.Utils":{},"qx.Promise":{},"qx.event.type.Drag":{},"qx.ui.core.DragDropCursor":{},"qx.bom.element.Style":{}},environment:{provided:[],required:{"qx.promise":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.DragDrop",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this.__P_108_0=e;this.__P_108_1=e.getWindow().document.documentElement;this.__P_108_0.addListener(this.__P_108_1,"longtap",this._onLongtap,this);this.__P_108_0.addListener(this.__P_108_1,"pointerdown",this._onPointerdown,this,!0);qx.event.Registration.addListener(window,"blur",this._onWindowBlur,this);this.__P_108_2()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{dragstart:1,dragend:1,dragover:1,dragleave:1,drop:1,drag:1,dragchange:1,droprequest:1},IGNORE_CAN_HANDLE:!0,ALLOWED_BUTTONS:["left"],MIN_DRAG_DISTANCE:5},properties:{cursor:{check:"qx.ui.core.Widget",nullable:!0,init:null}},members:{__P_108_0:null,__P_108_1:null,__P_108_3:null,__P_108_4:null,__P_108_5:null,__P_108_6:null,__P_108_7:null,__P_108_8:null,__P_108_9:null,__P_108_10:null,__P_108_11:!1,__P_108_12:!1,__P_108_13:!1,__P_108_14:null,__P_108_15:null,canHandleEvent(e,t){},registerEvent(e,t,r){},unregisterEvent(e,t,r){},addType(e){this.__P_108_5[e]=!0},addAction(e){this.__P_108_6[e]=!0},supportsType(e){return!!this.__P_108_5[e]},supportsAction(e){return!!this.__P_108_6[e]},setDropAllowed(e){this.__P_108_12=e;this.__P_108_16()},getData(e){if(!this.__P_108_12||!this.__P_108_3)throw new Error("This method must not be used outside the drop event listener!");if(!this.__P_108_5[e])throw new Error("Unsupported data type: "+e+"!");if(!this.__P_108_8[e]){this.__P_108_9=e;this.__P_108_17("droprequest",this.__P_108_4,this.__P_108_3,!1,!1)}if(!this.__P_108_8[e])throw new Error("Please use a droprequest listener to the drag source to fill the manager with data!");return this.__P_108_8[e]||null},getDataAsync(e){if(!this.__P_108_12||!this.__P_108_3)throw new Error("This method must not be used outside the drop event listener!");if(!this.__P_108_5[e])throw new Error("Unsupported data type: "+e+"!");var t={},r=this;this.__P_108_8[e]||qx.event.Utils.then(t,(function(){r.__P_108_9=e;return r.__P_108_17("droprequest",r.__P_108_4,r.__P_108_3,!1)}));return qx.event.Utils.then(t,(function(){if(!this.__P_108_8[e])throw new Error("Please use a droprequest listener to the drag source to fill the manager with data!");return this.__P_108_8[e]||null}))},getCurrentAction(){this.__P_108_16();return this.__P_108_10},getCurrentActionAsync:qx.core.Environment.select("qx.promise",{true(){var e=this;return qx.Promise.resolve(e.__P_108_16()).then((function(){return e.__P_108_10}))},false(){throw new Error(this.classname+".getCurrentActionAsync not supported because qx.promise==false")}}),getDragTarget(){return this.__P_108_14},addData(e,t){this.__P_108_8[e]=t},getCurrentType(){return this.__P_108_9},isSessionActive(){return this.__P_108_11},__P_108_2(){this.__P_108_5={};this.__P_108_6={};this.__P_108_7={};this.__P_108_8={}},__P_108_16(){if(null==this.__P_108_4)return qx.Promise.reject();var e=this.__P_108_6,t=this.__P_108_7,r=null;this.__P_108_12&&(t.Shift&&t.Control&&e.alias?r="alias":t.Shift&&t.Alt&&e.copy?r="copy":t.Shift&&e.move?r="move":t.Alt&&e.alias?r="alias":t.Control&&e.copy?r="copy":e.move?r="move":e.copy?r="copy":e.alias&&(r="alias"));var i=this,n={},o=this.__P_108_10;if(r!=o&&this.__P_108_3){qx.event.Utils.catch((function(){i.__P_108_13=!1;r=null}));qx.event.Utils.then(n,(function(){i.__P_108_10=r;return i.__P_108_17("dragchange",i.__P_108_3,i.__P_108_4,!0)}));qx.event.Utils.then(n,(function(e){i.__P_108_13=e;e||(r=null)}))}return qx.event.Utils.then(n,(function(){if(r!=o){i.__P_108_10=r;return i.__P_108_17("dragchange",i.__P_108_4,i.__P_108_3,!1)}}))},__P_108_17(e,t,r,i,n,o){var a=qx.event.Registration,s=a.createEvent(e,qx.event.type.Drag,[i,n]);t!==r&&s.setRelatedTarget(r);var l=a.dispatchEvent(t,s);return void 0===o||o?qx.Promise.resolve(l).then((function(){return!s.getDefaultPrevented()})):l},__P_108_18(e){for(;e&&1==e.nodeType;){if("on"==e.getAttribute("qxDraggable"))return e;e=e.parentNode}return null},__P_108_19(e){for(;e&&1==e.nodeType;){if("on"==e.getAttribute("qxDroppable"))return e;e=e.parentNode}return null},clearSession(){this.__P_108_0.removeListener(this.__P_108_1,"pointermove",this._onPointermove,this);this.__P_108_0.removeListener(this.__P_108_1,"pointerup",this._onPointerup,this,!0);this.__P_108_0.removeListener(this.__P_108_1,"keydown",this._onKeyDown,this,!0);this.__P_108_0.removeListener(this.__P_108_1,"keyup",this._onKeyUp,this,!0);this.__P_108_0.removeListener(this.__P_108_1,"keypress",this._onKeyPress,this,!0);this.__P_108_0.removeListener(this.__P_108_1,"roll",this._onRoll,this,!0);var e={},t=this;this.__P_108_4&&qx.event.Utils.then(e,(function(){return t.__P_108_17("dragend",t.__P_108_4,t.__P_108_3,!1)}));return qx.event.Utils.then(e,(function(){t.__P_108_12=!1;t.__P_108_3=null;if(t.__P_108_14){t.__P_108_14.removeState("drag");t.__P_108_14=null}t.__P_108_4=null;t.__P_108_11=!1;t.__P_108_15=null;t.__P_108_2()}))},_onLongtap(e){if("touch"==e.getPointerType()){this.__P_108_0.addListener(this.__P_108_1,"roll",this._onRoll,this,!0);return this._start(e)}},_start(e){var t=-1!==qx.event.handler.DragDrop.ALLOWED_BUTTONS.indexOf(e.getButton());if(!e.isPrimary()||!t)return!1;var r=this.__P_108_15?this.__P_108_15.target:e.getTarget(),i=this.__P_108_18(r);if(i){this.__P_108_4=i;for(var n=qx.ui.core.Widget.getWidgetByElement(this.__P_108_15.original);n&&n.isAnonymous();)n=n.getLayoutParent();if(n){this.__P_108_14=n;n.addState("drag")}var o=this,a={};qx.event.Utils.catch((function(){o.__P_108_11=!1}));qx.event.Utils.then(a,(function(){return o.__P_108_17("dragstart",o.__P_108_4,o.__P_108_3,!0,e)}));return qx.event.Utils.then(a,(function(e){if(e){o.__P_108_0.addListener(o.__P_108_1,"keydown",o._onKeyDown,o,!0);o.__P_108_0.addListener(o.__P_108_1,"keyup",o._onKeyUp,o,!0);o.__P_108_0.addListener(o.__P_108_1,"keypress",o._onKeyPress,o,!0);o.__P_108_11=!0}}))}},_onPointerdown(e){if(e.isPrimary()){this.__P_108_15={target:e.getTarget(),original:e.getOriginalTarget(),left:e.getDocumentLeft(),top:e.getDocumentTop()};this.__P_108_0.addListener(this.__P_108_1,"pointermove",this._onPointermove,this);this.__P_108_0.addListener(this.__P_108_1,"pointerup",this._onPointerup,this,!0)}},_onPointermove(e){if(e.isPrimary()){var t=this,r={};qx.event.Utils.catch((function(){return t.clearSession()}));if(!t.__P_108_11&&"mouse"==e.getPointerType()){var i=t._getDelta(e),n=qx.event.handler.DragDrop.MIN_DRAG_DISTANCE;i&&(Math.abs(i.x)>n||Math.abs(i.y)>n)&&qx.event.Utils.then(r,(function(){return t._start(e)}))}return qx.event.Utils.then(r,(function(){if(t.__P_108_11){var r={};qx.event.Utils.then(r,(function(){return t.__P_108_17("drag",t.__P_108_4,t.__P_108_3,!0,e)}));qx.event.Utils.then(r,(function(r){r||this.clearSession();var i=e.getTarget();t.__P_108_15.target===i&&(i=e.getNativeEvent().view.document.elementFromPoint(e.getDocumentLeft(),e.getDocumentTop()));var n=t.getCursor();n||(n=qx.ui.core.DragDropCursor.getInstance());var o=n.getContentElement().getDomElement();if(o&&(i===o||o.contains(i))){var a=qx.bom.element.Style.get(o,"display");qx.bom.element.Style.set(o,"display","none");i=e.getNativeEvent().view.document.elementFromPoint(e.getDocumentLeft(),e.getDocumentTop());qx.bom.element.Style.set(o,"display",a)}if(i!==o){var s=t.__P_108_19(i);if(s&&s!=t.__P_108_3){var l=t.__P_108_3;t.__P_108_12=!0;t.__P_108_3=s;var u={};qx.event.Utils.catch(u,(function(){t.__P_108_3=null;t.__P_108_12=!1}));l&&qx.event.Utils.then(u,(function(){return t.__P_108_17("dragleave",l,t.__P_108_4,!1,e)}));qx.event.Utils.then(u,(function(){return t.__P_108_17("dragover",s,t.__P_108_4,!0,e)}));return qx.event.Utils.then(u,(function(e){t.__P_108_12=e}))}if(!s&&t.__P_108_3){u={};qx.event.Utils.then(u,(function(){return t.__P_108_17("dragleave",t.__P_108_3,t.__P_108_4,!1,e)}));return qx.event.Utils.then(u,(function(){t.__P_108_3=null;t.__P_108_12=!1;return t.__P_108_16()}))}}}));return qx.event.Utils.then(r,(function(){var r=t.__P_108_7;r.Control=e.isCtrlPressed();r.Shift=e.isShiftPressed();r.Alt=e.isAltPressed();return t.__P_108_16()}))}}))}},_getDelta(e){return this.__P_108_15?{x:e.getDocumentLeft()-this.__P_108_15.left,y:e.getDocumentTop()-this.__P_108_15.top}:null},_onPointerup(e){if(e.isPrimary()){var t={},r=this;this.__P_108_12&&this.__P_108_13&&qx.event.Utils.then(t,(function(){return r.__P_108_17("drop",r.__P_108_3,r.__P_108_4,!1,e)}));return qx.event.Utils.then(t,(function(){e.getTarget()==r.__P_108_4&&e.stopPropagation();return r.clearSession()}))}},_onRoll(e){e.stop()},_onWindowBlur(e){return this.clearSession()},_onKeyDown(e){var t=e.getKeyIdentifier();switch(t){case"Alt":case"Control":case"Shift":if(!this.__P_108_7[t]){this.__P_108_7[t]=!0;return this.__P_108_16()}}},_onKeyUp(e){var t=e.getKeyIdentifier();switch(t){case"Alt":case"Control":case"Shift":if(this.__P_108_7[t]){this.__P_108_7[t]=!1;return this.__P_108_16()}}},_onKeyPress(e){if("Escape"===e.getKeyIdentifier())return this.clearSession()}},destruct(){qx.event.Registration.removeListener(window,"blur",this._onWindowBlur,this);this.__P_108_4=this.__P_108_3=this.__P_108_0=this.__P_108_1=this.__P_108_5=this.__P_108_6=this.__P_108_7=this.__P_108_8=null},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.DragDrop.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{},"qx.core.Property":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.PropertyUtil",{statics:{getProperties:e=>e.$$properties,getAllProperties(e){for(var t={},r=e;r!=qx.core.Object;){var i=this.getProperties(r);for(var n in i)t[n]=i[n];r=r.superclass}return t},getUserValue:(e,t)=>e["$$user_"+t],setUserValue(e,t,r){e["$$user_"+t]=r},deleteUserValue(e,t){delete e["$$user_"+t]},getInitValue:(e,t)=>e["$$init_"+t],setInitValue(e,t,r){e["$$init_"+t]=r},deleteInitValue(e,t){delete e["$$init_"+t]},getThemeValue:(e,t)=>e["$$theme_"+t],setThemeValue(e,t,r){e["$$theme_"+t]=r},deleteThemeValue(e,t){delete e["$$theme_"+t]},setThemed(e,t,r){e[qx.core.Property.$$method.setThemed[t]](r)},resetThemed(e,t){e[qx.core.Property.$$method.resetThemed[t]]()}}});qx.util.PropertyUtil.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MRemoteChildrenHandling",{members:{__P_123_0(e,t,r,i){var n=this.getChildrenContainer();n===this&&(e="_"+e);return n[e](t,r,i)},getChildren(){return this.__P_123_0("getChildren")},hasChildren(){return this.__P_123_0("hasChildren")},add(e,t){return this.__P_123_0("add",e,t)},remove(e){return this.__P_123_0("remove",e)},removeAll(){return this.__P_123_0("removeAll")},indexOf(e){return this.__P_123_0("indexOf",e)},addAt(e,t,r){this.__P_123_0("addAt",e,t,r)},addBefore(e,t,r){this.__P_123_0("addBefore",e,t,r)},addAfter(e,t,r){this.__P_123_0("addAfter",e,t,r)},removeAt(e){return this.__P_123_0("removeAt",e)}}});qx.ui.core.MRemoteChildrenHandling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MPlacement":{require:!0},"qx.ui.core.MRemoteChildrenHandling":{require:!0},"qx.ui.menu.Layout":{construct:!0},"qx.ui.core.Blocker":{construct:!0},"qx.ui.menu.Separator":{},"qx.ui.menu.Manager":{},"qx.ui.menu.AbstractButton":{},"qx.ui.menu.MenuSlideBar":{},"qx.ui.layout.Grow":{},"qx.lang.Array":{},"qx.ui.core.queue.Widget":{},"qx.core.ObjectRegistry":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.menu.Menu",{extend:qx.ui.core.Widget,include:[qx.ui.core.MPlacement,qx.ui.core.MRemoteChildrenHandling],construct(){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.menu.Layout);var e=this.getApplicationRoot();e.add(this);const t=this.getContentElement();t.setAttribute("role","menu");t.setAttribute("id","menu-"+this.toHashCode());this.addListener("pointerover",this._onPointerOver);this.addListener("pointerout",this._onPointerOut);this.addListener("resize",this._onResize,this);e.addListener("resize",this._onResize,this);this._blocker=new qx.ui.core.Blocker(e);this.initVisibility();this.initKeepFocus();this.initKeepActive()},properties:{appearance:{refine:!0,init:"menu"},allowGrowX:{refine:!0,init:!1},allowGrowY:{refine:!0,init:!1},visibility:{refine:!0,init:"excluded"},keepFocus:{refine:!0,init:!0},keepActive:{refine:!0,init:!0},spacingX:{check:"Integer",apply:"_applySpacingX",init:0,themeable:!0},spacingY:{check:"Integer",apply:"_applySpacingY",init:0,themeable:!0},iconColumnWidth:{check:"Integer",init:0,themeable:!0,apply:"_applyIconColumnWidth"},arrowColumnWidth:{check:"Integer",init:0,themeable:!0,apply:"_applyArrowColumnWidth"},blockerColor:{check:"Color",init:null,nullable:!0,apply:"_applyBlockerColor",themeable:!0},blockerOpacity:{check:"Number",init:1,apply:"_applyBlockerOpacity",themeable:!0},selectedButton:{check:"qx.ui.core.Widget",nullable:!0,apply:"_applySelectedButton"},openedButton:{check:"qx.ui.core.Widget",nullable:!0,apply:"_applyOpenedButton"},opener:{check:"qx.ui.core.Widget",nullable:!0,apply:"_applyOpener"},openInterval:{check:"Integer",themeable:!0,init:250},closeInterval:{check:"Integer",themeable:!0,init:250},blockBackground:{check:"Boolean",themeable:!0,init:!1}},members:{__P_110_0:null,__P_110_1:null,_blocker:null,open(){if(null!=this.getOpener()){if(this.placeToWidget(this.getOpener(),!0)){this.__P_110_2();this.show();this._placementTarget=this.getOpener()}else this.warn("Could not open menu instance because 'opener' widget is not visible")}else this.warn("The menu instance needs a configured 'opener' widget!")},openAtPointer(e){this.placeToPointer(e);this.__P_110_2();this.show();this._placementTarget={left:e.getDocumentLeft(),top:e.getDocumentTop()}},openAtPoint(e){this.placeToPoint(e);this.__P_110_2();this.show();this._placementTarget=e},addSeparator(){this.add(new qx.ui.menu.Separator)},getColumnSizes(){return this._getMenuLayout().getColumnSizes()},getSelectables(){for(var e=[],t=this.getChildren(),r=0;rt?this._assertSlideBar((function(){this.setHeight(t-r)})):this.setHeight(null)}else this.addListenerOnce("resize",this.__P_110_2,this)},_assertSlideBar(e){if(this.hasChildControl("slidebar"))return e.call(this);this.__P_110_1=e;qx.ui.core.queue.Widget.add(this)},syncWidget(e){this.getChildControl("slidebar");if(this.__P_110_1){this.__P_110_1.call(this);delete this.__P_110_1}},_afterAddChild(e){if(e instanceof qx.ui.menu.AbstractButton){const t=e.getContentElement();t.setAttribute("id","menu-item-"+e.toHashCode());t.setAttribute("role","menuitem")}},_onResize(){if(this.isVisible()){var e=this._placementTarget;if(!e)return;if(e instanceof qx.ui.core.Widget)this.placeToWidget(e,!0);else{if(void 0===e.top)throw new Error("Unknown target: "+e);this.placeToPoint(e)}this.__P_110_2()}},_onPointerOver(e){var t=qx.ui.menu.Manager.getInstance();t.cancelClose(this);var r=e.getTarget();if(r.isEnabled()&&r instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(r);var i=r.getMenu&&r.getMenu();if(i){i.setOpener(r);t.scheduleOpen(i);this.__P_110_0=i}else{var n=this.getOpenedButton();n&&t.scheduleClose(n.getMenu());if(this.__P_110_0){t.cancelOpen(this.__P_110_0);this.__P_110_0=null}}}else this.getOpenedButton()||this.resetSelectedButton()},_onPointerOut(e){var t=qx.ui.menu.Manager.getInstance();if(!qx.ui.core.Widget.contains(this,e.getRelatedTarget())){var r=this.getOpenedButton();r?this.setSelectedButton(r):this.resetSelectedButton();r&&t.cancelClose(r.getMenu());this.__P_110_0&&t.cancelOpen(this.__P_110_0)}},__P_110_4(){let e,t=this.getParentMenu();if(!t)return this.getOpener();for(;t;){e=t.getOpener();t=t.getParentMenu()}return e}},destruct(){qx.core.ObjectRegistry.inShutDown||qx.ui.menu.Manager.getInstance().remove(this);this.getApplicationRoot().removeListener("resize",this._onResize,this);this._placementTarget=null;this._disposeObjects("_blocker")}});qx.ui.menu.Menu.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.ObjectRegistry":{},"qx.core.Object":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.type.BaseString",{extend:Object,construct(e){e=e||"";this.__P_203_0=e;this.length=e.length},members:{$$isString:!0,length:0,__P_203_0:null,toString(){return this.__P_203_0},charAt:null,valueOf:null,charCodeAt:null,concat:null,indexOf:null,lastIndexOf:null,match:null,replace:null,search:null,slice:null,split:null,substr:null,substring:null,toLowerCase:null,toUpperCase:null,toHashCode(){return qx.core.ObjectRegistry.toHashCode(this)},toLocaleLowerCase:null,toLocaleUpperCase:null,base(e,t){return qx.core.Object.prototype.base.apply(this,arguments)}},defer(e,t){var r=["charAt","charCodeAt","concat","indexOf","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","toLocaleLowerCase","toLocaleUpperCase","trim","codePointAt"];t.valueOf=t.toString;null==new e("").valueOf()&&delete t.valueOf;for(var i=0,n=r.length;i=3&&(parseInt(t[1])<4||4===parseInt(t[1])&&parseInt(t[2])<4)){var r=/(\w{2})-(\w{2})/i.exec(navigator.userAgent);r&&(e=r[0])}}return e.toLowerCase()}},defer(e){qx.core.Environment.add("locale",e.getLocale);qx.core.Environment.add("locale.variant",e.getVariant);qx.core.Environment.add("locale.default","C")}});qx.bom.client.Locale.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.dispatch.Direct":{require:!0},"qx.locale.LocalizedString":{require:!0},"qx.bom.client.Locale":{require:!0},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.lang.Array":{},"qx.lang.String":{}},environment:{provided:[],required:{locale:{className:"qx.bom.client.Locale"},"locale.default":{className:"qx.bom.client.Locale",load:!0},"locale.variant":{className:"qx.bom.client.Locale"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.locale.Manager",{type:"singleton",extend:qx.core.Object,construct(){qx.core.Object.constructor.call(this);this.__P_114_0=qx.$$translations||{};this.__P_114_1=qx.$$locales||{};this.initLocale();this.__P_114_2=this.getLocale()},statics:{tr(e,t){var r=qx.lang.Array.fromArguments(arguments,1);return qx.locale.Manager.getInstance().translate(e,r)},trn(e,t,r,i){var n=qx.lang.Array.fromArguments(arguments);n.splice(0,3);return 1!=r?qx.locale.Manager.getInstance().translate(t,n):qx.locale.Manager.getInstance().translate(e,n)},trc(e,t,r){var i=qx.lang.Array.fromArguments(arguments);i.splice(0,2);return qx.locale.Manager.getInstance().translate(t,i)},trnc(e,t,r,i,n){var o=qx.lang.Array.fromArguments(arguments);o.splice(0,4);return 1!=i?qx.locale.Manager.getInstance().translate(r,o):qx.locale.Manager.getInstance().translate(t,o)},marktr:e=>e},properties:{locale:{check:"String",apply:"_applyLocale",event:"changeLocale",init:function(){var e=qx.core.Environment.get("locale");if(!e||""===e)return qx.core.Environment.get("locale.default");var t=qx.core.Environment.get("locale.variant");""!==t&&(e+="_"+t);return e}()}},members:{__P_114_3:qx.core.Environment.get("locale.default"),__P_114_4:null,__P_114_5:null,__P_114_0:null,__P_114_1:null,__P_114_2:null,getLanguage(){return this.__P_114_5},getTerritory(){return this.getLocale().split("_")[1]||""},getAvailableLocales(e){var t=[];for(var r in this.__P_114_1)if(r!=this.__P_114_3){if(null===this.__P_114_1[r]&&!e)continue;t.push(r)}return t},__P_114_6(e){if(null==e)return null;var t=e.indexOf("_");return-1==t?e:e.substring(0,t)},_applyLocale(e,t){this.__P_114_4=e;this.__P_114_5=this.__P_114_6(e)},addTranslation(e,t){var r=this.__P_114_0;if(r[e])for(var i in t)r[e][i]=t[i];else r[e]=t},addLocale(e,t){var r=this.__P_114_1;if(r[e])for(var i in t)r[e][i]=t[i];else r[e]=t},translate(e,t,r){var i=this.__P_114_0;return this.__P_114_7(i,e,t,r)},localize(e,t,r){var i=this.__P_114_1;return this.__P_114_7(i,e,t,r)},__P_114_7(e,t,r,i){var n;if(!e)return t;if(i)var o=this.__P_114_6(i);else{i=this.__P_114_4;o=this.__P_114_5}!n&&e[i]&&(n=e[i][t]);!n&&e[o]&&(n=e[o][t]);!n&&e[this.__P_114_3]&&(n=e[this.__P_114_3][t]);n||(n=t);if(r.length>0){for(var a=[],s=0;sr?r:t)+"px");else{var i=qx.util.AliasManager.getInstance().resolve(this.getSource()),n=i.split("/"),o=this.__P_122_20(i),a=parseInt(n[2]||o.getSize());e.setStyle("fontSize",a+"px")}},_applyDimension(){qx.ui.basic.Image.superclass.prototype._applyDimension.call(this);if(this.getSource()&&qx.lang.String.startsWith(this.getSource(),"@")){var e=this.getContentElement();if(e){var t=this.getSizeHint(),r=this.getWidth()||t.width||40,i=this.getHeight()||t.height||40;this.__P_122_22(e,r,i)}}else this.__P_122_21()},__P_122_17(e,t){var r=qx.io.ImageLoader;this.__P_122_8(e,t);var i=r.getWidth(t),n=r.getHeight(t);this.__P_122_21(i,n)},__P_122_18(e,t){var r=qx.io.ImageLoader;r.isFailed(t)?this.__P_122_12(e):r.load(t,this.__P_122_23,this)},__P_122_12(e){null!=e&&(e instanceof qx.html.Image?e.resetSource():e.resetValue())},__P_122_20(e){var t=qx.theme.manager.Font.getInstance().resolve(e.match(/@([^/]+)/)[1]);if("string"==typeof t)throw new Error(`Cannot find font in virtual image source: '${e}'`);return t},__P_122_8(e,t){if(t&&qx.lang.String.startsWith(t,"@")){var r=qx.util.ResourceManager.getInstance(),i=this.__P_122_20(t),n=qx.lang.Object.clone(i.getStyles());delete n.color;e.setStyles(n);e.setStyle("font");e.setStyle("display","table-cell");e.setStyle("verticalAlign","middle");e.setStyle("textAlign","center");this.__P_122_22(e,this.__P_122_1,this.__P_122_2);var o=r.fromFontUriToCharCode(t);e.setValue(String.fromCharCode(o))}else{if("div"==e.getNodeName()){var a=qx.theme.manager.Decoration.getInstance().resolve(this.getDecorator());if(a){var s=a.getStartColor()&&a.getEndColor(),l=a.getBackgroundImage();if(s||l){var u=this.getScale()?"scale":"no-repeat",c=qx.bom.element.Decoration.getAttributes(t,u),h=a.getStyles(!0),d={backgroundImage:c.style.backgroundImage,backgroundPosition:c.style.backgroundPosition||"0 0",backgroundRepeat:c.style.backgroundRepeat||"no-repeat",position:"absolute"};if(l){d.backgroundPosition+=","+h["background-position"]||"0 0";d.backgroundRepeat+=", "+a.getBackgroundRepeat()}if(s){d.backgroundPosition+=", 0 0";d.backgroundRepeat+=", no-repeat"}d.backgroundImage+=","+(h["background-image"]||h.background);e.setStyles(d);return}}else e.setSource&&e.setSource(null)}if(e.setSource){e.setSource(t);e.setStyle("position","absolute")}}},__P_122_23(e,t){if(!0!==this.$$disposed)if(e===qx.util.AliasManager.getInstance().resolve(this.getSource())){if(t.failed){this.warn("Image could not be loaded: "+e);this.fireEvent("loadingFailed")}else{if(t.aborted){this.fireEvent("aborted");return}this.fireEvent("loaded")}this.__P_122_17(this.__P_122_14(),e)}else this.fireEvent("aborted")},__P_122_21(e,t){void 0===e&&(e=this.__P_122_1);void 0===t&&(t=this.__P_122_2);this._recalc(e,t)&&qx.ui.core.queue.Layout.add(this)},_recalc(e,t){var r=this.getMaxWidth(),i=this.getMaxHeight(),n=this.getMinWidth(),o=this.getMinHeight(),a=e,s=t,l=t/e;switch(this.getForceRatio()){case"height":null!==i&&s>i?a=(s=i)/l:sr?s=(a=r)*l:ar?s=(a=r)*l:ai&&(a=(s=i)/l)}a=Math.round(a);s=Math.round(s);if(a!=this.__P_122_1||s!=this.__P_122_2){this.__P_122_1=a;this.__P_122_2=s;return!0}return!1}},destruct(){for(var e in this.__P_122_0)this.__P_122_0.hasOwnProperty(e)&&this.__P_122_0[e].disconnectObject(this);delete this.__P_122_4;this.__P_122_5&&delete this.__P_122_5;this._disposeMap("__P_122_0")}});qx.ui.basic.Image.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.basic.Image":{construct:!0,require:!0},"qx.ui.core.MPlacement":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.DragDropCursor",{extend:qx.ui.basic.Image,include:qx.ui.core.MPlacement,type:"singleton",construct(){qx.ui.basic.Image.constructor.call(this);this.setZIndex(1e8);this.setDomMove(!0);this.getApplicationRoot().add(this,{left:-1e3,top:-1e3})},properties:{appearance:{refine:!0,init:"dragdrop-cursor"},action:{check:["alias","copy","move"],apply:"_applyAction",nullable:!0}},members:{_applyAction(e,t){t&&this.removeState(t);e&&this.addState(e)}}});qx.ui.core.DragDropCursor.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",construct:!0,require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.theme.manager.Meta":{construct:!0},"qx.theme.manager.Color":{},"qx.event.Registration":{},"qx.event.handler.Focus":{},"qx.ui.core.Widget":{},"qx.html.Blocker":{},"qx.event.type.Event":{},"qx.ui.core.FocusHandler":{}},environment:{provided:[],required:{"qx.dyntheme":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.Blocker",{extend:qx.core.Object,events:{blocked:"qx.event.type.Event",unblocked:"qx.event.type.Event"},construct(e){qx.core.Object.constructor.call(this);this._widget=e;e.addListener("resize",this.__P_156_0,this);e.addListener("move",this.__P_156_0,this);e.addListener("disappear",this.__P_156_1,this);if(qx.Class.isDefined("qx.ui.root.Abstract")&&e instanceof qx.ui.root.Abstract){this._isRoot=!0;this.setKeepBlockerActive(!0)}qx.theme.manager.Meta.getInstance().addListener("changeTheme",this._onChangeTheme,this);this.__P_156_2=[];this.__P_156_3=[]},properties:{color:{check:"Color",init:null,nullable:!0,apply:"_applyColor",themeable:!0},opacity:{check:"Number",init:1,apply:"_applyOpacity",themeable:!0},keepBlockerActive:{check:"Boolean",init:!1}},members:{__P_156_4:null,__P_156_5:0,__P_156_2:null,__P_156_3:null,__P_156_6:null,_widget:null,_isRoot:!1,__P_156_7:null,__P_156_0(e){var t=e.getData();this.isBlocked()&&this._updateBlockerBounds(t)},__P_156_8(){this._updateBlockerBounds(this._widget.getBounds());this._widget.isRootWidget()?this._widget.getContentElement().add(this.getBlockerElement()):this._widget.getLayoutParent().getContentElement().add(this.getBlockerElement())},__P_156_1(){if(this.isBlocked()){this.getBlockerElement().getParent().remove(this.getBlockerElement());this._widget.addListenerOnce("appear",this.__P_156_8,this)}},_updateBlockerBounds(e){this.getBlockerElement().setStyles({width:e.width+"px",height:e.height+"px",left:e.left+"px",top:e.top+"px"})},_applyColor(e,t){var r=qx.theme.manager.Color.getInstance().resolve(e);this.__P_156_9("backgroundColor",r)},_applyOpacity(e,t){this.__P_156_9("opacity",e)},_onChangeTheme:qx.core.Environment.select("qx.dyntheme",{true(){this._applyColor(this.getColor())},false:null}),__P_156_9(e,t){var r=[];this.__P_156_4&&r.push(this.__P_156_4);for(var i=0;i0&&(e=this.__P_156_3.pop())&&!e.isDisposed()&&e.isFocusable()&&e.focus();this.__P_156_2.length>0&&(e=this.__P_156_2.pop())&&!e.isDisposed()&&e.activate()},__P_156_10(){return new qx.html.Blocker(this.getColor(),this.getOpacity())},getBlockerElement(e){if(!this.__P_156_4){this.__P_156_4=this.__P_156_10();this.__P_156_4.setStyle("zIndex",15);e||(e=this._isRoot?this._widget:this._widget.getLayoutParent());e.getContentElement().add(this.__P_156_4);this.__P_156_4.exclude()}return this.__P_156_4},block(){this._block()},_block(e,t){if(this._isRoot||this._widget.getLayoutParent()){var r;r=this._isRoot||t?this._widget:this._widget.getLayoutParent();var i=this.getBlockerElement(r);null!=e&&i.setStyle("zIndex",e);this.__P_156_5++;if(this.__P_156_5<2){this._backupActiveWidget();var n=this._widget.getBounds();n&&this._updateBlockerBounds(n);i.include();t||i.activate();i.addListener("deactivate",this.__P_156_11,this);i.addListener("keypress",this.__P_156_12,this);i.addListener("keydown",this.__P_156_12,this);i.addListener("keyup",this.__P_156_12,this);this.fireEvent("blocked",qx.event.type.Event)}}else this.__P_156_7||(this.__P_156_7=this._widget.addListenerOnce("appear",this._block.bind(this,e)))},isBlocked(){return this.__P_156_5>0},unblock(){if(this.__P_156_7){this._widget.removeListenerById(this.__P_156_7);this.__P_156_7=null}if(this.isBlocked()){this.__P_156_5--;if(this.__P_156_5<1){this.__P_156_13();this.__P_156_5=0}}},forceUnblock(){if(this.__P_156_7){this._widget.removeListenerById(this.__P_156_7);this.__P_156_7=null}if(this.isBlocked()){this.__P_156_5=0;this.__P_156_13()}},__P_156_13(){this._restoreActiveWidget();var e=this.getBlockerElement();e.removeListener("deactivate",this.__P_156_11,this);e.removeListener("keypress",this.__P_156_12,this);e.removeListener("keydown",this.__P_156_12,this);e.removeListener("keyup",this.__P_156_12,this);e.exclude();this.fireEvent("unblocked",qx.event.type.Event)},blockContent(e){this._block(e,!0)},__P_156_12(e){"Tab"==e.getKeyIdentifier()&&e.stop()},__P_156_11(){this.getKeepBlockerActive()&&!qx.ui.core.FocusHandler.getInstance().isFocusRoot(this._widget)&&this.getBlockerElement().activate()}},destruct(){qx.theme.manager.Meta.getInstance().removeListener("changeTheme",this._onChangeTheme,this);this._widget.removeListener("resize",this.__P_156_0,this);this._widget.removeListener("move",this.__P_156_0,this);this._widget.removeListener("appear",this.__P_156_8,this);this._widget.removeListener("disappear",this.__P_156_1,this);this.__P_156_7&&this._widget.removeListenerById(this.__P_156_7);this._disposeObjects("__P_156_4","__P_156_6");this.__P_156_2=this.__P_156_3=this._widget=null}});qx.ui.core.Blocker.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.ui.core.LayoutItem":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Abstract",{type:"abstract",extend:qx.core.Object,members:{__P_79_0:null,_invalidChildrenCache:null,__P_79_1:null,invalidateLayoutCache(){this.__P_79_0=null},renderLayout(e,t,r){this.warn("Missing renderLayout() implementation!")},getSizeHint(){return this.__P_79_0?this.__P_79_0:this.__P_79_0=this._computeSizeHint()},hasHeightForWidth:()=>!1,getHeightForWidth(e){this.warn("Missing getHeightForWidth() implementation!");return null},_computeSizeHint:()=>null,invalidateChildrenCache(){this._invalidChildrenCache=!0},verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true(e,t,r){},false:null}),_clearSeparators(){var e=this.__P_79_1;e instanceof qx.ui.core.LayoutItem&&e.clearSeparators()},_renderSeparator(e,t){this.__P_79_1.renderSeparator(e,t)},connectToWidget(e){if(e&&this.__P_79_1)throw new Error("It is not possible to manually set the connected widget.");this.__P_79_1=e;this.invalidateChildrenCache()},_getWidget(){return this.__P_79_1},_applyLayoutChange(){this.__P_79_1&&this.__P_79_1.scheduleLayoutUpdate()},_getLayoutChildren(){return this.__P_79_1.getLayoutChildren()}},destruct(){this.__P_79_1=this.__P_79_0=null}});qx.ui.layout.Abstract.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0},"qx.ui.layout.Util":{},"qx.lang.Type":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Canvas",{extend:qx.ui.layout.Abstract,properties:{desktop:{check:"Boolean",init:!1}},members:{verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true(e,t,r){this.assert(1=={top:1,left:1,bottom:1,right:1,width:1,height:1,edge:1}[t],"The property '"+t+"' is not supported by the Canvas layout!");"width"==t||"height"==t?this.assertMatch(r,qx.ui.layout.Util.PERCENT_VALUE):"number"==typeof r?this.assertInteger(r):qx.lang.Type.isString(r)?this.assertMatch(r,qx.ui.layout.Util.PERCENT_VALUE):this.fail("Bad format of layout property '"+t+"': "+r+". The value must be either an integer or an percent string.")},false:null}),renderLayout(e,t,r){for(var i,n,o,a,s,l,u,c,h,d,f,_,p,m=this._getLayoutChildren(),g=0,v=m.length;gn.maxWidth&&(c=n.maxWidth);a+=p}else{null==(c=o.width)?c=n.width:(c=Math.round(parseFloat(c)*e/100))n.maxWidth&&(c=n.maxWidth);if(null==a&&null==l)switch(i.getAlignX()){case"center":a=Math.round((e-n.width)/2-f);break;case"right":l=0}null!=l?a=e-c-l-f:null==a?a=p:a+=p}if(null!=s&&null!=u){(h=t-s-u-d-_)n.maxHeight&&(h=n.maxHeight);s+=d}else{null==(h=o.height)?h=n.height:(h=Math.round(parseFloat(h)*t/100))n.maxHeight&&(h=n.maxHeight);if(null==s&&null==u)switch(i.getAlignY()){case"middle":s=Math.round((t-n.height)/2-_);break;case"bottom":u=0}null!=u?s=t-h-u-_:null==s?s=d:s+=d}a+=r.left;s+=r.top;i.renderLayout(a,s,c,h)}},_computeSizeHint(){for(var e,t,r,i,n,o,a,s,l,u,c,h=0,d=0,f=0,_=0,p=this._getLayoutChildren(),m=this.isDesktop(),g=0,v=p.length;g{var t=e.getData()[0].exception,r=e.getData()[0].test;this.error("Test '"+r.getFullName()+"' failed: "+t.message+" - "+t.getComment());t.getStackTrace&&this.error("Stack trace: "+t.getStackTrace().join("\n"))}));e.addListener("error",(e=>{var t=e.getData()[0].exception,r=e.getData()[0].test;this.error("The test '"+r.getFullName()+"' had an error: "+t,t)}));this.getSuite().run(e)},getTestDescriptions(){for(var e=[],t=this.getSuite().getTestClasses(),r=0;r{var r=[{exception:t.getData(),test:e}];this.fireDataEvent("failure",r)}));if(!i||this._timeout[e.getFullName()]){this.fireDataEvent("startTest",e);if(this._timeout[e.getFullName()]){if("failed"!==this._timeout[e.getFullName()]){this._timeout[e.getFullName()].stop();this._timeout[e.getFullName()].dispose()}delete this._timeout[e.getFullName()]}else try{e.setUp()}catch(t){if(t instanceof qx.dev.unit.AsyncWrapper){if(this._timeout[e.getFullName()])return;if(t.getDelay()){var o=this,a=function(){throw new qx.core.AssertionError("Asynchronous Test Error in setUp","Timeout of "+t.getDelay()+" ms reached before resume() was called.")},s=t.getDeferredFunction()?t.getDeferredFunction():a,l=t.getContext()?t.getContext():window;this._timeout[e.getFullName()]=qx.event.Timer.once((function(){this.run(e,s,l)}),o,t.getDelay());this.fireDataEvent("wait",e)}return}try{this.tearDown(e)}catch(e){}if("qx.dev.unit.RequirementError"==t.classname){this._createError("skip",[t],e);this.fireDataEvent("endTest",e)}else{t instanceof qx.type.BaseError&&t.message==qx.type.BaseError.DEFAULTMESSAGE?t.message="setUp failed":t.message="setUp failed: "+t.message;this._createError("error",[t],e);this.fireDataEvent("endTest",e)}return}var u;try{u=t.call(r||window)}catch(t){var c=!0;if(t instanceof qx.dev.unit.AsyncWrapper){if(this._timeout[e.getFullName()])return;if(t.getDelay()){o=this,a=function(){throw new qx.core.AssertionError("Asynchronous Test Error","Timeout of "+t.getDelay()+" ms reached before resume() was called.")},s=t.getDeferredFunction()?t.getDeferredFunction():a,l=t.getContext()?t.getContext():window;this._timeout[e.getFullName()]=qx.event.Timer.once((function(){this.run(e,s,l)}),o,t.getDelay());this.fireDataEvent("wait",e)}}else if(t instanceof qx.dev.unit.MeasurementResult){c=!1;this._createError("endMeasurement",[t],e)}else{try{this.tearDown(e)}catch(e){}if("qx.core.AssertionError"==t.classname){this._createError("failure",[t],e);this.fireDataEvent("endTest",e)}else if("qx.dev.unit.RequirementError"==t.classname){this._createError("skip",[t],e);this.fireDataEvent("endTest",e)}else{this._createError("error",[t],e);this.fireDataEvent("endTest",e)}}}if(!c)try{this.tearDown(e);this.fireDataEvent("endTest",e)}catch(t){t instanceof qx.type.BaseError&&t.message==qx.type.BaseError.DEFAULTMESSAGE?t.message="tearDown failed":t.message="tearDown failed: "+t.message;this._createError("error",[t],e);this.fireDataEvent("endTest",e)}return u}this._timeout[e.getFullName()]="failed";var h=new qx.type.BaseError("Error in asynchronous test","resume() called before wait()");this._createError("failure",[h],e);this.fireDataEvent("endTest",e)},_createError(e,t,r){for(var i=[],n=0,o=t.length;n0&&([t,r]=e);null===t&&(t=void 0);null===r&&(r=void 0);return{row:t,column:r}},fromId(e){let t=e.indexOf(":"),r=parseInt(e.substring(0,t),10),i=parseInt(e.substring(t+1),10);return new qxl.datagrid.source.Position(r,i)}}});qxl.datagrid.source.Position.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qxl.datagrid.source.Position":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.source.Range",{extend:qx.core.Object,construct(e,t){qx.core.Object.constructor.call(this);this.setStart(new qxl.datagrid.source.Position(e));this.setEnd(new qxl.datagrid.source.Position(t))},properties:{start:{check:"qxl.datagrid.source.Position",transform:"__P_18_0",event:"changeStart",apply:"__P_18_1"},end:{check:"qxl.datagrid.source.Position",transform:"__P_18_0",event:"changeEnd",apply:"__P_18_1"}},events:{change:"qx.event.type.Event"},members:{clone(){let e=new qxl.datagrid.source.Range;e.set({start:this.getStart(),end:this.getEnd()});return e},contains(e){let t=this.getStart().getRow(),r=this.getEnd().getRow(),i=this.getStart().getColumn(),n=this.getEnd().getColumn(),o=e.getRow(),a=e.getColumn();return o>=t&&o<=r&&a>=i&&a<=n},eclipses(e){return this.contains(e.getStart())&&this.contains(e.getEnd())},iterator(){let e=this.getStart().getRow(),t=this.getEnd().getRow(),r=this.getStart().getColumn(),i=this.getEnd().getColumn(),n=new qxl.datagrid.source.Position(-1,-1);return{next(){if(-1==n.getRow()){n.setRow(e);n.setColumn(r);return{value:n}}if(n.getColumn()this.fireEvent("change")))}},defer(e){e.prototype[Symbol.iterator]=function(){return this.iterator()}}});qxl.datagrid.source.Range.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.util.Labels",{extend:qx.core.Object,statics:{getColumnLetters(e){e++;let t="";for(;e>0;){let r=(e-1)%26;t=String.fromCharCode(r+65)+t;e=(e-r-1)/26}return t}}});qxl.datagrid.util.Labels.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qxl.datagrid.column.IColumns",{members:{getColumn(e){},getLength(){},indexOf(e){}}});qxl.datagrid.column.IColumns.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qxl.datagrid.column.IColumns":{require:!0},"qx.lang.Array":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.Columns",{extend:qx.core.Object,implement:[qxl.datagrid.column.IColumns],construct(){qx.core.Object.constructor.call(this);this._columns=[]},events:{change:"qx.event.type.Data"},members:{_columns:null,isValid:e=>!0,add(e){if(!this.isValid(e))throw new Error(`Cannot add column ${e} because it is not allowed in this list`);let t=!!qx.lang.Array.remove(this._columns,e);this._columns.push(e);this.fireDataEvent("change",{type:"add",column:e,moved:t})},addAll(e){for(let t of e)this.add(t)},remove(e){!!qx.lang.Array.remove(this._columns,e)&&this.fireDataEvent("change",{type:"remove",column:e})},insertBefore(e,t){if(!this.isValid(e))throw new Error(`Cannot add column ${e} because it is not allowed in this list`);let r=!!qx.lang.Array.remove(this._columns,e);t?qx.lang.Array.insertBefore(this._columns,e,t):this._columns.unshift(e);this.fireDataEvent("change",{type:"add",column:e,moved:r})},insertAfter(e,t){if(!this.isValid(e))throw new Error(`Cannot add column ${e} because it is not allowed in this list`);let r=!!qx.lang.Array.remove(this._columns,e);t?qx.lang.Array.insertAfter(this._columns,e,t):this._columns.push(e);this.fireDataEvent("change",{type:"add",column:e,moved:r})},getColumn(e){if(e<0||e>=this._columns.length)throw new Error(`Index out of range, found ${e} maximum is ${this._columns.length}`);return this._columns[e]},getLength(){return this._columns.length},indexOf(e){return this._columns.indexOf(e)},iterator(){let e=0;return{next:()=>e{}},shouldFillWidth:{init:null,check:"Function",nullable:!0,event:"changeShouldFillWidth"},colSpan:{init:null,check:"Function",nullable:!0,event:"changecolSpan"}},events:{change:"qx.event.type.Data",headerTap:"qx.event.type.Event",changeEffectivelyEnabled:"qx.event.type.Data",changeEffectivelyReadOnly:"qx.event.type.Data"},members:{__P_65_0:null,setDataGrid(e){if(this.__P_65_0!==e){if(this.__P_65_0){this.__P_65_0.removeListener("changeEnabled",this.__P_65_1,this);this.__P_65_0.removeListener("changeReadOnly",this.__P_65_2,this)}this.__P_65_0=e;if(e){e.addListener("changeEnabled",this.__P_65_1,this);e.addListener("changeReadOnly",this.__P_65_2,this)}this.fireDataEvent("changeEffectivelyEnabled",this.isEffectivelyEnabled());this.fireDataEvent("changeEffectivelyReadOnly",this.isEffectivelyEnabled())}},getDataGrid(){return this.__P_65_0},__P_65_1(e){this.fireDataEvent("changeEffectivelyEnabled",this.isEffectivelyEnabled())},__P_65_2(e){this.fireDataEvent("changeEffectivelyReadOnly",this.isEffectivelyEnabled())},isEffectivelyReadOnly(){var e,t;return this.getReadOnly()||!this.getEnabled()||!(null===(e=this.__P_65_0)||void 0===e||!e.isReadOnly())||!(null!==(t=this.__P_65_0)&&void 0!==t&&t.isEnabled())},isEffectivelyEnabled(){var e;return!this.getEnabled()||!(null===(e=this.__P_65_0)||void 0===e||!e.isEnabled())},bindWidget(e,t,r){let i=this.getPath(),n=new qxl.datagrid.binding.Bindings(t);if(i&&t){let r=t.bind(i,e,"value",this.getBindingOptions()(e,t));n.add(t,r)}if("function"==typeof e.setReadOnly){const t=()=>{e.setReadOnly(this.isEffectivelyReadOnly());e.setEnabled(this.isEffectivelyEnabled())};n.add(this,this.addListener("changeEffectivelyReadOnly",(()=>t())),"listener");n.add(this,this.addListener("changeEffectivelyEnabled",(()=>t())),"listener");t()}else{const t=()=>{e.setEnabled(this.isEffectivelyEnabled()&&!this.isEffectivelyReadOnly())};n.add(this,this.addListener("changeEffectivelyReadOnly",(()=>t())),"listener");n.add(this,this.addListener("changeEffectivelyEnabled",(()=>t())),"listener");t()}return n},createWidgetForDisplay:()=>(new qx.ui.basic.Label).set({appearance:"qxl-datagrid-cell"}),_applyWidth(e){},_applyMinWidth(e){},_applyMaxWidth(e){},_applyFlex(e){},_applyReadOnly(e){},_applyEnabled(e){}}});qxl.datagrid.column.Column.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.column.Column":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.TextColumn",{extend:qxl.datagrid.column.Column,members:{}});qxl.datagrid.column.TextColumn.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.column.Columns":{construct:!0,require:!0},"qx.lang.Type":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.FilteredColumns",{extend:qxl.datagrid.column.Columns,construct(e){qxl.datagrid.column.Columns.constructor.call(this);this.__P_19_0=e},members:{__P_19_0:null,isValid(e){return this.__P_19_0.indexOf(e)>-1},addRange(e,t){if(!qx.lang.Type.isNumber(e)&&(e=this.__P_19_0.indexOf(e))<0)throw new Error("Invalid start, does not exist in source columns");if(!qx.lang.Type.isNumber(t)&&(t=this.__P_19_0.indexOf(t))<0)throw new Error("Invalid end, does not exist in source columns");t<0&&(t=this.__P_19_0.getLength());if(e<0)throw new Error(`Invalid start, found ${e}`);if(e>t){let r=e;e=t;t=r}for(let r=e;rObject.keys(e).sort().join('"')+(!0===t?"♥":"")},members:{__P_20_0:null,__P_20_1(e,t){return this.__P_20_0&&this.__P_20_0.getJsonHash?this.__P_20_0.getJsonHash(e,t):Object.keys(e).sort().join("|")+(!0===t?"♥":"")},__P_20_2(e,t){if(!0===t)return this.__P_20_1(e,!0);if(!1===t)return this.__P_20_1(e,!1);var r=this.__P_20_1(e),i=r+"♥",n="qx.data.model."+i;return qx.Class.isDefined(n)?i:r},toClass(e,t){this.__P_20_3(e,t,null,0)},__P_20_3(e,t,r,i){if(!qx.lang.Type.isObject(e)||e.$$isString||e instanceof qx.core.Object){if(e instanceof Array||"Array"==qx.Bootstrap.getClass(e))for(var n=0;nString(e).padStart("0")+":"+String(t).padStart("0"),_parseDataKey(e){let t=5;11!==e.length&&(t=e.indexOf(":"));return{row:parseInt(e.substring(0,t),10),column:parseInt(e.substring(t+1),10)}},getModelForPosition(e){let t=this._createDataKey(e.getRow(),e.getColumn());return this._data[t]}}});qxl.datagrid.source.AbstractDataSource.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qxl.datagrid.source.tree.ITreeDataSource",{members:{getNodeStateFor(e){},async expandNode(e){},async collapseNode(e){}}});qxl.datagrid.source.tree.ITreeDataSource.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.source.AbstractDataSource":{construct:!0,require:!0},"qxl.datagrid.source.tree.ITreeDataSource":{require:!0},"qx.lang.Array":{},"qx.data.Array":{},"qx.Promise":{},"qxl.datagrid.source.Position":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.source.tree.TreeDataSource",{extend:qxl.datagrid.source.AbstractDataSource,implement:[qxl.datagrid.source.tree.ITreeDataSource],construct(e,t){qxl.datagrid.source.AbstractDataSource.constructor.call(this);this.__P_22_0=[];this.__P_22_1={};this.__P_22_2=[];e&&this.setNodeInspectorFactory(e);t&&this.setColumns(t)},properties:{root:{nullable:!0,apply:"__P_22_3"},nodeInspectorFactory:{check:"Function"}},events:{changeSize:"qx.event.type.Data"},members:{__P_22_0:null,__P_22_1:null,__P_22_2:null,__P_22_4:null,async __P_22_3(e,t){this._data={};this.__P_22_0=[];if(t){let e=this.__P_22_0;this.__P_22_1={};this.__P_22_0=[];for(let t in e)this.__P_22_5(t)}if(e){let t=this.getNodeInspectorFactory()(e);await this.queue((async()=>{let r=this.__P_22_6(e,-1);this.__P_22_1[e.toHashCode()]=r;r.canHaveChildren=t.canHaveChildren(e);if(!r.canHaveChildren)throw new Error("Root must be able to have children!");r.childrenChangeBinding||(r.childrenChangeBinding=t.createChildrenChangeBinding(e,(()=>this.refreshNodeChildren(e))));await this._insertChildRows(e)}))}this.fireDataEvent("changeSize",this.getSize())},async _insertChildRows(e){let t=this.getNodeInspectorFactory()(e),r=this._getNodeMetaData(e);r.childRowMetas=[];this.__P_22_1[e.toHashCode()]=r;for(let i=0,n=await t.getChildrenOf(e);i{await this._collapseNode(e);await this._expandNode(e);this.fireDataEvent("changeSize",this.getSize())}))},getShownChildren(e){return this._getNodeMetaData(e).childRowMetas.map((e=>e.node))},__P_22_6:(e,t)=>({node:e,level:t,canHaveChildren:void 0,childrenChangeBinding:void 0}),__P_22_5(e){if(e.childrenChangeBinding){e.childrenChangeBinding.dispose();delete e.childrenChangeBinding}},__P_22_5(e){if(e.childrenChangeBinding){e.childrenChangeBinding.dispose();delete e.childrenChangeBinding}},_getNodeMetaData(e){return this.__P_22_1[e.toHashCode()]},async expandNode(e){await this.queue((()=>this._expandNode(e)))},async _expandNode(e){let t=this.getNodeInspectorFactory()(e),r=await t.getChildrenOf(e),i=this._getNodeMetaData(e);if(!i)throw new Error(`Cannot find ${e} in rows`);if(i.childRowMetas||!i.canHaveChildren)return;i.childrenChangeBinding=t.createChildrenChangeBinding(e,(()=>this.refreshNodeChildren(e)));let n=this.__P_22_0.indexOf(i),o=[];for(let e of r){if(!e)continue;const t=this.getNodeInspectorFactory()(e);let r=this.__P_22_6(e,i.level+1);r.canHaveChildren=t.canHaveChildren(e);o.push(r);this.__P_22_1[e.toHashCode()]=r}let a=this.__P_22_0.slice(0,n+1),s=n==this.__P_22_0.length-1?[]:this.__P_22_0.slice(n+1);qx.lang.Array.append(a,o);qx.lang.Array.append(a,s);i.childRowMetas=o;this.__P_22_0=a;this.fireDataEvent("changeSize",this.getSize())},async revealNode(e){const t=async e=>{let t=new qx.data.Array,r=this.getNodeInspectorFactory()(e);for(var i=await r.getParentOf(e);i&&await r.getParentOf(i);){t.insertAt(0,i);i=await r.getParentOf(i)}return t};await this.queue((async()=>{let r=await t(e);if(!r)throw new Error("Cannot find node in tree");for(var i=0;ithis._collapseNode(e)))},async _collapseNode(e){let t=this.__P_22_1[e.toHashCode()];if(!t)throw new Error(`Cannot find ${e} in rows`);if(t.childRowMetas){if(t.childrenChangeBinding){t.childrenChangeBinding.dispose();delete t.childrenChangeBinding}this._removeChildRows(t);this.fireDataEvent("changeSize",this.getSize())}},async updateNodes(){return this.refreshNodeChildren(this.getRoot())},_removeChildRows(e){let t=[];const r=e=>{if(e.childRowMetas)for(let i of e.childRowMetas){t.push(i);r(i);this.__P_22_5(i)}};r(e);delete e.childRowMetas;for(let e of t){delete this.__P_22_1[e.node.toHashCode()];qx.lang.Array.remove(this.__P_22_0,e)}},async queue(e){this.__P_22_2.push(e);1==this.__P_22_2.length&&await this.__P_22_7()},async __P_22_7(){if(0==this.__P_22_2.length){if(this.__P_22_4){this.__P_22_4.resolve();this.__P_22_4=null}return}let e=this.__P_22_2[0];await e();this.__P_22_2.shift();await this.__P_22_7()},async flushQueue(){this.__P_22_4?await this.__P_22_4:this.__P_22_2.length&&(this.__P_22_4=new qx.Promise)},async makeAvailable(e){await this.flushQueue()},isAvailable(e){return!this.__P_22_2.length},getModelForPosition(e){return this.getNode(e.getRow())||null},getPositionOfModel(e){let t=this.__P_22_1[e.toHashCode()]||null;if(null!==t){let e=this.__P_22_0.indexOf(t);return new qxl.datagrid.source.Position(e,0)}return null},getNodeStateFor(e){let t=this.__P_22_1[e.toHashCode()]||null;return t?{level:t.level,state:t.canHaveChildren?t.childRowMetas?"open":"closed":"none"}:null},getNode(e){if(e>=this.__P_22_0.length)return null;return this.__P_22_0[e].node},getSize(){var e;return new qxl.datagrid.source.Position((null===(e=this.__P_22_0)||void 0===e?void 0:e.length)||0,1)}}});qxl.datagrid.source.tree.TreeDataSource.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.ui.GridStyling",{extend:qx.core.Object,properties:{numHeaderRows:{init:1,check:"Integer",apply:"__P_23_0",event:"changeNumHeaderRows"},numFixedRows:{init:0,check:"Integer",apply:"__P_23_0",event:"changeNumFixedRows"},numFixedColumns:{init:0,check:"Integer",apply:"__P_23_0",event:"changeNumFixedColumns"},minRowHeight:{init:22,nullable:!0,check:"Integer",apply:"__P_23_0",event:"changeMinRowHeight"},maxRowHeight:{init:null,nullable:!0,check:"Integer",apply:"__P_23_0",event:"changeMaxRowHeight"},headerRowHeight:{init:null,nullable:!0,check:"Integer",apply:"__P_23_0",event:"changeHeaderRowHeight"},minColumnWidth:{init:null,nullable:!0,check:"Integer",apply:"__P_23_0",event:"changeMinColumnWidth"},maxColumnWidth:{init:null,nullable:!0,check:"Integer",apply:"__P_23_0",event:"changeMaxColumnWidth"},horizontalSpacing:{init:3,themeable:!0,check:"Integer",apply:"__P_23_0",event:"changeHorizontalSpacing"},verticalSpacing:{init:2,themeable:!0,check:"Integer",apply:"__P_23_0",event:"changeVerticalSpacing"},colSpan:{init:null,check:"Function",nullable:!0,event:"changecolSpan"}},events:{change:"qx.event.type.Event"},members:{__P_23_0(){this.fireEvent("change")}}});qxl.datagrid.ui.GridStyling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qxl.datagrid.column.IColumns":{},"qxl.datagrid.ui.GridStyling":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.ui.GridSizeCalculator",{extend:qx.core.Object,construct(e,t,r){qx.core.Object.constructor.call(this);this._columns=e;this._widgetSizeSource=r;t&&this.setStyling(t)},properties:{columns:{init:null,nullable:!0,check:"qxl.datagrid.column.IColumns",apply:"invalidate",event:"changeColumns"},styling:{nullable:!1,check:"qxl.datagrid.ui.GridStyling",apply:"__P_24_0",event:"changeStyling"}},events:{change:"qx.data.event.Event"},members:{_columns:null,_widgetSizeSource:null,__P_24_1:null,_width:null,_height:null,_startRowIndex:null,_startColumnIndex:null,_left:null,_top:null,getSizesFor(e,t,r,i){this.setAvailableSize(e,t,r,i,0,0);return this.getSizes()},setAvailableSize(e,t,r,i,n,o){if(e!==this._width||t!==this._height||r!=this._startRowIndex||i!=this._startColumnIndex){this.invalidate();this._width=e;this._height=t;this._startRowIndex=r;this._startColumnIndex=i;this._left=n;this._top=o}return!this.__P_24_1},getSizes(){!this.__P_24_1&&this._width&&this._height&&(this.__P_24_1=this._calculateSizes());return this.__P_24_1},getInitialOffsets(){return{left:this._left,top:this._top}},invalidate(){this.__P_24_1=null},_calculateSizes(){let e=this.getStyling(),t={row:this._startRowIndex+e.getNumFixedRows(),column:this._startColumnIndex+e.getNumFixedColumns()},r=[],i=[],n=0,o={},a=this._width,s=e.getHorizontalSpacing(),l=e.getVerticalSpacing(),u=0;const c=e=>{var t,l;let c=this._columns.getColumn(e);i.push(e);let h=c.getFlex()&&null===c.getWidth()?c.getFlex():0,d=null!==(t=c.getWidth())&&void 0!==t?t:0,f=null!==(l=c.getMinWidth())&&void 0!==l?l:0;if(h){r.push(e);n+=h;d=f}else{var _;let e=null!==(_=c.getMaxWidth())&&void 0!==_?_:0;de&&(d=e)}a-=d;a-=s;o[e]=d;i.length>0&&(u+=s);u+=d};for(let t=0;t=0)for(let e=t.column;e=this._width);e++)c(e);else for(let e=this._columns.getLength()-1;e>=0&&!(u>=this._width);e--)c(e);if(r.length){let e=r.map((e=>({index:e,column:this._columns.getColumn(e)})));e.sort(((e,t)=>{var r,i,n,o,a,s;return(null!==(r=e.column.getMinWidth())&&void 0!==r?r:0)-(null!==(i=t.column.getMinWidth())&&void 0!==i?i:0)||(null!==(n=e.column.getMaxWidth())&&void 0!==n?n:0)-(null!==(o=t.column.getMaxWidth())&&void 0!==o?o:0)||(null!==(a=e.column.getFlex())&&void 0!==a?a:0)-(null!==(s=t.column.getFlex())&&void 0!==s?s:0)}));for(let{column:t,index:r}of e){let e=Math.floor(a/n*t.getFlex());if(t.getMaxWidth()){let i=t.getMaxWidth()-o[r];e>i&&(e=i)}a-=e;u+=e;o[r]+=e;n-=t.getFlex()}}let h=e.getMinRowHeight(),d=e.getMaxRowHeight(),f={},_=0;const p=e=>{let t=0;for(let r of i){let i=this._widgetSizeSource.getWidgetSize(e,r),n=i.height||0;ni.maxHeight&&(n=i.maxHeight);nd){t=n=d;break}t0&&(_+=l);_+=t};for(let t=0;t=0)for(let e=t.row;e=this._height);e++)void 0===f[e]&&p(e);else for(let e=m-1;e>=0&&!(_>=this._height);e--)void 0===f[e]&&p(e);let g={columns:[],rows:[],horizontalScrollPosition:0,verticalScrollPosition:0};for(let e in o){let t=parseInt(e,10);g.columns.push({columnIndex:t,column:this._columns.getColumn(t),width:o[e]})}for(let e in f){let t=parseInt(e,10);g.rows.push({rowIndex:t,height:f[e]})}return g},__P_24_0(e,t){t&&t.removeListener("change",this.invalidate,this);e&&e.addListener("change",this.invalidate,this)}}});qxl.datagrid.ui.GridSizeCalculator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qxl.datagrid.source.IDataSource":{require:!0},"qxl.datagrid.source.Position":{},"qxl.datagrid.demo.biggrid.DummyModel":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.demo.biggrid.DummyDataSource",{extend:qx.core.Object,implement:[qxl.datagrid.source.IDataSource],construct(e,t){qx.core.Object.constructor.call(this);this.__P_25_0={};e&&this.setNumRows(e);t&&this.setNumColumns(t)},properties:{numRows:{init:100,event:"changeNumRows",apply:"_applyNumXxx"},numColumns:{init:100,event:"changeNumColumns",apply:"_applyNumXxx"}},events:{changeSize:"qx.event.type.Data"},members:{__P_25_0:null,__P_25_1:null,_applyNumXxx(e){for(let e in this.__P_25_0){let t=qxl.datagrid.source.Position.fromId(e);if(t.getColumn()>=this.getNumColumns()||t.getRow()>=this.getNumRows()){this.__P_25_0[e].dispose();delete this.__P_25_0[e]}}if(this.__P_25_1){this.__P_25_1.getColumn()>this.getNumColumns()&&this.__P_25_1.setColumn(this.getNumColumns());this.__P_25_1.getRow()>this.getNumRows()&&this.__P_25_1.setRow(this.getNumRows())}},isAvailable(e){return!!this.__P_25_1&&(this.__P_25_1.eclipses(e)||this.__P_25_1.columnZero().eclipses(e))},async makeAvailable(e){let t=this.__P_25_0,r={};const i=e=>{let i=e.toId(),n=t[i];n?delete t[i]:n=(new qxl.datagrid.demo.biggrid.DummyModel).set({rowIndex:e.getRow(),columnIndex:e.getColumn()});r[i]=n};for(let t of e)i(t);for(let t of e.rowsIterator())i(t);for(let e in t)t[e].dispose();this.__P_25_0=r;this.__P_25_1=e},getModelForPosition(e){return this.__P_25_0[e.toId()]},getPositionOfModel:e=>new qxl.datagrid.source.Position(e.getRowIndex(),e.getColumnIndex()),getSize(){return new qxl.datagrid.source.Position(this.getNumRows(),this.getNumColumns())}}});qxl.datagrid.demo.biggrid.DummyDataSource.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qxl.datagrid.source.IDataSource":{}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qxl.datagrid.ui.factory.IWidgetFactory",{properties:{dataSource:{init:null,check:"qxl.datagrid.source.IDataSource",event:"changeDataSource"}},members:{getWidgetFor(e,t){},bindWidget(e,t,r){},unbindWidget(e){},getModelForWidget(e){}}});qxl.datagrid.ui.factory.IWidgetFactory.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qxl.datagrid.ui.factory.IWidgetFactory":{require:!0},"qxl.datagrid.source.IDataSource":{},"qxl.datagrid.column.IColumns":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.ui.factory.AbstractWidgetFactory",{extend:qx.core.Object,type:"abstract",implement:[qxl.datagrid.ui.factory.IWidgetFactory],construct(e){qx.core.Object.constructor.call(this);this.__P_69_0={};e&&this.setColumns(e)},properties:{dataSource:{init:null,check:"qxl.datagrid.source.IDataSource",event:"changeDataSource"},columns:{init:null,nullable:!0,check:"qxl.datagrid.column.IColumns",apply:"_applyColumns",event:"changeColumns"}},members:{__P_69_0:null,__P_69_1:null,_applyColumns(e,t){this.disposeAllWidgets()},disposeAllWidgets(){Object.values(this.getWidgets()).forEach((e=>{this.unbindWidget(e);this.disposeWidget(e)}))},getWidgetFor(e,t){let r=e+":"+t,i=this.__P_69_0[r];if(!i){let n=this.getColumns().getColumn(t);i=this.__P_69_0[r]=this._createWidget(n);this.__P_69_1&&i.setAppearance(this.__P_69_1);i.setUserData("qxl.datagrid.factory.AbstractWidgetFactory.bindingData",{rowIndex:e,columnIndex:t,column:n})}return i},getModelForWidget(e){let t=e.getUserData("qxl.datagrid.factory.AbstractWidgetFactory.bindingData");return(null==t?void 0:t.model)||null},disposeWidget(e){let t=e.getUserData("qxl.datagrid.factory.AbstractWidgetFactory.bindingData"),r=t.rowIndex+":"+t.columnIndex;t.model&&this.unbindWidget(e);e.setUserData("qxl.datagrid.factory.AbstractWidgetFactory.bindingData",null);delete this.__P_69_0[r];e.dispose()},_createWidget(e){throw new Error("No such method "+this.classname+"._createWidget")},getWidgets(){return this.__P_69_0},setChildAppearances(e){this.__P_69_1=e;Object.values(this.getWidgets()).forEach((e=>{e.setAppearance(this.__P_69_1)}))}}});qxl.datagrid.ui.factory.AbstractWidgetFactory.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.ui.factory.AbstractWidgetFactory":{require:!0},"qxl.datagrid.util.Labels":{},"qx.ui.basic.Atom":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.ui.factory.HeaderWidgetFactory",{extend:qxl.datagrid.ui.factory.AbstractWidgetFactory,properties:{widgetAppearance:{check:"String",event:"changeWidgetAppearance",init:"qxl-datagrid-header-cell"}},members:{bindWidget(e,t){let r=e.getUserData("qxl.datagrid.factory.AbstractWidgetFactory.bindingData"),i=r.column.bind("caption",e,"label",{converter:(e,t,i,n)=>e||qxl.datagrid.util.Labels.getColumnLetters(r.columnIndex)});r.bindingId=i},unbindWidget(e){let t=e.getUserData("qxl.datagrid.factory.AbstractWidgetFactory.bindingData");t.column.removeBinding(t.bindingId);t.bindingId=null},_createWidget(){return(new qx.ui.basic.Atom).set({appearance:this.getWidgetAppearance(),rich:!0,iconPosition:"top-left"})}}});qxl.datagrid.ui.factory.HeaderWidgetFactory.$$dbClassInfo=e}();function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread(e){for(var t=1;t{let t=e.getUserData("qxl.datagrid.cellData"),r=t.row+":"+t.column;t.row>s||t.columnu?this.__P_26_2(e,r):c[r]=e}));let h=o.getHorizontalSpacing(),d=o.getVerticalSpacing(),f=0;const _=o.getColSpan();let p=new qxl.datagrid.source.Position,m=new qxl.datagrid.source.Position;for(let e of a.rows){let t=0;if(e.rowIndex>=0)continue;let r=e.rowIndex,i=-1/0;for(let o=0;onull==_?void 0:_(...v)),...v):_&&(y=_(...v));y=Math.floor(null!==(g=y)&&void 0!==g?g:1);d.setUserData("qxl.datagrid.cellData",_objectSpread(_objectSpread({},d.getUserData("qxl.datagrid.cellData")),{},{colSpan:y}));i=o+y;for(let e=o+1;ee.createWidgetForDisplay()}});qxl.datagrid.ui.factory.SimpleWidgetFactory.$$dbClassInfo=e}();function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread(e){for(var t=1;tthis.updateWidgets()));i.addListener("changeSelection",(()=>{"cell"==i.getSelectionStyle()&&this.updateWidgets()}));i.addListener("changeFocused",(()=>{"cell"==i.getSelectionStyle()&&this.updateWidgets()}));r&&this.setDataSource(r);this._setLayout(new qxl.datagrid.ui.layout.Fixed);this.addListener("tap",this.__P_27_4,this,!0)},properties:{dataSource:{init:null,check:"qxl.datagrid.source.IDataSource",event:"changeDataSource"},appearance:{init:"qxl-datagrid-widgetpane",refine:!0}},events:{modelDoubleTap:"qx.event.type.Data"},members:{__P_27_0:null,__P_27_1:null,__P_27_2:null,__P_27_5:!1,__P_27_3:null,invalidateAll(){this.__P_27_5=!0},updateWidgets(){var e,t,r,i;if(!this.__P_27_1.getColumns())return;let n=this.__P_27_1.getColumns(),o=this.getDataSource(),a=this.__P_27_0.getStyling(),s=this.__P_27_0.getSizes();if(!s)return;let l=null!==(e=null===(t=s.columns[0])||void 0===t?void 0:t.columnIndex)&&void 0!==e?e:0,u=null!==(r=null===(i=s.columns[s.columns.length-1])||void 0===i?void 0:i.columnIndex)&&void 0!==r?r:0,c=null,h=null,d=null;s.rows.forEach((e=>{e.rowIndex>=a.getNumFixedRows()&&(null===d||d>e.rowIndex)&&(d=e.rowIndex);(null===c||c>e.rowIndex)&&(c=e.rowIndex);(null===h||hthis.updateWidgets()))}let p=this.__P_27_5;this.__P_27_5=!1;let m=this.__P_27_3;qx.lang.Array.clone(this._getChildren()).forEach((e=>{let t=e.getUserData("qxl.datagrid.cellData"),r=t.row+":"+t.column;p||t.rowh||t.columnu?this.__P_27_6(e,r):m[r]=e}));let g=a.getHorizontalSpacing(),v=a.getVerticalSpacing(),b=0;const y=a.getColSpan();let x=new qxl.datagrid.source.Position,q=new qxl.datagrid.source.Position;for(let e=0;enull==y?void 0:y(..._)),..._):y&&(t=y(..._));t=Math.max(1,Math.floor(null!==(w=t)&&void 0!==w?w:1));d.setUserData("qxl.datagrid.cellData",_objectSpread(_objectSpread({},d.getUserData("qxl.datagrid.cellData")),{},{colSpan:t}));a=l+t;for(let e=l+1;ethis.__P_28_1()));this.__P_28_2=new qx.data.Array;this.__P_28_2.addListener("change",(()=>{this.__P_28_0.run()}))},properties:{dataSource:{init:null,check:"qxl.datagrid.source.IDataSource",event:"changeDataSource"},selectionStyle:{init:"row",check:["row","cell","area"],apply:"_applySelectionStyle",event:"changeSelectionStyle"},selectionMode:{check:["single","multi","additive","one"],init:"single",apply:"_applySelectionMode",event:"changeSelectionMode"},focused:{init:null,nullable:!0,transform:"__P_28_3",event:"changeFocused"}},events:{changeSelection:"qx.event.type.Data"},members:{__P_28_2:null,__P_28_0:null,__P_28_4:null,_applySelectionStyle(e){if("row"===e){for(let e=0;e1&&this.__P_28_2.replace([this.__P_28_2.getItem(0)])},__P_28_3(e){"row"===this.getSelectionStyle()&&(e=this.__P_28_5(e));return e},__P_28_1(){let e=this.__P_28_2,t=this.__P_28_4;this.__P_28_4=e;this.fireDataEvent("changeSelection",e,t)},getSelection(){return this.__P_28_2},getSelectionRange(){return this.__P_28_6},setSelection(e){this.__P_28_6=null;"area"===this.getSelectionStyle()?this.__P_28_7(e):this.__P_28_8(e)},__P_28_7(e){this.__P_28_6=e;this.__P_28_2.replace(this.__P_28_9(e));this.setFocused(this.__P_28_2.getItem(0))},__P_28_9(e){const t=this.getDataSource(),r=Math.min(e.getStart().getColumn(),e.getEnd().getColumn()),i=Math.max(e.getStart().getColumn(),e.getEnd().getColumn()),n=Math.min(e.getStart().getRow(),e.getEnd().getRow()),o=Math.max(e.getStart().getRow(),e.getEnd().getRow()),a=new qx.data.Array;for(let e=n;e<=o;e++)for(let n=r;n<=i;n++){const r=t.getModelForPosition(new qxl.datagrid.source.Position(e,n));a.push(r)}return a},__P_28_8(e){e instanceof qx.data.Array&&(e=e.toArray());["one","single"].includes(this.getSelectionMode())&&e.length>1&&(e=[e[0]]);"row"===this.getSelectionStyle()&&(e=e.map((e=>this.__P_28_5(e))));"single"===this.getSelectionMode()&&e[0]===this.__P_28_2.getItem(0)&&(e=[]);this.__P_28_2.replace(e)},resetSelection(){this.__P_28_2.removeAll()},isSelected(e){return this.__P_28_2.contains(e)},isSelectionEmpty(){return 0===this.__P_28_2.getLength()},__P_28_5(e){let t=this.getDataSource(),r=t.getPositionOfModel(e);0!=r.getColumn()&&(e=t.getModelForPosition(new qxl.datagrid.source.Position(r.getRow(),0)));return e}}});qxl.datagrid.ui.SelectionManager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.container.Composite":{construct:!0,require:!0},"qx.ui.tabview.TabButton":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.tabview.Page",{extend:qx.ui.container.Composite,construct(e,t){qx.ui.container.Composite.constructor.call(this);this._createChildControl("button");null!=e&&this.setLabel(e);null!=t&&this.setIcon(t);const r=this.getButton(),i="page-"+this.toHashCode(),n="btn-"+i+r.toHashCode(),o=this.getContentElement();o.setAttribute("id",i);o.setAttribute("role","tabpanel");o.setAttribute("aria-labelledBy",n);o.setAttribute("aria-expanded",!1);const a=r.getContentElement();a.setAttribute("id",n);a.setAttribute("role","tab");a.setAttribute("aria-selected",!1);a.setAttribute("aria-controls",i);r.addListener("changeValue",this._onBtnChangeValue,this)},events:{close:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"tabview-page"},label:{check:"String",init:"",apply:"_applyLabel"},icon:{check:"String",init:"",apply:"_applyIcon",nullable:!0},showCloseButton:{check:"Boolean",init:!1,apply:"_applyShowCloseButton"},tabVisibility:{init:"visible",check:["visible","excluded"],nullable:!1,apply:"_applyTabVisibility",event:"changeTabVisibility"}},members:{_forwardStates:{barTop:1,barRight:1,barBottom:1,barLeft:1,firstTab:1,lastTab:1},_applyIcon(e,t){var r=this.getChildControl("button");if(e){r.setIcon(e);r._showChildControl("icon")}else r._excludeChildControl("icon")},_applyLabel(e,t){this.getChildControl("button").setLabel(e)},_applyEnabled(e,t){qx.ui.tabview.Page.superclass.prototype._applyEnabled.call(this,e,t);var r=this.getChildControl("button");null==e?r.resetEnabled():r.setEnabled(e)},_createChildControlImpl(e,t){var r;if("button"===e){(r=new qx.ui.tabview.TabButton).setAllowGrowX(!0);r.setAllowGrowY(!0);r.setUserData("page",this);r.addListener("close",this._onButtonClose,this);r.setVisibility(this.getTabVisibility())}return r||qx.ui.tabview.Page.superclass.prototype._createChildControlImpl.call(this,e)},_onBtnChangeValue(e){const t=e.getData();this.getContentElement().setAttribute("aria-expanded",t,!0);this.getButton().getContentElement().setAttribute("aria-selected",t)},_applyShowCloseButton(e,t){this.getChildControl("button").setShowCloseButton(e)},_applyTabVisibility(e,t){this.getButton().setVisibility(e)},_onButtonClose(){this.fireEvent("close")},getChildrenContainer(){return this},getButton(){return this.getChildControl("button")}}});qx.ui.tabview.Page.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MRemoteLayoutHandling",{members:{setLayout(e){var t=this.getChildrenContainer();t===this?t._setLayout(e):t.setLayout(e)},getLayout(){var e=this.getChildrenContainer();return e===this?e._getLayout():e.getLayout()}}});qx.ui.core.MRemoteLayoutHandling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MRemoteChildrenHandling":{require:!0},"qx.ui.core.MRemoteLayoutHandling":{require:!0},"qx.ui.form.RepeatButton":{},"qx.ui.container.Composite":{},"qx.ui.core.scroll.ScrollPane":{},"qx.ui.layout.HBox":{},"qx.ui.layout.VBox":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.container.SlideBar",{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling],construct(e){qx.ui.core.Widget.constructor.call(this);var t=this.getChildControl("scrollpane");this._add(t,{flex:1});null!=e?this.setOrientation(e):this.initOrientation();this.addListener("roll",this._onRoll,this)},properties:{appearance:{refine:!0,init:"slidebar"},orientation:{check:["horizontal","vertical"],init:"horizontal",apply:"_applyOrientation"},scrollStep:{check:"Integer",init:15,themeable:!0}},events:{scrollAnimationEnd:"qx.event.type.Event"},members:{getChildrenContainer(){return this.getChildControl("content")},_createChildControlImpl(e,t){var r;switch(e){case"button-forward":(r=new qx.ui.form.RepeatButton).addListener("execute",this._onExecuteForward,this);r.setFocusable(!1);this._addAt(r,2);break;case"button-backward":(r=new qx.ui.form.RepeatButton).addListener("execute",this._onExecuteBackward,this);r.setFocusable(!1);this._addAt(r,0);break;case"content":r=new qx.ui.container.Composite;this.getChildControl("scrollpane").add(r);break;case"scrollpane":(r=new qx.ui.core.scroll.ScrollPane).addListener("update",this._onResize,this);r.addListener("scrollX",this._onScroll,this);r.addListener("scrollY",this._onScroll,this);r.addListener("scrollAnimationEnd",this._onScrollAnimationEnd,this)}return r||qx.ui.container.SlideBar.superclass.prototype._createChildControlImpl.call(this,e)},_forwardStates:{barLeft:!0,barTop:!0,barRight:!0,barBottom:!0},scrollBy(e,t){var r=this.getChildControl("scrollpane");"horizontal"===this.getOrientation()?r.scrollByX(e,t):r.scrollByY(e,t)},scrollTo(e,t){var r=this.getChildControl("scrollpane");"horizontal"===this.getOrientation()?r.scrollToX(e,t):r.scrollToY(e,t)},_applyEnabled(e,t,r){qx.ui.container.SlideBar.superclass.prototype._applyEnabled.call(this,e,t,r);this._updateArrowsEnabled()},_applyOrientation(e,t){this.getContentElement().setAttribute("aria-orientation",e);var r=[this.getLayout(),this._getLayout()],i=this.getChildControl("button-forward"),n=this.getChildControl("button-backward");if("vertical"==t&&"horizontal"==e){i.removeState("vertical");n.removeState("vertical");i.addState("horizontal");n.addState("horizontal")}else if("horizontal"==t&&"vertical"==e){i.removeState("horizontal");n.removeState("horizontal");i.addState("vertical");n.addState("vertical")}if("horizontal"==e){this._setLayout(new qx.ui.layout.HBox);this.setLayout(new qx.ui.layout.HBox)}else{this._setLayout(new qx.ui.layout.VBox);this.setLayout(new qx.ui.layout.VBox)}r[0]&&r[0].dispose();r[1]&&r[1].dispose()},_onRoll(e){if("mouse"!=e.getPointerType()){var t=0,r=this.getChildControl("scrollpane");if("horizontal"===this.getOrientation()){t=e.getDelta().x;var i=r.getScrollX(),n=r.getScrollMaxX();(o=parseInt(t))<0&&i<=0||o>0&&i>=n||0==t?e.stopMomentum():e.stop()}else{t=e.getDelta().y;var o;i=r.getScrollY(),n=r.getScrollMaxY();(o=parseInt(t))<0&&i<=0||o>0&&i>=n||0==t?e.stopMomentum():e.stop()}this.scrollBy(parseInt(t,10));e.getMomentum()&&e.stop()}},_onScroll(){this._updateArrowsEnabled()},_onScrollAnimationEnd(){this.fireEvent("scrollAnimationEnd")},_onResize(e){var t=this.getChildControl("scrollpane").getChildren()[0];if(t){var r=this.getInnerSize(),i=t.getBounds();if("horizontal"===this.getOrientation()?i.width>r.width:i.height>r.height){this._showArrows();this._updateArrowsEnabled()}else this._hideArrows()}},_onExecuteBackward(){this.scrollBy(-this.getScrollStep())},_onExecuteForward(){this.scrollBy(this.getScrollStep())},_updateArrowsEnabled(){if(this.getEnabled()){var e=this.getChildControl("scrollpane");if("horizontal"===this.getOrientation())var t=e.getScrollX(),r=e.getScrollMaxX();else t=e.getScrollY(),r=e.getScrollMaxY();this.getChildControl("button-backward").setEnabled(t>0);this.getChildControl("button-forward").setEnabled(te._getItems(),isItemSelectable:t=>e._isItemSelectable?e._isItemSelectable(t):t.isVisible()});this.__P_126_0.addListener("changeSelected",this._onChangeSelected,this)}this.__P_126_0.setAllowEmptySelection(this._isAllowEmptySelection());return this.__P_126_0}},destruct(){this._disposeObjects("__P_126_0")}});qx.ui.core.MSingleSelectionHandling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.form.IField":{require:!0},"qx.ui.core.ISingleSelection":{require:!0},"qx.ui.core.MSingleSelectionHandling":{require:!0},"qx.ui.core.MChildrenHandling":{require:!0},"qx.ui.layout.Grow":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.container.Stack",{extend:qx.ui.core.Widget,implement:[qx.ui.form.IField,qx.ui.core.ISingleSelection],include:[qx.ui.core.MSingleSelectionHandling,qx.ui.core.MChildrenHandling],construct(){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.layout.Grow);this.addListener("changeSelection",this.__P_72_0,this)},properties:{dynamic:{check:"Boolean",init:!1,apply:"_applyDynamic"}},members:{_applyDynamic(e){for(var t=this._getChildren(),r=this.getSelection()[0],i=0,n=t.length;i!0,_isItemSelectable:e=>!0,__P_72_0(e){var t=e.getOldData()[0],r=e.getData()[0];t&&(this.isDynamic()?t.exclude():t.hide());r&&r.show()},_afterAddChild(e){var t=this.getSelection()[0];t?t!==e&&(this.isDynamic()?e.exclude():e.hide()):this.setSelection([e])},_afterRemoveChild(e){if(this.getSelection()[0]===e){var t=this._getChildren()[0];t?this.setSelection([t]):this.resetSelection()}},previous(){var e=this.getSelection()[0],t=this._indexOf(e)-1,r=this._getChildren();t<0&&(t=r.length-1);var i=r[t];this.setSelection([i])},next(){var e=this.getSelection()[0],t=this._indexOf(e)+1,r=this._getChildren(),i=r[t]||r[0];this.setSelection([i])}}});qx.ui.container.Stack.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IModelSelection",{members:{setModelSelection(e){},getModelSelection(){}}});qx.ui.form.IModelSelection.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.data.Array":{construct:!0},"qx.lang.Array":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.form.MModelSelection",{construct(){this.__P_127_0=new qx.data.Array;this.__P_127_0.addListener("change",this.__P_127_1,this);this.addListener("changeSelection",this.__P_127_2,this)},events:{changeModelSelection:"qx.event.type.Data"},members:{__P_127_0:null,__P_127_3:!1,__P_127_2(){if(!this.__P_127_3){for(var e=this.getSelection(),t=[],r=0;r0&&!this.getSelection()[0]&&this.setSelection([r[0]])},remove(e){var t=this.__P_73_0,r=this.getGroupedProperty(),i=qx.lang.String.firstUp(r);if(t.includes(e)){qx.lang.Array.remove(t,e);e.get(this.getGroupProperty())===this&&e.reset(this.getGroupProperty());e.removeListener("change"+i,this._onItemChangeChecked,this);e.get(r)&&this.resetSelection()}},getChildren(){return this.__P_73_0},_onItemChangeChecked(e){var t=e.getTarget(),r=this.getGroupedProperty();t.get(r)?this.setSelection([t]):this.getSelection()[0]==t&&this.resetSelection()},_applyGroupedProperty(e,t){for(var r,i=qx.lang.String.firstUp(t),n=qx.lang.String.firstUp(e),o=0;o=0)}else"flexShrink"===t?this.assertBoolean(r):this.assert(!1,"The property '"+t+"' is not supported by the HBox layout!")},false:null}),renderLayout(e,t,r){this._invalidChildrenCache&&this.__P_74_4();var i,n,o,a,s=this.__P_74_3,l=s.length,u=qx.ui.layout.Util,c=this.getSpacing(),h=this.getSeparator(),d=[],f=i=h?u.computeHorizontalSeparatorGaps(s,c,h):u.computeHorizontalGaps(s,c,!0);for(n=0;ny.maxWidth&&(w=y.maxWidth);d.push(w);f+=w}if(this.__P_74_2&&f!=e){var _,p,m={},g=f>e;for(n=0;n0){y=s[n].getSizeHint();m[n]={min:y.minWidth,value:d[n],max:y.maxWidth,flex:_};if(g){var v=s[n].getLayoutProperties();v&&v.flexShrink&&(m[n].min=0)}}var b=u.computeFlexOffsets(m,e,f);for(n in b){p=b[n].offset;d[n]+=p;f+=p}}var y,x,q,w,P,M,E,I=s[0].getMarginLeft();if(f0)if(h){I+=P+c;this._renderSeparator(h,{left:I+r.left,top:r.top,width:S,height:t});I+=S+c+o.getMarginLeft()}else I+=u.collapseMargins(c,P,o.getMarginLeft());o.renderLayout(I+r.left,x+r.top,w,q);I+=w;P=o.getMarginRight()}},_computeSizeHint(){this._invalidChildrenCache&&this.__P_74_4();for(var e,t,r,i=qx.ui.layout.Util,n=this.__P_74_3,o=0,a=0,s=0,l=0,u=0,c=0,h=n.length;cu&&(u=t.height+r);t.minHeight+r>l&&(l=t.minHeight+r)}o+=s;var _,p=this.getSpacing(),m=this.getSeparator();return{minWidth:o+(_=m?i.computeHorizontalSeparatorGaps(n,p,m):i.computeHorizontalGaps(n,p,!0)),width:a+_,minHeight:l,height:u}}},destruct(){this.__P_74_0=this.__P_74_1=this.__P_74_3=null}});qx.ui.layout.HBox.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{construct:!0,require:!0},"qx.ui.layout.Util":{},"qx.theme.manager.Decoration":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.VBox",{extend:qx.ui.layout.Abstract,construct(e,t,r){qx.ui.layout.Abstract.constructor.call(this);e&&this.setSpacing(e);t&&this.setAlignY(t);r&&this.setSeparator(r)},properties:{alignY:{check:["top","middle","bottom"],init:"top",apply:"_applyLayoutChange"},alignX:{check:["left","center","right"],init:"left",apply:"_applyLayoutChange"},spacing:{check:"Integer",init:0,apply:"_applyLayoutChange"},separator:{check:"Decorator",nullable:!0,apply:"_applyLayoutChange"},reversed:{check:"Boolean",init:!1,apply:"_applyReversed"}},members:{__P_75_0:null,__P_75_1:null,__P_75_2:null,__P_75_3:null,_applyReversed(){this._invalidChildrenCache=!0;this._applyLayoutChange()},__P_75_4(){var e,t=this._getLayoutChildren(),r=t.length,i=!1,n=this.__P_75_0&&this.__P_75_0.length!=r&&this.__P_75_1&&this.__P_75_0,o=n?this.__P_75_0:new Array(r),a=n?this.__P_75_1:new Array(r);this.getReversed()&&(t=t.concat().reverse());for(var s=0;s=0)}else"flexShrink"==t?this.assertBoolean(r):this.assert(!1,"The property '"+t+"' is not supported by the VBox layout!")},false:null}),renderLayout(e,t,r){this._invalidChildrenCache&&this.__P_75_4();var i,n,o,a,s=this.__P_75_3,l=s.length,u=qx.ui.layout.Util,c=this.getSpacing(),h=this.getSeparator(),d=[],f=i=h?u.computeVerticalSeparatorGaps(s,c,h):u.computeVerticalGaps(s,c,!0);for(n=0;ny.maxHeight&&(w=y.maxHeight);d.push(w);f+=w}if(this.__P_75_2&&f!=t){var _,p,m={},g=f>t;for(n=0;n0){y=s[n].getSizeHint();m[n]={min:y.minHeight,value:d[n],max:y.maxHeight,flex:_};if(g){var v=s[n].getLayoutProperties();v&&v.flexShrink&&(m[n].min=0)}}var b=u.computeFlexOffsets(m,t,f);for(n in b){p=b[n].offset;d[n]+=p;f+=p}}var y,x,q,w,P,M,E,I=s[0].getMarginTop();if(f0)if(h){I+=P+c;this._renderSeparator(h,{top:I+r.top,left:r.left,height:S,width:e});I+=S+c+o.getMarginTop()}else I+=u.collapseMargins(c,P,o.getMarginTop());o.renderLayout(x+r.left,I+r.top,q,w);I+=w;P=o.getMarginBottom()}},_computeSizeHint(){this._invalidChildrenCache&&this.__P_75_4();for(var e,t,r,i=qx.ui.layout.Util,n=this.__P_75_3,o=0,a=0,s=0,l=0,u=0,c=0,h=n.length;cu&&(u=t.width+r);t.minWidth+r>l&&(l=t.minWidth+r)}o+=s;var _,p=this.getSpacing(),m=this.getSeparator();return{minHeight:o+(_=m?i.computeVerticalSeparatorGaps(n,p,m):i.computeVerticalGaps(n,p,!0)),height:a+_,minWidth:l,width:u}}},destruct(){this.__P_75_0=this.__P_75_1=this.__P_75_3=null}});qx.ui.layout.VBox.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Html":{require:!0},"qx.bom.storage.Web":{},"qx.bom.storage.UserData":{},"qx.bom.storage.Memory":{}},environment:{provided:[],required:{"html.storage.local":{className:"qx.bom.client.Html"},"html.storage.userdata":{className:"qx.bom.client.Html"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Storage",{statics:{__P_30_0:null,getLocal:()=>qx.core.Environment.get("html.storage.local")?qx.bom.storage.Web.getLocal():qx.core.Environment.get("html.storage.userdata")?qx.bom.storage.UserData.getLocal():qx.bom.storage.Memory.getLocal(),getSession:()=>qx.core.Environment.get("html.storage.local")?qx.bom.storage.Web.getSession():qx.core.Environment.get("html.storage.userdata")?qx.bom.storage.UserData.getSession():qx.bom.storage.Memory.getSession()}});qx.bom.Storage.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Grow",{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true(e,t,r){this.assert(!1,"The property '"+t+"' is not supported by the Grow layout!")},false:null}),renderLayout(e,t,r){for(var i,n,o,a,s=this._getLayoutChildren(),l=0,u=s.length;ln.maxWidth&&(o=n.maxWidth);(a=t)n.maxHeight&&(a=n.maxHeight);i.renderLayout(r.left,r.top,o,a)}},_computeSizeHint(){for(var e,t=this._getLayoutChildren(),r=0,i=0,n=0,o=0,a=1/0,s=1/0,l=0,u=t.length;lnew qxl.datagrid.source.ArrayDataSource,grid(){return new qxl.datagrid.DataGrid(this.getQxObject("columns")).set({dataSource:this.getQxObject("dataSource")})},columns(){const e=new qxl.datagrid.column.Columns;e.add((new qxl.datagrid.column.TextColumn).set({path:"title",caption:"Title",minWidth:200,flex:1}));e.add((new qxl.datagrid.column.TextColumn).set({path:"author",caption:"Author",minWidth:200}));e.add((new qxl.datagrid.column.DateColumn).set({path:"date",caption:"Date",minWidth:200}));return e}},members:{async init(){this.getQxObject("dataSource").setColumns(this.getQxObject("columns"));const e=new qx.data.Array(...Array.from({length:100},(()=>new qxl.datagrid.demo.array.DummyModel)));this.getQxObject("dataSource").setModel(e)}}});qxl.datagrid.demo.array.ArrayDemo.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.container.Composite":{construct:!0,require:!0},"qx.ui.layout.VBox":{construct:!0},"qxl.datagrid.demo.tree.TreeDemoNodeInspector":{},"qxl.datagrid.source.tree.TreeDataSource":{},"qx.ui.toolbar.ToolBar":{},"qx.ui.toolbar.Button":{},"qxl.datagrid.demo.tree.TreeDemoFileNode":{},"qxl.datagrid.column.Columns":{},"qxl.datagrid.column.tree.ExpansionColumn":{},"qxl.datagrid.column.FileSizeColumn":{},"qxl.datagrid.column.TextColumn":{},"qxl.datagrid.column.DateColumn":{},"qx.util.format.DateFormat":{},"qxl.datagrid.DataGrid":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.demo.tree.TreeDemo",{extend:qx.ui.container.Composite,construct(){qx.ui.container.Composite.constructor.call(this);this.setLayout(new qx.ui.layout.VBox);let e=this.getQxObject("grid");this.add(this.getQxObject("toolbar"));this.add(e,{flex:1})},objects:{dataSource(){var e=new qxl.datagrid.demo.tree.TreeDemoNodeInspector;return new qxl.datagrid.source.tree.TreeDataSource((()=>e),this.getQxObject("columns"))},toolbar(){var e=new qx.ui.toolbar.ToolBar;e.add(this.getQxObject("btnAdd"));e.add(this.getQxObject("btnRemoveChild"));e.add(this.getQxObject("btnExpandAll"));return e},btnAdd(){var e=new qx.ui.toolbar.Button("Add child");e.addListener("execute",(()=>{let e=(new qxl.datagrid.demo.tree.TreeDemoFileNode).set({name:"Cat pictures",permissions:"-rw-",lastModified:new Date});this._getSelectedNode().getChildren().push(e);this._updateUi()}));return e},btnRemoveChild(){var e=new qx.ui.toolbar.Button("Remove last child");e.addListener("execute",(()=>{let e=this._getSelectedNode();e.getChildren().removeAt(e.getChildren().length-1);this._updateUi()}));return e},btnExpandAll(){var e=new qx.ui.toolbar.Button("Expand All");e.addListener("execute",(async()=>{var e=this.getQxObject("dataSource");const t=async(r,i)=>{await e.expandNode(r);if(i<=2){let n=e.getNodeInspectorFactory()(r),o=await n.getChildrenOf(r);if(o)for(let e of o)await t(e,i+1)}};await t(e.getRoot(),1)}));return e},columns(){var e=new qxl.datagrid.column.Columns;e.add((new qxl.datagrid.column.tree.ExpansionColumn).set({caption:"Name",path:"name",minWidth:160,flex:1,iconPathProvider:e=>"directory"==e.getType()?"@MaterialIcons/folder/16":"@MaterialIcons/description/16"}));e.add((new qxl.datagrid.column.FileSizeColumn).set({caption:"Size",path:"size",minWidth:70}));e.add((new qxl.datagrid.column.TextColumn).set({caption:"Permissions",path:"permissions",minWidth:100}));e.add((new qxl.datagrid.column.DateColumn).set({caption:"Last Modified",path:"lastModified",minWidth:240,dateFormat:new qx.util.format.DateFormat("dd/MM/yyyy hh:mm")}));return e},grid(){var e=this.getQxObject("dataSource"),t=new qxl.datagrid.DataGrid(this.getQxObject("columns")).set({dataSource:e});t.getSelection().addListener("change",this._updateUi,this);return t}},members:{async init(){this.getQxObject("dataSource").setRoot(await qxl.datagrid.demo.tree.TreeDemoFileNode.createDummyRoot())},_getSelectedNode(){var e;return null!==(e=this.getQxObject("grid").getSelection().getItem(0))&&void 0!==e?e:this.getQxObject("dataSource").getRoot()},_updateUi(){var e;let t=this._getSelectedNode();this.getQxObject("btnRemoveChild").setEnabled(!!t.getChildren()&&(null===(e=t.getChildren())||void 0===e?void 0:e.length)>0);this.getQxObject("btnAdd").setEnabled(this.getQxObject("dataSource").getNodeInspectorFactory()().canHaveChildren(t))}}});qxl.datagrid.demo.tree.TreeDemo.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.container.Composite":{construct:!0,require:!0},"qx.ui.layout.VBox":{construct:!0},"qx.ui.layout.Grid":{construct:!0},"qx.ui.basic.Label":{construct:!0},"qx.ui.layout.HBox":{construct:!0},"qx.ui.form.RadioButton":{construct:!0},"qx.ui.form.RadioGroup":{construct:!0},"qxl.datagrid.demo.biggrid.DummyDataSource":{},"qxl.datagrid.column.Columns":{},"qxl.datagrid.column.TextColumn":{},"qxl.datagrid.util.Labels":{},"qxl.datagrid.DataGrid":{},"qxl.datagrid.source.Range":{},"qxl.datagrid.source.Position":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.demo.biggrid.BigGridDemo",{extend:qx.ui.container.Composite,construct(){qx.ui.container.Composite.constructor.call(this);this.setLayout(new qx.ui.layout.VBox);let e=this.getQxObject("grid");{let t=new qx.ui.container.Composite(new qx.ui.layout.Grid(5,3));t.add(new qx.ui.basic.Label("Selection Style : "),{row:0,column:0});let r=new qx.ui.container.Composite(new qx.ui.layout.HBox(5)),i=new qx.ui.form.RadioButton("Row");r.add(i.set({model:"row"}));let n=new qx.ui.form.RadioButton("Cell");r.add(n.set({model:"cell"}));let o=new qx.ui.form.RadioButton("Area");r.add(o.set({model:"area"}));t.add(r,{row:0,column:1});let a=new qx.ui.form.RadioGroup(i,n,o);a.addListener("changeSelection",(t=>{let r=t.getData()[0];e.getSelectionManager().setSelectionStyle(r.getModel())}));a.setSelection([n]);this.add(t)}{let t=new qx.ui.container.Composite(new qx.ui.layout.Grid(5,3));t.add(new qx.ui.basic.Label("Selection Mode : "),{row:0,column:0});let r=new qx.ui.container.Composite(new qx.ui.layout.HBox(5)),i=new qx.ui.form.RadioButton("One").set({model:"one"});r.add(i);let n=new qx.ui.form.RadioButton("Single").set({model:"single"});r.add(n);let o=new qx.ui.form.RadioButton("Multi").set({model:"multi"});r.add(o);let a=new qx.ui.form.RadioButton("Additive").set({model:"additive"});r.add(a);t.add(r,{row:0,column:1});let s=new qx.ui.form.RadioGroup(i,n,o,a);s.addListener("changeSelection",(t=>{let r=t.getData()[0];e.getSelectionManager().setSelectionMode(r.getModel())}));s.setSelection([o]);this.add(t)}this.add(e,{flex:1})},objects:{dataSource:()=>new qxl.datagrid.demo.biggrid.DummyDataSource(1e6,1e4),grid(){var e=this.getQxObject("dataSource"),t=new qxl.datagrid.column.Columns;for(let r=0;r{let t=e.getData();console.log("Selection changed to "+t.map((e=>e.toString())).join(","))}));return r}},members:{async init(){let e=this.getQxObject("dataSource");await e.makeAvailable(new qxl.datagrid.source.Range([0,0],[10,10]));let t=this.getQxObject("grid");const r=(t,r)=>e.getModelForPosition(new qxl.datagrid.source.Position(t,r));t.getSelection().replace([r(1,0),r(2,0),r(3,0)]);t.getSelectionManager().setFocused(r(4,4))}}});qxl.datagrid.demo.biggrid.BigGridDemo.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.String":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.ColorUtil",{statics:{REGEXP:{hexShort:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])?$/,hexLong:/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})?$/,hex3:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,hex6:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,rgb:/^rgb\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/,rgba:/^rgba\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,2}[0-9]*)\s*\)$/},SYSTEM:{activeborder:!0,activecaption:!0,appworkspace:!0,background:!0,buttonface:!0,buttonhighlight:!0,buttonshadow:!0,buttontext:!0,captiontext:!0,graytext:!0,highlight:!0,highlighttext:!0,inactiveborder:!0,inactivecaption:!0,inactivecaptiontext:!0,infobackground:!0,infotext:!0,menu:!0,menutext:!0,scrollbar:!0,threeddarkshadow:!0,threedface:!0,threedhighlight:!0,threedlightshadow:!0,threedshadow:!0,window:!0,windowframe:!0,windowtext:!0},NAMED:{black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:[-1,-1,-1],magenta:[255,0,255],orange:[255,165,0],brown:[165,42,42]},isNamedColor(e){return void 0!==this.NAMED[e]},isSystemColor(e){return void 0!==this.SYSTEM[e]},supportsThemes:()=>!!qx.Class&&qx.Class.isDefined("qx.theme.manager.Color"),isThemedColor(e){return!!this.supportsThemes()&&(!!(qx.theme&&qx.theme.manager&&qx.theme.manager.Color)&&qx.theme.manager.Color.getInstance().isDynamic(e))},stringToRgb(e){this.supportsThemes()&&this.isThemedColor(e)&&(e=qx.theme.manager.Color.getInstance().resolveDynamic(e));return this.cssStringToRgb(e)},cssStringToRgb(e){var t;if(this.isNamedColor(e))t=this.NAMED[e].concat();else{if(this.isSystemColor(e))throw new Error("Could not convert system colors to RGB: "+e);this.isRgbaString(e)?t=this.__P_140_0(e):this.isRgbString(e)?t=this.__P_140_1():this.ishexShortString(e)?t=this.__P_140_2():this.ishexLongString(e)&&(t=this.__P_140_3())}if(t){3===t.length&&1==t[3]&&t.pop();return t}throw new Error("Could not parse color: "+e)},stringToRgbString(e){return this.rgbToRgbString(this.stringToRgb(e))},rgbToRgbString:e=>"rgb"+(4===e.length?"a":"")+"("+e.map((function(e){return Math.round(1e3*e)/1e3})).join(",")+")",rgbToHexString:e=>"#"+qx.lang.String.pad(e[0].toString(16).toUpperCase(),2)+qx.lang.String.pad(e[1].toString(16).toUpperCase(),2)+qx.lang.String.pad(e[2].toString(16).toUpperCase(),2)+(4===e.length&&1!==e[3]?qx.lang.String.pad(Math.round(255*e[3]).toString(16).toUpperCase(),2):""),isValidPropertyValue(e){return this.isThemedColor(e)||this.isNamedColor(e)||this.ishexShortString(e)||this.ishexLongString(e)||this.isRgbString(e)||this.isRgbaString(e)},isCssString(e){return this.isSystemColor(e)||this.isNamedColor(e)||this.ishexShortString(e)||this.ishexLongString(e)||this.isRgbString(e)||this.isRgbaString(e)},ishexShortString(e){return this.REGEXP.hexShort.test(e)},isHex3String(e){return this.REGEXP.hex3.test(e)},isHex6String(e){return this.REGEXP.hex6.test(e)},ishexLongString(e){return this.REGEXP.hexLong.test(e)},isRgbString(e){return this.REGEXP.rgb.test(e)},isRgbaString(e){return this.REGEXP.rgba.test(e)},__P_140_1:()=>[parseInt(RegExp.$1,10),parseInt(RegExp.$2,10),parseInt(RegExp.$3,10)],__P_140_0(){var e=parseInt(RegExp.$1,10),t=parseInt(RegExp.$2,10),r=parseInt(RegExp.$3,10),i=parseFloat(RegExp.$4,10);return 0===e&&0===t&0===r&&0===i?[-1,-1,-1]:1==i?[e,t,r]:[e,t,r,i]},__P_140_2(){var e=17*parseInt(RegExp.$1,16),t=17*parseInt(RegExp.$2,16),r=17*parseInt(RegExp.$3,16),i=Math.round(parseInt(RegExp.$4||"f",16)/15*1e3)/1e3;return 1==i?[e,t,r]:[e,t,r,i]},__P_140_4:()=>[17*parseInt(RegExp.$1,16),17*parseInt(RegExp.$2,16),17*parseInt(RegExp.$3,16)],__P_140_5:()=>[16*parseInt(RegExp.$1,16)+parseInt(RegExp.$2,16),16*parseInt(RegExp.$3,16)+parseInt(RegExp.$4,16),16*parseInt(RegExp.$5,16)+parseInt(RegExp.$6,16)],__P_140_3(){var e=parseInt(RegExp.$1,16),t=parseInt(RegExp.$2,16),r=parseInt(RegExp.$3,16),i=Math.round(parseInt(RegExp.$4||"ff",16)/255*1e3)/1e3;return 1==i?[e,t,r]:[e,t,r,i]},hex3StringToRgb(e){if(this.isHex3String(e))return this.__P_140_4(e);throw new Error("Invalid hex3 value: "+e)},hex3StringToHex6String(e){return this.isHex3String(e)?this.rgbToHexString(this.hex3StringToRgb(e)):e},hex6StringToRgb(e){if(this.isHex6String(e))return this.__P_140_5(e);throw new Error("Invalid hex6 value: "+e)},hexStringToRgb(e){if(this.ishexShortString(e))return this.__P_140_2(e);if(this.ishexLongString(e))return this.__P_140_3(e);throw new Error("Invalid hex value: "+e)},rgbToHsb(e){var t,r,i,n=e[0],o=e[1],a=e[2],s=n>o?n:o;a>s&&(s=a);var l=n=1&&(a%=1);s>1&&(s=1);l>1&&(l=1);var u=Math.floor(255*l),c={};if(0==s)c.red=c.green=c.blue=u;else{r=(a*=6)-(t=Math.floor(a));i=Math.floor(u*(1-s));n=Math.floor(u*(1-s*r));o=Math.floor(u*(1-s*(1-r)));switch(t){case 0:c.red=u;c.green=o;c.blue=i;break;case 1:c.red=n;c.green=u;c.blue=i;break;case 2:c.red=i;c.green=u;c.blue=o;break;case 3:c.red=i;c.green=n;c.blue=u;break;case 4:c.red=o;c.green=i;c.blue=u;break;case 5:c.red=u;c.green=i;c.blue=n}}return[c.red,c.green,c.blue]},rgbToHsl(e){var t=e[0]/255,r=e[1]/255,i=e[2]/255,n=Math.max(t,r,i),o=n-Math.min(t,r,i),a=1-Math.abs(n+n-o-1),s=o&&(n==t?(r-i)/o:n==r?2+(i-t)/o:4+(t-r)/o);return[60*(s<0?s+6:s),100*(a?o/a:0),100*(n+n-o)/2]},hslToRgb(e){var t=e[0],r=e[1]/100,i=e[2]/100,n=r*Math.min(i,1-i),o=function(e){var r=(e+t/30)%12;return i-n*Math.max(Math.min(r-3,9-r,1),-1)};return[o(0),o(8),o(4)].map((function(e){return Math.round(2550*e)/10}))},randomColor(){var e=Math.round(255*Math.random()),t=Math.round(255*Math.random()),r=Math.round(255*Math.random());return this.rgbToRgbString([e,t,r])},__P_140_6(e,t,r,i){var n=this.stringToRgb(e);for(var o in t)if(0!=t[o])switch(o){case"red":n[0]=r(n[0],t[o],255);break;case"green":n[1]=r(n[1],t[o],255);break;case"blue":n[2]=r(n[2],t[o],255);break;case"alpha":n[3]=r(n[3]||1,t[o],1);break;case"hue":if(!i)throw new Error("Invalid key in map: "+o);(s=this.rgbToHsb(n))[0]=i(s[0],t[o]);var a=this.hsbToRgb(s);a[3]=n[3];n=a;break;case"saturation":(s=this.rgbToHsb(n))[1]=r(s[1],t[o],100);(a=this.hsbToRgb(s))[3]=n[3];n=a;break;case"brightness":var s;(s=this.rgbToHsb(n))[2]=r(s[2],t[o],100);(a=this.hsbToRgb(s))[3]=n[3];n=a;break;case"lightness":var l=this.rgbToHsl(n);l[2]=r(l[2],t[o],100);(a=this.hslToRgb(l))[3]=n[3];n=a;break;default:throw new Error("Invalid key in tune map: "+o)}4===n.length&&(void 0===n[3]||n[3]>=1?n.pop():n[3]<0&&(n[3]=0));[0,1,2].forEach((function(e){n[e]<0?n[e]=0:n[e]>255&&(n[e]=255)}));return this.rgbToRgbString(n)},scale(e,t){return this.__P_140_6(e,t,(function(e,t,r){e>r&&(e=r);if(t>0){t>100&&(t=100);return e+(r-e)*t/100}t<-100&&(t=-100);return e+e*t/100}))},adjust(e,t){return this.__P_140_6(e,t,(function(e,t,r){return(e+=t)>r?r:e<0?0:e}),(function(e,t){e+=t;for(;e>=360;)e-=360;for(;e<0;)e+=360;return e}))},luminance(e){var t=this.stringToRgb(e),r=function(e){var r=t[e]/255;return r<.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)};return.2126*r(0)+.7152*r(1)+.0722*r(2)},contrast(e,t){var r=this.luminance(e)+.05,i=this.luminance(t)+.5;return Math.max(r,i)/Math.min(r,i)},chooseContrastingColor(e,t,r,i){"string"==typeof e&&(e=qx.util.ColorUtil.stringToRgb(e));t||(t=128);return(299*e[0]+587*e[1]+114*e[2])/1e3>=t?r||"#000":i||"#fff"}}});qx.util.ColorUtil.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.decoration.IDecorator",{members:{getStyles(){},getPadding(){},getInsets(){}}});qx.ui.decoration.IDecorator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.ui.decoration.IDecorator":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.decoration.Abstract",{extend:qx.core.Object,implement:[qx.ui.decoration.IDecorator],type:"abstract",members:{__P_180_0:null,_getDefaultInsets(){throw new Error("Abstract method called.")},_isInitialized(){throw new Error("Abstract method called.")},_resetInsets(){this.__P_180_0=null},getInsets(){this.__P_180_0||(this.__P_180_0=this._getDefaultInsets());return this.__P_180_0}},destruct(){this.__P_180_0=null}});qx.ui.decoration.Abstract.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.theme.manager.Color":{}},environment:{provided:[],required:{"qx.theme":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBackgroundColor",{properties:{backgroundColor:{check:"Color",nullable:!0,apply:"_applyBackgroundColor"}},members:{_styleBackgroundColor(e){var t=this.getBackgroundColor();t&&qx.core.Environment.get("qx.theme")&&(t=qx.theme.manager.Color.getInstance().resolve(t));t&&(e["background-color"]=t)},_applyBackgroundColor(){}}});qx.ui.decoration.MBackgroundColor.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBorderRadius",{properties:{radiusTopLeft:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radiusTopRight:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radiusBottomLeft:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radiusBottomRight:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radius:{group:["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"],mode:"shorthand"}},members:{_styleBorderRadius(e){e["-webkit-background-clip"]="padding-box";e["background-clip"]="padding-box";var t=!1,r=this.getRadiusTopLeft();if(r>0){t=!0;e["-moz-border-radius-topleft"]=r+"px";e["-webkit-border-top-left-radius"]=r+"px";e["border-top-left-radius"]=r+"px"}if((r=this.getRadiusTopRight())>0){t=!0;e["-moz-border-radius-topright"]=r+"px";e["-webkit-border-top-right-radius"]=r+"px";e["border-top-right-radius"]=r+"px"}if((r=this.getRadiusBottomLeft())>0){t=!0;e["-moz-border-radius-bottomleft"]=r+"px";e["-webkit-border-bottom-left-radius"]=r+"px";e["border-bottom-left-radius"]=r+"px"}if((r=this.getRadiusBottomRight())>0){t=!0;e["-moz-border-radius-bottomright"]=r+"px";e["-webkit-border-bottom-right-radius"]=r+"px";e["border-bottom-right-radius"]=r+"px"}t&&"webkit"==qx.core.Environment.get("engine.name")?e["-webkit-background-clip"]="padding-box":e["background-clip"]="padding-box"},_applyBorderRadius(){}}});qx.ui.decoration.MBorderRadius.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.bom.client.Css":{require:!0},"qx.bom.Style":{},"qx.theme.manager.Color":{}},environment:{provided:[],required:{"css.boxshadow":{className:"qx.bom.client.Css"},"qx.theme":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBoxShadow",{properties:{shadowHorizontalLength:{nullable:!0,apply:"_applyBoxShadow"},shadowVerticalLength:{nullable:!0,apply:"_applyBoxShadow"},shadowBlurRadius:{nullable:!0,apply:"_applyBoxShadow"},shadowSpreadRadius:{nullable:!0,apply:"_applyBoxShadow"},shadowColor:{nullable:!0,apply:"_applyBoxShadow"},inset:{init:!1,apply:"_applyBoxShadow"},shadowLength:{group:["shadowHorizontalLength","shadowVerticalLength"],mode:"shorthand"}},members:{_styleBoxShadow(e){var t=qx.core.Environment.get("css.boxshadow");if(t&&(null!=this.getShadowVerticalLength()||null!=this.getShadowHorizontalLength())){t=qx.bom.Style.getCssName(t);var r=null;qx.core.Environment.get("qx.theme")&&(r=qx.theme.manager.Color.getInstance());(function(i,n,o,a,s,l){for(var u=0;u0&&(e["border-top"]=a+"px "+this.getStyleTop()+" "+(r||""));(a=this.getWidthRight())>0&&(e["border-right"]=a+"px "+this.getStyleRight()+" "+(i||""));(a=this.getWidthBottom())>0&&(e["border-bottom"]=a+"px "+this.getStyleBottom()+" "+(n||""));(a=this.getWidthLeft())>0&&(e["border-left"]=a+"px "+this.getStyleLeft()+" "+(o||""));e.position="absolute"},_getDefaultInsetsForBorder(){return{top:this.getWidthTop(),right:this.getWidthRight(),bottom:this.getWidthBottom(),left:this.getWidthLeft()}},_applyWidth(){this._applyStyle();this._resetInsets()},_applyStyle(){}}});qx.ui.decoration.MSingleBorder.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.lang.Type":{},"qx.util.AliasManager":{},"qx.util.ResourceManager":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBackgroundImage",{properties:{backgroundImage:{nullable:!0,apply:"_applyBackgroundImage"},backgroundRepeat:{init:"repeat",apply:"_applyBackgroundImage"},backgroundPositionX:{nullable:!0,apply:"_applyBackgroundPosition"},backgroundPositionY:{nullable:!0,apply:"_applyBackgroundPosition"},backgroundOrigin:{nullable:!0,apply:"_applyBackgroundImage"},backgroundPosition:{group:["backgroundPositionY","backgroundPositionX"]},orderGradientsFront:{check:"Boolean",init:!1}},members:{_styleBackgroundImage(e){if(this.getBackgroundImage()){"background"in e?qx.lang.Type.isArray(e.background)||(e.background=[e.background]):e.background=[];(function(t,r,i,n,o){for(var a=0;a0&&(e["border-top"]=a+"px "+this.getStyleTop()+" "+t.top);(a=this.getWidthRight())>0&&(e["border-right"]=a+"px "+this.getStyleRight()+" "+t.right);(a=this.getWidthBottom())>0&&(e["border-bottom"]=a+"px "+this.getStyleBottom()+" "+t.bottom);(a=this.getWidthLeft())>0&&(e["border-left"]=a+"px "+this.getStyleLeft()+" "+t.left);var s=this.getInnerOpacity();s<1&&this.__P_181_2(r,s);if(i.top>0||i.right>0||i.bottom>0||i.left>0){var l=(i.top||0)+"px solid "+r.top,u=(i.right||0)+"px solid "+r.right,c=(i.bottom||0)+"px solid "+r.bottom,h=(i.left||0)+"px solid "+r.left;e[":before"]={width:"100%",height:"100%",position:"absolute",content:'""',"border-top":l,"border-right":u,"border-bottom":c,"border-left":h,left:0,top:0};var d=qx.bom.Style.getCssName(qx.core.Environment.get("css.boxsizing"));e[":before"][d]="border-box";var f=qx.core.Environment.get("css.borderradius");if(f){f=qx.bom.Style.getCssName(f);e[":before"][f]="inherit"}var _=[];if(r.top&&i.top&&r.top==r.bottom&&r.top==r.right&&r.top==r.left&&i.top==i.bottom&&i.top==i.right&&i.top==i.left)_.push("inset 0 0 0 "+i.top+"px "+r.top);else{r.top&&_.push("inset 0 "+(i.top||0)+"px "+r.top);r.right&&_.push("inset -"+(i.right||0)+"px 0 "+r.right);r.bottom&&_.push("inset 0 -"+(i.bottom||0)+"px "+r.bottom);r.left&&_.push("inset "+(i.left||0)+"px 0 "+r.left)}_.length>0&&n&&(e[n=qx.bom.Style.getCssName(n)]?e[n]+=","+_.join(","):e[n]=_.join(","))}else e[":before"]={border:0}},__P_181_2(e,t){if(qx.core.Environment.get("css.rgba"))for(var r in e){var i=qx.util.ColorUtil.stringToRgb(e[r]);i.push(t);var n=qx.util.ColorUtil.rgbToRgbString(i);e[r]=n}},_applyDoubleBorder(){},__P_181_0(){return{top:this.getWidthTop()+this.getInnerWidthTop(),right:this.getWidthRight()+this.getInnerWidthRight(),bottom:this.getWidthBottom()+this.getInnerWidthBottom(),left:this.getWidthLeft()+this.getInnerWidthLeft()}}}});qx.ui.decoration.MDoubleBorder.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.bom.client.Css":{require:!0},"qx.lang.Type":{},"qx.util.ColorUtil":{},"qx.theme.manager.Color":{}},environment:{provided:[],required:{"css.gradient.legacywebkit":{className:"qx.bom.client.Css"},"css.gradient.linear":{className:"qx.bom.client.Css"},"css.borderradius":{className:"qx.bom.client.Css"},"qx.theme":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MLinearBackgroundGradient",{properties:{startColor:{nullable:!0,apply:"_applyLinearBackgroundGradient"},endColor:{nullable:!0,apply:"_applyLinearBackgroundGradient"},orientation:{init:"vertical",apply:"_applyLinearBackgroundGradient"},startColorPosition:{init:0,apply:"_applyLinearBackgroundGradient"},endColorPosition:{init:100,apply:"_applyLinearBackgroundGradient"},colorPositionUnit:{init:"%",apply:"_applyLinearBackgroundGradient"},gradientStart:{group:["startColor","startColorPosition"],mode:"shorthand"},gradientEnd:{group:["endColor","endColorPosition"],mode:"shorthand"}},members:{_styleLinearBackgroundGradient(e){var t=[];if(this.getStartColor()&&this.getEndColor()){var r=this.__P_182_0;qx.core.Environment.get("css.gradient.legacywebkit")?r=this.__P_182_1:!qx.core.Environment.get("css.gradient.linear")&&qx.core.Environment.get("css.borderradius")?r=this.__P_182_2:qx.core.Environment.get("css.gradient.linear")||(r=this.__P_182_3);(function(i,n,o,a,s,l){for(var u=0;uqx.core.Environment.get("qx.theme")?qx.theme.manager.Color.getInstance().resolve(e):e,_applyLinearBackgroundGradient(){}}});qx.ui.decoration.MLinearBackgroundGradient.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.util.AliasManager":{},"qx.util.ResourceManager":{},"qx.bom.client.Css":{require:!0},"qx.bom.Style":{}},environment:{provided:[],required:{"css.borderimage.standardsyntax":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBorderImage",{properties:{borderImage:{check:"String",nullable:!0,apply:"_applyBorderImage"},sliceTop:{check:"Integer",nullable:!0,init:null,apply:"_applyBorderImage"},sliceRight:{check:"Integer",nullable:!0,init:null,apply:"_applyBorderImage"},sliceBottom:{check:"Integer",nullable:!0,init:null,apply:"_applyBorderImage"},sliceLeft:{check:"Integer",nullable:!0,init:null,apply:"_applyBorderImage"},slice:{group:["sliceTop","sliceRight","sliceBottom","sliceLeft"],mode:"shorthand"},repeatX:{check:["stretch","repeat","round"],init:"stretch",apply:"_applyBorderImage"},repeatY:{check:["stretch","repeat","round"],init:"stretch",apply:"_applyBorderImage"},repeat:{group:["repeatX","repeatY"],mode:"shorthand"},fill:{check:"Boolean",init:!0,apply:"_applyBorderImage"},borderImageMode:{check:["horizontal","vertical","grid"],init:"grid"}},members:{_styleBorderImage(e){if(this.getBorderImage()){var t=qx.util.AliasManager.getInstance().resolve(this.getBorderImage()),r=qx.util.ResourceManager.getInstance().toUri(t),i=this._getDefaultInsetsForBorderImage(),n=[i.top,i.right,i.bottom,i.left],o=[this.getRepeatX(),this.getRepeatY()].join(" "),a=this.getFill()&&qx.core.Environment.get("css.borderimage.standardsyntax")?" fill":"",s=qx.bom.Style.getPropertyName("borderImage");if(s){e[qx.bom.Style.getCssName(s)]='url("'+r+'") '+n.join(" ")+a+" "+o}e["border-style"]="solid";e["border-color"]="transparent";e["border-width"]=n.join("px ")+"px"}},_getDefaultInsetsForBorderImage(){if(!this.getBorderImage())return{top:0,right:0,bottom:0,left:0};var e=qx.util.AliasManager.getInstance().resolve(this.getBorderImage()),t=this.__P_183_0(e);return{top:this.getSliceTop()||t[0],right:this.getSliceRight()||t[1],bottom:this.getSliceBottom()||t[2],left:this.getSliceLeft()||t[3]}},_applyBorderImage(){},__P_183_0(e){var t=this.getBorderImageMode(),r=0,i=0,n=0,o=0,a=/(.*)(\.[a-z]+)$/.exec(e),s=a[1],l=a[2],u=qx.util.ResourceManager.getInstance();if("grid"==t||"vertical"==t){r=u.getImageHeight(s+"-t"+l);n=u.getImageHeight(s+"-b"+l)}if("grid"==t||"horizontal"==t){i=u.getImageWidth(s+"-r"+l);o=u.getImageWidth(s+"-l"+l)}return[r,i,n,o]}}});qx.ui.decoration.MBorderImage.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.bom.client.CssTransition":{require:!0},"qx.bom.client.Browser":{},"qx.bom.Style":{}},environment:{provided:[],required:{"css.transition":{className:"qx.bom.client.CssTransition"}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MTransition",{properties:{transitionProperty:{nullable:!0,apply:"_applyTransition"},transitionDuration:{nullable:!0,apply:"_applyTransition"},transitionTimingFunction:{nullable:!0,apply:"_applyTransition"},transitionDelay:{nullable:!0,apply:"_applyTransition"}},members:{_styleTransition(e){var t=qx.core.Environment.get("css.transition");if(t&&null!=this.getTransitionDuration()){"chrome"===qx.bom.client.Browser.getName()&&qx.bom.client.Browser.getVersion()>=71&&(e.transform||(e.transform="translateZ(0)"));t=qx.bom.Style.getCssName(t.name);(function(r,i,n,o){for(var a=0;at[o]&&(t[o]=i[o])}return null!=t.top?t:{top:0,right:0,bottom:0,left:0}},_isInitialized(){return this.__P_142_0},_getExtendedPropertyValueArrays(e){for(var t=e.map((function(e){var t=this.get(e);qx.lang.Type.isArray(t)||(t=[t]);return t}),this),r=Math.max.apply(Math,t.map((function(e){return e.length}))),i=0;i0&&r.setFamily(n);return r},fromConfig(e){var t=new qx.bom.Font;t.set(e);return t},__P_137_1:{fontFamily:"",fontSize:"",fontWeight:"",fontStyle:"",textDecoration:"",lineHeight:1.2,color:"",textShadow:"",letterSpacing:""},getDefaultStyles(){return this.__P_137_1}},properties:{size:{check:"Integer",nullable:!0,apply:"_applySize"},lineHeight:{check:"Number",nullable:!0,apply:"_applyLineHeight"},comparisonString:{check:"String",init:null,nullable:!0},version:{check:e=>null===e||"string"==typeof e&&/^[a-zA-Z0-9.-]+$/.test(e),init:null,nullable:!0},family:{check:"Array",nullable:!0,apply:"_applyFamily"},bold:{check:"Boolean",nullable:!0,apply:"_applyBold"},italic:{check:"Boolean",nullable:!0,apply:"_applyItalic"},decoration:{check:["underline","line-through","overline"],nullable:!0,apply:"_applyDecoration"},color:{check:"Color",nullable:!0,apply:"_applyColor"},textShadow:{nullable:!0,check:"String",apply:"_applyTextShadow"},weight:{nullable:!0,check:"String",apply:"_applyWeight"},letterSpacing:{check:"Integer",nullable:!0,apply:"_applyLetterSpacing"},fontName:{check:"String",nullable:!0,apply:"_applyFontName"}},members:{__P_137_0:null,loadComplete(){},_applySize(e,t){this.__P_137_0.fontSize=null===e?null:e+"px"},_applyLineHeight(e,t){this.__P_137_0.lineHeight=null===e?null:e},_applyFamily(e,t){for(var r="",i=0,n=e.length;i0?r+="'"+e[i]+"'":r+=e[i];i!==n-1&&(r+=",")}this.__P_137_0.fontFamily=r},_applyFontName(e){if(e){let t=qx.theme.manager.Font.getInstance().getManifestFonts()[e];if(t){let e={};["family","comparisonString"].forEach((r=>{void 0!==t[r]&&(e[r]=t[r])}));this.set(e)}else this.warn("Cannot find a font called "+e)}},_applyBold(e,t){this.__P_137_0.fontWeight=null==e?null:e?"bold":"normal"},_applyItalic(e,t){this.__P_137_0.fontStyle=null==e?null:e?"italic":"normal"},_applyDecoration(e,t){this.__P_137_0.textDecoration=null==e?null:e},_applyColor(e,t){this.__P_137_0.color=null;e&&(this.__P_137_0.color=qx.theme.manager.Color.getInstance().resolve(e))},_applyWeight(e,t){this.__P_137_0.fontWeight=e},_applyTextShadow(e,t){this.__P_137_0.textShadow=null==e?null:e},_applyLetterSpacing(e,t){this.__P_137_0.letterSpacing=null===e?null:e+"px"},getStyles(){return this.__P_137_0}}});qx.bom.Font.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.bom.webfonts.Validator":{},"qx.bom.webfonts.WebFont":{},"qx.util.ResourceManager":{},"qx.lang.Array":{},"qx.Promise":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.Stylesheet":{},"qx.bom.client.OperatingSystem":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"},"browser.name":{className:"qx.bom.client.Browser"},"browser.version":{className:"qx.bom.client.Browser"},"os.name":{className:"qx.bom.client.OperatingSystem"},"os.version":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.webfonts.WebFontLoader",{extend:qx.core.Object,construct(e){qx.core.Object.constructor.call(this);this.setFontFamily(e);this.__P_144_0={}},properties:{fontFamily:{check:"String"},fontFaces:{nullable:!0,apply:"_applyFontFaces"},css:{nullable:!0,check:"Array"},comparisonString:{check:"String",init:null,nullable:!0},version:{check:e=>null===e||"string"==typeof e&&/^[a-zA-Z0-9.-]+$/.test(e),init:null,nullable:!0}},members:{__P_144_1:null,__P_144_2:null,_validators:null,getValidator(e,t){let r=(e=e||"normal")+"::"+(t=t||"normal"),i=this.__P_144_0[r];if(!i){i=this.__P_144_0[r]=new qx.bom.webfonts.Validator(this.getFontFamily(),this.getComparisonString(),e,t);i.setTimeout(qx.bom.webfonts.WebFont.VALIDATION_TIMEOUT);i.validate()}return i},async load(){(this.getCss()||[]).forEach((e=>{e.match(/^https?:/)||(e=qx.util.ResourceManager.getInstance().toUri(e));if(this.getVersion()){e+=e.indexOf("?")<0?"?":"&";e+=this.getVersion()}qx.bom.webfonts.WebFontLoader.__P_144_3(e)}));let e=this.getFontFaces();if(e){e.forEach((e=>{e.paths&&(e.paths=e.paths.map((e=>{e.match(/^https?:/)||(e=qx.util.ResourceManager.getInstance().toUri(e));if(this.getVersion()){e+=e.indexOf("?")<0?"?":"&";e+=this.getVersion()}return e})))}));this.__P_144_1=qx.lang.Array.clone(e);this.__P_144_2=new qx.Promise}this.__P_144_4()},async promiseLoaded(){return await this.__P_144_2},__P_144_4(){if(null==this.__P_144_1)return;let e=this.__P_144_1.pop();this.__P_144_5(e);if(0==this.__P_144_1.length){this.__P_144_1=null;this.__P_144_2.resolve(!0)}"mshtml"==qx.core.Environment.get("engine.name")&&(parseInt(qx.core.Environment.get("engine.version"))<9||qx.core.Environment.get("browser.documentmode")<9)?setTimeout((()=>this.__P_144_4()),100):this.__P_144_4()},__P_144_5(e){let t=e.fontFamily||this.getFontFamily(),r=qx.bom.webfonts.WebFontLoader.createFontLookupKey(t,e.fontWeight||"normal",e.fontStyle||"normal");if(qx.bom.webfonts.WebFontLoader.__P_144_6[r])return;if(!qx.bom.webfonts.WebFontLoader.__P_144_7){let e=qx.bom.Stylesheet.createElement();qx.bom.webfonts.WebFontLoader.__P_144_7=e}const i=new RegExp(".("+qx.bom.webfonts.WebFontLoader.getPreferredFormats().join("|")+")");let n=[];for(let t=0;t{e.fontFormat}));let o="src: ";for(let e=0;e0&&(o+=", ");o+="url('"+new URL(n[e].url,document.baseURI).href+"')";e>0&&(o+=" format('"+n[e].format+"')")}o+=";\n";let a="font-family: "+t+";\n";a+=o+"\n";a+="font-style: "+(e.fontStyle||"normal")+";\n";a+="font-weight: "+(e.fontWeight||"normal")+";\n";a="@font-face {\n"+a+"}\n";let s=qx.bom.webfonts.WebFontLoader.__P_144_7;try{if("ie"==qx.core.Environment.get("browser.name")&&qx.core.Environment.get("browser.documentmode")<9){let e=qx.bom.webfonts.WebFontLoader.__P_144_8(s.cssText);e+=a;s.cssText=e}else s.insertRule(a,s.cssRules.length)}catch(e){}qx.bom.webfonts.WebFontLoader.__P_144_6[r]=!0},_applyFontFaces(e,t){for(var r=[],i=0,n=e.length;ie.replace(/["']/g,"")},statics:{FONT_FORMATS:["eot","woff2","woff","ttf","svg"],VALIDATION_TIMEOUT:5e3,__P_144_9:null,__P_144_10:{},__P_144_6:{},__P_144_11:{},getLoader(e,t){let r=qx.bom.webfonts.WebFontLoader.__P_144_11[e];!r&&t&&(r=qx.bom.webfonts.WebFontLoader.__P_144_11[e]=new qx.bom.webfonts.WebFontLoader(e));return r},__P_144_3(e){if(!qx.bom.webfonts.WebFontLoader.__P_144_10[e]){qx.bom.Stylesheet.includeFile(e);qx.bom.webfonts.WebFontLoader.__P_144_10[e]=!0}},createFontLookupKey:(e,t,r)=>e+"_"+(t||"normal")+"_"+(r||"normal"),__P_144_12(e){for(var t=qx.bom.webfonts.WebFontLoader.FONT_FORMATS,r={},i=new RegExp(".("+t.join("|")+")"),n=0,o=e.length;n=14||"firefox"==t&&r>=69||"chrome"==t&&r>=36)&&e.push("woff2");("ie"==t&&qx.core.Environment.get("browser.documentmode")>=9||"edge"==t&&r>=12||"firefox"==t&&r>=3.6||"chrome"==t&&r>=6)&&e.push("woff");("edge"==t&&r>=12||"opera"==t&&r>=10||"safari"==t&&r>=3.1||"firefox"==t&&r>=3.5||"chrome"==t&&r>=4||"mobile safari"==t&&"ios"==i&&n>=4.2)&&e.push("ttf");"ie"==t&&r>=4&&e.push("eot");"mobileSafari"==t&&"ios"==i&&n>=4.1&&e.push("svg");return qx.bom.webfonts.WebFontLoader.__P_144_9=e},__P_144_8:e=>e.replace("'eot)","'eot')").replace("('embedded-opentype)","('embedded-opentype')")}});qx.bom.webfonts.WebFontLoader.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.bom.Font":{require:!0},"qx.bom.webfonts.WebFontLoader":{},"qx.Promise":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.webfonts.WebFont",{extend:qx.bom.Font,properties:{valid:{init:!1,check:"Boolean",event:"changeValid",apply:"__P_136_0"}},events:{changeStatus:"qx.event.type.Data"},members:{__P_136_1:null,__P_136_2:null,toString(){let e=this.isBold()?"bold":"normal";null!==this.getWeight()&&(e=this.getWeight());let t=this.isItalic()?"italic":"normal";return this.getFamily().join(",")+"["+e+"::"+t+"] "+this.toHashCode()},loadComplete(){let e=[];for(let t of this.getFamily()){let r=qx.bom.webfonts.WebFontLoader.getLoader(t);if(r){let t=this.isBold()?"bold":"normal";null!==this.getWeight()&&(t=this.getWeight());let i=this.isItalic()?"italic":"normal",n=r.getValidator(t,i);e.push(n.isValid())}}this.__P_136_2=qx.Promise.all(e).then((e=>{0==e.length||e.indexOf(!0)>-1?this.setValid(!0):this.setValid(!1)}))},async checkValid(){await this.__P_136_2},__P_136_0(e){this.fireDataEvent("changeStatus",{family:this.getFamily(),valid:e})}},statics:{VALIDATION_TIMEOUT:5e3}});qx.bom.webfonts.WebFont.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Timer":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.Idle",{extend:qx.core.Object,implement:[qx.core.IDisposable],type:"singleton",construct(){qx.core.Object.constructor.call(this)},events:{interval:"qx.event.type.Event"},properties:{timeoutInterval:{check:"Number",init:100,apply:"_applyTimeoutInterval"}},members:{__P_199_0:null,_applyTimeoutInterval(e){this.__P_199_0&&this.__P_199_0.setInterval(e)},_onInterval(){this.fireEvent("interval")},__P_199_1(){if(!this.__P_199_0&&this.hasListener("interval")){var e=new qx.event.Timer(this.getTimeoutInterval());e.addListener("interval",this._onInterval,this);e.start();this.__P_199_0=e}},__P_199_2(){if(this.__P_199_0&&!this.hasListener("interval")){this.__P_199_0.stop();this.__P_199_0.dispose();this.__P_199_0=null}},addListener(e,t,r,i){var n=qx.event.Idle.superclass.prototype.addListener.call(this,e,t,r,i);this.__P_199_1();return n},addListenerOnce(e,t,r,i){var n=qx.event.Idle.superclass.prototype.addListenerOnce.call(this,e,t,r,i);this.__P_199_1();return n},removeListener(e,t,r,i){var n=qx.event.Idle.superclass.prototype.removeListener.call(this,e,t,r,i);this.__P_199_2();return n},removeListenerById(e){var t=qx.event.Idle.superclass.prototype.removeListenerById.call(this,e);this.__P_199_2();return t}},destruct(){this.__P_199_0&&this.__P_199_0.stop();this.__P_199_0=null}});qx.event.Idle.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.util.placement.DirectAxis":{construct:!0},"qx.util.placement.KeepAlignAxis":{},"qx.util.placement.BestFitAxis":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.placement.Placement",{extend:qx.core.Object,construct(){qx.core.Object.constructor.call(this);this.__P_200_0=qx.util.placement.DirectAxis},properties:{axisX:{check:"Class"},axisY:{check:"Class"},edge:{check:["top","right","bottom","left"],init:"top"},align:{check:["top","right","bottom","left","center","middle"],init:"right"}},statics:{__P_200_1:null,compute(e,t,r,i,n,o,a){this.__P_200_1=this.__P_200_1||new qx.util.placement.Placement;var s=n.split("-"),l=s[0],u=s[1];this.__P_200_1.set({axisX:this.__P_200_2(o),axisY:this.__P_200_2(a),edge:l,align:u});return this.__P_200_1.compute(e,t,r,i)},__P_200_3:null,__P_200_4:null,__P_200_5:null,__P_200_2(e){switch(e){case"direct":this.__P_200_3=this.__P_200_3||qx.util.placement.DirectAxis;return this.__P_200_3;case"keep-align":this.__P_200_4=this.__P_200_4||qx.util.placement.KeepAlignAxis;return this.__P_200_4;case"best-fit":this.__P_200_5=this.__P_200_5||qx.util.placement.BestFitAxis;return this.__P_200_5;default:throw new Error("Invalid 'mode' argument!'")}}},members:{__P_200_0:null,compute(e,t,r,i){return{left:(this.getAxisX()||this.__P_200_0).computeStart(e.width,{start:r.left,end:r.right},{start:i.left,end:i.right},t.width,this.__P_200_6()),top:(this.getAxisY()||this.__P_200_0).computeStart(e.height,{start:r.top,end:r.bottom},{start:i.top,end:i.bottom},t.height,this.__P_200_7())}},__P_200_6(){var e=this.getEdge(),t=this.getAlign();return"left"==e?"edge-start":"right"==e?"edge-end":"left"==t?"align-start":"center"==t?"align-center":"right"==t?"align-end":void 0},__P_200_7(){var e=this.getEdge(),t=this.getAlign();return"top"==e?"edge-start":"bottom"==e?"edge-end":"top"==t?"align-start":"middle"==t?"align-center":"bottom"==t?"align-end":void 0}},destruct(){this._disposeObjects("__P_200_0")}});qx.util.placement.Placement.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.Registration":{construct:!0},"qx.bom.Element":{construct:!0},"qx.ui.core.Widget":{require:!0},"qx.lang.Array":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.popup.Manager",{type:"singleton",extend:qx.core.Object,construct(){qx.core.Object.constructor.call(this);this.__P_185_0=[];qx.event.Registration.addListener(document.documentElement,"pointerdown",this.__P_185_1,this,!0);qx.bom.Element.addListener(window,"blur",this.hideAll,this)},properties:{containsFunction:{check:"Function",init:qx.ui.core.Widget.contains}},members:{__P_185_0:null,add(e){this.__P_185_0.push(e);this.__P_185_2()},remove(e){qx.lang.Array.remove(this.__P_185_0,e);this.__P_185_2()},hideAll(){for(var e=this.__P_185_0.length,t={};e--;)(t=this.__P_185_0[e]).getAutoHide()&&t.exclude()},__P_185_2(){for(var e=1e7,t=0;t0';return t.firstChild.href}}});qx.util.Uri.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.CssAnimation":{require:!0},"qx.bom.Stylesheet":{},"qx.bom.Event":{},"qx.lang.String":{},"qx.bom.element.AnimationHandle":{},"qx.bom.element.Transform":{},"qx.bom.Style":{},"qx.bom.client.OperatingSystem":{defer:"load",require:!0}},environment:{provided:[],required:{"css.animation":{load:!0,className:"qx.bom.client.CssAnimation"},"qx.debug":{load:!0},"os.name":{defer:!0,className:"qx.bom.client.OperatingSystem"},"os.version":{defer:!0,className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.AnimationCss",{statics:{__P_207_0:null,__P_207_1:"Anni",__P_207_2:0,__P_207_3:{},__P_207_4:{scale:!0,rotate:!0,skew:!0,translate:!0},__P_207_5:qx.core.Environment.get("css.animation"),animateReverse(e,t,r){return this._animate(e,t,r,!0)},animate(e,t,r){return this._animate(e,t,r,!1)},_animate(e,t,r,i){this.__P_207_6(t);var n=t.keep;null!=n&&(i||t.alternate&&t.repeat%2==0)&&(n=100-n);this.__P_207_0||(this.__P_207_0=qx.bom.Stylesheet.createElement());var o=t.keyFrames;null==r&&(r=t.duration);if(null!=this.__P_207_5){var a=this.__P_207_7(o,i)+" "+r+"ms "+t.timing+" "+(t.delay?t.delay+"ms ":"")+t.repeat+" "+(t.alternate?"alternate":"");qx.bom.Event.addNativeListener(e,this.__P_207_5["start-event"],this.__P_207_8);qx.bom.Event.addNativeListener(e,this.__P_207_5["iteration-event"],this.__P_207_9);qx.bom.Event.addNativeListener(e,this.__P_207_5["end-event"],this.__P_207_10);e.style[qx.lang.String.camelCase(this.__P_207_5.name)]=a;n&&100==n&&this.__P_207_5["fill-mode"]&&(e.style[this.__P_207_5["fill-mode"]]="forwards")}var s=new qx.bom.element.AnimationHandle;s.desc=t;s.el=e;s.keep=n;e.$$animation=s;null!=t.origin&&qx.bom.element.Transform.setOrigin(e,t.origin);null==this.__P_207_5&&window.setTimeout((function(){qx.bom.element.AnimationCss.__P_207_10({target:e})}),0);return s},__P_207_8(e){e.target.$$animation&&e.target.$$animation.emit("start",e.target)},__P_207_9(e){null!=e.target&&null!=e.target.$$animation&&e.target.$$animation.emit("iteration",e.target)},__P_207_10(e){var t=e.target,r=t.$$animation;if(r){var i=r.desc;if(null!=qx.bom.element.AnimationCss.__P_207_5){var n=qx.lang.String.camelCase(qx.bom.element.AnimationCss.__P_207_5.name);t.style[n]="";qx.bom.Event.removeNativeListener(t,qx.bom.element.AnimationCss.__P_207_5.name,qx.bom.element.AnimationCss.__P_207_10)}null!=i.origin&&qx.bom.element.Transform.setOrigin(t,"");qx.bom.element.AnimationCss.__P_207_11(t,i.keyFrames[r.keep]);t.$$animation=null;r.el=null;r.ended=!0;r.emit("end",t)}},__P_207_11(e,t){var r;for(var i in t)if(i in qx.bom.element.AnimationCss.__P_207_4){r||(r={});r[i]=t[i]}else e.style[qx.lang.String.camelCase(i)]=t[i];r&&qx.bom.element.Transform.transform(e,r)},__P_207_6(e){e.hasOwnProperty("alternate")||(e.alternate=!1);e.hasOwnProperty("keep")||(e.keep=null);e.hasOwnProperty("repeat")||(e.repeat=1);e.hasOwnProperty("timing")||(e.timing="linear");e.hasOwnProperty("origin")||(e.origin=null)},__P_207_12:qx.core.Environment.select("qx.debug",{true(e){var t=["origin","duration","keep","keyFrames","delay","repeat","timing","alternate"];for(var r in e)-1==t.indexOf(r)&&qx.Bootstrap.warn("Unknown key '"+r+"' in the animation description.");if(null==e.keyFrames)qx.Bootstrap.warn("No 'keyFrames' given > 0");else for(var i in e.keyFrames)(i<0||i>100)&&qx.Bootstrap.warn("Keyframe position needs to be between 0 and 100")},default:null}),__P_207_7(e,t){var r="";for(var i in e){r+=(t?-(i-100):i)+"% {";var n,o=e[i];for(var a in o)if(a in this.__P_207_4){n||(n={});n[a]=o[a]}else{var s=qx.bom.Style.getPropertyName(a);r+=((null!==s?qx.bom.Style.getCssName(s):"")||a)+":"+o[a]+";"}n&&(r+=qx.bom.element.Transform.getCss(n));r+="} "}if(this.__P_207_3[r])return this.__P_207_3[r];var l=this.__P_207_1+this.__P_207_2++,u=this.__P_207_5.keyframes+" "+l;qx.bom.Stylesheet.addRule(this.__P_207_0,u,r);this.__P_207_3[r]=l;return l},__P_207_13(){this.__P_207_2=0;if(this.__P_207_0){this.__P_207_0.ownerNode.remove();this.__P_207_0=null;this.__P_207_3={}}}},defer(e){"ios"===qx.core.Environment.get("os.name")&&parseInt(qx.core.Environment.get("os.version"))>=8&&document.addEventListener("visibilitychange",(function(){document.hidden||e.__P_207_13()}),!1)}});qx.bom.element.AnimationCss.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.bom.element.AnimationHandle":{},"qx.bom.Style":{},"qx.bom.element.Transform":{},"qx.util.ColorUtil":{},"qx.bom.AnimationFrame":{},"qx.lang.String":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.AnimationJs",{statics:{__P_208_0:30,__P_208_1:["%","in","cm","mm","em","ex","pt","pc","px"],__P_208_2:{scale:!0,rotate:!0,skew:!0,translate:!0},animate(e,t,r){return this._animate(e,t,r,!1)},animateReverse(e,t,r){return this._animate(e,t,r,!0)},_animate(e,t,r,i){if(e.$$animation)return e.$$animation;t=qx.lang.Object.clone(t,!0);null==r&&(r=t.duration);var n=t.keyFrames,o=this.__P_208_3(n),a=this.__P_208_4(r,o),s=parseInt(r/a,10);this.__P_208_5(n,e);var l=this.__P_208_6(s,a,o,n,r,t.timing),u=new qx.bom.element.AnimationHandle;u.jsAnimation=!0;if(i){l.reverse();u.reverse=!0}u.desc=t;u.el=e;u.delta=l;u.stepTime=a;u.steps=s;e.$$animation=u;u.i=0;u.initValues={};u.repeatSteps=this.__P_208_7(s,t.repeat);var c=t.delay||0,h=this;u.delayId=window.setTimeout((function(){u.delayId=null;h.play(u)}),c);return u},__P_208_5(e,t){var r={};for(var i in e)for(var n in e[i]){var o=qx.bom.Style.getPropertyName(n);if(o&&o!=n){var a=qx.bom.Style.getCssName(o);e[i][a]=e[i][n];delete e[i][n];n=a}if(null==r[n]){var s=e[i][n];r[n]="string"==typeof s?this.__P_208_8(s):""}}for(var i in e){var l=e[i];for(var n in r)if(null==l[n]){n in t.style?window.getComputedStyle?l[n]=window.getComputedStyle(t,null)[n]:l[n]=t.style[n]:l[n]=t[n];""===l[n]&&-1!=this.__P_208_1.indexOf(r[n])&&(l[n]="0"+r[n])}}},__P_208_9(e){e=qx.lang.Object.clone(e);var t;for(var r in e)if(r in this.__P_208_2){t||(t={});t[r]=e[r];delete e[r]}if(t){var i=qx.bom.element.Transform.getCss(t).split(":");i.length>1&&(e[i[0]]=i[1].replace(";",""))}return e},__P_208_6(e,t,r,i,n,o){var a=new Array(e),s=1;a[0]=this.__P_208_9(i[0]);for(var l=i[0],u=i[r[s]],c=Math.floor(r[s]/(t/n*100)),h=1,d=1;dr[s]){l=u;u=i[r[++s]];c=Math.floor(r[s]/(t/n*100))-c;h=1}a[d]={};var f;for(var _ in u){var p=u[_]+"";if(_ in this.__P_208_2){f||(f={});if(qx.Bootstrap.isArray(l[_])){qx.Bootstrap.isArray(u[_])||(u[_]=[u[_]]);f[_]=[];for(var m=0;m1&&(a[d][P[0]]=P[1].replace(";",""))}h++}a[a.length-1]=this.__P_208_9(i[100]);return a},__P_208_8:e=>e.substring((parseFloat(e)+"").length,e.length),__P_208_10(e,t,r,i){var n=parseFloat(e)-parseFloat(t);return parseFloat(t)+n*qx.bom.AnimationFrame.calculateTiming(r,i)+this.__P_208_8(e)},play(e){e.emit("start",e.el);var t=window.setInterval((function(){e.repeatSteps--;var t=e.delta[e.i%e.steps];if(0===e.i)for(var r in t)void 0===e.initValues[r]&&(void 0!==e.el[r]?e.initValues[r]=e.el[r]:qx.bom.element.Style?e.initValues[r]=qx.bom.element.Style.get(e.el,qx.lang.String.camelCase(r)):e.initValues[r]=e.el.style[qx.lang.String.camelCase(r)]);qx.bom.element.AnimationJs.__P_208_11(e.el,t);e.i++;if(e.i%e.steps==0){e.emit("iteration",e.el);e.desc.alternate&&e.delta.reverse()}e.repeatSteps<0&&qx.bom.element.AnimationJs.stop(e)}),e.stepTime);e.animationId=t;return e},pause(e){window.clearInterval(e.animationId);e.animationId=null;return e},stop(e){var t=e.desc,r=e.el,i=e.initValues;e.animationId&&window.clearInterval(e.animationId);e.delayId&&window.clearTimeout(e.delayId);if(null==r)return e;var n=t.keep;if(null==n||e.stopped)this.__P_208_11(r,i);else{(e.reverse||t.alternate&&t.repeat&&t.repeat%2==0)&&(n=100-n);this.__P_208_11(r,this.__P_208_9(t.keyFrames[n]))}r.$$animation=null;e.el=null;e.ended=!0;e.animationId=null;e.emit("end",r);return e},__P_208_7:(e,t)=>null==t?e:"infinite"==t?Number.MAX_VALUE:e*t,__P_208_11(e,t){for(var r in t)if(void 0!==t[r])if(void 0===e.style[r]&&r in e)e[r]=t[r];else{var i=qx.bom.Style.getPropertyName(r)||r;qx.bom.element.Style?qx.bom.element.Style.set(e,i,t[r]):e.style[i]=t[r]}},__P_208_4(e,t){for(var r=100,i=0;ithis.__P_208_0;)n/=2;return Math.round(n)},__P_208_3(e){for(var t=Object.keys(e),r=0;rr.value&&e("src="+JSON.stringify(r.value))));this.registerProperty("scale",null,this._setScaleProperty)},members:{__P_166_0:null,__P_166_1:null,tagNameHint:null,setPadding(e,t){this.__P_166_1=e;this.__P_166_0=t;"div"==this.getNodeName()&&this.setStyle("backgroundPosition",e+"px "+t+"px")},_setSourceProperty(e){var t=this.getDomElement(),r=this.getAllStyles()||{};"div"==this.getNodeName()&&this.getStyle("backgroundImage")&&(r.backgroundRepeat=null);var i=this._getProperty("source"),n=this._getProperty("scale")?"scale":"no-repeat";if(null!=i){i=i||null;r.paddingTop=this.__P_166_0;r.paddingLeft=this.__P_166_1;qx.bom.element.Decoration.update(t,i,n,r)}},_setScaleProperty(e){},_removeProperty(e,t){"source"==e?this._setProperty(e,"",t):this._setProperty(e,null,t)},_createDomElement(){var e=this._getProperty("scale")?"scale":"no-repeat";if("mshtml"==qx.core.Environment.get("engine.name")){var t=this._getProperty("source");null!=this.tagNameHint?this.setNodeName(this.tagNameHint):this.setNodeName(qx.bom.element.Decoration.getTagName(e,t))}else this.setNodeName(qx.bom.element.Decoration.getTagName(e));return qx.html.Image.superclass.prototype._createDomElement.call(this)},_copyData(e,t){return qx.html.Image.superclass.prototype._copyData.call(this,!0,t)},setSource(e){this._setProperty("source",e);return this},getSource(){return this._getProperty("source")},resetSource(){"webkit"==qx.core.Environment.get("engine.name")?this._setProperty("source","qx/static/blank.gif"):this._removeProperty("source",!0);return this},setScale(e){this._setProperty("scale",e);return this},getScale(){return this._getProperty("scale")}}});qx.html.Image.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.bom.Iframe":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Iframe",{extend:qx.html.Element,construct(e,t,r){qx.html.Element.constructor.call(this,"iframe",t,r);this.registerProperty("source",null,this._setSourceProperty);this.setSource(e);this.addListener("navigate",this.__P_209_0,this);qx.html.Element._modified[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")},events:{load:"qx.event.type.Event",navigate:"qx.event.type.Data"},members:{_setSourceProperty(e){var t=this.getDomElement();e!==qx.bom.Iframe.queryCurrentUrl(t)&&qx.bom.Iframe.setSource(t,e)},_createDomElement:()=>qx.bom.Iframe.create(),getWindow(){var e=this.getDomElement();return e?qx.bom.Iframe.getWindow(e):null},getDocument(){var e=this.getDomElement();return e?qx.bom.Iframe.getDocument(e):null},getBody(){var e=this.getDomElement();return e?qx.bom.Iframe.getBody(e):null},setSource(e){this._setProperty("source",e,!0);return this},getSource(){return this._getProperty("source")},setName(e){this.setAttribute("name",e);return this},getName(){return this.getAttribute("name")},reload(){if(this.getDomElement()){var e=this.getSource();this.setSource(null);this.setSource(e)}},__P_209_0(e){var t=e.getData();t&&this.setSource(t)}}});qx.html.Iframe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.bom.Input":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine",load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Input",{extend:qx.html.Element,construct(e,t,r){if("select"===e||"textarea"===e)var i=e;else i="input";qx.html.Element.constructor.call(this,i,t,r);this.__P_210_0=e;this.registerProperty("value",this._getValueProperty,this._setValueProperty);this.registerProperty("wrap",null,this._setWrapProperty)},members:{__P_210_0:null,__P_210_1:null,__P_210_2:null,_useNodeImpl(e,t){qx.html.Input.superclass.prototype._useNodeImpl.call(this,e,t)},_createDomElement(){return qx.bom.Input.create(this.__P_210_0)},_setValueProperty(e){var t=this.getDomElement();qx.bom.Input.setValue(t,e)},_getValueProperty(){var e=this.getDomElement();return qx.bom.Input.getValue(e)},_setWrapProperty(e){var t=this.getDomElement();qx.bom.Input.setWrap(t,e);this.setStyle("overflow",t.style.overflow,!0);this.setStyle("overflowX",t.style.overflowX,!0);this.setStyle("overflowY",t.style.overflowY,!0)},setEnabled(e){this.__P_210_2=e;this.setAttribute("disabled",!1===e);"webkit"==qx.core.Environment.get("engine.name")&&(e?this.setStyles({userModify:null,userSelect:this.__P_210_1?null:"none"}):this.setStyles({userModify:"read-only",userSelect:"none"}))},setSelectable:qx.core.Environment.select("engine.name",{webkit(e){this.__P_210_1=e;qx.html.Input.superclass.prototype.setSelectable.call(this,this.__P_210_2&&e)},default(e){qx.html.Input.superclass.prototype.setSelectable.call(this,e)}}),setValue(e){var t=this.getDomElement();t?t.value!=e&&qx.bom.Input.setValue(t,e):this._setProperty("value",e);return this},getValue(){var e=this.getDomElement();return e?qx.bom.Input.getValue(e):this._getProperty("value")||""},setWrap(e,t){if("textarea"!==this.__P_210_0)throw new Error("Text wrapping is only support by textareas!");this._setProperty("wrap",e,t);return this},getWrap(){if("textarea"===this.__P_210_0)return this._getProperty("wrap");throw new Error("Text wrapping is only support by textareas!")}}});qx.html.Input.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Dom":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.KeyInput",{extend:qx.event.type.Dom,members:{init(e,t,r){qx.event.type.KeyInput.superclass.prototype.init.call(this,e,t,null,!0,!0);this._charCode=r;return this},clone(e){var t=qx.event.type.KeyInput.superclass.prototype.clone.call(this,e);t._charCode=this._charCode;return t},getCharCode(){return this._charCode},getChar(){return String.fromCharCode(this._charCode)}}});qx.event.type.KeyInput.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Dom":{require:!0},"qx.event.util.Keyboard":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.KeySequence",{extend:qx.event.type.Dom,members:{init(e,t,r){qx.event.type.KeySequence.superclass.prototype.init.call(this,e,t,null,!0,!0);this._keyCode=e.keyCode;this._identifier=r;return this},clone(e){var t=qx.event.type.KeySequence.superclass.prototype.clone.call(this,e);t._keyCode=this._keyCode;t._identifier=this._identifier;return t},getKeyIdentifier(){return this._identifier},getKeyCode(){return this._keyCode},isPrintable(){return qx.event.util.Keyboard.isPrintableKeyIdentifier(this._identifier)}}});qx.event.type.KeySequence.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.OperatingSystem":{require:!0}},environment:{provided:[],required:{"os.name":{load:!0,className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.util.Keyboard",{statics:{specialCharCodeMap:{8:"Backspace",9:"Tab",13:"Enter",27:"Escape",32:"Space"},numpadToCharCode:{96:"0".charCodeAt(0),97:"1".charCodeAt(0),98:"2".charCodeAt(0),99:"3".charCodeAt(0),100:"4".charCodeAt(0),101:"5".charCodeAt(0),102:"6".charCodeAt(0),103:"7".charCodeAt(0),104:"8".charCodeAt(0),105:"9".charCodeAt(0),106:"*".charCodeAt(0),107:"+".charCodeAt(0),109:"-".charCodeAt(0),110:",".charCodeAt(0),111:"/".charCodeAt(0)},keyCodeToIdentifierMap:{16:"Shift",17:"Control",18:"Alt",20:"CapsLock",224:"Meta",37:"Left",38:"Up",39:"Right",40:"Down",33:"PageUp",34:"PageDown",35:"End",36:"Home",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",44:"PrintScreen",145:"Scroll",19:"Pause",91:"osx"==qx.core.Environment.get("os.name")?"cmd":"Win",92:"Win",93:"osx"==qx.core.Environment.get("os.name")?"cmd":"Apps"},charCodeA:"A".charCodeAt(0),charCodeZ:"Z".charCodeAt(0),charCode0:"0".charCodeAt(0),charCode9:"9".charCodeAt(0),keyCodeToIdentifier(e){if(this.isIdentifiableKeyCode(e)){var t=this.numpadToCharCode[e];return t?String.fromCharCode(t):this.keyCodeToIdentifierMap[e]||this.specialCharCodeMap[e]||String.fromCharCode(e)}return"Unidentified"},charCodeToIdentifier(e){return this.specialCharCodeMap[e]||String.fromCharCode(e).toUpperCase()},isIdentifiableKeyCode(e){return e>=this.charCodeA&&e<=this.charCodeZ||(e>=this.charCode0&&e<=this.charCode9||(!!this.specialCharCodeMap[e]||(!!this.numpadToCharCode[e]||!!this.isNonPrintableKeyCode(e))))},isNonPrintableKeyCode(e){return!!this.keyCodeToIdentifierMap[e]},isValidKeyIdentifier(e){if(this.identifierToKeyCodeMap[e])return!0;if(1!=e.length)return!1;if(e>="0"&&e<="9")return!0;if(e>="A"&&e<="Z")return!0;switch(e){case"+":case"-":case"*":case"/":case",":return!0;default:return!1}},isPrintableKeyIdentifier(e){return"Space"===e||!this.identifierToKeyCodeMap[e]}},defer(e){if(!e.identifierToKeyCodeMap){e.identifierToKeyCodeMap={};for(var t in e.keyCodeToIdentifierMap)e.identifierToKeyCodeMap[e.keyCodeToIdentifierMap[t]]=parseInt(t,10);for(var t in e.specialCharCodeMap)e.identifierToKeyCodeMap[e.specialCharCodeMap[t]]=parseInt(t,10)}}});qx.event.util.Keyboard.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Mouse":{require:!0},"qx.util.Wheel":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.MouseWheel",{extend:qx.event.type.Mouse,members:{stop(){this.stopPropagation();this.preventDefault()},getWheelDelta(e){return qx.util.Wheel.getDelta(this._native,e)}}});qx.event.type.MouseWheel.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Event":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Orientation",{extend:qx.event.type.Event,members:{__P_224_0:null,__P_224_1:null,init(e,t){qx.event.type.Orientation.superclass.prototype.init.call(this,!1,!1);this.__P_224_0=e;this.__P_224_1=t;return this},clone(e){var t=qx.event.type.Orientation.superclass.prototype.clone.call(this,e);t.__P_224_0=this.__P_224_0;t.__P_224_1=this.__P_224_1;return t},getOrientation(){return this.__P_224_0},isLandscape(){return"landscape"==this.__P_224_1},isPortrait(){return"portrait"==this.__P_224_1}}});qx.event.type.Orientation.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Dom":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Touch",{extend:qx.event.type.Dom,members:{_cloneNativeEvent(e,t){(t=qx.event.type.Touch.superclass.prototype._cloneNativeEvent.call(this,e,t)).pageX=e.pageX;t.pageY=e.pageY;t.offsetX=e.offsetX;t.offsetY=e.offsetY;t.layerX=e.offsetX||e.layerX;t.layerY=e.offsetY||e.layerY;t.scale=e.scale;t.rotation=e.rotation;t._rotation=e._rotation;t.delta=e.delta;t.srcElement=e.srcElement;t.targetTouches=[];for(var r=0;r1},getScale(){return this._native.scale},getRotation(){return void 0===this._native._rotation?this._native.rotation:this._native._rotation},getDelta(){return this._native.delta},getDocumentLeft(e){return this.__P_214_1(e).pageX},getDocumentTop(e){return this.__P_214_1(e).pageY},getScreenLeft(e){return this.__P_214_1(e).screenX},getScreenTop(e){return this.__P_214_1(e).screenY},getViewportLeft(e){return this.__P_214_1(e).clientX},getViewportTop(e){return this.__P_214_1(e).clientY},getIdentifier(e){return this.__P_214_1(e).identifier},__P_214_1(e){e=null==e?0:e;return this.__P_214_0()[e]},__P_214_0(){return this._isTouchEnd()?this.getChangedTargetTouches():this.getTargetTouches()},_isTouchEnd(){return"touchend"==this.getType()||"touchcancel"==this.getType()}}});qx.event.type.Touch.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.Wheel",{statics:{MAXSCROLL:null,MINSCROLL:null,FACTOR:1,IS_TOUCHPAD:!1,getDelta(e,t){if(void 0===t){var r=0;void 0!==e.wheelDelta?r=-e.wheelDelta:0!==e.detail?r=e.detail:void 0!==e.deltaY&&(r=e.deltaY);return this.__P_217_0(r)}if("x"===t){var i=0;void 0!==e.wheelDelta?void 0!==e.wheelDeltaX&&(i=e.wheelDeltaX?this.__P_217_0(-e.wheelDeltaX):0):e.axis&&e.axis==e.HORIZONTAL_AXIS&&void 0!==e.detail&&e.detail>0?i=this.__P_217_0(e.detail):void 0!==e.deltaX&&(i=this.__P_217_0(e.deltaX));return i}if("y"===t){var n=0;void 0!==e.wheelDelta?n=void 0!==e.wheelDeltaY?e.wheelDeltaY?this.__P_217_0(-e.wheelDeltaY):0:this.__P_217_0(-e.wheelDelta):(!e.axis||e.axis!=e.HORIZONTAL_AXIS)&&void 0!==e.detail&&e.detail>0?n=this.__P_217_0(e.detail):void 0!==e.deltaY&&(n=this.__P_217_0(e.deltaY));return n}return 0},__P_217_0(e){if(qx.util.Wheel.IS_TOUCHPAD){qx.util.Wheel.MINSCROLL=null;qx.util.Wheel.MAXSCROLL=null;qx.util.Wheel.FACTOR=1;return e}var t=Math.abs(e);if(0===t)return 0;if(null==qx.util.Wheel.MINSCROLL||qx.util.Wheel.MINSCROLL>t){qx.util.Wheel.MINSCROLL=t;this.__P_217_1()}if(null==qx.util.Wheel.MAXSCROLL||qx.util.Wheel.MAXSCROLL!(!window.google||!window.google.gears),getActiveX(){if("function"==typeof window.ActiveXObject)return!0;try{return void 0!==window.ActiveXObject&&("object"==typeof new window.ActiveXObject("Microsoft.XMLHTTP")||"object"==typeof new window.ActiveXObject("MSXML2.DOMDocument.6.0"))}catch(e){return!1}},getSkype(){if(qx.bom.client.Plugin.getActiveX())try{new window.ActiveXObject("Skype.Detection");return!0}catch(e){}var e=navigator.mimeTypes;if(e){if("application/x-skype"in e)return!0;for(var t=0;t1&&2===(i=i[0].split("=")).length)return i[1];if(null!=(i=n.versionInfo))return i;if(null!=(i=n.version))return i;if(null!=(i=n.settings.version))return i}catch(e){return""}return""}for(var o=navigator.plugins,a=/([0-9]\.[0-9])/g,s=0;sdocument.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("XML","1.0"),getDomParser:()=>void 0!==window.DOMParser,getSelectSingleNode:()=>void 0!==qx.xml.Document.create().selectSingleNode,getSelectNodes:()=>void 0!==qx.xml.Document.create().selectNodes,getElementsByTagNameNS:()=>void 0!==qx.xml.Document.create().getElementsByTagNameNS,getDomProperties(){var e=qx.xml.Document.create();return"getProperty"in e&&"string"==typeof e.getProperty("SelectionLanguage")},getAttributeNS(){var e=qx.xml.Document.fromString("").documentElement;return"function"==typeof e.getAttributeNS&&"function"==typeof e.setAttributeNS},getCreateElementNS:()=>"function"==typeof qx.xml.Document.create().createElementNS,getCreateNode:()=>void 0!==qx.xml.Document.create().createNode,getQualifiedItem:()=>void 0!==qx.xml.Document.fromString("").documentElement.attributes.getQualifiedItem},defer(e){qx.core.Environment.add("xml.implementation",e.getImplementation);qx.core.Environment.add("xml.domparser",e.getDomParser);qx.core.Environment.add("xml.selectsinglenode",e.getSelectSingleNode);qx.core.Environment.add("xml.selectnodes",e.getSelectNodes);qx.core.Environment.add("xml.getelementsbytagnamens",e.getElementsByTagNameNS);qx.core.Environment.add("xml.domproperties",e.getDomProperties);qx.core.Environment.add("xml.attributens",e.getAttributeNS);qx.core.Environment.add("xml.createelementns",e.getCreateElementNS);qx.core.Environment.add("xml.createnode",e.getCreateNode);qx.core.Environment.add("xml.getqualifieditem",e.getQualifiedItem)}});qx.bom.client.Xml.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Plugin":{defer:"load",require:!0},"qx.bom.client.Xml":{require:!0}},environment:{provided:[],required:{"plugin.activex":{className:"qx.bom.client.Plugin",defer:!0},"xml.implementation":{className:"qx.bom.client.Xml"},"xml.domparser":{className:"qx.bom.client.Xml"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.xml.Document",{statics:{DOMDOC:null,XMLHTTP:null,isXmlDocument(e){return 9===e.nodeType?"HTML"!==e.documentElement.nodeName:!!e.ownerDocument&&this.isXmlDocument(e.ownerDocument)},create(e,t){if(qx.core.Environment.get("plugin.activex")){var r=new ActiveXObject(this.DOMDOC);"MSXML2.DOMDocument.3.0"==this.DOMDOC&&r.setProperty("SelectionLanguage","XPath");if(t){var i='\n<';i+=t;e&&(i+=" xmlns='"+e+"'");i+=" />";r.loadXML(i)}return r}if(qx.core.Environment.get("xml.implementation"))return document.implementation.createDocument(e||"",t||"",null);throw new Error("No XML implementation available!")},fromString(e){if(qx.core.Environment.get("plugin.activex")){var t=qx.xml.Document.create();t.loadXML(e);return t}if(qx.core.Environment.get("xml.domparser")){return(new DOMParser).parseFromString(e,"text/xml")}throw new Error("No XML implementation available!")}},defer(e){if(qx.core.Environment.get("plugin.activex"))for(var t=["MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.3.0"],r=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0"],i=0,n=t.length;i0?r.getRangeAt(0):t.createRange()}})}});qx.bom.Range.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.StringSplit",{statics:{split(e,t,r){if("[object RegExp]"!==Object.prototype.toString.call(t))return String.prototype.split.call(e,t,r);var i,n,o,a,s=[],l=0,u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":""),c=(t=RegExp(t.source,u+"g"),void 0===/()??/.exec("")[1]);e+="";c||(i=RegExp("^"+t.source+"$(?!\\s)",u));if(void 0===r||+r<0)r=1/0;else if(!(r=Math.floor(+r)))return[];for(;n=t.exec(e);){if((o=n.index+n[0].length)>l){s.push(e.slice(l,n.index));!c&&n.length>1&&n[0].replace(i,(function(){for(var e=1;e1&&n.index=r)break}t.lastIndex===n.index&&t.lastIndex++}l===e.length?!a&&t.test("")||s.push(""):s.push(e.slice(l));return s.length>r?s.slice(0,r):s}}});qx.util.StringSplit.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Event":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Focus",{extend:qx.event.type.Event,members:{init(e,t,r){qx.event.type.Focus.superclass.prototype.init.call(this,r,!1);this._target=e;this._relatedTarget=t;return this}}});qx.event.type.Focus.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Event":{require:!0},"qx.dom.Node":{},"qx.bom.Viewport":{},"qx.event.Registration":{},"qx.event.handler.DragDrop":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Drag",{extend:qx.event.type.Event,members:{init(e,t){qx.event.type.Drag.superclass.prototype.init.call(this,!0,e);if(t){this._native=t.getNativeEvent()||null;this._originalTarget=t.getOriginalTarget()||null}else{this._native=null;this._originalTarget=null}return this},clone(e){var t=qx.event.type.Drag.superclass.prototype.clone.call(this,e);t._native=this._native;return t},getDocumentLeft(){if(null==this._native)return 0;var e=this._native.pageX;if(void 0!==e){0==e&&"touch"==this._native.pointerType&&(e=this._native._original.changedTouches[0].pageX||0);return Math.round(e)}var t=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(t)},getDocumentTop(){if(null==this._native)return 0;var e=this._native.pageY;if(void 0!==e){0==e&&"touch"==this._native.pointerType&&(e=this._native._original.changedTouches[0].pageY||0);return Math.round(e)}var t=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(t)},getManager(){return qx.event.Registration.getManager(this.getTarget()).getHandler(qx.event.handler.DragDrop)},addType(e){this.getManager().addType(e)},addAction(e){this.getManager().addAction(e)},supportsType(e){return this.getManager().supportsType(e)},supportsAction(e){return this.getManager().supportsAction(e)},addData(e,t){this.getManager().addData(e,t)},getData(e){return this.getManager().getData(e)},getDataAsync(e){return this.getManager().getDataAsync(e)},getCurrentType(){return this.getManager().getCurrentType()},getCurrentAction(){return this.getDefaultPrevented()?null:this.getManager().getCurrentAction()},getCurrentActionAsync(){return this.getDefaultPrevented()?null:this.getManager().getCurrentActionAsync()},setDropAllowed(e){this.getManager().setDropAllowed(e)},getDragTarget(){return this.getManager().getDragTarget()},stopSession(){this.getManager().clearSession()}}});qx.event.type.Drag.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.VBox":{require:!0},"qx.lang.Array":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.menu.Layout",{extend:qx.ui.layout.VBox,properties:{columnSpacing:{check:"Integer",init:0,apply:"_applyLayoutChange"},spanColumn:{check:"Integer",init:1,nullable:!0,apply:"_applyLayoutChange"},iconColumnWidth:{check:"Integer",init:0,themeable:!0,apply:"_applyLayoutChange"},arrowColumnWidth:{check:"Integer",init:0,themeable:!0,apply:"_applyLayoutChange"}},members:{__P_160_0:null,_computeSizeHint(){for(var e,t,r,i=this._getLayoutChildren(),n=this.getSpanColumn(),o=this.__P_160_0=[0,0,0,0],a=this.getColumnSpacing(),s=0,l=0,u=0,c=i.length;u=0;s+=r)if((n=o[s]).isEnabled()&&!n.isAnonymous()&&n.isVisible())return n;if(i){s=s==a?0:a-1;for(;s!=t;s+=r)if((n=o[s]).isEnabled()&&!n.isAnonymous()&&n.isVisible())return n}return null},_isInMenu(e){for(;e;){if(e instanceof qx.ui.menu.Menu)return!0;e=e.getLayoutParent()}return!1},_isMenuOpener(e){for(var t=this.__P_161_0,r=0;r=0;t--)e[t].exclude()},getActiveMenu(){var e=this.__P_161_0;return e.length>0?e[e.length-1]:null},scheduleOpen(e){this.cancelClose(e);if(e.isVisible())this.__P_161_3&&this.cancelOpen(this.__P_161_3);else if(this.__P_161_3!=e){this.__P_161_3=e;this.__P_161_1.restartWith(e.getOpenInterval())}},scheduleClose(e){this.cancelOpen(e);if(e.isVisible()){if(this.__P_161_4!=e){this.__P_161_4=e;this.__P_161_2.restartWith(e.getCloseInterval())}}else this.__P_161_4&&this.cancelClose(this.__P_161_4)},cancelOpen(e){if(this.__P_161_3==e){this.__P_161_1.stop();this.__P_161_3=null}},cancelClose(e){if(this.__P_161_4==e){this.__P_161_2.stop();this.__P_161_4=null}},_onOpenInterval(e){this.__P_161_1.stop();this.__P_161_3.open();this.__P_161_3=null},_onCloseInterval(e){this.__P_161_2.stop();this.__P_161_4.exclude();this.__P_161_4=null},preventContextMenuOnce(){qx.event.Registration.addListener(document.body,"contextmenu",this.__P_161_5,this,!0)},__P_161_5(e){var t=e.getTarget();t=qx.ui.core.Widget.getWidgetByElement(t,!0);if(this._isInMenu(t)){e.stopPropagation();e.preventDefault()}qx.event.Registration.removeListener(document.body,"contextmenu",this.__P_161_5,this,!0)},_onPointerDown(e){var t=e.getTarget();null!=(t=qx.ui.core.Widget.getWidgetByElement(t,!0))?t.getMenu&&t.getMenu()&&t.getMenu().isVisible()||this.__P_161_0.length>0&&!this._isInMenu(t)&&this.hideAll():this.hideAll()},__P_161_6:{Enter:1,Space:1},__P_161_7:{Tab:1,Escape:1,Up:1,Down:1,Left:1,Right:1},_onKeyUpDown(e){var t=this.getActiveMenu();if(t){var r=e.getKeyIdentifier();(this.__P_161_7[r]||this.__P_161_6[r]&&t.getSelectedButton())&&e.stopPropagation()}},_onKeyPress(e){var t=this.getActiveMenu();if(t){var r=e.getKeyIdentifier(),i=this.__P_161_7[r],n=this.__P_161_6[r];if(i){switch(r){case"Up":this._onKeyPressUp(t);break;case"Down":this._onKeyPressDown(t);break;case"Left":this._onKeyPressLeft(t);break;case"Right":this._onKeyPressRight(t);break;case"Tab":case"Escape":this.hideAll()}e.stopPropagation();e.preventDefault()}else if(n){var o=t.getSelectedButton();if(o){switch(r){case"Enter":this._onKeyPressEnter(t,o,e);break;case"Space":this._onKeyPressSpace(t,o,e)}e.stopPropagation();e.preventDefault()}}}},_onKeyPressUp(e){var t=e.getSelectedButton(),r=e.getChildren(),i=t?e.indexOf(t)-1:r.length-1,n=this._getChild(e,i,-1,!0);n?e.setSelectedButton(n):e.resetSelectedButton()},_onKeyPressDown(e){var t=e.getSelectedButton(),r=t?e.indexOf(t)+1:0,i=this._getChild(e,r,1,!0);i?e.setSelectedButton(i):e.resetSelectedButton()},_onKeyPressLeft(e){var t=e.getOpener();if(t)if(t instanceof qx.ui.menu.AbstractButton){var r=t.getLayoutParent();r.resetOpenedButton();r.setSelectedButton(t)}else if(t instanceof qx.ui.menubar.Button){var i=t.getMenuBar().getMenuButtons(),n=i.indexOf(t);if(-1===n)return;for(var o=null,a=i.length,s=1;s<=a;s++){var l=i[(n-s+a)%a];if(l.isEnabled()&&l.isVisible()){o=l;break}}o&&o!=t&&o.open(!0)}},_onKeyPressRight(e){var t=e.getSelectedButton();if(t){var r=t.getMenu();if(r){e.setOpenedButton(t);(i=this._getChild(r,0,1))&&r.setSelectedButton(i);return}}else if(!e.getOpenedButton()){var i;if(i=this._getChild(e,0,1)){e.setSelectedButton(i);i.getMenu()&&e.setOpenedButton(i);return}}var n=e.getOpener();if(n instanceof qx.ui.menu.Button&&t){for(;n&&(n=n.getLayoutParent())instanceof qx.ui.menu.Menu&&!((n=n.getOpener())instanceof qx.ui.menubar.Button););if(!n)return}if(n instanceof qx.ui.menubar.Button){var o=n.getMenuBar().getMenuButtons(),a=o.indexOf(n);if(-1===a)return;for(var s=null,l=o.length,u=1;u<=l;u++){var c=o[(a+u)%l];if(c.isEnabled()&&c.isVisible()){s=c;break}}s&&s!=n&&s.open(!0)}},_onKeyPressEnter(e,t,r){if(t.hasListener("keypress")){var i=r.clone();i.setBubbles(!1);i.setTarget(t);t.dispatchEvent(i)}this.hideAll()},_onKeyPressSpace(e,t,r){if(t.hasListener("keypress")){var i=r.clone();i.setBubbles(!1);i.setTarget(t);t.dispatchEvent(i)}},_onRoll(e){var t=e.getTarget();t=qx.ui.core.Widget.getWidgetByElement(t,!0);this.__P_161_0.length>0&&!this._isInMenu(t)&&!this._isMenuOpener(t)&&!e.getMomentum()&&this.hideAll()}},destruct(){var e=qx.event.Registration,t=document.body;e.removeListener(window.document.documentElement,"pointerdown",this._onPointerDown,this,!0);e.removeListener(t,"keydown",this._onKeyUpDown,this,!0);e.removeListener(t,"keyup",this._onKeyUpDown,this,!0);e.removeListener(t,"keypress",this._onKeyPress,this,!0);this._disposeObjects("__P_161_1","__P_161_2");this._disposeArray("__P_161_0")}});qx.ui.menu.Manager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.ui.command.Command":{},"qx.Class":{},"qx.util.PropertyUtil":{}},environment:{provided:[],required:{"qx.command.bindEnabled":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MExecutable",{events:{execute:"qx.event.type.Event"},properties:{command:{check:"qx.ui.command.Command",apply:"_applyCommand",event:"changeCommand",nullable:!0}},members:{__P_170_0:null,__P_170_1:!1,__P_170_2:null,_bindableProperties:qx.core.Environment.select("qx.command.bindEnabled",{true:["enabled","label","icon","toolTipText","value","menu"],false:["label","icon","toolTipText","value","menu"]}),execute(){var e=this.getCommand();if(e)if(this.__P_170_1)this.__P_170_1=!1;else{this.__P_170_1=!0;e.execute(this)}this.fireEvent("execute")},__P_170_3(e){if(this.isEnabled()){if(this.__P_170_1){this.__P_170_1=!1;return}if(this.isEnabled()){this.__P_170_1=!0;this.execute()}}},_applyCommand(e,t){null!=t&&t.removeListenerById(this.__P_170_2);null!=e&&(this.__P_170_2=e.addListener("execute",this.__P_170_3,this));var r,i=this.__P_170_0;null==i&&(this.__P_170_0=i={});for(var n=0;n1||1==t&&r>9||1==t&&9==r&&i>=1)?6:2},getSsl:()=>"https:"===window.location.protocol,getXmlHttpRequest:()=>(window.ActiveXObject?function(){if("file:"!==window.location.protocol)try{new window.XMLHttpRequest;return"xhr"}catch(e){}try{new window.ActiveXObject("Microsoft.XMLHTTP");return"activex"}catch(e){}}():function(){try{new window.XMLHttpRequest;return"xhr"}catch(e){}}())||""},defer(e){qx.core.Environment.add("io.maxrequests",e.getMaxConcurrentRequestCount);qx.core.Environment.add("io.ssl",e.getSsl);qx.core.Environment.add("io.xhr",e.getXmlHttpRequest)}});qx.bom.client.Transport.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.bom.client.Device":{},"qx.bom.client.Engine":{defer:"load",require:!0},"qx.bom.client.Transport":{defer:"load",require:!0},"qx.util.LibraryManager":{defer:"runtime"}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine",defer:!0},"io.ssl":{className:"qx.bom.client.Transport",defer:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.ResourceManager",{extend:qx.core.Object,type:"singleton",construct(){qx.core.Object.constructor.call(this)},statics:{__P_132_0:qx.$$resources||{},__P_132_1:{}},members:{findHighResolutionSource(e,t){var r=["3","2","1.5"];t||(t=parseFloat(qx.bom.client.Device.getDevicePixelRatio().toFixed(2)));if(t<=1)return!1;for(var i,n,o=r.length;o>0&&t>r[--o];);for(n=o;n>=0;n--)if(i=this.getHighResolutionSource(e,r[n]))return i;for(n=o+1;n-1){var i="@"+t+"x",n=e.slice(0,r)+i+e.slice(r);if(this.has(n))return n}return null},getIds(e){var t=qx.util.ResourceManager.__P_132_0;return t?Object.keys(t).filter((function(t){return!e||-1!=t.indexOf(e)})):null},has:e=>!!qx.util.ResourceManager.__P_132_0[e],getData:e=>qx.util.ResourceManager.__P_132_0[e]||null,getImageWidth(e){var t;if(e&&e.startsWith("@")){var r=e.split("/");(t=parseInt(r[2],10))&&(e=r[0]+"/"+r[1])}var i=qx.util.ResourceManager.__P_132_0[e];if(t&&i){return Math.ceil(t/i[1]*i[0])}return i?i[0]:null},getImageHeight(e){if(e&&e.startsWith("@")){var t=e.split("/"),r=parseInt(t[2],10);if(r)return r}var i=qx.util.ResourceManager.__P_132_0[e];return i?i[1]:null},getImageFormat(e){if(e&&e.startsWith("@"))return"font";var t=qx.util.ResourceManager.__P_132_0[e];return t?t[2]:null},getCombinedFormat(e){var t="",r=qx.util.ResourceManager.__P_132_0[e];if(r&&r.length>4&&"string"==typeof r[4]&&this.constructor.__P_132_0[r[4]]){var i=r[4];t=this.constructor.__P_132_0[i][2]}return t},toUri(e){if(null==e)return e;var t=qx.util.ResourceManager.__P_132_0[e];if(!t)return e;if("string"==typeof t)var r=t;else{if(!(r=t[3]))return e}var i="";"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("io.ssl")&&(i=qx.util.ResourceManager.__P_132_1[r]);return i+qx.util.LibraryManager.getInstance().get(r,"resourceUri")+"/"+e},toDataUri(e){var t,r=this.constructor.__P_132_0[e],i=r?this.constructor.__P_132_0[r[4]]:null;if(i){var n=i[4][e];t="data:image/"+n.type+";"+n.encoding+","+n.data}else t=this.toUri(e);return t},isFontUri:e=>!!e&&e.startsWith("@"),fromFontUriToCharCode(e){var t=e.split("/"),r=e;t.length>2&&(r=t[0]+"/"+t[1]);var i=this.getData(r),n=null;if(i)n=i[2];else{let t=e.match(/@([^/]+)\/(.*)$/)[2];if(t){n=parseInt(t,16);isNaN(n)&&(n=null)}}if(!n)throw new Error(`Cannot determine charCode from source: ${e}`);return n}},defer(e){if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("io.ssl"))for(var t in qx.$$libraries){var r;if(qx.util.LibraryManager.getInstance().get(t,"resourceUri")){r=qx.util.LibraryManager.getInstance().get(t,"resourceUri");var i,n=document.getElementsByTagName("base");n.length>0&&(i=n[0].href);if(null!=r.match(/^\/\//))e.__P_132_1[t]=window.location.protocol;else if(null!=r.match(/^\//))e.__P_132_1[t]=i||window.location.protocol+"//"+window.location.host;else if(null!=r.match(/^\.\//)){var o=document.URL;e.__P_132_1[t]=o.substring(0,o.lastIndexOf("/")+1)}else if(null!=r.match(/^http/))e.__P_132_1[t]="";else{if(!i){var a=window.location.href.indexOf("?");i=-1==a?window.location.href:window.location.href.substring(0,a)}e.__P_132_1[t]=i.substring(0,i.lastIndexOf("/")+1)}}else e.__P_132_1[t]=""}}});qx.util.ResourceManager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.LibraryManager",{extend:qx.core.Object,type:"singleton",statics:{__P_178_0:qx.$$libraries||{}},members:{has:e=>!!qx.util.LibraryManager.__P_178_0[e],get:(e,t)=>qx.util.LibraryManager.__P_178_0[e][t]?qx.util.LibraryManager.__P_178_0[e][t]:null,set(e,t,r){qx.util.LibraryManager.__P_178_0[e][t]=r}}});qx.util.LibraryManager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.util.ResourceManager":{},"qx.bom.element.Style":{},"qx.bom.client.Css":{require:!0},"qx.theme.manager.Font":{},"qx.lang.Object":{},"qx.bom.Style":{},"qx.io.ImageLoader":{},"qx.bom.element.Background":{},"qx.log.Logger":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"css.alphaimageloaderneeded":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.element.Decoration",{statics:{DEBUG:!1,__P_167_0:{},__P_167_1:qx.core.Environment.select("engine.name",{mshtml:{"scale-x":!0,"scale-y":!0,scale:!0,"no-repeat":!0},default:null}),__P_167_2:{"scale-x":"img","scale-y":"img",scale:"img",repeat:"div","no-repeat":"div","repeat-x":"div","repeat-y":"div"},update(e,t,r,i){var n=this.getTagName(r,t);if(n!=e.tagName.toLowerCase()&&("no-repeat"!=r||"img"!=e.tagName.toLowerCase()))throw new Error("Image modification not possible because elements could not be replaced at runtime anymore!");var o=this.getAttributes(t,r,i);"img"===n&&(e.src=o.src||qx.util.ResourceManager.getInstance().toUri("qx/static/blank.gif"));""!=e.style.backgroundPosition&&void 0===o.style.backgroundPosition&&(o.style.backgroundPosition=null);""!=e.style.clip&&void 0===o.style.clip&&(o.style.clip=null);qx.bom.element.Style.setStyles(e,o.style);if(qx.core.Environment.get("css.alphaimageloaderneeded"))try{e.filters["DXImageTransform.Microsoft.AlphaImageLoader"].apply()}catch(e){}},create(e,t,r){var i=this.getTagName(t,e),n=this.getAttributes(e,t,r),o=qx.bom.element.Style.compile(n.style),a=qx.util.ResourceManager.getInstance();if(a.isFontUri(e)){var s=qx.theme.manager.Font.getInstance().resolve(e.match(/@([^/]+)/)[1]),l=qx.lang.Object.clone(s.getStyles());l.width=r.width;l.height=r.height;l.lineHeight=r.height;l.fontSize=parseInt(r.width)>parseInt(r.height)?r.height:r.width;l.display=r.display;l.verticalAlign=r.verticalAlign;l.position=r.position;o="";for(var u in l)if(l.hasOwnProperty(u)){let e=l[u];null!==e&&(o+=qx.bom.Style.getCssName(u)+": "+e+";")}var c=a.fromFontUriToCharCode(e);return'
'+String.fromCharCode(c)+"
"}return"img"===i?'':'
'},getTagName(e,t){return t&&qx.core.Environment.get("css.alphaimageloaderneeded")&&this.__P_167_1[e]&&t.endsWith(".png")?"div":this.__P_167_2[e]},getAttributes(e,t,r){r||(r={});if("mshtml"==qx.core.Environment.get("engine.name")){r.fontSize=0;r.lineHeight=0}else"webkit"==qx.core.Environment.get("engine.name")&&(r.WebkitUserDrag="none");var i,n=qx.util.ResourceManager.getInstance().getImageFormat(e)||qx.io.ImageLoader.getFormat(e);if(qx.core.Environment.get("css.alphaimageloaderneeded")&&this.__P_167_1[t]&&"png"===n){var o=this.__P_167_3(e);this.__P_167_4(r,o.width,o.height);i=this.processAlphaFix(r,t,e)}else{delete r.clip;i="scale"===t?this.__P_167_5(r,t,e):"scale-x"===t||"scale-y"===t?this.__P_167_6(r,t,e):this.__P_167_7(r,t,e)}return i},__P_167_4(e,t,r){null==e.width&&null!=t&&(e.width=t+"px");null==e.height&&null!=r&&(e.height=r+"px")},__P_167_3:e=>({width:qx.util.ResourceManager.getInstance().getImageWidth(e)||qx.io.ImageLoader.getWidth(e),height:qx.util.ResourceManager.getInstance().getImageHeight(e)||qx.io.ImageLoader.getHeight(e)}),processAlphaFix(e,t,r){if("repeat"==t||"repeat-x"==t||"repeat-y"==t)return e;var i="no-repeat"==t?"crop":"scale",n="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+qx.util.ResourceManager.getInstance().toUri(r)+"', sizingMethod='"+i+"')";e.filter=n;e.backgroundImage=e.backgroundRepeat="";delete e["background-image"];delete e["background-repeat"];return{style:e}},__P_167_5(e,t,r){var i=qx.util.ResourceManager.getInstance().toUri(r),n=this.__P_167_3(r);this.__P_167_4(e,n.width,n.height);return{src:i,style:e}},__P_167_6(e,t,r){var i=qx.util.ResourceManager.getInstance(),n=i.getCombinedFormat(r),o=this.__P_167_3(r);if(n){var a=i.getData(r),s=a[4];return{src:"b64"==n?i.toDataUri(r):i.toUri(s),style:e="scale-x"===t?this.__P_167_8(e,a,o.height):this.__P_167_9(e,a,o.width)}}"scale-x"==t?e.height=null==o.height?null:o.height+"px":"scale-y"==t&&(e.width=null==o.width?null:o.width+"px");return{src:i.toUri(r),style:e}},__P_167_8(e,t,r){var i=qx.util.ResourceManager.getInstance().getImageHeight(t[4]);e.clip={top:-t[6],height:r};e.height=i+"px";null!=e.top?e.top=parseInt(e.top,10)+t[6]+"px":null!=e.bottom&&(e.bottom=parseInt(e.bottom,10)+r-i-t[6]+"px");return e},__P_167_9(e,t,r){var i=qx.util.ResourceManager.getInstance().getImageWidth(t[4]);e.clip={left:-t[5],width:r};e.width=i+"px";null!=e.left?e.left=parseInt(e.left,10)+t[5]+"px":null!=e.right&&(e.right=parseInt(e.right,10)+r-i-t[5]+"px");return e},__P_167_7(e,t,r){var i=qx.util.ResourceManager.getInstance(),n=i.getCombinedFormat(r),o=this.__P_167_3(r);if(n&&"repeat"!==t){var a=i.getData(r),s=a[4];if("b64"==n)var l=i.toDataUri(r),u=0,c=0;else{l=i.toUri(s),u=a[5],c=a[6];if(e.paddingTop||e.paddingLeft||e.paddingRight||e.paddingBottom){var h=e.paddingTop||0,d=e.paddingLeft||0;u+=e.paddingLeft||0;c+=e.paddingTop||0;e.clip={left:d,top:h,width:o.width,height:o.height}}}var f=qx.bom.element.Background.getStyles(l,t,u,c);for(var _ in f)e[_]=f[_];null==o.width||null!=e.width||"repeat-y"!=t&&"no-repeat"!==t||(e.width=o.width+"px");null==o.height||null!=e.height||"repeat-x"!=t&&"no-repeat"!==t||(e.height=o.height+"px");return{style:e}}h=e.paddingTop||0,d=e.paddingLeft||0;e.backgroundPosition=d+"px "+h+"px";this.__P_167_4(e,o.width,o.height);this.__P_167_10(e,r,t);return{style:e}},__P_167_10(e,t,r){var i=null,n=null;if(e.backgroundPosition){var o=e.backgroundPosition.split(" ");n=parseInt(o[0],10);isNaN(n)&&(n=o[0]);i=parseInt(o[1],10);isNaN(i)&&(i=o[1])}var a=qx.bom.element.Background.getStyles(t,r,n,i);for(var s in a)e[s]=a[s];e.filter&&(e.filter="")},__P_167_11(e){if(this.DEBUG&&qx.util.ResourceManager.getInstance().has(e)&&-1==e.indexOf("qx/icon")&&!this.__P_167_0[e]){qx.log.Logger.debug("Potential clipped image candidate: "+e);this.__P_167_0[e]=!0}}}});qx.bom.element.Decoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.theme.manager.Color":{construct:!0},"qx.bom.client.Engine":{construct:!0,require:!0},"qx.util.ResourceManager":{construct:!0}},environment:{provided:[],required:{"engine.name":{construct:!0,className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Blocker",{extend:qx.html.Element,construct(e,t){var r={position:"absolute",opacity:t||0,backgroundColor:e=e?qx.theme.manager.Color.getInstance().resolve(e):null};if("mshtml"==qx.core.Environment.get("engine.name")){r.backgroundImage="url("+qx.util.ResourceManager.getInstance().toUri("qx/static/blank.gif")+")";r.backgroundRepeat="repeat"}qx.html.Element.constructor.call(this,"div",r);this.addListener("mousedown",this._stopPropagation,this);this.addListener("mouseup",this._stopPropagation,this);this.addListener("click",this._stopPropagation,this);this.addListener("dblclick",this._stopPropagation,this);this.addListener("mousemove",this._stopPropagation,this);this.addListener("mouseover",this._stopPropagation,this);this.addListener("mouseout",this._stopPropagation,this);this.addListener("mousewheel",this._stopPropagation,this);this.addListener("roll",this._stopPropagation,this);this.addListener("contextmenu",this._stopPropagation,this);this.addListener("pointerdown",this._stopPropagation,this);this.addListener("pointerup",this._stopPropagation,this);this.addListener("pointermove",this._stopPropagation,this);this.addListener("pointerover",this._stopPropagation,this);this.addListener("pointerout",this._stopPropagation,this);this.addListener("tap",this._stopPropagation,this);this.addListener("dbltap",this._stopPropagation,this);this.addListener("swipe",this._stopPropagation,this);this.addListener("longtap",this._stopPropagation,this);this.addListener("appear",this.__P_197_0,this);this.addListener("disappear",this.__P_197_0,this)},members:{_stopPropagation(e){e.stopPropagation()},__P_197_0(){var e=this.getStyle("cursor");this.setStyle("cursor",null,!0);this.setStyle("cursor",e,!0)}}});qx.html.Blocker.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.theme.manager.Decoration":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Util",{statics:{PERCENT_VALUE:/[0-9]+(?:\.[0-9]+)?%/,computeFlexOffsets(e,t,r){var i,n,o,a,s,l,u=t>r,c=Math.abs(t-r),h={};for(n in e){i=e[n];h[n]={potential:u?i.max-i.value:i.value-i.min,flex:u?i.flex:1/i.flex,offset:0}}for(;0!=c;){a=1/0;o=0;for(n in h)if((i=h[n]).potential>0){o+=i.flex;a=Math.min(a,i.potential/i.flex)}if(0==o)break;a=Math.min(c,a*o)/o;s=0;for(n in h)if((i=h[n]).potential>0){if((s+=(l=Math.min(c,i.potential,Math.ceil(a*i.flex)))-a*i.flex)>=1){s-=1;l-=1}i.potential-=l;u?i.offset+=l:i.offset-=l;c-=l}}return h},computeHorizontalAlignOffset(e,t,r,i,n){null==i&&(i=0);null==n&&(n=0);var o=0;switch(e){case"left":o=i;break;case"right":o=r-t-n;break;case"center":(o=Math.round((r-t)/2))0&&(t=Math.max(t,o))}return t+r},computeHorizontalGaps(e,t,r){null==t&&(t=0);var i=0;if(r){i+=e[0].getMarginLeft();for(var n=1,o=e.length;nr||n>o)if(t>r&&n>o){t=r;n=o}else if(t>r){n+=t-r;t=r;n>o&&(n=o)}else if(n>o){t+=n-o;n=o;t>r&&(t=r)}return{begin:t,end:n}}}});qx.ui.layout.Util.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.dev.unit.TestFunction":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.dev.unit.AbstractTestSuite",{extend:qx.core.Object,type:"abstract",construct(){qx.core.Object.constructor.call(this);this._tests=[]},members:{_tests:null,addTestFunction(e,t){this._tests.push(new qx.dev.unit.TestFunction(null,e,t))},addTestMethod(e,t){this._tests.push(new qx.dev.unit.TestFunction(e,t))},addFail(e,t){this.addTestFunction(e,(function(){this.fail(t)}))},run(e){for(var t=0;t
":"\n",o=function(e){var t;if(i)t="";else{t="";for(var r=0;ri)a+=o(r)+"*** TOO MUCH RECURSION: not displaying ***"+n;else if("object"==typeof t)for(var s in t)if("object"==typeof t[s])try{if(t[s]instanceof Array)a+=o(r)+s+": Array"+n;else{if(null===t[s]){a+=o(r)+s+": null"+n;continue}if(void 0===t[s]){a+=o(r)+s+": undefined"+n;continue}a+=o(r)+s+": Object"+n}e(t[s],r+1,i)}catch(e){a+=o(r)+s+": EXCEPTION expanding property"+n}else a+=o(r)+s+": "+t[s]+n;else a+=o(r)+t+n}(e,0,r)}catch(e){a+=o(0)+"*** EXCEPTION ("+e+") ***"+n}return a+=o(0)+"============================================================"+n},getFunctionName(e,t){var r=e.self;if(!r)return null;for(;e.wrapper;)e=e.wrapper;switch(t){case"construct":return e==r?"construct":null;case"members":return qx.lang.Object.getKeyFromValue(r,e);case"statics":return qx.lang.Object.getKeyFromValue(r.prototype,e);default:return e==r?"construct":qx.lang.Object.getKeyFromValue(r.prototype,e)||qx.lang.Object.getKeyFromValue(r,e)||null}},debugProperties(e,t,r,i){null==t&&(t=10);null==i&&(i=1);var n="";n=r?"
":"\r\n";var o="";if(qx.lang.Type.isNumber(e)||qx.lang.Type.isString(e)||qx.lang.Type.isBoolean(e)||null==e||t<=0)return e;if(qx.Class.hasInterface(e.constructor,qx.data.IListData)){for(var a=0;at.bindingId===e));if(t>-1){let e=this.__P_67_0[t];qx.lang.Array.removeAt(this.__P_67_0,t);this.__P_67_1(e)}},__P_67_1(e){if(!e.model.isDisposed()&&!e.model.isDisposing())switch(e.bindingType){case"binding":e.model.removeBinding(e.bindingId);break;case"listener":e.model.removeListenerById(e.bindingId);break;case"callback":e.bindingId(e.model);break;default:throw new Error("Invalid binding type"+e.bindingType)}},removeAll(){let e=this.__P_67_0;this.__P_67_0=[];e.forEach((e=>this.__P_67_1(e)));this.fireEvent("removeAll")}}});qxl.datagrid.binding.Bindings.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qx.ui.form.IField":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IStringForm",{extend:qx.ui.form.IField,events:{changeValue:"qx.event.type.Data"},members:{setValue(e){return 1==arguments.length},resetValue(){},getValue(){}}});qx.ui.form.IStringForm.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.form.IStringForm":{require:!0},"qx.locale.Manager":{construct:!0},"qx.bom.client.Css":{require:!0},"qx.bom.client.Html":{require:!0},"qx.html.Label":{},"qx.theme.manager.Color":{},"qx.lang.Type":{},"qx.theme.manager.Font":{},"qx.bom.webfonts.WebFont":{},"qx.ui.core.queue.Layout":{},"qx.bom.Font":{},"qx.bom.Label":{},"qx.lang.Object":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"css.textoverflow":{className:"qx.bom.client.Css"},"html.xul":{className:"qx.bom.client.Html"},"os.name":{className:"qx.bom.client.OperatingSystem"},"engine.name":{className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"},"qx.dynlocale":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.basic.Label",{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm],construct(e){qx.ui.core.Widget.constructor.call(this);null!=e&&this.setValue(e);qx.locale.Manager.getInstance().addListener("changeLocale",this._onChangeLocale,this)},properties:{rich:{check:"Boolean",init:!1,event:"changeRich",apply:"_applyRich"},wrap:{check:"Boolean",init:!0,apply:"_applyWrap"},breakWithinWords:{check:"Boolean",init:!1,apply:"_applyBreakWithinWords"},value:{check:"String",apply:"_applyValue",event:"changeValue",nullable:!0},buddy:{check:"qx.ui.core.Widget",apply:"_applyBuddy",nullable:!0,init:null,dereference:!0},textAlign:{check:["left","center","right","justify"],nullable:!0,themeable:!0,apply:"_applyTextAlign",event:"changeTextAlign"},appearance:{refine:!0,init:"label"},selectable:{refine:!0,init:!1},allowGrowX:{refine:!0,init:!1},allowGrowY:{refine:!0,init:!1},allowShrinkY:{refine:!0,init:!1}},members:{__P_86_0:null,__P_86_1:null,__P_86_2:null,__P_86_3:null,_getContentHint(){if(this.__P_86_1){this.__P_86_4=this.__P_86_5();delete this.__P_86_1}return{width:this.__P_86_4.width,height:this.__P_86_4.height}},_hasHeightForWidth(){return this.getRich()&&this.getWrap()},_applySelectable(e){!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")&&e&&!this.isRich()||qx.ui.basic.Label.superclass.prototype._applySelectable.call(this,e)},_getContentHeightForWidth(e){return this.getRich()||this.getWrap()?this.__P_86_5(e).height:null},_createContentElement:()=>new qx.html.Label,_applyTextAlign(e,t){this.getContentElement().setStyle("textAlign",e)},_applyTextColor(e,t){e?this.getContentElement().setStyle("color",qx.theme.manager.Color.getInstance().resolve(e)):this.getContentElement().removeStyle("color")},__P_86_4:{width:0,height:0},_applyFont(e,t){if(t&&this.__P_86_0&&this.__P_86_3){this.__P_86_0.removeListenerById(this.__P_86_3);this.__P_86_3=null}var r;if(e){qx.lang.Type.isString(e)&&(e=qx.theme.manager.Font.getInstance().resolve(e));this.__P_86_0=e;this.__P_86_0 instanceof qx.bom.webfonts.WebFont&&!this.__P_86_0.isValid()&&(this.__P_86_3=this.__P_86_0.addListener("changeStatus",(e=>{if(e.getData().valid){this.__P_86_1=!0;qx.ui.core.queue.Layout.add(this)}})));r=this.__P_86_0.getStyles()}else{this.__P_86_0=null;r=qx.bom.Font.getDefaultStyles()}null!=this.getTextColor()&&delete r.color;this.getContentElement().setStyles(r);this.__P_86_1=!0;qx.ui.core.queue.Layout.add(this)},__P_86_5(e){var t=qx.bom.Label,r=this.getFont()?this.__P_86_0.getStyles():qx.bom.Font.getDefaultStyles(),i=this.getValue()||"A",n=this.getRich();this.__P_86_3&&this.__P_86_6();n&&this.getBreakWithinWords()&&((r=qx.lang.Object.clone(r)).wordBreak="break-all");return n?t.getHtmlSize(i,r,e):t.getTextSize(i,r)},__P_86_6(){if(this.getContentElement()&&"osx"==qx.core.Environment.get("os.name")&&"gecko"==qx.core.Environment.get("engine.name")&&parseInt(qx.core.Environment.get("engine.version"),10)<16&&parseInt(qx.core.Environment.get("engine.version"),10)>9){var e=this.getContentElement().getDomElement();e&&(e.innerHTML=e.innerHTML)}},_applyBuddy(e,t){if(null!=t){this.removeRelatedBindings(t);this.removeListenerById(this.__P_86_2);this.__P_86_2=null}if(null!=e){e.bind("enabled",this,"enabled");this.__P_86_2=this.addListener("tap",(()=>{e.isFocusable()&&e.focus.apply(e);"toggleValue"in e&&"function"==typeof e.toggleValue&&e.toggleValue()}))}},_applyRich(e){this.getContentElement().setRich(e);this.__P_86_1=!0;qx.ui.core.queue.Layout.add(this)},_applyWrap(e,t){e&&this.isRich();if(this.isRich()){var r=e?"normal":"nowrap";this.getContentElement().setStyle("whiteSpace",r)}},_applyBreakWithinWords(e,t){this.getContentElement().setStyle("wordBreak",this.isRich()&&e?"break-all":"normal")},_onChangeLocale:qx.core.Environment.select("qx.dynlocale",{true(e){var t=this.getValue();t&&t.translate&&this.setValue(t.translate())},false:null}),_applyValue:qx.core.Environment.select("qx.dynlocale",{true(e,t){e&&e.translate?this.getContentElement().setValue(e.translate()):this.getContentElement().setValue(e);this.__P_86_1=!0;qx.ui.core.queue.Layout.add(this)},false(e,t){this.getContentElement().setValue(e);this.__P_86_1=!0;qx.ui.core.queue.Layout.add(this)}})},destruct(){qx.locale.Manager.getInstance().removeListener("changeLocale",this._onChangeLocale,this);this.__P_86_0&&this.__P_86_3&&this.__P_86_0.removeListenerById(this.__P_86_3);this.__P_86_0=null}});qx.ui.basic.Label.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qxl.datagrid.util.Labels":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.demo.biggrid.DummyModel",{extend:qx.core.Object,properties:{rowIndex:{init:0,check:"Integer",event:"changeRowIndex",apply:"__P_68_0"},columnIndex:{init:0,check:"Integer",event:"changeColumnIndex",apply:"__P_68_0"},text:{init:null,nullable:!0,check:"String",event:"changeText",apply:"__P_68_0"},header:{init:!1,check:"Boolean",event:"changeHeader",apply:"__P_68_0"},label:{check:"String",event:"changeLabel"}},members:{__P_68_0(){let e=qxl.datagrid.util.Labels.getColumnLetters(this.getColumnIndex())+this.getRowIndex(),t=(this.getText()||"").trim();t.length&&(e+=" "+t);this.isHeader()&&(e="H:"+e);this.setLabel(e)},toString(){return this.getRowIndex()+":"+this.getColumnIndex()}}});qxl.datagrid.demo.biggrid.DummyModel.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.ui.layout.Fixed",{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true(e,t,r){this.assert("left"==t||"top"==t||"width"==t||"height"==t,"The property '"+t+"' is not supported by the Fixed layout!");this.assertInteger(r)},false:null}),renderLayout(e,t,r){let i=this._getLayoutChildren();for(let e=0,t=i.length;ei&&(i=e);(t=s.height+(s.top||0)+a.getMarginTop()+a.getMarginBottom())>n&&(n=t)}return{width:i,height:n}}}});qxl.datagrid.ui.layout.Fixed.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.util.Batch",{extend:qx.core.Object,construct(e){qx.core.Object.constructor.call(this);this.__P_70_0=e},properties:{enabled:{init:!0,check:"Boolean",event:"changeEnabled"}},members:{__P_70_1:0,__P_70_2:0,suspend(){this.__P_70_1++},resume(){this.__P_70_1--;if(0==this.__P_70_1&&this.__P_70_2>0){this.__P_70_2=0;this.__P_70_0()}},run(){this.isEnabled()&&(this.__P_70_1?this.__P_70_2++:this.__P_70_0())}}});qxl.datagrid.util.Batch.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0},"qx.ui.layout.Util":{},"qx.ui.basic.Label":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Atom",{extend:qx.ui.layout.Abstract,properties:{gap:{check:"Integer",init:4,apply:"_applyLayoutChange"},iconPosition:{check:["left","top","right","bottom","top-left","bottom-left","top-right","bottom-right"],init:"left",apply:"_applyLayoutChange"},center:{check:"Boolean",init:!1,apply:"_applyLayoutChange"}},members:{verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true(e,t,r){this.assert(!1,"The property '"+t+"' is not supported by the Atom layout!")},false:null}),renderLayout(e,t,r){var i,n,o,a=r.left,s=r.top,l=qx.ui.layout.Util,u=this.getIconPosition(),c=this._getLayoutChildren(),h=c.length,d=this.getGap(),f=this.getCenter();if(-1!=["bottom","right","top-right","bottom-right"].indexOf(u))var _=h-1,p=-1,m=-1;else _=0,p=h,m=1;if("top"==u||"bottom"==u){if(f){for(var g=0,v=_;v!=p;v+=m)if((n=c[v].getSizeHint().height)>0){g+=n;v!=_&&(g+=d)}s+=Math.round((t-g)/2)}var b=s;for(v=_;v!=p;v+=m){w=(o=c[v]).getSizeHint();i=Math.min(w.maxWidth,Math.max(e,w.minWidth));n=w.height;a=l.computeHorizontalAlignOffset("center",i,e)+r.left;o.renderLayout(a,b,i,n);n>0&&(b=s+n+d)}}else{var y=e,x=null,q=0;for(v=_;v!=p;v+=m)if((i=(o=c[v]).getSizeHint().width)>0){!x&&o instanceof qx.ui.basic.Label?x=o:y-=i;q++}if(q>1){y-=(q-1)*d}if(x){var w=x.getSizeHint(),P=Math.max(w.minWidth,Math.min(y,w.maxWidth));y-=P}f&&y>0&&(a+=Math.round(y/2));for(v=_;v!=p;v+=m){w=(o=c[v]).getSizeHint();n=Math.min(w.maxHeight,Math.max(t,w.minHeight));i=o===x?P:w.width;var M="middle";"top-left"==u||"top-right"==u?M="top":"bottom-left"!=u&&"bottom-right"!=u||(M="bottom");b=s+l.computeVerticalAlignOffset(M,w.height,t);o.renderLayout(a,b,i,n);i>0&&(a+=i+d)}}},_computeSizeHint(){var e,t=this._getLayoutChildren(),r=t.length;if(1===r){var i;e={width:(i=t[0].getSizeHint()).width,height:i.height,minWidth:i.minWidth,minHeight:i.minHeight}}else{var n=0,o=0,a=0,s=0,l=this.getIconPosition(),u=this.getGap();if("top"===l||"bottom"===l){for(var c=0,h=0;h0){s+=i.height;a+=i.minHeight;c++}}if(c>1){s+=d=(c-1)*u;a+=d}}else{for(c=0,h=0;h0){o+=i.width;n+=i.minWidth;c++}}if(c>1){var d;o+=d=(c-1)*u;n+=d}}e={minWidth:n,width:o,minHeight:a,height:s}}return e}}});qx.ui.layout.Atom.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.basic.Atom":{construct:!0,require:!0},"qx.ui.core.MExecutable":{require:!0},"qx.ui.form.IExecutable":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.Button",{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct(e,t,r){qx.ui.basic.Atom.constructor.call(this,e,t);null!=r&&this.setCommand(r);this.getContentElement().setAttribute("role","button");this.addListener("pointerover",this._onPointerOver);this.addListener("pointerout",this._onPointerOut);this.addListener("pointerdown",this._onPointerDown);this.addListener("pointerup",this._onPointerUp);this.addListenerOnce("appear",(()=>{let e=this.getContentElement().getDomElement();this.addListener("touchstart",(()=>{e.focus()}))}));this.addListener("tap",this._onTap);this.addListener("keydown",this._onKeyDown);this.addListener("keyup",this._onKeyUp);this.addListener("dblclick",(function(e){e.stopPropagation()}))},properties:{appearance:{refine:!0,init:"button"},focusable:{refine:!0,init:!0}},members:{_forwardStates:{focused:!0,hovered:!0,pressed:!0,disabled:!0},press(){this.hasState("abandoned")||this.addState("pressed")},release(){this.hasState("pressed")&&this.removeState("pressed")},reset(){this.removeState("pressed");this.removeState("abandoned");this.removeState("hovered")},_onPointerOver(e){if(this.isEnabled()&&e.getTarget()===this){if(this.hasState("abandoned")){this.removeState("abandoned");this.addState("pressed")}this.addState("hovered")}},_onPointerOut(e){if(this.isEnabled()&&e.getTarget()===this){this.removeState("hovered");if(this.hasState("pressed")){this.removeState("pressed");this.addState("abandoned")}}},_onPointerDown(e){if(e.isLeftPressed()){e.stopPropagation();this.capture();this.removeState("abandoned");this.addState("pressed")}},_onPointerUp(e){this.releaseCapture();var t=this.hasState("pressed"),r=this.hasState("abandoned");t&&this.removeState("pressed");r&&this.removeState("abandoned");e.stopPropagation()},_onTap(e){this.execute();e.stopPropagation()},_onKeyDown(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":this.removeState("abandoned");this.addState("pressed");e.stopPropagation()}},_onKeyUp(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":if(this.hasState("pressed")){this.removeState("abandoned");this.removeState("pressed");this.execute();e.stopPropagation()}}}}});qx.ui.form.Button.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.locale.Manager":{construct:!0}},environment:{provided:[],required:{"qx.dynlocale":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.form.MForm",{construct(){qx.locale.Manager.getInstance().addListener("changeLocale",this.__P_139_0,this)},properties:{valid:{check:"Boolean",init:!0,apply:"_applyValid",event:"changeValid"},required:{check:"Boolean",init:!1,event:"changeRequired"},invalidMessage:{init:null,nullable:!0,check:"String",event:"changeInvalidMessage"},requiredInvalidMessage:{check:"String",nullable:!0,event:"changeRequiredInvalidMessage"}},members:{_applyValid(e,t){e?this.removeState("invalid"):this.addState("invalid")},__P_139_0:qx.core.Environment.select("qx.dynlocale",{true(e){var t=this.getInvalidMessage();t&&t.translate&&this.setInvalidMessage(t.translate());var r=this.getRequiredInvalidMessage();r&&r.translate&&this.setRequiredInvalidMessage(r.translate())},false:null})},destruct(){qx.locale.Manager.getInstance().removeListener("changeLocale",this.__P_139_0,this)}});qx.ui.form.MForm.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.form.MModelProperty",{properties:{model:{nullable:!0,event:"changeModel",apply:"_applyModel",dereference:!0}},members:{_applyModel(e,t){}}});qx.ui.form.MModelProperty.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qx.ui.form.RadioGroup":{}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IRadioItem",{events:{changeValue:"qx.event.type.Data"},members:{setValue(e){},getValue(){},setGroup(e){this.assertInstance(e,qx.ui.form.RadioGroup)},getGroup(){}}});qx.ui.form.IRadioItem.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qx.ui.form.IField":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IBooleanForm",{extend:qx.ui.form.IField,events:{changeValue:"qx.event.type.Data"},members:{setValue(e){return 1==arguments.length},resetValue(){},getValue(){}}});qx.ui.form.IBooleanForm.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IModel",{events:{changeModel:"qx.event.type.Data"},members:{setModel(e){},getModel(){},resetModel(){}}});qx.ui.form.IModel.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Button":{construct:!0,require:!0},"qx.ui.form.MForm":{require:!0},"qx.ui.form.MModelProperty":{require:!0},"qx.ui.form.IRadioItem":{require:!0},"qx.ui.form.IForm":{require:!0},"qx.ui.form.IBooleanForm":{require:!0},"qx.ui.form.IModel":{require:!0},"qx.ui.form.RadioGroup":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.RadioButton",{extend:qx.ui.form.Button,include:[qx.ui.form.MForm,qx.ui.form.MModelProperty],implement:[qx.ui.form.IRadioItem,qx.ui.form.IForm,qx.ui.form.IBooleanForm,qx.ui.form.IModel],construct(e){qx.ui.form.Button.constructor.call(this,e);const t=this.getContentElement();t.setAttribute("role","radio");t.setAttribute("aria-checked",!1);this.addListener("execute",this._onExecute);this.addListener("keypress",this._onKeyPress)},properties:{group:{check:"qx.ui.form.RadioGroup",nullable:!0,apply:"_applyGroup"},value:{check:"Boolean",nullable:!0,event:"changeValue",apply:"_applyValue",init:!1},appearance:{refine:!0,init:"radiobutton"},allowGrowX:{refine:!0,init:!1}},members:{_forwardStates:{checked:!0,focused:!0,invalid:!0,hovered:!0},_bindableProperties:["enabled","label","toolTipText","value","menu"],_applyValue(e,t){e?this.addState("checked"):this.removeState("checked");this.getContentElement().setAttribute("aria-checked",Boolean(e))},_applyGroup(e,t){t&&t.remove(this);e&&e.add(this)},_onExecute(e){var t=this.getGroup();t&&t.getAllowEmptySelection()?this.toggleValue():this.setValue(!0)},_onKeyPress(e){var t=this.getGroup();if(t)switch(e.getKeyIdentifier()){case"Left":case"Up":t.selectPrevious();break;case"Right":case"Down":t.selectNext()}}}});qx.ui.form.RadioButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.RadioButton":{construct:!0,require:!0},"qx.ui.form.IRadioItem":{require:!0},"qx.ui.layout.Grid":{construct:!0},"qx.ui.basic.Label":{},"qx.ui.basic.Image":{},"qx.ui.form.Button":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.tabview.TabButton",{extend:qx.ui.form.RadioButton,implement:qx.ui.form.IRadioItem,construct(){qx.ui.form.RadioButton.constructor.call(this);var e=new qx.ui.layout.Grid(2,0);e.setRowAlign(0,"left","middle");e.setColumnAlign(0,"right","middle");this._getLayout().dispose();this._setLayout(e);this.initShowCloseButton()},events:{close:"qx.event.type.Data"},properties:{showCloseButton:{check:"Boolean",init:!1,apply:"_applyShowCloseButton"}},members:{_forwardStates:{focused:!0,checked:!0},_applyIconPosition(e,t){var r={icon:this.getChildControl("icon"),label:this.getChildControl("label"),closeButton:this.getShowCloseButton()?this.getChildControl("close-button"):null};for(var i in r)r[i]&&this._remove(r[i]);switch(e){case"top":this._add(r.label,{row:3,column:2});this._add(r.icon,{row:1,column:2});r.closeButton&&this._add(r.closeButton,{row:0,column:4});break;case"bottom":this._add(r.label,{row:1,column:2});this._add(r.icon,{row:3,column:2});r.closeButton&&this._add(r.closeButton,{row:0,column:4});break;case"left":this._add(r.label,{row:0,column:2});this._add(r.icon,{row:0,column:0});r.closeButton&&this._add(r.closeButton,{row:0,column:4});break;case"right":this._add(r.label,{row:0,column:0});this._add(r.icon,{row:0,column:2});r.closeButton&&this._add(r.closeButton,{row:0,column:4})}},_createChildControlImpl(e,t){switch(e){case"label":var r;(r=new qx.ui.basic.Label(this.getLabel())).setAnonymous(!0);this._add(r,{row:0,column:2});this._getLayout().setColumnFlex(2,1);break;case"icon":(r=new qx.ui.basic.Image(this.getIcon())).setAnonymous(!0);this._add(r,{row:0,column:0});break;case"close-button":(r=new qx.ui.form.Button).setFocusable(!1);r.setKeepActive(!0);r.addListener("tap",this._onCloseButtonTap,this);this._add(r,{row:0,column:4});this.getShowCloseButton()||r.exclude()}return r||qx.ui.tabview.TabButton.superclass.prototype._createChildControlImpl.call(this,e)},_onCloseButtonTap(){this.fireDataEvent("close",this)},_applyShowCloseButton(e,t){e?this._showChildControl("close-button"):this._excludeChildControl("close-button")},_applyCenter(e){var t=this._getLayout();e?t.setColumnAlign(2,"center","middle"):t.setColumnAlign(2,"left","middle")}}});qx.ui.tabview.TabButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Button":{construct:!0,require:!0},"qx.event.AcceleratingTimer":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.RepeatButton",{extend:qx.ui.form.Button,construct(e,t){qx.ui.form.Button.constructor.call(this,e,t);this.__P_124_0=new qx.event.AcceleratingTimer;this.__P_124_0.addListener("interval",this._onInterval,this)},events:{execute:"qx.event.type.Event",press:"qx.event.type.Event",release:"qx.event.type.Event"},properties:{interval:{check:"Integer",init:100},firstInterval:{check:"Integer",init:500},minTimer:{check:"Integer",init:20},timerDecrease:{check:"Integer",init:2}},members:{__P_124_1:null,__P_124_0:null,press(){if(this.isEnabled()){this.hasState("pressed")||this.__P_124_2();this.removeState("abandoned");this.addState("pressed")}},release(e){if(this.isEnabled()){this.hasState("pressed")&&(this.__P_124_1||this.execute());this.removeState("pressed");this.removeState("abandoned");this.__P_124_3()}},_applyEnabled(e,t){qx.ui.form.RepeatButton.superclass.prototype._applyEnabled.call(this,e,t);if(!e){this.isCapturing()&&this.releaseCapture();this.removeState("pressed");this.removeState("abandoned");this.__P_124_3()}},_onPointerOver(e){if(this.isEnabled()&&e.getTarget()===this){if(this.hasState("abandoned")){this.removeState("abandoned");this.addState("pressed");this.__P_124_0.start()}this.addState("hovered")}},_onPointerOut(e){if(this.isEnabled()&&e.getTarget()===this){this.removeState("hovered");if(this.hasState("pressed")){this.removeState("pressed");this.addState("abandoned");this.__P_124_0.stop()}}},_onPointerDown(e){if(e.isLeftPressed()){this.capture();this.__P_124_2();e.stopPropagation()}},_onPointerUp(e){this.releaseCapture();if(!this.hasState("abandoned")){this.addState("hovered");this.hasState("pressed")&&!this.__P_124_1&&this.execute()}this.__P_124_3();e.stopPropagation()},_onTap(e){},_onKeyUp(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":if(this.hasState("pressed")){this.__P_124_1||this.execute();this.removeState("pressed");this.removeState("abandoned");e.stopPropagation();this.__P_124_3()}}},_onKeyDown(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":this.removeState("abandoned");this.addState("pressed");e.stopPropagation();this.__P_124_2()}},_onInterval(e){this.__P_124_1=!0;this.fireEvent("execute")},__P_124_2(){this.fireEvent("press");this.__P_124_1=!1;this.__P_124_0.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();this.removeState("abandoned");this.addState("pressed")},__P_124_3(){this.fireEvent("release");this.__P_124_0.stop();this.removeState("abandoned");this.removeState("pressed")}},destruct(){this._disposeObjects("__P_124_0")}});qx.ui.form.RepeatButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.layout.Grow":{construct:!0},"qx.bom.AnimationFrame":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.scroll.ScrollPane",{extend:qx.ui.core.Widget,construct(){qx.ui.core.Widget.constructor.call(this);this.set({minWidth:0,minHeight:0});this._setLayout(new qx.ui.layout.Grow);this.addListener("resize",this._onUpdate);var e=this.getContentElement();e.addListener("scroll",this._onScroll,this);e.addListener("appear",this._onAppear,this)},events:{update:"qx.event.type.Event",scrollAnimationEnd:"qx.event.type.Event"},properties:{scrollX:{check:"qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxX()",apply:"_applyScrollX",transform:"_transformScrollX",event:"scrollX",init:0},scrollY:{check:"qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxY()",apply:"_applyScrollY",transform:"_transformScrollY",event:"scrollY",init:0}},members:{__P_125_0:null,add(e){var t=this._getChildren()[0];if(t){this._remove(t);t.removeListener("resize",this._onUpdate,this)}if(e){this._add(e);e.addListener("resize",this._onUpdate,this)}},remove(e){if(e){this._remove(e);e.removeListener("resize",this._onUpdate,this)}},getChildren(){return this._getChildren()},_onUpdate(e){this.fireEvent("update")},_onScroll(e){var t=this.getContentElement();this.setScrollX(t.getScrollX());this.setScrollY(t.getScrollY())},_onAppear(e){var t=this.getContentElement(),r=this.getScrollX();r!=t.getScrollX()&&t.scrollToX(r);var i=this.getScrollY();i!=t.getScrollY()&&t.scrollToY(i)},getItemTop(e){var t=0;do{t+=e.getBounds().top;e=e.getLayoutParent()}while(e&&e!==this);return t},getItemBottom(e){return this.getItemTop(e)+e.getBounds().height},getItemLeft(e){var t,r=0;do{r+=e.getBounds().left;(t=e.getLayoutParent())&&(r+=t.getInsets().left);e=t}while(e&&e!==this);return r},getItemRight(e){return this.getItemLeft(e)+e.getBounds().width},getScrollSize(){return this.getChildren()[0].getBounds()},getScrollMaxX(){var e=this.getInnerSize(),t=this.getScrollSize();return e&&t?Math.max(0,t.width-e.width):0},getScrollMaxY(){var e=this.getInnerSize(),t=this.getScrollSize();return e&&t?Math.max(0,t.height-e.height):0},scrollToX(e,t){var r=this.getScrollMaxX();e<0?e=0:e>r&&(e=r);this.stopScrollAnimation();if(t){var i=this.getScrollX();this.__P_125_0=new qx.bom.AnimationFrame;this.__P_125_0.on("end",(function(){this.setScrollX(e);this.__P_125_0=null;this.fireEvent("scrollAnimationEnd")}),this);this.__P_125_0.on("frame",(function(r){var n=parseInt(r/t*(e-i)+i);this.setScrollX(n)}),this);this.__P_125_0.startSequence(t)}else this.setScrollX(e)},scrollToY(e,t){var r=this.getScrollMaxY();e<0?e=0:e>r&&(e=r);this.stopScrollAnimation();if(t){var i=this.getScrollY();this.__P_125_0=new qx.bom.AnimationFrame;this.__P_125_0.on("end",(function(){this.setScrollY(e);this.__P_125_0=null;this.fireEvent("scrollAnimationEnd")}),this);this.__P_125_0.on("frame",(function(r){var n=parseInt(r/t*(e-i)+i);this.setScrollY(n)}),this);this.__P_125_0.startSequence(t)}else this.setScrollY(e)},scrollByX(e,t){this.scrollToX(this.getScrollX()+e,t)},scrollByY(e,t){this.scrollToY(this.getScrollY()+e,t)},stopScrollAnimation(){if(this.__P_125_0){this.__P_125_0.cancelSequence();this.__P_125_0=null}},_applyScrollX(e){this.getContentElement().scrollToX(e)},_transformScrollX:e=>Math.round(e),_applyScrollY(e){this.getContentElement().scrollToY(e)},_transformScrollY:e=>Math.round(e)}});qx.ui.core.scroll.ScrollPane.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.SingleSelectionManager",{extend:qx.core.Object,construct(e){qx.core.Object.constructor.call(this);this.__P_169_0=e},events:{changeSelected:"qx.event.type.Data"},properties:{allowEmptySelection:{check:"Boolean",init:!0,apply:"__P_169_1"}},members:{__P_169_2:null,__P_169_0:null,getSelected(){return this.__P_169_2},setSelected(e){if(!this.__P_169_3(e))throw new Error("Could not select "+e+", because it is not a child element!");this.__P_169_4(e)},resetSelected(){this.__P_169_4(null)},isSelected(e){if(!this.__P_169_3(e))throw new Error("Could not check if "+e+" is selected, because it is not a child element!");return this.__P_169_2===e},isSelectionEmpty(){return null==this.__P_169_2},getSelectables(e){for(var t=this.__P_169_0.getItems(),r=[],i=0;i=0;i--)r[i].getEnabled()||r.splice(i,1);return r},__P_169_1(e,t){e||this.__P_169_4(this.__P_169_2)},__P_169_4(e){var t=this.__P_169_2,r=e;if(null==r||t!==r){if(!this.isAllowEmptySelection()&&null==r){var i=this.getSelectables(!0)[0];i&&(r=i)}this.__P_169_2=r;this.fireDataEvent("changeSelected",r,t)}},__P_169_3(e){for(var t=this.__P_169_0.getItems(),r=0;r=0;t--)e.removeItem(e.key(t))},getKey(e){return this.getStorage(this.__P_76_2).key(e)},forEach(e,t){for(var r=this.getLength(),i=0;i!0,makeAvailable:async e=>!0,getModelForPosition(e){return e.getRow()<0||e.getRow()>=this.getModel().getLength()?null:this.getModel().getItem(e.getRow())},getPositionOfModel(e){let t=this.getModel().indexOf(e);return new qxl.datagrid.source.Position(t,0)},getSize(){if(!this.getModel())return new qxl.datagrid.source.Position(0,0);return new qxl.datagrid.source.Position(this.getModel().getLength(),this.getColumns().getLength())}}});qxl.datagrid.source.ArrayDataSource.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qxl.datagrid.ui.IWidgetSizeSource",{members:{getWidgetSize(e,t){},getDataSourceSize(){}}});qxl.datagrid.ui.IWidgetSizeSource.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{usage:"dynamic",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.ui.core.scroll.ScrollBar":{}},environment:{provided:["qx.nativeScrollBars"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.core.Environment.add("qx.nativeScrollBars",!1);qx.Mixin.define("qx.ui.core.scroll.MScrollBarFactory",{members:{_createScrollBar:e=>new qx.ui.core.scroll.ScrollBar(e)}});qx.ui.core.scroll.MScrollBarFactory.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Scroll":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.Event":{require:!0}},environment:{provided:["os.scrollBarOverlayed","qx.mobile.nativescroll"],required:{"os.name":{className:"qx.bom.client.OperatingSystem"},"browser.version":{className:"qx.bom.client.Browser"},"browser.name":{className:"qx.bom.client.Browser"},"os.version":{className:"qx.bom.client.OperatingSystem"},"event.mspointer":{className:"qx.bom.client.Event"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.Scroll",{statics:{scrollBarOverlayed(){var e=qx.bom.element.Scroll.getScrollbarWidth(),t="osx"===qx.bom.client.OperatingSystem.getName();return 0===e&&t&&!1},getNativeScroll(){if("ios"==qx.core.Environment.get("os.name")&&parseInt(qx.core.Environment.get("browser.version"),10)>7)return!0;if("firefox"==qx.core.Environment.get("browser.name"))return!0;if("android"==qx.core.Environment.get("os.name")){var e=qx.core.Environment.get("os.version").split(".");if(e[0]>4||e.length>1&&e[0]>3&&e[1]>3)return!0}return!!qx.core.Environment.get("event.mspointer")}},defer(e){qx.core.Environment.add("os.scrollBarOverlayed",e.scrollBarOverlayed);qx.core.Environment.add("qx.mobile.nativescroll",e.getNativeScroll)}});qx.bom.client.Scroll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qxl.datagrid.ui.IWidgetSizeSource":{require:!0},"qx.ui.core.scroll.MScrollBarFactory":{require:!0},"qxl.datagrid.util.Debounce":{construct:!0},"qxl.datagrid.ui.SelectionManager":{construct:!0},"qxl.datagrid.ui.GridStyling":{construct:!0},"qxl.datagrid.ui.GridSizeCalculator":{construct:!0},"qx.bom.client.Scroll":{construct:!0,require:!0},"qx.ui.layout.Canvas":{construct:!0},"qx.ui.core.scroll.AbstractScrollArea":{construct:!0},"qx.ui.layout.Grid":{construct:!0},"qxl.datagrid.column.IColumns":{},"qxl.datagrid.source.IDataSource":{},"qx.ui.container.Composite":{},"qx.ui.layout.VBox":{},"qxl.datagrid.ui.layout.Layered":{},"qxl.datagrid.ui.OddEvenRowBackgrounds":{},"qxl.datagrid.ui.factory.SimpleWidgetFactory":{},"qxl.datagrid.ui.WidgetPane":{},"qxl.datagrid.ui.factory.HeaderWidgetFactory":{},"qxl.datagrid.ui.HeaderRows":{},"qxl.datagrid.util.Math":{}},environment:{provided:[],required:{"os.scrollBarOverlayed":{construct:!0,className:"qx.bom.client.Scroll"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.DataGrid",{extend:qx.ui.core.Widget,implement:[qxl.datagrid.ui.IWidgetSizeSource],include:[qx.ui.core.scroll.MScrollBarFactory],construct(e,t){qx.ui.core.Widget.constructor.call(this);this.__P_81_0=new qxl.datagrid.util.Debounce((()=>this.updateWidgets()),50);this.__P_81_1=new qxl.datagrid.ui.SelectionManager;this.__P_81_1.addListener("changeSelection",(e=>{this.scheduleUpdateWidgets();this.fireDataEvent("changeSelection",e.getData())}));e=e||null;t=t||new qxl.datagrid.ui.GridStyling;this.__P_81_2=new qxl.datagrid.ui.GridSizeCalculator(e,t,this);e&&this.setColumns(e);this.getQxObject("widgetPane").addListener("modelDoubleTap",(e=>this.fireDataEvent("modelDoubleTap",e.getData())));if(qx.core.Environment.get("os.scrollBarOverlayed")){this._setLayout(new qx.ui.layout.Canvas);this._add(this.getQxObject("dataPane"),{edge:0});let e=this.getChildControl("scrollbar-x");e.setMinHeight(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(e,{bottom:0,right:0,left:0});e=this.getChildControl("scrollbar-y");e.setMinWidth(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(e,{right:0,bottom:0,top:0})}else{var r=new qx.ui.layout.Grid;r.setColumnFlex(0,1);r.setRowFlex(0,1);this._setLayout(r);this._add(this.getQxObject("dataPane"),{row:0,column:0});this._add(this.getChildControl("scrollbar-x"),{row:1,column:0});this._add(this.getChildControl("scrollbar-y"),{row:0,column:1});this._add(this.getChildControl("corner"),{row:1,column:1})}var i=2*qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH+14;this.set({minHeight:i,minWidth:i});this._addRollHandling()},properties:{columns:{init:null,nullable:!0,check:"qxl.datagrid.column.IColumns",apply:"_applyColumns",event:"changeColumns"},dataSource:{init:null,check:"qxl.datagrid.source.IDataSource",apply:"_applyDataSource",event:"changeDataSource"},startRowIndex:{init:0,check:"Integer",apply:"_applyStartRowIndex",event:"changeStartRowIndex"},startColumnIndex:{init:0,check:"Integer",apply:"_applyStartColumnIndex",event:"changeStartColumnIndex"},appearance:{init:"qxl-datagrid",refine:!0},scrollbarX:{check:["auto","on","off"],init:"auto",themeable:!0,apply:"_computeScrollbars"},scrollbarY:{check:["auto","on","off"],init:"auto",themeable:!0,apply:"_computeScrollbars"},scrollbar:{group:["scrollbarX","scrollbarY"]},readOnly:{init:!1,check:"Boolean",event:"changeReadOnly"},dynamicSizing:{init:"none",check:["rows","columns","both","none"],event:"changeDynamicSizing"}},objects:{dataPane(){var e=new qx.ui.container.Composite(new qx.ui.layout.VBox);e.add(this.getQxObject("header"));var t=new qx.ui.container.Composite(new qxl.datagrid.ui.layout.Layered);t.add(this.getQxObject("widgetPane"),{layer:0});t.add(this.getQxObject("oddEvenRows"),{layer:1});e.add(t,{flex:1});return e},oddEvenRows(){return new qxl.datagrid.ui.OddEvenRowBackgrounds(this.__P_81_2,this.getDataSource(),this.__P_81_1)},paneWidgetFactory(){return new qxl.datagrid.ui.factory.SimpleWidgetFactory(this.getColumns())},widgetPane(){return new qxl.datagrid.ui.WidgetPane(this.__P_81_2,this.getQxObject("paneWidgetFactory"),this.getDataSource(),this.__P_81_1)},headerWidgetFactory(){return new qxl.datagrid.ui.factory.HeaderWidgetFactory(this.getColumns())},header(){return new qxl.datagrid.ui.HeaderRows(this.__P_81_2,this.getQxObject("headerWidgetFactory"))}},events:{changeSelection:"qx.event.type.Data",modelDoubleTap:"qx.event.type.Data"},members:{__P_81_3:!1,__P_81_4:!1,__P_81_5:!1,__P_81_2:null,__P_81_6:null,__P_81_0:null,__P_81_1:null,__P_81_7:null,_applyColumns(e,t){if(t){t.removeListener("change",this.__P_81_8,this);for(let e of t)e.setDataGrid(null)}if(e){for(let t of e)t.setDataGrid(this);e.addListener("change",this.__P_81_8,this)}this.__P_81_2.setColumns(e);this.getQxObject("headerWidgetFactory").setColumns(e);this.getQxObject("paneWidgetFactory").setColumns(e);this.updateWidgets()},__P_81_8(e){let t=e.getData();"remove"==t.type&&t.column.setDataGrid(null);"add"==t.type&&t.column.setDataGrid(this);this.scheduleLayoutUpdate()},_applyDataSource(e,t){t&&t.removeListener("changeSize",this.__P_81_9,this);this.__P_81_1.resetSelection();["headerWidgetFactory","paneWidgetFactory","widgetPane","oddEvenRows"].forEach((t=>this.getQxObject(t).setDataSource(e)));this.__P_81_1.setDataSource(e);this.updateWidgets();e&&e.addListener("changeSize",this.__P_81_9,this)},_applyStartRowIndex(e,t){this.__P_81_3=!0;this.updateWidgets();this.__P_81_3=!1},_applyStartColumnIndex(e,t){this.__P_81_4=!0;this.updateWidgets();this.__P_81_4=!1},__P_81_9(){this.getQxObject("widgetPane").invalidateAll();this.__P_81_2.invalidate();this.updateWidgets()},_addRollHandling(){this.addListener("roll",this._onRoll,this);this.addListener("pointerdown",this._onPointerDownForRoll,this)},_removeRollHandling(){this.removeListener("roll",this._onRoll,this);this.removeListener("pointerdown",this._onPointerDownForRoll,this)},_onPointerDownForRoll(e){this.__P_81_7=e.getPointerId()},_onRoll(e){e.stop();if("mouse"==e.getPointerType())return;if(this.__P_81_7&&e.getMomentum()){e.stopMomentum();this.__P_81_7=null;return}let t=this.getDataSourceSize().getRow();var r=this.getStartRowIndex()+Math.floor(.08*e.getDelta().y);let i=this.getMaxRows();r=qxl.datagrid.util.Math.clamp(0,Math.max(0,t-i),r);this.setStartRowIndex(r)},getMaxRows(){var e;const t=this.__P_81_2.getStyling();return Math.floor(this.getQxObject("oddEvenRows").getBounds().height/(null!==(e=t.getMaxRowHeight())&&void 0!==e?e:t.getMinRowHeight()))-4},scrollToSelection(){let e=this.getSelection().getLength()?this.getSelection().getItem(0):null;if(!e)throw new Error("Nothing is selected");let t=this.getDataSource().getPositionOfModel(e).getRow(),r=this.getMaxRows(),i=this.getStartRowIndex();t>=i&&t<=i+r-1||this.setStartRowIndex(Math.max(0,t-Math.floor(r/2)))},__P_81_10(e){let t=this._isChildControlVisible("scrollbar-x"),r=this._isChildControlVisible("scrollbar-y");"x"==e?t||this.scrollToX(0):r||this.scrollToY(0);t&&r?this._showChildControl("corner"):this._excludeChildControl("corner")},scrollToX(e){},scrollToY(e){},_computeScrollbars(){if(this.__P_81_5)return;this.__P_81_5=!0;let e=this.__P_81_2.getSizes();if(!e){this.__P_81_5=!1;return}const t=(e,t,r,i,n,o)=>{if("off"===e||"auto"==e&&r>=i)t.setVisibility("excluded");else{t.setVisibility("visible");let e;e=-1==n||r>i-n?100:0==n?0:qxl.datagrid.util.Math.clamp(0,100,o());t.set({position:e})}};let r=this.getDataSource().getSize(),i=this.getColumns(),n=this.getChildControl("scrollbar-x"),o=this.getScrollbarX(),a=i.getLength(),s=this.getStartColumnIndex();t(o,n,e.columns.length,a,s,(()=>Math.floor(s/(a+1)*100)));let l=this.getChildControl("scrollbar-y"),u=this.getScrollbarY(),c=r.getRow()+this.getStyling().getNumHeaderRows(),h=this.getStartRowIndex();t(u,l,e.rows.length,c,h,(()=>Math.floor(qxl.datagrid.util.Math.interpolate(0,Math.max(0,r.getRow()-this.getMaxRows()),0,100,this.getStartRowIndex()))));this.__P_81_5=!1},_createChildControlImpl(e){switch(e){case"scrollbar-x":(t=this._createScrollBar("horizontal").set({minWidth:0,maximum:100})).exclude();t.addListener("scroll",(e=>{if(this.__P_81_3||this.__P_81_5)return;let t=e.getData(),r=this.getDataSource().getSize();if(100==t)this.setStartColumnIndex(-1);else{let e=Math.round(r.getColumn()*(t/100));this.setStartColumnIndex(e)}}));t.addListener("changeVisibility",(()=>this.__P_81_10("x")));return t;case"scrollbar-y":(t=this._createScrollBar("vertical").set({minHeight:0,maximum:100})).exclude();t.addListener("scroll",(e=>{if(this.__P_81_3||this.__P_81_5)return;let t=e.getData(),r=this.getDataSource().getSize().getRow();const i=Math.floor(qxl.datagrid.util.Math.interpolate(0,100,0,Math.max(0,r-this.getMaxRows()),t));this.setStartRowIndex(i)}));t.addListener("changeVisibility",(()=>this.__P_81_10("y")));return t;case"corner":var t;(t=new qx.ui.core.Widget).setWidth(0);t.setHeight(0);t.exclude();return t}return qxl.datagrid.DataGrid.superclass.prototype._createChildControlImpl.call(this,e)},updateWidgets(){if(this.__P_81_6)return;this.getQxObject("header").updateWidgets();this.getQxObject("oddEvenRows").updateWidgets();const e=()=>{this._computeScrollbars();this.scheduleLayoutUpdate();this.__P_81_6=null};let t=this.getQxObject("widgetPane").updateWidgets();t?this.__P_81_6=t.then(e):e()},scheduleUpdateWidgets(){return this.__P_81_0.run()},getWidgetSize(e,t){let r=this.__P_81_2.getStyling(),i=r.getMinRowHeight(),n=r.getMaxRowHeight(),o=r.getMinColumnWidth(),a=r.getMaxColumnWidth(),s=null,l=null,u=this.getQxObject("widgetPane").getChildAtPosition(e,t);if(e<0)l=r.getHeaderRowHeight();else{let e=this.getDynamicSizing();if("rows"===e||"both"===e){var c;l=null==u||null===(c=u.getSizeHint())||void 0===c?void 0:c.height}if("columns"===e||"both"===e){var h;s=null==u||null===(h=u.getSizeHint())||void 0===h?void 0:h.width}}const d={minWidth:o,width:s,maxWidth:a,minHeight:i,height:l,maxHeight:n};null==u||u.setUserData("qxl.datagrid.lastSize",d);return d},renderLayout(e,t,r,i){const n=this.getQxObject("widgetPane").getPaddingLeft(),o=this.getQxObject("widgetPane").getPaddingTop();let a=this.__P_81_2.setAvailableSize(r-this.getChildControl("scrollbar-y").getSizeHint().width-n-this.getQxObject("widgetPane").getPaddingRight(),i,this.getStartRowIndex(),this.getStartColumnIndex(),n,o);const s=this.getDynamicSizing(),l="rows"===s||"both"===s,u="columns"===s||"both"===s;if(!a&&(l||u))for(const e of this.getQxObject("widgetPane").getLayoutChildren()){const t=e.getSizeHint(),r=e.getUserData("qxl.datagrid.lastSize");if(t){if(l){var c,h,d,f;const e=(null!==(c=null==r?void 0:r.height)&&void 0!==c?c:1/0)>(null!==(h=t.maxHeight)&&void 0!==h?h:1/0),i=(null!==(d=null==r?void 0:r.height)&&void 0!==d?d:-1/0)<(null!==(f=t.minHeight)&&void 0!==f?f:0);if(e||i){a=!0;this.__P_81_2.invalidate();break}}if(u){var _,p,m,g;const e=(null!==(_=null==r?void 0:r.width)&&void 0!==_?_:1/0)>(null!==(p=t.maxWidth)&&void 0!==p?p:1/0),i=(null!==(m=null==r?void 0:r.width)&&void 0!==m?m:-1/0)<(null!==(g=t.minWidth)&&void 0!==g?g:0);if(e||i){a=!0;this.__P_81_2.invalidate();break}}}}qxl.datagrid.DataGrid.superclass.prototype.renderLayout.call(this,e,t,r,i);a&&this.updateWidgets()},_computeSizeHint(){var e=this.getMinWidth()||0,t=this.getMinHeight()||0,r=this.getWidth()||e,i=this.getHeight()||t;return{minWidth:e,width:r,maxWidth:this.getMaxWidth()||1/0,minHeight:t,height:i,maxHeight:this.getMaxHeight()||1/0}},getSelection(){return this.__P_81_1.getSelection()},setSelection(e){this.__P_81_1.setSelection(e)},resetSelection(){this.__P_81_1.resetSelection()},getSelectionManager(){return this.__P_81_1},getSizeCalculator(){return this.__P_81_2},getStyling(){return this.__P_81_2.getStyling()},getDataSourceSize(){return this.getDataSource().getSize()}}});qxl.datagrid.DataGrid.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.column.Column":{construct:!0,require:!0},"qx.util.format.DateFormat":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.DateColumn",{extend:qxl.datagrid.column.Column,properties:{dateFormat:{init:null,check:"qx.util.format.DateFormat",event:"changeDateFormat"}},construct(){qxl.datagrid.column.Column.constructor.call(this);this.setBindingOptions(((e,t)=>({converter:(e,t,r,i)=>{if(!e)return"";let n=this.getDateFormat()||qx.util.format.DateFormat.getDateInstance();"string"==typeof e&&(e=new Date(Date.parse(e)));return n.format(e)}})))}});qxl.datagrid.column.DateColumn.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.demo.array.DummyModel",{extend:qx.core.Object,construct(){qx.core.Object.constructor.call(this);this.set({title:this._randomTitle(),author:this._randomAuthor(),date:this._randomDate()})},properties:{title:{nullable:!1,check:"String",event:"changeTitle"},author:{nullable:!1,check:"String",event:"changeAuthor"},date:{nullable:!1,check:"Date",event:"changeDate"}},members:{_randomNoun(){const e=["Cat","Dog","Mouse","Horse","Cow","Pig","Chicken","Duck","Goose","Sheep","Goat","Rabbit","Hamster","Gerbil","Rat","Parrot","Cockatoo","Canary","Finch","Goldfish","Tropical Fish","Frog","Toad","Newt","Salamander","Lizard","Snake","Turtle","Tortoise","Crocodile","Alligator","Dinosaur","Pterodactyl","Tyrannosaurus Rex","Robin","Blue Jay","Sparrow","Owl","Eagle","Hawk","Falcon","Vulture","Penguin"];return e[Math.floor(Math.random()*e.length)]},_randomTitle(){const e=this._randomNoun(),t=this._randomNoun();return[`The ${e} and The ${t}`,`The ${e}'s ${t}`,`The ${e}`][Math.floor(3*Math.random())]},_randomSurname(){const e=["Smith","Johnson","Williams","Brown","Jones","Miller","Davis","Garcia","Rodriguez","Wilson","Martinez","Anderson","Taylor","Thomas"];return e[Math.floor(Math.random()*e.length)]},_randomAuthor(){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(26*Math.random())],t=this._randomSurname();return`${["Mr","Mrs","Dr","Prof"][Math.floor(4*Math.random())]} ${e}. ${t}`},_randomDate(){const e=new Date;return new Date(e.getTime()-Math.floor(15*Math.random()*365*24*60*60*1e3))}}});qxl.datagrid.demo.array.DummyModel.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.source.tree.NodeInspector":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.demo.tree.TreeDemoNodeInspector",{extend:qxl.datagrid.source.tree.NodeInspector,members:{canHaveChildren:e=>"directory"==e.getType()}});qxl.datagrid.demo.tree.TreeDemoNodeInspector.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MChildrenHandling":{require:!0},"qx.ui.layout.HBox":{construct:!0},"qx.ui.menu.Menu":{},"qx.util.PropertyUtil":{},"qx.ui.core.Spacer":{},"qx.ui.toolbar.Separator":{},"qx.ui.menubar.Button":{},"qx.ui.toolbar.Part":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.ToolBar",{extend:qx.ui.core.Widget,include:qx.ui.core.MChildrenHandling,construct(e){qx.ui.core.Widget.constructor.call(this);this.getContentElement().setAttribute("role","toolbar");this._setLayout(e||new qx.ui.layout.HBox);this.__P_82_0=[];this.__P_82_1=[]},properties:{appearance:{refine:!0,init:"toolbar"},openMenu:{check:"qx.ui.menu.Menu",event:"changeOpenMenu",nullable:!0},show:{init:"both",check:["both","label","icon"],inheritable:!0,apply:"_applyShow",event:"changeShow"},spacing:{nullable:!0,check:"Integer",themeable:!0,apply:"_applySpacing"},overflowIndicator:{check:"qx.ui.core.Widget",nullable:!0,apply:"_applyOverflowIndicator"},overflowHandling:{init:!1,check:"Boolean",apply:"_applyOverflowHandling"}},events:{hideItem:"qx.event.type.Data",showItem:"qx.event.type.Data"},members:{__P_82_0:null,__P_82_1:null,_computeSizeHint(){var e=qx.ui.toolbar.ToolBar.superclass.prototype._computeSizeHint.call(this);if(this.getOverflowHandling()){var t=0,r=this.getOverflowIndicator();r&&(t=r.getSizeHint().width+this.getSpacing());e.minWidth=t}return e},_onResize(e){this._recalculateOverflow(e.getData().width)},_recalculateOverflow(e,t){if(this.getOverflowHandling()){t=t||this.getSizeHint().width;var r=this.getOverflowIndicator(),i=0;r&&(i=r.getSizeHint().width);null==e&&null!=this.getBounds()&&(e=this.getBounds().width);if(null!=e)if(ee);else if(this.__P_82_0.length>0)do{var l=this.__P_82_0[0];if(l){o=l.getMarginLeft()+l.getMarginRight();o=Math.max(o,this.getSpacing());if(null==l.getContentElement().getDomElement()){l.syncAppearance();l.invalidateLayoutCache()}var u=l.getSizeHint().width,c=!1;if(1==this.__P_82_0.length&&i>0){c=e>t-i+u+(o-this.getSpacing())}if(!(e>t+u+o||c))return;this.__P_82_3(l);t+=u;r&&0==this.__P_82_0.length&&r.setVisibility("excluded")}}while(e>=t&&this.__P_82_0.length>0)}},__P_82_3(e){e.setVisibility("visible");this.__P_82_0.shift();this.fireDataEvent("showItem",e)},__P_82_2(e){if(e){this.__P_82_0.unshift(e);e.setVisibility("excluded");this.fireDataEvent("hideItem",e)}},_getNextToHide(){for(var e=this.__P_82_1.length-1;e>=0;e--){var t=this.__P_82_1[e];if(t&&t.getVisibility&&"visible"==t.getVisibility())return t}var r=this._getChildren();for(e=r.length-1;e>=0;e--){var i=r[e];if(i!=this.getOverflowIndicator()&&(i.getVisibility&&"visible"==i.getVisibility()))return i}},setRemovePriority(e,t,r){if(!r&&null!=this.__P_82_1[t])throw new Error("Priority already in use!");this.__P_82_1[t]=e},_applyOverflowHandling(e,t){this.invalidateLayoutCache();var r=this.getLayoutParent();r&&r.invalidateLayoutCache();var i=this.getBounds();i&&i.width&&this._recalculateOverflow(i.width);if(e)this.addListener("resize",this._onResize,this);else{this.removeListener("resize",this._onResize,this);var n=this.getOverflowIndicator();n&&n.setVisibility("excluded");for(var o=0;o{var n=new qx.io.request.Xhr(r);i&&n.set(i);n.addListener("success",(t=>{let r=n.getResponseText();n.dispose();e(r)}));n.addListener("fail",(()=>{n.dispose();t()}));n.send()})));var r,i;t=JSON.parse(t);const n=e=>{let t=(new qxl.datagrid.demo.tree.TreeDemoFileNode).set({name:e.name,permissions:e.permissions,lastModified:new Date(e.lastModified)});e.size?t.set({size:e.size,type:"file"}):t.set({type:"directory"});if(e.children)for(let r of e.children){let e=n(r);t.__P_83_0.push(e)}return t};return n(t)}}});qxl.datagrid.demo.tree.TreeDemoFileNode.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.column.Column":{require:!0},"qxl.datagrid.column.tree.ExpansionWidget":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.tree.ExpansionColumn",{extend:qxl.datagrid.column.Column,properties:{iconPathProvider:{check:"Function",nullable:!0}},members:{createWidgetForDisplay:()=>new qxl.datagrid.column.tree.ExpansionWidget,bindWidget(e,t,r){let i=qxl.datagrid.column.tree.ExpansionColumn.superclass.prototype.bindWidget.call(this,e,t),n=r.getDataSource().getNodeStateFor(t);if(null==n)return i;e.setIndentationLevel(n.level);e.setState(n.state);const o=this.getIconPathProvider();if(o){const r=o(t);r&&e.setIcon(r)}e.addListener("changeState",(e=>{let i=e.getData();"open"==i?r.getDataSource().expandNode(t):"closed"==i&&r.getDataSource().collapseNode(t)}));return i}}});qxl.datagrid.column.tree.ExpansionColumn.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qxl.datagrid.column.Column":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.FileSizeColumn",{extend:qxl.datagrid.column.Column,properties:{binary:{init:!0,check:"Binary"}},construct(){qxl.datagrid.column.Column.constructor.call(this);this.setBindingOptions(((e,t)=>({converter:(e,t,r,i)=>e?this._convertValueForDisplay(e):""})))},members:{_convertValueForDisplay(e){if("number"!=typeof e)return"";let t=this.getBinary()?1024:1e3;return enew Date(e.getTime()+864e5*(3-(e.getDay()+6)%7)),__P_84_10(e){var t=this.__P_84_9(e),r=t.getFullYear(),i=this.__P_84_9(new Date(r,0,4));return Math.floor(1.5+(t.getTime()-i.getTime())/864e5/7)},__P_84_11(e){var t=this.__P_84_9(e),r=this.__P_84_9(new Date(e.getFullYear(),e.getMonth(),4));return Math.floor(1.5+(t.getTime()-r.getTime())/864e5/7)},__P_84_12(e){return this.__P_84_9(e).getFullYear()},__P_84_13(e){var t=new Date(e,2,1);t.setDate(-1);return t.getDate()+1===29},__P_84_14(e,t){var r=0,i=0;t||(t=1971);for(var n=0,o=1;o<=12;o++){var a=new Date(t,o,1);a.setDate(-1);var s=a.getDate()+1;if(!((n+=s)0?1:-1,d=Math.floor(Math.abs(c)/60),f=Math.abs(c)%60;this.__P_84_16();for(var _="",p=0;p(b=(x=Math.abs(r))+"").length)for(var y=b.length;yb.length)for(y=x.length;y=1&&v<=3?b=r>0?"AD":"BC":4==v?b=r>0?"Anno Domini":"Before Christ":5==v&&(b=r>0?"A":"B");break;case"Q":case"q":1!=v&&2!=v||(b=this.__P_84_7(parseInt(i/4)+1,v));3==v&&(b="Q"+(parseInt(i/4)+1));break;case"D":b=this.__P_84_7(this.__P_84_8(e),v);break;case"d":b=this.__P_84_7(n,v);break;case"w":b=this.__P_84_7(this.__P_84_10(e),v);break;case"W":b=this.__P_84_11(e);break;case"E":v>=1&&v<=3?b=qx.locale.Date.getDayName("abbreviated",o,t,"format",!0):4==v?b=qx.locale.Date.getDayName("wide",o,t,"format",!0):5==v&&(b=qx.locale.Date.getDayName("narrow",o,t,"format",!0));break;case"e":var q=1+(o-(w=qx.locale.Date.getWeekStart(t))>=0?o-w:o-w+7);v>=1&&v<=2?b=this.__P_84_7(q,v):3==v?b=qx.locale.Date.getDayName("abbreviated",o,t,"format",!0):4==v?b=qx.locale.Date.getDayName("wide",o,t,"format",!0):5==v&&(b=qx.locale.Date.getDayName("narrow",o,t,"format",!0));break;case"c":var w;q=1+(o-(w=qx.locale.Date.getWeekStart(t))>=0?o-w:o-w+7);1==v?b=""+q:3==v?b=qx.locale.Date.getDayName("abbreviated",o,t,"stand-alone",!0):4==v?b=qx.locale.Date.getDayName("wide",o,t,"stand-alone",!0):5==v&&(b=qx.locale.Date.getDayName("narrow",o,t,"stand-alone",!0));break;case"M":1==v||2==v?b=this.__P_84_7(i+1,v):3==v?b=qx.locale.Date.getMonthName("abbreviated",i,t,"format",!0):4==v?b=qx.locale.Date.getMonthName("wide",i,t,"format",!0):5==v&&(b=qx.locale.Date.getMonthName("narrow",i,t,"format",!0));break;case"L":1==v||2==v?b=this.__P_84_7(i+1,v):3==v?b=qx.locale.Date.getMonthName("abbreviated",i,t,"stand-alone",!0):4==v?b=qx.locale.Date.getMonthName("wide",i,t,"stand-alone",!0):5==v&&(b=qx.locale.Date.getMonthName("narrow",i,t,"stand-alone",!0));break;case"a":b=a<12?qx.locale.Date.getAmMarker(t):qx.locale.Date.getPmMarker(t);break;case"H":b=this.__P_84_7(a,v);break;case"k":b=this.__P_84_7(0==a?24:a,v);break;case"K":b=this.__P_84_7(a%12,v);break;case"h":b=this.__P_84_7(a%12==0?12:a%12,v);break;case"m":b=this.__P_84_7(s,v);break;case"s":b=this.__P_84_7(l,v);break;case"S":if(v<(b=this.__P_84_7(u,3)).length)b=b.substr(0,v);else for(;v>b.length;)b+="0";break;case"z":v>=1&&v<=4&&(b="GMT"+(h>0?"-":"+")+this.__P_84_7(Math.abs(d),2)+":"+this.__P_84_7(f,2));break;case"Z":b=v>=1&&v<=3?(h>0?"-":"+")+this.__P_84_7(Math.abs(d),2)+this.__P_84_7(f,2):"GMT"+(h>0?"-":"+")+this.__P_84_7(Math.abs(d),2)+":"+this.__P_84_7(f,2)}_+=b}}return _},parse(e){this.__P_84_17();var t=this.__P_84_4.regex.exec(e);if(null==t)throw new Error("Date string '"+e+"' does not match the date format: "+this.__P_84_2);for(var r,i={era:1,year:1970,quarter:1,month:0,day:1,dayOfYear:1,hour:0,ispm:!1,weekDay:4,weekYear:1970,weekOfMonth:1,weekOfYear:1,min:0,sec:0,ms:0,tzOffsetMins:null},n=1,o=!1,a=!1,s=0;s=i.length){o++;break}if("'"==i.charAt(o+1)){r+=a;o++}else{o++;n="unkown"}}else{r+=a;o++}break;case"wildcard":if(a==e){t++;o++}else{this.__P_84_6.push({type:"wildcard",character:e,size:t});e=null;t=0;n="default"}break;default:if(a>="a"&&a<="z"||a>="A"&&a<="Z"){e=a;n="wildcard"}else if("'"==a){if(o+1>=i.length){r+=a;o++;break}if("'"==i.charAt(o+1)){r+=a;o++}o++;n="quoted_literal"}else n="default";if("default"!=n){if(r.length>0){this.__P_84_6.push({type:"literal",text:r});r=""}}else{r+=a;o++}}}null!=e?this.__P_84_6.push({type:"wildcard",character:e,size:t}):r.length>0&&this.__P_84_6.push({type:"literal",text:r})}},__P_84_17(){if(null==this.__P_84_4){var e=this.__P_84_2;this.__P_84_18();this.__P_84_16();for(var t,r=[],i="^",n=0;n14)throw new Error("Invalid hours in time zone offset.");if(n>59)throw new Error("Invalid minutes in time zone offset.");e.tzOffsetMins=60*i+n;"-"===r[1]&&(e.tzOffsetMins=-e.tzOffsetMins)},h=["AD","BC"],d=function(e,t){e.era="AD"==t?1:-1},f=["Q1","Q2","Q3","Q4"],_=function(e,t){e.quarter=f.indexOf(t)},p=["1st quarter","2nd quarter","3rd quarter","4th quarter"],m=function(e,t){e.quarter=p.indexOf(t)},g={},v=function(e){var r=["L","M"],i=["c","e","E"],n=e.charAt(0),a=r.indexOf(n)>=0;if(!g[e]){g[e]={};for(var s=function(){var t=n===(a?r:i)[0]?"stand-alone":"format",o="abbreviated";switch(e.length){case 4:o="wide";break;case 5:o="narrow";break;default:o="abbreviated"}return[t,o]}(),l=(a?qx.locale.Date.getMonthNames:qx.locale.Date.getDayNames).call(qx.locale.Date,s[1],o,s[0],!0),u=0,c=l.length;u=0&&(r=0&&(r=0,"Value must be positive")},false:null}),__P_85_9(){for(var e=[],t=[],r=[],i=-1,n=-1,o=this._getLayoutChildren(),a=0,s=o.length;a1&&r.push(l);u.colSpan>1&&t.push(l)}for(f=0;f<=i;f++)null==e[f]&&(e[f]=[]);this.__P_85_2=e;this.__P_85_3=t;this.__P_85_4=r;this.__P_85_5=i;this.__P_85_6=n;this.__P_85_7=null;this.__P_85_8=null;delete this._invalidChildrenCache},_setRowData(e,t,r){var i=this.__P_85_0[e];if(i)i[t]=r;else{this.__P_85_0[e]={};this.__P_85_0[e][t]=r}},_setColumnData(e,t,r){var i=this.__P_85_1[e];if(i)i[t]=r;else{this.__P_85_1[e]={};this.__P_85_1[e][t]=r}},setSpacing(e){this.setSpacingY(e);this.setSpacingX(e);return this},setColumnAlign(e,t,r){this._setColumnData(e,"hAlign",t);this._setColumnData(e,"vAlign",r);this._applyLayoutChange();return this},getColumnAlign(e){var t=this.__P_85_1[e]||{};return{vAlign:t.vAlign||"top",hAlign:t.hAlign||"left"}},setRowAlign(e,t,r){this._setRowData(e,"hAlign",t);this._setRowData(e,"vAlign",r);this._applyLayoutChange();return this},getRowAlign(e){var t=this.__P_85_0[e]||{};return{vAlign:t.vAlign||"top",hAlign:t.hAlign||"left"}},getCellWidget(e,t){this._invalidChildrenCache&&this.__P_85_9();return(e=this.__P_85_2[e]||{})[t]||null},getRowCount(){this._invalidChildrenCache&&this.__P_85_9();return this.__P_85_5+1},getColumnCount(){this._invalidChildrenCache&&this.__P_85_9();return this.__P_85_6+1},getCellAlign(e,t){var r="top",i="left",n=this.__P_85_0[e],o=this.__P_85_1[t],a=this.__P_85_2[e][t];if(a)var s={vAlign:a.getAlignY(),hAlign:a.getAlignX()};else s={};s.vAlign?r=s.vAlign:n&&n.vAlign?r=n.vAlign:o&&o.vAlign&&(r=o.vAlign);s.hAlign?i=s.hAlign:o&&o.hAlign?i=o.hAlign:n&&n.hAlign&&(i=n.hAlign);return{vAlign:r,hAlign:i}},setColumnFlex(e,t){this._setColumnData(e,"flex",t);this._applyLayoutChange();return this},getColumnFlex(e){var t=this.__P_85_1[e]||{};return void 0!==t.flex?t.flex:0},setRowFlex(e,t){this._setRowData(e,"flex",t);this._applyLayoutChange();return this},getRowFlex(e){var t=this.__P_85_0[e]||{};return void 0!==t.flex?t.flex:0},setColumnMaxWidth(e,t){this._setColumnData(e,"maxWidth",t);this._applyLayoutChange();return this},getColumnMaxWidth(e){var t=this.__P_85_1[e]||{};return void 0!==t.maxWidth?t.maxWidth:1/0},setColumnWidth(e,t){this._setColumnData(e,"width",t);this._applyLayoutChange();return this},getColumnWidth(e){var t=this.__P_85_1[e]||{};return void 0!==t.width?t.width:null},setColumnMinWidth(e,t){this._setColumnData(e,"minWidth",t);this._applyLayoutChange();return this},getColumnMinWidth(e){return(this.__P_85_1[e]||{}).minWidth||0},setRowMaxHeight(e,t){this._setRowData(e,"maxHeight",t);this._applyLayoutChange();return this},getRowMaxHeight(e){return(this.__P_85_0[e]||{}).maxHeight||1/0},setRowHeight(e,t){this._setRowData(e,"height",t);this._applyLayoutChange();return this},getRowHeight(e){var t=this.__P_85_0[e]||{};return void 0!==t.height?t.height:null},setRowMinHeight(e,t){this._setRowData(e,"minHeight",t);this._applyLayoutChange();return this},getRowMinHeight(e){return(this.__P_85_0[e]||{}).minHeight||0},_getOuterSize(e){var t=e.getSizeHint(),r=e.getMarginLeft()+e.getMarginRight(),i=e.getMarginTop()+e.getMarginBottom();return{height:t.height+i,width:t.width+r,minHeight:t.minHeight+i,minWidth:t.minWidth+r,maxHeight:t.maxHeight+i,maxWidth:t.maxWidth+r}},_fixHeightsRowSpan(e){for(var t=this.getSpacingY(),r=0,i=this.__P_85_4.length;r0&&(c[d]={min:f.minHeight,value:f.height,max:f.maxHeight,flex:_});l+=f.height;u+=f.minHeight}if(l0&&(d[_]={min:p.minWidth,value:p.width,max:p.maxWidth,flex:m});c+=p.width;h+=p.minWidth}if(c1)){var l=this._getOuterSize(s);n=this.getRowFlex(i)>0?Math.max(n,l.minHeight):Math.max(n,l.height);o=Math.max(o,l.height)}}}n=Math.max(n,this.getRowMinHeight(i));var u=this.getRowMaxHeight(i);if(null!==this.getRowHeight(i))o=this.getRowHeight(i);else o=Math.max(n,Math.min(o,u));e[i]={minHeight:n,height:o,maxHeight:u}}this.__P_85_4.length>0&&this._fixHeightsRowSpan(e);this.__P_85_7=e;return e},_getColWidths(){if(null!=this.__P_85_8)return this.__P_85_8;for(var e=[],t=this.__P_85_6,r=this.__P_85_5,i=0;i<=t;i++){for(var n,o=0,a=0,s=0;s<=r;s++){var l=this.__P_85_2[s][i];if(l){if(!((l.getLayoutProperties().colSpan||0)>1)){var u=this._getOuterSize(l);a=Math.max(a,u.minWidth);o=Math.max(o,u.width)}}}a=Math.max(a,this.getColumnMinWidth(i));n=this.getColumnMaxWidth(i);if(null!==this.getColumnWidth(i))o=this.getColumnWidth(i);else o=Math.max(a,Math.min(o,n));e[i]={minWidth:a,width:o,maxWidth:n}}this._getColSpans().length>0&&this._fixWidthsColSpan(e);this.__P_85_8=e;return e},_getColumnFlexOffsets(e){var t=this.getSizeHint(),r=e-t.width;if(0==r)return{};for(var i=this._getColWidths(),n={},o=0,a=i.length;o0||s.width==s.minWidth&&r<0||(n[o]={min:s.minWidth,value:s.width,max:s.maxWidth,flex:l})}return qx.ui.layout.Util.computeFlexOffsets(n,e,t.width)},_getRowFlexOffsets(e){var t=this.getSizeHint(),r=e-t.height;if(0==r)return{};for(var i=this._getRowHeights(),n={},o=0,a=i.length;o0||s.height==s.minHeight&&r<0||(n[o]={min:s.minHeight,value:s.height,max:s.maxHeight,flex:l})}return qx.ui.layout.Util.computeFlexOffsets(n,e,t.height)},_getColSpans(){return this.__P_85_3},renderLayout(e,t,r){this._invalidChildrenCache&&this.__P_85_9();for(var i,n=qx.ui.layout.Util,o=this.getSpacingX(),a=this.getSpacingY(),s=this._getColWidths(),l=this._getColumnFlexOffsets(e),u=[],c=this.__P_85_6,h=this.__P_85_5,d=0;d<=c;d++){i=l[d]?l[d].offset:0;u[d]=s[d].width+i}for(var f=this._getRowHeights(),_=this._getRowFlexOffsets(t),p=[],m=0;m<=h;m++){i=_[m]?_[m].offset:0;p[m]=f[m].height+i}var g=0;for(d=0;d<=c;d++){var v=0;for(m=0;m<=h;m++){var b=this.__P_85_2[m][d];if(b){var y=b.getLayoutProperties();if(y.row===m&&y.column===d){for(var x=o*(y.colSpan-1),q=0;q0?t+=o.minWidth:t+=o.width;r+=o.width}var a=this._getRowHeights(),s=0,l=0;for(i=0,n=a.length;i0?s+=u.minHeight:s+=u.height;l+=u.height}var c=this.getSpacingX()*(e.length-1),h=this.getSpacingY()*(a.length-1);return{minWidth:t+c,width:r+c,minHeight:s+h,height:l+h}}},destruct(){this.__P_85_2=this.__P_85_0=this.__P_85_1=this.__P_85_3=this.__P_85_4=this.__P_85_8=this.__P_85_7=null}});qx.ui.layout.Grid.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.Promise":{construct:!0},"qx.bom.Label":{},"qx.bom.client.Browser":{require:!0},"qx.event.Timer":{},"qx.bom.element.Dimension":{},"qx.lang.Object":{},"qx.bom.element.Style":{}},environment:{provided:[],required:{"browser.name":{className:"qx.bom.client.Browser"},"browser.version":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.webfonts.Validator",{extend:qx.core.Object,construct(e,t,r,i){qx.core.Object.constructor.call(this);t&&this.setComparisonString(t);r&&this.setFontWeight(r);i&&this.setFontStyle(i);if(e){this.setFontFamily(e);this.__P_184_0=this._getRequestedHelpers()}this.__P_184_1=new qx.Promise},statics:{COMPARISON_FONTS:{sans:["Arial","Helvetica","sans-serif"],serif:["Times New Roman","Georgia","serif"]},HELPER_CSS:{position:"absolute",margin:"0",padding:"0",top:"-1000px",left:"-1000px",fontSize:"350px",width:"auto",height:"auto",lineHeight:"normal",fontVariant:"normal",visibility:"hidden"},COMPARISON_STRING:"WEei",__P_184_2:null,__P_184_3:null,removeDefaultHelperElements(){var e=qx.bom.webfonts.Validator.__P_184_3;if(e)for(var t in e)document.body.removeChild(e[t]);delete qx.bom.webfonts.Validator.__P_184_3}},properties:{fontFamily:{nullable:!0,init:null,apply:"_applyFontFamily"},fontWeight:{nullable:!0,check:"String",apply:"_applyFontWeight"},fontStyle:{nullable:!0,check:"String",apply:"_applyFontStyle"},comparisonString:{nullable:!0,init:null},timeout:{check:"Integer",init:5e3}},events:{changeStatus:"qx.event.type.Data"},members:{__P_184_0:null,__P_184_4:null,__P_184_5:null,__P_184_1:null,validate(){if(this.__P_184_5)return;const e=e=>{this.__P_184_4&&this.__P_184_4.stop();this._reset();this.__P_184_1.resolve(e);this.fireDataEvent("changeStatus",{family:this.getFontFamily(),valid:e})};if(document.fonts&&"function"==typeof document.fonts.load){this.__P_184_5=(new Date).getTime();let t=`${this.getFontStyle()||"normal"} ${this.getFontWeight()||"normal"} 14px ${this.getFontFamily()}`;(async()=>{try{await document.fonts.load(t);await document.fonts.ready;qx.bom.Label.getTextSize("Hello World",{fontFamily:this.getFontFamily(),fontStyle:this.getFontStyle(),fontWeight:this.getFontWeight()});setTimeout((()=>e(this._isFontValid())),100)}catch(r){this.warn(`Exception while loading font ${t}: `+r);e(!1)}})()}else{this.__P_184_5=(new Date).getTime();this.getFontStyle(),this.getFontWeight(),this.getFontFamily();const t=()=>{if(this._isFontValid())"safari"==qx.core.Environment.get("browser.name")&&parseFloat(qx.core.Environment.get("browser.version"))>=8?setTimeout((()=>e(!0)),100):e(!0);else{(new Date).getTime()-this.__P_184_5>=this.getTimeout()&&e(!1)}};qx.event.Timer.once((()=>{this.__P_184_4=new qx.event.Timer(100);this.__P_184_4.addListener("interval",t);this.__P_184_4.start()}),this,0)}},async isValid(){return await this.__P_184_1},_reset(){if(this.__P_184_0){for(var e in this.__P_184_0){var t=this.__P_184_0[e];document.body.removeChild(t)}this.__P_184_0=null}},_isFontValid(){qx.bom.webfonts.Validator.__P_184_2||this.__P_184_6();this.__P_184_0||(this.__P_184_0=this._getRequestedHelpers());this.__P_184_0.sans.style.visibility="visible";this.__P_184_0.sans.style.visibility="hidden";this.__P_184_0.serif.style.visibility="visible";this.__P_184_0.serif.style.visibility="hidden";var e=qx.bom.element.Dimension.getWidth(this.__P_184_0.sans),t=qx.bom.element.Dimension.getWidth(this.__P_184_0.serif),r=qx.bom.webfonts.Validator;return e!==r.__P_184_2.sans||t!==r.__P_184_2.serif},_getRequestedHelpers(){var e=[this.getFontFamily()].concat(qx.bom.webfonts.Validator.COMPARISON_FONTS.sans),t=[this.getFontFamily()].concat(qx.bom.webfonts.Validator.COMPARISON_FONTS.serif);return{sans:this._getHelperElement(e,this.getComparisonString()),serif:this._getHelperElement(t,this.getComparisonString())}},_getHelperElement(e,t){var r=qx.lang.Object.clone(qx.bom.webfonts.Validator.HELPER_CSS);e&&(r.fontFamily?r.fontFamily+=","+e.join(","):r.fontFamily=e.join(","));this.getFontWeight()&&(r.fontWeight=this.getFontWeight());this.getFontStyle()&&(r.fontStyle=this.getFontStyle());var i=document.createElement("span");i.innerHTML=t||qx.bom.webfonts.Validator.COMPARISON_STRING;qx.bom.element.Style.setStyles(i,r);document.body.appendChild(i);return i},_applyFontFamily(e,t){e!==t&&this._reset()},_applyFontWeight(e,t){e!==t&&this._reset()},_applyFontStyle(e,t){e!==t&&this._reset()},__P_184_6(){var e=qx.bom.webfonts.Validator;e.__P_184_3||(e.__P_184_3={sans:this._getHelperElement(e.COMPARISON_FONTS.sans),serif:this._getHelperElement(e.COMPARISON_FONTS.serif)});e.__P_184_2={sans:qx.bom.element.Dimension.getWidth(e.__P_184_3.sans),serif:qx.bom.element.Dimension.getWidth(e.__P_184_3.serif)}}},destruct(){this._reset();null!=this.__P_184_4&&this.__P_184_4.stop();this._disposeObjects("__P_184_4")}});qx.bom.webfonts.Validator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.AbstractAxis",{extend:Object,statics:{computeStart(e,t,r,i,n){throw new Error("abstract method call!")},_moveToEdgeAndAlign(e,t,r,i){switch(i){case"edge-start":return t.start-r.end-e;case"edge-end":return t.end+r.start;case"align-start":return t.start+r.start;case"align-center":return t.start+parseInt((t.end-t.start-e)/2,10)+r.start;case"align-end":return t.end-r.end-e}},_isInRange:(e,t,r)=>e>=0&&e+t<=r}});qx.util.placement.AbstractAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.placement.AbstractAxis":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.DirectAxis",{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart(e,t,r,i,n){return this._moveToEdgeAndAlign(e,t,r,n)}}});qx.util.placement.DirectAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.placement.AbstractAxis":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.KeepAlignAxis",{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,_isInRange:qx.util.placement.AbstractAxis._isInRange,computeStart(e,t,r,i,n){var o,a,s=this._moveToEdgeAndAlign(e,t,r,n);if(this._isInRange(s,e,i))return s;if("edge-start"==n||"edge-end"==n){o=t.start-r.end;a=t.end+r.start}else{o=t.end-r.end;a=t.start+r.start}return s=o>i-a?Math.max(0,o-e):a}}});qx.util.placement.KeepAlignAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.placement.AbstractAxis":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.BestFitAxis",{statics:{_isInRange:qx.util.placement.AbstractAxis._isInRange,_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart(e,t,r,i,n){var o=this._moveToEdgeAndAlign(e,t,r,n);if(this._isInRange(o,e,i))return o;o<0&&(o=Math.min(0,i-e));o+e>i&&(o=Math.max(0,i-e));return o}}});qx.util.placement.BestFitAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.event.Emitter":{require:!0},"qx.bom.client.CssAnimation":{construct:!0,require:!0}},environment:{provided:[],required:{"css.animation":{construct:!0,className:"qx.bom.client.CssAnimation"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.AnimationHandle",{extend:qx.event.Emitter,construct(){var e=qx.core.Environment.get("css.animation");this.__P_220_0=e&&e["play-state"];this.__P_220_1=!0;this.addListenerOnce("end",this.__P_220_2,this)},events:{start:"Element",end:"Element",iteration:"Element"},members:{__P_220_0:null,__P_220_1:!1,__P_220_3:!1,isPlaying(){return this.__P_220_1},isEnded(){return this.__P_220_3},isPaused(){return"paused"==this.el.style[this.__P_220_0]},pause(){if(this.el){this.el.style[this.__P_220_0]="paused";this.el.$$animation.__P_220_1=!1;this.animationId&&qx.bom.element.AnimationJs&&qx.bom.element.AnimationJs.pause(this)}},play(){if(this.el){this.el.style[this.__P_220_0]="running";this.el.$$animation.__P_220_1=!0;null!=this.i&&qx.bom.element.AnimationJs&&qx.bom.element.AnimationJs.play(this)}},stop(){if(this.el&&qx.core.Environment.get("css.animation")&&!this.jsAnimation){this.el.style[this.__P_220_0]="";this.el.style[qx.core.Environment.get("css.animation").name]="";this.el.$$animation.__P_220_1=!1;this.el.$$animation.__P_220_3=!0}else if(this.jsAnimation){this.stopped=!0;qx.bom.element.AnimationJs.stop(this)}},__P_220_2(){this.__P_220_1=!1;this.__P_220_3=!0}}});qx.bom.element.AnimationHandle.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.Style":{},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["css.transform","css.transform.3d"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.CssTransform",{statics:{getSupport(){var e=qx.bom.client.CssTransform.getName();return null!=e?{name:e,style:qx.bom.client.CssTransform.getStyle(),origin:qx.bom.client.CssTransform.getOrigin(),"3d":qx.bom.client.CssTransform.get3D(),perspective:qx.bom.client.CssTransform.getPerspective(),"perspective-origin":qx.bom.client.CssTransform.getPerspectiveOrigin(),"backface-visibility":qx.bom.client.CssTransform.getBackFaceVisibility()}:null},getStyle:()=>qx.bom.Style.getPropertyName("transformStyle"),getPerspective:()=>qx.bom.Style.getPropertyName("perspective"),getPerspectiveOrigin:()=>qx.bom.Style.getPropertyName("perspectiveOrigin"),getBackFaceVisibility:()=>qx.bom.Style.getPropertyName("backfaceVisibility"),getOrigin:()=>qx.bom.Style.getPropertyName("transformOrigin"),getName:()=>qx.bom.Style.getPropertyName("transform"),get3D:()=>null!=qx.bom.client.CssTransform.getPerspective()},defer(e){qx.core.Environment.add("css.transform",e.getSupport);qx.core.Environment.add("css.transform.3d",e.get3D)}});qx.bom.client.CssTransform.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.CssTransform":{require:!0},"qx.bom.Style":{}},environment:{provided:[],required:{"css.transform":{load:!0,className:"qx.bom.client.CssTransform"},"css.transform.3d":{className:"qx.bom.client.CssTransform"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Transform",{statics:{__P_221_0:qx.core.Environment.get("css.transform"),transform(e,t){var r=this.getTransformValue(t);if(null!=this.__P_221_0){var i=this.__P_221_0.name;e.style[i]=r}},translate(e,t){this.transform(e,{translate:t})},scale(e,t){this.transform(e,{scale:t})},rotate(e,t){this.transform(e,{rotate:t})},skew(e,t){this.transform(e,{skew:t})},getCss(e){var t=this.getTransformValue(e);if(null!=this.__P_221_0){var r=this.__P_221_0.name;return qx.bom.Style.getCssName(r)+":"+t+";"}return""},setOrigin(e,t){null!=this.__P_221_0&&(e.style[this.__P_221_0.origin]=t)},getOrigin(e){return null!=this.__P_221_0?e.style[this.__P_221_0.origin]:""},setStyle(e,t){null!=this.__P_221_0&&(e.style[this.__P_221_0.style]=t)},getStyle(e){return null!=this.__P_221_0?e.style[this.__P_221_0.style]:""},setPerspective(e,t){null!=this.__P_221_0&&(e.style[this.__P_221_0.perspective]=t+"px")},getPerspective(e){return null!=this.__P_221_0?e.style[this.__P_221_0.perspective]:""},setPerspectiveOrigin(e,t){null!=this.__P_221_0&&(e.style[this.__P_221_0["perspective-origin"]]=t)},getPerspectiveOrigin(e){if(null!=this.__P_221_0){var t=e.style[this.__P_221_0["perspective-origin"]];if(""!=t)return t;var r=e.style[this.__P_221_0["perspective-origin"]+"X"],i=e.style[this.__P_221_0["perspective-origin"]+"Y"];if(""!=r)return r+" "+i}return""},setBackfaceVisibility(e,t){null!=this.__P_221_0&&(e.style[this.__P_221_0["backface-visibility"]]=t?"visible":"hidden")},getBackfaceVisibility(e){return null==this.__P_221_0||"visible"==e.style[this.__P_221_0["backface-visibility"]]},getTransformValue(e){var t="",r=["translate","scale"];for(var i in e){var n=e[i];qx.Bootstrap.isArray(n)?3===n.length&&r.indexOf(i)>-1&&qx.core.Environment.get("css.transform.3d")?t+=this._compute3dProperty(i,n):t+=this._computeAxisProperties(i,n):t+=i+"("+n+") "}return t.trim()},_compute3dProperty(e,t){var r="";e+="3d";for(var i=0;i"iframe"===e.tagName.toLowerCase(),registerEvent(e,t,r){},unregisterEvent(e,t,r){}},defer(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Iframe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Iframe":{require:!0},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.dom.Element":{},"qx.dom.Hierarchy":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.log.Logger":{},"qx.bom.Event":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.Iframe",{statics:{DEFAULT_ATTRIBUTES:{frameBorder:0,frameSpacing:0,marginWidth:0,marginHeight:0,hspace:0,vspace:0,border:0,allowTransparency:!0},create(e,t){e=e?qx.lang.Object.clone(e):{};var r=qx.bom.Iframe.DEFAULT_ATTRIBUTES;for(var i in r)i in e||(e[i]=r[i]);var n=qx.dom.Element.create("iframe",e,t);"onload"in e||(n.onload=function(){qx.event.handler.Iframe.onevent(n)});return n},getWindow(e){try{return e.contentWindow}catch(e){return null}},getDocument(e){if("contentDocument"in e)try{return e.contentDocument}catch(e){return null}try{var t=this.getWindow(e);return t?t.document:null}catch(e){return null}},getBody(e){try{var t=this.getDocument(e);return t?t.getElementsByTagName("body")[0]:null}catch(e){return null}},setSource(e,t){try{if(this.getWindow(e)&&qx.dom.Hierarchy.isRendered(e))try{if("webkit"==qx.core.Environment.get("engine.name")&&"osx"==qx.core.Environment.get("os.name")){var r=this.getWindow(e);r&&r.stop()}this.getWindow(e).location.replace(t)}catch(r){e.src=t}else e.src=t;this.__P_222_0(e)}catch(e){qx.log.Logger.warn("Iframe source could not be set!")}},queryCurrentUrl(e){var t=this.getDocument(e);try{if(t&&t.location)return t.location.href}catch(e){}return""},__P_222_0(e){qx.bom.Event.addNativeListener(e,"load",(function t(){qx.bom.Event.removeNativeListener(e,"load",t);e.$$url=qx.bom.Iframe.queryCurrentUrl(e)}))}}});qx.bom.Iframe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.dom.Element":{},"qx.lang.Type":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine",load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Input",{statics:{__P_223_0:{text:1,textarea:1,select:1,checkbox:1,radio:1,password:1,hidden:1,submit:1,image:1,file:1,search:1,reset:1,button:1},create(e,t,r){var i;t=t?qx.lang.Object.clone(t):{};if("textarea"===e||"select"===e)i=e;else{i="input";t.type=e}return qx.dom.Element.create(i,t,r)},setValue(e,t){var r=e.nodeName.toLowerCase(),i=e.type,n=qx.lang.Type;"number"==typeof t&&(t+="");if("checkbox"===i||"radio"===i)n.isArray(t)?e.checked=t.includes(e.value):e.checked=e.value==t;else if("select"===r){for(var o,a,s=n.isArray(t),l=e.options,u=0,c=l.length;u0&&(d+=u[a]+c)}},__P_201_0(e){for(;!(e instanceof qx.ui.menu.Menu);)e=e.getLayoutParent();return e},_computeSizeHint(){for(var e=this._getLayoutChildren(),t=0,r=0,i=0,n=e.length;ie.useHtml?e.innerHTML:!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")?e.firstChild.getAttribute("value")||"":qx.bom.element.Attribute.get(e,"text"),getHtmlSize(e,t,r){var i=this._htmlElement||this.__P_138_3();i.style.width=null!=r?r+"px":"auto";i.innerHTML=e;return this.__P_138_6(i,t)},getTextSize(e,t){var r=this._textElement||this.__P_138_1();!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")?r.firstChild.setAttribute("value",e):qx.bom.element.Attribute.set(r,"text",e);return this.__P_138_6(r,t)},__P_138_6(e,t){var r=this.__P_138_0;t||(t={});for(var i in r)e.style[i]=t[i]||"";var n=qx.bom.element.Dimension.getSize(e);n.width++;return n}}});qx.bom.Label.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.util.ResourceManager":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.element.Background",{statics:{__P_204_0:["background-image:url(",null,");","background-position:",null,";","background-repeat:",null,";"],__P_204_1:{backgroundImage:null,backgroundPosition:null,backgroundRepeat:null},__P_204_2(e,t){var r=qx.core.Environment.get("engine.name"),i=qx.core.Environment.get("engine.version");"gecko"==r&&i<1.9&&e==t&&"number"==typeof e&&(t+=.01);if(e)var n="number"==typeof e?e+"px":e;else n="0";if(t)var o="number"==typeof t?t+"px":t;else o="0";return n+" "+o},compile(e,t,r,i){var n=this.__P_204_2(r,i),o=qx.util.ResourceManager.getInstance().toUri(e),a=this.__P_204_0;a[1]="'"+o+"'";a[4]=n;a[7]=t;return a.join("")},getStyles(e,t,r,i){if(!e)return this.__P_204_1;var n={backgroundPosition:this.__P_204_2(r,i),backgroundImage:"url('"+qx.util.ResourceManager.getInstance().toUri(e)+"')"};null!=t&&(n.backgroundRepeat=t);return n},set(e,t,r,i,n){var o=this.getStyles(t,r,i,n);for(var a in o)e.style[a]=o[a]}}});qx.bom.element.Background.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.dev.unit.TestCase":{},"qx.lang.Type":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.dev.unit.TestFunction",{extend:qx.core.Object,construct(e,t,r){r&&this.setTestFunction(r);if(e){this.setClassName(e.classname);this.setTestClass(e)}this.setName(t)},properties:{testFunction:{check:"Function"},name:{check:"String"},className:{check:"String",init:""},testClass:{check:"qx.dev.unit.TestCase",init:null}},members:{run(e){var t=this.getTestClass(),r=this.getName();t.set({testFunc:this,testResult:e});e.run(this,(function(){switch(t[r].constructor.name){case"Function":try{t[r]()}catch(e){throw e}break;case"AsyncFunction":t[r]().then((function(){t.resume()})).catch((function(e){t.resume((function(){throw e}))}));t.wait()}}))},setUp(){var e=this.getTestClass();qx.lang.Type.isFunction(e.setUp)&&e.setUp()},tearDown(){var e=this.getTestClass();qx.lang.Type.isFunction(e.tearDown)&&e.tearDown()},getFullName(){return[this.getClassName(),this.getName()].join(":")}}});qx.dev.unit.TestFunction.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",construct:!0,require:!0},"qx.dev.unit.AbstractTestSuite":{construct:!0,require:!0},"qx.dev.unit.TestCase":{construct:!0},"qx.lang.Type":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.dev.unit.TestClass",{extend:qx.dev.unit.AbstractTestSuite,construct(e){qx.dev.unit.AbstractTestSuite.constructor.call(this);if(e)if(qx.Class.isSubClassOf(e,qx.dev.unit.TestCase)){var t=e.prototype,r=new e;for(var i in t)qx.lang.Type.isFunctionOrAsyncFunction(t[i])&&0==i.indexOf("test")&&this.addTestMethod(r,i);this.setName(e.classname)}else this.addFail("Sub class check.","The test class '"+e.classname+"'is not a sub class of 'qx.dev.unit.TestCase'");else this.addFail("existsCheck","Unknown test class!")},properties:{name:{check:"String"}}});qx.dev.unit.TestClass.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Timer":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.AcceleratingTimer",{extend:qx.core.Object,implement:[qx.core.IDisposable],construct(){qx.core.Object.constructor.call(this);this.__P_168_0=new qx.event.Timer(this.getInterval());this.__P_168_0.addListener("interval",this._onInterval,this)},events:{interval:"qx.event.type.Event"},properties:{interval:{check:"Integer",init:100},firstInterval:{check:"Integer",init:500},minimum:{check:"Integer",init:20},decrease:{check:"Integer",init:2}},members:{__P_168_0:null,__P_168_1:null,start(){this.__P_168_0.setInterval(this.getFirstInterval());this.__P_168_0.start()},stop(){this.__P_168_0.stop();this.__P_168_1=null},_onInterval(){this.__P_168_0.stop();null==this.__P_168_1&&(this.__P_168_1=this.getInterval());this.__P_168_1=Math.max(this.getMinimum(),this.__P_168_1-this.getDecrease());this.__P_168_0.setInterval(this.__P_168_1);this.__P_168_0.start();this.fireEvent("interval")}},destruct(){this._disposeObjects("__P_168_0")}});qx.event.AcceleratingTimer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.core.scroll.IScrollBar",{events:{scroll:"qx.event.type.Data",scrollAnimationEnd:"qx.event.type.Event"},properties:{orientation:{},maximum:{},position:{},knobFactor:{}},members:{scrollTo(e,t){this.assertNumber(e)},scrollBy(e,t){this.assertNumber(e)},scrollBySteps(e,t){this.assertNumber(e)}}});qx.ui.core.scroll.IScrollBar.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.scroll.IScrollBar":{require:!0},"qx.ui.core.scroll.ScrollSlider":{},"qx.ui.form.RepeatButton":{},"qx.ui.layout.HBox":{},"qx.ui.layout.VBox":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.scroll.ScrollBar",{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct(e){qx.ui.core.Widget.constructor.call(this);this._createChildControl("button-begin");this._createChildControl("slider").addListener("resize",this._onResizeSlider,this);this._createChildControl("button-end");null!=e?this.setOrientation(e):this.initOrientation();this.addListener("track",(e=>{e.stopPropagation()}))},events:{scrollAnimationEnd:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"scrollbar"},orientation:{check:["horizontal","vertical"],init:"horizontal",apply:"_applyOrientation"},maximum:{check:"PositiveInteger",apply:"_applyMaximum",init:100},position:{check:"qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getMaximum()",init:0,apply:"_applyPosition",event:"scroll"},singleStep:{check:"Integer",init:20},pageStep:{check:"Integer",init:10,apply:"_applyPageStep"},knobFactor:{check:"PositiveNumber",apply:"_applyKnobFactor",nullable:!0}},members:{__P_171_0:2,__P_171_1:0,_computeSizeHint(){var e=qx.ui.core.scroll.ScrollBar.superclass.prototype._computeSizeHint.call(this);if("horizontal"===this.getOrientation()){this.__P_171_1=e.minWidth;e.minWidth=0}else{this.__P_171_1=e.minHeight;e.minHeight=0}return e},renderLayout(e,t,r,i){var n=qx.ui.core.scroll.ScrollBar.superclass.prototype.renderLayout.call(this,e,t,r,i),o="horizontal"===this.getOrientation();if(this.__P_171_1>=(o?r:i)){this.getChildControl("button-begin").setVisibility("hidden");this.getChildControl("button-end").setVisibility("hidden")}else{this.getChildControl("button-begin").setVisibility("visible");this.getChildControl("button-end").setVisibility("visible")}return n},_createChildControlImpl(e,t){var r;switch(e){case"slider":(r=new qx.ui.core.scroll.ScrollSlider).setPageStep(100);r.setFocusable(!1);r.addListener("changeValue",this._onChangeSliderValue,this);r.addListener("slideAnimationEnd",this._onSlideAnimationEnd,this);this._add(r,{flex:1});break;case"button-begin":(r=new qx.ui.form.RepeatButton).setFocusable(!1);r.addListener("execute",this._onExecuteBegin,this);this._add(r);break;case"button-end":(r=new qx.ui.form.RepeatButton).setFocusable(!1);r.addListener("execute",this._onExecuteEnd,this);this._add(r)}return r||qx.ui.core.scroll.ScrollBar.superclass.prototype._createChildControlImpl.call(this,e)},_applyMaximum(e){this.getChildControl("slider").setMaximum(e)},_applyPosition(e){this.getChildControl("slider").setValue(e)},_applyKnobFactor(e){this.getChildControl("slider").setKnobFactor(e)},_applyPageStep(e){this.getChildControl("slider").setPageStep(e)},_applyOrientation(e,t){this.getContentElement().setAttribute("aria-orientation",e);var r=this._getLayout();r&&r.dispose();if("horizontal"===e){this._setLayout(new qx.ui.layout.HBox);this.setAllowStretchX(!0);this.setAllowStretchY(!1);this.replaceState("vertical","horizontal");this.getChildControl("button-begin").replaceState("up","left");this.getChildControl("button-end").replaceState("down","right")}else{this._setLayout(new qx.ui.layout.VBox);this.setAllowStretchX(!1);this.setAllowStretchY(!0);this.replaceState("horizontal","vertical");this.getChildControl("button-begin").replaceState("left","up");this.getChildControl("button-end").replaceState("right","down")}this.getChildControl("slider").setOrientation(e)},scrollTo(e,t){this.getChildControl("slider").slideTo(e,t)},scrollBy(e,t){this.getChildControl("slider").slideBy(e,t)},scrollBySteps(e,t){var r=this.getSingleStep();this.getChildControl("slider").slideBy(e*r,t)},updatePosition(e){this.getChildControl("slider").updatePosition(e)},stopScrollAnimation(){this.getChildControl("slider").stopSlideAnimation()},_onExecuteBegin(e){this.scrollBy(-this.getSingleStep(),50)},_onExecuteEnd(e){this.scrollBy(this.getSingleStep(),50)},_onSlideAnimationEnd(){this.fireEvent("scrollAnimationEnd")},_onChangeSliderValue(e){this.setPosition(e.getData())},_onResizeSlider(e){var t=this.getChildControl("slider").getChildControl("knob"),r=t.getSizeHint(),i=!1,n=this.getChildControl("slider").getInnerSize();"vertical"==this.getOrientation()?n.heightthis._onTimeout()),this.getTimeout())},_cancelTimer(){if(this.__P_128_3){clearTimeout(this.__P_128_3);this.__P_128_3=null}},async _onTimeout(){this.__P_128_3=null;let e=this.__P_128_2;try{let t;for(;;){t=await this._runImpl();if(!this.__P_128_1)break;if("queue"==this.getRepeatedTrigger()){this._startTimer();return}}this.__P_128_2=null;e.resolve(t)}catch(t){e.reject(t)}},async _runImpl(){await this.__P_128_0()}}});qxl.datagrid.util.Debounce.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.scroll.MRoll",{properties:{scrollByDrag:{init:!1,check:"Boolean"}},members:{_cancelRoll:null,_addRollHandling(){this.addListener("roll",this._onRoll,this);this.addListener("pointerdown",this._onPointerDownForRoll,this)},_removeRollHandling(){this.removeListener("roll",this._onRoll,this);this.removeListener("pointerdown",this._onPointerDownForRoll,this)},_onPointerDownForRoll(e){this._cancelRoll=e.getPointerId()},_onRoll(e){if("mouse"!=e.getPointerType()||this.getScrollByDrag())if(this._cancelRoll&&e.getMomentum()){e.stopMomentum();this._cancelRoll=null}else{this._cancelRoll=null;var t=this._isChildControlVisible("scrollbar-x"),r=this._isChildControlVisible("scrollbar-y"),i=r?this.getChildControl("scrollbar-y",!0):null,n=t?this.getChildControl("scrollbar-x",!0):null,o=e.getDelta().y,a=e.getDelta().x,s=!r,l=!t;if(i){0!==o&&i.scrollBy(parseInt(o,10));var u=i.getPosition(),c=i.getMaximum();(o<0&&u<=0||o>0&&u>=c)&&(s=!0)}if(n){0!==a&&n.scrollBy(parseInt(a,10));u=n.getPosition(),c=n.getMaximum();(a<0&&u<=0||a>0&&u>=c)&&(l=!0)}l&&s&&e.stopMomentum();(s||0!==a)&&(l||0!==o)&&(l&&s||0===a||0===o)||e.stop()}}}});qx.ui.core.scroll.MRoll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.ui.core.DragDropScrolling":{construct:!0},"qx.Class":{},"qx.ui.core.scroll.MScrollBarFactory":{},"qx.ui.core.Widget":{},"qx.event.Timer":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MDragDropScrolling",{construct(){var e=this;this instanceof qx.ui.core.DragDropScrolling&&(e=this._getWidget());e.addListener("drag",this.__P_172_0,this);e.addListener("dragend",this.__P_172_1,this);this.__P_172_2=["left","right"];this.__P_172_3=["top","bottom"]},properties:{dragScrollThresholdX:{check:"Integer",init:30},dragScrollThresholdY:{check:"Integer",init:30},dragScrollSlowDownFactor:{check:"Float",init:.1}},members:{__P_172_4:null,__P_172_2:null,__P_172_3:null,_findScrollableParent(e){var t=e;if(null===t)return null;for(;t.getLayoutParent();){t=t.getLayoutParent();if(this._isScrollable(t))return t}return null},_isScrollable:e=>qx.Class.hasMixin(e.constructor,qx.ui.core.scroll.MScrollBarFactory),_getBounds(e){var t=e.getContentLocation();e.getScrollAreaContainer&&(t=e.getScrollAreaContainer().getContentLocation());return t},_getEdgeType:(e,t,r)=>-1*e.left<=t&&e.left<0?"left":-1*e.top<=r&&e.top<0?"top":e.right<=t&&e.right>0?"right":e.bottom<=r&&e.bottom>0?"bottom":null,_getAxis(e){if(-1!==this.__P_172_2.indexOf(e))return"x";if(-1!==this.__P_172_3.indexOf(e))return"y";throw new Error("Invalid edge type given ("+e+"). Must be: 'left', 'right', 'top' or 'bottom'")},_getThresholdByEdgeType(e){return-1!==this.__P_172_2.indexOf(e)?this.getDragScrollThresholdX():-1!==this.__P_172_3.indexOf(e)?this.getDragScrollThresholdY():void 0},_isScrollbarVisible:(e,t)=>!(!e||!e._isChildControlVisible)&&e._isChildControlVisible("scrollbar-"+t),_isScrollbarExceedingMaxPos(e,t,r){var i;return!e||((i=e.getPosition()+r)>e.getMaximum()||i<0)},_calculateThresholdExceedance(e,t){var r=t-Math.abs(e);return e<0?-1*r:r},_calculateScrollAmount(e,t){return Math.floor(e/100*t*this.getDragScrollSlowDownFactor())},_scrollBy(e,t,r){var i=e.getChildControl("scrollbar-"+t,!0);if(i){var n=i.getBounds(),o="x"===t?n.width:n.height,a=this._calculateScrollAmount(o,r);this._isScrollbarExceedingMaxPos(i,t,a)&&this.__P_172_4.stop();i.scrollBy(a)}},__P_172_0(e){this.__P_172_4&&this.__P_172_4.stop();var t;if(t=e.getOriginalTarget()instanceof qx.ui.core.Widget?e.getOriginalTarget():qx.ui.core.Widget.getWidgetByElement(e.getOriginalTarget())){var r;r=this._isScrollable(t)?t:this._findScrollableParent(t);for(;r;){var i,n,o=this._getBounds(r),a=e.getDocumentLeft(),s=e.getDocumentTop(),l={left:o.left-a,right:o.right-a,top:o.top-s,bottom:o.bottom-s},u=0;if(i=this._getEdgeType(l,this.getDragScrollThresholdX(),this.getDragScrollThresholdY())){n=this._getAxis(i);if(this._isScrollbarVisible(r,n)){u=this._calculateThresholdExceedance(l[i],this._getThresholdByEdgeType(i));this.__P_172_4&&this.__P_172_4.dispose();this.__P_172_4=new qx.event.Timer(50);this.__P_172_4.addListener("interval",function(e,t,r){this._scrollBy(e,t,r)}.bind(this,r,n,u));this.__P_172_4.start();e.stopPropagation();return}r=this._findScrollableParent(r)}else r=this._findScrollableParent(r)}}},__P_172_1(e){this.__P_172_4&&this.__P_172_4.stop()}},destruct(){this.__P_172_4&&this.__P_172_4.dispose()}});qx.ui.core.MDragDropScrolling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.ui.core.MDragDropScrolling":{require:!0},"qx.core.Init":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.DragDropScrolling",{extend:qx.core.Object,include:[qx.ui.core.MDragDropScrolling],construct(e){qx.core.Object.constructor.call(this);this._widget=e},members:{_widget:null,_getWidget(){return this._widget||qx.core.Init.getApplication().getRoot()}}});qx.ui.core.DragDropScrolling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.scroll.MScrollBarFactory":{require:!0},"qx.ui.core.scroll.MRoll":{require:!0},"qx.ui.core.MDragDropScrolling":{require:!0},"qx.bom.client.Scroll":{construct:!0,require:!0},"qx.ui.layout.Canvas":{construct:!0},"qx.ui.layout.Grid":{construct:!0},"qx.ui.core.scroll.ScrollPane":{},"qx.ui.core.queue.Manager":{}},environment:{provided:[],required:{"os.scrollBarOverlayed":{construct:!0,className:"qx.bom.client.Scroll"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.scroll.AbstractScrollArea",{extend:qx.ui.core.Widget,include:[qx.ui.core.scroll.MScrollBarFactory,qx.ui.core.scroll.MRoll,qx.ui.core.MDragDropScrolling],type:"abstract",statics:{DEFAULT_SCROLLBAR_WIDTH:14},construct(){qx.ui.core.Widget.constructor.call(this);if(qx.core.Environment.get("os.scrollBarOverlayed"))this._setLayout(new qx.ui.layout.Canvas);else{var e=new qx.ui.layout.Grid;e.setColumnFlex(0,1);e.setRowFlex(0,1);this._setLayout(e)}var t=2*qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH+14;this.set({minHeight:t,minWidth:t});this._addRollHandling()},events:{scrollAnimationXEnd:"qx.event.type.Event",scrollAnimationYEnd:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"scrollarea"},width:{refine:!0,init:0},height:{refine:!0,init:0},scrollbarX:{check:["auto","on","off"],init:"auto",themeable:!0,apply:"_computeScrollbars"},scrollbarY:{check:["auto","on","off"],init:"auto",themeable:!0,apply:"_computeScrollbars"},scrollbar:{group:["scrollbarX","scrollbarY"]}},members:{_createChildControlImpl(e,t){var r;switch(e){case"pane":(r=new qx.ui.core.scroll.ScrollPane).addListener("update",this._computeScrollbars,this);r.addListener("scrollX",this._onScrollPaneX,this);r.addListener("scrollY",this._onScrollPaneY,this);qx.core.Environment.get("os.scrollBarOverlayed")?this._add(r,{edge:0}):this._add(r,{row:0,column:0});break;case"scrollbar-x":(r=this._createScrollBar("horizontal")).setMinWidth(0);r.exclude();r.addListener("scroll",this._onScrollBarX,this);r.addListener("changeVisibility",this._onChangeScrollbarXVisibility,this);r.addListener("scrollAnimationEnd",this._onScrollAnimationEnd.bind(this,"X"));if(qx.core.Environment.get("os.scrollBarOverlayed")){r.setMinHeight(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(r,{bottom:0,right:0,left:0})}else this._add(r,{row:1,column:0});break;case"scrollbar-y":(r=this._createScrollBar("vertical")).setMinHeight(0);r.exclude();r.addListener("scroll",this._onScrollBarY,this);r.addListener("changeVisibility",this._onChangeScrollbarYVisibility,this);r.addListener("scrollAnimationEnd",this._onScrollAnimationEnd.bind(this,"Y"));if(qx.core.Environment.get("os.scrollBarOverlayed")){r.setMinWidth(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(r,{right:0,bottom:0,top:0})}else this._add(r,{row:0,column:1});break;case"corner":(r=new qx.ui.core.Widget).setWidth(0);r.setHeight(0);r.exclude();qx.core.Environment.get("os.scrollBarOverlayed")||this._add(r,{row:1,column:1})}return r||qx.ui.core.scroll.AbstractScrollArea.superclass.prototype._createChildControlImpl.call(this,e)},getPaneSize(){return this.getChildControl("pane").getInnerSize()},getItemTop(e){return this.getChildControl("pane").getItemTop(e)},getItemBottom(e){return this.getChildControl("pane").getItemBottom(e)},getItemLeft(e){return this.getChildControl("pane").getItemLeft(e)},getItemRight(e){return this.getChildControl("pane").getItemRight(e)},scrollToX(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-x").scrollTo(e,t)},scrollByX(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-x").scrollBy(e,t)},getScrollX(){var e=this.getChildControl("scrollbar-x",!0);return e?e.getPosition():0},scrollToY(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-y").scrollTo(e,t)},scrollByY(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-y").scrollBy(e,t)},getScrollY(){var e=this.getChildControl("scrollbar-y",!0);return e?e.getPosition():0},stopScrollAnimationX(){var e=this.getChildControl("scrollbar-x",!0);e&&e.stopScrollAnimation()},stopScrollAnimationY(){var e=this.getChildControl("scrollbar-y",!0);e&&e.stopScrollAnimation()},_onScrollAnimationEnd(e){this.fireEvent("scrollAnimation"+e+"End")},_onScrollBarX(e){this.getChildControl("pane").scrollToX(e.getData())},_onScrollBarY(e){this.getChildControl("pane").scrollToY(e.getData())},_onScrollPaneX(e){var t=this.getChildControl("scrollbar-x");t&&t.updatePosition(e.getData())},_onScrollPaneY(e){var t=this.getChildControl("scrollbar-y");t&&t.updatePosition(e.getData())},_onChangeScrollbarXVisibility(e){var t=this._isChildControlVisible("scrollbar-x"),r=this._isChildControlVisible("scrollbar-y");t||this.scrollToX(0);t&&r?this._showChildControl("corner"):this._excludeChildControl("corner")},_onChangeScrollbarYVisibility(e){var t=this._isChildControlVisible("scrollbar-x"),r=this._isChildControlVisible("scrollbar-y");r||this.scrollToY(0);t&&r?this._showChildControl("corner"):this._excludeChildControl("corner")},_computeScrollbars(){var e=this.getChildControl("pane");if(e.getChildren()[0]){var t=this.getInnerSize(),r=e.getInnerSize(),i=e.getScrollSize();if(r&&i){var n=this.getScrollbarX(),o=this.getScrollbarY();if("auto"===n&&"auto"===o){var a=i.width>t.width,s=i.height>t.height;!a&&!s||a&&s||(a?s=i.height>r.height:s&&(a=i.width>r.width))}else{a="on"===n,s="on"===o;i.width>(a?r.width:t.width)&&"auto"===n&&(a=!0);i.height>(a?r.height:t.height)&&"auto"===o&&(s=!0)}if(a){var l=this.getChildControl("scrollbar-x");l.show();l.setMaximum(Math.max(0,i.width-r.width));l.setKnobFactor(0===i.width?0:r.width/i.width)}else this._excludeChildControl("scrollbar-x");if(s){var u=this.getChildControl("scrollbar-y");u.show();u.setMaximum(Math.max(0,i.height-r.height));u.setKnobFactor(0===i.height?0:r.height/i.height)}else this._excludeChildControl("scrollbar-y")}}else{this._excludeChildControl("scrollbar-x");this._excludeChildControl("scrollbar-y")}}}});qx.ui.core.scroll.AbstractScrollArea.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.ui.layout.Layered",{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true(e,t,r){this.assert("layer"==t,"The property '"+t+"' is not supported by the Fixed layout!");this.assertInteger(r)},false:null}),__P_129_0(){let e=[],t=0;this._getLayoutChildren().forEach((r=>{let i=r.getLayoutProperties().layer||0;i>t&&(t=i);let n=e[i];n||(n=e[i]={layerId:i,children:[]});n.children.push(r)}));e.forEach((e=>e.zIndex=t-e.layerId));return e},renderLayout(e,t,r){let i=this.__P_129_0();for(let n in i){let o=r.top,a=i[n];a.children.forEach(((i,n)=>{let s=i.getSizeHint(),l=0;if(n==a.children.length-1)l=t-o-i.getMarginTop()-i.getMarginBottom();else{l=s.height;null!==s.minHeight&&ls.maxHeight&&(l=s.maxHeight)}let u=r.left+i.getMarginLeft();i.getContentElement().setStyle("zIndex",a.zIndex);i.renderLayout(u,o+i.getMarginTop(),e,l);o+=i.getMarginTop()+l+i.getMarginBottom()}))}},_computeSizeHint:()=>({width:10,height:10})}});qxl.datagrid.ui.layout.Layered.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qxl.datagrid.ui.layout.Fixed":{construct:!0},"qxl.datagrid.source.IDataSource":{},"qx.lang.Array":{},"qxl.datagrid.source.Position":{},"qx.ui.basic.Atom":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.ui.OddEvenRowBackgrounds",{extend:qx.ui.core.Widget,construct(e,t,r,i){qx.ui.core.Widget.constructor.call(this);this.__P_130_0=e;this.__P_130_1=i||"qxl-datagrid-row";this._setLayout(new qxl.datagrid.ui.layout.Fixed);this.__P_130_2=r;r.addListener("changeSelectionStyle",(()=>this.updateWidgets()));r.addListener("changeSelection",(()=>{"row"==r.getSelectionStyle()&&this.updateWidgets()}));r.addListener("changeFocused",(()=>{"row"==r.getSelectionStyle()&&this.updateWidgets()}));t&&this.setDataSource(t)},properties:{dataSource:{init:null,check:"qxl.datagrid.source.IDataSource",event:"changeDataSource"}},members:{__P_130_0:null,__P_130_1:null,updateWidgets(){let e=this.__P_130_0.getStyling(),t=this.__P_130_0.getSizes();if(!t)return;let r=null,i=null,n=null;t.rows.forEach((t=>{t.rowIndex>=e.getNumFixedRows()&&(null===n||n>t.rowIndex)&&(n=t.rowIndex);(null===r||r>t.rowIndex)&&(r=t.rowIndex);(null===i||i{let t=e.getUserData("qxl.datagrid.cellData");if(t.rowi){e.setUserData("qxl.datagrid.cellData",null);this._remove(e);e.dispose()}else{let r=t.row;o[r]=e}}));let a=0;t.columns.forEach((e=>a+=e.width));let s=this.__P_130_0.getInitialOffsets().top,l=e.getVerticalSpacing(),u=Math.ceil(l/2),c=l-u;for(let e=0;et.setAppearance(e)))}}});qxl.datagrid.ui.OddEvenRowBackgrounds.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.util.Math",{statics:{clamp(e,t,r){r=Math.max(e,r);return r=Math.min(t,r)},interpolate:(e,t,r,i,n)=>r+(n-e)*(i-r)/(t-e)}});qxl.datagrid.util.Math.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.LayoutItem":{construct:!0,require:!0},"qx.ui.core.queue.Dispose":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.Spacer",{extend:qx.ui.core.LayoutItem,construct(e,t){qx.ui.core.LayoutItem.constructor.call(this);this.setWidth(null!=e?e:0);this.setHeight(null!=t?t:0)},members:{checkAppearanceNeeds(){},addChildrenToQueue(e){},destroy(){if(!this.$$disposed){var e=this.$$parent;e&&e._remove(this);qx.ui.core.queue.Dispose.add(this)}}}});qx.ui.core.Spacer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.Separator",{extend:qx.ui.core.Widget,properties:{appearance:{refine:!0,init:"toolbar-separator"},anonymous:{refine:!0,init:!0},width:{refine:!0,init:0},height:{refine:!0,init:0}}});qx.ui.toolbar.Separator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MRemoteChildrenHandling":{require:!0},"qx.ui.layout.HBox":{construct:!0},"qx.ui.basic.Image":{},"qx.ui.toolbar.PartContainer":{},"qx.ui.toolbar.Separator":{},"qx.ui.menubar.Button":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.Part",{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling],construct(){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.layout.HBox);this._createChildControl("handle")},properties:{appearance:{refine:!0,init:"toolbar/part"},show:{init:"both",check:["both","label","icon"],inheritable:!0,event:"changeShow"},spacing:{nullable:!0,check:"Integer",themeable:!0,apply:"_applySpacing"}},members:{_createChildControlImpl(e,t){var r;switch(e){case"handle":(r=new qx.ui.basic.Image).setAlignY("middle");this._add(r);break;case"container":(r=new qx.ui.toolbar.PartContainer).addListener("syncAppearance",this.__P_131_0,this);this._add(r);r.addListener("changeChildren",(()=>{this.__P_131_0()}))}return r||qx.ui.toolbar.Part.superclass.prototype._createChildControlImpl.call(this,e)},getChildrenContainer(){return this.getChildControl("container")},_applySpacing(e,t){var r=this.getChildControl("container").getLayout();null==e?r.resetSpacing():r.setSpacing(e)},__P_131_0(){var e=this.getChildrenContainer().getChildren();e=e.filter((function(e){return"visible"==e.getVisibility()}));for(var t=0;t0&&(this.__P_175_12=window.setTimeout(this.__P_175_3,this.timeout));this.__P_175_10("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Script,"Send native request");t.insertBefore(e,t.firstChild);window.setTimeout((function(){r._readyStateChange(2);r._readyStateChange(3)}));return this},abort(){if(this.__P_175_7)return null;this.__P_175_8=!0;this.__P_175_13();this._emit("abort");return this},_emit(e){this["on"+e]();this._emitter.emit(e,this)},onreadystatechange(){},onload(){},onloadend(){},onerror(){},onabort(){},ontimeout(){},getResponseHeader(e){if(this.__P_175_7)return null;this.__P_175_10("qx.debug")&&qx.Bootstrap.debug("Response header cannot be determined for requests made with script transport.");return"unknown"},getAllResponseHeaders(){if(this.__P_175_7)return null;this.__P_175_10("qx.debug")&&qx.Bootstrap.debug("Response headers cannot be determined forrequests made with script transport.");return"Unknown response headers"},setDetermineSuccess(e){this.__P_175_6=e},dispose(){var e=this.__P_175_14;if(!this.__P_175_7){if(e){e.onload=e.onreadystatechange=null;this.__P_175_13()}this.__P_175_12&&window.clearTimeout(this.__P_175_12);this.__P_175_7=!0}},isDisposed(){return!!this.__P_175_7},_getUrl(){return this.__P_175_9},_getScriptElement(){return this.__P_175_14},_onTimeout(){this.__P_175_15();this.__P_175_5()||this._emit("error");this._emit("timeout");this.__P_175_5()||this._emit("loadend")},_onNativeLoad(){var e=this.__P_175_14,t=this.__P_175_6,r=this;if(!this.__P_175_8){if("mshtml"===this.__P_175_10("engine.name")&&this.__P_175_10("browser.documentmode")<9){if(!/loaded|complete/.test(e.readyState))return;this.__P_175_10("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Script,"Received native readyState: loaded")}this.__P_175_10("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Script,"Received native load");t&&(this.status||(this.status=t()?200:500));500===this.status&&this.__P_175_10("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Script,"Detected error");this.__P_175_12&&window.clearTimeout(this.__P_175_12);window.setTimeout((function(){r._success();r._readyStateChange(4);r._emit("load");r._emit("loadend")}))}},_onNativeError(){this.__P_175_15();this._emit("error");this._emit("loadend")},__P_175_14:null,__P_175_4:null,__P_175_9:"",__P_175_1:null,__P_175_2:null,__P_175_3:null,__P_175_12:null,__P_175_8:null,__P_175_7:null,__P_175_0(){this.readyState=0;this.status=0;this.statusText=""},_readyStateChange(e){this.readyState=e;this._emit("readystatechange")},_success(){this.__P_175_13();this.readyState=4;this.status||(this.status=200);this.statusText=""+this.status},__P_175_15(){this.__P_175_13();this.readyState=4;this.status=0;this.statusText=null},__P_175_5(){var e="mshtml"===this.__P_175_10("engine.name")&&this.__P_175_10("browser.documentmode")<9,t="opera"===this.__P_175_10("engine.name");return!(e||t)},__P_175_11(){var e=this.__P_175_14=document.createElement("script");e.src=this.__P_175_9;e.onerror=this.__P_175_2;e.onload=this.__P_175_1;"mshtml"===this.__P_175_10("engine.name")&&this.__P_175_10("browser.documentmode")<9&&(e.onreadystatechange=this.__P_175_1);return e},__P_175_13(){var e=this.__P_175_14;e&&e.parentNode&&this.__P_175_4.removeChild(e)},__P_175_10(e){if(qx&&qx.core&&qx.core.Environment)return qx.core.Environment.get(e);if("engine.name"===e)return qx.bom.client.Engine.getName();if("browser.documentmode"===e)return qx.bom.client.Browser.getDocumentMode();if("qx.debug.io"==e)return!1;throw new Error("Unknown environment key at this phase")}},defer(){qx&&qx.core&&qx.core.Environment&&qx.core.Environment.add("qx.debug.io",!1)}});qx.bom.request.Script.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.lang.Function":{construct:!0},"qx.io.request.authentication.IAuthentication":{},"qx.lang.Type":{},"qx.Bootstrap":{},"qx.bom.request.Script":{require:!0},"qx.Promise":{},"qx.lang.String":{},"qx.type.BaseError":{},"qx.lang.Object":{},"qx.event.type.Data":{},"qx.util.Request":{},"qx.util.Serializer":{},"qx.lang.Json":{},"qx.util.Uri":{}},environment:{provided:[],required:{"qx.debug.io":{className:"qx.bom.request.Script"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.io.request.AbstractRequest",{type:"abstract",extend:qx.core.Object,implement:[qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);void 0!==e&&this.setUrl(e);this.__P_173_0={};var t=this._transport=this._createTransport();this._setPhase("unsent");this.__P_173_1=qx.lang.Function.bind(this._onReadyStateChange,this);this.__P_173_2=qx.lang.Function.bind(this._onLoad,this);this.__P_173_3=qx.lang.Function.bind(this._onLoadEnd,this);this.__P_173_4=qx.lang.Function.bind(this._onAbort,this);this.__P_173_5=qx.lang.Function.bind(this._onTimeout,this);this.__P_173_6=qx.lang.Function.bind(this._onError,this);t.onreadystatechange=this.__P_173_1;t.onload=this.__P_173_2;t.onloadend=this.__P_173_3;t.onabort=this.__P_173_4;t.ontimeout=this.__P_173_5;t.onerror=this.__P_173_6},events:{readyStateChange:"qx.event.type.Event",success:"qx.event.type.Event",load:"qx.event.type.Event",loadEnd:"qx.event.type.Event",abort:"qx.event.type.Event",timeout:"qx.event.type.Event",error:"qx.event.type.Event",statusError:"qx.event.type.Event",parseError:"qx.event.type.Data",fail:"qx.event.type.Event",changeResponse:"qx.event.type.Data",changePhase:"qx.event.type.Data"},properties:{url:{check:"String"},timeout:{check:"Number",nullable:!0,init:0},requestData:{check:e=>qx.lang.Type.isString(e)||qx.Class.isSubClassOf(e.constructor,qx.core.Object)||qx.lang.Type.isObject(e)||qx.lang.Type.isArray(e)||"Blob"==qx.Bootstrap.getClass(e)||"ArrayBuffer"==qx.Bootstrap.getClass(e)||"FormData"==qx.Bootstrap.getClass(e),nullable:!0},authentication:{check:"qx.io.request.authentication.IAuthentication",nullable:!0}},members:{__P_173_1:null,__P_173_2:null,__P_173_3:null,__P_173_4:null,__P_173_5:null,__P_173_6:null,__P_173_7:null,__P_173_8:null,__P_173_9:null,__P_173_0:null,__P_173_10:null,_transport:null,_parserFailed:!1,_createTransport(){throw new Error("Abstract method call")},_getConfiguredUrl(){},_getConfiguredRequestHeaders(){},_getParsedResponse(){throw new Error("Abstract method call")},_getMethod:()=>"GET",_isAsync:()=>!0,send(){var e,t,r,i,n=this._transport;e=this._getConfiguredUrl();/\#/.test(e)&&(e=e.replace(/\#.*/,""));n.timeout=this.getTimeout();t=this._getMethod();r=this._isAsync();qx.core.Environment.get("qx.debug.io")&&this.debug("Open low-level request with method: "+t+", url: "+e+", async: "+r);n.open(t,e,r);this._setPhase("opened");i=this.getRequestData();-1==["ArrayBuffer","Blob","FormData"].indexOf(qx.Bootstrap.getClass(i))&&(i=this._serializeData(i));this._setRequestHeaders();qx.core.Environment.get("qx.debug.io")&&this.debug("Send low-level request");"GET"==t?n.send():n.send(i);this._setPhase("sent")},sendWithPromise(e){e=e||this;var t=this;return new qx.Promise((function(e,r){var i=[],n=t.addListener("success",(r=>{i.forEach(t.removeListenerById.bind(t));e(t)}));i.push(n);var o=t.addListener("statusError",(e=>{i.forEach(t.removeListenerById.bind(t));var n=qx.lang.String.format("%1: %2.",[t.getStatus(),t.getStatusText()]),o=new qx.type.BaseError("statusError",n);r(o)}));i.push(o);var a=t.addListener("timeout",(e=>{i.forEach(t.removeListenerById.bind(t));var n=qx.lang.String.format("Request failed with timeout after %1 ms.",[t.getTimeout()]),o=new qx.type.BaseError("timeout",n);r(o)}));i.push(a);var s=t.addListener("parseError",(e=>{i.forEach(t.removeListenerById.bind(t));var n=new qx.type.BaseError("parseError","Error parsing the response.");r(n)}));i.push(s);var l=t.addListener("abort",(e=>{i.forEach(t.removeListenerById.bind(t));var n=new qx.type.BaseError("abort","Request aborted.");r(n)}));i.push(l);var u=t.addListener("error",(e=>{i.forEach(t.removeListenerById.bind(t));var n=new qx.type.BaseError("error","Request failed.");r(n)}));i.push(u);t.send()}),e).finally((function(){4!==t.getReadyState()&&t.abort()}))},abort(){qx.core.Environment.get("qx.debug.io")&&this.debug("Abort request");this.__P_173_8=!0;this.__P_173_9="abort";this._transport.abort()},_setRequestHeaders(){var e=this._transport,t=this._getAllRequestHeaders();for(var r in t)e.setRequestHeader(r,t[r])},_getAllRequestHeaders(){var e={};qx.lang.Object.mergeWith(e,this._getConfiguredRequestHeaders());qx.lang.Object.mergeWith(e,this.__P_173_11());qx.lang.Object.mergeWith(e,this.__P_173_10);qx.lang.Object.mergeWith(e,this.__P_173_0);return e},__P_173_11(){var e=this.getAuthentication(),t={};if(e){e.getAuthHeaders().forEach((function(e){t[e.key]=e.value}));return t}},setRequestHeader(e,t){this.__P_173_0[e]=t},getRequestHeader(e){return this.__P_173_0[e]},removeRequestHeader(e){this.__P_173_0[e]&&delete this.__P_173_0[e]},getTransport(){return this._transport},getReadyState(){return this._transport.readyState},getPhase(){return this.__P_173_9},getStatus(){return this._transport.status},getStatusText(){return this._transport.statusText},getResponseText(){return this._transport.responseText},getAllResponseHeaders(){return this._transport.getAllResponseHeaders()},getResponseHeader(e){return this._transport.getResponseHeader(e)},overrideResponseContentType(e){return this._transport.overrideMimeType(e)},getResponseContentType(){return this.getResponseHeader("Content-Type")},isDone(){return 4===this.getReadyState()},getResponse(){return this.__P_173_7},_setResponse(e){var t=e;if(this.__P_173_7!==e){this.__P_173_7=e;this.fireEvent("changeResponse",qx.event.type.Data,[this.__P_173_7,t])}},_onReadyStateChange(){var e=this.getReadyState();qx.core.Environment.get("qx.debug.io")&&this.debug("Fire readyState: "+e);this.fireEvent("readyStateChange");if(!this.__P_173_8){3===e&&this._setPhase("loading");this.isDone()&&this.__P_173_12()}},__P_173_12(){qx.core.Environment.get("qx.debug.io")&&this.debug("Request completed with HTTP status: "+this.getStatus());this._setPhase("load");if(qx.util.Request.isSuccessful(this.getStatus())){qx.core.Environment.get("qx.debug.io")&&this.debug("Response is of type: '"+this.getResponseContentType()+"'");this._setResponse(this._getParsedResponse());this._parserFailed?this.fireEvent("fail"):this._fireStatefulEvent("success")}else{try{this._setResponse(this._getParsedResponse())}catch(e){}if(0!==this.getStatus()){this._fireStatefulEvent("statusError");this.fireEvent("fail")}}},_onLoad(){this.fireEvent("load")},_onLoadEnd(){this.fireEvent("loadEnd")},_onAbort(){this._fireStatefulEvent("abort")},_onTimeout(){this._fireStatefulEvent("timeout");this.fireEvent("fail")},_onError(){this.fireEvent("error");this.fireEvent("fail")},_fireStatefulEvent(e){this._setPhase(e);this.fireEvent(e)},_setPhase(e){var t=this.__P_173_9;this.__P_173_9=e;this.fireDataEvent("changePhase",e,t)},_serializeData(e){var t=void 0!==this.getMethod&&"POST"==this.getMethod(),r=/application\/.*\+?json/.test(this.getRequestHeader("Content-Type"));return e?qx.lang.Type.isString(e)?e:qx.Class.isSubClassOf(e.constructor,qx.core.Object)?qx.util.Serializer.toUriParameter(e):r&&(qx.lang.Type.isObject(e)||qx.lang.Type.isArray(e))?qx.lang.Json.stringify(e):qx.lang.Type.isObject(e)?qx.util.Uri.toParameter(e,t):null:null}},environment:{"qx.debug.io":!1},destruct(){var e=this._transport;if(this._transport){e.onreadystatechange=e.onload=e.onloadend=e.onabort=e.ontimeout=e.onerror=function(){};window.setTimeout((function(){e.dispose()}),0)}this.__P_173_7=null}});qx.io.request.AbstractRequest.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.io.request.AbstractRequest":{construct:!0,require:!0},"qx.lang.Type":{},"qx.bom.request.Xhr":{},"qx.util.Uri":{},"qx.util.Request":{},"qx.Bootstrap":{},"qx.bom.request.Script":{require:!0},"qx.util.ResponseParser":{}},environment:{provided:[],required:{"qx.debug.io":{className:"qx.bom.request.Script"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.io.request.Xhr",{extend:qx.io.request.AbstractRequest,construct(e,t){void 0!==t&&this.setMethod(t);qx.io.request.AbstractRequest.constructor.call(this,e);this._parser=this._createResponseParser()},events:{readyStateChange:"qx.event.type.Event",success:"qx.event.type.Event",load:"qx.event.type.Event",statusError:"qx.event.type.Event"},properties:{method:{init:"GET"},async:{check:"Boolean",init:!0},accept:{check:"String",nullable:!0},cache:{check:e=>qx.lang.Type.isBoolean(e)||qx.lang.Type.isString(e),init:!0}},members:{_parser:null,_createTransport:()=>new qx.bom.request.Xhr,_getConfiguredUrl(){var e,t=this.getUrl();if("GET"===this.getMethod()&&this.getRequestData()){e=this._serializeData(this.getRequestData());t=qx.util.Uri.appendParamsToUrl(t,e)}!1===this.getCache()&&(t=qx.util.Uri.appendParamsToUrl(t,{nocache:(new Date).valueOf()}));return t},_getConfiguredRequestHeaders(){var e={},t=qx.util.Request.methodAllowsRequestBody(this.getMethod()),r="FormData"==qx.Bootstrap.getClass(this.getRequestData());qx.util.Request.isCrossDomain(this.getUrl())||(e["X-Requested-With"]="XMLHttpRequest");qx.lang.Type.isString(this.getCache())&&(e["Cache-Control"]=this.getCache());this.getRequestData()&&t&&!r&&(e["Content-Type"]="application/x-www-form-urlencoded");if(this.getAccept()){qx.core.Environment.get("qx.debug.io")&&this.debug("Accepting: '"+this.getAccept()+"'");e.Accept=this.getAccept()}return e},_getMethod(){return this.getMethod()},_isAsync(){return this.isAsync()},_createResponseParser:()=>new qx.util.ResponseParser,_getParsedResponse(){var e="blob"===this._transport.responseType?this._transport.response:this._transport.responseText,t=this.getResponseContentType()||"",r="";try{r=this._parser.parse(e,t);this._parserFailed=!1}catch(t){this._parserFailed=!0;this.fireDataEvent("parseError",{error:t,response:e})}return r},setParser(e){return this._parser.setParser(e)}}});qx.io.request.Xhr.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qxl.datagrid.column.tree.ExpansionLayout":{construct:!0},"qx.ui.core.queue.Layout":{},"qx.ui.basic.Image":{},"qx.ui.basic.Label":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.tree.ExpansionWidget",{extend:qx.ui.core.Widget,construct(){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qxl.datagrid.column.tree.ExpansionLayout);this._add(this.getChildControl("expander"));this._add(this.getChildControl("icon"));this._add(this.getChildControl("label"));this.addListener("tap",(e=>{let t=this.getState();"open"==t?this.setState("closed"):"closed"==t&&this.setState("open")}))},properties:{appearance:{refine:!0,init:"qxl-datagrid-cell"},value:{init:null,nullable:!0,check:"String",event:"changeValue",apply:"__P_133_0"},icon:{init:null,nullable:!0,check:"String",event:"changeIcon",apply:"__P_133_1"},state:{init:"none",check:["none","open","closed"],apply:"__P_133_2",event:"changeState"},stateIconNone:{init:null,check:"String",apply:"_updateIcon",themeable:!0},stateIconOpen:{init:"@MaterialIcons/expand_more/16",check:"String",apply:"_updateIcon",themeable:!0},stateIconClosed:{init:"@MaterialIcons/chevron_right/16",check:"String",apply:"_updateIcon",themeable:!0},spacePerIndentation:{init:20,check:"Integer",themeable:!0},expanderWidth:{init:null,nullable:!0,check:"Integer",themeable:!0},indentationLevel:{init:0,check:"Integer",apply:"__P_133_3"}},members:{_forwardStates:{selected:!0},__P_133_0(e){this.getChildControl("label").setValue(e||"")},__P_133_1(e){this.getChildControl("icon").setSource(e||null)},__P_133_3(e,t){qx.ui.core.queue.Layout.add(this)},__P_133_2(e,t){this._updateIcon()},_updateIcon(){let e;switch(this.getState()){case"none":e=this.getStateIconNone();break;case"open":e=this.getStateIconOpen();break;case"closed":e=this.getStateIconClosed()}let t=this.getChildControl("expander");e?t.set({source:e,visibility:"visible"}):t.setVisibility("hidden")},_createChildControlImpl(e){switch(e){case"expander":return(new qx.ui.basic.Image).set({visibility:"hidden",anonymous:!0});case"icon":return(new qx.ui.basic.Image).set({anonymous:!0});case"label":return(new qx.ui.basic.Label).set({allowGrowX:!0,anonymous:!0})}return qxl.datagrid.column.tree.ExpansionWidget.superclass.prototype._createChildControlImpl.call(this,e)}}});qxl.datagrid.column.tree.ExpansionWidget.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.locale.Manager":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.locale.Date",{statics:{__P_134_0:qx.locale.Manager.getInstance(),getAmMarker(e){return this.__P_134_0.localize("cldr_am",[],e)},getPmMarker(e){return this.__P_134_0.localize("cldr_pm",[],e)},getDayNames(e,t,r,i){r=r||"format";for(var n=["sun","mon","tue","wed","thu","fri","sat"],o=[],a=0;ar?e>=r&&e<=i:e>=r||e<=i},_getTerritory(e){if(e)var t=e.split("_")[1]||e;else t=this.__P_134_0.getTerritory()||this.__P_134_0.getLanguage();return t.toUpperCase()},__P_134_1(e,t,r,i){var n=this.__P_134_0.localize(r,[],i);if(n==r){var o=r.replace("_"+e+"_","_"+t+"_");return this.__P_134_0.localize(o,[],i)}return n}}});qx.locale.Date.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{},"qx.event.util.Keyboard":{},"qx.lang.String":{},"qx.locale.Key":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.Shortcut",{extend:qx.core.Object,implement:[qx.core.IDisposable],construct(e){qx.core.Object.constructor.call(this);this.__P_218_0={};this.__P_218_1=null;null!=e&&this.setShortcut(e);this.initEnabled()},events:{execute:"qx.event.type.Data"},properties:{enabled:{init:!0,check:"Boolean",event:"changeEnabled",apply:"_applyEnabled"},shortcut:{check:"String",apply:"_applyShortcut",nullable:!0},autoRepeat:{check:"Boolean",init:!1}},members:{__P_218_0:"",__P_218_1:"",execute(e){this.fireDataEvent("execute",e)},__P_218_2(e){if(this.getEnabled()&&this.__P_218_3(e)){this.isAutoRepeat()||this.execute(e.getTarget());e.stop()}},__P_218_4(e){if(this.getEnabled()&&this.__P_218_3(e)){this.isAutoRepeat()&&this.execute(e.getTarget());e.stop()}},_applyEnabled(e,t){if(e){qx.event.Registration.addListener(document.documentElement,"keydown",this.__P_218_2,this);qx.event.Registration.addListener(document.documentElement,"keypress",this.__P_218_4,this)}else{qx.event.Registration.removeListener(document.documentElement,"keydown",this.__P_218_2,this);qx.event.Registration.removeListener(document.documentElement,"keypress",this.__P_218_4,this)}},_applyShortcut(e,t){if(e){if(-1!=e.search(/[\s]+/)){var r="Whitespaces are not allowed within shortcuts";this.error(r);throw new Error(r)}this.__P_218_0={Control:!1,Shift:!1,Meta:!1,Alt:!1};this.__P_218_1=null;for(var i,n=[];e.length>0&&-1!=i;){i=e.search(/[-+]+/);n.push(1==e.length||-1==i?e:e.substring(0,i));e=e.substring(i+1)}for(var o=n.length,a=0;a="a"&&e<="z")return e.toUpperCase();e=e.toLowerCase();var r=this.__P_218_6[e]||qx.lang.String.firstUp(e);return t.isValidKeyIdentifier(r)?r:"Unidentified"},toString(){var e=this.__P_218_1,t=[];for(var r in this.__P_218_0)this.__P_218_0[r]&&t.push(qx.locale.Key.getKeyName("short",r));e&&t.push(qx.locale.Key.getKeyName("short",e));return t.join("+")}},destruct(){this.setEnabled(!1);this.__P_218_0=this.__P_218_1=null}});qx.bom.Shortcut.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qx.ui.form.IField":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.INumberForm",{extend:qx.ui.form.IField,events:{changeValue:"qx.event.type.Data"},members:{setValue(e){return 1==arguments.length},resetValue(){},getValue(){}}});qx.ui.form.INumberForm.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IRange",{members:{setMinimum(e){return 1==arguments.length},getMinimum(){},setMaximum(e){return 1==arguments.length},getMaximum(){},setSingleStep(e){return 1==arguments.length},getSingleStep(){},setPageStep(e){return 1==arguments.length},getPageStep(){}}});qx.ui.form.IRange.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.form.IForm":{require:!0},"qx.ui.form.INumberForm":{require:!0},"qx.ui.form.IRange":{require:!0},"qx.ui.form.MForm":{require:!0},"qx.ui.layout.Canvas":{construct:!0},"qx.theme.manager.Decoration":{},"qx.bom.element.Location":{},"qx.event.Timer":{},"qx.bom.AnimationFrame":{},"qx.event.type.Data":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.Slider",{extend:qx.ui.core.Widget,implement:[qx.ui.form.IForm,qx.ui.form.INumberForm,qx.ui.form.IRange],include:[qx.ui.form.MForm],construct(e){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.layout.Canvas);this.getContentElement().setAttribute("role","slider");this.addListener("keypress",this._onKeyPress,this);this.addListener("roll",this._onRoll,this);this.addListener("pointerdown",this._onPointerDown,this);this.addListener("pointerup",this._onPointerUp,this);this.addListener("losecapture",this._onPointerUp,this);this.addListener("resize",this._onUpdate,this);this.addListener("contextmenu",this._onStopEvent,this);this.addListener("tap",this._onStopEvent,this);this.addListener("dbltap",this._onStopEvent,this);null!=e?this.setOrientation(e):this.initOrientation()},events:{changeValue:"qx.event.type.Data",slideAnimationEnd:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"slider"},focusable:{refine:!0,init:!0},orientation:{check:["horizontal","vertical"],init:"horizontal",apply:"_applyOrientation"},value:{check:"typeof value==='number'&&value>=this.getMinimum()&&value<=this.getMaximum()",init:0,apply:"_applyValue",nullable:!0},minimum:{check:"Integer",init:0,apply:"_applyMinimum",event:"changeMinimum"},maximum:{check:"Integer",init:100,apply:"_applyMaximum",event:"changeMaximum"},singleStep:{check:"Integer",init:1},pageStep:{check:"Integer",init:10},knobFactor:{check:"Number",apply:"_applyKnobFactor",nullable:!0}},members:{__P_219_0:null,__P_219_1:null,__P_219_2:null,__P_219_3:null,__P_219_4:null,__P_219_5:null,__P_219_6:null,__P_219_7:null,__P_219_8:null,__P_219_9:null,__P_219_10:null,__P_219_11:null,__P_219_12:null,_forwardStates:{invalid:!0},renderLayout(e,t,r,i){qx.ui.form.Slider.superclass.prototype.renderLayout.call(this,e,t,r,i);this._updateKnobPosition()},_createChildControlImpl(e,t){var r;if("knob"===e){(r=new qx.ui.core.Widget).addListener("resize",this._onUpdate,this);r.addListener("pointerover",this._onPointerOver,this);r.addListener("pointerout",this._onPointerOut,this);this._add(r)}return r||qx.ui.form.Slider.superclass.prototype._createChildControlImpl.call(this,e)},_onPointerOver(e){this.addState("hovered")},_onPointerOut(e){this.removeState("hovered")},_onRoll(e){if("wheel"==e.getPointerType()){var t="horizontal"===this.getOrientation()?"x":"y",r=e.getDelta()[t],i=r>0?1:r<0?-1:0;this.slideBy(i*this.getSingleStep());e.stop()}},_onKeyPress(e){var t="horizontal"===this.getOrientation(),r=t?"Left":"Up",i=t?"Right":"Down";switch(e.getKeyIdentifier()){case i:this.slideForward();break;case r:this.slideBack();break;case"PageDown":this.slidePageForward(100);break;case"PageUp":this.slidePageBack(100);break;case"Home":this.slideToBegin(200);break;case"End":this.slideToEnd(200);break;default:return}e.stop()},_onPointerDown(e){if(!this.__P_219_3){var t=this.__P_219_13,r=this.getChildControl("knob"),i=t?"left":"top",n=t?e.getDocumentLeft():e.getDocumentTop(),o=this.getDecorator();o=qx.theme.manager.Decoration.getInstance().resolve(o);if(t)var a=o?o.getInsets().left:0,s=(this.getPaddingLeft()||0)+a;else a=o?o.getInsets().top:0,s=(this.getPaddingTop()||0)+a;var l=this.__P_219_0=qx.bom.element.Location.get(this.getContentElement().getDomElement())[i];l+=s;var u=this.__P_219_1=qx.bom.element.Location.get(r.getContentElement().getDomElement())[i];if(e.getTarget()===r){this.__P_219_3=!0;if(!this.__P_219_9){this.__P_219_9=new qx.event.Timer(100);this.__P_219_9.addListener("interval",this._fireValue,this)}this.__P_219_9.start();this.__P_219_4=n+l-u;r.addState("pressed")}else{this.__P_219_5=!0;this.__P_219_6=n<=u?-1:1;this.__P_219_14(e);this._onInterval();if(!this.__P_219_8){this.__P_219_8=new qx.event.Timer(100);this.__P_219_8.addListener("interval",this._onInterval,this)}this.__P_219_8.start()}this.addListener("pointermove",this._onPointerMove,this);this.capture();e.stopPropagation()}},_onPointerUp(e){if(this.__P_219_3){this.releaseCapture();delete this.__P_219_3;this.__P_219_9.stop();this._fireValue();delete this.__P_219_4;this.getChildControl("knob").removeState("pressed");if("pointerup"===e.getType()){var t,r,i;if(this.__P_219_13){t=e.getDocumentLeft()-(this._valueToPosition(this.getValue())+this.__P_219_0);i=qx.bom.element.Location.get(this.getContentElement().getDomElement()).top;r=e.getDocumentTop()-(i+this.getChildControl("knob").getBounds().top)}else{t=e.getDocumentTop()-(this._valueToPosition(this.getValue())+this.__P_219_0);i=qx.bom.element.Location.get(this.getContentElement().getDomElement()).left;r=e.getDocumentLeft()-(i+this.getChildControl("knob").getBounds().left)}(r<0||r>this.__P_219_2||t<0||t>this.__P_219_2)&&this.getChildControl("knob").removeState("hovered")}}else if(this.__P_219_5){this.__P_219_8.stop();this.releaseCapture();delete this.__P_219_5;delete this.__P_219_6;delete this.__P_219_7}this.removeListener("pointermove",this._onPointerMove,this);"pointerup"===e.getType()&&e.stopPropagation()},_onPointerMove(e){if(this.__P_219_3){var t=(this.__P_219_13?e.getDocumentLeft():e.getDocumentTop())-this.__P_219_4;this.slideTo(this._positionToValue(t))}else this.__P_219_5&&this.__P_219_14(e);e.stopPropagation()},_onInterval(e){var t=this.getValue()+this.__P_219_6*this.getPageStep();tthis.getMaximum()&&(t=this.getMaximum());var r=-1==this.__P_219_6;(r&&t<=this.__P_219_7||!r&&t>=this.__P_219_7)&&(t=this.__P_219_7);this.slideTo(t)},_onUpdate(e){var t=this.getInnerSize(),r=this.getChildControl("knob").getBounds(),i=this.__P_219_13?"width":"height";this._updateKnobSize();this.__P_219_15=t[i]-r[i];this.__P_219_2=r[i];this._updateKnobPosition()},__P_219_13:!1,__P_219_15:0,__P_219_14(e){var t=this.__P_219_13?e.getDocumentLeft():e.getDocumentTop(),r=this.__P_219_0,i=this.__P_219_1,n=this.__P_219_2,o=t-r;t>=i&&(o-=n);var a=this._positionToValue(o),s=this.getMinimum(),l=this.getMaximum();if(al)a=l;else{var u=this.getValue(),c=this.getPageStep(),h=this.__P_219_6<0?"floor":"ceil";a=u+Math[h]((a-u)/c)*c}(null==this.__P_219_7||-1==this.__P_219_6&&a<=this.__P_219_7||1==this.__P_219_6&&a>=this.__P_219_7)&&(this.__P_219_7=a)},_positionToValue(e){var t=this.__P_219_15;if(null==t||0==t)return 0;var r=e/t;r<0?r=0:r>1&&(r=1);var i=this.getMaximum()-this.getMinimum();return this.getMinimum()+Math.round(i*r)},_valueToPosition(e){var t=this.__P_219_15;if(null==t)return 0;var r=this.getMaximum()-this.getMinimum();if(0==r)return 0;var i=(e=e-this.getMinimum())/r;i<0?i=0:i>1&&(i=1);return Math.round(t*i)},_updateKnobPosition(){this._setKnobPosition(this._valueToPosition(this.getValue()))},_setKnobPosition(e){var t=this.getChildControl("knob"),r=this.getDecorator();r=qx.theme.manager.Decoration.getInstance().resolve(r);var i=t.getContentElement();if(this.__P_219_13){r&&r.getPadding()&&(e+=r.getPadding().left);e+=this.getPaddingLeft()||0;i.setStyle("left",e+"px",!0)}else{r&&r.getPadding()&&(e+=r.getPadding().top);e+=this.getPaddingTop()||0;i.setStyle("top",e+"px",!0)}},_updateKnobSize(){var e=this.getKnobFactor();if(null!=e){var t=this.getInnerSize();null!=t&&(this.__P_219_13?this.getChildControl("knob").setWidth(Math.round(e*t.width)):this.getChildControl("knob").setHeight(Math.round(e*t.height)))}},slideToBegin(e){this.slideTo(this.getMinimum(),e)},slideToEnd(e){this.slideTo(this.getMaximum(),e)},slideForward(){this.slideBy(this.getSingleStep())},slideBack(){this.slideBy(-this.getSingleStep())},slidePageForward(e){this.slideBy(this.getPageStep(),e)},slidePageBack(e){this.slideBy(-this.getPageStep(),e)},slideBy(e,t){this.slideTo(this.getValue()+e,t)},slideTo(e,t){this.stopSlideAnimation();t?this.__P_219_16(e,t):this.updatePosition(e)},updatePosition(e){this.setValue(this.__P_219_17(e))},stopSlideAnimation(){if(this.__P_219_12){this.__P_219_12.cancelSequence();this.__P_219_12=null}},__P_219_17(e){return e=ethis.getMaximum()?this.getMaximum():this.getMinimum()+Math.round((e-this.getMinimum())/this.getSingleStep())*this.getSingleStep()},__P_219_16(e,t){e=this.__P_219_17(e);var r=this.getValue();this.__P_219_12=new qx.bom.AnimationFrame;this.__P_219_12.on("frame",(function(i){this.setValue(parseInt(i/t*(e-r)+r))}),this);this.__P_219_12.on("end",(function(){this.setValue(e);this.__P_219_12=null;this.fireEvent("slideAnimationEnd")}),this);this.__P_219_12.startSequence(t)},_applyOrientation(e,t){this.getContentElement().setAttribute("aria-orientation",e);var r=this.getChildControl("knob");this.__P_219_13="horizontal"===e;if(this.__P_219_13){this.removeState("vertical");r.removeState("vertical");this.addState("horizontal");r.addState("horizontal");r.setLayoutProperties({top:0,right:null,bottom:0})}else{this.removeState("horizontal");r.removeState("horizontal");this.addState("vertical");r.addState("vertical");r.setLayoutProperties({right:0,bottom:null,left:0})}this._updateKnobPosition()},_applyKnobFactor(e,t){null!=e?this._updateKnobSize():this.__P_219_13?this.getChildControl("knob").resetWidth():this.getChildControl("knob").resetHeight()},_applyValue(e,t){if(null!=e){this.getContentElement().setAttribute("aria-valuenow",e);this._updateKnobPosition();this.__P_219_3?this.__P_219_11=[e,t]:this.fireEvent("changeValue",qx.event.type.Data,[e,t])}else this.resetValue()},_fireValue(){if(this.__P_219_11){var e=this.__P_219_11;this.__P_219_11=null;this.fireEvent("changeValue",qx.event.type.Data,e)}},_applyMinimum(e,t){this.getContentElement().setAttribute("aria-valuemin",e);this.getValue()e&&this.setValue(e);this._updateKnobPosition()}}});qx.ui.form.Slider.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Slider":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.scroll.ScrollSlider",{extend:qx.ui.form.Slider,construct(e){qx.ui.form.Slider.constructor.call(this,e);this.removeListener("keypress",this._onKeyPress);this.removeListener("roll",this._onRoll)},members:{_createChildControlImpl(e,t){var r;if("knob"===e)(r=qx.ui.core.scroll.ScrollSlider.superclass.prototype._createChildControlImpl.call(this,e)).addListener("dblclick",(function(e){e.stopPropagation()}));return r||qx.ui.core.scroll.ScrollSlider.superclass.prototype._createChildControlImpl.call(this,e)},getSizeHint(e){var t=qx.ui.core.scroll.ScrollSlider.superclass.prototype.getSizeHint.call(this);"horizontal"===this.getOrientation()?t.width=0:t.height=0;return t}}});qx.ui.core.scroll.ScrollSlider.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.io.request.authentication.IAuthentication",{members:{getAuthHeaders(){}}});qx.io.request.authentication.IAuthentication.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.Uri":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.Request",{statics:{isCrossDomain(e){var t=qx.util.Uri.parseUri(e),r=window.location;if(!r)return!1;var i=r.protocol;return-1!==e.indexOf("//")&&(i.substr(0,i.length-1)!=t.protocol||r.host!==t.authority||r.port!==t.port)},isSuccessful:e=>e>=200&&e<300||304===e,isMethod:e=>-1!==["GET","POST","PUT","DELETE","HEAD","OPTIONS","TRACE","CONNECT","PATCH"].indexOf(e),methodAllowsRequestBody:e=>!/^(GET|HEAD)$/.test(e)}});qx.util.Request.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.util.PropertyUtil":{},"qx.lang.String":{},"qx.lang.Type":{},"qx.core.Object":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.Serializer",{statics:{toUriParameter(e,t,r){var i="",n=qx.util.PropertyUtil.getAllProperties(e.constructor);for(var o in n)if(null==n[o].group){var a=e["get"+qx.lang.String.firstUp(o)]();if(qx.lang.Type.isArray(a))for(var s=qx.data&&qx.data.IListData&&qx.Class.hasInterface(a&&a.constructor,qx.data.IListData),l=0;lqx.bom.request.Xhr.UNSENT){this.dispose();this.__P_174_8()}this.__P_174_18.onreadystatechange=this.__P_174_1;try{qx.core.Environment.get("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Xhr,"Open native request with method: "+e+", url: "+t+", async: "+r);this.__P_174_18.open(e,t,r,i,n)}catch(o){if(!qx.util.Request.isCrossDomain(t))throw o;this.__P_174_16||(this.__P_174_19=o);if(this.__P_174_16){if(window.XDomainRequest){this.readyState=4;this.__P_174_18=new window.XDomainRequest;this.__P_174_18.onerror=qx.Bootstrap.bind((function(){this._emit("readystatechange");this._emit("error");this._emit("loadend")}),this);qx.core.Environment.get("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Xhr,"Retry open native request with method: "+e+", url: "+t+", async: "+r);this.__P_174_18.open(e,t,r,i,n);return}window.setTimeout(qx.Bootstrap.bind((function(){if(!this.__P_174_20){this.readyState=4;this._emit("readystatechange");this._emit("error");this._emit("loadend")}}),this))}}"mshtml"===qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9&&this.__P_174_18.readyState>0&&this.__P_174_18.setRequestHeader("If-Modified-Since","-1");if("gecko"===qx.core.Environment.get("engine.name")&&parseInt(qx.core.Environment.get("engine.version"),10)<2&&!this.__P_174_16){this.readyState=qx.bom.request.Xhr.OPENED;this._emit("readystatechange")}},setRequestHeader(e,t){this.__P_174_11();"If-Match"!=e&&"If-Modified-Since"!=e&&"If-None-Match"!=e&&"If-Range"!=e||(this.__P_174_14=!0);this.__P_174_18.setRequestHeader(e,t);return this},send(e){this.__P_174_11();if(!this.__P_174_16&&this.__P_174_19)throw this.__P_174_19;"opera"===qx.core.Environment.get("engine.name")&&0===this.timeout&&(this.timeout=1e4);this.timeout>0&&(this.__P_174_21=window.setTimeout(this.__P_174_6,this.timeout));e=void 0===e?null:e;var t=qx.Bootstrap.getClass(e);e=null!==e&&-1===this.__P_174_22.indexOf(t)?e.toString():e;try{qx.core.Environment.get("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Xhr,"Send native request");this.__P_174_16&&(this.__P_174_18.responseType=this.responseType);this.__P_174_18.send(e)}catch(e){if(!this.__P_174_16)throw e;if("file:"===this._getProtocol()){this.readyState=2;this.__P_174_23();var r=this;window.setTimeout((function(){if(!r.__P_174_20){r.readyState=3;r.__P_174_23();r.readyState=4;r.__P_174_23()}}))}}"gecko"!==qx.core.Environment.get("engine.name")||this.__P_174_16||this.__P_174_0();this.__P_174_13=!0;return this},abort(){this.__P_174_11();this.__P_174_12=!0;this.__P_174_18.abort();this.__P_174_18&&this.readyState!==qx.bom.request.Xhr.DONE&&(this.readyState=this.__P_174_18.readyState);return this},_emit(e){this["on"+e]&&this["on"+e]();this._emitter.emit(e,this)},onreadystatechange(){},onload(){},onloadend(){},onerror(){},onabort(){},ontimeout(){},onprogress(){},on(e,t,r){this._emitter.on(e,t,r);return this},getResponseHeader(e){this.__P_174_11();return 9===qx.core.Environment.get("browser.documentmode")&&this.__P_174_18.aborted?"":this.__P_174_18.getResponseHeader(e)},getAllResponseHeaders(){this.__P_174_11();return 9===qx.core.Environment.get("browser.documentmode")&&this.__P_174_18.aborted?"":this.__P_174_18.getAllResponseHeaders()},overrideMimeType(e){this.__P_174_11();if(!this.__P_174_18.overrideMimeType)throw new Error("Native XHR object doesn't support overrideMimeType.");this.__P_174_18.overrideMimeType(e);return this},getRequest(){return this.__P_174_18},dispose(){if(this.__P_174_20)return!1;window.clearTimeout(this.__P_174_21);window.detachEvent&&window.detachEvent("onunload",this.__P_174_9);try{this.__P_174_18.onreadystatechange}catch(e){return!1}var e=function(){};this.__P_174_18.onreadystatechange=e;this.__P_174_18.onload=e;this.__P_174_18.onerror=e;this.__P_174_18.onprogress=e;this.abort();this.__P_174_18=null;this.responseText=null;this.__P_174_20=!0;return!0},isDisposed(){return!!this.__P_174_20},_createNativeXhr(){var e=qx.core.Environment.get("io.xhr");if("xhr"===e)return new XMLHttpRequest;if("activex"==e)return new window.ActiveXObject("Microsoft.XMLHTTP");qx.Bootstrap.error(this,"No XHR support available.")},_getProtocol(){var e=this.__P_174_15;if(null!==e&&e.match){var t=e.match(/^(\w+:)\/\//);if(t&&t[1])return t[1]}return window.location.protocol},__P_174_18:null,__P_174_16:null,__P_174_1:null,__P_174_2:null,__P_174_4:null,__P_174_9:null,__P_174_6:null,__P_174_13:null,__P_174_15:null,__P_174_12:null,__P_174_24:null,__P_174_20:null,__P_174_21:null,__P_174_19:null,__P_174_14:null,__P_174_22:null,__P_174_8(){this.__P_174_18=this._createNativeXhr();this.__P_174_18.onreadystatechange=this.__P_174_1;"Undefined"!==qx.Bootstrap.getClass(this.__P_174_18.onabort)&&(this.__P_174_18.onabort=this.__P_174_2);if("Undefined"!==qx.Bootstrap.getClass(this.__P_174_18.onprogress)){this.__P_174_18.onprogress=this.__P_174_4;this.progress={lengthComputable:!1,loaded:0,total:0}}this.__P_174_20=this.__P_174_13=this.__P_174_12=!1;this.__P_174_22=["ArrayBuffer","Blob","File","HTMLDocument","String","FormData"]},__P_174_3(){this.__P_174_12||this.abort()},__P_174_5(e){this.progress.lengthComputable=e.lengthComputable;this.progress.loaded=e.loaded;this.progress.total=e.total;this._emit("progress")},__P_174_0(){var e=this.__P_174_18,t=!0;qx.core.Environment.get("qx.debug.io")&&qx.Bootstrap.debug(qx.bom.request.Xhr,"Received native readyState: "+e.readyState);if(this.readyState!=e.readyState){this.readyState=e.readyState;if((this.readyState!==qx.bom.request.Xhr.DONE||!this.__P_174_12||this.__P_174_13)&&(this.__P_174_16||2!=e.readyState&&3!=e.readyState)){this.status=0;this.statusText=this.responseText="";this.responseXML=null;this.response=null;if(this.readyState>=qx.bom.request.Xhr.HEADERS_RECEIVED){try{this.status=e.status;this.statusText=e.statusText;this.response=e.response;""!==this.responseType&&"text"!==this.responseType||(this.responseText=e.responseText);""!==this.responseType&&"document"!==this.responseType||(this.responseXML=e.responseXML)}catch(e){t=!1}if(t){this.__P_174_25();this.__P_174_26()}}this.__P_174_23();this.readyState==qx.bom.request.Xhr.DONE&&e&&(e.onreadystatechange=function(){})}}},__P_174_23(){this.readyState===qx.bom.request.Xhr.DONE&&window.clearTimeout(this.__P_174_21);this._emit("readystatechange");this.readyState===qx.bom.request.Xhr.DONE&&this.__P_174_27()},__P_174_27(){if(this.__P_174_24){this._emit("timeout");"opera"===qx.core.Environment.get("engine.name")&&this._emit("error");this.__P_174_24=!1}else this.__P_174_12?this._emit("abort"):this.__P_174_28()?this._emit("error"):this._emit("load");this._emit("loadend")},__P_174_28(){return"file:"===this._getProtocol()?!this.responseText:0===this.status},__P_174_7(){var e=this.__P_174_18;this.readyState=qx.bom.request.Xhr.DONE;this.__P_174_24=!0;e.aborted=!0;e.abort();this.responseText="";this.responseXML=null;this.__P_174_23()},__P_174_25(){var e=this.readyState===qx.bom.request.Xhr.DONE;"file:"===this._getProtocol()&&0===this.status&&e&&(this.__P_174_28()||(this.status=200));1223===this.status&&(this.status=204);"opera"===qx.core.Environment.get("engine.name")&&e&&this.__P_174_14&&!this.__P_174_12&&0===this.status&&(this.status=304)},__P_174_26(){if("mshtml"==qx.core.Environment.get("engine.name")&&(this.getResponseHeader("Content-Type")||"").match(/[^\/]+\/[^\+]+\+xml/)&&this.responseXML&&!this.responseXML.documentElement){var e=new window.ActiveXObject("Microsoft.XMLDOM");e.async=!1;e.validateOnParse=!1;e.loadXML(this.responseText);this.responseXML=e}},__P_174_10(){try{this&&this.dispose()}catch(e){}},__P_174_17(){var e=qx.core.Environment.get("engine.name"),t=qx.core.Environment.get("browser.version");return!("mshtml"==e&&t<9||"gecko"==e&&t<3.5)},__P_174_11(){if(this.__P_174_20)throw new Error("Already disposed")}},defer(){qx.core.Environment.add("qx.debug.io",!1)}});qx.bom.request.Xhr.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Json":{require:!0},"qx.xml.Document":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.ResponseParser",{construct(e){void 0!==e&&this.setParser(e)},statics:{PARSER:{json:qx.lang.Json.parse,xml:qx.xml.Document.fromString}},members:{__P_176_0:null,parse(e,t){var r=this._getParser(t);return"function"==typeof r&&""!==e?r.call(this,e):e},setParser(e){return"function"==typeof qx.util.ResponseParser.PARSER[e]?this.__P_176_0=qx.util.ResponseParser.PARSER[e]:this.__P_176_0=e},_getParser(e){var t,r=this.__P_176_0,i="";if(r)return r;t=(i=e||"").replace(/;.*$/,"");/^application\/(\w|\.)*\+?json$/.test(t)&&(r=qx.util.ResponseParser.PARSER.json);/^application\/xml$/.test(t)&&(r=qx.util.ResponseParser.PARSER.xml);/[^\/]+\/[^\+]+\+xml$/.test(i)&&(r=qx.util.ResponseParser.PARSER.xml);return r}}});qx.util.ResponseParser.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qxl.datagrid.column.tree.ExpansionLayout",{extend:qx.ui.layout.Abstract,properties:{spacing:{init:3,check:"Integer"},position:{init:"start",check:["start","end"]}},members:{renderLayout(e,t,r){let i=this._getWidget(),n=i.getChildControl("expander"),o=i.getChildControl("icon"),a=i.getChildControl("label");a.getSizeHint();let s=i.getIndentationLevel()*i.getSpacePerIndentation(),l=this.getSpacing(),u=i.getExpanderWidth();if(null===u)if(n.isVisible()){let e=n.getSizeHint();u=Math.max(e.minWidth,Math.min(e.maxWidth,e.width))}else u=0;let c=o.getSizeHint().width;o.isVisible()||(c=0);if("start"==this.getPosition()){if(n.isVisible()){n.renderLayout(s,0,u,t);s+=u+l}o.renderLayout(s,0,c,t);s+=c+l;a.renderLayout(s,0,e-s,t)}else{let r=e-s-u-l;o.renderLayout(s,0,c,t);s+=c+l;a.renderLayout(s,0,r-c,t);if(n.isVisible()){s+=r+l;n.renderLayout(s,0,u,t)}}},_computeSizeHint(){let e=this._getWidget(),t=e.getChildControl("expander"),r=e.getIndentationLevel()*e.getSpacePerIndentation(),i=this.getSpacing(),n=e.getExpanderWidth();if(null===n)if(t.isVisible()){let e=t.getSizeHint(!0),r=e.width;re.maxWidth&&(r=e.maxWidth);n=r}else n=0;let o=r+n+i,a=e.getChildControl("label").getSizeHint(!0),s=a.width;a.minWidth&&a.minWidth>s&&(s=a.minWidth);o+=s;return{width:o,minWidth:o,height:a.height,minHeight:a.minHeight,maxHeight:a.maxHeight}}}});qxl.datagrid.column.tree.ExpansionLayout.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.locale.Manager":{defer:"runtime"}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.locale.Key",{statics:{getKeyName(e,t,r){var i="key_"+e+"_"+t;"osx"==qx.core.Environment.get("os.name")&&"Control"==t&&(i+="_Mac");var n=qx.locale.Manager.getInstance().translate(i,[],r);return n==i?qx.locale.Key._keyNames[i]||t:n}},defer(e){var t={},r=qx.locale.Manager;t[r.marktr("key_short_Backspace")]="Backspace";t[r.marktr("key_short_Tab")]="Tab";t[r.marktr("key_short_Space")]="Space";t[r.marktr("key_short_Enter")]="Enter";t[r.marktr("key_short_Shift")]="Shift";t[r.marktr("key_short_Control")]="Ctrl";t[r.marktr("key_short_Control_Mac")]="Ctrl";t[r.marktr("key_short_Alt")]="Alt";t[r.marktr("key_short_CapsLock")]="Caps";t[r.marktr("key_short_Meta")]="Meta";t[r.marktr("key_short_Escape")]="Esc";t[r.marktr("key_short_Left")]="Left";t[r.marktr("key_short_Up")]="Up";t[r.marktr("key_short_Right")]="Right";t[r.marktr("key_short_Down")]="Down";t[r.marktr("key_short_PageUp")]="PgUp";t[r.marktr("key_short_PageDown")]="PgDn";t[r.marktr("key_short_End")]="End";t[r.marktr("key_short_Home")]="Home";t[r.marktr("key_short_Insert")]="Ins";t[r.marktr("key_short_Delete")]="Del";t[r.marktr("key_short_NumLock")]="Num";t[r.marktr("key_short_PrintScreen")]="Print";t[r.marktr("key_short_Scroll")]="Scroll";t[r.marktr("key_short_Pause")]="Pause";t[r.marktr("key_short_Win")]="Win";t[r.marktr("key_short_Apps")]="Apps";t[r.marktr("key_full_Backspace")]="Backspace";t[r.marktr("key_full_Tab")]="Tabulator";t[r.marktr("key_full_Space")]="Space";t[r.marktr("key_full_Enter")]="Enter";t[r.marktr("key_full_Shift")]="Shift";t[r.marktr("key_full_Control")]="Control";t[r.marktr("key_full_Control_Mac")]="Control";t[r.marktr("key_full_Alt")]="Alt";t[r.marktr("key_full_CapsLock")]="CapsLock";t[r.marktr("key_full_Meta")]="Meta";t[r.marktr("key_full_Escape")]="Escape";t[r.marktr("key_full_Left")]="Left";t[r.marktr("key_full_Up")]="Up";t[r.marktr("key_full_Right")]="Right";t[r.marktr("key_full_Down")]="Down";t[r.marktr("key_full_PageUp")]="PageUp";t[r.marktr("key_full_PageDown")]="PageDown";t[r.marktr("key_full_End")]="End";t[r.marktr("key_full_Home")]="Home";t[r.marktr("key_full_Insert")]="Insert";t[r.marktr("key_full_Delete")]="Delete";t[r.marktr("key_full_NumLock")]="NumLock";t[r.marktr("key_full_PrintScreen")]="PrintScreen";t[r.marktr("key_full_Scroll")]="Scroll";t[r.marktr("key_full_Pause")]="Pause";t[r.marktr("key_full_Win")]="Win";t[r.marktr("key_full_Apps")]="Apps";e._keyNames=t}});qx.locale.Key.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.util.ColorUtil":{},"qx.theme.manager.Color":{},"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);var t={tone(e){if("dark"==e||"light"==e)return e;var t=qx.util.ColorUtil.contrast(e,"#fff"),r=qx.util.ColorUtil.contrast(e,"rgba(0,0,0,0.87)");return t<3.1&&r>t?"light":"dark"},contrastTone:e=>"dark"===t.tone(e)?"light":"dark",inkColorForFill:(e,r)=>({dark:{primary:"rgba(0,0,0,0.87)",secondary:"rgba(0,0,0,0.54)",hint:"rgba(0,0,0,0.38)",disabled:"rgba(0,0,0,0.38)",icon:"rgba(0,0,0,0.38)"},light:{primary:"#fff",secondary:"rgba(255,255,255,0.7)",hint:"rgba(255,255,255,0.5)",disabled:"rgba(255,255,255,0.5)",icon:"rgba(255,255,255,0.5)"}}[t.contrastTone(r)][e]),onX(e){var r=e.split("-")[2];return"dark"===t.contrastTone(r)?"#000000":"#ffffff"},xState(e){var t=e.split("-"),r=t[0];switch(t[1]){case"focused":return qx.util.ColorUtil.scale(r,{lightness:10,saturation:10});case"hovered":return qx.util.ColorUtil.scale(r,{lightness:10});case"disabled":return qx.util.ColorUtil.scale(r,{lightness:-10,saturation:-70});case"selected":return qx.util.ColorUtil.scale(r,{lightness:30});case"selected_disabled":return qx.util.ColorUtil.scale(r,{lightness:30,saturation:-70});default:return r}},textXonY(e){var r=e.split("-"),i=r[1],n=r[3];return t.inkColorForFill(i,n)},setAlpha(e){var t=e.split("-");if(4==t.length){t[1]=t[0]+"-"+t[1];t.shift()}var r=t[0],i=t[2],n=qx.theme.manager.Color.getInstance().resolve(r),o=qx.util.ColorUtil.stringToRgb(n);o[3]=i/100;return qx.util.ColorUtil.rgbToRgbString(o)}};qx.Theme.define("qx.theme.tangible.ColorEngine",{colors:{"text-on-primary":t.onX,"text-on-secondary":t.onX,"text-on-surface":t.onX,"text-on-error":t.onX,"primary-hovered":t.xState,"primary-disabled":t.xState,"primary-focused":t.xState,"primary-selected":t.xState,"primary-selected_disabled":t.xState,"error-focused":t.xState,"primary-alpha-5":t.setAlpha,"primary-alpha-10":t.setAlpha,"primary-alpha-30":t.setAlpha,"secondary-alpha-5":t.setAlpha,"primary-disabled-alpha-20":t.setAlpha,"text-primary-on-surface":t.textXonY,"text-hint-on-surface":t.textXonY,"text-disabled-on-surface":t.textXonY,"text-icon-on-surface":t.textXonY,"text-disabled-on-primary":t.textXonY,"text-icon-on-primary":t.textXonY,"table-header-cell":"surface","table-row-background-focused-selected":"primary-alpha-10","table-row-background-focused":"primary-alpha-5","table-row-background-selected":"secondary-alpha-5","table-row-background-even":"surface","table-row-background-odd":"surface","table-row-selected":"text-primary-on-surface","table-row":"text-primary-on-surface","table-row-line":"text-hint-on-surface","table-column-line":"transparent","text-disabled":"text-disabled-on-surface","progressive-table-header":"table-header-cell","progressive-table-row-background-even":"primary-alpha-5","progressive-table-row-background-odd":"surface","progressive-progressbar-background":"surface","progressive-progressbar-indicator-done":"primary","progressive-progressbar-indicator-undone":"surface","progressive-progressbar-percent-background":"surface","progressive-progressbar-percent-text":"text-primary-on-surface"}});qx.theme.tangible.ColorEngine.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.tangible.ColorEngine":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.tangible.ColorLight",{extend:qx.theme.tangible.ColorEngine,colors:{primary:"#6200ee",secondary:"#018786",surface:"#ffffff",error:"#b00020"}});qx.theme.tangible.ColorLight.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qxl.datagrid.theme.tangible.MColor",{colors:{"qxl-datagrid-row-background-even":"surface","qxl-datagrid-row-background-odd":"primary-alpha-5","qxl-datagrid-row-background-selected":"primary-alpha-10"}});qxl.datagrid.theme.tangible.MColor.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.tangible.ColorLight":{require:!0},"qxl.datagrid.theme.tangible.MColor":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qxl.datagrid.demo.theme.tangible.Color",{extend:qx.theme.tangible.ColorLight,include:[qxl.datagrid.theme.tangible.MColor]});qxl.datagrid.demo.theme.tangible.Color.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.tangible.Decoration",{aliases:{decoration:"qx/decoration/Simple"},decorations:{"material-textfield":{style:{styleBottom:"solid",widthBottom:1,colorBottom:"primary"}},"material-textfield-focused":{include:"material-textfield",style:{widthBottom:2,colorBottom:"primary-focused"}},"material-textfield-invalid":{include:"material-textfield",style:{widthBottom:1,colorBottom:"error"}},"material-textfield-focused-invalid":{include:"material-textfield",style:{widthBottom:2,colorBottom:"error-focused"}},"material-textfield-disabled":{include:"material-textfield",style:{widthBottom:1,colorBottom:"primary-disabled"}},"material-textfield-readonly":{style:{}},"material-button":{style:{radius:2,backgroundColor:"primary",shadowHorizontalLength:0,shadowVerticalLength:[3,2,1],shadowBlurRadius:[1,2,5],shadowSpreadRadius:[-2,0,0],shadowColor:["rgba(0, 0, 0, 0.2)","rgba(0, 0, 0, 0.14)","rgba(0, 0, 0, 0.12)"],transitionProperty:["all"],transitionDuration:"0s"}},"material-button-hovered":{include:"material-button",style:{backgroundColor:"primary-hovered",shadowVerticalLength:[2,4,1],shadowBlurRadius:[4,5,10],shadowSpreadRadius:[-1,0,0],transitionDuration:"0.1s"}},"material-button-hovered-invalid":{include:"material-button-hovered",style:{color:"error"}},"material-button-pressed":{include:"material-button",style:{backgroundColor:"primary-hovered",shadowVerticalLength:[5,8,3],shadowBlurRadius:[5,10,14],shadowSpreadRadius:[-3,1,2],transitionDuration:"0.1s"}},"material-button-disabled":{include:"material-button",style:{shadowVerticalLength:0,shadowBlurRadius:0,shadowSpreadRadius:0,backgroundColor:"primary-disabled"}},"material-button-left":{include:"material-button",style:{radius:[2,0,0,2]}},"material-button-right":{include:"material-button",style:{radius:[0,2,2,0]}},"material-button-hovered-left":{include:"material-button-hovered",style:{radius:[2,0,0,2]}},"material-button-focused-left":{include:"material-button-hovered",style:{radius:[2,0,0,2]}},"material-button-hovered-right":{include:"material-button-hovered",style:{radius:[0,2,2,0]}},"material-button-focused-right":{include:"material-button-hovered",style:{radius:[0,2,2,0]}},"material-button-pressed-left":{include:"material-button-pressed",style:{radius:[2,0,0,2]}},"material-button-pressed-right":{include:"material-button-pressed",style:{radius:[0,2,2,0]}},"material-button-disabled-left":{include:"material-button-disabled",style:{radius:[2,0,0,2]}},"material-button-disabled-right":{include:"material-button-disabled",style:{radius:[0,2,2,0]}},"toggle-button":{include:"material-button"},"toggle-button-hovered":{include:"material-button-hovered"},"toggle-button-checked":{include:"toggle-button",style:{backgroundColor:"primary-selected"}},"toggle-button-checked-hovered":{include:"toggle-button-hovered",style:{backgroundColor:"primary-selected"}},"toggle-button-disabled":{include:"material-button-disabled"},"toggle-button-checked-disabled":{include:"toggle-button-checked",style:{backgroundColor:"primary-selected_disabled"}},"border-blue":{style:{width:4,color:"surface"}},main:{style:{width:1,color:"text-hint-on-surface"}},"main-top":{include:"main",style:{width:[1,0,0,0]}},"main-right":{include:"main",style:{width:[0,1,0,0]}},"main-bottom":{include:"main",style:{width:[0,0,1,0]}},"main-left":{include:"main",style:{width:[0,0,0,1]}},popup:{style:{width:1,color:"text-hint-on-surface",shadowLength:2,shadowBlurRadius:5,shadowColor:"shadow"}},dragover:{style:{bottom:[2,"solid","dark-blue"]}},"button-box":{style:{radius:0,width:0,color:"text-on-primary",backgroundColor:"primary"}},"button-box-pressed":{include:"button-box",style:{backgroundColor:"primary-focused"}},"button-box-pressed-hovered":{include:"button-box",style:{backgroundColor:"primary-selected"}},"button-box-hovered":{include:"button-box",style:{backgroundColor:"button-hovered"}},"button-box-invalid":{include:"button-box",style:{color:"error"}},"button-box-pressed-invalid":{include:"button-box-pressed",style:{color:"error"}},"button-box-hovered-invalid":{include:"button-box-invalid"},"button-box-pressed-hovered-invalid":{include:"button-box-pressed-invalid"},"button-box-focused":{include:"button-box",style:{color:"surface"}},"button-box-pressed-focused":{include:"button-box-pressed",style:{color:"surface"}},"button-box-hovered-focused":{include:"button-box-focused"},"button-box-pressed-hovered-focused":{include:"button-box-pressed-focused"},"button-box-right":{include:"button-box",style:{radius:[0,1,1,0]}},"button-box-pressed-right":{include:"button-box-pressed",style:{radius:[0,1,1,0]}},"button-box-pressed-hovered-right":{include:"button-box-pressed-hovered",style:{radius:[0,1,1,0]}},"button-box-hovered-right":{include:"button-box-hovered",style:{radius:[0,1,1,0]}},"button-box-focused-right":{include:"button-box-focused",style:{radius:[0,1,1,0]}},"button-box-hovered-focused-right":{include:"button-box-hovered-focused",style:{radius:[0,1,1,0]}},"button-box-pressed-focused-right":{include:"button-box-pressed-focused",style:{radius:[0,1,1,0]}},"button-box-pressed-hovered-focused-right":{include:"button-box-pressed-hovered-focused",style:{radius:[0,1,1,0]}},"button-box-top-right":{include:"button-box",style:{radius:[0,1,0,0]}},"button-box-pressed-top-right":{include:"button-box-pressed",style:{radius:[0,1,0,0]}},"button-box-pressed-hovered-top-right":{include:"button-box-pressed-hovered",style:{radius:[0,1,0,0]}},"button-box-hovered-top-right":{include:"button-box-hovered",style:{radius:[0,1,0,0]}},"button-box-bottom-right":{include:"button-box",style:{radius:[0,0,1,0],width:[0,1,1,0]}},"button-box-pressed-bottom-right":{include:"button-box-pressed",style:{radius:[0,0,1,0],width:[0,1,1,0]}},"button-box-pressed-hovered-bottom-right":{include:"button-box-pressed-hovered",style:{radius:[0,0,1,0],width:[0,1,1,0]}},"button-box-hovered-bottom-right":{include:"button-box-hovered",style:{radius:[0,0,1,0],width:[0,1,1,0]}},"button-box-bottom-left":{include:"button-box",style:{radius:[0,0,0,1],width:[0,0,1,1]}},"button-box-pressed-bottom-left":{include:"button-box-pressed",style:{radius:[0,0,0,1],width:[0,0,1,1]}},"button-box-pressed-hovered-bottom-left":{include:"button-box-pressed-hovered",style:{radius:[0,0,0,1],width:[0,0,1,1]}},"button-box-hovered-bottom-left":{include:"button-box-hovered",style:{radius:[0,0,0,1],width:[0,0,1,1]}},"button-box-top-left":{include:"button-box",style:{radius:[1,0,0,0],width:[1,0,0,1]}},"button-box-pressed-top-left":{include:"button-box-pressed",style:{radius:[1,0,0,0],width:[1,0,0,1]}},"button-box-pressed-hovered-top-left":{include:"button-box-pressed-hovered",style:{radius:[1,0,0,0],width:[1,0,0,1]}},"button-box-hovered-top-left":{include:"button-box-hovered",style:{radius:[1,0,0,0],width:[1,0,0,1]}},"button-box-middle":{include:"button-box",style:{radius:0,width:[1,0,1,1]}},"button-box-pressed-middle":{include:"button-box-pressed",style:{radius:0,width:[1,0,1,1]}},"button-box-pressed-hovered-middle":{include:"button-box-pressed-hovered",style:{radius:0,width:[1,0,1,1]}},"button-box-hovered-middle":{include:"button-box-hovered",style:{radius:0,width:[1,0,1,1]}},"button-box-left":{include:"button-box",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"button-box-pressed-left":{include:"button-box-pressed",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"button-box-pressed-hovered-left":{include:"button-box-pressed-hovered",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"button-box-hovered-left":{include:"button-box-hovered",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"button-box-focused-left":{include:"button-box-focused",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"button-box-hovered-focused-left":{include:"button-box-hovered-focused",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"button-box-pressed-hovered-focused-left":{include:"button-box-pressed-hovered-focused",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"button-box-pressed-focused-left":{include:"button-box-pressed-focused",style:{radius:[1,0,0,1],width:[1,0,1,1]}},"separator-horizontal":{style:{widthLeft:1,colorLeft:"text-hint-on-surface"}},"separator-vertical":{style:{widthTop:1,colorTop:"text-hint-on-surface"}},"scroll-knob":{style:{radius:4,width:0,backgroundColor:"text-hint-on-surface"}},"scroll-knob-pressed":{include:"scroll-knob",style:{backgroundColor:"text-primary-on-surface"}},"scroll-knob-hovered":{include:"scroll-knob"},"scroll-knob-pressed-hovered":{include:"scroll-knob-pressed"},"button-hover":{style:{backgroundColor:"primary-hovered",radius:1}},window:{style:{width:1,color:"text-hint-on-surface",shadowLength:1,shadowBlurRadius:3,shadowColor:"rgba(0,0,0,0.2)",backgroundColor:"surface"}},"window-active":{include:"window",style:{shadowLength:2,shadowBlurRadius:5}},"window-caption":{style:{width:[0,0,1,0],color:"text-hint-on-surface"}},box:{style:{width:1,radius:2,color:"text-hint-on-surface",backgroundColor:"surface"}},border:{style:{width:1,color:"text-hint-on-surface"}},"border-disabled":{style:{width:1,color:"text-disabled-on-surface"}},"border-focused":{style:{width:1,color:"primary"}},"border-invalid":{style:{width:1,color:"error"}},"lead-item":{style:{width:1,style:"dotted",color:"text-disabled-on-surface"}},tag:{include:"button-box",style:{width:1,style:"solid",radius:10}},tooltip:{style:{width:1,color:"text-on-secondary",shadowLength:1,shadowBlurRadius:2,shadowColor:"rgba(0,0,0,0.2)"}},"tooltip-error":{style:{radius:5,backgroundColor:"error"}},"toolbar-separator":{style:{widthLeft:1,colorLeft:"text-hint-on-surface"}},"toolbar-button":{include:"material-button",style:{shadowHorizontalLength:0,shadowVerticalLength:0,shadowBlurRadius:0,shadowSpreadRadius:0}},"toolbar-button-hovered":{include:"material-button-hovered"},"toolbar-button-left":{include:"material-button-left",style:{shadowHorizontalLength:0,shadowVerticalLength:0,shadowBlurRadius:0,shadowSpreadRadius:0}},"toolbar-button-hovered-left":{include:"material-button-hovered-left"},"toolbar-button-right":{include:"material-button-right",style:{shadowHorizontalLength:0,shadowVerticalLength:0,shadowBlurRadius:0,shadowSpreadRadius:0}},"toolbar-button-hovered-right":{include:"material-button-hovered-right"},"menu-separator":{style:{widthTop:1,colorTop:"text-hint-on-surface"}},"menubar-button-hovered":{style:{backgroundColor:"primary-hovered"}},"menubar-button-pressed":{include:"menubar-button-hovered",style:{backgroundColor:"primary-selected"}},"datechooser-date-pane":{style:{widthTop:1,colorTop:"text-hint-on-surface",style:"solid"}},"datechooser-weekday":{style:{widthBottom:1,colorBottom:"text-hint-on-surface",style:"solid"}},"datechooser-week":{style:{widthRight:1,colorRight:"text-hint-on-surface",style:"solid"}},"datechooser-week-header":{style:{widthBottom:1,colorBottom:"text-hint-on-surface",widthRight:1,colorRight:"text-hint-on-surface",style:"solid"}},"tabview-page-button-top":{style:{width:[0,0,2,0],backgroundColor:"surface",color:"primary"}},"tabview-page-button-bottom":{include:"tabview-page-button-top",style:{width:[2,0,0,0]}},"tabview-page-button-left":{include:"tabview-page-button-top",style:{width:[0,2,0,0]}},"tabview-page-button-right":{include:"tabview-page-button-top",style:{width:[0,0,0,2]}},statusbar:{style:{widthTop:1,colorTop:"text-hint-on-surface",styleTop:"solid"}},"table-scroller-focus-indicator":{style:{width:1,style:"dotted",color:"text-hint-on-surface"}},"table-header":{include:"button-box",style:{radius:0,color:"text-hint-on-surface",width:[0,0,2,0]}},"table-header-column-button":{include:"table-header"},"table-header-cell":{style:{}},"table-header-cell-first":{include:"table-header-cell"},"progressive-table-header":{include:"button-box",style:{radius:0,width:[1,0,1,1]}},"progressive-table-header-cell":{style:{widthRight:1,color:"text-hint-on-surface"}},progressbar:{style:{width:1,color:"text-hint-on-surface"}},radiobutton:{style:{color:"text-primary-on-surface"}},checkbox:{style:{color:"text-primary-on-surface"}}}});qx.theme.tangible.Decoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qxl.datagrid.theme.tangible.MDecoration",{decorations:{"qxl-datagrid-row":{style:{radius:0,color:"text-hint-on-surface",width:[0,0,1,0]}},"qxl-datagrid-row-focused":{style:{radius:0,color:"text-hint-on-surface",width:1,style:"dashed"}},"qxl-datagrid-cell-focused":{style:{radius:0,width:1,color:"text-hint-on-surface",style:"dashed"}}}});qxl.datagrid.theme.tangible.MDecoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.tangible.Decoration":{require:!0},"qxl.datagrid.theme.tangible.MDecoration":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qxl.datagrid.demo.theme.tangible.Decoration",{extend:qx.theme.tangible.Decoration,include:[qxl.datagrid.theme.tangible.MDecoration]});qxl.datagrid.demo.theme.tangible.Decoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.tangible.Font",{fonts:{default:{size:14,family:["sans-serif"],color:"text-primary-on-surface",fontName:"Roboto"},bold:{size:14,family:["sans-serif"],bold:!0,color:"text-primary-on-surface",fontName:"Roboto"},headline:{size:24,family:["sans-serif"],color:"text-primary-on-surface",fontName:"Roboto"},small:{size:12,family:["sans-serif"],color:"text-primary-on-surface",fontName:"Roboto"},monospace:{size:14,family:["monospace"],color:"text-primary-on-surface",fontName:"Roboto Mono"}}});qx.theme.tangible.Font.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.icon.Tango",{title:"Tango",aliases:{icon:"qx/icon/Tango"}});qx.theme.icon.Tango.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.tangible.Image":{}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.tangible.Appearance",{appearances:{widget:{},label:{style:e=>({textColor:e.disabled?"text-disabled-on-surface":void 0})},image:{style:e=>({opacity:!e.replacement&&e.disabled?.3:void 0})},atom:{},"atom/label":"label","atom/icon":"image",root:{style:e=>({backgroundColor:"surface",textColor:"text-primary-on-surface",font:"default"})},popup:{style:e=>({decorator:"popup",backgroundColor:"surface"})},tooltip:{include:"popup",style:e=>({backgroundColor:"secondary",textColor:"text-on-secondary",decorator:"tooltip",padding:[1,3,2,3],offset:[10,5,5,5]})},"tooltip/atom":"atom","tooltip-error":{include:"tooltip",style:e=>({textColor:"text-on-error",showTimeout:100,hideTimeout:1e4,decorator:"tooltip-error",font:"bold",backgroundColor:void 0})},"tooltip-error/atom":"atom",iframe:{style:e=>({backgroundColor:"surface",decorator:"main"})},"move-frame":{style:e=>({decorator:"main"})},"resize-frame":"move-frame","dragdrop-cursor":{style(e){var t="nodrop";e.copy?t="copy":e.move?t="move":e.alias&&(t="alias");return{source:qx.theme.tangible.Image.URLS["cursor-"+t],position:"right-top",offset:[2,16,2,6]}}},button:{alias:"material-button",include:"material-button",style:e=>({center:!0})},"toggle-button":{include:"button",style:e=>({decorator:"toggle-button"+(e.checked?"-checked":"")+(e.disabled?"-disabled":"")+(!e.disabled&&e.hovered?"-hovered":""),textColor:e.disabled?"text-disabled-on-primary":"text-on-primary"})},"toggle-button/label":{include:"button/label",style:e=>(e.checked,{textColor:void 0})},"material-button":{alias:"atom",style(e){var t="material-button";e.disabled?t+="-disabled":e.pressed||e.checked?t+="-pressed":(e.hovered||e.focused)&&(t+="-hovered");e.invalid&&!e.disabled&&(t+="-invalid");return{decorator:t,padding:[6,15],margin:[2,4],cursor:e.disabled?void 0:"pointer",minWidth:5,minHeight:5}}},"material-button/label":{alias:"atom/label",style:e=>({textColor:e.disabled?"text-disabled-on-primary":"text-on-primary"})},"material-button/icon":{alias:"atom/label",style:e=>({textColor:e.disabled?"text-disabled-on-primary":"text-on-primary"})},"button-frame":{alias:"atom",style(e){var t="button-box";e.disabled||(!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered":(e.pressed||e.checked)&&(t="button-box-pressed"):t="button-box-hovered");e.invalid&&!e.disabled?t+="-invalid":e.focused&&(t+="-focused");return{decorator:t,padding:[3,8],cursor:e.disabled?void 0:"pointer",minWidth:5,minHeight:5}}},"button-frame/label":{alias:"atom/label",style:e=>({textColor:e.disabled?"text-disabled-on-primary":"text-on-primary"})},"hover-button":{alias:"button",include:"button",style:e=>({decorator:e.hovered?"button-hover":void 0})},menubutton:{include:"button",alias:"button",style:e=>({icon:qx.theme.tangible.Image.URLS["arrow-down"],iconPosition:"right"})},"material-textfield":{style(e){var t,r;t="material-textfield";r=[3,0,4,0];if(e.readonly){t+="-readonly";r=[3,0,5,0]}else if(e.disabled)t+="-disabled";else if(e.focused){t+="-focused";e.invalid&&(t+="-invalid");r=[3,0,3,0]}else e.invalid&&(t+="-invalid");return{decorator:t,padding:r,textColor:e.disabled?"text-disabled-on-surface":e.showingPlaceholder?"text-hint-on-surface":void 0}}},textfield:"material-textfield",textarea:"textfield",framebox:{style(e){var t,r;if(e.disabled){t="border-disabled";r=[1,2]}else if(e.invalid){t="border-invalid";r=[1,2]}else if(e.focused){t="border-focused";r=[1,2]}else{r=[1,2];t="border"}return{decorator:t,padding:r,textColor:e.disabled?"text-disabled-on-surface":e.showingPlaceholder?"text-hint-on-surface":void 0}}},splitbutton:{},"splitbutton/button":{alias:"material-button",style(e){var t="material-button";e.disabled?t+="-disabled":e.pressed||e.checked?t+="-pressed":e.hovered?t+="-hovered":e.focused&&(t+="-focused");return{decorator:t+="-left",padding:[6,15,6,15],margin:[2,0,2,4],cursor:e.disabled?void 0:"pointer",textColor:"text-primary-on-surface"}}},"splitbutton/arrow":{alias:"material-button",style(e){var t="material-button";e.disabled?t+="-disabled":e.pressed||e.checked?t+="-pressed":e.focused?t+="-focused":e.hovered&&(t+="-hovered");t+="-right";return{icon:qx.theme.tangible.Image.URLS["arrow-down"],decorator:t,cursor:e.disabled?void 0:"pointer",padding:[6,10,6,10],margin:[2,4,2,0],textColor:"text-on-primary"}}},"splitbutton/arrow/icon":{style:e=>({textColor:"text-icon-on-primary"})},slidebar:{},"slidebar/scrollpane":{},"slidebar/content":{},"slidebar/button-forward":{alias:"button",include:"button",style:e=>({icon:qx.theme.tangible.Image.URLS["arrow-"+(e.vertical?"down":"right")]})},"slidebar/button-backward":{alias:"button",include:"button",style:e=>({icon:qx.theme.tangible.Image.URLS["arrow-"+(e.vertical?"up":"left")]})},table:{style:e=>({rowHeight:30})},"table/statusbar":{style:e=>({decorator:"statusbar",padding:[2,5]})},"table/column-button":{alias:"button",style:e=>({decorator:"table-header-column-button",textColor:"text-primary-on-surface",backgroundColor:"surface",padding:3,icon:qx.theme.tangible.Image.URLS["select-column-order"]})},"table-column-reset-button":{include:"menu-button",alias:"menu-button",style:()=>({decorator:"table-header-column-button",icon:"icon/16/actions/view-refresh.png"})},"table-scroller/scrollbar-x":"scrollbar","table-scroller/scrollbar-y":"scrollbar","table-scroller":"widget","table-scroller/header":{style:()=>({textColor:"text-primary-on-surface",backgroundColor:"surface",decorator:"table-header"})},"table-scroller/pane":{},"table-scroller/focus-indicator":{style:e=>({})},"table-scroller/resize-line":{style:e=>({backgroundColor:"text-hint-on-surface",width:3})},"table-header-cell":{alias:"atom",style:e=>({decorator:e.first?"table-header-cell-first":"table-header-cell",minWidth:13,font:"bold",paddingTop:3,paddingLeft:5,cursor:e.disabled?void 0:"pointer",sortIcon:e.sorted?qx.theme.tangible.Image.URLS["table-"+(e.sortedAscending?"ascending":"descending")]:void 0})},"table-header-cell/icon":{include:"atom/icon",style:e=>({paddingRight:5})},"table-header-cell/sort-icon":{style:e=>({alignY:"middle",alignX:"right",paddingRight:5})},"table-editor-textfield":{include:"framebox",style:e=>({decorator:void 0,padding:[2,2],backgroundColor:"surface"})},"table-editor-selectbox":{include:"selectbox",alias:"selectbox",style:e=>({padding:[0,2],backgroundColor:"surface"})},"table-editor-combobox":{include:"combobox",alias:"combobox",style:e=>({decorator:void 0,backgroundColor:"surface"})},"progressive-table-header":{style:e=>({decorator:"progressive-table-header"})},"progressive-table-header-cell":{style:e=>({decorator:"progressive-table-header-cell",padding:[5,6,5,6]})},treevirtual:{include:"framebox",alias:"table",style:(e,t)=>({padding:[t.padding[0]+2,t.padding[1]+1]})},"treevirtual-folder":{style:e=>({icon:e.opened?qx.theme.tangible.Image.URLS["folder-open"]:qx.theme.tangible.Image.URLS.folder,opacity:e.drag?.5:void 0})},"treevirtual-file":{include:"treevirtual-folder",alias:"treevirtual-folder",style:e=>({icon:qx.theme.tangible.Image.URLS.file,opacity:e.drag?.5:void 0})},"treevirtual-blank":{style:e=>({icon:qx.theme.tangible.Image.URLS.blank})},"treevirtual-contract":{style:e=>({icon:qx.theme.tangible.Image.URLS["tree-minus"]})},"treevirtual-expand":{style:e=>({icon:qx.theme.tangible.Image.URLS["tree-plus"]})},"treevirtual-only-contract":"treevirtual-contract","treevirtual-only-expand":"treevirtual-expand","treevirtual-start-contract":"treevirtual-contract","treevirtual-start-expand":"treevirtual-expand","treevirtual-end-contract":"treevirtual-contract","treevirtual-end-expand":"treevirtual-expand","treevirtual-cross-contract":"treevirtual-contract","treevirtual-cross-expand":"treevirtual-expand","treevirtual-line":"treevirtual-blank","treevirtual-end":"treevirtual-blank","treevirtual-cross":"treevirtual-blank",resizer:{style:e=>({decorator:"main"})},splitpane:{},"splitpane/splitter":{style:e=>({backgroundColor:"text-hint-on-surface"})},"splitpane/splitter/knob":{style:e=>({source:qx.theme.tangible.Image.URLS["knob-"+(e.horizontal?"horizontal":"vertical")],padding:0})},"splitpane/slider":{style:e=>({backgroundColor:"text-hint-on-surface",opacity:.3})},menu:{style(e){var t={backgroundColor:"surface",decorator:"main",spacingX:6,spacingY:1,iconColumnWidth:16,arrowColumnWidth:4,padding:1,placementModeY:e.submenu||e.contextmenu?"best-fit":"keep-align"};if(e.submenu){t.position="right-top";t.offset=[-2,-3]}e.contextmenu&&(t.offset=4);return t}},"menu/slidebar":"menu-slidebar","menu-slidebar":"widget","menu-slidebar-button":{style:e=>({backgroundColor:e.hovered?"primary-hovered":void 0,padding:6,center:!0})},"menu-slidebar/button-backward":{include:"menu-slidebar-button",style:e=>({icon:qx.theme.tangible.Image.URLS["arrow-up"+(e.hovered?"-invert":"")]})},"menu-slidebar/button-forward":{include:"menu-slidebar-button",style:e=>({icon:qx.theme.tangible.Image.URLS["arrow-down"+(e.hovered?"-invert":"")]})},"menu-separator":{style:e=>({height:0,decorator:"menu-separator",marginTop:4,marginBottom:4,marginLeft:2,marginRight:2})},"menu-button":{alias:"atom",style:e=>({backgroundColor:e.selected?"primary-selected":void 0,textColor:e.selected?"text-on-primary":"text-primary-on-surface",padding:[2,6]})},"menu-button/icon":{include:"image",style:e=>({alignY:"middle",textColor:e.selected?"text-icon-on-primary":"text-icon-on-surface"})},"menu-button/label":{include:"label",style:e=>({alignY:"middle",padding:1})},"menu-button/shortcut":{include:"label",style:e=>({alignY:"middle",marginLeft:14,padding:1})},"menu-button/arrow":{include:"image",style:e=>({source:qx.theme.tangible.Image.URLS["arrow-right"+(e.selected?"-invert":"")],alignY:"middle"})},"menu-checkbox":{alias:"menu-button",include:"menu-button",style(e){var t="menu-checkbox";e.checked&&(t+="-checked");return{icon:qx.theme.tangible.Image.URLS[t]}}},"menu-radiobutton":{alias:"menu-button",include:"menu-button",style(e){var t="menu-radiobutton";e.checked&&(t+="-checked");return{icon:qx.theme.tangible.Image.URLS[t]}}},menubar:{style:e=>({backgroundColor:"surface",padding:[4,2]})},"menubar-button":{style(e){var t;e.disabled||(e.pressed?t="menubar-button-pressed":e.hovered&&(t="menubar-button-hovered"));return{padding:[2,6],cursor:e.disabled?void 0:"pointer",textColor:"text-on-primary",decorator:t}}},"menubar-button/icon":{style:e=>({textColor:e.disabled?"text-disabled-on-surface":e.pressed||e.hovered?"text-on-primary":"text-on-surface"})},"virtual-list":"list","virtual-list/row-layer":"row-layer","row-layer":"widget","column-layer":"widget","group-item":{include:"label",alias:"label",style:e=>({padding:4,backgroundColor:"primary",textColor:"text-on-primary",font:"bold"})},"virtual-selectbox":"selectbox","virtual-selectbox/dropdown":"popup","virtual-selectbox/dropdown/list":{alias:"virtual-list"},"virtual-combobox":"combobox","virtual-combobox/dropdown":"popup","virtual-combobox/dropdown/list":{alias:"virtual-list"},"virtual-tree":{include:"tree",alias:"tree",style:e=>({itemHeight:21})},"virtual-tree-folder":"tree-folder","virtual-tree-file":"tree-file",cell:{style:e=>({backgroundColor:e.selected?"primary-selected":"surface",textColor:e.selected?"text-on-primary":"text-primary-on-surface",padding:[3,6]})},"cell-string":"cell","cell-number":{include:"cell",style:e=>({textAlign:"right"})},"cell-image":"cell","cell-boolean":"cell","cell-atom":"cell","cell-date":"cell","cell-html":"cell",scrollbar:{},"scrollbar/slider":{},"scrollbar/slider/knob":{style(e){var t="scroll-knob";e.disabled||(!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="scroll-knob-pressed-hovered":(e.pressed||e.checked)&&(t="scroll-knob-pressed"):t="scroll-knob-hovered");return{height:8,width:8,marginLeft:2,marginTop:2,cursor:e.disabled?void 0:"pointer",decorator:t,minHeight:e.horizontal?void 0:30,minWidth:e.horizontal?30:void 0}}},"scrollbar/button":{style:e=>({height:0,width:0,margin:[2,2]})},"scrollbar/button-begin":"scrollbar/button","scrollbar/button-end":"scrollbar/button","scrollarea/corner":{style:e=>({backgroundColor:"surface"})},scrollarea:"widget","scrollarea/pane":"widget","scrollarea/scrollbar-x":"scrollbar","scrollarea/scrollbar-y":"scrollbar",radiobutton:{style:e=>({icon:qx.theme.tangible.Image.URLS[e.checked?"radiobutton-checked":"radiobutton-unchecked"],paddingTop:2,textColor:e.disabled?"text-disabled-on-surface":e.invalid?"error":e.checked?"primary":"text-primary-on-surface",gap:6})},"radiobutton/icon":{style:e=>({decorator:"radiobutton",padding:[2,0,0,0]})},"form-renderer-label":{include:"label",style:()=>({paddingTop:3})},checkbox:{alias:"atom",style:e=>({icon:qx.theme.tangible.Image.URLS[e.checked?"checkbox-checked":e.undetermined?"checkbox-undetermined":"checkbox-blank"],textColor:e.disabled?"text-disabled-on-surface":e.invalid?"error":e.checked?"primary":"text-primary-on-surface",gap:6})},"checkbox/icon":{style:e=>({decorator:"checkbox",padding:0})},spinner:{style:e=>({textColor:e.disabled?"text-disabled-on-surface":void 0})},"spinner/textfield":"textfield","spinner/upbutton":{alias:"combobox/button",include:"combobox/button",style:e=>({icon:qx.theme.tangible.Image.URLS["arrow-up-small"],decorator:void 0,width:12,height:6,padding:[-1,0,0,0]})},"spinner/downbutton":{alias:"combobox/button",include:"combobox/button",style:e=>({icon:qx.theme.tangible.Image.URLS["arrow-down-small"],decorator:void 0,width:12,height:6,padding:[-1,0,0,0]})},selectbox:"textfield","selectbox/atom":"atom","selectbox/popup":"popup","selectbox/list":{alias:"list",include:"list",style:()=>({decorator:void 0})},"selectbox/arrow":{include:"image",style:e=>({source:qx.theme.tangible.Image.URLS["arrow-down"],paddingRight:0,paddingLeft:2,paddingTop:-3})},"checked-selectbox":"selectbox","checked-selectbox/allNone":{include:"button",style:e=>({padding:[2,10],textColor:"text-on-primary"})},"checked-selectbox/tag":"tag",tag:{alias:"button",include:"button",style:e=>({padding:[1,7],margin:0,decorator:"tag"})},combobox:{},"combobox/button":{alias:"button-frame",include:"button-frame",style(e){var t="material-textfield";if(e.focused){t+="-focused";e.invalid&&(t+="-invalid")}else e.invalid?t+="-invalid":e.disabled&&(t+="-disabled");return{backgroundColor:void 0,icon:qx.theme.tangible.Image.URLS["arrow-down"],decorator:t,padding:[0,0,0,0]}}},"combobox/popup":"popup","combobox/list":{alias:"list",style:e=>({paddingRight:2})},"combobox/textfield":"textfield",datefield:"textfield","datefield/button":{alias:"combobox/button",include:"combobox/button",style:e=>({icon:"@MaterialIcons/calendar_today/14",padding:[0,0,0,0],backgroundColor:void 0,decorator:void 0,width:16})},"datefield/textfield":{alias:"textfield",include:"textfield",style:e=>({decorator:void 0,padding:0})},"datefield/list":{alias:"datechooser",include:"datechooser",style:e=>({decorator:void 0})},list:{alias:"scrollarea",include:"framebox"},listitem:{alias:"atom",style(e){var t=[3,5,3,5];e.lead&&(t=[2,4,2,4]);e.dragover&&(t[2]-=2);return{gap:4,padding:t,backgroundColor:e.selected?e.disabled?"primary-disabled":"primary":"transparent",textColor:e.selected?"text-on-primary":"text-primary-on-surface",decorator:e.lead?"lead-item":e.dragover?"dragover":void 0,opacity:e.drag?.5:void 0}}},slider:{style(e){var t,r;if(e.disabled){t="border-disabled";r=[1,2]}else if(e.invalid){t="border-invalid";r=[1,2]}else if(e.focused){t="border-focused";r=[1,2]}else{r=[1,2];t="border"}return{decorator:t,padding:r}}},"slider/knob":"scrollbar/slider/knob",groupbox:{},"groupbox/legend":{alias:"atom",style:e=>({textColor:e.invalid?"error":void 0,padding:5,margin:4,font:"bold"})},"groupbox/frame":{style:e=>({backgroundColor:"surface",padding:[6,9],margin:[18,2,2,2],decorator:"box"})},"check-groupbox":"groupbox","check-groupbox/legend":{alias:"checkbox",include:"checkbox",style:e=>({textColor:e.invalid?"error":void 0,padding:5,margin:4,font:"bold"})},"radio-groupbox":"groupbox","radio-groupbox/legend":{alias:"radiobutton",include:"radiobutton",style:e=>({textColor:e.invalid?"error":void 0,padding:5,margin:4,font:"bold"})},"tree-folder/open":{include:"image",style:e=>({source:e.opened?qx.theme.tangible.Image.URLS["tree-minus"]:qx.theme.tangible.Image.URLS["tree-plus"],textColor:e.selected?"text-on-primary":"text-primary-on-surface"})},"tree-folder":{style:e=>({padding:[2,8,2,5],icon:e.opened?qx.theme.tangible.Image.URLS["folder-open"]:qx.theme.tangible.Image.URLS.folder,backgroundColor:e.selected?e.disables?"primary-disabled":"primary-selected":"surface",textColor:e.selected?"text-on-primary":"text-disabled-on-primary",iconOpened:qx.theme.tangible.Image.URLS["folder-open"],opacity:e.drag?.5:void 0})},"tree-folder/icon":{include:"image",style:e=>({padding:[0,4,0,0],textColor:e.selected?"text-icon-on-primary":"text-primary-on-surface"})},"tree-folder/label":{style:e=>({padding:[1,2],textColor:e.selected?"text-on-primary":"text-primary-on-surface"})},"tree-file":{include:"tree-folder",alias:"tree-folder",style:e=>({icon:qx.theme.tangible.Image.URLS.file})},tree:{include:"list",alias:"list",style:e=>({contentPadding:[4,1],padding:1})},window:{style:e=>({contentPadding:[10,10,10,10],backgroundColor:"surface",decorator:e.maximized?void 0:e.active?"window-active":"window"})},"window-resize-frame":"resize-frame","window/pane":{style:e=>({padding:10})},"window/captionbar":{style:e=>({backgroundColor:e.active?"primary-selected":"primary",margin:0,padding:8,decorator:"window-caption"})},"window/icon":{style:e=>({marginRight:4,marginTop:2})},"window/title":{style:e=>({cursor:"default",font:e.active?"bold":"default",textColor:(e.active,"text-on-primary"),marginRight:20,marginLeft:4,alignY:"middle"})},"window/minimize-button":{alias:"button",style:e=>({icon:qx.theme.tangible.Image.URLS["window-minimize"]+"/18",padding:0,cursor:e.disabled?void 0:"pointer",textColor:"text-on-primary"})},"window/restore-button":{alias:"button",style:e=>({icon:qx.theme.tangible.Image.URLS["window-restore"]+"/18",padding:0,cursor:e.disabled?void 0:"pointer",textColor:"text-on-primary"})},"window/maximize-button":{alias:"button",style:e=>({icon:qx.theme.tangible.Image.URLS["window-maximize"]+"/18",padding:0,cursor:e.disabled?void 0:"pointer",textColor:"text-on-primary"})},"window/close-button":{alias:"button",style:e=>({icon:qx.theme.tangible.Image.URLS["window-close"]+"/18",padding:0,cursor:e.disabled?void 0:"pointer",textColor:"text-on-primary"})},"window/statusbar":{style:e=>({decorator:"statusbar",padding:[2,6]})},"window/statusbar-text":"label",datechooser:{style:e=>({decorator:"main",minWidth:220})},"datechooser/navigation-bar":{style:e=>({backgroundColor:"surface",textColor:e.disabled?"text-disabled-on-surface":e.invalid?"error":void 0,padding:[2,10]})},"datechooser/last-year-button-tooltip":"tooltip","datechooser/last-month-button-tooltip":"tooltip","datechooser/next-year-button-tooltip":"tooltip","datechooser/next-month-button-tooltip":"tooltip","datechooser/last-year-button":"datechooser/button","datechooser/last-month-button":"datechooser/button","datechooser/next-year-button":"datechooser/button","datechooser/next-month-button":"datechooser/button","datechooser/button/icon":{},"datechooser/button":{style(e){var t={width:17,show:"icon",cursor:e.disabled?void 0:"pointer"};e.lastYear?t.icon=qx.theme.tangible.Image.URLS["arrow-rewind"]:e.lastMonth?t.icon=qx.theme.tangible.Image.URLS["arrow-left"]:e.nextYear?t.icon=qx.theme.tangible.Image.URLS["arrow-forward"]:e.nextMonth&&(t.icon=qx.theme.tangible.Image.URLS["arrow-right"]);return t}},"datechooser/month-year-label":{style:e=>({font:"bold",textAlign:"center"})},"datechooser/date-pane":{style:e=>({decorator:"datechooser-date-pane",backgroundColor:"surface"})},"datechooser/weekday":{style:e=>({decorator:"datechooser-weekday",font:e.weekend?"bold":"default",textAlign:"center",textColor:e.disabled?"text-disabled-on-surface":"text-primary-on-surface",backgroundColor:"surface",paddingTop:2})},"datechooser/day":{style:e=>({textAlign:"center",decorator:e.today?"main":void 0,textColor:e.disabled?"text-disabled-on-surface":e.selected?"text-on-primary":e.otherMonth?"text-disabled-on-surface":void 0,backgroundColor:e.selected?e.disabled?"primary-disabled":"primary":void 0,padding:e.today?[1,3]:[2,4]})},"datechooser/week":{style:e=>({textAlign:"center",textColor:"text-primary-on-surface",padding:[2,4],decorator:e.header?"datechooser-week-header":"datechooser-week"})},progressbar:{style:e=>({decorator:"progressbar",padding:1,backgroundColor:"surface",width:200,height:20})},"progressbar/progress":{style:e=>({backgroundColor:e.disabled?"primary-disabled":"primary"})},toolbar:{style:e=>({backgroundColor:"primary",padding:0})},"toolbar/part":{style:e=>({margin:[0,15]})},"toolbar/part/container":{},"toolbar/part/handle":{},"toolbar-separator":{style:e=>({decorator:void 0,margin:[7,0],width:4})},"toolbar-button":{alias:"atom",style(e){var t=[7,10];(e.left||e.middle||e.right)&&(t=[7,3]);var r="toolbar-button";(e.hovered||e.pressed||e.checked)&&(r+="-hovered");return{cursor:e.disabled?void 0:"pointer",decorator:r,textColor:"text-on-primary",margin:t,padding:[3,5]}}},"toolbar-menubutton":{alias:"toolbar-button",include:"toolbar-button",style:e=>({showArrow:!0})},"toolbar-menubutton/arrow":{alias:"image",include:"image",style:e=>({source:qx.theme.tangible.Image.URLS["arrow-down"],cursor:e.disabled?void 0:"pointer",padding:0,textColor:"text-on-primary",marginLeft:2})},"toolbar-splitbutton":{},"toolbar-splitbutton/button":{alias:"toolbar-button",include:"toolbar-button",style(e){var t=[7,0,7,10];(e.left||e.middle||e.right)&&(t=[7,0,7,3]);var r="toolbar-button";(e.hovered||e.pressed||e.focused||e.checked)&&(r+="-hovered");return{decorator:r+="-left",margin:t}}},"toolbar-splitbutton/arrow":{alias:"toolbar-button",include:"toolbar-button",style(e){var t=[7,10,7,0];(e.left||e.middle||e.right)&&(t=[7,3,7,0]);var r="toolbar-button";(e.hovered||e.pressed||e.focused||e.checked)&&(r+="-hovered");r+="-right";return{icon:qx.theme.tangible.Image.URLS["arrow-down"],decorator:r,margin:t}}},tabview:{},"tabview/bar":{alias:"slidebar",style(e){var t=0,r=0,i=0,n=0;e.barTop?i-=1:e.barBottom?t-=1:e.barRight?n-=1:r-=1;return{marginBottom:i,marginTop:t,marginLeft:n,marginRight:r}}},"tabview/bar/button-forward":{include:"slidebar/button-forward",alias:"slidebar/button-forward",style:e=>e.barTop?{marginTop:4,marginBottom:2,decorator:null}:e.barBottom?{marginTop:2,marginBottom:4,decorator:null}:e.barLeft?{marginLeft:4,marginRight:2,decorator:null}:{marginLeft:2,marginRight:4,decorator:null}},"tabview/bar/button-backward":{include:"slidebar/button-backward",alias:"slidebar/button-backward",style:e=>e.barTop?{marginTop:4,marginBottom:2,decorator:null}:e.barBottom?{marginTop:2,marginBottom:4,decorator:null}:e.barLeft?{marginLeft:4,marginRight:2,decorator:null}:{marginLeft:2,marginRight:4,decorator:null}},"tabview/pane":{style(e){var t,r=0,i=0,n=0,o=0;if(e.barTop){r=-1;t="main-top"}else if(e.barBottom){i=-1;t="main-bottom"}else if(e.barLeft){n=-1;t="main-left"}else{o=-1;t="main-right"}return{marginLeft:n,marginRight:o,marginTop:r,marginBottom:i,padding:10,decorator:t,backgroundColor:"surface"}}},"tabview-page":"widget","tabview-page/button":{style(e){var t,r;e.barTop||e.barBottom?r=[8,16,8,13]:e.barRight?r=[8,8,8,12]:e.barLeft&&(r=[8,8,8,8]);if(e.checked)if(e.barTop){t="tabview-page-button-top";r[2]-=2}else if(e.barBottom){t="tabview-page-button-bottom";r[0]-=2}else if(e.barRight){t="tabview-page-button-right";r[3]-=2}else if(e.barLeft){t="tabview-page-button-left";r[1]-=2}return{zIndex:e.checked?10:5,decorator:t,textColor:e.disabled?"text-disabled-on-surface":"text-primary-on-surface",font:e.checked?"bold":void 0,padding:r,cursor:"pointer"}}},"tabview-page/button/label":{alias:"label",style:e=>({padding:[0,1,0,1]})},"tabview-page/button/icon":"image","tabview-page/button/close-button":{alias:"atom",style:e=>({cursor:e.disabled?void 0:"pointer",icon:qx.theme.tangible.Image.URLS["tabview-close"]})},colorpopup:{alias:"popup",include:"popup",style:e=>({padding:5})},"colorpopup/field":{style:e=>({margin:2,width:14,height:14,backgroundColor:"surface",decorator:"main"})},"colorpopup/selector-button":"button","colorpopup/auto-button":"button","colorpopup/preview-pane":"groupbox","colorpopup/current-preview":{style:e=>({height:20,padding:4,marginLeft:4,decorator:"main",allowGrowX:!0})},"colorpopup/selected-preview":{style:e=>({height:20,padding:4,marginRight:4,decorator:"main",allowGrowX:!0})},"colorpopup/colorselector-okbutton":{alias:"button",include:"button",style:e=>({icon:"icon/16/actions/dialog-ok.png"})},"colorpopup/colorselector-cancelbutton":{alias:"button",include:"button",style:e=>({icon:"icon/16/actions/dialog-cancel.png"})},colorselector:"widget","colorselector/control-bar":"widget","colorselector/visual-pane":"groupbox","colorselector/control-pane":"widget","colorselector/preset-grid":"widget","colorselector/colorbucket":{style:e=>({decorator:"main",width:16,height:16})},"colorselector/preset-field-set":"groupbox","colorselector/input-field-set":{include:"groupbox",alias:"groupbox",style:()=>({paddingTop:12})},"colorselector/preview-field-set":{include:"groupbox",alias:"groupbox",style:()=>({paddingTop:12})},"colorselector/hex-field-composite":"widget","colorselector/hex-field":"textfield","colorselector/rgb-spinner-composite":"widget","colorselector/rgb-spinner-red":"spinner","colorselector/rgb-spinner-green":"spinner","colorselector/rgb-spinner-blue":"spinner","colorselector/hsb-spinner-composite":"widget","colorselector/hsb-spinner-hue":"spinner","colorselector/hsb-spinner-saturation":"spinner","colorselector/hsb-spinner-brightness":"spinner","colorselector/preview-content-old":{style:e=>({decorator:"main",width:50,height:25})},"colorselector/preview-content-new":{style:e=>({decorator:"main",backgroundColor:"surface",width:50,height:25})},"colorselector/hue-saturation-field":{style:e=>({decorator:"main",margin:5})},"colorselector/brightness-field":{style:e=>({decorator:"main",margin:[5,7]})},"colorselector/hue-saturation-pane":"widget","colorselector/hue-saturation-handle":"widget","colorselector/brightness-pane":"widget","colorselector/brightness-handle":"widget","app-header":{style:e=>({font:"headline",textColor:"text-on-primary",backgroundColor:"primary",padding:[8,12]})},"app-header-label":{style:e=>({paddingTop:5})},"app-splitpane":{alias:"splitpane",style:e=>({padding:[0,10,10,10]})},"list-search-highlight":{style:e=>({backgroundColor:"rgba(255, 251, 0, 0.53)",textDecorationStyle:"dotted",textDecorationLine:"underline"})}}});qx.theme.tangible.Appearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qxl.datagrid.theme.tangible.MAppearance",{appearances:{"qxl-datagrid":"widget","qxl-datagrid/scrollbar-x":"scrollbar","qxl-datagrid/scrollbar-y":"scrollbar","qxl-datagrid-header":"table-scroller/header","qxl-datagrid-header-cell":"widget","qxl-datagrid-widgetpane":{style:e=>({backgroundColor:"transparent"})},"qxl-datagrid-cell":{style(e){let t,r="transparent";e.selected&&(r="qxl-datagrid-row-background-selected");e.focused&&(t="qxl-datagrid-cell-focused");return{backgroundColor:r,decorator:t}}},"qxl-datagrid-row":{style(e){let t="qxl-datagrid-row-background-even";e.selected?t="qxl-datagrid-row-background-selected":e.odd&&(t="qxl-datagrid-row-background-odd");let r="qxl-datagrid-row";e.focused&&(r+="-focused");return{backgroundColor:t,decorator:r}}}}});qxl.datagrid.theme.tangible.MAppearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.tangible.Appearance":{require:!0},"qxl.datagrid.theme.tangible.MAppearance":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qxl.datagrid.demo.theme.tangible.Appearance",{extend:qx.theme.tangible.Appearance,include:[qxl.datagrid.theme.tangible.MAppearance]});qxl.datagrid.demo.theme.tangible.Appearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qxl.datagrid.demo.theme.tangible.Color":{require:!0},"qxl.datagrid.demo.theme.tangible.Decoration":{require:!0},"qx.theme.tangible.Font":{require:!0},"qx.theme.icon.Tango":{require:!0},"qxl.datagrid.demo.theme.tangible.Appearance":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qxl.datagrid.demo.theme.tangible.Theme",{meta:{color:qxl.datagrid.demo.theme.tangible.Color,decoration:qxl.datagrid.demo.theme.tangible.Decoration,font:qx.theme.tangible.Font,icon:qx.theme.icon.Tango,appearance:qxl.datagrid.demo.theme.tangible.Appearance}});qxl.datagrid.demo.theme.tangible.Theme.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.theme.tangible.Image",{extend:qx.core.Object,statics:{URLS:{blank:"qx/static/blank.png","checkbox-checked":"@MaterialIcons/check_box/15","checkbox-blank":"@MaterialIcons/check_box_outline_blank/15","checkbox-undetermined":"@MaterialIcons/indeterminate_check_box/15","radiobutton-checked":"@MaterialIcons/radio_button_on/15","radiobutton-unchecked":"@MaterialIcons/radio_button_off/15","window-minimize":"@MaterialIcons/keyboard_arrow_down","window-maximize":"@MaterialIcons/fullscreen","window-restore":"@MaterialIcons/fullscreen_exit","window-close":"@MaterialIcons/close","cursor-copy":"decoration/cursors/copy.gif","cursor-move":"decoration/cursors/move.gif","cursor-alias":"decoration/cursors/alias.gif","cursor-nodrop":"decoration/cursors/nodrop.gif","arrow-right":"@MaterialIcons/keyboard_arrow_right/18","arrow-left":"@MaterialIcons/keyboard_arrow_left/18","arrow-up":"@MaterialIcons/keyboard_arrow_up/18","arrow-down":"@MaterialIcons/keyboard_arrow_down/18","arrow-forward":"@MaterialIcons/fast_forward/18","arrow-rewind":"@MaterialIcons/fast_rewind/18","arrow-down-small":"@MaterialIcons/keyboard_arrow_down/13","arrow-up-small":"@MaterialIcons/keyboard_arrow_up/13","arrow-up-invert":"@MaterialIcons/keyboard_arrow_up/18","arrow-down-invert":"@MaterialIcons/keyboard_arrow_down/18","arrow-right-invert":"@MaterialIcons/keyboard_arrow_right/18","knob-horizontal":"@MaterialIcons/drag_indicator/12","knob-vertical":"@MaterialIcons/drag_handle/12","tree-minus":"@MaterialIcons/arrow_drop_down/16","tree-plus":"@MaterialIcons/arrow_right/16","select-column-order":"@MaterialIcons/reorder/15","table-ascending":"@MaterialIcons/keyboard_arrow_up/14","table-descending":"@MaterialIcons/keyboard_arrow_down/14","folder-open":"@MaterialIcons/folder_open/15",folder:"@MaterialIcons/folder/15",file:"@MaterialIcons/insert_drive_file/15","menu-checkbox":"@MaterialIcons/check_box_outline_blank/15","menu-checkbox-checked":"@MaterialIcons/check_box/15","menu-radiobutton-checked":"@MaterialIcons/radio_button_checked/15","menu-radiobutton":"@MaterialIcons/radio_button_unchecked/15","tabview-close":"decoration/tabview/close.gif"}}});qx.theme.tangible.Image.$$dbClassInfo=e}();qx.$$packageData[0]={locales:{C:{alternateQuotationEnd:"’",alternateQuotationStart:"‘",quotationEnd:"”",quotationStart:"“",cldr_am:"AM",cldr_pm:"PM",cldr_date_format_full:"EEEE, MMMM d, y",cldr_date_format_long:"MMMM d, y",cldr_date_format_medium:"MMM d, y",cldr_date_format_short:"M/d/yy",cldr_date_time_format_Ed:"d E",cldr_date_time_format_Hm:"HH:mm",cldr_date_time_format_Hms:"HH:mm:ss",cldr_date_time_format_M:"L",cldr_date_time_format_MEd:"E, M/d",cldr_date_time_format_MMM:"LLL",cldr_date_time_format_MMMEd:"E, MMM d",cldr_date_time_format_MMMd:"MMM d",cldr_date_time_format_Md:"M/d",cldr_date_time_format_d:"d",cldr_date_time_format_hm:"h:mm a",cldr_date_time_format_hms:"h:mm:ss a",cldr_date_time_format_ms:"mm:ss",cldr_date_time_format_y:"y",cldr_date_time_format_yM:"M/y",cldr_date_time_format_yMEd:"E, M/d/y",cldr_date_time_format_yMMM:"MMM y",cldr_date_time_format_yMMMEd:"E, MMM d, y",cldr_date_time_format_yMMMd:"MMM d, y",cldr_date_time_format_yMd:"M/d/y",cldr_date_time_format_yQ:null,cldr_date_time_format_yQQQ:"QQQ y",cldr_day_format_abbreviated_fri:"Fri",cldr_day_format_abbreviated_mon:"Mon",cldr_day_format_abbreviated_sat:"Sat",cldr_day_format_abbreviated_sun:"Sun",cldr_day_format_abbreviated_thu:"Thu",cldr_day_format_abbreviated_tue:"Tue",cldr_day_format_abbreviated_wed:"Wed",cldr_day_format_wide_fri:"Friday",cldr_day_format_wide_mon:"Monday",cldr_day_format_wide_sat:"Saturday",cldr_day_format_wide_sun:"Sunday",cldr_day_format_wide_thu:"Thursday",cldr_day_format_wide_tue:"Tuesday",cldr_day_format_wide_wed:"Wednesday","cldr_day_stand-alone_narrow_fri":"Fri","cldr_day_stand-alone_narrow_mon":"Mon","cldr_day_stand-alone_narrow_sat":"Sat","cldr_day_stand-alone_narrow_sun":"Sun","cldr_day_stand-alone_narrow_thu":"Thu","cldr_day_stand-alone_narrow_tue":"Tue","cldr_day_stand-alone_narrow_wed":"Wed",cldr_month_format_abbreviated_1:"Jan",cldr_month_format_abbreviated_2:"Feb",cldr_month_format_abbreviated_3:"Mar",cldr_month_format_abbreviated_4:"Apr",cldr_month_format_abbreviated_5:"May",cldr_month_format_abbreviated_6:"Jun",cldr_month_format_abbreviated_7:"Jul",cldr_month_format_abbreviated_8:"Aug",cldr_month_format_abbreviated_9:"Sep",cldr_month_format_abbreviated_10:"Oct",cldr_month_format_abbreviated_11:"Nov",cldr_month_format_abbreviated_12:"Dec",cldr_month_format_wide_1:"January",cldr_month_format_wide_2:"February",cldr_month_format_wide_3:"March",cldr_month_format_wide_4:"April",cldr_month_format_wide_5:"May",cldr_month_format_wide_6:"June",cldr_month_format_wide_7:"July",cldr_month_format_wide_8:"August",cldr_month_format_wide_9:"September",cldr_month_format_wide_10:"October",cldr_month_format_wide_11:"November",cldr_month_format_wide_12:"December","cldr_month_stand-alone_narrow_1":"Jan","cldr_month_stand-alone_narrow_2":"Feb","cldr_month_stand-alone_narrow_3":"Mar","cldr_month_stand-alone_narrow_4":"Apr","cldr_month_stand-alone_narrow_5":"May","cldr_month_stand-alone_narrow_6":"Jun","cldr_month_stand-alone_narrow_7":"Jul","cldr_month_stand-alone_narrow_8":"Aug","cldr_month_stand-alone_narrow_9":"Sep","cldr_month_stand-alone_narrow_10":"Oct","cldr_month_stand-alone_narrow_11":"Nov","cldr_month_stand-alone_narrow_12":"Dec",cldr_number_decimal_separator:".",cldr_number_group_separator:",",cldr_number_percent_format:"#,##0%",day:["day"],dayperiod:["AM/PM","am/pm"],era:["era"],hour:["hour"],minute:["minute"],month:["month"],second:["second"],week:["week"],weekday:["day of the week"],year:["year"],zone:["time zone"]},en:{alternateQuotationEnd:"’",alternateQuotationStart:"‘",quotationEnd:"”",quotationStart:"“",cldr_am:"AM",cldr_pm:"PM",cldr_date_format_full:"EEEE, MMMM d, y",cldr_date_format_long:"MMMM d, y",cldr_date_format_medium:"MMM d, y",cldr_date_format_short:"M/d/yy",cldr_date_time_format_Ed:"d E",cldr_date_time_format_Hm:"HH:mm",cldr_date_time_format_Hms:"HH:mm:ss",cldr_date_time_format_M:"L",cldr_date_time_format_MEd:"E, M/d",cldr_date_time_format_MMM:"LLL",cldr_date_time_format_MMMEd:"E, MMM d",cldr_date_time_format_MMMd:"MMM d",cldr_date_time_format_Md:"M/d",cldr_date_time_format_d:"d",cldr_date_time_format_hm:"h:mm a",cldr_date_time_format_hms:"h:mm:ss a",cldr_date_time_format_ms:"mm:ss",cldr_date_time_format_y:"y",cldr_date_time_format_yM:"M/y",cldr_date_time_format_yMEd:"E, M/d/y",cldr_date_time_format_yMMM:"MMM y",cldr_date_time_format_yMMMEd:"E, MMM d, y",cldr_date_time_format_yMMMd:"MMM d, y",cldr_date_time_format_yMd:"M/d/y",cldr_date_time_format_yQ:null,cldr_date_time_format_yQQQ:"QQQ y",cldr_day_format_abbreviated_fri:"Fri",cldr_day_format_abbreviated_mon:"Mon",cldr_day_format_abbreviated_sat:"Sat",cldr_day_format_abbreviated_sun:"Sun",cldr_day_format_abbreviated_thu:"Thu",cldr_day_format_abbreviated_tue:"Tue",cldr_day_format_abbreviated_wed:"Wed",cldr_day_format_wide_fri:"Friday",cldr_day_format_wide_mon:"Monday",cldr_day_format_wide_sat:"Saturday",cldr_day_format_wide_sun:"Sunday",cldr_day_format_wide_thu:"Thursday",cldr_day_format_wide_tue:"Tuesday",cldr_day_format_wide_wed:"Wednesday","cldr_day_stand-alone_narrow_fri":"Fri","cldr_day_stand-alone_narrow_mon":"Mon","cldr_day_stand-alone_narrow_sat":"Sat","cldr_day_stand-alone_narrow_sun":"Sun","cldr_day_stand-alone_narrow_thu":"Thu","cldr_day_stand-alone_narrow_tue":"Tue","cldr_day_stand-alone_narrow_wed":"Wed",cldr_month_format_abbreviated_1:"Jan",cldr_month_format_abbreviated_2:"Feb",cldr_month_format_abbreviated_3:"Mar",cldr_month_format_abbreviated_4:"Apr",cldr_month_format_abbreviated_5:"May",cldr_month_format_abbreviated_6:"Jun",cldr_month_format_abbreviated_7:"Jul",cldr_month_format_abbreviated_8:"Aug",cldr_month_format_abbreviated_9:"Sep",cldr_month_format_abbreviated_10:"Oct",cldr_month_format_abbreviated_11:"Nov",cldr_month_format_abbreviated_12:"Dec",cldr_month_format_wide_1:"January",cldr_month_format_wide_2:"February",cldr_month_format_wide_3:"March",cldr_month_format_wide_4:"April",cldr_month_format_wide_5:"May",cldr_month_format_wide_6:"June",cldr_month_format_wide_7:"July",cldr_month_format_wide_8:"August",cldr_month_format_wide_9:"September",cldr_month_format_wide_10:"October",cldr_month_format_wide_11:"November",cldr_month_format_wide_12:"December","cldr_month_stand-alone_narrow_1":"Jan","cldr_month_stand-alone_narrow_2":"Feb","cldr_month_stand-alone_narrow_3":"Mar","cldr_month_stand-alone_narrow_4":"Apr","cldr_month_stand-alone_narrow_5":"May","cldr_month_stand-alone_narrow_6":"Jun","cldr_month_stand-alone_narrow_7":"Jul","cldr_month_stand-alone_narrow_8":"Aug","cldr_month_stand-alone_narrow_9":"Sep","cldr_month_stand-alone_narrow_10":"Oct","cldr_month_stand-alone_narrow_11":"Nov","cldr_month_stand-alone_narrow_12":"Dec",cldr_number_decimal_separator:".",cldr_number_group_separator:",",cldr_number_percent_format:"#,##0%",day:["day"],dayperiod:["AM/PM","am/pm"],era:["era"],hour:["hour"],minute:["minute"],month:["month"],second:["second"],week:["week"],weekday:["day of the week"],year:["year"],zone:["time zone"]}},resources:{"qx/icon/Tango/16/actions/dialog-cancel.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/dialog-ok.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/view-refresh.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/window-close.png":[16,16,"png","qx"],"qx/icon/Tango/16/apps/office-calendar.png":[16,16,"png","qx"],"qx/icon/Tango/16/mimetypes/text-plain.png":[16,16,"png","qx"],"qx/icon/Tango/16/places/folder-open.png":[16,16,"png","qx"],"qx/icon/Tango/16/places/folder.png":[16,16,"png","qx"],"qx/static/blank.gif":[1,1,"gif","qx"],"qx/static/blank.png":[1,1,"png","qx"],"qxl/datagrid/demo/tree/dummy-tree-data.json":[null,null,"json","qxl.datagrid"],"qx/font/Roboto/roboto-v18-latin_latin-ext-regular.woff":[null,null,"woff","qx"],"qx/font/Roboto/roboto-mono-v6-latin_latin-ext-regular.woff":[null,null,"woff","qx"],"qx/iconfont/MaterialIcons/materialicons-v126.woff":[null,null,"woff","qx"]},translations:{en:{"":"Project-Id-Version: qooxdoo framework\nReport-Msgid-Bugs-To: \nPOT-Creation-Date: 2008-05-19 10:11+0200\nPO-Revision-Date: 2007-01-23 17:53+0100\nLast-Translator: Automatically generated\nLanguage-Team: none\nMIME-Version: 1.0\nContent-Type: text/plain; charset=ASCII\nContent-Transfer-Encoding: 8bit\nPlural-Forms: nplurals=2; plural=(n != 1);\n"}}};qx.$$loader.init(); \ No newline at end of file