(function(){ if (!window.qx) window.qx = {}; qx.$$start = new Date(); if (!qx.$$environment) qx.$$environment = {}; var envinfo = {"qx.application":"frontend.Application","qx.debug":false,"qx.debug.databinding":false,"qx.debug.dispose":false,"qx.debug.io":false,"qx.debug.ui.queue":false,"qx.optimization.basecalls":true,"qx.optimization.comments":true,"qx.optimization.privates":true,"qx.optimization.strings":true,"qx.optimization.variables":true,"qx.optimization.variants":true,"qx.optimization.whitespace":true,"qx.revision":"","qx.theme":"frontend.theme.Theme","qx.version":"3.0.1"}; for (var k in envinfo) qx.$$environment[k] = envinfo[k]; if (!qx.$$libraries) qx.$$libraries = {}; var libinfo = {"__out__":{"sourceUri":"script"},"com.zenesis.qx.upload":{"resourceUri":"resource","sourceUri":"script"},"frontend":{"resourceUri":"resource","sourceUri":"script"},"qx":{"resourceUri":"resource","sourceUri":"script","sourceViewUri":"https://github.com/qooxdoo/qooxdoo/blob/%{qxGitBranch}/framework/source/class/%{classFilePath}#L%{lineNumber}"}}; for (var k in libinfo) qx.$$libraries[k] = libinfo[k]; qx.$$resources = {}; qx.$$translations = {"C":null,"en":null}; qx.$$locales = {"C":null,"en":null}; qx.$$packageData = {}; qx.$$g = {} qx.$$loader = { parts : {"boot":[0]}, packages : {"0":{"uris":["__out__:frontend.5e80abf1b418.js"]}}, urisBefore : [], cssBefore : [], boot : "boot", closureParts : {}, bootIsInline : true, addNoCacheParam : false, decodeUris : function(compressedUris) { var libs = qx.$$libraries; var uris = []; for (var i=0; i0) { for (var i=0, m=l.cssBefore.length; i0){ loadScriptList(l.urisBefore, function(){ l.initUris(); }); } else { l.initUris(); } } // Load qooxdoo boot stuff qx.$$loader.initUris = function(){ var l=qx.$$loader; var bootPackageHash=l.parts[l.boot][0]; if (l.bootIsInline){ l.importPackageData(qx.$$packageData[bootPackageHash]); l.signalStartup(); } else { loadScriptList(l.decodeUris(l.packages[l.parts[l.boot][0]].uris), function(){ // Opera needs this extra time to parse the scripts window.setTimeout(function(){ l.importPackageData(qx.$$packageData[bootPackageHash] || {}); l.signalStartup(); }, 0); }); } } })(); qx.$$packageData['0']={"locales":{"C":{"alternateQuotationEnd":"’","alternateQuotationStart":"‘","cldr_am":"AM","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_EHm":"E HH:mm","cldr_date_time_format_EHms":"E HH:mm:ss","cldr_date_time_format_Ed":"d E","cldr_date_time_format_Ehm":"E h:mm a","cldr_date_time_format_Ehms":"E h:mm:ss a","cldr_date_time_format_Gy":"y G","cldr_date_time_format_GyMMM":"MMM y G","cldr_date_time_format_GyMMMEd":"E, MMM d, y G","cldr_date_time_format_GyMMMd":"MMM d, y G","cldr_date_time_format_H":"HH","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_h":"h a","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_yQQQ":"QQQ y","cldr_date_time_format_yQQQQ":"QQQQ 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_short_fri":"Fr","cldr_day_format_short_mon":"Mo","cldr_day_format_short_sat":"Sa","cldr_day_format_short_sun":"Su","cldr_day_format_short_thu":"Th","cldr_day_format_short_tue":"Tu","cldr_day_format_short_wed":"We","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":"F","cldr_day_stand-alone_narrow_mon":"M","cldr_day_stand-alone_narrow_sat":"S","cldr_day_stand-alone_narrow_sun":"S","cldr_day_stand-alone_narrow_thu":"T","cldr_day_stand-alone_narrow_tue":"T","cldr_day_stand-alone_narrow_wed":"W","cldr_month_format_abbreviated_1":"Jan","cldr_month_format_abbreviated_10":"Oct","cldr_month_format_abbreviated_11":"Nov","cldr_month_format_abbreviated_12":"Dec","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_wide_1":"January","cldr_month_format_wide_10":"October","cldr_month_format_wide_11":"November","cldr_month_format_wide_12":"December","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_stand-alone_narrow_1":"J","cldr_month_stand-alone_narrow_10":"O","cldr_month_stand-alone_narrow_11":"N","cldr_month_stand-alone_narrow_12":"D","cldr_month_stand-alone_narrow_2":"F","cldr_month_stand-alone_narrow_3":"M","cldr_month_stand-alone_narrow_4":"A","cldr_month_stand-alone_narrow_5":"M","cldr_month_stand-alone_narrow_6":"J","cldr_month_stand-alone_narrow_7":"J","cldr_month_stand-alone_narrow_8":"A","cldr_month_stand-alone_narrow_9":"S","cldr_number_decimal_separator":".","cldr_number_group_separator":",","cldr_number_percent_format":"#,##0%","cldr_pm":"PM","cldr_time_format_full":"h:mm:ss a zzzz","cldr_time_format_long":"h:mm:ss a z","cldr_time_format_medium":"h:mm:ss a","cldr_time_format_short":"h:mm a","quotationEnd":"”","quotationStart":"“"},"en":{"alternateQuotationEnd":"’","alternateQuotationStart":"‘","cldr_am":"AM","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_EHm":"E HH:mm","cldr_date_time_format_EHms":"E HH:mm:ss","cldr_date_time_format_Ed":"d E","cldr_date_time_format_Ehm":"E h:mm a","cldr_date_time_format_Ehms":"E h:mm:ss a","cldr_date_time_format_Gy":"y G","cldr_date_time_format_GyMMM":"MMM y G","cldr_date_time_format_GyMMMEd":"E, MMM d, y G","cldr_date_time_format_GyMMMd":"MMM d, y G","cldr_date_time_format_H":"HH","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_h":"h a","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_yQQQ":"QQQ y","cldr_date_time_format_yQQQQ":"QQQQ 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_short_fri":"Fr","cldr_day_format_short_mon":"Mo","cldr_day_format_short_sat":"Sa","cldr_day_format_short_sun":"Su","cldr_day_format_short_thu":"Th","cldr_day_format_short_tue":"Tu","cldr_day_format_short_wed":"We","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":"F","cldr_day_stand-alone_narrow_mon":"M","cldr_day_stand-alone_narrow_sat":"S","cldr_day_stand-alone_narrow_sun":"S","cldr_day_stand-alone_narrow_thu":"T","cldr_day_stand-alone_narrow_tue":"T","cldr_day_stand-alone_narrow_wed":"W","cldr_month_format_abbreviated_1":"Jan","cldr_month_format_abbreviated_10":"Oct","cldr_month_format_abbreviated_11":"Nov","cldr_month_format_abbreviated_12":"Dec","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_wide_1":"January","cldr_month_format_wide_10":"October","cldr_month_format_wide_11":"November","cldr_month_format_wide_12":"December","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_stand-alone_narrow_1":"J","cldr_month_stand-alone_narrow_10":"O","cldr_month_stand-alone_narrow_11":"N","cldr_month_stand-alone_narrow_12":"D","cldr_month_stand-alone_narrow_2":"F","cldr_month_stand-alone_narrow_3":"M","cldr_month_stand-alone_narrow_4":"A","cldr_month_stand-alone_narrow_5":"M","cldr_month_stand-alone_narrow_6":"J","cldr_month_stand-alone_narrow_7":"J","cldr_month_stand-alone_narrow_8":"A","cldr_month_stand-alone_narrow_9":"S","cldr_number_decimal_separator":".","cldr_number_group_separator":",","cldr_number_percent_format":"#,##0%","cldr_pm":"PM","cldr_time_format_full":"h:mm:ss a zzzz","cldr_time_format_long":"h:mm:ss a z","cldr_time_format_medium":"h:mm:ss a","cldr_time_format_short":"h:mm a","quotationEnd":"”","quotationStart":"“"}},"resources":{"frontend/test.png":[32,32,"png","frontend"],"qx/decoration/Modern/arrows-combined.png":[87,8,"png","qx"],"qx/decoration/Modern/arrows/down-invert.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-74,0],"qx/decoration/Modern/arrows/down-small.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-49,0],"qx/decoration/Modern/arrows/down.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-20,0],"qx/decoration/Modern/arrows/forward.png":[10,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-59,0],"qx/decoration/Modern/arrows/left.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-44,0],"qx/decoration/Modern/arrows/rewind.png":[10,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-10,0],"qx/decoration/Modern/arrows/right-invert.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-5,0],"qx/decoration/Modern/arrows/right.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-54,0],"qx/decoration/Modern/arrows/up-invert.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-28,0],"qx/decoration/Modern/arrows/up-small.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-82,0],"qx/decoration/Modern/arrows/up.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-36,0],"qx/decoration/Modern/colorselector-combined.gif":[46,11,"gif","qx"],"qx/decoration/Modern/colorselector/brightness-field.png":[19,256,"png","qx"],"qx/decoration/Modern/colorselector/brightness-handle.gif":[35,11,"gif","qx","qx/decoration/Modern/colorselector-combined.gif",0,0],"qx/decoration/Modern/colorselector/huesaturation-field.jpg":[256,256,"jpeg","qx"],"qx/decoration/Modern/colorselector/huesaturation-handle.gif":[11,11,"gif","qx","qx/decoration/Modern/colorselector-combined.gif",-35,0],"qx/decoration/Modern/cursors-combined.gif":[71,20,"gif","qx"],"qx/decoration/Modern/cursors/alias.gif":[19,15,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-52,0],"qx/decoration/Modern/cursors/copy.gif":[19,15,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-33,0],"qx/decoration/Modern/cursors/move.gif":[13,9,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-20,0],"qx/decoration/Modern/cursors/nodrop.gif":[20,20,"gif","qx","qx/decoration/Modern/cursors-combined.gif",0,0],"qx/decoration/Modern/form/checked.png":[6,6,"png","qx"],"qx/decoration/Modern/form/tooltip-error-arrow-right.png":[11,14,"png","qx"],"qx/decoration/Modern/form/tooltip-error-arrow.png":[11,14,"png","qx"],"qx/decoration/Modern/form/undetermined.png":[6,2,"png","qx"],"qx/decoration/Modern/menu-checkradio-combined.gif":[64,7,"gif","qx"],"qx/decoration/Modern/menu/checkbox-invert.gif":[16,7,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-16,0],"qx/decoration/Modern/menu/checkbox.gif":[16,7,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-48,0],"qx/decoration/Modern/menu/radiobutton-invert.gif":[16,5,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-32,0],"qx/decoration/Modern/menu/radiobutton.gif":[16,5,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",0,0],"qx/decoration/Modern/scrollbar-combined.png":[54,12,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-down.png":[6,4,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-28,0],"qx/decoration/Modern/scrollbar/scrollbar-left.png":[4,6,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-50,0],"qx/decoration/Modern/scrollbar/scrollbar-right.png":[4,6,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-46,0],"qx/decoration/Modern/scrollbar/scrollbar-up.png":[6,4,"png","qx","qx/decoration/Modern/scrollbar-combined.png",0,0],"qx/decoration/Modern/splitpane-knobs-combined.png":[8,9,"png","qx"],"qx/decoration/Modern/splitpane/knob-horizontal.png":[1,8,"png","qx","qx/decoration/Modern/splitpane-knobs-combined.png",0,-1],"qx/decoration/Modern/splitpane/knob-vertical.png":[8,1,"png","qx","qx/decoration/Modern/splitpane-knobs-combined.png",0,0],"qx/decoration/Modern/table-combined.png":[94,18,"png","qx"],"qx/decoration/Modern/table/ascending.png":[8,5,"png","qx","qx/decoration/Modern/table-combined.png",0,0],"qx/decoration/Modern/table/boolean-false.png":[14,14,"png","qx","qx/decoration/Modern/table-combined.png",-80,0],"qx/decoration/Modern/table/boolean-true.png":[14,14,"png","qx","qx/decoration/Modern/table-combined.png",-26,0],"qx/decoration/Modern/table/descending.png":[8,5,"png","qx","qx/decoration/Modern/table-combined.png",-18,0],"qx/decoration/Modern/table/select-column-order.png":[10,9,"png","qx","qx/decoration/Modern/table-combined.png",-8,0],"qx/decoration/Modern/toolbar/toolbar-handle-knob.gif":[1,8,"gif","qx"],"qx/decoration/Modern/toolbar/toolbar-part.gif":[7,1,"gif","qx"],"qx/decoration/Modern/tree-combined.png":[32,8,"png","qx"],"qx/decoration/Modern/tree/closed-selected.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-24,0],"qx/decoration/Modern/tree/closed.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-16,0],"qx/decoration/Modern/tree/open-selected.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-8,0],"qx/decoration/Modern/tree/open.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",0,0],"qx/decoration/Modern/window-captionbar-buttons-combined.png":[108,9,"png","qx"],"qx/decoration/Modern/window/close-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-27,0],"qx/decoration/Modern/window/close-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-9,0],"qx/decoration/Modern/window/close-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-90,0],"qx/decoration/Modern/window/maximize-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-18,0],"qx/decoration/Modern/window/maximize-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-81,0],"qx/decoration/Modern/window/maximize-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-54,0],"qx/decoration/Modern/window/minimize-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-63,0],"qx/decoration/Modern/window/minimize-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-72,0],"qx/decoration/Modern/window/minimize-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-36,0],"qx/decoration/Modern/window/restore-active-hovered.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",0,0],"qx/decoration/Modern/window/restore-active.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-99,0],"qx/decoration/Modern/window/restore-inactive.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-45,0],"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/apps/utilities-color-chooser.png":[16,16,"png","qx"],"qx/icon/Tango/16/mimetypes/office-document.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/icon/Tango/22/mimetypes/office-document.png":[22,22,"png","qx"],"qx/icon/Tango/22/places/folder-open.png":[22,22,"png","qx"],"qx/icon/Tango/22/places/folder.png":[22,22,"png","qx"],"qx/icon/Tango/32/mimetypes/office-document.png":[32,32,"png","qx"],"qx/icon/Tango/32/places/folder-open.png":[32,32,"png","qx"],"qx/icon/Tango/32/places/folder.png":[32,32,"png","qx"],"qx/static/blank.gif":[1,1,"gif","qx"]},"translations":{"C":{},"en":{}}}; (function(){var b=".prototype",c="function",d="Boolean",e="Error",f="Object.keys requires an object as argument.",g="constructor",h="warn",j="default",k="hasOwnProperty",m="string",n="Object",o="toLocaleString",p="error",q="toString",r="qx.debug",s="()",t="RegExp",u="String",v="info",w="BROKEN_IE",x="isPrototypeOf",y="Date",z="",A="qx.Bootstrap",B="Function",C="]",D="Class",E="Array",F="[Class ",G="valueOf",H="Number",I="debug",J="ES5",K=".",L="propertyIsEnumerable",M="object";if(!window.qx){window.qx={};};qx.Bootstrap={genericToString:function(){return F+this.classname+C;},createNamespace:function(name,N){var Q=name.split(K);var P=Q[0];var parent=this.__a&&this.__a[P]?this.__a:window;for(var i=0,O=Q.length-1;i-1){var gp=gn.slice(0,gr);var gm=gn.slice(gr+1);var go=qx.Bootstrap.getByName(gp);if(go!=undefined){return [go,gm];};};};return [undefined,undefined];},getAsync:function(gu,gx,self){var gy=this;if(this.__d[gu]!=undefined){window.setTimeout(function(){gx.call(self,gy.__d[gu]);},0);return;};var gv=this._asyncChecks[gu];if(gv){gv(function(gA){gy.__d[gu]=gA;gx.call(self,gA);});return;};var gt=this._getClassNameFromEnvKey(gu);if(gt[0]!=undefined){var gw=gt[0];var gz=gt[1];gw[gz](function(gB){gy.__d[gu]=gB;gx.call(self,gB);});return;};if(qx.Bootstrap.DEBUG){qx.Bootstrap.warn(gu+l+f);qx.Bootstrap.trace(this);};},select:function(gD,gC){return this.__e(this.get(gD),gC);},selectAsync:function(gF,gE,self){this.getAsync(gF,function(gG){var gH=this.__e(gF,gE);gH.call(self,gG);},this);},__e:function(gL,gK){var gJ=gK[gL];if(gK.hasOwnProperty(gL)){return gJ;};for(var gM in gK){if(gM.indexOf(fI)!=-1){var gI=gM.split(fI);for(var i=0;i=0;i-- ){if(this[i]===r){return i;};};return -1;};};if(!qx.core.Environment.get(k)){Array.prototype.forEach=function(t,u){var l=this.length;for(var i=0;i=0;i-- ){if(i in this){P=N.call(undefined,P,this[i],i,this);};};return P;};};}});})();(function(){var a="qx.Mixin",b=".prototype",c="]",d='Conflict between mixin "',e="constructor",f="Array",g='"!',h='" and "',j="destruct",k='" in property "',m="Mixin",n='" in member "',o="[Mixin ";qx.Bootstrap.define(a,{statics:{define:function(name,q){if(q){if(q.include&&!(qx.Bootstrap.getClass(q.include)===f)){q.include=[q.include];};{};var r=q.statics?q.statics:{};qx.Bootstrap.setDisplayNames(r,name);for(var p in r){if(r[p] instanceof Function){r[p].$$mixin=r;};};if(q.construct){r.$$constructor=q.construct;qx.Bootstrap.setDisplayName(q.construct,name,e);};if(q.include){r.$$includes=q.include;};if(q.properties){r.$$properties=q.properties;};if(q.members){r.$$members=q.members;qx.Bootstrap.setDisplayNames(q.members,name+b);};for(var p in r.$$members){if(r.$$members[p] instanceof Function){r.$$members[p].$$mixin=r;};};if(q.events){r.$$events=q.events;};if(q.destruct){r.$$destructor=q.destruct;qx.Bootstrap.setDisplayName(q.destruct,name,j);};}else {var r={};};r.$$type=m;r.name=name;r.toString=this.genericToString;r.basename=qx.Bootstrap.createNamespace(name,r);this.$$registry[name]=r;return r;},checkCompatibility:function(t){var u=this.flatten(t);var v=u.length;if(v<2){return true;};var w={};var x={};var z={};var y;for(var i=0;i=1;i-- ){var I=J[i];var parent=J[i-1];if(qx.Bootstrap.isFunction(I)||qx.Bootstrap.objectGetLength(I)===0){delete parent[K[i-1]];}else {break;};};},isDefined:qx.util.OOUtil.classIsDefined,getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry);},getByName:qx.Bootstrap.getByName,include:function(M,L){{};qx.Class.__X(M,L,false);},patch:function(O,N){{};qx.Class.__X(O,N,true);},isSubClassOf:function(Q,P){if(!Q){return false;};if(Q==P){return true;};if(Q.prototype instanceof P){return true;};return false;},getPropertyDefinition:qx.util.OOUtil.getPropertyDefinition,getProperties:function(S){var R=[];while(S){if(S.$$properties){R.push.apply(R,Object.keys(S.$$properties));};S=S.superclass;};return R;},getByProperty:function(T,name){while(T){if(T.$$properties&&T.$$properties[name]){return T;};T=T.superclass;};return null;},hasProperty:qx.util.OOUtil.hasProperty,getEventType:qx.util.OOUtil.getEventType,supportsEvent:qx.util.OOUtil.supportsEvent,hasOwnMixin:function(V,U){return V.$$includes&&V.$$includes.indexOf(U)!==-1;},getByMixin:function(Y,X){var W,i,l;while(Y){if(Y.$$includes){W=Y.$$flatIncludes;for(i=0,l=W.length;i0:false;};var br=null;if(!bj){br=bp.options.converter();};this.__bi(bp.targetObject,bp.targetPropertyChain,br);}else {this.__bh(bp.targetObject,bp.targetPropertyChain);};break;};if(j==bp.propertyNames.length-1){if(qx.Class.implementsInterface(bn,qx.data.IListData)){var bs=bp.arrayIndexValues[j]===M?bn.length-1:bp.arrayIndexValues[j];var bk=bn.getItem(bs);this.__bk(bk,bp.targetObject,bp.targetPropertyChain,bp.options,bp.sources[bp.index]);bp.listenerIds[j]=this.__bm(bn,r,bp.targetObject,bp.targetPropertyChain,bp.options,bp.arrayIndexValues[j]);}else {if(bp.propertyNames[j]!=null&&bn[t+qx.lang.String.firstUp(bp.propertyNames[j])]!=null){var bk=bn[t+qx.lang.String.firstUp(bp.propertyNames[j])]();this.__bk(bk,bp.targetObject,bp.targetPropertyChain,bp.options,bp.sources[bp.index]);};var bl=this.__bg(bn,bp.propertyNames[j]);bp.listenerIds[j]=this.__bm(bn,bl,bp.targetObject,bp.targetPropertyChain,bp.options);};}else {if(bp.listeners[j]==null){var bm=qx.lang.Function.bind(this.__be,this,bp);bp.listeners.push(bm);};if(qx.Class.implementsInterface(bn,qx.data.IListData)){var bl=r;}else {var bl=this.__bg(bn,bp.propertyNames[j]);};bp.listenerIds[j]=bn.addListener(bl,bp.listeners[j]);};};},__bf:function(bu,bC,bG,by,bA){var bx=by.split(C);var bv=this.__bl(bx);var bF=[];var bE=[];var bz=[];var bD=[];var bw=bG;for(var i=0;icM){return;};}else {var cP=e.getData();};{};cP=qx.data.SingleValueBinding.__bo(cP,cL,cJ,cH,cD);{};try{if(cP!==undefined){qx.data.SingleValueBinding.__bi(cL,cJ,cP);}else {qx.data.SingleValueBinding.__bh(cL,cJ);};if(cH&&cH.onUpdate){cH.onUpdate(cD,cL,cP);};}catch(cQ){if(!(cQ instanceof qx.core.ValidationError)){throw cQ;};if(cH&&cH.onSetFail){cH.onSetFail(cQ);}else {qx.log.Logger.warn(q+cP+G+cL+a+cQ);};};};if(!cF){cF=y;};cI=qx.lang.Function.bind(cI,cD,cF);var cK=cD.addListener(cG,cI);return cK;},__bn:function(cV,cR,cU,cS,cT){if(this.__bd[cR.toHashCode()]===undefined){this.__bd[cR.toHashCode()]=[];};this.__bd[cR.toHashCode()].push([cV,cR,cU,cS,cT]);},__bo:function(da,df,cY,db,cW){if(db&&db.converter){var dc;if(df.getModel){dc=df.getModel();};return db.converter(da,dc,cW,df);}else {var cX=this.__bj(df,cY);var dg=cY.substring(cY.lastIndexOf(C)+1,cY.length);if(cX==null){return da;};var dd=qx.Class.getPropertyDefinition(cX.constructor,dg);var de=dd==null?y:dd.check;return this.__bq(da,de);};},__bp:function(dh,dj){var di=qx.Class.getPropertyDefinition(dh.constructor,dj);if(di==null){return null;};return di.event;},__bq:function(dm,dl){var dk=qx.lang.Type.getClass(dm);if((dk==I||dk==w)&&(dl==k||dl==D)){dm=parseInt(dm,10);};if((dk==b||dk==I||dk==K)&&dl==w){dm=dm+y;};if((dk==I||dk==w)&&(dl==I||dl==z)){dm=parseFloat(dm);};return dm;},removeBindingFromObject:function(dn,dq){if(dq.type==d){for(var i=0;i=0;i-- ){this.removeBindingFromObject(ds,dr[i][0]);};};},getAllBindingsForObject:function(dt){if(this.__bd[dt.toHashCode()]===undefined){this.__bd[dt.toHashCode()]=[];};return this.__bd[dt.toHashCode()];},removeAllBindings:function(){for(var dv in this.__bd){var du=qx.core.ObjectRegistry.fromHashCode(dv);if(du==null){delete this.__bd[dv];continue;};this.removeAllBindingsForObject(du);};this.__bd={};},getAllBindings:function(){return this.__bd;},showBindingInLog:function(dx,dz){var dy;for(var i=0;i=0){this.__bt[v]=u;};};return u;},hyphenate:function(z){var y=this.__bt[z];if(!y){y=z.replace(/[A-Z]/g,function(A){return (j+A.charAt(0).toLowerCase());});if(z.indexOf(a)==-1){this.__bt[z]=y;};};return y;},capitalize:function(C){if(this.__bs===null){var B=c;this.__bs=new RegExp(n+this.__br.replace(/[0-9A-F]{4}/g,function(D){return B+D;})+t+this.__br.replace(/[0-9A-F]{4}/g,function(E){return B+E;})+b,k);};return C.replace(this.__bs,function(F){return F.toUpperCase();});},clean:function(G){return G.replace(/\s+/g,r).trim();},trimLeft:function(H){return H.replace(/^\s+/,e);},trimRight:function(I){return I.replace(/\s+$/,e);},startsWith:function(K,J){return K.indexOf(J)===0;},endsWith:function(M,L){return M.substring(M.length-L.length,M.length)===L;},repeat:function(N,O){return N.length>0?new Array(O+1).join(N):e;},pad:function(Q,length,P){var R=length-Q.length;if(R>0){if(typeof P===d){P=o;};return this.repeat(P,R)+Q;}else {return Q;};},firstUp:qx.Bootstrap.firstUp,firstLow:qx.Bootstrap.firstLow,contains:function(T,S){return T.indexOf(S)!=-1;},format:function(U,V){var W=U;var i=V.length;while(i-- ){W=W.replace(new RegExp(p+(i+1),k),V[i]+e);};return W;},escapeRegexpChars:function(X){return X.replace(/([.*+?^${}()|[\]\/\\])/g,f);},toArray:function(Y){return Y.split(/\B|\b/g);},stripTags:function(ba){return ba.replace(/<\/?[^>]+>/gi,e);},stripScripts:function(bd,bc){var be=e;var bb=bd.replace(/]*>([\s\S]*?)<\/script>/gi,function(){be+=arguments[1]+s;return e;});if(bc===true){qx.lang.Function.globalEval(be);};return bb;},quote:function(bf){return q+bf.replace(/\\/g,h).replace(/\"/g,l)+q;}}});})();(function(){var a="mshtml",b="engine.name",c="[object Array]",d="qx.lang.Array",e="Cannot clean-up map entry doneObjects[",f="]",g="qx",h="number",j="][",k="string";qx.Bootstrap.define(d,{statics:{cast:function(m,o,p){if(m.constructor===o){return m;};if(qx.data&&qx.data.IListData){if(qx.Class&&qx.Class.hasInterface(m,qx.data.IListData)){var m=m.toArray();};};var n=new o;if((qx.core.Environment.get(b)==a)){if(m.item){for(var i=p||0,l=m.length;iX){X=W[i];};};return X===undefined?null:X;},min:function(ba){{};var i,bc=ba.length,bb=ba[0];for(i=1;i=1&&k[1]){return k[1]+b;};return a;},globalEval:function(data){if(window.execScript){return window.execScript(data);}else {return eval.call(window,data);};},create:function(n,m){{};if(!m){return n;};if(!(m.self||m.args||m.delay!=null||m.periodical!=null||m.attempt)){return n;};return function(event){{};var p=qx.lang.Array.fromArguments(arguments);if(m.args){p=m.args.concat(p);};if(m.delay||m.periodical){var o=function(){return n.apply(m.self||this,p);};if(qx.core.Environment.get(c)){o=qx.event.GlobalError.observeMethod(o);};if(m.delay){return window.setTimeout(o,m.delay);};if(m.periodical){return window.setInterval(o,m.periodical);};}else if(m.attempt){var q=false;try{q=n.apply(m.self||this,p);}catch(r){};return q;}else {return n.apply(m.self||this,p);};};},bind:function(s,self,t){return this.create(s,{self:self,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null});},curry:function(u,v){return this.create(u,{args:arguments.length>1?qx.lang.Array.fromArguments(arguments,1):null});},listener:function(x,self,y){if(arguments.length<3){return function(event){return x.call(self||this,event||window.event);};}else {var w=qx.lang.Array.fromArguments(arguments,2);return function(event){var z=[event||window.event];z.push.apply(z,w);x.apply(self||this,z);};};},attempt:function(A,self,B){return this.create(A,{self:self,attempt:true,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null})();},delay:function(D,C,self,E){return this.create(D,{delay:C,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();},periodical:function(G,F,self,H){return this.create(G,{periodical:F,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();}}});})();(function(){var a="qx.globalErrorHandling",b="qx.event.GlobalError";qx.Bootstrap.define(b,{statics:{__bz:null,__bA:null,__bB:null,__bC:function(){if(qx.core&&qx.core.Environment){return qx.core.Environment.get(a);}else {return !!qx.Bootstrap.getEnvironmentSetting(a);};},setErrorHandler:function(c,d){this.__bz=c||null;this.__bB=d||window;if(this.__bC()){if(c&&window.onerror){var e=qx.Bootstrap.bind(this.__bD,this);if(this.__bA==null){this.__bA=window.onerror;};var self=this;window.onerror=function(f,g,h){self.__bA(f,g,h);e(f,g,h);};};if(c&&!window.onerror){window.onerror=qx.Bootstrap.bind(this.__bD,this);};if(this.__bz==null){if(this.__bA!=null){window.onerror=this.__bA;this.__bA=null;}else {window.onerror=null;};};};},__bD:function(i,j,k){if(this.__bz){this.handleError(new qx.core.WindowError(i,j,k));};},observeMethod:function(l){if(this.__bC()){var self=this;return function(){if(!self.__bz){return l.apply(this,arguments);};try{return l.apply(this,arguments);}catch(m){self.handleError(new qx.core.GlobalError(m,arguments));};};}else {return l;};},handleError:function(n){if(this.__bz){this.__bz.call(this.__bB,n);};}},defer:function(o){if(qx.core&&qx.core.Environment){qx.core.Environment.add(a,true);}else {qx.Bootstrap.setEnvironmentSetting(a,true);};o.setErrorHandler(null,null);}});})();(function(){var a="",b="qx.core.WindowError";qx.Bootstrap.define(b,{extend:Error,construct:function(c,e,f){var d=Error.call(this,c);if(d.stack){this.stack=d.stack;};if(d.stacktrace){this.stacktrace=d.stacktrace;};this.__bE=c;this.__bF=e||a;this.__bG=f===undefined?-1:f;},members:{__bE:null,__bF:null,__bG:null,toString:function(){return this.__bE;},getUri:function(){return this.__bF;},getLineNumber:function(){return this.__bG;}}});})();(function(){var a="GlobalError: ",b="qx.core.GlobalError";qx.Bootstrap.define(b,{extend:Error,construct:function(e,c){if(qx.Bootstrap.DEBUG){qx.core.Assert.assertNotUndefined(e);};this.__bE=a+(e&&e.message?e.message:e);var d=Error.call(this,this.__bE);if(d.stack){this.stack=d.stack;};if(d.stacktrace){this.stacktrace=d.stacktrace;};this.__bH=c;this.__bI=e;},members:{__bI:null,__bH:null,__bE:null,toString:function(){return this.__bE;},getArguments:function(){return this.__bH;},getSourceException:function(){return this.__bI;}},destruct:function(){this.__bI=null;this.__bH=null;this.__bE=null;}});})();(function(){var a="qx.lang.Type",b="Error",c="RegExp",d="Date",e="Number",f="Boolean";qx.Bootstrap.define(a,{statics:{getClass:qx.Bootstrap.getClass,isString:qx.Bootstrap.isString,isArray:qx.Bootstrap.isArray,isObject:qx.Bootstrap.isObject,isFunction:qx.Bootstrap.isFunction,isRegExp:function(g){return this.getClass(g)==c;},isNumber:function(h){return (h!==null&&(this.getClass(h)==e||h instanceof Number));},isBoolean:function(i){return (i!==null&&(this.getClass(i)==f||i instanceof Boolean));},isDate:function(j){return (j!==null&&(this.getClass(j)==d||j instanceof Date));},isError:function(k){return (k!==null&&(this.getClass(k)==b||k instanceof Error));}}});})();(function(){var a=" != ",b="qx.core.Object",c="Expected value to be an array but found ",d="' (rgb(",f=") was fired.",g="Expected value to be an integer >= 0 but found ",h="' to be not equal with '",j="' to '",k="Expected object '",m="Called assertTrue with '",n="Expected value to be a map but found ",o="The function did not raise an exception!",p="Expected value to be undefined but found ",q="Expected value to be a DOM element but found '",r="Expected value to be a regular expression but found ",s="' to implement the interface '",t="Expected value to be null but found ",u="Invalid argument 'type'",v="Called assert with 'false'",w="Assertion error! ",x="'",y="null",z="' but found '",A="'undefined'",B=",",C="' must must be a key of the map '",D="Expected '",E="The String '",F="Expected value to be a string but found ",G="Event (",H="Expected value to be the CSS color '",I="!",J="Expected value not to be undefined but found undefined!",K="qx.util.ColorUtil",L=": ",M="The raised exception does not have the expected type! ",N=") not fired.",O="'!",P="qx.core.Assert",Q="",R="Expected value to be typeof object but found ",S="' but found ",T="' (identical) but found '",U="' must have any of the values defined in the array '",V="Expected value to be a number but found ",W="Called assertFalse with '",X="qx.ui.core.Widget",Y="]",bJ="Expected value to be a qooxdoo object but found ",bK="' arguments.",bL="Expected value '%1' to be in the range '%2'..'%3'!",bF="Array[",bG="' does not match the regular expression '",bH="' to be not identical with '",bI="Expected [",bP="' arguments but found '",bQ="', which cannot be converted to a CSS color!",bR=", ",cg="qx.core.AssertionError",bM="Expected value to be a boolean but found ",bN="Expected value not to be null but found null!",bO="))!",bD="Expected value to be a qooxdoo widget but found ",bU="The value '",bE="Expected value to be typeof '",bV="\n Stack trace: \n",bW="Expected value to be typeof function but found ",cb="Expected value to be an integer but found ",bS="Called fail().",cf="The parameter 're' must be a string or a regular expression.",bT=")), but found value '",bX="qx.util.ColorUtil not available! Your code must have a dependency on 'qx.util.ColorUtil'",bY="Expected value to be a number >= 0 but found ",ca="Expected value to be instanceof '",cc="], but found [",cd="Wrong number of arguments given. Expected '",ce="object";qx.Class.define(P,{statics:{__bJ:true,__bK:function(ch,ci){var cm=Q;for(var i=1,l=arguments.length;i10){cn=bF+co.length+Y;}else if((co instanceof Object)&&(co.toString==null)){cn=qx.lang.Json.stringify(co,null,2);}else {try{cn=co.toString();}catch(e){cn=Q;};};return cn;},assert:function(cq,cp){cq==true||this.__bK(cp||Q,v);},fail:function(cr,cs){var ct=cs?Q:bS;this.__bK(cr||Q,ct);},assertTrue:function(cv,cu){(cv===true)||this.__bK(cu||Q,m,cv,x);},assertFalse:function(cx,cw){(cx===false)||this.__bK(cw||Q,W,cx,x);},assertEquals:function(cy,cz,cA){cy==cz||this.__bK(cA||Q,D,cy,z,cz,O);},assertNotEquals:function(cB,cC,cD){cB!=cC||this.__bK(cD||Q,D,cB,h,cC,O);},assertIdentical:function(cE,cF,cG){cE===cF||this.__bK(cG||Q,D,cE,T,cF,O);},assertNotIdentical:function(cH,cI,cJ){cH!==cI||this.__bK(cJ||Q,D,cH,bH,cI,O);},assertNotUndefined:function(cL,cK){cL!==undefined||this.__bK(cK||Q,J);},assertUndefined:function(cN,cM){cN===undefined||this.__bK(cM||Q,p,cN,I);},assertNotNull:function(cP,cO){cP!==null||this.__bK(cO||Q,bN);},assertNull:function(cR,cQ){cR===null||this.__bK(cQ||Q,t,cR,I);},assertJsonEquals:function(cS,cT,cU){this.assertEquals(qx.lang.Json.stringify(cS),qx.lang.Json.stringify(cT),cU);},assertMatch:function(cX,cW,cV){this.assertString(cX);this.assert(qx.lang.Type.isRegExp(cW)||qx.lang.Type.isString(cW),cf);cX.search(cW)>=0||this.__bK(cV||Q,E,cX,bG,cW.toString(),O);},assertArgumentsCount:function(db,dc,dd,cY){var da=db.length;(da>=dc&&da<=dd)||this.__bK(cY||Q,cd,dc,j,dd,bP,da,bK);},assertEventFired:function(de,event,dh,di,dj){var df=false;var dg=function(e){if(di){di.call(de,e);};df=true;};var dk;try{dk=de.addListener(event,dg,de);dh.call(de);}catch(dl){throw dl;}finally{try{de.removeListenerById(dk);}catch(dm){};};df===true||this.__bK(dj||Q,G,event,N);},assertEventNotFired:function(dn,event,dr,ds){var dp=false;var dq=function(e){dp=true;};var dt=dn.addListener(event,dq,dn);dr.call();dp===false||this.__bK(ds||Q,G,event,f);dn.removeListenerById(dt);},assertException:function(dx,dw,dv,du){var dw=dw||Error;var dy;try{this.__bJ=false;dx();}catch(dz){dy=dz;}finally{this.__bJ=true;};if(dy==null){this.__bK(du||Q,o);};dy instanceof dw||this.__bK(du||Q,M,dw,a,dy);if(dv){this.assertMatch(dy.toString(),dv,du);};},assertInArray:function(dC,dB,dA){dB.indexOf(dC)!==-1||this.__bK(dA||Q,bU,dC,U,dB,x);},assertArrayEquals:function(dD,dE,dF){this.assertArray(dD,dF);this.assertArray(dE,dF);dF=dF||bI+dD.join(bR)+cc+dE.join(bR)+Y;if(dD.length!==dE.length){this.fail(dF,true);};for(var i=0;i=0)||this.__bK(dR||Q,bY,dS,I);},assertInteger:function(dU,dT){(qx.lang.Type.isNumber(dU)&&isFinite(dU)&&dU%1===0)||this.__bK(dT||Q,cb,dU,I);},assertPositiveInteger:function(dX,dV){var dW=(qx.lang.Type.isNumber(dX)&&isFinite(dX)&&dX%1===0&&dX>=0);dW||this.__bK(dV||Q,g,dX,I);},assertInRange:function(eb,ec,ea,dY){(eb>=ec&&eb<=ea)||this.__bK(dY||Q,qx.lang.String.format(bL,[eb,ec,ea]));},assertObject:function(ee,ed){var ef=ee!==null&&(qx.lang.Type.isObject(ee)||typeof ee===ce);ef||this.__bK(ed||Q,R,(ee),I);},assertArray:function(eh,eg){qx.lang.Type.isArray(eh)||this.__bK(eg||Q,c,eh,I);},assertMap:function(ej,ei){qx.lang.Type.isObject(ej)||this.__bK(ei||Q,n,ej,I);},assertRegExp:function(el,ek){qx.lang.Type.isRegExp(el)||this.__bK(ek||Q,r,el,I);},assertType:function(eo,en,em){this.assertString(en,u);typeof (eo)===en||this.__bK(em||Q,bE,en,S,eo,I);},assertInstance:function(er,es,ep){var eq=es.classname||es+Q;er instanceof es||this.__bK(ep||Q,ca,eq,S,er,I);},assertInterface:function(ev,eu,et){qx.Class.implementsInterface(ev,eu)||this.__bK(et||Q,k,ev,s,eu,O);},assertCssColor:function(eC,ez,eB){var ew=qx.Class.getByName(K);if(!ew){throw new Error(bX);};var ey=ew.stringToRgb(eC);try{var eA=ew.stringToRgb(ez);}catch(eE){this.__bK(eB||Q,H,eC,d,ey.join(B),bT,ez,bQ);};var eD=ey[0]==eA[0]&&ey[1]==eA[1]&&ey[2]==eA[2];eD||this.__bK(eB||Q,H,ey,d,ey.join(B),bT,ez,d,eA.join(B),bO);},assertElement:function(eG,eF){!!(eG&&eG.nodeType===1)||this.__bK(eF||Q,q,eG,O);},assertQxObject:function(eI,eH){this.__bM(eI,b)||this.__bK(eH||Q,bJ,eI,I);},assertQxWidget:function(eK,eJ){this.__bM(eK,X)||this.__bK(eJ||Q,bD,eK,I);},__bM:function(eM,eL){if(!eM){return false;};var eN=eM.constructor;while(eN){if(eN.classname===eL){return true;};eN=eN.superclass;};return false;}}});})();(function(){var a=": ",b="qx.type.BaseError",c="",d="error";qx.Class.define(b,{extend:Error,construct:function(e,f){var g=Error.call(this,f);if(g.stack){this.stack=g.stack;};if(g.stacktrace){this.stacktrace=g.stacktrace;};this.__bN=e||c;this.message=f||qx.type.BaseError.DEFAULTMESSAGE;},statics:{DEFAULTMESSAGE:d},members:{__bO:null,__bN:null,message:null,getComment:function(){return this.__bN;},toString:function(){return this.__bN+(this.message?a+this.message:c);}}});})();(function(){var a="qx.core.AssertionError";qx.Class.define(a,{extend:qx.type.BaseError,construct:function(b,c){qx.type.BaseError.call(this,b,c);this.__bP=qx.dev.StackTrace.getStackTrace();},members:{__bP:null,getStackTrace:function(){return this.__bP;}}});})();(function(){var a="anonymous",b="...",c="qx.dev.StackTrace",d="",e="\n",f="?",g="/source/class/",h="Error created at",j="ecmascript.error.stacktrace",k="Backtrace:",l="stack",m=":",n=".",o="function",p="prototype",q="stacktrace";qx.Bootstrap.define(c,{statics:{FILENAME_TO_CLASSNAME:null,FORMAT_STACKTRACE:null,getStackTrace:function(){var t=[];try{throw new Error();}catch(G){if(qx.dev.StackTrace.hasEnvironmentCheck&&qx.core.Environment.get(j)){var y=qx.dev.StackTrace.getStackTraceFromError(G);var B=qx.dev.StackTrace.getStackTraceFromCaller(arguments);qx.lang.Array.removeAt(y,0);t=B.length>y.length?B:y;for(var i=0;i=0){continue;};var s=null;var C=w.split(n);var v=/(.*?)\(/.exec(C[C.length-1]);if(v&&v.length==2){s=v[1];C.pop();};if(C[C.length-1]==p){C.pop();};var E=C.join(n);var u=y[i];var F=u.split(m);var A=F[0];var z=F[1];var r;if(F[2]){r=F[2];};var x=null;if(qx.Class.getByName(A)){x=A;}else {x=E;};var D=x;if(s){D+=n+s;};D+=m+z;if(r){D+=m+r;};t[i]=D;};}else {t=this.getStackTraceFromCaller(arguments);};};return t;},getStackTraceFromCaller:function(K){var J=[];var M=qx.lang.Function.getCaller(K);var H={};while(M){var L=qx.lang.Function.getName(M);J.push(L);try{M=M.caller;}catch(N){break;};if(!M){break;};var I=qx.core.ObjectRegistry.toHashCode(M);if(H[I]){J.push(b);break;};H[I]=M;};return J;},getStackTraceFromError:function(bd){var T=[];var R,S,ba,Q,P,bf,bb;var bc=qx.dev.StackTrace.hasEnvironmentCheck?qx.core.Environment.get(j):null;if(bc===l){if(!bd.stack){return T;};R=/@(.+):(\d+)$/gm;while((S=R.exec(bd.stack))!=null){bb=S[1];Q=S[2];ba=this.__bQ(bb);T.push(ba+m+Q);};if(T.length>0){return this.__bS(T);};R=/at (.*)/gm;var be=/\((.*?)(:[^\/].*)\)/;var Y=/(.*?)(:[^\/].*)/;while((S=R.exec(bd.stack))!=null){var X=be.exec(S[1]);if(!X){X=Y.exec(S[1]);};if(X){ba=this.__bQ(X[1]);T.push(ba+X[2]);}else {T.push(S[1]);};};}else if(bc===q){var U=bd.stacktrace;if(!U){return T;};if(U.indexOf(h)>=0){U=U.split(h)[0];};R=/line\ (\d+?),\ column\ (\d+?)\ in\ (?:.*?)\ in\ (.*?):[^\/]/gm;while((S=R.exec(U))!=null){Q=S[1];P=S[2];bb=S[3];ba=this.__bQ(bb);T.push(ba+m+Q+m+P);};if(T.length>0){return this.__bS(T);};R=/Line\ (\d+?)\ of\ linked\ script\ (.*?)$/gm;while((S=R.exec(U))!=null){Q=S[1];bb=S[2];ba=this.__bQ(bb);T.push(ba+m+Q);};}else if(bd.message&&bd.message.indexOf(k)>=0){var W=bd.message.split(k)[1].trim();var V=W.split(e);for(var i=0;i=2){Q=O[1];bf=this.__bQ(O[2]);T.push(bf+m+Q);};};}else if(bd.sourceURL&&bd.line){T.push(this.__bQ(bd.sourceURL)+m+bd.line);};return this.__bS(T);},__bQ:function(bh){if(typeof qx.dev.StackTrace.FILENAME_TO_CLASSNAME==o){var bg=qx.dev.StackTrace.FILENAME_TO_CLASSNAME(bh);{};return bg;};return qx.dev.StackTrace.__bR(bh);},__bR:function(bk){var bl=g;var bi=bk.indexOf(bl);var bm=bk.indexOf(f);if(bm>=0){bk=bk.substring(0,bm);};var bj=(bi==-1)?bk:bk.substring(bi+bl.length).replace(/\//g,n).replace(/\.js$/,d);return bj;},__bS:function(bn){if(typeof qx.dev.StackTrace.FORMAT_STACKTRACE==o){bn=qx.dev.StackTrace.FORMAT_STACKTRACE(bn);{};};return bn;}},defer:function(bo){bo.hasEnvironmentCheck=qx.bom.client.EcmaScript&&qx.bom.client.EcmaScript.getStackTrace;}});})();(function(){var c="-",d="",e="qx.core.ObjectRegistry",f="Disposed ",g="$$hash",h="-0",j=" objects",k="Could not dispose object ",m=": ";qx.Bootstrap.define(e,{statics:{inShutDown:false,__k:{},__bT:0,__bU:[],__bV:d,__bW:{},register:function(n){var q=this.__k;if(!q){return;};var p=n.$$hash;if(p==null){var o=this.__bU;if(o.length>0&&true){p=o.pop();}else {p=(this.__bT++ )+this.__bV;};n.$$hash=p;{};};{};q[p]=n;},unregister:function(r){var s=r.$$hash;if(s==null){return;};var t=this.__k;if(t&&t[s]){delete t[s];this.__bU.push(s);};try{delete r.$$hash;}catch(u){if(r.removeAttribute){r.removeAttribute(g);};};},toHashCode:function(v){{};var x=v.$$hash;if(x!=null){return x;};var w=this.__bU;if(w.length>0){x=w.pop();}else {x=(this.__bT++ )+this.__bV;};return v.$$hash=x;},clearHashCode:function(y){{};var z=y.$$hash;if(z!=null){this.__bU.push(z);try{delete y.$$hash;}catch(A){if(y.removeAttribute){y.removeAttribute(g);};};};},fromHashCode:function(B){return this.__k[B]||null;},shutdown:function(){this.inShutDown=true;var D=this.__k;var F=[];for(var C in D){F.push(C);};F.sort(function(a,b){return parseInt(b,10)-parseInt(a,10);});var E,i=0,l=F.length;while(true){try{for(;i10){bd=bd.slice(0,10);};this.__bY=bd;};if(bb&&(qx.lang.Type.isFunction(bb)||qx.lang.Type.isArray(bb))){this.__ca=bb;}else {this.__ca=null;};return this.__cc(e,{'':bc});},__cc:function(bi,bj){var bg=this.__bX,be,bh=bj[bi];if(bh&&qx.lang.Type.isFunction(bh.toJSON)){bh=bh.toJSON(bi);}else if(qx.lang.Type.isDate(bh)){bh=this.dateToJSON(bh);};if(typeof this.__ca===p){bh=this.__ca.call(bj,bi,bh);};if(bh===null){return O;};if(bh===undefined){return undefined;};switch(qx.lang.Type.getClass(bh)){case d:return this.__cd(bh);case U:return isFinite(bh)?String(bh):O;case f:return String(bh);case D:this.__bX+=this.__bY;be=[];if(this.__cb.indexOf(bh)!==-1){throw new TypeError(Q);};this.__cb.push(bh);var length=bh.length;for(var i=0;i0);}},defer:function(h){qx.core.Environment.add(f,h.getJson);}});})();(function(){var a="qx.lang.Json",b="json";qx.Bootstrap.define(a,{statics:{JSON:qx.core.Environment.get(b)?window.JSON:new qx.lang.JsonImpl(),stringify:null,parse:null},defer:function(c){c.stringify=c.JSON.stringify;c.parse=c.JSON.parse;}});})();(function(){var a="qx.event.type.Data",b="qx.event.type.Event",c="qx.data.IListData";qx.Interface.define(c,{events:{"change":a,"changeLength":b},members:{getItem:function(d){},setItem:function(e,f){},splice:function(g,h,i){},contains:function(j){},getLength:function(){},toArray:function(){}}});})();(function(){var a="qx.core.ValidationError";qx.Class.define(a,{extend:qx.type.BaseError});})();(function(){var a="qx.util.RingBuffer";qx.Class.define(a,{extend:Object,construct:function(b){this.setMaxEntries(b||50);},members:{__cf:0,__cg:0,__ch:false,__ci:0,__cj:null,__ck:null,setMaxEntries:function(c){this.__ck=c;this.clear();},getMaxEntries:function(){return this.__ck;},addEntry:function(d){this.__cj[this.__cf]=d;this.__cf=this.__cl(this.__cf,1);var e=this.getMaxEntries();if(this.__cgthis.__cg){f=this.__cg;};if(j&&this.__ch&&(f>this.__ci)){f=this.__ci;};if(f>0){var h=this.__cl(this.__cf,-1);var g=this.__cl(h,-f+1);var i;if(g<=h){i=this.__cj.slice(g,h+1);}else {i=this.__cj.slice(g,this.__cg).concat(this.__cj.slice(0,h+1));};}else {i=[];};return i;},clear:function(){this.__cj=new Array(this.getMaxEntries());this.__cg=0;this.__ci=0;this.__cf=0;},__cl:function(n,l){var k=this.getMaxEntries();var m=(n+l)%k;if(m<0){m+=k;};return m;}}});})();(function(){var a="qx.log.appender.RingBuffer";qx.Class.define(a,{extend:qx.util.RingBuffer,construct:function(b){this.setMaxMessages(b||50);},members:{setMaxMessages:function(c){this.setMaxEntries(c);},getMaxMessages:function(){return this.getMaxEntries();},process:function(d){this.addEntry(d);},getAllLogEvents:function(){return this.getAllEntries();},retrieveLogEvents:function(e,f){return this.getEntries(e,f);},clearHistory:function(){this.clear();}}});})();(function(){var a="qx.log.Logger",b="[",c="...(+",d="array",e=")",f="info",g="node",h="instance",j="string",k="null",m="error",n="#",o="class",p=": ",q="warn",r="document",s="{...(",t="",u="number",v="stringify",w="]",x="date",y="unknown",z="function",A="text[",B="[...(",C="boolean",D="\n",E=")}",F="debug",G=")]",H="map",I="undefined",J="object";qx.Class.define(a,{statics:{__cm:F,setLevel:function(K){this.__cm=K;},getLevel:function(){return this.__cm;},setTreshold:function(L){this.__cp.setMaxMessages(L);},getTreshold:function(){return this.__cp.getMaxMessages();},__cn:{},__co:0,register:function(P){if(P.$$id){return;};var M=this.__co++ ;this.__cn[M]=P;P.$$id=M;var N=this.__cq;var O=this.__cp.getAllLogEvents();for(var i=0,l=O.length;i=N[this.__cm]){P.process(O[i]);};};},unregister:function(Q){var R=Q.$$id;if(R==null){return;};delete this.__cn[R];delete Q.$$id;},debug:function(T,S){qx.log.Logger.__cr(F,arguments);},info:function(V,U){qx.log.Logger.__cr(f,arguments);},warn:function(X,W){qx.log.Logger.__cr(q,arguments);},error:function(ba,Y){qx.log.Logger.__cr(m,arguments);},trace:function(bb){var bc=qx.dev.StackTrace.getStackTrace();qx.log.Logger.__cr(f,[(typeof bb!==I?[bb].concat(bc):bc).join(D)]);},deprecatedMethodWarning:function(bf,bd){{var be;};},deprecatedClassWarning:function(bi,bg){{var bh;};},deprecatedEventWarning:function(bl,event,bj){{var bk;};},deprecatedMixinWarning:function(bn,bm){{var bo;};},deprecatedConstantWarning:function(bs,bq,bp){{var self,br;};},deprecateMethodOverriding:function(bv,bu,bw,bt){{var bx;};},clear:function(){this.__cp.clearHistory();},__cp:new qx.log.appender.RingBuffer(50),__cq:{debug:0,info:1,warn:2,error:3},__cr:function(bz,bB){var bE=this.__cq;if(bE[bz]20){bM.push(c+(l-i)+e);break;};bM.push(this.__ct(bP[i],false));};}else {bM=B+bP.length+G;};break;case H:if(bO){var bK;var bR=[];for(var bQ in bP){bR.push(bQ);};bR.sort();bM=[];for(var i=0,l=bR.length;i20){bM.push(c+(l-i)+e);break;};bQ=bR[i];bK=this.__ct(bP[bQ],false);bK.key=bQ;bM.push(bK);};}else {var bN=0;for(var bQ in bP){bN++ ;};bM=s+bN+E;};break;};return {type:bS,text:bM,trace:bL};}},defer:function(bT){var bU=qx.Bootstrap.$$logs;for(var i=0;i0?b:d)+e;};return {name:name,"end-event":i};}},defer:function(j){qx.core.Environment.add(g,j.getSupport);}});})();(function(){var a="UNKNOWN_",b="|bubble",c="",d="_",e="c",f="|",g="unload",h="|capture",j="DOM_",k="__cB",m="WIN_",n="QX_",o="qx.event.Manager",p="capture",q="__cC",r="DOCUMENT_";qx.Class.define(o,{extend:Object,construct:function(s,t){this.__cx=s;this.__cy=qx.core.ObjectRegistry.toHashCode(s);this.__cz=t;if(s.qx!==qx){var self=this;qx.bom.Event.addNativeListener(s,g,qx.event.GlobalError.observeMethod(function(){qx.bom.Event.removeNativeListener(s,g,arguments.callee);self.dispose();}));};this.__cA={};this.__cB={};this.__cC={};this.__cD={};},statics:{__cE:0,getNextUniqueId:function(){return (this.__cE++ )+c;}},members:{__cz:null,__cA:null,__cC:null,__cF:null,__cB:null,__cD:null,__cx:null,__cy:null,getWindow:function(){return this.__cx;},getWindowId:function(){return this.__cy;},getHandler:function(v){var u=this.__cB[v.classname];if(u){return u;};return this.__cB[v.classname]=new v(this);},getDispatcher:function(x){var w=this.__cC[x.classname];if(w){return w;};return this.__cC[x.classname]=new x(this,this.__cz);},getListeners:function(z,D,y){var B=z.$$hash||qx.core.ObjectRegistry.toHashCode(z);var E=this.__cA[B];if(!E){return null;};var C=D+(y?h:b);var A=E[C];return A?A.concat():null;},getAllListeners:function(){return this.__cA;},serializeListeners:function(G){var K=G.$$hash||qx.core.ObjectRegistry.toHashCode(G);var O=this.__cA[K];var J=[];if(O){var H,N,F,I,L;for(var M in O){H=M.indexOf(f);N=M.substring(0,H);F=M.charAt(H+1)==e;I=O[M];for(var i=0,l=I.length;i0);},importListeners:function(bg,bi){{};var bm=bg.$$hash||qx.core.ObjectRegistry.toHashCode(bg);var bo=this.__cA[bm]={};var bk=qx.event.Manager;for(var bh in bi){var bl=bi[bh];var bn=bl.type+(bl.capture?h:b);var bj=bo[bn];if(!bj){bj=bo[bn]=[];this.__cG(bg,bl.type,bl.capture);};bj.push({handler:bl.listener,context:bl.self,unique:bl.unique||(bk.__cE++ )+c});};},addListener:function(br,by,bt,self,bp){{var bv;};var bq=br.$$hash||qx.core.ObjectRegistry.toHashCode(br);var bz=this.__cA[bq];if(!bz){bz=this.__cA[bq]={};};var bu=by+(bp?h:b);var bs=bz[bu];if(!bs){bs=bz[bu]=[];};if(bs.length===0){this.__cG(br,by,bp);};var bx=(qx.event.Manager.__cE++ )+c;var bw={handler:bt,context:self,unique:bx};bs.push(bw);return bu+f+bx;},findHandler:function(bE,bN){var bL=false,bD=false,bO=false,bA=false;var bK;if(bE.nodeType===1){bL=true;bK=j+bE.tagName.toLowerCase()+d+bN;}else if(bE.nodeType===9){bA=true;bK=r+bN;}else if(bE==this.__cx){bD=true;bK=m+bN;}else if(bE.classname){bO=true;bK=n+bE.classname+d+bN;}else {bK=a+bE+d+bN;};var bC=this.__cD;if(bC[bK]){return bC[bK];};var bJ=this.__cz.getHandlers();var bF=qx.event.IEventHandler;var bH,bI,bG,bB;for(var i=0,l=bJ.length;i0){cs=cu.split(f);cv=cs[0];cq=cs[1]===p;this.__cH(cr,cv,cq);};};delete this.__cA[ct];return true;},deleteAllListeners:function(cx){delete this.__cA[cx];},__cH:function(cB,cA,cy){var cz=this.findHandler(cB,cA);if(cz){cz.unregisterEvent(cB,cA,cy);return;};{};},dispatchEvent:function(cD,event){{var cH;};var cI=event.getType();if(!event.getBubbles()&&!this.hasListener(cD,cI)){qx.event.Pool.getInstance().poolObject(event);return true;};if(!event.getTarget()){event.setTarget(cD);};var cG=this.__cz.getDispatchers();var cF;var cC=false;for(var i=0,l=cG.length;i=0;i-- ){s=r[i];if(s){s.dispose();};};}catch(t){throw new Error(h+p+d+q+f+t);};r.length=0;q[p]=null;},disposeMap:function(v,u){var w=v[u];if(!w){return;};if(qx.core.ObjectRegistry.inShutDown){v[u]=null;return;};try{var y;for(var x in w){y=w[x];if(w.hasOwnProperty(x)&&y){y.dispose();};};}catch(z){throw new Error(g+u+d+v+f+z);};v[u]=null;},disposeTriggeredBy:function(A,C){var B=C.dispose;C.dispose=function(){B.call(C);A.dispose();};},destroyContainer:function(E){{};var D=[];this._collectContainerChildren(E,D);var F=D.length;for(var i=F-1;i>=0;i-- ){D[i].destroy();};E.destroy();},_collectContainerChildren:function(I,H){var J=I.getChildren();for(var i=0;ithis.getSize()){if(k.destroy){k.destroy();}else {k.dispose();};return;};k.$$pooled=true;m.push(k);}},destruct:function(){var p=this.__cM;var n,o,i,l;for(n in p){o=p[n];for(i=0,l=o.length;i>.5?length:this.push(length);}else if(arguments.length){this.push.apply(this,arguments);};};function k(){};k.prototype=[];j.prototype=new k;j.prototype.length=0;qx.type.BaseArray=h(j);})();})();(function(){var a="qxWeb";qx.Bootstrap.define(a,{extend:qx.type.BaseArray,statics:{__cP:[],$$qx:qx,$init:function(e){var d=[];for(var i=0;ieR.cacheLength){delete fB[fA.shift()];};return (fB[fC]=fD);},fB);},fj=eo(),fb=eo(),ft=eo(),ex=T,eT=dB,eN=eT.replace(cJ,H),ez=dV,eM=dc+ex+dF+eT+cU+ex+s+ez+ex+t+eN+dR+ex+cN,eS=cQ+eT+n+eM+dS,el=dH+ex+V+ex+cT,ek=new RegExp(ef+ex+D+ex+K,dl),fh=new RegExp(ef+ex+cM+ex+C),ey=new RegExp(ef+ex+x+ex+C),fd=new RegExp(eS),fp=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,ff=/^:not/,eO=/[\x20\t\r\n\f]*[+~]/,eu=/:not\($/,ej=/h\d/i,eY=/input|select|textarea|button/i,eq=/\\(?!\\)/g,fl={"ID":new RegExp(dA+eT+cU),"CLASS":new RegExp(dE+eT+cU),"NAME":new RegExp(dU+eT+dG),"TAG":new RegExp(cX+eT.replace(cJ,cK)+cU),"ATTR":new RegExp(ef+eM),"PSEUDO":new RegExp(ef+eS),"POS":new RegExp(el,E),"CHILD":new RegExp(dy+ex+A+ex+U+ex+cY+ex+J,E),"needsContext":new RegExp(ef+ex+cG+el,E)},eV=function(fF){var fE=document.createElement(l);try{return fF(fE);}catch(e){return false;}finally{fE=null;};},en=eV(function(fG){fG.appendChild(document.createComment(dD));return !fG.getElementsByTagName(C).length;}),eI=eV(function(fH){fH.innerHTML=dM;return fH.firstChild&&typeof fH.firstChild.getAttribute!==eE&&fH.firstChild.getAttribute(dC)===W;}),fk=eV(function(fI){fI.innerHTML=ee;var fJ=typeof fI.lastChild.getAttribute(dT);return fJ!==dX&&fJ!==S;}),fq=eV(function(fK){fK.innerHTML=dk;if(!fK.getElementsByClassName||!fK.getElementsByClassName(dh).length){return false;};fK.lastChild.className=dh;return fK.getElementsByClassName(dh).length===2;}),eh=eV(function(fL){fL.id=fc+0;fL.innerHTML=u+fc+P+fc+p;fv.insertBefore(fL,fv.firstChild);var fM=document.getElementsByName&&document.getElementsByName(fc).length===2+document.getElementsByName(fc+0).length;fg=!document.getElementById(fc);fv.removeChild(fL);return fM;});try{ev.call(fv.childNodes,0)[0].nodeType;}catch(e){ev=function(i){var fN,fO=[];for(;(fN=this[i]);i++ ){fO.push(fN);};return fO;};};function eX(fV,fU,fS,fT){fS=fS||[];fU=fU||document;var fW,fR,fP,m,fQ=fU.nodeType;if(!fV||typeof fV!==S){return fS;};if(fQ!==1&&fQ!==9){return [];};fP=er(fU);if(!fP&&!fT){if((fW=fp.exec(fV))){if((m=fW[1])){if(fQ===9){fR=fU.getElementById(m);if(fR&&fR.parentNode){if(fR.id===m){fS.push(fR);return fS;};}else {return fS;};}else {if(fU.ownerDocument&&(fR=fU.ownerDocument.getElementById(m))&&eA(fU,fR)&&fR.id===m){fS.push(fR);return fS;};};}else if(fW[2]){fr.apply(fS,ev.call(fU.getElementsByTagName(fV),0));return fS;}else if((m=fW[3])&&fq&&fU.getElementsByClassName){fr.apply(fS,ev.call(fU.getElementsByClassName(m),0));return fS;};};};return et(fV.replace(ek,dp),fU,fS,fT,fP);};eX.matches=function(fX,fY){return eX(fX,null,null,fY);};eX.matchesSelector=function(gb,ga){return eX(ga,null,null,[gb]).length>0;};function fo(gc){return function(gd){var name=gd.nodeName.toLowerCase();return name===X&&gd.type===gc;};};function ei(ge){return function(gf){var name=gf.nodeName.toLowerCase();return (name===X||name===cV)&&gf.type===ge;};};function eU(gg){return fi(function(gh){gh=+gh;return fi(function(gk,gi){var j,gj=gg([],gk.length,gh),i=gj.length;while(i-- ){if(gk[(j=gj[i])]){gk[j]=!(gi[j]=gk[j]);};};});});};em=eX.getText=function(gn){var gl,go=dD,i=0,gm=gn.nodeType;if(gm){if(gm===1||gm===9||gm===11){if(typeof gn.textContent===S){return gn.textContent;}else {for(gn=gn.firstChild;gn;gn=gn.nextSibling){go+=em(gn);};};}else if(gm===3||gm===4){return gn.nodeValue;};}else {for(;(gl=gn[i]);i++ ){go+=em(gl);};};return go;};er=eX.isXML=function(gp){var gq=gp&&(gp.ownerDocument||gp).documentElement;return gq?gq.nodeName!==dY:false;};eA=eX.contains=fv.contains?function(a,b){var gr=a.nodeType===9?a.documentElement:a,gs=b&&b.parentNode;return a===gs||!!(gs&&gs.nodeType===1&&gr.contains&&gr.contains(gs));}:fv.compareDocumentPosition?function(a,b){return b&&!!(a.compareDocumentPosition(b)&16);}:function(a,b){while((b=b.parentNode)){if(b===a){return true;};};return false;};eX.attr=function(gu,name){var gv,gt=er(gu);if(!gt){name=name.toLowerCase();};if((gv=eR.attrHandle[name])){return gv(gu);};if(gt||fk){return gu.getAttribute(name);};gv=gu.getAttributeNode(name);return gv?typeof gu[name]===dX?gu[name]?name:null:gv.specified?gv.value:null:null;};eR=eX.selectors={cacheLength:50,createPseudo:fi,match:fl,attrHandle:eI?{}:{"href":function(gw){return gw.getAttribute(dC,2);},"type":function(gx){return gx.getAttribute(Y);}},find:{"ID":fg?function(gz,gA,gy){if(typeof gA.getElementById!==eE&&!gy){var m=gA.getElementById(gz);return m&&m.parentNode?[m]:[];};}:function(gC,gD,gB){if(typeof gD.getElementById!==eE&&!gB){var m=gD.getElementById(gC);return m?m.id===gC||typeof m.getAttributeNode!==eE&&m.getAttributeNode(N).value===gC?[m]:undefined:[];};},"TAG":en?function(gE,gF){if(typeof gF.getElementsByTagName!==eE){return gF.getElementsByTagName(gE);};}:function(gJ,gK){var gH=gK.getElementsByTagName(gJ);if(gJ===C){var gI,gG=[],i=0;for(;(gI=gH[i]);i++ ){if(gI.nodeType===1){gG.push(gI);};};return gG;};return gH;},"NAME":eh&&function(gL,gM){if(typeof gM.getElementsByName!==eE){return gM.getElementsByName(name);};},"CLASS":fq&&function(gN,gP,gO){if(typeof gP.getElementsByClassName!==eE&&!gO){return gP.getElementsByClassName(gN);};}},relative:{">":{dir:cH,first:true}," ":{dir:cH},"+":{dir:z,first:true},"~":{dir:z}},preFilter:{"ATTR":function(gQ){gQ[1]=gQ[1].replace(eq,dD);gQ[3]=(gQ[4]||gQ[5]||dD).replace(eq,dD);if(gQ[2]===y){gQ[3]=cL+gQ[3]+cL;};return gQ.slice(0,4);},"CHILD":function(gR){gR[1]=gR[1].toLowerCase();if(gR[1]===r){if(!gR[2]){eX.error(gR[0]);};gR[3]=+(gR[3]?gR[4]+(gR[5]||1):2*(gR[2]===cE||gR[2]===de));gR[4]=+((gR[6]+gR[7])||gR[2]===de);}else if(gR[2]){eX.error(gR[0]);};return gR;},"PSEUDO":function(gT){var gS,gU;if(fl[dv].test(gT[0])){return null;};if(gT[3]){gT[2]=gT[3];}else if((gS=gT[4])){if(fd.test(gS)&&(gU=eH(gS,true))&&(gU=gS.indexOf(cU,gS.length-gU)-gS.length)){gS=gS.slice(0,gU);gT[0]=gT[0].slice(0,gU);};gT[2]=gS;};return gT.slice(0,3);}},filter:{"ID":fg?function(gV){gV=gV.replace(eq,dD);return function(gW){return gW.getAttribute(N)===gV;};}:function(gX){gX=gX.replace(eq,dD);return function(ha){var gY=typeof ha.getAttributeNode!==eE&&ha.getAttributeNode(N);return gY&&gY.value===gX;};},"TAG":function(hb){if(hb===C){return function(){return true;};};hb=hb.replace(eq,dD).toLowerCase();return function(hc){return hc.nodeName&&hc.nodeName.toLowerCase()===hb;};},"CLASS":function(hd){var he=fj[fc][hd];if(!he){he=fj(hd,new RegExp(f+ex+cU+hd+cI+ex+dw));};return function(hf){return he.test(hf.className||(typeof hf.getAttribute!==eE&&hf.getAttribute(df))||dD);};},"ATTR":function(name,hg,hh){return function(hi,hj){var hk=eX.attr(hi,name);if(hk==null){return hg===dn;};if(!hg){return true;};hk+=dD;return hg===L?hk===hh:hg===dn?hk!==hh:hg===I?hh&&hk.indexOf(hh)===0:hg===dj?hh&&hk.indexOf(hh)>-1:hg===Q?hh&&hk.substr(hk.length-hh.length)===hh:hg===y?(cL+hk+cL).indexOf(hh)>-1:hg===db?hk===hh||hk.substr(0,hh.length+1)===hh+c:false;};},"CHILD":function(hl,hn,ho,hm){if(hl===r){return function(hr){var hp,hq,parent=hr.parentNode;if(ho===1&&hm===0){return true;};if(parent){hq=0;for(hp=parent.firstChild;hp;hp=hp.nextSibling){if(hp.nodeType===1){hq++ ;if(hr===hp){break;};};};};hq-=hm;return hq===ho||(hq%ho===0&&hq/ho>=0);};};return function(ht){var hs=ht;switch(hl){case B:case O:while((hs=hs.previousSibling)){if(hs.nodeType===1){return false;};};if(hl===O){return true;};hs=ht;case ea:while((hs=hs.nextSibling)){if(hs.nodeType===1){return false;};};return true;};};},"PSEUDO":function(hv,hw){var hu,hx=eR.pseudos[hv]||eR.setFilters[hv.toLowerCase()]||eX.error(cP+hv);if(hx[fc]){return hx(hw);};if(hx.length>1){hu=[hv,hv,dD,hw];return eR.setFilters.hasOwnProperty(hv.toLowerCase())?fi(function(hz,hy){var hA,hB=hx(hz,hw),i=hB.length;while(i-- ){hA=eQ.call(hz,hB[i]);hz[hA]=!(hy[hA]=hB[i]);};}):function(hC){return hx(hC,0,hu);};};return hx;}},pseudos:{"not":fi(function(hE){var hD=[],hF=[],hG=fm(hE.replace(ek,dp));return hG[fc]?fi(function(hL,hI,hM,hH){var hJ,hK=hG(hL,null,hH,[]),i=hL.length;while(i-- ){if((hJ=hK[i])){hL[i]=!(hI[i]=hJ);};};}):function(hO,hP,hN){hD[0]=hO;hG(hD,null,hN,hF);return !hF.pop();};}),"has":fi(function(hQ){return function(hR){return eX(hQ,hR).length>0;};}),"contains":fi(function(hS){return function(hT){return (hT.textContent||hT.innerText||em(hT)).indexOf(hS)>-1;};}),"enabled":function(hU){return hU.disabled===false;},"disabled":function(hV){return hV.disabled===true;},"checked":function(hW){var hX=hW.nodeName.toLowerCase();return (hX===X&&!!hW.checked)||(hX===v&&!!hW.selected);},"selected":function(hY){if(hY.parentNode){hY.parentNode.selectedIndex;};return hY.selected===true;},"parent":function(ia){return !eR.pseudos[dL](ia);},"empty":function(ic){var ib;ic=ic.firstChild;while(ic){if(ic.nodeName>G||(ib=ic.nodeType)===3||ib===4){return false;};ic=ic.nextSibling;};return true;},"header":function(ie){return ej.test(ie.nodeName);},"text":function(ih){var ig,ii;return ih.nodeName.toLowerCase()===X&&(ig=ih.type)===dx&&((ii=ih.getAttribute(Y))==null||ii.toLowerCase()===ig);},"radio":fo(ec),"checkbox":fo(di),"file":fo(dq),"password":fo(cD),"image":fo(w),"submit":ei(dm),"reset":ei(R),"button":function(ij){var name=ij.nodeName.toLowerCase();return name===X&&ij.type===cV||name===cV;},"input":function(ik){return eY.test(ik.nodeName);},"focus":function(im){var il=im.ownerDocument;return im===il.activeElement&&(!il.hasFocus||il.hasFocus())&&!!(im.type||im.href);},"active":function(io){return io===io.ownerDocument.activeElement;},"first":eU(function(ip,length,iq){return [0];}),"last":eU(function(ir,length,is){return [length-1];}),"eq":eU(function(it,length,iu){return [iu<0?iu+length:iu];}),"even":eU(function(iv,length,iw){for(var i=0;i=0;){iz.push(i);};return iz;}),"gt":eU(function(iB,length,iC){for(var i=iC<0?iC+length:iC; ++i1?function(jr,js,jq){var i=jp.length;while(i-- ){if(!jp[i](jr,js,jq)){return false;};};return true;}:jp[0];};function eB(jw,ju,jx,jz,jt){var jv,jB=[],i=0,jy=jw.length,jA=ju!=null;for(;i-1;},kd,true),kb=[function(kh,ki,kg){return (!jV&&(kg||ki!==eg))||((jU=ki).nodeType?kc(kh,ki,kg):jY(kh,ki,kg));}];for(;i1&&eD(kb),i>1&&ka.slice(0,i-1).join(dD).replace(ek,dp),jW,i0,kl=kn.length>0,km=function(kx,kz,ko,kt,kq){var kv,j,ks,kw=[],kp=0,i=cW,ku=kx&&[],kA=kq!=null,kr=eg,kB=kx||kl&&eR.find[cF](C,kq&&kz.parentNode||kz),ky=(eJ+=kr==null?1:Math.E);if(kA){eg=kz!==document&&kz;ep=km.el;};for(;(kv=kB[i])!=null;i++ ){if(kl&&kv){for(j=0;(ks=kn[j]);j++ ){if(ks(kv,kz,ko)){kt.push(kv);break;};};if(kA){eJ=ky;ep= ++km.el;};};if(kj){if((kv=!ks&&kv)){kp-- ;};if(kx){ku.push(kv);};};};kp+=i;if(kj&&i!==kp){for(j=0;(ks=kk[j]);j++ ){ks(ku,kw,kz,ko);};if(kx){if(kp>0){while(i-- ){if(!(ku[i]||kw[i])){kw[i]=eP.call(kt);};};};kw=eB(kw);};fr.apply(kt,kw);if(kA&&!kx&&kw.length>0&&(kp+kk.length)>1){eX.uniqueSort(kt);};};if(kA){eJ=ky;eg=kr;};return ku;};km.el=0;return kj?fi(km):km;};fm=eX.compile=function(kE,kC){var i,kG=[],kD=[],kF=ft[fc][kE];if(!kF){if(!kC){kC=eH(kE);};i=kC.length;while(i-- ){kF=fa(kC[i]);if(kF[fc]){kG.push(kF);}else {kD.push(kF);};};kF=ft(kE,eG(kD,kG));};return kF;};function fe(kK,kH,kI,kL){var i=0,kJ=kH.length;for(;i2&&(kQ=kP[0]).type===eb&&kS.nodeType===9&&!kM&&eR.relative[kP[1].type]){kS=eR.find[eb](kQ.matches[0].replace(eq,dD),kS,kM)[0];if(!kS){return kN;};kO=kO.slice(kP.shift().length);};for(i=fl[dQ].test(kO)?-1:kP.length-1;i>=0;i-- ){kQ=kP[i];if(eR.relative[(kT=kQ.type)]){break;};if((find=eR.find[kT])){if((kR=find(kQ.matches[0].replace(eq,dD),eO.test(kP[0].type)&&kS.parentNode||kS,kM))){kP.splice(i,1);kO=kR.length&&kP.join(dD);if(!kO){fr.apply(kN,ev.call(kR,0));return kN;};break;};};};};};fm(kO,kU)(kR,kS,kM,kN,eO.test(kO));return kN;};if(document.querySelectorAll){(function(){var kW,lc=et,lb=/'|\\/g,kY=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,kX=[M],kV=[h,M],la=fv.matchesSelector||fv.mozMatchesSelector||fv.webkitMatchesSelector||fv.oMatchesSelector||fv.msMatchesSelector;eV(function(ld){ld.innerHTML=dg;if(!ld.querySelectorAll(o).length){kX.push(dc+ex+d);};if(!ld.querySelectorAll(dO).length){kX.push(dO);};});eV(function(le){le.innerHTML=da;if(le.querySelectorAll(cR).length){kX.push(dz+ex+cO);};le.innerHTML=dd;if(!le.querySelectorAll(dK).length){kX.push(dK,k);};});kX=new RegExp(kX.join(ds));et=function(lk,ln,li,lm,lf){if(!lm&&!lf&&(!kX||!kX.test(lk))){var lh,i,lg=true,lj=fc,lo=ln,ll=ln.nodeType===9&&lk;if(ln.nodeType===1&&ln.nodeName.toLowerCase()!==du){lh=eH(lk);if((lg=ln.getAttribute(N))){lj=lg.replace(lb,dP);}else {ln.setAttribute(N,lj);};lj=dJ+lj+g;i=lh.length;while(i-- ){lh[i]=lj+lh[i].join(dD);};lo=eO.test(lk)&&ln.parentNode||ln;ll=lh.join(dI);};if(ll){try{fr.apply(li,ev.call(lo.querySelectorAll(ll),0));return li;}catch(lp){}finally{if(!lg){ln.removeAttribute(N);};};};};return lc(lk,ln,li,lm,lf);};if(la){eV(function(lq){kW=la.call(lq,l);try{la.call(lq,q);kV.push(dn,eS);}catch(e){};});kV=new RegExp(kV.join(ds));eX.matchesSelector=function(ls,lr){lr=lr.replace(kY,F);if(!er(ls)&&!kV.test(lr)&&(!kX||!kX.test(lr))){try{var lt=la.call(ls,lr);if(lt||kW||ls.document&&ls.document.nodeType!==11){return lt;};}catch(e){};};return eX(lr,null,null,[ls]).length>0;};};})();};eR.pseudos[r]=eR.pseudos[ed];function fu(){};eR.filters=fu.prototype=eR.pseudos;eR.setFilters=new fu();qx.bom.Selector.query=function(lv,lu){return eX(lv,lu);};qx.bom.Selector.matches=function(lx,lw){return eX(lx,null,null,lw);};})(window);})();(function(){var a="qx.module.Attribute",b="html";qx.Bootstrap.define(a,{statics:{getHtml:function(){if(this[0]&&this[0].nodeType===1){return qx.bom.element.Attribute.get(this[0],b);};return null;},setHtml:function(c){c=qx.bom.Html.fixEmptyTags(c);this._forEachElement(function(d){qx.bom.element.Attribute.set(d,b,c);});return this;},setAttribute:function(name,e){this._forEachElement(function(f){qx.bom.element.Attribute.set(f,name,e);});return this;},getAttribute:function(name){if(this[0]&&this[0].nodeType===1){return qx.bom.element.Attribute.get(this[0],name);};return null;},removeAttribute:function(name){this._forEachElement(function(g){qx.bom.element.Attribute.set(g,name,null);});return this;},setAttributes:function(h){for(var name in h){this.setAttribute(name,h[name]);};return this;},getAttributes:function(k){var j={};for(var i=0;i=8){return qx.bom.client.Engine.DOCUMENT_MODE===5;}else {return document.compatMode!==a;};},__cU:{"webkit":u,"gecko":m,"mshtml":n,"opera":E}[qx.bom.client.Engine.getName()]},defer:function(R){qx.core.Environment.add(h,R.getName),qx.core.Environment.add(A,R.getVersion),qx.core.Environment.add(G,R.getDocumentMode),qx.core.Environment.add(g,R.getQuirksMode);}});})();(function(){var a="
",b="",e="",f="",k="string",m=">",n="script",o="",p="
",r="",t="]*?)\/>/g,this.__cV);},__cX:function(S,T){var V=T.createElement(g);S=qx.bom.Html.fixEmptyTags(S);var P=S.replace(/^\s+/,v).substring(0,5).toLowerCase();var U,O=this.__cW;if(!P.indexOf(t)){U=O.opt;}else if(!P.indexOf(E)){U=O.leg;}else if(P.match(/^<(thead|tbody|tfoot|colg|cap)/)){U=O.table;}else if(!P.indexOf(G)){U=O.tr;}else if(!P.indexOf(r)||!P.indexOf(p)){U=O.td;}else if(!P.indexOf(f)){U=O.col;}else {U=O.def;};if(U){V.innerHTML=U[1]+S+U[2];var R=U[0];while(R-- ){V=V.lastChild;};}else {V.innerHTML=S;};if((qx.core.Environment.get(C)==B)){var W=/=0; --j){if(Q[j].tagName.toLowerCase()===F&&!Q[j].childNodes.length){Q[j].parentNode.removeChild(Q[j]);};};if(/^\s/.test(S)){V.insertBefore(T.createTextNode(S.match(/^\s*/)[0]),V.firstChild);};};return qx.lang.Array.fromCollection(V.childNodes);},clean:function(X,be,bb){be=be||document;if(typeof be.createElement===I){be=be.ownerDocument||be[0]&&be[0].ownerDocument||document;};if(!bb&&X.length===1&&typeof X[0]===k){var bg=/^<(\w+)\s*\/?>$/.exec(X[0]);if(bg){return [be.createElement(bg[1])];};};var ba,bc=[];for(var i=0,l=X.length;i8)){qx.bom.Event.addNativeListener(this._window,m,this._onNativeLoadWrapped);}else {var self=this;var z=function(){try{document.documentElement.doScroll(l);if(document.body){self._onNativeLoadWrapped();};}catch(A){window.setTimeout(z,100);};};z();};qx.bom.Event.addNativeListener(this._window,i,this._onNativeLoadWrapped);};this._onNativeUnloadWrapped=qx.lang.Function.bind(this._onNativeUnload,this);qx.bom.Event.addNativeListener(this._window,j,this._onNativeUnloadWrapped);},_stopObserver:function(){if(this._onNativeLoadWrapped){qx.bom.Event.removeNativeListener(this._window,i,this._onNativeLoadWrapped);};qx.bom.Event.removeNativeListener(this._window,j,this._onNativeUnloadWrapped);this._onNativeLoadWrapped=null;this._onNativeUnloadWrapped=null;},_onNativeLoad:qx.event.GlobalError.observeMethod(function(){this.__dg=true;this.__dk();}),_onNativeUnload:qx.event.GlobalError.observeMethod(function(){if(!this.__dj){this.__dj=true;try{qx.event.Registration.fireEvent(this._window,n);}catch(e){throw e;}finally{qx.core.ObjectRegistry.shutdown();};};})},destruct:function(){this._stopObserver();this._window=null;},defer:function(B){qx.event.Registration.addHandler(B);}});})();(function(){var a="ready",b="shutdown",c="beforeunload",d="qx.core.Init";qx.Class.define(d,{statics:{getApplication:qx.core.BaseInit.getApplication,ready:qx.core.BaseInit.ready,__de:function(e){var f=this.getApplication();if(f){e.setReturnValue(f.close());};},__df:function(){var g=this.getApplication();if(g){g.terminate();};}},defer:function(h){qx.event.Registration.addListener(window,a,h.ready,h);qx.event.Registration.addListener(window,b,h.__df,h);qx.event.Registration.addListener(window,c,h.__de,h);}});})();(function(){var a="Abstract method call",b="abstract",c="qx.application.AbstractGui";qx.Class.define(c,{type:b,extend:qx.core.Object,implement:[qx.application.IApplication],include:qx.locale.MTranslation,members:{__a:null,_createRootWidget:function(){throw new Error(a);},getRoot:function(){return this.__a;},main:function(){qx.theme.manager.Meta.getInstance().initialize();qx.ui.tooltip.Manager.getInstance();this.__a=this._createRootWidget();},finalize:function(){this.render();},render:function(){qx.ui.core.queue.Manager.flush();},close:function(d){},terminate:function(){}},destruct:function(){this.__a=null;}});})();(function(){var a="The theme to use is not available: ",b="_applyTheme",c="qx.theme",d="qx.theme.manager.Meta",e="qx.theme.Modern",f="Theme",g="singleton";qx.Class.define(d,{type:g,extend:qx.core.Object,properties:{theme:{check:f,nullable:true,apply:b}},members:{_applyTheme:function(n,i){var k=null;var h=null;var r=null;var s=null;var m=null;if(n){k=n.meta.color||null;h=n.meta.decoration||null;r=n.meta.font||null;s=n.meta.icon||null;m=n.meta.appearance||null;};var j=qx.theme.manager.Color.getInstance();var q=qx.theme.manager.Decoration.getInstance();var o=qx.theme.manager.Font.getInstance();var l=qx.theme.manager.Icon.getInstance();var p=qx.theme.manager.Appearance.getInstance();j.setTheme(k);q.setTheme(h);o.setTheme(r);l.setTheme(s);p.setTheme(m);},initialize:function(){var v=qx.core.Environment;var t,u;t=v.get(c);if(t){u=qx.Theme.getByName(t);if(!u){throw new Error(a+t);};this.setTheme(u);};}},environment:{"qx.theme":e}});})();(function(){var a="qx.util.ValueManager",b="abstract";qx.Class.define(a,{type:b,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this._dynamic={};},members:{_dynamic:null,resolveDynamic:function(c){return this._dynamic[c];},isDynamic:function(d){return !!this._dynamic[d];},resolve:function(e){if(e&&this._dynamic[e]){return this._dynamic[e];};return e;},_setDynamic:function(f){this._dynamic=f;},_getDynamic:function(){return this._dynamic;}},destruct:function(){this._dynamic=null;}});})();(function(){var a="Could not parse color: ",b="_applyTheme",c="qx.theme.manager.Color",d="Theme",e="changeTheme",f="string",g="singleton";qx.Class.define(c,{type:g,extend:qx.util.ValueManager,properties:{theme:{check:d,nullable:true,apply:b,event:e}},members:{_applyTheme:function(j){var h={};if(j){var i=j.colors;for(var name in i){h[name]=this.__dl(i,name);};};this._setDynamic(h);},__dl:function(l,name){var k=l[name];if(typeof k===f){if(!qx.util.ColorUtil.isCssString(k)){if(l[k]!=undefined){return this.__dl(l,k);};throw new Error(a+k);};return k;}else if(k instanceof Array){return qx.util.ColorUtil.rgbToRgbString(k);};throw new Error(a+k);},resolve:function(p){var o=this._dynamic;var m=o[p];if(m){return m;};var n=this.getTheme();if(n!==null&&n.colors[p]){return o[p]=n.colors[p];};return p;},isDynamic:function(s){var r=this._dynamic;if(s&&(r[s]!==undefined)){return true;};var q=this.getTheme();if(q!==null&&s&&(q.colors[s]!==undefined)){r[s]=q.colors[s];return true;};return false;}}});})();(function(){var a="Could not parse color: ",c="",d="Invalid hex value: ",e="Could not convert system colors to RGB: ",h="(",j=")",k="#",l="a",m="Invalid hex3 value: ",n="qx.theme.manager.Color",o="qx.util.ColorUtil",q="Invalid hex6 value: ",s="rgb",u=",";qx.Bootstrap.define(o,{statics:{REGEXP:{hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,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,1}[0-9]*)\s*\)$/},SYSTEM:{activeborder:true,activecaption:true,appworkspace:true,background:true,buttonface:true,buttonhighlight:true,buttonshadow:true,buttontext:true,captiontext:true,graytext:true,highlight:true,highlighttext:true,inactiveborder:true,inactivecaption:true,inactivecaptiontext:true,infobackground:true,infotext:true,menu:true,menutext:true,scrollbar:true,threeddarkshadow:true,threedface:true,threedhighlight:true,threedlightshadow:true,threedshadow:true,window:true,windowframe:true,windowtext:true},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:function(v){return this.NAMED[v]!==undefined;},isSystemColor:function(w){return this.SYSTEM[w]!==undefined;},supportsThemes:function(){if(qx.Class){return qx.Class.isDefined(n);};return false;},isThemedColor:function(x){if(!this.supportsThemes()){return false;};if(qx.theme&&qx.theme.manager&&qx.theme.manager.Color){return qx.theme.manager.Color.getInstance().isDynamic(x);};return false;},stringToRgb:function(y){if(this.supportsThemes()&&this.isThemedColor(y)){y=qx.theme.manager.Color.getInstance().resolveDynamic(y);};if(this.isNamedColor(y)){return this.NAMED[y].concat();}else if(this.isSystemColor(y)){throw new Error(e+y);}else if(this.isRgbaString(y)){return this.__dn(y);}else if(this.isRgbString(y)){return this.__dm();}else if(this.isHex3String(y)){return this.__do();}else if(this.isHex6String(y)){return this.__dp();};throw new Error(a+y);},cssStringToRgb:function(z){if(this.isNamedColor(z)){return this.NAMED[z];}else if(this.isSystemColor(z)){throw new Error(e+z);}else if(this.isRgbString(z)){return this.__dm();}else if(this.isRgbaString(z)){return this.__dn();}else if(this.isHex3String(z)){return this.__do();}else if(this.isHex6String(z)){return this.__dp();};throw new Error(a+z);},stringToRgbString:function(A){return this.rgbToRgbString(this.stringToRgb(A));},rgbToRgbString:function(B){return s+(B[3]?l:c)+h+B.join(u)+j;},rgbToHexString:function(C){return (k+qx.lang.String.pad(C[0].toString(16).toUpperCase(),2)+qx.lang.String.pad(C[1].toString(16).toUpperCase(),2)+qx.lang.String.pad(C[2].toString(16).toUpperCase(),2));},isValidPropertyValue:function(D){return (this.isThemedColor(D)||this.isNamedColor(D)||this.isHex3String(D)||this.isHex6String(D)||this.isRgbString(D)||this.isRgbaString(D));},isCssString:function(E){return (this.isSystemColor(E)||this.isNamedColor(E)||this.isHex3String(E)||this.isHex6String(E)||this.isRgbString(E)||this.isRgbaString(E));},isHex3String:function(F){return this.REGEXP.hex3.test(F);},isHex6String:function(G){return this.REGEXP.hex6.test(G);},isRgbString:function(H){return this.REGEXP.rgb.test(H);},isRgbaString:function(I){return this.REGEXP.rgba.test(I);},__dm:function(){var L=parseInt(RegExp.$1,10);var K=parseInt(RegExp.$2,10);var J=parseInt(RegExp.$3,10);return [L,K,J];},__dn:function(){var P=parseInt(RegExp.$1,10);var O=parseInt(RegExp.$2,10);var M=parseInt(RegExp.$3,10);var N=parseInt(RegExp.$4,10);if(P===0&&O===0&M===0&&N===0){return [-1,-1,-1];};return [P,O,M];},__do:function(){var S=parseInt(RegExp.$1,16)*17;var R=parseInt(RegExp.$2,16)*17;var Q=parseInt(RegExp.$3,16)*17;return [S,R,Q];},__dp:function(){var V=(parseInt(RegExp.$1,16)*16)+parseInt(RegExp.$2,16);var U=(parseInt(RegExp.$3,16)*16)+parseInt(RegExp.$4,16);var T=(parseInt(RegExp.$5,16)*16)+parseInt(RegExp.$6,16);return [V,U,T];},hex3StringToRgb:function(W){if(this.isHex3String(W)){return this.__do(W);};throw new Error(m+W);},hex3StringToHex6String:function(X){if(this.isHex3String(X)){return this.rgbToHexString(this.hex3StringToRgb(X));};return X;},hex6StringToRgb:function(Y){if(this.isHex6String(Y)){return this.__dp(Y);};throw new Error(q+Y);},hexStringToRgb:function(ba){if(this.isHex3String(ba)){return this.__do(ba);};if(this.isHex6String(ba)){return this.__dp(ba);};throw new Error(d+ba);},rgbToHsb:function(bi){var bc,bd,bf;var bm=bi[0];var bj=bi[1];var bb=bi[2];var bl=(bm>bj)?bm:bj;if(bb>bl){bl=bb;};var be=(bm=1.0){bo%=1.0;};if(bp>1.0){bp=1.0;};if(bq>1.0){bq=1.0;};var br=Math.floor(255*bq);var bs={};if(bp==0.0){bs.red=bs.green=bs.blue=br;}else {bo*=6.0;i=Math.floor(bo);f=bo-i;p=Math.floor(br*(1.0-bp));r=Math.floor(br*(1.0-(bp*f)));t=Math.floor(br*(1.0-(bp*(1.0-f))));switch(i){case 0:bs.red=br;bs.green=t;bs.blue=p;break;case 1:bs.red=r;bs.green=br;bs.blue=p;break;case 2:bs.red=p;bs.green=br;bs.blue=t;break;case 3:bs.red=p;bs.green=r;bs.blue=br;break;case 4:bs.red=t;bs.green=p;bs.blue=br;break;case 5:bs.red=br;bs.green=p;bs.blue=r;break;};};return [bs.red,bs.green,bs.blue];},randomColor:function(){var r=Math.round(Math.random()*255);var g=Math.round(Math.random()*255);var b=Math.round(Math.random()*255);return this.rgbToRgbString([r,g,b]);}}});})();(function(){var a="mshtml",b="engine.name",c="_applyTheme",d="",e="'.",f="qx-",g="__ds",h="Unable to resolve decorator '",j="singleton",k=";",l="qx.theme.manager.Decoration",m=".",n="Theme",o="object",p="changeTheme",q="string",r="browser.documentmode",s=":";qx.Class.define(l,{type:j,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__dq=[];this.__dr=(qx.core.Environment.get(b)==a&&qx.core.Environment.get(r)<9);},properties:{theme:{check:n,nullable:true,apply:c,event:p}},members:{__ds:null,__dq:null,__dr:false,getCssClassName:function(t){if(qx.lang.Type.isString(t)){return f+t;}else {return f+t.toHashCode();};},addCssClass:function(y){var v=qx.ui.style.Stylesheet.getInstance();var A=y;y=this.getCssClassName(y);var z=m+y;if(v.hasRule(z)){return y;};if(qx.lang.Type.isString(A)){A=this.resolve(A);};if(!A){throw new Error(h+y+e);};var F=d;var u=A.getStyles(true);for(var C in u){if(qx.Bootstrap.isObject(u[C])){var w=d;var E=u[C];var B=false;for(var x in E){B=true;w+=x+s+E[x]+k;};var D=this.__dr?z:z+(B?s:d);this.__dq.push(D+C);v.addRule(D+C,w);continue;};F+=C+s+u[C]+k;};if(F){v.addRule(z,F);this.__dq.push(z);};return y;},resolve:function(J){if(!J){return null;};if(typeof J===o){return J;};var K=this.getTheme();if(!K){return null;};var H=this.__ds;if(!H){H=this.__ds={};};var G=H[J];if(G){return G;};var M=qx.lang.Object.clone(K.decorations[J],true);if(!M){return null;};if(!M.style){M.style={};};var I=M;while(I.include){I=K.decorations[I.include];if(!M.decorator&&I.decorator){M.decorator=qx.lang.Object.clone(I.decorator);};if(I.style){for(var L in I.style){if(M.style[L]==undefined){M.style[L]=qx.lang.Object.clone(I.style[L],true);};};};};return H[J]=(new qx.ui.decoration.Decorator()).set(M.style);},isValidPropertyValue:function(N){if(typeof N===q){return this.isDynamic(N);}else if(typeof N===o){var O=N.constructor;return qx.Class.hasInterface(O,qx.ui.decoration.IDecorator);};return false;},isDynamic:function(Q){if(!Q){return false;};var P=this.getTheme();if(!P){return false;};return !!P.decorations[Q];},isCached:function(R){return !this.__ds?false:qx.lang.Object.contains(this.__ds,R);},_applyTheme:function(U,S){var T=qx.util.AliasManager.getInstance();for(var i=0;i=0; --i){if(B[i].selectorText==E){C.deleteRule(i);};};}else {var B=C.rules;var D=B.length;for(var i=D-1;i>=0; --i){if(B[i].selectorText==E){C.removeRule(i);};};};},removeSheet:function(G){var F=G.ownerNode?G.ownerNode:G.owningElement;qx.dom.Element.removeChild(F,F.parentNode);},removeAllRules:function(I){if(qx.core.Environment.get(m)){var H=I.cssRules;var J=H.length;for(var i=J-1;i>=0;i-- ){I.deleteRule(i);};}else {var H=I.rules;var J=H.length;for(var i=J-1;i>=0;i-- ){I.removeRule(i);};};},addImport:function(L,K){if(qx.core.Environment.get(c)){L.addImport(K);}else {L.insertRule(g+K+k,L.cssRules.length);};},removeImport:function(M,N){if(qx.core.Environment.get(l)){var O=M.imports;var P=O.length;for(var i=P-1;i>=0;i-- ){if(O[i].href==N||O[i].href==qx.util.Uri.getAbsolute(N)){M.removeImport(i);};};}else {var Q=M.cssRules;var P=Q.length;for(var i=P-1;i>=0;i-- ){if(Q[i].href==N){M.deleteRule(i);};};};},removeAllImports:function(S){if(qx.core.Environment.get(l)){var U=S.imports;var T=U.length;for(var i=T-1;i>=0;i-- ){S.removeImport(i);};}else {var R=S.cssRules;var T=R.length;for(var i=T-1;i>=0;i-- ){if(R[i].type==R[i].IMPORT_RULE){S.deleteRule(i);};};};}}});})();(function(){var a="file",b="+",c="strict",d="anchor",e="div",f="query",g="source",h="password",j="host",k="protocol",l="user",n="directory",p="loose",q="relative",r="queryKey",s="qx.util.Uri",t="",u="path",v="authority",w='">0',x="&",y="port",z='0){I[j]=M+b+this.getStyleTop()+G+(O||t);};var M=this.getWidthRight();if(M>0){I[m]=M+b+this.getStyleRight()+G+(L||t);};var M=this.getWidthBottom();if(M>0){I[u]=M+b+this.getStyleBottom()+G+(J||t);};var M=this.getWidthLeft();if(M>0){I[k]=M+b+this.getStyleLeft()+G+(N||t);};{};I.position=H;},_getDefaultInsetsForBorder:function(){return {top:this.getWidthTop(),right:this.getWidthRight(),bottom:this.getWidthBottom(),left:this.getWidthLeft()};},_applyWidth:function(){this._applyStyle();this._resetInsets();},_applyStyle:function(){{};}}});})();(function(){var a=', url(',b="repeat",c="backgroundPositionX",d="backgroundPositionY",e="px",f="background-position",g=" ",h="background-repeat",i="no-repeat",j=')',k="scale",l="_applyBackgroundPosition",m='url(',n="repeat-x",o="background-image",p="100% 100%",q="repeat-y",r="qx.ui.decoration.MBackgroundImage",s="background-size",t="String",u="_applyBackgroundImage";qx.Mixin.define(r,{properties:{backgroundImage:{check:t,nullable:true,apply:u},backgroundRepeat:{check:[b,n,q,i,k],init:b,apply:u},backgroundPositionX:{nullable:true,apply:l},backgroundPositionY:{nullable:true,apply:l},backgroundPosition:{group:[d,c]}},members:{_styleBackgroundImage:function(v){var x=this.getBackgroundImage();if(!x){return;};var y=qx.util.AliasManager.getInstance().resolve(x);var z=qx.util.ResourceManager.getInstance().toUri(y);if(v[o]){v[o]+=a+z+j;}else {v[o]=m+z+j;};var w=this.getBackgroundRepeat();if(w===k){v[s]=p;}else {v[h]=w;};var top=this.getBackgroundPositionY()||0;var A=this.getBackgroundPositionX()||0;if(!isNaN(top)){top+=e;};if(!isNaN(A)){A+=e;};v[f]=A+g+top;{};},_applyBackgroundImage:function(){{};},_applyBackgroundPosition:function(){{};}}});})();(function(){var a="0",b="qx/static",c="http://",d="https://",e="file://",f="qx.util.AliasManager",g="singleton",h=".",i="/",j="static";qx.Class.define(f,{type:g,extend:qx.util.ValueManager,construct:function(){qx.util.ValueManager.call(this);this.__dy={};this.add(j,b);},members:{__dy:null,_preprocess:function(n){var m=this._getDynamic();if(m[n]===false){return n;}else if(m[n]===undefined){if(n.charAt(0)===i||n.charAt(0)===h||n.indexOf(c)===0||n.indexOf(d)===a||n.indexOf(e)===0){m[n]=false;return n;};if(this.__dy[n]){return this.__dy[n];};var l=n.substring(0,n.indexOf(i));var k=this.__dy[l];if(k!==undefined){m[n]=k+n.substring(l.length);};};return n;},add:function(o,q){this.__dy[o]=q;var p=this._getDynamic();for(var r in p){if(r.substring(0,r.indexOf(i))===o){p[r]=q+r.substring(o.length);};};},remove:function(s){delete this.__dy[s];},resolve:function(t){var u=this._getDynamic();if(t!=null){t=this._preprocess(t);};return u[t]||t;},getAliases:function(){var v={};for(var w in this.__dy){v[w]=this.__dy[w];};return v;}},destruct:function(){this.__dy=null;}});})();(function(){var a="singleton",b="qx.util.LibraryManager";qx.Class.define(b,{extend:qx.core.Object,type:a,statics:{__dz:qx.$$libraries||{}},members:{has:function(c){return !!this.self(arguments).__dz[c];},get:function(d,e){return this.self(arguments).__dz[d][e]?this.self(arguments).__dz[d][e]:null;},set:function(f,g,h){this.self(arguments).__dz[f][g]=h;}}});})();(function(){var a="Microsoft.XMLHTTP",b="xhr",c="io.ssl",d="io.xhr",e="",f="file:",g="https:",h="webkit",i="gecko",j="activex",k="opera",l=".",m="io.maxrequests",n="qx.bom.client.Transport";qx.Bootstrap.define(n,{statics:{getMaxConcurrentRequestCount:function(){var p;var r=qx.bom.client.Engine.getVersion().split(l);var o=0;var s=0;var q=0;if(r[0]){o=r[0];};if(r[1]){s=r[1];};if(r[2]){q=r[2];};if(window.maxConnectionsPerServer){p=window.maxConnectionsPerServer;}else if(qx.bom.client.Engine.getName()==k){p=8;}else if(qx.bom.client.Engine.getName()==h){p=4;}else if(qx.bom.client.Engine.getName()==i&&((o>1)||((o==1)&&(s>9))||((o==1)&&(s==9)&&(q>=1)))){p=6;}else {p=2;};return p;},getSsl:function(){return window.location.protocol===g;},getXmlHttpRequest:function(){var t=window.ActiveXObject?(function(){if(window.location.protocol!==f){try{new window.XMLHttpRequest();return b;}catch(u){};};try{new window.ActiveXObject(a);return j;}catch(v){};})():(function(){try{new window.XMLHttpRequest();return b;}catch(w){};})();return t||e;}},defer:function(x){qx.core.Environment.add(m,x.getMaxConcurrentRequestCount);qx.core.Environment.add(c,x.getSsl);qx.core.Environment.add(d,x.getXmlHttpRequest);}});})();(function(){var a="mshtml",b="engine.name",c="//",d="io.ssl",e="",f="encoding",g="?",h="data",i="string",j="type",k="data:image/",l=";",m="/",n="resourceUri",o="qx.util.ResourceManager",p="singleton",q=",";qx.Class.define(o,{extend:qx.core.Object,type:p,construct:function(){qx.core.Object.call(this);},statics:{__k:qx.$$resources||{},__dA:{}},members:{has:function(r){return !!this.self(arguments).__k[r];},getData:function(s){return this.self(arguments).__k[s]||null;},getImageWidth:function(u){var t=this.self(arguments).__k[u];return t?t[0]:null;},getImageHeight:function(w){var v=this.self(arguments).__k[w];return v?v[1]:null;},getImageFormat:function(y){var x=this.self(arguments).__k[y];return x?x[2]:null;},getCombinedFormat:function(D){var A=e;var C=this.self(arguments).__k[D];var z=C&&C.length>4&&typeof (C[4])==i&&this.constructor.__k[C[4]];if(z){var E=C[4];var B=this.constructor.__k[E];A=B[2];};return A;},toUri:function(I){if(I==null){return I;};var F=this.self(arguments).__k[I];if(!F){return I;};if(typeof F===i){var H=F;}else {var H=F[3];if(!H){return I;};};var G=e;if((qx.core.Environment.get(b)==a)&&qx.core.Environment.get(d)){G=this.self(arguments).__dA[H];};return G+qx.util.LibraryManager.getInstance().get(H,n)+m+I;},toDataUri:function(L){var K=this.constructor.__k[L];var N=this.constructor.__k[K[4]];var M;if(N){var J=N[4][L];M=k+J[j]+l+J[f]+q+J[h];}else {M=this.toUri(L);};return M;}},defer:function(P){if((qx.core.Environment.get(b)==a)){if(qx.core.Environment.get(d)){for(var Q in qx.$$libraries){var O;if(qx.util.LibraryManager.getInstance().get(Q,n)){O=qx.util.LibraryManager.getInstance().get(Q,n);}else {P.__dA[Q]=e;continue;};if(O.match(/^\/\//)!=null){P.__dA[Q]=window.location.protocol;}else if(O.match(/^\//)!=null){P.__dA[Q]=window.location.protocol+c+window.location.host;}else if(O.match(/^\.\//)!=null){var S=document.URL;P.__dA[Q]=S.substring(0,S.lastIndexOf(m)+1);}else if(O.match(/^http/)!=null){P.__dA[Q]=e;}else {var R=window.location.href.indexOf(g);var T;if(R==-1){T=window.location.href;}else {T=window.location.href.substring(0,R);};P.__dA[Q]=T.substring(0,T.lastIndexOf(m)+1);};};};};}});})();(function(){var a="innerWidthRight",b="innerColorBottom",c="css.borderradius",d="px ",e='""',f="_applyDoubleBorder",g="border-top",h="inset 0 -",i="css.boxsizing",j="innerWidthTop",k="100%",l="border-left",m="innerColorRight",n="css.boxshadow",o="innerColorTop",p="innerColorLeft",q="inset ",r="shorthand",s="inset -",t="Color",u="border-box",v="qx.ui.decoration.MDoubleBorder",w="border-bottom",x=":before",y="inset 0 ",z="px solid ",A="innerWidthBottom",B="css.rgba",C="inherit",D="Number",E="innerWidthLeft",F="px 0 ",G="inset 0 0 0 ",H="border-right",I=" ",J=",",K="absolute";qx.Mixin.define(v,{include:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MBackgroundImage],construct:function(){this._getDefaultInsetsForBorder=this.__dD;this._styleBorder=this.__dB;},properties:{innerWidthTop:{check:D,init:0,apply:f},innerWidthRight:{check:D,init:0,apply:f},innerWidthBottom:{check:D,init:0,apply:f},innerWidthLeft:{check:D,init:0,apply:f},innerWidth:{group:[j,a,A,E],mode:r},innerColorTop:{nullable:true,check:t,apply:f},innerColorRight:{nullable:true,check:t,apply:f},innerColorBottom:{nullable:true,check:t,apply:f},innerColorLeft:{nullable:true,check:t,apply:f},innerColor:{group:[o,m,b,p],mode:r},innerOpacity:{check:D,init:1,apply:f}},members:{__dB:function(L){var U=qx.core.Environment.get(n);var O,Y,innerWidth;{var T=qx.theme.manager.Color.getInstance();O={top:T.resolve(this.getColorTop()),right:T.resolve(this.getColorRight()),bottom:T.resolve(this.getColorBottom()),left:T.resolve(this.getColorLeft())};Y={top:T.resolve(this.getInnerColorTop()),right:T.resolve(this.getInnerColorRight()),bottom:T.resolve(this.getInnerColorBottom()),left:T.resolve(this.getInnerColorLeft())};};innerWidth={top:this.getInnerWidthTop(),right:this.getInnerWidthRight(),bottom:this.getInnerWidthBottom(),left:this.getInnerWidthLeft()};var R=this.getWidthTop();if(R>0){L[g]=R+d+this.getStyleTop()+I+O.top;};R=this.getWidthRight();if(R>0){L[H]=R+d+this.getStyleRight()+I+O.right;};R=this.getWidthBottom();if(R>0){L[w]=R+d+this.getStyleBottom()+I+O.bottom;};R=this.getWidthLeft();if(R>0){L[l]=R+d+this.getStyleLeft()+I+O.left;};var X=this.getInnerOpacity();if(X<1){this.__dC(Y,X);};if(innerWidth.top>0||innerWidth.right>0||innerWidth.bottom>0||innerWidth.left>0){var W=(innerWidth.top||0)+z+Y.top;var V=(innerWidth.right||0)+z+Y.right;var Q=(innerWidth.bottom||0)+z+Y.bottom;var S=(innerWidth.left||0)+z+Y.left;L[x]={"width":k,"height":k,"position":K,"content":e,"border-top":W,"border-right":V,"border-bottom":Q,"border-left":S,"left":0,"top":0};var M=qx.bom.Style.getCssName(qx.core.Environment.get(i));L[x][M]=u;var N=qx.core.Environment.get(c);if(N){N=qx.bom.Style.getCssName(N);L[x][N]=C;};var P=[];if(Y.top&&innerWidth.top&&Y.top==Y.bottom&&Y.top==Y.right&&Y.top==Y.left&&innerWidth.top==innerWidth.bottom&&innerWidth.top==innerWidth.right&&innerWidth.top==innerWidth.left){P.push(G+innerWidth.top+d+Y.top);}else {if(Y.top){P.push(y+(innerWidth.top||0)+d+Y.top);};if(Y.right){P.push(s+(innerWidth.right||0)+F+Y.right);};if(Y.bottom){P.push(h+(innerWidth.bottom||0)+d+Y.bottom);};if(Y.left){P.push(q+(innerWidth.left||0)+F+Y.left);};};if(P.length>0&&U){U=qx.bom.Style.getCssName(U);if(!L[U]){L[U]=P.join(J);}else {L[U]+=J+P.join(J);};};};},__dC:function(bd,ba){if(!qx.core.Environment.get(B)){{};return;};for(var be in bd){var bb=qx.util.ColorUtil.stringToRgb(bd[be]);bb.push(ba);var bc=qx.util.ColorUtil.rgbToRgbString(bb);bd[be]=bc;};},_applyDoubleBorder:function(){{};},__dD:function(){return {top:this.getWidthTop()+this.getInnerWidthTop(),right:this.getWidthRight()+this.getInnerWidthRight(),bottom:this.getWidthBottom()+this.getInnerWidthBottom(),left:this.getWidthLeft()+this.getInnerWidthLeft()};}}});})();(function(){var a="css.float",b="foo",c="css.borderimage.standardsyntax",d="borderRadius",e="boxSizing",f="stretch",g='m11',h="content",j="css.inlineblock",k="css.gradient.filter",l="css.appearance",m="css.opacity",n="div",o="pointerEvents",p="css.gradient.radial",q="css.pointerevents",r="input",s="color",t="string",u="borderImage",v="userSelect",w="styleFloat",x="css.textShadow.filter",y="css.usermodify",z="css.boxsizing",A='url("foo.png") 4 4 4 4 fill stretch',B="css.boxmodel",C="qx.bom.client.Css",D="appearance",E="placeholder",F="-moz-none",G="backgroundImage",H="css.textShadow",I="DXImageTransform.Microsoft.Shadow",J="css.boxshadow",K="css.alphaimageloaderneeded",L="css.gradient.legacywebkit",M="css.borderradius",N="linear-gradient(0deg, #fff, #000)",O="textShadow",P="auto",Q="css.borderimage",R="foo.png",S="rgba(1, 2, 3, 0.5)",T="color=#666666,direction=45",U="radial-gradient(0px 0px, cover, red 50%, blue 100%)",V="rgba",W="(",X='url("foo.png") 4 4 4 4 stretch',Y="css.gradient.linear",bC="DXImageTransform.Microsoft.Gradient",bD="css.userselect",bE="span",by="-webkit-gradient(linear,0% 0%,100% 100%,from(white), to(red))",bz="mshtml",bA="css.rgba",bB=");",bI="4 fill",bJ='WebKitCSSMatrix',bK="none",bR="startColorStr=#550000FF, endColorStr=#55FFFF00",bF="progid:",bG="css.placeholder",bH="css.userselect.none",bw="css.textoverflow",bM="inline-block",bx="-moz-inline-box",bN="textOverflow",bO="userModify",bP="boxShadow",bL="cssFloat",bQ="border";qx.Bootstrap.define(C,{statics:{__dE:null,getBoxModel:function(){var content=qx.bom.client.Engine.getName()!==bz||!qx.bom.client.Browser.getQuirksMode();return content?h:bQ;},getTextOverflow:function(){return qx.bom.Style.getPropertyName(bN);},getPlaceholder:function(){var i=document.createElement(r);return E in i;},getAppearance:function(){return qx.bom.Style.getPropertyName(D);},getBorderRadius:function(){return qx.bom.Style.getPropertyName(d);},getBoxShadow:function(){return qx.bom.Style.getPropertyName(bP);},getBorderImage:function(){return qx.bom.Style.getPropertyName(u);},getBorderImageSyntax:function(){var bT=qx.bom.client.Css.getBorderImage();if(!bT){return null;};var bS=document.createElement(n);if(bT===u){bS.style[bT]=A;if(bS.style.borderImageSource.indexOf(R)>=0&&bS.style.borderImageSlice.indexOf(bI)>=0&&bS.style.borderImageRepeat.indexOf(f)>=0){return true;};}else {bS.style[bT]=X;if(bS.style[bT].indexOf(R)>=0){return false;};};return null;},getUserSelect:function(){return qx.bom.Style.getPropertyName(v);},getUserSelectNone:function(){var bV=qx.bom.client.Css.getUserSelect();if(bV){var bU=document.createElement(bE);bU.style[bV]=F;return bU.style[bV]===F?F:bK;};return null;},getUserModify:function(){return qx.bom.Style.getPropertyName(bO);},getFloat:function(){var bW=document.documentElement.style;return bW.cssFloat!==undefined?bL:bW.styleFloat!==undefined?w:null;},getTranslate3d:function(){return bJ in window&&g in new WebKitCSSMatrix();},getLinearGradient:function(){qx.bom.client.Css.__dE=false;var cb=N;var bX=document.createElement(n);var bY=qx.bom.Style.getAppliedStyle(bX,G,cb);if(!bY){cb=by;var bY=qx.bom.Style.getAppliedStyle(bX,G,cb,false);if(bY){qx.bom.client.Css.__dE=true;};};if(!bY){return null;};var ca=/(.*?)\(/.exec(bY);return ca?ca[1]:null;},getFilterGradient:function(){return qx.bom.client.Css.__dF(bC,bR);},getRadialGradient:function(){var cf=U;var cc=document.createElement(n);var cd=qx.bom.Style.getAppliedStyle(cc,G,cf);if(!cd){return null;};var ce=/(.*?)\(/.exec(cd);return ce?ce[1]:null;},getLegacyWebkitGradient:function(){if(qx.bom.client.Css.__dE===null){qx.bom.client.Css.getLinearGradient();};return qx.bom.client.Css.__dE;},getRgba:function(){var cg;try{cg=document.createElement(n);}catch(ch){cg=document.createElement();};try{cg.style[s]=S;if(cg.style[s].indexOf(V)!=-1){return true;};}catch(ci){};return false;},getBoxSizing:function(){return qx.bom.Style.getPropertyName(e);},getInlineBlock:function(){var cj=document.createElement(bE);cj.style.display=bM;if(cj.style.display==bM){return bM;};cj.style.display=bx;if(cj.style.display!==bx){return bx;};return null;},getOpacity:function(){return (typeof document.documentElement.style.opacity==t);},getTextShadow:function(){return !!qx.bom.Style.getPropertyName(O);},getFilterTextShadow:function(){return qx.bom.client.Css.__dF(I,T);},__dF:function(cn,cl){var cm=false;var co=bF+cn+W+cl+bB;var ck=document.createElement(n);document.body.appendChild(ck);ck.style.filter=co;if(ck.filters&&ck.filters.length>0&&ck.filters.item(cn).enabled==true){cm=true;};document.body.removeChild(ck);return cm;},getAlphaImageLoaderNeeded:function(){return qx.bom.client.Engine.getName()==bz&&qx.bom.client.Browser.getDocumentMode()<9;},getPointerEvents:function(){var cp=document.documentElement;if(o in cp.style){var cr=cp.style.pointerEvents;cp.style.pointerEvents=P;cp.style.pointerEvents=b;var cq=cp.style.pointerEvents==P;cp.style.pointerEvents=cr;return cq;};return false;}},defer:function(cs){qx.core.Environment.add(bw,cs.getTextOverflow);qx.core.Environment.add(bG,cs.getPlaceholder);qx.core.Environment.add(M,cs.getBorderRadius);qx.core.Environment.add(J,cs.getBoxShadow);qx.core.Environment.add(Y,cs.getLinearGradient);qx.core.Environment.add(k,cs.getFilterGradient);qx.core.Environment.add(p,cs.getRadialGradient);qx.core.Environment.add(L,cs.getLegacyWebkitGradient);qx.core.Environment.add(B,cs.getBoxModel);qx.core.Environment.add(bA,cs.getRgba);qx.core.Environment.add(Q,cs.getBorderImage);qx.core.Environment.add(c,cs.getBorderImageSyntax);qx.core.Environment.add(y,cs.getUserModify);qx.core.Environment.add(bD,cs.getUserSelect);qx.core.Environment.add(bH,cs.getUserSelectNone);qx.core.Environment.add(l,cs.getAppearance);qx.core.Environment.add(a,cs.getFloat);qx.core.Environment.add(z,cs.getBoxSizing);qx.core.Environment.add(j,cs.getInlineBlock);qx.core.Environment.add(m,cs.getOpacity);qx.core.Environment.add(H,cs.getTextShadow);qx.core.Environment.add(x,cs.getFilterTextShadow);qx.core.Environment.add(K,cs.getAlphaImageLoaderNeeded);qx.core.Environment.add(q,cs.getPointerEvents);}});})();(function(){var a="radiusTopRight",b="radiusTopLeft",c="px",d="-webkit-border-bottom-left-radius",e="-webkit-background-clip",f="radiusBottomRight",g="Integer",h="-webkit-border-bottom-right-radius",i="background-clip",j="border-top-left-radius",k="border-top-right-radius",l="border-bottom-left-radius",m="radiusBottomLeft",n="-webkit-border-top-left-radius",o="shorthand",p="-moz-border-radius-bottomright",q="padding-box",r="border-bottom-right-radius",s="qx.ui.decoration.MBorderRadius",t="-moz-border-radius-topright",u="engine.name",v="_applyBorderRadius",w="-webkit-border-top-right-radius",x="webkit",y="-moz-border-radius-topleft",z="-moz-border-radius-bottomleft";qx.Mixin.define(s,{properties:{radiusTopLeft:{nullable:true,check:g,apply:v},radiusTopRight:{nullable:true,check:g,apply:v},radiusBottomLeft:{nullable:true,check:g,apply:v},radiusBottomRight:{nullable:true,check:g,apply:v},radius:{group:[b,a,f,m],mode:o}},members:{_styleBorderRadius:function(A){A[e]=q;A[i]=q;var B=false;var C=this.getRadiusTopLeft();if(C>0){B=true;A[y]=C+c;A[n]=C+c;A[j]=C+c;};C=this.getRadiusTopRight();if(C>0){B=true;A[t]=C+c;A[w]=C+c;A[k]=C+c;};C=this.getRadiusBottomLeft();if(C>0){B=true;A[z]=C+c;A[d]=C+c;A[l]=C+c;};C=this.getRadiusBottomRight();if(C>0){B=true;A[p]=C+c;A[h]=C+c;A[r]=C+c;};if(B&&qx.core.Environment.get(u)==x){A[e]=q;}else {A[i]=q;};},_applyBorderRadius:function(){{};}}});})();(function(){var a="border-width",b="css.borderimage.standardsyntax",c="repeat",d="Boolean",e="-l",f="stretch",g="px ",h="sliceBottom",i="-t",j="Integer",k="solid",l="borderImage",m="-r",n="border-style",o="sliceLeft",p="-b",q="sliceRight",r="px",s="repeatX",t=" fill",u="String",v="vertical",w="",x="transparent",y="round",z='") ',A="shorthand",B="qx.ui.decoration.MBorderImage",C="sliceTop",D="horizontal",E="_applyBorderImage",F="border-color",G='url("',H=" ",I="grid",J="repeatY";qx.Mixin.define(B,{properties:{borderImage:{check:u,nullable:true,apply:E},sliceTop:{check:j,nullable:true,init:null,apply:E},sliceRight:{check:j,nullable:true,init:null,apply:E},sliceBottom:{check:j,nullable:true,init:null,apply:E},sliceLeft:{check:j,nullable:true,init:null,apply:E},slice:{group:[C,q,h,o],mode:A},repeatX:{check:[f,c,y],init:f,apply:E},repeatY:{check:[f,c,y],init:f,apply:E},repeat:{group:[s,J],mode:A},fill:{check:d,init:true,apply:E},borderImageMode:{check:[D,v,I],init:I}},members:{_styleBorderImage:function(K){if(!this.getBorderImage()){return;};var M=qx.util.AliasManager.getInstance().resolve(this.getBorderImage());var O=qx.util.ResourceManager.getInstance().toUri(M);var R=this._getDefaultInsetsForBorderImage();var L=[R.top,R.right,R.bottom,R.left];var P=[this.getRepeatX(),this.getRepeatY()].join(H);var S=this.getFill()&&qx.core.Environment.get(b)?t:w;var N=qx.bom.Style.getPropertyName(l);if(N){var Q=qx.bom.Style.getCssName(N);K[Q]=G+O+z+L.join(H)+S+H+P;};K[n]=k;K[F]=x;K[a]=L.join(g)+r;},_getDefaultInsetsForBorderImage:function(){if(!this.getBorderImage()){return {top:0,right:0,bottom:0,left:0};};var T=qx.util.AliasManager.getInstance().resolve(this.getBorderImage());var U=this.__dG(T);return {top:this.getSliceTop()||U[0],right:this.getSliceRight()||U[1],bottom:this.getSliceBottom()||U[2],left:this.getSliceLeft()||U[3]};},_applyBorderImage:function(){{};},__dG:function(bc){var bb=this.getBorderImageMode();var bd=0;var Y=0;var ba=0;var be=0;var bf=/(.*)(\.[a-z]+)$/.exec(bc);var V=bf[1];var X=bf[2];var W=qx.util.ResourceManager.getInstance();if(bb==I||bb==v){bd=W.getImageHeight(V+i+X);ba=W.getImageHeight(V+p+X);};if(bb==I||bb==D){Y=W.getImageWidth(V+m+X);be=W.getImageWidth(V+e+X);};return [bd,Y,ba,be];}}});})();(function(){var a=" 0",b="",c="),to(",d="px",e="css.borderradius",f="from(",g=")",h="background-image",i="background",j="
",M="css.gradient.linear",N="';)",O="endColor",P=", ",Q="css.gradient.filter",R="horizontal",S="Number",T='2d',U="%",V=" ",W="white",X="linear-gradient",Y='progid:DXImageTransform.Microsoft.Gradient(GradientType=',bb=",";qx.Mixin.define(H,{properties:{startColor:{check:A,nullable:true,apply:p},endColor:{check:A,nullable:true,apply:p},orientation:{check:[R,E],init:E,apply:p},startColorPosition:{check:S,init:0,apply:p},endColorPosition:{check:S,init:100,apply:p},colorPositionUnit:{check:[d,U],init:U,apply:p},gradientStart:{group:[x,r],mode:y},gradientEnd:{group:[O,J],mode:y}},members:{__dH:null,_styleLinearBackgroundGradient:function(bc){var bm=this.__dI();var bq=bm.start;var bk=bm.end;var bi;if(!bq||!bk){return;};var bt=this.getColorPositionUnit();if(qx.core.Environment.get(v)){bt=bt===d?F:bt;if(this.getOrientation()==R){var bp=this.getStartColorPosition()+bt+a+bt;var bn=this.getEndColorPosition()+bt+a+bt;}else {var bp=o+bt+V+this.getStartColorPosition()+bt;var bn=o+bt+V+this.getEndColorPosition()+bt;};var bf=f+bq+c+bk+g;bi=q+bp+bb+bn+bb+bf+g;bc[i]=bi;}else if(qx.core.Environment.get(Q)&&!qx.core.Environment.get(M)&&qx.core.Environment.get(e)){if(!this.__dH){this.__dH=document.createElement(K);};var bg=this.getOrientation()==E;var bm=this.__dI();var bj=bg?200:1;var bl=bg?1:200;this.__dH.width=bl;this.__dH.height=bj;var bh=this.__dH.getContext(T);if(bg){var bs=bh.createLinearGradient(0,0,0,bj);}else {var bs=bh.createLinearGradient(0,0,bl,0);};bs.addColorStop(this.getStartColorPosition()/100,bm.start);bs.addColorStop(this.getEndColorPosition()/100,bm.end);bh.fillStyle=bs;bh.fillRect(0,0,bl,bj);var bi=u+this.__dH.toDataURL()+g;bc[h]=bi;bc[l]=z;}else if(qx.core.Environment.get(Q)&&!qx.core.Environment.get(M)){var bm=this.__dI();var br=this.getOrientation()==R?1:0;var bq=bm.start;var bk=bm.end;if(!qx.util.ColorUtil.isHex6String(bq)){bq=qx.util.ColorUtil.stringToRgb(bq);bq=qx.util.ColorUtil.rgbToHexString(bq);};if(!qx.util.ColorUtil.isHex6String(bk)){bk=qx.util.ColorUtil.stringToRgb(bk);bk=qx.util.ColorUtil.rgbToHexString(bk);};bq=bq.substring(1,bq.length);bk=bk.substring(1,bk.length);bi=Y+br+P+D+bq+m+w+bk+N;if(bc[k]){bc[k]+=P+bi;}else {bc[k]=bi;};if(!bc[s]||bc[s]==G){bc[s]=W;};}else {var bu=this.getOrientation()==R?0:270;var be=bq+V+this.getStartColorPosition()+bt;var bd=bk+V+this.getEndColorPosition()+bt;var bo=qx.core.Environment.get(M);if(bo===X){bu=this.getOrientation()==R?bu+90:bu-90;};bi=bo+I+bu+t+be+bb+bd+g;if(bc[h]){bc[h]+=P+bi;}else {bc[h]=bi;};};},__dI:function(){{var bv=qx.theme.manager.Color.getInstance();var bx=bv.resolve(this.getStartColor());var bw=bv.resolve(this.getEndColor());};return {start:bx,end:bw};},_getContent:function(){if(qx.core.Environment.get(Q)&&!qx.core.Environment.get(M)){var bA=this.__dI();var bD=this.getOrientation()==R?1:0;var bC=qx.util.ColorUtil.hex3StringToHex6String(bA.start);var bz=qx.util.ColorUtil.hex3StringToHex6String(bA.end);bC=bC.substring(1,bC.length);bz=bz.substring(1,bz.length);var bB=F;if(this.classname.indexOf(C)!=-1){var by={};this._styleBoxShadow(by);bB=j+qx.bom.element.Style.compile(by)+n;};return B+bD+P+D+bC+m+w+bz+L+bB+b;};return F;},_applyLinearBackgroundGradient:function(){{};}}});})();(function(){var a="border-box",b="qx.bom.element.BoxSizing",c="css.boxsizing",d="",e="boxSizing",f="content-box",g=":",h=";";qx.Bootstrap.define(b,{statics:{__dJ:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__dK:function(j){var i=this.__dJ;return i.tags[j.tagName.toLowerCase()]||i.types[j.type];},compile:function(k){if(qx.core.Environment.get(c)){var l=qx.bom.Style.getCssName(qx.core.Environment.get(c));return l+g+k+h;}else {{};};},get:function(m){if(qx.core.Environment.get(c)){return qx.bom.element.Style.get(m,e,null,false)||d;};if(qx.bom.Document.isStandardMode(qx.dom.Node.getWindow(m))){if(!this.__dK(m)){return f;};};return a;},set:function(o,n){if(qx.core.Environment.get(c)){try{o.style[qx.core.Environment.get(c)]=n;}catch(p){{};};}else {{};};},reset:function(q){this.set(q,d);}}});})();(function(){var a="clip:auto;",b="rect(",c=")",d=");",e="",f="px",g="Could not parse clip string: ",h="qx.bom.element.Clip",i="string",j="clip:rect(",k=" ",l="clip",m="rect(auto,auto,auto,auto)",n="rect(auto, auto, auto, auto)",o="auto",p=",";qx.Bootstrap.define(h,{statics:{compile:function(q){if(!q){return a;};var v=q.left;var top=q.top;var u=q.width;var t=q.height;var r,s;if(v==null){r=(u==null?o:u+f);v=o;}else {r=(u==null?o:v+u+f);v=v+f;};if(top==null){s=(t==null?o:t+f);top=o;}else {s=(t==null?o:top+t+f);top=top+f;};return j+top+p+r+p+s+p+v+d;},get:function(z,D){var x=qx.bom.element.Style.get(z,l,D,false);var C,top,A,E;var w,y;if(typeof x===i&&x!==o&&x!==e){x=x.trim();if(/\((.*)\)/.test(x)){var F=RegExp.$1;if(/,/.test(F)){var B=F.split(p);}else {var B=F.split(k);};top=B[0].trim();w=B[1].trim();y=B[2].trim();C=B[3].trim();if(C===o){C=null;};if(top===o){top=null;};if(w===o){w=null;};if(y===o){y=null;};if(top!=null){top=parseInt(top,10);};if(w!=null){w=parseInt(w,10);};if(y!=null){y=parseInt(y,10);};if(C!=null){C=parseInt(C,10);};if(w!=null&&C!=null){A=w-C;}else if(w!=null){A=w;};if(y!=null&&top!=null){E=y-top;}else if(y!=null){E=y;};}else {throw new Error(g+x);};};return {left:C||null,top:top||null,width:A||null,height:E||null};},set:function(L,G){if(!G){L.style.clip=m;return;};var M=G.left;var top=G.top;var K=G.width;var J=G.height;var H,I;if(M==null){H=(K==null?o:K+f);M=o;}else {H=(K==null?o:M+K+f);M=M+f;};if(top==null){I=(J==null?o:J+f);top=o;}else {I=(J==null?o:top+J+f);top=top+f;};L.style.clip=b+top+p+H+p+I+p+M+c;},reset:function(N){N.style.clip=n;}}});})();(function(){var a="cursor:",b="engine.name",c="ns-resize",d="",e="mshtml",f="nw-resize",g="n-resize",h="engine.version",i="nesw-resize",j="opera",k="browser.documentmode",l=";",m="nwse-resize",n="ew-resize",o="qx.bom.element.Cursor",p="ne-resize",q="e-resize",r="browser.quirksmode",s="cursor";qx.Bootstrap.define(o,{statics:{__dL:{},compile:function(t){return a+(this.__dL[t]||t)+l;},get:function(v,u){return qx.bom.element.Style.get(v,s,u,false);},set:function(x,w){x.style.cursor=this.__dL[w]||w;},reset:function(y){y.style.cursor=d;}},defer:function(z){if(qx.core.Environment.get(b)==e&&((parseFloat(qx.core.Environment.get(h))<9||qx.core.Environment.get(k)<9)&&!qx.core.Environment.get(r))){z.__dL[i]=p;z.__dL[m]=f;if(((parseFloat(qx.core.Environment.get(h))<8||qx.core.Environment.get(k)<8)&&!qx.core.Environment.get(r))){z.__dL[n]=q;z.__dL[c]=g;};}else if(qx.core.Environment.get(b)==j&&parseInt(qx.core.Environment.get(h))<12){z.__dL[i]=p;z.__dL[m]=f;};}});})();(function(){var a="engine.name",b=");",c="",d=")",e="zoom:1;filter:alpha(opacity=",f="qx.bom.element.Opacity",g="css.opacity",h=";",i="opacity:",j="alpha(opacity=",k="opacity",l="filter";qx.Bootstrap.define(f,{statics:{compile:qx.core.Environment.select(a,{"mshtml":function(m){if(m>=1){m=1;};if(m<0.00001){m=0;};if(qx.core.Environment.get(g)){return i+m+h;}else {return e+(m*100)+b;};},"default":function(n){if(n>=1){return c;};return i+n+h;}}),set:qx.core.Environment.select(a,{"mshtml":function(q,o){if(qx.core.Environment.get(g)){if(o>=1){o=c;};q.style.opacity=o;}else {var p=qx.bom.element.Style.get(q,l,qx.bom.element.Style.COMPUTED_MODE,false);if(o>=1){o=1;};if(o<0.00001){o=0;};if(!q.currentStyle||!q.currentStyle.hasLayout){q.style.zoom=1;};q.style.filter=p.replace(/alpha\([^\)]*\)/gi,c)+j+o*100+d;};},"default":function(s,r){if(r>=1){r=c;};s.style.opacity=r;}}),reset:qx.core.Environment.select(a,{"mshtml":function(u){if(qx.core.Environment.get(g)){u.style.opacity=c;}else {var t=qx.bom.element.Style.get(u,l,qx.bom.element.Style.COMPUTED_MODE,false);u.style.filter=t.replace(/alpha\([^\)]*\)/gi,c);};},"default":function(v){v.style.opacity=c;}}),get:qx.core.Environment.select(a,{"mshtml":function(z,y){if(qx.core.Environment.get(g)){var w=qx.bom.element.Style.get(z,k,y,false);if(w!=null){return parseFloat(w);};return 1.0;}else {var x=qx.bom.element.Style.get(z,l,y,false);if(x){var w=x.match(/alpha\(opacity=(.*)\)/);if(w&&w[1]){return parseFloat(w[1])/100;};};return 1.0;};},"default":function(C,B){var A=qx.bom.element.Style.get(C,k,B,false);if(A!=null){return parseFloat(A);};return 1.0;}})}});})();(function(){var a="css.float",b="px",c="Cascaded styles are not supported in this browser!",d="css.appearance",e="pixelRight",f="float",g="css.userselect",h="css.boxsizing",i="css.textoverflow",j="pixelHeight",k=":",l="pixelTop",m="browser.documentmode",n="css.borderimage",o="pixelLeft",p="engine.name",q="css.usermodify",r="mshtml",s="qx.bom.element.Style",t="",u="pixelBottom",v="pixelWidth",w=";",x="style";qx.Bootstrap.define(s,{statics:{__dM:null,__dN:null,__dO:function(){var z={"appearance":qx.core.Environment.get(d),"userSelect":qx.core.Environment.get(g),"textOverflow":qx.core.Environment.get(i),"borderImage":qx.core.Environment.get(n),"float":qx.core.Environment.get(a),"userModify":qx.core.Environment.get(q),"boxSizing":qx.core.Environment.get(h)};this.__dN={};for(var y in qx.lang.Object.clone(z)){if(!z[y]){delete z[y];}else {this.__dN[y]=y==f?f:qx.bom.Style.getCssName(z[y]);};};this.__dM=z;},__dP:function(name){var A=qx.bom.Style.getPropertyName(name);if(A){this.__dM[name]=A;};return A;},__dQ:{width:v,height:j,left:o,right:e,top:l,bottom:u},__dR:{clip:qx.bom.element.Clip,cursor:qx.bom.element.Cursor,opacity:qx.bom.element.Opacity,boxSizing:qx.bom.element.BoxSizing},compile:function(B){var E=[];var F=this.__dR;var D=this.__dN;var name,C;for(name in B){C=B[name];if(C==null){continue;};name=this.__dM[name]||this.__dP(name)||name;if(F[name]){E.push(F[name].compile(C));}else {if(!D[name]){D[name]=qx.bom.Style.getCssName(name);};E.push(D[name],k,C,w);};};return E.join(t);},setCss:function(H,G){if(qx.core.Environment.get(p)===r&&parseInt(qx.core.Environment.get(m),10)<8){H.style.cssText=G;}else {H.setAttribute(x,G);};},getCss:function(I){if(qx.core.Environment.get(p)===r&&parseInt(qx.core.Environment.get(m),10)<8){return I.style.cssText.toLowerCase();}else {return I.getAttribute(x);};},isPropertySupported:function(J){return (this.__dR[J]||this.__dM[J]||J in document.documentElement.style);},COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function(M,name,K,L){{};name=this.__dM[name]||this.__dP(name)||name;if(L!==false&&this.__dR[name]){this.__dR[name].set(M,K);}else {M.style[name]=K!==null?K:t;};},setStyles:function(T,N,U){{};var Q=this.__dM;var R=this.__dR;var O=T.style;for(var S in N){var P=N[S];var name=Q[S]||this.__dP(S)||S;if(P===undefined){if(U!==false&&R[name]){R[name].reset(T);}else {O[name]=t;};}else {if(U!==false&&R[name]){R[name].set(T,P);}else {O[name]=P!==null?P:t;};};};},reset:function(W,name,V){name=this.__dM[name]||this.__dP(name)||name;if(V!==false&&this.__dR[name]){this.__dR[name].reset(W);}else {W.style[name]=t;};},get:qx.core.Environment.select(p,{"mshtml":function(ba,name,bb,be){name=this.__dM[name]||this.__dP(name)||name;if(be!==false&&this.__dR[name]){return this.__dR[name].get(ba,bb);};if(!ba.currentStyle){return ba.style[name]||t;};switch(bb){case this.LOCAL_MODE:return ba.style[name]||t;case this.CASCADED_MODE:return ba.currentStyle[name]||t;default:var bc=ba.currentStyle[name]||ba.style[name]||t;if(/^-?[\.\d]+(px)?$/i.test(bc)){return bc;};var bd=this.__dQ[name];if(bd){var Y=ba.style[name];ba.style[name]=bc||0;var X=ba.style[bd]+b;ba.style[name]=Y;return X;};return bc;};},"default":function(bh,name,bi,bj){name=this.__dM[name]||this.__dP(name)||name;if(bj!==false&&this.__dR[name]){return this.__dR[name].get(bh,bi);};switch(bi){case this.LOCAL_MODE:return bh.style[name]||t;case this.CASCADED_MODE:if(bh.currentStyle){return bh.currentStyle[name]||t;};throw new Error(c);default:var bg=qx.dom.Node.getDocument(bh);var bf=bg.defaultView.getComputedStyle(bh,null);if(bf&&bf[name]){return bf[name];};return bh.style[name]||t;};}})},defer:function(bk){bk.__dO();}});})();(function(){var a="engine.name",b="CSS1Compat",c="position:absolute;width:0;height:0;width:1",d="engine.version",e="qx.bom.Document",f="1px",g="div";qx.Bootstrap.define(e,{statics:{isQuirksMode:qx.core.Environment.select(a,{"mshtml":function(h){if(qx.core.Environment.get(d)>=8){return (h||window).document.documentMode===5;}else {return (h||window).document.compatMode!==b;};},"webkit":function(i){if(document.compatMode===undefined){var j=(i||window).document.createElement(g);j.style.cssText=c;return j.style.width===f?true:false;}else {return (i||window).document.compatMode!==b;};},"default":function(k){return (k||window).document.compatMode!==b;}}),isStandardMode:function(l){return !this.isQuirksMode(l);},getWidth:function(m){var o=(m||window).document;var n=qx.bom.Viewport.getWidth(m);var scroll=this.isStandardMode(m)?o.documentElement.scrollWidth:o.body.scrollWidth;return Math.max(scroll,n);},getHeight:function(p){var r=(p||window).document;var q=qx.bom.Viewport.getHeight(p);var scroll=this.isStandardMode(p)?r.documentElement.scrollHeight:r.body.scrollHeight;return Math.max(scroll,q);}}});})();(function(){var a="undefined",b="qx.bom.Viewport";qx.Bootstrap.define(b,{statics:{getWidth:function(c){var c=c||window;var d=c.document;return qx.bom.Document.isStandardMode(c)?d.documentElement.clientWidth:d.body.clientWidth;},getHeight:function(e){var e=e||window;var f=e.document;return qx.bom.Document.isStandardMode(e)?f.documentElement.clientHeight:f.body.clientHeight;},getScrollLeft:function(g){var g=g?g:window;if(typeof g.pageXOffset!==a){return g.pageXOffset;};var h=g.document;return h.documentElement.scrollLeft||h.body.scrollLeft;},getScrollTop:function(i){var i=i?i:window;if(typeof i.pageYOffset!==a){return i.pageYOffset;};var j=i.document;return j.documentElement.scrollTop||j.body.scrollTop;},__dS:function(k){var m=this.getWidth(k)>this.getHeight(k)?90:0;var l=k.orientation;if(l==null||Math.abs(l%180)==m){return {"-270":90,"-180":180,"-90":-90,"0":0,"90":90,"180":180,"270":-90};}else {return {"-270":180,"-180":-90,"-90":0,"0":90,"90":180,"180":-90,"270":0};};},__dT:null,getOrientation:function(n){var n=n||window.top;var o=n.orientation;if(o==null){o=this.getWidth(n)>this.getHeight(n)?90:0;}else {if(this.__dT==null){this.__dT=this.__dS(n);};o=this.__dT[o];};return o;},isLandscape:function(p){return this.getWidth(p)>=this.getHeight(p);},isPortrait:function(q){return this.getWidth(q)u[t]){u[t]=v[t];};};};};if(u[e]!=undefined){return u;};return {top:0,right:0,bottom:0,left:0};},_isInitialized:function(){return this.__dU;}}});})();(function(){var a="_applyTheme",b="qx.theme.manager.Font",c="_dynamic",d="Theme",e="changeTheme",f="singleton";qx.Class.define(b,{type:f,extend:qx.util.ValueManager,properties:{theme:{check:d,nullable:true,apply:a,event:e}},members:{resolveDynamic:function(h){var g=this._dynamic;return h instanceof qx.bom.Font?h:g[h];},resolve:function(l){var k=this._dynamic;var i=k[l];if(i){return i;};var j=this.getTheme();if(j!==null&&j.fonts[l]){var m=this.__dW(j.fonts[l]);return k[l]=(new m).set(j.fonts[l]);};return l;},isDynamic:function(q){var p=this._dynamic;if(q&&(q instanceof qx.bom.Font||p[q]!==undefined)){return true;};var o=this.getTheme();if(o!==null&&q&&o.fonts[q]){var n=this.__dW(o.fonts[q]);p[q]=(new n).set(o.fonts[q]);return true;};return false;},__dV:function(s,r){if(s[r].include){var t=s[s[r].include];s[r].include=null;delete s[r].include;s[r]=qx.lang.Object.mergeWith(s[r],t,false);this.__dV(s,r);};},_applyTheme:function(y){var u=this._dynamic;for(var x in u){if(u[x].themed){u[x].dispose();delete u[x];};};if(y){var v=y.fonts;for(var x in v){if(v[x].include&&v[v[x].include]){this.__dV(v,x);};var w=this.__dW(v[x]);u[x]=(new w).set(v[x]);u[x].themed=true;};};this._setDynamic(u);},__dW:function(z){if(z.sources){return qx.bom.webfonts.WebFont;};return qx.bom.Font;}},destruct:function(){this._disposeMap(c);}});})();(function(){var a="Boolean",b="px",c="_applyItalic",d="_applyBold",e="underline",f="_applyTextShadow",g="Integer",h="_applyFamily",j="_applyLineHeight",k='"',m="Array",n="line-through",o="overline",p="Color",q="String",r="",s="italic",t="normal",u="qx.bom.Font",v="bold",w="Number",x="_applyDecoration",y=" ",z="_applySize",A=",",B="_applyColor";qx.Class.define(u,{extend:qx.core.Object,construct:function(D,C){qx.core.Object.call(this);this.__dX={fontFamily:r,fontSize:null,fontWeight:null,fontStyle:null,textDecoration:null,lineHeight:null,color:null,textShadow:null};if(D!==undefined){this.setSize(D);};if(C!==undefined){this.setFamily(C);};},statics:{fromString:function(H){var I=new qx.bom.Font();var F=H.split(/\s+/);var name=[];var G;for(var i=0;i0){I.setFamily(name);};return I;},fromConfig:function(K){var J=new qx.bom.Font;J.set(K);return J;},__dY:{fontFamily:r,fontSize:r,fontWeight:r,fontStyle:r,textDecoration:r,lineHeight:1.2,color:r,textShadow:r},getDefaultStyles:function(){return this.__dY;}},properties:{size:{check:g,nullable:true,apply:z},lineHeight:{check:w,nullable:true,apply:j},family:{check:m,nullable:true,apply:h},bold:{check:a,nullable:true,apply:d},italic:{check:a,nullable:true,apply:c},decoration:{check:[e,n,o],nullable:true,apply:x},color:{check:p,nullable:true,apply:B},textShadow:{nullable:true,check:q,apply:f}},members:{__dX:null,_applySize:function(M,L){this.__dX.fontSize=M===null?null:M+b;},_applyLineHeight:function(O,N){this.__dX.lineHeight=O===null?null:O;},_applyFamily:function(P,Q){var R=r;for(var i=0,l=P.length;i0){R+=k+P[i]+k;}else {R+=P[i];};if(i!==l-1){R+=A;};};this.__dX.fontFamily=R;},_applyBold:function(T,S){this.__dX.fontWeight=T==null?null:T?v:t;},_applyItalic:function(V,U){this.__dX.fontStyle=V==null?null:V?s:t;},_applyDecoration:function(X,W){this.__dX.textDecoration=X==null?null:X;},_applyColor:function(ba,Y){this.__dX.color=null;if(ba){this.__dX.color=qx.theme.manager.Color.getInstance().resolve(ba);};},_applyTextShadow:function(bc,bb){this.__dX.textShadow=bc==null?null:bc;},getStyles:function(){return this.__dX;}}});})();(function(){var a="changeStatus",b="qx.bom.webfonts.WebFont",c="_applySources",d="",e="qx.event.type.Data";qx.Class.define(b,{extend:qx.bom.Font,events:{"changeStatus":e},properties:{sources:{nullable:true,apply:c}},members:{__ea:null,_applySources:function(h,k){var f=[];for(var i=0,l=h.length;i1){bk=bk+u+bp[1];};bl.push(bk);};if(qx.core.Environment.get(T)==S&&(parseInt(qx.core.Environment.get(Q))<9)||qx.core.Environment.get(E)<9){if(!this.__eg){this.__eg=new qx.event.Timer(100);this.__eg.addListener(t,this.__ei,this);};if(!this.__eg.isEnabled()){this.__eg.start();};this.__ed.push([bm,bl,bo,bq]);}else {this.__eh(bm,bl,bo,bq);};},remove:function(bs){var br=null;for(var i=0,l=this.__eb.length;i=9)||(bx==v&&bu>=3.6)||(bx==g&&bu>=6)){bt.push(bh);};if((bx==P&&bu>=10)||(bx==G&&bu>=3.1)||(bx==v&&bu>=3.5)||(bx==g&&bu>=4)||(bx==F&&bw==z&&bv>=4.2)){bt.push(J);};if(bx==bi&&bu>=4){bt.push(y);};if(bx==p&&bw==z&&bv>=4.1){bt.push(f);};return bt;},removeStyleSheet:function(){this.__eb=[];if(this.__ef){qx.bom.Stylesheet.removeSheet(this.__ef);};this.__ef=null;},__eh:function(bA,bC,bz,bD){if(!qx.lang.Array.contains(this.__eb,bA)){var bE=this.__ek(bC);var bB=this.__el(bA,bE);if(!bB){throw new Error(R+bA+w);};if(!this.__ef){this.__ef=qx.bom.Stylesheet.createElement();};try{this.__en(bB);}catch(bF){{};};this.__eb.push(bA);};if(!this.__ec[bA]){this.__ec[bA]=new qx.bom.webfonts.Validator(bA);this.__ec[bA].setTimeout(qx.bom.webfonts.Manager.VALIDATION_TIMEOUT);this.__ec[bA].addListenerOnce(s,this.__ej,this);};if(bz){var by=bD||window;this.__ec[bA].addListenerOnce(s,bz,by);};this.__ec[bA].validate();},__ei:function(){if(this.__ed.length==0){this.__eg.stop();return;};var bG=this.__ed.shift();this.__eh.apply(this,bG);},__ej:function(bH){var bI=bH.getData();if(bI.valid===false){qx.event.Timer.once(function(){this.remove(bI.family);},this,250);};},__ek:function(bJ){var bL=qx.bom.webfonts.Manager.FONT_FORMATS;var bK={};for(var i=0,l=bJ.length;i0?this.__ee:qx.bom.webfonts.Manager.FONT_FORMATS;for(var i=0,l=bP.length;i=this.getTimeout()){this.__ew.stop();this._reset();this.fireDataEvent(b,{family:this.getFontFamily(),valid:false});};};}},destruct:function(){this._reset();this.__ew.stop();this.__ew.removeListener(i,this.__ey,this);this._disposeObjects(f);}});})();(function(){var a="mshtml",b="engine.name",c="qx.bom.element.Dimension",d="0px",e="paddingRight",f="engine.version",g="paddingLeft",h="opera",i="paddingBottom",j="paddingTop",k="overflowX",l="overflowY";qx.Bootstrap.define(c,{statics:{getWidth:function(n){var m=n.getBoundingClientRect();return Math.round(m.right)-Math.round(m.left);},getHeight:function(p){var o=p.getBoundingClientRect();return Math.round(o.bottom)-Math.round(o.top);},getSize:function(q){return {width:this.getWidth(q),height:this.getHeight(q)};},__ez:{visible:true,hidden:true},getContentWidth:function(u){var r=qx.bom.element.Style;var s=qx.bom.element.Style.get(u,k);var t=parseInt(r.get(u,g)||d,10);var x=parseInt(r.get(u,e)||d,10);if(this.__ez[s]){var w=u.clientWidth;if((qx.core.Environment.get(b)==h)||qx.dom.Node.isBlockNode(u)){w=w-t-x;};if(qx.core.Environment.get(b)==a){if(w===0&&u.offsetHeight===0){return u.offsetWidth;};};return w;}else {if(u.clientWidth>=u.scrollWidth){return Math.max(u.clientWidth,u.scrollWidth)-t-x;}else {var v=u.scrollWidth-t;if(qx.core.Environment.get(b)==a&&qx.core.Environment.get(f)>=6){v-=x;};return v;};};},getContentHeight:function(D){var y=qx.bom.element.Style;var A=qx.bom.element.Style.get(D,l);var B=parseInt(y.get(D,j)||d,10);var z=parseInt(y.get(D,i)||d,10);if(this.__ez[A]){return D.clientHeight-B-z;}else {if(D.clientHeight>=D.scrollHeight){return Math.max(D.clientHeight,D.scrollHeight)-B-z;}else {var C=D.scrollHeight-B;if(qx.core.Environment.get(b)==a&&qx.core.Environment.get(f)==6){C-=z;};return C;};};},getContentSize:function(E){return {width:this.getContentWidth(E),height:this.getContentHeight(E)};}}});})();(function(){var a="qx.theme.manager.Icon",b="Theme",c="changeTheme",d="_applyTheme",e="singleton";qx.Class.define(a,{type:e,extend:qx.core.Object,properties:{theme:{check:b,nullable:true,apply:d,event:c}},members:{_applyTheme:function(i,g){var h=qx.util.AliasManager.getInstance();if(g){for(var f in g.aliases){h.remove(f);};};if(i){for(var f in i.aliases){h.add(f,i.aliases[f]);};};}}});})();(function(){var a="Missing appearance: ",b="_applyTheme",c="string",d="qx.theme.manager.Appearance",e=":",f="Theme",g="changeTheme",h="/",j="singleton";qx.Class.define(d,{type:j,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__eA={};this.__eB={};},properties:{theme:{check:f,nullable:true,event:g,apply:b}},members:{__eC:{},__eA:null,__eB:null,_applyTheme:function(){this.__eB={};this.__eA={};},__eD:function(y,u,l,p){var r=u.appearances;var m=r[y];if(!m){var x=h;var n=[];var q=y.split(x);var w=qx.lang.Array.clone(q);var t;while(!m&&q.length>0){n.unshift(q.pop());var o=q.join(x);m=r[o];if(m){t=m.alias||m;if(typeof t===c){var v=t+x+n.join(x);return this.__eD(v,u,l,w);};};};for(var i=0;i0){P+=e+E;};};var F=this.__eA;if(F[P]!==undefined){return F[P];};if(!J){J=this.__eC;};var M;if(O.include||O.base){var Q;if(O.include){Q=this.styleFrom(O.include,J,K,A);};var I=O.style(J,Q);M={};if(O.base){var N=this.styleFrom(z,J,O.base,A);if(O.include){for(var C in N){if(!Q.hasOwnProperty(C)&&!I.hasOwnProperty(C)){M[C]=N[C];};};}else {for(var L in N){if(!I.hasOwnProperty(L)){M[L]=N[L];};};};};if(O.include){for(var B in Q){if(!I.hasOwnProperty(B)){M[B]=Q[B];};};};for(var S in I){M[S]=I[S];};}else {M=O.style(J);};return F[P]=M||null;}},destruct:function(){this.__eA=this.__eB=null;}});})();(function(){var b="'!",c="other",d="widgets",e="undefined",f="fonts",g="appearances",h="qx.Theme",j="]",k="Mixin theme is not a valid theme!",m="[Theme ",n="colors",o="decorations",p="' are not compatible '",q="Theme",r="meta",s="The mixins '",t="borders",u="icons";qx.Bootstrap.define(h,{statics:{define:function(name,w){if(!w){var w={};};w.include=this.__eE(w.include);w.patch=this.__eE(w.patch);{};var v={$$type:q,name:name,title:w.title,toString:this.genericToString};if(w.extend){v.supertheme=w.extend;};v.basename=qx.Bootstrap.createNamespace(name,v);this.__eH(v,w);this.__eF(v,w);this.$$registry[name]=v;for(var i=0,a=w.include,l=a.length;iP.width){P.width=P.minWidth;};if(P.maxWidthP.height){P.height=P.minHeight;};if(P.maxHeight=0;i-- ){var g=f[i];if(g.hasValidLayout()){continue;};if(g.isRootWidget()&&!g.hasUserBounds()){var j=g.getSizeHint();g.renderLayout(0,0,j.width,j.height);}else {var h=g.getBounds();g.renderLayout(h.left,h.top,h.width,h.height);};};},getNestingLevel:function(l){var k=this.__ff;var n=0;var parent=l;while(true){if(k[parent.$$hash]!=null){n+=k[parent.$$hash];break;};if(!parent.$$parent){break;};parent=parent.$$parent;n+=1;};var m=n;while(l&&l!==parent){k[l.$$hash]=m-- ;l=l.$$parent;};return n;},__fg:function(){var t=qx.ui.core.queue.Visibility;this.__ff={};var s=[];var r=this.__ed;var o,q;for(var p in r){o=r[p];if(t.isVisible(o)){q=this.getNestingLevel(o);if(!s[q]){s[q]={};};s[q][p]=o;delete r[p];};};return s;},__fh:function(){var x=[];var z=this.__fg();for(var w=z.length-1;w>=0;w-- ){if(!z[w]){continue;};for(var v in z[w]){var u=z[w][v];if(w==0||u.isRootWidget()||u.hasUserBounds()){x.push(u);u.invalidateLayoutCache();continue;};var B=u.getSizeHint(false);if(B){u.invalidateLayoutCache();var y=u.getSizeHint();var A=(!u.getBounds()||B.minWidth!==y.minWidth||B.width!==y.width||B.maxWidth!==y.maxWidth||B.minHeight!==y.minHeight||B.height!==y.height||B.maxHeight!==y.maxHeight);}else {A=true;};if(A){var parent=u.getLayoutParent();if(!z[w-1]){z[w-1]={};};z[w-1][parent.$$hash]=parent;}else {x.push(u);};};};return x;}}});})();(function(){var a="none",b="qx.module.Css",c="",d="display";qx.Bootstrap.define(b,{statics:{setStyle:function(name,e){if(/\w-\w/.test(name)){name=qx.lang.String.camelCase(name);};this._forEachElement(function(f){qx.bom.element.Style.set(f,name,e);});return this;},getStyle:function(name){if(this[0]&&qx.dom.Node.isElement(this[0])){if(/\w-\w/.test(name)){name=qx.lang.String.camelCase(name);};return qx.bom.element.Style.get(this[0],name);};return null;},setStyles:function(g){for(var name in g){this.setStyle(name,g[name]);};return this;},getStyles:function(j){var h={};for(var i=0;i0;},copyEventsTo:function(bg){var be=this.concat();var bf=bg.concat();for(var i=be.length-1;i>=0;i-- ){var bb=be[i].getElementsByTagName(c);for(var j=0;j=0;i-- ){var bb=bf[i].getElementsByTagName(c);for(var j=0;j=0;j-- ){var bd=bc[name][j].listener;if(bd.original){bd=bd.original;};qxWeb(bf[i]).on(name,bd,bc[name][j].ctx);};};};},__di:false,ready:function(bi){if(document.readyState===o){window.setTimeout(bi,1);return;};var bj=function(){qx.module.Event.__di=true;bi();};qxWeb(window).on(d,bj);var bk=function(){qxWeb(window).off(d,bj);bi();};if(qxWeb.env.get(b)!==a||qxWeb.env.get(n)>8){qx.bom.Event.addNativeListener(document,h,bk);}else {var bl=function(){if(qx.module.Event.__di){return;};try{document.documentElement.doScroll(e);if(document.body){bk();};}catch(bm){window.setTimeout(bl,100);};};bl();};},$registerNormalization:function(bq,bn){if(!qx.lang.Type.isArray(bq)){bq=[bq];};var bo=qx.module.Event.__fs;for(var i=0,l=bq.length;i=0;i-- ){var m=k[i];if(m.listener==l&&m.ctx==j){k.splice(i,1);qx.event.Emitter.__fx[m.id]=null;return m.id;};};return null;},offById:function(o){var n=qx.event.Emitter.__fx[o];if(n){this.off(n.name,n.listener,n.ctx);};return null;},addListener:function(name,p,q){return this.on(name,p,q);},addListenerOnce:function(name,r,s){return this.once(name,r,s);},removeListener:function(name,t,u){this.off(name,t,u);},removeListenerById:function(v){this.offById(v);},emit:function(name,y){var x=this.__fz(name);for(var i=0;i=0;i-- ){var w=x[i];w.listener.call(w.ctx,y);};},getListeners:function(){return this.__fv;},__fz:function(name){if(this.__fv==null){this.__fv={};};if(this.__fv[name]==null){this.__fv[name]=[];};return this.__fv[name];}}});})();(function(){var a="start",b="animationEnd",c="",d="none",e="qx.module.Animation",f="animationIteration",g="end",h="animationStart",j="ease-in",k="iteration",l="ease-out",m="display";qx.Bootstrap.define(e,{events:{"animationStart":undefined,"animationIteration":undefined,"animationEnd":undefined},statics:{getAnimationHandles:function(){var n=[];for(var i=0;iY[bm]){X=bd;bm++ ;bd=bc[Y[bm]];};bb[i]={};for(var name in bd){var bh=bd[name]+h;if(bh.charAt(0)==o){var bj=qx.util.ColorUtil.cssStringToRgb(X[name]);var bi=qx.util.ColorUtil.cssStringToRgb(bh);var W=[];for(var j=0;jthis.__fO){bC=bC/2;};return Math.round(bC);},__fV:function(bG){var bF=Object.keys(bG);for(var i=0;i=m+l){this.emit(g);this.id=null;}else {var o=Math.max(p-m,0);this.emit(f,o);this.id=qx.bom.AnimationFrame.request(n,this);};};this.id=qx.bom.AnimationFrame.request(n,this);},cancelSequence:function(){this.__fW=true;}},statics:{TIMEOUT:30,calculateTiming:function(q,x){if(q==j){var a=[3.1223e-7,0.0757,1.2646,-0.167,-0.4387,0.2654];}else if(q==k){var a=[-7.0198e-8,1.652,-0.551,-0.0458,0.1255,-0.1807];}else if(q==h){return x;}else if(q==b){var a=[2.482e-7,-0.2289,3.3466,-1.0857,-1.7354,0.7034];}else {var a=[-0.0021,0.2472,9.8054,-21.6869,17.7611,-5.1226];};var y=0;for(var i=0;i=8)){bk.style.visibility=bh.__gu?p:M;};};};delete be[bg];};var scroll=this._scroll;for(var bg in scroll){bh=scroll[bg];var X=bh.__gs;if(X&&X.offsetWidth){var bb=true;if(bh.__gx!=null){bh.__gs.scrollLeft=bh.__gx;delete bh.__gx;};if(bh.__gy!=null){bh.__gs.scrollTop=bh.__gy;delete bh.__gy;};var bl=bh.__gv;if(bl!=null){var bf=bl.element.getDomElement();if(bf&&bf.offsetWidth){qx.bom.element.Scroll.intoViewX(bf,X,bl.align);delete bh.__gv;}else {bb=false;};};var bm=bh.__gw;if(bm!=null){var bf=bm.element.getDomElement();if(bf&&bf.offsetWidth){qx.bom.element.Scroll.intoViewY(bf,X,bm.align);delete bh.__gw;}else {bb=false;};};if(bb){delete scroll[bg];};};};var ba={"releaseCapture":1,"blur":1,"deactivate":1};for(var i=0;i0){this._insertChildren();};}else {this._syncData();if(this.__gF){this._syncChildren();};};delete this.__gF;},_insertChildren:function(){var bv=this.__gE;var length=bv.length;var bx;if(length>2){var bw=document.createDocumentFragment();for(var i=0;i=0;i-- ){bE=bG[i];bD=bH.fromHashCode(bE.$$element);if(!bD||!bD.__gt||bD.__gG!==this){bB.removeChild(bE);{};};};for(var i=0;i=1){return true;};var cD=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;if(cE>=0&&cD[this.__gj]){return true;};return false;},setSelectable:function(cG){this.setAttribute(z,cG?C:B);var cF=qx.core.Environment.get(m);if(cF){this.setStyle(cF,cG?b:qx.core.Environment.get(P));};},isNativelyFocusable:function(){return !!qx.event.handler.Focus.FOCUSABLE_ELEMENTS[this.__gj];},include:function(){if(this.__gt){return this;};delete this.__gt;if(this.__gG){this.__gG._scheduleChildrenUpdate();};return this;},exclude:function(){if(!this.__gt){return this;};this.__gt=false;if(this.__gG){this.__gG._scheduleChildrenUpdate();};return this;},isIncluded:function(){return this.__gt===true;},fadeIn:function(cH){var cI=qxWeb(this.__gs);if(cI.isPlaying()){cI.stop();};if(!this.__gs){this.__gH();cI.push(this.__gs);};if(this.__gs){cI.fadeIn(cH);return cI.getAnimationHandles()[0];};},fadeOut:function(cJ){var cK=qxWeb(this.__gs);if(cK.isPlaying()){cK.stop();};if(this.__gs){cK.fadeOut(cJ).once(n,function(){this.hide();qx.html.Element.flush();},this);return cK.getAnimationHandles()[0];};},show:function(){if(this.__gu){return this;};if(this.__gs){qx.html.Element._visibility[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};if(this.__gG){this.__gG._scheduleChildrenUpdate();};delete this.__gu;return this;},hide:function(){if(!this.__gu){return this;};if(this.__gs){qx.html.Element._visibility[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};this.__gu=false;return this;},isVisible:function(){return this.__gu===true;},scrollChildIntoViewX:function(cO,cM,cP){var cL=this.__gs;var cN=cO.getDomElement();if(cP!==false&&cL&&cL.offsetWidth&&cN&&cN.offsetWidth){qx.bom.element.Scroll.intoViewX(cN,cL,cM);}else {this.__gv={element:cO,align:cM};qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__gx;},scrollChildIntoViewY:function(cT,cR,cU){var cQ=this.__gs;var cS=cT.getDomElement();if(cU!==false&&cQ&&cQ.offsetWidth&&cS&&cS.offsetWidth){qx.bom.element.Scroll.intoViewY(cS,cQ,cR);}else {this.__gw={element:cT,align:cR};qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__gy;},scrollToX:function(x,cV){var cW=this.__gs;if(cV!==true&&cW&&cW.offsetWidth){cW.scrollLeft=x;delete this.__gx;}else {this.__gx=x;qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__gv;},getScrollX:function(){var cX=this.__gs;if(cX){return cX.scrollLeft;};return this.__gx||0;},scrollToY:function(y,da){var cY=this.__gs;if(da!==true&&cY&&cY.offsetWidth){cY.scrollTop=y;delete this.__gy;}else {this.__gy=y;qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__gw;},getScrollY:function(){var dc=this.__gs;if(dc){return dc.scrollTop;};return this.__gy||0;},disableScrolling:function(){this.enableScrolling();this.scrollToX(0);this.scrollToY(0);this.addListener(K,this.__gN,this);},enableScrolling:function(){this.removeListener(K,this.__gN,this);},__gM:null,__gN:function(e){if(!this.__gM){this.__gM=true;this.__gs.scrollTop=0;this.__gs.scrollLeft=0;delete this.__gM;};},getTextSelection:function(){var dd=this.__gs;if(dd){return qx.bom.Selection.get(dd);};return null;},getTextSelectionLength:function(){var de=this.__gs;if(de){return qx.bom.Selection.getLength(de);};return null;},getTextSelectionStart:function(){var df=this.__gs;if(df){return qx.bom.Selection.getStart(df);};return null;},getTextSelectionEnd:function(){var dg=this.__gs;if(dg){return qx.bom.Selection.getEnd(dg);};return null;},setTextSelection:function(dh,di){var dj=this.__gs;if(dj){qx.bom.Selection.set(dj,dh,di);return;};qx.html.Element.__gm[this.toHashCode()]={element:this,start:dh,end:di};qx.html.Element._scheduleFlush(v);},clearTextSelection:function(){var dk=this.__gs;if(dk){qx.bom.Selection.clear(dk);};delete qx.html.Element.__gm[this.toHashCode()];},__gO:function(dl,dm){var dn=qx.html.Element._actions;dn.push({type:dl,element:this,args:dm||[]});qx.html.Element._scheduleFlush(v);},focus:function(){this.__gO(f);},blur:function(){this.__gO(g);},activate:function(){this.__gO(E);},deactivate:function(){this.__gO(k);},capture:function(dp){this.__gO(o,[dp!==false]);},releaseCapture:function(){this.__gO(t);},setStyle:function(dq,dr,ds){if(!this.__gk){this.__gk={};};if(this.__gk[dq]==dr){return this;};if(dr==null){delete this.__gk[dq];}else {this.__gk[dq]=dr;};if(this.__gs){if(ds){qx.bom.element.Style.set(this.__gs,dq,dr);return this;};if(!this.__gz){this.__gz={};};this.__gz[dq]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};return this;},setStyles:function(du,dw){var dv=qx.bom.element.Style;if(!this.__gk){this.__gk={};};if(this.__gs){if(!this.__gz){this.__gz={};};for(var dt in du){var dx=du[dt];if(this.__gk[dt]==dx){continue;};if(dx==null){delete this.__gk[dt];}else {this.__gk[dt]=dx;};if(dw){dv.set(this.__gs,dt,dx);continue;};this.__gz[dt]=true;};qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);}else {for(var dt in du){var dx=du[dt];if(this.__gk[dt]==dx){continue;};if(dx==null){delete this.__gk[dt];}else {this.__gk[dt]=dx;};};};return this;},removeStyle:function(dz,dy){this.setStyle(dz,null,dy);return this;},getStyle:function(dA){return this.__gk?this.__gk[dA]:null;},getAllStyles:function(){return this.__gk||null;},setAttribute:function(dB,dC,dD){if(!this.__gl){this.__gl={};};if(this.__gl[dB]==dC){return this;};if(dC==null){delete this.__gl[dB];}else {this.__gl[dB]=dC;};if(this.__gs){if(dD){qx.bom.element.Attribute.set(this.__gs,dB,dC);return this;};if(!this.__gA){this.__gA={};};this.__gA[dB]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};return this;},setAttributes:function(dE,dF){for(var dG in dE){this.setAttribute(dG,dE[dG],dF);};return this;},removeAttribute:function(dI,dH){return this.setAttribute(dI,null,dH);},getAttribute:function(dJ){return this.__gl?this.__gl[dJ]:null;},addClass:function(name){var dK=((this.getAttribute(j)||w)+L+name).trim();this.setAttribute(j,dK);},removeClass:function(name){var dL=this.getAttribute(j);if(dL){this.setAttribute(j,(dL.replace(name,w)).trim());};},_applyProperty:function(name,dM){},_setProperty:function(dN,dO,dP){if(!this.__gC){this.__gC={};};if(this.__gC[dN]==dO){return this;};if(dO==null){delete this.__gC[dN];}else {this.__gC[dN]=dO;};if(this.__gs){if(dP){this._applyProperty(dN,dO);return this;};if(!this.__gB){this.__gB={};};this.__gB[dN]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};return this;},_removeProperty:function(dR,dQ){return this._setProperty(dR,null,dQ);},_getProperty:function(dT){var dS=this.__gC;if(!dS){return null;};var dU=dS[dT];return dU==null?null:dU;},addListener:function(ea,dW,self,dV){if(this.$$disposed){return null;};{var dX;};if(this.__gs){return qx.event.Registration.addListener(this.__gs,ea,dW,self,dV);};if(!this.__gD){this.__gD={};};if(dV==null){dV=false;};var dY=qx.event.Manager.getNextUniqueId();var eb=ea+(dV?d:s)+dY;this.__gD[eb]={type:ea,listener:dW,self:self,capture:dV,unique:dY};return eb;},removeListener:function(ei,ed,self,ec){if(this.$$disposed){return null;};{var eg;};if(this.__gs){qx.event.Registration.removeListener(this.__gs,ei,ed,self,ec);}else {var ee=this.__gD;var eh;if(ec==null){ec=false;};for(var ef in ee){eh=ee[ef];if(eh.listener===ed&&eh.self===self&&eh.capture===ec&&eh.type===ei){delete ee[ef];break;};};};return this;},removeListenerById:function(ej){if(this.$$disposed){return null;};if(this.__gs){qx.event.Registration.removeListenerById(this.__gs,ej);}else {delete this.__gD[ej];};return this;},hasListener:function(em,ek){if(this.$$disposed){return false;};if(this.__gs){return qx.event.Registration.hasListener(this.__gs,em,ek);};var en=this.__gD;var ep;if(ek==null){ek=false;};for(var eo in en){ep=en[eo];if(ep.capture===ek&&ep.type===em){return true;};};return false;}},defer:function(eq){eq.__gP=new qx.util.DeferredCall(eq.flush,eq);},destruct:function(){var er=this.__gs;if(er){qx.event.Registration.getManager(er).removeAllListeners(er);er.$$element=w;};if(!qx.core.ObjectRegistry.inShutDown){var parent=this.__gG;if(parent&&!parent.$$disposed){parent.remove(this);};};this._disposeArray(N);this.__gl=this.__gk=this.__gD=this.__gC=this.__gA=this.__gz=this.__gB=this.__gs=this.__gG=this.__gv=this.__gw=null;}});})();(function(){var a="qx.event.handler.Appear",b="disappear",c="appear";qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(d){qx.core.Object.call(this);this.__gi=d;this.__gQ={};qx.event.handler.Appear.__gR[this.$$hash]=this;},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{appear:true,disappear:true},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:true,__gR:{},refresh:function(){var e=this.__gR;for(var f in e){e[f].refresh();};}},members:{__gi:null,__gQ:null,canHandleEvent:function(h,g){},registerEvent:function(l,m,j){var k=qx.core.ObjectRegistry.toHashCode(l)+m;var i=this.__gQ;if(i&&!i[k]){i[k]=l;l.$$displayed=l.offsetWidth>0;};},unregisterEvent:function(q,r,o){var p=qx.core.ObjectRegistry.toHashCode(q)+r;var n=this.__gQ;if(!n){return;};if(n[p]){delete n[p];};},refresh:function(){var w=this.__gQ;var v;for(var u in w){v=w[u];var s=v.offsetWidth>0;if((!!v.$$displayed)!==s){v.$$displayed=s;var t=qx.event.Registration.createEvent(s?c:b);this.__gi.dispatchEvent(v,t);};};}},destruct:function(){this.__gi=this.__gQ=null;delete qx.event.handler.Appear.__gR[this.$$hash];},defer:function(x){qx.event.Registration.addHandler(x);}});})();(function(){var a="abstract",b="Missing implementation",c="qx.event.dispatch.AbstractBubbling";qx.Class.define(c,{extend:qx.core.Object,implement:qx.event.IEventDispatcher,type:a,construct:function(d){this._manager=d;},members:{_getParent:function(e){throw new Error(b);},canDispatchEvent:function(g,event,f){return event.getBubbles();},dispatchEvent:function(l,event,w){var parent=l;var s=this._manager;var o,x;var n;var v,u;var y;var q=[];o=s.getListeners(l,w,true);x=s.getListeners(l,w,false);if(o){q.push(o);};if(x){q.push(x);};var parent=this._getParent(l);var k=[];var h=[];var m=[];var p=[];while(parent!=null){o=s.getListeners(parent,w,true);if(o){m.push(o);p.push(parent);};x=s.getListeners(parent,w,false);if(x){k.push(x);h.push(parent);};parent=this._getParent(parent);};event.setEventPhase(qx.event.type.Event.CAPTURING_PHASE);for(var i=m.length-1;i>=0;i-- ){y=p[i];event.setCurrentTarget(y);n=m[i];for(var j=0,r=n.length;j1;},getScale:function(){return this._native.scale;},getRotation:function(){return this._native.rotation;},getDocumentLeft:function(f){return this.__hf(f).pageX;},getDocumentTop:function(g){return this.__hf(g).pageY;},getScreenLeft:function(h){return this.__hf(h).screenX;},getScreenTop:function(j){return this.__hf(j).screenY;},getViewportLeft:function(k){return this.__hf(k).clientX;},getViewportTop:function(l){return this.__hf(l).clientY;},getIdentifier:function(m){return this.__hf(m).identifier;},__hf:function(n){n=n==null?0:n;return this.__hg()[n];},__hg:function(){var o=(this._isTouchEnd()?this.getChangedTargetTouches():this.getTargetTouches());return o;},_isTouchEnd:function(){return (this.getType()==c||this.getType()==a);}}});})();(function(){var a="qx.event.type.Tap";qx.Class.define(a,{extend:qx.event.type.Touch,members:{_isTouchEnd:function(){return true;}}});})();(function(){var a="os.name",b="qx.mobile.nativescroll",c="osx",d="qx.nativeScrollBars",e="os.scrollBarOverlayed",f="browser.version",g="ios",h="qx.bom.client.Scroll";qx.Bootstrap.define(h,{statics:{scrollBarOverlayed:function(){var i=qx.bom.element.Scroll.getScrollbarWidth();var k=qx.bom.client.OperatingSystem.getName()===c;var j=qx.core.Environment.get(d);return i==0&&k&&j;},getNativeScroll:function(){return qx.core.Environment.get(a)==g&&parseInt(qx.core.Environment.get(f))>4;}},defer:function(l){qx.core.Environment.add(e,l.scrollBarOverlayed);qx.core.Environment.add(b,l.getNativeScroll);}});})();(function(){var a="borderBottomWidth",b="visible",d="engine.name",e="borderTopWidth",f="top",g="borderLeftStyle",h="none",i="overflow",j="right",k="bottom",l="borderLeftWidth",m="100px",n="-moz-scrollbars-vertical",o="borderRightStyle",p="hidden",q="div",r="left",u="qx.bom.element.Scroll",v="borderRightWidth",w="scroll",x="overflowY";qx.Class.define(u,{statics:{__hh:null,getScrollbarWidth:function(){if(this.__hh!==null){return this.__hh;};var y=qx.bom.element.Style;var A=function(E,F){return parseInt(y.get(E,F),10)||0;};var B=function(G){return (y.get(G,o)==h?0:A(G,v));};var C=function(H){return (y.get(H,g)==h?0:A(H,l));};var D=qx.core.Environment.select(d,{"mshtml":function(I){if(y.get(I,x)==p||I.clientWidth==0){return B(I);};return Math.max(0,I.offsetWidth-I.clientLeft-I.clientWidth);},"default":function(J){if(J.clientWidth==0){var L=y.get(J,i);var K=(L==w||L==n?16:0);return Math.max(0,B(J)+K);};return Math.max(0,(J.offsetWidth-J.clientWidth-C(J)));}});var z=function(M){return D(M)-B(M);};var t=document.createElement(q);var s=t.style;s.height=s.width=m;s.overflow=w;document.body.appendChild(t);var c=z(t);this.__hh=c;document.body.removeChild(t);return this.__hh;},intoViewX:function(bi,stop,bh){var parent=bi.parentNode;var bg=qx.dom.Node.getDocument(bi);var Y=bg.body;var be,Q,V;var R,P,S;var bb,T,O;var X,bc,bd,ba;var bf,U,bj;var N=bh===r;var W=bh===j;stop=stop?stop.parentNode:bg;while(parent&&parent!=stop){if(parent.scrollWidth>parent.clientWidth&&(parent===Y||qx.bom.element.Style.get(parent,x)!=b)){if(parent===Y){Q=parent.scrollLeft;V=Q+qx.bom.Viewport.getWidth();R=qx.bom.Viewport.getWidth();P=parent.clientWidth;S=parent.scrollWidth;bb=0;T=0;O=0;}else {be=qx.bom.element.Location.get(parent);Q=be.left;V=be.right;R=parent.offsetWidth;P=parent.clientWidth;S=parent.scrollWidth;bb=parseInt(qx.bom.element.Style.get(parent,l),10)||0;T=parseInt(qx.bom.element.Style.get(parent,v),10)||0;O=R-P-bb-T;};X=qx.bom.element.Location.get(bi);bc=X.left;bd=X.right;ba=bi.offsetWidth;bf=bc-Q-bb;U=bd-V+T;bj=0;if(N){bj=bf;}else if(W){bj=U+O;}else if(bf<0||ba>P){bj=bf;}else if(U>0){bj=U+O;};parent.scrollLeft+=bj;qx.event.Registration.fireNonBubblingEvent(parent,w);};if(parent===Y){break;};parent=parent.parentNode;};},intoViewY:function(bD,stop,bC){var parent=bD.parentNode;var bB=qx.dom.Node.getDocument(bD);var bk=bB.body;var by,bt,bw;var bE,bx,bu;var bp,bl,bA;var br,bs,bq,bm;var bn,bv,bz;var bo=bC===f;var bF=bC===k;stop=stop?stop.parentNode:bB;while(parent&&parent!=stop){if(parent.scrollHeight>parent.clientHeight&&(parent===bk||qx.bom.element.Style.get(parent,x)!=b)){if(parent===bk){bt=parent.scrollTop;bw=bt+qx.bom.Viewport.getHeight();bE=qx.bom.Viewport.getHeight();bx=parent.clientHeight;bu=parent.scrollHeight;bp=0;bl=0;bA=0;}else {by=qx.bom.element.Location.get(parent);bt=by.top;bw=by.bottom;bE=parent.offsetHeight;bx=parent.clientHeight;bu=parent.scrollHeight;bp=parseInt(qx.bom.element.Style.get(parent,e),10)||0;bl=parseInt(qx.bom.element.Style.get(parent,a),10)||0;bA=bE-bx-bp-bl;};br=qx.bom.element.Location.get(bD);bs=br.top;bq=br.bottom;bm=bD.offsetHeight;bn=bs-bt-bp;bv=bq-bw+bl;bz=0;if(bo){bz=bn;}else if(bF){bz=bv+bA;}else if(bn<0||bm>bx){bz=bn;}else if(bv>0){bz=bv+bA;};parent.scrollTop+=bz;qx.event.Registration.fireNonBubblingEvent(parent,w);};if(parent===bk){break;};parent=parent.parentNode;};},intoView:function(bI,stop,bH,bG){this.intoViewX(bI,stop,bH);this.intoViewY(bI,stop,bG);}}});})();(function(){var a="qx.event.type.Swipe";qx.Class.define(a,{extend:qx.event.type.Touch,members:{_cloneNativeEvent:function(b,c){var c=qx.event.type.Touch.prototype._cloneNativeEvent.call(this,b,c);c.swipe=b.swipe;return c;},_isTouchEnd:function(){return true;},getStartTime:function(){return this._native.swipe.startTime;},getDuration:function(){return this._native.swipe.duration;},getAxis:function(){return this._native.swipe.axis;},getDirection:function(){return this._native.swipe.direction;},getVelocity:function(){return this._native.swipe.velocity;},getDistance:function(){return this._native.swipe.distance;}}});})();(function(){var a="mshtml",b="onhashchange",c="event.help",d="event.mspointer",e="event.touch",f="msPointerEnabled",g="event.hashchange",h="onhelp",i="documentMode",j="qx.bom.client.Event",k="ontouchstart";qx.Bootstrap.define(j,{statics:{getTouch:function(){return (k in window);},getMsPointer:function(){if(f in window.navigator){return window.navigator.msPointerEnabled;};return false;},getHelp:function(){return (h in document);},getHashChange:function(){var l=qx.bom.client.Engine.getName();var m=b in window;return (l!==a&&m)||(l===a&&i in document&&document.documentMode>=8&&m);}},defer:function(n){qx.core.Environment.add(e,n.getTouch);qx.core.Environment.add(d,n.getMsPointer);qx.core.Environment.add(c,n.getHelp);qx.core.Environment.add(g,n.getHashChange);}});})();(function(){var a="resize",b="os.name",c="qx.event.handler.Orientation",d="landscape",e="android",f="portrait",g="orientationchange";qx.Class.define(c,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(h){qx.core.Object.call(this);this.__gi=h;this.__cx=h.getWindow();this._initObserver();},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{orientationchange:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__gi:null,__cx:null,__hi:null,_currentOrientation:null,__hj:null,canHandleEvent:function(j,i){},registerEvent:function(m,l,k){},unregisterEvent:function(p,o,n){},_initObserver:function(){this.__hj=qx.lang.Function.listener(this._onNative,this);this.__hi=qx.bom.Event.supportsEvent(this.__cx,g)?g:a;var Event=qx.bom.Event;Event.addNativeListener(this.__cx,this.__hi,this.__hj);},_stopObserver:function(){var Event=qx.bom.Event;Event.removeNativeListener(this.__cx,this.__hi,this.__hj);},_onNative:qx.event.GlobalError.observeMethod(function(q){var r=0;if(qx.core.Environment.get(b)==e){r=300;};qx.lang.Function.delay(this._onOrientationChange,r,this,q);}),_onOrientationChange:function(s){var u=qx.bom.Viewport;var t=u.getOrientation(s.target);if(this._currentOrientation!=t){this._currentOrientation=t;var v=u.isLandscape(s.target)?d:f;qx.event.Registration.fireEvent(this.__cx,g,qx.event.type.Orientation,[t,v]);};}},destruct:function(){this._stopObserver();this.__gi=this.__cx=null;},defer:function(w){qx.event.Registration.addHandler(w);}});})();(function(){var a="landscape",b="qx.event.type.Orientation",c="portrait";qx.Class.define(b,{extend:qx.event.type.Event,members:{__hk:null,__hl:null,init:function(d,e){qx.event.type.Event.prototype.init.call(this,false,false);this.__hk=d;this.__hl=e;return this;},clone:function(f){var g=qx.event.type.Event.prototype.clone.call(this,f);g.__hk=this.__hk;g.__hl=this.__hl;return g;},getOrientation:function(){return this.__hk;},isLandscape:function(){return this.__hl==a;},isPortrait:function(){return this.__hl==c;}}});})();(function(){var a="touchmove",b="os.name",c="MSPointerDown",d="swipe",e="android",f="qx.event.handler.TouchCore",g="event.mspointer",h="MSPointerCancel",j="y",k="pointer-events",l="longtap",m="touchend",n="MSPointerUp",o="right",p="engine.name",q="x",r="touchcancel",s="MSPointerMove",t="webkit",u="none",v="left",w="tap",z="down",A="undefined",B="up",C="touchstart";qx.Bootstrap.define(f,{extend:Object,statics:{TAP_MAX_DISTANCE:qx.core.Environment.get(b)!=e?10:40,SWIPE_DIRECTION:{x:[v,o],y:[B,z]},SWIPE_MIN_DISTANCE:qx.core.Environment.get(b)!=e?11:41,SWIPE_MIN_VELOCITY:0,LONGTAP_TIME:500},construct:function(D,E){this.__hm=D;this.__fu=E;this._initTouchObserver();},members:{__hm:null,__fu:null,__hn:null,__ho:null,__hp:null,__hq:null,__hr:null,__hs:null,__ht:null,__hu:null,__hv:null,__hw:null,__hx:null,_initTouchObserver:function(){this.__hn=qx.lang.Function.listener(this._onTouchEvent,this);var Event=qx.bom.Event;Event.addNativeListener(this.__hm,C,this.__hn);Event.addNativeListener(this.__hm,a,this.__hn);Event.addNativeListener(this.__hm,m,this.__hn);Event.addNativeListener(this.__hm,r,this.__hn);if(qx.core.Environment.get(g)){Event.addNativeListener(this.__hm,c,this.__hn);Event.addNativeListener(this.__hm,s,this.__hn);Event.addNativeListener(this.__hm,n,this.__hn);Event.addNativeListener(this.__hm,h,this.__hn);};},_stopTouchObserver:function(){var Event=qx.bom.Event;Event.removeNativeListener(this.__hm,C,this.__hn);Event.removeNativeListener(this.__hm,a,this.__hn);Event.removeNativeListener(this.__hm,m,this.__hn);Event.removeNativeListener(this.__hm,r,this.__hn);if(qx.core.Environment.get(g)){Event.removeNativeListener(this.__hm,c,this.__hn);Event.removeNativeListener(this.__hm,s,this.__hn);Event.removeNativeListener(this.__hm,n,this.__hn);Event.removeNativeListener(this.__hm,h,this.__hn);};},_onTouchEvent:function(F){this._commonTouchEventHandler(F);},_getScalingDistance:function(H,G){return (Math.sqrt(Math.pow(H.pageX-G.pageX,2)+Math.pow(H.pageY-G.pageY,2)));},_getRotationAngle:function(J,I){var x=J.pageX-I.pageX;var y=J.pageY-I.pageY;return (Math.atan2(y,x)*180/Math.PI);},_commonTouchEventHandler:function(M,K){var K=K||M.type;if(qx.core.Environment.get(g)){M.changedTouches=[M];M.targetTouches=[M];M.touches=[M];if(K==c){K=C;}else if(K==n){K=m;}else if(K==s){if(this.__hu==true){K=a;};}else if(K==h){K=r;};};if(K==C){this.__ho=this._getTarget(M);this.__ht=true;if(M.touches&&M.touches.length>1){this.__hv=this._getScalingDistance(M.touches[0],M.touches[1]);this.__hw=this._getRotationAngle(M.touches[0],M.touches[1]);};};if(K==a){if(typeof M.scale==A&&M.targetTouches.length>1){var N=this._getScalingDistance(M.targetTouches[0],M.targetTouches[1]);M.scale=N/this.__hv;};if(typeof M.rotation==A&&M.targetTouches.length>1){var L=this._getRotationAngle(M.targetTouches[0],M.targetTouches[1]);M.rotation=L-this.__hw;};if(this.__ht){this.__ht=this._isBelowTapMaxDistance(M.changedTouches[0]);};};this._fireEvent(M,K);this.__hz(M,K);},_isBelowTapMaxDistance:function(O){var P={x:O.screenX-this.__hp,y:O.screenY-this.__hq};var Q=qx.event.handler.TouchCore;return (Math.abs(P.x)<=Q.TAP_MAX_DISTANCE&&Math.abs(P.y)<=Q.TAP_MAX_DISTANCE);},_getTarget:function(S){var T=qx.bom.Event.getTarget(S);if(qx.core.Environment.get(p)==t){if(T&&T.nodeType==3){T=T.parentNode;};}else if(qx.core.Environment.get(g)){var R=this.__hy(S);if(R){T=R;};};return T;},__hy:function(W){if(W&&W.touches){var U=W.touches[0].clientX;var V=W.touches[0].clientY;};var Y=document.msElementsFromPoint(U,V);if(Y){for(var i=0;i1){this.__hs=false;};if(!this._isBelowTapMaxDistance(bk.changedTouches[0])){this.__hF();};},__hC:function(bm,bn){this.__hu=false;this.__hF();if(this.__hs){var bq=bm.changedTouches[0];var br={x:bq.screenX-this.__hp,y:bq.screenY-this.__hq};var bo;if(this.__ho==bn&&this.__ht){if(qx.event&&qx.event.type&&qx.event.type.Tap){bo=qx.event.type.Tap;};this._fireEvent(bm,w,bn,bo);}else {var bp=this.__hD(bm,bn,br);if(bp){if(qx.event&&qx.event.type&&qx.event.type.Swipe){bo=qx.event.type.Swipe;};bm.swipe=bp;this._fireEvent(bm,d,bn,bo);};};};},__hD:function(bu,bv,bA){var bx=qx.event.handler.TouchCore;var by=new Date().getTime()-this.__hr;var bB=(Math.abs(bA.x)>=Math.abs(bA.y))?q:j;var bs=bA[bB];var bt=bx.SWIPE_DIRECTION[bB][bs<0?0:1];var bz=(by!==0)?bs/by:0;var bw=null;if(Math.abs(bz)>=bx.SWIPE_MIN_VELOCITY&&Math.abs(bs)>=bx.SWIPE_MIN_DISTANCE){bw={startTime:this.__hr,duration:by,axis:bB,direction:bt,distance:bs,velocity:bz};};return bw;},__hE:function(bC,bD){this._fireEvent(bC,l,bD,qx.event.type.Tap);this.__hx=null;this.__ht=false;},__hF:function(){if(this.__hx){window.clearTimeout(this.__hx);this.__hx=null;};},dispose:function(){this._stopTouchObserver();this.__ho=this.__hm=this.__fu=this.__hv=this.__hw=null;this.__hF();}}});})();(function(){var a="touchmove",b="engine.name",c="mouseup",d="qx.event.handler.Touch",f="useraction",g="touchend",h="mshtml",i="event.mspointer",j="qx.mobile.nativescroll",k="dispose",l="qx.mobile.emulatetouch",m="event.touch",n="touchstart",o="mousedown",p="mousemove";qx.Class.define(d,{extend:qx.event.handler.TouchCore,implement:qx.event.IEventHandler,construct:function(q){this.__gi=q;this.__cx=q.getWindow();this.__a=this.__cx.document;qx.event.handler.TouchCore.apply(this,[this.__a]);if(!qx.core.Environment.get(i)){this._initMouseObserver();};},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{touchstart:1,touchmove:1,touchend:1,touchcancel:1,tap:1,longtap:1,swipe:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT,IGNORE_CAN_HANDLE:true,MOUSE_TO_TOUCH_MAPPING:{"mousedown":n,"mousemove":a,"mouseup":g}},members:{__hG:null,__gi:null,__cx:null,__a:null,__hH:false,canHandleEvent:function(s,r){},registerEvent:function(v,u,t){},unregisterEvent:function(y,x,w){},_fireEvent:function(A,z,B,C){if(!B){B=this._getTarget(A);};var z=z||A.type;if(B&&B.nodeType){qx.event.Registration.fireEvent(B,z,C||qx.event.type.Touch,[A,B,null,true,true]);};qx.event.Registration.fireEvent(this.__cx,f,qx.event.type.Data,[z]);},__hI:qx.core.Environment.select(l,{"true":function(E){var D=E.type;var F=qx.event.handler.Touch.MOUSE_TO_TOUCH_MAPPING;if(F[D]){D=F[D];if(D==n&&this.__hJ(E)){this.__hH=true;}else if(D==g){this.__hH=false;};var H=this.__hK(E);var G=(D==g?[]:[H]);E.touches=G;E.targetTouches=G;E.changedTouches=[H];};return D;},"default":(function(){})}),__hJ:qx.core.Environment.select(l,{"true":function(J){if((qx.core.Environment.get(b)==h)){var I=1;}else {var I=0;};return J.button==I;},"default":(function(){})}),__hK:qx.core.Environment.select(l,{"true":function(K){var L=this._getTarget(K);return {clientX:K.clientX,clientY:K.clientY,screenX:K.screenX,screenY:K.screenY,pageX:K.pageX,pageY:K.pageY,identifier:1,target:L};},"default":(function(){})}),_initMouseObserver:qx.core.Environment.select(l,{"true":function(){if(!qx.core.Environment.get(m)){this.__hG=qx.lang.Function.listener(this._onMouseEvent,this);var Event=qx.bom.Event;Event.addNativeListener(this.__a,o,this.__hG);Event.addNativeListener(this.__a,p,this.__hG);Event.addNativeListener(this.__a,c,this.__hG);};},"default":(function(){})}),_stopMouseObserver:qx.core.Environment.select(l,{"true":function(){if(!qx.core.Environment.get(m)){var Event=qx.bom.Event;Event.removeNativeListener(this.__a,o,this.__hG);Event.removeNativeListener(this.__a,p,this.__hG);Event.removeNativeListener(this.__a,c,this.__hG);};},"default":(function(){})}),_onTouchEvent:qx.event.GlobalError.observeMethod(function(M){this._commonTouchEventHandler(M);}),_onMouseEvent:qx.core.Environment.select(l,{"true":qx.event.GlobalError.observeMethod(function(O){if(!qx.core.Environment.get(m)){if(O.type==p&&!this.__hH){return;};var N=this.__hI(O);this._commonTouchEventHandler(O,N);};}),"default":(function(){})}),dispose:function(){this.__hL(k);this._stopMouseObserver();this.__gi=this.__cx=this.__a=null;},__hL:function(Q,P){qx.event.handler.TouchCore.prototype[Q].apply(this,P||[]);}},defer:function(R){qx.event.Registration.addHandler(R);if(qx.core.Environment.get(m)){if(qx.core.Environment.get(j)==false){document.addEventListener(a,function(e){e.preventDefault();});};qx.event.Registration.getManager(document).getHandler(R);};}});})();(function(){var a="ipod",b="pc",c="ps3",d=")",e="iPhone",f="psp",g="wii",h="xbox",i="\.",j="ipad",k="ds",l="(",m="mobile",n="device.type",o="tablet",p="ontouchstart",q="g",r="|",s="qx.bom.client.Device",t="desktop",u="device.name",v="device.touch",w="undefined",x="device.pixelRatio";qx.Bootstrap.define(s,{statics:{__cR:{"iPod":a,"iPad":j,"iPhone":e,"PSP":f,"PLAYSTATION 3":c,"Nintendo Wii":g,"Nintendo DS":k,"XBOX":h,"Xbox":h},getName:function(){var A=[];for(var z in this.__cR){A.push(z);};var B=new RegExp(l+A.join(r).replace(/\./g,i)+d,q);var y=B.exec(navigator.userAgent);if(y&&y[1]){return qx.bom.client.Device.__cR[y[1]];};return b;},getType:function(){return qx.bom.client.Device.detectDeviceType(navigator.userAgent);},detectDeviceType:function(C){if(qx.bom.client.Device.detectTabletDevice(C)){return o;}else if(qx.bom.client.Device.detectMobileDevice(C)){return m;};return t;},detectMobileDevice:function(D){return /android.+mobile|ip(hone|od)|bada\/|blackberry|BB10|maemo|opera m(ob|in)i|fennec|NetFront|phone|psp|symbian|IEMobile|windows (ce|phone)|xda/i.test(D);},detectTabletDevice:function(F){var G=(/MSIE 10/i.test(F))&&(/ARM/i.test(F))&&!(/windows phone/i.test(F));var E=(!(/Fennec|HTC.Magic|Nexus|android.+mobile|Tablet PC/i.test(F))&&(/Android|ipad|tablet|playbook|silk|kindle|psp/i.test(F)));return G||E;},getDevicePixelRatio:function(){if(typeof window.devicePixelRatio!==w){return window.devicePixelRatio;};return 1;},getTouch:function(){return (p in window)||window.navigator.msMaxTouchPoints>1;}},defer:function(H){qx.core.Environment.add(u,H.getName);qx.core.Environment.add(v,H.getTouch);qx.core.Environment.add(n,H.getType);qx.core.Environment.add(x,H.getDevicePixelRatio);}});})();(function(){var a="touchmove",b="os.name",c="mouseup",d="mousedown",f="touchend",g="win",h="none",i="qx.event.handler.MouseEmulation",j="event.mspointer",k="qx.emulatemouse",l="longtap",m="click",n="event.touch",o="touchstart",p="contextmenu",q="tap",r="device.touch",s="mousewheel",t="mousemove";qx.Class.define(i,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(u){qx.core.Object.call(this);this.__gi=u;this.__cx=u.getWindow();this.__a=this.__cx.document;if(qx.event.handler.MouseEmulation.ON){this._initObserver();document.documentElement.style.msTouchAction=h;};},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST,SUPPORTED_TYPES:{mousedown:1,mouseup:1,mousemove:1,click:1,contextmenu:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT+qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true,ON:qx.core.Environment.get(k)&&((qx.core.Environment.get(j)&&qx.core.Environment.get(r))||(qx.core.Environment.get(n)&&qx.core.Environment.get(b)!==g))},members:{__gi:null,__cx:null,__a:null,__hM:null,__hN:null,__hO:null,__hP:null,canHandleEvent:function(w,v){},registerEvent:function(z,y,x){},unregisterEvent:function(C,B,A){},__gY:function(D,E,F){var G=E==s?new qx.event.type.MouseWheel():new qx.event.type.Mouse();G.init(D,F,null,true,true);G.setType(E);return qx.event.Registration.getManager(F).dispatchEvent(F,G);},__hQ:function(H,I,J,K){var L=this.__ia(K,J);L.wheelDelta=H;L.wheelDeltaY=I;L.wheelDeltaX=H;this.__gY(L,s,K);},__hR:function(N,O,Q,M,R){this.__hO=null;this.__hP=null;if(N==0&&O==0){return;};var S=parseInt((R||20)/10);if(N>0){N=Math.max(0,N-S);}else {N=Math.min(0,N+S);};if(O>0){O=Math.max(0,O-S);}else {O=Math.min(0,O+S);};var P=+(new Date());this.__hP=qx.bom.AnimationFrame.request(qx.lang.Function.bind(function(T,U,X,W,V){this.__hR(T,U,X,W,V-P);},this,N,O,Q,M));this.__hQ(N,O,Q,M);},__hS:function(Y){var bb={x:Y.screenX,y:Y.screenY};var ba=false;var bc=20;if(Math.abs(bb.x-this.__hM.x)>bc){ba=true;};if(Math.abs(bb.y-this.__hM.y)>bc){ba=true;};return ba;},_initObserver:function(){qx.event.Registration.addListener(this.__a,o,this.__hU,this);qx.event.Registration.addListener(this.__a,a,this.__hV,this);qx.event.Registration.addListener(this.__a,f,this.__hW,this);qx.event.Registration.addListener(this.__a,q,this.__hX,this);qx.event.Registration.addListener(this.__a,l,this.__hY,this);qx.bom.Event.addNativeListener(this.__cx,o,this.__hT);},_stopObserver:function(){qx.event.Registration.removeListener(this.__a,o,this.__hU,this);qx.event.Registration.removeListener(this.__a,a,this.__hV,this);qx.event.Registration.removeListener(this.__a,f,this.__hW,this);qx.event.Registration.removeListener(this.__a,q,this.__hX,this);qx.event.Registration.removeListener(this.__a,l,this.__hY,this);qx.bom.Event.removeNativeListener(this.__cx,o,this.__hT);},__hT:function(e){e.preventDefault();},__hU:function(e){var be=e.getTarget();var bd=this.__ia(be,e.getAllTouches()[0]);if(qx.core.Environment.get(n)){if(!this.__gY(bd,d,be)){e.preventDefault();};};this.__hN={x:bd.screenX,y:bd.screenY};this.__hM={x:bd.screenX,y:bd.screenY};if(this.__hP&&window.cancelAnimationFrame){window.cancelAnimationFrame(this.__hP);this.__hP=null;};},__hV:function(e){var bf=e.getTarget();var bi=this.__ia(bf,e.getChangedTargetTouches()[0]);if(qx.core.Environment.get(n)){if(!this.__gY(bi,t,bf)){e.preventDefault();};};var bh=-parseInt(this.__hN.y-bi.screenY);var bg=-parseInt(this.__hN.x-bi.screenX);this.__hN={x:bi.screenX,y:bi.screenY};if(e.getNativeEvent().pointerType!=4){var bj=e.getChangedTargetTouches()[0];this.__hQ(bg,bh,bj,bf);if(this.__hO){clearTimeout(this.__hO);this.__hO=null;};this.__hO=setTimeout(qx.lang.Function.bind(function(bk,bl,bm,bn){this.__hR(bk,bl,bm,bn);},this,bg,bh,bj,bf),100);};},__hW:function(e){var bp=e.getTarget();var bo=this.__ia(bp,e.getChangedTargetTouches()[0]);if(qx.core.Environment.get(n)){if(!this.__gY(bo,c,bp)){e.preventDefault();};};},__hX:function(e){var br=e.getTarget();var bq=this.__ia(br,e.getChangedTargetTouches()[0]);if(!this.__hS(bq)){this.__gY(bq,m,br);};},__hY:function(e){var bt=e.getTarget();var bs=this.__ia(bt,e.getChangedTargetTouches()[0]);this.__gY(bs,p,bt);},__ia:function(bv,bw){var bu={};bu.button=0;bu.wheelDelta=0;bu.wheelDeltaX=0;bu.wheelDeltaY=0;bu.wheelX=0;bu.wheelY=0;bu.target=bv;bu.clientX=bw.clientX;bu.clientY=bw.clientY;bu.pageX=bw.pageX;bu.pageY=bw.pageY;bu.screenX=bw.screenX;bu.screenY=bw.screenY;bu.shiftKey=false;bu.ctrlKey=false;bu.altKey=false;bu.metaKey=false;return bu;}},destruct:function(){if(qx.event.handler.MouseEmulation.ON){this._stopObserver();};this.__gi=this.__cx=this.__a=null;},defer:function(bx){if(bx.ON){qx.event.Registration.addHandler(bx);};}});})();(function(){var a="click",b="middle",c="none",d="contextmenu",e="qx.event.type.Mouse",f="browser.documentmode",g="left",h="right",i="browser.name",j="ie";qx.Class.define(e,{extend:qx.event.type.Dom,members:{_cloneNativeEvent:function(k,l){var l=qx.event.type.Dom.prototype._cloneNativeEvent.call(this,k,l);l.button=k.button;l.clientX=k.clientX;l.clientY=k.clientY;l.pageX=k.pageX;l.pageY=k.pageY;l.screenX=k.screenX;l.screenY=k.screenY;l.wheelDelta=k.wheelDelta;l.wheelDeltaX=k.wheelDeltaX;l.wheelDeltaY=k.wheelDeltaY;l.detail=k.detail;l.axis=k.axis;l.wheelX=k.wheelX;l.wheelY=k.wheelY;l.HORIZONTAL_AXIS=k.HORIZONTAL_AXIS;l.srcElement=k.srcElement;l.target=k.target;return l;},__ib:{'0':g,'2':h,'1':b},__ic:{'1':g,'2':h,'4':b},stop:function(){this.stopPropagation();},getButton:function(){switch(this._type){case d:return h;case a:if(qx.core.Environment.get(i)===j&&qx.core.Environment.get(f)<9){return g;};default:if(this._native.target!==undefined){return this.__ib[this._native.button]||c;}else {return this.__ic[this._native.button]||c;};};},isLeftPressed:function(){return this.getButton()===g;},isMiddlePressed:function(){return this.getButton()===b;},isRightPressed:function(){return this.getButton()===h;},getRelatedTarget:function(){return this._relatedTarget;},getViewportLeft:function(){return this._native.clientX;},getViewportTop:function(){return this._native.clientY;},getDocumentLeft:function(){if(this._native.pageX!==undefined){return this._native.pageX;}else {var m=qx.dom.Node.getWindow(this._native.srcElement);return this._native.clientX+qx.bom.Viewport.getScrollLeft(m);};},getDocumentTop:function(){if(this._native.pageY!==undefined){return this._native.pageY;}else {var n=qx.dom.Node.getWindow(this._native.srcElement);return this._native.clientY+qx.bom.Viewport.getScrollTop(n);};},getScreenLeft:function(){return this._native.screenX;},getScreenTop:function(){return this._native.screenY;}}});})();(function(){var a="engine.name",b="x",c="osx",d="win",f="os.name",g="qx.dynamicmousewheel",h="engine.version",i="chrome",j="qx.event.type.MouseWheel",k="browser.name",l="y";qx.Class.define(j,{extend:qx.event.type.Mouse,statics:{MAXSCROLL:null,MINSCROLL:null,FACTOR:1},members:{stop:function(){this.stopPropagation();this.preventDefault();},__id:function(p){var m=Math.abs(p);if(qx.event.type.MouseWheel.MINSCROLL==null||qx.event.type.MouseWheel.MINSCROLL>m){qx.event.type.MouseWheel.MINSCROLL=m;this.__ie();};if(qx.event.type.MouseWheel.MAXSCROLL==null||qx.event.type.MouseWheel.MAXSCROLL=this.charCodeA&&bv<=this.charCodeZ){return true;};if(bv>=this.charCode0&&bv<=this.charCode9){return true;};if(this.specialCharCodeMap[bv]){return true;};if(this.numpadToCharCode[bv]){return true;};if(this.isNonPrintableKeyCode(bv)){return true;};return false;},isNonPrintableKeyCode:function(bw){return this.keyCodeToIdentifierMap[bw]?true:false;},isValidKeyIdentifier:function(bx){if(this.identifierToKeyCodeMap[bx]){return true;};if(bx.length!=1){return false;};if(bx>=s&&bx<=bq){return true;};if(bx>=i&&bx<=I){return true;};switch(bx){case e:case a:case J:case G:return true;default:return false;};},isPrintableKeyIdentifier:function(by){if(by===j){return true;}else {return this.identifierToKeyCodeMap[by]?false:true;};}},defer:function(bz,bA){if(!bz.identifierToKeyCodeMap){bz.identifierToKeyCodeMap={};for(var bB in bz.keyCodeToIdentifierMap){bz.identifierToKeyCodeMap[bz.keyCodeToIdentifierMap[bB]]=parseInt(bB,10);};for(var bB in bz.specialCharCodeMap){bz.identifierToKeyCodeMap[bz.specialCharCodeMap[bB]]=parseInt(bB,10);};};}});})();(function(){var a="selectstart",b="blur",c="mousedown",d="focus",e="qx.event.handler.Focus",f="_applyFocus",g="DOMFocusIn",h="deactivate",i="textarea",j="touchend",k="_applyActive",l='character',m="input",n="event.touch",o="",p="qxSelectable",q="tabIndex",r="off",s="touchstart",t="activate",u="focusin",v="mshtml",w="engine.name",x="mouseup",y="DOMFocusOut",z="focusout",A="qxKeepFocus",B="on",C="qxKeepActive",D="draggesture";qx.Class.define(e,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(E){qx.core.Object.call(this);this._manager=E;this._window=E.getWindow();this._document=this._window.document;this._root=this._document.documentElement;this._body=this._document.body;var F=qx.core.Environment.get(n)&&qx.event.handler.MouseEmulation.ON;this.__ip=F?s:c;this.__iq=F?j:x;this._initObserver();},properties:{active:{apply:k,nullable:true},focus:{apply:f,nullable:true}},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{focus:1,blur:1,focusin:1,focusout:1,activate:1,deactivate:1},IGNORE_CAN_HANDLE:true,FOCUSABLE_ELEMENTS:qx.core.Environment.select(w,{"mshtml|gecko":{a:1,body:1,button:1,frame:1,iframe:1,img:1,input:1,object:1,select:1,textarea:1},"opera|webkit":{button:1,input:1,select:1,textarea:1}})},members:{__ir:null,__is:null,__it:null,__iu:null,__iv:null,__iw:null,__ix:null,__iy:null,__iz:null,__iA:null,__ip:o,__iq:o,canHandleEvent:function(H,G){},registerEvent:function(K,J,I){},unregisterEvent:function(N,M,L){},focus:function(O){if((qx.core.Environment.get(w)==v)){window.setTimeout(function(){try{O.focus();var P=qx.bom.Selection.get(O);if(P.length==0){var Q=O.createTextRange();Q.moveStart(l,O.value.length);Q.collapse();Q.select();};}catch(R){};},0);}else {try{O.focus();}catch(S){};};this.setFocus(O);this.setActive(O);},activate:function(T){this.setActive(T);},blur:function(U){try{U.blur();}catch(V){};if(this.getActive()===U){this.resetActive();};if(this.getFocus()===U){this.resetFocus();};},deactivate:function(W){if(this.getActive()===W){this.resetActive();};},tryActivate:function(Y){var X=this.__iO(Y);if(X){this.setActive(X);};},__gY:function(ba,bc,bf,be){var bd=qx.event.Registration;var bb=bd.createEvent(bf,qx.event.type.Focus,[ba,bc,be]);bd.dispatchEvent(ba,bb);},_windowFocused:true,__iB:function(){if(this._windowFocused){this._windowFocused=false;this.__gY(this._window,null,b,false);};},__iC:function(){if(!this._windowFocused){this._windowFocused=true;this.__gY(this._window,null,d,false);};},_initObserver:qx.core.Environment.select(w,{"gecko":function(){this.__ir=qx.lang.Function.listener(this.__iI,this);this.__is=qx.lang.Function.listener(this.__iJ,this);this.__it=qx.lang.Function.listener(this.__iH,this);this.__iu=qx.lang.Function.listener(this.__iG,this);this.__iv=qx.lang.Function.listener(this.__iD,this);qx.bom.Event.addNativeListener(this._document,this.__ip,this.__ir,true);qx.bom.Event.addNativeListener(this._document,this.__iq,this.__is,true);qx.bom.Event.addNativeListener(this._window,d,this.__it,true);qx.bom.Event.addNativeListener(this._window,b,this.__iu,true);qx.bom.Event.addNativeListener(this._window,D,this.__iv,true);},"mshtml":function(){this.__ir=qx.lang.Function.listener(this.__iI,this);this.__is=qx.lang.Function.listener(this.__iJ,this);this.__ix=qx.lang.Function.listener(this.__iE,this);this.__iy=qx.lang.Function.listener(this.__iF,this);this.__iw=qx.lang.Function.listener(this.__iL,this);qx.bom.Event.addNativeListener(this._document,this.__ip,this.__ir);qx.bom.Event.addNativeListener(this._document,this.__iq,this.__is);qx.bom.Event.addNativeListener(this._document,u,this.__ix);qx.bom.Event.addNativeListener(this._document,z,this.__iy);qx.bom.Event.addNativeListener(this._document,a,this.__iw);},"webkit":function(){this.__ir=qx.lang.Function.listener(this.__iI,this);this.__is=qx.lang.Function.listener(this.__iJ,this);this.__iy=qx.lang.Function.listener(this.__iF,this);this.__it=qx.lang.Function.listener(this.__iH,this);this.__iu=qx.lang.Function.listener(this.__iG,this);this.__iw=qx.lang.Function.listener(this.__iL,this);qx.bom.Event.addNativeListener(this._document,this.__ip,this.__ir,true);qx.bom.Event.addNativeListener(this._document,this.__iq,this.__is,true);qx.bom.Event.addNativeListener(this._document,a,this.__iw,false);qx.bom.Event.addNativeListener(this._window,y,this.__iy,true);qx.bom.Event.addNativeListener(this._window,d,this.__it,true);qx.bom.Event.addNativeListener(this._window,b,this.__iu,true);},"opera":function(){this.__ir=qx.lang.Function.listener(this.__iI,this);this.__is=qx.lang.Function.listener(this.__iJ,this);this.__ix=qx.lang.Function.listener(this.__iE,this);this.__iy=qx.lang.Function.listener(this.__iF,this);qx.bom.Event.addNativeListener(this._document,this.__ip,this.__ir,true);qx.bom.Event.addNativeListener(this._document,this.__iq,this.__is,true);qx.bom.Event.addNativeListener(this._window,g,this.__ix,true);qx.bom.Event.addNativeListener(this._window,y,this.__iy,true);}}),_stopObserver:qx.core.Environment.select(w,{"gecko":function(){qx.bom.Event.removeNativeListener(this._document,this.__ip,this.__ir,true);qx.bom.Event.removeNativeListener(this._document,this.__iq,this.__is,true);qx.bom.Event.removeNativeListener(this._window,d,this.__it,true);qx.bom.Event.removeNativeListener(this._window,b,this.__iu,true);qx.bom.Event.removeNativeListener(this._window,D,this.__iv,true);},"mshtml":function(){qx.bom.Event.removeNativeListener(this._document,this.__ip,this.__ir);qx.bom.Event.removeNativeListener(this._document,this.__iq,this.__is);qx.bom.Event.removeNativeListener(this._document,u,this.__ix);qx.bom.Event.removeNativeListener(this._document,z,this.__iy);qx.bom.Event.removeNativeListener(this._document,a,this.__iw);},"webkit":function(){qx.bom.Event.removeNativeListener(this._document,this.__ip,this.__ir,true);qx.bom.Event.removeNativeListener(this._document,this.__iq,this.__is,true);qx.bom.Event.removeNativeListener(this._document,a,this.__iw,false);qx.bom.Event.removeNativeListener(this._window,y,this.__iy,true);qx.bom.Event.removeNativeListener(this._window,d,this.__it,true);qx.bom.Event.removeNativeListener(this._window,b,this.__iu,true);},"opera":function(){qx.bom.Event.removeNativeListener(this._document,this.__ip,this.__ir,true);qx.bom.Event.removeNativeListener(this._document,this.__iq,this.__is,true);qx.bom.Event.removeNativeListener(this._window,g,this.__ix,true);qx.bom.Event.removeNativeListener(this._window,y,this.__iy,true);}}),__iD:qx.event.GlobalError.observeMethod(qx.core.Environment.select(w,{"gecko":function(bg){var bh=qx.bom.Event.getTarget(bg);if(!this.__iP(bh)){qx.bom.Event.preventDefault(bg);};},"default":null})),__iE:qx.event.GlobalError.observeMethod(qx.core.Environment.select(w,{"mshtml":function(bj){this.__iC();var bk=qx.bom.Event.getTarget(bj);var bi=this.__iN(bk);if(bi){this.setFocus(bi);};this.tryActivate(bk);},"opera":function(bl){var bm=qx.bom.Event.getTarget(bl);if(bm==this._document||bm==this._window){this.__iC();if(this.__iz){this.setFocus(this.__iz);delete this.__iz;};if(this.__iA){this.setActive(this.__iA);delete this.__iA;};}else {this.setFocus(bm);this.tryActivate(bm);if(!this.__iP(bm)){bm.selectionStart=0;bm.selectionEnd=0;};};},"default":null})),__iF:qx.event.GlobalError.observeMethod(qx.core.Environment.select(w,{"mshtml":function(bn){var bo=qx.bom.Event.getRelatedTarget(bn);if(bo==null){this.__iB();this.resetFocus();this.resetActive();};},"webkit":function(bp){var bq=qx.bom.Event.getTarget(bp);if(bq===this.getFocus()){this.resetFocus();};if(bq===this.getActive()){this.resetActive();};},"opera":function(br){var bs=qx.bom.Event.getTarget(br);if(bs==this._document){this.__iB();this.__iz=this.getFocus();this.__iA=this.getActive();this.resetFocus();this.resetActive();}else {if(bs===this.getFocus()){this.resetFocus();};if(bs===this.getActive()){this.resetActive();};};},"default":null})),__iG:qx.event.GlobalError.observeMethod(qx.core.Environment.select(w,{"gecko":function(bt){var bu=qx.bom.Event.getTarget(bt);if(bu===this._window||bu===this._document){this.__iB();this.resetActive();this.resetFocus();};},"webkit":function(bv){var bw=qx.bom.Event.getTarget(bv);if(bw===this._window||bw===this._document){this.__iB();this.__iz=this.getFocus();this.__iA=this.getActive();this.resetActive();this.resetFocus();};},"default":null})),__iH:qx.event.GlobalError.observeMethod(qx.core.Environment.select(w,{"gecko":function(bx){var by=qx.bom.Event.getTarget(bx);if(by===this._window||by===this._document){this.__iC();by=this._body;};this.setFocus(by);this.tryActivate(by);},"webkit":function(bz){var bA=qx.bom.Event.getTarget(bz);if(bA===this._window||bA===this._document){this.__iC();if(this.__iz){this.setFocus(this.__iz);delete this.__iz;};if(this.__iA){this.setActive(this.__iA);delete this.__iA;};}else {this.setFocus(bA);this.tryActivate(bA);};},"default":null})),__iI:qx.event.GlobalError.observeMethod(qx.core.Environment.select(w,{"mshtml":function(bC){var bD=qx.bom.Event.getTarget(bC);var bB=this.__iN(bD);if(bB){if(!this.__iP(bD)){bD.unselectable=B;try{document.selection.empty();}catch(bE){};try{bB.focus();}catch(bF){};};}else {qx.bom.Event.preventDefault(bC);if(!this.__iP(bD)){bD.unselectable=B;};};},"webkit|gecko":function(bH){var bI=qx.bom.Event.getTarget(bH);var bG=this.__iN(bI);if(bG){this.setFocus(bG);if(qx.core.Environment.get(n)&&qx.event.handler.MouseEmulation.ON){try{if(document.activeElement==bG){bG.blur();};bG.focus();}catch(bJ){};};}else {qx.bom.Event.preventDefault(bH);};},"opera":function(bM){var bN=qx.bom.Event.getTarget(bM);var bK=this.__iN(bN);if(!this.__iP(bN)){qx.bom.Event.preventDefault(bM);if(bK){var bL=this.getFocus();if(bL&&bL.selectionEnd){bL.selectionStart=0;bL.selectionEnd=0;bL.blur();};if(bK){this.setFocus(bK);};};}else if(bK){this.setFocus(bK);};},"default":null})),__iJ:qx.event.GlobalError.observeMethod(qx.core.Environment.select(w,{"mshtml":function(bO){var bP=qx.bom.Event.getTarget(bO);if(bP.unselectable){bP.unselectable=r;};this.tryActivate(this.__iK(bP));},"gecko":function(bQ){var bR=qx.bom.Event.getTarget(bQ);while(bR&&bR.offsetWidth===undefined){bR=bR.parentNode;};if(bR){this.tryActivate(bR);};},"webkit|opera":function(bS){var bT=qx.bom.Event.getTarget(bS);this.tryActivate(this.__iK(bT));},"default":null})),__iK:qx.event.GlobalError.observeMethod(qx.core.Environment.select(w,{"mshtml|webkit":function(bU){var bV=this.getFocus();if(bV&&bU!=bV&&(bV.nodeName.toLowerCase()===m||bV.nodeName.toLowerCase()===i)){bU=bV;};return bU;},"default":function(bW){return bW;}})),__iL:qx.event.GlobalError.observeMethod(qx.core.Environment.select(w,{"mshtml|webkit":function(bX){var bY=qx.bom.Event.getTarget(bX);if(!this.__iP(bY)){qx.bom.Event.preventDefault(bX);};},"default":null})),__iM:function(ca){var cb=qx.bom.element.Attribute.get(ca,q);if(cb>=1){return true;};var cc=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;if(cb>=0&&cc[ca.tagName]){return true;};return false;},__iN:function(cd){while(cd&&cd.nodeType===1){if(cd.getAttribute(A)==B){return null;};if(this.__iM(cd)){return cd;};cd=cd.parentNode;};return this._body;},__iO:function(ce){var cf=ce;while(ce&&ce.nodeType===1){if(ce.getAttribute(C)==B){return null;};ce=ce.parentNode;};return cf;},__iP:function(cg){while(cg&&cg.nodeType===1){var ch=cg.getAttribute(p);if(ch!=null){return ch===B;};cg=cg.parentNode;};return true;},_applyActive:function(cj,ci){if(ci){this.__gY(ci,cj,h,true);};if(cj){this.__gY(cj,ci,t,true);};},_applyFocus:function(cl,ck){if(ck){this.__gY(ck,cl,z,true);};if(cl){this.__gY(cl,ck,u,true);};if(ck){this.__gY(ck,cl,b,false);};if(cl){this.__gY(cl,ck,d,false);};}},destruct:function(){this._stopObserver();this._manager=this._window=this._document=this._root=this._body=this.__iQ=null;},defer:function(cn){qx.event.Registration.addHandler(cn);var co=cn.FOCUSABLE_ELEMENTS;for(var cm in co){co[cm.toUpperCase()]=1;};}});})();(function(){var a="engine.name",b="qx.bom.Selection",c="character",d="button",e='character',f="#text",g="webkit",h="input",i="gecko",j="EndToEnd",k="opera",l="StartToStart",m="html.selection",n="textarea",o="body";qx.Class.define(b,{statics:{getSelectionObject:qx.core.Environment.select(m,{"selection":function(p){return p.selection;},"default":function(q){return qx.dom.Node.getWindow(q).getSelection();}}),get:qx.core.Environment.select(m,{"selection":function(r){var s=qx.bom.Range.get(qx.dom.Node.getDocument(r));return s.text;},"default":function(t){if(this.__iR(t)){return t.value.substring(t.selectionStart,t.selectionEnd);}else {return this.getSelectionObject(qx.dom.Node.getDocument(t)).toString();};}}),getLength:qx.core.Environment.select(m,{"selection":function(u){var w=this.get(u);var v=qx.util.StringSplit.split(w,/\r\n/);return w.length-(v.length-1);},"default":function(x){if(qx.core.Environment.get(a)==k){var B,C,A;if(this.__iR(x)){var z=x.selectionStart;var y=x.selectionEnd;B=x.value.substring(z,y);C=y-z;}else {B=qx.bom.Selection.get(x);C=B.length;};A=qx.util.StringSplit.split(B,/\r\n/);return C-(A.length-1);};if(this.__iR(x)){return x.selectionEnd-x.selectionStart;}else {return this.get(x).length;};}}),getStart:qx.core.Environment.select(m,{"selection":function(D){if(this.__iR(D)){var I=qx.bom.Range.get();if(!D.contains(I.parentElement())){return -1;};var J=qx.bom.Range.get(D);var H=D.value.length;J.moveToBookmark(I.getBookmark());J.moveEnd(e,H);return H-J.text.length;}else {var J=qx.bom.Range.get(D);var F=J.parentElement();var K=qx.bom.Range.get();try{K.moveToElementText(F);}catch(M){return 0;};var E=qx.bom.Range.get(qx.dom.Node.getBodyElement(D));E.setEndPoint(l,J);E.setEndPoint(j,K);if(K.compareEndPoints(l,E)==0){return 0;};var G;var L=0;while(true){G=E.moveStart(c,-1);if(K.compareEndPoints(l,E)==0){break;};if(G==0){break;}else {L++ ;};};return ++L;};},"default":function(N){if(qx.core.Environment.get(a)===i||qx.core.Environment.get(a)===g){if(this.__iR(N)){return N.selectionStart;}else {var P=qx.dom.Node.getDocument(N);var O=this.getSelectionObject(P);if(O.anchorOffsetbc.anchorOffset){return bc.focusOffset;}else {return bc.anchorOffset;};};};if(this.__iR(bb)){return bb.selectionEnd;}else {return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bb)).focusOffset;};}}),__iR:function(be){return qx.dom.Node.isElement(be)&&(be.nodeName.toLowerCase()==h||be.nodeName.toLowerCase()==n);},set:qx.core.Environment.select(m,{"selection":function(bf,bi,bh){var bg;if(qx.dom.Node.isDocument(bf)){bf=bf.body;};if(qx.dom.Node.isElement(bf)||qx.dom.Node.isText(bf)){switch(bf.nodeName.toLowerCase()){case h:case n:case d:if(bh===undefined){bh=bf.value.length;};if(bi>=0&&bi<=bf.value.length&&bh>=0&&bh<=bf.value.length){bg=qx.bom.Range.get(bf);bg.collapse(true);bg.moveStart(c,bi);bg.moveEnd(c,bh-bi);bg.select();return true;};break;case f:if(bh===undefined){bh=bf.nodeValue.length;};if(bi>=0&&bi<=bf.nodeValue.length&&bh>=0&&bh<=bf.nodeValue.length){bg=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bg.moveToElementText(bf.parentNode);bg.collapse(true);bg.moveStart(c,bi);bg.moveEnd(c,bh-bi);bg.select();return true;};break;default:if(bh===undefined){bh=bf.childNodes.length-1;};if(bf.childNodes[bi]&&bf.childNodes[bh]){bg=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bg.moveToElementText(bf.childNodes[bi]);bg.collapse(true);var bj=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bj.moveToElementText(bf.childNodes[bh]);bg.setEndPoint(j,bj);bg.select();return true;};};};return false;},"default":function(bk,bp,bm){var bn=bk.nodeName.toLowerCase();if(qx.dom.Node.isElement(bk)&&(bn==h||bn==n)){if(bm===undefined){bm=bk.value.length;};if(bp>=0&&bp<=bk.value.length&&bm>=0&&bm<=bk.value.length){bk.focus();bk.select();bk.setSelectionRange(bp,bm);return true;};}else {var bq=false;var bl=qx.dom.Node.getWindow(bk).getSelection();var bo=qx.bom.Range.get(bk);if(qx.dom.Node.isText(bk)){if(bm===undefined){bm=bk.length;};if(bp>=0&&bp=0&&bm<=bk.length){bq=true;};}else if(qx.dom.Node.isElement(bk)){if(bm===undefined){bm=bk.childNodes.length-1;};if(bp>=0&&bk.childNodes[bp]&&bm>=0&&bk.childNodes[bm]){bq=true;};}else if(qx.dom.Node.isDocument(bk)){bk=bk.body;if(bm===undefined){bm=bk.childNodes.length-1;};if(bp>=0&&bk.childNodes[bp]&&bm>=0&&bk.childNodes[bm]){bq=true;};};if(bq){if(!bl.isCollapsed){bl.collapseToStart();};bo.setStart(bk,bp);if(qx.dom.Node.isText(bk)){bo.setEnd(bk,bm);}else {bo.setEndAfter(bk.childNodes[bm]);};if(bl.rangeCount>0){bl.removeAllRanges();};bl.addRange(bo);return true;};};return false;}}),setAll:function(br){return qx.bom.Selection.set(br,0);},clear:qx.core.Environment.select(m,{"selection":function(bs){var bt=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bs));var bu=qx.bom.Range.get(bs);var parent=bu.parentElement();var bv=qx.bom.Range.get(qx.dom.Node.getDocument(bs));if(parent==bv.parentElement()&&parent==bs){bt.empty();};},"default":function(bw){var bB=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bw));var bx=bw.nodeName.toLowerCase();if(qx.dom.Node.isElement(bw)&&(bx==h||bx==n)){bw.setSelectionRange(0,0);qx.bom.Element.blur(bw);}else if(qx.dom.Node.isDocument(bw)||bx==o){bB.collapse(bw.body?bw.body:bw,0);}else {var by=qx.bom.Range.get(bw);if(!by.collapsed){var bz;var bA=by.commonAncestorContainer;if(qx.dom.Node.isElement(bw)&&qx.dom.Node.isText(bA)){bz=bA.parentNode;}else {bz=bA;};if(bz==bw){bB.collapse(bw,0);};};};}})}});})();(function(){var a="qx.bom.Range",b="text",c="password",d="file",e="submit",f="reset",g="textarea",h="input",i="hidden",j="html.selection",k="button",l="body";qx.Class.define(a,{statics:{get:qx.core.Environment.select(j,{"selection":function(m){if(qx.dom.Node.isElement(m)){switch(m.nodeName.toLowerCase()){case h:switch(m.type){case b:case c:case i:case k:case f:case d:case e:return m.createTextRange();break;default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};break;case g:case l:case k:return m.createTextRange();break;default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};}else {if(m==null){m=window;};return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};},"default":function(n){var o=qx.dom.Node.getDocument(n);var p=qx.bom.Selection.getSelectionObject(o);if(p.rangeCount>0){return p.getRangeAt(0);}else {return o.createRange();};}})}});})();(function(){var a="m",b="g",c="^",d="",e="qx.util.StringSplit",f="i",g="$(?!\\s)",h="[object RegExp]",j="y";qx.Class.define(e,{statics:{split:function(k,p,o){if(Object.prototype.toString.call(p)!==h){return String.prototype.split.call(k,p,o);};var r=[],l=0,m=(p.ignoreCase?f:d)+(p.multiline?a:d)+(p.sticky?j:d),p=RegExp(p.source,m+b),n,t,q,u,s=/()??/.exec(d)[1]===undefined;k=k+d;if(!s){n=RegExp(c+p.source+g,m);};if(o===undefined||+o<0){o=Infinity;}else {o=Math.floor(+o);if(!o){return [];};};while(t=p.exec(k)){q=t.index+t[0].length;if(q>l){r.push(k.slice(l,t.index));if(!s&&t.length>1){t[0].replace(n,function(){for(var i=1;i1&&t.index=o){break;};};if(p.lastIndex===t.index){p.lastIndex++ ;};};if(l===k.length){if(u||!p.test(d)){r.push(d);};}else {r.push(k.slice(l));};return r.length>o?r.slice(0,o):r;}}});})();(function(){var a="text",b="blur",c="engine.version",d="keydown",f="radio",g="textarea",h="password",j="propertychange",k="select-multiple",m="change",n="input",p="value",q="select",r="browser.documentmode",s="browser.version",t="opera",u="keyup",v="mshtml",w="engine.name",x="keypress",y="checkbox",z="qx.event.handler.Input",A="checked";qx.Class.define(z,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(){qx.core.Object.call(this);this._onChangeCheckedWrapper=qx.lang.Function.listener(this._onChangeChecked,this);this._onChangeValueWrapper=qx.lang.Function.listener(this._onChangeValue,this);this._onInputWrapper=qx.lang.Function.listener(this._onInput,this);this._onPropertyWrapper=qx.lang.Function.listener(this._onProperty,this);if((qx.core.Environment.get(w)==t)){this._onKeyDownWrapper=qx.lang.Function.listener(this._onKeyDown,this);this._onKeyUpWrapper=qx.lang.Function.listener(this._onKeyUp,this);this._onBlurWrapper=qx.lang.Function.listener(this._onBlur,this);};},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{input:1,change:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:false},members:{__iS:false,__iT:null,__iU:null,__iV:null,canHandleEvent:function(D,C){var B=D.tagName.toLowerCase();if(C===n&&(B===n||B===g)){return true;};if(C===m&&(B===n||B===g||B===q)){return true;};return false;},registerEvent:function(I,H,F){if(qx.core.Environment.get(w)==v&&(qx.core.Environment.get(c)<9||(qx.core.Environment.get(c)>=9&&qx.core.Environment.get(r)<9))){if(!I.__iW){var G=I.tagName.toLowerCase();var E=I.type;if(E===a||E===h||G===g||E===y||E===f){qx.bom.Event.addNativeListener(I,j,this._onPropertyWrapper);};if(E!==y&&E!==f){qx.bom.Event.addNativeListener(I,m,this._onChangeValueWrapper);};if(E===a||E===h){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,I);qx.bom.Event.addNativeListener(I,x,this._onKeyPressWrapped);};I.__iW=true;};}else {if(H===n){this.__iX(I);}else if(H===m){if(I.type===f||I.type===y){qx.bom.Event.addNativeListener(I,m,this._onChangeCheckedWrapper);}else {qx.bom.Event.addNativeListener(I,m,this._onChangeValueWrapper);};if((qx.core.Environment.get(w)==t)||(qx.core.Environment.get(w)==v)){if(I.type===a||I.type===h){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,I);qx.bom.Event.addNativeListener(I,x,this._onKeyPressWrapped);};};};};},__iX:qx.core.Environment.select(w,{"mshtml":function(J){if(qx.core.Environment.get(c)>=9&&qx.core.Environment.get(r)>=9){qx.bom.Event.addNativeListener(J,n,this._onInputWrapper);if(J.type===a||J.type===h||J.type===g){this._inputFixWrapper=qx.lang.Function.listener(this._inputFix,this,J);qx.bom.Event.addNativeListener(J,u,this._inputFixWrapper);};};},"webkit":function(L){var K=L.tagName.toLowerCase();if(parseFloat(qx.core.Environment.get(c))<532&&K==g){qx.bom.Event.addNativeListener(L,x,this._onInputWrapper);};qx.bom.Event.addNativeListener(L,n,this._onInputWrapper);},"opera":function(M){qx.bom.Event.addNativeListener(M,u,this._onKeyUpWrapper);qx.bom.Event.addNativeListener(M,d,this._onKeyDownWrapper);qx.bom.Event.addNativeListener(M,b,this._onBlurWrapper);qx.bom.Event.addNativeListener(M,n,this._onInputWrapper);},"default":function(N){qx.bom.Event.addNativeListener(N,n,this._onInputWrapper);}}),unregisterEvent:function(R,Q){if(qx.core.Environment.get(w)==v&&qx.core.Environment.get(c)<9&&qx.core.Environment.get(r)<9){if(R.__iW){var P=R.tagName.toLowerCase();var O=R.type;if(O===a||O===h||P===g||O===y||O===f){qx.bom.Event.removeNativeListener(R,j,this._onPropertyWrapper);};if(O!==y&&O!==f){qx.bom.Event.removeNativeListener(R,m,this._onChangeValueWrapper);};if(O===a||O===h){qx.bom.Event.removeNativeListener(R,x,this._onKeyPressWrapped);};try{delete R.__iW;}catch(S){R.__iW=null;};};}else {if(Q===n){this.__iY(R);}else if(Q===m){if(R.type===f||R.type===y){qx.bom.Event.removeNativeListener(R,m,this._onChangeCheckedWrapper);}else {qx.bom.Event.removeNativeListener(R,m,this._onChangeValueWrapper);};};if((qx.core.Environment.get(w)==t)||(qx.core.Environment.get(w)==v)){if(R.type===a||R.type===h){qx.bom.Event.removeNativeListener(R,x,this._onKeyPressWrapped);};};};},__iY:qx.core.Environment.select(w,{"mshtml":function(T){if(qx.core.Environment.get(c)>=9&&qx.core.Environment.get(r)>=9){qx.bom.Event.removeNativeListener(T,n,this._onInputWrapper);if(T.type===a||T.type===h||T.type===g){qx.bom.Event.removeNativeListener(T,u,this._inputFixWrapper);};};},"webkit":function(V){var U=V.tagName.toLowerCase();if(parseFloat(qx.core.Environment.get(c))<532&&U==g){qx.bom.Event.removeNativeListener(V,x,this._onInputWrapper);};qx.bom.Event.removeNativeListener(V,n,this._onInputWrapper);},"opera":function(W){qx.bom.Event.removeNativeListener(W,u,this._onKeyUpWrapper);qx.bom.Event.removeNativeListener(W,d,this._onKeyDownWrapper);qx.bom.Event.removeNativeListener(W,b,this._onBlurWrapper);qx.bom.Event.removeNativeListener(W,n,this._onInputWrapper);},"default":function(X){qx.bom.Event.removeNativeListener(X,n,this._onInputWrapper);}}),_onKeyPress:qx.core.Environment.select(w,{"mshtml|opera":function(e,Y){if(e.keyCode===13){if(Y.value!==this.__iU){this.__iU=Y.value;qx.event.Registration.fireEvent(Y,m,qx.event.type.Data,[Y.value]);};};},"default":null}),_inputFix:qx.core.Environment.select(w,{"mshtml":function(e,ba){if(e.keyCode===46||e.keyCode===8){if(ba.value!==this.__iV){this.__iV=ba.value;qx.event.Registration.fireEvent(ba,n,qx.event.type.Data,[ba.value]);};};},"default":null}),_onKeyDown:qx.core.Environment.select(w,{"opera":function(e){if(e.keyCode===13){this.__iS=true;};},"default":null}),_onKeyUp:qx.core.Environment.select(w,{"opera":function(e){if(e.keyCode===13){this.__iS=false;};},"default":null}),_onBlur:qx.core.Environment.select(w,{"opera":function(e){if(this.__iT&&qx.core.Environment.get(s)<10.6){window.clearTimeout(this.__iT);};},"default":null}),_onInput:qx.event.GlobalError.observeMethod(function(e){var bc=qx.bom.Event.getTarget(e);var bb=bc.tagName.toLowerCase();if(!this.__iS||bb!==n){if((qx.core.Environment.get(w)==t)&&qx.core.Environment.get(s)<10.6){this.__iT=window.setTimeout(function(){qx.event.Registration.fireEvent(bc,n,qx.event.type.Data,[bc.value]);},0);}else {qx.event.Registration.fireEvent(bc,n,qx.event.type.Data,[bc.value]);};};}),_onChangeValue:qx.event.GlobalError.observeMethod(function(e){var bd=qx.bom.Event.getTarget(e);var be=bd.value;if(bd.type===k){var be=[];for(var i=0,o=bd.options,l=o.length;i3||Math.abs(e.getDocumentTop()-this.__ji)>3){if(this.__gY(u,this.__jb,this.__ja,true,e)){this.__jg=true;this.__gi.addListener(this.__a,w,this._onMouseOver,this,true);this.__gi.addListener(this.__a,d,this._onMouseOut,this,true);this.__gi.addListener(this.__a,h,this._onKeyDown,this,true);this.__gi.addListener(this.__a,z,this._onKeyUp,this,true);this.__gi.addListener(this.__a,B,this._onKeyPress,this,true);var bq=this.__jd;bq.Control=e.isCtrlPressed();bq.Shift=e.isShiftPressed();bq.Alt=e.isAltPressed();this.__jk();}else {this.__gY(D,this.__jb,this.__ja,false);this.__jo();};};};},_onMouseOver:function(e){var bt=e.getTarget();var br=qx.ui.core.DragDropCursor.getInstance();var bs=br.getContentElement().getDomElement();if(bt===bs){return;};var bu=this.__jn(bt);if(bu&&bu!=this.__ja){this.__jp=this.__gY(E,bu,this.__jb,true,e);this.__ja=bu;this.__jk();};},_onMouseOut:function(e){var bv=qx.ui.core.DragDropCursor.getInstance();var bw=bv.getContentElement().getDomElement();if(e.getTarget()===bw){return;};if(e.getRelatedTarget()===bw){return;};var by=this.__jn(e.getTarget());var bx=this.__jn(e.getRelatedTarget());if(by&&by!==bx&&by==this.__ja){this.__gY(C,this.__ja,bx,false,e);this.__ja=null;this.__jp=false;qx.event.Timer.once(this.__jk,this,0);};},__gX:function(){var bz=qx.event.Registration.getManager(window).getHandler(qx.event.handler.Mouse);bz.preventNextClick();}},destruct:function(){this.__jb=this.__ja=this.__gi=this.__a=this.__cY=this.__jc=this.__jd=this.__d=null;},defer:function(bA){if(!qx.event.handler.MouseEmulation.ON){qx.event.Registration.addHandler(bA);};}});})();(function(){var a="qx.event.type.Drag";qx.Class.define(a,{extend:qx.event.type.Event,members:{init:function(b,c){qx.event.type.Event.prototype.init.call(this,true,b);if(c){this._native=c.getNativeEvent()||null;this._originalTarget=c.getTarget()||null;}else {this._native=null;this._originalTarget=null;};return this;},clone:function(d){var e=qx.event.type.Event.prototype.clone.call(this,d);e._native=this._native;return e;},getDocumentLeft:function(){if(this._native==null){return 0;};if(this._native.pageX!==undefined){return this._native.pageX;}else {var f=qx.dom.Node.getWindow(this._native.srcElement);return this._native.clientX+qx.bom.Viewport.getScrollLeft(f);};},getDocumentTop:function(){if(this._native==null){return 0;};if(this._native.pageY!==undefined){return this._native.pageY;}else {var g=qx.dom.Node.getWindow(this._native.srcElement);return this._native.clientY+qx.bom.Viewport.getScrollTop(g);};},getManager:function(){return qx.event.Registration.getManager(this.getTarget()).getHandler(qx.event.handler.DragDrop);},addType:function(h){this.getManager().addType(h);},addAction:function(i){this.getManager().addAction(i);},supportsType:function(j){return this.getManager().supportsType(j);},supportsAction:function(k){return this.getManager().supportsAction(k);},addData:function(l,m){this.getManager().addData(l,m);},getData:function(n){return this.getManager().getData(n);},getCurrentType:function(){return this.getManager().getCurrentType();},getCurrentAction:function(){return this.getManager().getCurrentAction();},stopSession:function(){this.getManager().clearSession();}}});})();(function(){var a="best-fit",b="placementRight",c="Boolean",d="bottom-right",e="' ",f="widget",g="placementLeft",h="qx.ui.core.MPlacement",i="left-top",j="Integer",k="left-middle",l="right-middle",m="top-center",n="[qx.ui.core.MPlacement.setMoveDirection()], the value was '",o="offsetRight",p="mouse",q="interval",r="keep-align",s="bottom-left",t="direct",u="shorthand",v="Invalid value for the parameter 'direction' ",w="offsetLeft",x="top-left",y="appear",z="offsetBottom",A="top",B="top-right",C="offsetTop",D="but 'top' or 'left' are allowed.",E="right-bottom",F="disappear",G="right-top",H="bottom-center",I="left-bottom",J="left";qx.Mixin.define(h,{statics:{__gu:null,__jq:J,setVisibleElement:function(K){this.__gu=K;},getVisibleElement:function(){return this.__gu;},setMoveDirection:function(L){if(L===A||L===J){this.__jq=L;}else {throw new Error(v+n+L+e+D);};},getMoveDirection:function(){return this.__jq;}},properties:{position:{check:[x,m,B,s,H,d,i,k,I,G,l,E],init:s,themeable:true},placeMethod:{check:[f,p],init:p,themeable:true},domMove:{check:c,init:false},placementModeX:{check:[t,r,a],init:r,themeable:true},placementModeY:{check:[t,r,a],init:r,themeable:true},offsetLeft:{check:j,init:0,themeable:true},offsetTop:{check:j,init:0,themeable:true},offsetRight:{check:j,init:0,themeable:true},offsetBottom:{check:j,init:0,themeable:true},offset:{group:[C,o,z,w],mode:u,themeable:true}},members:{__jr:null,__js:null,__jt:null,getLayoutLocation:function(N){var P,O,R,top;O=N.getBounds();if(!O){return null;};R=O.left;top=O.top;var Q=O;N=N.getLayoutParent();while(N&&!N.isRootWidget()){O=N.getBounds();R+=O.left;top+=O.top;P=N.getInsets();R+=P.left;top+=P.top;N=N.getLayoutParent();};if(N.isRootWidget()){var M=N.getContentLocation();if(M){R+=M.left;top+=M.top;};};return {left:R,top:top,right:R+Q.width,bottom:top+Q.height};},moveTo:function(Y,top){var X=qx.ui.core.MPlacement.getVisibleElement();if(X){var W=this.getBounds();var V=X.getContentLocation();if(W&&V){var U=top+W.height;var T=Y+W.width;if((T>V.left&&YV.top&&top=0&&r+s<=q;}}});})();(function(){var a="qx.util.placement.DirectAxis";qx.Bootstrap.define(a,{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(d,e,f,b,c){return this._moveToEdgeAndAlign(d,e,f,c);}}});})();(function(){var a="qx.util.placement.KeepAlignAxis",b="edge-start",c="edge-end";qx.Bootstrap.define(a,{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,_isInRange:qx.util.placement.AbstractAxis._isInRange,computeStart:function(k,f,g,d,j){var i=this._moveToEdgeAndAlign(k,f,g,j);var e,h;if(this._isInRange(i,k,d)){return i;};if(j==b||j==c){e=f.start-g.end;h=f.end+g.start;}else {e=f.end-g.end;h=f.start+g.start;};if(e>d-h){i=e-k;}else {i=h;};return i;}}});})();(function(){var a="qx.util.placement.BestFitAxis";qx.Bootstrap.define(a,{statics:{_isInRange:qx.util.placement.AbstractAxis._isInRange,_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(g,c,d,b,f){var e=this._moveToEdgeAndAlign(g,c,d,f);if(this._isInRange(e,g,b)){return e;};if(e<0){e=Math.min(0,b-g);};if(e+g>b){e=Math.max(0,b-g);};return e;}}});})();(function(){var a="backgroundColor",b="drag",c="_applyNativeContextMenu",d="__jL",f="div",g="_applyBackgroundColor",h="qx.event.type.Data",j="_applyFocusable",k=" requires a layout, but no one was defined!",m="qx.event.type.KeyInput",n="focused",o="disabled",p="move",q="createChildControl",r="Unsupported control: ",s="dragstart",t="Font",u="qx.dynlocale",v="dragchange",w="_applyEnabled",x="_applySelectable",y="Number",z="_applyKeepActive",A="dragend",B="_applyVisibility",C="Child control '",D="qxDraggable",E="syncAppearance",F="paddingLeft",G="' of widget ",H="qx.event.type.Mouse",I="__jK",J="_applyPadding",K="#",L="At least one child in control ",M="visible",N="qx.event.type.Event",O="qx.event.type.MouseWheel",P="_applyCursor",Q="changeVisibility",R="_applyDraggable",S="resize",T="Decorator",U="Remove Error: ",V="zIndex",W="changeTextColor",X="$$widget",Y="changeContextMenu",cA="on",cB="paddingTop",cC="opacity",cw="This widget has no children!",cx="changeSelectable",cy="none",cz="outline",cH="hidden",cI="_applyAppearance",cJ="hovered",cK="_applyOpacity",cD="Boolean",cE="px",cF="qx.ui.core.Widget",cG="default",cO="TabIndex property must be between 1 and 32000",dr="_applyFont",dS="cursor",cP="qxDroppable",cL="' already created!",cM="changeZIndex",dO=": ",cN="Color",cQ="changeEnabled",cR="__jG",cS="Abstract method call: _getContentHeightForWidth()!",cX="changeFont",cY="qx.event.type.Focus",da="_applyDecorator",cT="_applyZIndex",cU="_applyTextColor",cV="Widget is not focusable!",cW="qx.ui.menu.Menu",de="engine.name",df="qx.event.type.Drag",dg="qx.event.type.KeySequence",dh="excluded",db="DOM element is not yet created!",dc="_applyToolTipText",dP="Exception while creating child control '",dd="_applyDroppable",dl=" is not a child of this widget!",dm="widget",dR="changeDecorator",dn="qx.event.type.Tap",di="Integer",dj="__jN",dQ="_applyTabIndex",dk="changeAppearance",dp="shorthand",dq="/",dC="String",dB="border-box",dA="",dG="_applyContextMenu",dF="changeToolTipText",dE="padding",dD="tabIndex",dv="paddingBottom",du="beforeContextmenuOpen",dt="changeNativeContextMenu",ds="undefined",dz="qx.ui.tooltip.ToolTip",dy="contextmenu",dx="_applyKeepFocus",dw="paddingRight",dK="changeBackgroundColor",dJ="changeLocale",dI="qxKeepFocus",dH="opera",dN="qx.event.type.Touch",dM="qxKeepActive",dL="absolute";qx.Class.define(cF,{extend:qx.ui.core.LayoutItem,include:[qx.locale.MTranslation],construct:function(){qx.ui.core.LayoutItem.call(this);this.__jG=this.__jM();this.initFocusable();this.initSelectable();this.initNativeContextMenu();},events:{appear:N,disappear:N,createChildControl:h,resize:h,move:h,syncAppearance:h,mousemove:H,mouseover:H,mouseout:H,mousedown:H,mouseup:H,click:H,dblclick:H,contextmenu:H,beforeContextmenuOpen:h,mousewheel:O,touchstart:dN,touchend:dN,touchmove:dN,touchcancel:dN,tap:dn,longtap:dn,swipe:dN,keyup:dg,keydown:dg,keypress:dg,keyinput:m,focus:cY,blur:cY,focusin:cY,focusout:cY,activate:cY,deactivate:cY,capture:N,losecapture:N,drop:df,dragleave:df,dragover:df,drag:df,dragstart:df,dragend:df,dragchange:df,droprequest:df},properties:{paddingTop:{check:di,init:0,apply:J,themeable:true},paddingRight:{check:di,init:0,apply:J,themeable:true},paddingBottom:{check:di,init:0,apply:J,themeable:true},paddingLeft:{check:di,init:0,apply:J,themeable:true},padding:{group:[cB,dw,dv,F],mode:dp,themeable:true},zIndex:{nullable:true,init:10,apply:cT,event:cM,check:di,themeable:true},decorator:{nullable:true,init:null,apply:da,event:dR,check:T,themeable:true},backgroundColor:{nullable:true,check:cN,apply:g,event:dK,themeable:true},textColor:{nullable:true,check:cN,apply:cU,event:W,themeable:true,inheritable:true},font:{nullable:true,apply:dr,check:t,event:cX,themeable:true,inheritable:true,dereference:true},opacity:{check:y,apply:cK,themeable:true,nullable:true,init:null},cursor:{check:dC,apply:P,themeable:true,inheritable:true,nullable:true,init:null},toolTip:{check:dz,nullable:true},toolTipText:{check:dC,nullable:true,event:dF,apply:dc},toolTipIcon:{check:dC,nullable:true,event:dF},blockToolTip:{check:cD,init:false},visibility:{check:[M,cH,dh],init:M,apply:B,event:Q},enabled:{init:true,check:cD,inheritable:true,apply:w,event:cQ},anonymous:{init:false,check:cD},tabIndex:{check:di,nullable:true,apply:dQ},focusable:{check:cD,init:false,apply:j},keepFocus:{check:cD,init:false,apply:dx},keepActive:{check:cD,init:false,apply:z},draggable:{check:cD,init:false,apply:R},droppable:{check:cD,init:false,apply:dd},selectable:{check:cD,init:false,event:cx,apply:x},contextMenu:{check:cW,apply:dG,nullable:true,event:Y},nativeContextMenu:{check:cD,init:false,themeable:true,event:dt,apply:c},appearance:{check:dC,init:dm,apply:cI,event:dk}},statics:{DEBUG:false,getWidgetByElement:function(dW,dU){while(dW){var dT=dW.$$widget;if(dT!=null){var dV=qx.core.ObjectRegistry.fromHashCode(dT);if(!dU||!dV.getAnonymous()){return dV;};};try{dW=dW.parentNode;}catch(e){return null;};};return null;},contains:function(parent,dX){while(dX){if(parent==dX){return true;};dX=dX.getLayoutParent();};return false;},__jH:new qx.util.ObjectPool()},members:{__jG:null,__jI:null,__jJ:null,__jK:null,_getLayout:function(){return this.__jK;},_setLayout:function(dY){{};if(this.__jK){this.__jK.connectToWidget(null);};if(dY){dY.connectToWidget(this);};this.__jK=dY;qx.ui.core.queue.Layout.add(this);},setLayoutParent:function(parent){if(this.$$parent===parent){return;};var content=this.getContentElement();if(this.$$parent&&!this.$$parent.$$disposed){this.$$parent.getContentElement().remove(content);};this.$$parent=parent||null;if(parent&&!parent.$$disposed){this.$$parent.getContentElement().add(content);};this.$$refreshInheritables();qx.ui.core.queue.Visibility.add(this);},_updateInsets:null,renderLayout:function(eg,top,ed,eb){var eh=qx.ui.core.LayoutItem.prototype.renderLayout.call(this,eg,top,ed,eb);if(!eh){return null;};if(qx.lang.Object.isEmpty(eh)&&!this._updateInsets){return null;};var content=this.getContentElement();var ek=eh.size||this._updateInsets;var ei=cE;var ea={};if(eh.position){ea.left=eg+ei;ea.top=top+ei;};if(ek||eh.margin){ea.width=ed+ei;ea.height=eb+ei;};if(Object.keys(ea).length>0){content.setStyles(ea);};if(ek||eh.local||eh.margin){if(this.__jK&&this.hasLayoutChildren()){var ef=this.getInsets();var innerWidth=ed-ef.left-ef.right;var innerHeight=eb-ef.top-ef.bottom;var ej=this.getDecorator();var ee={left:0,right:0,top:0,bottom:0};if(ej){ej=qx.theme.manager.Decoration.getInstance().resolve(ej);ee=ej.getPadding();};var ec={top:this.getPaddingTop()+ee.top,right:this.getPaddingRight()+ee.right,bottom:this.getPaddingBottom()+ee.bottom,left:this.getPaddingLeft()+ee.left};this.__jK.renderLayout(innerWidth,innerHeight,ec);}else if(this.hasLayoutChildren()){throw new Error(L+this._findTopControl()+k);};};if(eh.position&&this.hasListener(p)){this.fireDataEvent(p,this.getBounds());};if(eh.size&&this.hasListener(S)){this.fireDataEvent(S,this.getBounds());};delete this._updateInsets;return eh;},__jL:null,clearSeparators:function(){var en=this.__jL;if(!en){return;};var eo=qx.ui.core.Widget.__jH;var content=this.getContentElement();var em;for(var i=0,l=en.length;iev&&ev!=null){eu=ev;};};};if(ew==null){ew=eC;if(eB.minHeight!=null){ew+=eB.minHeight;if(ew>ex&&ex!=null){ew=ex;};};};if(ev==null){if(eB.maxWidth==null){ev=Infinity;}else {ev=eB.maxWidth+eD;if(ev0;};return false;},__jM:function(){var fc=this._createContentElement();fc.setAttribute(X,this.toHashCode());{};var fb={"zIndex":10,"boxSizing":dB};if(!qx.ui.root.Inline||!(this instanceof qx.ui.root.Inline)){fb.position=dL;};fc.setStyles(fb);return fc;},_createContentElement:function(){return new qx.html.Element(f,{overflowX:cH,overflowY:cH});},getContainerElement:function(){{};return this.__jG;},getContentElement:function(){return this.__jG;},__jN:null,getLayoutChildren:function(){var fe=this.__jN;if(!fe){return this.__jO;};var ff;for(var i=0,l=fe.length;i=0;i-- ){this.__jQ(fE[i]);};qx.ui.core.queue.Layout.add(this);return fE;},_afterAddChild:null,_afterRemoveChild:null,__jP:function(fG,fF){{};var parent=fG.getLayoutParent();if(parent&&parent!=this){parent._remove(fG);};fG.setLayoutParent(this);if(fF){fG.setLayoutProperties(fF);}else {this.updateLayoutProperties();};if(this._afterAddChild){this._afterAddChild(fG);};},__jQ:function(fH){{};if(fH.getLayoutParent()!==this){throw new Error(U+fH+dl);};fH.setLayoutParent(null);if(this.__jK){this.__jK.invalidateChildrenCache();};qx.ui.core.queue.Layout.add(this);if(this._afterRemoveChild){this._afterRemoveChild(fH);};},capture:function(fI){this.getContentElement().capture(fI);},releaseCapture:function(){this.getContentElement().releaseCapture();},_applyPadding:function(fK,fJ,name){this._updateInsets=true;qx.ui.core.queue.Layout.add(this);this.__jR(name,fK);},__jR:function(fL,fO){var content=this.getContentElement();var fM=this.getDecorator();fM=qx.theme.manager.Decoration.getInstance().resolve(fM);if(fM){var fN=qx.Bootstrap.firstLow(fL.replace(dE,dA));fO+=fM.getPadding()[fN]||0;};content.setStyle(fL,fO+cE);},_applyDecorator:function(fQ,fP){var content=this.getContentElement();if(fP){fP=qx.theme.manager.Decoration.getInstance().getCssClassName(fP);content.removeClass(fP);};if(fQ){fQ=qx.theme.manager.Decoration.getInstance().addCssClass(fQ);content.addClass(fQ);};},_applyToolTipText:function(fT,fS){if(qx.core.Environment.get(u)){if(this.__jJ){return;};var fR=qx.locale.Manager.getInstance();this.__jJ=fR.addListener(dJ,function(){var fU=this.getToolTipText();if(fU&&fU.translate){this.setToolTipText(fU.translate());};},this);};},_applyTextColor:function(fW,fV){},_applyZIndex:function(fY,fX){this.getContentElement().setStyle(V,fY==null?0:fY);},_applyVisibility:function(gb,ga){var content=this.getContentElement();if(gb===M){content.show();}else {content.hide();};var parent=this.$$parent;if(parent&&(ga==null||gb==null||ga===dh||gb===dh)){parent.invalidateLayoutChildren();};qx.ui.core.queue.Visibility.add(this);},_applyOpacity:function(gd,gc){this.getContentElement().setStyle(cC,gd==1?null:gd);},_applyCursor:function(gf,ge){if(gf==null&&!this.isSelectable()){gf=cG;};this.getContentElement().setStyle(dS,gf,qx.core.Environment.get(de)==dH);},_applyBackgroundColor:function(gj,gi){var gh=this.getBackgroundColor();var content=this.getContentElement();var gg=qx.theme.manager.Color.getInstance().resolve(gh);content.setStyle(a,gg);},_applyFont:function(gl,gk){},_onChangeTheme:function(){qx.ui.core.LayoutItem.prototype._onChangeTheme.call(this);this.updateAppearance();var gm=this.getDecorator();this._applyDecorator(null,gm);this._applyDecorator(gm);gm=this.getFont();if(qx.lang.Type.isString(gm)){this._applyFont(gm,gm);};gm=this.getTextColor();if(qx.lang.Type.isString(gm)){this._applyTextColor(gm,gm);};gm=this.getBackgroundColor();if(qx.lang.Type.isString(gm)){this._applyBackgroundColor(gm,gm);};},__jS:null,$$stateChanges:null,_forwardStates:null,hasState:function(go){var gn=this.__jS;return !!gn&&!!gn[go];},addState:function(gs){var gr=this.__jS;if(!gr){gr=this.__jS={};};if(gr[gs]){return;};this.__jS[gs]=true;if(gs===cJ){this.syncAppearance();}else if(!qx.ui.core.queue.Visibility.isVisible(this)){this.$$stateChanges=true;}else {qx.ui.core.queue.Appearance.add(this);};var forward=this._forwardStates;var gq=this.__jV;if(forward&&forward[gs]&&gq){var gp;for(var gt in gq){gp=gq[gt];if(gp instanceof qx.ui.core.Widget){gq[gt].addState(gs);};};};},removeState:function(gx){var gw=this.__jS;if(!gw||!gw[gx]){return;};delete this.__jS[gx];if(gx===cJ){this.syncAppearance();}else if(!qx.ui.core.queue.Visibility.isVisible(this)){this.$$stateChanges=true;}else {qx.ui.core.queue.Appearance.add(this);};var forward=this._forwardStates;var gv=this.__jV;if(forward&&forward[gx]&&gv){for(var gy in gv){var gu=gv[gy];if(gu instanceof qx.ui.core.Widget){gu.removeState(gx);};};};},replaceState:function(gA,gD){var gC=this.__jS;if(!gC){gC=this.__jS={};};if(!gC[gD]){gC[gD]=true;};if(gC[gA]){delete gC[gA];};if(!qx.ui.core.queue.Visibility.isVisible(this)){this.$$stateChanges=true;}else {qx.ui.core.queue.Appearance.add(this);};var forward=this._forwardStates;var gB=this.__jV;if(forward&&forward[gD]&&gB){for(var gE in gB){var gz=gB[gE];if(gz instanceof qx.ui.core.Widget){gz.replaceState(gA,gD);};};};},__jT:null,__jU:null,syncAppearance:function(){var gJ=this.__jS;var gI=this.__jT;var gK=qx.theme.manager.Appearance.getInstance();var gG=qx.core.Property.$$method.setThemed;var gO=qx.core.Property.$$method.resetThemed;if(this.__jU){delete this.__jU;if(gI){var gF=gK.styleFrom(gI,gJ,null,this.getAppearance());gI=null;};};if(!gI){var gH=this;var gL=[];do {gL.push(gH.$$subcontrol||gH.getAppearance());}while(gH=gH.$$subparent);gI=gL.reverse().join(dq).replace(/#[0-9]+/g,dA);this.__jT=gI;};var gN=gK.styleFrom(gI,gJ,null,this.getAppearance());if(gN){if(gF){for(var gM in gF){if(gN[gM]===undefined){this[gO[gM]]();};};};{var gM;};for(var gM in gN){gN[gM]===undefined?this[gO[gM]]():this[gG[gM]](gN[gM]);};}else if(gF){for(var gM in gF){this[gO[gM]]();};};this.fireDataEvent(E,this.__jS);},_applyAppearance:function(gQ,gP){this.updateAppearance();},checkAppearanceNeeds:function(){if(!this.__jI){qx.ui.core.queue.Appearance.add(this);this.__jI=true;}else if(this.$$stateChanges){qx.ui.core.queue.Appearance.add(this);delete this.$$stateChanges;};},updateAppearance:function(){this.__jU=true;qx.ui.core.queue.Appearance.add(this);var gT=this.__jV;if(gT){var gR;for(var gS in gT){gR=gT[gS];if(gR instanceof qx.ui.core.Widget){gR.updateAppearance();};};};},syncWidget:function(gU){},getEventTarget:function(){var gV=this;while(gV.getAnonymous()){gV=gV.getLayoutParent();if(!gV){return null;};};return gV;},getFocusTarget:function(){var gW=this;if(!gW.getEnabled()){return null;};while(gW.getAnonymous()||!gW.getFocusable()){gW=gW.getLayoutParent();if(!gW||!gW.getEnabled()){return null;};};return gW;},getFocusElement:function(){return this.getContentElement();},isTabable:function(){return (!!this.getContentElement().getDomElement())&&this.isFocusable();},_applyFocusable:function(ha,gX){var gY=this.getFocusElement();if(ha){var hb=this.getTabIndex();if(hb==null){hb=1;};gY.setAttribute(dD,hb);gY.setStyle(cz,cy);}else {if(gY.isNativelyFocusable()){gY.setAttribute(dD,-1);}else if(gX){gY.setAttribute(dD,null);};};},_applyKeepFocus:function(hd){var hc=this.getFocusElement();hc.setAttribute(dI,hd?cA:null);},_applyKeepActive:function(hf){var he=this.getContentElement();he.setAttribute(dM,hf?cA:null);},_applyTabIndex:function(hg){if(hg==null){hg=1;}else if(hg<1||hg>32000){throw new Error(cO);};if(this.getFocusable()&&hg!=null){this.getFocusElement().setAttribute(dD,hg);};},_applySelectable:function(hi,hh){if(hh!==null){this._applyCursor(this.getCursor());};this.getContentElement().setSelectable(hi);},_applyEnabled:function(hk,hj){if(hk===false){this.addState(o);this.removeState(cJ);if(this.isFocusable()){this.removeState(n);this._applyFocusable(false,true);};if(this.isDraggable()){this._applyDraggable(false,true);};if(this.isDroppable()){this._applyDroppable(false,true);};}else {this.removeState(o);if(this.isFocusable()){this._applyFocusable(true,false);};if(this.isDraggable()){this._applyDraggable(true,false);};if(this.isDroppable()){this._applyDroppable(true,false);};};},_applyNativeContextMenu:function(hm,hl,name){},_applyContextMenu:function(ho,hn){if(hn){hn.removeState(dy);if(hn.getOpener()==this){hn.resetOpener();};if(!ho){this.removeListener(dy,this._onContextMenuOpen);hn.removeListener(Q,this._onBeforeContextMenuOpen,this);};};if(ho){ho.setOpener(this);ho.addState(dy);if(!hn){this.addListener(dy,this._onContextMenuOpen);ho.addListener(Q,this._onBeforeContextMenuOpen,this);};};},_onContextMenuOpen:function(e){this.getContextMenu().openAtMouse(e);e.stop();},_onBeforeContextMenuOpen:function(e){if(e.getData()==M&&this.hasListener(du)){this.fireDataEvent(du,e);};},_onStopEvent:function(e){e.stopPropagation();},_getDragDropCursor:function(){return qx.ui.core.DragDropCursor.getInstance();},_applyDraggable:function(hq,hp){if(qx.event.handler.MouseEmulation.ON){return;};if(!this.isEnabled()&&hq===true){hq=false;};this._getDragDropCursor();if(hq){this.addListener(s,this._onDragStart);this.addListener(b,this._onDrag);this.addListener(A,this._onDragEnd);this.addListener(v,this._onDragChange);}else {this.removeListener(s,this._onDragStart);this.removeListener(b,this._onDrag);this.removeListener(A,this._onDragEnd);this.removeListener(v,this._onDragChange);};this.getContentElement().setAttribute(D,hq?cA:null);},_applyDroppable:function(hs,hr){if(!this.isEnabled()&&hs===true){hs=false;};this.getContentElement().setAttribute(cP,hs?cA:null);},_onDragStart:function(e){this._getDragDropCursor().placeToMouse(e);this.getApplicationRoot().setGlobalCursor(cG);},_onDrag:function(e){this._getDragDropCursor().placeToMouse(e);},_onDragEnd:function(e){this._getDragDropCursor().moveTo(-1000,-1000);this.getApplicationRoot().resetGlobalCursor();},_onDragChange:function(e){var ht=this._getDragDropCursor();var hu=e.getCurrentAction();hu?ht.setAction(hu):ht.resetAction();},visualizeFocus:function(){this.addState(n);},visualizeBlur:function(){this.removeState(n);},scrollChildIntoView:function(hz,hy,hx,hw){hw=typeof hw==ds?true:hw;var hv=qx.ui.core.queue.Layout;var parent;if(hw){hw=!hv.isScheduled(hz);parent=hz.getLayoutParent();if(hw&&parent){hw=!hv.isScheduled(parent);if(hw){parent.getChildren().forEach(function(hA){hw=hw&&!hv.isScheduled(hA);});};};};this.scrollChildIntoViewX(hz,hy,hw);this.scrollChildIntoViewY(hz,hx,hw);},scrollChildIntoViewX:function(hD,hB,hC){this.getContentElement().scrollChildIntoViewX(hD.getContentElement(),hB,hC);},scrollChildIntoViewY:function(hG,hE,hF){this.getContentElement().scrollChildIntoViewY(hG.getContentElement(),hE,hF);},focus:function(){if(this.isFocusable()){this.getFocusElement().focus();}else {throw new Error(cV);};},blur:function(){if(this.isFocusable()){this.getFocusElement().blur();}else {throw new Error(cV);};},activate:function(){this.getContentElement().activate();},deactivate:function(){this.getContentElement().deactivate();},tabFocus:function(){this.getFocusElement().focus();},hasChildControl:function(hH){if(!this.__jV){return false;};return !!this.__jV[hH];},__jV:null,_getCreatedChildControls:function(){return this.__jV;},getChildControl:function(hK,hJ){if(!this.__jV){if(hJ){return null;};this.__jV={};};var hI=this.__jV[hK];if(hI){return hI;};if(hJ===true){return null;};return this._createChildControl(hK);},_showChildControl:function(hM){var hL=this.getChildControl(hM);hL.show();return hL;},_excludeChildControl:function(hO){var hN=this.getChildControl(hO,true);if(hN){hN.exclude();};},_isChildControlVisible:function(hQ){var hP=this.getChildControl(hQ,true);if(hP){return hP.isVisible();};return false;},_releaseChildControl:function(hU){var hR=this.getChildControl(hU,false);if(!hR){throw new Error(r+hU);};delete hR.$$subcontrol;delete hR.$$subparent;var hS=this.__jS;var forward=this._forwardStates;if(hS&&forward&&hR instanceof qx.ui.core.Widget){for(var hT in hS){if(forward[hT]){hR.removeState(hT);};};};delete this.__jV[hU];return hR;},_createChildControl:function(ia){if(!this.__jV){this.__jV={};}else if(this.__jV[ia]){throw new Error(C+ia+cL);};var hW=ia.indexOf(K);try{if(hW==-1){var hV=this._createChildControlImpl(ia);}else {var hV=this._createChildControlImpl(ia.substring(0,hW),ia.substring(hW+1,ia.length));};}catch(ib){ib.message=dP+ia+G+this.toString()+dO+ib.message;throw ib;};if(!hV){throw new Error(r+ia);};hV.$$subcontrol=ia;hV.$$subparent=this;var hX=this.__jS;var forward=this._forwardStates;if(hX&&forward&&hV instanceof qx.ui.core.Widget){for(var hY in hX){if(forward[hY]){hV.addState(hY);};};};this.fireDataEvent(q,hV);return this.__jV[ia]=hV;},_createChildControlImpl:function(ie,ic){return null;},_disposeChildControls:function(){var ij=this.__jV;if(!ij){return;};var ih=qx.ui.core.Widget;for(var ii in ij){var ig=ij[ii];if(!ih.contains(this,ig)){ig.destroy();}else {ig.dispose();};};delete this.__jV;},_findTopControl:function(){var ik=this;while(ik){if(!ik.$$subparent){return ik;};ik=ik.$$subparent;};return null;},getContainerLocation:function(il){{};return this.getContentLocation(il);},getContentLocation:function(io){var im=this.getContentElement().getDomElement();return im?qx.bom.element.Location.get(im,io):null;},setDomLeft:function(iq){var ip=this.getContentElement().getDomElement();if(ip){ip.style.left=iq+cE;}else {throw new Error(db);};},setDomTop:function(is){var ir=this.getContentElement().getDomElement();if(ir){ir.style.top=is+cE;}else {throw new Error(db);};},setDomPosition:function(iu,top){var it=this.getContentElement().getDomElement();if(it){it.style.left=iu+cE;it.style.top=top+cE;}else {throw new Error(db);};},destroy:function(){if(this.$$disposed){return;};var parent=this.$$parent;if(parent){parent._remove(this);};qx.ui.core.queue.Dispose.add(this);},clone:function(){var iv=qx.ui.core.LayoutItem.prototype.clone.call(this);if(this.getChildren){var iw=this.getChildren();for(var i=0,l=iw.length;i=0;i-- ){var n=o[i].$$hash;if(p[n]!=null){o[i].addChildrenToQueue(o);};};var l={};for(var i=o.length-1;i>=0;i-- ){var n=o[i].$$hash;l[n]=p[n];p[n]=null;};for(var i=o.length-1;i>=0;i-- ){var m=o[i];var n=m.$$hash;o.splice(i,1);if(p[n]==null){this.__jY(m);};if(p[n]&&p[n]!=l[n]){m.checkAppearanceNeeds();};};this.__ed=[];}}});})();(function(){var a="useraction",b=" due to exceptions in user code. The application has to be reloaded!",c="event.touch",d="qx.ui.core.queue.Manager",f=" times in a row",g="Fatal Error: Flush terminated ";qx.Class.define(d,{statics:{__ka:false,__fW:false,__kb:{},__kc:0,MAX_RETRIES:10,scheduleFlush:function(h){var self=qx.ui.core.queue.Manager;self.__kb[h]=true;if(!self.__ka){self.__fW=false;qx.bom.AnimationFrame.request(function(){if(self.__fW){self.__fW=false;return;};self.flush();},self);self.__ka=true;};},flush:function(){var self=qx.ui.core.queue.Manager;if(self.__kd){return;};self.__kd=true;self.__fW=true;var i=self.__kb;self.__ke(function(){while(i.visibility||i.widget||i.appearance||i.layout||i.element){if(i.widget){delete i.widget;{qx.ui.core.queue.Widget.flush();};};if(i.visibility){delete i.visibility;{qx.ui.core.queue.Visibility.flush();};};if(i.appearance){delete i.appearance;{qx.ui.core.queue.Appearance.flush();};};if(i.widget||i.visibility||i.appearance){continue;};if(i.layout){delete i.layout;{qx.ui.core.queue.Layout.flush();};};if(i.widget||i.visibility||i.appearance||i.layout){continue;};if(i.element){delete i.element;qx.html.Element.flush();};};},function(){self.__ka=false;});self.__ke(function(){if(i.dispose){delete i.dispose;{qx.ui.core.queue.Dispose.flush();};};},function(){self.__kd=false;});self.__kc=0;},__ke:function(j,k){var self=qx.ui.core.queue.Manager;try{j();}catch(e){{};self.__ka=false;self.__kd=false;self.__kc+=1;if(self.__kc<=self.MAX_RETRIES){self.scheduleFlush();}else {throw new Error(g+(self.__kc-1)+f+b);};throw e;}finally{k();};},__kf:function(e){qx.ui.core.queue.Manager.flush();}},defer:function(l){qx.html.Element._scheduleFlush=l.scheduleFlush;qx.event.Registration.addListener(window,a,qx.core.Environment.get(c)?l.__kf:l.flush);}});})();(function(){var a="qx.ui.core.queue.Widget",b="widget",c="$$default";qx.Class.define(a,{statics:{__ed:[],__kb:{},remove:function(e,g){var d=this.__ed;if(!qx.lang.Array.contains(d,e)){return;};var f=e.$$hash;if(g==null){qx.lang.Array.remove(d,e);delete this.__kb[f];return;};if(this.__kb[f]){delete this.__kb[f][g];if(qx.lang.Object.getLength(this.__kb[f])==0){qx.lang.Array.remove(d,e);};};},add:function(j,l){var h=this.__ed;if(!qx.lang.Array.contains(h,j)){h.unshift(j);};if(l==null){l=c;};var k=j.$$hash;if(!this.__kb[k]){this.__kb[k]={};};this.__kb[k][l]=true;qx.ui.core.queue.Manager.scheduleFlush(b);},flush:function(){var m=this.__ed;var n,o;for(var i=m.length-1;i>=0;i-- ){n=m[i];o=this.__kb[n.$$hash];m.splice(i,1);n.syncWidget(o);};if(m.length!=0){return;};this.__ed=[];this.__kb={};}}});})();(function(){var a="appearance",b="qx.ui.core.queue.Appearance";qx.Class.define(b,{statics:{__ed:[],remove:function(c){qx.lang.Array.remove(this.__ed,c);},add:function(e){var d=this.__ed;if(qx.lang.Array.contains(d,e)){return;};d.unshift(e);qx.ui.core.queue.Manager.scheduleFlush(a);},has:function(f){return qx.lang.Array.contains(this.__ed,f);},flush:function(){var j=qx.ui.core.queue.Visibility;var g=this.__ed;var h;for(var i=g.length-1;i>=0;i-- ){h=g[i];g.splice(i,1);if(j.isVisible(h)){h.syncAppearance();}else {h.$$stateChanges=true;};};}}});})();(function(){var a="dispose",b="qx.ui.core.queue.Dispose";qx.Class.define(b,{statics:{__ed:[],add:function(d){var c=this.__ed;if(qx.lang.Array.contains(c,d)){return;};c.unshift(d);qx.ui.core.queue.Manager.scheduleFlush(a);},isEmpty:function(){return this.__ed.length==0;},flush:function(){var e=this.__ed;for(var i=e.length-1;i>=0;i-- ){var f=e[i];e.splice(i,1);f.dispose();};if(e.length!=0){return;};this.__ed=[];}}});})();(function(){var a='indexOf',b='slice',c='concat',d='toLocaleLowerCase',e="qx.type.BaseString",f="",g='trim',h='match',j='toLocaleUpperCase',k='search',m='replace',n='toLowerCase',o='charCodeAt',p='split',q='substring',r='lastIndexOf',s='substr',t='toUpperCase',u='charAt';qx.Class.define(e,{extend:Object,construct:function(v){var v=v||f;this.__kg=v;this.length=v.length;},members:{$$isString:true,length:0,__kg:null,toString:function(){return this.__kg;},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:function(){return qx.core.ObjectRegistry.toHashCode(this);},toLocaleLowerCase:null,toLocaleUpperCase:null,base:function(x,w){return qx.core.Object.prototype.base.apply(this,arguments);}},defer:function(y,z){{};var A=[u,o,c,a,r,h,m,k,b,p,s,q,n,t,d,j,g];z.valueOf=z.toString;if(new y(f).valueOf()==null){delete z.valueOf;};for(var i=0,l=A.length;i0){var bg=[];for(var i=0;i0){J=K[i];for(var j=0,F=B.length;j0){F=D[i].getSizeHint();G[i]={min:F.minWidth,value:Q[i],max:F.maxWidth,flex:K};};};var B=P.computeFlexOffsets(G,N,E);for(i in B){y=B[i].offset;Q[i]+=y;E+=y;};};var V=D[0].getMarginLeft();if(E0){if(R){V+=C+L;this._renderSeparator(R,{left:V+M.left,top:M.top,width:U,height:H});V+=U+L+O.getMarginLeft();}else {V+=P.collapseMargins(L,C,O.getMarginLeft());};};O.renderLayout(V+M.left,top+M.top,J,z);V+=J;C=O.getMarginRight();};},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__lv();};var bl=qx.ui.layout.Util;var X=this.__gE;var bd=0,be=0,W=0;var bb=0,bc=0;var bi,Y,bk;for(var i=0,l=X.length;ibc){bc=Y.height+bk;};if((Y.minHeight+bk)>bb){bb=Y.minHeight+bk;};};bd+=W;var bg=this.getSpacing();var bj=this.getSeparator();if(bj){var bf=bl.computeHorizontalSeparatorGaps(X,bg,bj);}else {var bf=bl.computeHorizontalGaps(X,bg,true);};return {minWidth:bd+bf,width:be+bf,minHeight:bb,height:bc};}},destruct:function(){this.__ls=this.__lt=this.__gE=null;}});})();(function(){var a="middle",b="qx.ui.layout.Util",c="left",d="center",e="top",f="bottom",g="right";qx.Class.define(b,{statics:{PERCENT_VALUE:/[0-9]+(?:\.[0-9]+)?%/,computeFlexOffsets:function(j,n,h){var r,q,s,k;var m=n>h;var t=Math.abs(n-h);var u,o;var p={};for(q in j){r=j[q];p[q]={potential:m?r.max-r.value:r.value-r.min,flex:m?r.flex:1/r.flex,offset:0};};while(t!=0){k=Infinity;s=0;for(q in p){r=p[q];if(r.potential>0){s+=r.flex;k=Math.min(k,r.potential/r.flex);};};if(s==0){break;};k=Math.min(t,k*s)/s;u=0;for(q in p){r=p[q];if(r.potential>0){o=Math.min(t,r.potential,Math.ceil(k*r.flex));u+=o-k*r.flex;if(u>=1){u-=1;o-=1;};r.potential-=o;if(m){r.offset+=o;}else {r.offset-=o;};t-=o;};};};return p;},computeHorizontalAlignOffset:function(w,v,y,z,A){if(z==null){z=0;};if(A==null){A=0;};var x=0;switch(w){case c:x=z;break;case g:x=y-v-A;break;case d:x=Math.round((y-v)/2);if(x0){I=Math.max(I,J);};};return I+H;},computeHorizontalGaps:function(O,M,L){if(M==null){M=0;};var N=0;if(L){N+=O[0].getMarginLeft();for(var i=1,l=O.length;ibk||bo>bp){if(bn>bk&&bo>bp){bn=bk;bo=bp;}else if(bn>bk){bo+=(bn-bk);bn=bk;if(bo>bp){bo=bp;};}else if(bo>bp){bn+=(bo-bp);bo=bp;if(bn>bk){bn=bk;};};};return {begin:bn,end:bo};}}});})();(function(){var a="Boolean",b="changeGap",c="changeShow",d="bottom",e="bottom-right",f="_applyCenter",g="changeIcon",h="qx.ui.basic.Atom",i="changeLabel",j="both",k="Integer",l="_applyIconPosition",m="bottom-left",n="String",o="icon",p="top-left",q="top",r="top-right",s="right",t="_applyRich",u="_applyIcon",v="label",w="_applyShow",x="left",y="_applyLabel",z="_applyGap",A="atom";qx.Class.define(h,{extend:qx.ui.core.Widget,construct:function(B,C){{};qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.Atom());if(B!=null){this.setLabel(B);};if(C!==undefined){this.setIcon(C);};},properties:{appearance:{refine:true,init:A},label:{apply:y,nullable:true,check:n,event:i},rich:{check:a,init:false,apply:t},icon:{check:n,apply:u,nullable:true,themeable:true,event:g},gap:{check:k,nullable:false,event:b,apply:z,themeable:true,init:4},show:{init:j,check:[j,v,o],themeable:true,inheritable:true,apply:w,event:c},iconPosition:{init:x,check:[q,s,d,x,p,m,r,e],themeable:true,apply:l},center:{init:false,check:a,themeable:true,apply:f}},members:{_createChildControlImpl:function(F,E){var D;switch(F){case v:D=new qx.ui.basic.Label(this.getLabel());D.setAnonymous(true);D.setRich(this.getRich());this._add(D);if(this.getLabel()==null||this.getShow()===o){D.exclude();};break;case o:D=new qx.ui.basic.Image(this.getIcon());D.setAnonymous(true);this._addAt(D,0);if(this.getIcon()==null||this.getShow()===v){D.exclude();};break;};return D||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,F);},_forwardStates:{focused:true,hovered:true},_handleLabel:function(){if(this.getLabel()==null||this.getShow()===o){this._excludeChildControl(v);}else {this._showChildControl(v);};},_handleIcon:function(){if(this.getIcon()==null||this.getShow()===v){this._excludeChildControl(o);}else {this._showChildControl(o);};},_applyLabel:function(H,G){var I=this.getChildControl(v,true);if(I){I.setValue(H);};this._handleLabel();},_applyRich:function(K,J){var L=this.getChildControl(v,true);if(L){L.setRich(K);};},_applyIcon:function(N,M){var O=this.getChildControl(o,true);if(O){O.setSource(N);};this._handleIcon();},_applyGap:function(Q,P){this._getLayout().setGap(Q);},_applyShow:function(S,R){this._handleLabel();this._handleIcon();},_applyIconPosition:function(U,T){this._getLayout().setIconPosition(U);},_applyCenter:function(W,V){this._getLayout().setCenter(W);},_applySelectable:function(Y,X){qx.ui.core.Widget.prototype._applySelectable.call(this,Y,X);var ba=this.getChildControl(v,true);if(ba){this.getChildControl(v).setSelectable(Y);};}}});})();(function(){var a="middle",b="_applyLayoutChange",c="top-right",d="bottom",e="top-left",f="bottom-left",g="center",h="qx.ui.layout.Atom",j="bottom-right",k="top",l="left",m="right",n="Integer",o="Boolean";qx.Class.define(h,{extend:qx.ui.layout.Abstract,properties:{gap:{check:n,init:4,apply:b},iconPosition:{check:[l,k,m,d,e,f,c,j],init:l,apply:b},center:{check:o,init:false,apply:b}},members:{verifyLayoutProperty:null,renderLayout:function(E,y,D){var N=D.left;var top=D.top;var z=qx.ui.layout.Util;var q=this.getIconPosition();var t=this._getLayoutChildren();var length=t.length;var M,r;var G,x;var C=this.getGap();var J=this.getCenter();var L=[d,m,c,j];if(L.indexOf(q)!=-1){var A=length-1;var v=-1;var s=-1;}else {var A=0;var v=length;var s=1;};if(q==k||q==d){if(J){var F=0;for(var i=A;i!=v;i+=s){r=t[i].getSizeHint().height;if(r>0){F+=r;if(i!=A){F+=C;};};};top+=Math.round((y-F)/2);};var u=top;for(var i=A;i!=v;i+=s){G=t[i];x=G.getSizeHint();M=Math.min(x.maxWidth,Math.max(E,x.minWidth));r=x.height;N=z.computeHorizontalAlignOffset(g,M,E)+D.left;G.renderLayout(N,u,M,r);if(r>0){u=top+r+C;};};}else {var w=E;var p=null;var I=0;for(var i=A;i!=v;i+=s){G=t[i];M=G.getSizeHint().width;if(M>0){if(!p&&G instanceof qx.ui.basic.Label){p=G;}else {w-=M;};I++ ;};};if(I>1){var H=(I-1)*C;w-=H;};if(p){var x=p.getSizeHint();var B=Math.max(x.minWidth,Math.min(w,x.maxWidth));w-=B;};if(J&&w>0){N+=Math.round(w/2);};for(var i=A;i!=v;i+=s){G=t[i];x=G.getSizeHint();r=Math.min(x.maxHeight,Math.max(y,x.minHeight));if(G===p){M=B;}else {M=x.width;};var K=a;if(q==e||q==c){K=k;}else if(q==f||q==j){K=d;};var u=top+z.computeVerticalAlignOffset(K,x.height,y);G.renderLayout(N,u,M,r);if(M>0){N+=M+C;};};};},_computeSizeHint:function(){var Y=this._getLayoutChildren();var length=Y.length;var P,W;if(length===1){var P=Y[0].getSizeHint();W={width:P.width,height:P.height,minWidth:P.minWidth,minHeight:P.minHeight};}else {var U=0,V=0;var R=0,T=0;var S=this.getIconPosition();var Q=this.getGap();if(S===k||S===d){var O=0;for(var i=0;i0){T+=P.height;R+=P.minHeight;O++ ;};};if(O>1){var X=(O-1)*Q;T+=X;R+=X;};}else {var O=0;for(var i=0;i0){V+=P.width;U+=P.minWidth;O++ ;};};if(O>1){var X=(O-1)*Q;V+=X;U+=X;};};W={minWidth:U,width:V,minHeight:R,height:T};};return W;}}});})();(function(){var a="qx.event.type.Data",b="qx.ui.form.IStringForm";qx.Interface.define(b,{events:{"changeValue":a},members:{setValue:function(c){return arguments.length==1;},resetValue:function(){},getValue:function(){}}});})();(function(){var a="os.name",b="_applyTextAlign",c="Boolean",d="qx.ui.core.Widget",f="nowrap",g="changeStatus",h="changeTextAlign",i="_applyWrap",j="changeValue",k="color",l="qx.ui.basic.Label",m="osx",n="css.textoverflow",o="html.xul",p="_applyValue",q="center",r="_applyBuddy",s="enabled",t="String",u="toggleValue",v="whiteSpace",w="textAlign",x="function",y="qx.dynlocale",z="engine.version",A="right",B="gecko",C="justify",D="changeRich",E="normal",F="_applyRich",G="engine.name",H="click",I="label",J="changeLocale",K="left",L="A";qx.Class.define(l,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm],construct:function(M){qx.ui.core.Widget.call(this);if(M!=null){this.setValue(M);};if(qx.core.Environment.get(y)){qx.locale.Manager.getInstance().addListener(J,this._onChangeLocale,this);};},properties:{rich:{check:c,init:false,event:D,apply:F},wrap:{check:c,init:true,apply:i},value:{check:t,apply:p,event:j,nullable:true},buddy:{check:d,apply:r,nullable:true,init:null,dereference:true},textAlign:{check:[K,q,A,C],nullable:true,themeable:true,apply:b,event:h},appearance:{refine:true,init:I},selectable:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{__lw:null,__lx:null,__ly:null,__lz:null,__lA:null,_getContentHint:function(){if(this.__lx){this.__lB=this.__lC();delete this.__lx;};return {width:this.__lB.width,height:this.__lB.height};},_hasHeightForWidth:function(){return this.getRich()&&this.getWrap();},_applySelectable:function(N){if(!qx.core.Environment.get(n)&&qx.core.Environment.get(o)){if(N&&!this.isRich()){{};return;};};qx.ui.core.Widget.prototype._applySelectable.call(this,N);},_getContentHeightForWidth:function(O){if(!this.getRich()&&!this.getWrap()){return null;};return this.__lC(O).height;},_createContentElement:function(){return new qx.html.Label;},_applyTextAlign:function(Q,P){this.getContentElement().setStyle(w,Q);},_applyTextColor:function(S,R){if(S){this.getContentElement().setStyle(k,qx.theme.manager.Color.getInstance().resolve(S));}else {this.getContentElement().removeStyle(k);};},__lB:{width:0,height:0},_applyFont:function(V,U){if(U&&this.__lw&&this.__lA){this.__lw.removeListenerById(this.__lA);this.__lA=null;};var T;if(V){this.__lw=qx.theme.manager.Font.getInstance().resolve(V);if(this.__lw instanceof qx.bom.webfonts.WebFont){this.__lA=this.__lw.addListener(g,this._onWebFontStatusChange,this);};T=this.__lw.getStyles();}else {this.__lw=null;T=qx.bom.Font.getDefaultStyles();};if(this.getTextColor()!=null){delete T[k];};this.getContentElement().setStyles(T);this.__lx=true;qx.ui.core.queue.Layout.add(this);},__lC:function(Y){var X=qx.bom.Label;var bb=this.getFont();var W=bb?this.__lw.getStyles():qx.bom.Font.getDefaultStyles();var content=this.getValue()||L;var ba=this.getRich();if(this.__lA){this.__lD();};return ba?X.getHtmlSize(content,W,Y):X.getTextSize(content,W);},__lD:function(){if(!this.getContentElement()){return;};if(qx.core.Environment.get(a)==m&&qx.core.Environment.get(G)==B&&parseInt(qx.core.Environment.get(z),10)<16&&parseInt(qx.core.Environment.get(z),10)>9){var bc=this.getContentElement().getDomElement();if(bc){bc.innerHTML=bc.innerHTML;};};},_applyBuddy:function(be,bd){if(bd!=null){bd.removeBinding(this.__ly);this.__ly=null;this.removeListenerById(this.__lz);this.__lz=null;};if(be!=null){this.__ly=be.bind(s,this,s);this.__lz=this.addListener(H,function(){if(be.isFocusable()){be.focus.apply(be);};if(u in be&&typeof be.toggleValue===x){be.toggleValue();};},this);};},_applyRich:function(bf){this.getContentElement().setRich(bf);this.__lx=true;qx.ui.core.queue.Layout.add(this);},_applyWrap:function(bi,bg){if(bi&&!this.isRich()){{};};if(this.isRich()){var bh=bi?E:f;this.getContentElement().setStyle(v,bh);};},_onChangeLocale:qx.core.Environment.select(y,{"true":function(e){var content=this.getValue();if(content&&content.translate){this.setValue(content.translate());};},"false":null}),_onWebFontStatusChange:function(bj){if(bj.getData().valid===true){this.__lx=true;qx.ui.core.queue.Layout.add(this);};},_applyValue:function(bl,bk){this.getContentElement().setValue(bl);this.__lx=true;qx.ui.core.queue.Layout.add(this);}},destruct:function(){if(qx.core.Environment.get(y)){qx.locale.Manager.getInstance().removeListener(J,this._onChangeLocale,this);};if(this.__ly!=null){var bm=this.getBuddy();if(bm!=null&&!bm.isDisposed()){bm.removeBinding(this.__ly);};};if(this.__lw&&this.__lA){this.__lw.removeListenerById(this.__lA);};this.__lw=this.__ly=null;}});})();(function(){var a="value",b="qx.html.Label",c="The label mode cannot be modified after initial creation";qx.Class.define(b,{extend:qx.html.Element,members:{__lE:null,_applyProperty:function(name,d){qx.html.Element.prototype._applyProperty.call(this,name,d);if(name==a){var e=this.getDomElement();qx.bom.Label.setValue(e,d);};},_createDomElement:function(){var g=this.__lE;var f=qx.bom.Label.create(this._content,g);return f;},_copyData:function(h){return qx.html.Element.prototype._copyData.call(this,true);},setRich:function(i){var j=this.getDomElement();if(j){throw new Error(c);};i=!!i;if(this.__lE==i){return this;};this.__lE=i;return this;},setValue:function(k){this._setProperty(a,k);return this;},getValue:function(){return this._getProperty(a);}}});})();(function(){var a="text",b="px",c="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",d="crop",e="nowrap",f="gecko",g="end",h="div",i="browser.name",j="100%",k="auto",l="0",m="css.textoverflow",n="html.xul",o="chrome",p="value",q="visible",r="qx.bom.Label",s="safari",t="",u="ellipsis",v="browser.version",w="engine.version",x="normal",y="mshtml",z="engine.name",A="inherit",B="block",C="label",D="-1000px",E="hidden",F="absolute";qx.Bootstrap.define(r,{statics:{__lF:{fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1},__lG:function(){var G=this.__lI(false);document.body.insertBefore(G,document.body.firstChild);return this._textElement=G;},__lH:function(){var H=this.__lI(true);document.body.insertBefore(H,document.body.firstChild);return this._htmlElement=H;},__lI:function(K){var I=qx.dom.Element.create(h);var J=I.style;J.width=J.height=k;J.left=J.top=D;J.visibility=E;J.position=F;J.overflow=q;J.display=B;if(K){J.whiteSpace=x;}else {J.whiteSpace=e;if(!qx.core.Environment.get(m)&&qx.core.Environment.get(n)){var L=document.createElementNS(c,C);var J=L.style;J.padding=l;J.margin=l;J.width=k;for(var M in this.__lF){J[M]=A;};I.appendChild(L);};};return I;},__lJ:function(O){var N={};if(O){N.whiteSpace=x;}else if(!qx.core.Environment.get(m)&&qx.core.Environment.get(n)){N.display=B;}else {N.overflow=E;N.whiteSpace=e;N[qx.core.Environment.get(m)]=u;};return N;},create:function(content,S,R){if(!R){R=window;};var P=R.document.createElement(h);if(S){P.useHtml=true;}else if(!qx.core.Environment.get(m)&&qx.core.Environment.get(n)){var T=R.document.createElementNS(c,C);var Q=T.style;Q.cursor=A;Q.color=A;Q.overflow=E;Q.maxWidth=j;Q.padding=l;Q.margin=l;Q.width=k;for(var U in this.__lF){T.style[U]=A;};T.setAttribute(d,g);P.appendChild(T);}else {qx.bom.element.Style.setStyles(P,this.__lJ(S));};if(content){this.setValue(P,content);};return P;},setValue:function(W,V){V=V||t;if(W.useHtml){W.innerHTML=V;}else if(!qx.core.Environment.get(m)&&qx.core.Environment.get(n)){W.firstChild.setAttribute(p,V);}else {qx.bom.element.Attribute.set(W,a,V);};},getValue:function(X){if(X.useHtml){return X.innerHTML;}else if(!qx.core.Environment.get(m)&&qx.core.Environment.get(n)){return X.firstChild.getAttribute(p)||t;}else {return qx.bom.element.Attribute.get(X,a);};},getHtmlSize:function(content,Y,ba){var bb=this._htmlElement||this.__lH();bb.style.width=ba!=undefined?ba+b:k;bb.innerHTML=content;return this.__lK(bb,Y);},getTextSize:function(bd,bc){var be=this._textElement||this.__lG();if(!qx.core.Environment.get(m)&&qx.core.Environment.get(n)){be.firstChild.setAttribute(p,bd);}else {qx.bom.element.Attribute.set(be,a,bd);};return this.__lK(be,bc);},__lK:function(bj,bf){var bg=this.__lF;if(!bf){bf={};};for(var bi in bg){bj.style[bi]=bf[bi]||t;};var bh=qx.bom.element.Dimension.getSize(bj);if((qx.core.Environment.get(z)==f)){bh.width++ ;};if((qx.core.Environment.get(z)==y)&&parseFloat(qx.core.Environment.get(w))>=9){bh.width++ ;};if(qx.core.Environment.get(i)==o&&parseFloat(qx.core.Environment.get(v))>=22){bh.width++ ;};if(qx.core.Environment.get(i)==s&&parseFloat(qx.core.Environment.get(v))>=6){bh.width++ ;};return bh;}}});})();(function(){var a="qx.ui.form.IForm",b="qx.event.type.Data";qx.Interface.define(a,{events:{"changeEnabled":b,"changeValid":b,"changeInvalidMessage":b,"changeRequired":b},members:{setEnabled:function(c){return arguments.length==1;},getEnabled:function(){},setRequired:function(d){return arguments.length==1;},getRequired:function(){},setValid:function(e){return arguments.length==1;},getValid:function(){},setInvalidMessage:function(f){return arguments.length==1;},getInvalidMessage:function(){},setRequiredInvalidMessage:function(g){return arguments.length==1;},getRequiredInvalidMessage:function(){}}});})();(function(){var a="qx.application.Standalone";qx.Class.define(a,{extend:qx.application.AbstractGui,members:{_createRootWidget:function(){return new qx.ui.root.Application(document);}}});})();(function(){var a="_applyActiveWindow",b="changeModal",c="changeVisibility",d="__gi",f="__lL",g="changeActive",h="qx.ui.window.MDesktop",i="qx.ui.window.Window";qx.Mixin.define(h,{properties:{activeWindow:{check:i,apply:a,init:null,nullable:true}},members:{__lL:null,__gi:null,getWindowManager:function(){if(!this.__gi){this.setWindowManager(new qx.ui.window.Window.DEFAULT_MANAGER_CLASS());};return this.__gi;},supportsMaximize:function(){return true;},setWindowManager:function(j){if(this.__gi){this.__gi.setDesktop(null);};j.setDesktop(this);this.__gi=j;},_onChangeActive:function(e){if(e.getData()){this.setActiveWindow(e.getTarget());}else if(this.getActiveWindow()==e.getTarget()){this.setActiveWindow(null);};},_applyActiveWindow:function(l,k){this.getWindowManager().changeActiveWindow(l,k);this.getWindowManager().updateStack();},_onChangeModal:function(e){this.getWindowManager().updateStack();},_onChangeVisibility:function(){this.getWindowManager().updateStack();},_afterAddChild:function(m){if(qx.Class.isDefined(i)&&m instanceof qx.ui.window.Window){this._addWindow(m);};},_addWindow:function(n){if(!qx.lang.Array.contains(this.getWindows(),n)){this.getWindows().push(n);n.addListener(g,this._onChangeActive,this);n.addListener(b,this._onChangeModal,this);n.addListener(c,this._onChangeVisibility,this);};if(n.getActive()){this.setActiveWindow(n);};this.getWindowManager().updateStack();},_afterRemoveChild:function(o){if(qx.Class.isDefined(i)&&o instanceof qx.ui.window.Window){this._removeWindow(o);};},_removeWindow:function(p){qx.lang.Array.remove(this.getWindows(),p);p.removeListener(g,this._onChangeActive,this);p.removeListener(b,this._onChangeModal,this);p.removeListener(c,this._onChangeVisibility,this);this.getWindowManager().updateStack();},getWindows:function(){if(!this.__lL){this.__lL=[];};return this.__lL;}},destruct:function(){this._disposeArray(f);this._disposeObjects(d);}});})();(function(){var a="qx.ui.window.IWindowManager";qx.Interface.define(a,{members:{setDesktop:function(b){this.assertInterface(b,qx.ui.window.IDesktop);},changeActiveWindow:function(c,d){},updateStack:function(){},bringToFront:function(e){this.assertInstance(e,qx.ui.window.Window);},sendToBack:function(f){this.assertInstance(f,qx.ui.window.Window);}}});})();(function(){var a="qx.ui.window.IDesktop";qx.Interface.define(a,{members:{setWindowManager:function(b){this.assertInterface(b,qx.ui.window.IWindowManager);},getWindows:function(){},supportsMaximize:function(){},blockContent:function(c){this.assertInteger(c);},unblock:function(){},isBlocked:function(){}}});})();(function(){var a="__lM",b="qx.ui.window.Manager";qx.Class.define(b,{extend:qx.core.Object,implement:qx.ui.window.IWindowManager,members:{__lM:null,setDesktop:function(c){this.__lM=c;this.updateStack();},getDesktop:function(){return this.__lM;},changeActiveWindow:function(d,e){if(d){this.bringToFront(d);d.setActive(true);};if(e){e.resetActive();};},_minZIndex:1e5,updateStack:function(){qx.ui.core.queue.Widget.add(this);},syncWidget:function(){this.__lM.forceUnblock();var h=this.__lM.getWindows();var g=this._minZIndex;var m=g+h.length*2;var j=g+h.length*4;var k=null;for(var i=0,l=h.length;ik.getZIndex()){k=f;};};this.__lM.setActiveWindow(k);},bringToFront:function(o){var n=this.__lM.getWindows();var p=qx.lang.Array.remove(n,o);if(p){n.push(o);this.updateStack();};},sendToBack:function(r){var q=this.__lM.getWindows();var s=qx.lang.Array.remove(q,r);if(s){q.unshift(r);this.updateStack();};}},destruct:function(){this._disposeObjects(a);}});})();(function(){var a="indexOf",b="addAfter",c="add",d="addBefore",e="_",f="addAt",g="hasChildren",h="removeAt",i="removeAll",j="getChildren",k="remove",l="qx.ui.core.MRemoteChildrenHandling";qx.Mixin.define(l,{members:{__lN:function(q,m,o,n){var p=this.getChildrenContainer();if(p===this){q=e+q;};return (p[q])(m,o,n);},getChildren:function(){return this.__lN(j);},hasChildren:function(){return this.__lN(g);},add:function(s,r){return this.__lN(c,s,r);},remove:function(t){return this.__lN(k,t);},removeAll:function(){return this.__lN(i);},indexOf:function(u){return this.__lN(a,u);},addAt:function(x,v,w){this.__lN(f,x,v,w);},addBefore:function(y,A,z){this.__lN(d,y,A,z);},addAfter:function(D,B,C){this.__lN(b,D,B,C);},removeAt:function(E){return this.__lN(h,E);}}});})();(function(){var a="qx.ui.core.MRemoteLayoutHandling";qx.Mixin.define(a,{members:{setLayout:function(b){this.getChildrenContainer().setLayout(b);},getLayout:function(){return this.getChildrenContainer().getLayout();}}});})();(function(){var a="__lO",b="mouseup",c="mousedown",d="Boolean",f="losecapture",g="mousewheel",h="qx.ui.core.MMovable",i="The move handle could not be redefined!",j="mousemove",k="move",l="maximized",m="__lP",n="move-frame";qx.Mixin.define(h,{properties:{movable:{check:d,init:true},useMoveFrame:{check:d,init:false}},members:{__lO:null,__lP:null,__lQ:null,__lR:null,__lS:null,__lT:null,__lU:null,__lV:false,__lW:null,__lX:0,_activateMoveHandle:function(o){if(this.__lO){throw new Error(i);};this.__lO=o;o.addListener(c,this._onMoveMouseDown,this);o.addListener(b,this._onMoveMouseUp,this);o.addListener(j,this._onMoveMouseMove,this);o.addListener(f,this.__mc,this);if(qx.event.handler.MouseEmulation.ON){o.addListener(g,function(e){e.stopPropagation();},this);};},__lY:function(){var p=this.__lP;if(!p){p=this.__lP=new qx.ui.core.Widget();p.setAppearance(n);p.exclude();qx.core.Init.getApplication().getRoot().add(p);};return p;},__ma:function(){var location=this.getContentLocation();var r=this.getBounds();var q=this.__lY();q.setUserBounds(location.left,location.top,r.width,r.height);q.show();q.setZIndex(this.getZIndex()+1);},__mb:function(e){var t=this.__lQ;var w=Math.max(t.left,Math.min(t.right,e.getDocumentLeft()));var s=Math.max(t.top,Math.min(t.bottom,e.getDocumentTop()));var u=this.__lR+w;var v=this.__lS+s;return {viewportLeft:parseInt(u,10),viewportTop:parseInt(v,10),parentLeft:parseInt(u-this.__lT,10),parentTop:parseInt(v-this.__lU,10)};},_onMoveMouseDown:function(e){if(!this.getMovable()||this.hasState(l)){return;};var parent=this.getLayoutParent();var x=parent.getContentLocation();var z=parent.getBounds();if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(!parent.isBlocked()){this.__lW=parent.getBlockerColor();this.__lX=parent.getBlockerOpacity();parent.setBlockerColor(null);parent.setBlockerOpacity(1);parent.blockContent(this.getZIndex()-1);this.__lV=true;};};this.__lQ={left:x.left,top:x.top,right:x.left+z.width,bottom:x.top+z.height};var y=this.getContentLocation();this.__lT=x.left;this.__lU=x.top;this.__lR=y.left-e.getDocumentLeft();this.__lS=y.top-e.getDocumentTop();this.addState(k);this.__lO.capture();if(this.getUseMoveFrame()){this.__ma();};e.stop();},_onMoveMouseMove:function(e){if(!this.hasState(k)){return;};var B=this.__mb(e);if(this.getUseMoveFrame()){this.__lY().setDomPosition(B.viewportLeft,B.viewportTop);}else {var A=this.getLayoutParent().getInsets();this.setDomPosition(B.parentLeft-(A.left||0),B.parentTop-(A.top||0));};e.stopPropagation();},_onMoveMouseUp:function(e){if(!this.hasState(k)){return;};this.removeState(k);var parent=this.getLayoutParent();if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(this.__lV){parent.unblock();parent.setBlockerColor(this.__lW);parent.setBlockerOpacity(this.__lX);this.__lW=null;this.__lX=0;this.__lV=false;};};this.__lO.releaseCapture();var D=this.__mb(e);var C=this.getLayoutParent().getInsets();this.setLayoutProperties({left:D.parentLeft-(C.left||0),top:D.parentTop-(C.top||0)});if(this.getUseMoveFrame()){this.__lY().exclude();};e.stopPropagation();},__mc:function(e){if(!this.hasState(k)){return;};this.removeState(k);if(this.getUseMoveFrame()){this.__lY().exclude();};}},destruct:function(){this._disposeObjects(m,a);this.__lQ=null;}});})();(function(){var a="resetPaddingRight",b="setPaddingTop",c="_applyContentPadding",d="setPaddingBottom",e="resetThemed",f="contentPaddingRight",g="Integer",h="contentPaddingLeft",i="setThemedPaddingLeft",j="resetPaddingTop",k="shorthand",l="setThemedPaddingRight",m="setThemed",n="setPaddingRight",o="contentPaddingBottom",p="resetPaddingBottom",q="qx.ui.core.MContentPadding",r="resetPaddingLeft",s="setThemedPaddingTop",t="setPaddingLeft",u="setThemedPaddingBottom",v="contentPaddingTop";qx.Mixin.define(q,{properties:{contentPaddingTop:{check:g,init:0,apply:c,themeable:true},contentPaddingRight:{check:g,init:0,apply:c,themeable:true},contentPaddingBottom:{check:g,init:0,apply:c,themeable:true},contentPaddingLeft:{check:g,init:0,apply:c,themeable:true},contentPadding:{group:[v,f,o,h],mode:k,themeable:true}},members:{__md:{contentPaddingTop:b,contentPaddingRight:n,contentPaddingBottom:d,contentPaddingLeft:t},__me:{contentPaddingTop:s,contentPaddingRight:l,contentPaddingBottom:u,contentPaddingLeft:i},__mf:{contentPaddingTop:j,contentPaddingRight:a,contentPaddingBottom:p,contentPaddingLeft:r},_applyContentPadding:function(z,w,name,y){var A=this._getContentPaddingTarget();if(z==null){var x=this.__mf[name];A[x]();}else {if(y==m||y==e){var B=this.__me[name];A[B](z);}else {var B=this.__md[name];A[B](z);};};}}});})();(function(){var a="mousedown",b="Boolean",c="w-resize",d="sw-resize",f="n-resize",g="resizableRight",h="ne-resize",i="se-resize",j="Integer",k="e-resize",l="resizableLeft",m="mousemove",n="move",o="shorthand",p="maximized",q="resize",r="nw-resize",s="mouseout",t="qx.ui.core.MResizable",u="mouseup",v="losecapture",w="resize-frame",x="resizableBottom",y="s-resize",z="resizableTop";qx.Mixin.define(t,{construct:function(){var content=this.getContentElement();content.addListener(a,this.__ms,this,true);content.addListener(u,this.__mt,this);content.addListener(m,this.__mv,this);content.addListener(s,this.__mw,this);content.addListener(v,this.__mu,this);var A=content.getDomElement();if(A==null){A=window;};this.__mg=qx.event.Registration.getManager(A).getHandler(qx.event.handler.DragDrop);},properties:{resizableTop:{check:b,init:true},resizableRight:{check:b,init:true},resizableBottom:{check:b,init:true},resizableLeft:{check:b,init:true},resizable:{group:[z,g,x,l],mode:o},resizeSensitivity:{check:j,init:5},useResizeFrame:{check:b,init:true}},members:{__mg:null,__mh:null,__mi:null,__mj:null,__mk:null,__ml:null,__mm:null,RESIZE_TOP:1,RESIZE_BOTTOM:2,RESIZE_LEFT:4,RESIZE_RIGHT:8,_getResizeFrame:function(){var B=this.__mh;if(!B){B=this.__mh=new qx.ui.core.Widget();B.setAppearance(w);B.exclude();qx.core.Init.getApplication().getRoot().add(B);};return B;},__mn:function(){var location=this.getContentLocation();var C=this._getResizeFrame();C.setUserBounds(location.left,location.top,location.right-location.left,location.bottom-location.top);C.show();C.setZIndex(this.getZIndex()+1);},__mo:function(e){var E=this.__mi;var D=this.getSizeHint();var H=this.__mm;var G=this.__ml;var I=G.width;var F=G.height;var K=G.left;var top=G.top;var J;if((E&this.RESIZE_TOP)||(E&this.RESIZE_BOTTOM)){J=Math.max(H.top,Math.min(H.bottom,e.getDocumentTop()))-this.__mk;if(E&this.RESIZE_TOP){F-=J;}else {F+=J;};if(FD.maxHeight){F=D.maxHeight;};if(E&this.RESIZE_TOP){top+=G.height-F;};};if((E&this.RESIZE_LEFT)||(E&this.RESIZE_RIGHT)){J=Math.max(H.left,Math.min(H.right,e.getDocumentLeft()))-this.__mj;if(E&this.RESIZE_LEFT){I-=J;}else {I+=J;};if(ID.maxWidth){I=D.maxWidth;};if(E&this.RESIZE_LEFT){K+=G.width-I;};};return {viewportLeft:K,viewportTop:top,parentLeft:G.bounds.left+K-G.left,parentTop:G.bounds.top+top-G.top,width:I,height:F};},__mp:{'1':f,'2':y,'4':c,'8':k,'5':r,'6':d,'9':h,'10':i},__mq:function(e){var location=this.getContentLocation();var N=this.getResizeSensitivity();var O=e.getDocumentLeft();var M=e.getDocumentTop();var L=this.__mr(location,O,M,N);if(L>0){L=L|this.__mr(location,O,M,N*2);};this.__mi=L;},__mr:function(location,S,R,P){var Q=0;if(this.getResizableTop()&&Math.abs(location.top-R)location.left-P&&Slocation.left-P&&Slocation.top-P&&Rlocation.top-P&&R0){E=D[i].getSizeHint();F[i]={min:E.minHeight,value:I[i],max:E.maxHeight,flex:L};};};var B=N.computeFlexOffsets(F,G,P);for(i in B){y=B[i].offset;I[i]+=y;P+=y;};};var top=D[0].getMarginTop();if(P0){if(T){top+=x+M;this._renderSeparator(T,{top:top+R.top,left:R.left,height:Q,width:O});top+=Q+M+S.getMarginTop();}else {top+=N.collapseMargins(M,x,S.getMarginTop());};};S.renderLayout(V+R.left,top+R.top,J,z);top+=z;x=S.getMarginBottom();};},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__lv();};var W=qx.ui.layout.Util;var bl=this.__gE;var ba=0,bb=0,bj=0;var bc=0,bd=0;var bh,X,bk;for(var i=0,l=bl.length;ibd){bd=X.width+bk;};if((X.minWidth+bk)>bc){bc=X.minWidth+bk;};};ba+=bj;var bf=this.getSpacing();var bi=this.getSeparator();if(bi){var be=W.computeVerticalSeparatorGaps(bl,bf,bi);}else {var be=W.computeVerticalGaps(bl,bf,true);};return {minHeight:ba+be,height:bb+be,minWidth:bc,width:bd};}},destruct:function(){this.__mz=this.__lt=this.__gE=null;}});})();(function(){var a="keypress",b="focusout",c="__mA",d="activate",f="Tab",g="singleton",h="deactivate",j="focusin",k="qx.ui.core.FocusHandler";qx.Class.define(k,{extend:qx.core.Object,type:g,construct:function(){qx.core.Object.call(this);this.__mA={};},members:{__mA:null,__mB:null,__mC:null,__mD:null,connectTo:function(m){m.addListener(a,this.__io,this);m.addListener(j,this._onFocusIn,this,true);m.addListener(b,this._onFocusOut,this,true);m.addListener(d,this._onActivate,this,true);m.addListener(h,this._onDeactivate,this,true);},addRoot:function(n){this.__mA[n.$$hash]=n;},removeRoot:function(o){delete this.__mA[o.$$hash];},getActiveWidget:function(){return this.__mB;},isActive:function(p){return this.__mB==p;},getFocusedWidget:function(){return this.__mC;},isFocused:function(q){return this.__mC==q;},isFocusRoot:function(r){return !!this.__mA[r.$$hash];},_onActivate:function(e){var t=e.getTarget();this.__mB=t;var s=this.__mE(t);if(s!=this.__mD){this.__mD=s;};},_onDeactivate:function(e){var u=e.getTarget();if(this.__mB==u){this.__mB=null;};},_onFocusIn:function(e){var v=e.getTarget();if(v!=this.__mC){this.__mC=v;v.visualizeFocus();};},_onFocusOut:function(e){var w=e.getTarget();if(w==this.__mC){this.__mC=null;w.visualizeBlur();};},__io:function(e){if(e.getKeyIdentifier()!=f){return;};if(!this.__mD){return;};e.stopPropagation();e.preventDefault();var x=this.__mC;if(!e.isShiftPressed()){var y=x?this.__mI(x):this.__mG();}else {var y=x?this.__mJ(x):this.__mH();};if(y){y.tabFocus();};},__mE:function(z){var A=this.__mA;while(z){if(A[z.$$hash]){return z;};z=z.getLayoutParent();};return null;},__mF:function(I,H){if(I===H){return 0;};var C=I.getTabIndex()||0;var B=H.getTabIndex()||0;if(C!=B){return C-B;};var J=I.getContentElement().getDomElement();var G=H.getContentElement().getDomElement();var F=qx.bom.element.Location;var E=F.get(J);var D=F.get(G);if(E.top!=D.top){return E.top-D.top;};if(E.left!=D.left){return E.left-D.left;};var K=I.getZIndex();var L=H.getZIndex();if(K!=L){return K-L;};return 0;},__mG:function(){return this.__mM(this.__mD,null);},__mH:function(){return this.__mN(this.__mD,null);},__mI:function(M){var N=this.__mD;if(N==M){return this.__mG();};while(M&&M.getAnonymous()){M=M.getLayoutParent();};if(M==null){return [];};var O=[];this.__mK(N,M,O);O.sort(this.__mF);var P=O.length;return P>0?O[0]:this.__mG();},__mJ:function(Q){var R=this.__mD;if(R==Q){return this.__mH();};while(Q&&Q.getAnonymous()){Q=Q.getLayoutParent();};if(Q==null){return [];};var S=[];this.__mL(R,Q,S);S.sort(this.__mF);var T=S.length;return T>0?S[T-1]:this.__mH();},__mK:function(parent,U,V){var X=parent.getLayoutChildren();var W;for(var i=0,l=X.length;i0){ba.push(bb);};this.__mL(bb,Y,ba);};};},__mM:function(parent,bd){var bf=parent.getLayoutChildren();var be;for(var i=0,l=bf.length;i0){bg=bh;};};bg=this.__mN(bh,bg);};};return bg;}},destruct:function(){this._disposeMap(c);this.__mC=this.__mB=this.__mD=null;}});})();(function(){var a="' must be defined!",b="height",c="hAlign",d="vAlign",e="Integer",f="'",g="_applyLayoutChange",h="qx.ui.layout.Grid",m="maxHeight",n="Cannot add widget '",o="width",p=") for '",q="'!. ",r="top",s="minHeight",t="' in this cell (",u=", ",v="The layout properties 'row' and 'column' of the child widget '",w="minWidth",z="flex",A="left",B="maxWidth",C="There is already a widget '";qx.Class.define(h,{extend:qx.ui.layout.Abstract,construct:function(E,D){qx.ui.layout.Abstract.call(this);this.__mO=[];this.__mP=[];if(E){this.setSpacingX(E);};if(D){this.setSpacingY(D);};},properties:{spacingX:{check:e,init:0,apply:g},spacingY:{check:e,init:0,apply:g}},members:{__mQ:null,__mO:null,__mP:null,__mR:null,__mS:null,__mT:null,__mU:null,__mV:null,__mW:null,verifyLayoutProperty:null,__mX:function(){var L=[];var G=[];var J=[];var I=-1;var F=-1;var K=this._getLayoutChildren();for(var i=0,l=K.length;i1){J.push(M);};if(N.colSpan>1){G.push(M);};};for(var y=0;y<=I;y++ ){if(L[y]==undefined){L[y]=[];};};this.__mQ=L;this.__mR=G;this.__mS=J;this.__mT=I;this.__mU=F;this.__mV=null;this.__mW=null;delete this._invalidChildrenCache;},_setRowData:function(S,Q,R){var P=this.__mO[S];if(!P){this.__mO[S]={};this.__mO[S][Q]=R;}else {P[Q]=R;};},_setColumnData:function(T,V,W){var U=this.__mP[T];if(!U){this.__mP[T]={};this.__mP[T][V]=W;}else {U[V]=W;};},setSpacing:function(X){this.setSpacingY(X);this.setSpacingX(X);return this;},setColumnAlign:function(Y,ba,bb){{};this._setColumnData(Y,c,ba);this._setColumnData(Y,d,bb);this._applyLayoutChange();return this;},getColumnAlign:function(bc){var bd=this.__mP[bc]||{};return {vAlign:bd.vAlign||r,hAlign:bd.hAlign||A};},setRowAlign:function(bf,be,bg){{};this._setRowData(bf,c,be);this._setRowData(bf,d,bg);this._applyLayoutChange();return this;},getRowAlign:function(bi){var bh=this.__mO[bi]||{};return {vAlign:bh.vAlign||r,hAlign:bh.hAlign||A};},getCellWidget:function(bk,bj){if(this._invalidChildrenCache){this.__mX();};var bk=this.__mQ[bk]||{};return bk[bj]||null;},getRowCount:function(){if(this._invalidChildrenCache){this.__mX();};return this.__mT+1;},getColumnCount:function(){if(this._invalidChildrenCache){this.__mX();};return this.__mU+1;},getCellAlign:function(bs,bm){var br=r;var bp=A;var bq=this.__mO[bs];var bn=this.__mP[bm];var bl=this.__mQ[bs][bm];if(bl){var bo={vAlign:bl.getAlignY(),hAlign:bl.getAlignX()};}else {bo={};};if(bo.vAlign){br=bo.vAlign;}else if(bq&&bq.vAlign){br=bq.vAlign;}else if(bn&&bn.vAlign){br=bn.vAlign;};if(bo.hAlign){bp=bo.hAlign;}else if(bn&&bn.hAlign){bp=bn.hAlign;}else if(bq&&bq.hAlign){bp=bq.hAlign;};return {vAlign:br,hAlign:bp};},setColumnFlex:function(bt,bu){this._setColumnData(bt,z,bu);this._applyLayoutChange();return this;},getColumnFlex:function(bv){var bw=this.__mP[bv]||{};return bw.flex!==undefined?bw.flex:0;},setRowFlex:function(by,bx){this._setRowData(by,z,bx);this._applyLayoutChange();return this;},getRowFlex:function(bB){var bz=this.__mO[bB]||{};var bA=bz.flex!==undefined?bz.flex:0;return bA;},setColumnMaxWidth:function(bC,bD){this._setColumnData(bC,B,bD);this._applyLayoutChange();return this;},getColumnMaxWidth:function(bE){var bF=this.__mP[bE]||{};return bF.maxWidth!==undefined?bF.maxWidth:Infinity;},setColumnWidth:function(bG,bH){this._setColumnData(bG,o,bH);this._applyLayoutChange();return this;},getColumnWidth:function(bI){var bJ=this.__mP[bI]||{};return bJ.width!==undefined?bJ.width:null;},setColumnMinWidth:function(bK,bL){this._setColumnData(bK,w,bL);this._applyLayoutChange();return this;},getColumnMinWidth:function(bM){var bN=this.__mP[bM]||{};return bN.minWidth||0;},setRowMaxHeight:function(bP,bO){this._setRowData(bP,m,bO);this._applyLayoutChange();return this;},getRowMaxHeight:function(bR){var bQ=this.__mO[bR]||{};return bQ.maxHeight||Infinity;},setRowHeight:function(bS,bT){this._setRowData(bS,b,bT);this._applyLayoutChange();return this;},getRowHeight:function(bV){var bU=this.__mO[bV]||{};return bU.height!==undefined?bU.height:null;},setRowMinHeight:function(bX,bW){this._setRowData(bX,s,bW);this._applyLayoutChange();return this;},getRowMinHeight:function(ca){var bY=this.__mO[ca]||{};return bY.minHeight||0;},__mY:function(cc){var cb=cc.getSizeHint();var ce=cc.getMarginLeft()+cc.getMarginRight();var cd=cc.getMarginTop()+cc.getMarginBottom();var cf={height:cb.height+cd,width:cb.width+ce,minHeight:cb.minHeight+cd,minWidth:cb.minWidth+ce,maxHeight:cb.maxHeight+cd,maxWidth:cb.maxWidth+ce};return cf;},_fixHeightsRowSpan:function(cA){var cm=this.getSpacingY();for(var i=0,l=this.__mS.length;i0){cj[cn]={min:cw.minHeight,value:cw.height,max:cw.maxHeight,flex:cy};};cx+=cw.height;cg+=cw.minHeight;};if(cx0){cI[cJ]={min:cM.minWidth,value:cM.width,max:cM.maxWidth,flex:cL};};cN+=cM.width;cG+=cM.minWidth;};if(cN1){continue;};var cW=this.__mY(cP);if(this.getRowFlex(da)>0){cS=Math.max(cS,cW.minHeight);}else {cS=Math.max(cS,cW.height);};cU=Math.max(cU,cW.height);};var cS=Math.max(cS,this.getRowMinHeight(da));var cT=this.getRowMaxHeight(da);if(this.getRowHeight(da)!==null){var cU=this.getRowHeight(da);}else {var cU=Math.max(cS,Math.min(cU,cT));};cY[da]={minHeight:cS,height:cU,maxHeight:cT};};if(this.__mS.length>0){this._fixHeightsRowSpan(cY);};this.__mV=cY;return cY;},_getColWidths:function(){if(this.__mW!=null){return this.__mW;};var df=[];var dc=this.__mU;var de=this.__mT;for(var dk=0;dk<=dc;dk++ ){var di=0;var dh=0;var dd=Infinity;for(var dl=0;dl<=de;dl++ ){var db=this.__mQ[dl][dk];if(!db){continue;};var dg=db.getLayoutProperties().colSpan||0;if(dg>1){continue;};var dj=this.__mY(db);if(this.getColumnFlex(dk)>0){dh=Math.max(dh,dj.minWidth);}else {dh=Math.max(dh,dj.width);};di=Math.max(di,dj.width);};dh=Math.max(dh,this.getColumnMinWidth(dk));dd=this.getColumnMaxWidth(dk);if(this.getColumnWidth(dk)!==null){var di=this.getColumnWidth(dk);}else {var di=Math.max(dh,Math.min(di,dd));};df[dk]={minWidth:dh,width:di,maxWidth:dd};};if(this.__mR.length>0){this._fixWidthsColSpan(df);};this.__mW=df;return df;},_getColumnFlexOffsets:function(dq){var dm=this.getSizeHint();var ds=dq-dm.width;if(ds==0){return {};};var dp=this._getColWidths();var dn={};for(var i=0,l=dp.length;i0)||(dt.width==dt.minWidth&&ds<0)){continue;};dn[i]={min:dt.minWidth,value:dt.width,max:dt.maxWidth,flex:dr};};return qx.ui.layout.Util.computeFlexOffsets(dn,dq,dm.width);},_getRowFlexOffsets:function(dw){var du=this.getSizeHint();var dy=dw-du.height;if(dy==0){return {};};var dx=this._getRowHeights();var dv={};for(var i=0,l=dx.length;i0)||(dA.height==dA.minHeight&&dy<0)){continue;};dv[i]={min:dA.minHeight,value:dA.height,max:dA.maxHeight,flex:dz};};return qx.ui.layout.Util.computeFlexOffsets(dv,dw,du.height);},renderLayout:function(dV,dB,dU){if(this._invalidChildrenCache){this.__mX();};var dP=qx.ui.layout.Util;var dD=this.getSpacingX();var dJ=this.getSpacingY();var dT=this._getColWidths();var dW=this._getColumnFlexOffsets(dV);var dE=[];var dY=this.__mU;var dC=this.__mT;var dX;for(var ea=0;ea<=dY;ea++ ){dX=dW[ea]?dW[ea].offset:0;dE[ea]=dT[ea].width+dX;};var dM=this._getRowHeights();var dO=this._getRowFlexOffsets(dB);var eg=[];for(var dK=0;dK<=dC;dK++ ){dX=dO[dK]?dO[dK].offset:0;eg[dK]=dM[dK].height+dX;};var ee=0;for(var ea=0;ea<=dY;ea++ ){var top=0;for(var dK=0;dK<=dC;dK++ ){var dR=this.__mQ[dK][ea];if(!dR){top+=eg[dK]+dJ;continue;};var dF=dR.getLayoutProperties();if(dF.row!==dK||dF.column!==ea){top+=eg[dK]+dJ;continue;};var ef=dD*(dF.colSpan-1);for(var i=0;i0){ei+=ep.minWidth;}else {ei+=ep.width;};eq+=ep.width;};var er=this._getRowHeights();var el=0,em=0;for(var i=0,l=er.length;i0){el+=es.minHeight;}else {el+=es.height;};em+=es.height;};var eo=this.getSpacingX()*(ek.length-1);var en=this.getSpacingY()*(er.length-1);var ej={minWidth:ei+eo,width:eq+eo,minHeight:el+en,height:em+en};return ej;}},destruct:function(){this.__mQ=this.__mO=this.__mP=this.__mR=this.__mS=this.__mW=this.__mV=null;}});})();(function(){var a="toolTipText",b="icon",c="label",d="qx.ui.core.MExecutable",f="value",g="qx.event.type.Event",h="execute",j="_applyCommand",k="enabled",l="menu",m="changeCommand",n="qx.ui.core.Command";qx.Mixin.define(d,{events:{"execute":g},properties:{command:{check:n,apply:j,event:m,nullable:true}},members:{__na:null,__nb:false,__nc:null,_bindableProperties:[k,c,b,a,f,l],execute:function(){var o=this.getCommand();if(o){if(this.__nb){this.__nb=false;}else {this.__nb=true;o.execute(this);};};this.fireEvent(h);},__nd:function(e){if(this.__nb){this.__nb=false;return;};this.__nb=true;this.execute();},_applyCommand:function(r,p){if(p!=null){p.removeListenerById(this.__nc);};if(r!=null){this.__nc=r.addListener(h,this.__nd,this);};var q=this.__na;if(q==null){this.__na=q={};};var u;for(var i=0;iy.left&&v.lefty.top&&v.top0){var Q=this.__nf[R-1];if(Q){qx.bom.Element.activate(Q);};this.__nf.pop();};var P=this.__ng.length;if(P>0){var Q=this.__ng[P-1];if(Q){qx.bom.Element.focus(this.__ng[P-1]);};this.__ng.pop();};},__nn:function(){return new qx.html.Blocker(this.getColor(),this.getOpacity());},getBlockerElement:function(S){if(!this.__ne){this.__ne=this.__nn();this.__ne.setStyle(r,15);if(!S){if(this._isRoot){S=this._widget;}else {S=this._widget.getLayoutParent();};};S.getContentElement().add(this.__ne);this.__ne.exclude();};return this.__ne;},block:function(){this._block();},_block:function(T,V){if(!this._isRoot&&!this._widget.getLayoutParent()){this.__ni=this._widget.addListenerOnce(s,this._block.bind(this,T));return;};var parent;if(this._isRoot||V){parent=this._widget;}else {parent=this._widget.getLayoutParent();};var U=this.getBlockerElement(parent);if(T!=null){U.setStyle(r,T);};this.__nh++ ;if(this.__nh<2){this._backupActiveWidget();var W=this._widget.getBounds();if(W){this._updateBlockerBounds(W);};U.include();if(!V){U.activate();};U.addListener(h,this.__nq,this);U.addListener(v,this.__np,this);U.addListener(g,this.__np,this);U.addListener(u,this.__np,this);this.fireEvent(A,qx.event.type.Event);};},isBlocked:function(){return this.__nh>0;},unblock:function(){if(this.__ni){this._widget.removeListenerById(this.__ni);};if(!this.isBlocked()){return;};this.__nh-- ;if(this.__nh<1){this.__no();this.__nh=0;};},forceUnblock:function(){if(!this.isBlocked()){return;};this.__nh=0;this.__no();},__no:function(){this._restoreActiveWidget();var X=this.getBlockerElement();X.removeListener(h,this.__nq,this);X.removeListener(v,this.__np,this);X.removeListener(g,this.__np,this);X.removeListener(u,this.__np,this);X.exclude();this.fireEvent(x,qx.event.type.Event);},getContentBlockerElement:function(){{};return this.getBlockerElement();},blockContent:function(Y){this._block(Y,true);},isContentBlocked:function(){{};return this.isBlocked();},unblockContent:function(){{};this.unblock();},forceUnblockContent:function(){{};this.forceUnblock();},__np:function(e){if(e.getKeyIdentifier()==m){e.stop();};},__nq:function(){if(this.getKeepBlockerActive()){this.getBlockerElement().activate();};}},destruct:function(){if(qx.core.Environment.get(a)){qx.theme.manager.Color.getInstance().removeListener(j,this._onChangeTheme,this);};this._widget.removeListener(q,this.__nj,this);this._widget.removeListener(o,this.__nj,this);this._widget.removeListener(s,this.__nk,this);this._widget.removeListener(z,this.__nl,this);if(this.__ni){this._widget.removeListenerById(this.__ni);};this._disposeObjects(B,l);this.__nf=this.__ng=this._widget=null;}});})();(function(){var a="dblclick",b="mshtml",c="engine.name",d="repeat",f="mousedown",g="disappear",h="appear",i="url(",j="mousewheel",k=")",l="mouseover",m="mouseout",n="qx.html.Blocker",o="mouseup",p="mousemove",q="div",r="contextmenu",s="click",t="qx/static/blank.gif",u="cursor",v="absolute";qx.Class.define(n,{extend:qx.html.Element,construct:function(y,w){var y=y?qx.theme.manager.Color.getInstance().resolve(y):null;var x={position:v,opacity:w||0,backgroundColor:y};if((qx.core.Environment.get(c)==b)){x.backgroundImage=i+qx.util.ResourceManager.getInstance().toUri(t)+k;x.backgroundRepeat=d;};qx.html.Element.call(this,q,x);this.addListener(f,this._stopPropagation,this);this.addListener(o,this._stopPropagation,this);this.addListener(s,this._stopPropagation,this);this.addListener(a,this._stopPropagation,this);this.addListener(p,this._stopPropagation,this);this.addListener(l,this._stopPropagation,this);this.addListener(m,this._stopPropagation,this);this.addListener(j,this._stopPropagation,this);this.addListener(r,this._stopPropagation,this);this.addListener(h,this.__nr,this);this.addListener(g,this.__nr,this);},members:{_stopPropagation:function(e){e.stopPropagation();},__nr:function(){var z=this.getStyle(u);this.setStyle(u,null,true);this.setStyle(u,z,true);}}});})();(function(){var a="changeGlobalCursor",b="engine.name",c="keypress",d="Boolean",f="root",g="help",h="",i="contextmenu",j=" !important",k="input",l="_applyGlobalCursor",m="Space",n="_applyNativeHelp",o=";",p="event.help",q="qx.ui.root.Abstract",r="abstract",s="textarea",t="String",u="*";qx.Class.define(q,{type:r,extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MBlocker,qx.ui.window.MDesktop],construct:function(){qx.ui.core.Widget.call(this);qx.ui.core.FocusHandler.getInstance().addRoot(this);qx.ui.core.queue.Visibility.add(this);this.initNativeHelp();this.addListener(c,this.__nt,this);},properties:{appearance:{refine:true,init:f},enabled:{refine:true,init:true},focusable:{refine:true,init:true},globalCursor:{check:t,nullable:true,themeable:true,apply:l,event:a},nativeContextMenu:{refine:true,init:false},nativeHelp:{check:d,init:false,apply:n}},members:{__ns:null,isRootWidget:function(){return true;},getLayout:function(){return this._getLayout();},_applyGlobalCursor:qx.core.Environment.select(b,{"mshtml":function(w,v){},"default":function(A,z){var y=qx.bom.Stylesheet;var x=this.__ns;if(!x){this.__ns=x=y.createElement();};y.removeAllRules(x);if(A){y.addRule(x,u,qx.bom.element.Cursor.compile(A).replace(o,h)+j);};}}),_applyNativeContextMenu:function(C,B){if(C){this.removeListener(i,this._onNativeContextMenu,this,true);}else {this.addListener(i,this._onNativeContextMenu,this,true);};},_onNativeContextMenu:function(e){if(e.getTarget().getNativeContextMenu()){return;};e.preventDefault();},__nt:function(e){if(e.getKeyIdentifier()!==m){return;};var E=e.getTarget();var D=qx.ui.core.FocusHandler.getInstance();if(!D.isFocused(E)){return;};var F=E.getContentElement().getNodeName();if(F===k||F===s){return;};e.preventDefault();},_applyNativeHelp:function(H,G){if(qx.core.Environment.get(p)){if(G===false){qx.bom.Event.removeNativeListener(document,g,(function(){return false;}));};if(H===false){qx.bom.Event.addNativeListener(document,g,(function(){return false;}));};};}},destruct:function(){this.__ns=null;},defer:function(I,J){qx.ui.core.MChildrenHandling.remap(J);}});})();(function(){var a="resize",b="rgba(0,0,0,0)",c="paddingLeft",d="WebkitTapHighlightColor",f="qx.emulatemouse",g="engine.name",h="webkit",i="0px",j="The application could not be started due to a missing body tag in the HTML file!",k="$$widget",l="qx.ui.root.Application",m="event.touch",n="div",o="paddingTop",p="hidden",q="The root widget does not support 'left', or 'top' paddings!",r="100%",s="absolute";qx.Class.define(l,{extend:qx.ui.root.Abstract,construct:function(t){this.__cx=qx.dom.Node.getWindow(t);this.__nu=t;if(qx.core.Environment.get(m)&&qx.core.Environment.get(f)){if(t.body){t.body.style[d]=b;};};qx.ui.root.Abstract.call(this);qx.event.Registration.addListener(this.__cx,a,this._onResize,this);this._setLayout(new qx.ui.layout.Canvas());qx.ui.core.queue.Layout.add(this);qx.ui.core.FocusHandler.getInstance().connectTo(this);this.getContentElement().disableScrolling();},members:{__cx:null,__nu:null,_createContentElement:function(){var u=this.__nu;if((qx.core.Environment.get(g)==h)){if(!u.body){alert(j);};};var y=u.documentElement.style;var v=u.body.style;y.overflow=v.overflow=p;y.padding=y.margin=v.padding=v.margin=i;y.width=y.height=v.width=v.height=r;var x=u.createElement(n);u.body.appendChild(x);var w=new qx.html.Root(x);w.setStyles({"position":s,"overflowX":p,"overflowY":p});w.setAttribute(k,this.toHashCode());return w;},_onResize:function(e){qx.ui.core.queue.Layout.add(this);if(qx.ui.popup&&qx.ui.popup.Manager){qx.ui.popup.Manager.getInstance().hideAll();};if(qx.ui.menu&&qx.ui.menu.Manager){qx.ui.menu.Manager.getInstance().hideAll();};},_computeSizeHint:function(){var z=qx.bom.Viewport.getWidth(this.__cx);var A=qx.bom.Viewport.getHeight(this.__cx);return {minWidth:z,width:z,maxWidth:z,minHeight:A,height:A,maxHeight:A};},_applyPadding:function(C,B,name){if(C&&(name==o||name==c)){throw new Error(q);};qx.ui.root.Abstract.prototype._applyPadding.call(this,C,B,name);}},destruct:function(){this.__cx=this.__nu=null;}});})();(function(){var a="qx.ui.layout.Canvas",b="number",c="Boolean";qx.Class.define(a,{extend:qx.ui.layout.Abstract,properties:{desktop:{check:c,init:false}},members:{verifyLayoutProperty:null,renderLayout:function(g,j,m){var s=this._getLayoutChildren();var d,u,r;var f,top,e,h,n,k;var q,p,t,o;for(var i=0,l=s.length;iu.maxWidth){n=u.maxWidth;};f+=o;}else {n=r.width;if(n==null){n=u.width;}else {n=Math.round(parseFloat(n)*g/100);if(nu.maxWidth){n=u.maxWidth;};};if(e!=null){f=g-n-e-p-o;}else if(f==null){f=o;}else {f+=o;};};if(top!=null&&h!=null){k=j-top-h-q-t;if(ku.maxHeight){k=u.maxHeight;};top+=q;}else {k=r.height;if(k==null){k=u.height;}else {k=Math.round(parseFloat(k)*j/100);if(ku.maxHeight){k=u.maxHeight;};};if(h!=null){top=j-k-h-t-q;}else if(top==null){top=q;}else {top+=q;};};f+=m.left;top+=m.top;d.renderLayout(f,top,n,k);};},_computeSizeHint:function(){var M=0,y=0;var J=0,I=0;var H,v;var E,C;var L=this._getLayoutChildren();var w,B,z;var K=this.isDesktop();var A,top,x,D;for(var i=0,l=L.length;i=1){var dM=dv;if(dF.cmd==O){dM=S;};if(dF.data<0){dM=dM+cL;};dbg(3,A+dM);dbg(3,s+this.viewClass);this.timer.start(this.autoUpdate,dJ,this,dM,dJ);}else {dbg(3,m);};break;case cU:this.tabs.setBarPosition(dF.data);break;case cn:dD=false;unfade=false;var dG=dF.data;qx.util.TimerManager.getInstance().start(function(dO,dP){dbg(3,dr);this.callBackend(cE,dG,this.fields.getFieldsData());},null,dN,null,500);break;case cV:if(dN.fields.childLtab){dN.fields.childLtab.dispatch(dF.data);};break;case cq:this.removeAll();break;case cY:dbg(0,cK);{qx.log.appender.Native;qx.log.appender.Console.show();};break;case dd:this.getActiveForm().fields.clearDataOnly(dF.data);break;case dm:this.getActiveForm().fields.clearDataAll();break;case cr:this.getActiveForm().fields.clearData(dF.data);break;case cs:this.getActiveForm().fields.clearSelections();break;case y:dbg(3,b+print_a(dF.data));dbg(3,b+print_a(Object.keys(dF.data)));this.getActiveForm().fields.clearDataOnly(Object.keys(dF.data));this.updateView(dF.data,false);break;case cX:this.getActiveForm().fields.clearDataAll();this.updateView(dF.data,false);break;case dt:this.getActiveForm().fields.clearData(Object.keys(dF.data));this.updateView(dF.data,false);break;case cG:window.eval(dF.data);break;case x:this.setFadeIn(dF.data);break;case cQ:this.parentFadeIn();var f=dF.data;dbg(2,R+print_a(f));if(dN&&dN.fields&&dN.fields.fields){if(f.table){var dL=dN.fields.fields[f.table];if(dL){var dE=dL.updating;dL.updating=true;dbg(2,cT+f.table);dN.fields.focus_table(dL,f.col,f.row);dL.updating=dE;}else {dbg(2,dj+f.table+du);};}else {if(dN.fields.fields[f]){dbg(2,cN+f);dN.fields.focus_if_ok(dN.fields.fields[f]);}else {dbg(2,d+f+z+print_a(dN.fields.fields));};};}else {dbg(3,h+dN+cp);};break;case cu:case l:if(!(dF.data instanceof Array)){dF.data=[dF.data];};for(var i=0;i=0){this.fadeIn();};var dX=null;if(this.form&&this.form.fields&&this.form.fields.childLtab){dX=this.form.fields.childLtab;dX.timer.cont();if(this.selectfadein.search(cV)>=0){dX.fadeIn();}else {dX.fadeOut();};};if(this.selectfadein.search(P)>=0){this.getActiveForm().fields.windows_fade_to(1);};};},fadeIn:function(){var dY=this.getActiveForm();this.enableThis();if(this.fadedin){return;};this.fadedin=true;if(this.tabs){this.tabs.setEnabled(true);};if(dY&&dY.fields){if(this.getContentElement().getDomElement()){this.fadeIn(0.25);};};},enableThis:function(){if(this.tabs){this.tabs.setEnabled(true);};if(this.form&&this.form.fields){this.form.fields.setEnabled(true);};var ea=this.getActiveForm();if(ea&&ea.fields){ea.fields.setEnabled(true);};},setElementVisibility:function(ec,eb){var ed=this.getActiveForm();var f;if(f=ed.fields.fields[ec]){f.setVisibility(eb);if(f.widget_label){f.widget_label.setVisibility(eb);};}else {dbg(3,dy+ec);};},showView:function(ef){this.layoutView=ef.layout;this.dataClass=ef.data_class;this.viewClass=ef.view_class;dbg(5,c+this.layoutView);this.timer.stop();if(this.tabs){if(this.tabs.getSelection()[0].qv_id!=this.viewClass){for(var v=0;vj.maxWidth){f=j.maxWidth;};d=c;if(dj.maxHeight){d=j.maxHeight;};g.renderLayout(e.left,e.top,f,d);};},_computeSizeHint:function(){var r=this._getLayoutChildren();var p,t;var s=0,q=0;var o=0,m=0;var k=Infinity,n=Infinity;for(var i=0,l=r.length;im){o.splice(i,0,p);break;};};if(o.length==length){o.push(p);};if(!this.__ny){qx.event.Idle.getInstance().addListener(b,this.__nA,this);this.__ny=true;};},__nA:function(){var r=(new Date()).getTime();var t=this.self(arguments).__nv;var s=this.self(arguments).__nw;while(t.length>0&&s[t[0]].expireAt<=r){var v=t.shift();var q=s[v];q.callback.call(q.context,q.userData,v);if(q.recurTime&&s[v]){var u=(new Date()).getTime();q.expireAt=u+q.recurTime;this.__nz(q.expireAt,v);}else {delete s[v];};};if(t.length==0&&this.__ny){qx.event.Idle.getInstance().removeListener(b,this.__nA,this);this.__ny=false;};}}});})();(function(){var a="Use qx.dev.StackTrace.FORMAT_STACKTRACE instead",b="function",c="",d="]:",e=">",f="",o=" ",p="}",q=":",r="qx.log.appender.Util",s="&",t="'",u="DIV",v="",w="]",x="'>",y="",z="[",A=", ",B="",C="\n",D=""",E="",F="{",G=":&"']/g,this.__nB);},__nB:function(bf){var be={"<":m,">":e,"&":s,"'":t,'"':D};return be[bf]||L;},toText:function(bg){return this.toTextArray(bg).join(I);},toTextArray:function(bn){var bp=[];bp.push(this.formatOffset(bn.offset,6));if(bn.object){var bh=bn.win.qx.core.ObjectRegistry.fromHashCode(bn.object);if(bh){bp.push(bh.classname+z+bh.$$hash+d);};}else if(bn.clazz){bp.push(bn.clazz.classname+q);};var bi=bn.items;var bl,bo;for(var i=0,bm=bi.length;i0){if(typeof (this.FORMAT_STACK)==b){qx.log.Logger.deprecatedConstantWarning(qx.log.appender.Util,g,a);bo+=C+this.FORMAT_STACK(bl.trace);}else {bo+=C+bl.trace;};};if(bo instanceof Array){var bj=[];for(var j=0,bk=bo.length;j0){var jM=this.getChildren();dbg(5,hJ+jN+E+jM);for(var e=0;e=0){jR=this.valueIds.indexOf(jS[0]);dbg(2,hk+jR);}else {this.valueIds=null;};};dbg(2,z+print_a(jT)+gu+print_a(this.valueIds));this.cancelEditing();var jU=this.getSelectionModel();jU.resetSelection();if(jR>=0){jU.setSelectionInterval(jR,jR);}else {this.getTableModel().setData(jT);};};function jf(ka){dbg(2,hS+this);var kb=[];var jX=this;var jW=jX.valueIds;var jY=jX.getTableModel();jX.stopEditing();jX.getSelectionModel().iterateSelection(function(kc){if(jX.is_editable||!jW){dbg(2,ij+kc);var kd=jY.getRowDataAsMap(kc);if(jW){kd.element_id=jW[kc];};}else {dbg(2,D+kc+fg+kd);kd=jW[kc];};dbg(2,fm+print_a(kd));kb.push(kd);});dbg(2,iR+print_a(kb));return kb;};qx.Class.define(gY,{extend:qx.ui.container.Composite,construct:function(kh,kf,ki){qx.ui.container.Composite.call(this,this.layout=new qx.ui.layout.Canvas());var ke=[ha,hp,hz];for(var p=0;p0){kJ.add(new qx.ui.form.ListItem(kT.list_values.shift()));};};kJ.searchLabel=fO;kJ.searchIndex=eY;kJ.selectedIndex=ht;le=L;break;case ib:lk=true;le=hE;kJ=new qx.ui.form.SplitButton(kQ);kJ.getData=function(){};kJ.setAllowGrowY(false);kJ.setValueArray=function(l){var ln=this;if(typeof (l)===hD){ln.setLabel(l);}else if(l.length>0){ln.setLabel(l.shift());var lm=new qx.ui.menu.Menu;for(var i=0;i0){this.needs_expansion.height=ga;};};if(kT.flexwidth){dbg(3,fL+kT.flexwidth);kP.getLayout().setColumnFlex(1,kT.flexwidth*10);if(kT.flexwidth>0){this.needs_expansion.width=ga;};};}else {dbg(5,hG+kJ+hr+kP.getLayout().toString());kP.add(kJ,{flex:1});};if(le&&this.callback&&lk){dbg(4,C+kV+hH+name+hH);if(typeof (le)===hD){le=[le];};dbg(4,print_a(le));for(var l=0;l0&&this.delayTimer)){dbg(5,iP+kV+hH+name+hH+this.field_id);this.updating=true;var lC=null;if(this.field_id){this.fields[this.field_id].getValue();};var lB=e.getData?e.getData():gx;if(kR==0){this.callback[1].call(this.callback[0],[lC,name,kV,lB,kT]);}else {if(this.delayTimer){dbg(4,gF);this.timer.stop(this.delayTimer);this.delayTimer=null;};dbg(4,hh);this.delayTimer=this.timer.start(function(lD,lE){dbg(3,hK);this.callback[1].call(this.callback[0],[lC,name,kV,lB,kT]);},0,this,null,kR);};}else {dbg(3,hc);};e.stop();},this);dbg(5,ik+le[l]);};};};return kJ;},calcView:function(lL,lF){var lG=1;if(lL[0]&&lL[0].split){var lN=lL[0].split(hH);switch(lN[0]){case hm:dbg(5,j+lF+fb+print_a(lL[1]));this.calcView(lL[1],new qx.ui.container.Composite(new qx.ui.layout.HBox(10)));break;case fi:dbg(4,fi);lG=0;case fP:dbg(5,ja+lF);var lI=lF.add(this.calcView(lL[1],new qx.ui.container.Composite(new qx.ui.layout.Grid().setColumnAlign(0,fI,hT).setSpacing(5).setColumnFlex(0,lG).setColumnFlex(1,3))),{flex:1});break;case hN:dbg(5,iI+lF);if(!this.first_group){this.first_group=lF;};var lP=new qx.ui.groupbox.GroupBox();lP.setLayout(new qx.ui.layout.VBox(10));if(false){lF.add(this.calcView(lL[1],lP));}else {if(lF.getLayout().constructor!=qx.ui.layout.Canvas){dbg(3,hA);lF.add(this.calcView(lL[1],lP),{flex:1});}else {dbg(3,ft);var lS=this.calcView(lL[1],lP);lF.add(lS,this.needs_expansion);};};break;case O:dbg(5,iI+lF);var lP=new qx.ui.groupbox.GroupBox();lP.setLayout(new qx.ui.layout.VBox(10));if(false){lF.add(this.calcView(lL[1],lP));}else {if(lF.getLayout().constructor!=qx.ui.layout.Canvas){dbg(3,hA);lF.add(this.calcView(lL[1],lP),{flex:1});}else {dbg(3,ft);lF.add(this.calcView(lL[1],lP),{height:ga,width:ga});};};break;case J:dbg(5,hM+lF);var lU=new qx.ui.layout.HBox(10);var lR=new qx.ui.container.Composite(lU);var lT=this.needs_expansion.width;var lS=this.calcView(lL[1],lR);if(lT!=this.needs_expansion.width){lT={flex:1};}else {lT={};};lF.add(lS,lT);break;case fz:dbg(5,hM+lF);var lU=new qx.ui.layout.HBox(10);var lR=new qx.ui.container.Composite(lU);lF.add(this.calcView(lL[1],lR),{flex:1});break;case ff:dbg(5,hv+lF);var lP=new qx.ui.groupbox.GroupBox();lP.setLayout(new qx.ui.layout.VBox(10));lF.add(this.calcView(lL[1],lP));break;case fC:var lJ=lL[1][0][0];dbg(3,ig+print_a(lL)+ge+lJ);this.childLtab=new frontend.Views.Ltab(this.ltab.app);this.childLtab.alignTabs=gV;this.childLtab.parentLtab=this.ltab;var lR=new qx.ui.container.Composite(new qx.ui.layout.Grow());lR.add(this.childLtab);lF.add(lR,{flex:5});rpc.callRPC(iN+lJ,K,this.childLtab,this.childLtab.dispatch);break;case fD:dbg(5,iF+lF);var lI=new qx.ui.container.Composite(new qx.ui.layout.VBox(10).set({alignX:fI}));var lT=this.needs_expansion.height;var lK={};var lS=this.calcView(lL[1],lI);if(lT!=this.needs_expansion.height){lK={flex:1};};lF.add(lS,lK);break;case jm:dbg(5,gj+lF);var lI=new qx.ui.container.Composite(new qx.ui.layout.VBox(10).set({alignX:fI}));lF.add(this.calcView(lL[1],lI),{flex:1});break;case fF:dbg(5,ie+lF);var lI=new qx.ui.container.Composite(new qx.ui.layout.VBox(10).set({alignX:fI}));lF.add(this.calcView(lL[1],lI),{flex:1});break;case fB:dbg(5,gd+lL[1]);var lQ=this.first_field;this.first_field=null;var l=new qx.ui.container.Composite(new qx.ui.layout.VBox(10));this.calcView(lL[1],l);var lM=new qx.ui.window.Window(q).set({modal:true,allowClose:false,visibility:is});lM.setLayout(new qx.ui.layout.HBox());lM.add(l);lM.layout=l;lM.center();lM.created=false;lM.dontfade=false;lM.isfaded=1;lM.first_field=this.first_field;this.first_field=lQ;this.windows[lN[1]]=lM;lM.addListenerOnce(gv,function(){lM.created=true;});break;};}else {dbg(5,hd+lF);var lH=lL;for(var l=0;l=lW){dbg(2,P+lY+jj);return;};lX.resetCellFocus();lX.resetSelection();var mb=lX.getSelectionModel();mb.resetSelection();mb.setSelectionInterval(lY,lY);lX.setFocusedCell(ma,lY);lX.startEditing();dbg(2,gN);}else {dbg(0,gr+lX);};},window_show:function(name){dbg(2,fX+name);if(win=this.windows[name]){win.setVisibility(hs);win.focus();win.activate();win.dontfade=false;this.window_fade_to(win,1);this.focus_if_ok(win.first_field);}else {alert(hF+name);};},window_fade_to:function(mc,md){if(mc.created&&!mc.dontfade&&mc.isfaded!=md){mc.isfaded=md;if(md<1.0){}else {};mc.setEnabled(md<1?false:true);}else {};},windows_fade_to:function(me){for(var w in this.windows){this.window_fade_to(this.windows[w],me);};if(this.childLtab&&this.childLtab.form&&this.childLtab.form.fields){this.childLtab.form.fields.windows_fade_to(me);};},window_hide:function(name){dbg(2,hi+name+fo+this.windows.length);if(name==Q||!name){for(var i in this.windows){dbg(2,hi+i);this.windows[i].setVisibility(is);this.windows[i].dontfade=true;};}else {this.windows[name].setVisibility(is);};this.focus_if_ok(this.first_field);},createHours:function(){var mf=new qx.ui.form.SelectBox();for(var i=0;i<48;i++ ){var mg=new qx.ui.form.ListItem(gx+jd(Math.floor(i/2))+hH+jd((i%2)*30));mf.add(mg);};mf.setWidth(null);return mf;},createDoW:function(){var mi=new qx.ui.form.SelectBox();var mh=[fW,fd,ip,hx,gK,hY,gn,hb,ju,gR,W,hI];for(var i=0;i=19){cf=n;}else {cf=L;};qx.ui.style.Stylesheet.getInstance().addRule(cf,W+cd+G);}else if(qx.core.Environment.get(bO)==bS){cf=B;qx.ui.style.Stylesheet.getInstance().addRule(cf,W+cd);}else if(qx.core.Environment.get(bO)==bN){cf=T;qx.ui.style.Stylesheet.getInstance().addRule(cf,W+cd+G);};}},construct:function(cg){qx.ui.core.Widget.call(this);this.__nK=!qx.core.Environment.get(bB);if(cg!=null){this.setValue(cg);};this.getContentElement().addListener(y,this._onChangeContent,this);if(this.__nK){this.addListener(j,this._syncPlaceholder,this);}else {qx.ui.form.AbstractField.__nJ();this.getContentElement().addClass(D);};if(qx.core.Environment.get(bH)){qx.locale.Manager.getInstance().addListener(bT,this._onChangeLocale,this);};},events:{"input":t,"changeValue":t},properties:{textAlign:{check:[cb,x,bD],nullable:true,themeable:true,apply:d},readOnly:{check:f,apply:J,event:bX,init:false},selectable:{refine:true,init:true},focusable:{refine:true,init:true},maxLength:{apply:S,check:F,init:Infinity},liveUpdate:{check:f,init:false},placeholder:{check:bC,nullable:true,apply:bU},filter:{check:h,nullable:true,init:null}},members:{__nL:true,_placeholder:null,__iU:null,__iV:null,__nK:true,__lw:null,__lA:null,getFocusElement:function(){var ch=this.getContentElement();if(ch){return ch;};},_createInputElement:function(){return new qx.html.Input(b);},renderLayout:function(cq,top,cl,cj){var ci=this._updateInsets;var co=qx.ui.core.Widget.prototype.renderLayout.call(this,cq,top,cl,cj);if(!co){return;};var cm=co.size||ci;var cp=g;if(cm||co.local||co.margin){var innerWidth=cl;var innerHeight=cj;};var cn=this.getContentElement();if(ci&&this.__nK){if(this.__nK){var ck=this.getInsets();this._getPlaceholderElement().setStyles({paddingTop:ck.top+cp,paddingRight:ck.right+cp,paddingBottom:ck.bottom+cp,paddingLeft:ck.left+cp});};};if(cm||co.margin){if(this.__nK){var ck=this.getInsets();this._getPlaceholderElement().setStyles({"width":(innerWidth-ck.left-ck.right)+cp,"height":(innerHeight-ck.top-ck.bottom)+cp});};cn.setStyles({"width":innerWidth+cp,"height":innerHeight+cp});this._renderContentElement(innerHeight,cn);};if(co.position){if(this.__nK){this._getPlaceholderElement().setStyles({"left":cq+cp,"top":top+cp});};};},_renderContentElement:function(innerHeight,cr){},_createContentElement:function(){var cs=this._createInputElement();cs.setSelectable(this.getSelectable());cs.setEnabled(this.getEnabled());cs.addListener(q,this._onHtmlInput,this);cs.setAttribute(bI,bJ);cs.addClass(X);if((qx.core.Environment.get(bO)==bN)&&(qx.core.Environment.get(K)==8)){cs.setStyles({backgroundImage:H+qx.util.ResourceManager.getInstance().toUri(bV)+i});};return cs;},_applyEnabled:function(cv,cu){qx.ui.core.Widget.prototype._applyEnabled.call(this,cv,cu);this.getContentElement().setEnabled(cv);if(this.__nK){if(cv){this._showPlaceholder();}else {this._removePlaceholder();};}else {var ct=this.getContentElement();ct.setAttribute(A,cv?this.getPlaceholder():P);};},__nM:{width:16,height:16},_getContentHint:function(){return {width:this.__nM.width*10,height:this.__nM.height||16};},_applyFont:function(cy,cx){if(cx&&this.__lw&&this.__lA){this.__lw.removeListenerById(this.__lA);this.__lA=null;};var cw;if(cy){this.__lw=qx.theme.manager.Font.getInstance().resolve(cy);if(this.__lw instanceof qx.bom.webfonts.WebFont){this.__lA=this.__lw.addListener(z,this._onWebFontStatusChange,this);};cw=this.__lw.getStyles();}else {cw=qx.bom.Font.getDefaultStyles();};if(this.getTextColor()!=null){delete cw[r];};if(qx.core.Environment.get(bO)==bN&&qx.core.Environment.get(K)<11){qx.html.Element.flush();this.getContentElement().setStyles(cw,true);}else {this.getContentElement().setStyles(cw);};if(this.__nK){delete cw[r];this._getPlaceholderElement().setStyles(cw);};if(cy){this.__nM=qx.bom.Label.getTextSize(m,cw);}else {delete this.__nM;};qx.ui.core.queue.Layout.add(this);},_applyTextColor:function(cA,cz){if(cA){this.getContentElement().setStyle(r,qx.theme.manager.Color.getInstance().resolve(cA));}else {this.getContentElement().removeStyle(r);};},_applyMaxLength:function(cC,cB){if(cC){this.getContentElement().setAttribute(bE,cC);}else {this.getContentElement().removeAttribute(bE);};},tabFocus:function(){qx.ui.core.Widget.prototype.tabFocus.call(this);this.selectAllText();},_getTextSize:function(){return this.__nM;},_onHtmlInput:function(e){var cF=e.getData();var cE=true;this.__nL=false;if(this.__iV&&this.__iV===cF){cE=false;};if(this.getFilter()!=null){var cH=P;var cD=cF.search(this.getFilter());var cG=cF;while(cD>=0){cH=cH+(cG.charAt(cD));cG=cG.substring(cD+1,cG.length);cD=cG.search(this.getFilter());};if(cH!=cF){cE=false;cF=cH;this.getContentElement().setValue(cF);};};if(cE){this.fireDataEvent(q,cF,this.__iV);this.__iV=cF;if(this.getLiveUpdate()){this.__nN(cF);};};},_onWebFontStatusChange:function(cJ){if(cJ.getData().valid===true){var cI=this.__lw.getStyles();this.__nM=qx.bom.Label.getTextSize(m,cI);qx.ui.core.queue.Layout.add(this);};},__nN:function(cL){var cK=this.__iU;this.__iU=cL;if(cK!=cL){this.fireNonBubblingEvent(bR,qx.event.type.Data,[cL,cK]);};},setValue:function(cP){if(cP===null){if(this.__nL){return cP;};cP=P;this.__nL=true;}else {this.__nL=false;if(this.__nK){this._removePlaceholder();};};if(qx.lang.Type.isString(cP)){var cO=this.getContentElement();if(cO.getValue()!=cP){var cM=cO.getValue();cO.setValue(cP);var cN=this.__nL?null:cP;this.__iU=cM;this.__nN(cN);this.__iV=this.__iU;};if(this.__nK){this._showPlaceholder();};return cP;};throw new Error(l+cP);},getValue:function(){var cQ=this.getContentElement().getValue();return this.__nL?null:cQ;},resetValue:function(){this.setValue(null);},_onChangeContent:function(e){this.__nL=e.getData()===null;this.__nN(e.getData());},getTextSelection:function(){return this.getContentElement().getTextSelection();},getTextSelectionLength:function(){return this.getContentElement().getTextSelectionLength();},getTextSelectionStart:function(){return this.getContentElement().getTextSelectionStart();},getTextSelectionEnd:function(){return this.getContentElement().getTextSelectionEnd();},setTextSelection:function(cR,cS){this.getContentElement().setTextSelection(cR,cS);},clearTextSelection:function(){this.getContentElement().clearTextSelection();},selectAllText:function(){this.setTextSelection(0);},setLayoutParent:function(parent){qx.ui.core.Widget.prototype.setLayoutParent.call(this,parent);if(this.__nK){if(parent){this.getLayoutParent().getContentElement().add(this._getPlaceholderElement());}else {var cT=this._getPlaceholderElement();cT.getParent().remove(cT);};};},_showPlaceholder:function(){var cV=this.getValue()||P;var cU=this.getPlaceholder();if(cU!=null&&cV==P&&!this.hasState(C)&&!this.hasState(O)){if(this.hasState(v)){this._syncPlaceholder();}else {this.addState(v);};};},_onMouseDownPlaceholder:function(){window.setTimeout(function(){this.focus();}.bind(this),0);},_removePlaceholder:function(){if(this.hasState(v)){if(this.__nK){this._getPlaceholderElement().setStyle(R,bY);};this.removeState(v);};},_syncPlaceholder:function(){if(this.hasState(v)&&this.__nK){this._getPlaceholderElement().setStyle(R,E);};},_getPlaceholderElement:function(){if(this._placeholder==null){this._placeholder=new qx.html.Label();var cW=qx.theme.manager.Color.getInstance();this._placeholder.setStyles({"zIndex":11,"position":ca,"color":cW.resolve(bW),"whiteSpace":bG,"cursor":b,"visibility":bY});this._placeholder.addListener(p,this._onMouseDownPlaceholder,this);};return this._placeholder;},_onChangeLocale:qx.core.Environment.select(bH,{"true":function(e){var content=this.getPlaceholder();if(content&&content.translate){this.setPlaceholder(content.translate());};},"false":null}),_onChangeTheme:function(){qx.ui.core.Widget.prototype._onChangeTheme.call(this);if(this._placeholder){this._placeholder.dispose();this._placeholder=null;};if(!this.__nK&&qx.ui.form.AbstractField.__dw){qx.bom.Stylesheet.removeSheet(qx.ui.form.AbstractField.__dw);qx.ui.form.AbstractField.__dw=null;qx.ui.form.AbstractField.__nJ();};},_applyPlaceholder:function(cY,cX){if(this.__nK){this._getPlaceholderElement().setValue(cY);if(cY!=null){this.addListener(u,this._removePlaceholder,this);this.addListener(bK,this._showPlaceholder,this);this._showPlaceholder();}else {this.removeListener(u,this._removePlaceholder,this);this.removeListener(bK,this._showPlaceholder,this);this._removePlaceholder();};}else {if(this.getEnabled()){this.getContentElement().setAttribute(A,cY);};};},_applyTextAlign:function(db,da){this.getContentElement().setStyle(Q,db);},_applyReadOnly:function(dd,dc){var de=this.getContentElement();de.setAttribute(a,dd);if(dd){this.addState(M);this.setFocusable(false);}else {this.removeState(M);this.setFocusable(true);};}},defer:function(df){var dg=s+bP+bM+I+Y+c+U+bL+o+w+bQ;qx.ui.style.Stylesheet.getInstance().addRule(V,dg);},destruct:function(){if(this._placeholder){this._placeholder.removeListener(p,this._onMouseDownPlaceholder,this);var parent=this._placeholder.getParent();if(parent){parent.remove(this._placeholder);};this._placeholder.dispose();};this._placeholder=this.__lw=null;if(qx.core.Environment.get(bH)){qx.locale.Manager.getInstance().removeListener(bT,this._onChangeLocale,this);};if(this.__lw&&this.__lA){this.__lw.removeListenerById(this.__lA);};this.getContentElement().removeListener(q,this._onHtmlInput,this);}});})();(function(){var a="engine.name",b="",c="wrap",d="none",e="Text wrapping is only support by textareas!",f="overflow",g="input",h="qx.html.Input",i="value",j="select",k="disabled",l="read-only",m="textarea",n="overflowX",o="overflowY";qx.Class.define(h,{extend:qx.html.Element,construct:function(r,p,q){if(r===j||r===m){var s=r;}else {s=g;};qx.html.Element.call(this,s,p,q);this.__nO=r;},members:{__nO:null,__nP:null,__nQ:null,_createDomElement:function(){return qx.bom.Input.create(this.__nO);},_applyProperty:function(name,t){qx.html.Element.prototype._applyProperty.call(this,name,t);var u=this.getDomElement();if(name===i){qx.bom.Input.setValue(u,t);}else if(name===c){qx.bom.Input.setWrap(u,t);this.setStyle(f,u.style.overflow,true);this.setStyle(n,u.style.overflowX,true);this.setStyle(o,u.style.overflowY,true);};},setEnabled:qx.core.Environment.select(a,{"webkit":function(v){this.__nQ=v;if(!v){this.setStyles({"userModify":l,"userSelect":d});}else {this.setStyles({"userModify":null,"userSelect":this.__nP?null:d});};},"default":function(w){this.setAttribute(k,w===false);}}),setSelectable:qx.core.Environment.select(a,{"webkit":function(x){this.__nP=x;qx.html.Element.prototype.setSelectable.call(this,this.__nQ&&x);},"default":function(y){qx.html.Element.prototype.setSelectable.call(this,y);}}),setValue:function(z){var A=this.getDomElement();if(A){if(A.value!=z){qx.bom.Input.setValue(A,z);};}else {this._setProperty(i,z);};return this;},getValue:function(){var B=this.getDomElement();if(B){return qx.bom.Input.getValue(B);};return this._getProperty(i)||b;},setWrap:function(C,D){if(this.__nO===m){this._setProperty(c,C,D);}else {throw new Error(e);};return this;},getWrap:function(){if(this.__nO===m){return this._getProperty(c);}else {throw new Error(e);};}}});})();(function(){var a="mshtml",b="engine.name",c="qx.ui.form.TextField",d='px',e="textfield",f="engine.version",g="browser.documentmode";qx.Class.define(c,{extend:qx.ui.form.AbstractField,properties:{appearance:{refine:true,init:e},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{_renderContentElement:function(innerHeight,h){if((qx.core.Environment.get(b)==a)&&(parseInt(qx.core.Environment.get(f),10)<9||qx.core.Environment.get(g)<9)){h.setStyles({"line-height":innerHeight+d});};}}});})();(function(){var a="qx.ui.form.IDateForm",b="qx.event.type.Data";qx.Interface.define(a,{events:{"changeValue":b},members:{setValue:function(c){return arguments.length==1;},resetValue:function(){},getValue:function(){}}});})();(function(){var a="popupOpen",b="blur",c="qx.util.format.DateFormat",d="Escape",f="changeValue",g="Left",h="Down",i="button",j="Up",k="execute",l="qx.event.type.Data",m="inner",n="list",o="changeLocale",p="visible",q="middle",r="String",s="_applyDateFormat",t="",u="changeVisibility",v="textfield",w="mouseup",x="qx.dynlocale",y="medium",z="focusin",A="popup",B="click",C="qx.ui.form.DateField",D="focusout",E="datefield",F="_applyPlaceholder",G="hidden",H="Right";qx.Class.define(C,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.form.MForm],implement:[qx.ui.form.IForm,qx.ui.form.IDateForm],construct:function(){qx.ui.core.Widget.call(this);var J=new qx.ui.layout.HBox();this._setLayout(J);J.setAlignY(q);var I=this._createChildControl(v);this._createChildControl(i);this.addListener(B,this._onClick,this);this.addListener(b,this._onBlur,this);this.addListener(z,function(e){I.fireNonBubblingEvent(z,qx.event.type.Focus);I.setTextSelection(0,0);},this);this.addListener(D,function(e){I.fireNonBubblingEvent(D,qx.event.type.Focus);},this);this._setDefaultDateFormat();this._addLocaleChangeListener();},events:{"changeValue":l},properties:{dateFormat:{check:c,apply:s},placeholder:{check:r,nullable:true,apply:F},appearance:{refine:true,init:E},focusable:{refine:true,init:true},width:{refine:true,init:120}},statics:{__nR:null,__nS:null,getDefaultDateFormatter:function(){var K=qx.locale.Date.getDateFormat(y).toString();if(K==this.__nR){return this.__nS;};if(this.__nS){this.__nS.dispose();};this.__nS=new qx.util.format.DateFormat(K,qx.locale.Manager.getInstance().getLocale());this.__nR=K;return this.__nS;}},members:{__nT:null,_forwardStates:{focused:true,invalid:true},_setDefaultDateFormat:function(){this.setDateFormat(qx.ui.form.DateField.getDefaultDateFormatter());},_addLocaleChangeListener:function(){if(qx.core.Environment.get(x)){this.__nT=qx.locale.Manager.getInstance().addListener(o,function(){this._setDefaultDateFormat();},this);};},setValue:function(N){var L=this.getChildControl(v);L.setValue(this.getDateFormat().format(N));var M=this.getChildControl(n);M.setValue(N);},getValue:function(){var O=this.getChildControl(v).getValue();try{return this.getDateFormat().parse(O);}catch(P){return null;};},resetValue:function(){var Q=this.getChildControl(v);Q.setValue(t);var R=this.getChildControl(n);R.setValue(null);},open:function(){var S=this.getChildControl(A);S.placeToWidget(this,true);S.show();},close:function(){this.getChildControl(A).hide();},toggle:function(){var T=this.getChildControl(A).isVisible();if(T){this.close();}else {this.open();};},_applyDateFormat:function(Y,W){if(!W){return;};try{var V=this.getChildControl(v);var X=V.getValue();var U=W.parse(X);V.setValue(Y.format(U));}catch(ba){};},_applyPlaceholder:function(bc,bb){this.getChildControl(v).setPlaceholder(bc);},_createChildControlImpl:function(bf,be){var bd;switch(bf){case v:bd=new qx.ui.form.TextField();bd.setFocusable(false);bd.addState(m);bd.addListener(f,this._onTextFieldChangeValue,this);bd.addListener(b,this.close,this);this._add(bd,{flex:1});break;case i:bd=new qx.ui.form.Button();bd.setFocusable(false);bd.setKeepActive(true);bd.addState(m);bd.addListener(k,this.toggle,this);this._add(bd);break;case n:bd=new qx.ui.control.DateChooser();bd.setFocusable(false);bd.setKeepFocus(true);bd.addListener(k,this._onChangeDate,this);break;case A:bd=new qx.ui.popup.Popup(new qx.ui.layout.VBox);bd.setAutoHide(false);bd.add(this.getChildControl(n));bd.addListener(w,this._onChangeDate,this);bd.addListener(u,this._onPopupChangeVisibility,this);break;};return bd||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bf);},_onChangeDate:function(e){var bg=this.getChildControl(v);var bh=this.getChildControl(n).getValue();bg.setValue(this.getDateFormat().format(bh));this.close();},_onClick:function(e){this.close();},_onBlur:function(e){this.close();},_onKeyPress:function(e){var bi=e.getKeyIdentifier();if(bi==h&&e.isAltPressed()){this.toggle();e.stopPropagation();return;};var bj=this.getChildControl(A);if(bj.getVisibility()==G){return;};if(bi==d){this.close();e.stopPropagation();return;};if(bi===g||bi===H||bi===h||bi===j){e.preventDefault();};this.getChildControl(n).handleKeyPress(e);},_onPopupChangeVisibility:function(e){e.getData()==p?this.addState(a):this.removeState(a);var bl=this.getChildControl(A);if(bl.isVisible()){var bm=this.getChildControl(n);var bk=this.getValue();bm.setValue(bk);};},_onTextFieldChangeValue:function(e){var bn=this.getValue();if(bn!=null){var bo=this.getChildControl(n);bo.setValue(bn);};this.fireDataEvent(f,this.getValue());},isEmpty:function(){var bp=this.getChildControl(v).getValue();return bp==null||bp==t;}},destruct:function(){if(qx.core.Environment.get(x)){if(this.__nT){qx.locale.Manager.getInstance().removeListenerById(this.__nT);};};}});})();(function(){var a="format",b='format',c="short",d="HH:mm",e='_',f="HHmmsszz",g="HHmm",h="HHmmss",j="thu",k="This case should never happen.",l="sat",m="cldr_date_format_",n="HH:mm:ss zz",o="full",p="cldr_pm",q="cldr_day_",r="_",s="cldr_month_",t="long",u="wed",v="medium",w="fri",x="cldr_am",y="tue",z="qx.locale.Date",A="mon",B="cldr_date_time_format_",C="sun",D="cldr_time_format_",E="HH:mm:ss",F='stand-alone';qx.Class.define(z,{statics:{__nU:qx.locale.Manager.getInstance(),getAmMarker:function(G){return this.__nU.localize(x,[],G);},getPmMarker:function(H){return this.__nU.localize(p,[],H);},getDayNames:function(length,J,N,K){var N=N?N:a;{};var L=[C,A,y,u,j,w,l];var M=[];for(var i=0;ibD){return ((bC>=bD)&&(bC<=bB));}else {return ((bC>=bD)||(bC<=bB));};},_getTerritory:function(bE){if(bE){var bF=bE.split(r)[1]||bE;}else {bF=this.__nU.getTerritory()||this.__nU.getLanguage();};return bF.toUpperCase();},__nV:function(bI,bH,bL,bK){var bJ=this.__nU.localize(bL,[],bK);if(bJ==bL){var bG=bL.replace(e+bI+e,e+bH+e);return this.__nU.localize(bG,[],bK);}else {return bJ;};}}});})();(function(){var a="qx.util.format.IFormat";qx.Interface.define(a,{members:{format:function(b){},parse:function(c){}}});})();(function(){var a="-",b="QQQ",c='W',d="qqqq",e="h",f="KK",g='L',h=" is not supported",m="Z",n="Date string '",o="GGGGG",p='abbreviated',q="Y+",r=". Wildcard ",s="eeeee",t="(\\d\\d?)",u="LL",v="abbreviated",w="EEEE",x="^",y=":",z='y',A="quoted_literal",B="weekOfYear",C="locale",D="SSS",E='a',F="day",G="(-*",H="qqq",I='3rd quarter',J="K",K='q',L="pm",M="Error parsing date '",N='Anno Domini',O='G',P="a",Q='2nd quarter',R="yyyy-MM-dd'T'HH:mm:ss",S="GMT",T="HH:mm:ss",U="dd",V="+",W="qx.util.format.DateFormat",X='weekDay',Y="am",ej="eee",ee="quarter",ek="ee",eg="q",eh="QQQQ",ed="HHmmss",ei="ww",eo="H",ep='Y+',eq="wide",er='wide',el="(\\d\\d\\d?)",em="(GMT[\\+\\-]\\d\\d:\\d\\d)",ef="_applyLocale",en="Q",ev="c",eY="(",ew="weekOfMonth",ex="ccc",es="long",et="Malformed date format: ",ga="EEEEE",eu='Y',ey="EE",ez="GGG",eA='-',eF="w",eG="mm",eH='h',eB="S",eC='s',eD='A',eE="yyyy-MM-dd",eM="G",eN='z',eO="GG",eP=")",eI="kk",eJ="ss",eK="([\\+\\-]\\d\\d\\d\\d)",eL="default",eT='BC',eU='H',ge='S',eV='1st quarter',eQ="stand-alone",eR="0",gc="MMMM",eS='c',eW="d",eX='Q',fk='Q1',fj="eeee",fi="QQ",fo="LLLLL",fn="HH",fm='k',fl="m",fd="DDD",fc="D",fb='D',fa="LLLL",fh="(\\d\\d*?)",fg='e',ff="': the value for day or month is too large",fe="literal",fv='K',fu="L",ft="hh",fs="ms",fz="(\\d\\d?\\d?)",fy="cccc",fx="e",fw='y+',fr="|",fq="W",fp="dayOfYear",fK="GGGG",fJ='Q2',fI='B',fO="MM",fN='Q4',fM="y+",fL='narrow',fD="ccccc",fC="E",fB="wildcard",fA='',fH="' does not match the date format: ",fG="short",fF='d',fE="unkown",fU="narrow",fT="\\d?",fS="'",fR="k",fY='Before Christ',fX='Z',fW='m',fV=" ",fQ="yyyy-MM-dd'T'HH:mm:ss'Z'",fP="String",dO='Q3',dN="z",gf="DD",dL="min",dM="",dK='M',gd="sec",dI='isoUtcDateTime',dJ='4th quarter',dH="(\\d?)",gb="SS",dF="MMM",dG="s",dE="M",dX='w',dY="EEE",dV="$",dW="?",dT='AD',dU="\\d",dS="+?",dD="hour",dQ="MMMMM",dR='E',dP='month',ec="LLL",ea="qq",eb="format";qx.Class.define(W,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(gh,gg){qx.core.Object.call(this);if(!gg){this.__kn=qx.locale.Manager.getInstance().getLocale();this.__nW=qx.locale.Manager.getInstance().bind(C,this,C);}else {this.__kn=gg;this.setLocale(gg);};this.__nX=this.__kn;if(gh!=null){this.__nY=gh.toString();if(this.__nY in qx.util.format.DateFormat.ISO_MASKS){if(this.__nY===dI){this.__oa=true;};this.__nY=qx.util.format.DateFormat.ISO_MASKS[this.__nY];};}else {this.__nY=qx.locale.Date.getDateFormat(es,this.__kn)+fV+qx.locale.Date.getDateTimeFormat(ed,T,this.__kn);};},properties:{locale:{apply:ef,nullable:true,check:fP}},statics:{getDateInstance:function(){var gi=qx.util.format.DateFormat;var gj=qx.locale.Date.getDateFormat(fG)+dM;if(gi._dateInstance==null||gi._dateInstance.__nY!=gj){gi._dateInstance=new gi(gj);};return gi._dateInstance;},getDateTimeInstance:function(){var gk=qx.util.format.DateFormat;var gl=qx.locale.Date.getDateFormat(es)+fV+qx.locale.Date.getDateTimeFormat(ed,T);if(gk._dateTimeInstance==null||gk._dateTimeInstance.__nY!=gl){gk._dateTimeInstance=new gk(gl);};return gk._dateTimeInstance;},ASSUME_YEAR_2000_THRESHOLD:30,ISO_MASKS:{isoDate:eE,isoTime:T,isoDateTime:R,isoUtcDateTime:fQ},AM_MARKER:Y,PM_MARKER:L},members:{__nW:null,__kn:null,__nX:null,__nY:null,__ob:null,__oc:null,__od:null,__oa:null,__oe:function(gn,gm){var go=dM+(gn<0?(-1*gn):gn);while(go.length0?1:-1;var gR=Math.floor(Math.abs(hb)/60);var hj=Math.abs(hb)%60;this.__on();var hl=dM;for(var i=0;ihn.length){for(var j=hn.length;jhn.length){for(var j=gV.length;j=1&&he<=3){hn=gY>0?dT:eT;}else if(he==4){hn=gY>0?N:fY;}else if(he==5){hn=gY>0?eD:fI;};break;case eX:if(he==1||he==2){hn=this.__oe(parseInt(gU/4)+1,he);};if(he==3){hn=eX+(parseInt(gU/4)+1);};break;case K:if(he==1||he==2){hn=this.__oe(parseInt(gU/4)+1,he);};if(he==3){hn=eX+(parseInt(gU/4)+1);};break;case fb:hn=this.__oe(this.__of(hh),he);break;case fF:hn=this.__oe(gX,he);break;case dX:hn=this.__oe(this.__oh(hh),he);break;case c:hn=this.__oi(hh);break;case dR:if(he>=1&&he<=3){hn=qx.locale.Date.getDayName(v,hc,gT,eb,true);}else if(he==4){hn=qx.locale.Date.getDayName(eq,hc,gT,eb,true);}else if(he==5){hn=qx.locale.Date.getDayName(fU,hc,gT,eb,true);};break;case fg:var gW=qx.locale.Date.getWeekStart(gT);var hi=1+((hc-gW>=0)?(hc-gW):7+(hc-gW));if(he>=1&&he<=2){hn=this.__oe(hi,he);}else if(he==3){hn=qx.locale.Date.getDayName(v,hc,gT,eb,true);}else if(he==4){hn=qx.locale.Date.getDayName(eq,hc,gT,eb,true);}else if(he==5){hn=qx.locale.Date.getDayName(fU,hc,gT,eb,true);};break;case eS:var gW=qx.locale.Date.getWeekStart(gT);var hi=1+((hc-gW>=0)?(hc-gW):7+(hc-gW));if(he==1){hn=fA+hi;}else if(he==3){hn=qx.locale.Date.getDayName(v,hc,gT,eQ,true);}else if(he==4){hn=qx.locale.Date.getDayName(eq,hc,gT,eQ,true);}else if(he==5){hn=qx.locale.Date.getDayName(fU,hc,gT,eQ,true);};break;case dK:if(he==1||he==2){hn=this.__oe(gU+1,he);}else if(he==3){hn=qx.locale.Date.getMonthName(v,gU,gT,eb,true);}else if(he==4){hn=qx.locale.Date.getMonthName(eq,gU,gT,eb,true);}else if(he==5){hn=qx.locale.Date.getMonthName(fU,gU,gT,eb,true);};break;case g:if(he==1||he==2){hn=this.__oe(gU+1,he);}else if(he==3){hn=qx.locale.Date.getMonthName(v,gU,gT,eQ,true);}else if(he==4){hn=qx.locale.Date.getMonthName(eq,gU,gT,eQ,true);}else if(he==5){hn=qx.locale.Date.getMonthName(fU,gU,gT,eQ,true);};break;case E:hn=(hf<12)?qx.locale.Date.getAmMarker(gT):qx.locale.Date.getPmMarker(gT);break;case eU:hn=this.__oe(hf,he);break;case fm:hn=this.__oe((hf==0)?24:hf,he);break;case fv:hn=this.__oe(hf%12,he);break;case eH:hn=this.__oe(((hf%12)==0)?12:(hf%12),he);break;case fW:hn=this.__oe(hm,he);break;case eC:hn=this.__oe(hd,he);break;case ge:hn=this.__oe(hk,3);if(hehn.length){hn+=eR;};};break;case eN:if(he>=1&&he<=4){hn=S+((hg>0)?a:V)+this.__oe(Math.abs(gR),2)+y+this.__oe(hj,2);};break;case fX:if(he>=1&&he<=3){hn=((hg>0)?a:V)+this.__oe(Math.abs(gR),2)+this.__oe(hj,2);}else {hn=S+((hg>0)?a:V)+this.__oe(Math.abs(gR),2)+y+this.__oe(hj,2);};break;};hl+=hn;};};return hl;},parse:function(hu){this.__oo();var hx=this.__ob.regex.exec(hu);if(hx==null){throw new Error(n+hu+fH+this.__nY);};var ho={era:1,year:1970,quarter:1,month:0,day:1,dayOfYear:1,hour:0,ispm:false,weekDay:4,weekYear:1970,weekOfMonth:1,weekOfYear:1,min:0,sec:0,ms:0};var hs=1;var hp=false;var hq=false;for(var i=0;i=hA.length){i++ ;break;};var hB=hA.charAt(i+1);if(hB==fS){hG+=hF;i++ ;}else {i++ ;hD=fE;};}else {hG+=hF;i++ ;};break;case fB:if(hF==hE){hC++ ;i++ ;}else {this.__od.push({type:fB,character:hE,size:hC});hE=null;hC=0;hD=eL;};break;default:if((hF>=E&&hF<=eN)||(hF>=eD&&hF<=fX)){hE=hF;hD=fB;}else if(hF==fS){if(i+1>=hA.length){hG+=hF;i++ ;break;};var hB=hA.charAt(i+1);if(hB==fS){hG+=hF;i++ ;};i++ ;hD=A;}else {hD=eL;};if(hD!=eL){if(hG.length>0){this.__od.push({type:fe,text:hG});hG=dM;};}else {hG+=hF;i++ ;};break;};};if(hE!=null){this.__od.push({type:fB,character:hE,size:hC});}else if(hG.length>0){this.__od.push({type:fe,text:hG});};},__oo:function(){if(this.__ob!=null){return;};var hK=this.__nY;this.__oq();this.__on();var hQ=[];var hL=x;for(var hI=0;hI0){if(iB0){if(iD=0;var ji=function(){var jo=jg?jj:jf;var jp=jm===jo[0]?eQ:eb;var jn=jh.length;var jq=p;switch(jn){case 4:jq=er;break;case 5:jq=fL;break;default:jq=p;};return [jp,jq];};if(!ig[jh]){ig[jh]={};var je=ji();var jl=jg?qx.locale.Date.getMonthNames:qx.locale.Date.getDayNames;var jk=jl.call(qx.locale.Date,je[1],hY,je[0],true);for(var i=0,l=jk.length;i=12){bT=0;bR++ ;};break;case this.getChildControl(V):bR++ ;break;};this.showMonth(bT,bR);},_onDayClicked:function(bU){var bV=bU.getCurrentTarget().dateTime;this.setValue(new Date(bV));},_onDayDblClicked:function(){this.execute();},_onKeyPress:function(bY){var ca=null;var cb=null;var bX=null;if(bY.getModifiers()==0){switch(bY.getKeyIdentifier()){case j:ca=-1;break;case bA:ca=1;break;case u:ca=-7;break;case r:ca=7;break;case a:cb=-1;break;case z:cb=1;break;case h:if(this.getValue()!=null){this.setValue(null);return;};break;case v:case p:if(this.getValue()!=null){this.execute();};return;};}else if(bY.isShiftPressed()){switch(bY.getKeyIdentifier()){case a:bX=-1;break;case z:bX=1;break;};};if(ca!=null||cb!=null||bX!=null){var bW=this.getValue();if(bW!=null){bW=new Date(bW.getTime());};if(bW==null){bW=new Date();}else {if(ca!=null){bW.setDate(bW.getDate()+ca);};if(cb!=null){bW.setMonth(bW.getMonth()+cb);};if(bX!=null){bW.setFullYear(bW.getFullYear()+bX);};};this.setValue(bW);};},showMonth:function(cc,cd){if((cc!=null&&cc!=this.getShownMonth())||(cd!=null&&cd!=this.getShownYear())){if(cc!=null){this.setShownMonth(cc);};if(cd!=null){this.setShownYear(cd);};this._updateDatePane();};},handleKeyPress:function(e){this._onKeyPress(e);},_updateDatePane:function(){var ct=qx.ui.control.DateChooser;var cq=new Date();var ci=cq.getFullYear();var co=cq.getMonth();var cl=cq.getDate();var cu=this.getValue();var cx=(cu==null)?-1:cu.getFullYear();var cE=(cu==null)?-1:cu.getMonth();var cn=(cu==null)?-1:cu.getDate();var cm=this.getShownMonth();var cB=this.getShownYear();var cj=qx.locale.Date.getWeekStart();var cv=new Date(this.getShownYear(),this.getShownMonth(),1);var cs=new qx.util.format.DateFormat(ct.MONTH_YEAR_FORMAT);this.getChildControl(O).setValue(cs.format(cv));var cD=cv.getDay();var cp=1+((7-cD)%7);var cw=new qx.util.format.DateFormat(ct.WEEKDAY_FORMAT);for(var i=0;i<7;i++ ){var cy=(i+cj)%7;var cA=this.__or[i];cv.setDate(cp+cy);cA.setValue(cw.format(cv));if(qx.locale.Date.isWeekend(cy)){cA.addState(bw);}else {cA.removeState(bw);};};cv=new Date(cB,cm,1,12,0,0);var cf=(7+cD-cj)%7;cv.setDate(cv.getDate()-cf);var cz=new qx.util.format.DateFormat(ct.WEEK_FORMAT);for(var cr=0;cr<6;cr++ ){this.__ot[cr].setValue(cz.format(cv));for(var i=0;i<7;i++ ){var cA=this.__os[cr*7+i];var ch=cv.getFullYear();var cg=cv.getMonth();var ck=cv.getDate();var ce=(cx==ch&&cE==cg&&cn==ck);if(ce){cA.addState(q);}else {cA.removeState(q);};if(cg!=cm){cA.addState(N);}else {cA.removeState(N);};var cC=(ch==ci&&cg==co&&ck==cl);if(cC){cA.addState(m);}else {cA.removeState(m);};cA.setValue(bo+ck);cA.dateTime=cv.getTime();cv.setDate(cv.getDate()+1);};};cs.dispose();cw.dispose();cz.dispose();}},destruct:function(){if(qx.core.Environment.get(U)){qx.locale.Manager.getInstance().removeListener(B,this._updateDatePane,this);};this.__or=this.__os=this.__ot=null;}});})();(function(){var a="inherit",b="toolbar-button",c="keydown",d="qx.ui.toolbar.Button",e="keyup";qx.Class.define(d,{extend:qx.ui.form.Button,construct:function(f,h,g){qx.ui.form.Button.call(this,f,h,g);this.removeListener(c,this._onKeyDown);this.removeListener(e,this._onKeyUp);},properties:{appearance:{refine:true,init:b},show:{refine:true,init:a},focusable:{refine:true,init:false}},members:{_applyVisibility:function(j,i){qx.ui.form.Button.prototype._applyVisibility.call(this,j,i);var parent=this.getLayoutParent();if(parent&&parent instanceof qx.ui.toolbar.PartContainer){qx.ui.core.queue.Appearance.add(parent);};}}});})();(function(){var a="toolbar/part/container",b="icon",c="changeShow",d="qx.ui.toolbar.PartContainer",e="label",f="both";qx.Class.define(d,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this);this._setLayout(new qx.ui.layout.HBox);},properties:{appearance:{refine:true,init:a},show:{init:f,check:[f,e,b],inheritable:true,event:c}}});})();(function(){var a="_applyOverflowX",b="_applyOverflowY",c="auto",d="overflowX",e="visible",f="hidden",g="qx.ui.core.MNativeOverflow",h="scroll",i="overflowY";qx.Mixin.define(g,{properties:{overflowX:{check:[f,e,h,c],nullable:true,apply:a},overflowY:{check:[f,e,h,c],nullable:true,apply:b},overflow:{group:[d,i]}},members:{_applyOverflowX:function(j){this.getContentElement().setStyle(d,j);},_applyOverflowY:function(k){this.getContentElement().setStyle(i,k);}}});})();(function(){var a="mshtml",b="engine.name",c="relative",d="",e="text",f="none",g="position",h="webkit",i="changeHtml",j="_applyCssClass",k="qx.ui.embed.Html",l="_applyHtml",m="userSelect",n="color",o="String",p="browser.documentmode",q="html";qx.Class.define(k,{extend:qx.ui.core.Widget,include:[qx.ui.core.MNativeOverflow],construct:function(r){qx.ui.core.Widget.call(this);if(r!=null){this.setHtml(r);};},properties:{html:{check:o,apply:l,event:i,nullable:true},cssClass:{check:o,init:d,apply:j},selectable:{refine:true,init:true},focusable:{refine:true,init:true}},members:{getFocusElement:function(){return this.getContentElement();},_applyHtml:function(u,s){var t=this.getContentElement();if(qx.core.Environment.get(b)==a&&qx.core.Environment.get(p)==9){t.setStyle(g,c);};t.setAttribute(q,u||d);},_applyCssClass:function(w,v){this.getContentElement().removeClass(v);this.getContentElement().addClass(w);},_applySelectable:function(x){qx.ui.core.Widget.prototype._applySelectable.call(this,x);if((qx.core.Environment.get(b)==h)){this.getContentElement().setStyle(m,x?e:f);};},_applyFont:function(A,z){var y=A?qx.theme.manager.Font.getInstance().resolve(A).getStyles():qx.bom.Font.getDefaultStyles();if(this.getTextColor()!=null){delete y[n];};this.getContentElement().setStyles(y);},_applyTextColor:function(C,B){if(C){this.getContentElement().setStyle(n,qx.theme.manager.Color.getInstance().resolve(C));}else {this.getContentElement().removeStyle(n);};}}});})();(function(){var c="os.name",d="Abstract method call: _getLastSelectable()",f="Could not select more than one items in mode: ",g="Boolean",h="one",j="Abstract method call: _getLocation()",k="Left",m="Abstract method call: _scrollBy()",n="The method getSelectedItem() is only supported in 'single' and 'one' selection mode!",o="Abstract method call: _scrollItemIntoView()",p="Escape",q="Abstract method call: _isSelectable()",r="Space",s="Abstract method call: _getPage()",t="right",u="lead",v="Down",w="Abstract method call: _getFirstSelectable()",x="Up",y="qx.event.type.Data",z="A",A="_applyMode",B="PageDown",C="Can not select multiple items in selection mode: ",D="osx",E="interval",F="Abstract method call: _styleSelectable()",G="anchor",H="Abstract method call: _capture()",I="Abstract method call: _getDimension()",J="The method invertSelection() is only supported in 'multi' and 'additive' selection mode!",K="!",L="Abstract method call: _getScroll()",M="Abstract method call: _getRelatedSelectable()",N="End",O="quick",P="selected",Q="key",R="Abstract method call: _getSelectableLocationX()",S="multi",T="left",U="Abstract method call: _selectableToHashCode()",V="Home",W="Can not select all items in selection mode: ",X="single",Y="Right",bs="Abstract method call: getSelectables()",bt="Abstract method call: _getSelectableLocationY()",bu="additive",bo="click",bp="abstract",bq="changeSelection",br="__ow",by="above",bz="Abstract method call: _getSelectableRange()",bA="under",bB="drag",bv="PageUp",bw="qx.ui.core.selection.Abstract",bx="Abstract method call: _releaseCapture()";qx.Class.define(bw,{type:bp,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__gm={};},events:{"changeSelection":y},properties:{mode:{check:[X,S,bu,h],init:X,apply:A},drag:{check:g,init:false},quick:{check:g,init:false}},members:{__ou:0,__ov:0,__ow:null,__ox:null,__oy:null,__oz:null,__oA:null,__oB:null,__oC:null,__oD:null,__oE:null,__oF:null,__oG:null,__oH:null,__oI:null,__oJ:null,__oK:null,__gm:null,__oL:null,__oM:null,_userInteraction:false,__oN:null,getSelectionContext:function(){return this.__oJ;},selectAll:function(){var bC=this.getMode();if(bC==X||bC==h){throw new Error(W+bC);};this._selectAllItems();this._fireChange();},selectItem:function(bD){this._setSelectedItem(bD);var bE=this.getMode();if(bE!==X&&bE!==h){this._setLeadItem(bD);this._setAnchorItem(bD);};this._scrollItemIntoView(bD);this._fireChange();},addItem:function(bF){var bG=this.getMode();if(bG===X||bG===h){this._setSelectedItem(bF);}else {if(this._getAnchorItem()==null){this._setAnchorItem(bF);};this._setLeadItem(bF);this._addToSelection(bF);};this._scrollItemIntoView(bF);this._fireChange();},removeItem:function(bH){this._removeFromSelection(bH);if(this.getMode()===h&&this.isSelectionEmpty()){var bI=this._applyDefaultSelection();if(bI==bH){return;};};if(this.getLeadItem()==bH){this._setLeadItem(null);};if(this._getAnchorItem()==bH){this._setAnchorItem(null);};this._fireChange();},selectItemRange:function(bJ,bK){var bL=this.getMode();if(bL==X||bL==h){throw new Error(C+bL);};this._selectItemRange(bJ,bK);this._setAnchorItem(bJ);this._setLeadItem(bK);this._scrollItemIntoView(bK);this._fireChange();},clearSelection:function(){if(this.getMode()==h){var bM=this._applyDefaultSelection(true);if(bM!=null){return;};};this._clearSelection();this._setLeadItem(null);this._setAnchorItem(null);this._fireChange();},replaceSelection:function(bN){var bO=this.getMode();if(bO==h||bO===X){if(bN.length>1){throw new Error(f+bO+K);};if(bN.length==1){this.selectItem(bN[0]);}else {this.clearSelection();};return;}else {this._replaceMultiSelection(bN);};},getSelectedItem:function(){var bP=this.getMode();if(bP===X||bP===h){var bQ=this._getSelectedItem();return bQ!=undefined?bQ:null;};throw new Error(n);},getSelection:function(){return qx.lang.Object.getValues(this.__gm);},getSortedSelection:function(){var bS=this.getSelectables();var bR=qx.lang.Object.getValues(this.__gm);bR.sort(function(a,b){return bS.indexOf(a)-bS.indexOf(b);});return bR;},isItemSelected:function(bT){var bU=this._selectableToHashCode(bT);return this.__gm[bU]!==undefined;},isSelectionEmpty:function(){return qx.lang.Object.isEmpty(this.__gm);},invertSelection:function(){var bW=this.getMode();if(bW===X||bW===h){throw new Error(J);};var bV=this.getSelectables();for(var i=0;ithis.__oB){this.__oG=1;}else if(cHthis.__oC){this.__oH=1;}else if(cIlocation.right){this.__ou=this.__oE-location.right;}else {this.__ou=0;};if(this.__oFlocation.bottom){this.__ov=this.__oF-location.bottom;}else {this.__ov=0;};if(!this.__ow){this.__ow=new qx.event.Timer(100);this.__ow.addListener(E,this._onInterval,this);};this.__ow.start();this._autoSelect();event.stopPropagation();this._userInteraction=false;},handleAddItem:function(e){var cJ=e.getData();if(this.getMode()===h&&this.isSelectionEmpty()){this.addItem(cJ);};},handleRemoveItem:function(e){this.removeItem(e.getData());},_cleanup:function(){if(!this.getDrag()&&this.__oD){return;};if(this.__oI){this._fireChange(bo);};delete this.__oD;delete this.__oy;delete this.__oz;this._releaseCapture();if(this.__ow){this.__ow.stop();};},_onInterval:function(e){this._scrollBy(this.__ou,this.__ov);this.__ox=this._getScroll();this._autoSelect();},_autoSelect:function(){var cS=this._getDimension();var cL=Math.max(0,Math.min(this.__oE-this.__oA.left,cS.width))+this.__ox.left;var cK=Math.max(0,Math.min(this.__oF-this.__oA.top,cS.height))+this.__ox.top;if(this.__oy===cL&&this.__oz===cK){return;};this.__oy=cL;this.__oz=cK;var cP=this._getAnchorItem();var cN=cP;var cQ=this.__oG;var cT,cM;while(cQ!==0){cT=cQ>0?this._getRelatedSelectable(cN,t):this._getRelatedSelectable(cN,T);if(cT!==null){cM=this._getSelectableLocationX(cT);if((cQ>0&&cM.left<=cL)||(cQ<0&&cM.right>=cL)){cN=cT;continue;};};break;};var cR=this.__oH;var cU,cO;while(cR!==0){cU=cR>0?this._getRelatedSelectable(cN,bA):this._getRelatedSelectable(cN,by);if(cU!==null){cO=this._getSelectableLocationY(cU);if((cR>0&&cO.top<=cK)||(cR<0&&cO.bottom>=cK)){cN=cU;continue;};};break;};var cV=this.getMode();if(cV===S){this._selectItemRange(cP,cN);}else if(cV===bu){if(this.isItemSelected(cP)){this._selectItemRange(cP,cN,true);}else {this._deselectItemRange(cP,cN);};this._setAnchorItem(cN);};this._fireChange(bB);},__oO:{Home:1,Down:1,Right:1,PageDown:1,End:1,Up:1,Left:1,PageUp:1},handleKeyPress:function(event){this._userInteraction=true;var dc,db;var de=event.getKeyIdentifier();var dd=this.getMode();var cX=event.isCtrlPressed()||(qx.core.Environment.get(c)==D&&event.isMetaPressed());var cY=event.isShiftPressed();var da=false;if(de===z&&cX){if(dd!==X&&dd!==h){this._selectAllItems();da=true;};}else if(de===p){if(dd!==X&&dd!==h){this._clearSelection();da=true;};}else if(de===r){var cW=this.getLeadItem();if(cW!=null&&!cY){if(cX||dd===bu){this._toggleInSelection(cW);}else {this._setSelectedItem(cW);};da=true;};}else if(this.__oO[de]){da=true;if(dd===X||dd==h){dc=this._getSelectedItem();}else {dc=this.getLeadItem();};if(dc!==null){switch(de){case V:db=this._getFirstSelectable();break;case N:db=this._getLastSelectable();break;case x:db=this._getRelatedSelectable(dc,by);break;case v:db=this._getRelatedSelectable(dc,bA);break;case k:db=this._getRelatedSelectable(dc,T);break;case Y:db=this._getRelatedSelectable(dc,t);break;case bv:db=this._getPage(dc,true);break;case B:db=this._getPage(dc,false);break;};}else {switch(de){case V:case v:case Y:case B:db=this._getFirstSelectable();break;case N:case x:case k:case bv:db=this._getLastSelectable();break;};};if(db!==null){switch(dd){case X:case h:this._setSelectedItem(db);break;case bu:this._setLeadItem(db);break;case S:if(cY){var df=this._getAnchorItem();if(df===null){this._setAnchorItem(df=this._getFirstSelectable());};this._setLeadItem(db);this._selectItemRange(df,db,cX);}else {this._setAnchorItem(db);this._setLeadItem(db);if(!cX){this._setSelectedItem(db);};};break;};this.__oN=this._getScroll().top;this._scrollItemIntoView(db);};};if(da){event.stop();this._fireChange(Q);};this._userInteraction=false;},_selectAllItems:function(){var dg=this.getSelectables();for(var i=0,l=dg.length;i=2)){this._clearSelection();this._addToSelection(dz);};};},_addToSelection:function(dB){var dC=this._selectableToHashCode(dB);if(this.__gm[dC]==null&&this._isSelectable(dB)){this.__gm[dC]=dB;this._styleSelectable(dB,P,true);this.__oI=true;};},_toggleInSelection:function(dD){var dE=this._selectableToHashCode(dD);if(this.__gm[dE]==null){this.__gm[dE]=dD;this._styleSelectable(dD,P,true);}else {delete this.__gm[dE];this._styleSelectable(dD,P,false);};this.__oI=true;},_removeFromSelection:function(dF){var dG=this._selectableToHashCode(dF);if(this.__gm[dG]!=null){delete this.__gm[dG];this._styleSelectable(dF,P,false);this.__oI=true;};},_replaceMultiSelection:function(dJ){var dK=false;var dN,dM;var dI={};for(var i=0,l=dJ.length;i0;i-- ){if(this._isItemSelectable(J[i])){return J[i];};};return null;},_getRelatedSelectable:function(N,O){var L=this.__lr.getOrientation()===a;var P=this.__lr.getChildren();var K=P.indexOf(N);var M;if((L&&O===c)||(!L&&O===e)){for(var i=K-1;i>=0;i-- ){M=P[i];if(this._isItemSelectable(M)){return M;};};}else if((L&&O===b)||(!L&&O===f)){for(var i=K+1;i=0;i-- ){top=h.getItemTop(q[i]);if(top=p){n-=innerHeight+r-h.getItemBottom(k);s=null;continue;};return q[s];};}else {var m=innerHeight+r;var i=p;while(1){for(;im){s=i-1;break;};};if(s==null){var j=this._getLastSelectable();return j==k?null:j;};if(s<=p){m+=h.getItemTop(k)-r;s=null;continue;};return q[s];};};}}});})();(function(){var a="mousedown",b="Boolean",c="one",d="qx.event.type.Data",f=", because it is not a child element!",g="_applyDragSelection",h="Could not add + ",j="mousemove",k="changeSelection",l="Could not test if ",m="Could not remove ",n="addItem",o=" from selection, because it is not a child element!",p="multi",q="_applyQuickSelection",r="single",s="mouseover",t=" is selected, because it is not a child element!",u="__gi",v="_applySelectionMode",w="additive",x="mouseup",y="keypress",z="losecapture",A="Could not select ",B="removeItem",C=" to selection, because it is not a child element!",D="qx.ui.core.MMultiSelectionHandling";qx.Mixin.define(D,{construct:function(){var F=this.SELECTION_MANAGER;var E=this.__gi=new F(this);this.addListener(a,E.handleMouseDown,E);this.addListener(x,E.handleMouseUp,E);this.addListener(s,E.handleMouseOver,E);this.addListener(j,E.handleMouseMove,E);this.addListener(z,E.handleLoseCapture,E);this.addListener(y,E.handleKeyPress,E);this.addListener(n,E.handleAddItem,E);this.addListener(B,E.handleRemoveItem,E);E.addListener(k,this._onSelectionChange,this);},events:{"changeSelection":d},properties:{selectionMode:{check:[r,p,w,c],init:r,apply:v},dragSelection:{check:b,init:false,apply:g},quickSelection:{check:b,init:false,apply:q}},members:{__gi:null,selectAll:function(){this.__gi.selectAll();},isSelected:function(G){if(!qx.ui.core.Widget.contains(this,G)){throw new Error(l+G+t);};return this.__gi.isItemSelected(G);},addToSelection:function(H){if(!qx.ui.core.Widget.contains(this,H)){throw new Error(h+H+C);};this.__gi.addItem(H);},removeFromSelection:function(I){if(!qx.ui.core.Widget.contains(this,I)){throw new Error(m+I+o);};this.__gi.removeItem(I);},selectRange:function(J,K){this.__gi.selectItemRange(J,K);},resetSelection:function(){this.__gi.clearSelection();},setSelection:function(L){for(var i=0;i1){this.__oV=[];for(var i=0;i0;var D=arguments.length>2;var F=null;if(L||D){var B=qx.lang.Array.fromArguments(arguments,2);if(J.length==0){var M=b;var E=G+B.length;F=B;}else if(B.length==0){var M=l;var E=this.length-1;F=J;}else {var M=d;var E=G+Math.abs(B.length-J.length);};this.fireDataEvent(g,{start:G,end:E,type:M,items:F,added:B,removed:J},null);};for(var i=0;i=0;i-- ){this.__oV.unshift(arguments[i]);this.__oW();this.__oX(0,this.length);this.fireDataEvent(o,{value:[this.__oV[0]],name:m,old:[this.__oV[1]],item:this});this.fireDataEvent(g,{start:0,end:this.length-1,type:b,items:[arguments[i]],added:[arguments[i]],removed:[]},null);};return this.length;},toArray:function(){return this.__oV;},getItem:function(R){return this.__oV[R];},setItem:function(S,U){var T=this.__oV[S];if(T===U){return;};this.__oV[S]=U;this._registerEventChaining(U,T,S);if(this.length!=this.__oV.length){this.__oW();};this.fireDataEvent(o,{value:[U],name:S+f,old:[T],item:this});this.fireDataEvent(g,{start:S,end:S,type:d,items:[U],added:[U],removed:[T]},null);},getLength:function(){return this.length;},indexOf:function(V){return this.__oV.indexOf(V);},lastIndexOf:function(W){return this.__oV.lastIndexOf(W);},toString:function(){if(this.__oV!=null){return this.__oV.toString();};return f;},contains:function(X){return this.__oV.indexOf(X)!==-1;},copy:function(){return this.concat();},insertAt:function(Y,ba){this.splice(Y,0,ba).dispose();},insertBefore:function(bc,bb){var bd=this.indexOf(bc);if(bd==-1){this.push(bb);}else {this.splice(bd,0,bb).dispose();};},insertAfter:function(bf,be){var bg=this.indexOf(bf);if(bg==-1||bg==(this.length-1)){this.push(be);}else {this.splice(bg+1,0,be).dispose();};},removeAt:function(bh){var bi=this.splice(bh,1);var bj=bi.getItem(0);bi.dispose();return bj;},removeAll:function(){for(var i=0;ibs){bs=this.getItem(i);};};return bs===undefined?null:bs;},min:function(){var bt=this.getItem(0);for(var i=1;i0&&n>=h){i=true;};};if(p){if(qx.event.handler.MouseEmulation.ON){p.scrollBySteps(g);}else {var k=parseInt(g);if(k!==0){p.scrollBySteps(k);};};var n=p.getPosition();var h=p.getMaximum();if(k<0&&n<=0||k>0&&n>=h){o=true;};};if((!i&&g===0)||(!o&&m===0)||((!o||!i)&&g!==0&&m!==0)){e.stop();};}}});})();(function(){var a="qx.nativeScrollBars",b="qx.ui.core.scroll.MScrollBarFactory";qx.core.Environment.add(a,false);qx.Mixin.define(b,{members:{_createScrollBar:function(c){if(qx.core.Environment.get(a)){return new qx.ui.core.scroll.NativeScrollBar(c);}else {return new qx.ui.core.scroll.ScrollBar(c);};}}});})();(function(){var a='qx.event.type.Event',b="qx.ui.core.scroll.IScrollBar",c="qx.event.type.Data";qx.Interface.define(b,{events:{"scroll":c,"scrollAnimationEnd":a},properties:{orientation:{},maximum:{},position:{},knobFactor:{}},members:{scrollTo:function(e,d){this.assertNumber(e);},scrollBy:function(g,f){this.assertNumber(g);},scrollBySteps:function(i,h){this.assertNumber(i);}}});})();(function(){var a="mousedown",b="qx.ui.core.scroll.NativeScrollBar",c="px",d="PositiveNumber",f="__pa",g="frame",h="end",i="box-sizing",j="Integer",k="mousemove",l="_applyMaximum",m="vertical",n="_applyOrientation",o="scrollAnimationEnd",p="appear",q="content-box",r="PositiveInteger",s='qx.event.type.Event',t="mshtml",u="engine.name",v="mouseup",w="horizontal",x="Number",y="_applyPosition",z="scrollbar",A="hidden",B="native",C="scroll";qx.Class.define(b,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(D){qx.ui.core.Widget.call(this);this.addState(B);this.getContentElement().addListener(C,this._onScroll,this);this.addListener(a,this._stopPropagation,this);this.addListener(v,this._stopPropagation,this);this.addListener(k,this._stopPropagation,this);this.addListener(p,this._onAppear,this);this.getContentElement().add(this._getScrollPaneElement());this.getContentElement().setStyle(i,q);if(D!=null){this.setOrientation(D);}else {this.initOrientation();};},events:{scrollAnimationEnd:s},properties:{appearance:{refine:true,init:z},orientation:{check:[w,m],init:w,apply:n},maximum:{check:r,apply:l,init:100},position:{check:x,init:0,apply:y,event:C},singleStep:{check:j,init:20},knobFactor:{check:d,nullable:true}},members:{__oY:null,__pa:null,__pb:null,__pc:null,_getScrollPaneElement:function(){if(!this.__pa){this.__pa=new qx.html.Element();};return this.__pa;},renderLayout:function(F,top,E,H){var G=qx.ui.core.Widget.prototype.renderLayout.call(this,F,top,E,H);this._updateScrollBar();return G;},_getContentHint:function(){var I=qx.bom.element.Scroll.getScrollbarWidth();return {width:this.__oY?100:I,maxWidth:this.__oY?null:I,minWidth:this.__oY?null:I,height:this.__oY?I:100,maxHeight:this.__oY?I:null,minHeight:this.__oY?I:null};},_applyEnabled:function(K,J){qx.ui.core.Widget.prototype._applyEnabled.call(this,K,J);this._updateScrollBar();},_applyMaximum:function(L){this._updateScrollBar();},_applyPosition:function(M){var content=this.getContentElement();if(this.__oY){content.scrollToX(M);}else {content.scrollToY(M);};},_applyOrientation:function(P,N){var O=this.__oY=P===w;this.set({allowGrowX:O,allowShrinkX:O,allowGrowY:!O,allowShrinkY:!O});if(O){this.replaceState(m,w);}else {this.replaceState(w,m);};this.getContentElement().setStyles({overflowX:O?C:A,overflowY:O?A:C});qx.ui.core.queue.Layout.add(this);},_updateScrollBar:function(){var R=this.__oY;var S=this.getBounds();if(!S){return;};if(this.isEnabled()){var T=R?S.width:S.height;var Q=this.getMaximum()+T;}else {Q=0;};if(qx.core.Environment.get(u)==t){var S=this.getBounds();this.getContentElement().setStyles({left:(R?S.left:(S.left-1))+c,top:(R?(S.top-1):S.top)+c,width:(R?S.width:S.width+1)+c,height:(R?S.height+1:S.height)+c});};this._getScrollPaneElement().setStyles({left:0,top:0,width:(R?Q:1)+c,height:(R?1:Q)+c});this.updatePosition(this.getPosition());},scrollTo:function(V,U){this.stopScrollAnimation();if(U){var W=this.getPosition();this.__pc=new qx.bom.AnimationFrame();this.__pc.on(g,function(Y){var X=parseInt(Y/U*(V-W)+W);this.updatePosition(X);},this);this.__pc.on(h,function(){this.setPosition(Math.max(0,Math.min(this.getMaximum(),V)));this.__pc=null;this.fireEvent(o);},this);this.__pc.startSequence(U);}else {this.updatePosition(V);};},updatePosition:function(ba){this.setPosition(Math.max(0,Math.min(this.getMaximum(),ba)));},scrollBy:function(bc,bb){this.scrollTo(this.getPosition()+bc,bb);},scrollBySteps:function(be,bd){var bf=this.getSingleStep();this.scrollBy(be*bf,bd);},stopScrollAnimation:function(){if(this.__pc){this.__pc.cancelSequence();this.__pc=null;};},_onScroll:function(e){var bg=this.getContentElement();var bh=this.__oY?bg.getScrollX():bg.getScrollY();this.setPosition(bh);},_onAppear:function(e){this._applyPosition(this.getPosition());},_stopPropagation:function(e){e.stopPropagation();}},destruct:function(){this._disposeObjects(f);}});})();(function(){var a="slider",b="slideAnimationEnd",c="PositiveNumber",d="changeValue",f="Integer",g="execute",h="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getMaximum()",i="_applyKnobFactor",j="visible",k="qx.event.type.Event",l="knob",m="button-begin",n="hidden",o="qx.ui.core.scroll.ScrollBar",p="resize",q="vertical",r="_applyOrientation",s="scrollAnimationEnd",t="_applyPageStep",u="right",v="PositiveInteger",w="horizontal",x="up",y="_applyPosition",z="scrollbar",A="_applyMaximum",B="left",C="button-end",D="down",E="scroll";qx.Class.define(o,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(F){qx.ui.core.Widget.call(this);this._createChildControl(m);this._createChildControl(a).addListener(p,this._onResizeSlider,this);this._createChildControl(C);if(F!=null){this.setOrientation(F);}else {this.initOrientation();};},events:{"scrollAnimationEnd":k},properties:{appearance:{refine:true,init:z},orientation:{check:[w,q],init:w,apply:r},maximum:{check:v,apply:A,init:100},position:{check:h,init:0,apply:y,event:E},singleStep:{check:f,init:20},pageStep:{check:f,init:10,apply:t},knobFactor:{check:c,apply:i,nullable:true}},members:{__pd:2,__pe:0,_computeSizeHint:function(){var G=qx.ui.core.Widget.prototype._computeSizeHint.call(this);if(this.getOrientation()===w){this.__pe=G.minWidth;G.minWidth=0;}else {this.__pe=G.minHeight;G.minHeight=0;};return G;},renderLayout:function(L,top,I,H){var K=qx.ui.core.Widget.prototype.renderLayout.call(this,L,top,I,H);var J=this.getOrientation()===w;if(this.__pe>=(J?I:H)){this.getChildControl(m).setVisibility(n);this.getChildControl(C).setVisibility(n);}else {this.getChildControl(m).setVisibility(j);this.getChildControl(C).setVisibility(j);};return K;},_createChildControlImpl:function(O,N){var M;switch(O){case a:M=new qx.ui.core.scroll.ScrollSlider();M.setPageStep(100);M.setFocusable(false);M.addListener(d,this._onChangeSliderValue,this);M.addListener(b,this._onSlideAnimationEnd,this);this._add(M,{flex:1});break;case m:M=new qx.ui.form.RepeatButton();M.setFocusable(false);M.addListener(g,this._onExecuteBegin,this);this._add(M);break;case C:M=new qx.ui.form.RepeatButton();M.setFocusable(false);M.addListener(g,this._onExecuteEnd,this);this._add(M);break;};return M||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,O);},_applyMaximum:function(P){this.getChildControl(a).setMaximum(P);},_applyPosition:function(Q){this.getChildControl(a).setValue(Q);},_applyKnobFactor:function(R){this.getChildControl(a).setKnobFactor(R);},_applyPageStep:function(S){this.getChildControl(a).setPageStep(S);},_applyOrientation:function(V,T){var U=this._getLayout();if(U){U.dispose();};if(V===w){this._setLayout(new qx.ui.layout.HBox());this.setAllowStretchX(true);this.setAllowStretchY(false);this.replaceState(q,w);this.getChildControl(m).replaceState(x,B);this.getChildControl(C).replaceState(D,u);}else {this._setLayout(new qx.ui.layout.VBox());this.setAllowStretchX(false);this.setAllowStretchY(true);this.replaceState(w,q);this.getChildControl(m).replaceState(B,x);this.getChildControl(C).replaceState(u,D);};this.getChildControl(a).setOrientation(V);},scrollTo:function(X,W){this.getChildControl(a).slideTo(X,W);},scrollBy:function(ba,Y){this.getChildControl(a).slideBy(ba,Y);},scrollBySteps:function(bc,bb){var bd=this.getSingleStep();this.getChildControl(a).slideBy(bc*bd,bb);},updatePosition:function(be){this.getChildControl(a).updatePosition(be);},stopScrollAnimation:function(){this.getChildControl(a).stopSlideAnimation();},_onExecuteBegin:function(e){this.scrollBy(-this.getSingleStep(),50);},_onExecuteEnd:function(e){this.scrollBy(this.getSingleStep(),50);},_onSlideAnimationEnd:function(){this.fireEvent(s);},_onChangeSliderValue:function(e){this.setPosition(e.getData());},_onResizeSlider:function(e){var bf=this.getChildControl(a).getChildControl(l);var bi=bf.getSizeHint();var bg=false;var bh=this.getChildControl(a).getInnerSize();if(this.getOrientation()==q){if(bh.height0?1:bp<0?-1:0;this.slideBy(bn*this.getSingleStep());};e.stop();},_onKeyPress:function(e){var br=this.getOrientation()===V;var bq=br?n:q;var forward=br?E:o;switch(e.getKeyIdentifier()){case forward:this.slideForward();break;case bq:this.slideBack();break;case t:this.slidePageForward(100);break;case g:this.slidePageBack(100);break;case I:this.slideToBegin(200);break;case y:this.slideToEnd(200);break;default:return;};e.stop();},_onMouseDown:function(e){if(this.__pi){return;};var bu=this.__oY;var bs=this.getChildControl(R);var bt=bu?H:N;var by=bu?e.getDocumentLeft():e.getDocumentTop();var bA=this.getDecorator();bA=qx.theme.manager.Decoration.getInstance().resolve(bA);if(bu){var bx=bA?bA.getInsets().left:0;var bw=(this.getPaddingLeft()||0)+bx;}else {var bx=bA?bA.getInsets().top:0;var bw=(this.getPaddingTop()||0)+bx;};var bz=this.__pf=qx.bom.element.Location.get(this.getContentElement().getDomElement())[bt];bz+=bw;var bv=this.__pg=qx.bom.element.Location.get(bs.getContentElement().getDomElement())[bt];if(e.getTarget()===bs){this.__pi=true;if(!this.__pn){this.__pn=new qx.event.Timer(100);this.__pn.addListener(v,this._fireValue,this);};this.__pn.start();this.__pj=by+bz-bv;bs.addState(d);}else {this.__pk=true;this.__pl=by<=bv?-1:1;this.__pr(e);this._onInterval();if(!this.__jx){this.__jx=new qx.event.Timer(100);this.__jx.addListener(v,this._onInterval,this);};this.__jx.start();};this.addListener(z,this._onMouseMove);this.capture();e.stopPropagation();},_onMouseUp:function(e){if(this.__pi){this.releaseCapture();delete this.__pi;this.__pn.stop();this._fireValue();delete this.__pj;this.getChildControl(R).removeState(d);if(e.getType()===U){var bC;var bD;var bB;if(this.__oY){bC=e.getDocumentLeft()-(this._valueToPosition(this.getValue())+this.__pf);bB=qx.bom.element.Location.get(this.getContentElement().getDomElement())[N];bD=e.getDocumentTop()-(bB+this.getChildControl(R).getBounds().top);}else {bC=e.getDocumentTop()-(this._valueToPosition(this.getValue())+this.__pf);bB=qx.bom.element.Location.get(this.getContentElement().getDomElement())[H];bD=e.getDocumentLeft()-(bB+this.getChildControl(R).getBounds().left);};if(bD<0||bD>this.__ph||bC<0||bC>this.__ph){this.getChildControl(R).removeState(b);};};}else if(this.__pk){this.__jx.stop();this.releaseCapture();delete this.__pk;delete this.__pl;delete this.__pm;};this.removeListener(z,this._onMouseMove);if(e.getType()===U){e.stopPropagation();};},_onMouseMove:function(e){if(this.__pi){var bF=this.__oY?e.getDocumentLeft():e.getDocumentTop();var bE=bF-this.__pj;this.slideTo(this._positionToValue(bE));}else if(this.__pk){this.__pr(e);};e.stopPropagation();},_onInterval:function(e){var bG=this.getValue()+(this.__pl*this.getPageStep());if(bGthis.getMaximum()){bG=this.getMaximum();};var bH=this.__pl==-1;if((bH&&bG<=this.__pm)||(!bH&&bG>=this.__pm)){bG=this.__pm;};this.slideTo(bG);},_onUpdate:function(e){var bJ=this.getInnerSize();var bK=this.getChildControl(R).getBounds();var bI=this.__oY?F:A;this._updateKnobSize();this.__pq=bJ[bI]-bK[bI];this.__ph=bK[bI];this._updateKnobPosition();},__oY:false,__pq:0,__pr:function(e){var bL=this.__oY;var bS=bL?e.getDocumentLeft():e.getDocumentTop();var bV=this.__pf;var bM=this.__pg;var bW=this.__ph;var bT=bS-bV;if(bS>=bM){bT-=bW;};var bP=this._positionToValue(bT);var bN=this.getMinimum();var bO=this.getMaximum();if(bPbO){bP=bO;}else {var bU=this.getValue();var bR=this.getPageStep();var bQ=this.__pl<0?K:S;bP=bU+(Math[bQ]((bP-bU)/bR)*bR);};if(this.__pm==null||(this.__pl==-1&&bP<=this.__pm)||(this.__pl==1&&bP>=this.__pm)){this.__pm=bP;};},_positionToValue:function(bY){var bX=this.__pq;if(bX==null||bX==0){return 0;};var cb=bY/bX;if(cb<0){cb=0;}else if(cb>1){cb=1;};var ca=this.getMaximum()-this.getMinimum();return this.getMinimum()+Math.round(ca*cb);},_valueToPosition:function(cf){var cc=this.__pq;if(cc==null){return 0;};var cd=this.getMaximum()-this.getMinimum();if(cd==0){return 0;};var cf=cf-this.getMinimum();var ce=cf/cd;if(ce<0){ce=0;}else if(ce>1){ce=1;};return Math.round(cc*ce);},_updateKnobPosition:function(){this._setKnobPosition(this._valueToPosition(this.getValue()));},_setKnobPosition:function(ci){var cg=this.getChildControl(R);var ch=this.getDecorator();ch=qx.theme.manager.Decoration.getInstance().resolve(ch);var content=cg.getContentElement();if(this.__oY){if(ch&&ch.getPadding()){ci+=ch.getPadding().left;};ci+=this.getPaddingLeft()||0;content.setStyle(H,ci+f,true);}else {if(ch&&ch.getPadding()){ci+=ch.getPadding().top;};ci+=this.getPaddingTop()||0;content.setStyle(N,ci+f,true);};},_updateKnobSize:function(){var ck=this.getKnobFactor();if(ck==null){return;};var cj=this.getInnerSize();if(cj==null){return;};if(this.__oY){this.getChildControl(R).setWidth(Math.round(ck*cj.width));}else {this.getChildControl(R).setHeight(Math.round(ck*cj.height));};},slideToBegin:function(cl){this.slideTo(this.getMinimum(),cl);},slideToEnd:function(cm){this.slideTo(this.getMaximum(),cm);},slideForward:function(){this.slideBy(this.getSingleStep());},slideBack:function(){this.slideBy(-this.getSingleStep());},slidePageForward:function(cn){this.slideBy(this.getPageStep(),cn);},slidePageBack:function(co){this.slideBy(-this.getPageStep(),co);},slideBy:function(cq,cp){this.slideTo(this.getValue()+cq,cp);},slideTo:function(cs,cr){this.stopSlideAnimation();if(cr){this.__pt(cs,cr);}else {this.updatePosition(cs);};},updatePosition:function(ct){this.setValue(this.__ps(ct));},stopSlideAnimation:function(){if(this.__pc){this.__pc.cancelSequence();this.__pc=null;};},__ps:function(cu){if(cuthis.getMaximum()){cu=this.getMaximum();}else {cu=this.getMinimum()+Math.round((cu-this.getMinimum())/this.getSingleStep())*this.getSingleStep();};return cu;},__pt:function(cw,cv){cw=this.__ps(cw);var cx=this.getValue();this.__pc=new qx.bom.AnimationFrame();this.__pc.on(j,function(cy){this.setValue(parseInt(cy/cv*(cw-cx)+cx));},this);this.__pc.on(l,function(){this.setValue(cw);this.__pc=null;this.fireEvent(Q);},this);this.__pc.startSequence(cv);},_applyOrientation:function(cB,cA){var cz=this.getChildControl(R);this.__oY=cB===V;if(this.__oY){this.removeState(D);cz.removeState(D);this.addState(V);cz.addState(V);cz.setLayoutProperties({top:0,right:null,bottom:0});}else {this.removeState(V);cz.removeState(V);this.addState(D);cz.addState(D);cz.setLayoutProperties({right:0,bottom:null,left:0});};this._updateKnobPosition();},_applyKnobFactor:function(cD,cC){if(cD!=null){this._updateKnobSize();}else {if(this.__oY){this.getChildControl(R).resetWidth();}else {this.getChildControl(R).resetHeight();};};},_applyValue:function(cF,cE){if(cF!=null){this._updateKnobPosition();if(this.__pi){this.__pp=[cF,cE];}else {this.fireEvent(h,qx.event.type.Data,[cF,cE]);};}else {this.resetValue();};},_fireValue:function(){if(!this.__pp){return;};var cG=this.__pp;this.__pp=null;this.fireEvent(h,qx.event.type.Data,cG);},_applyMinimum:function(cI,cH){if(this.getValue()cK){this.setValue(cK);};this._updateKnobPosition();}}});})();(function(){var a="horizontal",b="mousewheel",c="qx.ui.core.scroll.ScrollSlider",d="keypress";qx.Class.define(c,{extend:qx.ui.form.Slider,construct:function(e){qx.ui.form.Slider.call(this,e);this.removeListener(d,this._onKeyPress);this.removeListener(b,this._onMouseWheel);},members:{getSizeHint:function(f){var g=qx.ui.form.Slider.prototype.getSizeHint.call(this);if(this.getOrientation()===a){g.width=0;}else {g.height=0;};return g;}}});})();(function(){var a="press",b="hovered",c="qx.ui.form.RepeatButton",d="release",f="Enter",g="pressed",h="__jx",i="interval",j="qx.event.type.Event",k="Space",l="abandoned",m="Integer",n="execute";qx.Class.define(c,{extend:qx.ui.form.Button,construct:function(o,p){qx.ui.form.Button.call(this,o,p);this.__jx=new qx.event.AcceleratingTimer();this.__jx.addListener(i,this._onInterval,this);},events:{"execute":j,"press":j,"release":j},properties:{interval:{check:m,init:100},firstInterval:{check:m,init:500},minTimer:{check:m,init:20},timerDecrease:{check:m,init:2}},members:{__pu:null,__jx:null,press:function(){if(this.isEnabled()){if(!this.hasState(g)){this.__pv();};this.removeState(l);this.addState(g);};},release:function(q){if(!this.isEnabled()){return;};if(this.hasState(g)){if(!this.__pu){this.execute();};};this.removeState(g);this.removeState(l);this.__pw();},_applyEnabled:function(s,r){qx.ui.form.Button.prototype._applyEnabled.call(this,s,r);if(!s){this.removeState(g);this.removeState(l);this.__pw();};},_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;};if(this.hasState(l)){this.removeState(l);this.addState(g);this.__jx.start();};this.addState(b);},_onMouseOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;};this.removeState(b);if(this.hasState(g)){this.removeState(g);this.addState(l);this.__jx.stop();};},_onMouseDown:function(e){if(!e.isLeftPressed()){return;};this.capture();this.__pv();e.stopPropagation();},_onMouseUp:function(e){this.releaseCapture();if(!this.hasState(l)){this.addState(b);if(this.hasState(g)&&!this.__pu){this.execute();};};this.__pw();e.stopPropagation();},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case f:case k:if(this.hasState(g)){if(!this.__pu){this.execute();};this.removeState(g);this.removeState(l);e.stopPropagation();this.__pw();};};},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case f:case k:this.removeState(l);this.addState(g);e.stopPropagation();this.__pv();};},_onInterval:function(e){this.__pu=true;this.fireEvent(n);},__pv:function(){this.fireEvent(a);this.__pu=false;this.__jx.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();this.removeState(l);this.addState(g);},__pw:function(){this.fireEvent(d);this.__jx.stop();this.removeState(l);this.removeState(g);}},destruct:function(){this._disposeObjects(h);}});})();(function(){var a="Integer",b="__jx",c="interval",d="qx.event.type.Event",e="qx.event.AcceleratingTimer";qx.Class.define(e,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__jx=new qx.event.Timer(this.getInterval());this.__jx.addListener(c,this._onInterval,this);},events:{"interval":d},properties:{interval:{check:a,init:100},firstInterval:{check:a,init:500},minimum:{check:a,init:20},decrease:{check:a,init:2}},members:{__jx:null,__px:null,start:function(){this.__jx.setInterval(this.getFirstInterval());this.__jx.start();},stop:function(){this.__jx.stop();this.__px=null;},_onInterval:function(){this.__jx.stop();if(this.__px==null){this.__px=this.getInterval();};this.__px=Math.max(this.getMinimum(),this.__px-this.getDecrease());this.__jx.setInterval(this.__px);this.__jx.start();this.fireEvent(c);}},destruct:function(){this._disposeObjects(b);}});})();(function(){var a="touchmove",b="End",c="scrollY",d="_computeScrollbars",f="Left",g="X",h="auto",i="scrollAnimation",j="mousewheel",k="scrollbarX",l="scrollbar-y",m="getDocument",n="scrollbar-",o="event.touch",p="corner",q="os.scrollBarOverlayed",r="scrollarea",s="scrollAnimationEnd",t="vertical",u="scrollX",v="changeVisibility",w="off",x="touchstart",y="horizontal",z="scrollbar-x",A="Y",B='qx.event.type.Event',C="qx.ui.core.scroll.AbstractScrollArea",D="abstract",E="update",F="scrollbarY",G="pane",H="Top",I="on",J="x",K="scroll";qx.Class.define(C,{extend:qx.ui.core.Widget,include:[qx.ui.core.scroll.MScrollBarFactory,qx.ui.core.scroll.MWheelHandling],type:D,statics:{DEFAULT_SCROLLBAR_WIDTH:14},construct:function(){qx.ui.core.Widget.call(this);if(qx.core.Environment.get(q)){this._setLayout(new qx.ui.layout.Canvas());}else {var L=new qx.ui.layout.Grid();L.setColumnFlex(0,1);L.setRowFlex(0,1);this._setLayout(L);};this.addListener(j,this._onMouseWheel,this);if(qx.core.Environment.get(o)){this.addListener(a,this._onTouchMove,this);this.addListener(x,function(){this.__cO={"x":0,"y":0};},this);this.__cO={};this.__hO={};};},events:{scrollAnimationXEnd:B,scrollAnimationYEnd:B},properties:{appearance:{refine:true,init:r},width:{refine:true,init:100},height:{refine:true,init:200},scrollbarX:{check:[h,I,w],init:h,themeable:true,apply:d},scrollbarY:{check:[h,I,w],init:h,themeable:true,apply:d},scrollbar:{group:[k,F]}},members:{__cO:null,__hO:null,_createChildControlImpl:function(O,N){var M;switch(O){case G:M=new qx.ui.core.scroll.ScrollPane();M.addListener(E,this._computeScrollbars,this);M.addListener(u,this._onScrollPaneX,this);M.addListener(c,this._onScrollPaneY,this);if(qx.core.Environment.get(q)){this._add(M,{edge:0});}else {this._add(M,{row:0,column:0});};break;case z:M=this._createScrollBar(y);M.setMinWidth(0);M.exclude();M.addListener(K,this._onScrollBarX,this);M.addListener(v,this._onChangeScrollbarXVisibility,this);M.addListener(s,this._onScrollAnimationEnd.bind(this,g));if(qx.core.Environment.get(q)){M.setMinHeight(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(M,{bottom:0,right:0,left:0});}else {this._add(M,{row:1,column:0});};break;case l:M=this._createScrollBar(t);M.setMinHeight(0);M.exclude();M.addListener(K,this._onScrollBarY,this);M.addListener(v,this._onChangeScrollbarYVisibility,this);M.addListener(s,this._onScrollAnimationEnd.bind(this,A));if(qx.core.Environment.get(q)){M.setMinWidth(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(M,{right:0,bottom:0,top:0});}else {this._add(M,{row:0,column:1});};break;case p:M=new qx.ui.core.Widget();M.setWidth(0);M.setHeight(0);M.exclude();if(!qx.core.Environment.get(q)){this._add(M,{row:1,column:1});};break;};return M||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,O);},getPaneSize:function(){return this.getChildControl(G).getInnerSize();},getItemTop:function(P){return this.getChildControl(G).getItemTop(P);},getItemBottom:function(Q){return this.getChildControl(G).getItemBottom(Q);},getItemLeft:function(R){return this.getChildControl(G).getItemLeft(R);},getItemRight:function(S){return this.getChildControl(G).getItemRight(S);},scrollToX:function(U,T){qx.ui.core.queue.Manager.flush();this.getChildControl(z).scrollTo(U,T);},scrollByX:function(W,V){qx.ui.core.queue.Manager.flush();this.getChildControl(z).scrollBy(W,V);},getScrollX:function(){var X=this.getChildControl(z,true);return X?X.getPosition():0;},scrollToY:function(ba,Y){qx.ui.core.queue.Manager.flush();this.getChildControl(l).scrollTo(ba,Y);},scrollByY:function(bc,bb){qx.ui.core.queue.Manager.flush();this.getChildControl(l).scrollBy(bc,bb);},getScrollY:function(){var bd=this.getChildControl(l,true);return bd?bd.getPosition():0;},stopScrollAnimationX:function(){var be=this.getChildControl(z,true);if(be){be.stopScrollAnimation();};},stopScrollAnimationY:function(){var bf=this.getChildControl(l,true);if(bf){bf.stopScrollAnimation();};},_onScrollAnimationEnd:function(bg){this.fireEvent(i+bg+b);},_onScrollBarX:function(e){this.getChildControl(G).scrollToX(e.getData());},_onScrollBarY:function(e){this.getChildControl(G).scrollToY(e.getData());},_onScrollPaneX:function(e){var bh=this.getChildControl(z);if(bh){bh.updatePosition(e.getData());};},_onScrollPaneY:function(e){var bi=this.getChildControl(l);if(bi){bi.updatePosition(e.getData());};},_onTouchMove:function(e){},_onTouchMoveDirectional:function(bn,e){var bj=(bn==J?f:H);var bl=this.getChildControl(n+bn,true);var bk=this._isChildControlVisible(n+bn);if(bk&&bl){if(this.__cO[bn]==0){var bm=0;}else {var bm=-(e[m+bj]()-this.__cO[bn]);};this.__cO[bn]=e[m+bj]();bl.scrollBy(bm);if(this.__hO[bn]){clearTimeout(this.__hO[bn]);this.__hO[bn]=null;};this.__hO[bn]=setTimeout(qx.lang.Function.bind(function(bo){this.__hR(bo,bn);},this,bm),100);};},__hR:function(bp,br){this.__hO[br]=null;var bs=this._isChildControlVisible(n+br);if(bp==0||!bs){return;};if(bp>0){bp=Math.max(0,bp-3);}else {bp=Math.min(0,bp+3);};this.__hO[br]=setTimeout(qx.lang.Function.bind(function(bu,bt){this.__hR(bu,bt);},this,bp,br),20);var bq=this.getChildControl(n+br,true);bq.scrollBy(bp);},_onChangeScrollbarXVisibility:function(e){var bv=this._isChildControlVisible(z);var bw=this._isChildControlVisible(l);if(!bv){this.scrollToX(0);};bv&&bw?this._showChildControl(p):this._excludeChildControl(p);},_onChangeScrollbarYVisibility:function(e){var bx=this._isChildControlVisible(z);var by=this._isChildControlVisible(l);if(!by){this.scrollToY(0);};bx&&by?this._showChildControl(p):this._excludeChildControl(p);},_computeScrollbars:function(){var bF=this.getChildControl(G);var content=bF.getChildren()[0];if(!content){this._excludeChildControl(z);this._excludeChildControl(l);return;};var bz=this.getInnerSize();var bE=bF.getInnerSize();var bC=bF.getScrollSize();if(!bE||!bC){return;};var bG=this.getScrollbarX();var bH=this.getScrollbarY();if(bG===h&&bH===h){var bD=bC.width>bz.width;var bI=bC.height>bz.height;if((bD||bI)&&!(bD&&bI)){if(bD){bI=bC.height>bE.height;}else if(bI){bD=bC.width>bE.width;};};}else {var bD=bG===I;var bI=bH===I;if(bC.width>(bD?bE.width:bz.width)&&bG===h){bD=true;};if(bC.height>(bD?bE.height:bz.height)&&bH===h){bI=true;};};if(bD){var bB=this.getChildControl(z);bB.show();bB.setMaximum(Math.max(0,bC.width-bE.width));bB.setKnobFactor((bC.width===0)?0:bE.width/bC.width);}else {this._excludeChildControl(z);};if(bI){var bA=this.getChildControl(l);bA.show();bA.setMaximum(Math.max(0,bC.height-bE.height));bA.setKnobFactor((bC.height===0)?0:bE.height/bC.height);}else {this._excludeChildControl(l);};}}});})();(function(){var a="resize",b="scrollY",c="scrollAnimationEnd",d="update",f="scrollX",g="_applyScrollX",h="_applyScrollY",i="frame",j="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxX()",k="appear",l="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxY()",m="qx.event.type.Event",n="qx.ui.core.scroll.ScrollPane",o="end",p="scroll";qx.Class.define(n,{extend:qx.ui.core.Widget,construct:function(){qx.ui.core.Widget.call(this);this.set({minWidth:0,minHeight:0});this._setLayout(new qx.ui.layout.Grow());this.addListener(a,this._onUpdate);var q=this.getContentElement();q.addListener(p,this._onScroll,this);q.addListener(k,this._onAppear,this);},events:{update:m,scrollAnimationEnd:m},properties:{scrollX:{check:j,apply:g,event:f,init:0},scrollY:{check:l,apply:h,event:b,init:0}},members:{__py:null,add:function(r){var s=this._getChildren()[0];if(s){this._remove(s);s.removeListener(a,this._onUpdate,this);};if(r){this._add(r);r.addListener(a,this._onUpdate,this);};},remove:function(t){if(t){this._remove(t);t.removeListener(a,this._onUpdate,this);};},getChildren:function(){return this._getChildren();},_onUpdate:function(e){this.fireEvent(d);},_onScroll:function(e){var u=this.getContentElement();this.setScrollX(u.getScrollX());this.setScrollY(u.getScrollY());},_onAppear:function(e){var z=this.getContentElement();var v=this.getScrollX();var A=z.getScrollX();if(v!=A){z.scrollToX(v);};var w=this.getScrollY();var B=z.getScrollY();if(w!=B){z.scrollToY(w);};},getItemTop:function(C){var top=0;do {top+=C.getBounds().top;C=C.getLayoutParent();}while(C&&C!==this);return top;},getItemBottom:function(D){return this.getItemTop(D)+D.getBounds().height;},getItemLeft:function(E){var F=0;var parent;do {F+=E.getBounds().left;parent=E.getLayoutParent();if(parent){F+=parent.getInsets().left;};E=parent;}while(E&&E!==this);return F;},getItemRight:function(G){return this.getItemLeft(G)+G.getBounds().width;},getScrollSize:function(){return this.getChildren()[0].getBounds();},getScrollMaxX:function(){var I=this.getInnerSize();var H=this.getScrollSize();if(I&&H){return Math.max(0,H.width-I.width);};return 0;},getScrollMaxY:function(){var K=this.getInnerSize();var J=this.getScrollSize();if(K&&J){return Math.max(0,J.height-K.height);};return 0;},scrollToX:function(O,L){var M=this.getScrollMaxX();if(O<0){O=0;}else if(O>M){O=M;};this.stopScrollAnimation();if(L){var N=this.getScrollX();this.__py=new qx.bom.AnimationFrame();this.__py.on(o,function(){this.setScrollX(O);this.__py=null;this.fireEvent(c);},this);this.__py.on(i,function(Q){var P=parseInt(Q/L*(O-N)+N);this.setScrollX(P);},this);this.__py.startSequence(L);}else {this.setScrollX(O);};},scrollToY:function(U,R){var S=this.getScrollMaxY();if(U<0){U=0;}else if(U>S){U=S;};this.stopScrollAnimation();if(R){var T=this.getScrollY();this.__py=new qx.bom.AnimationFrame();this.__py.on(o,function(){this.setScrollY(U);this.__py=null;this.fireEvent(c);},this);this.__py.on(i,function(W){var V=parseInt(W/R*(U-T)+T);this.setScrollY(V);},this);this.__py.startSequence(R);}else {this.setScrollY(U);};},scrollByX:function(x,X){this.scrollToX(this.getScrollX()+x,X);},scrollByY:function(y,Y){this.scrollToY(this.getScrollY()+y,Y);},stopScrollAnimation:function(){if(this.__py){this.__py.cancelSequence();this.__py=null;};},_applyScrollX:function(ba){this.getContentElement().scrollToX(ba);},_applyScrollY:function(bb){this.getContentElement().scrollToY(bb);}}});})();(function(){var a="qx.ui.form.IModelSelection";qx.Interface.define(a,{members:{setModelSelection:function(b){},getModelSelection:function(){}}});})();(function(){var a="qx.ui.form.List",b="text",c="Boolean",d="one",f="addChildWidget",g="_applySpacing",h="__pz",j="Enter",k="Integer",m="action",n="keyinput",o="qx.event.type.Data",p="addItem",q="vertical",r="removeChildWidget",s="",t="_applyOrientation",u="single",v="keypress",w="list",x="horizontal",y="label",z="pane",A="removeItem";qx.Class.define(a,{extend:qx.ui.core.scroll.AbstractScrollArea,implement:[qx.ui.core.IMultiSelection,qx.ui.form.IForm,qx.ui.form.IModelSelection],include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MMultiSelectionHandling,qx.ui.form.MForm,qx.ui.form.MModelSelection],construct:function(B){qx.ui.core.scroll.AbstractScrollArea.call(this);this.__pz=this._createListItemContainer();this.__pz.addListener(f,this._onAddChild,this);this.__pz.addListener(r,this._onRemoveChild,this);this.getChildControl(z).add(this.__pz);if(B){this.setOrientation(x);}else {this.initOrientation();};this.addListener(v,this._onKeyPress);this.addListener(n,this._onKeyInput);this.__pA=s;},events:{addItem:o,removeItem:o},properties:{appearance:{refine:true,init:w},focusable:{refine:true,init:true},orientation:{check:[x,q],init:q,apply:t},spacing:{check:k,init:0,apply:g,themeable:true},enableInlineFind:{check:c,init:true}},members:{__pA:null,__pB:null,__pz:null,SELECTION_MANAGER:qx.ui.core.selection.ScrollArea,getChildrenContainer:function(){return this.__pz;},_onAddChild:function(e){this.fireDataEvent(p,e.getData());},_onRemoveChild:function(e){this.fireDataEvent(A,e.getData());},handleKeyPress:function(e){if(!this._onKeyPress(e)){this._getManager().handleKeyPress(e);};},_createListItemContainer:function(){return new qx.ui.container.Composite;},_applyOrientation:function(F,C){var D=F===x;var E=D?new qx.ui.layout.HBox():new qx.ui.layout.VBox();var content=this.__pz;content.setLayout(E);content.setAllowGrowX(!D);content.setAllowGrowY(D);this._applySpacing(this.getSpacing());},_applySpacing:function(H,G){this.__pz.getLayout().setSpacing(H);},_onKeyPress:function(e){if(e.getKeyIdentifier()==j&&!e.isAltPressed()){var I=this.getSelection();for(var i=0;i1000){this.__pA=s;};this.__pA+=e.getChar();var K=this.findItemByLabelFuzzy(this.__pA);if(K){this.setSelection([K]);};this.__pB=(new Date).valueOf();},findItemByLabelFuzzy:function(M){M=M.toLowerCase();var L=this.getChildren();for(var i=0,l=L.length;i=0;i-- ){if(!s[i].getEnabled()){s.splice(i,1);};};};return s;},__pF:function(u,t){if(!u){this.__pG(this.__pE);};},__pG:function(v){var y=this.__pE;var w=v;if(w!=null&&y===w){return;};if(!this.isAllowEmptySelection()&&w==null){var x=this.getSelectables(true)[0];if(x){w=x;};};this.__pE=w;this.fireDataEvent(k,w,y);},__pH:function(z){var A=this.__pD.getItems();for(var i=0;i]+?>/g,j);M=qx.bom.String.unescape(M);};return M;},_onBlur:function(e){this.close();},_onKeyPress:function(e){var N=e.getKeyIdentifier();var O=this.getChildControl(y);if(O.isHidden()&&(N==v||N==b)){e.stopPropagation();}else if(!O.isHidden()&&N==g){this.close();e.stop();}else {this.getChildControl(r).handleKeyPress(e);};},_onMousewheel:function(e){var Q=e.getTarget();var P=this.getChildControl(y,true);if(P==null){return;};if(qx.ui.core.Widget.contains(P,Q)){e.preventDefault();}else {this.close();};},_onResize:function(e){this.getChildControl(y).setMinWidth(e.getData().width);},_onListChangeSelection:function(e){throw new Error(o);},_onListMouseDown:function(e){throw new Error(t);},_onPopupChangeVisibility:function(e){e.getData()==l?this.addState(a):this.removeState(a);}},destruct:function(){var R=qx.core.Init.getApplication().getRoot();if(R){R.removeListener(k,this._onMousewheel,this,true);};}});})();(function(){var a="])+>/gi,function(n){if(n.indexOf(a)===0){return f;}else if(n.length>0&&n.replace(/^\s*/,b).replace(/\s*$/,b)==b){return e;}else {return b;};}));}},defer:function(o){o.FROM_CHARCODE=qx.lang.Object.invert(o.TO_CHARCODE);}});})();(function(){var a="&",b='X',c="",d='#',e="&#",f=";",g="qx.util.StringEscape";qx.Class.define(g,{statics:{escape:function(o,m){var j,n=c;for(var i=0,l=o.length;i0x7F){j=e+h+f;}else {j=k;};};n+=j;};return n;},unescape:function(p,q){return p.replace(/&[#\w]+;/gi,function(t){var r=t;var t=t.substring(1,t.length-1);var s=q[t];if(s){r=String.fromCharCode(s);}else {if(t.charAt(0)==d){if(t.charAt(1).toUpperCase()==b){s=t.substring(2);if(s.match(/^[0-9A-Fa-f]+$/gi)){r=String.fromCharCode(parseInt(s,16));};}else {s=t.substring(1);if(s.match(/^\d+$/gi)){r=String.fromCharCode(parseInt(s,10));};};};};return r;});}}});})();(function(){var a="hovered",b="Enter",c="pressed",d="one",f="changeLabel",g="mouseout",h="changeIcon",i="Space",j="abandoned",k="key",l="list",m="mousewheel",n="keyinput",o="arrow",p="changeSelection",q="y",r="",s="qx.ui.form.SelectBox",t="spacer",u="mouseover",v="selectbox",w="click",x="popup",y="quick",z=" ",A="atom";qx.Class.define(s,{extend:qx.ui.form.AbstractSelectBox,implement:[qx.ui.core.ISingleSelection,qx.ui.form.IModelSelection],include:[qx.ui.core.MSingleSelectionHandling,qx.ui.form.MModelSelection],construct:function(){qx.ui.form.AbstractSelectBox.call(this);this._createChildControl(A);this._createChildControl(t);this._createChildControl(o);this.addListener(u,this._onMouseOver,this);this.addListener(g,this._onMouseOut,this);this.addListener(w,this._onClick,this);if(!(qx.event.handler.MouseEmulation.ON)){this.addListener(m,this._onMouseWheel,this);};this.addListener(n,this._onKeyInput,this);this.addListener(p,this.__pJ,this);},properties:{appearance:{refine:true,init:v}},members:{__pI:null,_createChildControlImpl:function(D,C){var B;switch(D){case t:B=new qx.ui.core.Spacer();this._add(B,{flex:1});break;case A:B=new qx.ui.basic.Atom(z);B.setCenter(false);B.setAnonymous(true);this._add(B,{flex:1});break;case o:B=new qx.ui.basic.Image();B.setAnonymous(true);this._add(B);break;};return B||qx.ui.form.AbstractSelectBox.prototype._createChildControlImpl.call(this,D);},_forwardStates:{focused:true},_getItems:function(){return this.getChildrenContainer().getChildren();},_isAllowEmptySelection:function(){return this.getChildrenContainer().getSelectionMode()!==d;},__pJ:function(e){var F=e.getData()[0];var E=this.getChildControl(l);if(E.getSelection()[0]!=F){if(F){E.setSelection([F]);}else {E.resetSelection();};};this.__pK();this.__pL();},__pK:function(){var H=this.getChildControl(l).getSelection()[0];var G=this.getChildControl(A);var I=H?H.getIcon():r;I==null?G.resetIcon():G.setIcon(I);},__pL:function(){var L=this.getChildControl(l).getSelection()[0];var J=this.getChildControl(A);var K=L?L.getLabel():r;var M=this.getFormat();if(M!=null){K=M.call(this,L);};if(K&&K.translate){K=K.translate();};K==null?J.resetLabel():J.setLabel(K);},_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;};if(this.hasState(j)){this.removeState(j);this.addState(c);};this.addState(a);},_onMouseOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;};this.removeState(a);if(this.hasState(c)){this.removeState(c);this.addState(j);};},_onClick:function(e){this.toggle();},_onMouseWheel:function(e){if(this.getChildControl(x).isVisible()){return;};var O=e.getWheelDelta(q)>0?1:-1;var R=this.getSelectables();var Q=this.getSelection()[0];if(!Q){if(!R[0]){return;};Q=R[0];};var N=R.indexOf(Q)+O;var P=R.length-1;if(N<0){N=0;}else if(N>=P){N=P;};this.setSelection([R[N]]);e.stopPropagation();e.preventDefault();},_onKeyPress:function(e){var S=e.getKeyIdentifier();if(S==b||S==i){if(this.__pI){this.setSelection([this.__pI]);this.__pI=null;};this.toggle();}else {qx.ui.form.AbstractSelectBox.prototype._onKeyPress.call(this,e);};},_onKeyInput:function(e){var T=e.clone();T.setTarget(this._list);T.setBubbles(false);this.getChildControl(l).dispatchEvent(T);},_onListMouseDown:function(e){if(this.__pI){this.setSelection([this.__pI]);this.__pI=null;};},_onListChangeSelection:function(e){var X=e.getData();var V=e.getOldData();if(V&&V.length>0){V[0].removeListener(h,this.__pK,this);V[0].removeListener(f,this.__pL,this);};if(X.length>0){var U=this.getChildControl(x);var W=this.getChildControl(l);var Y=W.getSelectionContext();if(U.isVisible()&&(Y==y||Y==k)){this.__pI=X[0];}else {this.setSelection([X[0]]);this.__pI=null;};X[0].addListener(h,this.__pK,this);X[0].addListener(f,this.__pL,this);}else {this.resetSelection();};},_onPopupChangeVisibility:function(e){qx.ui.form.AbstractSelectBox.prototype._onPopupChangeVisibility.call(this,e);var bb=this.getChildControl(x);if(!bb.isVisible()){var bd=this.getChildControl(l);if(bd.hasChildren()){bd.setSelection(this.getSelection());};}else {var ba=bb.getLayoutLocation(this);var bf=qx.bom.Viewport.getHeight();var be=ba.top;var bg=bf-ba.bottom;var bc=be>bg?be:bg;var bh=this.getMaxListHeight();var bd=this.getChildControl(l);if(bh==null||bh>bc){bd.setMaxHeight(bc);}else if(bh=0;i+=z){B=C[i];if(B.isEnabled()&&!B.isAnonymous()&&B.isVisible()){return B;};};if(D){i=i==length?0:length-1;for(;i!=A;i+=z){B=C[i];if(B.isEnabled()&&!B.isAnonymous()&&B.isVisible()){return B;};};};return null;},_isInMenu:function(E){while(E){if(E instanceof qx.ui.menu.Menu){return true;};E=E.getLayoutParent();};return false;},_isMenuOpener:function(G){var F=this.__lo;for(var i=0;i=0;i-- ){M[i].exclude();};};},getActiveMenu:function(){var N=this.__lo;return N.length>0?N[N.length-1]:null;},scheduleOpen:function(O){this.cancelClose(O);if(O.isVisible()){if(this.__pP){this.cancelOpen(this.__pP);};}else if(this.__pP!=O){this.__pP=O;this.__pN.restartWith(O.getOpenInterval());};},scheduleClose:function(P){this.cancelOpen(P);if(!P.isVisible()){if(this.__pQ){this.cancelClose(this.__pQ);};}else if(this.__pQ!=P){this.__pQ=P;this.__pO.restartWith(P.getCloseInterval());};},cancelOpen:function(Q){if(this.__pP==Q){this.__pN.stop();this.__pP=null;};},cancelClose:function(R){if(this.__pQ==R){this.__pO.stop();this.__pQ=null;};},_onOpenInterval:function(e){this.__pN.stop();this.__pP.open();this.__pP=null;},_onCloseInterval:function(e){this.__pO.stop();this.__pQ.exclude();this.__pQ=null;},_onMouseDown:function(e){var S=e.getTarget();S=qx.ui.core.Widget.getWidgetByElement(S,true);if(S==null){this.hideAll();return;};if(S.getMenu&&S.getMenu()&&S.getMenu().isVisible()){return;};if(this.__lo.length>0&&!this._isInMenu(S)){this.hideAll();};},__pR:{"Enter":1,"Space":1},__oO:{"Escape":1,"Up":1,"Down":1,"Left":1,"Right":1},_onKeyUpDown:function(e){var T=this.getActiveMenu();if(!T){return;};var U=e.getKeyIdentifier();if(this.__oO[U]||(this.__pR[U]&&T.getSelectedButton())){e.stopPropagation();};},_onKeyPress:function(e){var X=this.getActiveMenu();if(!X){return;};var V=e.getKeyIdentifier();var ba=this.__oO[V];var W=this.__pR[V];if(ba){switch(V){case j:this._onKeyPressUp(X);break;case r:this._onKeyPressDown(X);break;case p:this._onKeyPressLeft(X);break;case s:this._onKeyPressRight(X);break;case l:this.hideAll();break;};e.stopPropagation();e.preventDefault();}else if(W){var Y=X.getSelectedButton();if(Y){switch(V){case d:this._onKeyPressEnter(X,Y,e);break;case v:this._onKeyPressSpace(X,Y,e);break;};e.stopPropagation();e.preventDefault();};};},_onKeyPressUp:function(bf){var bb=bf.getSelectedButton();var bc=bf.getChildren();var bd=bb?bf.indexOf(bb)-1:bc.length-1;var be=this._getChild(bf,bd,-1,true);if(be){bf.setSelectedButton(be);}else {bf.resetSelectedButton();};},_onKeyPressDown:function(bg){var bh=bg.getSelectedButton();var bj=bh?bg.indexOf(bh)+1:0;var bi=this._getChild(bg,bj,1,true);if(bi){bg.setSelectedButton(bi);}else {bg.resetSelectedButton();};},_onKeyPressLeft:function(bm){var bo=bm.getOpener();if(!bo){return;};if(bo instanceof qx.ui.menu.AbstractButton){var bl=bo.getLayoutParent();bl.resetOpenedButton();bl.setSelectedButton(bo);}else if(bo instanceof qx.ui.menubar.Button){var bp=bo.getMenuBar().getMenuButtons();var bk=bp.indexOf(bo);if(bk===-1){return;};var bq=null;var length=bp.length;for(var i=1;i<=length;i++ ){var bn=bp[(bk-i+length)%length];if(bn.isEnabled()&&bn.isVisible()){bq=bn;break;};};if(bq&&bq!=bo){bq.open(true);};};},_onKeyPressRight:function(bu){var bs=bu.getSelectedButton();if(bs){var br=bs.getMenu();if(br){bu.setOpenedButton(bs);var bz=this._getChild(br,0,1);if(bz){br.setSelectedButton(bz);};return;};}else if(!bu.getOpenedButton()){var bz=this._getChild(bu,0,1);if(bz){bu.setSelectedButton(bz);if(bz.getMenu()){bu.setOpenedButton(bz);};return;};};var bw=bu.getOpener();if(bw instanceof qx.ui.menu.Button&&bs){while(bw){bw=bw.getLayoutParent();if(bw instanceof qx.ui.menu.Menu){bw=bw.getOpener();if(bw instanceof qx.ui.menubar.Button){break;};}else {break;};};if(!bw){return;};};if(bw instanceof qx.ui.menubar.Button){var bx=bw.getMenuBar().getMenuButtons();var bt=bx.indexOf(bw);if(bt===-1){return;};var by=null;var length=bx.length;for(var i=1;i<=length;i++ ){var bv=bx[(bt+i)%length];if(bv.isEnabled()&&bv.isVisible()){by=bv;break;};};if(by&&by!=bw){by.open(true);};};},_onKeyPressEnter:function(bA,bB,e){if(bB.hasListener(q)){var bC=e.clone();bC.setBubbles(false);bC.setTarget(bB);bB.dispatchEvent(bC);};this.hideAll();},_onKeyPressSpace:function(bD,bE,e){if(bE.hasListener(q)){var bF=e.clone();bF.setBubbles(false);bF.setTarget(bE);bE.dispatchEvent(bF);};},_onMouseWheel:function(e){var bG=e.getTarget();bG=qx.ui.core.Widget.getWidgetByElement(bG,true);if(this.__lo.length>0&&!this._isInMenu(bG)&&!this._isMenuOpener(bG)){this.hideAll();};}},destruct:function(){var bI=qx.event.Registration;var bH=document.body;bI.removeListener(window.document.documentElement,c,this._onMouseDown,this,true);bI.removeListener(bH,o,this._onKeyUpDown,this,true);bI.removeListener(bH,t,this._onKeyUpDown,this,true);bI.removeListener(bH,q,this._onKeyPress,this,true);this._disposeObjects(k,f);this._disposeArray(a);}});})();(function(){var a="Boolean",b="qx.ui.core.Widget",c="mouseout",d="excluded",f="selected",g="Integer",h="slidebar",j="menu",k="visible",l="_applySelectedButton",m="_applyOpenInterval",n="_applySpacingY",o="resize",p="_blocker",q="_applyCloseInterval",r="_applyBlockerColor",s="The menu instance needs a configured 'opener' widget!",t="_applyIconColumnWidth",u="mouseover",v="qx.ui.menu.Menu",w="Color",x="Number",y="_applyOpenedButton",z="Unknown target: ",A="_applySpacingX",B="_applyBlockerOpacity",C="Could not open menu instance because 'opener' widget is not visible",D="_applyArrowColumnWidth";qx.Class.define(v,{extend:qx.ui.core.Widget,include:[qx.ui.core.MPlacement,qx.ui.core.MRemoteChildrenHandling],construct:function(){qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.menu.Layout);var E=this.getApplicationRoot();E.add(this);this.addListener(u,this._onMouseOver);this.addListener(c,this._onMouseOut);this.addListener(o,this._onResize,this);E.addListener(o,this._onResize,this);this._blocker=new qx.ui.core.Blocker(E);this.initVisibility();this.initKeepFocus();this.initKeepActive();},properties:{appearance:{refine:true,init:j},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},visibility:{refine:true,init:d},keepFocus:{refine:true,init:true},keepActive:{refine:true,init:true},spacingX:{check:g,apply:A,init:0,themeable:true},spacingY:{check:g,apply:n,init:0,themeable:true},iconColumnWidth:{check:g,init:0,themeable:true,apply:t},arrowColumnWidth:{check:g,init:0,themeable:true,apply:D},blockerColor:{check:w,init:null,nullable:true,apply:r,themeable:true},blockerOpacity:{check:x,init:1,apply:B,themeable:true},selectedButton:{check:b,nullable:true,apply:l},openedButton:{check:b,nullable:true,apply:y},opener:{check:b,nullable:true},openInterval:{check:g,themeable:true,init:250,apply:m},closeInterval:{check:g,themeable:true,init:250,apply:q},blockBackground:{check:a,themeable:true,init:false}},members:{__pS:null,__pT:null,_blocker:null,open:function(){if(this.getOpener()!=null){var F=this.placeToWidget(this.getOpener());if(F){this.__pV();this.show();this._placementTarget=this.getOpener();}else {this.warn(C);};}else {this.warn(s);};},openAtMouse:function(e){this.placeToMouse(e);this.__pV();this.show();this._placementTarget={left:e.getDocumentLeft(),top:e.getDocumentTop()};},openAtPoint:function(G){this.placeToPoint(G);this.__pV();this.show();this._placementTarget=G;},addSeparator:function(){this.add(new qx.ui.menu.Separator);},getColumnSizes:function(){return this._getMenuLayout().getColumnSizes();},getSelectables:function(){var H=[];var I=this.getChildren();for(var i=0;ibm){this._assertSlideBar(function(){this.setHeight(bm-top);});}else {this.setHeight(null);};},_assertSlideBar:function(bp){if(this.hasChildControl(h)){return bp.call(this);};this.__pT=bp;qx.ui.core.queue.Widget.add(this);},syncWidget:function(bq){this.getChildControl(h);if(this.__pT){this.__pT.call(this);delete this.__pT;};},_onResize:function(){if(this.isVisible()){var br=this._placementTarget;if(!br){return;}else if(br instanceof qx.ui.core.Widget){this.placeToWidget(br);}else if(br.top!==undefined){this.placeToPoint(br);}else {throw new Error(z+br);};this.__pV();};},_onMouseOver:function(e){var bt=qx.ui.menu.Manager.getInstance();bt.cancelClose(this);var bu=e.getTarget();if(bu.isEnabled()&&bu instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(bu);var bs=bu.getMenu&&bu.getMenu();if(bs){bs.setOpener(bu);bt.scheduleOpen(bs);this.__pS=bs;}else {var bv=this.getOpenedButton();if(bv){bt.scheduleClose(bv.getMenu());};if(this.__pS){bt.cancelOpen(this.__pS);this.__pS=null;};};}else if(!this.getOpenedButton()){this.resetSelectedButton();};},_onMouseOut:function(e){var bw=qx.ui.menu.Manager.getInstance();if(!qx.ui.core.Widget.contains(this,e.getRelatedTarget())){var bx=this.getOpenedButton();bx?this.setSelectedButton(bx):this.resetSelectedButton();if(bx){bw.cancelClose(bx.getMenu());};if(this.__pS){bw.cancelOpen(this.__pS);};};}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){qx.ui.menu.Manager.getInstance().remove(this);};this.getApplicationRoot().removeListener(o,this._onResize,this);this._placementTarget=null;this._disposeObjects(p);}});})();(function(){var a="qx.ui.menu.Layout",b="Integer",c="_applyLayoutChange";qx.Class.define(a,{extend:qx.ui.layout.VBox,properties:{columnSpacing:{check:b,init:0,apply:c},spanColumn:{check:b,init:1,nullable:true,apply:c},iconColumnWidth:{check:b,init:0,themeable:true,apply:c},arrowColumnWidth:{check:b,init:0,themeable:true,apply:c}},members:{__pW:null,_computeSizeHint:function(){var q=this._getLayoutChildren();var o,g,k;var e=this.getSpanColumn();var j=this.__pW=[0,0,0,0];var n=this.getColumnSpacing();var m=0;var f=0;for(var i=0,l=q.length;i0){u+=q[i]+m;};};},__pX:function(v){while(!(v instanceof qx.ui.menu.Menu)){v=v.getLayoutParent();};return v;},_computeSizeHint:function(){var y=this._getLayoutChildren();var x=0;var z=0;for(var i=0,l=y.length;i0&&Q>=M||P==0)){e.stop();};}else {P=e.getWheelDelta(n);var Q=O.getScrollY();var M=O.getScrollMaxY();var N=parseInt(P);if(!(N<0&&Q<=0||N>0&&Q>=M||P==0)){e.stop();};};if(qx.event.handler.MouseEmulation.ON){this.scrollBy(P);}else {this.scrollBy(P*this.getScrollStep());};},_onScroll:function(){this._updateArrowsEnabled();},_onScrollAnimationEnd:function(){this.fireEvent(s);},_onResize:function(e){var content=this.getChildControl(o).getChildren()[0];if(!content){return;};var R=this.getInnerSize();var T=content.getBounds();var S=(this.getOrientation()===d)?T.width>R.width:T.height>R.height;if(S){this._showArrows();this._updateArrowsEnabled();}else {this._hideArrows();};},_onExecuteBackward:function(){this.scrollBy(-this.getScrollStep());},_onExecuteForward:function(){this.scrollBy(this.getScrollStep());},_updateArrowsEnabled:function(){if(!this.getEnabled()){this.getChildControl(c).setEnabled(false);this.getChildControl(i).setEnabled(false);return;};var V=this.getChildControl(o);if(this.getOrientation()===d){var U=V.getScrollX();var W=V.getScrollMaxX();}else {var U=V.getScrollY();var W=V.getScrollMaxY();};this.getChildControl(c).setEnabled(U>0);this.getChildControl(i).setEnabled(UF);}else if(this.__pY.length>0){do {var Q=this.__pY[0];if(Q){var P=Q.getMarginLeft()+Q.getMarginRight();P=Math.max(P,this.getSpacing());if(Q.getContentElement().getDomElement()==null){Q.syncAppearance();Q.invalidateLayoutCache();};var I=Q.getSizeHint().width;var O=false;if(this.__pY.length==1&&L>0){var N=P-this.getSpacing();var M=G-L+I+N;O=F>M;};if(F>G+I+P||O){this.__qb(Q);G+=I;if(E&&this.__pY.length==0){E.setVisibility(y);};}else {return;};};}while(F>=G&&this.__pY.length>0);};},__qb:function(R){R.setVisibility(o);this.__pY.shift();this.fireDataEvent(m,R);},__qc:function(S){if(!S){return;};this.__pY.unshift(S);S.setVisibility(y);this.fireDataEvent(A,S);},_getNextToHide:function(){for(var i=this.__qa.length-1;i>=0;i-- ){var T=this.__qa[i];if(T&&T.getVisibility&&T.getVisibility()==o){return T;};};var U=this._getChildren();for(var i=U.length-1;i>=0;i-- ){var V=U[i];if(V==this.getOverflowIndicator()){continue;};if(V.getVisibility&&V.getVisibility()==o){return V;};};},setRemovePriority:function(X,W,Y){if(!Y&&this.__qa[W]!=undefined){throw new Error(v);};this.__qa[W]=X;},_applyOverflowHandling:function(bc,ba){this.invalidateLayoutCache();var parent=this.getLayoutParent();if(parent){parent.invalidateLayoutCache();};var bb=this.getBounds();if(bb&&bb.width){this._recalculateOverflow(bb.width);};if(bc){this.addListener(q,this._onResize,this);}else {this.removeListener(q,this._onResize,this);var bd=this.getOverflowIndicator();if(bd){bd.setVisibility(y);};for(var i=0;in)?1:((k==n)?0:-1);},_defaultSortComparatorInsensitiveAscending:function(q,r){var p=(q[arguments.callee.columnIndex].toLowerCase?q[arguments.callee.columnIndex].toLowerCase():q[arguments.callee.columnIndex]);var s=(r[arguments.callee.columnIndex].toLowerCase?r[arguments.callee.columnIndex].toLowerCase():r[arguments.callee.columnIndex]);if(qx.lang.Type.isNumber(p)&&qx.lang.Type.isNumber(s)){var t=isNaN(p)?isNaN(s)?0:1:isNaN(s)?-1:null;if(t!=null){return t;};};return (p>s)?1:((p==s)?0:-1);},_defaultSortComparatorDescending:function(v,w){var u=v[arguments.callee.columnIndex];var x=w[arguments.callee.columnIndex];if(qx.lang.Type.isNumber(u)&&qx.lang.Type.isNumber(x)){var y=isNaN(u)?isNaN(x)?0:1:isNaN(x)?-1:null;if(y!=null){return y;};};return (u=this.__qj.length){throw new Error(c+bj+g+this.__qj.length+e);};return this.__qj[bj][bk];},setValue:function(bm,bl,bo){if(this.__qj[bl][bm]!=bo){this.__qj[bl][bm]=bo;if(this.hasListener(f)){var bn={firstRow:bl,lastRow:bl,firstColumn:bm,lastColumn:bm};this.fireDataEvent(f,bn);};if(bm==this.__qk){this.clearSorting();};};},setData:function(bq,bp){this.__qj=bq;if(this.hasListener(f)){var br={firstRow:0,lastRow:bq.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,br);};if(bp!==false){this.clearSorting();};},getData:function(){return this.__qj;},setDataAsMapArray:function(bt,bs,bu){this.setData(this._mapArray2RowArr(bt,bs),bu);},addRows:function(bx,bw,bv){if(bw==null){bw=this.__qj.length;};bx.splice(0,0,bw,0);Array.prototype.splice.apply(this.__qj,bx);var by={firstRow:bw,lastRow:this.__qj.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,by);if(bv!==false){this.clearSorting();};},addRowsAsMapArray:function(bA,bB,bz,bC){this.addRows(this._mapArray2RowArr(bA,bz),bB,bC);},setRows:function(bF,bE,bD){if(bE==null){bE=0;};bF.splice(0,0,bE,bF.length);Array.prototype.splice.apply(this.__qj,bF);var bG={firstRow:bE,lastRow:this.__qj.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,bG);if(bD!==false){this.clearSorting();};},setRowsAsMapArray:function(bI,bJ,bH,bK){this.setRows(this._mapArray2RowArr(bI,bH),bJ,bK);},removeRows:function(bM,bN,bL){this.__qj.splice(bM,bN);var bO={firstRow:bM,lastRow:this.__qj.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1,removeStart:bM,removeCount:bN};this.fireDataEvent(f,bO);if(bL!==false){this.clearSorting();};},_mapArray2RowArr:function(bQ,bU){var bT=bQ.length;var bP=this.getColumnCount();var bS=new Array(bT);var bR;for(var i=0;idh){var dp=qx.event.Registration.getManager(de[0]);for(var dg in qx.ui.table.Table.__qt){dj[dg]={};dj[dg].capture=dp.getListeners(de[0],dg,true);dj[dg].bubble=dp.getListeners(de[0],dg,false);};};this._cleanUpMetaColumns(dl.length);var dk=0;for(var i=0;ide.length){var dq=this.getTableColumnModel();for(var i=de.length;i0){var df=dj[dg].capture;for(var j=0;j0){var dt=dj[dg].bubble;for(var j=0;j=dM;i-- ){dL[i].destroy();};};},_onChangeLocale:function(dN){this.updateContent();this._updateStatusBar();},_onChangeTheme:function(){qx.ui.core.Widget.prototype._onChangeTheme.call(this);this.getDataRowRenderer().initThemeValues();this.updateContent();this._updateStatusBar();},_onSelectionChanged:function(dP){var dO=this._getPaneScrollerArr();for(var i=0;i=dX&&this.__qs<(dX+eb)){this.setFocusedCell();};};for(var i=0;i0){this.getSelectionModel().setSelectionInterval(0,ej-1);};break;default:ei=false;break;};}else {switch(em){case cl:this.__qq.handleSelectKeyDown(this.__qs,en);break;case bS:case ce:this.startEditing();ei=true;break;case bX:this.setFocusedCell(this.__qr,0,true);break;case bN:var ej=this.getTableModel().getRowCount();this.setFocusedCell(this.__qr,ej-1,true);break;case w:this.moveFocusedCell(-1,0);break;case ch:this.moveFocusedCell(1,0);break;case bU:this.moveFocusedCell(0,-1);break;case z:this.moveFocusedCell(0,1);break;case o:case bY:var eh=this.getPaneScroller(0);var ek=eh.getTablePane();var eg=this.getRowHeight();var ef=(em==o)?-1:1;ej=ek.getVisibleRowCount()-1;eh.setScrollY(eh.getScrollY()+ef*ej*eg);this.moveFocusedCell(0,ef*ej);break;default:ei=false;};};};if(el!=this.__qs&&this.getRowFocusChangeModifiesSelection()){this.__qq.handleMoveKeyDown(this.__qs,en);};if(ei){en.preventDefault();en.stopPropagation();};},_onFocusChanged:function(ep){var eo=this._getPaneScrollerArr();for(var i=0;i=fe.left&&ff<=fe.right){return i;};};return -1;},_getMetaColumnAtColumnX:function(fh){var fi=this.getMetaColumnCounts();var fj=0;for(var i=0;i=0){if(fl==0){fn=this.trn(cc,co,fm,fm);}else {fn=this.trn(bW,cm,fm,fl,fm);};};if(this.__qu){if(fn){fn+=this.__qu;}else {fn=this.__qu;};};if(fn){this.getChildControl(D).setValue(fn);};};},_updateScrollerWidths:function(){var fo=this._getPaneScrollerArr();for(var i=0;i0;},getAnchorSelectionIndex:function(){return this.__qF;},_setAnchorSelectionIndex:function(o){this.__qF=o;},getLeadSelectionIndex:function(){return this.__qG;},_setLeadSelectionIndex:function(p){this.__qG=p;},_getSelectedRangeArr:function(){return this.__qE;},resetSelection:function(){if(!this.isSelectionEmpty()){this._resetSelection();this._fireChangeSelection();};},isSelectionEmpty:function(){return this.__qE.length==0;},getSelectedCount:function(){var r=0;for(var i=0;i=t.minIndex&&s<=t.maxIndex){return true;};};return false;},getSelectedRanges:function(){var u=[];for(var i=0;iH){break;}else if(J.maxIndex>=D){var K=(J.minIndex>=D)&&(J.minIndex<=H);var F=(J.maxIndex>=D)&&(J.maxIndex<=H);if(K&&F){this.__qE.splice(i,1);i-- ;}else if(K){J.minIndex=H+1;}else if(F){J.maxIndex=D-1;}else {var I={minIndex:H+1,maxIndex:J.maxIndex};this.__qE.splice(i+1,0,I);J.maxIndex=D-1;break;};};};this._fireChangeSelection();},_resetSelection:function(){this.__qE=[];this.__qF=-1;this.__qG=-1;},_addSelectionInterval:function(O,M){this.__qF=O;this.__qG=M;var L=Math.min(O,M);var P=Math.max(O,M);var N=0;for(;NL){break;};};this.__qE.splice(N,0,{minIndex:L,maxIndex:P});var R=this.__qE[0];for(var i=1;i=Q.minIndex){R.maxIndex=Math.max(R.maxIndex,Q.maxIndex);this.__qE.splice(i,1);i-- ;}else {R=Q;};};},_dumpRanges:function(){var S=h;for(var i=0;ithis.getMaximumIntegerDigits()){E=E.substring(E.length-this.getMaximumIntegerDigits());};var D=x.substring(G+1);while(D.lengththis.getMaximumFractionDigits()){D=D.substring(0,this.getMaximumFractionDigits());};if(this.getGroupingUsed()){var z=E;E=l;var H;for(H=z.length;H>3;H-=3){E=l+qx.locale.Number.getGroupSeparator(this.__kn)+z.substring(H-3,H)+E;};E=z.substring(0,H)+E;};var B=this.getPrefix()?this.getPrefix():l;var y=this.getPostfix()?this.getPostfix():l;var F=B+(A?a:l)+E;if(D.length>0){F+=l+qx.locale.Number.getDecimalSeparator(this.__kn)+D;};F+=y;return F;},parse:function(R){var N=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this.__kn)+l);var L=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this.__kn)+l);var J=new RegExp(c+qx.lang.String.escapeRegexpChars(this.getPrefix())+o+m+N+k+h+L+s+qx.lang.String.escapeRegexpChars(this.getPostfix())+q);var M=J.exec(R);if(M==null){throw new Error(d+R+e);};var O=(M[1]==a);var Q=M[2];var P=M[3];Q=Q.replace(new RegExp(N,p),l);var K=(O?a:l)+Q;if(P!=null&&P.length!=0){P=P.replace(new RegExp(L),l);K+=t+P;};return parseFloat(K);}}});})();(function(){var a="cldr_number_decimal_separator",b="cldr_number_percent_format",c="qx.locale.Number",d="cldr_number_group_separator";qx.Class.define(c,{statics:{getDecimalSeparator:function(e){return qx.locale.Manager.getInstance().localize(a,[],e);},getGroupSeparator:function(f){return qx.locale.Manager.getInstance().localize(d,[],f);},getPercentFormat:function(g){return qx.locale.Manager.getInstance().localize(b,[],g);}}});})();(function(){var a="qx.ui.table.ICellEditorFactory";qx.Interface.define(a,{members:{createCellEditor:function(b){return true;},getCellEditorValue:function(c){return true;}}});})();(function(){var a="Function",b="abstract",c="",d="number",e="appear",f="Abstract method call!",g="qx.ui.table.celleditor.AbstractField";qx.Class.define(g,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,type:b,properties:{validationFunction:{check:a,nullable:true,init:null}},members:{_createEditor:function(){throw new Error(f);},createCellEditor:function(h){var i=this._createEditor();i.originalValue=h.value;if(h.value===null||h.value===undefined){h.value=c;};i.setValue(c+h.value);i.addListener(e,function(){i.selectAllText();});return i;},getCellEditorValue:function(j){var k=j.getValue();var l=this.getValidationFunction();if(l){k=l(k,j.originalValue);};if(typeof j.originalValue==d){k=parseFloat(k);};return k;}}});})();(function(){var a="number",b="qx.ui.table.celleditor.TextField",c="table-editor-textfield";qx.Class.define(b,{extend:qx.ui.table.celleditor.AbstractField,members:{getCellEditorValue:function(d){var e=d.getValue();var f=this.getValidationFunction();if(f){e=f(e,d.originalValue);};if(typeof d.originalValue==a){if(e!=null){e=parseFloat(e);};};return e;},_createEditor:function(){var g=new qx.ui.form.TextField();g.setAppearance(c);return g;}}});})();(function(){var a="qx.ui.table.IHeaderRenderer";qx.Interface.define(a,{members:{createHeaderCell:function(b){return true;},updateHeaderCell:function(c,d){return true;}}});})();(function(){var a="qx.ui.table.headerrenderer.Default",b="sortedAscending",c="sorted",d="String";qx.Class.define(a,{extend:qx.core.Object,implement:qx.ui.table.IHeaderRenderer,statics:{STATE_SORTED:c,STATE_SORTED_ASCENDING:b},properties:{toolTip:{check:d,init:null,nullable:true}},members:{createHeaderCell:function(e){var f=new qx.ui.table.headerrenderer.HeaderCell();this.updateHeaderCell(e,f);return f;},updateHeaderCell:function(j,i){var h=qx.ui.table.headerrenderer.Default;if(j.name&&j.name.translate){i.setLabel(j.name.translate());}else {i.setLabel(j.name);};var g=i.getToolTip();if(this.getToolTip()!=null){if(g==null){g=new qx.ui.tooltip.ToolTip(this.getToolTip());i.setToolTip(g);qx.util.DisposeUtil.disposeTriggeredBy(g,i);}else {g.setLabel(this.getToolTip());};};j.sorted?i.addState(h.STATE_SORTED):i.removeState(h.STATE_SORTED);j.sortedAscending?i.addState(h.STATE_SORTED_ASCENDING):i.removeState(h.STATE_SORTED_ASCENDING);}}});})();(function(){var a="_applySortIcon",b="_applyIcon",c="icon",d="label",e="table-header-cell",f="qx.ui.table.headerrenderer.HeaderCell",g="_applyLabel",h="String",i="sort-icon";qx.Class.define(f,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this);var j=new qx.ui.layout.Grid();j.setRowFlex(0,1);j.setColumnFlex(1,1);j.setColumnFlex(2,1);this.setLayout(j);},properties:{appearance:{refine:true,init:e},label:{check:h,init:null,nullable:true,apply:g},sortIcon:{check:h,init:null,nullable:true,apply:a,themeable:true},icon:{check:h,init:null,nullable:true,apply:b}},members:{_applyLabel:function(l,k){if(l){this._showChildControl(d).setValue(l);}else {this._excludeChildControl(d);};},_applySortIcon:function(n,m){if(n){this._showChildControl(i).setSource(n);}else {this._excludeChildControl(i);};},_applyIcon:function(p,o){if(p){this._showChildControl(c).setSource(p);}else {this._excludeChildControl(c);};},_createChildControlImpl:function(s,r){var q;switch(s){case d:q=new qx.ui.basic.Label(this.getLabel()).set({anonymous:true,allowShrinkX:true});this._add(q,{row:0,column:1});break;case i:q=new qx.ui.basic.Image(this.getSortIcon());q.setAnonymous(true);this._add(q,{row:0,column:2});break;case c:q=new qx.ui.basic.Image(this.getIcon()).set({anonymous:true,allowShrinkX:true});this._add(q,{row:0,column:0});break;};return q||qx.ui.container.Composite.prototype._createChildControlImpl.call(this,s);}}});})();(function(){var a="__qP",b="visibilityChanged",c="orderChanged",d="widthChanged",e="qx.ui.table.columnmodel.Basic",f=". The column is not added to this TablePaneModel.",g="__qN",h="Showing column failed: ",j=", got ",k="setColumnsOrder: Invalid number of column positions given, expected ",l="headerCellRendererChanged",m="qx.event.type.Data",n="__qO",o="visibilityChangedPre";qx.Class.define(e,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__qJ=[];this.__qK=[];},events:{"widthChanged":m,"visibilityChangedPre":m,"visibilityChanged":m,"orderChanged":m,"headerCellRendererChanged":m},statics:{DEFAULT_WIDTH:100,DEFAULT_HEADER_RENDERER:qx.ui.table.headerrenderer.Default,DEFAULT_DATA_RENDERER:qx.ui.table.cellrenderer.Default,DEFAULT_EDITOR_FACTORY:qx.ui.table.celleditor.TextField},members:{__qi:null,__qL:null,__qK:null,__qJ:null,__qM:null,__qN:null,__qO:null,__qP:null,init:function(s,v){{};this.__qM=[];var r=qx.ui.table.columnmodel.Basic.DEFAULT_WIDTH;var t=this.__qN||(this.__qN=new qx.ui.table.columnmodel.Basic.DEFAULT_HEADER_RENDERER());var q=this.__qO||(this.__qO=new qx.ui.table.columnmodel.Basic.DEFAULT_DATA_RENDERER());var p=this.__qP||(this.__qP=new qx.ui.table.columnmodel.Basic.DEFAULT_EDITOR_FACTORY());this.__qJ=[];this.__qK=[];var u;if(v){u=v.getInitiallyHiddenColumns();};u=u||[];for(var z=0;z=S&&T=X&&X!==-1){this.__qV();};},__qV:function(){this.__qS=[];this.__qU=0;},__qW:function(bb,Y,ba){if(!Y&&!ba&&this.__qS[bb]){return this.__qS[bb];}else {return null;};},__qX:function(bg,bf,bd,be){var bc=this.getMaxCacheLines();if(!bd&&!be&&!this.__qS[bg]&&bc>0){this._applyMaxCacheLines(bc);this.__qS[bg]=bf;this.__qU+=1;};},updateContent:function(bh,bk,bj,bi){if(bh){this.__qV();};if(bk&&Math.abs(bk)<=Math.min(10,this.getVisibleRowCount())){this._scrollContent(bk);}else if(bi&&!this.getTable().getAlwaysUpdateCells()){this._updateRowStyles(bj);}else {this._updateAllRows();};},_updateRowStyles:function(bq){var bp=this.getContentElement().getDomElement();if(!bp||!bp.firstChild){this._updateAllRows();return;};var bt=this.getTable();var bm=bt.getSelectionModel();var br=bt.getTableModel();var bu=bt.getDataRowRenderer();var bo=bp.firstChild.childNodes;var bn={table:bt};var bv=this.getFirstVisibleRow();var y=0;var bl=bo.length;if(bq!=null){var bs=bq-bv;if(bs>=0&&bscl){this._updateAllRows();return;};var cn=cm<0?ce+cm:0;var cd=cm<0?0:ce-cm;for(var i=Math.abs(cm)-1;i>=0;i-- ){var cg=cc[cn];try{ck.removeChild(cg);}catch(co){break;};};if(!this.__qT){this.__qT=document.createElement(g);};var cj=a;cj+=this._getRowsHtml(ch+cd,Math.abs(cm));cj+=e;this.__qT.innerHTML=cj;var ci=this.__qT.firstChild.childNodes;if(cm>0){for(var i=ci.length-1;i>=0;i-- ){var cg=ci[0];ck.appendChild(cg);};}else {for(var i=ci.length-1;i>=0;i-- ){var cg=ci[ci.length-1];ck.insertBefore(cg,ck.firstChild);};};if(this.__qs!==null){this._updateRowStyles(this.__qs-cm);this._updateRowStyles(this.__qs);};this.fireEvent(s);},_updateAllRows:function(){var cs=this.getContentElement().getDomElement();if(!cs){this.addListenerOnce(t,arguments.callee,this);return;};var cy=this.getTable();var cv=cy.getTableModel();var cx=this.getPaneScroller().getTablePaneModel();var cw=cx.getColumnCount();var cp=cy.getRowHeight();var ct=this.getFirstVisibleRow();var cq=this.getVisibleRowCount();var cz=cv.getRowCount();if(ct+cq>cz){cq=Math.max(0,cz-ct);};var cr=cx.getTotalWidth();var cu;if(cq>0){cu=[D,l,(cy.getForceLineHeight()?r+cp+w:p),c,A,this._getRowsHtml(ct,cq),b];}else {cu=[];};var cA=cu.join(p);cs.innerHTML=cA;this.setWidth(cr);this.__qR=cw;this.__qv=cq;this.fireEvent(s);}},destruct:function(){this.__qT=this.__qQ=this.__qS=null;}});})();(function(){var a="first",b="hovered",c="__qQ",d="last",e="qx.ui.table.pane.Header";qx.Class.define(e,{extend:qx.ui.core.Widget,construct:function(f){qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.HBox());this.__ne=new qx.ui.core.Blocker(this);this.__qQ=f;},members:{__qQ:null,__qY:null,__ra:null,__ne:null,getPaneScroller:function(){return this.__qQ;},getTable:function(){return this.__qQ.getTable();},getBlocker:function(){return this.__ne;},onColOrderChanged:function(){this._updateContent(true);},onPaneModelChanged:function(){this._updateContent(true);},onTableModelMetaDataChanged:function(){this._updateContent();},setColumnWidth:function(h,g,i){var j=this.getHeaderWidgetAtColumn(h);if(j!=null){j.setWidth(g);};},setMouseOverColumn:function(l){if(l!=this.__ra){if(this.__ra!=null){var k=this.getHeaderWidgetAtColumn(this.__ra);if(k!=null){k.removeState(b);};};if(l!=null){this.getHeaderWidgetAtColumn(l).addState(b);};this.__ra=l;};},getHeaderWidgetAtColumn:function(n){var m=this.getPaneScroller().getTablePaneModel().getX(n);return this._getChildren()[m];},showColumnMoveFeedback:function(y,x){var r=this.getContentLocation();if(this.__qY==null){var w=this.getTable();var o=this.getPaneScroller().getTablePaneModel().getX(y);var q=this._getChildren()[o];var s=w.getTableModel();var u=w.getTableColumnModel();var v={xPos:o,col:y,name:s.getColumnName(y),table:w};var t=u.getHeaderCellRenderer(y);var p=t.createHeaderCell(v);var z=q.getBounds();p.setWidth(z.width);p.setHeight(z.height);p.setZIndex(1000000);p.setOpacity(0.8);p.setLayoutProperties({top:r.top});this.getApplicationRoot().add(p);this.__qY=p;};this.__qY.setLayoutProperties({left:r.left+x});this.__qY.show();},hideColumnMoveFeedback:function(){if(this.__qY!=null){this.__qY.destroy();this.__qY=null;};},isShowingColumnMoveFeedback:function(){return this.__qY!=null;},_updateContent:function(B){var L=this.getTable();var E=L.getTableModel();var H=L.getTableColumnModel();var A=this.getPaneScroller().getTablePaneModel();var D=this._getChildren();var F=A.getColumnCount();var I=E.getSortColumnIndex();if(B){this._cleanUpCells();};var J={};J.sortedAscending=E.isSortAscending();for(var x=0;x=0;x-- ){var N=O[x];N.destroy();};}},destruct:function(){this.__ne.dispose();this._disposeObjects(c);}});})();(function(){var a="touchmove",b="qx.ui.core.scroll.MTouchScroll",c="touchend",d="getDocument",f="scrollbar-",g="touchstart",h="Top",i="Left",j="x",k="y";qx.Mixin.define(b,{construct:function(){if(!qx.event.handler.MouseEmulation.ON){this.addListener(a,this._onTouchMove,this);this.addListener(g,this._onTouchStart,this);this.addListener(c,this._onTouchEnd,this,true);};this.__cO={};this.__hO={};},members:{__rb:false,__rc:false,__hO:null,__cO:null,inTouchMomentum:function(){{};return this.__rb;},_onTouchStart:function(e){if(this.__hO){clearTimeout(this.__hO.x);clearTimeout(this.__hO.y);};this.__cO={"x":0,"y":0};if(this.__rb){this.__rc=true;this.__rb=false;};},_onTouchEnd:function(e){if(this.__rc){this.__rc=false;e.stop();};},_onTouchMove:function(e){this._onTouchMoveDirectional(j,e);this._onTouchMoveDirectional(k,e);this.__rb=true;e.stop();},_onTouchMoveDirectional:function(p,e){var l=(p==j?i:h);var n=this.getChildControl(f+p,true);var m=this._isChildControlVisible(f+p);if(m&&n){var o=null;if(this.__cO[p]==0){o=0;}else {o=-(e[d+l]()-this.__cO[p]);};this.__cO[p]=e[d+l]();n.scrollBy(o);if(this.__hO[p]){clearTimeout(this.__hO[p]);this.__hO[p]=null;};this.__hO[p]=setTimeout(qx.lang.Function.bind(function(q){this.__hR(q,p);},this,o),100);};},__hR:function(r,t){this.__hO[t]=null;var u=this._isChildControlVisible(f+t);if(r==0||!u){this.__rb=false;return;};if(r>0){r=Math.max(0,r-3);}else {r=Math.min(0,r+3);};this.__hO[t]=setTimeout(qx.lang.Function.bind(function(w,v){this.__hR(w,v);},this,r,t),10);var s=this.getChildControl(f+t,true);s.scrollBy(r);}},destruct:function(){clearTimeout(this.__hO.x);clearTimeout(this.__hO.y);this.__hO=this.__cO=this.__rb=null;}});})();(function(){var a="mousedown",b="Boolean",c="__rk",d="scroll",g="focus-indicator",h="mouseout",i="__rm",j="changeHorizontalScrollBarVisible",k="excluded",l="bottom",m="_applyScrollTimeout",n="changeScrollX",o="_applyTablePaneModel",p="Integer",q="scrollbar-y",r="qx.event.type.Data",s="dblclick",t="dataEdited",u="mousewheel",v="interval",w="__re",y="qx.ui.table.pane.Scroller",z="table-scroller-focus-indicator",A="visible",B="__ri",C="mousemove",D="resize-line",E="_applyShowCellFocusIndicator",F="y",G="header",H="resize",I="__rf",J="__rh",K="vertical",L="changeScrollY",M="editing",N="appear",O="__rg",P="click",Q="modelChanged",R="__rl",S="table-scroller",T="beforeSort",U="scrollbar-x",V="cellDblclick",W="mouseup",X="horizontal",Y="cellClick",bx="losecapture",by="contextmenu",bz="__jx",bt="col-resize",bu="disappear",bv="_applyVerticalScrollBarVisible",bw="__rj",bD="_applyHorizontalScrollBarVisible",bE="os.scrollBarOverlayed",bF="pane",bH="cellContextmenu",bA="close",bB="changeTablePaneModel",bC="x",br="qx.ui.table.pane.Model",bG="qx.ui.table.pane.CellEvent",bs="changeVerticalScrollBarVisible";qx.Class.define(y,{extend:qx.ui.core.Widget,include:qx.core.Environment.filter({"event.touch":qx.ui.core.scroll.MTouchScroll,"true":qx.ui.core.scroll.MScrollBarFactory}),construct:function(bI){qx.ui.core.Widget.call(this);this.__rd=bI;var bJ=new qx.ui.layout.Grid();bJ.setColumnFlex(0,1);bJ.setRowFlex(1,1);this._setLayout(bJ);this.__re=this._showChildControl(G);this.__rf=this._showChildControl(bF);this.__rg=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({minWidth:0});this._add(this.__rg,{row:0,column:0,colSpan:2});this.__rh=new qx.ui.table.pane.Clipper();this.__rh.add(this.__re);this.__rh.addListener(bx,this._onChangeCaptureHeader,this);this.__rh.addListener(C,this._onMousemoveHeader,this);this.__rh.addListener(a,this._onMousedownHeader,this);this.__rh.addListener(W,this._onMouseupHeader,this);this.__rh.addListener(P,this._onClickHeader,this);this.__rg.add(this.__rh,{flex:1});this.__ri=new qx.ui.table.pane.Clipper();this.__ri.add(this.__rf);this.__ri.addListener(u,this._onMousewheel,this);this.__ri.addListener(C,this._onMousemovePane,this);this.__ri.addListener(a,this._onMousedownPane,this);this.__ri.addListener(W,this._onMouseupPane,this);this.__ri.addListener(P,this._onClickPane,this);this.__ri.addListener(by,this._onContextMenu,this);this.__ri.addListener(s,this._onDblclickPane,this);this.__ri.addListener(H,this._onResizePane,this);if(qx.core.Environment.get(bE)){this.__rj=new qx.ui.container.Composite();this.__rj.setLayout(new qx.ui.layout.Canvas());this.__rj.add(this.__ri,{edge:0});this._add(this.__rj,{row:1,column:0});}else {this._add(this.__ri,{row:1,column:0});};this.__rk=this._showChildControl(U);this.__rl=this._showChildControl(q);this.__rm=this.getChildControl(g);this.initShowCellFocusIndicator();this.getChildControl(D).hide();this.addListener(h,this._onMouseout,this);this.addListener(N,this._onAppear,this);this.addListener(bu,this._onDisappear,this);this.__jx=new qx.event.Timer();this.__jx.addListener(v,this._oninterval,this);this.initScrollTimeout();},statics:{MIN_COLUMN_WIDTH:10,RESIZE_REGION_RADIUS:5,CLICK_TOLERANCE:5,HORIZONTAL_SCROLLBAR:1,VERTICAL_SCROLLBAR:2},events:{"changeScrollY":r,"changeScrollX":r,"cellClick":bG,"cellDblclick":bG,"cellContextmenu":bG,"beforeSort":r},properties:{horizontalScrollBarVisible:{check:b,init:false,apply:bD,event:j},verticalScrollBarVisible:{check:b,init:false,apply:bv,event:bs},tablePaneModel:{check:br,apply:o,event:bB},liveResize:{check:b,init:false},focusCellOnMouseMove:{check:b,init:false},selectBeforeFocus:{check:b,init:false},showCellFocusIndicator:{check:b,init:true,apply:E},contextMenuFromDataCellsOnly:{check:b,init:true},resetSelectionOnHeaderClick:{check:b,init:true},scrollTimeout:{check:p,init:100,apply:m},appearance:{refine:true,init:S}},members:{__qv:null,__rd:null,__rn:null,__ro:null,__rp:null,__rq:null,__rr:null,__rs:null,__rt:null,__ru:null,__rv:null,__rw:null,__rx:null,__ry:null,__rz:false,__rA:null,__rB:null,__rC:null,__qr:null,__qs:null,__rD:null,__rE:null,__rF:null,__rk:null,__rl:null,__re:null,__rh:null,__rf:null,__ri:null,__rj:null,__rm:null,__rg:null,__jx:null,getPaneInsetRight:function(){var bM=this.getTopRightWidget();var bN=bM&&bM.isVisible()&&bM.getBounds()?bM.getBounds().width+bM.getMarginLeft()+bM.getMarginRight():0;var bL=this.__rl;var bK=this.getVerticalScrollBarVisible()?this.getVerticalScrollBarWidth()+bL.getMarginLeft()+bL.getMarginRight():0;return Math.max(bN,bK);},setPaneWidth:function(bO){if(this.isVerticalScrollBarVisible()){bO+=this.getPaneInsetRight();};this.setWidth(bO);},_createChildControlImpl:function(bR,bQ){var bP;switch(bR){case G:bP=(this.getTable().getNewTablePaneHeader())(this);break;case bF:bP=(this.getTable().getNewTablePane())(this);break;case g:bP=new qx.ui.table.pane.FocusIndicator(this);bP.setUserBounds(0,0,0,0);bP.setZIndex(1000);bP.addListener(W,this._onMouseupFocusIndicator,this);this.__ri.add(bP);bP.show();bP.setDecorator(null);break;case D:bP=new qx.ui.core.Widget();bP.setUserBounds(0,0,0,0);bP.setZIndex(1000);this.__ri.add(bP);break;case U:bP=this._createScrollBar(X).set({alignY:l});bP.addListener(d,this._onScrollX,this);if(this.__rj!=null){bP.setMinHeight(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this.__rj.add(bP,{bottom:0,right:0,left:0});}else {this._add(bP,{row:2,column:0});};break;case q:bP=this._createScrollBar(K);bP.addListener(d,this._onScrollY,this);if(this.__rj!=null){this.__rj.add(bP,{right:0,bottom:0,top:0});}else {this._add(bP,{row:1,column:1});};break;};return bP||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bR);},_applyHorizontalScrollBarVisible:function(bT,bS){this.__rk.setVisibility(bT?A:k);},_applyVerticalScrollBarVisible:function(bV,bU){this.__rl.setVisibility(bV?A:k);},_applyTablePaneModel:function(bX,bW){if(bW!=null){bW.removeListener(Q,this._onPaneModelChanged,this);};bX.addListener(Q,this._onPaneModelChanged,this);},_applyShowCellFocusIndicator:function(ca,bY){if(ca){this.__rm.setDecorator(z);this._updateFocusIndicator();}else {if(this.__rm){this.__rm.setDecorator(null);};};},getScrollY:function(){return this.__rl.getPosition();},setScrollY:function(scrollY,cb){this.__rl.scrollTo(scrollY);if(cb){this._updateContent();};},getScrollX:function(){return this.__rk.getPosition();},setScrollX:function(scrollX){this.__rk.scrollTo(scrollX);},getTable:function(){return this.__rd;},onColVisibilityChanged:function(){this.updateHorScrollBarMaximum();this._updateFocusIndicator();},setColumnWidth:function(ce,cd){this.__re.setColumnWidth(ce,cd);this.__rf.setColumnWidth(ce,cd);var cc=this.getTablePaneModel();var x=cc.getX(ce);if(x!=-1){this.updateHorScrollBarMaximum();this._updateFocusIndicator();};},onColOrderChanged:function(){this.__re.onColOrderChanged();this.__rf.onColOrderChanged();this.updateHorScrollBarMaximum();},onTableModelDataChanged:function(ci,cg,cj,ch){this.__rf.onTableModelDataChanged(ci,cg,cj,ch);var cf=this.getTable().getTableModel().getRowCount();if(cf!=this.__qv){this.updateVerScrollBarMaximum();if(this.getFocusedRow()>=cf){if(cf==0){this.setFocusedCell(null,null);}else {this.setFocusedCell(this.getFocusedColumn(),cf-1);};};this.__qv=cf;};},onSelectionChanged:function(){this.__rf.onSelectionChanged();},onFocusChanged:function(){this.__rf.onFocusChanged();},onTableModelMetaDataChanged:function(){this.__re.onTableModelMetaDataChanged();this.__rf.onTableModelMetaDataChanged();},_onPaneModelChanged:function(){this.__re.onPaneModelChanged();this.__rf.onPaneModelChanged();},_onResizePane:function(){this.updateHorScrollBarMaximum();this.updateVerScrollBarMaximum();this._updateContent();this.__re._updateContent();this.__rd._updateScrollBarVisibility();},updateHorScrollBarMaximum:function(){var co=this.__ri.getInnerSize();if(!co){return;};var cl=this.getTablePaneModel().getTotalWidth();var cm=this.__rk;if(co.width0&&cA<1){cA=1;}else if(cA<0&&cA>-1){cA=-1;};if(qx.event.handler.MouseEmulation.ON){this.__rl.scrollBy(cA);}else {this.__rl.scrollBySteps(cA);};var cy=cA!=0&&!this.__rG(this.__rl,cA);cA=e.getWheelDelta(bC);if(cA>0&&cA<1){cA=1;}else if(cA<0&&cA>-1){cA=-1;};if(qx.event.handler.MouseEmulation.ON){this.__rk.scrollBy(cA);}else {this.__rk.scrollBySteps(cA);};if(this.__rB&&this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(this.__rB,this.__rC);};cy=cy||(cA!=0&&!this.__rG(this.__rk,cA));if(cy){e.stop();};},__rG:function(cC,cD){var cB=cC.getPosition();return (cD<0&&cB<=0)||(cD>0&&cB>=cC.getMaximum());},__rH:function(cJ){var cH=this.getTable();var cK=this.__re.getHeaderWidgetAtColumn(this.__rv);var cE=cK.getSizeHint().minWidth;var cG=Math.max(cE,this.__rx+cJ-this.__rw);if(this.getLiveResize()){var cF=cH.getTableColumnModel();cF.setColumnWidth(this.__rv,cG,true);}else {this.__re.setColumnWidth(this.__rv,cG,true);var cI=this.getTablePaneModel();this._showResizeLine(cI.getColumnLeft(this.__rv)+cG);};this.__rw+=cG-this.__rx;this.__rx=cG;},__rI:function(cM){var cL=qx.ui.table.pane.Scroller.CLICK_TOLERANCE;if(this.__re.isShowingColumnMoveFeedback()||cM>this.__ru+cL||cMdu){dt-- ;};dx.moveColumn(du,dt);this._updateFocusIndicator();};};this.__rq=null;this.__rs=null;this.__rh.releaseCapture();},_onMouseupPane:function(e){var dB=this.getTable();if(!dB.getEnabled()){return;};var dC=this._getRowForPagePos(e.getDocumentLeft(),e.getDocumentTop());if(dC!=-1&&dC!=null&&this._getColumnForPageX(e.getDocumentLeft())!=null){dB.getSelectionManager().handleMouseUp(dC,e);};},_onMouseupHeader:function(e){var dD=this.getTable();if(!dD.getEnabled()){return;};if(this.__rv!=null){this._stopResizeHeader();this.__rA=true;e.stop();}else if(this.__rq!=null){this._stopMoveHeader();e.stop();};},_onClickHeader:function(e){if(this.__rA){this.__rA=false;return;};var dI=this.getTable();if(!dI.getEnabled()){return;};var dG=dI.getTableModel();var dH=e.getDocumentLeft();var dF=this._getResizeColumnForPageX(dH);if(dF==-1){var dL=this._getColumnForPageX(dH);if(dL!=null&&dG.isColumnSortable(dL)){var dE=dG.getSortColumnIndex();var dJ=(dL!=dE)?true:!dG.isSortAscending();var dK={column:dL,ascending:dJ,clickEvent:e};if(this.fireDataEvent(T,dK,null,true)){if(dI.isEditing()){dI.stopEditing();};dG.sortByColumn(dL,dJ);if(this.getResetSelectionOnHeaderClick()){dI.getSelectionModel().resetSelection();};};};};e.stop();},_onClickPane:function(e){var dO=this.getTable();if(!dO.getEnabled()){return;};var dM=e.getDocumentLeft();var dN=e.getDocumentTop();var dQ=this._getRowForPagePos(dM,dN);var dP=this._getColumnForPageX(dM);if(dQ!=null&&dP!=null){dO.getSelectionManager().handleClick(dQ,e);if(this.__rm.isHidden()||(this.__ry&&!this.__rz&&!this.isEditing()&&dQ==this.__ry.row&&dP==this.__ry.col)){this.fireEvent(Y,qx.ui.table.pane.CellEvent,[this,e,dQ,dP],true);this.__rz=true;};};},_onContextMenu:function(e){var dS=e.getDocumentLeft();var dT=e.getDocumentTop();var dV=this._getRowForPagePos(dS,dT);var dU=this._getColumnForPageX(dS);if(dV===null&&this.getContextMenuFromDataCellsOnly()){return;};if(!this.getShowCellFocusIndicator()||dV===null||(this.__ry&&dV==this.__ry.row&&dU==this.__ry.col)){this.fireEvent(bH,qx.ui.table.pane.CellEvent,[this,e,dV,dU],true);var dR=this.getTable().getContextMenu();if(dR){if(dR.getChildren().length>0){dR.openAtMouse(e);}else {dR.exclude();};e.preventDefault();};};},_onContextMenuOpen:function(e){},_onDblclickPane:function(e){var dX=e.getDocumentLeft();var dY=e.getDocumentTop();this._focusCellAtPagePos(dX,dY);this.startEditing();var dW=this._getRowForPagePos(dX,dY);if(dW!=-1&&dW!=null){this.fireEvent(V,qx.ui.table.pane.CellEvent,[this,e,dW],true);};},_onMouseout:function(e){var ea=this.getTable();if(!ea.getEnabled()){return;};if(this.__rv==null){this.setCursor(null);this.getApplicationRoot().setGlobalCursor(null);};this.__re.setMouseOverColumn(null);if(this.getFocusCellOnMouseMove()){this.__rd.setFocusedCell();};},_showResizeLine:function(x){var ec=this._showChildControl(D);var eb=ec.getWidth();var ed=this.__ri.getBounds();ec.setUserBounds(x-Math.round(eb/2),0,eb,ed.height);},_hideResizeLine:function(){this._excludeChildControl(D);},showColumnMoveFeedback:function(em){var en=this.getTablePaneModel();var eg=this.getTable().getTableColumnModel();var eh=this.__rf.getContentLocation().left;var el=en.getColumnCount();var ei=0;var eq=0;var ef=eh;for(var ee=0;ee=(ff-fd)&&fe<=(ff+fd)){return fk;};};return -1;},_getRowForPagePos:function(fr,fs){var fl=this.__rf.getContentLocation();if(frfl.right){return null;};if(fs>=fl.top&&fs<=fl.bottom){var fm=this.getTable().getRowHeight();var scrollY=this.__rl.getPosition();if(this.getTable().getKeepFirstVisibleRowComplete()){scrollY=Math.floor(scrollY/fm)*fm;};var fp=scrollY+fs-fl.top;var ft=Math.floor(fp/fm);var fn=this.getTable().getTableModel();var fq=fn.getRowCount();return (ft=fo.top&&fs<=fo.bottom&&fr<=fo.right){return -1;};return null;},setTopRightWidget:function(fu){var fv=this.__rF;if(fv!=null){this.__rg.remove(fv);};if(fu!=null){this.__rg.add(fu);};this.__rF=fu;},getTopRightWidget:function(){return this.__rF;},getHeader:function(){return this.__re;},getTablePane:function(){return this.__rf;},getVerticalScrollBarWidth:function(){var fw=this.__rl;return fw.isVisible()?(fw.getSizeHint().width||0):0;},getNeededScrollBars:function(fA,fB){var fM=this.__rl;var fL=fM.getSizeHint().width+fM.getMarginLeft()+fM.getMarginRight();var fG=this.__rk;var fJ=fG.getSizeHint().height+fG.getMarginTop()+fG.getMarginBottom();var fD=this.__ri.getInnerSize();var fx=fD?fD.width:0;if(this.getVerticalScrollBarVisible()){fx+=fL;};var fH=fD?fD.height:0;if(this.getHorizontalScrollBarVisible()){fH+=fJ;};var fE=this.getTable().getTableModel();var fF=fE.getRowCount();var fy=this.getTablePaneModel().getTotalWidth();var fI=this.getTable().getRowHeight()*fF;var fz=false;var fN=false;if(fy>fx){fz=true;if(fI>fH-fJ){fN=true;};}else if(fI>fH){fN=true;if(!fB&&(fy>fx-fL)){fz=true;};};var fC=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;var fK=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;return ((fA||fz)?fC:0)|((fB||!fN)?0:fK);},getPaneClipper:function(){return this.__ri;},_applyScrollTimeout:function(fP,fO){this._startInterval(fP);},_startInterval:function(fQ){this.__jx.setInterval(fQ);this.__jx.start();},_stopInterval:function(){this.__jx.stop();},_postponedUpdateContent:function(){this._updateContent();},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.__ro&&!this.__rf._layoutPending){this.__ro=false;this._updateContent();};}),_updateContent:function(){var fY=this.__ri.getInnerSize();if(!fY){return;};var fW=fY.height;var scrollX=this.__rk.getPosition();var scrollY=this.__rl.getPosition();var fS=this.getTable().getRowHeight();var fU=Math.floor(scrollY/fS);var fX=this.__rf.getFirstVisibleRow();this.__rf.setFirstVisibleRow(fU);var fT=Math.ceil(fW/fS);var fR=0;var fV=this.getTable().getKeepFirstVisibleRowComplete();if(!fV){fT++ ;fR=scrollY%fS;};this.__rf.setVisibleRowCount(fT);if(fU!=fX){this._updateFocusIndicator();};this.__ri.scrollToX(scrollX);if(!fV){this.__ri.scrollToY(fR);};},_updateFocusIndicator:function(){var ga=this.getTable();if(!ga.getEnabled()){return;};this.__rm.moveToCell(this.__qr,this.__qs);}},destruct:function(){this._stopInterval();var gb=this.getTablePaneModel();if(gb){gb.dispose();};this.__ry=this.__rF=this.__rd=null;this._disposeObjects(c,R,J,B,i,w,I,O,bz,bw);}});})();(function(){var a="qx.ui.table.pane.Clipper";qx.Class.define(a,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this,new qx.ui.layout.Grow());this.setMinWidth(0);},members:{scrollToX:function(b){this.getContentElement().scrollToX(b,false);},scrollToY:function(c){this.getContentElement().scrollToY(c,true);}}});})();(function(){var a="Escape",b="keypress",c="Enter",d="excluded",f="Integer",g="qx.ui.table.pane.FocusIndicator";qx.Class.define(g,{extend:qx.ui.container.Composite,construct:function(h){qx.ui.container.Composite.call(this);this.__rJ=h;this.setKeepActive(true);this.addListener(b,this._onKeyPress,this);},properties:{visibility:{refine:true,init:d},row:{check:f,nullable:true},column:{check:f,nullable:true}},members:{__rJ:null,_onKeyPress:function(e){var i=e.getKeyIdentifier();if(i!==a&&i!==c){e.stopPropagation();};},moveToCell:function(p,q){if(!this.__rJ.getShowCellFocusIndicator()&&!this.__rJ.getTable().getTableModel().isColumnEditable(p)){this.exclude();return;}else {this.show();};if(p==null){this.hide();this.setRow(null);this.setColumn(null);}else {var j=this.__rJ.getTablePaneModel().getX(p);if(j==-1){this.hide();this.setRow(null);this.setColumn(null);}else {var o=this.__rJ.getTable();var m=o.getTableColumnModel();var n=this.__rJ.getTablePaneModel();var l=this.__rJ.getTablePane().getFirstVisibleRow();var k=o.getRowHeight();this.setUserBounds(n.getColumnLeft(p)-2,(q-l)*k-2,m.getColumnWidth(p)+3,k+3);this.show();this.setRow(q);this.setColumn(p);};};}},destruct:function(){this.__rJ=null;}});})();(function(){var a="Integer",b="qx.ui.table.pane.CellEvent";qx.Class.define(b,{extend:qx.event.type.Mouse,properties:{row:{check:a,nullable:true},column:{check:a,nullable:true}},members:{init:function(e,c,f,d){c.clone(this);this.setBubbles(false);if(f!=null){this.setRow(f);}else {this.setRow(e._getRowForPagePos(this.getDocumentLeft(),this.getDocumentTop()));};if(d!=null){this.setColumn(d);}else {this.setColumn(e._getColumnForPageX(this.getDocumentLeft()));};},clone:function(g){var h=qx.event.type.Mouse.prototype.clone.call(this,g);h.set({row:this.getRow(),column:this.getColumn()});return h;}}});})();(function(){var a="qx.lang.Number";qx.Class.define(a,{statics:{isInRange:function(c,d,b){return c>=d&&c<=b;},isBetweenRange:function(f,g,e){return f>g&&fh){return h;}else if(j!=null&&is){this.__rK=s-r;}else {this.__rK=t;};};return this.__rK;},getColumnAtX:function(v){var u=this.getFirstColumnX();return this.__rL.getVisibleColumnAtX(u+v);},getX:function(z){var w=this.getFirstColumnX();var y=this.getMaxColumnCount();var x=this.__rL.getVisibleX(z)-w;if(x>=0&&(y==-1||xthis.conditions[i][5]){be=true;};break;case k:if(bb=this.conditions[i][5]){be=true;};break;case v:if(bb<=this.conditions[i][5]){be=true;};break;};}else if(qx.lang.Array.contains(this.betweenAllowed,this.conditions[i][0])){if(this.conditions[i][7]==null){bb=bi.value;}else {bb=bf.getValueById(this.conditions[i][7],bi.row);};switch(this.conditions[i][0]){case j:if(bb>=this.conditions[i][5]&&bb<=this.conditions[i][6]){be=true;};break;case q:if(bbthis.conditions[i][6]){be=true;};break;};}else if(this.conditions[i][0]==n){if(this.conditions[i][6]==null){bb=bi.value;}else {bb=bf.getValueById(this.conditions[i][6],bi.row);};var bc=new RegExp(this.conditions[i][5],m);be=bc.test(bb);};if(be==true){this.__rQ(this.conditions[i],bd);};};var bg=[];for(var bh in bd){if(bd[bh]){bg.push(bh,o,bd[bh],l);};};return bg.join(f);}},destruct:function(){this.numericAllowed=this.betweenAllowed=this.conditions=null;}});})();(function(){var a="qooxdoo-table-cell",b="qx.ui.table.cellrenderer.Html",c="";qx.Class.define(b,{extend:qx.ui.table.cellrenderer.Conditional,members:{_getContentHtml:function(d){return (d.value||c);},_getCellClass:function(e){return a;}}});})();(function(){var a="qx.ui.table.cellrenderer.String",b="qooxdoo-table-cell",c="";qx.Class.define(a,{extend:qx.ui.table.cellrenderer.Conditional,members:{_getContentHtml:function(d){return qx.bom.String.escape(d.value||c);},_getCellClass:function(e){return b;}}});})();(function(){var a="Function",b="No function provided! Aborting.",c="qx.ui.table.cellrenderer.Dynamic";qx.Class.define(c,{extend:qx.ui.table.cellrenderer.Default,construct:function(d){qx.ui.table.cellrenderer.Default.call(this);if(d){this.setCellRendererFactoryFunction(d);};},properties:{cellRendererFactoryFunction:{check:a,nullable:true,init:null}},members:{createDataCellHtml:function(e,h){var g=this.getCellRendererFactoryFunction();if(!g){throw new Error(b);};var f=g(e);return f.createDataCellHtml(e,h);}}});})();(function(){var a="Boolean",b="px",c="nowrap",d="_applyWrap",f="-1",g="_applyMinimalLineHeight",h="Integer",i="textarea",j="auto",k="0",l="mousewheel",m="-9999px",n="input",o="whiteSpace",p="visible",q="y",r="browser.documentmode",s="",t="width",u="_applyAutoSize",v="appear",w="tabIndex",x='name',y='autoSize is ignored when the height property is set. If you want to set an initial height, use the minHeight property instead.',z="normal",A="mshtml",B="engine.name",C="qx.ui.form.TextArea",D="webkit",E='id',F="hidden",G="overflowY",H="absolute";qx.Class.define(C,{extend:qx.ui.form.AbstractField,construct:function(I){qx.ui.form.AbstractField.call(this,I);this.initWrap();this.addListener(l,this._onMousewheel,this);},properties:{wrap:{check:a,init:true,apply:d},appearance:{refine:true,init:i},singleStep:{check:h,init:20},minimalLineHeight:{check:h,apply:g,init:4},autoSize:{check:a,apply:u,init:false}},members:{__rR:null,__rS:null,__rT:null,setValue:function(J){J=qx.ui.form.AbstractField.prototype.setValue.call(this,J);this.__rU();return J;},_onMousewheel:function(e){var L=this.getContentElement();var scrollY=L.getScrollY();if(qx.event.handler.MouseEmulation.ON){L.scrollToY(scrollY+e.getWheelDelta(q));}else {L.scrollToY(scrollY+e.getWheelDelta(q)*this.getSingleStep());};var K=L.getScrollY();if(K!=scrollY){e.stop();};},__rU:function(){if(this.isAutoSize()){var O=this.__rV();if(O&&this.getBounds()){this.__rT=this.__rT||this._getAreaHeight();var Q=this._getScrolledAreaHeight();if(this.getMaxHeight()){var M=this.getInsets();var N=-M.top+this.getMaxHeight()-M.bottom;if(Q>N){this.getContentElement().setStyle(G,j);}else {this.getContentElement().setStyle(G,F);};};var P=Math.max(Q,this.__rT);this._setAreaHeight(P);}else {this.getContentElement().addListenerOnce(v,function(){this.__rU();},this);};};},_getAreaHeight:function(){return this.getInnerSize().height;},_setAreaHeight:function(R){if(this._getAreaHeight()!==R){this.__rS=R;qx.ui.core.queue.Layout.add(this);qx.ui.core.queue.Manager.flush();this.__rY();};},_getScrolledAreaHeight:function(){var T=this.__rV();var S=T.getDomElement();if(S){if(!S.parentNode){qx.html.Element.flush();return this._getScrolledAreaHeight();};if(qx.core.Environment.get(B)===D||(qx.core.Environment.get(B)==A)){T.setWrap(!this.getWrap(),true);};T.setWrap(this.getWrap(),true);if(qx.core.Environment.get(B)===D||(qx.core.Environment.get(B)==A)){S.style.overflow=F;};if(qx.core.Environment.get(B)==A&&qx.core.Environment.get(r)>=8){S.style.overflow=p;S.style.overflowX=F;};T.setValue(this.getValue()||s);if(qx.core.Environment.get(B)==A){S.style.height=j;qx.html.Element.flush();S.style.height=k;};this.__rX(T);if(qx.core.Environment.get(B)==A&&qx.core.Environment.get(r)==8){if(!S.scrollTop){qx.html.Element.flush();};};return S.scrollTop;};},__rV:function(){this.__rR=this.__rR||this.__rW();return this.__rR;},__rW:function(){var W,V,X,U;W=this.getContentElement();if(!W.getDomElement()){return null;};X=qx.bom.Element.clone(W.getDomElement());U=new qx.html.Input(i);U.useElement(X);V=U;V.setStyles({position:H,top:0,left:m,height:0,overflow:F},true);V.removeAttribute(E);V.removeAttribute(x);V.setAttribute(w,f);V.setValue(W.getValue()||s);V.insertBefore(W);this.__rX(V);return V;},__rX:function(Y){Y=Y.getDomElement();if(Y){Y.scrollTop=10000;};},_createInputElement:function(){return new qx.html.Input(i,{overflowX:j,overflowY:j});},_applyWrap:function(bc,ba){this.getContentElement().setWrap(bc);if(this._placeholder){var bb=bc?z:c;this._placeholder.setStyle(o,bb);};this.__rU();},_applyMinimalLineHeight:function(){qx.ui.core.queue.Layout.add(this);},_applyAutoSize:function(be,bd){{};if(be){this.__rU();this.addListener(n,this.__rU,this);if(!this.getBounds()){this.addListenerOnce(v,function(){this.getContentElement().setStyle(G,F);});}else {this.getContentElement().setStyle(G,F);};}else {this.removeListener(n,this.__rU);this.getContentElement().setStyle(G,j);};},_applyDimension:function(bf){qx.ui.form.AbstractField.prototype._applyDimension.call(this);{};if(bf===this.getMaxHeight()){this.__rU();};},__rY:function(){var content=this.getContentElement();var bh=content.getDomElement();var bg=content.getStyle(t);content.setStyle(t,parseInt(bg,10)+1000+b,true);if(bh){qx.bom.element.Dimension.getWidth(bh);};content.setStyle(t,bg,true);},__sa:function(){if(this.isAutoSize()&&this.getHeight()){this.warn(y);};},_getContentHint:function(){var bi=qx.ui.form.AbstractField.prototype._getContentHint.call(this);bi.height=bi.height*this.getMinimalLineHeight();bi.width=this._getTextSize().width*20;if(this.isAutoSize()){bi.height=this.__rS||bi.height;};return bi;}},destruct:function(){this.setAutoSize(false);if(this.__rR){this.__rR.dispose();};}});})();(function(){var a="complete",b="0%",c="progressbar",d="change",e="progress",f="qx.ui.indicator.ProgressBar",g="qx.event.type.Event",h="%",i="qx.event.type.Data";qx.Class.define(f,{extend:qx.ui.container.Composite,construct:function(k,j){qx.ui.container.Composite.call(this);this._createChildControl(e);this.setLayout(new qx.ui.layout.HBox());if(j!=null){this.setMaximum(j);};if(k!=null){this.setValue(k);};},properties:{appearance:{refine:true,init:c}},events:{complete:g,change:i},members:{__sb:0,__sc:100,getValue:function(){return this.__sb;},setValue:function(m){var l=this.getMaximum();if(!qx.lang.Type.isNumber(m)||!isFinite(m)){return null;};if(m<0){m=0;};if(m>l){m=l;};this.__sb=m;this._changeProgress(m/l);return m;},getMaximum:function(){return this.__sc;},setMaximum:function(o){var n=o;var p=this.getValue();if(!qx.lang.Type.isNumber(n)||!isFinite(n)||n<=0){return null;};if(n0&&this.__si.length0;this._cancel(v);if(u&&this.__sj.getAutoUpload())this.beginUploads();},cancelAll:function(){for(var w=this.__si,i=0;iS.length){throw new Error(m+S.length);};if(N==null){N=S.length;};var P=Q.getButton();var O=this.getChildControl(k);var R=this.getChildControl(A);Q.exclude();O.addAt(P,N);R.addAt(Q,N);this.__sn.add(P);Q.addState(this.__sm[this.getBarPosition()]);S=this.getChildren();if(N==S.length-1){Q.addState(d);};if(S[0]==Q){Q.addState(C);}else {S[S.length-2].removeState(d);};Q.addListener(q,this._onPageClose,this);},remove:function(W){var X=this.getChildControl(A);var U=this.getChildControl(k);var V=W.getButton();var Y=X.getChildren();if(this.getSelection()[0]==W){var T=Y.indexOf(W);if(T==0){if(Y[1]){this.setSelection([Y[1]]);}else {this.resetSelection();};}else {this.setSelection([Y[T-1]]);};};U.remove(V);X.remove(W);this.__sn.remove(V);W.removeState(this.__sm[this.getBarPosition()]);if(W.hasState(C)){W.removeState(C);if(Y[0]){Y[0].addState(C);};};if(W.hasState(d)){W.removeState(d);if(Y.length>0){Y[Y.length-1].addState(d);};};W.removeListener(q,this._onPageClose,this);},getChildren:function(){return this.getChildControl(A).getChildren();},indexOf:function(ba){return this.getChildControl(A).indexOf(ba);},__sm:null,_applyBarPosition:function(be,bg){var bb=this.getChildControl(k);var bh=this.getChildControl(A);var bj=be==B||be==x;var bk=be==x||be==a;var bi=bj?qx.ui.layout.HBox:qx.ui.layout.VBox;var bl=this._getLayout();if(bl&&bl instanceof bi){}else {this._setLayout(bl=new bi);};bl.setReversed(bk);bb.setOrientation(bj?o:v);var bf=this.getChildren();if(bg){var bd=this.__sm[bg];bb.removeState(bd);bh.removeState(bd);for(var i=0,l=bf.length;i0&&!this.getSelection()[0]){this.setSelection([v[0]]);};},remove:function(w){var x=this.__so;if(qx.lang.Array.contains(x,w)){qx.lang.Array.remove(x,w);if(w.getGroup()===this){w.resetGroup();};w.removeListener(o,this._onItemChangeChecked,this);if(w.getValue()){this.resetSelection();};};},getChildren:function(){return this.__so;},_onItemChangeChecked:function(e){var y=e.getTarget();if(y.getValue()){this.setSelection([y]);}else if(this.getSelection()[0]==y){this.resetSelection();};},_applyInvalidMessage:function(A,z){for(var i=0;i0){dbg(3,o);var r=rpc.RpcQueue.pop();rpc.callRPCarray(r[0],r[1],r[2],r[3],r[4],r[5]);};}else {dbg(0,h+D+g+B);};},y,z);if(!A){this.RpcRunning=u;}else {if(rpc.RpcQueue.length>0){dbg(3,d);alert(k);var r=rpc.RpcQueue.pop();rpc.callRPCarray(r[0],r[1],r[2],r[3],r[4],r[5]);};};},callRPC:function(F,H,E,event){var G=[];for(var i=4;i=0){var m=bw.match(/new Date\(Date.UTC\((\d+),(\d+),(\d+),(\d+),(\d+),(\d+),(\d+)\)\)/);return new Date(Date.UTC(m[1],m[2],m[3],m[4],m[5],m[6],m[7]));};};return bw;});}else {response=response&&response.length>0?eval(t+response+O):null;};}else {response=qx.lang.Json.parse(response);};};id=response[V];if(id!=this.getSequenceNumber()){this.warn(j+id+b+E+this.getSequenceNumber()+a);};var eventType=H;var exTest=response[q];if(exTest!=null){result=null;addToStringToObject(exTest);ex=exTest;eventType=J;}else {result=response[K];if(refreshSession){result=eval(E+result+f);var newSuffix=qx.core.ServerSettings.serverPathSuffix;if(self.__sp!=newSuffix){self.__sq=self.__sp;self.__sp=newSuffix;};self.setUrl(self.fixUrl(self.getUrl()));};};handleRequestFinished(eventType,eventTarget);});var replacer=null;if(this._isConvertDates()){replacer=function(by,bz){bz=this[by];if(qx.lang.Type.isDate(bz)){var bx=bz.getUTCFullYear()+W+bz.getUTCMonth()+W+bz.getUTCDate()+W+bz.getUTCHours()+W+bz.getUTCMinutes()+W+bz.getUTCSeconds()+W+bz.getUTCMilliseconds();return d+bx+r;};return bz;};};req.setData(qx.lang.Json.stringify(rpcData,replacer));req.setAsynchronous(callType>0);if(req.getCrossDomain()){req.setRequestHeader(P,g);}else {req.setRequestHeader(P,e);};req.setParseJson(false);req.send();if(callType==0){if(ex!=null){var error=new Error(ex.toString());error.rpcdetails=ex;throw error;};return result;}else {return req;};},fixUrl:function(bA){if(this.__sq==null||this.__sp==null||this.__sq==B||this.__sq==this.__sp){return bA;};var bB=bA.indexOf(this.__sq);if(bB==-1){return bA;};return (bA.substring(0,bB)+this.__sp+bA.substring(bB+this.__sq.length));},callSync:function(bC){return this._callInternal(arguments,0);},callAsync:function(bD,bE){return this._callInternal(arguments,1);},callAsyncListeners:function(bF,bG){return this._callInternal(arguments,2);},refreshSession:function(bI){if(qx.core.ServerSettings&&qx.core.ServerSettings.serverPathSuffix){var bH=(new Date()).getTime()-qx.core.ServerSettings.lastSessionRefresh;if(bH/1000>(qx.core.ServerSettings.sessionTimeoutInSeconds-30)){this._callInternal([bI],1,true);}else {bI(true);};}else {bI(false);};},_isConvertDates:function(){return !!(qx.io.remote.Rpc.CONVERT_DATES);},_isResponseJson:function(){return !!(qx.io.remote.Rpc.RESPONSE_JSON);},abort:function(bJ){bJ.abort();}}});})();(function(){var a="application/xml",b="Boolean",c="application/json",d="text/html",f="application/x-www-form-urlencoded",g="qx.io.remote.Exchange",h="GET",i="Pragma",j="aborted",k="Integer",l="X-Qooxdoo-Response-Type",m="HEAD",n="qx.io.remote.Request",o="no-url-params-on-post",p="failed",q="_applyResponseType",r="_applyState",s="qx.event.type.Event",t="queued",u="text/javascript",w="changeState",x="PUT",y="_applyProhibitCaching",z="String",A="",B="sending",C="nocache",D="completed",E="qx.io.remote.Response",F="_applyMethod",G="DELETE",H="POST",I="receiving",J="boolean",K="configured",L="no-cache",M="Aborting already sent request!",N="Cache-Control",O="Content-Type",P="timeout",Q="text/plain";qx.Class.define(n,{extend:qx.core.Object,construct:function(S,R,T){qx.core.Object.call(this);this.__sr={};this.__ss={};this.__st={};this.__su={};if(S!==undefined){this.setUrl(S);};if(R!==undefined){this.setMethod(R);};if(T!==undefined){this.setResponseType(T);};this.setProhibitCaching(true);this.__sv= ++qx.io.remote.Request.__sv;},events:{"created":s,"configured":s,"sending":s,"receiving":s,"completed":E,"aborted":s,"failed":E,"timeout":E},statics:{__sv:0,methodAllowsRequestBody:function(U){return (U==H)||(U==x);}},properties:{url:{check:z,init:A},method:{check:[h,H,x,m,G],apply:F,init:h},asynchronous:{check:b,init:true},data:{check:z,nullable:true},username:{check:z,nullable:true},password:{check:z,nullable:true},state:{check:[K,t,B,I,D,j,P,p],init:K,apply:r,event:w},responseType:{check:[Q,u,c,a,d],init:Q,apply:q},timeout:{check:k,nullable:true},prohibitCaching:{check:function(v){return typeof v==J||v===o;},init:true,apply:y},crossDomain:{check:b,init:false},fileUpload:{check:b,init:false},transport:{check:g,nullable:true},useBasicHttpAuth:{check:b,init:false},parseJson:{check:b,init:true}},members:{__sr:null,__ss:null,__st:null,__su:null,__sv:null,send:function(){qx.io.remote.RequestQueue.getInstance().add(this);},abort:function(){qx.io.remote.RequestQueue.getInstance().abort(this);},reset:function(){switch(this.getState()){case B:case I:this.error(M);case t:this.abort();break;};},isConfigured:function(){return this.getState()===K;},isQueued:function(){return this.getState()===t;},isSending:function(){return this.getState()===B;},isReceiving:function(){return this.getState()===I;},isCompleted:function(){return this.getState()===D;},isAborted:function(){return this.getState()===j;},isTimeout:function(){return this.getState()===P;},isFailed:function(){return this.getState()===p;},__sw:qx.event.GlobalError.observeMethod(function(e){var V=e.clone();V.setTarget(this);this.dispatchEvent(V);}),_onqueued:function(e){this.setState(t);this.__sw(e);},_onsending:function(e){this.setState(B);this.__sw(e);},_onreceiving:function(e){this.setState(I);this.__sw(e);},_oncompleted:function(e){this.setState(D);this.__sw(e);this.dispose();},_onaborted:function(e){this.setState(j);this.__sw(e);this.dispose();},_ontimeout:function(e){this.setState(P);this.__sw(e);this.dispose();},_onfailed:function(e){this.setState(p);this.__sw(e);this.dispose();},_applyState:function(X,W){{};},_applyProhibitCaching:function(ba,Y){if(!ba){this.removeParameter(C);this.removeRequestHeader(i);this.removeRequestHeader(N);return;};if(ba!==o||this.getMethod()!=H){this.setParameter(C,new Date().valueOf());}else {this.removeParameter(C);};this.setRequestHeader(i,L);this.setRequestHeader(N,L);},_applyMethod:function(bc,bb){if(qx.io.remote.Request.methodAllowsRequestBody(bc)){this.setRequestHeader(O,f);}else {this.removeRequestHeader(O);};var bd=this.getProhibitCaching();this._applyProhibitCaching(bd,bd);},_applyResponseType:function(bf,be){this.setRequestHeader(l,bf);},setRequestHeader:function(bg,bh){this.__sr[bg]=bh;},removeRequestHeader:function(bi){delete this.__sr[bi];},getRequestHeader:function(bj){return this.__sr[bj]||null;},getRequestHeaders:function(){return this.__sr;},setParameter:function(bl,bm,bk){if(bk){this.__st[bl]=bm;}else {this.__ss[bl]=bm;};},removeParameter:function(bn,bo){if(bo){delete this.__st[bn];}else {delete this.__ss[bn];};},getParameter:function(bp,bq){if(bq){return this.__st[bp]||null;}else {return this.__ss[bp]||null;};},getParameters:function(br){return (br?this.__st:this.__ss);},setFormField:function(bs,bt){this.__su[bs]=bt;},removeFormField:function(bu){delete this.__su[bu];},getFormField:function(bv){return this.__su[bv]||null;},getFormFields:function(){return this.__su;},getSequenceNumber:function(){return this.__sv;}},destruct:function(){this.setTransport(null);this.__sr=this.__ss=this.__st=this.__su=null;}});})();(function(){var a="_on",b="Boolean",c=" handler ",d="ms",f="aborted",g="Integer",h=" threw an error: ",j="Timeout: transport ",k="singleton",l="interval",m="receiving",n="queued",o="io.maxrequests",p="_applyEnabled",q="sending",r="completed",s="ms > ",t="failed",u="_onaborted",v="__sx",w="Request ",x="__jx",y="qx.io.remote.RequestQueue",z="timeout";qx.Class.define(y,{type:k,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__ed=[];this.__sx=[];this.__sy=0;this.__jx=new qx.event.Timer(500);this.__jx.addListener(l,this._oninterval,this);},properties:{enabled:{init:true,check:b,apply:p},maxTotalRequests:{check:g,nullable:true},maxConcurrentRequests:{check:g,init:qx.core.Environment.get(o)},defaultTimeout:{check:g,init:5000}},members:{__ed:null,__sx:null,__sy:null,__jx:null,getRequestQueue:function(){return this.__ed;},getActiveQueue:function(){return this.__sx;},_debug:function(){{var A;};},_check:function(){this._debug();if(this.__sx.length==0&&this.__ed.length==0){this.__jx.stop();};if(!this.getEnabled()){return;};if(this.__ed.length==0||(this.__ed[0].isAsynchronous()&&this.__sx.length>=this.getMaxConcurrentRequests())){return;};if(this.getMaxTotalRequests()!=null&&this.__sy>=this.getMaxTotalRequests()){return;};var B=this.__ed.shift();var C=new qx.io.remote.Exchange(B);this.__sy++ ;this.__sx.push(C);this._debug();C.addListener(q,this._onsending,this);C.addListener(m,this._onreceiving,this);C.addListener(r,this._oncompleted,this);C.addListener(f,this._oncompleted,this);C.addListener(z,this._oncompleted,this);C.addListener(t,this._oncompleted,this);C._start=(new Date).valueOf();C.send();if(this.__ed.length>0){this._check();};},_remove:function(D){qx.lang.Array.remove(this.__sx,D);D.dispose();this._check();},__sz:0,_onsending:function(e){{};e.getTarget().getRequest()._onsending(e);},_onreceiving:function(e){e.getTarget().getRequest()._onreceiving(e);},_oncompleted:function(e){{};var E=e.getTarget().getRequest();var F=a+e.getType();this._remove(e.getTarget());try{if(E[F]){E[F](e);};}catch(G){this.error(w+E+c+F+h,G);try{if(E[u]){var event=qx.event.Registration.createEvent(f,qx.event.type.Event);E[u](event);};}catch(H){};};},_oninterval:function(e){var O=this.__sx;if(O.length==0){this.__jx.stop();return;};var J=(new Date).valueOf();var M;var K;var N=this.getDefaultTimeout();var L;var I;for(var i=O.length-1;i>=0;i-- ){M=O[i];K=M.getRequest();if(K.isAsynchronous()){L=K.getTimeout();if(L==0){continue;};if(L==null){L=N;};I=J-M._start;if(I>L){this.warn(j+M.toHashCode());this.warn(I+s+L+d);M.timeout();};};};},_applyEnabled:function(Q,P){if(Q){this._check();};this.__jx.setEnabled(Q);},add:function(R){R.setState(n);if(R.isAsynchronous()){this.__ed.push(R);}else {this.__ed.unshift(R);};this._check();if(this.getEnabled()){this.__jx.start();};},abort:function(S){var T=S.getTransport();if(T){T.abort();}else if(qx.lang.Array.contains(this.__ed,S)){qx.lang.Array.remove(this.__ed,S);};}},destruct:function(){this._disposeArray(v);this._disposeObjects(x);this.__ed=null;}});})();(function(){var a="], ",b="qx.io.remote.transport.XmlHttp",c="&",d="qx.io.remote.transport.Abstract",f="Request-URL too large",g="MSHTML-specific HTTP status code",h="Not available",j="Precondition failed",k="Server error",m=")",n="There is no transport implementation available to handle this request: ",o="qx.io.remote.Exchange",p="Bad gateway",q="Gone",r="See other",s="Timeout: forcing state to timeout",t="Partial content",u="aborted",v="Server timeout",w="qx.io.remote.transport.Script",x="No supported transport types were found!",y="Unauthorized",z="=",A="Multiple choices",B="Payment required",C="Request handler throws error",D="_applyState",E="Not implemented",F='Unknown status code. Possibly due to a cross-domain request?',G="Length required",H="failed",I="Unknown status code: ",J="Method not allowed",K="qx.event.type.Event",L="changeState",M="Not modified",N="HTTP version not supported",O="qx.io.remote.Request",P="Connection dropped",Q="Connection closed by server",R="Moved permanently",S="Proxy authentication required",T="",U="sending",V=" (",W="Moved temporarily",X="Timeout: implementation ",Y="_applyImplementation",bH="Forbidden",bI="completed",bJ="Use proxy",bD="Ok",bE="qx.io.remote.Response",bF="Not found",bG=", ",bN="receiving",bO="Not acceptable",bP="Request time-out",cc="Bad request",bK="Conflict",bL="No content",bM="configured",bB='Unknown status code. Possibly due to application URL using \'file:\' protocol?',bS="file:",bC="qx.io.remote.transport.Iframe",bT="Request entity too large",bU="Unknown status code",bY="timeout",bQ="Unsupported media type",cb="Gateway time-out",bR="created",bV="Out of resources",bW="undefined",bX="Please attach a request object first",ca=" [";qx.Class.define(o,{extend:qx.core.Object,construct:function(cd){qx.core.Object.call(this);this.setRequest(cd);cd.setTransport(this);},events:{"sending":K,"receiving":K,"completed":bE,"aborted":K,"failed":bE,"timeout":bE},statics:{typesOrder:[b,bC,w],typesReady:false,typesAvailable:{},typesSupported:{},registerType:function(ce,cf){qx.io.remote.Exchange.typesAvailable[cf]=ce;},initTypes:function(){if(qx.io.remote.Exchange.typesReady){return;};for(var cg in qx.io.remote.Exchange.typesAvailable){var ch=qx.io.remote.Exchange.typesAvailable[cg];if(ch.isSupported()){qx.io.remote.Exchange.typesSupported[cg]=ch;};};qx.io.remote.Exchange.typesReady=true;if(qx.lang.Object.isEmpty(qx.io.remote.Exchange.typesSupported)){throw new Error(x);};},canHandle:function(ck,cj,ci){if(!qx.lang.Array.contains(ck.handles.responseTypes,ci)){return false;};for(var cl in cj){if(!ck.handles[cl]){return false;};};return true;},_nativeMap:{'0':bR,'1':bM,'2':U,'3':bN,'4':bI},wasSuccessful:function(cm,cn,co){if(co){switch(cm){case null:case 0:return true;case -1:return cn<4;default:return typeof cm===bW;};}else {switch(cm){case -1:{};return cn<4;case 200:case 304:return true;case 201:case 202:case 203:case 204:case 205:return true;case 206:{};return cn!==4;case 300:case 301:case 302:case 303:case 305:case 400:case 401:case 402:case 403:case 404:case 405:case 406:case 407:case 408:case 409:case 410:case 411:case 412:case 413:case 414:case 415:case 500:case 501:case 502:case 503:case 504:case 505:{};return false;case 12002:case 12007:case 12029:case 12030:case 12031:case 12152:case 13030:{};return false;default:if(cm>206&&cm<300){return true;};qx.log.Logger.debug(this,I+cm+V+cn+m);return false;};};},statusCodeToString:function(cp){switch(cp){case -1:return h;case 0:var cq=window.location.href;if(qx.lang.String.startsWith(cq.toLowerCase(),bS)){return bB;}else {return F;};break;case 200:return bD;case 304:return M;case 206:return t;case 204:return bL;case 300:return A;case 301:return R;case 302:return W;case 303:return r;case 305:return bJ;case 400:return cc;case 401:return y;case 402:return B;case 403:return bH;case 404:return bF;case 405:return J;case 406:return bO;case 407:return S;case 408:return bP;case 409:return bK;case 410:return q;case 411:return G;case 412:return j;case 413:return bT;case 414:return f;case 415:return bQ;case 500:return k;case 501:return E;case 502:return p;case 503:return bV;case 504:return cb;case 505:return N;case 12002:return v;case 12029:return P;case 12030:return P;case 12031:return P;case 12152:return Q;case 13030:return g;default:return bU;};}},properties:{request:{check:O,nullable:true},implementation:{check:d,nullable:true,apply:Y},state:{check:[bM,U,bN,bI,u,bY,H],init:bM,event:L,apply:D}},members:{send:function(){var cu=this.getRequest();if(!cu){return this.error(bX);};qx.io.remote.Exchange.initTypes();var cs=qx.io.remote.Exchange.typesOrder;var cr=qx.io.remote.Exchange.typesSupported;var cw=cu.getResponseType();var cx={};if(cu.getAsynchronous()){cx.asynchronous=true;}else {cx.synchronous=true;};if(cu.getCrossDomain()){cx.crossDomain=true;};if(cu.getFileUpload()){cx.fileUpload=true;};for(var cv in cu.getFormFields()){cx.programaticFormFields=true;break;};var cy,ct;for(var i=0,l=cs.length;i0){cI.setData(cK.join(c));};}else {cI.setData(cL);};cI.setResponseType(cH.getResponseType());cI.addListener(U,this._onsending,this);cI.addListener(bN,this._onreceiving,this);cI.addListener(bI,this._oncompleted,this);cI.addListener(u,this._onabort,this);cI.addListener(bY,this._ontimeout,this);cI.addListener(H,this._onfailed,this);};},_applyState:function(cQ,cO){{};switch(cQ){case U:this.fireEvent(U);break;case bN:this.fireEvent(bN);break;case bI:case u:case bY:case H:var cR=this.getImplementation();if(!cR){break;};this.__sA();if(this.hasListener(cQ)){var cP=qx.event.Registration.createEvent(cQ,qx.io.remote.Response);if(cQ==bI){var cN=cR.getResponseContent();cP.setContent(cN);if(cN===null){{};cQ=H;};}else if(cQ==H){cP.setContent(cR.getResponseContent());};cP.setStatusCode(cR.getStatusCode());cP.setResponseHeaders(cR.getResponseHeaders());this.dispatchEvent(cP);};this.setImplementation(null);cR.dispose();break;};}},environment:{"qx.debug.io.remote":false,"qx.debug.io.remote.data":false},destruct:function(){var cS=this.getImplementation();if(cS){this.setImplementation(null);cS.dispose();};this.setRequest(null);}});})();(function(){var a="Boolean",b="setRequestHeader is abstract",c="getFetchedLength is abstract",d="getStatusText is abstract",e="getStatusCode is abstract",f="GET",g="aborted",h="Object",i="send is abstract",j="receiving",k="_applyState",l="qx.event.type.Event",m="changeState",n="String",o="getResponseHeader is abstract",p="sending",q="getResponseHeaders is abstract",r="completed",s="failed",t="getResponseText is abstract",u="abstract",v="configured",w="qx.io.remote.transport.Abstract",x="getResponseXml is abstract",y="created",z="timeout";qx.Class.define(w,{type:u,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.setRequestHeaders({});this.setParameters({});this.setFormFields({});},events:{"created":l,"configured":l,"sending":l,"receiving":l,"completed":l,"aborted":l,"failed":l,"timeout":l},properties:{url:{check:n,nullable:true},method:{check:n,nullable:true,init:f},asynchronous:{check:a,nullable:true,init:true},data:{check:n,nullable:true},username:{check:n,nullable:true},password:{check:n,nullable:true},state:{check:[y,v,p,j,r,g,z,s],init:y,event:m,apply:k},requestHeaders:{check:h,nullable:true},parameters:{check:h,nullable:true},formFields:{check:h,nullable:true},responseType:{check:n,nullable:true},useBasicHttpAuth:{check:a,nullable:true}},members:{send:function(){throw new Error(i);},abort:function(){{};this.setState(g);},timeout:function(){{};this.setState(z);},failed:function(){{};this.setState(s);},setRequestHeader:function(A,B){throw new Error(b);},getResponseHeader:function(C){throw new Error(o);},getResponseHeaders:function(){throw new Error(q);},getStatusCode:function(){throw new Error(e);},getStatusText:function(){throw new Error(d);},getResponseText:function(){throw new Error(t);},getResponseXml:function(){throw new Error(x);},getFetchedLength:function(){throw new Error(c);},_applyState:function(E,D){{};switch(E){case y:this.fireEvent(y);break;case v:this.fireEvent(v);break;case p:this.fireEvent(p);break;case j:this.fireEvent(j);break;case r:this.fireEvent(r);break;case g:this.fireEvent(g);break;case s:this.fireEvent(s);break;case z:this.fireEvent(z);break;};return true;}},destruct:function(){this.setRequestHeaders(null);this.setParameters(null);this.setFormFields(null);}});})();(function(){var a="application/xml",b=")!",c="application/json",d="text/html",f=")",g="gecko",h="frame_",j="Could not execute json: (",k="aborted",l="textarea",m="_data_",n="No valid responseType specified (",o="load",p="text/plain",q="text/javascript",r="pre",s="javascript:void(0)",t="",u="sending",v="readystatechange",w="completed",x="form",y="Could not execute javascript: (",z="failed",A="mshtml",B="engine.name",C="Ignore Ready State Change",D="form_",E="?",F="qx.io.remote.transport.Iframe",G="&",H="=",I="none",J="opera",K="timeout",L="qx/static/blank.gif",M="display";qx.Class.define(F,{extend:qx.io.remote.transport.Abstract,construct:function(){qx.io.remote.transport.Abstract.call(this);var N=(new Date).valueOf();var O=h+N;var P=D+N;var Q;if((qx.core.Environment.get(B)==A)){Q=s;};this.__py=qx.bom.Iframe.create({id:O,name:O,src:Q});qx.bom.element.Style.set(this.__py,M,I);this.__sB=qx.dom.Element.create(x,{id:P,name:P,target:O});qx.bom.element.Style.set(this.__sB,M,I);qx.dom.Element.insertEnd(this.__sB,qx.dom.Node.getBodyElement(document));this.__cN=qx.dom.Element.create(l,{id:m,name:m});qx.dom.Element.insertEnd(this.__cN,this.__sB);qx.dom.Element.insertEnd(this.__py,qx.dom.Node.getBodyElement(document));qx.event.Registration.addListener(this.__py,o,this._onload,this);this.__sC=qx.lang.Function.listener(this._onreadystatechange,this);qx.bom.Event.addNativeListener(this.__py,v,this.__sC);},statics:{handles:{synchronous:false,asynchronous:true,crossDomain:false,fileUpload:true,programaticFormFields:true,responseTypes:[p,q,c,a,d]},isSupported:function(){return true;},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4}},members:{__cN:null,__sD:0,__sB:null,__py:null,__sC:null,send:function(){var S=this.getMethod();var U=this.getUrl();var Y=this.getParameters(false);var X=[];for(var T in Y){var V=Y[T];if(V instanceof Array){for(var i=0;i0){U+=(U.indexOf(E)>=0?G:E)+X.join(G);};if(this.getData()===null){var Y=this.getParameters(true);var X=[];for(var T in Y){var V=Y[T];if(V instanceof Array){for(var i=0;i0){this.setData(X.join(G));};};var R=this.getFormFields();for(var T in R){var W=document.createElement(l);W.name=T;W.appendChild(document.createTextNode(R[T]));this.__sB.appendChild(W);};this.__sB.action=U;this.__sB.method=S;this.__cN.appendChild(document.createTextNode(this.getData()));this.__sB.submit();this.setState(u);},_onload:qx.event.GlobalError.observeMethod(function(e){if(qx.core.Environment.get(B)==J&&this.getIframeHtmlContent()==t){return;};if(this.__sB.src){return;};this._switchReadyState(qx.io.remote.transport.Iframe._numericMap.complete);}),_onreadystatechange:qx.event.GlobalError.observeMethod(function(e){this._switchReadyState(qx.io.remote.transport.Iframe._numericMap[this.__py.readyState]);}),_switchReadyState:function(ba){switch(this.getState()){case w:case k:case z:case K:this.warn(C);return;};while(this.__sD0?qx.lang.Json.parse(bg):null;}catch(bh){return this.error(j+bg+f,bh);};case q:bg=this.getIframeHtmlContent();{};try{return bg&&bg.length>0?window.eval(bg):null;}catch(bi){return this.error(y+bg+f,bi);};case a:bg=this.getIframeDocument();{};return bg;default:this.warn(n+this.getResponseType()+b);return null;};}},defer:function(){qx.io.remote.Exchange.registerType(qx.io.remote.transport.Iframe,F);},destruct:function(){if(this.__py){qx.event.Registration.removeListener(this.__py,o,this._onload,this);qx.bom.Event.removeNativeListener(this.__py,v,this.__sC);if((qx.core.Environment.get(B)==g)){this.__py.src=qx.util.ResourceManager.getInstance().toUri(L);};qx.dom.Element.remove(this.__py);};if(this.__sB){qx.dom.Element.remove(this.__sB);};this.__py=this.__sB=this.__cN=null;}});})();(function(){var a="qx.event.handler.Iframe",b="load",c="iframe",d="navigate";qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{load:1,navigate:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:false,onevent:qx.event.GlobalError.observeMethod(function(f){var e=qx.bom.Iframe.queryCurrentUrl(f);if(e!==f.$$url){qx.event.Registration.fireEvent(f,d,qx.event.type.Data,[e]);f.$$url=e;};qx.event.Registration.fireEvent(f,b);})},members:{canHandleEvent:function(h,g){return h.tagName.toLowerCase()===c;},registerEvent:function(k,j,i){},unregisterEvent:function(n,m,l){}},defer:function(o){qx.event.Registration.addHandler(o);}});})();(function(){var a="Iframe source could not be set!",b="contentDocument",c="engine.name",d="",e="qx.bom.Iframe",f="osx",g="qx.event.handler.Iframe.onevent(this)",h="os.name",i="webkit",j="load",k="iframe",l="body";qx.Class.define(e,{statics:{DEFAULT_ATTRIBUTES:{onload:g,frameBorder:0,frameSpacing:0,marginWidth:0,marginHeight:0,hspace:0,vspace:0,border:0,allowTransparency:true},create:function(m,p){var m=m?qx.lang.Object.clone(m):{};var n=qx.bom.Iframe.DEFAULT_ATTRIBUTES;for(var o in n){if(m[o]==null){m[o]=n[o];};};return qx.dom.Element.create(k,m,p);},getWindow:function(q){try{return q.contentWindow;}catch(r){return null;};},getDocument:function(t){if(b in t){try{return t.contentDocument;}catch(u){return null;};};try{var s=this.getWindow(t);return s?s.document:null;}catch(v){return null;};},getBody:function(x){try{var w=this.getDocument(x);return w?w.getElementsByTagName(l)[0]:null;}catch(y){return null;};},setSource:function(B,z){try{if(this.getWindow(B)&&qx.dom.Hierarchy.isRendered(B)){try{if((qx.core.Environment.get(c)==i)&&qx.core.Environment.get(h)==f){var A=this.getWindow(B);if(A){A.stop();};};this.getWindow(B).location.replace(z);}catch(C){B.src=z;};}else {B.src=z;};this.__sE(B);}catch(D){qx.log.Logger.warn(a);};},queryCurrentUrl:function(F){var E=this.getDocument(F);try{if(E&&E.location){return E.location.href;};}catch(G){};return d;},__sE:function(I){var H=function(){qx.bom.Event.removeNativeListener(I,j,H);I.$$url=qx.bom.Iframe.queryCurrentUrl(I);};qx.bom.Event.addNativeListener(I,j,H);}}});})();(function(){var a="&",b="Ignore Ready State Change",c="Illegal parameter name. The following prefix is used internally by qooxdoo): ",d="",e="_ScriptTransport_data",f="?",g="application/json",h=")!",j="script",k="=",l="timeout",m="completed",n="_ScriptTransport_",o="text/plain",p="text/javascript",q="_ScriptTransport_id",r="No valid responseType specified (",s="aborted",t="utf-8",u="failed",v="qx.io.remote.transport.Script";qx.Class.define(v,{extend:qx.io.remote.transport.Abstract,construct:function(){qx.io.remote.transport.Abstract.call(this);var w= ++qx.io.remote.transport.Script.__sF;if(w>=2000000000){qx.io.remote.transport.Script.__sF=w=1;};this.__gs=null;this.__sF=w;},statics:{__sF:0,_instanceRegistry:{},ScriptTransport_PREFIX:n,ScriptTransport_ID_PARAM:q,ScriptTransport_DATA_PARAM:e,handles:{synchronous:false,asynchronous:true,crossDomain:true,fileUpload:false,programaticFormFields:false,responseTypes:[o,p,g]},isSupported:function(){return true;},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4},_requestFinished:qx.event.GlobalError.observeMethod(function(x,content){var y=qx.io.remote.transport.Script._instanceRegistry[x];if(y==null){{};}else {y._responseContent=content;y._switchReadyState(qx.io.remote.transport.Script._numericMap.complete);};})},members:{__sD:0,__gs:null,__sF:null,send:function(){var B=this.getUrl();B+=(B.indexOf(f)>=0?a:f)+qx.io.remote.transport.Script.ScriptTransport_ID_PARAM+k+this.__sF;var E=this.getParameters();var D=[];for(var A in E){if(A.indexOf(qx.io.remote.transport.Script.ScriptTransport_PREFIX)==0){this.error(c+qx.io.remote.transport.Script.ScriptTransport_PREFIX);};var C=E[A];if(C instanceof Array){for(var i=0;i0){B+=a+D.join(a);};var z=this.getData();if(z!=null){B+=a+qx.io.remote.transport.Script.ScriptTransport_DATA_PARAM+k+encodeURIComponent(z);};qx.io.remote.transport.Script._instanceRegistry[this.__sF]=this;this.__gs=document.createElement(j);this.__gs.charset=t;this.__gs.src=B;{};document.body.appendChild(this.__gs);},_switchReadyState:function(F){switch(this.getState()){case m:case s:case u:case l:this.warn(b);return;};while(this.__sD0){bi+=(bi.indexOf(S)>=0?O:S)+bk.join(O);};if(this.getData()===null){var bm=this.getParameters(true);var bk=[];for(var bd in bm){var bh=bm[bd];if(bh instanceof Array){for(var i=0;i0){this.setData(bk.join(O));};};var bl=function(bw){var bv=G;var bq=I;var bp,bo,bn;var bs,bt,bu,br;var i=0;do {bp=bw.charCodeAt(i++ );bo=bw.charCodeAt(i++ );bn=bw.charCodeAt(i++ );bs=bp>>2;bt=((bp&3)<<4)|(bo>>4);bu=((bo&15)<<2)|(bn>>6);br=bn&63;if(isNaN(bo)){bu=br=64;}else if(isNaN(bn)){br=64;};bq+=bv.charAt(bs)+bv.charAt(bt)+bv.charAt(bu)+bv.charAt(br);}while(i/,I);bW.loadXML(s);};if(!bW.documentElement){throw new Error(u);};if(bW.documentElement.tagName==Q){throw new Error(x);};}else {throw new Error(z+this.getRequest().responseText+L);};return bW;},getFetchedLength:function(){var bY=this.getResponseText();return typeof bY==q?bY.length:0;},getResponseContent:function(){var ca=this.getState();if(ca!==M&&ca!=N){{};return null;};{};var cb=this.getResponseText();if(ca==N){{};return cb;};switch(this.getResponseType()){case C:case j:{};return cb;case g:{};try{if(cb&&cb.length>0){var cc;if(this.getParseJson()){cc=qx.lang.Json.parse(cb);cc=(cc===0?0:(cc||null));}else {cc=cb;};return cc;}else {return null;};}catch(cd){this.error(k+cb+L,cd);return B+cb+p;};case D:{};try{if(cb&&cb.length>0){var cc=window.eval(cb);return (cc===0?0:(cc||null));}else {return null;};}catch(ce){this.error(H+cb+L,ce);return null;};case a:cb=this.getResponseXml();{};return (cb===0?0:(cb||null));default:this.warn(A+this.getResponseType()+b);return null;};},_applyState:function(cg,cf){{};switch(cg){case W:this.fireEvent(W);break;case R:this.fireEvent(R);break;case w:this.fireEvent(w);break;case y:this.fireEvent(y);break;case M:this.fireEvent(M);break;case N:this.fireEvent(N);break;case o:this.getRequest().abort();this.fireEvent(o);break;case X:this.getRequest().abort();this.fireEvent(X);break;};}},defer:function(){qx.io.remote.Exchange.registerType(qx.io.remote.transport.XmlHttp,c);},destruct:function(){var ch=this.getRequest();if(ch){ch.onreadystatechange=(function(){});switch(ch.readyState){case 1:case 2:case 3:ch.abort();};};this.__sH=null;}});})();(function(){var a="Object",b="_applyResponseHeaders",c="Integer",d="qx.io.remote.Response";qx.Class.define(d,{extend:qx.event.type.Event,properties:{state:{check:c,nullable:true},statusCode:{check:c,nullable:true},content:{nullable:true},responseHeaders:{check:a,nullable:true,apply:b}},members:{__sI:null,clone:function(e){var f=qx.event.type.Event.prototype.clone.call(this,e);f.setType(this.getType());f.setState(this.getState());f.setStatusCode(this.getStatusCode());f.setContent(this.getContent());f.setResponseHeaders(this.getResponseHeaders());return f;},getResponseHeader:function(g){if(this.__sI){return this.__sI[g.toLowerCase()]||null;};return null;},_applyResponseHeaders:function(i,h){var j={};if(i!==null){Object.keys(i).forEach(function(k){j[k.toLowerCase()]=i[k];});this.__sI=j;};}}});})();(function(){var a="button-checked-focused",b="window-resize-frame",c="checkbox-disabled-border",d="group-background",e="menu-end",f="keyboard-focus",g="button-disabled-start",h="selected-end",i="table-header-hovered",j="border-invalid",k="decoration/toolbar/toolbar-part.gif",l="border-separator",m="window-border-caption",n="radiobutton-hovered",o="button-hovered-end",p="border-input",q="radiobutton",r="repeat-y",s="border-dragover",t="border-inner-input",u="radiobutton-checked-focused",v="groupitem-end",w="group-border",x="input-start",y="button-hovered-start",z="tooltip-error",A="button-hovered",B="selected-start",C="progressive-table-header-border-right",D="button-border-disabled",E="scrollbar-slider-horizontal",F="button-pressed",G="window-statusbar-background",H="tabview-end",I="radiobutton-hovered-invalid",J="checkbox-hovered",K="radiobutton-background",L="window-captionbar-active",M="checkbox-hovered-inner",N="toolbar-button-hovered",O="window-caption-active-end",P="solid",Q="button-start",R="dotted",S="radiobutton-disabled",T="radiobutton-checked",U="checkbox-disabled-end",V="window-caption-active-start",W="window-border",X="button-focused",Y="input",cv="tabview-inactive",cw="qx/decoration/Modern",cx="border-toolbar-separator-left",cr="invalid",cs="button-disabled",ct="horizontal",cu="table-header-start",cC="background-splitpane",cD="button-end",cE="button-checked",cF="border-toolbar-border-inner",cy="px",cz="input-border-disabled",cA="scrollbar-slider-vertical",cB="checkbox-inner",cJ="button",dk="button-disabled-end",dI="toolbar-end",cK="groupitem-start",cG="menu-start",cH="input-focused-start",dD="scrollbar-start",cI="scrollbar-slider-start",cL="radiobutton-checked-disabled",cM="checkbox-focused",cN="border-toolbar-button-outer",cS="background-light",cT="qx.theme.modern.Decoration",cU="checkbox-hovered-invalid",cO="radiobutton-checked-hovered",cP="tabview-page-button-top-inactive",cQ="#243B58",cR="checkbox",cY="checkbox-focus",da="window",dF="checkbox-disabled-inner",db="border-toolbar-separator-right",cV="tabview-inactive-start",cW="scrollbar-end",dE="table-header-end",cX="tabview-background",df="checkbox-end",dg="border-button",dH="tabview-inactive-end",dh="input-end",dc="tabview-page-button-top-active",dd="input-focused-inner-invalid",dG="menu-separator-top",de="shadow",di="window-caption-inactive-start",dj="scrollbar-slider-end",dw="background-pane",dv="pane-end",du="input-focused-end",dA="menubar-start",dz="toolbar-start",dy="radiobutton-focused",dx="pane-start",dp="table-focus-indicator",dn="menu-separator-bottom",dm="#1D2D45",dl="border-main",dt="scrollbar-horizontal",ds="window-caption-inactive-end",dr="checkbox-border",dq="tabview-start",dC="checkbox-hovered-inner-invalid",dB="input-focused";qx.Theme.define(cT,{aliases:{decoration:cw},decorations:{"main":{style:{width:1,color:dl}},"selected":{style:{startColorPosition:0,endColorPosition:100,startColor:B,endColor:h}},"dragover":{style:{bottom:[2,P,s]}},"pane":{style:{width:1,color:cX,radius:3,shadowColor:de,shadowBlurRadius:2,shadowLength:0,gradientStart:[dx,0],gradientEnd:[dv,100]}},"group":{style:{backgroundColor:d,radius:4,color:w,width:1}},"keyboard-focus":{style:{width:1,color:f,style:R}},"radiobutton":{style:{backgroundColor:K,radius:5,width:1,innerWidth:2,color:dr,innerColor:K,shadowLength:0,shadowBlurRadius:0,shadowColor:cY}},"radiobutton-checked":{include:q,style:{backgroundColor:T}},"radiobutton-checked-focused":{include:T,style:{shadowBlurRadius:4}},"radiobutton-checked-hovered":{include:T,style:{innerColor:J}},"radiobutton-focused":{include:q,style:{shadowBlurRadius:4}},"radiobutton-hovered":{include:q,style:{backgroundColor:J,innerColor:J}},"radiobutton-disabled":{include:q,style:{innerColor:S,backgroundColor:S,color:c}},"radiobutton-checked-disabled":{include:S,style:{backgroundColor:cL}},"radiobutton-invalid":{include:q,style:{color:cr}},"radiobutton-checked-invalid":{include:T,style:{color:cr}},"radiobutton-checked-focused-invalid":{include:u,style:{color:cr,shadowColor:cr}},"radiobutton-checked-hovered-invalid":{include:cO,style:{color:cr,innerColor:I}},"radiobutton-focused-invalid":{include:dy,style:{color:cr,shadowColor:cr}},"radiobutton-hovered-invalid":{include:n,style:{color:cr,innerColor:I,backgroundColor:I}},"separator-horizontal":{style:{widthLeft:1,colorLeft:l}},"separator-vertical":{style:{widthTop:1,colorTop:l}},"tooltip-error":{style:{backgroundColor:z,radius:4,shadowColor:de,shadowBlurRadius:2,shadowLength:1}},"popup":{style:{width:1,color:dl,shadowColor:de,shadowBlurRadius:3,shadowLength:1}},"scrollbar-horizontal":{style:{gradientStart:[dD,0],gradientEnd:[cW,100]}},"scrollbar-vertical":{include:dt,style:{orientation:ct}},"scrollbar-slider-horizontal":{style:{gradientStart:[cI,0],gradientEnd:[dj,100],color:dl,width:1,radius:3}},"scrollbar-slider-vertical":{include:E,style:{orientation:ct}},"scrollbar-slider-horizontal-disabled":{include:E,style:{color:D}},"scrollbar-slider-vertical-disabled":{include:cA,style:{color:D}},"button":{style:{radius:3,color:dg,width:1,startColor:Q,endColor:cD,startColorPosition:35,endColorPosition:100}},"button-disabled":{include:cJ,style:{color:D,startColor:g,endColor:dk}},"button-hovered":{include:cJ,style:{startColor:y,endColor:o}},"button-checked":{include:cJ,style:{endColor:Q,startColor:cD}},"button-pressed":{include:cJ,style:{endColor:y,startColor:o}},"button-focused":{style:{radius:3,color:dg,width:1,innerColor:X,innerWidth:2,startColor:Q,endColor:cD,startColorPosition:30,endColorPosition:100}},"button-checked-focused":{include:X,style:{endColor:Q,startColor:cD}},"button-invalid":{include:cJ,style:{color:j}},"button-disabled-invalid":{include:cs,style:{color:j}},"button-hovered-invalid":{include:A,style:{color:j}},"button-checked-invalid":{include:cE,style:{color:j}},"button-pressed-invalid":{include:F,style:{color:j}},"button-focused-invalid":{include:X,style:{color:j}},"button-checked-focused-invalid":{include:a,style:{color:j}},"checkbox":{style:{width:1,color:dr,innerWidth:1,innerColor:cB,backgroundColor:df,shadowLength:0,shadowBlurRadius:0,shadowColor:cY}},"checkbox-hovered":{include:cR,style:{innerColor:M,backgroundColor:J}},"checkbox-focused":{include:cR,style:{shadowBlurRadius:4}},"checkbox-disabled":{include:cR,style:{color:c,innerColor:dF,backgroundColor:U}},"checkbox-invalid":{include:cR,style:{color:cr}},"checkbox-hovered-invalid":{include:J,style:{color:cr,innerColor:dC,backgroundColor:cU}},"checkbox-focused-invalid":{include:cM,style:{color:cr,shadowColor:cr}},"input":{style:{color:p,innerColor:t,innerWidth:1,width:1,backgroundColor:cS,startColor:x,endColor:dh,startColorPosition:0,endColorPosition:12,colorPositionUnit:cy}},"border-invalid":{include:Y,style:{color:j}},"input-focused":{include:Y,style:{startColor:cH,innerColor:du,endColorPosition:4}},"input-focused-invalid":{include:dB,style:{innerColor:dd,color:j}},"input-disabled":{include:Y,style:{color:cz}},"toolbar":{style:{startColorPosition:40,endColorPosition:60,startColor:dz,endColor:dI}},"toolbar-button-hovered":{style:{color:cN,width:1,innerWidth:1,innerColor:cF,radius:2,gradientStart:[Q,30],gradientEnd:[cD,100]}},"toolbar-button-checked":{include:N,style:{gradientStart:[cD,30],gradientEnd:[Q,100]}},"toolbar-separator":{style:{widthLeft:1,widthRight:1,colorLeft:cx,colorRight:db,styleLeft:P,styleRight:P}},"toolbar-part":{style:{backgroundImage:k,backgroundRepeat:r}},"tabview-pane":{style:{width:1,color:W,radius:3,gradientStart:[dq,90],gradientEnd:[H,100]}},"tabview-page-button-top-active":{style:{radius:[3,3,0,0],width:[1,1,0,1],color:cX,backgroundColor:dq,shadowLength:1,shadowColor:de,shadowBlurRadius:2}},"tabview-page-button-top-inactive":{style:{radius:[3,3,0,0],color:cv,colorBottom:cX,width:1,gradientStart:[cV,0],gradientEnd:[dH,100]}},"tabview-page-button-bottom-active":{include:dc,style:{radius:[0,0,3,3],width:[0,1,1,1],backgroundColor:cV,shadowLength:0,shadowBlurRadius:0}},"tabview-page-button-bottom-inactive":{include:cP,style:{radius:[0,0,3,3],width:[0,1,1,1],colorBottom:cv,colorTop:cX}},"tabview-page-button-left-active":{include:dc,style:{radius:[3,0,0,3],width:[1,0,1,1],shadowLength:0,shadowBlurRadius:0}},"tabview-page-button-left-inactive":{include:cP,style:{radius:[3,0,0,3],width:[1,0,1,1],colorBottom:cv,colorRight:cX}},"tabview-page-button-right-active":{include:dc,style:{radius:[0,3,3,0],width:[1,1,1,0],shadowLength:0,shadowBlurRadius:0}},"tabview-page-button-right-inactive":{include:cP,style:{radius:[0,3,3,0],width:[1,1,1,0],colorBottom:cv,colorLeft:cX}},"splitpane":{style:{backgroundColor:dw,width:3,color:cC,style:P}},"window":{style:{radius:[5,5,0,0],shadowBlurRadius:4,shadowLength:2,shadowColor:de}},"window-incl-statusbar":{include:da,style:{radius:[5,5,5,5]}},"window-resize-frame":{style:{radius:[5,5,0,0],width:1,color:dl}},"window-resize-frame-incl-statusbar":{include:b,style:{radius:[5,5,5,5]}},"window-captionbar-active":{style:{width:1,color:W,colorBottom:m,radius:[5,5,0,0],gradientStart:[V,30],gradientEnd:[O,70]}},"window-captionbar-inactive":{include:L,style:{gradientStart:[di,30],gradientEnd:[ds,70]}},"window-statusbar":{style:{backgroundColor:G,width:[0,1,1,1],color:W,radius:[0,0,5,5]}},"window-pane":{style:{backgroundColor:dw,width:1,color:W,widthTop:0}},"table":{style:{width:1,color:dl,style:P}},"table-statusbar":{style:{widthTop:1,colorTop:dl,style:P}},"table-scroller-header":{style:{gradientStart:[cu,10],gradientEnd:[dE,90],widthBottom:1,colorBottom:dl}},"table-header-cell":{style:{widthRight:1,colorRight:l,styleRight:P}},"table-header-cell-hovered":{style:{widthRight:1,colorRight:l,styleRight:P,widthBottom:1,colorBottom:i,styleBottom:P}},"table-scroller-focus-indicator":{style:{width:2,color:dp,style:P}},"progressive-table-header":{style:{width:1,color:dl,style:P}},"progressive-table-header-cell":{style:{gradientStart:[cu,10],gradientEnd:[dE,90],widthRight:1,colorRight:C}},"menu":{style:{gradientStart:[cG,0],gradientEnd:[e,100],shadowColor:de,shadowBlurRadius:2,shadowLength:1,width:1,color:dl}},"menu-separator":{style:{widthTop:1,colorTop:dG,widthBottom:1,colorBottom:dn}},"menubar":{style:{gradientStart:[dA,0],gradientEnd:[e,100],width:1,color:l}},"app-header":{style:{gradientStart:[cQ,0],gradientEnd:[dm,100]}},"progressbar":{style:{width:1,color:p}},"group-item":{style:{startColorPosition:0,endColorPosition:100,startColor:cK,endColor:v}}}});})();(function(){var a="frontend.theme.Decoration";qx.Theme.define(a,{extend:qx.theme.modern.Decoration,decorations:{}});})();(function(){var a="Tango",b="qx/icon/Tango",c="qx.theme.icon.Tango";qx.Theme.define(c,{title:a,aliases:{"icon":b}});})();(function(){var a="button-checked",b="window-resize-frame",c="decoration/window/maximize-active-hovered.png",d="radiobutton-hovered",e="decoration/arrows/right.png",f="background-application",g="keyboard-focus",h="group-item",i="scrollbar/button",j="decoration/cursors/",k="icon/16/actions/dialog-ok.png",l="border-invalid",m="combobox/button",n="icon/16/apps/office-calendar.png",o="slidebar",p="menu",q="table-scroller-focus-indicator",r="move-frame",s="nodrop",t="decoration/table/boolean-true.png",u="table-header-cell",v="app-header",w="row-layer",x="icon/16/places/folder.png",y="text-inactive",z="image",A="radiobutton",B="move",C="window-resize-frame-incl-statusbar",D="radiobutton-checked-focused",E="decoration/window/restore-active-hovered.png",F="window-captionbar-inactive",G="list",H="text-label",I="tree-folder",J="right.png",K="tabview-page-button-bottom-inactive",L="tooltip-error",M="decoration/tree/closed.png",N="window-statusbar",O="button-hovered",P="bold",Q="decoration/scrollbar/scrollbar-",R="background-tip",S="scrollbar-slider-horizontal-disabled",T="text-disabled",U="table-scroller-header",V="radiobutton-disabled",W="scrollbar-slider-horizontal",X="button-pressed",Y="table-pane",fD="decoration/window/close-active.png",fz="native",fE="checkbox-hovered",fA="decoration/window/minimize-active-hovered.png",fB="input-disabled",fw="virtual-list",fC="menubar",fJ="groupbox",fK="icon/16/actions/dialog-cancel.png",fL="tabview-page-button-top-inactive",fM="tabview-page-button-left-inactive",fF="menu-slidebar",fG="toolbar-button-checked",fH="decoration/arrows/left.png",fI="decoration/tree/open-selected.png",fQ="tree-item",gs="radiobutton-checked",fR="decoration/window/minimize-inactive.png",fS="menu-button",fN="button-focused",fO="input",ht="text-light",fP="menu-slidebar-button",fT="decoration/arrows/down.png",fU="middle",fV="group",gb="tree",gc="tabview-page-button-right-inactive",gd="decoration/window/minimize-active.png",fW="decoration/window/restore-inactive.png",fX="input-focused-invalid",fY="text-active",ga="splitpane",gh="text-input",gi="combobox/textfield",hy="decoration/window/close-active-hovered.png",gj="invalid",ge="qx/icon/Tango/16/actions/window-close.png",gf="combobox",hx="button-disabled",gg="tabview-page-button-left-active",gn="slidebar/button-forward",go="border-separator",hD="treevirtual-contract",gp="decoration/window/maximize-inactive.png",gk="scrollbar",gl="icon/22/places/folder-open.png",hB="right-top",gm="scrollarea",gq="background-splitpane",gr="datechooser/nav-button",gD="scrollbar-vertical",gC="decoration/toolbar/toolbar-handle-knob.gif",gB="icon/22/mimetypes/office-document.png",gH="text-selected",gG="cell",gF="button-checked-focused",gE="up.png",gw="best-fit",gv="decoration/tree/closed-selected.png",gu="text-hovered",gt="qx.theme.modern.Appearance",gA="decoration/tree/open.png",gz="default",gy="decoration/arrows/up-invert.png",gx="checkbox-disabled",gO="selected",gN="toolbar-button-hovered",gM="decoration/form/checked.png",gL="button",gS="progressive-table-header",gR="decoration/menu/radiobutton.gif",gQ="window-incl-statusbar",gP="decoration/arrows/down-small.png",gK="decoration/arrows/forward.png",gJ="decoration/table/descending.png",gI="decoration/form/undetermined.png",he="tree-file",hd="decoration/form/tooltip-error-arrow-right.png",hc="keep-align",hi="scrollbar-slider-vertical",hh="center",hg="toolbar",hf="alias",gW="decoration/window/restore-active.png",gV="datechooser",gU="toolbar-button",gT="decoration/table/boolean-false.png",hb="window-pane",ha="icon/32/mimetypes/office-document.png",gY="slidebar/button-backward",gX="radiobutton-checked-disabled",ho="tabview-pane",hn="decoration/arrows/rewind.png",hm="checkbox-focused",hl="selectbox",hs="background-light",hr="top",hq="right",hp="main",hk="button-frame",hj="progressbar-background",eB="radiobutton-checked-hovered",eA="popup",hE="treevirtual-folder",ey="checkbox",ez="table-header-cell-hovered",ex="window",hC="icon/16/mimetypes/office-document.png",ev="treevirtual-expand",ew="text-gray",eu="left",hz="decoration/menu/radiobutton-invert.gif",es="text-placeholder",et="atom",er="text-title",eK="slider",eL="background-medium",eI="decoration/table/select-column-order.png",eJ="down.png",eG="widget",eH="groupitem-text",eF="tabview-page-button-top-active",eq="icon/32/places/folder-open.png",eD="icon/22/places/folder.png",eE="decoration/window/maximize-active.png",eC="decoration/window/close-inactive.png",eY="toolbar-part",eW="decoration/splitpane/knob-vertical.png",eX="left.png",eU="decoration/menu/checkbox-invert.gif",eV="table",eT="decoration/arrows/up.png",hw="table-statusbar",eR="decoration/form/tooltip-error-arrow.png",eS="window-captionbar-active",eQ="copy",hA="radiobutton-focused",eO="decoration/arrows/down-invert.png",eP="decoration/menu/checkbox.gif",eM="",eN="window-caption-active-text",fh="decoration/splitpane/knob-horizontal.png",fi="textfield",ff="icon/32/places/folder.png",fg="toolbar-separator",fd="tabview-page-button-bottom-active",fe="decoration/arrows/up-small.png",fc="decoration/table/ascending.png",hv="small",fa="tabview-page-button-right-active",fb="spinner",fv="tooltip",hu="-disabled",fx="label",fs="scrollbar-horizontal",fr="-invalid",fu="progressbar",ft="progressive-table-header-cell",fo="menu-separator",fn="pane",fq="htmlarea-background",fp="decoration/arrows/right-invert.png",fk="icon/16/places/folder-open.png",fj="qx/static/blank.gif",fm=".gif",fl="icon/16/actions/view-refresh.png",fy="input-focused";qx.Theme.define(gt,{appearances:{"widget":{},"root":{style:function(hF){return {backgroundColor:f,textColor:H,font:gz};}},"label":{style:function(hG){return {textColor:hG.disabled?T:undefined};}},"move-frame":{style:function(hH){return {decorator:hp};}},"resize-frame":r,"dragdrop-cursor":{style:function(hI){var hJ=s;if(hI.copy){hJ=eQ;}else if(hI.move){hJ=B;}else if(hI.alias){hJ=hf;};return {source:j+hJ+fm,position:hB,offset:[2,16,2,6]};}},"image":{style:function(hK){return {opacity:!hK.replacement&&hK.disabled?0.3:1};}},"atom":{},"atom/label":fx,"atom/icon":z,"popup":{style:function(hL){return {decorator:eA,backgroundColor:hs};}},"button-frame":{alias:et,style:function(hM){var hP,hO;var hN=[3,9];if(hM.checked&&hM.focused&&!hM.inner){hP=gF;hO=undefined;hN=[1,7];}else if(hM.disabled){hP=hx;hO=undefined;}else if(hM.pressed){hP=X;hO=gu;}else if(hM.checked){hP=a;hO=undefined;}else if(hM.hovered){hP=O;hO=gu;}else if(hM.focused&&!hM.inner){hP=fN;hO=undefined;hN=[1,7];}else {hP=gL;hO=undefined;};if(hM.invalid&&!hM.disabled){hP+=fr;};return {decorator:hP,textColor:hO,padding:hN,margin:[1,0]};}},"button-frame/image":{style:function(hQ){return {opacity:!hQ.replacement&&hQ.disabled?0.5:1};}},"button":{alias:hk,include:hk,style:function(hR){return {center:true};}},"hover-button":{alias:et,include:et,style:function(hS){var hT=hS.hovered?gO:undefined;return {decorator:hT,textColor:hS.hovered?gH:undefined};}},"menubutton":{include:gL,alias:gL,style:function(hU){return {icon:fT,iconPosition:hq};}},"splitbutton":{},"splitbutton/button":gL,"splitbutton/arrow":{alias:gL,include:gL,style:function(hV,hW){return {icon:fT,padding:[hW.padding[0],hW.padding[1]-6],marginLeft:1};}},"form-renderer-label":{include:fx,style:function(){return {paddingTop:4};}},"checkbox":{alias:et,style:function(hX){var hY;if(hX.checked){hY=gM;}else if(hX.undetermined){hY=gI;}else {hY=fj;};return {icon:hY,minWidth:14,gap:8,paddingLeft:2};}},"checkbox/icon":{style:function(ia){var ic;if(ia.disabled){ic=gx;}else if(ia.focused){ic=hm;}else if(ia.hovered){ic=fE;}else {ic=ey;};ic+=ia.invalid&&!ia.disabled?fr:eM;var ib=ia.undetermined?[3,1]:1;return {decorator:ic,padding:ib,width:10,height:10};}},"radiobutton":{alias:et,style:function(id){return {icon:fj,gap:8,paddingLeft:2};}},"radiobutton/icon":{style:function(ie){var ig;if(ie.disabled&&!ie.checked){ig=V;}else if(ie.checked&&ie.focused){ig=D;}else if(ie.checked&&ie.disabled){ig=gX;}else if(ie.checked&&ie.hovered){ig=eB;}else if(ie.checked){ig=gs;}else if(ie.focused){ig=hA;}else if(ie.hovered){ig=d;}else {ig=A;};ig+=ie.invalid&&!ie.disabled?fr:eM;return {decorator:ig,width:10,height:10};}},"textfield":{style:function(ih){var im;var ik=!!ih.focused;var ii=!!ih.invalid;var ij=!!ih.disabled;if(ik&&ii&&!ij){im=fX;}else if(ik&&!ii&&!ij){im=fy;}else if(ij){im=fB;}else if(!ik&&ii&&!ij){im=l;}else {im=fO;};var il;if(ih.disabled){il=T;}else if(ih.showingPlaceholder){il=es;}else {il=gh;};return {decorator:im,padding:[2,4,1],textColor:il};}},"textarea":{include:fi,style:function(io){return {padding:4};}},"spinner":{style:function(ip){var is;var ir=!!ip.focused;var it=!!ip.invalid;var iq=!!ip.disabled;if(ir&&it&&!iq){is=fX;}else if(ir&&!it&&!iq){is=fy;}else if(iq){is=fB;}else if(!ir&&it&&!iq){is=l;}else {is=fO;};return {decorator:is};}},"spinner/textfield":{style:function(iu){return {marginRight:2,padding:[2,4,1],textColor:iu.disabled?T:gh};}},"spinner/upbutton":{alias:hk,include:hk,style:function(iv,iw){return {icon:fe,padding:[iw.padding[0]-1,iw.padding[1]-5],margin:0};}},"spinner/downbutton":{alias:hk,include:hk,style:function(ix,iy){return {icon:gP,padding:[iy.padding[0]-1,iy.padding[1]-5],margin:0};}},"datefield":gf,"datefield/button":{alias:m,include:m,style:function(iz){return {icon:n,padding:[0,3],decorator:undefined};}},"datefield/textfield":gi,"datefield/list":{alias:gV,include:gV,style:function(iA){return {decorator:undefined};}},"groupbox":{style:function(iB){return {legendPosition:hr};}},"groupbox/legend":{alias:et,style:function(iC){return {padding:[1,0,1,4],textColor:iC.invalid?gj:er,font:P};}},"groupbox/frame":{style:function(iD){return {padding:10,margin:1,decorator:fV};}},"check-groupbox":fJ,"check-groupbox/legend":{alias:ey,include:ey,style:function(iE){return {padding:[1,0,1,4],textColor:iE.invalid?gj:er,font:P};}},"radio-groupbox":fJ,"radio-groupbox/legend":{alias:A,include:A,style:function(iF){return {padding:[1,0,1,4],textColor:iF.invalid?gj:er,font:P};}},"scrollarea":{style:function(iG){return {minWidth:50,minHeight:50};}},"scrollarea/corner":{style:function(iH){return {backgroundColor:f};}},"scrollarea/pane":eG,"scrollarea/scrollbar-x":gk,"scrollarea/scrollbar-y":gk,"scrollbar":{style:function(iI){if(iI[fz]){return {};};return {width:iI.horizontal?undefined:16,height:iI.horizontal?16:undefined,decorator:(iI.horizontal?fs:gD),padding:1};}},"scrollbar/slider":{alias:eK,style:function(iJ){return {padding:iJ.horizontal?[0,1,0,1]:[1,0,1,0]};}},"scrollbar/slider/knob":{include:hk,style:function(iK){var iL=iK.horizontal?W:hi;if(iK.disabled){iL+=hu;};return {decorator:iL,minHeight:iK.horizontal?undefined:9,minWidth:iK.horizontal?9:undefined,padding:undefined,margin:0};}},"scrollbar/button":{alias:hk,include:hk,style:function(iM){var iO=Q;if(iM.left){iO+=eX;}else if(iM.right){iO+=J;}else if(iM.up){iO+=gE;}else {iO+=eJ;};if(iM.left||iM.right){var iN=iM.left?3:4;return {padding:[3,0,3,iN],icon:iO,width:15,height:14,margin:0};}else {return {padding:3,icon:iO,width:14,height:15,margin:0};};}},"scrollbar/button-begin":i,"scrollbar/button-end":i,"slider":{style:function(iP){var iS;var iR=!!iP.focused;var iT=!!iP.invalid;var iQ=!!iP.disabled;if(iR&&iT&&!iQ){iS=fX;}else if(iR&&!iT&&!iQ){iS=fy;}else if(iQ){iS=fB;}else if(!iR&&iT&&!iQ){iS=l;}else {iS=fO;};return {decorator:iS};}},"slider/knob":{include:hk,style:function(iU){return {decorator:iU.disabled?S:W,height:14,width:14,padding:0,margin:0};}},"list":{alias:gm,style:function(iV){var iY;var iX=!!iV.focused;var ja=!!iV.invalid;var iW=!!iV.disabled;if(iX&&ja&&!iW){iY=fX;}else if(iX&&!ja&&!iW){iY=fy;}else if(iW){iY=fB;}else if(!iX&&ja&&!iW){iY=l;}else {iY=fO;};return {backgroundColor:hs,decorator:iY};}},"list/pane":eG,"listitem":{alias:et,style:function(jb){return {padding:jb.dragover?[4,4,2,4]:4,textColor:jb.selected?gH:undefined,decorator:jb.selected?gO:undefined};}},"slidebar":{},"slidebar/scrollpane":{},"slidebar/content":{},"slidebar/button-forward":{alias:hk,include:hk,style:function(jc){return {padding:5,center:true,icon:jc.vertical?fT:e};}},"slidebar/button-backward":{alias:hk,include:hk,style:function(jd){return {padding:5,center:true,icon:jd.vertical?eT:fH};}},"tabview":{style:function(je){return {contentPadding:16};}},"tabview/bar":{alias:o,style:function(jf){var jg={marginBottom:jf.barTop?-1:0,marginTop:jf.barBottom?-4:0,marginLeft:jf.barRight?-3:0,marginRight:jf.barLeft?-1:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0};if(jf.barTop||jf.barBottom){jg.paddingLeft=5;jg.paddingRight=7;}else {jg.paddingTop=5;jg.paddingBottom=7;};return jg;}},"tabview/bar/button-forward":{include:gn,alias:gn,style:function(jh){if(jh.barTop||jh.barBottom){return {marginTop:2,marginBottom:2};}else {return {marginLeft:2,marginRight:2};};}},"tabview/bar/button-backward":{include:gY,alias:gY,style:function(ji){if(ji.barTop||ji.barBottom){return {marginTop:2,marginBottom:2};}else {return {marginLeft:2,marginRight:2};};}},"tabview/bar/scrollpane":{},"tabview/pane":{style:function(jj){return {decorator:ho,marginBottom:jj.barBottom?-1:0,marginTop:jj.barTop?-1:0,marginLeft:jj.barLeft?-1:0,marginRight:jj.barRight?-1:0};}},"tabview-page":{alias:eG,include:eG,style:function(jk){return {padding:[4,3]};}},"tabview-page/button":{alias:et,style:function(jl){var jr,jn=0;var jq=0,jm=0,jo=0,jp=0;if(jl.checked){if(jl.barTop){jr=eF;jn=[5,11];jo=jl.firstTab?0:-5;jp=jl.lastTab?0:-5;}else if(jl.barBottom){jr=fd;jn=[5,11];jo=jl.firstTab?0:-5;jp=jl.lastTab?0:-5;jq=3;}else if(jl.barRight){jr=fa;jn=[5,10];jq=jl.firstTab?0:-5;jm=jl.lastTab?0:-5;jo=2;}else {jr=gg;jn=[5,10];jq=jl.firstTab?0:-5;jm=jl.lastTab?0:-5;};}else {if(jl.barTop){jr=fL;jn=[3,9];jq=4;jo=jl.firstTab?5:1;jp=1;}else if(jl.barBottom){jr=K;jn=[3,9];jm=4;jo=jl.firstTab?5:1;jp=1;jq=3;}else if(jl.barRight){jr=gc;jn=[3,9];jp=5;jq=jl.firstTab?5:1;jm=1;jo=3;}else {jr=fM;jn=[3,9];jo=5;jq=jl.firstTab?5:1;jm=1;jp=1;};};return {zIndex:jl.checked?10:5,decorator:jr,padding:jn,marginTop:jq,marginBottom:jm,marginLeft:jo,marginRight:jp,textColor:jl.disabled?T:jl.checked?fY:y};}},"tabview-page/button/label":{alias:fx,style:function(js){return {padding:js.focused?[0,1,0,1]:[1,2,1,2],decorator:js.focused?g:undefined};}},"tabview-page/button/close-button":{alias:et,style:function(jt){return {icon:ge};}},"toolbar":{style:function(ju){return {decorator:hg,spacing:2};}},"toolbar/part":{style:function(jv){return {decorator:eY,spacing:2};}},"toolbar/part/container":{style:function(jw){return {paddingLeft:2,paddingRight:2};}},"toolbar/part/handle":{style:function(jx){return {source:gC,marginLeft:3,marginRight:3};}},"toolbar-button":{alias:et,style:function(jy){var jz;if(jy.pressed||(jy.checked&&!jy.hovered)||(jy.checked&&jy.disabled)){jz=fG;}else if(jy.hovered&&!jy.disabled){jz=gN;};return {marginTop:2,marginBottom:2,padding:(jy.pressed||jy.checked||jy.hovered)&&!jy.disabled||(jy.disabled&&jy.checked)?3:5,decorator:jz};}},"toolbar-menubutton":{alias:gU,include:gU,style:function(jA){return {showArrow:true};}},"toolbar-menubutton/arrow":{alias:z,include:z,style:function(jB){return {source:gP};}},"toolbar-splitbutton":{style:function(jC){return {marginTop:2,marginBottom:2};}},"toolbar-splitbutton/button":{alias:gU,include:gU,style:function(jD){return {icon:fT,marginTop:undefined,marginBottom:undefined};}},"toolbar-splitbutton/arrow":{alias:gU,include:gU,style:function(jE){if(jE.pressed||jE.checked||(jE.hovered&&!jE.disabled)){var jF=1;}else {var jF=3;};return {padding:jF,icon:fT,marginTop:undefined,marginBottom:undefined};}},"toolbar-separator":{style:function(jG){return {decorator:fg,margin:7};}},"tree":G,"tree-item":{style:function(jH){var jI=jH.selected?gO:undefined;return {padding:[2,6],textColor:jH.selected?gH:undefined,decorator:jI};}},"tree-item/icon":{include:z,style:function(jJ){return {paddingRight:5};}},"tree-item/label":fx,"tree-item/open":{include:z,style:function(jK){var jL;if(jK.selected&&jK.opened){jL=fI;}else if(jK.selected&&!jK.opened){jL=gv;}else if(jK.opened){jL=gA;}else {jL=M;};return {padding:[0,5,0,2],source:jL};}},"tree-folder":{include:fQ,alias:fQ,style:function(jM){var jO,jN;if(jM.small){jO=jM.opened?fk:x;jN=fk;}else if(jM.large){jO=jM.opened?eq:ff;jN=eq;}else {jO=jM.opened?gl:eD;jN=gl;};return {icon:jO,iconOpened:jN};}},"tree-file":{include:fQ,alias:fQ,style:function(jP){return {icon:jP.small?hC:jP.large?ha:gB};}},"treevirtual":eV,"treevirtual-folder":{style:function(jQ){return {icon:jQ.opened?fk:x};}},"treevirtual-file":{include:hE,alias:hE,style:function(jR){return {icon:hC};}},"treevirtual-line":{style:function(jS){return {icon:fj};}},"treevirtual-contract":{style:function(jT){return {icon:gA,paddingLeft:5,paddingTop:2};}},"treevirtual-expand":{style:function(jU){return {icon:M,paddingLeft:5,paddingTop:2};}},"treevirtual-only-contract":hD,"treevirtual-only-expand":ev,"treevirtual-start-contract":hD,"treevirtual-start-expand":ev,"treevirtual-end-contract":hD,"treevirtual-end-expand":ev,"treevirtual-cross-contract":hD,"treevirtual-cross-expand":ev,"treevirtual-end":{style:function(jV){return {icon:fj};}},"treevirtual-cross":{style:function(jW){return {icon:fj};}},"tooltip":{include:eA,style:function(jX){return {backgroundColor:R,padding:[1,3,2,3],offset:[15,5,5,5]};}},"tooltip/atom":et,"tooltip-error":{style:function(jY){return {placeMethod:eG,offset:[-3,1,0,0],arrowPosition:jY.placementLeft?eu:hq,position:hB,showTimeout:100,hideTimeout:10000,padding:[0,4,4,0]};}},"tooltip-error/arrow":{include:z,style:function(ka){var kb=ka.placementLeft?hd:eR;return {source:kb,padding:[6,0,0,0],zIndex:10000001};}},"tooltip-error/atom":{include:eA,style:function(kc){return {textColor:gH,backgroundColor:undefined,decorator:L,font:P,padding:[3,4,4,4],margin:[1,0,0,0],maxWidth:333};}},"window":{style:function(kd){return {decorator:kd.showStatusbar?gQ:ex,contentPadding:[10,10,10,10],margin:kd.maximized?0:[0,5,5,0]};}},"window-resize-frame":{style:function(ke){return {decorator:ke.showStatusbar?C:b};}},"window/pane":{style:function(kf){return {decorator:hb};}},"window/captionbar":{style:function(kg){return {decorator:(kg.active?eS:F),textColor:kg.active?eN:ew,minHeight:26,paddingRight:2};}},"window/icon":{style:function(kh){return {margin:[5,0,3,6]};}},"window/title":{style:function(ki){return {alignY:fU,font:P,marginLeft:6,marginRight:12};}},"window/minimize-button":{alias:et,style:function(kj){return {icon:kj.active?kj.hovered?fA:gd:fR,margin:[4,8,2,0]};}},"window/restore-button":{alias:et,style:function(kk){return {icon:kk.active?kk.hovered?E:gW:fW,margin:[5,8,2,0]};}},"window/maximize-button":{alias:et,style:function(kl){return {icon:kl.active?kl.hovered?c:eE:gp,margin:[4,8,2,0]};}},"window/close-button":{alias:et,style:function(km){return {icon:km.active?km.hovered?hy:fD:eC,margin:[4,8,2,0]};}},"window/statusbar":{style:function(kn){return {padding:[2,6],decorator:N,minHeight:18};}},"window/statusbar-text":{style:function(ko){return {font:hv};}},"iframe":{style:function(kp){return {decorator:hp};}},"resizer":{style:function(kq){return {decorator:fn};}},"splitpane":{style:function(kr){return {decorator:ga};}},"splitpane/splitter":{style:function(ks){return {width:ks.horizontal?3:undefined,height:ks.vertical?3:undefined,backgroundColor:gq};}},"splitpane/splitter/knob":{style:function(kt){return {source:kt.horizontal?fh:eW};}},"splitpane/slider":{style:function(ku){return {width:ku.horizontal?3:undefined,height:ku.vertical?3:undefined,backgroundColor:gq};}},"selectbox":hk,"selectbox/atom":et,"selectbox/popup":eA,"selectbox/list":{alias:G},"selectbox/arrow":{include:z,style:function(kv){return {source:fT,paddingLeft:5};}},"datechooser":{style:function(kw){var kz;var ky=!!kw.focused;var kA=!!kw.invalid;var kx=!!kw.disabled;if(ky&&kA&&!kx){kz=fX;}else if(ky&&!kA&&!kx){kz=fy;}else if(kx){kz=fB;}else if(!ky&&kA&&!kx){kz=l;}else {kz=fO;};return {padding:2,decorator:kz,backgroundColor:hs};}},"datechooser/navigation-bar":{},"datechooser/nav-button":{include:hk,alias:hk,style:function(kB){var kC={padding:[2,4]};if(kB.lastYear){kC.icon=hn;kC.marginRight=1;}else if(kB.lastMonth){kC.icon=fH;}else if(kB.nextYear){kC.icon=gK;kC.marginLeft=1;}else if(kB.nextMonth){kC.icon=e;};return kC;}},"datechooser/last-year-button-tooltip":fv,"datechooser/last-month-button-tooltip":fv,"datechooser/next-year-button-tooltip":fv,"datechooser/next-month-button-tooltip":fv,"datechooser/last-year-button":gr,"datechooser/last-month-button":gr,"datechooser/next-month-button":gr,"datechooser/next-year-button":gr,"datechooser/month-year-label":{style:function(kD){return {font:P,textAlign:hh,textColor:kD.disabled?T:undefined};}},"datechooser/date-pane":{style:function(kE){return {textColor:kE.disabled?T:undefined,marginTop:2};}},"datechooser/weekday":{style:function(kF){return {textColor:kF.disabled?T:kF.weekend?ht:undefined,textAlign:hh,paddingTop:2,backgroundColor:eL};}},"datechooser/week":{style:function(kG){return {textAlign:hh,padding:[2,4],backgroundColor:eL};}},"datechooser/day":{style:function(kH){var kI=kH.disabled?undefined:kH.selected?gO:undefined;return {textAlign:hh,decorator:kI,textColor:kH.disabled?T:kH.selected?gH:kH.otherMonth?ht:undefined,font:kH.today?P:undefined,padding:[2,4]};}},"combobox":{style:function(kJ){var kM;var kL=!!kJ.focused;var kN=!!kJ.invalid;var kK=!!kJ.disabled;if(kL&&kN&&!kK){kM=fX;}else if(kL&&!kN&&!kK){kM=fy;}else if(kK){kM=fB;}else if(!kL&&kN&&!kK){kM=l;}else {kM=fO;};return {decorator:kM};}},"combobox/popup":eA,"combobox/list":{alias:G},"combobox/button":{include:hk,alias:hk,style:function(kO,kP){var kQ={icon:fT,padding:[kP.padding[0],kP.padding[1]-6],margin:undefined};if(kO.selected){kQ.decorator=fN;};return kQ;}},"combobox/textfield":{include:fi,style:function(kR){return {decorator:undefined};}},"menu":{style:function(kS){var kT={decorator:p,spacingX:6,spacingY:1,iconColumnWidth:16,arrowColumnWidth:4,placementModeY:kS.submenu||kS.contextmenu?gw:hc};if(kS.submenu){kT.position=hB;kT.offset=[-2,-3];};return kT;}},"menu/slidebar":fF,"menu-slidebar":eG,"menu-slidebar-button":{style:function(kU){var kV=kU.hovered?gO:undefined;return {decorator:kV,padding:7,center:true};}},"menu-slidebar/button-backward":{include:fP,style:function(kW){return {icon:kW.hovered?gy:eT};}},"menu-slidebar/button-forward":{include:fP,style:function(kX){return {icon:kX.hovered?eO:fT};}},"menu-separator":{style:function(kY){return {height:0,decorator:fo,margin:[4,2]};}},"menu-button":{alias:et,style:function(la){var lb=la.selected?gO:undefined;return {decorator:lb,textColor:la.selected?gH:undefined,padding:[4,6]};}},"menu-button/icon":{include:z,style:function(lc){return {alignY:fU};}},"menu-button/label":{include:fx,style:function(ld){return {alignY:fU,padding:1};}},"menu-button/shortcut":{include:fx,style:function(le){return {alignY:fU,marginLeft:14,padding:1};}},"menu-button/arrow":{include:z,style:function(lf){return {source:lf.selected?fp:e,alignY:fU};}},"menu-checkbox":{alias:fS,include:fS,style:function(lg){return {icon:!lg.checked?undefined:lg.selected?eU:eP};}},"menu-radiobutton":{alias:fS,include:fS,style:function(lh){return {icon:!lh.checked?undefined:lh.selected?hz:gR};}},"menubar":{style:function(li){return {decorator:fC};}},"menubar-button":{alias:et,style:function(lj){var lk=(lj.pressed||lj.hovered)&&!lj.disabled?gO:undefined;return {decorator:lk,textColor:lj.pressed||lj.hovered?gH:undefined,padding:[3,8]};}},"colorselector":eG,"colorselector/control-bar":eG,"colorselector/control-pane":eG,"colorselector/visual-pane":fJ,"colorselector/preset-grid":eG,"colorselector/colorbucket":{style:function(ll){return {decorator:hp,width:16,height:16};}},"colorselector/preset-field-set":fJ,"colorselector/input-field-set":{include:fJ,alias:fJ,style:function(){return {paddingTop:20};}},"colorselector/preview-field-set":{include:fJ,alias:fJ,style:function(){return {paddingTop:20};}},"colorselector/hex-field-composite":eG,"colorselector/hex-field":fi,"colorselector/rgb-spinner-composite":eG,"colorselector/rgb-spinner-red":fb,"colorselector/rgb-spinner-green":fb,"colorselector/rgb-spinner-blue":fb,"colorselector/hsb-spinner-composite":eG,"colorselector/hsb-spinner-hue":fb,"colorselector/hsb-spinner-saturation":fb,"colorselector/hsb-spinner-brightness":fb,"colorselector/preview-content-old":{style:function(lm){return {decorator:hp,width:50,height:10};}},"colorselector/preview-content-new":{style:function(ln){return {decorator:hp,backgroundColor:hs,width:50,height:10};}},"colorselector/hue-saturation-field":{style:function(lo){return {decorator:hp,margin:5};}},"colorselector/brightness-field":{style:function(lp){return {decorator:hp,margin:[5,7]};}},"colorselector/hue-saturation-pane":eG,"colorselector/hue-saturation-handle":eG,"colorselector/brightness-pane":eG,"colorselector/brightness-handle":eG,"colorpopup":{alias:eA,include:eA,style:function(lq){return {padding:5,backgroundColor:f};}},"colorpopup/field":{style:function(lr){return {decorator:hp,margin:2,width:14,height:14,backgroundColor:hs};}},"colorpopup/selector-button":gL,"colorpopup/auto-button":gL,"colorpopup/preview-pane":fJ,"colorpopup/current-preview":{style:function(ls){return {height:20,padding:4,marginLeft:4,decorator:hp,allowGrowX:true};}},"colorpopup/selected-preview":{style:function(lt){return {height:20,padding:4,marginRight:4,decorator:hp,allowGrowX:true};}},"colorpopup/colorselector-okbutton":{alias:gL,include:gL,style:function(lu){return {icon:k};}},"colorpopup/colorselector-cancelbutton":{alias:gL,include:gL,style:function(lv){return {icon:fK};}},"table":{alias:eG,style:function(lw){return {decorator:eV};}},"table/statusbar":{style:function(lx){return {decorator:hw,padding:[0,2]};}},"table/column-button":{alias:hk,style:function(ly){return {decorator:U,padding:3,icon:eI};}},"table-column-reset-button":{include:fS,alias:fS,style:function(){return {icon:fl};}},"table-scroller":eG,"table-scroller/scrollbar-x":gk,"table-scroller/scrollbar-y":gk,"table-scroller/header":{style:function(lz){return {decorator:U,textColor:lz.disabled?T:undefined};}},"table-scroller/pane":{style:function(lA){return {backgroundColor:Y};}},"table-scroller/focus-indicator":{style:function(lB){return {decorator:q};}},"table-scroller/resize-line":{style:function(lC){return {backgroundColor:go,width:2};}},"table-header-cell":{alias:et,style:function(lD){return {minWidth:13,minHeight:20,padding:lD.hovered?[3,4,2,4]:[3,4],decorator:lD.hovered?ez:u,sortIcon:lD.sorted?(lD.sortedAscending?fc:gJ):undefined};}},"table-header-cell/label":{style:function(lE){return {minWidth:0,alignY:fU,paddingRight:5};}},"table-header-cell/sort-icon":{style:function(lF){return {alignY:fU,alignX:hq,opacity:lF.disabled?0.3:1};}},"table-header-cell/icon":{style:function(lG){return {minWidth:0,alignY:fU,paddingRight:5,opacity:lG.disabled?0.3:1};}},"table-editor-textfield":{include:fi,style:function(lH){return {decorator:undefined,padding:[2,2],backgroundColor:hs};}},"table-editor-selectbox":{include:hl,alias:hl,style:function(lI){return {padding:[0,2],backgroundColor:hs};}},"table-editor-combobox":{include:gf,alias:gf,style:function(lJ){return {decorator:undefined,backgroundColor:hs};}},"progressive-table-header":{alias:eG,style:function(lK){return {decorator:gS};}},"progressive-table-header-cell":{alias:et,style:function(lL){return {minWidth:40,minHeight:25,paddingLeft:6,decorator:ft};}},"app-header":{style:function(lM){return {font:P,textColor:gH,padding:[8,12],decorator:v};}},"app-header-label":fx,"app-splitpane":{alias:ga,style:function(lN){return {padding:0};}},"virtual-list":G,"virtual-list/row-layer":w,"row-layer":eG,"group-item":{include:fx,alias:fx,style:function(lO){return {padding:4,decorator:h,textColor:eH,font:P};}},"virtual-selectbox":hl,"virtual-selectbox/dropdown":eA,"virtual-selectbox/dropdown/list":{alias:fw},"virtual-combobox":gf,"virtual-combobox/dropdown":eA,"virtual-combobox/dropdown/list":{alias:fw},"virtual-tree":{include:gb,alias:gb,style:function(lP){return {itemHeight:26};}},"virtual-tree-folder":I,"virtual-tree-file":he,"column-layer":eG,"cell":{style:function(lQ){return {textColor:lQ.selected?gH:H,padding:[3,6],font:gz};}},"cell-string":gG,"cell-number":{include:gG,style:function(lR){return {textAlign:hq};}},"cell-image":gG,"cell-boolean":{include:gG,style:function(lS){return {iconTrue:t,iconFalse:gT};}},"cell-atom":gG,"cell-date":gG,"cell-html":gG,"htmlarea":{"include":eG,style:function(lT){return {backgroundColor:fq};}},"progressbar":{style:function(lU){return {decorator:fu,padding:[1],backgroundColor:hj,width:200,height:20};}},"progressbar/progress":{style:function(lV){return {decorator:(lV.disabled?h:gO)};}}}});})();(function(){var a="frontend.theme.Appearance";qx.Theme.define(a,{extend:qx.theme.modern.Appearance,appearances:{}});})();(function(){var a="Liberation Sans",b="Tahoma",c="os.name",d="sans-serif",e="monospace",f="win",g="Arial",h="Lucida Grande",i="osx",j="Courier New",k="os.version",l="Lucida Console",m="7",n="Monaco",o="Candara",p="Segoe UI",q="Consolas",r="vista",s="qx.theme.modern.Font",t="DejaVu Sans Mono";qx.Theme.define(s,{fonts:{"default":{size:(qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r))?12:11,lineHeight:1.4,family:qx.core.Environment.get(c)==i?[h]:((qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r)))?[p,o]:[b,a,g,d]},"bold":{size:(qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r))?12:11,lineHeight:1.4,family:qx.core.Environment.get(c)==i?[h]:((qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r)))?[p,o]:[b,a,g,d],bold:true},"small":{size:(qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r))?11:10,lineHeight:1.4,family:qx.core.Environment.get(c)==i?[h]:((qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r)))?[p,o]:[b,a,g,d]},"monospace":{size:11,lineHeight:1.4,family:qx.core.Environment.get(c)==i?[l,n]:((qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r)))?[q]:[q,t,j,e]}}});})();(function(){var a="frontend.theme.Font";qx.Theme.define(a,{extend:qx.theme.modern.Font,fonts:{}});})();(function(){var a="black",b="#EEEEEE",c="#1a1a1a",d="#ffffdd",e="#b6b6b6",f="#004DAD",g="#BABABA",h="#005BC3",i="#334866",j="#00204D",k="#CECECE",l="gray",m="#D9D9D9",n="#D8D8D8",o="#99C3FE",p="#001533",q="#B3B3B3",r="#F4F4F4",s="#D5D5D5",t="#fffefe",u="#C3C3C3",v="#E4E4E4",w="#DDDDDD",x="#FF9999",y="css.rgba",z="#E8E8E9",A="#084FAA",B="#AFAFAF",C="white",D="#C5C5C5",E="rgba(0, 0, 0, 0.4)",F="#DBDBDB",G="#4a4a4a",H="#83BAEA",I="#D7E7F4",J="#07125A",K="#084FAB",L="#FAF2F2",M="#87AFE7",N="#F7EAEA",O="#777D8D",P="#FBFBFB",Q="#CACACA",R="#909090",S="#9B9B9B",T="#F0F9FE",U="#314a6e",V="#B4B4B4",W="#787878",X="qx.theme.modern.Color",Y="#000000",cb="#26364D",cc="#A7A7A7",cd="#D1E4FF",bW="#5CB0FD",bX="#FCFCFC",bY="#EAEAEA",ca="#003B91",ci="#80B4EF",cj="#FF6B78",ck="#949494",cl="#808080",ce="#F3F3F3",cf="#930000",cg="#7B7B7B",ch="#F0F0F0",cp="#C82C2C",cM="#DFDFDF",cN="#B6B6B6",cq="#0880EF",cm="#4d4d4d",cn="#f4f4f4",cP="#7B7A7E",co="#D0D0D0",cr="#f8f8f8",cs="#404955",ct="#959595",cx="#AAAAAA",cQ="#F7E9E9",cy="#314A6E",cu="#C72B2B",cv="#FAFAFA",cO="#FBFCFB",cw="#B2D2FF",cC="#666666",cD="#CBC8CD",cE="#999999",cF="#8EB8D6",cz="#b8b8b8",cA="#727272",cR="#33508D",cB="#E8E8E8",cJ="#CCCCCC",cK="#CCC",cS="#EFEFEF",cL="#F2F2F2",cG="#F1F1F1",cH="#990000",cI="#00368A";qx.Theme.define(X,{colors:{"background-application":cM,"background-pane":ce,"background-light":bX,"background-medium":b,"background-splitpane":B,"background-tip":d,"background-tip-error":cu,"background-odd":v,"htmlarea-background":C,"progressbar-background":C,"text-light":R,"text-gray":G,"text-label":c,"text-title":U,"text-input":Y,"text-hovered":p,"text-disabled":cP,"text-selected":t,"text-active":cb,"text-inactive":cs,"text-placeholder":cD,"border-inner-scrollbar":C,"border-main":cm,"menu-separator-top":D,"menu-separator-bottom":cv,"border-separator":cl,"border-toolbar-button-outer":e,"border-toolbar-border-inner":cr,"border-toolbar-separator-right":cn,"border-toolbar-separator-left":cz,"border-input":i,"border-inner-input":C,"border-disabled":cN,"border-pane":j,"border-button":cC,"border-column":cJ,"border-focused":o,"invalid":cH,"border-focused-invalid":x,"border-dragover":cR,"keyboard-focus":a,"table-pane":ce,"table-focus-indicator":cq,"table-row-background-focused-selected":K,"table-row-background-focused":ci,"table-row-background-selected":K,"table-row-background-even":ce,"table-row-background-odd":v,"table-row-selected":t,"table-row":c,"table-row-line":cK,"table-column-line":cK,"table-header-hovered":C,"progressive-table-header":cx,"progressive-table-header-border-right":cL,"progressive-table-row-background-even":r,"progressive-table-row-background-odd":v,"progressive-progressbar-background":l,"progressive-progressbar-indicator-done":cJ,"progressive-progressbar-indicator-undone":C,"progressive-progressbar-percent-background":l,"progressive-progressbar-percent-text":C,"selected-start":f,"selected-end":cI,"background-selected":cI,"tabview-background":J,"shadow":qx.core.Environment.get(y)?E:cE,"pane-start":P,"pane-end":ch,"group-background":cB,"group-border":V,"radiobutton-background":cS,"checkbox-border":cy,"checkbox-focus":M,"checkbox-hovered":cw,"checkbox-hovered-inner":cd,"checkbox-inner":b,"checkbox-start":v,"checkbox-end":ce,"checkbox-disabled-border":W,"checkbox-disabled-inner":Q,"checkbox-disabled-start":co,"checkbox-disabled-end":n,"checkbox-hovered-inner-invalid":L,"checkbox-hovered-invalid":cQ,"radiobutton-checked":h,"radiobutton-disabled":s,"radiobutton-checked-disabled":cg,"radiobutton-hovered-invalid":N,"tooltip-error":cp,"scrollbar-start":cJ,"scrollbar-end":cG,"scrollbar-slider-start":b,"scrollbar-slider-end":u,"button-border-disabled":ct,"button-start":ch,"button-end":B,"button-disabled-start":r,"button-disabled-end":g,"button-hovered-start":T,"button-hovered-end":cF,"button-focused":H,"border-invalid":cf,"input-start":ch,"input-end":cO,"input-focused-start":I,"input-focused-end":bW,"input-focused-inner-invalid":cj,"input-border-disabled":S,"input-border-inner":C,"toolbar-start":cS,"toolbar-end":w,"window-border":j,"window-border-caption":cA,"window-caption-active-text":C,"window-caption-active-start":A,"window-caption-active-end":ca,"window-caption-inactive-start":cL,"window-caption-inactive-end":F,"window-statusbar-background":cS,"tabview-start":bX,"tabview-end":b,"tabview-inactive":O,"tabview-inactive-start":bY,"tabview-inactive-end":k,"table-header-start":cB,"table-header-end":q,"menu-start":z,"menu-end":m,"menubar-start":cB,"groupitem-start":cc,"groupitem-end":ck,"groupitem-text":C,"virtual-row-layer-background-even":C,"virtual-row-layer-background-odd":C}});})();(function(){var a="frontend.theme.Color";qx.Theme.define(a,{extend:qx.theme.modern.Color,colors:{}});})();(function(){var a="frontend.theme.Theme";qx.Theme.define(a,{meta:{color:frontend.theme.Color,decoration:frontend.theme.Decoration,font:frontend.theme.Font,icon:qx.theme.icon.Tango,appearance:frontend.theme.Appearance}});})(); qx.$$loader.init();