(function(){

if (!window.qx) window.qx = {};

qx.$$start = new Date();
  
if (!window.qxsettings) qxsettings = {};
var settings = {"qx.application":"designer.Application","qx.theme":"designer.theme.Theme","qx.version":"1.0.1"};
for (var k in settings) qxsettings[k] = settings[k];

if (!window.qxvariants) qxvariants = {};
var variants = {};
for (var k in variants) qxvariants[k] = variants[k];

if (!qx.$$libraries) qx.$$libraries = {};
var libinfo = {"__out__":{"sourceUri":"script"},"blueprint":{"resourceUri":"resource","sourceUri":"script","version":"trunk"},"designer":{"resourceUri":"resource","sourceUri":"script","version":"trunk"},"qx":{"resourceUri":"resource","sourceUri":"script","version":"1.0.1"}};
for (var k in libinfo) qx.$$libraries[k] = libinfo[k];

qx.$$resources = {};
qx.$$translations = {"C":{}};
qx.$$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_EEEd":"d EEE","cldr_date_time_format_Hm":"H:mm","cldr_date_time_format_Hms":"H: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_MMMMEd":"E, MMMM d","cldr_date_time_format_MMMMd":"MMMM d","cldr_date_time_format_MMMd":"MMM d","cldr_date_time_format_Md":"M/d","cldr_date_time_format_d":"d","cldr_date_time_format_hm":"h:mm a","cldr_date_time_format_ms":"mm:ss","cldr_date_time_format_y":"y","cldr_date_time_format_yM":"M/yyyy","cldr_date_time_format_yMEd":"EEE, M/d/yyyy","cldr_date_time_format_yMMM":"MMM y","cldr_date_time_format_yMMMEd":"EEE, MMM d, y","cldr_date_time_format_yMMMM":"MMMM y","cldr_date_time_format_yQ":"Q yyyy","cldr_date_time_format_yQQQ":"QQQ y","cldr_day_format_abbreviated_fri":"Fri","cldr_day_format_abbreviated_mon":"Mon","cldr_day_format_abbreviated_sat":"Sat","cldr_day_format_abbreviated_sun":"Sun","cldr_day_format_abbreviated_thu":"Thu","cldr_day_format_abbreviated_tue":"Tue","cldr_day_format_abbreviated_wed":"Wed","cldr_day_format_narrow_fri":"F","cldr_day_format_narrow_mon":"M","cldr_day_format_narrow_sat":"S","cldr_day_format_narrow_sun":"S","cldr_day_format_narrow_thu":"T","cldr_day_format_narrow_tue":"T","cldr_day_format_narrow_wed":"W","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_abbreviated_fri":"Fri","cldr_day_stand-alone_abbreviated_mon":"Mon","cldr_day_stand-alone_abbreviated_sat":"Sat","cldr_day_stand-alone_abbreviated_sun":"Sun","cldr_day_stand-alone_abbreviated_thu":"Thu","cldr_day_stand-alone_abbreviated_tue":"Tue","cldr_day_stand-alone_abbreviated_wed":"Wed","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_day_stand-alone_wide_fri":"Friday","cldr_day_stand-alone_wide_mon":"Monday","cldr_day_stand-alone_wide_sat":"Saturday","cldr_day_stand-alone_wide_sun":"Sunday","cldr_day_stand-alone_wide_thu":"Thursday","cldr_day_stand-alone_wide_tue":"Tuesday","cldr_day_stand-alone_wide_wed":"Wednesday","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":"“"}};
qx.$$i18n    = {};
qx.$$packageData = {};

qx.$$loader = {
  parts : {"boot":[0]},
  uris : [["designer:designer.js"]],
  urisBefore : [],
  packageHashes : {"0":"04e86e4ad17f"},
  boot : "boot",
  bootIsInline : true,
  
  decodeUris : function(compressedUris)
  {
    var libs = qx.$$libraries;
    var uris = [];
    for (var i=0; i<compressedUris.length; i++)
    {
      var uri = compressedUris[i].split(":");
      var euri;
      if (uri.length==2 && uri[0] in libs) {
        var prefix = libs[uri[0]].sourceUri;
        euri = prefix + "/" + uri[1];
      } else {
        euri = compressedUris[i];
      }
      
      uris.push(euri);
    }
    return uris;      
  }
};  

function loadScript(uri, callback) {
  var elem = document.createElement("script");
  elem.charset = "utf-8";
  elem.src = uri;
  elem.onreadystatechange = elem.onload = function()
  {
    if (!this.readyState || this.readyState == "loaded" || this.readyState == "complete")
    {
      elem.onreadystatechange = elem.onload = null;
      callback();
    }
  };
  var head = document.getElementsByTagName("head")[0];
  head.appendChild(elem);
}

var isWebkit = /AppleWebKit\/([^ ]+)/.test(navigator.userAgent);

function loadScriptList(list, callback) {
  if (list.length == 0) {
    callback();
    return;
  }
  loadScript(list.shift(), function() {
    if (isWebkit) {
      // force asynchronous load
      // Safari fails with an "maximum recursion depth exceeded" error if it is
      // called sync.      
      window.setTimeout(function() {
        loadScriptList(list, callback);
      }, 0);
    } else {
      loadScriptList(list, callback);
    }
  });
}

var fireContentLoadedEvent = function() {
  qx.$$domReady = true;
  document.removeEventListener('DOMContentLoaded', fireContentLoadedEvent, false);
};
if (document.addEventListener) {
  document.addEventListener('DOMContentLoaded', fireContentLoadedEvent, false);
}

qx.$$loader.importPackageData = function (dataMap) {
  if (dataMap["resources"]){
    var resMap = dataMap["resources"];
    for (var k in resMap) qx.$$resources[k] = resMap[k];
  }
}

qx.$$loader.signalStartup = function () {
  if (window.qx && qx.event && qx.event.handler && qx.event.handler.Application) qx.event.handler.Application.onScriptLoaded();
}

qx.$$loader.init = function(){
  var l=qx.$$loader;
  if (l.urisBefore.length>0){
    loadScriptList(l.urisBefore, function(){return;});
  }
  var bootPackageHash=l.packageHashes[l.parts[l.boot][0]];
  if (l.bootIsInline){
    l.importPackageData(qx.$$packageData[bootPackageHash]);
    l.signalStartup();
  } else {
    loadScriptList(l.decodeUris(l.uris[l.parts[l.boot]]), function(){
      // Opera needs this extra time to parse the scripts
      window.setTimeout(function(){
        l.importPackageData(qx.$$packageData[bootPackageHash]);
        l.signalStartup();
      }, 0);
    });
  }
}
})();

qx.$$packageData['04e86e4ad17f']={"resources":{"qx/decoration/Classic/arrows-combined.gif":[124,7,"gif","qx"],"qx/decoration/Classic/arrows/down-invert.gif":[7,4,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-38,0],"qx/decoration/Classic/arrows/down-small-invert.gif":[5,3,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-87,0],"qx/decoration/Classic/arrows/down-small.gif":[5,3,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-53,0],"qx/decoration/Classic/arrows/down.gif":[7,4,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-113,0],"qx/decoration/Classic/arrows/forward-invert.gif":[8,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-30,0],"qx/decoration/Classic/arrows/forward.gif":[8,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-18,0],"qx/decoration/Classic/arrows/left-invert.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-92,0],"qx/decoration/Classic/arrows/left-small-invert.gif":[3,5,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-58,0],"qx/decoration/Classic/arrows/left-small.gif":[3,5,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-15,0],"qx/decoration/Classic/arrows/left.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-120,0],"qx/decoration/Classic/arrows/next-invert.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-80,0],"qx/decoration/Classic/arrows/next.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-109,0],"qx/decoration/Classic/arrows/previous-invert.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-69,0],"qx/decoration/Classic/arrows/previous.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-65,0],"qx/decoration/Classic/arrows/rewind-invert.gif":[8,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-45,0],"qx/decoration/Classic/arrows/rewind.gif":[8,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-101,0],"qx/decoration/Classic/arrows/right-invert.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-61,0],"qx/decoration/Classic/arrows/right-small-invert.gif":[3,5,"gif","qx","qx/decoration/Classic/arrows-combined.gif",0,0],"qx/decoration/Classic/arrows/right-small.gif":[3,5,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-84,0],"qx/decoration/Classic/arrows/right.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-26,0],"qx/decoration/Classic/arrows/up-invert.gif":[7,4,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-73,0],"qx/decoration/Classic/arrows/up-small-invert.gif":[5,3,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-96,0],"qx/decoration/Classic/arrows/up-small.gif":[5,3,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-3,0],"qx/decoration/Classic/arrows/up.gif":[7,4,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-8,0],"qx/decoration/Classic/checkbox-radiobutton-combined.png":[504,14,"png","qx"],"qx/decoration/Classic/colorselector-combined.gif":[46,11,"gif","qx"],"qx/decoration/Classic/colorselector/brightness-field.png":[19,256,"png","qx"],"qx/decoration/Classic/colorselector/brightness-handle.gif":[35,11,"gif","qx","qx/decoration/Classic/colorselector-combined.gif",-11,0],"qx/decoration/Classic/colorselector/huesaturation-field.jpg":[256,256,"jpeg","qx"],"qx/decoration/Classic/colorselector/huesaturation-handle.gif":[11,11,"gif","qx","qx/decoration/Classic/colorselector-combined.gif",0,0],"qx/decoration/Classic/cursors-combined.gif":[71,20,"gif","qx"],"qx/decoration/Classic/cursors/alias.gif":[19,15,"gif","qx","qx/decoration/Classic/cursors-combined.gif",-52,0],"qx/decoration/Classic/cursors/copy.gif":[19,15,"gif","qx","qx/decoration/Classic/cursors-combined.gif",-20,0],"qx/decoration/Classic/cursors/move.gif":[13,9,"gif","qx","qx/decoration/Classic/cursors-combined.gif",-39,0],"qx/decoration/Classic/cursors/nodrop.gif":[20,20,"gif","qx","qx/decoration/Classic/cursors-combined.gif",0,0],"qx/decoration/Classic/datechooser/last-month-invert.png":[16,16,"png","qx"],"qx/decoration/Classic/datechooser/last-month.png":[16,16,"png","qx"],"qx/decoration/Classic/datechooser/last-year-invert.png":[16,16,"png","qx"],"qx/decoration/Classic/datechooser/last-year.png":[16,16,"png","qx"],"qx/decoration/Classic/datechooser/next-month-invert.png":[16,16,"png","qx"],"qx/decoration/Classic/datechooser/next-month.png":[16,16,"png","qx"],"qx/decoration/Classic/datechooser/next-year-invert.png":[16,16,"png","qx"],"qx/decoration/Classic/datechooser/next-year.png":[16,16,"png","qx"],"qx/decoration/Classic/form/checkbox-checked-disabled.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-336,0],"qx/decoration/Classic/form/checkbox-checked-focused-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-28,0],"qx/decoration/Classic/form/checkbox-checked-focused.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-462,0],"qx/decoration/Classic/form/checkbox-checked-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-112,0],"qx/decoration/Classic/form/checkbox-checked-hovered.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-140,0],"qx/decoration/Classic/form/checkbox-checked-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-98,0],"qx/decoration/Classic/form/checkbox-checked-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-308,0],"qx/decoration/Classic/form/checkbox-checked-pressed.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",0,0],"qx/decoration/Classic/form/checkbox-checked.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-266,0],"qx/decoration/Classic/form/checkbox-disabled.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-84,0],"qx/decoration/Classic/form/checkbox-focused-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-476,0],"qx/decoration/Classic/form/checkbox-focused.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-392,0],"qx/decoration/Classic/form/checkbox-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-196,0],"qx/decoration/Classic/form/checkbox-hovered.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-154,0],"qx/decoration/Classic/form/checkbox-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-350,0],"qx/decoration/Classic/form/checkbox-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-448,0],"qx/decoration/Classic/form/checkbox-pressed.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-70,0],"qx/decoration/Classic/form/checkbox.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-490,0],"qx/decoration/Classic/form/radiobutton-checked-disabled.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-210,0],"qx/decoration/Classic/form/radiobutton-checked-focused-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-406,0],"qx/decoration/Classic/form/radiobutton-checked-focused.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-378,0],"qx/decoration/Classic/form/radiobutton-checked-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-252,0],"qx/decoration/Classic/form/radiobutton-checked-hovered.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-182,0],"qx/decoration/Classic/form/radiobutton-checked-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-294,0],"qx/decoration/Classic/form/radiobutton-checked-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-420,0],"qx/decoration/Classic/form/radiobutton-checked-pressed.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-56,0],"qx/decoration/Classic/form/radiobutton-checked.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-322,0],"qx/decoration/Classic/form/radiobutton-disabled.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-364,0],"qx/decoration/Classic/form/radiobutton-focused-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-434,0],"qx/decoration/Classic/form/radiobutton-focused.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-168,0],"qx/decoration/Classic/form/radiobutton-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-126,0],"qx/decoration/Classic/form/radiobutton-hovered.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-42,0],"qx/decoration/Classic/form/radiobutton-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-280,0],"qx/decoration/Classic/form/radiobutton-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-238,0],"qx/decoration/Classic/form/radiobutton-pressed.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-14,0],"qx/decoration/Classic/form/radiobutton.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-224,0],"qx/decoration/Classic/menu-combined.gif":[64,7,"gif","qx"],"qx/decoration/Classic/menu/checkbox-invert.gif":[16,7,"gif","qx","qx/decoration/Classic/menu-combined.gif",-16,0],"qx/decoration/Classic/menu/checkbox.gif":[16,7,"gif","qx","qx/decoration/Classic/menu-combined.gif",-32,0],"qx/decoration/Classic/menu/radiobutton-invert.gif":[16,5,"gif","qx","qx/decoration/Classic/menu-combined.gif",0,0],"qx/decoration/Classic/menu/radiobutton.gif":[16,5,"gif","qx","qx/decoration/Classic/menu-combined.gif",-48,0],"qx/decoration/Classic/shadow-lr-combined.png":[30,382,"png","qx"],"qx/decoration/Classic/shadow-small-lr-combined.png":[10,136,"png","qx"],"qx/decoration/Classic/shadow-small-tb-combined.png":[5,30,"png","qx"],"qx/decoration/Classic/shadow-tb-combined.png":[15,90,"png","qx"],"qx/decoration/Classic/shadow/shadow-b.png":[15,15,"png","qx","qx/decoration/Classic/shadow-tb-combined.png",0,-30],"qx/decoration/Classic/shadow/shadow-bl.png":[15,15,"png","qx","qx/decoration/Classic/shadow-tb-combined.png",0,0],"qx/decoration/Classic/shadow/shadow-br.png":[15,15,"png","qx","qx/decoration/Classic/shadow-tb-combined.png",0,-60],"qx/decoration/Classic/shadow/shadow-c.png":[40,382,"png","qx"],"qx/decoration/Classic/shadow/shadow-l.png":[15,382,"png","qx","qx/decoration/Classic/shadow-lr-combined.png",-15,0],"qx/decoration/Classic/shadow/shadow-r.png":[15,382,"png","qx","qx/decoration/Classic/shadow-lr-combined.png",0,0],"qx/decoration/Classic/shadow/shadow-small-b.png":[5,5,"png","qx","qx/decoration/Classic/shadow-small-tb-combined.png",0,-25],"qx/decoration/Classic/shadow/shadow-small-bl.png":[5,5,"png","qx","qx/decoration/Classic/shadow-small-tb-combined.png",0,-20],"qx/decoration/Classic/shadow/shadow-small-br.png":[5,5,"png","qx","qx/decoration/Classic/shadow-small-tb-combined.png",0,0],"qx/decoration/Classic/shadow/shadow-small-c.png":[40,136,"png","qx"],"qx/decoration/Classic/shadow/shadow-small-l.png":[5,136,"png","qx","qx/decoration/Classic/shadow-small-lr-combined.png",0,0],"qx/decoration/Classic/shadow/shadow-small-r.png":[5,136,"png","qx","qx/decoration/Classic/shadow-small-lr-combined.png",-5,0],"qx/decoration/Classic/shadow/shadow-small-t.png":[5,5,"png","qx","qx/decoration/Classic/shadow-small-tb-combined.png",0,-5],"qx/decoration/Classic/shadow/shadow-small-tl.png":[5,5,"png","qx","qx/decoration/Classic/shadow-small-tb-combined.png",0,-15],"qx/decoration/Classic/shadow/shadow-small-tr.png":[5,5,"png","qx","qx/decoration/Classic/shadow-small-tb-combined.png",0,-10],"qx/decoration/Classic/shadow/shadow-t.png":[15,15,"png","qx","qx/decoration/Classic/shadow-tb-combined.png",0,-75],"qx/decoration/Classic/shadow/shadow-tl.png":[15,15,"png","qx","qx/decoration/Classic/shadow-tb-combined.png",0,-45],"qx/decoration/Classic/shadow/shadow-tr.png":[15,15,"png","qx","qx/decoration/Classic/shadow-tb-combined.png",0,-15],"qx/decoration/Classic/splitpane/knob-horizontal.png":[4,15,"png","qx"],"qx/decoration/Classic/splitpane/knob-vertical.png":[15,4,"png","qx"],"qx/decoration/Classic/table-combined.png":[72,11,"png","qx"],"qx/decoration/Classic/table/ascending-invert.png":[10,10,"png","qx","qx/decoration/Classic/table-combined.png",-62,0],"qx/decoration/Classic/table/ascending.png":[10,10,"png","qx","qx/decoration/Classic/table-combined.png",-52,0],"qx/decoration/Classic/table/boolean-false.png":[11,11,"png","qx","qx/decoration/Classic/table-combined.png",-31,0],"qx/decoration/Classic/table/boolean-true.png":[11,11,"png","qx","qx/decoration/Classic/table-combined.png",-10,0],"qx/decoration/Classic/table/descending-invert.png":[10,10,"png","qx","qx/decoration/Classic/table-combined.png",-42,0],"qx/decoration/Classic/table/descending.png":[10,10,"png","qx","qx/decoration/Classic/table-combined.png",0,0],"qx/decoration/Classic/table/select-column-order.png":[10,9,"png","qx","qx/decoration/Classic/table-combined.png",-21,0],"qx/decoration/Classic/tree/minus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/tree/plus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/cross.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/cross_minus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/cross_plus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/end.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/end_minus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/end_plus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/line.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/only_minus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/only_plus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/start.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/start_minus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/start_plus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/window-captionbar-buttons-combined.gif":[36,9,"gif","qx"],"qx/decoration/Classic/window/close.gif":[10,9,"gif","qx","qx/decoration/Classic/window-captionbar-buttons-combined.gif",0,0],"qx/decoration/Classic/window/maximize.gif":[9,9,"gif","qx","qx/decoration/Classic/window-captionbar-buttons-combined.gif",-10,0],"qx/decoration/Classic/window/minimize.gif":[9,9,"gif","qx","qx/decoration/Classic/window-captionbar-buttons-combined.gif",-19,0],"qx/decoration/Classic/window/restore.gif":[8,9,"gif","qx","qx/decoration/Classic/window-captionbar-buttons-combined.gif",-28,0],"qx/decoration/Modern/app-header.png":[110,20,"png","qx"],"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-invert.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-69,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-invert.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",0,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/button-lr-combined.png":[72,52,"png","qx"],"qx/decoration/Modern/button-tb-combined.png":[4,216,"png","qx"],"qx/decoration/Modern/checkradio-combined.png":[504,14,"png","qx"],"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/button-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-72],"qx/decoration/Modern/form/button-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-204],"qx/decoration/Modern/form/button-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-188],"qx/decoration/Modern/form/button-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-checked-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-36],"qx/decoration/Modern/form/button-checked-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-84],"qx/decoration/Modern/form/button-checked-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-184],"qx/decoration/Modern/form/button-checked-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-checked-focused-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-156],"qx/decoration/Modern/form/button-checked-focused-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-208],"qx/decoration/Modern/form/button-checked-focused-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-160],"qx/decoration/Modern/form/button-checked-focused-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-checked-focused-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-40,0],"qx/decoration/Modern/form/button-checked-focused-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-32,0],"qx/decoration/Modern/form/button-checked-focused-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-28],"qx/decoration/Modern/form/button-checked-focused-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-24],"qx/decoration/Modern/form/button-checked-focused-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-48],"qx/decoration/Modern/form/button-checked-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-16,0],"qx/decoration/Modern/form/button-checked-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-60,0],"qx/decoration/Modern/form/button-checked-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-140],"qx/decoration/Modern/form/button-checked-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-56],"qx/decoration/Modern/form/button-checked-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-112],"qx/decoration/Modern/form/button-disabled-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-40],"qx/decoration/Modern/form/button-disabled-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-136],"qx/decoration/Modern/form/button-disabled-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-16],"qx/decoration/Modern/form/button-disabled-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-disabled-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-68,0],"qx/decoration/Modern/form/button-disabled-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-4,0],"qx/decoration/Modern/form/button-disabled-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-116],"qx/decoration/Modern/form/button-disabled-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-168],"qx/decoration/Modern/form/button-disabled-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-60],"qx/decoration/Modern/form/button-focused-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-68],"qx/decoration/Modern/form/button-focused-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-144],"qx/decoration/Modern/form/button-focused-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-8],"qx/decoration/Modern/form/button-focused-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-focused-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-24,0],"qx/decoration/Modern/form/button-focused-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-44,0],"qx/decoration/Modern/form/button-focused-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-192],"qx/decoration/Modern/form/button-focused-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-148],"qx/decoration/Modern/form/button-focused-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-104],"qx/decoration/Modern/form/button-hovered-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-108],"qx/decoration/Modern/form/button-hovered-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-32],"qx/decoration/Modern/form/button-hovered-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-128],"qx/decoration/Modern/form/button-hovered-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-hovered-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-20,0],"qx/decoration/Modern/form/button-hovered-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-48,0],"qx/decoration/Modern/form/button-hovered-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-44],"qx/decoration/Modern/form/button-hovered-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-76],"qx/decoration/Modern/form/button-hovered-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-88],"qx/decoration/Modern/form/button-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-56,0],"qx/decoration/Modern/form/button-preselected-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-124],"qx/decoration/Modern/form/button-preselected-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-176],"qx/decoration/Modern/form/button-preselected-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-200],"qx/decoration/Modern/form/button-preselected-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-preselected-focused-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,0],"qx/decoration/Modern/form/button-preselected-focused-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-4],"qx/decoration/Modern/form/button-preselected-focused-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-152],"qx/decoration/Modern/form/button-preselected-focused-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-preselected-focused-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-28,0],"qx/decoration/Modern/form/button-preselected-focused-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-36,0],"qx/decoration/Modern/form/button-preselected-focused-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-196],"qx/decoration/Modern/form/button-preselected-focused-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-164],"qx/decoration/Modern/form/button-preselected-focused-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-212],"qx/decoration/Modern/form/button-preselected-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-8,0],"qx/decoration/Modern/form/button-preselected-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-64,0],"qx/decoration/Modern/form/button-preselected-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-96],"qx/decoration/Modern/form/button-preselected-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-80],"qx/decoration/Modern/form/button-preselected-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-132],"qx/decoration/Modern/form/button-pressed-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-12],"qx/decoration/Modern/form/button-pressed-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-52],"qx/decoration/Modern/form/button-pressed-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-20],"qx/decoration/Modern/form/button-pressed-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-pressed-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-52,0],"qx/decoration/Modern/form/button-pressed-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-12,0],"qx/decoration/Modern/form/button-pressed-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-100],"qx/decoration/Modern/form/button-pressed-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-172],"qx/decoration/Modern/form/button-pressed-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-64],"qx/decoration/Modern/form/button-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",0,0],"qx/decoration/Modern/form/button-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-92],"qx/decoration/Modern/form/button-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-120],"qx/decoration/Modern/form/button-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-180],"qx/decoration/Modern/form/checkbox-checked-disabled.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-126,0],"qx/decoration/Modern/form/checkbox-checked-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-322,0],"qx/decoration/Modern/form/checkbox-checked-focused.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-294,0],"qx/decoration/Modern/form/checkbox-checked-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-364,0],"qx/decoration/Modern/form/checkbox-checked-hovered.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-490,0],"qx/decoration/Modern/form/checkbox-checked-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-224,0],"qx/decoration/Modern/form/checkbox-checked-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-378,0],"qx/decoration/Modern/form/checkbox-checked-pressed.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-84,0],"qx/decoration/Modern/form/checkbox-checked.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-182,0],"qx/decoration/Modern/form/checkbox-disabled.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-42,0],"qx/decoration/Modern/form/checkbox-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-392,0],"qx/decoration/Modern/form/checkbox-focused.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-210,0],"qx/decoration/Modern/form/checkbox-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-14,0],"qx/decoration/Modern/form/checkbox-hovered.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-238,0],"qx/decoration/Modern/form/checkbox-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-462,0],"qx/decoration/Modern/form/checkbox-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-112,0],"qx/decoration/Modern/form/checkbox-pressed.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-448,0],"qx/decoration/Modern/form/checkbox.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-140,0],"qx/decoration/Modern/form/input-focused.png":[40,12,"png","qx"],"qx/decoration/Modern/form/input.png":[84,12,"png","qx"],"qx/decoration/Modern/form/radiobutton-checked-disabled.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-196,0],"qx/decoration/Modern/form/radiobutton-checked-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-168,0],"qx/decoration/Modern/form/radiobutton-checked-focused.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-98,0],"qx/decoration/Modern/form/radiobutton-checked-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-308,0],"qx/decoration/Modern/form/radiobutton-checked-hovered.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-406,0],"qx/decoration/Modern/form/radiobutton-checked-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-28,0],"qx/decoration/Modern/form/radiobutton-checked-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-350,0],"qx/decoration/Modern/form/radiobutton-checked-pressed.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-266,0],"qx/decoration/Modern/form/radiobutton-checked.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-252,0],"qx/decoration/Modern/form/radiobutton-disabled.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-336,0],"qx/decoration/Modern/form/radiobutton-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-476,0],"qx/decoration/Modern/form/radiobutton-focused.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-420,0],"qx/decoration/Modern/form/radiobutton-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-56,0],"qx/decoration/Modern/form/radiobutton-hovered.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",0,0],"qx/decoration/Modern/form/radiobutton-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-154,0],"qx/decoration/Modern/form/radiobutton-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-434,0],"qx/decoration/Modern/form/radiobutton-pressed.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-280,0],"qx/decoration/Modern/form/radiobutton.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-70,0],"qx/decoration/Modern/form/tooltip-error-arrow.png":[11,14,"png","qx"],"qx/decoration/Modern/form/tooltip-error-b.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,-30],"qx/decoration/Modern/form/tooltip-error-bl.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,-24],"qx/decoration/Modern/form/tooltip-error-br.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,0],"qx/decoration/Modern/form/tooltip-error-c.png":[40,18,"png","qx"],"qx/decoration/Modern/form/tooltip-error-l.png":[6,18,"png","qx","qx/decoration/Modern/tooltip-error-lr-combined.png",-6,0],"qx/decoration/Modern/form/tooltip-error-r.png":[6,18,"png","qx","qx/decoration/Modern/tooltip-error-lr-combined.png",0,0],"qx/decoration/Modern/form/tooltip-error-t.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,-6],"qx/decoration/Modern/form/tooltip-error-tl.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,-18],"qx/decoration/Modern/form/tooltip-error-tr.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,-12],"qx/decoration/Modern/groupbox-lr-combined.png":[8,51,"png","qx"],"qx/decoration/Modern/groupbox-tb-combined.png":[4,24,"png","qx"],"qx/decoration/Modern/groupbox/groupbox-b.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,-12],"qx/decoration/Modern/groupbox/groupbox-bl.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,-16],"qx/decoration/Modern/groupbox/groupbox-br.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,-8],"qx/decoration/Modern/groupbox/groupbox-c.png":[40,51,"png","qx"],"qx/decoration/Modern/groupbox/groupbox-l.png":[4,51,"png","qx","qx/decoration/Modern/groupbox-lr-combined.png",-4,0],"qx/decoration/Modern/groupbox/groupbox-r.png":[4,51,"png","qx","qx/decoration/Modern/groupbox-lr-combined.png",0,0],"qx/decoration/Modern/groupbox/groupbox-t.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,-4],"qx/decoration/Modern/groupbox/groupbox-tl.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,0],"qx/decoration/Modern/groupbox/groupbox-tr.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,-20],"qx/decoration/Modern/menu-background-combined.png":[80,49,"png","qx"],"qx/decoration/Modern/menu-checkradio-combined.gif":[64,7,"gif","qx"],"qx/decoration/Modern/menu/background.png":[40,49,"png","qx","qx/decoration/Modern/menu-background-combined.png",-40,0],"qx/decoration/Modern/menu/bar-background.png":[40,20,"png","qx","qx/decoration/Modern/menu-background-combined.png",0,0],"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/pane-lr-combined.png":[12,238,"png","qx"],"qx/decoration/Modern/pane-tb-combined.png":[6,36,"png","qx"],"qx/decoration/Modern/pane/pane-b.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,-30],"qx/decoration/Modern/pane/pane-bl.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,-18],"qx/decoration/Modern/pane/pane-br.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,-12],"qx/decoration/Modern/pane/pane-c.png":[40,238,"png","qx"],"qx/decoration/Modern/pane/pane-l.png":[6,238,"png","qx","qx/decoration/Modern/pane-lr-combined.png",0,0],"qx/decoration/Modern/pane/pane-r.png":[6,238,"png","qx","qx/decoration/Modern/pane-lr-combined.png",-6,0],"qx/decoration/Modern/pane/pane-t.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,0],"qx/decoration/Modern/pane/pane-tl.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,-24],"qx/decoration/Modern/pane/pane-tr.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,-6],"qx/decoration/Modern/scrollbar-combined.png":[54,12,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-bg-horizontal.png":[76,15,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-bg-pressed-horizontal.png":[19,10,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-bg-pressed-vertical.png":[10,19,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-bg-vertical.png":[15,76,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-button-bg-horizontal.png":[12,10,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-34,0],"qx/decoration/Modern/scrollbar/scrollbar-button-bg-vertical.png":[10,12,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-6,0],"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/scrollbar/slider-knob-background.png":[12,10,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-16,0],"qx/decoration/Modern/selection.png":[110,20,"png","qx"],"qx/decoration/Modern/shadow-lr-combined.png":[30,382,"png","qx"],"qx/decoration/Modern/shadow-small-lr-combined.png":[10,136,"png","qx"],"qx/decoration/Modern/shadow-small-tb-combined.png":[5,30,"png","qx"],"qx/decoration/Modern/shadow-tb-combined.png":[15,90,"png","qx"],"qx/decoration/Modern/shadow/shadow-b.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,-30],"qx/decoration/Modern/shadow/shadow-bl.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,-15],"qx/decoration/Modern/shadow/shadow-br.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,-45],"qx/decoration/Modern/shadow/shadow-c.png":[40,382,"png","qx"],"qx/decoration/Modern/shadow/shadow-l.png":[15,382,"png","qx","qx/decoration/Modern/shadow-lr-combined.png",0,0],"qx/decoration/Modern/shadow/shadow-r.png":[15,382,"png","qx","qx/decoration/Modern/shadow-lr-combined.png",-15,0],"qx/decoration/Modern/shadow/shadow-small-b.png":[5,5,"png","qx","qx/decoration/Modern/shadow-small-tb-combined.png",0,-20],"qx/decoration/Modern/shadow/shadow-small-bl.png":[5,5,"png","qx","qx/decoration/Modern/shadow-small-tb-combined.png",0,-15],"qx/decoration/Modern/shadow/shadow-small-br.png":[5,5,"png","qx","qx/decoration/Modern/shadow-small-tb-combined.png",0,-10],"qx/decoration/Modern/shadow/shadow-small-c.png":[40,136,"png","qx"],"qx/decoration/Modern/shadow/shadow-small-l.png":[5,136,"png","qx","qx/decoration/Modern/shadow-small-lr-combined.png",0,0],"qx/decoration/Modern/shadow/shadow-small-r.png":[5,136,"png","qx","qx/decoration/Modern/shadow-small-lr-combined.png",-5,0],"qx/decoration/Modern/shadow/shadow-small-t.png":[5,5,"png","qx","qx/decoration/Modern/shadow-small-tb-combined.png",0,-5],"qx/decoration/Modern/shadow/shadow-small-tl.png":[5,5,"png","qx","qx/decoration/Modern/shadow-small-tb-combined.png",0,0],"qx/decoration/Modern/shadow/shadow-small-tr.png":[5,5,"png","qx","qx/decoration/Modern/shadow-small-tb-combined.png",0,-25],"qx/decoration/Modern/shadow/shadow-t.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,-60],"qx/decoration/Modern/shadow/shadow-tl.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,-75],"qx/decoration/Modern/shadow/shadow-tr.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-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/header-cell.png":[40,18,"png","qx","qx/decoration/Modern/table-combined.png",-40,0],"qx/decoration/Modern/table/select-column-order.png":[10,9,"png","qx","qx/decoration/Modern/table-combined.png",-8,0],"qx/decoration/Modern/tabview-button-bottom-active-lr-combined.png":[10,14,"png","qx"],"qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png":[5,30,"png","qx"],"qx/decoration/Modern/tabview-button-bottom-inactive-b-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-button-bottom-inactive-lr-combined.png":[6,15,"png","qx"],"qx/decoration/Modern/tabview-button-bottom-inactive-t-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-button-left-active-lr-combined.png":[10,37,"png","qx"],"qx/decoration/Modern/tabview-button-left-active-tb-combined.png":[5,30,"png","qx"],"qx/decoration/Modern/tabview-button-left-inactive-b-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-button-left-inactive-lr-combined.png":[6,39,"png","qx"],"qx/decoration/Modern/tabview-button-left-inactive-t-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-button-right-active-lr-combined.png":[10,37,"png","qx"],"qx/decoration/Modern/tabview-button-right-active-tb-combined.png":[5,30,"png","qx"],"qx/decoration/Modern/tabview-button-right-inactive-b-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-button-right-inactive-lr-combined.png":[6,39,"png","qx"],"qx/decoration/Modern/tabview-button-right-inactive-t-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-button-top-active-lr-combined.png":[10,12,"png","qx"],"qx/decoration/Modern/tabview-button-top-active-tb-combined.png":[5,30,"png","qx"],"qx/decoration/Modern/tabview-button-top-inactive-b-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-button-top-inactive-lr-combined.png":[6,15,"png","qx"],"qx/decoration/Modern/tabview-button-top-inactive-t-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-pane-lr-combined.png":[60,2,"png","qx"],"qx/decoration/Modern/tabview-pane-tb-combined.png":[30,180,"png","qx"],"qx/decoration/Modern/tabview/tab-button-bottom-active-b.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png",0,-10],"qx/decoration/Modern/tabview/tab-button-bottom-active-bl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png",0,-15],"qx/decoration/Modern/tabview/tab-button-bottom-active-br.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png",0,-5],"qx/decoration/Modern/tabview/tab-button-bottom-active-c.png":[40,14,"png","qx"],"qx/decoration/Modern/tabview/tab-button-bottom-active-l.png":[5,14,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-bottom-active-r.png":[5,14,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-lr-combined.png",-5,0],"qx/decoration/Modern/tabview/tab-button-bottom-active-t.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png",0,-20],"qx/decoration/Modern/tabview/tab-button-bottom-active-tl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png",0,-25],"qx/decoration/Modern/tabview/tab-button-bottom-active-tr.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-b.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-b-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-bl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-b-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-br.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-b-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-c.png":[40,15,"png","qx"],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-l.png":[3,15,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-lr-combined.png",-3,0],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-r.png":[3,15,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-t.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-t-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-tl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-t-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-tr.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-t-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-left-active-b.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-left-active-tb-combined.png",0,-5],"qx/decoration/Modern/tabview/tab-button-left-active-bl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-left-active-tb-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-left-active-br.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-left-active-tb-combined.png",0,-25],"qx/decoration/Modern/tabview/tab-button-left-active-c.png":[40,37,"png","qx"],"qx/decoration/Modern/tabview/tab-button-left-active-l.png":[5,37,"png","qx","qx/decoration/Modern/tabview-button-left-active-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-left-active-r.png":[5,37,"png","qx","qx/decoration/Modern/tabview-button-left-active-lr-combined.png",-5,0],"qx/decoration/Modern/tabview/tab-button-left-active-t.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-left-active-tb-combined.png",0,-15],"qx/decoration/Modern/tabview/tab-button-left-active-tl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-left-active-tb-combined.png",0,-10],"qx/decoration/Modern/tabview/tab-button-left-active-tr.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-left-active-tb-combined.png",0,-20],"qx/decoration/Modern/tabview/tab-button-left-inactive-b.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-b-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-left-inactive-bl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-b-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-left-inactive-br.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-b-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-left-inactive-c.png":[40,39,"png","qx"],"qx/decoration/Modern/tabview/tab-button-left-inactive-l.png":[3,39,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-lr-combined.png",-3,0],"qx/decoration/Modern/tabview/tab-button-left-inactive-r.png":[3,39,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-left-inactive-t.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-t-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-left-inactive-tl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-t-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-left-inactive-tr.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-t-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-right-active-b.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-right-active-tb-combined.png",0,-25],"qx/decoration/Modern/tabview/tab-button-right-active-bl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-right-active-tb-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-right-active-br.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-right-active-tb-combined.png",0,-20],"qx/decoration/Modern/tabview/tab-button-right-active-c.png":[40,37,"png","qx"],"qx/decoration/Modern/tabview/tab-button-right-active-l.png":[5,37,"png","qx","qx/decoration/Modern/tabview-button-right-active-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-right-active-r.png":[5,37,"png","qx","qx/decoration/Modern/tabview-button-right-active-lr-combined.png",-5,0],"qx/decoration/Modern/tabview/tab-button-right-active-t.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-right-active-tb-combined.png",0,-5],"qx/decoration/Modern/tabview/tab-button-right-active-tl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-right-active-tb-combined.png",0,-15],"qx/decoration/Modern/tabview/tab-button-right-active-tr.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-right-active-tb-combined.png",0,-10],"qx/decoration/Modern/tabview/tab-button-right-inactive-b.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-b-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-right-inactive-bl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-b-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-right-inactive-br.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-b-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-right-inactive-c.png":[40,39,"png","qx"],"qx/decoration/Modern/tabview/tab-button-right-inactive-l.png":[3,39,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-right-inactive-r.png":[3,39,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-lr-combined.png",-3,0],"qx/decoration/Modern/tabview/tab-button-right-inactive-t.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-t-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-right-inactive-tl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-t-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-right-inactive-tr.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-t-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-top-active-b.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-top-active-tb-combined.png",0,-20],"qx/decoration/Modern/tabview/tab-button-top-active-bl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-top-active-tb-combined.png",0,-15],"qx/decoration/Modern/tabview/tab-button-top-active-br.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-top-active-tb-combined.png",0,-10],"qx/decoration/Modern/tabview/tab-button-top-active-c.png":[40,14,"png","qx"],"qx/decoration/Modern/tabview/tab-button-top-active-l.png":[5,12,"png","qx","qx/decoration/Modern/tabview-button-top-active-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-top-active-r.png":[5,12,"png","qx","qx/decoration/Modern/tabview-button-top-active-lr-combined.png",-5,0],"qx/decoration/Modern/tabview/tab-button-top-active-t.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-top-active-tb-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-top-active-tl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-top-active-tb-combined.png",0,-25],"qx/decoration/Modern/tabview/tab-button-top-active-tr.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-top-active-tb-combined.png",0,-5],"qx/decoration/Modern/tabview/tab-button-top-inactive-b.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-b-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-top-inactive-bl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-b-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-top-inactive-br.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-b-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-top-inactive-c.png":[40,15,"png","qx"],"qx/decoration/Modern/tabview/tab-button-top-inactive-l.png":[3,15,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-top-inactive-r.png":[3,15,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-lr-combined.png",-3,0],"qx/decoration/Modern/tabview/tab-button-top-inactive-t.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-t-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-top-inactive-tl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-t-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-top-inactive-tr.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-t-combined.png",0,-6],"qx/decoration/Modern/tabview/tabview-pane-b.png":[30,30,"png","qx","qx/decoration/Modern/tabview-pane-tb-combined.png",0,-60],"qx/decoration/Modern/tabview/tabview-pane-bl.png":[30,30,"png","qx","qx/decoration/Modern/tabview-pane-tb-combined.png",0,0],"qx/decoration/Modern/tabview/tabview-pane-br.png":[30,30,"png","qx","qx/decoration/Modern/tabview-pane-tb-combined.png",0,-120],"qx/decoration/Modern/tabview/tabview-pane-c.png":[40,120,"png","qx"],"qx/decoration/Modern/tabview/tabview-pane-l.png":[30,2,"png","qx","qx/decoration/Modern/tabview-pane-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tabview-pane-r.png":[30,2,"png","qx","qx/decoration/Modern/tabview-pane-lr-combined.png",-30,0],"qx/decoration/Modern/tabview/tabview-pane-t.png":[30,30,"png","qx","qx/decoration/Modern/tabview-pane-tb-combined.png",0,-150],"qx/decoration/Modern/tabview/tabview-pane-tl.png":[30,30,"png","qx","qx/decoration/Modern/tabview-pane-tb-combined.png",0,-30],"qx/decoration/Modern/tabview/tabview-pane-tr.png":[30,30,"png","qx","qx/decoration/Modern/tabview-pane-tb-combined.png",0,-90],"qx/decoration/Modern/tabview/tabview-pane.png":[185,250,"png","qx"],"qx/decoration/Modern/toolbar-combined.png":[80,130,"png","qx"],"qx/decoration/Modern/toolbar/toolbar-gradient-blue.png":[40,130,"png","qx","qx/decoration/Modern/toolbar-combined.png",-40,0],"qx/decoration/Modern/toolbar/toolbar-gradient.png":[40,130,"png","qx","qx/decoration/Modern/toolbar-combined.png",0,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/tooltip-error-lr-combined.png":[12,18,"png","qx"],"qx/decoration/Modern/tooltip-error-tb-combined.png":[6,36,"png","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-captionbar-lr-active-combined.png":[12,9,"png","qx"],"qx/decoration/Modern/window-captionbar-lr-inactive-combined.png":[12,9,"png","qx"],"qx/decoration/Modern/window-captionbar-tb-active-combined.png":[6,36,"png","qx"],"qx/decoration/Modern/window-captionbar-tb-inactive-combined.png":[6,36,"png","qx"],"qx/decoration/Modern/window-statusbar-lr-combined.png":[8,7,"png","qx"],"qx/decoration/Modern/window-statusbar-tb-combined.png":[4,24,"png","qx"],"qx/decoration/Modern/window/captionbar-active-b.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-active-combined.png",0,-18],"qx/decoration/Modern/window/captionbar-active-bl.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-active-combined.png",0,-24],"qx/decoration/Modern/window/captionbar-active-br.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-active-combined.png",0,-12],"qx/decoration/Modern/window/captionbar-active-c.png":[40,9,"png","qx"],"qx/decoration/Modern/window/captionbar-active-l.png":[6,9,"png","qx","qx/decoration/Modern/window-captionbar-lr-active-combined.png",-6,0],"qx/decoration/Modern/window/captionbar-active-r.png":[6,9,"png","qx","qx/decoration/Modern/window-captionbar-lr-active-combined.png",0,0],"qx/decoration/Modern/window/captionbar-active-t.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-active-combined.png",0,-6],"qx/decoration/Modern/window/captionbar-active-tl.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-active-combined.png",0,0],"qx/decoration/Modern/window/captionbar-active-tr.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-active-combined.png",0,-30],"qx/decoration/Modern/window/captionbar-inactive-b.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,-24],"qx/decoration/Modern/window/captionbar-inactive-bl.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,-6],"qx/decoration/Modern/window/captionbar-inactive-br.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,-30],"qx/decoration/Modern/window/captionbar-inactive-c.png":[40,9,"png","qx"],"qx/decoration/Modern/window/captionbar-inactive-l.png":[6,9,"png","qx","qx/decoration/Modern/window-captionbar-lr-inactive-combined.png",0,0],"qx/decoration/Modern/window/captionbar-inactive-r.png":[6,9,"png","qx","qx/decoration/Modern/window-captionbar-lr-inactive-combined.png",-6,0],"qx/decoration/Modern/window/captionbar-inactive-t.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,0],"qx/decoration/Modern/window/captionbar-inactive-tl.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,-12],"qx/decoration/Modern/window/captionbar-inactive-tr.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,-18],"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/decoration/Modern/window/statusbar-b.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,-16],"qx/decoration/Modern/window/statusbar-bl.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,-20],"qx/decoration/Modern/window/statusbar-br.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,-4],"qx/decoration/Modern/window/statusbar-c.png":[40,7,"png","qx"],"qx/decoration/Modern/window/statusbar-l.png":[4,7,"png","qx","qx/decoration/Modern/window-statusbar-lr-combined.png",-4,0],"qx/decoration/Modern/window/statusbar-r.png":[4,7,"png","qx","qx/decoration/Modern/window-statusbar-lr-combined.png",0,0],"qx/decoration/Modern/window/statusbar-t.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,0],"qx/decoration/Modern/window/statusbar-tl.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,-8],"qx/decoration/Modern/window/statusbar-tr.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,-12],"qx/icon/Oxygen/16/actions/dialog-cancel.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/dialog-ok.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/view-refresh.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/window-close.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/apps/office-calendar.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/mimetypes/text-plain.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/places/folder-open.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/places/folder.png":[16,16,"png","qx"],"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"]}};
(function(){var SSSS_0="toString",SSSS_1=".",SSSS_2="default",SSSS_3="Object",SSSS_4='"',SSSS_5="Array",SSSS_6="()",SSSS_7="String",SSSS_8="Function",SSSS_9=".prototype",SSSS_10="function",SSSS_11="Boolean",SSSS_12="Error",SSSS_13="RegExp",SSSS_14="warn",SSSS_15="hasOwnProperty",SSSS_16="string",SSSS_17="toLocaleString",SSSS_18='\", "',SSSS_19="info",SSSS_20="BROKEN_IE",SSSS_21="isPrototypeOf",SSSS_22="Date",SSSS_23="",SSSS_24="qx.Bootstrap",SSSS_25="]",SSSS_26="Class",SSSS_27="error",SSSS_28="[Class ",SSSS_29="valueOf",SSSS_30="Number",SSSS_31="count",SSSS_32="debug",SSSS_33="ES5";if(!window.qx){window.qx={};}qx.Bootstrap={genericToString:function(){return SSSS_28+this.classname+SSSS_25;},createNamespace:function(name,object){var splits=name.split(SSSS_1);var parent=window;var part=splits[0];for(var i=0,len=splits.length-1;i<len;i++,part=splits[i]){if(!parent[part]){parent=parent[part]={};}else{parent=parent[part];}}parent[part]=object;return part;},setDisplayName:function(fcn,classname,name){fcn.displayName=classname+SSSS_1+name+SSSS_6;},setDisplayNames:function(functionMap,classname){for(var name in functionMap){var value=functionMap[name];if(value instanceof Function){value.displayName=classname+SSSS_1+name+SSSS_6;}}},define:function(name,config){if(!config){var config={statics:{}};}var clazz;var proto=null;qx.Bootstrap.setDisplayNames(config.statics,name);if(config.members){qx.Bootstrap.setDisplayNames(config.members,name+SSSS_9);clazz=config.construct||new Function;var statics=config.statics;for(var key in statics){clazz[key]=statics[key];}proto=clazz.prototype;var members=config.members;for(var key in members){proto[key]=members[key];}}else{clazz=config.statics||{};}var basename=this.createNamespace(name,clazz);clazz.name=clazz.classname=name;clazz.basename=basename;clazz.$$type=SSSS_26;if(!clazz.hasOwnProperty(SSSS_0)){clazz.toString=this.genericToString;}if(config.defer){config.defer(clazz,proto);}qx.Bootstrap.$$registry[name]=config.statics;return clazz;}};qx.Bootstrap.define(SSSS_24,{statics:{LOADSTART:qx.$$start||new Date(),createNamespace:qx.Bootstrap.createNamespace,define:qx.Bootstrap.define,setDisplayName:qx.Bootstrap.setDisplayName,setDisplayNames:qx.Bootstrap.setDisplayNames,genericToString:qx.Bootstrap.genericToString,getByName:function(name){return qx.Bootstrap.$$registry[name];},$$registry:{},objectGetLength:({"count":function(map){return map.__count__;},"default":function(map){var length=0;for(var key in map){length++;}return length;}})[(({}).__count__==0)?SSSS_31:SSSS_2],objectMergeWith:function(target,source,overwrite){if(overwrite===undefined){overwrite=true;}for(var key in source){if(overwrite||target[key]===undefined){target[key]=source[key];}}return target;},__a:[SSSS_21,SSSS_15,SSSS_17,SSSS_0,SSSS_29],getKeys:({"ES5":Object.keys,"BROKEN_IE":function(map){var arr=[];for(var key in map){arr.push(key);}var shadowedKeys=qx.Bootstrap.__a;var hasOwnProperty=Object.prototype.hasOwnProperty;for(var i=0,a=shadowedKeys,l=a.length;i<l;i++){if(hasOwnProperty.call(map,a[i])){arr.push(a[i]);}}return arr;},"default":function(map){var arr=[];for(var key in map){arr.push(key);}return arr;}})[typeof (Object.keys)==SSSS_10?SSSS_33:(function(){for(var key in {toString:1}){return key;}})()!==SSSS_0?SSSS_20:SSSS_2],getKeysAsString:function(map){var keys=qx.Bootstrap.getKeys(map);if(keys.length==0){return SSSS_23;}return SSSS_4+keys.join(SSSS_18)+SSSS_4;},__b:{"[object String]":SSSS_7,"[object Array]":SSSS_5,"[object Object]":SSSS_3,"[object RegExp]":SSSS_13,"[object Number]":SSSS_30,"[object Boolean]":SSSS_11,"[object Date]":SSSS_22,"[object Function]":SSSS_8,"[object Error]":SSSS_12},firstUp:function(str){return str.charAt(0).toUpperCase()+str.substr(1);},firstLow:function(str){return str.charAt(0).toLowerCase()+str.substr(1);},getClass:function(value){var classString=Object.prototype.toString.call(value);return (qx.Bootstrap.__b[classString]||classString.slice(8,-1));},isString:function(value){return (value!==null&&(typeof value===SSSS_16||qx.Bootstrap.getClass(value)==SSSS_7||value instanceof String||(!!value&&!!value.$$isString)));},isArray:function(value){return (value!==null&&(value instanceof Array||(value&&qx.data&&qx.data.IListData&&qx.Bootstrap.hasInterface(value.constructor,qx.data.IListData))||qx.Bootstrap.getClass(value)==SSSS_5||(!!value&&!!value.$$isArray)));},isObject:function(value){return (value!==undefined&&value!==null&&qx.Bootstrap.getClass(value)==SSSS_3);},isFunction:function(value){return qx.Bootstrap.getClass(value)==SSSS_8;},classIsDefined:function(name){return qx.Bootstrap.getByName(name)!==undefined;},getPropertyDefinition:function(clazz,name){while(clazz){if(clazz.$$properties&&clazz.$$properties[name]){return clazz.$$properties[name];}clazz=clazz.superclass;}return null;},hasProperty:function(clazz,name){return !!qx.Bootstrap.getPropertyDefinition(clazz,name);},getEventType:function(clazz,name){var clazz=clazz.constructor;while(clazz.superclass){if(clazz.$$events&&clazz.$$events[name]!==undefined){return clazz.$$events[name];}clazz=clazz.superclass;}return null;},supportsEvent:function(clazz,name){return !!qx.Bootstrap.getEventType(clazz,name);},getByInterface:function(clazz,iface){var list,i,l;while(clazz){if(clazz.$$implements){list=clazz.$$flatImplements;for(i=0,l=list.length;i<l;i++){if(list[i]===iface){return clazz;}}}clazz=clazz.superclass;}return null;},hasInterface:function(clazz,iface){return !!qx.Bootstrap.getByInterface(clazz,iface);},getMixins:function(clazz){var list=[];while(clazz){if(clazz.$$includes){list.push.apply(list,clazz.$$flatIncludes);}clazz=clazz.superclass;}return list;},$$logs:[],debug:function(object,message){qx.Bootstrap.$$logs.push([SSSS_32,arguments]);},info:function(object,message){qx.Bootstrap.$$logs.push([SSSS_19,arguments]);},warn:function(object,message){qx.Bootstrap.$$logs.push([SSSS_14,arguments]);},error:function(object,message){qx.Bootstrap.$$logs.push([SSSS_27,arguments]);},trace:function(object){}}});})();(function(){var SSSS_0="qx.allowUrlSettings",SSSS_1="&",SSSS_2="qx.core.Setting",SSSS_3="qx.allowUrlVariants",SSSS_4="qx.propertyDebugLevel",SSSS_5="qxsetting",SSSS_6=":",SSSS_7=".";qx.Bootstrap.define(SSSS_2,{statics:{__c:{},define:function(key,defaultValue){if(defaultValue===undefined){throw new Error('Default value of setting "'+key+'" must be defined!');}if(!this.__c[key]){this.__c[key]={};}else if(this.__c[key].defaultValue!==undefined){throw new Error('Setting "'+key+'" is already defined!');}this.__c[key].defaultValue=defaultValue;},get:function(key){var cache=this.__c[key];if(cache===undefined){throw new Error('Setting "'+key+'" is not defined.');}if(cache.value!==undefined){return cache.value;}return cache.defaultValue;},set:function(key,value){if((key.split(SSSS_7)).length<2){throw new Error('Malformed settings key "'+key+'". Must be following the schema "namespace.key".');}if(!this.__c[key]){this.__c[key]={};}this.__c[key].value=value;},__d:function(){if(window.qxsettings){for(var key in window.qxsettings){this.set(key,window.qxsettings[key]);}window.qxsettings=undefined;try{delete window.qxsettings;}catch(ex){}this.__e();}},__e:function(){if(this.get(SSSS_0)!=true){return;}var urlSettings=document.location.search.slice(1).split(SSSS_1);for(var i=0;i<urlSettings.length;i++){var setting=urlSettings[i].split(SSSS_6);if(setting.length!=3||setting[0]!=SSSS_5){continue;}this.set(setting[1],decodeURIComponent(setting[2]));}}},defer:function(statics){statics.define(SSSS_0,false);statics.define(SSSS_3,false);statics.define(SSSS_4,0);statics.__d();}});})();(function(){var SSSS_0="gecko",SSSS_1="1.9.0.0",SSSS_2=".",SSSS_3="[object Opera]",SSSS_4="function",SSSS_5="[^\\.0-9]",SSSS_6="525.26",SSSS_7="",SSSS_8="mshtml",SSSS_9="AppleWebKit/",SSSS_10="unknown",SSSS_11="9.6.0",SSSS_12="4.0",SSSS_13="Gecko",SSSS_14="opera",SSSS_15="webkit",SSSS_16="0.0.0",SSSS_17="8.0",SSSS_18="qx.bom.client.Engine";qx.Bootstrap.define(SSSS_18,{statics:{NAME:"",FULLVERSION:"0.0.0",VERSION:0.0,OPERA:false,WEBKIT:false,GECKO:false,MSHTML:false,UNKNOWN_ENGINE:false,UNKNOWN_VERSION:false,DOCUMENT_MODE:null,__f:function(){var engine=SSSS_10;var version=SSSS_16;var agent=window.navigator.userAgent;var unknownEngine=false;var unknownVersion=false;if(window.opera&&Object.prototype.toString.call(window.opera)==SSSS_3){engine=SSSS_14;this.OPERA=true;if(/Opera[\s\/]([0-9]+)\.([0-9])([0-9]*)/.test(agent)){version=RegExp.$1+SSSS_2+RegExp.$2;if(RegExp.$3!=SSSS_7){version+=SSSS_2+RegExp.$3;}}else{unknownVersion=true;version=SSSS_11;}}else if(window.navigator.userAgent.indexOf(SSSS_9)!=-1){engine=SSSS_15;this.WEBKIT=true;if(/AppleWebKit\/([^ ]+)/.test(agent)){version=RegExp.$1;var invalidCharacter=RegExp(SSSS_5).exec(version);if(invalidCharacter){version=version.slice(0,invalidCharacter.index);}}else{unknownVersion=true;version=SSSS_6;}}else if(window.controllers&&window.navigator.product===SSSS_13){engine=SSSS_0;this.GECKO=true;if(/rv\:([^\);]+)(\)|;)/.test(agent)){version=RegExp.$1;}else{unknownVersion=true;version=SSSS_1;}}else if(window.navigator.cpuClass&&/MSIE\s+([^\);]+)(\)|;)/.test(agent)){engine=SSSS_8;version=RegExp.$1;if(document.documentMode){this.DOCUMENT_MODE=document.documentMode;}if(version<8&&/Trident\/([^\);]+)(\)|;)/.test(agent)){if(RegExp.$1===SSSS_12){version=SSSS_17;}}this.MSHTML=true;}else{var failFunction=window.qxFail;if(failFunction&&typeof failFunction===SSSS_4){var engine=failFunction();if(engine.NAME&&engine.FULLVERSION){engine=engine.NAME;this[engine.toUpperCase()]=true;version=engine.FULLVERSION;}}else{unknownEngine=true;unknownVersion=true;version=SSSS_1;engine=SSSS_0;this.GECKO=true;window.alert("Unsupported client: "+agent+"! Assumed gecko version 1.9.0.0 (Firefox 3.0).");}}this.UNKNOWN_ENGINE=unknownEngine;this.UNKNOWN_VERSION=unknownVersion;this.NAME=engine;this.FULLVERSION=version;this.VERSION=parseFloat(version);}},defer:function(statics){statics.__f();}});})();(function(){var SSSS_0="on",SSSS_1="qx.debug",SSSS_2="off",SSSS_3="|",SSSS_4="default",SSSS_5="object",SSSS_6="&",SSSS_7="qx.aspects",SSSS_8="$",SSSS_9="qx.allowUrlVariants",SSSS_10="qx.client",SSSS_11="qx.dynlocale",SSSS_12="webkit",SSSS_13="qxvariant",SSSS_14="opera",SSSS_15=":",SSSS_16=".",SSSS_17="qx.core.Variant",SSSS_18="mshtml",SSSS_19="gecko";qx.Bootstrap.define(SSSS_17,{statics:{__g:{},__h:{},compilerIsSet:function(){return true;},define:function(key,allowedValues,defaultValue){if(qx.core.Variant.compilerIsSet(SSSS_1,SSSS_0)){if(!this.__k(allowedValues)){throw new Error('Allowed values of variant "'+key+'" must be defined!');}if(defaultValue===undefined){throw new Error('Default value of variant "'+key+'" must be defined!');}}if(!this.__g[key]){this.__g[key]={};}else if(qx.core.Variant.compilerIsSet(SSSS_1,SSSS_0)){if(this.__g[key].defaultValue!==undefined){throw new Error('Variant "'+key+'" is already defined!');}}this.__g[key].allowedValues=allowedValues;this.__g[key].defaultValue=defaultValue;},get:function(key){var data=this.__g[key];if(qx.core.Variant.compilerIsSet(SSSS_1,SSSS_0)){if(data===undefined){throw new Error('Variant "'+key+'" is not defined.');}}if(data.value!==undefined){return data.value;}return data.defaultValue;},__i:function(){if(window.qxvariants){for(var key in qxvariants){if(qx.core.Variant.compilerIsSet(SSSS_1,SSSS_0)){if((key.split(SSSS_16)).length<2){throw new Error('Malformed settings key "'+key+'". Must be following the schema "namespace.key".');}}if(!this.__g[key]){this.__g[key]={};}this.__g[key].value=qxvariants[key];}window.qxvariants=undefined;try{delete window.qxvariants;}catch(ex){}this.__j(this.__g);}},__j:function(){if(qx.core.Setting.get(SSSS_9)!=true){return;}var urlVariants=document.location.search.slice(1).split(SSSS_6);for(var i=0;i<urlVariants.length;i++){var variant=urlVariants[i].split(SSSS_15);if(variant.length!=3||variant[0]!=SSSS_13){continue;}var key=variant[1];if(!this.__g[key]){this.__g[key]={};}this.__g[key].value=decodeURIComponent(variant[2]);}},select:function(key,variantFunctionMap){if(qx.core.Variant.compilerIsSet(SSSS_1,SSSS_0)){if(!this.__l(this.__g[key])){throw new Error("Variant \""+key+"\" is not defined");}if(!this.__l(variantFunctionMap)){throw new Error("the second parameter must be a map!");}}for(var variant in variantFunctionMap){if(this.isSet(key,variant)){return variantFunctionMap[variant];}}if(variantFunctionMap[SSSS_4]!==undefined){return variantFunctionMap[SSSS_4];}if(qx.core.Variant.compilerIsSet(SSSS_1,SSSS_0)){throw new Error('No match for variant "'+key+'" in variants ['+qx.Bootstrap.getKeysAsString(variantFunctionMap)+'] found, and no default ("default") given');}},isSet:function(key,variants){var access=key+SSSS_8+variants;if(this.__h[access]!==undefined){return this.__h[access];}var retval=false;if(variants.indexOf(SSSS_3)<0){retval=this.get(key)===variants;}else{var keyParts=variants.split(SSSS_3);for(var i=0,l=keyParts.length;i<l;i++){if(this.get(key)===keyParts[i]){retval=true;break;}}}this.__h[access]=retval;return retval;},__k:function(v){return typeof v===SSSS_5&&v!==null&&v instanceof Array;},__l:function(v){return typeof v===SSSS_5&&v!==null&&!(v instanceof Array);},__m:function(arr,obj){for(var i=0,l=arr.length;i<l;i++){if(arr[i]==obj){return true;}}return false;}},defer:function(statics){statics.define(SSSS_10,[SSSS_19,SSSS_18,SSSS_14,SSSS_12],qx.bom.client.Engine.NAME);statics.define(SSSS_1,[SSSS_0,SSSS_2],SSSS_0);statics.define(SSSS_7,[SSSS_0,SSSS_2],SSSS_2);statics.define(SSSS_11,[SSSS_0,SSSS_2],SSSS_0);statics.__i();}});})();(function(){var SSSS_0="qx.debug",SSSS_1="object",SSSS_2="Interface",SSSS_3="on",SSSS_4="string",SSSS_5="function",SSSS_6="Boolean",SSSS_7="qx.Interface",SSSS_8="events",SSSS_9="toggle",SSSS_10="properties",SSSS_11="]",SSSS_12="members",SSSS_13="number",SSSS_14="boolean",SSSS_15="is",SSSS_16="[Interface ",SSSS_17="statics";qx.Bootstrap.define(SSSS_7,{statics:{define:function(name,config){if(config){if(config.extend&&!(config.extend instanceof Array)){config.extend=[config.extend];}if(qx.core.Variant.isSet(SSSS_0,SSSS_3)){this.__t(name,config);}var iface=config.statics?config.statics:{};if(config.extend){iface.$$extends=config.extend;}if(config.properties){iface.$$properties=config.properties;}if(config.members){iface.$$members=config.members;}if(config.events){iface.$$events=config.events;}}else{var iface={};}iface.$$type=SSSS_2;iface.name=name;iface.toString=this.genericToString;iface.basename=qx.Bootstrap.createNamespace(name,iface);qx.Interface.$$registry[name]=iface;return iface;},getByName:function(name){return this.$$registry[name];},isDefined:function(name){return this.getByName(name)!==undefined;},getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry);},flatten:function(ifaces){if(!ifaces){return [];}var list=ifaces.concat();for(var i=0,l=ifaces.length;i<l;i++){if(ifaces[i].$$extends){list.push.apply(list,this.flatten(ifaces[i].$$extends));}}return list;},__n:function(object,clazz,iface,wrap){var members=iface.$$members;if(members){for(var key in members){if(qx.Bootstrap.isFunction(members[key])){var isPropertyMethod=this.__o(clazz,key);var hasMemberFunction=isPropertyMethod||qx.Bootstrap.isFunction(object[key]);if(!hasMemberFunction){throw new Error('Implementation of method "'+key+'" is missing in class "'+clazz.classname+'" required by interface "'+iface.name+'"');}var shouldWrapFunction=wrap===true&&!isPropertyMethod&&!qx.Bootstrap.hasInterface(clazz,iface);if(shouldWrapFunction){object[key]=this.__r(iface,object[key],key,members[key]);}}else{if(typeof object[key]===undefined){if(typeof object[key]!==SSSS_5){throw new Error('Implementation of member "'+key+'" is missing in class "'+clazz.classname+'" required by interface "'+iface.name+'"');}}}}}},__o:function(clazz,methodName){var match=methodName.match(/^(is|toggle|get|set|reset)(.*)$/);if(!match){return false;}var propertyName=qx.Bootstrap.firstLow(match[2]);var isPropertyMethod=qx.Bootstrap.getPropertyDefinition(clazz,propertyName);if(!isPropertyMethod){return false;}var isBoolean=match[0]==SSSS_15||match[0]==SSSS_9;if(isBoolean){return qx.Bootstrap.getPropertyDefinition(clazz,propertyName).check==SSSS_6;}return true;},__p:function(clazz,iface){if(iface.$$properties){for(var key in iface.$$properties){if(!qx.Bootstrap.getPropertyDefinition(clazz,key)){throw new Error('The property "'+key+'" is not supported by Class "'+clazz.classname+'"!');}}}},__q:function(clazz,iface){if(iface.$$events){for(var key in iface.$$events){if(!qx.Bootstrap.supportsEvent(clazz,key)){throw new Error('The event "'+key+'" is not supported by Class "'+clazz.classname+'"!');}}}},assertObject:function(object,iface){var clazz=object.constructor;this.__n(object,clazz,iface,false);this.__p(clazz,iface);this.__q(clazz,iface);var extend=iface.$$extends;if(extend){for(var i=0,l=extend.length;i<l;i++){this.assertObject(object,extend[i]);}}},assert:function(clazz,iface,wrap){this.__n(clazz.prototype,clazz,iface,wrap);this.__p(clazz,iface);this.__q(clazz,iface);var extend=iface.$$extends;if(extend){for(var i=0,l=extend.length;i<l;i++){this.assert(clazz,extend[i],wrap);}}},genericToString:function(){return SSSS_16+this.name+SSSS_11;},$$registry:{},__r:qx.core.Variant.select(SSSS_0,{"on":function(iface,origFunction,functionName,preCondition){function wrappedFunction(){preCondition.apply(this,arguments);return origFunction.apply(this,arguments);}origFunction.wrapper=wrappedFunction;return wrappedFunction;},"default":function(){}}),__s:qx.core.Variant.select(SSSS_0,{"on":{"extend":SSSS_1,"statics":SSSS_1,"members":SSSS_1,"properties":SSSS_1,"events":SSSS_1},"default":null}),__t:qx.core.Variant.select(SSSS_0,{"on":function(name,config){if(qx.core.Variant.isSet(SSSS_0,SSSS_3)){var allowed=this.__s;for(var key in config){if(allowed[key]===undefined){throw new Error('The configuration key "'+key+'" in class "'+name+'" is not allowed!');}if(config[key]==null){throw new Error("Invalid key '"+key+"' in interface '"+name+"'! The value is undefined/null!");}if(allowed[key]!==null&&typeof config[key]!==allowed[key]){throw new Error('Invalid type of key "'+key+'" in interface "'+name+'"! The type of the key must be "'+allowed[key]+'"!');}}var maps=[SSSS_17,SSSS_12,SSSS_10,SSSS_8];for(var i=0,l=maps.length;i<l;i++){var key=maps[i];if(config[key]!==undefined&&(config[key] instanceof Array||config[key] instanceof RegExp||config[key] instanceof Date||config[key].classname!==undefined)){throw new Error('Invalid key "'+key+'" in interface "'+name+'"! The value needs to be a map!');}}if(config.extend){for(var i=0,a=config.extend,l=a.length;i<l;i++){if(a[i]==null){throw new Error("Extends of interfaces must be interfaces. The extend number '"+i+1+"' in interface '"+name+"' is undefined/null!");}if(a[i].$$type!==SSSS_2){throw new Error("Extends of interfaces must be interfaces. The extend number '"+i+1+"' in interface '"+name+"' is not an interface!");}}}if(config.statics){for(var key in config.statics){if(key.toUpperCase()!==key){throw new Error('Invalid key "'+key+'" in interface "'+name+'"! Static constants must be all uppercase.');}switch(typeof config.statics[key]){case SSSS_14:case SSSS_4:case SSSS_13:break;default:throw new Error('Invalid key "'+key+'" in interface "'+name+'"! Static constants must be all of a primitive type.');}}}}},"default":function(){}})}});})();(function(){var SSSS_0="object",SSSS_1="qx.debug",SSSS_2="function",SSSS_3="Mixin",SSSS_4="qx.Mixin",SSSS_5=".prototype",SSSS_6="constructor",SSSS_7="[Mixin ",SSSS_8="]",SSSS_9="members",SSSS_10="destruct",SSSS_11="events",SSSS_12="on",SSSS_13="properties",SSSS_14="statics";qx.Bootstrap.define(SSSS_4,{statics:{define:function(name,config){if(config){if(config.include&&!(config.include instanceof Array)){config.include=[config.include];}if(qx.core.Variant.isSet(SSSS_1,SSSS_12)){this.__v(name,config);}var mixin=config.statics?config.statics:{};qx.Bootstrap.setDisplayNames(mixin,name);for(var key in mixin){if(mixin[key] instanceof Function){mixin[key].$$mixin=mixin;}}if(config.construct){mixin.$$constructor=config.construct;qx.Bootstrap.setDisplayName(config.construct,name,SSSS_6);}if(config.include){mixin.$$includes=config.include;}if(config.properties){mixin.$$properties=config.properties;}if(config.members){mixin.$$members=config.members;qx.Bootstrap.setDisplayNames(config.members,name+SSSS_5);}for(var key in mixin.$$members){if(mixin.$$members[key] instanceof Function){mixin.$$members[key].$$mixin=mixin;}}if(config.events){mixin.$$events=config.events;}if(config.destruct){mixin.$$destructor=config.destruct;qx.Bootstrap.setDisplayName(config.destruct,name,SSSS_10);}}else{var mixin={};}mixin.$$type=SSSS_3;mixin.name=name;mixin.toString=this.genericToString;mixin.basename=qx.Bootstrap.createNamespace(name,mixin);this.$$registry[name]=mixin;return mixin;},checkCompatibility:function(mixins){var list=this.flatten(mixins);var len=list.length;if(len<2){return true;}var properties={};var members={};var events={};var mixin;for(var i=0;i<len;i++){mixin=list[i];for(var key in mixin.events){if(events[key]){throw new Error('Conflict between mixin "'+mixin.name+'" and "'+events[key]+'" in member "'+key+'"!');}events[key]=mixin.name;}for(var key in mixin.properties){if(properties[key]){throw new Error('Conflict between mixin "'+mixin.name+'" and "'+properties[key]+'" in property "'+key+'"!');}properties[key]=mixin.name;}for(var key in mixin.members){if(members[key]){throw new Error('Conflict between mixin "'+mixin.name+'" and "'+members[key]+'" in member "'+key+'"!');}members[key]=mixin.name;}}return true;},isCompatible:function(mixin,clazz){var list=qx.Bootstrap.getMixins(clazz);list.push(mixin);return qx.Mixin.checkCompatibility(list);},getByName:function(name){return this.$$registry[name];},isDefined:function(name){return this.getByName(name)!==undefined;},getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry);},flatten:function(mixins){if(!mixins){return [];}var list=mixins.concat();for(var i=0,l=mixins.length;i<l;i++){if(mixins[i].$$includes){list.push.apply(list,this.flatten(mixins[i].$$includes));}}return list;},genericToString:function(){return SSSS_7+this.name+SSSS_8;},$$registry:{},__u:qx.core.Variant.select(SSSS_1,{"on":{"include":SSSS_0,"statics":SSSS_0,"members":SSSS_0,"properties":SSSS_0,"events":SSSS_0,"destruct":SSSS_2,"construct":SSSS_2},"default":null}),__v:qx.core.Variant.select(SSSS_1,{"on":function(name,config){var allowed=this.__u;for(var key in config){if(!allowed[key]){throw new Error('The configuration key "'+key+'" in mixin "'+name+'" is not allowed!');}if(config[key]==null){throw new Error('Invalid key "'+key+'" in mixin "'+name+'"! The value is undefined/null!');}if(allowed[key]!==null&&typeof config[key]!==allowed[key]){throw new Error('Invalid type of key "'+key+'" in mixin "'+name+'"! The type of the key must be "'+allowed[key]+'"!');}}var maps=[SSSS_14,SSSS_9,SSSS_13,SSSS_11];for(var i=0,l=maps.length;i<l;i++){var key=maps[i];if(config[key]!==undefined&&(config[key] instanceof Array||config[key] instanceof RegExp||config[key] instanceof Date||config[key].classname!==undefined)){throw new Error('Invalid key "'+key+'" in mixin "'+name+'"! The value needs to be a map!');}}if(config.include){for(var i=0,a=config.include,l=a.length;i<l;i++){if(a[i]==null){throw new Error("Includes of mixins must be mixins. The include number '"+(i+1)+"' in mixin '"+name+"'is undefined/null!");}if(a[i].$$type!==SSSS_3){throw new Error("Includes of mixins must be mixins. The include number '"+(i+1)+"' in mixin '"+name+"'is not a mixin!");}}this.checkCompatibility(config.include);}},"default":function(){}})}});})();(function(){var SSSS_0=';',SSSS_1="string",SSSS_2="qx.debug",SSSS_3='return this.',SSSS_4="boolean",SSSS_5="on",SSSS_6='!==undefined)',SSSS_7="set",SSSS_8="",SSSS_9="this.",SSSS_10="setThemed",SSSS_11="qx.propertyDebugLevel",SSSS_12='else if(this.',SSSS_13="resetThemed",SSSS_14="reset",SSSS_15="setRuntime",SSSS_16="init",SSSS_17="resetRuntime",SSSS_18="(a[",SSSS_19="return this.",SSSS_20="();",SSSS_21="get",SSSS_22="refresh",SSSS_23='else ',SSSS_24='if(this.',SSSS_25=' of an instance of ',SSSS_26=' is not (yet) ready!");',SSSS_27="]);",SSSS_28='if(init==qx.core.Property.$$inherit)throw new Error("Inheritable property ',SSSS_29="$$init_",SSSS_30='qx.lang.Type.isString(value) && qx.util.ColorUtil.isValidPropertyValue(value)',SSSS_31='value !== null && qx.theme.manager.Font.getInstance().isDynamic(value)',SSSS_32=" of class ",SSSS_33="$$theme_",SSSS_34='qx.core.Assert.assertInstance(value, Date, msg) || true',SSSS_35='value !== null && value.nodeType !== undefined',SSSS_36="is",SSSS_37="': ",SSSS_38='var inherit=prop.$$inherit;',SSSS_39='value !== null && value.nodeType === 9 && value.documentElement',SSSS_40="shorthand",SSSS_41='return init;',SSSS_42='value !== null && value.$$type === "Mixin"',SSSS_43='qx.core.Assert.assertMap(value, msg) || true',SSSS_44="Boolean",SSSS_45='return value;',SSSS_46='qx.core.Assert.assertNumber(value, msg) || true',SSSS_47='qx.core.Assert.assertPositiveInteger(value, msg) || true',SSSS_48="Error in property ",SSSS_49='if(init==qx.core.Property.$$inherit)init=null;',SSSS_50="$$inherit_",SSSS_51="()",SSSS_52='qx.core.Assert.assertInteger(value, msg) || true',SSSS_53='value !== null && value.$$type === "Interface"',SSSS_54="var a=arguments[0] instanceof Array?arguments[0]:arguments;",SSSS_55='value !== null && value.$$type === "Theme"',SSSS_56='qx.core.Assert.assertInstance(value, RegExp, msg) || true',SSSS_57='value !== null && value.type !== undefined',SSSS_58='value !== null && value.document',SSSS_59='throw new Error("Property ',SSSS_60=" in method ",SSSS_61='qx.core.Assert.assertInstance(value, Error, msg) || true',SSSS_62="())",SSSS_63='return null;',SSSS_64="(!this.",SSSS_65='qx.core.Assert.assertBoolean(value, msg) || true',SSSS_66="toggle",SSSS_67='var init=this.',SSSS_68=" with incoming value '",SSSS_69='qx.core.Assert.assertObject(value, msg) || true',SSSS_70='value !== null && value.nodeType === 1 && value.attributes',SSSS_71="$$runtime_",SSSS_72="$$useinit_",SSSS_73='qx.core.Assert.assertString(value, msg) || true',SSSS_74="inherit",SSSS_75="$$user_",SSSS_76='value !== null && value.$$type === "Class"',SSSS_77='qx.core.Assert.assertFunction(value, msg) || true',SSSS_78='value !== null && qx.theme.manager.Decoration.getInstance().isValidPropertyValue(value)',SSSS_79='qx.core.Assert.assertArray(value, msg) || true',SSSS_80="a=qx.lang.Array.fromShortHand(qx.lang.Array.fromArguments(a));",SSSS_81='qx.core.Assert.assertPositiveNumber(value, msg) || true',SSSS_82="object",SSSS_83="qx.core.Property";qx.Bootstrap.define(SSSS_83,{statics:{__w:{"Boolean":SSSS_65,"String":SSSS_73,"Number":SSSS_46,"Integer":SSSS_52,"PositiveNumber":SSSS_81,"PositiveInteger":SSSS_47,"Error":SSSS_61,"RegExp":SSSS_56,"Object":SSSS_69,"Array":SSSS_79,"Map":SSSS_43,"Function":SSSS_77,"Date":SSSS_34,"Node":SSSS_35,"Element":SSSS_70,"Document":SSSS_39,"Window":SSSS_58,"Event":SSSS_57,"Class":SSSS_76,"Mixin":SSSS_42,"Interface":SSSS_53,"Theme":SSSS_55,"Color":SSSS_30,"Decorator":SSSS_78,"Font":SSSS_31},__x:{"Node":true,"Element":true,"Document":true,"Window":true,"Event":true},$$inherit:SSSS_74,$$store:{runtime:{},user:{},theme:{},inherit:{},init:{},useinit:{}},$$method:{get:{},set:{},reset:{},init:{},refresh:{},setRuntime:{},resetRuntime:{},setThemed:{},resetThemed:{}},$$allowedKeys:{name:SSSS_1,dispose:SSSS_4,inheritable:SSSS_4,nullable:SSSS_4,themeable:SSSS_4,refine:SSSS_4,init:null,apply:SSSS_1,event:SSSS_1,check:null,transform:SSSS_1,deferredInit:SSSS_4,validate:null},$$allowedGroupKeys:{name:SSSS_1,group:SSSS_82,mode:SSSS_1,themeable:SSSS_4},$$inheritable:{},refresh:function(widget){var parent=widget.getLayoutParent();if(parent){var clazz=widget.constructor;var inherit=this.$$store.inherit;var init=this.$$store.init;var refresh=this.$$method.refresh;var properties;var value;if(qx.core.Variant.isSet(SSSS_2,SSSS_5)){if(qx.core.Setting.get(SSSS_11)>1){widget.debug("Update property inheritance");}}while(clazz){properties=clazz.$$properties;if(properties){for(var name in this.$$inheritable){if(properties[name]&&widget[refresh[name]]){value=parent[inherit[name]];if(value===undefined){value=parent[init[name]];}if(qx.core.Variant.isSet(SSSS_2,SSSS_5)){if(qx.core.Setting.get(SSSS_11)>2){widget.debug("Updating property: "+name+" to '"+value+"'");}}widget[refresh[name]](value);}}}clazz=clazz.superclass;}}},attach:function(clazz){var properties=clazz.$$properties;if(properties){for(var name in properties){this.attachMethods(clazz,name,properties[name]);}}clazz.$$propertiesAttached=true;},attachMethods:function(clazz,name,config){config.group?this.__y(clazz,config,name):this.__z(clazz,config,name);},__y:function(clazz,config,name){var upname=qx.Bootstrap.firstUp(name);var members=clazz.prototype;var themeable=config.themeable===true;if(qx.core.Variant.isSet(SSSS_2,SSSS_5)){if(qx.core.Setting.get(SSSS_11)>1){qx.Bootstrap.debug("Generating property group: "+name);}}var setter=[];var resetter=[];if(themeable){var styler=[];var unstyler=[];}var argHandler=SSSS_54;setter.push(argHandler);if(themeable){styler.push(argHandler);}if(config.mode==SSSS_40){var shorthand=SSSS_80;setter.push(shorthand);if(themeable){styler.push(shorthand);}}for(var i=0,a=config.group,l=a.length;i<l;i++){if(qx.core.Variant.isSet(SSSS_2,SSSS_5)){if(!this.$$method.set[a[i]]||!this.$$method.reset[a[i]]){throw new Error("Cannot create property group '"+name+"' including non-existing property '"+a[i]+"'!");}}setter.push(SSSS_9,this.$$method.set[a[i]],SSSS_18,i,SSSS_27);resetter.push(SSSS_9,this.$$method.reset[a[i]],SSSS_20);if(themeable){if(qx.core.Variant.isSet(SSSS_2,SSSS_5)){if(!this.$$method.setThemed[a[i]]){throw new Error("Cannot add the non themable property '"+a[i]+"' to the themable property group '"+name+"'");}}styler.push(SSSS_9,this.$$method.setThemed[a[i]],SSSS_18,i,SSSS_27);unstyler.push(SSSS_9,this.$$method.resetThemed[a[i]],SSSS_20);}}this.$$method.set[name]=SSSS_7+upname;members[this.$$method.set[name]]=new Function(setter.join(SSSS_8));this.$$method.reset[name]=SSSS_14+upname;members[this.$$method.reset[name]]=new Function(resetter.join(SSSS_8));if(themeable){this.$$method.setThemed[name]=SSSS_10+upname;members[this.$$method.setThemed[name]]=new Function(styler.join(SSSS_8));this.$$method.resetThemed[name]=SSSS_13+upname;members[this.$$method.resetThemed[name]]=new Function(unstyler.join(SSSS_8));}},__z:function(clazz,config,name){var upname=qx.Bootstrap.firstUp(name);var members=clazz.prototype;if(qx.core.Variant.isSet(SSSS_2,SSSS_5)){if(qx.core.Setting.get(SSSS_11)>1){qx.Bootstrap.debug("Generating property wrappers: "+name);}}if(config.dispose===undefined&&typeof config.check===SSSS_1){config.dispose=this.__x[config.check]||qx.Bootstrap.classIsDefined(config.check)||(qx.Interface&&qx.Interface.isDefined(config.check));}var method=this.$$method;var store=this.$$store;store.runtime[name]=SSSS_71+name;store.user[name]=SSSS_75+name;store.theme[name]=SSSS_33+name;store.init[name]=SSSS_29+name;store.inherit[name]=SSSS_50+name;store.useinit[name]=SSSS_72+name;method.get[name]=SSSS_21+upname;members[method.get[name]]=function(){return qx.core.Property.executeOptimizedGetter(this,clazz,name,SSSS_21);};method.set[name]=SSSS_7+upname;members[method.set[name]]=function(value){return qx.core.Property.executeOptimizedSetter(this,clazz,name,SSSS_7,arguments);};method.reset[name]=SSSS_14+upname;members[method.reset[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,clazz,name,SSSS_14);};if(config.inheritable||config.apply||config.event||config.deferredInit){method.init[name]=SSSS_16+upname;members[method.init[name]]=function(value){return qx.core.Property.executeOptimizedSetter(this,clazz,name,SSSS_16,arguments);};}if(config.inheritable){method.refresh[name]=SSSS_22+upname;members[method.refresh[name]]=function(value){return qx.core.Property.executeOptimizedSetter(this,clazz,name,SSSS_22,arguments);};}method.setRuntime[name]=SSSS_15+upname;members[method.setRuntime[name]]=function(value){return qx.core.Property.executeOptimizedSetter(this,clazz,name,SSSS_15,arguments);};method.resetRuntime[name]=SSSS_17+upname;members[method.resetRuntime[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,clazz,name,SSSS_17);};if(config.themeable){method.setThemed[name]=SSSS_10+upname;members[method.setThemed[name]]=function(value){return qx.core.Property.executeOptimizedSetter(this,clazz,name,SSSS_10,arguments);};method.resetThemed[name]=SSSS_13+upname;members[method.resetThemed[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,clazz,name,SSSS_13);};}if(config.check===SSSS_44){members[SSSS_66+upname]=new Function(SSSS_19+method.set[name]+SSSS_64+method.get[name]+SSSS_62);members[SSSS_36+upname]=new Function(SSSS_19+method.get[name]+SSSS_51);}},__A:{0:'Could not change or apply init value after constructing phase!',1:'Requires exactly one argument!',2:'Undefined value is not allowed!',3:'Does not allow any arguments!',4:'Null value is not allowed!',5:'Is invalid!'},error:function(obj,id,property,variant,value){var classname=obj.constructor.classname;var msg=SSSS_48+property+SSSS_32+classname+SSSS_60+this.$$method[variant][property]+SSSS_68+value+SSSS_37;throw new Error(msg+(this.__A[id]||"Unknown reason: "+id));},__B:function(instance,members,name,variant,code,args){var store=this.$$method[variant][name];if(qx.core.Variant.isSet("qx.debug","on")){if(qx.core.Setting.get("qx.propertyDebugLevel")>1){qx.Bootstrap.debug("Code["+this.$$method[variant][name]+"]: "+code.join(""));}try{members[store]=new Function("value",code.join(""));}catch(ex){throw new Error("Malformed generated code to unwrap method: "+this.$$method[variant][name]+"\n"+code.join(""));}}else{members[store]=new Function("value",code.join(""));}if(qx.core.Variant.isSet("qx.aspects","on")){members[store]=qx.core.Aspect.wrap(instance.classname+"."+store,members[store],"property");}qx.Bootstrap.setDisplayName(members[store],instance.classname+".prototype",store);if(args===undefined){return instance[store]();}else if(qx.core.Variant.isSet("qx.debug","on")){return instance[store].apply(instance,args);}else{return instance[store](args[0]);}},executeOptimizedGetter:function(instance,clazz,name,variant){var config=clazz.$$properties[name];var members=clazz.prototype;var code=[];var store=this.$$store;code.push(SSSS_24,store.runtime[name],SSSS_6);code.push(SSSS_3,store.runtime[name],SSSS_0);if(config.inheritable){code.push(SSSS_12,store.inherit[name],SSSS_6);code.push(SSSS_3,store.inherit[name],SSSS_0);code.push(SSSS_23);}code.push(SSSS_24,store.user[name],SSSS_6);code.push(SSSS_3,store.user[name],SSSS_0);if(config.themeable){code.push(SSSS_12,store.theme[name],SSSS_6);code.push(SSSS_3,store.theme[name],SSSS_0);}if(config.deferredInit&&config.init===undefined){code.push(SSSS_12,store.init[name],SSSS_6);code.push(SSSS_3,store.init[name],SSSS_0);}code.push(SSSS_23);if(config.init!==undefined){if(config.inheritable){code.push(SSSS_67,store.init[name],SSSS_0);if(config.nullable){code.push(SSSS_49);}else if(config.init!==undefined){code.push(SSSS_3,store.init[name],SSSS_0);}else{code.push(SSSS_28,name,SSSS_25,clazz.classname,SSSS_26);}code.push(SSSS_41);}else{code.push(SSSS_3,store.init[name],SSSS_0);}}else if(config.inheritable||config.nullable){code.push(SSSS_63);}else{code.push(SSSS_59,name,SSSS_25,clazz.classname,SSSS_26);}return this.__B(instance,members,name,variant,code);},executeOptimizedSetter:function(instance,clazz,name,variant,args){var config=clazz.$$properties[name];var members=clazz.prototype;var code=[];var incomingValue=variant===SSSS_7||variant===SSSS_10||variant===SSSS_15||(variant===SSSS_16&&config.init===undefined);var hasCallback=config.apply||config.event||config.inheritable;var store=this.__C(variant,name);this.__D(code,config,name,variant,incomingValue);if(incomingValue){this.__E(code,clazz,config,name);}if(hasCallback){this.__F(code,incomingValue,store,variant);}if(config.inheritable){code.push(SSSS_38);}if(qx.core.Variant.isSet(SSSS_2,SSSS_5)){if(incomingValue){this.__G(code,config,clazz,name,variant);}}if(!hasCallback){this.__H(code,name,variant,incomingValue);}else{this.__I(code,config,name,variant,incomingValue);}if(config.inheritable){this.__J(code,config,name,variant);}else if(hasCallback){this.__K(code,config,name,variant);}if(hasCallback){this.__L(code,config,name);if(config.inheritable&&members._getChildren){this.__M(code,name);}}if(incomingValue){code.push(SSSS_45);}return this.__B(instance,members,name,variant,code,args);},__C:function(variant,name){if(variant==="setRuntime"||variant==="resetRuntime"){var store=this.$$store.runtime[name];}else if(variant==="setThemed"||variant==="resetThemed"){store=this.$$store.theme[name];}else if(variant==="init"){store=this.$$store.init[name];}else{store=this.$$store.user[name];}return store;},__D:function(code,config,name,variant,incomingValue){if(qx.core.Variant.isSet("qx.debug","on")){code.push('var prop=qx.core.Property;');if(variant==="init"){code.push('if(this.$$initialized)prop.error(this,0,"',name,'","',variant,'",value);');}if(variant==="refresh"){}else if(incomingValue){code.push('if(arguments.length!==1)prop.error(this,1,"',name,'","',variant,'",value);');code.push('if(value===undefined)prop.error(this,2,"',name,'","',variant,'",value);');}else{code.push('if(arguments.length!==0)prop.error(this,3,"',name,'","',variant,'",value);');}}else{if(!config.nullable||config.check||config.inheritable){code.push('var prop=qx.core.Property;');}if(variant==="set"){code.push('if(value===undefined)prop.error(this,2,"',name,'","',variant,'",value);');}}},__E:function(code,clazz,config,name){if(config.transform){code.push('value=this.',config.transform,'(value);');}if(config.validate){if(typeof config.validate==="string"){code.push('this.',config.validate,'(value);');}else if(config.validate instanceof Function){code.push(clazz.classname,'.$$properties.',name);code.push('.validate.call(this, value);');}}},__F:function(code,incomingValue,store,variant){var resetValue=(variant==="reset"||variant==="resetThemed"||variant==="resetRuntime");if(incomingValue){code.push('if(this.',store,'===value)return value;');}else if(resetValue){code.push('if(this.',store,'===undefined)return;');}},__G:qx.core.Variant.select("qx.debug",{"on":function(code,config,clazz,name,variant){if(!config.nullable){code.push('if(value===null)prop.error(this,4,"',name,'","',variant,'",value);');}if(config.check!==undefined){code.push('var msg = "Invalid incoming value for property \''+name+'\' of class \''+clazz.classname+'\'";');if(config.nullable){code.push('if(value!==null)');}if(config.inheritable){code.push('if(value!==inherit)');}code.push('if(');if(this.__w[config.check]!==undefined){code.push('!(',this.__w[config.check],')');}else if(qx.Class.isDefined(config.check)){code.push('qx.core.Assert.assertInstance(value, qx.Class.getByName("',config.check,'"), msg)');}else if(qx.Interface&&qx.Interface.isDefined(config.check)){code.push('qx.core.Assert.assertInterface(value, qx.Interface.getByName("',config.check,'"), msg)');}else if(typeof config.check==="function"){code.push('!',clazz.classname,'.$$properties.',name);code.push('.check.call(this, value)');}else if(typeof config.check==="string"){code.push('!(',config.check,')');}else if(config.check instanceof Array){code.push('qx.core.Assert.assertInArray(value, ',clazz.classname,'.$$properties.',name,'.check, msg)');}else{throw new Error("Could not add check to property "+name+" of class "+clazz.classname);}code.push(')prop.error(this,5,"',name,'","',variant,'",value);');}},"off":undefined}),__H:function(code,name,variant,incomingValue){if(variant==="setRuntime"){code.push('this.',this.$$store.runtime[name],'=value;');}else if(variant==="resetRuntime"){code.push('if(this.',this.$$store.runtime[name],'!==undefined)');code.push('delete this.',this.$$store.runtime[name],';');}else if(variant==="set"){code.push('this.',this.$$store.user[name],'=value;');}else if(variant==="reset"){code.push('if(this.',this.$$store.user[name],'!==undefined)');code.push('delete this.',this.$$store.user[name],';');}else if(variant==="setThemed"){code.push('this.',this.$$store.theme[name],'=value;');}else if(variant==="resetThemed"){code.push('if(this.',this.$$store.theme[name],'!==undefined)');code.push('delete this.',this.$$store.theme[name],';');}else if(variant==="init"&&incomingValue){code.push('this.',this.$$store.init[name],'=value;');}},__I:function(code,config,name,variant,incomingValue){if(config.inheritable){code.push('var computed, old=this.',this.$$store.inherit[name],';');}else{code.push('var computed, old;');}code.push('if(this.',this.$$store.runtime[name],'!==undefined){');if(variant==="setRuntime"){code.push('computed=this.',this.$$store.runtime[name],'=value;');}else if(variant==="resetRuntime"){code.push('delete this.',this.$$store.runtime[name],';');code.push('if(this.',this.$$store.user[name],'!==undefined)');code.push('computed=this.',this.$$store.user[name],';');code.push('else if(this.',this.$$store.theme[name],'!==undefined)');code.push('computed=this.',this.$$store.theme[name],';');code.push('else if(this.',this.$$store.init[name],'!==undefined){');code.push('computed=this.',this.$$store.init[name],';');code.push('this.',this.$$store.useinit[name],'=true;');code.push('}');}else{code.push('old=computed=this.',this.$$store.runtime[name],';');if(variant==="set"){code.push('this.',this.$$store.user[name],'=value;');}else if(variant==="reset"){code.push('delete this.',this.$$store.user[name],';');}else if(variant==="setThemed"){code.push('this.',this.$$store.theme[name],'=value;');}else if(variant==="resetThemed"){code.push('delete this.',this.$$store.theme[name],';');}else if(variant==="init"&&incomingValue){code.push('this.',this.$$store.init[name],'=value;');}}code.push('}');code.push('else if(this.',this.$$store.user[name],'!==undefined){');if(variant==="set"){if(!config.inheritable){code.push('old=this.',this.$$store.user[name],';');}code.push('computed=this.',this.$$store.user[name],'=value;');}else if(variant==="reset"){if(!config.inheritable){code.push('old=this.',this.$$store.user[name],';');}code.push('delete this.',this.$$store.user[name],';');code.push('if(this.',this.$$store.runtime[name],'!==undefined)');code.push('computed=this.',this.$$store.runtime[name],';');code.push('if(this.',this.$$store.theme[name],'!==undefined)');code.push('computed=this.',this.$$store.theme[name],';');code.push('else if(this.',this.$$store.init[name],'!==undefined){');code.push('computed=this.',this.$$store.init[name],';');code.push('this.',this.$$store.useinit[name],'=true;');code.push('}');}else{if(variant==="setRuntime"){code.push('computed=this.',this.$$store.runtime[name],'=value;');}else if(config.inheritable){code.push('computed=this.',this.$$store.user[name],';');}else{code.push('old=computed=this.',this.$$store.user[name],';');}if(variant==="setThemed"){code.push('this.',this.$$store.theme[name],'=value;');}else if(variant==="resetThemed"){code.push('delete this.',this.$$store.theme[name],';');}else if(variant==="init"&&incomingValue){code.push('this.',this.$$store.init[name],'=value;');}}code.push('}');if(config.themeable){code.push('else if(this.',this.$$store.theme[name],'!==undefined){');if(!config.inheritable){code.push('old=this.',this.$$store.theme[name],';');}if(variant==="setRuntime"){code.push('computed=this.',this.$$store.runtime[name],'=value;');}else if(variant==="set"){code.push('computed=this.',this.$$store.user[name],'=value;');}else if(variant==="setThemed"){code.push('computed=this.',this.$$store.theme[name],'=value;');}else if(variant==="resetThemed"){code.push('delete this.',this.$$store.theme[name],';');code.push('if(this.',this.$$store.init[name],'!==undefined){');code.push('computed=this.',this.$$store.init[name],';');code.push('this.',this.$$store.useinit[name],'=true;');code.push('}');}else if(variant==="init"){if(incomingValue){code.push('this.',this.$$store.init[name],'=value;');}code.push('computed=this.',this.$$store.theme[name],';');}else if(variant==="refresh"){code.push('computed=this.',this.$$store.theme[name],';');}code.push('}');}code.push('else if(this.',this.$$store.useinit[name],'){');if(!config.inheritable){code.push('old=this.',this.$$store.init[name],';');}if(variant==="init"){if(incomingValue){code.push('computed=this.',this.$$store.init[name],'=value;');}else{code.push('computed=this.',this.$$store.init[name],';');}}else if(variant==="set"||variant==="setRuntime"||variant==="setThemed"||variant==="refresh"){code.push('delete this.',this.$$store.useinit[name],';');if(variant==="setRuntime"){code.push('computed=this.',this.$$store.runtime[name],'=value;');}else if(variant==="set"){code.push('computed=this.',this.$$store.user[name],'=value;');}else if(variant==="setThemed"){code.push('computed=this.',this.$$store.theme[name],'=value;');}else if(variant==="refresh"){code.push('computed=this.',this.$$store.init[name],';');}}code.push('}');if(variant==="set"||variant==="setRuntime"||variant==="setThemed"||variant==="init"){code.push('else{');if(variant==="setRuntime"){code.push('computed=this.',this.$$store.runtime[name],'=value;');}else if(variant==="set"){code.push('computed=this.',this.$$store.user[name],'=value;');}else if(variant==="setThemed"){code.push('computed=this.',this.$$store.theme[name],'=value;');}else if(variant==="init"){if(incomingValue){code.push('computed=this.',this.$$store.init[name],'=value;');}else{code.push('computed=this.',this.$$store.init[name],';');}code.push('this.',this.$$store.useinit[name],'=true;');}code.push('}');}},__J:function(code,config,name,variant){code.push('if(computed===undefined||computed===inherit){');if(variant==="refresh"){code.push('computed=value;');}else{code.push('var pa=this.getLayoutParent();if(pa)computed=pa.',this.$$store.inherit[name],';');}code.push('if((computed===undefined||computed===inherit)&&');code.push('this.',this.$$store.init[name],'!==undefined&&');code.push('this.',this.$$store.init[name],'!==inherit){');code.push('computed=this.',this.$$store.init[name],';');code.push('this.',this.$$store.useinit[name],'=true;');code.push('}else{');code.push('delete this.',this.$$store.useinit[name],';}');code.push('}');code.push('if(old===computed)return value;');code.push('if(computed===inherit){');code.push('computed=undefined;delete this.',this.$$store.inherit[name],';');code.push('}');code.push('else if(computed===undefined)');code.push('delete this.',this.$$store.inherit[name],';');code.push('else this.',this.$$store.inherit[name],'=computed;');code.push('var backup=computed;');if(config.init!==undefined&&variant!=="init"){code.push('if(old===undefined)old=this.',this.$$store.init[name],";");}else{code.push('if(old===undefined)old=null;');}code.push('if(computed===undefined||computed==inherit)computed=null;');},__K:function(code,config,name,variant){if(variant!=="set"&&variant!=="setRuntime"&&variant!=="setThemed"){code.push('if(computed===undefined)computed=null;');}code.push('if(old===computed)return value;');if(config.init!==undefined&&variant!=="init"){code.push('if(old===undefined)old=this.',this.$$store.init[name],";");}else{code.push('if(old===undefined)old=null;');}},__L:function(code,config,name){if(config.apply){code.push('this.',config.apply,'(computed, old, "',name,'");');}if(config.event){code.push("var reg=qx.event.Registration;","if(reg.hasListener(this, '",config.event,"')){","reg.fireEvent(this, '",config.event,"', qx.event.type.Data, [computed, old]",")}");}},__M:function(code,name){code.push('var a=this._getChildren();if(a)for(var i=0,l=a.length;i<l;i++){');code.push('if(a[i].',this.$$method.refresh[name],')a[i].',this.$$method.refresh[name],'(backup);');code.push('}');}}});})();(function(){var SSSS_0="qx.core.Aspect",SSSS_1="before",SSSS_2="*",SSSS_3="static";qx.Bootstrap.define(SSSS_0,{statics:{__N:[],wrap:function(fullName,fcn,type){var before=[];var after=[];var reg=this.__N;var entry;for(var i=0;i<reg.length;i++){entry=reg[i];if((entry.type==null||type==entry.type||entry.type==SSSS_2)&&(entry.name==null||fullName.match(entry.name))){entry.pos==-1?before.push(entry.fcn):after.push(entry.fcn);}}if(before.length===0&&after.length===0){return fcn;}var wrapper=function(){for(var i=0;i<before.length;i++){before[i].call(this,fullName,fcn,type,arguments);}var ret=fcn.apply(this,arguments);for(var i=0;i<after.length;i++){after[i].call(this,fullName,fcn,type,arguments,ret);}return ret;};if(type!==SSSS_3){wrapper.self=fcn.self;wrapper.base=fcn.base;}fcn.wrapper=wrapper;wrapper.original=fcn;return wrapper;},addAdvice:function(fcn,position,type,name){this.__N.push({fcn:fcn,pos:position===SSSS_1?-1:1,type:type,name:name});}}});})();(function(){var SSSS_0="on",SSSS_1="qx.debug",SSSS_2="qx.aspects",SSSS_3="singleton",SSSS_4="static",SSSS_5="[Class ",SSSS_6="]",SSSS_7="abstract",SSSS_8="constructor",SSSS_9="extend",SSSS_10="qx.Class",SSSS_11=".";qx.Bootstrap.define(SSSS_10,{statics:{define:function(name,config){if(!config){var config={};}if(config.include&&!(config.include instanceof Array)){config.include=[config.include];}if(config.implement&&!(config.implement instanceof Array)){config.implement=[config.implement];}if(!config.hasOwnProperty(SSSS_9)&&!config.type){config.type=SSSS_4;}if(qx.core.Variant.isSet(SSSS_1,SSSS_0)){this.__Q(name,config);}var clazz=this.__S(name,config.type,config.extend,config.statics,config.construct,config.destruct);if(config.extend){if(config.properties){this.__U(clazz,config.properties,true);}if(config.members){this.__W(clazz,config.members,true,true,false);}if(config.events){this.__T(clazz,config.events,true);}if(config.include){for(var i=0,l=config.include.length;i<l;i++){this.__ba(clazz,config.include[i],false);}}}if(config.settings){for(var key in config.settings){qx.core.Setting.define(key,config.settings[key]);}}if(config.variants){for(var key in config.variants){qx.core.Variant.define(key,config.variants[key].allowedValues,config.variants[key].defaultValue);}}if(config.implement){for(var i=0,l=config.implement.length;i<l;i++){this.__Y(clazz,config.implement[i]);}}if(qx.core.Variant.isSet(SSSS_1,SSSS_0)){this.__R(clazz);}if(config.defer){config.defer.self=clazz;config.defer(clazz,clazz.prototype,{add:function(name,config){var properties={};properties[name]=config;qx.Class.__U(clazz,properties,true);}});}return clazz;},isDefined:qx.Bootstrap.classIsDefined,getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry);},getByName:qx.Bootstrap.getByName,include:function(clazz,mixin){if(qx.core.Variant.isSet(SSSS_1,SSSS_0)){if(!mixin){throw new Error("Includes of mixins must be mixins. A dynamic mixin of class '"+clazz.classname+"' is undefined/null!");}qx.Mixin.isCompatible(mixin,clazz);}qx.Class.__ba(clazz,mixin,false);},patch:function(clazz,mixin){if(qx.core.Variant.isSet(SSSS_1,SSSS_0)){if(!mixin){throw new Error("Includes of mixins must be mixins. A dynamic mixin of class '"+clazz.classname+"' is undefined/null!");}qx.Mixin.isCompatible(mixin,clazz);}qx.Class.__ba(clazz,mixin,true);},isSubClassOf:function(clazz,superClass){if(!clazz){return false;}if(clazz==superClass){return true;}if(clazz.prototype instanceof superClass){return true;}return false;},getPropertyDefinition:qx.Bootstrap.getPropertyDefinition,getProperties:function(clazz){var list=[];while(clazz){if(clazz.$$properties){list.push.apply(list,qx.Bootstrap.getKeys(clazz.$$properties));}clazz=clazz.superclass;}return list;},getByProperty:function(clazz,name){while(clazz){if(clazz.$$properties&&clazz.$$properties[name]){return clazz;}clazz=clazz.superclass;}return null;},hasProperty:qx.Bootstrap.hasProperty,getEventType:qx.Bootstrap.getEventType,supportsEvent:qx.Bootstrap.supportsEvent,hasOwnMixin:function(clazz,mixin){return clazz.$$includes&&clazz.$$includes.indexOf(mixin)!==-1;},getByMixin:function(clazz,mixin){var list,i,l;while(clazz){if(clazz.$$includes){list=clazz.$$flatIncludes;for(i=0,l=list.length;i<l;i++){if(list[i]===mixin){return clazz;}}}clazz=clazz.superclass;}return null;},getMixins:qx.Bootstrap.getMixins,hasMixin:function(clazz,mixin){return !!this.getByMixin(clazz,mixin);},hasOwnInterface:function(clazz,iface){return clazz.$$implements&&clazz.$$implements.indexOf(iface)!==-1;},getByInterface:qx.Bootstrap.getByInterface,getInterfaces:function(clazz){var list=[];while(clazz){if(clazz.$$implements){list.push.apply(list,clazz.$$flatImplements);}clazz=clazz.superclass;}return list;},hasInterface:qx.Bootstrap.hasInterface,implementsInterface:function(obj,iface){var clazz=obj.constructor;if(this.hasInterface(clazz,iface)){return true;}try{qx.Interface.assertObject(obj,iface);return true;}catch(ex){}try{qx.Interface.assert(clazz,iface,false);return true;}catch(ex){}return false;},getInstance:function(){if(!this.$$instance){this.$$allowconstruct=true;this.$$instance=new this;delete this.$$allowconstruct;}return this.$$instance;},genericToString:function(){return SSSS_5+this.classname+SSSS_6;},$$registry:qx.Bootstrap.$$registry,__O:qx.core.Variant.select("qx.debug",{"on":{"type":"string","extend":"function","implement":"object","include":"object","construct":"function","statics":"object","properties":"object","members":"object","settings":"object","variants":"object","events":"object","defer":"function","destruct":"function"},"default":null}),__P:qx.core.Variant.select("qx.debug",{"on":{"type":"string","statics":"object","settings":"object","variants":"object","defer":"function"},"default":null}),__Q:qx.core.Variant.select("qx.debug",{"on":function(name,config){if(config.type&&!(config.type==="static"||config.type==="abstract"||config.type==="singleton")){throw new Error('Invalid type "'+config.type+'" definition for class "'+name+'"!');}if(config.type&&config.type!=="static"&&!config.extend){throw new Error('Invalid config in class "'+name+'"! Every non-static class has to extend at least the "qx.core.Object" class.');}var allowed=config.type==="static"?this.__P:this.__O;for(var key in config){if(!allowed[key]){throw new Error('The configuration key "'+key+'" in class "'+name+'" is not allowed!');}if(config[key]==null){throw new Error('Invalid key "'+key+'" in class "'+name+'"! The value is undefined/null!');}if(typeof config[key]!==allowed[key]){throw new Error('Invalid type of key "'+key+'" in class "'+name+'"! The type of the key must be "'+allowed[key]+'"!');}}var maps=["statics","properties","members","settings","variants","events"];for(var i=0,l=maps.length;i<l;i++){var key=maps[i];if(config[key]!==undefined&&(config[key].$$hash!==undefined||!qx.Bootstrap.isObject(config[key]))){throw new Error('Invalid key "'+key+'" in class "'+name+'"! The value needs to be a map!');}}if(config.include){if(config.include instanceof Array){for(var i=0,a=config.include,l=a.length;i<l;i++){if(a[i]==null||a[i].$$type!=="Mixin"){throw new Error('The include definition in class "'+name+'" contains an invalid mixin at position '+i+': '+a[i]);}}}else{throw new Error('Invalid include definition in class "'+name+'"! Only mixins and arrays of mixins are allowed!');}}if(config.implement){if(config.implement instanceof Array){for(var i=0,a=config.implement,l=a.length;i<l;i++){if(a[i]==null||a[i].$$type!=="Interface"){throw new Error('The implement definition in class "'+name+'" contains an invalid interface at position '+i+': '+a[i]);}}}else{throw new Error('Invalid implement definition in class "'+name+'"! Only interfaces and arrays of interfaces are allowed!');}}if(config.include){try{qx.Mixin.checkCompatibility(config.include);}catch(ex){throw new Error('Error in include definition of class "'+name+'"! '+ex.message);}}if(config.settings){for(var key in config.settings){if(key.substr(0,key.indexOf("."))!=name.substr(0,name.indexOf("."))){throw new Error('Forbidden setting "'+key+'" found in "'+name+'". It is forbidden to define a default setting for an external namespace!');}}}if(config.variants){for(var key in config.variants){if(key.substr(0,key.indexOf("."))!=name.substr(0,name.indexOf("."))){throw new Error('Forbidden variant "'+key+'" found in "'+name+'". It is forbidden to define a variant for an external namespace!');}}}},"default":function(){}}),__R:qx.core.Variant.select("qx.debug",{"on":function(clazz){var superclass=clazz.superclass;while(superclass){if(superclass.$$classtype!=="abstract"){break;}var interfaces=superclass.$$implements;if(interfaces){for(var i=0;i<interfaces.length;i++){qx.Interface.assert(clazz,interfaces[i],true);}}superclass=superclass.superclass;}},"default":function(){}}),__S:function(name,type,extend,statics,construct,destruct){var clazz;if(!extend&&qx.core.Variant.isSet("qx.aspects","off")){clazz=statics||{};qx.Bootstrap.setDisplayNames(clazz,name);}else{clazz={};if(extend){if(!construct){construct=this.__bb();}clazz=this.__bd(construct,name,type);qx.Bootstrap.setDisplayName(construct,name,"constructor");}if(statics){qx.Bootstrap.setDisplayNames(statics,name);var key;for(var i=0,a=qx.Bootstrap.getKeys(statics),l=a.length;i<l;i++){key=a[i];var staticValue=statics[key];if(qx.core.Variant.isSet("qx.aspects","on")){if(staticValue instanceof Function){staticValue=qx.core.Aspect.wrap(name+"."+key,staticValue,"static");}clazz[key]=staticValue;}else{clazz[key]=staticValue;}}}}var basename=qx.Bootstrap.createNamespace(name,clazz,false);clazz.name=clazz.classname=name;clazz.basename=basename;clazz.$$type="Class";if(type){clazz.$$classtype=type;}if(!clazz.hasOwnProperty("toString")){clazz.toString=this.genericToString;}if(extend){var superproto=extend.prototype;var helper=this.__bc();helper.prototype=superproto;var proto=new helper;clazz.prototype=proto;proto.name=proto.classname=name;proto.basename=basename;construct.base=clazz.superclass=extend;construct.self=clazz.constructor=proto.constructor=clazz;if(destruct){if(qx.core.Variant.isSet("qx.aspects","on")){destruct=qx.core.Aspect.wrap(name,destruct,"destructor");}clazz.$$destructor=destruct;qx.Bootstrap.setDisplayName(destruct,name,"destruct");}}this.$$registry[name]=clazz;return clazz;},__T:function(clazz,events,patch){if(qx.core.Variant.isSet("qx.debug","on")){if(typeof events!=="object"||events instanceof Array){throw new Error(clazz.classname+": the events must be defined as map!");}for(var key in events){if(typeof events[key]!=="string"){throw new Error(clazz.classname+"/"+key+": the event value needs to be a string with the class name of the event object which will be fired.");}}if(clazz.$$events&&patch!==true){for(var key in events){if(clazz.$$events[key]!==undefined&&clazz.$$events[key]!==events[key]){throw new Error(clazz.classname+"/"+key+": the event value/type cannot be changed from "+clazz.$$events[key]+" to "+events[key]);}}}}if(clazz.$$events){for(var key in events){clazz.$$events[key]=events[key];}}else{clazz.$$events=events;}},__U:function(clazz,properties,patch){var config;if(patch===undefined){patch=false;}var attach=!!clazz.$$propertiesAttached;for(var name in properties){config=properties[name];if(qx.core.Variant.isSet("qx.debug","on")){this.__V(clazz,name,config,patch);}config.name=name;if(!config.refine){if(clazz.$$properties===undefined){clazz.$$properties={};}clazz.$$properties[name]=config;}if(config.init!==undefined){clazz.prototype["$$init_"+name]=config.init;}if(config.event!==undefined){var event={};event[config.event]="qx.event.type.Data";this.__T(clazz,event,patch);}if(config.inheritable){qx.core.Property.$$inheritable[name]=true;}if(attach){qx.core.Property.attachMethods(clazz,name,config);}}},__V:qx.core.Variant.select("qx.debug",{"on":function(clazz,name,config,patch){var has=this.hasProperty(clazz,name);if(has){var existingProperty=this.getPropertyDefinition(clazz,name);if(config.refine&&existingProperty.init===undefined){throw new Error("Could not refine a init value if there was previously no init value defined. Property '"+name+"' of class '"+clazz.classname+"'.");}}if(!has&&config.refine){throw new Error("Could not refine non-existent property: '"+name+"' of class: '"+clazz.classname+"'!");}if(has&&!patch){throw new Error("Class "+clazz.classname+" already has a property: "+name+"!");}if(has&&patch){if(!config.refine){throw new Error('Could not refine property "'+name+'" without a "refine" flag in the property definition! This class: '+clazz.classname+', original class: '+this.getByProperty(clazz,name).classname+'.');}for(var key in config){if(key!=="init"&&key!=="refine"){throw new Error("Class "+clazz.classname+" could not refine property: "+name+"! Key: "+key+" could not be refined!");}}}var allowed=config.group?qx.core.Property.$$allowedGroupKeys:qx.core.Property.$$allowedKeys;for(var key in config){if(allowed[key]===undefined){throw new Error('The configuration key "'+key+'" of property "'+name+'" in class "'+clazz.classname+'" is not allowed!');}if(config[key]===undefined){throw new Error('Invalid key "'+key+'" of property "'+name+'" in class "'+clazz.classname+'"! The value is undefined: '+config[key]);}if(allowed[key]!==null&&typeof config[key]!==allowed[key]){throw new Error('Invalid type of key "'+key+'" of property "'+name+'" in class "'+clazz.classname+'"! The type of the key must be "'+allowed[key]+'"!');}}if(config.transform!=null){if(!(typeof config.transform=="string")){throw new Error('Invalid transform definition of property "'+name+'" in class "'+clazz.classname+'"! Needs to be a String.');}}if(config.check!=null){if(!qx.Bootstrap.isString(config.check)&&!qx.Bootstrap.isArray(config.check)&&!qx.Bootstrap.isFunction(config.check)){throw new Error('Invalid check definition of property "'+name+'" in class "'+clazz.classname+'"! Needs to be a String, Array or Function.');}}},"default":null}),__W:function(clazz,members,patch,base,wrap){var proto=clazz.prototype;var key,member;qx.Bootstrap.setDisplayNames(members,clazz.classname+".prototype");for(var i=0,a=qx.Bootstrap.getKeys(members),l=a.length;i<l;i++){key=a[i];member=members[key];if(qx.core.Variant.isSet("qx.debug","on")){if(proto[key]!==undefined&&key.charAt(0)=="_"&&key.charAt(1)=="_"){throw new Error('Overwriting private member "'+key+'" of Class "'+clazz.classname+'" is not allowed!');}if(patch!==true&&proto.hasOwnProperty(key)){throw new Error('Overwriting member "'+key+'" of Class "'+clazz.classname+'" is not allowed!');}}if(base!==false&&member instanceof Function&&member.$$type==null){if(wrap==true){member=this.__X(member,proto[key]);}else{if(proto[key]){member.base=proto[key];}member.self=clazz;}if(qx.core.Variant.isSet("qx.aspects","on")){member=qx.core.Aspect.wrap(clazz.classname+"."+key,member,"member");}}proto[key]=member;}},__X:function(member,base){if(base){return function(){var oldBase=member.base;member.base=base;var retval=member.apply(this,arguments);member.base=oldBase;return retval;};}else{return member;}},__Y:function(clazz,iface){if(qx.core.Variant.isSet("qx.debug","on")){if(!clazz||!iface){throw new Error("Incomplete parameters!");}if(this.hasOwnInterface(clazz,iface)){throw new Error('Interface "'+iface.name+'" is already used by Class "'+clazz.classname+'!');}if(clazz.$$classtype!=="abstract"){qx.Interface.assert(clazz,iface,true);}}var list=qx.Interface.flatten([iface]);if(clazz.$$implements){clazz.$$implements.push(iface);clazz.$$flatImplements.push.apply(clazz.$$flatImplements,list);}else{clazz.$$implements=[iface];clazz.$$flatImplements=list;}},__ba:function(clazz,mixin,patch){if(qx.core.Variant.isSet(SSSS_1,SSSS_0)){if(!clazz||!mixin){throw new Error("Incomplete parameters!");}}if(this.hasMixin(clazz,mixin)){return;}var list=qx.Mixin.flatten([mixin]);var entry;for(var i=0,l=list.length;i<l;i++){entry=list[i];if(entry.$$events){this.__T(clazz,entry.$$events,patch);}if(entry.$$properties){this.__U(clazz,entry.$$properties,patch);}if(entry.$$members){this.__W(clazz,entry.$$members,patch,patch,patch);}}if(clazz.$$includes){clazz.$$includes.push(mixin);clazz.$$flatIncludes.push.apply(clazz.$$flatIncludes,list);}else{clazz.$$includes=[mixin];clazz.$$flatIncludes=list;}},__bb:function(){function defaultConstructor(){arguments.callee.base.apply(this,arguments);}return defaultConstructor;},__bc:function(){return function(){};},__bd:function(construct,name,type){var wrapper=function(){var clazz=arguments.callee.constructor;if(qx.core.Variant.isSet(SSSS_1,SSSS_0)){if(!(this instanceof clazz)){throw new Error("Please initialize '"+name+"' objects using the new keyword!");}if(type===SSSS_7){if(this.classname===name){throw new Error("The class ',"+name+"' is abstract! It is not possible to instantiate it.");}}else if(type===SSSS_3){if(!clazz.$$allowconstruct){throw new Error("The class '"+name+"' is a singleton! It is not possible to instantiate it directly. Use the static getInstance() method instead.");}}}if(!clazz.$$propertiesAttached){qx.core.Property.attach(clazz);}var retval=clazz.$$original.apply(this,arguments);if(clazz.$$includes){var mixins=clazz.$$flatIncludes;for(var i=0,l=mixins.length;i<l;i++){if(mixins[i].$$constructor){mixins[i].$$constructor.apply(this,arguments);}}}if(this.classname===name.classname){this.$$initialized=true;}return retval;};if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){var aspectWrapper=qx.core.Aspect.wrap(name,wrapper,SSSS_8);wrapper.$$original=construct;wrapper.constructor=aspectWrapper;wrapper=aspectWrapper;}if(type===SSSS_3){wrapper.getInstance=this.getInstance;}wrapper.$$original=construct;construct.wrapper=wrapper;return wrapper;}},defer:function(){if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){for(var classname in qx.Bootstrap.$$registry){var statics=qx.Bootstrap.$$registry[classname];for(var key in statics){if(statics[key] instanceof Function){statics[key]=qx.core.Aspect.wrap(classname+SSSS_11+key,statics[key],SSSS_4);}}}}}});})();(function(){var SSSS_0="on",SSSS_1="qx.debug",SSSS_2="$$hash",SSSS_3="qx.core.ObjectRegistry";qx.Class.define(SSSS_3,{statics:{inShutDown:false,__be:{},__bf:0,__bg:[],register:function(obj){var registry=this.__be;if(!registry){return;}var hash=obj.$$hash;if(hash==null){var cache=this.__bg;if(cache.length>0){hash=cache.pop();}else{hash=(this.__bf++).toString(36);}obj.$$hash=hash;}if(qx.core.Variant.isSet(SSSS_1,SSSS_0)){if(!obj.dispose){throw new Error("Invalid object: "+obj);}}registry[hash]=obj;},unregister:function(obj){var hash=obj.$$hash;if(hash==null){return;}var registry=this.__be;if(registry&&registry[hash]){delete registry[hash];this.__bg.push(hash);}try{delete obj.$$hash;}catch(ex){if(obj.removeAttribute){obj.removeAttribute(SSSS_2);}}},toHashCode:function(obj){if(qx.core.Variant.isSet(SSSS_1,SSSS_0)){if(obj==null){throw new Error("Invalid object: "+obj);}}var hash=obj.$$hash;if(hash!=null){return hash;}var cache=this.__bg;if(cache.length>0){hash=cache.pop();}else{hash=(this.__bf++).toString(36);}return obj.$$hash=hash;},clearHashCode:function(obj){if(qx.core.Variant.isSet(SSSS_1,SSSS_0)){if(obj==null){throw new Error("Invalid object: "+obj);}}var hash=obj.$$hash;if(hash!=null){this.__bg.push(hash);try{delete obj.$$hash;}catch(ex){if(obj.removeAttribute){obj.removeAttribute(SSSS_2);}}}},fromHashCode:function(hash){return this.__be[hash]||null;},shutdown:function(){this.inShutDown=true;var registry=this.__be;var hashes=[];for(var hash in registry){hashes.push(hash);}hashes.sort(function(a,b){return parseInt(b,36)-parseInt(a,36);});var obj,i=0,l=hashes.length;while(true){try{for(;i<l;i++){hash=hashes[i];obj=registry[hash];if(obj&&obj.dispose){obj.dispose();}}}catch(ex){qx.Bootstrap.error(this,"Could not dispose object "+obj.toString()+": "+ex);if(i!==l){i++;continue;}}break;}qx.Bootstrap.debug(this,"Disposed "+l+" objects");delete this.__be;},getRegistry:function(){return this.__be;}}});})();(function(){var SSSS_0="qx.lang.Type",SSSS_1="Error",SSSS_2="RegExp",SSSS_3="Date",SSSS_4="Number",SSSS_5="Boolean";qx.Class.define(SSSS_0,{statics:{getClass:qx.Bootstrap.getClass,isString:qx.Bootstrap.isString,isArray:qx.Bootstrap.isArray,isObject:qx.Bootstrap.isObject,isFunction:qx.Bootstrap.isFunction,isRegExp:function(value){return this.getClass(value)==SSSS_2;},isNumber:function(value){return (value!==null&&(this.getClass(value)==SSSS_4||value instanceof Number));},isBoolean:function(value){return (value!==null&&(this.getClass(value)==SSSS_5||value instanceof Boolean));},isDate:function(value){return (value!==null&&(this.getClass(value)==SSSS_3||value instanceof Date));},isError:function(value){return (value!==null&&(this.getClass(value)==SSSS_1||value instanceof Error));}}});})();(function(){var SSSS_0="",SSSS_1="!",SSSS_2="'!",SSSS_3="'",SSSS_4="Expected '",SSSS_5="' (rgb(",SSSS_6=",",SSSS_7=")), but found value '",SSSS_8="Event (",SSSS_9="Expected value to be the CSS color '",SSSS_10="' but found ",SSSS_11="The value '",SSSS_12="qx.core.Object",SSSS_13="Expected value to be an array but found ",SSSS_14=") was fired.",SSSS_15="Expected value to be an integer >= 0 but found ",SSSS_16="' to be not equal with '",SSSS_17="' to '",SSSS_18="qx.ui.core.Widget",SSSS_19="Called assertTrue with '",SSSS_20="Expected value to be a map but found ",SSSS_21="The function did not raise an exception!",SSSS_22="Expected value to be undefined but found ",SSSS_23="Expected value to be a DOM element but found  '",SSSS_24="Expected value to be a regular expression but found ",SSSS_25="' to implement the interface '",SSSS_26="Expected value to be null but found ",SSSS_27="Invalid argument 'type'",SSSS_28="Called assert with 'false'",SSSS_29="Assertion error! ",SSSS_30="Expected value to be a string but found ",SSSS_31="null",SSSS_32="' but found '",SSSS_33="' must must be a key of the map '",SSSS_34="The String '",SSSS_35="Expected value not to be undefined but found ",SSSS_36="qx.util.ColorUtil",SSSS_37=": ",SSSS_38="The raised exception does not have the expected type! ",SSSS_39=") not fired.",SSSS_40="qx.core.Assert",SSSS_41="Expected value to be typeof object but found ",SSSS_42="' (identical) but found '",SSSS_43="' must have any of the values defined in the array '",SSSS_44="Expected value to be a number but found ",SSSS_45="Called assertFalse with '",SSSS_46="]",SSSS_47="Expected value to be a qooxdoo object but found ",SSSS_48="' arguments.",SSSS_49="Expected value not to be null but found ",SSSS_50="Array[",SSSS_51="' does not match the regular expression '",SSSS_52="' to be not identical with '",SSSS_53="' arguments but found '",SSSS_54="', which cannot be converted to a CSS color!",SSSS_55="Expected object '",SSSS_56="qx.core.AssertionError",SSSS_57="Expected value to be a boolean but found ",SSSS_58="))!",SSSS_59="Expected value to be a qooxdoo widget but found ",SSSS_60="Expected value '%1' to be in the range '%2'..'%3'!",SSSS_61="Expected value to be typeof '",SSSS_62="Expected value to be typeof function but found ",SSSS_63="Expected value to be an integer but found ",SSSS_64="Called fail().",SSSS_65="The parameter 're' must be a string or a regular expression.",SSSS_66="Expected value to be a number >= 0 but found ",SSSS_67="Expected value to be instanceof '",SSSS_68="Wrong number of arguments given. Expected '",SSSS_69="object";qx.Class.define(SSSS_40,{statics:{__bh:true,__bi:function(comment,msgvarargs){var msg=SSSS_0;for(var i=1,l=arguments.length;i<l;i++){msg=msg+this.__bj(arguments[i]);}var errorMsg=SSSS_29+comment+SSSS_37+msg;if(this.__bh){qx.Bootstrap.error(errorMsg);}if(qx.Class.isDefined(SSSS_56)){var err=new qx.core.AssertionError(comment,msg);if(this.__bh){qx.Bootstrap.error("Stack trace: \n"+err.getStackTrace());}throw err;}else{throw new Error(errorMsg);}},__bj:function(value){var stringValue;if(value===null){stringValue=SSSS_31;}else if(qx.lang.Type.isArray(value)&&value.length>10){stringValue=SSSS_50+value.length+SSSS_46;}else if((value instanceof Object)&&(value.toString==null)){stringValue=qx.lang.Json.stringify(value,null,2);}else{try{stringValue=value.toString();}catch(e){stringValue=SSSS_0;}}return stringValue;},assert:function(condition,msg){condition==true||this.__bi(msg||SSSS_0,SSSS_28);},fail:function(msg){this.__bi(msg||SSSS_0,SSSS_64);},assertTrue:function(value,msg){(value===true)||this.__bi(msg||SSSS_0,SSSS_19,value,SSSS_3);},assertFalse:function(value,msg){(value===false)||this.__bi(msg||SSSS_0,SSSS_45,value,SSSS_3);},assertEquals:function(expected,found,msg){expected==found||this.__bi(msg||SSSS_0,SSSS_4,expected,SSSS_32,found,SSSS_2);},assertNotEquals:function(expected,found,msg){expected!=found||this.__bi(msg||SSSS_0,SSSS_4,expected,SSSS_16,found,SSSS_2);},assertIdentical:function(expected,found,msg){expected===found||this.__bi(msg||SSSS_0,SSSS_4,expected,SSSS_42,found,SSSS_2);},assertNotIdentical:function(expected,found,msg){expected!==found||this.__bi(msg||SSSS_0,SSSS_4,expected,SSSS_52,found,SSSS_2);},assertNotUndefined:function(value,msg){value!==undefined||this.__bi(msg||SSSS_0,SSSS_35,value,SSSS_1);},assertUndefined:function(value,msg){value===undefined||this.__bi(msg||SSSS_0,SSSS_22,value,SSSS_1);},assertNotNull:function(value,msg){value!==null||this.__bi(msg||SSSS_0,SSSS_49,value,SSSS_1);},assertNull:function(value,msg){value===null||this.__bi(msg||SSSS_0,SSSS_26,value,SSSS_1);},assertJsonEquals:function(expected,found,msg){this.assertEquals(qx.lang.Json.stringify(expected),qx.lang.Json.stringify(found),msg);},assertMatch:function(str,re,msg){this.assertString(str);this.assert(qx.lang.Type.isRegExp(re)||qx.lang.Type.isString(re),SSSS_65);str.search(re)>=0||this.__bi(msg||SSSS_0,SSSS_34,str,SSSS_51,re.toString(),SSSS_2);},assertArgumentsCount:function(args,minCount,maxCount,msg){var argCount=args.length;(argCount>=minCount&&argCount<=maxCount)||this.__bi(msg||SSSS_0,SSSS_68,minCount,SSSS_17,maxCount,SSSS_53,arguments.length,SSSS_48);},assertEventFired:function(obj,event,invokeFunc,listenerFunc,msg){var called=false;var listener=function(e){if(listenerFunc){listenerFunc.call(obj,e);}called=true;};var id=obj.addListener(event,listener,obj);invokeFunc.call();called===true||this.__bi(msg||SSSS_0,SSSS_8,event,SSSS_39);obj.removeListenerById(id);},assertEventNotFired:function(obj,event,invokeFunc,msg){var called=false;var listener=function(e){called=true;};var id=obj.addListener(event,listener,obj);invokeFunc.call();called===false||this.__bi(msg||SSSS_0,SSSS_8,event,SSSS_14);obj.removeListenerById(id);},assertException:function(callback,exception,re,msg){var exception=exception||Error;var error;try{this.__bh=false;callback();}catch(ex){error=ex;}finally{this.__bh=true;}if(error==null){this.__bi(msg||SSSS_0,SSSS_21);}error instanceof exception||this.__bi(msg||SSSS_0,SSSS_38,exception);if(re){this.assertMatch(error.toString(),re,msg);}},assertInArray:function(value,array,msg){array.indexOf(value)!==-1||this.__bi(msg||SSSS_0,SSSS_11,value,SSSS_43,array,SSSS_3);},assertArrayEquals:function(expected,found,msg){this.assertArray(expected,msg);this.assertArray(found,msg);this.assertEquals(expected.length,found.length,msg);for(var i=0;i<expected.length;i++){this.assertIdentical(expected[i],found[i],msg);}},assertKeyInMap:function(value,map,msg){map[value]!==undefined||this.__bi(msg||SSSS_0,SSSS_11,value,SSSS_33,map,SSSS_3);},assertFunction:function(value,msg){qx.lang.Type.isFunction(value)||this.__bi(msg||SSSS_0,SSSS_62,value,SSSS_1);},assertString:function(value,msg){qx.lang.Type.isString(value)||this.__bi(msg||SSSS_0,SSSS_30,value,SSSS_1);},assertBoolean:function(value,msg){qx.lang.Type.isBoolean(value)||this.__bi(msg||SSSS_0,SSSS_57,value,SSSS_1);},assertNumber:function(value,msg){(qx.lang.Type.isNumber(value)&&isFinite(value))||this.__bi(msg||SSSS_0,SSSS_44,value,SSSS_1);},assertPositiveNumber:function(value,msg){(qx.lang.Type.isNumber(value)&&isFinite(value)&&value>=0)||this.__bi(msg||SSSS_0,SSSS_66,value,SSSS_1);},assertInteger:function(value,msg){(qx.lang.Type.isNumber(value)&&isFinite(value)&&value%1===0)||this.__bi(msg||SSSS_0,SSSS_63,value,SSSS_1);},assertPositiveInteger:function(value,msg){var condition=(qx.lang.Type.isNumber(value)&&isFinite(value)&&value%1===0&&value>=0);condition||this.__bi(msg||SSSS_0,SSSS_15,value,SSSS_1);},assertInRange:function(value,min,max,msg){(value>=min&&value<=max)||this.__bi(msg||SSSS_0,qx.lang.String.format(SSSS_60,[value,min,max]));},assertObject:function(value,msg){var condition=value!==null&&(qx.lang.Type.isObject(value)||typeof value===SSSS_69);condition||this.__bi(msg||SSSS_0,SSSS_41,(value),SSSS_1);},assertArray:function(value,msg){qx.lang.Type.isArray(value)||this.__bi(msg||SSSS_0,SSSS_13,value,SSSS_1);},assertMap:function(value,msg){qx.lang.Type.isObject(value)||this.__bi(msg||SSSS_0,SSSS_20,value,SSSS_1);},assertRegExp:function(value,msg){qx.lang.Type.isRegExp(value)||this.__bi(msg||SSSS_0,SSSS_24,value,SSSS_1);},assertType:function(value,type,msg){this.assertString(type,SSSS_27);typeof (value)===type||this.__bi(msg||SSSS_0,SSSS_61,type,SSSS_10,value,SSSS_1);},assertInstance:function(value,clazz,msg){var className=clazz.classname||clazz+SSSS_0;value instanceof clazz||this.__bi(msg||SSSS_0,SSSS_67,className,SSSS_10,value,SSSS_1);},assertInterface:function(value,iface,msg){qx.Class.implementsInterface(value,iface)||this.__bi(msg||SSSS_0,SSSS_55,value,SSSS_25,iface,SSSS_2);},assertCssColor:function(expected,value,msg){var ColorUtil=qx.Class.getByName(SSSS_36);if(!ColorUtil){throw new Error("qx.util.ColorUtil not available! Your code must have a dependency on 'qx.util.ColorUtil'");}var expectedRgb=ColorUtil.stringToRgb(expected);try{var valueRgb=ColorUtil.stringToRgb(value);}catch(ex){this.__bi(msg||SSSS_0,SSSS_9,expected,SSSS_5,expectedRgb.join(SSSS_6),SSSS_7,value,SSSS_54);}var condition=expectedRgb[0]==valueRgb[0]&&expectedRgb[1]==valueRgb[1]&&expectedRgb[2]==valueRgb[2];condition||this.__bi(msg||SSSS_0,SSSS_9,expectedRgb,SSSS_5,expectedRgb.join(SSSS_6),SSSS_7,value,SSSS_5,valueRgb.join(SSSS_6),SSSS_58);},assertElement:function(value,msg){!!(value&&value.nodeType===1)||this.__bi(msg||SSSS_0,SSSS_23,value,SSSS_2);},assertQxObject:function(value,msg){this.__bk(value,SSSS_12)||this.__bi(msg||SSSS_0,SSSS_47,value,SSSS_1);},assertQxWidget:function(value,msg){this.__bk(value,SSSS_18)||this.__bi(msg||SSSS_0,SSSS_59,value,SSSS_1);},__bk:function(object,classname){if(!object){return false;}var clazz=object.constructor;while(clazz){if(clazz.classname===classname){return true;}clazz=clazz.superclass;}return false;}}});})();(function(){var SSSS_0="qx.core.MAssert";qx.Mixin.define(SSSS_0,{members:{assert:function(condition,msg){qx.core.Assert.assert(condition,msg);},fail:function(msg){qx.core.Assert.fail(msg);},assertTrue:function(value,msg){qx.core.Assert.assertTrue(value,msg);},assertFalse:function(value,msg){qx.core.Assert.assertFalse(value,msg);},assertEquals:function(expected,found,msg){qx.core.Assert.assertEquals(expected,found,msg);},assertNotEquals:function(expected,found,msg){qx.core.Assert.assertNotEquals(expected,found,msg);},assertIdentical:function(expected,found,msg){qx.core.Assert.assertIdentical(expected,found,msg);},assertNotIdentical:function(expected,found,msg){qx.core.Assert.assertNotIdentical(expected,found,msg);},assertNotUndefined:function(value,msg){qx.core.Assert.assertNotUndefined(value,msg);},assertUndefined:function(value,msg){qx.core.Assert.assertUndefined(value,msg);},assertNotNull:function(value,msg){qx.core.Assert.assertNotNull(value,msg);},assertNull:function(value,msg){qx.core.Assert.assertNull(value,msg);},assertJsonEquals:function(expected,found,msg){qx.core.Assert.assertJsonEquals(expected,found,msg);},assertMatch:function(str,re,msg){qx.core.Assert.assertMatch(str,re,msg);},assertArgumentsCount:function(args,minCount,maxCount,msg){qx.core.Assert.assertArgumentsCount(args,minCount,maxCount,msg);},assertEventFired:function(obj,event,invokeFunc,listener,msg){qx.core.Assert.assertEventFired(obj,event,invokeFunc,listener,msg);},assertEventNotFired:function(obj,event,invokeFunc,msg){qx.core.Assert.assertEventNotFired(obj,event,invokeFunc,msg);},assertException:function(callback,exception,re,msg){qx.core.Assert.assertException(callback,exception,re,msg);},assertInArray:function(value,array,msg){qx.core.Assert.assertInArray(value,array,msg);},assertArrayEquals:function(expected,found,msg){qx.core.Assert.assertArrayEquals(expected,found,msg);},assertKeyInMap:function(value,map,msg){qx.core.Assert.assertKeyInMap(value,map,msg);},assertFunction:function(value,msg){qx.core.Assert.assertFunction(value,msg);},assertString:function(value,msg){qx.core.Assert.assertString(value,msg);},assertBoolean:function(value,msg){qx.core.Assert.assertBoolean(value,msg);},assertNumber:function(value,msg){qx.core.Assert.assertNumber(value,msg);},assertPositiveNumber:function(value,msg){qx.core.Assert.assertPositiveNumber(value,msg);},assertInteger:function(value,msg){qx.core.Assert.assertInteger(value,msg);},assertPositiveInteger:function(value,msg){qx.core.Assert.assertPositiveInteger(value,msg);},assertInRange:function(value,min,max,msg){qx.core.Assert.assertInRange(value,min,max,msg);},assertObject:function(value,msg){qx.core.Assert.assertObject(value,msg);},assertArray:function(value,msg){qx.core.Assert.assertArray(value,msg);},assertMap:function(value,msg){qx.core.Assert.assertMap(value,msg);},assertRegExp:function(value,msg){qx.core.Assert.assertRegExp(value,msg);},assertType:function(value,type,msg){qx.core.Assert.assertType(value,type,msg);},assertInstance:function(value,clazz,msg){qx.core.Assert.assertInstance(value,clazz,msg);},assertInterface:function(value,iface,msg){qx.core.Assert.assertInterface(value,iface,msg);},assertCssColor:function(expected,value,msg){qx.core.Assert.assertCssColor(expected,value,msg);},assertElement:function(value,msg){qx.core.Assert.assertElement(value,msg);},assertQxObject:function(value,msg){qx.core.Assert.assertQxObject(value,msg);},assertQxWidget:function(value,msg){qx.core.Assert.assertQxWidget(value,msg);}}});})();(function(){var SSSS_0="qx.data.MBinding";qx.Mixin.define(SSSS_0,{members:{bind:function(sourcePropertyChain,targetObject,targetProperty,options){return qx.data.SingleValueBinding.bind(this,sourcePropertyChain,targetObject,targetProperty,options);},removeBinding:function(id){qx.data.SingleValueBinding.removeBindingFromObject(this,id);},removeAllBindings:function(){qx.data.SingleValueBinding.removeAllBindingsForObject(this);},getBindings:function(){return qx.data.SingleValueBinding.getAllBindingsForObject(this);}}});})();(function(){var SSSS_0="qx.client",SSSS_1="on",SSSS_2="function",SSSS_3="mousedown",SSSS_4="qx.bom.Event",SSSS_5="return;",SSSS_6="mouseover",SSSS_7="HTMLEvents";qx.Class.define(SSSS_4,{statics:{addNativeListener:qx.core.Variant.select(SSSS_0,{"mshtml":function(target,type,listener){target.attachEvent(SSSS_1+type,listener);},"default":function(target,type,listener){target.addEventListener(type,listener,false);}}),removeNativeListener:qx.core.Variant.select(SSSS_0,{"mshtml":function(target,type,listener){try{target.detachEvent(SSSS_1+type,listener);}catch(e){if(e.number!==-2146828218){throw e;}}},"default":function(target,type,listener){target.removeEventListener(type,listener,false);}}),getTarget:function(e){return e.target||e.srcElement;},getRelatedTarget:qx.core.Variant.select(SSSS_0,{"mshtml":function(e){if(e.type===SSSS_6){return e.fromEvent;}else{return e.toElement;}},"gecko":function(e){try{e.relatedTarget&&e.relatedTarget.nodeType;}catch(e){return null;}return e.relatedTarget;},"default":function(e){return e.relatedTarget;}}),preventDefault:qx.core.Variant.select(SSSS_0,{"gecko":function(e){if(qx.bom.client.Engine.VERSION>=1.9&&e.type==SSSS_3&&e.button==2){return;}e.preventDefault();if(qx.bom.client.Engine.VERSION<1.9){try{e.keyCode=0;}catch(ex){}}},"mshtml":function(e){try{e.keyCode=0;}catch(ex){}e.returnValue=false;},"default":function(e){e.preventDefault();}}),stopPropagation:function(e){if(e.stopPropagation){e.stopPropagation();}e.cancelBubble=true;},fire:function(target,type){if(document.createEventObject){var evt=document.createEventObject();return target.fireEvent(SSSS_1+type,evt);}else{var evt=document.createEvent(SSSS_7);evt.initEvent(type,true,true);return !target.dispatchEvent(evt);}},supportsEvent:qx.core.Variant.select(SSSS_0,{"webkit":function(target,type){return target.hasOwnProperty(SSSS_1+type);},"default":function(target,type){var eventName=SSSS_1+type;var supportsEvent=(eventName in target);if(!supportsEvent){supportsEvent=typeof target[eventName]==SSSS_2;if(!supportsEvent&&target.setAttribute){target.setAttribute(eventName,SSSS_5);supportsEvent=typeof target[eventName]==SSSS_2;target.removeAttribute(eventName);}}return supportsEvent;}})}});})();(function(){var SSSS_0="qx.debug",SSSS_1="on",SSSS_2="|bubble",SSSS_3="|capture",SSSS_4="|",SSSS_5="': ",SSSS_6="'",SSSS_7="_",SSSS_8="Invalid Target.",SSSS_9="Invalid event type.",SSSS_10="Invalid event target.",SSSS_11=" from the target '",SSSS_12="Invalid callback function",SSSS_13="unload",SSSS_14="Failed to remove event listener for id '",SSSS_15="Invalid context for callback.",SSSS_16="Invalid capture flag.",SSSS_17="Failed to add event listener for type '",SSSS_18="UNKNOWN_",SSSS_19="capture",SSSS_20="__bp",SSSS_21="qx.event.Manager",SSSS_22="Could not dispatch event '",SSSS_23="__bq",SSSS_24="DOM_",SSSS_25="QX_",SSSS_26=" to the target '",SSSS_27="Failed to remove event listener for type '",SSSS_28="Invalid capture falg.",SSSS_29="c",SSSS_30="Invalid id type.",SSSS_31="' on target '",SSSS_32="WIN_",SSSS_33="Invalid event object.";qx.Class.define(SSSS_21,{extend:Object,construct:function(win,registration){this.__bl=win;this.__bm=qx.core.ObjectRegistry.toHashCode(win);this.__bn=registration;if(win.qx!==qx){var self=this;qx.bom.Event.addNativeListener(win,SSSS_13,qx.event.GlobalError.observeMethod(function(){qx.bom.Event.removeNativeListener(win,SSSS_13,arguments.callee);self.dispose();}));}this.__bo={};this.__bp={};this.__bq={};this.__br={};},statics:{__bs:0,getNextUniqueId:function(){return (this.__bs++).toString(36);}},members:{__bn:null,__bo:null,__bq:null,__bt:null,__bp:null,__br:null,__bl:null,__bm:null,getWindow:function(){return this.__bl;},getWindowId:function(){return this.__bm;},getHandler:function(clazz){var handler=this.__bp[clazz.classname];if(handler){return handler;}return this.__bp[clazz.classname]=new clazz(this);},getDispatcher:function(clazz){var dispatcher=this.__bq[clazz.classname];if(dispatcher){return dispatcher;}return this.__bq[clazz.classname]=new clazz(this,this.__bn);},getListeners:function(target,type,capture){var targetKey=target.$$hash||qx.core.ObjectRegistry.toHashCode(target);var targetMap=this.__bo[targetKey];if(!targetMap){return null;}var entryKey=type+(capture?SSSS_3:SSSS_2);var entryList=targetMap[entryKey];return entryList?entryList.concat():null;},serializeListeners:function(target){var targetKey=target.$$hash||qx.core.ObjectRegistry.toHashCode(target);var targetMap=this.__bo[targetKey];var result=[];if(targetMap){var indexOf,type,capture,entryList,entry;for(var entryKey in targetMap){indexOf=entryKey.indexOf(SSSS_4);type=entryKey.substring(0,indexOf);capture=entryKey.charAt(indexOf+1)==SSSS_29;entryList=targetMap[entryKey];for(var i=0,l=entryList.length;i<l;i++){entry=entryList[i];result.push({self:entry.context,handler:entry.handler,type:type,capture:capture});}}}return result;},toggleAttachedEvents:function(target,enable){var targetKey=target.$$hash||qx.core.ObjectRegistry.toHashCode(target);var targetMap=this.__bo[targetKey];if(targetMap){var indexOf,type,capture,entryList;for(var entryKey in targetMap){indexOf=entryKey.indexOf(SSSS_4);type=entryKey.substring(0,indexOf);capture=entryKey.charCodeAt(indexOf+1)===99;entryList=targetMap[entryKey];if(enable){this.__bu(target,type,capture);}else{this.__bv(target,type,capture);}}}},hasListener:function(target,type,capture){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(target==null){qx.log.Logger.trace(this);throw new Error("Invalid object: "+target);}}var targetKey=target.$$hash||qx.core.ObjectRegistry.toHashCode(target);var targetMap=this.__bo[targetKey];if(!targetMap){return false;}var entryKey=type+(capture?SSSS_3:SSSS_2);var entryList=targetMap[entryKey];return entryList&&entryList.length>0;},importListeners:function(target,list){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(target==null){qx.log.Logger.trace(this);throw new Error("Invalid object: "+target);}}var targetKey=target.$$hash||qx.core.ObjectRegistry.toHashCode(target);var targetMap=this.__bo[targetKey]={};var clazz=qx.event.Manager;for(var listKey in list){var item=list[listKey];var entryKey=item.type+(item.capture?SSSS_3:SSSS_2);var entryList=targetMap[entryKey];if(!entryList){entryList=targetMap[entryKey]=[];this.__bu(target,item.type,item.capture);}entryList.push({handler:item.listener,context:item.self,unique:item.unique||(clazz.__bs++).toString(36)});}},addListener:function(target,type,listener,self,capture){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){var msg=SSSS_17+type+SSSS_6+SSSS_26+target.classname+SSSS_5;qx.core.Assert.assertObject(target,msg+SSSS_8);qx.core.Assert.assertString(type,msg+SSSS_9);qx.core.Assert.assertFunction(listener,msg+SSSS_12);if(capture!==undefined){qx.core.Assert.assertBoolean(capture,SSSS_16);}}var targetKey=target.$$hash||qx.core.ObjectRegistry.toHashCode(target);var targetMap=this.__bo[targetKey];if(!targetMap){targetMap=this.__bo[targetKey]={};}var entryKey=type+(capture?SSSS_3:SSSS_2);var entryList=targetMap[entryKey];if(!entryList){entryList=targetMap[entryKey]=[];}if(entryList.length===0){this.__bu(target,type,capture);}var unique=(qx.event.Manager.__bs++).toString(36);var entry={handler:listener,context:self,unique:unique};entryList.push(entry);return entryKey+SSSS_4+unique;},findHandler:function(target,type){var isDomNode=false,isWindow=false,isObject=false;var key;if(target.nodeType===1){isDomNode=true;key=SSSS_24+target.tagName.toLowerCase()+SSSS_7+type;}else if(target==this.__bl){isWindow=true;key=SSSS_32+type;}else if(target.classname){isObject=true;key=SSSS_25+target.classname+SSSS_7+type;}else{key=SSSS_18+target+SSSS_7+type;}var cache=this.__br;if(cache[key]){return cache[key];}var classes=this.__bn.getHandlers();var IEventHandler=qx.event.IEventHandler;var clazz,instance,supportedTypes,targetCheck;for(var i=0,l=classes.length;i<l;i++){clazz=classes[i];supportedTypes=clazz.SUPPORTED_TYPES;if(supportedTypes&&!supportedTypes[type]){continue;}targetCheck=clazz.TARGET_CHECK;if(targetCheck){if(!isDomNode&&targetCheck===IEventHandler.TARGET_DOMNODE){continue;}else if(!isWindow&&targetCheck===IEventHandler.TARGET_WINDOW){continue;}else if(!isObject&&targetCheck===IEventHandler.TARGET_OBJECT){continue;}}instance=this.getHandler(classes[i]);if(clazz.IGNORE_CAN_HANDLE||instance.canHandleEvent(target,type)){cache[key]=instance;return instance;}}return null;},__bu:function(target,type,capture){var handler=this.findHandler(target,type);if(handler){handler.registerEvent(target,type,capture);return;}if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.log.Logger.warn(this,"There is no event handler for the event '"+type+"' on target '"+target+"'!");}},removeListener:function(target,type,listener,self,capture){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){var msg=SSSS_27+type+SSSS_6+SSSS_11+target.classname+SSSS_5;qx.core.Assert.assertObject(target,msg+SSSS_8);qx.core.Assert.assertString(type,msg+SSSS_9);qx.core.Assert.assertFunction(listener,msg+SSSS_12);if(self!==undefined){qx.core.Assert.assertObject(self,SSSS_15);}if(capture!==undefined){qx.core.Assert.assertBoolean(capture,SSSS_28);}}var targetKey=target.$$hash||qx.core.ObjectRegistry.toHashCode(target);var targetMap=this.__bo[targetKey];if(!targetMap){return false;}var entryKey=type+(capture?SSSS_3:SSSS_2);var entryList=targetMap[entryKey];if(!entryList){return false;}var entry;for(var i=0,l=entryList.length;i<l;i++){entry=entryList[i];if(entry.handler===listener&&entry.context===self){qx.lang.Array.removeAt(entryList,i);if(entryList.length==0){this.__bv(target,type,capture);}return true;}}return false;},removeListenerById:function(target,id){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){var msg=SSSS_14+id+SSSS_6+SSSS_11+target.classname+SSSS_5;qx.core.Assert.assertObject(target,msg+SSSS_8);qx.core.Assert.assertString(id,msg+SSSS_30);}var split=id.split(SSSS_4);var type=split[0];var capture=split[1].charCodeAt(0)==99;var unique=split[2];var targetKey=target.$$hash||qx.core.ObjectRegistry.toHashCode(target);var targetMap=this.__bo[targetKey];if(!targetMap){return false;}var entryKey=type+(capture?SSSS_3:SSSS_2);var entryList=targetMap[entryKey];if(!entryList){return false;}var entry;for(var i=0,l=entryList.length;i<l;i++){entry=entryList[i];if(entry.unique===unique){qx.lang.Array.removeAt(entryList,i);if(entryList.length==0){this.__bv(target,type,capture);}return true;}}return false;},removeAllListeners:function(target){var targetKey=target.$$hash||qx.core.ObjectRegistry.toHashCode(target);var targetMap=this.__bo[targetKey];if(!targetMap){return false;}var split,type,capture;for(var entryKey in targetMap){if(targetMap[entryKey].length>0){split=entryKey.split(SSSS_4);type=split[0];capture=split[1]===SSSS_19;this.__bv(target,type,capture);}}delete this.__bo[targetKey];return true;},__bv:function(target,type,capture){var handler=this.findHandler(target,type);if(handler){handler.unregisterEvent(target,type,capture);return;}if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.log.Logger.warn(this,"There is no event handler for the event '"+type+"' on target '"+target+"'!");}},dispatchEvent:function(target,event){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){var msg=SSSS_22+event+SSSS_31+target.classname+SSSS_5;qx.core.Assert.assertNotUndefined(target,msg+SSSS_10);qx.core.Assert.assertNotNull(target,msg+SSSS_10);qx.core.Assert.assertInstance(event,qx.event.type.Event,msg+SSSS_33);}var type=event.getType();if(!event.getBubbles()&&!this.hasListener(target,type)){qx.event.Pool.getInstance().poolObject(event);return true;}if(!event.getTarget()){event.setTarget(target);}var classes=this.__bn.getDispatchers();var instance;var dispatched=false;for(var i=0,l=classes.length;i<l;i++){instance=this.getDispatcher(classes[i]);if(instance.canDispatchEvent(target,event,type)){instance.dispatchEvent(target,event,type);dispatched=true;break;}}if(!dispatched){qx.log.Logger.error(this,"No dispatcher can handle event of type "+type+" on "+target);return true;}var preventDefault=event.getDefaultPrevented();qx.event.Pool.getInstance().poolObject(event);return !preventDefault;},dispose:function(){this.__bn.removeManager(this);qx.util.DisposeUtil.disposeMap(this,SSSS_20);qx.util.DisposeUtil.disposeMap(this,SSSS_23);this.__bo=this.__bl=this.__bt=null;this.__bn=this.__br=null;}}});})();(function(){var SSSS_0="qx.dom.Node",SSSS_1="qx.client",SSSS_2="";qx.Class.define(SSSS_0,{statics:{ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12,getDocument:function(node){return node.nodeType===this.DOCUMENT?node:node.ownerDocument||node.document;},getWindow:qx.core.Variant.select(SSSS_1,{"mshtml":function(node){if(node.nodeType==null){return node;}if(node.nodeType!==this.DOCUMENT){node=node.ownerDocument;}return node.parentWindow;},"default":function(node){if(node.nodeType==null){return node;}if(node.nodeType!==this.DOCUMENT){node=node.ownerDocument;}return node.defaultView;}}),getDocumentElement:function(node){return this.getDocument(node).documentElement;},getBodyElement:function(node){return this.getDocument(node).body;},isNode:function(node){return !!(node&&node.nodeType!=null);},isElement:function(node){return !!(node&&node.nodeType===this.ELEMENT);},isDocument:function(node){return !!(node&&node.nodeType===this.DOCUMENT);},isText:function(node){return !!(node&&node.nodeType===this.TEXT);},isWindow:function(obj){return !!(obj&&obj.history&&obj.location&&obj.document);},isNodeName:function(node,nodeName){if(!nodeName||!node||!node.nodeName){return false;}return nodeName.toLowerCase()==qx.dom.Node.getName(node);},getName:function(node){if(!node||!node.nodeName){return null;}return node.nodeName.toLowerCase();},getText:function(node){if(!node||!node.nodeType){return null;}switch(node.nodeType){case 1:var i,a=[],nodes=node.childNodes,length=nodes.length;for(i=0;i<length;i++){a[i]=this.getText(nodes[i]);}return a.join(SSSS_2);case 2:return node.nodeValue;break;case 3:return node.nodeValue;break;}return null;}}});})();(function(){var SSSS_0="qx.debug",SSSS_1="on",SSSS_2="The second parameter must be an array.",SSSS_3="mshtml",SSSS_4="The first parameter must be an array.",SSSS_5="Parameter must be an array.",SSSS_6="qx.client",SSSS_7="[object Array]",SSSS_8="qx.lang.Array",SSSS_9="qx",SSSS_10="number",SSSS_11="string";qx.Class.define(SSSS_8,{statics:{toArray:function(object,offset){return this.cast(object,Array,offset);},cast:function(object,constructor,offset){if(object.constructor===constructor){return object;}if(qx.Class.hasInterface(object,qx.data.IListData)){var object=object.toArray();}var ret=new constructor;if(qx.core.Variant.isSet(SSSS_6,SSSS_3)){if(object.item){for(var i=offset||0,l=object.length;i<l;i++){ret.push(object[i]);}return ret;}}if(Object.prototype.toString.call(object)===SSSS_7&&offset==null){ret.push.apply(ret,object);}else{ret.push.apply(ret,Array.prototype.slice.call(object,offset||0));}return ret;},fromArguments:function(args,offset){return Array.prototype.slice.call(args,offset||0);},fromCollection:function(coll){if(qx.core.Variant.isSet(SSSS_6,SSSS_3)){if(coll.item){var arr=[];for(var i=0,l=coll.length;i<l;i++){arr[i]=coll[i];}return arr;}}return Array.prototype.slice.call(coll,0);},fromShortHand:function(input){var len=input.length;var result=qx.lang.Array.clone(input);switch(len){case 1:result[1]=result[2]=result[3]=result[0];break;case 2:result[2]=result[0];case 3:result[3]=result[1];}return result;},clone:function(arr){return arr.concat();},insertAt:function(arr,obj,i){arr.splice(i,0,obj);return arr;},insertBefore:function(arr,obj,obj2){var i=arr.indexOf(obj2);if(i==-1){arr.push(obj);}else{arr.splice(i,0,obj);}return arr;},insertAfter:function(arr,obj,obj2){var i=arr.indexOf(obj2);if(i==-1||i==(arr.length-1)){arr.push(obj);}else{arr.splice(i+1,0,obj);}return arr;},removeAt:function(arr,i){return arr.splice(i,1)[0];},removeAll:function(arr){arr.length=0;return this;},append:function(arr1,arr2){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertArray(arr1,SSSS_4);qx.core.Assert&&qx.core.Assert.assertArray(arr2,SSSS_2);}Array.prototype.push.apply(arr1,arr2);return arr1;},exclude:function(arr1,arr2){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertArray(arr1,SSSS_4);qx.core.Assert&&qx.core.Assert.assertArray(arr2,SSSS_2);}for(var i=0,il=arr2.length,index;i<il;i++){index=arr1.indexOf(arr2[i]);if(index!=-1){arr1.splice(index,1);}}return arr1;},remove:function(arr,obj){var i=arr.indexOf(obj);if(i!=-1){arr.splice(i,1);return obj;}},contains:function(arr,obj){return arr.indexOf(obj)!==-1;},equals:function(arr1,arr2){var length=arr1.length;if(length!==arr2.length){return false;}for(var i=0;i<length;i++){if(arr1[i]!==arr2[i]){return false;}}return true;},sum:function(arr){var result=0;for(var i=0,l=arr.length;i<l;i++){result+=arr[i];}return result;},max:function(arr){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertArray(arr,SSSS_5);}var i,len=arr.length,result=arr[0];for(i=1;i<len;i++){if(arr[i]>result){result=arr[i];}}return result===undefined?null:result;},min:function(arr){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertArray(arr,SSSS_5);}var i,len=arr.length,result=arr[0];for(i=1;i<len;i++){if(arr[i]<result){result=arr[i];}}return result===undefined?null:result;},unique:function(arr){var ret=[],doneStrings={},doneNumbers={},doneObjects={};var value,count=0;var key=SSSS_9+qx.lang.Date.now();var hasNull=false,hasFalse=false,hasTrue=false;for(var i=0,len=arr.length;i<len;i++){value=arr[i];if(value===null){if(!hasNull){hasNull=true;ret.push(value);}}else if(value===undefined){}else if(value===false){if(!hasFalse){hasFalse=true;ret.push(value);}}else if(value===true){if(!hasTrue){hasTrue=true;ret.push(value);}}else if(typeof value===SSSS_11){if(!doneStrings[value]){doneStrings[value]=1;ret.push(value);}}else if(typeof value===SSSS_10){if(!doneNumbers[value]){doneNumbers[value]=1;ret.push(value);}}else{hash=value[key];if(hash==null){hash=value[key]=count++;}if(!doneObjects[hash]){doneObjects[hash]=value;ret.push(value);}}}for(var hash in doneObjects){try{delete doneObjects[hash][key];}catch(ex){try{doneObjects[hash][key]=null;}catch(ex){throw new Error("Cannot clean-up map entry doneObjects["+hash+"]["+key+"]");}}}return ret;}}});})();(function(){var SSSS_0="()",SSSS_1="qx.debug",SSSS_2=".",SSSS_3=".prototype.",SSSS_4="on",SSSS_5="Invalid parameter 'func'.",SSSS_6='anonymous()',SSSS_7="Trying to call a bound function with a disposed object as context: ",SSSS_8=" :: ",SSSS_9="qx.lang.Function",SSSS_10=".constructor()";qx.Class.define(SSSS_9,{statics:{getCaller:function(args){return args.caller?args.caller.callee:args.callee.caller;},getName:function(fcn){if(fcn.displayName){return fcn.displayName;}if(fcn.$$original||fcn.wrapper||fcn.classname){return fcn.classname+SSSS_10;}if(fcn.$$mixin){for(var key in fcn.$$mixin.$$members){if(fcn.$$mixin.$$members[key]==fcn){return fcn.$$mixin.name+SSSS_3+key+SSSS_0;}}for(var key in fcn.$$mixin){if(fcn.$$mixin[key]==fcn){return fcn.$$mixin.name+SSSS_2+key+SSSS_0;}}}if(fcn.self){var clazz=fcn.self.constructor;if(clazz){for(var key in clazz.prototype){if(clazz.prototype[key]==fcn){return clazz.classname+SSSS_3+key+SSSS_0;}}for(var key in clazz){if(clazz[key]==fcn){return clazz.classname+SSSS_2+key+SSSS_0;}}}}var fcnReResult=fcn.toString().match(/function\s*(\w*)\s*\(.*/);if(fcnReResult&&fcnReResult.length>=1&&fcnReResult[1]){return fcnReResult[1]+SSSS_0;}return SSSS_6;},globalEval:function(data){if(window.execScript){return window.execScript(data);}else{return eval.call(window,data);}},empty:function(){},returnTrue:function(){return true;},returnFalse:function(){return false;},returnNull:function(){return null;},returnThis:function(){return this;},returnZero:function(){return 0;},create:function(func,options){if(qx.core.Variant.isSet(SSSS_1,SSSS_4)){qx.core.Assert&&qx.core.Assert.assertFunction(func,SSSS_5);}if(!options){return func;}if(!(options.self||options.args||options.delay!=null||options.periodical!=null||options.attempt)){return func;}return function(event){if(qx.core.Variant.isSet(SSSS_1,SSSS_4)){if(options.self instanceof qx.core.Object){qx.core.Assert&&qx.core.Assert.assertFalse(options.self.isDisposed(),SSSS_7+options.self.toString()+SSSS_8+qx.lang.Function.getName(func));}}var args=qx.lang.Array.fromArguments(arguments);if(options.args){args=options.args.concat(args);}if(options.delay||options.periodical){var returns=qx.event.GlobalError.observeMethod(function(){return func.apply(options.self||this,args);});if(options.delay){return window.setTimeout(returns,options.delay);}if(options.periodical){return window.setInterval(returns,options.periodical);}}else if(options.attempt){var ret=false;try{ret=func.apply(options.self||this,args);}catch(ex){}return ret;}else{return func.apply(options.self||this,args);}};},bind:function(func,self,varargs){return this.create(func,{self:self,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null});},curry:function(func,varargs){return this.create(func,{args:arguments.length>1?qx.lang.Array.fromArguments(arguments,1):null});},listener:function(func,self,varargs){if(arguments.length<3){return function(event){return func.call(self||this,event||window.event);};}else{var optargs=qx.lang.Array.fromArguments(arguments,2);return function(event){var args=[event||window.event];args.push.apply(args,optargs);func.apply(self||this,args);};}},attempt:function(func,self,varargs){return this.create(func,{self:self,attempt:true,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null})();},delay:function(func,delay,self,varargs){return this.create(func,{delay:delay,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();},periodical:function(func,interval,self,varargs){return this.create(func,{periodical:interval,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();}}});})();(function(){var SSSS_0="qx.debug",SSSS_1="on",SSSS_2="Invalid event target.",SSSS_3="Invalid event dispatcher!",SSSS_4="': ",SSSS_5="Invalid event handler.",SSSS_6="' on target '",SSSS_7="Could not fire event '",SSSS_8="undefined",SSSS_9="qx.event.Registration";qx.Class.define(SSSS_9,{statics:{__bw:{},getManager:function(target){if(target==null){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.log.Logger.error("qx.event.Registration.getManager(null) was called!");qx.log.Logger.trace(this);}target=window;}else if(target.nodeType){target=qx.dom.Node.getWindow(target);}else if(!qx.dom.Node.isWindow(target)){target=window;}var hash=target.$$hash||qx.core.ObjectRegistry.toHashCode(target);var manager=this.__bw[hash];if(!manager){manager=new qx.event.Manager(target,this);this.__bw[hash]=manager;}return manager;},removeManager:function(mgr){var id=mgr.getWindowId();delete this.__bw[id];},addListener:function(target,type,listener,self,capture){return this.getManager(target).addListener(target,type,listener,self,capture);},removeListener:function(target,type,listener,self,capture){return this.getManager(target).removeListener(target,type,listener,self,capture);},removeListenerById:function(target,id){return this.getManager(target).removeListenerById(target,id);},removeAllListeners:function(target){return this.getManager(target).removeAllListeners(target);},hasListener:function(target,type,capture){return this.getManager(target).hasListener(target,type,capture);},serializeListeners:function(target){return this.getManager(target).serializeListeners(target);},createEvent:function(type,clazz,args){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(arguments.length>1&&clazz===undefined){throw new Error("Create event of type "+type+" with undefined class. Please use null to explicit fallback to default event type!");}}if(clazz==null){clazz=qx.event.type.Event;}var obj=qx.event.Pool.getInstance().getObject(clazz);if(!obj){return;}args?obj.init.apply(obj,args):obj.init();if(type){obj.setType(type);}return obj;},dispatchEvent:function(target,event){return this.getManager(target).dispatchEvent(target,event);},fireEvent:function(target,type,clazz,args){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(arguments.length>2&&clazz===undefined&&args!==undefined){throw new Error("Create event of type "+type+" with undefined class. Please use null to explicit fallback to default event type!");}var msg=SSSS_7+type+SSSS_6+(target?target.classname:SSSS_8)+SSSS_4;qx.core.Assert.assertNotUndefined(target,msg+SSSS_2);qx.core.Assert.assertNotNull(target,msg+SSSS_2);}var evt=this.createEvent(type,clazz||null,args);return this.getManager(target).dispatchEvent(target,evt);},fireNonBubblingEvent:function(target,type,clazz,args){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(arguments.length>2&&clazz===undefined&&args!==undefined){throw new Error("Create event of type "+type+" with undefined class. Please use null to explicit fallback to default event type!");}}var mgr=this.getManager(target);if(!mgr.hasListener(target,type,false)){return true;}var evt=this.createEvent(type,clazz||null,args);return mgr.dispatchEvent(target,evt);},PRIORITY_FIRST:-32000,PRIORITY_NORMAL:0,PRIORITY_LAST:32000,__bx:[],addHandler:function(handler){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert.assertInterface(handler,qx.event.IEventHandler,SSSS_5);}this.__bx.push(handler);this.__bx.sort(function(a,b){return a.PRIORITY-b.PRIORITY;});},getHandlers:function(){return this.__bx;},__by:[],addDispatcher:function(dispatcher,priority){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert.assertInterface(dispatcher,qx.event.IEventDispatcher,SSSS_3);}this.__by.push(dispatcher);this.__by.sort(function(a,b){return a.PRIORITY-b.PRIORITY;});},getDispatchers:function(){return this.__by;}}});})();(function(){var SSSS_0="qx.log.appender.RingBuffer";qx.Class.define(SSSS_0,{extend:Object,construct:function(maxMessages){this.__bz=[];this.setMaxMessages(maxMessages||50);},members:{__bA:0,__bz:null,__bB:50,setMaxMessages:function(maxMessages){this.__bB=maxMessages;this.clearHistory();},getMaxMessages:function(){return this.__bB;},process:function(entry){var maxMessages=this.getMaxMessages();if(this.__bz.length<maxMessages){this.__bz.push(entry);}else{this.__bz[this.__bA++]=entry;if(this.__bA>=maxMessages){this.__bA=0;}}},getAllLogEvents:function(){return this.retrieveLogEvents(this.getMaxMessages());},retrieveLogEvents:function(count){if(count>this.__bz.length){count=this.__bz.length;}if(this.__bz.length==this.getMaxMessages()){var indexOfYoungestElementInHistory=this.__bA-1;}else{indexOfYoungestElementInHistory=this.__bz.length-1;}var startIndex=indexOfYoungestElementInHistory-count+1;if(startIndex<0){startIndex+=this.__bz.length;}var result;if(startIndex<=indexOfYoungestElementInHistory){result=this.__bz.slice(startIndex,indexOfYoungestElementInHistory+1);}else{result=this.__bz.slice(startIndex,this.__bz.length).concat(this.__bz.slice(0,indexOfYoungestElementInHistory+1));}return result;},clearHistory:function(){this.__bz=[];this.__bA=0;}}});})();(function(){var SSSS_0="qx.debug",SSSS_1="unknown",SSSS_2="on",SSSS_3="node",SSSS_4="error",SSSS_5="...(+",SSSS_6="array",SSSS_7=")",SSSS_8="info",SSSS_9="instance",SSSS_10="string",SSSS_11="null",SSSS_12="class",SSSS_13="number",SSSS_14="stringify",SSSS_15="]",SSSS_16="function",SSSS_17="boolean",SSSS_18="debug",SSSS_19="map",SSSS_20="undefined",SSSS_21="qx.log.Logger",SSSS_22=")}",SSSS_23="#",SSSS_24="warn",SSSS_25="document",SSSS_26="{...(",SSSS_27="[",SSSS_28="text[",SSSS_29="[...(",SSSS_30="\n",SSSS_31=")]",SSSS_32="object";qx.Class.define(SSSS_21,{statics:{__bC:SSSS_18,setLevel:function(value){this.__bC=value;},getLevel:function(){return this.__bC;},setTreshold:function(value){this.__bF.setMaxMessages(value);},getTreshold:function(){return this.__bF.getMaxMessages();},__bD:{},__bE:0,register:function(appender){if(appender.$$id){return;}var id=this.__bE++;this.__bD[id]=appender;appender.$$id=id;var entries=this.__bF.getAllLogEvents();for(var i=0,l=entries.length;i<l;i++){appender.process(entries[i]);}},unregister:function(appender){var id=appender.$$id;if(id==null){return;}delete this.__bD[id];delete appender.$$id;},debug:function(object,message){qx.log.Logger.__bH(SSSS_18,arguments);},info:function(object,message){qx.log.Logger.__bH(SSSS_8,arguments);},warn:function(object,message){qx.log.Logger.__bH(SSSS_24,arguments);},error:function(object,message){qx.log.Logger.__bH(SSSS_4,arguments);},trace:function(object){qx.log.Logger.__bH(SSSS_8,[object,qx.dev.StackTrace.getStackTrace().join(SSSS_30)]);},deprecatedMethodWarning:function(fcn,msg){if(qx.core.Variant.isSet(SSSS_0,SSSS_2)){var functionName=qx.lang.Function.getName(fcn);this.warn("The method '"+functionName+"' is deprecated: "+(msg||"Please consult the API documentation of this method for alternatives."));this.trace();}},deprecatedClassWarning:function(clazz,msg){if(qx.core.Variant.isSet(SSSS_0,SSSS_2)){var className=clazz.classname||SSSS_1;this.warn("The class '"+className+"' is deprecated: "+(msg||"Please consult the API documentation of this class for alternatives."));this.trace();}},deprecatedEventWarning:function(clazz,event,msg){if(qx.core.Variant.isSet(SSSS_0,SSSS_2)){var className=clazz.self?clazz.self.classname:SSSS_1;this.warn("The event '"+(event||"unknown")+"' from class '"+className+"' is deprecated: "+(msg||"Please consult the API documentation of this class for alternatives."));this.trace();}},deprecatedMixinWarning:function(clazz,msg){if(qx.core.Variant.isSet(SSSS_0,SSSS_2)){var mixinName=clazz?clazz.name:SSSS_1;this.warn("The mixin '"+mixinName+"' is deprecated: "+(msg||"Please consult the API documentation of this class for alternatives."));this.trace();}},deprecatedConstantWarning:function(clazz,constant,msg){if(qx.core.Variant.isSet(SSSS_0,SSSS_2)){if(clazz.__defineGetter__){var self=this;var constantValue=clazz[constant];clazz.__defineGetter__(constant,function(){self.warn("The constant '"+constant+"' is deprecated: "+(msg||"Please consult the API documentation for alternatives."));self.trace();return constantValue;});}}},clear:function(){this.__bF.clearHistory();},__bF:new qx.log.appender.RingBuffer(50),__bG:{debug:0,info:1,warn:2,error:3},__bH:function(level,args){var levels=this.__bG;if(levels[level]<levels[this.__bC]){return;}var object=args.length<2?null:args[0];var start=object?1:0;var items=[];for(var i=start,l=args.length;i<l;i++){items.push(this.__bJ(args[i],true));}var time=new Date;var entry={time:time,offset:time-qx.Bootstrap.LOADSTART,level:level,items:items,win:window};if(object){if(object instanceof qx.core.Object){entry.object=object.$$hash;}else if(object.$$type){entry.clazz=object;}}this.__bF.process(entry);var appender=this.__bD;for(var id in appender){appender[id].process(entry);}},__bI:function(value){if(value===undefined){return SSSS_20;}else if(value===null){return SSSS_11;}if(value.$$type){return SSSS_12;}var type=typeof value;if(type===SSSS_16||type==SSSS_10||type===SSSS_13||type===SSSS_17){return type;}else if(type===SSSS_32){if(value.nodeType){return SSSS_3;}else if(value.classname){return SSSS_9;}else if(value instanceof Array){return SSSS_6;}else if(value instanceof Error){return SSSS_4;}else{return SSSS_19;}}if(value.toString){return SSSS_14;}return SSSS_1;},__bJ:function(value,deep){var type=this.__bI(value);var text=SSSS_1;var trace=[];switch(type){case SSSS_11:case SSSS_20:text=type;break;case SSSS_10:case SSSS_13:case SSSS_17:text=value;break;case SSSS_3:if(value.nodeType===9){text=SSSS_25;}else if(value.nodeType===3){text=SSSS_28+value.nodeValue+SSSS_15;}else if(value.nodeType===1){text=value.nodeName.toLowerCase();if(value.id){text+=SSSS_23+value.id;}}else{text=SSSS_3;}break;case SSSS_16:text=qx.lang.Function.getName(value)||type;break;case SSSS_9:text=value.basename+SSSS_27+value.$$hash+SSSS_15;break;case SSSS_12:case SSSS_14:text=value.toString();break;case SSSS_4:trace=qx.dev.StackTrace.getStackTraceFromError(value);text=value.toString();break;case SSSS_6:if(deep){text=[];for(var i=0,l=value.length;i<l;i++){if(text.length>20){text.push(SSSS_5+(l-i)+SSSS_7);break;}text.push(this.__bJ(value[i],false));}}else{text=SSSS_29+value.length+SSSS_31;}break;case SSSS_19:if(deep){var temp;var sorted=[];for(var key in value){sorted.push(key);}sorted.sort();text=[];for(var i=0,l=sorted.length;i<l;i++){if(text.length>20){text.push(SSSS_5+(l-i)+SSSS_7);break;}key=sorted[i];temp=this.__bJ(value[key],false);temp.key=key;text.push(temp);}}else{var number=0;for(var key in value){number++;}text=SSSS_26+number+SSSS_22;}break;}return {type:type,text:text,trace:trace};}},defer:function(statics){var logs=qx.Bootstrap.$$logs;for(var i=0;i<logs.length;i++){this.__bH(logs[i][0],logs[i][1]);}qx.Bootstrap.debug=statics.debug;qx.Bootstrap.info=statics.info;qx.Bootstrap.warn=statics.warn;qx.Bootstrap.error=statics.error;qx.Bootstrap.trace=statics.trace;}});})();(function(){var SSSS_0="qx.debug",SSSS_1="on",SSSS_2="set",SSSS_3="qx.disposerDebugLevel",SSSS_4="get",SSSS_5="reset",SSSS_6="qx.core.Object",SSSS_7="]",SSSS_8="[",SSSS_9="$$user_",SSSS_10="object",SSSS_11="Object";qx.Class.define(SSSS_6,{extend:Object,include:[qx.data.MBinding],construct:function(){qx.core.ObjectRegistry.register(this);},statics:{$$type:SSSS_11},members:{toHashCode:function(){return this.$$hash;},toString:function(){return this.classname+SSSS_8+this.$$hash+SSSS_7;},base:function(args,varags){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(!qx.Bootstrap.isFunction(args.callee.base)){throw new Error("Cannot call super class. Method is not derived: "+args.callee.displayName);}}if(arguments.length===1){return args.callee.base.call(this);}else{return args.callee.base.apply(this,Array.prototype.slice.call(arguments,1));}},self:function(args){return args.callee.self;},clone:function(){var clazz=this.constructor;var clone=new clazz;var props=qx.Class.getProperties(clazz);var user=qx.core.Property.$$store.user;var setter=qx.core.Property.$$method.set;var name;for(var i=0,l=props.length;i<l;i++){name=props[i];if(this.hasOwnProperty(user[name])){clone[setter[name]](this[user[name]]);}}return clone;},set:function(data,value){var setter=qx.core.Property.$$method.set;if(qx.Bootstrap.isString(data)){if(!this[setter[data]]){if(this[SSSS_2+qx.Bootstrap.firstUp(data)]!=undefined){this[SSSS_2+qx.Bootstrap.firstUp(data)](value);return;}if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.Bootstrap.error("No such property: "+data);return this;}}return this[setter[data]](value);}else{for(var prop in data){if(!this[setter[prop]]){if(this[SSSS_2+qx.Bootstrap.firstUp(prop)]!=undefined){this[SSSS_2+qx.Bootstrap.firstUp(prop)](data[prop]);continue;}if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.Bootstrap.error("No such property: "+prop);return this;}}this[setter[prop]](data[prop]);}return this;}},get:function(prop){var getter=qx.core.Property.$$method.get;if(!this[getter[prop]]){if(this[SSSS_4+qx.Bootstrap.firstUp(prop)]!=undefined){return this[SSSS_4+qx.Bootstrap.firstUp(prop)]();}if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.Bootstrap.error("No such property: "+prop);return this;}}return this[getter[prop]]();},reset:function(prop){var resetter=qx.core.Property.$$method.reset;if(!this[resetter[prop]]){if(this[SSSS_5+qx.Bootstrap.firstUp(prop)]!=undefined){this[SSSS_5+qx.Bootstrap.firstUp(prop)]();return;}if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.Bootstrap.error("No such property: "+prop);return this;}}this[resetter[prop]]();},__bK:qx.event.Registration,addListener:function(type,listener,self,capture){if(!this.$$disposed){return this.__bK.addListener(this,type,listener,self,capture);}return null;},addListenerOnce:function(type,listener,self,capture){var callback=function(e){listener.call(self||this,e);this.removeListener(type,callback,this,capture);};return this.addListener(type,callback,this,capture);},removeListener:function(type,listener,self,capture){if(!this.$$disposed){return this.__bK.removeListener(this,type,listener,self,capture);}return false;},removeListenerById:function(id){if(!this.$$disposed){return this.__bK.removeListenerById(this,id);}return false;},hasListener:function(type,capture){return this.__bK.hasListener(this,type,capture);},dispatchEvent:function(evt){if(!this.$$disposed){return this.__bK.dispatchEvent(this,evt);}return true;},fireEvent:function(type,clazz,args){if(!this.$$disposed){return this.__bK.fireEvent(this,type,clazz,args);}return true;},fireNonBubblingEvent:function(type,clazz,args){if(!this.$$disposed){return this.__bK.fireNonBubblingEvent(this,type,clazz,args);}return true;},fireDataEvent:function(type,data,oldData,cancelable){if(!this.$$disposed){if(oldData===undefined){oldData=null;}return this.__bK.fireNonBubblingEvent(this,type,qx.event.type.Data,[data,oldData,!!cancelable]);}return true;},__bL:null,setUserData:function(key,value){if(!this.__bL){this.__bL={};}this.__bL[key]=value;},getUserData:function(key){if(!this.__bL){return null;}var data=this.__bL[key];return data===undefined?null:data;},__bM:qx.log.Logger,debug:function(msg){this.__bM.debug(this,msg);},info:function(msg){this.__bM.info(this,msg);},warn:function(msg){this.__bM.warn(this,msg);},error:function(msg){this.__bM.error(this,msg);},trace:function(){this.__bM.trace(this);},isDisposed:function(){return this.$$disposed||false;},dispose:function(){if(this.$$disposed){return;}this.$$disposed=true;this.$$instance=null;this.$$allowconstruct=null;if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_3)>1){qx.Bootstrap.debug(this,"Disposing "+this.classname+"["+this.toHashCode()+"]");}}var clazz=this.constructor;var mixins;while(clazz.superclass){if(clazz.$$destructor){clazz.$$destructor.call(this);}if(clazz.$$includes){mixins=clazz.$$flatIncludes;for(var i=0,l=mixins.length;i<l;i++){if(mixins[i].$$destructor){mixins[i].$$destructor.call(this);}}}clazz=clazz.superclass;}var properties=qx.Class.getProperties(this.constructor);for(var i=0,l=properties.length;i<l;i++){delete this[SSSS_9+properties[i]];}if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_3)>0){var key,value;for(key in this){value=this[key];if(value!==null&&typeof value===SSSS_10&&!(qx.Bootstrap.isString(value))){if(this.constructor.prototype[key]!=null){continue;}qx.Bootstrap.warn(this,"Missing destruct definition for '"+key+"' in "+this.classname+"["+this.toHashCode()+"]: "+value);delete this[key];}}}}},_disposeFields:function(varargs){qx.Bootstrap.warn("Don't use '_disposeFields' - instead assign directly to 'null'");qx.util.DisposeUtil.disposeFields(this,arguments);},_disposeObjects:function(varargs){qx.util.DisposeUtil.disposeObjects(this,arguments);},_disposeArray:function(field){qx.util.DisposeUtil.disposeArray(this,field);},_disposeMap:function(field){qx.util.DisposeUtil.disposeMap(this,field);}},settings:{"qx.disposerDebugLevel":0},defer:function(statics){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.Class.include(statics,qx.core.MAssert);}},destruct:function(){qx.event.Registration.removeAllListeners(this);qx.core.ObjectRegistry.unregister(this);this.__bL=null;var clazz=this.constructor;var properties;var store=qx.core.Property.$$store;var storeUser=store.user;var storeTheme=store.theme;var storeInherit=store.inherit;var storeUseinit=store.useinit;var storeInit=store.init;while(clazz){properties=clazz.$$properties;if(properties){for(var name in properties){if(properties[name].dispose){this[storeUser[name]]=this[storeTheme[name]]=this[storeInherit[name]]=this[storeUseinit[name]]=this[storeInit[name]]=undefined;}}}clazz=clazz.superclass;}}});})();(function(){var SSSS_0="blueprint.data.Object",SSSS_1="changeValue";qx.Class.define(SSSS_0,{extend:qx.core.Object,construct:function(value){arguments.callee.base.call(this);if(value!=undefined){this.setValue(value);}},properties:{value:{init:null,event:SSSS_1,nullable:true}}});})();(function(){var SSSS_0='__postContainerConstruct__',SSSS_1='function',SSSS_2='__postContainerConstruct__args__',SSSS_3="String",SSSS_4='newFunction = ',SSSS_5='convertfunction = ',SSSS_6="",SSSS_7='',SSSS_8="top_container",SSSS_9="Object",SSSS_10="blueprint.MBlueprintManager",SSSS_11="converter";qx.Mixin.define(SSSS_10,{construct:function(vData,namespace,skipRecursion){if(vData.constructorSettings!=undefined){this.setConstructorSettings(vData.constructorSettings);}else{this.setConstructorSettings(new Object());}if(namespace!=undefined){this.setBlueprintNamespace(namespace);}if(vData!=undefined&&vData.objectId!=undefined&&vData.objectId!=SSSS_7){this.setObjectId(vData.objectId);blueprint.util.Registry.getInstance().set(namespace,vData.objectId,this);}if(vData!=undefined){if(!skipRecursion&&vData.contents!=undefined&&vData.contents.length>0&&typeof this.add==SSSS_1){for(var i=0;i<vData.contents.length;i++){this.add(blueprint.Manager.getInstance().generate(vData.contents[i].object,this,namespace),vData.contents[i].layoutmap);}}}if(vData.type==SSSS_8){if(vData.data.simple==undefined){vData.data.simple=new Array();}for(var d in vData.data.simple){if(vData.data.simple[d] instanceof Array){var dataObject=new qx.data.Array(vData.data.simple[d]);}else{var dataObject=new blueprint.data.Object(vData.data.simple[d]);}if(dataObject!=undefined){blueprint.util.Registry.getInstance().set(namespace,d,dataObject);}}if(vData.data.complex==undefined){vData.data.complex=new Array();}for(var d=0;d<vData.data.complex.length;d++){if(vData.data.complex[d].objectClass!=undefined&&vData.data.complex[d].objectId!=undefined){blueprint.Manager.getInstance().generate(vData.data.complex[d],this,namespace);}}if(vData.controllers==undefined){vData.controllers=new Array();}for(var c=0;c<vData.controllers.length;c++){blueprint.Manager.getInstance().generate(vData.controllers[c],this,namespace);}if(vData.bindings==undefined){vData.bindings=new Array();}for(var b=0;b<vData.bindings.length;b++){var obj=vData.bindings[b];var sourceObj=blueprint.util.Registry.getInstance().get(this,vData.bindings[b].sourceId);var targetObj=blueprint.util.Registry.getInstance().get(this,vData.bindings[b].targetId);var options=new Object();if(vData.bindings[b].converter!=undefined){var functionText=blueprint.util.Misc.replaceVariables(this,vData.bindings[b].converter);try{var convertfunction=null;eval(SSSS_5+functionText);options[SSSS_11]=convertfunction;}catch(e){alert("converter function "+vData.bindings[b].converter+" failed to initialize with the error: "+e.message);}}this.debug(sourceObj+".bind("+obj.sourceProperty+", "+targetObj+", "+obj.targetProperty+")");sourceObj.bind(obj.sourceProperty,targetObj,obj.targetProperty,options);}for(var scriptName in vData.scripts){var scriptText=blueprint.util.Misc.replaceVariables(this,vData.scripts[scriptName]);try{eval(scriptText);}catch(e){alert("blueprintScript "+scriptName+" failed with the error: "+e.message);}}for(var functionName in vData.functions){var functionText=blueprint.util.Misc.replaceVariables(this,vData.functions[functionName]);try{var newFunction=null;eval(SSSS_4+functionText);blueprint.util.Registry.getInstance().set(namespace,functionName,newFunction);}catch(e){alert("blueprintFunction "+functionName+" failed to initialize with the error: "+e.message);}}}if(typeof this.postMixinConstruct==SSSS_1){this.postMixinConstruct(vData,namespace,skipRecursion);}if(typeof this.postContainerConstruct==SSSS_1){if(blueprint.util.Registry.getInstance().check(this,SSSS_0)==false&&blueprint.util.Registry.getInstance().check(this,SSSS_2)==false){blueprint.util.Registry.getInstance().set(namespace,SSSS_0,new Array());blueprint.util.Registry.getInstance().set(namespace,SSSS_2,new Array());}blueprint.util.Registry.getInstance().get(this,SSSS_0).push(this.postContainerConstruct);blueprint.util.Registry.getInstance().get(this,SSSS_2).push(new Array(vData,namespace,skipRecursion,this));}},properties:{blueprintNamespace:{check:SSSS_3,init:null,nullable:true},constructorSettings:{check:SSSS_9},objectId:{check:SSSS_3,init:SSSS_6}},members:{},destruct:function(){}});})();(function(){var SSSS_0="q",SSSS_1='t',SSSS_2="application/json",SSSS_3="Number",SSSS_4="interval",SSSS_5=",",SSSS_6="completed",SSSS_7="blueprint.data.example.Stocks",SSSS_8="http://localhost/framework/stocks.php",SSSS_9="Object",SSSS_10="GET";qx.Class.define(SSSS_7,{extend:blueprint.data.Object,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);if(vData.qxSettings.value!=undefined){vData.qxSettings.value=new qx.data.Array(vData.qxSettings.value);}this.set(vData.qxSettings);this.setStocks(new Object());this.updateStocks();var timer=new qx.event.Timer(this.getUpdate()*1000);timer.addListener(SSSS_4,this.updateStocks,this);timer.start();},properties:{update:{check:SSSS_3},stocks:{check:SSSS_9}},members:{updateStocks:function(){var request=new qx.io.remote.Request(SSSS_8,SSSS_10,SSSS_2);request.setFormField(SSSS_0,this.getValue().join(SSSS_5));request.addListener(SSSS_6,function(e){var stocksObj=new Object();for(var i=0;i<e.getContent().length;i++){stocksObj[e.getContent()[i][SSSS_1]]=e.getContent()[i];}this.setStocks(stocksObj);},this);request.send();},addTicker:function(ticker){this.getValue().push(ticker);this.updateStocks();},delTicker:function(item){this.getValue().remove(String(item));}}});})();(function(){var SSSS_0="CSS1Compat",SSSS_1="qx.bom.client.Feature";qx.Class.define(SSSS_1,{statics:{STANDARD_MODE:false,QUIRKS_MODE:false,CONTENT_BOX:false,BORDER_BOX:false,SVG:false,CANVAS:!!window.CanvasRenderingContext2D,VML:false,XPATH:!!document.evaluate,AIR:navigator.userAgent.indexOf("adobeair")!==-1,GEARS:!!(window.google&&window.google.gears),SSL:window.location.protocol==="https:",ECMA_OBJECT_COUNT:(({}).__count__==0),CSS_POINTER_EVENTS:"pointerEvents" in document.documentElement.style,__bN:function(){this.QUIRKS_MODE=this.__bO();this.STANDARD_MODE=!this.QUIRKS_MODE;this.CONTENT_BOX=!qx.bom.client.Engine.MSHTML||this.STANDARD_MODE;this.BORDER_BOX=!this.CONTENT_BOX;this.SVG=document.implementation&&document.implementation.hasFeature&&(document.implementation.hasFeature("org.w3c.dom.svg","1.0")||document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1"));this.VML=qx.bom.client.Engine.MSHTML;},__bO:function(){if(qx.bom.client.Engine.MSHTML&&qx.bom.client.Engine.VERSION>=8){return qx.bom.client.Engine.DOCUMENT_MODE===5;}else{return document.compatMode!==SSSS_0;}}},defer:function(statics){statics.__bN();}});})();(function(){var SSSS_0="qx.debug",SSSS_1="on",SSSS_2="Invalid argument 'map'",SSSS_3="Invalid argument 'minLength'",SSSS_4="Invalid argument 'source'",SSSS_5="Invalid argument 'target'",SSSS_6="function",SSSS_7="Invalid argument 'array'",SSSS_8="qx.lang.Object",SSSS_9="undefined",SSSS_10="object";qx.Class.define(SSSS_8,{statics:{empty:function(map){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertMap(map,SSSS_2);}for(var key in map){if(map.hasOwnProperty(key)){delete map[key];}}},isEmpty:(qx.bom.client.Feature.ECMA_OBJECT_COUNT)?function(map){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertMap(map,SSSS_2);}return map.__count__===0;}:function(map){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertMap(map,SSSS_2);}for(var key in map){return false;}return true;},hasMinLength:(qx.bom.client.Feature.ECMA_OBJECT_COUNT)?function(map,minLength){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertMap(map,SSSS_2);qx.core.Assert&&qx.core.Assert.assertInteger(minLength,SSSS_3);}return map.__count__>=minLength;}:function(map,minLength){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertMap(map,SSSS_2);qx.core.Assert&&qx.core.Assert.assertInteger(minLength,SSSS_3);}if(minLength<=0){return true;}var length=0;for(var key in map){if((++length)>=minLength){return true;}}return false;},getLength:qx.Bootstrap.objectGetLength,getKeys:qx.Bootstrap.getKeys,getKeysAsString:qx.Bootstrap.getKeysAsString,getValues:function(map){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertMap(map,SSSS_2);}var arr=[];var keys=this.getKeys(map);for(var i=0,l=keys.length;i<l;i++){arr.push(map[keys[i]]);}return arr;},mergeWith:qx.Bootstrap.objectMergeWith,carefullyMergeWith:function(target,source){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertMap(target,SSSS_5);qx.core.Assert&&qx.core.Assert.assertMap(source,SSSS_4);}return qx.lang.Object.mergeWith(target,source,false);},merge:function(target,varargs){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertMap(target,SSSS_5);}var len=arguments.length;for(var i=1;i<len;i++){qx.lang.Object.mergeWith(target,arguments[i]);}return target;},clone:function(source){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertMap(source,SSSS_4);}var clone={};for(var key in source){clone[key]=source[key];}return clone;},invert:function(map){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertMap(map,SSSS_2);}var result={};for(var key in map){result[map[key].toString()]=key;}return result;},getKeyFromValue:function(map,value){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertMap(map,SSSS_2);}for(var key in map){if(map.hasOwnProperty(key)&&map[key]===value){return key;}}return null;},contains:function(map,value){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertMap(map,SSSS_2);}return this.getKeyFromValue(map,value)!==null;},select:function(key,map){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertMap(map,SSSS_2);}return map[key];},fromArray:function(array){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){qx.core.Assert&&qx.core.Assert.assertArray(array,SSSS_7);}var obj={};for(var i=0,l=array.length;i<l;i++){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){switch(typeof array[i]){case SSSS_10:case SSSS_6:case SSSS_9:throw new Error("Could not convert complex objects like "+array[i]+" at array index "+i+" to map syntax");}}obj[array[i].toString()]=true;}return obj;}}});})();(function(){var SSSS_0="emulated",SSSS_1="native",SSSS_2='"',SSSS_3="qx.lang.Core",SSSS_4="\\\\",SSSS_5="\\\"",SSSS_6="[object Error]";qx.Class.define(SSSS_3,{statics:{errorToString:qx.lang.Object.select((!Error.prototype.toString||Error.prototype.toString()==SSSS_6)?SSSS_0:SSSS_1,{"native":Error.prototype.toString,"emulated":function(){return this.message;}}),arrayIndexOf:qx.lang.Object.select(Array.prototype.indexOf?SSSS_1:SSSS_0,{"native":Array.prototype.indexOf,"emulated":function(searchElement,fromIndex){if(fromIndex==null){fromIndex=0;}else if(fromIndex<0){fromIndex=Math.max(0,this.length+fromIndex);}for(var i=fromIndex;i<this.length;i++){if(this[i]===searchElement){return i;}}return -1;}}),arrayLastIndexOf:qx.lang.Object.select(Array.prototype.lastIndexOf?SSSS_1:SSSS_0,{"native":Array.prototype.lastIndexOf,"emulated":function(searchElement,fromIndex){if(fromIndex==null){fromIndex=this.length-1;}else if(fromIndex<0){fromIndex=Math.max(0,this.length+fromIndex);}for(var i=fromIndex;i>=0;i--){if(this[i]===searchElement){return i;}}return -1;}}),arrayForEach:qx.lang.Object.select(Array.prototype.forEach?SSSS_1:SSSS_0,{"native":Array.prototype.forEach,"emulated":function(callback,obj){var l=this.length;for(var i=0;i<l;i++){var value=this[i];if(value!==undefined){callback.call(obj||window,value,i,this);}}}}),arrayFilter:qx.lang.Object.select(Array.prototype.filter?SSSS_1:SSSS_0,{"native":Array.prototype.filter,"emulated":function(callback,obj){var res=[];var l=this.length;for(var i=0;i<l;i++){var value=this[i];if(value!==undefined){if(callback.call(obj||window,value,i,this)){res.push(this[i]);}}}return res;}}),arrayMap:qx.lang.Object.select(Array.prototype.map?SSSS_1:SSSS_0,{"native":Array.prototype.map,"emulated":function(callback,obj){var res=[];var l=this.length;for(var i=0;i<l;i++){var value=this[i];if(value!==undefined){res[i]=callback.call(obj||window,value,i,this);}}return res;}}),arraySome:qx.lang.Object.select(Array.prototype.some?SSSS_1:SSSS_0,{"native":Array.prototype.some,"emulated":function(callback,obj){var l=this.length;for(var i=0;i<l;i++){var value=this[i];if(value!==undefined){if(callback.call(obj||window,value,i,this)){return true;}}}return false;}}),arrayEvery:qx.lang.Object.select(Array.prototype.every?SSSS_1:SSSS_0,{"native":Array.prototype.every,"emulated":function(callback,obj){var l=this.length;for(var i=0;i<l;i++){var value=this[i];if(value!==undefined){if(!callback.call(obj||window,value,i,this)){return false;}}}return true;}}),stringQuote:qx.lang.Object.select(String.prototype.quote?SSSS_1:SSSS_0,{"native":String.prototype.quote,"emulated":function(){return SSSS_2+this.replace(/\\/g,SSSS_4).replace(/\"/g,SSSS_5)+SSSS_2;}})}});Error.prototype.toString=qx.lang.Core.errorToString;Array.prototype.indexOf=qx.lang.Core.arrayIndexOf;Array.prototype.lastIndexOf=qx.lang.Core.arrayLastIndexOf;Array.prototype.forEach=qx.lang.Core.arrayForEach;Array.prototype.filter=qx.lang.Core.arrayFilter;Array.prototype.map=qx.lang.Core.arrayMap;Array.prototype.some=qx.lang.Core.arraySome;Array.prototype.every=qx.lang.Core.arrayEvery;String.prototype.quote=qx.lang.Core.stringQuote;})();(function(){var SSSS_0=": ",SSSS_1="qx.type.BaseError",SSSS_2="";qx.Class.define(SSSS_1,{extend:Error,construct:function(comment,failMessage){Error.call(this,failMessage);this.__bP=comment||SSSS_2;this.message=failMessage||qx.type.BaseError.DEFAULTMESSAGE;},statics:{DEFAULTMESSAGE:"error"},members:{__bP:null,message:null,getComment:function(){return this.__bP;},toString:function(){return this.__bP+SSSS_0+this.message;}}});})();(function(){var SSSS_0="qx.core.AssertionError";qx.Class.define(SSSS_0,{extend:qx.type.BaseError,construct:function(comment,failMessage){qx.type.BaseError.call(this,comment,failMessage);this.__bQ=qx.dev.StackTrace.getStackTrace();},members:{__bQ:null,getStackTrace:function(){return this.__bQ;}}});})();(function(){var SSSS_0=":",SSSS_1="qx.client",SSSS_2="anonymous",SSSS_3="...",SSSS_4="qx.dev.StackTrace",SSSS_5="",SSSS_6="\n",SSSS_7="/source/class/",SSSS_8=".";qx.Class.define(SSSS_4,{statics:{getStackTrace:qx.core.Variant.select(SSSS_1,{"gecko":function(){try{throw new Error();}catch(ex){var errorTrace=this.getStackTraceFromError(ex);qx.lang.Array.removeAt(errorTrace,0);var callerTrace=this.getStackTraceFromCaller(arguments);var trace=callerTrace.length>errorTrace.length?callerTrace:errorTrace;for(var i=0;i<Math.min(callerTrace.length,errorTrace.length);i++){var callerCall=callerTrace[i];if(callerCall.indexOf(SSSS_2)>=0){continue;}var callerArr=callerCall.split(SSSS_0);if(callerArr.length!=2){continue;}var callerClassName=callerArr[0];var methodName=callerArr[1];var errorCall=errorTrace[i];var errorArr=errorCall.split(SSSS_0);var errorClassName=errorArr[0];var lineNumber=errorArr[1];if(qx.Class.getByName(errorClassName)){var className=errorClassName;}else{className=callerClassName;}var line=className+SSSS_0;if(methodName){line+=methodName+SSSS_0;}line+=lineNumber;trace[i]=line;}return trace;}},"mshtml|webkit":function(){return this.getStackTraceFromCaller(arguments);},"opera":function(){var foo;try{foo.bar();}catch(ex){var trace=this.getStackTraceFromError(ex);qx.lang.Array.removeAt(trace,0);return trace;}return [];}}),getStackTraceFromCaller:qx.core.Variant.select(SSSS_1,{"opera":function(args){return [];},"default":function(args){var trace=[];var fcn=qx.lang.Function.getCaller(args);var knownFunction={};while(fcn){var fcnName=qx.lang.Function.getName(fcn);trace.push(fcnName);try{fcn=fcn.caller;}catch(ex){break;}if(!fcn){break;}var hash=qx.core.ObjectRegistry.toHashCode(fcn);if(knownFunction[hash]){trace.push(SSSS_3);break;}knownFunction[hash]=fcn;}return trace;}}),getStackTraceFromError:qx.core.Variant.select(SSSS_1,{"gecko":function(error){if(!error.stack){return [];}var lineRe=/@(.+):(\d+)$/gm;var hit;var trace=[];while((hit=lineRe.exec(error.stack))!=null){var url=hit[1];var lineNumber=hit[2];var className=this.__bR(url);trace.push(className+SSSS_0+lineNumber);}return trace;},"webkit":function(error){if(error.sourceURL&&error.line){return [this.__bR(error.sourceURL)+SSSS_0+error.line];}else{return [];}},"opera":function(error){if(error.message.indexOf("Backtrace:")<0){return [];}var trace=[];var traceString=qx.lang.String.trim(error.message.split("Backtrace:")[1]);var lines=traceString.split(SSSS_6);for(var i=0;i<lines.length;i++){var reResult=lines[i].match(/\s*Line ([0-9]+) of.* (\S.*)/);if(reResult&&reResult.length>=2){var lineNumber=reResult[1];var fileName=this.__bR(reResult[2]);trace.push(fileName+SSSS_0+lineNumber);}}return trace;},"default":function(){return [];}}),__bR:function(fileName){var scriptDir=SSSS_7;var jsPos=fileName.indexOf(scriptDir);var className=(jsPos==-1)?fileName:fileName.substring(jsPos+scriptDir.length).replace(/\//g,SSSS_8).replace(/\.js$/,SSSS_5);return className;}}});})();(function(){var SSSS_0="qx.event.type.Data",SSSS_1="qx.event.type.Event",SSSS_2="qx.data.IListData";qx.Interface.define(SSSS_2,{events:{"change":SSSS_0,"changeLength":SSSS_1},members:{getItem:function(index){},setItem:function(index,item){},splice:function(startIndex,amount,varargs){},contains:function(item){},getLength:function(){},toArray:function(){}}});})();(function(){var SSSS_0="qx.lang.Date";qx.Class.define(SSSS_0,{statics:{now:function(){return +new Date;}}});})();(function(){var SSSS_0="qx.debug",SSSS_1="on",SSSS_2="Cannot stop propagation on a non bubbling event: ",SSSS_3="Invalid argument value 'cancelable'.",SSSS_4="Cannot prevent default action on a non cancelable event: ",SSSS_5="Invalid argument value 'canBubble'.",SSSS_6="qx.event.type.Event";qx.Class.define(SSSS_6,{extend:qx.core.Object,statics:{CAPTURING_PHASE:1,AT_TARGET:2,BUBBLING_PHASE:3},members:{init:function(canBubble,cancelable){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(canBubble!==undefined){qx.core.Assert.assertBoolean(canBubble,SSSS_5);}if(cancelable!==undefined){qx.core.Assert.assertBoolean(cancelable,SSSS_3);}}this._type=null;this._target=null;this._currentTarget=null;this._relatedTarget=null;this._originalTarget=null;this._stopPropagation=false;this._preventDefault=false;this._bubbles=!!canBubble;this._cancelable=!!cancelable;this._timeStamp=(new Date()).getTime();this._eventPhase=null;return this;},clone:function(embryo){if(embryo){var clone=embryo;}else{var clone=qx.event.Pool.getInstance().getObject(this.constructor);}clone._type=this._type;clone._target=this._target;clone._currentTarget=this._currentTarget;clone._relatedTarget=this._relatedTarget;clone._originalTarget=this._originalTarget;clone._stopPropagation=this._stopPropagation;clone._bubbles=this._bubbles;clone._preventDefault=this._preventDefault;clone._cancelable=this._cancelable;return clone;},stop:function(){if(this._bubbles){this.stopPropagation();}if(this._cancelable){this.preventDefault();}},stopPropagation:function(){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertTrue(this._bubbles,SSSS_2+this.getType());}this._stopPropagation=true;},getPropagationStopped:function(){return !!this._stopPropagation;},preventDefault:function(){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertTrue(this._cancelable,SSSS_4+this.getType());}this._preventDefault=true;},getDefaultPrevented:function(){return !!this._preventDefault;},getType:function(){return this._type;},setType:function(type){this._type=type;},getEventPhase:function(){return this._eventPhase;},setEventPhase:function(eventPhase){this._eventPhase=eventPhase;},getTimeStamp:function(){return this._timeStamp;},getTarget:function(){return this._target;},setTarget:function(target){this._target=target;},getCurrentTarget:function(){return this._currentTarget||this._target;},setCurrentTarget:function(currentTarget){this._currentTarget=currentTarget;},getRelatedTarget:function(){return this._relatedTarget;},setRelatedTarget:function(relatedTarget){this._relatedTarget=relatedTarget;},getOriginalTarget:function(){return this._originalTarget;},setOriginalTarget:function(originalTarget){this._originalTarget=originalTarget;},getBubbles:function(){return this._bubbles;},setBubbles:function(bubbles){this._bubbles=bubbles;},isCancelable:function(){return this._cancelable;},setCancelable:function(cancelable){this._cancelable=cancelable;}},destruct:function(){this._target=this._currentTarget=this._relatedTarget=this._originalTarget=null;}});})();(function(){var SSSS_0="qx.event.type.Data";qx.Class.define(SSSS_0,{extend:qx.event.type.Event,members:{__bS:null,__bT:null,init:function(data,old,cancelable){arguments.callee.base.call(this,false,cancelable);this.__bS=data;this.__bT=old;return this;},clone:function(embryo){var clone=arguments.callee.base.call(this,embryo);clone.__bS=this.__bS;clone.__bT=this.__bT;return clone;},getData:function(){return this.__bS;},getOldData:function(){return this.__bT;}},destruct:function(){this.__bS=this.__bT=null;}});})();(function(){var SSSS_0="qx.globalErrorHandling",SSSS_1="on",SSSS_2="qx.event.GlobalError";qx.Class.define(SSSS_2,{statics:{setErrorHandler:function(callback,context){this.__bU=callback||null;this.__bV=context||window;if(qx.core.Setting.get(SSSS_0)===SSSS_1){if(callback&&!window.onerror){window.onerror=qx.lang.Function.bind(this.__bW,this);}if(!callback&&window.onerror){window.onerror=null;}}},__bW:function(msg,uri,lineNumber){if(this.__bU){this.handleError(new qx.core.WindowError(msg,uri,lineNumber));return true;}},observeMethod:function(method){if(qx.core.Setting.get(SSSS_0)===SSSS_1){var self=this;return function(){if(!self.__bU){return method.apply(this,arguments);}try{return method.apply(this,arguments);}catch(ex){self.handleError(new qx.core.GlobalError(ex,arguments));}};}else{return method;}},handleError:function(ex){if(this.__bU){this.__bU.call(this.__bV,ex);}}},defer:function(statics){qx.core.Setting.define(SSSS_0,SSSS_1);statics.setErrorHandler(null,null);}});})();(function(){var SSSS_0="",SSSS_1="qx.core.WindowError";qx.Class.define(SSSS_1,{extend:Error,construct:function(failMessage,uri,lineNumber){Error.call(this,failMessage);this.__bX=failMessage;this.__bY=uri||SSSS_0;this.__ca=lineNumber===undefined?-1:lineNumber;},members:{__bX:null,__bY:null,__ca:null,toString:function(){return this.__bX;},getUri:function(){return this.__bY;},getLineNumber:function(){return this.__ca;}}});})();(function(){var SSSS_0="on",SSSS_1="qx.debug",SSSS_2="GlobalError: ",SSSS_3="qx.core.GlobalError";qx.Class.define(SSSS_3,{extend:Error,construct:function(exc,args){if(qx.core.Variant.isSet(SSSS_1,SSSS_0)){qx.core.Assert.assertNotUndefined(exc);}this.__cb=SSSS_2+(exc&&exc.message?exc.message:exc);Error.call(this,this.__cb);this.__cc=args;this.__cd=exc;},members:{__cd:null,__cc:null,__cb:null,toString:function(){return this.__cb;},getArguments:function(){return this.__cc;},getSourceException:function(){return this.__cd;}},destruct:function(){this.__cd=null;this.__cc=null;this.__cb=null;}});})();(function(){var SSSS_0="qx.event.IEventHandler";qx.Interface.define(SSSS_0,{statics:{TARGET_DOMNODE:1,TARGET_WINDOW:2,TARGET_OBJECT:3},members:{canHandleEvent:function(target,type){},registerEvent:function(target,type,capture){},unregisterEvent:function(target,type,capture){}}});})();(function(){var SSSS_0="qx.util.ObjectPool",SSSS_1="Integer";qx.Class.define(SSSS_0,{extend:qx.core.Object,construct:function(size){arguments.callee.base.call(this);this.__ce={};if(size!=null){this.setSize(size);}},properties:{size:{check:SSSS_1,init:Infinity}},members:{__ce:null,getObject:function(clazz){if(this.$$disposed){return;}if(!clazz){throw new Error("Class needs to be defined!");}var obj=null;var pool=this.__ce[clazz.classname];if(pool){obj=pool.pop();}if(obj){obj.$$pooled=false;}else{obj=new clazz;}return obj;},poolObject:function(obj){if(!this.__ce){return;}var classname=obj.classname;var pool=this.__ce[classname];if(obj.$$pooled){throw new Error("Object is already pooled: "+obj);}if(!pool){this.__ce[classname]=pool=[];}if(pool.length>this.getSize()){if(obj.destroy){obj.destroy();}else{obj.dispose();}return;}obj.$$pooled=true;pool.push(obj);}},destruct:function(){var pool=this.__ce;var classname,list,i,l;for(classname in pool){list=pool[classname];for(i=0,l=list.length;i<l;i++){list[i].dispose();}}delete this.__ce;}});})();(function(){var SSSS_0="singleton",SSSS_1="qx.event.Pool";qx.Class.define(SSSS_1,{extend:qx.util.ObjectPool,type:SSSS_0,construct:function(){arguments.callee.base.call(this,30);}});})();(function(){var SSSS_0="qx.util.DisposeUtil";qx.Class.define(SSSS_0,{statics:{disposeFields:function(obj,arr){qx.Bootstrap.warn("Don't use 'disposeFields' - instead assign directly to 'null'");for(var i=0,l=arr.length;i<l;i++){var name=arr[i];if(obj[name]==null||!obj.hasOwnProperty(name)){continue;}obj[name]=null;}},disposeObjects:function(obj,arr){var name;for(var i=0,l=arr.length;i<l;i++){name=arr[i];if(obj[name]==null||!obj.hasOwnProperty(name)){continue;}if(!qx.core.ObjectRegistry.inShutDown){if(obj[name].dispose){obj[name].dispose();}else{throw new Error("Has no disposable object under key: "+name+"!");}}obj[name]=null;}},disposeArray:function(obj,field){var data=obj[field];if(!data){return;}if(qx.core.ObjectRegistry.inShutDown){obj[field]=null;return;}try{var entry;for(var i=data.length-1;i>=0;i--){entry=data[i];if(entry){entry.dispose();}}}catch(ex){throw new Error("The array field: "+field+" of object: "+obj+" has non disposable entries: "+ex);}data.length=0;obj[field]=null;},disposeMap:function(obj,field){var data=obj[field];if(!data){return;}if(qx.core.ObjectRegistry.inShutDown){obj[field]=null;return;}try{for(var key in data){if(data.hasOwnProperty(key)){data[key].dispose();}}}catch(ex){throw new Error("The map field: "+field+" of object: "+obj+" has non disposable entries: "+ex);}obj[field]=null;},disposeTriggeredBy:function(disposeMe,trigger){var triggerDispose=trigger.dispose;trigger.dispose=function(){triggerDispose.call(trigger);disposeMe.dispose();};}}});})();(function(){var SSSS_0="qx.event.IEventDispatcher";qx.Interface.define(SSSS_0,{members:{canDispatchEvent:function(target,event,type){this.assertInstance(event,qx.event.type.Event);this.assertString(type);},dispatchEvent:function(target,event,type){this.assertInstance(event,qx.event.type.Event);this.assertString(type);}}});})();(function(){var SSSS_0="on",SSSS_1="qx.debug",SSSS_2="qx.event.dispatch.Direct";qx.Class.define(SSSS_2,{extend:qx.core.Object,implement:qx.event.IEventDispatcher,construct:function(manager){this._manager=manager;},statics:{PRIORITY:qx.event.Registration.PRIORITY_LAST},members:{canDispatchEvent:function(target,event,type){return !event.getBubbles();},dispatchEvent:function(target,event,type){if(qx.core.Variant.isSet(SSSS_1,SSSS_0)){if(target instanceof qx.core.Object){var expectedEventClassName=qx.Class.getEventType(target.constructor,type);var expectedEventClass=qx.Class.getByName(expectedEventClassName);if(!expectedEventClass){this.error("The event type '"+type+"' declared in the class '"+target.constructor+" is not an available class': "+expectedEventClassName);}else if(!(event instanceof expectedEventClass)){this.error("Expected event type to be instanceof '"+expectedEventClassName+"' but found '"+event.classname+"'");}}}event.setEventPhase(qx.event.type.Event.AT_TARGET);var listeners=this._manager.getListeners(target,type,false);if(listeners){for(var i=0,l=listeners.length;i<l;i++){var context=listeners[i].context||target;listeners[i].handler.call(context,event);}}}},defer:function(statics){qx.event.Registration.addDispatcher(statics);}});})();(function(){var SSSS_0="get",SSSS_1="",SSSS_2="[",SSSS_3=".",SSSS_4="last",SSSS_5="change",SSSS_6="]",SSSS_7="Number",SSSS_8="String",SSSS_9="set",SSSS_10="deepBinding",SSSS_11="item",SSSS_12="reset",SSSS_13="' (",SSSS_14="on",SSSS_15="qx.debug",SSSS_16="Boolean",SSSS_17=") to the object '",SSSS_18="Integer",SSSS_19="qx.event.type.Data",SSSS_20="qx.data.SingleValueBinding",SSSS_21="No event could be found for the property",SSSS_22="Can not remove the bindings for null object!",SSSS_23="Binding from '",SSSS_24="PositiveNumber",SSSS_25="PositiveInteger",SSSS_26="Binding does not exist!",SSSS_27=" is not an data (qx.event.type.Data) event on ",SSSS_28=").",SSSS_29="Date";qx.Class.define(SSSS_20,{statics:{DEBUG_ON:false,__cf:{},bind:function(sourceObject,sourcePropertyChain,targetObject,targetPropertyChain,options){var targetListenerMap=this.__ch(sourceObject,sourcePropertyChain,targetObject,targetPropertyChain,options);var propertyNames=sourcePropertyChain.split(SSSS_3);var arrayIndexValues=this.__co(propertyNames);var sources=[];var listeners=[];var listenerIds=[];var eventNames=[];var source=sourceObject;for(var i=0;i<propertyNames.length;i++){if(arrayIndexValues[i]!==SSSS_1){eventNames.push(SSSS_5);}else{eventNames.push(this.__cj(source,propertyNames[i]));}sources[i]=source;if(i==propertyNames.length-1){if(arrayIndexValues[i]!==SSSS_1){var itemIndex=arrayIndexValues[i]===SSSS_4?source.length-1:arrayIndexValues[i];var currentValue=source.getItem(itemIndex);this.__cn(currentValue,targetObject,targetPropertyChain,options,sourceObject);listenerIds[i]=this.__cp(source,eventNames[i],targetObject,targetPropertyChain,options,arrayIndexValues[i]);}else{if(propertyNames[i]!=null&&source[SSSS_0+qx.lang.String.firstUp(propertyNames[i])]!=null){var currentValue=source[SSSS_0+qx.lang.String.firstUp(propertyNames[i])]();this.__cn(currentValue,targetObject,targetPropertyChain,options,sourceObject);}listenerIds[i]=this.__cp(source,eventNames[i],targetObject,targetPropertyChain,options);}}else{var context={index:i,propertyNames:propertyNames,sources:sources,listenerIds:listenerIds,arrayIndexValues:arrayIndexValues,targetObject:targetObject,targetPropertyChain:targetPropertyChain,options:options,listeners:listeners};var listener=qx.lang.Function.bind(this.__cg,this,context);listeners.push(listener);listenerIds[i]=source.addListener(eventNames[i],listener);}if(source[SSSS_0+qx.lang.String.firstUp(propertyNames[i])]==null){source=null;}else if(arrayIndexValues[i]!==SSSS_1){source=source[SSSS_0+qx.lang.String.firstUp(propertyNames[i])](arrayIndexValues[i]);}else{source=source[SSSS_0+qx.lang.String.firstUp(propertyNames[i])]();}if(!source){break;}}var id={type:SSSS_10,listenerIds:listenerIds,sources:sources,targetListenerIds:targetListenerMap.listenerIds,targets:targetListenerMap.targets};this.__cq(id,sourceObject,sourcePropertyChain,targetObject,targetPropertyChain);return id;},__cg:function(context){if(context.options&&context.options.onUpdate){context.options.onUpdate(context.sources[context.index],context.targetObject);}for(var j=context.index+1;j<context.propertyNames.length;j++){var source=context.sources[j];context.sources[j]=null;if(!source){continue;}source.removeListenerById(context.listenerIds[j]);}var source=context.sources[context.index];for(var j=context.index+1;j<context.propertyNames.length;j++){if(context.arrayIndexValues[j-1]!==SSSS_1){source=source[SSSS_0+qx.lang.String.firstUp(context.propertyNames[j-1])](context.arrayIndexValues[j-1]);}else{source=source[SSSS_0+qx.lang.String.firstUp(context.propertyNames[j-1])]();}context.sources[j]=source;if(!source){this.__ck(context.targetObject,context.targetPropertyChain);break;}if(j==context.propertyNames.length-1){if(qx.Class.implementsInterface(source,qx.data.IListData)){var itemIndex=context.arrayIndexValues[j]===SSSS_4?source.length-1:context.arrayIndexValues[j];var currentValue=source.getItem(itemIndex);this.__cn(currentValue,context.targetObject,context.targetPropertyChain,context.options,context.sources[context.index]);context.listenerIds[j]=this.__cp(source,SSSS_5,context.targetObject,context.targetPropertyChain,context.options,context.arrayIndexValues[j]);}else{if(context.propertyNames[j]!=null&&source[SSSS_0+qx.lang.String.firstUp(context.propertyNames[j])]!=null){var currentValue=source[SSSS_0+qx.lang.String.firstUp(context.propertyNames[j])]();this.__cn(currentValue,context.targetObject,context.targetPropertyChain,context.options,context.sources[context.index]);}var eventName=this.__cj(source,context.propertyNames[j]);context.listenerIds[j]=this.__cp(source,eventName,context.targetObject,context.targetPropertyChain,context.options);}}else{if(context.listeners[j]==null){var listener=qx.lang.Function.bind(this.__cg,this,context);context.listeners.push(listener);}if(qx.Class.implementsInterface(source,qx.data.IListData)){var eventName=SSSS_5;}else{var eventName=this.__cj(source,context.propertyNames[j]);}context.listenerIds[j]=source.addListener(eventName,context.listeners[j]);}}},__ch:function(sourceObject,sourcePropertyChain,targetObject,targetPropertyChain,options){var propertyNames=targetPropertyChain.split(SSSS_3);var arrayIndexValues=this.__co(propertyNames);var targets=[];var listeners=[];var listenerIds=[];var eventNames=[];var target=targetObject;for(var i=0;i<propertyNames.length-1;i++){if(arrayIndexValues[i]!==SSSS_1){eventNames.push(SSSS_5);}else{try{eventNames.push(this.__cj(target,propertyNames[i]));}catch(e){break;}}targets[i]=target;var listener=function(){for(var j=i+1;j<propertyNames.length-1;j++){var target=targets[j];targets[j]=null;if(!target){continue;}target.removeListenerById(listenerIds[j]);}var target=targets[i];for(var j=i+1;j<propertyNames.length-1;j++){var firstUpPropName=qx.lang.String.firstUp(propertyNames[j-1]);if(arrayIndexValues[j-1]!==SSSS_1){var currentIndex=arrayIndexValues[j-1]===SSSS_4?target.getLength()-1:arrayIndexValues[j-1];target=target[SSSS_0+firstUpPropName](currentIndex);}else{target=target[SSSS_0+firstUpPropName]();}targets[j]=target;if(listeners[j]==null){listeners.push(listener);}if(qx.Class.implementsInterface(target,qx.data.IListData)){var eventName=SSSS_5;}else{try{var eventName=qx.data.SingleValueBinding.__cj(target,propertyNames[j]);}catch(e){break;}}listenerIds[j]=target.addListener(eventName,listeners[j]);}qx.data.SingleValueBinding.__ci(sourceObject,sourcePropertyChain,targetObject,targetPropertyChain);};listeners.push(listener);listenerIds[i]=target.addListener(eventNames[i],listener);var firstUpPropName=qx.lang.String.firstUp(propertyNames[i]);if(target[SSSS_0+firstUpPropName]==null){target=null;}else if(arrayIndexValues[i]!==SSSS_1){target=target[SSSS_0+firstUpPropName](arrayIndexValues[i]);}else{target=target[SSSS_0+firstUpPropName]();}if(!target){break;}}return {listenerIds:listenerIds,targets:targets};},__ci:function(sourceObject,sourcePropertyChain,targetObject,targetPropertyChain){var source=this.__cm(sourceObject,sourcePropertyChain);if(source!=null){var lastProperty=sourcePropertyChain.substring(sourcePropertyChain.lastIndexOf(SSSS_3)+1,sourcePropertyChain.length);if(lastProperty.charAt(lastProperty.length-1)==SSSS_6){var index=lastProperty.substring(lastProperty.lastIndexOf(SSSS_2)+1,lastProperty.length-1);var prop=lastProperty.substring(0,lastProperty.lastIndexOf(SSSS_2));var sourceArray=source[SSSS_0+qx.lang.String.firstUp(prop)]();if(index==SSSS_4){index=sourceArray.length-1;}if(sourceArray!=null){var value=sourceArray.getItem(index);}}else{var value=source[SSSS_0+qx.lang.String.firstUp(lastProperty)]();}}this.__cl(targetObject,targetPropertyChain,value);},__cj:function(source,propertyname){var eventName=this.__cs(source,propertyname);if(eventName==null){if(qx.Class.supportsEvent(source.constructor,propertyname)){eventName=propertyname;}else if(qx.Class.supportsEvent(source.constructor,SSSS_5+qx.lang.String.firstUp(propertyname))){eventName=SSSS_5+qx.lang.String.firstUp(propertyname);}else{throw new qx.core.AssertionError(SSSS_21,propertyname);}}return eventName;},__ck:function(targetObject,targetPropertyChain){var target=this.__cm(targetObject,targetPropertyChain);if(target!=null){var lastProperty=targetPropertyChain.substring(targetPropertyChain.lastIndexOf(SSSS_3)+1,targetPropertyChain.length);if(lastProperty.charAt(lastProperty.length-1)==SSSS_6){this.__cl(targetObject,targetPropertyChain,null);return;}if(target[SSSS_12+qx.lang.String.firstUp(lastProperty)]!=undefined){target[SSSS_12+qx.lang.String.firstUp(lastProperty)]();}else{target[SSSS_9+qx.lang.String.firstUp(lastProperty)](null);}}},__cl:function(targetObject,targetPropertyChain,value){var target=this.__cm(targetObject,targetPropertyChain);if(target!=null){var lastProperty=targetPropertyChain.substring(targetPropertyChain.lastIndexOf(SSSS_3)+1,targetPropertyChain.length);if(lastProperty.charAt(lastProperty.length-1)==SSSS_6){var index=lastProperty.substring(lastProperty.lastIndexOf(SSSS_2)+1,lastProperty.length-1);var prop=lastProperty.substring(0,lastProperty.lastIndexOf(SSSS_2));var targetArray=target[SSSS_0+qx.lang.String.firstUp(prop)]();if(index==SSSS_4){index=targetArray.length-1;}if(targetArray!=null){targetArray.setItem(index,value);}}else{target[SSSS_9+qx.lang.String.firstUp(lastProperty)](value);}}},__cm:function(targetObject,targetPropertyChain){var properties=targetPropertyChain.split(SSSS_3);var target=targetObject;for(var i=0;i<properties.length-1;i++){try{var property=properties[i];if(property.indexOf(SSSS_6)==property.length-1){var index=property.substring(property.indexOf(SSSS_2)+1,property.length-1);property=property.substring(0,property.indexOf(SSSS_2));}target=target[SSSS_0+qx.lang.String.firstUp(property)]();if(index!=null){if(index==SSSS_4){index=target.length-1;}target=target.getItem(index);index=null;}}catch(ex){return null;}}return target;},__cn:function(value,targetObject,targetPropertyChain,options,sourceObject){value=this.__cr(value,targetObject,targetPropertyChain,options);if(value==null){this.__ck(targetObject,targetPropertyChain);}if(value!=undefined){try{this.__cl(targetObject,targetPropertyChain,value);if(options&&options.onUpdate){options.onUpdate(sourceObject,targetObject,value);}}catch(e){if(!(e instanceof qx.core.ValidationError)){throw e;}if(options&&options.onSetFail){options.onSetFail(e);}else{this.warn("Failed so set value "+value+" on "+targetObject+". Error message: "+e);}}}},__co:function(propertyNames){var arrayIndexValues=[];for(var i=0;i<propertyNames.length;i++){var name=propertyNames[i];if(qx.lang.String.endsWith(name,SSSS_6)){var arrayIndex=name.substring(name.indexOf(SSSS_2)+1,name.indexOf(SSSS_6));if(name.indexOf(SSSS_6)!=name.length-1){throw new Error("Please use only one array at a time: "+name+" does not work.");}if(arrayIndex!==SSSS_4){if(arrayIndex==SSSS_1||isNaN(parseInt(arrayIndex))){throw new Error("No number or 'last' value hast been given"+" in a array binding: "+name+" does not work.");}}if(name.indexOf(SSSS_2)!=0){propertyNames[i]=name.substring(0,name.indexOf(SSSS_2));arrayIndexValues[i]=SSSS_1;arrayIndexValues[i+1]=arrayIndex;propertyNames.splice(i+1,0,SSSS_11);i++;}else{arrayIndexValues[i]=arrayIndex;propertyNames.splice(i,1,SSSS_11);}}else{arrayIndexValues[i]=SSSS_1;}}return arrayIndexValues;},__cp:function(sourceObject,sourceEvent,targetObject,targetProperty,options,arrayIndex){if(qx.core.Variant.isSet(SSSS_15,SSSS_14)){var eventType=qx.Class.getEventType(sourceObject.constructor,sourceEvent);qx.core.Assert.assertEquals(SSSS_19,eventType,sourceEvent+SSSS_27+sourceObject+SSSS_3);}var bindListener=function(arrayIndex,e){if(arrayIndex!==SSSS_1){if(arrayIndex===SSSS_4){arrayIndex=sourceObject.length-1;}var data=sourceObject.getItem(arrayIndex);if(data==undefined){qx.data.SingleValueBinding.__ck(targetObject,targetProperty);}var start=e.getData().start;var end=e.getData().end;if(arrayIndex<start||arrayIndex>end){return;}}else{var data=e.getData();}if(qx.data.SingleValueBinding.DEBUG_ON){qx.log.Logger.debug("Binding executed from "+sourceObject+" by "+sourceEvent+" to "+targetObject+" ("+targetProperty+")");qx.log.Logger.debug("Data before conversion: "+data);}data=qx.data.SingleValueBinding.__cr(data,targetObject,targetProperty,options);if(qx.data.SingleValueBinding.DEBUG_ON){qx.log.Logger.debug("Data after conversion: "+data);}try{if(data!=undefined){qx.data.SingleValueBinding.__cl(targetObject,targetProperty,data);}else{qx.data.SingleValueBinding.__ck(targetObject,targetProperty);}if(options&&options.onUpdate){options.onUpdate(sourceObject,targetObject,data);}}catch(e){if(!(e instanceof qx.core.ValidationError)){throw e;}if(options&&options.onSetFail){options.onSetFail(e);}else{this.warn("Failed so set value "+data+" on "+targetObject+". Error message: "+e);}}};if(!arrayIndex){arrayIndex=SSSS_1;}bindListener=qx.lang.Function.bind(bindListener,sourceObject,arrayIndex);var id=sourceObject.addListener(sourceEvent,bindListener);return id;},__cq:function(id,sourceObject,sourceEvent,targetObject,targetProperty){if(this.__cf[sourceObject.toHashCode()]===undefined){this.__cf[sourceObject.toHashCode()]=[];}this.__cf[sourceObject.toHashCode()].push([id,sourceObject,sourceEvent,targetObject,targetProperty]);},__cr:function(value,targetObject,targetPropertyChain,options){if(options&&options.converter){var model;if(targetObject.getModel){model=targetObject.getModel();}return options.converter(value,model);}else{var target=this.__cm(targetObject,targetPropertyChain);var lastProperty=targetPropertyChain.substring(targetPropertyChain.lastIndexOf(SSSS_3)+1,targetPropertyChain.length);if(target==null){return value;}var propertieDefinition=qx.Class.getPropertyDefinition(target.constructor,lastProperty);var check=propertieDefinition==null?SSSS_1:propertieDefinition.check;return this.__ct(value,check);}},__cs:function(sourceObject,sourceProperty){var propertieDefinition=qx.Class.getPropertyDefinition(sourceObject.constructor,sourceProperty);if(propertieDefinition==null){return null;}return propertieDefinition.event;},__ct:function(data,targetCheck){var dataType=qx.lang.Type.getClass(data);if((dataType==SSSS_7||dataType==SSSS_8)&&(targetCheck==SSSS_18||targetCheck==SSSS_25)){data=parseInt(data);}if((dataType==SSSS_16||dataType==SSSS_7||dataType==SSSS_29)&&targetCheck==SSSS_8){data=data+SSSS_1;}if((dataType==SSSS_7||dataType==SSSS_8)&&(targetCheck==SSSS_7||targetCheck==SSSS_24)){data=parseFloat(data);}return data;},removeBindingFromObject:function(sourceObject,id){if(id.type==SSSS_10){for(var i=0;i<id.sources.length;i++){if(id.sources[i]){id.sources[i].removeListenerById(id.listenerIds[i]);}}for(var i=0;i<id.targets.length;i++){if(id.targets[i]){id.targets[i].removeListenerById(id.targetListenerIds[i]);}}}else{sourceObject.removeListenerById(id);}var bindings=this.__cf[sourceObject.toHashCode()];if(bindings!=undefined){for(var i=0;i<bindings.length;i++){if(bindings[i][0]==id){qx.lang.Array.remove(bindings,bindings[i]);return;}}}throw new Error("Binding could not be found!");},removeAllBindingsForObject:function(object){if(qx.core.Variant.isSet(SSSS_15,SSSS_14)){qx.core.Assert.assertNotNull(object,SSSS_22);}var bindings=this.__cf[object.toHashCode()];if(bindings!=undefined){for(var i=bindings.length-1;i>=0;i--){this.removeBindingFromObject(object,bindings[i][0]);}}},getAllBindingsForObject:function(object){if(this.__cf[object.toHashCode()]===undefined){this.__cf[object.toHashCode()]=[];}return this.__cf[object.toHashCode()];},removeAllBindings:function(){for(var hash in this.__cf){var object=qx.core.ObjectRegistry.fromHashCode(hash);if(object==null){delete this.__cf[hash];continue;}this.removeAllBindingsForObject(object);}this.__cf={};},getAllBindings:function(){return this.__cf;},showBindingInLog:function(object,id){var binding;for(var i=0;i<this.__cf[object.toHashCode()].length;i++){if(this.__cf[object.toHashCode()][i][0]==id){binding=this.__cf[object.toHashCode()][i];break;}}if(binding===undefined){var message=SSSS_26;}else{var message=SSSS_23+binding[1]+SSSS_13+binding[2]+SSSS_17+binding[3]+SSSS_13+binding[4]+SSSS_28;}qx.log.Logger.debug(message);},showAllBindingsInLog:function(){for(var hash in this.__cf){var object=qx.core.ObjectRegistry.fromHashCode(hash);for(var i=0;i<this.__cf[hash].length;i++){this.showBindingInLog(object,this.__cf[hash][i][0]);}}}}});})();(function(){var SSSS_0="",SSSS_1="g",SSSS_2="0",SSSS_3='\\$1',SSSS_4="%",SSSS_5='-',SSSS_6="qx.lang.String",SSSS_7=' ',SSSS_8='\n',SSSS_9="undefined";qx.Class.define(SSSS_6,{statics:{camelCase:function(str){return str.replace(/\-([a-z])/g,function(match,chr){return chr.toUpperCase();});},hyphenate:function(str){return str.replace(/[A-Z]/g,function(match){return (SSSS_5+match.charAt(0).toLowerCase());});},capitalize:function(str){return str.replace(/\b[a-z]/g,function(match){return match.toUpperCase();});},clean:function(str){return this.trim(str.replace(/\s+/g,SSSS_7));},trimLeft:function(str){return str.replace(/^\s+/,SSSS_0);},trimRight:function(str){return str.replace(/\s+$/,SSSS_0);},trim:function(str){return str.replace(/^\s+|\s+$/g,SSSS_0);},startsWith:function(fullstr,substr){return fullstr.indexOf(substr)===0;},endsWith:function(fullstr,substr){return fullstr.substring(fullstr.length-substr.length,fullstr.length)===substr;},repeat:function(str,times){return str.length>=0?new Array(times+1).join(str):SSSS_0;},pad:function(str,length,ch){var padLength=length-str.length;if(padLength>0){if(typeof ch===SSSS_9){ch=SSSS_2;}return this.repeat(ch,padLength)+str;}else{return str;}},firstUp:qx.Bootstrap.firstUp,firstLow:qx.Bootstrap.firstLow,contains:function(str,substring){return str.indexOf(substring)!=-1;},format:function(pattern,args){var str=pattern;for(var i=0;i<args.length;i++){str=str.replace(new RegExp(SSSS_4+(i+1),SSSS_1),args[i]);}return str;},escapeRegexpChars:function(str){return str.replace(/([.*+?^${}()|[\]\/\\])/g,SSSS_3);},toArray:function(str){return str.split(/\B|\b/g);},stripTags:function(str){return str.replace(/<\/?[^>]+>/gi,SSSS_0);},stripScripts:function(str,exec){var scripts=SSSS_0;var text=str.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi,function(){scripts+=arguments[1]+SSSS_8;return SSSS_0;});if(exec===true){qx.lang.Function.globalEval(scripts);}return text;}}});})();(function(){var SSSS_0="qx.core.ValidationError";qx.Class.define(SSSS_0,{extend:qx.type.BaseError});})();(function(){var SSSS_0="qx.event.handler.Object";qx.Class.define(SSSS_0,{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_LAST,SUPPORTED_TYPES:null,TARGET_CHECK:qx.event.IEventHandler.TARGET_OBJECT,IGNORE_CAN_HANDLE:false},members:{canHandleEvent:function(target,type){return qx.Class.supportsEvent(target.constructor,type);},registerEvent:function(target,type,capture){},unregisterEvent:function(target,type,capture){}},defer:function(statics){qx.event.Registration.addHandler(statics);}});})();(function(){var SSSS_0='',SSSS_1='"',SSSS_2=':',SSSS_3=']',SSSS_4='null',SSSS_5=': ',SSSS_6='object',SSSS_7='function',SSSS_8=',',SSSS_9='\n',SSSS_10='\\u',SSSS_11=',\n',SSSS_12='0000',SSSS_13='string',SSSS_14="Cannot stringify a recursive object.",SSSS_15='0',SSSS_16='-',SSSS_17='}',SSSS_18='String',SSSS_19='Boolean',SSSS_20='\\\\',SSSS_21='\\f',SSSS_22='\\t',SSSS_23='{\n',SSSS_24='[]',SSSS_25="qx.lang.JsonImpl",SSSS_26='Z',SSSS_27='\\n',SSSS_28='Object',SSSS_29='{}',SSSS_30='@',SSSS_31='.',SSSS_32='(',SSSS_33='Array',SSSS_34='T',SSSS_35='\\r',SSSS_36='{',SSSS_37='JSON.parse',SSSS_38=' ',SSSS_39='[',SSSS_40='Number',SSSS_41=')',SSSS_42='[\n',SSSS_43='\\"',SSSS_44='\\b';qx.Class.define(SSSS_25,{extend:Object,construct:function(){this.stringify=qx.lang.Function.bind(this.stringify,this);this.parse=qx.lang.Function.bind(this.parse,this);},members:{__cu:null,__cv:null,__cw:null,__cx:null,stringify:function(value,replacer,space){this.__cu=SSSS_0;this.__cv=SSSS_0;this.__cx=[];if(qx.lang.Type.isNumber(space)){var space=Math.min(10,Math.floor(space));for(var i=0;i<space;i+=1){this.__cv+=SSSS_38;}}else if(qx.lang.Type.isString(space)){if(space.length>10){space=space.slice(0,10);}this.__cv=space;}if(replacer&&(qx.lang.Type.isFunction(replacer)||qx.lang.Type.isArray(replacer))){this.__cw=replacer;}else{this.__cw=null;}return this.__cy(SSSS_0,{'':value});},__cy:function(key,holder){var mind=this.__cu,partial,value=holder[key];if(value&&qx.lang.Type.isFunction(value.toJSON)){value=value.toJSON(key);}else if(qx.lang.Type.isDate(value)){value=this.dateToJSON(value);}if(typeof this.__cw===SSSS_7){value=this.__cw.call(holder,key,value);}if(value===null){return SSSS_4;}if(value===undefined){return undefined;}switch(qx.lang.Type.getClass(value)){case SSSS_18:return this.__cz(value);case SSSS_40:return isFinite(value)?String(value):SSSS_4;case SSSS_19:return String(value);case SSSS_33:this.__cu+=this.__cv;partial=[];if(this.__cx.indexOf(value)!==-1){throw new TypeError(SSSS_14);}this.__cx.push(value);var length=value.length;for(var i=0;i<length;i+=1){partial[i]=this.__cy(i,value)||SSSS_4;}this.__cx.pop();if(partial.length===0){var string=SSSS_24;}else if(this.__cu){string=SSSS_42+this.__cu+partial.join(SSSS_11+this.__cu)+SSSS_9+mind+SSSS_3;}else{string=SSSS_39+partial.join(SSSS_8)+SSSS_3;}this.__cu=mind;return string;case SSSS_28:this.__cu+=this.__cv;partial=[];if(this.__cx.indexOf(value)!==-1){throw new TypeError(SSSS_14);}this.__cx.push(value);if(this.__cw&&typeof this.__cw===SSSS_6){var length=this.__cw.length;for(var i=0;i<length;i+=1){var k=this.__cw[i];if(typeof k===SSSS_13){var v=this.__cy(k,value);if(v){partial.push(this.__cz(k)+(this.__cu?SSSS_5:SSSS_2)+v);}}}}else{for(var k in value){if(Object.hasOwnProperty.call(value,k)){var v=this.__cy(k,value);if(v){partial.push(this.__cz(k)+(this.__cu?SSSS_5:SSSS_2)+v);}}}}this.__cx.pop();if(partial.length===0){var string=SSSS_29;}else if(this.__cu){string=SSSS_23+this.__cu+partial.join(SSSS_11+this.__cu)+SSSS_9+mind+SSSS_17;}else{string=SSSS_36+partial.join(SSSS_8)+SSSS_17;}this.__cu=mind;return string;}},dateToJSON:function(date){var f2=function(n){return n<10?SSSS_15+n:n;};var f3=function(n){var value=f2(n);return n<100?SSSS_15+value:value;};return isFinite(date.valueOf())?date.getUTCFullYear()+SSSS_16+f2(date.getUTCMonth()+1)+SSSS_16+f2(date.getUTCDate())+SSSS_34+f2(date.getUTCHours())+SSSS_2+f2(date.getUTCMinutes())+SSSS_2+f2(date.getUTCSeconds())+SSSS_31+f3(date.getUTCMilliseconds())+SSSS_26:null;},__cz:function(string){var meta={'\b':SSSS_44,'\t':SSSS_22,'\n':SSSS_27,'\f':SSSS_21,'\r':SSSS_35,'"':SSSS_43,'\\':SSSS_20};var escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;escapable.lastIndex=0;if(escapable.test(string)){return SSSS_1+string.replace(escapable,function(a){var c=meta[a];return typeof c===SSSS_13?c:SSSS_10+(SSSS_12+a.charCodeAt(0).toString(16)).slice(-4);})+SSSS_1;}else{return SSSS_1+string+SSSS_1;}},parse:function(text,reviver){var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return SSSS_10+(SSSS_12+a.charCodeAt(0).toString(16)).slice(-4);});}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,SSSS_30).replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,SSSS_3).replace(/(?:^|:|,)(?:\s*\[)+/g,SSSS_0))){var j=eval(SSSS_32+text+SSSS_41);return typeof reviver===SSSS_7?this.__cA({'':j},SSSS_0,reviver):j;}throw new SyntaxError(SSSS_37);},__cA:function(holder,key,reviver){var value=holder[key];if(value&&typeof value===SSSS_6){for(var k in value){if(Object.hasOwnProperty.call(value,k)){var v=this.__cA(value,k,reviver);if(v!==undefined){value[k]=v;}else{delete value[k];}}}}return reviver.call(holder,key,value);}}});})();(function(){var SSSS_0="qx.lang.Json";qx.Class.define(SSSS_0,{statics:{JSON:(qx.lang.Type.getClass(window.JSON)=="JSON"&&JSON.parse('{"x":1}').x===1)?window.JSON:new qx.lang.JsonImpl(),stringify:null,parse:null},defer:function(statics){statics.stringify=statics.JSON.stringify;statics.parse=statics.JSON.parse;}});})();(function(){var SSSS_0="indexOf",SSSS_1="lastIndexOf",SSSS_2="slice",SSSS_3="concat",SSSS_4="join",SSSS_5="toLocaleUpperCase",SSSS_6="shift",SSSS_7="substr",SSSS_8="filter",SSSS_9="unshift",SSSS_10="match",SSSS_11="quote",SSSS_12="qx.lang.Generics",SSSS_13="localeCompare",SSSS_14="sort",SSSS_15="some",SSSS_16="charAt",SSSS_17="split",SSSS_18="substring",SSSS_19="pop",SSSS_20="toUpperCase",SSSS_21="replace",SSSS_22="push",SSSS_23="charCodeAt",SSSS_24="every",SSSS_25="reverse",SSSS_26="search",SSSS_27="forEach",SSSS_28="map",SSSS_29="toLowerCase",SSSS_30="splice",SSSS_31="toLocaleLowerCase";qx.Class.define(SSSS_12,{statics:{__cB:{"Array":[SSSS_4,SSSS_25,SSSS_14,SSSS_22,SSSS_19,SSSS_6,SSSS_9,SSSS_30,SSSS_3,SSSS_2,SSSS_0,SSSS_1,SSSS_27,SSSS_28,SSSS_8,SSSS_15,SSSS_24],"String":[SSSS_11,SSSS_18,SSSS_29,SSSS_20,SSSS_16,SSSS_23,SSSS_0,SSSS_1,SSSS_31,SSSS_5,SSSS_13,SSSS_10,SSSS_26,SSSS_21,SSSS_17,SSSS_7,SSSS_3,SSSS_2]},__cC:function(obj,func){return function(s){return obj.prototype[func].apply(s,Array.prototype.slice.call(arguments,1));};},__cD:function(){var map=qx.lang.Generics.__cB;for(var key in map){var obj=window[key];var arr=map[key];for(var i=0,l=arr.length;i<l;i++){var func=arr[i];if(!obj[func]){obj[func]=qx.lang.Generics.__cC(obj,func);}}}}},defer:function(statics){statics.__cD();}});})();(function(){var SSSS_0="general",SSSS_1="function",SSSS_2="functions",SSSS_3="blueprint.util.Registry",SSSS_4="singleton";qx.Class.define(SSSS_3,{extend:qx.core.Object,type:SSSS_4,construct:function(){this.__cE=new Object();},members:{__cE:null,check:function(blueprintObj,variable,context){if(context==undefined){context=SSSS_0;}if(typeof blueprintObj.getBlueprintNamespace==SSSS_1){if(this.__cE[blueprintObj.getBlueprintNamespace()]==undefined||this.__cE[blueprintObj.getBlueprintNamespace()][context]==undefined||this.__cE[blueprintObj.getBlueprintNamespace()][context][variable]==undefined){return false;}else{return true;}}else{this.warn("Registry error: "+blueprintObj+" is not a blueprint object. Cannot check "+variable);}},get:function(blueprintObj,variable,context){if(context==undefined){context=SSSS_0;}if(typeof blueprintObj.getBlueprintNamespace==SSSS_1){return this.__cE[blueprintObj.getBlueprintNamespace()][context][variable];}else{this.warn("Registry error: "+blueprintObj+" is not a blueprint object. Cannot get "+variable);}},getByNamespace:function(namespace,variable,context){if(context==undefined){context=SSSS_0;}return this.__cE[namespace][context][variable];},getContext:function(blueprintObj,context){if(typeof blueprintObj.getBlueprintNamespace==SSSS_1){return this.__cE[blueprintObj.getBlueprintNamespace()][context];}else{this.warn("Registry error: "+blueprintObj+" is not a blueprint object. Cannot get "+context);}},getContextByNamespace:function(namespace,context){return this.__cE[namespace][context];},set:function(namespace,variable,object,context){if(context==undefined){context=SSSS_0;}if(this.__cE[namespace]==undefined){this.__cE[namespace]=new Object();}if(this.__cE[namespace][context]==undefined){this.__cE[namespace][context]=new Object();}this.__cE[namespace][context][variable]=object;},registerFunction:function(namespace,functionName,functionVar){this.__cE[namespace][SSSS_2][functionName]=functionVar;},getFunctionByNamespace:function(namespace,functionName){return this.__cE[namespace][SSSS_2][functionName];},clear:function(namespace){delete this.__cE[namespace];}}});})();(function(){var SSSS_0='__postContainerConstruct__args__',SSSS_1='top_container',SSSS_2='__postContainerConstruct__',SSSS_3='application_container',SSSS_4='top_container.',SSSS_5="blueprint.Manager",SSSS_6="singleton",SSSS_7="Object";qx.Class.define(SSSS_5,{extend:qx.core.Object,type:SSSS_6,construct:function(){arguments.callee.base.call(this);this.__cF=qx.core.Init.getApplication();this.__cG=0;},properties:{alternateManager:{check:SSSS_7,init:null,nullable:true}},members:{__cG:null,generate:function(vData,parent,namespace,skipRecursion){if(this.getAlternateManager()!=null){return this.getAlternateManager().generate(vData,parent,namespace,skipRecursion);}else{if(vData.type!=SSSS_1&&vData.type!=SSSS_3&&parent==undefined){throw new Error("Generating new objects must have a parent unless they are top_containers. ("+vData.type+"//"+parent+")");}if(vData.type==SSSS_1&&namespace==undefined){namespace=SSSS_4+this.__cG++;}if(vData.data==undefined){vData.data=new Array();}if(vData.qxSettings==undefined){vData.qxSettings=new Object();}if(vData.constructorSettings==undefined){vData.constructorSettings=new Object();}var newItem=this.__cH(vData,namespace,skipRecursion);if(vData.type==SSSS_1){if(blueprint.util.Registry.getInstance().check(newItem,SSSS_2)&&blueprint.util.Registry.getInstance().check(newItem,SSSS_0)){var constructors=blueprint.util.Registry.getInstance().get(newItem,SSSS_2);var args=blueprint.util.Registry.getInstance().get(newItem,SSSS_0);for(var k=0;k<constructors.length;k++){constructors[k](args[k][0],args[k][1],args[k][2],args[k][3]);}blueprint.util.Registry.getInstance().set(namespace,SSSS_2,null);blueprint.util.Registry.getInstance().set(namespace,SSSS_0,null);}}return newItem;}},__cH:function(vData,namespace,skipRecursion){var clazz=qx.Class.getByName(vData.objectClass);if(clazz!=undefined){var newItem=new clazz(vData,namespace,skipRecursion);return newItem;}else{throw new Error("Clazz not found for '"+vData.objectClass+"'. All blueprint classes were not included. Try clearing your cache and run the generate source job?");}}}});})();(function(){var SSSS_0="ready",SSSS_1="qx.client",SSSS_2="mshtml",SSSS_3="load",SSSS_4="unload",SSSS_5="qx.event.handler.Application",SSSS_6="complete",SSSS_7="gecko|opera|webkit",SSSS_8="left",SSSS_9="DOMContentLoaded",SSSS_10="shutdown";qx.Class.define(SSSS_5,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(manager){arguments.callee.base.call(this);this._window=manager.getWindow();this.__cI=false;this.__cJ=false;this._initObserver();qx.event.handler.Application.$$instance=this;},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{ready:1,shutdown:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true,__cK:false,onScriptLoaded:function(){this.__cK=true;var inst=qx.event.handler.Application.$$instance;if(inst){inst.__cN();}}},members:{canHandleEvent:function(target,type){},registerEvent:function(target,type,capture){},unregisterEvent:function(target,type,capture){},__cL:null,__cI:null,__cJ:null,__cM:null,__cN:function(){var clazz=qx.event.handler.Application;if(!this.__cL&&this.__cI&&clazz.__cK){if(qx.core.Variant.isSet(SSSS_1,SSSS_2)){if(qx.event.Registration.hasListener(this._window,SSSS_0)){this.__cL=true;qx.event.Registration.fireEvent(this._window,SSSS_0);}}else{this.__cL=true;qx.event.Registration.fireEvent(this._window,SSSS_0);}}},isApplicationReady:function(){return this.__cL;},_initObserver:function(){if(qx.$$domReady||document.readyState==SSSS_6){this.__cI=true;this.__cN();}else{this._onNativeLoadWrapped=qx.lang.Function.bind(this._onNativeLoad,this);if(qx.core.Variant.isSet(SSSS_1,SSSS_7)){qx.bom.Event.addNativeListener(this._window,SSSS_9,this._onNativeLoadWrapped);}else if(qx.core.Variant.isSet(SSSS_1,SSSS_2)){var self=this;var timer=function(){try{document.documentElement.doScroll(SSSS_8);if(document.body){self._onNativeLoadWrapped();}}catch(error){window.setTimeout(timer,100);}};timer();}qx.bom.Event.addNativeListener(this._window,SSSS_3,this._onNativeLoadWrapped);}this._onNativeUnloadWrapped=qx.lang.Function.bind(this._onNativeUnload,this);qx.bom.Event.addNativeListener(this._window,SSSS_4,this._onNativeUnloadWrapped);},_stopObserver:function(){if(this._onNativeLoadWrapped){qx.bom.Event.removeNativeListener(this._window,SSSS_3,this._onNativeLoadWrapped);}qx.bom.Event.removeNativeListener(this._window,SSSS_4,this._onNativeUnloadWrapped);this._onNativeLoadWrapped=null;this._onNativeUnloadWrapped=null;},_onNativeLoad:qx.event.GlobalError.observeMethod(function(){this.__cI=true;this.__cN();}),_onNativeUnload:qx.event.GlobalError.observeMethod(function(){if(!this.__cM){this.__cM=true;try{qx.event.Registration.fireEvent(this._window,SSSS_10);}catch(e){throw e;}finally{qx.core.ObjectRegistry.shutdown();}}})},destruct:function(){this._stopObserver();this._window=null;},defer:function(statics){qx.event.Registration.addHandler(statics);}});})();(function(){var SSSS_0="qx.event.handler.Window";qx.Class.define(SSSS_0,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(manager){arguments.callee.base.call(this);this._manager=manager;this._window=manager.getWindow();this._initWindowObserver();},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{error:1,load:1,beforeunload:1,unload:1,resize:1,scroll:1,beforeshutdown:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{canHandleEvent:function(target,type){},registerEvent:function(target,type,capture){},unregisterEvent:function(target,type,capture){},_initWindowObserver:function(){this._onNativeWrapper=qx.lang.Function.listener(this._onNative,this);var types=qx.event.handler.Window.SUPPORTED_TYPES;for(var key in types){qx.bom.Event.addNativeListener(this._window,key,this._onNativeWrapper);}},_stopWindowObserver:function(){var types=qx.event.handler.Window.SUPPORTED_TYPES;for(var key in types){qx.bom.Event.removeNativeListener(this._window,key,this._onNativeWrapper);}},_onNative:qx.event.GlobalError.observeMethod(function(e){if(this.isDisposed()){return;}var win=this._window;try{var doc=win.document;}catch(e){return ;}var html=doc.documentElement;var target=e.target||e.srcElement;if(target==null||target===win||target===doc||target===html){var event=qx.event.Registration.createEvent(e.type,qx.event.type.Native,[e,win]);qx.event.Registration.dispatchEvent(win,event);var result=event.getReturnValue();if(result!=null){e.returnValue=result;return result;}}})},destruct:function(){this._stopWindowObserver();this._manager=this._window=null;},defer:function(statics){qx.event.Registration.addHandler(statics);}});})();(function(){var SSSS_0="ready",SSSS_1="qx.application",SSSS_2="beforeunload",SSSS_3="qx.core.Init",SSSS_4="shutdown";qx.Class.define(SSSS_3,{statics:{getApplication:function(){return this.__cP||null;},__cO:function(){if(qx.bom.client.Engine.UNKNOWN_ENGINE){qx.log.Logger.warn("Could not detect engine!");}if(qx.bom.client.Engine.UNKNOWN_VERSION){qx.log.Logger.warn("Could not detect the version of the engine!");}if(qx.bom.client.Platform.UNKNOWN_PLATFORM){qx.log.Logger.warn("Could not detect platform!");}if(qx.bom.client.System.UNKNOWN_SYSTEM){qx.log.Logger.warn("Could not detect system!");}qx.log.Logger.debug(this,"Load runtime: "+(new Date-qx.Bootstrap.LOADSTART)+"ms");var app=qx.core.Setting.get(SSSS_1);var clazz=qx.Class.getByName(app);if(clazz){this.__cP=new clazz;var start=new Date;this.__cP.main();qx.log.Logger.debug(this,"Main runtime: "+(new Date-start)+"ms");var start=new Date;this.__cP.finalize();qx.log.Logger.debug(this,"Finalize runtime: "+(new Date-start)+"ms");}else{qx.log.Logger.warn("Missing application class: "+app);}},__cQ:function(e){var app=this.__cP;if(app){e.setReturnValue(app.close());}},__cR:function(){var app=this.__cP;if(app){app.terminate();}}},defer:function(statics){qx.event.Registration.addListener(window,SSSS_0,statics.__cO,statics);qx.event.Registration.addListener(window,SSSS_4,statics.__cR,statics);qx.event.Registration.addListener(window,SSSS_2,statics.__cQ,statics);}});})();(function(){var SSSS_0="qx.event.type.Native";qx.Class.define(SSSS_0,{extend:qx.event.type.Event,members:{init:function(nativeEvent,target,relatedTarget,canBubble,cancelable){arguments.callee.base.call(this,canBubble,cancelable);this._target=target||qx.bom.Event.getTarget(nativeEvent);this._relatedTarget=relatedTarget||qx.bom.Event.getRelatedTarget(nativeEvent);if(nativeEvent.timeStamp){this._timeStamp=nativeEvent.timeStamp;}this._native=nativeEvent;this._returnValue=null;return this;},clone:function(embryo){var clone=arguments.callee.base.call(this,embryo);var nativeClone={};clone._native=this._cloneNativeEvent(this._native,nativeClone);clone._returnValue=this._returnValue;return clone;},_cloneNativeEvent:function(nativeEvent,clone){clone.preventDefault=qx.lang.Function.empty;return clone;},preventDefault:function(){arguments.callee.base.call(this);qx.bom.Event.preventDefault(this._native);},getNativeEvent:function(){return this._native;},setReturnValue:function(returnValue){this._returnValue=returnValue;},getReturnValue:function(){return this._returnValue;}},destruct:function(){this._native=this._returnValue=null;}});})();(function(){var SSSS_0="iPod",SSSS_1="Win32",SSSS_2="",SSSS_3="Win64",SSSS_4="Linux",SSSS_5="BSD",SSSS_6="Macintosh",SSSS_7="iPhone",SSSS_8="Windows",SSSS_9="qx.bom.client.Platform",SSSS_10="X11",SSSS_11="MacIntel",SSSS_12="MacPPC";qx.Class.define(SSSS_9,{statics:{NAME:"",WIN:false,MAC:false,UNIX:false,UNKNOWN_PLATFORM:false,__cS:function(){var input=navigator.platform;if(input==null||input===SSSS_2){input=navigator.userAgent;}if(input.indexOf(SSSS_8)!=-1||input.indexOf(SSSS_1)!=-1||input.indexOf(SSSS_3)!=-1){this.WIN=true;this.NAME="win";}else if(input.indexOf(SSSS_6)!=-1||input.indexOf(SSSS_12)!=-1||input.indexOf(SSSS_11)!=-1||input.indexOf(SSSS_0)!=-1||input.indexOf(SSSS_7)!=-1){this.MAC=true;this.NAME="mac";}else if(input.indexOf(SSSS_10)!=-1||input.indexOf(SSSS_4)!=-1||input.indexOf(SSSS_5)!=-1){this.UNIX=true;this.NAME="unix";}else{this.UNKNOWN_PLATFORM=true;this.WIN=true;this.NAME="win";}}},defer:function(statics){statics.__cS();}});})();(function(){var SSSS_0="win98",SSSS_1="osx2",SSSS_2="osx0",SSSS_3="osx4",SSSS_4="win95",SSSS_5="win2000",SSSS_6="osx1",SSSS_7="osx5",SSSS_8="osx3",SSSS_9="Windows NT 5.01",SSSS_10=")",SSSS_11="winxp",SSSS_12="freebsd",SSSS_13="sunos",SSSS_14="SV1",SSSS_15="|",SSSS_16="nintendods",SSSS_17="winnt4",SSSS_18="wince",SSSS_19="winme",SSSS_20="os9",SSSS_21="\.",SSSS_22="osx",SSSS_23="linux",SSSS_24="netbsd",SSSS_25="winvista",SSSS_26="openbsd",SSSS_27="(",SSSS_28="win2003",SSSS_29="symbian",SSSS_30="win7",SSSS_31="g",SSSS_32="qx.bom.client.System",SSSS_33=" Mobile/";qx.Class.define(SSSS_32,{statics:{NAME:"",SP1:false,SP2:false,WIN95:false,WIN98:false,WINME:false,WINNT4:false,WIN2000:false,WINXP:false,WIN2003:false,WINVISTA:false,WIN7:false,WINCE:false,LINUX:false,SUNOS:false,FREEBSD:false,NETBSD:false,OPENBSD:false,OSX:false,OS9:false,SYMBIAN:false,NINTENDODS:false,PSP:false,IPHONE:false,UNKNOWN_SYSTEM:false,__cT:{"Windows NT 6.1":SSSS_30,"Windows NT 6.0":SSSS_25,"Windows NT 5.2":SSSS_28,"Windows NT 5.1":SSSS_11,"Windows NT 5.0":SSSS_5,"Windows 2000":SSSS_5,"Windows NT 4.0":SSSS_17,"Win 9x 4.90":SSSS_19,"Windows CE":SSSS_18,"Windows 98":SSSS_0,"Win98":SSSS_0,"Windows 95":SSSS_4,"Win95":SSSS_4,"Linux":SSSS_23,"FreeBSD":SSSS_12,"NetBSD":SSSS_24,"OpenBSD":SSSS_26,"SunOS":SSSS_13,"Symbian System":SSSS_29,"Nitro":SSSS_16,"PSP":"sonypsp","Mac OS X 10_5":SSSS_7,"Mac OS X 10.5":SSSS_7,"Mac OS X 10_4":SSSS_3,"Mac OS X 10.4":SSSS_3,"Mac OS X 10_3":SSSS_8,"Mac OS X 10.3":SSSS_8,"Mac OS X 10_2":SSSS_1,"Mac OS X 10.2":SSSS_1,"Mac OS X 10_1":SSSS_6,"Mac OS X 10.1":SSSS_6,"Mac OS X 10_0":SSSS_2,"Mac OS X 10.0":SSSS_2,"Mac OS X":SSSS_22,"Mac OS 9":SSSS_20},__cU:function(){var agent=navigator.userAgent;var str=[];for(var key in this.__cT){str.push(key);}var reg=new RegExp(SSSS_27+str.join(SSSS_15).replace(/\./g,SSSS_21)+SSSS_10,SSSS_31);if(!reg.test(agent)){this.UNKNOWN_SYSTEM=true;if(!qx.bom.client.Platform.UNKNOWN_PLATFORM){if(qx.bom.client.Platform.UNIX){this.NAME="linux";this.LINUX=true;}else if(qx.bom.client.Platform.MAC){this.NAME="osx5";this.OSX=true;}else{this.NAME="winxp";this.WINXP=true;}}else{this.NAME="winxp";this.WINXP=true;}return;}if(qx.bom.client.Engine.WEBKIT&&RegExp(SSSS_33).test(navigator.userAgent)){this.IPHONE=true;this.NAME="iphone";}else{this.NAME=this.__cT[RegExp.$1];this[this.NAME.toUpperCase()]=true;if(qx.bom.client.Platform.WIN){if(agent.indexOf(SSSS_9)!==-1){this.SP1=true;}else if(qx.bom.client.Engine.MSHTML&&agent.indexOf(SSSS_14)!==-1){this.SP2=true;}}}}},defer:function(statics){statics.__cU();}});})();(function(){var SSSS_0="[",SSSS_1="]",SSSS_2=".",SSSS_3="idBubble",SSSS_4="changeBubble",SSSS_5="qx.data.marshal.MEventBubbling",SSSS_6="qx.event.type.Data";qx.Mixin.define(SSSS_5,{events:{"changeBubble":SSSS_6},members:{_applyEventPropagation:function(value,old,name){this.fireDataEvent(SSSS_4,{value:value,name:name,old:old});this._registerEventChaining(value,old,name);},_registerEventChaining:function(value,old,name){if((value instanceof qx.core.Object)&&qx.Class.hasMixin(value.constructor,qx.data.marshal.MEventBubbling)){var listener=qx.lang.Function.bind(this.__cV,this,name);var id=value.addListener(SSSS_4,listener,this);value.setUserData(SSSS_3,id);}if(old!=null&&old.getUserData&&old.getUserData(SSSS_3)!=null){old.removeListenerById(old.getUserData(SSSS_3));}},__cV:function(name,e){var data=e.getData();var value=data.value;var old=data.old;if(qx.Class.hasInterface(e.getTarget().constructor,qx.data.IListData)){if(data.name.indexOf){var dotIndex=data.name.indexOf(SSSS_2)!=-1?data.name.indexOf(SSSS_2):data.name.length;var bracketIndex=data.name.indexOf(SSSS_0)!=-1?data.name.indexOf(SSSS_0):data.name.length;if(dotIndex<bracketIndex){var index=data.name.substring(0,dotIndex);var rest=data.name.substring(dotIndex+1,data.name.length);if(rest[0]!=SSSS_0){rest=SSSS_2+rest;}var newName=name+SSSS_0+index+SSSS_1+rest;}else if(bracketIndex<dotIndex){var index=data.name.substring(0,bracketIndex);var rest=data.name.substring(bracketIndex,data.name.length);var newName=name+SSSS_0+index+SSSS_1+rest;}else{var newName=name+SSSS_0+data.name+SSSS_1;}}else{var newName=name+SSSS_0+data.name+SSSS_1;}}else{var newName=name+SSSS_2+data.name;}this.fireDataEvent(SSSS_4,{value:value,name:newName,old:old});}}});})();(function(){var SSSS_0="change",SSSS_1="add",SSSS_2="remove",SSSS_3="order",SSSS_4="The parameter must be an array.",SSSS_5="",SSSS_6="qx.data.Array",SSSS_7="?",SSSS_8="changeBubble",SSSS_9="qx.event.type.Event",SSSS_10="number",SSSS_11="on",SSSS_12="changeLength",SSSS_13="qx.debug",SSSS_14="qx.event.type.Data";qx.Class.define(SSSS_6,{extend:qx.core.Object,include:qx.data.marshal.MEventBubbling,implement:[qx.data.IListData],construct:function(param){arguments.callee.base.call(this);if(param==undefined){this.__cW=[];}else if(arguments.length>1){this.__cW=[];for(var i=0;i<arguments.length;i++){this.__cW.push(arguments[i]);}}else if(typeof param==SSSS_10){this.__cW=new Array(param);}else if(param instanceof Array){this.__cW=qx.lang.Array.clone(param);}else{this.__cW=[];throw new Error("Type of the parameter not supported!");}for(var i=0;i<this.__cW.length;i++){this._applyEventPropagation(this.__cW[i],null,i);}this.__cX();},events:{"change":SSSS_14,"changeLength":SSSS_9},members:{__cW:null,concat:function(array){if(array){var newArray=this.__cW.concat(array);}else{var newArray=this.__cW.concat();}return new qx.data.Array(newArray);},join:function(connector){return this.__cW.join(connector);},pop:function(){var item=this.__cW.pop();this.__cX();this._applyEventPropagation(null,item,this.length-1);this.fireDataEvent(SSSS_0,{start:this.length-1,end:this.length-1,type:SSSS_2,items:[item]},null);return item;},push:function(varargs){for(var i=0;i<arguments.length;i++){this.__cW.push(arguments[i]);this.__cX();this._applyEventPropagation(arguments[i],null,this.length-1);this.fireDataEvent(SSSS_0,{start:this.length-1,end:this.length-1,type:SSSS_1,items:[arguments[i]]},null);}return this.length;},reverse:function(){this.__cW.reverse();this.fireDataEvent(SSSS_0,{start:0,end:this.length-1,type:SSSS_3,items:null},null);},shift:function(){var item=this.__cW.shift();this.__cX();this._applyEventPropagation(null,item);this.fireDataEvent(SSSS_0,{start:0,end:this.length-1,type:SSSS_2,items:[item]},null);return item;},slice:function(from,to){return new qx.data.Array(this.__cW.slice(from,to));},splice:function(startIndex,amount,varargs){var oldLength=this.__cW.length;var returnArray=this.__cW.splice.apply(this.__cW,arguments);if(this.__cW.length!=oldLength){this.__cX();}var removed=amount>0;var added=arguments.length>2;var items=null;if(removed||added){if(this.__cW.length>oldLength){var type=SSSS_1;}else if(this.__cW.length<oldLength){var type=SSSS_2;items=returnArray;}else{var type=SSSS_3;}this.fireDataEvent(SSSS_0,{start:startIndex,end:this.length-1,type:type,items:items},null);}for(var i=2;i<arguments.length;i++){this._registerEventChaining(arguments[i],null,startIndex+i);}this.fireDataEvent(SSSS_8,{value:this,name:SSSS_7,old:returnArray});for(var i=0;i<returnArray.length;i++){this._applyEventPropagation(null,returnArray[i],i);}return (new qx.data.Array(returnArray));},sort:function(func){this.__cW.sort.apply(this.__cW,arguments);this.fireDataEvent(SSSS_0,{start:0,end:this.length-1,type:SSSS_3,items:null},null);},unshift:function(varargs){for(var i=arguments.length-1;i>=0;i--){this.__cW.unshift(arguments[i]);this.__cX();this._applyEventPropagation(arguments[i],null,0);this.fireDataEvent(SSSS_0,{start:0,end:this.length-1,type:SSSS_1,items:[arguments[i]]},null);}return this.length;},toArray:function(){return this.__cW;},getItem:function(index){return this.__cW[index];},setItem:function(index,item){var oldItem=this.__cW[index];this.__cW[index]=item;this._applyEventPropagation(item,oldItem,index);if(this.length!=this.__cW.length){this.__cX();}this.fireDataEvent(SSSS_0,{start:index,end:index,type:SSSS_1,items:[item]},null);},getLength:function(){return this.length;},indexOf:function(item){return this.__cW.indexOf(item);},toString:function(){if(this.__cW!=null){return this.__cW.toString();}return SSSS_5;},contains:function(item){return this.__cW.indexOf(item)!==-1;},copy:function(){return this.concat();},insertAt:function(index,item){this.splice(index,0,item);},insertBefore:function(before,item){var index=this.indexOf(before);if(index==-1){this.push(item);}else{this.splice(index,0,item);}},insertAfter:function(after,item){var index=this.indexOf(after);if(index==-1||index==(this.length-1)){this.push(item);}else{this.splice(index+1,0,item);}},removeAt:function(index){return this.splice(index,1)[0];},removeAll:function(){for(var i=0;i<this.__cW.length;i++){this._applyEventPropagation(null,this.__cW[i],i);}var oldLength=this.getLength();var items=this.__cW.concat();this.__cW.length=0;this.__cX();this.fireDataEvent(SSSS_0,{start:0,end:oldLength-1,type:SSSS_2,items:items},null);},append:function(array){if(qx.core.Variant.isSet(SSSS_13,SSSS_11)){qx.core.Assert.assertArray(array,SSSS_4);}for(var i=0;i<array.length;i++){this._applyEventPropagation(array[i],null,this.__cW.length+i);}Array.prototype.push.apply(this.__cW,array);this.__cX();},remove:function(item){var index=this.indexOf(item);if(index!=-1){this.splice(index,1);return item;}},equals:function(array){if(this.length!==array.length){return false;}for(var i=0;i<this.length;i++){if(this.getItem(i)!==array.getItem(i)){return false;}}return true;},sum:function(){var result=0;for(var i=0;i<this.length;i++){result+=this.getItem(i);}return result;},max:function(){var result=this.getItem(0);for(var i=1;i<this.length;i++){if(this.getItem(i)>result){result=this.getItem(i);}}return result===undefined?null:result;},min:function(){var result=this.getItem(0);for(var i=1;i<this.length;i++){if(this.getItem(i)<result){result=this.getItem(i);}}return result===undefined?null:result;},forEach:function(callback,context){for(var i=0;i<this.__cW.length;i++){callback.call(context,this.__cW[i]);}},__cX:function(){this.length=this.__cW.length;this.fireEvent(SSSS_12,qx.event.type.Event);}},destruct:function(){this.__cW=null;}});})();(function(){var SSSS_0='',SSSS_1="\", '",SSSS_2="')",SSSS_3='qx.ui.layout.Canvas',SSSS_4='qx.ui.layout.Grid',SSSS_5='qx.ui.layout.Dock',SSSS_6="blueprint.util.Registry.getInstance().getByNamespace(\"",SSSS_7="blueprint.util.Registry.getInstance().getFunctionByNamespace(\"",SSSS_8="blueprint.util.Misc",SSSS_9='qx.ui.layout.Grow',SSSS_10='qx.ui.layout.HBox',SSSS_11="static",SSSS_12='qx.ui.layout.VBox';qx.Bootstrap.define(SSSS_8,{type:SSSS_11,statics:{combineJson:function(base_json,override_json){var new_json=new Object();for(var node in base_json){new_json[node]=base_json[node];}for(var node in override_json){new_json[node]=override_json[node];}return new_json;},copyJson:function(json){return qx.util.Json.parseQx(qx.util.Json.stringify(json));},generateLayout:function(layout_type){var new_layout;switch(layout_type){case SSSS_3:new_layout=new qx.ui.layout.Canvas();break;case SSSS_5:new_layout=new qx.ui.layout.Dock();break;case SSSS_4:new_layout=new qx.ui.layout.Grid();break;case SSSS_9:new_layout=new qx.ui.layout.Grow();break;case SSSS_10:new_layout=new qx.ui.layout.HBox();break;case SSSS_12:new_layout=new qx.ui.layout.VBox();break;}return new_layout;},replaceVariables:function(caller,text){var newText=text;var matches=newText.match(/\$[a-zA-Z_][a-zA-Z0-9_]*/g);if(matches!=null){for(var i=0;i<matches.length;i++){if(blueprint.util.Registry.getInstance().check(caller,matches[i].replace(/\$/g,SSSS_0))){newText=newText.replace(matches[i],SSSS_6+caller.getBlueprintNamespace()+SSSS_1+matches[i].replace(/\$/g,SSSS_0)+SSSS_2);}}}matches=newText.match(/\@[a-zA-Z_][a-zA-Z0-9_]*/g);if(matches!=null){for(var i=0;i<matches.length;i++){if(blueprint.util.Registry.getInstance().check(caller,matches[i].replace(/\@/g,SSSS_0))){newText=newText.replace(matches[i],SSSS_7+caller.getBlueprintNamespace()+SSSS_1+matches[i].replace(/\@/g,SSSS_0)+SSSS_2);}}}return newText;}}});})();(function(){var SSSS_0=",",SSSS_1="",SSSS_2="string",SSSS_3="null",SSSS_4="qx.jsonDebugging",SSSS_5='"',SSSS_6="__dd",SSSS_7='\\u00',SSSS_8="new Date(Date.UTC(",SSSS_9='\\\\',SSSS_10='\\f',SSSS_11='\\"',SSSS_12="__dl",SSSS_13="))",SSSS_14="}",SSSS_15='(',SSSS_16=":",SSSS_17="{",SSSS_18='\\r',SSSS_19="__db",SSSS_20="__de",SSSS_21="__dc",SSSS_22='\\t',SSSS_23="]",SSSS_24="[",SSSS_25="Use 'parse' instead!",SSSS_26="qx.jsonEncodeUndefined",SSSS_27='\\b',SSSS_28="__dm",SSSS_29="qx.util.Json",SSSS_30=')',SSSS_31='\\n';qx.Class.define(SSSS_29,{statics:{__cY:null,BEAUTIFYING_INDENT:"  ",BEAUTIFYING_LINE_END:"\n",__da:{"function":SSSS_19,"boolean":SSSS_21,"number":SSSS_6,"string":SSSS_20,"object":SSSS_12,"undefined":SSSS_28},__db:function(incoming,key){return String(incoming);},__dc:function(incoming,key){return String(incoming);},__dd:function(incoming,key){return isFinite(incoming)?String(incoming):SSSS_3;},__de:function(incoming,key){var result;if(/["\\\x00-\x1f]/.test(incoming)){result=incoming.replace(/([\x00-\x1f\\"])/g,qx.util.Json.__dg);}else{result=incoming;}return SSSS_5+result+SSSS_5;},__df:{'\b':SSSS_27,'\t':SSSS_22,'\n':SSSS_31,'\f':SSSS_10,'\r':SSSS_18,'"':SSSS_11,'\\':SSSS_9},__dg:function(a,b){var result=qx.util.Json.__df[b];if(result){return result;}result=b.charCodeAt();return SSSS_7+Math.floor(result/16).toString(16)+(result%16).toString(16);},__dh:function(incoming,key){var stringBuilder=[],first=true,func,obj;var beautify=qx.util.Json.__do;stringBuilder.push(SSSS_24);if(beautify){qx.util.Json.__di+=qx.util.Json.BEAUTIFYING_INDENT;stringBuilder.push(qx.util.Json.__di);}for(var i=0,l=incoming.length;i<l;i++){obj=incoming[i];func=this.__da[typeof obj];if(func){obj=this[func](obj,i+SSSS_1);if(typeof obj==SSSS_2){if(!first){stringBuilder.push(SSSS_0);if(beautify){stringBuilder.push(qx.util.Json.__di);}}stringBuilder.push(obj);first=false;}}}if(beautify){qx.util.Json.__di=qx.util.Json.__di.substring(0,qx.util.Json.__di.length-qx.util.Json.BEAUTIFYING_INDENT.length);stringBuilder.push(qx.util.Json.__di);}stringBuilder.push(SSSS_23);return stringBuilder.join(SSSS_1);},__dj:function(incoming,key){var dateParams=incoming.getUTCFullYear()+SSSS_0+incoming.getUTCMonth()+SSSS_0+incoming.getUTCDate()+SSSS_0+incoming.getUTCHours()+SSSS_0+incoming.getUTCMinutes()+SSSS_0+incoming.getUTCSeconds()+SSSS_0+incoming.getUTCMilliseconds();return SSSS_8+dateParams+SSSS_13;},__dk:function(incoming,key){var stringBuilder=[],first=true,func,obj;var beautify=qx.util.Json.__do;stringBuilder.push(SSSS_17);if(beautify){qx.util.Json.__di+=qx.util.Json.BEAUTIFYING_INDENT;stringBuilder.push(qx.util.Json.__di);}for(var key in incoming){obj=incoming[key];func=this.__da[typeof obj];if(func){obj=this[func](obj,key);if(typeof obj==SSSS_2){if(!first){stringBuilder.push(SSSS_0);if(beautify){stringBuilder.push(qx.util.Json.__di);}}stringBuilder.push(this.__de(key),SSSS_16,obj);first=false;}}}if(beautify){qx.util.Json.__di=qx.util.Json.__di.substring(0,qx.util.Json.__di.length-qx.util.Json.BEAUTIFYING_INDENT.length);stringBuilder.push(qx.util.Json.__di);}stringBuilder.push(SSSS_14);return stringBuilder.join(SSSS_1);},__dl:function(incoming,key){if(incoming){if(qx.lang.Type.isFunction(incoming.toJSON)&&incoming.toJSON!==this.__cY){return this.__dn(incoming.toJSON(key),key);}else if(qx.lang.Type.isDate(incoming)){return this.__dj(incoming,key);}else if(qx.lang.Type.isArray(incoming)){return this.__dh(incoming,key);}else if(qx.lang.Type.isObject(incoming)){return this.__dk(incoming,key);}return SSSS_1;}return SSSS_3;},__dm:function(incoming,key){if(qx.core.Setting.get(SSSS_26)){return SSSS_3;}},__dn:function(incoming,key){return this[this.__da[typeof incoming]](incoming,key);},stringify:function(obj,beautify){this.__do=beautify;this.__di=this.BEAUTIFYING_LINE_END;var result=this.__dn(obj,SSSS_1);if(typeof result!=SSSS_2){result=null;}if(qx.core.Setting.get(SSSS_4)){qx.log.Logger.debug(this,"JSON request: "+result);}return result;},parse:function(text,validate){if(validate===undefined){validate=true;}if(qx.core.Setting.get(SSSS_4)){qx.log.Logger.debug(this,"JSON response: "+text);}if(validate){if(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(text.replace(/"(\\.|[^"\\])*"/g,SSSS_1))){throw new Error("Could not parse JSON string!");}}try{var result=(text&&text.length>0)?eval(SSSS_15+text+SSSS_30):null;return result;}catch(ex){throw new Error("Could not evaluate JSON string: "+ex.message);}},parseQx:function(text){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_25);return qx.util.Json.parse(text,false);}},settings:{"qx.jsonEncodeUndefined":true,"qx.jsonDebugging":false},defer:function(statics){statics.__cY=Date.prototype.toJSON;}});})();(function(){var SSSS_0="abstract",SSSS_1="qx.debug",SSSS_2="qx.ui.layout.Abstract";qx.Class.define(SSSS_2,{type:SSSS_0,extend:qx.core.Object,members:{__dp:null,_invalidChildrenCache:null,__dq:null,invalidateLayoutCache:function(){this.__dp=null;},renderLayout:function(availWidth,availHeight){this.warn("Missing renderLayout() implementation!");},getSizeHint:function(){if(this.__dp){return this.__dp;}return this.__dp=this._computeSizeHint();},hasHeightForWidth:function(){return false;},getHeightForWidth:function(width){this.warn("Missing getHeightForWidth() implementation!");return null;},_computeSizeHint:function(){return null;},invalidateChildrenCache:function(){this._invalidChildrenCache=true;},verifyLayoutProperty:qx.core.Variant.select(SSSS_1,{"on":function(item,name,value){},"off":null}),_clearSeparators:function(){var widget=this.__dq;if(widget instanceof qx.ui.core.LayoutItem){widget.clearSeparators();}},_renderSeparator:function(separator,bounds){this.__dq.renderSeparator(separator,bounds);},connectToWidget:function(widget){if(widget&&this.__dq){throw new Error("It is not possible to manually set the connected widget.");}this.__dq=widget;this.invalidateChildrenCache();},_getWidget:function(){return this.__dq;},_applyLayoutChange:function(){if(this.__dq){this.__dq.scheduleLayoutUpdate();}},_getLayoutChildren:function(){return this.__dq.getLayoutChildren();}},destruct:function(){this.__dq=this.__dp=null;}});})();(function(){var SSSS_0="number",SSSS_1="': ",SSSS_2="width",SSSS_3="qx.ui.layout.Canvas",SSSS_4="qx.debug",SSSS_5="height",SSSS_6="Bad format of layout property '",SSSS_7="' is not supported by the Canvas layout!",SSSS_8=". The value must be either an integer or an percent string.",SSSS_9="The property '";qx.Class.define(SSSS_3,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Variant.select(SSSS_4,{"on":function(item,name,value){var layoutProperties={top:1,left:1,bottom:1,right:1,width:1,height:1,edge:1};this.assert(layoutProperties[name]==1,SSSS_9+name+SSSS_7);if(name==SSSS_2||name==SSSS_5){this.assertMatch(value,qx.ui.layout.Util.PERCENT_VALUE);}else{if(typeof value===SSSS_0){this.assertInteger(value);}else if(qx.lang.Type.isString(value)){this.assertMatch(value,qx.ui.layout.Util.PERCENT_VALUE);}else{this.fail(SSSS_6+name+SSSS_1+value+SSSS_8);}}},"off":null}),renderLayout:function(availWidth,availHeight){var children=this._getLayoutChildren();var child,size,props;var left,top,right,bottom,width,height;var marginTop,marginRight,marginBottom,marginLeft;for(var i=0,l=children.length;i<l;i++){child=children[i];size=child.getSizeHint();props=child.getLayoutProperties();marginTop=child.getMarginTop();marginRight=child.getMarginRight();marginBottom=child.getMarginBottom();marginLeft=child.getMarginLeft();left=props.left!=null?props.left:props.edge;if(qx.lang.Type.isString(left)){left=Math.round(parseFloat(left)*availWidth/100);}right=props.right!=null?props.right:props.edge;if(qx.lang.Type.isString(right)){right=Math.round(parseFloat(right)*availWidth/100);}top=props.top!=null?props.top:props.edge;if(qx.lang.Type.isString(top)){top=Math.round(parseFloat(top)*availHeight/100);}bottom=props.bottom!=null?props.bottom:props.edge;if(qx.lang.Type.isString(bottom)){bottom=Math.round(parseFloat(bottom)*availHeight/100);}if(left!=null&&right!=null){width=availWidth-left-right-marginLeft-marginRight;if(width<size.minWidth){width=size.minWidth;}else if(width>size.maxWidth){width=size.maxWidth;}left+=marginLeft;}else{width=props.width;if(width==null){width=size.width;}else{width=Math.round(parseFloat(width)*availWidth/100);if(width<size.minWidth){width=size.minWidth;}else if(width>size.maxWidth){width=size.maxWidth;}}if(right!=null){left=availWidth-width-right-marginRight-marginLeft;}else if(left==null){left=marginLeft;}else{left+=marginLeft;}}if(top!=null&&bottom!=null){height=availHeight-top-bottom-marginTop-marginBottom;if(height<size.minHeight){height=size.minHeight;}else if(height>size.maxHeight){height=size.maxHeight;}top+=marginTop;}else{height=props.height;if(height==null){height=size.height;}else{height=Math.round(parseFloat(height)*availHeight/100);if(height<size.minHeight){height=size.minHeight;}else if(height>size.maxHeight){height=size.maxHeight;}}if(bottom!=null){top=availHeight-height-bottom-marginBottom-marginTop;}else if(top==null){top=marginTop;}else{top+=marginTop;}}child.renderLayout(left,top,width,height);}},_computeSizeHint:function(){var neededWidth=0,neededMinWidth=0;var neededHeight=0,neededMinHeight=0;var width,minWidth;var height,minHeight;var children=this._getLayoutChildren();var child,props,hint;var left,top,right,bottom;for(var i=0,l=children.length;i<l;i++){child=children[i];props=child.getLayoutProperties();hint=child.getSizeHint();var marginX=child.getMarginLeft()+child.getMarginRight();var marginY=child.getMarginTop()+child.getMarginBottom();width=hint.width+marginX;minWidth=hint.minWidth+marginX;left=props.left!=null?props.left:props.edge;if(left&&typeof left===SSSS_0){width+=left;minWidth+=left;}right=props.right!=null?props.right:props.edge;if(right&&typeof right===SSSS_0){width+=right;minWidth+=right;}neededWidth=Math.max(neededWidth,width);neededMinWidth=Math.max(neededMinWidth,minWidth);height=hint.height+marginY;minHeight=hint.minHeight+marginY;top=props.top!=null?props.top:props.edge;if(top&&typeof top===SSSS_0){height+=top;minHeight+=top;}bottom=props.bottom!=null?props.bottom:props.edge;if(bottom&&typeof bottom===SSSS_0){height+=bottom;minHeight+=bottom;}neededHeight=Math.max(neededHeight,height);neededMinHeight=Math.max(neededMinHeight,minHeight);}return {width:neededWidth,minWidth:neededMinWidth,height:neededHeight,minHeight:neededMinHeight};}}});})();(function(){var SSSS_0="Integer",SSSS_1="_applyDimension",SSSS_2="Boolean",SSSS_3="_applyStretching",SSSS_4="_applyMargin",SSSS_5="shorthand",SSSS_6="_applyAlign",SSSS_7="qx.debug",SSSS_8="on",SSSS_9="allowShrinkY",SSSS_10="Wrong 'width' argument. ",SSSS_11="Something went wrong with the layout of ",SSSS_12="bottom",SSSS_13="Wrong 'left' argument. ",SSSS_14="baseline",SSSS_15="marginBottom",SSSS_16="qx.ui.core.LayoutItem",SSSS_17="center",SSSS_18="marginTop",SSSS_19="!",SSSS_20="allowGrowX",SSSS_21="middle",SSSS_22="marginLeft",SSSS_23="allowShrinkX",SSSS_24="top",SSSS_25="right",SSSS_26="marginRight",SSSS_27="abstract",SSSS_28="Wrong 'top' argument. ",SSSS_29="Wrong 'height' argument. ",SSSS_30="allowGrowY",SSSS_31="left";qx.Class.define(SSSS_16,{type:SSSS_27,extend:qx.core.Object,properties:{minWidth:{check:SSSS_0,nullable:true,apply:SSSS_1,init:null,themeable:true},width:{check:SSSS_0,nullable:true,apply:SSSS_1,init:null,themeable:true},maxWidth:{check:SSSS_0,nullable:true,apply:SSSS_1,init:null,themeable:true},minHeight:{check:SSSS_0,nullable:true,apply:SSSS_1,init:null,themeable:true},height:{check:SSSS_0,nullable:true,apply:SSSS_1,init:null,themeable:true},maxHeight:{check:SSSS_0,nullable:true,apply:SSSS_1,init:null,themeable:true},allowGrowX:{check:SSSS_2,apply:SSSS_3,init:true,themeable:true},allowShrinkX:{check:SSSS_2,apply:SSSS_3,init:true,themeable:true},allowGrowY:{check:SSSS_2,apply:SSSS_3,init:true,themeable:true},allowShrinkY:{check:SSSS_2,apply:SSSS_3,init:true,themeable:true},allowStretchX:{group:[SSSS_20,SSSS_23],mode:SSSS_5,themeable:true},allowStretchY:{group:[SSSS_30,SSSS_9],mode:SSSS_5,themeable:true},marginTop:{check:SSSS_0,init:0,apply:SSSS_4,themeable:true},marginRight:{check:SSSS_0,init:0,apply:SSSS_4,themeable:true},marginBottom:{check:SSSS_0,init:0,apply:SSSS_4,themeable:true},marginLeft:{check:SSSS_0,init:0,apply:SSSS_4,themeable:true},margin:{group:[SSSS_18,SSSS_26,SSSS_15,SSSS_22],mode:SSSS_5,themeable:true},alignX:{check:[SSSS_31,SSSS_17,SSSS_25],nullable:true,apply:SSSS_6,themeable:true},alignY:{check:[SSSS_24,SSSS_21,SSSS_12,SSSS_14],nullable:true,apply:SSSS_6,themeable:true}},members:{__dr:null,__ds:null,__dt:null,__du:null,__dv:null,__dw:null,__dx:null,getBounds:function(){return this.__dw||this.__ds||null;},clearSeparators:function(){},renderSeparator:function(separator,bounds){},renderLayout:function(left,top,width,height){if(qx.core.Variant.isSet(SSSS_7,SSSS_8)){var msg=SSSS_11+this.toString()+SSSS_19;this.assertInteger(left,SSSS_13+msg);this.assertInteger(top,SSSS_28+msg);this.assertInteger(width,SSSS_10+msg);this.assertInteger(height,SSSS_29+msg);}var flowHeight=null;if(this.getHeight()==null&&this._hasHeightForWidth()){var flowHeight=this._getHeightForWidth(width);}if(flowHeight!=null&&flowHeight!==this.__dr){this.__dr=flowHeight;qx.ui.core.queue.Layout.add(this);return null;}var computed=this.__ds;if(!computed){computed=this.__ds={};}var changes={};if(left!==computed.left||top!==computed.top){changes.position=true;computed.left=left;computed.top=top;}if(width!==computed.width||height!==computed.height){changes.size=true;computed.width=width;computed.height=height;}if(this.__dt){changes.local=true;delete this.__dt;}if(this.__dv){changes.margin=true;delete this.__dv;}return changes;},isExcluded:function(){return false;},hasValidLayout:function(){return !this.__dt;},scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this);},invalidateLayoutCache:function(){this.__dt=true;this.__du=null;},getSizeHint:function(compute){var hint=this.__du;if(hint){return hint;}if(compute===false){return null;}hint=this.__du=this._computeSizeHint();if(this._hasHeightForWidth()&&this.__dr&&this.getHeight()==null){hint.height=this.__dr;}if(hint.minWidth>hint.width){hint.width=hint.minWidth;}if(hint.maxWidth<hint.width){hint.width=hint.maxWidth;}if(!this.getAllowGrowX()){hint.maxWidth=hint.width;}if(!this.getAllowShrinkX()){hint.minWidth=hint.width;}if(hint.minHeight>hint.height){hint.height=hint.minHeight;}if(hint.maxHeight<hint.height){hint.height=hint.maxHeight;}if(!this.getAllowGrowY()){hint.maxHeight=hint.height;}if(!this.getAllowShrinkY()){hint.minHeight=hint.height;}return hint;},_computeSizeHint:function(){var minWidth=this.getMinWidth()||0;var minHeight=this.getMinHeight()||0;var width=this.getWidth()||minWidth;var height=this.getHeight()||minHeight;var maxWidth=this.getMaxWidth()||Infinity;var maxHeight=this.getMaxHeight()||Infinity;return {minWidth:minWidth,width:width,maxWidth:maxWidth,minHeight:minHeight,height:height,maxHeight:maxHeight};},_hasHeightForWidth:function(){var layout=this._getLayout();if(layout){return layout.hasHeightForWidth();}return false;},_getHeightForWidth:function(width){var layout=this._getLayout();if(layout&&layout.hasHeightForWidth()){return layout.getHeightForWidth(width);}return null;},_getLayout:function(){return null;},_applyMargin:function(){this.__dv=true;var parent=this.$$parent;if(parent){parent.updateLayoutProperties();}},_applyAlign:function(){var parent=this.$$parent;if(parent){parent.updateLayoutProperties();}},_applyDimension:function(){qx.ui.core.queue.Layout.add(this);},_applyStretching:function(){qx.ui.core.queue.Layout.add(this);},hasUserBounds:function(){return !!this.__dw;},setUserBounds:function(left,top,width,height){this.__dw={left:left,top:top,width:width,height:height};qx.ui.core.queue.Layout.add(this);},resetUserBounds:function(){delete this.__dw;qx.ui.core.queue.Layout.add(this);},__dy:{},setLayoutProperties:function(props){if(props==null){return;}var storage=this.__dx;if(!storage){storage=this.__dx={};}var parent=this.getLayoutParent();if(parent){parent.updateLayoutProperties(props);}for(var key in props){if(props[key]==null){delete storage[key];}else{storage[key]=props[key];}}},getLayoutProperties:function(){return this.__dx||this.__dy;},clearLayoutProperties:function(){delete this.__dx;},updateLayoutProperties:function(props){var layout=this._getLayout();if(layout){if(qx.core.Variant.isSet(SSSS_7,SSSS_8)){if(props){for(var key in props){if(props[key]!==null){layout.verifyLayoutProperty(this,key,props[key]);}}}}layout.invalidateChildrenCache();}qx.ui.core.queue.Layout.add(this);},getApplicationRoot:function(){return qx.core.Init.getApplication().getRoot();},getLayoutParent:function(){return this.$$parent||null;},setLayoutParent:function(parent){if(this.$$parent===parent){return;}this.$$parent=parent||null;qx.ui.core.queue.Visibility.add(this);},isRootWidget:function(){return false;},_getRoot:function(){var parent=this;while(parent){if(parent.isRootWidget()){return parent;}parent=parent.$$parent;}return null;},clone:function(){var clone=arguments.callee.base.call(this);var props=this.__dx;if(props){clone.__dx=qx.lang.Object.clone(props);}return clone;}},destruct:function(){this.$$parent=this.$$subparent=this.__dx=this.__ds=this.__dw=this.__du=null;}});})();(function(){var SSSS_0="qx.ui.core.queue.Layout",SSSS_1="layout";qx.Class.define(SSSS_0,{statics:{__dz:{},remove:function(widget){delete this.__dz[widget.$$hash];},add:function(widget){this.__dz[widget.$$hash]=widget;qx.ui.core.queue.Manager.scheduleFlush(SSSS_1);},flush:function(){var queue=this.__dC();for(var i=queue.length-1;i>=0;i--){var widget=queue[i];if(widget.hasValidLayout()){continue;}if(widget.isRootWidget()&&!widget.hasUserBounds()){var hint=widget.getSizeHint();widget.renderLayout(0,0,hint.width,hint.height);}else{var bounds=widget.getBounds();widget.renderLayout(bounds.left,bounds.top,bounds.width,bounds.height);}}},getNestingLevel:function(widget){var cache=this.__dB;var level=0;var parent=widget;while(true){if(cache[parent.$$hash]!=null){level+=cache[parent.$$hash];break;}if(!parent.$$parent){break;}parent=parent.$$parent;level+=1;}var leveldown=level;while(widget&&widget!==parent){cache[widget.$$hash]=leveldown--;widget=widget.$$parent;}return level;},__dA:function(){var VisibilityQueue=qx.ui.core.queue.Visibility;this.__dB={};var levels=[];var queue=this.__dz;var widget,level;for(var hash in queue){widget=queue[hash];if(VisibilityQueue.isVisible(widget)){level=this.getNestingLevel(widget);if(!levels[level]){levels[level]={};}levels[level][hash]=widget;delete queue[hash];}}return levels;},__dC:function(){var sortedQueue=[];var levels=this.__dA();for(var level=levels.length-1;level>=0;level--){if(!levels[level]){continue;}for(var hash in levels[level]){var widget=levels[level][hash];if(level==0||widget.isRootWidget()||widget.hasUserBounds()){sortedQueue.push(widget);widget.invalidateLayoutCache();continue;}var oldSizeHint=widget.getSizeHint(false);if(oldSizeHint){widget.invalidateLayoutCache();var newSizeHint=widget.getSizeHint();var hintChanged=(!widget.getBounds()||oldSizeHint.minWidth!==newSizeHint.minWidth||oldSizeHint.width!==newSizeHint.width||oldSizeHint.maxWidth!==newSizeHint.maxWidth||oldSizeHint.minHeight!==newSizeHint.minHeight||oldSizeHint.height!==newSizeHint.height||oldSizeHint.maxHeight!==newSizeHint.maxHeight);}else{hintChanged=true;}if(hintChanged){var parent=widget.getLayoutParent();if(!levels[level-1]){levels[level-1]={};}levels[level-1][parent.$$hash]=parent;}else{sortedQueue.push(widget);}}}return sortedQueue;}}});})();(function(){var SSSS_0="qx.event.handler.UserAction";qx.Class.define(SSSS_0,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(manager){arguments.callee.base.call(this);this.__dD=manager;this.__dE=manager.getWindow();},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{useraction:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__dD:null,__dE:null,canHandleEvent:function(target,type){},registerEvent:function(target,type,capture){},unregisterEvent:function(target,type,capture){}},destruct:function(){this.__dD=this.__dE=null;},defer:function(statics){qx.event.Registration.addHandler(statics);}});})();(function(){var SSSS_0="qx.util.DeferredCallManager",SSSS_1="singleton";qx.Class.define(SSSS_0,{extend:qx.core.Object,type:SSSS_1,construct:function(){this.__dF={};this.__dG=qx.lang.Function.bind(this.__dK,this);this.__dH=false;},members:{__dI:null,__dJ:null,__dF:null,__dH:null,__dG:null,schedule:function(deferredCall){if(this.__dI==null){this.__dI=window.setTimeout(this.__dG,0);}var callKey=deferredCall.toHashCode();if(this.__dJ&&this.__dJ[callKey]){return;}this.__dF[callKey]=deferredCall;this.__dH=true;},cancel:function(deferredCall){var callKey=deferredCall.toHashCode();if(this.__dJ&&this.__dJ[callKey]){this.__dJ[callKey]=null;return;}delete this.__dF[callKey];if(qx.lang.Object.isEmpty(this.__dF)&&this.__dI!=null){window.clearTimeout(this.__dI);this.__dI=null;}},__dK:qx.event.GlobalError.observeMethod(function(){this.__dI=null;while(this.__dH){this.__dJ=qx.lang.Object.clone(this.__dF);this.__dF={};this.__dH=false;for(var key in this.__dJ){var call=this.__dJ[key];if(call){this.__dJ[key]=null;call.call();}}}this.__dJ=null;})},destruct:function(){if(this.__dI!=null){window.clearTimeout(this.__dI);}this.__dG=this.__dF=null;}});})();(function(){var SSSS_0="qx.util.DeferredCall";qx.Class.define(SSSS_0,{extend:qx.core.Object,construct:function(callback,context){arguments.callee.base.call(this);this.__dL=callback;this.__dM=context||null;this.__dN=qx.util.DeferredCallManager.getInstance();},members:{__dL:null,__dM:null,__dN:null,cancel:function(){this.__dN.cancel(this);},schedule:function(){this.__dN.schedule(this);},call:function(){this.__dM?this.__dL.apply(this.__dM):this.__dL();}},destruct:function(callback,context){this.cancel();this.__dM=this.__dL=this.__dN=null;}});})();(function(){var SSSS_0="element",SSSS_1="on",SSSS_2="qx.debug",SSSS_3="qx.client",SSSS_4="div",SSSS_5="': ",SSSS_6="Invalid context for callback.",SSSS_7="'",SSSS_8="Invalid event type.",SSSS_9="Invalid callback function",SSSS_10="",SSSS_11="mshtml",SSSS_12="none",SSSS_13="scroll",SSSS_14="text",SSSS_15="|bubble|",SSSS_16="qx.html.Element",SSSS_17="|capture|",SSSS_18="Invalid capture flag.",SSSS_19="focus",SSSS_20="gecko",SSSS_21="blur",SSSS_22="deactivate",SSSS_23="capture",SSSS_24="Failed to add event listener for type '",SSSS_25="userSelect",SSSS_26=" from the target '",SSSS_27="-moz-none",SSSS_28="__el",SSSS_29="visible",SSSS_30="releaseCapture",SSSS_31="qxSelectable",SSSS_32="tabIndex",SSSS_33="off",SSSS_34="activate",SSSS_35="MozUserSelect",SSSS_36="normal",SSSS_37=" to the target '",SSSS_38="Failed to remove event listener for type '",SSSS_39="webkit",SSSS_40="Invalid capture falg.",SSSS_41="hidden";qx.Class.define(SSSS_16,{extend:qx.core.Object,construct:function(tagName){arguments.callee.base.call(this);this.__dO=tagName||SSSS_4;},statics:{DEBUG:false,_modified:{},_visibility:{},_scroll:{},_actions:[],__dP:{},_scheduleFlush:function(job){qx.html.Element.__ex.schedule();},flush:function(){var obj;if(qx.core.Variant.isSet(SSSS_2,SSSS_1)){if(this.DEBUG){qx.log.Logger.debug(this,"Flushing elements...");}}var focusHandler=this.__dQ();var focusedDomElement=focusHandler.getFocus();if(focusedDomElement&&this.__dU(focusedDomElement)){focusHandler.blur(focusedDomElement);}var activeDomElement=focusHandler.getActive();if(activeDomElement&&this.__dU(activeDomElement)){qx.bom.Element.deactivate(activeDomElement);}var captureDomElement=this.__dS();if(captureDomElement&&this.__dU(captureDomElement)){qx.bom.Element.releaseCapture(captureDomElement);}var later=[];var modified=this._modified;for(var hc in modified){obj=modified[hc];if(obj.__ep()){if(obj.__dV&&qx.dom.Hierarchy.isRendered(obj.__dV)){later.push(obj);}else{if(qx.core.Variant.isSet(SSSS_2,SSSS_1)){if(this.DEBUG){obj.debug("Flush invisible element");}}obj.__eo();}delete modified[hc];}}for(var i=0,l=later.length;i<l;i++){obj=later[i];if(qx.core.Variant.isSet(SSSS_2,SSSS_1)){if(this.DEBUG){obj.debug("Flush rendered element");}}obj.__eo();}var visibility=this._visibility;for(var hc in visibility){obj=visibility[hc];if(qx.core.Variant.isSet(SSSS_2,SSSS_1)){if(this.DEBUG){qx.log.Logger.debug(this,"Switching visibility to: "+obj.__dY);}}obj.__dV.style.display=obj.__dY?SSSS_10:SSSS_12;if(qx.core.Variant.isSet(SSSS_3,SSSS_11)){if(!(document.documentMode>=8)){obj.__dV.style.visibility=obj.__dY?SSSS_29:SSSS_41;}}delete visibility[hc];}var scroll=this._scroll;for(var hc in scroll){obj=scroll[hc];var elem=obj.__dV;if(elem&&elem.offsetWidth){var done=true;if(obj.__ec!=null){obj.__dV.scrollLeft=obj.__ec;delete obj.__ec;}if(obj.__ed!=null){obj.__dV.scrollTop=obj.__ed;delete obj.__ed;}var intoViewX=obj.__ea;if(intoViewX!=null){var child=intoViewX.element.getDomElement();if(child&&child.offsetWidth){qx.bom.element.Scroll.intoViewX(child,elem,intoViewX.align);delete obj.__ea;}else{done=false;}}var intoViewY=obj.__eb;if(intoViewY!=null){var child=intoViewY.element.getDomElement();if(child&&child.offsetWidth){qx.bom.element.Scroll.intoViewY(child,elem,intoViewY.align);delete obj.__eb;}else{done=false;}}if(done){delete scroll[hc];}}}var activityEndActions={"releaseCapture":1,"blur":1,"deactivate":1};for(var i=0;i<this._actions.length;i++){var action=this._actions[i];var element=action.element.__dV;if(!element||!activityEndActions[action.type]&&!action.element.__ep()){continue;}var args=action.args;args.unshift(element);qx.bom.Element[action.type].apply(qx.bom.Element,args);}this._actions=[];for(var hc in this.__dP){var selection=this.__dP[hc];var elem=selection.element.__dV;if(elem){qx.bom.Selection.set(elem,selection.start,selection.end);delete this.__dP[hc];}}qx.event.handler.Appear.refresh();},__dQ:function(){if(!this.__dR){var eventManager=qx.event.Registration.getManager(window);this.__dR=eventManager.getHandler(qx.event.handler.Focus);}return this.__dR;},__dS:function(){if(!this.__dT){var eventManager=qx.event.Registration.getManager(window);this.__dT=eventManager.getDispatcher(qx.event.dispatch.MouseCapture);}return this.__dT.getCaptureElement();},__dU:function(domElement){var element=qx.core.ObjectRegistry.fromHashCode(domElement.$$element);return element&&!element.__ep();}},members:{__dO:null,__dV:null,__dW:false,__dX:true,__dY:true,__ea:null,__eb:null,__ec:null,__ed:null,__ee:null,__ef:null,__eg:null,__eh:null,__ei:null,__ej:null,__ek:null,__el:null,__em:null,__en:null,_scheduleChildrenUpdate:function(){if(this.__em){return;}this.__em=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(SSSS_0);},_createDomElement:function(){return qx.bom.Element.create(this.__dO);},__eo:function(){if(qx.core.Variant.isSet(SSSS_2,SSSS_1)){if(this.DEBUG){this.debug("Flush: "+this.getAttribute("id"));}}var children=this.__el;if(children){var length=children.length;var child;for(var i=0;i<length;i++){child=children[i];if(child.__dY&&child.__dX&&!child.__dV){child.__eo();}}}if(!this.__dV){this.__dV=this._createDomElement();this.__dV.$$element=this.$$hash;this._copyData(false);if(children&&length>0){this._insertChildren();}}else{this._syncData();if(this.__em){this._syncChildren();}}delete this.__em;},_insertChildren:function(){var children=this.__el;var length=children.length;var child;if(length>2){var domElement=document.createDocumentFragment();for(var i=0;i<length;i++){child=children[i];if(child.__dV&&child.__dX){domElement.appendChild(child.__dV);}}this.__dV.appendChild(domElement);}else{var domElement=this.__dV;for(var i=0;i<length;i++){child=children[i];if(child.__dV&&child.__dX){domElement.appendChild(child.__dV);}}}},_syncChildren:function(){var ObjectRegistry=qx.core.ObjectRegistry;var dataChildren=this.__el;var dataLength=dataChildren.length;var dataChild;var dataEl;var domParent=this.__dV;var domChildren=domParent.childNodes;var domPos=0;var domEl;if(qx.core.Variant.isSet(SSSS_2,SSSS_1)){var domOperations=0;}for(var i=domChildren.length-1;i>=0;i--){domEl=domChildren[i];dataEl=ObjectRegistry.fromHashCode(domEl.$$element);if(!dataEl||!dataEl.__dX||dataEl.__en!==this){domParent.removeChild(domEl);if(qx.core.Variant.isSet(SSSS_2,SSSS_1)){domOperations++;}}}for(var i=0;i<dataLength;i++){dataChild=dataChildren[i];if(dataChild.__dX){dataEl=dataChild.__dV;domEl=domChildren[domPos];if(!dataEl){continue;}if(dataEl!=domEl){if(domEl){domParent.insertBefore(dataEl,domEl);}else{domParent.appendChild(dataEl);}if(qx.core.Variant.isSet(SSSS_2,SSSS_1)){domOperations++;}}domPos++;}}if(qx.core.Variant.isSet(SSSS_2,SSSS_1)){if(qx.html.Element.DEBUG){this.debug("Synced DOM with "+domOperations+" operations");}}},_copyData:function(fromMarkup){var elem=this.__dV;var data=this.__ei;if(data){var Attribute=qx.bom.element.Attribute;for(var key in data){Attribute.set(elem,key,data[key]);}}var data=this.__eh;if(data){var Style=qx.bom.element.Style;if(fromMarkup){Style.setStyles(elem,data);}else{Style.setCss(elem,Style.compile(data));}}var data=this.__ej;if(data){for(var key in data){this._applyProperty(key,data[key]);}}var data=this.__ek;if(data){qx.event.Registration.getManager(elem).importListeners(elem,data);delete this.__ek;}},_syncData:function(){var elem=this.__dV;var Attribute=qx.bom.element.Attribute;var Style=qx.bom.element.Style;var jobs=this.__ef;if(jobs){var data=this.__ei;if(data){var value;for(var key in jobs){value=data[key];if(value!==undefined){Attribute.set(elem,key,value);}else{Attribute.reset(elem,key);}}}this.__ef=null;}var jobs=this.__ee;if(jobs){var data=this.__eh;if(data){var styles={};for(var key in jobs){styles[key]=data[key];}Style.setStyles(elem,styles);}this.__ee=null;}var jobs=this.__eg;if(jobs){var data=this.__ej;if(data){var value;for(var key in jobs){this._applyProperty(key,data[key]);}}this.__eg=null;}},__ep:function(){var pa=this;while(pa){if(pa.__dW){return true;}if(!pa.__dX||!pa.__dY){return false;}pa=pa.__en;}return false;},__eq:function(child){if(child.__en===this){throw new Error("Child is already in: "+child);}if(child.__dW){throw new Error("Root elements could not be inserted into other ones.");}if(child.__en){child.__en.remove(child);}child.__en=this;if(!this.__el){this.__el=[];}if(this.__dV){this._scheduleChildrenUpdate();}},__er:function(child){if(child.__en!==this){throw new Error("Has no child: "+child);}if(this.__dV){this._scheduleChildrenUpdate();}delete child.__en;},__es:function(child){if(child.__en!==this){throw new Error("Has no child: "+child);}if(this.__dV){this._scheduleChildrenUpdate();}},getChildren:function(){return this.__el||null;},getChild:function(index){var children=this.__el;return children&&children[index]||null;},hasChildren:function(){var children=this.__el;return children&&children[0]!==undefined;},indexOf:function(child){var children=this.__el;return children?children.indexOf(child):-1;},hasChild:function(child){var children=this.__el;return children&&children.indexOf(child)!==-1;},add:function(varargs){if(arguments[1]){for(var i=0,l=arguments.length;i<l;i++){this.__eq(arguments[i]);}this.__el.push.apply(this.__el,arguments);}else{this.__eq(varargs);this.__el.push(varargs);}return this;},addAt:function(child,index){this.__eq(child);qx.lang.Array.insertAt(this.__el,child,index);return this;},remove:function(childs){var children=this.__el;if(!children){return;}if(arguments[1]){var child;for(var i=0,l=arguments.length;i<l;i++){child=arguments[i];this.__er(child);qx.lang.Array.remove(children,child);}}else{this.__er(childs);qx.lang.Array.remove(children,childs);}return this;},removeAt:function(index){var children=this.__el;if(!children){throw new Error("Has no children!");}var child=children[index];if(!child){throw new Error("Has no child at this position!");}this.__er(child);qx.lang.Array.removeAt(this.__el,index);return this;},removeAll:function(){var children=this.__el;if(children){for(var i=0,l=children.length;i<l;i++){this.__er(children[i]);}children.length=0;}return this;},getParent:function(){return this.__en||null;},insertInto:function(parent,index){parent.__eq(this);if(index==null){parent.__el.push(this);}else{qx.lang.Array.insertAt(this.__el,this,index);}return this;},insertBefore:function(rel){var parent=rel.__en;parent.__eq(this);qx.lang.Array.insertBefore(parent.__el,this,rel);return this;},insertAfter:function(rel){var parent=rel.__en;parent.__eq(this);qx.lang.Array.insertAfter(parent.__el,this,rel);return this;},moveTo:function(index){var parent=this.__en;parent.__es(this);var oldIndex=parent.__el.indexOf(this);if(oldIndex===index){throw new Error("Could not move to same index!");}else if(oldIndex<index){index--;}qx.lang.Array.removeAt(parent.__el,oldIndex);qx.lang.Array.insertAt(parent.__el,this,index);return this;},moveBefore:function(rel){var parent=this.__en;return this.moveTo(parent.__el.indexOf(rel));},moveAfter:function(rel){var parent=this.__en;return this.moveTo(parent.__el.indexOf(rel)+1);},free:function(){var parent=this.__en;if(!parent){throw new Error("Has no parent to remove from.");}if(!parent.__el){return;}parent.__er(this);qx.lang.Array.remove(parent.__el,this);return this;},getDomElement:function(){return this.__dV||null;},getNodeName:function(){return this.__dO;},setNodeName:function(name){this.__dO=name;},setRoot:function(root){this.__dW=root;},useMarkup:function(html){if(this.__dV){throw new Error("Could not overwrite existing element!");}if(qx.core.Variant.isSet(SSSS_3,SSSS_11)){var helper=document.createElement(SSSS_4);}else{var helper=qx.html.Element.__et;if(!helper){helper=qx.html.Element.__et=document.createElement(SSSS_4);}}helper.innerHTML=html;this.__dV=helper.firstChild;this.__dV.$$element=this.$$hash;this._copyData(true);return this.__dV;},useElement:function(elem){if(this.__dV){throw new Error("Could not overwrite existing element!");}this.__dV=elem;this.__dV.$$element=this.$$hash;this._copyData(true);},isFocusable:function(){var tabIndex=this.getAttribute(SSSS_32);if(tabIndex>=1){return true;}var focusable=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;if(tabIndex>=0&&focusable[this.__dO]){return true;}return false;},setSelectable:function(value){this.setAttribute(SSSS_31,value?SSSS_1:SSSS_33);if(qx.core.Variant.isSet(SSSS_3,SSSS_39)){this.setStyle(SSSS_25,value?SSSS_36:SSSS_12);}else if(qx.core.Variant.isSet(SSSS_3,SSSS_20)){this.setStyle(SSSS_35,value?SSSS_14:SSSS_27);}},isNativelyFocusable:function(){return !!qx.event.handler.Focus.FOCUSABLE_ELEMENTS[this.__dO];},include:function(){if(this.__dX){return;}delete this.__dX;if(this.__en){this.__en._scheduleChildrenUpdate();}return this;},exclude:function(){if(!this.__dX){return;}this.__dX=false;if(this.__en){this.__en._scheduleChildrenUpdate();}return this;},isIncluded:function(){return this.__dX===true;},show:function(){if(this.__dY){return;}if(this.__dV){qx.html.Element._visibility[this.$$hash]=this;qx.html.Element._scheduleFlush(SSSS_0);}if(this.__en){this.__en._scheduleChildrenUpdate();}delete this.__dY;},hide:function(){if(!this.__dY){return;}if(this.__dV){qx.html.Element._visibility[this.$$hash]=this;qx.html.Element._scheduleFlush(SSSS_0);}this.__dY=false;},isVisible:function(){return this.__dY===true;},scrollChildIntoViewX:function(elem,align,direct){var thisEl=this.__dV;var childEl=elem.getDomElement();if(direct!==false&&thisEl&&thisEl.offsetWidth&&childEl&&childEl.offsetWidth){qx.bom.element.Scroll.intoViewX(childEl,thisEl,align);}else{this.__ea={element:elem,align:align};qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(SSSS_0);}delete this.__ec;},scrollChildIntoViewY:function(elem,align,direct){var thisEl=this.__dV;var childEl=elem.getDomElement();if(direct!==false&&thisEl&&thisEl.offsetWidth&&childEl&&childEl.offsetWidth){qx.bom.element.Scroll.intoViewY(childEl,thisEl,align);}else{this.__eb={element:elem,align:align};qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(SSSS_0);}delete this.__ed;},scrollToX:function(x,lazy){var thisEl=this.__dV;if(lazy!==true&&thisEl&&thisEl.offsetWidth){thisEl.scrollLeft=x;}else{this.__ec=x;qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(SSSS_0);}delete this.__ea;},getScrollX:function(){var thisEl=this.__dV;if(thisEl){return thisEl.scrollLeft;}return this.__ec||0;},scrollToY:function(y,lazy){var thisEl=this.__dV;if(lazy!==true&&thisEl&&thisEl.offsetWidth){thisEl.scrollTop=y;}else{this.__ed=y;qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(SSSS_0);}delete this.__eb;},getScrollY:function(){var thisEl=this.__dV;if(thisEl){return thisEl.scrollTop;}return this.__ed||0;},disableScrolling:function(){this.enableScrolling();this.scrollToX(0);this.scrollToY(0);this.addListener(SSSS_13,this.__ev,this);},enableScrolling:function(){this.removeListener(SSSS_13,this.__ev,this);},__eu:null,__ev:function(e){if(!this.__eu){this.__eu=true;this.__dV.scrollTop=0;this.__dV.scrollLeft=0;delete this.__eu;}},getTextSelection:function(){var el=this.__dV;if(el){return qx.bom.Selection.get(el);}return null;},getTextSelectionLength:function(){var el=this.__dV;if(el){return qx.bom.Selection.getLength(el);}return null;},getTextSelectionStart:function(){var el=this.__dV;if(el){return qx.bom.Selection.getStart(el);}return null;},getTextSelectionEnd:function(){var el=this.__dV;if(el){return qx.bom.Selection.getEnd(el);}return null;},setTextSelection:function(start,end){var el=this.__dV;if(el){qx.bom.Selection.set(el,start,end);return;}qx.html.Element.__dP[this.toHashCode()]={element:this,start:start,end:end};qx.html.Element._scheduleFlush(SSSS_0);},clearTextSelection:function(){var el=this.__dV;if(el){qx.bom.Selection.clear(el);}delete qx.html.Element.__dP[this.toHashCode()];},__ew:function(action,args){var actions=qx.html.Element._actions;actions.push({type:action,element:this,args:args||[]});qx.html.Element._scheduleFlush(SSSS_0);},focus:function(){this.__ew(SSSS_19);},blur:function(){this.__ew(SSSS_21);},activate:function(){this.__ew(SSSS_34);},deactivate:function(){this.__ew(SSSS_22);},capture:function(containerCapture){this.__ew(SSSS_23,[containerCapture!==false]);},releaseCapture:function(){this.__ew(SSSS_30);},setStyle:function(key,value,direct){if(!this.__eh){this.__eh={};}if(this.__eh[key]==value){return;}if(value==null){delete this.__eh[key];}else{this.__eh[key]=value;}if(this.__dV){if(direct){qx.bom.element.Style.set(this.__dV,key,value);return this;}if(!this.__ee){this.__ee={};}this.__ee[key]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(SSSS_0);}return this;},setStyles:function(map,direct){var Style=qx.bom.element.Style;if(!this.__eh){this.__eh={};}if(this.__dV){if(!this.__ee){this.__ee={};}for(var key in map){var value=map[key];if(this.__eh[key]==value){continue;}if(value==null){delete this.__eh[key];}else{this.__eh[key]=value;}if(direct){Style.set(this.__dV,key,value);continue;}this.__ee[key]=true;}qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(SSSS_0);}else{for(var key in map){var value=map[key];if(this.__eh[key]==value){continue;}if(value==null){delete this.__eh[key];}else{this.__eh[key]=value;}}}return this;},removeStyle:function(key,direct){this.setStyle(key,null,direct);},getStyle:function(key){return this.__eh?this.__eh[key]:null;},getAllStyles:function(){return this.__eh||null;},setAttribute:function(key,value,direct){if(!this.__ei){this.__ei={};}if(this.__ei[key]==value){return;}if(value==null){delete this.__ei[key];}else{this.__ei[key]=value;}if(this.__dV){if(direct){qx.bom.element.Attribute.set(this.__dV,key,value);return this;}if(!this.__ef){this.__ef={};}this.__ef[key]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(SSSS_0);}return this;},setAttributes:function(map,direct){for(var key in map){this.setAttribute(key,map[key],direct);}return this;},removeAttribute:function(key,direct){this.setAttribute(key,null,direct);},getAttribute:function(key){return this.__ei?this.__ei[key]:null;},_applyProperty:function(name,value){},_setProperty:function(key,value,direct){if(!this.__ej){this.__ej={};}if(this.__ej[key]==value){return;}if(value==null){delete this.__ej[key];}else{this.__ej[key]=value;}if(this.__dV){if(direct){this._applyProperty(key,value);return this;}if(!this.__eg){this.__eg={};}this.__eg[key]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(SSSS_0);}return this;},_removeProperty:function(key,direct){this._setProperty(key,null,direct);},_getProperty:function(key){var db=this.__ej;if(!db){return null;}var value=db[key];return value==null?null:value;},addListener:function(type,listener,self,capture){if(this.$$disposed){return null;}if(qx.core.Variant.isSet(SSSS_2,SSSS_1)){var msg=SSSS_24+type+SSSS_7+SSSS_37+this+SSSS_5;this.assertString(type,msg+SSSS_8);this.assertFunction(listener,msg+SSSS_9);if(self!==undefined){this.assertObject(self,SSSS_6);}if(capture!==undefined){this.assertBoolean(capture,SSSS_40);}}if(this.__dV){return qx.event.Registration.addListener(this.__dV,type,listener,self,capture);}if(!this.__ek){this.__ek={};}if(capture==null){capture=false;}var unique=qx.event.Manager.getNextUniqueId();var id=type+(capture?SSSS_17:SSSS_15)+unique;this.__ek[id]={type:type,listener:listener,self:self,capture:capture,unique:unique};return id;},removeListener:function(type,listener,self,capture){if(this.$$disposed){return null;}if(qx.core.Variant.isSet(SSSS_2,SSSS_1)){var msg=SSSS_38+type+SSSS_7+SSSS_26+this+SSSS_5;this.assertString(type,msg+SSSS_8);this.assertFunction(listener,msg+SSSS_9);if(self!==undefined){this.assertObject(self,SSSS_6);}if(capture!==undefined){this.assertBoolean(capture,SSSS_18);}}if(this.__dV){qx.event.Registration.removeListener(this.__dV,type,listener,self,capture);}else{var values=this.__ek;var entry;if(capture==null){capture=false;}for(var key in values){entry=values[key];if(entry.listener===listener&&entry.self===self&&entry.capture===capture&&entry.type===type){delete values[key];break;}}}return this;},removeListenerById:function(id){if(this.$$disposed){return null;}if(this.__dV){qx.event.Registration.removeListenerById(this.__dV,id);}else{delete this.__ek[id];}return this;},hasListener:function(type,capture){if(this.$$disposed){return false;}if(this.__dV){return qx.event.Registration.hasListener(this.__dV,type,capture);}var values=this.__ek;var entry;if(capture==null){capture=false;}for(var key in values){entry=values[key];if(entry.capture===capture&&entry.type===type){return true;}}return false;}},defer:function(statics){statics.__ex=new qx.util.DeferredCall(statics.flush,statics);},destruct:function(){var el=this.__dV;if(el){qx.event.Registration.getManager(el).removeAllListeners(el);el.$$element=SSSS_10;}if(!qx.core.ObjectRegistry.inShutDown){var parent=this.__en;if(parent&&!parent.$$disposed){parent.remove(this);}}this._disposeArray(SSSS_28);this.__ei=this.__eh=this.__ek=this.__ej=this.__ef=this.__ee=this.__eg=this.__dV=this.__en=this.__ea=this.__eb=null;}});})();(function(){var SSSS_0="on",SSSS_1="qx.ui.core.queue.Manager",SSSS_2="qx.debug",SSSS_3="useraction";qx.Class.define(SSSS_1,{statics:{__ey:false,__ez:{},__eA:0,MAX_RETRIES:10,scheduleFlush:function(job){var self=qx.ui.core.queue.Manager;self.__ez[job]=true;if(!self.__ey){self.__eD.schedule();self.__ey=true;}},flush:function(){var self=qx.ui.core.queue.Manager;if(self.__eB){return;}self.__eB=true;self.__eD.cancel();var jobs=self.__ez;self.__eC(function(){while(jobs.visibility||jobs.widget||jobs.appearance||jobs.layout||jobs.element){if(jobs.widget){delete jobs.widget;qx.ui.core.queue.Widget.flush();}if(jobs.visibility){delete jobs.visibility;qx.ui.core.queue.Visibility.flush();}if(jobs.appearance){delete jobs.appearance;qx.ui.core.queue.Appearance.flush();}if(jobs.widget||jobs.visibility||jobs.appearance){continue;}if(jobs.layout){delete jobs.layout;qx.ui.core.queue.Layout.flush();}if(jobs.widget||jobs.visibility||jobs.appearance||jobs.layout){continue;}if(jobs.element){delete jobs.element;qx.html.Element.flush();}}},function(){self.__ey=false;});self.__eC(function(){if(jobs.dispose){delete jobs.dispose;qx.ui.core.queue.Dispose.flush();}},function(){self.__eB=false;});self.__eA=0;},__eC:function(callback,finallyCode){var self=qx.ui.core.queue.Manager;try{callback();}catch(e){if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){qx.log.Logger.error("Error while layout flush: "+e+"\n"+"Stack trace: \n"+qx.dev.StackTrace.getStackTraceFromError(e));}self.__ey=false;self.__eB=false;self.__eA+=1;if(self.__eA<=self.MAX_RETRIES){self.scheduleFlush();}else{throw new Error("Fatal Error: Flush terminated "+(self.__eA-1)+" times in a row"+" due to exceptions in user code. The application has to be reloaded!");}throw e;}finally{finallyCode();}}},defer:function(statics){statics.__eD=new qx.util.DeferredCall(statics.flush);qx.html.Element._scheduleFlush=statics.scheduleFlush;qx.event.Registration.addListener(window,SSSS_3,statics.flush);}});})();(function(){var SSSS_0="abstract",SSSS_1="qx.event.dispatch.AbstractBubbling";qx.Class.define(SSSS_1,{extend:qx.core.Object,implement:qx.event.IEventDispatcher,type:SSSS_0,construct:function(manager){this._manager=manager;},members:{_getParent:function(target){throw new Error("Missing implementation");},canDispatchEvent:function(target,event,type){return event.getBubbles();},dispatchEvent:function(target,event,type){var parent=target;var manager=this._manager;var captureListeners,bubbleListeners;var localList;var listener,context;var currentTarget;var targetList=[];captureListeners=manager.getListeners(target,type,true);bubbleListeners=manager.getListeners(target,type,false);if(captureListeners){targetList.push(captureListeners);}if(bubbleListeners){targetList.push(bubbleListeners);}var parent=this._getParent(target);var bubbleList=[];var bubbleTargets=[];var captureList=[];var captureTargets=[];while(parent!=null){captureListeners=manager.getListeners(parent,type,true);if(captureListeners){captureList.push(captureListeners);captureTargets.push(parent);}bubbleListeners=manager.getListeners(parent,type,false);if(bubbleListeners){bubbleList.push(bubbleListeners);bubbleTargets.push(parent);}parent=this._getParent(parent);}event.setEventPhase(qx.event.type.Event.CAPTURING_PHASE);for(var i=captureList.length-1;i>=0;i--){currentTarget=captureTargets[i];event.setCurrentTarget(currentTarget);localList=captureList[i];for(var j=0,jl=localList.length;j<jl;j++){listener=localList[j];context=listener.context||currentTarget;listener.handler.call(context,event);}if(event.getPropagationStopped()){return;}}event.setEventPhase(qx.event.type.Event.AT_TARGET);event.setCurrentTarget(target);for(var i=0,il=targetList.length;i<il;i++){localList=targetList[i];for(var j=0,jl=localList.length;j<jl;j++){listener=localList[j];context=listener.context||target;listener.handler.call(context,event);}if(event.getPropagationStopped()){return;}}event.setEventPhase(qx.event.type.Event.BUBBLING_PHASE);for(var i=0,il=bubbleList.length;i<il;i++){currentTarget=bubbleTargets[i];event.setCurrentTarget(currentTarget);localList=bubbleList[i];for(var j=0,jl=localList.length;j<jl;j++){listener=localList[j];context=listener.context||currentTarget;listener.handler.call(context,event);}if(event.getPropagationStopped()){return;}}}}});})();(function(){var SSSS_0="qx.event.dispatch.DomBubbling";qx.Class.define(SSSS_0,{extend:qx.event.dispatch.AbstractBubbling,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL},members:{_getParent:function(target){return target.parentNode;},canDispatchEvent:function(target,event,type){return target.nodeType!==undefined&&event.getBubbles();}},defer:function(statics){qx.event.Registration.addDispatcher(statics);}});})();(function(){var SSSS_0="keydown",SSSS_1="qx.client",SSSS_2="keypress",SSSS_3="NumLock",SSSS_4="keyup",SSSS_5="Enter",SSSS_6="0",SSSS_7="9",SSSS_8="-",SSSS_9="PageUp",SSSS_10="+",SSSS_11="PrintScreen",SSSS_12="gecko",SSSS_13="A",SSSS_14="Z",SSSS_15="Left",SSSS_16="F5",SSSS_17="Down",SSSS_18="Up",SSSS_19="F11",SSSS_20="F6",SSSS_21="useraction",SSSS_22="F3",SSSS_23="keyinput",SSSS_24="Insert",SSSS_25="F8",SSSS_26="End",SSSS_27="/",SSSS_28="Delete",SSSS_29="*",SSSS_30="F1",SSSS_31="F4",SSSS_32="Home",SSSS_33="F2",SSSS_34="F12",SSSS_35="PageDown",SSSS_36="F7",SSSS_37="F9",SSSS_38="F10",SSSS_39="Right",SSSS_40="text",SSSS_41="Escape",SSSS_42="webkit",SSSS_43="5",SSSS_44="3",SSSS_45="Meta",SSSS_46="7",SSSS_47="CapsLock",SSSS_48="input",SSSS_49="Control",SSSS_50="Space",SSSS_51="Tab",SSSS_52="Shift",SSSS_53="Pause",SSSS_54="Unidentified",SSSS_55="qx.event.handler.Keyboard",SSSS_56="mshtml",SSSS_57="mshtml|webkit",SSSS_58="6",SSSS_59="off",SSSS_60="Apps",SSSS_61="4",SSSS_62="Alt",SSSS_63="2",SSSS_64="Scroll",SSSS_65="1",SSSS_66="8",SSSS_67="Win",SSSS_68="autoComplete",SSSS_69=",",SSSS_70="Backspace";qx.Class.define(SSSS_55,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(manager){arguments.callee.base.call(this);this.__eE=manager;this.__eF=manager.getWindow();if(qx.core.Variant.isSet(SSSS_1,SSSS_12)){this.__eG=this.__eF;}else{this.__eG=this.__eF.document.documentElement;}this.__eH={};this._initKeyObserver();},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{keyup:1,keydown:1,keypress:1,keyinput:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:true,isValidKeyIdentifier:function(keyIdentifier){if(this._identifierToKeyCodeMap[keyIdentifier]){return true;}if(keyIdentifier.length!=1){return false;}if(keyIdentifier>=SSSS_6&&keyIdentifier<=SSSS_7){return true;}if(keyIdentifier>=SSSS_13&&keyIdentifier<=SSSS_14){return true;}switch(keyIdentifier){case SSSS_10:case SSSS_8:case SSSS_29:case SSSS_27:return true;default:return false;}}},members:{__eI:null,__eE:null,__eF:null,__eG:null,__eH:null,__eJ:null,__eK:null,__eL:null,canHandleEvent:function(target,type){},registerEvent:function(target,type,capture){},unregisterEvent:function(target,type,capture){},_fireInputEvent:function(domEvent,charCode){var target=this.__eM();if(target&&target.offsetWidth!=0){var event=qx.event.Registration.createEvent(SSSS_23,qx.event.type.KeyInput,[domEvent,target,charCode]);this.__eE.dispatchEvent(target,event);}if(this.__eF){qx.event.Registration.fireEvent(this.__eF,SSSS_21,qx.event.type.Data,[SSSS_23]);}},_fireSequenceEvent:function(domEvent,type,keyIdentifier){var target=this.__eM();var keyCode=domEvent.keyCode;var event=qx.event.Registration.createEvent(type,qx.event.type.KeySequence,[domEvent,target,keyIdentifier]);this.__eE.dispatchEvent(target,event);if(qx.core.Variant.isSet(SSSS_1,SSSS_57)){if(type==SSSS_0&&event.getDefaultPrevented()){if(!this._isNonPrintableKeyCode(keyCode)&&!this._emulateKeyPress[keyCode]){this._fireSequenceEvent(domEvent,SSSS_2,keyIdentifier);}}}if(this.__eF){qx.event.Registration.fireEvent(this.__eF,SSSS_21,qx.event.type.Data,[type]);}},__eM:function(){var focusHandler=this.__eE.getHandler(qx.event.handler.Focus);var target=focusHandler.getActive();if(!target||target.offsetWidth==0){target=focusHandler.getFocus();}if(!target||target.offsetWidth==0){target=this.__eE.getWindow().document.body;}return target;},_initKeyObserver:function(){this.__eI=qx.lang.Function.listener(this.__eN,this);this.__eL=qx.lang.Function.listener(this.__eP,this);var Event=qx.bom.Event;Event.addNativeListener(this.__eG,SSSS_4,this.__eI);Event.addNativeListener(this.__eG,SSSS_0,this.__eI);Event.addNativeListener(this.__eG,SSSS_2,this.__eL);},_stopKeyObserver:function(){var Event=qx.bom.Event;Event.removeNativeListener(this.__eG,SSSS_4,this.__eI);Event.removeNativeListener(this.__eG,SSSS_0,this.__eI);Event.removeNativeListener(this.__eG,SSSS_2,this.__eL);for(var key in (this.__eK||{})){var listener=this.__eK[key];Event.removeNativeListener(listener.target,SSSS_2,listener.callback);}delete (this.__eK);},__eN:qx.event.GlobalError.observeMethod(qx.core.Variant.select(SSSS_1,{"mshtml":function(domEvent){domEvent=window.event||domEvent;var keyCode=domEvent.keyCode;var charCode=0;var type=domEvent.type;if(!(this.__eH[keyCode]==SSSS_0&&type==SSSS_0)){this._idealKeyHandler(keyCode,charCode,type,domEvent);}if(type==SSSS_0){if(this._isNonPrintableKeyCode(keyCode)||this._emulateKeyPress[keyCode]){this._idealKeyHandler(keyCode,charCode,SSSS_2,domEvent);}}this.__eH[keyCode]=type;},"gecko":function(domEvent){var keyCode=this._keyCodeFix[domEvent.keyCode]||domEvent.keyCode;var charCode=0;var type=domEvent.type;if(qx.bom.client.Platform.WIN){var keyIdentifier=keyCode?this._keyCodeToIdentifier(keyCode):this._charCodeToIdentifier(charCode);if(!(this.__eH[keyIdentifier]==SSSS_0&&type==SSSS_0)){this._idealKeyHandler(keyCode,charCode,type,domEvent);}this.__eH[keyIdentifier]=type;}else{this._idealKeyHandler(keyCode,charCode,type,domEvent);}this.__eO(domEvent.target,type,keyCode);},"webkit":function(domEvent){var keyCode=0;var charCode=0;var type=domEvent.type;if(qx.bom.client.Engine.VERSION<525.13){if(type==SSSS_4||type==SSSS_0){keyCode=this._charCode2KeyCode[domEvent.charCode]||domEvent.keyCode;}else{if(this._charCode2KeyCode[domEvent.charCode]){keyCode=this._charCode2KeyCode[domEvent.charCode];}else{charCode=domEvent.charCode;}}this._idealKeyHandler(keyCode,charCode,type,domEvent);}else{keyCode=domEvent.keyCode;if(!(this.__eH[keyCode]==SSSS_0&&type==SSSS_0)){this._idealKeyHandler(keyCode,charCode,type,domEvent);}if(type==SSSS_0){if(this._isNonPrintableKeyCode(keyCode)||this._emulateKeyPress[keyCode]){this._idealKeyHandler(keyCode,charCode,SSSS_2,domEvent);}}this.__eH[keyCode]=type;}},"opera":function(domEvent){this.__eJ=domEvent.keyCode;this._idealKeyHandler(domEvent.keyCode,0,domEvent.type,domEvent);}})),__eO:qx.core.Variant.select(SSSS_1,{"gecko":function(target,type,keyCode){if(type===SSSS_0&&(keyCode==33||keyCode==34||keyCode==38||keyCode==40)&&target.type==SSSS_40&&target.tagName.toLowerCase()===SSSS_48&&target.getAttribute(SSSS_68)!==SSSS_59){if(!this.__eK){this.__eK={};}var hash=qx.core.ObjectRegistry.toHashCode(target);if(this.__eK[hash]){return;}var self=this;this.__eK[hash]={target:target,callback:function(domEvent){qx.bom.Event.stopPropagation(domEvent);self.__eP(domEvent);}};var listener=qx.event.GlobalError.observeMethod(this.__eK[hash].callback);qx.bom.Event.addNativeListener(target,SSSS_2,listener);}},"default":null}),__eP:qx.event.GlobalError.observeMethod(qx.core.Variant.select(SSSS_1,{"mshtml":function(domEvent){domEvent=window.event||domEvent;if(this._charCode2KeyCode[domEvent.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[domEvent.keyCode],0,domEvent.type,domEvent);}else{this._idealKeyHandler(0,domEvent.keyCode,domEvent.type,domEvent);}},"gecko":function(domEvent){var keyCode=this._keyCodeFix[domEvent.keyCode]||domEvent.keyCode;var charCode=domEvent.charCode;var type=domEvent.type;this._idealKeyHandler(keyCode,charCode,type,domEvent);},"webkit":function(domEvent){if(qx.bom.client.Engine.VERSION<525.13){var keyCode=0;var charCode=0;var type=domEvent.type;if(type==SSSS_4||type==SSSS_0){keyCode=this._charCode2KeyCode[domEvent.charCode]||domEvent.keyCode;}else{if(this._charCode2KeyCode[domEvent.charCode]){keyCode=this._charCode2KeyCode[domEvent.charCode];}else{charCode=domEvent.charCode;}}this._idealKeyHandler(keyCode,charCode,type,domEvent);}else{if(this._charCode2KeyCode[domEvent.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[domEvent.keyCode],0,domEvent.type,domEvent);}else{this._idealKeyHandler(0,domEvent.keyCode,domEvent.type,domEvent);}}},"opera":function(domEvent){var keyCode=domEvent.keyCode;var type=domEvent.type;if(keyCode!=this.__eJ){this._idealKeyHandler(0,this.__eJ,type,domEvent);}else{if(this._keyCodeToIdentifierMap[domEvent.keyCode]){this._idealKeyHandler(domEvent.keyCode,0,domEvent.type,domEvent);}else{this._idealKeyHandler(0,domEvent.keyCode,domEvent.type,domEvent);}}}})),_idealKeyHandler:function(keyCode,charCode,eventType,domEvent){var keyIdentifier;if(keyCode||(!keyCode&&!charCode)){keyIdentifier=this._keyCodeToIdentifier(keyCode);this._fireSequenceEvent(domEvent,eventType,keyIdentifier);}else{keyIdentifier=this._charCodeToIdentifier(charCode);this._fireSequenceEvent(domEvent,SSSS_2,keyIdentifier);this._fireInputEvent(domEvent,charCode);}},_specialCharCodeMap:{8:SSSS_70,9:SSSS_51,13:SSSS_5,27:SSSS_41,32:SSSS_50},_emulateKeyPress:qx.core.Variant.select(SSSS_1,{"mshtml":{8:true,9:true},"webkit":{8:true,9:true,27:true},"default":{}}),_keyCodeToIdentifierMap:{16:SSSS_52,17:SSSS_49,18:SSSS_62,20:SSSS_47,224:SSSS_45,37:SSSS_15,38:SSSS_18,39:SSSS_39,40:SSSS_17,33:SSSS_9,34:SSSS_35,35:SSSS_26,36:SSSS_32,45:SSSS_24,46:SSSS_28,112:SSSS_30,113:SSSS_33,114:SSSS_22,115:SSSS_31,116:SSSS_16,117:SSSS_20,118:SSSS_36,119:SSSS_25,120:SSSS_37,121:SSSS_38,122:SSSS_19,123:SSSS_34,144:SSSS_3,44:SSSS_11,145:SSSS_64,19:SSSS_53,91:SSSS_67,93:SSSS_60},_numpadToCharCode:{96:SSSS_6.charCodeAt(0),97:SSSS_65.charCodeAt(0),98:SSSS_63.charCodeAt(0),99:SSSS_44.charCodeAt(0),100:SSSS_61.charCodeAt(0),101:SSSS_43.charCodeAt(0),102:SSSS_58.charCodeAt(0),103:SSSS_46.charCodeAt(0),104:SSSS_66.charCodeAt(0),105:SSSS_7.charCodeAt(0),106:SSSS_29.charCodeAt(0),107:SSSS_10.charCodeAt(0),109:SSSS_8.charCodeAt(0),110:SSSS_69.charCodeAt(0),111:SSSS_27.charCodeAt(0)},_charCodeA:SSSS_13.charCodeAt(0),_charCodeZ:SSSS_14.charCodeAt(0),_charCode0:SSSS_6.charCodeAt(0),_charCode9:SSSS_7.charCodeAt(0),_isNonPrintableKeyCode:function(keyCode){return this._keyCodeToIdentifierMap[keyCode]?true:false;},_isIdentifiableKeyCode:function(keyCode){if(keyCode>=this._charCodeA&&keyCode<=this._charCodeZ){return true;}if(keyCode>=this._charCode0&&keyCode<=this._charCode9){return true;}if(this._specialCharCodeMap[keyCode]){return true;}if(this._numpadToCharCode[keyCode]){return true;}if(this._isNonPrintableKeyCode(keyCode)){return true;}return false;},_keyCodeToIdentifier:function(keyCode){if(this._isIdentifiableKeyCode(keyCode)){var numPadKeyCode=this._numpadToCharCode[keyCode];if(numPadKeyCode){return String.fromCharCode(numPadKeyCode);}return (this._keyCodeToIdentifierMap[keyCode]||this._specialCharCodeMap[keyCode]||String.fromCharCode(keyCode));}else{return SSSS_54;}},_charCodeToIdentifier:function(charCode){return this._specialCharCodeMap[charCode]||String.fromCharCode(charCode).toUpperCase();},_identifierToKeyCode:function(keyIdentifier){return qx.event.handler.Keyboard._identifierToKeyCodeMap[keyIdentifier]||keyIdentifier.charCodeAt(0);}},destruct:function(){this._stopKeyObserver();this.__eJ=this.__eE=this.__eF=this.__eG=this.__eH=null;},defer:function(statics,members,properties){qx.event.Registration.addHandler(statics);if(!statics._identifierToKeyCodeMap){statics._identifierToKeyCodeMap={};for(var key in members._keyCodeToIdentifierMap){statics._identifierToKeyCodeMap[members._keyCodeToIdentifierMap[key]]=parseInt(key,10);}for(var key in members._specialCharCodeMap){statics._identifierToKeyCodeMap[members._specialCharCodeMap[key]]=parseInt(key,10);}}if(qx.core.Variant.isSet(SSSS_1,SSSS_56)){members._charCode2KeyCode={13:13,27:27};}else if(qx.core.Variant.isSet(SSSS_1,SSSS_12)){members._keyCodeFix={12:members._identifierToKeyCode(SSSS_3)};}else if(qx.core.Variant.isSet(SSSS_1,SSSS_42)){if(qx.bom.client.Engine.VERSION<525.13){members._charCode2KeyCode={63289:members._identifierToKeyCode(SSSS_3),63276:members._identifierToKeyCode(SSSS_9),63277:members._identifierToKeyCode(SSSS_35),63275:members._identifierToKeyCode(SSSS_26),63273:members._identifierToKeyCode(SSSS_32),63234:members._identifierToKeyCode(SSSS_15),63232:members._identifierToKeyCode(SSSS_18),63235:members._identifierToKeyCode(SSSS_39),63233:members._identifierToKeyCode(SSSS_17),63272:members._identifierToKeyCode(SSSS_28),63302:members._identifierToKeyCode(SSSS_24),63236:members._identifierToKeyCode(SSSS_30),63237:members._identifierToKeyCode(SSSS_33),63238:members._identifierToKeyCode(SSSS_22),63239:members._identifierToKeyCode(SSSS_31),63240:members._identifierToKeyCode(SSSS_16),63241:members._identifierToKeyCode(SSSS_20),63242:members._identifierToKeyCode(SSSS_36),63243:members._identifierToKeyCode(SSSS_25),63244:members._identifierToKeyCode(SSSS_37),63245:members._identifierToKeyCode(SSSS_38),63246:members._identifierToKeyCode(SSSS_19),63247:members._identifierToKeyCode(SSSS_34),63248:members._identifierToKeyCode(SSSS_11),3:members._identifierToKeyCode(SSSS_5),12:members._identifierToKeyCode(SSSS_3),13:members._identifierToKeyCode(SSSS_5)};}else{members._charCode2KeyCode={13:13,27:27};}}}});})();(function(){var SSSS_0="qx.client",SSSS_1="mouseup",SSSS_2="click",SSSS_3="mousedown",SSSS_4="contextmenu",SSSS_5="mousewheel",SSSS_6="dblclick",SSSS_7="mshtml",SSSS_8="mouseover",SSSS_9="mouseout",SSSS_10="DOMMouseScroll",SSSS_11="mousemove",SSSS_12="on",SSSS_13="mshtml|webkit|opera",SSSS_14="useraction",SSSS_15="gecko|webkit",SSSS_16="qx.event.handler.Mouse";qx.Class.define(SSSS_16,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(manager){arguments.callee.base.call(this);this.__eQ=manager;this.__eR=manager.getWindow();this.__eS=this.__eR.document;this._initButtonObserver();this._initMoveObserver();this._initWheelObserver();},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{mousemove:1,mouseover:1,mouseout:1,mousedown:1,mouseup:1,click:1,dblclick:1,contextmenu:1,mousewheel:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:true},members:{__eT:null,__eU:null,__eV:null,__eW:null,__eX:null,__eQ:null,__eR:null,__eS:null,canHandleEvent:function(target,type){},registerEvent:qx.bom.client.System.IPHONE?function(target,type,capture){target[SSSS_12+type]=qx.lang.Function.returnNull;}:qx.lang.Function.returnNull,unregisterEvent:qx.bom.client.System.IPHONE?function(target,type,capture){target[SSSS_12+type]=undefined;}:qx.lang.Function.returnNull,__eY:function(domEvent,type,target){if(!target){target=domEvent.target||domEvent.srcElement;}if(target&&target.nodeType){qx.event.Registration.fireEvent(target,type||domEvent.type,type==SSSS_5?qx.event.type.MouseWheel:qx.event.type.Mouse,[domEvent,target,null,true,true]);}qx.event.Registration.fireEvent(this.__eR,SSSS_14,qx.event.type.Data,[type||domEvent.type]);},_initButtonObserver:function(){this.__eT=qx.lang.Function.listener(this._onButtonEvent,this);var Event=qx.bom.Event;Event.addNativeListener(this.__eS,SSSS_3,this.__eT);Event.addNativeListener(this.__eS,SSSS_1,this.__eT);Event.addNativeListener(this.__eS,SSSS_2,this.__eT);Event.addNativeListener(this.__eS,SSSS_6,this.__eT);Event.addNativeListener(this.__eS,SSSS_4,this.__eT);},_initMoveObserver:function(){this.__eU=qx.lang.Function.listener(this._onMoveEvent,this);var Event=qx.bom.Event;Event.addNativeListener(this.__eS,SSSS_11,this.__eU);Event.addNativeListener(this.__eS,SSSS_8,this.__eU);Event.addNativeListener(this.__eS,SSSS_9,this.__eU);},_initWheelObserver:function(){this.__eV=qx.lang.Function.listener(this._onWheelEvent,this);var Event=qx.bom.Event;var type=qx.core.Variant.isSet(SSSS_0,SSSS_13)?SSSS_5:SSSS_10;var target=qx.core.Variant.isSet(SSSS_0,SSSS_7)?this.__eS:this.__eR;Event.addNativeListener(target,type,this.__eV);},_stopButtonObserver:function(){var Event=qx.bom.Event;Event.removeNativeListener(this.__eS,SSSS_3,this.__eT);Event.removeNativeListener(this.__eS,SSSS_1,this.__eT);Event.removeNativeListener(this.__eS,SSSS_2,this.__eT);Event.removeNativeListener(this.__eS,SSSS_6,this.__eT);Event.removeNativeListener(this.__eS,SSSS_4,this.__eT);},_stopMoveObserver:function(){var Event=qx.bom.Event;Event.removeNativeListener(this.__eS,SSSS_11,this.__eU);Event.removeNativeListener(this.__eS,SSSS_8,this.__eU);Event.removeNativeListener(this.__eS,SSSS_9,this.__eU);},_stopWheelObserver:function(){var Event=qx.bom.Event;var type=qx.core.Variant.isSet(SSSS_0,SSSS_13)?SSSS_5:SSSS_10;var target=qx.core.Variant.isSet(SSSS_0,SSSS_7)?this.__eS:this.__eR;Event.removeNativeListener(target,type,this.__eV);},_onMoveEvent:qx.event.GlobalError.observeMethod(function(domEvent){this.__eY(domEvent);}),_onButtonEvent:qx.event.GlobalError.observeMethod(function(domEvent){var type=domEvent.type;var target=domEvent.target||domEvent.srcElement;if(qx.core.Variant.isSet(SSSS_0,SSSS_15)){if(target&&target.nodeType==3){target=target.parentNode;}}if(this.__fa){this.__fa(domEvent,type,target);}if(this.__fc){this.__fc(domEvent,type,target);}this.__eY(domEvent,type,target);if(this.__fb){this.__fb(domEvent,type,target);}if(this.__fd){this.__fd(domEvent,type,target);}this.__eW=type;}),_onWheelEvent:qx.event.GlobalError.observeMethod(function(domEvent){this.__eY(domEvent,SSSS_5);}),__fa:qx.core.Variant.select(SSSS_0,{"webkit":function(domEvent,type,target){if(qx.bom.client.Engine.VERSION<530){if(type==SSSS_4){this.__eY(domEvent,SSSS_1,target);}}},"default":null}),__fb:qx.core.Variant.select(SSSS_0,{"opera":function(domEvent,type,target){if(type==SSSS_1&&domEvent.button==2){this.__eY(domEvent,SSSS_4,target);}},"default":null}),__fc:qx.core.Variant.select(SSSS_0,{"mshtml":function(domEvent,type,target){if(type==SSSS_1&&this.__eW==SSSS_2){this.__eY(domEvent,SSSS_3,target);}else if(type==SSSS_6){this.__eY(domEvent,SSSS_2,target);}},"default":null}),__fd:qx.core.Variant.select(SSSS_0,{"mshtml":null,"default":function(domEvent,type,target){switch(type){case SSSS_3:this.__eX=target;break;case SSSS_1:if(target!==this.__eX){var commonParent=qx.dom.Hierarchy.getCommonParent(target,this.__eX);this.__eY(domEvent,SSSS_2,commonParent);}}}})},destruct:function(){this._stopButtonObserver();this._stopMoveObserver();this._stopWheelObserver();this.__eQ=this.__eR=this.__eS=this.__eX=null;},defer:function(statics){qx.event.Registration.addHandler(statics);}});})();(function(){var SSSS_0="qx.event.handler.Capture";qx.Class.define(SSSS_0,{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{capture:true,losecapture:true},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:true},members:{canHandleEvent:function(target,type){},registerEvent:function(target,type,capture){},unregisterEvent:function(target,type,capture){}},defer:function(statics){qx.event.Registration.addHandler(statics);}});})();(function(){var SSSS_0="alias",SSSS_1="copy",SSSS_2="blur",SSSS_3="mouseout",SSSS_4="keydown",SSSS_5="Ctrl",SSSS_6="Shift",SSSS_7="mousemove",SSSS_8="move",SSSS_9="mouseover",SSSS_10="Alt",SSSS_11="keyup",SSSS_12="mouseup",SSSS_13="dragend",SSSS_14="on",SSSS_15="mousedown",SSSS_16="qxDraggable",SSSS_17="drag",SSSS_18="drop",SSSS_19="qxDroppable",SSSS_20="qx.event.handler.DragDrop",SSSS_21="droprequest",SSSS_22="dragstart",SSSS_23="dragchange",SSSS_24="dragleave",SSSS_25="dragover";qx.Class.define(SSSS_20,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(manager){arguments.callee.base.call(this);this.__fe=manager;this.__ff=manager.getWindow().document.documentElement;this.__fe.addListener(this.__ff,SSSS_15,this._onMouseDown,this);this.__fr();},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{dragstart:1,dragend:1,dragover:1,dragleave:1,drop:1,drag:1,dragchange:1,droprequest:1},IGNORE_CAN_HANDLE:true},members:{__fe:null,__ff:null,__fg:null,__fh:null,__fi:null,__fj:null,__fk:null,__fl:null,__fm:null,__fn:null,__fo:false,__fp:0,__fq:0,canHandleEvent:function(target,type){},registerEvent:function(target,type,capture){},unregisterEvent:function(target,type,capture){},addType:function(type){this.__fi[type]=true;},addAction:function(action){this.__fj[action]=true;},supportsType:function(type){return !!this.__fi[type];},supportsAction:function(type){return !!this.__fj[type];},getData:function(type){if(!this.__fy||!this.__fg){throw new Error("This method must not be used outside the drop event listener!");}if(!this.__fi[type]){throw new Error("Unsupported data type: "+type+"!");}if(!this.__fl[type]){this.__fm=type;this.__ft(SSSS_21,this.__fh,this.__fg,false);}if(!this.__fl[type]){throw new Error("Please use a droprequest listener to the drag source to fill the manager with data!");}return this.__fl[type]||null;},getCurrentAction:function(){return this.__fn;},addData:function(type,data){this.__fl[type]=data;},getCurrentType:function(){return this.__fm;},__fr:function(){this.__fi={};this.__fj={};this.__fk={};this.__fl={};},__fs:function(){var actions=this.__fj;var keys=this.__fk;var current=null;if(this.__fy){if(keys.Shift&&keys.Ctrl&&actions.alias){current=SSSS_0;}else if(keys.Shift&&keys.Alt&&actions.copy){current=SSSS_1;}else if(keys.Shift&&actions.move){current=SSSS_8;}else if(keys.Alt&&actions.alias){current=SSSS_0;}else if(keys.Ctrl&&actions.copy){current=SSSS_1;}else if(actions.move){current=SSSS_8;}else if(actions.copy){current=SSSS_1;}else if(actions.alias){current=SSSS_0;}}if(current!=this.__fn){this.__fn=current;this.__ft(SSSS_23,this.__fh,this.__fg,false);}},__ft:function(type,target,relatedTarget,cancelable,original){var Registration=qx.event.Registration;var dragEvent=Registration.createEvent(type,qx.event.type.Drag,[cancelable,original]);if(target!==relatedTarget){dragEvent.setRelatedTarget(relatedTarget);}return Registration.dispatchEvent(target,dragEvent);},__fu:function(elem){while(elem&&elem.nodeType==1){if(elem.getAttribute(SSSS_16)==SSSS_14){return elem;}elem=elem.parentNode;}return null;},__fv:function(elem){while(elem&&elem.nodeType==1){if(elem.getAttribute(SSSS_19)==SSSS_14){return elem;}elem=elem.parentNode;}return null;},__fw:function(){this.__fh=null;this.__fe.removeListener(this.__ff,SSSS_7,this._onMouseMove,this,true);this.__fe.removeListener(this.__ff,SSSS_12,this._onMouseUp,this,true);qx.event.Registration.removeListener(window,SSSS_2,this._onWindowBlur,this);this.__fr();},__fx:function(){if(this.__fo){this.__fe.removeListener(this.__ff,SSSS_9,this._onMouseOver,this,true);this.__fe.removeListener(this.__ff,SSSS_3,this._onMouseOut,this,true);this.__fe.removeListener(this.__ff,SSSS_4,this._onKeyDown,this,true);this.__fe.removeListener(this.__ff,SSSS_11,this._onKeyUp,this,true);this.__ft(SSSS_13,this.__fh,this.__fg,false);this.__fo=false;}this.__fy=false;this.__fg=null;this.__fw();},__fy:false,_onWindowBlur:function(e){this.__fx();},_onKeyDown:function(e){var iden=e.getKeyIdentifier();switch(iden){case SSSS_10:case SSSS_5:case SSSS_6:if(!this.__fk[iden]){this.__fk[iden]=true;this.__fs();}}},_onKeyUp:function(e){var iden=e.getKeyIdentifier();switch(iden){case SSSS_10:case SSSS_5:case SSSS_6:if(this.__fk[iden]){this.__fk[iden]=false;this.__fs();}}},_onMouseDown:function(e){if(this.__fo){return;}var dragable=this.__fu(e.getTarget());if(dragable){this.__fp=e.getDocumentLeft();this.__fq=e.getDocumentTop();this.__fh=dragable;this.__fe.addListener(this.__ff,SSSS_7,this._onMouseMove,this,true);this.__fe.addListener(this.__ff,SSSS_12,this._onMouseUp,this,true);qx.event.Registration.addListener(window,SSSS_2,this._onWindowBlur,this);}},_onMouseUp:function(e){if(this.__fy){this.__ft(SSSS_18,this.__fg,this.__fh,false,e);}if(this.__fo){e.stopPropagation();}this.__fx();},_onMouseMove:function(e){if(this.__fo){if(!this.__ft(SSSS_17,this.__fh,this.__fg,true,e)){this.__fx();}}else{if(Math.abs(e.getDocumentLeft()-this.__fp)>3||Math.abs(e.getDocumentTop()-this.__fq)>3){if(this.__ft(SSSS_22,this.__fh,this.__fg,true,e)){this.__fo=true;this.__fe.addListener(this.__ff,SSSS_9,this._onMouseOver,this,true);this.__fe.addListener(this.__ff,SSSS_3,this._onMouseOut,this,true);this.__fe.addListener(this.__ff,SSSS_4,this._onKeyDown,this,true);this.__fe.addListener(this.__ff,SSSS_11,this._onKeyUp,this,true);var keys=this.__fk;keys.Ctrl=e.isCtrlPressed();keys.Shift=e.isShiftPressed();keys.Alt=e.isAltPressed();this.__fs();}else{this.__ft(SSSS_13,this.__fh,this.__fg,false);this.__fw();}}}},_onMouseOver:function(e){var target=e.getTarget();var dropable=this.__fv(target);if(dropable&&dropable!=this.__fg){this.__fy=this.__ft(SSSS_25,dropable,this.__fh,true,e);this.__fg=dropable;this.__fs();}},_onMouseOut:function(e){var dropable=this.__fv(e.getTarget());var newDropable=this.__fv(e.getRelatedTarget());if(dropable&&dropable!==newDropable&&dropable==this.__fg){this.__ft(SSSS_24,this.__fg,newDropable,false,e);this.__fg=null;this.__fy=false;qx.event.Timer.once(this.__fs,this,0);}}},destruct:function(){this.__fh=this.__fg=this.__fe=this.__ff=this.__fi=this.__fj=this.__fk=this.__fl=null;},defer:function(statics){qx.event.Registration.addHandler(statics);}});})();(function(){var SSSS_0="-",SSSS_1="qx.event.handler.Element";qx.Class.define(SSSS_1,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(manager){arguments.callee.base.call(this);this._manager=manager;this._registeredEvents={};},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{abort:true,scroll:true,select:true,reset:true,submit:true},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:true},members:{canHandleEvent:function(target,type){},registerEvent:function(target,type,capture){var elementId=qx.core.ObjectRegistry.toHashCode(target);var eventId=elementId+SSSS_0+type;var listener=qx.lang.Function.listener(this._onNative,this,eventId);qx.bom.Event.addNativeListener(target,type,listener);this._registeredEvents[eventId]={element:target,type:type,listener:listener};},unregisterEvent:function(target,type,capture){var events=this._registeredEvents;if(!events){return;}var elementId=qx.core.ObjectRegistry.toHashCode(target);var eventId=elementId+SSSS_0+type;var eventData=this._registeredEvents[eventId];qx.bom.Event.removeNativeListener(target,type,eventData.listener);delete this._registeredEvents[eventId];},_onNative:qx.event.GlobalError.observeMethod(function(nativeEvent,eventId){var events=this._registeredEvents;if(!events){return;}var eventData=events[eventId];qx.event.Registration.fireNonBubblingEvent(eventData.element,eventData.type,qx.event.type.Native,[nativeEvent]);})},destruct:function(){var entry;var events=this._registeredEvents;for(var id in events){entry=events[id];qx.bom.Event.removeNativeListener(entry.element,entry.type,entry.listener);}this._manager=this._registeredEvents=null;},defer:function(statics){qx.event.Registration.addHandler(statics);}});})();(function(){var SSSS_0="qx.event.handler.Appear",SSSS_1="disappear",SSSS_2="appear";qx.Class.define(SSSS_0,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(manager){arguments.callee.base.call(this);this.__fz=manager;this.__fA={};qx.event.handler.Appear.__fB[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,__fB:{},refresh:function(){var all=this.__fB;for(var hash in all){all[hash].refresh();}}},members:{__fz:null,__fA:null,canHandleEvent:function(target,type){},registerEvent:function(target,type,capture){var hash=qx.core.ObjectRegistry.toHashCode(target)+type;var targets=this.__fA;if(targets&&!targets[hash]){targets[hash]=target;target.$$displayed=target.offsetWidth>0;}},unregisterEvent:function(target,type,capture){var hash=qx.core.ObjectRegistry.toHashCode(target)+type;var targets=this.__fA;if(!targets){return;}if(targets[hash]){delete targets[hash];}},refresh:function(){var targets=this.__fA;var elem;for(var hash in targets){elem=targets[hash];var displayed=elem.offsetWidth>0;if((!!elem.$$displayed)!==displayed){elem.$$displayed=displayed;var evt=qx.event.Registration.createEvent(displayed?SSSS_2:SSSS_1);this.__fz.dispatchEvent(elem,evt);}}}},destruct:function(){this.__fz=this.__fA=null;delete qx.event.handler.Appear.__fB[this.$$hash];},defer:function(statics){qx.event.Registration.addHandler(statics);}});})();(function(){var SSSS_0="mshtml",SSSS_1="",SSSS_2="qx.client",SSSS_3=">",SSSS_4="<",SSSS_5=" ",SSSS_6="='",SSSS_7="qx.bom.Element",SSSS_8="div",SSSS_9="' ",SSSS_10="></";qx.Class.define(SSSS_7,{statics:{__fC:{"onload":true,"onpropertychange":true,"oninput":true,"onchange":true,"name":true,"type":true,"checked":true,"disabled":true},create:function(name,attributes,win){if(!win){win=window;}if(!name){throw new Error("The tag name is missing!");}var initial=this.__fC;var attributesHtml=SSSS_1;for(var key in attributes){if(initial[key]){attributesHtml+=key+SSSS_6+attributes[key]+SSSS_9;}}var element;if(attributesHtml!=SSSS_1){if(qx.bom.client.Engine.MSHTML){element=win.document.createElement(SSSS_4+name+SSSS_5+attributesHtml+SSSS_3);}else{var helper=win.document.createElement(SSSS_8);helper.innerHTML=SSSS_4+name+SSSS_5+attributesHtml+SSSS_10+name+SSSS_3;element=helper.firstChild;}}else{element=win.document.createElement(name);}for(var key in attributes){if(!initial[key]){qx.bom.element.Attribute.set(element,key,attributes[key]);}}return element;},empty:function(element){return element.innerHTML=SSSS_1;},addListener:function(element,type,listener,self,capture){return qx.event.Registration.addListener(element,type,listener,self,capture);},removeListener:function(element,type,listener,self,capture){return qx.event.Registration.removeListener(element,type,listener,self,capture);},removeListenerById:function(target,id){return qx.event.Registration.removeListenerById(target,id);},hasListener:function(element,type,capture){return qx.event.Registration.hasListener(element,type,capture);},focus:function(element){qx.event.Registration.getManager(element).getHandler(qx.event.handler.Focus).focus(element);},blur:function(element){qx.event.Registration.getManager(element).getHandler(qx.event.handler.Focus).blur(element);},activate:function(element){qx.event.Registration.getManager(element).getHandler(qx.event.handler.Focus).activate(element);},deactivate:function(element){qx.event.Registration.getManager(element).getHandler(qx.event.handler.Focus).deactivate(element);},capture:function(element,containerCapture){qx.event.Registration.getManager(element).getDispatcher(qx.event.dispatch.MouseCapture).activateCapture(element,containerCapture);},releaseCapture:function(element){qx.event.Registration.getManager(element).getDispatcher(qx.event.dispatch.MouseCapture).releaseCapture(element);},clone:function(element,events){var clone;if(events||(qx.core.Variant.isSet(SSSS_2,SSSS_0)&&!qx.xml.Document.isXmlDocument(element))){var mgr=qx.event.Registration.getManager(element);var all=qx.dom.Hierarchy.getDescendants(element);all.push(element);}if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){for(var i=0,l=all.length;i<l;i++){mgr.toggleAttachedEvents(all[i],false);}}var clone=element.cloneNode(true);if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){for(var i=0,l=all.length;i<l;i++){mgr.toggleAttachedEvents(all[i],true);}}if(events===true){var cloneAll=qx.dom.Hierarchy.getDescendants(clone);cloneAll.push(clone);var eventList,cloneElem,origElem,eventEntry;for(var i=0,il=all.length;i<il;i++){origElem=all[i];eventList=mgr.serializeListeners(origElem);if(eventList.length>0){cloneElem=cloneAll[i];for(var j=0,jl=eventList.length;j<jl;j++){eventEntry=eventList[j];mgr.addListener(cloneElem,eventEntry.type,eventEntry.handler,eventEntry.self,eventEntry.capture);}}}}return clone;}}});})();(function(){var SSSS_0="qx.event.type.Dom";qx.Class.define(SSSS_0,{extend:qx.event.type.Native,statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8},members:{_cloneNativeEvent:function(nativeEvent,clone){var clone=arguments.callee.base.call(this,nativeEvent,clone);clone.shiftKey=nativeEvent.shiftKey;clone.ctrlKey=nativeEvent.ctrlKey;clone.altKey=nativeEvent.altKey;clone.metaKey=nativeEvent.metaKey;return clone;},getModifiers:function(){var mask=0;var evt=this._native;if(evt.shiftKey){mask|=qx.event.type.Dom.SHIFT_MASK;}if(evt.ctrlKey){mask|=qx.event.type.Dom.CTRL_MASK;}if(evt.altKey){mask|=qx.event.type.Dom.ALT_MASK;}if(evt.metaKey){mask|=qx.event.type.Dom.META_MASK;}return mask;},isCtrlPressed:function(){return this._native.ctrlKey;},isShiftPressed:function(){return this._native.shiftKey;},isAltPressed:function(){return this._native.altKey;},isMetaPressed:function(){return this._native.metaKey;},isCtrlOrCommandPressed:function(){if(qx.bom.client.Platform.MAC){return this._native.metaKey;}else{return this._native.ctrlKey;}}}});})();(function(){var SSSS_0="qx.event.type.KeyInput";qx.Class.define(SSSS_0,{extend:qx.event.type.Dom,members:{init:function(domEvent,target,charCode){arguments.callee.base.call(this,domEvent,target,null,true,true);this._charCode=charCode;return this;},clone:function(embryo){var clone=arguments.callee.base.call(this,embryo);clone._charCode=this._charCode;return clone;},getCharCode:function(){return this._charCode;},getChar:function(){return String.fromCharCode(this._charCode);}}});})();(function(){var SSSS_0="qx.event.type.KeySequence";qx.Class.define(SSSS_0,{extend:qx.event.type.Dom,members:{init:function(domEvent,target,identifier){arguments.callee.base.call(this,domEvent,target,null,true,true);this._identifier=identifier;return this;},clone:function(embryo){var clone=arguments.callee.base.call(this,embryo);clone._identifier=this._identifier;return clone;},getKeyIdentifier:function(){return this._identifier;}}});})();(function(){var SSSS_0="qx.client",SSSS_1="blur",SSSS_2="focus",SSSS_3="mousedown",SSSS_4="on",SSSS_5="mouseup",SSSS_6="DOMFocusOut",SSSS_7="DOMFocusIn",SSSS_8="selectstart",SSSS_9="onmousedown",SSSS_10="onfocusout",SSSS_11="onfocusin",SSSS_12="onmouseup",SSSS_13="onselectstart",SSSS_14="draggesture",SSSS_15="qx.event.handler.Focus",SSSS_16="_applyFocus",SSSS_17="deactivate",SSSS_18="textarea",SSSS_19="_applyActive",SSSS_20="input",SSSS_21="focusin",SSSS_22="qxSelectable",SSSS_23="tabIndex",SSSS_24="off",SSSS_25="activate",SSSS_26="focusout",SSSS_27="qxKeepFocus",SSSS_28="qxKeepActive";qx.Class.define(SSSS_15,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(manager){arguments.callee.base.call(this);this._manager=manager;this._window=manager.getWindow();this._document=this._window.document;this._root=this._document.documentElement;this._body=this._document.body;this._initObserver();},properties:{active:{apply:SSSS_19,nullable:true},focus:{apply:SSSS_16,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.Variant.select("qx.client",{"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:{__fD:null,__fE:null,__fF:null,__fG:null,__fH:null,__fI:null,__fJ:null,__fK:null,__fL:null,__fM:null,canHandleEvent:function(target,type){},registerEvent:function(target,type,capture){},unregisterEvent:function(target,type,capture){},focus:function(element){try{element.focus();}catch(ex){}this.setFocus(element);this.setActive(element);},activate:function(element){this.setActive(element);},blur:function(element){try{element.blur();}catch(ex){}if(this.getActive()===element){this.resetActive();}if(this.getFocus()===element){this.resetFocus();}},deactivate:function(element){if(this.getActive()===element){this.resetActive();}},tryActivate:function(element){var active=this.__gc(element);if(active){this.setActive(active);}},__fN:function(target,related,type,bubbles){var Registration=qx.event.Registration;var evt=Registration.createEvent(type,qx.event.type.Focus,[target,related,bubbles]);Registration.dispatchEvent(target,evt);},_windowFocused:true,__fO:function(){if(this._windowFocused){this._windowFocused=false;this.__fN(this._window,null,SSSS_1,false);}},__fP:function(){if(!this._windowFocused){this._windowFocused=true;this.__fN(this._window,null,SSSS_2,false);}},_initObserver:qx.core.Variant.select(SSSS_0,{"gecko":function(){this.__fD=qx.lang.Function.listener(this.__fV,this);this.__fE=qx.lang.Function.listener(this.__fW,this);this.__fF=qx.lang.Function.listener(this.__fU,this);this.__fG=qx.lang.Function.listener(this.__fT,this);this.__fH=qx.lang.Function.listener(this.__fQ,this);this._document.addEventListener(SSSS_3,this.__fD,true);this._document.addEventListener(SSSS_5,this.__fE,true);this._window.addEventListener(SSSS_2,this.__fF,true);this._window.addEventListener(SSSS_1,this.__fG,true);this._window.addEventListener(SSSS_14,this.__fH,true);},"mshtml":function(){this.__fD=qx.lang.Function.listener(this.__fV,this);this.__fE=qx.lang.Function.listener(this.__fW,this);this.__fJ=qx.lang.Function.listener(this.__fR,this);this.__fK=qx.lang.Function.listener(this.__fS,this);this.__fI=qx.lang.Function.listener(this.__fY,this);this._document.attachEvent(SSSS_9,this.__fD);this._document.attachEvent(SSSS_12,this.__fE);this._document.attachEvent(SSSS_11,this.__fJ);this._document.attachEvent(SSSS_10,this.__fK);this._document.attachEvent(SSSS_13,this.__fI);},"webkit":function(){this.__fD=qx.lang.Function.listener(this.__fV,this);this.__fE=qx.lang.Function.listener(this.__fW,this);this.__fK=qx.lang.Function.listener(this.__fS,this);this.__fF=qx.lang.Function.listener(this.__fU,this);this.__fG=qx.lang.Function.listener(this.__fT,this);this.__fI=qx.lang.Function.listener(this.__fY,this);this._document.addEventListener(SSSS_3,this.__fD,true);this._document.addEventListener(SSSS_5,this.__fE,true);this._document.addEventListener(SSSS_8,this.__fI,false);this._window.addEventListener(SSSS_6,this.__fK,true);this._window.addEventListener(SSSS_2,this.__fF,true);this._window.addEventListener(SSSS_1,this.__fG,true);},"opera":function(){this.__fD=qx.lang.Function.listener(this.__fV,this);this.__fE=qx.lang.Function.listener(this.__fW,this);this.__fJ=qx.lang.Function.listener(this.__fR,this);this.__fK=qx.lang.Function.listener(this.__fS,this);this._document.addEventListener(SSSS_3,this.__fD,true);this._document.addEventListener(SSSS_5,this.__fE,true);this._window.addEventListener(SSSS_7,this.__fJ,true);this._window.addEventListener(SSSS_6,this.__fK,true);}}),_stopObserver:qx.core.Variant.select(SSSS_0,{"gecko":function(){this._document.removeEventListener(SSSS_3,this.__fD,true);this._document.removeEventListener(SSSS_5,this.__fE,true);this._window.removeEventListener(SSSS_2,this.__fF,true);this._window.removeEventListener(SSSS_1,this.__fG,true);this._window.removeEventListener(SSSS_14,this.__fH,true);},"mshtml":function(){qx.bom.Event.removeNativeListener(this._document,SSSS_9,this.__fD);qx.bom.Event.removeNativeListener(this._document,SSSS_12,this.__fE);qx.bom.Event.removeNativeListener(this._document,SSSS_11,this.__fJ);qx.bom.Event.removeNativeListener(this._document,SSSS_10,this.__fK);qx.bom.Event.removeNativeListener(this._document,SSSS_13,this.__fI);},"webkit":function(){this._document.removeEventListener(SSSS_3,this.__fD,true);this._document.removeEventListener(SSSS_8,this.__fI,false);this._window.removeEventListener(SSSS_7,this.__fJ,true);this._window.removeEventListener(SSSS_6,this.__fK,true);this._window.removeEventListener(SSSS_2,this.__fF,true);this._window.removeEventListener(SSSS_1,this.__fG,true);},"opera":function(){this._document.removeEventListener(SSSS_3,this.__fD,true);this._window.removeEventListener(SSSS_7,this.__fJ,true);this._window.removeEventListener(SSSS_6,this.__fK,true);this._window.removeEventListener(SSSS_2,this.__fF,true);this._window.removeEventListener(SSSS_1,this.__fG,true);}}),__fQ:qx.event.GlobalError.observeMethod(qx.core.Variant.select(SSSS_0,{"gecko":function(e){if(!this.__gd(e.target)){qx.bom.Event.preventDefault(e);}},"default":null})),__fR:qx.event.GlobalError.observeMethod(qx.core.Variant.select(SSSS_0,{"mshtml":function(e){this.__fP();var target=e.srcElement;var focusTarget=this.__gb(target);if(focusTarget){this.setFocus(focusTarget);}this.tryActivate(target);},"opera":function(e){var target=e.target;if(target==this._document||target==this._window){this.__fP();if(this.__fL){this.setFocus(this.__fL);delete this.__fL;}if(this.__fM){this.setActive(this.__fM);delete this.__fM;}}else{this.setFocus(target);this.tryActivate(target);if(!this.__gd(target)){target.selectionStart=0;target.selectionEnd=0;}}},"default":null})),__fS:qx.event.GlobalError.observeMethod(qx.core.Variant.select(SSSS_0,{"mshtml":function(e){if(!e.toElement){this.__fO();this.resetFocus();this.resetActive();}},"webkit":function(e){var target=e.target;if(target===this.getFocus()){this.resetFocus();}if(target===this.getActive()){this.resetActive();}},"opera":function(e){var target=e.target;if(target==this._document){this.__fO();this.__fL=this.getFocus();this.__fM=this.getActive();this.resetFocus();this.resetActive();}else{if(target===this.getFocus()){this.resetFocus();}if(target===this.getActive()){this.resetActive();}}},"default":null})),__fT:qx.event.GlobalError.observeMethod(qx.core.Variant.select(SSSS_0,{"gecko":function(e){if(e.target===this._window||e.target===this._document){this.__fO();this.resetActive();this.resetFocus();}},"webkit":function(e){if(e.target===this._window||e.target===this._document){this.__fO();this.__fL=this.getFocus();this.__fM=this.getActive();this.resetActive();this.resetFocus();}},"default":null})),__fU:qx.event.GlobalError.observeMethod(qx.core.Variant.select(SSSS_0,{"gecko":function(e){var target=e.target;if(target===this._window||target===this._document){this.__fP();target=this._body;}this.setFocus(target);this.tryActivate(target);},"webkit":function(e){var target=e.target;if(target===this._window||target===this._document){this.__fP();if(this.__fL){this.setFocus(this.__fL);delete this.__fL;}if(this.__fM){this.setActive(this.__fM);delete this.__fM;}}else{this.setFocus(target);this.tryActivate(target);}},"default":null})),__fV:qx.event.GlobalError.observeMethod(qx.core.Variant.select(SSSS_0,{"gecko":function(e){var focusTarget=this.__gb(e.target);if(!focusTarget){qx.bom.Event.preventDefault(e);}},"mshtml":function(e){var target=e.srcElement;var focusTarget=this.__gb(target);if(focusTarget){if(!this.__gd(target)){target.unselectable=SSSS_4;try{document.selection.empty();}catch(e){}try{focusTarget.focus();}catch(e){}}}else{qx.bom.Event.preventDefault(e);if(!this.__gd(target)){target.unselectable=SSSS_4;}}},"webkit":function(e){var target=e.target;var focusTarget=this.__gb(target);if(focusTarget){this.setFocus(focusTarget);}else{qx.bom.Event.preventDefault(e);}},"opera":function(e){var target=e.target;var focusTarget=this.__gb(target);if(!this.__gd(target)){qx.bom.Event.preventDefault(e);if(focusTarget){var current=this.getFocus();if(current&&current.selectionEnd){current.selectionStart=0;current.selectionEnd=0;current.blur();}if(focusTarget){this.setFocus(focusTarget);}}}else if(focusTarget){this.setFocus(focusTarget);}},"default":null})),__fW:qx.event.GlobalError.observeMethod(qx.core.Variant.select(SSSS_0,{"mshtml":function(e){var target=e.srcElement;if(target.unselectable){target.unselectable=SSSS_24;}this.tryActivate(this.__fX(target));},"gecko":function(e){var target=e.target;while(target&&target.offsetWidth===undefined){target=target.parentNode;}if(target){this.tryActivate(target);}},"webkit|opera":function(e){this.tryActivate(this.__fX(e.target));},"default":null})),__fX:qx.event.GlobalError.observeMethod(qx.core.Variant.select(SSSS_0,{"mshtml|webkit":function(target){var focusedElement=this.getFocus();if(focusedElement&&target!=focusedElement&&(focusedElement.nodeName.toLowerCase()===SSSS_20||focusedElement.nodeName.toLowerCase()===SSSS_18)){target=focusedElement;}return target;},"default":function(target){return target;}})),__fY:qx.event.GlobalError.observeMethod(qx.core.Variant.select(SSSS_0,{"mshtml|webkit":function(e){var target=qx.bom.client.Engine.MSHTML?e.srcElement:e.target;if(!this.__gd(target)){qx.bom.Event.preventDefault(e);}},"default":null})),__ga:function(el){var index=qx.bom.element.Attribute.get(el,SSSS_23);if(index>=1){return true;}var focusable=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;if(index>=0&&focusable[el.tagName]){return true;}return false;},__gb:function(el){while(el&&el.nodeType===1){if(el.getAttribute(SSSS_27)==SSSS_4){return null;}if(this.__ga(el)){return el;}el=el.parentNode;}return this._body;},__gc:function(el){var orig=el;while(el&&el.nodeType===1){if(el.getAttribute(SSSS_28)==SSSS_4){return null;}el=el.parentNode;}return orig;},__gd:function(node){while(node&&node.nodeType===1){var attr=node.getAttribute(SSSS_22);if(attr!=null){return attr===SSSS_4;}node=node.parentNode;}return true;},_applyActive:function(value,old){if(old){this.__fN(old,value,SSSS_17,true);}if(value){this.__fN(value,old,SSSS_25,true);}},_applyFocus:function(value,old){if(old){this.__fN(old,value,SSSS_26,true);}if(value){this.__fN(value,old,SSSS_21,true);}if(old){this.__fN(old,value,SSSS_1,false);}if(value){this.__fN(value,old,SSSS_2,false);}}},destruct:function(){this._stopObserver();this._manager=this._window=this._document=this._root=this._body=this.__ge=null;},defer:function(statics){qx.event.Registration.addHandler(statics);var focusable=statics.FOCUSABLE_ELEMENTS;for(var entry in focusable){focusable[entry.toUpperCase()]=1;}}});})();(function(){var SSSS_0="qx.event.type.Focus";qx.Class.define(SSSS_0,{extend:qx.event.type.Event,members:{init:function(target,relatedTarget,canBubble){arguments.callee.base.call(this,canBubble,false);this._target=target;this._relatedTarget=relatedTarget;return this;}}});})();(function(){var SSSS_0="",SSSS_1="qx.client",SSSS_2="readOnly",SSSS_3="accessKey",SSSS_4="qx.bom.element.Attribute",SSSS_5="rowSpan",SSSS_6="vAlign",SSSS_7="className",SSSS_8="textContent",SSSS_9="'",SSSS_10="htmlFor",SSSS_11="longDesc",SSSS_12="cellSpacing",SSSS_13="frameBorder",SSSS_14="='",SSSS_15="useMap",SSSS_16="innerText",SSSS_17="innerHTML",SSSS_18="tabIndex",SSSS_19="dateTime",SSSS_20="maxLength",SSSS_21="mshtml",SSSS_22="cellPadding",SSSS_23="colSpan";qx.Class.define(SSSS_4,{statics:{__gf:{names:{"class":SSSS_7,"for":SSSS_10,html:SSSS_17,text:qx.core.Variant.isSet(SSSS_1,SSSS_21)?SSSS_16:SSSS_8,colspan:SSSS_23,rowspan:SSSS_5,valign:SSSS_6,datetime:SSSS_19,accesskey:SSSS_3,tabindex:SSSS_18,maxlength:SSSS_20,readonly:SSSS_2,longdesc:SSSS_11,cellpadding:SSSS_22,cellspacing:SSSS_12,frameborder:SSSS_13,usemap:SSSS_15},runtime:{"html":1,"text":1},bools:{compact:1,nowrap:1,ismap:1,declare:1,noshade:1,checked:1,disabled:1,readonly:1,multiple:1,selected:1,noresize:1,defer:1,allowTransparency:1},property:{$$html:1,$$widget:1,disabled:1,checked:1,readOnly:1,multiple:1,selected:1,value:1,maxLength:1,className:1,innerHTML:1,innerText:1,textContent:1,htmlFor:1,tabIndex:1},propertyDefault:{disabled:false,checked:false,readOnly:false,multiple:false,selected:false,value:SSSS_0,maxLength:10000000,className:SSSS_0,innerHTML:SSSS_0,innerText:SSSS_0,textContent:SSSS_0,htmlFor:SSSS_0,tabIndex:0},original:{href:1,src:1,type:1}},compile:function(map){var html=[];var runtime=this.__gf.runtime;for(var key in map){if(!runtime[key]){html.push(key,SSSS_14,map[key],SSSS_9);}}return html.join(SSSS_0);},get:qx.core.Variant.select(SSSS_1,{"mshtml":function(element,name){var hints=this.__gf;var value;name=hints.names[name]||name;if(hints.original[name]){value=element.getAttribute(name,2);}else if(hints.property[name]){if(hints.propertyDefault[name]&&value==hints.propertyDefault[name]){return null;}value=element[name];}else{value=element.getAttribute(name);}if(hints.bools[name]){return !!value;}return value;},"default":function(element,name){var hints=this.__gf;var value;name=hints.names[name]||name;if(hints.property[name]){if(hints.propertyDefault[name]&&value==hints.propertyDefault[name]){return null;}value=element[name];if(value==null){value=element.getAttribute(name);}}else{value=element.getAttribute(name);}if(hints.bools[name]){return !!value;}return value;}}),set:function(element,name,value){var hints=this.__gf;name=hints.names[name]||name;if(hints.bools[name]){value=!!value;}if(hints.property[name]){if(value==null){value=hints.propertyDefault[name];if(value===undefined){value=null;}}element[name]=value;}else{if(value===true){element.setAttribute(name,name);}else if(value===false||value===null){element.removeAttribute(name);}else{element.setAttribute(name,value);}}},reset:function(element,name){this.set(element,name,null);}}});})();(function(){var SSSS_0="left",SSSS_1="right",SSSS_2="middle",SSSS_3="qx.client",SSSS_4="dblclick",SSSS_5="click",SSSS_6="none",SSSS_7="contextmenu",SSSS_8="qx.event.type.Mouse";qx.Class.define(SSSS_8,{extend:qx.event.type.Dom,members:{init:function(nativeEvent,target,relatedTarget,canBubble,cancelable){arguments.callee.base.call(this,nativeEvent,target,relatedTarget,canBubble,cancelable);if(!relatedTarget){this._relatedTarget=qx.bom.Event.getRelatedTarget(nativeEvent);}return this;},_cloneNativeEvent:function(nativeEvent,clone){var clone=arguments.callee.base.call(this,nativeEvent,clone);clone.button=nativeEvent.button;clone.clientX=nativeEvent.clientX;clone.clientY=nativeEvent.clientY;clone.pageX=nativeEvent.pageX;clone.pageY=nativeEvent.pageY;clone.screenX=nativeEvent.screenX;clone.screenY=nativeEvent.screenY;clone.wheelDelta=nativeEvent.wheelDelta;clone.detail=nativeEvent.detail;clone.srcElement=nativeEvent.srcElement;return clone;},__gg:qx.core.Variant.select(SSSS_3,{"mshtml":{1:SSSS_0,2:SSSS_1,4:SSSS_2},"default":{0:SSSS_0,2:SSSS_1,1:SSSS_2}}),stop:function(){this.stopPropagation();},getButton:function(){switch(this._type){case SSSS_5:case SSSS_4:return SSSS_0;case SSSS_7:return SSSS_1;default:return this.__gg[this._native.button]||SSSS_6;}},isLeftPressed:function(){return this.getButton()===SSSS_0;},isMiddlePressed:function(){return this.getButton()===SSSS_2;},isRightPressed:function(){return this.getButton()===SSSS_1;},getRelatedTarget:function(){return this._relatedTarget;},getViewportLeft:function(){return this._native.clientX;},getViewportTop:function(){return this._native.clientY;},getDocumentLeft:qx.core.Variant.select(SSSS_3,{"mshtml":function(){var win=qx.dom.Node.getWindow(this._native.srcElement);return this._native.clientX+qx.bom.Viewport.getScrollLeft(win);},"default":function(){return this._native.pageX;}}),getDocumentTop:qx.core.Variant.select(SSSS_3,{"mshtml":function(){var win=qx.dom.Node.getWindow(this._native.srcElement);return this._native.clientY+qx.bom.Viewport.getScrollTop(win);},"default":function(){return this._native.pageY;}}),getScreenLeft:function(){return this._native.screenX;},getScreenTop:function(){return this._native.screenY;}}});})();(function(){var SSSS_0="qx.client",SSSS_1="chrome",SSSS_2="qx.event.type.MouseWheel";qx.Class.define(SSSS_2,{extend:qx.event.type.Mouse,members:{stop:function(){this.stopPropagation();this.preventDefault();},getWheelDelta:qx.core.Variant.select(SSSS_0,{"default":function(){return -(this._native.wheelDelta/40);},"gecko":function(){return this._native.detail;},"webkit":function(){if(qx.bom.client.Browser.NAME==SSSS_1){return -(this._native.wheelDelta/120);}else{return -(this._native.wheelDelta/40);}}})}});})();(function(){var SSSS_0="qx.client",SSSS_1="qx.bom.Viewport";qx.Class.define(SSSS_1,{statics:{getWidth:qx.core.Variant.select(SSSS_0,{"opera":function(win){if(qx.bom.client.Engine.VERSION<9.5){return (win||window).document.body.clientWidth;}else{var doc=(win||window).document;return qx.bom.Document.isStandardMode(win)?doc.documentElement.clientWidth:doc.body.clientWidth;}},"webkit":function(win){if(qx.bom.client.Engine.VERSION<523.15){return (win||window).innerWidth;}else{var doc=(win||window).document;return qx.bom.Document.isStandardMode(win)?doc.documentElement.clientWidth:doc.body.clientWidth;}},"default":function(win){var doc=(win||window).document;return qx.bom.Document.isStandardMode(win)?doc.documentElement.clientWidth:doc.body.clientWidth;}}),getHeight:qx.core.Variant.select(SSSS_0,{"opera":function(win){if(qx.bom.client.Engine.VERSION<9.5){return (win||window).document.body.clientHeight;}else{var doc=(win||window).document;return qx.bom.Document.isStandardMode(win)?doc.documentElement.clientHeight:doc.body.clientHeight;}},"webkit":function(win){if(qx.bom.client.Engine.VERSION<523.15){return (win||window).innerHeight;}else{var doc=(win||window).document;return qx.bom.Document.isStandardMode(win)?doc.documentElement.clientHeight:doc.body.clientHeight;}},"default":function(win){var doc=(win||window).document;return qx.bom.Document.isStandardMode(win)?doc.documentElement.clientHeight:doc.body.clientHeight;}}),getScrollLeft:qx.core.Variant.select(SSSS_0,{"mshtml":function(win){var doc=(win||window).document;return doc.documentElement.scrollLeft||doc.body.scrollLeft;},"default":function(win){return (win||window).pageXOffset;}}),getScrollTop:qx.core.Variant.select(SSSS_0,{"mshtml":function(win){var doc=(win||window).document;return doc.documentElement.scrollTop||doc.body.scrollTop;},"default":function(win){return (win||window).pageYOffset;}})}});})();(function(){var SSSS_0="CSS1Compat",SSSS_1="position:absolute;width:0;height:0;width:1",SSSS_2="qx.bom.Document",SSSS_3="1px",SSSS_4="qx.client",SSSS_5="div";qx.Class.define(SSSS_2,{statics:{isQuirksMode:qx.core.Variant.select(SSSS_4,{"mshtml":function(win){if(qx.bom.client.Engine.VERSION>=8){return qx.bom.client.Engine.DOCUMENT_MODE===5;}else{return (win||window).document.compatMode!==SSSS_0;}},"webkit":function(win){if(document.compatMode===undefined){var el=(win||window).document.createElement(SSSS_5);el.style.cssText=SSSS_1;return el.style.width===SSSS_3?true:false;}else{return (win||window).document.compatMode!==SSSS_0;}},"default":function(win){return (win||window).document.compatMode!==SSSS_0;}}),isStandardMode:function(win){return !this.isQuirksMode(win);},getWidth:function(win){var doc=(win||window).document;var view=qx.bom.Viewport.getWidth(win);var scroll=this.isStandardMode(win)?doc.documentElement.scrollWidth:doc.body.scrollWidth;return Math.max(scroll,view);},getHeight:function(win){var doc=(win||window).document;var view=qx.bom.Viewport.getHeight(win);var scroll=this.isStandardMode(win)?doc.documentElement.scrollHeight:doc.body.scrollHeight;return Math.max(scroll,view);}}});})();(function(){var SSSS_0="qx.client",SSSS_1="ie",SSSS_2="msie",SSSS_3="android",SSSS_4="operamini",SSSS_5="mobile chrome",SSSS_6=")(/| )([0-9]+\.[0-9])",SSSS_7="iemobile",SSSS_8="opera mobi",SSSS_9="Mobile Safari",SSSS_10="operamobile",SSSS_11="mobile safari",SSSS_12="IEMobile|Maxthon|MSIE",SSSS_13="qx.bom.client.Browser",SSSS_14="opera mini",SSSS_15="(",SSSS_16="opera",SSSS_17="mshtml",SSSS_18="Opera Mini|Opera Mobi|Opera",SSSS_19="AdobeAIR|Titanium|Fluid|Chrome|Android|Epiphany|Konqueror|iCab|OmniWeb|Maxthon|Pre|Mobile Safari|Safari",SSSS_20="webkit",SSSS_21="5.0",SSSS_22="prism|Fennec|Camino|Kmeleon|Galeon|Netscape|SeaMonkey|Firefox",SSSS_23="Mobile/";qx.Bootstrap.define(SSSS_13,{statics:{UNKNOWN:true,NAME:"unknown",TITLE:"unknown 0.0",VERSION:0.0,FULLVERSION:"0.0.0",__gh:function(agents){var current=navigator.userAgent;var reg=new RegExp(SSSS_15+agents+SSSS_6);var match=current.match(reg);if(!match){return;}var name=match[1].toLowerCase();var version=match[3];if(current.match(/Version(\/| )([0-9]+\.[0-9])/)){version=RegExp.$2;}if(qx.core.Variant.isSet(SSSS_0,SSSS_20)){if(name===SSSS_3){name=SSSS_5;}else if(current.indexOf(SSSS_9)!==-1||current.indexOf(SSSS_23)!==-1){name=SSSS_11;}}else if(qx.core.Variant.isSet(SSSS_0,SSSS_17)){if(name===SSSS_2){name=SSSS_1;if(qx.bom.client.System.WINCE&&name===SSSS_1){name=SSSS_7;version=SSSS_21;}}}else if(qx.core.Variant.isSet(SSSS_0,SSSS_16)){if(name===SSSS_8){name=SSSS_10;}else if(name===SSSS_14){name=SSSS_4;}}this.NAME=name;this.FULLVERSION=version;this.VERSION=parseFloat(version,10);this.TITLE=name+" "+this.VERSION;this.UNKNOWN=false;}},defer:qx.core.Variant.select(SSSS_0,{"webkit":function(statics){statics.__gh(SSSS_19);},"gecko":function(statics){statics.__gh(SSSS_22);},"mshtml":function(statics){statics.__gh(SSSS_12);},"opera":function(statics){statics.__gh(SSSS_18);}})});})();(function(){var SSSS_0="qx.client",SSSS_1="qx.dom.Hierarchy",SSSS_2="previousSibling",SSSS_3="*",SSSS_4="nextSibling",SSSS_5="parentNode";qx.Class.define(SSSS_1,{statics:{getNodeIndex:function(node){var index=0;while(node&&(node=node.previousSibling)){index++;}return index;},getElementIndex:function(element){var index=0;var type=qx.dom.Node.ELEMENT;while(element&&(element=element.previousSibling)){if(element.nodeType==type){index++;}}return index;},getNextElementSibling:function(element){while(element&&(element=element.nextSibling)&&!qx.dom.Node.isElement(element)){continue;}return element||null;},getPreviousElementSibling:function(element){while(element&&(element=element.previousSibling)&&!qx.dom.Node.isElement(element)){continue;}return element||null;},contains:qx.core.Variant.select(SSSS_0,{"webkit|mshtml|opera":function(element,target){if(qx.dom.Node.isDocument(element)){var doc=qx.dom.Node.getDocument(target);return element&&doc==element;}else if(qx.dom.Node.isDocument(target)){return false;}else{return element.contains(target);}},"gecko":function(element,target){return !!(element.compareDocumentPosition(target)&16);},"default":function(element,target){while(target){if(element==target){return true;}target=target.parentNode;}return false;}}),isRendered:function(element){if(!element.offsetParent){return false;}var doc=element.ownerDocument||element.document;if(doc.body.contains){return doc.body.contains(element);}if(doc.compareDocumentPosition){return !!(doc.compareDocumentPosition(element)&16);}throw new Error("Missing support for isRendered()!");},isDescendantOf:function(element,ancestor){return this.contains(ancestor,element);},getCommonParent:qx.core.Variant.select(SSSS_0,{"mshtml|opera":function(element1,element2){if(element1===element2){return element1;}while(element1&&qx.dom.Node.isElement(element1)){if(element1.contains(element2)){return element1;}element1=element1.parentNode;}return null;},"default":function(element1,element2){if(element1===element2){return element1;}var known={};var obj=qx.core.ObjectRegistry;var h1,h2;while(element1||element2){if(element1){h1=obj.toHashCode(element1);if(known[h1]){return known[h1];}known[h1]=element1;element1=element1.parentNode;}if(element2){h2=obj.toHashCode(element2);if(known[h2]){return known[h2];}known[h2]=element2;element2=element2.parentNode;}}return null;}}),getAncestors:function(element){return this._recursivelyCollect(element,SSSS_5);},getChildElements:function(element){element=element.firstChild;if(!element){return [];}var arr=this.getNextSiblings(element);if(element.nodeType===1){arr.unshift(element);}return arr;},getDescendants:function(element){return qx.lang.Array.fromCollection(element.getElementsByTagName(SSSS_3));},getFirstDescendant:function(element){element=element.firstChild;while(element&&element.nodeType!=1){element=element.nextSibling;}return element;},getLastDescendant:function(element){element=element.lastChild;while(element&&element.nodeType!=1){element=element.previousSibling;}return element;},getPreviousSiblings:function(element){return this._recursivelyCollect(element,SSSS_2);},getNextSiblings:function(element){return this._recursivelyCollect(element,SSSS_4);},_recursivelyCollect:function(element,property){var list=[];while(element=element[property]){if(element.nodeType==1){list.push(element);}}return list;},getSiblings:function(element){return this.getPreviousSiblings(element).reverse().concat(this.getNextSiblings(element));},isEmpty:function(element){element=element.firstChild;while(element){if(element.nodeType===qx.dom.Node.ELEMENT||element.nodeType===qx.dom.Node.TEXT){return false;}element=element.nextSibling;}return true;},cleanWhitespace:function(element){var node=element.firstChild;while(node){var nextNode=node.nextSibling;if(node.nodeType==3&&!/\S/.test(node.nodeValue)){element.removeChild(node);}node=nextNode;}}}});})();(function(){var SSSS_0="qx.client",SSSS_1="qx.event.type.Drag";qx.Class.define(SSSS_1,{extend:qx.event.type.Event,members:{init:function(cancelable,originalEvent){arguments.callee.base.call(this,true,cancelable);if(originalEvent){this._native=originalEvent.getNativeEvent()||null;this._originalTarget=originalEvent.getTarget()||null;}else{this._native=null;this._originalTarget=null;}return this;},clone:function(embryo){var clone=arguments.callee.base.call(this,embryo);clone._native=this._native;return clone;},getDocumentLeft:qx.core.Variant.select(SSSS_0,{"mshtml":function(){if(this._native==null){return 0;}var win=qx.dom.Node.getWindow(this._native.srcElement);return this._native.clientX+qx.bom.Viewport.getScrollLeft(win);},"default":function(){if(this._native==null){return 0;}return this._native.pageX;}}),getDocumentTop:qx.core.Variant.select(SSSS_0,{"mshtml":function(){if(this._native==null){return 0;}var win=qx.dom.Node.getWindow(this._native.srcElement);return this._native.clientY+qx.bom.Viewport.getScrollTop(win);},"default":function(){if(this._native==null){return 0;}return this._native.pageY;}}),getManager:function(){return qx.event.Registration.getManager(this.getTarget()).getHandler(qx.event.handler.DragDrop);},addType:function(type){this.getManager().addType(type);},addAction:function(action){this.getManager().addAction(action);},supportsType:function(type){return this.getManager().supportsType(type);},supportsAction:function(action){return this.getManager().supportsAction(action);},addData:function(type,data){this.getManager().addData(type,data);},getData:function(type){return this.getManager().getData(type);},getCurrentType:function(){return this.getManager().getCurrentType();},getCurrentAction:function(){return this.getManager().getCurrentAction();}}});})();(function(){var SSSS_0="interval",SSSS_1="qx.event.Timer",SSSS_2="_applyInterval",SSSS_3="_applyEnabled",SSSS_4="Boolean",SSSS_5="qx.event.type.Event",SSSS_6="Integer";qx.Class.define(SSSS_1,{extend:qx.core.Object,construct:function(interval){arguments.callee.base.call(this);this.setEnabled(false);if(interval!=null){this.setInterval(interval);}var self=this;this.__gi=function(){self._oninterval.call(self);};},events:{"interval":SSSS_5},statics:{once:function(func,obj,timeout){var timer=new qx.event.Timer(timeout);timer.addListener(SSSS_0,function(e){timer.stop();func.call(obj,e);timer.dispose();obj=null;},obj);timer.start();return timer;}},properties:{enabled:{init:true,check:SSSS_4,apply:SSSS_3},interval:{check:SSSS_6,init:1000,apply:SSSS_2}},members:{__gj:null,__gi:null,_applyInterval:function(value,old){if(this.getEnabled()){this.restart();}},_applyEnabled:function(value,old){if(old){window.clearInterval(this.__gj);this.__gj=null;}else if(value){this.__gj=window.setInterval(this.__gi,this.getInterval());}},start:function(){this.setEnabled(true);},startWith:function(interval){this.setInterval(interval);this.start();},stop:function(){this.setEnabled(false);},restart:function(){this.stop();this.start();},restartWith:function(interval){this.stop();this.startWith(interval);},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.$$disposed){return;}if(this.getEnabled()){this.fireEvent(SSSS_0);}})},destruct:function(){if(this.__gj){window.clearInterval(this.__gj);}this.__gj=this.__gi=null;}});})();(function(){var SSSS_0="losecapture",SSSS_1="qx.client",SSSS_2="blur",SSSS_3="focus",SSSS_4="click",SSSS_5="qx.event.dispatch.MouseCapture",SSSS_6="capture",SSSS_7="scroll";qx.Class.define(SSSS_5,{extend:qx.event.dispatch.AbstractBubbling,construct:function(manager,registration){arguments.callee.base.call(this,manager);this.__gk=manager.getWindow();this.__gl=registration;manager.addListener(this.__gk,SSSS_2,this.releaseCapture,this);manager.addListener(this.__gk,SSSS_3,this.releaseCapture,this);manager.addListener(this.__gk,SSSS_7,this.releaseCapture,this);},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST},members:{__gl:null,__gm:null,__gn:true,__gk:null,_getParent:function(target){return target.parentNode;},canDispatchEvent:function(target,event,type){return (this.__gm&&this.__go[type]);},dispatchEvent:function(target,event,type){if(type==SSSS_4){event.stopPropagation();this.releaseCapture();return;}if(this.__gn||!qx.dom.Hierarchy.contains(this.__gm,target)){target=this.__gm;}arguments.callee.base.call(this,target,event,type);},__go:{"mouseup":1,"mousedown":1,"click":1,"dblclick":1,"mousemove":1,"mouseout":1,"mouseover":1},activateCapture:function(element,containerCapture){var containerCapture=containerCapture!==false;if(this.__gm===element&&this.__gn==containerCapture){return;}if(this.__gm){this.releaseCapture();}this.nativeSetCapture(element,containerCapture);if(this.hasNativeCapture){var self=this;qx.bom.Event.addNativeListener(element,SSSS_0,function(){qx.bom.Event.removeNativeListener(element,SSSS_0,arguments.callee);self.releaseCapture();});}this.__gn=containerCapture;this.__gm=element;this.__gl.fireEvent(element,SSSS_6,qx.event.type.Event,[true,false]);},getCaptureElement:function(){return this.__gm;},releaseCapture:function(){var element=this.__gm;if(!element){return;}this.__gm=null;this.__gl.fireEvent(element,SSSS_0,qx.event.type.Event,[true,false]);this.nativeReleaseCapture(element);},hasNativeCapture:qx.bom.client.Engine.MSHTML,nativeSetCapture:qx.core.Variant.select(SSSS_1,{"mshtml":function(element,containerCapture){element.setCapture(containerCapture!==false);},"default":qx.lang.Function.empty}),nativeReleaseCapture:qx.core.Variant.select(SSSS_1,{"mshtml":function(element){element.releaseCapture();},"default":qx.lang.Function.empty})},destruct:function(){this.__gm=this.__gk=this.__gl=null;},defer:function(statics){qx.event.Registration.addDispatcher(statics);}});})();(function(){var SSSS_0="qx.client",SSSS_1="",SSSS_2="mshtml",SSSS_3="'",SSSS_4="SelectionLanguage",SSSS_5="qx.xml.Document",SSSS_6=" />",SSSS_7="MSXML2.DOMDocument.3.0",SSSS_8='<\?xml version="1.0" encoding="utf-8"?>\n<',SSSS_9="MSXML2.XMLHTTP.3.0",SSSS_10="MSXML2.XMLHTTP.6.0",SSSS_11=" xmlns='",SSSS_12="text/xml",SSSS_13="XPath",SSSS_14="MSXML2.DOMDocument.6.0",SSSS_15="HTML";qx.Class.define(SSSS_5,{statics:{DOMDOC:null,XMLHTTP:null,isXmlDocument:function(elem){if(elem.nodeType===9){return elem.documentElement.nodeName!==SSSS_15;}else if(elem.ownerDocument){return this.isXmlDocument(elem.ownerDocument);}else{return false;}},create:qx.core.Variant.select(SSSS_0,{"mshtml":function(namespaceUri,qualifiedName){var obj=new ActiveXObject(this.DOMDOC);obj.setProperty(SSSS_4,SSSS_13);if(qualifiedName){var str=SSSS_8;str+=qualifiedName;if(namespaceUri){str+=SSSS_11+namespaceUri+SSSS_3;}str+=SSSS_6;obj.loadXML(str);}return obj;},"default":function(namespaceUri,qualifiedName){return document.implementation.createDocument(namespaceUri||SSSS_1,qualifiedName||SSSS_1,null);}}),fromString:qx.core.Variant.select(SSSS_0,{"mshtml":function(str){var dom=qx.xml.Document.create();dom.loadXML(str);return dom;},"default":function(str){var parser=new DOMParser();return parser.parseFromString(str,SSSS_12);}})},defer:function(statics){if(qx.core.Variant.isSet(SSSS_0,SSSS_2)){var domDoc=[SSSS_14,SSSS_7];var httpReq=[SSSS_10,SSSS_9];for(var i=0,l=domDoc.length;i<l;i++){try{new ActiveXObject(domDoc[i]);new ActiveXObject(httpReq[i]);}catch(ex){continue;}statics.DOMDOC=domDoc[i];statics.XMLHTTP=httpReq[i];break;}}}});})();(function(){var SSSS_0="visible",SSSS_1="scroll",SSSS_2="borderBottomWidth",SSSS_3="borderTopWidth",SSSS_4="left",SSSS_5="borderLeftWidth",SSSS_6="bottom",SSSS_7="top",SSSS_8="right",SSSS_9="qx.bom.element.Scroll",SSSS_10="borderRightWidth";qx.Class.define(SSSS_9,{statics:{intoViewX:function(element,stop,align){var parent=element.parentNode;var doc=qx.dom.Node.getDocument(element);var body=doc.body;var parentLocation,parentLeft,parentRight;var parentOuterWidth,parentClientWidth,parentScrollWidth;var parentLeftBorder,parentRightBorder,parentScrollBarWidth;var elementLocation,elementLeft,elementRight,elementWidth;var leftOffset,rightOffset,scrollDiff;var alignLeft=align===SSSS_4;var alignRight=align===SSSS_8;stop=stop?stop.parentNode:doc;while(parent&&parent!=stop){if(parent.scrollWidth>parent.clientWidth&&(parent===body||qx.bom.element.Overflow.getY(parent)!=SSSS_0)){if(parent===body){parentLeft=parent.scrollLeft;parentRight=parentLeft+qx.bom.Viewport.getWidth();parentOuterWidth=qx.bom.Viewport.getWidth();parentClientWidth=parent.clientWidth;parentScrollWidth=parent.scrollWidth;parentLeftBorder=0;parentRightBorder=0;parentScrollBarWidth=0;}else{parentLocation=qx.bom.element.Location.get(parent);parentLeft=parentLocation.left;parentRight=parentLocation.right;parentOuterWidth=parent.offsetWidth;parentClientWidth=parent.clientWidth;parentScrollWidth=parent.scrollWidth;parentLeftBorder=parseInt(qx.bom.element.Style.get(parent,SSSS_5),10)||0;parentRightBorder=parseInt(qx.bom.element.Style.get(parent,SSSS_10),10)||0;parentScrollBarWidth=parentOuterWidth-parentClientWidth-parentLeftBorder-parentRightBorder;}elementLocation=qx.bom.element.Location.get(element);elementLeft=elementLocation.left;elementRight=elementLocation.right;elementWidth=element.offsetWidth;leftOffset=elementLeft-parentLeft-parentLeftBorder;rightOffset=elementRight-parentRight+parentRightBorder;scrollDiff=0;if(alignLeft){scrollDiff=leftOffset;}else if(alignRight){scrollDiff=rightOffset+parentScrollBarWidth;}else if(leftOffset<0||elementWidth>parentClientWidth){scrollDiff=leftOffset;}else if(rightOffset>0){scrollDiff=rightOffset+parentScrollBarWidth;}parent.scrollLeft+=scrollDiff;if(qx.bom.client.Engine.GECKO){qx.event.Registration.fireNonBubblingEvent(parent,SSSS_1);}}if(parent===body){break;}parent=parent.parentNode;}},intoViewY:function(element,stop,align){var parent=element.parentNode;var doc=qx.dom.Node.getDocument(element);var body=doc.body;var parentLocation,parentTop,parentBottom;var parentOuterHeight,parentClientHeight,parentScrollHeight;var parentTopBorder,parentBottomBorder,parentScrollBarHeight;var elementLocation,elementTop,elementBottom,elementHeight;var topOffset,bottomOffset,scrollDiff;var alignTop=align===SSSS_7;var alignBottom=align===SSSS_6;stop=stop?stop.parentNode:doc;while(parent&&parent!=stop){if(parent.scrollHeight>parent.clientHeight&&(parent===body||qx.bom.element.Overflow.getY(parent)!=SSSS_0)){if(parent===body){parentTop=parent.scrollTop;parentBottom=parentTop+qx.bom.Viewport.getHeight();parentOuterHeight=qx.bom.Viewport.getHeight();parentClientHeight=parent.clientHeight;parentScrollHeight=parent.scrollHeight;parentTopBorder=0;parentBottomBorder=0;parentScrollBarHeight=0;}else{parentLocation=qx.bom.element.Location.get(parent);parentTop=parentLocation.top;parentBottom=parentLocation.bottom;parentOuterHeight=parent.offsetHeight;parentClientHeight=parent.clientHeight;parentScrollHeight=parent.scrollHeight;parentTopBorder=parseInt(qx.bom.element.Style.get(parent,SSSS_3),10)||0;parentBottomBorder=parseInt(qx.bom.element.Style.get(parent,SSSS_2),10)||0;parentScrollBarHeight=parentOuterHeight-parentClientHeight-parentTopBorder-parentBottomBorder;}elementLocation=qx.bom.element.Location.get(element);elementTop=elementLocation.top;elementBottom=elementLocation.bottom;elementHeight=element.offsetHeight;topOffset=elementTop-parentTop-parentTopBorder;bottomOffset=elementBottom-parentBottom+parentBottomBorder;scrollDiff=0;if(alignTop){scrollDiff=topOffset;}else if(alignBottom){scrollDiff=bottomOffset+parentScrollBarHeight;}else if(topOffset<0||elementHeight>parentClientHeight){scrollDiff=topOffset;}else if(bottomOffset>0){scrollDiff=bottomOffset+parentScrollBarHeight;}parent.scrollTop+=scrollDiff;if(qx.bom.client.Engine.GECKO){qx.event.Registration.fireNonBubblingEvent(parent,SSSS_1);}}if(parent===body){break;}parent=parent.parentNode;}},intoView:function(element,stop,alignX,alignY){this.intoViewX(element,stop,alignX);this.intoViewY(element,stop,alignY);}}});})();(function(){var SSSS_0="",SSSS_1="qx.client",SSSS_2="hidden",SSSS_3="-moz-scrollbars-none",SSSS_4="overflow",SSSS_5=";",SSSS_6="overflowY",SSSS_7=":",SSSS_8="overflowX",SSSS_9="overflow:",SSSS_10="none",SSSS_11="scroll",SSSS_12="borderLeftStyle",SSSS_13="borderRightStyle",SSSS_14="div",SSSS_15="borderRightWidth",SSSS_16="overflow-y",SSSS_17="borderLeftWidth",SSSS_18="-moz-scrollbars-vertical",SSSS_19="100px",SSSS_20="qx.bom.element.Overflow",SSSS_21="overflow-x";qx.Class.define(SSSS_20,{statics:{__gp:null,getScrollbarWidth:function(){if(this.__gp!==null){return this.__gp;}var Style=qx.bom.element.Style;var getStyleSize=function(el,propertyName){return parseInt(Style.get(el,propertyName))||0;};var getBorderRight=function(el){return (Style.get(el,SSSS_13)==SSSS_10?0:getStyleSize(el,SSSS_15));};var getBorderLeft=function(el){return (Style.get(el,SSSS_12)==SSSS_10?0:getStyleSize(el,SSSS_17));};var getInsetRight=qx.core.Variant.select(SSSS_1,{"mshtml":function(el){if(Style.get(el,SSSS_6)==SSSS_2||el.clientWidth==0){return getBorderRight(el);}return Math.max(0,el.offsetWidth-el.clientLeft-el.clientWidth);},"default":function(el){if(el.clientWidth==0){var ov=Style.get(el,SSSS_4);var sbv=(ov==SSSS_11||ov==SSSS_18?16:0);return Math.max(0,getBorderRight(el)+sbv);}return Math.max(0,(el.offsetWidth-el.clientWidth-getBorderLeft(el)));}});var getScrollBarSizeRight=function(el){return getInsetRight(el)-getBorderRight(el);};var t=document.createElement(SSSS_14);var s=t.style;s.height=s.width=SSSS_19;s.overflow=SSSS_11;document.body.appendChild(t);var c=getScrollBarSizeRight(t);this.__gp=c?c:16;document.body.removeChild(t);return this.__gp;},_compile:qx.core.Variant.select(SSSS_1,{"gecko":qx.bom.client.Engine.VERSION<1.8?function(prop,value){if(value==SSSS_2){value=SSSS_3;}return SSSS_9+value+SSSS_5;}:function(prop,value){return prop+SSSS_7+value+SSSS_5;},"opera":qx.bom.client.Engine.VERSION<9.5?function(prop,value){return SSSS_9+value+SSSS_5;}:function(prop,value){return prop+SSSS_7+value+SSSS_5;},"default":function(prop,value){return prop+SSSS_7+value+SSSS_5;}}),compileX:function(value){return this._compile(SSSS_21,value);},compileY:function(value){return this._compile(SSSS_16,value);},getX:qx.core.Variant.select(SSSS_1,{"gecko":qx.bom.client.Engine.VERSION<1.8?function(element,mode){var overflow=qx.bom.element.Style.get(element,SSSS_4,mode,false);if(overflow===SSSS_3){overflow=SSSS_2;}return overflow;}:function(element,mode){return qx.bom.element.Style.get(element,SSSS_8,mode,false);},"opera":qx.bom.client.Engine.VERSION<9.5?function(element,mode){return qx.bom.element.Style.get(element,SSSS_4,mode,false);}:function(element,mode){return qx.bom.element.Style.get(element,SSSS_8,mode,false);},"default":function(element,mode){return qx.bom.element.Style.get(element,SSSS_8,mode,false);}}),setX:qx.core.Variant.select(SSSS_1,{"gecko":qx.bom.client.Engine.VERSION<1.8?function(element,value){if(value==SSSS_2){value=SSSS_3;}element.style.overflow=value;}:function(element,value){element.style.overflowX=value;},"opera":qx.bom.client.Engine.VERSION<9.5?function(element,value){element.style.overflow=value;}:function(element,value){element.style.overflowX=value;},"default":function(element,value){element.style.overflowX=value;}}),resetX:qx.core.Variant.select(SSSS_1,{"gecko":qx.bom.client.Engine.VERSION<1.8?function(element){element.style.overflow=SSSS_0;}:function(element){element.style.overflowX=SSSS_0;},"opera":qx.bom.client.Engine.VERSION<9.5?function(element,value){element.style.overflow=SSSS_0;}:function(element,value){element.style.overflowX=SSSS_0;},"default":function(element){element.style.overflowX=SSSS_0;}}),getY:qx.core.Variant.select(SSSS_1,{"gecko":qx.bom.client.Engine.VERSION<1.8?function(element,mode){var overflow=qx.bom.element.Style.get(element,SSSS_4,mode,false);if(overflow===SSSS_3){overflow=SSSS_2;}return overflow;}:function(element,mode){return qx.bom.element.Style.get(element,SSSS_6,mode,false);},"opera":qx.bom.client.Engine.VERSION<9.5?function(element,mode){return qx.bom.element.Style.get(element,SSSS_4,mode,false);}:function(element,mode){return qx.bom.element.Style.get(element,SSSS_6,mode,false);},"default":function(element,mode){return qx.bom.element.Style.get(element,SSSS_6,mode,false);}}),setY:qx.core.Variant.select(SSSS_1,{"gecko":qx.bom.client.Engine.VERSION<1.8?function(element,value){if(value===SSSS_2){value=SSSS_3;}element.style.overflow=value;}:function(element,value){element.style.overflowY=value;},"opera":qx.bom.client.Engine.VERSION<9.5?function(element,value){element.style.overflow=value;}:function(element,value){element.style.overflowY=value;},"default":function(element,value){element.style.overflowY=value;}}),resetY:qx.core.Variant.select(SSSS_1,{"gecko":qx.bom.client.Engine.VERSION<1.8?function(element){element.style.overflow=SSSS_0;}:function(element){element.style.overflowY=SSSS_0;},"opera":qx.bom.client.Engine.VERSION<9.5?function(element,value){element.style.overflow=SSSS_0;}:function(element,value){element.style.overflowY=SSSS_0;},"default":function(element){element.style.overflowY=SSSS_0;}})}});})();(function(){var SSSS_0="auto",SSSS_1="px",SSSS_2=",",SSSS_3="clip:auto;",SSSS_4="rect(",SSSS_5=");",SSSS_6="",SSSS_7=")",SSSS_8="qx.bom.element.Clip",SSSS_9="string",SSSS_10="rect(auto)",SSSS_11="clip:rect(",SSSS_12="clip",SSSS_13="rect(auto,auto,auto,auto)";qx.Class.define(SSSS_8,{statics:{compile:function(map){if(!map){return SSSS_3;}var left=map.left;var top=map.top;var width=map.width;var height=map.height;var right,bottom;if(left==null){right=(width==null?SSSS_0:width+SSSS_1);left=SSSS_0;}else{right=(width==null?SSSS_0:left+width+SSSS_1);left=left+SSSS_1;}if(top==null){bottom=(height==null?SSSS_0:height+SSSS_1);top=SSSS_0;}else{bottom=(height==null?SSSS_0:top+height+SSSS_1);top=top+SSSS_1;}return SSSS_11+top+SSSS_2+right+SSSS_2+bottom+SSSS_2+left+SSSS_5;},get:function(element,mode){var clip=qx.bom.element.Style.get(element,SSSS_12,mode,false);var left,top,width,height;var right,bottom;if(typeof clip===SSSS_9&&clip!==SSSS_0&&clip!==SSSS_6){clip=qx.lang.String.trim(clip);if(/\((.*)\)/.test(clip)){var split=RegExp.$1.split(SSSS_2);top=qx.lang.String.trim(split[0]);right=qx.lang.String.trim(split[1]);bottom=qx.lang.String.trim(split[2]);left=qx.lang.String.trim(split[3]);if(left===SSSS_0){left=null;}if(top===SSSS_0){top=null;}if(right===SSSS_0){right=null;}if(bottom===SSSS_0){bottom=null;}if(top!=null){top=parseInt(top,10);}if(right!=null){right=parseInt(right,10);}if(bottom!=null){bottom=parseInt(bottom,10);}if(left!=null){left=parseInt(left,10);}if(right!=null&&left!=null){width=right-left;}else if(right!=null){width=right;}if(bottom!=null&&top!=null){height=bottom-top;}else if(bottom!=null){height=bottom;}}else{throw new Error("Could not parse clip string: "+clip);}}return {left:left||null,top:top||null,width:width||null,height:height||null};},set:function(element,map){if(!map){element.style.clip=SSSS_13;return;}var left=map.left;var top=map.top;var width=map.width;var height=map.height;var right,bottom;if(left==null){right=(width==null?SSSS_0:width+SSSS_1);left=SSSS_0;}else{right=(width==null?SSSS_0:left+width+SSSS_1);left=left+SSSS_1;}if(top==null){bottom=(height==null?SSSS_0:height+SSSS_1);top=SSSS_0;}else{bottom=(height==null?SSSS_0:top+height+SSSS_1);top=top+SSSS_1;}element.style.clip=SSSS_4+top+SSSS_2+right+SSSS_2+bottom+SSSS_2+left+SSSS_7;},reset:function(element){element.style.clip=qx.bom.client.Engine.MSHTML?SSSS_10:SSSS_0;}}});})();(function(){var SSSS_0="n-resize",SSSS_1="e-resize",SSSS_2="nw-resize",SSSS_3="ne-resize",SSSS_4="",SSSS_5="cursor:",SSSS_6="qx.client",SSSS_7=";",SSSS_8="qx.bom.element.Cursor",SSSS_9="cursor",SSSS_10="hand";qx.Class.define(SSSS_8,{statics:{__gq:qx.core.Variant.select(SSSS_6,{"mshtml":{"cursor":SSSS_10,"ew-resize":SSSS_1,"ns-resize":SSSS_0,"nesw-resize":SSSS_3,"nwse-resize":SSSS_2},"opera":{"col-resize":SSSS_1,"row-resize":SSSS_0,"ew-resize":SSSS_1,"ns-resize":SSSS_0,"nesw-resize":SSSS_3,"nwse-resize":SSSS_2},"default":{}}),compile:function(cursor){return SSSS_5+(this.__gq[cursor]||cursor)+SSSS_7;},get:function(element,mode){return qx.bom.element.Style.get(element,SSSS_9,mode,false);},set:function(element,value){element.style.cursor=this.__gq[value]||value;},reset:function(element){element.style.cursor=SSSS_4;}}});})();(function(){var SSSS_0="",SSSS_1="qx.client",SSSS_2=";",SSSS_3="filter",SSSS_4="opacity:",SSSS_5="opacity",SSSS_6="MozOpacity",SSSS_7=");",SSSS_8=")",SSSS_9="zoom:1;filter:alpha(opacity=",SSSS_10="qx.bom.element.Opacity",SSSS_11="alpha(opacity=",SSSS_12="-moz-opacity:";qx.Class.define(SSSS_10,{statics:{compile:qx.core.Variant.select(SSSS_1,{"mshtml":function(opacity){if(opacity>=1){return SSSS_0;}if(opacity<0.00001){opacity=0;}return SSSS_9+(opacity*100)+SSSS_7;},"gecko":function(opacity){if(opacity==1){opacity=0.999999;}if(qx.bom.client.Engine.VERSION<1.7){return SSSS_12+opacity+SSSS_2;}else{return SSSS_4+opacity+SSSS_2;}},"default":function(opacity){if(opacity==1){return SSSS_0;}return SSSS_4+opacity+SSSS_2;}}),set:qx.core.Variant.select(SSSS_1,{"mshtml":function(element,opacity){var filter=qx.bom.element.Style.get(element,SSSS_3,qx.bom.element.Style.COMPUTED_MODE,false);if(opacity>=1){element.style.filter=filter.replace(/alpha\([^\)]*\)/gi,SSSS_0);return;}if(opacity<0.00001){opacity=0;}if(!element.currentStyle||!element.currentStyle.hasLayout){element.style.zoom=1;}element.style.filter=filter.replace(/alpha\([^\)]*\)/gi,SSSS_0)+SSSS_11+opacity*100+SSSS_8;},"gecko":function(element,opacity){if(opacity==1){opacity=0.999999;}if(qx.bom.client.Engine.VERSION<1.7){element.style.MozOpacity=opacity;}else{element.style.opacity=opacity;}},"default":function(element,opacity){if(opacity==1){opacity=SSSS_0;}element.style.opacity=opacity;}}),reset:qx.core.Variant.select(SSSS_1,{"mshtml":function(element){var filter=qx.bom.element.Style.get(element,SSSS_3,qx.bom.element.Style.COMPUTED_MODE,false);element.style.filter=filter.replace(/alpha\([^\)]*\)/gi,SSSS_0);},"gecko":function(element){if(qx.bom.client.Engine.VERSION<1.7){element.style.MozOpacity=SSSS_0;}else{element.style.opacity=SSSS_0;}},"default":function(element){element.style.opacity=SSSS_0;}}),get:qx.core.Variant.select(SSSS_1,{"mshtml":function(element,mode){var filter=qx.bom.element.Style.get(element,SSSS_3,mode,false);if(filter){var opacity=filter.match(/alpha\(opacity=(.*)\)/);if(opacity&&opacity[1]){return parseFloat(opacity[1])/100;}}return 1.0;},"gecko":function(element,mode){var opacity=qx.bom.element.Style.get(element,qx.bom.client.Engine.VERSION<1.7?SSSS_6:SSSS_5,mode,false);if(opacity==0.999999){opacity=1.0;}if(opacity!=null){return parseFloat(opacity);}return 1.0;},"default":function(element,mode){var opacity=qx.bom.element.Style.get(element,SSSS_5,mode,false);if(opacity!=null){return parseFloat(opacity);}return 1.0;}})}});})();(function(){var SSSS_0="qx.client",SSSS_1="",SSSS_2="qx.debug",SSSS_3="boxSizing",SSSS_4="on",SSSS_5="box-sizing",SSSS_6=":",SSSS_7="border-box",SSSS_8="qx.bom.element.BoxSizing",SSSS_9="KhtmlBoxSizing",SSSS_10="-moz-box-sizing",SSSS_11="WebkitBoxSizing",SSSS_12=";",SSSS_13="-khtml-box-sizing",SSSS_14="content-box",SSSS_15="-webkit-box-sizing",SSSS_16="MozBoxSizing";qx.Class.define(SSSS_8,{statics:{__gr:qx.core.Variant.select(SSSS_0,{"mshtml":null,"webkit":[SSSS_3,SSSS_9,SSSS_11],"gecko":[SSSS_16],"opera":[SSSS_3]}),__gs:qx.core.Variant.select(SSSS_0,{"mshtml":null,"webkit":[SSSS_5,SSSS_13,SSSS_15],"gecko":[SSSS_10],"opera":[SSSS_5]}),__gt:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__gu:function(element){var map=this.__gt;return map.tags[element.tagName.toLowerCase()]||map.types[element.type];},compile:qx.core.Variant.select(SSSS_0,{"mshtml":function(value){if(qx.core.Variant.isSet(SSSS_2,SSSS_4)){qx.log.Logger.warn(this,"This client do not support the dynamic modification of the box-sizing property.");qx.log.Logger.trace();}},"default":function(value){var props=this.__gs;var css=SSSS_1;if(props){for(var i=0,l=props.length;i<l;i++){css+=props[i]+SSSS_6+value+SSSS_12;}}return css;}}),get:qx.core.Variant.select(SSSS_0,{"mshtml":function(element){if(qx.bom.Document.isStandardMode(qx.dom.Node.getDocument(element))){if(!this.__gu(element)){return SSSS_14;}}return SSSS_7;},"default":function(element){var props=this.__gr;var value;if(props){for(var i=0,l=props.length;i<l;i++){value=qx.bom.element.Style.get(element,props[i],null,false);if(value!=null&&value!==SSSS_1){return value;}}}return SSSS_1;}}),set:qx.core.Variant.select(SSSS_0,{"mshtml":function(element,value){if(qx.core.Variant.isSet(SSSS_2,SSSS_4)){qx.log.Logger.warn(this,"This client do not support the dynamic modification of the box-sizing property.");}},"default":function(element,value){var props=this.__gr;if(props){for(var i=0,l=props.length;i<l;i++){element.style[props[i]]=value;}}}}),reset:function(element){this.set(element,SSSS_1);}}});})();(function(){var SSSS_0="",SSSS_1="qx.client",SSSS_2="user-select",SSSS_3="userSelect",SSSS_4="appearance",SSSS_5="qx.debug",SSSS_6="Invalid argument 'smart'",SSSS_7="style",SSSS_8="on",SSSS_9="Invalid argument 'element'",SSSS_10="MozUserModify",SSSS_11="px",SSSS_12="-webkit-appearance",SSSS_13="styleFloat",SSSS_14="-webkit-user-select",SSSS_15="-moz-appearance",SSSS_16="pixelHeight",SSSS_17="MozAppearance",SSSS_18=":",SSSS_19="pixelTop",SSSS_20="Invalid argument 'name'",SSSS_21="pixelLeft",SSSS_22="text-overflow",SSSS_23="-moz-user-select",SSSS_24="Invalid argument 'styles'",SSSS_25="MozUserSelect",SSSS_26="qx.bom.element.Style",SSSS_27="-moz-user-modify",SSSS_28="-webkit-user-modify",SSSS_29="WebkitUserSelect",SSSS_30="-o-text-overflow",SSSS_31="pixelRight",SSSS_32="cssFloat",SSSS_33="pixelWidth",SSSS_34="pixelBottom",SSSS_35=";",SSSS_36="WebkitUserModify",SSSS_37="WebkitAppearance";qx.Class.define(SSSS_26,{statics:{__gv:{styleNames:{"float":qx.core.Variant.select(SSSS_1,{"mshtml":SSSS_13,"default":SSSS_32}),"appearance":qx.core.Variant.select(SSSS_1,{"gecko":SSSS_17,"webkit":SSSS_37,"default":SSSS_4}),"userSelect":qx.core.Variant.select(SSSS_1,{"gecko":SSSS_25,"webkit":SSSS_29,"default":SSSS_3}),"userModify":qx.core.Variant.select(SSSS_1,{"gecko":SSSS_10,"webkit":SSSS_36,"default":SSSS_3})},cssNames:{"appearance":qx.core.Variant.select(SSSS_1,{"gecko":SSSS_15,"webkit":SSSS_12,"default":SSSS_4}),"userSelect":qx.core.Variant.select(SSSS_1,{"gecko":SSSS_23,"webkit":SSSS_14,"default":SSSS_2}),"userModify":qx.core.Variant.select(SSSS_1,{"gecko":SSSS_27,"webkit":SSSS_28,"default":SSSS_2}),"textOverflow":qx.core.Variant.select(SSSS_1,{"opera":SSSS_30,"default":SSSS_22})},mshtmlPixel:{width:SSSS_33,height:SSSS_16,left:SSSS_21,right:SSSS_31,top:SSSS_19,bottom:SSSS_34},special:{clip:qx.bom.element.Clip,cursor:qx.bom.element.Cursor,opacity:qx.bom.element.Opacity,boxSizing:qx.bom.element.BoxSizing,overflowX:{set:qx.lang.Function.bind(qx.bom.element.Overflow.setX,qx.bom.element.Overflow),get:qx.lang.Function.bind(qx.bom.element.Overflow.getX,qx.bom.element.Overflow),reset:qx.lang.Function.bind(qx.bom.element.Overflow.resetX,qx.bom.element.Overflow),compile:qx.lang.Function.bind(qx.bom.element.Overflow.compileX,qx.bom.element.Overflow)},overflowY:{set:qx.lang.Function.bind(qx.bom.element.Overflow.setY,qx.bom.element.Overflow),get:qx.lang.Function.bind(qx.bom.element.Overflow.getY,qx.bom.element.Overflow),reset:qx.lang.Function.bind(qx.bom.element.Overflow.resetY,qx.bom.element.Overflow),compile:qx.lang.Function.bind(qx.bom.element.Overflow.compileY,qx.bom.element.Overflow)}}},__gw:{},compile:function(map){var html=[];var hints=this.__gv;var special=hints.special;var names=hints.cssNames;var hyphens=this.__gw;var str=qx.lang.String;var name,prop,value;for(name in map){value=map[name];if(value==null){continue;}name=names[name]||name;if(special[name]){html.push(special[name].compile(value));}else{prop=hyphens[name];if(!prop){prop=hyphens[name]=str.hyphenate(name);}html.push(prop,SSSS_18,value,SSSS_35);}}return html.join(SSSS_0);},setCss:qx.core.Variant.select(SSSS_1,{"mshtml":function(element,value){element.style.cssText=value;},"default":function(element,value){element.setAttribute(SSSS_7,value);}}),getCss:qx.core.Variant.select(SSSS_1,{"mshtml":function(element){return element.style.cssText.toLowerCase();},"default":function(element){return element.getAttribute(SSSS_7);}}),COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function(element,name,value,smart){if(qx.core.Variant.isSet(SSSS_5,SSSS_8)){qx.core.Assert.assertElement(element,SSSS_9);qx.core.Assert.assertString(name,SSSS_20);if(smart!==undefined){qx.core.Assert.assertBoolean(smart,SSSS_6);}}var hints=this.__gv;name=hints.styleNames[name]||name;if(smart!==false&&hints.special[name]){return hints.special[name].set(element,value);}else{element.style[name]=value!==null?value:SSSS_0;}},setStyles:function(element,styles,smart){if(qx.core.Variant.isSet(SSSS_5,SSSS_8)){qx.core.Assert.assertElement(element,SSSS_9);qx.core.Assert.assertMap(styles,SSSS_24);if(smart!==undefined){qx.core.Assert.assertBoolean(smart,SSSS_6);}}var hints=this.__gv;var styleNames=hints.styleNames;var special=hints.special;var style=element.style;for(var key in styles){var value=styles[key];var name=styleNames[key]||key;if(value===undefined){if(smart!==false&&special[name]){special[name].reset(element);}else{style[name]=SSSS_0;}}else{if(smart!==false&&special[name]){special[name].set(element,value);}else{style[name]=value!==null?value:SSSS_0;}}}},reset:function(element,name,smart){var hints=this.__gv;name=hints.styleNames[name]||name;if(smart!==false&&hints.special[name]){return hints.special[name].reset(element);}else{element.style[name]=SSSS_0;}},get:qx.core.Variant.select(SSSS_1,{"mshtml":function(element,name,mode,smart){var hints=this.__gv;name=hints.styleNames[name]||name;if(smart!==false&&hints.special[name]){return hints.special[name].get(element,mode);}if(!element.currentStyle){return element.style[name]||SSSS_0;}switch(mode){case this.LOCAL_MODE:return element.style[name]||SSSS_0;case this.CASCADED_MODE:return element.currentStyle[name]||SSSS_0;default:var currentStyle=element.currentStyle[name]||SSSS_0;if(/^-?[\.\d]+(px)?$/i.test(currentStyle)){return currentStyle;}var pixel=hints.mshtmlPixel[name];if(pixel){var localStyle=element.style[name];element.style[name]=currentStyle||0;var value=element.style[pixel]+SSSS_11;element.style[name]=localStyle;return value;}if(/^-?[\.\d]+(em|pt|%)?$/i.test(currentStyle)){throw new Error("Untranslated computed property value: "+name+". Only pixel values work well across different clients.");}return currentStyle;}},"default":function(element,name,mode,smart){var hints=this.__gv;name=hints.styleNames[name]||name;if(smart!==false&&hints.special[name]){return hints.special[name].get(element,mode);}switch(mode){case this.LOCAL_MODE:return element.style[name]||SSSS_0;case this.CASCADED_MODE:if(element.currentStyle){return element.currentStyle[name]||SSSS_0;}throw new Error("Cascaded styles are not supported in this browser!");default:var doc=qx.dom.Node.getDocument(element);var computed=doc.defaultView.getComputedStyle(element,null);return computed?computed[name]:SSSS_0;}}})}});})();(function(){var SSSS_0="borderTopWidth",SSSS_1="borderLeftWidth",SSSS_2="marginTop",SSSS_3="marginLeft",SSSS_4="scroll",SSSS_5="qx.client",SSSS_6="border-box",SSSS_7="borderBottomWidth",SSSS_8="borderRightWidth",SSSS_9="auto",SSSS_10="padding",SSSS_11="qx.bom.element.Location",SSSS_12="paddingLeft",SSSS_13="static",SSSS_14="marginBottom",SSSS_15="visible",SSSS_16="BODY",SSSS_17="paddingBottom",SSSS_18="paddingTop",SSSS_19="marginRight",SSSS_20="position",SSSS_21="margin",SSSS_22="overflow",SSSS_23="paddingRight",SSSS_24="border";qx.Class.define(SSSS_11,{statics:{__gx:function(elem,style){return qx.bom.element.Style.get(elem,style,qx.bom.element.Style.COMPUTED_MODE,false);},__gy:function(elem,style){return parseInt(qx.bom.element.Style.get(elem,style,qx.bom.element.Style.COMPUTED_MODE,false),10)||0;},__gz:function(elem){var left=0,top=0;if(elem.getBoundingClientRect&&!qx.bom.client.Engine.OPERA){var win=qx.dom.Node.getWindow(elem);left-=qx.bom.Viewport.getScrollLeft(win);top-=qx.bom.Viewport.getScrollTop(win);}else{var body=qx.dom.Node.getDocument(elem).body;elem=elem.parentNode;while(elem&&elem!=body){left+=elem.scrollLeft;top+=elem.scrollTop;elem=elem.parentNode;}}return {left:left,top:top};},__gA:qx.core.Variant.select(SSSS_5,{"mshtml":function(elem){var doc=qx.dom.Node.getDocument(elem);var body=doc.body;var left=0;var top=0;left-=body.clientLeft+doc.documentElement.clientLeft;top-=body.clientTop+doc.documentElement.clientTop;if(qx.bom.client.Feature.STANDARD_MODE){left+=this.__gy(body,SSSS_1);top+=this.__gy(body,SSSS_0);}return {left:left,top:top};},"webkit":function(elem){var doc=qx.dom.Node.getDocument(elem);var body=doc.body;var left=body.offsetLeft;var top=body.offsetTop;if(qx.bom.client.Engine.VERSION<530.17){left+=this.__gy(body,SSSS_1);top+=this.__gy(body,SSSS_0);}return {left:left,top:top};},"gecko":function(elem){var body=qx.dom.Node.getDocument(elem).body;var left=body.offsetLeft;var top=body.offsetTop;if(qx.bom.client.Engine.VERSION<1.9){left+=this.__gy(body,SSSS_3);top+=this.__gy(body,SSSS_2);}if(qx.bom.element.BoxSizing.get(body)!==SSSS_6){left+=this.__gy(body,SSSS_1);top+=this.__gy(body,SSSS_0);}return {left:left,top:top};},"default":function(elem){var body=qx.dom.Node.getDocument(elem).body;var left=body.offsetLeft;var top=body.offsetTop;return {left:left,top:top};}}),__gB:qx.core.Variant.select(SSSS_5,{"mshtml|webkit":function(elem){var doc=qx.dom.Node.getDocument(elem);if(elem.getBoundingClientRect){var rect=elem.getBoundingClientRect();var left=rect.left;var top=rect.top;}else{var left=elem.offsetLeft;var top=elem.offsetTop;elem=elem.offsetParent;var body=doc.body;while(elem&&elem!=body){left+=elem.offsetLeft;top+=elem.offsetTop;left+=this.__gy(elem,SSSS_1);top+=this.__gy(elem,SSSS_0);elem=elem.offsetParent;}}return {left:left,top:top};},"gecko":function(elem){if(elem.getBoundingClientRect){var rect=elem.getBoundingClientRect();var left=Math.round(rect.left);var top=Math.round(rect.top);}else{var left=0;var top=0;var body=qx.dom.Node.getDocument(elem).body;var box=qx.bom.element.BoxSizing;if(box.get(elem)!==SSSS_6){left-=this.__gy(elem,SSSS_1);top-=this.__gy(elem,SSSS_0);}while(elem&&elem!==body){left+=elem.offsetLeft;top+=elem.offsetTop;if(box.get(elem)!==SSSS_6){left+=this.__gy(elem,SSSS_1);top+=this.__gy(elem,SSSS_0);}if(elem.parentNode&&this.__gx(elem.parentNode,SSSS_22)!=SSSS_15){left+=this.__gy(elem.parentNode,SSSS_1);top+=this.__gy(elem.parentNode,SSSS_0);}elem=elem.offsetParent;}}return {left:left,top:top};},"default":function(elem){var left=0;var top=0;var body=qx.dom.Node.getDocument(elem).body;while(elem&&elem!==body){left+=elem.offsetLeft;top+=elem.offsetTop;elem=elem.offsetParent;}return {left:left,top:top};}}),get:function(elem,mode){if(elem.tagName==SSSS_16){var location=this.__gC(elem);var left=location.left;var top=location.top;}else{var body=this.__gA(elem);var offset=this.__gB(elem);var scroll=this.__gz(elem);var left=offset.left+body.left-scroll.left;var top=offset.top+body.top-scroll.top;}var right=left+elem.offsetWidth;var bottom=top+elem.offsetHeight;if(mode){if(mode==SSSS_10||mode==SSSS_4){var overX=qx.bom.element.Overflow.getX(elem);if(overX==SSSS_4||overX==SSSS_9){right+=elem.scrollWidth-elem.offsetWidth+this.__gy(elem,SSSS_1)+this.__gy(elem,SSSS_8);}var overY=qx.bom.element.Overflow.getY(elem);if(overY==SSSS_4||overY==SSSS_9){bottom+=elem.scrollHeight-elem.offsetHeight+this.__gy(elem,SSSS_0)+this.__gy(elem,SSSS_7);}}switch(mode){case SSSS_10:left+=this.__gy(elem,SSSS_12);top+=this.__gy(elem,SSSS_18);right-=this.__gy(elem,SSSS_23);bottom-=this.__gy(elem,SSSS_17);case SSSS_4:left-=elem.scrollLeft;top-=elem.scrollTop;right-=elem.scrollLeft;bottom-=elem.scrollTop;case SSSS_24:left+=this.__gy(elem,SSSS_1);top+=this.__gy(elem,SSSS_0);right-=this.__gy(elem,SSSS_8);bottom-=this.__gy(elem,SSSS_7);break;case SSSS_21:left-=this.__gy(elem,SSSS_3);top-=this.__gy(elem,SSSS_2);right+=this.__gy(elem,SSSS_19);bottom+=this.__gy(elem,SSSS_14);break;}}return {left:left,top:top,right:right,bottom:bottom};},__gC:qx.core.Variant.select(SSSS_5,{"default":function(body){var top=body.offsetTop+this.__gy(body,SSSS_2);var left=body.offsetLeft+this.__gy(body,SSSS_3);return {left:left,top:top};},"mshtml":function(body){var top=body.offsetTop;var left=body.offsetLeft;if(!((qx.bom.client.Engine.VERSION<8||qx.bom.client.Engine.DOCUMENT_MODE<8)&&!qx.bom.client.Feature.QUIRKS_MODE)){top+=this.__gy(body,SSSS_2);left+=this.__gy(body,SSSS_3);}return {left:left,top:top};},"gecko":function(body){var top=body.offsetTop+this.__gy(body,SSSS_2)+this.__gy(body,SSSS_1);var left=body.offsetLeft+this.__gy(body,SSSS_3)+this.__gy(body,SSSS_0);return {left:left,top:top};}}),getLeft:function(elem,mode){return this.get(elem,mode).left;},getTop:function(elem,mode){return this.get(elem,mode).top;},getRight:function(elem,mode){return this.get(elem,mode).right;},getBottom:function(elem,mode){return this.get(elem,mode).bottom;},getRelative:function(elem1,elem2,mode1,mode2){var loc1=this.get(elem1,mode1);var loc2=this.get(elem2,mode2);return {left:loc1.left-loc2.left,top:loc1.top-loc2.top,right:loc1.right-loc2.right,bottom:loc1.bottom-loc2.bottom};},getPosition:function(elem){return this.getRelative(elem,this.getOffsetParent(elem));},getOffsetParent:function(element){var offsetParent=element.offsetParent||document.body;var Style=qx.bom.element.Style;while(offsetParent&&(!/^body|html$/i.test(offsetParent.tagName)&&Style.get(offsetParent,SSSS_20)===SSSS_13)){offsetParent=offsetParent.offsetParent;}return offsetParent;}}});})();(function(){var SSSS_0="qx.client",SSSS_1="character",SSSS_2="EndToEnd",SSSS_3="input",SSSS_4="textarea",SSSS_5="StartToStart",SSSS_6='character',SSSS_7="qx.bom.Selection",SSSS_8="button",SSSS_9="#text",SSSS_10="body";qx.Class.define(SSSS_7,{statics:{getSelectionObject:qx.core.Variant.select(SSSS_0,{"mshtml":function(documentNode){return documentNode.selection;},"default":function(documentNode){return qx.dom.Node.getWindow(documentNode).getSelection();}}),get:qx.core.Variant.select(SSSS_0,{"mshtml":function(node){var rng=qx.bom.Range.get(qx.dom.Node.getDocument(node));return rng.text;},"default":function(node){if(this.__gD(node)){return node.value.substring(node.selectionStart,node.selectionEnd);}else{return this.getSelectionObject(qx.dom.Node.getDocument(node)).toString();}}}),getLength:qx.core.Variant.select(SSSS_0,{"mshtml":function(node){var selectedValue=this.get(node);var split=qx.util.StringSplit.split(selectedValue,/\r\n/);return selectedValue.length-(split.length-1);},"opera":function(node){var selectedValue,selectedLength,split;if(this.__gD(node)){var start=node.selectionStart;var end=node.selectionEnd;selectedValue=node.value.substring(start,end);selectedLength=end-start;}else{selectedValue=qx.bom.Selection.get(node);selectedLength=selectedValue.length;}split=qx.util.StringSplit.split(selectedValue,/\r\n/);return selectedLength-(split.length-1);},"default":function(node){if(this.__gD(node)){return node.selectionEnd-node.selectionStart;}else{return this.get(node).length;}}}),getStart:qx.core.Variant.select(SSSS_0,{"mshtml":function(node){if(this.__gD(node)){var documentRange=qx.bom.Range.get();if(!node.contains(documentRange.parentElement())){return -1;}var range=qx.bom.Range.get(node);var len=node.value.length;range.moveToBookmark(documentRange.getBookmark());range.moveEnd(SSSS_6,len);return len-range.text.length;}else{var range=qx.bom.Range.get(node);var parentElement=range.parentElement();var elementRange=qx.bom.Range.get();elementRange.moveToElementText(parentElement);var bodyRange=qx.bom.Range.get(qx.dom.Node.getBodyElement(node));bodyRange.setEndPoint(SSSS_5,range);bodyRange.setEndPoint(SSSS_2,elementRange);if(elementRange.compareEndPoints(SSSS_5,bodyRange)==0){return 0;}var moved;var steps=0;while(true){moved=bodyRange.moveStart(SSSS_1,-1);if(elementRange.compareEndPoints(SSSS_5,bodyRange)==0){break;}if(moved==0){break;}else{steps++;}}return ++steps;}},"gecko|webkit":function(node){if(this.__gD(node)){return node.selectionStart;}else{var documentElement=qx.dom.Node.getDocument(node);var documentSelection=this.getSelectionObject(documentElement);if(documentSelection.anchorOffset<documentSelection.focusOffset){return documentSelection.anchorOffset;}else{return documentSelection.focusOffset;}}},"default":function(node){if(this.__gD(node)){return node.selectionStart;}else{return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(node)).anchorOffset;}}}),getEnd:qx.core.Variant.select(SSSS_0,{"mshtml":function(node){if(this.__gD(node)){var documentRange=qx.bom.Range.get();if(!node.contains(documentRange.parentElement())){return -1;}var range=qx.bom.Range.get(node);var len=node.value.length;range.moveToBookmark(documentRange.getBookmark());range.moveStart(SSSS_6,-len);return range.text.length;}else{var range=qx.bom.Range.get(node);var parentElement=range.parentElement();var elementRange=qx.bom.Range.get();elementRange.moveToElementText(parentElement);var len=elementRange.text.length;var bodyRange=qx.bom.Range.get(qx.dom.Node.getBodyElement(node));bodyRange.setEndPoint(SSSS_2,range);bodyRange.setEndPoint(SSSS_5,elementRange);if(elementRange.compareEndPoints(SSSS_2,bodyRange)==0){return len-1;}var moved;var steps=0;while(true){moved=bodyRange.moveEnd(SSSS_1,1);if(elementRange.compareEndPoints(SSSS_2,bodyRange)==0){break;}if(moved==0){break;}else{steps++;}}return len-(++steps);}},"gecko|webkit":function(node){if(this.__gD(node)){return node.selectionEnd;}else{var documentElement=qx.dom.Node.getDocument(node);var documentSelection=this.getSelectionObject(documentElement);if(documentSelection.focusOffset>documentSelection.anchorOffset){return documentSelection.focusOffset;}else{return documentSelection.anchorOffset;}}},"default":function(node){if(this.__gD(node)){return node.selectionEnd;}else{return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(node)).focusOffset;}}}),__gD:function(node){return qx.dom.Node.isElement(node)&&(node.nodeName.toLowerCase()==SSSS_3||node.nodeName.toLowerCase()==SSSS_4);},set:qx.core.Variant.select(SSSS_0,{"mshtml":function(node,start,end){var rng;if(qx.dom.Node.isDocument(node)){node=node.body;}if(qx.dom.Node.isElement(node)||qx.dom.Node.isText(node)){switch(node.nodeName.toLowerCase()){case SSSS_3:case SSSS_4:case SSSS_8:if(end===undefined){end=node.value.length;}if(start>=0&&start<=node.value.length&&end>=0&&end<=node.value.length){rng=qx.bom.Range.get(node);rng.collapse(true);rng.moveStart(SSSS_1,start);rng.moveEnd(SSSS_1,end-start);rng.select();return true;}break;case SSSS_9:if(end===undefined){end=node.nodeValue.length;}if(start>=0&&start<=node.nodeValue.length&&end>=0&&end<=node.nodeValue.length){rng=qx.bom.Range.get(qx.dom.Node.getBodyElement(node));rng.moveToElementText(node.parentNode);rng.collapse(true);rng.moveStart(SSSS_1,start);rng.moveEnd(SSSS_1,end-start);rng.select();return true;}break;default:if(end===undefined){end=node.childNodes.length-1;}if(node.childNodes[start]&&node.childNodes[end]){rng=qx.bom.Range.get(qx.dom.Node.getBodyElement(node));rng.moveToElementText(node.childNodes[start]);rng.collapse(true);var newRng=qx.bom.Range.get(qx.dom.Node.getBodyElement(node));newRng.moveToElementText(node.childNodes[end]);rng.setEndPoint(SSSS_2,newRng);rng.select();return true;}}}return false;},"default":function(node,start,end){var nodeName=node.nodeName.toLowerCase();if(qx.dom.Node.isElement(node)&&(nodeName==SSSS_3||nodeName==SSSS_4)){if(end===undefined){end=node.value.length;}if(start>=0&&start<=node.value.length&&end>=0&&end<=node.value.length){node.focus();node.select();node.setSelectionRange(start,end);return true;}}else{var validBoundaries=false;var sel=qx.dom.Node.getWindow(node).getSelection();var rng=qx.bom.Range.get(node);if(qx.dom.Node.isText(node)){if(end===undefined){end=node.length;}if(start>=0&&start<node.length&&end>=0&&end<=node.length){validBoundaries=true;}}else if(qx.dom.Node.isElement(node)){if(end===undefined){end=node.childNodes.length-1;}if(start>=0&&node.childNodes[start]&&end>=0&&node.childNodes[end]){validBoundaries=true;}}else if(qx.dom.Node.isDocument(node)){node=node.body;if(end===undefined){end=node.childNodes.length-1;}if(start>=0&&node.childNodes[start]&&end>=0&&node.childNodes[end]){validBoundaries=true;}}if(validBoundaries){if(!sel.isCollapsed){sel.collapseToStart();}rng.setStart(node,start);if(qx.dom.Node.isText(node)){rng.setEnd(node,end);}else{rng.setEndAfter(node.childNodes[end]);}if(sel.rangeCount>0){sel.removeAllRanges();}sel.addRange(rng);return true;}}return false;}}),setAll:function(node){return qx.bom.Selection.set(node,0);},clear:qx.core.Variant.select(SSSS_0,{"mshtml":function(node){var sel=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(node));var rng=qx.bom.Range.get(node);var parent=rng.parentElement();var documentRange=qx.bom.Range.get(qx.dom.Node.getDocument(node));if(parent==documentRange.parentElement()&&parent==node){sel.empty();}},"default":function(node){var sel=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(node));var nodeName=node.nodeName.toLowerCase();if(qx.dom.Node.isElement(node)&&(nodeName==SSSS_3||nodeName==SSSS_4)){node.setSelectionRange(0,0);qx.bom.Element.blur(node);}else if(qx.dom.Node.isDocument(node)||nodeName==SSSS_10){sel.collapse(node.body?node.body:node,0);}else{var rng=qx.bom.Range.get(node);if(!rng.collapsed){var compareNode;var commonAncestor=rng.commonAncestorContainer;if(qx.dom.Node.isElement(node)&&qx.dom.Node.isText(commonAncestor)){compareNode=commonAncestor.parentNode;}else{compareNode=commonAncestor;}if(compareNode==node){sel.collapse(node,0);}}}}})}});})();(function(){var SSSS_0="button",SSSS_1="qx.bom.Range",SSSS_2="text",SSSS_3="password",SSSS_4="file",SSSS_5="submit",SSSS_6="reset",SSSS_7="textarea",SSSS_8="input",SSSS_9="hidden",SSSS_10="qx.client",SSSS_11="body";qx.Class.define(SSSS_1,{statics:{get:qx.core.Variant.select(SSSS_10,{"mshtml":function(node){if(qx.dom.Node.isElement(node)){switch(node.nodeName.toLowerCase()){case SSSS_8:switch(node.type){case SSSS_2:case SSSS_3:case SSSS_9:case SSSS_0:case SSSS_6:case SSSS_4:case SSSS_5:return node.createTextRange();break;default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(node)).createRange();}break;case SSSS_7:case SSSS_11:case SSSS_0:return node.createTextRange();break;default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(node)).createRange();}}else{if(node==null){node=window;}return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(node)).createRange();}},"default":function(node){var doc=qx.dom.Node.getDocument(node);var sel=qx.bom.Selection.getSelectionObject(doc);if(sel.rangeCount>0){return sel.getRangeAt(0);}else{return doc.createRange();}}})}});})();(function(){var SSSS_0="",SSSS_1="g",SSSS_2="$",SSSS_3="qx.util.StringSplit",SSSS_4="\\$&",SSSS_5="^";qx.Class.define(SSSS_3,{statics:{split:function(string,separator,limit){var flags=SSSS_0;if(separator===undefined){return [string.toString()];}else if(separator===null||separator.constructor!==RegExp){separator=new RegExp(String(separator).replace(/[.*+?^${}()|[\]\/\\]/g,SSSS_4),SSSS_1);}else{flags=separator.toString().replace(/^[\S\s]+\//,SSSS_0);if(!separator.global){separator=new RegExp(separator.source,SSSS_1+flags);}}var separator2=new RegExp(SSSS_5+separator.source+SSSS_2,flags);if(limit===undefined||+limit<0){limit=false;}else{limit=Math.floor(+limit);if(!limit){return [];}}var match,output=[],lastLastIndex=0,i=0;while((limit?i++<=limit:true)&&(match=separator.exec(string))){if((match[0].length===0)&&(separator.lastIndex>match.index)){separator.lastIndex--;}if(separator.lastIndex>lastLastIndex){if(match.length>1){match[0].replace(separator2,function(){for(var j=1;j<arguments.length-2;j++){if(arguments[j]===undefined){match[j]=undefined;}}});}output=output.concat(string.substring(lastLastIndex,match.index),(match.index===string.length?[]:match.slice(1)));lastLastIndex=separator.lastIndex;}if(match[0].length===0){separator.lastIndex++;}}return (lastLastIndex===string.length)?(separator.test(SSSS_0)?output:output.concat(SSSS_0)):(limit?output:output.concat(string.substring(lastLastIndex)));}}});})();(function(){var SSSS_0="qx.ui.core.queue.Widget",SSSS_1="widget";qx.Class.define(SSSS_0,{statics:{__gE:{},remove:function(widget){delete this.__gE[widget.$$hash];},add:function(widget){var queue=this.__gE;if(queue[widget.$$hash]){return;}queue[widget.$$hash]=widget;qx.ui.core.queue.Manager.scheduleFlush(SSSS_1);},flush:function(){var queue=this.__gE;var obj;for(var hash in queue){obj=queue[hash];delete queue[hash];obj.syncWidget();}for(var hash in queue){return;}this.__gE={};}}});})();(function(){var SSSS_0="qx.ui.core.queue.Visibility",SSSS_1="visibility";qx.Class.define(SSSS_0,{statics:{__gF:{},__gG:{},remove:function(widget){var hash=widget.$$hash;delete this.__gG[hash];delete this.__gF[hash];},isVisible:function(widget){return this.__gG[widget.$$hash]||false;},__gH:function(widget){var data=this.__gG;var hash=widget.$$hash;var visible;if(widget.isExcluded()){visible=false;}else{var parent=widget.$$parent;if(parent){visible=this.__gH(parent);}else{visible=widget.isRootWidget();}}return data[hash]=visible;},add:function(widget){var queue=this.__gF;if(queue[widget.$$hash]){return;}queue[widget.$$hash]=widget;qx.ui.core.queue.Manager.scheduleFlush(SSSS_1);},flush:function(){var queue=this.__gF;var data=this.__gG;for(var hash in queue){if(data[hash]!=null){queue[hash].addChildrenToQueue(queue);}}var oldData={};for(var hash in queue){oldData[hash]=data[hash];data[hash]=null;}for(var hash in queue){var widget=queue[hash];delete queue[hash];if(data[hash]==null){this.__gH(widget);}if(data[hash]&&data[hash]!=oldData[hash]){widget.checkAppearanceNeeds();}}this.__gF={};}}});})();(function(){var SSSS_0="appearance",SSSS_1="qx.ui.core.queue.Appearance";qx.Class.define(SSSS_1,{statics:{__gI:{},remove:function(widget){delete this.__gI[widget.$$hash];},add:function(widget){var queue=this.__gI;if(queue[widget.$$hash]){return;}queue[widget.$$hash]=widget;qx.ui.core.queue.Manager.scheduleFlush(SSSS_0);},has:function(widget){return !!this.__gI[widget.$$hash];},flush:function(){var Visibility=qx.ui.core.queue.Visibility;var queue=this.__gI;var obj;for(var hash in queue){obj=queue[hash];delete queue[hash];if(Visibility.isVisible(obj)){obj.syncAppearance();}else{obj.$$stateChanges=true;}}}}});})();(function(){var SSSS_0="dispose",SSSS_1="qx.ui.core.queue.Dispose";qx.Class.define(SSSS_1,{statics:{__gJ:{},add:function(widget){var queue=this.__gJ;if(queue[widget.$$hash]){return;}queue[widget.$$hash]=widget;qx.ui.core.queue.Manager.scheduleFlush(SSSS_0);},flush:function(){var queue=this.__gJ;for(var hash in queue){var widget=queue[hash];delete queue[hash];widget.dispose();}for(var hash in queue){return;}this.__gJ={};}}});})();(function(){var SSSS_0="middle",SSSS_1="qx.ui.layout.Util",SSSS_2="left",SSSS_3="center",SSSS_4="top",SSSS_5="bottom",SSSS_6="right";qx.Class.define(SSSS_1,{statics:{PERCENT_VALUE:/[0-9]+(?:\.[0-9]+)?%/,computeFlexOffsets:function(flexibles,avail,used){var child,key,flexSum,flexStep;var grow=avail>used;var remaining=Math.abs(avail-used);var roundingOffset,currentOffset;var result={};for(key in flexibles){child=flexibles[key];result[key]={potential:grow?child.max-child.value:child.value-child.min,flex:grow?child.flex:1/child.flex,offset:0};}while(remaining!=0){flexStep=Infinity;flexSum=0;for(key in result){child=result[key];if(child.potential>0){flexSum+=child.flex;flexStep=Math.min(flexStep,child.potential/child.flex);}}if(flexSum==0){break;}flexStep=Math.min(remaining,flexStep*flexSum)/flexSum;roundingOffset=0;for(key in result){child=result[key];if(child.potential>0){currentOffset=Math.min(remaining,child.potential,Math.ceil(flexStep*child.flex));roundingOffset+=currentOffset-flexStep*child.flex;if(roundingOffset>=1){roundingOffset-=1;currentOffset-=1;}child.potential-=currentOffset;if(grow){child.offset+=currentOffset;}else{child.offset-=currentOffset;}remaining-=currentOffset;}}}return result;},computeHorizontalAlignOffset:function(align,width,availWidth,marginLeft,marginRight){if(marginLeft==null){marginLeft=0;}if(marginRight==null){marginRight=0;}var value=0;switch(align){case SSSS_2:value=marginLeft;break;case SSSS_6:value=availWidth-width-marginRight;break;case SSSS_3:value=Math.round((availWidth-width)/2);if(value<marginLeft){value=marginLeft;}else if(value<marginRight){value=Math.max(marginLeft,availWidth-width-marginRight);}break;}return value;},computeVerticalAlignOffset:function(align,height,availHeight,marginTop,marginBottom){if(marginTop==null){marginTop=0;}if(marginBottom==null){marginBottom=0;}var value=0;switch(align){case SSSS_4:value=marginTop;break;case SSSS_5:value=availHeight-height-marginBottom;break;case SSSS_0:value=Math.round((availHeight-height)/2);if(value<marginTop){value=marginTop;}else if(value<marginBottom){value=Math.max(marginTop,availHeight-height-marginBottom);}break;}return value;},collapseMargins:function(varargs){var max=0,min=0;for(var i=0,l=arguments.length;i<l;i++){var value=arguments[i];if(value<0){min=Math.min(min,value);}else if(value>0){max=Math.max(max,value);}}return max+min;},computeHorizontalGaps:function(children,spacing,collapse){if(spacing==null){spacing=0;}var gaps=0;if(collapse){gaps+=children[0].getMarginLeft();for(var i=1,l=children.length;i<l;i+=1){gaps+=this.collapseMargins(spacing,children[i-1].getMarginRight(),children[i].getMarginLeft());}gaps+=children[l-1].getMarginRight();}else{for(var i=1,l=children.length;i<l;i+=1){gaps+=children[i].getMarginLeft()+children[i].getMarginRight();}gaps+=(spacing*(l-1));}return gaps;},computeVerticalGaps:function(children,spacing,collapse){if(spacing==null){spacing=0;}var gaps=0;if(collapse){gaps+=children[0].getMarginTop();for(var i=1,l=children.length;i<l;i+=1){gaps+=this.collapseMargins(spacing,children[i-1].getMarginBottom(),children[i].getMarginTop());}gaps+=children[l-1].getMarginBottom();}else{for(var i=1,l=children.length;i<l;i+=1){gaps+=children[i].getMarginTop()+children[i].getMarginBottom();}gaps+=(spacing*(l-1));}return gaps;},computeHorizontalSeparatorGaps:function(children,spacing,separator){var instance=qx.theme.manager.Decoration.getInstance().resolve(separator);var insets=instance.getInsets();var width=insets.left+insets.right;var gaps=0;for(var i=0,l=children.length;i<l;i++){var child=children[i];gaps+=child.getMarginLeft()+child.getMarginRight();}gaps+=(spacing+width+spacing)*(l-1);return gaps;},computeVerticalSeparatorGaps:function(children,spacing,separator){var instance=qx.theme.manager.Decoration.getInstance().resolve(separator);var insets=instance.getInsets();var height=insets.top+insets.bottom;var gaps=0;for(var i=0,l=children.length;i<l;i++){var child=children[i];gaps+=child.getMarginTop()+child.getMarginBottom();}gaps+=(spacing+height+spacing)*(l-1);return gaps;},arrangeIdeals:function(beginMin,beginIdeal,beginMax,endMin,endIdeal,endMax){if(beginIdeal<beginMin||endIdeal<endMin){if(beginIdeal<beginMin&&endIdeal<endMin){beginIdeal=beginMin;endIdeal=endMin;}else if(beginIdeal<beginMin){endIdeal-=(beginMin-beginIdeal);beginIdeal=beginMin;if(endIdeal<endMin){endIdeal=endMin;}}else if(endIdeal<endMin){beginIdeal-=(endMin-endIdeal);endIdeal=endMin;if(beginIdeal<beginMin){beginIdeal=beginMin;}}}if(beginIdeal>beginMax||endIdeal>endMax){if(beginIdeal>beginMax&&endIdeal>endMax){beginIdeal=beginMax;endIdeal=endMax;}else if(beginIdeal>beginMax){endIdeal+=(beginIdeal-beginMax);beginIdeal=beginMax;if(endIdeal>endMax){endIdeal=endMax;}}else if(endIdeal>endMax){beginIdeal+=(endIdeal-endMax);endIdeal=endMax;if(beginIdeal>beginMax){beginIdeal=beginMax;}}}return {begin:beginIdeal,end:endIdeal};}}});})();(function(){var SSSS_0="object",SSSS_1="_applyTheme",SSSS_2="__gK",SSSS_3="qx.theme.manager.Decoration",SSSS_4="Theme",SSSS_5="string",SSSS_6="singleton";qx.Class.define(SSSS_3,{type:SSSS_6,extend:qx.core.Object,properties:{theme:{check:SSSS_4,nullable:true,apply:SSSS_1}},members:{__gK:null,resolve:function(value){if(!value){return null;}if(typeof value===SSSS_0){return value;}var theme=this.getTheme();if(!theme){return null;}var theme=this.getTheme();if(!theme){return null;}var cache=this.__gK;if(!cache){cache=this.__gK={};}var resolved=cache[value];if(resolved){return resolved;}var entry=theme.decorations[value];if(!entry){return null;}var clazz=entry.decorator;if(clazz==null){throw new Error("Missing definition of which decorator to use in entry: "+value+"!");}return cache[value]=(new clazz).set(entry.style);},isValidPropertyValue:function(value){if(typeof value===SSSS_5){return this.isDynamic(value);}else if(typeof value===SSSS_0){var clazz=value.constructor;return qx.Class.hasInterface(clazz,qx.ui.decoration.IDecorator);}return false;},isDynamic:function(value){if(!value){return false;}var theme=this.getTheme();if(!theme){return false;}return !!theme.decorations[value];},_applyTheme:function(value,old){var aliasManager=qx.util.AliasManager.getInstance();if(old){for(var alias in old.aliases){aliasManager.remove(alias);}}if(value){for(var alias in value.aliases){aliasManager.add(alias,value.aliases[alias]);}}if(!value){this.__gK={};}}},destruct:function(){this._disposeMap(SSSS_2);}});})();(function(){var SSSS_0="qx.ui.decoration.IDecorator";qx.Interface.define(SSSS_0,{members:{getMarkup:function(){},resize:function(element,width,height){},tint:function(element,bgcolor){},getInsets:function(){}}});})();(function(){var SSSS_0="qx.util.ValueManager",SSSS_1="abstract";qx.Class.define(SSSS_0,{type:SSSS_1,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this._dynamic={};},members:{_dynamic:null,resolveDynamic:function(value){return this._dynamic[value];},isDynamic:function(value){return !!this._dynamic[value];},resolve:function(value){if(value&&this._dynamic[value]){return this._dynamic[value];}return value;},_setDynamic:function(value){this._dynamic=value;},_getDynamic:function(){return this._dynamic;}},destruct:function(){this._dynamic=null;}});})();(function(){var SSSS_0="/",SSSS_1="0",SSSS_2="qx/static",SSSS_3="http://",SSSS_4="https://",SSSS_5="file://",SSSS_6="qx.util.AliasManager",SSSS_7="singleton",SSSS_8=".",SSSS_9="static";qx.Class.define(SSSS_6,{type:SSSS_7,extend:qx.util.ValueManager,construct:function(){arguments.callee.base.call(this);this.__gL={};this.add(SSSS_9,SSSS_2);},members:{__gL:null,_preprocess:function(value){var dynamics=this._getDynamic();if(dynamics[value]===false){return value;}else if(dynamics[value]===undefined){if(value.charAt(0)===SSSS_0||value.charAt(0)===SSSS_8||value.indexOf(SSSS_3)===0||value.indexOf(SSSS_4)===SSSS_1||value.indexOf(SSSS_5)===0){dynamics[value]=false;return value;}if(this.__gL[value]){return this.__gL[value];}var alias=value.substring(0,value.indexOf(SSSS_0));var resolved=this.__gL[alias];if(resolved!==undefined){dynamics[value]=resolved+value.substring(alias.length);}}return value;},add:function(alias,base){this.__gL[alias]=base;var dynamics=this._getDynamic();for(var path in dynamics){if(path.substring(0,path.indexOf(SSSS_0))===alias){dynamics[path]=base+path.substring(alias.length);}}},remove:function(alias){delete this.__gL[alias];},resolve:function(path){var dynamic=this._getDynamic();if(path!==null){path=this._preprocess(path);}return dynamic[path]||path;}},destruct:function(){this.__gL=null;}});})();(function(){var SSSS_0="_applyLayoutChange",SSSS_1="top",SSSS_2="left",SSSS_3="west",SSSS_4="Integer",SSSS_5="auto",SSSS_6="center",SSSS_7="y",SSSS_8="Decorator",SSSS_9="north",SSSS_10="east",SSSS_11="edge",SSSS_12="south",SSSS_13="flex",SSSS_14="x",SSSS_15="Boolean",SSSS_16="height",SSSS_17="bottom",SSSS_18="The property '",SSSS_19="qx.debug",SSSS_20="width",SSSS_21="' is not supported by the Dock layout!",SSSS_22="qx.ui.layout.Dock",SSSS_23="_applySort",SSSS_24="right";qx.Class.define(SSSS_22,{extend:qx.ui.layout.Abstract,construct:function(spacingX,spacingY,separatorX,separatorY){arguments.callee.base.call(this);if(spacingX){this.setSpacingX(spacingX);}if(spacingY){this.setSpacingY(spacingY);}if(separatorX){this.setSeparatorX(separatorX);}if(separatorY){this.setSeparatorY(separatorY);}},properties:{sort:{check:[SSSS_5,SSSS_7,SSSS_14],init:SSSS_5,apply:SSSS_23},separatorX:{check:SSSS_8,nullable:true,apply:SSSS_0},separatorY:{check:SSSS_8,nullable:true,apply:SSSS_0},connectSeparators:{check:SSSS_15,init:false,apply:SSSS_0},spacingX:{check:SSSS_4,init:0,apply:SSSS_0},spacingY:{check:SSSS_4,init:0,apply:SSSS_0}},members:{__gM:null,__gN:null,verifyLayoutProperty:qx.core.Variant.select(SSSS_19,{"on":function(item,name,value){this.assertInArray(name,[SSSS_13,SSSS_11,SSSS_16,SSSS_20],SSSS_18+name+SSSS_21);if(name===SSSS_11){this.assertInArray(value,[SSSS_9,SSSS_12,SSSS_3,SSSS_10,SSSS_6]);}else if(name===SSSS_13){this.assertNumber(value);this.assert(value>=0);}else{this.assertMatch(value,qx.ui.layout.Util.PERCENT_VALUE);}},"off":null}),_applySort:function(){this._invalidChildrenCache=true;this._applyLayoutChange();},__gO:{north:1,south:2,west:3,east:4,center:5},__gP:{1:SSSS_1,2:SSSS_17,3:SSSS_2,4:SSSS_24},__gQ:function(){var all=this._getLayoutChildren();var child,center;var length=all.length;var high=[];var low=[];var edge=[];var yfirst=this.getSort()===SSSS_7;var xfirst=this.getSort()===SSSS_14;for(var i=0;i<length;i++){child=all[i];edge=child.getLayoutProperties().edge;if(edge===SSSS_6){if(center){throw new Error("It is not allowed to have more than one child aligned to 'center'!");}center=child;}else if(xfirst||yfirst){if(edge===SSSS_9||edge===SSSS_12){yfirst?high.push(child):low.push(child);}else if(edge===SSSS_3||edge===SSSS_10){yfirst?low.push(child):high.push(child);}}else{high.push(child);}}var result=high.concat(low);if(center){result.push(center);}this.__gM=result;var edges=[];for(var i=0;i<length;i++){edge=result[i].getLayoutProperties().edge;edges[i]=this.__gO[edge]||5;}this.__gN=edges;delete this._invalidChildrenCache;},renderLayout:function(availWidth,availHeight){if(this._invalidChildrenCache){this.__gQ();}var util=qx.ui.layout.Util;var children=this.__gM;var edges=this.__gN;var length=children.length;var flexibles,child,hint,props,flex,grow,width,height,offset;var widths=[];var heights=[];var separatorWidths=this._getSeparatorWidths();var spacingX=this.getSpacingX();var spacingY=this.getSpacingY();var allocatedWidth=-spacingX;var allocatedHeight=-spacingY;if(separatorWidths.x){allocatedWidth-=separatorWidths.x+spacingX;}if(separatorWidths.y){allocatedHeight-=separatorWidths.y+spacingY;}for(var i=0;i<length;i++){child=children[i];props=child.getLayoutProperties();hint=child.getSizeHint();width=hint.width;height=hint.height;if(props.width!=null){width=Math.floor(availWidth*parseFloat(props.width)/100);if(width<hint.minWidth){width=hint.minWidth;}else if(width>hint.maxWidth){width=hint.maxWidth;}}if(props.height!=null){height=Math.floor(availHeight*parseFloat(props.height)/100);if(height<hint.minHeight){height=hint.minHeight;}else if(height>hint.maxHeight){height=hint.maxHeight;}}widths[i]=width;heights[i]=height;switch(edges[i]){case 1:case 2:allocatedHeight+=height+child.getMarginTop()+child.getMarginBottom()+spacingY;if(separatorWidths.y){allocatedHeight+=separatorWidths.y+spacingY;}break;case 3:case 4:allocatedWidth+=width+child.getMarginLeft()+child.getMarginRight()+spacingX;if(separatorWidths.x){allocatedWidth+=separatorWidths.x+spacingX;}break;default:allocatedWidth+=width+child.getMarginLeft()+child.getMarginRight()+spacingX;allocatedHeight+=height+child.getMarginTop()+child.getMarginBottom()+spacingY;if(separatorWidths.x){allocatedWidth+=separatorWidths.x+spacingX;}if(separatorWidths.y){allocatedHeight+=separatorWidths.y+spacingY;}}}if(allocatedWidth!=availWidth){flexibles={};grow=allocatedWidth<availWidth;for(var i=0;i<length;i++){child=children[i];switch(edges[i]){case 3:case 4:case 5:flex=child.getLayoutProperties().flex;if(flex==null&&edges[i]==5){flex=1;}if(flex>0){hint=child.getSizeHint();flexibles[i]={min:hint.minWidth,value:widths[i],max:hint.maxWidth,flex:flex};}}}var result=util.computeFlexOffsets(flexibles,availWidth,allocatedWidth);for(var i in result){offset=result[i].offset;widths[i]+=offset;allocatedWidth+=offset;}}if(allocatedHeight!=availHeight){flexibles=[];grow=allocatedHeight<availHeight;for(var i=0;i<length;i++){child=children[i];switch(edges[i]){case 1:case 2:case 5:flex=child.getLayoutProperties().flex;if(flex==null&&edges[i]==5){flex=1;}if(flex>0){hint=child.getSizeHint();flexibles[i]={min:hint.minHeight,value:heights[i],max:hint.maxHeight,flex:flex};}}}var result=util.computeFlexOffsets(flexibles,availHeight,allocatedHeight);for(var i in result){offset=result[i].offset;heights[i]+=offset;allocatedHeight+=offset;}}this._clearSeparators();var separatorX=this.getSeparatorX(),separatorY=this.getSeparatorY();var connectSeparators=this.getConnectSeparators();var nextTop=0,nextLeft=0;var left,top,width,height,used,edge;var separatorLeft,separatorTop,separatorWidth,separatorHeight;var marginTop,marginBottom,marginLeft,marginRight;var alignMap=this.__gP;for(var i=0;i<length;i++){child=children[i];edge=edges[i];hint=child.getSizeHint();marginTop=child.getMarginTop();marginBottom=child.getMarginBottom();marginLeft=child.getMarginLeft();marginRight=child.getMarginRight();switch(edge){case 1:case 2:width=availWidth-marginLeft-marginRight;if(width<hint.minWidth){width=hint.minWidth;}else if(width>hint.maxWidth){width=hint.maxWidth;}height=heights[i];top=nextTop+util.computeVerticalAlignOffset(alignMap[edge],height,availHeight,marginTop,marginBottom);left=nextLeft+util.computeHorizontalAlignOffset(child.getAlignX()||SSSS_2,width,availWidth,marginLeft,marginRight);if(separatorWidths.y){if(edge==1){separatorTop=nextTop+height+marginTop+spacingY+marginBottom;}else{separatorTop=nextTop+availHeight-height-marginTop-spacingY-marginBottom-separatorWidths.y;}separatorLeft=left;separatorWidth=availWidth;if(connectSeparators&&separatorLeft>0){separatorLeft-=spacingX+marginLeft;separatorWidth+=(spacingX)*2;}else{separatorLeft-=marginLeft;}this._renderSeparator(separatorY,{left:separatorLeft,top:separatorTop,width:separatorWidth,height:separatorWidths.y});}used=height+marginTop+marginBottom+spacingY;if(separatorWidths.y){used+=separatorWidths.y+spacingY;}availHeight-=used;if(edge==1){nextTop+=used;}break;case 3:case 4:height=availHeight-marginTop-marginBottom;if(height<hint.minHeight){height=hint.minHeight;}else if(height>hint.maxHeight){height=hint.maxHeight;}width=widths[i];left=nextLeft+util.computeHorizontalAlignOffset(alignMap[edge],width,availWidth,marginLeft,marginRight);top=nextTop+util.computeVerticalAlignOffset(child.getAlignY()||SSSS_1,height,availHeight,marginTop,marginBottom);if(separatorWidths.x){if(edge==3){separatorLeft=nextLeft+width+marginLeft+spacingX+marginRight;}else{separatorLeft=nextLeft+availWidth-width-marginLeft-spacingX-marginRight-separatorWidths.x;}separatorTop=top;separatorHeight=availHeight;if(connectSeparators&&separatorTop>0){separatorTop-=spacingY+marginTop;separatorHeight+=(spacingY)*2;}else{separatorTop-=marginTop;}this._renderSeparator(separatorX,{left:separatorLeft,top:separatorTop,width:separatorWidths.x,height:separatorHeight});}used=width+marginLeft+marginRight+spacingX;if(separatorWidths.x){used+=separatorWidths.x+spacingX;}availWidth-=used;if(edge==3){nextLeft+=used;}break;default:width=availWidth-marginLeft-marginRight;height=availHeight-marginTop-marginBottom;if(width<hint.minWidth){width=hint.minWidth;}else if(width>hint.maxWidth){width=hint.maxWidth;}if(height<hint.minHeight){height=hint.minHeight;}else if(height>hint.maxHeight){height=hint.maxHeight;}left=nextLeft+util.computeHorizontalAlignOffset(child.getAlignX()||SSSS_2,width,availWidth,marginLeft,marginRight);top=nextTop+util.computeVerticalAlignOffset(child.getAlignY()||SSSS_1,height,availHeight,marginTop,marginBottom);}child.renderLayout(left,top,width,height);}},_getSeparatorWidths:function(){var separatorX=this.getSeparatorX(),separatorY=this.getSeparatorY();if(separatorX||separatorY){var decorationManager=qx.theme.manager.Decoration.getInstance();}if(separatorX){var separatorInstanceX=decorationManager.resolve(separatorX);var separatorInsetsX=separatorInstanceX.getInsets();var separatorWidthX=separatorInsetsX.left+separatorInsetsX.right;}if(separatorY){var separatorInstanceY=decorationManager.resolve(separatorY);var separatorInsetsY=separatorInstanceY.getInsets();var separatorWidthY=separatorInsetsY.top+separatorInsetsY.bottom;}return {x:separatorWidthX||0,y:separatorWidthY||0};},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__gQ();}var children=this.__gM;var edges=this.__gN;var length=children.length;var hint,child;var marginX,marginY;var widthX=0,minWidthX=0;var heightX=0,minHeightX=0;var widthY=0,minWidthY=0;var heightY=0,minHeightY=0;var separatorWidths=this._getSeparatorWidths();var spacingX=this.getSpacingX(),spacingY=this.getSpacingY();var spacingSumX=-spacingX,spacingSumY=-spacingY;if(separatorWidths.x){spacingSumX-=separatorWidths.x+spacingX;}if(separatorWidths.y){spacingSumY-=separatorWidths.y+spacingY;}for(var i=0;i<length;i++){child=children[i];hint=child.getSizeHint();marginX=child.getMarginLeft()+child.getMarginRight();marginY=child.getMarginTop()+child.getMarginBottom();switch(edges[i]){case 1:case 2:widthY=Math.max(widthY,hint.width+widthX+marginX);minWidthY=Math.max(minWidthY,hint.minWidth+minWidthX+marginX);heightY+=hint.height+marginY;minHeightY+=hint.minHeight+marginY;spacingSumY+=spacingY;if(separatorWidths.y){spacingSumY+=separatorWidths.y+spacingY;}break;case 3:case 4:heightX=Math.max(heightX,hint.height+heightY+marginY);minHeightX=Math.max(minHeightX,hint.minHeight+minHeightY+marginY);widthX+=hint.width+marginX;minWidthX+=hint.minWidth+marginX;spacingSumX+=spacingX;if(separatorWidths.x){spacingSumX+=separatorWidths.x+spacingX;}break;default:widthX+=hint.width+marginX;minWidthX+=hint.minWidth+marginX;heightY+=hint.height+marginY;minHeightY+=hint.minHeight+marginY;spacingSumX+=spacingX;if(separatorWidths.x){spacingSumX+=separatorWidths.x+spacingX;}spacingSumY+=spacingY;if(separatorWidths.y){spacingSumY+=separatorWidths.y+spacingY;}}}var minWidth=Math.max(minWidthX,minWidthY)+spacingSumX;var width=Math.max(widthX,widthY)+spacingSumX;var minHeight=Math.max(minHeightX,minHeightY)+spacingSumY;var height=Math.max(heightX,heightY)+spacingSumY;return {minWidth:minWidth,width:width,minHeight:minHeight,height:height};}},destruct:function(){this.__gN=this.__gM=null;}});})();(function(){var SSSS_0="top",SSSS_1="left",SSSS_2="qx.debug",SSSS_3="bottom",SSSS_4="hAlign",SSSS_5="vAlign",SSSS_6="Integer",SSSS_7="_applyLayoutChange",SSSS_8="center",SSSS_9="middle",SSSS_10="right",SSSS_11="flex",SSSS_12="on",SSSS_13="height",SSSS_14="' is not supported by the Grid layout!",SSSS_15="Invalid parameter 'column'",SSSS_16="The property '",SSSS_17="Value must be positive",SSSS_18="qx.ui.layout.Grid",SSSS_19="maxHeight",SSSS_20="width",SSSS_21="minHeight",SSSS_22="minWidth",SSSS_23="maxWidth",SSSS_24="Invalid parameter 'row'";qx.Class.define(SSSS_18,{extend:qx.ui.layout.Abstract,construct:function(spacingX,spacingY){arguments.callee.base.call(this);this.__gR=[];this.__gS=[];if(spacingX){this.setSpacingX(spacingX);}if(spacingY){this.setSpacingY(spacingY);}},properties:{spacingX:{check:SSSS_6,init:0,apply:SSSS_7},spacingY:{check:SSSS_6,init:0,apply:SSSS_7}},members:{__gT:null,__gR:null,__gS:null,__gU:null,__gV:null,__gW:null,__gX:null,__gY:null,__ha:null,verifyLayoutProperty:qx.core.Variant.select(SSSS_2,{"on":function(item,name,value){var layoutProperties={"row":1,"column":1,"rowSpan":1,"colSpan":1};this.assert(layoutProperties[name]==1,SSSS_16+name+SSSS_14);this.assertInteger(value);this.assert(value>=0,SSSS_17);},"off":null}),__hb:function(){var grid=[];var colSpans=[];var rowSpans=[];var maxRowIndex=-1;var maxColIndex=-1;var children=this._getLayoutChildren();for(var i=0,l=children.length;i<l;i++){var child=children[i];var props=child.getLayoutProperties();var row=props.row;var column=props.column;props.colSpan=props.colSpan||1;props.rowSpan=props.rowSpan||1;if(row==null||column==null){throw new Error("The layout properties 'row' and 'column' of the child widget '"+child+"' must be defined!");}if(grid[row]&&grid[row][column]){throw new Error("Cannot add widget '"+child+"'!. "+"There is already a widget '"+grid[row][column]+"' in this cell ("+row+", "+column+")");}for(var x=column;x<column+props.colSpan;x++){for(var y=row;y<row+props.rowSpan;y++){if(grid[y]==undefined){grid[y]=[];}grid[y][x]=child;maxColIndex=Math.max(maxColIndex,x);maxRowIndex=Math.max(maxRowIndex,y);}}if(props.rowSpan>1){rowSpans.push(child);}if(props.colSpan>1){colSpans.push(child);}}for(var y=0;y<=maxRowIndex;y++){if(grid[y]==undefined){grid[y]=[];}}this.__gT=grid;this.__gU=colSpans;this.__gV=rowSpans;this.__gW=maxRowIndex;this.__gX=maxColIndex;this.__gY=null;this.__ha=null;delete this._invalidChildrenCache;},_setRowData:function(row,key,value){var rowData=this.__gR[row];if(!rowData){this.__gR[row]={};this.__gR[row][key]=value;}else{rowData[key]=value;}},_setColumnData:function(column,key,value){var colData=this.__gS[column];if(!colData){this.__gS[column]={};this.__gS[column][key]=value;}else{colData[key]=value;}},setSpacing:function(spacing){this.setSpacingY(spacing);this.setSpacingX(spacing);return this;},setColumnAlign:function(column,hAlign,vAlign){if(qx.core.Variant.isSet(SSSS_2,SSSS_12)){this.assertInteger(column,SSSS_15);this.assertInArray(hAlign,[SSSS_1,SSSS_8,SSSS_10]);this.assertInArray(vAlign,[SSSS_0,SSSS_9,SSSS_3]);}this._setColumnData(column,SSSS_4,hAlign);this._setColumnData(column,SSSS_5,vAlign);this._applyLayoutChange();return this;},getColumnAlign:function(column){var colData=this.__gS[column]||{};return {vAlign:colData.vAlign||SSSS_0,hAlign:colData.hAlign||SSSS_1};},setRowAlign:function(row,hAlign,vAlign){if(qx.core.Variant.isSet(SSSS_2,SSSS_12)){this.assertInteger(row,SSSS_24);this.assertInArray(hAlign,[SSSS_1,SSSS_8,SSSS_10]);this.assertInArray(vAlign,[SSSS_0,SSSS_9,SSSS_3]);}this._setRowData(row,SSSS_4,hAlign);this._setRowData(row,SSSS_5,vAlign);this._applyLayoutChange();return this;},getRowAlign:function(row){var rowData=this.__gR[row]||{};return {vAlign:rowData.vAlign||SSSS_0,hAlign:rowData.hAlign||SSSS_1};},getCellWidget:function(row,column){if(this._invalidChildrenCache){this.__hb();}var row=this.__gT[row]||{};return row[column]||null;},getRowCount:function(){if(this._invalidChildrenCache){this.__hb();}return this.__gW+1;},getColumnCount:function(){if(this._invalidChildrenCache){this.__hb();}return this.__gX+1;},getCellAlign:function(row,column){var vAlign=SSSS_0;var hAlign=SSSS_1;var rowData=this.__gR[row];var colData=this.__gS[column];var widget=this.__gT[row][column];if(widget){var widgetProps={vAlign:widget.getAlignY(),hAlign:widget.getAlignX()};}else{widgetProps={};}if(widgetProps.vAlign){vAlign=widgetProps.vAlign;}else if(rowData&&rowData.vAlign){vAlign=rowData.vAlign;}else if(colData&&colData.vAlign){vAlign=colData.vAlign;}if(widgetProps.hAlign){hAlign=widgetProps.hAlign;}else if(colData&&colData.hAlign){hAlign=colData.hAlign;}else if(rowData&&rowData.hAlign){hAlign=rowData.hAlign;}return {vAlign:vAlign,hAlign:hAlign};},setColumnFlex:function(column,flex){this._setColumnData(column,SSSS_11,flex);this._applyLayoutChange();return this;},getColumnFlex:function(column){var colData=this.__gS[column]||{};return colData.flex!==undefined?colData.flex:0;},setRowFlex:function(row,flex){this._setRowData(row,SSSS_11,flex);this._applyLayoutChange();return this;},getRowFlex:function(row){var rowData=this.__gR[row]||{};var rowFlex=rowData.flex!==undefined?rowData.flex:0;return rowFlex;},setColumnMaxWidth:function(column,maxWidth){this._setColumnData(column,SSSS_23,maxWidth);this._applyLayoutChange();return this;},getColumnMaxWidth:function(column){var colData=this.__gS[column]||{};return colData.maxWidth!==undefined?colData.maxWidth:Infinity;},setColumnWidth:function(column,width){this._setColumnData(column,SSSS_20,width);this._applyLayoutChange();return this;},getColumnWidth:function(column){var colData=this.__gS[column]||{};return colData.width!==undefined?colData.width:null;},setColumnMinWidth:function(column,minWidth){this._setColumnData(column,SSSS_22,minWidth);this._applyLayoutChange();return this;},getColumnMinWidth:function(column){var colData=this.__gS[column]||{};return colData.minWidth||0;},setRowMaxHeight:function(row,maxHeight){this._setRowData(row,SSSS_19,maxHeight);this._applyLayoutChange();return this;},getRowMaxHeight:function(row){var rowData=this.__gR[row]||{};return rowData.maxHeight||Infinity;},setRowHeight:function(row,height){this._setRowData(row,SSSS_13,height);this._applyLayoutChange();return this;},getRowHeight:function(row){var rowData=this.__gR[row]||{};return rowData.height!==undefined?rowData.height:null;},setRowMinHeight:function(row,minHeight){this._setRowData(row,SSSS_21,minHeight);this._applyLayoutChange();return this;},getRowMinHeight:function(row){var rowData=this.__gR[row]||{};return rowData.minHeight||0;},__hc:function(widget){var hint=widget.getSizeHint();var hMargins=widget.getMarginLeft()+widget.getMarginRight();var vMargins=widget.getMarginTop()+widget.getMarginBottom();var outerSize={height:hint.height+vMargins,width:hint.width+hMargins,minHeight:hint.minHeight+vMargins,minWidth:hint.minWidth+hMargins,maxHeight:hint.maxHeight+vMargins,maxWidth:hint.maxWidth+hMargins};return outerSize;},_fixHeightsRowSpan:function(rowHeights){var vSpacing=this.getSpacingY();for(var i=0,l=this.__gV.length;i<l;i++){var widget=this.__gV[i];var hint=this.__hc(widget);var widgetProps=widget.getLayoutProperties();var widgetRow=widgetProps.row;var prefSpanHeight=vSpacing*(widgetProps.rowSpan-1);var minSpanHeight=prefSpanHeight;var rowFlexes={};for(var j=0;j<widgetProps.rowSpan;j++){var row=widgetProps.row+j;var rowHeight=rowHeights[row];var rowFlex=this.getRowFlex(row);if(rowFlex>0){rowFlexes[row]={min:rowHeight.minHeight,value:rowHeight.height,max:rowHeight.maxHeight,flex:rowFlex};}prefSpanHeight+=rowHeight.height;minSpanHeight+=rowHeight.minHeight;}if(prefSpanHeight<hint.height){var rowIncrements=qx.ui.layout.Util.computeFlexOffsets(rowFlexes,hint.height,prefSpanHeight);for(var j=0;j<widgetProps.rowSpan;j++){var offset=rowIncrements[widgetRow+j]?rowIncrements[widgetRow+j].offset:0;rowHeights[widgetRow+j].height+=offset;}}if(minSpanHeight<hint.minHeight){var rowIncrements=qx.ui.layout.Util.computeFlexOffsets(rowFlexes,hint.minHeight,minSpanHeight);for(var j=0;j<widgetProps.rowSpan;j++){var offset=rowIncrements[widgetRow+j]?rowIncrements[widgetRow+j].offset:0;rowHeights[widgetRow+j].minHeight+=offset;}}}},_fixWidthsColSpan:function(colWidths){var hSpacing=this.getSpacingX();for(var i=0,l=this.__gU.length;i<l;i++){var widget=this.__gU[i];var hint=this.__hc(widget);var widgetProps=widget.getLayoutProperties();var widgetColumn=widgetProps.column;var prefSpanWidth=hSpacing*(widgetProps.colSpan-1);var minSpanWidth=prefSpanWidth;var colFlexes={};var offset;for(var j=0;j<widgetProps.colSpan;j++){var col=widgetProps.column+j;var colWidth=colWidths[col];var colFlex=this.getColumnFlex(col);if(colFlex>0){colFlexes[col]={min:colWidth.minWidth,value:colWidth.width,max:colWidth.maxWidth,flex:colFlex};}prefSpanWidth+=colWidth.width;minSpanWidth+=colWidth.minWidth;}if(prefSpanWidth<hint.width){var colIncrements=qx.ui.layout.Util.computeFlexOffsets(colFlexes,hint.width,prefSpanWidth);for(var j=0;j<widgetProps.colSpan;j++){offset=colIncrements[widgetColumn+j]?colIncrements[widgetColumn+j].offset:0;colWidths[widgetColumn+j].width+=offset;}}if(minSpanWidth<hint.minWidth){var colIncrements=qx.ui.layout.Util.computeFlexOffsets(colFlexes,hint.minWidth,minSpanWidth);for(var j=0;j<widgetProps.colSpan;j++){offset=colIncrements[widgetColumn+j]?colIncrements[widgetColumn+j].offset:0;colWidths[widgetColumn+j].minWidth+=offset;}}}},_getRowHeights:function(){if(this.__gY!=null){return this.__gY;}var rowHeights=[];var maxRowIndex=this.__gW;var maxColIndex=this.__gX;for(var row=0;row<=maxRowIndex;row++){var minHeight=0;var height=0;var maxHeight=0;for(var col=0;col<=maxColIndex;col++){var widget=this.__gT[row][col];if(!widget){continue;}var widgetRowSpan=widget.getLayoutProperties().rowSpan||0;if(widgetRowSpan>1){continue;}var cellSize=this.__hc(widget);if(this.getRowFlex(row)>0){minHeight=Math.max(minHeight,cellSize.minHeight);}else{minHeight=Math.max(minHeight,cellSize.height);}height=Math.max(height,cellSize.height);}var minHeight=Math.max(minHeight,this.getRowMinHeight(row));var maxHeight=this.getRowMaxHeight(row);if(this.getRowHeight(row)!==null){var height=this.getRowHeight(row);}else{var height=Math.max(minHeight,Math.min(height,maxHeight));}rowHeights[row]={minHeight:minHeight,height:height,maxHeight:maxHeight};}if(this.__gV.length>0){this._fixHeightsRowSpan(rowHeights);}this.__gY=rowHeights;return rowHeights;},_getColWidths:function(){if(this.__ha!=null){return this.__ha;}var colWidths=[];var maxColIndex=this.__gX;var maxRowIndex=this.__gW;for(var col=0;col<=maxColIndex;col++){var width=0;var minWidth=0;var maxWidth=Infinity;for(var row=0;row<=maxRowIndex;row++){var widget=this.__gT[row][col];if(!widget){continue;}var widgetColSpan=widget.getLayoutProperties().colSpan||0;if(widgetColSpan>1){continue;}var cellSize=this.__hc(widget);if(this.getColumnFlex(col)>0){minWidth=Math.max(minWidth,cellSize.minWidth);}else{minWidth=Math.max(minWidth,cellSize.width);}width=Math.max(width,cellSize.width);}var minWidth=Math.max(minWidth,this.getColumnMinWidth(col));var maxWidth=this.getColumnMaxWidth(col);if(this.getColumnWidth(col)!==null){var width=this.getColumnWidth(col);}else{var width=Math.max(minWidth,Math.min(width,maxWidth));}colWidths[col]={minWidth:minWidth,width:width,maxWidth:maxWidth};}if(this.__gU.length>0){this._fixWidthsColSpan(colWidths);}this.__ha=colWidths;return colWidths;},_getColumnFlexOffsets:function(width){var hint=this.getSizeHint();var diff=width-hint.width;if(diff==0){return {};}var colWidths=this._getColWidths();var flexibles={};for(var i=0,l=colWidths.length;i<l;i++){var col=colWidths[i];var colFlex=this.getColumnFlex(i);if((colFlex<=0)||(col.width==col.maxWidth&&diff>0)||(col.width==col.minWidth&&diff<0)){continue;}flexibles[i]={min:col.minWidth,value:col.width,max:col.maxWidth,flex:colFlex};}return qx.ui.layout.Util.computeFlexOffsets(flexibles,width,hint.width);},_getRowFlexOffsets:function(height){var hint=this.getSizeHint();var diff=height-hint.height;if(diff==0){return {};}var rowHeights=this._getRowHeights();var flexibles={};for(var i=0,l=rowHeights.length;i<l;i++){var row=rowHeights[i];var rowFlex=this.getRowFlex(i);if((rowFlex<=0)||(row.height==row.maxHeight&&diff>0)||(row.height==row.minHeight&&diff<0)){continue;}flexibles[i]={min:row.minHeight,value:row.height,max:row.maxHeight,flex:rowFlex};}return qx.ui.layout.Util.computeFlexOffsets(flexibles,height,hint.height);},renderLayout:function(availWidth,availHeight){if(this._invalidChildrenCache){this.__hb();}var Util=qx.ui.layout.Util;var hSpacing=this.getSpacingX();var vSpacing=this.getSpacingY();var prefWidths=this._getColWidths();var colStretchOffsets=this._getColumnFlexOffsets(availWidth);var colWidths=[];var maxColIndex=this.__gX;var maxRowIndex=this.__gW;var offset;for(var col=0;col<=maxColIndex;col++){offset=colStretchOffsets[col]?colStretchOffsets[col].offset:0;colWidths[col]=prefWidths[col].width+offset;}var prefHeights=this._getRowHeights();var rowStretchOffsets=this._getRowFlexOffsets(availHeight);var rowHeights=[];for(var row=0;row<=maxRowIndex;row++){offset=rowStretchOffsets[row]?rowStretchOffsets[row].offset:0;rowHeights[row]=prefHeights[row].height+offset;}var left=0;for(var col=0;col<=maxColIndex;col++){var top=0;for(var row=0;row<=maxRowIndex;row++){var widget=this.__gT[row][col];if(!widget){top+=rowHeights[row]+vSpacing;continue;}var widgetProps=widget.getLayoutProperties();if(widgetProps.row!==row||widgetProps.column!==col){top+=rowHeights[row]+vSpacing;continue;}var spanWidth=hSpacing*(widgetProps.colSpan-1);for(var i=0;i<widgetProps.colSpan;i++){spanWidth+=colWidths[col+i];}var spanHeight=vSpacing*(widgetProps.rowSpan-1);for(var i=0;i<widgetProps.rowSpan;i++){spanHeight+=rowHeights[row+i];}var cellHint=widget.getSizeHint();var marginTop=widget.getMarginTop();var marginLeft=widget.getMarginLeft();var marginBottom=widget.getMarginBottom();var marginRight=widget.getMarginRight();var cellWidth=Math.max(cellHint.minWidth,Math.min(spanWidth-marginLeft-marginRight,cellHint.maxWidth));var cellHeight=Math.max(cellHint.minHeight,Math.min(spanHeight-marginTop-marginBottom,cellHint.maxHeight));var cellAlign=this.getCellAlign(row,col);var cellLeft=left+Util.computeHorizontalAlignOffset(cellAlign.hAlign,cellWidth,spanWidth,marginLeft,marginRight);var cellTop=top+Util.computeVerticalAlignOffset(cellAlign.vAlign,cellHeight,spanHeight,marginTop,marginBottom);widget.renderLayout(cellLeft,cellTop,cellWidth,cellHeight);top+=rowHeights[row]+vSpacing;}left+=colWidths[col]+hSpacing;}},invalidateLayoutCache:function(){arguments.callee.base.call(this);this.__ha=null;this.__gY=null;},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__hb();}var colWidths=this._getColWidths();var minWidth=0,width=0;for(var i=0,l=colWidths.length;i<l;i++){var col=colWidths[i];if(this.getColumnFlex(i)>0){minWidth+=col.minWidth;}else{minWidth+=col.width;}width+=col.width;}var rowHeights=this._getRowHeights();var minHeight=0,height=0;for(var i=0,l=rowHeights.length;i<l;i++){var row=rowHeights[i];if(this.getRowFlex(i)>0){minHeight+=row.minHeight;}else{minHeight+=row.height;}height+=row.height;}var spacingX=this.getSpacingX()*(colWidths.length-1);var spacingY=this.getSpacingY()*(rowHeights.length-1);var hint={minWidth:minWidth+spacingX,width:width+spacingX,minHeight:minHeight+spacingY,height:height+spacingY};return hint;}},destruct:function(){this.__gT=this.__gR=this.__gS=this.__gU=this.__gV=this.__ha=this.__gY=null;}});})();(function(){var SSSS_0="' is not supported by the Grow layout!",SSSS_1="qx.ui.layout.Grow",SSSS_2="qx.debug",SSSS_3="The property '";qx.Class.define(SSSS_1,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Variant.select(SSSS_2,{"on":function(item,name,value){this.assert(false,SSSS_3+name+SSSS_0);},"off":null}),renderLayout:function(availWidth,availHeight){var children=this._getLayoutChildren();var child,size,width,height;for(var i=0,l=children.length;i<l;i++){child=children[i];size=child.getSizeHint();width=availWidth;if(width<size.minWidth){width=size.minWidth;}else if(width>size.maxWidth){width=size.maxWidth;}height=availHeight;if(height<size.minHeight){height=size.minHeight;}else if(height>size.maxHeight){height=size.maxHeight;}child.renderLayout(0,0,width,height);}},_computeSizeHint:function(){var children=this._getLayoutChildren();var child,size;var neededWidth=0,neededHeight=0;var minWidth=0,minHeight=0;var maxWidth=Infinity,maxHeight=Infinity;for(var i=0,l=children.length;i<l;i++){child=children[i];size=child.getSizeHint();neededWidth=Math.max(neededWidth,size.width);neededHeight=Math.max(neededHeight,size.height);minWidth=Math.max(minWidth,size.minWidth);minHeight=Math.max(minHeight,size.minHeight);maxWidth=Math.min(maxWidth,size.maxWidth);maxHeight=Math.min(maxHeight,size.maxHeight);}return {width:neededWidth,height:neededHeight,minWidth:minWidth,minHeight:minHeight,maxWidth:maxWidth,maxHeight:maxHeight};}}});})();(function(){var SSSS_0="_applyLayoutChange",SSSS_1="left",SSSS_2="width",SSSS_3="center",SSSS_4="top",SSSS_5="Decorator",SSSS_6="middle",SSSS_7="_applyReversed",SSSS_8="qx.debug",SSSS_9="bottom",SSSS_10="' is not supported by the HBox layout!",SSSS_11="Boolean",SSSS_12="flex",SSSS_13="right",SSSS_14="Integer",SSSS_15="The property '",SSSS_16="qx.ui.layout.HBox";qx.Class.define(SSSS_16,{extend:qx.ui.layout.Abstract,construct:function(spacing,alignX,separator){arguments.callee.base.call(this);if(spacing){this.setSpacing(spacing);}if(alignX){this.setAlignX(alignX);}if(separator){this.setSeparator(separator);}},properties:{alignX:{check:[SSSS_1,SSSS_3,SSSS_13],init:SSSS_1,apply:SSSS_0},alignY:{check:[SSSS_4,SSSS_6,SSSS_9],init:SSSS_4,apply:SSSS_0},spacing:{check:SSSS_14,init:0,apply:SSSS_0},separator:{check:SSSS_5,nullable:true,apply:SSSS_0},reversed:{check:SSSS_11,init:false,apply:SSSS_7}},members:{__hd:null,__he:null,__hf:null,__hg:null,_applyReversed:function(){this._invalidChildrenCache=true;this._applyLayoutChange();},__hh:function(){var children=this._getLayoutChildren();var length=children.length;var enableFlex=false;var reuse=this.__hd&&this.__hd.length!=length&&this.__he&&this.__hd;var props;var widths=reuse?this.__hd:new Array(length);var flexs=reuse?this.__he:new Array(length);if(this.getReversed()){children=children.concat().reverse();}for(var i=0;i<length;i++){props=children[i].getLayoutProperties();if(props.width!=null){widths[i]=parseFloat(props.width)/100;}if(props.flex!=null){flexs[i]=props.flex;enableFlex=true;}else{flexs[i]=0;}}if(!reuse){this.__hd=widths;this.__he=flexs;}this.__hf=enableFlex;this.__hg=children;delete this._invalidChildrenCache;},verifyLayoutProperty:qx.core.Variant.select(SSSS_8,{"on":function(item,name,value){this.assert(name===SSSS_12||name===SSSS_2,SSSS_15+name+SSSS_10);if(name==SSSS_2){this.assertMatch(value,qx.ui.layout.Util.PERCENT_VALUE);}else{this.assertNumber(value);this.assert(value>=0);}},"off":null}),renderLayout:function(availWidth,availHeight){if(this._invalidChildrenCache){this.__hh();}var children=this.__hg;var length=children.length;var util=qx.ui.layout.Util;var spacing=this.getSpacing();var separator=this.getSeparator();if(separator){var gaps=util.computeHorizontalSeparatorGaps(children,spacing,separator);}else{var gaps=util.computeHorizontalGaps(children,spacing,true);}var i,child,width,percent;var widths=[];var allocatedWidth=gaps;for(i=0;i<length;i+=1){percent=this.__hd[i];width=percent!=null?Math.floor((availWidth-gaps)*percent):children[i].getSizeHint().width;widths.push(width);allocatedWidth+=width;}if(this.__hf&&allocatedWidth!=availWidth){var flexibles={};var flex,offset;for(i=0;i<length;i+=1){flex=this.__he[i];if(flex>0){hint=children[i].getSizeHint();flexibles[i]={min:hint.minWidth,value:widths[i],max:hint.maxWidth,flex:flex};}}var result=util.computeFlexOffsets(flexibles,availWidth,allocatedWidth);for(i in result){offset=result[i].offset;widths[i]+=offset;allocatedWidth+=offset;}}var left=children[0].getMarginLeft();if(allocatedWidth<availWidth&&this.getAlignX()!=SSSS_1){left=availWidth-allocatedWidth;if(this.getAlignX()===SSSS_3){left=Math.round(left/2);}}var hint,top,height,width,marginRight,marginTop,marginBottom;var spacing=this.getSpacing();this._clearSeparators();if(separator){var separatorInsets=qx.theme.manager.Decoration.getInstance().resolve(separator).getInsets();var separatorWidth=separatorInsets.left+separatorInsets.right;}for(i=0;i<length;i+=1){child=children[i];width=widths[i];hint=child.getSizeHint();marginTop=child.getMarginTop();marginBottom=child.getMarginBottom();height=Math.max(hint.minHeight,Math.min(availHeight-marginTop-marginBottom,hint.maxHeight));top=util.computeVerticalAlignOffset(child.getAlignY()||this.getAlignY(),height,availHeight,marginTop,marginBottom);if(i>0){if(separator){left+=marginRight+spacing;this._renderSeparator(separator,{left:left,top:0,width:separatorWidth,height:availHeight});left+=separatorWidth+spacing+child.getMarginLeft();}else{left+=util.collapseMargins(spacing,marginRight,child.getMarginLeft());}}child.renderLayout(left,top,width,height);left+=width;marginRight=child.getMarginRight();}},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__hh();}var util=qx.ui.layout.Util;var children=this.__hg;var minWidth=0,width=0,percentMinWidth=0;var minHeight=0,height=0;var child,hint,margin;for(var i=0,l=children.length;i<l;i+=1){child=children[i];hint=child.getSizeHint();width+=hint.width;var flex=this.__he[i];var percent=this.__hd[i];if(flex){minWidth+=hint.minWidth;}else if(percent){percentMinWidth=Math.max(percentMinWidth,Math.round(hint.minWidth/percent));}else{minWidth+=hint.width;}margin=child.getMarginTop()+child.getMarginBottom();if((hint.height+margin)>height){height=hint.height+margin;}if((hint.minHeight+margin)>minHeight){minHeight=hint.minHeight+margin;}}minWidth+=percentMinWidth;var spacing=this.getSpacing();var separator=this.getSeparator();if(separator){var gaps=util.computeHorizontalSeparatorGaps(children,spacing,separator);}else{var gaps=util.computeHorizontalGaps(children,spacing,true);}return {minWidth:minWidth+gaps,width:width+gaps,minHeight:minHeight,height:height};}},destruct:function(){this.__hd=this.__he=this.__hg=null;}});})();(function(){var SSSS_0="_applyLayoutChange",SSSS_1="top",SSSS_2="left",SSSS_3="height",SSSS_4="middle",SSSS_5="Decorator",SSSS_6="center",SSSS_7="_applyReversed",SSSS_8="qx.debug",SSSS_9="bottom",SSSS_10="' is not supported by the VBox layout!",SSSS_11="qx.ui.layout.VBox",SSSS_12="flex",SSSS_13="Integer",SSSS_14="The property '",SSSS_15="right",SSSS_16="Boolean";qx.Class.define(SSSS_11,{extend:qx.ui.layout.Abstract,construct:function(spacing,alignY,separator){arguments.callee.base.call(this);if(spacing){this.setSpacing(spacing);}if(alignY){this.setAlignY(alignY);}if(separator){this.setSeparator(separator);}},properties:{alignY:{check:[SSSS_1,SSSS_4,SSSS_9],init:SSSS_1,apply:SSSS_0},alignX:{check:[SSSS_2,SSSS_6,SSSS_15],init:SSSS_2,apply:SSSS_0},spacing:{check:SSSS_13,init:0,apply:SSSS_0},separator:{check:SSSS_5,nullable:true,apply:SSSS_0},reversed:{check:SSSS_16,init:false,apply:SSSS_7}},members:{__hi:null,__hj:null,__hk:null,__hl:null,_applyReversed:function(){this._invalidChildrenCache=true;this._applyLayoutChange();},__hm:function(){var children=this._getLayoutChildren();var length=children.length;var enableFlex=false;var reuse=this.__hi&&this.__hi.length!=length&&this.__hj&&this.__hi;var props;var heights=reuse?this.__hi:new Array(length);var flexs=reuse?this.__hj:new Array(length);if(this.getReversed()){children=children.concat().reverse();}for(var i=0;i<length;i++){props=children[i].getLayoutProperties();if(props.height!=null){heights[i]=parseFloat(props.height)/100;}if(props.flex!=null){flexs[i]=props.flex;enableFlex=true;}else{flexs[i]=0;}}if(!reuse){this.__hi=heights;this.__hj=flexs;}this.__hk=enableFlex;this.__hl=children;delete this._invalidChildrenCache;},verifyLayoutProperty:qx.core.Variant.select(SSSS_8,{"on":function(item,name,value){this.assert(name===SSSS_12||name===SSSS_3,SSSS_14+name+SSSS_10);if(name==SSSS_3){this.assertMatch(value,qx.ui.layout.Util.PERCENT_VALUE);}else{this.assertNumber(value);this.assert(value>=0);}},"off":null}),renderLayout:function(availWidth,availHeight){if(this._invalidChildrenCache){this.__hm();}var children=this.__hl;var length=children.length;var util=qx.ui.layout.Util;var spacing=this.getSpacing();var separator=this.getSeparator();if(separator){var gaps=util.computeVerticalSeparatorGaps(children,spacing,separator);}else{var gaps=util.computeVerticalGaps(children,spacing,true);}var i,child,height,percent;var heights=[];var allocatedHeight=gaps;for(i=0;i<length;i+=1){percent=this.__hi[i];height=percent!=null?Math.floor((availHeight-gaps)*percent):children[i].getSizeHint().height;heights.push(height);allocatedHeight+=height;}if(this.__hk&&allocatedHeight!=availHeight){var flexibles={};var flex,offset;for(i=0;i<length;i+=1){flex=this.__hj[i];if(flex>0){hint=children[i].getSizeHint();flexibles[i]={min:hint.minHeight,value:heights[i],max:hint.maxHeight,flex:flex};}}var result=util.computeFlexOffsets(flexibles,availHeight,allocatedHeight);for(i in result){offset=result[i].offset;heights[i]+=offset;allocatedHeight+=offset;}}var top=children[0].getMarginTop();if(allocatedHeight<availHeight&&this.getAlignY()!=SSSS_1){top=availHeight-allocatedHeight;if(this.getAlignY()===SSSS_4){top=Math.round(top/2);}}var hint,left,width,height,marginBottom,marginLeft,marginRight;this._clearSeparators();if(separator){var separatorInsets=qx.theme.manager.Decoration.getInstance().resolve(separator).getInsets();var separatorHeight=separatorInsets.top+separatorInsets.bottom;}for(i=0;i<length;i+=1){child=children[i];height=heights[i];hint=child.getSizeHint();marginLeft=child.getMarginLeft();marginRight=child.getMarginRight();width=Math.max(hint.minWidth,Math.min(availWidth-marginLeft-marginRight,hint.maxWidth));left=util.computeHorizontalAlignOffset(child.getAlignX()||this.getAlignX(),width,availWidth,marginLeft,marginRight);if(i>0){if(separator){top+=marginBottom+spacing;this._renderSeparator(separator,{top:top,left:0,height:separatorHeight,width:availWidth});top+=separatorHeight+spacing+child.getMarginTop();}else{top+=util.collapseMargins(spacing,marginBottom,child.getMarginTop());}}child.renderLayout(left,top,width,height);top+=height;marginBottom=child.getMarginBottom();}},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__hm();}var util=qx.ui.layout.Util;var children=this.__hl;var minHeight=0,height=0,percentMinHeight=0;var minWidth=0,width=0;var child,hint,margin;for(var i=0,l=children.length;i<l;i+=1){child=children[i];hint=child.getSizeHint();height+=hint.height;var flex=this.__hj[i];var percent=this.__hi[i];if(flex){minHeight+=hint.minHeight;}else if(percent){percentMinHeight=Math.max(percentMinHeight,Math.round(hint.minHeight/percent));}else{minHeight+=hint.height;}margin=child.getMarginLeft()+child.getMarginRight();if((hint.width+margin)>width){width=hint.width+margin;}if((hint.minWidth+margin)>minWidth){minWidth=hint.minWidth+margin;}}minHeight+=percentMinHeight;var spacing=this.getSpacing();var separator=this.getSeparator();if(separator){var gaps=util.computeVerticalSeparatorGaps(children,spacing,separator);}else{var gaps=util.computeVerticalGaps(children,spacing,true);}return {minHeight:minHeight+gaps,height:height+gaps,minWidth:minWidth,width:width};}},destruct:function(){this.__hi=this.__hj=this.__hl=null;}});})();(function(){var SSSS_0="qx.event.type.Event",SSSS_1="Boolean",SSSS_2="queued",SSSS_3="String",SSSS_4="sending",SSSS_5="receiving",SSSS_6="aborted",SSSS_7="failed",SSSS_8="nocache",SSSS_9="completed",SSSS_10="qx.io.remote.Response",SSSS_11="POST",SSSS_12="configured",SSSS_13="timeout",SSSS_14="GET",SSSS_15="Pragma",SSSS_16="no-url-params-on-post",SSSS_17="no-cache",SSSS_18="Cache-Control",SSSS_19="Content-Type",SSSS_20="text/plain",SSSS_21="application/xml",SSSS_22="application/json",SSSS_23="text/html",SSSS_24="qx.ioRemoteDebug",SSSS_25="application/x-www-form-urlencoded",SSSS_26="qx.io.remote.Exchange",SSSS_27="Integer",SSSS_28="X-Qooxdoo-Response-Type",SSSS_29="HEAD",SSSS_30="qx.io.remote.Request",SSSS_31="qx.debug",SSSS_32="_applyResponseType",SSSS_33="_applyState",SSSS_34="text/javascript",SSSS_35="changeState",SSSS_36="PUT",SSSS_37="_applyProhibitCaching",SSSS_38="",SSSS_39="_applyMethod",SSSS_40="DELETE",SSSS_41="boolean",SSSS_42="on";qx.Class.define(SSSS_30,{extend:qx.core.Object,construct:function(vUrl,vMethod,vResponseType){arguments.callee.base.call(this);this.__hn={};this.__ho={};this.__hp={};this.__hq={};if(vUrl!==undefined){this.setUrl(vUrl);}if(vMethod!==undefined){this.setMethod(vMethod);}if(vResponseType!==undefined){this.setResponseType(vResponseType);}this.setProhibitCaching(true);this.__hr=++qx.io.remote.Request.__hr;},events:{"created":SSSS_0,"configured":SSSS_0,"sending":SSSS_0,"receiving":SSSS_0,"completed":SSSS_10,"aborted":SSSS_0,"failed":SSSS_10,"timeout":SSSS_10},statics:{__hr:0},properties:{url:{check:SSSS_3,init:SSSS_38},method:{check:[SSSS_14,SSSS_11,SSSS_36,SSSS_29,SSSS_40],apply:SSSS_39,init:SSSS_14},asynchronous:{check:SSSS_1,init:true},data:{check:SSSS_3,nullable:true},username:{check:SSSS_3,nullable:true},password:{check:SSSS_3,nullable:true},state:{check:[SSSS_12,SSSS_2,SSSS_4,SSSS_5,SSSS_9,SSSS_6,SSSS_13,SSSS_7],init:SSSS_12,apply:SSSS_33,event:SSSS_35},responseType:{check:[SSSS_20,SSSS_34,SSSS_22,SSSS_21,SSSS_23],init:SSSS_20,apply:SSSS_32},timeout:{check:SSSS_27,nullable:true},prohibitCaching:{check:function(v){return typeof v==SSSS_41||v===SSSS_16;},init:true,apply:SSSS_37},crossDomain:{check:SSSS_1,init:false},fileUpload:{check:SSSS_1,init:false},transport:{check:SSSS_26,nullable:true},useBasicHttpAuth:{check:SSSS_1,init:false}},members:{__hn:null,__ho:null,__hp:null,__hq:null,__hr: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 SSSS_4:case SSSS_5:this.error("Aborting already sent request!");case SSSS_2:this.abort();break;}},isConfigured:function(){return this.getState()===SSSS_12;},isQueued:function(){return this.getState()===SSSS_2;},isSending:function(){return this.getState()===SSSS_4;},isReceiving:function(){return this.getState()===SSSS_5;},isCompleted:function(){return this.getState()===SSSS_9;},isAborted:function(){return this.getState()===SSSS_6;},isTimeout:function(){return this.getState()===SSSS_13;},isFailed:function(){return this.getState()===SSSS_7;},__hs:function(e){var clonedEvent=e.clone();clonedEvent.setTarget(this);this.dispatchEvent(clonedEvent);},_onqueued:function(e){this.setState(SSSS_2);this.__hs(e);},_onsending:function(e){this.setState(SSSS_4);this.__hs(e);},_onreceiving:function(e){this.setState(SSSS_5);this.__hs(e);},_oncompleted:function(e){this.setState(SSSS_9);this.__hs(e);this.dispose();},_onaborted:function(e){this.setState(SSSS_6);this.__hs(e);this.dispose();},_ontimeout:function(e){this.setState(SSSS_13);this.__hs(e);this.dispose();},_onfailed:function(e){this.setState(SSSS_7);this.__hs(e);this.dispose();},_applyState:function(value,old){if(qx.core.Variant.isSet(SSSS_31,SSSS_42)){if(qx.core.Setting.get(SSSS_24)){this.debug("State: "+value);}}},_applyProhibitCaching:function(value,old){if(!value){this.removeParameter(SSSS_8);this.removeRequestHeader(SSSS_15);this.removeRequestHeader(SSSS_18);return;}if(value!==SSSS_16||this.getMethod()!=SSSS_11){this.setParameter(SSSS_8,new Date().valueOf());}else{this.removeParameter(SSSS_8);}this.setRequestHeader(SSSS_15,SSSS_17);this.setRequestHeader(SSSS_18,SSSS_17);},_applyMethod:function(value,old){if(value===SSSS_11){this.setRequestHeader(SSSS_19,SSSS_25);}else{this.removeRequestHeader(SSSS_19);}var prohibitCaching=this.getProhibitCaching();this._applyProhibitCaching(prohibitCaching,prohibitCaching);},_applyResponseType:function(value,old){this.setRequestHeader(SSSS_28,value);},setRequestHeader:function(vId,vValue){this.__hn[vId]=vValue;},removeRequestHeader:function(vId){delete this.__hn[vId];},getRequestHeader:function(vId){return this.__hn[vId]||null;},getRequestHeaders:function(){return this.__hn;},setParameter:function(vId,vValue,bAsData){if(bAsData){this.__hp[vId]=vValue;}else{this.__ho[vId]=vValue;}},removeParameter:function(vId,bFromData){if(bFromData){delete this.__hp[vId];}else{delete this.__ho[vId];}},getParameter:function(vId,bFromData){if(bFromData){return this.__hp[vId]||null;}else{return this.__ho[vId]||null;}},getParameters:function(bFromData){return (bFromData?this.__hp:this.__ho);},setFormField:function(vId,vValue){this.__hq[vId]=vValue;},removeFormField:function(vId){delete this.__hq[vId];},getFormField:function(vId){return this.__hq[vId]||null;},getFormFields:function(){return this.__hq;},getSequenceNumber:function(){return this.__hr;}},destruct:function(){this.setTransport(null);this.__hn=this.__ho=this.__hp=this.__hq=null;}});})();(function(){var SSSS_0=".",SSSS_1="qx.bom.client.Transport";qx.Class.define(SSSS_1,{statics:{getMaxConcurrentRequestCount:function(){var maxConcurrentRequestCount;var Engine=qx.bom.client.Engine;var versionParts=Engine.FULLVERSION.split(SSSS_0);var versionMain=0;var versionMajor=0;var versionMinor=0;if(versionParts[0]){versionMain=versionParts[0];}if(versionParts[1]){versionMajor=versionParts[1];}if(versionParts[2]){versionMinor=versionParts[2];}if(window.maxConnectionsPerServer){maxConcurrentRequestCount=window.maxConnectionsPerServer;}else if(Engine.OPERA){maxConcurrentRequestCount=8;}else if(Engine.WEBKIT){maxConcurrentRequestCount=4;}else if(Engine.GECKO&&((versionMain>1)||((versionMain==1)&&(versionMajor>9))||((versionMain==1)&&(versionMajor==9)&&(versionMinor>=1)))){maxConcurrentRequestCount=6;}else{maxConcurrentRequestCount=2;}return maxConcurrentRequestCount;}}});})();(function(){var SSSS_0="qx.ioRemoteDebug",SSSS_1="Integer",SSSS_2="qx.debug",SSSS_3="on",SSSS_4="aborted",SSSS_5="_onaborted",SSSS_6="_on",SSSS_7="Boolean",SSSS_8="singleton",SSSS_9="__hu",SSSS_10="interval",SSSS_11="receiving",SSSS_12="Request-Queue Progress: ",SSSS_13="queued",SSSS_14="/",SSSS_15="_applyEnabled",SSSS_16="sending",SSSS_17="completed",SSSS_18="failed",SSSS_19="__hw",SSSS_20="qx.io.remote.RequestQueue",SSSS_21="timeout";qx.Class.define(SSSS_20,{type:SSSS_8,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.__ht=[];this.__hu=[];this.__hv=0;this.__hw=new qx.event.Timer(500);this.__hw.addListener(SSSS_10,this._oninterval,this);},properties:{enabled:{init:true,check:SSSS_7,apply:SSSS_15},maxTotalRequests:{check:SSSS_1,nullable:true},maxConcurrentRequests:{check:SSSS_1,init:qx.bom.client.Transport.getMaxConcurrentRequestCount()},defaultTimeout:{check:SSSS_1,init:5000}},members:{__ht:null,__hu:null,__hv:null,__hw:null,getRequestQueue:function(){return this.__ht;},getActiveQueue:function(){return this.__hu;},_debug:function(){if(qx.core.Variant.isSet(SSSS_2,SSSS_3)){if(qx.core.Setting.get(SSSS_0)){var vText=this.__hu.length+SSSS_14+(this.__ht.length+this.__hu.length);this.debug("Progress: "+vText);window.status=SSSS_12+vText;}}},_check:function(){this._debug();if(this.__hu.length==0&&this.__ht.length==0){this.__hw.stop();}if(!this.getEnabled()){return;}if(this.__ht.length==0||(this.__ht[0].isAsynchronous()&&this.__hu.length>=this.getMaxConcurrentRequests())){return;}if(this.getMaxTotalRequests()!=null&&this.__hv>=this.getMaxTotalRequests()){return;}var vRequest=this.__ht.shift();var vTransport=new qx.io.remote.Exchange(vRequest);this.__hv++;this.__hu.push(vTransport);this._debug();vTransport.addListener(SSSS_16,this._onsending,this);vTransport.addListener(SSSS_11,this._onreceiving,this);vTransport.addListener(SSSS_17,this._oncompleted,this);vTransport.addListener(SSSS_4,this._oncompleted,this);vTransport.addListener(SSSS_21,this._oncompleted,this);vTransport.addListener(SSSS_18,this._oncompleted,this);vTransport._start=(new Date).valueOf();vTransport.send();if(this.__ht.length>0){this._check();}},_remove:function(vTransport){qx.lang.Array.remove(this.__hu,vTransport);vTransport.dispose();this._check();},__hx:0,_onsending:function(e){if(qx.core.Variant.isSet(SSSS_2,SSSS_3)){if(qx.core.Setting.get(SSSS_0)){this.__hx++;e.getTarget()._counted=true;this.debug("ActiveCount: "+this.__hx);}}e.getTarget().getRequest()._onsending(e);},_onreceiving:function(e){e.getTarget().getRequest()._onreceiving(e);},_oncompleted:function(e){if(qx.core.Variant.isSet(SSSS_2,SSSS_3)){if(qx.core.Setting.get(SSSS_0)){if(e.getTarget()._counted){this.__hx--;this.debug("ActiveCount: "+this.__hx);}}}var request=e.getTarget().getRequest();var requestHandler=SSSS_6+e.getType();try{if(request[requestHandler]){request[requestHandler](e);}}catch(ex){var stacktrace=qx.dev.StackTrace.getStackTraceFromError(ex);this.error("Request "+request+" handler "+requestHandler+" threw an error: "+ex+"\nStack Trace:\n"+stacktrace);try{if(request[SSSS_5]){var event=qx.event.Registration.createEvent(SSSS_4,qx.event.type.Event);request[SSSS_5](event);}}catch(ex){}}finally{this._remove(e.getTarget());}},_oninterval:function(e){var vActive=this.__hu;if(vActive.length==0){this.__hw.stop();return;}var vCurrent=(new Date).valueOf();var vTransport;var vRequest;var vDefaultTimeout=this.getDefaultTimeout();var vTimeout;var vTime;for(var i=vActive.length-1;i>=0;i--){vTransport=vActive[i];vRequest=vTransport.getRequest();if(vRequest.isAsynchronous()){vTimeout=vRequest.getTimeout();if(vTimeout==0){continue;}if(vTimeout==null){vTimeout=vDefaultTimeout;}vTime=vCurrent-vTransport._start;if(vTime>vTimeout){this.warn("Timeout: transport "+vTransport.toHashCode());this.warn(vTime+"ms > "+vTimeout+"ms");vTransport.timeout();}}}},_applyEnabled:function(value,old){if(value){this._check();}this.__hw.setEnabled(value);},add:function(vRequest){vRequest.setState(SSSS_13);if(vRequest.isAsynchronous()){this.__ht.push(vRequest);}else{this.__ht.unshift(vRequest);}this._check();if(this.getEnabled()){this.__hw.start();}},abort:function(vRequest){var vTransport=vRequest.getTransport();if(vTransport){vTransport.abort();}else if(qx.lang.Array.contains(this.__ht,vRequest)){qx.lang.Array.remove(this.__ht,vRequest);}}},destruct:function(){this._disposeArray(SSSS_9);this._disposeObjects(SSSS_19);this.__ht=null;}});})();(function(){var SSSS_0="qx.ioRemoteDebug",SSSS_1="qx.debug",SSSS_2="on",SSSS_3="failed",SSSS_4="sending",SSSS_5="completed",SSSS_6="receiving",SSSS_7="aborted",SSSS_8="timeout",SSSS_9="qx.event.type.Event",SSSS_10="Connection dropped",SSSS_11="qx.io.remote.Response",SSSS_12="configured",SSSS_13="Proxy authentication required",SSSS_14="qx.io.remote.transport.Abstract",SSSS_15="MSHTML-specific HTTP status code",SSSS_16="Not available",SSSS_17="Precondition failed",SSSS_18="Server error",SSSS_19="qx.io.remote.Exchange",SSSS_20="Bad gateway",SSSS_21="Gone",SSSS_22="See other",SSSS_23="Partial content",SSSS_24="Server timeout",SSSS_25="qx.io.remote.transport.Script",SSSS_26="HTTP version not supported",SSSS_27="Unauthorized",SSSS_28="Multiple choices",SSSS_29="Payment required",SSSS_30="Not implemented",SSSS_31="Request-URL too large",SSSS_32="Length required",SSSS_33="_applyState",SSSS_34="changeState",SSSS_35="Not modified",SSSS_36="Not acceptable",SSSS_37="qx.io.remote.Request",SSSS_38="Connection closed by server",SSSS_39="Moved permanently",SSSS_40="_applyImplementation",SSSS_41="Method not allowed",SSSS_42="Moved temporarily",SSSS_43="Forbidden",SSSS_44="Use proxy",SSSS_45="Ok",SSSS_46="Not found",SSSS_47="Request time-out",SSSS_48="Bad request",SSSS_49="Conflict",SSSS_50="No content",SSSS_51="qx.io.remote.transport.XmlHttp",SSSS_52="qx.io.remote.transport.Iframe",SSSS_53="Request entity too large",SSSS_54="Unknown status code",SSSS_55="Unsupported media type",SSSS_56="Gateway time-out",SSSS_57="created",SSSS_58="Out of resources",SSSS_59="undefined";qx.Class.define(SSSS_19,{extend:qx.core.Object,construct:function(vRequest){arguments.callee.base.call(this);this.setRequest(vRequest);vRequest.setTransport(this);},events:{"sending":SSSS_9,"receiving":SSSS_9,"completed":SSSS_11,"aborted":SSSS_9,"failed":SSSS_11,"timeout":SSSS_11},statics:{typesOrder:[SSSS_51,SSSS_52,SSSS_25],typesReady:false,typesAvailable:{},typesSupported:{},registerType:function(vClass,vId){qx.io.remote.Exchange.typesAvailable[vId]=vClass;},initTypes:function(){if(qx.io.remote.Exchange.typesReady){return;}for(var vId in qx.io.remote.Exchange.typesAvailable){var vTransporterImpl=qx.io.remote.Exchange.typesAvailable[vId];if(vTransporterImpl.isSupported()){qx.io.remote.Exchange.typesSupported[vId]=vTransporterImpl;}}qx.io.remote.Exchange.typesReady=true;if(qx.lang.Object.isEmpty(qx.io.remote.Exchange.typesSupported)){throw new Error("No supported transport types were found!");}},canHandle:function(vImpl,vNeeds,vResponseType){if(!qx.lang.Array.contains(vImpl.handles.responseTypes,vResponseType)){return false;}for(var vKey in vNeeds){if(!vImpl.handles[vKey]){return false;}}return true;},_nativeMap:{0:SSSS_57,1:SSSS_12,2:SSSS_4,3:SSSS_6,4:SSSS_5},wasSuccessful:function(vStatusCode,vReadyState,vIsLocal){if(vIsLocal){switch(vStatusCode){case null:case 0:return true;case -1:return vReadyState<4;default:return typeof vStatusCode===SSSS_59;}}else{switch(vStatusCode){case -1:if(qx.core.Variant.isSet(SSSS_1,SSSS_2)){if(qx.core.Setting.get(SSSS_0)&&vReadyState>3){qx.log.Logger.debug(this,"Failed with statuscode: -1 at readyState "+vReadyState);}}return vReadyState<4;case 200:case 304:return true;case 201:case 202:case 203:case 204:case 205:return true;case 206:if(qx.core.Variant.isSet(SSSS_1,SSSS_2)){if(qx.core.Setting.get(SSSS_0)&&vReadyState===4){qx.log.Logger.debug(this,"Failed with statuscode: 206 (Partial content while being complete!)");}}return vReadyState!==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:if(qx.core.Variant.isSet(SSSS_1,SSSS_2)){if(qx.core.Setting.get(SSSS_0)){qx.log.Logger.debug(this,"Failed with typical HTTP statuscode: "+vStatusCode);}}return false;case 12002:case 12007:case 12029:case 12030:case 12031:case 12152:case 13030:if(qx.core.Variant.isSet(SSSS_1,SSSS_2)){if(qx.core.Setting.get(SSSS_0)){qx.log.Logger.debug(this,"Failed with MSHTML specific HTTP statuscode: "+vStatusCode);}}return false;default:if(vStatusCode>206&&vStatusCode<300){return true;}qx.log.Logger.debug(this,"Unknown status code: "+vStatusCode+" ("+vReadyState+")");return false;}}},statusCodeToString:function(vStatusCode){switch(vStatusCode){case -1:return SSSS_16;case 200:return SSSS_45;case 304:return SSSS_35;case 206:return SSSS_23;case 204:return SSSS_50;case 300:return SSSS_28;case 301:return SSSS_39;case 302:return SSSS_42;case 303:return SSSS_22;case 305:return SSSS_44;case 400:return SSSS_48;case 401:return SSSS_27;case 402:return SSSS_29;case 403:return SSSS_43;case 404:return SSSS_46;case 405:return SSSS_41;case 406:return SSSS_36;case 407:return SSSS_13;case 408:return SSSS_47;case 409:return SSSS_49;case 410:return SSSS_21;case 411:return SSSS_32;case 412:return SSSS_17;case 413:return SSSS_53;case 414:return SSSS_31;case 415:return SSSS_55;case 500:return SSSS_18;case 501:return SSSS_30;case 502:return SSSS_20;case 503:return SSSS_58;case 504:return SSSS_56;case 505:return SSSS_26;case 12002:return SSSS_24;case 12029:return SSSS_10;case 12030:return SSSS_10;case 12031:return SSSS_10;case 12152:return SSSS_38;case 13030:return SSSS_15;default:return SSSS_54;}}},properties:{request:{check:SSSS_37,nullable:true},implementation:{check:SSSS_14,nullable:true,apply:SSSS_40},state:{check:[SSSS_12,SSSS_4,SSSS_6,SSSS_5,SSSS_7,SSSS_8,SSSS_3],init:SSSS_12,event:SSSS_34,apply:SSSS_33}},members:{send:function(){var vRequest=this.getRequest();if(!vRequest){return this.error("Please attach a request object first");}qx.io.remote.Exchange.initTypes();var vUsage=qx.io.remote.Exchange.typesOrder;var vSupported=qx.io.remote.Exchange.typesSupported;var vResponseType=vRequest.getResponseType();var vNeeds={};if(vRequest.getAsynchronous()){vNeeds.asynchronous=true;}else{vNeeds.synchronous=true;}if(vRequest.getCrossDomain()){vNeeds.crossDomain=true;}if(vRequest.getFileUpload()){vNeeds.fileUpload=true;}for(var field in vRequest.getFormFields()){vNeeds.programaticFormFields=true;break;}var vTransportImpl,vTransport;for(var i=0,l=vUsage.length;i<l;i++){vTransportImpl=vSupported[vUsage[i]];if(vTransportImpl){if(!qx.io.remote.Exchange.canHandle(vTransportImpl,vNeeds,vResponseType)){continue;}try{if(qx.core.Variant.isSet(SSSS_1,SSSS_2)){if(qx.core.Setting.get(SSSS_0)){this.debug("Using implementation: "+vTransportImpl.classname);}}vTransport=new vTransportImpl;this.setImplementation(vTransport);vTransport.setUseBasicHttpAuth(vRequest.getUseBasicHttpAuth());vTransport.send();return true;}catch(ex){this.error("Request handler throws error");this.error(ex);return;}}}this.error("There is no transport implementation available to handle this request: "+vRequest);},abort:function(){var vImplementation=this.getImplementation();if(vImplementation){if(qx.core.Variant.isSet(SSSS_1,SSSS_2)){if(qx.core.Setting.get(SSSS_0)){this.debug("Abort: implementation "+vImplementation.toHashCode());}}vImplementation.abort();}else{if(qx.core.Variant.isSet(SSSS_1,SSSS_2)){if(qx.core.Setting.get(SSSS_0)){this.debug("Abort: forcing state to be aborted");}}this.setState(SSSS_7);}},timeout:function(){var vImplementation=this.getImplementation();if(vImplementation){this.warn("Timeout: implementation "+vImplementation.toHashCode());vImplementation.timeout();}else{this.warn("Timeout: forcing state to timeout");this.setState(SSSS_8);}this.__hy();},__hy:function(){var vRequest=this.getRequest();if(vRequest){vRequest.setTimeout(0);}},_onsending:function(e){this.setState(SSSS_4);},_onreceiving:function(e){this.setState(SSSS_6);},_oncompleted:function(e){this.setState(SSSS_5);},_onabort:function(e){this.setState(SSSS_7);},_onfailed:function(e){this.setState(SSSS_3);},_ontimeout:function(e){this.setState(SSSS_8);},_applyImplementation:function(value,old){if(old){old.removeListener(SSSS_4,this._onsending,this);old.removeListener(SSSS_6,this._onreceiving,this);old.removeListener(SSSS_5,this._oncompleted,this);old.removeListener(SSSS_7,this._onabort,this);old.removeListener(SSSS_8,this._ontimeout,this);old.removeListener(SSSS_3,this._onfailed,this);}if(value){var vRequest=this.getRequest();value.setUrl(vRequest.getUrl());value.setMethod(vRequest.getMethod());value.setAsynchronous(vRequest.getAsynchronous());value.setUsername(vRequest.getUsername());value.setPassword(vRequest.getPassword());value.setParameters(vRequest.getParameters());value.setFormFields(vRequest.getFormFields());value.setRequestHeaders(vRequest.getRequestHeaders());value.setData(vRequest.getData());value.setResponseType(vRequest.getResponseType());value.addListener(SSSS_4,this._onsending,this);value.addListener(SSSS_6,this._onreceiving,this);value.addListener(SSSS_5,this._oncompleted,this);value.addListener(SSSS_7,this._onabort,this);value.addListener(SSSS_8,this._ontimeout,this);value.addListener(SSSS_3,this._onfailed,this);}},_applyState:function(value,old){if(qx.core.Variant.isSet(SSSS_1,SSSS_2)){if(qx.core.Setting.get(SSSS_0)){this.debug("State: "+old+" => "+value);}}switch(value){case SSSS_4:this.fireEvent(SSSS_4);break;case SSSS_6:this.fireEvent(SSSS_6);break;case SSSS_5:case SSSS_7:case SSSS_8:case SSSS_3:var vImpl=this.getImplementation();if(!vImpl){break;}this.__hy();if(this.hasListener(value)){var vResponse=qx.event.Registration.createEvent(value,qx.io.remote.Response);if(value==SSSS_5){var vContent=vImpl.getResponseContent();vResponse.setContent(vContent);if(vContent===null){if(qx.core.Variant.isSet(SSSS_1,SSSS_2)){if(qx.core.Setting.get(SSSS_0)){this.debug("Altered State: "+value+" => failed");}}value=SSSS_3;}}else if(value==SSSS_3){vResponse.setContent(vImpl.getResponseContent());}vResponse.setStatusCode(vImpl.getStatusCode());vResponse.setResponseHeaders(vImpl.getResponseHeaders());this.dispatchEvent(vResponse);}this.setImplementation(null);vImpl.dispose();break;}}},settings:{"qx.ioRemoteDebug":false,"qx.ioRemoteDebugData":false},destruct:function(){var vImpl=this.getImplementation();if(vImpl){this.setImplementation(null);vImpl.dispose();}this.setRequest(null);}});})();(function(){var SSSS_0="qx.event.type.Event",SSSS_1="String",SSSS_2="qx.ioRemoteDebug",SSSS_3="qx.debug",SSSS_4="failed",SSSS_5="timeout",SSSS_6="on",SSSS_7="created",SSSS_8="aborted",SSSS_9="sending",SSSS_10="configured",SSSS_11="receiving",SSSS_12="completed",SSSS_13="Object",SSSS_14="Boolean",SSSS_15="abstract",SSSS_16="_applyState",SSSS_17="GET",SSSS_18="changeState",SSSS_19="qx.io.remote.transport.Abstract";qx.Class.define(SSSS_19,{type:SSSS_15,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.setRequestHeaders({});this.setParameters({});this.setFormFields({});},events:{"created":SSSS_0,"configured":SSSS_0,"sending":SSSS_0,"receiving":SSSS_0,"completed":SSSS_0,"aborted":SSSS_0,"failed":SSSS_0,"timeout":SSSS_0},properties:{url:{check:SSSS_1,nullable:true},method:{check:SSSS_1,nullable:true,init:SSSS_17},asynchronous:{check:SSSS_14,nullable:true,init:true},data:{check:SSSS_1,nullable:true},username:{check:SSSS_1,nullable:true},password:{check:SSSS_1,nullable:true},state:{check:[SSSS_7,SSSS_10,SSSS_9,SSSS_11,SSSS_12,SSSS_8,SSSS_5,SSSS_4],init:SSSS_7,event:SSSS_18,apply:SSSS_16},requestHeaders:{check:SSSS_13,nullable:true},parameters:{check:SSSS_13,nullable:true},formFields:{check:SSSS_13,nullable:true},responseType:{check:SSSS_1,nullable:true},useBasicHttpAuth:{check:SSSS_14,nullable:true}},members:{send:function(){throw new Error("send is abstract");},abort:function(){if(qx.core.Variant.isSet(SSSS_3,SSSS_6)){if(qx.core.Setting.get(SSSS_2)){this.warn("Aborting...");}}this.setState(SSSS_8);},timeout:function(){if(qx.core.Variant.isSet(SSSS_3,SSSS_6)){if(qx.core.Setting.get(SSSS_2)){this.warn("Timeout...");}}this.setState(SSSS_5);},failed:function(){if(qx.core.Variant.isSet(SSSS_3,SSSS_6)){if(qx.core.Setting.get(SSSS_2)){this.warn("Failed...");}}this.setState(SSSS_4);},setRequestHeader:function(vLabel,vValue){throw new Error("setRequestHeader is abstract");},getResponseHeader:function(vLabel){throw new Error("getResponseHeader is abstract");},getResponseHeaders:function(){throw new Error("getResponseHeaders is abstract");},getStatusCode:function(){throw new Error("getStatusCode is abstract");},getStatusText:function(){throw new Error("getStatusText is abstract");},getResponseText:function(){throw new Error("getResponseText is abstract");},getResponseXml:function(){throw new Error("getResponseXml is abstract");},getFetchedLength:function(){throw new Error("getFetchedLength is abstract");},_applyState:function(value,old){if(qx.core.Variant.isSet(SSSS_3,SSSS_6)){if(qx.core.Setting.get(SSSS_2)){this.debug("State: "+value);}}switch(value){case SSSS_7:this.fireEvent(SSSS_7);break;case SSSS_10:this.fireEvent(SSSS_10);break;case SSSS_9:this.fireEvent(SSSS_9);break;case SSSS_11:this.fireEvent(SSSS_11);break;case SSSS_12:this.fireEvent(SSSS_12);break;case SSSS_8:this.fireEvent(SSSS_8);break;case SSSS_4:this.fireEvent(SSSS_4);break;case SSSS_5:this.fireEvent(SSSS_5);break;}return true;}}});})();(function(){var SSSS_0="qx.debug",SSSS_1="on",SSSS_2="qx.ioRemoteDebugData",SSSS_3="failed",SSSS_4="qx.ioRemoteDebug",SSSS_5="completed",SSSS_6="=",SSSS_7="aborted",SSSS_8="",SSSS_9="sending",SSSS_10="&",SSSS_11="configured",SSSS_12="timeout",SSSS_13="application/xml",SSSS_14="qx.io.remote.transport.XmlHttp",SSSS_15="application/json",SSSS_16="text/html",SSSS_17="qx.client",SSSS_18="receiving",SSSS_19="text/plain",SSSS_20="text/javascript",SSSS_21="created",SSSS_22="?",SSSS_23='Referer',SSSS_24='Basic ',SSSS_25="\n</pre>",SSSS_26="string",SSSS_27='Authorization',SSSS_28="<pre>Could not execute json: \n",SSSS_29="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",SSSS_30=':',SSSS_31="parseerror",SSSS_32="file:",SSSS_33="webkit",SSSS_34="object";qx.Class.define(SSSS_14,{extend:qx.io.remote.transport.Abstract,statics:{handles:{synchronous:true,asynchronous:true,crossDomain:false,fileUpload:false,programaticFormFields:false,responseTypes:[SSSS_19,SSSS_20,SSSS_15,SSSS_13,SSSS_16]},requestObjects:[],requestObjectCount:0,createRequestObject:qx.core.Variant.select(SSSS_17,{"default":function(){return new XMLHttpRequest;},"mshtml":function(){if(window.ActiveXObject&&qx.xml.Document.XMLHTTP){return new ActiveXObject(qx.xml.Document.XMLHTTP);}if(window.XMLHttpRequest){return new XMLHttpRequest;}}}),isSupported:function(){return !!this.createRequestObject();}},members:{__hz:false,__hA:0,__hB:null,getRequest:function(){if(this.__hB===null){this.__hB=qx.io.remote.transport.XmlHttp.createRequestObject();this.__hB.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);}return this.__hB;},send:function(){this.__hA=0;var vRequest=this.getRequest();var vMethod=this.getMethod();var vAsynchronous=this.getAsynchronous();var vUrl=this.getUrl();var vLocalRequest=(window.location.protocol===SSSS_32&&!(/^http(s){0,1}\:/.test(vUrl)));this.__hz=vLocalRequest;var vParameters=this.getParameters(false);var vParametersList=[];for(var vId in vParameters){var value=vParameters[vId];if(value instanceof Array){for(var i=0;i<value.length;i++){vParametersList.push(encodeURIComponent(vId)+SSSS_6+encodeURIComponent(value[i]));}}else{vParametersList.push(encodeURIComponent(vId)+SSSS_6+encodeURIComponent(value));}}if(vParametersList.length>0){vUrl+=(vUrl.indexOf(SSSS_22)>=0?SSSS_10:SSSS_22)+vParametersList.join(SSSS_10);}if(this.getData()===null){var vParameters=this.getParameters(true);var vParametersList=[];for(var vId in vParameters){var value=vParameters[vId];if(value instanceof Array){for(var i=0;i<value.length;i++){vParametersList.push(encodeURIComponent(vId)+SSSS_6+encodeURIComponent(value[i]));}}else{vParametersList.push(encodeURIComponent(vId)+SSSS_6+encodeURIComponent(value));}}if(vParametersList.length>0){this.setData(vParametersList.join(SSSS_10));}}var encode64=function(input){var keyStr=SSSS_29;var output=SSSS_8;var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;do{chr1=input.charCodeAt(i++);chr2=input.charCodeAt(i++);chr3=input.charCodeAt(i++);enc1=chr1>>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64;}else if(isNaN(chr3)){enc4=64;}output+=keyStr.charAt(enc1)+keyStr.charAt(enc2)+keyStr.charAt(enc3)+keyStr.charAt(enc4);}while(i<input.length);return output;};try{if(this.getUsername()){if(this.getUseBasicHttpAuth()){vRequest.open(vMethod,vUrl,vAsynchronous);vRequest.setRequestHeader(SSSS_27,SSSS_24+encode64(this.getUsername()+SSSS_30+this.getPassword()));}else{vRequest.open(vMethod,vUrl,vAsynchronous,this.getUsername(),this.getPassword());}}else{vRequest.open(vMethod,vUrl,vAsynchronous);}}catch(ex){this.error("Failed with exception: "+ex);this.failed();return;}if(!qx.core.Variant.isSet(SSSS_17,SSSS_33)){vRequest.setRequestHeader(SSSS_23,window.location.href);}var vRequestHeaders=this.getRequestHeaders();for(var vId in vRequestHeaders){vRequest.setRequestHeader(vId,vRequestHeaders[vId]);}try{if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_2)){this.debug("Request: "+this.getData());}}vRequest.send(this.getData());}catch(ex){if(vLocalRequest){this.failedLocally();}else{this.error("Failed to send data: "+ex,"send");this.failed();}return;}if(!vAsynchronous){this._onreadystatechange();}},failedLocally:function(){if(this.getState()===SSSS_3){return;}this.warn("Could not load from file: "+this.getUrl());this.failed();},_onreadystatechange:qx.event.GlobalError.observeMethod(function(e){switch(this.getState()){case SSSS_5:case SSSS_7:case SSSS_3:case SSSS_12:if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_4)){this.warn("Ignore Ready State Change");}}return;}var vReadyState=this.getReadyState();if(vReadyState==4){if(!qx.io.remote.Exchange.wasSuccessful(this.getStatusCode(),vReadyState,this.__hz)){if(this.getState()===SSSS_11){this.setState(SSSS_9);}return this.failed();}}while(this.__hA<vReadyState){this.setState(qx.io.remote.Exchange._nativeMap[++this.__hA]);}}),getReadyState:function(){var vReadyState=null;try{vReadyState=this.getRequest().readyState;}catch(ex){}return vReadyState;},setRequestHeader:function(vLabel,vValue){this.getRequestHeaders()[vLabel]=vValue;},getResponseHeader:function(vLabel){var vResponseHeader=null;try{vResponseHeader=this.getRequest().getResponseHeader(vLabel)||null;}catch(ex){}return vResponseHeader;},getStringResponseHeaders:function(){var vSourceHeader=null;try{var vLoadHeader=this.getRequest().getAllResponseHeaders();if(vLoadHeader){vSourceHeader=vLoadHeader;}}catch(ex){}return vSourceHeader;},getResponseHeaders:function(){var vSourceHeader=this.getStringResponseHeaders();var vHeader={};if(vSourceHeader){var vValues=vSourceHeader.split(/[\r\n]+/g);for(var i=0,l=vValues.length;i<l;i++){var vPair=vValues[i].match(/^([^:]+)\s*:\s*(.+)$/i);if(vPair){vHeader[vPair[1]]=vPair[2];}}}return vHeader;},getStatusCode:function(){var vStatusCode=-1;try{vStatusCode=this.getRequest().status;}catch(ex){}return vStatusCode;},getStatusText:function(){var vStatusText=SSSS_8;try{vStatusText=this.getRequest().statusText;}catch(ex){}return vStatusText;},getResponseText:function(){var vResponseText=null;try{vResponseText=this.getRequest().responseText;}catch(ex){vResponseText=null;}return vResponseText;},getResponseXml:function(){var vResponseXML=null;var vStatus=this.getStatusCode();var vReadyState=this.getReadyState();if(qx.io.remote.Exchange.wasSuccessful(vStatus,vReadyState,this.__hz)){try{vResponseXML=this.getRequest().responseXML;}catch(ex){}}if(typeof vResponseXML==SSSS_34&&vResponseXML!=null){if(!vResponseXML.documentElement){var s=String(this.getRequest().responseText).replace(/<\?xml[^\?]*\?>/,SSSS_8);vResponseXML.loadXML(s);}if(!vResponseXML.documentElement){throw new Error("Missing Document Element!");}if(vResponseXML.documentElement.tagName==SSSS_31){throw new Error("XML-File is not well-formed!");}}else{throw new Error("Response was not a valid xml document ["+this.getRequest().responseText+"]");}return vResponseXML;},getFetchedLength:function(){var vText=this.getResponseText();return typeof vText==SSSS_26?vText.length:0;},getResponseContent:function(){var state=this.getState();if(state!==SSSS_5&&state!=SSSS_3){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_4)){this.warn("Transfer not complete or failed, ignoring content!");}}return null;}if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_4)){this.debug("Returning content for responseType: "+this.getResponseType());}}var vText=this.getResponseText();if(state==SSSS_3){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_2)){this.debug("Failed: "+vText);}}return vText;}switch(this.getResponseType()){case SSSS_19:case SSSS_16:if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_2)){this.debug("Response: "+vText);}}return vText;case SSSS_15:if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_2)){this.debug("Response: "+vText);}}try{if(vText&&vText.length>0){var ret=qx.util.Json.parse(vText,false);return (ret===0?0:(ret||null));}else{return null;}}catch(ex){this.error("Could not execute json: ["+vText+"]",ex);return SSSS_28+vText+SSSS_25;}case SSSS_20:if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_2)){this.debug("Response: "+vText);}}try{if(vText&&vText.length>0){var ret=window.eval(vText);return (ret===0?0:(ret||null));}else{return null;}}catch(ex){this.error("Could not execute javascript: ["+vText+"]",ex);return null;}case SSSS_13:vText=this.getResponseXml();if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_2)){this.debug("Response: "+vText);}}return (vText===0?0:(vText||null));default:this.warn("No valid responseType specified ("+this.getResponseType()+")!");return null;}},_applyState:function(value,old){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_4)){this.debug("State: "+value);}}switch(value){case SSSS_21:this.fireEvent(SSSS_21);break;case SSSS_11:this.fireEvent(SSSS_11);break;case SSSS_9:this.fireEvent(SSSS_9);break;case SSSS_18:this.fireEvent(SSSS_18);break;case SSSS_5:this.fireEvent(SSSS_5);break;case SSSS_3:this.fireEvent(SSSS_3);break;case SSSS_7:this.getRequest().abort();this.fireEvent(SSSS_7);break;case SSSS_12:this.getRequest().abort();this.fireEvent(SSSS_12);break;}}},defer:function(statics,members){qx.io.remote.Exchange.registerType(qx.io.remote.transport.XmlHttp,SSSS_14);},destruct:function(){var vRequest=this.getRequest();if(vRequest){vRequest.onreadystatechange=qx.lang.Function.empty;switch(vRequest.readyState){case 1:case 2:case 3:vRequest.abort();}}this.__hB=null;}});})();(function(){var SSSS_0="qx.debug",SSSS_1="on",SSSS_2="qx.ioRemoteDebugData",SSSS_3="=",SSSS_4="&",SSSS_5="application/xml",SSSS_6="application/json",SSSS_7="text/html",SSSS_8="qx.ioRemoteDebug",SSSS_9="qx.client",SSSS_10="textarea",SSSS_11="none",SSSS_12="text/plain",SSSS_13="text/javascript",SSSS_14="",SSSS_15="completed",SSSS_16="?",SSSS_17="qx.io.remote.transport.Iframe",SSSS_18="gecko",SSSS_19="frame_",SSSS_20="aborted",SSSS_21="_data_",SSSS_22="pre",SSSS_23="javascript:void(0)",SSSS_24="sending",SSSS_25="form",SSSS_26="failed",SSSS_27='<iframe name="',SSSS_28="mshtml",SSSS_29="form_",SSSS_30='"></iframe>',SSSS_31="iframe",SSSS_32="timeout",SSSS_33="qx/static/blank.gif";qx.Class.define(SSSS_17,{extend:qx.io.remote.transport.Abstract,construct:function(){arguments.callee.base.call(this);var vUniqueId=(new Date).valueOf();var vFrameName=SSSS_19+vUniqueId;var vFormName=SSSS_29+vUniqueId;if(qx.core.Variant.isSet(SSSS_9,SSSS_28)){this.__hC=document.createElement(SSSS_27+vFrameName+SSSS_30);}else{this.__hC=document.createElement(SSSS_31);}this.__hC.src=SSSS_23;this.__hC.id=this.__hC.name=vFrameName;this.__hC.onload=qx.lang.Function.bind(this._onload,this);this.__hC.style.display=SSSS_11;document.body.appendChild(this.__hC);this.__hD=document.createElement(SSSS_25);this.__hD.target=vFrameName;this.__hD.id=this.__hD.name=vFormName;this.__hD.style.display=SSSS_11;document.body.appendChild(this.__hD);this.__hE=document.createElement(SSSS_10);this.__hE.id=this.__hE.name=SSSS_21;this.__hD.appendChild(this.__hE);this.__hC.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);},statics:{handles:{synchronous:false,asynchronous:true,crossDomain:false,fileUpload:true,programaticFormFields:true,responseTypes:[SSSS_12,SSSS_13,SSSS_6,SSSS_5,SSSS_7]},isSupported:function(){return true;},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4}},members:{__hE:null,__hF:0,__hD:null,__hC:null,send:function(){var vMethod=this.getMethod();var vUrl=this.getUrl();var vParameters=this.getParameters(false);var vParametersList=[];for(var vId in vParameters){var value=vParameters[vId];if(value instanceof Array){for(var i=0;i<value.length;i++){vParametersList.push(encodeURIComponent(vId)+SSSS_3+encodeURIComponent(value[i]));}}else{vParametersList.push(encodeURIComponent(vId)+SSSS_3+encodeURIComponent(value));}}if(vParametersList.length>0){vUrl+=(vUrl.indexOf(SSSS_16)>=0?SSSS_4:SSSS_16)+vParametersList.join(SSSS_4);}if(this.getData()===null){var vParameters=this.getParameters(true);var vParametersList=[];for(var vId in vParameters){var value=vParameters[vId];if(value instanceof Array){for(var i=0;i<value.length;i++){vParametersList.push(encodeURIComponent(vId)+SSSS_3+encodeURIComponent(value[i]));}}else{vParametersList.push(encodeURIComponent(vId)+SSSS_3+encodeURIComponent(value));}}if(vParametersList.length>0){this.setData(vParametersList.join(SSSS_4));}}var vFormFields=this.getFormFields();for(var vId in vFormFields){var vField=document.createElement(SSSS_10);vField.name=vId;vField.appendChild(document.createTextNode(vFormFields[vId]));this.__hD.appendChild(vField);}this.__hD.action=vUrl;this.__hD.method=vMethod;this.__hE.appendChild(document.createTextNode(this.getData()));this.__hD.submit();this.setState(SSSS_24);},_onload:qx.event.GlobalError.observeMethod(function(e){if(this.__hD.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.__hC.readyState]);}),_switchReadyState:function(vReadyState){switch(this.getState()){case SSSS_15:case SSSS_20:case SSSS_26:case SSSS_32:this.warn("Ignore Ready State Change");return;}while(this.__hF<vReadyState){this.setState(qx.io.remote.Exchange._nativeMap[++this.__hF]);}},setRequestHeader:function(vLabel,vValue){},getResponseHeader:function(vLabel){return null;},getResponseHeaders:function(){return {};},getStatusCode:function(){return 200;},getStatusText:function(){return SSSS_14;},getIframeWindow:function(){return qx.bom.Iframe.getWindow(this.__hC);},getIframeDocument:function(){return qx.bom.Iframe.getDocument(this.__hC);},getIframeBody:function(){return qx.bom.Iframe.getBody(this.__hC);},getIframeTextContent:function(){var vBody=this.getIframeBody();if(!vBody){return null;}if(!vBody.firstChild){return SSSS_14;}if(vBody.firstChild.tagName&&vBody.firstChild.tagName.toLowerCase()==SSSS_22){return vBody.firstChild.innerHTML;}else{return vBody.innerHTML;}},getIframeHtmlContent:function(){var vBody=this.getIframeBody();return vBody?vBody.innerHTML:null;},getFetchedLength:function(){return 0;},getResponseContent:function(){if(this.getState()!==SSSS_15){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_8)){this.warn("Transfer not complete, ignoring content!");}}return null;}if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_8)){this.debug("Returning content for responseType: "+this.getResponseType());}}var vText=this.getIframeTextContent();switch(this.getResponseType()){case SSSS_12:if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_2)){this.debug("Response: "+this._responseContent);}}return vText;break;case SSSS_7:vText=this.getIframeHtmlContent();if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_2)){this.debug("Response: "+this._responseContent);}}return vText;break;case SSSS_6:vText=this.getIframeHtmlContent();if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_2)){this.debug("Response: "+this._responseContent);}}try{return vText&&vText.length>0?qx.util.Json.parse(vText,false):null;}catch(ex){return this.error("Could not execute json: ("+vText+")",ex);}case SSSS_13:vText=this.getIframeHtmlContent();if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_2)){this.debug("Response: "+this._responseContent);}}try{return vText&&vText.length>0?window.eval(vText):null;}catch(ex){return this.error("Could not execute javascript: ("+vText+")",ex);}case SSSS_5:vText=this.getIframeDocument();if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_2)){this.debug("Response: "+this._responseContent);}}return vText;default:this.warn("No valid responseType specified ("+this.getResponseType()+")!");return null;}}},defer:function(statics,members,properties){qx.io.remote.Exchange.registerType(qx.io.remote.transport.Iframe,SSSS_17);},destruct:function(){if(this.__hC){this.__hC.onload=null;this.__hC.onreadystatechange=null;if(qx.core.Variant.isSet(SSSS_9,SSSS_18)){this.__hC.src=qx.util.ResourceManager.getInstance().toUri(SSSS_33);}document.body.removeChild(this.__hC);}if(this.__hD){document.body.removeChild(this.__hD);}this.__hC=this.__hD=null;}});})();(function(){var SSSS_0="qx.event.handler.Iframe",SSSS_1="load",SSSS_2="iframe";qx.Class.define(SSSS_0,{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{load:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:false,onevent:qx.event.GlobalError.observeMethod(function(target){qx.event.Registration.fireEvent(target,SSSS_1);})},members:{canHandleEvent:function(target,type){return target.tagName.toLowerCase()===SSSS_2;},registerEvent:function(target,type,capture){},unregisterEvent:function(target,type,capture){}},defer:function(statics){qx.event.Registration.addHandler(statics);}});})();(function(){var SSSS_0="qx.client",SSSS_1="webkit",SSSS_2="body",SSSS_3="iframe",SSSS_4="qx.bom.Iframe";qx.Class.define(SSSS_4,{statics:{DEFAULT_ATTRIBUTES:{onload:"qx.event.handler.Iframe.onevent(this)",frameBorder:0,frameSpacing:0,marginWidth:0,marginHeight:0,hspace:0,vspace:0,border:0,allowTransparency:true},create:function(attributes,win){var attributes=attributes?qx.lang.Object.clone(attributes):{};var initValues=qx.bom.Iframe.DEFAULT_ATTRIBUTES;for(var key in initValues){if(attributes[key]==null){attributes[key]=initValues[key];}}return qx.bom.Element.create(SSSS_3,attributes,win);},getWindow:qx.core.Variant.select(SSSS_0,{"mshtml|gecko":function(iframe){try{return iframe.contentWindow;}catch(ex){return null;}},"default":function(iframe){try{var doc=this.getDocument(iframe);return doc?doc.defaultView:null;}catch(ex){return null;}}}),getDocument:qx.core.Variant.select(SSSS_0,{"mshtml":function(iframe){try{var win=this.getWindow(iframe);return win?win.document:null;}catch(ex){return null;}},"default":function(iframe){try{return iframe.contentDocument;}catch(ex){return null;}}}),getBody:function(iframe){try{var doc=this.getDocument(iframe);return doc?doc.getElementsByTagName(SSSS_2)[0]:null;}catch(ex){return null;}},setSource:function(iframe,source){try{if(this.getWindow(iframe)&&qx.dom.Hierarchy.isRendered(iframe)){try{if(qx.core.Variant.isSet(SSSS_0,SSSS_1)&&qx.bom.client.Platform.MAC){var contentWindow=this.getContentWindow();if(contentWindow){contentWindow.stop();}}this.getWindow(iframe).location.replace(source);}catch(ex){iframe.src=source;}}else{iframe.src=source;}}catch(ex){qx.log.Logger.warn("Iframe source could not be set!");}},queryCurrentUrl:function(iframe){var doc=this.getDocument(iframe);try{if(doc&&doc.location){return doc.location.href;}}catch(ex){}return null;}}});})();(function(){var SSSS_0="/",SSSS_1="mshtml",SSSS_2="",SSSS_3="qx.client",SSSS_4="?",SSSS_5="string",SSSS_6="qx.util.ResourceManager",SSSS_7="singleton";qx.Class.define(SSSS_6,{extend:qx.core.Object,type:SSSS_7,statics:{__hG:qx.$$resources||{},__hH:{}},members:{has:function(id){return !!arguments.callee.self.__hG[id];},getData:function(id){return arguments.callee.self.__hG[id]||null;},getImageWidth:function(id){var entry=arguments.callee.self.__hG[id];return entry?entry[0]:null;},getImageHeight:function(id){var entry=arguments.callee.self.__hG[id];return entry?entry[1]:null;},getImageFormat:function(id){var entry=arguments.callee.self.__hG[id];return entry?entry[2]:null;},isClippedImage:function(id){var entry=arguments.callee.self.__hG[id];return entry&&entry.length>4;},toUri:function(id){if(id==null){return id;}var entry=arguments.callee.self.__hG[id];if(!entry){return id;}if(typeof entry===SSSS_5){var lib=entry;}else{var lib=entry[3];if(!lib){return id;}}var urlPrefix=SSSS_2;if(qx.core.Variant.isSet(SSSS_3,SSSS_1)&&qx.bom.client.Feature.SSL){urlPrefix=arguments.callee.self.__hH[lib];}return urlPrefix+qx.$$libraries[lib].resourceUri+SSSS_0+id;}},defer:function(statics){if(qx.core.Variant.isSet(SSSS_3,SSSS_1)){if(qx.bom.client.Feature.SSL){for(var lib in qx.$$libraries){var resourceUri;if(qx.$$libraries[lib].resourceUri){resourceUri=qx.$$libraries[lib].resourceUri;}else{statics.__hH[lib]=SSSS_2;continue;}if(resourceUri.match(/^\/\//)!=null){statics.__hH[lib]=window.location.protocol;}else if(resourceUri.match(/^\.\//)!=null){var url=document.URL;statics.__hH[lib]=url.substring(0,url.lastIndexOf(SSSS_0)+1);}else if(resourceUri.match(/^http/)!=null){}else{var index=window.location.href.indexOf(SSSS_4);var href;if(index==-1){href=window.location.href;}else{href=window.location.href.substring(0,index);}statics.__hH[lib]=href.substring(0,href.lastIndexOf(SSSS_0)+1);}}}}}});})();(function(){var SSSS_0="qx.debug",SSSS_1="on",SSSS_2="&",SSSS_3="=",SSSS_4="qx.ioRemoteDebug",SSSS_5="application/json",SSSS_6="completed",SSSS_7="text/plain",SSSS_8="qx.ioRemoteDebugData",SSSS_9="text/javascript",SSSS_10="?",SSSS_11="qx.io.remote.transport.Script",SSSS_12="",SSSS_13="_ScriptTransport_data",SSSS_14="failed",SSSS_15="script",SSSS_16="timeout",SSSS_17="_ScriptTransport_",SSSS_18="_ScriptTransport_id",SSSS_19="aborted",SSSS_20="utf-8";qx.Class.define(SSSS_11,{extend:qx.io.remote.transport.Abstract,construct:function(){arguments.callee.base.call(this);var vUniqueId=++qx.io.remote.transport.Script.__hI;if(vUniqueId>=2000000000){qx.io.remote.transport.Script.__hI=vUniqueId=1;}this.__hJ=null;this.__hI=vUniqueId;},statics:{__hI:0,_instanceRegistry:{},ScriptTransport_PREFIX:SSSS_17,ScriptTransport_ID_PARAM:SSSS_18,ScriptTransport_DATA_PARAM:SSSS_13,handles:{synchronous:false,asynchronous:true,crossDomain:true,fileUpload:false,programaticFormFields:false,responseTypes:[SSSS_7,SSSS_9,SSSS_5]},isSupported:function(){return true;},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4},_requestFinished:qx.event.GlobalError.observeMethod(function(id,content){var vInstance=qx.io.remote.transport.Script._instanceRegistry[id];if(vInstance==null){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_4)){this.warn("Request finished for an unknown instance (probably aborted or timed out before)");}}}else{vInstance._responseContent=content;vInstance._switchReadyState(qx.io.remote.transport.Script._numericMap.complete);}})},members:{__hK:0,__hJ:null,__hI:null,send:function(){var vUrl=this.getUrl();vUrl+=(vUrl.indexOf(SSSS_10)>=0?SSSS_2:SSSS_10)+qx.io.remote.transport.Script.ScriptTransport_ID_PARAM+SSSS_3+this.__hI;var vParameters=this.getParameters();var vParametersList=[];for(var vId in vParameters){if(vId.indexOf(qx.io.remote.transport.Script.ScriptTransport_PREFIX)==0){this.error("Illegal parameter name. The following prefix is used internally by qooxdoo): "+qx.io.remote.transport.Script.ScriptTransport_PREFIX);}var value=vParameters[vId];if(value instanceof Array){for(var i=0;i<value.length;i++){vParametersList.push(encodeURIComponent(vId)+SSSS_3+encodeURIComponent(value[i]));}}else{vParametersList.push(encodeURIComponent(vId)+SSSS_3+encodeURIComponent(value));}}if(vParametersList.length>0){vUrl+=SSSS_2+vParametersList.join(SSSS_2);}var vData=this.getData();if(vData!=null){vUrl+=SSSS_2+qx.io.remote.transport.Script.ScriptTransport_DATA_PARAM+SSSS_3+encodeURIComponent(vData);}qx.io.remote.transport.Script._instanceRegistry[this.__hI]=this;this.__hJ=document.createElement(SSSS_15);this.__hJ.charset=SSSS_20;this.__hJ.src=vUrl;if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_8)){this.debug("Request: "+vUrl);}}document.body.appendChild(this.__hJ);},_switchReadyState:function(vReadyState){switch(this.getState()){case SSSS_6:case SSSS_19:case SSSS_14:case SSSS_16:this.warn("Ignore Ready State Change");return;}while(this.__hK<vReadyState){this.setState(qx.io.remote.Exchange._nativeMap[++this.__hK]);}},setRequestHeader:function(vLabel,vValue){},getResponseHeader:function(vLabel){return null;},getResponseHeaders:function(){return {};},getStatusCode:function(){return 200;},getStatusText:function(){return SSSS_12;},getFetchedLength:function(){return 0;},getResponseContent:function(){if(this.getState()!==SSSS_6){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_4)){this.warn("Transfer not complete, ignoring content!");}}return null;}if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_4)){this.debug("Returning content for responseType: "+this.getResponseType());}}switch(this.getResponseType()){case SSSS_7:case SSSS_5:case SSSS_9:if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(qx.core.Setting.get(SSSS_8)){this.debug("Response: "+this._responseContent);}}var ret=this._responseContent;return (ret===0?0:(ret||null));default:this.warn("No valid responseType specified ("+this.getResponseType()+")!");return null;}}},defer:function(statics,members,properties){qx.io.remote.Exchange.registerType(qx.io.remote.transport.Script,SSSS_11);},destruct:function(){if(this.__hJ){delete qx.io.remote.transport.Script._instanceRegistry[this.__hI];document.body.removeChild(this.__hJ);}this.__hJ=this._responseContent=null;}});})();(function(){var SSSS_0="Integer",SSSS_1="Object",SSSS_2="qx.io.remote.Response";qx.Class.define(SSSS_2,{extend:qx.event.type.Event,properties:{state:{check:SSSS_0,nullable:true},statusCode:{check:SSSS_0,nullable:true},content:{nullable:true},responseHeaders:{check:SSSS_1,nullable:true}},members:{clone:function(embryo){var clone=arguments.callee.base.call(this,embryo);clone.setType(this.getType());clone.setState(this.getState());clone.setStatusCode(this.getStatusCode());clone.setContent(this.getContent());clone.setResponseHeaders(this.getResponseHeaders());return clone;},getResponseHeader:function(vHeader){var vAll=this.getResponseHeaders();if(vAll){return vAll[vHeader]||null;}return null;}}});})();(function(){var SSSS_0="qx.locale.MTranslation";qx.Mixin.define(SSSS_0,{members:{tr:function(messageId,varargs){var nlsManager=qx.locale.Manager;if(nlsManager){return nlsManager.tr.apply(nlsManager,arguments);}throw new Error("To enable localization please include qx.locale.Manager into your build!");},trn:function(singularMessageId,pluralMessageId,count,varargs){var nlsManager=qx.locale.Manager;if(nlsManager){return nlsManager.trn.apply(nlsManager,arguments);}throw new Error("To enable localization please include qx.locale.Manager into your build!");},trc:function(hint,messageId,varargs){var nlsManager=qx.locale.Manager;if(nlsManager){return nlsManager.trc.apply(nlsManager,arguments);}throw new Error("To enable localization please include qx.locale.Manager into your build!");},marktr:function(messageId){var nlsManager=qx.locale.Manager;if(nlsManager){return nlsManager.marktr.apply(nlsManager,arguments);}throw new Error("To enable localization please include qx.locale.Manager into your build!");}}});})();(function(){var SSSS_0="qx.debug",SSSS_1="qx.ui.core.DecoratorFactory",SSSS_2="qxType",SSSS_3="",SSSS_4="decorator",SSSS_5="$$nopool$$",SSSS_6="qx.ui.core.DecoratorFactory[",SSSS_7="] ",SSSS_8="on",SSSS_9="keys: ",SSSS_10=", elements: ";qx.Class.define(SSSS_1,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.__hL={};},statics:{MAX_SIZE:15,__hM:SSSS_5},members:{__hL:null,getDecoratorElement:function(decorator){var clazz=qx.ui.core.DecoratorFactory;if(qx.lang.Type.isString(decorator)){var id=decorator;var decoratorInstance=qx.theme.manager.Decoration.getInstance().resolve(decorator);}else{var id=clazz.__hM;decoratorInstance=decorator;}var pool=this.__hL;if(pool[id]&&pool[id].length>0){var element=pool[id].pop();}else{var element=this._createDecoratorElement(decoratorInstance,id);}element.$$pooled=false;return element;},poolDecorator:function(decoratorElement){if(!decoratorElement||decoratorElement.$$pooled){return;}var clazz=qx.ui.core.DecoratorFactory;var id=decoratorElement.getId();if(id==clazz.__hM){decoratorElement.dispose();return;}var pool=this.__hL;if(!pool[id]){pool[id]=[];}if(pool[id].length>clazz.MAX_SIZE){decoratorElement.dispose();}else{decoratorElement.$$pooled=true;pool[id].push(decoratorElement);}},_createDecoratorElement:function(decorator,id){var element=new qx.html.Decorator(decorator,id);if(qx.core.Variant.isSet(SSSS_0,SSSS_8)){element.setAttribute(SSSS_2,SSSS_4);}return element;},toString:qx.core.Variant.select(SSSS_0,{"on":function(){var keys=0;var elements=0;for(var key in this.__hL){keys+=1;elements+=this.__hL[key].length;}return [SSSS_6,this.$$hash,SSSS_7,SSSS_9,keys,SSSS_10,elements].join(SSSS_3);},"off":function(){return arguments.callee.base.call(this);}})},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){var pool=this.__hL;for(var key in pool){qx.util.DisposeUtil.disposeArray(pool,key);}}this.__hL=null;}});})();(function(){var SSSS_0="on",SSSS_1="px",SSSS_2="qx.debug",SSSS_3="Boolean",SSSS_4="qx.event.type.Mouse",SSSS_5="qx.event.type.Drag",SSSS_6="visible",SSSS_7="qx.event.type.Focus",SSSS_8="Integer",SSSS_9="excluded",SSSS_10="qx.event.type.Data",SSSS_11="_applyPadding",SSSS_12="qx.event.type.Event",SSSS_13="hidden",SSSS_14="contextmenu",SSSS_15="String",SSSS_16="tabIndex",SSSS_17="backgroundColor",SSSS_18="focused",SSSS_19="changeVisibility",SSSS_20="mshtml",SSSS_21="hovered",SSSS_22="qx.event.type.KeySequence",SSSS_23="qxType",SSSS_24="qx.client",SSSS_25="absolute",SSSS_26="drag",SSSS_27="div",SSSS_28="object",SSSS_29="disabled",SSSS_30="move",SSSS_31="dragstart",SSSS_32="qx.dynlocale",SSSS_33="dragchange",SSSS_34="dragend",SSSS_35="resize",SSSS_36="Decorator",SSSS_37="zIndex",SSSS_38="$$widget",SSSS_39="opacity",SSSS_40="default",SSSS_41="Color",SSSS_42="changeToolTipText",SSSS_43="beforeContextmenuOpen",SSSS_44="_applyNativeContextMenu",SSSS_45="content",SSSS_46="__hR",SSSS_47="_applyBackgroundColor",SSSS_48="_applyFocusable",SSSS_49="changeShadow",SSSS_50="qx.event.type.KeyInput",SSSS_51="createChildControl",SSSS_52="__hS",SSSS_53="Invalid left decorator inset detected: ",SSSS_54="Font",SSSS_55="_applyShadow",SSSS_56="Invalid layout data: ",SSSS_57="Could not add widget to itself: ",SSSS_58="_applyEnabled",SSSS_59="_applySelectable",SSSS_60="Number",SSSS_61="_applyKeepActive",SSSS_62="_applyVisibility",SSSS_63="The 'after' widget is not a child of this widget!",SSSS_64="repeat",SSSS_65="qxDraggable",SSSS_66="syncAppearance",SSSS_67="paddingLeft",SSSS_68="__ib",SSSS_69="_applyDroppable",SSSS_70="Wrong 'left' argument. ",SSSS_71="protector",SSSS_72="#",SSSS_73="qx.event.type.MouseWheel",SSSS_74="_applyCursor",SSSS_75="__hT",SSSS_76="_applyDraggable",SSSS_77="changeTextColor",SSSS_78="changeContextMenu",SSSS_79="paddingTop",SSSS_80="changeSelectable",SSSS_81="hideFocus",SSSS_82="Invalid top decorator inset detected: ",SSSS_83="none",SSSS_84="outline",SSSS_85="The 'before' widget is not a child of this widget!",SSSS_86="_applyAppearance",SSSS_87=" returned an invalid size hint!",SSSS_88="_applyOpacity",SSSS_89="url(",SSSS_90=")",SSSS_91="qx.ui.core.Widget",SSSS_92="__hN",SSSS_93="minHeight is larger than maxHeight!",SSSS_94="_applyFont",SSSS_95="cursor",SSSS_96="qxDroppable",SSSS_97="changeZIndex",SSSS_98="changeEnabled",SSSS_99="__hW",SSSS_100="changeFont",SSSS_101="_applyDecorator",SSSS_102="_applyZIndex",SSSS_103="_applyTextColor",SSSS_104="__hO",SSSS_105="qx.ui.menu.Menu",SSSS_106="Invalid right decorator inset detected: ",SSSS_107="Invalid widget to add: ",SSSS_108="_applyToolTipText",SSSS_109="The layout of the widget",SSSS_110="__hY",SSSS_111="true",SSSS_112="widget",SSSS_113="Wrong 'top' argument. ",SSSS_114="qxClass",SSSS_115="changeDecorator",SSSS_116="changeBackgroundColor",SSSS_117="_applyTabIndex",SSSS_118="Invalid bottom decorator inset detected: ",SSSS_119="changeAppearance",SSSS_120="shorthand",SSSS_121="/",SSSS_122="",SSSS_123="_applyContextMenu",SSSS_124="container",SSSS_125="paddingBottom",SSSS_126="changeNativeContextMenu",SSSS_127="qx.ui.tooltip.ToolTip",SSSS_128="qxKeepActive",SSSS_129="_applyKeepFocus",SSSS_130="paddingRight",SSSS_131="minWidth is larger than maxWidth!",SSSS_132="changeLocale",SSSS_133="qxKeepFocus",SSSS_134="qx/static/blank.gif";qx.Class.define(SSSS_91,{extend:qx.ui.core.LayoutItem,include:[qx.locale.MTranslation],construct:function(){arguments.callee.base.call(this);this.__hN=this._createContainerElement();this.__hO=this.__ia();this.__hN.add(this.__hO);this.initFocusable();this.initSelectable();this.initNativeContextMenu();},events:{appear:SSSS_12,disappear:SSSS_12,createChildControl:SSSS_10,resize:SSSS_10,move:SSSS_10,syncAppearance:SSSS_10,mousemove:SSSS_4,mouseover:SSSS_4,mouseout:SSSS_4,mousedown:SSSS_4,mouseup:SSSS_4,click:SSSS_4,dblclick:SSSS_4,contextmenu:SSSS_4,beforeContextmenuOpen:SSSS_4,mousewheel:SSSS_73,keyup:SSSS_22,keydown:SSSS_22,keypress:SSSS_22,keyinput:SSSS_50,focus:SSSS_7,blur:SSSS_7,focusin:SSSS_7,focusout:SSSS_7,activate:SSSS_7,deactivate:SSSS_7,capture:SSSS_12,losecapture:SSSS_12,drop:SSSS_5,dragleave:SSSS_5,dragover:SSSS_5,drag:SSSS_5,dragstart:SSSS_5,dragend:SSSS_5,dragchange:SSSS_5,droprequest:SSSS_5},properties:{paddingTop:{check:SSSS_8,init:0,apply:SSSS_11,themeable:true},paddingRight:{check:SSSS_8,init:0,apply:SSSS_11,themeable:true},paddingBottom:{check:SSSS_8,init:0,apply:SSSS_11,themeable:true},paddingLeft:{check:SSSS_8,init:0,apply:SSSS_11,themeable:true},padding:{group:[SSSS_79,SSSS_130,SSSS_125,SSSS_67],mode:SSSS_120,themeable:true},zIndex:{nullable:true,init:null,apply:SSSS_102,event:SSSS_97,check:SSSS_8,themeable:true},decorator:{nullable:true,init:null,apply:SSSS_101,event:SSSS_115,check:SSSS_36,themeable:true},shadow:{nullable:true,init:null,apply:SSSS_55,event:SSSS_49,check:SSSS_36,themeable:true},backgroundColor:{nullable:true,check:SSSS_41,apply:SSSS_47,event:SSSS_116,themeable:true},textColor:{nullable:true,check:SSSS_41,apply:SSSS_103,event:SSSS_77,themeable:true,inheritable:true},font:{nullable:true,apply:SSSS_94,check:SSSS_54,event:SSSS_100,themeable:true,inheritable:true,dispose:true},opacity:{check:SSSS_60,apply:SSSS_88,themeable:true,nullable:true,init:null},cursor:{check:SSSS_15,apply:SSSS_74,themeable:true,inheritable:true,nullable:true,init:null},toolTip:{check:SSSS_127,nullable:true},toolTipText:{check:SSSS_15,nullable:true,event:SSSS_42,apply:SSSS_108},toolTipIcon:{check:SSSS_15,nullable:true,event:SSSS_42},blockToolTip:{check:SSSS_3,init:false},visibility:{check:[SSSS_6,SSSS_13,SSSS_9],init:SSSS_6,apply:SSSS_62,event:SSSS_19},enabled:{init:true,check:SSSS_3,inheritable:true,apply:SSSS_58,event:SSSS_98},anonymous:{init:false,check:SSSS_3},tabIndex:{check:SSSS_8,nullable:true,apply:SSSS_117},focusable:{check:SSSS_3,init:false,apply:SSSS_48},keepFocus:{check:SSSS_3,init:false,apply:SSSS_129},keepActive:{check:SSSS_3,init:false,apply:SSSS_61},draggable:{check:SSSS_3,init:false,apply:SSSS_76},droppable:{check:SSSS_3,init:false,apply:SSSS_69},selectable:{check:SSSS_3,init:false,event:SSSS_80,apply:SSSS_59},contextMenu:{check:SSSS_105,apply:SSSS_123,nullable:true,event:SSSS_78},nativeContextMenu:{check:SSSS_3,init:false,themeable:true,event:SSSS_126,apply:SSSS_44},appearance:{check:SSSS_15,init:SSSS_112,apply:SSSS_86,event:SSSS_119}},statics:{DEBUG:false,getWidgetByElement:function(element){while(element){var widgetKey=element.$$widget;if(widgetKey!=null){return qx.core.ObjectRegistry.fromHashCode(widgetKey);}element=element.parentNode;}return null;},contains:function(parent,child){while(child){if(parent==child){return true;}child=child.getLayoutParent();}return false;},__hP:new qx.ui.core.DecoratorFactory(),__hQ:new qx.ui.core.DecoratorFactory()},members:{__hN:null,__hO:null,__hR:null,__hS:null,__hT:null,__hU:null,__hV:null,__hW:null,_getLayout:function(){return this.__hW;},_setLayout:function(layout){if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){if(layout){this.assertInstance(layout,qx.ui.layout.Abstract);}}if(this.__hW){this.__hW.connectToWidget(null);}if(layout){layout.connectToWidget(this);}this.__hW=layout;qx.ui.core.queue.Layout.add(this);},setLayoutParent:function(parent){if(this.$$parent===parent){return;}var container=this.getContainerElement();if(this.$$parent&&!this.$$parent.$$disposed){this.$$parent.getContentElement().remove(container);}this.$$parent=parent||null;if(parent&&!parent.$$disposed){this.$$parent.getContentElement().add(container);}qx.core.Property.refresh(this);qx.ui.core.queue.Visibility.add(this);},_updateInsets:null,__hX:function(a,b){if(a==b){return false;}if(a==null||b==null){return true;}var manager=qx.theme.manager.Decoration.getInstance();var first=manager.resolve(a).getInsets();var second=manager.resolve(b).getInsets();if(first.top!=second.top||first.right!=second.right||first.bottom!=second.bottom||first.left!=second.left){return true;}return false;},renderLayout:function(left,top,width,height){var changes=arguments.callee.base.call(this,left,top,width,height);if(!changes){return;}var container=this.getContainerElement();var content=this.getContentElement();var inner=changes.size||this._updateInsets;var pixel=SSSS_1;var containerStyles={};if(changes.position){containerStyles.left=left+pixel;containerStyles.top=top+pixel;}if(changes.size){containerStyles.width=width+pixel;containerStyles.height=height+pixel;}if(changes.position||changes.size){container.setStyles(containerStyles);}if(inner||changes.local||changes.margin){var insets=this.getInsets();var innerWidth=width-insets.left-insets.right;var innerHeight=height-insets.top-insets.bottom;innerWidth=innerWidth<0?0:innerWidth;innerHeight=innerHeight<0?0:innerHeight;}var contentStyles={};if(this._updateInsets){contentStyles.left=insets.left+pixel;contentStyles.top=insets.top+pixel;}if(inner){contentStyles.width=innerWidth+pixel;contentStyles.height=innerHeight+pixel;}if(inner||this._updateInsets){content.setStyles(contentStyles);}if(changes.size){var protector=this.__hT;if(protector){protector.setStyles({width:width+SSSS_1,height:height+SSSS_1});}}if(changes.size||this._updateInsets){if(this.__hR){this.__hR.resize(width,height);}}if(changes.size){if(this.__hS){var insets=this.__hS.getInsets();var shadowWidth=width+insets.left+insets.right;var shadowHeight=height+insets.top+insets.bottom;this.__hS.resize(shadowWidth,shadowHeight);}}if(inner||changes.local||changes.margin){if(this.__hW&&this.hasLayoutChildren()){this.__hW.renderLayout(innerWidth,innerHeight);}else if(this.hasLayoutChildren()){throw new Error("At least one child in control "+this._findTopControl()+" requires a layout, but no one was defined!");}}if(changes.position&&this.hasListener(SSSS_30)){this.fireDataEvent(SSSS_30,this.getBounds());}if(changes.size&&this.hasListener(SSSS_35)){this.fireDataEvent(SSSS_35,this.getBounds());}delete this._updateInsets;return changes;},__hY:null,clearSeparators:function(){var reg=this.__hY;if(!reg){return;}var pool=qx.ui.core.Widget.__hP;var content=this.getContentElement();var elem;for(var i=0,l=reg.length;i<l;i++){elem=reg[i];pool.poolDecorator(elem);content.remove(elem);}reg.length=0;},renderSeparator:function(separator,bounds){var elem=qx.ui.core.Widget.__hP.getDecoratorElement(separator);this.getContentElement().add(elem);elem.resize(bounds.width,bounds.height);elem.setStyles({left:bounds.left+SSSS_1,top:bounds.top+SSSS_1});if(!this.__hY){this.__hY=[elem];}else{this.__hY.push(elem);}},_computeSizeHint:function(){var width=this.getWidth();var minWidth=this.getMinWidth();var maxWidth=this.getMaxWidth();var height=this.getHeight();var minHeight=this.getMinHeight();var maxHeight=this.getMaxHeight();if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){if(minWidth!==null&&maxWidth!==null){this.assert(minWidth<=maxWidth,SSSS_131);}if(minHeight!==null&&maxHeight!==null){this.assert(minHeight<=maxHeight,SSSS_93);}}var contentHint=this._getContentHint();var insets=this.getInsets();var insetX=insets.left+insets.right;var insetY=insets.top+insets.bottom;if(width==null){width=contentHint.width+insetX;}if(height==null){height=contentHint.height+insetY;}if(minWidth==null){minWidth=insetX;if(contentHint.minWidth!=null){minWidth+=contentHint.minWidth;}}if(minHeight==null){minHeight=insetY;if(contentHint.minHeight!=null){minHeight+=contentHint.minHeight;}}if(maxWidth==null){if(contentHint.maxWidth==null){maxWidth=Infinity;}else{maxWidth=contentHint.maxWidth+insetX;}}if(maxHeight==null){if(contentHint.maxHeight==null){maxHeight=Infinity;}else{maxHeight=contentHint.maxHeight+insetY;}}return {width:width,minWidth:minWidth,maxWidth:maxWidth,height:height,minHeight:minHeight,maxHeight:maxHeight};},invalidateLayoutCache:function(){arguments.callee.base.call(this);if(this.__hW){this.__hW.invalidateLayoutCache();}},_getContentHint:function(){var layout=this.__hW;if(layout){if(this.hasLayoutChildren()){var hint=layout.getSizeHint();if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){var msg=SSSS_109+this.toString()+SSSS_87;this.assertInteger(hint.width,SSSS_70+msg);this.assertInteger(hint.height,SSSS_113+msg);}return hint;}else{return {width:0,height:0};}}else{return {width:100,height:50};}},_getHeightForWidth:function(width){var insets=this.getInsets();var insetX=insets.left+insets.right;var insetY=insets.top+insets.bottom;var contentWidth=width-insetX;var layout=this._getLayout();if(layout&&layout.hasHeightForWidth()){var contentHeight=layout.getHeightForWidth(width);}else{contentHeight=this._getContentHeightForWidth(contentWidth);}var height=contentHeight+insetY;return height;},_getContentHeightForWidth:function(width){throw new Error("Abstract method call: _getContentHeightForWidth()!");},getInsets:function(){var top=this.getPaddingTop();var right=this.getPaddingRight();var bottom=this.getPaddingBottom();var left=this.getPaddingLeft();if(this.__hR){var inset=this.__hR.getInsets();if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){this.assertNumber(inset.top,SSSS_82+inset.top);this.assertNumber(inset.right,SSSS_106+inset.right);this.assertNumber(inset.bottom,SSSS_118+inset.bottom);this.assertNumber(inset.left,SSSS_53+inset.left);}top+=inset.top;right+=inset.right;bottom+=inset.bottom;left+=inset.left;}return {"top":top,"right":right,"bottom":bottom,"left":left};},getInnerSize:function(){var computed=this.getBounds();if(!computed){return null;}var insets=this.getInsets();return {width:computed.width-insets.left-insets.right,height:computed.height-insets.top-insets.bottom};},show:function(){this.setVisibility(SSSS_6);},hide:function(){this.setVisibility(SSSS_13);},exclude:function(){this.setVisibility(SSSS_9);},isVisible:function(){return this.getVisibility()===SSSS_6;},isHidden:function(){return this.getVisibility()!==SSSS_6;},isExcluded:function(){return this.getVisibility()===SSSS_9;},isSeeable:function(){var element=this.getContainerElement().getDomElement();if(element){return element.offsetWidth>0;}var current=this;do{if(!current.isVisible()){return false;}if(current.isRootWidget()){return true;}current=current.getLayoutParent();}while(current);return false;},_createContainerElement:function(){var el=new qx.html.Element(SSSS_27);if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){el.setAttribute(SSSS_23,SSSS_124);}el.setStyles({"position":SSSS_25,"zIndex":0});el.setAttribute(SSSS_38,this.toHashCode());if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){el.setAttribute(SSSS_114,this.classname);}return el;},__ia:function(){var el=this._createContentElement();if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){el.setAttribute(SSSS_23,SSSS_45);}el.setStyles({"position":SSSS_25,"zIndex":10});return el;},_createContentElement:function(){var el=new qx.html.Element(SSSS_27);el.setStyles({"overflowX":SSSS_13,"overflowY":SSSS_13});return el;},getContainerElement:function(){return this.__hN;},getContentElement:function(){return this.__hO;},getDecoratorElement:function(){return this.__hR||null;},getShadowElement:function(){return this.__hS||null;},__ib:null,getLayoutChildren:function(){var children=this.__ib;if(!children){return this.__ic;}var layoutChildren;for(var i=0,l=children.length;i<l;i++){var child=children[i];if(child.hasUserBounds()||child.isExcluded()){if(layoutChildren==null){layoutChildren=children.concat();}qx.lang.Array.remove(layoutChildren,child);}}return layoutChildren||children;},scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this);},invalidateLayoutChildren:function(){var layout=this.__hW;if(layout){layout.invalidateChildrenCache();}qx.ui.core.queue.Layout.add(this);},hasLayoutChildren:function(){var children=this.__ib;if(!children){return false;}var child;for(var i=0,l=children.length;i<l;i++){child=children[i];if(!child.hasUserBounds()&&!child.isExcluded()){return true;}}return false;},getChildrenContainer:function(){return this;},__ic:[],_getChildren:function(){return this.__ib||this.__ic;},_indexOf:function(child){var children=this.__ib;if(!children){return -1;}return children.indexOf(child);},_hasChildren:function(){var children=this.__ib;return children!=null&&(!!children[0]);},addChildrenToQueue:function(queue){var children=this.__ib;if(!children){return;}var child;for(var i=0,l=children.length;i<l;i++){child=children[i];queue[child.$$hash]=child;child.addChildrenToQueue(queue);}},_add:function(child,options){if(child.getLayoutParent()==this){qx.lang.Array.remove(this.__ib,child);}if(this.__ib){this.__ib.push(child);}else{this.__ib=[child];}this.__id(child,options);},_addAt:function(child,index,options){if(!this.__ib){this.__ib=[];}if(child.getLayoutParent()==this){qx.lang.Array.remove(this.__ib,child);}var ref=this.__ib[index];if(ref===child){return child.setLayoutProperties(options);}if(ref){qx.lang.Array.insertBefore(this.__ib,child,ref);}else{this.__ib.push(child);}this.__id(child,options);},_addBefore:function(child,before,options){if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){this.assertInArray(before,this._getChildren(),SSSS_85);}if(child==before){return;}if(!this.__ib){this.__ib=[];}if(child.getLayoutParent()==this){qx.lang.Array.remove(this.__ib,child);}qx.lang.Array.insertBefore(this.__ib,child,before);this.__id(child,options);},_addAfter:function(child,after,options){if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){this.assertInArray(after,this._getChildren(),SSSS_63);}if(child==after){return;}if(!this.__ib){this.__ib=[];}if(child.getLayoutParent()==this){qx.lang.Array.remove(this.__ib,child);}qx.lang.Array.insertAfter(this.__ib,child,after);this.__id(child,options);},_remove:function(child){if(!this.__ib){throw new Error("This widget has no children!");}qx.lang.Array.remove(this.__ib,child);this.__ie(child);},_removeAt:function(index){if(!this.__ib){throw new Error("This widget has no children!");}var child=this.__ib[index];qx.lang.Array.removeAt(this.__ib,index);this.__ie(child);return child;},_removeAll:function(){if(!this.__ib){return;}var children=this.__ib.concat();this.__ib.length=0;for(var i=children.length-1;i>=0;i--){this.__ie(children[i]);}qx.ui.core.queue.Layout.add(this);},_afterAddChild:null,_afterRemoveChild:null,__id:function(child,options){if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){this.assertInstance(child,qx.ui.core.LayoutItem,SSSS_107+child);this.assertNotIdentical(child,this,SSSS_57+child);if(options!=null){this.assertType(options,SSSS_28,SSSS_56+options);}}var parent=child.getLayoutParent();if(parent&&parent!=this){parent._remove(child);}child.setLayoutParent(this);if(options){child.setLayoutProperties(options);}else{this.updateLayoutProperties();}if(this._afterAddChild){this._afterAddChild(child);}},__ie:function(child){if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){this.assertNotUndefined(child);}if(child.getLayoutParent()!==this){throw new Error("Remove Error: "+child+" is not a child of this widget!");}child.setLayoutParent(null);if(this.__hW){this.__hW.invalidateChildrenCache();}qx.ui.core.queue.Layout.add(this);if(this._afterRemoveChild){this._afterRemoveChild(child);}},capture:function(containerCapture){this.getContainerElement().capture(containerCapture);},releaseCapture:function(){this.getContainerElement().releaseCapture();},_applyPadding:function(value,old,name){this._updateInsets=true;qx.ui.core.queue.Layout.add(this);},_createProtectorElement:function(){if(this.__hT){return;}var protect=this.__hT=new qx.html.Element;if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){protect.setAttribute(SSSS_23,SSSS_71);}protect.setStyles({position:SSSS_25,top:0,left:0,zIndex:7});var bounds=this.getBounds();if(bounds){this.__hT.setStyles({width:bounds.width+SSSS_1,height:bounds.height+SSSS_1});}if(qx.core.Variant.isSet(SSSS_24,SSSS_20)){protect.setStyles({backgroundImage:SSSS_89+qx.util.ResourceManager.getInstance().toUri(SSSS_134)+SSSS_90,backgroundRepeat:SSSS_64});}this.getContainerElement().add(protect);},_applyDecorator:function(value,old){if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){if(value&&typeof value===SSSS_28){if(qx.ui.core.Widget.DEBUG){this.warn("Decorator instances may increase memory usage and processing time. Often it is better to lay them out to a theme file. Hash code of decorator object: "+value);}}}var pool=qx.ui.core.Widget.__hP;var container=this.getContainerElement();if(!this.__hT&&!qx.bom.client.Feature.CSS_POINTER_EVENTS){this._createProtectorElement();}if(old){container.remove(this.__hR);pool.poolDecorator(this.__hR);}if(value){var elem=this.__hR=pool.getDecoratorElement(value);elem.setStyle(SSSS_37,5);var bgcolor=this.getBackgroundColor();elem.tint(bgcolor);container.add(elem);}else{delete this.__hR;this._applyBackgroundColor(this.getBackgroundColor());}if(value&&!old&&bgcolor){this.getContainerElement().setStyle(SSSS_17,null);}if(this.__hX(old,value)){this._updateInsets=true;qx.ui.core.queue.Layout.add(this);}else if(value){var bounds=this.getBounds();if(bounds){elem.resize(bounds.width,bounds.height);this.__hT&&this.__hT.setStyles({width:bounds.width+SSSS_1,height:bounds.height+SSSS_1});}}},_applyShadow:function(value,old){var pool=qx.ui.core.Widget.__hQ;var container=this.getContainerElement();if(old){container.remove(this.__hS);pool.poolDecorator(this.__hS);}if(value){var elem=this.__hS=pool.getDecoratorElement(value);container.add(elem);var insets=elem.getInsets();elem.setStyles({left:(-insets.left)+SSSS_1,top:(-insets.top)+SSSS_1});var bounds=this.getBounds();if(bounds){var shadowWidth=bounds.width+insets.left+insets.right;var shadowHeight=bounds.height+insets.top+insets.bottom;elem.resize(shadowWidth,shadowHeight);}elem.tint(null);}else{delete this.__hS;}},_applyToolTipText:function(value,old){if(qx.core.Variant.isSet(SSSS_32,SSSS_0)){if(this.__hV){return;}var manager=qx.locale.Manager.getInstance();this.__hV=manager.addListener(SSSS_132,function(){if(value&&value.translate){this.setToolTipText(value.translate());}},this);}},_applyTextColor:function(value,old){},_applyZIndex:function(value,old){this.getContainerElement().setStyle(SSSS_37,value==null?0:value);},_applyVisibility:function(value,old){var container=this.getContainerElement();if(value===SSSS_6){container.show();}else{container.hide();}var parent=this.$$parent;if(parent&&(old==null||value==null||old===SSSS_9||value===SSSS_9)){parent.invalidateLayoutChildren();}qx.ui.core.queue.Visibility.add(this);},_applyOpacity:function(value,old){this.getContainerElement().setStyle(SSSS_39,value==1?null:value);if(qx.core.Variant.isSet(SSSS_24,SSSS_20)){if(!qx.Class.isSubClassOf(this.getContentElement().constructor,qx.html.Image)){var contentElementOpacity=(value==1||value==null)?null:0.99;this.getContentElement().setStyle(SSSS_39,contentElementOpacity);}}},_applyCursor:function(value,old){if(value==null&&!this.isSelectable()){value=SSSS_40;}this.getContainerElement().setStyle(SSSS_95,value,qx.bom.client.Engine.OPERA);},_applyBackgroundColor:function(value,old){var color=this.getBackgroundColor();var container=this.getContainerElement();if(this.__hR){this.__hR.tint(color);container.setStyle(SSSS_17,null);}else{var resolved=qx.theme.manager.Color.getInstance().resolve(color);container.setStyle(SSSS_17,resolved);}},_applyFont:function(value,old){},__if:null,$$stateChanges:null,_forwardStates:null,hasState:function(state){var states=this.__if;return states&&states[state];},addState:function(state){var states=this.__if;if(!states){states=this.__if={};}if(states[state]){return;}this.__if[state]=true;if(state===SSSS_21){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 controls=this.__ii;if(forward&&forward[state]&&controls){var control;for(var id in controls){control=controls[id];if(control instanceof qx.ui.core.Widget){controls[id].addState(state);}}}},removeState:function(state){var states=this.__if;if(!states||!states[state]){return;}delete this.__if[state];if(state===SSSS_21){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 controls=this.__ii;if(forward&&forward[state]&&controls){for(var id in controls){var control=controls[id];if(control instanceof qx.ui.core.Widget){control.removeState(state);}}}},replaceState:function(old,value){var states=this.__if;if(!states){states=this.__if={};}if(!states[value]){states[value]=true;}if(states[old]){delete states[old];}if(!qx.ui.core.queue.Visibility.isVisible(this)){this.$$stateChanges=true;}else{qx.ui.core.queue.Appearance.add(this);}var forward=this._forwardStates;var controls=this.__ii;if(forward&&forward[value]&&controls){for(var id in controls){var control=controls[id];if(control instanceof qx.ui.core.Widget){control.replaceState(old,value);}}}},__ig:null,__ih:null,syncAppearance:function(){var states=this.__if;var selector=this.__ig;var manager=qx.theme.manager.Appearance.getInstance();var styler=qx.core.Property.$$method.setThemed;var unstyler=qx.core.Property.$$method.resetThemed;if(this.__ih){delete this.__ih;if(selector){var oldData=manager.styleFrom(selector,states,null,this.getAppearance());if(oldData){selector=null;}}}if(!selector){var obj=this;var id=[];do{id.push(obj.$$subcontrol||obj.getAppearance());}while(obj=obj.$$subparent);selector=this.__ig=id.reverse().join(SSSS_121).replace(/#[0-9]+/g,SSSS_122);}var newData=manager.styleFrom(selector,states,null,this.getAppearance());if(newData){if(oldData){for(var prop in oldData){if(newData[prop]===undefined){this[unstyler[prop]]();}}}if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){for(var prop in newData){if(!this[styler[prop]]){throw new Error(this.classname+' has no themeable property "'+prop+'" while styling '+selector);}}}for(var prop in newData){newData[prop]===undefined?this[unstyler[prop]]():this[styler[prop]](newData[prop]);}}else if(oldData){for(var prop in oldData){this[unstyler[prop]]();}}this.fireDataEvent(SSSS_66,this.__if);},_applyAppearance:function(value,old){this.updateAppearance();},checkAppearanceNeeds:function(){if(!this.__hU){qx.ui.core.queue.Appearance.add(this);this.__hU=true;}else if(this.$$stateChanges){qx.ui.core.queue.Appearance.add(this);delete this.$$stateChanges;}},updateAppearance:function(){this.__ih=true;qx.ui.core.queue.Appearance.add(this);var controls=this.__ii;if(controls){var obj;for(var id in controls){obj=controls[id];if(obj instanceof qx.ui.core.Widget){obj.updateAppearance();}}}},syncWidget:function(){},getEventTarget:function(){var target=this;while(target.getAnonymous()){target=target.getLayoutParent();if(!target){return null;}}return target;},getFocusTarget:function(){var target=this;if(!target.getEnabled()){return null;}while(target.getAnonymous()||!target.getFocusable()){target=target.getLayoutParent();if(!target||!target.getEnabled()){return null;}}return target;},getFocusElement:function(){return this.getContainerElement();},isTabable:function(){return (!!this.getContainerElement().getDomElement())&&this.isFocusable();},_applyFocusable:function(value,old){var target=this.getFocusElement();if(value){var tabIndex=this.getTabIndex();if(tabIndex==null){tabIndex=1;}target.setAttribute(SSSS_16,tabIndex);if(qx.core.Variant.isSet(SSSS_24,SSSS_20)){target.setAttribute(SSSS_81,SSSS_111);}else{target.setStyle(SSSS_84,SSSS_83);}}else{if(target.isNativelyFocusable()){target.setAttribute(SSSS_16,-1);}else if(old){target.setAttribute(SSSS_16,null);}}},_applyKeepFocus:function(value){var target=this.getFocusElement();target.setAttribute(SSSS_133,value?SSSS_0:null);},_applyKeepActive:function(value){var target=this.getContainerElement();target.setAttribute(SSSS_128,value?SSSS_0:null);},_applyTabIndex:function(value){if(value==null){value=1;}else if(value<1||value>32000){throw new Error("TabIndex property must be between 1 and 32000");}if(this.getFocusable()&&value!=null){this.getFocusElement().setAttribute(SSSS_16,value);}},_applySelectable:function(value){this._applyCursor(this.getCursor());this.getContainerElement().setSelectable(value);this.getContentElement().setSelectable(value);},_applyEnabled:function(value,old){if(value===false){this.addState(SSSS_29);this.removeState(SSSS_21);if(this.isFocusable()){this.removeState(SSSS_18);this._applyFocusable(false,true);}if(this.isDraggable()){this._applyDraggable(false,true);}if(this.isDroppable()){this._applyDroppable(false,true);}}else{this.removeState(SSSS_29);if(this.isFocusable()){this._applyFocusable(true,false);}if(this.isDraggable()){this._applyDraggable(true,false);}if(this.isDroppable()){this._applyDroppable(true,false);}}},_applyNativeContextMenu:function(value,old,name){},_applyContextMenu:function(value,old){if(old){old.removeState(SSSS_14);if(old.getOpener()==this){old.resetOpener();}if(!value){this.removeListener(SSSS_14,this._onContextMenuOpen);old.removeListener(SSSS_19,this._onBeforeContextMenuOpen,this);}}if(value){value.setOpener(this);value.addState(SSSS_14);if(!old){this.addListener(SSSS_14,this._onContextMenuOpen);value.addListener(SSSS_19,this._onBeforeContextMenuOpen,this);}}},_onContextMenuOpen:function(e){this.getContextMenu().openAtMouse(e);e.stop();},_onBeforeContextMenuOpen:function(e){if(e.getData()==SSSS_6&&this.hasListener(SSSS_43)){this.fireDataEvent(SSSS_43,e);}},_onStopEvent:function(e){e.stopPropagation();},_applyDraggable:function(value,old){if(!this.isEnabled()&&value===true){value=false;}qx.ui.core.DragDropCursor.getInstance();if(value){this.addListener(SSSS_31,this._onDragStart);this.addListener(SSSS_26,this._onDrag);this.addListener(SSSS_34,this._onDragEnd);this.addListener(SSSS_33,this._onDragChange);}else{this.removeListener(SSSS_31,this._onDragStart);this.removeListener(SSSS_26,this._onDrag);this.removeListener(SSSS_34,this._onDragEnd);this.removeListener(SSSS_33,this._onDragChange);}this.getContainerElement().setAttribute(SSSS_65,value?SSSS_0:null);},_applyDroppable:function(value,old){if(!this.isEnabled()&&value===true){value=false;}this.getContainerElement().setAttribute(SSSS_96,value?SSSS_0:null);},_onDragStart:function(e){qx.ui.core.DragDropCursor.getInstance().placeToMouse(e);this.getApplicationRoot().setGlobalCursor(SSSS_40);},_onDrag:function(e){qx.ui.core.DragDropCursor.getInstance().placeToMouse(e);},_onDragEnd:function(e){qx.ui.core.DragDropCursor.getInstance().moveTo(-1000,-1000);this.getApplicationRoot().resetGlobalCursor();},_onDragChange:function(e){var cursor=qx.ui.core.DragDropCursor.getInstance();var action=e.getCurrentAction();action?cursor.setAction(action):cursor.resetAction();},visualizeFocus:function(){this.addState(SSSS_18);},visualizeBlur:function(){this.removeState(SSSS_18);},scrollChildIntoView:function(child,alignX,alignY,direct){this.scrollChildIntoViewX(child,alignX,direct);this.scrollChildIntoViewY(child,alignY,direct);},scrollChildIntoViewX:function(child,align,direct){this.getContentElement().scrollChildIntoViewX(child.getContainerElement(),align,direct);},scrollChildIntoViewY:function(child,align,direct){this.getContentElement().scrollChildIntoViewY(child.getContainerElement(),align,direct);},focus:function(){if(this.isFocusable()){this.getFocusElement().focus();}else{throw new Error("Widget is not focusable!");}},blur:function(){if(this.isFocusable()){this.getFocusElement().blur();}else{throw new Error("Widget is not focusable!");}},activate:function(){this.getContainerElement().activate();},deactivate:function(){this.getContainerElement().deactivate();},tabFocus:function(){this.getFocusElement().focus();},hasChildControl:function(id){if(!this.__ii){return false;}return !!this.__ii[id];},__ii:null,_getCreatedChildControls:function(){return this.__ii;},getChildControl:function(id,notcreate){if(!this.__ii){if(notcreate){return null;}this.__ii={};}var control=this.__ii[id];if(control){return control;}if(notcreate===true){return null;}return this._createChildControl(id);},_showChildControl:function(id){var control=this.getChildControl(id);control.show();return control;},_excludeChildControl:function(id){var control=this.getChildControl(id,true);if(control){control.exclude();}},_isChildControlVisible:function(id){var control=this.getChildControl(id,true);if(control){return control.isVisible();}return false;},_createChildControl:function(id){if(!this.__ii){this.__ii={};}else if(this.__ii[id]){throw new Error("Child control '"+id+"' already created!");}var pos=id.indexOf(SSSS_72);if(pos==-1){var control=this._createChildControlImpl(id);}else{var control=this._createChildControlImpl(id.substring(0,pos));}if(!control){throw new Error("Unsupported control: "+id);}control.$$subcontrol=id;control.$$subparent=this;var states=this.__if;var forward=this._forwardStates;if(states&&forward&&control instanceof qx.ui.core.Widget){for(var state in states){if(forward[state]){control.addState(state);}}}this.fireDataEvent(SSSS_51,control);return this.__ii[id]=control;},_createChildControlImpl:function(id){return null;},_disposeChildControls:function(){var controls=this.__ii;if(!controls){return;}var Widget=qx.ui.core.Widget;for(var id in controls){var control=controls[id];if(!Widget.contains(this,control)){control.destroy();}else{control.dispose();}}delete this.__ii;},_findTopControl:function(){var obj=this;while(obj){if(!obj.$$subparent){return obj;}obj=obj.$$subparent;}return null;},getContainerLocation:function(mode){var domEl=this.getContainerElement().getDomElement();return domEl?qx.bom.element.Location.get(domEl,mode):null;},getContentLocation:function(mode){var domEl=this.getContentElement().getDomElement();return domEl?qx.bom.element.Location.get(domEl,mode):null;},setDomLeft:function(value){var domEl=this.getContainerElement().getDomElement();if(domEl){domEl.style.left=value+SSSS_1;}else{throw new Error("DOM element is not yet created!");}},setDomTop:function(value){var domEl=this.getContainerElement().getDomElement();if(domEl){domEl.style.top=value+SSSS_1;}else{throw new Error("DOM element is not yet created!");}},setDomPosition:function(left,top){var domEl=this.getContainerElement().getDomElement();if(domEl){domEl.style.left=left+SSSS_1;domEl.style.top=top+SSSS_1;}else{throw new Error("DOM element is not yet created!");}},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 clone=arguments.callee.base.call(this);if(this.getChildren){var children=this.getChildren();for(var i=0,l=children.length;i<l;i++){clone.add(children[i].clone());}}return clone;}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){if(qx.core.Variant.isSet(SSSS_32,SSSS_0)){if(this.__hV){qx.locale.Manager.getInstance().removeListenerById(this.__hV);}}this.getContainerElement().setAttribute(SSSS_38,null,true);this._disposeChildControls();qx.ui.core.queue.Appearance.remove(this);qx.ui.core.queue.Layout.remove(this);qx.ui.core.queue.Visibility.remove(this);qx.ui.core.queue.Widget.remove(this);}if(!qx.core.ObjectRegistry.inShutDown){var clazz=qx.ui.core.Widget;var container=this.getContainerElement();if(this.__hR){container.remove(this.__hR);clazz.__hP.poolDecorator(this.__hR);}if(this.__hS){container.remove(this.__hS);clazz.__hQ.poolDecorator(this.__hS);}this.clearSeparators();this.__hR=this.__hS=this.__hY=null;}else{this._disposeArray(SSSS_110);this._disposeObjects(SSSS_46,SSSS_52);}this._disposeArray(SSSS_68);this.__if=this.__ii=null;this._disposeObjects(SSSS_99,SSSS_92,SSSS_104,SSSS_75);}});})();(function(){var SSSS_0="indexOf",SSSS_1="addAfter",SSSS_2="add",SSSS_3="addBefore",SSSS_4="_",SSSS_5="addAt",SSSS_6="hasChildren",SSSS_7="removeAt",SSSS_8="removeAll",SSSS_9="getChildren",SSSS_10="remove",SSSS_11="qx.ui.core.MRemoteChildrenHandling";qx.Mixin.define(SSSS_11,{members:{__ij:function(functionName,a1,a2,a3){var container=this.getChildrenContainer();if(container===this){functionName=SSSS_4+functionName;}return (container[functionName])(a1,a2,a3);},getChildren:function(){return this.__ij(SSSS_9);},hasChildren:function(){return this.__ij(SSSS_6);},add:function(child,options){return this.__ij(SSSS_2,child,options);},remove:function(child){return this.__ij(SSSS_10,child);},removeAll:function(){return this.__ij(SSSS_8);},indexOf:function(child){return this.__ij(SSSS_0,child);},addAt:function(child,index,options){this.__ij(SSSS_5,child,index,options);},addBefore:function(child,before,options){this.__ij(SSSS_3,child,before,options);},addAfter:function(child,after,options){this.__ij(SSSS_1,child,after,options);},removeAt:function(index){this.__ij(SSSS_7,index);}}});})();(function(){var SSSS_0="Boolean",SSSS_1="invalid",SSSS_2="qx.ui.form.MForm",SSSS_3="_applyValid",SSSS_4="",SSSS_5="changeRequired",SSSS_6="changeValid",SSSS_7="changeInvalidMessage",SSSS_8="String";qx.Mixin.define(SSSS_2,{properties:{valid:{check:SSSS_0,init:true,apply:SSSS_3,event:SSSS_6},required:{check:SSSS_0,init:false,event:SSSS_5},invalidMessage:{check:SSSS_8,init:SSSS_4,event:SSSS_7}},members:{_applyValid:function(value,old){value?this.removeState(SSSS_1):this.addState(SSSS_1);}}});})();(function(){var SSSS_0="qx.event.type.Data",SSSS_1="qx.ui.form.IForm";qx.Interface.define(SSSS_1,{events:{"changeEnabled":SSSS_0,"changeValid":SSSS_0,"changeInvalidMessage":SSSS_0,"changeRequired":SSSS_0},members:{setEnabled:function(enabled){return arguments.length==1;},getEnabled:function(){},setRequired:function(required){return arguments.length==1;},getRequired:function(){},setValid:function(valid){return arguments.length==1;},getValid:function(){},setInvalidMessage:function(message){return arguments.length==1;},getInvalidMessage:function(){}}});})();(function(){var SSSS_0="popup",SSSS_1="list",SSSS_2="",SSSS_3="mousewheel",SSSS_4="resize",SSSS_5="Function",SSSS_6="blur",SSSS_7="abstract",SSSS_8="keypress",SSSS_9="Number",SSSS_10="qx.ui.form.AbstractSelectBox",SSSS_11="changeSelection",SSSS_12="PageUp",SSSS_13="_applyMaxListHeight",SSSS_14="PageDown",SSSS_15="mouseup",SSSS_16="Escape",SSSS_17="changeVisibility",SSSS_18="one",SSSS_19="middle",SSSS_20="mousedown";qx.Class.define(SSSS_10,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.form.MForm],implement:[qx.ui.form.IForm],type:SSSS_7,construct:function(){arguments.callee.base.call(this);var layout=new qx.ui.layout.HBox();this._setLayout(layout);layout.setAlignY(SSSS_19);this.addListener(SSSS_8,this._onKeyPress);this.addListener(SSSS_6,this._onBlur,this);var root=qx.core.Init.getApplication().getRoot();root.addListener(SSSS_3,this._onMousewheel,this,true);this.addListener(SSSS_4,this._onResize,this);},properties:{focusable:{refine:true,init:true},width:{refine:true,init:120},maxListHeight:{check:SSSS_9,apply:SSSS_13,nullable:true,init:200},format:{check:SSSS_5,init:function(item){return this._defaultFormat(item);},nullable:true}},members:{_createChildControlImpl:function(id){var control;switch(id){case SSSS_1:control=new qx.ui.form.List().set({focusable:false,keepFocus:true,height:null,width:null,maxHeight:this.getMaxListHeight(),selectionMode:SSSS_18,quickSelection:true});control.addListener(SSSS_11,this._onListChangeSelection,this);control.addListener(SSSS_20,this._onListMouseDown,this);break;case SSSS_0:control=new qx.ui.popup.Popup(new qx.ui.layout.VBox);control.setAutoHide(false);control.setKeepActive(true);control.addListener(SSSS_15,this.close,this);control.add(this.getChildControl(SSSS_1));control.addListener(SSSS_17,this._onPopupChangeVisibility,this);break;}return control||arguments.callee.base.call(this,id);},_applyMaxListHeight:function(value,old){this.getChildControl(SSSS_1).setMaxHeight(value);},getChildrenContainer:function(){return this.getChildControl(SSSS_1);},open:function(){var popup=this.getChildControl(SSSS_0);popup.placeToWidget(this,true);popup.show();},close:function(){this.getChildControl(SSSS_0).hide();},toggle:function(){var isListOpen=this.getChildControl(SSSS_0).isVisible();if(isListOpen){this.close();}else{this.open();}},_defaultFormat:function(item){var valueLabel=item?item.getLabel():SSSS_2;var rich=item?item.getRich():false;if(rich){valueLabel=valueLabel.replace(/<[^>]+?>/g,SSSS_2);valueLabel=qx.bom.String.unescape(valueLabel);}return valueLabel;},_onBlur:function(e){this.close();},_onKeyPress:function(e){var identifier=e.getKeyIdentifier();var listPopup=this.getChildControl(SSSS_0);if(listPopup.isHidden()&&(identifier==SSSS_14||identifier==SSSS_12)){e.stopPropagation();}else if(!listPopup.isHidden()&&identifier==SSSS_16){this.close();e.stop();}else{this.getChildControl(SSSS_1).handleKeyPress(e);}},_onMousewheel:function(e){var target=e.getTarget();var popup=this.getChildControl(SSSS_0);if(qx.ui.core.Widget.contains(popup,target)){e.preventDefault();}else{this.close();}},_onResize:function(e){this.getChildControl(SSSS_0).setMinWidth(e.getData().width);},_onListChangeSelection:function(e){throw new Error("Abstract method: _onListChangeSelection()");},_onListMouseDown:function(e){throw new Error("Abstract method: _onListMouseDown()");},_onPopupChangeVisibility:function(e){throw new Error("Abstract method: _onPopupChangeVisibility()");}},destruct:function(){var root=qx.core.Init.getApplication().getRoot();if(root){root.removeListener(SSSS_3,this._onMousewheel,this,true);}}});})();(function(){var SSSS_0="qx.event.type.Data",SSSS_1="qx.ui.form.IStringForm";qx.Interface.define(SSSS_1,{events:{"changeValue":SSSS_0},members:{setValue:function(value){return arguments.length==1;},resetValue:function(){},getValue:function(){}}});})();(function(){var SSSS_0="textfield",SSSS_1="button",SSSS_2="list",SSSS_3="selected",SSSS_4="focusout",SSSS_5="inner",SSSS_6="changeValue",SSSS_7="popup",SSSS_8="focusin",SSSS_9="combobox",SSSS_10="click",SSSS_11="blur",SSSS_12="Enter",SSSS_13="quick",SSSS_14="_applyPlaceholder",SSSS_15="qx.ui.form.ComboBox",SSSS_16="single",SSSS_17="Down",SSSS_18="String",SSSS_19="qx.event.type.Data";qx.Class.define(SSSS_15,{extend:qx.ui.form.AbstractSelectBox,implement:[qx.ui.form.IStringForm],construct:function(){arguments.callee.base.call(this);var textField=this._createChildControl(SSSS_0);this._createChildControl(SSSS_1);this.addListener(SSSS_10,this._onClick);this.addListener(SSSS_8,function(e){textField.fireNonBubblingEvent(SSSS_8,qx.event.type.Focus);},this);this.addListener(SSSS_4,function(e){textField.fireNonBubblingEvent(SSSS_4,qx.event.type.Focus);},this);},properties:{appearance:{refine:true,init:SSSS_9},placeholder:{check:SSSS_18,nullable:true,apply:SSSS_14}},events:{"changeValue":SSSS_19},members:{__ik:null,__il:null,_applyPlaceholder:function(value,old){this.getChildControl(SSSS_0).setPlaceholder(value);},_createChildControlImpl:function(id){var control;switch(id){case SSSS_0:control=new qx.ui.form.TextField();control.setFocusable(false);control.addState(SSSS_5);control.addListener(SSSS_6,this._onTextFieldChangeValue,this);control.addListener(SSSS_11,this.close,this);this._add(control,{flex:1});break;case SSSS_1:control=new qx.ui.form.Button();control.setFocusable(false);control.setKeepActive(true);control.addState(SSSS_5);this._add(control);break;case SSSS_2:control=arguments.callee.base.call(this,id);control.setSelectionMode(SSSS_16);break;}return control||arguments.callee.base.call(this,id);},_forwardStates:{focused:true},tabFocus:function(){var field=this.getChildControl(SSSS_0);field.getFocusElement().focus();field.selectAllText();},setValue:function(value){var textfield=this.getChildControl(SSSS_0);if(textfield.getValue()==value){return;}textfield.setValue(value);},getValue:function(){return this.getChildControl(SSSS_0).getValue();},resetValue:function(){this.getChildControl(SSSS_0).setValue(null);},_onKeyPress:function(e){var popup=this.getChildControl(SSSS_7);var iden=e.getKeyIdentifier();if(iden==SSSS_17&&e.isAltPressed()){this.getChildControl(SSSS_1).addState(SSSS_3);this.toggle();e.stopPropagation();}else if(iden==SSSS_12){if(popup.isVisible()){this.close();e.stop();}}else if(popup.isVisible()){arguments.callee.base.call(this,e);}},_onClick:function(e){var target=e.getTarget();if(target==this.getChildControl(SSSS_1)){this.toggle();}else{this.close();}},_onListMouseDown:function(e){if(this.__ik){var label=this.__ik.getLabel();if(this.getFormat()!=null){label=this.getFormat().call(this,this.__ik);}if(label&&label.translate){label=label.translate();}this.setValue(label);this.__ik=null;}},_onListChangeSelection:function(e){var current=e.getData();if(current.length>0){var list=this.getChildControl(SSSS_2);if(list.getSelectionContext()==SSSS_13){this.__ik=current[0];}else{var label=current[0].getLabel();if(this.getFormat()!=null){label=this.getFormat().call(this,current[0]);}if(label&&label.translate){label=label.translate();}this.setValue(label);this.__ik=null;}}},_onPopupChangeVisibility:function(e){var popup=this.getChildControl(SSSS_7);if(popup.isVisible()){var list=this.getChildControl(SSSS_2);var value=this.getValue();var item=null;if(value){item=list.findItem(value);}if(item){list.setSelection([item]);}else{list.resetSelection();}}else{this.tabFocus();}this.getChildControl(SSSS_1).removeState(SSSS_3);},_onTextFieldChangeValue:function(e){var value=e.getData();var list=this.getChildControl(SSSS_2);if(value!=null){var item=list.findItem(value,false);if(item){list.setSelection([item]);}else{list.resetSelection();}}else{list.resetSelection();}this.fireDataEvent(SSSS_6,value,e.getOldData());},getTextSelection:function(){return this.getChildControl(SSSS_0).getTextSelection();},getTextSelectionLength:function(){return this.getChildControl(SSSS_0).getTextSelectionLength();},setTextSelection:function(start,end){this.getChildControl(SSSS_0).setTextSelection(start,end);},clearTextSelection:function(){this.getChildControl(SSSS_0).clearTextSelection();},selectAllText:function(){this.getChildControl(SSSS_0).selectAllText();}}});})();(function(){var SSSS_0="qx.ui.form.IDateForm",SSSS_1="qx.event.type.Data";qx.Interface.define(SSSS_0,{events:{"changeValue":SSSS_1},members:{setValue:function(value){return arguments.length==1;},resetValue:function(){},getValue:function(){}}});})();(function(){var SSSS_0="list",SSSS_1="textfield",SSSS_2="popup",SSSS_3="Down",SSSS_4="",SSSS_5="Escape",SSSS_6="qx.util.format.DateFormat",SSSS_7="changeValue",SSSS_8="Left",SSSS_9="Up",SSSS_10="execute",SSSS_11="changeLocale",SSSS_12="_applyDateFormat",SSSS_13="changeVisibility",SSSS_14="qx.dynlocale",SSSS_15="medium",SSSS_16="mouseup",SSSS_17="qx.ui.form.DateField",SSSS_18="datefield",SSSS_19="hidden",SSSS_20="on",SSSS_21="Right";qx.Class.define(SSSS_17,{extend:qx.ui.form.ComboBox,implement:[qx.ui.form.IDateForm],construct:function(){arguments.callee.base.call(this);this.setDateFormat(qx.ui.form.DateField.getDefaultDateFormatter());if(qx.core.Variant.isSet(SSSS_14,SSSS_20)){qx.locale.Manager.getInstance().addListener(SSSS_11,function(){this.setDateFormat(qx.ui.form.DateField.getDefaultDateFormatter());},this);}},properties:{appearance:{refine:true,init:SSSS_18},dateFormat:{check:SSSS_6,apply:SSSS_12}},statics:{__im:null,__in:null,getDefaultDateFormatter:function(){var format=qx.locale.Date.getDateFormat(SSSS_15).toString();if(format==this.__im){return this.__in;}if(this.__in){this.__in.dispose();}this.__in=new qx.util.format.DateFormat(format,qx.locale.Manager.getInstance().getLocale());this.__im=format;return this.__in;}},members:{setValue:function(value){var textField=this.getChildControl(SSSS_1);textField.setValue(this.getDateFormat().format(value));var dateChooser=this.getChildControl(SSSS_0);dateChooser.setValue(value);},getValue:function(){var textfieldValue=this.getChildControl(SSSS_1).getValue();try{return this.getDateFormat().parse(textfieldValue);}catch(ex){return null;}},resetValue:function(){var textField=this.getChildControl(SSSS_1);textField.setValue(SSSS_4);var dateChooser=this.getChildControl(SSSS_0);dateChooser.setValue(null);},_applyDateFormat:function(value,old){try{var textfield=this.getChildControl(SSSS_1);var dateStr=textfield.getValue();var currentDate=old.parse(dateStr);textfield.setValue(value.format(currentDate));}catch(ex){}},_createChildControlImpl:function(id){var control;switch(id){case SSSS_0:control=new qx.ui.control.DateChooser();control.setFocusable(false);control.setKeepFocus(true);control.addListener(SSSS_10,this._onChangeDate,this);break;case SSSS_2:control=new qx.ui.popup.Popup(new qx.ui.layout.VBox);control.setAutoHide(false);control.add(this.getChildControl(SSSS_0));control.addListener(SSSS_16,this._onChangeDate,this);control.addListener(SSSS_13,this._onPopupChangeVisibility,this);break;}return control||arguments.callee.base.call(this,id);},_onChangeDate:function(e){var textField=this.getChildControl(SSSS_1);var selectedDate=this.getChildControl(SSSS_0).getValue();textField.setValue(this.getDateFormat().format(selectedDate));this.close();},_onKeyPress:function(e){var iden=e.getKeyIdentifier();if(iden==SSSS_3&&e.isAltPressed()){this.toggle();e.stopPropagation();return;}var popup=this.getChildControl(SSSS_2);if(popup.getVisibility()==SSSS_19){return;}if(iden==SSSS_5){this.close();e.stopPropagation();return;}if(iden===SSSS_8||iden===SSSS_21||iden===SSSS_3||iden===SSSS_9){e.preventDefault();}this.getChildControl(SSSS_0).handleKeyPress(e);},_onPopupChangeVisibility:function(e){var popup=this.getChildControl(SSSS_2);if(popup.isVisible()){var chooser=this.getChildControl(SSSS_0);var date=this.getValue();chooser.setValue(date);}},_onTextFieldChangeValue:function(e){var date=this.getValue();if(date!=null){var list=this.getChildControl(SSSS_0);list.setValue(date);}this.fireDataEvent(SSSS_7,this.getValue());},isEmpty:function(){var value=this.getChildControl(SSSS_1).getValue();return value==null||value==SSSS_4;}}});})();(function(){var SSSS_0="default",SSSS_1="form",SSSS_2="blueprint.ui.form.MSubmitElement",SSSS_3="String",SSSS_4="";qx.Mixin.define(SSSS_2,{construct:function(vData,namespace,skipRecursion){if(vData.objectId!=SSSS_4){blueprint.util.Registry.getInstance().set(namespace,vData.objectId,this,SSSS_1);}else{this.warn("Form elements without object Ids cannot be referenced.");}},properties:{blueprintForm:{init:SSSS_0,check:SSSS_3}}});})();(function(){var SSSS_0="blueprint.ui.form.DateField";qx.Class.define(SSSS_0,{extend:qx.ui.form.DateField,include:[blueprint.MBlueprintManager,blueprint.ui.form.MSubmitElement],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="none",SSSS_1="qx.html.Decorator",SSSS_2="absolute";qx.Class.define(SSSS_1,{extend:qx.html.Element,construct:function(decorator,decoratorId){arguments.callee.base.call(this);this.__io=decorator;this.__ip=decoratorId||decorator.toHashCode();this.useMarkup(decorator.getMarkup());var styles={position:SSSS_2,top:0,left:0};if(qx.bom.client.Feature.CSS_POINTER_EVENTS){styles.pointerEvents=SSSS_0;}this.setStyles(styles);},members:{__ip:null,__io:null,getId:function(){return this.__ip;},getDecorator:function(){return this.__io;},resize:function(width,height){this.__io.resize(this.getDomElement(),width,height);},tint:function(color){this.__io.tint(this.getDomElement(),color);},getInsets:function(){return this.__io.getInsets();}},destruct:function(){this.__io=null;}});})();(function(){var SSSS_0="blur",SSSS_1="focus",SSSS_2="input",SSSS_3="load",SSSS_4="qx.ui.core.EventHandler",SSSS_5="activate";qx.Class.define(SSSS_4,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(){arguments.callee.base.call(this);this.__iq=qx.event.Registration.getManager(window);},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST,SUPPORTED_TYPES:{mousemove:1,mouseover:1,mouseout:1,mousedown:1,mouseup:1,click:1,dblclick:1,contextmenu:1,mousewheel:1,keyup:1,keydown:1,keypress:1,keyinput:1,capture:1,losecapture:1,focusin:1,focusout:1,focus:1,blur:1,activate:1,deactivate:1,appear:1,disappear:1,dragstart:1,dragend:1,dragover:1,dragleave:1,drop:1,drag:1,dragchange:1,droprequest:1},IGNORE_CAN_HANDLE:false},members:{__iq:null,__ir:{focusin:1,focusout:1,focus:1,blur:1},__is:{mouseover:1,mouseout:1,appear:1,disappear:1},canHandleEvent:function(target,type){return target instanceof qx.ui.core.Widget;},_dispatchEvent:function(domEvent){var domTarget=domEvent.getTarget();var widgetTarget=qx.ui.core.Widget.getWidgetByElement(domTarget);var targetChanged=false;while(widgetTarget&&widgetTarget.isAnonymous()){var targetChanged=true;widgetTarget=widgetTarget.getLayoutParent();}if(widgetTarget&&targetChanged&&domEvent.getType()==SSSS_5){widgetTarget.getContainerElement().activate();}if(this.__ir[domEvent.getType()]){widgetTarget=widgetTarget&&widgetTarget.getFocusTarget();if(!widgetTarget){return;}}if(domEvent.getRelatedTarget){var domRelatedTarget=domEvent.getRelatedTarget();var widgetRelatedTarget=qx.ui.core.Widget.getWidgetByElement(domRelatedTarget);while(widgetRelatedTarget&&widgetRelatedTarget.isAnonymous()){widgetRelatedTarget=widgetRelatedTarget.getLayoutParent();}if(widgetRelatedTarget){if(this.__ir[domEvent.getType()]){widgetRelatedTarget=widgetRelatedTarget.getFocusTarget();}if(widgetRelatedTarget===widgetTarget){return;}}}var currentTarget=domEvent.getCurrentTarget();var currentWidget=qx.ui.core.Widget.getWidgetByElement(currentTarget);if(!currentWidget||currentWidget.isAnonymous()){return;}if(this.__ir[domEvent.getType()]){currentWidget=currentWidget.getFocusTarget();}var type=domEvent.getType();if(!currentWidget||!(currentWidget.isEnabled()||this.__is[type])){return;}var capture=domEvent.getEventPhase()==qx.event.type.Event.CAPTURING_PHASE;var listeners=this.__iq.getListeners(currentWidget,type,capture);if(!listeners||listeners.length===0){return;}var widgetEvent=qx.event.Pool.getInstance().getObject(domEvent.constructor);domEvent.clone(widgetEvent);widgetEvent.setTarget(widgetTarget);widgetEvent.setRelatedTarget(widgetRelatedTarget||null);widgetEvent.setCurrentTarget(currentWidget);var orig=domEvent.getOriginalTarget();if(orig){var widgetOriginalTarget=qx.ui.core.Widget.getWidgetByElement(orig);while(widgetOriginalTarget&&widgetOriginalTarget.isAnonymous()){widgetOriginalTarget=widgetOriginalTarget.getLayoutParent();}widgetEvent.setOriginalTarget(widgetOriginalTarget);}else{widgetEvent.setOriginalTarget(domTarget);}for(var i=0,l=listeners.length;i<l;i++){var context=listeners[i].context||currentWidget;listeners[i].handler.call(context,widgetEvent);}if(widgetEvent.getPropagationStopped()){domEvent.stopPropagation();}if(widgetEvent.getDefaultPrevented()){domEvent.preventDefault();}qx.event.Pool.getInstance().poolObject(widgetEvent);},registerEvent:function(target,type,capture){var elem;if(type===SSSS_1||type===SSSS_0){elem=target.getFocusElement();}else if(type===SSSS_3||type===SSSS_2){elem=target.getContentElement();}else{elem=target.getContainerElement();}if(elem){elem.addListener(type,this._dispatchEvent,this,capture);}},unregisterEvent:function(target,type,capture){var elem;if(type===SSSS_1||type===SSSS_0){elem=target.getFocusElement();}else if(type===SSSS_3||type===SSSS_2){elem=target.getContentElement();}else{elem=target.getContainerElement();}if(elem){elem.removeListener(type,this._dispatchEvent,this,capture);}}},destruct:function(){this.__iq=null;},defer:function(statics){qx.event.Registration.addHandler(statics);}});})();(function(){var SSSS_0="qx.bom.client.Locale",SSSS_1="-",SSSS_2="";qx.Class.define(SSSS_0,{statics:{LOCALE:"",VARIANT:"",__it:function(){var locale=(qx.bom.client.Engine.MSHTML?navigator.userLanguage:navigator.language).toLowerCase();var variant=SSSS_2;var index=locale.indexOf(SSSS_1);if(index!=-1){variant=locale.substr(index+1);locale=locale.substr(0,index);}this.LOCALE=locale;this.VARIANT=variant;}},defer:function(statics){statics.__it();}});})();(function(){var SSSS_0="",SSSS_1='indexOf',SSSS_2='slice',SSSS_3='concat',SSSS_4='toLocaleLowerCase',SSSS_5="qx.type.BaseString",SSSS_6='match',SSSS_7="qx.debug",SSSS_8='search',SSSS_9='replace',SSSS_10='toLowerCase',SSSS_11='charCodeAt',SSSS_12='split',SSSS_13='substring',SSSS_14='lastIndexOf',SSSS_15="on",SSSS_16='substr',SSSS_17='toLocaleUpperCase',SSSS_18='toUpperCase',SSSS_19='charAt';qx.Class.define(SSSS_5,{extend:Object,construct:function(txt){var txt=txt||SSSS_0;this.__iu=txt;this.length=txt.length;},members:{$$isString:true,length:0,__iu:null,toString:function(){return this.__iu;},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(args,varags){return qx.core.Object.prototype.base.apply(this,arguments);}},defer:function(statics,members){if(qx.core.Variant.isSet(SSSS_7,SSSS_15)){qx.Class.include(statics,qx.core.MAssert);}var mappedFunctions=[SSSS_19,SSSS_11,SSSS_3,SSSS_1,SSSS_14,SSSS_6,SSSS_9,SSSS_8,SSSS_2,SSSS_12,SSSS_16,SSSS_13,SSSS_10,SSSS_18,SSSS_4,SSSS_17];members.valueOf=members.toString;if(new statics(SSSS_0).valueOf()==null){delete members.valueOf;}for(var i=0,l=mappedFunctions.length;i<l;i++){members[mappedFunctions[i]]=String.prototype[mappedFunctions[i]];}}});})();(function(){var SSSS_0="qx.locale.LocalizedString";qx.Class.define(SSSS_0,{extend:qx.type.BaseString,construct:function(translation,messageId,args){arguments.callee.base.call(this,translation);this.__iv=messageId;this.__iw=args;},members:{__iv:null,__iw:null,translate:function(){return qx.locale.Manager.getInstance().translate(this.__iv,this.__iw);}}});})();(function(){var SSSS_0="_",SSSS_1="",SSSS_2="qx.dynlocale",SSSS_3="on",SSSS_4="_applyLocale",SSSS_5="changeLocale",SSSS_6="C",SSSS_7="qx.locale.Manager",SSSS_8="String",SSSS_9="singleton";qx.Class.define(SSSS_7,{type:SSSS_9,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.__ix=qx.$$translations||{};this.__iy=qx.$$locales||{};var clazz=qx.bom.client.Locale;var locale=clazz.LOCALE;var variant=clazz.VARIANT;if(variant!==SSSS_1){locale+=SSSS_0+variant;}this.setLocale(locale||this.__iz);},statics:{tr:function(messageId,varargs){var args=qx.lang.Array.fromArguments(arguments);args.splice(0,1);return qx.locale.Manager.getInstance().translate(messageId,args);},trn:function(singularMessageId,pluralMessageId,count,varargs){var args=qx.lang.Array.fromArguments(arguments);args.splice(0,3);if(count!=1){return qx.locale.Manager.getInstance().translate(pluralMessageId,args);}else{return qx.locale.Manager.getInstance().translate(singularMessageId,args);}},trc:function(hint,messageId,varargs){var args=qx.lang.Array.fromArguments(arguments);args.splice(0,2);return qx.locale.Manager.getInstance().translate(messageId,args);},marktr:function(messageId){return messageId;}},properties:{locale:{check:SSSS_8,nullable:true,apply:SSSS_4,event:SSSS_5}},members:{__iz:SSSS_6,__iA:null,__iB:null,__ix:null,__iy:null,getLanguage:function(){return this.__iB;},getTerritory:function(){return this.getLocale().split(SSSS_0)[1]||SSSS_1;},getAvailableLocales:function(){var locales=[];for(var locale in this.__iy){if(locale!=this.__iz){locales.push(locale);}}return locales;},__iC:function(locale){var language;var pos=locale.indexOf(SSSS_0);if(pos==-1){language=locale;}else{language=locale.substring(0,pos);}return language;},_applyLocale:function(value,old){this.__iA=value;this.__iB=this.__iC(value);},addTranslation:function(languageCode,translationMap){var catalog=this.__ix;if(catalog[languageCode]){for(var key in translationMap){catalog[languageCode][key]=translationMap[key];}}else{catalog[languageCode]=translationMap;}},addLocale:function(localeCode,translationMap){var catalog=this.__iy;if(catalog[localeCode]){for(var key in translationMap){catalog[localeCode][key]=translationMap[key];}}else{catalog[localeCode]=translationMap;}},translate:function(messageId,args,locale){var txt;var catalog=this.__ix;if(!catalog){return messageId;}if(locale){var language=this.__iC(locale);}else{locale=this.__iA;language=this.__iB;}if(!txt&&catalog[locale]){txt=catalog[locale][messageId];}if(!txt&&catalog[language]){txt=catalog[language][messageId];}if(!txt&&catalog[this.__iz]){txt=catalog[this.__iz][messageId];}if(!txt){txt=messageId;}if(args.length>0){var translatedArgs=[];for(var i=0;i<args.length;i++){var arg=args[i];if(arg&&arg.translate){translatedArgs[i]=arg.translate();}else{translatedArgs[i]=arg;}}txt=qx.lang.String.format(txt,translatedArgs);}if(qx.core.Variant.isSet(SSSS_2,SSSS_3)){txt=new qx.locale.LocalizedString(txt,messageId,args);}return txt;},localize:function(messageId,args,locale){var txt;var catalog=this.__iy;if(!catalog){return messageId;}if(locale){var language=this.__iC(locale);}else{locale=this.__iA;language=this.__iB;}if(!txt&&catalog[locale]){txt=catalog[locale][messageId];}if(!txt&&catalog[language]){txt=catalog[language][messageId];}if(!txt&&catalog[this.__iz]){txt=catalog[this.__iz][messageId];}if(!txt){txt=messageId;}if(args.length>0){var translatedArgs=[];for(var i=0;i<args.length;i++){var arg=args[i];if(arg.translate){translatedArgs[i]=arg.translate();}else{translatedArgs[i]=arg;}}txt=qx.lang.String.format(txt,translatedArgs);}if(qx.core.Variant.isSet(SSSS_2,SSSS_3)){txt=new qx.locale.LocalizedString(txt,messageId,args);}return txt;}},destruct:function(){this.__ix=this.__iy=null;}});})();(function(){var SSSS_0="source",SSSS_1="scale",SSSS_2="no-repeat",SSSS_3="mshtml",SSSS_4="backgroundImage",SSSS_5="qx.client",SSSS_6="div",SSSS_7="qx.html.Image";qx.Class.define(SSSS_7,{extend:qx.html.Element,members:{_applyProperty:function(name,value){arguments.callee.base.call(this,name,value);if(name===SSSS_0){var elem=this.getDomElement();var styles=this.getAllStyles();if(this.getNodeName()==SSSS_6&&this.getStyle(SSSS_4)){styles.backgroundPosition=null;styles.backgroundRepeat=null;}var source=this._getProperty(SSSS_0);var scale=this._getProperty(SSSS_1);var repeat=scale?SSSS_1:SSSS_2;qx.bom.element.Decoration.update(elem,source,repeat,styles);}},_createDomElement:function(){var scale=this._getProperty(SSSS_1);var repeat=scale?SSSS_1:SSSS_2;if(qx.core.Variant.isSet(SSSS_5,SSSS_3)){var source=this._getProperty(SSSS_0);this.setNodeName(qx.bom.element.Decoration.getTagName(repeat,source));}else{this.setNodeName(qx.bom.element.Decoration.getTagName(repeat));}return arguments.callee.base.call(this);},_copyData:function(fromMarkup){return arguments.callee.base.call(this,true);},setSource:function(value){this._setProperty(SSSS_0,value);return this;},getSource:function(){return this._getProperty(SSSS_0);},resetSource:function(){this._removeProperty(SSSS_0);return this;},setScale:function(value){this._setProperty(SSSS_1,value);return this;},getScale:function(){return this._getProperty(SSSS_1);}}});})();(function(){var SSSS_0="px",SSSS_1="qx.client",SSSS_2="div",SSSS_3="img",SSSS_4="",SSSS_5="no-repeat",SSSS_6="qx.debug",SSSS_7="scale-x",SSSS_8="mshtml",SSSS_9="on",SSSS_10="repeat",SSSS_11="scale",SSSS_12="scale-y",SSSS_13="qx/icon",SSSS_14=".png",SSSS_15="crop",SSSS_16="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='",SSSS_17='<div style="',SSSS_18="repeat-y",SSSS_19='<img src="',SSSS_20="qx.bom.element.Decoration",SSSS_21="', sizingMethod='",SSSS_22="png",SSSS_23="')",SSSS_24='"></div>',SSSS_25='"/>',SSSS_26='" style="',SSSS_27="none",SSSS_28="webkit",SSSS_29=" ",SSSS_30="repeat-x",SSSS_31="DXImageTransform.Microsoft.AlphaImageLoader",SSSS_32="absolute";qx.Class.define(SSSS_20,{statics:{DEBUG:false,__iD:{},__iE:qx.core.Variant.isSet(SSSS_1,SSSS_8),__iF:qx.core.Variant.select(SSSS_1,{"mshtml":{"scale-x":true,"scale-y":true,"scale":true,"no-repeat":true},"default":null}),__iG:{"scale-x":SSSS_3,"scale-y":SSSS_3,"scale":SSSS_3,"repeat":SSSS_2,"no-repeat":SSSS_2,"repeat-x":SSSS_2,"repeat-y":SSSS_2},update:function(element,source,repeat,style){var tag=this.getTagName(repeat,source);if(tag!=element.tagName.toLowerCase()){throw new Error("Image modification not possible because elements could not be replaced at runtime anymore!");}var ret=this.getAttributes(source,repeat,style);if(tag===SSSS_3){element.src=ret.src;}if(element.style.backgroundPosition!=SSSS_4&&ret.style.backgroundPosition===undefined){ret.style.backgroundPosition=null;}if(element.style.clip!=SSSS_4&&ret.style.clip===undefined){ret.style.clip=null;}var Style=qx.bom.element.Style;Style.setStyles(element,ret.style);if(this.__iE){try{element.filters[SSSS_31].apply();}catch(e){}}},create:function(source,repeat,style){var tag=this.getTagName(repeat,source);var ret=this.getAttributes(source,repeat,style);var css=qx.bom.element.Style.compile(ret.style);if(tag===SSSS_3){return SSSS_19+ret.src+SSSS_26+css+SSSS_25;}else{return SSSS_17+css+SSSS_24;}},getTagName:function(repeat,source){if(qx.core.Variant.isSet(SSSS_1,SSSS_8)){if(source&&this.__iE&&this.__iF[repeat]&&qx.lang.String.endsWith(source,SSSS_14)){return SSSS_2;}}return this.__iG[repeat];},getAttributes:function(source,repeat,style){if(!style){style={};}if(!style.position){style.position=SSSS_32;}if(qx.core.Variant.isSet(SSSS_1,SSSS_8)){style.fontSize=0;style.lineHeight=0;}else if(qx.core.Variant.isSet(SSSS_1,SSSS_28)){style.WebkitUserDrag=SSSS_27;}var format=qx.util.ResourceManager.getInstance().getImageFormat(source)||qx.io.ImageLoader.getFormat(source);if(qx.core.Variant.isSet(SSSS_6,SSSS_9)){if(source!=null&&format==null){qx.log.Logger.warn("ImageLoader: Not recognized format of external image '"+source+"'!");}}var result;if(this.__iE&&this.__iF[repeat]&&format===SSSS_22){result=this.__iJ(style,repeat,source);}else{if(repeat===SSSS_11){result=this.__iK(style,repeat,source);}else if(repeat===SSSS_7||repeat===SSSS_12){result=this.__iL(style,repeat,source);}else{result=this.__iO(style,repeat,source);}}return result;},__iH:function(style,width,height){if(style.width==null&&width!=null){style.width=width+SSSS_0;}if(style.height==null&&height!=null){style.height=height+SSSS_0;}return style;},__iI:function(source){var width=qx.util.ResourceManager.getInstance().getImageWidth(source)||qx.io.ImageLoader.getWidth(source);var height=qx.util.ResourceManager.getInstance().getImageHeight(source)||qx.io.ImageLoader.getHeight(source);return {width:width,height:height};},__iJ:function(style,repeat,source){var dimension=this.__iI(source);style=this.__iH(style,dimension.width,dimension.height);var sizingMethod=repeat==SSSS_5?SSSS_15:SSSS_11;var filter=SSSS_16+qx.util.ResourceManager.getInstance().toUri(source)+SSSS_21+sizingMethod+SSSS_23;style.filter=filter;style.backgroundImage=style.backgroundRepeat=SSSS_4;return {style:style};},__iK:function(style,repeat,source){var uri=qx.util.ResourceManager.getInstance().toUri(source);var dimension=this.__iI(source);style=this.__iH(style,dimension.width,dimension.height);return {src:uri,style:style};},__iL:function(style,repeat,source){var ResourceManager=qx.util.ResourceManager.getInstance();var clipped=ResourceManager.isClippedImage(source);var dimension=this.__iI(source);if(clipped){var data=ResourceManager.getData(source);var uri=ResourceManager.toUri(data[4]);if(repeat===SSSS_7){style=this.__iM(style,data,dimension.height);}else{style=this.__iN(style,data,dimension.width);}return {src:uri,style:style};}else{if(qx.core.Variant.isSet(SSSS_6,SSSS_9)){this.__iQ(source);}if(repeat==SSSS_7){style.height=dimension.height==null?null:dimension.height+SSSS_0;}else if(repeat==SSSS_12){style.width=dimension.width==null?null:dimension.width+SSSS_0;}var uri=ResourceManager.toUri(source);return {src:uri,style:style};}},__iM:function(style,data,height){var imageHeight=qx.util.ResourceManager.getInstance().getImageHeight(data[4]);style.clip={top:-data[6],height:height};style.height=imageHeight+SSSS_0;if(style.top!=null){style.top=(parseInt(style.top,10)+data[6])+SSSS_0;}else if(style.bottom!=null){style.bottom=(parseInt(style.bottom,10)+height-imageHeight-data[6])+SSSS_0;}return style;},__iN:function(style,data,width){var imageWidth=qx.util.ResourceManager.getInstance().getImageWidth(data[4]);style.clip={left:-data[5],width:width};style.width=imageWidth+SSSS_0;if(style.left!=null){style.left=(parseInt(style.left,10)+data[5])+SSSS_0;}else if(style.right!=null){style.right=(parseInt(style.right,10)+width-imageWidth-data[5])+SSSS_0;}return style;},__iO:function(style,repeat,source){var clipped=qx.util.ResourceManager.getInstance().isClippedImage(source);var dimension=this.__iI(source);if(clipped&&repeat!==SSSS_10){var data=qx.util.ResourceManager.getInstance().getData(source);var bg=qx.bom.element.Background.getStyles(data[4],repeat,data[5],data[6]);for(var key in bg){style[key]=bg[key];}if(dimension.width!=null&&style.width==null&&(repeat==SSSS_18||repeat===SSSS_5)){style.width=dimension.width+SSSS_0;}if(dimension.height!=null&&style.height==null&&(repeat==SSSS_30||repeat===SSSS_5)){style.height=dimension.height+SSSS_0;}return {style:style};}else{if(qx.core.Variant.isSet(SSSS_6,SSSS_9)){if(repeat!==SSSS_10){this.__iQ(source);}}style=this.__iH(style,dimension.width,dimension.height);style=this.__iP(style,source,repeat);return {style:style};}},__iP:function(style,source,repeat){var top=null;var left=null;if(style.backgroundPosition){var backgroundPosition=style.backgroundPosition.split(SSSS_29);left=parseInt(backgroundPosition[0]);if(isNaN(left)){left=backgroundPosition[0];}top=parseInt(backgroundPosition[1]);if(isNaN(top)){top=backgroundPosition[1];}}var bg=qx.bom.element.Background.getStyles(source,repeat,left,top);for(var key in bg){style[key]=bg[key];}if(style.filter){style.filter=SSSS_4;}return style;},__iQ:function(source){if(this.DEBUG&&qx.util.ResourceManager.getInstance().has(source)&&source.indexOf(SSSS_13)==-1){if(!this.__iD[source]){qx.log.Logger.debug("Potential clipped image candidate: "+source);this.__iD[source]=true;}}},isAlphaImageLoaderEnabled:qx.core.Variant.select(SSSS_1,{"mshtml":function(){return qx.bom.element.Decoration.__iE;},"default":function(){return false;}})}});})();(function(){var SSSS_0="qx.client",SSSS_1="load",SSSS_2="qx.io.ImageLoader";qx.Bootstrap.define(SSSS_2,{statics:{__iR:{},__iS:{width:null,height:null},__iT:/\.(png|gif|jpg|jpeg|bmp)\b/i,isLoaded:function(source){var entry=this.__iR[source];return !!(entry&&entry.loaded);},isFailed:function(source){var entry=this.__iR[source];return !!(entry&&entry.failed);},isLoading:function(source){var entry=this.__iR[source];return !!(entry&&entry.loading);},getFormat:function(source){var entry=this.__iR[source];return entry?entry.format:null;},getSize:function(source){var entry=this.__iR[source];return entry?{width:entry.width,height:entry.height}:this.__iS;},getWidth:function(source){var entry=this.__iR[source];return entry?entry.width:null;},getHeight:function(source){var entry=this.__iR[source];return entry?entry.height:null;},load:function(source,callback,context){var entry=this.__iR[source];if(!entry){entry=this.__iR[source]={};}if(callback&&!context){context=window;}if(entry.loaded||entry.loading||entry.failed){if(callback){if(entry.loading){entry.callbacks.push(callback,context);}else{callback.call(context,source,entry);}}}else{entry.loading=true;entry.callbacks=[];if(callback){entry.callbacks.push(callback,context);}var el=new Image();var boundCallback=qx.lang.Function.listener(this.__iU,this,el,source);el.onload=boundCallback;el.onerror=boundCallback;el.src=source;}},__iU:qx.event.GlobalError.observeMethod(function(event,element,source){var entry=this.__iR[source];if(event.type===SSSS_1){entry.loaded=true;entry.width=this.__iV(element);entry.height=this.__iW(element);var result=this.__iT.exec(source);if(result!=null){entry.format=result[1];}}else{entry.failed=true;}element.onload=element.onerror=null;var callbacks=entry.callbacks;delete entry.loading;delete entry.callbacks;for(var i=0,l=callbacks.length;i<l;i+=2){callbacks[i].call(callbacks[i+1],source,entry);}}),__iV:qx.core.Variant.select(SSSS_0,{"gecko":function(element){return element.naturalWidth;},"default":function(element){return element.width;}}),__iW:qx.core.Variant.select(SSSS_0,{"gecko":function(element){return element.naturalHeight;},"default":function(element){return element.height;}})}});})();(function(){var SSSS_0="number",SSSS_1="0",SSSS_2="px",SSSS_3=";",SSSS_4="background-image:url(",SSSS_5=");",SSSS_6="",SSSS_7=")",SSSS_8="background-repeat:",SSSS_9=" ",SSSS_10="qx.bom.element.Background",SSSS_11="url(",SSSS_12="background-position:";qx.Class.define(SSSS_10,{statics:{__iX:[SSSS_4,null,SSSS_5,SSSS_12,null,SSSS_3,SSSS_8,null,SSSS_3],__iY:{backgroundImage:null,backgroundPosition:null,backgroundRepeat:null},__ja:function(left,top){var Engine=qx.bom.client.Engine;if(Engine.GECKO&&Engine.VERSION<1.9&&left==top&&typeof left==SSSS_0){top+=0.01;}if(left){var leftCss=(typeof left==SSSS_0)?left+SSSS_2:left;}else{leftCss=SSSS_1;}if(top){var topCss=(typeof top==SSSS_0)?top+SSSS_2:top;}else{topCss=SSSS_1;}return leftCss+SSSS_9+topCss;},compile:function(source,repeat,left,top){var position=this.__ja(left,top);var backgroundImageUrl=qx.util.ResourceManager.getInstance().toUri(source);var tmpl=this.__iX;tmpl[1]=backgroundImageUrl;tmpl[4]=position;tmpl[7]=repeat;return tmpl.join(SSSS_6);},getStyles:function(source,repeat,left,top){if(!source){return this.__iY;}var position=this.__ja(left,top);var backgroundImageUrl=qx.util.ResourceManager.getInstance().toUri(source);var map={backgroundPosition:position,backgroundImage:SSSS_11+backgroundImageUrl+SSSS_7};if(repeat!=null){map.backgroundRepeat=repeat;}return map;},set:function(element,source,repeat,left,top){var styles=this.getStyles(source,repeat,left,top);for(var prop in styles){element.style[prop]=styles[prop];}}}});})();(function(){var SSSS_0="_applyTheme",SSSS_1="qx.theme.manager.Color",SSSS_2="Theme",SSSS_3="changeTheme",SSSS_4="string",SSSS_5="singleton";qx.Class.define(SSSS_1,{type:SSSS_5,extend:qx.util.ValueManager,properties:{theme:{check:SSSS_2,nullable:true,apply:SSSS_0,event:SSSS_3}},members:{_applyTheme:function(value){var dest={};if(value){var source=value.colors;var util=qx.util.ColorUtil;var temp;for(var key in source){temp=source[key];if(typeof temp===SSSS_4){if(!util.isCssString(temp)){throw new Error("Could not parse color: "+temp);}}else if(temp instanceof Array){temp=util.rgbToRgbString(temp);}else{throw new Error("Could not parse color: "+temp);}dest[key]=temp;}}this._setDynamic(dest);},resolve:function(value){var cache=this._dynamic;var resolved=cache[value];if(resolved){return resolved;}var theme=this.getTheme();if(theme!==null&&theme.colors[value]){return cache[value]=theme.colors[value];}return value;},isDynamic:function(value){var cache=this._dynamic;if(value&&(cache[value]!==undefined)){return true;}var theme=this.getTheme();if(theme!==null&&value&&(theme.colors[value]!==undefined)){cache[value]=theme.colors[value];return true;}return false;}}});})();(function(){var SSSS_0=",",SSSS_1="rgb(",SSSS_2=")",SSSS_3="qx.theme.manager.Color",SSSS_4="qx.util.ColorUtil";qx.Class.define(SSSS_4,{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(value){return this.NAMED[value]!==undefined;},isSystemColor:function(value){return this.SYSTEM[value]!==undefined;},supportsThemes:function(){return qx.Class.isDefined(SSSS_3);},isThemedColor:function(value){if(!this.supportsThemes()){return false;}return qx.theme.manager.Color.getInstance().isDynamic(value);},stringToRgb:function(str){if(this.supportsThemes()&&this.isThemedColor(str)){var str=qx.theme.manager.Color.getInstance().resolveDynamic(str);}if(this.isNamedColor(str)){return this.NAMED[str];}else if(this.isSystemColor(str)){throw new Error("Could not convert system colors to RGB: "+str);}else if(this.isRgbString(str)){return this.__jb();}else if(this.isHex3String(str)){return this.__jd();}else if(this.isHex6String(str)){return this.__je();}throw new Error("Could not parse color: "+str);},cssStringToRgb:function(str){if(this.isNamedColor(str)){return this.NAMED[str];}else if(this.isSystemColor(str)){throw new Error("Could not convert system colors to RGB: "+str);}else if(this.isRgbString(str)){return this.__jb();}else if(this.isRgbaString(str)){return this.__jc();}else if(this.isHex3String(str)){return this.__jd();}else if(this.isHex6String(str)){return this.__je();}throw new Error("Could not parse color: "+str);},stringToRgbString:function(str){return this.rgbToRgbString(this.stringToRgb(str));},rgbToRgbString:function(rgb){return SSSS_1+rgb[0]+SSSS_0+rgb[1]+SSSS_0+rgb[2]+SSSS_2;},rgbToHexString:function(rgb){return (qx.lang.String.pad(rgb[0].toString(16).toUpperCase(),2)+qx.lang.String.pad(rgb[1].toString(16).toUpperCase(),2)+qx.lang.String.pad(rgb[2].toString(16).toUpperCase(),2));},isValidPropertyValue:function(str){return this.isThemedColor(str)||this.isNamedColor(str)||this.isHex3String(str)||this.isHex6String(str)||this.isRgbString(str);},isCssString:function(str){return this.isSystemColor(str)||this.isNamedColor(str)||this.isHex3String(str)||this.isHex6String(str)||this.isRgbString(str);},isHex3String:function(str){return this.REGEXP.hex3.test(str);},isHex6String:function(str){return this.REGEXP.hex6.test(str);},isRgbString:function(str){return this.REGEXP.rgb.test(str);},isRgbaString:function(str){return this.REGEXP.rgba.test(str);},__jb:function(){var red=parseInt(RegExp.$1,10);var green=parseInt(RegExp.$2,10);var blue=parseInt(RegExp.$3,10);return [red,green,blue];},__jc:function(){var red=parseInt(RegExp.$1,10);var green=parseInt(RegExp.$2,10);var blue=parseInt(RegExp.$3,10);return [red,green,blue];},__jd:function(){var red=parseInt(RegExp.$1,16)*17;var green=parseInt(RegExp.$2,16)*17;var blue=parseInt(RegExp.$3,16)*17;return [red,green,blue];},__je:function(){var red=(parseInt(RegExp.$1,16)*16)+parseInt(RegExp.$2,16);var green=(parseInt(RegExp.$3,16)*16)+parseInt(RegExp.$4,16);var blue=(parseInt(RegExp.$5,16)*16)+parseInt(RegExp.$6,16);return [red,green,blue];},hex3StringToRgb:function(value){if(this.isHex3String(value)){return this.__jd(value);}throw new Error("Invalid hex3 value: "+value);},hex6StringToRgb:function(value){if(this.isHex6String(value)){return this.__je(value);}throw new Error("Invalid hex6 value: "+value);},hexStringToRgb:function(value){if(this.isHex3String(value)){return this.__jd(value);}if(this.isHex6String(value)){return this.__je(value);}throw new Error("Invalid hex value: "+value);},rgbToHsb:function(rgb){var hue,saturation,brightness;var red=rgb[0];var green=rgb[1];var blue=rgb[2];var cmax=(red>green)?red:green;if(blue>cmax){cmax=blue;}var cmin=(red<green)?red:green;if(blue<cmin){cmin=blue;}brightness=cmax/255.0;if(cmax!=0){saturation=(cmax-cmin)/cmax;}else{saturation=0;}if(saturation==0){hue=0;}else{var redc=(cmax-red)/(cmax-cmin);var greenc=(cmax-green)/(cmax-cmin);var bluec=(cmax-blue)/(cmax-cmin);if(red==cmax){hue=bluec-greenc;}else if(green==cmax){hue=2.0+redc-bluec;}else{hue=4.0+greenc-redc;}hue=hue/6.0;if(hue<0){hue=hue+1.0;}}return [Math.round(hue*360),Math.round(saturation*100),Math.round(brightness*100)];},hsbToRgb:function(hsb){var i,f,p,q,t;var hue=hsb[0]/360;var saturation=hsb[1]/100;var brightness=hsb[2]/100;if(hue>=1.0){hue%=1.0;}if(saturation>1.0){saturation=1.0;}if(brightness>1.0){brightness=1.0;}var tov=Math.floor(255*brightness);var rgb={};if(saturation==0.0){rgb.red=rgb.green=rgb.blue=tov;}else{hue*=6.0;i=Math.floor(hue);f=hue-i;p=Math.floor(tov*(1.0-saturation));q=Math.floor(tov*(1.0-(saturation*f)));t=Math.floor(tov*(1.0-(saturation*(1.0-f))));switch(i){case 0:rgb.red=tov;rgb.green=t;rgb.blue=p;break;case 1:rgb.red=q;rgb.green=tov;rgb.blue=p;break;case 2:rgb.red=p;rgb.green=tov;rgb.blue=t;break;case 3:rgb.red=p;rgb.green=q;rgb.blue=tov;break;case 4:rgb.red=t;rgb.green=p;rgb.blue=tov;break;case 5:rgb.red=tov;rgb.green=p;rgb.blue=q;break;}}return [rgb.red,rgb.green,rgb.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 SSSS_0="string",SSSS_1="_applyTheme",SSSS_2="qx.theme.manager.Appearance",SSSS_3=":",SSSS_4="Theme",SSSS_5="changeTheme",SSSS_6="/",SSSS_7="singleton";qx.Class.define(SSSS_2,{type:SSSS_7,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.__jf={};this.__jg={};},properties:{theme:{check:SSSS_4,nullable:true,event:SSSS_5,apply:SSSS_1}},members:{__jh:{},__jf:null,__jg:null,_applyTheme:function(value,old){this.__jg={};this.__jf={};},__ji:function(id,theme,defaultId){var db=theme.appearances;var entry=db[id];if(!entry){var divider=SSSS_6;var end=[];var splitted=id.split(divider);var alias;while(!entry&&splitted.length>0){end.unshift(splitted.pop());var baseid=splitted.join(divider);entry=db[baseid];if(entry){alias=entry.alias||entry;if(typeof alias===SSSS_0){var mapped=alias+divider+end.join(divider);return this.__ji(mapped,theme,defaultId);}}}if(defaultId!=null){return this.__ji(defaultId,theme);}return null;}else if(typeof entry===SSSS_0){return this.__ji(entry,theme,defaultId);}else if(entry.include&&!entry.style){return this.__ji(entry.include,theme,defaultId);}return id;},styleFrom:function(id,states,theme,defaultId){if(!theme){theme=this.getTheme();}var aliasMap=this.__jg;var resolved=aliasMap[id];if(!resolved){resolved=aliasMap[id]=this.__ji(id,theme,defaultId);}var entry=theme.appearances[resolved];if(!entry){this.warn("Missing appearance: "+id);return null;}if(!entry.style){return null;}var unique=resolved;if(states){var bits=entry.$$bits;if(!bits){bits=entry.$$bits={};entry.$$length=0;}var sum=0;for(var state in states){if(!states[state]){continue;}if(bits[state]==null){bits[state]=1<<entry.$$length++;}sum+=bits[state];}if(sum>0){unique+=SSSS_3+sum;}}var cache=this.__jf;if(cache[unique]!==undefined){return cache[unique];}if(!states){states=this.__jh;}var result;if(entry.include||entry.base){var local=entry.style(states);var incl;if(entry.include){incl=this.styleFrom(entry.include,states,theme,defaultId);}result={};if(entry.base){var base=this.styleFrom(resolved,states,entry.base,defaultId);if(entry.include){for(var key in base){if(!incl.hasOwnProperty(key)&&!local.hasOwnProperty(key)){result[key]=base[key];}}}else{for(var key in base){if(!local.hasOwnProperty(key)){result[key]=base[key];}}}}if(entry.include){for(var key in incl){if(!local.hasOwnProperty(key)){result[key]=incl[key];}}}for(var key in local){result[key]=local[key];}}else{result=entry.style(states);}return cache[unique]=result||null;}},destruct:function(){this.__jf=this.__jg=null;}});})();(function(){var SSSS_0="nonScaled",SSSS_1="scaled",SSSS_2="alphaScaled",SSSS_3=".png",SSSS_4="div",SSSS_5="replacement",SSSS_6="hidden",SSSS_7="Boolean",SSSS_8="px",SSSS_9="http",SSSS_10="changeSource",SSSS_11="qx.client",SSSS_12="qx.ui.basic.Image",SSSS_13="qx.debug",SSSS_14="-disabled.$1",SSSS_15="__jj",SSSS_16="String",SSSS_17="_applySource",SSSS_18="img",SSSS_19="image",SSSS_20="_applyScale",SSSS_21="on";qx.Class.define(SSSS_12,{extend:qx.ui.core.Widget,construct:function(source){this.__jj={};arguments.callee.base.call(this);if(source){this.setSource(source);}},properties:{source:{check:SSSS_16,init:null,nullable:true,event:SSSS_10,apply:SSSS_17,themeable:true},scale:{check:SSSS_7,init:false,themeable:true,apply:SSSS_20},appearance:{refine:true,init:SSSS_19},allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false}},members:{__jk:null,__jl:null,__jm:null,__jj:null,getContentElement:function(){return this.__jq();},_createContentElement:function(){return this.__jq();},_getContentHint:function(){return {width:this.__jk||0,height:this.__jl||0};},_applyEnabled:function(value,old){arguments.callee.base.call(this,value,old);if(this.getSource()){this._styleSource();}},_applySource:function(value){this._styleSource();},_applyScale:function(value){this._styleSource();},__jn:function(mode){this.__jm=mode;},__jo:function(){if(this.__jm==null){var source=this.getSource();var isPng=false;if(source!=null){isPng=qx.lang.String.endsWith(source,SSSS_3);}if(this.getScale()&&isPng&&qx.bom.element.Decoration.isAlphaImageLoaderEnabled()){this.__jm=SSSS_2;}else if(this.getScale()){this.__jm=SSSS_1;}else{this.__jm=SSSS_0;}}return this.__jm;},__jp:function(mode){var scale;var tagName;if(mode==SSSS_2){scale=true;tagName=SSSS_4;}else if(mode==SSSS_0){scale=false;tagName=SSSS_4;}else{scale=true;tagName=SSSS_18;}var element=new qx.html.Image(tagName);element.setScale(scale);element.setStyles({"overflowX":SSSS_6,"overflowY":SSSS_6});return element;},__jq:function(){var mode=this.__jo();if(this.__jj[mode]==null){this.__jj[mode]=this.__jp(mode);}return this.__jj[mode];},_styleSource:function(){var source=qx.util.AliasManager.getInstance().resolve(this.getSource());if(!source){this.getContentElement().resetSource();return;}this.__jr(source);if(qx.util.ResourceManager.getInstance().has(source)){this.__jt(this.getContentElement(),source);}else if(qx.io.ImageLoader.isLoaded(source)){this.__ju(this.getContentElement(),source);}else{this.__jv(this.getContentElement(),source);}},__jr:qx.core.Variant.select(SSSS_11,{"mshtml":function(source){var alphaImageLoader=qx.bom.element.Decoration.isAlphaImageLoaderEnabled();var isPng=qx.lang.String.endsWith(source,SSSS_3);if(alphaImageLoader&&isPng){if(this.getScale()&&this.__jo()!=SSSS_2){this.__jn(SSSS_2);}else if(!this.getScale()&&this.__jo()!=SSSS_0){this.__jn(SSSS_0);}}else{if(this.getScale()&&this.__jo()!=SSSS_1){this.__jn(SSSS_1);}else if(!this.getScale()&&this.__jo()!=SSSS_0){this.__jn(SSSS_0);}}this.__js(this.__jq());},"default":function(source){if(this.getScale()&&this.__jo()!=SSSS_1){this.__jn(SSSS_1);}else if(!this.getScale()&&this.__jo(SSSS_0)){this.__jn(SSSS_0);}this.__js(this.__jq());}}),__js:function(elementToAdd){var container=this.getContainerElement();var currentContentElement=container.getChild(0);if(currentContentElement!=elementToAdd){if(currentContentElement!=null){var pixel=SSSS_8;var styles={};var innerSize=this.getInnerSize();if(innerSize!=null){styles.width=innerSize.width+pixel;styles.height=innerSize.height+pixel;}var insets=this.getInsets();styles.left=insets.left+pixel;styles.top=insets.top+pixel;styles.zIndex=10;elementToAdd.setStyles(styles,true);elementToAdd.setSelectable(this.getSelectable());}container.removeAt(0);container.addAt(elementToAdd,0);}},__jt:function(el,source){var ResourceManager=qx.util.ResourceManager.getInstance();if(!this.getEnabled()){var disabled=source.replace(/\.([a-z]+)$/,SSSS_14);if(ResourceManager.has(disabled)){source=disabled;this.addState(SSSS_5);}else{this.removeState(SSSS_5);}}if(el.getSource()===source){return;}el.setSource(source);this.__jy(ResourceManager.getImageWidth(source),ResourceManager.getImageHeight(source));},__ju:function(el,source){var ImageLoader=qx.io.ImageLoader;el.setSource(source);var width=ImageLoader.getWidth(source);var height=ImageLoader.getHeight(source);this.__jy(width,height);},__jv:function(el,source){var ImageLoader=qx.io.ImageLoader;if(qx.core.Variant.isSet(SSSS_13,SSSS_21)){if(!qx.lang.String.startsWith(source.toLowerCase(),SSSS_9)){var self=arguments.callee.self;if(!self.__jw){self.__jw={};}if(!self.__jw[source]){this.debug("try to load a unmanaged relative image: "+source);self.__jw[source]=true;}}}if(!ImageLoader.isFailed(source)){ImageLoader.load(source,this.__jx,this);}else{if(el!=null){el.resetSource();}}},__jx:function(source,imageInfo){if(source!==qx.util.AliasManager.getInstance().resolve(this.getSource())){return;}if(imageInfo.failed){this.warn("Image could not be loaded: "+source);}this._styleSource();},__jy:function(width,height){if(width!==this.__jk||height!==this.__jl){this.__jk=width;this.__jl=height;qx.ui.core.queue.Layout.add(this);}}},destruct:function(){this._disposeMap(SSSS_15);}});})();(function(){var SSSS_0="keep-align",SSSS_1="qx.debug",SSSS_2="interval",SSSS_3="'placementModeX' and 'placementModeY' instead.",SSSS_4="The property 'smart' is deprecated. Please us the properties ",SSSS_5="on",SSSS_6="Integer",SSSS_7="direct",SSSS_8="best-fit",SSSS_9="mouse",SSSS_10="bottom-left",SSSS_11="disappear",SSSS_12="Boolean",SSSS_13="Invalid attribute 'value'.",SSSS_14="bottom-right",SSSS_15="widget",SSSS_16="qx.ui.core.MPlacement",SSSS_17="left-top",SSSS_18="offsetRight",SSSS_19="shorthand",SSSS_20="offsetLeft",SSSS_21="top-left",SSSS_22="appear",SSSS_23="offsetBottom",SSSS_24="top-right",SSSS_25="offsetTop",SSSS_26="right-bottom",SSSS_27="right-top",SSSS_28="left-bottom";qx.Mixin.define(SSSS_16,{properties:{position:{check:[SSSS_21,SSSS_24,SSSS_10,SSSS_14,SSSS_17,SSSS_28,SSSS_27,SSSS_26],init:SSSS_10,themeable:true},placeMethod:{check:[SSSS_15,SSSS_9],init:SSSS_9,themeable:true},domMove:{check:SSSS_12,init:false},placementModeX:{check:[SSSS_7,SSSS_0,SSSS_8],init:SSSS_0,themeable:true},placementModeY:{check:[SSSS_7,SSSS_0,SSSS_8],init:SSSS_0,themeable:true},offsetLeft:{check:SSSS_6,init:0,themeable:true},offsetTop:{check:SSSS_6,init:0,themeable:true},offsetRight:{check:SSSS_6,init:0,themeable:true},offsetBottom:{check:SSSS_6,init:0,themeable:true},offset:{group:[SSSS_25,SSSS_18,SSSS_23,SSSS_20],mode:SSSS_19,themeable:true}},members:{__jz:null,getLayoutLocation:function(widget){var insets,bounds,left,top;bounds=widget.getBounds();left=bounds.left;top=bounds.top;var size=bounds;widget=widget.getLayoutParent();while(widget&&!widget.isRootWidget()){bounds=widget.getBounds();left+=bounds.left;top+=bounds.top;insets=widget.getInsets();left+=insets.left;top+=insets.top;widget=widget.getLayoutParent();}if(widget.isRootWidget()){var rootCoords=widget.getContainerLocation();if(rootCoords){left+=rootCoords.left;top+=rootCoords.top;}}return {left:left,top:top,right:left+size.width,bottom:top+size.height};},moveTo:function(left,top){if(this.getDomMove()){this.setDomPosition(left,top);}else{this.setLayoutProperties({left:left,top:top});}},placeToWidget:function(target,liveupdate){if(liveupdate){this.__jz=qx.lang.Function.bind(this.placeToWidget,this,target,false);qx.event.Idle.getInstance().addListener(SSSS_2,this.__jz);this.addListener(SSSS_11,function(){if(this.__jz){qx.event.Idle.getInstance().removeListener(SSSS_2,this.__jz);this.__jz=null;}},this);}var coords=target.getContainerLocation()||this.getLayoutLocation(target);this.__jB(coords);},placeToMouse:function(event){var left=event.getDocumentLeft();var top=event.getDocumentTop();var coords={left:left,top:top,right:left,bottom:top};this.__jB(coords);},placeToElement:function(elem,liveupdate){var location=qx.bom.element.Location.get(elem);var coords={left:location.left,top:location.top,right:location.left+elem.offsetWidth,bottom:location.top+elem.offsetHeight};if(liveupdate){this.__jz=qx.lang.Function.bind(this.placeToElement,this,elem,false);qx.event.Idle.getInstance().addListener(SSSS_2,this.__jz);this.addListener(SSSS_11,function(){if(this.__jz){qx.event.Idle.getInstance().removeListener(SSSS_2,this.__jz);this.__jz=null;}},this);}this.__jB(coords);},placeToPoint:function(point){var coords={left:point.left,top:point.top,right:point.left,bottom:point.top};this.__jB(coords);},_getPlacementOffsets:function(){return {left:this.getOffsetLeft(),top:this.getOffsetTop(),right:this.getOffsetRight(),bottom:this.getOffsetBottom()};},__jA:function(callback){var size=null;if(this._computePlacementSize){var size=this._computePlacementSize();}else if(this.isVisible()){var size=this.getBounds();}if(size==null){this.addListenerOnce(SSSS_22,function(){this.__jA(callback);},this);}else{callback.call(this,size);}},__jB:function(coords){this.__jA(function(size){var result=qx.util.placement.Placement.compute(size,this.getLayoutParent().getBounds(),coords,this._getPlacementOffsets(),this.getPosition(),this.getPlacementModeX(),this.getPlacementModeY());this.moveTo(result.left,result.top);});},setSmart:function(value){if(qx.core.Variant.isSet(SSSS_1,SSSS_5)){qx.core.Assert.assertBoolean(value,SSSS_13);qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_4+SSSS_3);}var mode=value?SSSS_0:SSSS_7;this.set({placementModeX:mode,placementModeY:mode});},getSmart:function(){if(qx.core.Variant.isSet(SSSS_1,SSSS_5)){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_4+SSSS_3);}var placementModeX=this.getPlacementModeX()==SSSS_0?true:false;var placementModeY=this.getPlacementModeY()==SSSS_0?true:false;return placementModeX&&placementModeY;},resetSmart:function(){if(qx.core.Variant.isSet(SSSS_1,SSSS_5)){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_4+SSSS_3);}this.resetPlacementModeX();this.resetPlacementModeY();},isSmart:function(){if(qx.core.Variant.isSet(SSSS_1,SSSS_5)){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_4+SSSS_3);}return this.getSmart();},toggleSmart:function(){if(qx.core.Variant.isSet(SSSS_1,SSSS_5)){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_4+SSSS_3);}this.setSmart(!this.getSmart());}},destruct:function(){if(this.__jz){qx.event.Idle.getInstance().removeListener(SSSS_2,this.__jz);}}});})();(function(){var SSSS_0="dragdrop-cursor",SSSS_1="_applyAction",SSSS_2="alias",SSSS_3="qx.ui.core.DragDropCursor",SSSS_4="move",SSSS_5="singleton",SSSS_6="copy";qx.Class.define(SSSS_3,{extend:qx.ui.basic.Image,include:qx.ui.core.MPlacement,type:SSSS_5,construct:function(){arguments.callee.base.call(this);this.setZIndex(1e8);this.setDomMove(true);var root=this.getApplicationRoot();root.add(this,{left:-1000,top:-1000});},properties:{appearance:{refine:true,init:SSSS_0},action:{check:[SSSS_2,SSSS_6,SSSS_4],apply:SSSS_1,nullable:true}},members:{_applyAction:function(value,old){if(old){this.removeState(old);}if(value){this.addState(value);}}}});})();(function(){var SSSS_0="interval",SSSS_1="Number",SSSS_2="_applyTimeoutInterval",SSSS_3="qx.event.type.Event",SSSS_4="qx.event.Idle",SSSS_5="singleton";qx.Class.define(SSSS_4,{extend:qx.core.Object,type:SSSS_5,construct:function(){arguments.callee.base.call(this);var timer=new qx.event.Timer(this.getTimeoutInterval());timer.addListener(SSSS_0,this._onInterval,this);timer.start();this.__jC=timer;},events:{"interval":SSSS_3},properties:{timeoutInterval:{check:SSSS_1,init:100,apply:SSSS_2}},members:{__jC:null,_applyTimeoutInterval:function(value){this.__jC.setInterval(value);},_onInterval:function(){this.fireEvent(SSSS_0);}},destruct:function(){if(this.__jC){this.__jC.stop();}this.__jC=null;}});})();(function(){var SSSS_0="top",SSSS_1="right",SSSS_2="bottom",SSSS_3="left",SSSS_4="edge-start",SSSS_5="align-start",SSSS_6="align-end",SSSS_7="edge-end",SSSS_8="qx.util.placement.AbstractAxis",SSSS_9="-",SSSS_10="best-fit",SSSS_11="size",SSSS_12="target.bottom",SSSS_13="offsets",SSSS_14="size.width",SSSS_15="offsets.bottom",SSSS_16="qx.util.placement.Placement",SSSS_17="qx.debug",SSSS_18="keep-align",SSSS_19="target.right",SSSS_20="direct",SSSS_21="offsets.right",SSSS_22='__jD',SSSS_23="target",SSSS_24="offsets.left",SSSS_25="area",SSSS_26="target.top",SSSS_27="area.height",SSSS_28="target.left",SSSS_29="area.width",SSSS_30="on",SSSS_31="size.height",SSSS_32="offsets.top";qx.Class.define(SSSS_16,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.__jD=new qx.util.placement.DirectAxis();},properties:{axisX:{check:SSSS_8},axisY:{check:SSSS_8},edge:{check:[SSSS_0,SSSS_1,SSSS_2,SSSS_3],init:SSSS_0},align:{check:[SSSS_0,SSSS_1,SSSS_2,SSSS_3],init:SSSS_1}},statics:{__jE:null,compute:function(size,area,target,offsets,position,modeX,modeY){this.__jE=this.__jE||new qx.util.placement.Placement();var splitted=position.split(SSSS_9);var edge=splitted[0];var align=splitted[1];this.__jE.set({axisX:this.__jI(modeX),axisY:this.__jI(modeY),edge:edge,align:align});return this.__jE.compute(size,area,target,offsets);},__jF:null,__jG:null,__jH:null,__jI:function(mode){switch(mode){case SSSS_20:this.__jF=this.__jF||new qx.util.placement.DirectAxis();return this.__jF;case SSSS_18:this.__jG=this.__jG||new qx.util.placement.KeepAlignAxis();return this.__jG;case SSSS_10:this.__jH=this.__jH||new qx.util.placement.BestFitAxis();return this.__jH;default:throw new Error("Invalid 'mode' argument!'");}}},members:{__jD:null,compute:function(size,area,target,offsets){if(qx.core.Variant.isSet(SSSS_17,SSSS_30)){this.assertObject(size,SSSS_11);this.assertNumber(size.width,SSSS_14);this.assertNumber(size.height,SSSS_31);this.assertObject(area,SSSS_25);this.assertNumber(area.width,SSSS_29);this.assertNumber(area.height,SSSS_27);this.assertObject(target,SSSS_23);this.assertNumber(target.top,SSSS_26);this.assertNumber(target.right,SSSS_19);this.assertNumber(target.bottom,SSSS_12);this.assertNumber(target.left,SSSS_28);this.assertObject(offsets,SSSS_13);this.assertNumber(offsets.top,SSSS_32);this.assertNumber(offsets.right,SSSS_21);this.assertNumber(offsets.bottom,SSSS_15);this.assertNumber(offsets.left,SSSS_24);}var axisX=this.getAxisX()||this.__jD;var left=axisX.computeStart(size.width,{start:target.left,end:target.right},{start:offsets.left,end:offsets.right},area.width,this.__jJ());var axisY=this.getAxisY()||this.__jD;var top=axisY.computeStart(size.height,{start:target.top,end:target.bottom},{start:offsets.top,end:offsets.bottom},area.height,this.__jK());return {left:left,top:top};},__jJ:function(){var edge=this.getEdge();var align=this.getAlign();if(edge==SSSS_3){return SSSS_4;}else if(edge==SSSS_1){return SSSS_7;}else if(align==SSSS_3){return SSSS_5;}else if(align==SSSS_1){return SSSS_6;}},__jK:function(){var edge=this.getEdge();var align=this.getAlign();if(edge==SSSS_0){return SSSS_4;}else if(edge==SSSS_2){return SSSS_7;}else if(align==SSSS_0){return SSSS_5;}else if(align==SSSS_2){return SSSS_6;}}},destruct:function(){this._disposeObjects(SSSS_22);}});})();(function(){var SSSS_0="edge-start",SSSS_1="align-start",SSSS_2="align-end",SSSS_3="edge-end",SSSS_4="qx.util.placement.AbstractAxis";qx.Class.define(SSSS_4,{extend:qx.core.Object,members:{computeStart:function(size,target,offsets,areaSize,position){throw new Error("abstract method call!");},_moveToEdgeAndAlign:function(size,target,offsets,position){switch(position){case SSSS_0:return target.start-offsets.end-size;case SSSS_3:return target.end+offsets.start;case SSSS_1:return target.start+offsets.start;case SSSS_2:return target.end-offsets.end-size;}},_isInRange:function(start,size,areaSize){return start>=0&&start+size<=areaSize;}}});})();(function(){var SSSS_0="qx.util.placement.DirectAxis";qx.Class.define(SSSS_0,{extend:qx.util.placement.AbstractAxis,members:{computeStart:function(size,target,offsets,areaSize,position){return this._moveToEdgeAndAlign(size,target,offsets,position);}}});})();(function(){var SSSS_0="qx.util.placement.KeepAlignAxis",SSSS_1="edge-start",SSSS_2="edge-end";qx.Class.define(SSSS_0,{extend:qx.util.placement.AbstractAxis,members:{computeStart:function(size,target,offsets,areaSize,position){var start=this._moveToEdgeAndAlign(size,target,offsets,position);var range1End,range2Start;if(this._isInRange(start,size,areaSize)){return start;}if(position==SSSS_1||position==SSSS_2){range1End=target.start-offsets.end;range2Start=target.end+offsets.start;}else{range1End=target.end-offsets.end;range2Start=target.start+offsets.start;}if(range1End>areaSize-range2Start){start=range1End-size;}else{start=range2Start;}return start;}}});})();(function(){var SSSS_0="qx.util.placement.BestFitAxis";qx.Class.define(SSSS_0,{extend:qx.util.placement.AbstractAxis,members:{computeStart:function(size,target,offsets,areaSize,position){var start=this._moveToEdgeAndAlign(size,target,offsets,position);if(this._isInRange(start,size,areaSize)){return start;}if(start<0){start=Math.min(0,areaSize-size);}if(start+size>areaSize){start=Math.max(0,areaSize-size);}return start;}}});})();(function(){var SSSS_0="qx.nativeScrollBars",SSSS_1="qx.ui.core.scroll.MScrollBarFactory";qx.core.Setting.define(SSSS_0,false);qx.Mixin.define(SSSS_1,{members:{_createScrollBar:function(orientation){if(qx.core.Setting.get(SSSS_0)){return new qx.ui.core.scroll.NativeScrollBar(orientation);}else{return new qx.ui.core.scroll.ScrollBar(orientation);}}}});})();(function(){var SSSS_0="scrollbar-y",SSSS_1="scrollbar-x",SSSS_2="pane",SSSS_3="auto",SSSS_4="corner",SSSS_5="on",SSSS_6="changeVisibility",SSSS_7="scroll",SSSS_8="_computeScrollbars",SSSS_9="off",SSSS_10="scrollY",SSSS_11="qx.ui.core.scroll.AbstractScrollArea",SSSS_12="abstract",SSSS_13="update",SSSS_14="scrollX",SSSS_15="mousewheel",SSSS_16="scrollbarY",SSSS_17="scrollbarX",SSSS_18="horizontal",SSSS_19="scrollarea",SSSS_20="vertical";qx.Class.define(SSSS_11,{extend:qx.ui.core.Widget,include:qx.ui.core.scroll.MScrollBarFactory,type:SSSS_12,construct:function(){arguments.callee.base.call(this);var grid=new qx.ui.layout.Grid();grid.setColumnFlex(0,1);grid.setRowFlex(0,1);this._setLayout(grid);this.addListener(SSSS_15,this._onMouseWheel,this);},properties:{appearance:{refine:true,init:SSSS_19},width:{refine:true,init:100},height:{refine:true,init:200},scrollbarX:{check:[SSSS_3,SSSS_5,SSSS_9],init:SSSS_3,themeable:true,apply:SSSS_8},scrollbarY:{check:[SSSS_3,SSSS_5,SSSS_9],init:SSSS_3,themeable:true,apply:SSSS_8},scrollbar:{group:[SSSS_17,SSSS_16]}},members:{_createChildControlImpl:function(id){var control;switch(id){case SSSS_2:control=new qx.ui.core.scroll.ScrollPane();control.addListener(SSSS_13,this._computeScrollbars,this);control.addListener(SSSS_14,this._onScrollPaneX,this);control.addListener(SSSS_10,this._onScrollPaneY,this);this._add(control,{row:0,column:0});break;case SSSS_1:control=this._createScrollBar(SSSS_18);control.setMinWidth(0);control.exclude();control.addListener(SSSS_7,this._onScrollBarX,this);control.addListener(SSSS_6,this._onChangeScrollbarXVisibility,this);this._add(control,{row:1,column:0});break;case SSSS_0:control=this._createScrollBar(SSSS_20);control.setMinHeight(0);control.exclude();control.addListener(SSSS_7,this._onScrollBarY,this);control.addListener(SSSS_6,this._onChangeScrollbarYVisibility,this);this._add(control,{row:0,column:1});break;case SSSS_4:control=new qx.ui.core.Widget();control.setWidth(0);control.setHeight(0);control.exclude();this._add(control,{row:1,column:1});break;}return control||arguments.callee.base.call(this,id);},getPaneSize:function(){return this.getChildControl(SSSS_2).getInnerSize();},getItemTop:function(item){return this.getChildControl(SSSS_2).getItemTop(item);},getItemBottom:function(item){return this.getChildControl(SSSS_2).getItemBottom(item);},getItemLeft:function(item){return this.getChildControl(SSSS_2).getItemLeft(item);},getItemRight:function(item){return this.getChildControl(SSSS_2).getItemRight(item);},scrollToX:function(value){qx.ui.core.queue.Manager.flush();this.getChildControl(SSSS_1).scrollTo(value);},scrollByX:function(value){qx.ui.core.queue.Manager.flush();this.getChildControl(SSSS_1).scrollBy(value);},getScrollX:function(){var scrollbar=this.getChildControl(SSSS_1,true);return scrollbar?scrollbar.getPosition():0;},scrollToY:function(value){qx.ui.core.queue.Manager.flush();this.getChildControl(SSSS_0).scrollTo(value);},scrollByY:function(value){qx.ui.core.queue.Manager.flush();this.getChildControl(SSSS_0).scrollBy(value);},getScrollY:function(){var scrollbar=this.getChildControl(SSSS_0,true);return scrollbar?scrollbar.getPosition():0;},_onScrollBarX:function(e){this.getChildControl(SSSS_2).scrollToX(e.getData());},_onScrollBarY:function(e){this.getChildControl(SSSS_2).scrollToY(e.getData());},_onScrollPaneX:function(e){this.scrollToX(e.getData());},_onScrollPaneY:function(e){this.scrollToY(e.getData());},_onMouseWheel:function(e){var showX=this._isChildControlVisible(SSSS_1);var showY=this._isChildControlVisible(SSSS_0);var scrollbar=(showY)?this.getChildControl(SSSS_0,true):(showX?this.getChildControl(SSSS_1,true):null);if(scrollbar){scrollbar.scrollBySteps(e.getWheelDelta());}e.stop();},_onChangeScrollbarXVisibility:function(e){var showX=this._isChildControlVisible(SSSS_1);var showY=this._isChildControlVisible(SSSS_0);if(!showX){this.scrollToX(0);}showX&&showY?this._showChildControl(SSSS_4):this._excludeChildControl(SSSS_4);},_onChangeScrollbarYVisibility:function(e){var showX=this._isChildControlVisible(SSSS_1);var showY=this._isChildControlVisible(SSSS_0);if(!showY){this.scrollToY(0);}showX&&showY?this._showChildControl(SSSS_4):this._excludeChildControl(SSSS_4);},_computeScrollbars:function(){var pane=this.getChildControl(SSSS_2);var content=pane.getChildren()[0];if(!content){this._excludeChildControl(SSSS_1);this._excludeChildControl(SSSS_0);return;}var innerSize=this.getInnerSize();var paneSize=pane.getInnerSize();var scrollSize=pane.getScrollSize();if(!paneSize||!scrollSize){return;}var scrollbarX=this.getScrollbarX();var scrollbarY=this.getScrollbarY();if(scrollbarX===SSSS_3&&scrollbarY===SSSS_3){var showX=scrollSize.width>innerSize.width;var showY=scrollSize.height>innerSize.height;if((showX||showY)&&!(showX&&showY)){if(showX){showY=scrollSize.height>paneSize.height;}else if(showY){showX=scrollSize.width>paneSize.width;}}}else{var showX=scrollbarX===SSSS_5;var showY=scrollbarY===SSSS_5;if(scrollSize.width>(showX?paneSize.width:innerSize.width)&&scrollbarX===SSSS_3){showX=true;}if(scrollSize.height>(showX?paneSize.height:innerSize.height)&&scrollbarY===SSSS_3){showY=true;}}if(showX){var barX=this.getChildControl(SSSS_1);barX.show();barX.setMaximum(Math.max(0,scrollSize.width-paneSize.width-1));barX.setKnobFactor(paneSize.width/scrollSize.width);}else{this._excludeChildControl(SSSS_1);}if(showY){var barY=this.getChildControl(SSSS_0);barY.show();barY.setMaximum(Math.max(0,scrollSize.height-paneSize.height-1));barY.setKnobFactor(paneSize.height/scrollSize.height);}else{this._excludeChildControl(SSSS_0);}}}});})();(function(){var SSSS_0="qx.ui.core.ISingleSelection",SSSS_1="qx.event.type.Data";qx.Interface.define(SSSS_0,{events:{"changeSelection":SSSS_1},members:{getSelection:function(){return true;},setSelection:function(items){return arguments.length==1;},resetSelection:function(){return true;},isSelected:function(item){return arguments.length==1;},isSelectionEmpty:function(){return true;},getSelectables:function(){return true;}}});})();(function(){var SSSS_0="qx.ui.core.IMultiSelection";qx.Interface.define(SSSS_0,{extend:qx.ui.core.ISingleSelection,members:{selectAll:function(){return true;},addToSelection:function(item){return arguments.length==1;},removeFromSelection:function(item){return arguments.length==1;}}});})();(function(){var SSSS_0="qx.ui.form.IModelSelection";qx.Interface.define(SSSS_0,{members:{setModelSelection:function(value){},getModelSelection:function(){}}});})();(function(){var SSSS_0="single",SSSS_1="Boolean",SSSS_2="one",SSSS_3="changeSelection",SSSS_4="mouseup",SSSS_5="mousedown",SSSS_6="losecapture",SSSS_7="multi",SSSS_8="_applyQuickSelection",SSSS_9="__jL",SSSS_10="mouseover",SSSS_11="_applySelectionMode",SSSS_12="_applyDragSelection",SSSS_13="qx.ui.core.MMultiSelectionHandling",SSSS_14="removeItem",SSSS_15="keypress",SSSS_16="qx.event.type.Data",SSSS_17="addItem",SSSS_18="additive",SSSS_19="mousemove";qx.Mixin.define(SSSS_13,{construct:function(){var clazz=this.SELECTION_MANAGER;var manager=this.__jL=new clazz(this);this.addListener(SSSS_5,manager.handleMouseDown,manager);this.addListener(SSSS_4,manager.handleMouseUp,manager);this.addListener(SSSS_10,manager.handleMouseOver,manager);this.addListener(SSSS_19,manager.handleMouseMove,manager);this.addListener(SSSS_6,manager.handleLoseCapture,manager);this.addListener(SSSS_15,manager.handleKeyPress,manager);this.addListener(SSSS_17,manager.handleAddItem,manager);this.addListener(SSSS_14,manager.handleRemoveItem,manager);manager.addListener(SSSS_3,this._onSelectionChange,this);},events:{"changeSelection":SSSS_16},properties:{selectionMode:{check:[SSSS_0,SSSS_7,SSSS_18,SSSS_2],init:SSSS_0,apply:SSSS_11},dragSelection:{check:SSSS_1,init:false,apply:SSSS_12},quickSelection:{check:SSSS_1,init:false,apply:SSSS_8}},members:{__jL:null,selectAll:function(){if(!this.getEnabled()){this.warn("Setting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to selectiong all items."));this.trace();}this.__jL.selectAll();},isSelected:function(item){if(!qx.ui.core.Widget.contains(this,item)){throw new Error("Could not test if "+item+" is selected, because it is not a child element!");}return this.__jL.isItemSelected(item);},addToSelection:function(item){if(!this.getEnabled()){this.warn("Setting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to selectiong the given items."));this.trace();}if(!qx.ui.core.Widget.contains(this,item)){throw new Error("Could not add + "+item+" to selection, because it is not a child element!");}this.__jL.addItem(item);},removeFromSelection:function(item){if(!this.getEnabled()){this.warn("Setting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to removing the given items."));this.trace();}if(!qx.ui.core.Widget.contains(this,item)){throw new Error("Could not remove "+item+" from selection, because it is not a child element!");}this.__jL.removeItem(item);},selectRange:function(begin,end){if(!this.getEnabled()){this.warn("Setting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to selectiong the given items."));this.trace();}this.__jL.selectItemRange(begin,end);},resetSelection:function(){if(!this.getEnabled()){this.warn("Resetting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to resetting the selectiong."));this.trace();}this.__jL.clearSelection();},setSelection:function(items){if(!this.getEnabled()){this.warn("Setting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to selectiong the given items."));this.trace();}for(var i=0;i<items.length;i++){if(!qx.ui.core.Widget.contains(this,items[i])){throw new Error("Could not select "+items[i]+", because it is not a child element!");}}if(items.length===0){this.resetSelection();}else{var currentSelection=this.getSelection();if(!qx.lang.Array.equals(currentSelection,items)){this.__jL.replaceSelection(items);}}},getSelection:function(){return this.__jL.getSelection();},getSortedSelection:function(){return this.__jL.getSortedSelection();},isSelectionEmpty:function(){return this.__jL.isSelectionEmpty();},getSelectionContext:function(){return this.__jL.getSelectionContext();},_getManager:function(){return this.__jL;},getSelectables:function(){return this.__jL.getSelectables();},invertSelection:function(){if(!this.getEnabled()){this.warn("Setting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to selectiong the given items."));this.trace();}this.__jL.invertSelection();},_getLeadItem:function(){var mode=this.__jL.getMode();if(mode===SSSS_0||mode===SSSS_2){return this.__jL.getSelectedItem();}else{return this.__jL.getLeadItem();}},_applySelectionMode:function(value,old){this.__jL.setMode(value);},_applyDragSelection:function(value,old){this.__jL.setDrag(value);},_applyQuickSelection:function(value,old){this.__jL.setQuick(value);},_onSelectionChange:function(e){this.fireDataEvent(SSSS_3,e.getData());}},destruct:function(){this._disposeObjects(SSSS_9);}});})();(function(){var SSSS_0="Please use an array as parameter.",SSSS_1="qx.ui.form.MModelSelection",SSSS_2="change",SSSS_3="__jM",SSSS_4="qx.debug",SSSS_5="changeSelection",SSSS_6="on",SSSS_7="qx.event.type.Data";qx.Mixin.define(SSSS_1,{construct:function(){this.__jM=new qx.data.Array();this.__jM.addListener(SSSS_2,this.__jP,this);this.addListener(SSSS_5,this.__jO,this);},events:{changeModelSelection:SSSS_7},members:{__jM:null,__jN:false,__jO:function(){if(this.__jN){return;}var data=this.getSelection();var modelSelection=[];for(var i=0;i<data.length;i++){var item=data[i];var model=item.getModel?item.getModel():null;if(model!==null){modelSelection.push(model);}}this.setModelSelection(modelSelection);},__jP:function(){this.__jN=true;var selectables=this.getSelectables();var itemSelection=[];var modelSelection=this.__jM.toArray();for(var i=0;i<modelSelection.length;i++){var model=modelSelection[i];for(var j=0;j<selectables.length;j++){var selectable=selectables[j];var selectableModel=selectable.getModel?selectable.getModel():null;if(model===selectableModel){itemSelection.push(selectable);break;}}}this.setSelection(itemSelection);this.__jN=false;var currentSelection=this.getSelection();if(!qx.lang.Array.equals(currentSelection,itemSelection)){this.__jO();}},getModelSelection:function(){return this.__jM;},setModelSelection:function(modelSelection){if(!modelSelection){this.__jM.removeAll();return;}if(qx.core.Variant.isSet(SSSS_4,SSSS_6)){this.assertArray(modelSelection,SSSS_0);}modelSelection.unshift(this.__jM.getLength());modelSelection.unshift(0);var returnArray=this.__jM.splice.apply(this.__jM,modelSelection);returnArray.dispose();}},destruct:function(){this._disposeObjects(SSSS_3);}});})();(function(){var SSSS_0="one",SSSS_1="single",SSSS_2="selected",SSSS_3="additive",SSSS_4="multi",SSSS_5="PageUp",SSSS_6="under",SSSS_7="Left",SSSS_8="lead",SSSS_9="Down",SSSS_10="Up",SSSS_11="Boolean",SSSS_12="PageDown",SSSS_13="anchor",SSSS_14="End",SSSS_15="Home",SSSS_16="Right",SSSS_17="right",SSSS_18="click",SSSS_19="above",SSSS_20="left",SSSS_21="Escape",SSSS_22="__jT",SSSS_23="drag",SSSS_24="Space",SSSS_25="A",SSSS_26="_applyMode",SSSS_27="qx.debug",SSSS_28="interval",SSSS_29="changeSelection",SSSS_30="Please use public 'getLeadItem' instead.",SSSS_31="qx.event.type.Data",SSSS_32="quick",SSSS_33="key",SSSS_34="abstract",SSSS_35="on",SSSS_36="qx.ui.core.selection.Abstract";qx.Class.define(SSSS_36,{type:SSSS_34,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.__jQ={};},events:{"changeSelection":SSSS_31},properties:{mode:{check:[SSSS_1,SSSS_4,SSSS_3,SSSS_0],init:SSSS_1,apply:SSSS_26},drag:{check:SSSS_11,init:false},quick:{check:SSSS_11,init:false}},members:{__jR:0,__jS:0,__jT:null,__jU:null,__jV:null,__jW:null,__jX:null,__jY:null,__ka:null,__kb:null,__kc:null,__kd:null,__ke:null,__kf:null,__kg:null,__kh:null,__ki:null,__jQ:null,__kj:null,__kk:null,getSelectionContext:function(){return this.__kh;},selectAll:function(){var mode=this.getMode();if(mode==SSSS_1||mode==SSSS_0){throw new Error("Can not select all items in selection mode: "+mode);}this._selectAllItems();this._fireChange();},selectItem:function(item){this._setSelectedItem(item);var mode=this.getMode();if(mode!==SSSS_1&&mode!==SSSS_0){this._setLeadItem(item);this._setAnchorItem(item);}this._scrollItemIntoView(item);this._fireChange();},addItem:function(item){var mode=this.getMode();if(mode===SSSS_1||mode===SSSS_0){this._setSelectedItem(item);}else{if(!this._getAnchorItem()){this._setAnchorItem(item);}this._setLeadItem(item);this._addToSelection(item);}this._scrollItemIntoView(item);this._fireChange();},removeItem:function(item){this._removeFromSelection(item);if(this.getMode()===SSSS_0&&this.isSelectionEmpty()){var first=this._getFirstSelectable();if(first){this.addItem(first);}if(first==item){return;}}if(this.getLeadItem()==item){this._setLeadItem(null);}if(this._getAnchorItem()==item){this._setAnchorItem(null);}this._fireChange();},selectItemRange:function(begin,end){var mode=this.getMode();if(mode==SSSS_1||mode==SSSS_0){throw new Error("Can not select multiple items in selection mode: "+mode);}this._selectItemRange(begin,end);this._setAnchorItem(begin);this._setLeadItem(end);this._scrollItemIntoView(end);this._fireChange();},clearSelection:function(){if(this.getMode()==SSSS_0){return;}this._clearSelection();this._setLeadItem(null);this._setAnchorItem(null);this._fireChange();},replaceSelection:function(items){var mode=this.getMode();if(mode==SSSS_0||mode===SSSS_1){if(items.length>1){throw new Error("Could not select more than one items in mode: "+mode+"!");}if(items.length==1){this.selectItem(items[0]);}else{this.clearSelection();}return;}else{this._replaceMultiSelection(items);}},getSelectedItem:function(){var mode=this.getMode();if(mode===SSSS_1||mode===SSSS_0){return this._getSelectedItem()||null;}throw new Error("The method getSelectedItem() is only supported in 'single' and 'one' selection mode!");},getSelection:function(){return qx.lang.Object.getValues(this.__jQ);},getSortedSelection:function(){var children=this.getSelectables();var sel=qx.lang.Object.getValues(this.__jQ);sel.sort(function(a,b){return children.indexOf(a)-children.indexOf(b);});return sel;},isItemSelected:function(item){var hash=this._selectableToHashCode(item);return this.__jQ[hash]!==undefined;},isSelectionEmpty:function(){return qx.lang.Object.isEmpty(this.__jQ);},invertSelection:function(){var mode=this.getMode();if(mode===SSSS_1||mode===SSSS_0){throw new Error("The method invertSelection() is only supported in 'multi' and 'additive' selection mode!");}var selectables=this.getSelectables();for(var i=0;i<selectables.length;i++){this._toggleInSelection(selectables[i]);}this._fireChange();},_setLeadItem:function(value){var old=this.__ki;if(old!==null){this._styleSelectable(old,SSSS_8,false);}if(value!==null){this._styleSelectable(value,SSSS_8,true);}this.__ki=value;},_getLeadItem:function(){if(qx.core.Variant.isSet(SSSS_27,SSSS_35)){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_30);}return this.getLeadItem();},getLeadItem:function(){return this.__ki!==null?this.__ki:null;},_setAnchorItem:function(value){var old=this.__kj;if(old){this._styleSelectable(old,SSSS_13,false);}if(value){this._styleSelectable(value,SSSS_13,true);}this.__kj=value;},_getAnchorItem:function(){return this.__kj!==null?this.__kj:null;},_isSelectable:function(item){throw new Error("Abstract method call: _isSelectable()");},_getSelectableFromMouseEvent:function(event){var target=event.getTarget();return this._isSelectable(target)?target:null;},_selectableToHashCode:function(item){throw new Error("Abstract method call: _selectableToHashCode()");},_styleSelectable:function(item,type,enabled){throw new Error("Abstract method call: _styleSelectable()");},_capture:function(){throw new Error("Abstract method call: _capture()");},_releaseCapture:function(){throw new Error("Abstract method call: _releaseCapture()");},_getLocation:function(){throw new Error("Abstract method call: _getLocation()");},_getDimension:function(){throw new Error("Abstract method call: _getDimension()");},_getSelectableLocationX:function(item){throw new Error("Abstract method call: _getSelectableLocationX()");},_getSelectableLocationY:function(item){throw new Error("Abstract method call: _getSelectableLocationY()");},_getScroll:function(){throw new Error("Abstract method call: _getScroll()");},_scrollBy:function(xoff,yoff){throw new Error("Abstract method call: _scrollBy()");},_scrollItemIntoView:function(item){throw new Error("Abstract method call: _scrollItemIntoView()");},getSelectables:function(){throw new Error("Abstract method call: getSelectables()");},_getSelectableRange:function(item1,item2){throw new Error("Abstract method call: _getSelectableRange()");},_getFirstSelectable:function(){throw new Error("Abstract method call: _getFirstSelectable()");},_getLastSelectable:function(){throw new Error("Abstract method call: _getLastSelectable()");},_getRelatedSelectable:function(item,relation){throw new Error("Abstract method call: _getRelatedSelectable()");},_getPage:function(lead,up){throw new Error("Abstract method call: _getPage()");},_applyMode:function(value,old){this._setLeadItem(null);this._setAnchorItem(null);this._clearSelection();if(value===SSSS_0){var first=this._getFirstSelectable();if(first){this._setSelectedItem(first);this._scrollItemIntoView(first);}}this._fireChange();},handleMouseOver:function(event){if(!this.getQuick()){return;}var mode=this.getMode();if(mode!==SSSS_0&&mode!==SSSS_1){return;}var item=this._getSelectableFromMouseEvent(event);if(item===null){return;}this._setSelectedItem(item);this._fireChange(SSSS_32);},handleMouseDown:function(event){var item=this._getSelectableFromMouseEvent(event);if(item===null){return;}var isCtrlPressed=event.isCtrlPressed()||(qx.bom.client.Platform.MAC&&event.isMetaPressed());var isShiftPressed=event.isShiftPressed();if(this.isItemSelected(item)&&!isShiftPressed&&!isCtrlPressed&&!this.getDrag()){this.__kk=item;return;}else{this.__kk=null;}this._scrollItemIntoView(item);switch(this.getMode()){case SSSS_1:case SSSS_0:this._setSelectedItem(item);break;case SSSS_3:this._setLeadItem(item);this._setAnchorItem(item);this._toggleInSelection(item);break;case SSSS_4:this._setLeadItem(item);if(isShiftPressed){var anchor=this._getAnchorItem();if(anchor===null){anchor=this._getFirstSelectable();this._setAnchorItem(anchor);}this._selectItemRange(anchor,item,isCtrlPressed);}else if(isCtrlPressed){this._setAnchorItem(item);this._toggleInSelection(item);}else{this._setAnchorItem(item);this._setSelectedItem(item);}break;}var mode=this.getMode();if(this.getDrag()&&mode!==SSSS_1&&mode!==SSSS_0&&!isShiftPressed&&!isCtrlPressed){this.__jX=this._getLocation();this.__jU=this._getScroll();this.__jY=event.getDocumentLeft()+this.__jU.left;this.__ka=event.getDocumentTop()+this.__jU.top;this.__kb=true;this._capture();}this._fireChange(SSSS_18);},handleMouseUp:function(event){var isCtrlPressed=event.isCtrlPressed()||(qx.bom.client.Platform.MAC&&event.isMetaPressed());var isShiftPressed=event.isShiftPressed();if(!isCtrlPressed&&!isShiftPressed&&this.__kk){var item=this._getSelectableFromMouseEvent(event);if(item===null||!this.isItemSelected(item)){return;}var mode=this.getMode();if(mode===SSSS_3){this._removeFromSelection(item);}else{this._setSelectedItem(item);if(this.getMode()===SSSS_4){this._setLeadItem(item);this._setAnchorItem(item);}}}this._cleanup();},handleLoseCapture:function(event){this._cleanup();},handleMouseMove:function(event){if(!this.__kb){return;}this.__kc=event.getDocumentLeft();this.__kd=event.getDocumentTop();var dragX=this.__kc+this.__jU.left;if(dragX>this.__jY){this.__ke=1;}else if(dragX<this.__jY){this.__ke=-1;}else{this.__ke=0;}var dragY=this.__kd+this.__jU.top;if(dragY>this.__ka){this.__kf=1;}else if(dragY<this.__ka){this.__kf=-1;}else{this.__kf=0;}var location=this.__jX;if(this.__kc<location.left){this.__jR=this.__kc-location.left;}else if(this.__kc>location.right){this.__jR=this.__kc-location.right;}else{this.__jR=0;}if(this.__kd<location.top){this.__jS=this.__kd-location.top;}else if(this.__kd>location.bottom){this.__jS=this.__kd-location.bottom;}else{this.__jS=0;}if(!this.__jT){this.__jT=new qx.event.Timer(100);this.__jT.addListener(SSSS_28,this._onInterval,this);}this.__jT.start();this._autoSelect();event.stopPropagation();},handleAddItem:function(e){var item=e.getData();if(this.getMode()===SSSS_0&&this.isSelectionEmpty()){this.addItem(item);}},handleRemoveItem:function(e){this.removeItem(e.getData());},_cleanup:function(){if(!this.getDrag()&&this.__kb){return;}if(this.__kg){this._fireChange(SSSS_18);}delete this.__kb;delete this.__jV;delete this.__jW;this._releaseCapture();if(this.__jT){this.__jT.stop();}},_onInterval:function(e){this._scrollBy(this.__jR,this.__jS);this.__jU=this._getScroll();this._autoSelect();},_autoSelect:function(){var inner=this._getDimension();var relX=Math.max(0,Math.min(this.__kc-this.__jX.left,inner.width))+this.__jU.left;var relY=Math.max(0,Math.min(this.__kd-this.__jX.top,inner.height))+this.__jU.top;if(this.__jV===relX&&this.__jW===relY){return;}this.__jV=relX;this.__jW=relY;var anchor=this._getAnchorItem();var lead=anchor;var moveX=this.__ke;var nextX,locationX;while(moveX!==0){nextX=moveX>0?this._getRelatedSelectable(lead,SSSS_17):this._getRelatedSelectable(lead,SSSS_20);if(nextX!==null){locationX=this._getSelectableLocationX(nextX);if((moveX>0&&locationX.left<=relX)||(moveX<0&&locationX.right>=relX)){lead=nextX;continue;}}break;}var moveY=this.__kf;var nextY,locationY;while(moveY!==0){nextY=moveY>0?this._getRelatedSelectable(lead,SSSS_6):this._getRelatedSelectable(lead,SSSS_19);if(nextY!==null){locationY=this._getSelectableLocationY(nextY);if((moveY>0&&locationY.top<=relY)||(moveY<0&&locationY.bottom>=relY)){lead=nextY;continue;}}break;}var mode=this.getMode();if(mode===SSSS_4){this._selectItemRange(anchor,lead);}else if(mode===SSSS_3){if(this.isItemSelected(anchor)){this._selectItemRange(anchor,lead,true);}else{this._deselectItemRange(anchor,lead);}this._setAnchorItem(lead);}this._fireChange(SSSS_23);},__kl:{Home:1,Down:1,Right:1,PageDown:1,End:1,Up:1,Left:1,PageUp:1},handleKeyPress:function(event){var current,next;var key=event.getKeyIdentifier();var mode=this.getMode();var isCtrlPressed=event.isCtrlPressed()||(qx.bom.client.Platform.MAC&&event.isMetaPressed());var isShiftPressed=event.isShiftPressed();var consumed=false;if(key===SSSS_25&&isCtrlPressed){if(mode!==SSSS_1&&mode!==SSSS_0){this._selectAllItems();consumed=true;}}else if(key===SSSS_21){if(mode!==SSSS_1&&mode!==SSSS_0){this._clearSelection();consumed=true;}}else if(key===SSSS_24){var lead=this.getLeadItem();if(lead&&!isShiftPressed){if(isCtrlPressed||mode===SSSS_3){this._toggleInSelection(lead);}else{this._setSelectedItem(lead);}consumed=true;}}else if(this.__kl[key]){consumed=true;if(mode===SSSS_1||mode==SSSS_0){current=this._getSelectedItem();}else{current=this.getLeadItem();}if(current!==null){switch(key){case SSSS_15:next=this._getFirstSelectable();break;case SSSS_14:next=this._getLastSelectable();break;case SSSS_10:next=this._getRelatedSelectable(current,SSSS_19);break;case SSSS_9:next=this._getRelatedSelectable(current,SSSS_6);break;case SSSS_7:next=this._getRelatedSelectable(current,SSSS_20);break;case SSSS_16:next=this._getRelatedSelectable(current,SSSS_17);break;case SSSS_5:next=this._getPage(current,true);break;case SSSS_12:next=this._getPage(current,false);break;}}else{switch(key){case SSSS_15:case SSSS_9:case SSSS_16:case SSSS_12:next=this._getFirstSelectable();break;case SSSS_14:case SSSS_10:case SSSS_7:case SSSS_5:next=this._getLastSelectable();break;}}if(next!==null){switch(mode){case SSSS_1:case SSSS_0:this._setSelectedItem(next);break;case SSSS_3:this._setLeadItem(next);break;case SSSS_4:if(isShiftPressed){var anchor=this._getAnchorItem();if(anchor===null){this._setAnchorItem(anchor=this._getFirstSelectable());}this._setLeadItem(next);this._selectItemRange(anchor,next,isCtrlPressed);}else{this._setAnchorItem(next);this._setLeadItem(next);if(!isCtrlPressed){this._setSelectedItem(next);}}break;}this._scrollItemIntoView(next);}}if(consumed){event.stop();this._fireChange(SSSS_33);}},_selectAllItems:function(){var range=this.getSelectables();for(var i=0,l=range.length;i<l;i++){this._addToSelection(range[i]);}},_clearSelection:function(){var selection=this.__jQ;for(var hash in selection){this._removeFromSelection(selection[hash]);}this.__jQ={};},_selectItemRange:function(item1,item2,extend){var range=this._getSelectableRange(item1,item2);if(!extend){var selected=this.__jQ;var mapped=this.__km(range);for(var hash in selected){if(!mapped[hash]){this._removeFromSelection(selected[hash]);}}}for(var i=0,l=range.length;i<l;i++){this._addToSelection(range[i]);}},_deselectItemRange:function(item1,item2){var range=this._getSelectableRange(item1,item2);for(var i=0,l=range.length;i<l;i++){this._removeFromSelection(range[i]);}},__km:function(range){var mapped={};var item;for(var i=0,l=range.length;i<l;i++){item=range[i];mapped[this._selectableToHashCode(item)]=item;}return mapped;},_getSelectedItem:function(){for(var hash in this.__jQ){return this.__jQ[hash];}return null;},_setSelectedItem:function(item){if(this._isSelectable(item)){var current=this.__jQ;var hash=this._selectableToHashCode(item);if(!current[hash]||qx.lang.Object.hasMinLength(current,2)){this._clearSelection();this._addToSelection(item);}}},_addToSelection:function(item){var hash=this._selectableToHashCode(item);if(!this.__jQ[hash]&&this._isSelectable(item)){this.__jQ[hash]=item;this._styleSelectable(item,SSSS_2,true);this.__kg=true;}},_toggleInSelection:function(item){var hash=this._selectableToHashCode(item);if(!this.__jQ[hash]){this.__jQ[hash]=item;this._styleSelectable(item,SSSS_2,true);}else{delete this.__jQ[hash];this._styleSelectable(item,SSSS_2,false);}this.__kg=true;},_removeFromSelection:function(item){var hash=this._selectableToHashCode(item);if(this.__jQ[hash]!=null){delete this.__jQ[hash];this._styleSelectable(item,SSSS_2,false);this.__kg=true;}},_replaceMultiSelection:function(items){var modified=false;var selectable,hash;var incoming={};for(var i=0,l=items.length;i<l;i++){selectable=items[i];if(this._isSelectable(selectable)){hash=this._selectableToHashCode(selectable);incoming[hash]=selectable;}}var last=selectable;var current=this.__jQ;for(var hash in current){if(incoming[hash]){delete incoming[hash];}else{selectable=current[hash];delete current[hash];this._styleSelectable(selectable,SSSS_2,false);modified=true;}}for(var hash in incoming){selectable=current[hash]=incoming[hash];this._styleSelectable(selectable,SSSS_2,true);modified=true;}if(!modified){return false;}this._scrollItemIntoView(last);this._setLeadItem(null);this._setAnchorItem(null);this.__kg=true;this._fireChange();},_fireChange:function(context){if(this.__kg){this.__kh=context||null;this.fireDataEvent(SSSS_29,this.getSelection());delete this.__kg;}}},destruct:function(){this._disposeObjects(SSSS_22);this.__jQ=this.__kk=this.__kj=null;this.__ki=null;}});})();(function(){var SSSS_0="vertical",SSSS_1="under",SSSS_2="above",SSSS_3="qx.ui.core.selection.Widget",SSSS_4="left",SSSS_5="right";qx.Class.define(SSSS_3,{extend:qx.ui.core.selection.Abstract,construct:function(widget){arguments.callee.base.call(this);this.__kn=widget;},members:{__kn:null,_isSelectable:function(item){return item.isEnabled()&&item.isVisible()&&item.getLayoutParent()===this.__kn;},_selectableToHashCode:function(item){return item.$$hash;},_styleSelectable:function(item,type,enabled){enabled?item.addState(type):item.removeState(type);},_capture:function(){this.__kn.capture();},_releaseCapture:function(){this.__kn.releaseCapture();},_getWidget:function(){return this.__kn;},_getLocation:function(){var elem=this.__kn.getContentElement().getDomElement();return elem?qx.bom.element.Location.get(elem):null;},_getDimension:function(){return this.__kn.getInnerSize();},_getSelectableLocationX:function(item){var computed=item.getBounds();if(computed){return {left:computed.left,right:computed.left+computed.width};}},_getSelectableLocationY:function(item){var computed=item.getBounds();if(computed){return {top:computed.top,bottom:computed.top+computed.height};}},_getScroll:function(){return {left:0,top:0};},_scrollBy:function(xoff,yoff){},_scrollItemIntoView:function(item){this.__kn.scrollChildIntoView(item);},getSelectables:function(){var children=this.__kn.getChildren();var result=[];var child;for(var i=0,l=children.length;i<l;i++){child=children[i];if(child.isEnabled()&&child.isVisible()){result.push(child);}}return result;},_getSelectableRange:function(item1,item2){if(item1===item2){return [item1];}var children=this.__kn.getChildren();var result=[];var active=false;var child;for(var i=0,l=children.length;i<l;i++){child=children[i];if(child===item1||child===item2){if(active){result.push(child);break;}else{active=true;}}if(active&&child.isEnabled()&&child.isVisible()){result.push(child);}}return result;},_getFirstSelectable:function(){var children=this.__kn.getChildren();for(var i=0,l=children.length;i<l;i++){if(children[i].isEnabled()&&children[i].isVisible()){return children[i];}}return null;},_getLastSelectable:function(){var children=this.__kn.getChildren();for(var i=children.length-1;i>0;i--){if(children[i].isEnabled()&&children[i].isVisible()){return children[i];}}return null;},_getRelatedSelectable:function(item,relation){var vertical=this.__kn.getOrientation()===SSSS_0;var children=this.__kn.getChildren();var index=children.indexOf(item);var sibling;if((vertical&&relation===SSSS_2)||(!vertical&&relation===SSSS_4)){for(var i=index-1;i>=0;i--){sibling=children[i];if(sibling.isEnabled()&&sibling.isVisible()){return sibling;}}}else if((vertical&&relation===SSSS_1)||(!vertical&&relation===SSSS_5)){for(var i=index+1;i<children.length;i++){sibling=children[i];if(sibling.isEnabled()&&sibling.isVisible()){return sibling;}}}return null;},_getPage:function(lead,up){if(up){return this._getFirstSelectable();}else{return this._getLastSelectable();}}},destruct:function(){this.__kn=null;}});})();(function(){var SSSS_0="qx.ui.core.selection.ScrollArea";qx.Class.define(SSSS_0,{extend:qx.ui.core.selection.Widget,members:{_isSelectable:function(item){return (item.isEnabled()&&item.isVisible()&&item.getLayoutParent()===this._getWidget().getChildrenContainer());},_getDimension:function(){return this._getWidget().getPaneSize();},_getScroll:function(){var widget=this._getWidget();return {left:widget.getScrollX(),top:widget.getScrollY()};},_scrollBy:function(xoff,yoff){var widget=this._getWidget();widget.scrollByX(xoff);widget.scrollByY(yoff);},_getPage:function(lead,up){var selectables=this.getSelectables();var length=selectables.length;var start=selectables.indexOf(lead);if(start===-1){throw new Error("Invalid lead item: "+lead);}var widget=this._getWidget();var scrollTop=widget.getScrollY();var innerHeight=widget.getInnerSize().height;var top,bottom,found;if(up){var min=scrollTop;var i=start;while(1){for(;i>=0;i--){top=widget.getItemTop(selectables[i]);if(top<min){found=i+1;break;}}if(found==null){var first=this._getFirstSelectable();return first==lead?null:first;}if(found>=start){min-=innerHeight+scrollTop-widget.getItemBottom(lead);found=null;continue;}return selectables[found];}}else{var max=innerHeight+scrollTop;var i=start;while(1){for(;i<length;i++){bottom=widget.getItemBottom(selectables[i]);if(bottom>max){found=i-1;break;}}if(found==null){var last=this._getLastSelectable();return last==lead?null:last;}if(found<=start){max+=widget.getItemTop(lead)-scrollTop;found=null;continue;}return selectables[found];}}}}});})();(function(){var SSSS_0="horizontal",SSSS_1="qx.event.type.Data",SSSS_2="vertical",SSSS_3="",SSSS_4="qx.ui.form.List",SSSS_5="Boolean",SSSS_6="one",SSSS_7="addChildWidget",SSSS_8="_applySpacing",SSSS_9="Enter",SSSS_10="Integer",SSSS_11="action",SSSS_12="keyinput",SSSS_13="addItem",SSSS_14="removeChildWidget",SSSS_15="_applyOrientation",SSSS_16="single",SSSS_17="keypress",SSSS_18="list",SSSS_19="pane",SSSS_20="removeItem",SSSS_21="__ko";qx.Class.define(SSSS_4,{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(horizontal){arguments.callee.base.call(this);this.__ko=new qx.ui.container.Composite();this.__ko.addListener(SSSS_7,this._onAddChild,this);this.__ko.addListener(SSSS_14,this._onRemoveChild,this);this.getChildControl(SSSS_19).add(this.__ko);if(horizontal){this.setOrientation(SSSS_0);}else{this.initOrientation();}this.addListener(SSSS_17,this._onKeyPress);this.addListener(SSSS_12,this._onKeyInput);this.__kp=SSSS_3;},events:{addItem:SSSS_1,removeItem:SSSS_1},properties:{appearance:{refine:true,init:SSSS_18},focusable:{refine:true,init:true},orientation:{check:[SSSS_0,SSSS_2],init:SSSS_2,apply:SSSS_15},spacing:{check:SSSS_10,init:0,apply:SSSS_8,themeable:true},enableInlineFind:{check:SSSS_5,init:true}},members:{__kp:null,__kq:null,__ko:null,SELECTION_MANAGER:qx.ui.core.selection.ScrollArea,getChildrenContainer:function(){return this.__ko;},_onAddChild:function(e){this.fireDataEvent(SSSS_13,e.getData());},_onRemoveChild:function(e){this.fireDataEvent(SSSS_20,e.getData());},handleKeyPress:function(e){if(!this._onKeyPress(e)){this._getManager().handleKeyPress(e);}},_applyOrientation:function(value,old){var horizontal=value===SSSS_0;var layout=horizontal?new qx.ui.layout.HBox():new qx.ui.layout.VBox();var content=this.__ko;content.setLayout(layout);content.setAllowGrowX(!horizontal);content.setAllowGrowY(horizontal);this._applySpacing(this.getSpacing());},_applySpacing:function(value,old){this.__ko.getLayout().setSpacing(value);},_onKeyPress:function(e){if(e.getKeyIdentifier()==SSSS_9&&!e.isAltPressed()){var items=this.getSelection();for(var i=0;i<items.length;i++){items[i].fireEvent(SSSS_11);}return true;}return false;},_onKeyInput:function(e){if(!this.getEnableInlineFind()){return;}var mode=this.getSelectionMode();if(!(mode===SSSS_16||mode===SSSS_6)){return;}if(((new Date).valueOf()-this.__kq)>1000){this.__kp=SSSS_3;}this.__kp+=e.getChar();var matchedItem=this.findItemByLabelFuzzy(this.__kp);if(matchedItem){this.setSelection([matchedItem]);}this.__kq=(new Date).valueOf();},findItemByLabelFuzzy:function(search){search=search.toLowerCase();var items=this.getChildren();for(var i=0,l=items.length;i<l;i++){var currentLabel=items[i].getLabel();if(currentLabel&&currentLabel.toLowerCase().indexOf(search)==0){return items[i];}}return null;},findItem:function(search,ignoreCase){if(ignoreCase!==false){search=search.toLowerCase();}var items=this.getChildren();var item;for(var i=0,l=items.length;i<l;i++){item=items[i];var label=item.getLabel();if(label!=null){if(label.translate){label=label.translate();}if(ignoreCase!==false){label=label.toLowerCase();}if(label.toString()==search.toString()){return item;}}}return null;}},destruct:function(){this._disposeObjects(SSSS_21);}});})();(function(){var SSSS_0="qx.ui.core.scroll.IScrollBar",SSSS_1="qx.event.type.Data";qx.Interface.define(SSSS_0,{events:{"scroll":SSSS_1},properties:{orientation:{},maximum:{},position:{},knobFactor:{}},members:{scrollTo:function(position){this.assertNumber(position);},scrollBy:function(offset){this.assertNumber(offset);},scrollBySteps:function(steps){this.assertNumber(steps);}}});})();(function(){var SSSS_0="horizontal",SSSS_1="px",SSSS_2="scroll",SSSS_3="vertical",SSSS_4="-1px",SSSS_5="qx.client",SSSS_6="0",SSSS_7="hidden",SSSS_8="mousedown",SSSS_9="qx.ui.core.scroll.NativeScrollBar",SSSS_10="PositiveNumber",SSSS_11="Integer",SSSS_12="__ks",SSSS_13="mousemove",SSSS_14="_applyMaximum",SSSS_15="_applyOrientation",SSSS_16="appear",SSSS_17="opera",SSSS_18="PositiveInteger",SSSS_19="mshtml",SSSS_20="mouseup",SSSS_21="Number",SSSS_22="_applyPosition",SSSS_23="scrollbar",SSSS_24="native";qx.Class.define(SSSS_9,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(orientation){arguments.callee.base.call(this);this.addState(SSSS_24);this.getContentElement().addListener(SSSS_2,this._onScroll,this);this.addListener(SSSS_8,this._stopPropagation,this);this.addListener(SSSS_20,this._stopPropagation,this);this.addListener(SSSS_13,this._stopPropagation,this);if(qx.core.Variant.isSet(SSSS_5,SSSS_17)){this.addListener(SSSS_16,this._onAppear,this);}this.getContentElement().add(this._getScrollPaneElement());if(orientation!=null){this.setOrientation(orientation);}else{this.initOrientation();}},properties:{appearance:{refine:true,init:SSSS_23},orientation:{check:[SSSS_0,SSSS_3],init:SSSS_0,apply:SSSS_15},maximum:{check:SSSS_18,apply:SSSS_14,init:100},position:{check:SSSS_21,init:0,apply:SSSS_22,event:SSSS_2},singleStep:{check:SSSS_11,init:20},knobFactor:{check:SSSS_10,nullable:true}},members:{__kr:null,__ks:null,_getScrollPaneElement:function(){if(!this.__ks){this.__ks=new qx.html.Element();}return this.__ks;},renderLayout:function(left,top,width,height){var changes=arguments.callee.base.call(this,left,top,width,height);this._updateScrollBar();return changes;},_getContentHint:function(){var scrollbarWidth=qx.bom.element.Overflow.getScrollbarWidth();return {width:this.__kr?100:scrollbarWidth,maxWidth:this.__kr?null:scrollbarWidth,minWidth:this.__kr?null:scrollbarWidth,height:this.__kr?scrollbarWidth:100,maxHeight:this.__kr?scrollbarWidth:null,minHeight:this.__kr?scrollbarWidth:null};},_applyEnabled:function(value,old){arguments.callee.base.call(this,value,old);this._updateScrollBar();},_applyMaximum:function(value){this._updateScrollBar();},_applyPosition:function(value){var content=this.getContentElement();if(this.__kr){content.scrollToX(value);}else{content.scrollToY(value);}},_applyOrientation:function(value,old){var isHorizontal=this.__kr=value===SSSS_0;this.set({allowGrowX:isHorizontal,allowShrinkX:isHorizontal,allowGrowY:!isHorizontal,allowShrinkY:!isHorizontal});if(isHorizontal){this.replaceState(SSSS_3,SSSS_0);}else{this.replaceState(SSSS_0,SSSS_3);}this.getContentElement().setStyles({overflowX:isHorizontal?SSSS_2:SSSS_7,overflowY:isHorizontal?SSSS_7:SSSS_2});qx.ui.core.queue.Layout.add(this);},_updateScrollBar:function(){var isHorizontal=this.__kr;var bounds=this.getBounds();if(!bounds){return;}if(this.isEnabled()){var containerSize=isHorizontal?bounds.width:bounds.height;var innerSize=this.getMaximum()+containerSize;}else{innerSize=0;}if(qx.core.Variant.isSet(SSSS_5,SSSS_19)){var bounds=this.getBounds();this.getContentElement().setStyles({left:isHorizontal?SSSS_6:SSSS_4,top:isHorizontal?SSSS_4:SSSS_6,width:(isHorizontal?bounds.width:bounds.width+1)+SSSS_1,height:(isHorizontal?bounds.height+1:bounds.height)+SSSS_1});}this._getScrollPaneElement().setStyles({left:0,top:0,width:(isHorizontal?innerSize:1)+SSSS_1,height:(isHorizontal?1:innerSize)+SSSS_1});this.scrollTo(this.getPosition());},scrollTo:function(position){this.setPosition(Math.max(0,Math.min(this.getMaximum(),position)));},scrollBy:function(offset){this.scrollTo(this.getPosition()+offset);},scrollBySteps:function(steps){var size=this.getSingleStep();this.scrollBy(steps*size);},_onScroll:function(e){var container=this.getContentElement();var position=this.__kr?container.getScrollX():container.getScrollY();this.setPosition(position);},_onAppear:function(e){this.scrollTo(this.getPosition());},_stopPropagation:function(e){e.stopPropagation();}},destruct:function(){this._disposeObjects(SSSS_12);}});})();(function(){var SSSS_0="slider",SSSS_1="horizontal",SSSS_2="button-begin",SSSS_3="vertical",SSSS_4="button-end",SSSS_5="Integer",SSSS_6="execute",SSSS_7="right",SSSS_8="left",SSSS_9="down",SSSS_10="up",SSSS_11="PositiveNumber",SSSS_12="changeValue",SSSS_13="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getMaximum()",SSSS_14="_applyKnobFactor",SSSS_15="knob",SSSS_16="qx.ui.core.scroll.ScrollBar",SSSS_17="resize",SSSS_18="_applyOrientation",SSSS_19="_applyPageStep",SSSS_20="PositiveInteger",SSSS_21="scroll",SSSS_22="_applyPosition",SSSS_23="scrollbar",SSSS_24="_applyMaximum";qx.Class.define(SSSS_16,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(orientation){arguments.callee.base.call(this);this._createChildControl(SSSS_2);this._createChildControl(SSSS_0).addListener(SSSS_17,this._onResizeSlider,this);this._createChildControl(SSSS_4);if(orientation!=null){this.setOrientation(orientation);}else{this.initOrientation();}},properties:{appearance:{refine:true,init:SSSS_23},orientation:{check:[SSSS_1,SSSS_3],init:SSSS_1,apply:SSSS_18},maximum:{check:SSSS_20,apply:SSSS_24,init:100},position:{check:SSSS_13,init:0,apply:SSSS_22,event:SSSS_21},singleStep:{check:SSSS_5,init:20},pageStep:{check:SSSS_5,init:10,apply:SSSS_19},knobFactor:{check:SSSS_11,apply:SSSS_14,nullable:true}},members:{__kt:2,_createChildControlImpl:function(id){var control;switch(id){case SSSS_0:control=new qx.ui.core.scroll.ScrollSlider();control.setPageStep(100);control.setFocusable(false);control.addListener(SSSS_12,this._onChangeSliderValue,this);this._add(control,{flex:1});break;case SSSS_2:control=new qx.ui.form.RepeatButton();control.setFocusable(false);control.addListener(SSSS_6,this._onExecuteBegin,this);this._add(control);break;case SSSS_4:control=new qx.ui.form.RepeatButton();control.setFocusable(false);control.addListener(SSSS_6,this._onExecuteEnd,this);this._add(control);break;}return control||arguments.callee.base.call(this,id);},_applyMaximum:function(value){this.getChildControl(SSSS_0).setMaximum(value);},_applyPosition:function(value){this.getChildControl(SSSS_0).setValue(value);},_applyKnobFactor:function(value){this.getChildControl(SSSS_0).setKnobFactor(value);},_applyPageStep:function(value){this.getChildControl(SSSS_0).setPageStep(value);},_applyOrientation:function(value,old){var oldLayout=this._getLayout();if(oldLayout){oldLayout.dispose();}if(value===SSSS_1){this._setLayout(new qx.ui.layout.HBox());this.setAllowStretchX(true);this.setAllowStretchY(false);this.replaceState(SSSS_3,SSSS_1);this.getChildControl(SSSS_2).replaceState(SSSS_10,SSSS_8);this.getChildControl(SSSS_4).replaceState(SSSS_9,SSSS_7);}else{this._setLayout(new qx.ui.layout.VBox());this.setAllowStretchX(false);this.setAllowStretchY(true);this.replaceState(SSSS_1,SSSS_3);this.getChildControl(SSSS_2).replaceState(SSSS_8,SSSS_10);this.getChildControl(SSSS_4).replaceState(SSSS_7,SSSS_9);}this.getChildControl(SSSS_0).setOrientation(value);},scrollTo:function(position){this.getChildControl(SSSS_0).slideTo(position);},scrollBy:function(offset){this.getChildControl(SSSS_0).slideBy(offset);},scrollBySteps:function(steps){var size=this.getSingleStep();this.getChildControl(SSSS_0).slideBy(steps*size);},_onExecuteBegin:function(e){this.scrollBy(-this.getSingleStep());},_onExecuteEnd:function(e){this.scrollBy(this.getSingleStep());},_onChangeSliderValue:function(e){this.setPosition(e.getData());},_onResizeSlider:function(e){var knob=this.getChildControl(SSSS_0).getChildControl(SSSS_15);var knobHint=knob.getSizeHint();var hideKnob=false;var sliderSize=this.getChildControl(SSSS_0).getInnerSize();if(this.getOrientation()==SSSS_3){if(sliderSize.height<knobHint.minHeight+this.__kt){hideKnob=true;}}else{if(sliderSize.width<knobHint.minWidth+this.__kt){hideKnob=true;}}if(hideKnob){knob.exclude();}else{knob.show();}}}});})();(function(){var SSSS_0="qx.ui.form.INumberForm",SSSS_1="qx.event.type.Data";qx.Interface.define(SSSS_0,{events:{"changeValue":SSSS_1},members:{setValue:function(value){return arguments.length==1;},resetValue:function(){},getValue:function(){}}});})();(function(){var SSSS_0="qx.ui.form.IRange";qx.Interface.define(SSSS_0,{members:{setMinimum:function(min){return arguments.length==1;},getMinimum:function(){},setMaximum:function(max){return arguments.length==1;},getMaximum:function(){},setSingleStep:function(step){return arguments.length==1;},getSingleStep:function(){},setPageStep:function(step){return arguments.length==1;},getPageStep:function(){}}});})();(function(){var SSSS_0="knob",SSSS_1="horizontal",SSSS_2="vertical",SSSS_3="Integer",SSSS_4="px",SSSS_5="mousemove",SSSS_6="resize",SSSS_7="left",SSSS_8="top",SSSS_9="mouseup",SSSS_10="slider",SSSS_11="PageUp",SSSS_12="mousedown",SSSS_13="height",SSSS_14="changeValue",SSSS_15="Left",SSSS_16="Down",SSSS_17="Up",SSSS_18="dblclick",SSSS_19="qx.ui.form.Slider",SSSS_20="PageDown",SSSS_21="mousewheel",SSSS_22="interval",SSSS_23="_applyValue",SSSS_24="_applyKnobFactor",SSSS_25="End",SSSS_26="width",SSSS_27="_applyOrientation",SSSS_28="Home",SSSS_29="floor",SSSS_30="_applyMinimum",SSSS_31="click",SSSS_32="Right",SSSS_33="keypress",SSSS_34="ceil",SSSS_35="losecapture",SSSS_36="contextmenu",SSSS_37="_applyMaximum",SSSS_38="Number",SSSS_39="typeof value==='number'&&value>=this.getMinimum()&&value<=this.getMaximum()";qx.Class.define(SSSS_19,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IForm,qx.ui.form.INumberForm,qx.ui.form.IRange],include:[qx.ui.form.MForm],construct:function(orientation){arguments.callee.base.call(this);this._setLayout(new qx.ui.layout.Canvas());this.addListener(SSSS_33,this._onKeyPress);this.addListener(SSSS_21,this._onMouseWheel);this.addListener(SSSS_12,this._onMouseDown);this.addListener(SSSS_9,this._onMouseUp);this.addListener(SSSS_35,this._onMouseUp);this.addListener(SSSS_6,this._onUpdate);this.addListener(SSSS_36,this._onStopEvent);this.addListener(SSSS_31,this._onStopEvent);this.addListener(SSSS_18,this._onStopEvent);if(orientation!=null){this.setOrientation(orientation);}else{this.initOrientation();}},properties:{appearance:{refine:true,init:SSSS_10},focusable:{refine:true,init:true},orientation:{check:[SSSS_1,SSSS_2],init:SSSS_1,apply:SSSS_27},value:{check:SSSS_39,init:0,apply:SSSS_23,event:SSSS_14,nullable:true},minimum:{check:SSSS_3,init:0,apply:SSSS_30},maximum:{check:SSSS_3,init:100,apply:SSSS_37},singleStep:{check:SSSS_3,init:1},pageStep:{check:SSSS_3,init:10},knobFactor:{check:SSSS_38,apply:SSSS_24,nullable:true}},members:{__ku:null,__kv:null,__kw:null,__kx:null,__ky:null,__kz:null,__kA:null,__kB:null,__kC:null,_forwardStates:{invalid:true},_createChildControlImpl:function(id){var control;switch(id){case SSSS_0:control=new qx.ui.core.Widget();control.addListener(SSSS_6,this._onUpdate,this);this._add(control);break;}return control||arguments.callee.base.call(this,id);},_onMouseWheel:function(e){var direction=e.getWheelDelta()>0?1:-1;this.slideBy(direction*this.getSingleStep());e.stop();},_onKeyPress:function(e){var isHorizontal=this.getOrientation()===SSSS_1;var backward=isHorizontal?SSSS_15:SSSS_17;var forward=isHorizontal?SSSS_32:SSSS_16;switch(e.getKeyIdentifier()){case forward:this.slideForward();break;case backward:this.slideBack();break;case SSSS_20:this.slidePageForward();break;case SSSS_11:this.slidePageBack();break;case SSSS_28:this.slideToBegin();break;case SSSS_25:this.slideToEnd();break;default:return;}e.stop();},_onMouseDown:function(e){if(this.__kx){return;}var isHorizontal=this.__kE;var knob=this.getChildControl(SSSS_0);var locationProperty=isHorizontal?SSSS_7:SSSS_8;var cursorLocation=isHorizontal?e.getDocumentLeft():e.getDocumentTop();var sliderLocation=this.__ku=qx.bom.element.Location.get(this.getContentElement().getDomElement())[locationProperty];var knobLocation=this.__kv=qx.bom.element.Location.get(knob.getContainerElement().getDomElement())[locationProperty];if(e.getTarget()===knob){this.__kx=true;this.__ky=cursorLocation+sliderLocation-knobLocation;}else{this.__kz=true;this.__kA=cursorLocation<=knobLocation?-1:1;this.__kF(e);this._onInterval();if(!this.__kC){this.__kC=new qx.event.Timer(100);this.__kC.addListener(SSSS_22,this._onInterval,this);}this.__kC.start();}this.addListener(SSSS_5,this._onMouseMove);this.capture();e.stopPropagation();},_onMouseUp:function(e){if(this.__kx){this.releaseCapture();delete this.__kx;delete this.__ky;}else if(this.__kz){this.__kC.stop();this.releaseCapture();delete this.__kz;delete this.__kA;delete this.__kB;}this.removeListener(SSSS_5,this._onMouseMove);if(e.getType()===SSSS_9){e.stopPropagation();}},_onMouseMove:function(e){if(this.__kx){var dragStop=this.__kE?e.getDocumentLeft():e.getDocumentTop();var position=dragStop-this.__ky;this.slideTo(this._positionToValue(position));}else if(this.__kz){this.__kF(e);}e.stopPropagation();},_onInterval:function(e){var value=this.getValue()+(this.__kA*this.getPageStep());if(value<this.getMinimum()){value=this.getMinimum();}else if(value>this.getMaximum()){value=this.getMaximum();}var slideBack=this.__kA==-1;if((slideBack&&value<=this.__kB)||(!slideBack&&value>=this.__kB)){value=this.__kB;}this.slideTo(value);},_onUpdate:function(e){var availSize=this.getInnerSize();var knobSize=this.getChildControl(SSSS_0).getBounds();var sizeProperty=this.__kE?SSSS_26:SSSS_13;this._updateKnobSize();this.__kD=availSize[sizeProperty]-knobSize[sizeProperty];this.__kw=knobSize[sizeProperty];this._updateKnobPosition();},__kE:false,__kD:0,__kF:function(e){var isHorizontal=this.__kE;var cursorLocation=isHorizontal?e.getDocumentLeft():e.getDocumentTop();var sliderLocation=this.__ku;var knobLocation=this.__kv;var knobSize=this.__kw;var position=cursorLocation-sliderLocation;if(cursorLocation>=knobLocation){position-=knobSize;}var value=this._positionToValue(position);var min=this.getMinimum();var max=this.getMaximum();if(value<min){value=min;}else if(value>max){value=max;}else{var old=this.getValue();var step=this.getPageStep();var method=this.__kA<0?SSSS_29:SSSS_34;value=old+(Math[method]((value-old)/step)*step);}if(this.__kB==null||(this.__kA==-1&&value<=this.__kB)||(this.__kA==1&&value>=this.__kB)){this.__kB=value;}},_positionToValue:function(position){var avail=this.__kD;if(avail==null||avail==0){return 0;}var percent=position/avail;if(percent<0){percent=0;}else if(percent>1){percent=1;}var range=this.getMaximum()-this.getMinimum();return this.getMinimum()+Math.round(range*percent);},_valueToPosition:function(value){var avail=this.__kD;if(avail==null){return 0;}var range=this.getMaximum()-this.getMinimum();if(range==0){return 0;}var value=value-this.getMinimum();var percent=value/range;if(percent<0){percent=0;}else if(percent>1){percent=1;}return Math.round(avail*percent);},_updateKnobPosition:function(){this._setKnobPosition(this._valueToPosition(this.getValue()));},_setKnobPosition:function(position){var container=this.getChildControl(SSSS_0).getContainerElement();if(this.__kE){container.setStyle(SSSS_7,position+SSSS_4,true);}else{container.setStyle(SSSS_8,position+SSSS_4,true);}},_updateKnobSize:function(){var knobFactor=this.getKnobFactor();if(knobFactor==null){return;}var avail=this.getInnerSize();if(avail==null){return;}if(this.__kE){this.getChildControl(SSSS_0).setWidth(Math.round(knobFactor*avail.width));}else{this.getChildControl(SSSS_0).setHeight(Math.round(knobFactor*avail.height));}},slideToBegin:function(){this.slideTo(this.getMinimum());},slideToEnd:function(){this.slideTo(this.getMaximum());},slideForward:function(){this.slideBy(this.getSingleStep());},slideBack:function(){this.slideBy(-this.getSingleStep());},slidePageForward:function(){this.slideBy(this.getPageStep());},slidePageBack:function(){this.slideBy(-this.getPageStep());},slideBy:function(offset){this.slideTo(this.getValue()+offset);},slideTo:function(value){if(value<this.getMinimum()){value=this.getMinimum();}else if(value>this.getMaximum()){value=this.getMaximum();}else{value=this.getMinimum()+Math.round((value-this.getMinimum())/this.getSingleStep())*this.getSingleStep();}this.setValue(value);},_applyOrientation:function(value,old){var knob=this.getChildControl(SSSS_0);this.__kE=value===SSSS_1;if(this.__kE){this.removeState(SSSS_2);knob.removeState(SSSS_2);this.addState(SSSS_1);knob.addState(SSSS_1);knob.setLayoutProperties({top:0,right:null,bottom:0});}else{this.removeState(SSSS_1);knob.removeState(SSSS_1);this.addState(SSSS_2);knob.addState(SSSS_2);knob.setLayoutProperties({right:0,bottom:null,left:0});}this._updateKnobPosition();},_applyKnobFactor:function(value,old){if(value!=null){this._updateKnobSize();}else{if(this.__kE){this.getChildControl(SSSS_0).resetWidth();}else{this.getChildControl(SSSS_0).resetHeight();}}},_applyValue:function(value,old){if(value!=null){this._updateKnobPosition();}else{this.resetValue();}},_applyMinimum:function(value,old){if(this.getValue()<value){this.setValue(value);}this._updateKnobPosition();},_applyMaximum:function(value,old){if(this.getValue()>value){this.setValue(value);}this._updateKnobPosition();}}});})();(function(){var SSSS_0="mousewheel",SSSS_1="qx.ui.core.scroll.ScrollSlider",SSSS_2="keypress";qx.Class.define(SSSS_1,{extend:qx.ui.form.Slider,construct:function(orientation){arguments.callee.base.call(this,orientation);this.removeListener(SSSS_2,this._onKeyPress);this.removeListener(SSSS_0,this._onMouseWheel);}});})();(function(){var SSSS_0="label",SSSS_1="icon",SSSS_2="Boolean",SSSS_3="both",SSSS_4="String",SSSS_5="left",SSSS_6="changeGap",SSSS_7="changeShow",SSSS_8="bottom",SSSS_9="_applyCenter",SSSS_10="changeIcon",SSSS_11="qx.ui.basic.Atom",SSSS_12="changeLabel",SSSS_13="Integer",SSSS_14="_applyIconPosition",SSSS_15="qx.debug",SSSS_16="top",SSSS_17="right",SSSS_18="_applyRich",SSSS_19="_applyIcon",SSSS_20="_applyShow",SSSS_21="on",SSSS_22="_applyLabel",SSSS_23="_applyGap",SSSS_24="atom";qx.Class.define(SSSS_11,{extend:qx.ui.core.Widget,construct:function(label,icon){if(qx.core.Variant.isSet(SSSS_15,SSSS_21)){this.assertArgumentsCount(arguments,0,2);}arguments.callee.base.call(this);this._setLayout(new qx.ui.layout.Atom());if(label!=null){this.setLabel(label);}if(icon!=null){this.setIcon(icon);}},properties:{appearance:{refine:true,init:SSSS_24},label:{apply:SSSS_22,nullable:true,check:SSSS_4,event:SSSS_12},rich:{check:SSSS_2,init:false,apply:SSSS_18},icon:{check:SSSS_4,apply:SSSS_19,nullable:true,themeable:true,event:SSSS_10},gap:{check:SSSS_13,nullable:false,event:SSSS_6,apply:SSSS_23,themeable:true,init:4},show:{init:SSSS_3,check:[SSSS_3,SSSS_0,SSSS_1],themeable:true,inheritable:true,apply:SSSS_20,event:SSSS_7},iconPosition:{init:SSSS_5,check:[SSSS_16,SSSS_17,SSSS_8,SSSS_5],themeable:true,apply:SSSS_14},center:{init:false,check:SSSS_2,themeable:true,apply:SSSS_9}},members:{_createChildControlImpl:function(id){var control;switch(id){case SSSS_0:control=new qx.ui.basic.Label(this.getLabel());control.setAnonymous(true);control.setRich(this.getRich());this._add(control);if(this.getLabel()==null||this.getShow()===SSSS_1){control.exclude();}break;case SSSS_1:control=new qx.ui.basic.Image(this.getIcon());control.setAnonymous(true);this._addAt(control,0);if(this.getIcon()==null||this.getShow()===SSSS_0){control.exclude();}break;}return control||arguments.callee.base.call(this,id);},_forwardStates:{focused:true,hovered:true},_handleLabel:function(){if(this.getLabel()==null||this.getShow()===SSSS_1){this._excludeChildControl(SSSS_0);}else{this._showChildControl(SSSS_0);}},_handleIcon:function(){if(this.getIcon()==null||this.getShow()===SSSS_0){this._excludeChildControl(SSSS_1);}else{this._showChildControl(SSSS_1);}},_applyLabel:function(value,old){var label=this.getChildControl(SSSS_0,true);if(label){label.setValue(value);}this._handleLabel();},_applyRich:function(value,old){var label=this.getChildControl(SSSS_0,true);if(label){label.setRich(value);}},_applyIcon:function(value,old){var icon=this.getChildControl(SSSS_1,true);if(icon){icon.setSource(value);}this._handleIcon();},_applyGap:function(value,old){this._getLayout().setGap(value);},_applyShow:function(value,old){this._handleLabel();this._handleIcon();},_applyIconPosition:function(value,old){this._getLayout().setIconPosition(value);},_applyCenter:function(value,old){this._getLayout().setCenter(value);}}});})();(function(){var SSSS_0="execute",SSSS_1="toolTipText",SSSS_2="icon",SSSS_3="label",SSSS_4="qx.ui.core.MExecutable",SSSS_5="value",SSSS_6="qx.event.type.Event",SSSS_7="_applyCommand",SSSS_8="enabled",SSSS_9="menu",SSSS_10="changeCommand",SSSS_11="qx.ui.core.Command";qx.Mixin.define(SSSS_4,{events:{"execute":SSSS_6},properties:{command:{check:SSSS_11,apply:SSSS_7,event:SSSS_10,nullable:true}},members:{__kG:null,__kH:false,__kI:null,_bindableProperties:[SSSS_8,SSSS_3,SSSS_2,SSSS_1,SSSS_5,SSSS_9],execute:function(){var cmd=this.getCommand();if(cmd){if(this.__kH){this.__kH=false;}else{this.__kH=true;cmd.execute(this);}}this.fireEvent(SSSS_0);},__kJ:function(e){if(this.__kH){this.__kH=false;return;}this.__kH=true;this.execute();},_applyCommand:function(value,old){if(old!=null){old.removeListenerById(this.__kI);}if(value!=null){this.__kI=value.addListener(SSSS_0,this.__kJ,this);}var ids=this.__kG;if(ids==null){this.__kG=ids={};}for(var i=0;i<this._bindableProperties.length;i++){var property=this._bindableProperties[i];if(old!=null&&ids[property]!=null){old.removeBinding(ids[property]);ids[property]=null;}if(value!=null&&qx.Class.hasProperty(this.constructor,property)){var cmdPropertyValue=value.get(property);if(cmdPropertyValue==null){var selfPropertyValue=this.get(property);}ids[property]=value.bind(property,this,property);if(selfPropertyValue){this.set(property,selfPropertyValue);}}}}},destruct:function(){this.__kG=null;}});})();(function(){var SSSS_0="qx.ui.form.IExecutable",SSSS_1="qx.event.type.Data";qx.Interface.define(SSSS_0,{events:{"execute":SSSS_1},members:{setCommand:function(command){return arguments.length==1;},getCommand:function(){},execute:function(){}}});})();(function(){var SSSS_0="pressed",SSSS_1="abandoned",SSSS_2="hovered",SSSS_3="Enter",SSSS_4="Space",SSSS_5="dblclick",SSSS_6="qx.ui.form.Button",SSSS_7="mouseup",SSSS_8="mousedown",SSSS_9="mouseover",SSSS_10="mouseout",SSSS_11="keydown",SSSS_12="button",SSSS_13="keyup";qx.Class.define(SSSS_6,{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(label,icon,command){arguments.callee.base.call(this,label,icon);if(command!=null){this.setCommand(command);}this.addListener(SSSS_9,this._onMouseOver);this.addListener(SSSS_10,this._onMouseOut);this.addListener(SSSS_8,this._onMouseDown);this.addListener(SSSS_7,this._onMouseUp);this.addListener(SSSS_11,this._onKeyDown);this.addListener(SSSS_13,this._onKeyUp);this.addListener(SSSS_5,this._onStopEvent);},properties:{appearance:{refine:true,init:SSSS_12},focusable:{refine:true,init:true}},members:{_forwardStates:{focused:true,hovered:true,pressed:true,disabled:true},press:function(){if(this.hasState(SSSS_1)){return;}this.addState(SSSS_0);},release:function(){if(this.hasState(SSSS_0)){this.removeState(SSSS_0);}},reset:function(){this.removeState(SSSS_0);this.removeState(SSSS_1);this.removeState(SSSS_2);},_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;}if(this.hasState(SSSS_1)){this.removeState(SSSS_1);this.addState(SSSS_0);}this.addState(SSSS_2);},_onMouseOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;}this.removeState(SSSS_2);if(this.hasState(SSSS_0)){this.removeState(SSSS_0);this.addState(SSSS_1);}},_onMouseDown:function(e){if(!e.isLeftPressed()){return;}e.stopPropagation();this.capture();this.removeState(SSSS_1);this.addState(SSSS_0);},_onMouseUp:function(e){this.releaseCapture();var hasPressed=this.hasState(SSSS_0);var hasAbandoned=this.hasState(SSSS_1);if(hasPressed){this.removeState(SSSS_0);}if(hasAbandoned){this.removeState(SSSS_1);}else{this.addState(SSSS_2);if(hasPressed){this.execute();}}e.stopPropagation();},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case SSSS_3:case SSSS_4:this.removeState(SSSS_1);this.addState(SSSS_0);e.stopPropagation();}},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case SSSS_3:case SSSS_4:if(this.hasState(SSSS_0)){this.removeState(SSSS_1);this.removeState(SSSS_0);this.execute();e.stopPropagation();}}}}});})();(function(){var SSSS_0="pressed",SSSS_1="abandoned",SSSS_2="Integer",SSSS_3="hovered",SSSS_4="qx.event.type.Event",SSSS_5="Enter",SSSS_6="Space",SSSS_7="press",SSSS_8="qx.ui.form.RepeatButton",SSSS_9="release",SSSS_10="interval",SSSS_11="__kK",SSSS_12="execute";qx.Class.define(SSSS_8,{extend:qx.ui.form.Button,construct:function(label,icon){arguments.callee.base.call(this,label,icon);this.__kK=new qx.event.AcceleratingTimer();this.__kK.addListener(SSSS_10,this._onInterval,this);},events:{"execute":SSSS_4,"press":SSSS_4,"release":SSSS_4},properties:{interval:{check:SSSS_2,init:100},firstInterval:{check:SSSS_2,init:500},minTimer:{check:SSSS_2,init:20},timerDecrease:{check:SSSS_2,init:2}},members:{__kL:null,__kK:null,press:function(){if(this.isEnabled()){if(!this.hasState(SSSS_0)){this.__kM();}this.removeState(SSSS_1);this.addState(SSSS_0);}},release:function(fireExecuteEvent){if(!this.isEnabled()){return;}if(this.hasState(SSSS_0)){if(!this.__kL){this.execute();}}this.removeState(SSSS_0);this.removeState(SSSS_1);this.__kN();},_applyEnabled:function(value,old){arguments.callee.base.call(this,value,old);if(!value){this.removeState(SSSS_0);this.removeState(SSSS_1);this.__kN();}},_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;}if(this.hasState(SSSS_1)){this.removeState(SSSS_1);this.addState(SSSS_0);this.__kK.start();}this.addState(SSSS_3);},_onMouseOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;}this.removeState(SSSS_3);if(this.hasState(SSSS_0)){this.removeState(SSSS_0);this.addState(SSSS_1);this.__kK.stop();}},_onMouseDown:function(e){if(!e.isLeftPressed()){return;}this.capture();this.__kM();e.stopPropagation();},_onMouseUp:function(e){this.releaseCapture();if(!this.hasState(SSSS_1)){this.addState(SSSS_3);if(this.hasState(SSSS_0)&&!this.__kL){this.execute();}}this.__kN();e.stopPropagation();},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case SSSS_5:case SSSS_6:if(this.hasState(SSSS_0)){if(!this.__kL){this.execute();}this.removeState(SSSS_0);this.removeState(SSSS_1);e.stopPropagation();this.__kN();}}},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case SSSS_5:case SSSS_6:this.removeState(SSSS_1);this.addState(SSSS_0);e.stopPropagation();this.__kM();}},_onInterval:function(e){this.__kL=true;this.fireEvent(SSSS_12);},__kM:function(){this.fireEvent(SSSS_7);this.__kL=false;this.__kK.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();this.removeState(SSSS_1);this.addState(SSSS_0);},__kN:function(){this.fireEvent(SSSS_9);this.__kK.stop();this.removeState(SSSS_1);this.removeState(SSSS_0);}},destruct:function(){this._disposeObjects(SSSS_11);}});})();(function(){var SSSS_0="bottom",SSSS_1="_applyLayoutChange",SSSS_2="top",SSSS_3="left",SSSS_4="right",SSSS_5="middle",SSSS_6="' is not supported by the Atom layout!",SSSS_7="qx.debug",SSSS_8="center",SSSS_9="qx.ui.layout.Atom",SSSS_10="Integer",SSSS_11="The property '",SSSS_12="Boolean";qx.Class.define(SSSS_9,{extend:qx.ui.layout.Abstract,properties:{gap:{check:SSSS_10,init:4,apply:SSSS_1},iconPosition:{check:[SSSS_3,SSSS_2,SSSS_4,SSSS_0],init:SSSS_3,apply:SSSS_1},center:{check:SSSS_12,init:false,apply:SSSS_1}},members:{verifyLayoutProperty:qx.core.Variant.select(SSSS_7,{"on":function(item,name,value){this.assert(false,SSSS_11+name+SSSS_6);},"off":null}),renderLayout:function(availWidth,availHeight){var Util=qx.ui.layout.Util;var iconPosition=this.getIconPosition();var children=this._getLayoutChildren();var length=children.length;var left,top,width,height;var child,hint;var gap=this.getGap();var center=this.getCenter();if(iconPosition===SSSS_0||iconPosition===SSSS_4){var start=length-1;var end=-1;var increment=-1;}else{var start=0;var end=length;var increment=1;}if(iconPosition==SSSS_2||iconPosition==SSSS_0){if(center){var allocatedHeight=0;for(var i=start;i!=end;i+=increment){height=children[i].getSizeHint().height;if(height>0){allocatedHeight+=height;if(i!=start){allocatedHeight+=gap;}}}top=Math.round((availHeight-allocatedHeight)/2);}else{top=0;}for(var i=start;i!=end;i+=increment){child=children[i];hint=child.getSizeHint();width=Math.min(hint.maxWidth,Math.max(availWidth,hint.minWidth));height=hint.height;left=Util.computeHorizontalAlignOffset(SSSS_8,width,availWidth);child.renderLayout(left,top,width,height);if(height>0){top+=height+gap;}}}else{var remainingWidth=availWidth;var shrinkTarget=null;var count=0;for(var i=start;i!=end;i+=increment){child=children[i];width=child.getSizeHint().width;if(width>0){if(!shrinkTarget&&child instanceof qx.ui.basic.Label){shrinkTarget=child;}else{remainingWidth-=width;}count++;}}if(count>1){var gapSum=(count-1)*gap;remainingWidth-=gapSum;}if(shrinkTarget){var hint=shrinkTarget.getSizeHint();var shrinkTargetWidth=Math.max(hint.minWidth,Math.min(remainingWidth,hint.maxWidth));remainingWidth-=shrinkTargetWidth;}if(center&&remainingWidth>0){left=Math.round(remainingWidth/2);}else{left=0;}for(var i=start;i!=end;i+=increment){child=children[i];hint=child.getSizeHint();height=Math.min(hint.maxHeight,Math.max(availHeight,hint.minHeight));if(child===shrinkTarget){width=shrinkTargetWidth;}else{width=hint.width;}top=Util.computeVerticalAlignOffset(SSSS_5,hint.height,availHeight);child.renderLayout(left,top,width,height);if(width>0){left+=width+gap;}}}},_computeSizeHint:function(){var children=this._getLayoutChildren();var length=children.length;var hint,result;if(length===1){var hint=children[0].getSizeHint();result={width:hint.width,height:hint.height,minWidth:hint.minWidth,minHeight:hint.minHeight};}else{var minWidth=0,width=0;var minHeight=0,height=0;var iconPosition=this.getIconPosition();var gap=this.getGap();if(iconPosition===SSSS_2||iconPosition===SSSS_0){var count=0;for(var i=0;i<length;i++){hint=children[i].getSizeHint();width=Math.max(width,hint.width);minWidth=Math.max(minWidth,hint.minWidth);if(hint.height>0){height+=hint.height;minHeight+=hint.minHeight;count++;}}if(count>1){var gapSum=(count-1)*gap;height+=gapSum;minHeight+=gapSum;}}else{var count=0;for(var i=0;i<length;i++){hint=children[i].getSizeHint();height=Math.max(height,hint.height);minHeight=Math.max(minHeight,hint.minHeight);if(hint.width>0){width+=hint.width;minWidth+=hint.minWidth;count++;}}if(count>1){var gapSum=(count-1)*gap;width+=gapSum;minWidth+=gapSum;}}result={minWidth:minWidth,width:width,minHeight:minHeight,height:height};}return result;}}});})();(function(){var SSSS_0="on",SSSS_1="qx.dynlocale",SSSS_2="text",SSSS_3="Boolean",SSSS_4="qx.client",SSSS_5="color",SSSS_6="userSelect",SSSS_7="changeLocale",SSSS_8="qx.debug",SSSS_9="enabled",SSSS_10="none",SSSS_11="_applyTextAlign",SSSS_12="qx.ui.core.Widget",SSSS_13="gecko",SSSS_14="changeTextAlign",SSSS_15="_applyWrap",SSSS_16="changeValue",SSSS_17="changeContent",SSSS_18="qx.ui.basic.Label",SSSS_19="A",SSSS_20="_applyValue",SSSS_21="center",SSSS_22="_applyBuddy",SSSS_23="String",SSSS_24="textAlign",SSSS_25="right",SSSS_26="changeRich",SSSS_27="_applyRich",SSSS_28="click",SSSS_29="label",SSSS_30="webkit",SSSS_31="left";qx.Class.define(SSSS_18,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm],construct:function(value){arguments.callee.base.call(this);if(value!=null){this.setValue(value);}if(qx.core.Variant.isSet(SSSS_1,SSSS_0)){qx.locale.Manager.getInstance().addListener(SSSS_7,this._onChangeLocale,this);}},properties:{rich:{check:SSSS_3,init:false,event:SSSS_26,apply:SSSS_27},wrap:{check:SSSS_3,init:true,apply:SSSS_15},value:{check:SSSS_23,apply:SSSS_20,event:SSSS_16,nullable:true},buddy:{check:SSSS_12,apply:SSSS_22,nullable:true,init:null},textAlign:{check:[SSSS_31,SSSS_21,SSSS_25],nullable:true,themeable:true,apply:SSSS_11,event:SSSS_14},appearance:{refine:true,init:SSSS_29},selectable:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{__kO:null,__kP:null,__kQ:null,__kR:null,_getContentHint:function(){if(this.__kP){this.__kS=this.__kT();delete this.__kP;}return {width:this.__kS.width,height:this.__kS.height};},_hasHeightForWidth:function(){return this.getRich()&&this.getWrap();},_applySelectable:function(value){if(qx.core.Variant.isSet(SSSS_4,SSSS_13)){if(value&&!this.isRich()){if(qx.core.Variant.isSet(SSSS_8,SSSS_0)){this.warn("Only rich labels are selectable in browsers with Gecko engine!");}return;}}arguments.callee.base.call(this,value);if(qx.core.Variant.isSet(SSSS_4,SSSS_30)){this.getContainerElement().setStyle(SSSS_6,value?SSSS_2:SSSS_10);this.getContentElement().setStyle(SSSS_6,value?SSSS_2:SSSS_10);}},_getContentHeightForWidth:function(width){if(!this.getRich()&&!this.getWrap()){return null;}return this.__kT(width).height;},_createContentElement:function(){return new qx.html.Label;},_applyTextAlign:function(value,old){this.getContentElement().setStyle(SSSS_24,value);},_applyTextColor:function(value,old){if(value){this.getContentElement().setStyle(SSSS_5,qx.theme.manager.Color.getInstance().resolve(value));}else{this.getContentElement().removeStyle(SSSS_5);}},__kS:{width:0,height:0},_applyFont:function(value,old){var styles;if(value){this.__kO=qx.theme.manager.Font.getInstance().resolve(value);styles=this.__kO.getStyles();}else{this.__kO=null;styles=qx.bom.Font.getDefaultStyles();}this.getContentElement().setStyles(styles);this.__kP=true;qx.ui.core.queue.Layout.add(this);},__kT:function(width){var Label=qx.bom.Label;var font=this.getFont();var styles=font?this.__kO.getStyles():qx.bom.Font.getDefaultStyles();var content=this.getValue()||SSSS_19;var rich=this.getRich();return rich?Label.getHtmlSize(content,styles,width):Label.getTextSize(content,styles);},_applyBuddy:function(value,old){if(old!=null){old.removeBinding(this.__kQ);this.__kQ=null;this.removeListenerById(this.__kR);this.__kR=null;}if(value!=null){this.__kQ=value.bind(SSSS_9,this,SSSS_9);this.__kR=this.addListener(SSSS_28,value.focus,value);}},_applyRich:function(value){this.getContentElement().setRich(value);this.__kP=true;qx.ui.core.queue.Layout.add(this);},_applyWrap:function(value,old){if(value&&!this.isRich()){if(qx.core.Variant.isSet(SSSS_8,SSSS_0)){this.warn("Only rich labels support wrap.");}}},_onChangeLocale:qx.core.Variant.select(SSSS_1,{"on":function(e){var content=this.getValue();if(content&&content.translate){this.setValue(content.translate());}},"off":null}),_applyValue:function(value,old){this.getContentElement().setValue(value);this.__kP=true;qx.ui.core.queue.Layout.add(this);this.fireDataEvent(SSSS_17,value,old);}},destruct:function(){if(qx.core.Variant.isSet(SSSS_1,SSSS_0)){qx.locale.Manager.getInstance().removeListener(SSSS_7,this._onChangeLocale,this);}if(this.__kQ!=null){var buddy=this.getBuddy();if(buddy!=null&&!buddy.isDisposed()){buddy.removeBinding(this.__kQ);}}this.__kO=this.__kQ=null;}});})();(function(){var SSSS_0="value",SSSS_1="Please use the getValue() method instead.",SSSS_2="qx.html.Label",SSSS_3="Please use the setValue() method instead.";qx.Class.define(SSSS_2,{extend:qx.html.Element,members:{__kU:null,_applyProperty:function(name,value){arguments.callee.base.call(this,name,value);if(name==SSSS_0){var element=this.getDomElement();qx.bom.Label.setValue(element,value);}},_createDomElement:function(){var rich=this.__kU;var el=qx.bom.Label.create(this._content,rich);return el;},_copyData:function(fromMarkup){return arguments.callee.base.call(this,true);},setRich:function(value){var element=this.getDomElement();if(element){throw new Error("The label mode cannot be modified after initial creation");}value=!!value;if(this.__kU==value){return;}this.__kU=value;return this;},setValue:function(value){this._setProperty(SSSS_0,value);return this;},getValue:function(){return this._getProperty(SSSS_0);},setContent:function(value){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_3);return this.setValue(value);},getContent:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_1);return this.getValue();}}});})();(function(){var SSSS_0="qx.client",SSSS_1="gecko",SSSS_2="div",SSSS_3="inherit",SSSS_4="text",SSSS_5="value",SSSS_6="",SSSS_7="hidden",SSSS_8="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",SSSS_9="nowrap",SSSS_10="auto",SSSS_11="ellipsis",SSSS_12="normal",SSSS_13="label",SSSS_14="px",SSSS_15="crop",SSSS_16="end",SSSS_17="100%",SSSS_18="visible",SSSS_19="qx.bom.Label",SSSS_20="Please use the setValue() method instead.",SSSS_21="opera",SSSS_22="Please use the getValue() method instead.",SSSS_23="block",SSSS_24="none",SSSS_25="-1000px",SSSS_26="absolute";qx.Class.define(SSSS_19,{statics:{__kV:{fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1},__kW:function(){var el=this.__kY(false);document.body.insertBefore(el,document.body.firstChild);return this._textElement=el;},__kX:function(){var el=this.__kY(true);document.body.insertBefore(el,document.body.firstChild);return this._htmlElement=el;},__kY:function(html){var el=qx.bom.Element.create(SSSS_2);var style=el.style;style.width=style.height=SSSS_10;style.left=style.top=SSSS_25;style.visibility=SSSS_7;style.position=SSSS_26;style.overflow=SSSS_18;if(html){style.whiteSpace=SSSS_12;}else{style.whiteSpace=SSSS_9;if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){var inner=document.createElementNS(SSSS_8,SSSS_13);for(var key in this.__kV){inner.style[key]=SSSS_3;}el.appendChild(inner);}}return el;},__la:function(html){var styles={};if(html){styles.whiteSpace=SSSS_12;}else if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){styles.display=SSSS_23;}else{styles.overflow=SSSS_7;styles.whiteSpace=SSSS_9;styles.textOverflow=SSSS_11;styles.userSelect=SSSS_24;if(qx.core.Variant.isSet(SSSS_0,SSSS_21)){styles.OTextOverflow=SSSS_11;}}return styles;},create:function(content,html,win){if(!win){win=window;}if(html){var el=win.document.createElement(SSSS_2);el.useHtml=true;}else if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){var el=win.document.createElement(SSSS_2);var xulel=win.document.createElementNS(SSSS_8,SSSS_13);xulel.style.cursor=SSSS_3;xulel.style.color=SSSS_3;xulel.style.overflow=SSSS_7;xulel.style.maxWidth=SSSS_17;for(var key in this.__kV){xulel.style[key]=SSSS_3;}xulel.setAttribute(SSSS_15,SSSS_16);el.appendChild(xulel);}else{var el=win.document.createElement(SSSS_2);qx.bom.element.Style.setStyles(el,this.__la(html));}if(content){this.setValue(el,content);}return el;},setValue:function(element,value){value=value||SSSS_6;if(element.useHtml){element.innerHTML=value;}else if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){element.firstChild.setAttribute(SSSS_5,value);}else{qx.bom.element.Attribute.set(element,SSSS_4,value);}},getValue:function(element){if(element.useHtml){return element.innerHTML;}else if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){return element.firstChild.getAttribute(SSSS_5)||SSSS_6;}else{return qx.bom.element.Attribute.get(element,SSSS_4);}},getHtmlSize:function(content,styles,width){var element=this._htmlElement||this.__kX();element.style.width=width!==undefined?width+SSSS_14:SSSS_10;element.innerHTML=content;return this.__lb(element,styles);},getTextSize:function(text,styles){var element=this._textElement||this.__kW();if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){element.firstChild.setAttribute(SSSS_5,text);}else{qx.bom.element.Attribute.set(element,SSSS_4,text);}return this.__lb(element,styles);},__lb:function(element,styles){var keys=this.__kV;if(!styles){styles={};}for(var key in keys){element.style[key]=styles[key]||SSSS_6;}var size=qx.bom.element.Dimension.getSize(element);if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){if(!qx.bom.client.Platform.WIN){size.width++;}}return size;},setContent:function(element,value){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_20);this.setValue(element,value);},getContent:function(element){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_22);return this.getValue(element);}}});})();(function(){var SSSS_0="mshtml",SSSS_1="qx.client",SSSS_2="qx.bom.element.Dimension",SSSS_3="paddingRight",SSSS_4="paddingLeft",SSSS_5="paddingTop",SSSS_6="paddingBottom";qx.Class.define(SSSS_2,{statics:{getWidth:qx.core.Variant.select(SSSS_1,{"gecko":function(element){if(element.getBoundingClientRect){var rect=element.getBoundingClientRect();return Math.round(rect.right)-Math.round(rect.left);}else{return element.offsetWidth;}},"default":function(element){return element.offsetWidth;}}),getHeight:qx.core.Variant.select(SSSS_1,{"gecko":function(element){if(element.getBoundingClientRect){var rect=element.getBoundingClientRect();return Math.round(rect.bottom)-Math.round(rect.top);}else{return element.offsetHeight;}},"default":function(element){return element.offsetHeight;}}),getSize:function(element){return {width:this.getWidth(element),height:this.getHeight(element)};},__lc:{visible:true,hidden:true},getContentWidth:function(element){var Style=qx.bom.element.Style;var overflowX=qx.bom.element.Overflow.getX(element);var paddingLeft=parseInt(Style.get(element,SSSS_4),10);var paddingRight=parseInt(Style.get(element,SSSS_3),10);if(this.__lc[overflowX]){return element.clientWidth-paddingLeft-paddingRight;}else{if(element.clientWidth>=element.scrollWidth){return Math.max(element.clientWidth,element.scrollWidth)-paddingLeft-paddingRight;}else{var width=element.scrollWidth-paddingLeft;var Engine=qx.bom.client.Engine;if(Engine.NAME===SSSS_0&&Engine.VERSION==6){width-=paddingRight;}return width;}}},getContentHeight:function(element){var Style=qx.bom.element.Style;var overflowY=qx.bom.element.Overflow.getY(element);var paddingTop=parseInt(Style.get(element,SSSS_5),10);var paddingBottom=parseInt(Style.get(element,SSSS_6),10);if(this.__lc[overflowY]){return element.clientHeight-paddingTop-paddingBottom;}else{if(element.clientHeight>=element.scrollHeight){return Math.max(element.clientHeight,element.scrollHeight)-paddingTop-paddingBottom;}else{var height=element.scrollHeight-paddingTop;var Engine=qx.bom.client.Engine;if(Engine.NAME===SSSS_0&&Engine.VERSION==6){height-=paddingBottom;}return height;}}},getContentSize:function(element){return {width:this.getContentWidth(element),height:this.getContentHeight(element)};}}});})();(function(){var SSSS_0="qx.theme.manager.Font",SSSS_1="Theme",SSSS_2="changeTheme",SSSS_3="_applyTheme",SSSS_4="singleton";qx.Class.define(SSSS_0,{type:SSSS_4,extend:qx.util.ValueManager,properties:{theme:{check:SSSS_1,nullable:true,apply:SSSS_3,event:SSSS_2}},members:{resolveDynamic:function(value){var dynamic=this._dynamic;return value instanceof qx.bom.Font?value:dynamic[value];},resolve:function(value){var cache=this._dynamic;var resolved=cache[value];if(resolved){return resolved;}var theme=this.getTheme();if(theme!==null&&theme.fonts[value]){return cache[value]=(new qx.bom.Font).set(theme.fonts[value]);}return value;},isDynamic:function(value){var cache=this._dynamic;if(value&&(value instanceof qx.bom.Font||cache[value]!==undefined)){return true;}var theme=this.getTheme();if(theme!==null&&value&&theme.fonts[value]){cache[value]=(new qx.bom.Font).set(theme.fonts[value]);return true;}return false;},_applyTheme:function(value){var dest=this._getDynamic();for(var key in dest){if(dest[key].themed){dest[key].dispose();delete dest[key];}}if(value){var source=value.fonts;var font=qx.bom.Font;for(var key in source){dest[key]=(new font).set(source[key]);dest[key].themed=true;}}this._setDynamic(dest);}}});})();(function(){var SSSS_0="",SSSS_1="underline",SSSS_2="Boolean",SSSS_3="px",SSSS_4='"',SSSS_5="italic",SSSS_6="normal",SSSS_7="bold",SSSS_8="_applyItalic",SSSS_9="_applyBold",SSSS_10="Integer",SSSS_11="_applyFamily",SSSS_12="_applyLineHeight",SSSS_13="Array",SSSS_14="overline",SSSS_15="line-through",SSSS_16="qx.bom.Font",SSSS_17="Number",SSSS_18="_applyDecoration",SSSS_19=" ",SSSS_20="_applySize",SSSS_21=",";qx.Class.define(SSSS_16,{extend:qx.core.Object,construct:function(size,family){arguments.callee.base.call(this);if(size!==undefined){this.setSize(size);}if(family!==undefined){this.setFamily(family);}},statics:{fromString:function(str){var font=new qx.bom.Font();var parts=str.split(/\s+/);var name=[];var part;for(var i=0;i<parts.length;i++){switch(part=parts[i]){case SSSS_7:font.setBold(true);break;case SSSS_5:font.setItalic(true);break;case SSSS_1:font.setDecoration(SSSS_1);break;default:var temp=parseInt(part,10);if(temp==part||qx.lang.String.contains(part,SSSS_3)){font.setSize(temp);}else{name.push(part);}break;}}if(name.length>0){font.setFamily(name);}return font;},fromConfig:function(config){var font=new qx.bom.Font;font.set(config);return font;},__ld:{fontFamily:SSSS_0,fontSize:SSSS_0,fontWeight:SSSS_0,fontStyle:SSSS_0,textDecoration:SSSS_0,lineHeight:1.2},getDefaultStyles:function(){return this.__ld;}},properties:{size:{check:SSSS_10,nullable:true,apply:SSSS_20},lineHeight:{check:SSSS_17,nullable:true,apply:SSSS_12},family:{check:SSSS_13,nullable:true,apply:SSSS_11},bold:{check:SSSS_2,nullable:true,apply:SSSS_9},italic:{check:SSSS_2,nullable:true,apply:SSSS_8},decoration:{check:[SSSS_1,SSSS_15,SSSS_14],nullable:true,apply:SSSS_18}},members:{__le:null,__lf:null,__lg:null,__lh:null,__li:null,__lj:null,_applySize:function(value,old){this.__le=value===null?null:value+SSSS_3;},_applyLineHeight:function(value,old){this.__lj=value===null?null:value;},_applyFamily:function(value,old){var family=SSSS_0;for(var i=0,l=value.length;i<l;i++){if(value[i].indexOf(SSSS_19)>0){family+=SSSS_4+value[i]+SSSS_4;}else{family+=value[i];}if(i!==l-1){family+=SSSS_21;}}this.__lf=family;},_applyBold:function(value,old){this.__lg=value===null?null:value?SSSS_7:SSSS_6;},_applyItalic:function(value,old){this.__lh=value===null?null:value?SSSS_5:SSSS_6;},_applyDecoration:function(value,old){this.__li=value===null?null:value;},getStyles:function(){return {fontFamily:this.__lf,fontSize:this.__le,fontWeight:this.__lg,fontStyle:this.__lh,textDecoration:this.__li,lineHeight:this.__lj};}}});})();(function(){var SSSS_0="Integer",SSSS_1="interval",SSSS_2="qx.event.type.Event",SSSS_3="__lk",SSSS_4="qx.event.AcceleratingTimer";qx.Class.define(SSSS_4,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.__lk=new qx.event.Timer(this.getInterval());this.__lk.addListener(SSSS_1,this._onInterval,this);},events:{"interval":SSSS_2},properties:{interval:{check:SSSS_0,init:100},firstInterval:{check:SSSS_0,init:500},minimum:{check:SSSS_0,init:20},decrease:{check:SSSS_0,init:2}},members:{__lk:null,__ll:null,start:function(){this.__lk.setInterval(this.getFirstInterval());this.__lk.start();},stop:function(){this.__lk.stop();this.__ll=null;},_onInterval:function(){this.__lk.stop();if(this.__ll==null){this.__ll=this.getInterval();}this.__ll=Math.max(this.getMinimum(),this.__ll-this.getDecrease());this.__lk.setInterval(this.__ll);this.__lk.start();this.fireEvent(SSSS_1);}},destruct:function(){this._disposeObjects(SSSS_3);}});})();(function(){var SSSS_0="resize",SSSS_1="scrollY",SSSS_2="update",SSSS_3="scrollX",SSSS_4="_applyScrollX",SSSS_5="_applyScrollY",SSSS_6="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxX()",SSSS_7="appear",SSSS_8="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxY()",SSSS_9="qx.event.type.Event",SSSS_10="qx.ui.core.scroll.ScrollPane",SSSS_11="scroll";qx.Class.define(SSSS_10,{extend:qx.ui.core.Widget,construct:function(){arguments.callee.base.call(this);this.set({minWidth:0,minHeight:0});this._setLayout(new qx.ui.layout.Grow());this.addListener(SSSS_0,this._onUpdate);var contentEl=this.getContentElement();contentEl.addListener(SSSS_11,this._onScroll,this);contentEl.addListener(SSSS_7,this._onAppear,this);},events:{update:SSSS_9},properties:{scrollX:{check:SSSS_6,apply:SSSS_4,event:SSSS_3,init:0},scrollY:{check:SSSS_8,apply:SSSS_5,event:SSSS_1,init:0}},members:{add:function(widget){var old=this._getChildren()[0];if(old){this._remove(old);old.removeListener(SSSS_0,this._onUpdate,this);}if(widget){this._add(widget);widget.addListener(SSSS_0,this._onUpdate,this);}},remove:function(widget){if(widget){this._remove(widget);widget.removeListener(SSSS_0,this._onUpdate,this);}},getChildren:function(){return this._getChildren();},_onUpdate:function(e){this.fireEvent(SSSS_2);},_onScroll:function(e){var contentEl=this.getContentElement();this.setScrollX(contentEl.getScrollX());this.setScrollY(contentEl.getScrollY());},_onAppear:function(e){var contentEl=this.getContentElement();var internalX=this.getScrollX();var domX=contentEl.getScrollX();if(internalX!=domX){contentEl.scrollToX(internalX);}var internalY=this.getScrollY();var domY=contentEl.getScrollY();if(internalY!=domY){contentEl.scrollToY(internalY);}},getItemTop:function(item){var top=0;do{top+=item.getBounds().top;item=item.getLayoutParent();}while(item&&item!==this);return top;},getItemBottom:function(item){return this.getItemTop(item)+item.getBounds().height;},getItemLeft:function(item){var left=0;var parent;do{left+=item.getBounds().left;parent=item.getLayoutParent();if(parent){left+=parent.getInsets().left;}item=parent;}while(item&&item!==this);return left;},getItemRight:function(item){return this.getItemLeft(item)+item.getBounds().width;},getScrollSize:function(){return this.getChildren()[0].getBounds();},getScrollMaxX:function(){var paneSize=this.getInnerSize();var scrollSize=this.getScrollSize();if(paneSize&&scrollSize){return Math.max(0,scrollSize.width-paneSize.width);}return 0;},getScrollMaxY:function(){var paneSize=this.getInnerSize();var scrollSize=this.getScrollSize();if(paneSize&&scrollSize){return Math.max(0,scrollSize.height-paneSize.height);}return 0;},scrollToX:function(value){var max=this.getScrollMaxX();if(value<0){value=0;}else if(value>max){value=max;}this.setScrollX(value);},scrollToY:function(value){var max=this.getScrollMaxY();if(value<0){value=0;}else if(value>max){value=max;}this.setScrollY(value);},scrollByX:function(x){this.scrollToX(this.getScrollX()+x);},scrollByY:function(y){this.scrollToY(this.getScrollY()+y);},_applyScrollX:function(value){this.getContentElement().scrollToX(value);},_applyScrollY:function(value){this.getContentElement().scrollToY(value);}}});})();(function(){var SSSS_0="qx.ui.core.MChildrenHandling";qx.Mixin.define(SSSS_0,{members:{getChildren:function(){return this._getChildren();},hasChildren:function(){return this._hasChildren();},indexOf:function(child){return this._indexOf(child);},add:function(child,options){this._add(child,options);},addAt:function(child,index,options){this._addAt(child,index,options);},addBefore:function(child,before,options){this._addBefore(child,before,options);},addAfter:function(child,after,options){this._addAfter(child,after,options);},remove:function(child){this._remove(child);},removeAt:function(index){return this._removeAt(index);},removeAll:function(){this._removeAll();}},statics:{remap:function(members){members.getChildren=members._getChildren;members.hasChildren=members._hasChildren;members.indexOf=members._indexOf;members.add=members._add;members.addAt=members._addAt;members.addBefore=members._addBefore;members.addAfter=members._addAfter;members.remove=members._remove;members.removeAt=members._removeAt;members.removeAll=members._removeAll;}}});})();(function(){var SSSS_0="qx.ui.core.MLayoutHandling";qx.Mixin.define(SSSS_0,{members:{setLayout:function(layout){return this._setLayout(layout);},getLayout:function(){return this._getLayout();}},statics:{remap:function(members){members.getLayout=members._getLayout;members.setLayout=members._setLayout;}}});})();(function(){var SSSS_0="qx.event.type.Data",SSSS_1="qx.ui.container.Composite",SSSS_2="addChildWidget",SSSS_3="removeChildWidget";qx.Class.define(SSSS_1,{extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MLayoutHandling],construct:function(layout){arguments.callee.base.call(this);if(layout!=null){this._setLayout(layout);}},events:{addChildWidget:SSSS_0,removeChildWidget:SSSS_0},members:{_afterAddChild:function(child){this.fireNonBubblingEvent(SSSS_2,qx.event.type.Data,[child]);},_afterRemoveChild:function(child){this.fireNonBubblingEvent(SSSS_3,qx.event.type.Data,[child]);}},defer:function(statics,members){qx.ui.core.MChildrenHandling.remap(members);qx.ui.core.MLayoutHandling.remap(members);}});})();(function(){var SSSS_0="qx.ui.popup.Popup",SSSS_1="visible",SSSS_2="excluded",SSSS_3="popup",SSSS_4="Boolean";qx.Class.define(SSSS_0,{extend:qx.ui.container.Composite,include:qx.ui.core.MPlacement,construct:function(layout){arguments.callee.base.call(this,layout);qx.core.Init.getApplication().getRoot().add(this);this.initVisibility();},properties:{appearance:{refine:true,init:SSSS_3},visibility:{refine:true,init:SSSS_2},autoHide:{check:SSSS_4,init:true}},members:{_applyVisibility:function(value,old){arguments.callee.base.call(this,value,old);var mgr=qx.ui.popup.Manager.getInstance();value===SSSS_1?mgr.add(this):mgr.remove(this);}},destruct:function(){qx.ui.popup.Manager.getInstance().remove(this);}});})();(function(){var SSSS_0="mousedown",SSSS_1="qx.debug",SSSS_2="on",SSSS_3="blur",SSSS_4="qx.ui.popup.Manager",SSSS_5="__lm",SSSS_6="singleton";qx.Class.define(SSSS_4,{type:SSSS_6,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.__lm={};qx.event.Registration.addListener(document.documentElement,SSSS_0,this.__lo,this,true);qx.bom.Element.addListener(window,SSSS_3,this.hideAll,this);},members:{__lm:null,add:function(obj){if(qx.core.Variant.isSet(SSSS_1,SSSS_2)){if(!(obj instanceof qx.ui.popup.Popup)){throw new Error("Object is no popup: "+obj);}}this.__lm[obj.$$hash]=obj;this.__ln();},remove:function(obj){if(qx.core.Variant.isSet(SSSS_1,SSSS_2)){if(!(obj instanceof qx.ui.popup.Popup)){throw new Error("Object is no popup: "+obj);}}var reg=this.__lm;if(reg){delete reg[obj.$$hash];this.__ln();}},hideAll:function(){var reg=this.__lm;if(reg){for(var hash in reg){reg[hash].exclude();}}},__ln:function(){var min=1e7;var reg=this.__lm;for(var hash in reg){reg[hash].setZIndex(min++);}},__lo:function(e){var target=qx.ui.core.Widget.getWidgetByElement(e.getTarget());var reg=this.__lm;for(var hash in reg){var obj=reg[hash];if(!obj.getAutoHide()||target==obj||qx.ui.core.Widget.contains(obj,target)){continue;}obj.exclude();}}},destruct:function(){qx.event.Registration.removeListener(document.documentElement,SSSS_0,this.__lo,this,true);this._disposeMap(SSSS_5);}});})();(function(){var SSSS_0="\n",SSSS_1="",SSSS_2=" &nbsp;",SSSS_3="<br>",SSSS_4=" ",SSSS_5="qx.bom.String";qx.Class.define(SSSS_5,{statics:{TO_CHARCODE:{"quot":34,"amp":38,"lt":60,"gt":62,"nbsp":160,"iexcl":161,"cent":162,"pound":163,"curren":164,"yen":165,"brvbar":166,"sect":167,"uml":168,"copy":169,"ordf":170,"laquo":171,"not":172,"shy":173,"reg":174,"macr":175,"deg":176,"plusmn":177,"sup2":178,"sup3":179,"acute":180,"micro":181,"para":182,"middot":183,"cedil":184,"sup1":185,"ordm":186,"raquo":187,"frac14":188,"frac12":189,"frac34":190,"iquest":191,"Agrave":192,"Aacute":193,"Acirc":194,"Atilde":195,"Auml":196,"Aring":197,"AElig":198,"Ccedil":199,"Egrave":200,"Eacute":201,"Ecirc":202,"Euml":203,"Igrave":204,"Iacute":205,"Icirc":206,"Iuml":207,"ETH":208,"Ntilde":209,"Ograve":210,"Oacute":211,"Ocirc":212,"Otilde":213,"Ouml":214,"times":215,"Oslash":216,"Ugrave":217,"Uacute":218,"Ucirc":219,"Uuml":220,"Yacute":221,"THORN":222,"szlig":223,"agrave":224,"aacute":225,"acirc":226,"atilde":227,"auml":228,"aring":229,"aelig":230,"ccedil":231,"egrave":232,"eacute":233,"ecirc":234,"euml":235,"igrave":236,"iacute":237,"icirc":238,"iuml":239,"eth":240,"ntilde":241,"ograve":242,"oacute":243,"ocirc":244,"otilde":245,"ouml":246,"divide":247,"oslash":248,"ugrave":249,"uacute":250,"ucirc":251,"uuml":252,"yacute":253,"thorn":254,"yuml":255,"fnof":402,"Alpha":913,"Beta":914,"Gamma":915,"Delta":916,"Epsilon":917,"Zeta":918,"Eta":919,"Theta":920,"Iota":921,"Kappa":922,"Lambda":923,"Mu":924,"Nu":925,"Xi":926,"Omicron":927,"Pi":928,"Rho":929,"Sigma":931,"Tau":932,"Upsilon":933,"Phi":934,"Chi":935,"Psi":936,"Omega":937,"alpha":945,"beta":946,"gamma":947,"delta":948,"epsilon":949,"zeta":950,"eta":951,"theta":952,"iota":953,"kappa":954,"lambda":955,"mu":956,"nu":957,"xi":958,"omicron":959,"pi":960,"rho":961,"sigmaf":962,"sigma":963,"tau":964,"upsilon":965,"phi":966,"chi":967,"psi":968,"omega":969,"thetasym":977,"upsih":978,"piv":982,"bull":8226,"hellip":8230,"prime":8242,"Prime":8243,"oline":8254,"frasl":8260,"weierp":8472,"image":8465,"real":8476,"trade":8482,"alefsym":8501,"larr":8592,"uarr":8593,"rarr":8594,"darr":8595,"harr":8596,"crarr":8629,"lArr":8656,"uArr":8657,"rArr":8658,"dArr":8659,"hArr":8660,"forall":8704,"part":8706,"exist":8707,"empty":8709,"nabla":8711,"isin":8712,"notin":8713,"ni":8715,"prod":8719,"sum":8721,"minus":8722,"lowast":8727,"radic":8730,"prop":8733,"infin":8734,"ang":8736,"and":8743,"or":8744,"cap":8745,"cup":8746,"int":8747,"there4":8756,"sim":8764,"cong":8773,"asymp":8776,"ne":8800,"equiv":8801,"le":8804,"ge":8805,"sub":8834,"sup":8835,"sube":8838,"supe":8839,"oplus":8853,"otimes":8855,"perp":8869,"sdot":8901,"lceil":8968,"rceil":8969,"lfloor":8970,"rfloor":8971,"lang":9001,"rang":9002,"loz":9674,"spades":9824,"clubs":9827,"hearts":9829,"diams":9830,"OElig":338,"oelig":339,"Scaron":352,"scaron":353,"Yuml":376,"circ":710,"tilde":732,"ensp":8194,"emsp":8195,"thinsp":8201,"zwnj":8204,"zwj":8205,"lrm":8206,"rlm":8207,"ndash":8211,"mdash":8212,"lsquo":8216,"rsquo":8217,"sbquo":8218,"ldquo":8220,"rdquo":8221,"bdquo":8222,"dagger":8224,"Dagger":8225,"permil":8240,"lsaquo":8249,"rsaquo":8250,"euro":8364},escape:function(str){return qx.util.StringEscape.escape(str,qx.bom.String.FROM_CHARCODE);},unescape:function(str){return qx.util.StringEscape.unescape(str,qx.bom.String.TO_CHARCODE);},fromText:function(str){return qx.bom.String.escape(str).replace(/(  |\n)/g,function(chr){var map={"  ":SSSS_2,"\n":SSSS_3};return map[chr]||chr;});},toText:function(str){return qx.bom.String.unescape(str.replace(/\s+|<([^>])+>/gi,function(chr){if(/\s+/.test(chr)){return SSSS_4;}else if(/^<BR|^<br/gi.test(chr)){return SSSS_0;}else{return SSSS_1;}}));}},defer:function(statics,members,properties){statics.FROM_CHARCODE=qx.lang.Object.invert(statics.TO_CHARCODE);}});})();(function(){var SSSS_0=";",SSSS_1="&",SSSS_2='X',SSSS_3="",SSSS_4='#',SSSS_5="&#",SSSS_6="qx.util.StringEscape";qx.Class.define(SSSS_6,{statics:{escape:function(str,charCodeToEntities){var entity,result=SSSS_3;for(var i=0,l=str.length;i<l;i++){var chr=str.charAt(i);var code=chr.charCodeAt(0);if(charCodeToEntities[code]){entity=SSSS_1+charCodeToEntities[code]+SSSS_0;}else{if(code>0x7F){entity=SSSS_5+code+SSSS_0;}else{entity=chr;}}result+=entity;}return result;},unescape:function(str,entitiesToCharCode){return str.replace(/&[#\w]+;/gi,function(entity){var chr=entity;var entity=entity.substring(1,entity.length-1);var code=entitiesToCharCode[entity];if(code){chr=String.fromCharCode(code);}else{if(entity.charAt(0)==SSSS_4){if(entity.charAt(1).toUpperCase()==SSSS_2){code=entity.substring(2);if(code.match(/^[0-9A-Fa-f]+$/gi)){chr=String.fromCharCode(parseInt(code,16));}}else{code=entity.substring(1);if(code.match(/^\d+$/gi)){chr=String.fromCharCode(parseInt(code,10));}}}}return chr;});}}});})();(function(){var SSSS_0="showingPlaceholder",SSSS_1="color",SSSS_2="",SSSS_3="none",SSSS_4="qx.client",SSSS_5="Boolean",SSSS_6="qx.event.type.Data",SSSS_7="readonly",SSSS_8="input",SSSS_9="focusin",SSSS_10="visibility",SSSS_11="focusout",SSSS_12="hidden",SSSS_13="absolute",SSSS_14="readOnly",SSSS_15="text",SSSS_16="_applyTextAlign",SSSS_17="px",SSSS_18="RegExp",SSSS_19=")",SSSS_20="syncAppearance",SSSS_21="gecko",SSSS_22="A",SSSS_23="change",SSSS_24="textAlign",SSSS_25="focused",SSSS_26="center",SSSS_27="visible",SSSS_28="disabled",SSSS_29="url(",SSSS_30="String",SSSS_31="resize",SSSS_32="qx.ui.form.AbstractField",SSSS_33="transparent",SSSS_34="off",SSSS_35="spellcheck",SSSS_36="false",SSSS_37="right",SSSS_38="PositiveInteger",SSSS_39="mshtml",SSSS_40="abstract",SSSS_41="block",SSSS_42="webkit",SSSS_43="_applyReadOnly",SSSS_44="_applyPlaceholder",SSSS_45="left",SSSS_46="changeValue",SSSS_47="qx/static/blank.gif";qx.Class.define(SSSS_32,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm,qx.ui.form.IForm],include:[qx.ui.form.MForm],type:SSSS_40,construct:function(value){arguments.callee.base.call(this);if(value!=null){this.setValue(value);}this.getContentElement().addListener(SSSS_23,this._onChangeContent,this);this.addListener(SSSS_20,this._syncPlaceholder,this);},events:{"input":SSSS_6,"changeValue":SSSS_6},properties:{textAlign:{check:[SSSS_45,SSSS_26,SSSS_37],nullable:true,themeable:true,apply:SSSS_16},readOnly:{check:SSSS_5,apply:SSSS_43,init:false},selectable:{refine:true,init:true},focusable:{refine:true,init:true},maxLength:{check:SSSS_38,init:Infinity},liveUpdate:{check:SSSS_5,init:false},placeholder:{check:SSSS_30,nullable:true,apply:SSSS_44},filter:{check:SSSS_18,nullable:true,init:null}},members:{__lp:true,__lq:null,__lr:null,__ls:null,getFocusElement:function(){var el=this.getContentElement();if(el){return el;}},_createInputElement:function(){return new qx.html.Input(SSSS_15);},renderLayout:function(left,top,width,height){var updateInsets=this._updateInsets;var changes=arguments.callee.base.call(this,left,top,width,height);if(!changes){return;}var inner=changes.size||updateInsets;var pixel=SSSS_17;if(inner||changes.local||changes.margin){var insets=this.getInsets();var innerWidth=width-insets.left-insets.right;var innerHeight=height-insets.top-insets.bottom;innerWidth=innerWidth<0?0:innerWidth;innerHeight=innerHeight<0?0:innerHeight;}var input=this.getContentElement();if(updateInsets){this.__lv().setStyles({"left":insets.left+pixel,"top":insets.top+pixel});}if(inner){this.__lv().setStyles({"width":innerWidth+pixel,"height":innerHeight+pixel});input.setStyles({"width":innerWidth+pixel,"height":innerHeight+pixel});}},_createContentElement:function(){var el=this._createInputElement();el.setStyles({"border":SSSS_3,"padding":0,"margin":0,"display":SSSS_41,"background":SSSS_33,"outline":SSSS_3,"appearance":SSSS_3,"position":SSSS_13,"autoComplete":SSSS_34});el.setSelectable(this.getSelectable());el.setEnabled(this.getEnabled());el.addListener(SSSS_8,this._onHtmlInput,this);if(qx.core.Variant.isSet(SSSS_4,SSSS_21)){el.setAttribute(SSSS_35,SSSS_36);}if(qx.core.Variant.isSet(SSSS_4,SSSS_42)){el.setStyle(SSSS_31,SSSS_3);}if(qx.core.Variant.isSet(SSSS_4,SSSS_39)){el.setStyles({backgroundImage:SSSS_29+qx.util.ResourceManager.getInstance().toUri(SSSS_47)+SSSS_19});}return el;},_applyEnabled:function(value,old){arguments.callee.base.call(this,value,old);this.getContentElement().setEnabled(value);if(value){this._showPlaceholder();}else{this._removePlaceholder();}},__lt:{width:16,height:16},_getContentHint:function(){return {width:this.__lt.width*10,height:this.__lt.height||16};},_applyFont:function(value,old){var styles;if(value){var font=qx.theme.manager.Font.getInstance().resolve(value);styles=font.getStyles();}else{styles=qx.bom.Font.getDefaultStyles();}this.getContentElement().setStyles(styles);this.__lv().setStyles(styles);if(value){this.__lt=qx.bom.Label.getTextSize(SSSS_22,styles);}else{delete this.__lt;}qx.ui.core.queue.Layout.add(this);},_applyTextColor:function(value,old){if(value){this.getContentElement().setStyle(SSSS_1,qx.theme.manager.Color.getInstance().resolve(value));this.__lv().setStyle(SSSS_1,qx.theme.manager.Color.getInstance().resolve(value));}else{this.getContentElement().removeStyle(SSSS_1);this.__lv().removeStyle(SSSS_1);}},tabFocus:function(){arguments.callee.base.call(this);this.selectAllText();},_getTextSize:function(){return this.__lt;},_onHtmlInput:function(e){var value=e.getData();var fireEvents=true;this.__lp=false;if(this.getFilter()!=null){var filteredValue=SSSS_2;var index=value.search(this.getFilter());var processedValue=value;while(index>=0){filteredValue=filteredValue+(processedValue.charAt(index));processedValue=processedValue.substring(index+1,processedValue.length);index=processedValue.search(this.getFilter());}if(filteredValue!=value){fireEvents=false;value=filteredValue;this.getContentElement().setValue(value);}}if(value.length>this.getMaxLength()){var fireEvents=false;this.getContentElement().setValue(value.substr(0,this.getMaxLength()));}if(fireEvents){this.fireDataEvent(SSSS_8,value,this.__ls);this.__ls=value;if(this.getLiveUpdate()){this.__lu(value);}}},__lu:function(value){this.fireNonBubblingEvent(SSSS_46,qx.event.type.Data,[value,this.__lr]);this.__lr=value;},setValue:function(value){if(value===null){if(this.__lp){return value;}value=SSSS_2;this.__lp=true;}else{this.__lp=false;this._removePlaceholder();}if(qx.lang.Type.isString(value)){var elem=this.getContentElement();if(value.length>this.getMaxLength()){value=value.substr(0,this.getMaxLength());}if(elem.getValue()!=value){var oldValue=elem.getValue();elem.setValue(value);var data=this.__lp?null:value;this.__lr=oldValue;this.__lu(data);}this._showPlaceholder();return value;}throw new Error("Invalid value type: "+value);},getValue:function(){var value=this.getContentElement().getValue();return this.__lp?null:value;},resetValue:function(){this.setValue(null);},_onChangeContent:function(e){this.__lp=e.getData()===null;this.__lu(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(start,end){this.getContentElement().setTextSelection(start,end);},clearTextSelection:function(){this.getContentElement().clearTextSelection();},selectAllText:function(){this.setTextSelection(0);},_showPlaceholder:function(){var fieldValue=this.getValue()||SSSS_2;var placeholder=this.getPlaceholder();if(placeholder!=null&&fieldValue==SSSS_2&&!this.hasState(SSSS_25)&&!this.hasState(SSSS_28)){if(this.hasState(SSSS_0)){this._syncPlaceholder();}else{this.addState(SSSS_0);}}},_removePlaceholder:function(){if(this.hasState(SSSS_0)){this.__lv().setStyle(SSSS_10,SSSS_12);this.removeState(SSSS_0);}},_syncPlaceholder:function(){if(this.hasState(SSSS_0)){this.__lv().setStyle(SSSS_10,SSSS_27);}},__lv:function(){if(this.__lq==null){this.__lq=new qx.html.Label();this.__lq.setStyles({"visibility":SSSS_12,"zIndex":6,"position":SSSS_13});this.getContainerElement().add(this.__lq);}return this.__lq;},_applyPlaceholder:function(value,old){this.__lv().setValue(value);if(value!=null){this.addListener(SSSS_9,this._removePlaceholder,this);this.addListener(SSSS_11,this._showPlaceholder,this);this._showPlaceholder();}else{this.removeListener(SSSS_9,this._removePlaceholder,this);this.removeListener(SSSS_11,this._showPlaceholder,this);this._removePlaceholder();}},_applyTextAlign:function(value,old){this.getContentElement().setStyle(SSSS_24,value);},_applyReadOnly:function(value,old){var element=this.getContentElement();element.setAttribute(SSSS_14,value);if(value){this.addState(SSSS_7);this.setFocusable(false);}else{this.removeState(SSSS_7);this.setFocusable(true);}}},destruct:function(){this.__lq=null;}});})();(function(){var SSSS_0="qx.ui.form.TextField",SSSS_1="textfield";qx.Class.define(SSSS_0,{extend:qx.ui.form.AbstractField,properties:{appearance:{refine:true,init:SSSS_1},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}}});})();(function(){var SSSS_0="none",SSSS_1="wrap",SSSS_2="value",SSSS_3="qx.client",SSSS_4="textarea",SSSS_5="off",SSSS_6="on",SSSS_7="qxSelectable",SSSS_8="",SSSS_9="webkit",SSSS_10="input",SSSS_11="qx.html.Input",SSSS_12="select",SSSS_13="disabled",SSSS_14="read-only",SSSS_15="userSelect";qx.Class.define(SSSS_11,{extend:qx.html.Element,construct:function(type){arguments.callee.base.call(this);this.__lw=type;if(type===SSSS_12||type===SSSS_4){this.setNodeName(type);}else{this.setNodeName(SSSS_10);}},members:{__lw:null,__lx:null,__ly:null,_createDomElement:function(){return qx.bom.Input.create(this.__lw);},_applyProperty:function(name,value){arguments.callee.base.call(this,name,value);var element=this.getDomElement();if(name===SSSS_2){qx.bom.Input.setValue(element,value);}else if(name===SSSS_1){qx.bom.Input.setWrap(element,value);}},setEnabled:qx.core.Variant.select(SSSS_3,{"webkit":function(value){this.__ly=value;if(!value){this.setStyles({"userModify":SSSS_14,"userSelect":SSSS_0});}else{this.setStyles({"userModify":null,"userSelect":this.__lx?null:SSSS_0});}},"default":function(value){this.setAttribute(SSSS_13,value===false);}}),setSelectable:qx.core.Variant.select(SSSS_3,{"webkit":function(value){this.__lx=value;this.setAttribute(SSSS_7,value?SSSS_6:SSSS_5);if(qx.core.Variant.isSet(SSSS_3,SSSS_9)){var selectable=this.__ly?value?null:SSSS_0:SSSS_0;this.setStyle(SSSS_15,selectable);}},"default":function(value){this.setAttribute(SSSS_7,value?SSSS_6:SSSS_5);}}),setValue:function(value){var element=this.getDomElement();if(element){if(element.value!=value){qx.bom.Input.setValue(element,value);}}else{this._setProperty(SSSS_2,value);}return this;},getValue:function(){var element=this.getDomElement();if(element){return qx.bom.Input.getValue(element);}return this._getProperty(SSSS_2)||SSSS_8;},setWrap:function(wrap){if(this.__lw===SSSS_4){this._setProperty(SSSS_1,wrap);}else{throw new Error("Text wrapping is only support by textareas!");}return this;},getWrap:function(){if(this.__lw===SSSS_4){return this._getProperty(SSSS_1);}else{throw new Error("Text wrapping is only support by textareas!");}}}});})();(function(){var SSSS_0="change",SSSS_1="input",SSSS_2="qx.client",SSSS_3="text",SSSS_4="password",SSSS_5="checkbox",SSSS_6="radio",SSSS_7="textarea",SSSS_8="keypress",SSSS_9="opera",SSSS_10="propertychange",SSSS_11="blur",SSSS_12="keydown",SSSS_13="keyup",SSSS_14="select-multiple",SSSS_15="checked",SSSS_16="value",SSSS_17="select",SSSS_18="qx.event.handler.Input";qx.Class.define(SSSS_18,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(){arguments.callee.base.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.Variant.isSet(SSSS_2,SSSS_9)){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:{__lz:false,__lA:null,__lB:null,canHandleEvent:function(target,type){var lower=target.tagName.toLowerCase();if(type===SSSS_1&&(lower===SSSS_1||lower===SSSS_7)){return true;}if(type===SSSS_0&&(lower===SSSS_1||lower===SSSS_7||lower===SSSS_17)){return true;}return false;},registerEvent:qx.core.Variant.select(SSSS_2,{"mshtml":function(target,type,capture){if(!target.__lC){var tag=target.tagName.toLowerCase();var elementType=target.type;if(elementType===SSSS_3||elementType===SSSS_4||tag===SSSS_7||elementType===SSSS_5||elementType===SSSS_6){qx.bom.Event.addNativeListener(target,SSSS_10,this._onPropertyWrapper);}if(elementType!==SSSS_5&&elementType!==SSSS_6){qx.bom.Event.addNativeListener(target,SSSS_0,this._onChangeValueWrapper);}if(elementType===SSSS_3||elementType===SSSS_4){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,target);qx.bom.Event.addNativeListener(target,SSSS_8,this._onKeyPressWrapped);}target.__lC=true;}},"default":function(target,type,capture){if(type===SSSS_1){this.__lD(target);}else if(type===SSSS_0){if(target.type===SSSS_6||target.type===SSSS_5){qx.bom.Event.addNativeListener(target,SSSS_0,this._onChangeCheckedWrapper);}else{qx.bom.Event.addNativeListener(target,SSSS_0,this._onChangeValueWrapper);}if(qx.core.Variant.isSet(SSSS_2,SSSS_9)){if(target.type===SSSS_3||target.type===SSSS_4){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,target);qx.bom.Event.addNativeListener(target,SSSS_8,this._onKeyPressWrapped);}}}}}),__lD:qx.core.Variant.select(SSSS_2,{"mshtml":null,"webkit":function(target){var tag=target.tagName.toLowerCase();if(qx.bom.client.Engine.VERSION<532&&tag==SSSS_7){qx.bom.Event.addNativeListener(target,SSSS_8,this._onInputWrapper);}qx.bom.Event.addNativeListener(target,SSSS_1,this._onInputWrapper);},"opera":function(target){qx.bom.Event.addNativeListener(target,SSSS_13,this._onKeyUpWrapper);qx.bom.Event.addNativeListener(target,SSSS_12,this._onKeyDownWrapper);qx.bom.Event.addNativeListener(target,SSSS_11,this._onBlurWrapper);qx.bom.Event.addNativeListener(target,SSSS_1,this._onInputWrapper);},"default":function(target){qx.bom.Event.addNativeListener(target,SSSS_1,this._onInputWrapper);}}),unregisterEvent:qx.core.Variant.select(SSSS_2,{"mshtml":function(target,type){if(target.__lC){var tag=target.tagName.toLowerCase();var elementType=target.type;if(elementType===SSSS_3||elementType===SSSS_4||tag===SSSS_7||elementType===SSSS_5||elementType===SSSS_6){qx.bom.Event.removeNativeListener(target,SSSS_10,this._onPropertyWrapper);}if(elementType!==SSSS_5&&elementType!==SSSS_6){qx.bom.Event.removeNativeListener(target,SSSS_0,this._onChangeValueWrapper);}if(elementType===SSSS_3||elementType===SSSS_4){qx.bom.Event.removeNativeListener(target,SSSS_8,this._onKeyPressWrapped);}try{delete target.__lC;}catch(ex){target.__lC=null;}}},"default":function(target,type){if(type===SSSS_1){this.__lD(target);}else if(type===SSSS_0){if(target.type===SSSS_6||target.type===SSSS_5){qx.bom.Event.removeNativeListener(target,SSSS_0,this._onChangeCheckedWrapper);}else{qx.bom.Event.removeNativeListener(target,SSSS_0,this._onChangeValueWrapper);}}if(qx.core.Variant.isSet(SSSS_2,SSSS_9)){if(target.type===SSSS_3||target.type===SSSS_4){qx.bom.Event.removeNativeListener(target,SSSS_8,this._onKeyPressWrapped);}}}}),__lE:qx.core.Variant.select(SSSS_2,{"mshtml":null,"webkit":function(target){var tag=target.tagName.toLowerCase();if(qx.bom.client.Engine.VERSION<532&&tag==SSSS_7){qx.bom.Event.removeNativeListener(target,SSSS_8,this._onInputWrapper);}qx.bom.Event.removeNativeListener(target,SSSS_1,this._onInputWrapper);},"opera":function(target){qx.bom.Event.removeNativeListener(target,SSSS_13,this._onKeyUpWrapper);qx.bom.Event.removeNativeListener(target,SSSS_12,this._onKeyDownWrapper);qx.bom.Event.removeNativeListener(target,SSSS_11,this._onBlurWrapper);qx.bom.Event.removeNativeListener(target,SSSS_1,this._onInputWrapper);},"default":function(target){qx.bom.Event.removeNativeListener(target,SSSS_1,this._onInputWrapper);}}),_onKeyPress:qx.core.Variant.select(SSSS_2,{"mshtml|opera":function(e,target){if(e.keyCode===13){if(target.value!==this.__lB){this.__lB=target.value;qx.event.Registration.fireEvent(target,SSSS_0,qx.event.type.Data,[target.value]);}}},"default":null}),_onKeyDown:qx.core.Variant.select(SSSS_2,{"opera":function(e){if(e.keyCode===13){this.__lz=true;}},"default":null}),_onKeyUp:qx.core.Variant.select(SSSS_2,{"opera":function(e){if(e.keyCode===13){this.__lz=false;}},"default":null}),_onBlur:qx.core.Variant.select(SSSS_2,{"opera":function(e){if(this.__lA){window.clearTimeout(this.__lA);}},"default":null}),_onInput:qx.event.GlobalError.observeMethod(function(e){var target=e.target;if(!this.__lz){if(qx.core.Variant.isSet(SSSS_2,SSSS_9)){this.__lA=window.setTimeout(function(){qx.event.Registration.fireEvent(target,SSSS_1,qx.event.type.Data,[target.value]);},0);}else{qx.event.Registration.fireEvent(target,SSSS_1,qx.event.type.Data,[target.value]);}}}),_onChangeValue:qx.event.GlobalError.observeMethod(function(e){var target=e.target||e.srcElement;var data=target.value;if(target.type===SSSS_14){var data=[];for(var i=0,o=target.options,l=o.length;i<l;i++){if(o[i].selected){data.push(o[i].value);}}}qx.event.Registration.fireEvent(target,SSSS_0,qx.event.type.Data,[data]);}),_onChangeChecked:qx.event.GlobalError.observeMethod(function(e){var target=e.target;if(target.type===SSSS_6){if(target.checked){qx.event.Registration.fireEvent(target,SSSS_0,qx.event.type.Data,[target.value]);}}else{qx.event.Registration.fireEvent(target,SSSS_0,qx.event.type.Data,[target.checked]);}}),_onProperty:qx.core.Variant.select(SSSS_2,{"mshtml":qx.event.GlobalError.observeMethod(function(e){var target=e.target||e.srcElement;var prop=e.propertyName;if(prop===SSSS_16&&(target.type===SSSS_3||target.type===SSSS_4||target.tagName.toLowerCase()===SSSS_7)){if(!target.__inValueSet){qx.event.Registration.fireEvent(target,SSSS_1,qx.event.type.Data,[target.value]);}}else if(prop===SSSS_15){if(target.type===SSSS_5){qx.event.Registration.fireEvent(target,SSSS_0,qx.event.type.Data,[target.checked]);}else if(target.checked){qx.event.Registration.fireEvent(target,SSSS_0,qx.event.type.Data,[target.value]);}}}),"default":function(){}})},defer:function(statics){qx.event.Registration.addHandler(statics);}});})();(function(){var SSSS_0="",SSSS_1="select",SSSS_2="qx.client",SSSS_3="soft",SSSS_4="off",SSSS_5="text",SSSS_6="Unsupported input type.",SSSS_7="nowrap",SSSS_8="radio",SSSS_9="textarea",SSSS_10="auto",SSSS_11="qx.debug",SSSS_12="input",SSSS_13="option",SSSS_14="value",SSSS_15="number",SSSS_16="qx.bom.Input",SSSS_17="normal",SSSS_18="mshtml",SSSS_19="wrap",SSSS_20="checkbox",SSSS_21="select-one",SSSS_22="on";qx.Class.define(SSSS_16,{statics:{__lF:{text:1,textarea:1,select:1,checkbox:1,radio:1,password:1,hidden:1,submit:1,image:1,file:1,search:1,reset:1,button:1},create:function(type,attributes,win){if(qx.core.Variant.isSet(SSSS_11,SSSS_22)){qx.core.Assert.assertKeyInMap(type,this.__lF,SSSS_6);}var attributes=attributes?qx.lang.Object.clone(attributes):{};var tag;if(type===SSSS_9||type===SSSS_1){tag=type;}else{tag=SSSS_12;attributes.type=type;}return qx.bom.Element.create(tag,attributes,win);},setValue:function(element,value){var tag=element.nodeName.toLowerCase();var type=element.type;var Array=qx.lang.Array;var Type=qx.lang.Type;if(typeof value===SSSS_15){value+=SSSS_0;}if((type===SSSS_20||type===SSSS_8)){if(Type.isArray(value)){element.checked=Array.contains(value,element.value);}else{element.checked=element.value==value;}}else if(tag===SSSS_1){var isArray=Type.isArray(value);var options=element.options;var subel,subval;for(var i=0,l=options.length;i<l;i++){subel=options[i];subval=subel.getAttribute(SSSS_14);if(subval==null){subval=subel.text;}subel.selected=isArray?Array.contains(value,subval):value==subval;}if(isArray&&value.length==0){element.selectedIndex=-1;}}else if(type===SSSS_5&&qx.core.Variant.isSet(SSSS_2,SSSS_18)){element.__lG=true;element.value=value;element.__lG=null;}else{element.value=value;}},getValue:function(element){var tag=element.nodeName.toLowerCase();if(tag===SSSS_13){return (element.attributes.value||{}).specified?element.value:element.text;}if(tag===SSSS_1){var index=element.selectedIndex;if(index<0){return null;}var values=[];var options=element.options;var one=element.type==SSSS_21;var clazz=qx.bom.Input;var value;for(var i=one?index:0,max=one?index+1:options.length;i<max;i++){var option=options[i];if(option.selected){value=clazz.getValue(option);if(one){return value;}values.push(value);}}return values;}else{return (element.value||SSSS_0).replace(/\r/g,SSSS_0);}},setWrap:qx.core.Variant.select(SSSS_2,{"mshtml":function(element,wrap){element.wrap=wrap?SSSS_3:SSSS_4;},"gecko|webkit":function(element,wrap){var wrapValue=wrap?SSSS_3:SSSS_4;var styleValue=wrap?SSSS_0:SSSS_10;element.setAttribute(SSSS_19,wrapValue);element.style.overflow=styleValue;},"default":function(element,wrap){element.style.whiteSpace=wrap?SSSS_17:SSSS_7;}})}});})();(function(){var SSSS_0="_",SSSS_1="format",SSSS_2="qx.debug",SSSS_3="on",SSSS_4="stand-alone",SSSS_5="narrow",SSSS_6="abbreviated",SSSS_7="wide",SSSS_8="short",SSSS_9="full",SSSS_10="long",SSSS_11="medium",SSSS_12="sat",SSSS_13="cldr_day_",SSSS_14="cldr_month_",SSSS_15="wed",SSSS_16="fri",SSSS_17="tue",SSSS_18="mon",SSSS_19="sun",SSSS_20="thu",SSSS_21="HH:mm",SSSS_22="HHmmsszz",SSSS_23="cldr_date_format_",SSSS_24="HHmm",SSSS_25="HHmmss",SSSS_26="HH:mm:ss zz",SSSS_27="cldr_pm",SSSS_28="cldr_am",SSSS_29="qx.locale.Date",SSSS_30="cldr_date_time_format_",SSSS_31="cldr_time_format_",SSSS_32="HH:mm:ss";qx.Class.define(SSSS_29,{statics:{__lH:qx.locale.Manager.getInstance(),getAmMarker:function(locale){return this.__lH.localize(SSSS_28,[],locale);},getPmMarker:function(locale){return this.__lH.localize(SSSS_27,[],locale);},getDayNames:function(length,locale,context){var context=context?context:SSSS_1;if(qx.core.Variant.isSet(SSSS_2,SSSS_3)){qx.core.Assert.assertInArray(length,[SSSS_6,SSSS_5,SSSS_7]);qx.core.Assert.assertInArray(context,[SSSS_1,SSSS_4]);}var days=[SSSS_19,SSSS_18,SSSS_17,SSSS_15,SSSS_20,SSSS_16,SSSS_12];var names=[];for(var i=0;i<days.length;i++){var key=SSSS_13+context+SSSS_0+length+SSSS_0+days[i];names.push(this.__lH.localize(key,[],locale));}return names;},getDayName:function(length,day,locale,context){var context=context?context:SSSS_1;if(qx.core.Variant.isSet(SSSS_2,SSSS_3)){qx.core.Assert.assertInArray(length,[SSSS_6,SSSS_5,SSSS_7]);qx.core.Assert.assertInteger(day);qx.core.Assert.assertInRange(day,0,6);qx.core.Assert.assertInArray(context,[SSSS_1,SSSS_4]);}var days=[SSSS_19,SSSS_18,SSSS_17,SSSS_15,SSSS_20,SSSS_16,SSSS_12];var key=SSSS_13+context+SSSS_0+length+SSSS_0+days[day];return this.__lH.localize(key,[],locale);},getMonthNames:function(length,locale,context){var context=context?context:SSSS_1;if(qx.core.Variant.isSet(SSSS_2,SSSS_3)){qx.core.Assert.assertInArray(length,[SSSS_6,SSSS_5,SSSS_7]);qx.core.Assert.assertInArray(context,[SSSS_1,SSSS_4]);}var names=[];for(var i=0;i<12;i++){var key=SSSS_14+context+SSSS_0+length+SSSS_0+(i+1);names.push(this.__lH.localize(key,[],locale));}return names;},getMonthName:function(length,month,locale,context){var context=context?context:SSSS_1;if(qx.core.Variant.isSet(SSSS_2,SSSS_3)){qx.core.Assert.assertInArray(length,[SSSS_6,SSSS_5,SSSS_7]);qx.core.Assert.assertInArray(context,[SSSS_1,SSSS_4]);}var key=SSSS_14+context+SSSS_0+length+SSSS_0+(month+1);return this.__lH.localize(key,[],locale);},getDateFormat:function(size,locale){if(qx.core.Variant.isSet(SSSS_2,SSSS_3)){qx.core.Assert.assertInArray(size,[SSSS_8,SSSS_11,SSSS_10,SSSS_9]);}var key=SSSS_23+size;return this.__lH.localize(key,[],locale);},getDateTimeFormat:function(canonical,fallback,locale){var key=SSSS_30+canonical;var localizedFormat=this.__lH.localize(key,[],locale);if(localizedFormat==key){localizedFormat=fallback;}return localizedFormat;},getTimeFormat:function(size,locale){if(qx.core.Variant.isSet(SSSS_2,SSSS_3)){qx.core.Assert.assertInArray(size,[SSSS_8,SSSS_11,SSSS_10,SSSS_9]);}var key=SSSS_31+size;var localizedFormat=this.__lH.localize(key,[],locale);if(localizedFormat!=key){return localizedFormat;}switch(size){case SSSS_8:case SSSS_11:return qx.locale.Date.getDateTimeFormat(SSSS_24,SSSS_21);case SSSS_10:return qx.locale.Date.getDateTimeFormat(SSSS_25,SSSS_32);case SSSS_9:return qx.locale.Date.getDateTimeFormat(SSSS_22,SSSS_26);default:throw new Error("This case should never happen.");}},getWeekStart:function(locale){var weekStart={"MV":5,"AE":6,"AF":6,"BH":6,"DJ":6,"DZ":6,"EG":6,"ER":6,"ET":6,"IQ":6,"IR":6,"JO":6,"KE":6,"KW":6,"LB":6,"LY":6,"MA":6,"OM":6,"QA":6,"SA":6,"SD":6,"SO":6,"TN":6,"YE":6,"AS":0,"AU":0,"AZ":0,"BW":0,"CA":0,"CN":0,"FO":0,"GE":0,"GL":0,"GU":0,"HK":0,"IE":0,"IL":0,"IS":0,"JM":0,"JP":0,"KG":0,"KR":0,"LA":0,"MH":0,"MN":0,"MO":0,"MP":0,"MT":0,"NZ":0,"PH":0,"PK":0,"SG":0,"TH":0,"TT":0,"TW":0,"UM":0,"US":0,"UZ":0,"VI":0,"ZA":0,"ZW":0,"MW":0,"NG":0,"TJ":0};var territory=qx.locale.Date._getTerritory(locale);return weekStart[territory]!=null?weekStart[territory]:1;},getWeekendStart:function(locale){var weekendStart={"EG":5,"IL":5,"SY":5,"IN":0,"AE":4,"BH":4,"DZ":4,"IQ":4,"JO":4,"KW":4,"LB":4,"LY":4,"MA":4,"OM":4,"QA":4,"SA":4,"SD":4,"TN":4,"YE":4};var territory=qx.locale.Date._getTerritory(locale);return weekendStart[territory]!=null?weekendStart[territory]:6;},getWeekendEnd:function(locale){var weekendEnd={"AE":5,"BH":5,"DZ":5,"IQ":5,"JO":5,"KW":5,"LB":5,"LY":5,"MA":5,"OM":5,"QA":5,"SA":5,"SD":5,"TN":5,"YE":5,"AF":5,"IR":5,"EG":6,"IL":6,"SY":6};var territory=qx.locale.Date._getTerritory(locale);return weekendEnd[territory]!=null?weekendEnd[territory]:0;},isWeekend:function(day,locale){var weekendStart=qx.locale.Date.getWeekendStart(locale);var weekendEnd=qx.locale.Date.getWeekendEnd(locale);if(weekendEnd>weekendStart){return ((day>=weekendStart)&&(day<=weekendEnd));}else{return ((day>=weekendStart)||(day<=weekendEnd));}},_getTerritory:function(locale){if(locale){var territory=locale.split(SSSS_0)[1]||locale;}else{territory=this.__lH.getTerritory()||this.__lH.getLanguage();}return territory.toUpperCase();}}});})();(function(){var SSSS_0="qx.util.format.IFormat";qx.Interface.define(SSSS_0,{members:{format:function(obj){},parse:function(str){}}});})();(function(){var SSSS_0="(\\d\\d?)",SSSS_1="format",SSSS_2="",SSSS_3="abbreviated",SSSS_4="wide",SSSS_5="(",SSSS_6=")",SSSS_7="|",SSSS_8="stand-alone",SSSS_9="wildcard",SSSS_10="default",SSSS_11="literal",SSSS_12="'",SSSS_13="hour",SSSS_14="(\\d\\d?\\d?)",SSSS_15="ms",SSSS_16="narrow",SSSS_17="-",SSSS_18="quoted_literal",SSSS_19='a',SSSS_20="HH:mm:ss",SSSS_21="+",SSSS_22="HHmmss",SSSS_23="long",SSSS_24='z',SSSS_25="0",SSSS_26="sec",SSSS_27="day",SSSS_28='Z',SSSS_29=" ",SSSS_30="min",SSSS_31="mm",SSSS_32="(\\d+)",SSSS_33="h",SSSS_34="KK",SSSS_35='L',SSSS_36="Z",SSSS_37="(\\d\\d+)",SSSS_38="EEEE",SSSS_39="^",SSSS_40=":",SSSS_41='y',SSSS_42="K",SSSS_43="a",SSSS_44="([\\+\\-]\\d\\d:?\\d\\d)",SSSS_45="GMT",SSSS_46="dd",SSSS_47="qx.util.format.DateFormat",SSSS_48="yyy",SSSS_49="H",SSSS_50="YYYY",SSSS_51="y",SSSS_52="HH",SSSS_53="EE",SSSS_54='h',SSSS_55="S",SSSS_56='s',SSSS_57='A',SSSS_58="yyyyyy",SSSS_59="kk",SSSS_60="ss",SSSS_61='H',SSSS_62='S',SSSS_63="MMMM",SSSS_64='c',SSSS_65="d",SSSS_66="([a-zA-Z]+)",SSSS_67='k',SSSS_68="m",SSSS_69='Y',SSSS_70='D',SSSS_71="yyyyy",SSSS_72='K',SSSS_73="hh",SSSS_74="SSS",SSSS_75="MM",SSSS_76="yy",SSSS_77="(\\d\\d\\d\\d\\d\\d+)",SSSS_78="yyyy-MM-dd HH:mm:ss",SSSS_79="(\\d\\d\\d\\d\\d+)",SSSS_80="short",SSSS_81='d',SSSS_82="unkown",SSSS_83='m',SSSS_84="(\\d\\d\\d\\d)",SSSS_85="(\\d\\d\\d+)",SSSS_86="k",SSSS_87='M',SSSS_88="(\\d\\d\\d\\d+)",SSSS_89="SS",SSSS_90="MMM",SSSS_91="s",SSSS_92="M",SSSS_93='w',SSSS_94="EEE",SSSS_95="$",SSSS_96="?",SSSS_97='E',SSSS_98="z",SSSS_99="yyyy";qx.Class.define(SSSS_47,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(format,locale){arguments.callee.base.call(this);if(!locale){this.__lI=qx.locale.Manager.getInstance().getLocale();}else{this.__lI=locale;}if(format!=null){this.__lJ=format.toString();}else{this.__lJ=qx.locale.Date.getDateFormat(SSSS_23,this.__lI)+SSSS_29+qx.locale.Date.getDateTimeFormat(SSSS_22,SSSS_20,this.__lI);}},statics:{getDateTimeInstance:function(){var DateFormat=qx.util.format.DateFormat;var format=qx.locale.Date.getDateFormat(SSSS_23)+SSSS_29+qx.locale.Date.getDateTimeFormat(SSSS_22,SSSS_20);if(DateFormat._dateInstance==null||DateFormat._dateInstance.__lJ!=format){DateFormat._dateTimeInstance=new DateFormat();}return DateFormat._dateTimeInstance;},getDateInstance:function(){var DateFormat=qx.util.format.DateFormat;var format=qx.locale.Date.getDateFormat(SSSS_80)+SSSS_2;if(DateFormat._dateInstance==null||DateFormat._dateInstance.__lJ!=format){DateFormat._dateInstance=new DateFormat(format);}return DateFormat._dateInstance;},ASSUME_YEAR_2000_THRESHOLD:30,LOGGING_DATE_TIME__format:SSSS_78,AM_MARKER:"am",PM_MARKER:"pm",MEDIUM_TIMEZONE_NAMES:["GMT"],FULL_TIMEZONE_NAMES:["Greenwich Mean Time"]},members:{__lI:null,__lJ:null,__lK:null,__lL:null,__lM:null,__lN:function(number,minSize){var str=SSSS_2+number;while(str.length<minSize){str=SSSS_25+str;}return str;},__lO:function(date){var helpDate=new Date(date.getTime());var day=helpDate.getDate();while(helpDate.getMonth()!=0){helpDate.setDate(-1);day+=helpDate.getDate()+1;}return day;},__lP:function(date){return new Date(date.getTime()+(3-((date.getDay()+6)%7))*86400000);},__lQ:function(date){var thursdayDate=this.__lP(date);var weekYear=thursdayDate.getFullYear();var thursdayWeek1=this.__lP(new Date(weekYear,0,4));return Math.floor(1.5+(thursdayDate.getTime()-thursdayWeek1.getTime())/86400000/7);},format:function(date){if(date==null){return null;}var DateFormat=qx.util.format.DateFormat;var locale=this.__lI;var fullYear=date.getFullYear();var month=date.getMonth();var dayOfMonth=date.getDate();var dayOfWeek=date.getDay();var hours=date.getHours();var minutes=date.getMinutes();var seconds=date.getSeconds();var ms=date.getMilliseconds();var timezoneOffset=date.getTimezoneOffset();var timezoneSign=timezoneOffset>0?1:-1;var timezoneHours=Math.floor(Math.abs(timezoneOffset)/60);var timezoneMinutes=Math.abs(timezoneOffset)%60;this.__lR();var output=SSSS_2;for(var i=0;i<this.__lM.length;i++){var currAtom=this.__lM[i];if(currAtom.type==SSSS_11){output+=currAtom.text;}else{var wildcardChar=currAtom.character;var wildcardSize=currAtom.size;var replacement=SSSS_96;switch(wildcardChar){case SSSS_41:case SSSS_69:if(wildcardSize==2){replacement=this.__lN(fullYear%100,2);}else{replacement=fullYear+SSSS_2;if(wildcardSize>replacement.length){for(var i=replacement.length;i<wildcardSize;i++){replacement=SSSS_25+replacement;}}}break;case SSSS_70:replacement=this.__lN(this.__lO(date),wildcardSize);break;case SSSS_81:replacement=this.__lN(dayOfMonth,wildcardSize);break;case SSSS_93:replacement=this.__lN(this.__lQ(date),wildcardSize);break;case SSSS_97:if(wildcardSize==2){replacement=qx.locale.Date.getDayName(SSSS_16,dayOfWeek,locale,SSSS_1);}else if(wildcardSize==3){replacement=qx.locale.Date.getDayName(SSSS_3,dayOfWeek,locale,SSSS_1);}else if(wildcardSize==4){replacement=qx.locale.Date.getDayName(SSSS_4,dayOfWeek,locale,SSSS_1);}break;case SSSS_64:if(wildcardSize==2){replacement=qx.locale.Date.getDayName(SSSS_16,dayOfWeek,locale,SSSS_8);}else if(wildcardSize==3){replacement=qx.locale.Date.getDayName(SSSS_3,dayOfWeek,locale,SSSS_8);}else if(wildcardSize==4){replacement=qx.locale.Date.getDayName(SSSS_4,dayOfWeek,locale,SSSS_8);}break;case SSSS_87:if(wildcardSize==1||wildcardSize==2){replacement=this.__lN(month+1,wildcardSize);}else if(wildcardSize==3){replacement=qx.locale.Date.getMonthName(SSSS_3,month,locale,SSSS_1);}else if(wildcardSize==4){replacement=qx.locale.Date.getMonthName(SSSS_4,month,locale,SSSS_1);}break;case SSSS_35:if(wildcardSize==1||wildcardSize==2){replacement=this.__lN(month+1,wildcardSize);}else if(wildcardSize==3){replacement=qx.locale.Date.getMonthName(SSSS_3,month,locale,SSSS_8);}else if(wildcardSize==4){replacement=qx.locale.Date.getMonthName(SSSS_4,month,locale,SSSS_8);}break;case SSSS_19:replacement=(hours<12)?qx.locale.Date.getAmMarker(locale):qx.locale.Date.getPmMarker(locale);break;case SSSS_61:replacement=this.__lN(hours,wildcardSize);break;case SSSS_67:replacement=this.__lN((hours==0)?24:hours,wildcardSize);break;case SSSS_72:replacement=this.__lN(hours%12,wildcardSize);break;case SSSS_54:replacement=this.__lN(((hours%12)==0)?12:(hours%12),wildcardSize);break;case SSSS_83:replacement=this.__lN(minutes,wildcardSize);break;case SSSS_56:replacement=this.__lN(seconds,wildcardSize);break;case SSSS_62:replacement=this.__lN(ms,wildcardSize);break;case SSSS_24:if(wildcardSize==1){replacement=SSSS_45+((timezoneSign>0)?SSSS_17:SSSS_21)+this.__lN(Math.abs(timezoneHours))+SSSS_40+this.__lN(timezoneMinutes,2);}else if(wildcardSize==2){replacement=DateFormat.MEDIUM_TIMEZONE_NAMES[timezoneHours];}else if(wildcardSize==3){replacement=DateFormat.FULL_TIMEZONE_NAMES[timezoneHours];}break;case SSSS_28:replacement=((timezoneSign>0)?SSSS_17:SSSS_21)+this.__lN(Math.abs(timezoneHours),2)+this.__lN(timezoneMinutes,2);break;}output+=replacement;}}return output;},parse:function(dateStr){this.__lS();var hit=this.__lK.regex.exec(dateStr);if(hit==null){throw new Error("Date string '"+dateStr+"' does not match the date format: "+this.__lJ);}var dateValues={year:1970,month:0,day:1,hour:0,ispm:false,min:0,sec:0,ms:0};var currGroup=1;for(var i=0;i<this.__lK.usedRules.length;i++){var rule=this.__lK.usedRules[i];var value=hit[currGroup];if(rule.field!=null){dateValues[rule.field]=parseInt(value,10);}else{rule.manipulator(dateValues,value);}currGroup+=(rule.groups==null)?1:rule.groups;}var date=new Date(dateValues.year,dateValues.month,dateValues.day,(dateValues.ispm)?(dateValues.hour+12):dateValues.hour,dateValues.min,dateValues.sec,dateValues.ms);if(dateValues.month!=date.getMonth()||dateValues.year!=date.getFullYear()){throw new Error("Error parsing date '"+dateStr+"': the value for day or month is too large");}return date;},__lR:function(){if(this.__lM!=null){return;}this.__lM=[];var currWildcardChar;var currWildcardSize=0;var currLiteral=SSSS_2;var format=this.__lJ;var state=SSSS_10;var i=0;while(i<format.length){var currChar=format.charAt(i);switch(state){case SSSS_18:if(currChar==SSSS_12){if(i+1>=format.length){i++;break;}var lookAhead=format.charAt(i+1);if(lookAhead==SSSS_12){currLiteral+=currChar;i++;}else{i++;state=SSSS_82;}}else{currLiteral+=currChar;i++;}break;case SSSS_9:if(currChar==currWildcardChar){currWildcardSize++;i++;}else{this.__lM.push({type:SSSS_9,character:currWildcardChar,size:currWildcardSize});currWildcardChar=null;currWildcardSize=0;state=SSSS_10;}break;default:if((currChar>=SSSS_19&&currChar<=SSSS_24)||(currChar>=SSSS_57&&currChar<=SSSS_28)){currWildcardChar=currChar;state=SSSS_9;}else if(currChar==SSSS_12){if(i+1>=format.length){currLiteral+=currChar;i++;break;}var lookAhead=format.charAt(i+1);if(lookAhead==SSSS_12){currLiteral+=currChar;i++;}i++;state=SSSS_18;}else{state=SSSS_10;}if(state!=SSSS_10){if(currLiteral.length>0){this.__lM.push({type:SSSS_11,text:currLiteral});currLiteral=SSSS_2;}}else{currLiteral+=currChar;i++;}break;}}if(currWildcardChar!=null){this.__lM.push({type:SSSS_9,character:currWildcardChar,size:currWildcardSize});}else if(currLiteral.length>0){this.__lM.push({type:SSSS_11,text:currLiteral});}},__lS:function(){if(this.__lK!=null){return ;}var format=this.__lJ;this.__lT();this.__lR();var usedRules=[];var pattern=SSSS_39;for(var atomIdx=0;atomIdx<this.__lM.length;atomIdx++){var currAtom=this.__lM[atomIdx];if(currAtom.type==SSSS_11){pattern+=qx.lang.String.escapeRegexpChars(currAtom.text);}else{var wildcardChar=currAtom.character;var wildcardSize=currAtom.size;var wildcardRule;for(var ruleIdx=0;ruleIdx<this.__lL.length;ruleIdx++){var rule=this.__lL[ruleIdx];if(wildcardChar==rule.pattern.charAt(0)&&wildcardSize==rule.pattern.length){wildcardRule=rule;break;}}if(wildcardRule==null){var wildcardStr=SSSS_2;for(var i=0;i<wildcardSize;i++){wildcardStr+=wildcardChar;}throw new Error("Malformed date format: "+format+". Wildcard "+wildcardStr+" is not supported");}else{usedRules.push(wildcardRule);pattern+=wildcardRule.regex;}}}pattern+=SSSS_95;var regex;try{regex=new RegExp(pattern);}catch(exc){throw new Error("Malformed date format: "+format);}this.__lK={regex:regex,"usedRules":usedRules,pattern:pattern};},__lT:function(){var DateFormat=qx.util.format.DateFormat;var LString=qx.lang.String;if(this.__lL!=null){return ;}var rules=this.__lL=[];var yearManipulator=function(dateValues,value){value=parseInt(value,10);if(value<DateFormat.ASSUME_YEAR_2000_THRESHOLD){value+=2000;}else if(value<100){value+=1900;}dateValues.year=value;};var monthManipulator=function(dateValues,value){dateValues.month=parseInt(value,10)-1;};var ampmManipulator=function(dateValues,value){dateValues.ispm=(value==DateFormat.PM_MARKER);};var noZeroHourManipulator=function(dateValues,value){dateValues.hour=parseInt(value,10)%24;};var noZeroAmPmHourManipulator=function(dateValues,value){dateValues.hour=parseInt(value,10)%12;};var ignoreManipulator=function(dateValues,value){return;};var shortMonthNames=qx.locale.Date.getMonthNames(SSSS_3,this.__lI,SSSS_1);for(var i=0;i<shortMonthNames.length;i++){shortMonthNames[i]=LString.escapeRegexpChars(shortMonthNames[i].toString());}var shortMonthNamesManipulator=function(dateValues,value){value=LString.escapeRegexpChars(value);dateValues.month=shortMonthNames.indexOf(value);};var fullMonthNames=qx.locale.Date.getMonthNames(SSSS_4,this.__lI,SSSS_1);for(var i=0;i<fullMonthNames.length;i++){fullMonthNames[i]=LString.escapeRegexpChars(fullMonthNames[i].toString());}var fullMonthNamesManipulator=function(dateValues,value){value=LString.escapeRegexpChars(value);dateValues.month=fullMonthNames.indexOf(value);};var narrowDayNames=qx.locale.Date.getDayNames(SSSS_16,this.__lI,SSSS_1);for(var i=0;i<narrowDayNames.length;i++){narrowDayNames[i]=LString.escapeRegexpChars(narrowDayNames[i].toString());}var narrowDayNamesManipulator=function(dateValues,value){value=LString.escapeRegexpChars(value);dateValues.month=narrowDayNames.indexOf(value);};var abbrDayNames=qx.locale.Date.getDayNames(SSSS_3,this.__lI,SSSS_1);for(var i=0;i<abbrDayNames.length;i++){abbrDayNames[i]=LString.escapeRegexpChars(abbrDayNames[i].toString());}var abbrDayNamesManipulator=function(dateValues,value){value=LString.escapeRegexpChars(value);dateValues.month=abbrDayNames.indexOf(value);};var fullDayNames=qx.locale.Date.getDayNames(SSSS_4,this.__lI,SSSS_1);for(var i=0;i<fullDayNames.length;i++){fullDayNames[i]=LString.escapeRegexpChars(fullDayNames[i].toString());}var fullDayNamesManipulator=function(dateValues,value){value=LString.escapeRegexpChars(value);dateValues.month=fullDayNames.indexOf(value);};rules.push({pattern:SSSS_50,regex:SSSS_84,manipulator:yearManipulator});rules.push({pattern:SSSS_51,regex:SSSS_32,manipulator:yearManipulator});rules.push({pattern:SSSS_76,regex:SSSS_37,manipulator:yearManipulator});rules.push({pattern:SSSS_48,regex:SSSS_85,manipulator:yearManipulator});rules.push({pattern:SSSS_99,regex:SSSS_88,manipulator:yearManipulator});rules.push({pattern:SSSS_71,regex:SSSS_79,manipulator:yearManipulator});rules.push({pattern:SSSS_58,regex:SSSS_77,manipulator:yearManipulator});rules.push({pattern:SSSS_92,regex:SSSS_0,manipulator:monthManipulator});rules.push({pattern:SSSS_75,regex:SSSS_0,manipulator:monthManipulator});rules.push({pattern:SSSS_90,regex:SSSS_5+shortMonthNames.join(SSSS_7)+SSSS_6,manipulator:shortMonthNamesManipulator});rules.push({pattern:SSSS_63,regex:SSSS_5+fullMonthNames.join(SSSS_7)+SSSS_6,manipulator:fullMonthNamesManipulator});rules.push({pattern:SSSS_46,regex:SSSS_0,field:SSSS_27});rules.push({pattern:SSSS_65,regex:SSSS_0,field:SSSS_27});rules.push({pattern:SSSS_53,regex:SSSS_5+narrowDayNames.join(SSSS_7)+SSSS_6,manipulator:narrowDayNamesManipulator});rules.push({pattern:SSSS_94,regex:SSSS_5+abbrDayNames.join(SSSS_7)+SSSS_6,manipulator:abbrDayNamesManipulator});rules.push({pattern:SSSS_38,regex:SSSS_5+fullDayNames.join(SSSS_7)+SSSS_6,manipulator:fullDayNamesManipulator});rules.push({pattern:SSSS_43,regex:SSSS_5+DateFormat.AM_MARKER+SSSS_7+DateFormat.PM_MARKER+SSSS_6,manipulator:ampmManipulator});rules.push({pattern:SSSS_52,regex:SSSS_0,field:SSSS_13});rules.push({pattern:SSSS_49,regex:SSSS_0,field:SSSS_13});rules.push({pattern:SSSS_59,regex:SSSS_0,manipulator:noZeroHourManipulator});rules.push({pattern:SSSS_86,regex:SSSS_0,manipulator:noZeroHourManipulator});rules.push({pattern:SSSS_34,regex:SSSS_0,field:SSSS_13});rules.push({pattern:SSSS_42,regex:SSSS_0,field:SSSS_13});rules.push({pattern:SSSS_73,regex:SSSS_0,manipulator:noZeroAmPmHourManipulator});rules.push({pattern:SSSS_33,regex:SSSS_0,manipulator:noZeroAmPmHourManipulator});rules.push({pattern:SSSS_31,regex:SSSS_0,field:SSSS_30});rules.push({pattern:SSSS_68,regex:SSSS_0,field:SSSS_30});rules.push({pattern:SSSS_60,regex:SSSS_0,field:SSSS_26});rules.push({pattern:SSSS_91,regex:SSSS_0,field:SSSS_26});rules.push({pattern:SSSS_74,regex:SSSS_14,field:SSSS_15});rules.push({pattern:SSSS_89,regex:SSSS_14,field:SSSS_15});rules.push({pattern:SSSS_55,regex:SSSS_14,field:SSSS_15});rules.push({pattern:SSSS_36,regex:SSSS_44,manipulator:ignoreManipulator});rules.push({pattern:SSSS_98,regex:SSSS_66,manipulator:ignoreManipulator});}},destruct:function(){this.__lM=this.__lK=this.__lL=null;}});})();(function(){var SSSS_0="selected",SSSS_1="click",SSSS_2="last-month-button",SSSS_3="default",SSSS_4="next-month-button",SSSS_5="otherMonth",SSSS_6="month-year-label",SSSS_7="last-year-button",SSSS_8="navigation-bar",SSSS_9="next-year-button",SSSS_10="date-pane",SSSS_11="PageUp",SSSS_12="mousedown",SSSS_13="today",SSSS_14="Integer",SSSS_15="PageDown",SSSS_16="changeLocale",SSSS_17="next-month-button-tooltip",SSSS_18="last-month-button-tooltip",SSSS_19="qx.dynlocale",SSSS_20="last-year-button-tooltip",SSSS_21="next-year-button-tooltip",SSSS_22="on",SSSS_23="weekend",SSSS_24="day",SSSS_25="lastMonth",SSSS_26="Next month",SSSS_27="Escape",SSSS_28="Left",SSSS_29="weekday",SSSS_30="changeValue",SSSS_31="Space",SSSS_32="Down",SSSS_33="qx.ui.control.DateChooser",SSSS_34="Date",SSSS_35="Enter",SSSS_36="dblclick",SSSS_37="day#",SSSS_38="Next year",SSSS_39="ww",SSSS_40="_applyValue",SSSS_41="Up",SSSS_42="weekday#",SSSS_43="datechooser",SSSS_44="header",SSSS_45="week",SSSS_46="lastYear",SSSS_47="nextYear",SSSS_48="changeShownYear",SSSS_49="week#",SSSS_50="Last month",SSSS_51="Right",SSSS_52="Last year",SSSS_53="EE",SSSS_54="mouseup",SSSS_55="keypress",SSSS_56="",SSSS_57="nextMonth",SSSS_58="week#0",SSSS_59="changeShownMonth";qx.Class.define(SSSS_33,{extend:qx.ui.core.Widget,include:[qx.ui.core.MExecutable,qx.ui.form.MForm],implement:[qx.ui.form.IExecutable,qx.ui.form.IForm,qx.ui.form.IDateForm],construct:function(date){arguments.callee.base.call(this);var layout=new qx.ui.layout.VBox();this._setLayout(layout);this._createChildControl(SSSS_8);this._createChildControl(SSSS_10);this.addListener(SSSS_55,this._onKeyPress);var shownDate=(date!=null)?date:new Date();this.showMonth(shownDate.getMonth(),shownDate.getFullYear());if(qx.core.Variant.isSet(SSSS_19,SSSS_22)){qx.locale.Manager.getInstance().addListener(SSSS_16,this._updateDatePane,this);}this.addListener(SSSS_12,this._onMouseUpDown,this);this.addListener(SSSS_54,this._onMouseUpDown,this);},statics:{MONTH_YEAR_FORMAT:qx.locale.Date.getDateTimeFormat("yyyyMMMM","MMMM yyyy")},properties:{appearance:{refine:true,init:SSSS_43},width:{refine:true,init:200},height:{refine:true,init:150},shownMonth:{check:SSSS_14,init:null,nullable:true,event:SSSS_59},shownYear:{check:SSSS_14,init:null,nullable:true,event:SSSS_48},value:{check:SSSS_34,init:null,nullable:true,event:SSSS_30,apply:SSSS_40}},members:{__lU:null,__lV:null,__lW:null,_forwardStates:{invalid:true},_createChildControlImpl:function(id){var control;switch(id){case SSSS_8:control=new qx.ui.container.Composite(new qx.ui.layout.HBox());control.add(this.getChildControl(SSSS_7));control.add(this.getChildControl(SSSS_2));control.add(this.getChildControl(SSSS_6),{flex:1});control.add(this.getChildControl(SSSS_4));control.add(this.getChildControl(SSSS_9));this._add(control);break;case SSSS_20:control=new qx.ui.tooltip.ToolTip(this.tr(SSSS_52));break;case SSSS_7:control=new qx.ui.form.Button();control.addState(SSSS_46);control.setFocusable(false);control.setToolTip(this.getChildControl(SSSS_20));control.addListener(SSSS_1,this._onNavButtonClicked,this);break;case SSSS_18:control=new qx.ui.tooltip.ToolTip(this.tr(SSSS_50));break;case SSSS_2:control=new qx.ui.toolbar.Button();control.addState(SSSS_25);control.setFocusable(false);control.setToolTip(this.getChildControl(SSSS_18));control.addListener(SSSS_1,this._onNavButtonClicked,this);break;case SSSS_17:control=new qx.ui.tooltip.ToolTip(this.tr(SSSS_26));break;case SSSS_4:control=new qx.ui.toolbar.Button();control.addState(SSSS_57);control.setFocusable(false);control.setToolTip(this.getChildControl(SSSS_17));control.addListener(SSSS_1,this._onNavButtonClicked,this);break;case SSSS_21:control=new qx.ui.tooltip.ToolTip(this.tr(SSSS_38));break;case SSSS_9:control=new qx.ui.toolbar.Button();control.addState(SSSS_47);control.setFocusable(false);control.setToolTip(this.getChildControl(SSSS_21));control.addListener(SSSS_1,this._onNavButtonClicked,this);break;case SSSS_6:control=new qx.ui.basic.Label();control.setAllowGrowX(true);control.setAnonymous(true);break;case SSSS_45:control=new qx.ui.basic.Label();control.setAllowGrowX(true);control.setAllowGrowY(true);control.setSelectable(false);control.setAnonymous(true);control.setCursor(SSSS_3);break;case SSSS_29:control=new qx.ui.basic.Label();control.setAllowGrowX(true);control.setAllowGrowY(true);control.setSelectable(false);control.setAnonymous(true);control.setCursor(SSSS_3);break;case SSSS_24:control=new qx.ui.basic.Label();control.setAllowGrowX(true);control.setAllowGrowY(true);control.setCursor(SSSS_3);control.addListener(SSSS_12,this._onDayClicked,this);control.addListener(SSSS_36,this._onDayDblClicked,this);break;case SSSS_10:var controlLayout=new qx.ui.layout.Grid();control=new qx.ui.container.Composite(controlLayout);for(var i=0;i<8;i++){controlLayout.setColumnFlex(i,1);}for(var i=0;i<7;i++){controlLayout.setRowFlex(i,1);}var label=this.getChildControl(SSSS_58);label.addState(SSSS_44);control.add(label,{column:0,row:0});this.__lU=[];for(var i=0;i<7;i++){label=this.getChildControl(SSSS_42+i);control.add(label,{column:i+1,row:0});this.__lU.push(label);}this.__lV=[];this.__lW=[];for(var y=0;y<6;y++){var label=this.getChildControl(SSSS_49+(y+1));control.add(label,{column:0,row:y+1});this.__lW.push(label);for(var x=0;x<7;x++){var label=this.getChildControl(SSSS_37+((y*7)+x));control.add(label,{column:x+1,row:y+1});this.__lV.push(label);}}this._add(control);break;}return control||arguments.callee.base.call(this,id);},_applyValue:function(value,old){if((value!=null)&&(this.getShownMonth()!=value.getMonth()||this.getShownYear()!=value.getFullYear())){this.showMonth(value.getMonth(),value.getFullYear());}else{var newDay=(value==null)?-1:value.getDate();for(var i=0;i<6*7;i++){var dayLabel=this.__lV[i];if(dayLabel.hasState(SSSS_5)){if(dayLabel.hasState(SSSS_0)){dayLabel.removeState(SSSS_0);}}else{var day=parseInt(dayLabel.getValue());if(day==newDay){dayLabel.addState(SSSS_0);}else if(dayLabel.hasState(SSSS_0)){dayLabel.removeState(SSSS_0);}}}}},_onMouseUpDown:function(e){var target=e.getTarget();if(target==this.getChildControl(SSSS_8)||target==this.getChildControl(SSSS_10)){e.stopPropagation();return;}},_onNavButtonClicked:function(evt){var year=this.getShownYear();var month=this.getShownMonth();switch(evt.getCurrentTarget()){case this.getChildControl(SSSS_7):year--;break;case this.getChildControl(SSSS_2):month--;if(month<0){month=11;year--;}break;case this.getChildControl(SSSS_4):month++;if(month>=12){month=0;year++;}break;case this.getChildControl(SSSS_9):year++;break;}this.showMonth(month,year);},_onDayClicked:function(evt){var time=evt.getCurrentTarget().dateTime;this.setValue(new Date(time));},_onDayDblClicked:function(){this.execute();},_onKeyPress:function(evt){var dayIncrement=null;var monthIncrement=null;var yearIncrement=null;if(evt.getModifiers()==0){switch(evt.getKeyIdentifier()){case SSSS_28:dayIncrement=-1;break;case SSSS_51:dayIncrement=1;break;case SSSS_41:dayIncrement=-7;break;case SSSS_32:dayIncrement=7;break;case SSSS_11:monthIncrement=-1;break;case SSSS_15:monthIncrement=1;break;case SSSS_27:if(this.getValue()!=null){this.setValue(null);return true;}break;case SSSS_35:case SSSS_31:if(this.getValue()!=null){this.execute();}return;}}else if(evt.isShiftPressed()){switch(evt.getKeyIdentifier()){case SSSS_11:yearIncrement=-1;break;case SSSS_15:yearIncrement=1;break;}}if(dayIncrement!=null||monthIncrement!=null||yearIncrement!=null){var date=this.getValue();if(date!=null){date=new Date(date.getTime());}if(date==null){date=new Date();}else{if(dayIncrement!=null){date.setDate(date.getDate()+dayIncrement);}if(monthIncrement!=null){date.setMonth(date.getMonth()+monthIncrement);}if(yearIncrement!=null){date.setFullYear(date.getFullYear()+yearIncrement);}}this.setValue(date);}},showMonth:function(month,year){if((month!=null&&month!=this.getShownMonth())||(year!=null&&year!=this.getShownYear())){if(month!=null){this.setShownMonth(month);}if(year!=null){this.setShownYear(year);}this._updateDatePane();}},handleKeyPress:function(e){this._onKeyPress(e);},_updateDatePane:function(){var DateChooser=qx.ui.control.DateChooser;var today=new Date();var todayYear=today.getFullYear();var todayMonth=today.getMonth();var todayDayOfMonth=today.getDate();var selDate=this.getValue();var selYear=(selDate==null)?-1:selDate.getFullYear();var selMonth=(selDate==null)?-1:selDate.getMonth();var selDayOfMonth=(selDate==null)?-1:selDate.getDate();var shownMonth=this.getShownMonth();var shownYear=this.getShownYear();var startOfWeek=qx.locale.Date.getWeekStart();var helpDate=new Date(this.getShownYear(),this.getShownMonth(),1);var monthYearFormat=new qx.util.format.DateFormat(DateChooser.MONTH_YEAR_FORMAT);this.getChildControl(SSSS_6).setValue(monthYearFormat.format(helpDate));var firstDayOfWeek=helpDate.getDay();var firstSundayInMonth=1+((7-firstDayOfWeek)%7);var weekDayFormat=new qx.util.format.DateFormat(SSSS_53);for(var i=0;i<7;i++){var day=(i+startOfWeek)%7;var dayLabel=this.__lU[i];helpDate.setDate(firstSundayInMonth+day);dayLabel.setValue(weekDayFormat.format(helpDate));if(qx.locale.Date.isWeekend(day)){dayLabel.addState(SSSS_23);}else{dayLabel.removeState(SSSS_23);}}helpDate=new Date(shownYear,shownMonth,1,12,0,0);var nrDaysOfLastMonth=(7+firstDayOfWeek-startOfWeek)%7;helpDate.setDate(helpDate.getDate()-nrDaysOfLastMonth);var weekFormat=new qx.util.format.DateFormat(SSSS_39);for(var week=0;week<6;week++){this.__lW[week].setValue(weekFormat.format(helpDate));for(var i=0;i<7;i++){var dayLabel=this.__lV[week*7+i];var year=helpDate.getFullYear();var month=helpDate.getMonth();var dayOfMonth=helpDate.getDate();var isSelectedDate=(selYear==year&&selMonth==month&&selDayOfMonth==dayOfMonth);if(isSelectedDate){dayLabel.addState(SSSS_0);}else{dayLabel.removeState(SSSS_0);}if(month!=shownMonth){dayLabel.addState(SSSS_5);}else{dayLabel.removeState(SSSS_5);}var isToday=(year==todayYear&&month==todayMonth&&dayOfMonth==todayDayOfMonth);if(isToday){dayLabel.addState(SSSS_13);}else{dayLabel.removeState(SSSS_13);}dayLabel.setValue(SSSS_56+dayOfMonth);dayLabel.dateTime=helpDate.getTime();helpDate.setDate(helpDate.getDate()+1);}}monthYearFormat.dispose();weekDayFormat.dispose();weekFormat.dispose();}},destruct:function(){if(qx.core.Variant.isSet(SSSS_19,SSSS_22)){qx.locale.Manager.getInstance().removeListener(SSSS_16,this._updateDatePane,this);}this.__lU=this.__lV=this.__lW=null;}});})();(function(){var SSSS_0="atom",SSSS_1="Integer",SSSS_2="String",SSSS_3="_applyRich",SSSS_4="qx.ui.tooltip.ToolTip",SSSS_5="_applyIcon",SSSS_6="tooltip",SSSS_7="qx.ui.core.Widget",SSSS_8="mouseover",SSSS_9="Boolean",SSSS_10="_applyLabel";qx.Class.define(SSSS_4,{extend:qx.ui.popup.Popup,construct:function(label,icon){arguments.callee.base.call(this);this.setLayout(new qx.ui.layout.Grow);this._createChildControl(SSSS_0);if(label!=null){this.setLabel(label);}if(icon!=null){this.setIcon(icon);}this.addListener(SSSS_8,this._onMouseOver,this);},properties:{appearance:{refine:true,init:SSSS_6},showTimeout:{check:SSSS_1,init:700,themeable:true},hideTimeout:{check:SSSS_1,init:4000,themeable:true},label:{check:SSSS_2,nullable:true,apply:SSSS_10},icon:{check:SSSS_2,nullable:true,apply:SSSS_5,themeable:true},rich:{check:SSSS_9,init:false,apply:SSSS_3},opener:{check:SSSS_7,nullable:true}},members:{_createChildControlImpl:function(id){var control;switch(id){case SSSS_0:control=new qx.ui.basic.Atom;this._add(control);break;}return control||arguments.callee.base.call(this,id);},_onMouseOver:function(e){this.hide();},_applyIcon:function(value,old){var atom=this.getChildControl(SSSS_0);value==null?atom.resetIcon:atom.setIcon(value);},_applyLabel:function(value,old){var atom=this.getChildControl(SSSS_0);value==null?atom.resetLabel():atom.setLabel(value);},_applyRich:function(value,old){var atom=this.getChildControl(SSSS_0);atom.setRich(value);}}});})();(function(){var SSSS_0="inherit",SSSS_1="toolbar-button",SSSS_2="keydown",SSSS_3="qx.ui.toolbar.Button",SSSS_4="keyup";qx.Class.define(SSSS_3,{extend:qx.ui.form.Button,construct:function(label,icon,command){arguments.callee.base.call(this,label,icon,command);this.removeListener(SSSS_2,this._onKeyDown);this.removeListener(SSSS_4,this._onKeyUp);},properties:{appearance:{refine:true,init:SSSS_1},show:{refine:true,init:SSSS_0},focusable:{refine:true,init:false}}});})();(function(){var SSSS_0="object",SSSS_1="qx.debug",SSSS_2="Theme",SSSS_3="widgets",SSSS_4="undefined",SSSS_5="fonts",SSSS_6="string",SSSS_7="colors",SSSS_8="decorations",SSSS_9="on",SSSS_10="meta",SSSS_11="appearances",SSSS_12="borders",SSSS_13="icons",SSSS_14="other",SSSS_15="qx.Theme",SSSS_16="]",SSSS_17="[Theme ";qx.Bootstrap.define(SSSS_15,{statics:{define:function(name,config){if(!config){var config={};}config.include=this.__lX(config.include);config.patch=this.__lX(config.patch);if(qx.core.Variant.isSet(SSSS_1,SSSS_9)){this.__mf(name,config);}var theme={$$type:SSSS_2,name:name,title:config.title,toString:this.genericToString};if(config.extend){theme.supertheme=config.extend;}theme.basename=qx.Bootstrap.createNamespace(name,theme);this.__mb(theme,config);this.__lY(theme,config);this.$$registry[name]=theme;for(var i=0,a=config.include,l=a.length;i<l;i++){this.include(theme,a[i]);}for(var i=0,a=config.patch,l=a.length;i<l;i++){this.patch(theme,a[i]);}},__lX:function(objectOrArray){if(!objectOrArray){return [];}if(qx.Bootstrap.isArray(objectOrArray)){return objectOrArray;}else{return [objectOrArray];}},__lY:function(theme,config){var aliases=config.aliases||{};if(config.extend&&config.extend.aliases){qx.Bootstrap.objectMergeWith(aliases,config.extend.aliases,false);}theme.aliases=aliases;},getAll:function(){return this.$$registry;},getByName:function(name){return this.$$registry[name];},isDefined:function(name){return this.getByName(name)!==undefined;},getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry);},genericToString:function(){return SSSS_17+this.name+SSSS_16;},__ma:function(config){for(var i=0,keys=this.__mc,l=keys.length;i<l;i++){if(config[keys[i]]){return keys[i];}}},__mb:function(theme,config){var type=this.__ma(config);if(config.extend&&!type){type=config.extend.type;}theme.type=type||SSSS_14;if(!type){return;}var clazz=function(){};if(config.extend){clazz.prototype=new config.extend.$$clazz;}var target=clazz.prototype;var source=config[type];for(var id in source){target[id]=source[id];if(target[id].base){if(qx.core.Variant.isSet(SSSS_1,SSSS_9)){if(!config.extend){throw new Error("Found base flag in entry '"+id+"' of theme '"+config.name+"'. Base flags are not allowed for themes without a valid super theme!");}}target[id].base=config.extend;}}theme.$$clazz=clazz;theme[type]=new clazz;},$$registry:{},__mc:[SSSS_7,SSSS_12,SSSS_8,SSSS_5,SSSS_13,SSSS_3,SSSS_11,SSSS_10],__md:qx.core.Variant.select(SSSS_1,{"on":{"title":SSSS_6,"aliases":SSSS_0,"type":SSSS_6,"extend":SSSS_0,"colors":SSSS_0,"borders":SSSS_0,"decorations":SSSS_0,"fonts":SSSS_0,"icons":SSSS_0,"widgets":SSSS_0,"appearances":SSSS_0,"meta":SSSS_0,"include":SSSS_0,"patch":SSSS_0},"default":null}),__me:qx.core.Variant.select(SSSS_1,{"on":{"color":SSSS_0,"border":SSSS_0,"decoration":SSSS_0,"font":SSSS_0,"icon":SSSS_0,"appearance":SSSS_0,"widget":SSSS_0},"default":null}),__mf:qx.core.Variant.select(SSSS_1,{"on":function(name,config){var allowed=this.__md;for(var key in config){if(allowed[key]===undefined){throw new Error('The configuration key "'+key+'" in theme "'+name+'" is not allowed!');}if(config[key]==null){throw new Error('Invalid key "'+key+'" in theme "'+name+'"! The value is undefined/null!');}if(allowed[key]!==null&&typeof config[key]!==allowed[key]){throw new Error('Invalid type of key "'+key+'" in theme "'+name+'"! The type of the key must be "'+allowed[key]+'"!');}}var maps=[SSSS_7,SSSS_12,SSSS_8,SSSS_5,SSSS_13,SSSS_3,SSSS_11,SSSS_10];for(var i=0,l=maps.length;i<l;i++){var key=maps[i];if(config[key]!==undefined&&(config[key] instanceof Array||config[key] instanceof RegExp||config[key] instanceof Date||config[key].classname!==undefined)){throw new Error('Invalid key "'+key+'" in theme "'+name+'"! The value needs to be a map!');}}var counter=0;for(var i=0,l=maps.length;i<l;i++){var key=maps[i];if(config[key]){counter++;}if(counter>1){throw new Error("You can only define one theme category per file! Invalid theme: "+name);}}if(!config.extend&&counter===0){throw new Error("You must define at least one entry in your theme configuration :"+name);}if(config.meta){var value;for(var key in config.meta){value=config.meta[key];if(this.__me[key]===undefined){throw new Error('The key "'+key+'" is not allowed inside a meta theme block.');}if(typeof value!==this.__me[key]){throw new Error('The type of the key "'+key+'" inside the meta block is wrong.');}if(!(typeof value===SSSS_0&&value!==null&&value.$$type===SSSS_2)){throw new Error('The content of a meta theme must reference to other themes. The value for "'+key+'" in theme "'+name+'" is invalid: '+value);}}}if(config.extend&&config.extend.$$type!==SSSS_2){throw new Error('Invalid extend in theme "'+name+'": '+config.extend);}if(config.include){for(var i=0,l=config.include.length;i<l;i++){if(typeof (config.include[i])==SSSS_4||config.include[i].$$type!==SSSS_2){throw new Error('Invalid include in theme "'+name+'": '+config.include[i]);}}}if(config.patch){for(var i=0,l=config.patch.length;i<l;i++){if(typeof (config.patch[i])==SSSS_4||config.patch[i].$$type!==SSSS_2){throw new Error('Invalid patch in theme "'+name+'": '+config.patch[i]);}}}},"default":function(){}}),patch:function(theme,mixinTheme){var type=this.__ma(mixinTheme);if(type!==this.__ma(theme)){throw new Error("The mixins '"+theme.name+"' are not compatible '"+mixinTheme.name+"'!");}var source=mixinTheme[type];var target=theme.$$clazz.prototype;for(var key in source){target[key]=source[key];}},include:function(theme,mixinTheme){var type=mixinTheme.type;if(type!==theme.type){throw new Error("The mixins '"+theme.name+"' are not compatible '"+mixinTheme.name+"'!");}var source=mixinTheme[type];var target=theme.$$clazz.prototype;for(var key in source){if(target[key]!==undefined){continue;}target[key]=source[key];}}}});})();(function(){var SSSS_0="Number",SSSS_1="_applyInsets",SSSS_2="abstract",SSSS_3="insetRight",SSSS_4="insetTop",SSSS_5="qx.debug",SSSS_6="insetBottom",SSSS_7="qx.ui.decoration.Abstract",SSSS_8="shorthand",SSSS_9="on",SSSS_10="insetLeft";qx.Class.define(SSSS_7,{extend:qx.core.Object,implement:[qx.ui.decoration.IDecorator],type:SSSS_2,properties:{insetLeft:{check:SSSS_0,nullable:true,apply:SSSS_1},insetRight:{check:SSSS_0,nullable:true,apply:SSSS_1},insetBottom:{check:SSSS_0,nullable:true,apply:SSSS_1},insetTop:{check:SSSS_0,nullable:true,apply:SSSS_1},insets:{group:[SSSS_4,SSSS_3,SSSS_6,SSSS_10],mode:SSSS_8}},members:{__mg:null,_getDefaultInsets:function(){throw new Error("Abstract method called.");},_isInitialized:function(){throw new Error("Abstract method called.");},_resetInsets:function(){this.__mg=null;},getInsets:function(){if(this.__mg){return this.__mg;}var defaults=this._getDefaultInsets();return this.__mg={left:this.getInsetLeft()==null?defaults.left:this.getInsetLeft(),right:this.getInsetRight()==null?defaults.right:this.getInsetRight(),bottom:this.getInsetBottom()==null?defaults.bottom:this.getInsetBottom(),top:this.getInsetTop()==null?defaults.top:this.getInsetTop()};},_applyInsets:function(){if(qx.core.Variant.isSet(SSSS_5,SSSS_9)){if(this._isInitialized()){throw new Error("This decorator is already in-use. Modification is not possible anymore!");}}this.__mg=null;}},destruct:function(){this.__mg=null;}});})();(function(){var SSSS_0="_applyBackground",SSSS_1="repeat",SSSS_2="qx.debug",SSSS_3="on",SSSS_4="mshtml",SSSS_5="backgroundPositionX",SSSS_6="",SSSS_7="backgroundPositionY",SSSS_8="hidden",SSSS_9="no-repeat",SSSS_10="scale",SSSS_11=" ",SSSS_12="repeat-x",SSSS_13="qx.client",SSSS_14="repeat-y",SSSS_15="Please provide a map for the 'styles' parameter",SSSS_16="qx.ui.decoration.MBackgroundImage",SSSS_17="String",SSSS_18='"></div>',SSSS_19='<div style="';qx.Mixin.define(SSSS_16,{properties:{backgroundImage:{check:SSSS_17,nullable:true,apply:SSSS_0},backgroundRepeat:{check:[SSSS_1,SSSS_12,SSSS_14,SSSS_9,SSSS_10],init:SSSS_1,apply:SSSS_0},backgroundPositionX:{nullable:true,apply:SSSS_0},backgroundPositionY:{nullable:true,apply:SSSS_0},backgroundPosition:{group:[SSSS_7,SSSS_5]}},members:{_generateBackgroundMarkup:function(styles){if(qx.core.Variant.isSet(SSSS_2,SSSS_3)){if(qx.lang.Type.isString(styles)){qx.log.Logger.deprecatedWarning(arguments.callee,SSSS_15);throw new Error("Wrong type for parameter 'styles'.");}}var markup=SSSS_6;var image=this.getBackgroundImage();var repeat=this.getBackgroundRepeat();var top=this.getBackgroundPositionY();if(top==null){top=0;}var left=this.getBackgroundPositionX();if(left==null){left=0;}styles.backgroundPosition=left+SSSS_11+top;if(image){var resolved=qx.util.AliasManager.getInstance().resolve(image);markup=qx.bom.element.Decoration.create(resolved,repeat,styles);}else{if(styles){if(qx.core.Variant.isSet(SSSS_13,SSSS_4)){if(qx.bom.client.Engine.VERSION<7||qx.bom.client.Feature.QUIRKS_MODE){styles.overflow=SSSS_8;}}markup=SSSS_19+qx.bom.element.Style.compile(styles)+SSSS_18;}}return markup;},_applyBackground:function(){if(qx.core.Variant.isSet(SSSS_2,SSSS_3)){if(this._isInitialized()){throw new Error("This decorator is already in-use. Modification is not possible anymore!");}}}}});})();(function(){var SSSS_0="qx.debug",SSSS_1="_applyStyle",SSSS_2="on",SSSS_3="Color",SSSS_4="px",SSSS_5="solid",SSSS_6="dotted",SSSS_7="double",SSSS_8="dashed",SSSS_9="",SSSS_10="_applyWidth",SSSS_11="qx.ui.decoration.Uniform",SSSS_12="px ",SSSS_13=" ",SSSS_14="scale",SSSS_15="PositiveInteger",SSSS_16="absolute";qx.Class.define(SSSS_11,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage],construct:function(width,style,color){arguments.callee.base.call(this);if(width!=null){this.setWidth(width);}if(style!=null){this.setStyle(style);}if(color!=null){this.setColor(color);}},properties:{width:{check:SSSS_15,init:0,apply:SSSS_10},style:{nullable:true,check:[SSSS_5,SSSS_6,SSSS_8,SSSS_7],init:SSSS_5,apply:SSSS_1},color:{nullable:true,check:SSSS_3,apply:SSSS_1},backgroundColor:{check:SSSS_3,nullable:true,apply:SSSS_1}},members:{__mh:null,_getDefaultInsets:function(){var width=this.getWidth();return {top:width,right:width,bottom:width,left:width};},_isInitialized:function(){return !!this.__mh;},getMarkup:function(){if(this.__mh){return this.__mh;}var styles={position:SSSS_16,top:0,left:0};var width=this.getWidth();if(qx.core.Variant.isSet(SSSS_0,SSSS_2)){if(width===0){throw new Error("Invalid Uniform decorator (zero border width). Use qx.ui.decorator.Background instead!");}}var Color=qx.theme.manager.Color.getInstance();styles.border=width+SSSS_12+this.getStyle()+SSSS_13+Color.resolve(this.getColor());var html=this._generateBackgroundMarkup(styles);return this.__mh=html;},resize:function(element,width,height){var scaledImage=this.getBackgroundImage()&&this.getBackgroundRepeat()==SSSS_14;if(scaledImage||qx.bom.client.Feature.CONTENT_BOX){var inset=this.getWidth()*2;width-=inset;height-=inset;if(width<0){width=0;}if(height<0){height=0;}}element.style.width=width+SSSS_4;element.style.height=height+SSSS_4;},tint:function(element,bgcolor){var Color=qx.theme.manager.Color.getInstance();if(bgcolor==null){bgcolor=this.getBackgroundColor();}element.style.backgroundColor=Color.resolve(bgcolor)||SSSS_9;},_applyWidth:function(){if(qx.core.Variant.isSet(SSSS_0,SSSS_2)){if(this.__mh){throw new Error("This decorator is already in-use. Modification is not possible anymore!");}}this._resetInsets();},_applyStyle:function(){if(qx.core.Variant.isSet(SSSS_0,SSSS_2)){if(this.__mh){throw new Error("This decorator is already in-use. Modification is not possible anymore!");}}}},destruct:function(){this.__mh=null;}});})();(function(){var SSSS_0="px",SSSS_1="qx.ui.decoration.Background",SSSS_2="",SSSS_3="qx.debug",SSSS_4="_applyStyle",SSSS_5="on",SSSS_6="Color",SSSS_7="absolute";qx.Class.define(SSSS_1,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage],construct:function(backgroundColor){arguments.callee.base.call(this);if(backgroundColor!=null){this.setBackgroundColor(backgroundColor);}},properties:{backgroundColor:{check:SSSS_6,nullable:true,apply:SSSS_4}},members:{__mi:null,_getDefaultInsets:function(){return {top:0,right:0,bottom:0,left:0};},_isInitialized:function(){return !!this.__mi;},getMarkup:function(){if(this.__mi){return this.__mi;}var styles={position:SSSS_7,top:0,left:0};var html=this._generateBackgroundMarkup(styles);return this.__mi=html;},resize:function(element,width,height){element.style.width=width+SSSS_0;element.style.height=height+SSSS_0;},tint:function(element,bgcolor){var Color=qx.theme.manager.Color.getInstance();if(bgcolor==null){bgcolor=this.getBackgroundColor();}element.style.backgroundColor=Color.resolve(bgcolor)||SSSS_2;},_applyStyle:function(){if(qx.core.Variant.isSet(SSSS_3,SSSS_5)){if(this._isInitialized()){throw new Error("This decorator is already in-use. Modification is not possible anymore!");}}}},destruct:function(){this.__mi=null;}});})();(function(){var SSSS_0="_applyStyle",SSSS_1="solid",SSSS_2="Color",SSSS_3="double",SSSS_4="px ",SSSS_5="dotted",SSSS_6="_applyWidth",SSSS_7="dashed",SSSS_8="Number",SSSS_9=" ",SSSS_10="qx.debug",SSSS_11="shorthand",SSSS_12="on",SSSS_13="px",SSSS_14="widthTop",SSSS_15="styleRight",SSSS_16="styleLeft",SSSS_17="widthLeft",SSSS_18="widthBottom",SSSS_19="styleTop",SSSS_20="colorBottom",SSSS_21="styleBottom",SSSS_22="widthRight",SSSS_23="colorLeft",SSSS_24="colorRight",SSSS_25="colorTop",SSSS_26="scale",SSSS_27="border-top",SSSS_28="border-left",SSSS_29="border-right",SSSS_30="qx.ui.decoration.Single",SSSS_31="",SSSS_32="border-bottom",SSSS_33="absolute";qx.Class.define(SSSS_30,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage],construct:function(width,style,color){arguments.callee.base.call(this);if(width!=null){this.setWidth(width);}if(style!=null){this.setStyle(style);}if(color!=null){this.setColor(color);}},properties:{widthTop:{check:SSSS_8,init:0,apply:SSSS_6},widthRight:{check:SSSS_8,init:0,apply:SSSS_6},widthBottom:{check:SSSS_8,init:0,apply:SSSS_6},widthLeft:{check:SSSS_8,init:0,apply:SSSS_6},styleTop:{nullable:true,check:[SSSS_1,SSSS_5,SSSS_7,SSSS_3],init:SSSS_1,apply:SSSS_0},styleRight:{nullable:true,check:[SSSS_1,SSSS_5,SSSS_7,SSSS_3],init:SSSS_1,apply:SSSS_0},styleBottom:{nullable:true,check:[SSSS_1,SSSS_5,SSSS_7,SSSS_3],init:SSSS_1,apply:SSSS_0},styleLeft:{nullable:true,check:[SSSS_1,SSSS_5,SSSS_7,SSSS_3],init:SSSS_1,apply:SSSS_0},colorTop:{nullable:true,check:SSSS_2,apply:SSSS_0},colorRight:{nullable:true,check:SSSS_2,apply:SSSS_0},colorBottom:{nullable:true,check:SSSS_2,apply:SSSS_0},colorLeft:{nullable:true,check:SSSS_2,apply:SSSS_0},backgroundColor:{check:SSSS_2,nullable:true,apply:SSSS_0},left:{group:[SSSS_17,SSSS_16,SSSS_23]},right:{group:[SSSS_22,SSSS_15,SSSS_24]},top:{group:[SSSS_14,SSSS_19,SSSS_25]},bottom:{group:[SSSS_18,SSSS_21,SSSS_20]},width:{group:[SSSS_14,SSSS_22,SSSS_18,SSSS_17],mode:SSSS_11},style:{group:[SSSS_19,SSSS_15,SSSS_21,SSSS_16],mode:SSSS_11},color:{group:[SSSS_25,SSSS_24,SSSS_20,SSSS_23],mode:SSSS_11}},members:{__mj:null,_getDefaultInsets:function(){return {top:this.getWidthTop(),right:this.getWidthRight(),bottom:this.getWidthBottom(),left:this.getWidthLeft()};},_isInitialized:function(){return !!this.__mj;},getMarkup:function(element){if(this.__mj){return this.__mj;}var Color=qx.theme.manager.Color.getInstance();var styles={};var width=this.getWidthTop();if(width>0){styles[SSSS_27]=width+SSSS_4+this.getStyleTop()+SSSS_9+Color.resolve(this.getColorTop());}var width=this.getWidthRight();if(width>0){styles[SSSS_29]=width+SSSS_4+this.getStyleRight()+SSSS_9+Color.resolve(this.getColorRight());}var width=this.getWidthBottom();if(width>0){styles[SSSS_32]=width+SSSS_4+this.getStyleBottom()+SSSS_9+Color.resolve(this.getColorBottom());}var width=this.getWidthLeft();if(width>0){styles[SSSS_28]=width+SSSS_4+this.getStyleLeft()+SSSS_9+Color.resolve(this.getColorLeft());}if(qx.core.Variant.isSet(SSSS_10,SSSS_12)){if(styles.length===0){throw new Error("Invalid Single decorator (zero border width). Use qx.ui.decorator.Background instead!");}}styles.position=SSSS_33;styles.top=0;styles.left=0;var html=this._generateBackgroundMarkup(styles);return this.__mj=html;},resize:function(element,width,height){var scaledImage=this.getBackgroundImage()&&this.getBackgroundRepeat()==SSSS_26;if(scaledImage||qx.bom.client.Feature.CONTENT_BOX){var insets=this.getInsets();width-=insets.left+insets.right;height-=insets.top+insets.bottom;if(width<0){width=0;}if(height<0){height=0;}}element.style.width=width+SSSS_13;element.style.height=height+SSSS_13;},tint:function(element,bgcolor){var Color=qx.theme.manager.Color.getInstance();if(bgcolor==null){bgcolor=this.getBackgroundColor();}element.style.backgroundColor=Color.resolve(bgcolor)||SSSS_31;},_applyWidth:function(){if(qx.core.Variant.isSet(SSSS_10,SSSS_12)){if(this.__mj){throw new Error("This decorator is already in-use. Modification is not possible anymore!");}}this._resetInsets();},_applyStyle:function(){if(qx.core.Variant.isSet(SSSS_10,SSSS_12)){if(this.__mj){throw new Error("This decorator is already in-use. Modification is not possible anymore!");}}}},destruct:function(){this.__mj=null;}});})();(function(){var SSSS_0="px",SSSS_1="0px",SSSS_2="-1px",SSSS_3="no-repeat",SSSS_4="scale-x",SSSS_5="scale-y",SSSS_6="-tr",SSSS_7="-l",SSSS_8='</div>',SSSS_9="scale",SSSS_10="qx.client",SSSS_11="-br",SSSS_12="-t",SSSS_13="-tl",SSSS_14="-r",SSSS_15='<div style="position:absolute;top:0;left:0;overflow:hidden;font-size:0;line-height:0;">',SSSS_16="qx.debug",SSSS_17="_applyBaseImage",SSSS_18="-b",SSSS_19="String",SSSS_20="",SSSS_21="-bl",SSSS_22="-c",SSSS_23="mshtml",SSSS_24="on",SSSS_25="qx.ui.decoration.Grid";qx.Class.define(SSSS_25,{extend:qx.ui.decoration.Abstract,construct:function(baseImage,insets){arguments.callee.base.call(this);if(baseImage!=null){this.setBaseImage(baseImage);}if(insets!=null){this.setInsets(insets);}},properties:{baseImage:{check:SSSS_19,nullable:true,apply:SSSS_17}},members:{__mk:null,__ml:null,__mm:null,_getDefaultInsets:function(){return {top:0,right:0,bottom:0,left:0};},_isInitialized:function(){return !!this.__mk;},getMarkup:function(){if(this.__mk){return this.__mk;}var Decoration=qx.bom.element.Decoration;var images=this.__ml;var edges=this.__mm;var html=[];html.push(SSSS_15);html.push(Decoration.create(images.tl,SSSS_3,{top:0,left:0}));html.push(Decoration.create(images.t,SSSS_4,{top:0,left:edges.left+SSSS_0}));html.push(Decoration.create(images.tr,SSSS_3,{top:0,right:0}));html.push(Decoration.create(images.bl,SSSS_3,{bottom:0,left:0}));html.push(Decoration.create(images.b,SSSS_4,{bottom:0,left:edges.left+SSSS_0}));html.push(Decoration.create(images.br,SSSS_3,{bottom:0,right:0}));html.push(Decoration.create(images.l,SSSS_5,{top:edges.top+SSSS_0,left:0}));html.push(Decoration.create(images.c,SSSS_9,{top:edges.top+SSSS_0,left:edges.left+SSSS_0}));html.push(Decoration.create(images.r,SSSS_5,{top:edges.top+SSSS_0,right:0}));html.push(SSSS_8);return this.__mk=html.join(SSSS_20);},resize:function(element,width,height){var edges=this.__mm;var innerWidth=width-edges.left-edges.right;var innerHeight=height-edges.top-edges.bottom;if(innerWidth<0){innerWidth=0;}if(innerHeight<0){innerHeight=0;}element.style.width=width+SSSS_0;element.style.height=height+SSSS_0;element.childNodes[1].style.width=innerWidth+SSSS_0;element.childNodes[4].style.width=innerWidth+SSSS_0;element.childNodes[7].style.width=innerWidth+SSSS_0;element.childNodes[6].style.height=innerHeight+SSSS_0;element.childNodes[7].style.height=innerHeight+SSSS_0;element.childNodes[8].style.height=innerHeight+SSSS_0;if(qx.core.Variant.isSet(SSSS_10,SSSS_23)){if(qx.bom.client.Engine.VERSION<7||(qx.bom.client.Feature.QUIRKS_MODE&&qx.bom.client.Engine.VERSION<8)){if(width%2==1){element.childNodes[2].style.marginRight=SSSS_2;element.childNodes[5].style.marginRight=SSSS_2;element.childNodes[8].style.marginRight=SSSS_2;}else{element.childNodes[2].style.marginRight=SSSS_1;element.childNodes[5].style.marginRight=SSSS_1;element.childNodes[8].style.marginRight=SSSS_1;}if(height%2==1){element.childNodes[3].style.marginBottom=SSSS_2;element.childNodes[4].style.marginBottom=SSSS_2;element.childNodes[5].style.marginBottom=SSSS_2;}else{element.childNodes[3].style.marginBottom=SSSS_1;element.childNodes[4].style.marginBottom=SSSS_1;element.childNodes[5].style.marginBottom=SSSS_1;}}}},tint:function(element,bgcolor){},_applyBaseImage:function(value,old){if(qx.core.Variant.isSet(SSSS_16,SSSS_24)){if(this.__mk){throw new Error("This decorator is already in-use. Modification is not possible anymore!");}}if(value){var base=this._resolveImageUrl(value);var split=/(.*)(\.[a-z]+)$/.exec(base);var prefix=split[1];var ext=split[2];var images=this.__ml={tl:prefix+SSSS_13+ext,t:prefix+SSSS_12+ext,tr:prefix+SSSS_6+ext,bl:prefix+SSSS_21+ext,b:prefix+SSSS_18+ext,br:prefix+SSSS_11+ext,l:prefix+SSSS_7+ext,c:prefix+SSSS_22+ext,r:prefix+SSSS_14+ext};this.__mm=this._computeEdgeSizes(images);}},_resolveImageUrl:function(image){return qx.util.AliasManager.getInstance().resolve(image);},_computeEdgeSizes:function(images){var ResourceManager=qx.util.ResourceManager.getInstance();return {top:ResourceManager.getImageHeight(images.t),bottom:ResourceManager.getImageHeight(images.b),left:ResourceManager.getImageWidth(images.l),right:ResourceManager.getImageWidth(images.r)};}},destruct:function(){this.__mk=this.__ml=this.__mm=null;}});})();(function(){var SSSS_0="_applyStyle",SSSS_1='"></div>',SSSS_2="Color",SSSS_3="1px",SSSS_4='<div style="',SSSS_5='border:',SSSS_6="1px solid ",SSSS_7="",SSSS_8=";",SSSS_9="px",SSSS_10='</div>',SSSS_11="qx.ui.decoration.Beveled",SSSS_12="qx.debug",SSSS_13='<div style="position:absolute;top:1px;left:1px;',SSSS_14='border-bottom:',SSSS_15='border-right:',SSSS_16='border-left:',SSSS_17='border-top:',SSSS_18="Number",SSSS_19='<div style="position:absolute;top:1px;left:0px;',SSSS_20='position:absolute;top:0px;left:1px;',SSSS_21='<div style="overflow:hidden;font-size:0;line-height:0;">',SSSS_22="on",SSSS_23="absolute";qx.Class.define(SSSS_11,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage],construct:function(outerColor,innerColor,innerOpacity){arguments.callee.base.call(this);if(outerColor!=null){this.setOuterColor(outerColor);}if(innerColor!=null){this.setInnerColor(innerColor);}if(innerOpacity!=null){this.setInnerOpacity(innerOpacity);}},properties:{innerColor:{check:SSSS_2,nullable:true,apply:SSSS_0},innerOpacity:{check:SSSS_18,init:1,apply:SSSS_0},outerColor:{check:SSSS_2,nullable:true,apply:SSSS_0},backgroundColor:{check:SSSS_2,nullable:true,apply:SSSS_0}},members:{__mn:null,_getDefaultInsets:function(){return {top:2,right:2,bottom:2,left:2};},_isInitialized:function(){return !!this.__mn;},_applyStyle:function(){if(qx.core.Variant.isSet(SSSS_12,SSSS_22)){if(this.__mn){throw new Error("This decorator is already in-use. Modification is not possible anymore!");}}},getMarkup:function(){if(this.__mn){return this.__mn;}var Color=qx.theme.manager.Color.getInstance();var html=[];var outerStyle=SSSS_6+Color.resolve(this.getOuterColor())+SSSS_8;var innerStyle=SSSS_6+Color.resolve(this.getInnerColor())+SSSS_8;html.push(SSSS_21);html.push(SSSS_4);html.push(SSSS_5,outerStyle);html.push(qx.bom.element.Opacity.compile(0.35));html.push(SSSS_1);html.push(SSSS_19);html.push(SSSS_16,outerStyle);html.push(SSSS_15,outerStyle);html.push(SSSS_1);html.push(SSSS_4);html.push(SSSS_20);html.push(SSSS_17,outerStyle);html.push(SSSS_14,outerStyle);html.push(SSSS_1);var backgroundStyle={position:SSSS_23,top:SSSS_3,left:SSSS_3};html.push(this._generateBackgroundMarkup(backgroundStyle));html.push(SSSS_13);html.push(SSSS_5,innerStyle);html.push(qx.bom.element.Opacity.compile(this.getInnerOpacity()));html.push(SSSS_1);html.push(SSSS_10);return this.__mn=html.join(SSSS_7);},resize:function(element,width,height){if(width<4){width=4;}if(height<4){height=4;}if(qx.bom.client.Feature.CONTENT_BOX){var outerWidth=width-2;var outerHeight=height-2;var frameWidth=outerWidth;var frameHeight=outerHeight;var innerWidth=width-4;var innerHeight=height-4;}else{var outerWidth=width;var outerHeight=height;var frameWidth=width-2;var frameHeight=height-2;var innerWidth=frameWidth;var innerHeight=frameHeight;}var pixel=SSSS_9;var backgroundFrame=element.childNodes[0].style;backgroundFrame.width=outerWidth+pixel;backgroundFrame.height=outerHeight+pixel;var horizontalFrame=element.childNodes[1].style;horizontalFrame.width=outerWidth+pixel;horizontalFrame.height=frameHeight+pixel;var verticalFrame=element.childNodes[2].style;verticalFrame.width=frameWidth+pixel;verticalFrame.height=outerHeight+pixel;var innerBackground=element.childNodes[3].style;innerBackground.width=frameWidth+pixel;innerBackground.height=frameHeight+pixel;var innerOverlay=element.childNodes[4].style;innerOverlay.width=innerWidth+pixel;innerOverlay.height=innerHeight+pixel;},tint:function(element,bgcolor){var Color=qx.theme.manager.Color.getInstance();if(bgcolor==null){bgcolor=this.getBackgroundColor();}element.childNodes[3].style.backgroundColor=Color.resolve(bgcolor)||SSSS_7;}},destruct:function(){this.__mn=null;}});})();(function(){var SSSS_0="solid",SSSS_1="scale",SSSS_2="border-main",SSSS_3="white",SSSS_4="repeat-x",SSSS_5="border-separator",SSSS_6="background-light",SSSS_7="invalid",SSSS_8="border-focused-invalid",SSSS_9="border-disabled",SSSS_10="decoration/table/header-cell.png",SSSS_11="decoration/form/input.png",SSSS_12="#f8f8f8",SSSS_13="decoration/scrollbar/scrollbar-button-bg-horizontal.png",SSSS_14="#b6b6b6",SSSS_15="background-pane",SSSS_16="repeat-y",SSSS_17="decoration/form/input-focused.png",SSSS_18="#33508D",SSSS_19="decoration/selection.png",SSSS_20="border-input",SSSS_21="decoration/scrollbar/scrollbar-button-bg-vertical.png",SSSS_22="decoration/tabview/tab-button-top-active.png",SSSS_23="decoration/form/button-c.png",SSSS_24="decoration/scrollbar/scrollbar-bg-vertical.png",SSSS_25="decoration/form/button.png",SSSS_26="decoration/form/button-checked.png",SSSS_27="decoration/tabview/tab-button-left-inactive.png",SSSS_28="decoration/groupbox/groupbox.png",SSSS_29="#FAFAFA",SSSS_30="decoration/pane/pane.png",SSSS_31="decoration/menu/background.png",SSSS_32="decoration/toolbar/toolbar-part.gif",SSSS_33="decoration/tabview/tab-button-top-inactive.png",SSSS_34="decoration/menu/bar-background.png",SSSS_35="center",SSSS_36="decoration/tabview/tab-button-bottom-active.png",SSSS_37="decoration/form/button-hovered.png",SSSS_38="decoration/form/tooltip-error-arrow.png",SSSS_39="decoration/window/captionbar-inactive.png",SSSS_40="qx/decoration/Modern",SSSS_41="decoration/window/statusbar.png",SSSS_42="border-focused",SSSS_43="table-focus-indicator",SSSS_44="#F2F2F2",SSSS_45="decoration/form/button-checked-c.png",SSSS_46="decoration/scrollbar/scrollbar-bg-horizontal.png",SSSS_47="qx.theme.modern.Decoration",SSSS_48="#f4f4f4",SSSS_49="decoration/shadow/shadow-small.png",SSSS_50="decoration/app-header.png",SSSS_51="decoration/tabview/tabview-pane.png",SSSS_52="decoration/form/tooltip-error.png",SSSS_53="decoration/form/button-focused.png",SSSS_54="decoration/tabview/tab-button-bottom-inactive.png",SSSS_55="decoration/form/button-disabled.png",SSSS_56="decoration/tabview/tab-button-right-active.png",SSSS_57="decoration/form/button-pressed.png",SSSS_58="no-repeat",SSSS_59="decoration/window/captionbar-active.png",SSSS_60="decoration/tabview/tab-button-left-active.png",SSSS_61="background-splitpane",SSSS_62="decoration/form/button-checked-focused.png",SSSS_63="#C5C5C5",SSSS_64="decoration/toolbar/toolbar-gradient.png",SSSS_65="decoration/tabview/tab-button-right-inactive.png",SSSS_66="#b8b8b8",SSSS_67="decoration/shadow/shadow.png";qx.Theme.define(SSSS_47,{aliases:{decoration:SSSS_40},decorations:{"main":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:SSSS_2}},"selected":{decorator:qx.ui.decoration.Background,style:{backgroundImage:SSSS_19,backgroundRepeat:SSSS_1}},"selected-dragover":{decorator:qx.ui.decoration.Single,style:{backgroundImage:SSSS_19,backgroundRepeat:SSSS_1,bottom:[2,SSSS_0,SSSS_18]}},"dragover":{decorator:qx.ui.decoration.Single,style:{bottom:[2,SSSS_0,SSSS_18]}},"pane":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_30,insets:[0,2,3,0]}},"group":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_28}},"border-invalid":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_7,innerColor:SSSS_3,innerOpacity:0.5,backgroundImage:SSSS_11,backgroundRepeat:SSSS_4,backgroundColor:SSSS_6}},"separator-horizontal":{decorator:qx.ui.decoration.Single,style:{widthLeft:1,colorLeft:SSSS_5}},"separator-vertical":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:SSSS_5}},"tooltip-error":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_52,insets:[2,5,5,2]}},"tooltip-error-arrow":{decorator:qx.ui.decoration.Background,style:{backgroundImage:SSSS_38,backgroundPositionY:SSSS_35,backgroundRepeat:SSSS_58,insets:[0,0,0,10]}},"shadow-window":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_67,insets:[4,8,8,4]}},"shadow-popup":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_49,insets:[0,3,3,0]}},"scrollbar-horizontal":{decorator:qx.ui.decoration.Background,style:{backgroundImage:SSSS_46,backgroundRepeat:SSSS_4}},"scrollbar-vertical":{decorator:qx.ui.decoration.Background,style:{backgroundImage:SSSS_24,backgroundRepeat:SSSS_16}},"scrollbar-slider-horizontal":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:SSSS_13,backgroundRepeat:SSSS_1,outerColor:SSSS_2,innerColor:SSSS_3,innerOpacity:0.5}},"scrollbar-slider-horizontal-disabled":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:SSSS_13,backgroundRepeat:SSSS_1,outerColor:SSSS_9,innerColor:SSSS_3,innerOpacity:0.3}},"scrollbar-slider-vertical":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:SSSS_21,backgroundRepeat:SSSS_1,outerColor:SSSS_2,innerColor:SSSS_3,innerOpacity:0.5}},"scrollbar-slider-vertical-disabled":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:SSSS_21,backgroundRepeat:SSSS_1,outerColor:SSSS_9,innerColor:SSSS_3,innerOpacity:0.3}},"button":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_25,insets:2}},"button-disabled":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_55,insets:2}},"button-focused":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_53,insets:2}},"button-hovered":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_37,insets:2}},"button-pressed":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_57,insets:2}},"button-checked":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_26,insets:2}},"button-checked-focused":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_62,insets:2}},"button-invalid-shadow":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_7,innerColor:SSSS_8,insets:[1]}},"checkbox-invalid-shadow":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_7,innerColor:SSSS_8,insets:[0]}},"input":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_20,innerColor:SSSS_3,innerOpacity:0.5,backgroundImage:SSSS_11,backgroundRepeat:SSSS_4,backgroundColor:SSSS_6}},"input-focused":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_20,innerColor:SSSS_42,backgroundImage:SSSS_17,backgroundRepeat:SSSS_4,backgroundColor:SSSS_6}},"input-focused-invalid":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_7,innerColor:SSSS_8,backgroundImage:SSSS_17,backgroundRepeat:SSSS_4,backgroundColor:SSSS_6,insets:[2]}},"input-disabled":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_9,innerColor:SSSS_3,innerOpacity:0.5,backgroundImage:SSSS_11,backgroundRepeat:SSSS_4,backgroundColor:SSSS_6}},"toolbar":{decorator:qx.ui.decoration.Background,style:{backgroundImage:SSSS_64,backgroundRepeat:SSSS_1}},"toolbar-button-hovered":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_14,innerColor:SSSS_12,backgroundImage:SSSS_23,backgroundRepeat:SSSS_1}},"toolbar-button-checked":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_14,innerColor:SSSS_12,backgroundImage:SSSS_45,backgroundRepeat:SSSS_1}},"toolbar-separator":{decorator:qx.ui.decoration.Single,style:{widthLeft:1,widthRight:1,colorLeft:SSSS_66,colorRight:SSSS_48,styleLeft:SSSS_0,styleRight:SSSS_0}},"toolbar-part":{decorator:qx.ui.decoration.Background,style:{backgroundImage:SSSS_32,backgroundRepeat:SSSS_16}},"tabview-pane":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_51,insets:[4,6,7,4]}},"tabview-page-button-top-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_22}},"tabview-page-button-top-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_33}},"tabview-page-button-bottom-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_36}},"tabview-page-button-bottom-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_54}},"tabview-page-button-left-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_60}},"tabview-page-button-left-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_27}},"tabview-page-button-right-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_56}},"tabview-page-button-right-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_65}},"splitpane":{decorator:qx.ui.decoration.Uniform,style:{backgroundColor:SSSS_15,width:3,color:SSSS_61,style:SSSS_0}},"window":{decorator:qx.ui.decoration.Single,style:{backgroundColor:SSSS_15,width:1,color:SSSS_2,widthTop:0}},"window-captionbar-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_59}},"window-captionbar-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_39}},"window-statusbar":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_41}},"table":{decorator:qx.ui.decoration.Single,style:{width:1,color:SSSS_2,style:SSSS_0}},"table-statusbar":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:SSSS_2,style:SSSS_0}},"table-scroller-header":{decorator:qx.ui.decoration.Single,style:{backgroundImage:SSSS_10,backgroundRepeat:SSSS_1,widthBottom:1,colorBottom:SSSS_2,style:SSSS_0}},"table-header-cell":{decorator:qx.ui.decoration.Single,style:{widthRight:1,colorRight:SSSS_5,styleRight:SSSS_0}},"table-header-cell-hovered":{decorator:qx.ui.decoration.Single,style:{widthRight:1,colorRight:SSSS_5,styleRight:SSSS_0,widthBottom:1,colorBottom:SSSS_3,styleBottom:SSSS_0}},"table-column-button":{decorator:qx.ui.decoration.Single,style:{backgroundImage:SSSS_10,backgroundRepeat:SSSS_1,widthBottom:1,colorBottom:SSSS_2,style:SSSS_0}},"table-scroller-focus-indicator":{decorator:qx.ui.decoration.Single,style:{width:2,color:SSSS_43,style:SSSS_0}},"progressive-table-header":{decorator:qx.ui.decoration.Single,style:{width:1,color:SSSS_2,style:SSSS_0}},"progressive-table-header-cell":{decorator:qx.ui.decoration.Single,style:{backgroundImage:SSSS_10,backgroundRepeat:SSSS_1,widthRight:1,colorRight:SSSS_44,style:SSSS_0}},"menu":{decorator:qx.ui.decoration.Single,style:{backgroundImage:SSSS_31,backgroundRepeat:SSSS_1,width:1,color:SSSS_2,style:SSSS_0}},"menu-separator":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:SSSS_63,widthBottom:1,colorBottom:SSSS_29}},"menubar":{decorator:qx.ui.decoration.Single,style:{backgroundImage:SSSS_34,backgroundRepeat:SSSS_1,width:1,color:SSSS_5,style:SSSS_0}},"app-header":{decorator:qx.ui.decoration.Background,style:{backgroundImage:SSSS_50,backgroundRepeat:SSSS_1}}}});})();(function(){var SSSS_0="red",SSSS_1="background-light",SSSS_2="repeat-x",SSSS_3="border-invalid",SSSS_4="jsoneditor/decoration/highlight-red/highlight-red.png",SSSS_5="jsoneditor/decoration/highlight-yellow/highlight-yellow.png",SSSS_6="decoration/form/input.png",SSSS_7="decoration/form/input-focused.png",SSSS_8="border-focused",SSSS_9="background-invalid",SSSS_10="blueprint.theme.ninja.Decoration",SSSS_11="jsoneditor/decoration/highlight-blue/highlight-blue.png",SSSS_12="jsoneditor/decoration/highlight-green/highlight-green.png";qx.Theme.define(SSSS_10,{extend:qx.theme.modern.Decoration,decorations:{"invalid":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_3,innerColor:SSSS_3,innerOpacity:0.5,backgroundColor:SSSS_9}},"input-invalid":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_0,innerOpacity:0.5,backgroundImage:SSSS_6,backgroundRepeat:SSSS_2,backgroundColor:SSSS_1}},"input-invalid-focused":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_0,innerColor:SSSS_8,backgroundImage:SSSS_7,backgroundRepeat:SSSS_2,backgroundColor:SSSS_1}},"highlight-blue":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_11,insets:[10,10,10,10]}},"highlight-green":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_12,insets:[10,10,10,10]}},"highlight-red":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_4,insets:[10,10,10,10]}},"highlight-yellow":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_5,insets:[10,10,10,10]}}}});})();(function(){var SSSS_0="qx.ui.form.IBooleanForm",SSSS_1="qx.event.type.Data";qx.Interface.define(SSSS_0,{events:{"changeValue":SSSS_1},members:{setValue:function(value){return arguments.length==1;},resetValue:function(){},getValue:function(){}}});})();(function(){var SSSS_0="pressed",SSSS_1="abandoned",SSSS_2="hovered",SSSS_3="checked",SSSS_4="Space",SSSS_5="Enter",SSSS_6="mouseup",SSSS_7="mousedown",SSSS_8="Boolean",SSSS_9="_applyValue",SSSS_10="mouseover",SSSS_11="mouseout",SSSS_12="qx.ui.form.ToggleButton",SSSS_13="keydown",SSSS_14="changeValue",SSSS_15="button",SSSS_16="keyup",SSSS_17="execute";qx.Class.define(SSSS_12,{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IBooleanForm,qx.ui.form.IExecutable],construct:function(label,icon){arguments.callee.base.call(this,label,icon);this.addListener(SSSS_10,this._onMouseOver);this.addListener(SSSS_11,this._onMouseOut);this.addListener(SSSS_7,this._onMouseDown);this.addListener(SSSS_6,this._onMouseUp);this.addListener(SSSS_13,this._onKeyDown);this.addListener(SSSS_16,this._onKeyUp);this.addListener(SSSS_17,this._onExecute,this);},properties:{appearance:{refine:true,init:SSSS_15},focusable:{refine:true,init:true},value:{check:SSSS_8,nullable:true,event:SSSS_14,apply:SSSS_9,init:false}},members:{_applyValue:function(value,old){value?this.addState(SSSS_3):this.removeState(SSSS_3);},_onExecute:function(e){this.toggleValue();},_onMouseOver:function(e){if(e.getTarget()!==this){return;}this.addState(SSSS_2);if(this.hasState(SSSS_1)){this.removeState(SSSS_1);this.addState(SSSS_0);}},_onMouseOut:function(e){if(e.getTarget()!==this){return;}this.removeState(SSSS_2);if(this.hasState(SSSS_0)){if(!this.getValue()){this.removeState(SSSS_0);}this.addState(SSSS_1);}},_onMouseDown:function(e){if(!e.isLeftPressed()){return;}this.capture();this.removeState(SSSS_1);this.addState(SSSS_0);e.stopPropagation();},_onMouseUp:function(e){this.releaseCapture();if(this.hasState(SSSS_1)){this.removeState(SSSS_1);}else if(this.hasState(SSSS_0)){this.execute();}this.removeState(SSSS_0);e.stopPropagation();},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case SSSS_5:case SSSS_4:this.removeState(SSSS_1);this.addState(SSSS_0);e.stopPropagation();}},_onKeyUp:function(e){if(!this.hasState(SSSS_0)){return;}switch(e.getKeyIdentifier()){case SSSS_5:case SSSS_4:this.removeState(SSSS_1);this.execute();this.removeState(SSSS_0);e.stopPropagation();}}}});})();(function(){var SSSS_0="inherit",SSSS_1="toolbar-button",SSSS_2="qx.ui.toolbar.CheckBox",SSSS_3="keydown",SSSS_4="keyup";qx.Class.define(SSSS_2,{extend:qx.ui.form.ToggleButton,construct:function(label,icon){arguments.callee.base.call(this,label,icon);this.removeListener(SSSS_3,this._onKeyDown);this.removeListener(SSSS_4,this._onKeyUp);},properties:{appearance:{refine:true,init:SSSS_1},show:{refine:true,init:SSSS_0},focusable:{refine:true,init:false}}});})();(function(){var SSSS_0="blueprint.ui.toolbar.CheckBox";qx.Class.define(SSSS_0,{extend:qx.ui.toolbar.CheckBox,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},members:{},destruct:function(){}});})();(function(){var SSSS_0="blueprint.ui.basic.Label";qx.Class.define(SSSS_0,{extend:qx.ui.basic.Label,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},members:{},destruct:function(){}});})();(function(){var SSSS_0="blueprint.ui.basic.Image";qx.Class.define(SSSS_0,{extend:qx.ui.basic.Image,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},members:{},destruct:function(){}});})();(function(){var SSSS_0="blueprint.ui.form.Button";qx.Class.define(SSSS_0,{extend:qx.ui.form.Button,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="button-frame",SSSS_1="atom",SSSS_2="widget",SSSS_3="main",SSSS_4="button",SSSS_5="text-selected",SSSS_6="image",SSSS_7="bold",SSSS_8="middle",SSSS_9="background-light",SSSS_10="text-disabled",SSSS_11="groupbox",SSSS_12="decoration/arrows/down.png",SSSS_13="cell",SSSS_14="selected",SSSS_15="border-invalid",SSSS_16="input",SSSS_17="input-disabled",SSSS_18="menu-button",SSSS_19="input-focused-invalid",SSSS_20="toolbar-button",SSSS_21="spinner",SSSS_22="input-focused",SSSS_23="popup",SSSS_24="tooltip",SSSS_25="list",SSSS_26="tree-item",SSSS_27="treevirtual-contract",SSSS_28="scrollbar",SSSS_29="datechooser/nav-button",SSSS_30="text-hovered",SSSS_31="center",SSSS_32="treevirtual-expand",SSSS_33="textfield",SSSS_34="label",SSSS_35="decoration/arrows/right.png",SSSS_36="background-application",SSSS_37="radiobutton",SSSS_38="white",SSSS_39="invalid",SSSS_40="combobox",SSSS_41="right-top",SSSS_42="checkbox",SSSS_43="text-title",SSSS_44="qx/static/blank.gif",SSSS_45="scrollbar/button",SSSS_46="right",SSSS_47="combobox/button",SSSS_48="icon/16/places/folder.png",SSSS_49="text-label",SSSS_50="decoration/tree/closed.png",SSSS_51="scrollbar-slider-horizontal",SSSS_52="decoration/arrows/left.png",SSSS_53="button-focused",SSSS_54="text-light",SSSS_55="menu-slidebar-button",SSSS_56="text-input",SSSS_57="slidebar/button-forward",SSSS_58="background-splitpane",SSSS_59=".png",SSSS_60="decoration/tree/open.png",SSSS_61="default",SSSS_62="decoration/arrows/down-small.png",SSSS_63="datechooser",SSSS_64="slidebar/button-backward",SSSS_65="selectbox",SSSS_66="treevirtual-folder",SSSS_67="shadow-popup",SSSS_68="icon/16/mimetypes/office-document.png",SSSS_69="background-medium",SSSS_70="table",SSSS_71="decoration/arrows/up.png",SSSS_72="decoration/form/",SSSS_73="",SSSS_74="-invalid",SSSS_75="icon/16/places/folder-open.png",SSSS_76="button-checked",SSSS_77="decoration/window/maximize-active-hovered.png",SSSS_78="radiobutton-hovered",SSSS_79="decoration/cursors/",SSSS_80="slidebar",SSSS_81="tooltip-error-arrow",SSSS_82="table-scroller-focus-indicator",SSSS_83="move-frame",SSSS_84="nodrop",SSSS_85="decoration/table/boolean-true.png",SSSS_86="table-header-cell",SSSS_87="menu",SSSS_88="app-header",SSSS_89="row-layer",SSSS_90="text-inactive",SSSS_91="move",SSSS_92="radiobutton-checked-focused",SSSS_93="decoration/window/restore-active-hovered.png",SSSS_94="shadow-window",SSSS_95="table-column-button",SSSS_96="right.png",SSSS_97="tabview-page-button-bottom-inactive",SSSS_98="tooltip-error",SSSS_99="window-statusbar",SSSS_100="button-hovered",SSSS_101="decoration/scrollbar/scrollbar-",SSSS_102="background-tip",SSSS_103="scrollbar-slider-horizontal-disabled",SSSS_104="table-scroller-header",SSSS_105="radiobutton-disabled",SSSS_106="button-pressed",SSSS_107="table-pane",SSSS_108="decoration/window/close-active.png",SSSS_109="native",SSSS_110="checkbox-hovered",SSSS_111="button-invalid-shadow",SSSS_112="checkbox-checked",SSSS_113="decoration/window/minimize-active-hovered.png",SSSS_114="menubar",SSSS_115="icon/16/actions/dialog-cancel.png",SSSS_116="tabview-page-button-top-inactive",SSSS_117="tabview-page-button-left-inactive",SSSS_118="menu-slidebar",SSSS_119="toolbar-button-checked",SSSS_120="decoration/tree/open-selected.png",SSSS_121="radiobutton-checked",SSSS_122="decoration/window/minimize-inactive.png",SSSS_123="icon/16/apps/office-calendar.png",SSSS_124="group",SSSS_125="tabview-page-button-right-inactive",SSSS_126="decoration/window/minimize-active.png",SSSS_127="decoration/window/restore-inactive.png",SSSS_128="checkbox-checked-focused",SSSS_129="splitpane",SSSS_130="combobox/textfield",SSSS_131="button-preselected-focused",SSSS_132="decoration/window/close-active-hovered.png",SSSS_133="qx/icon/Tango/16/actions/window-close.png",SSSS_134="checkbox-pressed",SSSS_135="button-disabled",SSSS_136="selected-dragover",SSSS_137="border-separator",SSSS_138="decoration/window/maximize-inactive.png",SSSS_139="dragover",SSSS_140="scrollarea",SSSS_141="scrollbar-vertical",SSSS_142="decoration/menu/checkbox-invert.gif",SSSS_143="decoration/toolbar/toolbar-handle-knob.gif",SSSS_144="icon/22/mimetypes/office-document.png",SSSS_145="button-preselected",SSSS_146="button-checked-focused",SSSS_147="up.png",SSSS_148="best-fit",SSSS_149="decoration/tree/closed-selected.png",SSSS_150="qx.theme.modern.Appearance",SSSS_151="text-active",SSSS_152="checkbox-disabled",SSSS_153="toolbar-button-hovered",SSSS_154="progressive-table-header",SSSS_155="decoration/table/select-column-order.png",SSSS_156="decoration/menu/radiobutton.gif",SSSS_157="decoration/arrows/forward.png",SSSS_158="decoration/table/descending.png",SSSS_159="window-captionbar-active",SSSS_160="checkbox-checked-hovered",SSSS_161="scrollbar-slider-vertical",SSSS_162="toolbar",SSSS_163="alias",SSSS_164="decoration/window/restore-active.png",SSSS_165="decoration/table/boolean-false.png",SSSS_166="checkbox-checked-disabled",SSSS_167="icon/32/mimetypes/office-document.png",SSSS_168="radiobutton-checked-disabled",SSSS_169="tabview-pane",SSSS_170="decoration/arrows/rewind.png",SSSS_171="checkbox-focused",SSSS_172="top",SSSS_173="#EEE",SSSS_174="icon/16/actions/dialog-ok.png",SSSS_175="radiobutton-checked-hovered",SSSS_176="table-header-cell-hovered",SSSS_177="window",SSSS_178="text-gray",SSSS_179="decoration/menu/radiobutton-invert.gif",SSSS_180="text-placeholder",SSSS_181="slider",SSSS_182="keep-align",SSSS_183="down.png",SSSS_184="tabview-page-button-top-active",SSSS_185="icon/32/places/folder-open.png",SSSS_186="icon/22/places/folder.png",SSSS_187="decoration/window/maximize-active.png",SSSS_188="checkbox-checked-pressed",SSSS_189="decoration/window/close-inactive.png",SSSS_190="tabview-page-button-left-active",SSSS_191="toolbar-part",SSSS_192="decoration/splitpane/knob-vertical.png",SSSS_193=".gif",SSSS_194="icon/22/places/folder-open.png",SSSS_195="radiobutton-checked-pressed",SSSS_196="table-statusbar",SSSS_197="radiobutton-pressed",SSSS_198="window-captionbar-inactive",SSSS_199="copy",SSSS_200="radiobutton-focused",SSSS_201="decoration/arrows/down-invert.png",SSSS_202="decoration/menu/checkbox.gif",SSSS_203="decoration/splitpane/knob-horizontal.png",SSSS_204="icon/32/places/folder.png",SSSS_205="toolbar-separator",SSSS_206="tabview-page-button-bottom-active",SSSS_207="decoration/arrows/up-small.png",SSSS_208="decoration/table/ascending.png",SSSS_209="decoration/arrows/up-invert.png",SSSS_210="small",SSSS_211="tabview-page-button-right-active",SSSS_212="-disabled",SSSS_213="scrollbar-horizontal",SSSS_214="progressive-table-header-cell",SSSS_215="menu-separator",SSSS_216="pane",SSSS_217="decoration/arrows/right-invert.png",SSSS_218="left.png",SSSS_219="icon/16/actions/view-refresh.png";qx.Theme.define(SSSS_150,{appearances:{"widget":{},"root":{style:function(states){return {backgroundColor:SSSS_36,textColor:SSSS_49,font:SSSS_61};}},"label":{style:function(states){return {textColor:states.disabled?SSSS_10:undefined};}},"move-frame":{style:function(states){return {decorator:SSSS_3};}},"resize-frame":SSSS_83,"dragdrop-cursor":{style:function(states){var icon=SSSS_84;if(states.copy){icon=SSSS_199;}else if(states.move){icon=SSSS_91;}else if(states.alias){icon=SSSS_163;}return {source:SSSS_79+icon+SSSS_193,position:SSSS_41,offset:[2,16,2,6]};}},"image":{style:function(states){return {opacity:!states.replacement&&states.disabled?0.3:1};}},"atom":{},"atom/label":SSSS_34,"atom/icon":SSSS_6,"popup":{style:function(states){return {decorator:SSSS_3,backgroundColor:SSSS_9,shadow:SSSS_67};}},"button-frame":{alias:SSSS_1,style:function(states){var decorator,textColor;if(states.checked&&states.focused&&!states.inner){decorator=SSSS_146;textColor=undefined;}else if(states.disabled){decorator=SSSS_135;textColor=undefined;}else if(states.pressed){decorator=SSSS_106;textColor=SSSS_30;}else if(states.checked){decorator=SSSS_76;textColor=undefined;}else if(states.hovered){decorator=SSSS_100;textColor=SSSS_30;}else if(states.preselected&&states.focused&&!states.inner){decorator=SSSS_131;textColor=SSSS_30;}else if(states.preselected){decorator=SSSS_145;textColor=SSSS_30;}else if(states.focused&&!states.inner){decorator=SSSS_53;textColor=undefined;}else{decorator=SSSS_4;textColor=undefined;}return {decorator:decorator,textColor:textColor,shadow:states.invalid&&!states.disabled?SSSS_111:undefined};}},"button-frame/image":{style:function(states){return {opacity:!states.replacement&&states.disabled?0.5:1};}},"button":{alias:SSSS_0,include:SSSS_0,style:function(states){return {padding:[2,8],center:true};}},"hover-button":{alias:SSSS_1,include:SSSS_1,style:function(states){return {decorator:states.hovered?SSSS_14:undefined,textColor:states.hovered?SSSS_5:undefined};}},"splitbutton":{},"splitbutton/button":SSSS_4,"splitbutton/arrow":{alias:SSSS_4,include:SSSS_4,style:function(states){return {icon:SSSS_12,padding:2,marginLeft:1};}},"checkbox":{alias:SSSS_1,style:function(states){var icon;if(states.checked&&states.focused){icon=SSSS_128;}else if(states.checked&&states.disabled){icon=SSSS_166;}else if(states.checked&&states.pressed){icon=SSSS_188;}else if(states.checked&&states.hovered){icon=SSSS_160;}else if(states.checked){icon=SSSS_112;}else if(states.disabled){icon=SSSS_152;}else if(states.focused){icon=SSSS_171;}else if(states.pressed){icon=SSSS_134;}else if(states.hovered){icon=SSSS_110;}else{icon=SSSS_42;}var invalid=states.invalid&&!states.disabled?SSSS_74:SSSS_73;return {icon:SSSS_72+icon+invalid+SSSS_59,gap:6};}},"radiobutton":{alias:SSSS_1,style:function(states){var icon;if(states.checked&&states.focused){icon=SSSS_92;}else if(states.checked&&states.disabled){icon=SSSS_168;}else if(states.checked&&states.pressed){icon=SSSS_195;}else if(states.checked&&states.hovered){icon=SSSS_175;}else if(states.checked){icon=SSSS_121;}else if(states.disabled){icon=SSSS_105;}else if(states.focused){icon=SSSS_200;}else if(states.pressed){icon=SSSS_197;}else if(states.hovered){icon=SSSS_78;}else{icon=SSSS_37;}var invalid=states.invalid&&!states.disabled?SSSS_74:SSSS_73;return {icon:SSSS_72+icon+invalid+SSSS_59,gap:6};}},"textfield":{style:function(states){var decorator;var focused=!!states.focused;var invalid=!!states.invalid;var disabled=!!states.disabled;if(focused&&invalid&&!disabled){decorator=SSSS_19;}else if(focused&&!invalid&&!disabled){decorator=SSSS_22;}else if(disabled){decorator=SSSS_17;}else if(!focused&&invalid&&!disabled){decorator=SSSS_15;}else{decorator=SSSS_16;}var textColor;if(states.disabled){textColor=SSSS_10;}else if(states.showingPlaceholder){textColor=SSSS_180;}else{textColor=SSSS_56;}return {decorator:decorator,padding:[2,4,1],textColor:textColor};}},"textarea":{include:SSSS_33,style:function(states){return {padding:4};}},"spinner":{style:function(states){var decorator;var focused=!!states.focused;var invalid=!!states.invalid;var disabled=!!states.disabled;if(focused&&invalid&&!disabled){decorator=SSSS_19;}else if(focused&&!invalid&&!disabled){decorator=SSSS_22;}else if(disabled){decorator=SSSS_17;}else if(!focused&&invalid&&!disabled){decorator=SSSS_15;}else{decorator=SSSS_16;}return {decorator:decorator};}},"spinner/textfield":{style:function(states){return {marginRight:2,padding:[2,4,1],textColor:states.disabled?SSSS_10:SSSS_56};}},"spinner/upbutton":{alias:SSSS_0,include:SSSS_0,style:function(states){return {icon:SSSS_207,padding:states.pressed?[2,2,0,4]:[1,3,1,3],shadow:undefined};}},"spinner/downbutton":{alias:SSSS_0,include:SSSS_0,style:function(states){return {icon:SSSS_62,padding:states.pressed?[2,2,0,4]:[1,3,1,3],shadow:undefined};}},"datefield":SSSS_40,"datefield/button":{alias:SSSS_47,include:SSSS_47,style:function(states){return {icon:SSSS_123,padding:[0,3],decorator:undefined};}},"datefield/textfield":SSSS_130,"datefield/list":{alias:SSSS_63,include:SSSS_63,style:function(states){return {decorator:undefined};}},"groupbox":{style:function(states){return {legendPosition:SSSS_172};}},"groupbox/legend":{alias:SSSS_1,style:function(states){return {padding:[1,0,1,4],textColor:states.invalid?SSSS_39:SSSS_43,font:SSSS_7};}},"groupbox/frame":{style:function(states){return {padding:12,decorator:SSSS_124};}},"check-groupbox":SSSS_11,"check-groupbox/legend":{alias:SSSS_42,include:SSSS_42,style:function(states){return {padding:[1,0,1,4],textColor:states.invalid?SSSS_39:SSSS_43,font:SSSS_7};}},"radio-groupbox":SSSS_11,"radio-groupbox/legend":{alias:SSSS_37,include:SSSS_37,style:function(states){return {padding:[1,0,1,4],textColor:states.invalid?SSSS_39:SSSS_43,font:SSSS_7};}},"scrollarea":{style:function(states){return {minWidth:50,minHeight:50};}},"scrollarea/corner":{style:function(states){return {backgroundColor:SSSS_36};}},"scrollarea/pane":SSSS_2,"scrollarea/scrollbar-x":SSSS_28,"scrollarea/scrollbar-y":SSSS_28,"scrollbar":{style:function(states){if(states[SSSS_109]){return {};}return {width:states.horizontal?undefined:16,height:states.horizontal?16:undefined,decorator:states.horizontal?SSSS_213:SSSS_141,padding:1};}},"scrollbar/slider":{alias:SSSS_181,style:function(states){return {padding:states.horizontal?[0,1,0,1]:[1,0,1,0]};}},"scrollbar/slider/knob":{include:SSSS_0,style:function(states){var decorator=states.horizontal?SSSS_51:SSSS_161;if(states.disabled){decorator+=SSSS_212;}return {decorator:decorator,minHeight:states.horizontal?undefined:9,minWidth:states.horizontal?9:undefined};}},"scrollbar/button":{alias:SSSS_0,include:SSSS_0,style:function(states){var icon=SSSS_101;if(states.left){icon+=SSSS_218;}else if(states.right){icon+=SSSS_96;}else if(states.up){icon+=SSSS_147;}else{icon+=SSSS_183;}if(states.left||states.right){return {padding:[0,0,0,states.left?3:4],icon:icon,width:15,height:14};}else{return {padding:[0,0,0,2],icon:icon,width:14,height:15};}}},"scrollbar/button-begin":SSSS_45,"scrollbar/button-end":SSSS_45,"slider":{style:function(states){var decorator;var focused=!!states.focused;var invalid=!!states.invalid;var disabled=!!states.disabled;if(focused&&invalid&&!disabled){decorator=SSSS_19;}else if(focused&&!invalid&&!disabled){decorator=SSSS_22;}else if(disabled){decorator=SSSS_17;}else if(!focused&&invalid&&!disabled){decorator=SSSS_15;}else{decorator=SSSS_16;}return {decorator:decorator};}},"slider/knob":{include:SSSS_0,style:function(states){return {decorator:states.disabled?SSSS_103:SSSS_51,shadow:undefined,height:14,width:14};}},"list":{alias:SSSS_140,style:function(states){var decorator;var focused=!!states.focused;var invalid=!!states.invalid;var disabled=!!states.disabled;if(focused&&invalid&&!disabled){decorator=SSSS_19;}else if(focused&&!invalid&&!disabled){decorator=SSSS_22;}else if(disabled){decorator=SSSS_17;}else if(!focused&&invalid&&!disabled){decorator=SSSS_15;}else{decorator=SSSS_16;}return {backgroundColor:SSSS_9,decorator:decorator};}},"list/pane":SSSS_2,"listitem":{alias:SSSS_1,style:function(states){var decorator;if(states.dragover){decorator=states.selected?SSSS_136:SSSS_139;}else{decorator=states.selected?SSSS_14:undefined;}return {padding:states.dragover?[4,4,2,4]:4,textColor:states.selected?SSSS_5:undefined,decorator:decorator};}},"slidebar":{},"slidebar/scrollpane":{},"slidebar/content":{},"slidebar/button-forward":{alias:SSSS_0,include:SSSS_0,style:function(states){return {padding:5,center:true,icon:states.vertical?SSSS_12:SSSS_35};}},"slidebar/button-backward":{alias:SSSS_0,include:SSSS_0,style:function(states){return {padding:5,center:true,icon:states.vertical?SSSS_71:SSSS_52};}},"tabview":{style:function(states){return {contentPadding:16};}},"tabview/bar":{alias:SSSS_80,style:function(states){var result={marginBottom:states.barTop?-1:0,marginTop:states.barBottom?-4:0,marginLeft:states.barRight?-3:0,marginRight:states.barLeft?-1:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0};if(states.barTop||states.barBottom){result.paddingLeft=5;result.paddingRight=7;}else{result.paddingTop=5;result.paddingBottom=7;}return result;}},"tabview/bar/button-forward":{include:SSSS_57,alias:SSSS_57,style:function(states){if(states.barTop||states.barBottom){return {marginTop:2,marginBottom:2};}else{return {marginLeft:2,marginRight:2};}}},"tabview/bar/button-backward":{include:SSSS_64,alias:SSSS_64,style:function(states){if(states.barTop||states.barBottom){return {marginTop:2,marginBottom:2};}else{return {marginLeft:2,marginRight:2};}}},"tabview/bar/scrollpane":{},"tabview/pane":{style:function(states){return {decorator:SSSS_169,minHeight:100,marginBottom:states.barBottom?-1:0,marginTop:states.barTop?-1:0,marginLeft:states.barLeft?-1:0,marginRight:states.barRight?-1:0};}},"tabview-page":SSSS_2,"tabview-page/button":{alias:SSSS_1,style:function(states){var decorator,padding=0;var marginTop=0,marginBottom=0,marginLeft=0,marginRight=0;if(states.checked){if(states.barTop){decorator=SSSS_184;padding=[6,14];marginLeft=states.firstTab?0:-5;marginRight=states.lastTab?0:-5;}else if(states.barBottom){decorator=SSSS_206;padding=[6,14];marginLeft=states.firstTab?0:-5;marginRight=states.lastTab?0:-5;}else if(states.barRight){decorator=SSSS_211;padding=[6,13];marginTop=states.firstTab?0:-5;marginBottom=states.lastTab?0:-5;}else{decorator=SSSS_190;padding=[6,13];marginTop=states.firstTab?0:-5;marginBottom=states.lastTab?0:-5;}}else{if(states.barTop){decorator=SSSS_116;padding=[4,10];marginTop=4;marginLeft=states.firstTab?5:1;marginRight=1;}else if(states.barBottom){decorator=SSSS_97;padding=[4,10];marginBottom=4;marginLeft=states.firstTab?5:1;marginRight=1;}else if(states.barRight){decorator=SSSS_125;padding=[4,10];marginRight=5;marginTop=states.firstTab?5:1;marginBottom=1;marginLeft=1;}else{decorator=SSSS_117;padding=[4,10];marginLeft=5;marginTop=states.firstTab?5:1;marginBottom=1;marginRight=1;}}return {zIndex:states.checked?10:5,decorator:decorator,padding:padding,marginTop:marginTop,marginBottom:marginBottom,marginLeft:marginLeft,marginRight:marginRight,textColor:states.checked?SSSS_151:SSSS_90};}},"tabview-page/button/close-button":{alias:SSSS_1,style:function(states){return {icon:SSSS_133};}},"toolbar":{style:function(states){return {decorator:SSSS_162,spacing:2};}},"toolbar/part":{style:function(states){return {decorator:SSSS_191,spacing:2};}},"toolbar/part/container":{style:function(states){return {paddingLeft:2,paddingRight:2};}},"toolbar/part/handle":{style:function(states){return {source:SSSS_143,marginLeft:3,marginRight:3};}},"toolbar-button":{alias:SSSS_1,style:function(states){return {marginTop:2,marginBottom:2,padding:(states.pressed||states.checked||states.hovered)&&!states.disabled||(states.disabled&&states.checked)?3:5,decorator:states.pressed||(states.checked&&!states.hovered)||(states.checked&&states.disabled)?SSSS_119:states.hovered&&!states.disabled?SSSS_153:undefined};}},"toolbar-menubutton":{alias:SSSS_20,include:SSSS_20,style:function(states){return {showArrow:true};}},"toolbar-menubutton/arrow":{alias:SSSS_6,include:SSSS_6,style:function(states){return {source:SSSS_62};}},"toolbar-splitbutton":{style:function(states){return {marginTop:2,marginBottom:2};}},"toolbar-splitbutton/button":{alias:SSSS_20,include:SSSS_20,style:function(states){return {icon:SSSS_12,marginTop:undefined,marginBottom:undefined};}},"toolbar-splitbutton/arrow":{alias:SSSS_20,include:SSSS_20,style:function(states){return {padding:states.pressed||states.checked?1:states.hovered?1:3,icon:SSSS_12,marginTop:undefined,marginBottom:undefined};}},"toolbar-separator":{style:function(states){return {decorator:SSSS_205,margin:7};}},"tree":SSSS_25,"tree-item":{style:function(states){return {padding:[2,6],textColor:states.selected?SSSS_5:undefined,decorator:states.selected?SSSS_14:undefined};}},"tree-item/icon":{include:SSSS_6,style:function(states){return {paddingRight:5};}},"tree-item/label":SSSS_34,"tree-item/open":{include:SSSS_6,style:function(states){var icon;if(states.selected&&states.opened){icon=SSSS_120;}else if(states.selected&&!states.opened){icon=SSSS_149;}else if(states.opened){icon=SSSS_60;}else{icon=SSSS_50;}return {padding:[0,5,0,2],source:icon};}},"tree-folder":{include:SSSS_26,alias:SSSS_26,style:function(states){var icon;if(states.small){icon=states.opened?SSSS_75:SSSS_48;}else if(states.large){icon=states.opened?SSSS_185:SSSS_204;}else{icon=states.opened?SSSS_194:SSSS_186;}return {icon:icon};}},"tree-file":{include:SSSS_26,alias:SSSS_26,style:function(states){return {icon:states.small?SSSS_68:states.large?SSSS_167:SSSS_144};}},"treevirtual":SSSS_70,"treevirtual-folder":{style:function(states){return {icon:states.opened?SSSS_75:SSSS_48};}},"treevirtual-file":{include:SSSS_66,alias:SSSS_66,style:function(states){return {icon:SSSS_68};}},"treevirtual-line":{style:function(states){return {icon:SSSS_44};}},"treevirtual-contract":{style:function(states){return {icon:SSSS_60,paddingLeft:5,paddingTop:2};}},"treevirtual-expand":{style:function(states){return {icon:SSSS_50,paddingLeft:5,paddingTop:2};}},"treevirtual-only-contract":SSSS_27,"treevirtual-only-expand":SSSS_32,"treevirtual-start-contract":SSSS_27,"treevirtual-start-expand":SSSS_32,"treevirtual-end-contract":SSSS_27,"treevirtual-end-expand":SSSS_32,"treevirtual-cross-contract":SSSS_27,"treevirtual-cross-expand":SSSS_32,"treevirtual-end":{style:function(states){return {icon:SSSS_44};}},"treevirtual-cross":{style:function(states){return {icon:SSSS_44};}},"tooltip":{include:SSSS_23,style:function(states){return {backgroundColor:SSSS_102,padding:[1,3,2,3],offset:[15,5,5,5]};}},"tooltip/atom":SSSS_1,"tooltip-error":{include:SSSS_24,style:function(states){return {textColor:SSSS_5,placeMethod:SSSS_2,offset:[0,0,0,14],marginTop:-2,position:SSSS_41,showTimeout:100,hideTimeout:10000,decorator:SSSS_98,shadow:SSSS_81,font:SSSS_7};}},"tooltip-error/atom":SSSS_1,"window":{style:function(states){return {shadow:SSSS_94,contentPadding:[10,10,10,10]};}},"window/pane":{style:function(states){return {decorator:SSSS_177};}},"window/captionbar":{style:function(states){return {decorator:states.active?SSSS_159:SSSS_198,textColor:states.active?SSSS_38:SSSS_178,minHeight:26,paddingRight:2};}},"window/icon":{style:function(states){return {margin:[5,0,3,6]};}},"window/title":{style:function(states){return {alignY:SSSS_8,font:SSSS_7,marginLeft:6,marginRight:12};}},"window/minimize-button":{alias:SSSS_1,style:function(states){return {icon:states.active?states.hovered?SSSS_113:SSSS_126:SSSS_122,margin:[4,8,2,0]};}},"window/restore-button":{alias:SSSS_1,style:function(states){return {icon:states.active?states.hovered?SSSS_93:SSSS_164:SSSS_127,margin:[5,8,2,0]};}},"window/maximize-button":{alias:SSSS_1,style:function(states){return {icon:states.active?states.hovered?SSSS_77:SSSS_187:SSSS_138,margin:[4,8,2,0]};}},"window/close-button":{alias:SSSS_1,style:function(states){return {icon:states.active?states.hovered?SSSS_132:SSSS_108:SSSS_189,margin:[4,8,2,0]};}},"window/statusbar":{style:function(states){return {padding:[2,6],decorator:SSSS_99,minHeight:18};}},"window/statusbar-text":{style:function(states){return {font:SSSS_210};}},"iframe":{style:function(states){return {decorator:SSSS_3};}},"resizer":{style:function(states){return {decorator:SSSS_216};}},"splitpane":{style:function(states){return {decorator:SSSS_129};}},"splitpane/splitter":{style:function(states){return {width:states.horizontal?3:undefined,height:states.vertical?3:undefined,backgroundColor:SSSS_58};}},"splitpane/splitter/knob":{style:function(states){return {source:states.horizontal?SSSS_203:SSSS_192};}},"splitpane/slider":{style:function(states){return {width:states.horizontal?3:undefined,height:states.vertical?3:undefined,backgroundColor:SSSS_58};}},"selectbox":{alias:SSSS_0,include:SSSS_0,style:function(states){return {padding:[2,8]};}},"selectbox/atom":SSSS_1,"selectbox/popup":SSSS_23,"selectbox/list":{alias:SSSS_25},"selectbox/arrow":{include:SSSS_6,style:function(states){return {source:SSSS_12,paddingLeft:5};}},"datechooser":{style:function(states){var decorator;var focused=!!states.focused;var invalid=!!states.invalid;var disabled=!!states.disabled;if(focused&&invalid&&!disabled){decorator=SSSS_19;}else if(focused&&!invalid&&!disabled){decorator=SSSS_22;}else if(disabled){decorator=SSSS_17;}else if(!focused&&invalid&&!disabled){decorator=SSSS_15;}else{decorator=SSSS_16;}return {padding:2,decorator:decorator,backgroundColor:SSSS_9};}},"datechooser/navigation-bar":{},"datechooser/nav-button":{include:SSSS_0,alias:SSSS_0,style:function(states){var result={padding:[2,4],shadow:undefined};if(states.lastYear){result.icon=SSSS_170;result.marginRight=1;}else if(states.lastMonth){result.icon=SSSS_52;}else if(states.nextYear){result.icon=SSSS_157;result.marginLeft=1;}else if(states.nextMonth){result.icon=SSSS_35;}return result;}},"datechooser/last-year-button-tooltip":SSSS_24,"datechooser/last-month-button-tooltip":SSSS_24,"datechooser/next-year-button-tooltip":SSSS_24,"datechooser/next-month-button-tooltip":SSSS_24,"datechooser/last-year-button":SSSS_29,"datechooser/last-month-button":SSSS_29,"datechooser/next-month-button":SSSS_29,"datechooser/next-year-button":SSSS_29,"datechooser/month-year-label":{style:function(states){return {font:SSSS_7,textAlign:SSSS_31,textColor:states.disabled?SSSS_10:undefined};}},"datechooser/date-pane":{style:function(states){return {textColor:states.disabled?SSSS_10:undefined,marginTop:2};}},"datechooser/weekday":{style:function(states){return {textColor:states.disabled?SSSS_10:states.weekend?SSSS_54:undefined,textAlign:SSSS_31,paddingTop:2,backgroundColor:SSSS_69};}},"datechooser/week":{style:function(states){return {textAlign:SSSS_31,padding:[2,4],backgroundColor:SSSS_69};}},"datechooser/day":{style:function(states){return {textAlign:SSSS_31,decorator:states.disabled?undefined:states.selected?SSSS_14:undefined,textColor:states.disabled?SSSS_10:states.selected?SSSS_5:states.otherMonth?SSSS_54:undefined,font:states.today?SSSS_7:undefined,padding:[2,4]};}},"combobox":{style:function(states){var decorator;var focused=!!states.focused;var invalid=!!states.invalid;var disabled=!!states.disabled;if(focused&&invalid&&!disabled){decorator=SSSS_19;}else if(focused&&!invalid&&!disabled){decorator=SSSS_22;}else if(disabled){decorator=SSSS_17;}else if(!focused&&invalid&&!disabled){decorator=SSSS_15;}else{decorator=SSSS_16;}return {decorator:decorator};}},"combobox/popup":SSSS_23,"combobox/list":{alias:SSSS_25},"combobox/button":{include:SSSS_0,alias:SSSS_0,style:function(states){var ret={icon:SSSS_12,padding:2};if(states.selected){ret.decorator=SSSS_53;}return ret;}},"combobox/textfield":{include:SSSS_33,style:function(states){return {decorator:undefined};}},"menu":{style:function(states){var result={decorator:SSSS_87,shadow:SSSS_67,spacingX:6,spacingY:1,iconColumnWidth:16,arrowColumnWidth:4,placementModeY:states.submenu||states.contextmenu?SSSS_148:SSSS_182};if(states.submenu){result.position=SSSS_41;result.offset=[-2,-3];}return result;}},"menu/slidebar":SSSS_118,"menu-slidebar":SSSS_2,"menu-slidebar-button":{style:function(states){return {decorator:states.hovered?SSSS_14:undefined,padding:7,center:true};}},"menu-slidebar/button-backward":{include:SSSS_55,style:function(states){return {icon:states.hovered?SSSS_209:SSSS_71};}},"menu-slidebar/button-forward":{include:SSSS_55,style:function(states){return {icon:states.hovered?SSSS_201:SSSS_12};}},"menu-separator":{style:function(states){return {height:0,decorator:SSSS_215,margin:[4,2]};}},"menu-button":{alias:SSSS_1,style:function(states){return {decorator:states.selected?SSSS_14:undefined,textColor:states.selected?SSSS_5:undefined,padding:[4,6]};}},"menu-button/icon":{include:SSSS_6,style:function(states){return {alignY:SSSS_8};}},"menu-button/label":{include:SSSS_34,style:function(states){return {alignY:SSSS_8,padding:1};}},"menu-button/shortcut":{include:SSSS_34,style:function(states){return {alignY:SSSS_8,marginLeft:14,padding:1};}},"menu-button/arrow":{include:SSSS_6,style:function(states){return {source:states.selected?SSSS_217:SSSS_35,alignY:SSSS_8};}},"menu-checkbox":{alias:SSSS_18,include:SSSS_18,style:function(states){return {icon:!states.checked?undefined:states.selected?SSSS_142:SSSS_202};}},"menu-radiobutton":{alias:SSSS_18,include:SSSS_18,style:function(states){return {icon:!states.checked?undefined:states.selected?SSSS_179:SSSS_156};}},"menubar":{style:function(states){return {decorator:SSSS_114};}},"menubar-button":{alias:SSSS_1,style:function(states){return {decorator:states.pressed||states.hovered?SSSS_14:undefined,textColor:states.pressed||states.hovered?SSSS_5:undefined,padding:[3,8]};}},"colorselector":SSSS_2,"colorselector/control-bar":SSSS_2,"colorselector/control-pane":SSSS_2,"colorselector/visual-pane":SSSS_11,"colorselector/preset-grid":SSSS_2,"colorselector/colorbucket":{style:function(states){return {decorator:SSSS_3,width:16,height:16};}},"colorselector/preset-field-set":SSSS_11,"colorselector/input-field-set":SSSS_11,"colorselector/preview-field-set":SSSS_11,"colorselector/hex-field-composite":SSSS_2,"colorselector/hex-field":SSSS_33,"colorselector/rgb-spinner-composite":SSSS_2,"colorselector/rgb-spinner-red":SSSS_21,"colorselector/rgb-spinner-green":SSSS_21,"colorselector/rgb-spinner-blue":SSSS_21,"colorselector/hsb-spinner-composite":SSSS_2,"colorselector/hsb-spinner-hue":SSSS_21,"colorselector/hsb-spinner-saturation":SSSS_21,"colorselector/hsb-spinner-brightness":SSSS_21,"colorselector/preview-content-old":{style:function(states){return {decorator:SSSS_3,width:50,height:10};}},"colorselector/preview-content-new":{style:function(states){return {decorator:SSSS_3,backgroundColor:SSSS_9,width:50,height:10};}},"colorselector/hue-saturation-field":{style:function(states){return {decorator:SSSS_3,margin:5};}},"colorselector/brightness-field":{style:function(states){return {decorator:SSSS_3,margin:[5,7]};}},"colorselector/hue-saturation-pane":SSSS_2,"colorselector/hue-saturation-handle":SSSS_2,"colorselector/brightness-pane":SSSS_2,"colorselector/brightness-handle":SSSS_2,"colorpopup":{alias:SSSS_23,include:SSSS_23,style:function(states){return {padding:5,backgroundColor:SSSS_36};}},"colorpopup/field":{style:function(states){return {decorator:SSSS_3,margin:2,width:14,height:14,backgroundColor:SSSS_9};}},"colorpopup/selector-button":SSSS_4,"colorpopup/auto-button":SSSS_4,"colorpopup/preview-pane":SSSS_11,"colorpopup/current-preview":{style:function(state){return {height:20,padding:4,marginLeft:4,decorator:SSSS_3,allowGrowX:true};}},"colorpopup/selected-preview":{style:function(state){return {height:20,padding:4,marginRight:4,decorator:SSSS_3,allowGrowX:true};}},"colorpopup/colorselector-okbutton":{alias:SSSS_4,include:SSSS_4,style:function(states){return {icon:SSSS_174};}},"colorpopup/colorselector-cancelbutton":{alias:SSSS_4,include:SSSS_4,style:function(states){return {icon:SSSS_115};}},"table":{alias:SSSS_2,style:function(states){return {decorator:SSSS_70};}},"table-header":{},"table/statusbar":{style:function(states){return {decorator:SSSS_196,padding:[0,2]};}},"table/column-button":{alias:SSSS_0,style:function(states){return {decorator:SSSS_95,padding:3,icon:SSSS_155};}},"table-column-reset-button":{include:SSSS_18,alias:SSSS_18,style:function(){return {icon:SSSS_219};}},"table-scroller":SSSS_2,"table-scroller/scrollbar-x":SSSS_28,"table-scroller/scrollbar-y":SSSS_28,"table-scroller/header":{style:function(states){return {decorator:SSSS_104};}},"table-scroller/pane":{style:function(states){return {backgroundColor:SSSS_107};}},"table-scroller/focus-indicator":{style:function(states){return {decorator:SSSS_82};}},"table-scroller/resize-line":{style:function(states){return {backgroundColor:SSSS_137,width:2};}},"table-header-cell":{alias:SSSS_1,style:function(states){return {minWidth:13,minHeight:20,padding:states.hovered?[3,4,2,4]:[3,4],decorator:states.hovered?SSSS_176:SSSS_86,sortIcon:states.sorted?(states.sortedAscending?SSSS_208:SSSS_158):undefined};}},"table-header-cell/label":{style:function(states){return {minWidth:0,alignY:SSSS_8,paddingRight:5};}},"table-header-cell/sort-icon":{style:function(states){return {alignY:SSSS_8,alignX:SSSS_46};}},"table-header-cell/icon":{style:function(states){return {minWidth:0,alignY:SSSS_8,paddingRight:5};}},"table-editor-textfield":{include:SSSS_33,style:function(states){return {decorator:undefined,padding:[2,2],backgroundColor:SSSS_9};}},"table-editor-selectbox":{include:SSSS_65,alias:SSSS_65,style:function(states){return {padding:[0,2],backgroundColor:SSSS_9};}},"table-editor-combobox":{include:SSSS_40,alias:SSSS_40,style:function(states){return {decorator:undefined,backgroundColor:SSSS_9};}},"progressive-table-header":{alias:SSSS_2,style:function(states){return {decorator:SSSS_154};}},"progressive-table-header-cell":{alias:SSSS_1,style:function(states){return {minWidth:40,minHeight:25,paddingLeft:6,decorator:SSSS_214};}},"app-header":{style:function(states){return {font:SSSS_7,textColor:SSSS_5,padding:[8,12],decorator:SSSS_88};}},"virtual-list":SSSS_25,"virtual-list/row-layer":SSSS_89,"row-layer":{style:function(states){return {colorEven:SSSS_38,colorOdd:SSSS_173};}},"column-layer":SSSS_2,"cell":{style:function(states){return {textColor:states.selected?SSSS_5:SSSS_49,padding:[3,6],font:SSSS_61};}},"cell-string":SSSS_13,"cell-number":{include:SSSS_13,style:function(states){return {textAlign:SSSS_46};}},"cell-image":SSSS_13,"cell-boolean":{include:SSSS_13,style:function(states){return {iconTrue:SSSS_85,iconFalse:SSSS_165};}},"cell-atom":SSSS_13,"cell-date":SSSS_13,"cell-html":SSSS_13,"htmlarea":{"include":SSSS_2,style:function(states){return {backgroundColor:SSSS_38};}}}});})();(function(){var SSSS_0="blueprint.theme.Appearance";qx.Theme.define(SSSS_0,{extend:qx.theme.modern.Appearance,appearances:{}});})();(function(){var SSSS_0="changeModel",SSSS_1="qx.ui.form.MModelProperty";qx.Mixin.define(SSSS_1,{properties:{model:{nullable:true,event:SSSS_0}}});})();(function(){var SSSS_0="qx.ui.form.IRadioItem",SSSS_1="qx.event.type.Data";qx.Interface.define(SSSS_0,{events:{"changeValue":SSSS_1},members:{setValue:function(value){},getValue:function(){},setGroup:function(value){this.assertInstance(value,qx.ui.form.RadioGroup);},getGroup:function(){}}});})();(function(){var SSSS_0="qx.ui.form.IModel",SSSS_1="qx.event.type.Data";qx.Interface.define(SSSS_0,{events:{"changeModel":SSSS_1},members:{setModel:function(value){},getModel:function(){},resetModel:function(){}}});})();(function(){var SSSS_0="checked",SSSS_1="keypress",SSSS_2="Boolean",SSSS_3="Right",SSSS_4="qx.debug",SSSS_5="_applyValue",SSSS_6="changeValue",SSSS_7="qx.ui.form.RadioButton",SSSS_8="radiobutton",SSSS_9="Left",SSSS_10="on",SSSS_11="Down",SSSS_12="_applyGroup",SSSS_13="Up",SSSS_14="execute",SSSS_15="qx.ui.form.RadioGroup";qx.Class.define(SSSS_7,{extend:qx.ui.form.Button,include:[qx.ui.form.MForm,qx.ui.form.MModelProperty],implement:[qx.ui.form.IRadioItem,qx.ui.form.IForm,qx.ui.form.IBooleanForm,qx.ui.form.IModel],construct:function(label){if(qx.core.Variant.isSet(SSSS_4,SSSS_10)){this.assertArgumentsCount(arguments,0,1);}arguments.callee.base.call(this,label);this.addListener(SSSS_14,this._onExecute);this.addListener(SSSS_1,this._onKeyPress);},properties:{group:{check:SSSS_15,nullable:true,apply:SSSS_12},value:{check:SSSS_2,nullable:true,event:SSSS_6,apply:SSSS_5,init:false},appearance:{refine:true,init:SSSS_8},allowGrowX:{refine:true,init:false}},members:{_applyValue:function(value,old){value?this.addState(SSSS_0):this.removeState(SSSS_0);if(value&&this.getFocusable()){this.focus();}},_applyGroup:function(value,old){if(old){old.remove(this);}if(value){value.add(this);}},_onExecute:function(e){this.setValue(true);},_onKeyPress:function(e){var grp=this.getGroup();if(!grp){return;}switch(e.getKeyIdentifier()){case SSSS_9:case SSSS_13:grp.selectPrevious();break;case SSSS_3:case SSSS_11:grp.selectNext();break;}}}});})();(function(){var SSSS_0="blueprint.ui.form.RadioButton",SSSS_1="String";qx.Class.define(SSSS_0,{extend:qx.ui.form.RadioButton,include:[blueprint.MBlueprintManager,blueprint.ui.form.MSubmitElement],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{blueprintRadioGroup:{check:SSSS_1,init:null}},members:{postContainerConstruct:function(vData,namespace,skipRecursion,self){if(self.getBlueprintNamespace()!=null&&self.getBlueprintRadioGroup()!=null){blueprint.util.Registry.getInstance().get(self,self.getBlueprintRadioGroup()).add(self);}}},destruct:function(){}});})();(function(){var SSSS_0="__mo",SSSS_1="qx.ui.core.MSingleSelectionHandling",SSSS_2="changeSelection",SSSS_3="changeSelected",SSSS_4="qx.event.type.Data";qx.Mixin.define(SSSS_1,{events:{"changeSelection":SSSS_4},members:{__mo:null,getSelection:function(){var selected=this.__mp().getSelected();if(selected){return [selected];}else{return [];}},setSelection:function(items){if(!this.getEnabled()){this.warn("Setting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to selectiong the given items."));this.trace();}switch(items.length){case 0:this.resetSelection();break;case 1:this.__mp().setSelected(items[0]);break;default:throw new Error("Could only select one item, but the selection "+" array contains "+items.length+" items!");}},resetSelection:function(){if(!this.getEnabled()){this.warn("Resetting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to reset the selection."));this.trace();}this.__mp().resetSelected();},isSelected:function(item){return this.__mp().isSelected(item);},isSelectionEmpty:function(){return this.__mp().isSelectionEmpty();},getSelectables:function(){return this.__mp().getSelectables();},_onChangeSelected:function(e){var newValue=e.getData();var oldVlaue=e.getOldData();newValue==null?newValue=[]:newValue=[newValue];oldVlaue==null?oldVlaue=[]:oldVlaue=[oldVlaue];this.fireDataEvent(SSSS_2,newValue,oldVlaue);},__mp:function(){if(this.__mo==null){var that=this;this.__mo=new qx.ui.core.SingleSelectionManager({getItems:function(){return that._getItems();},isItemSelectable:function(item){if(that._isItemSelectable){return that._isItemSelectable(item);}else{return item.isEnabled()&&item.isVisible();}}});this.__mo.addListener(SSSS_3,this._onChangeSelected,this);}this.__mo.setAllowEmptySelection(this._isAllowEmptySelection());return this.__mo;}},destruct:function(){this._disposeObjects(SSSS_0);}});})();(function(){var SSSS_0="Boolean",SSSS_1="changeValue",SSSS_2="__mq",SSSS_3="_applyAllowEmptySelection",SSSS_4="_applyInvalidMessage",SSSS_5="qx.ui.form.RadioGroup",SSSS_6="_applyValid",SSSS_7="",SSSS_8="changeRequired",SSSS_9="changeValid",SSSS_10="changeEnabled",SSSS_11="changeInvalidMessage",SSSS_12="changeSelection",SSSS_13="_applyEnabled",SSSS_14="String";qx.Class.define(SSSS_5,{extend:qx.core.Object,implement:[qx.ui.core.ISingleSelection,qx.ui.form.IForm,qx.ui.form.IModelSelection],include:[qx.ui.core.MSingleSelectionHandling,qx.ui.form.MModelSelection],construct:function(varargs){arguments.callee.base.call(this);this.__mq=[];this.addListener(SSSS_12,this.__mr,this);if(varargs!=null){this.add.apply(this,arguments);}},properties:{enabled:{check:SSSS_0,apply:SSSS_13,event:SSSS_10,init:true},wrap:{check:SSSS_0,init:true},allowEmptySelection:{check:SSSS_0,init:false,apply:SSSS_3},valid:{check:SSSS_0,init:true,apply:SSSS_6,event:SSSS_9},required:{check:SSSS_0,init:false,event:SSSS_8},invalidMessage:{check:SSSS_14,init:SSSS_7,event:SSSS_11,apply:SSSS_4}},members:{__mq:null,getItems:function(){return this.__mq;},add:function(varargs){var items=this.__mq;var item;for(var i=0,l=arguments.length;i<l;i++){item=arguments[i];if(qx.lang.Array.contains(items,item)){continue;}item.addListener(SSSS_1,this._onItemChangeChecked,this);items.push(item);item.setGroup(this);if(item.getValue()){this.setSelection([item]);}}if(!this.isAllowEmptySelection()&&items.length>0&&!this.getSelection()[0]){this.setSelection([items[0]]);}},remove:function(item){var items=this.__mq;if(qx.lang.Array.contains(items,item)){qx.lang.Array.remove(items,item);if(item.getGroup()===this){item.resetGroup();}item.removeListener(SSSS_1,this._onItemChangeChecked,this);if(item.getValue()){this.resetSelection();}}},getChildren:function(){return this.__mq;},_onItemChangeChecked:function(e){var item=e.getTarget();if(item.getValue()){this.setSelection([item]);}else if(this.getSelection()[0]==item){this.resetSelection();}},_applyInvalidMessage:function(value,old){for(var i=0;i<this.__mq.length;i++){this.__mq[i].setInvalidMessage(value);}},_applyValid:function(value,old){for(var i=0;i<this.__mq.length;i++){this.__mq[i].setValid(value);}},_applyEnabled:function(value,old){var items=this.__mq;if(value==null){for(var i=0,l=items.length;i<l;i++){items[i].resetEnabled();}}else{for(var i=0,l=items.length;i<l;i++){items[i].setEnabled(value);}}},_applyAllowEmptySelection:function(value,old){if(!value&&this.isSelectionEmpty()){this.resetSelection();}},selectNext:function(){var item=this.getSelection()[0];var items=this.__mq;var index=items.indexOf(item);if(index==-1){return;}var i=0;var length=items.length;if(this.getWrap()){index=(index+1)%length;}else{index=Math.min(index+1,length-1);}while(i<length&&!items[index].getEnabled()){index=(index+1)%length;i++;}this.setSelection([items[index]]);},selectPrevious:function(){var item=this.getSelection()[0];var items=this.__mq;var index=items.indexOf(item);if(index==-1){return;}var i=0;var length=items.length;if(this.getWrap()){index=(index-1+length)%length;}else{index=Math.max(index-1,0);}while(i<length&&!items[index].getEnabled()){index=(index-1+length)%length;i++;}this.setSelection([items[index]]);},_getItems:function(){return this.getItems();},_isAllowEmptySelection:function(){return this.isAllowEmptySelection();},__mr:function(e){var value=e.getData()[0];var old=e.getOldData()[0];if(old){old.setValue(false);}if(value){value.setValue(true);}}},destruct:function(){this._disposeArray(SSSS_2);}});})();(function(){var SSSS_0="__ms",SSSS_1="Boolean",SSSS_2="qx.ui.core.SingleSelectionManager",SSSS_3="qx.debug",SSSS_4="Invalid selectionProvider!",SSSS_5="__mt",SSSS_6="__mu",SSSS_7="changeSelected",SSSS_8="on",SSSS_9="qx.event.type.Data";qx.Class.define(SSSS_2,{extend:qx.core.Object,construct:function(selectionProvider){arguments.callee.base.call(this);if(qx.core.Variant.isSet(SSSS_3,SSSS_8)){qx.core.Assert.assertInterface(selectionProvider,qx.ui.core.ISingleSelectionProvider,SSSS_4);}this.__ms=selectionProvider;},events:{"changeSelected":SSSS_9},properties:{allowEmptySelection:{check:SSSS_1,init:true,apply:SSSS_6}},members:{__mt:null,__ms:null,getSelected:function(){return this.__mt;},setSelected:function(item){if(!this.__mw(item)){throw new Error("Could not select "+item+", because it is not a child element!");}this.__mv(item);},resetSelected:function(){this.__mv(null);},isSelected:function(item){if(!this.__mw(item)){throw new Error("Could not check if "+item+" is selected,"+" because it is not a child element!");}return this.__mt===item;},isSelectionEmpty:function(){return this.__mt==null;},getSelectables:function(){var items=this.__ms.getItems();var result=[];for(var i=0;i<items.length;i++){if(this.__ms.isItemSelectable(items[i])){result.push(items[i]);}}return result;},__mu:function(value,old){if(!value){this.__mv(this.__mt);}},__mv:function(item){var oldSelected=this.__mt;var newSelected=item;if(newSelected!=null&&oldSelected===newSelected){return;}if(!this.isAllowEmptySelection()&&newSelected==null){var firstElement=this.getSelectables()[0];if(firstElement){newSelected=firstElement;}}this.__mt=newSelected;this.fireDataEvent(SSSS_7,newSelected,oldSelected);},__mw:function(item){var items=this.__ms.getItems();for(var i=0;i<items.length;i++){if(items[i]===item){return true;}}return false;}},destruct:function(){if(this.__ms.toHashCode){this._disposeObjects(SSSS_0);}else{this.__ms=null;}this._disposeObjects(SSSS_5);}});})();(function(){var SSSS_0="qx.ui.core.ISingleSelectionProvider";qx.Interface.define(SSSS_0,{members:{getItems:function(){},isItemSelectable:function(item){}}});})();(function(){var SSSS_0="red",SSSS_1="background-light",SSSS_2="repeat-x",SSSS_3="border-invalid",SSSS_4="blueprint/decoration/highlight-red/highlight-red.png",SSSS_5="blueprint/decoration/highlight-yellow/highlight-yellow.png",SSSS_6="decoration/form/input.png",SSSS_7="decoration/form/input-focused.png",SSSS_8="border-focused",SSSS_9="blueprint/decoration/highlight-green/highlight-green.png",SSSS_10="background-invalid",SSSS_11="blueprint/decoration/highlight-blue/highlight-blue.png",SSSS_12="blueprint.theme.Decoration";qx.Theme.define(SSSS_12,{extend:qx.theme.modern.Decoration,decorations:{"invalid":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_3,innerColor:SSSS_3,innerOpacity:0.5,backgroundColor:SSSS_10}},"input-invalid":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_0,innerOpacity:0.5,backgroundImage:SSSS_6,backgroundRepeat:SSSS_2,backgroundColor:SSSS_1}},"input-invalid-focused":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_0,innerColor:SSSS_8,backgroundImage:SSSS_7,backgroundRepeat:SSSS_2,backgroundColor:SSSS_1}},"highlight-blue":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_11,insets:[10,10,10,10]}},"highlight-green":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_9,insets:[10,10,10,10]}},"highlight-red":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_4,insets:[10,10,10,10]}},"highlight-yellow":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_5,insets:[10,10,10,10]}}}});})();(function(){var SSSS_0="Function",SSSS_1="Boolean",SSSS_2="column-button",SSSS_3="qx.event.type.Data",SSSS_4="statusbar",SSSS_5="qx.ui.table.pane.CellEvent",SSSS_6="PageUp",SSSS_7="changeLocale",SSSS_8="changeSelection",SSSS_9="qx.dynlocale",SSSS_10="Enter",SSSS_11="metaDataChanged",SSSS_12="dataChanged",SSSS_13="__mH",SSSS_14="on",SSSS_15="_applyStatusBarVisible",SSSS_16="columnVisibilityMenuCreateStart",SSSS_17="blur",SSSS_18="qx.ui.table.Table",SSSS_19="columnVisibilityMenuCreateEnd",SSSS_20="__mF",SSSS_21="Use 'resetSelection' instead.",SSSS_22="verticalScrollBarChanged",SSSS_23="_applyMetaColumnCounts",SSSS_24="one of one row",SSSS_25="focus",SSSS_26="changeDataRowRenderer",SSSS_27="changeHeaderCellHeight",SSSS_28="Escape",SSSS_29="A",SSSS_30="changeSelectionModel",SSSS_31="Left",SSSS_32="Down",SSSS_33="Integer",SSSS_34="_applyHeaderCellHeight",SSSS_35="visibilityChanged",SSSS_36="qx.ui.table.ITableModel",SSSS_37="orderChanged",SSSS_38="_applySelectionModel",SSSS_39="menu",SSSS_40="_applyAdditionalStatusBarText",SSSS_41="_applyFocusCellOnMouseMove",SSSS_42="table",SSSS_43="_applyColumnVisibilityButtonVisible",SSSS_44="changeTableModel",SSSS_45="qx.event.type.Event",SSSS_46="tableWidthChanged",SSSS_47="End",SSSS_48="Object",SSSS_49="_applyShowCellFocusIndicator",SSSS_50="resize",SSSS_51="changeScrollY",SSSS_52="_applyTableModel",SSSS_53="__mx",SSSS_54="menu-button",SSSS_55="_applyKeepFirstVisibleRowComplete",SSSS_56="widthChanged",SSSS_57="Home",SSSS_58="_applyRowHeight",SSSS_59="F2",SSSS_60="appear",SSSS_61="Up",SSSS_62="%1 rows",SSSS_63="qx.ui.table.selection.Model",SSSS_64="__mG",SSSS_65="one row",SSSS_66="PageDown",SSSS_67="%1 of %2 rows",SSSS_68="keypress",SSSS_69="changeRowHeight",SSSS_70="__my",SSSS_71="Number",SSSS_72="changeVisible",SSSS_73="qx.ui.table.IRowRenderer",SSSS_74="Right",SSSS_75="Space";qx.Class.define(SSSS_18,{extend:qx.ui.core.Widget,construct:function(tableModel,custom){arguments.callee.base.call(this);if(!custom){custom={};}if(custom.selectionManager){this.setNewSelectionManager(custom.selectionManager);}if(custom.selectionModel){this.setNewSelectionModel(custom.selectionModel);}if(custom.tableColumnModel){this.setNewTableColumnModel(custom.tableColumnModel);}if(custom.tablePane){this.setNewTablePane(custom.tablePane);}if(custom.tablePaneHeader){this.setNewTablePaneHeader(custom.tablePaneHeader);}if(custom.tablePaneScroller){this.setNewTablePaneScroller(custom.tablePaneScroller);}if(custom.tablePaneModel){this.setNewTablePaneModel(custom.tablePaneModel);}if(custom.columnMenu){this.setNewColumnMenu(custom.columnMenu);}this._setLayout(new qx.ui.layout.VBox());this.__mx=new qx.ui.container.Composite(new qx.ui.layout.HBox());this._add(this.__mx,{flex:1});this.setDataRowRenderer(new qx.ui.table.rowrenderer.Default(this));this.__my=this.getNewSelectionManager()(this);this.setSelectionModel(this.getNewSelectionModel()(this));this.setTableModel(tableModel||this.getEmptyTableModel());this.setMetaColumnCounts([-1]);this.setTabIndex(1);this.addListener(SSSS_68,this._onKeyPress);this.addListener(SSSS_25,this._onFocusChanged);this.addListener(SSSS_17,this._onFocusChanged);var spacer=new qx.ui.core.Widget().set({height:0});this._add(spacer);spacer.addListener(SSSS_50,this._onResize,this);this.__mz=null;this.__mA=null;if(qx.core.Variant.isSet(SSSS_9,SSSS_14)){qx.locale.Manager.getInstance().addListener(SSSS_7,this._onChangeLocale,this);}this.initStatusBarVisible();},events:{"columnVisibilityMenuCreateStart":SSSS_3,"columnVisibilityMenuCreateEnd":SSSS_3,"tableWidthChanged":SSSS_45,"verticalScrollBarChanged":SSSS_3,"cellClick":SSSS_5,"cellDblclick":SSSS_5,"cellContextmenu":SSSS_5,"dataEdited":SSSS_3},statics:{__mB:{cellClick:1,cellDblclick:1,cellContextmenu:1}},properties:{appearance:{refine:true,init:SSSS_42},focusable:{refine:true,init:true},minWidth:{refine:true,init:50},selectable:{refine:true,init:false},selectionModel:{check:SSSS_63,apply:SSSS_38,event:SSSS_30},tableModel:{check:SSSS_36,apply:SSSS_52,event:SSSS_44},rowHeight:{check:SSSS_71,init:20,apply:SSSS_58,event:SSSS_69},forceLineHeight:{check:SSSS_1,init:true},headerCellHeight:{check:SSSS_33,init:16,apply:SSSS_34,event:SSSS_27,nullable:true},statusBarVisible:{check:SSSS_1,init:true,apply:SSSS_15},additionalStatusBarText:{nullable:true,init:null,apply:SSSS_40},columnVisibilityButtonVisible:{check:SSSS_1,init:true,apply:SSSS_43},metaColumnCounts:{check:SSSS_48,apply:SSSS_23},focusCellOnMouseMove:{check:SSSS_1,init:false,apply:SSSS_41},rowFocusChangeModifiesSelection:{check:SSSS_1,init:true},showCellFocusIndicator:{check:SSSS_1,init:true,apply:SSSS_49},keepFirstVisibleRowComplete:{check:SSSS_1,init:true,apply:SSSS_55},alwaysUpdateCells:{check:SSSS_1,init:false},dataRowRenderer:{check:SSSS_73,init:null,nullable:true,event:SSSS_26},modalCellEditorPreOpenFunction:{check:SSSS_0,init:null,nullable:true},newColumnMenu:{check:SSSS_0,init:function(){return new qx.ui.table.columnmenu.Button();}},newSelectionManager:{check:SSSS_0,init:function(obj){return new qx.ui.table.selection.Manager(obj);}},newSelectionModel:{check:SSSS_0,init:function(obj){return new qx.ui.table.selection.Model(obj);}},newTableColumnModel:{check:SSSS_0,init:function(table){return new qx.ui.table.columnmodel.Basic(table);}},newTablePane:{check:SSSS_0,init:function(obj){return new qx.ui.table.pane.Pane(obj);}},newTablePaneHeader:{check:SSSS_0,init:function(obj){return new qx.ui.table.pane.Header(obj);}},newTablePaneScroller:{check:SSSS_0,init:function(obj){return new qx.ui.table.pane.Scroller(obj);}},newTablePaneModel:{check:SSSS_0,init:function(columnModel){return new qx.ui.table.pane.Model(columnModel);}}},members:{__mz:null,__mA:null,__mx:null,__my:null,__mC:null,__mD:null,__mE:null,__mF:null,__mG:null,__mH:null,_createChildControlImpl:function(id){var control;switch(id){case SSSS_4:control=new qx.ui.basic.Label();control.set({allowGrowX:true});this._add(control);break;case SSSS_2:control=this.getNewColumnMenu()();control.set({focusable:false});var menu=control.factory(SSSS_39,{table:this});menu.addListener(SSSS_60,this._initColumnMenu,this);break;}return control||arguments.callee.base.call(this,id);},_applySelectionModel:function(value,old){this.__my.setSelectionModel(value);if(old!=null){old.removeListener(SSSS_8,this._onSelectionChanged,this);}value.addListener(SSSS_8,this._onSelectionChanged,this);},_applyRowHeight:function(value,old){var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].updateVerScrollBarMaximum();}},_applyHeaderCellHeight:function(value,old){var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].getHeader().setHeight(value);}},getEmptyTableModel:function(){if(!this.__mH){this.__mH=new qx.ui.table.model.Simple();this.__mH.setColumns([]);this.__mH.setData([]);}return this.__mH;},_applyTableModel:function(value,old){this.getTableColumnModel().init(value.getColumnCount(),this);if(old!=null){old.removeListener(SSSS_11,this._onTableModelMetaDataChanged,this);old.removeListener(SSSS_12,this._onTableModelDataChanged,this);}value.addListener(SSSS_11,this._onTableModelMetaDataChanged,this);value.addListener(SSSS_12,this._onTableModelDataChanged,this);this._updateStatusBar();this._updateTableData(0,value.getRowCount(),0,value.getColumnCount());this._onTableModelMetaDataChanged();},getTableColumnModel:function(){if(!this.__mG){var columnModel=this.__mG=this.getNewTableColumnModel()(this);columnModel.addListener(SSSS_35,this._onColVisibilityChanged,this);columnModel.addListener(SSSS_56,this._onColWidthChanged,this);columnModel.addListener(SSSS_37,this._onColOrderChanged,this);var tableModel=this.getTableModel();columnModel.init(tableModel.getColumnCount(),this);var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){var paneScroller=scrollerArr[i];var paneModel=paneScroller.getTablePaneModel();paneModel.setTableColumnModel(columnModel);}}return this.__mG;},_applyStatusBarVisible:function(value,old){if(value){this._showChildControl(SSSS_4);}else{this._excludeChildControl(SSSS_4);}if(value){this._updateStatusBar();}},_applyAdditionalStatusBarText:function(value,old){this.__mC=value;this._updateStatusBar();},_applyColumnVisibilityButtonVisible:function(value,old){if(value){this._showChildControl(SSSS_2);}else{this._excludeChildControl(SSSS_2);}},_applyMetaColumnCounts:function(value,old){var metaColumnCounts=value;var scrollerArr=this._getPaneScrollerArr();var handlers={};if(value>old){var manager=qx.event.Registration.getManager(scrollerArr[0]);for(var evName in qx.ui.table.Table.__mB){handlers[evName]={};handlers[evName].capture=manager.getListeners(scrollerArr[0],evName,true);handlers[evName].bubble=manager.getListeners(scrollerArr[0],evName,false);}}this._cleanUpMetaColumns(metaColumnCounts.length);var leftX=0;for(var i=0;i<scrollerArr.length;i++){var paneScroller=scrollerArr[i];var paneModel=paneScroller.getTablePaneModel();paneModel.setFirstColumnX(leftX);paneModel.setMaxColumnCount(metaColumnCounts[i]);leftX+=metaColumnCounts[i];}if(metaColumnCounts.length>scrollerArr.length){var columnModel=this.getTableColumnModel();for(var i=scrollerArr.length;i<metaColumnCounts.length;i++){var paneModel=this.getNewTablePaneModel()(columnModel);paneModel.setFirstColumnX(leftX);paneModel.setMaxColumnCount(metaColumnCounts[i]);leftX+=metaColumnCounts[i];var paneScroller=this.getNewTablePaneScroller()(this);paneScroller.setTablePaneModel(paneModel);paneScroller.addListener(SSSS_51,this._onScrollY,this);for(evName in qx.ui.table.Table.__mB){if(!handlers[evName]){break;}if(handlers[evName].capture&&handlers[evName].capture.length>0){var capture=handlers[evName].capture;for(var i=0;i<capture.length;i++){var context=capture[i].context;if(!context){context=this;}else if(context==scrollerArr[0]){context=paneScroller;}paneScroller.addListener(evName,capture[i].handler,context,true);}}if(handlers[evName].bubble&&handlers[evName].bubble.length>0){var bubble=handlers[evName].bubble;for(var i=0;i<bubble.length;i++){var context=bubble[i].context;if(!context){context=this;}else if(context==scrollerArr[0]){context=paneScroller;}paneScroller.addListener(evName,bubble[i].handler,context,false);}}}var flex=(i==metaColumnCounts.length-1)?1:0;this.__mx.add(paneScroller,{flex:flex});scrollerArr=this._getPaneScrollerArr();}}for(var i=0;i<scrollerArr.length;i++){var paneScroller=scrollerArr[i];var isLast=(i==(scrollerArr.length-1));paneScroller.getHeader().setHeight(this.getHeaderCellHeight());paneScroller.setTopRightWidget(isLast?this.getChildControl(SSSS_2):null);}if(!this.isColumnVisibilityButtonVisible()){this._excludeChildControl(SSSS_2);}this._updateScrollerWidths();this._updateScrollBarVisibility();},_applyFocusCellOnMouseMove:function(value,old){var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].setFocusCellOnMouseMove(value);}},_applyShowCellFocusIndicator:function(value,old){var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].setShowCellFocusIndicator(value);}},_applyKeepFirstVisibleRowComplete:function(value,old){var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].onKeepFirstVisibleRowCompleteChanged();}},getSelectionManager:function(){return this.__my;},_getPaneScrollerArr:function(){return this.__mx.getChildren();},getPaneScroller:function(metaColumn){return this._getPaneScrollerArr()[metaColumn];},_cleanUpMetaColumns:function(fromMetaColumn){var scrollerArr=this._getPaneScrollerArr();if(scrollerArr!=null){for(var i=scrollerArr.length-1;i>=fromMetaColumn;i--){scrollerArr[i].destroy();}}},_onChangeLocale:function(evt){this.updateContent();this._updateStatusBar();},_onSelectionChanged:function(evt){var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].onSelectionChanged();}this._updateStatusBar();},_onTableModelMetaDataChanged:function(evt){var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].onTableModelMetaDataChanged();}this._updateStatusBar();},_onTableModelDataChanged:function(evt){var data=evt.getData();this._updateTableData(data.firstRow,data.lastRow,data.firstColumn,data.lastColumn,data.removeStart,data.removeCount);},_updateTableData:function(firstRow,lastRow,firstColumn,lastColumn,removeStart,removeCount){var scrollerArr=this._getPaneScrollerArr();if(removeCount){this.getSelectionModel().removeSelectionInterval(removeStart,removeStart+removeCount);}for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].onTableModelDataChanged(firstRow,lastRow,firstColumn,lastColumn);}var rowCount=this.getTableModel().getRowCount();if(rowCount!=this.__mD){this.__mD=rowCount;this._updateScrollBarVisibility();this._updateStatusBar();}},_onScrollY:function(evt){if(!this.__mE){this.__mE=true;var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].setScrollY(evt.getData());}this.__mE=false;}},_onKeyPress:function(evt){if(!this.getEnabled()){return;}var oldFocusedRow=this.__mA;var consumed=true;var identifier=evt.getKeyIdentifier();if(this.isEditing()){if(evt.getModifiers()==0){switch(identifier){case SSSS_10:this.stopEditing();var oldFocusedRow=this.__mA;this.moveFocusedCell(0,1);if(this.__mA!=oldFocusedRow){consumed=this.startEditing();}break;case SSSS_28:this.cancelEditing();this.focus();break;default:consumed=false;break;}}return;}else{if(evt.isCtrlPressed()){consumed=true;switch(identifier){case SSSS_29:var rowCount=this.getTableModel().getRowCount();if(rowCount>0){this.getSelectionModel().setSelectionInterval(0,rowCount-1);}break;default:consumed=false;break;}}else{switch(identifier){case SSSS_75:this.__my.handleSelectKeyDown(this.__mA,evt);break;case SSSS_59:case SSSS_10:consumed=this.startEditing();break;case SSSS_57:this.setFocusedCell(this.__mz,0,true);break;case SSSS_47:var rowCount=this.getTableModel().getRowCount();this.setFocusedCell(this.__mz,rowCount-1,true);break;case SSSS_31:this.moveFocusedCell(-1,0);break;case SSSS_74:this.moveFocusedCell(1,0);break;case SSSS_61:this.moveFocusedCell(0,-1);break;case SSSS_32:this.moveFocusedCell(0,1);break;case SSSS_6:case SSSS_66:var scroller=this.getPaneScroller(0);var pane=scroller.getTablePane();var rowCount=pane.getVisibleRowCount()-1;var rowHeight=this.getRowHeight();var direction=(identifier==SSSS_6)?-1:1;scroller.setScrollY(scroller.getScrollY()+direction*rowCount*rowHeight);this.moveFocusedCell(0,direction*rowCount);break;default:consumed=false;}}}if(oldFocusedRow!=this.__mA&&this.getRowFocusChangeModifiesSelection()){this.__my.handleMoveKeyDown(this.__mA,evt);}if(consumed){evt.preventDefault();evt.stopPropagation();}},_onFocusChanged:function(evt){var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].onFocusChanged();}},_onColVisibilityChanged:function(evt){var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].onColVisibilityChanged();}var data=evt.getData();if(this.__mF!=null&&data.col!=null&&data.visible!=null){this.__mF[data.col].setVisible(data.visible);}this._updateScrollerWidths();this._updateScrollBarVisibility();},_onColWidthChanged:function(evt){var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){var data=evt.getData();scrollerArr[i].setColumnWidth(data.col,data.newWidth);}this._updateScrollerWidths();this._updateScrollBarVisibility();},_onColOrderChanged:function(evt){var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].onColOrderChanged();}this._updateScrollerWidths();this._updateScrollBarVisibility();},getTablePaneScrollerAtPageX:function(pageX){var metaCol=this._getMetaColumnAtPageX(pageX);return (metaCol!=-1)?this.getPaneScroller(metaCol):null;},setFocusedCell:function(col,row,scrollVisible){if(!this.isEditing()&&(col!=this.__mz||row!=this.__mA)){if(col===null){col=0;}this.__mz=col;this.__mA=row;var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].setFocusedCell(col,row);}if(col!==null&&scrollVisible){this.scrollCellVisible(col,row);}}},resetSelection:function(){this.getSelectionModel().resetSelection();},clearSelection:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_21);this.resetSelection();},resetCellFocus:function(){this.setFocusedCell(null,null,false);},getFocusedColumn:function(){return this.__mz;},getFocusedRow:function(){return this.__mA;},highlightFocusedRow:function(bHighlight){this.getDataRowRenderer().setHighlightFocusRow(bHighlight);},clearFocusedRowHighlight:function(){this.resetCellFocus();var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].onFocusChanged();}},moveFocusedCell:function(deltaX,deltaY){var col=this.__mz;var row=this.__mA;if(col===null||row===null){return;}if(deltaX!=0){var columnModel=this.getTableColumnModel();var x=columnModel.getVisibleX(col);var colCount=columnModel.getVisibleColumnCount();x=qx.lang.Number.limit(x+deltaX,0,colCount-1);col=columnModel.getVisibleColumnAtX(x);}if(deltaY!=0){var tableModel=this.getTableModel();row=qx.lang.Number.limit(row+deltaY,0,tableModel.getRowCount()-1);}this.setFocusedCell(col,row,true);},scrollCellVisible:function(col,row){var columnModel=this.getTableColumnModel();var x=columnModel.getVisibleX(col);var metaColumn=this._getMetaColumnAtColumnX(x);if(metaColumn!=-1){this.getPaneScroller(metaColumn).scrollCellVisible(col,row);}},isEditing:function(){if(this.__mz!=null){var x=this.getTableColumnModel().getVisibleX(this.__mz);var metaColumn=this._getMetaColumnAtColumnX(x);return this.getPaneScroller(metaColumn).isEditing();}return false;},startEditing:function(){if(this.__mz!=null){var x=this.getTableColumnModel().getVisibleX(this.__mz);var metaColumn=this._getMetaColumnAtColumnX(x);var started=this.getPaneScroller(metaColumn).startEditing();return started;}return false;},stopEditing:function(){if(this.__mz!=null){var x=this.getTableColumnModel().getVisibleX(this.__mz);var metaColumn=this._getMetaColumnAtColumnX(x);this.getPaneScroller(metaColumn).stopEditing();}},cancelEditing:function(){if(this.__mz!=null){var x=this.getTableColumnModel().getVisibleX(this.__mz);var metaColumn=this._getMetaColumnAtColumnX(x);this.getPaneScroller(metaColumn).cancelEditing();}},updateContent:function(){var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){scrollerArr[i].getTablePane().updateContent();}},_getMetaColumnAtPageX:function(pageX){var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){var pos=scrollerArr[i].getContainerLocation();if(pageX>=pos.left&&pageX<=pos.right){return i;}}return -1;},_getMetaColumnAtColumnX:function(visXPos){var metaColumnCounts=this.getMetaColumnCounts();var rightXPos=0;for(var i=0;i<metaColumnCounts.length;i++){var counts=metaColumnCounts[i];rightXPos+=counts;if(counts==-1||visXPos<rightXPos){return i;}}return -1;},_updateStatusBar:function(){var tableModel=this.getTableModel();if(this.getStatusBarVisible()){var selectedRowCount=this.getSelectionModel().getSelectedCount();var rowCount=tableModel.getRowCount();var text;if(rowCount>=0){if(selectedRowCount==0){text=this.trn(SSSS_65,SSSS_62,rowCount,rowCount);}else{text=this.trn(SSSS_24,SSSS_67,rowCount,selectedRowCount,rowCount);}}if(this.__mC){if(text){text+=this.__mC;}else{text=this.__mC;}}if(text){this.getChildControl(SSSS_4).setValue(text);}}},_updateScrollerWidths:function(){var scrollerArr=this._getPaneScrollerArr();for(var i=0;i<scrollerArr.length;i++){var isLast=(i==(scrollerArr.length-1));var width=scrollerArr[i].getTablePaneModel().getTotalWidth();scrollerArr[i].setPaneWidth(width);var flex=isLast?1:0;scrollerArr[i].setLayoutProperties({flex:flex});}},_updateScrollBarVisibility:function(){if(!this.getBounds()){return;}var horBar=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;var verBar=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;var scrollerArr=this._getPaneScrollerArr();var horNeeded=false;var verNeeded=false;for(var i=0;i<scrollerArr.length;i++){var isLast=(i==(scrollerArr.length-1));var bars=scrollerArr[i].getNeededScrollBars(horNeeded,!isLast);if(bars&horBar){horNeeded=true;}if(isLast&&(bars&verBar)){verNeeded=true;}}for(var i=0;i<scrollerArr.length;i++){var isLast=(i==(scrollerArr.length-1));var bHadVerticalScrollBar;scrollerArr[i].setHorizontalScrollBarVisible(horNeeded);if(isLast){bHadVerticalScrollBar=scrollerArr[i].getVerticalScrollBarVisible();}scrollerArr[i].setVerticalScrollBarVisible(isLast&&verNeeded);if(isLast&&verNeeded!=bHadVerticalScrollBar){this.fireDataEvent(SSSS_22,verNeeded);}}},_initColumnMenu:function(){var tableModel=this.getTableModel();var columnModel=this.getTableColumnModel();var columnButton=this.getChildControl(SSSS_2);columnButton.empty();var menu=columnButton.getMenu();var data={table:this,menu:menu,columnButton:columnButton};this.fireDataEvent(SSSS_16,data);this.__mF={};for(var col=0,l=tableModel.getColumnCount();col<l;col++){var menuButton=columnButton.factory(SSSS_54,{text:tableModel.getColumnName(col),column:col,bVisible:columnModel.isColumnVisible(col)});qx.core.Assert.assertInterface(menuButton,qx.ui.table.IColumnMenuItem);menuButton.addListener(SSSS_72,this._createColumnVisibilityCheckBoxHandler(col),this);this.__mF[col]=menuButton;}var data={table:this,menu:menu,columnButton:columnButton};this.fireDataEvent(SSSS_19,data);},_createColumnVisibilityCheckBoxHandler:function(col){return function(evt){var columnModel=this.getTableColumnModel();columnModel.setColumnVisible(col,evt.getData());};},setColumnWidth:function(col,width){this.getTableColumnModel().setColumnWidth(col,width);},_onResize:function(){this.fireEvent(SSSS_46);this._updateScrollerWidths();this._updateScrollBarVisibility();},addListener:function(type,listener,self,capture){if(arguments.callee.self.__mB[type]){for(var i=0,arr=this._getPaneScrollerArr();i<arr.length;i++){arr[i].addListener.apply(arr[i],arguments);}}else{return arguments.callee.base.call(this,type,listener,self,capture);}},removeListener:function(type,listener,self,capture){if(arguments.callee.self.__mB[type]){for(var i=0,arr=this._getPaneScrollerArr();i<arr.length;i++){arr[i].removeListener.apply(arr[i],arguments);}}else{arguments.callee.base.call(this,type,listener,self,capture);}},destroy:function(){this.getChildControl(SSSS_2).getMenu().destroy();arguments.callee.base.call(this);}},destruct:function(){if(qx.core.Variant.isSet(SSSS_9,SSSS_14)){qx.locale.Manager.getInstance().removeListener(SSSS_7,this._onChangeLocale,this);}var selectionModel=this.getSelectionModel();if(selectionModel){selectionModel.dispose();}var dataRowRenderer=this.getDataRowRenderer();if(dataRowRenderer){dataRowRenderer.dispose();}this._cleanUpMetaColumns(0);this.getTableColumnModel().dispose();this._disposeObjects(SSSS_70,SSSS_53,SSSS_13,SSSS_13,SSSS_64);this._disposeMap(SSSS_20);}});})();(function(){var SSSS_0="blueprint.ui.table.Table";qx.Class.define(SSSS_0,{extend:qx.ui.table.Table,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){var tableModel=blueprint.Manager.getInstance().generate(vData.components.tableModel,this,namespace);arguments.callee.base.call(this,tableModel);this.set(vData.qxSettings);},members:{},destruct:function(){}});})();(function(){var SSSS_0="qx.ui.table.IRowRenderer";qx.Interface.define(SSSS_0,{members:{updateDataRowElement:function(rowInfo,rowElement){},getRowHeightStyle:function(height){},createRowStyle:function(rowInfo){},getRowClass:function(rowInfo){}}});})();(function(){var SSSS_0="",SSSS_1="table-row-background-even",SSSS_2="table-row-background-selected",SSSS_3="table-row",SSSS_4="background-color:",SSSS_5="table-row-background-focused",SSSS_6=';border-bottom: 1px solid ',SSSS_7=';color:',SSSS_8="table-row-selected",SSSS_9="table-row-background-odd",SSSS_10="default",SSSS_11="table-row-background-focused-selected",SSSS_12="qx.ui.table.rowrenderer.Default",SSSS_13="table-row-line",SSSS_14="'",SSSS_15="height:",SSSS_16=";",SSSS_17="px;",SSSS_18="1px solid ",SSSS_19="Boolean";qx.Class.define(SSSS_12,{extend:qx.core.Object,implement:qx.ui.table.IRowRenderer,construct:function(){arguments.callee.base.call(this);this.__mI=SSSS_0;this.__mI={};this.__mJ={};this._renderFont(qx.theme.manager.Font.getInstance().resolve(SSSS_10));var colorMgr=qx.theme.manager.Color.getInstance();this.__mJ.bgcolFocusedSelected=colorMgr.resolve(SSSS_11);this.__mJ.bgcolFocused=colorMgr.resolve(SSSS_5);this.__mJ.bgcolSelected=colorMgr.resolve(SSSS_2);this.__mJ.bgcolEven=colorMgr.resolve(SSSS_1);this.__mJ.bgcolOdd=colorMgr.resolve(SSSS_9);this.__mJ.colSelected=colorMgr.resolve(SSSS_8);this.__mJ.colNormal=colorMgr.resolve(SSSS_3);this.__mJ.horLine=colorMgr.resolve(SSSS_13);},properties:{highlightFocusRow:{check:SSSS_19,init:true}},members:{__mJ:null,__mK:null,__mI:null,_insetY:1,_renderFont:function(font){if(font){this.__mK=font.getStyles();this.__mI=qx.bom.element.Style.compile(this.__mK);this.__mI=this.__mI.replace(/"/g,SSSS_14);}else{this.__mI=SSSS_0;this.__mK=qx.bom.Font.getDefaultStyles();}},updateDataRowElement:function(rowInfo,rowElem){var fontStyle=this.__mK;var style=rowElem.style;qx.bom.element.Style.setStyles(rowElem,fontStyle);if(rowInfo.focusedRow&&this.getHighlightFocusRow()){style.backgroundColor=rowInfo.selected?this.__mJ.bgcolFocusedSelected:this.__mJ.bgcolFocused;}else{if(rowInfo.selected){style.backgroundColor=this.__mJ.bgcolSelected;}else{style.backgroundColor=(rowInfo.row%2==0)?this.__mJ.bgcolEven:this.__mJ.bgcolOdd;}}style.color=rowInfo.selected?this.__mJ.colSelected:this.__mJ.colNormal;style.borderBottom=SSSS_18+this.__mJ.horLine;},getRowHeightStyle:function(height){if(qx.bom.client.Feature.CONTENT_BOX){height-=this._insetY;}return SSSS_15+height+SSSS_17;},createRowStyle:function(rowInfo){var rowStyle=[];rowStyle.push(SSSS_16);rowStyle.push(this.__mI);rowStyle.push(SSSS_4);if(rowInfo.focusedRow&&this.getHighlightFocusRow()){rowStyle.push(rowInfo.selected?this.__mJ.bgcolFocusedSelected:this.__mJ.bgcolFocused);}else{if(rowInfo.selected){rowStyle.push(this.__mJ.bgcolSelected);}else{rowStyle.push((rowInfo.row%2==0)?this.__mJ.bgcolEven:this.__mJ.bgcolOdd);}}rowStyle.push(SSSS_7);rowStyle.push(rowInfo.selected?this.__mJ.colSelected:this.__mJ.colNormal);rowStyle.push(SSSS_6,this.__mJ.horLine);return rowStyle.join(SSSS_0);},getRowClass:function(rowInfo){return SSSS_0;}},destruct:function(){this.__mJ=this.__mK=this.__mI=null;}});})();(function(){var SSSS_0="pressed",SSSS_1="hovered",SSSS_2="changeVisibility",SSSS_3="qx.ui.menu.Menu",SSSS_4="submenu",SSSS_5="Enter",SSSS_6="contextmenu",SSSS_7="changeMenu",SSSS_8="qx.ui.form.MenuButton",SSSS_9="abandoned",SSSS_10="_applyMenu";qx.Class.define(SSSS_8,{extend:qx.ui.form.Button,construct:function(label,icon,menu){arguments.callee.base.call(this,label,icon);if(menu!=null){this.setMenu(menu);}},properties:{menu:{check:SSSS_3,nullable:true,apply:SSSS_10,event:SSSS_7}},members:{_applyMenu:function(value,old){if(old){old.removeListener(SSSS_2,this._onMenuChange,this);old.resetOpener();}if(value){value.addListener(SSSS_2,this._onMenuChange,this);value.setOpener(this);value.removeState(SSSS_4);value.removeState(SSSS_6);}},open:function(selectFirst){var menu=this.getMenu();if(menu){qx.ui.menu.Manager.getInstance().hideAll();menu.setOpener(this);menu.open();if(selectFirst){var first=menu.getSelectables()[0];if(first){menu.setSelectedButton(first);}}}},_onMenuChange:function(e){var menu=this.getMenu();if(menu.isVisible()){this.addState(SSSS_0);}else{this.removeState(SSSS_0);}},_onMouseDown:function(e){var menu=this.getMenu();if(menu){if(!menu.isVisible()){this.open();}else{menu.exclude();}e.stopPropagation();}},_onMouseUp:function(e){arguments.callee.base.call(this,e);e.stopPropagation();},_onMouseOver:function(e){this.addState(SSSS_1);},_onMouseOut:function(e){this.removeState(SSSS_1);},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case SSSS_5:this.removeState(SSSS_9);this.addState(SSSS_0);var menu=this.getMenu();if(menu){if(!menu.isVisible()){this.open();}else{menu.exclude();}}e.stopPropagation();}},_onKeyUp:function(e){}},destruct:function(){if(this.getMenu()){if(!qx.core.ObjectRegistry.inShutDown){this.getMenu().destroy();}}}});})();(function(){var SSSS_0="qx.ui.table.IColumnMenuButton";qx.Interface.define(SSSS_0,{properties:{menu:{}},members:{factory:function(item,options){return true;},empty:function(){return true;}}});})();(function(){var SSSS_0="menu-button",SSSS_1="table-column-reset-button",SSSS_2="separator",SSSS_3="user-button",SSSS_4="qx.ui.table.columnmenu.Button",SSSS_5="menu";qx.Class.define(SSSS_4,{extend:qx.ui.form.MenuButton,implement:qx.ui.table.IColumnMenuButton,construct:function(){arguments.callee.base.call(this);},members:{__mL:null,factory:function(item,options){switch(item){case SSSS_5:var menu=new qx.ui.menu.Menu();this.setMenu(menu);return menu;case SSSS_0:var menuButton=new qx.ui.table.columnmenu.MenuItem(options.text);menuButton.setVisible(options.bVisible);this.getMenu().add(menuButton);return menuButton;case SSSS_3:var button=new qx.ui.menu.Button(options.text);button.set({appearance:SSSS_1});return button;case SSSS_2:return new qx.ui.menu.Separator();default:throw new Error("Unrecognized factory request: "+item);}},empty:function(){var menu=this.getMenu();var entries=menu.getChildren();for(var i=0,l=entries.length;i<l;i++){entries[0].destroy();}}}});})();(function(){var SSSS_0="keypress",SSSS_1="qx.debug",SSSS_2="interval",SSSS_3="keydown",SSSS_4="on",SSSS_5="mousedown",SSSS_6="keyup",SSSS_7="blur",SSSS_8="Enter",SSSS_9="__mM",SSSS_10="Up",SSSS_11="__mO",SSSS_12="__mN",SSSS_13="Escape",SSSS_14="qx.ui.menu.Manager",SSSS_15="Left",SSSS_16="Down",SSSS_17="Right",SSSS_18="singleton",SSSS_19="Space";qx.Class.define(SSSS_14,{type:SSSS_18,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.__mM=[];var el=document.body;var Registration=qx.event.Registration;Registration.addListener(window.document.documentElement,SSSS_5,this._onMouseDown,this,true);Registration.addListener(el,SSSS_3,this._onKeyUpDown,this,true);Registration.addListener(el,SSSS_6,this._onKeyUpDown,this,true);Registration.addListener(el,SSSS_0,this._onKeyPress,this,true);qx.bom.Element.addListener(window,SSSS_7,this.hideAll,this);this.__mN=new qx.event.Timer;this.__mN.addListener(SSSS_2,this._onOpenInterval,this);this.__mO=new qx.event.Timer;this.__mO.addListener(SSSS_2,this._onCloseInterval,this);},members:{__mP:null,__mQ:null,__mN:null,__mO:null,__mM:null,_getChild:function(menu,start,iter,loop){var children=menu.getChildren();var length=children.length;var child;for(var i=start;i<length&&i>=0;i+=iter){child=children[i];if(child.isEnabled()&&!child.isAnonymous()){return child;}}if(loop){i=i==length?0:length-1;for(;i!=start;i+=iter){child=children[i];if(child.isEnabled()&&!child.isAnonymous()){return child;}}}return null;},_isInMenu:function(widget){while(widget){if(widget instanceof qx.ui.menu.Menu){return true;}widget=widget.getLayoutParent();}return false;},_getMenuButton:function(widget){while(widget){if(widget instanceof qx.ui.menu.AbstractButton){return widget;}widget=widget.getLayoutParent();}return null;},add:function(obj){if(qx.core.Variant.isSet(SSSS_1,SSSS_4)){if(!(obj instanceof qx.ui.menu.Menu)){throw new Error("Object is no menu: "+obj);}}var reg=this.__mM;reg.push(obj);obj.setZIndex(1e6+reg.length);},remove:function(obj){if(qx.core.Variant.isSet(SSSS_1,SSSS_4)){if(!(obj instanceof qx.ui.menu.Menu)){throw new Error("Object is no menu: "+obj);}}var reg=this.__mM;if(reg){qx.lang.Array.remove(reg,obj);}},hideAll:function(){var reg=this.__mM;if(reg){for(var i=reg.length-1;i>=0;i--){reg[i].exclude();}}},getActiveMenu:function(){var reg=this.__mM;return reg.length>0?reg[reg.length-1]:null;},scheduleOpen:function(menu){this.cancelClose(menu);if(menu.isVisible()){if(this.__mP){this.cancelOpen(this.__mP);}}else if(this.__mP!=menu){this.__mP=menu;this.__mN.restartWith(menu.getOpenInterval());}},scheduleClose:function(menu){this.cancelOpen(menu);if(!menu.isVisible()){if(this.__mQ){this.cancelClose(this.__mQ);}}else if(this.__mQ!=menu){this.__mQ=menu;this.__mO.restartWith(menu.getCloseInterval());}},cancelOpen:function(menu){if(this.__mP==menu){this.__mN.stop();this.__mP=null;}},cancelClose:function(menu){if(this.__mQ==menu){this.__mO.stop();this.__mQ=null;}},_onOpenInterval:function(e){this.__mN.stop();this.__mP.open();this.__mP=null;},_onCloseInterval:function(e){this.__mO.stop();this.__mQ.exclude();this.__mQ=null;},_onMouseDown:function(e){var target=e.getTarget();target=qx.ui.core.Widget.getWidgetByElement(target);if(target==null){this.hideAll();return;}if(target.getMenu&&target.getMenu()&&target.getMenu().isVisible()){return;}if(this.__mM.length>0&&!this._isInMenu(target)){this.hideAll();}},__mR:{"Enter":1,"Space":1},__mS:{"Escape":1,"Up":1,"Down":1,"Left":1,"Right":1},_onKeyUpDown:function(e){var menu=this.getActiveMenu();if(!menu){return;}var iden=e.getKeyIdentifier();if(this.__mS[iden]||(this.__mR[iden]&&menu.getSelectedButton())){e.stopPropagation();}},_onKeyPress:function(e){var menu=this.getActiveMenu();if(!menu){return;}var iden=e.getKeyIdentifier();var navigation=this.__mS[iden];var selection=this.__mR[iden];if(navigation){switch(iden){case SSSS_10:this._onKeyPressUp(menu);break;case SSSS_16:this._onKeyPressDown(menu);break;case SSSS_15:this._onKeyPressLeft(menu);break;case SSSS_17:this._onKeyPressRight(menu);break;case SSSS_13:this.hideAll();break;}e.stopPropagation();e.preventDefault();}else if(selection){var button=menu.getSelectedButton();if(button){switch(iden){case SSSS_8:this._onKeyPressEnter(menu,button,e);break;case SSSS_19:this._onKeyPressSpace(menu,button,e);break;}e.stopPropagation();e.preventDefault();}}},_onKeyPressUp:function(menu){var selectedButton=menu.getSelectedButton();var children=menu.getChildren();var start=selectedButton?menu.indexOf(selectedButton)-1:children.length-1;var nextItem=this._getChild(menu,start,-1,true);if(nextItem){menu.setSelectedButton(nextItem);}else{menu.resetSelectedButton();}},_onKeyPressDown:function(menu){var selectedButton=menu.getSelectedButton();var start=selectedButton?menu.indexOf(selectedButton)+1:0;var nextItem=this._getChild(menu,start,1,true);if(nextItem){menu.setSelectedButton(nextItem);}else{menu.resetSelectedButton();}},_onKeyPressLeft:function(menu){var menuOpener=menu.getOpener();if(!menuOpener){return;}if(menuOpener instanceof qx.ui.menu.Button){var parentMenu=menuOpener.getLayoutParent();parentMenu.resetOpenedButton();parentMenu.setSelectedButton(menuOpener);}else if(menuOpener instanceof qx.ui.menubar.Button){var buttons=menuOpener.getMenuBar().getMenuButtons();var index=buttons.indexOf(menuOpener);if(index===-1){return;}var prevButton=null;var length=buttons.length;for(var i=1;i<=length;i++){var button=buttons[(index-i+length)%length];if(button.isEnabled()){prevButton=button;break;}}if(prevButton&&prevButton!=menuOpener){prevButton.open(true);}}},_onKeyPressRight:function(menu){var selectedButton=menu.getSelectedButton();if(selectedButton){var subMenu=selectedButton.getMenu();if(subMenu){menu.setOpenedButton(selectedButton);var first=this._getChild(subMenu,0,1);if(first){subMenu.setSelectedButton(first);}return;}}else if(!menu.getOpenedButton()){var first=this._getChild(menu,0,1);if(first){menu.setSelectedButton(first);if(first.getMenu()){menu.setOpenedButton(first);}return;}}var menuOpener=menu.getOpener();if(menuOpener instanceof qx.ui.menu.Button&&selectedButton){while(menuOpener){menuOpener=menuOpener.getLayoutParent();if(menuOpener instanceof qx.ui.menu.Menu){menuOpener=menuOpener.getOpener();if(menuOpener instanceof qx.ui.menubar.Button){break;}}else{break;}}if(!menuOpener){return;}}if(menuOpener instanceof qx.ui.menubar.Button){var buttons=menuOpener.getMenuBar().getMenuButtons();var index=buttons.indexOf(menuOpener);if(index===-1){return;}var nextButton=null;var length=buttons.length;for(var i=1;i<=length;i++){var button=buttons[(index+i)%length];if(button.isEnabled()){nextButton=button;break;}}if(nextButton&&nextButton!=menuOpener){nextButton.open(true);}}},_onKeyPressEnter:function(menu,button,e){if(button.hasListener(SSSS_0)){var clone=e.clone();clone.setBubbles(false);clone.setTarget(button);button.dispatchEvent(clone);}this.hideAll();},_onKeyPressSpace:function(menu,button,e){if(button.hasListener(SSSS_0)){var clone=e.clone();clone.setBubbles(false);clone.setTarget(button);button.dispatchEvent(clone);}}},destruct:function(){var Registration=qx.event.Registration;var el=document.body;Registration.removeListener(window.document.documentElement,SSSS_5,this._onMouseDown,this,true);Registration.removeListener(el,SSSS_3,this._onKeyUpDown,this,true);Registration.removeListener(el,SSSS_6,this._onKeyUpDown,this,true);Registration.removeListener(el,SSSS_0,this._onKeyPress,this,true);this._disposeObjects(SSSS_12,SSSS_11);this._disposeArray(SSSS_9);}});})();(function(){var SSSS_0="slidebar",SSSS_1="Integer",SSSS_2="resize",SSSS_3="qx.ui.core.Widget",SSSS_4="selected",SSSS_5="visible",SSSS_6="Boolean",SSSS_7="mouseout",SSSS_8="excluded",SSSS_9="menu",SSSS_10="_applySelectedButton",SSSS_11="_applyOpenInterval",SSSS_12="_applySpacingY",SSSS_13="_blocker",SSSS_14="_applyCloseInterval",SSSS_15="_applyBlockerColor",SSSS_16="_applyIconColumnWidth",SSSS_17="mouseover",SSSS_18="qx.ui.menu.Menu",SSSS_19="Color",SSSS_20="Number",SSSS_21="_applyOpenedButton",SSSS_22="_applySpacingX",SSSS_23="_applyBlockerOpacity",SSSS_24="_applyArrowColumnWidth";qx.Class.define(SSSS_18,{extend:qx.ui.core.Widget,include:[qx.ui.core.MPlacement,qx.ui.core.MRemoteChildrenHandling],construct:function(){arguments.callee.base.call(this);this._setLayout(new qx.ui.menu.Layout);var root=this.getApplicationRoot();root.add(this);this.addListener(SSSS_17,this._onMouseOver);this.addListener(SSSS_7,this._onMouseOut);this.addListener(SSSS_2,this._onResize,this);root.addListener(SSSS_2,this._onResize,this);this._blocker=new qx.ui.core.Blocker(root);this.initVisibility();this.initKeepFocus();this.initKeepActive();},properties:{appearance:{refine:true,init:SSSS_9},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},visibility:{refine:true,init:SSSS_8},keepFocus:{refine:true,init:true},keepActive:{refine:true,init:true},spacingX:{check:SSSS_1,apply:SSSS_22,init:0,themeable:true},spacingY:{check:SSSS_1,apply:SSSS_12,init:0,themeable:true},iconColumnWidth:{check:SSSS_1,init:0,themeable:true,apply:SSSS_16},arrowColumnWidth:{check:SSSS_1,init:0,themeable:true,apply:SSSS_24},blockerColor:{check:SSSS_19,init:null,nullable:true,apply:SSSS_15,themeable:true},blockerOpacity:{check:SSSS_20,init:1,apply:SSSS_23,themeable:true},selectedButton:{check:SSSS_3,nullable:true,apply:SSSS_10},openedButton:{check:SSSS_3,nullable:true,apply:SSSS_21},opener:{check:SSSS_3,nullable:true},openInterval:{check:SSSS_1,themeable:true,init:250,apply:SSSS_11},closeInterval:{check:SSSS_1,themeable:true,init:250,apply:SSSS_14},blockBackground:{check:SSSS_6,themeable:true,init:false}},members:{__mT:null,__mU:null,_blocker:null,open:function(){if(this.getOpener()!=null){this.placeToWidget(this.getOpener());this.__mW();this.show();this._placementTarget=this.getOpener();}else{this.warn("The menu instance needs a configured 'opener' widget!");}},openAtMouse:function(e){this.placeToMouse(e);this.__mW();this.show();this._placementTarget={left:e.getDocumentLeft(),top:e.getDocumentTop()};},openAtPoint:function(point){this.placeToPoint(point);this.__mW();this.show();this._placementTarget=point;},addSeparator:function(){this.add(new qx.ui.menu.Separator);},getColumnSizes:function(){return this._getMenuLayout().getColumnSizes();},getSelectables:function(){var result=[];var children=this.getChildren();for(var i=0;i<children.length;i++){if(children[i].isEnabled()){result.push(children[i]);}}return result;},_applyIconColumnWidth:function(value,old){this._getMenuLayout().setIconColumnWidth(value);},_applyArrowColumnWidth:function(value,old){this._getMenuLayout().setArrowColumnWidth(value);},_applySpacingX:function(value,old){this._getMenuLayout().setColumnSpacing(value);},_applySpacingY:function(value,old){this._getMenuLayout().setSpacing(value);},_applyVisibility:function(value,old){arguments.callee.base.call(this,value,old);var mgr=qx.ui.menu.Manager.getInstance();if(value===SSSS_5){mgr.add(this);var parentMenu=this.getParentMenu();if(parentMenu){parentMenu.setOpenedButton(this.getOpener());}}else if(old===SSSS_5){mgr.remove(this);var parentMenu=this.getParentMenu();if(parentMenu&&parentMenu.getOpenedButton()==this.getOpener()){parentMenu.resetOpenedButton();}this.resetOpenedButton();this.resetSelectedButton();}this.__mV();},__mV:function(){if(this.isVisible()){if(this.getBlockBackground()){var zIndex=this.getZIndex();this._blocker.blockContent(zIndex-1);}}else{if(this._blocker.isContentBlocked()){this._blocker.unblockContent();}}},getParentMenu:function(){var widget=this.getOpener();if(!widget||!(widget instanceof qx.ui.menu.AbstractButton)){return null;}while(widget&&!(widget instanceof qx.ui.menu.Menu)){widget=widget.getLayoutParent();}return widget;},_applySelectedButton:function(value,old){if(old){old.removeState(SSSS_4);}if(value){value.addState(SSSS_4);}},_applyOpenedButton:function(value,old){if(old){old.getMenu().exclude();}if(value){value.getMenu().open();}},_applyBlockerColor:function(value,old){this._blocker.setColor(value);},_applyBlockerOpacity:function(value,old){this._blocker.setOpacity(value);},getChildrenContainer:function(){return this.getChildControl(SSSS_0,true)||this;},_createChildControlImpl:function(id){var control;switch(id){case SSSS_0:var control=new qx.ui.menu.MenuSlideBar();var layout=this._getLayout();this._setLayout(new qx.ui.layout.Grow());var slidebarLayout=control.getLayout();control.setLayout(layout);slidebarLayout.dispose();var children=qx.lang.Array.clone(this.getChildren());for(var i=0;i<children.length;i++){control.add(children[i]);}this.removeListener(SSSS_2,this._onResize,this);control.getChildrenContainer().addListener(SSSS_2,this._onResize,this);this._add(control);break;}return control||arguments.callee.base.call(this,id);},_getMenuLayout:function(){if(this.hasChildControl(SSSS_0)){return this.getChildControl(SSSS_0).getChildrenContainer().getLayout();}else{return this._getLayout();}},_getMenuBounds:function(){if(this.hasChildControl(SSSS_0)){return this.getChildControl(SSSS_0).getChildrenContainer().getBounds();}else{return this.getBounds();}},_computePlacementSize:function(){return this._getMenuBounds();},__mW:function(){var menuBounds=this._getMenuBounds();if(!menuBounds){this.addListenerOnce(SSSS_2,this.__mW,this);return;}var rootHeight=this.getLayoutParent().getBounds().height;var top=this.getLayoutProperties().top;var left=this.getLayoutProperties().left;if(top<0){this._assertSlideBar(function(){this.setHeight(menuBounds.height+top);this.moveTo(left,0);});}else if(top+menuBounds.height>rootHeight){this._assertSlideBar(function(){this.setHeight(rootHeight-top);});}else{this.setHeight(null);}},_assertSlideBar:function(callback){if(this.hasChildControl(SSSS_0)){return callback.call(this);}this.__mU=callback;qx.ui.core.queue.Widget.add(this);},syncWidget:function(){this.getChildControl(SSSS_0);if(this.__mU){this.__mU.call(this);delete this.__mU;}},_onResize:function(){if(this.isVisible()){var target=this._placementTarget;if(!target){return;}else if(target instanceof qx.ui.core.Widget){this.placeToWidget(target);}else if(target.top!==undefined){this.placeToPoint(target);}else{throw new Error("Unknown target: "+target);}this.__mW();}},_onMouseOver:function(e){var mgr=qx.ui.menu.Manager.getInstance();mgr.cancelClose(this);var target=e.getTarget();if(target.isEnabled()&&target instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(target);var subMenu=target.getMenu&&target.getMenu();if(subMenu){subMenu.setOpener(target);mgr.scheduleOpen(subMenu);this.__mT=subMenu;}else{var opened=this.getOpenedButton();if(opened){mgr.scheduleClose(opened.getMenu());}if(this.__mT){mgr.cancelOpen(this.__mT);this.__mT=null;}}}else if(!this.getOpenedButton()){this.resetSelectedButton();}},_onMouseOut:function(e){var mgr=qx.ui.menu.Manager.getInstance();if(!qx.ui.core.Widget.contains(this,e.getRelatedTarget())){var opened=this.getOpenedButton();opened?this.setSelectedButton(opened):this.resetSelectedButton();if(opened){mgr.cancelClose(opened.getMenu());}if(this.__mT){mgr.cancelOpen(this.__mT);}}}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){qx.ui.menu.Manager.getInstance().remove(this);}this.getApplicationRoot().removeListener(SSSS_2,this._onResize,this);this._placementTarget=null;this._disposeObjects(SSSS_13);}});})();(function(){var SSSS_0="Integer",SSSS_1="_applyLayoutChange",SSSS_2="qx.ui.menu.Layout";qx.Class.define(SSSS_2,{extend:qx.ui.layout.VBox,properties:{columnSpacing:{check:SSSS_0,init:0,apply:SSSS_1},spanColumn:{check:SSSS_0,init:1,nullable:true,apply:SSSS_1},iconColumnWidth:{check:SSSS_0,init:0,themeable:true,apply:SSSS_1},arrowColumnWidth:{check:SSSS_0,init:0,themeable:true,apply:SSSS_1}},members:{__mX:null,_computeSizeHint:function(){var children=this._getLayoutChildren();var child,sizes,spacing;var spanColumn=this.getSpanColumn();var columnSizes=this.__mX=[0,0,0,0];var columnSpacing=this.getColumnSpacing();var spanColumnWidth=0;var maxInset=0;for(var i=0,l=children.length;i<l;i++){child=children[i];if(child.isAnonymous()){continue;}sizes=child.getChildrenSizes();for(var column=0;column<sizes.length;column++){if(spanColumn!=null&&column==spanColumn&&sizes[spanColumn+1]==0){spanColumnWidth=Math.max(spanColumnWidth,sizes[column]);}else{columnSizes[column]=Math.max(columnSizes[column],sizes[column]);}}var insets=children[i].getInsets();maxInset=Math.max(maxInset,insets.left+insets.right);}if(spanColumn!=null&&columnSizes[spanColumn]+columnSpacing+columnSizes[spanColumn+1]<spanColumnWidth){columnSizes[spanColumn]=spanColumnWidth-columnSizes[spanColumn+1]-columnSpacing;}if(spanColumnWidth==0){spacing=columnSpacing*2;}else{spacing=columnSpacing*3;}if(columnSizes[0]==0){columnSizes[0]=this.getIconColumnWidth();}if(columnSizes[3]==0){columnSizes[3]=this.getArrowColumnWidth();}var height=arguments.callee.base.call(this).height;return {minHeight:height,height:height,width:qx.lang.Array.sum(columnSizes)+maxInset+spacing};},getColumnSizes:function(){return this.__mX||null;}},destruct:function(){this.__mX=null;}});})();(function(){var SSSS_0="zIndex",SSSS_1="px",SSSS_2="keydown",SSSS_3="deactivate",SSSS_4="This method is not needed anymore.",SSSS_5="resize",SSSS_6="keyup",SSSS_7="keypress",SSSS_8="backgroundColor",SSSS_9="_applyOpacity",SSSS_10="Use 'getBlockerElement' instead.",SSSS_11="__nh",SSSS_12="opacity",SSSS_13="interval",SSSS_14="Tab",SSSS_15="Color",SSSS_16="qx.ui.root.Page",SSSS_17="Use 'getContentBlockerElement' instead.",SSSS_18="Number",SSSS_19="qx.ui.core.Blocker",SSSS_20="__nc",SSSS_21="__ne",SSSS_22="_applyColor";qx.Class.define(SSSS_19,{extend:qx.core.Object,construct:function(widget){arguments.callee.base.call(this);this._widget=widget;this._isPageRoot=(qx.Class.isDefined(SSSS_16)&&widget instanceof qx.ui.root.Page);if(this._isPageRoot){widget.addListener(SSSS_5,this.__ni,this);}this.__mY=[];this.__na=[];this.__nb=[];},properties:{color:{check:SSSS_15,init:null,nullable:true,apply:SSSS_22,themeable:true},opacity:{check:SSSS_18,init:1,apply:SSSS_9,themeable:true}},members:{__nc:null,__nd:0,__ne:null,__nb:null,__mY:null,__na:null,__nf:null,__ng:0,__nh:null,_isPageRoot:false,_widget:null,__ni:function(e){var data=e.getData();if(this.isContentBlocked()){this.getContentBlockerElement().setStyles({width:data.width,height:data.height});}if(this.isBlocked()){this.getBlockerElement().setStyles({width:data.width,height:data.height});}},_applyColor:function(value,old){var color=qx.theme.manager.Color.getInstance().resolve(value);this.__nj(SSSS_8,color);},_applyOpacity:function(value,old){this.__nj(SSSS_12,value);},__nj:function(key,value){var blockers=[];this.__nc&&blockers.push(this.__nc);this.__ne&&blockers.push(this.__ne);for(var i=0;i<blockers.length;i++){blockers[i].setStyle(key,value);}},_saveAndSetAnonymousState:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_4);this.__ng+=1;if(this.__ng==1){this.__nf=this._widget.getAnonymous();this._widget.setAnonymous(true);}},_restoreAnonymousState:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_4);this.__ng-=1;if(this.__ng==0){this._widget.setAnonymous(this.__nf);}},_backupActiveWidget:function(){var focusHandler=qx.event.Registration.getManager(window).getHandler(qx.event.handler.Focus);this.__mY.push(focusHandler.getActive());this.__na.push(focusHandler.getFocus());if(this._widget.isFocusable()){this._widget.focus();}},_restoreActiveWidget:function(){var activeElementsLength=this.__mY.length;if(activeElementsLength>0){var widget=this.__mY[activeElementsLength-1];if(widget){qx.bom.Element.activate(widget);}this.__mY.pop();}var focusElementsLength=this.__na.length;if(focusElementsLength>0){var widget=this.__na[focusElementsLength-1];if(widget){qx.bom.Element.focus(this.__na[focusElementsLength-1]);}this.__na.pop();}},__nk:function(){return new qx.html.Blocker(this.getColor(),this.getOpacity());},_getBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_10);return this.getBlockerElement();},getBlockerElement:function(){if(!this.__nc){this.__nc=this.__nk();this.__nc.setStyle(SSSS_0,15);this._widget.getContainerElement().add(this.__nc);this.__nc.exclude();}return this.__nc;},block:function(){this.__nd++;if(this.__nd<2){this._backupActiveWidget();var blocker=this.getBlockerElement();blocker.include();blocker.activate();blocker.addListener(SSSS_3,this.__np,this);blocker.addListener(SSSS_7,this.__no,this);blocker.addListener(SSSS_2,this.__no,this);blocker.addListener(SSSS_6,this.__no,this);}},isBlocked:function(){return this.__nd>0;},unblock:function(){if(!this.isBlocked()){return;}this.__nd--;if(this.__nd<1){this.__nl();}},forceUnblock:function(){if(!this.isBlocked()){return;}this.__nd=0;this.__nl();},__nl:function(){this._restoreActiveWidget();var blocker=this.getBlockerElement();blocker.removeListener(SSSS_3,this.__np,this);blocker.removeListener(SSSS_7,this.__no,this);blocker.removeListener(SSSS_2,this.__no,this);blocker.removeListener(SSSS_6,this.__no,this);blocker.exclude();},_getContentBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_17);return this.getContentBlockerElement();},getContentBlockerElement:function(){if(!this.__ne){this.__ne=this.__nk();this._widget.getContentElement().add(this.__ne);this.__ne.exclude();}return this.__ne;},blockContent:function(zIndex){var blocker=this.getContentBlockerElement();blocker.setStyle(SSSS_0,zIndex);this.__nb.push(zIndex);if(this.__nb.length<2){blocker.include();if(this._isPageRoot){if(!this.__nh){this.__nh=new qx.event.Timer(300);this.__nh.addListener(SSSS_13,this.__nn,this);}this.__nh.start();this.__nn();}}},isContentBlocked:function(){return this.__nb.length>0;},unblockContent:function(){if(!this.isContentBlocked()){return;}this.__nb.pop();var zIndex=this.__nb[this.__nb.length-1];var contentBlocker=this.getContentBlockerElement();contentBlocker.setStyle(SSSS_0,zIndex);if(this.__nb.length<1){this.__nm();}},forceUnblockContent:function(){if(!this.isContentBlocked()){return;}this.__nb=[];var contentBlocker=this.getContentBlockerElement();contentBlocker.setStyle(SSSS_0,null);this.__nm();},__nm:function(){this.getContentBlockerElement().exclude();if(this._isPageRoot){this.__nh.stop();}},__nn:function(){var containerEl=this._widget.getContainerElement().getDomElement();var doc=qx.dom.Node.getDocument(containerEl);this.getContentBlockerElement().setStyles({height:doc.documentElement.scrollHeight+SSSS_1,width:doc.documentElement.scrollWidth+SSSS_1});},__no:function(e){if(e.getKeyIdentifier()==SSSS_14){e.stop();}},__np:function(){this.getBlockerElement().activate();}},destruct:function(){if(this._isPageRoot){this._widget.removeListener(SSSS_5,this.__ni,this);}this._disposeObjects(SSSS_21,SSSS_20,SSSS_11);this.__nf=this.__mY=this.__na=this._widget=this.__nb=null;}});})();(function(){var SSSS_0="cursor",SSSS_1="100%",SSSS_2="dblclick",SSSS_3="mshtml",SSSS_4="mouseup",SSSS_5="mousedown",SSSS_6="disappear",SSSS_7="appear",SSSS_8="contextmenu",SSSS_9="mousewheel",SSSS_10=")",SSSS_11="mouseover",SSSS_12="mouseout",SSSS_13="qx.html.Blocker",SSSS_14="click",SSSS_15="repeat",SSSS_16="mousemove",SSSS_17="url(",SSSS_18="qx.client",SSSS_19="qx/static/blank.gif",SSSS_20="absolute";qx.Class.define(SSSS_13,{extend:qx.html.Element,construct:function(backgroundColor,opacity){arguments.callee.base.call(this);var backgroundColor=backgroundColor?qx.theme.manager.Color.getInstance().resolve(backgroundColor):null;this.setStyles({position:SSSS_20,width:SSSS_1,height:SSSS_1,opacity:opacity||0,backgroundColor:backgroundColor});this.addListener(SSSS_5,this._stopPropagation,this);this.addListener(SSSS_4,this._stopPropagation,this);this.addListener(SSSS_14,this._stopPropagation,this);this.addListener(SSSS_2,this._stopPropagation,this);this.addListener(SSSS_16,this._stopPropagation,this);this.addListener(SSSS_11,this._stopPropagation,this);this.addListener(SSSS_12,this._stopPropagation,this);this.addListener(SSSS_9,this._stopPropagation,this);this.addListener(SSSS_8,this._stopPropagation,this);if(qx.core.Variant.isSet(SSSS_18,SSSS_3)){this.setStyles({backgroundImage:SSSS_17+qx.util.ResourceManager.getInstance().toUri(SSSS_19)+SSSS_10,backgroundRepeat:SSSS_15});}this.addListener(SSSS_7,this.__nq,this);this.addListener(SSSS_6,this.__nq,this);},members:{_stopPropagation:function(e){e.stopPropagation();},__nq:function(){var currentCursor=this.getStyle(SSSS_0);this.setStyle(SSSS_0,null,true);this.setStyle(SSSS_0,currentCursor,true);}}});})();(function(){var SSSS_0="menu-separator",SSSS_1="qx.ui.menu.Separator";qx.Class.define(SSSS_1,{extend:qx.ui.core.Widget,properties:{appearance:{refine:true,init:SSSS_0},anonymous:{refine:true,init:true}}});})();(function(){var SSSS_0="icon",SSSS_1="label",SSSS_2="arrow",SSSS_3="shortcut",SSSS_4="changeLocale",SSSS_5="qx.dynlocale",SSSS_6="submenu",SSSS_7="on",SSSS_8="String",SSSS_9="qx.ui.menu.Menu",SSSS_10="qx.ui.menu.AbstractButton",SSSS_11="keypress",SSSS_12="",SSSS_13="_applyIcon",SSSS_14="mouseup",SSSS_15="abstract",SSSS_16="_applyLabel",SSSS_17="_applyMenu",SSSS_18="changeCommand";qx.Class.define(SSSS_10,{extend:qx.ui.core.Widget,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],type:SSSS_15,construct:function(){arguments.callee.base.call(this);this._setLayout(new qx.ui.menu.ButtonLayout);this.addListener(SSSS_14,this._onMouseUp);this.addListener(SSSS_11,this._onKeyPress);this.addListener(SSSS_18,this._onChangeCommand,this);},properties:{blockToolTip:{refine:true,init:true},label:{check:SSSS_8,apply:SSSS_16,nullable:true},menu:{check:SSSS_9,apply:SSSS_17,nullable:true},icon:{check:SSSS_8,apply:SSSS_13,themeable:true,nullable:true}},members:{_createChildControlImpl:function(id){var control;switch(id){case SSSS_0:control=new qx.ui.basic.Image;control.setAnonymous(true);this._add(control,{column:0});break;case SSSS_1:control=new qx.ui.basic.Label;control.setAnonymous(true);this._add(control,{column:1});break;case SSSS_3:control=new qx.ui.basic.Label;control.setAnonymous(true);this._add(control,{column:2});break;case SSSS_2:control=new qx.ui.basic.Image;control.setAnonymous(true);this._add(control,{column:3});break;}return control||arguments.callee.base.call(this,id);},_forwardStates:{selected:1},getChildrenSizes:function(){var iconWidth=0,labelWidth=0,shortcutWidth=0,arrowWidth=0;if(this._isChildControlVisible(SSSS_0)){var icon=this.getChildControl(SSSS_0);iconWidth=icon.getMarginLeft()+icon.getSizeHint().width+icon.getMarginRight();}if(this._isChildControlVisible(SSSS_1)){var label=this.getChildControl(SSSS_1);labelWidth=label.getMarginLeft()+label.getSizeHint().width+label.getMarginRight();}if(this._isChildControlVisible(SSSS_3)){var shortcut=this.getChildControl(SSSS_3);shortcutWidth=shortcut.getMarginLeft()+shortcut.getSizeHint().width+shortcut.getMarginRight();}if(this._isChildControlVisible(SSSS_2)){var arrow=this.getChildControl(SSSS_2);arrowWidth=arrow.getMarginLeft()+arrow.getSizeHint().width+arrow.getMarginRight();}return [iconWidth,labelWidth,shortcutWidth,arrowWidth];},_onMouseUp:function(e){},_onKeyPress:function(e){},_onChangeCommand:function(e){var command=e.getData();if(qx.core.Variant.isSet(SSSS_5,SSSS_7)){var oldCommand=e.getOldData();if(!oldCommand){qx.locale.Manager.getInstance().addListener(SSSS_4,this._onChangeLocale,this);}if(!command){qx.locale.Manager.getInstance().removeListener(SSSS_4,this._onChangeLocale,this);}}var cmdString=command!=null?command.toString():SSSS_12;this.getChildControl(SSSS_3).setValue(cmdString);},_onChangeLocale:qx.core.Variant.select(SSSS_5,{"on":function(e){var command=this.getCommand();if(command!=null){this.getChildControl(SSSS_3).setValue(command.toString());}},"off":null}),_applyIcon:function(value,old){if(value){this._showChildControl(SSSS_0).setSource(value);}else{this._excludeChildControl(SSSS_0);}},_applyLabel:function(value,old){if(value){this._showChildControl(SSSS_1).setValue(value);}else{this._excludeChildControl(SSSS_1);}},_applyMenu:function(value,old){if(old){old.resetOpener();old.removeState(SSSS_6);}if(value){this._showChildControl(SSSS_2);value.setOpener(this);value.addState(SSSS_6);}else{this._excludeChildControl(SSSS_2);}}},destruct:function(){if(this.getMenu()){if(!qx.core.ObjectRegistry.inShutDown){this.getMenu().destroy();}}if(qx.core.Variant.isSet(SSSS_5,SSSS_7)){qx.locale.Manager.getInstance().removeListener(SSSS_4,this._onChangeLocale,this);}}});})();(function(){var SSSS_0="qx.ui.menu.ButtonLayout",SSSS_1="qx.debug",SSSS_2="column",SSSS_3="left",SSSS_4="middle",SSSS_5="' is not supported by the MenuButton layout!",SSSS_6="The property '";qx.Class.define(SSSS_0,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Variant.select(SSSS_1,{"on":function(item,name,value){this.assert(name==SSSS_2,SSSS_6+name+SSSS_5);},"off":null}),renderLayout:function(availWidth,availHeight){var children=this._getLayoutChildren();var child;var column;var columnChildren=[];for(var i=0,l=children.length;i<l;i++){child=children[i];column=child.getLayoutProperties().column;columnChildren[column]=child;}var menu=this.__nr(children[0]);var columns=menu.getColumnSizes();var spacing=menu.getSpacingX();var neededWidth=qx.lang.Array.sum(columns)+spacing*(columns.length-1);if(neededWidth<availWidth){columns[1]+=availWidth-neededWidth;}var left=0,top=0;var Util=qx.ui.layout.Util;for(var i=0,l=columns.length;i<l;i++){child=columnChildren[i];if(child){var hint=child.getSizeHint();var top=Util.computeVerticalAlignOffset(child.getAlignY()||SSSS_4,hint.height,availHeight,0,0);var offsetLeft=Util.computeHorizontalAlignOffset(child.getAlignX()||SSSS_3,hint.width,columns[i],child.getMarginLeft(),child.getMarginRight());child.renderLayout(left+offsetLeft,top,hint.width,hint.height);}left+=columns[i]+spacing;}},__nr:function(widget){while(!(widget instanceof qx.ui.menu.Menu)){widget=widget.getLayoutParent();}return widget;},_computeSizeHint:function(){var children=this._getLayoutChildren();var neededHeight=0;var neededWidth=0;for(var i=0,l=children.length;i<l;i++){var hint=children[i].getSizeHint();neededWidth+=hint.width;neededHeight=Math.max(neededHeight,hint.height);}return {width:neededWidth,height:neededHeight};}}});})();(function(){var SSSS_0="qx.ui.core.MRemoteLayoutHandling";qx.Mixin.define(SSSS_0,{members:{setLayout:function(layout){return this.getChildrenContainer().setLayout(layout);},getLayout:function(){return this.getChildrenContainer().getLayout();}}});})();(function(){var SSSS_0="horizontal",SSSS_1="scrollpane",SSSS_2="vertical",SSSS_3="button-backward",SSSS_4="button-forward",SSSS_5="content",SSSS_6="execute",SSSS_7="qx.ui.container.SlideBar",SSSS_8="scrollY",SSSS_9="removeChildWidget",SSSS_10="scrollX",SSSS_11="_applyOrientation",SSSS_12="mousewheel",SSSS_13="Integer",SSSS_14="slidebar",SSSS_15="update";qx.Class.define(SSSS_7,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling],construct:function(orientation){arguments.callee.base.call(this);var scrollPane=this.getChildControl(SSSS_1);this._add(scrollPane,{flex:1});if(orientation!=null){this.setOrientation(orientation);}else{this.initOrientation();}this.addListener(SSSS_12,this._onMouseWheel,this);},properties:{appearance:{refine:true,init:SSSS_14},orientation:{check:[SSSS_0,SSSS_2],init:SSSS_0,apply:SSSS_11},scrollStep:{check:SSSS_13,init:15,themeable:true}},members:{getChildrenContainer:function(){return this.getChildControl(SSSS_5);},_createChildControlImpl:function(id){var control;switch(id){case SSSS_4:control=new qx.ui.form.RepeatButton;control.addListener(SSSS_6,this._onExecuteForward,this);control.setFocusable(false);this._addAt(control,2);break;case SSSS_3:control=new qx.ui.form.RepeatButton;control.addListener(SSSS_6,this._onExecuteBackward,this);control.setFocusable(false);this._addAt(control,0);break;case SSSS_5:control=new qx.ui.container.Composite();if(qx.bom.client.Engine.GECKO){control.addListener(SSSS_9,this._onRemoveChild,this);}this.getChildControl(SSSS_1).add(control);break;case SSSS_1:control=new qx.ui.core.scroll.ScrollPane();control.addListener(SSSS_15,this._onResize,this);control.addListener(SSSS_10,this._onScroll,this);control.addListener(SSSS_8,this._onScroll,this);break;}return control||arguments.callee.base.call(this,id);},_forwardStates:{barLeft:true,barTop:true,barRight:true,barBottom:true},scrollBy:function(offset){var pane=this.getChildControl(SSSS_1);if(this.getOrientation()===SSSS_0){pane.scrollByX(offset);}else{pane.scrollByY(offset);}},scrollTo:function(value){var pane=this.getChildControl(SSSS_1);if(this.getOrientation()===SSSS_0){pane.scrollToX(value);}else{pane.scrollToY(value);}},_applyOrientation:function(value,old){var oldLayouts=[this.getLayout(),this._getLayout()];var buttonForward=this.getChildControl(SSSS_4);var buttonBackward=this.getChildControl(SSSS_3);if(old==SSSS_2){buttonForward.removeState(SSSS_2);buttonBackward.removeState(SSSS_2);buttonForward.addState(SSSS_0);buttonBackward.addState(SSSS_0);}else if(old==SSSS_0){buttonForward.removeState(SSSS_0);buttonBackward.removeState(SSSS_0);buttonForward.addState(SSSS_2);buttonBackward.addState(SSSS_2);}if(value==SSSS_0){this._setLayout(new qx.ui.layout.HBox());this.setLayout(new qx.ui.layout.HBox());}else{this._setLayout(new qx.ui.layout.VBox());this.setLayout(new qx.ui.layout.VBox());}if(oldLayouts[0]){oldLayouts[0].dispose();}if(oldLayouts[1]){oldLayouts[1].dispose();}},_onMouseWheel:function(e){this.scrollBy(e.getWheelDelta()*this.getScrollStep());e.stop();},_onScroll:function(){this._updateArrowsEnabled();},_onResize:function(e){var content=this.getChildControl(SSSS_1).getChildren()[0];if(!content){return;}var innerSize=this.getInnerSize();var contentSize=content.getBounds();var overflow=(this.getOrientation()===SSSS_0)?contentSize.width>innerSize.width:contentSize.height>innerSize.height;if(overflow){this._showArrows();this._updateArrowsEnabled();}else{this._hideArrows();}},_onExecuteBackward:function(){this.scrollBy(-this.getScrollStep());},_onExecuteForward:function(){this.scrollBy(this.getScrollStep());},_onRemoveChild:function(){qx.event.Timer.once(function(){this.scrollBy(this.getChildControl(SSSS_1).getScrollX());},this,50);},_updateArrowsEnabled:function(){var pane=this.getChildControl(SSSS_1);if(this.getOrientation()===SSSS_0){var position=pane.getScrollX();var max=pane.getScrollMaxX();}else{var position=pane.getScrollY();var max=pane.getScrollMaxY();}this.getChildControl(SSSS_3).setEnabled(position>0);this.getChildControl(SSSS_4).setEnabled(position<max);},_showArrows:function(){this._showChildControl(SSSS_4);this._showChildControl(SSSS_3);},_hideArrows:function(){this._excludeChildControl(SSSS_4);this._excludeChildControl(SSSS_3);this.scrollTo(0);}}});})();(function(){var SSSS_0="execute",SSSS_1="button-backward",SSSS_2="vertical",SSSS_3="button-forward",SSSS_4="menu-slidebar",SSSS_5="qx.ui.menu.MenuSlideBar";qx.Class.define(SSSS_5,{extend:qx.ui.container.SlideBar,construct:function(){arguments.callee.base.call(this,SSSS_2);},properties:{appearance:{refine:true,init:SSSS_4}},members:{_createChildControlImpl:function(id){var control;switch(id){case SSSS_3:control=new qx.ui.form.HoverButton();control.addListener(SSSS_0,this._onExecuteForward,this);this._addAt(control,2);break;case SSSS_1:control=new qx.ui.form.HoverButton();control.addListener(SSSS_0,this._onExecuteBackward,this);this._addAt(control,0);break;}return control||arguments.callee.base.call(this,id);}}});})();(function(){var SSSS_0="Integer",SSSS_1="hovered",SSSS_2="hover-button",SSSS_3="interval",SSSS_4="mouseover",SSSS_5="mouseout",SSSS_6="__ns",SSSS_7="qx.ui.form.HoverButton";qx.Class.define(SSSS_7,{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(label,icon){arguments.callee.base.call(this,label,icon);this.addListener(SSSS_4,this._onMouseOver,this);this.addListener(SSSS_5,this._onMouseOut,this);this.__ns=new qx.event.AcceleratingTimer();this.__ns.addListener(SSSS_3,this._onInterval,this);},properties:{appearance:{refine:true,init:SSSS_2},interval:{check:SSSS_0,init:80},firstInterval:{check:SSSS_0,init:200},minTimer:{check:SSSS_0,init:20},timerDecrease:{check:SSSS_0,init:2}},members:{__ns:null,_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;}this.__ns.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();this.addState(SSSS_1);},_onMouseOut:function(e){this.__ns.stop();this.removeState(SSSS_1);if(!this.isEnabled()||e.getTarget()!==this){return;}},_onInterval:function(){if(this.isEnabled()){this.execute();}else{this.__ns.stop();}}},destruct:function(){this._disposeObjects(SSSS_6);}});})();(function(){var SSSS_0="qx.ui.menu.Button",SSSS_1="menu-button";qx.Class.define(SSSS_0,{extend:qx.ui.menu.AbstractButton,construct:function(label,icon,command,menu){arguments.callee.base.call(this);if(label!=null){this.setLabel(label);}if(icon!=null){this.setIcon(icon);}if(command!=null){this.setCommand(command);}if(menu!=null){this.setMenu(menu);}},properties:{appearance:{refine:true,init:SSSS_1}},members:{_onMouseUp:function(e){if(e.isLeftPressed()){this.execute();if(this.getMenu()){return;}}qx.ui.menu.Manager.getInstance().hideAll();},_onKeyPress:function(e){this.execute();}}});})();(function(){var SSSS_0="pressed",SSSS_1="hovered",SSSS_2="inherit",SSSS_3="qx.ui.menubar.Button",SSSS_4="keydown",SSSS_5="menubar-button",SSSS_6="keyup";qx.Class.define(SSSS_3,{extend:qx.ui.form.MenuButton,construct:function(label,icon,menu){arguments.callee.base.call(this,label,icon,menu);this.removeListener(SSSS_4,this._onKeyDown);this.removeListener(SSSS_6,this._onKeyUp);},properties:{appearance:{refine:true,init:SSSS_5},show:{refine:true,init:SSSS_2},focusable:{refine:true,init:false}},members:{getMenuBar:function(){var parent=this;while(parent){if(parent instanceof qx.ui.toolbar.ToolBar){return parent;}parent=parent.getLayoutParent();}return null;},open:function(selectFirst){arguments.callee.base.call(this,selectFirst);var menubar=this.getMenuBar();menubar._setAllowMenuOpenHover(true);},_onMenuChange:function(e){var menu=this.getMenu();var menubar=this.getMenuBar();if(menu.isVisible()){this.addState(SSSS_0);if(menubar){menubar.setOpenMenu(menu);}}else{this.removeState(SSSS_0);if(menubar&&menubar.getOpenMenu()==menu){menubar.resetOpenMenu();menubar._setAllowMenuOpenHover(false);}}},_onMouseUp:function(e){arguments.callee.base.call(this,e);var menu=this.getMenu();if(menu&&menu.isVisible()&&!this.hasState(SSSS_0)){this.addState(SSSS_0);}},_onMouseOver:function(e){this.addState(SSSS_1);if(this.getMenu()){var menubar=this.getMenuBar();if(menubar._isAllowMenuOpenHover()){qx.ui.menu.Manager.getInstance().hideAll();menubar._setAllowMenuOpenHover(true);if(this.isEnabled()){this.open();}}}}}});})();(function(){var SSSS_0="both",SSSS_1="qx.ui.menu.Menu",SSSS_2="_applySpacing",SSSS_3="icon",SSSS_4="label",SSSS_5="changeShow",SSSS_6="Integer",SSSS_7="qx.ui.toolbar.ToolBar",SSSS_8="toolbar",SSSS_9="changeOpenMenu";qx.Class.define(SSSS_7,{extend:qx.ui.core.Widget,include:qx.ui.core.MChildrenHandling,construct:function(){arguments.callee.base.call(this);this._setLayout(new qx.ui.layout.HBox());},properties:{appearance:{refine:true,init:SSSS_8},openMenu:{check:SSSS_1,event:SSSS_9,nullable:true},show:{init:SSSS_0,check:[SSSS_0,SSSS_4,SSSS_3],inheritable:true,event:SSSS_5},spacing:{nullable:true,check:SSSS_6,themeable:true,apply:SSSS_2}},members:{__nt:false,_setAllowMenuOpenHover:function(value){this.__nt=value;},_isAllowMenuOpenHover:function(){return this.__nt;},_applySpacing:function(value,old){var layout=this._getLayout();value==null?layout.resetSpacing():layout.setSpacing(value);},addSpacer:function(){var spacer=new qx.ui.core.Spacer;this._add(spacer,{flex:1});return spacer;},addSeparator:function(){this.add(new qx.ui.toolbar.Separator);},getMenuButtons:function(){var children=this.getChildren();var buttons=[];var child;for(var i=0,l=children.length;i<l;i++){child=children[i];if(child instanceof qx.ui.menubar.Button){buttons.push(child);}else if(child instanceof qx.ui.toolbar.Part){buttons.push.apply(buttons,child.getMenuButtons());}}return buttons;}}});})();(function(){var SSSS_0="qx.ui.core.Spacer";qx.Class.define(SSSS_0,{extend:qx.ui.core.LayoutItem,construct:function(width,height){arguments.callee.base.call(this);this.setWidth(width!=null?width:0);this.setHeight(height!=null?height:0);},members:{checkAppearanceNeeds:function(){},addChildrenToQueue:function(queue){},destroy:function(){if(this.$$disposed){return;}var parent=this.$$parent;if(parent){parent._remove(this);}qx.ui.core.queue.Dispose.add(this);}}});})();(function(){var SSSS_0="toolbar-separator",SSSS_1="qx.ui.toolbar.Separator";qx.Class.define(SSSS_1,{extend:qx.ui.core.Widget,properties:{appearance:{refine:true,init:SSSS_0},anonymous:{refine:true,init:true},width:{refine:true,init:0},height:{refine:true,init:0}}});})();(function(){var SSSS_0="container",SSSS_1="handle",SSSS_2="both",SSSS_3="Integer",SSSS_4="middle",SSSS_5="qx.ui.toolbar.Part",SSSS_6="icon",SSSS_7="label",SSSS_8="changeShow",SSSS_9="_applySpacing",SSSS_10="toolbar/part";qx.Class.define(SSSS_5,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling],construct:function(){arguments.callee.base.call(this);this._setLayout(new qx.ui.layout.HBox);this._createChildControl(SSSS_1);},properties:{appearance:{refine:true,init:SSSS_10},show:{init:SSSS_2,check:[SSSS_2,SSSS_7,SSSS_6],inheritable:true,event:SSSS_8},spacing:{nullable:true,check:SSSS_3,themeable:true,apply:SSSS_9}},members:{_createChildControlImpl:function(id){var control;switch(id){case SSSS_1:control=new qx.ui.basic.Image();control.setAlignY(SSSS_4);this._add(control);break;case SSSS_0:control=new qx.ui.toolbar.PartContainer;this._add(control);break;}return control||arguments.callee.base.call(this,id);},getChildrenContainer:function(){return this.getChildControl(SSSS_0);},_applySpacing:function(value,old){var layout=this.getChildControl(SSSS_0).getLayout();value==null?layout.resetSpacing():layout.setSpacing(value);},addSeparator:function(){this.add(new qx.ui.toolbar.Separator);},getMenuButtons:function(){var children=this.getChildren();var buttons=[];var child;for(var i=0,l=children.length;i<l;i++){child=children[i];if(child instanceof qx.ui.menubar.Button){buttons.push(child);}}return buttons;}}});})();(function(){var SSSS_0="both",SSSS_1="toolbar/part/container",SSSS_2="icon",SSSS_3="changeShow",SSSS_4="qx.ui.toolbar.PartContainer",SSSS_5="label";qx.Class.define(SSSS_4,{extend:qx.ui.container.Composite,construct:function(){arguments.callee.base.call(this);this._setLayout(new qx.ui.layout.HBox);},properties:{appearance:{refine:true,init:SSSS_1},show:{init:SSSS_0,check:[SSSS_0,SSSS_5,SSSS_2],inheritable:true,event:SSSS_3}}});})();(function(){var SSSS_0="checked",SSSS_1="menu-checkbox",SSSS_2="Boolean",SSSS_3="_applyValue",SSSS_4="changeValue",SSSS_5="qx.ui.menu.CheckBox",SSSS_6="execute";qx.Class.define(SSSS_5,{extend:qx.ui.menu.AbstractButton,implement:[qx.ui.form.IBooleanForm],construct:function(label,menu){arguments.callee.base.call(this);if(label!=null){if(label.translate){this.setLabel(label.translate());}else{this.setLabel(label);}}if(menu!=null){this.setMenu(menu);}this.addListener(SSSS_6,this._onExecute,this);},properties:{appearance:{refine:true,init:SSSS_1},value:{check:SSSS_2,init:false,apply:SSSS_3,event:SSSS_4,nullable:true}},members:{_applyValue:function(value,old){value?this.addState(SSSS_0):this.removeState(SSSS_0);},_onExecute:function(e){this.toggleValue();},_onMouseUp:function(e){if(e.isLeftPressed()){this.execute();}qx.ui.menu.Manager.getInstance().hideAll();},_onKeyPress:function(e){this.execute();}}});})();(function(){var SSSS_0="qx.ui.table.IColumnMenuItem",SSSS_1="qx.event.type.Data";qx.Interface.define(SSSS_0,{properties:{visible:{}},events:{changeVisible:SSSS_1}});})();(function(){var SSSS_0="changeVisible",SSSS_1="qx.ui.table.columnmenu.MenuItem",SSSS_2="_applyVisible",SSSS_3="Boolean",SSSS_4="changeValue";qx.Class.define(SSSS_1,{extend:qx.ui.menu.CheckBox,implement:qx.ui.table.IColumnMenuItem,properties:{visible:{check:SSSS_3,init:true,apply:SSSS_2,event:SSSS_0}},construct:function(text){arguments.callee.base.call(this,text);this.addListener(SSSS_4,function(e){this.bInListener=true;this.setVisible(e.getData());this.bInListener=false;});},members:{__nu:false,_applyVisible:function(value,old){if(!this.bInListener){this.setValue(value);}}}});})();(function(){var SSSS_0="qx.ui.table.selection.Model",SSSS_1="qx.ui.table.selection.Manager";qx.Class.define(SSSS_1,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);},properties:{selectionModel:{check:SSSS_0}},members:{__nv:null,handleMouseDown:function(index,evt){if(evt.isLeftPressed()){var selectionModel=this.getSelectionModel();if(!selectionModel.isSelectedIndex(index)){this._handleSelectEvent(index,evt);this.__nv=true;}else{this.__nv=false;}}else if(evt.isRightPressed()&&evt.getModifiers()==0){var selectionModel=this.getSelectionModel();if(!selectionModel.isSelectedIndex(index)){selectionModel.setSelectionInterval(index,index);}}},handleMouseUp:function(index,evt){if(evt.isLeftPressed()&&!this.__nv){this._handleSelectEvent(index,evt);}},handleClick:function(index,evt){},handleSelectKeyDown:function(index,evt){this._handleSelectEvent(index,evt);},handleMoveKeyDown:function(index,evt){var selectionModel=this.getSelectionModel();switch(evt.getModifiers()){case 0:selectionModel.setSelectionInterval(index,index);break;case qx.event.type.Dom.SHIFT_MASK:var anchor=selectionModel.getAnchorSelectionIndex();if(anchor==-1){selectionModel.setSelectionInterval(index,index);}else{selectionModel.setSelectionInterval(anchor,index);}break;}},_handleSelectEvent:function(index,evt){var selectionModel=this.getSelectionModel();var leadIndex=selectionModel.getLeadSelectionIndex();var anchorIndex=selectionModel.getAnchorSelectionIndex();if(evt.isShiftPressed()){if(index!=leadIndex||selectionModel.isSelectionEmpty()){if(anchorIndex==-1){anchorIndex=index;}if(evt.isCtrlOrCommandPressed()){selectionModel.addSelectionInterval(anchorIndex,index);}else{selectionModel.setSelectionInterval(anchorIndex,index);}}}else if(evt.isCtrlOrCommandPressed()){if(selectionModel.isSelectedIndex(index)){selectionModel.removeSelectionInterval(index,index);}else{selectionModel.addSelectionInterval(index,index);}}else{selectionModel.setSelectionInterval(index,index);}}}});})();(function(){var SSSS_0="..",SSSS_1="changeSelection",SSSS_2="Use 'resetSelection' instead",SSSS_3=" [",SSSS_4="]",SSSS_5="qx.event.type.Event",SSSS_6="Ranges:",SSSS_7="qx.ui.table.selection.Model",SSSS_8="_applySelectionMode",SSSS_9="Use '_resetSelection' instead.";qx.Class.define(SSSS_7,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.__nw=[];this.__nx=-1;this.__ny=-1;this.hasBatchModeRefCount=0;this.__nz=false;},events:{"changeSelection":SSSS_5},statics:{NO_SELECTION:1,SINGLE_SELECTION:2,SINGLE_INTERVAL_SELECTION:3,MULTIPLE_INTERVAL_SELECTION:4,MULTIPLE_INTERVAL_SELECTION_TOGGLE:5},properties:{selectionMode:{init:2,check:[1,2,3,4,5],apply:SSSS_8}},members:{__nz:null,__nx:null,__ny:null,__nw:null,_applySelectionMode:function(selectionMode){this.resetSelection();},setBatchMode:function(batchMode){if(batchMode){this.hasBatchModeRefCount+=1;}else{if(this.hasBatchModeRefCount==0){throw new Error("Try to turn off batch mode althoug it was not turned on.");}this.hasBatchModeRefCount-=1;if(this.__nz){this.__nz=false;this._fireChangeSelection();}}return this.hasBatchMode();},hasBatchMode:function(){return this.hasBatchModeRefCount>0;},getAnchorSelectionIndex:function(){return this.__nx;},_setAnchorSelectionIndex:function(index){this.__nx=index;},getLeadSelectionIndex:function(){return this.__ny;},_setLeadSelectionIndex:function(index){this.__ny=index;},_getSelectedRangeArr:function(){return this.__nw;},resetSelection:function(){if(!this.isSelectionEmpty()){this._resetSelection();this._fireChangeSelection();}},clearSelection:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_2);this.resetSelection();},isSelectionEmpty:function(){return this.__nw.length==0;},getSelectedCount:function(){var selectedCount=0;for(var i=0;i<this.__nw.length;i++){var range=this.__nw[i];selectedCount+=range.maxIndex-range.minIndex+1;}return selectedCount;},isSelectedIndex:function(index){for(var i=0;i<this.__nw.length;i++){var range=this.__nw[i];if(index>=range.minIndex&&index<=range.maxIndex){return true;}}return false;},getSelectedRanges:function(){var retVal=[];for(var i=0;i<this.__nw.length;i++){retVal.push({minIndex:this.__nw[i].minIndex,maxIndex:this.__nw[i].maxIndex});}return retVal;},iterateSelection:function(iterator,object){for(var i=0;i<this.__nw.length;i++){for(var j=this.__nw[i].minIndex;j<=this.__nw[i].maxIndex;j++){iterator.call(object,j);}}},setSelectionInterval:function(fromIndex,toIndex){var me=arguments.callee.self;switch(this.getSelectionMode()){case me.NO_SELECTION:return;case me.SINGLE_SELECTION:if(this.isSelectedIndex(toIndex)){return;}fromIndex=toIndex;break;case me.MULTIPLE_INTERVAL_SELECTION_TOGGLE:this.setBatchMode(true);try{for(var i=fromIndex;i<=toIndex;i++){if(!this.isSelectedIndex(i)){this._addSelectionInterval(i,i);}else{this.removeSelectionInterval(i,i);}}}catch(e){throw e;}finally{this.setBatchMode(false);}this._fireChangeSelection();return;}this._resetSelection();this._addSelectionInterval(fromIndex,toIndex);this._fireChangeSelection();},addSelectionInterval:function(fromIndex,toIndex){var SelectionModel=qx.ui.table.selection.Model;switch(this.getSelectionMode()){case SelectionModel.NO_SELECTION:return;case SelectionModel.MULTIPLE_INTERVAL_SELECTION:case SelectionModel.MULTIPLE_INTERVAL_SELECTION_TOGGLE:this._addSelectionInterval(fromIndex,toIndex);this._fireChangeSelection();break;default:this.setSelectionInterval(fromIndex,toIndex);break;}},removeSelectionInterval:function(fromIndex,toIndex){this.__nx=fromIndex;this.__ny=toIndex;var minIndex=Math.min(fromIndex,toIndex);var maxIndex=Math.max(fromIndex,toIndex);for(var i=0;i<this.__nw.length;i++){var range=this.__nw[i];if(range.minIndex>maxIndex){break;}else if(range.maxIndex>=minIndex){var minIsIn=(range.minIndex>=minIndex)&&(range.minIndex<=maxIndex);var maxIsIn=(range.maxIndex>=minIndex)&&(range.maxIndex<=maxIndex);if(minIsIn&&maxIsIn){this.__nw.splice(i,1);i--;}else if(minIsIn){range.minIndex=maxIndex+1;}else if(maxIsIn){range.maxIndex=minIndex-1;}else{var newRange={minIndex:maxIndex+1,maxIndex:range.maxIndex};this.__nw.splice(i+1,0,newRange);range.maxIndex=minIndex-1;break;}}}this._fireChangeSelection();},_resetSelection:function(){this.__nw=[];this.__nx=-1;this.__ny=-1;},_clearSelection:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_9);this._resetSelection();},_addSelectionInterval:function(fromIndex,toIndex){this.__nx=fromIndex;this.__ny=toIndex;var minIndex=Math.min(fromIndex,toIndex);var maxIndex=Math.max(fromIndex,toIndex);var newRangeIndex=0;for(;newRangeIndex<this.__nw.length;newRangeIndex++){var range=this.__nw[newRangeIndex];if(range.minIndex>minIndex){break;}}this.__nw.splice(newRangeIndex,0,{minIndex:minIndex,maxIndex:maxIndex});var lastRange=this.__nw[0];for(var i=1;i<this.__nw.length;i++){var range=this.__nw[i];if(lastRange.maxIndex+1>=range.minIndex){lastRange.maxIndex=Math.max(lastRange.maxIndex,range.maxIndex);this.__nw.splice(i,1);i--;}else{lastRange=range;}}},_dumpRanges:function(){var text=SSSS_6;for(var i=0;i<this.__nw.length;i++){var range=this.__nw[i];text+=SSSS_3+range.minIndex+SSSS_0+range.maxIndex+SSSS_4;}this.debug(text);},_fireChangeSelection:function(){if(this.hasBatchMode()){this.__nz=true;}else{this.fireEvent(SSSS_1);}}},destruct:function(){this.__nw=null;}});})();(function(){var SSSS_0="qx.ui.table.IHeaderRenderer";qx.Interface.define(SSSS_0,{members:{createHeaderCell:function(cellInfo){return true;},updateHeaderCell:function(cellInfo,cellWidget){return true;}}});})();(function(){var SSSS_0="qx.ui.table.headerrenderer.Default",SSSS_1="String";qx.Class.define(SSSS_0,{extend:qx.core.Object,implement:qx.ui.table.IHeaderRenderer,statics:{STATE_SORTED:"sorted",STATE_SORTED_ASCENDING:"sortedAscending"},properties:{toolTip:{check:SSSS_1,init:null,nullable:true}},members:{createHeaderCell:function(cellInfo){var widget=new qx.ui.table.headerrenderer.HeaderCell();this.updateHeaderCell(cellInfo,widget);return widget;},updateHeaderCell:function(cellInfo,cellWidget){var DefaultHeaderCellRenderer=qx.ui.table.headerrenderer.Default;if(cellInfo.name&&cellInfo.name.translate){cellWidget.setLabel(cellInfo.name.translate());}else{cellWidget.setLabel(cellInfo.name);}var widgetToolTip=cellWidget.getToolTip();if(this.getToolTip()!=null){if(widgetToolTip==null){widgetToolTip=new qx.ui.tooltip.ToolTip(this.getToolTip());cellWidget.setToolTip(widgetToolTip);qx.util.DisposeUtil.disposeTriggeredBy(widgetToolTip,cellWidget);}else{widgetToolTip.setLabel(this.getToolTip());}}cellInfo.sorted?cellWidget.addState(DefaultHeaderCellRenderer.STATE_SORTED):cellWidget.removeState(DefaultHeaderCellRenderer.STATE_SORTED);cellInfo.sortedAscending?cellWidget.addState(DefaultHeaderCellRenderer.STATE_SORTED_ASCENDING):cellWidget.removeState(DefaultHeaderCellRenderer.STATE_SORTED_ASCENDING);}}});})();(function(){var SSSS_0="qx.client",SSSS_1="head",SSSS_2="text/css",SSSS_3="stylesheet",SSSS_4="}",SSSS_5='@import "',SSSS_6="{",SSSS_7='";',SSSS_8="qx.bom.Stylesheet",SSSS_9="link",SSSS_10="style";qx.Class.define(SSSS_8,{statics:{includeFile:function(href,doc){if(!doc){doc=document;}var el=doc.createElement(SSSS_9);el.type=SSSS_2;el.rel=SSSS_3;el.href=qx.util.ResourceManager.getInstance().toUri(href);var head=doc.getElementsByTagName(SSSS_1)[0];head.appendChild(el);},createElement:qx.core.Variant.select(SSSS_0,{"mshtml":function(text){var sheet=document.createStyleSheet();if(text){sheet.cssText=text;}return sheet;},"default":function(text){var elem=document.createElement(SSSS_10);elem.type=SSSS_2;if(text){elem.appendChild(document.createTextNode(text));}document.getElementsByTagName(SSSS_1)[0].appendChild(elem);return elem.sheet;}}),addRule:qx.core.Variant.select(SSSS_0,{"mshtml":function(sheet,selector,entry){sheet.addRule(selector,entry);},"default":function(sheet,selector,entry){sheet.insertRule(selector+SSSS_6+entry+SSSS_4,sheet.cssRules.length);}}),removeRule:qx.core.Variant.select(SSSS_0,{"mshtml":function(sheet,selector){var rules=sheet.rules;var len=rules.length;for(var i=len-1;i>=0;--i){if(rules[i].selectorText==selector){sheet.removeRule(i);}}},"default":function(sheet,selector){var rules=sheet.cssRules;var len=rules.length;for(var i=len-1;i>=0;--i){if(rules[i].selectorText==selector){sheet.deleteRule(i);}}}}),removeAllRules:qx.core.Variant.select(SSSS_0,{"mshtml":function(sheet){var rules=sheet.rules;var len=rules.length;for(var i=len-1;i>=0;i--){sheet.removeRule(i);}},"default":function(sheet){var rules=sheet.cssRules;var len=rules.length;for(var i=len-1;i>=0;i--){sheet.deleteRule(i);}}}),addImport:qx.core.Variant.select(SSSS_0,{"mshtml":function(sheet,url){sheet.addImport(url);},"default":function(sheet,url){sheet.insertRule(SSSS_5+url+SSSS_7,sheet.cssRules.length);}}),removeImport:qx.core.Variant.select(SSSS_0,{"mshtml":function(sheet,url){var imports=sheet.imports;var len=imports.length;for(var i=len-1;i>=0;i--){if(imports[i].href==url){sheet.removeImport(i);}}},"default":function(sheet,url){var rules=sheet.cssRules;var len=rules.length;for(var i=len-1;i>=0;i--){if(rules[i].href==url){sheet.deleteRule(i);}}}}),removeAllImports:qx.core.Variant.select(SSSS_0,{"mshtml":function(sheet){var imports=sheet.imports;var len=imports.length;for(var i=len-1;i>=0;i--){sheet.removeImport(i);}},"default":function(sheet){var rules=sheet.cssRules;var len=rules.length;for(var i=len-1;i>=0;i--){if(rules[i].type==rules[i].IMPORT_RULE){sheet.deleteRule(i);}}}})}});})();(function(){var SSSS_0="qx.ui.table.ICellRenderer";qx.Interface.define(SSSS_0,{members:{createDataCellHtml:function(cellInfo,htmlArr){return true;}}});})();(function(){var SSSS_0="",SSSS_1="px;",SSSS_2=".qooxdoo-table-cell {",SSSS_3="qooxdoo-table-cell",SSSS_4='" ',SSSS_5="nowrap",SSSS_6="default",SSSS_7="qx.client",SSSS_8="}",SSSS_9="width:",SSSS_10=".qooxdoo-table-cell-right { text-align:right } ",SSSS_11="0px 6px",SSSS_12='<div class="',SSSS_13="0px",SSSS_14="height:",SSSS_15="1px solid ",SSSS_16=".qooxdoo-table-cell-bold { font-weight:bold } ",SSSS_17="table-row-line",SSSS_18='>',SSSS_19="mshtml",SSSS_20='</div>',SSSS_21="ellipsis",SSSS_22="content-box",SSSS_23='left:',SSSS_24="qx.ui.table.cellrenderer.Abstract",SSSS_25='" style="',SSSS_26="abstract",SSSS_27="none",SSSS_28="hidden",SSSS_29="} ",SSSS_30='px;',SSSS_31=".qooxdoo-table-cell-italic { font-style:italic} ",SSSS_32="absolute";qx.Class.define(SSSS_24,{type:SSSS_26,implement:qx.ui.table.ICellRenderer,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);var cr=qx.ui.table.cellrenderer.Abstract;if(!cr.__nA){var colorMgr=qx.theme.manager.Color.getInstance();cr.__nA=arguments.callee.self;var stylesheet=SSSS_2+qx.bom.element.Style.compile({position:SSSS_32,top:SSSS_13,overflow:SSSS_28,whiteSpace:SSSS_5,borderRight:SSSS_15+colorMgr.resolve(SSSS_17),padding:SSSS_11,cursor:SSSS_6,textOverflow:SSSS_21,userSelect:SSSS_27})+SSSS_29+SSSS_10+SSSS_31+SSSS_16;if(!qx.core.Variant.isSet(SSSS_7,SSSS_19)){stylesheet+=SSSS_2+qx.bom.element.BoxSizing.compile(SSSS_22)+SSSS_8;}cr.__nA.stylesheet=qx.bom.Stylesheet.createElement(stylesheet);}},members:{_insetX:6+6+1,_insetY:0,_getCellClass:function(cellInfo){return SSSS_3;},_getCellStyle:function(cellInfo){return cellInfo.style||SSSS_0;},_getCellAttributes:function(cellInfo){return SSSS_0;},_getContentHtml:function(cellInfo){return cellInfo.value||SSSS_0;},_getCellSizeStyle:function(width,height,insetX,insetY){var style=SSSS_0;if(qx.bom.client.Feature.CONTENT_BOX){width-=insetX;height-=insetY;}style+=SSSS_9+Math.max(width,0)+SSSS_1;style+=SSSS_14+Math.max(height,0)+SSSS_1;return style;},createDataCellHtml:function(cellInfo,htmlArr){htmlArr.push(SSSS_12,this._getCellClass(cellInfo),SSSS_25,SSSS_23,cellInfo.styleLeft,SSSS_30,this._getCellSizeStyle(cellInfo.styleWidth,cellInfo.styleHeight,this._insetX,this._insetY),this._getCellStyle(cellInfo),SSSS_4,this._getCellAttributes(cellInfo),SSSS_18+this._getContentHtml(cellInfo),SSSS_20);}}});})();(function(){var SSSS_0="",SSSS_1="number",SSSS_2="Boolean",SSSS_3="qx.ui.table.cellrenderer.Default",SSSS_4=" qooxdoo-table-cell-bold",SSSS_5=" qooxdoo-table-cell-right",SSSS_6=" qooxdoo-table-cell-italic",SSSS_7="string";qx.Class.define(SSSS_3,{extend:qx.ui.table.cellrenderer.Abstract,statics:{STYLEFLAG_ALIGN_RIGHT:1,STYLEFLAG_BOLD:2,STYLEFLAG_ITALIC:4},properties:{useAutoAlign:{check:SSSS_2,init:true}},members:{_getStyleFlags:function(cellInfo){if(this.getUseAutoAlign()){if(typeof cellInfo.value==SSSS_1){return qx.ui.table.cellrenderer.Default.STYLEFLAG_ALIGN_RIGHT;}}},_getCellClass:function(cellInfo){var cellClass=arguments.callee.base.call(this,cellInfo);if(!cellClass){return SSSS_0;}var stylesToApply=this._getStyleFlags(cellInfo);if(stylesToApply&qx.ui.table.cellrenderer.Default.STYLEFLAG_ALIGN_RIGHT){cellClass+=SSSS_5;}if(stylesToApply&qx.ui.table.cellrenderer.Default.STYLEFLAG_BOLD){cellClass+=SSSS_4;}if(stylesToApply&qx.ui.table.cellrenderer.Default.STYLEFLAG_ITALIC){cellClass+=SSSS_6;}return cellClass;},_getContentHtml:function(cellInfo){return qx.bom.String.escape(this._formatValue(cellInfo));},_formatValue:function(cellInfo){var value=cellInfo.value;if(value==null){return SSSS_0;}if(typeof value==SSSS_7){return value;}else if(typeof value==SSSS_1){if(!qx.ui.table.cellrenderer.Default._numberFormat){qx.ui.table.cellrenderer.Default._numberFormat=new qx.util.format.NumberFormat();qx.ui.table.cellrenderer.Default._numberFormat.setMaximumFractionDigits(2);}var res=qx.ui.table.cellrenderer.Default._numberFormat.format(value);}else if(value instanceof Date){res=qx.util.format.DateFormat.getDateInstance().format(value);}else{res=value;}return res;}}});})();(function(){var SSSS_0="qx.ui.table.ICellEditorFactory";qx.Interface.define(SSSS_0,{members:{createCellEditor:function(cellInfo){return true;},getCellEditorValue:function(cellEditor){return true;}}});})();(function(){var SSSS_0="",SSSS_1="Function",SSSS_2="abstract",SSSS_3="number",SSSS_4="appear",SSSS_5="qx.ui.table.celleditor.AbstractField";qx.Class.define(SSSS_5,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,type:SSSS_2,properties:{validationFunction:{check:SSSS_1,nullable:true,init:null}},members:{_createEditor:function(){throw new Error("Abstract method call!");},createCellEditor:function(cellInfo){var cellEditor=this._createEditor();cellEditor.originalValue=cellInfo.value;if(cellInfo.value===null||cellInfo.value===undefined){cellInfo.value=SSSS_0;}cellEditor.setValue(SSSS_0+cellInfo.value);cellEditor.addListener(SSSS_4,function(){cellEditor.selectAllText();});return cellEditor;},getCellEditorValue:function(cellEditor){var value=cellEditor.getValue();var validationFunc=this.getValidationFunction();if(validationFunc){value=validationFunc(value,cellEditor.originalValue);}if(typeof cellEditor.originalValue==SSSS_3){value=parseFloat(value);}return value;}}});})();(function(){var SSSS_0="qx.ui.table.celleditor.TextField",SSSS_1="table-editor-textfield";qx.Class.define(SSSS_0,{extend:qx.ui.table.celleditor.AbstractField,members:{_createEditor:function(){var cellEditor=new qx.ui.form.TextField();cellEditor.setAppearance(SSSS_1);return cellEditor;}}});})();(function(){var SSSS_0="qx.debug",SSSS_1="on",SSSS_2="Invalid argument 'col'.",SSSS_3="qx.event.type.Data",SSSS_4="orderChanged",SSSS_5="Invalid argument 'renderer'.",SSSS_6="visibilityChanged",SSSS_7="visibilityChangedPre",SSSS_8="Invalid argument 'colCount'.",SSSS_9="Invalid argument 'visible'.",SSSS_10="Invalid argument 'factory'.",SSSS_11="Invalid argument 'newPositions'.",SSSS_12="Invalid argument 'width'.",SSSS_13="__nI",SSSS_14="Invalid argument 'visXPos'.",SSSS_15="Invalid argument 'toOverXPos'.",SSSS_16="qx.ui.table.columnmodel.Basic",SSSS_17="__nG",SSSS_18="widthChanged",SSSS_19="Invalid argument 'overXPos'.",SSSS_20="Invalid argument 'fromOverXPos'.",SSSS_21="__nH";qx.Class.define(SSSS_16,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.__nB=[];this.__nC=[];},events:{"widthChanged":SSSS_3,"visibilityChangedPre":SSSS_3,"visibilityChanged":SSSS_3,"orderChanged":SSSS_3},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:{__nD:null,__nE:null,__nC:null,__nB:null,__nF:null,__nG:null,__nH:null,__nI:null,init:function(colCount){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(colCount,SSSS_8);}this.__nF=[];var width=qx.ui.table.columnmodel.Basic.DEFAULT_WIDTH;var headerRenderer=this.__nG||(this.__nG=new qx.ui.table.columnmodel.Basic.DEFAULT_HEADER_RENDERER());var dataRenderer=this.__nH||(this.__nH=new qx.ui.table.columnmodel.Basic.DEFAULT_DATA_RENDERER());var editorFactory=this.__nI||(this.__nI=new qx.ui.table.columnmodel.Basic.DEFAULT_EDITOR_FACTORY());this.__nB=[];this.__nC=[];for(var col=0;col<colCount;col++){this.__nF[col]={width:width,headerRenderer:headerRenderer,dataRenderer:dataRenderer,editorFactory:editorFactory};this.__nB[col]=col;this.__nC[col]=col;}this.__nE=null;for(var col=0;col<colCount;col++){var data={col:col,visible:true};this.fireDataEvent(SSSS_7,data);this.fireDataEvent(SSSS_6,data);}},getVisibleColumns:function(){return this.__nC!=null?this.__nC:[];},setColumnWidth:function(col,width){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(col,SSSS_2);this.assertInteger(width,SSSS_12);}var oldWidth=this.__nF[col].width;if(oldWidth!=width){this.__nF[col].width=width;var data={col:col,newWidth:width,oldWidth:oldWidth};this.fireDataEvent(SSSS_18,data);}},getColumnWidth:function(col){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(col,SSSS_2);}return this.__nF[col].width;},setHeaderCellRenderer:function(col,renderer){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(col,SSSS_2);this.assertInterface(renderer,qx.ui.table.IHeaderRenderer,SSSS_5);}var oldRenderer=this.__nF[col].headerRenderer;if(oldRenderer!==this.__nG){oldRenderer.dispose();}this.__nF[col].headerRenderer=renderer;},getHeaderCellRenderer:function(col){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(col,SSSS_2);}return this.__nF[col].headerRenderer;},setDataCellRenderer:function(col,renderer){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(col,SSSS_2);this.assertInterface(renderer,qx.ui.table.ICellRenderer,SSSS_5);}var oldRenderer=this.__nF[col].headerRenderer;if(oldRenderer!==this.__nH){oldRenderer.dispose();}this.__nF[col].dataRenderer=renderer;},getDataCellRenderer:function(col){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(col,SSSS_2);}return this.__nF[col].dataRenderer;},setCellEditorFactory:function(col,factory){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(col,SSSS_2);this.assertInterface(factory,qx.ui.table.ICellEditorFactory,SSSS_10);}var oldRenderer=this.__nF[col].headerRenderer;if(oldRenderer!==this.__nI){oldRenderer.dispose();}this.__nF[col].editorFactory=factory;},getCellEditorFactory:function(col){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(col,SSSS_2);}return this.__nF[col].editorFactory;},_getColToXPosMap:function(){if(this.__nE==null){this.__nE={};for(var overX=0;overX<this.__nB.length;overX++){var col=this.__nB[overX];this.__nE[col]={overX:overX};}for(var visX=0;visX<this.__nC.length;visX++){var col=this.__nC[visX];this.__nE[col].visX=visX;}}return this.__nE;},getVisibleColumnCount:function(){return this.__nC!=null?this.__nC.length:0;},getVisibleColumnAtX:function(visXPos){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(visXPos,SSSS_14);}return this.__nC[visXPos];},getVisibleX:function(col){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(col,SSSS_2);}return this._getColToXPosMap()[col].visX;},getOverallColumnCount:function(){return this.__nB.length;},getOverallColumnAtX:function(overXPos){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(overXPos,SSSS_19);}return this.__nB[overXPos];},getOverallX:function(col){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(col,SSSS_2);}return this._getColToXPosMap()[col].overX;},isColumnVisible:function(col){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(col,SSSS_2);}return (this._getColToXPosMap()[col].visX!=null);},setColumnVisible:function(col,visible){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(col,SSSS_2);this.assertBoolean(visible,SSSS_9);}if(visible!=this.isColumnVisible(col)){if(visible){var colToXPosMap=this._getColToXPosMap();var overX=colToXPosMap[col].overX;if(overX==null){throw new Error("Showing column failed: "+col+". The column is not added to this TablePaneModel.");}var nextVisX;for(var x=overX+1;x<this.__nB.length;x++){var currCol=this.__nB[x];var currVisX=colToXPosMap[currCol].visX;if(currVisX!=null){nextVisX=currVisX;break;}}if(nextVisX==null){nextVisX=this.__nC.length;}this.__nC.splice(nextVisX,0,col);}else{var visX=this.getVisibleX(col);this.__nC.splice(visX,1);}this.__nE=null;if(!this.__nD){var data={col:col,visible:visible};this.fireDataEvent(SSSS_7,data);this.fireDataEvent(SSSS_6,data);}}},moveColumn:function(fromOverXPos,toOverXPos){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertInteger(fromOverXPos,SSSS_20);this.assertInteger(toOverXPos,SSSS_15);}this.__nD=true;var col=this.__nB[fromOverXPos];var visible=this.isColumnVisible(col);if(visible){this.setColumnVisible(col,false);}this.__nB.splice(fromOverXPos,1);this.__nB.splice(toOverXPos,0,col);this.__nE=null;if(visible){this.setColumnVisible(col,true);}this.__nD=false;var data={col:col,fromOverXPos:fromOverXPos,toOverXPos:toOverXPos};this.fireDataEvent(SSSS_4,data);},setColumnsOrder:function(newPositions){if(qx.core.Variant.isSet(SSSS_0,SSSS_1)){this.assertArray(newPositions,SSSS_11);}if(newPositions.length==this.__nB.length){this.__nD=true;var isVisible=new Array(newPositions.length);for(var colIdx=0;colIdx<this.__nB.length;colIdx++){var visible=this.isColumnVisible(colIdx);isVisible[colIdx]=visible;if(visible){this.setColumnVisible(colIdx,false);}}this.__nB=qx.lang.Array.clone(newPositions);this.__nE=null;for(var colIdx=0;colIdx<this.__nB.length;colIdx++){if(isVisible[colIdx]){this.setColumnVisible(colIdx,true);}}this.__nD=false;this.fireDataEvent(SSSS_4);}else{throw new Error("setColumnsOrder: Invalid number of column positions given, expected "+this.__nB.length+", got "+newPositions.length);}}},destruct:function(){for(var i=0;i<this.__nF.length;i++){this.__nF[i].headerRenderer.dispose();this.__nF[i].dataRenderer.dispose();this.__nF[i].editorFactory.dispose();}this.__nB=this.__nC=this.__nF=this.__nE=null;this._disposeObjects(SSSS_17,SSSS_21,SSSS_13);}});})();(function(){var SSSS_0="icon",SSSS_1="label",SSSS_2="String",SSSS_3="sort-icon",SSSS_4="_applySortIcon",SSSS_5="_applyIcon",SSSS_6="table-header-cell",SSSS_7="qx.ui.table.headerrenderer.HeaderCell",SSSS_8="_applyLabel";qx.Class.define(SSSS_7,{extend:qx.ui.container.Composite,construct:function(){arguments.callee.base.call(this);var layout=new qx.ui.layout.Grid();layout.setRowFlex(0,1);layout.setColumnFlex(1,1);layout.setColumnFlex(2,1);this.setLayout(layout);},properties:{appearance:{refine:true,init:SSSS_6},label:{check:SSSS_2,init:null,nullable:true,apply:SSSS_8},sortIcon:{check:SSSS_2,init:null,nullable:true,apply:SSSS_4,themeable:true},icon:{check:SSSS_2,init:null,nullable:true,apply:SSSS_5}},members:{_applyLabel:function(value,old){if(value){this._showChildControl(SSSS_1).setValue(value);}else{this._excludeChildControl(SSSS_1);}},_applySortIcon:function(value,old){if(value){this._showChildControl(SSSS_3).setSource(value);}else{this._excludeChildControl(SSSS_3);}},_applyIcon:function(value,old){if(value){this._showChildControl(SSSS_0).setSource(value);}else{this._excludeChildControl(SSSS_0);}},_createChildControlImpl:function(id){var control;switch(id){case SSSS_1:control=new qx.ui.basic.Label(this.getLabel()).set({anonymous:true,allowShrinkX:true});this._add(control,{row:0,column:1});break;case SSSS_3:control=new qx.ui.basic.Image(this.getSortIcon());control.setAnonymous(true);this._add(control,{row:0,column:2});break;case SSSS_0:control=new qx.ui.basic.Image(this.getIcon()).set({anonymous:true,allowShrinkX:true});this._add(control,{row:0,column:0});break;}return control||arguments.callee.base.call(this,id);}}});})();(function(){var SSSS_0="",SSSS_1="Number",SSSS_2="-",SSSS_3="0",SSSS_4="String",SSSS_5="changeNumberFormat",SSSS_6='(',SSSS_7="g",SSSS_8="Boolean",SSSS_9="$",SSSS_10="NaN",SSSS_11='([0-9]{1,3}(?:',SSSS_12='{0,1}[0-9]{3}){0,})',SSSS_13='\\d+){0,1}',SSSS_14="qx.util.format.NumberFormat",SSSS_15="Infinity",SSSS_16="^",SSSS_17=".",SSSS_18="-Infinity",SSSS_19='([-+]){0,1}';qx.Class.define(SSSS_14,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(locale){arguments.callee.base.call(this);this.__nJ=locale;},statics:{getIntegerInstance:function(){var NumberFormat=qx.util.format.NumberFormat;if(NumberFormat._integerInstance==null){NumberFormat._integerInstance=new NumberFormat();NumberFormat._integerInstance.setMaximumFractionDigits(0);}return NumberFormat._integerInstance;},getInstance:function(){if(!this._instance){this._instance=new this;}return this._instance;}},properties:{minimumIntegerDigits:{check:SSSS_1,init:0},maximumIntegerDigits:{check:SSSS_1,nullable:true},minimumFractionDigits:{check:SSSS_1,init:0},maximumFractionDigits:{check:SSSS_1,nullable:true},groupingUsed:{check:SSSS_8,init:true},prefix:{check:SSSS_4,init:SSSS_0,event:SSSS_5},postfix:{check:SSSS_4,init:SSSS_0,event:SSSS_5}},members:{__nJ:null,format:function(num){switch(num){case Infinity:return SSSS_15;case -Infinity:return SSSS_18;case NaN:return SSSS_10;}var negative=(num<0);if(negative){num=-num;}if(this.getMaximumFractionDigits()!=null){var mover=Math.pow(10,this.getMaximumFractionDigits());num=Math.round(num*mover)/mover;}var integerDigits=String(Math.floor(num)).length;var numStr=SSSS_0+num;var integerStr=numStr.substring(0,integerDigits);while(integerStr.length<this.getMinimumIntegerDigits()){integerStr=SSSS_3+integerStr;}if(this.getMaximumIntegerDigits()!=null&&integerStr.length>this.getMaximumIntegerDigits()){integerStr=integerStr.substring(integerStr.length-this.getMaximumIntegerDigits());}var fractionStr=numStr.substring(integerDigits+1);while(fractionStr.length<this.getMinimumFractionDigits()){fractionStr+=SSSS_3;}if(this.getMaximumFractionDigits()!=null&&fractionStr.length>this.getMaximumFractionDigits()){fractionStr=fractionStr.substring(0,this.getMaximumFractionDigits());}if(this.getGroupingUsed()){var origIntegerStr=integerStr;integerStr=SSSS_0;var groupPos;for(groupPos=origIntegerStr.length;groupPos>3;groupPos-=3){integerStr=SSSS_0+qx.locale.Number.getGroupSeparator(this.__nJ)+origIntegerStr.substring(groupPos-3,groupPos)+integerStr;}integerStr=origIntegerStr.substring(0,groupPos)+integerStr;}var prefix=this.getPrefix()?this.getPrefix():SSSS_0;var postfix=this.getPostfix()?this.getPostfix():SSSS_0;var str=prefix+(negative?SSSS_2:SSSS_0)+integerStr;if(fractionStr.length>0){str+=SSSS_0+qx.locale.Number.getDecimalSeparator(this.__nJ)+fractionStr;}str+=postfix;return str;},parse:function(str){var groupSepEsc=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this.__nJ)+SSSS_0);var decimalSepEsc=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this.__nJ)+SSSS_0);var regex=new RegExp(SSSS_16+qx.lang.String.escapeRegexpChars(this.getPrefix())+SSSS_19+SSSS_11+groupSepEsc+SSSS_12+SSSS_6+decimalSepEsc+SSSS_13+qx.lang.String.escapeRegexpChars(this.getPostfix())+SSSS_9);var hit=regex.exec(str);if(hit==null){throw new Error("Number string '"+str+"' does not match the number format");}var negative=(hit[1]==SSSS_2);var integerStr=hit[2];var fractionStr=hit[3];integerStr=integerStr.replace(new RegExp(groupSepEsc,SSSS_7),SSSS_0);var asStr=(negative?SSSS_2:SSSS_0)+integerStr;if(fractionStr!=null&&fractionStr.length!=0){fractionStr=fractionStr.replace(new RegExp(decimalSepEsc),SSSS_0);asStr+=SSSS_17+fractionStr;}return parseFloat(asStr);}}});})();(function(){var SSSS_0="cldr_number_decimal_separator",SSSS_1="cldr_number_percent_format",SSSS_2="qx.locale.Number",SSSS_3="cldr_number_group_separator";qx.Class.define(SSSS_2,{statics:{getDecimalSeparator:function(locale){return qx.locale.Manager.getInstance().localize(SSSS_0,[],locale);},getGroupSeparator:function(locale){return qx.locale.Manager.getInstance().localize(SSSS_3,[],locale);},getPercentFormat:function(locale){return qx.locale.Manager.getInstance().localize(SSSS_1,[],locale);}}});})();(function(){var SSSS_0="",SSSS_1="Number",SSSS_2='</div>',SSSS_3='" ',SSSS_4="paneUpdated",SSSS_5='<div>',SSSS_6="</div>",SSSS_7="overflow: hidden;",SSSS_8="qx.event.type.Data",SSSS_9="paneReloadsData",SSSS_10="div",SSSS_11='style="',SSSS_12="_applyMaxCacheLines",SSSS_13="qx.ui.table.pane.Pane",SSSS_14="width: 100%;",SSSS_15="qx.event.type.Event",SSSS_16="_applyVisibleRowCount",SSSS_17='>',SSSS_18="line-height: ",SSSS_19="appear",SSSS_20='class="',SSSS_21="width:100%;",SSSS_22="px;",SSSS_23='<div ',SSSS_24="'>",SSSS_25="_applyFirstVisibleRow",SSSS_26="<div style='",SSSS_27=";position:relative;";qx.Class.define(SSSS_13,{extend:qx.ui.core.Widget,construct:function(paneScroller){arguments.callee.base.call(this);this.__nK=paneScroller;this.__nL=0;this.__nM=0;this.__nN=[];},events:{"paneReloadsData":SSSS_8,"paneUpdated":SSSS_15},properties:{firstVisibleRow:{check:SSSS_1,init:0,apply:SSSS_25},visibleRowCount:{check:SSSS_1,init:0,apply:SSSS_16},maxCacheLines:{check:SSSS_1,init:1000,apply:SSSS_12},allowShrinkX:{refine:true,init:false}},members:{__nM:null,__nL:null,__nK:null,__nO:null,__nP:null,__nQ:null,__nN:null,__nR:0,_applyFirstVisibleRow:function(value,old){this.updateContent(false,value-old);},_applyVisibleRowCount:function(value,old){this.updateContent(true);},_getContentHint:function(){return {width:this.getPaneScroller().getTablePaneModel().getTotalWidth(),height:400};},getPaneScroller:function(){return this.__nK;},getTable:function(){return this.__nK.getTable();},setFocusedCell:function(col,row,massUpdate){if(col!=this.__nQ||row!=this.__nP){var oldRow=this.__nP;this.__nQ=col;this.__nP=row;if(row!=oldRow&&!massUpdate){if(oldRow!==null){this.updateContent(false,null,oldRow,true);}if(row!==null){this.updateContent(false,null,row,true);}}}},onSelectionChanged:function(){this.updateContent(false,null,null,true);},onFocusChanged:function(){this.updateContent(false,null,null,true);},setColumnWidth:function(col,width){this.updateContent(true);},onColOrderChanged:function(){this.updateContent(true);},onPaneModelChanged:function(){this.updateContent(true);},onTableModelDataChanged:function(firstRow,lastRow,firstColumn,lastColumn){this.__nS();var paneFirstRow=this.getFirstVisibleRow();var rowCount=this.getVisibleRowCount();if(lastRow==-1||lastRow>=paneFirstRow&&firstRow<paneFirstRow+rowCount){this.updateContent();}},onTableModelMetaDataChanged:function(){this.updateContent(true);},_applyMaxCacheLines:function(value,old){if(this.__nR>=value&&value!==-1){this.__nS();}},__nS:function(){this.__nN=[];this.__nR=0;},__nT:function(row,selected,focused){if(!selected&&!focused&&this.__nN[row]){return this.__nN[row];}else{return null;}},__nU:function(row,rowString,selected,focused){var maxCacheLines=this.getMaxCacheLines();if(!selected&&!focused&&!this.__nN[row]&&maxCacheLines>0){this._applyMaxCacheLines(maxCacheLines);this.__nN[row]=rowString;this.__nR+=1;}},updateContent:function(completeUpdate,scrollOffset,onlyRow,onlySelectionOrFocusChanged){if(completeUpdate){this.__nS();}if(scrollOffset&&Math.abs(scrollOffset)<=Math.min(10,this.getVisibleRowCount())){this._scrollContent(scrollOffset);}else if(onlySelectionOrFocusChanged&&!this.getTable().getAlwaysUpdateCells()){this._updateRowStyles(onlyRow);}else{this._updateAllRows();}},_updateRowStyles:function(onlyRow){var elem=this.getContentElement().getDomElement();if(!elem||!elem.firstChild){this._updateAllRows();return;}var table=this.getTable();var selectionModel=table.getSelectionModel();var tableModel=table.getTableModel();var rowRenderer=table.getDataRowRenderer();var rowNodes=elem.firstChild.childNodes;var cellInfo={table:table};var row=this.getFirstVisibleRow();var y=0;var end=rowNodes.length;if(onlyRow!=null){var offset=onlyRow-row;if(offset>=0&&offset<end){row=onlyRow;y=offset;end=offset+1;}else{return;}}for(;y<end;y++,row++){cellInfo.row=row;cellInfo.selected=selectionModel.isSelectedIndex(row);cellInfo.focusedRow=(this.__nP==row);cellInfo.rowData=tableModel.getRowData(row);rowRenderer.updateDataRowElement(cellInfo,rowNodes[y]);}},_getRowsHtml:function(firstRow,rowCount){var table=this.getTable();var selectionModel=table.getSelectionModel();var tableModel=table.getTableModel();var columnModel=table.getTableColumnModel();var paneModel=this.getPaneScroller().getTablePaneModel();var rowRenderer=table.getDataRowRenderer();tableModel.prefetchRows(firstRow,firstRow+rowCount-1);var rowHeight=table.getRowHeight();var colCount=paneModel.getColumnCount();var left=0;var cols=[];for(var x=0;x<colCount;x++){var col=paneModel.getColumnAtX(x);var cellWidth=columnModel.getColumnWidth(col);cols.push({col:col,xPos:x,editable:tableModel.isColumnEditable(col),focusedCol:this.__nQ==col,styleLeft:left,styleWidth:cellWidth});left+=cellWidth;}var rowsArr=[];var paneReloadsData=false;for(var row=firstRow;row<firstRow+rowCount;row++){var selected=selectionModel.isSelectedIndex(row);var focusedRow=(this.__nP==row);var cachedRow=this.__nT(row,selected,focusedRow);if(cachedRow){rowsArr.push(cachedRow);continue;}var rowHtml=[];var cellInfo={table:table};cellInfo.styleHeight=rowHeight;cellInfo.row=row;cellInfo.selected=selected;cellInfo.focusedRow=focusedRow;cellInfo.rowData=tableModel.getRowData(row);if(!cellInfo.rowData){paneReloadsData=true;}rowHtml.push(SSSS_23);var rowClass=rowRenderer.getRowClass(cellInfo);if(rowClass){rowHtml.push(SSSS_20,rowClass,SSSS_3);}var rowStyle=rowRenderer.createRowStyle(cellInfo);rowStyle+=SSSS_27+rowRenderer.getRowHeightStyle(rowHeight)+SSSS_21;if(rowStyle){rowHtml.push(SSSS_11,rowStyle,SSSS_3);}rowHtml.push(SSSS_17);for(var x=0;x<colCount;x++){var col_def=cols[x];for(var attr in col_def){cellInfo[attr]=col_def[attr];}var col=cellInfo.col;cellInfo.value=tableModel.getValue(col,row);var cellRenderer=columnModel.getDataCellRenderer(col);cellRenderer.createDataCellHtml(cellInfo,rowHtml);}rowHtml.push(SSSS_2);var rowString=rowHtml.join(SSSS_0);this.__nU(row,rowString,selected,focusedRow);rowsArr.push(rowString);}this.fireDataEvent(SSSS_9,paneReloadsData);return rowsArr.join(SSSS_0);},_scrollContent:function(rowOffset){var el=this.getContentElement().getDomElement();if(!(el&&el.firstChild)){this._updateAllRows();return;}var tableBody=el.firstChild;var tableChildNodes=tableBody.childNodes;var rowCount=this.getVisibleRowCount();var firstRow=this.getFirstVisibleRow();var tabelModel=this.getTable().getTableModel();var modelRowCount=0;modelRowCount=tabelModel.getRowCount();if(firstRow+rowCount>modelRowCount){this._updateAllRows();return;}var removeRowBase=rowOffset<0?rowCount+rowOffset:0;var addRowBase=rowOffset<0?0:rowCount-rowOffset;for(i=Math.abs(rowOffset)-1;i>=0;i--){var rowElem=tableChildNodes[removeRowBase];try{tableBody.removeChild(rowElem);}catch(exp){break;}}if(!this.__nO){this.__nO=document.createElement(SSSS_10);}var tableDummy=SSSS_5;tableDummy+=this._getRowsHtml(firstRow+addRowBase,Math.abs(rowOffset));tableDummy+=SSSS_2;this.__nO.innerHTML=tableDummy;var newTableRows=this.__nO.firstChild.childNodes;if(rowOffset>0){for(var i=newTableRows.length-1;i>=0;i--){var rowElem=newTableRows[0];tableBody.appendChild(rowElem);}}else{for(var i=newTableRows.length-1;i>=0;i--){var rowElem=newTableRows[newTableRows.length-1];tableBody.insertBefore(rowElem,tableBody.firstChild);}}if(this.__nP!==null){this._updateRowStyles(this.__nP-rowOffset);this._updateRowStyles(this.__nP);}this.fireEvent(SSSS_4);},_updateAllRows:function(){var elem=this.getContentElement().getDomElement();if(!elem){this.addListenerOnce(SSSS_19,arguments.callee,this);return;}var table=this.getTable();var tableModel=table.getTableModel();var paneModel=this.getPaneScroller().getTablePaneModel();var colCount=paneModel.getColumnCount();var rowHeight=table.getRowHeight();var firstRow=this.getFirstVisibleRow();var rowCount=this.getVisibleRowCount();var modelRowCount=tableModel.getRowCount();if(firstRow+rowCount>modelRowCount){rowCount=Math.max(0,modelRowCount-firstRow);}var rowWidth=paneModel.getTotalWidth();var htmlArr;if(rowCount>0){htmlArr=[SSSS_26,SSSS_14,(table.getForceLineHeight()?SSSS_18+rowHeight+SSSS_22:SSSS_0),SSSS_7,SSSS_24,this._getRowsHtml(firstRow,rowCount),SSSS_6];}else{htmlArr=[];}var data=htmlArr.join(SSSS_0);elem.innerHTML=data;this.setWidth(rowWidth);this.__nL=colCount;this.__nM=rowCount;this.fireEvent(SSSS_4);}},destruct:function(){this.__nO=this.__nK=this.__nN=null;}});})();(function(){var SSSS_0="hovered",SSSS_1="__nV",SSSS_2="qx.ui.table.pane.Header";qx.Class.define(SSSS_2,{extend:qx.ui.core.Widget,construct:function(paneScroller){arguments.callee.base.call(this);this._setLayout(new qx.ui.layout.HBox());this.__nV=paneScroller;},members:{__nV:null,__nW:null,__nX:null,getPaneScroller:function(){return this.__nV;},getTable:function(){return this.__nV.getTable();},onColOrderChanged:function(){this._updateContent(true);},onPaneModelChanged:function(){this._updateContent(true);},onTableModelMetaDataChanged:function(){this._updateContent();},setColumnWidth:function(col,width){var child=this.getHeaderWidgetAtColumn(col);if(child!=null){child.setWidth(width);}},setMouseOverColumn:function(col){if(col!=this.__nX){if(this.__nX!=null){var widget=this.getHeaderWidgetAtColumn(this.__nX);if(widget!=null){widget.removeState(SSSS_0);}}if(col!=null){this.getHeaderWidgetAtColumn(col).addState(SSSS_0);}this.__nX=col;}},getHeaderWidgetAtColumn:function(col){var xPos=this.getPaneScroller().getTablePaneModel().getX(col);return this._getChildren()[xPos];},showColumnMoveFeedback:function(col,x){var pos=this.getContainerLocation();if(this.__nW==null){var xPos=this.getPaneScroller().getTablePaneModel().getX(col);var cellWidget=this._getChildren()[xPos];var tableModel=this.getTable().getTableModel();var columnModel=this.getTable().getTableColumnModel();var cellInfo={xPos:xPos,col:col,name:tableModel.getColumnName(col)};var cellRenderer=columnModel.getHeaderCellRenderer(col);var feedback=cellRenderer.createHeaderCell(cellInfo);var size=cellWidget.getBounds();feedback.setWidth(size.width);feedback.setHeight(size.height);feedback.setZIndex(1000000);feedback.setOpacity(0.8);feedback.setLayoutProperties({top:pos.top});this.getApplicationRoot().add(feedback);this.__nW=feedback;}this.__nW.setLayoutProperties({left:pos.left+x});this.__nW.show();},hideColumnMoveFeedback:function(){if(this.__nW!=null){this.__nW.destroy();this.__nW=null;}},isShowingColumnMoveFeedback:function(){return this.__nW!=null;},_updateContent:function(completeUpdate){var tableModel=this.getTable().getTableModel();var columnModel=this.getTable().getTableColumnModel();var paneModel=this.getPaneScroller().getTablePaneModel();var children=this._getChildren();var colCount=paneModel.getColumnCount();var sortedColum=tableModel.getSortColumnIndex();if(completeUpdate){this._cleanUpCells();}var cellInfo={};cellInfo.sortedAscending=tableModel.isSortAscending();for(var x=0;x<colCount;x++){var col=paneModel.getColumnAtX(x);if(col===undefined){continue;}var colWidth=columnModel.getColumnWidth(col);var cellRenderer=columnModel.getHeaderCellRenderer(col);cellInfo.xPos=x;cellInfo.col=col;cellInfo.name=tableModel.getColumnName(col);cellInfo.editable=tableModel.isColumnEditable(col);cellInfo.sorted=(col==sortedColum);var cachedWidget=children[x];if(cachedWidget==null){cachedWidget=cellRenderer.createHeaderCell(cellInfo);cachedWidget.set({width:colWidth});this._add(cachedWidget);}else{cellRenderer.updateHeaderCell(cellInfo,cachedWidget);}}},_cleanUpCells:function(){var children=this._getChildren();for(var x=children.length-1;x>=0;x--){var cellWidget=children[x];cellWidget.destroy();}}},destruct:function(){this._disposeObjects(SSSS_1);}});})();(function(){var SSSS_0="Boolean",SSSS_1="resize-line",SSSS_2="mousedown",SSSS_3="qx.event.type.Data",SSSS_4="mouseup",SSSS_5="qx.ui.table.pane.CellEvent",SSSS_6="scroll",SSSS_7="focus-indicator",SSSS_8="excluded",SSSS_9="scrollbar-y",SSSS_10="visible",SSSS_11="mousemove",SSSS_12="header",SSSS_13="editing",SSSS_14="click",SSSS_15="modelChanged",SSSS_16="scrollbar-x",SSSS_17="cellClick",SSSS_18="pane",SSSS_19="mouseout",SSSS_20="changeHorizontalScrollBarVisible",SSSS_21="__od",SSSS_22="__ob",SSSS_23="bottom",SSSS_24="_applyScrollTimeout",SSSS_25="changeScrollX",SSSS_26="_applyTablePaneModel",SSSS_27="Integer",SSSS_28="dblclick",SSSS_29="dataEdited",SSSS_30="mousewheel",SSSS_31="interval",SSSS_32="qx.ui.table.pane.Scroller",SSSS_33="__of",SSSS_34="__oh",SSSS_35="_applyShowCellFocusIndicator",SSSS_36="resize",SSSS_37="vertical",SSSS_38="__oc",SSSS_39="changeScrollY",SSSS_40="__oa",SSSS_41="__oi",SSSS_42="__oe",SSSS_43="appear",SSSS_44="table-scroller",SSSS_45="beforeSort",SSSS_46="cellDblclick",SSSS_47="__og",SSSS_48="horizontal",SSSS_49="losecapture",SSSS_50="contextmenu",SSSS_51="col-resize",SSSS_52="disappear",SSSS_53="_applyVerticalScrollBarVisible",SSSS_54="_applyHorizontalScrollBarVisible",SSSS_55="cellContextmenu",SSSS_56="close",SSSS_57="changeTablePaneModel",SSSS_58="qx.ui.table.pane.Model",SSSS_59="changeVerticalScrollBarVisible";qx.Class.define(SSSS_32,{extend:qx.ui.core.Widget,include:qx.ui.core.scroll.MScrollBarFactory,construct:function(table){arguments.callee.base.call(this);this.__nY=table;var grid=new qx.ui.layout.Grid();grid.setColumnFlex(0,1);grid.setRowFlex(1,1);this._setLayout(grid);this.__oa=this._showChildControl(SSSS_16);this.__ob=this._showChildControl(SSSS_9);this.__oc=this._showChildControl(SSSS_12);this.__od=this._showChildControl(SSSS_18);this.__oe=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({minWidth:0});this._add(this.__oe,{row:0,column:0,colSpan:2});this.__of=new qx.ui.table.pane.Clipper();this.__of.add(this.__oc);this.__of.addListener(SSSS_49,this._onChangeCaptureHeader,this);this.__of.addListener(SSSS_11,this._onMousemoveHeader,this);this.__of.addListener(SSSS_2,this._onMousedownHeader,this);this.__of.addListener(SSSS_4,this._onMouseupHeader,this);this.__of.addListener(SSSS_14,this._onClickHeader,this);this.__oe.add(this.__of,{flex:1});this.__og=new qx.ui.table.pane.Clipper();this.__og.add(this.__od);this.__og.addListener(SSSS_30,this._onMousewheel,this);this.__og.addListener(SSSS_11,this._onMousemovePane,this);this.__og.addListener(SSSS_2,this._onMousedownPane,this);this.__og.addListener(SSSS_4,this._onMouseupPane,this);this.__og.addListener(SSSS_14,this._onClickPane,this);this.__og.addListener(SSSS_50,this._onContextMenu,this);this.__og.addListener(SSSS_28,this._onDblclickPane,this);this.__og.addListener(SSSS_36,this._onResizePane,this);this._add(this.__og,{row:1,column:0});this.__oh=this.getChildControl(SSSS_7);this.getChildControl(SSSS_1).hide();this.addListener(SSSS_19,this._onMouseout,this);this.addListener(SSSS_43,this._onAppear,this);this.addListener(SSSS_52,this._onDisappear,this);this.__oi=new qx.event.Timer();this.__oi.addListener(SSSS_31,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":SSSS_3,"changeScrollX":SSSS_3,"cellClick":SSSS_5,"cellDblclick":SSSS_5,"cellContextmenu":SSSS_5,"beforeSort":SSSS_3},properties:{horizontalScrollBarVisible:{check:SSSS_0,init:true,apply:SSSS_54,event:SSSS_20},verticalScrollBarVisible:{check:SSSS_0,init:true,apply:SSSS_53,event:SSSS_59},tablePaneModel:{check:SSSS_58,apply:SSSS_26,event:SSSS_57},liveResize:{check:SSSS_0,init:false},focusCellOnMouseMove:{check:SSSS_0,init:false},selectBeforeFocus:{check:SSSS_0,init:false},showCellFocusIndicator:{check:SSSS_0,init:true,apply:SSSS_35},scrollTimeout:{check:SSSS_27,init:100,apply:SSSS_24},appearance:{refine:true,init:SSSS_44}},members:{__oj:null,__nY:null,__ok:null,__ol:null,__om:null,__on:null,__oo:null,__op:null,__oq:null,__or:null,__os:null,__ot:null,__ou:null,__ov:null,__ow:null,__ox:null,__oy:null,__oz:null,__oA:null,__oB:null,__oC:null,__oD:null,__oa:null,__ob:null,__oc:null,__of:null,__od:null,__og:null,__oh:null,__oe:null,__oi:null,getPaneInsetRight:function(){var topRight=this.getTopRightWidget();var topRightWidth=topRight&&topRight.isVisible()&&topRight.getBounds()?topRight.getBounds().width:0;var scrollBarWidth=this.getVerticalScrollBarVisible()?this.getVerticalScrollBarWidth():0;return Math.max(topRightWidth,scrollBarWidth);},setPaneWidth:function(width){if(this.isVerticalScrollBarVisible()){width+=this.getPaneInsetRight();}this.setWidth(width);},_createChildControlImpl:function(id){var control;switch(id){case SSSS_12:control=(this.getTable().getNewTablePaneHeader())(this);break;case SSSS_18:control=(this.getTable().getNewTablePane())(this);break;case SSSS_7:control=new qx.ui.table.pane.FocusIndicator(this);control.setUserBounds(0,0,0,0);control.setZIndex(1000);control.addListener(SSSS_4,this._onMouseupFocusIndicator,this);this.__og.add(control);control.exclude();break;case SSSS_1:control=new qx.ui.core.Widget();control.setUserBounds(0,0,0,0);control.setZIndex(1000);this.__og.add(control);break;case SSSS_16:control=this._createScrollBar(SSSS_48).set({minWidth:0,alignY:SSSS_23});control.addListener(SSSS_6,this._onScrollX,this);this._add(control,{row:2,column:0});break;case SSSS_9:control=this._createScrollBar(SSSS_37);control.addListener(SSSS_6,this._onScrollY,this);this._add(control,{row:1,column:1});break;}return control||arguments.callee.base.call(this,id);},_applyHorizontalScrollBarVisible:function(value,old){this.__oa.setVisibility(value?SSSS_10:SSSS_8);if(!value){this.setScrollY(0,true);}},_applyVerticalScrollBarVisible:function(value,old){this.__ob.setVisibility(value?SSSS_10:SSSS_8);if(!value){this.setScrollX(0);}},_applyTablePaneModel:function(value,old){if(old!=null){old.removeListener(SSSS_15,this._onPaneModelChanged,this);}value.addListener(SSSS_15,this._onPaneModelChanged,this);},_applyShowCellFocusIndicator:function(value,old){if(value){this._updateFocusIndicator();}else{if(this.__oh){this.__oh.hide();}}},getScrollY:function(){return this.__ob.getPosition();},setScrollY:function(scrollY,renderSync){this.__ob.scrollTo(scrollY);if(renderSync){this._updateContent();}},getScrollX:function(){return this.__oa.getPosition();},setScrollX:function(scrollX){this.__oa.scrollTo(scrollX);},getTable:function(){return this.__nY;},onColVisibilityChanged:function(){this.updateHorScrollBarMaximum();this._updateFocusIndicator();},setColumnWidth:function(col,width){this.__oc.setColumnWidth(col,width);this.__od.setColumnWidth(col,width);var paneModel=this.getTablePaneModel();var x=paneModel.getX(col);if(x!=-1){this.updateHorScrollBarMaximum();this._updateFocusIndicator();}},onColOrderChanged:function(){this.__oc.onColOrderChanged();this.__od.onColOrderChanged();this.updateHorScrollBarMaximum();},onTableModelDataChanged:function(firstRow,lastRow,firstColumn,lastColumn){this.__od.onTableModelDataChanged(firstRow,lastRow,firstColumn,lastColumn);var rowCount=this.getTable().getTableModel().getRowCount();if(rowCount!=this.__oj){this.updateVerScrollBarMaximum();if(this.getFocusedRow()>=rowCount){if(rowCount==0){this.setFocusedCell(null,null);}else{this.setFocusedCell(this.getFocusedColumn(),rowCount-1);}}this.__oj=rowCount;}},onSelectionChanged:function(){this.__od.onSelectionChanged();},onFocusChanged:function(){this.__od.onFocusChanged();},onTableModelMetaDataChanged:function(){this.__oc.onTableModelMetaDataChanged();this.__od.onTableModelMetaDataChanged();},_onPaneModelChanged:function(){this.__oc.onPaneModelChanged();this.__od.onPaneModelChanged();},_onResizePane:function(){this.updateHorScrollBarMaximum();this.updateVerScrollBarMaximum();this._updateContent();this.__oc._updateContent();this.__nY._updateScrollBarVisibility();},updateHorScrollBarMaximum:function(){var paneSize=this.__og.getInnerSize();if(!paneSize){return ;}var scrollSize=this.getTablePaneModel().getTotalWidth();var scrollBar=this.__oa;if(paneSize.width<scrollSize){var max=Math.max(0,scrollSize-paneSize.width);scrollBar.setMaximum(max);scrollBar.setKnobFactor(paneSize.width/scrollSize);var pos=scrollBar.getPosition();scrollBar.setPosition(Math.min(pos,max));}else{scrollBar.setMaximum(0);scrollBar.setKnobFactor(1);scrollBar.setPosition(0);}},updateVerScrollBarMaximum:function(){var paneSize=this.__og.getInnerSize();if(!paneSize){return ;}var tableModel=this.getTable().getTableModel();var rowCount=tableModel.getRowCount();if(this.getTable().getKeepFirstVisibleRowComplete()){rowCount+=1;}var rowHeight=this.getTable().getRowHeight();var scrollSize=rowCount*rowHeight;var scrollBar=this.__ob;if(paneSize.height<scrollSize){var max=Math.max(0,scrollSize-paneSize.height);scrollBar.setMaximum(max);scrollBar.setKnobFactor(paneSize.height/scrollSize);var pos=scrollBar.getPosition();scrollBar.setPosition(Math.min(pos,max));}else{scrollBar.setMaximum(0);scrollBar.setKnobFactor(1);scrollBar.setPosition(0);}},onKeepFirstVisibleRowCompleteChanged:function(){this.updateVerScrollBarMaximum();this._updateContent();},_onAppear:function(){this._startInterval(this.getScrollTimeout());},_onDisappear:function(){this._stopInterval();},_onScrollX:function(e){var scrollLeft=e.getData();this.fireDataEvent(SSSS_25,scrollLeft,e.getOldData());this.__of.scrollToX(scrollLeft);this.__og.scrollToX(scrollLeft);},_onScrollY:function(e){this.fireDataEvent(SSSS_39,e.getData(),e.getOldData());this._postponedUpdateContent();},_onMousewheel:function(e){var table=this.getTable();if(!table.getEnabled()){return;}var factor=qx.bom.client.Engine.GECKO?1:3;var value=this.__ob.getPosition()+((e.getWheelDelta()*factor)*table.getRowHeight());this.__ob.scrollTo(value);if(this.__ox&&this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(this.__ox,this.__oy);}e.stop();},__oE:function(pageX){var table=this.getTable();var headerCell=this.__oc.getHeaderWidgetAtColumn(this.__os);var minColumnWidth=headerCell.getSizeHint().minWidth;var newWidth=Math.max(minColumnWidth,this.__ou+pageX-this.__ot);if(this.getLiveResize()){var columnModel=table.getTableColumnModel();columnModel.setColumnWidth(this.__os,newWidth);}else{this.__oc.setColumnWidth(this.__os,newWidth);var paneModel=this.getTablePaneModel();this._showResizeLine(paneModel.getColumnLeft(this.__os)+newWidth);}this.__ot+=newWidth-this.__ou;this.__ou=newWidth;},__oF:function(pageX){var clickTolerance=qx.ui.table.pane.Scroller.CLICK_TOLERANCE;if(this.__oc.isShowingColumnMoveFeedback()||pageX>this.__or+clickTolerance||pageX<this.__or-clickTolerance){this.__oo+=pageX-this.__or;this.__oc.showColumnMoveFeedback(this.__on,this.__oo);var targetScroller=this.__nY.getTablePaneScrollerAtPageX(pageX);if(this.__oq&&this.__oq!=targetScroller){this.__oq.hideColumnMoveFeedback();}if(targetScroller!=null){this.__op=targetScroller.showColumnMoveFeedback(pageX);}else{this.__op=null;}this.__oq=targetScroller;this.__or=pageX;}},_onMousemoveHeader:function(e){var table=this.getTable();if(!table.getEnabled()){return;}var useResizeCursor=false;var mouseOverColumn=null;var pageX=e.getDocumentLeft();var pageY=e.getDocumentTop();this.__ox=pageX;this.__oy=pageY;if(this.__os!=null){this.__oE(pageX);useResizeCursor=true;e.stopPropagation();}else if(this.__on!=null){this.__oF(pageX);e.stopPropagation();}else{var resizeCol=this._getResizeColumnForPageX(pageX);if(resizeCol!=-1){useResizeCursor=true;}else{var tableModel=table.getTableModel();var col=this._getColumnForPageX(pageX);if(col!=null&&tableModel.isColumnSortable(col)){mouseOverColumn=col;}}}var cursor=useResizeCursor?SSSS_51:null;this.getApplicationRoot().setGlobalCursor(cursor);this.setCursor(cursor);this.__oc.setMouseOverColumn(mouseOverColumn);},_onMousemovePane:function(e){var table=this.getTable();if(!table.getEnabled()){return;}var pageX=e.getDocumentLeft();var pageY=e.getDocumentTop();this.__ox=pageX;this.__oy=pageY;var row=this._getRowForPagePos(pageX,pageY);if(row!=null&&this._getColumnForPageX(pageX)!=null){if(this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(pageX,pageY);}}this.__oc.setMouseOverColumn(null);},_onMousedownHeader:function(e){if(!this.getTable().getEnabled()){return;}var pageX=e.getDocumentLeft();var resizeCol=this._getResizeColumnForPageX(pageX);if(resizeCol!=-1){this._startResizeHeader(resizeCol,pageX);e.stop();}else{var moveCol=this._getColumnForPageX(pageX);if(moveCol!=null){this._startMoveHeader(moveCol,pageX);e.stop();}}},_startResizeHeader:function(resizeCol,pageX){var columnModel=this.getTable().getTableColumnModel();this.__os=resizeCol;this.__ot=pageX;this.__ou=columnModel.getColumnWidth(this.__os);this.__of.capture();},_startMoveHeader:function(moveCol,pageX){this.__on=moveCol;this.__or=pageX;this.__oo=this.getTablePaneModel().getColumnLeft(moveCol);this.__of.capture();},_onMousedownPane:function(e){var table=this.getTable();if(!table.getEnabled()){return;}if(this.isEditing()){this.stopEditing();}var pageX=e.getDocumentLeft();var pageY=e.getDocumentTop();var row=this._getRowForPagePos(pageX,pageY);var col=this._getColumnForPageX(pageX);if(row!==null){this.__ov={row:row,col:col};var selectBeforeFocus=this.getSelectBeforeFocus();if(selectBeforeFocus){table.getSelectionManager().handleMouseDown(row,e);}if(!this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(pageX,pageY);}if(!selectBeforeFocus){table.getSelectionManager().handleMouseDown(row,e);}}},_onMouseupFocusIndicator:function(e){if(this.__ov&&this.__oh.getRow()==this.__ov.row&&this.__oh.getColumn()==this.__ov.col){this.__ov={};this.fireEvent(SSSS_17,qx.ui.table.pane.CellEvent,[this,e,this.__ov.row,this.__ov.col],true);}},_onChangeCaptureHeader:function(e){if(this.__os!=null){this._stopResizeHeader();}if(this.__on!=null){this._stopMoveHeader();}},_stopResizeHeader:function(){var columnModel=this.getTable().getTableColumnModel();if(!this.getLiveResize()){this._hideResizeLine();columnModel.setColumnWidth(this.__os,this.__ou);}this.__os=null;this.__of.releaseCapture();this.getApplicationRoot().setGlobalCursor(null);this.setCursor(null);},_stopMoveHeader:function(){var columnModel=this.getTable().getTableColumnModel();var paneModel=this.getTablePaneModel();this.__oc.hideColumnMoveFeedback();if(this.__oq){this.__oq.hideColumnMoveFeedback();}if(this.__op!=null){var fromVisXPos=paneModel.getFirstColumnX()+paneModel.getX(this.__on);var toVisXPos=this.__op;if(toVisXPos!=fromVisXPos&&toVisXPos!=fromVisXPos+1){var fromCol=columnModel.getVisibleColumnAtX(fromVisXPos);var toCol=columnModel.getVisibleColumnAtX(toVisXPos);var fromOverXPos=columnModel.getOverallX(fromCol);var toOverXPos=(toCol!=null)?columnModel.getOverallX(toCol):columnModel.getOverallColumnCount();if(toOverXPos>fromOverXPos){toOverXPos--;}columnModel.moveColumn(fromOverXPos,toOverXPos);}}this.__on=null;this.__op=null;this.__of.releaseCapture();},_onMouseupPane:function(e){var table=this.getTable();if(!table.getEnabled()){return;}var row=this._getRowForPagePos(e.getDocumentLeft(),e.getDocumentTop());if(row!=-1&&row!=null&&this._getColumnForPageX(e.getDocumentLeft())!=null){table.getSelectionManager().handleMouseUp(row,e);}},_onMouseupHeader:function(e){var table=this.getTable();if(!table.getEnabled()){return;}if(this.__os!=null){this._stopResizeHeader();this.__ow=true;e.stop();}else if(this.__on!=null){this._stopMoveHeader();e.stop();}},_onClickHeader:function(e){if(this.__ow){this.__ow=false;return;}var table=this.getTable();if(!table.getEnabled()){return;}var tableModel=table.getTableModel();var pageX=e.getDocumentLeft();var resizeCol=this._getResizeColumnForPageX(pageX);if(resizeCol==-1){var col=this._getColumnForPageX(pageX);if(col!=null&&tableModel.isColumnSortable(col)){var sortCol=tableModel.getSortColumnIndex();var ascending=(col!=sortCol)?true:!tableModel.isSortAscending();var data={column:col,ascending:ascending};if(this.fireDataEvent(SSSS_45,data)){tableModel.sortByColumn(col,ascending);table.getSelectionModel().resetSelection();}}}e.stop();},_onClickPane:function(e){var table=this.getTable();if(!table.getEnabled()){return;}var pageX=e.getDocumentLeft();var pageY=e.getDocumentTop();var row=this._getRowForPagePos(pageX,pageY);var col=this._getColumnForPageX(pageX);if(row!=null&&col!=null){table.getSelectionManager().handleClick(row,e);if(this.__oh.isHidden()||(this.__ov&&row==this.__ov.row&&col==this.__ov.col)){this.__ov={};this.fireEvent(SSSS_17,qx.ui.table.pane.CellEvent,[this,e,row,col],true);}}},_onContextMenu:function(e){var pageX=e.getDocumentLeft();var pageY=e.getDocumentTop();var row=this._getRowForPagePos(pageX,pageY);var col=this._getColumnForPageX(pageX);if(this.__oh.isHidden()||(this.__ov&&row==this.__ov.row&&col==this.__ov.col)){this.__ov={};this.fireEvent(SSSS_55,qx.ui.table.pane.CellEvent,[this,e,row,col],true);var menu=this.getTable().getContextMenu();if(menu){if(menu.getChildren().length>0){menu.openAtMouse(e);}else{menu.exclude();}e.preventDefault();}}},_onContextMenuOpen:function(e){},_onDblclickPane:function(e){var pageX=e.getDocumentLeft();var pageY=e.getDocumentTop();this._focusCellAtPagePos(pageX,pageY);this.startEditing();var row=this._getRowForPagePos(pageX,pageY);if(row!=-1&&row!=null){this.fireEvent(SSSS_46,qx.ui.table.pane.CellEvent,[this,e,row],true);}},_onMouseout:function(e){var table=this.getTable();if(!table.getEnabled()){return;}if(this.__os==null){this.setCursor(null);this.getApplicationRoot().setGlobalCursor(null);}this.__oc.setMouseOverColumn(null);},_showResizeLine:function(x){var resizeLine=this._showChildControl(SSSS_1);var width=resizeLine.getWidth();var paneBounds=this.__og.getBounds();resizeLine.setUserBounds(x-Math.round(width/2),0,width,paneBounds.height);},_hideResizeLine:function(){this._excludeChildControl(SSSS_1);},showColumnMoveFeedback:function(pageX){var paneModel=this.getTablePaneModel();var columnModel=this.getTable().getTableColumnModel();var paneLeft=this.__od.getContainerLocation().left;var colCount=paneModel.getColumnCount();var targetXPos=0;var targetX=0;var currX=paneLeft;for(var xPos=0;xPos<colCount;xPos++){var col=paneModel.getColumnAtX(xPos);var colWidth=columnModel.getColumnWidth(col);if(pageX<currX+colWidth/2){break;}currX+=colWidth;targetXPos=xPos+1;targetX=currX-paneLeft;}var scrollerLeft=this.__og.getContainerLocation().left;var scrollerWidth=this.__og.getBounds().width;var scrollX=scrollerLeft-paneLeft;targetX=qx.lang.Number.limit(targetX,scrollX+2,scrollX+scrollerWidth-1);this._showResizeLine(targetX);return paneModel.getFirstColumnX()+targetXPos;},hideColumnMoveFeedback:function(){this._hideResizeLine();},_focusCellAtPagePos:function(pageX,pageY){var row=this._getRowForPagePos(pageX,pageY);if(row!=-1&&row!=null){var col=this._getColumnForPageX(pageX);this.__nY.setFocusedCell(col,row);}},setFocusedCell:function(col,row){if(!this.isEditing()){this.__od.setFocusedCell(col,row,this.__ol);this.__oz=col;this.__oA=row;this._updateFocusIndicator();}},getFocusedColumn:function(){return this.__oz;},getFocusedRow:function(){return this.__oA;},scrollCellVisible:function(col,row){var paneModel=this.getTablePaneModel();var xPos=paneModel.getX(col);if(xPos!=-1){var clipperSize=this.__og.getInnerSize();if(!clipperSize){return;}var columnModel=this.getTable().getTableColumnModel();var colLeft=paneModel.getColumnLeft(col);var colWidth=columnModel.getColumnWidth(col);var rowHeight=this.getTable().getRowHeight();var rowTop=row*rowHeight;var scrollX=this.getScrollX();var scrollY=this.getScrollY();var minScrollX=Math.min(colLeft,colLeft+colWidth-clipperSize.width);var maxScrollX=colLeft;this.setScrollX(Math.max(minScrollX,Math.min(maxScrollX,scrollX)));var minScrollY=rowTop+rowHeight-clipperSize.height;if(this.getTable().getKeepFirstVisibleRowComplete()){minScrollY+=rowHeight;}var maxScrollY=rowTop;this.setScrollY(Math.max(minScrollY,Math.min(maxScrollY,scrollY)),true);}},isEditing:function(){return this.__oB!=null;},startEditing:function(){var table=this.getTable();var tableModel=table.getTableModel();var col=this.__oz;if(!this.isEditing()&&(col!=null)&&tableModel.isColumnEditable(col)){var row=this.__oA;var xPos=this.getTablePaneModel().getX(col);var value=tableModel.getValue(col,row);this.__oC=table.getTableColumnModel().getCellEditorFactory(col);var cellInfo={col:col,row:row,xPos:xPos,value:value,table:table};this.__oB=this.__oC.createCellEditor(cellInfo);if(this.__oB===null){return false;}else if(this.__oB instanceof qx.ui.window.Window){this.__oB.setModal(true);this.__oB.setShowClose(false);this.__oB.addListener(SSSS_56,this._onCellEditorModalWindowClose,this);var f=table.getModalCellEditorPreOpenFunction();if(f!=null){f(this.__oB,cellInfo);}this.__oB.open();}else{var size=this.__oh.getInnerSize();this.__oB.setUserBounds(0,0,size.width,size.height);this.__oh.addListener(SSSS_2,function(e){e.stopPropagation();});this.__oh.add(this.__oB);this.__oh.addState(SSSS_13);this.__oh.setKeepActive(false);this.__oB.focus();this.__oB.activate();}return true;}return false;},stopEditing:function(){this.flushEditor();this.cancelEditing();},flushEditor:function(){if(this.isEditing()){var value=this.__oC.getCellEditorValue(this.__oB);var oldValue=this.getTable().getTableModel().getValue(this.__oz,this.__oA);this.getTable().getTableModel().setValue(this.__oz,this.__oA,value);this.__nY.focus();this.__nY.fireDataEvent(SSSS_29,{row:this.__oA,col:this.__oz,oldValue:oldValue,value:value});}},cancelEditing:function(){if(this.isEditing()&&!this.__oB.pendingDispose){if(this._cellEditorIsModalWindow){this.__oB.destroy();this.__oB=null;this.__oC=null;this.__oB.pendingDispose=true;}else{this.__oh.removeState(SSSS_13);this.__oh.setKeepActive(true);this.__oB.destroy();this.__oB=null;this.__oC=null;}}},_onCellEditorModalWindowClose:function(e){this.stopEditing();},_getColumnForPageX:function(pageX){var columnModel=this.getTable().getTableColumnModel();var paneModel=this.getTablePaneModel();var colCount=paneModel.getColumnCount();var currX=this.__oc.getContainerLocation().left;for(var x=0;x<colCount;x++){var col=paneModel.getColumnAtX(x);var colWidth=columnModel.getColumnWidth(col);currX+=colWidth;if(pageX<currX){return col;}}return null;},_getResizeColumnForPageX:function(pageX){var columnModel=this.getTable().getTableColumnModel();var paneModel=this.getTablePaneModel();var colCount=paneModel.getColumnCount();var currX=this.__oc.getContainerLocation().left;var regionRadius=qx.ui.table.pane.Scroller.RESIZE_REGION_RADIUS;for(var x=0;x<colCount;x++){var col=paneModel.getColumnAtX(x);var colWidth=columnModel.getColumnWidth(col);currX+=colWidth;if(pageX>=(currX-regionRadius)&&pageX<=(currX+regionRadius)){return col;}}return -1;},_getRowForPagePos:function(pageX,pageY){var panePos=this.__od.getContentLocation();if(pageX<panePos.left||pageX>panePos.right){return null;}if(pageY>=panePos.top&&pageY<=panePos.bottom){var rowHeight=this.getTable().getRowHeight();var scrollY=this.__ob.getPosition();if(this.getTable().getKeepFirstVisibleRowComplete()){scrollY=Math.floor(scrollY/rowHeight)*rowHeight;}var tableY=scrollY+pageY-panePos.top;var row=Math.floor(tableY/rowHeight);var tableModel=this.getTable().getTableModel();var rowCount=tableModel.getRowCount();return (row<rowCount)?row:null;}var headerPos=this.__oc.getContainerLocation();if(pageY>=headerPos.top&&pageY<=headerPos.bottom&&pageX<=headerPos.right){return -1;}return null;},setTopRightWidget:function(widget){var oldWidget=this.__oD;if(oldWidget!=null){this.__oe.remove(oldWidget);}if(widget!=null){this.__oe.add(widget);}this.__oD=widget;},getTopRightWidget:function(){return this.__oD;},getHeader:function(){return this.__oc;},getTablePane:function(){return this.__od;},getVerticalScrollBarWidth:function(){var scrollBar=this.__ob;return scrollBar.isVisible()?(scrollBar.getSizeHint().width||0):0;},getNeededScrollBars:function(forceHorizontal,preventVertical){var barWidth=this.__ob.getSizeHint().width;var clipperSize=this.__og.getInnerSize();var viewWidth=clipperSize?clipperSize.width:0;if(this.getVerticalScrollBarVisible()){viewWidth+=barWidth;}var viewHeight=clipperSize?clipperSize.height:0;if(this.getHorizontalScrollBarVisible()){viewHeight+=barWidth;}var tableModel=this.getTable().getTableModel();var rowCount=tableModel.getRowCount();var paneWidth=this.getTablePaneModel().getTotalWidth();var paneHeight=this.getTable().getRowHeight()*rowCount;var horNeeded=false;var verNeeded=false;if(paneWidth>viewWidth){horNeeded=true;if(paneHeight>viewHeight-barWidth){verNeeded=true;}}else if(paneHeight>viewHeight){verNeeded=true;if(!preventVertical&&(paneWidth>viewWidth-barWidth)){horNeeded=true;}}var horBar=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;var verBar=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;return ((forceHorizontal||horNeeded)?horBar:0)|((preventVertical||!verNeeded)?0:verBar);},_applyScrollTimeout:function(value,old){this._startInterval(value);},_startInterval:function(timeout){this.__oi.setInterval(timeout);this.__oi.start();},_stopInterval:function(){this.__oi.stop();},_postponedUpdateContent:function(){this._updateContent();},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.__ol&&!this.__od._layoutPending){this.__ol=false;this._updateContent();}}),_updateContent:function(){var paneSize=this.__og.getInnerSize();if(!paneSize){return;}var paneHeight=paneSize.height;var scrollX=this.__oa.getPosition();var scrollY=this.__ob.getPosition();var rowHeight=this.getTable().getRowHeight();var firstRow=Math.floor(scrollY/rowHeight);var oldFirstRow=this.__od.getFirstVisibleRow();this.__od.setFirstVisibleRow(firstRow);var visibleRowCount=Math.ceil(paneHeight/rowHeight);var paneOffset=0;var firstVisibleRowComplete=this.getTable().getKeepFirstVisibleRowComplete();if(!firstVisibleRowComplete){visibleRowCount++;paneOffset=scrollY%rowHeight;}this.__od.setVisibleRowCount(visibleRowCount);if(firstRow!=oldFirstRow){this._updateFocusIndicator();}this.__og.scrollToX(scrollX);if(!firstVisibleRowComplete){this.__og.scrollToY(paneOffset);}},_updateFocusIndicator:function(){if(!this.getShowCellFocusIndicator()){return;}var table=this.getTable();if(!table.getEnabled()){return;}this.__oh.moveToCell(this.__oz,this.__oA);}},destruct:function(){this._stopInterval();var tablePaneModel=this.getTablePaneModel();if(tablePaneModel){tablePaneModel.dispose();}this.__ov=this.__oD=this.__nY=null;this._disposeObjects(SSSS_40,SSSS_22,SSSS_33,SSSS_47,SSSS_34,SSSS_38,SSSS_21,SSSS_42,SSSS_41);}});})();(function(){var SSSS_0="qx.ui.table.pane.Clipper";qx.Class.define(SSSS_0,{extend:qx.ui.container.Composite,construct:function(){arguments.callee.base.call(this,new qx.ui.layout.Grow());this.setMinWidth(0);},members:{scrollToX:function(value){this.getContentElement().scrollToX(value,false);},scrollToY:function(value){this.getContentElement().scrollToY(value,true);}}});})();(function(){var SSSS_0="Integer",SSSS_1="Escape",SSSS_2="keypress",SSSS_3="Enter",SSSS_4="excluded",SSSS_5="qx.ui.table.pane.FocusIndicator";qx.Class.define(SSSS_5,{extend:qx.ui.container.Composite,construct:function(scroller){arguments.callee.base.call(this);this.__oG=scroller;this.setKeepActive(true);this.addListener(SSSS_2,this._onKeyPress,this);},properties:{visibility:{refine:true,init:SSSS_4},row:{check:SSSS_0,nullable:true},column:{check:SSSS_0,nullable:true}},members:{__oG:null,_onKeyPress:function(e){var iden=e.getKeyIdentifier();if(iden!==SSSS_1&&iden!==SSSS_3){e.stopPropagation();}},moveToCell:function(col,row){if(col==null){this.hide();this.setRow(null);this.setColumn(null);}else{var xPos=this.__oG.getTablePaneModel().getX(col);if(xPos==-1){this.hide();this.setRow(null);this.setColumn(null);}else{var table=this.__oG.getTable();var columnModel=table.getTableColumnModel();var paneModel=this.__oG.getTablePaneModel();var firstRow=this.__oG.getTablePane().getFirstVisibleRow();var rowHeight=table.getRowHeight();this.setUserBounds(paneModel.getColumnLeft(col)-2,(row-firstRow)*rowHeight-2,columnModel.getColumnWidth(col)+3,rowHeight+3);this.show();this.setRow(row);this.setColumn(col);}}}},destruct:function(){this.__oG=null;}});})();(function(){var SSSS_0="Integer",SSSS_1="qx.ui.table.pane.CellEvent";qx.Class.define(SSSS_1,{extend:qx.event.type.Mouse,properties:{row:{check:SSSS_0,nullable:true},column:{check:SSSS_0,nullable:true}},members:{init:function(scroller,me,row,column){me.clone(this);this.setBubbles(false);if(row!=null){this.setRow(row);}else{this.setRow(scroller._getRowForPagePos(this.getDocumentLeft(),this.getDocumentTop()));}if(column!=null){this.setColumn(column);}else{this.setColumn(scroller._getColumnForPageX(this.getDocumentLeft()));}},clone:function(embryo){var clone=arguments.callee.base.call(this,embryo);clone.set({row:this.getRow(),column:this.getColumn()});return clone;}}});})();(function(){var SSSS_0="qx.lang.Number";qx.Class.define(SSSS_0,{statics:{isInRange:function(nr,vmin,vmax){return nr>=vmin&&nr<=vmax;},isBetweenRange:function(nr,vmin,vmax){return nr>vmin&&nr<vmax;},limit:function(nr,vmin,vmax){if(vmax!=null&&nr>vmax){return vmax;}else if(vmin!=null&&nr<vmin){return vmin;}else{return nr;}}}});})();(function(){var SSSS_0="Boolean",SSSS_1="resize",SSSS_2="mousedown",SSSS_3="w-resize",SSSS_4="sw-resize",SSSS_5="n-resize",SSSS_6="resizableRight",SSSS_7="ne-resize",SSSS_8="se-resize",SSSS_9="Integer",SSSS_10="e-resize",SSSS_11="resizableLeft",SSSS_12="mousemove",SSSS_13="move",SSSS_14="shorthand",SSSS_15="maximized",SSSS_16="nw-resize",SSSS_17="mouseout",SSSS_18="qx.ui.core.MResizable",SSSS_19="mouseup",SSSS_20="losecapture",SSSS_21="resize-frame",SSSS_22="resizableBottom",SSSS_23="s-resize",SSSS_24="resizableTop";qx.Mixin.define(SSSS_18,{construct:function(){this.addListener(SSSS_2,this.__oR,this,true);this.addListener(SSSS_19,this.__oS,this);this.addListener(SSSS_12,this.__oU,this);this.addListener(SSSS_17,this.__oV,this);this.addListener(SSSS_20,this.__oT,this);},properties:{resizableTop:{check:SSSS_0,init:true},resizableRight:{check:SSSS_0,init:true},resizableBottom:{check:SSSS_0,init:true},resizableLeft:{check:SSSS_0,init:true},resizable:{group:[SSSS_24,SSSS_6,SSSS_22,SSSS_11],mode:SSSS_14},resizeSensitivity:{check:SSSS_9,init:5},useResizeFrame:{check:SSSS_0,init:true}},members:{__oH:null,__oI:null,__oJ:null,__oK:null,__oL:null,RESIZE_TOP:1,RESIZE_BOTTOM:2,RESIZE_LEFT:4,RESIZE_RIGHT:8,__oM:function(){var frame=this.__oH;if(!frame){frame=this.__oH=new qx.ui.core.Widget();frame.setAppearance(SSSS_21);frame.exclude();qx.core.Init.getApplication().getRoot().add(frame);}return frame;},__oN:function(){var bounds=this.__oL;var frame=this.__oM();frame.setUserBounds(bounds.left,bounds.top,bounds.width,bounds.height);frame.show();frame.setZIndex(this.getZIndex()+1);},__oO:function(e){var resizeActive=this.__oI;var hint=this.getSizeHint();var start=this.__oL;var width=start.width;var height=start.height;var left=start.left;var top=start.top;var diff;if((resizeActive&this.RESIZE_TOP)||(resizeActive&this.RESIZE_BOTTOM)){diff=e.getDocumentTop()-this.__oK;if(resizeActive&this.RESIZE_TOP){height-=diff;}else{height+=diff;}if(height<hint.minHeight){height=hint.minHeight;}else if(height>hint.maxHeight){height=hint.maxHeight;}if(resizeActive&this.RESIZE_TOP){top+=start.height-height;}}if((resizeActive&this.RESIZE_LEFT)||(resizeActive&this.RESIZE_RIGHT)){diff=e.getDocumentLeft()-this.__oJ;if(resizeActive&this.RESIZE_LEFT){width-=diff;}else{width+=diff;}if(width<hint.minWidth){width=hint.minWidth;}else if(width>hint.maxWidth){width=hint.maxWidth;}if(resizeActive&this.RESIZE_LEFT){left+=start.width-width;}}return {viewportLeft:left,viewportTop:top,parentLeft:start.bounds.left+left-start.left,parentTop:start.bounds.top+top-start.top,width:width,height:height};},__oP:{1:SSSS_5,2:SSSS_23,4:SSSS_3,8:SSSS_10,5:SSSS_16,6:SSSS_4,9:SSSS_7,10:SSSS_8},__oQ:function(e){var contentLocation=this.getContentLocation();var mouseTolerance=this.getResizeSensitivity();var mouseLeft=e.getDocumentLeft();var mouseTop=e.getDocumentTop();var resizeActive=0;if(this.getResizableTop()&&Math.abs(contentLocation.top-mouseTop)<mouseTolerance){resizeActive+=this.RESIZE_TOP;}else if(this.getResizableBottom()&&Math.abs(contentLocation.bottom-mouseTop)<mouseTolerance){resizeActive+=this.RESIZE_BOTTOM;}if(this.getResizableLeft()&&Math.abs(contentLocation.left-mouseLeft)<mouseTolerance){resizeActive+=this.RESIZE_LEFT;}else if(this.getResizableRight()&&Math.abs(contentLocation.right-mouseLeft)<mouseTolerance){resizeActive+=this.RESIZE_RIGHT;}this.__oI=resizeActive;},__oR:function(e){if(!this.__oI){return;}this.addState(SSSS_1);this.__oJ=e.getDocumentLeft();this.__oK=e.getDocumentTop();var location=this.getContainerLocation();var bounds=this.getBounds();this.__oL={top:location.top,left:location.left,width:bounds.width,height:bounds.height,bounds:qx.lang.Object.clone(bounds)};if(this.getUseResizeFrame()){this.__oN();}this.capture();e.stop();},__oS:function(e){if(!this.hasState(SSSS_1)){return;}if(this.getUseResizeFrame()){this.__oM().exclude();}var bounds=this.__oO(e);this.setWidth(bounds.width);this.setHeight(bounds.height);if(this.getResizableLeft()||this.getResizableTop()){this.setLayoutProperties({left:bounds.parentLeft,top:bounds.parentTop});}this.__oI=0;this.removeState(SSSS_1);this.resetCursor();this.getApplicationRoot().resetGlobalCursor();this.releaseCapture();e.stopPropagation();},__oT:function(e){if(!this.__oI){return;}this.resetCursor();this.getApplicationRoot().resetGlobalCursor();this.removeState(SSSS_13);if(this.getUseResizeFrame()){this.__oM().exclude();}},__oU:function(e){if(this.hasState(SSSS_1)){var bounds=this.__oO(e);if(this.getUseResizeFrame()){var frame=this.__oM();frame.setUserBounds(bounds.viewportLeft,bounds.viewportTop,bounds.width,bounds.height);}else{this.setWidth(bounds.width);this.setHeight(bounds.height);if(this.getResizableLeft()||this.getResizableTop()){this.setLayoutProperties({left:bounds.parentLeft,top:bounds.parentTop});}}e.stopPropagation();}else if(!this.hasState(SSSS_15)){this.__oQ(e);var resizeActive=this.__oI;var root=this.getApplicationRoot();if(resizeActive){var cursor=this.__oP[resizeActive];this.setCursor(cursor);root.setGlobalCursor(cursor);}else if(this.getCursor()){this.resetCursor();root.resetGlobalCursor();}}},__oV:function(e){if(this.getCursor()&&!this.hasState(SSSS_1)){this.resetCursor();this.getApplicationRoot().resetGlobalCursor();}}},destruct:function(){if(this.__oH!=null&&!qx.core.ObjectRegistry.inShutDown){this.__oH.destroy();this.__oH=null;}}});})();(function(){var SSSS_0="move",SSSS_1="Boolean",SSSS_2="mouseup",SSSS_3="mousedown",SSSS_4="__oX",SSSS_5="losecapture",SSSS_6="qx.ui.core.MMovable",SSSS_7="__oW",SSSS_8="mousemove",SSSS_9="maximized",SSSS_10="move-frame";qx.Mixin.define(SSSS_6,{properties:{movable:{check:SSSS_1,init:true},useMoveFrame:{check:SSSS_1,init:false}},members:{__oW:null,__oX:null,__oY:null,__pa:null,__pb:null,__pc:null,__pd:null,__pe:false,__pf:null,__pg:0,_activateMoveHandle:function(widget){if(this.__oW){throw new Error("The move handle could not be redefined!");}this.__oW=widget;widget.addListener(SSSS_3,this._onMoveMouseDown,this);widget.addListener(SSSS_2,this._onMoveMouseUp,this);widget.addListener(SSSS_8,this._onMoveMouseMove,this);widget.addListener(SSSS_5,this.__pk,this);},__ph:function(){var frame=this.__oX;if(!frame){frame=this.__oX=new qx.ui.core.Widget();frame.setAppearance(SSSS_10);frame.exclude();qx.core.Init.getApplication().getRoot().add(frame);}return frame;},__pi:function(){var location=this.getContainerLocation();var bounds=this.getBounds();var frame=this.__ph();frame.setUserBounds(location.left,location.top,bounds.width,bounds.height);frame.show();frame.setZIndex(this.getZIndex()+1);},__pj:function(e){var range=this.__oY;var mouseLeft=Math.max(range.left,Math.min(range.right,e.getDocumentLeft()));var mouseTop=Math.max(range.top,Math.min(range.bottom,e.getDocumentTop()));var viewportLeft=this.__pa+mouseLeft;var viewportTop=this.__pb+mouseTop;return {viewportLeft:viewportLeft,viewportTop:viewportTop,parentLeft:viewportLeft-this.__pc,parentTop:viewportTop-this.__pd};},_onMoveMouseDown:function(e){if(!this.getMovable()||this.hasState(SSSS_9)){return;}var parent=this.getLayoutParent();var parentLocation=parent.getContentLocation();var parentBounds=parent.getBounds();if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(!parent.isContentBlocked()){this.__pe=true;this.__pf=parent.getBlockerColor();this.__pg=parent.getBlockerOpacity();parent.setBlockerColor(null);parent.setBlockerOpacity(1);parent.blockContent(this.getZIndex()-1);}}this.__oY={left:parentLocation.left,top:parentLocation.top,right:parentLocation.left+parentBounds.width,bottom:parentLocation.top+parentBounds.height};var widgetLocation=this.getContainerLocation();this.__pc=parentLocation.left;this.__pd=parentLocation.top;this.__pa=widgetLocation.left-e.getDocumentLeft();this.__pb=widgetLocation.top-e.getDocumentTop();this.addState(SSSS_0);this.__oW.capture();if(this.getUseMoveFrame()){this.__pi();}e.stop();},_onMoveMouseMove:function(e){if(!this.hasState(SSSS_0)){return;}var coords=this.__pj(e);if(this.getUseMoveFrame()){this.__ph().setDomPosition(coords.viewportLeft,coords.viewportTop);}else{this.setDomPosition(coords.parentLeft,coords.parentTop);}e.stopPropagation();},_onMoveMouseUp:function(e){if(!this.hasState(SSSS_0)){return;}this.removeState(SSSS_0);var parent=this.getLayoutParent();if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(this.__pe){parent.unblockContent();parent.setBlockerColor(this.__pf);parent.setBlockerOpacity(this.__pg);this.__pf=null;this.__pg=0;}}this.__oW.releaseCapture();var coords=this.__pj(e);this.setLayoutProperties({left:coords.parentLeft,top:coords.parentTop});if(this.getUseMoveFrame()){this.__ph().exclude();}e.stopPropagation();},__pk:function(e){if(!this.hasState(SSSS_0)){return;}this.removeState(SSSS_0);if(this.getUseMoveFrame()){this.__ph().exclude();}}},destruct:function(){this._disposeObjects(SSSS_4,SSSS_7);this.__oY=null;}});})();(function(){var SSSS_0="Integer",SSSS_1="_applyContentPadding",SSSS_2="resetPaddingRight",SSSS_3="setPaddingBottom",SSSS_4="resetPaddingTop",SSSS_5="qx.ui.core.MContentPadding",SSSS_6="resetPaddingLeft",SSSS_7="setPaddingTop",SSSS_8="setPaddingRight",SSSS_9="resetPaddingBottom",SSSS_10="contentPaddingLeft",SSSS_11="setPaddingLeft",SSSS_12="contentPaddingTop",SSSS_13="shorthand",SSSS_14="contentPaddingRight",SSSS_15="contentPaddingBottom";qx.Mixin.define(SSSS_5,{properties:{contentPaddingTop:{check:SSSS_0,init:0,apply:SSSS_1,themeable:true},contentPaddingRight:{check:SSSS_0,init:0,apply:SSSS_1,themeable:true},contentPaddingBottom:{check:SSSS_0,init:0,apply:SSSS_1,themeable:true},contentPaddingLeft:{check:SSSS_0,init:0,apply:SSSS_1,themeable:true},contentPadding:{group:[SSSS_12,SSSS_14,SSSS_15,SSSS_10],mode:SSSS_13,themeable:true}},members:{__pl:{contentPaddingTop:SSSS_7,contentPaddingRight:SSSS_8,contentPaddingBottom:SSSS_3,contentPaddingLeft:SSSS_11},__pm:{contentPaddingTop:SSSS_4,contentPaddingRight:SSSS_2,contentPaddingBottom:SSSS_9,contentPaddingLeft:SSSS_6},_applyContentPadding:function(value,old,name){var target=this._getContentPaddingTarget();if(value==null){var resetter=this.__pm[name];target[resetter]();}else{var setter=this.__pl[name];target[setter](value);}}}});})();(function(){var SSSS_0="qx.ui.window.IWindowManager";qx.Interface.define(SSSS_0,{members:{setDesktop:function(desktop){this.assertInterface(desktop,qx.ui.window.IDesktop);},changeActiveWindow:function(active,oldActive){},updateStack:function(){},bringToFront:function(win){this.assertInstance(win,qx.ui.window.Window);},sendToBack:function(win){this.assertInstance(win,qx.ui.window.Window);}}});})();(function(){var SSSS_0="__pn",SSSS_1="qx.ui.window.Manager";qx.Class.define(SSSS_1,{extend:qx.core.Object,implement:qx.ui.window.IWindowManager,members:{__pn:null,setDesktop:function(desktop){this.__pn=desktop;this.updateStack();},getDesktop:function(){return this.__pn;},changeActiveWindow:function(active,oldActive){if(active){this.bringToFront(active);}},_minZIndex:1e5,updateStack:function(){qx.ui.core.queue.Widget.add(this);},syncWidget:function(){this.__pn.forceUnblockContent();var windows=this.__pn.getWindows();var zIndex=this._minZIndex-1;var hasActive=false;var win,last=null;for(var i=0,l=windows.length;i<l;i++){win=windows[i];if(!win.isVisible()){continue;}zIndex+=2;win.setZIndex(zIndex);if(win.getModal()){this.__pn.blockContent(zIndex-1);}hasActive=hasActive||win.isActive();last=win;}if(!hasActive){this.__pn.setActiveWindow(last);}},bringToFront:function(win){var windows=this.__pn.getWindows();var removed=qx.lang.Array.remove(windows,win);if(removed){windows.push(win);this.updateStack();}},sendToBack:function(win){var windows=this.__pn.getWindows();var removed=qx.lang.Array.remove(windows,win);if(removed){windows.unshift(win);this.updateStack();}}},destruct:function(){this._disposeObjects(SSSS_0);}});})();(function(){var SSSS_0="Boolean",SSSS_1="qx.event.type.Event",SSSS_2="captionbar",SSSS_3="maximize-button",SSSS_4="_applyCaptionBarChange",SSSS_5="minimize-button",SSSS_6="close-button",SSSS_7="maximized",SSSS_8="restore-button",SSSS_9="execute",SSSS_10="title",SSSS_11="icon",SSSS_12="pane",SSSS_13="statusbar",SSSS_14="statusbar-text",SSSS_15="qx.debug",SSSS_16="normal",SSSS_17="String",SSSS_18="on",SSSS_19="active",SSSS_20="beforeClose",SSSS_21="beforeMinimize",SSSS_22="mousedown",SSSS_23="changeStatus",SSSS_24="changeIcon",SSSS_25="excluded",SSSS_26="_applyCaption",SSSS_27="_applyActive",SSSS_28="beforeRestore",SSSS_29="qx.ui.window.IDesktop. All root widgets implement this interface.",SSSS_30="minimize",SSSS_31="dblclick",SSSS_32="changeModal",SSSS_33="_applyShowStatusbar",SSSS_34="_applyStatus",SSSS_35="qx.ui.window.Window",SSSS_36="Windows can only be added to widgets, which implement the interface ",SSSS_37="changeCaption",SSSS_38="_applyIcon",SSSS_39="focusout",SSSS_40="beforeMaximize",SSSS_41="maximize",SSSS_42="restore",SSSS_43="window",SSSS_44="close",SSSS_45="changeActive",SSSS_46="minimized";qx.Class.define(SSSS_35,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling,qx.ui.core.MResizable,qx.ui.core.MMovable,qx.ui.core.MContentPadding],construct:function(caption,icon){arguments.callee.base.call(this);this._setLayout(new qx.ui.layout.VBox());this._createChildControl(SSSS_2);this._createChildControl(SSSS_12);if(icon!=null){this.setIcon(icon);}if(caption!=null){this.setCaption(caption);}this._updateCaptionBar();this.addListener(SSSS_22,this._onWindowMouseDown,this,true);this.addListener(SSSS_39,this._onWindowFocusOut,this);qx.core.Init.getApplication().getRoot().add(this);this.initVisibility();qx.ui.core.FocusHandler.getInstance().addRoot(this);},statics:{DEFAULT_MANAGER_CLASS:qx.ui.window.Manager},events:{"beforeClose":SSSS_1,"close":SSSS_1,"beforeMinimize":SSSS_1,"minimize":SSSS_1,"beforeMaximize":SSSS_1,"maximize":SSSS_1,"beforeRestore":SSSS_1,"restore":SSSS_1},properties:{appearance:{refine:true,init:SSSS_43},visibility:{refine:true,init:SSSS_25},focusable:{refine:true,init:true},active:{check:SSSS_0,init:false,apply:SSSS_27,event:SSSS_45},modal:{check:SSSS_0,init:false,event:SSSS_32},caption:{apply:SSSS_26,event:SSSS_37,nullable:true},icon:{check:SSSS_17,nullable:true,apply:SSSS_38,event:SSSS_24,themeable:true},status:{check:SSSS_17,nullable:true,apply:SSSS_34,event:SSSS_23},showClose:{check:SSSS_0,init:true,apply:SSSS_4,themeable:true},showMaximize:{check:SSSS_0,init:true,apply:SSSS_4,themeable:true},showMinimize:{check:SSSS_0,init:true,apply:SSSS_4,themeable:true},allowClose:{check:SSSS_0,init:true,apply:SSSS_4},allowMaximize:{check:SSSS_0,init:true,apply:SSSS_4},allowMinimize:{check:SSSS_0,init:true,apply:SSSS_4},showStatusbar:{check:SSSS_0,init:false,apply:SSSS_33}},members:{__po:null,__pp:null,getChildrenContainer:function(){return this.getChildControl(SSSS_12);},_forwardStates:{active:true,maximized:true},setLayoutParent:function(parent){if(qx.core.Variant.isSet(SSSS_15,SSSS_18)){parent&&this.assertInterface(parent,qx.ui.window.IDesktop,SSSS_36+SSSS_29);}arguments.callee.base.call(this,parent);},_createChildControlImpl:function(id){var control;switch(id){case SSSS_13:control=new qx.ui.container.Composite(new qx.ui.layout.HBox());this._add(control);control.add(this.getChildControl(SSSS_14));break;case SSSS_14:control=new qx.ui.basic.Label();control.setValue(this.getStatus());break;case SSSS_12:control=new qx.ui.container.Composite();this._add(control,{flex:1});break;case SSSS_2:var layout=new qx.ui.layout.Grid();layout.setRowFlex(0,1);layout.setColumnFlex(1,1);control=new qx.ui.container.Composite(layout);this._add(control);control.addListener(SSSS_31,this._onCaptionMouseDblClick,this);this._activateMoveHandle(control);break;case SSSS_11:control=new qx.ui.basic.Image(this.getIcon());this.getChildControl(SSSS_2).add(control,{row:0,column:0});break;case SSSS_10:control=new qx.ui.basic.Label(this.getCaption());control.setWidth(0);control.setAllowGrowX(true);var captionBar=this.getChildControl(SSSS_2);captionBar.add(control,{row:0,column:1});break;case SSSS_5:control=new qx.ui.form.Button();control.setFocusable(false);control.addListener(SSSS_9,this._onMinimizeButtonClick,this);this.getChildControl(SSSS_2).add(control,{row:0,column:2});break;case SSSS_8:control=new qx.ui.form.Button();control.setFocusable(false);control.addListener(SSSS_9,this._onRestoreButtonClick,this);this.getChildControl(SSSS_2).add(control,{row:0,column:3});break;case SSSS_3:control=new qx.ui.form.Button();control.setFocusable(false);control.addListener(SSSS_9,this._onMaximizeButtonClick,this);this.getChildControl(SSSS_2).add(control,{row:0,column:4});break;case SSSS_6:control=new qx.ui.form.Button();control.setFocusable(false);control.addListener(SSSS_9,this._onCloseButtonClick,this);this.getChildControl(SSSS_2).add(control,{row:0,column:6});break;}return control||arguments.callee.base.call(this,id);},_updateCaptionBar:function(){var btn;if(this.getIcon()){this._showChildControl(SSSS_11);}else{this._excludeChildControl(SSSS_11);}if(this.getCaption()){this._showChildControl(SSSS_10);}else{this._excludeChildControl(SSSS_10);}if(this.getShowMinimize()){this._showChildControl(SSSS_5);btn=this.getChildControl(SSSS_5);this.getAllowMinimize()?btn.resetEnabled():btn.setEnabled(false);}else{this._excludeChildControl(SSSS_5);}if(this.getShowMaximize()){if(this.isMaximized()){this._showChildControl(SSSS_8);this._excludeChildControl(SSSS_3);}else{this._showChildControl(SSSS_3);this._excludeChildControl(SSSS_8);}btn=this.getChildControl(SSSS_3);this.getAllowMaximize()?btn.resetEnabled():btn.setEnabled(false);}else{this._excludeChildControl(SSSS_3);this._excludeChildControl(SSSS_8);}if(this.getShowClose()){this._showChildControl(SSSS_6);btn=this.getChildControl(SSSS_6);this.getAllowClose()?btn.resetEnabled():btn.setEnabled(false);}else{this._excludeChildControl(SSSS_6);}},close:function(){if(!this.isVisible()){return;}if(this.fireNonBubblingEvent(SSSS_20,qx.event.type.Event,[false,true])){this.hide();this.fireEvent(SSSS_44);}},open:function(){this.show();this.setActive(true);this.focus();},center:function(){var parent=this.getLayoutParent();if(parent){var bounds=parent.getBounds();if(bounds){var hint=this.getSizeHint();var left=Math.round((bounds.width-hint.width)/2);var top=Math.round((bounds.height-hint.height)/2);if(top<0){top=0;}this.moveTo(left,top);return;}}if(qx.core.Variant.isSet(SSSS_15,SSSS_18)){this.warn("Centering depends on parent bounds!");}},maximize:function(){if(this.isMaximized()){return;}var parent=this.getLayoutParent();if(parent!=null&&parent.supportsMaximize()){if(this.fireNonBubblingEvent(SSSS_40,qx.event.type.Event,[false,true])){if(!this.isVisible()){this.open();}var props=this.getLayoutProperties();this.__pp=props.left===undefined?0:props.left;this.__po=props.top===undefined?0:props.top;this.setLayoutProperties({left:null,top:null,edge:0});this.addState(SSSS_7);this._updateCaptionBar();this.fireEvent(SSSS_41);}}},minimize:function(){if(!this.isVisible()){return;}if(this.fireNonBubblingEvent(SSSS_21,qx.event.type.Event,[false,true])){var props=this.getLayoutProperties();this.__pp=props.left===undefined?0:props.left;this.__po=props.top===undefined?0:props.top;this.removeState(SSSS_7);this.hide();this.fireEvent(SSSS_30);}},restore:function(){if(this.getMode()===SSSS_16){return;}if(this.fireNonBubblingEvent(SSSS_28,qx.event.type.Event,[false,true])){if(!this.isVisible()){this.open();}var left=this.__pp;var top=this.__po;this.setLayoutProperties({edge:null,left:left,top:top});this.removeState(SSSS_7);this._updateCaptionBar();this.fireEvent(SSSS_42);}},moveTo:function(left,top){if(this.isMaximized()){return;}this.setLayoutProperties({left:left,top:top});},isMaximized:function(){return this.hasState(SSSS_7);},getMode:function(){if(!this.isVisible()){return SSSS_46;}else{if(this.isMaximized()){return SSSS_7;}else{return SSSS_16;}}},_applyActive:function(value,old){if(old){this.removeState(SSSS_19);}else{this.addState(SSSS_19);}},_getContentPaddingTarget:function(){return this.getChildControl(SSSS_12);},_applyShowStatusbar:function(value,old){if(value){this._showChildControl(SSSS_13);}else{this._excludeChildControl(SSSS_13);}},_applyCaptionBarChange:function(value,old){this._updateCaptionBar();},_applyStatus:function(value,old){var label=this.getChildControl(SSSS_14,true);if(label){label.setValue(value);}},_applyCaption:function(value,old){this.getChildControl(SSSS_10).setValue(value);},_applyIcon:function(value,old){this.getChildControl(SSSS_11).setSource(value);},_onWindowEventStop:function(e){e.stopPropagation();},_onWindowMouseDown:function(e){this.setActive(true);},_onWindowFocusOut:function(e){if(this.getModal()){return;}var current=e.getRelatedTarget();if(current!=null&&!qx.ui.core.Widget.contains(this,current)){this.setActive(false);}},_onCaptionMouseDblClick:function(e){if(this.getAllowMaximize()){this.isMaximized()?this.restore():this.maximize();}},_onMinimizeButtonClick:function(e){this.minimize();this.getChildControl(SSSS_5).reset();},_onRestoreButtonClick:function(e){this.restore();this.getChildControl(SSSS_8).reset();},_onMaximizeButtonClick:function(e){this.maximize();this.getChildControl(SSSS_3).reset();},_onCloseButtonClick:function(e){this.close();this.getChildControl(SSSS_6).reset();}}});})();(function(){var SSSS_0="qx.ui.window.IDesktop";qx.Interface.define(SSSS_0,{members:{setWindowManager:function(manager){this.assertInterface(manager,qx.ui.window.IWindowManager);},getWindows:function(){},supportsMaximize:function(){},blockContent:function(zIndex){this.assertInteger(zIndex);},unblockContent:function(){},isContentBlocked:function(){}}});})();(function(){var SSSS_0="keypress",SSSS_1="focusout",SSSS_2="activate",SSSS_3="Tab",SSSS_4="singleton",SSSS_5="deactivate",SSSS_6="__pq",SSSS_7="focusin",SSSS_8="qx.ui.core.FocusHandler";qx.Class.define(SSSS_8,{extend:qx.core.Object,type:SSSS_4,construct:function(){arguments.callee.base.call(this);this.__pq={};},members:{__pq:null,__pr:null,__ps:null,__pt:null,connectTo:function(root){root.addListener(SSSS_0,this.__pu,this);root.addListener(SSSS_7,this._onFocusIn,this,true);root.addListener(SSSS_1,this._onFocusOut,this,true);root.addListener(SSSS_2,this._onActivate,this,true);root.addListener(SSSS_5,this._onDeactivate,this,true);},addRoot:function(widget){this.__pq[widget.$$hash]=widget;},removeRoot:function(widget){delete this.__pq[widget.$$hash];},getActiveWidget:function(){return this.__pr;},isActive:function(widget){return this.__pr==widget;},getFocusedWidget:function(){return this.__ps;},isFocused:function(widget){return this.__ps==widget;},isFocusRoot:function(widget){return !!this.__pq[widget.$$hash];},_onActivate:function(e){var target=e.getTarget();this.__pr=target;var root=this.__pv(target);if(root!=this.__pt){this.__pt=root;}},_onDeactivate:function(e){var target=e.getTarget();if(this.__pr==target){this.__pr=null;}},_onFocusIn:function(e){var target=e.getTarget();if(target!=this.__ps){this.__ps=target;target.visualizeFocus();}},_onFocusOut:function(e){var target=e.getTarget();if(target==this.__ps){this.__ps=null;target.visualizeBlur();}},__pu:function(e){if(e.getKeyIdentifier()!=SSSS_3){return;}if(!this.__pt){return;}e.stopPropagation();e.preventDefault();var current=this.__ps;if(!e.isShiftPressed()){var next=current?this.__pz(current):this.__px();}else{var next=current?this.__pA(current):this.__py();}if(next){next.tabFocus();}},__pv:function(widget){var roots=this.__pq;while(widget){if(roots[widget.$$hash]){return widget;}widget=widget.getLayoutParent();}return null;},__pw:function(widget1,widget2){if(widget1===widget2){return 0;}var tab1=widget1.getTabIndex()||0;var tab2=widget2.getTabIndex()||0;if(tab1!=tab2){return tab1-tab2;}var el1=widget1.getContainerElement().getDomElement();var el2=widget2.getContainerElement().getDomElement();var Location=qx.bom.element.Location;var loc1=Location.get(el1);var loc2=Location.get(el2);if(loc1.top!=loc2.top){return loc1.top-loc2.top;}if(loc1.left!=loc2.left){return loc1.left-loc2.left;}var z1=widget1.getZIndex();var z2=widget2.getZIndex();if(z1!=z2){return z1-z2;}return 0;},__px:function(){return this.__pD(this.__pt,null);},__py:function(){return this.__pE(this.__pt,null);},__pz:function(widget){var root=this.__pt;if(root==widget){return this.__px();}while(widget&&widget.getAnonymous()){widget=widget.getLayoutParent();}if(widget==null){return [];}var result=[];this.__pB(root,widget,result);result.sort(this.__pw);var len=result.length;return len>0?result[0]:this.__px();},__pA:function(widget){var root=this.__pt;if(root==widget){return this.__py();}while(widget&&widget.getAnonymous()){widget=widget.getLayoutParent();}if(widget==null){return [];}var result=[];this.__pC(root,widget,result);result.sort(this.__pw);var len=result.length;return len>0?result[len-1]:this.__py();},__pB:function(parent,widget,result){var children=parent.getLayoutChildren();var child;for(var i=0,l=children.length;i<l;i++){child=children[i];if(!(child instanceof qx.ui.core.Widget)){continue;}if(!this.isFocusRoot(child)&&child.isEnabled()&&child.isVisible()){if(child.isTabable()&&this.__pw(widget,child)<0){result.push(child);}this.__pB(child,widget,result);}}},__pC:function(parent,widget,result){var children=parent.getLayoutChildren();var child;for(var i=0,l=children.length;i<l;i++){child=children[i];if(!(child instanceof qx.ui.core.Widget)){continue;}if(!this.isFocusRoot(child)&&child.isEnabled()&&child.isVisible()){if(child.isTabable()&&this.__pw(widget,child)>0){result.push(child);}this.__pC(child,widget,result);}}},__pD:function(parent,firstWidget){var children=parent.getLayoutChildren();var child;for(var i=0,l=children.length;i<l;i++){child=children[i];if(!(child instanceof qx.ui.core.Widget)){continue;}if(!this.isFocusRoot(child)&&child.isEnabled()&&child.isVisible()){if(child.isTabable()){if(firstWidget==null||this.__pw(child,firstWidget)<0){firstWidget=child;}}firstWidget=this.__pD(child,firstWidget);}}return firstWidget;},__pE:function(parent,lastWidget){var children=parent.getLayoutChildren();var child;for(var i=0,l=children.length;i<l;i++){child=children[i];if(!(child instanceof qx.ui.core.Widget)){continue;}if(!this.isFocusRoot(child)&&child.isEnabled()&&child.isVisible()){if(child.isTabable()){if(lastWidget==null||this.__pw(child,lastWidget)>0){lastWidget=child;}}lastWidget=this.__pE(child,lastWidget);}}return lastWidget;}},destruct:function(){this._disposeMap(SSSS_6);this.__ps=this.__pr=this.__pt=null;}});})();(function(){var SSSS_0="Number",SSSS_1="qx.event.type.Event",SSSS_2="_applyFirstColumnX",SSSS_3="Integer",SSSS_4="qx.ui.table.pane.Model",SSSS_5="_applyMaxColumnCount",SSSS_6="visibilityChangedPre";qx.Class.define(SSSS_4,{extend:qx.core.Object,construct:function(tableColumnModel){arguments.callee.base.call(this);tableColumnModel.addListener(SSSS_6,this._onColVisibilityChanged,this);this.__pF=tableColumnModel;},events:{"modelChanged":SSSS_1},statics:{EVENT_TYPE_MODEL_CHANGED:"modelChanged"},properties:{firstColumnX:{check:SSSS_3,init:0,apply:SSSS_2},maxColumnCount:{check:SSSS_0,init:-1,apply:SSSS_5}},members:{__pG:null,__pF:null,_applyFirstColumnX:function(value,old){this.__pG=null;this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},_applyMaxColumnCount:function(value,old){this.__pG=null;this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},setTableColumnModel:function(tableColumnModel){this.__pF=tableColumnModel;this.__pG=null;},_onColVisibilityChanged:function(evt){this.__pG=null;this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},getColumnCount:function(){if(this.__pG==null){var firstX=this.getFirstColumnX();var maxColCount=this.getMaxColumnCount();var totalColCount=this.__pF.getVisibleColumnCount();if(maxColCount==-1||(firstX+maxColCount)>totalColCount){this.__pG=totalColCount-firstX;}else{this.__pG=maxColCount;}}return this.__pG;},getColumnAtX:function(xPos){var firstX=this.getFirstColumnX();return this.__pF.getVisibleColumnAtX(firstX+xPos);},getX:function(col){var firstX=this.getFirstColumnX();var maxColCount=this.getMaxColumnCount();var x=this.__pF.getVisibleX(col)-firstX;if(x>=0&&(maxColCount==-1||x<maxColCount)){return x;}else{return -1;}},getColumnLeft:function(col){var left=0;var colCount=this.getColumnCount();for(var x=0;x<colCount;x++){var currCol=this.getColumnAtX(x);if(currCol==col){return left;}left+=this.__pF.getColumnWidth(currCol);}return -1;},getTotalWidth:function(){var totalWidth=0;var colCount=this.getColumnCount();for(var x=0;x<colCount;x++){var col=this.getColumnAtX(x);totalWidth+=this.__pF.getColumnWidth(col);}return totalWidth;}},destruct:function(){this.__pF=null;}});})();(function(){var SSSS_0="qx.event.type.Data",SSSS_1="EVENT_TYPE_DATA_CHANGED",SSSS_2="qx.ui.table.ITableModel",SSSS_3="New code should not use this. Instead, use the text string 'dataChanged' literally.",SSSS_4="New code should not use this. Instead, use the text string 'metaDataChanged' literally.",SSSS_5="qx.event.type.Event",SSSS_6="EVENT_TYPE_META_DATA_CHANGED";qx.Interface.define(SSSS_2,{events:{"dataChanged":SSSS_0,"metaDataChanged":SSSS_5,"sorted":SSSS_0},statics:{EVENT_TYPE_DATA_CHANGED:"dataChanged",EVENT_TYPE_META_DATA_CHANGED:"metaDataChanged"},members:{getRowCount:function(){},getRowData:function(rowIndex){},getColumnCount:function(){},getColumnId:function(columnIndex){},getColumnIndexById:function(columnId){},getColumnName:function(columnIndex){},isColumnEditable:function(columnIndex){},isColumnSortable:function(columnIndex){},sortByColumn:function(columnIndex,ascending){},getSortColumnIndex:function(){},isSortAscending:function(){},prefetchRows:function(firstRowIndex,lastRowIndex){},getValue:function(columnIndex,rowIndex){},getValueById:function(columnId,rowIndex){},setValue:function(columnIndex,rowIndex,value){},setValueById:function(columnId,rowIndex,value){}}});qx.log.Logger.deprecatedConstantWarning(qx.ui.table.ITableModel,SSSS_1,SSSS_3);qx.log.Logger.deprecatedConstantWarning(qx.ui.table.ITableModel,SSSS_6,SSSS_4);})();(function(){var SSSS_0="metaDataChanged",SSSS_1="qx.event.type.Data",SSSS_2="qx.event.type.Event",SSSS_3="abstract",SSSS_4="qx.ui.table.model.Abstract";qx.Class.define(SSSS_4,{type:SSSS_3,extend:qx.core.Object,implement:qx.ui.table.ITableModel,events:{"dataChanged":SSSS_1,"metaDataChanged":SSSS_2,"sorted":SSSS_1},construct:function(){arguments.callee.base.call(this);this.__pH=[];this.__pI=[];this.__pJ={};},members:{__pH:null,__pI:null,__pJ:null,__pK:null,getRowCount:function(){throw new Error("getRowCount is abstract");},getRowData:function(rowIndex){return null;},isColumnEditable:function(columnIndex){return false;},isColumnSortable:function(columnIndex){return false;},sortByColumn:function(columnIndex,ascending){},getSortColumnIndex:function(){return -1;},isSortAscending:function(){return true;},prefetchRows:function(firstRowIndex,lastRowIndex){},getValue:function(columnIndex,rowIndex){throw new Error("getValue is abstract");},getValueById:function(columnId,rowIndex){return this.getValue(this.getColumnIndexById(columnId),rowIndex);},setValue:function(columnIndex,rowIndex,value){throw new Error("setValue is abstract");},setValueById:function(columnId,rowIndex,value){this.setValue(this.getColumnIndexById(columnId),rowIndex,value);},getColumnCount:function(){return this.__pH.length;},getColumnIndexById:function(columnId){return this.__pJ[columnId];},getColumnId:function(columnIndex){return this.__pH[columnIndex];},getColumnName:function(columnIndex){return this.__pI[columnIndex];},setColumnIds:function(columnIdArr){this.__pH=columnIdArr;this.__pJ={};for(var i=0;i<columnIdArr.length;i++){this.__pJ[columnIdArr[i]]=i;}this.__pI=new Array(columnIdArr.length);if(!this.__pK){this.fireEvent(SSSS_0);}},setColumnNamesByIndex:function(columnNameArr){if(this.__pH.length!=columnNameArr.length){throw new Error("this.__columnIdArr and columnNameArr have different length: "+this.__pH.length+" != "+columnNameArr.length);}this.__pI=columnNameArr;this.fireEvent(SSSS_0);},setColumnNamesById:function(columnNameMap){this.__pI=new Array(this.__pH.length);for(var i=0;i<this.__pH.length;++i){this.__pI[i]=columnNameMap[this.__pH[i]];}},setColumns:function(columnNameArr,columnIdArr){var bSetIds=this.__pH.length==0||columnIdArr;if(columnIdArr==null){if(this.__pH.length==0){columnIdArr=columnNameArr;}else{columnIdArr=this.__pH;}}if(columnIdArr.length!=columnNameArr.length){throw new Error("columnIdArr and columnNameArr have different length: "+columnIdArr.length+" != "+columnNameArr.length);}if(bSetIds){this.__pK=true;this.setColumnIds(columnIdArr);this.__pK=false;}this.setColumnNamesByIndex(columnNameArr);}},destruct:function(){this.__pH=this.__pI=this.__pJ=null;}});})();(function(){var SSSS_0="dataChanged",SSSS_1="metaDataChanged",SSSS_2="qx.ui.table.model.Simple",SSSS_3="Boolean",SSSS_4="sorted";qx.Class.define(SSSS_2,{extend:qx.ui.table.model.Abstract,construct:function(){arguments.callee.base.call(this);this.__pL=[];this.__pM=-1;this.__pN=[];this.__pO=null;},properties:{caseSensitiveSorting:{check:SSSS_3,init:true}},statics:{_defaultSortComparatorAscending:function(row1,row2){var obj1=row1[arguments.callee.columnIndex];var obj2=row2[arguments.callee.columnIndex];if(qx.lang.Type.isNumber(obj1)&&qx.lang.Type.isNumber(obj2)){var result=isNaN(obj1)?isNaN(obj2)?0:1:isNaN(obj2)?-1:null;if(result!=null){return result;}}return (obj1>obj2)?1:((obj1==obj2)?0:-1);},_defaultSortComparatorInsensitiveAscending:function(row1,row2){var obj1=(row1[arguments.callee.columnIndex].toLowerCase?row1[arguments.callee.columnIndex].toLowerCase():row1[arguments.callee.columnIndex]);var obj2=(row2[arguments.callee.columnIndex].toLowerCase?row2[arguments.callee.columnIndex].toLowerCase():row2[arguments.callee.columnIndex]);if(qx.lang.Type.isNumber(obj1)&&qx.lang.Type.isNumber(obj2)){var result=isNaN(obj1)?isNaN(obj2)?0:1:isNaN(obj2)?-1:null;if(result!=null){return result;}}return (obj1>obj2)?1:((obj1==obj2)?0:-1);},_defaultSortComparatorDescending:function(row1,row2){var obj1=row1[arguments.callee.columnIndex];var obj2=row2[arguments.callee.columnIndex];if(qx.lang.Type.isNumber(obj1)&&qx.lang.Type.isNumber(obj2)){var result=isNaN(obj1)?isNaN(obj2)?0:1:isNaN(obj2)?-1:null;if(result!=null){return result;}}return (obj1<obj2)?1:((obj1==obj2)?0:-1);},_defaultSortComparatorInsensitiveDescending:function(row1,row2){var obj1=(row1[arguments.callee.columnIndex].toLowerCase?row1[arguments.callee.columnIndex].toLowerCase():row1[arguments.callee.columnIndex]);var obj2=(row2[arguments.callee.columnIndex].toLowerCase?row2[arguments.callee.columnIndex].toLowerCase():row2[arguments.callee.columnIndex]);if(qx.lang.Type.isNumber(obj1)&&qx.lang.Type.isNumber(obj2)){var result=isNaN(obj1)?isNaN(obj2)?0:1:isNaN(obj2)?-1:null;if(result!=null){return result;}}return (obj1<obj2)?1:((obj1==obj2)?0:-1);}},members:{__pL:null,__pO:null,__pP:null,__pN:null,__pM:null,__pQ:null,getRowData:function(rowIndex){var rowData=this.__pL[rowIndex];if(rowData==null||rowData.originalData==null){return rowData;}else{return rowData.originalData;}},getRowDataAsMap:function(rowIndex){var columnArr=this.__pL[rowIndex];var map={};for(var col=0;col<this.getColumnCount();col++){map[this.getColumnId(col)]=columnArr[col];}return map;},getDataAsMapArray:function(){var len=this.getRowCount();var data=[];for(var i=0;i<len;i++){data.push(this.getRowDataAsMap(i));}return data;},setEditable:function(editable){this.__pO=[];for(var col=0;col<this.getColumnCount();col++){this.__pO[col]=editable;}this.fireEvent(SSSS_1);},setColumnEditable:function(columnIndex,editable){if(editable!=this.isColumnEditable(columnIndex)){if(this.__pO==null){this.__pO=[];}this.__pO[columnIndex]=editable;this.fireEvent(SSSS_1);}},isColumnEditable:function(columnIndex){return this.__pO?(this.__pO[columnIndex]==true):false;},setColumnSortable:function(columnIndex,sortable){if(sortable!=this.isColumnSortable(columnIndex)){if(this.__pP==null){this.__pP=[];}this.__pP[columnIndex]=sortable;this.fireEvent(SSSS_1);}},isColumnSortable:function(columnIndex){return (this.__pP?(this.__pP[columnIndex]!==false):true);},sortByColumn:function(columnIndex,ascending){var comparator;var sortMethods=this.__pN[columnIndex];if(sortMethods){comparator=(ascending?sortMethods.ascending:sortMethods.descending);}else{if(this.getCaseSensitiveSorting()){comparator=(ascending?qx.ui.table.model.Simple._defaultSortComparatorAscending:qx.ui.table.model.Simple._defaultSortComparatorDescending);}else{comparator=(ascending?qx.ui.table.model.Simple._defaultSortComparatorInsensitiveAscending:qx.ui.table.model.Simple._defaultSortComparatorInsensitiveDescending);}}comparator.columnIndex=columnIndex;this.__pL.sort(comparator);this.__pM=columnIndex;this.__pQ=ascending;var data={columnIndex:columnIndex,ascending:ascending};this.fireDataEvent(SSSS_4,data);this.fireEvent(SSSS_1);},setSortMethods:function(columnIndex,compare){var methods;if(qx.lang.Type.isFunction(compare)){methods={ascending:compare,descending:function(row1,row2){return compare(row2,row1);}};}else{methods=compare;}this.__pN[columnIndex]=methods;},getSortMethods:function(columnIndex){return this.__pN[columnIndex];},clearSorting:function(){if(this.__pM!=-1){this.__pM=-1;this.__pQ=true;this.fireEvent(SSSS_1);}},getSortColumnIndex:function(){return this.__pM;},isSortAscending:function(){return this.__pQ;},getRowCount:function(){return this.__pL.length;},getValue:function(columnIndex,rowIndex){if(rowIndex<0||rowIndex>=this.__pL.length){throw new Error("this.__rowArr out of bounds: "+rowIndex+" (0.."+this.__pL.length+")");}return this.__pL[rowIndex][columnIndex];},setValue:function(columnIndex,rowIndex,value){if(this.__pL[rowIndex][columnIndex]!=value){this.__pL[rowIndex][columnIndex]=value;if(this.hasListener(SSSS_0)){var data={firstRow:rowIndex,lastRow:rowIndex,firstColumn:columnIndex,lastColumn:columnIndex};this.fireDataEvent(SSSS_0,data);}if(columnIndex==this.__pM){this.clearSorting();}}},setData:function(rowArr,clearSorting){this.__pL=rowArr;if(this.hasListener(SSSS_0)){var data={firstRow:0,lastRow:rowArr.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(SSSS_0,data);}if(clearSorting!==false){this.clearSorting();}},getData:function(){return this.__pL;},setDataAsMapArray:function(mapArr,rememberMaps,clearSorting){this.setData(this._mapArray2RowArr(mapArr,rememberMaps),clearSorting);},addRows:function(rowArr,startIndex,clearSorting){if(startIndex==null){startIndex=this.__pL.length;}rowArr.splice(0,0,startIndex,0);Array.prototype.splice.apply(this.__pL,rowArr);var data={firstRow:startIndex,lastRow:this.__pL.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(SSSS_0,data);if(clearSorting!==false){this.clearSorting();}},addRowsAsMapArray:function(mapArr,startIndex,rememberMaps,clearSorting){this.addRows(this._mapArray2RowArr(mapArr,rememberMaps),startIndex,clearSorting);},setRows:function(rowArr,startIndex,clearSorting){if(startIndex==null){startIndex=0;}rowArr.splice(0,0,startIndex,rowArr.length);Array.prototype.splice.apply(this.__pL,rowArr);var data={firstRow:startIndex,lastRow:this.__pL.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(SSSS_0,data);if(clearSorting!==false){this.clearSorting();}},setRowsAsMapArray:function(mapArr,startIndex,rememberMaps,clearSorting){this.setRows(this._mapArray2RowArr(mapArr,rememberMaps),startIndex,clearSorting);},removeRows:function(startIndex,howMany,clearSorting){this.__pL.splice(startIndex,howMany);var data={firstRow:startIndex,lastRow:this.__pL.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1,removeStart:startIndex,removeCount:howMany};this.fireDataEvent(SSSS_0,data);if(clearSorting!==false){this.clearSorting();}},_mapArray2RowArr:function(mapArr,rememberMaps){var rowCount=mapArr.length;var columnCount=this.getColumnCount();var dataArr=new Array(rowCount);var columnArr;for(var i=0;i<rowCount;++i){columnArr=[];if(rememberMaps){columnArr.originalData=mapArr[i];}for(var j=0;j<columnCount;++j){columnArr[j]=mapArr[i][this.getColumnId(j)];}dataArr[i]=columnArr;}return dataArr;}},destruct:function(){this.__pL=this.__pO=this.__pN=this.__pP=null;}});})();(function(){var SSSS_0="dataChanged",SSSS_1="qx.event.type.Data",SSSS_2="Left",SSSS_3="Right",SSSS_4="hidden",SSSS_5="Boolean",SSSS_6="Enter",SSSS_7="number",SSSS_8="changeSelection",SSSS_9="dataEdited",SSSS_10="object",SSSS_11="qx.ui.treevirtual.TreeVirtual",SSSS_12="string",SSSS_13="treevirtual";qx.Class.define(SSSS_11,{extend:qx.ui.table.Table,construct:function(headings,custom){if(!custom){custom={};}if(!custom.dataModel){custom.dataModel=new qx.ui.treevirtual.SimpleTreeDataModel();}if(custom.treeColumn===undefined){custom.treeColumn=0;custom.dataModel.setTreeColumn(custom.treeColumn);}if(!custom.treeDataCellRenderer){custom.treeDataCellRenderer=new qx.ui.treevirtual.SimpleTreeDataCellRenderer();}if(!custom.defaultDataCellRenderer){custom.defaultDataCellRenderer=new qx.ui.treevirtual.DefaultDataCellRenderer();}if(!custom.dataRowRenderer){custom.dataRowRenderer=new qx.ui.treevirtual.SimpleTreeDataRowRenderer();}if(!custom.selectionManager){custom.selectionManager=function(obj){return new qx.ui.treevirtual.SelectionManager(obj);};}if(!custom.tableColumnModel){custom.tableColumnModel=function(obj){return new qx.ui.table.columnmodel.Resize(obj);};}if(typeof (headings)==SSSS_12){headings=[headings];}custom.dataModel.setColumns(headings);custom.dataModel.setTreeColumn(custom.treeColumn);custom.dataModel.setTree(this);arguments.callee.base.call(this,custom.dataModel,custom);this.addListener(SSSS_9,function(e){this.getDataModel().setData();},this);this.setColumnVisibilityButtonVisible(headings.length>1);this.setRowHeight(16);this.setMetaColumnCounts(headings.length>1?[1,-1]:[1]);this.setOverflow(SSSS_4);var stdcr=custom.treeDataCellRenderer;var ddcr=custom.defaultDataCellRenderer;var tcm=this.getTableColumnModel();var treeCol=this.getDataModel().getTreeColumn();for(var i=0;i<headings.length;i++){tcm.setDataCellRenderer(i,i==treeCol?stdcr:ddcr);}this.setDataRowRenderer(custom.dataRowRenderer);this.setFocusCellOnMouseMove(true);this.setShowCellFocusIndicator(false);var scrollers=this._getPaneScrollerArr();for(var i=0;i<scrollers.length;i++){scrollers[i].setSelectBeforeFocus(true);}},events:{"treeOpenWithContent":SSSS_1,"treeOpenWhileEmpty":SSSS_1,"treeClose":SSSS_1,"changeSelection":SSSS_1},statics:{SelectionMode:{NONE:qx.ui.table.selection.Model.NO_SELECTION,SINGLE:qx.ui.table.selection.Model.SINGLE_SELECTION,SINGLE_INTERVAL:qx.ui.table.selection.Model.SINGLE_INTERVAL_SELECTION,MULTIPLE_INTERVAL:qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION,MULTIPLE_INTERVAL_TOGGLE:qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION_TOGGLE}},properties:{openCloseClickSelectsRow:{check:SSSS_5,init:false},appearance:{refine:true,init:SSSS_13}},members:{getDataModel:function(){return this.getTableModel();},setUseTreeLines:function(b){var dataModel=this.getDataModel();var treeCol=dataModel.getTreeColumn();var dcr=this.getTableColumnModel().getDataCellRenderer(treeCol);dcr.setUseTreeLines(b);if(dataModel.hasListener(SSSS_0)){var data={firstRow:0,lastRow:dataModel.getRowCount()-1,firstColumn:0,lastColumn:dataModel.getColumnCount()-1};dataModel.fireDataEvent(SSSS_0,data);}},getUseTreeLines:function(){var treeCol=this.getDataModel().getTreeColumn();var dcr=this.getTableColumnModel().getDataCellRenderer(treeCol);return dcr.getUseTreeLines();},setAlwaysShowOpenCloseSymbol:function(b){var dataModel=this.getDataModel();var treeCol=dataModel.getTreeColumn();var dcr=this.getTableColumnModel().getDataCellRenderer(treeCol);dcr.setAlwaysShowOpenCloseSymbol(b);if(dataModel.hasListener(SSSS_0)){var data={firstRow:0,lastRow:dataModel.getRowCount()-1,firstColumn:0,lastColumn:dataModel.getColumnCount()-1};dataModel.fireDataEvent(SSSS_0,data);}},setExcludeFirstLevelTreeLines:function(b){var dataModel=this.getDataModel();var treeCol=dataModel.getTreeColumn();var dcr=this.getTableColumnModel().getDataCellRenderer(treeCol);dcr.setExcludeFirstLevelTreeLines(b);if(dataModel.hasListener(SSSS_0)){var data={firstRow:0,lastRow:dataModel.getRowCount()-1,firstColumn:0,lastColumn:dataModel.getColumnCount()-1};dataModel.fireDataEvent(SSSS_0,data);}},getExcludeFirstLevelTreeLines:function(){var treeCol=this.getDataModel().getTreeColumn();var dcr=this.getTableColumnModel().getDataCellRenderer(treeCol);return dcr.getExcludeFirstLevelTreeLines();},getAlwaysShowOpenCloseSymbol:function(){var treeCol=this.getDataModel().getTreeColumn();var dcr=this.getTableColumnModel().getDataCellRenderer(treeCol);return dcr.getAlwaysShowOpenCloseSymbol();},setSelectionMode:function(mode){this.getSelectionModel().setSelectionMode(mode);},getSelectionMode:function(){return this.getSelectionModel().getSelectionMode();},getHierarchy:function(nodeReference){var _this=this;var components=[];var node;var nodeId;if(typeof (nodeReference)==SSSS_10){node=nodeReference;nodeId=node.nodeId;}else if(typeof (nodeReference)==SSSS_7){nodeId=nodeReference;}else{throw new Error("Expected node object or node id");}function addHierarchy(nodeId){if(!nodeId){return ;}var node=_this.getDataModel().getData()[nodeId];components.unshift(node.label);addHierarchy(node.parentNodeId);}addHierarchy(nodeId);return components;},getSelectedNodes:function(){return this.getDataModel().getSelectedNodes();},_onKeyPress:function(evt){if(!this.getEnabled()){return;}var identifier=evt.getKeyIdentifier();var consumed=false;var modifiers=evt.getModifiers();if(modifiers==0){switch(identifier){case SSSS_6:var dm=this.getDataModel();var focusedCol=this.getFocusedColumn();var treeCol=dm.getTreeColumn();if(focusedCol==treeCol){var focusedRow=this.getFocusedRow();var node=dm.getValue(treeCol,focusedRow);if(!node.bHideOpenClose){dm.setState(node,{bOpened:!node.bOpened});}consumed=true;}break;case SSSS_2:this.moveFocusedCell(-1,0);break;case SSSS_3:this.moveFocusedCell(1,0);break;}}else if(modifiers==qx.event.type.Dom.CTRL_MASK){switch(identifier){case SSSS_2:var dm=this.getDataModel();var focusedRow=this.getFocusedRow();var treeCol=dm.getTreeColumn();var node=dm.getValue(treeCol,focusedRow);if((node.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.BRANCH)&&!node.bHideOpenClose&&node.bOpened){dm.setState(node,{bOpened:!node.bOpened});}this.setFocusedCell(treeCol,focusedRow,true);consumed=true;break;case SSSS_3:var dm=this.getDataModel();var focusedRow=this.getFocusedRow();var treeCol=dm.getTreeColumn();var node=dm.getValue(treeCol,focusedRow);if((node.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.BRANCH)&&!node.bHideOpenClose&&!node.bOpened){dm.setState(node,{bOpened:!node.bOpened});}this.setFocusedCell(treeCol,focusedRow,true);consumed=true;break;}}else if(modifiers==qx.event.type.Dom.SHIFT_MASK){switch(identifier){case SSSS_2:var dm=this.getDataModel();var focusedRow=this.getFocusedRow();var treeCol=dm.getTreeColumn();var node=dm.getValue(treeCol,focusedRow);if(node.parentNodeId){var rowIndex=dm.getRowFromNodeId(node.parentNodeId);this.setFocusedCell(this._focusedCol,rowIndex,true);}consumed=true;break;case SSSS_3:var dm=this.getDataModel();var focusedRow=this.getFocusedRow();var treeCol=dm.getTreeColumn();var node=dm.getValue(treeCol,focusedRow);if((node.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.BRANCH)&&!node.bHideOpenClose){if(!node.bOpened){dm.setState(node,{bOpened:!node.bOpened});}if(node.children.length>0){this.moveFocusedCell(0,1);}}consumed=true;break;}}if(consumed){evt.preventDefault();evt.stopPropagation();}else{arguments.callee.base.call(this,evt);}},_onSelectionChanged:function(evt){this.getDataModel()._clearSelections();if(this.getSelectionMode()!=qx.ui.treevirtual.TreeVirtual.SelectionMode.NONE){var selectedNodes=this._calculateSelectedNodes();this.fireDataEvent(SSSS_8,selectedNodes);}arguments.callee.base.call(this,evt);},_calculateSelectedNodes:function(){var stdcm=this.getDataModel();var selectedRanges=this.getSelectionModel().getSelectedRanges();var selectedNodes=[];var node;for(var i=0;i<selectedRanges.length;i++){for(var j=selectedRanges[i].minIndex;j<=selectedRanges[i].maxIndex;j++){node=stdcm.getValue(stdcm.getTreeColumn(),j);stdcm.setState(node,{bSelected:true});selectedNodes.push(node);}}return selectedNodes;},setOverflow:function(s){if(s!=SSSS_4){throw new Error("Tree overflow must be hidden.  "+"The internal elements of it will scroll.");}}}});})();(function(){var SSSS_0="blueprint.ui.treevirtual.TreeVirtual";qx.Class.define(SSSS_0,{extend:qx.ui.treevirtual.TreeVirtual,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this,vData.constructorSettings.headings,vData.constructorSettings.custom);this.set(vData.qxSettings);var dataModel=this.getDataModel();if(vData.constructorSettings.treeData){dataModel.setData(vData.constructorSettings.treeData);}},members:{},destruct:function(){}});})();(function(){var SSSS_0="number",SSSS_1="dataChanged",SSSS_2="object",SSSS_3="treeOpenWhileEmpty",SSSS_4="treeOpenWithContent",SSSS_5="bSelected",SSSS_6="qx.ui.treevirtual.SimpleTreeDataModel",SSSS_7="bOpened",SSSS_8="treeClose",SSSS_9="<virtual root>";qx.Class.define(SSSS_6,{extend:qx.ui.table.model.Abstract,construct:function(){arguments.callee.base.call(this);this._rowArr=[];this._nodeArr=[];this._nodeRowMap=[];this._treeColumn=0;this._selections={};this._nodeArr.push(arguments.callee.self.__pS());this.__pR=null;},statics:{__pS:function(){return {label:SSSS_9,nodeId:0,bOpened:true,children:[]};},Type:{LEAF:1,BRANCH:2}},members:{__pT:null,__pR:null,_rowArr:null,_nodeArr:null,_nodeRowMap:null,_treeColumn:null,_selections:null,setTree:function(tree){this.__pT=tree;},getTree:function(){return this.__pT;},setEditable:function(editable){this.__pR=[];for(var col=0;col<this.getColumnCount();col++){this.__pR[col]=editable;}this.fireEvent(qx.ui.table.ITableModel.EVENT_TYPE_META_DATA_CHANGED);},setColumnEditable:function(columnIndex,editable){if(editable!=this.isColumnEditable(columnIndex)){if(this.__pR==null){this.__pR=[];}this.__pR[columnIndex]=editable;this.fireEvent(qx.ui.table.ITableModel.EVENT_TYPE_META_DATA_CHANGED);}},isColumnEditable:function(columnIndex){return (this.__pR?this.__pR[columnIndex]==true:false);},isColumnSortable:function(columnIndex){return false;},sortByColumn:function(columnIndex,ascending){throw new Error("Trees can not be sorted by column");},getSortColumnIndex:function(){return -1;},setTreeColumn:function(columnIndex){this._treeColumn=columnIndex;},getTreeColumn:function(){return this._treeColumn;},getRowCount:function(){return this._rowArr.length;},getRowData:function(rowIndex){return this._rowArr[rowIndex];},getValue:function(columnIndex,rowIndex){if(rowIndex<0||rowIndex>=this._rowArr.length){throw new Error("this._rowArr row "+"("+rowIndex+") out of bounds: "+this._rowArr+" (0.."+(this._rowArr.length-1)+")");}if(columnIndex<0||columnIndex>=this._rowArr[rowIndex].length){throw new Error("this._rowArr column "+"("+columnIndex+") out of bounds: "+this._rowArr[rowIndex]+" (0.."+(this._rowArr[rowIndex].length-1)+")");}return this._rowArr[rowIndex][columnIndex];},setValue:function(columnIndex,rowIndex,value){if(columnIndex==this._treeColumn){return ;}var node=this.getNodeFromRow(rowIndex);if(node.columnData[columnIndex]!=value){node.columnData[columnIndex]=value;this.setData();if(this.hasListener(SSSS_1)){var data={firstRow:node.nodeId,lastRow:node.nodeId,firstColumn:columnIndex,lastColumn:columnIndex};this.fireDataEvent(SSSS_1,data);}}},_addNode:function(parentNodeId,label,bOpened,bHideOpenCloseButton,type,icon,iconSelected){var parentNode;if(parentNodeId){parentNode=this._nodeArr[parentNodeId];if(!parentNode){throw new Error("Request to add a child to a non-existent parent");}if(parentNode.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.LEAF){throw new Error("Sorry, a LEAF may not have children.");}}else{parentNode=this._nodeArr[0];parentNodeId=0;}if(type==qx.ui.treevirtual.SimpleTreeDataModel.Type.LEAF){bOpened=false;bHideOpenCloseButton=false;}var nodeId=this._nodeArr.length;var node={type:type,nodeId:nodeId,parentNodeId:parentNodeId,label:label,bSelected:false,bOpened:bOpened,bHideOpenClose:bHideOpenCloseButton,icon:icon,iconSelected:iconSelected,children:[],columnData:[]};this._nodeArr.push(node);parentNode.children.push(nodeId);return nodeId;},addBranch:function(parentNodeId,label,bOpened,bHideOpenCloseButton,icon,iconSelected){return this._addNode(parentNodeId,label,bOpened,bHideOpenCloseButton,qx.ui.treevirtual.SimpleTreeDataModel.Type.BRANCH,icon,iconSelected);},addLeaf:function(parentNodeId,label,icon,iconSelected){return this._addNode(parentNodeId,label,false,false,qx.ui.treevirtual.SimpleTreeDataModel.Type.LEAF,icon,iconSelected);},prune:function(nodeReference,bSelfAlso){var node;var nodeId;if(typeof (nodeReference)==SSSS_2){node=nodeReference;nodeId=node.nodeId;}else if(typeof (nodeReference)==SSSS_0){nodeId=nodeReference;}else{throw new Error("Expected node object or node id");}for(var i=this._nodeArr[nodeId].children.length-1;i>=0;i--){this.prune(this._nodeArr[nodeId].children[i],true);}if(bSelfAlso&&nodeId!=0){node=this._nodeArr[nodeId];qx.lang.Array.remove(this._nodeArr[node.parentNodeId].children,nodeId);if(this._selections[nodeId]){delete this._selections[nodeId];}this._nodeArr[nodeId]=null;}},move:function(moveNodeReference,parentNodeReference){var moveNode;var moveNodeId;var parentNode;var parentNodeId;parentNodeReference=parentNodeReference||0;if(typeof (moveNodeReference)==SSSS_2){moveNode=moveNodeReference;moveNodeId=moveNode.nodeId;}else if(typeof (moveNodeReference)==SSSS_0){moveNodeId=moveNodeReference;moveNode=this._nodeArr[moveNodeId];}else{throw new Error("Expected move node object or node id");}if(typeof (parentNodeReference)==SSSS_2){parentNode=parentNodeReference;parentNodeId=parentNode.nodeId;}else if(typeof (parentNodeReference)==SSSS_0){parentNodeId=parentNodeReference;parentNode=this._nodeArr[parentNodeId];}else{throw new Error("Expected parent node object or node id");}if(parentNode.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.LEAF){throw new Error("Sorry, a LEAF may not have children.");}var oldParent=this._nodeArr[moveNode.parentNodeId];qx.lang.Array.remove(oldParent.children,moveNodeId);parentNode.children.push(moveNodeId);this._nodeArr[moveNodeId].parentNodeId=parentNodeId;},setData:function(nodeArr){var _this=this;function render(){var inorder=function(nodeId,level){var child=null;var childNodeId;var numChildren=_this._nodeArr[nodeId].children.length;for(var i=0;i<numChildren;i++){childNodeId=_this._nodeArr[nodeId].children[i];child=_this._nodeArr[childNodeId];if(child==null){continue;}child.level=level;child.bFirstChild=(i==0);child.lastChild=[i==numChildren-1];var parent=_this._nodeArr[child.parentNodeId];while(parent.nodeId){var bLast=parent.lastChild[parent.lastChild.length-1];child.lastChild.unshift(bLast);parent=_this._nodeArr[parent.parentNodeId];}if(!child.columnData){child.columnData=[];}if(child.columnData.length<_this.getColumnCount()){child.columnData[_this.getColumnCount()-1]=null;}var rowData=[];if(child.columnData){for(var j=0;j<child.columnData.length;j++){if(j==_this._treeColumn){rowData.push(child);}else{rowData.push(child.columnData[j]);}}}else{rowData.push(child);}if(child.bSelected){rowData.selected=true;}_this._nodeRowMap[child.nodeId]=_this._rowArr.length;_this._rowArr.push(rowData);if(child.bOpened){inorder(childNodeId,level+1);}}};_this._rowArr=[];_this._nodeRowMap=[];inorder(0,1);if(_this.hasListener(SSSS_1)){var data={firstRow:0,lastRow:_this._rowArr.length-1,firstColumn:0,lastColumn:_this.getColumnCount()-1};_this.fireDataEvent(SSSS_1,data);}}if(nodeArr instanceof Array){for(var i=0;i<nodeArr.length;i++){if(nodeArr[i].selected){this._selections[i]=true;}}this._nodeArr=nodeArr;}else if(nodeArr!==null&&nodeArr!==undefined){throw new Error("Expected array of node objects or null/undefined; "+"got "+typeof (nodeArr));}render();},getData:function(){return this._nodeArr;},clearData:function(){this._clearSelections();this.setData([arguments.callee.self.__pS()]);},setColumnData:function(nodeId,columnIndex,data){this._nodeArr[nodeId].columnData[columnIndex]=data;},getColumnData:function(nodeId,columnIndex){return this._nodeArr[nodeId].columnData[columnIndex];},setState:function(nodeReference,attributes){var node;var nodeId;if(typeof (nodeReference)==SSSS_2){node=nodeReference;nodeId=node.nodeId;}else if(typeof (nodeReference)==SSSS_0){nodeId=nodeReference;node=this._nodeArr[nodeId];}else{throw new Error("Expected node object or node id");}for(var attribute in attributes){switch(attribute){case SSSS_5:var nRowIndex=this.getRowFromNodeId(nodeId);var selectionModel=this.getTree().getSelectionModel();var TV=qx.ui.treevirtual.TreeVirtual;var bChangeSelection=(typeof (nRowIndex)===SSSS_0&&this.getTree().getSelectionMode()!=TV.SelectionMode.NONE);if(attributes[attribute]){this._selections[nodeId]=true;if(bChangeSelection&&!selectionModel.isSelectedIndex(nRowIndex)){selectionModel.setSelectionInterval(nRowIndex,nRowIndex);}}else{delete this._selections[nodeId];if(bChangeSelection&&selectionModel.isSelectedIndex(nRowIndex)){selectionModel.removeSelectionInterval(nRowIndex,nRowIndex);}}break;case SSSS_7:if(attributes[attribute]==node.bOpened){break;}var tree=this.__pT;if(node.bOpened){tree.fireDataEvent(SSSS_8,node);}else{if(node.children.length>0){tree.fireDataEvent(SSSS_4,node);}else{tree.fireDataEvent(SSSS_3,node);}}if(!node.bHideOpenClose){node.bOpened=!node.bOpened;tree.getSelectionModel()._clearSelection();}this.setData();break;default:break;}node[attribute]=attributes[attribute];}},getNodeRowMap:function(){return this._nodeRowMap;},getRowFromNodeId:function(nodeId){return this._nodeRowMap[nodeId];},getNodeFromRow:function(rowIndex){return this._nodeArr[this._rowArr[rowIndex][this._treeColumn].nodeId];},_clearSelections:function(){for(var selection in this._selections){this._nodeArr[selection].bSelected=false;}this._selections={};},getSelectedNodes:function(){var nodes=[];for(var nodeId in this._selections){nodes.push(this._nodeArr[nodeId]);}return nodes;}},destruct:function(){this._rowArr=this._nodeArr=this._nodeRowMap=this._selections=this.__pT=null;}});})();(function(){var SSSS_0="#CCCCCC",SSSS_1="#F3F3F3",SSSS_2="#E4E4E4",SSSS_3="#1a1a1a",SSSS_4="#084FAB",SSSS_5="gray",SSSS_6="#fffefe",SSSS_7="white",SSSS_8="#4a4a4a",SSSS_9="#EEEEEE",SSSS_10="#80B4EF",SSSS_11="#C72B2B",SSSS_12="#ffffdd",SSSS_13="#334866",SSSS_14="#00204D",SSSS_15="#666666",SSSS_16="#CBC8CD",SSSS_17="#99C3FE",SSSS_18="#808080",SSSS_19="#F4F4F4",SSSS_20="#001533",SSSS_21="#909090",SSSS_22="#FCFCFC",SSSS_23="#314a6e",SSSS_24="#B6B6B6",SSSS_25="#0880EF",SSSS_26="#4d4d4d",SSSS_27="#DFDFDF",SSSS_28="#000000",SSSS_29="#FF9999",SSSS_30="#7B7A7E",SSSS_31="#26364D",SSSS_32="#990000",SSSS_33="#AFAFAF",SSSS_34="#404955",SSSS_35="#AAAAAA",SSSS_36="qx.theme.modern.Color";qx.Theme.define(SSSS_36,{colors:{"background-application":SSSS_27,"background-pane":SSSS_1,"background-light":SSSS_22,"background-medium":SSSS_9,"background-splitpane":SSSS_33,"background-tip":SSSS_12,"background-tip-error":SSSS_11,"background-odd":SSSS_2,"text-light":SSSS_21,"text-gray":SSSS_8,"text-label":SSSS_3,"text-title":SSSS_23,"text-input":SSSS_28,"text-hovered":SSSS_20,"text-disabled":SSSS_30,"text-selected":SSSS_6,"text-active":SSSS_31,"text-inactive":SSSS_34,"text-placeholder":SSSS_16,"border-main":SSSS_26,"border-separator":SSSS_18,"border-input":SSSS_13,"border-disabled":SSSS_24,"border-pane":SSSS_14,"border-button":SSSS_15,"border-column":SSSS_0,"border-focused":SSSS_17,"invalid":SSSS_32,"border-focused-invalid":SSSS_29,"table-pane":SSSS_1,"table-focus-indicator":SSSS_25,"table-row-background-focused-selected":SSSS_4,"table-row-background-focused":SSSS_10,"table-row-background-selected":SSSS_4,"table-row-background-even":SSSS_1,"table-row-background-odd":SSSS_2,"table-row-selected":SSSS_6,"table-row":SSSS_3,"table-row-line":SSSS_0,"table-column-line":SSSS_0,"progressive-table-header":SSSS_35,"progressive-table-row-background-even":SSSS_19,"progressive-table-row-background-odd":SSSS_2,"progressive-progressbar-background":SSSS_5,"progressive-progressbar-indicator-done":SSSS_0,"progressive-progressbar-indicator-undone":SSSS_7,"progressive-progressbar-percent-background":SSSS_5,"progressive-progressbar-percent-text":SSSS_7}});})();(function(){var SSSS_0="Liberation Sans",SSSS_1="Arial",SSSS_2="Lucida Grande",SSSS_3="sans-serif",SSSS_4="Tahoma",SSSS_5="Candara",SSSS_6="Segoe UI",SSSS_7="Consolas",SSSS_8="Courier New",SSSS_9="Monaco",SSSS_10="monospace",SSSS_11="Lucida Console",SSSS_12="qx.theme.modern.Font",SSSS_13="DejaVu Sans Mono";qx.Theme.define(SSSS_12,{fonts:{"default":{size:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?12:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[SSSS_2]:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?[SSSS_6,SSSS_5]:[SSSS_4,SSSS_0,SSSS_1,SSSS_3]},"bold":{size:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?12:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[SSSS_2]:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?[SSSS_6,SSSS_5]:[SSSS_4,SSSS_0,SSSS_1,SSSS_3],bold:true},"small":{size:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?11:10,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[SSSS_2]:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?[SSSS_6,SSSS_5]:[SSSS_4,SSSS_0,SSSS_1,SSSS_3]},"monospace":{size:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[SSSS_11,SSSS_9]:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?[SSSS_7]:[SSSS_7,SSSS_13,SSSS_8,SSSS_10]}}});})();(function(){var SSSS_0="Tango",SSSS_1="qx/icon/Tango",SSSS_2="qx.theme.icon.Tango";qx.Theme.define(SSSS_2,{title:SSSS_0,aliases:{"icon":SSSS_1},icons:{}});})();(function(){var SSSS_0="qx.theme.Modern",SSSS_1="Modern";qx.Theme.define(SSSS_0,{title:SSSS_1,meta:{color:qx.theme.modern.Color,decoration:qx.theme.modern.Decoration,font:qx.theme.modern.Font,appearance:qx.theme.modern.Appearance,icon:qx.theme.icon.Tango}});})();(function(){var SSSS_0="white",SSSS_1="black",SSSS_2="#3E6CA8",SSSS_3="#EBE9ED",SSSS_4="#A7A6AA",SSSS_5="#EEE",SSSS_6="#F3F0F5",SSSS_7="gray",SSSS_8="#85878C",SSSS_9="#888888",SSSS_10="#3E5B97",SSSS_11="#FFFFE1",SSSS_12="#F3F8FD",SSSS_13="#CBC8CD",SSSS_14="#FFE0E0",SSSS_15="#F4F4F4",SSSS_16="#808080",SSSS_17="#CCCCCC",SSSS_18="#C82C2C",SSSS_19="#DBEAF9",SSSS_20="#BCCEE5",SSSS_21="#A5BDDE",SSSS_22="#7CA0CF",SSSS_23="#F6F5F7",SSSS_24="#FF9999",SSSS_25="qx.theme.classic.Color",SSSS_26="#990000",SSSS_27="#F9F8E9",SSSS_28="#DCDFE4",SSSS_29="#FAFBFE",SSSS_30="#AAAAAA";qx.Theme.define(SSSS_25,{colors:{"background":SSSS_3,"background-light":SSSS_6,"background-focused":SSSS_12,"background-focused-inner":SSSS_19,"background-disabled":SSSS_15,"background-selected":SSSS_2,"background-field":SSSS_0,"background-pane":SSSS_29,"background-invalid":SSSS_14,"border-lead":SSSS_9,"border-light":SSSS_0,"border-light-shadow":SSSS_28,"border-dark-shadow":SSSS_4,"border-dark":SSSS_8,"border-main":SSSS_8,"border-focused-light":SSSS_20,"border-focused-light-shadow":SSSS_21,"border-focused-dark-shadow":SSSS_22,"border-focused-dark":SSSS_2,"border-separator":SSSS_16,"invalid":SSSS_26,"border-focused-invalid":SSSS_24,"text":SSSS_1,"text-disabled":SSSS_4,"text-selected":SSSS_0,"text-focused":SSSS_10,"text-placeholder":SSSS_13,"tooltip":SSSS_11,"tooltip-text":SSSS_1,"tooltip-invalid":SSSS_18,"button":SSSS_3,"button-hovered":SSSS_23,"button-abandoned":SSSS_27,"button-checked":SSSS_6,"window-active-caption-text":[255,255,255],"window-inactive-caption-text":[255,255,255],"window-active-caption":[51,94,168],"window-inactive-caption":[111,161,217],"date-chooser":SSSS_0,"date-chooser-title":[116,116,116],"date-chooser-selected":[52,52,52],"effect":[254,200,60],"table-pane":SSSS_0,"table-header":[242,242,242],"table-header-border":[214,213,217],"table-header-cell":[235,234,219],"table-header-cell-hover":[255,255,255],"table-focus-indicator":[179,217,255],"table-row-background-focused-selected":[90,138,211],"table-row-background-focused":[221,238,255],"table-row-background-selected":[51,94,168],"table-row-background-even":[250,248,243],"table-row-background-odd":[255,255,255],"table-row-selected":[255,255,255],"table-row":[0,0,0],"table-row-line":SSSS_5,"table-column-line":SSSS_5,"progressive-table-header":SSSS_30,"progressive-table-row-background-even":[250,248,243],"progressive-table-row-background-odd":[255,255,255],"progressive-progressbar-background":SSSS_7,"progressive-progressbar-indicator-done":SSSS_17,"progressive-progressbar-indicator-undone":SSSS_0,"progressive-progressbar-percent-background":SSSS_7,"progressive-progressbar-percent-text":SSSS_0}});})();(function(){var SSSS_0="px ",SSSS_1=" ",SSSS_2="Color",SSSS_3="Number",SSSS_4=";",SSSS_5="px",SSSS_6="qx.debug",SSSS_7="shorthand",SSSS_8="on",SSSS_9="innerWidthRight",SSSS_10="border-left:",SSSS_11='<div style="position:absolute;top:0;left:0;',SSSS_12="innerColorBottom",SSSS_13='</div>',SSSS_14='',SSSS_15="scale",SSSS_16="border-top",SSSS_17="innerWidthTop",SSSS_18="border-left",SSSS_19="innerColorRight",SSSS_20="innerColorTop",SSSS_21="innerColorLeft",SSSS_22="border-top:",SSSS_23="qx.ui.decoration.Double",SSSS_24="border-right:",SSSS_25="border-bottom",SSSS_26='">',SSSS_27="innerWidthBottom",SSSS_28="innerWidthLeft",SSSS_29="border-bottom:",SSSS_30="border-right";qx.Class.define(SSSS_23,{extend:qx.ui.decoration.Single,construct:function(width,style,color,innerWidth,innerColor){arguments.callee.base.call(this,width,style,color,innerWidth,innerColor);if(innerWidth!=null){this.setInnerWidth(innerWidth);}if(innerColor!=null){this.setInnerColor(innerColor);}},properties:{innerWidthTop:{check:SSSS_3,init:0},innerWidthRight:{check:SSSS_3,init:0},innerWidthBottom:{check:SSSS_3,init:0},innerWidthLeft:{check:SSSS_3,init:0},innerWidth:{group:[SSSS_17,SSSS_9,SSSS_27,SSSS_28],mode:SSSS_7},innerColorTop:{nullable:true,check:SSSS_2},innerColorRight:{nullable:true,check:SSSS_2},innerColorBottom:{nullable:true,check:SSSS_2},innerColorLeft:{nullable:true,check:SSSS_2},innerColor:{group:[SSSS_20,SSSS_19,SSSS_12,SSSS_21],mode:SSSS_7}},members:{__pU:null,_getDefaultInsets:function(){return {top:this.getWidthTop()+this.getInnerWidthTop(),right:this.getWidthRight()+this.getInnerWidthRight(),bottom:this.getWidthBottom()+this.getInnerWidthBottom(),left:this.getWidthLeft()+this.getInnerWidthLeft()};},_isInitialized:function(){return !!this.__pU;},getMarkup:function(){if(this.__pU){return this.__pU;}var Color=qx.theme.manager.Color.getInstance();var innerStyles={};var width=this.getInnerWidthTop();if(width>0){innerStyles[SSSS_16]=width+SSSS_0+this.getStyleTop()+SSSS_1+Color.resolve(this.getInnerColorTop());}var width=this.getInnerWidthRight();if(width>0){innerStyles[SSSS_30]=width+SSSS_0+this.getStyleRight()+SSSS_1+Color.resolve(this.getInnerColorRight());}var width=this.getInnerWidthBottom();if(width>0){innerStyles[SSSS_25]=width+SSSS_0+this.getStyleBottom()+SSSS_1+Color.resolve(this.getInnerColorBottom());}var width=this.getInnerWidthLeft();if(width>0){innerStyles[SSSS_18]=width+SSSS_0+this.getStyleLeft()+SSSS_1+Color.resolve(this.getInnerColorLeft());}if(qx.core.Variant.isSet(SSSS_6,SSSS_8)){if(innerStyles.length===0){throw new Error("Invalid Double decorator (zero inner border width). Use qx.ui.decoration.Single instead!");}}var innerHtml=this._generateBackgroundMarkup(innerStyles);var outerStyles=SSSS_14;var width=this.getWidthTop();if(width>0){outerStyles+=SSSS_22+width+SSSS_0+this.getStyleTop()+SSSS_1+Color.resolve(this.getColorTop())+SSSS_4;}var width=this.getWidthRight();if(width>0){outerStyles+=SSSS_24+width+SSSS_0+this.getStyleRight()+SSSS_1+Color.resolve(this.getColorRight())+SSSS_4;}var width=this.getWidthBottom();if(width>0){outerStyles+=SSSS_29+width+SSSS_0+this.getStyleBottom()+SSSS_1+Color.resolve(this.getColorBottom())+SSSS_4;}var width=this.getWidthLeft();if(width>0){outerStyles+=SSSS_10+width+SSSS_0+this.getStyleLeft()+SSSS_1+Color.resolve(this.getColorLeft())+SSSS_4;}if(qx.core.Variant.isSet(SSSS_6,SSSS_8)){if(outerStyles.length===0){throw new Error("Invalid Double decorator (zero outer border width). Use qx.ui.decoration.Single instead!");}}return this.__pU=SSSS_11+outerStyles+SSSS_26+innerHtml+SSSS_13;},resize:function(element,width,height){var scaledImage=this.getBackgroundImage()&&this.getBackgroundRepeat()==SSSS_15;if(scaledImage||qx.bom.client.Feature.CONTENT_BOX){var insets=this.getInsets();var innerWidth=width-insets.left-insets.right;var innerHeight=height-insets.top-insets.bottom;}else{var innerWidth=width-this.getWidthLeft()-this.getWidthRight();var innerHeight=height-this.getWidthTop()-this.getWidthBottom();}if(innerWidth<0){innerWidth=0;}if(innerHeight<0){innerHeight=0;}element.firstChild.style.width=innerWidth+SSSS_5;element.firstChild.style.height=innerHeight+SSSS_5;}},destruct:function(){this.__pU=null;}});})();(function(){var SSSS_0="border-dark-shadow",SSSS_1="border-light",SSSS_2="border-dark",SSSS_3="border-light-shadow",SSSS_4="solid",SSSS_5="gray",SSSS_6="border-focused-light",SSSS_7="border-focused-dark",SSSS_8="border-focused-light-shadow",SSSS_9="border-focused-dark-shadow",SSSS_10="table-header-border",SSSS_11="border-separator",SSSS_12="tooltip-text",SSSS_13="invalid",SSSS_14="white",SSSS_15="dotted",SSSS_16="effect",SSSS_17="table-focus-indicator",SSSS_18="border-focused-invalid",SSSS_19="qx/decoration/Classic",SSSS_20="border-lead",SSSS_21="decoration/shadow/shadow-small.png",SSSS_22="qx.theme.classic.Decoration",SSSS_23="decoration/shadow/shadow.png";qx.Theme.define(SSSS_22,{aliases:{decoration:SSSS_19},decorations:{"main":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:SSSS_2}},"inset":{decorator:qx.ui.decoration.Double,style:{width:1,innerWidth:1,color:[SSSS_0,SSSS_1,SSSS_1,SSSS_0],innerColor:[SSSS_2,SSSS_3,SSSS_3,SSSS_2]}},"outset":{decorator:qx.ui.decoration.Double,style:{width:1,innerWidth:1,color:[SSSS_3,SSSS_2,SSSS_2,SSSS_3],innerColor:[SSSS_1,SSSS_0,SSSS_0,SSSS_1]}},"groove":{decorator:qx.ui.decoration.Double,style:{width:1,innerWidth:1,color:[SSSS_0,SSSS_1,SSSS_1,SSSS_0],innerColor:[SSSS_1,SSSS_0,SSSS_0,SSSS_1]}},"ridge":{decorator:qx.ui.decoration.Double,style:{width:1,innerWidth:1,color:[SSSS_1,SSSS_0,SSSS_0,SSSS_1],innerColor:[SSSS_0,SSSS_1,SSSS_1,SSSS_0]}},"inset-thin":{decorator:qx.ui.decoration.Single,style:{width:1,color:[SSSS_0,SSSS_1,SSSS_1,SSSS_0]}},"outset-thin":{decorator:qx.ui.decoration.Single,style:{width:1,color:[SSSS_1,SSSS_0,SSSS_0,SSSS_1]}},"focused-inset":{decorator:qx.ui.decoration.Double,style:{width:1,innerWidth:1,color:[SSSS_9,SSSS_6,SSSS_6,SSSS_9],innerColor:[SSSS_7,SSSS_8,SSSS_8,SSSS_7]}},"focused-outset":{decorator:qx.ui.decoration.Double,style:{width:1,innerWidth:1,color:[SSSS_8,SSSS_7,SSSS_7,SSSS_8],innerColor:[SSSS_6,SSSS_9,SSSS_9,SSSS_6]}},"border-invalid":{decorator:qx.ui.decoration.Double,style:{width:1,innerWidth:1,color:[SSSS_0,SSSS_1,SSSS_1,SSSS_0],innerColor:SSSS_13}},"separator-horizontal":{decorator:qx.ui.decoration.Single,style:{widthLeft:1,colorLeft:SSSS_11}},"separator-vertical":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:SSSS_11}},"shadow":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_23,insets:[4,8,8,4]}},"shadow-small":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_21,insets:[0,3,3,0]}},"checkbox-invalid-shadow":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_13,innerColor:SSSS_18,insets:[0]}},"lead-item":{decorator:qx.ui.decoration.Uniform,style:{width:1,style:SSSS_15,color:SSSS_20}},"tooltip":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:SSSS_12}},"tooltip-error":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:SSSS_12}},"toolbar-separator":{decorator:qx.ui.decoration.Single,style:{widthLeft:1,colorLeft:SSSS_0}},"toolbar-part-handle":{decorator:qx.ui.decoration.Single,style:{width:1,style:SSSS_4,colorTop:SSSS_14,colorLeft:SSSS_14,colorRight:SSSS_0,colorBottom:SSSS_0}},"menu-separator":{decorator:qx.ui.decoration.Single,style:{widthTop:1,widthBottom:1,colorTop:SSSS_2,colorBottom:SSSS_1}},"datechooser-date-pane":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:SSSS_5,style:SSSS_4}},"datechooser-weekday":{decorator:qx.ui.decoration.Single,style:{widthBottom:1,colorBottom:SSSS_5,style:SSSS_4}},"datechooser-week":{decorator:qx.ui.decoration.Single,style:{widthRight:1,colorRight:SSSS_5,style:SSSS_4}},"datechooser-week-header":{decorator:qx.ui.decoration.Single,style:{widthBottom:1,colorBottom:SSSS_5,widthRight:1,colorRight:SSSS_5,style:SSSS_4}},"tabview-page-button-top":{decorator:qx.ui.decoration.Double,style:{width:1,color:[SSSS_3,SSSS_2,SSSS_2,SSSS_3],innerWidth:1,innerColor:[SSSS_1,SSSS_0,SSSS_0,SSSS_1],widthBottom:0,innerWidthBottom:0}},"tabview-page-button-bottom":{decorator:qx.ui.decoration.Double,style:{width:1,color:[SSSS_3,SSSS_2,SSSS_2,SSSS_3],innerWidth:1,innerColor:[SSSS_1,SSSS_0,SSSS_0,SSSS_1],widthTop:0,innerWidthTop:0}},"tabview-page-button-left":{decorator:qx.ui.decoration.Double,style:{width:1,color:[SSSS_3,SSSS_2,SSSS_2,SSSS_3],innerWidth:1,innerColor:[SSSS_1,SSSS_0,SSSS_0,SSSS_1],widthRight:0,innerWidthRight:0}},"tabview-page-button-right":{decorator:qx.ui.decoration.Double,style:{width:1,color:[SSSS_3,SSSS_2,SSSS_2,SSSS_3],innerWidth:1,innerColor:[SSSS_1,SSSS_0,SSSS_0,SSSS_1],widthLeft:0,innerWidthLeft:0}},"table-statusbar":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:SSSS_0,styleTop:SSSS_4}},"table-scroller-header":{decorator:qx.ui.decoration.Single,style:{widthBottom:1,colorBottom:SSSS_10,styleBottom:SSSS_4}},"table-scroller-focus-indicator":{decorator:qx.ui.decoration.Single,style:{width:2,color:SSSS_17,style:SSSS_4}},"table-header-cell":{decorator:qx.ui.decoration.Single,style:{widthRight:1,colorRight:SSSS_10,styleRight:SSSS_4}},"table-header-cell-hovered":{decorator:qx.ui.decoration.Single,style:{widthRight:1,colorRight:SSSS_10,styleRight:SSSS_4,widthBottom:2,colorBottom:SSSS_16,styleBottom:SSSS_4}}}});})();(function(){var SSSS_0="Liberation Sans",SSSS_1="Verdana",SSSS_2="Bitstream Vera Sans",SSSS_3="Lucida Grande",SSSS_4="Tahoma",SSSS_5="monospace",SSSS_6="qx.theme.classic.Font",SSSS_7="Courier New",SSSS_8="DejaVu Sans Mono";qx.Theme.define(SSSS_6,{fonts:{"default":{size:11,lineHeight:1.4,family:[SSSS_3,SSSS_4,SSSS_1,SSSS_2,SSSS_0]},"bold":{size:11,lineHeight:1.4,family:[SSSS_3,SSSS_4,SSSS_1,SSSS_2,SSSS_0],bold:true},"small":{size:10,lineHeight:1.4,family:[SSSS_3,SSSS_4,SSSS_1,SSSS_2,SSSS_0]},"monospace":{size:11,lineHeight:1.4,family:[SSSS_8,SSSS_7,SSSS_5]}}});})();(function(){var SSSS_0="button",SSSS_1="widget",SSSS_2="background",SSSS_3="atom",SSSS_4="inset-thin",SSSS_5="outset",SSSS_6="text-disabled",SSSS_7="text-selected",SSSS_8="inset",SSSS_9="groupbox",SSSS_10="cell",SSSS_11="focused-inset",SSSS_12="tooltip",SSSS_13="image",SSSS_14="menu-button",SSSS_15="middle",SSSS_16="decoration/arrows/down.gif",SSSS_17="spinner",SSSS_18="background-selected",SSSS_19="list",SSSS_20="button-hovered",SSSS_21="checkbox",SSSS_22="toolbar-button",SSSS_23="button-frame",SSSS_24="popup",SSSS_25="textfield",SSSS_26="label",SSSS_27="background-invalid",SSSS_28="background-disabled",SSSS_29="bold",SSSS_30="white",SSSS_31="shadow-small",SSSS_32="invalid",SSSS_33="scrollbar",SSSS_34="center",SSSS_35="datechooser/button",SSSS_36="button-abandoned",SSSS_37="background-light",SSSS_38="main",SSSS_39="date-chooser",SSSS_40="date-chooser-title",SSSS_41="radiobutton",SSSS_42="default",SSSS_43="combobox",SSSS_44="background-field",SSSS_45="outset-thin",SSSS_46="menu-slidebar-button",SSSS_47="scrollbar/button",SSSS_48="combobox/button",SSSS_49="table-header-cell",SSSS_50="decoration/arrows/right.gif",SSSS_51="decoration/arrows/up.gif",SSSS_52="text",SSSS_53="decoration/arrows/down-small.gif",SSSS_54="icon/16/places/folder.png",SSSS_55="tree-folder",SSSS_56="slidebar/button-forward",SSSS_57="icon/16/mimetypes/text-plain.png",SSSS_58="right-top",SSSS_59="button-checked",SSSS_60=".png",SSSS_61="background-focused",SSSS_62="datechooser",SSSS_63="slidebar/button-backward",SSSS_64="selectbox",SSSS_65="treevirtual-folder",SSSS_66="decoration/form/",SSSS_67="decoration/tree/minus.gif",SSSS_68="",SSSS_69="decoration/tree/plus.gif",SSSS_70="-invalid",SSSS_71="decoration/arrows/left.gif",SSSS_72="icon/16/places/folder-open.png",SSSS_73="table-row-background-even",SSSS_74="decoration/treevirtual/cross_minus.gif",SSSS_75="radiobutton-hovered",SSSS_76="decoration/treevirtual/start_plus.gif",SSSS_77="decoration/cursors/",SSSS_78="icon/16/actions/dialog-ok.png",SSSS_79="slidebar",SSSS_80="table-scroller-focus-indicator",SSSS_81="move-frame",SSSS_82="nodrop",SSSS_83="tabview-page-button-left",SSSS_84="decoration/arrows/up-small.gif",SSSS_85="move",SSSS_86="radiobutton-checked-focused",SSSS_87="qx.theme.classic.Appearance",SSSS_88="decoration/menu/checkbox.gif",SSSS_89="tooltip-error",SSSS_90="right",SSSS_91="decoration/arrows/rewind.gif",SSSS_92="table-scroller-header",SSSS_93="radiobutton-disabled",SSSS_94="table-pane",SSSS_95="focused-outset",SSSS_96="checkbox-hovered",SSSS_97="icon/16/actions/dialog-cancel.png",SSSS_98="menu-slidebar",SSSS_99="datechooser-date-pane",SSSS_100="background-pane",SSSS_101="decoration/treevirtual/cross_plus.gif",SSSS_102="qx/icon/Oxygen/16/actions/window-close.png",SSSS_103="datechooser-week",SSSS_104="icon/16/apps/office-calendar.png",SSSS_105="datechooser-weekday",SSSS_106="table-header-border",SSSS_107="table-header-cell-hover",SSSS_108="window-active-caption-text",SSSS_109="window-active-caption",SSSS_110="icon",SSSS_111="checkbox-checked-focused",SSSS_112="toolbar-separator",SSSS_113="groove",SSSS_114="checkbox-pressed",SSSS_115="tooltip-invalid",SSSS_116="decoration/window/restore.gif",SSSS_117="decoration/menu/checkbox-invert.gif",SSSS_118="scrollarea",SSSS_119="window-inactive-caption-text",SSSS_120="best-fit",SSSS_121="up.gif",SSSS_122="keep-align",SSSS_123="tabview-page-button-right",SSSS_124="checkbox-disabled",SSSS_125="tabview-page-button-top",SSSS_126="tabview-page-button-bottom",SSSS_127="row-layer",SSSS_128="decoration/menu/radiobutton.gif",SSSS_129="decoration/arrows/",SSSS_130="decoration/table/descending.png",SSSS_131="tooltip-text",SSSS_132="checkbox-checked-hovered",SSSS_133="left.gif",SSSS_134="decoration/arrows/up-invert.gif",SSSS_135="alias",SSSS_136="checkbox-checked-disabled",SSSS_137="decoration/arrows/right-invert.gif",SSSS_138="radiobutton-checked-disabled",SSSS_139="lead-item",SSSS_140="checkbox-focused",SSSS_141="border-dark",SSSS_142="decoration/treevirtual/end_plus.gif",SSSS_143="decoration/treevirtual/start_minus.gif",SSSS_144="radiobutton-checked-hovered",SSSS_145="decoration/window/minimize.gif",SSSS_146="checkbox-checked",SSSS_147="table-header-cell-hovered",SSSS_148="down.gif",SSSS_149="decoration/treevirtual/end.gif",SSSS_150="decoration/treevirtual/end_minus.gif",SSSS_151="window-inactive-caption",SSSS_152="decoration/menu/radiobutton-invert.gif",SSSS_153="text-placeholder",SSSS_154="slider",SSSS_155="decoration/table/select-column-order.png",SSSS_156="decoration/arrows/next.gif",SSSS_157="table-header",SSSS_158="decoration/treevirtual/only_minus.gif",SSSS_159="datechooser-week-header",SSSS_160="decoration/window/maximize.gif",SSSS_161="decoration/treevirtual/only_plus.gif",SSSS_162="checkbox-checked-pressed",SSSS_163="decoration/arrows/down-invert.gif",SSSS_164="menu-separator",SSSS_165="decoration/splitpane/knob-vertical.png",SSSS_166=".gif",SSSS_167="decoration/arrows/forward.gif",SSSS_168="radiobutton-checked-pressed",SSSS_169="table-statusbar",SSSS_170="radiobutton-pressed",SSSS_171="copy",SSSS_172="table-row-background-selected",SSSS_173="radiobutton-focused",SSSS_174="decoration/splitpane/knob-horizontal.png",SSSS_175="right.gif",SSSS_176="radiobutton-checked",SSSS_177="decoration/treevirtual/cross.gif",SSSS_178="decoration/table/ascending.png",SSSS_179="decoration/treevirtual/line.gif",SSSS_180="date-chooser-selected",SSSS_181="toolbar-part-handle",SSSS_182="decoration/window/close.gif",SSSS_183="icon/16/actions/view-refresh.png";qx.Theme.define(SSSS_87,{appearances:{"widget":{},"label":{style:function(states){return {textColor:states.disabled?SSSS_6:undefined};}},"image":{style:function(states){return {opacity:!states.replacement&&states.disabled?0.3:undefined};}},"atom":{},"atom/label":SSSS_26,"atom/icon":SSSS_13,"root":{style:function(states){return {backgroundColor:SSSS_2,textColor:SSSS_52,font:SSSS_42};}},"popup":{style:function(states){return {decorator:SSSS_38,backgroundColor:SSSS_100,shadow:SSSS_31};}},"tooltip":{include:SSSS_24,style:function(states){return {backgroundColor:SSSS_12,textColor:SSSS_131,decorator:SSSS_12,shadow:SSSS_31,padding:[1,3,2,3],offset:[15,5,5,5]};}},"tooltip/atom":SSSS_3,"tooltip-error":{include:SSSS_12,style:function(states){return {textColor:SSSS_7,showTimeout:100,hideTimeout:10000,decorator:SSSS_89,font:SSSS_29,backgroundColor:SSSS_115};}},"tooltip-error/atom":SSSS_3,"iframe":{style:function(states){return {backgroundColor:SSSS_30,decorator:SSSS_8};}},"move-frame":{style:function(states){return {decorator:SSSS_38};}},"resize-frame":SSSS_81,"dragdrop-cursor":{style:function(states){var icon=SSSS_82;if(states.copy){icon=SSSS_171;}else if(states.move){icon=SSSS_85;}else if(states.alias){icon=SSSS_135;}return {source:SSSS_77+icon+SSSS_166,position:SSSS_58,offset:[2,16,2,6]};}},"button-frame":{alias:SSSS_3,style:function(states){if(states.pressed||states.abandoned||states.checked){var decorator=!states.inner&&states.focused?SSSS_11:SSSS_8;var padding=[4,3,2,5];}else{var decorator=!states.inner&&states.focused?SSSS_95:SSSS_5;var padding=[3,4];}return {backgroundColor:states.abandoned?SSSS_36:states.hovered?SSSS_20:states.checked?SSSS_59:SSSS_0,decorator:decorator,padding:padding};}},"button":{alias:SSSS_23,include:SSSS_23,style:function(states){return {center:true};}},"hover-button":{alias:SSSS_3,include:SSSS_3,style:function(states){return {backgroundColor:states.hovered?SSSS_18:undefined,textColor:states.hovered?SSSS_7:undefined};}},"splitbutton":{},"splitbutton/button":SSSS_0,"splitbutton/arrow":{alias:SSSS_0,include:SSSS_0,style:function(states){return {icon:SSSS_16};}},"scrollarea/corner":{style:function(){return {backgroundColor:SSSS_2};}},"scrollarea":SSSS_1,"scrollarea/pane":SSSS_1,"scrollarea/scrollbar-x":SSSS_33,"scrollarea/scrollbar-y":SSSS_33,"list":{alias:SSSS_118,style:function(states){var backgroundColor;var focused=!!states.focused;var invalid=!!states.invalid;var disabled=!!states.disabled;if(invalid&&!disabled){backgroundColor=SSSS_27;}else if(focused&&!invalid&&!disabled){backgroundColor=SSSS_61;}else if(disabled){backgroundColor=SSSS_28;}else{backgroundColor=SSSS_30;}return {decorator:states.focused?SSSS_11:SSSS_8,backgroundColor:backgroundColor};}},"listitem":{alias:SSSS_3,style:function(states){return {gap:4,padding:states.lead?[2,4]:[3,5],backgroundColor:states.selected?SSSS_18:undefined,textColor:states.selected?SSSS_7:undefined,decorator:states.lead?SSSS_139:undefined};}},"textfield":{style:function(states){var backgroundColor;var focused=!!states.focused;var invalid=!!states.invalid;var disabled=!!states.disabled;if(invalid&&!disabled){backgroundColor=SSSS_27;}else if(focused&&!invalid&&!disabled){backgroundColor=SSSS_61;}else if(disabled){backgroundColor=SSSS_28;}else{backgroundColor=SSSS_44;}var textColor;if(states.disabled){textColor=SSSS_6;}else if(states.showingPlaceholder){textColor=SSSS_153;}else{textColor=undefined;}return {decorator:states.focused?SSSS_11:SSSS_8,padding:[2,3],textColor:textColor,backgroundColor:backgroundColor};}},"textarea":SSSS_25,"checkbox":{alias:SSSS_3,style:function(states){var icon;if(states.checked&&states.focused){icon=SSSS_111;}else if(states.checked&&states.disabled){icon=SSSS_136;}else if(states.checked&&states.pressed){icon=SSSS_162;}else if(states.checked&&states.hovered){icon=SSSS_132;}else if(states.checked){icon=SSSS_146;}else if(states.disabled){icon=SSSS_124;}else if(states.focused){icon=SSSS_140;}else if(states.pressed){icon=SSSS_114;}else if(states.hovered){icon=SSSS_96;}else{icon=SSSS_21;}var invalid=states.invalid&&!states.disabled?SSSS_70:SSSS_68;return {icon:SSSS_66+icon+invalid+SSSS_60,gap:6};}},"radiobutton":{alias:SSSS_21,include:SSSS_21,style:function(states){var icon;if(states.checked&&states.focused){icon=SSSS_86;}else if(states.checked&&states.disabled){icon=SSSS_138;}else if(states.checked&&states.pressed){icon=SSSS_168;}else if(states.checked&&states.hovered){icon=SSSS_144;}else if(states.checked){icon=SSSS_176;}else if(states.disabled){icon=SSSS_93;}else if(states.focused){icon=SSSS_173;}else if(states.pressed){icon=SSSS_170;}else if(states.hovered){icon=SSSS_75;}else{icon=SSSS_41;}var invalid=states.invalid&&!states.disabled?SSSS_70:SSSS_68;return {icon:SSSS_66+icon+invalid+SSSS_60,shadow:undefined};}},"spinner":{style:function(states){return {decorator:states.focused?SSSS_11:SSSS_8,textColor:states.disabled?SSSS_6:undefined};}},"spinner/textfield":{include:SSSS_25,style:function(states){return {decorator:undefined,padding:[2,3]};}},"spinner/upbutton":{alias:SSSS_0,include:SSSS_0,style:function(states){return {icon:SSSS_84,padding:states.pressed?[2,2,0,4]:[1,3,1,3],backgroundColor:states.hovered?SSSS_20:SSSS_0};}},"spinner/downbutton":{alias:SSSS_0,include:SSSS_0,style:function(states){return {icon:SSSS_53,padding:states.pressed?[2,2,0,4]:[1,3,1,3],backgroundColor:states.hovered?SSSS_20:SSSS_0};}},"datefield":SSSS_43,"datefield/button":{alias:SSSS_48,include:SSSS_48,style:function(states){return {icon:SSSS_104,padding:[0,3],backgroundColor:undefined,decorator:undefined};}},"datefield/list":{alias:SSSS_62,include:SSSS_62,style:function(states){return {decorator:states.focused?SSSS_11:SSSS_8};}},"groupbox":{style:function(states){return {backgroundColor:SSSS_2};}},"groupbox/legend":{alias:SSSS_3,style:function(states){return {backgroundColor:SSSS_2,textColor:states.invalid?SSSS_32:undefined,paddingRight:4,paddingLeft:4,marginRight:10,marginLeft:10};}},"groupbox/frame":{style:function(states){return {padding:[12,9],decorator:SSSS_113};}},"check-groupbox":SSSS_9,"check-groupbox/legend":{alias:SSSS_21,include:SSSS_21,style:function(states){return {backgroundColor:SSSS_2,textColor:states.invalid?SSSS_32:undefined,paddingRight:3,paddingLeft:3,marginRight:10,marginLeft:10};}},"radio-groupbox":SSSS_9,"radio-groupbox/legend":{alias:SSSS_41,include:SSSS_41,style:function(states){return {backgroundColor:SSSS_2,textColor:states.invalid?SSSS_32:undefined,paddingRight:3,paddingLeft:3,marginRight:10,marginLeft:10};}},"toolbar":{style:function(states){return {backgroundColor:SSSS_2};}},"toolbar/part":{},"toolbar/part/container":{},"toolbar/part/handle":{style:function(states){return {decorator:SSSS_181,backgroundColor:SSSS_2,padding:[0,1],margin:[3,2],allowGrowY:true};}},"toolbar-separator":{style:function(states){return {margin:[3,2],decorator:SSSS_112};}},"toolbar-button":{alias:SSSS_3,style:function(states){if(states.pressed||states.checked||states.abandoned){var border=SSSS_4;var padding=[3,2,1,4];}else if(states.hovered){var border=SSSS_45;var padding=[2,3];}else{var border=undefined;var padding=[3,4];}return {cursor:SSSS_42,decorator:border,padding:padding,backgroundColor:states.abandoned?SSSS_36:states.checked?SSSS_37:SSSS_0};}},"toolbar-menubutton":{alias:SSSS_22,include:SSSS_22,style:function(states){return {showArrow:true};}},"toolbar-menubutton/arrow":{alias:SSSS_13,include:SSSS_13,style:function(states){return {source:SSSS_53};}},"toolbar-splitbutton":{},"toolbar-splitbutton/button":SSSS_22,"toolbar-splitbutton/arrow":{alias:SSSS_22,include:SSSS_22,style:function(states){return {icon:SSSS_16};}},"slidebar":{},"slidebar/scrollpane":{},"slidebar/content":{},"slidebar/button-forward":{alias:SSSS_0,include:SSSS_0,style:function(states){return {icon:states.vertical?SSSS_16:SSSS_156};}},"slidebar/button-backward":{alias:SSSS_0,include:SSSS_0,style:function(states){return {icon:states.vertical?SSSS_51:SSSS_71};}},"tabview":{},"tabview/bar":{alias:SSSS_79,style:function(states){var marginTop=0,marginRight=0,marginBottom=0,marginLeft=0;if(states.barTop){marginBottom=-2;}else if(states.barBottom){marginTop=-2;}else if(states.barRight){marginLeft=-2;}else{marginRight=-2;}return {marginBottom:marginBottom,marginTop:marginTop,marginLeft:marginLeft,marginRight:marginRight};}},"tabview/bar/button-forward":{include:SSSS_56,alias:SSSS_56,style:function(states){if(states.barTop||states.barBottom){return {marginTop:2,marginBottom:2};}else{return {marginLeft:2,marginRight:2};}}},"tabview/bar/button-backward":{include:SSSS_63,alias:SSSS_63,style:function(states){if(states.barTop||states.barBottom){return {marginTop:2,marginBottom:2};}else{return {marginLeft:2,marginRight:2};}}},"tabview/pane":{style:function(states){return {backgroundColor:SSSS_2,decorator:SSSS_5,padding:10};}},"tabview-page":SSSS_1,"tabview-page/button":{style:function(states){var decorator;var marginTop=0,marginRight=0,marginBottom=0,marginLeft=0;if(states.barTop||states.barBottom){var paddingTop=2,paddingBottom=2,paddingLeft=6,paddingRight=6;}else{var paddingTop=6,paddingBottom=6,paddingLeft=6,paddingRight=6;}if(states.barTop){decorator=SSSS_125;}else if(states.barRight){decorator=SSSS_123;}else if(states.barBottom){decorator=SSSS_126;}else{decorator=SSSS_83;}if(states.checked){if(states.barTop||states.barBottom){paddingLeft+=2;paddingRight+=2;}else{paddingTop+=2;paddingBottom+=2;}}else{if(states.barTop||states.barBottom){marginBottom+=2;marginTop+=2;}else if(states.barLeft||states.barRight){marginRight+=2;marginLeft+=2;}}if(states.checked){if(!states.firstTab){if(states.barTop||states.barBottom){marginLeft=-4;}else{marginTop=-4;}}if(!states.lastTab){if(states.barTop||states.barBottom){marginRight=-4;}else{marginBottom=-4;}}}return {zIndex:states.checked?10:5,decorator:decorator,backgroundColor:SSSS_2,padding:[paddingTop,paddingRight,paddingBottom,paddingLeft],margin:[marginTop,marginRight,marginBottom,marginLeft]};}},"tabview-page/button/label":SSSS_26,"tabview-page/button/icon":SSSS_13,"tabview-page/button/close-button":{alias:SSSS_3,style:function(states){return {icon:SSSS_102};}},"scrollbar":{},"scrollbar/slider":{alias:SSSS_154,style:function(states){return {backgroundColor:SSSS_37};}},"scrollbar/slider/knob":{include:SSSS_23,style:function(states){return {height:14,width:14,minHeight:states.horizontal?undefined:9,minWidth:states.horizontal?9:undefined};}},"scrollbar/button":{alias:SSSS_0,include:SSSS_0,style:function(states){var padding;if(states.up||states.down){if(states.pressed||states.abandoned||states.checked){padding=[5,2,3,4];}else{padding=[4,3];}}else{if(states.pressed||states.abandoned||states.checked){padding=[4,3,2,5];}else{padding=[3,4];}}var icon=SSSS_129;if(states.left){icon+=SSSS_133;}else if(states.right){icon+=SSSS_175;}else if(states.up){icon+=SSSS_121;}else{icon+=SSSS_148;}return {padding:padding,icon:icon};}},"scrollbar/button-begin":SSSS_47,"scrollbar/button-end":SSSS_47,"slider":{style:function(states){var backgroundColor;if(states.disabled){backgroundColor=SSSS_28;}else if(states.invalid){backgroundColor=SSSS_27;}else if(states.focused){backgroundColor=SSSS_37;}else{backgroundColor=SSSS_44;}return {backgroundColor:backgroundColor,decorator:states.focused?SSSS_11:SSSS_8};}},"slider/knob":{include:SSSS_23,style:function(states){return {width:14,height:14,decorator:SSSS_5};}},"tree-folder/open":{style:function(states){return {source:states.opened?SSSS_67:SSSS_69};}},"tree-folder":{style:function(states){return {padding:[2,3,2,0],icon:states.opened?SSSS_72:SSSS_54};}},"tree-folder/icon":{style:function(states){return {padding:[0,4,0,0]};}},"tree-folder/label":{style:function(states){return {padding:[1,2],backgroundColor:states.selected?SSSS_18:undefined,textColor:states.selected?SSSS_7:undefined};}},"tree-file":{include:SSSS_55,alias:SSSS_55,style:function(states){return {icon:SSSS_57};}},"tree":{include:SSSS_19,alias:SSSS_19,style:function(states){return {contentPadding:[4,4,4,4]};}},"treevirtual":{style:function(states){return {decorator:SSSS_38};}},"treevirtual-folder":{style:function(states){return {icon:(states.opened?SSSS_72:SSSS_54)};}},"treevirtual-file":{include:SSSS_65,alias:SSSS_65,style:function(states){return {icon:SSSS_57};}},"treevirtual-line":{style:function(states){return {icon:SSSS_179};}},"treevirtual-contract":{style:function(states){return {icon:SSSS_67};}},"treevirtual-expand":{style:function(states){return {icon:SSSS_69};}},"treevirtual-only-contract":{style:function(states){return {icon:SSSS_158};}},"treevirtual-only-expand":{style:function(states){return {icon:SSSS_161};}},"treevirtual-start-contract":{style:function(states){return {icon:SSSS_143};}},"treevirtual-start-expand":{style:function(states){return {icon:SSSS_76};}},"treevirtual-end-contract":{style:function(states){return {icon:SSSS_150};}},"treevirtual-end-expand":{style:function(states){return {icon:SSSS_142};}},"treevirtual-cross-contract":{style:function(states){return {icon:SSSS_74};}},"treevirtual-cross-expand":{style:function(states){return {icon:SSSS_101};}},"treevirtual-end":{style:function(states){return {icon:SSSS_149};}},"treevirtual-cross":{style:function(states){return {icon:SSSS_177};}},"window":{style:function(states){return {contentPadding:[10,10,10,10],backgroundColor:SSSS_2,decorator:states.maximized?undefined:SSSS_5,shadow:states.maximized?undefined:SSSS_31};}},"window/pane":{},"window/captionbar":{style:function(states){return {padding:1,backgroundColor:states.active?SSSS_109:SSSS_151,textColor:states.active?SSSS_108:SSSS_119};}},"window/icon":{style:function(states){return {marginRight:4};}},"window/title":{style:function(states){return {cursor:SSSS_42,font:SSSS_29,marginRight:20,alignY:SSSS_15};}},"window/minimize-button":{include:SSSS_0,alias:SSSS_0,style:function(states){return {icon:SSSS_145,padding:states.pressed||states.abandoned?[2,1,0,3]:[1,2]};}},"window/restore-button":{include:SSSS_0,alias:SSSS_0,style:function(states){return {icon:SSSS_116,padding:states.pressed||states.abandoned?[2,1,0,3]:[1,2]};}},"window/maximize-button":{include:SSSS_0,alias:SSSS_0,style:function(states){return {icon:SSSS_160,padding:states.pressed||states.abandoned?[2,1,0,3]:[1,2]};}},"window/close-button":{include:SSSS_0,alias:SSSS_0,style:function(states){return {marginLeft:2,icon:SSSS_182,padding:states.pressed||states.abandoned?[2,1,0,3]:[1,2]};}},"window/statusbar":{style:function(states){return {decorator:SSSS_4,padding:[2,6]};}},"window/statusbar-text":SSSS_26,"resizer":{style:function(states){return {decorator:SSSS_5};}},"splitpane":{},"splitpane/splitter":{style:function(states){return {backgroundColor:SSSS_2};}},"splitpane/splitter/knob":{style:function(states){return {source:states.horizontal?SSSS_174:SSSS_165,padding:2};}},"splitpane/slider":{style:function(states){return {backgroundColor:SSSS_141,opacity:0.3};}},"selectbox":{include:SSSS_23,style:function(states){var background=SSSS_0;if(states.invalid&&!states.disabled){background=SSSS_27;}else if(states.abandoned){background=SSSS_36;}else if(!states.abandoned&&states.hovered){background=SSSS_20;}else if(!states.abandoned&&!states.hovered&&states.checked){background=SSSS_59;}return {backgroundColor:background};}},"selectbox/atom":SSSS_3,"selectbox/popup":SSSS_24,"selectbox/list":SSSS_19,"selectbox/arrow":{style:function(states){return {source:SSSS_16,paddingRight:4,paddingLeft:5};}},"datechooser":{style:function(states){return {decorator:SSSS_5};}},"datechooser/navigation-bar":{style:function(states){return {backgroundColor:SSSS_39,textColor:states.disabled?SSSS_6:states.invalid?SSSS_32:undefined,padding:[2,10]};}},"datechooser/last-year-button-tooltip":SSSS_12,"datechooser/last-month-button-tooltip":SSSS_12,"datechooser/next-year-button-tooltip":SSSS_12,"datechooser/next-month-button-tooltip":SSSS_12,"datechooser/last-year-button":SSSS_35,"datechooser/last-month-button":SSSS_35,"datechooser/next-year-button":SSSS_35,"datechooser/next-month-button":SSSS_35,"datechooser/button/icon":{},"datechooser/button":{style:function(states){var result={width:17,show:SSSS_110};if(states.lastYear){result.icon=SSSS_91;}else if(states.lastMonth){result.icon=SSSS_71;}else if(states.nextYear){result.icon=SSSS_167;}else if(states.nextMonth){result.icon=SSSS_50;}if(states.pressed||states.checked||states.abandoned){result.decorator=SSSS_4;}else if(states.hovered){result.decorator=SSSS_45;}else{result.decorator=undefined;}if(states.pressed||states.checked||states.abandoned){result.padding=[2,0,0,2];}else if(states.hovered){result.padding=1;}else{result.padding=2;}return result;}},"datechooser/month-year-label":{style:function(states){return {font:SSSS_29,textAlign:SSSS_34};}},"datechooser/date-pane":{style:function(states){return {decorator:SSSS_99,backgroundColor:SSSS_39};}},"datechooser/weekday":{style:function(states){return {decorator:SSSS_105,font:SSSS_29,textAlign:SSSS_34,textColor:states.disabled?SSSS_6:states.weekend?SSSS_40:SSSS_39,backgroundColor:states.weekend?SSSS_39:SSSS_40};}},"datechooser/day":{style:function(states){return {textAlign:SSSS_34,decorator:states.today?SSSS_38:undefined,textColor:states.disabled?SSSS_6:states.selected?SSSS_7:states.otherMonth?SSSS_6:undefined,backgroundColor:states.disabled?undefined:states.selected?SSSS_180:undefined,padding:[2,4]};}},"datechooser/week":{style:function(states){return {textAlign:SSSS_34,textColor:SSSS_40,padding:[2,4],decorator:states.header?SSSS_159:SSSS_103};}},"combobox":{style:function(states){var backgroundColor;if(states.disabled){backgroundColor=SSSS_28;}else if(states.invalid){backgroundColor=SSSS_27;}else if(states.focused){backgroundColor=SSSS_37;}else{backgroundColor=SSSS_44;}return {decorator:states.focused?SSSS_11:SSSS_8,textColor:states.disabled?SSSS_6:undefined,backgroundColor:backgroundColor};}},"combobox/button":{alias:SSSS_0,include:SSSS_0,style:function(states){return {icon:SSSS_16,backgroundColor:states.hovered?SSSS_20:SSSS_0};}},"combobox/popup":SSSS_24,"combobox/list":SSSS_19,"combobox/textfield":{include:SSSS_25,style:function(states){return {decorator:undefined,padding:[2,3],backgroundColor:undefined};}},"menu":{style:function(states){var result={backgroundColor:SSSS_2,shadow:SSSS_31,decorator:SSSS_5,spacingX:6,spacingY:1,iconColumnWidth:16,arrowColumnWidth:4,padding:1,placementModeY:states.submenu||states.contextmenu?SSSS_120:SSSS_122};if(states.submenu){result.position=SSSS_58;result.offset=[-2,-3];}if(states.contextmenu){result.offset=4;}return result;}},"menu/slidebar":SSSS_98,"menu-slidebar":SSSS_1,"menu-slidebar-button":{style:function(states){return {backgroundColor:states.hovered?SSSS_18:undefined,padding:6,center:true};}},"menu-slidebar/button-backward":{include:SSSS_46,style:function(states){return {icon:states.hovered?SSSS_134:SSSS_51};}},"menu-slidebar/button-forward":{include:SSSS_46,style:function(states){return {icon:states.hovered?SSSS_163:SSSS_16};}},"menu-separator":{style:function(states){return {height:0,decorator:SSSS_164,marginTop:4,marginBottom:4,marginLeft:2,marginRight:2};}},"menu-button":{alias:SSSS_3,style:function(states){return {backgroundColor:states.selected?SSSS_18:undefined,textColor:states.selected?SSSS_7:undefined,padding:[2,6]};}},"menu-button/icon":{include:SSSS_13,style:function(states){return {alignY:SSSS_15};}},"menu-button/label":{include:SSSS_26,style:function(states){return {alignY:SSSS_15,padding:1};}},"menu-button/shortcut":{include:SSSS_26,style:function(states){return {alignY:SSSS_15,marginLeft:14,padding:1};}},"menu-button/arrow":{include:SSSS_13,style:function(states){return {source:states.selected?SSSS_137:SSSS_50,alignY:SSSS_15};}},"menu-checkbox":{alias:SSSS_14,include:SSSS_14,style:function(states){return {icon:!states.checked?undefined:states.selected?SSSS_117:SSSS_88};}},"menu-radiobutton":{alias:SSSS_14,include:SSSS_14,style:function(states){return {icon:!states.checked?undefined:states.selected?SSSS_152:SSSS_128};}},"menubar":{style:function(states){return {backgroundColor:SSSS_2,decorator:SSSS_5};}},"menubar-button":{alias:SSSS_3,style:function(states){return {padding:[2,6],backgroundColor:states.pressed||states.hovered?SSSS_18:undefined,textColor:states.pressed||states.hovered?SSSS_7:undefined};}},"colorselector":SSSS_1,"colorselector/control-bar":SSSS_1,"colorselector/visual-pane":SSSS_9,"colorselector/control-pane":SSSS_1,"colorselector/preset-grid":SSSS_1,"colorselector/colorbucket":{style:function(states){return {decorator:SSSS_4,width:16,height:16};}},"colorselector/preset-field-set":SSSS_9,"colorselector/input-field-set":SSSS_9,"colorselector/preview-field-set":SSSS_9,"colorselector/hex-field-composite":SSSS_1,"colorselector/hex-field":SSSS_25,"colorselector/rgb-spinner-composite":SSSS_1,"colorselector/rgb-spinner-red":SSSS_17,"colorselector/rgb-spinner-green":SSSS_17,"colorselector/rgb-spinner-blue":SSSS_17,"colorselector/hsb-spinner-composite":SSSS_1,"colorselector/hsb-spinner-hue":SSSS_17,"colorselector/hsb-spinner-saturation":SSSS_17,"colorselector/hsb-spinner-brightness":SSSS_17,"colorselector/preview-content-old":{style:function(states){return {decorator:SSSS_4,width:50,height:10};}},"colorselector/preview-content-new":{style:function(states){return {decorator:SSSS_4,backgroundColor:SSSS_30,width:50,height:10};}},"colorselector/hue-saturation-field":{style:function(states){return {decorator:SSSS_4,margin:5};}},"colorselector/brightness-field":{style:function(states){return {decorator:SSSS_4,margin:[5,7]};}},"colorselector/hue-saturation-pane":SSSS_1,"colorselector/hue-saturation-handle":SSSS_1,"colorselector/brightness-pane":SSSS_1,"colorselector/brightness-handle":SSSS_1,"table":SSSS_1,"table/statusbar":{style:function(states){return {decorator:SSSS_169,paddingLeft:2,paddingRight:2};}},"table/column-button":{alias:SSSS_0,style:function(states){var border,padding;if(states.pressed||states.checked||states.abandoned){border=SSSS_4;padding=[3,2,1,4];}else if(states.hovered){border=SSSS_45;padding=[2,3];}else{border=undefined;padding=[3,4];}return {decorator:border,padding:padding,backgroundColor:states.abandoned?SSSS_36:SSSS_0,icon:SSSS_155};}},"table-column-reset-button":{extend:SSSS_14,alias:SSSS_14,style:function(){return {icon:SSSS_183};}},"table-scroller/scrollbar-x":SSSS_33,"table-scroller/scrollbar-y":SSSS_33,"table-scroller":SSSS_1,"table-scroller/header":{style:function(states){return {decorator:SSSS_92,backgroundColor:SSSS_157};}},"table-scroller/pane":{style:function(states){return {backgroundColor:SSSS_94};}},"table-scroller/focus-indicator":{style:function(states){return {decorator:SSSS_80};}},"table-scroller/resize-line":{style:function(states){return {backgroundColor:SSSS_106,width:3};}},"table-header-cell":{alias:SSSS_3,style:function(states){return {minWidth:13,paddingLeft:2,paddingRight:2,paddingBottom:states.hovered?0:2,decorator:states.hovered?SSSS_147:SSSS_49,backgroundColor:states.hovered?SSSS_107:SSSS_49,sortIcon:states.sorted?(states.sortedAscending?SSSS_178:SSSS_130):undefined};}},"table-header-cell/sort-icon":{style:function(states){return {alignY:SSSS_15};}},"table-editor-textfield":{include:SSSS_25,style:function(states){return {decorator:undefined,padding:[2,2]};}},"table-editor-selectbox":{include:SSSS_64,alias:SSSS_64,style:function(states){return {padding:[0,2]};}},"table-editor-combobox":{include:SSSS_43,alias:SSSS_43,style:function(states){return {decorator:undefined};}},"colorpopup":{alias:SSSS_24,include:SSSS_24,style:function(states){return {decorator:SSSS_5,padding:5,backgroundColor:SSSS_2};}},"colorpopup/field":{style:function(states){return {decorator:SSSS_4,margin:2,width:14,height:14,backgroundColor:SSSS_2};}},"colorpopup/selector-button":SSSS_0,"colorpopup/auto-button":SSSS_0,"colorpopup/preview-pane":SSSS_9,"colorpopup/current-preview":{style:function(state){return {height:20,padding:4,marginLeft:4,decorator:SSSS_4,allowGrowX:true};}},"colorpopup/selected-preview":{style:function(state){return {height:20,padding:4,marginRight:4,decorator:SSSS_4,allowGrowX:true};}},"colorpopup/colorselector-okbutton":{alias:SSSS_0,include:SSSS_0,style:function(states){return {icon:SSSS_78};}},"colorpopup/colorselector-cancelbutton":{alias:SSSS_0,include:SSSS_0,style:function(states){return {icon:SSSS_97};}},"virtual-list":SSSS_19,"virtual-list/row-layer":SSSS_127,"row-layer":SSSS_1,"column-layer":SSSS_1,"cell":{style:function(states){return {backgroundColor:states.selected?SSSS_172:SSSS_73,textColor:states.selected?SSSS_7:SSSS_52,padding:[3,6]};}},"cell-string":SSSS_10,"cell-number":{include:SSSS_10,style:function(states){return {textAlign:SSSS_90};}},"cell-image":SSSS_10,"cell-boolean":SSSS_10,"cell-atom":SSSS_10,"cell-date":SSSS_10,"cell-html":SSSS_10,"htmlarea":{"include":SSSS_1,style:function(states){return {backgroundColor:SSSS_30};}}}});})();(function(){var SSSS_0="Oxygen",SSSS_1="qx.theme.icon.Oxygen",SSSS_2="qx/icon/Oxygen";qx.Theme.define(SSSS_1,{title:SSSS_0,aliases:{"icon":SSSS_2},icons:{}});})();(function(){var SSSS_0="Classic Windows",SSSS_1="qx.theme.Classic";qx.Theme.define(SSSS_1,{title:SSSS_0,meta:{color:qx.theme.classic.Color,decoration:qx.theme.classic.Decoration,font:qx.theme.classic.Font,appearance:qx.theme.classic.Appearance,icon:qx.theme.icon.Oxygen}});})();(function(){var SSSS_0='px;',SSSS_1="",SSSS_2="Boolean",SSSS_3='',SSSS_4='px',SSSS_5='</div>',SSSS_6='<div style="position:absolute;',SSSS_7=";",SSSS_8='left:',SSSS_9='">',SSSS_10='</span>',SSSS_11='background-image:url(',SSSS_12="treevirtual-start-contract",SSSS_13='">&nbsp;</div>',SSSS_14="treevirtual-file",SSSS_15="qx.ui.treevirtual.SimpleTreeDataCellRenderer",SSSS_16="qx.client",SSSS_17="treevirtual-only-expand",SSSS_18='style="',SSSS_19='top:0;',SSSS_20='background-repeat:no-repeat;',SSSS_21='>',SSSS_22='right:',SSSS_23='<div style="',SSSS_24='" title="',SSSS_25="treevirtual-end",SSSS_26="treevirtual-cross",SSSS_27=');',SSSS_28='<span',SSSS_29="treevirtual-end-contract",SSSS_30=';width:',SSSS_31=';"',SSSS_32="treevirtual-end-expand",SSSS_33="treevirtual-only-contract",SSSS_34="treevirtual-contract",SSSS_35='top:',SSSS_36="content-box",SSSS_37='bottom:',SSSS_38="treevirtual-start-expand",SSSS_39="mshtml",SSSS_40="treevirtual-cross-contract",SSSS_41="treevirtual-folder",SSSS_42='width:',SSSS_43="treevirtual-expand",SSSS_44="treevirtual-cross-expand",SSSS_45="treevirtual-line",SSSS_46=';height:',SSSS_47='height:';qx.Class.define(SSSS_15,{extend:qx.ui.table.cellrenderer.Abstract,construct:function(){var STDCR=qx.ui.treevirtual.SimpleTreeDataCellRenderer;if(STDCR.__pV){STDCR.__qb();STDCR.__pV=false;}arguments.callee.base.call(this);this.__pW=qx.util.AliasManager.getInstance();this.__pX=qx.util.ResourceManager.getInstance();this.__pY=qx.theme.manager.Appearance.getInstance();this.BLANK=this.__pX.toUri(this.__pW.resolve("static/blank.gif"));},statics:{__qa:{},__pV:true,__qb:function(){qx.theme.manager.Meta.getInstance().initialize();var STDCR=qx.ui.treevirtual.SimpleTreeDataCellRenderer;var ImageLoader=qx.io.ImageLoader;var am=qx.util.AliasManager.getInstance();var rm=qx.util.ResourceManager.getInstance();var tm=qx.theme.manager.Appearance.getInstance();var loadImage=function(f){ImageLoader.load(rm.toUri(am.resolve(f)));};STDCR.__qa.line=tm.styleFrom(SSSS_45);loadImage(STDCR.__qa.line.icon);STDCR.__qa.contract=tm.styleFrom(SSSS_34);loadImage(STDCR.__qa.contract.icon);STDCR.__qa.expand=tm.styleFrom(SSSS_43);loadImage(STDCR.__qa.expand.icon);STDCR.__qa.onlyContract=tm.styleFrom(SSSS_33);loadImage(STDCR.__qa.onlyContract.icon);STDCR.__qa.onlyExpand=tm.styleFrom(SSSS_17);loadImage(STDCR.__qa.onlyExpand.icon);STDCR.__qa.startContract=tm.styleFrom(SSSS_12);loadImage(STDCR.__qa.startContract.icon);STDCR.__qa.startExpand=tm.styleFrom(SSSS_38);loadImage(STDCR.__qa.startExpand.icon);STDCR.__qa.endContract=tm.styleFrom(SSSS_29);loadImage(STDCR.__qa.endContract.icon);STDCR.__qa.endExpand=tm.styleFrom(SSSS_32);loadImage(STDCR.__qa.endExpand.icon);STDCR.__qa.crossContract=tm.styleFrom(SSSS_40);loadImage(STDCR.__qa.crossContract.icon);STDCR.__qa.crossExpand=tm.styleFrom(SSSS_44);loadImage(STDCR.__qa.crossExpand.icon);STDCR.__qa.end=tm.styleFrom(SSSS_25);loadImage(STDCR.__qa.end.icon);STDCR.__qa.cross=tm.styleFrom(SSSS_26);loadImage(STDCR.__qa.cross.icon);}},properties:{useTreeLines:{check:SSSS_2,init:true},excludeFirstLevelTreeLines:{check:SSSS_2,init:false},alwaysShowOpenCloseSymbol:{check:SSSS_2,init:false}},members:{__pW:null,__pY:null,__pX:null,_getCellStyle:function(cellInfo){var node=cellInfo.value;var html=arguments.callee.base.call(this,cellInfo)+(node.cellStyle?node.cellStyle+SSSS_7:SSSS_1);return html;},_getContentHtml:function(cellInfo){var html=SSSS_1;var pos=0;var extra=this._addExtraContentBeforeIndentation(cellInfo,pos);html+=extra.html;pos=extra.pos;var indentation=this._addIndentation(cellInfo,pos);html+=indentation.html;pos=indentation.pos;extra=this._addExtraContentBeforeIcon(cellInfo,pos);html+=extra.html;pos=extra.pos;var icon=this._addIcon(cellInfo,pos);html+=icon.html;pos=icon.pos;extra=this._addExtraContentBeforeLabel(cellInfo,pos);html+=extra.html;pos=extra.pos;html+=this._addLabel(cellInfo,pos);return html;},_addImage:function(imageInfo){var html=[];var source=this.__pX.toUri(this.__pW.resolve(imageInfo.url));if(imageInfo.position){var pos=imageInfo.position;html.push(SSSS_6);if(!qx.core.Variant.isSet(SSSS_16,SSSS_39)){html.push(qx.bom.element.BoxSizing.compile(SSSS_36));}if(pos.top!==undefined){html.push(SSSS_35+pos.top+SSSS_0);}if(pos.right!==undefined){html.push(SSSS_22+pos.right+SSSS_0);}if(pos.bottom!==undefined){html.push(SSSS_37+pos.bottom+SSSS_0);}if(pos.left!==undefined){html.push(SSSS_8+pos.left+SSSS_0);}if(pos.width!==undefined){html.push(SSSS_42+pos.width+SSSS_0);}if(pos.height!==undefined){html.push(SSSS_47+pos.height+SSSS_0);}html.push(SSSS_9);}html.push(SSSS_23);html.push(SSSS_11+source+SSSS_27);html.push(SSSS_20);if(imageInfo.imageWidth&&imageInfo.imageHeight){html.push(SSSS_30+imageInfo.imageWidth+SSSS_4+SSSS_46+imageInfo.imageHeight+SSSS_4);}var tooltip=imageInfo.tooltip;if(tooltip!=null){html.push(SSSS_24+tooltip);}html.push(SSSS_13);if(imageInfo.position){html.push(SSSS_5);}return html.join(SSSS_1);},_addIndentation:function(cellInfo,pos){var node=cellInfo.value;var imageData;var html=SSSS_1;var bUseTreeLines=this.getUseTreeLines();var bExcludeFirstLevelTreeLines=this.getExcludeFirstLevelTreeLines();var bAlwaysShowOpenCloseSymbol=this.getAlwaysShowOpenCloseSymbol();for(var i=0;i<node.level;i++){imageData=this._getIndentSymbol(i,node,bUseTreeLines,bAlwaysShowOpenCloseSymbol,bExcludeFirstLevelTreeLines);html+=this._addImage({url:imageData.icon,position:{top:0+(imageData.paddingTop||0),left:pos+(imageData.paddingLeft||0),width:19,height:16}});pos+=19;}return ({html:html,pos:pos});},_addIcon:function(cellInfo,pos){var node=cellInfo.value;var imageUrl=(node.bSelected?node.iconSelected:node.icon);if(!imageUrl){if(node.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.LEAF){var o=this.__pY.styleFrom(SSSS_14);}else{var states={opened:node.bOpened};var o=this.__pY.styleFrom(SSSS_41,states);}imageUrl=o.icon;}var html=this._addImage({url:imageUrl,position:{top:0,left:pos,width:19,height:16}});return ({html:html,pos:pos+19});},_addLabel:function(cellInfo,pos){var node=cellInfo.value;var html=SSSS_6+SSSS_8+pos+SSSS_0+SSSS_19+(node.labelStyle?node.labelStyle+SSSS_7:SSSS_1)+SSSS_9+SSSS_28+(cellInfo.labelSpanStyle?SSSS_18+cellInfo.labelSpanStyle+SSSS_31:SSSS_1)+SSSS_21+node.label+SSSS_10+SSSS_5;return html;},_addExtraContentBeforeIndentation:function(cellInfo,pos){return {html:SSSS_3,pos:pos};},_addExtraContentBeforeIcon:function(cellInfo,pos){return {html:SSSS_3,pos:pos};},_addExtraContentBeforeLabel:function(cellInfo,pos){return {html:SSSS_3,pos:pos};},_getIndentSymbol:function(column,node,bUseTreeLines,bAlwaysShowOpenCloseSymbol,bExcludeFirstLevelTreeLines){var STDCR=qx.ui.treevirtual.SimpleTreeDataCellRenderer;if(column==0&&bExcludeFirstLevelTreeLines){bUseTreeLines=false;}if(column<node.level-1){return (bUseTreeLines&&!node.lastChild[column]?STDCR.__qa.line:{icon:this.BLANK});}var bLastChild=node.lastChild[node.lastChild.length-1];if(node.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.BRANCH&&!node.bHideOpenClose){if(node.children.length>0||bAlwaysShowOpenCloseSymbol){if(!bUseTreeLines){return (node.bOpened?STDCR.__qa.contract:STDCR.__qa.expand);}if(column==0&&node.bFirstChild){if(bLastChild){return (node.bOpened?STDCR.__qa.onlyContract:STDCR.__qa.onlyExpand);}else{return (node.bOpened?STDCR.__qa.startContract:STDCR.__qa.startExpand);}}if(bLastChild){return (node.bOpened?STDCR.__qa.endContract:STDCR.__qa.endExpand);}return (node.bOpened?STDCR.__qa.crossContract:STDCR.__qa.crossExpand);}}if(bUseTreeLines){if(node.parentNodeId==0){if(bLastChild&&node.bFirstChild){return {icon:this.BLANK};}if(bLastChild){return STDCR.__qa.end;}if(node.bFirstChild){return (node.bOpened?STDCR.__qa.startContract:STDCR.__qa.startExpand);}}return (bLastChild?STDCR.__qa.end:STDCR.__qa.cross);}return {icon:this.BLANK};}},destruct:function(){this.__pW=this.__pX=this.__pY=null;}});})();(function(){var SSSS_0="_applyTheme",SSSS_1="qx.theme",SSSS_2="qx.theme.manager.Meta",SSSS_3="qx.theme.Modern",SSSS_4="Theme",SSSS_5="singleton";qx.Class.define(SSSS_2,{type:SSSS_5,extend:qx.core.Object,properties:{theme:{check:SSSS_4,nullable:true,apply:SSSS_0}},members:{_applyTheme:function(value,old){var color=null;var decoration=null;var font=null;var icon=null;var appearance=null;if(value){color=value.meta.color||null;decoration=value.meta.decoration||null;font=value.meta.font||null;icon=value.meta.icon||null;appearance=value.meta.appearance||null;}var colorMgr=qx.theme.manager.Color.getInstance();var decorationMgr=qx.theme.manager.Decoration.getInstance();var fontMgr=qx.theme.manager.Font.getInstance();var iconMgr=qx.theme.manager.Icon.getInstance();var appearanceMgr=qx.theme.manager.Appearance.getInstance();colorMgr.setTheme(color);decorationMgr.setTheme(decoration);fontMgr.setTheme(font);iconMgr.setTheme(icon);appearanceMgr.setTheme(appearance);},initialize:function(){var setting=qx.core.Setting;var theme,obj;theme=setting.get(SSSS_1);if(theme){obj=qx.Theme.getByName(theme);if(!obj){throw new Error("The theme to use is not available: "+theme);}this.setTheme(obj);}}},settings:{"qx.theme":SSSS_3}});})();(function(){var SSSS_0="qx.theme.manager.Icon",SSSS_1="Theme",SSSS_2="_applyTheme",SSSS_3="singleton";qx.Class.define(SSSS_0,{type:SSSS_3,extend:qx.core.Object,properties:{theme:{check:SSSS_1,nullable:true,apply:SSSS_2}},members:{_applyTheme:function(value,old){var aliasManager=qx.util.AliasManager.getInstance();if(old){for(var alias in old.aliases){aliasManager.remove(alias);}}if(value){for(var alias in value.aliases){aliasManager.add(alias,value.aliases[alias]);}}}}});})();(function(){var SSSS_0="qx.ui.treevirtual.DefaultDataCellRenderer";qx.Class.define(SSSS_0,{extend:qx.ui.table.cellrenderer.Default,construct:function(){arguments.callee.base.call(this);},members:{_getCellStyle:function(cellInfo){var html=arguments.callee.base.call(this,cellInfo)+qx.ui.treevirtual.SimpleTreeDataCellRenderer.MAIN_DIV_STYLE;return html;}}});})();(function(){var SSSS_0="qx.ui.treevirtual.SimpleTreeDataRowRenderer";qx.Class.define(SSSS_0,{extend:qx.ui.table.rowrenderer.Default,construct:function(){arguments.callee.base.call(this);},members:{updateDataRowElement:function(rowInfo,rowElem){var tree=rowInfo.table;var rowData=rowInfo.rowData;var tableModel=tree.getTableModel();var treeCol=tableModel.getTreeColumn();var node=rowData[treeCol];rowInfo.selected=node.bSelected;if(node.bSelected){var row=rowInfo.row;tree.getSelectionModel()._addSelectionInterval(row,row);}arguments.callee.base.call(this,rowInfo,rowElem);}}});})();(function(){var SSSS_0="qx.ui.treevirtual.SelectionManager",SSSS_1="Space",SSSS_2="Enter";qx.Class.define(SSSS_0,{extend:qx.ui.table.selection.Manager,construct:function(table){arguments.callee.base.call(this);this.__qc=table;},members:{__qc:null,getTable:function(){return this.__qc;},handleMoveKeyDown:function(index,evt){var selectionModel=this.getSelectionModel();switch(evt.getModifiers()){case 0:break;case qx.event.type.Dom.SHIFT_MASK:var anchor=selectionModel.getAnchorSelectionIndex();if(anchor==-1){selectionModel.setSelectionInterval(index,index);}else{selectionModel.setSelectionInterval(anchor,index);}break;}},_handleSelectEvent:function(index,evt){var _this=this;function handleButtonClick(tree,index,evt){var dataModel=tree.getDataModel();var treeCol=dataModel.getTreeColumn();if(evt instanceof qx.event.type.Mouse){if(!tree.getFocusCellOnMouseMove()){var scrollers=tree._getPaneScrollerArr();for(var i=0;i<scrollers.length;i++){scrollers[i]._focusCellAtPagePos(evt.getViewportLeft(),evt.getViewportTop());}}}var focusedCol=tree.getFocusedColumn();if(focusedCol!=treeCol){tree.startEditing();return false;}var node=dataModel.getValue(treeCol,tree.getFocusedRow());if(!node){return false;}if(evt instanceof qx.event.type.Mouse){var tcm=tree.getTableColumnModel();var columnPositions=tcm._getColToXPosMap();var left=qx.bom.element.Location.getLeft(tree.getContentElement().getDomElement());for(i=0;i<columnPositions[treeCol].visX;i++){left+=tcm.getColumnWidth(columnPositions[i].visX);}var x=evt.getViewportLeft();var latitude=2;var buttonPos=left+(node.level-1)*19+2;if(x>=buttonPos-latitude&&x<=buttonPos+19+latitude){dataModel.setState(node,{bOpened:!node.bOpened});return tree.getOpenCloseClickSelectsRow()?false:true;}else{return _this._handleExtendedClick(tree,evt,node,left);}}else{var identifier=evt.getKeyIdentifier();switch(identifier){case SSSS_1:return false;case SSSS_2:if(!node.bHideOpenClose){dataModel.setState(node,{bOpened:!node.bOpened});}return tree.getOpenCloseClickSelectsRow()?false:true;default:return true;}}}var bNoSelect=handleButtonClick(this.__qc,index,evt);if(!bNoSelect){var Sm=qx.ui.table.selection.Manager;Sm.prototype._handleSelectEvent.call(this,index,evt);}},_handleExtendedClick:function(tree,evt,node,left){return false;}},destruct:function(){this.__qc=null;}});})();(function(){var SSSS_0="on",SSSS_1="qx.tableResizeDebug",SSSS_2="qx.debug",SSSS_3="appear",SSSS_4="columnVisibilityMenuCreateEnd",SSSS_5="tableWidthChanged",SSSS_6="verticalScrollBarChanged",SSSS_7="qx.ui.table.columnmodel.resizebehavior.Abstract",SSSS_8="qx.ui.table.columnmodel.Resize",SSSS_9="_applyBehavior",SSSS_10="separator",SSSS_11="visibilityChanged",SSSS_12="Reset column widths",SSSS_13="changeBehavior",SSSS_14="user-button",SSSS_15="widthChanged",SSSS_16="execute";qx.Class.define(SSSS_8,{extend:qx.ui.table.columnmodel.Basic,include:qx.locale.MTranslation,construct:function(){arguments.callee.base.call(this);this.__qd=false;this.__qe=false;},properties:{behavior:{check:SSSS_7,init:null,nullable:true,apply:SSSS_9,event:SSSS_13}},members:{__qe:null,__qd:null,__qf:null,_applyBehavior:function(value,old){if(old!=null){old.dispose();old=null;}value._setNumColumns(this.getOverallColumnCount());value.setTableColumnModel(this);},init:function(numColumns,table){arguments.callee.base.call(this,numColumns);if(this.__qf==null){this.__qf=table;table.addListener(SSSS_3,this._onappear,this);table.addListener(SSSS_5,this._onTableWidthChanged,this);table.addListener(SSSS_6,this._onverticalscrollbarchanged,this);table.addListener(SSSS_4,this._addResetColumnWidthButton,this);this.addListener(SSSS_15,this._oncolumnwidthchanged,this);this.addListener(SSSS_11,this._onvisibilitychanged,this);}if(this.getBehavior()==null){this.setBehavior(new qx.ui.table.columnmodel.resizebehavior.Default());}this.getBehavior()._setNumColumns(numColumns);},getTable:function(){return this.__qf;},_addResetColumnWidthButton:function(event){var data=event.getData();var columnButton=data.columnButton;var menu=data.menu;var o;o=columnButton.factory(SSSS_10);menu.add(o);o=columnButton.factory(SSSS_14,{text:this.tr(SSSS_12)});menu.add(o);o.addListener(SSSS_16,this._onappear,this);},_onappear:function(event){if(this.__qd){return ;}this.__qd=true;if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){if(qx.core.Setting.get(SSSS_1)){this.debug("onappear");}}this.getBehavior().onAppear(event,event.getType()!==SSSS_3);this.__qf._updateScrollerWidths();this.__qf._updateScrollBarVisibility();this.__qd=false;this.__qe=true;},_onTableWidthChanged:function(event){if(this.__qd||!this.__qe){return ;}this.__qd=true;if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){if(qx.core.Setting.get(SSSS_1)){this.debug("ontablewidthchanged");}}this.getBehavior().onTableWidthChanged(event);this.__qd=false;},_onverticalscrollbarchanged:function(event){if(this.__qd||!this.__qe){return ;}this.__qd=true;if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){if(qx.core.Setting.get(SSSS_1)){this.debug("onverticalscrollbarchanged");}}this.getBehavior().onVerticalScrollBarChanged(event);qx.event.Timer.once(function(){if(this.__qf&&!this.__qf.isDisposed()){this.__qf._updateScrollerWidths();this.__qf._updateScrollBarVisibility();}},this,0);this.__qd=false;},_oncolumnwidthchanged:function(event){if(this.__qd||!this.__qe){return ;}this.__qd=true;if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){if(qx.core.Setting.get(SSSS_1)){this.debug("oncolumnwidthchanged");}}this.getBehavior().onColumnWidthChanged(event);this.__qd=false;},_onvisibilitychanged:function(event){if(this.__qd||!this.__qe){return ;}this.__qd=true;if(qx.core.Variant.isSet(SSSS_2,SSSS_0)){if(qx.core.Setting.get(SSSS_1)){this.debug("onvisibilitychanged");}}this.getBehavior().onVisibilityChanged(event);this.__qd=false;}},destruct:function(){this.__qf=null;}});})();(function(){var SSSS_0="auto",SSSS_1="string",SSSS_2="number",SSSS_3="*",SSSS_4="qx.ui.core.ColumnData";qx.Class.define(SSSS_4,{extend:qx.ui.core.LayoutItem,construct:function(){arguments.callee.base.call(this);this.setColumnWidth(SSSS_0);},members:{__qg:null,renderLayout:function(left,top,width,height){this.__qg=width;},getComputedWidth:function(){return this.__qg;},getFlex:function(){return this.getLayoutProperties().flex||0;},setColumnWidth:function(width,flex){var flex=flex||0;var percent=null;if(typeof width==SSSS_2){this.setWidth(width);}else if(typeof width==SSSS_1){if(width==SSSS_0){flex=1;}else{var match=width.match(/^[0-9]+(?:\.[0-9]+)?([%\*])$/);if(match){if(match[1]==SSSS_3){flex=parseFloat(width);}else{percent=width;}}}}this.setLayoutProperties({flex:flex,width:percent});}},settings:{"qx.tableResizeDebug":false}});})();(function(){var SSSS_0="qx.ui.table.columnmodel.resizebehavior.Abstract",SSSS_1="abstract";qx.Class.define(SSSS_0,{type:SSSS_1,extend:qx.core.Object,members:{_setNumColumns:function(numColumns){throw new Error("_setNumColumns is abstract");},onAppear:function(event,forceRefresh){throw new Error("onAppear is abstract");},onTableWidthChanged:function(event){throw new Error("onTableWidthChanged is abstract");},onVerticalScrollBarChanged:function(event){throw new Error("onVerticalScrollBarChanged is abstract");},onColumnWidthChanged:function(event){throw new Error("onColumnWidthChanged is abstract");},onVisibilityChanged:function(event){throw new Error("onVisibilityChanged is abstract");},_getAvailableWidth:function(){var tableColumnModel=this.getTableColumnModel();var table=tableColumnModel.getTable();var scrollerArr=table._getPaneScrollerArr();if(!scrollerArr[0]||!scrollerArr[0].getLayoutParent().getBounds()){return null;}var scrollerParentWidth=scrollerArr[0].getLayoutParent().getBounds().width;var lastScroller=scrollerArr[scrollerArr.length-1];scrollerParentWidth-=lastScroller.getPaneInsetRight();return scrollerParentWidth;}}});})();(function(){var SSSS_0="Function",SSSS_1="__qj",SSSS_2="Boolean",SSSS_3="minWidth",SSSS_4="width",SSSS_5="qx.ui.table.columnmodel.Resize",SSSS_6="qx.ui.table.columnmodel.resizebehavior.Default",SSSS_7="__qi",SSSS_8="maxWidth";qx.Class.define(SSSS_6,{extend:qx.ui.table.columnmodel.resizebehavior.Abstract,construct:function(){arguments.callee.base.call(this);this.__qh=[];this.__qi=new qx.ui.layout.HBox();this.__qi.connectToWidget(this);this.__qj=new qx.util.DeferredCall(this._computeColumnsFlexWidth,this);},properties:{newResizeBehaviorColumnData:{check:SSSS_0,init:function(obj){return new qx.ui.core.ColumnData();}},initializeWidthsOnEveryAppear:{check:SSSS_2,init:false},tableColumnModel:{check:SSSS_5}},members:{__qi:null,__qk:null,__qh:null,__qj:null,__ql:false,setWidth:function(col,width,flex){if(col>=this.__qh.length){throw new Error("Column number out of range");}this.__qh[col].setColumnWidth(width,flex);this.__qj.schedule();},setMinWidth:function(col,width){if(col>=this.__qh.length){throw new Error("Column number out of range");}this.__qh[col].setMinWidth(width);this.__qj.schedule();},setMaxWidth:function(col,width){if(col>=this.__qh.length){throw new Error("Column number out of range");}this.__qh[col].setMaxWidth(width);this.__qj.schedule();},set:function(col,map){for(var prop in map){switch(prop){case SSSS_4:this.setWidth(col,map[prop]);break;case SSSS_3:this.setMinWidth(col,map[prop]);break;case SSSS_8:this.setMaxWidth(col,map[prop]);break;default:throw new Error("Unknown property: "+prop);}}},onAppear:function(event,forceRefresh){if(forceRefresh===true||!this.__ql||this.getInitializeWidthsOnEveryAppear()){this._computeColumnsFlexWidth();this.__ql=true;}},onTableWidthChanged:function(event){this._computeColumnsFlexWidth();},onVerticalScrollBarChanged:function(event){this._computeColumnsFlexWidth();},onColumnWidthChanged:function(event){this._extendNextColumn(event);},onVisibilityChanged:function(event){var data=event.getData();if(data.visible){this._computeColumnsFlexWidth();return;}this._extendLastColumn(event);},_setNumColumns:function(numColumns){var colData=this.__qh;if(numColumns<=colData.length){colData.splice(numColumns,colData.length);return;}for(var i=colData.length;i<numColumns;i++){colData[i]=this.getNewResizeBehaviorColumnData()();colData[i].columnNumber=i;}},getLayoutChildren:function(){return this.__qk;},_computeColumnsFlexWidth:function(){this.__qj.cancel();var width=this._getAvailableWidth();if(width===null){return;}var tableColumnModel=this.getTableColumnModel();var visibleColumns=tableColumnModel.getVisibleColumns();var visibleColumnsLength=visibleColumns.length;var colData=this.__qh;var i,l;if(visibleColumnsLength===0){return;}var columns=[];for(i=0;i<visibleColumnsLength;i++){columns.push(colData[visibleColumns[i]]);}this.__qk=columns;this.__qm();this.__qi.renderLayout(width,100);for(i=0,l=columns.length;i<l;i++){var colWidth=columns[i].getComputedWidth();tableColumnModel.setColumnWidth(visibleColumns[i],colWidth);}},__qm:function(){this.__qi.invalidateChildrenCache();var children=this.__qk;for(var i=0,l=children.length;i<l;i++){children[i].invalidateLayoutCache();}},_extendNextColumn:function(event){var tableColumnModel=this.getTableColumnModel();var data=event.getData();var visibleColumns=tableColumnModel.getVisibleColumns();var width=this._getAvailableWidth();var numColumns=visibleColumns.length;if(data.newWidth>data.oldWidth){return ;}var i;var nextCol;var widthUsed=0;for(i=0;i<numColumns;i++){widthUsed+=tableColumnModel.getColumnWidth(visibleColumns[i]);}if(widthUsed<width){for(i=0;i<visibleColumns.length;i++){if(visibleColumns[i]==data.col){nextCol=visibleColumns[i+1];break;}}if(nextCol){var newWidth=(width-(widthUsed-tableColumnModel.getColumnWidth(nextCol)));tableColumnModel.setColumnWidth(nextCol,newWidth);}}},_extendLastColumn:function(event){var tableColumnModel=this.getTableColumnModel();var data=event.getData();if(data.visible){return;}var visibleColumns=tableColumnModel.getVisibleColumns();if(visibleColumns.length==0){return;}var width=this._getAvailableWidth(tableColumnModel);var numColumns=visibleColumns.length;var i;var lastCol;var widthUsed=0;for(i=0;i<numColumns;i++){widthUsed+=tableColumnModel.getColumnWidth(visibleColumns[i]);}if(widthUsed<width){lastCol=visibleColumns[visibleColumns.length-1];var newWidth=(width-(widthUsed-tableColumnModel.getColumnWidth(lastCol)));tableColumnModel.setColumnWidth(lastCol,newWidth);}},_getResizeColumnData:function(){return this.__qh;}},destruct:function(){this.__qh=this.__qk=null;this._disposeObjects(SSSS_7,SSSS_1);}});})();(function(){var SSSS_0="blueprint.ui.menu.Separator";qx.Class.define(SSSS_0,{extend:qx.ui.menu.Separator,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},destruct:function(){}});})();(function(){var SSSS_0="String",SSSS_1="blueprint.ui.form.HiddenField";qx.Class.define(SSSS_1,{extend:qx.ui.core.Widget,include:[blueprint.MBlueprintManager,blueprint.ui.form.MSubmitElement],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);this.set({"height":0,"width":0});},properties:{name:{check:SSSS_0},value:{check:SSSS_0}},members:{},destruct:function(){}});})();(function(){var SSSS_0="password",SSSS_1="qx.ui.form.PasswordField",SSSS_2="input";qx.Class.define(SSSS_1,{extend:qx.ui.form.TextField,members:{_createInputElement:function(){var input=new qx.html.Input(SSSS_0);input.addListener(SSSS_2,this._onHtmlInput,this);return input;}}});})();(function(){var SSSS_0="blueprint.ui.form.PasswordField";qx.Class.define(SSSS_0,{extend:qx.ui.form.PasswordField,include:[blueprint.MBlueprintManager,blueprint.ui.form.MSubmitElement],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="blueprint.ui.toolbar.Separator";qx.Class.define(SSSS_0,{extend:qx.ui.toolbar.Separator,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="#ff0000",SSSS_1="blueprint.theme.ninja.Color";qx.Theme.define(SSSS_1,{extend:qx.theme.modern.Color,colors:{"background-invalid":SSSS_0,"border-invalid":SSSS_0}});})();(function(){var SSSS_0="blueprint.ui.table.cellrenderer.Default";qx.Class.define(SSSS_0,{extend:qx.ui.table.cellrenderer.Default,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},members:{},destruct:function(){}});})();(function(){var SSSS_0="legend",SSSS_1="frame",SSSS_2="middle",SSSS_3="top",SSSS_4="resize",SSSS_5="qx.ui.groupbox.GroupBox",SSSS_6="groupbox",SSSS_7="_applyLegendPosition";qx.Class.define(SSSS_5,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling,qx.ui.core.MContentPadding,qx.ui.form.MForm],implement:[qx.ui.form.IForm],construct:function(legend,icon){arguments.callee.base.call(this);this._setLayout(new qx.ui.layout.Canvas);this._createChildControl(SSSS_1);this._createChildControl(SSSS_0);if(legend!=null){this.setLegend(legend);}if(icon!=null){this.setIcon(icon);}},properties:{appearance:{refine:true,init:SSSS_6},legendPosition:{check:[SSSS_3,SSSS_2],init:SSSS_2,apply:SSSS_7,themeable:true}},members:{_forwardStates:{invalid:true},_createChildControlImpl:function(id){var control;switch(id){case SSSS_1:control=new qx.ui.container.Composite();this._add(control,{left:0,top:6,right:0,bottom:0});break;case SSSS_0:control=new qx.ui.basic.Atom();control.addListener(SSSS_4,this._repositionFrame,this);this._add(control);break;}return control||arguments.callee.base.call(this,id);},_getContentPaddingTarget:function(){return this.getChildControl(SSSS_1);},_applyLegendPosition:function(e){if(this.getChildControl(SSSS_0).getBounds()){this._repositionFrame();}},_repositionFrame:function(){var legend=this.getChildControl(SSSS_0);var frame=this.getChildControl(SSSS_1);var height=legend.getBounds().height;if(this.getLegendPosition()==SSSS_2){frame.setLayoutProperties({"top":Math.round(height/2)});}else if(this.getLegendPosition()==SSSS_3){frame.setLayoutProperties({"top":height});}},getChildrenContainer:function(){return this.getChildControl(SSSS_1);},setLegend:function(legend){var control=this.getChildControl(SSSS_0);if(legend!==null){control.setLabel(legend);control.show();}else{control.exclude();}},getLegend:function(){return this.getChildControl(SSSS_0).getLabel();},setIcon:function(icon){this.getChildControl(SSSS_0).setIcon(icon);},getIcon:function(){this.getChildControl(SSSS_0).getIcon();}}});})();(function(){var SSSS_0="qx.ui.layout.Canvas",SSSS_1="blueprint.ui.groupbox.GroupBox";qx.Class.define(SSSS_1,{extend:qx.ui.groupbox.GroupBox,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this,vData.qxSettings.legend,vData.qxSettings.icon);this.setLayout(blueprint.util.Misc.generateLayout(SSSS_0));this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="label",SSSS_1="value",SSSS_2="icon",SSSS_3="blueprint.ui.form.List";qx.Class.define(SSSS_3,{extend:qx.ui.form.List,include:[blueprint.MBlueprintManager,blueprint.ui.form.MSubmitElement],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);if(vData.constructorSettings.listitems){this.setBlueprintListItems(vData.constructorSettings.listitems);}},properties:{},members:{setBlueprintListItems:function(listitems){for(var i=0;i<listitems.length;i++){this.add(new qx.ui.form.ListItem(listitems[i][SSSS_0],listitems[i][SSSS_2],listitems[i][SSSS_1]));}}},destruct:function(){}});})();(function(){var SSSS_0="listitem",SSSS_1="qx.ui.form.ListItem",SSSS_2="qx.event.type.Event";qx.Class.define(SSSS_1,{extend:qx.ui.basic.Atom,implement:[qx.ui.form.IModel],include:[qx.ui.form.MModelProperty],construct:function(label,icon,model){arguments.callee.base.call(this,label,icon);if(model!=null){this.setModel(model);}},events:{"action":SSSS_2},properties:{appearance:{refine:true,init:SSSS_0}},members:{_forwardStates:{focused:true,hovered:true,selected:true,dragover:true}}});})();(function(){var SSSS_0="Consolas",SSSS_1="blueprint.theme.Font",SSSS_2="Lucida Grande",SSSS_3="monospace",SSSS_4="Courier New",SSSS_5="DejaVu Sans Mono";qx.Theme.define(SSSS_1,{extend:qx.theme.modern.Font,fonts:{"monospace":{size:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[SSSS_2]:qx.bom.client.System.WINVISTA?[SSSS_0]:[SSSS_0,SSSS_5,SSSS_4,SSSS_3]}}});})();(function(){var SSSS_0="qx.application.IApplication";qx.Interface.define(SSSS_0,{members:{main:function(){},finalize:function(){},close:function(){},terminate:function(){}}});})();(function(){var SSSS_0="abstract",SSSS_1="qx.application.AbstractGui";qx.Class.define(SSSS_1,{type:SSSS_0,extend:qx.core.Object,implement:[qx.application.IApplication],include:qx.locale.MTranslation,members:{__qn:null,_createRootWidget:function(){throw new Error("Abstract method call");},getRoot:function(){return this.__qn;},main:function(){qx.theme.manager.Meta.getInstance().initialize();qx.ui.tooltip.Manager.getInstance();this.__qn=this._createRootWidget();},finalize:function(){this.render();},render:function(){qx.ui.core.queue.Manager.flush();},close:function(val){},terminate:function(){}},destruct:function(){this.__qn=null;}});})();(function(){var SSSS_0="qx.application.Standalone";qx.Class.define(SSSS_0,{extend:qx.application.AbstractGui,members:{_createRootWidget:function(){return new qx.ui.root.Application(document);}}});})();(function(){var SSSS_0="",SSSS_1="qx.ui.layout.Canvas",SSSS_2="qx.debug",SSSS_3="blueprint.ui.container.Composite",SSSS_4="blueprint.Application",SSSS_5="top_container",SSSS_6="on",SSSS_7="blueprint.ui.treevirtual.TreeVirtual",SSSS_8="SAMPLE",SSSS_9="object";qx.Class.define(SSSS_4,{extend:qx.application.Standalone,members:{main:function(){arguments.callee.base.call(this);if(qx.core.Variant.isSet(SSSS_2,SSSS_6)){qx.log.appender.Native;qx.log.appender.Console;}var buttonObj={"objectClass":SSSS_3,"objectId":SSSS_0,"type":SSSS_5,"qxSettings":{},"constructorSettings":{"innerLayout":SSSS_1},"contents":[{"layoutmap":{"top":0,"left":0},"object":{"objectClass":SSSS_7,"objectId":SSSS_0,"type":SSSS_9,"qxSettings":{"width":500,"height":500},"constructorSettings":{"headings":SSSS_8}}}],"scripts":{},"functions":{}};this.warn("Valid = "+blueprint.util.Validator.getInstance().check(buttonObj));var doc=this.getRoot();}}});})();(function(){var SSSS_0="focusout",SSSS_1="interval",SSSS_2="mouseover",SSSS_3="mouseout",SSSS_4="mousemove",SSSS_5="widget",SSSS_6="__qr",SSSS_7="qx.ui.tooltip.ToolTip",SSSS_8="Boolean",SSSS_9="__qp",SSSS_10="_applyCurrent",SSSS_11="qx.ui.tooltip.Manager",SSSS_12="tooltip-error",SSSS_13="__qo",SSSS_14="singleton";qx.Class.define(SSSS_11,{type:SSSS_14,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);qx.event.Registration.addListener(document.body,SSSS_2,this.__qy,this,true);this.__qo=new qx.event.Timer();this.__qo.addListener(SSSS_1,this.__qv,this);this.__qp=new qx.event.Timer();this.__qp.addListener(SSSS_1,this.__qw,this);this.__qq={left:0,top:0};},properties:{current:{check:SSSS_7,nullable:true,apply:SSSS_10},showInvalidTooltips:{check:SSSS_8,init:true}},members:{__qq:null,__qp:null,__qo:null,__qr:null,__qs:null,__qt:function(){if(!this.__qr){this.__qr=new qx.ui.tooltip.ToolTip().set({rich:true});}return this.__qr;},__qu:function(){if(!this.__qs){this.__qs=new qx.ui.tooltip.ToolTip().set({appearance:SSSS_12});this.__qs.syncAppearance();}return this.__qs;},_applyCurrent:function(value,old){if(old&&qx.ui.core.Widget.contains(old,value)){return;}if(old){if(!old.isDisposed()){old.exclude();}this.__qo.stop();this.__qp.stop();}var Registration=qx.event.Registration;var el=document.body;if(value){this.__qo.startWith(value.getShowTimeout());Registration.addListener(el,SSSS_3,this.__qz,this,true);Registration.addListener(el,SSSS_0,this.__qA,this,true);Registration.addListener(el,SSSS_4,this.__qx,this,true);}else{Registration.removeListener(el,SSSS_3,this.__qz,this,true);Registration.removeListener(el,SSSS_0,this.__qA,this,true);Registration.removeListener(el,SSSS_4,this.__qx,this,true);}},__qv:function(e){var current=this.getCurrent();if(current&&!current.isDisposed()){this.__qp.startWith(current.getHideTimeout());if(current.getPlaceMethod()==SSSS_5){current.placeToWidget(current.getOpener());}else{current.placeToPoint(this.__qq);}current.show();}this.__qo.stop();},__qw:function(e){var current=this.getCurrent();if(current&&!current.isDisposed()){current.exclude();}this.__qp.stop();this.resetCurrent();},__qx:function(e){var pos=this.__qq;pos.left=e.getDocumentLeft();pos.top=e.getDocumentTop();},__qy:function(e){var target=qx.ui.core.Widget.getWidgetByElement(e.getTarget());if(!target){return;}var tooltip;while(target!=null){var tooltip=target.getToolTip();var tooltipText=target.getToolTipText()||null;var tooltipIcon=target.getToolTipIcon()||null;if(qx.Class.hasInterface(target.constructor,qx.ui.form.IForm)&&!target.isValid()){var invalidMessage=target.getInvalidMessage();}if(tooltip||tooltipText||tooltipIcon||invalidMessage){break;}target=target.getLayoutParent();}if(!target){return;}if(target.isBlockToolTip()){return;}if(invalidMessage&&target.getEnabled()){if(!this.getShowInvalidTooltips()){return;}var tooltip=this.__qu().set({label:invalidMessage});}else if(!tooltip){var tooltip=this.__qt().set({label:tooltipText,icon:tooltipIcon});}this.setCurrent(tooltip);tooltip.setOpener(target);},__qz:function(e){var target=qx.ui.core.Widget.getWidgetByElement(e.getTarget());if(!target){return;}var related=qx.ui.core.Widget.getWidgetByElement(e.getRelatedTarget());if(!related){return;}var tooltip=this.getCurrent();if(tooltip&&(related==tooltip||qx.ui.core.Widget.contains(tooltip,related))){return;}if(related&&target&&qx.ui.core.Widget.contains(target,related)){return;}if(tooltip&&!related){this.setCurrent(null);}else{this.resetCurrent();}},__qA:function(e){var target=qx.ui.core.Widget.getWidgetByElement(e.getTarget());if(!target){return;}var tooltip=this.getCurrent();if(tooltip&&tooltip==target.getToolTip()){this.setCurrent(null);}}},destruct:function(){qx.event.Registration.removeListener(document.body,SSSS_2,this.__qy,this,true);this._disposeObjects(SSSS_13,SSSS_9,SSSS_6);this.__qq=null;}});})();(function(){var SSSS_0="Use 'getBlocker().getContentBlockerElement()' instead.",SSSS_1="Use 'getBlocker().getBlockerElement()' instead.",SSSS_2="_applyBlockerColor",SSSS_3="Number",SSSS_4="__qB",SSSS_5="qx.ui.core.MBlocker",SSSS_6="_applyBlockerOpacity",SSSS_7="Color";qx.Mixin.define(SSSS_5,{construct:function(){this.__qB=new qx.ui.core.Blocker(this);},properties:{blockerColor:{check:SSSS_7,init:null,nullable:true,apply:SSSS_2,themeable:true},blockerOpacity:{check:SSSS_3,init:1,apply:SSSS_6,themeable:true}},members:{__qB:null,_applyBlockerColor:function(value,old){this.__qB.setColor(value);},_applyBlockerOpacity:function(value,old){this.__qB.setOpacity(value);},block:function(){this.__qB.block();},isBlocked:function(){return this.__qB.isBlocked();},unblock:function(){this.__qB.unblock();},forceUnblock:function(){this.__qB.forceUnblock();},blockContent:function(zIndex){this.__qB.blockContent(zIndex);},isContentBlocked:function(){return this.__qB.isContentBlocked();},unblockContent:function(){this.__qB.unblockContent();},forceUnblockContent:function(){this.__qB.forceUnblockContent();},_getContentBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_0);return this.__qB.getContentBlockerElement();},_getBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_1);return this.__qB.getBlockerElement();},getBlocker:function(){return this.__qB;}},destruct:function(){this._disposeObjects(SSSS_4);}});})();(function(){var SSSS_0="qx.ui.window.Window",SSSS_1="changeModal",SSSS_2="changeVisibility",SSSS_3="changeActive",SSSS_4="_applyActiveWindow",SSSS_5="__qC",SSSS_6="__qD",SSSS_7="qx.ui.window.MDesktop";qx.Mixin.define(SSSS_7,{properties:{activeWindow:{check:SSSS_0,apply:SSSS_4,init:null,nullable:true}},members:{__qC:null,__qD:null,getWindowManager:function(){if(!this.__qD){this.setWindowManager(new qx.ui.window.Window.DEFAULT_MANAGER_CLASS());}return this.__qD;},supportsMaximize:function(){return true;},setWindowManager:function(manager){if(this.__qD){this.__qD.setDesktop(null);}manager.setDesktop(this);this.__qD=manager;},_onChangeActive:function(e){if(e.getData()){this.setActiveWindow(e.getTarget());}else if(this.getActiveWindow()==e.getTarget()){this.setActiveWindow(null);}},_applyActiveWindow:function(value,old){this.getWindowManager().changeActiveWindow(value,old);if(value){value.setActive(true);}if(old){old.resetActive();}},_onChangeModal:function(e){this.getWindowManager().updateStack();},_onChangeVisibility:function(){this.getWindowManager().updateStack();},_afterAddChild:function(win){if(qx.Class.isDefined(SSSS_0)&&win instanceof qx.ui.window.Window){this._addWindow(win);}},_addWindow:function(win){if(!qx.lang.Array.contains(this.getWindows(),win)){this.getWindows().push(win);win.addListener(SSSS_3,this._onChangeActive,this);win.addListener(SSSS_1,this._onChangeModal,this);win.addListener(SSSS_2,this._onChangeVisibility,this);}if(win.getActive()){this.setActiveWindow(win);}this.getWindowManager().updateStack();},_afterRemoveChild:function(win){if(qx.Class.isDefined(SSSS_0)&&win instanceof qx.ui.window.Window){this._removeWindow(win);}},_removeWindow:function(win){qx.lang.Array.remove(this.getWindows(),win);win.removeListener(SSSS_3,this._onChangeActive,this);win.removeListener(SSSS_1,this._onChangeModal,this);win.removeListener(SSSS_2,this._onChangeVisibility,this);this.getWindowManager().updateStack();},getWindows:function(){if(!this.__qC){this.__qC=[];}return this.__qC;}},destruct:function(){this._disposeArray(SSSS_5);this._disposeObjects(SSSS_6);}});})();(function(){var SSSS_0="contextmenu",SSSS_1="help",SSSS_2="qx.client",SSSS_3="changeGlobalCursor",SSSS_4="abstract",SSSS_5="Boolean",SSSS_6="root",SSSS_7="",SSSS_8=" !important",SSSS_9="_applyGlobalCursor",SSSS_10="_applyNativeHelp",SSSS_11=";",SSSS_12="qx.ui.root.Abstract",SSSS_13="String",SSSS_14="*";qx.Class.define(SSSS_12,{type:SSSS_4,extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MBlocker,qx.ui.window.MDesktop],construct:function(){arguments.callee.base.call(this);qx.ui.core.FocusHandler.getInstance().addRoot(this);qx.ui.core.queue.Visibility.add(this);this.initNativeHelp();},properties:{appearance:{refine:true,init:SSSS_6},enabled:{refine:true,init:true},focusable:{refine:true,init:true},globalCursor:{check:SSSS_13,nullable:true,themeable:true,apply:SSSS_9,event:SSSS_3},nativeContextMenu:{refine:true,init:false},nativeHelp:{check:SSSS_5,init:false,apply:SSSS_10}},members:{__qE:null,isRootWidget:function(){return true;},getLayout:function(){return this._getLayout();},_applyGlobalCursor:qx.core.Variant.select(SSSS_2,{"mshtml":function(value,old){},"default":function(value,old){var Stylesheet=qx.bom.Stylesheet;var sheet=this.__qE;if(!sheet){this.__qE=sheet=Stylesheet.createElement();}Stylesheet.removeAllRules(sheet);if(value){Stylesheet.addRule(sheet,SSSS_14,qx.bom.element.Cursor.compile(value).replace(SSSS_11,SSSS_7)+SSSS_8);}}}),_applyNativeContextMenu:function(value,old){if(value){this.removeListener(SSSS_0,this._onNativeContextMenu,this,true);}else{this.addListener(SSSS_0,this._onNativeContextMenu,this,true);}},_onNativeContextMenu:function(e){if(e.getTarget().getNativeContextMenu()){return;}e.preventDefault();},_applyNativeHelp:qx.core.Variant.select(SSSS_2,{"mshtml":function(value,old){if(old===false){qx.bom.Event.removeNativeListener(document,SSSS_1,qx.lang.Function.returnFalse);}if(value===false){qx.bom.Event.addNativeListener(document,SSSS_1,qx.lang.Function.returnFalse);}},"default":function(){}})},destruct:function(){this.__qE=null;},defer:function(statics,members){qx.ui.core.MChildrenHandling.remap(members);}});})();(function(){var SSSS_0="resize",SSSS_1="position",SSSS_2="0px",SSSS_3="webkit",SSSS_4="paddingLeft",SSSS_5="$$widget",SSSS_6="qx.ui.root.Application",SSSS_7="hidden",SSSS_8="qx.client",SSSS_9="div",SSSS_10="paddingTop",SSSS_11="100%",SSSS_12="absolute";qx.Class.define(SSSS_6,{extend:qx.ui.root.Abstract,construct:function(doc){this.__qF=qx.dom.Node.getWindow(doc);this.__qG=doc;arguments.callee.base.call(this);qx.event.Registration.addListener(this.__qF,SSSS_0,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:{__qF:null,__qG:null,_createContainerElement:function(){var doc=this.__qG;if(qx.core.Variant.isSet(SSSS_8,SSSS_3)){if(!doc.body){alert("The application could not be started due to a missing body tag in the HTML file!");}}var hstyle=doc.documentElement.style;var bstyle=doc.body.style;hstyle.overflow=bstyle.overflow=SSSS_7;hstyle.padding=hstyle.margin=bstyle.padding=bstyle.margin=SSSS_2;hstyle.width=hstyle.height=bstyle.width=bstyle.height=SSSS_11;var elem=doc.createElement(SSSS_9);doc.body.appendChild(elem);var root=new qx.html.Root(elem);root.setStyle(SSSS_1,SSSS_12);root.setAttribute(SSSS_5,this.toHashCode());return root;},_onResize:function(e){qx.ui.core.queue.Layout.add(this);},_computeSizeHint:function(){var width=qx.bom.Viewport.getWidth(this.__qF);var height=qx.bom.Viewport.getHeight(this.__qF);return {minWidth:width,width:width,maxWidth:width,minHeight:height,height:height,maxHeight:height};},_applyPadding:function(value,old,name){if(value&&(name==SSSS_10||name==SSSS_4)){throw new Error("The root widget does not support 'left', or 'top' paddings!");}arguments.callee.base.call(this,value,old,name);},_applyDecorator:function(value,old){arguments.callee.base.call(this,value,old);if(!value){return;}var insets=this.getDecoratorElement().getInsets();if(insets.left||insets.top){throw new Error("The root widget does not support decorators with 'left', or 'top' insets!");}}},destruct:function(){this.__qF=this.__qG=null;}});})();(function(){var SSSS_0="qx.html.Root";qx.Class.define(SSSS_0,{extend:qx.html.Element,construct:function(elem){arguments.callee.base.call(this);if(elem!=null){this.useElement(elem);}},members:{useElement:function(elem){arguments.callee.base.call(this,elem);this.setRoot(true);qx.html.Element._modified[this.$$hash]=this;}}});})();(function(){var SSSS_0="'>",SSSS_1="[",SSSS_2=", ",SSSS_3="</span>",SSSS_4="<span class='type-",SSSS_5="</span> ",SSSS_6="}",SSSS_7="",SSSS_8="]",SSSS_9="{",SSSS_10="map",SSSS_11="<span class='object'>",SSSS_12="]:",SSSS_13="&gt;",SSSS_14="<span class='object' title='Object instance with hash code: ",SSSS_15="string",SSSS_16="level-",SSSS_17="0",SSSS_18="&lt;",SSSS_19="<span class='offset'>",SSSS_20=":",SSSS_21="qx.log.appender.Util",SSSS_22="&amp;",SSSS_23="&#39;",SSSS_24="DIV",SSSS_25="<span>",SSSS_26="&quot;",SSSS_27="<span class='type-key'>",SSSS_28="</span>:<span class='type-",SSSS_29="</span>: ",SSSS_30=" ",SSSS_31="]</span>: ",SSSS_32="?";qx.Class.define(SSSS_21,{statics:{toHtml:function(entry){var output=[];var item,msg,sub,list;output.push(SSSS_19,this.formatOffset(entry.offset,6),SSSS_5);if(entry.object){var obj=entry.win.qx.core.ObjectRegistry.fromHashCode(entry.object);if(obj){output.push(SSSS_14+obj.$$hash+SSSS_0,obj.classname,SSSS_1,obj.$$hash,SSSS_31);}}else if(entry.clazz){output.push(SSSS_11+entry.clazz.classname,SSSS_29);}var items=entry.items;for(var i=0,il=items.length;i<il;i++){item=items[i];msg=item.text;if(msg instanceof Array){var list=[];for(var j=0,jl=msg.length;j<jl;j++){sub=msg[j];if(typeof sub===SSSS_15){list.push(SSSS_25+this.escapeHTML(sub)+SSSS_3);}else if(sub.key){list.push(SSSS_27+sub.key+SSSS_28+sub.type+SSSS_0+this.escapeHTML(sub.text)+SSSS_3);}else{list.push(SSSS_4+sub.type+SSSS_0+this.escapeHTML(sub.text)+SSSS_3);}}output.push(SSSS_4+item.type+SSSS_0);if(item.type===SSSS_10){output.push(SSSS_9,list.join(SSSS_2),SSSS_6);}else{output.push(SSSS_1,list.join(SSSS_2),SSSS_8);}output.push(SSSS_3);}else{output.push(SSSS_4+item.type+SSSS_0+this.escapeHTML(msg)+SSSS_5);}}var wrapper=document.createElement(SSSS_24);wrapper.innerHTML=output.join(SSSS_7);wrapper.className=SSSS_16+entry.level;return wrapper;},formatOffset:function(offset,length){var str=offset.toString();var diff=(length||6)-str.length;var pad=SSSS_7;for(var i=0;i<diff;i++){pad+=SSSS_17;}return pad+str;},escapeHTML:function(value){return String(value).replace(/[<>&"']/g,this.__qH);},__qH:function(ch){var map={"<":SSSS_18,">":SSSS_13,"&":SSSS_22,"'":SSSS_23,'"':SSSS_26};return map[ch]||SSSS_32;},toText:function(entry){return this.toTextArray(entry).join(SSSS_30);},toTextArray:function(entry){var output=[];output.push(this.formatOffset(entry.offset,6));if(entry.object){var obj=entry.win.qx.core.ObjectRegistry.fromHashCode(entry.object);if(obj){output.push(obj.classname+SSSS_1+obj.$$hash+SSSS_12);}}else if(entry.clazz){output.push(entry.clazz.classname+SSSS_20);}var items=entry.items;var item,msg;for(var i=0,il=items.length;i<il;i++){item=items[i];msg=item.text;if(msg instanceof Array){var list=[];for(var j=0,jl=msg.length;j<jl;j++){list.push(msg[j].text);}if(item.type===SSSS_10){output.push(SSSS_9,list.join(SSSS_2),SSSS_6);}else{output.push(SSSS_1,list.join(SSSS_2),SSSS_8);}}else{output.push(msg);}}return output;}}});})();(function(){var SSSS_0="debug",SSSS_1="log",SSSS_2="qx.log.appender.Native",SSSS_3="qx.client";qx.Class.define(SSSS_2,{statics:{process:qx.core.Variant.select(SSSS_3,{"gecko":function(entry){if(window.console&&console.firebug){console[entry.level].call(console,qx.log.appender.Util.toText(entry));}},"mshtml":function(entry){if(window.console){var level=entry.level;if(level==SSSS_0){level=SSSS_1;}var args=qx.log.appender.Util.toText(entry);console[level](args);}},"webkit":function(entry){if(window.console){var level=entry.level;if(level==SSSS_0){level=SSSS_1;}var args=qx.log.appender.Util.toText(entry);console[level](args);}},"opera":function(entry){}})},defer:function(statics){qx.log.Logger.register(statics);}});})();(function(){var SSSS_0="",SSSS_1='</div>',SSSS_2="Up",SSSS_3="none",SSSS_4="keypress",SSSS_5='.qxconsole .messages{background:white;height:100%;width:100%;overflow:auto;}',SSSS_6="Enter",SSSS_7="px",SSSS_8='.qxconsole .messages .user-result{background:white}',SSSS_9='.qxconsole .messages .level-error{background:#FFE2D5}',SSSS_10="div",SSSS_11="user-command",SSSS_12='<div class="command">',SSSS_13='.qxconsole .command input:focus{outline:none;}',SSSS_14='.qxconsole .messages .type-key{color:#565656;font-style:italic}',SSSS_15='.qxconsole .messages .type-instance{color:#565656;font-weight:bold}',SSSS_16='.qxconsole .messages div{padding:0px 4px;}',SSSS_17='.qxconsole .messages .level-debug{background:white}',SSSS_18='.qxconsole .messages .type-class{color:#5F3E8A;font-weight:bold}',SSSS_19="DIV",SSSS_20='.qxconsole .messages .level-user{background:#E3EFE9}',SSSS_21='<div class="qxconsole">',SSSS_22="D",SSSS_23='.qxconsole .messages .type-map{color:#CC3E8A;font-weight:bold;}',SSSS_24='.qxconsole .messages .type-string{color:black;font-weight:normal;}',SSSS_25='.qxconsole .control a{text-decoration:none;color:black;}',SSSS_26='<div class="messages">',SSSS_27='.qxconsole .messages .type-boolean{color:#15BC91;font-weight:normal;}',SSSS_28='<input type="text"/>',SSSS_29="clear",SSSS_30='.qxconsole .command input{width:100%;border:0 none;font-family:Consolas,Monaco,monospace;font-size:11px;line-height:1.2;}',SSSS_31='.qxconsole .messages .type-array{color:#CC3E8A;font-weight:bold;}',SSSS_32='.qxconsole{z-index:10000;width:600px;height:300px;top:0px;right:0px;position:absolute;border-left:1px solid black;color:black;border-bottom:1px solid black;color:black;font-family:Consolas,Monaco,monospace;font-size:11px;line-height:1.2;}',SSSS_33='.qxconsole .command{background:white;padding:2px 4px;border-top:1px solid black;}',SSSS_34='.qxconsole .messages .user-command{color:blue}',SSSS_35="F7",SSSS_36="qx.log.appender.Console",SSSS_37='.qxconsole .messages .level-info{background:#DEEDFA}',SSSS_38="block",SSSS_39='.qxconsole .messages .level-warn{background:#FFF7D5}',SSSS_40='.qxconsole .messages .type-stringify{color:#565656;font-weight:bold}',SSSS_41='.qxconsole .messages .user-error{background:#FFE2D5}',SSSS_42='.qxconsole .control{background:#cdcdcd;border-bottom:1px solid black;padding:4px 8px;}',SSSS_43='<div class="control"><a href="javascript:qx.log.appender.Console.clear()">Clear</a> | <a href="javascript:qx.log.appender.Console.toggle()">Hide</a></div>',SSSS_44=">>> ",SSSS_45="Down",SSSS_46='.qxconsole .messages .type-number{color:#155791;font-weight:normal;}';qx.Class.define(SSSS_36,{statics:{init:function(){var style=[SSSS_32,SSSS_42,SSSS_25,SSSS_5,SSSS_16,SSSS_34,SSSS_8,SSSS_41,SSSS_17,SSSS_37,SSSS_39,SSSS_9,SSSS_20,SSSS_24,SSSS_46,SSSS_27,SSSS_31,SSSS_23,SSSS_14,SSSS_18,SSSS_15,SSSS_40,SSSS_33,SSSS_30,SSSS_13];qx.bom.Stylesheet.createElement(style.join(SSSS_0));var markup=[SSSS_21,SSSS_43,SSSS_26,SSSS_1,SSSS_12,SSSS_28,SSSS_1,SSSS_1];var wrapper=document.createElement(SSSS_19);wrapper.innerHTML=markup.join(SSSS_0);var main=wrapper.firstChild;document.body.appendChild(wrapper.firstChild);this.__qI=main;this.__qJ=main.childNodes[1];this.__qK=main.childNodes[2].firstChild;this.__qP();qx.log.Logger.register(this);qx.core.ObjectRegistry.register(this);},dispose:function(){qx.event.Registration.removeListener(document.documentElement,SSSS_4,this.__qQ,this);qx.log.Logger.unregister(this);},clear:function(){this.__qJ.innerHTML=SSSS_0;},process:function(entry){this.__qJ.appendChild(qx.log.appender.Util.toHtml(entry));this.__qL();},__qL:function(){this.__qJ.scrollTop=this.__qJ.scrollHeight;},__qM:true,toggle:function(){if(!this.__qI){this.init();}else if(this.__qI.style.display==SSSS_3){this.show();}else{this.__qI.style.display=SSSS_3;}},show:function(){if(!this.__qI){this.init();}else{this.__qI.style.display=SSSS_38;this.__qJ.scrollTop=this.__qJ.scrollHeight;}},__qN:[],execute:function(){var value=this.__qK.value;if(value==SSSS_0){return;}if(value==SSSS_29){return this.clear();}var command=document.createElement(SSSS_10);command.innerHTML=qx.log.appender.Util.escapeHTML(SSSS_44+value);command.className=SSSS_11;this.__qN.push(value);this.__qO=this.__qN.length;this.__qJ.appendChild(command);this.__qL();try{var ret=window.eval(value);}catch(ex){qx.log.Logger.error(ex);}if(ret!==undefined){qx.log.Logger.debug(ret);}},__qP:function(e){this.__qJ.style.height=(this.__qI.clientHeight-this.__qI.firstChild.offsetHeight-this.__qI.lastChild.offsetHeight)+SSSS_7;},__qQ:function(e){var iden=e.getKeyIdentifier();if((iden==SSSS_35)||(iden==SSSS_22&&e.isCtrlPressed())){this.toggle();e.preventDefault();}if(!this.__qI){return;}if(!qx.dom.Hierarchy.contains(this.__qI,e.getTarget())){return;}if(iden==SSSS_6&&this.__qK.value!=SSSS_0){this.execute();this.__qK.value=SSSS_0;}if(iden==SSSS_2||iden==SSSS_45){this.__qO+=iden==SSSS_2?-1:1;this.__qO=Math.min(Math.max(0,this.__qO),this.__qN.length);var entry=this.__qN[this.__qO];this.__qK.value=entry||SSSS_0;this.__qK.select();}}},defer:function(statics){qx.event.Registration.addListener(document.documentElement,SSSS_4,statics.__qQ,statics);}});})();(function(){var SSSS_0="properties",SSSS_1="extend",SSSS_2="__build",SSSS_3="contents",SSSS_4="type",SSSS_5="refine",SSSS_6="top_container",SSSS_7="blueprint.util.Validator",SSSS_8="nullable",SSSS_9="singleton",SSSS_10="object";qx.Class.define(SSSS_7,{extend:qx.core.Object,type:SSSS_9,construct:function(){this.__qR=blueprint.util.Schema.blueprint;},members:{importDefs:function(defs){this.__qR=blueprint.util.Misc.combineJson(this.__qR,defs);},check:function(json){var def=this.getDef(SSSS_6);return this._checkWorker(json,def);},_checkWorker:function(json,def,valid){if(valid===undefined){valid=true;}this.debug("_checkWorker("+qx.util.Json.stringify(json,true)+" // "+qx.util.Json.stringify(def,true)+")");for(var propName in def[SSSS_0]){var prop=def[SSSS_0][propName];if(prop[SSSS_8]==false&&json[propName]==null){this.warn("Non-nullable property \""+propName+"\" on object is null.");}if(prop[SSSS_4]&&json[propName]&&qx.lang.Type.getClass(json[propName])!=prop[SSSS_4]){this.warn("Property \""+propName+"\" ("+qx.lang.Type.getClass(json[propName])+") on object does not match ("+prop["type"]+") check specification.");}}for(var item in json[SSSS_3]){this.warn(json["contents"][item]["object"]);valid=this._checkWorker(json[SSSS_3][item][SSSS_10],def,valid);}return valid;},getDef:function(requestDef){if(this.__qR[requestDef]==undefined){throw new Error("Definition \""+requestDef+"\" not found!");}var def=this._getDefWorker(this.__qR[requestDef]);return def;},_getDefWorker:function(def){if(def[SSSS_2]==true){return def;}if(def[SSSS_1]!=undefined){if(this.__qR[def[SSSS_1]]!=undefined){var parentDef=this._getDefWorker(this.__qR[def[SSSS_1]]);for(var propName in parentDef[SSSS_0]){if(def[SSSS_0][propName]!=undefined){if(def[SSSS_0][propName][SSSS_5]!=true){throw new Error("Error in schema! \""+propName+"\" redefined, but refine key not set!");}}else{def[SSSS_0][propName]=parentDef[SSSS_0][propName];}}}else{throw new Error("Error in schema! \""+def["extend"]+"\" referenced, but not found!");}}def[SSSS_2]=true;return def;}}});})();(function(){var SSSS_0="Object",SSSS_1="String",SSSS_2="object",SSSS_3="$qxSettings",SSSS_4="$constructorSettings",SSSS_5="Array",SSSS_6="$blueprintScripts",SSSS_7="$components",SSSS_8="$blueprintFunctions",SSSS_9="blueprint.util.Schema",SSSS_10="top_container",SSSS_11="$contents",SSSS_12="application_container",SSSS_13="static";qx.Bootstrap.define(SSSS_9,{type:SSSS_13,statics:{blueprint:{"object":{"properties":{"objectClass":{"nullable":false,"type":SSSS_1},"objectId":{"type":SSSS_1},"type":{"check":SSSS_2,"type":SSSS_1},"qxSettings":{"check":SSSS_3,"type":SSSS_0},"constructorSettings":{"check":SSSS_4,"type":SSSS_0},"contents":{"check":SSSS_11,"type":SSSS_5},"components":{"check":SSSS_7,"type":SSSS_0}}},"top_container":{"extend":SSSS_2,"properties":{"type":{"refine":true,"check":[SSSS_10,SSSS_12],"type":SSSS_1},"scripts":{"check":SSSS_6,"type":SSSS_0},"functions":{"check":SSSS_8,"type":SSSS_0}}}}}});})();(function(){var SSSS_0="button",SSSS_1="",SSSS_2="close",SSSS_3="String",SSSS_4="_applyIcon",SSSS_5="page",SSSS_6="qx.event.type.Event",SSSS_7="_applyShowCloseButton",SSSS_8="tabview-page",SSSS_9="qx.ui.tabview.Page",SSSS_10="_applyLabel",SSSS_11="Boolean";qx.Class.define(SSSS_9,{extend:qx.ui.container.Composite,construct:function(label,icon){arguments.callee.base.call(this);this._createChildControl(SSSS_0);if(label!=null){this.setLabel(label);}if(icon!=null){this.setIcon(icon);}},events:{"close":SSSS_6},properties:{appearance:{refine:true,init:SSSS_8},label:{check:SSSS_3,init:SSSS_1,apply:SSSS_10},icon:{check:SSSS_3,init:SSSS_1,apply:SSSS_4},showCloseButton:{check:SSSS_11,init:false,apply:SSSS_7}},members:{_forwardStates:{barTop:1,barRight:1,barBottom:1,barLeft:1,firstTab:1,lastTab:1},_applyIcon:function(value,old){this.getChildControl(SSSS_0).setIcon(value);},_applyLabel:function(value,old){this.getChildControl(SSSS_0).setLabel(value);},_applyEnabled:function(value,old){arguments.callee.base.call(this,value,old);var btn=this.getChildControl(SSSS_0);value==null?btn.resetEnabled():btn.setEnabled(value);},_createChildControlImpl:function(id){var control;switch(id){case SSSS_0:control=new qx.ui.tabview.TabButton;control.setAllowGrowX(true);control.setAllowGrowY(true);control.setUserData(SSSS_5,this);control.addListener(SSSS_2,this._onButtonClose,this);break;}return control||arguments.callee.base.call(this,id);},_applyShowCloseButton:function(value,old){this.getChildControl(SSSS_0).setShowCloseButton(value);},_onButtonClose:function(){this.fireEvent(SSSS_2);},getButton:function(){return this.getChildControl(SSSS_0);}}});})();(function(){var SSSS_0="blueprint.ui.tabview.Page";qx.Class.define(SSSS_0,{extend:qx.ui.tabview.Page,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);this.setLayout(blueprint.util.Misc.generateLayout(vData.constructorSettings.innerLayout));},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="close-button",SSSS_1="middle",SSSS_2="left",SSSS_3="icon",SSSS_4="label",SSSS_5="right",SSSS_6="click",SSSS_7="Boolean",SSSS_8="bottom",SSSS_9="qx.ui.tabview.TabButton",SSSS_10="center",SSSS_11="_applyShowCloseButton",SSSS_12="top",SSSS_13="close",SSSS_14="qx.event.type.Data";qx.Class.define(SSSS_9,{extend:qx.ui.form.RadioButton,implement:qx.ui.form.IRadioItem,construct:function(){arguments.callee.base.call(this);var layout=new qx.ui.layout.Grid(2,0);layout.setRowAlign(0,SSSS_2,SSSS_1);layout.setColumnAlign(0,SSSS_5,SSSS_1);this._getLayout().dispose();this._setLayout(layout);this.initShowCloseButton();},events:{"close":SSSS_14},properties:{showCloseButton:{check:SSSS_7,init:false,apply:SSSS_11}},members:{_applyIconPosition:function(value,old){var children={icon:this.getChildControl(SSSS_3),label:this.getChildControl(SSSS_4),closeButton:this.getShowCloseButton()?this.getChildControl(SSSS_0):null};for(var child in children){if(children[child]){this._remove(children[child]);}}switch(value){case SSSS_12:this._add(children.label,{row:3,column:2});this._add(children.icon,{row:1,column:2});if(children.closeButton){this._add(children.closeButton,{row:0,column:4});}break;case SSSS_8:this._add(children.label,{row:1,column:2});this._add(children.icon,{row:3,column:2});if(children.closeButton){this._add(children.closeButton,{row:0,column:4});}break;case SSSS_2:this._add(children.label,{row:0,column:2});this._add(children.icon,{row:0,column:0});if(children.closeButton){this._add(children.closeButton,{row:0,column:4});}break;case SSSS_5:this._add(children.label,{row:0,column:0});this._add(children.icon,{row:0,column:2});if(children.closeButton){this._add(children.closeButton,{row:0,column:4});}break;}},_createChildControlImpl:function(id){var control;switch(id){case SSSS_4:var control=new qx.ui.basic.Label(this.getLabel());control.setAnonymous(true);this._add(control,{row:0,column:2});this._getLayout().setColumnFlex(2,1);break;case SSSS_3:control=new qx.ui.basic.Image(this.getIcon());control.setAnonymous(true);this._add(control,{row:0,column:0});break;case SSSS_0:control=new qx.ui.form.Button();control.addListener(SSSS_6,this._onCloseButtonClick,this);this._add(control,{row:0,column:4});if(!this.getShowCloseButton()){control.exclude();}break;}return control||arguments.callee.base.call(this,id);},_onCloseButtonClick:function(){this.fireDataEvent(SSSS_13,this);},_applyShowCloseButton:function(value,old){if(value){this._showChildControl(SSSS_0);}else{this._excludeChildControl(SSSS_0);}},_applyCenter:function(value){var layout=this._getLayout();if(value){layout.setColumnAlign(2,SSSS_10,SSSS_1);}else{layout.setColumnAlign(2,SSSS_2,SSSS_1);}}}});})();(function(){var SSSS_0="textarea",SSSS_1="qx.ui.form.TextArea",SSSS_2="_applyWrap",SSSS_3="Boolean";qx.Class.define(SSSS_1,{extend:qx.ui.form.AbstractField,construct:function(value){arguments.callee.base.call(this,value);this.initWrap();},properties:{wrap:{check:SSSS_3,init:true,apply:SSSS_2},appearance:{refine:true,init:SSSS_0}},members:{_createInputElement:function(){return new qx.html.Input(SSSS_0);},_applyWrap:function(value,old){this.getContentElement().setWrap(value);},_getContentHint:function(){var hint=arguments.callee.base.call(this);hint.height=hint.height*4;hint.width=this._getTextSize().width*20;return hint;}}});})();(function(){var SSSS_0="blueprint.ui.form.TextArea";qx.Class.define(SSSS_0,{extend:qx.ui.form.TextArea,include:[blueprint.MBlueprintManager,blueprint.ui.form.MSubmitElement],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="#ff0000",SSSS_1="blueprint.theme.Color";qx.Theme.define(SSSS_1,{extend:qx.theme.modern.Color,colors:{"background-invalid":SSSS_0,"border-invalid":SSSS_0}});})();(function(){var SSSS_0="blueprint.theme.Theme";qx.Theme.define(SSSS_0,{meta:{color:blueprint.theme.Color,decoration:blueprint.theme.Decoration,font:blueprint.theme.Font,icon:qx.theme.icon.Tango,appearance:blueprint.theme.Appearance}});})();(function(){var SSSS_0="Liberation Sans",SSSS_1="Tahoma",SSSS_2="Arial",SSSS_3="Lucida Grande",SSSS_4="monospace",SSSS_5="Courier New",SSSS_6="Consolas",SSSS_7="DejaVu Sans Mono",SSSS_8="blueprint.theme.ninja.Font";qx.Theme.define(SSSS_8,{extend:qx.theme.modern.Font,fonts:{"watermark":{size:qx.bom.client.System.WINVISTA?72:72,lineHeight:1,family:qx.bom.client.Platform.MAC?[SSSS_3]:qx.bom.client.System.WINVISTA?[SSSS_1,SSSS_0,SSSS_2]:[SSSS_1,SSSS_0,SSSS_2],bold:false},"default":{size:qx.bom.client.System.WINVISTA?11:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[SSSS_3]:qx.bom.client.System.WINVISTA?[SSSS_1,SSSS_0,SSSS_2]:[SSSS_1,SSSS_0,SSSS_2]},"bold":{size:qx.bom.client.System.WINVISTA?11:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[SSSS_3]:qx.bom.client.System.WINVISTA?[SSSS_1,SSSS_0,SSSS_2]:[SSSS_1,SSSS_0,SSSS_2],bold:true},"small":{size:qx.bom.client.System.WINVISTA?10:10,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[SSSS_3]:qx.bom.client.System.WINVISTA?[SSSS_1,SSSS_0,SSSS_2]:[SSSS_1,SSSS_0,SSSS_2]},"monospace":{size:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[SSSS_3]:qx.bom.client.System.WINVISTA?[SSSS_6,SSSS_7,SSSS_5,SSSS_4]:[SSSS_6,SSSS_7,SSSS_5,SSSS_4]}}});})();(function(){var SSSS_0="calculator",SSSS_1="datechooser",SSSS_2="combobox/button",SSSS_3="blueprint.theme.ninja.Appearance",SSSS_4="decoration/table/ascending.png",SSSS_5="combobox",SSSS_6="decoration/table/descending.png",SSSS_7="table-header-cell",SSSS_8="table-header-cell-hovered",SSSS_9="icon/16/apps/utilities-calculator.png",SSSS_10="atom";qx.Theme.define(SSSS_3,{extend:qx.theme.modern.Appearance,appearances:{"table-header-cell":{alias:SSSS_10,style:function(states){return {minWidth:5,minHeight:20,padding:states.hovered?[3,4,2,4]:[3,4],decorator:states.hovered?SSSS_8:SSSS_7,sortIcon:states.sorted?(states.sortedAscending?SSSS_4:SSSS_6):undefined};}},"calculate":SSSS_5,"calculate/button":{alias:SSSS_2,include:SSSS_2,style:function(states){return {icon:SSSS_9,padding:[0,3],decorator:undefined};}},"calculate/textfield":{style:function(states){return {padding:[2,4,1]};}},"calculate/list":{alias:SSSS_0,include:SSSS_1,style:function(states){return {decorator:undefined};}},"calculate/list/operation":{alias:SSSS_0,include:SSSS_1,style:function(states){return {decorator:undefined};}},"calculate/list/display":{alias:SSSS_0,include:SSSS_1,style:function(states){return {decorator:undefined};}},"calculate/list/label":{alias:SSSS_0,include:SSSS_1,style:function(states){return {decorator:undefined};}}}});})();(function(){var SSSS_0="Default",SSSS_1="blueprint.theme.Ninja";qx.Theme.define(SSSS_1,{title:SSSS_0,meta:{color:blueprint.theme.ninja.Color,decoration:blueprint.theme.ninja.Decoration,font:blueprint.theme.ninja.Font,appearance:blueprint.theme.ninja.Appearance}});})();(function(){var SSSS_0="on",SSSS_1="qx.debug",SSSS_2="checkbox",SSSS_3="qx.ui.form.CheckBox";qx.Class.define(SSSS_3,{extend:qx.ui.form.ToggleButton,include:[qx.ui.form.MForm,qx.ui.form.MModelProperty],implement:[qx.ui.form.IForm,qx.ui.form.IModel],construct:function(label){if(qx.core.Variant.isSet(SSSS_1,SSSS_0)){this.assertArgumentsCount(arguments,0,1);}arguments.callee.base.call(this,label);this.setValue(false);},properties:{appearance:{refine:true,init:SSSS_2},allowGrowX:{refine:true,init:false}}});})();(function(){var SSSS_0="blueprint.ui.form.CheckBox";qx.Class.define(SSSS_0,{extend:qx.ui.form.CheckBox,include:[blueprint.MBlueprintManager,blueprint.ui.form.MSubmitElement],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="blueprint.ui.treevirtual.SimpleTreeDataModel";qx.Class.define(SSSS_0,{extend:qx.ui.treevirtual.SimpleTreeDataModel,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},members:{},destruct:function(){}});})();(function(){var SSSS_0="blueprint.ui.table.model.Simple";qx.Class.define(SSSS_0,{extend:qx.ui.table.model.Simple,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);this.setColumns(vData.constructorSettings.columns);this.setData(vData.constructorSettings.rowData);},members:{},destruct:function(){}});})();(function(){var SSSS_0="modelSelection[0]",SSSS_1="value",SSSS_2="changeModel",SSSS_3="qx.core.Object",SSSS_4="_applyTarget",SSSS_5="qx.data.controller.Form",SSSS_6="changeTarget",SSSS_7=".",SSSS_8="qx.ui.form.Form",SSSS_9="_applyModel";qx.Class.define(SSSS_5,{extend:qx.core.Object,construct:function(model,target){arguments.callee.base.call(this);this.__qS={};if(model!=null){this.setModel(model);}if(target!=null){this.setTarget(target);}},properties:{model:{check:SSSS_3,apply:SSSS_9,event:SSSS_2,nullable:true},target:{check:SSSS_8,apply:SSSS_4,event:SSSS_6,nullable:true,init:null}},members:{__qT:null,__qS:null,addBindingOptions:function(name,model2target,target2model){this.__qS[name]=[model2target,target2model];if(this.getModel()==null||this.getTarget()==null){return;}var item=this.getTarget().getItems()[name];var targetProperty=this.__qW(item)?SSSS_0:SSSS_1;this.__qT.removeTarget(item,targetProperty,name);this.__qT.addTarget(item,targetProperty,name,true,model2target,target2model);},createModel:function(includeBubbleEvents){var target=this.getTarget();if(target==null){throw new Error("No target is set.");}var items=target.getItems();var data={};for(var name in items){var names=name.split(SSSS_7);var currentData=data;for(var i=0;i<names.length;i++){if(i+1==names.length){var clazz=items[name].constructor;if(qx.Class.hasInterface(clazz,qx.ui.core.ISingleSelection)){currentData[names[i]]=items[name].getModelSelection();}else{currentData[names[i]]=items[name].getValue();}}else{if(!currentData[names[i]]){currentData[names[i]]={};}currentData=currentData[names[i]];}}}var model=qx.data.marshal.Json.createModel(data,includeBubbleEvents);this.setModel(model);return model;},_applyTarget:function(value,old){if(old!=null){this.__qV(old);}if(this.getModel()==null){return;}if(value!=null){this.__qU();}},_applyModel:function(value,old){if(this.__qT!=null){this.__qT.setModel(value);}if(this.getTarget()==null){return;}if(value!=null){this.__qU();}},__qU:function(){if(this.__qT==null){this.__qT=new qx.data.controller.Object(this.getModel());}var items=this.getTarget().getItems();for(var name in items){var item=items[name];var targetProperty=this.__qW(item)?SSSS_0:SSSS_1;var options=this.__qS[name];if(options==null){this.__qT.addTarget(item,targetProperty,name,true);}else{this.__qT.addTarget(item,targetProperty,name,true,options[0],options[1]);}}},__qV:function(oldTarget){if(this.__qT==null){return;}var items=oldTarget.getItems();for(var name in items){var item=items[name];var targetProperty=this.__qW(item)?SSSS_0:SSSS_1;this.__qT.removeTarget(item,targetProperty,name);}},__qW:function(item){return qx.Class.hasInterface(item.constructor,qx.ui.core.ISingleSelection)&&qx.Class.hasInterface(item.constructor,qx.ui.form.IModelSelection);}}});})();(function(){var SSSS_0="blueprint.data.controller.Form";qx.Class.define(SSSS_0,{extend:qx.data.controller.Form,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){var form=blueprint.util.Registry.getInstance().getByNamespace(namespace,vData.constructorSettings.model);arguments.callee.base.call(this,null,form);this.set(vData.qxSettings);this.createModel();form.setController(this);},properties:{},members:{}});})();(function(){var SSSS_0="qx.data.marshal.IMarshaler";qx.Interface.define(SSSS_0,{members:{toClass:function(data,includeBubbleEvents){},toModel:function(data){}}});})();(function(){var SSSS_0="qx.data.model.",SSSS_1="",SSSS_2='"',SSSS_3="change",SSSS_4="qx.data.marshal.Json",SSSS_5="set",SSSS_6="_applyEventPropagation";qx.Class.define(SSSS_4,{extend:qx.core.Object,implement:[qx.data.marshal.IMarshaler],construct:function(delegate){arguments.callee.base.call(this);this.__qX=delegate;},statics:{__qY:null,createModel:function(data,includeBubbleEvents){if(this.__qY===null){this.__qY=new qx.data.marshal.Json();}this.__qY.toClass(data,includeBubbleEvents);return this.__qY.toModel(data);}},members:{__qX:null,__ra:function(data){var properties=[];for(var key in data){properties.push(key);}return properties.sort().join(SSSS_2);},toClass:function(data,includeBubbleEvents){if(qx.lang.Type.isNumber(data)||qx.lang.Type.isString(data)||qx.lang.Type.isBoolean(data)||data==null){return;}if(qx.lang.Type.isArray(data)){for(var i=0;i<data.length;i++){this.toClass(data[i],includeBubbleEvents);}return ;}var hash=this.__ra(data);if(this.__qX&&this.__qX.getModelClass&&this.__qX.getModelClass(hash)!=null){return;}for(var key in data){this.toClass(data[key],includeBubbleEvents);}if(qx.Class.isDefined(SSSS_0+hash)){return;}var properties={};for(var key in data){key=key.replace(/-/g,SSSS_1);properties[key]={};properties[key].nullable=true;properties[key].event=SSSS_3+qx.lang.String.firstUp(key);if(includeBubbleEvents){properties[key].apply=SSSS_6;}}if(this.__qX&&this.__qX.getModelSuperClass){var superClass=this.__qX.getModelSuperClass(hash)||qx.core.Object;}else{var superClass=qx.core.Object;}var mixins=[];if(this.__qX&&this.__qX.getModelMixins){var delegateMixins=this.__qX.getModelMixins(hash);if(!qx.lang.Type.isArray(delegateMixins)){if(delegateMixins!=null){mixins=[delegateMixins];}}}if(includeBubbleEvents){mixins.push(qx.data.marshal.MEventBubbling);}var newClass={extend:superClass,include:mixins,properties:properties};qx.Class.define(SSSS_0+hash,newClass);},__rb:function(hash){var delegateClass;if(this.__qX&&this.__qX.getModelClass){delegateClass=this.__qX.getModelClass(hash);}if(delegateClass!=null){return (new delegateClass());}else{var clazz=qx.Class.getByName(SSSS_0+hash);return (new clazz());}},toModel:function(data){if(qx.lang.Type.isNumber(data)||qx.lang.Type.isString(data)||qx.lang.Type.isBoolean(data)||qx.lang.Type.isDate(data)||data==null){return data;}else if(qx.lang.Type.isArray(data)){var array=new qx.data.Array();for(var i=0;i<data.length;i++){array.push(this.toModel(data[i]));}return array;}else if(qx.lang.Type.isObject(data)){var hash=this.__ra(data);var model=this.__rb(hash);for(var key in data){var propertyName=key.replace(/-/g,SSSS_1);model[SSSS_5+qx.lang.String.firstUp(propertyName)](this.toModel(data[key]));}return model;}throw new Error("Unsupported type!");}},destruct:function(){this.__qX=null;}});})();(function(){var SSSS_0="changeModel",SSSS_1="qx.core.Object",SSSS_2="reset",SSSS_3="qx.data.controller.Object",SSSS_4="_applyModel";qx.Class.define(SSSS_3,{extend:qx.core.Object,construct:function(model){arguments.callee.base.call(this);this.__rc={};this.__rd=[];if(model!=null){this.setModel(model);}},properties:{model:{check:SSSS_1,event:SSSS_0,apply:SSSS_4,nullable:true}},members:{__rd:null,__rc:null,_applyModel:function(value,old){for(var i=0;i<this.__rd.length;i++){var targetObject=this.__rd[i][0];var targetProperty=this.__rd[i][1];var sourceProperty=this.__rd[i][2];var bidirectional=this.__rd[i][3];var options=this.__rd[i][4];var reverseOptions=this.__rd[i][5];if(old!=undefined){this.__rf(targetObject,targetProperty,sourceProperty,old);}if(value!=undefined){this.__re(targetObject,targetProperty,sourceProperty,bidirectional,options,reverseOptions);}else{targetObject[SSSS_2+qx.lang.String.firstUp(targetProperty)]();}}},addTarget:function(targetObject,targetProperty,sourceProperty,bidirectional,options,reverseOptions){this.__rd.push([targetObject,targetProperty,sourceProperty,bidirectional,options,reverseOptions]);this.__re(targetObject,targetProperty,sourceProperty,bidirectional,options,reverseOptions);},__re:function(targetObject,targetProperty,sourceProperty,bidirectional,options,reverseOptions){if(this.getModel()==null){return;}var id=this.getModel().bind(sourceProperty,targetObject,targetProperty,options);var idReverse=null;if(bidirectional){idReverse=targetObject.bind(targetProperty,this.getModel(),sourceProperty,reverseOptions);}var targetHash=targetObject.toHashCode();if(this.__rc[targetHash]==undefined){this.__rc[targetHash]=[];}this.__rc[targetHash].push([id,idReverse,targetProperty,sourceProperty,options,reverseOptions]);},removeTarget:function(targetObject,targetProperty,sourceProperty){this.__rf(targetObject,targetProperty,sourceProperty,this.getModel());for(var i=0;i<this.__rd.length;i++){if(this.__rd[i][0]==targetObject&&this.__rd[i][1]==targetProperty&&this.__rd[i][2]==sourceProperty){this.__rd.splice(i,1);}}},__rf:function(targetObject,targetProperty,sourceProperty,sourceObject){if(!(targetObject instanceof qx.core.Object)){return ;}var currentListing=this.__rc[targetObject.toHashCode()];if(currentListing==undefined||currentListing.length==0){return;}for(var i=0;i<currentListing.length;i++){if(currentListing[i][2]==targetProperty&&currentListing[i][3]==sourceProperty){var id=currentListing[i][0];sourceObject.removeBinding(id);if(currentListing[i][1]!=null){targetObject.removeBinding(currentListing[i][1]);}currentListing.splice(i,1);return;}}}},destruct:function(){this.__rc=this.__rd=null;}});})();(function(){var SSSS_0="qx.ui.form.RadioGroup",SSSS_1="_applyGroup",SSSS_2="qx.ui.toolbar.RadioButton";qx.Class.define(SSSS_2,{extend:qx.ui.toolbar.CheckBox,include:[qx.ui.form.MModelProperty],implement:[qx.ui.form.IModel,qx.ui.form.IRadioItem],properties:{group:{check:SSSS_0,apply:SSSS_1,nullable:true}},members:{_applyValue:function(value,old){arguments.callee.base.call(this,value,old);if(value){var grp=this.getGroup();if(grp){grp.setSelection([this]);}}},_applyGroup:function(value,old){if(old){old.remove(this);}if(value){value.add(this);}}}});})();(function(){var SSSS_0="blueprint.ui.toolbar.RadioButton";qx.Class.define(SSSS_0,{extend:qx.ui.toolbar.RadioButton,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},members:{},destruct:function(){}});})();(function(){var SSSS_0="changeSelection",SSSS_1="change",SSSS_2="qx.data.Array",SSSS_3="qx.data.controller.MSelection",SSSS_4="_applySelection",SSSS_5="target";qx.Mixin.define(SSSS_3,{construct:function(){if(!qx.Class.hasProperty(this.constructor,SSSS_5)){throw new Error("Target property is needed.");}if(this.getSelection()==null){this.setSelection(new qx.data.Array());}},properties:{selection:{check:SSSS_2,event:SSSS_0,apply:SSSS_4,init:null}},members:{_modifingSelection:0,__rg:null,__rh:null,_applySelection:function(value,old){if(this.__rh!=undefined&&old!=undefined){old.removeListenerById(this.__rh);}this.__rh=value.addListener(SSSS_1,this.__ri,this);},__ri:function(){this._updateSelection();},_changeTargetSelection:function(){if(this._inSelectionModification()||this.getTarget()==null){return;}var targetSelection=this.getTarget().getSelection();var selection=this.getSelection();if(selection==null){selection=new qx.data.Array();this.setSelection(selection);}if(targetSelection.length>0){selection.toArray().splice(0,selection.getLength());}else{selection.splice(0,this.getSelection().getLength());}for(var i=0;i<targetSelection.length;i++){var item=targetSelection[i].getModel();if(i+1==targetSelection.length){selection.push(item);}else{selection.toArray().push(item);}}this.fireDataEvent(SSSS_0,this.getSelection());},_addChangeTargetListener:function(value,old){if(this.__rg!=undefined&&old!=undefined){old.removeListenerById(this.__rg);}if(value!=null){if(this.__rj()||this.__rk()){this.__rg=value.addListener(SSSS_0,this._changeTargetSelection,this);}}},_updateSelection:function(){this._startSelectionModification();if(this.__rj()){var targetSelection=[];for(var i=0;i<this.getSelection().length;i++){var model=this.getSelection().getItem(i);var selectable=this.__rm(model);if(selectable!=null){targetSelection.push(selectable);}}this.getTarget().setSelection(targetSelection);targetSelection=this.getTarget().getSelection();var targetSelectionItems=[];for(var i=0;i<targetSelection.length;i++){targetSelectionItems[i]=targetSelection[i].getModel();}for(var i=this.getSelection().length-1;i>=0;i--){if(!qx.lang.Array.contains(targetSelectionItems,this.getSelection().getItem(i))){this.getSelection().splice(i,1);}}}else if(this.__rk()){this.__rl(this.getSelection().getItem(this.getSelection().length-1));this.getSelection().splice(0,this.getSelection().getLength()-1);}this._endSelectionModification();},__rj:function(){var targetClass=this.getTarget().constructor;return qx.Class.implementsInterface(targetClass,qx.ui.core.IMultiSelection);},__rk:function(){var targetClass=this.getTarget().constructor;return qx.Class.implementsInterface(targetClass,qx.ui.core.ISingleSelection);},__rl:function(item){var selectable=this.__rm(item);if(selectable==null){return;}if(this.__rj()){this.getTarget().addToSelection(selectable);}else if(this.__rk()){this.getTarget().setSelection([selectable]);}},__rm:function(model){var children=this.getTarget().getSelectables();for(var i=0;i<children.length;i++){if(children[i].getModel()==model){return children[i];}}return null;},_startSelectionModification:function(){this._modifingSelection++;},_endSelectionModification:function(){this._modifingSelection>0?this._modifingSelection--:null;},_inSelectionModification:function(){return this._modifingSelection>0;}}});})();(function(){var SSSS_0="change",SSSS_1="ReverseBindingId",SSSS_2="BindingId",SSSS_3="",SSSS_4="]",SSSS_5="model[",SSSS_6="String",SSSS_7=".",SSSS_8="changeModel",SSSS_9="_applyLabelOptions",SSSS_10="_applyLabelPath",SSSS_11="changeTarget",SSSS_12="changeLength",SSSS_13="_applyModel",SSSS_14="icon",SSSS_15="qx.data.controller.List",SSSS_16="_applyIconPath",SSSS_17="_applyDelegate",SSSS_18="changeDelegate",SSSS_19="_applyTarget",SSSS_20="qx.data.IListData",SSSS_21="label",SSSS_22="_applyIconOptions";qx.Class.define(SSSS_15,{extend:qx.core.Object,include:qx.data.controller.MSelection,construct:function(model,target,labelPath){arguments.callee.base.call(this);this.__rn=[];this.__ro=[];this.__rp=[];this.__rq={};if(labelPath!=null){this.setLabelPath(labelPath);}if(model!=null){this.setModel(model);}if(target!=null){this.setTarget(target);}},properties:{model:{check:SSSS_20,apply:SSSS_13,event:SSSS_8,nullable:true},target:{apply:SSSS_19,event:SSSS_11,nullable:true,init:null},labelPath:{check:SSSS_6,apply:SSSS_10,nullable:true},iconPath:{check:SSSS_6,apply:SSSS_16,nullable:true},labelOptions:{apply:SSSS_9,nullable:true},iconOptions:{apply:SSSS_22,nullable:true},delegate:{apply:SSSS_17,event:SSSS_18,init:null,nullable:true}},members:{__rr:null,__rs:null,__rn:null,__rq:null,__ro:null,__rp:null,update:function(){this.__ru();this.__ry();this._updateSelection();},_applyDelegate:function(value,old){this._setConfigureItem(value,old);this._setFilter(value,old);this._setCreateItem(value,old);this._setBindItem(value,old);},_applyIconOptions:function(value,old){this.__ry();},_applyLabelOptions:function(value,old){this.__ry();},_applyIconPath:function(value,old){this.__ry();},_applyLabelPath:function(value,old){this.__ry();},_applyModel:function(value,old){if(old!=undefined){if(this.__rr!=undefined){old.removeListenerById(this.__rr);}if(this.__rs!=undefined){old.removeListenerById(this.__rs);}}if(this.getSelection()!=undefined&&this.getSelection().length>0){this.getSelection().splice(0,this.getSelection().length);}if(value!=null){this.__rr=value.addListener(SSSS_12,this.__ru,this);this.__rs=value.addListener(SSSS_0,this.__rt,this);this.__rA();this.__ru();if(this.getTarget()!=null){var model=this.getModel();var children=this.getTarget().getChildren();for(var i=0,l=this.__rn.length;i<l;i++){var modelNode=model.getItem(this.__rB(i));var listItem=children[i];listItem.setModel(modelNode);}}this._changeTargetSelection();}},_applyTarget:function(value,old){this._addChangeTargetListener(value,old);if(old!=undefined){old.removeAll();this.removeAllBindings();}if(value!=null){if(this.getModel()!=null){for(var i=0;i<this.__rn.length;i++){this.__rw(this.__rB(i));}}}},__rt:function(){for(var i=this.getSelection().length-1;i>=0;i--){if(!this.getModel().contains(this.getSelection().getItem(i))){this.getSelection().splice(i,1);}}qx.ui.core.queue.Widget.add(this);if(this.__rn.length!=this.getModel().getLength()){this.update();}},syncWidget:function(){this._updateSelection();},__ru:function(){if(this.getTarget()==null){return;}this.__rA();var newLength=this.__rn.length;var currentLength=this.getTarget().getChildren().length;if(newLength>currentLength){for(var j=currentLength;j<newLength;j++){this.__rw(this.__rB(j));}}else if(newLength<currentLength){for(var j=currentLength;j>newLength;j--){this.__rx();}}},__rv:function(){var model=this.getModel();if(model!=null){model.removeListenerById(this.__rs);this.__rs=model.addListener(SSSS_0,this.__rt,this);}},_createItem:function(){var delegate=this.getDelegate();if(delegate!=null&&delegate.createItem!=null){var item=delegate.createItem();}else{var item=new qx.ui.form.ListItem();}if(delegate!=null&&delegate.configureItem!=null){delegate.configureItem(item);}return item;},__rw:function(index){var listItem=this._createItem();listItem.setModel(this.getModel().getItem(index)||null);this._bindListItem(listItem,index);this.getTarget().add(listItem);},__rx:function(){this._startSelectionModification();var children=this.getTarget().getChildren();var index=children.length-1;var oldItem=children[index];this._removeBindingsFrom(oldItem);this.getTarget().removeAt(index);oldItem.destroy();this._endSelectionModification();},getVisibleModels:function(){var visibleModels=[];var target=this.getTarget();if(target!=null){var items=target.getChildren();for(var i=0;i<items.length;i++){visibleModels.push(items[i].getModel());}}return new qx.data.Array(visibleModels);},_bindListItem:function(item,index){var delegate=this.getDelegate();if(delegate!=null&&delegate.bindItem!=null){delegate.bindItem(this,item,index);}else{this.bindDefaultProperties(item,index);}},bindDefaultProperties:function(item,index){this.bindProperty(this.getLabelPath(),SSSS_21,this.getLabelOptions(),item,index);if(this.getIconPath()!=null){this.bindProperty(this.getIconPath(),SSSS_14,this.getIconOptions(),item,index);}},bindProperty:function(sourcePath,targetProperty,options,targetWidget,index){targetWidget.setModel(this.getModel().getItem(index));if(options!=null){var options=qx.lang.Object.clone(options);this.__rq[targetProperty]=options.onUpdate;delete options.onUpdate;}else{options={};this.__rq[targetProperty]=null;}options.onUpdate=qx.lang.Function.bind(this._onBindingSet,this,index);var bindPath=SSSS_5+index+SSSS_4;if(sourcePath!=null&&sourcePath!=SSSS_3){bindPath+=SSSS_7+sourcePath;}var id=this.bind(bindPath,targetWidget,targetProperty,options);targetWidget.setUserData(targetProperty+SSSS_2,id);if(!qx.lang.Array.contains(this.__ro,targetProperty)){this.__ro.push(targetProperty);}},bindPropertyReverse:function(targetPath,sourcePath,options,sourceWidget,index){var targetBindPath=SSSS_5+index+SSSS_4;if(targetPath!=null&&targetPath!=SSSS_3){targetBindPath+=SSSS_7+targetPath;}var id=sourceWidget.bind(sourcePath,this,targetBindPath,options);sourceWidget.setUserData(targetPath+SSSS_1,id);if(!qx.lang.Array.contains(this.__rp,targetPath)){this.__rp.push(targetPath);}},_onBindingSet:function(index,sourceObject,targetObject){if(this.getModel()==null||this._inSelectionModification()){return;}for(var i=0;i<this.__ro.length;i++){if(this.__rq[this.__ro[i]]!=null){this.__rq[this.__ro[i]]();}}var itemModel=this.getModel().getItem(index);targetObject.setModel(itemModel==undefined?null:itemModel);},_removeBindingsFrom:function(item){for(var i=0;i<this.__ro.length;i++){var id=item.getUserData(this.__ro[i]+SSSS_2);if(id!=null){this.removeBinding(id);}}for(var i=0;i<this.__rp.length;i++){var id=item.getUserData(this.__rp[i]+SSSS_1);if(id!=null){item.removeBinding(id);}}},__ry:function(){if(this.getTarget()==null||this.getModel()==null){return;}var items=this.getTarget().getChildren();for(var i=0;i<items.length;i++){this._removeBindingsFrom(items[i]);this._bindListItem(items[i],this.__rB(i));}this.__rv();},_setConfigureItem:function(value,old){if(value!=null&&value.configureItem!=null&&this.getTarget()!=null){var children=this.getTarget().getChildren();for(var i=0;i<children.length;i++){value.configureItem(children[i]);}}},_setBindItem:function(value,old){if(value!=null&&value.bindItem!=null){if(old!=null&&old.bindItem!=null&&value.bindItem==old.bindItem){return;}this.__ry();}},_setCreateItem:function(value,old){if(this.getTarget()==null||this.getModel()==null||value==null||value.createItem==null){return;}this._startSelectionModification();var children=this.getTarget().getChildren();for(var i=0,l=children.length;i<l;i++){this._removeBindingsFrom(children[i]);}this.getTarget().removeAll();this.update();this._endSelectionModification();this._updateSelection();},_setFilter:function(value,old){if((value==null||value.filter==null)&&(old!=null&&old.filter!=null)){this.__rz();}if(this.getTarget()==null||this.getModel()==null||value==null||value.filter==null){return;}this._startSelectionModification();var children=this.getTarget().getChildren();for(var i=0,l=children.length;i<l;i++){this._removeBindingsFrom(children[i]);}var oldTable=this.__rn;this.__rA();if(oldTable.length>this.__rn.length){for(var j=oldTable.length;j>this.__rn.length;j--){this.getTarget().removeAt(j-1);}}else if(oldTable.length<this.__rn.length){for(var j=oldTable.length;j<this.__rn.length;j++){var tempItem=this._createItem();this.getTarget().add(tempItem);}}var listItems=this.getTarget().getChildren();for(var i=0;i<listItems.length;i++){this._bindListItem(listItems[i],this.__rB(i));}this.__rv();this._endSelectionModification();this._updateSelection();},__rz:function(){this.__rA();this.__ru();this.__ry();qx.ui.core.queue.Widget.add(this);},__rA:function(){var model=this.getModel();if(model==null){return;}var delegate=this.getDelegate();if(delegate!=null){var filter=delegate.filter;}this.__rn=[];for(var i=0;i<model.getLength();i++){if(filter==null||filter(model.getItem(i))){this.__rn.push(i);}}},__rB:function(index){return this.__rn[index];}},destruct:function(){this.__rn=this.__rq=this.__ro=null;this.__rp=null;}});})();(function(){var SSSS_0="function",SSSS_1="blueprint.data.controller.List";qx.Class.define(SSSS_1,{extend:qx.data.controller.List,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){var model=null;var target=null;var labelPath=null;if(vData.constructorSettings!=undefined){if(vData.constructorSettings.model!=undefined){model=blueprint.util.Registry.getInstance().getByNamespace(namespace,vData.constructorSettings.model);if(typeof model.getValue==SSSS_0){model=blueprint.util.Registry.getInstance().getByNamespace(namespace,vData.constructorSettings.model).getValue();}}if(vData.constructorSettings.target!=undefined){target=blueprint.util.Registry.getInstance().getByNamespace(namespace,vData.constructorSettings.target);}if(vData.constructorSettings.labelPath!=undefined){}}arguments.callee.base.call(this,model,target,labelPath);this.set(vData.qxSettings);},properties:{}});})();(function(){var SSSS_0="blueprint.ui.form.TextField";qx.Class.define(SSSS_0,{extend:qx.ui.form.TextField,include:[blueprint.MBlueprintManager,blueprint.ui.form.MSubmitElement],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="blueprint.ui.toolbar.Button";qx.Class.define(SSSS_0,{extend:qx.ui.toolbar.Button,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="qx.ui.form.Form",SSSS_1="This message will removed. Use new rendererClass(form) instead.",SSSS_2="";qx.Class.define(SSSS_0,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.__rC=[];this.__rD=[];this.__rE=new qx.ui.form.validation.Manager();this.__rF=new qx.ui.form.Resetter();},members:{__rC:null,__rE:null,__rG:0,__rD:null,__rF:null,add:function(item,label,validator,name){if(this.__rH()){this.__rC.push({title:null,items:[],labels:[],names:[]});}this.__rC[this.__rG].items.push(item);this.__rC[this.__rG].labels.push(label);if(name==null){name=label.replace(/\s+/g,SSSS_2);}this.__rC[this.__rG].names.push(name);this.__rE.add(item,validator);this.__rF.add(item);},addGroupHeader:function(title){if(!this.__rH()){this.__rG++;}this.__rC.push({title:title,items:[],labels:[],names:[]});},addButton:function(button){this.__rD.push(button);},__rH:function(){return this.__rC.length===0;},reset:function(){this.__rF.reset();this.__rE.reset();},redefineResetter:function(){this.__rF.redefine();},validate:function(){return this.__rE.validate();},getValidationManager:function(){return this.__rE;},getGroups:function(){return this.__rC;},getButtons:function(){return this.__rD;},createView:function(rendererClass){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_1);if(rendererClass==null){rendererClass=qx.ui.form.renderer.Single;}return new rendererClass(this);},getItems:function(){var items={};for(var i=0;i<this.__rC.length;i++){var group=this.__rC[i];for(var j=0;j<group.names.length;j++){var name=group.names[j];items[name]=group.items[j];}}return items;}}});})();(function(){var SSSS_0="form",SSSS_1="function",SSSS_2="blueprint.data.Form",SSSS_3="execute",SSSS_4="blueprint.data.controller.Form";qx.Class.define(SSSS_2,{extend:qx.ui.form.Form,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);var formElements=blueprint.util.Registry.getInstance().getContextByNamespace(namespace,SSSS_0);for(var elm in formElements){if(typeof formElements[elm].getBlueprintForm==SSSS_1&&formElements[elm].getBlueprintForm()==vData.objectId){this.add(formElements[elm],elm);}}if(vData.constructorSettings.resetButton!=undefined){var button=blueprint.util.Registry.getInstance().getByNamespace(namespace,vData.constructorSettings.resetButton);button.addListener(SSSS_3,function(e){this.reset();},this);}},properties:{controller:{check:SSSS_4}},members:{}});})();(function(){var SSSS_0="",SSSS_1="complete",SSSS_2="changeValid",SSSS_3="qx.event.type.Event",SSSS_4="value instanceof Function || qx.Class.isSubClassOf(value.constructor, qx.ui.form.validation.AsyncValidator)",SSSS_5="qx.ui.form.validation.Manager",SSSS_6="This field is required",SSSS_7="String",SSSS_8="qx.event.type.Data";qx.Class.define(SSSS_5,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.__rI=[];this.__rJ={};},events:{"changeValid":SSSS_8,"complete":SSSS_3},properties:{validator:{check:SSSS_4,init:null,nullable:true},invalidMessage:{check:SSSS_7,init:SSSS_0}},members:{__rI:null,__rK:null,__rJ:null,__rL:null,add:function(formItem,validator){if(!this.__rQ(formItem)){throw new Error("Added widget not supported.");}if(this.__rR(formItem)){if(validator!=null){throw new Error("Widgets suporting selection can only be validated "+"in the form validator");}}var dataEntry={item:formItem,validator:validator,valid:null};this.__rI.push(dataEntry);},validate:function(){var valid=true;this.__rL=true;var items=[];for(var i=0;i<this.__rI.length;i++){var formItem=this.__rI[i].item;var validator=this.__rI[i].validator;items.push(formItem);if(validator==null){var validatorResult=this.__rM(formItem);valid=valid&&validatorResult;this.__rL=validatorResult&&this.__rL;continue;}var validatorResult=this.__rN(this.__rI[i],formItem.getValue());valid=validatorResult&&valid;if(validatorResult!=null){this.__rL=validatorResult&&this.__rL;}}var formValid=this.__rO(items);if(qx.lang.Type.isBoolean(formValid)){this.__rL=formValid&&this.__rL;}valid=formValid&&valid;this.__rT(valid);if(qx.lang.Object.isEmpty(this.__rJ)){this.fireEvent(SSSS_1);}return valid;},__rM:function(formItem){if(formItem.getRequired()){if(this.__rR(formItem)){var validatorResult=!!formItem.getSelection()[0];}else{var validatorResult=!!formItem.getValue();}formItem.setValid(validatorResult);formItem.setInvalidMessage(SSSS_6);return validatorResult;}return true;},__rN:function(dataEntry,value){var formItem=dataEntry.item;var validator=dataEntry.validator;if(this.__rP(validator)){this.__rJ[formItem.toHashCode()]=null;validator.validate(formItem,formItem.getValue(),this);return null;}var validatorResult=null;try{var validatorResult=validator(value,formItem);if(validatorResult===undefined){validatorResult=true;}}catch(e){if(e instanceof qx.core.ValidationError){validatorResult=false;if(e.message&&e.message!=qx.type.BaseError.DEFAULTMESSAGE){var invalidMessage=e.message;}else{var invalidMessage=e.getComment();}formItem.setInvalidMessage(invalidMessage);}else{throw e;}}formItem.setValid(validatorResult);dataEntry.valid=validatorResult;return validatorResult;},__rO:function(items){var formValidator=this.getValidator();if(formValidator==null){return true;}this.setInvalidMessage(SSSS_0);if(this.__rP(formValidator)){this.__rJ[this.toHashCode()]=null;formValidator.validateForm(items,this);return null;}try{var formValid=formValidator(items,this);if(formValid===undefined){formValid=true;}}catch(e){if(e instanceof qx.core.ValidationError){formValid=false;if(e.message&&e.message!=qx.type.BaseError.DEFAULTMESSAGE){var invalidMessage=e.message;}else{var invalidMessage=e.getComment();}this.setInvalidMessage(invalidMessage);}else{throw e;}}return formValid;},__rP:function(validator){var async=false;if(!qx.lang.Type.isFunction(validator)){async=qx.Class.isSubClassOf(validator.constructor,qx.ui.form.validation.AsyncValidator);}return async;},__rQ:function(formItem){var clazz=formItem.constructor;return qx.Class.hasInterface(clazz,qx.ui.form.IForm);},__rR:function(formItem){var clazz=formItem.constructor;return qx.Class.hasInterface(clazz,qx.ui.core.ISingleSelection);},__rS:function(formItem){var clazz=formItem.constructor;return (qx.Class.hasInterface(clazz,qx.ui.form.IBooleanForm)||qx.Class.hasInterface(clazz,qx.ui.form.IColorForm)||qx.Class.hasInterface(clazz,qx.ui.form.IDateForm)||qx.Class.hasInterface(clazz,qx.ui.form.INumberForm)||qx.Class.hasInterface(clazz,qx.ui.form.IStringForm));},__rT:function(value){var oldValue=this.__rK;this.__rK=value;if(oldValue!=value){this.fireDataEvent(SSSS_2,value,oldValue);}},getValid:function(){return this.__rK;},isValid:function(){return this.getValid();},getInvalidMessages:function(){var messages=[];for(var i=0;i<this.__rI.length;i++){var formItem=this.__rI[i].item;if(!formItem.getValid()){messages.push(formItem.getInvalidMessage());}}if(this.getInvalidMessage()!=SSSS_0){messages.push(this.getInvalidMessage());}return messages;},reset:function(){for(var i=0;i<this.__rI.length;i++){var dataEntry=this.__rI[i];dataEntry.item.setValid(true);}this.__rK=null;},setItemValid:function(formItem,valid){this.__rJ[formItem.toHashCode()]=valid;formItem.setValid(valid);this.__rU();},setFormValid:function(valid){this.__rJ[this.toHashCode()]=valid;this.__rU();},__rU:function(){var valid=this.__rL;for(var hash in this.__rJ){var currentResult=this.__rJ[hash];valid=currentResult&&valid;if(currentResult==null){return;}}this.__rT(valid);this.__rJ={};this.fireEvent(SSSS_1);}},destruct:function(){this.__rI=null;}});})();(function(){var SSSS_0="qx.ui.form.validation.AsyncValidator";qx.Class.define(SSSS_0,{extend:qx.core.Object,construct:function(validator){arguments.callee.base.call(this);this.__rV=validator;},members:{__rV:null,__rW:null,__rX:null,__rY:null,validate:function(item,value,manager){this.__rY=false;this.__rW=item;this.__rX=manager;this.__rV(this,value);},validateForm:function(items,manager){this.__rY=true;this.__rX=manager;this.__rV(items,this);},setValid:function(valid,message){if(this.__rY){if(message!==undefined){this.__rX.setInvalidMessage(message);}this.__rX.setFormValid(valid);}else{if(message!==undefined){this.__rW.setInvalidMessage(message);}this.__rX.setItemValid(this.__rW,valid);}}},destruct:function(){this.__rX=this.__rW=null;}});})();(function(){var SSSS_0="qx.ui.form.IColorForm",SSSS_1="qx.event.type.Data";qx.Interface.define(SSSS_0,{events:{"changeValue":SSSS_1},members:{setValue:function(value){return arguments.length==1;},resetValue:function(){},getValue:function(){}}});})();(function(){var SSSS_0="qx.ui.form.Resetter";qx.Class.define(SSSS_0,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this.__sa=[];},members:{__sa:null,add:function(item){if(this.__se(item)){var init=item.getValue();}else if(this.__sd(item)){var init=item.getSelection();}else{throw new Error("Item "+item+" not supported for reseting.");}this.__sa.push({item:item,init:init});},reset:function(){for(var i=0;i<this.__sa.length;i++){var dataEntry=this.__sa[i];this.__sb(dataEntry.item,dataEntry.init);}},resetItem:function(item){var init;for(var i=0;i<this.__sa.length;i++){var dataEntry=this.__sa[i];if(dataEntry.item===item){init=dataEntry.init;break;}}if(init===undefined){throw new Error("The given item has not been added.");}this.__sb(item,init);},__sb:function(item,init){if(this.__se(item)){item.setValue(init);}else if(this.__sd(item)){item.setSelection(init);}},redefine:function(){for(var i=0;i<this.__sa.length;i++){var item=this.__sa[i].item;this.__sa[i].init=this.__sc(item);}},redefineItem:function(item){var dataEntry;for(var i=0;i<this.__sa.length;i++){if(this.__sa[i].item===item){dataEntry=this.__sa[i];break;}}if(dataEntry===undefined){throw new Error("The given item has not been added.");}dataEntry.init=this.__sc(dataEntry.item);},__sc:function(item){if(this.__se(item)){return item.getValue();}else if(this.__sd(item)){return item.getSelection();}},__sd:function(formItem){var clazz=formItem.constructor;return qx.Class.hasInterface(clazz,qx.ui.core.ISingleSelection);},__se:function(formItem){var clazz=formItem.constructor;return (qx.Class.hasInterface(clazz,qx.ui.form.IBooleanForm)||qx.Class.hasInterface(clazz,qx.ui.form.IColorForm)||qx.Class.hasInterface(clazz,qx.ui.form.IDateForm)||qx.Class.hasInterface(clazz,qx.ui.form.INumberForm)||qx.Class.hasInterface(clazz,qx.ui.form.IStringForm));}}});})();(function(){var SSSS_0="qx.ui.form.renderer.IFormRenderer";qx.Interface.define(SSSS_0,{members:{addItems:function(items,names,title){},addButton:function(button){}}});})();(function(){var SSSS_0="abstract",SSSS_1="qx.ui.form.renderer.AbstractRenderer";qx.Class.define(SSSS_1,{type:SSSS_0,extend:qx.ui.core.Widget,implement:qx.ui.form.renderer.IFormRenderer,construct:function(form){arguments.callee.base.call(this);var groups=form.getGroups();for(var i=0;i<groups.length;i++){var group=groups[i];this.addItems(group.items,group.labels,group.title);}var buttons=form.getButtons();for(var i=0;i<buttons.length;i++){this.addButton(buttons[i]);}},members:{addItems:function(items,names,title){throw new Error("Abstract method call");},addButton:function(button){throw new Error("Abstract method call");}}});})();(function(){var SSSS_0="",SSSS_1="right",SSSS_2=" <span style='color:red'>*</span> ",SSSS_3="bold",SSSS_4="qx.ui.form.renderer.Single",SSSS_5="top",SSSS_6="left",SSSS_7=" :";qx.Class.define(SSSS_4,{extend:qx.ui.form.renderer.AbstractRenderer,construct:function(form){var layout=new qx.ui.layout.Grid();layout.setSpacing(6);layout.setColumnFlex(0,1);layout.setColumnAlign(0,SSSS_1,SSSS_5);this._setLayout(layout);arguments.callee.base.call(this,form);},members:{_row:0,_buttonRow:null,addItems:function(items,names,title){if(title!=null){this._add(this._createHeader(title),{row:this._row,column:0,colSpan:2});this._row++;}for(var i=0;i<items.length;i++){var label=this._createLabel(names[i],items[i]);this._add(label,{row:this._row,column:0});var item=items[i];label.setBuddy(item);this._add(item,{row:this._row,column:1});this._row++;}},addButton:function(button){if(this._buttonRow==null){this._buttonRow=new qx.ui.container.Composite();this._buttonRow.setMarginTop(5);var hbox=new qx.ui.layout.HBox();hbox.setAlignX(SSSS_1);hbox.setSpacing(5);this._buttonRow.setLayout(hbox);this._add(this._buttonRow,{row:this._row,column:0,colSpan:2});this._row++;}this._buttonRow.add(button);},getLayout:function(){return this._getLayout();},_createLabel:function(name,item){var required=SSSS_0;if(item.getRequired()){required=SSSS_2;}var colon=name.length>0||item.getRequired()?SSSS_7:SSSS_0;var label=new qx.ui.basic.Label(name+required+colon);label.setRich(true);return label;},_createHeader:function(title){var header=new qx.ui.basic.Label(title);header.setFont(SSSS_3);if(this._row!=0){header.setMarginTop(10);}header.setAlignX(SSSS_6);return header;}}});})();(function(){var SSSS_0="arrow",SSSS_1="qx.ui.toolbar.MenuButton",SSSS_2="Boolean",SSSS_3="_applyShowArrow",SSSS_4="toolbar-menubutton";qx.Class.define(SSSS_1,{extend:qx.ui.menubar.Button,properties:{appearance:{refine:true,init:SSSS_4},showArrow:{check:SSSS_2,init:false,themeable:true,apply:SSSS_3}},members:{_createChildControlImpl:function(id){var control;switch(id){case SSSS_0:control=new qx.ui.basic.Image();control.setAnonymous(true);this._addAt(control,10);break;}return control||arguments.callee.base.call(this,id);},_applyShowArrow:function(value,old){if(value){this._showChildControl(SSSS_0);}else{this._excludeChildControl(SSSS_0);}}}});})();(function(){var SSSS_0="blueprint.ui.toolbar.MenuButton";qx.Class.define(SSSS_0,{extend:qx.ui.toolbar.MenuButton,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{postMixinConstruct:function(vData,namespace,skipRecursion){if(vData.contents){var menu=new qx.ui.menu.Menu();for(var i=0;i<vData.contents.length;i++){menu.add(blueprint.Manager.getInstance().generate(vData.contents[i].object,this,namespace));}this.setMenu(menu);}}},destruct:function(){}});})();(function(){var SSSS_0="blueprint.ui.window.Window";qx.Class.define(SSSS_0,{extend:qx.ui.window.Window,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);this.setLayout(blueprint.util.Misc.generateLayout(vData.constructorSettings.innerLayout));},members:{},destruct:function(){}});})();(function(){var SSSS_0="list",SSSS_1="atom",SSSS_2="pressed",SSSS_3="abandoned",SSSS_4="popup",SSSS_5="hovered",SSSS_6="changeLabel",SSSS_7="changeIcon",SSSS_8="arrow",SSSS_9="",SSSS_10="spacer",SSSS_11="Enter",SSSS_12="one",SSSS_13="mouseout",SSSS_14="Space",SSSS_15="key",SSSS_16="mousewheel",SSSS_17="keyinput",SSSS_18="changeSelection",SSSS_19="quick",SSSS_20="qx.ui.form.SelectBox",SSSS_21="mouseover",SSSS_22="selectbox",SSSS_23="click",SSSS_24=" ";qx.Class.define(SSSS_20,{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(){arguments.callee.base.call(this);this._createChildControl(SSSS_1);this._createChildControl(SSSS_10);this._createChildControl(SSSS_8);this.addListener(SSSS_21,this._onMouseOver,this);this.addListener(SSSS_13,this._onMouseOut,this);this.addListener(SSSS_23,this._onClick,this);this.addListener(SSSS_16,this._onMouseWheel,this);this.addListener(SSSS_17,this._onKeyInput,this);this.addListener(SSSS_18,this.__sg,this);},properties:{appearance:{refine:true,init:SSSS_22}},members:{__sf:null,_createChildControlImpl:function(id){var control;switch(id){case SSSS_10:control=new qx.ui.core.Spacer();this._add(control,{flex:1});break;case SSSS_1:control=new qx.ui.basic.Atom(SSSS_24);control.setCenter(false);control.setAnonymous(true);this._add(control,{flex:1});break;case SSSS_8:control=new qx.ui.basic.Image();control.setAnonymous(true);this._add(control);break;}return control||arguments.callee.base.call(this,id);},_forwardStates:{focused:true},_getItems:function(){return this.getChildrenContainer().getChildren();},_isAllowEmptySelection:function(){return this.getChildrenContainer().getSelectionMode()!==SSSS_12;},__sg:function(e){var listItem=e.getData()[0];var list=this.getChildControl(SSSS_0);if(list.getSelection()[0]!=listItem){if(listItem){list.setSelection([listItem]);}else{list.resetSelection();}}this.__sh();this.__si();},__sh:function(){var listItem=this.getChildControl(SSSS_0).getSelection()[0];var atom=this.getChildControl(SSSS_1);var icon=listItem?listItem.getIcon():SSSS_9;icon==null?atom.resetIcon():atom.setIcon(icon);},__si:function(){var listItem=this.getChildControl(SSSS_0).getSelection()[0];var atom=this.getChildControl(SSSS_1);var label=listItem?listItem.getLabel():SSSS_9;var format=this.getFormat();if(format!=null){label=format.call(this,listItem);}if(label&&label.translate){label=label.translate();}label==null?atom.resetLabel():atom.setLabel(label);},_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;}if(this.hasState(SSSS_3)){this.removeState(SSSS_3);this.addState(SSSS_2);}this.addState(SSSS_5);},_onMouseOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;}this.removeState(SSSS_5);if(this.hasState(SSSS_2)){this.removeState(SSSS_2);this.addState(SSSS_3);}},_onClick:function(e){this.toggle();},_onMouseWheel:function(e){if(this.getChildControl(SSSS_4).isVisible()){return;}var direction=e.getWheelDelta()>0?1:-1;var children=this.getSelectables();var selected=this.getSelection()[0];if(!selected){selected=children[0];}var index=children.indexOf(selected)+direction;var max=children.length-1;if(index<0){index=0;}else if(index>=max){index=max;}this.setSelection([children[index]]);e.stopPropagation();e.preventDefault();},_onKeyPress:function(e){var iden=e.getKeyIdentifier();if(iden==SSSS_11||iden==SSSS_14){if(this.__sf){this.setSelection([this.__sf]);this.__sf=null;}this.toggle();}else{arguments.callee.base.call(this,e);}},_onKeyInput:function(e){var clone=e.clone();clone.setTarget(this._list);clone.setBubbles(false);this.getChildControl(SSSS_0).dispatchEvent(clone);},_onListMouseDown:function(e){if(this.__sf){this.setSelection([this.__sf]);this.__sf=null;}},_onListChangeSelection:function(e){var current=e.getData();var old=e.getOldData();if(old&&old.length>0){old[0].removeListener(SSSS_7,this.__sh,this);old[0].removeListener(SSSS_6,this.__si,this);}if(current.length>0){var popup=this.getChildControl(SSSS_4);var list=this.getChildControl(SSSS_0);var context=list.getSelectionContext();if(popup.isVisible()&&(context==SSSS_19||context==SSSS_15)){this.__sf=current[0];}else{this.setSelection([current[0]]);this.__sf=null;}current[0].addListener(SSSS_7,this.__sh,this);current[0].addListener(SSSS_6,this.__si,this);}else{this.resetSelection();}},_onPopupChangeVisibility:function(e){var popup=this.getChildControl(SSSS_4);if(!popup.isVisible()){var list=this.getChildControl(SSSS_0);if(list.hasChildren()){list.setSelection(this.getSelection());}}else{var distance=popup.getLayoutLocation(this);var viewPortHeight=qx.bom.Viewport.getHeight();var toTop=distance.top;var toBottom=viewPortHeight-distance.bottom;var availableHeigth=toTop>toBottom?toTop:toBottom;var maxListHeight=this.getMaxListHeight();var list=this.getChildControl(SSSS_0);if(maxListHeight==null||maxListHeight>availableHeigth){list.setMaxHeight(availableHeigth);}else if(maxListHeight<availableHeigth){list.setMaxHeight(maxListHeight);}}}},destruct:function(){this.__sf=null;}});})();(function(){var SSSS_0="blueprint.ui.form.SelectBox",SSSS_1="value",SSSS_2="icon",SSSS_3="label";qx.Class.define(SSSS_0,{extend:qx.ui.form.SelectBox,include:[blueprint.MBlueprintManager,blueprint.ui.form.MSubmitElement],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);if(vData.constructorSettings.selectitems){this.setBlueprintListItems(vData.constructorSettings.selectitems);}},properties:{},members:{setBlueprintListItems:function(selectitems){for(var i=0;i<selectitems.length;i++){this.add(new qx.ui.form.ListItem(selectitems[i][SSSS_3],selectitems[i][SSSS_2],selectitems[i][SSSS_1]));}}},destruct:function(){}});})();(function(){var SSSS_0="blueprint.ui.form.Slider";qx.Class.define(SSSS_0,{extend:qx.ui.form.Slider,include:[blueprint.MBlueprintManager,blueprint.ui.form.MSubmitElement],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="enum",SSSS_1="blueprint.ui.container.Composite";qx.Class.define(SSSS_1,{extend:qx.ui.container.Composite,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){var new_layout=blueprint.util.Misc.generateLayout(vData.constructorSettings.innerLayout);if(vData.constructorSettings.layoutSettings){new_layout.set(vData.constructorSettings.layoutSettings);}arguments.callee.base.call(this,new_layout);this.set(vData.qxSettings);},properties:{},members:{_generateConstructorDef:function(){var def={innerLayout:{type:SSSS_0,check:[qx.ui.layout.Canvas,qx.ui.layout.Dock,qx.ui.layout.Grid,qx.ui.layout.HBox,qx.ui.layout.VBox]}};return def;}},destruct:function(){}});})();(function(){var SSSS_0="button",SSSS_1="hovered",SSSS_2="pressed",SSSS_3="arrow",SSSS_4="Enter",SSSS_5="Space",SSSS_6="abandoned",SSSS_7="both",SSSS_8="String",SSSS_9="changeVisibility",SSSS_10="splitbutton",SSSS_11="changeShow",SSSS_12="mouseout",SSSS_13="keydown",SSSS_14="execute",SSSS_15="_applyMenu",SSSS_16="icon",SSSS_17="mouseover",SSSS_18="keyup",SSSS_19="qx.ui.menu.Menu",SSSS_20="_applyIcon",SSSS_21="label",SSSS_22="_applyShow",SSSS_23="changeMenu",SSSS_24="_applyLabel",SSSS_25="qx.ui.form.SplitButton";qx.Class.define(SSSS_25,{extend:qx.ui.core.Widget,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(label,icon,menu,command){arguments.callee.base.call(this);this._setLayout(new qx.ui.layout.HBox);this._createChildControl(SSSS_3);this.addListener(SSSS_17,this._onMouseOver,this,true);this.addListener(SSSS_12,this._onMouseOut,this,true);this.addListener(SSSS_13,this._onKeyDown);this.addListener(SSSS_18,this._onKeyUp);if(label!=null){this.setLabel(label);}if(icon!=null){this.setIcon(icon);}if(menu!=null){this.setMenu(menu);}if(command!=null){this.setCommand(command);}},properties:{appearance:{refine:true,init:SSSS_10},focusable:{refine:true,init:true},label:{apply:SSSS_24,nullable:true,check:SSSS_8},icon:{check:SSSS_8,apply:SSSS_20,nullable:true,themeable:true},show:{init:SSSS_7,check:[SSSS_7,SSSS_21,SSSS_16],themeable:true,inheritable:true,apply:SSSS_22,event:SSSS_11},menu:{check:SSSS_19,nullable:true,apply:SSSS_15,event:SSSS_23}},members:{__sj:null,_createChildControlImpl:function(id){var control;switch(id){case SSSS_0:control=new qx.ui.form.Button;control.addListener(SSSS_14,this._onButtonExecute,this);control.setFocusable(false);this._addAt(control,0,{flex:1});break;case SSSS_3:control=new qx.ui.form.MenuButton;control.setFocusable(false);this._addAt(control,1);break;}return control||arguments.callee.base.call(this,id);},_forwardStates:{hovered:1,focused:1},_applyLabel:function(value,old){var button=this.getChildControl(SSSS_0);value==null?button.resetLabel():button.setLabel(value);},_applyIcon:function(value,old){var button=this.getChildControl(SSSS_0);value==null?button.resetIcon():button.setIcon(value);},_applyMenu:function(value,old){var arrow=this.getChildControl(SSSS_3);if(value){arrow.resetEnabled();arrow.setMenu(value);value.setOpener(this);value.addListener(SSSS_9,this._onChangeMenuVisibility,this);}else{arrow.setEnabled(false);arrow.resetMenu();}if(old){old.removeListener(SSSS_9,this._onChangeMenuVisibility,this);old.resetOpener();}},_applyShow:function(value,old){},_onMouseOver:function(e){e.stopPropagation();this.addState(SSSS_1);delete this.__sj;},_onMouseOut:function(e){e.stopPropagation();if(!this.hasState(SSSS_1)){return;}var related=e.getRelatedTarget();if(qx.ui.core.Widget.contains(this,related)){return;}var menu=this.getMenu();if(menu&&menu.isVisible()){this.__sj=true;return;}this.removeState(SSSS_1);},_onKeyDown:function(e){var button=this.getChildControl(SSSS_0);switch(e.getKeyIdentifier()){case SSSS_4:case SSSS_5:button.removeState(SSSS_6);button.addState(SSSS_2);}},_onKeyUp:function(e){var button=this.getChildControl(SSSS_0);switch(e.getKeyIdentifier()){case SSSS_4:case SSSS_5:if(button.hasState(SSSS_2)){button.removeState(SSSS_6);button.removeState(SSSS_2);button.execute();}}},_onButtonExecute:function(e){this.execute();},_onChangeMenuVisibility:function(e){if(!this.getMenu().isVisible()&&this.__sj){this.removeState(SSSS_1);}}}});})();(function(){var SSSS_0="arrow",SSSS_1="qx.ui.toolbar.SplitButton",SSSS_2="keydown",SSSS_3="toolbar-splitbutton",SSSS_4="button",SSSS_5="keyup",SSSS_6="execute";qx.Class.define(SSSS_1,{extend:qx.ui.form.SplitButton,construct:function(label,icon,menu,command){arguments.callee.base.call(this,label,icon,menu,command);this.removeListener(SSSS_2,this._onKeyDown);this.removeListener(SSSS_5,this._onKeyUp);},properties:{appearance:{refine:true,init:SSSS_3},focusable:{refine:true,init:false}},members:{_createChildControlImpl:function(id){var control;switch(id){case SSSS_4:control=new qx.ui.toolbar.Button;control.addListener(SSSS_6,this._onButtonExecute,this);this._addAt(control,0);break;case SSSS_0:control=new qx.ui.toolbar.MenuButton;this._addAt(control,1);break;}return control||arguments.callee.base.call(this,id);}}});})();(function(){var SSSS_0="blueprint.ui.toolbar.SplitButton";qx.Class.define(SSSS_0,{extend:qx.ui.toolbar.SplitButton,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},members:{},destruct:function(){}});})();(function(){var SSSS_0="pane",SSSS_1="lastTab",SSSS_2="bar",SSSS_3="page",SSSS_4="firstTab",SSSS_5="right",SSSS_6="bottom",SSSS_7="button",SSSS_8="changeSelection",SSSS_9="close",SSSS_10="top",SSSS_11="left",SSSS_12="qx.event.type.Data",SSSS_13="barRight",SSSS_14="beforeChangeSelection",SSSS_15="qx.debug",SSSS_16="tabview",SSSS_17="vertical",SSSS_18="__sl",SSSS_19="_applyBarPosition",SSSS_20="barLeft",SSSS_21="horizontal",SSSS_22="qx.ui.tabview.TabView",SSSS_23="barTop",SSSS_24="barBottom",SSSS_25="on";qx.Class.define(SSSS_22,{extend:qx.ui.core.Widget,implement:qx.ui.core.ISingleSelection,include:[qx.ui.core.MContentPadding],construct:function(barPosition){arguments.callee.base.call(this);this.__sk={top:SSSS_23,right:SSSS_13,bottom:SSSS_24,left:SSSS_20};this._createChildControl(SSSS_2);this._createChildControl(SSSS_0);var mgr=this.__sl=new qx.ui.form.RadioGroup;mgr.setWrap(false);mgr.addListener(SSSS_8,this._onChangeSelection,this);if(barPosition!=null){this.setBarPosition(barPosition);}else{this.initBarPosition();}},events:{"changeSelection":SSSS_12},properties:{appearance:{refine:true,init:SSSS_16},barPosition:{check:[SSSS_11,SSSS_5,SSSS_10,SSSS_6],init:SSSS_10,apply:SSSS_19}},members:{__sl:null,_createChildControlImpl:function(id){var control;switch(id){case SSSS_2:control=new qx.ui.container.SlideBar();control.setZIndex(10);this._add(control);break;case SSSS_0:control=new qx.ui.container.Stack;control.setZIndex(5);this._add(control,{flex:1});break;}return control||arguments.callee.base.call(this,id);},_getContentPaddingTarget:function(){return this.getChildControl(SSSS_0);},add:function(page){if(qx.core.Variant.isSet(SSSS_15,SSSS_25)){if(!(page instanceof qx.ui.tabview.Page)){throw new Error("Incompatible child for TabView: "+page);}}var button=page.getButton();var bar=this.getChildControl(SSSS_2);var pane=this.getChildControl(SSSS_0);page.exclude();bar.add(button);pane.add(page);this.__sl.add(button);page.addState(this.__sk[this.getBarPosition()]);page.addState(SSSS_1);var children=this.getChildren();if(children[0]==page){page.addState(SSSS_4);}else{children[children.length-2].removeState(SSSS_1);}page.addListener(SSSS_9,this._onPageClose,this);},remove:function(page){var pane=this.getChildControl(SSSS_0);var bar=this.getChildControl(SSSS_2);var button=page.getButton();var children=pane.getChildren();if(this.getSelection()[0]==page){var index=children.indexOf(page);if(index==0){if(children[1]){this.setSelection([children[1]]);}else{this.resetSelection();}}else{this.setSelection([children[index-1]]);}}bar.remove(button);pane.remove(page);this.__sl.remove(button);page.removeState(this.__sk[this.getBarPosition()]);if(page.hasState(SSSS_4)){page.removeState(SSSS_4);if(children[0]){children[0].addState(SSSS_4);}}if(page.hasState(SSSS_1)){page.removeState(SSSS_1);if(children.length>0){children[children.length-1].addState(SSSS_1);}}page.removeListener(SSSS_9,this._onPageClose,this);},getChildren:function(){return this.getChildControl(SSSS_0).getChildren();},indexOf:function(page){return this.getChildControl(SSSS_0).indexOf(page);},__sk:null,_applyBarPosition:function(value,old){var bar=this.getChildControl(SSSS_2);var horizontal=value==SSSS_11||value==SSSS_5;var reversed=value==SSSS_5||value==SSSS_6;var layoutClass=horizontal?qx.ui.layout.HBox:qx.ui.layout.VBox;var layout=this._getLayout();if(layout&&layout instanceof layoutClass){}else{this._setLayout(layout=new layoutClass);}layout.setReversed(reversed);bar.setOrientation(horizontal?SSSS_17:SSSS_21);var children=this.getChildren();if(old){var oldState=this.__sk[old];bar.removeState(oldState);for(var i=0,l=children.length;i<l;i++){children[i].removeState(oldState);}}if(value){var newState=this.__sk[value];bar.addState(newState);for(var i=0,l=children.length;i<l;i++){children[i].addState(newState);}}},getSelection:function(){var buttons=this.__sl.getSelection();var result=[];for(var i=0;i<buttons.length;i++){result.push(buttons[i].getUserData(SSSS_3));}return result;},setSelection:function(items){var buttons=[];for(var i=0;i<items.length;i++){buttons.push(items[i].getChildControl(SSSS_7));}this.__sl.setSelection(buttons);},resetSelection:function(){this.__sl.resetSelection();},isSelected:function(item){var button=item.getChildControl(SSSS_7);return this.__sl.isSelected(button);},isSelectionEmpty:function(){return this.__sl.isSelectionEmpty();},getSelectables:function(){var buttons=this.__sl.getSelectables();var result=[];for(var i=0;i<buttons.length;i++){result.push(buttons[i].getUserData(SSSS_3));}return result;},_onChangeSelection:function(e){var pane=this.getChildControl(SSSS_0);var button=e.getData()[0];if(button){pane.setSelection([button.getUserData(SSSS_3)]);button.focus();this.scrollChildIntoView(button,null,null,false);}else{pane.resetSelection();}var value=pane.getSelection();var old=e.getOldData();this.fireDataEvent(SSSS_8,value,old);},_onBeforeChangeSelection:function(e){if(!this.fireNonBubblingEvent(SSSS_14,qx.event.type.Event,[false,true])){e.preventDefault();}},_onRadioChangeSelection:function(e){var element=e.getData()[0];if(element){this.setSelection([element.getUserData(SSSS_3)]);}else{this.resetSelection();}},_onPageClose:function(e){this.remove(e.getTarget());}},destruct:function(){this._disposeObjects(SSSS_18);this.__sk=null;}});})();(function(){var SSSS_0="blueprint.ui.tabview.TabView";qx.Class.define(SSSS_0,{extend:qx.ui.tabview.TabView,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},members:{},destruct:function(){}});})();(function(){var SSSS_0="_applyDynamic",SSSS_1="changeSelection",SSSS_2="Boolean",SSSS_3="qx.ui.container.Stack";qx.Class.define(SSSS_3,{extend:qx.ui.core.Widget,implement:qx.ui.core.ISingleSelection,include:qx.ui.core.MSingleSelectionHandling,construct:function(){arguments.callee.base.call(this);this._setLayout(new qx.ui.layout.Grow);this.addListener(SSSS_1,this.__sm,this);},properties:{dynamic:{check:SSSS_2,init:false,apply:SSSS_0}},members:{_applyDynamic:function(value){var children=this._getChildren();var selected=this.getSelection()[0];var child;for(var i=0,l=children.length;i<l;i++){child=children[i];if(child!=selected){if(value){children[i].exclude();}else{children[i].hide();}}}},_getItems:function(){return this.getChildren();},_isAllowEmptySelection:function(){return true;},_isItemSelectable:function(item){return item.isEnabled();},__sm:function(e){var old=e.getOldData()[0];var value=e.getData()[0];if(old){if(this.isDynamic()){old.exclude();}else{old.hide();}}if(value){value.show();}},add:function(widget){this._add(widget);var selected=this.getSelection()[0];if(!selected){this.setSelection([widget]);}else if(selected!==widget){if(this.isDynamic()){widget.exclude();}else{widget.hide();}}},remove:function(widget){this._remove(widget);if(this.getSelection()[0]===widget){var first=this._getChildren()[0];if(first){this.setSelection([first]);}else{this.resetSelection();}}},indexOf:function(widget){return this._indexOf(widget);},getChildren:function(){return this._getChildren();},previous:function(){var selected=this.getSelection()[0];var go=this._indexOf(selected)-1;var children=this._getChildren();if(go<0){go=children.length-1;}var prev=children[go];this.setSelection([prev]);},next:function(){var selected=this.getSelection()[0];var go=this._indexOf(selected)+1;var children=this._getChildren();var next=children[go]||children[0];this.setSelection([next]);}}});})();(function(){var SSSS_0="blueprint.data.example.Dynamic",SSSS_1="interval";qx.Class.define(SSSS_0,{extend:blueprint.data.Object,construct:function(){arguments.callee.base.call(this);var timer=new qx.event.Timer(5000);var x=0;timer.addListener(SSSS_1,function(e){x++;this.setValue(x);},this);timer.start();}});})();(function(){var SSSS_0="blueprint.ui.form.RadioGroup";qx.Class.define(SSSS_0,{extend:qx.ui.form.RadioGroup,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="splitter",SSSS_1="slider",SSSS_2="mousedown",SSSS_3="mouseout",SSSS_4="mousemove",SSSS_5="mouseup",SSSS_6="losecapture",SSSS_7="active",SSSS_8="horizontal",SSSS_9="vertical",SSSS_10="knob",SSSS_11="Integer",SSSS_12="height",SSSS_13="row-resize",SSSS_14="move",SSSS_15="maxHeight",SSSS_16="width",SSSS_17="_applyOrientation",SSSS_18="mouseover",SSSS_19="splitpane",SSSS_20="qx.ui.splitpane.Pane",SSSS_21="_applyOffset",SSSS_22="minHeight",SSSS_23="minWidth",SSSS_24="col-resize",SSSS_25="maxWidth";qx.Class.define(SSSS_20,{extend:qx.ui.core.Widget,construct:function(orientation){arguments.callee.base.call(this);this.__sn=[];if(orientation){this.setOrientation(orientation);}else{this.initOrientation();}this.addListener(SSSS_2,this._onMouseDown);this.addListener(SSSS_5,this._onMouseUp);this.addListener(SSSS_4,this._onMouseMove);this.addListener(SSSS_3,this._onMouseOut);this.addListener(SSSS_6,this._onMouseUp);},properties:{appearance:{refine:true,init:SSSS_19},offset:{check:SSSS_11,init:6,apply:SSSS_21},orientation:{init:SSSS_8,check:[SSSS_8,SSSS_9],apply:SSSS_17}},members:{__so:null,__sp:false,__sq:null,__sr:null,__ss:null,__st:null,__su:null,__sn:null,_createChildControlImpl:function(id){var control;switch(id){case SSSS_1:control=new qx.ui.splitpane.Slider(this);control.exclude();this._add(control,{type:id});break;case SSSS_0:control=new qx.ui.splitpane.Splitter(this);this._add(control,{type:id});control.addListener(SSSS_14,this._onSplitterMove,this);if(qx.bom.client.Engine.OPERA){control.addListener(SSSS_18,this._onSplitterMouseOver,control);}break;}return control||arguments.callee.base.call(this,id);},_applyOrientation:function(value,old){var slider=this.getChildControl(SSSS_1);var splitter=this.getChildControl(SSSS_0);this.__ss=value===SSSS_8;var oldLayout=this._getLayout();if(oldLayout){oldLayout.dispose();}var newLayout=value===SSSS_9?new qx.ui.splitpane.VLayout:new qx.ui.splitpane.HLayout;this._setLayout(newLayout);splitter.removeState(old);splitter.addState(value);splitter.getChildControl(SSSS_10).removeState(old);splitter.getChildControl(SSSS_10).addState(value);slider.removeState(old);slider.addState(value);},_applyOffset:function(value,old){var splitter=this.getChildControl(SSSS_0);if(old===0){splitter.removeListener(SSSS_2,this._onMouseDown,this);splitter.removeListener(SSSS_4,this._onMouseMove,this);splitter.removeListener(SSSS_3,this._onMouseOut,this);splitter.removeListener(SSSS_5,this._onMouseUp,this);splitter.removeListener(SSSS_6,this._onMouseUp,this);this.addListener(SSSS_2,this._onMouseDown);this.addListener(SSSS_5,this._onMouseUp);this.addListener(SSSS_4,this._onMouseMove);this.addListener(SSSS_3,this._onMouseOut);this.addListener(SSSS_6,this._onMouseUp);}if(value===0){this.removeListener(SSSS_2,this._onMouseDown);this.removeListener(SSSS_5,this._onMouseUp);this.removeListener(SSSS_4,this._onMouseMove);this.removeListener(SSSS_3,this._onMouseOut);this.removeListener(SSSS_6,this._onMouseUp);splitter.addListener(SSSS_2,this._onMouseDown,this);splitter.addListener(SSSS_4,this._onMouseMove,this);splitter.addListener(SSSS_3,this._onMouseOut,this);splitter.addListener(SSSS_5,this._onMouseUp,this);splitter.addListener(SSSS_6,this._onMouseUp,this);}},add:function(widget,flex){if(flex==null){this._add(widget);}else{this._add(widget,{flex:flex});}this.__sn.push(widget);},remove:function(widget){this._remove(widget);qx.lang.Array.remove(this.__sn,widget);},getChildren:function(){return this.__sn;},_onMouseDown:function(e){if(!e.isLeftPressed()||!this._isNear()){return;}var splitter=this.getChildControl(SSSS_0);var splitterLocation=splitter.getContainerLocation();var paneLocation=this.getContentLocation();this.__so=this.__ss?e.getDocumentLeft()-splitterLocation.left+paneLocation.left:e.getDocumentTop()-splitterLocation.top+paneLocation.top;var slider=this.getChildControl(SSSS_1);var splitterBounds=splitter.getBounds();slider.setUserBounds(splitterBounds.left,splitterBounds.top,splitterBounds.width,splitterBounds.height);slider.setZIndex(splitter.getZIndex()+1);slider.show();this.__sp=true;e.getCurrentTarget().capture();e.stop();},_onMouseMove:function(e){this._setLastMousePosition(e.getDocumentLeft(),e.getDocumentTop());if(this.__sp){this.__sw();var slider=this.getChildControl(SSSS_1);var pos=this.__st;if(this.__ss){slider.setDomLeft(pos);}else{slider.setDomTop(pos);}e.stop();}else{this.__sv();}},_onMouseOut:function(e){this._setLastMousePosition(-1,-1);this.__sv();},_onMouseUp:function(e){if(!this.__sp){return;}this._finalizeSizes();var slider=this.getChildControl(SSSS_1);slider.exclude();this.__sp=false;this.releaseCapture();this.__sv();e.stop();},_onSplitterMove:function(){this.__sv();},_onSplitterMouseOver:function(){this.addState(SSSS_7);},_finalizeSizes:function(){var beginSize=this.__st;var endSize=this.__su;if(beginSize==null){return;}var children=this._getChildren();var firstWidget=children[2];var secondWidget=children[3];var firstFlexValue=firstWidget.getLayoutProperties().flex;var secondFlexValue=secondWidget.getLayoutProperties().flex;if((firstFlexValue!=0)&&(secondFlexValue!=0)){firstWidget.setLayoutProperties({flex:beginSize});secondWidget.setLayoutProperties({flex:endSize});}else{if(this.__ss){firstWidget.setWidth(beginSize);secondWidget.setWidth(endSize);}else{firstWidget.setHeight(beginSize);secondWidget.setHeight(endSize);}}},_isNear:function(){var splitter=this.getChildControl(SSSS_0);var splitterBounds=splitter.getBounds();var splitterLocation=splitter.getContainerLocation();var min=this.getOffset();if(!splitterLocation){return;}var mouse=this.__sq;var size=splitterBounds.width;var pos=splitterLocation.left;if(size<min){pos-=Math.floor((min-size)/2);size=min;}if(mouse<pos||mouse>(pos+size)){return false;}var mouse=this.__sr;var size=splitterBounds.height;var pos=splitterLocation.top;if(size<min){pos-=Math.floor((min-size)/2);size=min;}if(mouse<pos||mouse>(pos+size)){return false;}return true;},__sv:function(){var splitter=this.getChildControl(SSSS_0);var root=this.getApplicationRoot();if(this.__sp||this._isNear()){var cursor=this.__ss?SSSS_24:SSSS_13;this.setCursor(cursor);root.setGlobalCursor(cursor);splitter.addState(SSSS_7);}else if(splitter.hasState(SSSS_7)){this.resetCursor();root.resetGlobalCursor();splitter.removeState(SSSS_7);}},__sw:function(){if(this.__ss){var min=SSSS_23,size=SSSS_16,max=SSSS_25,mouse=this.__sq;}else{var min=SSSS_22,size=SSSS_12,max=SSSS_15,mouse=this.__sr;}var children=this._getChildren();var beginHint=children[2].getSizeHint();var endHint=children[3].getSizeHint();var allocatedSize=children[2].getBounds()[size]+children[3].getBounds()[size];var beginSize=mouse-this.__so;var endSize=allocatedSize-beginSize;if(beginSize<beginHint[min]){endSize-=beginHint[min]-beginSize;beginSize=beginHint[min];}else if(endSize<endHint[min]){beginSize-=endHint[min]-endSize;endSize=endHint[min];}if(beginSize>beginHint[max]){endSize+=beginSize-beginHint[max];beginSize=beginHint[max];}else if(endSize>endHint[max]){beginSize+=endSize-endHint[max];endSize=endHint[max];}this.__st=beginSize;this.__su=endSize;},_isActiveDragSession:function(){return this.__sp;},_setLastMousePosition:function(x,y){this.__sq=x;this.__sr=y;}},destruct:function(){this.__sn=null;}});})();(function(){var SSSS_0="blueprint.ui.splitpane.Pane";qx.Class.define(SSSS_0,{extend:qx.ui.splitpane.Pane,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this,vData.constructorSettings.orientation);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="qx.ui.splitpane.Slider";qx.Class.define(SSSS_0,{extend:qx.ui.core.Widget,properties:{allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false}}});})();(function(){var SSSS_0="center",SSSS_1="knob",SSSS_2="middle",SSSS_3="qx.ui.splitpane.Splitter",SSSS_4="vertical";qx.Class.define(SSSS_3,{extend:qx.ui.core.Widget,construct:function(parentWidget){arguments.callee.base.call(this);if(parentWidget.getOrientation()==SSSS_4){this._setLayout(new qx.ui.layout.HBox(0,SSSS_0));this._getLayout().setAlignY(SSSS_2);}else{this._setLayout(new qx.ui.layout.VBox(0,SSSS_2));this._getLayout().setAlignX(SSSS_0);}this._createChildControl(SSSS_1);},properties:{allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{_createChildControlImpl:function(id){var control;switch(id){case SSSS_1:control=new qx.ui.basic.Image;this._add(control);break;}return control||arguments.callee.base.call(this,id);}}});})();(function(){var SSSS_0="slider",SSSS_1="type",SSSS_2="flex",SSSS_3="splitter",SSSS_4="qx.ui.splitpane.VLayout",SSSS_5="qx.debug",SSSS_6="' is not supported by the split layout!",SSSS_7="The property '";qx.Class.define(SSSS_4,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Variant.select(SSSS_5,{"on":function(item,name,value){this.assert(name===SSSS_1||name===SSSS_2,SSSS_7+name+SSSS_6);if(name==SSSS_2){this.assertNumber(value);}if(name==SSSS_1){this.assertString(value);}},"off":null}),renderLayout:function(availWidth,availHeight){var children=this._getLayoutChildren();var length=children.length;var child,type;var begin,splitter,slider,end;for(var i=0;i<length;i++){child=children[i];type=child.getLayoutProperties().type;if(type===SSSS_3){splitter=child;}else if(type===SSSS_0){slider=child;}else if(!begin){begin=child;}else{end=child;}}if(begin&&end){var beginFlex=begin.getLayoutProperties().flex;var endFlex=end.getLayoutProperties().flex;if(beginFlex==null){beginFlex=1;}if(endFlex==null){endFlex=1;}var beginHint=begin.getSizeHint();var splitterHint=splitter.getSizeHint();var endHint=end.getSizeHint();var beginHeight=beginHint.height;var splitterHeight=splitterHint.height;var endHeight=endHint.height;if(beginFlex>0&&endFlex>0){var flexSum=beginFlex+endFlex;var flexAvailable=availHeight-splitterHeight;var beginHeight=Math.round((flexAvailable/flexSum)*beginFlex);var endHeight=flexAvailable-beginHeight;var sizes=qx.ui.layout.Util.arrangeIdeals(beginHint.minHeight,beginHeight,beginHint.maxHeight,endHint.minHeight,endHeight,endHint.maxHeight);beginHeight=sizes.begin;endHeight=sizes.end;}else if(beginFlex>0){beginHeight=availHeight-splitterHeight-endHeight;if(beginHeight<beginHint.minHeight){beginHeight=beginHint.minHeight;}if(beginHeight>beginHint.maxHeight){beginHeight=beginHint.maxHeight;}}else if(endFlex>0){endHeight=availHeight-beginHeight-splitterHeight;if(endHeight<endHint.minHeight){endHeight=endHint.minHeight;}if(endHeight>endHint.maxHeight){endHeight=endHint.maxHeight;}}begin.renderLayout(0,0,availWidth,beginHeight);splitter.renderLayout(0,beginHeight,availWidth,splitterHeight);end.renderLayout(0,beginHeight+splitterHeight,availWidth,endHeight);}else{splitter.renderLayout(0,0,0,0);if(begin){begin.renderLayout(0,0,availWidth,availHeight);}else if(end){end.renderLayout(0,0,availWidth,availHeight);}}},_computeSizeHint:function(){var children=this._getLayoutChildren();var length=children.length;var child,hint,props;var minHeight=0,height=0,maxHeight=0;var minWidth=0,width=0,maxWidth=0;for(var i=0;i<length;i++){child=children[i];props=child.getLayoutProperties();if(props.type===SSSS_0){continue;}hint=child.getSizeHint();minHeight+=hint.minHeight;height+=hint.height;maxHeight+=hint.maxHeight;if(hint.minWidth>minWidth){minWidth=hint.minWidth;}if(hint.width>width){width=hint.width;}if(hint.maxWidth>maxWidth){maxWidth=hint.maxWidth;}}return {minHeight:minHeight,height:height,maxHeight:maxHeight,minWidth:minWidth,width:width,maxWidth:maxWidth};}}});})();(function(){var SSSS_0="slider",SSSS_1="type",SSSS_2="flex",SSSS_3="splitter",SSSS_4="qx.ui.splitpane.HLayout",SSSS_5="' is not supported by the split layout!",SSSS_6="The property '",SSSS_7="qx.debug";qx.Class.define(SSSS_4,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Variant.select(SSSS_7,{"on":function(item,name,value){this.assert(name===SSSS_1||name===SSSS_2,SSSS_6+name+SSSS_5);if(name==SSSS_2){this.assertNumber(value);}if(name==SSSS_1){this.assertString(value);}},"off":null}),renderLayout:function(availWidth,availHeight){var children=this._getLayoutChildren();var length=children.length;var child,type;var begin,splitter,slider,end;for(var i=0;i<length;i++){child=children[i];type=child.getLayoutProperties().type;if(type===SSSS_3){splitter=child;}else if(type===SSSS_0){slider=child;}else if(!begin){begin=child;}else{end=child;}}if(begin&&end){var beginFlex=begin.getLayoutProperties().flex;var endFlex=end.getLayoutProperties().flex;if(beginFlex==null){beginFlex=1;}if(endFlex==null){endFlex=1;}var beginHint=begin.getSizeHint();var splitterHint=splitter.getSizeHint();var endHint=end.getSizeHint();var beginWidth=beginHint.width;var splitterWidth=splitterHint.width;var endWidth=endHint.width;if(beginFlex>0&&endFlex>0){var flexSum=beginFlex+endFlex;var flexAvailable=availWidth-splitterWidth;var beginWidth=Math.round((flexAvailable/flexSum)*beginFlex);var endWidth=flexAvailable-beginWidth;var sizes=qx.ui.layout.Util.arrangeIdeals(beginHint.minWidth,beginWidth,beginHint.maxWidth,endHint.minWidth,endWidth,endHint.maxWidth);beginWidth=sizes.begin;endWidth=sizes.end;}else if(beginFlex>0){beginWidth=availWidth-splitterWidth-endWidth;if(beginWidth<beginHint.minWidth){beginWidth=beginHint.minWidth;}if(beginWidth>beginHint.maxWidth){beginWidth=beginHint.maxWidth;}}else if(endFlex>0){endWidth=availWidth-beginWidth-splitterWidth;if(endWidth<endHint.minWidth){endWidth=endHint.minWidth;}if(endWidth>endHint.maxWidth){endWidth=endHint.maxWidth;}}begin.renderLayout(0,0,beginWidth,availHeight);splitter.renderLayout(beginWidth,0,splitterWidth,availHeight);end.renderLayout(beginWidth+splitterWidth,0,endWidth,availHeight);}else{splitter.renderLayout(0,0,0,0);if(begin){begin.renderLayout(0,0,availWidth,availHeight);}else if(end){end.renderLayout(0,0,availWidth,availHeight);}}},_computeSizeHint:function(){var children=this._getLayoutChildren();var length=children.length;var child,hint,props;var minWidth=0,width=0,maxWidth=0;var minHeight=0,height=0,maxHeight=0;for(var i=0;i<length;i++){child=children[i];props=child.getLayoutProperties();if(props.type===SSSS_0){continue;}hint=child.getSizeHint();minWidth+=hint.minWidth;width+=hint.width;maxWidth+=hint.maxWidth;if(hint.minHeight>minHeight){minHeight=hint.minHeight;}if(hint.height>height){height=hint.height;}if(hint.maxHeight>maxHeight){maxHeight=hint.maxHeight;}}return {minWidth:minWidth,width:width,maxWidth:maxWidth,minHeight:minHeight,height:height,maxHeight:maxHeight};}}});})();(function(){var SSSS_0="pane",SSSS_1="qx.ui.container.Scroll";qx.Class.define(SSSS_1,{extend:qx.ui.core.scroll.AbstractScrollArea,include:[qx.ui.core.MContentPadding],construct:function(content){arguments.callee.base.call(this);if(content){this.add(content);}},members:{add:function(widget){this.getChildControl(SSSS_0).add(widget);},remove:function(widget){this.getChildControl(SSSS_0).remove(widget);},getChildren:function(){return this.getChildControl(SSSS_0).getChildren();},_getContentPaddingTarget:function(){return this.getChildControl(SSSS_0);}}});})();(function(){var SSSS_0="blueprint.ui.container.Scroll";qx.Class.define(SSSS_0,{extend:qx.ui.container.Scroll,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){var new_layout=blueprint.util.Misc.generateLayout(vData.constructorSettings.innerLayout);if(vData.constructorSettings.layoutSettings){new_layout.set(vData.constructorSettings.layoutSettings);}arguments.callee.base.call(this,new_layout);this.set(vData.qxSettings);},members:{},destruct:function(){}});})();(function(){var SSSS_0="blueprint.ui.toolbar.ToolBar";qx.Class.define(SSSS_0,{extend:qx.ui.toolbar.ToolBar,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="blueprint.ui.menu.Button";qx.Class.define(SSSS_0,{extend:qx.ui.menu.Button,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},members:{postMixinConstruct:function(vData,namespace,skipRecursion){if(vData.contents){var menu=new qx.ui.menu.Menu();for(var i=0;i<vData.contents.length;i++){menu.add(blueprint.Manager.getInstance().generate(vData.contents[i].object,this,namespace));}this.setMenu(menu);}}},destruct:function(){}});})();(function(){var SSSS_0="brightness-handle",SSSS_1="hue-saturation-handle",SSSS_2="hsbSpinner",SSSS_3="rgbSpinner",SSSS_4="changeValue",SSSS_5="hexField",SSSS_6="hueSaturationField",SSSS_7="brightness-field",SSSS_8="mousedown",SSSS_9="rgb-spinner-red",SSSS_10="preview-content-old",SSSS_11="rgb-spinner-green",SSSS_12="brightnessField",SSSS_13="hue-saturation-field",SSSS_14="hsb-spinner-brightness",SSSS_15="preview-content-new",SSSS_16="hue-saturation-pane",SSSS_17="rgb-spinner-blue",SSSS_18="hsb-spinner-hue",SSSS_19="hsb-spinner-saturation",SSSS_20="hex-field",SSSS_21="brightnessModifier",SSSS_22="blueModifier",SSSS_23="saturationModifier",SSSS_24="middle",SSSS_25="Number",SSSS_26="#",SSSS_27="redModifier",SSSS_28="greenModifier",SSSS_29="hueModifier",SSSS_30="Integer",SSSS_31="brightness-pane",SSSS_32="control-pane",SSSS_33="preset-grid",SSSS_34="mouseup",SSSS_35="preset-field-set",SSSS_36="qx.event.type.Event",SSSS_37="mousemove",SSSS_38="hex-field-composite",SSSS_39="rgb-spinner-composite",SSSS_40="hsb-spinner-composite",SSSS_41="control-bar",SSSS_42="mousewheel",SSSS_43="visual-pane",SSSS_44="input-field-set",SSSS_45="preview-field-set",SSSS_46="black",SSSS_47="_applyGreen",SSSS_48="#333",SSSS_49="aqua",SSSS_50="colorbucket",SSSS_51="qx.event.type.Data",SSSS_52="Hex",SSSS_53="#BBB",SSSS_54="decoration/colorselector/brightness-handle.gif",SSSS_55="Visual",SSSS_56="_applySaturation",SSSS_57="Preview (Old/New)",SSSS_58="FFFFFF",SSSS_59="decoration/colorselector/brightness-field.png",SSSS_60="white",SSSS_61="orange",SSSS_62="_applyRed",SSSS_63="_applyBlue",SSSS_64="maroon",SSSS_65="Presets",SSSS_66="_applyBrightness",SSSS_67="#999",SSSS_68="purple",SSSS_69="red",SSSS_70="blue",SSSS_71="_applyHue",SSSS_72="decoration/colorselector/huesaturation-handle.gif",SSSS_73="colorselector",SSSS_74="qx.ui.control.ColorSelector",SSSS_75="lime",SSSS_76="#EEE",SSSS_77="olive",SSSS_78="RGB",SSSS_79="decoration/colorselector/huesaturation-field.jpg",SSSS_80="navy",SSSS_81="teal",SSSS_82="green",SSSS_83="yellow",SSSS_84="#666",SSSS_85="fuchsia",SSSS_86="Details",SSSS_87="",SSSS_88="colorbucket#",SSSS_89="appear",SSSS_90="HSB";qx.Class.define(SSSS_74,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IColorForm],construct:function(){arguments.callee.base.call(this);this._setLayout(new qx.ui.layout.VBox());this._createChildControl(SSSS_41);this.addListener(SSSS_89,this._onAppear,this);},events:{"dialogok":SSSS_36,"dialogcancel":SSSS_36,"changeValue":SSSS_51},properties:{appearance:{refine:true,init:SSSS_73},red:{check:SSSS_30,init:255,apply:SSSS_62},green:{check:SSSS_30,init:255,apply:SSSS_47},blue:{check:SSSS_30,init:255,apply:SSSS_63},hue:{check:SSSS_25,init:0,apply:SSSS_71},saturation:{check:SSSS_25,init:0,apply:SSSS_56},brightness:{check:SSSS_25,init:100,apply:SSSS_66}},members:{__sx:null,__sy:[SSSS_64,SSSS_69,SSSS_61,SSSS_83,SSSS_77,SSSS_68,SSSS_85,SSSS_75,SSSS_82,SSSS_80,SSSS_70,SSSS_49,SSSS_81,SSSS_46,SSSS_48,SSSS_84,SSSS_67,SSSS_53,SSSS_76,SSSS_60],__sz:SSSS_87,__sA:0,__sB:0,__sC:0,__sD:true,__sE:false,_createChildControlImpl:function(id){var control;switch(id){case SSSS_41:control=new qx.ui.container.Composite(new qx.ui.layout.HBox(10));control.add(this.getChildControl(SSSS_32));control.add(this.getChildControl(SSSS_43));this._add(control);break;case SSSS_43:control=new qx.ui.groupbox.GroupBox(this.tr(SSSS_55));control.setLayout(new qx.ui.layout.HBox(10));control.add(this.getChildControl(SSSS_16));control.add(this.getChildControl(SSSS_31));break;case SSSS_32:control=new qx.ui.container.Composite(new qx.ui.layout.VBox(12));control.add(this.getChildControl(SSSS_35));control.add(this.getChildControl(SSSS_44));control.add(this.getChildControl(SSSS_45),{flex:1});break;case SSSS_16:control=new qx.ui.container.Composite(new qx.ui.layout.Canvas());control.setAllowGrowY(false);control.addListener(SSSS_42,this._onHueSaturationPaneMouseWheel,this);control.add(this.getChildControl(SSSS_13));control.add(this.getChildControl(SSSS_1),{left:0,top:256});break;case SSSS_13:control=new qx.ui.basic.Image(SSSS_79);control.addListener(SSSS_8,this._onHueSaturationFieldMouseDown,this);break;case SSSS_1:control=new qx.ui.basic.Image(SSSS_72);control.addListener(SSSS_8,this._onHueSaturationFieldMouseDown,this);control.addListener(SSSS_34,this._onHueSaturationHandleMouseUp,this);control.addListener(SSSS_37,this._onHueSaturationHandleMouseMove,this);break;case SSSS_31:control=new qx.ui.container.Composite(new qx.ui.layout.Canvas());control.setAllowGrowY(false);control.addListener(SSSS_42,this._onBrightnessPaneMouseWheel,this);control.add(this.getChildControl(SSSS_7));control.add(this.getChildControl(SSSS_0));break;case SSSS_7:control=new qx.ui.basic.Image(SSSS_59);control.addListener(SSSS_8,this._onBrightnessFieldMouseDown,this);break;case SSSS_0:control=new qx.ui.basic.Image(SSSS_54);control.addListener(SSSS_8,this._onBrightnessHandleMouseDown,this);control.addListener(SSSS_34,this._onBrightnessHandleMouseUp,this);control.addListener(SSSS_37,this._onBrightnessHandleMouseMove,this);break;case SSSS_35:control=new qx.ui.groupbox.GroupBox(this.tr(SSSS_65));control.setLayout(new qx.ui.layout.Grow());control.add(this.getChildControl(SSSS_33));break;case SSSS_50:control=new qx.ui.core.Widget();control.addListener(SSSS_8,this._onColorFieldClick,this);break;case SSSS_33:controlLayout=new qx.ui.layout.Grid(3,3);control=new qx.ui.container.Composite(controlLayout);var colorField;var colorPos;for(var i=0;i<2;i++){for(var j=0;j<10;j++){colorPos=i*10+j;colorField=this.getChildControl(SSSS_88+colorPos);colorField.setBackgroundColor(this.__sy[colorPos]);control.add(colorField,{column:j,row:i});}}break;case SSSS_44:control=new qx.ui.groupbox.GroupBox(this.tr(SSSS_86));var controlLayout=new qx.ui.layout.VBox();controlLayout.setSpacing(10);control.setLayout(controlLayout);control.add(this.getChildControl(SSSS_38));control.add(this.getChildControl(SSSS_39));control.add(this.getChildControl(SSSS_40));break;case SSSS_45:control=new qx.ui.groupbox.GroupBox(this.tr(SSSS_57));var controlLayout=new qx.ui.layout.HBox(10);control.setLayout(controlLayout);control.add(this.getChildControl(SSSS_10),{flex:1});control.add(this.getChildControl(SSSS_15),{flex:1});break;case SSSS_38:var layout=new qx.ui.layout.HBox(4);layout.setAlignY(SSSS_24);control=new qx.ui.container.Composite(layout);var hexLabel=new qx.ui.basic.Label(this.tr(SSSS_52));control.add(hexLabel);var hexHelper=new qx.ui.basic.Label(SSSS_26);control.add(hexHelper);control.add(this.getChildControl(SSSS_20));break;case SSSS_20:control=new qx.ui.form.TextField(SSSS_58);control.setMaxLength(6);control.setFilter(/[0-9A-Fa-f]/);control.setWidth(55);control.addListener(SSSS_4,this._onHexFieldChange,this);break;case SSSS_39:var layout=new qx.ui.layout.HBox(4);layout.setAlignY(SSSS_24);control=new qx.ui.container.Composite(layout);var rgbSpinLabel=new qx.ui.basic.Label(this.tr(SSSS_78));rgbSpinLabel.setWidth(25);control.add(rgbSpinLabel);control.add(this.getChildControl(SSSS_9));control.add(this.getChildControl(SSSS_11));control.add(this.getChildControl(SSSS_17));break;case SSSS_9:control=new qx.ui.form.Spinner(0,255,255);control.setWidth(50);control.addListener(SSSS_4,this._setRedFromSpinner,this);break;case SSSS_11:control=new qx.ui.form.Spinner(0,255,255);control.setWidth(50);control.addListener(SSSS_4,this._setGreenFromSpinner,this);break;case SSSS_17:control=new qx.ui.form.Spinner(0,255,255);control.setWidth(50);control.addListener(SSSS_4,this._setBlueFromSpinner,this);break;case SSSS_40:var layout=new qx.ui.layout.HBox(4);layout.setAlignY(SSSS_24);control=new qx.ui.container.Composite(layout);var hsbSpinLabel=new qx.ui.basic.Label(this.tr(SSSS_90));hsbSpinLabel.setWidth(25);control.add(hsbSpinLabel);control.add(this.getChildControl(SSSS_18));control.add(this.getChildControl(SSSS_19));control.add(this.getChildControl(SSSS_14));break;case SSSS_18:control=new qx.ui.form.Spinner(0,0,360);control.setWidth(50);control.addListener(SSSS_4,this._setHueFromSpinner,this);break;case SSSS_19:control=new qx.ui.form.Spinner(0,0,100);control.setWidth(50);control.addListener(SSSS_4,this._setSaturationFromSpinner,this);break;case SSSS_14:control=new qx.ui.form.Spinner(0,100,100);control.setWidth(50);control.addListener(SSSS_4,this._setBrightnessFromSpinner,this);break;case SSSS_10:control=new qx.ui.core.Widget();break;case SSSS_15:control=new qx.ui.core.Widget();break;}return control||arguments.callee.base.call(this,id);},setValue:function(value){var rgb;if(value==null){this.__sD=true;rgb=[255,255,255];}else{rgb=qx.util.ColorUtil.stringToRgb(value);this.__sD=false;}this.__sE=true;this.setRed(rgb[0]);this.setGreen(rgb[1]);this.__sE=false;this.setBlue(rgb[2]);},getValue:function(){return this.__sD?null:SSSS_26+qx.util.ColorUtil.rgbToHexString([this.getRed(),this.getGreen(),this.getBlue()]);},resetValue:function(){this.__sD=true;this.__sE=true;this.setRed(255);this.setGreen(255);this.__sE=false;this.setBlue(255);},__sF:function(){if(!this.__sE){this.__sD=false;this.fireDataEvent(SSSS_4,this.getValue());}},_applyRed:function(value,old){if(this.__sx===null){this.__sx=SSSS_27;}if(this.__sx!==SSSS_3){this.getChildControl(SSSS_9).setValue(value);}if(this.__sx!==SSSS_5){this._setHexFromRgb();}switch(this.__sx){case SSSS_3:case SSSS_5:case SSSS_27:this._setHueFromRgb();}this._setPreviewFromRgb();this.__sF();if(this.__sx===SSSS_27){this.__sx=null;}},_applyGreen:function(value,old){if(this.__sx===null){this.__sx=SSSS_28;}if(this.__sx!==SSSS_3){this.getChildControl(SSSS_11).setValue(value);}if(this.__sx!==SSSS_5){this._setHexFromRgb();}switch(this.__sx){case SSSS_3:case SSSS_5:case SSSS_28:this._setHueFromRgb();}this._setPreviewFromRgb();this.__sF();if(this.__sx===SSSS_28){this.__sx=null;}},_applyBlue:function(value,old){if(this.__sx===null){this.__sx=SSSS_22;}if(this.__sx!==SSSS_3){this.getChildControl(SSSS_17).setValue(value);}if(this.__sx!==SSSS_5){this._setHexFromRgb();}switch(this.__sx){case SSSS_3:case SSSS_5:case SSSS_22:this._setHueFromRgb();}this._setPreviewFromRgb();this.__sF();if(this.__sx===SSSS_22){this.__sx=null;}},_applyHue:function(value,old){if(this.__sx===null){this.__sx=SSSS_29;}if(this.__sx!==SSSS_2){this.getChildControl(SSSS_18).setValue(value);}if(this.__sx!==SSSS_6){if(this.getChildControl(SSSS_1).getBounds()){this.getChildControl(SSSS_1).setDomLeft(Math.round(value/1.40625)+this.getChildControl(SSSS_16).getPaddingLeft());}else{this.getChildControl(SSSS_1).setLayoutProperties({left:Math.round(value/1.40625)});}}switch(this.__sx){case SSSS_2:case SSSS_6:case SSSS_29:this._setRgbFromHue();}this._setBrightnessGradiant();if(this.__sx===SSSS_29){this.__sx=null;}},_applySaturation:function(value,old){if(this.__sx===null){this.__sx=SSSS_23;}if(this.__sx!==SSSS_2){this.getChildControl(SSSS_19).setValue(value);}if(this.__sx!==SSSS_6){this._setBrightnessGradiant();if(this.getChildControl(SSSS_1).getBounds()){this.getChildControl(SSSS_1).setDomTop(256-Math.round(value*2.56)+this.getChildControl(SSSS_16).getPaddingTop());}else{this.getChildControl(SSSS_1).setLayoutProperties({top:256-Math.round(value*2.56)});}}switch(this.__sx){case SSSS_2:case SSSS_6:case SSSS_23:this._setRgbFromHue();}if(this.__sx===SSSS_23){this.__sx=null;}},_applyBrightness:function(value,old){if(this.__sx===null){this.__sx=SSSS_21;}if(this.__sx!==SSSS_2){this.getChildControl(SSSS_14).setValue(value);}if(this.__sx!==SSSS_12){var topValue=256-Math.round(value*2.56);if(this.getChildControl(SSSS_0).getBounds()){this.getChildControl(SSSS_0).setDomTop(topValue+this.getChildControl(SSSS_31).getPaddingTop());}else{this.getChildControl(SSSS_0).setLayoutProperties({top:topValue});}}switch(this.__sx){case SSSS_2:case SSSS_12:case SSSS_21:this._setRgbFromHue();}if(this.__sx===SSSS_21){this.__sx=null;}},_onBrightnessHandleMouseDown:function(e){this.getChildControl(SSSS_0).capture();this.__sz=SSSS_0;var locationBrightnessField=this.getChildControl(SSSS_7).getContainerLocation();var locationBrightnessHandle=this.getChildControl(SSSS_0).getContainerLocation();var fieldBounds=this.getChildControl(SSSS_7).getBounds();this.__sA=locationBrightnessField.top+(e.getDocumentTop()-locationBrightnessHandle.top)-fieldBounds.top;e.stopPropagation();},_onBrightnessHandleMouseUp:function(e){this.getChildControl(SSSS_0).releaseCapture();this.__sz=null;},_onBrightnessHandleMouseMove:function(e){if(this.__sz===SSSS_0){this._setBrightnessOnFieldEvent(e);e.stopPropagation();}},_onBrightnessFieldMouseDown:function(e){var location=this.getChildControl(SSSS_7).getContainerLocation();var bounds=this.getChildControl(SSSS_0).getBounds();this.__sA=location.top+(bounds.height/2);this._setBrightnessOnFieldEvent(e);this.getChildControl(SSSS_0).capture();this.__sz=SSSS_0;},_onBrightnessPaneMouseWheel:function(e){this.setBrightness(qx.lang.Number.limit(this.getBrightness()+e.getWheelDelta(),0,100));e.stop();},_setBrightnessOnFieldEvent:function(e){var value=qx.lang.Number.limit(e.getDocumentTop()-this.__sA,0,256);this.__sx=SSSS_12;if(this.getChildControl(SSSS_0).getBounds()){this.getChildControl(SSSS_0).setDomTop(value);}else{this.getChildControl(SSSS_0).setLayoutProperties({top:value});}this.setBrightness(100-Math.round(value/2.56));this.__sx=null;},_onHueSaturationHandleMouseUp:function(e){if(this.__sz){e.stopPropagation();this.getChildControl(SSSS_1).releaseCapture();this.__sz=null;}},_onHueSaturationHandleMouseMove:function(e){if(this.__sz===SSSS_1){this._setHueSaturationOnFieldEvent(e);e.stopPropagation();}},_onHueSaturationFieldMouseDown:function(e){var location=this.getChildControl(SSSS_13).getContainerLocation();var handleBounds=this.getChildControl(SSSS_1).getBounds();var fieldBounds=this.getChildControl(SSSS_13).getBounds();this.__sB=location.top+(handleBounds.height/2)-fieldBounds.top;this.__sC=location.left+(handleBounds.width/2)-fieldBounds.left;this._setHueSaturationOnFieldEvent(e);this.getChildControl(SSSS_1).capture();this.__sz=SSSS_1;},_onHueSaturationPaneMouseWheel:function(e){this.setSaturation(qx.lang.Number.limit(this.getSaturation()+e.getWheelDelta(),0,100));e.stop();},_setHueSaturationOnFieldEvent:function(e){var vTop=qx.lang.Number.limit(e.getDocumentTop()-this.__sB,0,256);var vLeft=qx.lang.Number.limit(e.getDocumentLeft()-this.__sC,0,256);this.getChildControl(SSSS_1).setDomPosition(vLeft,vTop);this.__sx=SSSS_6;this.setSaturation(100-Math.round(vTop/2.56));this.setHue(Math.round(vLeft*1.40625));this.__sx=null;},_setRedFromSpinner:function(){if(this.__sx!==null){return;}this.__sx=SSSS_3;this.setRed(this.getChildControl(SSSS_9).getValue());this.__sx=null;},_setGreenFromSpinner:function(){if(this.__sx!==null){return;}this.__sx=SSSS_3;this.setGreen(this.getChildControl(SSSS_11).getValue());this.__sx=null;},_setBlueFromSpinner:function(){if(this.__sx!==null){return;}this.__sx=SSSS_3;this.setBlue(this.getChildControl(SSSS_17).getValue());this.__sx=null;},_setHueFromSpinner:function(){if(this.__sx!==null){return;}this.__sx=SSSS_2;this.setHue(this.getChildControl(SSSS_18).getValue());this.__sx=null;},_setSaturationFromSpinner:function(){if(this.__sx!==null){return;}this.__sx=SSSS_2;this.setSaturation(this.getChildControl(SSSS_19).getValue());this.__sx=null;},_setBrightnessFromSpinner:function(){if(this.__sx!==null){return;}this.__sx=SSSS_2;this.setBrightness(this.getChildControl(SSSS_14).getValue());this.__sx=null;},_onHexFieldChange:function(e){if(this.__sx!==null){return;}try{var hexField=this.getChildControl(SSSS_20);var rgb=qx.util.ColorUtil.hexStringToRgb(SSSS_26+hexField.getValue());}catch(ex){return;}this.__sx=SSSS_5;this.setRed(rgb[0]);this.setGreen(rgb[1]);this.setBlue(rgb[2]);this.__sx=null;},_setHexFromRgb:function(){var value=qx.util.ColorUtil.rgbToHexString([this.getRed(),this.getGreen(),this.getBlue()]);this.getChildControl(SSSS_20).setValue(value);},_onColorFieldClick:function(e){var vColor=e.getTarget().getBackgroundColor();if(!vColor){return this.error("Missing backgroundColor value for field: "+e.getTarget());}var rgb=qx.util.ColorUtil.stringToRgb(vColor);this.setRed(rgb[0]);this.setGreen(rgb[1]);this.setBlue(rgb[2]);},_setHueFromRgb:function(){switch(this.__sx){case SSSS_2:case SSSS_6:case SSSS_12:break;default:var hsb=qx.util.ColorUtil.rgbToHsb([this.getRed(),this.getGreen(),this.getBlue()]);this.setHue(hsb[0]);this.setSaturation(hsb[1]);this.setBrightness(hsb[2]);}},_setRgbFromHue:function(){switch(this.__sx){case SSSS_3:case SSSS_5:break;default:var vRgb=qx.util.ColorUtil.hsbToRgb([this.getHue(),this.getSaturation(),this.getBrightness()]);this.setRed(vRgb[0]);this.setGreen(vRgb[1]);this.setBlue(vRgb[2]);}},_setPreviewFromRgb:function(){var rgbString=qx.util.ColorUtil.rgbToRgbString([this.getRed(),this.getGreen(),this.getBlue()]);this.getChildControl(SSSS_15).setBackgroundColor(rgbString);},setPreviousColor:function(red,green,blue){var color=qx.util.ColorUtil.rgbToRgbString([red,green,blue]);this.getChildControl(SSSS_10).setBackgroundColor(color);this.setRed(red);this.setGreen(green);this.setBlue(blue);},_setBrightnessGradiant:function(){var ColorUtil=qx.util.ColorUtil;var helpRgb=ColorUtil.hsbToRgb([this.getHue(),this.getSaturation(),255]);var helpRgbString=ColorUtil.rgbToRgbString(helpRgb);this.getChildControl(SSSS_7).setBackgroundColor(helpRgbString);},_onAppear:function(e){var color=qx.util.ColorUtil.rgbToRgbString([this.getRed(),this.getGreen(),this.getBlue()]);this.getChildControl(SSSS_10).setBackgroundColor(color);this.getChildControl(SSSS_15).setBackgroundColor(color);}}});})();(function(){var SSSS_0="blueprint.ui.control.ColorSelector";qx.Class.define(SSSS_0,{extend:qx.ui.control.ColorSelector,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="textfield",SSSS_1="",SSSS_2="downbutton",SSSS_3="upbutton",SSSS_4="Number",SSSS_5="inner",SSSS_6="PageUp",SSSS_7="Boolean",SSSS_8="changeValue",SSSS_9="Down",SSSS_10="Up",SSSS_11="execute",SSSS_12="PageDown",SSSS_13="changeLocale",SSSS_14="qx.dynlocale",SSSS_15="on",SSSS_16="_applyEditable",SSSS_17="_applyWrap",SSSS_18="keydown",SSSS_19="\-]",SSSS_20="mousewheel",SSSS_21="_applyValue",SSSS_22="number",SSSS_23="_applyMinimum",SSSS_24="qx.util.format.NumberFormat",SSSS_25="[0-9",SSSS_26="keyup",SSSS_27="spinner",SSSS_28="this._checkValue(value)",SSSS_29="_applyMaximum",SSSS_30="changeNumberFormat",SSSS_31="_applyNumberFormat",SSSS_32="qx.ui.form.Spinner";qx.Class.define(SSSS_32,{extend:qx.ui.core.Widget,implement:[qx.ui.form.INumberForm,qx.ui.form.IRange,qx.ui.form.IForm],include:[qx.ui.core.MContentPadding,qx.ui.form.MForm],construct:function(min,value,max){arguments.callee.base.call(this);var layout=new qx.ui.layout.Grid();layout.setColumnFlex(0,1);layout.setRowFlex(0,1);layout.setRowFlex(1,1);this._setLayout(layout);this.addListener(SSSS_18,this._onKeyDown,this);this.addListener(SSSS_26,this._onKeyUp,this);this.addListener(SSSS_20,this._onMouseWheel,this);if(qx.core.Variant.isSet(SSSS_14,SSSS_15)){qx.locale.Manager.getInstance().addListener(SSSS_13,this._onChangeLocale,this);}this._createChildControl(SSSS_0);this._createChildControl(SSSS_3);this._createChildControl(SSSS_2);if(min!=null){this.setMinimum(min);}if(max!=null){this.setMaximum(max);}if(value!==undefined){this.setValue(value);}else{this.initValue();}},properties:{appearance:{refine:true,init:SSSS_27},focusable:{refine:true,init:true},singleStep:{check:SSSS_4,init:1},pageStep:{check:SSSS_4,init:10},minimum:{check:SSSS_4,apply:SSSS_23,init:0},value:{check:SSSS_28,nullable:true,apply:SSSS_21,init:0,event:SSSS_8},maximum:{check:SSSS_4,apply:SSSS_29,init:100},wrap:{check:SSSS_7,init:false,apply:SSSS_17},editable:{check:SSSS_7,init:true,apply:SSSS_16},numberFormat:{check:SSSS_24,apply:SSSS_31,nullable:true},allowShrinkY:{refine:true,init:false}},members:{__sG:null,__sH:false,__sI:false,_createChildControlImpl:function(id){var control;switch(id){case SSSS_0:control=new qx.ui.form.TextField();control.setFilter(this._getFilterRegExp());control.addState(SSSS_5);control.setWidth(40);control.setFocusable(false);control.addListener(SSSS_8,this._onTextChange,this);this._add(control,{column:0,row:0,rowSpan:2});break;case SSSS_3:control=new qx.ui.form.RepeatButton();control.addState(SSSS_5);control.setFocusable(false);control.addListener(SSSS_11,this._countUp,this);this._add(control,{column:1,row:0});break;case SSSS_2:control=new qx.ui.form.RepeatButton();control.addState(SSSS_5);control.setFocusable(false);control.addListener(SSSS_11,this._countDown,this);this._add(control,{column:1,row:1});break;}return control||arguments.callee.base.call(this,id);},_getFilterRegExp:function(){var decimalSeparator=qx.locale.Number.getDecimalSeparator(qx.locale.Manager.getInstance().getLocale());var groupSeparator=qx.locale.Number.getGroupSeparator(qx.locale.Manager.getInstance().getLocale());var prefix=SSSS_1;var postfix=SSSS_1;if(this.getNumberFormat()!==null){prefix=this.getNumberFormat().getPrefix()||SSSS_1;postfix=this.getNumberFormat().getPostfix()||SSSS_1;}var filterRegExp=new RegExp(SSSS_25+qx.lang.String.escapeRegexpChars(decimalSeparator)+qx.lang.String.escapeRegexpChars(groupSeparator)+qx.lang.String.escapeRegexpChars(prefix)+qx.lang.String.escapeRegexpChars(postfix)+SSSS_19);return filterRegExp;},_forwardStates:{focused:true,invalid:true},tabFocus:function(){var field=this.getChildControl(SSSS_0);field.getFocusElement().focus();field.selectAllText();},_applyMinimum:function(value,old){if(this.getMaximum()<value){this.setMaximum(value);}if(this.getValue()<value){this.setValue(value);}else{this._updateButtons();}},_applyMaximum:function(value,old){if(this.getMinimum()>value){this.setMin(value);}if(this.getValue()>value){this.setValue(value);}else{this._updateButtons();}},_applyEnabled:function(value,old){arguments.callee.base.call(this,value,old);this._updateButtons();},_checkValue:function(value){return typeof value===SSSS_22&&value>=this.getMinimum()&&value<=this.getMaximum();},_applyValue:function(value,old){var textField=this.getChildControl(SSSS_0);this._updateButtons();this.__sG=value;if(value!==null){if(this.getNumberFormat()){textField.setValue(this.getNumberFormat().format(value));}else{textField.setValue(value+SSSS_1);}}else{textField.setValue(SSSS_1);}},_applyEditable:function(value,old){var textField=this.getChildControl(SSSS_0);if(textField){textField.setReadOnly(!value);}},_applyWrap:function(value,old){this._updateButtons();},_applyNumberFormat:function(value,old){var textfield=this.getChildControl(SSSS_0);textfield.setFilter(this._getFilterRegExp());this.getNumberFormat().addListener(SSSS_30,this._onChangeNumberFormat,this);this._applyValue(this.__sG,undefined);},_getContentPaddingTarget:function(){return this.getChildControl(SSSS_0);},_updateButtons:function(){var upButton=this.getChildControl(SSSS_3);var downButton=this.getChildControl(SSSS_2);var value=this.getValue();if(!this.getEnabled()){upButton.setEnabled(false);downButton.setEnabled(false);}else{if(this.getWrap()){upButton.setEnabled(true);downButton.setEnabled(true);}else{if(value!==null&&value<this.getMaximum()){upButton.setEnabled(true);}else{upButton.setEnabled(false);}if(value!==null&&value>this.getMinimum()){downButton.setEnabled(true);}else{downButton.setEnabled(false);}}}},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case SSSS_6:this.__sH=true;case SSSS_10:this.getChildControl(SSSS_3).press();break;case SSSS_12:this.__sI=true;case SSSS_9:this.getChildControl(SSSS_2).press();break;default:return ;}e.stopPropagation();e.preventDefault();},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case SSSS_6:this.getChildControl(SSSS_3).release();this.__sH=false;break;case SSSS_10:this.getChildControl(SSSS_3).release();break;case SSSS_12:this.getChildControl(SSSS_2).release();this.__sI=false;break;case SSSS_9:this.getChildControl(SSSS_2).release();break;}},_onMouseWheel:function(e){if(e.getWheelDelta()>0){this._countDown();}else{this._countUp();}e.stop();},_onTextChange:function(e){var textField=this.getChildControl(SSSS_0);var value;if(this.getNumberFormat()){try{value=this.getNumberFormat().parse(textField.getValue());}catch(ex){}}if(value===undefined){value=parseFloat(textField.getValue(),10);}if(!isNaN(value)){if(value>this.getMaximum()){textField.setValue(this.getMaximum()+SSSS_1);return;}else if(value<this.getMinimum()){textField.setValue(this.getMinimum()+SSSS_1);return;}this.setValue(value);}else{this._applyValue(this.__sG,undefined);}},_onChangeLocale:function(ev){if(this.getNumberFormat()!==null){this.setNumberFormat(this.getNumberFormat());var textfield=this.getChildControl(SSSS_0);textfield.setFilter(this._getFilterRegExp());textfield.setValue(this.getNumberFormat().format(this.getValue()));}},_onChangeNumberFormat:function(ev){var textfield=this.getChildControl(SSSS_0);textfield.setFilter(this._getFilterRegExp());textfield.setValue(this.getNumberFormat().format(this.getValue()));},_countUp:function(){if(this.__sH){var newValue=this.getValue()+this.getPageStep();}else{var newValue=this.getValue()+this.getSingleStep();}if(this.getWrap()){if(newValue>this.getMaximum()){var diff=this.getMaximum()-newValue;newValue=this.getMinimum()+diff;}}this.gotoValue(newValue);},_countDown:function(){if(this.__sI){var newValue=this.getValue()-this.getPageStep();}else{var newValue=this.getValue()-this.getSingleStep();}if(this.getWrap()){if(newValue<this.getMinimum()){var diff=this.getMinimum()+newValue;newValue=this.getMaximum()-diff;}}this.gotoValue(newValue);},gotoValue:function(value){return this.setValue(Math.min(this.getMaximum(),Math.max(this.getMinimum(),value)));}},destruct:function(){if(qx.core.Variant.isSet(SSSS_14,SSSS_15)){qx.locale.Manager.getInstance().removeListener(SSSS_13,this._onChangeLocale,this);}}});})();(function(){var SSSS_0="blueprint.ui.form.Spinner";qx.Class.define(SSSS_0,{extend:qx.ui.form.Spinner,include:[blueprint.MBlueprintManager,blueprint.ui.form.MSubmitElement],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="blueprint.ui.form.ComboBox";qx.Class.define(SSSS_0,{extend:qx.ui.form.ComboBox,include:[blueprint.MBlueprintManager,blueprint.ui.form.MSubmitElement],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);this.set(vData.qxSettings);},properties:{},members:{},destruct:function(){}});})();(function(){var SSSS_0="execute",SSSS_1="qx.core.Object",SSSS_2="Ctrl+I",SSSS_3="New",SSSS_4="new_form",SSSS_5="Window",SSSS_6="Close",SSSS_7="File",SSSS_8="qx.ui.layout.Canvas",SSSS_9="designer.toolbar.ToolBar",SSSS_10="Export",SSSS_11="changeSelection",SSSS_12="Import",SSSS_13="Open",SSSS_14="Compact JSON",SSSS_15="Ctrl+X",SSSS_16="designer.tree.Tree",SSSS_17="Ctrl+N",SSSS_18="Ctrl+F",SSSS_19="Ctrl+W",SSSS_20="click",SSSS_21="Save",SSSS_22="Pretty JSON",SSSS_23="Form",SSSS_24="Export to Playground";qx.Class.define(SSSS_9,{extend:qx.ui.toolbar.ToolBar,construct:function(objectTree){arguments.callee.base.call(this);this.setObjectTree(objectTree);var file_menu=new qx.ui.menu.Menu();var new_file_menu=new qx.ui.menu.Menu();this._newFormCommand=new qx.ui.core.Command(SSSS_18);this._newFormCommand.addListener(SSSS_0,this.newForm,this);this._newWindowCommand=new qx.ui.core.Command(SSSS_17);this._newWindowCommand.addListener(SSSS_0,this.newWindow,this);this._closeCommand=new qx.ui.core.Command(SSSS_19);this._closeCommand.addListener(SSSS_0,this.close,this);this._exportJsonCommand=new qx.ui.core.Command(SSSS_15);this._exportJsonCommand.addListener(SSSS_0,this.exportJson,this);this._importJsonCommand=new qx.ui.core.Command(SSSS_2);this._importJsonCommand.addListener(SSSS_0,this.importJson,this);var new_file_button=new qx.ui.menu.Button(SSSS_3,null,null,new_file_menu);var open_file_button=new qx.ui.menu.Button(SSSS_13,null,null);var save_file_button=new qx.ui.menu.Button(SSSS_21,null,null);var close_file_button=new qx.ui.menu.Button(SSSS_6,null,this._closeCommand);var export_file_button=new qx.ui.menu.Button(SSSS_10,null,this._exportJsonCommand);var import_file_button=new qx.ui.menu.Button(SSSS_12,null,this._importJsonCommand);var new_form_button=new qx.ui.menu.Button(SSSS_23,null,this._newFormCommand);var new_window_button=new qx.ui.menu.Button(SSSS_5,null,this._newWindowCommand);var file_toolbar_button=new qx.ui.toolbar.MenuButton(SSSS_7,null,file_menu);new_file_menu.add(new_form_button);new_file_menu.add(new_window_button);file_menu.add(new_file_button);file_menu.add(open_file_button);file_menu.add(save_file_button);file_menu.add(close_file_button);file_menu.add(export_file_button);file_menu.add(import_file_button);this.add(file_toolbar_button);this.add(new qx.ui.toolbar.Separator());var json_group=new qx.ui.form.RadioGroup();var pretty_json_button=new qx.ui.toolbar.RadioButton(SSSS_22);this.add(pretty_json_button);json_group.add(pretty_json_button);var compact_json_button=new qx.ui.toolbar.RadioButton(SSSS_14);this.add(compact_json_button);json_group.add(compact_json_button);json_group.setSelection([pretty_json_button]);json_group.addListener(SSSS_11,function(e){if(json_group.getSelection()[0]==pretty_json_button){this.getObjectTree().setPrettyJson(true);}if(json_group.getSelection()[0]==compact_json_button){this.getObjectTree().setPrettyJson(false);}this.getObjectTree().exportJson();},this);this.add(new qx.ui.toolbar.Separator());var export_button=new qx.ui.toolbar.Button(SSSS_24);this.add(export_button);export_button.addListener(SSSS_20,this.getObjectTree().exportToPlayground,this.getObjectTree());},properties:{objectTree:{check:SSSS_16},topDock:{check:SSSS_1}},members:{close:function(e){this.getObjectTree().setActiveForm(null);},newForm:function(e){var layoutObj={"qxSettings":{},"constructorSettings":{"innerLayout":SSSS_8}};this.getObjectTree().setActiveForm(new designer.widget.Simple(new blueprint.ui.container.Composite(layoutObj,SSSS_4)));},newWindow:function(e){alert('New window!'+e);},exportJson:function(e){this.getObjectTree().exportJson();},importJson:function(e){alert('Export JSON!'+e);}},destruct:function(){}});})();(function(){var SSSS_0="String",SSSS_1="execute",SSSS_2="qx.ui.menu.Menu",SSSS_3="_shortcut",SSSS_4="changeEnabled",SSSS_5="changeToolTipText",SSSS_6="Boolean",SSSS_7="qx.ui.core.Command",SSSS_8="changeLabel",SSSS_9="changeMenu",SSSS_10="changeIcon",SSSS_11="changeValue",SSSS_12="_applyShortcut",SSSS_13="_applyEnabled",SSSS_14="qx.event.type.Data";qx.Class.define(SSSS_7,{extend:qx.core.Object,construct:function(shortcut){arguments.callee.base.call(this);this._shortcut=new qx.bom.Shortcut(shortcut);this._shortcut.addListener(SSSS_1,this.execute,this);},events:{"execute":SSSS_14},properties:{enabled:{init:true,check:SSSS_6,event:SSSS_4,apply:SSSS_13},shortcut:{check:SSSS_0,apply:SSSS_12,nullable:true},label:{check:SSSS_0,nullable:true,event:SSSS_8},icon:{check:SSSS_0,nullable:true,event:SSSS_10},toolTipText:{check:SSSS_0,nullable:true,event:SSSS_5},value:{nullable:true,event:SSSS_11},menu:{check:SSSS_2,nullable:true,event:SSSS_9}},members:{_shortcut:null,_applyEnabled:function(value){this._shortcut.setEnabled(value);},_applyShortcut:function(value){this._shortcut.setShortcut(value);},execute:function(target){this.fireDataEvent(SSSS_1,target);},toString:function(){return this._shortcut.toString();}},destruct:function(){this._disposeObjects(SSSS_3);}});})();(function(){var SSSS_0="Unidentified",SSSS_1="Boolean",SSSS_2="+",SSSS_3="short",SSSS_4="keydown",SSSS_5="",SSSS_6="Control",SSSS_7="keypress",SSSS_8="-",SSSS_9="PageUp",SSSS_10="Escape",SSSS_11="qx.event.type.Data",SSSS_12="_applyShortcut",SSSS_13="PrintScreen",SSSS_14="NumLock",SSSS_15="5",SSSS_16="8",SSSS_17="execute",SSSS_18="Meta",SSSS_19="0",SSSS_20="2",SSSS_21="This message will be made private.",SSSS_22="Shift",SSSS_23="You can only specify one non modifier key!",SSSS_24="3",SSSS_25="/",SSSS_26="_applyEnabled",SSSS_27="String",SSSS_28="changeEnabled",SSSS_29="*",SSSS_30="qx.bom.Shortcut",SSSS_31="6",SSSS_32="4",SSSS_33="1",SSSS_34="Alt",SSSS_35="Not a valid key name for a shortcut: ",SSSS_36="PageDown",SSSS_37="Whitespaces are not allowed within shortcuts",SSSS_38="Delete",SSSS_39="7",SSSS_40="a",SSSS_41="z",SSSS_42="9";qx.Class.define(SSSS_30,{extend:qx.core.Object,construct:function(shortcut){arguments.callee.base.call(this);this.__sJ={};this.__sK=null;if(shortcut!=null){this.setShortcut(shortcut);}this.initEnabled();},events:{"execute":SSSS_11},properties:{enabled:{init:true,check:SSSS_1,event:SSSS_28,apply:SSSS_26},shortcut:{check:SSSS_27,apply:SSSS_12,nullable:true},autoRepeat:{check:SSSS_1,init:false}},members:{__sJ:SSSS_5,__sK:SSSS_5,execute:function(target){this.fireDataEvent(SSSS_17,target);},__sL:function(event){if(this.getEnabled()&&this.__sN(event)){if(!this.isAutoRepeat()){this.execute(event.getTarget());}event.stop();}},__sM:function(event){if(this.getEnabled()&&this.__sN(event)){if(this.isAutoRepeat()){this.execute(event.getTarget());}event.stop();}},_applyEnabled:function(value,old){if(value){qx.event.Registration.addListener(document.documentElement,SSSS_4,this.__sL,this);qx.event.Registration.addListener(document.documentElement,SSSS_7,this.__sM,this);}else{qx.event.Registration.removeListener(document.documentElement,SSSS_4,this.__sL,this);qx.event.Registration.removeListener(document.documentElement,SSSS_7,this.__sM,this);}},_applyShortcut:function(value,old){if(value){if(value.search(/[\s]+/)!=-1){var msg=SSSS_37;this.error(msg);throw new Error(msg);}this.__sJ={"Control":false,"Shift":false,"Meta":false,"Alt":false};this.__sK=null;var index;var a=[];while(value.length>0&&index!=-1){index=value.search(/[-+]+/);a.push((value.length==1||index==-1)?value:value.substring(0,index));value=value.substring(index+1);}var al=a.length;for(var i=0;i<al;i++){var identifier=this.__sP(a[i]);switch(identifier){case SSSS_6:case SSSS_22:case SSSS_18:case SSSS_34:this.__sJ[identifier]=true;break;case SSSS_0:var msg=SSSS_35+a[i];this.error(msg);throw msg;default:if(this.__sK){var msg=SSSS_23;this.error(msg);throw msg;}this.__sK=identifier;}}}return true;},matchesKeyEvent:function(e){qx.log.Logger.deprecatedMethodWarning(arguments.callee,SSSS_21);return this.__sN(e);},__sN:function(e){var key=this.__sK;if(!key){return ;}if((!this.__sJ.Shift&&e.isShiftPressed())||(this.__sJ.Shift&&!e.isShiftPressed())||(!this.__sJ.Control&&e.isCtrlPressed())||(this.__sJ.Control&&!e.isCtrlPressed())||(!this.__sJ.Meta&&e.isMetaPressed())||(this.__sJ.Meta&&!e.isMetaPressed())||(!this.__sJ.Alt&&e.isAltPressed())||(this.__sJ.Alt&&!e.isAltPressed())){return false;}if(key==e.getKeyIdentifier()){return true;}return false;},__sO:{esc:SSSS_10,ctrl:SSSS_6,print:SSSS_13,del:SSSS_38,pageup:SSSS_9,pagedown:SSSS_36,numlock:SSSS_14,numpad_0:SSSS_19,numpad_1:SSSS_33,numpad_2:SSSS_20,numpad_3:SSSS_24,numpad_4:SSSS_32,numpad_5:SSSS_15,numpad_6:SSSS_31,numpad_7:SSSS_39,numpad_8:SSSS_16,numpad_9:SSSS_42,numpad_divide:SSSS_25,numpad_multiply:SSSS_29,numpad_minus:SSSS_8,numpad_plus:SSSS_2},__sP:function(keyName){var KeyHandler=qx.event.handler.Keyboard;var keyIdentifier=SSSS_0;if(KeyHandler.isValidKeyIdentifier(keyName)){return keyName;}if(keyName.length==1&&keyName>=SSSS_40&&keyName<=SSSS_41){return keyName.toUpperCase();}keyName=keyName.toLowerCase();var keyIdentifier=this.__sO[keyName]||qx.lang.String.firstUp(keyName);if(KeyHandler.isValidKeyIdentifier(keyIdentifier)){return keyIdentifier;}else{return SSSS_0;}},toString:function(){var key=this.__sK;var str=[];for(var modifier in this.__sJ){if(this.__sJ[modifier]){str.push(qx.locale.Key.getKeyName(SSSS_3,modifier));}}if(key){str.push(qx.locale.Key.getKeyName(SSSS_3,key));}return str.join(SSSS_2);}},destruct:function(){this.setEnabled(false);this.__sJ=this.__sK=null;}});})();(function(){var SSSS_0="Control",SSSS_1="Left",SSSS_2="Meta",SSSS_3="Pause",SSSS_4="End",SSSS_5="Down",SSSS_6="Ctrl",SSSS_7="Home",SSSS_8="Apps",SSSS_9="Win",SSSS_10="Right",SSSS_11="Backspace",SSSS_12="Space",SSSS_13="Up",SSSS_14="Shift",SSSS_15="Enter",SSSS_16="Scroll",SSSS_17="Alt",SSSS_18="Escape",SSSS_19="key_full_Meta",SSSS_20="PrintScreen",SSSS_21="NumLock",SSSS_22="key_short_Alt",SSSS_23="key_short_Control_Mac",SSSS_24="key_short_Insert",SSSS_25="Del",SSSS_26="key_full_Enter",SSSS_27="key_full_Control",SSSS_28="qx.locale.Key",SSSS_29="Tabulator",SSSS_30="key_full_Space",SSSS_31="key_short_Meta",SSSS_32="key_short_PageUp",SSSS_33="key_short_Pause",SSSS_34="key_full_Down",SSSS_35="key_short_Apps",SSSS_36="key_short_Win",SSSS_37="key_full_Right",SSSS_38="key_short_Up",SSSS_39="key_full_PageDown",SSSS_40="key_full_Alt",SSSS_41="PgDn",SSSS_42="Esc",SSSS_43="key_full_Insert",SSSS_44="key_short_Space",SSSS_45="key_short_Backspace",SSSS_46="key_short_Home",SSSS_47="full",SSSS_48="key_short_Down",SSSS_49="PgUp",SSSS_50="_Mac",SSSS_51="key_short_CapsLock",SSSS_52="PageUp",SSSS_53="key_full_Up",SSSS_54="key_full_Home",SSSS_55="key_full_Backspace",SSSS_56="PageDown",SSSS_57="CapsLock",SSSS_58="Ins",SSSS_59="key_short_PrintScreen",SSSS_60="Tab",SSSS_61="key_full_Apps",SSSS_62="key_short_Tab",SSSS_63="key_short_End",SSSS_64="_",SSSS_65="Caps",SSSS_66="key_short_NumLock",SSSS_67="Num",SSSS_68="key_full_Scroll",SSSS_69="key_short_Left",SSSS_70="key_short_Scroll",SSSS_71="on",SSSS_72="key_full_Control_Mac",SSSS_73="key_",SSSS_74="key_full_Pause",SSSS_75="key_short_Right",SSSS_76="key_full_PrintScreen",SSSS_77="key_full_Win",SSSS_78="short",SSSS_79="key_short_Shift",SSSS_80="key_short_PageDown",SSSS_81="key_short_Enter",SSSS_82="key_short_Control",SSSS_83="qx.debug",SSSS_84="Insert",SSSS_85="key_short_Escape",SSSS_86="key_full_Tab",SSSS_87="Print",SSSS_88="Delete",SSSS_89="key_full_CapsLock",SSSS_90="key_full_Escape",SSSS_91="key_short_Delete",SSSS_92="key_full_PageUp",SSSS_93="key_full_Shift",SSSS_94="key_full_NumLock",SSSS_95="key_full_Delete",SSSS_96="key_full_End",SSSS_97="key_full_Left";qx.Class.define(SSSS_28,{statics:{getKeyName:function(size,keyIdentifier,locale){if(qx.core.Variant.isSet(SSSS_83,SSSS_71)){qx.core.Assert.assertInArray(size,[SSSS_78,SSSS_47]);}var key=SSSS_73+size+SSSS_64+keyIdentifier;if(qx.bom.client.Platform.MAC&&keyIdentifier==SSSS_0){key+=SSSS_50;}var localizedKey=qx.locale.Manager.getInstance().translate(key,[],locale);if(localizedKey==key){return qx.locale.Key._keyNames[key]||keyIdentifier;}else{return localizedKey;}}},defer:function(statics,members,properties){var keyNames={};var Manager=qx.locale.Manager;keyNames[Manager.marktr(SSSS_45)]=SSSS_11;keyNames[Manager.marktr(SSSS_62)]=SSSS_60;keyNames[Manager.marktr(SSSS_44)]=SSSS_12;keyNames[Manager.marktr(SSSS_81)]=SSSS_15;keyNames[Manager.marktr(SSSS_79)]=SSSS_14;keyNames[Manager.marktr(SSSS_82)]=SSSS_6;keyNames[Manager.marktr(SSSS_23)]=SSSS_6;keyNames[Manager.marktr(SSSS_22)]=SSSS_17;keyNames[Manager.marktr(SSSS_51)]=SSSS_65;keyNames[Manager.marktr(SSSS_31)]=SSSS_2;keyNames[Manager.marktr(SSSS_85)]=SSSS_42;keyNames[Manager.marktr(SSSS_69)]=SSSS_1;keyNames[Manager.marktr(SSSS_38)]=SSSS_13;keyNames[Manager.marktr(SSSS_75)]=SSSS_10;keyNames[Manager.marktr(SSSS_48)]=SSSS_5;keyNames[Manager.marktr(SSSS_32)]=SSSS_49;keyNames[Manager.marktr(SSSS_80)]=SSSS_41;keyNames[Manager.marktr(SSSS_63)]=SSSS_4;keyNames[Manager.marktr(SSSS_46)]=SSSS_7;keyNames[Manager.marktr(SSSS_24)]=SSSS_58;keyNames[Manager.marktr(SSSS_91)]=SSSS_25;keyNames[Manager.marktr(SSSS_66)]=SSSS_67;keyNames[Manager.marktr(SSSS_59)]=SSSS_87;keyNames[Manager.marktr(SSSS_70)]=SSSS_16;keyNames[Manager.marktr(SSSS_33)]=SSSS_3;keyNames[Manager.marktr(SSSS_36)]=SSSS_9;keyNames[Manager.marktr(SSSS_35)]=SSSS_8;keyNames[Manager.marktr(SSSS_55)]=SSSS_11;keyNames[Manager.marktr(SSSS_86)]=SSSS_29;keyNames[Manager.marktr(SSSS_30)]=SSSS_12;keyNames[Manager.marktr(SSSS_26)]=SSSS_15;keyNames[Manager.marktr(SSSS_93)]=SSSS_14;keyNames[Manager.marktr(SSSS_27)]=SSSS_0;keyNames[Manager.marktr(SSSS_72)]=SSSS_0;keyNames[Manager.marktr(SSSS_40)]=SSSS_17;keyNames[Manager.marktr(SSSS_89)]=SSSS_57;keyNames[Manager.marktr(SSSS_19)]=SSSS_2;keyNames[Manager.marktr(SSSS_90)]=SSSS_18;keyNames[Manager.marktr(SSSS_97)]=SSSS_1;keyNames[Manager.marktr(SSSS_53)]=SSSS_13;keyNames[Manager.marktr(SSSS_37)]=SSSS_10;keyNames[Manager.marktr(SSSS_34)]=SSSS_5;keyNames[Manager.marktr(SSSS_92)]=SSSS_52;keyNames[Manager.marktr(SSSS_39)]=SSSS_56;keyNames[Manager.marktr(SSSS_96)]=SSSS_4;keyNames[Manager.marktr(SSSS_54)]=SSSS_7;keyNames[Manager.marktr(SSSS_43)]=SSSS_84;keyNames[Manager.marktr(SSSS_95)]=SSSS_88;keyNames[Manager.marktr(SSSS_94)]=SSSS_21;keyNames[Manager.marktr(SSSS_76)]=SSSS_20;keyNames[Manager.marktr(SSSS_68)]=SSSS_16;keyNames[Manager.marktr(SSSS_74)]=SSSS_3;keyNames[Manager.marktr(SSSS_77)]=SSSS_9;keyNames[Manager.marktr(SSSS_61)]=SSSS_8;statics._keyNames=keyNames;}});})();(function(){var SSSS_0="function",SSSS_1="Integer",SSSS_2="drop",SSSS_3="click",SSSS_4="designer.tree.Tree",SSSS_5="qx.ui.core.Widget",SSSS_6="qx.ui.core.LayoutItem",SSSS_7="designer.widget.Simple";qx.Class.define(SSSS_7,{extend:qx.ui.core.Widget,construct:function(widget){arguments.callee.base.call(this);this._setLayout(new qx.ui.layout.Canvas());if(widget instanceof blueprint.ui.container.Composite||widget instanceof blueprint.ui.groupbox.GroupBox){this.setWidgetPadding(0);this.setDroppable(true);this.addListener(SSSS_2,function(e){this.getObjectTree().addTreeNode(this,e.getRelatedTarget().getControlItem(),e);e.stopPropagation();},this);}else{this.setInnerBox(new qx.ui.core.Widget());this.setWidgetPadding(0);widget.setZIndex(-1);this._add(this.getInnerBox(),{left:3,top:3,right:3,bottom:3});if(typeof widget.add==SSSS_0){this.setDroppable(true);this.addListener(SSSS_2,function(e){this.debug('firing drop on '+widget);this.getObjectTree().addTreeNode(this,e.getRelatedTarget().getControlItem(),e);e.stopPropagation();},this);}}this._add(widget,{left:this.getWidgetPadding(),top:this.getWidgetPadding(),right:this.getWidgetPadding(),bottom:this.getWidgetPadding()});this.setTargetControl(widget);if(widget.getWidth()!=null){this.setWidth(widget.getWidth());}if(widget.getHeight()!=null){this.setHeight(widget.getHeight());}this.addListener(SSSS_3,function(e){this.getObjectTree().select(this);e.stopPropagation();});},properties:{objectTree:{check:SSSS_4},targetControl:{check:SSSS_6},innerBox:{check:SSSS_5,init:null},myNode:{check:SSSS_1},widgetPadding:{check:SSSS_1}},members:{add:function(child,options){if(typeof this.getTargetControl().add==SSSS_0){this.getTargetControl().add(child,options);}else{this.warn('this.add called on widget without .add function.');}}},destruct:function(){}});})();(function(){var SSSS_0="",SSSS_1="execute",SSSS_2="qx.ui.form.List",SSSS_3='north',SSSS_4="selection[0]",SSSS_5="appear",SSSS_6="Save Script",SSSS_7="designer.controller.Script",SSSS_8="New Script",SSSS_9="vertical",SSSS_10="center",SSSS_11="value",SSSS_12="single",SSSS_13="Enter a name for this script",SSSS_14="designer.tree.Tree",SSSS_15="changeSelection",SSSS_16="Delete Script",SSSS_17="qx.ui.form.TextArea";qx.Class.define(SSSS_7,{extend:qx.ui.container.Composite,construct:function(objectTree){arguments.callee.base.call(this,new qx.ui.layout.Dock());this.setObjectTree(objectTree);var toolbar=new qx.ui.toolbar.ToolBar();this.add(toolbar,{edge:SSSS_3});var newScript=new qx.ui.toolbar.Button(SSSS_8);var saveScript=new qx.ui.toolbar.Button(SSSS_6);var delScript=new qx.ui.toolbar.Button(SSSS_16);toolbar.add(newScript);toolbar.add(saveScript);toolbar.add(delScript);newScript.addListener(SSSS_1,this.newScript,this);saveScript.addListener(SSSS_1,this.saveScript,this);var splitPane=new qx.ui.splitpane.Pane(SSSS_9);this.add(splitPane,{edge:SSSS_10});var targetTop=new qx.ui.container.Composite(new qx.ui.layout.Grow());var targetBot=new qx.ui.container.Composite(new qx.ui.layout.Grow());splitPane.add(targetTop,1);splitPane.add(targetBot,1);var scriptList=new qx.ui.form.List();var scriptArea=new qx.ui.form.TextArea();scriptList.setSelectionMode(SSSS_12);scriptArea.setEnabled(false);targetTop.add(scriptList);targetBot.add(scriptArea);this.setScriptList(scriptList);this.setScriptArea(scriptArea);this.addListener(SSSS_5,this.refreshScripts,this);scriptList.addListener(SSSS_15,function(e){if(this.isSelectionEmpty()){scriptArea.setEnabled(false);}else{scriptArea.setEnabled(true);}});},properties:{objectTree:{check:SSSS_14},scriptList:{check:SSSS_2},scriptArea:{check:SSSS_17}},members:{refreshScripts:function(){this.getScriptList().removeAll();this.getScriptArea().setValue(SSSS_0);this.getScriptArea().setEnabled(false);var scriptsObject=this.getObjectTree().getBlueprintScripts();var rawScriptsKeys=new Array();for(var s in scriptsObject){rawScriptsKeys.push(s);}var scriptsKeys=new qx.data.Array(rawScriptsKeys);var scriptController=new qx.data.controller.List(scriptsKeys,this.getScriptList());var options={converter:function(value){return scriptsObject[value];}};scriptController.bind(SSSS_4,this.getScriptArea(),SSSS_11,options);},saveScript:function(){if(this.getScriptList().isSelectionEmpty()){alert('No script selected!');}else{alert('Saving script '+this.getScriptList().getValue()+' as '+this.getScriptArea().getValue());this.getObjectTree().saveBlueprintScript(this.getScriptList().getValue(),this.getScriptArea().getValue());}},newScript:function(){var name=prompt(SSSS_13);this.getObjectTree().saveBlueprintScript(name,SSSS_0);this.refreshScripts();}},destruct:function(){}});})();(function(){var SSSS_0="blueprint/control-items",SSSS_1="dragstart",SSSS_2="designer.list.ControlItem",SSSS_3="copy";qx.Class.define(SSSS_2,{extend:qx.ui.form.ListItem,construct:function(label,icon,value,object,vData,popupEdit){arguments.callee.base.call(this,label,icon,value);this.setDraggable(true);this.addListener(SSSS_1,function(e){e.addAction(SSSS_3);e.addType(SSSS_0);});this.__sQ=object;this.__sR=vData;this.__sS=popupEdit;},properties:{},members:{__sQ:null,__sR:null,__sS:null,getControlItem:function(){return new designer.widget.Mutable(new this.__sQ(this.__sR),this.__sS);}},destruct:function(){}});})();(function(){var SSSS_0="execute",SSSS_1="contextmenu",SSSS_2="appear",SSSS_3="resize",SSSS_4="dblclick",SSSS_5="function",SSSS_6="keypress",SSSS_7="Enter",SSSS_8="",SSSS_9="Option 2",SSSS_10="qx.ui.layout.Canvas",SSSS_11="mouseover",SSSS_12="mouseout",SSSS_13="designer.widget.Mutable",SSSS_14="#ABCDEF",SSSS_15="move",SSSS_16="main",SSSS_17="Remove ",SSSS_18="Option 1";qx.Class.define(SSSS_13,{extend:designer.widget.Simple,include:[qx.ui.core.MMovable,qx.ui.core.MResizable],construct:function(widget,popupEdit){arguments.callee.base.call(this,widget);this.setResizable(false);this.addListener(SSSS_11,function(e){this.setShadow(SSSS_16);},this);this.addListener(SSSS_12,function(e){this.setShadow(null);},this);this.addListenerOnce(SSSS_2,function(e){if(typeof this.getLayoutParent().getLayout==SSSS_5){var layout=this.getLayoutParent().getLayout().classname;}else{var layout=SSSS_8;}if(layout==SSSS_10){if(this.getTargetControl() instanceof blueprint.ui.container.Composite||this.getTargetControl() instanceof blueprint.ui.groupbox.GroupBox){this._activateMoveHandle(this);widget.setContextMenu(this.getContextMenu());widget.addListener(SSSS_1,function(e){e.stopPropagation();});}else{this._activateMoveHandle(this.getInnerBox());this.getInnerBox().setContextMenu(this.getContextMenu());this.getInnerBox().addListener(SSSS_1,function(e){e.stopPropagation();});}this.setResizable(true);this.addListener(SSSS_3,function(e){var new_width=Math.round(this.getWidth()/10)*10;var new_height=Math.round(this.getHeight()/10)*10;this.setWidth(new_width);this.setHeight(new_height);this.getTargetControl().setWidth(new_width-(this.getWidgetPadding()*2));this.getTargetControl().setHeight(new_height-(this.getWidgetPadding()*2));},this);this.addListener(SSSS_15,function(e){if(this.getLayoutParent().getLayout() instanceof qx.ui.layout.Canvas){var layout=this.getLayoutProperties();var new_layout=new Object();for(var i in layout){new_layout[i]=Math.round(layout[i]/10)*10;}this.setLayoutProperties(new_layout);}},this);}},this);if(popupEdit){this.debug('popupeditor enabled');var popup=new qx.ui.popup.Popup(new qx.ui.layout.Canvas()).set({backgroundColor:SSSS_14,padding:[2,2]});var textField=new qx.ui.form.TextField();textField.setAllowGrowX(true);textField.addListener(SSSS_6,function(e){if(e.getKeyIdentifier()==SSSS_7){popup.hide();widget.set(popupEdit,textField.getValue());}},widget);popup.add(textField);this.addListener(SSSS_4,function(e){this.debug("ASFKJHASKFJHASFKJHASD");textField.setValue(widget.get(popupEdit));popup.placeToWidget(widget);popup.show();e.stopPropagation();});textField.addListener(SSSS_2,function(e){textField.selectAllText();textField.setWidth(widget.getSizeHint().width+60);},widget);}},properties:{},members:{getContextMenu:function(){var menu=new qx.ui.menu.Menu;var cmd_one=new qx.ui.menu.Button(SSSS_18);var cmd_two=new qx.ui.menu.Button(SSSS_9);var removeSelf=new qx.ui.menu.Button(SSSS_17+this.getTargetControl().classname);cmd_one.addListener(SSSS_0,function(e){this.__sV();},this);cmd_two.addListener(SSSS_0,function(e){this.__sU();},this);removeSelf.addListener(SSSS_0,function(e){this.__sT();},this);menu.add(cmd_one);menu.add(cmd_two);menu.add(removeSelf);return menu;},__sT:function(){qx.event.Timer.once(function(e){this.getObjectTree().removeTreeNode(this);},this,100);},__sU:function(){},__sV:function(){},__sW:function(){},__sX:function(){}},destruct:function(){}});})();(function(){var SSSS_0="designer.tree.Tree",SSSS_1="designer.controller.FormSecurity",SSSS_2="myMode2",SSSS_3="myMode3",SSSS_4="Security Modes:",SSSS_5="myMode1";qx.Class.define(SSSS_1,{extend:qx.ui.container.Composite,construct:function(tree){arguments.callee.base.call(this,new qx.ui.layout.Canvas());this.set({width:250,height:320,objectTree:tree});var list_mode=new qx.ui.form.List();list_mode.add(new qx.ui.form.ListItem(SSSS_5));list_mode.add(new qx.ui.form.ListItem(SSSS_2));list_mode.add(new qx.ui.form.ListItem(SSSS_3));this.add(new qx.ui.basic.Label(SSSS_4),{top:10,left:10});this.add(list_mode,{top:40,left:10});this.enableControls(false);},properties:{objectTree:{check:SSSS_0}},members:{updateSelection:function(object){},setMaps:function(layoutMap,height,width){},enableControls:function(value){},applyMaps:function(e){}},destruct:function(){}});})();(function(){var SSSS_0="",SSSS_1="execute",SSSS_2="qx.ui.form.List",SSSS_3="Delete Function",SSSS_4='north',SSSS_5="selection[0]",SSSS_6="appear",SSSS_7="designer.tree.Tree",SSSS_8="qx.ui.form.TextArea",SSSS_9="Enter a name for this function",SSSS_10="single",SSSS_11="Save Function",SSSS_12="center",SSSS_13="value",SSSS_14="New Function",SSSS_15="changeSelection",SSSS_16="vertical",SSSS_17="designer.controller.Function";qx.Class.define(SSSS_17,{extend:qx.ui.container.Composite,construct:function(objectTree){arguments.callee.base.call(this,new qx.ui.layout.Dock());this.setObjectTree(objectTree);var toolbar=new qx.ui.toolbar.ToolBar();this.add(toolbar,{edge:SSSS_4});var newFunction=new qx.ui.toolbar.Button(SSSS_14);var saveFunction=new qx.ui.toolbar.Button(SSSS_11);var delFunction=new qx.ui.toolbar.Button(SSSS_3);toolbar.add(newFunction);toolbar.add(saveFunction);toolbar.add(delFunction);newFunction.addListener(SSSS_1,this.newFunction,this);saveFunction.addListener(SSSS_1,this.saveFunction,this);var splitPane=new qx.ui.splitpane.Pane(SSSS_16);this.add(splitPane,{edge:SSSS_12});var targetTop=new qx.ui.container.Composite(new qx.ui.layout.Grow());var targetBot=new qx.ui.container.Composite(new qx.ui.layout.Grow());splitPane.add(targetTop,1);splitPane.add(targetBot,1);var functionList=new qx.ui.form.List();var functionArea=new qx.ui.form.TextArea();functionList.setSelectionMode(SSSS_10);functionArea.setEnabled(false);targetTop.add(functionList);targetBot.add(functionArea);this.setFunctionList(functionList);this.setFunctionArea(functionArea);this.addListener(SSSS_6,this.refreshFunctions,this);functionList.addListener(SSSS_15,function(e){if(this.isSelectionEmpty()){functionArea.setEnabled(false);}else{functionArea.setEnabled(true);}});},properties:{objectTree:{check:SSSS_7},functionList:{check:SSSS_2},functionArea:{check:SSSS_8}},members:{refreshFunctions:function(){this.getFunctionList().removeAll();this.getFunctionArea().setValue(SSSS_0);this.getFunctionArea().setEnabled(false);var functionsObject=this.getObjectTree().getBlueprintFunctions();var rawFunctionsKeys=new Array();for(var s in functionsObject){rawFunctionsKeys.push(s);}var functionsKeys=new qx.data.Array(rawFunctionsKeys);var functionController=new qx.data.controller.List(functionsKeys,this.getFunctionList());var options={converter:function(value){return functionsObject[value];}};functionController.bind(SSSS_5,this.getFunctionArea(),SSSS_13,options);},saveFunction:function(){if(this.getFunctionList().isSelectionEmpty()){alert('No function selected!');}else{alert('Saving function '+this.getFunctionList().getValue()+' as '+this.getFunctionArea().getValue());this.getObjectTree().saveBlueprintFunction(this.getFunctionList().getValue(),this.getFunctionArea().getValue());}},newFunction:function(){var name=prompt(SSSS_9);this.getObjectTree().saveBlueprintFunction(name,SSSS_0);this.refreshFunctions();}},destruct:function(){}});})();(function(){var SSSS_0="blueprint/internal-items",SSSS_1="designer.list.InternalItem",SSSS_2="dragstart",SSSS_3="copy";qx.Class.define(SSSS_1,{extend:qx.ui.form.ListItem,construct:function(label,icon,value,object,vData){arguments.callee.base.call(this,label,icon,value);this.setDraggable(true);this.addListener(SSSS_2,function(e){e.addAction(SSSS_3);e.addType(SSSS_0);});this.__sY=object;this.__ta=vData;},properties:{},members:{__sY:null,__ta:null,getControlItem:function(){return new this.__sY(this.__ta);}},destruct:function(){}});})();(function(){var SSSS_0="qx.ui.layout.Dock",SSSS_1="qx.ui.layout.Canvas",SSSS_2="pane",SSSS_3="Spinner",SSSS_4="Label",SSSS_5="ToolBar Button",SSSS_6="Dock Container",SSSS_7="TextArea",SSSS_8="ToolBar",SSSS_9="Slider",SSSS_10="value",SSSS_11="qx.ui.layout.HBox",SSSS_12="Button",SSSS_13="Pane Container",SSSS_14="Transparent Dock",SSSS_15="TextField",SSSS_16="qx.ui.layout.VBox",SSSS_17="NewLabel",SSSS_18="Transparent Canvas",SSSS_19="List",SSSS_20="GroupBox Container",SSSS_21="label",SSSS_22="CheckBox",SSSS_23="NewButton",SSSS_24="DateField",SSSS_25="designer.list.Control",SSSS_26="PasswordField";qx.Class.define(SSSS_25,{extend:qx.ui.form.List,construct:function(horizontal){arguments.callee.base.call(this,horizontal);this.setWidth(250);var buttonObj={"qxSettings":{"label":SSSS_23,"height":20,"width":100},"constructorSettings":{}};var labelObj={"qxSettings":{"value":SSSS_17,"height":20,"width":100},"constructorSettings":{}};var genericObj={"qxSettings":{},"constructorSettings":{}};var layoutObj={"qxSettings":{"height":200,"width":200},"constructorSettings":{"innerLayout":SSSS_1}};var layoutDockObj={"qxSettings":{"height":200,"width":200},"constructorSettings":{"innerLayout":SSSS_0}};var layoutHBoxObj={"qxSettings":{"height":200,"width":200},"constructorSettings":{"innerLayout":SSSS_11}};var layoutVBoxObj={"qxSettings":{"height":200,"width":200},"constructorSettings":{"innerLayout":SSSS_16}};var layoutPaneObj={"qxSettings":{"height":200,"width":200,"decorator":SSSS_2},"constructorSettings":{"innerLayout":SSSS_1}};var layoutPaneDockObj={"qxSettings":{"height":200,"width":200,"decorator":SSSS_2},"constructorSettings":{"innerLayout":SSSS_0}};this.add(new designer.list.ControlItem(SSSS_18,null,null,blueprint.ui.container.Composite,layoutObj));this.add(new designer.list.ControlItem(SSSS_14,null,null,blueprint.ui.container.Composite,layoutDockObj));this.add(new designer.list.ControlItem(SSSS_13,null,null,blueprint.ui.container.Composite,layoutPaneObj));this.add(new designer.list.ControlItem(SSSS_6,null,null,blueprint.ui.container.Composite,layoutPaneDockObj));this.add(new designer.list.ControlItem(SSSS_20,null,null,blueprint.ui.groupbox.GroupBox,layoutObj));this.add(new designer.list.ControlItem(SSSS_4,null,null,blueprint.ui.basic.Label,labelObj,SSSS_10));this.add(new designer.list.ControlItem(SSSS_12,null,null,blueprint.ui.form.Button,buttonObj,SSSS_21));this.add(new designer.list.ControlItem(SSSS_22,null,null,blueprint.ui.form.CheckBox,buttonObj));this.add(new designer.list.ControlItem(SSSS_19,null,null,blueprint.ui.form.List,genericObj));this.add(new designer.list.ControlItem(SSSS_8,null,null,blueprint.ui.toolbar.ToolBar,genericObj));this.add(new designer.list.InternalItem(SSSS_5,null,null,blueprint.ui.toolbar.Button,buttonObj));this.add(new designer.list.ControlItem(SSSS_24,null,null,blueprint.ui.form.DateField,genericObj));this.add(new designer.list.ControlItem(SSSS_26,null,null,blueprint.ui.form.PasswordField,genericObj));this.add(new designer.list.ControlItem(SSSS_9,null,null,blueprint.ui.form.Slider,genericObj));this.add(new designer.list.ControlItem(SSSS_3,null,null,blueprint.ui.form.Spinner,genericObj));this.add(new designer.list.ControlItem(SSSS_7,null,null,blueprint.ui.form.TextArea,genericObj));this.add(new designer.list.ControlItem(SSSS_15,null,null,blueprint.ui.form.TextField,genericObj));},members:{},destruct:function(){}});})();(function(){var SSSS_0="null",SSSS_1="Boolean",SSSS_2="True",SSSS_3="Name:",SSSS_4="middle",SSSS_5="False",SSSS_6="designer.selector.Boolean",SSSS_7="String";qx.Class.define(SSSS_6,{extend:qx.ui.core.Widget,construct:function(options){arguments.callee.base.call(this);var layout=new qx.ui.layout.HBox(5);layout.setAlignY(SSSS_4);this._setLayout(layout);var selectBox=new qx.ui.form.SelectBox();var nullItem=new qx.ui.form.ListItem(SSSS_0);var trueItem=new qx.ui.form.ListItem(SSSS_2);var falseItem=new qx.ui.form.ListItem(SSSS_5);selectBox.add(nullItem);selectBox.add(trueItem);selectBox.add(falseItem);var modelSkeleton={value:null};var model=qx.data.marshal.Json.createModel(modelSkeleton);var controller=new qx.data.controller.Object(model);var model2Value={converter:function(data){return data===1;}};var value2Model={converter:function(data){return data?1:0;}};this._add(new qx.ui.basic.Label(SSSS_3));this._add(selectBox);},properties:{name:{check:SSSS_7},value:{nullable:true,check:SSSS_1}},members:{},destruct:function(){}});})();(function(){var SSSS_0="designer.theme.Color";qx.Theme.define(SSSS_0,{extend:qx.theme.modern.Color,colors:{}});})();(function(){var SSSS_0="red",SSSS_1="background-light",SSSS_2="repeat-x",SSSS_3="border-invalid",SSSS_4="designer.theme.Decoration",SSSS_5="designer/decoration/highlight-yellow/highlight-yellow.png",SSSS_6="repeat",SSSS_7="designer/decoration/highlight-green/highlight-green.png",SSSS_8="designer/decoration/highlight-red/highlight-red.png",SSSS_9="decoration/form/input.png",SSSS_10="decoration/form/input-focused.png",SSSS_11="designer/decoration/highlight-blue/highlight-blue.png",SSSS_12="border-focused",SSSS_13="designer/grid.png",SSSS_14="background-invalid";qx.Theme.define(SSSS_4,{extend:qx.theme.modern.Decoration,decorations:{"invalid":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_3,innerColor:SSSS_3,innerOpacity:0.5,backgroundColor:SSSS_14}},"input-invalid":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_0,innerOpacity:0.5,backgroundImage:SSSS_9,backgroundRepeat:SSSS_2,backgroundColor:SSSS_1}},"input-invalid-focused":{decorator:qx.ui.decoration.Beveled,style:{outerColor:SSSS_0,innerColor:SSSS_12,backgroundImage:SSSS_10,backgroundRepeat:SSSS_2,backgroundColor:SSSS_1}},"highlight-blue":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_11,insets:[10,10,10,10]}},"highlight-green":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_7,insets:[10,10,10,10]}},"highlight-red":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_8,insets:[10,10,10,10]}},"highlight-yellow":{decorator:qx.ui.decoration.Grid,style:{baseImage:SSSS_5,insets:[10,10,10,10]}},"backgroundGrid":{decorator:qx.ui.decoration.Background,style:{backgroundImage:SSSS_13,backgroundRepeat:SSSS_6}}}});})();(function(){var SSSS_0="Lucida Grande",SSSS_1="Tahoma",SSSS_2="Liberation Sans",SSSS_3="Candara",SSSS_4="Segoe UI",SSSS_5="Arial",SSSS_6="Consolas",SSSS_7="monospace",SSSS_8="designer.theme.Font",SSSS_9="Courier New",SSSS_10="DejaVu Sans Mono";qx.Theme.define(SSSS_8,{extend:qx.theme.modern.Font,fonts:{"default":{size:qx.bom.client.System.WINVISTA?12:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[SSSS_0]:qx.bom.client.System.WINVISTA?[SSSS_4,SSSS_3]:[SSSS_1,SSSS_2,SSSS_5]},"bold":{size:qx.bom.client.System.WINVISTA?12:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[SSSS_0]:qx.bom.client.System.WINVISTA?[SSSS_4,SSSS_3]:[SSSS_1,SSSS_2,SSSS_5],bold:true},"small":{size:qx.bom.client.System.WINVISTA?11:10,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[SSSS_0]:qx.bom.client.System.WINVISTA?[SSSS_4,SSSS_3]:[SSSS_1,SSSS_2,SSSS_5]},"monospace":{size:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[SSSS_0]:qx.bom.client.System.WINVISTA?[SSSS_6]:[SSSS_6,SSSS_10,SSSS_9,SSSS_7]}}});})();(function(){var SSSS_0="designer.theme.Appearance";qx.Theme.define(SSSS_0,{extend:qx.theme.modern.Appearance,appearances:{}});})();(function(){var SSSS_0="designer.theme.Theme";qx.Theme.define(SSSS_0,{meta:{color:designer.theme.Color,decoration:designer.theme.Decoration,font:designer.theme.Font,icon:qx.theme.icon.Tango,appearance:designer.theme.Appearance}});})();(function(){var SSSS_0="qx.dev.unit.TestCase",SSSS_1="on",SSSS_2="qx.debug";qx.Class.define(SSSS_0,{extend:qx.core.Object,include:[qx.core.MAssert],properties:{testResult:{init:null},testFunc:{init:null}},members:{isDebugOn:function(){return qx.core.Variant.isSet(SSSS_2,SSSS_1)?true:false;},wait:function(delay,deferredFunction){throw new qx.dev.unit.AsyncWrapper(delay,deferredFunction);},resume:function(deferredFunction,self){this.getTestResult().run(this.getTestFunc(),deferredFunction||qx.lang.Function.empty,self||this,true);}}});})();(function(){var SSSS_0="This should never fail!",SSSS_1="A rose by any other name is still a rose",SSSS_2="Can false be true?!",SSSS_3="designer.test.DemoTest",SSSS_4="You must be kidding, 3 can never be outside [1,10]!";qx.Class.define(SSSS_3,{extend:qx.dev.unit.TestCase,members:{testSimple:function(){this.assertEquals(4,3+1,SSSS_0);this.assertFalse(false,SSSS_2);},testAdvanced:function(){var a=3;var b=a;this.assertIdentical(a,b,SSSS_1);this.assertInRange(3,1,10,SSSS_4);}}});})();(function(){var SSSS_0="Function",SSSS_1="qx.dev.unit.AsyncWrapper",SSSS_2="Integer";qx.Class.define(SSSS_1,{extend:qx.core.Object,construct:function(delay,deferredFunction){for(var i=0;i<arguments.length;i++){if(qx.lang.Type.isFunction(arguments[i])){this.setDeferredFunction(arguments[i]);}else if(qx.lang.Type.isNumber(arguments[i])){this.setDelay(arguments[i]);}}},properties:{deferredFunction:{check:SSSS_0,init:false},delay:{check:SSSS_2,nullable:false,init:5000}}});})();(function(){var SSSS_0="Number",SSSS_1="blueprintType",SSSS_2="Boolean",SSSS_3="Integer",SSSS_4="String",SSSS_5="constructorSettings",SSSS_6="dataEdited",SSSS_7="",SSSS_8="icon",SSSS_9="blueprintNamespace",SSSS_10="focusable",SSSS_11='height',SSSS_12="designer.list.List",SSSS_13="value",SSSS_14="appearance",SSSS_15='width',SSSS_16="allowGrowX",SSSS_17="designer.tree.Tree",SSSS_18="objectId",SSSS_19="key",SSSS_20='null';qx.Class.define(SSSS_12,{extend:qx.ui.table.Table,construct:function(){var tableModel=new qx.ui.table.model.Simple();tableModel.setColumns([SSSS_19,SSSS_13,SSSS_7]);tableModel.setColumnEditable(0,false);tableModel.setColumnEditable(1,true);tableModel.setColumnEditable(2,false);arguments.callee.base.call(this,tableModel);this.setColumnWidth(0,98);this.setColumnWidth(1,120);tableModel.setColumnEditable(2,false);this.setWidth(250);this.setColumnVisibilityButtonVisible(false);this.getTableColumnModel().setColumnVisible(2,false);this.addListener(SSSS_6,function(e){var key=this.getTableModel().getValue(0,e.getData().row);var type=this.getTableModel().getValue(2,e.getData().row);if(type==SSSS_0){var value=parseFloat(this.getTableModel().getValue(1,e.getData().row));if(isNaN(value)){value=null;}}if(type==SSSS_3){var value=parseInt(this.getTableModel().getValue(1,e.getData().row));if(isNaN(value)){value=null;}}if(type==SSSS_4){var value=new String(this.getTableModel().getValue(1,e.getData().row));if(value==SSSS_20){value=null;}}if(type==SSSS_2){var value=new Boolean(this.getTableModel().getValue(1,e.getData().row));}var map=new Object;map[key]=value;if(key==SSSS_11||key==SSSS_15){try{this.getObjectTree().getSelectedObject().set(map);this.getObjectTree().getSelectedObject().getTargetControl().set(map);}catch(err){alert('(2) An error has occured: '+err);this.getTableModel().setValue(1,e.getData().row,e.getData().oldValue);this.cancelEditing();}}else{try{this.getObjectTree().getSelectedObject().getTargetControl().set(map);}catch(err){alert('(3) An error has occured: '+err);this.getTableModel().setValue(1,e.getData().row,e.getData().oldValue);this.cancelEditing();}}},this);},properties:{objectTree:{check:SSSS_17}},members:{updateSelection:function(object){this.cancelEditing();var propData=new Array();var allowedTypes=[SSSS_0,SSSS_3,SSSS_4,SSSS_2];var disallowedProperties=[SSSS_9,SSSS_1,SSSS_1,SSSS_5,SSSS_18,SSSS_14,SSSS_10,SSSS_16,SSSS_8];if(object!=null){var propTemp=qx.Class.getProperties(eval(object.getTargetControl().classname));for(var i=0;i<propTemp.length;i++){var type=qx.Class.getPropertyDefinition(eval(object.getTargetControl().classname),propTemp[i]).check;if(qx.lang.Array.contains(allowedTypes,type)&&!qx.lang.Array.contains(disallowedProperties,propTemp[i])){propData.push([propTemp[i],new String(object.getTargetControl().get(propTemp[i])),type]);}else{}}}this.getTableModel().setData(propData);}},destruct:function(){}});})();(function(){var SSSS_0="object",SSSS_1="",SSSS_2="dataGroup",SSSS_3="blueprint.ui.basic.Label",SSSS_4="blueprint.ui.form.RadioButton",SSSS_5="blueprint.ui.form.Button",SSSS_6="dataController",SSSS_7="dataValueTextArea",SSSS_8="dataElements",SSSS_9="dataList",SSSS_10="Boolean",SSSS_11="Variable Name",SSSS_12="blueprint.ui.form.TextArea",SSSS_13="blueprint.data.controller.List",SSSS_14="top_container",SSSS_15="$btnDelVariable.addListener(\"execute\", function(e) {\n  $dataElements.removeElement($dataController.getSelection());\n});",SSSS_16="Object",SSSS_17="new_variable_form",SSSS_18="designer.controller.Data",SSSS_19="Create New Data Element:",SSSS_20="selection[0]",SSSS_21="qx.ui.layout.Canvas",SSSS_22="Array",SSSS_23="designer.data.Elements",SSSS_24="value",SSSS_25="Complex Variable",SSSS_26="designer.tree.Tree",SSSS_27="Save Value",SSSS_28="btnAddComplexVariable",SSSS_29="Delete Variable",SSSS_30="Add Variable",SSSS_31="Type:",SSSS_32="blueprint.ui.form.TextField",SSSS_33="blueprint.ui.container.Composite",SSSS_34="function(value) { try { return $dataElements.getDataValue(value); } catch(e) { return \"Error reading value: \" + e;} }",SSSS_35="btnAddVariable",SSSS_36="btnDelVariable",SSSS_37="varName",SSSS_38="blueprint.ui.form.List",SSSS_39="Number",SSSS_40="blueprint.ui.form.RadioGroup",SSSS_41="String",SSSS_42="$btnAddVariable.addListener(\"execute\", function(e) {\n  if ($varName.getValue() != \"\") {\n    $dataElements.addElement($varName.getValue(), \"\", $dataGroup.getSelection()[0].getLabel());\n    $varName.setValue(\"\");\n  }\n});",SSSS_43="Data Elements:",SSSS_44="Data Value:";qx.Class.define(SSSS_18,{extend:qx.ui.container.Composite,construct:function(objectTree){arguments.callee.base.call(this,new qx.ui.layout.Dock());this.setObjectTree(objectTree);var newForm={"objectClass":SSSS_33,"objectId":SSSS_1,"type":SSSS_14,"qxSettings":{},"constructorSettings":{"innerLayout":SSSS_21},"contents":[{"layoutmap":{"top":172,"left":52},"object":{"objectClass":SSSS_4,"objectId":SSSS_1,"type":SSSS_0,"qxSettings":{"blueprintRadioGroup":SSSS_2,"label":SSSS_22,"gap":6,"width":100,"height":20},"constructorSettings":{}}},{"layoutmap":{"top":132,"left":52},"object":{"objectClass":SSSS_4,"objectId":SSSS_1,"type":SSSS_0,"qxSettings":{"blueprintRadioGroup":SSSS_2,"label":SSSS_39,"gap":6,"width":96,"height":16},"constructorSettings":{}}},{"layoutmap":{"top":152,"left":52},"object":{"objectClass":SSSS_4,"objectId":SSSS_1,"type":SSSS_0,"qxSettings":{"blueprintRadioGroup":SSSS_2,"label":SSSS_41,"gap":6,"width":96,"height":16},"constructorSettings":{}}},{"layoutmap":{"top":192,"left":52},"object":{"objectClass":SSSS_4,"objectId":SSSS_1,"type":SSSS_0,"qxSettings":{"blueprintRadioGroup":SSSS_2,"label":SSSS_16,"gap":6,"width":100,"height":20},"constructorSettings":{}}},{"layoutmap":{"top":112,"left":52},"object":{"objectClass":SSSS_4,"objectId":SSSS_1,"type":SSSS_0,"qxSettings":{"blueprintRadioGroup":SSSS_2,"label":SSSS_10,"gap":6,"width":100,"height":20},"constructorSettings":{}}},{"layoutmap":{"top":112,"left":132},"object":{"objectClass":SSSS_32,"objectId":SSSS_37,"type":SSSS_0,"qxSettings":{"paddingTop":2,"paddingRight":4,"paddingBottom":1,"paddingLeft":4,"selectable":true,"width":126,"height":26,"allowGrowY":false,"allowShrinkY":false},"constructorSettings":{}}},{"layoutmap":{"top":66,"left":56},"object":{"objectClass":SSSS_3,"objectId":SSSS_1,"type":SSSS_0,"qxSettings":{"value":SSSS_19,"width":146,"height":16,"allowGrowY":false,"allowShrinkY":false},"constructorSettings":{}}},{"layoutmap":{"top":92,"left":52},"object":{"objectClass":SSSS_3,"objectId":SSSS_1,"type":SSSS_0,"qxSettings":{"value":SSSS_31,"width":100,"height":20,"allowGrowY":false,"allowShrinkY":false},"constructorSettings":{}}},{"layoutmap":{"top":92,"left":132},"object":{"objectClass":SSSS_3,"objectId":SSSS_1,"type":SSSS_0,"qxSettings":{"value":SSSS_11,"width":100,"height":20,"allowGrowY":false,"allowShrinkY":false},"constructorSettings":{}}},{"layoutmap":{"top":142,"left":132},"object":{"objectClass":SSSS_5,"objectId":SSSS_35,"type":SSSS_0,"qxSettings":{"label":SSSS_30,"center":true,"paddingTop":2,"paddingRight":8,"paddingBottom":2,"paddingLeft":8,"width":126,"height":26},"constructorSettings":{}}},{"layoutmap":{"top":226,"left":56},"object":{"objectClass":SSSS_3,"objectId":SSSS_1,"type":SSSS_0,"qxSettings":{"value":SSSS_43,"width":100,"height":20,"allowGrowY":false,"allowShrinkY":false},"constructorSettings":{}}},{"layoutmap":{"top":242,"left":52},"object":{"objectClass":SSSS_38,"objectId":SSSS_9,"type":SSSS_0,"qxSettings":{"width":206,"height":266},"constructorSettings":{}}},{"layoutmap":{"top":86,"left":266},"object":{"objectClass":SSSS_12,"objectId":SSSS_7,"type":SSSS_0,"qxSettings":{"paddingTop":4,"paddingRight":4,"paddingBottom":4,"paddingLeft":4,"selectable":true,"width":446,"height":416},"constructorSettings":{}}},{"layoutmap":{"top":66,"left":266},"object":{"objectClass":SSSS_3,"objectId":SSSS_1,"type":SSSS_0,"qxSettings":{"value":SSSS_44,"width":100,"height":20,"allowGrowY":false,"allowShrinkY":false},"constructorSettings":{}}},{"layoutmap":{"top":512,"left":52},"object":{"objectClass":SSSS_5,"objectId":SSSS_36,"type":SSSS_0,"qxSettings":{"label":SSSS_29,"center":true,"paddingTop":2,"paddingRight":8,"paddingBottom":2,"paddingLeft":8,"width":206,"height":26},"constructorSettings":{}}},{"layoutmap":{"top":176,"left":132},"object":{"objectClass":SSSS_5,"objectId":SSSS_28,"type":SSSS_0,"qxSettings":{"label":SSSS_25,"center":true,"paddingTop":2,"paddingRight":8,"paddingBottom":2,"paddingLeft":8,"width":126,"height":20},"constructorSettings":{}}},{"layoutmap":{"top":512,"left":612},"object":{"objectClass":SSSS_5,"objectId":SSSS_1,"type":SSSS_0,"qxSettings":{"label":SSSS_27,"center":true,"paddingTop":2,"paddingRight":8,"paddingBottom":2,"paddingLeft":8,"width":100,"height":20},"constructorSettings":{}}}],"scripts":{"addVariable":SSSS_42,"delVariable":SSSS_15},"functions":{},"data":{"complex":[{"objectClass":SSSS_23,"objectId":SSSS_8,"type":SSSS_0}]},"controllers":[{"objectClass":SSSS_13,"objectId":SSSS_6,"type":SSSS_0,"constructorSettings":{"model":SSSS_8,"target":SSSS_9}},{"objectClass":SSSS_40,"objectId":SSSS_2,"type":SSSS_0,"constructorSettings":{}}],"bindings":[{"sourceId":SSSS_6,"sourceProperty":SSSS_20,"targetId":SSSS_7,"targetProperty":SSSS_24,"converter":SSSS_34}]};var widget=blueprint.Manager.getInstance().generate(newForm,null,SSSS_17);this.add(widget);},properties:{objectTree:{check:SSSS_26}},members:{},destruct:function(){}});})();(function(){var SSSS_0="vertical",SSSS_1="center",SSSS_2="north",SSSS_3="horizontal",SSSS_4=" Properties:",SSSS_5="qx.debug",SSSS_6=" Controls:",SSSS_7=" Layout Properties:",SSSS_8="designer.Application",SSSS_9="on",SSSS_10="main";qx.Class.define(SSSS_8,{extend:qx.application.Standalone,members:{main:function(){arguments.callee.base.call(this);if(qx.core.Variant.isSet(SSSS_5,SSSS_9)){qx.log.appender.Native;qx.log.appender.Console;}var doc=this.getRoot();var root=new qx.ui.container.Composite(new qx.ui.layout.Dock());var splitPane1=new qx.ui.splitpane.Pane(SSSS_3);splitPane1.setDecorator(SSSS_10);var splitPane2=new qx.ui.splitpane.Pane(SSSS_3);splitPane2.setDecorator(null);var targetA=new qx.ui.container.Composite(new qx.ui.layout.Grow());var targetB=new qx.ui.container.Composite(new qx.ui.layout.Grow());var targetC=new qx.ui.container.Composite(new qx.ui.layout.Grow());var objectsPane=new qx.ui.splitpane.Pane(SSSS_0);var layoutPane=new qx.ui.splitpane.Pane(SSSS_0);var securityPane=new qx.ui.splitpane.Pane(SSSS_0);var control_list=new designer.list.Control();var property_controller=new designer.list.List();var property_label=new qx.ui.basic.Label(SSSS_4);var control_label=new qx.ui.basic.Label(SSSS_6);var layout_label=new qx.ui.basic.Label(SSSS_7);var tabview=new designer.TabView();var layout_controller=new designer.controller.Layout();var tree=new designer.tree.Tree(property_label,property_controller,layout_label,layout_controller,tabview,targetC,layoutPane,securityPane);var form_security_controller=new designer.controller.FormSecurity(tree);tree.setFormSecurityController(form_security_controller);var comp_security_controller=new designer.controller.ComponentSecurity(tree);tree.setComponentSecurityController(comp_security_controller);var toolbar=new designer.toolbar.ToolBar(tree);splitPane1.add(targetA,1);splitPane1.add(splitPane2,6);splitPane2.add(targetB,5);splitPane2.add(targetC,1);objectsPane.setDecorator(null);var northWest=new qx.ui.container.Composite(new qx.ui.layout.Dock());northWest.add(control_label,{edge:SSSS_2});northWest.add(control_list,{edge:SSSS_1});objectsPane.add(northWest,1);objectsPane.add(tree,1);layoutPane.setDecorator(null);var northEast=new qx.ui.container.Composite(new qx.ui.layout.Dock());northEast.add(property_label,{edge:SSSS_2});northEast.add(property_controller,{edge:SSSS_1});layoutPane.add(northEast,1);layoutPane.add(layout_controller,1);securityPane.setDecorator(null);securityPane.add(form_security_controller,1);securityPane.add(comp_security_controller,1);targetA.add(objectsPane);targetB.add(tabview);targetC.add(layoutPane);root.add(toolbar,{edge:SSSS_2});root.add(splitPane1,{edge:SSSS_1});doc.add(root,{left:2,top:2,right:2,bottom:2});}}});})();(function(){var SSSS_0="qx.ui.tabview.Page",SSSS_1="",SSSS_2="monospace",SSSS_3="designer.TabView",SSSS_4="designer.tree.Tree",SSSS_5="Function Editor",SSSS_6="disappear",SSSS_7="Script Editor",SSSS_8="qx.ui.container.Composite",SSSS_9="appear",SSSS_10="Source View",SSSS_11="Design View";qx.Class.define(SSSS_3,{extend:qx.ui.tabview.TabView,construct:function(barPosition){arguments.callee.base.call(this,barPosition);var designPage=new qx.ui.tabview.Page(SSSS_11);var sourcePage=new qx.ui.tabview.Page(SSSS_10);var scriptPage=new qx.ui.tabview.Page(SSSS_7);var functionPage=new qx.ui.tabview.Page(SSSS_5);this.set({"designPage":designPage,"sourcePage":sourcePage,"scriptPage":scriptPage,"functionPage":functionPage});this.add(designPage);this.add(sourcePage);this.add(scriptPage);this.add(functionPage);},properties:{objectTree:{check:SSSS_4},designPage:{check:SSSS_0},designArea:{check:SSSS_8},sourcePage:{check:SSSS_0},scriptPage:{check:SSSS_0},functionPage:{check:SSSS_0},dataPage:{check:SSSS_0},controllerPage:{check:SSSS_0},bindingPage:{check:SSSS_0}},members:{setupDesignPage:function(){var page=this.getDesignPage();page.setLayout(new qx.ui.layout.Canvas());var designArea=new qx.ui.container.Composite(new qx.ui.layout.Canvas());this.setDesignArea(designArea);page.add(designArea,{left:0,top:0,right:0,bottom:0});},setupSourcePage:function(){var page=this.getSourcePage();page.setLayout(new qx.ui.layout.Canvas());var exportArea=new designer.controller.Source();exportArea.setFont(SSSS_2);exportArea.setValue(SSSS_1);page.add(exportArea,{left:0,top:0,right:0,bottom:0});page.addListener(SSSS_9,function(e){this.getObjectTree().exportJson();},this);page.addListener(SSSS_6,function(e){try{if(exportArea.getValue()!=SSSS_1&&exportArea.getValue()!=exportArea.getLastKnownGood()){this.getObjectTree().importJson(qx.util.Json.parse(exportArea.getValue()));}}catch(e){alert('Json Parsing Failed: '+e);this.getObjectTree().importJson(qx.util.Json.parse(exportArea.getLastKnownGood()));}},this);return exportArea;},setupScriptPage:function(objectTree){var page=this.getScriptPage();page.setLayout(new qx.ui.layout.Canvas());var scriptController=new designer.controller.Script(objectTree);page.add(scriptController,{left:0,top:0,right:0,bottom:0});},setupFunctionPage:function(objectTree){var page=this.getFunctionPage();page.setLayout(new qx.ui.layout.Canvas());var functionController=new designer.controller.Function(objectTree);page.add(functionController,{left:0,top:0,right:0,bottom:0});},setupDataPage:function(objectTree){var page=this.getDataPage();page.setLayout(new qx.ui.layout.Canvas());var dataController=new designer.controller.Data(objectTree);page.add(dataController,{left:0,top:0,right:0,bottom:0});}},destruct:function(){}});})();(function(){var SSSS_0="",SSSS_1="qx.ui.form.TextArea",SSSS_2="green",SSSS_3="qx.ui.embed.Html",SSSS_4="designer.controller.Source",SSSS_5="String";qx.Class.define(SSSS_4,{extend:qx.ui.container.Composite,construct:function(){arguments.callee.base.call(this,new qx.ui.layout.Canvas());var back=new qx.ui.embed.Html();back.setBackgroundColor(SSSS_2);var fore=new qx.ui.form.TextArea();this.setEditorBackground(back);this.setEditorForeground(fore);this.add(fore,{top:0,right:0,bottom:0,left:0});},properties:{lastKnownGood:{check:SSSS_5,init:SSSS_0},editorBackground:{check:SSSS_3},editorForeground:{check:SSSS_1}},members:{setValue:function(value){this.getEditorForeground().setValue(value);this.getEditorBackground().setHtml(value);},getValue:function(){return this.getEditorForeground().getValue();}},destruct:function(){}});})();(function(){var SSSS_0="auto",SSSS_1="overflowX",SSSS_2="visible",SSSS_3="hidden",SSSS_4="scroll",SSSS_5="overflowY",SSSS_6="_applyOverflowX",SSSS_7="_applyOverflowY",SSSS_8="qx.ui.core.MNativeOverflow";qx.Mixin.define(SSSS_8,{properties:{overflowX:{check:[SSSS_3,SSSS_2,SSSS_4,SSSS_0],nullable:true,apply:SSSS_6},overflowY:{check:[SSSS_3,SSSS_2,SSSS_4,SSSS_0],nullable:true,apply:SSSS_7},overflow:{group:[SSSS_1,SSSS_5]}},members:{_applyOverflowX:function(value){this.getContentElement().setStyle(SSSS_1,value);},_applyOverflowY:function(value){this.getContentElement().setStyle(SSSS_5,value);}}});})();(function(){var SSSS_0="none",SSSS_1="text",SSSS_2="",SSSS_3="userSelect",SSSS_4="color",SSSS_5="String",SSSS_6="0px",SSSS_7="webkit",SSSS_8="changeHtml",SSSS_9="_applyCssClass",SSSS_10="class",SSSS_11="qx.ui.embed.Html",SSSS_12="_applyHtml",SSSS_13="qx.client",SSSS_14="html";qx.Class.define(SSSS_11,{extend:qx.ui.core.Widget,include:[qx.ui.core.MNativeOverflow],construct:function(html){arguments.callee.base.call(this);if(html!=null){this.setHtml(html);}},properties:{html:{check:SSSS_5,apply:SSSS_12,event:SSSS_8,nullable:true},cssClass:{check:SSSS_5,init:SSSS_2,apply:SSSS_9},selectable:{refine:true,init:true},focusable:{refine:true,init:true}},members:{getFocusElement:function(){return this.getContentElement();},_applyHtml:function(value,old){var elem=this.getContentElement();elem.setAttribute(SSSS_14,value||SSSS_2);elem.setStyles({"padding":SSSS_6,"border":SSSS_0});},_applyCssClass:function(value,old){this.getContentElement().setAttribute(SSSS_10,value);},_applySelectable:function(value){arguments.callee.base.call(this,value);if(qx.core.Variant.isSet(SSSS_13,SSSS_7)){this.getContainerElement().setStyle(SSSS_3,value?SSSS_1:SSSS_0);this.getContentElement().setStyle(SSSS_3,value?SSSS_1:SSSS_0);}},_applyFont:function(value,old){var styles=value?qx.theme.manager.Font.getInstance().resolve(value).getStyles():qx.bom.Font.getDefaultStyles();this.getContentElement().setStyles(styles);},_applyTextColor:function(value,old){if(value){this.getContentElement().setStyle(SSSS_4,qx.theme.manager.Color.getInstance().resolve(value));}else{this.getContentElement().removeStyle(SSSS_4);}}}});})();(function(){var SSSS_0="click",SSSS_1="focusout",SSSS_2="changeValue",SSSS_3="Object",SSSS_4="zIndex",SSSS_5="top",SSSS_6="edge",SSSS_7="left",SSSS_8="qx.ui.layout.Canvas",SSSS_9="height",SSSS_10="center",SSSS_11="qx.ui.layout.Dock",SSSS_12="width",SSSS_13="function",SSSS_14="Boolean",SSSS_15="designer.controller.Layout",SSSS_16="Edge",SSSS_17="west",SSSS_18="Left",SSSS_19="Integer",SSSS_20="Height",SSSS_21="changeSelection",SSSS_22="qx.ui.layout.HBox",SSSS_23="String",SSSS_24="",SSSS_25="designer.tree.Tree",SSSS_26="Bottom",SSSS_27="qx.ui.layout.VBox",SSSS_28="north",SSSS_29="right",SSSS_30="east",SSSS_31="Width",SSSS_32="south",SSSS_33="bottom",SSSS_34="Top",SSSS_35="Right";qx.Class.define(SSSS_15,{extend:qx.ui.container.Composite,construct:function(){arguments.callee.base.call(this,new qx.ui.layout.Canvas());this.set({width:250,height:320});this.__tc();this.enableControls(false);},properties:{objectTree:{check:SSSS_25},activeControls:{check:SSSS_3,init:{}},activeLayoutControls:{check:SSSS_3,init:{}},activeLayoutMode:{check:SSSS_23,init:SSSS_24},layoutControls:{check:SSSS_3},commonControls:{check:SSSS_3},enableUpdateEvents:{check:SSSS_14,init:true},gridStep:{check:SSSS_19,init:10}},members:{__tb:null,__tc:function(){var gridStep=10;var layoutControls=new Object();var canvas_controls={checkbox:{top:new qx.ui.form.CheckBox(SSSS_34),right:new qx.ui.form.CheckBox(SSSS_35),bottom:new qx.ui.form.CheckBox(SSSS_26),left:new qx.ui.form.CheckBox(SSSS_18)},widget:{top:new qx.ui.form.Spinner(-99999,null,99999),right:new qx.ui.form.Spinner(-99999,null,99999),bottom:new qx.ui.form.Spinner(-99999,null,99999),left:new qx.ui.form.Spinner(-99999,null,99999)}};for(var i in canvas_controls.checkbox){canvas_controls.checkbox[i].addListener(SSSS_2,this.widgetEnabler,this);canvas_controls.checkbox[i].addListener(SSSS_0,this.widgetEnabler,this);canvas_controls.checkbox[i].addListener(SSSS_1,this.widgetEnabler,this);}for(var i in canvas_controls.widget){canvas_controls.widget[i].set({singleStep:gridStep,enabled:false});canvas_controls.widget[i].addListener(SSSS_0,this.applyMaps,this);canvas_controls.widget[i].addListener(SSSS_2,this.applyMaps,this);canvas_controls.widget[i].addListener(SSSS_1,this.applyMaps,this);}layoutControls[SSSS_8]=canvas_controls;var dock_selectbox=new qx.ui.form.SelectBox();this.__tb={"center":new qx.ui.form.ListItem(SSSS_10),"north":new qx.ui.form.ListItem(SSSS_28),"east":new qx.ui.form.ListItem(SSSS_30),"south":new qx.ui.form.ListItem(SSSS_32),"west":new qx.ui.form.ListItem(SSSS_17)};for(var item in this.__tb){dock_selectbox.add(this.__tb[item]);}var dock_controls={checkbox:{edge:new qx.ui.form.CheckBox(SSSS_16)},widget:{edge:dock_selectbox}};for(var i in dock_controls.checkbox){dock_controls.checkbox[i].addListener(SSSS_0,this.widgetEnabler,this);dock_controls.checkbox[i].addListener(SSSS_2,this.widgetEnabler,this);dock_controls.checkbox[i].addListener(SSSS_1,this.widgetEnabler,this);}for(var i in dock_controls.widget){dock_controls.widget[i].set({enabled:false});dock_controls.widget[i].addListener(SSSS_0,this.applyMaps,this);dock_controls.widget[i].addListener(SSSS_21,this.applyMaps,this);dock_controls.widget[i].addListener(SSSS_1,this.applyMaps,this);}layoutControls[SSSS_11]=dock_controls;var empty_controls={checkbox:{},widget:{}};layoutControls[SSSS_22]=empty_controls;layoutControls[SSSS_27]=empty_controls;this.setLayoutControls(layoutControls);var common_controls={checkbox:{height:new qx.ui.form.CheckBox(SSSS_20),width:new qx.ui.form.CheckBox(SSSS_31),zIndex:new qx.ui.form.CheckBox(SSSS_4)},widget:{height:new qx.ui.form.Spinner(0,null,99999),width:new qx.ui.form.Spinner(0,null,99999),zIndex:new qx.ui.form.Spinner(-99999,null,99999)}};common_controls.widget.height.set({singleStep:gridStep,enabled:false});common_controls.widget.width.set({singleStep:gridStep,enabled:false});common_controls.widget.zIndex.set({enabled:false});for(var i in common_controls.checkbox){common_controls.checkbox[i].addListener(SSSS_2,this.widgetEnabler,this);common_controls.checkbox[i].addListener(SSSS_0,this.widgetEnabler,this);common_controls.checkbox[i].addListener(SSSS_1,this.widgetEnabler,this);}for(var i in common_controls.widget){common_controls.widget[i].addListener(SSSS_0,this.applyMaps,this);common_controls.widget[i].addListener(SSSS_2,this.applyMaps,this);common_controls.widget[i].addListener(SSSS_1,this.applyMaps,this);}this.setCommonControls(common_controls);},setMaps:function(layoutMap,height,width,zIndex){this.setEnableUpdateEvents(false);var controls=this.getActiveControls();for(var i in controls.checkbox){this.__td(layoutMap[i],controls.checkbox[i],controls.widget[i]);}this.__td(height,controls.checkbox[SSSS_9],controls.widget[SSSS_9]);this.__td(width,controls.checkbox[SSSS_12],controls.widget[SSSS_12]);this.__td(zIndex,controls.checkbox[SSSS_4],controls.widget[SSSS_4]);this.setEnableUpdateEvents(true);},__td:function(value,check,widget){if(value!=undefined){check.setValue(true);widget.setEnabled(true);if(widget instanceof qx.ui.form.SelectBox){widget.setSelection([this.__tb[value]]);}else{widget.setValue(value);}}else{check.setValue(false);widget.setValue(null);widget.setEnabled(false);}},updateSelection:function(object){if(object!=null&&object.getLayoutParent()!=null&&typeof object.getLayoutParent().getLayout==SSSS_13){this.enableControls(true);var old_controls=this.getActiveControls();var mode=object.getLayoutParent().getLayout().classname;this.debug('MODE INFO ==> '+object+"//"+object.getLayoutParent()+"//"+mode);if(mode!=this.getActiveLayoutMode()){for(var i in old_controls.checkbox){this.remove(old_controls.checkbox[i]);this.remove(old_controls.widget[i]);}this.setActiveLayoutControls(this.getLayoutControls()[mode]);var new_controls=new Object();new_controls.checkbox=blueprint.util.Misc.combineJson(this.getActiveLayoutControls().checkbox,this.getCommonControls().checkbox);new_controls.widget=blueprint.util.Misc.combineJson(this.getActiveLayoutControls().widget,this.getCommonControls().widget);this.setActiveControls(new_controls);var temp_top=10;for(var i in new_controls.checkbox){this.add(new_controls.checkbox[i],{top:temp_top,left:10});this.add(new_controls.widget[i],{top:temp_top,left:100});temp_top=temp_top+30;}this.setActiveLayoutMode(mode);}this.setMaps(object.getLayoutProperties(),object.getHeight(),object.getWidth(),object.getZIndex());}else{this.enableControls(false);}},widgetEnabler:function(){if(this.getEnableUpdateEvents()){var controls=this.getActiveControls();if(this.getActiveLayoutMode()==SSSS_8){var vertical_position=(controls.checkbox[SSSS_5].getValue()||controls.checkbox[SSSS_33].getValue());var horizontal_position=(controls.checkbox[SSSS_7].getValue()||controls.checkbox[SSSS_29].getValue());if(!vertical_position){this.__td(10,controls.checkbox[SSSS_5],controls.widget[SSSS_5]);}if(!horizontal_position){this.__td(10,controls.checkbox[SSSS_7],controls.widget[SSSS_7]);}}if(this.getActiveLayoutMode()==SSSS_11){if(!controls.checkbox[SSSS_6].getValue()){this.__td(SSSS_10,controls.checkbox[SSSS_6],controls.widget[SSSS_6]);}}for(var i in controls.checkbox){this.__te(controls.checkbox[i],controls.widget[i]);}this.applyMaps();}},__te:function(check,widget){widget.setEnabled(check.getValue());if(check.getValue()==false){widget.setValue(null);}},enableControls:function(value){var controls=this.getActiveControls();for(var i in controls.checkbox){controls.checkbox[i].setEnabled(value);}},applyMaps:function(e){if(this.getEnableUpdateEvents()){var controls=this.getActiveLayoutControls();var layoutMap=new Object();for(var i in controls.checkbox){if(controls.checkbox[i].getValue()){if(controls.widget[i] instanceof qx.ui.form.SelectBox){layoutMap[i]=controls.widget[i].getSelection()[0].getLabel();}else{layoutMap[i]=controls.widget[i].getValue();}}else{layoutMap[i]=null;}}var height=null;var width=null;var common_controls=this.getCommonControls();var common_settings=new Object();for(var i in common_controls.checkbox){if(common_controls.checkbox[i].getValue()){common_settings[i]=common_controls.widget[i].getValue();}else{common_settings[i]=null;}}this.getObjectTree().getSelectedObject().setLayoutProperties(layoutMap);this.getObjectTree().getSelectedObject().set(common_settings);}}},destruct:function(){}});})();(function(){var SSSS_0="number",SSSS_1="object",SSSS_2="qx.ui.treevirtual.MNode";qx.Mixin.define(SSSS_2,{members:{nodeGet:function(nodeReference){if(typeof (nodeReference)==SSSS_1){return nodeReference;}else if(typeof (nodeReference)==SSSS_0){return this.getTableModel().getData()[nodeReference];}else{throw new Error("Expected node object or node id");}},nodeToggleOpened:function(nodeReference){var node;var nodeId;if(typeof (nodeReference)==SSSS_1){node=nodeReference;nodeId=node.nodeId;}else if(typeof (nodeReference)==SSSS_0){nodeId=nodeReference;node=this.getTableModel().getData()[nodeId];}else{throw new Error("Expected node object or node id");}this.getTableModel().setState(nodeId,{bOpened:!node.bOpened});},nodeSetState:function(nodeReference,attributes){var nodeId;if(typeof (nodeReference)==SSSS_1){nodeId=nodeReference.nodeId;}else if(typeof (nodeReference)==SSSS_0){nodeId=nodeReference;}else{throw new Error("Expected node object or node id");}this.getTableModel().setState(nodeId,attributes);},nodeSetLabel:function(nodeReference,label){this.nodeSetState(nodeReference,{label:label});},nodeGetLabel:function(nodeReference){var node=this.nodeGet(nodeReference);return node.label;},nodeSetSelected:function(nodeReference,b){this.nodeSetState(nodeReference,{bSelected:b});},nodeGetSelected:function(nodeReference){var node=this.nodeGet(nodeReference);return node.bSelected;},nodeSetOpened:function(nodeReference,b){var node;if(typeof (nodeReference)==SSSS_1){node=nodeReference;}else if(typeof (nodeReference)==SSSS_0){node=this.getTableModel().getData()[nodeReference];}else{throw new Error("Expected node object or node id");}if(b!=node.bOpened){this.nodeToggleOpened(node);}},nodeGetOpened:function(nodeReference){var node=this.nodeGet(nodeReference);return node.bOpened;},nodeSetHideOpenClose:function(nodeReference,b){this.nodeSetState(nodeReference,{bHideOpenClose:b});},nodeGetHideOpenClose:function(nodeReference){var node=this.nodeGet(nodeReference);return node.bHideOpenClose;},nodeSetIcon:function(nodeReference,path){this.nodeSetState(nodeReference,{icon:path});},nodeGetIcon:function(nodeReference){var node=this.nodeGet(nodeReference);return node.icon;},nodeSetSelectedIcon:function(nodeReference,path){this.nodeSetState(nodeReference,{iconSelected:path});},nodeGetSelectedIcon:function(nodeReference){var node=this.nodeGet(nodeReference);return node.iconSelected;},nodeSetCellStyle:function(nodeReference,style){this.nodeSetState(nodeReference,{cellStyle:style});},nodeGetCellStyle:function(nodeReference){var node=this.nodeGet(nodeReference);return node.cellStyle;},nodeSetLabelStyle:function(nodeReference,style){this.nodeSetState(nodeReference,{labelStyle:style});},nodeGetLabelStyle:function(nodeReference){var node=this.nodeGet(nodeReference);return node.cellStyle;}}});})();(function(){var SSSS_0="object",SSSS_1="Object",SSSS_2="type",SSSS_3="top_container",SSSS_4="function",SSSS_5="Boolean",SSSS_6="new_form",SSSS_7="constructorSettings",SSSS_8="objectClass",SSSS_9="contents",SSSS_10=" Properties:",SSSS_11="blueprintType",SSSS_12="Integer",SSSS_13="qx.ui.basic.Label",SSSS_14="Array",SSSS_15=" Layout Properties:",SSSS_16="controllers",SSSS_17="data",SSSS_18="scripts",SSSS_19="design",SSSS_20="blueprint.ui.container.Composite",SSSS_21="qx.ui.splitpane.Pane",SSSS_22="source",SSSS_23="bindings",SSSS_24="functions",SSSS_25="security",SSSS_26="Top Container",SSSS_27="designer.controller.Layout",SSSS_28="appearance",SSSS_29='',SSSS_30="west",SSSS_31="designer.controller.ComponentSecurity",SSSS_32='"',SSSS_33="decorator",SSSS_34="",SSSS_35="center",SSSS_36="qx.ui.layout.Canvas",SSSS_37="focusable",SSSS_38="designer.controller.FormSecurity",SSSS_39="zIndex",SSSS_40="designer.list.List",SSSS_41='{"code": ',SSSS_42="legend",SSSS_43="allowGrowX",SSSS_44="changeSelection",SSSS_45="designer.controller.Source",SSSS_46="String",SSSS_47="designer.TabView",SSSS_48="enabled",SSSS_49='"}',SSSS_50="icon",SSSS_51="designer.tree.Tree",SSSS_52="_setActiveForm",SSSS_53="container",SSSS_54="qx.ui.container.Composite",SSSS_55="objectId",SSSS_56="north",SSSS_57="unknown",SSSS_58="east",SSSS_59="../playground/index.html#",SSSS_60="qxSettings",SSSS_61="Number",SSSS_62="south",SSSS_63="designer.widget.Simple",SSSS_64="Objects",SSSS_65="innerLayout",SSSS_66="blueprintNamespace";qx.Class.define(SSSS_51,{extend:qx.ui.treevirtual.TreeVirtual,include:[qx.ui.treevirtual.MNode],construct:function(propertyLabel,propertyList,layoutLabel,layoutController,tabView,controllerContainer,layoutPane,securityPane){arguments.callee.base.call(this,SSSS_64);this.set({width:250,showCellFocusIndicator:false});this.setControllerContainer(controllerContainer);this.setLayoutPane(layoutPane);this.setSecurityPane(securityPane);this.setPropertyLabel(propertyLabel);this.setPropertyList(propertyList);this.setLayoutLabel(layoutLabel);this.setLayoutController(layoutController);propertyList.setObjectTree(this);layoutController.setObjectTree(this);this.setTabView(tabView);tabView.setObjectTree(this);this.setColumnWidth(0,248);this.setSelectionMode(qx.ui.table.selection.Model.SINGLE_SELECTION);this.setAlwaysShowOpenCloseSymbol(true);this.setActiveForm(null);tabView.setupDesignPage();tabView.setupScriptPage(this);tabView.setupFunctionPage(this);this.setExportArea(tabView.setupSourcePage());this.addListener(SSSS_44,function(e){if(this.getSelectedObject()!=undefined&&this.getSelectedObject().getMyNode()!=e.getData()[0].nodeId){var newObj=this.getMyContainedNodes()[e.getData()[0].nodeId];if(newObj!=undefined){this.select(newObj);}}},this);var layoutObj={"qxSettings":{},"constructorSettings":{"innerLayout":SSSS_36}};this.setActiveForm(new designer.widget.Simple(new blueprint.ui.container.Composite(layoutObj,SSSS_6)));},properties:{activeForm:{check:SSSS_63,nullable:true,apply:SSSS_52},controllerContainer:{check:SSSS_54,nullable:false},layoutPane:{check:SSSS_21,nullable:false},securityPane:{check:SSSS_21,nullable:false},tabView:{check:SSSS_47,nullable:false},propertyLabel:{check:SSSS_13,nullable:false},propertyList:{check:SSSS_40,nullable:false},layoutLabel:{check:SSSS_13,nullable:false},treeRoot:{check:SSSS_12,nullable:true},selectedObject:{check:SSSS_1,nullable:true,init:null},myContainedNodes:{check:SSSS_14,init:[]},myNodesToJson:{check:SSSS_14,init:[]},prettyJson:{check:SSSS_5,init:true},exportArea:{check:SSSS_45},layoutController:{check:SSSS_27},formSecurityController:{check:SSSS_38},componentSecurityController:{check:SSSS_31},enableSelections:{check:SSSS_5,init:true},blueprintScripts:{check:SSSS_1},blueprintFunctions:{check:SSSS_1},blueprintData:{check:SSSS_1},blueprintControllers:{check:SSSS_1},blueprintBindings:{check:SSSS_1}},members:{_setActiveForm:function(value,old){if(this.getTreeRoot()!=null){this.getDataModel().prune(this.getTreeRoot(),true);this.getDataModel().setData();}this.setMyContainedNodes(new Array());this.setMyNodesToJson(new Array());this.setBlueprintScripts(new Object());this.setBlueprintFunctions(new Object());this.setBlueprintData(new Object());this.setBlueprintControllers(new Object());this.setBlueprintBindings(new Object());this.select(null);this.setTreeRoot(null);this.setEnabled(false);if(old!=null){this.getTabView().getDesignArea().remove(old);}if(old!=null&&value==null){this.setActiveForm(null);}if(value!=null){this.setEnabled(true);var tree_root=this.getDataModel().addBranch(null,SSSS_26,true);this.setTreeRoot(tree_root);this.getDataModel().setData();value.setObjectTree(this);value.setMyNode(tree_root);this.getMyContainedNodes()[tree_root]=value;this.getTabView().getDesignArea().add(value,{top:0,left:0,right:0,bottom:0});this.setActiveForm(value);}},addTreeNode:function(parent,child,event,layoutMap){try{if(event!=null){if(typeof parent.getTargetControl().getLayout==SSSS_4){if(parent.getTargetControl().getLayout() instanceof qx.ui.layout.Canvas){parent.add(child,{top:event.getDocumentTop()-parent.getContainerLocation().top-10,left:event.getDocumentLeft()-parent.getContainerLocation().left-10});}if(parent.getTargetControl().getLayout() instanceof qx.ui.layout.Dock){var myWidth=parseInt((parent.getContainerLocation().right-parent.getContainerLocation().left)*0.2);var myHeight=parseInt((parent.getContainerLocation().bottom-parent.getContainerLocation().top)*0.2);var targetEdge=SSSS_35;if(event.getDocumentLeft()<(parent.getContainerLocation().left+myWidth)){targetEdge=SSSS_30;}if(event.getDocumentLeft()>(parent.getContainerLocation().right-myWidth)){targetEdge=SSSS_58;}if(event.getDocumentTop()<(parent.getContainerLocation().top+myHeight)){targetEdge=SSSS_56;}if(event.getDocumentTop()>(parent.getContainerLocation().bottom-myHeight)){targetEdge=SSSS_62;}parent.add(child,{edge:targetEdge});}}else{this.debug('Layout is undefined when adding '+child);parent.add(child);}}else{parent.add(child,layoutMap);}}catch(e){alert('Error adding object: '+e);return;}var new_node;if(child instanceof designer.widget.Simple){new_node=this.getDataModel().addBranch(parent.getMyNode(),child.getTargetControl().classname,false);child.setObjectTree(this);child.setMyNode(new_node);this.getMyContainedNodes()[new_node]=child;this.getDataModel().setData();this.select(child);}else{}},removeTreeNode:function(element){this.getDataModel().prune(element.getMyNode(),true);this.getMyContainedNodes()[element.getMyNode()]=null;this.getDataModel().setData();element.getLayoutParent().remove(element);element.dispose();this.select(null);},select:function(child){if(this.getEnableSelections()){if(child!=this.getSelectedObject()&&child!=null){this.setSelectedObject(child);this.getPropertyLabel().setValue(child.getTargetControl().classname+SSSS_10);this.getLayoutLabel().setValue(child.getTargetControl().classname+SSSS_15);var targetNode=this.__ti(child.getMyNode());this.__tj(targetNode);}if(child!=null){this.getPropertyList().updateSelection(child);this.getLayoutController().updateSelection(child);}else{this.setSelectedObject(null);this.getPropertyLabel().setValue(SSSS_10);this.getLayoutLabel().setValue(SSSS_15);this.getPropertyList().cancelEditing();var propData=new Array();this.getPropertyList().getTableModel().setData(propData);this.getLayoutController().enableControls(false);}}},exportToPlayground:function(){var jsonObject=this.__tg(this.getTreeRoot(),this.getDataModel().getData());jsonObject[SSSS_0][SSSS_8]=SSSS_20;jsonObject[SSSS_0][SSSS_2]=SSSS_3;jsonObject[SSSS_0][SSSS_60][SSSS_33]=null;jsonObject[SSSS_0][SSSS_18]=this.getBlueprintScripts();jsonObject[SSSS_0][SSSS_24]=this.getBlueprintFunctions();jsonObject[SSSS_0][SSSS_17]=this.getBlueprintData();jsonObject[SSSS_0][SSSS_16]=this.getBlueprintControllers();jsonObject[SSSS_0][SSSS_23]=this.getBlueprintBindings();var jsonString=qx.util.Json.stringify(jsonObject[SSSS_0],this.getPrettyJson());self.location=SSSS_59+escape(SSSS_41+SSSS_32+encodeURIComponent(jsonString)+SSSS_49);},exportJson:function(){if(this.getActiveForm()!=null){this.setEnableSelections(false);var treeData=this.getDataModel().getData();var jsonObject=this.__tg(this.getTreeRoot(),treeData);jsonObject[SSSS_0][SSSS_8]=SSSS_20;jsonObject[SSSS_0][SSSS_2]=SSSS_3;jsonObject[SSSS_0][SSSS_18]=this.getBlueprintScripts();jsonObject[SSSS_0][SSSS_24]=this.getBlueprintFunctions();jsonObject[SSSS_0][SSSS_17]=this.getBlueprintData();jsonObject[SSSS_0][SSSS_16]=this.getBlueprintControllers();jsonObject[SSSS_0][SSSS_23]=this.getBlueprintBindings();this.getExportArea().setValue(qx.util.Json.stringify(jsonObject[SSSS_0],this.getPrettyJson()));this.getExportArea().setLastKnownGood(qx.util.Json.stringify(jsonObject[SSSS_0],this.getPrettyJson()));this.setEnableSelections(true);}},importJson:function(jsonObject){this.setEnableSelections(false);if(jsonObject[SSSS_2]==SSSS_3){var layoutObj={"qxSettings":{},"constructorSettings":jsonObject[SSSS_7]};var top_form=new designer.widget.Simple(new blueprint.ui.container.Composite(layoutObj,SSSS_6));this.setActiveForm(top_form);if(jsonObject.contents!=undefined&&jsonObject.contents.length>0){this.__tf(top_form,jsonObject);}}this.setEnableSelections(true);},saveBlueprintScript:function(scriptName,scriptText){var scripts=this.getBlueprintScripts();scripts[scriptName]=scriptText;this.setBlueprintScripts(scripts);},__tf:function(parent,importJson){if(importJson.contents!=undefined&&importJson.contents.length>0){for(var i=0;i<importJson.contents.length;i++){this.debug('building '+importJson.contents[i].object.objectClass);var newItem=new designer.widget.Mutable(blueprint.Manager.getInstance().generate(importJson.contents[i].object,parent,SSSS_6,true));if(importJson.contents[i].object.objectId!=undefined&&importJson.contents[i].object.objectId!=SSSS_29){if(typeof newItem.getTargetControl().setObjectId==SSSS_4){this.debug('setting objectID '+importJson.contents[i].object.objectId+' for: '+newItem.getTargetControl());newItem.getTargetControl().setObjectId(importJson.contents[i].object.objectId);}}this.addTreeNode(parent,newItem,null,importJson.contents[i].layoutmap);if(importJson.contents!=undefined&&importJson.contents.length>0){this.__tf(newItem,importJson.contents[i].object);}}}if(importJson[SSSS_2]==SSSS_3){if(importJson.scripts!=undefined){this.setBlueprintScripts(importJson.scripts);}if(importJson.functions!=undefined){this.setBlueprintFunctions(importJson.functions);}if(importJson.data!=undefined){this.setBlueprintData(importJson.data);}if(importJson.controllers!=undefined){this.setBlueprintControllers(importJson.controllers);}if(importJson.bindings!=undefined){this.setBlueprintBindings(importJson.bindings);}}},__tg:function(nodeId,treeData){var layoutProps=this.getMyContainedNodes()[nodeId].getLayoutProperties();if(layoutProps.top!=undefined){layoutProps.top=layoutProps.top+this.getMyContainedNodes()[nodeId].getWidgetPadding();}if(layoutProps.right!=undefined){layoutProps.right=layoutProps.right-this.getMyContainedNodes()[nodeId].getWidgetPadding();}if(layoutProps.bottom!=undefined){layoutProps.bottom=layoutProps.bottom-this.getMyContainedNodes()[nodeId].getWidgetPadding();}if(layoutProps.left!=undefined){layoutProps.left=layoutProps.left+this.getMyContainedNodes()[nodeId].getWidgetPadding();}var jsonObj={"layoutmap":layoutProps,"object":{"objectClass":this.getMyContainedNodes()[nodeId].getTargetControl().classname,"objectId":this.getMyContainedNodes()[nodeId].getTargetControl().getObjectId(),"type":SSSS_57,"qxSettings":this.__th(this.getMyContainedNodes()[nodeId]),"constructorSettings":{}}};if(this.getMyContainedNodes()[nodeId].getTargetControl() instanceof blueprint.ui.container.Composite||this.getMyContainedNodes()[nodeId].getTargetControl() instanceof blueprint.ui.groupbox.GroupBox){jsonObj[SSSS_0][SSSS_2]=SSSS_53;jsonObj[SSSS_0][SSSS_7][SSSS_65]=this.getMyContainedNodes()[nodeId].getTargetControl().getLayout().classname;jsonObj[SSSS_0][SSSS_9]=new Array();for(var i=0;i<treeData[nodeId].children.length;i++){jsonObj[SSSS_0][SSSS_9].push(this.__tg(treeData[nodeId].children[i],treeData));}}else{jsonObj[SSSS_0][SSSS_2]=SSSS_0;}return jsonObj;},__th:function(obj){var allowedTypes=[SSSS_61,SSSS_12,SSSS_46,SSSS_5];var disallowedProperties=[SSSS_66,SSSS_11,SSSS_11,SSSS_7,SSSS_55,SSSS_28,SSSS_37,SSSS_43,SSSS_50];var getObject=new Object();if(typeof obj.getTargetControl().getLegend==SSSS_4&&obj.getTargetControl().getLegend()){getObject[SSSS_42]=obj.getTargetControl().getLegend();}var getArray=qx.Class.getProperties(qx.Class.getByName(obj.getTargetControl().classname));for(var i=0;i<getArray.length;i++){var type=qx.Class.getPropertyDefinition(qx.Class.getByName(obj.getTargetControl().classname),getArray[i]).check;if(qx.lang.Array.contains(allowedTypes,type)&&!qx.lang.Array.contains(disallowedProperties,getArray[i])&&obj.getTargetControl().get(getArray[i])!=null){if(getArray[i]==SSSS_48){}else if(getArray[i]==SSSS_39){}else if(qx.Class.getPropertyDefinition(qx.Class.getByName(obj.getTargetControl().classname),getArray[i]).init==obj.getTargetControl().get(getArray[i])){}else{getObject[getArray[i]]=obj.getTargetControl().get(getArray[i]);}}}return getObject;},__ti:function(findMe){var nodeArr=this.getDataModel().getData();var targetNode=-1;if(findMe==nodeArr[findMe].nodeId){targetNode=findMe;}else{this.warn('node location shortcut failed.');for(var i=0;i<nodeArr.length;i++){if(findMe==nodeArr[i].nodeId){targetNode=i;break;}}}return targetNode;},__tj:function(nodeId){var nodeArr=this.getDataModel().getData();var parentArr=new Array();parentArr.push(nodeId);this.__tk(nodeArr,parentArr);for(var i=parentArr.length-1;i>=0;i--){this.nodeSetOpened(parentArr[i],true);}var row=this.getDataModel().getNodeRowMap()[parentArr[0]];this.getSelectionModel().addSelectionInterval(row,row);},__tk:function(nodeArr,parentArr){var parentNodeId=nodeArr[parentArr[parentArr.length-1]].parentNodeId;parentArr.push(this.__ti(parentNodeId));if(parentNodeId>1){this.__tk(nodeArr,parentArr);}},showDesign:function(){this.setEnableSelections(false);this.__tl(SSSS_19);var children=this.getControllerContainer().getChildren();if(!qx.lang.Array.contains(children,this.getLayoutPane())){this.getControllerContainer().add(this.getLayoutPane());}this.setEnableSelections(true);},showSecurity:function(){this.setEnableSelections(false);this.__tl(SSSS_25);var children=this.getControllerContainer().getChildren();if(!qx.lang.Array.contains(children,this.getSecurityPane())){this.getControllerContainer().add(this.getSecurityPane());}this.setEnableSelections(true);},showSource:function(){this.setEnableSelections(false);this.__tl(SSSS_22);this.exportJson();this.getExportArea().show();this.setEnableSelections(true);},showScript:function(){},showFunction:function(){},__tl:function(exception){if(exception!=SSSS_19){this.__tm();}if(exception!=SSSS_25){this.__tn();}if(exception!=SSSS_22){this.__to();}},__tm:function(){var children=this.getControllerContainer().getChildren();if(qx.lang.Array.contains(children,this.getLayoutPane())){this.getControllerContainer().remove(this.getLayoutPane());}},__tn:function(){var children=this.getControllerContainer().getChildren();if(qx.lang.Array.contains(children,this.getSecurityPane())){this.getControllerContainer().remove(this.getSecurityPane());}},__to:function(){try{if(this.getExportArea().getValue()!=SSSS_34&&this.getExportArea().getValue()!=this.getExportArea().getLastKnownGood()){alert(this.getExportArea().getValue());this.importJson(qx.util.Json.parse(this.getExportArea().getValue()));}}catch(e){alert('Json Parsing Failed: '+e);this.importJson(qx.util.Json.parse(this.getExportArea().getLastKnownGood()));}this.getExportArea().hide();},__tp:function(){},__tq:function(){}},destruct:function(){}});})();(function(){var SSSS_0="Update",SSSS_1="Create",SSSS_2="designer.tree.Tree",SSSS_3="Read",SSSS_4="designer.controller.ComponentSecurity",SSSS_5="Delete";qx.Class.define(SSSS_4,{extend:qx.ui.container.Composite,construct:function(tree){arguments.callee.base.call(this,new qx.ui.layout.Canvas());this.set({width:250,height:320,objectTree:tree});var cb_create=new qx.ui.form.CheckBox(SSSS_1);var cb_read=new qx.ui.form.CheckBox(SSSS_3);var cb_update=new qx.ui.form.CheckBox(SSSS_0);var cb_delete=new qx.ui.form.CheckBox(SSSS_5);this.add(cb_create,{top:10,left:10});this.add(cb_read,{top:40,left:10});this.add(cb_update,{top:70,left:10});this.add(cb_delete,{top:100,left:10});this.enableControls(false);},properties:{objectTree:{check:SSSS_2}},members:{updateSelection:function(object){},setMaps:function(layoutMap,height,width){},enableControls:function(value){},applyMaps:function(e){}},destruct:function(){}});})();(function(){var SSSS_0="value",SSSS_1="name",SSSS_2="type",SSSS_3=' - ',SSSS_4="designer.data.Elements",SSSS_5="Please select a value",SSSS_6="Object";qx.Class.define(SSSS_4,{extend:blueprint.data.Object,include:[blueprint.MBlueprintManager],construct:function(vData,namespace,skipRecursion){arguments.callee.base.call(this);if(vData.qxSettings.value==undefined){this.setValue(new qx.data.Array());}else{vData.qxSettings.value=new qx.data.Array(vData.qxSettings.value);}if(vData.qxSettings.metaData==undefined){this.setMetaData(new Object());}this.set(vData.qxSettings);},properties:{metaData:{check:SSSS_6}},members:{addElement:function(name,value,type){var fullName=String(name+SSSS_3+type);this.getValue().push(fullName);this.getMetaData()[fullName]=new Object();this.getMetaData()[fullName][SSSS_1]=name;this.getMetaData()[fullName][SSSS_0]=value;this.getMetaData()[fullName][SSSS_2]=type;},removeElement:function(fullName){this.getValue().remove(String(fullName));delete this.getMetaData()[fullName];},getDataValue:function(fullName){if(fullName!=undefined){return String(this.getMetaData()[fullName][SSSS_0]);}else{return SSSS_5;}},getDataType:function(fullName){return this.getMetaData()[fullName][SSSS_2];},getDataName:function(fullName){return this.getMetaData()[fullName][SSSS_1];},setDataValue:function(fullName,value){this.getMetaData()[fullName][SSSS_0]=value;}},destruct:function(){}});})();

qx.$$loader.init();

