(function(){

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

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

if (!window.qxvariants) qxvariants = {};
var variants = {"qx.debug":"off"};
for (var k in variants) qxvariants[k] = variants[k];

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

qx.$$resources = {};
qx.$$translations = {"C":{},"en":{}};
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":"“"},"en":{"alternateQuotationEnd":"’","alternateQuotationStart":"‘","cldr_am":"AM","cldr_date_format_full":"EEEE, MMMM d, y","cldr_date_format_long":"MMMM d, y","cldr_date_format_medium":"MMM d, y","cldr_date_format_short":"M/d/yy","cldr_date_time_format_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 : [["grfind:grfind.js"]],
  urisBefore : [],
  packageHashes : {"0":"fa79b367eb66"},
  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['fa79b367eb66']={"resources":{"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",-61,0],"qx/decoration/Modern/arrows/down-small-invert.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-10,0],"qx/decoration/Modern/arrows/down-small.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-82,0],"qx/decoration/Modern/arrows/down.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-74,0],"qx/decoration/Modern/arrows/forward.png":[10,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-43,0],"qx/decoration/Modern/arrows/left-invert.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-30,0],"qx/decoration/Modern/arrows/left.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",0,0],"qx/decoration/Modern/arrows/rewind.png":[10,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-20,0],"qx/decoration/Modern/arrows/right-invert.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-15,0],"qx/decoration/Modern/arrows/right.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-5,0],"qx/decoration/Modern/arrows/up-invert.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-53,0],"qx/decoration/Modern/arrows/up-small.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-69,0],"qx/decoration/Modern/arrows/up.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-35,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",-33,0],"qx/decoration/Modern/cursors/copy.gif":[19,15,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-52,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,-60],"qx/decoration/Modern/form/button-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-140],"qx/decoration/Modern/form/button-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-20],"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,-176],"qx/decoration/Modern/form/button-checked-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-76],"qx/decoration/Modern/form/button-checked-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-188],"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,-136],"qx/decoration/Modern/form/button-checked-focused-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-148],"qx/decoration/Modern/form/button-checked-focused-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-4],"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",-48,0],"qx/decoration/Modern/form/button-checked-focused-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-12,0],"qx/decoration/Modern/form/button-checked-focused-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-184],"qx/decoration/Modern/form/button-checked-focused-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-68],"qx/decoration/Modern/form/button-checked-focused-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-100],"qx/decoration/Modern/form/button-checked-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-8,0],"qx/decoration/Modern/form/button-checked-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-52,0],"qx/decoration/Modern/form/button-checked-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-104],"qx/decoration/Modern/form/button-checked-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-40],"qx/decoration/Modern/form/button-checked-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-116],"qx/decoration/Modern/form/button-disabled-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-92],"qx/decoration/Modern/form/button-disabled-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-72],"qx/decoration/Modern/form/button-disabled-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-128],"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",-28,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,-120],"qx/decoration/Modern/form/button-disabled-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-164],"qx/decoration/Modern/form/button-disabled-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-208],"qx/decoration/Modern/form/button-focused-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-172],"qx/decoration/Modern/form/button-focused-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-88],"qx/decoration/Modern/form/button-focused-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-16],"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",-16,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,-152],"qx/decoration/Modern/form/button-focused-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-132],"qx/decoration/Modern/form/button-focused-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-124],"qx/decoration/Modern/form/button-hovered-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-80],"qx/decoration/Modern/form/button-hovered-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-28],"qx/decoration/Modern/form/button-hovered-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-168],"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",-60,0],"qx/decoration/Modern/form/button-hovered-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-40,0],"qx/decoration/Modern/form/button-hovered-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-36],"qx/decoration/Modern/form/button-hovered-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-24],"qx/decoration/Modern/form/button-hovered-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-32],"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,-56],"qx/decoration/Modern/form/button-preselected-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-48],"qx/decoration/Modern/form/button-preselected-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-44],"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,-180],"qx/decoration/Modern/form/button-preselected-focused-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,0],"qx/decoration/Modern/form/button-preselected-focused-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-212],"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",0,0],"qx/decoration/Modern/form/button-preselected-focused-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-64,0],"qx/decoration/Modern/form/button-preselected-focused-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-96],"qx/decoration/Modern/form/button-preselected-focused-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-8],"qx/decoration/Modern/form/button-preselected-focused-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-204],"qx/decoration/Modern/form/button-preselected-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-20,0],"qx/decoration/Modern/form/button-preselected-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-36,0],"qx/decoration/Modern/form/button-preselected-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-196],"qx/decoration/Modern/form/button-preselected-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-52],"qx/decoration/Modern/form/button-preselected-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-112],"qx/decoration/Modern/form/button-pressed-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-108],"qx/decoration/Modern/form/button-pressed-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-144],"qx/decoration/Modern/form/button-pressed-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-160],"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",-24,0],"qx/decoration/Modern/form/button-pressed-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-32,0],"qx/decoration/Modern/form/button-pressed-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-200],"qx/decoration/Modern/form/button-pressed-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-64],"qx/decoration/Modern/form/button-pressed-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-84],"qx/decoration/Modern/form/button-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-68,0],"qx/decoration/Modern/form/button-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-192],"qx/decoration/Modern/form/button-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-156],"qx/decoration/Modern/form/button-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-12],"qx/decoration/Modern/form/checkbox-checked-disabled.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-42,0],"qx/decoration/Modern/form/checkbox-checked-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-140,0],"qx/decoration/Modern/form/checkbox-checked-focused.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-196,0],"qx/decoration/Modern/form/checkbox-checked-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-84,0],"qx/decoration/Modern/form/checkbox-checked-hovered.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-252,0],"qx/decoration/Modern/form/checkbox-checked-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-112,0],"qx/decoration/Modern/form/checkbox-checked-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-406,0],"qx/decoration/Modern/form/checkbox-checked-pressed.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-266,0],"qx/decoration/Modern/form/checkbox-checked.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-476,0],"qx/decoration/Modern/form/checkbox-disabled.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-392,0],"qx/decoration/Modern/form/checkbox-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-294,0],"qx/decoration/Modern/form/checkbox-focused.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-126,0],"qx/decoration/Modern/form/checkbox-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-210,0],"qx/decoration/Modern/form/checkbox-hovered.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-14,0],"qx/decoration/Modern/form/checkbox-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-168,0],"qx/decoration/Modern/form/checkbox-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-238,0],"qx/decoration/Modern/form/checkbox-pressed.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-154,0],"qx/decoration/Modern/form/checkbox.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-280,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",-420,0],"qx/decoration/Modern/form/radiobutton-checked-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-182,0],"qx/decoration/Modern/form/radiobutton-checked-focused.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-336,0],"qx/decoration/Modern/form/radiobutton-checked-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-322,0],"qx/decoration/Modern/form/radiobutton-checked-hovered.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-462,0],"qx/decoration/Modern/form/radiobutton-checked-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-350,0],"qx/decoration/Modern/form/radiobutton-checked-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",0,0],"qx/decoration/Modern/form/radiobutton-checked-pressed.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-448,0],"qx/decoration/Modern/form/radiobutton-checked.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-434,0],"qx/decoration/Modern/form/radiobutton-disabled.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-224,0],"qx/decoration/Modern/form/radiobutton-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-56,0],"qx/decoration/Modern/form/radiobutton-focused.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-28,0],"qx/decoration/Modern/form/radiobutton-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-378,0],"qx/decoration/Modern/form/radiobutton-hovered.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-308,0],"qx/decoration/Modern/form/radiobutton-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-70,0],"qx/decoration/Modern/form/radiobutton-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-98,0],"qx/decoration/Modern/form/radiobutton-pressed.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-364,0],"qx/decoration/Modern/form/radiobutton.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-490,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,-24],"qx/decoration/Modern/form/tooltip-error-bl.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,0],"qx/decoration/Modern/form/tooltip-error-br.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,-30],"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",0,0],"qx/decoration/Modern/form/tooltip-error-r.png":[6,18,"png","qx","qx/decoration/Modern/tooltip-error-lr-combined.png",-6,0],"qx/decoration/Modern/form/tooltip-error-t.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,-12],"qx/decoration/Modern/form/tooltip-error-tl.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,-6],"qx/decoration/Modern/form/tooltip-error-tr.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,-18],"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,-8],"qx/decoration/Modern/groupbox/groupbox-bl.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,-20],"qx/decoration/Modern/groupbox/groupbox-br.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,0],"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",0,0],"qx/decoration/Modern/groupbox/groupbox-r.png":[4,51,"png","qx","qx/decoration/Modern/groupbox-lr-combined.png",-4,0],"qx/decoration/Modern/groupbox/groupbox-t.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,-12],"qx/decoration/Modern/groupbox/groupbox-tl.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,-16],"qx/decoration/Modern/groupbox/groupbox-tr.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,-4],"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,-6],"qx/decoration/Modern/pane/pane-bl.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,0],"qx/decoration/Modern/pane/pane-br.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,-30],"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",-6,0],"qx/decoration/Modern/pane/pane-r.png":[6,238,"png","qx","qx/decoration/Modern/pane-lr-combined.png",0,0],"qx/decoration/Modern/pane/pane-t.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,-24],"qx/decoration/Modern/pane/pane-tl.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,-18],"qx/decoration/Modern/pane/pane-tr.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,-12],"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",0,0],"qx/decoration/Modern/scrollbar/scrollbar-button-bg-vertical.png":[10,12,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-34,0],"qx/decoration/Modern/scrollbar/scrollbar-down.png":[6,4,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-44,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",-24,0],"qx/decoration/Modern/scrollbar/scrollbar-up.png":[6,4,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-28,0],"qx/decoration/Modern/scrollbar/slider-knob-background.png":[12,10,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-12,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,-75],"qx/decoration/Modern/shadow/shadow-bl.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,-45],"qx/decoration/Modern/shadow/shadow-br.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,-15],"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,-15],"qx/decoration/Modern/shadow/shadow-small-bl.png":[5,5,"png","qx","qx/decoration/Modern/shadow-small-tb-combined.png",0,-20],"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",-5,0],"qx/decoration/Modern/shadow/shadow-small-r.png":[5,136,"png","qx","qx/decoration/Modern/shadow-small-lr-combined.png",0,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,-30],"qx/decoration/Modern/shadow/shadow-tl.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,0],"qx/decoration/Modern/shadow/shadow-tr.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,-60],"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,0],"qx/decoration/Modern/splitpane/knob-vertical.png":[8,1,"png","qx","qx/decoration/Modern/splitpane-knobs-combined.png",0,-8],"qx/decoration/Modern/table-combined.png":[94,18,"png","qx"],"qx/decoration/Modern/table/ascending.gif":[7,4,"gif","qx"],"qx/decoration/Modern/table/ascending.png":[8,5,"png","qx","qx/decoration/Modern/table-combined.png",-46,0],"qx/decoration/Modern/table/boolean-false.png":[14,14,"png","qx","qx/decoration/Modern/table-combined.png",-22,0],"qx/decoration/Modern/table/boolean-true.png":[14,14,"png","qx","qx/decoration/Modern/table-combined.png",-8,0],"qx/decoration/Modern/table/descending.gif":[7,4,"gif","qx"],"qx/decoration/Modern/table/descending.png":[8,5,"png","qx","qx/decoration/Modern/table-combined.png",0,0],"qx/decoration/Modern/table/header-cell.png":[40,18,"png","qx","qx/decoration/Modern/table-combined.png",-54,0],"qx/decoration/Modern/table/select-column-order.png":[10,9,"png","qx","qx/decoration/Modern/table-combined.png",-36,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,-5],"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,-10],"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,-15],"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",-5,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",0,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,-25],"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,-20],"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,-3],"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,0],"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,-6],"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",0,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",-3,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,0],"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,-6],"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,-3],"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,0],"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,-5],"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,-20],"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",-5,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",0,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,-25],"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,-15],"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,-3],"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,0],"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,-6],"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",0,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",-3,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,0],"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,-6],"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,-3],"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,0],"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,-10],"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,-15],"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",-5,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",0,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,-25],"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,-5],"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,-20],"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,0],"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,-6],"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,-3],"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",-3,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",0,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,-3],"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,-6],"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,0],"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,-25],"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,-5],"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",-5,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",0,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,-10],"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,-15],"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,0],"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,-6],"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,-3],"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",-3,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",0,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,-6],"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,-3],"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,-90],"qx/decoration/Modern/tabview/tabview-pane-tr.png":[30,30,"png","qx","qx/decoration/Modern/tabview-pane-tb-combined.png",0,-30],"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",0,0],"qx/decoration/Modern/toolbar/toolbar-gradient.png":[40,130,"png","qx","qx/decoration/Modern/toolbar-combined.png",-40,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",0,0],"qx/decoration/Modern/tree/closed.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-8,0],"qx/decoration/Modern/tree/open-selected.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-24,0],"qx/decoration/Modern/tree/open.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-16,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,-18],"qx/decoration/Modern/window/captionbar-inactive-bl.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,-30],"qx/decoration/Modern/window/captionbar-inactive-br.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,0],"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",-6,0],"qx/decoration/Modern/window/captionbar-inactive-r.png":[6,9,"png","qx","qx/decoration/Modern/window-captionbar-lr-inactive-combined.png",0,0],"qx/decoration/Modern/window/captionbar-inactive-t.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,-12],"qx/decoration/Modern/window/captionbar-inactive-tl.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,-24],"qx/decoration/Modern/window/captionbar-inactive-tr.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,-6],"qx/decoration/Modern/window/close-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-72,0],"qx/decoration/Modern/window/close-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-54,0],"qx/decoration/Modern/window/close-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-63,0],"qx/decoration/Modern/window/maximize-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-45,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",-18,0],"qx/decoration/Modern/window/minimize-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-9,0],"qx/decoration/Modern/window/minimize-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-90,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",-99,0],"qx/decoration/Modern/window/restore-active.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",0,0],"qx/decoration/Modern/window/restore-inactive.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-27,0],"qx/decoration/Modern/window/statusbar-b.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,0],"qx/decoration/Modern/window/statusbar-bl.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,-4],"qx/decoration/Modern/window/statusbar-br.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,-20],"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,-16],"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/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"],"qx/static/blank.html":"qx"}};
(function(){var l=".",k="()",j="[Class ",h=".prototype",g="toString",f="qx.Bootstrap",e="]",d="Class";
if(!window.qx){window.qx={};
}qx.Bootstrap={genericToString:function(){return j+this.classname+e;
},createNamespace:function(name,o){var q=name.split(l);
var parent=window;
var p=q[0];

for(var i=0,r=q.length-1;i<r;i++,p=q[i]){if(!parent[p]){parent=parent[p]={};
}else{parent=parent[p];
}}parent[p]=o;
return p;
},setDisplayName:function(m,n,name){m.displayName=n+l+name+k;
},setDisplayNames:function(a,b){for(var name in a){var c=a[name];

if(c instanceof Function){c.displayName=b+l+name+k;
}}},define:function(name,s){if(!s){var s={statics:{}};
}var x;
var v=null;
qx.Bootstrap.setDisplayNames(s.statics,name);

if(s.members){qx.Bootstrap.setDisplayNames(s.members,name+h);
x=s.construct||new Function;
var t=s.statics;

for(var u in t){x[u]=t[u];
}v=x.prototype;
var y=s.members;

for(var u in y){v[u]=y[u];
}}else{x=s.statics||{};
}var w=this.createNamespace(name,x);
x.name=x.classname=name;
x.basename=w;
x.$$type=d;
if(!x.hasOwnProperty(g)){x.toString=this.genericToString;
}if(s.defer){s.defer(x,v);
}qx.Bootstrap.$$registry[name]=s.statics;
return x;
}};
qx.Bootstrap.define(f,{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 this.$$registry[name];
},$$registry:{}}});
})();
(function(){var m="qx.allowUrlSettings",l="&",k="qx.core.Setting",j="qx.allowUrlVariants",h="qx.propertyDebugLevel",g="qxsetting",f=":",e=".";
qx.Bootstrap.define(k,{statics:{__a:{},define:function(s,t){if(t===undefined){throw new Error('Default value of setting "'+s+'" must be defined!');
}
if(!this.__a[s]){this.__a[s]={};
}else if(this.__a[s].defaultValue!==undefined){throw new Error('Setting "'+s+'" is already defined!');
}this.__a[s].defaultValue=t;
},get:function(o){var p=this.__a[o];

if(p===undefined){throw new Error('Setting "'+o+'" is not defined.');
}
if(p.value!==undefined){return p.value;
}return p.defaultValue;
},set:function(b,c){if((b.split(e)).length<2){throw new Error('Malformed settings key "'+b+'". Must be following the schema "namespace.key".');
}
if(!this.__a[b]){this.__a[b]={};
}this.__a[b].value=c;
},__b:function(){if(window.qxsettings){for(var n in window.qxsettings){this.set(n,window.qxsettings[n]);
}window.qxsettings=undefined;

try{delete window.qxsettings;
}catch(d){}this.__c();
}},__c:function(){if(this.get(m)!=true){return;
}var r=document.location.search.slice(1).split(l);

for(var i=0;i<r.length;i++){var q=r[i].split(f);

if(q.length!=3||q[0]!=g){continue;
}this.set(q[1],decodeURIComponent(q[2]));
}}},defer:function(a){a.define(m,false);
a.define(j,false);
a.define(h,0);
a.__b();
}});
})();
(function(){var s="gecko",r="1.9.0.0",q=".",p="[object Opera]",o="function",n="[^\\.0-9]",m="525.26",l="",k="mshtml",j="AppleWebKit/",d="unknown",i="9.6.0",g="4.0",c="Gecko",b="opera",f="webkit",e="0.0.0",h="8.0",a="qx.bom.client.Engine";
qx.Bootstrap.define(a,{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,__d:function(){var u=d;
var y=e;
var x=window.navigator.userAgent;
var A=false;
var w=false;

if(window.opera&&Object.prototype.toString.call(window.opera)==p){u=b;
this.OPERA=true;
if(/Opera[\s\/]([0-9]+)\.([0-9])([0-9]*)/.test(x)){y=RegExp.$1+q+RegExp.$2;

if(RegExp.$3!=l){y+=q+RegExp.$3;
}}else{w=true;
y=i;
}}else if(window.navigator.userAgent.indexOf(j)!=-1){u=f;
this.WEBKIT=true;

if(/AppleWebKit\/([^ ]+)/.test(x)){y=RegExp.$1;
var z=RegExp(n).exec(y);

if(z){y=y.slice(0,z.index);
}}else{w=true;
y=m;
}}else if(window.controllers&&window.navigator.product===c){u=s;
this.GECKO=true;
if(/rv\:([^\);]+)(\)|;)/.test(x)){y=RegExp.$1;
}else{w=true;
y=r;
}}else if(window.navigator.cpuClass&&/MSIE\s+([^\);]+)(\)|;)/.test(x)){u=k;
y=RegExp.$1;

if(document.documentMode){this.DOCUMENT_MODE=document.documentMode;
}if(y<8&&/Trident\/([^\);]+)(\)|;)/.test(x)){if(RegExp.$1===g){y=h;
}}this.MSHTML=true;
}else{var v=window.qxFail;

if(v&&typeof v===o){var u=v();

if(u.NAME&&u.FULLVERSION){u=u.NAME;
this[u.toUpperCase()]=true;
y=u.FULLVERSION;
}}else{A=true;
w=true;
y=r;
u=s;
this.GECKO=true;
window.alert("Unsupported client: "+x+"! Assumed gecko version 1.9.0.0 (Firefox 3.0).");
}}this.UNKNOWN_ENGINE=A;
this.UNKNOWN_VERSION=w;
this.NAME=u;
this.FULLVERSION=y;
this.VERSION=parseFloat(y);
}},defer:function(t){t.__d();
}});
})();
(function(){var z="on",y="off",x="|",w="default",u="object",t="&",s="qx.aspects",r="$",q="qx.allowUrlVariants",p="qx.debug",h="qx.client",o="qx.dynlocale",m="webkit",g="qxvariant",f="opera",k=":",j="qx.core.Variant",n="mshtml",e="gecko";
qx.Bootstrap.define(j,{statics:{__e:{},__f:{},compilerIsSet:function(){return true;
},define:function(G,H,I){{};

if(!this.__e[G]){this.__e[G]={};
}else{}this.__e[G].allowedValues=H;
this.__e[G].defaultValue=I;
},get:function(b){var c=this.__e[b];
{};

if(c.value!==undefined){return c.value;
}return c.defaultValue;
},__g:function(){if(window.qxvariants){for(var a in qxvariants){{};

if(!this.__e[a]){this.__e[a]={};
}this.__e[a].value=qxvariants[a];
}window.qxvariants=undefined;

try{delete window.qxvariants;
}catch(d){}this.__h(this.__e);
}},__h:function(){if(qx.core.Setting.get(q)!=true){return;
}var D=document.location.search.slice(1).split(t);

for(var i=0;i<D.length;i++){var E=D[i].split(k);

if(E.length!=3||E[0]!=g){continue;
}var F=E[1];

if(!this.__e[F]){this.__e[F]={};
}this.__e[F].value=decodeURIComponent(E[2]);
}},select:function(O,P){{};

for(var Q in P){if(this.isSet(O,Q)){return P[Q];
}}
if(P[w]!==undefined){return P[w];
}{};
},isSet:function(J,K){var L=J+r+K;

if(this.__f[L]!==undefined){return this.__f[L];
}var N=false;
if(K.indexOf(x)<0){N=this.get(J)===K;
}else{var M=K.split(x);

for(var i=0,l=M.length;i<l;i++){if(this.get(J)===M[i]){N=true;
break;
}}}this.__f[L]=N;
return N;
},__i:function(v){return typeof v===u&&v!==null&&v instanceof Array;
},__j:function(v){return typeof v===u&&v!==null&&!(v instanceof Array);
},__k:function(B,C){for(var i=0,l=B.length;i<l;i++){if(B[i]==C){return true;
}}return false;
}},defer:function(A){A.define(h,[e,n,f,m],qx.bom.client.Engine.NAME);
A.define(p,[z,y],z);
A.define(s,[z,y],y);
A.define(o,[z,y],z);
A.__g();
}});
})();
(function(){var E="qx.client",D='"',C="valueOf",B="toLocaleString",A="isPrototypeOf",z="",y="toString",x="qx.lang.Object",w='\", "',v="hasOwnProperty";
qx.Bootstrap.define(x,{statics:{empty:function(bj){{};

for(var bk in bj){if(bj.hasOwnProperty(bk)){delete bj[bk];
}}},isEmpty:qx.core.Variant.select(E,{"gecko":function(I){{};
return I.__count__===0;
},"default":function(e){{};

for(var f in e){return false;
}return true;
}}),hasMinLength:qx.core.Variant.select(E,{"gecko":function(t,u){{};
return t.__count__>=u;
},"default":function(P,Q){{};

if(Q<=0){return true;
}var length=0;

for(var R in P){if((++length)>=Q){return true;
}}return false;
}}),getLength:qx.core.Variant.select(E,{"gecko":function(V){{};
return V.__count__;
},"default":function(L){{};
var length=0;

for(var M in L){length++;
}return length;
}}),_shadowedKeys:[A,v,B,y,C],getKeys:qx.core.Variant.select(E,{"mshtml":function(k){var m=[];

for(var o in k){m.push(o);
}var n=Object.prototype.hasOwnProperty;

for(var i=0,a=this._shadowedKeys,l=a.length;i<l;i++){if(n.call(k,a[i])){m.push(a[i]);
}}return m;
},"default":function(F){var G=[];

for(var H in F){G.push(H);
}return G;
}}),getKeysAsString:function(Y){{};
var ba=qx.lang.Object.getKeys(Y);

if(ba.length==0){return z;
}return D+ba.join(w)+D;
},getValues:function(bb){{};
var bd=[];
var bc=this.getKeys(bb);

for(var i=0,l=bc.length;i<l;i++){bd.push(bb[bc[i]]);
}return bd;
},mergeWith:function(p,q,r){{};

if(r===undefined){r=true;
}
for(var s in q){if(r||p[s]===undefined){p[s]=q[s];
}}return p;
},carefullyMergeWith:function(J,K){{};
return qx.lang.Object.mergeWith(J,K,false);
},merge:function(S,T){{};
var U=arguments.length;

for(var i=1;i<U;i++){qx.lang.Object.mergeWith(S,arguments[i]);
}return S;
},clone:function(g){{};
var h={};

for(var j in g){h[j]=g[j];
}return h;
},invert:function(bg){{};
var bh={};

for(var bi in bg){bh[bg[bi].toString()]=bi;
}return bh;
},getKeyFromValue:function(b,c){{};

for(var d in b){if(b.hasOwnProperty(d)&&b[d]===c){return d;
}}return null;
},contains:function(W,X){{};
return this.getKeyFromValue(W,X)!==null;
},select:function(N,O){{};
return O[N];
},fromArray:function(be){{};
var bf={};

for(var i=0,l=be.length;i<l;i++){{};
bf[be[i].toString()]=true;
}return bf;
}}});
})();
(function(){var r="Function",q="Boolean",p="Error",o="Number",n="Array",m="Date",l="RegExp",k="String",j="Object",i="qx.lang.Type",h="string";
qx.Bootstrap.define(i,{statics:{__l:{"[object String]":k,"[object Array]":n,"[object Object]":j,"[object RegExp]":l,"[object Number]":o,"[object Boolean]":q,"[object Date]":m,"[object Function]":r,"[object Error]":p},getClass:function(d){var e=Object.prototype.toString.call(d);
return (this.__l[e]||e.slice(8,-1));
},isString:function(s){return (s!==null&&(typeof s===h||this.getClass(s)==k||s instanceof String||(!!s&&!!s.$$isString)));
},isArray:function(b){return (b!==null&&(b instanceof Array||(b&&qx.Class.hasInterface(b.constructor,qx.data.IListData))||this.getClass(b)==n||(!!b&&!!b.$$isArray)));
},isObject:function(t){return (t!==undefined&&t!==null&&this.getClass(t)==j);
},isRegExp:function(c){return this.getClass(c)==l;
},isNumber:function(u){return (u!==null&&(this.getClass(u)==o||u instanceof Number));
},isBoolean:function(a){return (a!==null&&(this.getClass(a)==q||a instanceof Boolean));
},isDate:function(g){return (g!==null&&(this.getClass(g)==m||g instanceof Date));
},isError:function(f){return (f!==null&&(this.getClass(f)==p||f instanceof Error));
},isFunction:function(v){return this.getClass(v)==r;
}}});
})();
(function(){var d="qx.core.Aspect",c="before",b="*",a="static";
qx.Bootstrap.define(d,{statics:{__m:[],wrap:function(f,g,h){var n=[];
var j=[];
var m=this.__m;
var l;

for(var i=0;i<m.length;i++){l=m[i];

if((l.type==null||h==l.type||l.type==b)&&(l.name==null||f.match(l.name))){l.pos==-1?n.push(l.fcn):j.push(l.fcn);
}}
if(n.length===0&&j.length===0){return g;
}var k=function(){for(var i=0;i<n.length;i++){n[i].call(this,f,g,h,arguments);
}var e=g.apply(this,arguments);

for(var i=0;i<j.length;i++){j[i].call(this,f,g,h,arguments,e);
}return e;
};

if(h!==a){k.self=g.self;
k.base=g.base;
}g.wrapper=k;
k.original=g;
return k;
},addAdvice:function(o,p,q,name){this.__m.push({fcn:o,pos:p===c?-1:1,type:q,name:name});
}}});
})();
(function(){var bM="qx.aspects",bL="on",bK=".",bJ="static",bI="[Class ",bH="]",bG="toString",bF="constructor",bE="member",bD="$$init_",bx=".prototype",bC="destructor",bA="extend",bw="destruct",bv="Class",bz="off",by="qx.Class",bB="qx.event.type.Data";
qx.Bootstrap.define(by,{statics:{define:function(name,W){if(!W){var W={};
}if(W.include&&!(W.include instanceof Array)){W.include=[W.include];
}if(W.implement&&!(W.implement instanceof Array)){W.implement=[W.implement];
}if(!W.hasOwnProperty(bA)&&!W.type){W.type=bJ;
}{};
var Y=this.__r(name,W.type,W.extend,W.statics,W.construct,W.destruct);
if(W.extend){if(W.properties){this.__t(Y,W.properties,true);
}if(W.members){this.__v(Y,W.members,true,true,false);
}if(W.events){this.__s(Y,W.events,true);
}if(W.include){for(var i=0,l=W.include.length;i<l;i++){this.__y(Y,W.include[i],false);
}}}if(W.settings){for(var X in W.settings){qx.core.Setting.define(X,W.settings[X]);
}}if(W.variants){for(var X in W.variants){qx.core.Variant.define(X,W.variants[X].allowedValues,W.variants[X].defaultValue);
}}if(W.implement){for(var i=0,l=W.implement.length;i<l;i++){this.__x(Y,W.implement[i]);
}}{};
if(W.defer){W.defer.self=Y;
W.defer(Y,Y.prototype,{add:function(name,bT){var bU={};
bU[name]=bT;
qx.Class.__t(Y,bU,true);
}});
}return Y;
},isDefined:function(name){return this.getByName(name)!==undefined;
},getTotalNumber:function(){return qx.lang.Object.getLength(this.$$registry);
},getByName:function(name){return this.$$registry[name];
},include:function(bm,bn){{};
qx.Class.__y(bm,bn,false);
},patch:function(h,j){{};
qx.Class.__y(h,j,true);
},isSubClassOf:function(r,s){if(!r){return false;
}
if(r==s){return true;
}
if(r.prototype instanceof s){return true;
}return false;
},getPropertyDefinition:function(d,name){while(d){if(d.$$properties&&d.$$properties[name]){return d.$$properties[name];
}d=d.superclass;
}return null;
},getProperties:function(e){var f=[];

while(e){if(e.$$properties){f.push.apply(f,qx.lang.Object.getKeys(e.$$properties));
}e=e.superclass;
}return f;
},getByProperty:function(ca,name){while(ca){if(ca.$$properties&&ca.$$properties[name]){return ca;
}ca=ca.superclass;
}return null;
},hasProperty:function(bN,name){return !!this.getPropertyDefinition(bN,name);
},getEventType:function(bo,name){var bo=bo.constructor;

while(bo.superclass){if(bo.$$events&&bo.$$events[name]!==undefined){return bo.$$events[name];
}bo=bo.superclass;
}return null;
},supportsEvent:function(cd,name){return !!this.getEventType(cd,name);
},hasOwnMixin:function(bk,bl){return bk.$$includes&&bk.$$includes.indexOf(bl)!==-1;
},getByMixin:function(bs,bt){var bu,i,l;

while(bs){if(bs.$$includes){bu=bs.$$flatIncludes;

for(i=0,l=bu.length;i<l;i++){if(bu[i]===bt){return bs;
}}}bs=bs.superclass;
}return null;
},getMixins:function(bR){var bS=[];

while(bR){if(bR.$$includes){bS.push.apply(bS,bR.$$flatIncludes);
}bR=bR.superclass;
}return bS;
},hasMixin:function(cb,cc){return !!this.getByMixin(cb,cc);
},hasOwnInterface:function(ba,bb){return ba.$$implements&&ba.$$implements.indexOf(bb)!==-1;
},getByInterface:function(o,p){var q,i,l;

while(o){if(o.$$implements){q=o.$$flatImplements;

for(i=0,l=q.length;i<l;i++){if(q[i]===p){return o;
}}}o=o.superclass;
}return null;
},getInterfaces:function(t){var u=[];

while(t){if(t.$$implements){u.push.apply(u,t.$$flatImplements);
}t=t.superclass;
}return u;
},hasInterface:function(b,c){return !!this.getByInterface(b,c);
},implementsInterface:function(bh,bi){var bj=bh.constructor;

if(this.hasInterface(bj,bi)){return true;
}
try{qx.Interface.assertObject(bh,bi);
return true;
}catch(V){}
try{qx.Interface.assert(bj,bi,false);
return true;
}catch(bp){}return false;
},getInstance:function(){if(!this.$$instance){this.$$allowconstruct=true;
this.$$instance=new this;
delete this.$$allowconstruct;
}return this.$$instance;
},genericToString:function(){return bI+this.classname+bH;
},$$registry:qx.Bootstrap.$$registry,__n:null,__o:null,__p:function(){},__q:function(){},__r:function(name,E,F,G,H,I){var N;

if(!F&&qx.core.Variant.isSet(bM,bz)){N=G||{};
qx.Bootstrap.setDisplayNames(N,name);
}else{N={};

if(F){if(!H){H=this.__z();
}N=this.__B(H,name,E);
qx.Bootstrap.setDisplayName(H,name,bF);
}if(G){qx.Bootstrap.setDisplayNames(G,name);
var O;

for(var i=0,a=qx.lang.Object.getKeys(G),l=a.length;i<l;i++){O=a[i];
var K=G[O];

if(qx.core.Variant.isSet(bM,bL)){if(K instanceof Function){K=qx.core.Aspect.wrap(name+bK+O,K,bJ);
}N[O]=K;
}else{N[O]=K;
}}}}var M=qx.Bootstrap.createNamespace(name,N,false);
N.name=N.classname=name;
N.basename=M;
N.$$type=bv;

if(E){N.$$classtype=E;
}if(!N.hasOwnProperty(bG)){N.toString=this.genericToString;
}
if(F){var P=F.prototype;
var J=this.__A();
J.prototype=P;
var L=new J;
N.prototype=L;
L.name=L.classname=name;
L.basename=M;
H.base=N.superclass=F;
H.self=N.constructor=L.constructor=N;
if(I){if(qx.core.Variant.isSet(bM,bL)){I=qx.core.Aspect.wrap(name,I,bC);
}N.$$destructor=I;
qx.Bootstrap.setDisplayName(I,name,bw);
}}this.$$registry[name]=N;
return N;
},__s:function(v,w,x){var y,y;
{};

if(v.$$events){for(var y in w){v.$$events[y]=w[y];
}}else{v.$$events=w;
}},__t:function(z,A,B){var D;

if(B===undefined){B=false;
}var C=!!z.$$propertiesAttached;

for(var name in A){D=A[name];
{};
D.name=name;
if(!D.refine){if(z.$$properties===undefined){z.$$properties={};
}z.$$properties[name]=D;
}if(D.init!==undefined){z.prototype[bD+name]=D.init;
}if(D.event!==undefined){var event={};
event[D.event]=bB;
this.__s(z,event,B);
}if(D.inheritable){qx.core.Property.$$inheritable[name]=true;
}if(C){qx.core.Property.attachMethods(z,name,D);
}}},__u:null,__v:function(ce,cf,cg,ch,ci){var cj=ce.prototype;
var cl,ck;
qx.Bootstrap.setDisplayNames(cf,ce.classname+bx);

for(var i=0,a=qx.lang.Object.getKeys(cf),l=a.length;i<l;i++){cl=a[i];
ck=cf[cl];
{};
if(ch!==false&&ck instanceof Function&&ck.$$type==null){if(ci==true){ck=this.__w(ck,cj[cl]);
}else{if(cj[cl]){ck.base=cj[cl];
}ck.self=ce;
}
if(qx.core.Variant.isSet(bM,bL)){ck=qx.core.Aspect.wrap(ce.classname+bK+cl,ck,bE);
}}cj[cl]=ck;
}},__w:function(T,U){if(U){return function(){var br=T.base;
T.base=U;
var bq=T.apply(this,arguments);
T.base=br;
return bq;
};
}else{return T;
}},__x:function(k,m){{};
var n=qx.Interface.flatten([m]);

if(k.$$implements){k.$$implements.push(m);
k.$$flatImplements.push.apply(k.$$flatImplements,n);
}else{k.$$implements=[m];
k.$$flatImplements=n;
}},__y:function(bc,bd,be){{};

if(this.hasMixin(bc,bd)){return;
}var bg=qx.Mixin.flatten([bd]);
var bf;

for(var i=0,l=bg.length;i<l;i++){bf=bg[i];
if(bf.$$events){this.__s(bc,bf.$$events,be);
}if(bf.$$properties){this.__t(bc,bf.$$properties,be);
}if(bf.$$members){this.__v(bc,bf.$$members,be,be,be);
}}if(bc.$$includes){bc.$$includes.push(bd);
bc.$$flatIncludes.push.apply(bc.$$flatIncludes,bg);
}else{bc.$$includes=[bd];
bc.$$flatIncludes=bg;
}},__z:function(){function g(){arguments.callee.base.apply(this,arguments);
}return g;
},__A:function(){return function(){};
},__B:function(bV,name,bW){var bY=function(){var S=arguments.callee.constructor;
{};
if(!S.$$propertiesAttached){qx.core.Property.attach(S);
}var R=S.$$original.apply(this,arguments);
if(S.$$includes){var Q=S.$$flatIncludes;

for(var i=0,l=Q.length;i<l;i++){if(Q[i].$$constructor){Q[i].$$constructor.apply(this,arguments);
}}}if(this.classname===name.classname){this.$$initialized=true;
}return R;
};

if(qx.core.Variant.isSet("qx.aspects","on")){var bX=qx.core.Aspect.wrap(name,bY,"constructor");
bY.$$original=bV;
bY.constructor=bX;
bY=bX;
}if(bW==="singleton"){bY.getInstance=this.getInstance;
}bY.$$original=bV;
bV.wrapper=bY;
return bY;
}},defer:function(bO){if(qx.core.Variant.isSet(bM,bL)){for(var bP in qx.Bootstrap.$$registry){var bO=qx.Bootstrap.$$registry[bP];

for(var bQ in bO){if(bO[bQ] instanceof Function){bO[bQ]=qx.core.Aspect.wrap(bP+bK+bQ,bO[bQ],bJ);
}}}}}});
})();
(function(){var o="]",n="Theme",m="[Theme ",k="qx.Theme";
qx.Class.define(k,{statics:{define:function(name,h){if(!h){var h={};
}h.include=this.__C(h.include);
h.patch=this.__C(h.patch);
{};
var j={$$type:n,name:name,title:h.title,toString:this.genericToString};
if(h.extend){j.supertheme=h.extend;
}j.basename=qx.Bootstrap.createNamespace(name,j);
this.__F(j,h);
this.__D(j,h);
this.$$registry[name]=j;
for(var i=0,a=h.include,l=a.length;i<l;i++){this.include(j,a[i]);
}
for(var i=0,a=h.patch,l=a.length;i<l;i++){this.patch(j,a[i]);
}},__C:function(H){if(!H){return [];
}
if(qx.lang.Type.isArray(H)){return H;
}else{return [H];
}},__D:function(p,q){var r=q.aliases||{};

if(q.extend&&q.extend.aliases){qx.lang.Object.mergeWith(r,q.extend.aliases,false);
}p.aliases=r;
},getAll:function(){return this.$$registry;
},getByName:function(name){return this.$$registry[name];
},isDefined:function(name){return this.getByName(name)!==undefined;
},getTotalNumber:function(){return qx.lang.Object.getLength(this.$$registry);
},genericToString:function(){return m+this.name+o;
},__E:function(F){for(var i=0,G=this.__G,l=G.length;i<l;i++){if(F[G[i]]){return G[i];
}}},__F:function(s,t){var w=this.__E(t);
if(t.extend&&!w){w=t.extend.type;
}s.type=w||"other";
if(!w){return;
}var y=function(){};
if(t.extend){y.prototype=new t.extend.$$clazz;
}var x=y.prototype;
var v=t[w];
for(var u in v){x[u]=v[u];
if(x[u].base){{};
x[u].base=t.extend;
}}s.$$clazz=y;
s[w]=new y;
},$$registry:{},__G:["colors","borders","decorations","fonts","icons","widgets","appearances","meta"],__H:null,__I:null,__J:function(){},patch:function(b,c){var e=this.__E(c);

if(e!==this.__E(b)){throw new Error("The mixins '"+b.name+"' are not compatible '"+c.name+"'!");
}var d=c[e];
var f=b.$$clazz.prototype;

for(var g in d){f[g]=d[g];
}},include:function(z,A){var C=A.type;

if(C!==z.type){throw new Error("The mixins '"+z.name+"' are not compatible '"+A.name+"'!");
}var B=A[C];
var D=z.$$clazz.prototype;

for(var E in B){if(D[E]!==undefined){continue;
}D[E]=B[E];
}}}});
})();
(function(){var j="#CCCCCC",i="#F3F3F3",h="#E4E4E4",g="#1a1a1a",f="#084FAB",e="gray",d="#fffefe",c="white",b="#4a4a4a",a="#EEEEEE",K="#80B4EF",J="#C72B2B",I="#ffffdd",H="#334866",G="#00204D",F="#666666",E="#CBC8CD",D="#99C3FE",C="#808080",B="#F4F4F4",q="#001533",r="#909090",o="#FCFCFC",p="#314a6e",m="#B6B6B6",n="#0880EF",k="#4d4d4d",l="#DFDFDF",s="#000000",t="#FF9999",w="#7B7A7E",v="#26364D",y="#990000",x="#AFAFAF",A="#404955",z="#AAAAAA",u="qx.theme.modern.Color";
qx.Theme.define(u,{colors:{"background-application":l,"background-pane":i,"background-light":o,"background-medium":a,"background-splitpane":x,"background-tip":I,"background-tip-error":J,"background-odd":h,"text-light":r,"text-gray":b,"text-label":g,"text-title":p,"text-input":s,"text-hovered":q,"text-disabled":w,"text-selected":d,"text-active":v,"text-inactive":A,"text-placeholder":E,"border-main":k,"border-separator":C,"border-input":H,"border-disabled":m,"border-pane":G,"border-button":F,"border-column":j,"border-focused":D,"invalid":y,"border-focused-invalid":t,"table-pane":i,"table-focus-indicator":n,"table-row-background-focused-selected":f,"table-row-background-focused":K,"table-row-background-selected":f,"table-row-background-even":i,"table-row-background-odd":h,"table-row-selected":d,"table-row":g,"table-row-line":j,"table-column-line":j,"progressive-table-header":z,"progressive-table-row-background-even":B,"progressive-table-row-background-odd":h,"progressive-progressbar-background":e,"progressive-progressbar-indicator-done":j,"progressive-progressbar-indicator-undone":c,"progressive-progressbar-percent-background":e,"progressive-progressbar-percent-text":c}});
})();
(function(){var e="#6cccff",d="grfind.theme.Color",c="#5ED4FF",b="#202020",a="transparent";
qx.Theme.define(d,{extend:qx.theme.modern.Color,colors:{"border-input":c,"table-row-background-focused-selected":e,"table-row-selected":b,"table-row-background-focused":a,"table-row-background-selected":e}});
})();
(function(){var bQ=';',bP='return this.',bO="boolean",bN="string",bM='!==undefined)',bL='else if(this.',bK='if(this.',bJ='else ',bI=' of an instance of ',bH=' is not (yet) ready!");',cz="init",cy="': ",cx=" of class ",cw='(computed, old, "',cv='return value;',cu='if(init==qx.core.Property.$$inherit)throw new Error("Inheritable property ',ct='return init;',cs='var init=this.',cr="')){",cq="if(reg.hasListener(this, '",bX="Error in property ",bY='var a=this._getChildren();if(a)for(var i=0,l=a.length;i<l;i++){',bV='if(init==qx.core.Property.$$inherit)init=null;',bW="set",bT='if(a[i].',bU="var reg=qx.event.Registration;",bR=" in method ",bS='throw new Error("Property ',ca='(backup);',cb='var inherit=prop.$$inherit;',ci='return null;',cg='this.',ck=")}",cj="setRuntime",cm=')a[i].',cl='");',cd="setThemed",cp="inherit",co=" with incoming value '",cn="', qx.event.type.Data, [computed, old]",cc="object",ce='}',cf="reg.fireEvent(this, '",ch="qx.core.Property";
qx.Bootstrap.define(ch,{statics:{__K:{"Boolean":'qx.core.Assert.assertBoolean(value, msg) || true',"String":'qx.core.Assert.assertString(value, msg) || true',"Number":'qx.core.Assert.assertNumber(value, msg) || true',"Integer":'qx.core.Assert.assertInteger(value, msg) || true',"PositiveNumber":'qx.core.Assert.assertPositiveNumber(value, msg) || true',"PositiveInteger":'qx.core.Assert.assertPositiveInteger(value, msg) || true',"Error":'qx.core.Assert.assertInstance(value, Error, msg) || true',"RegExp":'qx.core.Assert.assertInstance(value, RegExp, msg) || true',"Object":'qx.core.Assert.assertObject(value, msg) || true',"Array":'qx.core.Assert.assertArray(value, msg) || true',"Map":'qx.core.Assert.assertMap(value, msg) || true',"Function":'qx.core.Assert.assertFunction(value, msg) || true',"Date":'qx.core.Assert.assertInstance(value, Date, msg) || true',"Node":'value !== null && value.nodeType !== undefined',"Element":'value !== null && value.nodeType === 1 && value.attributes',"Document":'value !== null && value.nodeType === 9 && value.documentElement',"Window":'value !== null && value.document',"Event":'value !== null && value.type !== undefined',"Class":'value !== null && value.$$type === "Class"',"Mixin":'value !== null && value.$$type === "Mixin"',"Interface":'value !== null && value.$$type === "Interface"',"Theme":'value !== null && value.$$type === "Theme"',"Color":'qx.lang.Type.isString(value) && qx.util.ColorUtil.isValidPropertyValue(value)',"Decorator":'value !== null && qx.theme.manager.Decoration.getInstance().isValidPropertyValue(value)',"Font":'value !== null && qx.theme.manager.Font.getInstance().isDynamic(value)'},__L:{"Node":true,"Element":true,"Document":true,"Window":true,"Event":true},$$inherit:cp,$$store:{runtime:{},user:{},theme:{},inherit:{},init:{},useinit:{}},$$method:{get:{},set:{},reset:{},init:{},refresh:{},setRuntime:{},resetRuntime:{},setThemed:{},resetThemed:{}},$$allowedKeys:{name:bN,dispose:bO,inheritable:bO,nullable:bO,themeable:bO,refine:bO,init:null,apply:bN,event:bN,check:null,transform:bN,deferredInit:bO,validate:null},$$allowedGroupKeys:{name:bN,group:cc,mode:bN,themeable:bO},$$inheritable:{},refresh:function(e){var parent=e.getLayoutParent();

if(parent){var h=e.constructor;
var k=this.$$store.inherit;
var j=this.$$store.init;
var g=this.$$method.refresh;
var m;
var f;
{};

while(h){m=h.$$properties;

if(m){for(var name in this.$$inheritable){if(m[name]&&e[g[name]]){f=parent[k[name]];

if(f===undefined){f=parent[j[name]];
}{};
e[g[name]](f);
}}}h=h.superclass;
}}},attach:function(bx){var by=bx.$$properties;

if(by){for(var name in by){this.attachMethods(bx,name,by[name]);
}}bx.$$propertiesAttached=true;
},attachMethods:function(q,name,r){r.group?this.__M(q,r,name):this.__N(q,r,name);
},__M:function(C,D,name){var K=qx.lang.String.firstUp(name);
var J=C.prototype;
var L=D.themeable===true;
{};
var M=[];
var G=[];

if(L){var E=[];
var I=[];
}var H="var a=arguments[0] instanceof Array?arguments[0]:arguments;";
M.push(H);

if(L){E.push(H);
}
if(D.mode=="shorthand"){var F="a=qx.lang.Array.fromShortHand(qx.lang.Array.fromArguments(a));";
M.push(F);

if(L){E.push(F);
}}
for(var i=0,a=D.group,l=a.length;i<l;i++){{};
M.push("this.",this.$$method.set[a[i]],"(a[",i,"]);");
G.push("this.",this.$$method.reset[a[i]],"();");

if(L){{};
E.push("this.",this.$$method.setThemed[a[i]],"(a[",i,"]);");
I.push("this.",this.$$method.resetThemed[a[i]],"();");
}}this.$$method.set[name]="set"+K;
J[this.$$method.set[name]]=new Function(M.join(""));
this.$$method.reset[name]="reset"+K;
J[this.$$method.reset[name]]=new Function(G.join(""));

if(L){this.$$method.setThemed[name]="setThemed"+K;
J[this.$$method.setThemed[name]]=new Function(E.join(""));
this.$$method.resetThemed[name]="resetThemed"+K;
J[this.$$method.resetThemed[name]]=new Function(I.join(""));
}},__N:function(bc,bd,name){var bf=qx.lang.String.firstUp(name);
var bh=bc.prototype;
{};
if(bd.dispose===undefined&&typeof bd.check==="string"){bd.dispose=this.__L[bd.check]||qx.Class.isDefined(bd.check)||qx.Interface.isDefined(bd.check);
}var bg=this.$$method;
var be=this.$$store;
be.runtime[name]="$$runtime_"+name;
be.user[name]="$$user_"+name;
be.theme[name]="$$theme_"+name;
be.init[name]="$$init_"+name;
be.inherit[name]="$$inherit_"+name;
be.useinit[name]="$$useinit_"+name;
bg.get[name]="get"+bf;
bh[bg.get[name]]=function(){return qx.core.Property.executeOptimizedGetter(this,bc,name,"get");
};
bg.set[name]="set"+bf;
bh[bg.set[name]]=function(bD){return qx.core.Property.executeOptimizedSetter(this,bc,name,"set",arguments);
};
bg.reset[name]="reset"+bf;
bh[bg.reset[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,bc,name,"reset");
};

if(bd.inheritable||bd.apply||bd.event||bd.deferredInit){bg.init[name]="init"+bf;
bh[bg.init[name]]=function(bb){return qx.core.Property.executeOptimizedSetter(this,bc,name,"init",arguments);
};
}
if(bd.inheritable){bg.refresh[name]="refresh"+bf;
bh[bg.refresh[name]]=function(s){return qx.core.Property.executeOptimizedSetter(this,bc,name,"refresh",arguments);
};
}bg.setRuntime[name]="setRuntime"+bf;
bh[bg.setRuntime[name]]=function(n){return qx.core.Property.executeOptimizedSetter(this,bc,name,"setRuntime",arguments);
};
bg.resetRuntime[name]="resetRuntime"+bf;
bh[bg.resetRuntime[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,bc,name,"resetRuntime");
};

if(bd.themeable){bg.setThemed[name]="setThemed"+bf;
bh[bg.setThemed[name]]=function(t){return qx.core.Property.executeOptimizedSetter(this,bc,name,"setThemed",arguments);
};
bg.resetThemed[name]="resetThemed"+bf;
bh[bg.resetThemed[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,bc,name,"resetThemed");
};
}
if(bd.check==="Boolean"){bh["toggle"+bf]=new Function("return this."+bg.set[name]+"(!this."+bg.get[name]+"())");
bh["is"+bf]=new Function("return this."+bg.get[name]+"()");
}},__O:{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(u,v,w,x,y){var z=u.constructor.classname;
var A=bX+w+cx+z+bR+this.$$method[x][w]+co+y+cy;
throw new Error(A+(this.__O[v]||"Unknown reason: "+v));
},__P:function(bn,bo,name,bp,bq,br){var bs=this.$$method[bp][name];
{bo[bs]=new Function("value",bq.join(""));
};
if(qx.core.Variant.isSet("qx.aspects","on")){bo[bs]=qx.core.Aspect.wrap(bn.classname+"."+bs,bo[bs],"property");
}qx.Bootstrap.setDisplayName(bo[bs],bn.classname+".prototype",bs);
if(br===undefined){return bn[bs]();
}else{return bn[bs](br[0]);
}},executeOptimizedGetter:function(cF,cG,name,cH){var cJ=cG.$$properties[name];
var cL=cG.prototype;
var cI=[];
var cK=this.$$store;
cI.push(bK,cK.runtime[name],bM);
cI.push(bP,cK.runtime[name],bQ);

if(cJ.inheritable){cI.push(bL,cK.inherit[name],bM);
cI.push(bP,cK.inherit[name],bQ);
cI.push(bJ);
}cI.push(bK,cK.user[name],bM);
cI.push(bP,cK.user[name],bQ);

if(cJ.themeable){cI.push(bL,cK.theme[name],bM);
cI.push(bP,cK.theme[name],bQ);
}
if(cJ.deferredInit&&cJ.init===undefined){cI.push(bL,cK.init[name],bM);
cI.push(bP,cK.init[name],bQ);
}cI.push(bJ);

if(cJ.init!==undefined){if(cJ.inheritable){cI.push(cs,cK.init[name],bQ);

if(cJ.nullable){cI.push(bV);
}else if(cJ.init!==undefined){cI.push(bP,cK.init[name],bQ);
}else{cI.push(cu,name,bI,cG.classname,bH);
}cI.push(ct);
}else{cI.push(bP,cK.init[name],bQ);
}}else if(cJ.inheritable||cJ.nullable){cI.push(ci);
}else{cI.push(bS,name,bI,cG.classname,bH);
}return this.__P(cF,cL,name,cH,cI);
},executeOptimizedSetter:function(N,O,name,P,Q){var V=O.$$properties[name];
var U=O.prototype;
var S=[];
var R=P===bW||P===cd||P===cj||(P===cz&&V.init===undefined);
var T=V.apply||V.event||V.inheritable;
var W=this.__Q(P,name);
this.__R(S,V,name,P,R);

if(R){this.__S(S,O,V,name);
}
if(T){this.__T(S,R,W,P);
}
if(V.inheritable){S.push(cb);
}{};

if(!T){this.__V(S,name,P,R);
}else{this.__W(S,V,name,P,R);
}
if(V.inheritable){this.__X(S,V,name,P);
}else if(T){this.__Y(S,V,name,P);
}
if(T){this.__ba(S,V,name);
if(V.inheritable&&U._getChildren){this.__bb(S,name);
}}if(R){S.push(cv);
}return this.__P(N,U,name,P,S,Q);
},__Q:function(o,name){if(o==="setRuntime"||o==="resetRuntime"){var p=this.$$store.runtime[name];
}else if(o==="setThemed"||o==="resetThemed"){p=this.$$store.theme[name];
}else if(o==="init"){p=this.$$store.init[name];
}else{p=this.$$store.user[name];
}return p;
},__R:function(bz,bA,name,bB,bC){{if(!bA.nullable||bA.check||bA.inheritable){bz.push('var prop=qx.core.Property;');
}if(bB==="set"){bz.push('if(value===undefined)prop.error(this,2,"',name,'","',bB,'",value);');
}};
},__S:function(b,c,d,name){if(d.transform){b.push('value=this.',d.transform,'(value);');
}if(d.validate){if(typeof d.validate==="string"){b.push('this.',d.validate,'(value);');
}else if(d.validate instanceof Function){b.push(c.classname,'.$$properties.',name);
b.push('.validate.call(this, value);');
}}},__T:function(cA,cB,cC,cD){var cE=(cD==="reset"||cD==="resetThemed"||cD==="resetRuntime");

if(cB){cA.push('if(this.',cC,'===value)return value;');
}else if(cE){cA.push('if(this.',cC,'===undefined)return;');
}},__U:undefined,__V:function(X,name,Y,ba){if(Y==="setRuntime"){X.push('this.',this.$$store.runtime[name],'=value;');
}else if(Y==="resetRuntime"){X.push('if(this.',this.$$store.runtime[name],'!==undefined)');
X.push('delete this.',this.$$store.runtime[name],';');
}else if(Y==="set"){X.push('this.',this.$$store.user[name],'=value;');
}else if(Y==="reset"){X.push('if(this.',this.$$store.user[name],'!==undefined)');
X.push('delete this.',this.$$store.user[name],';');
}else if(Y==="setThemed"){X.push('this.',this.$$store.theme[name],'=value;');
}else if(Y==="resetThemed"){X.push('if(this.',this.$$store.theme[name],'!==undefined)');
X.push('delete this.',this.$$store.theme[name],';');
}else if(Y==="init"&&ba){X.push('this.',this.$$store.init[name],'=value;');
}},__W:function(bt,bu,name,bv,bw){if(bu.inheritable){bt.push('var computed, old=this.',this.$$store.inherit[name],';');
}else{bt.push('var computed, old;');
}bt.push('if(this.',this.$$store.runtime[name],'!==undefined){');

if(bv==="setRuntime"){bt.push('computed=this.',this.$$store.runtime[name],'=value;');
}else if(bv==="resetRuntime"){bt.push('delete this.',this.$$store.runtime[name],';');
bt.push('if(this.',this.$$store.user[name],'!==undefined)');
bt.push('computed=this.',this.$$store.user[name],';');
bt.push('else if(this.',this.$$store.theme[name],'!==undefined)');
bt.push('computed=this.',this.$$store.theme[name],';');
bt.push('else if(this.',this.$$store.init[name],'!==undefined){');
bt.push('computed=this.',this.$$store.init[name],';');
bt.push('this.',this.$$store.useinit[name],'=true;');
bt.push('}');
}else{bt.push('old=computed=this.',this.$$store.runtime[name],';');
if(bv==="set"){bt.push('this.',this.$$store.user[name],'=value;');
}else if(bv==="reset"){bt.push('delete this.',this.$$store.user[name],';');
}else if(bv==="setThemed"){bt.push('this.',this.$$store.theme[name],'=value;');
}else if(bv==="resetThemed"){bt.push('delete this.',this.$$store.theme[name],';');
}else if(bv==="init"&&bw){bt.push('this.',this.$$store.init[name],'=value;');
}}bt.push('}');
bt.push('else if(this.',this.$$store.user[name],'!==undefined){');

if(bv==="set"){if(!bu.inheritable){bt.push('old=this.',this.$$store.user[name],';');
}bt.push('computed=this.',this.$$store.user[name],'=value;');
}else if(bv==="reset"){if(!bu.inheritable){bt.push('old=this.',this.$$store.user[name],';');
}bt.push('delete this.',this.$$store.user[name],';');
bt.push('if(this.',this.$$store.runtime[name],'!==undefined)');
bt.push('computed=this.',this.$$store.runtime[name],';');
bt.push('if(this.',this.$$store.theme[name],'!==undefined)');
bt.push('computed=this.',this.$$store.theme[name],';');
bt.push('else if(this.',this.$$store.init[name],'!==undefined){');
bt.push('computed=this.',this.$$store.init[name],';');
bt.push('this.',this.$$store.useinit[name],'=true;');
bt.push('}');
}else{if(bv==="setRuntime"){bt.push('computed=this.',this.$$store.runtime[name],'=value;');
}else if(bu.inheritable){bt.push('computed=this.',this.$$store.user[name],';');
}else{bt.push('old=computed=this.',this.$$store.user[name],';');
}if(bv==="setThemed"){bt.push('this.',this.$$store.theme[name],'=value;');
}else if(bv==="resetThemed"){bt.push('delete this.',this.$$store.theme[name],';');
}else if(bv==="init"&&bw){bt.push('this.',this.$$store.init[name],'=value;');
}}bt.push('}');
if(bu.themeable){bt.push('else if(this.',this.$$store.theme[name],'!==undefined){');

if(!bu.inheritable){bt.push('old=this.',this.$$store.theme[name],';');
}
if(bv==="setRuntime"){bt.push('computed=this.',this.$$store.runtime[name],'=value;');
}else if(bv==="set"){bt.push('computed=this.',this.$$store.user[name],'=value;');
}else if(bv==="setThemed"){bt.push('computed=this.',this.$$store.theme[name],'=value;');
}else if(bv==="resetThemed"){bt.push('delete this.',this.$$store.theme[name],';');
bt.push('if(this.',this.$$store.init[name],'!==undefined){');
bt.push('computed=this.',this.$$store.init[name],';');
bt.push('this.',this.$$store.useinit[name],'=true;');
bt.push('}');
}else if(bv==="init"){if(bw){bt.push('this.',this.$$store.init[name],'=value;');
}bt.push('computed=this.',this.$$store.theme[name],';');
}else if(bv==="refresh"){bt.push('computed=this.',this.$$store.theme[name],';');
}bt.push('}');
}bt.push('else if(this.',this.$$store.useinit[name],'){');

if(!bu.inheritable){bt.push('old=this.',this.$$store.init[name],';');
}
if(bv==="init"){if(bw){bt.push('computed=this.',this.$$store.init[name],'=value;');
}else{bt.push('computed=this.',this.$$store.init[name],';');
}}else if(bv==="set"||bv==="setRuntime"||bv==="setThemed"||bv==="refresh"){bt.push('delete this.',this.$$store.useinit[name],';');

if(bv==="setRuntime"){bt.push('computed=this.',this.$$store.runtime[name],'=value;');
}else if(bv==="set"){bt.push('computed=this.',this.$$store.user[name],'=value;');
}else if(bv==="setThemed"){bt.push('computed=this.',this.$$store.theme[name],'=value;');
}else if(bv==="refresh"){bt.push('computed=this.',this.$$store.init[name],';');
}}bt.push('}');
if(bv==="set"||bv==="setRuntime"||bv==="setThemed"||bv==="init"){bt.push('else{');

if(bv==="setRuntime"){bt.push('computed=this.',this.$$store.runtime[name],'=value;');
}else if(bv==="set"){bt.push('computed=this.',this.$$store.user[name],'=value;');
}else if(bv==="setThemed"){bt.push('computed=this.',this.$$store.theme[name],'=value;');
}else if(bv==="init"){if(bw){bt.push('computed=this.',this.$$store.init[name],'=value;');
}else{bt.push('computed=this.',this.$$store.init[name],';');
}bt.push('this.',this.$$store.useinit[name],'=true;');
}bt.push('}');
}},__X:function(bk,bl,name,bm){bk.push('if(computed===undefined||computed===inherit){');

if(bm==="refresh"){bk.push('computed=value;');
}else{bk.push('var pa=this.getLayoutParent();if(pa)computed=pa.',this.$$store.inherit[name],';');
}bk.push('if((computed===undefined||computed===inherit)&&');
bk.push('this.',this.$$store.init[name],'!==undefined&&');
bk.push('this.',this.$$store.init[name],'!==inherit){');
bk.push('computed=this.',this.$$store.init[name],';');
bk.push('this.',this.$$store.useinit[name],'=true;');
bk.push('}else{');
bk.push('delete this.',this.$$store.useinit[name],';}');
bk.push('}');
bk.push('if(old===computed)return value;');
bk.push('if(computed===inherit){');
bk.push('computed=undefined;delete this.',this.$$store.inherit[name],';');
bk.push('}');
bk.push('else if(computed===undefined)');
bk.push('delete this.',this.$$store.inherit[name],';');
bk.push('else this.',this.$$store.inherit[name],'=computed;');
bk.push('var backup=computed;');
if(bl.init!==undefined&&bm!=="init"){bk.push('if(old===undefined)old=this.',this.$$store.init[name],";");
}else{bk.push('if(old===undefined)old=null;');
}bk.push('if(computed===undefined||computed==inherit)computed=null;');
},__Y:function(bE,bF,name,bG){if(bG!=="set"&&bG!=="setRuntime"&&bG!=="setThemed"){bE.push('if(computed===undefined)computed=null;');
}bE.push('if(old===computed)return value;');
if(bF.init!==undefined&&bG!=="init"){bE.push('if(old===undefined)old=this.',this.$$store.init[name],";");
}else{bE.push('if(old===undefined)old=null;');
}},__ba:function(bi,bj,name){if(bj.apply){bi.push(cg,bj.apply,cw,name,cl);
}if(bj.event){bi.push(bU,cq,bj.event,cr,cf,bj.event,cn,ck);
}},__bb:function(B,name){B.push(bY);
B.push(bT,this.$$method.refresh[name],cm,this.$$method.refresh[name],ca);
B.push(ce);
}}});
})();
(function(){var m="$$hash",k="qx.core.ObjectRegistry";
qx.Bootstrap.define(k,{statics:{inShutDown:false,__bc:{},__bd:0,__be:[],register:function(n){var q=this.__bc;

if(!q){return;
}var p=n.$$hash;

if(p==null){var o=this.__be;

if(o.length>0){p=o.pop();
}else{p=(this.__bd++).toString(36);
}n.$$hash=p;
}{};
q[p]=n;
},unregister:function(f){var g=f.$$hash;

if(g==null){return;
}var h=this.__bc;

if(h&&h[g]){delete h[g];
this.__be.push(g);
}try{delete f.$$hash;
}catch(e){if(f.removeAttribute){f.removeAttribute(m);
}}},toHashCode:function(w){{};
var y=w.$$hash;

if(y!=null){return y;
}var x=this.__be;

if(x.length>0){y=x.pop();
}else{y=(this.__bd++).toString(36);
}return w.$$hash=y;
},clearHashCode:function(c){{};
var d=c.$$hash;

if(d!=null){this.__be.push(d);
try{delete c.$$hash;
}catch(j){if(c.removeAttribute){c.removeAttribute(m);
}}}},fromHashCode:function(z){return this.__bc[z]||null;
},shutdown:function(){this.inShutDown=true;
var t=this.__bc;
var v=[];

for(var u in t){v.push(u);
}v.sort(function(a,b){return parseInt(b,36)-parseInt(a,36);
});
var s,i=0,l=v.length;

while(true){try{for(;i<l;i++){u=v[i];
s=t[u];

if(s&&s.dispose){s.dispose();
}}}catch(r){qx.log.Logger.error(this,"Could not dispose object "+s.toString()+": "+r);

if(i!==l){i++;
continue;
}}break;
}qx.log.Logger.debug(this,"Disposed "+l+" objects");
delete this.__bc;
},getRegistry:function(){return this.__bc;
}}});
})();
(function(){var k="qx.Mixin",j=".prototype",h="constructor",g="[Mixin ",f="]",e="destruct",d="Mixin";
qx.Bootstrap.define(k,{statics:{define:function(name,a){if(a){if(a.include&&!(a.include instanceof Array)){a.include=[a.include];
}{};
var c=a.statics?a.statics:{};
qx.Bootstrap.setDisplayNames(c,name);

for(var b in c){if(c[b] instanceof Function){c[b].$$mixin=c;
}}if(a.construct){c.$$constructor=a.construct;
qx.Bootstrap.setDisplayName(a.construct,name,h);
}
if(a.include){c.$$includes=a.include;
}
if(a.properties){c.$$properties=a.properties;
}
if(a.members){c.$$members=a.members;
qx.Bootstrap.setDisplayNames(a.members,name+j);
}
for(var b in c.$$members){if(c.$$members[b] instanceof Function){c.$$members[b].$$mixin=c;
}}
if(a.events){c.$$events=a.events;
}
if(a.destruct){c.$$destructor=a.destruct;
qx.Bootstrap.setDisplayName(a.destruct,name,e);
}}else{var c={};
}c.$$type=d;
c.name=name;
c.toString=this.genericToString;
c.basename=qx.Bootstrap.createNamespace(name,c);
this.$$registry[name]=c;
return c;
},checkCompatibility:function(m){var p=this.flatten(m);
var q=p.length;

if(q<2){return true;
}var t={};
var s={};
var r={};
var o;

for(var i=0;i<q;i++){o=p[i];

for(var n in o.events){if(r[n]){throw new Error('Conflict between mixin "'+o.name+'" and "'+r[n]+'" in member "'+n+'"!');
}r[n]=o.name;
}
for(var n in o.properties){if(t[n]){throw new Error('Conflict between mixin "'+o.name+'" and "'+t[n]+'" in property "'+n+'"!');
}t[n]=o.name;
}
for(var n in o.members){if(s[n]){throw new Error('Conflict between mixin "'+o.name+'" and "'+s[n]+'" in member "'+n+'"!');
}s[n]=o.name;
}}return true;
},isCompatible:function(w,x){var y=qx.Class.getMixins(x);
y.push(w);
return qx.Mixin.checkCompatibility(y);
},getByName:function(name){return this.$$registry[name];
},isDefined:function(name){return this.getByName(name)!==undefined;
},getTotalNumber:function(){return qx.lang.Object.getLength(this.$$registry);
},flatten:function(u){if(!u){return [];
}var v=u.concat();

for(var i=0,l=u.length;i<l;i++){if(u[i].$$includes){v.push.apply(v,this.flatten(u[i].$$includes));
}}return v;
},genericToString:function(){return g+this.name+f;
},$$registry:{},__bf:null,__bg:function(){}}});
})();
(function(){var b="qx.data.MBinding";
qx.Mixin.define(b,{members:{bind:function(c,d,e,f){return qx.data.SingleValueBinding.bind(this,c,d,e,f);
},removeBinding:function(a){qx.data.SingleValueBinding.removeBindingFromObject(this,a);
},removeAllBindings:function(){qx.data.SingleValueBinding.removeAllBindingsForObject(this);
},getBindings:function(){return qx.data.SingleValueBinding.getAllBindingsForObject(this);
}}});
})();
(function(){var v="qx.client",u="on",t="function",s="mousedown",r="qx.bom.Event",q="return;",p="mouseover",o="HTMLEvents";
qx.Bootstrap.define(r,{statics:{addNativeListener:qx.core.Variant.select(v,{"mshtml":function(l,m,n){l.attachEvent(u+m,n);
},"default":function(D,E,F){D.addEventListener(E,F,false);
}}),removeNativeListener:qx.core.Variant.select(v,{"mshtml":function(a,b,c){try{a.detachEvent(u+b,c);
}catch(e){if(e.number!==-2146828218){throw e;
}}},"default":function(w,x,y){w.removeEventListener(x,y,false);
}}),getTarget:function(e){return e.target||e.srcElement;
},getRelatedTarget:qx.core.Variant.select(v,{"mshtml":function(e){if(e.type===p){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(v,{"gecko":function(e){if(qx.bom.client.Engine.VERSION>=1.9&&e.type==s&&e.button==2){return;
}e.preventDefault();
if(qx.bom.client.Engine.VERSION<1.9){try{e.keyCode=0;
}catch(C){}}},"mshtml":function(e){try{e.keyCode=0;
}catch(B){}e.returnValue=false;
},"default":function(e){e.preventDefault();
}}),stopPropagation:function(e){if(e.stopPropagation){e.stopPropagation();
}e.cancelBubble=true;
},fire:function(i,j){if(document.createEventObject){var k=document.createEventObject();
return i.fireEvent(u+j,k);
}else{var k=document.createEvent(o);
k.initEvent(j,true,true);
return !i.dispatchEvent(k);
}},supportsEvent:qx.core.Variant.select(v,{"webkit":function(z,A){return z.hasOwnProperty(u+A);
},"default":function(d,f){var g=u+f;
var h=(g in d);

if(!h){h=typeof d[g]==t;

if(!h&&d.setAttribute){d.setAttribute(g,q);
h=typeof d[g]==t;
d.removeAttribute(g);
}}return h;
}})}});
})();
(function(){var bx="|bubble",bw="|capture",bv="|",bu="_",bt="unload",bs="UNKNOWN_",br="__bl",bq="DOM_",bp="__bm",bo="c",bl="WIN_",bn="capture",bm="qx.event.Manager",bk="QX_";
qx.Bootstrap.define(bm,{construct:function(C,D){this.__bh=C;
this.__bi=qx.core.ObjectRegistry.toHashCode(C);
this.__bj=D;
if(C.qx!==qx){var self=this;
qx.bom.Event.addNativeListener(C,bt,qx.event.GlobalError.observeMethod(function(){qx.bom.Event.removeNativeListener(C,bt,arguments.callee);
self.dispose();
}));
}this.__bk={};
this.__bl={};
this.__bm={};
this.__bn={};
},statics:{__bo:0,getNextUniqueId:function(){return (this.__bo++).toString(36);
}},members:{__bj:null,__bk:null,__bm:null,__bp:null,__bl:null,__bn:null,__bh:null,__bi:null,getWindow:function(){return this.__bh;
},getWindowId:function(){return this.__bi;
},getHandler:function(q){var r=this.__bl[q.classname];

if(r){return r;
}return this.__bl[q.classname]=new q(this);
},getDispatcher:function(a){var b=this.__bm[a.classname];

if(b){return b;
}return this.__bm[a.classname]=new a(this,this.__bj);
},getListeners:function(cx,cy,cz){var cA=cx.$$hash||qx.core.ObjectRegistry.toHashCode(cx);
var cC=this.__bk[cA];

if(!cC){return null;
}var cD=cy+(cz?bw:bx);
var cB=cC[cD];
return cB?cB.concat():null;
},serializeListeners:function(bW){var ce=bW.$$hash||qx.core.ObjectRegistry.toHashCode(bW);
var cg=this.__bk[ce];
var cc=[];

if(cg){var ca,cf,bX,cb,cd;

for(var bY in cg){ca=bY.indexOf(bv);
cf=bY.substring(0,ca);
bX=bY.charAt(ca+1)==bo;
cb=cg[bY];

for(var i=0,l=cb.length;i<l;i++){cd=cb[i];
cc.push({self:cd.context,handler:cd.handler,type:cf,capture:bX});
}}}return cc;
},toggleAttachedEvents:function(W,X){var bd=W.$$hash||qx.core.ObjectRegistry.toHashCode(W);
var bf=this.__bk[bd];

if(bf){var ba,be,Y,bb;

for(var bc in bf){ba=bc.indexOf(bv);
be=bc.substring(0,ba);
Y=bc.charCodeAt(ba+1)===99;
bb=bf[bc];

if(X){this.__bq(W,be,Y);
}else{this.__br(W,be,Y);
}}}},hasListener:function(E,F,G){{};
var H=E.$$hash||qx.core.ObjectRegistry.toHashCode(E);
var J=this.__bk[H];

if(!J){return false;
}var K=F+(G?bw:bx);
var I=J[K];
return I&&I.length>0;
},importListeners:function(co,cp){{};
var cv=co.$$hash||qx.core.ObjectRegistry.toHashCode(co);
var cw=this.__bk[cv]={};
var cs=qx.event.Manager;

for(var cq in cp){var ct=cp[cq];
var cu=ct.type+(ct.capture?bw:bx);
var cr=cw[cu];

if(!cr){cr=cw[cu]=[];
this.__bq(co,ct.type,ct.capture);
}cr.push({handler:ct.listener,context:ct.self,unique:ct.unique||(cs.__bo++).toString(36)});
}},addListener:function(by,bz,bA,self,bB){var bF;
{};
var bG=by.$$hash||qx.core.ObjectRegistry.toHashCode(by);
var bI=this.__bk[bG];

if(!bI){bI=this.__bk[bG]={};
}var bE=bz+(bB?bw:bx);
var bD=bI[bE];

if(!bD){bD=bI[bE]=[];
}if(bD.length===0){this.__bq(by,bz,bB);
}var bH=(qx.event.Manager.__bo++).toString(36);
var bC={handler:bA,context:self,unique:bH};
bD.push(bC);
return bE+bv+bH;
},findHandler:function(bJ,bK){var bU=false,bN=false,bV=false;
var bT;

if(bJ.nodeType===1){bU=true;
bT=bq+bJ.tagName.toLowerCase()+bu+bK;
}else if(bJ==this.__bh){bN=true;
bT=bl+bK;
}else if(bJ.classname){bV=true;
bT=bk+bJ.classname+bu+bK;
}else{bT=bs+bJ+bu+bK;
}var bP=this.__bn;

if(bP[bT]){return bP[bT];
}var bS=this.__bj.getHandlers();
var bO=qx.event.IEventHandler;
var bQ,bR,bM,bL;

for(var i=0,l=bS.length;i<l;i++){bQ=bS[i];
bM=bQ.SUPPORTED_TYPES;

if(bM&&!bM[bK]){continue;
}bL=bQ.TARGET_CHECK;

if(bL){if(!bU&&bL===bO.TARGET_DOMNODE){continue;
}else if(!bN&&bL===bO.TARGET_WINDOW){continue;
}else if(!bV&&bL===bO.TARGET_OBJECT){continue;
}}bR=this.getHandler(bS[i]);

if(bQ.IGNORE_CAN_HANDLE||bR.canHandleEvent(bJ,bK)){bP[bT]=bR;
return bR;
}}return null;
},__bq:function(bg,bh,bi){var bj=this.findHandler(bg,bh);

if(bj){bj.registerEvent(bg,bh,bi);
return;
}{};
},removeListener:function(s,t,u,self,v){var z;
{};
var A=s.$$hash||qx.core.ObjectRegistry.toHashCode(s);
var B=this.__bk[A];

if(!B){return false;
}var w=t+(v?bw:bx);
var x=B[w];

if(!x){return false;
}var y;

for(var i=0,l=x.length;i<l;i++){y=x[i];

if(y.handler===u&&y.context===self){qx.lang.Array.removeAt(x,i);

if(x.length==0){this.__br(s,t,v);
}return true;
}}return false;
},removeListenerById:function(c,d){var k;
{};
var h=d.split(bv);
var o=h[0];
var e=h[1].charCodeAt(0)==99;
var n=h[2];
var m=c.$$hash||qx.core.ObjectRegistry.toHashCode(c);
var p=this.__bk[m];

if(!p){return false;
}var j=o+(e?bw:bx);
var g=p[j];

if(!g){return false;
}var f;

for(var i=0,l=g.length;i<l;i++){f=g[i];

if(f.unique===n){qx.lang.Array.removeAt(g,i);

if(g.length==0){this.__br(c,o,e);
}return true;
}}return false;
},removeAllListeners:function(ch){var cl=ch.$$hash||qx.core.ObjectRegistry.toHashCode(ch);
var cn=this.__bk[cl];

if(!cn){return false;
}var cj,cm,ci;

for(var ck in cn){if(cn[ck].length>0){cj=ck.split(bv);
cm=cj[0];
ci=cj[1]===bn;
this.__br(ch,cm,ci);
}}delete this.__bk[cl];
return true;
},__br:function(S,T,U){var V=this.findHandler(S,T);

if(V){V.unregisterEvent(S,T,U);
return;
}{};
},dispatchEvent:function(L,event){var Q;
{};
var R=event.getType();

if(!event.getBubbles()&&!this.hasListener(L,R)){qx.event.Pool.getInstance().poolObject(event);
return true;
}
if(!event.getTarget()){event.setTarget(L);
}var P=this.__bj.getDispatchers();
var O;
var N=false;

for(var i=0,l=P.length;i<l;i++){O=this.getDispatcher(P[i]);
if(O.canDispatchEvent(L,event,R)){O.dispatchEvent(L,event,R);
N=true;
break;
}}
if(!N){qx.log.Logger.error(this,"No dispatcher can handle event of type "+R+" on "+L);
return true;
}var M=event.getDefaultPrevented();
qx.event.Pool.getInstance().poolObject(event);
return !M;
},dispose:function(){this.__bj.removeManager(this);
qx.util.DisposeUtil.disposeMap(this,br);
qx.util.DisposeUtil.disposeMap(this,bp);
this.__bk=this.__bh=this.__bp=null;
this.__bj=this.__bn=null;
}}});
})();
(function(){var k="qx.dom.Node",j="qx.client",h="";
qx.Bootstrap.define(k,{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(e){return e.nodeType===
this.DOCUMENT?e:
e.ownerDocument||e.document;
},getWindow:qx.core.Variant.select(j,{"mshtml":function(t){if(t.nodeType==null){return t;
}if(t.nodeType!==this.DOCUMENT){t=t.ownerDocument;
}return t.parentWindow;
},"default":function(r){if(r.nodeType==null){return r;
}if(r.nodeType!==this.DOCUMENT){r=r.ownerDocument;
}return r.defaultView;
}}),getDocumentElement:function(d){return this.getDocument(d).documentElement;
},getBodyElement:function(l){return this.getDocument(l).body;
},isNode:function(p){return !!(p&&p.nodeType!=null);
},isElement:function(q){return !!(q&&q.nodeType===this.ELEMENT);
},isDocument:function(b){return !!(b&&b.nodeType===this.DOCUMENT);
},isText:function(c){return !!(c&&c.nodeType===this.TEXT);
},isWindow:function(m){return !!(m&&m.history&&m.location&&m.document);
},isNodeName:function(f,g){if(!g||!f||!f.nodeName){return false;
}return g.toLowerCase()==qx.dom.Node.getName(f);
},getName:function(s){if(!s||!s.nodeName){return null;
}return s.nodeName.toLowerCase();
},getText:function(n){if(!n||!n.nodeType){return null;
}
switch(n.nodeType){case 1:var i,a=[],o=n.childNodes,length=o.length;

for(i=0;i<length;i++){a[i]=this.getText(o[i]);
}return a.join(h);
case 2:return n.nodeValue;
break;
case 3:return n.nodeValue;
break;
}return null;
}}});
})();
(function(){var bq="mshtml",bp="qx.client",bo="[object Array]",bn="qx.lang.Array",bm="qx",bl="number",bk="string";
qx.Bootstrap.define(bn,{statics:{toArray:function(L,M){return this.cast(L,Array,M);
},cast:function(o,p,q){if(o.constructor===p){return o;
}
if(qx.Class.hasInterface(o,qx.data.IListData)){var o=o.toArray();
}var r=new p;
if(qx.core.Variant.isSet(bp,bq)){if(o.item){for(var i=q||0,l=o.length;i<l;i++){r.push(o[i]);
}return r;
}}if(Object.prototype.toString.call(o)===bo&&q==null){r.push.apply(r,o);
}else{r.push.apply(r,Array.prototype.slice.call(o,q||0));
}return r;
},fromArguments:function(e,f){return Array.prototype.slice.call(e,f||0);
},fromCollection:function(c){if(qx.core.Variant.isSet(bp,bq)){if(c.item){var d=[];

for(var i=0,l=c.length;i<l;i++){d[i]=c[i];
}return d;
}}return Array.prototype.slice.call(c,0);
},fromShortHand:function(E){var G=E.length;
var F=qx.lang.Array.clone(E);
switch(G){case 1:F[1]=F[2]=F[3]=F[0];
break;
case 2:F[2]=F[0];
case 3:F[3]=F[1];
}return F;
},clone:function(be){return be.concat();
},insertAt:function(A,B,i){A.splice(i,0,B);
return A;
},insertBefore:function(k,m,n){var i=k.indexOf(n);

if(i==-1){k.push(m);
}else{k.splice(i,0,m);
}return k;
},insertAfter:function(bf,bg,bh){var i=bf.indexOf(bh);

if(i==-1||i==(bf.length-1)){bf.push(bg);
}else{bf.splice(i+1,0,bg);
}return bf;
},removeAt:function(s,i){return s.splice(i,1)[0];
},removeAll:function(D){D.length=0;
return this;
},append:function(bi,bj){{};
Array.prototype.push.apply(bi,bj);
return bi;
},exclude:function(t,u){{};

for(var i=0,w=u.length,v;i<w;i++){v=t.indexOf(u[i]);

if(v!=-1){t.splice(v,1);
}}return t;
},remove:function(g,h){var i=g.indexOf(h);

if(i!=-1){g.splice(i,1);
return h;
}},contains:function(a,b){return a.indexOf(b)!==-1;
},equals:function(J,K){var length=J.length;

if(length!==K.length){return false;
}
for(var i=0;i<length;i++){if(J[i]!==K[i]){return false;
}}return true;
},sum:function(H){var I=0;

for(var i=0,l=H.length;i<l;i++){I+=H[i];
}return I;
},max:function(N){{};
var i,P=N.length,O=N[0];

for(i=1;i<P;i++){if(N[i]>O){O=N[i];
}}return O===undefined?null:O;
},min:function(x){{};
var i,z=x.length,y=x[0];

for(i=1;i<z;i++){if(x[i]<y){y=x[i];
}}return y===undefined?null:y;
},unique:function(Q){var bb=[],S={},V={},X={};
var W,R=0;
var bc=bm+qx.lang.Date.now();
var T=false,ba=false,bd=false;
for(var i=0,Y=Q.length;i<Y;i++){W=Q[i];
if(W===null){if(!T){T=true;
bb.push(W);
}}else if(W===undefined){}else if(W===false){if(!ba){ba=true;
bb.push(W);
}}else if(W===true){if(!bd){bd=true;
bb.push(W);
}}else if(typeof W===bk){if(!S[W]){S[W]=1;
bb.push(W);
}}else if(typeof W===bl){if(!V[W]){V[W]=1;
bb.push(W);
}}else{U=W[bc];

if(U==null){U=W[bc]=R++;
}
if(!X[U]){X[U]=W;
bb.push(W);
}}}for(var U in X){try{delete X[U][bc];
}catch(j){try{X[U][bc]=null;
}catch(C){throw new Error("Cannot clean-up map entry doneObjects["+U+"]["+bc+"]");
}}}return bb;
}}});
})();
(function(){var k="()",j=".",i=".prototype.",h='anonymous()',g="qx.lang.Function",f=".constructor()";
qx.Bootstrap.define(g,{statics:{getCaller:function(p){return p.caller?p.caller.callee:p.callee.caller;
},getName:function(C){if(C.displayName){return C.displayName;
}
if(C.$$original||C.wrapper||C.classname){return C.classname+f;
}
if(C.$$mixin){for(var E in C.$$mixin.$$members){if(C.$$mixin.$$members[E]==C){return C.$$mixin.name+i+E+k;
}}for(var E in C.$$mixin){if(C.$$mixin[E]==C){return C.$$mixin.name+j+E+k;
}}}
if(C.self){var F=C.self.constructor;

if(F){for(var E in F.prototype){if(F.prototype[E]==C){return F.classname+i+E+k;
}}for(var E in F){if(F[E]==C){return F.classname+j+E+k;
}}}}var D=C.toString().match(/function\s*(\w*)\s*\(.*/);

if(D&&D.length>=1&&D[1]){return D[1]+k;
}return h;
},globalEval:function(s){if(window.execScript){return window.execScript(s);
}else{return eval.call(window,s);
}},empty:function(){},returnTrue:function(){return true;
},returnFalse:function(){return false;
},returnNull:function(){return null;
},returnThis:function(){return this;
},returnZero:function(){return 0;
},create:function(G,H){{};
if(!H){return G;
}if(!(H.self||H.args||H.delay!=null||H.periodical!=null||H.attempt)){return G;
}return function(event){{};
var m=qx.lang.Array.fromArguments(arguments);
if(H.args){m=H.args.concat(m);
}
if(H.delay||H.periodical){var l=qx.event.GlobalError.observeMethod(function(){return G.apply(H.self||this,m);
});

if(H.delay){return window.setTimeout(l,H.delay);
}
if(H.periodical){return window.setInterval(l,H.periodical);
}}else if(H.attempt){var n=false;

try{n=G.apply(H.self||this,m);
}catch(o){}return n;
}else{return G.apply(H.self||this,m);
}};
},bind:function(w,self,x){return this.create(w,{self:self,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null});
},curry:function(q,r){return this.create(q,{args:arguments.length>1?qx.lang.Array.fromArguments(arguments,1):null});
},listener:function(y,self,z){if(arguments.length<3){return function(event){return y.call(self||this,event||window.event);
};
}else{var A=qx.lang.Array.fromArguments(arguments,2);
return function(event){var B=[event||window.event];
B.push.apply(B,A);
y.apply(self||this,B);
};
}},attempt:function(d,self,e){return this.create(d,{self:self,attempt:true,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null})();
},delay:function(t,u,self,v){return this.create(t,{delay:u,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();
},periodical:function(a,b,self,c){return this.create(a,{periodical:b,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();
}}});
})();
(function(){var y="qx.event.Registration";
qx.Bootstrap.define(y,{statics:{__bs:{},getManager:function(q){if(q==null){{};
q=window;
}else if(q.nodeType){q=qx.dom.Node.getWindow(q);
}else if(!qx.dom.Node.isWindow(q)){q=window;
}var s=q.$$hash||qx.core.ObjectRegistry.toHashCode(q);
var r=this.__bs[s];

if(!r){r=new qx.event.Manager(q,this);
this.__bs[s]=r;
}return r;
},removeManager:function(d){var e=d.getWindowId();
delete this.__bs[e];
},addListener:function(t,u,v,self,w){return this.getManager(t).addListener(t,u,v,self,w);
},removeListener:function(N,O,P,self,Q){return this.getManager(N).removeListener(N,O,P,self,Q);
},removeListenerById:function(f,g){return this.getManager(f).removeListenerById(f,g);
},removeAllListeners:function(n){return this.getManager(n).removeAllListeners(n);
},hasListener:function(D,E,F){return this.getManager(D).hasListener(D,E,F);
},serializeListeners:function(G){return this.getManager(G).serializeListeners(G);
},createEvent:function(z,A,B){{};
if(A==null){A=qx.event.type.Event;
}var C=qx.event.Pool.getInstance().getObject(A);

if(!C){return;
}B?C.init.apply(C,B):C.init();
if(z){C.setType(z);
}return C;
},dispatchEvent:function(x,event){return this.getManager(x).dispatchEvent(x,event);
},fireEvent:function(H,I,J,K){var L;
{};
var M=this.createEvent(I,J||null,K);
return this.getManager(H).dispatchEvent(H,M);
},fireNonBubblingEvent:function(h,i,j,k){{};
var l=this.getManager(h);

if(!l.hasListener(h,i,false)){return true;
}var m=this.createEvent(i,j||null,k);
return l.dispatchEvent(h,m);
},PRIORITY_FIRST:-32000,PRIORITY_NORMAL:0,PRIORITY_LAST:32000,__bt:[],addHandler:function(c){{};
this.__bt.push(c);
this.__bt.sort(function(a,b){return a.PRIORITY-b.PRIORITY;
});
},getHandlers:function(){return this.__bt;
},__bu:[],addDispatcher:function(o,p){{};
this.__bu.push(o);
this.__bu.sort(function(a,b){return a.PRIORITY-b.PRIORITY;
});
},getDispatchers:function(){return this.__bu;
}}});
})();
(function(){var c="qx.log.appender.RingBuffer";
qx.Bootstrap.define(c,{construct:function(i){this.__bv=[];
this.setMaxMessages(i||50);
},members:{__bw:0,__bv:null,__bx:50,setMaxMessages:function(d){this.__bx=d;
this.clearHistory();
},getMaxMessages:function(){return this.__bx;
},process:function(a){var b=this.getMaxMessages();

if(this.__bv.length<b){this.__bv.push(a);
}else{this.__bv[this.__bw++]=a;

if(this.__bw>=b){this.__bw=0;
}}},getAllLogEvents:function(){return this.retrieveLogEvents(this.getMaxMessages());
},retrieveLogEvents:function(e){if(e>this.__bv.length){e=this.__bv.length;
}
if(this.__bv.length==this.getMaxMessages()){var g=this.__bw-1;
}else{g=this.__bv.length-1;
}var f=g-e+1;

if(f<0){f+=this.__bv.length;
}var h;

if(f<=g){h=this.__bv.slice(f,g+1);
}else{h=this.__bv.slice(f,this.__bv.length).concat(this.__bv.slice(0,g+1));
}return h;
},clearHistory:function(){this.__bv=[];
this.__bw=0;
}}});
})();
(function(){var z="node",y="error",x="...(+",w="array",v=")",u="info",t="instance",s="string",r="null",q="class",U="number",T="stringify",S="]",R="unknown",Q="function",P="boolean",O="debug",N="map",M="undefined",L="qx.log.Logger",G=")}",H="#",E="warn",F="document",C="{...(",D="[",A="text[",B="[...(",I="\n",J=")]",K="object";
qx.Bootstrap.define(L,{statics:{__by:O,setLevel:function(Y){this.__by=Y;
},getLevel:function(){return this.__by;
},setTreshold:function(c){this.__bB.setMaxMessages(c);
},getTreshold:function(){return this.__bB.getMaxMessages();
},__bz:{},__bA:0,register:function(bG){if(bG.$$id){return;
}var bH=this.__bA++;
this.__bz[bH]=bG;
bG.$$id=bH;
var bI=this.__bB.getAllLogEvents();

for(var i=0,l=bI.length;i<l;i++){bG.process(bI[i]);
}},unregister:function(by){var bz=by.$$id;

if(bz==null){return;
}delete this.__bz[bz];
delete by.$$id;
},debug:function(bA,bB){this.__bD(O,arguments);
},info:function(a,b){this.__bD(u,arguments);
},warn:function(br,bs){this.__bD(E,arguments);
},error:function(ba,bb){this.__bD(y,arguments);
},trace:function(d){this.__bD(u,[d,qx.dev.StackTrace.getStackTrace().join(I)]);
},deprecatedMethodWarning:function(V,W){var X;
{};
},deprecatedClassWarning:function(bt,bu){var bv;
{};
},deprecatedEventWarning:function(bc,event,bd){var be;
{};
},deprecatedMixinWarning:function(bo,bp){var bq;
{};
},deprecatedConstantWarning:function(bC,bD,bE){var self,bF;
{};
},clear:function(){this.__bB.clearHistory();
},__bB:new qx.log.appender.RingBuffer(50),__bC:{debug:0,info:1,warn:2,error:3},__bD:function(e,f){var m=this.__bC;

if(m[e]<m[this.__by]){return;
}var h=f.length<2?null:f[0];
var k=h?1:0;
var g=[];

for(var i=k,l=f.length;i<l;i++){g.push(this.__bF(f[i],true));
}var n=new Date;
var o={time:n,offset:n-qx.Bootstrap.LOADSTART,level:e,items:g,win:window};
if(h){if(h instanceof qx.core.Object){o.object=h.$$hash;
}else if(h.$$type){o.clazz=h;
}}this.__bB.process(o);
var p=this.__bz;

for(var j in p){p[j].process(o);
}},__bE:function(bw){if(bw===undefined){return M;
}else if(bw===null){return r;
}
if(bw.$$type){return q;
}var bx=typeof bw;

if(bx===Q||bx==s||bx===U||bx===P){return bx;
}else if(bx===K){if(bw.nodeType){return z;
}else if(bw.classname){return t;
}else if(bw instanceof Array){return w;
}else if(bw instanceof Error){return y;
}else{return N;
}}
if(bw.toString){return T;
}return R;
},__bF:function(bf,bg){var bn=this.__bE(bf);
var bj=R;
var bi=[];

switch(bn){case r:case M:bj=bn;
break;
case s:case U:case P:bj=bf;
break;
case z:if(bf.nodeType===9){bj=F;
}else if(bf.nodeType===3){bj=A+bf.nodeValue+S;
}else if(bf.nodeType===1){bj=bf.nodeName.toLowerCase();

if(bf.id){bj+=H+bf.id;
}}else{bj=z;
}break;
case Q:bj=qx.lang.Function.getName(bf)||bn;
break;
case t:bj=bf.basename+D+bf.$$hash+S;
break;
case q:case T:bj=bf.toString();
break;
case y:bi=qx.dev.StackTrace.getStackTraceFromError(bf);
bj=bf.toString();
break;
case w:if(bg){bj=[];

for(var i=0,l=bf.length;i<l;i++){if(bj.length>20){bj.push(x+(l-i)+v);
break;
}bj.push(this.__bF(bf[i],false));
}}else{bj=B+bf.length+J;
}break;
case N:if(bg){var bh;
var bm=[];

for(var bl in bf){bm.push(bl);
}bm.sort();
bj=[];

for(var i=0,l=bm.length;i<l;i++){if(bj.length>20){bj.push(x+(l-i)+v);
break;
}bl=bm[i];
bh=this.__bF(bf[bl],false);
bh.key=bl;
bj.push(bh);
}}else{var bk=0;

for(var bl in bf){bk++;
}bj=C+bk+G;
}break;
}return {type:bn,text:bj,trace:bi};
}}});
})();
(function(){var A="set",z="get",y="reset",x="qx.core.Object",w="]",v="[",u="$$user_",t="Don't use '_disposeFields' - instead assign directly to 'null'",s="Object";
qx.Class.define(x,{extend:Object,include:[qx.data.MBinding],construct:function(){qx.core.ObjectRegistry.register(this);
},statics:{$$type:s},members:{toHashCode:function(){return this.$$hash;
},toString:function(){return this.classname+v+this.$$hash+w;
},base:function(bo,bp){{};

if(arguments.length===1){return bo.callee.base.call(this);
}else{return bo.callee.base.apply(this,Array.prototype.slice.call(arguments,1));
}},self:function(ba){return ba.callee.self;
},clone:function(){var bs=this.constructor;
var br=new bs;
var bu=qx.Class.getProperties(bs);
var bt=qx.core.Property.$$store.user;
var bv=qx.core.Property.$$method.set;
var name;
for(var i=0,l=bu.length;i<l;i++){name=bu[i];

if(this.hasOwnProperty(bt[name])){br[bv[name]](this[bt[name]]);
}}return br;
},set:function(k,m){var o=qx.core.Property.$$method.set;

if(qx.lang.Type.isString(k)){if(!this[o[k]]){if(this[A+qx.lang.String.firstUp(k)]!=undefined){this[A+qx.lang.String.firstUp(k)](m);
return;
}{};
}return this[o[k]](m);
}else{for(var n in k){if(!this[o[n]]){if(this[A+qx.lang.String.firstUp(n)]!=undefined){this[A+qx.lang.String.firstUp(n)](k[n]);
continue;
}{};
}this[o[n]](k[n]);
}return this;
}},get:function(bi){var bj=qx.core.Property.$$method.get;

if(!this[bj[bi]]){if(this[z+qx.lang.String.firstUp(bi)]!=undefined){return this[z+qx.lang.String.firstUp(bi)]();
}{};
}return this[bj[bi]]();
},reset:function(bb){var bc=qx.core.Property.$$method.reset;

if(!this[bc[bb]]){if(this[y+qx.lang.String.firstUp(bb)]!=undefined){this[y+qx.lang.String.firstUp(bb)]();
return;
}{};
}this[bc[bb]]();
},__bG:qx.event.Registration,addListener:function(p,q,self,r){if(!this.$$disposed){return this.__bG.addListener(this,p,q,self,r);
}return null;
},addListenerOnce:function(G,H,self,I){var J=function(e){H.call(self||this,e);
this.removeListener(G,J,this,I);
};
return this.addListener(G,J,this,I);
},removeListener:function(bl,bm,self,bn){if(!this.$$disposed){return this.__bG.removeListener(this,bl,bm,self,bn);
}return false;
},removeListenerById:function(bx){if(!this.$$disposed){return this.__bG.removeListenerById(this,bx);
}return false;
},hasListener:function(L,M){return this.__bG.hasListener(this,L,M);
},dispatchEvent:function(bw){if(!this.$$disposed){return this.__bG.dispatchEvent(this,bw);
}return true;
},fireEvent:function(N,O,P){if(!this.$$disposed){return this.__bG.fireEvent(this,N,O,P);
}return true;
},fireNonBubblingEvent:function(bf,bg,bh){if(!this.$$disposed){return this.__bG.fireNonBubblingEvent(this,bf,bg,bh);
}return true;
},fireDataEvent:function(C,D,E,F){if(!this.$$disposed){if(E===undefined){E=null;
}return this.__bG.fireNonBubblingEvent(this,C,qx.event.type.Data,[D,E,!!F]);
}return true;
},__bH:null,setUserData:function(bd,be){if(!this.__bH){this.__bH={};
}this.__bH[bd]=be;
},getUserData:function(h){if(!this.__bH){return null;
}var j=this.__bH[h];
return j===undefined?null:j;
},__bI:qx.log.Logger,debug:function(bA){this.__bI.debug(this,bA);
},info:function(bz){this.__bI.info(this,bz);
},warn:function(bk){this.__bI.warn(this,bk);
},error:function(a){this.__bI.error(this,a);
},trace:function(){this.__bI.trace(this);
},isDisposed:function(){return this.$$disposed||false;
},dispose:function(){var f,c;
if(this.$$disposed){return;
}this.$$disposed=true;
this.$$instance=null;
this.$$allowconstruct=null;
{};
var d=this.constructor;
var b;

while(d.superclass){if(d.$$destructor){d.$$destructor.call(this);
}if(d.$$includes){b=d.$$flatIncludes;

for(var i=0,l=b.length;i<l;i++){if(b[i].$$destructor){b[i].$$destructor.call(this);
}}}d=d.superclass;
}var g=qx.Class.getProperties(this.constructor);

for(var i=0,l=g.length;i<l;i++){delete this[u+g[i]];
}{};
},_disposeFields:function(by){qx.log.Logger.deprecatedMethodWarning(arguments.callee,t);
qx.util.DisposeUtil.disposeFields(this,arguments);
},_disposeObjects:function(B){qx.util.DisposeUtil.disposeObjects(this,arguments);
},_disposeArray:function(bq){qx.util.DisposeUtil.disposeArray(this,bq);
},_disposeMap:function(K){qx.util.DisposeUtil.disposeMap(this,K);
}},settings:{"qx.disposerDebugLevel":0},defer:function(Y){{};
},destruct:function(){qx.event.Registration.removeAllListeners(this);
qx.core.ObjectRegistry.unregister(this);
this.__bH=null;
var S=this.constructor;
var W;
var X=qx.core.Property.$$store;
var U=X.user;
var V=X.theme;
var Q=X.inherit;
var T=X.useinit;
var R=X.init;

while(S){W=S.$$properties;

if(W){for(var name in W){if(W[name].dispose){this[U[name]]=this[V[name]]=this[Q[name]]=this[T[name]]=this[R[name]]=undefined;
}}}S=S.superclass;
}}});
})();
(function(){var y="",x="g",w="0",v='\\$1',u="%",t='-',s="qx.lang.String",r=' ',q='\n',p="undefined";
qx.Bootstrap.define(s,{statics:{camelCase:function(g){return g.replace(/\-([a-z])/g,function(e,f){return f.toUpperCase();
});
},hyphenate:function(z){return z.replace(/[A-Z]/g,function(L){return (t+L.charAt(0).toLowerCase());
});
},capitalize:function(j){return j.replace(/\b[a-z]/g,function(F){return F.toUpperCase();
});
},clean:function(a){return this.trim(a.replace(/\s+/g,r));
},trimLeft:function(k){return k.replace(/^\s+/,y);
},trimRight:function(b){return b.replace(/\s+$/,y);
},trim:function(S){return S.replace(/^\s+|\s+$/g,y);
},startsWith:function(C,D){return C.indexOf(D)===0;
},endsWith:function(A,B){return A.substring(A.length-B.length,A.length)===B;
},repeat:function(Q,R){return Q.length>=0?new Array(R+1).join(Q):y;
},pad:function(I,length,J){var K=length-I.length;

if(K>0){if(typeof J===p){J=w;
}return this.repeat(J,K)+I;
}else{return I;
}},firstUp:function(E){return E.charAt(0).toUpperCase()+E.substr(1);
},firstLow:function(c){return c.charAt(0).toLowerCase()+c.substr(1);
},contains:function(G,H){return G.indexOf(H)!=-1;
},format:function(M,N){var O=M;

for(var i=0;i<N.length;i++){O=O.replace(new RegExp(u+(i+1),x),N[i]);
}return O;
},escapeRegexpChars:function(h){return h.replace(/([.*+?^${}()|[\]\/\\])/g,v);
},toArray:function(P){return P.split(/\B|\b/g);
},stripTags:function(d){return d.replace(/<\/?[^>]+>/gi,y);
},stripScripts:function(l,m){var o=y;
var n=l.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi,function(){o+=arguments[1]+q;
return y;
});

if(m===true){qx.lang.Function.globalEval(o);
}return n;
}}});
})();
(function(){var r="function",q="Boolean",p="qx.Interface",o="]",n="toggle",m="Interface",k="is",j="[Interface ";
qx.Bootstrap.define(p,{statics:{define:function(name,g){if(g){if(g.extend&&!(g.extend instanceof Array)){g.extend=[g.extend];
}{};
var h=g.statics?g.statics:{};
if(g.extend){h.$$extends=g.extend;
}
if(g.properties){h.$$properties=g.properties;
}
if(g.members){h.$$members=g.members;
}
if(g.events){h.$$events=g.events;
}}else{var h={};
}h.$$type=m;
h.name=name;
h.toString=this.genericToString;
h.basename=qx.Bootstrap.createNamespace(name,h);
qx.Interface.$$registry[name]=h;
return h;
},getByName:function(name){return this.$$registry[name];
},isDefined:function(name){return this.getByName(name)!==undefined;
},getTotalNumber:function(){return qx.lang.Object.getLength(this.$$registry);
},flatten:function(e){if(!e){return [];
}var f=e.concat();

for(var i=0,l=e.length;i<l;i++){if(e[i].$$extends){f.push.apply(f,this.flatten(e[i].$$extends));
}}return f;
},__bJ:function(s,t,u,v){var z=u.$$members;

if(z){for(var y in z){if(qx.lang.Type.isFunction(z[y])){var x=this.__bK(t,y);
var w=x||qx.lang.Type.isFunction(s[y]);

if(!w){throw new Error('Implementation of method "'+y+'" is missing in class "'+t.classname+'" required by interface "'+u.name+'"');
}var A=v===true&&!x&&!qx.Class.hasInterface(t,u);

if(A){s[y]=this.__bN(u,s[y],y,z[y]);
}}else{if(typeof s[y]===undefined){if(typeof s[y]!==r){throw new Error('Implementation of member "'+y+'" is missing in class "'+t.classname+'" required by interface "'+u.name+'"');
}}}}}},__bK:function(H,I){var M=I.match(/^(is|toggle|get|set|reset)(.*)$/);

if(!M){return false;
}var J=qx.lang.String.firstLow(M[2]);
var K=qx.Class.hasProperty(H,J);

if(!K){return false;
}var L=M[0]==k||M[0]==n;

if(L){return qx.Class.getPropertyDefinition(H,J).check==q;
}return true;
},__bL:function(E,F){if(F.$$properties){for(var G in F.$$properties){if(!qx.Class.hasProperty(E,G)){throw new Error('The property "'+G+'" is not supported by Class "'+E.classname+'"!');
}}}},__bM:function(B,C){if(C.$$events){for(var D in C.$$events){if(!qx.Class.supportsEvent(B,D)){throw new Error('The event "'+D+'" is not supported by Class "'+B.classname+'"!');
}}}},assertObject:function(a,b){var d=a.constructor;
this.__bJ(a,d,b,false);
this.__bL(d,b);
this.__bM(d,b);
var c=b.$$extends;

if(c){for(var i=0,l=c.length;i<l;i++){this.assertObject(a,c[i]);
}}},assert:function(N,O,P){this.__bJ(N.prototype,N,O,P);
this.__bL(N,O);
this.__bM(N,O);
var Q=O.$$extends;

if(Q){for(var i=0,l=Q.length;i<l;i++){this.assert(N,Q[i],P);
}}},genericToString:function(){return j+this.name+o;
},$$registry:{},__bN:function(){},__bO:null,__bP:function(){}}});
})();
(function(){var d="qx.ui.decoration.IDecorator";
qx.Interface.define(d,{members:{getMarkup:function(){},resize:function(a,b,c){},tint:function(e,f){},getInsets:function(){}}});
})();
(function(){var i="Number",h="_applyInsets",g="abstract",f="insetRight",e="insetTop",d="insetBottom",c="qx.ui.decoration.Abstract",b="shorthand",a="insetLeft";
qx.Class.define(c,{extend:qx.core.Object,implement:[qx.ui.decoration.IDecorator],type:g,properties:{insetLeft:{check:i,nullable:true,apply:h},insetRight:{check:i,nullable:true,apply:h},insetBottom:{check:i,nullable:true,apply:h},insetTop:{check:i,nullable:true,apply:h},insets:{group:[e,f,d,a],mode:b}},members:{__bQ:null,_getDefaultInsets:function(){throw new Error("Abstract method called.");
},_isInitialized:function(){throw new Error("Abstract method called.");
},_resetInsets:function(){this.__bQ=null;
},getInsets:function(){if(this.__bQ){return this.__bQ;
}var j=this._getDefaultInsets();
return this.__bQ={left:this.getInsetLeft()==null?j.left:this.getInsetLeft(),right:this.getInsetRight()==null?j.right:this.getInsetRight(),bottom:this.getInsetBottom()==null?j.bottom:this.getInsetBottom(),top:this.getInsetTop()==null?j.top:this.getInsetTop()};
},_applyInsets:function(){{};
this.__bQ=null;
}},destruct:function(){this.__bQ=null;
}});
})();
(function(){var q="_applyBackground",p="repeat",o="mshtml",n="backgroundPositionX",m="",l="backgroundPositionY",k="no-repeat",j="scale",i=" ",h="repeat-x",c="qx.client",g="repeat-y",f="hidden",b="qx.ui.decoration.MBackgroundImage",a="String",e='"></div>',d='<div style="';
qx.Mixin.define(b,{properties:{backgroundImage:{check:a,nullable:true,apply:q},backgroundRepeat:{check:[p,h,g,k,j],init:p,apply:q},backgroundPositionX:{nullable:true,apply:q},backgroundPositionY:{nullable:true,apply:q},backgroundPosition:{group:[l,n]}},members:{_generateBackgroundMarkup:function(r){{};
var v=m;
var u=this.getBackgroundImage();
var t=this.getBackgroundRepeat();
var top=this.getBackgroundPositionY();

if(top==null){top=0;
}var w=this.getBackgroundPositionX();

if(w==null){w=0;
}r.backgroundPosition=w+i+top;
if(u){var s=qx.util.AliasManager.getInstance().resolve(u);
v=qx.bom.element.Decoration.create(s,t,r);
}else{if(r){if(qx.core.Variant.isSet(c,o)){if(qx.bom.client.Engine.VERSION<7||qx.bom.client.Feature.QUIRKS_MODE){r.overflow=f;
}}v=d+qx.bom.element.Style.compile(r)+e;
}}return v;
},_applyBackground:function(){{};
}}});
})();
(function(){var r="_applyStyle",q="Color",p="px",o="solid",n="dotted",m="double",l="dashed",k="",j="_applyWidth",i="qx.ui.decoration.Uniform",f="px ",h=" ",g="scale",e="PositiveInteger",d="absolute";
qx.Class.define(i,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage],construct:function(a,b,c){arguments.callee.base.call(this);
if(a!=null){this.setWidth(a);
}
if(b!=null){this.setStyle(b);
}
if(c!=null){this.setColor(c);
}},properties:{width:{check:e,init:0,apply:j},style:{nullable:true,check:[o,n,l,m],init:o,apply:r},color:{nullable:true,check:q,apply:r},backgroundColor:{check:q,nullable:true,apply:r}},members:{__bR:null,_getDefaultInsets:function(){var A=this.getWidth();
return {top:A,right:A,bottom:A,left:A};
},_isInitialized:function(){return !!this.__bR;
},getMarkup:function(){if(this.__bR){return this.__bR;
}var B={position:d,top:0,left:0};
var C=this.getWidth();
{};
var E=qx.theme.manager.Color.getInstance();
B.border=C+f+this.getStyle()+h+E.resolve(this.getColor());
var D=this._generateBackgroundMarkup(B);
return this.__bR=D;
},resize:function(v,w,x){var z=this.getBackgroundImage()&&this.getBackgroundRepeat()==g;

if(z||qx.bom.client.Feature.CONTENT_BOX){var y=this.getWidth()*2;
w-=y;
x-=y;
if(w<0){w=0;
}
if(x<0){x=0;
}}v.style.width=w+p;
v.style.height=x+p;
},tint:function(s,t){var u=qx.theme.manager.Color.getInstance();

if(t==null){t=this.getBackgroundColor();
}s.style.backgroundColor=u.resolve(t)||k;
},_applyWidth:function(){{};
this._resetInsets();
},_applyStyle:function(){{};
}},destruct:function(){this.__bR=null;
}});
})();
(function(){var h="px",g="qx.ui.decoration.Background",f="",e="_applyStyle",d="Color",c="absolute";
qx.Class.define(g,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage],construct:function(l){arguments.callee.base.call(this);

if(l!=null){this.setBackgroundColor(l);
}},properties:{backgroundColor:{check:d,nullable:true,apply:e}},members:{__bS:null,_getDefaultInsets:function(){return {top:0,right:0,bottom:0,left:0};
},_isInitialized:function(){return !!this.__bS;
},getMarkup:function(){if(this.__bS){return this.__bS;
}var a={position:c,top:0,left:0};
var b=this._generateBackgroundMarkup(a);
return this.__bS=b;
},resize:function(i,j,k){i.style.width=j+h;
i.style.height=k+h;
},tint:function(m,n){var o=qx.theme.manager.Color.getInstance();

if(n==null){n=this.getBackgroundColor();
}m.style.backgroundColor=o.resolve(n)||f;
},_applyStyle:function(){{};
}},destruct:function(){this.__bS=null;
}});
})();
(function(){var o="_applyStyle",n="solid",m="Color",l="double",k="px ",j="dotted",i="_applyWidth",h="dashed",g="Number",f=" ",K="shorthand",J="px",I="widthTop",H="styleRight",G="styleLeft",F="widthLeft",E="widthBottom",D="styleTop",C="colorBottom",B="styleBottom",v="widthRight",w="colorLeft",t="colorRight",u="colorTop",r="scale",s="border-top",p="border-left",q="border-right",x="qx.ui.decoration.Single",y="",A="border-bottom",z="absolute";
qx.Class.define(x,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage],construct:function(Q,R,S){arguments.callee.base.call(this);
if(Q!=null){this.setWidth(Q);
}
if(R!=null){this.setStyle(R);
}
if(S!=null){this.setColor(S);
}},properties:{widthTop:{check:g,init:0,apply:i},widthRight:{check:g,init:0,apply:i},widthBottom:{check:g,init:0,apply:i},widthLeft:{check:g,init:0,apply:i},styleTop:{nullable:true,check:[n,j,h,l],init:n,apply:o},styleRight:{nullable:true,check:[n,j,h,l],init:n,apply:o},styleBottom:{nullable:true,check:[n,j,h,l],init:n,apply:o},styleLeft:{nullable:true,check:[n,j,h,l],init:n,apply:o},colorTop:{nullable:true,check:m,apply:o},colorRight:{nullable:true,check:m,apply:o},colorBottom:{nullable:true,check:m,apply:o},colorLeft:{nullable:true,check:m,apply:o},backgroundColor:{check:m,nullable:true,apply:o},left:{group:[F,G,w]},right:{group:[v,H,t]},top:{group:[I,D,u]},bottom:{group:[E,B,C]},width:{group:[I,v,E,F],mode:K},style:{group:[D,H,B,G],mode:K},color:{group:[u,t,C,w],mode:K}},members:{__bT:null,_getDefaultInsets:function(){return {top:this.getWidthTop(),right:this.getWidthRight(),bottom:this.getWidthBottom(),left:this.getWidthLeft()};
},_isInitialized:function(){return !!this.__bT;
},getMarkup:function(a){if(this.__bT){return this.__bT;
}var b=qx.theme.manager.Color.getInstance();
var c={};
var e=this.getWidthTop();

if(e>0){c[s]=e+k+this.getStyleTop()+f+b.resolve(this.getColorTop());
}var e=this.getWidthRight();

if(e>0){c[q]=e+k+this.getStyleRight()+f+b.resolve(this.getColorRight());
}var e=this.getWidthBottom();

if(e>0){c[A]=e+k+this.getStyleBottom()+f+b.resolve(this.getColorBottom());
}var e=this.getWidthLeft();

if(e>0){c[p]=e+k+this.getStyleLeft()+f+b.resolve(this.getColorLeft());
}{};
c.position=z;
c.top=0;
c.left=0;
var d=this._generateBackgroundMarkup(c);
return this.__bT=d;
},resize:function(L,M,N){var P=this.getBackgroundImage()&&this.getBackgroundRepeat()==r;

if(P||qx.bom.client.Feature.CONTENT_BOX){var O=this.getInsets();
M-=O.left+O.right;
N-=O.top+O.bottom;
if(M<0){M=0;
}
if(N<0){N=0;
}}L.style.width=M+J;
L.style.height=N+J;
},tint:function(T,U){var V=qx.theme.manager.Color.getInstance();

if(U==null){U=this.getBackgroundColor();
}T.style.backgroundColor=V.resolve(U)||y;
},_applyWidth:function(){{};
this._resetInsets();
},_applyStyle:function(){{};
}},destruct:function(){this.__bT=null;
}});
})();
(function(){var l="px",k="0px",j="-1px",i="no-repeat",h="scale-x",g="scale-y",f="-tr",e="-l",d='</div>',c="scale",z="qx.client",y="-br",x="-t",w="-tl",v="-r",u='<div style="position:absolute;top:0;left:0;overflow:hidden;font-size:0;line-height:0;">',t="_applyBaseImage",s="-b",r="String",q="",o="-bl",p="-c",m="mshtml",n="qx.ui.decoration.Grid";
qx.Class.define(n,{extend:qx.ui.decoration.Abstract,construct:function(A,B){arguments.callee.base.call(this);
if(A!=null){this.setBaseImage(A);
}
if(B!=null){this.setInsets(B);
}},properties:{baseImage:{check:r,nullable:true,apply:t}},members:{__bU:null,__bV:null,__bW:null,_getDefaultInsets:function(){return {top:0,right:0,bottom:0,left:0};
},_isInitialized:function(){return !!this.__bU;
},getMarkup:function(){if(this.__bU){return this.__bU;
}var D=qx.bom.element.Decoration;
var E=this.__bV;
var F=this.__bW;
var G=[];
G.push(u);
G.push(D.create(E.tl,i,{top:0,left:0}));
G.push(D.create(E.t,h,{top:0,left:F.left+l}));
G.push(D.create(E.tr,i,{top:0,right:0}));
G.push(D.create(E.bl,i,{bottom:0,left:0}));
G.push(D.create(E.b,h,{bottom:0,left:F.left+l}));
G.push(D.create(E.br,i,{bottom:0,right:0}));
G.push(D.create(E.l,g,{top:F.top+l,left:0}));
G.push(D.create(E.c,c,{top:F.top+l,left:F.left+l}));
G.push(D.create(E.r,g,{top:F.top+l,right:0}));
G.push(d);
return this.__bU=G.join(q);
},resize:function(H,I,J){var K=this.__bW;
var innerWidth=I-K.left-K.right;
var innerHeight=J-K.top-K.bottom;
if(innerWidth<0){innerWidth=0;
}
if(innerHeight<0){innerHeight=0;
}H.style.width=I+l;
H.style.height=J+l;
H.childNodes[1].style.width=innerWidth+l;
H.childNodes[4].style.width=innerWidth+l;
H.childNodes[7].style.width=innerWidth+l;
H.childNodes[6].style.height=innerHeight+l;
H.childNodes[7].style.height=innerHeight+l;
H.childNodes[8].style.height=innerHeight+l;

if(qx.core.Variant.isSet(z,m)){if(qx.bom.client.Engine.VERSION<7||(qx.bom.client.Feature.QUIRKS_MODE&&qx.bom.client.Engine.VERSION<8)){if(I%2==1){H.childNodes[2].style.marginRight=j;
H.childNodes[5].style.marginRight=j;
H.childNodes[8].style.marginRight=j;
}else{H.childNodes[2].style.marginRight=k;
H.childNodes[5].style.marginRight=k;
H.childNodes[8].style.marginRight=k;
}
if(J%2==1){H.childNodes[3].style.marginBottom=j;
H.childNodes[4].style.marginBottom=j;
H.childNodes[5].style.marginBottom=j;
}else{H.childNodes[3].style.marginBottom=k;
H.childNodes[4].style.marginBottom=k;
H.childNodes[5].style.marginBottom=k;
}}}},tint:function(a,b){},_applyBaseImage:function(L,M){{};

if(L){var Q=this._resolveImageUrl(L);
var R=/(.*)(\.[a-z]+)$/.exec(Q);
var P=R[1];
var O=R[2];
var N=this.__bV={tl:P+w+O,t:P+x+O,tr:P+f+O,bl:P+o+O,b:P+s+O,br:P+y+O,l:P+e+O,c:P+p+O,r:P+v+O};
this.__bW=this._computeEdgeSizes(N);
}},_resolveImageUrl:function(C){return qx.util.AliasManager.getInstance().resolve(C);
},_computeEdgeSizes:function(S){var T=qx.util.ResourceManager.getInstance();
return {top:T.getImageHeight(S.t),bottom:T.getImageHeight(S.b),left:T.getImageWidth(S.l),right:T.getImageWidth(S.r)};
}},destruct:function(){this.__bU=this.__bV=this.__bW=null;
}});
})();
(function(){var m="_applyStyle",l='"></div>',k="Color",j="1px",i='<div style="',h='border:',g="1px solid ",f="",e=";",d="px",y='</div>',x="qx.ui.decoration.Beveled",w='<div style="position:absolute;top:1px;left:1px;',v='border-bottom:',u='border-right:',t='border-left:',s='border-top:',r="Number",q='<div style="position:absolute;top:1px;left:0px;',p='position:absolute;top:0px;left:1px;',n='<div style="overflow:hidden;font-size:0;line-height:0;">',o="absolute";
qx.Class.define(x,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage],construct:function(P,Q,R){arguments.callee.base.call(this);
if(P!=null){this.setOuterColor(P);
}
if(Q!=null){this.setInnerColor(Q);
}
if(R!=null){this.setInnerOpacity(R);
}},properties:{innerColor:{check:k,nullable:true,apply:m},innerOpacity:{check:r,init:1,apply:m},outerColor:{check:k,nullable:true,apply:m},backgroundColor:{check:k,nullable:true,apply:m}},members:{__bX:null,_getDefaultInsets:function(){return {top:2,right:2,bottom:2,left:2};
},_isInitialized:function(){return !!this.__bX;
},_applyStyle:function(){{};
},getMarkup:function(){if(this.__bX){return this.__bX;
}var K=qx.theme.manager.Color.getInstance();
var L=[];
var O=g+K.resolve(this.getOuterColor())+e;
var N=g+K.resolve(this.getInnerColor())+e;
L.push(n);
L.push(i);
L.push(h,O);
L.push(qx.bom.element.Opacity.compile(0.35));
L.push(l);
L.push(q);
L.push(t,O);
L.push(u,O);
L.push(l);
L.push(i);
L.push(p);
L.push(s,O);
L.push(v,O);
L.push(l);
var M={position:o,top:j,left:j};
L.push(this._generateBackgroundMarkup(M));
L.push(w);
L.push(h,N);
L.push(qx.bom.element.Opacity.compile(this.getInnerOpacity()));
L.push(l);
L.push(y);
return this.__bX=L.join(f);
},resize:function(z,A,B){if(A<4){A=4;
}
if(B<4){B=4;
}if(qx.bom.client.Feature.CONTENT_BOX){var outerWidth=A-2;
var outerHeight=B-2;
var H=outerWidth;
var G=outerHeight;
var innerWidth=A-4;
var innerHeight=B-4;
}else{var outerWidth=A;
var outerHeight=B;
var H=A-2;
var G=B-2;
var innerWidth=H;
var innerHeight=G;
}var J=d;
var F=z.childNodes[0].style;
F.width=outerWidth+J;
F.height=outerHeight+J;
var E=z.childNodes[1].style;
E.width=outerWidth+J;
E.height=G+J;
var D=z.childNodes[2].style;
D.width=H+J;
D.height=outerHeight+J;
var C=z.childNodes[3].style;
C.width=H+J;
C.height=G+J;
var I=z.childNodes[4].style;
I.width=innerWidth+J;
I.height=innerHeight+J;
},tint:function(a,b){var c=qx.theme.manager.Color.getInstance();

if(b==null){b=this.getBackgroundColor();
}a.childNodes[3].style.backgroundColor=c.resolve(b)||f;
}},destruct:function(){this.__bX=null;
}});
})();
(function(){var m="solid",l="scale",k="border-main",j="white",i="repeat-x",h="border-separator",g="background-light",f="invalid",e="border-focused-invalid",d="border-disabled",bq="decoration/table/header-cell.png",bp="decoration/form/input.png",bo="#f8f8f8",bn="decoration/scrollbar/scrollbar-button-bg-horizontal.png",bm="#b6b6b6",bl="background-pane",bk="repeat-y",bj="decoration/form/input-focused.png",bi="#33508D",bh="decoration/selection.png",t="border-input",u="decoration/scrollbar/scrollbar-button-bg-vertical.png",r="decoration/tabview/tab-button-top-active.png",s="decoration/form/button-c.png",p="decoration/scrollbar/scrollbar-bg-vertical.png",q="decoration/form/button.png",n="decoration/form/button-checked.png",o="decoration/tabview/tab-button-left-inactive.png",B="decoration/groupbox/groupbox.png",C="#FAFAFA",M="decoration/pane/pane.png",J="decoration/menu/background.png",U="decoration/toolbar/toolbar-part.gif",P="decoration/tabview/tab-button-top-inactive.png",bd="decoration/menu/bar-background.png",ba="center",F="decoration/tabview/tab-button-bottom-active.png",bg="decoration/form/button-hovered.png",bf="decoration/form/tooltip-error-arrow.png",be="decoration/window/captionbar-inactive.png",E="qx/decoration/Modern",H="decoration/window/statusbar.png",I="border-focused",L="table-focus-indicator",N="#F2F2F2",Q="decoration/form/button-checked-c.png",W="decoration/scrollbar/scrollbar-bg-horizontal.png",bc="qx.theme.modern.Decoration",v="#f4f4f4",w="decoration/shadow/shadow-small.png",G="decoration/app-header.png",T="decoration/tabview/tabview-pane.png",S="decoration/form/tooltip-error.png",R="decoration/form/button-focused.png",Y="decoration/tabview/tab-button-bottom-inactive.png",X="decoration/form/button-disabled.png",O="decoration/tabview/tab-button-right-active.png",V="decoration/form/button-pressed.png",a="no-repeat",bb="decoration/window/captionbar-active.png",x="decoration/tabview/tab-button-left-active.png",y="background-splitpane",K="decoration/form/button-checked-focused.png",b="#C5C5C5",c="decoration/toolbar/toolbar-gradient.png",D="decoration/tabview/tab-button-right-inactive.png",z="#b8b8b8",A="decoration/shadow/shadow.png";
qx.Theme.define(bc,{aliases:{decoration:E},decorations:{"main":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:k}},"selected":{decorator:qx.ui.decoration.Background,style:{backgroundImage:bh,backgroundRepeat:l}},"selected-dragover":{decorator:qx.ui.decoration.Single,style:{backgroundImage:bh,backgroundRepeat:l,bottom:[2,m,bi]}},"dragover":{decorator:qx.ui.decoration.Single,style:{bottom:[2,m,bi]}},"pane":{decorator:qx.ui.decoration.Grid,style:{baseImage:M,insets:[0,2,3,0]}},"group":{decorator:qx.ui.decoration.Grid,style:{baseImage:B}},"border-invalid":{decorator:qx.ui.decoration.Beveled,style:{outerColor:f,innerColor:j,innerOpacity:0.5,backgroundImage:bp,backgroundRepeat:i,backgroundColor:g}},"separator-horizontal":{decorator:qx.ui.decoration.Single,style:{widthLeft:1,colorLeft:h}},"separator-vertical":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:h}},"tooltip-error":{decorator:qx.ui.decoration.Grid,style:{baseImage:S,insets:[2,5,5,2]}},"tooltip-error-arrow":{decorator:qx.ui.decoration.Background,style:{backgroundImage:bf,backgroundPositionY:ba,backgroundRepeat:a,insets:[0,0,0,10]}},"shadow-window":{decorator:qx.ui.decoration.Grid,style:{baseImage:A,insets:[4,8,8,4]}},"shadow-popup":{decorator:qx.ui.decoration.Grid,style:{baseImage:w,insets:[0,3,3,0]}},"scrollbar-horizontal":{decorator:qx.ui.decoration.Background,style:{backgroundImage:W,backgroundRepeat:i}},"scrollbar-vertical":{decorator:qx.ui.decoration.Background,style:{backgroundImage:p,backgroundRepeat:bk}},"scrollbar-slider-horizontal":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:bn,backgroundRepeat:l,outerColor:k,innerColor:j,innerOpacity:0.5}},"scrollbar-slider-horizontal-disabled":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:bn,backgroundRepeat:l,outerColor:d,innerColor:j,innerOpacity:0.3}},"scrollbar-slider-vertical":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:u,backgroundRepeat:l,outerColor:k,innerColor:j,innerOpacity:0.5}},"scrollbar-slider-vertical-disabled":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:u,backgroundRepeat:l,outerColor:d,innerColor:j,innerOpacity:0.3}},"button":{decorator:qx.ui.decoration.Grid,style:{baseImage:q,insets:2}},"button-disabled":{decorator:qx.ui.decoration.Grid,style:{baseImage:X,insets:2}},"button-focused":{decorator:qx.ui.decoration.Grid,style:{baseImage:R,insets:2}},"button-hovered":{decorator:qx.ui.decoration.Grid,style:{baseImage:bg,insets:2}},"button-pressed":{decorator:qx.ui.decoration.Grid,style:{baseImage:V,insets:2}},"button-checked":{decorator:qx.ui.decoration.Grid,style:{baseImage:n,insets:2}},"button-checked-focused":{decorator:qx.ui.decoration.Grid,style:{baseImage:K,insets:2}},"button-invalid-shadow":{decorator:qx.ui.decoration.Beveled,style:{outerColor:f,innerColor:e,insets:[1]}},"checkbox-invalid-shadow":{decorator:qx.ui.decoration.Beveled,style:{outerColor:f,innerColor:e,insets:[0]}},"input":{decorator:qx.ui.decoration.Beveled,style:{outerColor:t,innerColor:j,innerOpacity:0.5,backgroundImage:bp,backgroundRepeat:i,backgroundColor:g}},"input-focused":{decorator:qx.ui.decoration.Beveled,style:{outerColor:t,innerColor:I,backgroundImage:bj,backgroundRepeat:i,backgroundColor:g}},"input-focused-invalid":{decorator:qx.ui.decoration.Beveled,style:{outerColor:f,innerColor:e,backgroundImage:bj,backgroundRepeat:i,backgroundColor:g,insets:[2]}},"input-disabled":{decorator:qx.ui.decoration.Beveled,style:{outerColor:d,innerColor:j,innerOpacity:0.5,backgroundImage:bp,backgroundRepeat:i,backgroundColor:g}},"toolbar":{decorator:qx.ui.decoration.Background,style:{backgroundImage:c,backgroundRepeat:l}},"toolbar-button-hovered":{decorator:qx.ui.decoration.Beveled,style:{outerColor:bm,innerColor:bo,backgroundImage:s,backgroundRepeat:l}},"toolbar-button-checked":{decorator:qx.ui.decoration.Beveled,style:{outerColor:bm,innerColor:bo,backgroundImage:Q,backgroundRepeat:l}},"toolbar-separator":{decorator:qx.ui.decoration.Single,style:{widthLeft:1,widthRight:1,colorLeft:z,colorRight:v,styleLeft:m,styleRight:m}},"toolbar-part":{decorator:qx.ui.decoration.Background,style:{backgroundImage:U,backgroundRepeat:bk}},"tabview-pane":{decorator:qx.ui.decoration.Grid,style:{baseImage:T,insets:[4,6,7,4]}},"tabview-page-button-top-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:r}},"tabview-page-button-top-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:P}},"tabview-page-button-bottom-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:F}},"tabview-page-button-bottom-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:Y}},"tabview-page-button-left-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:x}},"tabview-page-button-left-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:o}},"tabview-page-button-right-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:O}},"tabview-page-button-right-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:D}},"splitpane":{decorator:qx.ui.decoration.Uniform,style:{backgroundColor:bl,width:3,color:y,style:m}},"window":{decorator:qx.ui.decoration.Single,style:{backgroundColor:bl,width:1,color:k,widthTop:0}},"window-captionbar-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:bb}},"window-captionbar-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:be}},"window-statusbar":{decorator:qx.ui.decoration.Grid,style:{baseImage:H}},"table":{decorator:qx.ui.decoration.Single,style:{width:1,color:k,style:m}},"table-statusbar":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:k,style:m}},"table-scroller-header":{decorator:qx.ui.decoration.Single,style:{backgroundImage:bq,backgroundRepeat:l,widthBottom:1,colorBottom:k,style:m}},"table-header-cell":{decorator:qx.ui.decoration.Single,style:{widthRight:1,colorRight:h,styleRight:m}},"table-header-cell-hovered":{decorator:qx.ui.decoration.Single,style:{widthRight:1,colorRight:h,styleRight:m,widthBottom:1,colorBottom:j,styleBottom:m}},"table-column-button":{decorator:qx.ui.decoration.Single,style:{backgroundImage:bq,backgroundRepeat:l,widthBottom:1,colorBottom:k,style:m}},"table-scroller-focus-indicator":{decorator:qx.ui.decoration.Single,style:{width:2,color:L,style:m}},"progressive-table-header":{decorator:qx.ui.decoration.Single,style:{width:1,color:k,style:m}},"progressive-table-header-cell":{decorator:qx.ui.decoration.Single,style:{backgroundImage:bq,backgroundRepeat:l,widthRight:1,colorRight:N,style:m}},"menu":{decorator:qx.ui.decoration.Single,style:{backgroundImage:J,backgroundRepeat:l,width:1,color:k,style:m}},"menu-separator":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:b,widthBottom:1,colorBottom:C}},"menubar":{decorator:qx.ui.decoration.Single,style:{backgroundImage:bd,backgroundRepeat:l,width:1,color:h,style:m}},"app-header":{decorator:qx.ui.decoration.Background,style:{backgroundImage:G,backgroundRepeat:l}}}});
})();
(function(){var k="solid",j="#ff0000",i="#000000",h="#FF0000",g="dashed",f="#FF6EB4",e="resource/images/grfind/paper.jpg",d="#35DB35",c="grfind.theme.Decoration",b="green",a="#F0F2FF";
qx.Theme.define(c,{extend:qx.theme.modern.Decoration,decorations:{"grfind-background":{decorator:qx.ui.decoration.Background,style:{backgroundImage:e}},"im-box":{decorator:qx.ui.decoration.Single,style:{color:j,style:k,width:[0,0,1,0]}},"atom-selected":{decorator:qx.ui.decoration.Uniform,style:{width:2,color:j,style:k}},"pink-box":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:f,style:k}},"red-box":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:h,style:k}},"red-box-2":{decorator:qx.ui.decoration.Uniform,style:{width:2,color:h,style:k}},"online":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:d,style:k}},"offline":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:j,style:k}},"window-icon":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:a}},"frame-black":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:i}},"frame-dashed":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:j,style:g}},"upload-button":{decorator:qx.ui.decoration.Uniform,style:{width:3,color:i,backgroundImage:null}},"plain-white":{decorator:qx.ui.decoration.Background,style:{backgroundColor:b}}}});
})();
(function(){var m="iPod",l="Win32",k="",j="Win64",i="Linux",h="BSD",g="Macintosh",f="iPhone",e="Windows",d="qx.bom.client.Platform",a="X11",c="MacIntel",b="MacPPC";
qx.Bootstrap.define(d,{statics:{NAME:"",WIN:false,MAC:false,UNIX:false,UNKNOWN_PLATFORM:false,__bY:function(){var o=navigator.platform;
if(o==null||o===k){o=navigator.userAgent;
}
if(o.indexOf(e)!=-1||o.indexOf(l)!=-1||o.indexOf(j)!=-1){this.WIN=true;
this.NAME="win";
}else if(o.indexOf(g)!=-1||o.indexOf(b)!=-1||o.indexOf(c)!=-1||o.indexOf(m)!=-1||o.indexOf(f)!=-1){this.MAC=true;
this.NAME="mac";
}else if(o.indexOf(a)!=-1||o.indexOf(i)!=-1||o.indexOf(h)!=-1){this.UNIX=true;
this.NAME="unix";
}else{this.UNKNOWN_PLATFORM=true;
this.WIN=true;
this.NAME="win";
}}},defer:function(n){n.__bY();
}});
})();
(function(){var k="win98",j="osx2",i="osx0",h="osx4",g="win95",f="win2000",e="osx1",d="osx5",c="osx3",b="Windows NT 5.01",I=")",H="winxp",G="freebsd",F="sunos",E="SV1",D="|",C="nintendods",B="winnt4",A="wince",z="winme",r="os9",s="\.",p="osx",q="linux",n="netbsd",o="winvista",l="openbsd",m="(",t="win2003",u="symbian",w="win7",v="g",y="qx.bom.client.System",x=" Mobile/";
qx.Bootstrap.define(y,{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,__ca:{"Windows NT 6.1":w,"Windows NT 6.0":o,"Windows NT 5.2":t,"Windows NT 5.1":H,"Windows NT 5.0":f,"Windows 2000":f,"Windows NT 4.0":B,"Win 9x 4.90":z,"Windows CE":A,"Windows 98":k,"Win98":k,"Windows 95":g,"Win95":g,"Linux":q,"FreeBSD":G,"NetBSD":n,"OpenBSD":l,"SunOS":F,"Symbian System":u,"Nitro":C,"PSP":"sonypsp","Mac OS X 10_5":d,"Mac OS X 10.5":d,"Mac OS X 10_4":h,"Mac OS X 10.4":h,"Mac OS X 10_3":c,"Mac OS X 10.3":c,"Mac OS X 10_2":j,"Mac OS X 10.2":j,"Mac OS X 10_1":e,"Mac OS X 10.1":e,"Mac OS X 10_0":i,"Mac OS X 10.0":i,"Mac OS X":p,"Mac OS 9":r},__cb:function(){var L=navigator.userAgent;
var K=[];

for(var J in this.__ca){K.push(J);
}var M=new RegExp(m+K.join(D).replace(/\./g,s)+I,v);

if(!M.test(L)){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(x).test(navigator.userAgent)){this.IPHONE=true;
this.NAME="iphone";
}else{this.NAME=this.__ca[RegExp.$1];
this[this.NAME.toUpperCase()]=true;

if(qx.bom.client.Platform.WIN){if(L.indexOf(b)!==-1){this.SP1=true;
}else if(qx.bom.client.Engine.MSHTML&&L.indexOf(E)!==-1){this.SP2=true;
}}}}},defer:function(a){a.__cb();
}});
})();
(function(){var n="Liberation Sans",m="Arial",l="Lucida Grande",k="sans-serif",j="Tahoma",i="Candara",h="Segoe UI",g="Consolas",f="Courier New",e="Monaco",b="monospace",d="Lucida Console",c="qx.theme.modern.Font",a="DejaVu Sans Mono";
qx.Theme.define(c,{fonts:{"default":{size:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?12:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[l]:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?[h,i]:[j,n,m,k]},"bold":{size:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?12:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[l]:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?[h,i]:[j,n,m,k],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?[l]:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?[h,i]:[j,n,m,k]},"monospace":{size:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[d,e]:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?[g]:[g,a,f,b]}}});
})();
(function(){var g="Liberation Sans",f="Lucida Grande",e="grfind.theme.Font",d="Tahoma",c="Candara",b="Segoe UI",a="Arial";
qx.Theme.define(e,{extend:qx.theme.modern.Font,fonts:{"large":{size:qx.bom.client.System.WINVISTA?18:17,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[f]:qx.bom.client.System.WINVISTA?[b,c]:[d,g,a]}}});
})();
(function(){var c="Oxygen",b="qx.theme.icon.Oxygen",a="qx/icon/Oxygen";
qx.Theme.define(b,{title:c,aliases:{"icon":a},icons:{}});
})();
(function(){var es="button-frame",er="atom",eq="widget",ep="main",eo="button",en="text-selected",em="image",el="bold",ek="middle",ej="background-light",cU="text-disabled",cT="groupbox",cS="decoration/arrows/down.png",cR="cell",cQ="selected",cP="border-invalid",cO="input",cN="input-disabled",cM="menu-button",cL="input-focused-invalid",ez="toolbar-button",eA="spinner",ex="input-focused",ey="popup",ev="tooltip",ew="list",et="tree-item",eu="treevirtual-contract",eB="scrollbar",eC="datechooser/nav-button",dR="text-hovered",dQ="center",dT="treevirtual-expand",dS="textfield",dV="label",dU="decoration/arrows/right.png",dX="background-application",dW="radiobutton",dP="white",dO="invalid",Q="combobox",R="right-top",S=".png",T="checkbox",U="text-title",V="qx/static/blank.gif",W="scrollbar/button",X="right",Y="combobox/button",ba="icon/16/places/folder.png",eQ="text-label",eP="decoration/tree/closed.png",eO="scrollbar-slider-horizontal",eN="decoration/arrows/left.png",eU="button-focused",eT="text-light",eS="menu-slidebar-button",eR="text-input",eW="slidebar/button-forward",eV="background-splitpane",bS="decoration/tree/open.png",bT="default",bQ="decoration/arrows/down-small.png",bR="datechooser",bW="slidebar/button-backward",bX="selectbox",bU="treevirtual-folder",bV="shadow-popup",bO="icon/16/mimetypes/office-document.png",bP="background-medium",bu=".gif",bt="table",bw="decoration/arrows/up.png",bv="decoration/form/",bq="",bp="-invalid",bs="icon/16/places/folder-open.png",br="button-checked",bo="decoration/window/maximize-active-hovered.png",bn="radiobutton-hovered",ce="decoration/cursors/",cf="slidebar",cg="tooltip-error-arrow",ch="table-scroller-focus-indicator",ca="move-frame",cb="nodrop",cc="decoration/table/boolean-true.png",cd="table-header-cell",ci="menu",cj="app-header",bH="row-layer",bG="text-inactive",bF="move",bE="radiobutton-checked-focused",bD="decoration/window/restore-active-hovered.png",bC="shadow-window",bB="table-column-button",bA="right.png",bL="tabview-page-button-bottom-inactive",bK="tooltip-error",ck="window-statusbar",cl="button-hovered",cm="decoration/scrollbar/scrollbar-",cn="background-tip",co="scrollbar-slider-horizontal-disabled",cp="table-scroller-header",cq="radiobutton-disabled",cr="button-pressed",cs="table-pane",ct="decoration/window/close-active.png",dd="native",dc="checkbox-hovered",db="button-invalid-shadow",da="checkbox-checked",dh="decoration/window/minimize-active-hovered.png",dg="menubar",df="icon/16/actions/dialog-cancel.png",de="tabview-page-button-top-inactive",dl="tabview-page-button-left-inactive",dk="menu-slidebar",dJ="toolbar-button-checked",dK="decoration/tree/open-selected.png",dH="radiobutton-checked",dI="decoration/window/minimize-inactive.png",dF="icon/16/apps/office-calendar.png",dG="group",dD="tabview-page-button-right-inactive",dE="decoration/window/minimize-active.png",dL="decoration/window/restore-inactive.png",dM="checkbox-checked-focused",ec="splitpane",eb="combobox/textfield",ee="button-preselected-focused",ed="decoration/window/close-active-hovered.png",eg="qx/icon/Tango/16/actions/window-close.png",ef="checkbox-pressed",ei="button-disabled",eh="selected-dragover",ea="border-separator",dY="decoration/window/maximize-inactive.png",eJ="dragover",eK="scrollarea",eL="scrollbar-vertical",eM="decoration/menu/checkbox-invert.gif",eF="decoration/toolbar/toolbar-handle-knob.gif",eG="icon/22/mimetypes/office-document.png",eH="button-preselected",eI="button-checked-focused",eD="up.png",eE="best-fit",P="decoration/tree/closed-selected.png",O="qx.theme.modern.Appearance",N="text-active",M="checkbox-disabled",L="toolbar-button-hovered",K="progressive-table-header",J="decoration/table/select-column-order.png",I="decoration/menu/radiobutton.gif",H="decoration/arrows/forward.png",G="decoration/table/descending",bd="window-captionbar-active",be="checkbox-checked-hovered",bb="scrollbar-slider-vertical",bc="toolbar",bh="alias",bi="decoration/window/restore-active.png",bf="decoration/table/boolean-false.png",bg="checkbox-checked-disabled",bk="icon/32/mimetypes/office-document.png",bl="radiobutton-checked-disabled",dq="tabview-pane",dj="decoration/arrows/rewind.png",dx="checkbox-focused",dt="top",cX="#EEE",cV="icon/16/actions/dialog-ok.png",by="radiobutton-checked-hovered",cY="table-header-cell-hovered",bJ="window",bI="text-gray",cD="decoration/menu/radiobutton-invert.gif",cE="text-placeholder",cF="slider",cG="keep-align",cH="down.png",cI="tabview-page-button-top-active",cJ="icon/32/places/folder-open.png",cK="icon/22/places/folder.png",cA="decoration/window/maximize-active.png",cB="checkbox-checked-pressed",cW="decoration/window/close-inactive.png",dw="tabview-page-button-left-active",dv="toolbar-part",du="decoration/splitpane/knob-vertical.png",dB="icon/22/places/folder-open.png",dA="radiobutton-checked-pressed",dz="table-statusbar",dy="radiobutton-pressed",ds="window-captionbar-inactive",dr="copy",bj="radiobutton-focused",bN="decoration/arrows/down-invert.png",bM="decoration/menu/checkbox.gif",di="decoration/splitpane/knob-horizontal.png",bY="decoration/table/ascending",dp="icon/32/places/folder.png",dn="toolbar-separator",dm="tabview-page-button-bottom-active",bx="decoration/arrows/up-small.png",dC="decoration/arrows/up-invert.png",bm="small",bz="tabview-page-button-right-active",cu="-disabled",cv="scrollbar-horizontal",cw="progressive-table-header-cell",cx="menu-separator",cy="pane",cz="decoration/arrows/right-invert.png",dN="left.png",cC="icon/16/actions/view-refresh.png";
qx.Theme.define(O,{appearances:{"widget":{},"root":{style:function(gQ){return {backgroundColor:dX,textColor:eQ,font:bT};
}},"label":{style:function(gp){return {textColor:gp.disabled?cU:undefined};
}},"move-frame":{style:function(hi){return {decorator:ep};
}},"resize-frame":ca,"dragdrop-cursor":{style:function(fx){var fy=cb;

if(fx.copy){fy=dr;
}else if(fx.move){fy=bF;
}else if(fx.alias){fy=bh;
}return {source:ce+fy+bu,position:R,offset:[2,16,2,6]};
}},"image":{style:function(gJ){return {opacity:!gJ.replacement&&gJ.disabled?0.3:1};
}},"atom":{},"atom/label":dV,"atom/icon":em,"popup":{style:function(z){return {decorator:ep,backgroundColor:ej,shadow:bV};
}},"button-frame":{alias:er,style:function(gR){var gT,gS;

if(gR.checked&&gR.focused&&!gR.inner){gT=eI;
gS=undefined;
}else if(gR.disabled){gT=ei;
gS=undefined;
}else if(gR.pressed){gT=cr;
gS=dR;
}else if(gR.checked){gT=br;
gS=undefined;
}else if(gR.hovered){gT=cl;
gS=dR;
}else if(gR.preselected&&gR.focused&&!gR.inner){gT=ee;
gS=dR;
}else if(gR.preselected){gT=eH;
gS=dR;
}else if(gR.focused&&!gR.inner){gT=eU;
gS=undefined;
}else{gT=eo;
gS=undefined;
}return {decorator:gT,textColor:gS,shadow:gR.invalid&&!gR.disabled?db:undefined};
}},"button-frame/image":{style:function(k){return {opacity:!k.replacement&&k.disabled?0.5:1};
}},"button":{alias:es,include:es,style:function(hJ){return {padding:[2,8],center:true};
}},"hover-button":{alias:er,include:er,style:function(hI){return {decorator:hI.hovered?cQ:undefined,textColor:hI.hovered?en:undefined};
}},"splitbutton":{},"splitbutton/button":eo,"splitbutton/arrow":{alias:eo,include:eo,style:function(hd){return {icon:cS,padding:2,marginLeft:1};
}},"checkbox":{alias:er,style:function(r){var t;

if(r.checked&&r.focused){t=dM;
}else if(r.checked&&r.disabled){t=bg;
}else if(r.checked&&r.pressed){t=cB;
}else if(r.checked&&r.hovered){t=be;
}else if(r.checked){t=da;
}else if(r.disabled){t=M;
}else if(r.focused){t=dx;
}else if(r.pressed){t=ef;
}else if(r.hovered){t=dc;
}else{t=T;
}var s=r.invalid&&!r.disabled?bp:bq;
return {icon:bv+t+s+S,gap:6};
}},"radiobutton":{alias:er,style:function(fH){var fJ;

if(fH.checked&&fH.focused){fJ=bE;
}else if(fH.checked&&fH.disabled){fJ=bl;
}else if(fH.checked&&fH.pressed){fJ=dA;
}else if(fH.checked&&fH.hovered){fJ=by;
}else if(fH.checked){fJ=dH;
}else if(fH.disabled){fJ=cq;
}else if(fH.focused){fJ=bj;
}else if(fH.pressed){fJ=dy;
}else if(fH.hovered){fJ=bn;
}else{fJ=dW;
}var fI=fH.invalid&&!fH.disabled?bp:bq;
return {icon:bv+fJ+fI+S,gap:6};
}},"textfield":{style:function(fR){var fW;
var fU=!!fR.focused;
var fV=!!fR.invalid;
var fS=!!fR.disabled;

if(fU&&fV&&!fS){fW=cL;
}else if(fU&&!fV&&!fS){fW=ex;
}else if(fS){fW=cN;
}else if(!fU&&fV&&!fS){fW=cP;
}else{fW=cO;
}var fT;

if(fR.disabled){fT=cU;
}else if(fR.showingPlaceholder){fT=cE;
}else{fT=eR;
}return {decorator:fW,padding:[2,4,1],textColor:fT};
}},"textarea":{include:dS,style:function(hg){return {padding:4};
}},"spinner":{style:function(gk){var go;
var gm=!!gk.focused;
var gn=!!gk.invalid;
var gl=!!gk.disabled;

if(gm&&gn&&!gl){go=cL;
}else if(gm&&!gn&&!gl){go=ex;
}else if(gl){go=cN;
}else if(!gm&&gn&&!gl){go=cP;
}else{go=cO;
}return {decorator:go};
}},"spinner/textfield":{style:function(hH){return {marginRight:2,padding:[2,4,1],textColor:hH.disabled?cU:eR};
}},"spinner/upbutton":{alias:es,include:es,style:function(p){return {icon:bx,padding:p.pressed?[2,2,0,4]:[1,3,1,3],shadow:undefined};
}},"spinner/downbutton":{alias:es,include:es,style:function(fk){return {icon:bQ,padding:fk.pressed?[2,2,0,4]:[1,3,1,3],shadow:undefined};
}},"datefield":Q,"datefield/button":{alias:Y,include:Y,style:function(ia){return {icon:dF,padding:[0,3],decorator:undefined};
}},"datefield/textfield":eb,"datefield/list":{alias:bR,include:bR,style:function(ie){return {decorator:undefined};
}},"groupbox":{style:function(gt){return {legendPosition:dt};
}},"groupbox/legend":{alias:er,style:function(fz){return {padding:[1,0,1,4],textColor:fz.invalid?dO:U,font:el};
}},"groupbox/frame":{style:function(fq){return {padding:12,decorator:dG};
}},"check-groupbox":cT,"check-groupbox/legend":{alias:T,include:T,style:function(hs){return {padding:[1,0,1,4],textColor:hs.invalid?dO:U,font:el};
}},"radio-groupbox":cT,"radio-groupbox/legend":{alias:dW,include:dW,style:function(gh){return {padding:[1,0,1,4],textColor:gh.invalid?dO:U,font:el};
}},"scrollarea":{style:function(hM){return {minWidth:50,minHeight:50};
}},"scrollarea/corner":{style:function(hv){return {backgroundColor:dX};
}},"scrollarea/pane":eq,"scrollarea/scrollbar-x":eB,"scrollarea/scrollbar-y":eB,"scrollbar":{style:function(hW){if(hW[dd]){return {};
}return {width:hW.horizontal?undefined:16,height:hW.horizontal?16:undefined,decorator:hW.horizontal?cv:eL,padding:1};
}},"scrollbar/slider":{alias:cF,style:function(c){return {padding:c.horizontal?[0,1,0,1]:[1,0,1,0]};
}},"scrollbar/slider/knob":{include:es,style:function(gK){var gL=gK.horizontal?eO:bb;

if(gK.disabled){gL+=cu;
}return {decorator:gL,minHeight:gK.horizontal?undefined:9,minWidth:gK.horizontal?9:undefined};
}},"scrollbar/button":{alias:es,include:es,style:function(ha){var hb=cm;

if(ha.left){hb+=dN;
}else if(ha.right){hb+=bA;
}else if(ha.up){hb+=eD;
}else{hb+=cH;
}
if(ha.left||ha.right){return {padding:[0,0,0,ha.left?3:4],icon:hb,width:15,height:14};
}else{return {padding:[0,0,0,2],icon:hb,width:14,height:15};
}}},"scrollbar/button-begin":W,"scrollbar/button-end":W,"slider":{style:function(ga){var ge;
var gc=!!ga.focused;
var gd=!!ga.invalid;
var gb=!!ga.disabled;

if(gc&&gd&&!gb){ge=cL;
}else if(gc&&!gd&&!gb){ge=ex;
}else if(gb){ge=cN;
}else if(!gc&&gd&&!gb){ge=cP;
}else{ge=cO;
}return {decorator:ge};
}},"slider/knob":{include:es,style:function(gB){return {decorator:gB.disabled?co:eO,shadow:undefined,height:14,width:14};
}},"list":{alias:eK,style:function(gu){var gy;
var gw=!!gu.focused;
var gx=!!gu.invalid;
var gv=!!gu.disabled;

if(gw&&gx&&!gv){gy=cL;
}else if(gw&&!gx&&!gv){gy=ex;
}else if(gv){gy=cN;
}else if(!gw&&gx&&!gv){gy=cP;
}else{gy=cO;
}return {backgroundColor:ej,decorator:gy};
}},"list/pane":eq,"listitem":{alias:er,style:function(hN){var hO;

if(hN.dragover){hO=hN.selected?eh:eJ;
}else{hO=hN.selected?cQ:undefined;
}return {padding:hN.dragover?[4,4,2,4]:4,textColor:hN.selected?en:undefined,decorator:hO};
}},"slidebar":{},"slidebar/scrollpane":{},"slidebar/content":{},"slidebar/button-forward":{alias:es,include:es,style:function(gf){return {padding:5,center:true,icon:gf.vertical?cS:dU};
}},"slidebar/button-backward":{alias:es,include:es,style:function(fr){return {padding:5,center:true,icon:fr.vertical?bw:eN};
}},"tabview":{style:function(gq){return {contentPadding:16};
}},"tabview/bar":{alias:cf,style:function(hq){var hr={marginBottom:hq.barTop?-1:0,marginTop:hq.barBottom?-4:0,marginLeft:hq.barRight?-3:0,marginRight:hq.barLeft?-1:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0};

if(hq.barTop||hq.barBottom){hr.paddingLeft=5;
hr.paddingRight=7;
}else{hr.paddingTop=5;
hr.paddingBottom=7;
}return hr;
}},"tabview/bar/button-forward":{include:eW,alias:eW,style:function(id){if(id.barTop||id.barBottom){return {marginTop:2,marginBottom:2};
}else{return {marginLeft:2,marginRight:2};
}}},"tabview/bar/button-backward":{include:bW,alias:bW,style:function(gs){if(gs.barTop||gs.barBottom){return {marginTop:2,marginBottom:2};
}else{return {marginLeft:2,marginRight:2};
}}},"tabview/bar/scrollpane":{},"tabview/pane":{style:function(i){return {decorator:dq,minHeight:100,marginBottom:i.barBottom?-1:0,marginTop:i.barTop?-1:0,marginLeft:i.barLeft?-1:0,marginRight:i.barRight?-1:0};
}},"tabview-page":eq,"tabview-page/button":{alias:er,style:function(fb){var fh,fd=0;
var fg=0,fc=0,fe=0,ff=0;

if(fb.checked){if(fb.barTop){fh=cI;
fd=[6,14];
fe=fb.firstTab?0:-5;
ff=fb.lastTab?0:-5;
}else if(fb.barBottom){fh=dm;
fd=[6,14];
fe=fb.firstTab?0:-5;
ff=fb.lastTab?0:-5;
}else if(fb.barRight){fh=bz;
fd=[6,13];
fg=fb.firstTab?0:-5;
fc=fb.lastTab?0:-5;
}else{fh=dw;
fd=[6,13];
fg=fb.firstTab?0:-5;
fc=fb.lastTab?0:-5;
}}else{if(fb.barTop){fh=de;
fd=[4,10];
fg=4;
fe=fb.firstTab?5:1;
ff=1;
}else if(fb.barBottom){fh=bL;
fd=[4,10];
fc=4;
fe=fb.firstTab?5:1;
ff=1;
}else if(fb.barRight){fh=dD;
fd=[4,10];
ff=5;
fg=fb.firstTab?5:1;
fc=1;
fe=1;
}else{fh=dl;
fd=[4,10];
fe=5;
fg=fb.firstTab?5:1;
fc=1;
ff=1;
}}return {zIndex:fb.checked?10:5,decorator:fh,padding:fd,marginTop:fg,marginBottom:fc,marginLeft:fe,marginRight:ff,textColor:fb.checked?N:bG};
}},"tabview-page/button/close-button":{alias:er,style:function(gA){return {icon:eg};
}},"toolbar":{style:function(d){return {decorator:bc,spacing:2};
}},"toolbar/part":{style:function(hL){return {decorator:dv,spacing:2};
}},"toolbar/part/container":{style:function(gH){return {paddingLeft:2,paddingRight:2};
}},"toolbar/part/handle":{style:function(fj){return {source:eF,marginLeft:3,marginRight:3};
}},"toolbar-button":{alias:er,style:function(hh){return {marginTop:2,marginBottom:2,padding:(hh.pressed||hh.checked||hh.hovered)&&!hh.disabled||(hh.disabled&&hh.checked)?3:5,decorator:hh.pressed||(hh.checked&&!hh.hovered)||(hh.checked&&hh.disabled)?dJ:hh.hovered&&!hh.disabled?L:undefined};
}},"toolbar-menubutton":{alias:ez,include:ez,style:function(D){return {showArrow:true};
}},"toolbar-menubutton/arrow":{alias:em,include:em,style:function(b){return {source:bQ};
}},"toolbar-splitbutton":{style:function(gW){return {marginTop:2,marginBottom:2};
}},"toolbar-splitbutton/button":{alias:ez,include:ez,style:function(gD){return {icon:cS,marginTop:undefined,marginBottom:undefined};
}},"toolbar-splitbutton/arrow":{alias:ez,include:ez,style:function(fA){return {padding:fA.pressed||fA.checked?1:fA.hovered?1:3,icon:cS,marginTop:undefined,marginBottom:undefined};
}},"toolbar-separator":{style:function(fG){return {decorator:dn,margin:7};
}},"tree":ew,"tree-item":{style:function(gj){return {padding:[2,6],textColor:gj.selected?en:undefined,decorator:gj.selected?cQ:undefined};
}},"tree-item/icon":{include:em,style:function(hf){return {paddingRight:5};
}},"tree-item/label":dV,"tree-item/open":{include:em,style:function(fu){var fv;

if(fu.selected&&fu.opened){fv=dK;
}else if(fu.selected&&!fu.opened){fv=P;
}else if(fu.opened){fv=bS;
}else{fv=eP;
}return {padding:[0,5,0,2],source:fv};
}},"tree-folder":{include:et,alias:et,style:function(fX){var fY;

if(fX.small){fY=fX.opened?bs:ba;
}else if(fX.large){fY=fX.opened?cJ:dp;
}else{fY=fX.opened?dB:cK;
}return {icon:fY};
}},"tree-file":{include:et,alias:et,style:function(he){return {icon:he.small?bO:he.large?bk:eG};
}},"treevirtual":bt,"treevirtual-folder":{style:function(hj){return {icon:hj.opened?bs:ba};
}},"treevirtual-file":{include:bU,alias:bU,style:function(fa){return {icon:bO};
}},"treevirtual-line":{style:function(ic){return {icon:V};
}},"treevirtual-contract":{style:function(E){return {icon:bS,paddingLeft:5,paddingTop:2};
}},"treevirtual-expand":{style:function(f){return {icon:eP,paddingLeft:5,paddingTop:2};
}},"treevirtual-only-contract":eu,"treevirtual-only-expand":dT,"treevirtual-start-contract":eu,"treevirtual-start-expand":dT,"treevirtual-end-contract":eu,"treevirtual-end-expand":dT,"treevirtual-cross-contract":eu,"treevirtual-cross-expand":dT,"treevirtual-end":{style:function(gg){return {icon:V};
}},"treevirtual-cross":{style:function(fi){return {icon:V};
}},"tooltip":{include:ey,style:function(fQ){return {backgroundColor:cn,padding:[1,3,2,3],offset:[15,5,5,5]};
}},"tooltip/atom":er,"tooltip-error":{include:ev,style:function(fK){return {textColor:en,placeMethod:eq,offset:[0,0,0,14],marginTop:-2,position:R,showTimeout:100,hideTimeout:10000,decorator:bK,shadow:cg,font:el};
}},"tooltip-error/atom":er,"window":{style:function(hD){return {shadow:bC,contentPadding:[10,10,10,10]};
}},"window/pane":{style:function(hY){return {decorator:bJ};
}},"window/captionbar":{style:function(hF){return {decorator:hF.active?bd:ds,textColor:hF.active?dP:bI,minHeight:26,paddingRight:2};
}},"window/icon":{style:function(fn){return {margin:[5,0,3,6]};
}},"window/title":{style:function(fp){return {alignY:ek,font:el,marginLeft:6,marginRight:12};
}},"window/minimize-button":{alias:er,style:function(A){return {icon:A.active?A.hovered?dh:dE:dI,margin:[4,8,2,0]};
}},"window/restore-button":{alias:er,style:function(gC){return {icon:gC.active?gC.hovered?bD:bi:dL,margin:[5,8,2,0]};
}},"window/maximize-button":{alias:er,style:function(ig){return {icon:ig.active?ig.hovered?bo:cA:dY,margin:[4,8,2,0]};
}},"window/close-button":{alias:er,style:function(gX){return {icon:gX.active?gX.hovered?ed:ct:cW,margin:[4,8,2,0]};
}},"window/statusbar":{style:function(hV){return {padding:[2,6],decorator:ck,minHeight:18};
}},"window/statusbar-text":{style:function(hK){return {font:bm};
}},"iframe":{style:function(hw){return {decorator:ep};
}},"resizer":{style:function(gV){return {decorator:cy};
}},"splitpane":{style:function(fO){return {decorator:ec};
}},"splitpane/splitter":{style:function(hz){return {width:hz.horizontal?3:undefined,height:hz.vertical?3:undefined,backgroundColor:eV};
}},"splitpane/splitter/knob":{style:function(hB){return {source:hB.horizontal?di:du};
}},"splitpane/slider":{style:function(gY){return {width:gY.horizontal?3:undefined,height:gY.vertical?3:undefined,backgroundColor:eV};
}},"selectbox":{alias:es,include:es,style:function(fD){return {padding:[2,8]};
}},"selectbox/atom":er,"selectbox/popup":ey,"selectbox/list":{alias:ew},"selectbox/arrow":{include:em,style:function(hu){return {source:cS,paddingLeft:5};
}},"datechooser":{style:function(u){var y;
var w=!!u.focused;
var x=!!u.invalid;
var v=!!u.disabled;

if(w&&x&&!v){y=cL;
}else if(w&&!x&&!v){y=ex;
}else if(v){y=cN;
}else if(!w&&x&&!v){y=cP;
}else{y=cO;
}return {padding:2,decorator:y,backgroundColor:ej};
}},"datechooser/navigation-bar":{},"datechooser/nav-button":{include:es,alias:es,style:function(fL){var fM={padding:[2,4],shadow:undefined};

if(fL.lastYear){fM.icon=dj;
fM.marginRight=1;
}else if(fL.lastMonth){fM.icon=eN;
}else if(fL.nextYear){fM.icon=H;
fM.marginLeft=1;
}else if(fL.nextMonth){fM.icon=dU;
}return fM;
}},"datechooser/last-year-button-tooltip":ev,"datechooser/last-month-button-tooltip":ev,"datechooser/next-year-button-tooltip":ev,"datechooser/next-month-button-tooltip":ev,"datechooser/last-year-button":eC,"datechooser/last-month-button":eC,"datechooser/next-month-button":eC,"datechooser/next-year-button":eC,"datechooser/month-year-label":{style:function(j){return {font:el,textAlign:dQ,textColor:j.disabled?cU:undefined};
}},"datechooser/date-pane":{style:function(fo){return {textColor:fo.disabled?cU:undefined,marginTop:2};
}},"datechooser/weekday":{style:function(ft){return {textColor:ft.disabled?cU:ft.weekend?eT:undefined,textAlign:dQ,paddingTop:2,backgroundColor:bP};
}},"datechooser/week":{style:function(hG){return {textAlign:dQ,padding:[2,4],backgroundColor:bP};
}},"datechooser/day":{style:function(gI){return {textAlign:dQ,decorator:gI.disabled?undefined:gI.selected?cQ:undefined,textColor:gI.disabled?cU:gI.selected?en:gI.otherMonth?eT:undefined,font:gI.today?el:undefined,padding:[2,4]};
}},"combobox":{style:function(hQ){var hU;
var hS=!!hQ.focused;
var hT=!!hQ.invalid;
var hR=!!hQ.disabled;

if(hS&&hT&&!hR){hU=cL;
}else if(hS&&!hT&&!hR){hU=ex;
}else if(hR){hU=cN;
}else if(!hS&&hT&&!hR){hU=cP;
}else{hU=cO;
}return {decorator:hU};
}},"combobox/popup":ey,"combobox/list":{alias:ew},"combobox/button":{include:es,alias:es,style:function(hk){var hl={icon:cS,padding:2};

if(hk.selected){hl.decorator=eU;
}return hl;
}},"combobox/textfield":{include:dS,style:function(gE){return {decorator:undefined};
}},"menu":{style:function(m){var n={decorator:ci,shadow:bV,spacingX:6,spacingY:1,iconColumnWidth:16,arrowColumnWidth:4,placementModeY:m.submenu||m.contextmenu?eE:cG};

if(m.submenu){n.position=R;
n.offset=[-2,-3];
}return n;
}},"menu/slidebar":dk,"menu-slidebar":eq,"menu-slidebar-button":{style:function(gO){return {decorator:gO.hovered?cQ:undefined,padding:7,center:true};
}},"menu-slidebar/button-backward":{include:eS,style:function(ih){return {icon:ih.hovered?dC:bw};
}},"menu-slidebar/button-forward":{include:eS,style:function(e){return {icon:e.hovered?bN:cS};
}},"menu-separator":{style:function(gP){return {height:0,decorator:cx,margin:[4,2]};
}},"menu-button":{alias:er,style:function(ho){return {decorator:ho.selected?cQ:undefined,textColor:ho.selected?en:undefined,padding:[4,6]};
}},"menu-button/icon":{include:em,style:function(q){return {alignY:ek};
}},"menu-button/label":{include:dV,style:function(gU){return {alignY:ek,padding:1};
}},"menu-button/shortcut":{include:dV,style:function(gM){return {alignY:ek,marginLeft:14,padding:1};
}},"menu-button/arrow":{include:em,style:function(gF){return {source:gF.selected?cz:dU,alignY:ek};
}},"menu-checkbox":{alias:cM,include:cM,style:function(fP){return {icon:!fP.checked?undefined:fP.selected?eM:bM};
}},"menu-radiobutton":{alias:cM,include:cM,style:function(hm){return {icon:!hm.checked?undefined:hm.selected?cD:I};
}},"menubar":{style:function(hp){return {decorator:dg};
}},"menubar-button":{alias:er,style:function(fB){return {decorator:fB.pressed||fB.hovered?cQ:undefined,textColor:fB.pressed||fB.hovered?en:undefined,padding:[3,8]};
}},"colorselector":eq,"colorselector/control-bar":eq,"colorselector/control-pane":eq,"colorselector/visual-pane":cT,"colorselector/preset-grid":eq,"colorselector/colorbucket":{style:function(fs){return {decorator:ep,width:16,height:16};
}},"colorselector/preset-field-set":cT,"colorselector/input-field-set":cT,"colorselector/preview-field-set":cT,"colorselector/hex-field-composite":eq,"colorselector/hex-field":dS,"colorselector/rgb-spinner-composite":eq,"colorselector/rgb-spinner-red":eA,"colorselector/rgb-spinner-green":eA,"colorselector/rgb-spinner-blue":eA,"colorselector/hsb-spinner-composite":eq,"colorselector/hsb-spinner-hue":eA,"colorselector/hsb-spinner-saturation":eA,"colorselector/hsb-spinner-brightness":eA,"colorselector/preview-content-old":{style:function(fl){return {decorator:ep,width:50,height:10};
}},"colorselector/preview-content-new":{style:function(gi){return {decorator:ep,backgroundColor:ej,width:50,height:10};
}},"colorselector/hue-saturation-field":{style:function(hy){return {decorator:ep,margin:5};
}},"colorselector/brightness-field":{style:function(gz){return {decorator:ep,margin:[5,7]};
}},"colorselector/hue-saturation-pane":eq,"colorselector/hue-saturation-handle":eq,"colorselector/brightness-pane":eq,"colorselector/brightness-handle":eq,"colorpopup":{alias:ey,include:ey,style:function(fE){return {padding:5,backgroundColor:dX};
}},"colorpopup/field":{style:function(F){return {decorator:ep,margin:2,width:14,height:14,backgroundColor:ej};
}},"colorpopup/selector-button":eo,"colorpopup/auto-button":eo,"colorpopup/preview-pane":cT,"colorpopup/current-preview":{style:function(o){return {height:20,padding:4,marginLeft:4,decorator:ep,allowGrowX:true};
}},"colorpopup/selected-preview":{style:function(hx){return {height:20,padding:4,marginRight:4,decorator:ep,allowGrowX:true};
}},"colorpopup/colorselector-okbutton":{alias:eo,include:eo,style:function(hC){return {icon:cV};
}},"colorpopup/colorselector-cancelbutton":{alias:eo,include:eo,style:function(ht){return {icon:df};
}},"table":{alias:eq,style:function(hX){return {decorator:bt};
}},"table-header":{},"table/statusbar":{style:function(hP){return {decorator:dz,padding:[0,2]};
}},"table/column-button":{alias:es,style:function(eY){return {decorator:bB,padding:3,icon:J};
}},"table-column-reset-button":{include:cM,alias:cM,style:function(){return {icon:cC};
}},"table-scroller":eq,"table-scroller/scrollbar-x":eB,"table-scroller/scrollbar-y":eB,"table-scroller/header":{style:function(fm){return {decorator:cp};
}},"table-scroller/pane":{style:function(h){return {backgroundColor:cs};
}},"table-scroller/focus-indicator":{style:function(eX){return {decorator:ch};
}},"table-scroller/resize-line":{style:function(gN){return {backgroundColor:ea,width:2};
}},"table-header-cell":{alias:er,style:function(B){var C=qx.bom.client.Engine.MSHTML?bu:S;
return {minWidth:13,minHeight:20,padding:B.hovered?[3,4,2,4]:[3,4],decorator:B.hovered?cY:cd,sortIcon:B.sorted?(B.sortedAscending?bY+C:G+C):undefined};
}},"table-header-cell/label":{style:function(hc){return {minWidth:0,alignY:ek,paddingRight:5};
}},"table-header-cell/sort-icon":{style:function(gG){return {alignY:ek,alignX:X};
}},"table-header-cell/icon":{style:function(hn){return {minWidth:0,alignY:ek,paddingRight:5};
}},"table-editor-textfield":{include:dS,style:function(a){return {decorator:undefined,padding:[2,2],backgroundColor:ej};
}},"table-editor-selectbox":{include:bX,alias:bX,style:function(l){return {padding:[0,2],backgroundColor:ej};
}},"table-editor-combobox":{include:Q,alias:Q,style:function(g){return {decorator:undefined,backgroundColor:ej};
}},"progressive-table-header":{alias:eq,style:function(hE){return {decorator:K};
}},"progressive-table-header-cell":{alias:er,style:function(fF){return {minWidth:40,minHeight:25,paddingLeft:6,decorator:cw};
}},"app-header":{style:function(ib){return {font:el,textColor:en,padding:[8,12],decorator:cj};
}},"virtual-list":ew,"virtual-list/row-layer":bH,"row-layer":{style:function(gr){return {colorEven:dP,colorOdd:cX};
}},"column-layer":eq,"cell":{style:function(fw){return {textColor:fw.selected?en:eQ,padding:[3,6],font:bT};
}},"cell-string":cR,"cell-number":{include:cR,style:function(fN){return {textAlign:X};
}},"cell-image":cR,"cell-boolean":{include:cR,style:function(fC){return {iconTrue:cc,iconFalse:bf};
}},"cell-atom":cR,"cell-date":cR,"cell-html":cR,"htmlarea":{"include":eq,style:function(hA){return {backgroundColor:dP};
}}}});
})();
(function(){var n="atom",m="window-icon",l="main",k="#ff0000",j="#0000ff",i="decoration/window/minimize-active-hovered.png",h="decoration/window/maximize-active-hovered.png",g="resource/images/grfind/knob-horizontal.png",f="decoration/window/maximize-inactive.png",e="decoration/window/close-inactive.png",C="yellow",B="decoration/window/minimize-inactive.png",A="decoration/window/restore-active.png",z="decoration/window/restore-active-hovered.png",y="decoration/window/restore-inactive.png",x="group",w="grfind.theme.Appearance",v="decoration/window/maximize-active.png",u="decoration/window/minimize-active.png",t="splitpane",r="decoration/window/close-active-hovered.png",s="resource/images/grfind/knob-vertical.png",p="white",q="decoration/window/close-active.png",o="shadow-window";
qx.Theme.define(w,{extend:qx.theme.modern.Appearance,appearances:{"highlight-box":{alias:n,style:function(I){var K,J;

if(I.hovered){K=x;
J=k;
}else if(I.normal){K=null;
J=j;
}else if(I.selected){K=l;
J=k;
}else{K=null;
J=j;
}return {decorator:K,textColor:J};
}},"widget-box":{alias:n,style:function(M){var O,N;

if(M.hovered){O=l;
}else if(M.selected){O=l;
}else if(M.normal){O=null;
}else{O=null;
N=undefined;
}return {decorator:O};
}},"tabview":{style:function(E){return {contentPadding:4};
}},"splitpane":{style:function(F){return {decorator:t};
}},"splitpane/splitter":{style:function(c){return {width:c.horizontal?4:undefined,height:c.vertical?4:undefined,backgroundColor:p};
}},"splitpane/splitter/knob":{style:function(G){return {source:G.horizontal?s:g};
}},"splitpane/slider":{style:function(H){return {width:H.horizontal?1:undefined,height:H.vertical?1:undefined,backgroundColor:C};
}},"window":{style:function(L){return {shadow:o,contentPadding:[0,0,0,0]};
}},"window/minimize-button":{alias:n,style:function(a){return {icon:a.active?a.hovered?i:u:B,margin:[4,5,3,0],padding:[3,3,2,3],decorator:m};
}},"window/restore-button":{alias:n,style:function(b){return {icon:b.active?b.hovered?z:A:y,margin:[4,5,3,0],padding:[3,3,2,3],decorator:m};
}},"window/maximize-button":{alias:n,style:function(D){return {icon:D.active?D.hovered?h:v:f,margin:[4,5,3,0],padding:[3,3,2,3],decorator:m};
}},"window/close-button":{alias:n,style:function(d){return {icon:d.active?d.hovered?r:q:e,margin:[4,5,3,0],padding:[3,3,2,3],decorator:m};
}}}});
})();
(function(){var a="grfind.theme.Theme";
qx.Theme.define(a,{meta:{color:grfind.theme.Color,decoration:grfind.theme.Decoration,font:grfind.theme.Font,icon:qx.theme.icon.Oxygen,appearance:grfind.theme.Appearance}});
})();
(function(){var n="emulated",m="native",k='"',j="qx.lang.Core",h="\\\\",g="\\\"",f="[object Error]";
qx.Bootstrap.define(j,{statics:{errorToString:qx.lang.Object.select((!Error.prototype.toString||Error.prototype.toString()==f)?n:m,{"native":Error.prototype.toString,"emulated":function(){return this.message;
}}),arrayIndexOf:qx.lang.Object.select(Array.prototype.indexOf?m:n,{"native":Array.prototype.indexOf,"emulated":function(y,z){if(z==null){z=0;
}else if(z<0){z=Math.max(0,this.length+z);
}
for(var i=z;i<this.length;i++){if(this[i]===y){return i;
}}return -1;
}}),arrayLastIndexOf:qx.lang.Object.select(Array.prototype.lastIndexOf?m:n,{"native":Array.prototype.lastIndexOf,"emulated":function(d,e){if(e==null){e=this.length-1;
}else if(e<0){e=Math.max(0,this.length+e);
}
for(var i=e;i>=0;i--){if(this[i]===d){return i;
}}return -1;
}}),arrayForEach:qx.lang.Object.select(Array.prototype.forEach?m:n,{"native":Array.prototype.forEach,"emulated":function(r,s){var l=this.length;

for(var i=0;i<l;i++){var t=this[i];

if(t!==undefined){r.call(s||window,t,i,this);
}}}}),arrayFilter:qx.lang.Object.select(Array.prototype.filter?m:n,{"native":Array.prototype.filter,"emulated":function(A,B){var C=[];
var l=this.length;

for(var i=0;i<l;i++){var D=this[i];

if(D!==undefined){if(A.call(B||window,D,i,this)){C.push(this[i]);
}}}return C;
}}),arrayMap:qx.lang.Object.select(Array.prototype.map?m:n,{"native":Array.prototype.map,"emulated":function(u,v){var w=[];
var l=this.length;

for(var i=0;i<l;i++){var x=this[i];

if(x!==undefined){w[i]=u.call(v||window,x,i,this);
}}return w;
}}),arraySome:qx.lang.Object.select(Array.prototype.some?m:n,{"native":Array.prototype.some,"emulated":function(o,p){var l=this.length;

for(var i=0;i<l;i++){var q=this[i];

if(q!==undefined){if(o.call(p||window,q,i,this)){return true;
}}}return false;
}}),arrayEvery:qx.lang.Object.select(Array.prototype.every?m:n,{"native":Array.prototype.every,"emulated":function(a,b){var l=this.length;

for(var i=0;i<l;i++){var c=this[i];

if(c!==undefined){if(!a.call(b||window,c,i,this)){return false;
}}}return true;
}}),stringQuote:qx.lang.Object.select(String.prototype.quote?m:n,{"native":String.prototype.quote,"emulated":function(){return k+this.replace(/\\/g,h).replace(/\"/g,g)+k;
}})}});
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 q="indexOf",p="lastIndexOf",o="slice",n="concat",m="join",k="toLocaleUpperCase",j="shift",h="substr",g="filter",f="unshift",N="match",M="quote",L="qx.lang.Generics",K="localeCompare",J="sort",I="some",H="charAt",G="split",F="substring",E="pop",y="toUpperCase",z="replace",w="push",x="charCodeAt",u="every",v="reverse",r="search",t="forEach",A="map",B="toLowerCase",D="splice",C="toLocaleLowerCase";
qx.Bootstrap.define(L,{statics:{__cc:{"Array":[m,v,J,w,E,j,f,D,n,o,q,p,t,A,g,I,u],"String":[M,F,B,y,H,x,q,p,C,k,K,N,r,z,G,h,n,o]},__cd:function(O,P){return function(s){return O.prototype[P].apply(s,Array.prototype.slice.call(arguments,1));
};
},__ce:function(){var a=qx.lang.Generics.__cc;

for(var e in a){var c=window[e];
var b=a[e];

for(var i=0,l=b.length;i<l;i++){var d=b[i];

if(!c[d]){c[d]=qx.lang.Generics.__cd(c,d);
}}}}},defer:function(Q){Q.__ce();
}});
})();
(function(){var e="qx.event.type.Data",d="qx.event.type.Event",c="qx.data.IListData";
qx.Interface.define(c,{events:{"change":e,"changeLength":d},members:{getItem:function(f){},setItem:function(a,b){},splice:function(g,h,i){},contains:function(j){},getLength:function(){},toArray:function(){}}});
})();
(function(){var a="qx.lang.Date";
qx.Bootstrap.define(a,{statics:{now:function(){return +new Date;
}}});
})();
(function(){var f="qx.globalErrorHandling",e="on",d="qx.event.GlobalError";
qx.Bootstrap.define(d,{statics:{setErrorHandler:function(h,i){this.__cf=h||null;
this.__cg=i||window;

if(qx.core.Setting.get(f)===e){if(h&&!window.onerror){window.onerror=qx.lang.Function.bind(this.__ch,this);
}
if(!h&&window.onerror){window.onerror=null;
}}},__ch:function(j,k,l){if(this.__cf){this.handleError(new qx.core.WindowError(j,k,l));
return true;
}},observeMethod:function(c){if(qx.core.Setting.get(f)===e){var self=this;
return function(){if(!self.__cf){return c.apply(this,arguments);
}
try{return c.apply(this,arguments);
}catch(a){self.handleError(a);
}};
}else{return c;
}},handleError:function(g){if(this.__cf){this.__cf.call(this.__cg,g);
}}},defer:function(b){qx.core.Setting.define(f,e);
b.setErrorHandler(null,null);
}});
})();
(function(){var b="",a="qx.core.WindowError";
qx.Class.define(a,{extend:Error,construct:function(c,d,e){Error.call(this,c);
this.__ci=c;
this.__cj=d||b;
this.__ck=e===undefined?-1:e;
},members:{__ci:null,__cj:null,__ck:null,toString:function(){return this.__ci;
},getUri:function(){return this.__cj;
},getLineNumber:function(){return this.__ck;
}}});
})();
(function(){var e="qx.event.type.Event";
qx.Class.define(e,{extend:qx.core.Object,statics:{CAPTURING_PHASE:1,AT_TARGET:2,BUBBLING_PHASE:3},members:{init:function(b,c){{};
this._type=null;
this._target=null;
this._currentTarget=null;
this._relatedTarget=null;
this._originalTarget=null;
this._stopPropagation=false;
this._preventDefault=false;
this._bubbles=!!b;
this._cancelable=!!c;
this._timeStamp=(new Date()).getTime();
this._eventPhase=null;
return this;
},clone:function(l){if(l){var m=l;
}else{var m=qx.event.Pool.getInstance().getObject(this.constructor);
}m._type=this._type;
m._target=this._target;
m._currentTarget=this._currentTarget;
m._relatedTarget=this._relatedTarget;
m._originalTarget=this._originalTarget;
m._stopPropagation=this._stopPropagation;
m._bubbles=this._bubbles;
m._preventDefault=this._preventDefault;
m._cancelable=this._cancelable;
return m;
},stop:function(){this.stopPropagation();
this.preventDefault();
},stopPropagation:function(){{};
this._stopPropagation=true;
},getPropagationStopped:function(){return !!this._stopPropagation;
},preventDefault:function(){{};
this._preventDefault=true;
},getDefaultPrevented:function(){return !!this._preventDefault;
},getType:function(){return this._type;
},setType:function(j){this._type=j;
},getEventPhase:function(){return this._eventPhase;
},setEventPhase:function(a){this._eventPhase=a;
},getTimeStamp:function(){return this._timeStamp;
},getTarget:function(){return this._target;
},setTarget:function(k){this._target=k;
},getCurrentTarget:function(){return this._currentTarget||this._target;
},setCurrentTarget:function(g){this._currentTarget=g;
},getRelatedTarget:function(){return this._relatedTarget;
},setRelatedTarget:function(f){this._relatedTarget=f;
},getOriginalTarget:function(){return this._originalTarget;
},setOriginalTarget:function(h){this._originalTarget=h;
},getBubbles:function(){return this._bubbles;
},setBubbles:function(d){this._bubbles=d;
},isCancelable:function(){return this._cancelable;
},setCancelable:function(i){this._cancelable=i;
}},destruct:function(){this._target=this._currentTarget=this._relatedTarget=this._originalTarget=null;
}});
})();
(function(){var a="qx.event.type.Data";
qx.Class.define(a,{extend:qx.event.type.Event,members:{__cl:null,__cm:null,init:function(b,c,d){arguments.callee.base.call(this,false,d);
this.__cl=b;
this.__cm=c;
return this;
},clone:function(e){var f=arguments.callee.base.call(this,e);
f.__cl=this.__cl;
f.__cm=this.__cm;
return f;
},getData:function(){return this.__cl;
},getOldData:function(){return this.__cm;
}},destruct:function(){this.__cl=this.__cm=null;
}});
})();
(function(){var d="qx.event.IEventHandler";
qx.Interface.define(d,{statics:{TARGET_DOMNODE:1,TARGET_WINDOW:2,TARGET_OBJECT:3},members:{canHandleEvent:function(h,i){},registerEvent:function(a,b,c){},unregisterEvent:function(e,f,g){}}});
})();
(function(){var o="ready",n="qx.client",m="mshtml",l="load",k="unload",j="qx.event.handler.Application",i="complete",h="gecko|opera|webkit",g="left",f="DOMContentLoaded",d="shutdown";
qx.Class.define(j,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(w){arguments.callee.base.call(this);
this._window=w.getWindow();
this.__cn=false;
this.__co=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,__cp:false,onScriptLoaded:function(){this.__cp=true;
var a=qx.event.handler.Application.$$instance;

if(a){a.__cs();
}}},members:{canHandleEvent:function(t,u){},registerEvent:function(p,q,r){},unregisterEvent:function(x,y,z){},__cq:null,__cn:null,__co:null,__cr:null,__cs:function(){var v=qx.event.handler.Application;
if(!this.__cq&&this.__cn&&v.__cp){if(qx.core.Variant.isSet(n,m)){if(qx.event.Registration.hasListener(this._window,o)){this.__cq=true;
qx.event.Registration.fireEvent(this._window,o);
}}else{this.__cq=true;
qx.event.Registration.fireEvent(this._window,o);
}}},isApplicationReady:function(){return this.__cq;
},_initObserver:function(){if(qx.$$domReady||document.readyState==i){this.__cn=true;
this.__cs();
}else{this._onNativeLoadWrapped=qx.lang.Function.bind(this._onNativeLoad,this);

if(qx.core.Variant.isSet(n,h)){qx.bom.Event.addNativeListener(this._window,f,this._onNativeLoadWrapped);
}else if(qx.core.Variant.isSet(n,m)){var self=this;
var b=function(){try{document.documentElement.doScroll(g);

if(document.body){self._onNativeLoadWrapped();
}}catch(c){window.setTimeout(b,100);
}};
b();
}qx.bom.Event.addNativeListener(this._window,l,this._onNativeLoadWrapped);
}this._onNativeUnloadWrapped=qx.lang.Function.bind(this._onNativeUnload,this);
qx.bom.Event.addNativeListener(this._window,k,this._onNativeUnloadWrapped);
},_stopObserver:function(){if(this._onNativeLoadWrapped){qx.bom.Event.removeNativeListener(this._window,l,this._onNativeLoadWrapped);
}qx.bom.Event.removeNativeListener(this._window,k,this._onNativeUnloadWrapped);
this._onNativeLoadWrapped=null;
this._onNativeUnloadWrapped=null;
},_onNativeLoad:qx.event.GlobalError.observeMethod(function(){this.__cn=true;
this.__cs();
}),_onNativeUnload:qx.event.GlobalError.observeMethod(function(){if(!this.__cr){this.__cr=true;

try{qx.event.Registration.fireEvent(this._window,d);
}catch(e){throw e;
}finally{qx.core.ObjectRegistry.shutdown();
}}})},destruct:function(){this._stopObserver();
this._window=null;
},defer:function(s){qx.event.Registration.addHandler(s);
}});
})();
(function(){var q=":",p="qx.client",o="anonymous",n="...",m="qx.dev.StackTrace",l="",k="\n",j="/source/class/",h=".";
qx.Bootstrap.define(m,{statics:{getStackTrace:qx.core.Variant.select(p,{"gecko":function(){try{throw new Error();
}catch(E){var U=this.getStackTraceFromError(E);
qx.lang.Array.removeAt(U,0);
var S=this.getStackTraceFromCaller(arguments);
var Q=S.length>U.length?S:U;

for(var i=0;i<Math.min(S.length,U.length);i++){var R=S[i];

if(R.indexOf(o)>=0){continue;
}var Y=R.split(q);

if(Y.length!=2){continue;
}var W=Y[0];
var P=Y[1];
var O=U[i];
var ba=O.split(q);
var V=ba[0];
var N=ba[1];

if(qx.Class.getByName(V)){var T=V;
}else{T=W;
}var X=T+q;

if(P){X+=P+q;
}X+=N;
Q[i]=X;
}return Q;
}},"mshtml|webkit":function(){return this.getStackTraceFromCaller(arguments);
},"opera":function(){var f;

try{f.bar();
}catch(bc){var g=this.getStackTraceFromError(bc);
qx.lang.Array.removeAt(g,0);
return g;
}return [];
}}),getStackTraceFromCaller:qx.core.Variant.select(p,{"opera":function(e){return [];
},"default":function(y){var D=[];
var C=qx.lang.Function.getCaller(y);
var z={};

while(C){var A=qx.lang.Function.getName(C);
D.push(A);

try{C=C.caller;
}catch(M){break;
}
if(!C){break;
}var B=qx.core.ObjectRegistry.toHashCode(C);

if(z[B]){D.push(n);
break;
}z[B]=C;
}return D;
}}),getStackTraceFromError:qx.core.Variant.select(p,{"gecko":function(r){if(!r.stack){return [];
}var x=/@(.+):(\d+)$/gm;
var s;
var t=[];

while((s=x.exec(r.stack))!=null){var u=s[1];
var w=s[2];
var v=this.__ct(u);
t.push(v+q+w);
}return t;
},"webkit":function(bb){if(bb.sourceURL&&bb.line){return [this.__ct(bb.sourceURL)+q+bb.line];
}else{return [];
}},"opera":function(F){if(F.message.indexOf("Backtrace:")<0){return [];
}var H=[];
var I=qx.lang.String.trim(F.message.split("Backtrace:")[1]);
var J=I.split(k);

for(var i=0;i<J.length;i++){var G=J[i].match(/\s*Line ([0-9]+) of.* (\S.*)/);

if(G&&G.length>=2){var L=G[1];
var K=this.__ct(G[2]);
H.push(K+q+L);
}}return H;
},"default":function(){return [];
}}),__ct:function(a){var d=j;
var b=a.indexOf(d);
var c=(b==-1)?a:a.substring(b+d.length).replace(/\//g,h).replace(/\.js$/,l);
return c;
}}});
})();
(function(){var h="qx.util.ObjectPool",g="Integer";
qx.Class.define(h,{extend:qx.core.Object,construct:function(n){arguments.callee.base.call(this);
this.__cu={};

if(n!=null){this.setSize(n);
}},properties:{size:{check:g,init:Infinity}},members:{__cu:null,getObject:function(d){if(this.$$disposed){return;
}
if(!d){throw new Error("Class needs to be defined!");
}var e=null;
var f=this.__cu[d.classname];

if(f){e=f.pop();
}
if(e){e.$$pooled=false;
}else{e=new d;
}return e;
},poolObject:function(j){if(!this.__cu){return;
}var k=j.classname;
var m=this.__cu[k];

if(j.$$pooled){throw new Error("Object is already pooled: "+j);
}
if(!m){this.__cu[k]=m=[];
}if(m.length>this.getSize()){if(j.destroy){j.destroy();
}else{j.dispose();
}return;
}j.$$pooled=true;
m.push(j);
}},destruct:function(){var c=this.__cu;
var a,b,i,l;

for(a in c){b=c[a];

for(i=0,l=b.length;i<l;i++){b[i].dispose();
}}delete this.__cu;
}});
})();
(function(){var b="singleton",a="qx.event.Pool";
qx.Class.define(a,{extend:qx.util.ObjectPool,type:b,construct:function(){arguments.callee.base.call(this,30);
}});
})();
(function(){var j="Don't use 'disposeFields' - instead assign directly to 'null'",h="qx.util.DisposeUtil";
qx.Class.define(h,{statics:{disposeFields:function(k,m){qx.log.Logger.deprecatedMethodWarning(arguments.callee,j);
var name;

for(var i=0,l=m.length;i<l;i++){var name=m[i];

if(k[name]==null||!k.hasOwnProperty(name)){continue;
}k[name]=null;
}},disposeObjects:function(n,o){var name;

for(var i=0,l=o.length;i<l;i++){name=o[i];

if(n[name]==null||!n.hasOwnProperty(name)){continue;
}
if(!qx.core.ObjectRegistry.inShutDown){if(n[name].dispose){n[name].dispose();
}else{throw new Error("Has no disposable object under key: "+name+"!");
}}n[name]=null;
}},disposeArray:function(a,b){var d=a[b];

if(!d){return;
}if(qx.core.ObjectRegistry.inShutDown){a[b]=null;
return;
}try{var c;

for(var i=d.length-1;i>=0;i--){c=d[i];

if(c){c.dispose();
}}}catch(u){throw new Error("The array field: "+b+" of object: "+a+" has non disposable entries: "+u);
}d.length=0;
a[b]=null;
},disposeMap:function(q,r){var s=q[r];

if(!s){return;
}if(qx.core.ObjectRegistry.inShutDown){q[r]=null;
return;
}try{for(var t in s){if(s.hasOwnProperty(t)){s[t].dispose();
}}}catch(p){throw new Error("The map field: "+r+" of object: "+q+" has non disposable entries: "+p);
}q[r]=null;
},disposeTriggeredBy:function(e,f){var g=f.dispose;
f.dispose=function(){g.call(f);
e.dispose();
};
}}});
})();
(function(){var c="qx.event.IEventDispatcher";
qx.Interface.define(c,{members:{canDispatchEvent:function(d,event,e){this.assertInstance(event,qx.event.type.Event);
this.assertString(e);
},dispatchEvent:function(a,event,b){this.assertInstance(event,qx.event.type.Event);
this.assertString(b);
}}});
})();
(function(){var h="qx.event.dispatch.Direct";
qx.Class.define(h,{extend:qx.core.Object,implement:qx.event.IEventDispatcher,construct:function(m){this._manager=m;
},statics:{PRIORITY:qx.event.Registration.PRIORITY_LAST},members:{canDispatchEvent:function(j,event,k){return !event.getBubbles();
},dispatchEvent:function(a,event,b){var e,c;
{};
event.setEventPhase(qx.event.type.Event.AT_TARGET);
var f=this._manager.getListeners(a,b,false);

if(f){for(var i=0,l=f.length;i<l;i++){var d=f[i].context||a;
f[i].handler.call(d,event);
}}}},defer:function(g){qx.event.Registration.addDispatcher(g);
}});
})();
(function(){var bh="get",bg="",bf="[",be="last",bd="change",bc="]",bb=".",ba="Number",Y="String",X="set",bw="deepBinding",bv="item",bu="reset",bt="' (",bs="Boolean",br=").",bq=") to the object '",bp="Integer",bo="qx.data.SingleValueBinding",bn="No event could be found for the property",bl="PositiveNumber",bm="Binding from '",bj="PositiveInteger",bk="Binding does not exist!",bi="Date";
qx.Class.define(bo,{statics:{DEBUG_ON:false,__cv:{},bind:function(bH,bI,bJ,bK,bL){var bV=this.__cx(bH,bI,bJ,bK,bL);
var bQ=bI.split(bb);
var bN=this.__cE(bQ);
var bU=[];
var bR=[];
var bS=[];
var bO=[];
var bP=bH;
for(var i=0;i<bQ.length;i++){if(bN[i]!==bg){bO.push(bd);
}else{bO.push(this.__cz(bP,bQ[i]));
}bU[i]=bP;
if(i==bQ.length-1){if(bN[i]!==bg){var bY=bN[i]===be?bP.length-1:bN[i];
var bM=bP.getItem(bY);
this.__cD(bM,bJ,bK,bL,bH);
bS[i]=this.__cF(bP,bO[i],bJ,bK,bL,bN[i]);
}else{if(bQ[i]!=null&&bP[bh+qx.lang.String.firstUp(bQ[i])]!=null){var bM=bP[bh+qx.lang.String.firstUp(bQ[i])]();
this.__cD(bM,bJ,bK,bL,bH);
}bS[i]=this.__cF(bP,bO[i],bJ,bK,bL);
}}else{var bW={index:i,propertyNames:bQ,sources:bU,listenerIds:bS,arrayIndexValues:bN,targetObject:bJ,targetPropertyChain:bK,options:bL,listeners:bR};
var bT=qx.lang.Function.bind(this.__cw,this,bW);
bR.push(bT);
bS[i]=bP.addListener(bO[i],bT);
}if(bP[bh+qx.lang.String.firstUp(bQ[i])]==null){bP=null;
}else if(bN[i]!==bg){bP=bP[bh+qx.lang.String.firstUp(bQ[i])](bN[i]);
}else{bP=bP[bh+qx.lang.String.firstUp(bQ[i])]();
}
if(!bP){break;
}}var bX={type:bw,listenerIds:bS,sources:bU,targetListenerIds:bV.listenerIds,targets:bV.targets};
this.__cG(bX,bH,bI,bJ,bK);
return bX;
},__cw:function(R){if(R.options&&R.options.onUpdate){R.options.onUpdate(R.sources[R.index],R.targetObject);
}for(var j=R.index+1;j<R.propertyNames.length;j++){var V=R.sources[j];
R.sources[j]=null;

if(!V){continue;
}V.removeListenerById(R.listenerIds[j]);
}var V=R.sources[R.index];
for(var j=R.index+1;j<R.propertyNames.length;j++){if(R.arrayIndexValues[j-1]!==bg){V=V[bh+qx.lang.String.firstUp(R.propertyNames[j-1])](R.arrayIndexValues[j-1]);
}else{V=V[bh+qx.lang.String.firstUp(R.propertyNames[j-1])]();
}R.sources[j]=V;
if(!V){this.__cA(R.targetObject,R.targetPropertyChain);
break;
}if(j==R.propertyNames.length-1){if(qx.Class.implementsInterface(V,qx.data.IListData)){var W=R.arrayIndexValues[j]===be?V.length-1:R.arrayIndexValues[j];
var T=V.getItem(W);
this.__cD(T,R.targetObject,R.targetPropertyChain,R.options,R.sources[R.index]);
R.listenerIds[j]=this.__cF(V,bd,R.targetObject,R.targetPropertyChain,R.options,R.arrayIndexValues[j]);
}else{if(R.propertyNames[j]!=null&&V[bh+qx.lang.String.firstUp(R.propertyNames[j])]!=null){var T=V[bh+qx.lang.String.firstUp(R.propertyNames[j])]();
this.__cD(T,R.targetObject,R.targetPropertyChain,R.options,R.sources[R.index]);
}var U=this.__cz(V,R.propertyNames[j]);
R.listenerIds[j]=this.__cF(V,U,R.targetObject,R.targetPropertyChain,R.options);
}}else{if(R.listeners[j]==null){var S=qx.lang.Function.bind(this.__cw,this,R);
R.listeners.push(S);
}if(qx.Class.implementsInterface(V,qx.data.IListData)){var U=bd;
}else{var U=this.__cz(V,R.propertyNames[j]);
}R.listenerIds[j]=V.addListener(U,R.listeners[j]);
}}},__cx:function(n,o,p,q,r){var v=q.split(bb);
var t=this.__cE(v);
var A=[];
var z=[];
var x=[];
var w=[];
var u=p;
for(var i=0;i<v.length-1;i++){if(t[i]!==bg){w.push(bd);
}else{try{w.push(this.__cz(u,v[i]));
}catch(e){break;
}}A[i]=u;
var y=function(){for(var j=i+1;j<v.length-1;j++){var J=A[j];
A[j]=null;

if(!J){continue;
}J.removeListenerById(x[j]);
}var J=A[i];
for(var j=i+1;j<v.length-1;j++){var H=qx.lang.String.firstUp(v[j-1]);
if(t[j-1]!==bg){var K=t[j-1]===be?J.getLength()-1:t[j-1];
J=J[bh+H](K);
}else{J=J[bh+H]();
}A[j]=J;
if(z[j]==null){z.push(y);
}if(qx.Class.implementsInterface(J,qx.data.IListData)){var I=bd;
}else{try{var I=qx.data.SingleValueBinding.__cz(J,v[j]);
}catch(e){break;
}}x[j]=J.addListener(I,z[j]);
}qx.data.SingleValueBinding.__cy(n,o,p,q);
};
z.push(y);
x[i]=u.addListener(w[i],y);
var s=qx.lang.String.firstUp(v[i]);
if(u[bh+s]==null){u=null;
}else if(t[i]!==bg){u=u[bh+s](t[i]);
}else{u=u[bh+s]();
}
if(!u){break;
}}return {listenerIds:x,targets:A};
},__cy:function(cT,cU,cV,cW){var db=this.__cC(cT,cU);

if(db!=null){var dd=cU.substring(cU.lastIndexOf(bb)+1,cU.length);
if(dd.charAt(dd.length-1)==bc){var cX=dd.substring(dd.lastIndexOf(bf)+1,dd.length-1);
var da=dd.substring(0,dd.lastIndexOf(bf));
var dc=db[bh+qx.lang.String.firstUp(da)]();

if(cX==be){cX=dc.length-1;
}
if(dc!=null){var cY=dc.getItem(cX);
}}else{var cY=db[bh+qx.lang.String.firstUp(dd)]();
}}this.__cB(cV,cW,cY);
},__cz:function(bx,by){var bz=this.__cI(bx,by);
if(bz==null){if(qx.Class.supportsEvent(bx.constructor,by)){bz=by;
}else if(qx.Class.supportsEvent(bx.constructor,bd+qx.lang.String.firstUp(by))){bz=bd+qx.lang.String.firstUp(by);
}else{throw new qx.core.AssertionError(bn,by);
}}return bz;
},__cA:function(D,E){var F=this.__cC(D,E);

if(F!=null){var G=E.substring(E.lastIndexOf(bb)+1,E.length);
if(G.charAt(G.length-1)==bc){this.__cB(D,E,null);
return;
}if(F[bu+qx.lang.String.firstUp(G)]!=undefined){F[bu+qx.lang.String.firstUp(G)]();
}else{F[X+qx.lang.String.firstUp(G)](null);
}}},__cB:function(cd,ce,cf){var cj=this.__cC(cd,ce);

if(cj!=null){var ck=ce.substring(ce.lastIndexOf(bb)+1,ce.length);
if(ck.charAt(ck.length-1)==bc){var cg=ck.substring(ck.lastIndexOf(bf)+1,ck.length-1);
var ci=ck.substring(0,ck.lastIndexOf(bf));
var ch=cj[bh+qx.lang.String.firstUp(ci)]();

if(cg==be){cg=ch.length-1;
}
if(ch!=null){ch.setItem(cg,cf);
}}else{cj[X+qx.lang.String.firstUp(ck)](cf);
}}},__cC:function(L,M){var P=M.split(bb);
var Q=L;
for(var i=0;i<P.length-1;i++){try{var O=P[i];
if(O.indexOf(bc)==O.length-1){var N=O.substring(O.indexOf(bf)+1,O.length-1);
O=O.substring(0,O.indexOf(bf));
}Q=Q[bh+qx.lang.String.firstUp(O)]();

if(N!=null){if(N==be){N=Q.length-1;
}Q=Q.getItem(N);
N=null;
}}catch(cu){return null;
}}return Q;
},__cD:function(cO,cP,cQ,cR,cS){cO=this.__cH(cO,cP,cQ,cR);
if(cO==null){this.__cA(cP,cQ);
}if(cO!=undefined){try{this.__cB(cP,cQ,cO);
if(cR&&cR.onUpdate){cR.onUpdate(cS,cP,cO);
}}catch(e){if(!(e instanceof qx.core.ValidationError)){throw e;
}
if(cR&&cR.onSetFail){cR.onSetFail(e);
}else{this.warn("Failed so set value "+cO+" on "+cP+". Error message: "+e);
}}}},__cE:function(cJ){var cK=[];
for(var i=0;i<cJ.length;i++){var name=cJ[i];
if(qx.lang.String.endsWith(name,bc)){var cL=name.substring(name.indexOf(bf)+1,name.indexOf(bc));
if(name.indexOf(bc)!=name.length-1){throw new Error("Please use only one array at a time: "+name+" does not work.");
}
if(cL!==be){if(cL==bg||isNaN(parseInt(cL))){throw new Error("No number or 'last' value hast been given"+" in a array binding: "+name+" does not work.");
}}if(name.indexOf(bf)!=0){cJ[i]=name.substring(0,name.indexOf(bf));
cK[i]=bg;
cK[i+1]=cL;
cJ.splice(i+1,0,bv);
i++;
}else{cK[i]=cL;
cJ.splice(i,1,bv);
}}else{cK[i]=bg;
}}return cK;
},__cF:function(cz,cA,cB,cC,cD,cE){var cF;
{};
var cH=function(bD,e){if(bD!==bg){if(bD===be){bD=cz.length-1;
}var bG=cz.getItem(bD);
if(bG==undefined){qx.data.SingleValueBinding.__cA(cB,cC);
}var bE=e.getData().start;
var bF=e.getData().end;

if(bD<bE||bD>bF){return;
}}else{var bG=e.getData();
}if(qx.data.SingleValueBinding.DEBUG_ON){qx.log.Logger.debug("Binding executed from "+cz+" by "+cA+" to "+cB+" ("+cC+")");
qx.log.Logger.debug("Data before conversion: "+bG);
}bG=qx.data.SingleValueBinding.__cH(bG,cB,cC,cD);
if(qx.data.SingleValueBinding.DEBUG_ON){qx.log.Logger.debug("Data after conversion: "+bG);
}try{if(bG!=undefined){qx.data.SingleValueBinding.__cB(cB,cC,bG);
}else{qx.data.SingleValueBinding.__cA(cB,cC);
}if(cD&&cD.onUpdate){cD.onUpdate(cz,cB,bG);
}}catch(e){if(!(e instanceof qx.core.ValidationError)){throw e;
}
if(cD&&cD.onSetFail){cD.onSetFail(e);
}else{this.warn("Failed so set value "+bG+" on "+cB+". Error message: "+e);
}}};
if(!cE){cE=bg;
}cH=qx.lang.Function.bind(cH,cz,cE);
var cG=cz.addListener(cA,cH);
return cG;
},__cG:function(g,h,k,l,m){if(this.__cv[h.toHashCode()]===undefined){this.__cv[h.toHashCode()]=[];
}this.__cv[h.toHashCode()].push([g,h,k,l,m]);
},__cH:function(cl,cm,cn,co){if(co&&co.converter){var cq;

if(cm.getModel){cq=cm.getModel();
}return co.converter(cl,cq);
}else{var cs=this.__cC(cm,cn);
var ct=cn.substring(cn.lastIndexOf(bb)+1,cn.length);
if(cs==null){return cl;
}var cr=qx.Class.getPropertyDefinition(cs.constructor,ct);
var cp=cr==null?bg:cr.check;
return this.__cJ(cl,cp);
}},__cI:function(bA,bB){var bC=qx.Class.getPropertyDefinition(bA.constructor,bB);

if(bC==null){return null;
}return bC.event;
},__cJ:function(ca,cb){var cc=qx.lang.Type.getClass(ca);
if((cc==ba||cc==Y)&&(cb==bp||cb==bj)){ca=parseInt(ca);
}if((cc==bs||cc==ba||cc==bi)&&cb==Y){ca=ca+bg;
}if((cc==ba||cc==Y)&&(cb==ba||cb==bl)){ca=parseFloat(ca);
}return ca;
},removeBindingFromObject:function(c,d){if(d.type==bw){for(var i=0;i<d.sources.length;i++){if(d.sources[i]){d.sources[i].removeListenerById(d.listenerIds[i]);
}}for(var i=0;i<d.targets.length;i++){if(d.targets[i]){d.targets[i].removeListenerById(d.targetListenerIds[i]);
}}}else{c.removeListenerById(d);
}var f=this.__cv[c.toHashCode()];
if(f!=undefined){for(var i=0;i<f.length;i++){if(f[i][0]==d){qx.lang.Array.remove(f,f[i]);
return;
}}}throw new Error("Binding could not be found!");
},removeAllBindingsForObject:function(cM){{};
var cN=this.__cv[cM.toHashCode()];

if(cN!=undefined){for(var i=cN.length-1;i>=0;i--){this.removeBindingFromObject(cM,cN[i][0]);
}}},getAllBindingsForObject:function(cI){if(this.__cv[cI.toHashCode()]===undefined){this.__cv[cI.toHashCode()]=[];
}return this.__cv[cI.toHashCode()];
},removeAllBindings:function(){for(var b in this.__cv){var a=qx.core.ObjectRegistry.fromHashCode(b);
if(a==null){delete this.__cv[b];
continue;
}this.removeAllBindingsForObject(a);
}this.__cv={};
},getAllBindings:function(){return this.__cv;
},showBindingInLog:function(cv,cw){var cy;
for(var i=0;i<this.__cv[cv.toHashCode()].length;i++){if(this.__cv[cv.toHashCode()][i][0]==cw){cy=this.__cv[cv.toHashCode()][i];
break;
}}
if(cy===undefined){var cx=bk;
}else{var cx=bm+cy[1]+bt+cy[2]+bq+cy[3]+bt+cy[4]+br;
}qx.log.Logger.debug(cx);
},showAllBindingsInLog:function(){for(var C in this.__cv){var B=qx.core.ObjectRegistry.fromHashCode(C);

for(var i=0;i<this.__cv[C].length;i++){this.showBindingInLog(B,this.__cv[C][i][0]);
}}}}});
})();
(function(){var c=": ",b="qx.type.BaseError",a="";
qx.Class.define(b,{extend:Error,construct:function(d,e){Error.call(this,e);
this.__cK=d||a;
this.message=e||qx.type.BaseError.DEFAULTMESSAGE;
},statics:{DEFAULTMESSAGE:"error"},members:{__cK:null,message:null,getComment:function(){return this.__cK;
},toString:function(){return this.__cK+c+this.message;
}}});
})();
(function(){var a="qx.core.AssertionError";
qx.Class.define(a,{extend:qx.type.BaseError,construct:function(b,c){qx.type.BaseError.call(this,b,c);
this.__cL=qx.dev.StackTrace.getStackTrace();
},members:{__cL:null,getStackTrace:function(){return this.__cL;
}}});
})();
(function(){var a="qx.core.ValidationError";
qx.Class.define(a,{extend:qx.type.BaseError});
})();
(function(){var a="qx.event.handler.Object";
qx.Class.define(a,{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(f,g){return qx.Class.supportsEvent(f.constructor,g);
},registerEvent:function(c,d,e){},unregisterEvent:function(h,i,j){}},defer:function(b){qx.event.Registration.addHandler(b);
}});
})();
(function(){var c="qx.util.ValueManager",b="abstract";
qx.Class.define(c,{type:b,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this._dynamic={};
},members:{_dynamic:null,resolveDynamic:function(d){return this._dynamic[d];
},isDynamic:function(a){return !!this._dynamic[a];
},resolve:function(e){if(e&&this._dynamic[e]){return this._dynamic[e];
}return e;
},_setDynamic:function(f){this._dynamic=f;
},_getDynamic:function(){return this._dynamic;
}},destruct:function(){this._dynamic=null;
}});
})();
(function(){var j="/",i="0",h="qx/static",g="http://",f="https://",e="file://",d="qx.util.AliasManager",c="singleton",b=".",a="static";
qx.Class.define(d,{type:c,extend:qx.util.ValueManager,construct:function(){arguments.callee.base.call(this);
this.__cM={};
this.add(a,h);
},members:{__cM:null,_preprocess:function(o){var r=this._getDynamic();

if(r[o]===false){return o;
}else if(r[o]===undefined){if(o.charAt(0)===j||o.charAt(0)===b||o.indexOf(g)===0||o.indexOf(f)===i||o.indexOf(e)===0){r[o]=false;
return o;
}
if(this.__cM[o]){return this.__cM[o];
}var q=o.substring(0,o.indexOf(j));
var p=this.__cM[q];

if(p!==undefined){r[o]=p+o.substring(q.length);
}}return o;
},add:function(k,l){this.__cM[k]=l;
var n=this._getDynamic();
for(var m in n){if(m.substring(0,m.indexOf(j))===k){n[m]=l+m.substring(k.length);
}}},remove:function(s){delete this.__cM[s];
},resolve:function(t){var u=this._getDynamic();

if(t!==null){t=this._preprocess(t);
}return u[t]||t;
}},destruct:function(){this.__cM=null;
}});
})();
(function(){var G="px",F="qx.client",E="div",D="img",C="",B="scale-x",A="mshtml",z="no-repeat",y="scale",x="scale-y",bb="qx/icon",ba="repeat",Y=".png",X="crop",W="webkit",V="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='",U='<div style="',T="repeat-y",S='<img src="',R="qx.bom.element.Decoration",N="', sizingMethod='",O="png",L="')",M='"/>',J='" style="',K="none",H=" ",I="repeat-x",P='"></div>',Q="absolute";
qx.Class.define(R,{statics:{DEBUG:false,__cN:{},__cO:qx.core.Variant.isSet(F,A),__cP:qx.core.Variant.select(F,{"mshtml":{"scale-x":true,"scale-y":true,"scale":true,"no-repeat":true},"default":null}),__cQ:{"scale-x":D,"scale-y":D,"scale":D,"repeat":E,"no-repeat":E,"repeat-x":E,"repeat-y":E},update:function(bo,bp,bq,br){var bt=this.getTagName(bq,bp);

if(bt!=bo.tagName.toLowerCase()){throw new Error("Image modification not possible because elements could not be replaced at runtime anymore!");
}var bu=this.getAttributes(bp,bq,br);

if(bt===D){bo.src=bu.src;
}if(bo.style.backgroundPosition!=C&&bu.style.backgroundPosition===undefined){bu.style.backgroundPosition=null;
}if(bo.style.clip!=C&&bu.style.clip===undefined){bu.style.clip=null;
}var bs=qx.bom.element.Style;
bs.setStyles(bo,bu.style);
},create:function(g,h,i){var j=this.getTagName(h,g);
var l=this.getAttributes(g,h,i);
var k=qx.bom.element.Style.compile(l.style);

if(j===D){return S+l.src+J+k+M;
}else{return U+k+P;
}},getTagName:function(bA,bB){if(qx.core.Variant.isSet(F,A)){if(bB&&this.__cO&&this.__cP[bA]&&qx.lang.String.endsWith(bB,Y)){return E;
}}return this.__cQ[bA];
},getAttributes:function(bv,bw,bx){if(!bx){bx={};
}
if(!bx.position){bx.position=Q;
}
if(qx.core.Variant.isSet(F,A)){bx.fontSize=0;
bx.lineHeight=0;
}else if(qx.core.Variant.isSet(F,W)){bx.WebkitUserDrag=K;
}var bz=qx.util.ResourceManager.getInstance().getImageFormat(bv)||qx.io.ImageLoader.getFormat(bv);
{};
var by;
if(this.__cO&&this.__cP[bw]&&bz===O){by=this.__cT(bx,bw,bv);
}else{if(bw===y){by=this.__cU(bx,bw,bv);
}else if(bw===B||bw===x){by=this.__cV(bx,bw,bv);
}else{by=this.__cY(bx,bw,bv);
}}return by;
},__cR:function(p,q,r){if(p.width==null&&q!=null){p.width=q+G;
}
if(p.height==null&&r!=null){p.height=r+G;
}return p;
},__cS:function(m){var n=qx.util.ResourceManager.getInstance().getImageWidth(m)||qx.io.ImageLoader.getWidth(m);
var o=qx.util.ResourceManager.getInstance().getImageHeight(m)||qx.io.ImageLoader.getHeight(m);
return {width:n,height:o};
},__cT:function(a,b,c){var f=this.__cS(c);
a=this.__cR(a,f.width,f.height);
var e=b==z?X:y;
var d=V+qx.util.ResourceManager.getInstance().toUri(c)+N+e+L;
a.filter=d;
a.backgroundImage=a.backgroundRepeat=C;
return {style:a};
},__cU:function(s,t,u){var v=qx.util.ResourceManager.getInstance().toUri(u);
var w=this.__cS(u);
s=this.__cR(s,w.width,w.height);
return {src:v,style:s};
},__cV:function(bO,bP,bQ){var bU=qx.util.ResourceManager.getInstance();
var bT=bU.isClippedImage(bQ);
var bV=this.__cS(bQ);

if(bT){var bS=bU.getData(bQ);
var bR=bU.toUri(bS[4]);

if(bP===B){bO=this.__cW(bO,bS,bV.height);
}else{bO=this.__cX(bO,bS,bV.width);
}return {src:bR,style:bO};
}else{{};

if(bP==B){bO.height=bV.height==null?null:bV.height+G;
}else if(bP==x){bO.width=bV.width==null?null:bV.width+G;
}var bR=bU.toUri(bQ);
return {src:bR,style:bO};
}},__cW:function(bk,bl,bm){var bn=qx.util.ResourceManager.getInstance().getImageHeight(bl[4]);
bk.clip={top:-bl[6],height:bm};
bk.height=bn+G;
if(bk.top!=null){bk.top=(parseInt(bk.top,10)+bl[6])+G;
}else if(bk.bottom!=null){bk.bottom=(parseInt(bk.bottom,10)+bm-bn-bl[6])+G;
}return bk;
},__cX:function(bC,bD,bE){var bF=qx.util.ResourceManager.getInstance().getImageWidth(bD[4]);
bC.clip={left:-bD[5],width:bE};
bC.width=bF+G;
if(bC.left!=null){bC.left=(parseInt(bC.left,10)+bD[5])+G;
}else if(bC.right!=null){bC.right=(parseInt(bC.right,10)+bE-bF-bD[5])+G;
}return bC;
},__cY:function(bG,bH,bI){var bN=qx.util.ResourceManager.getInstance().isClippedImage(bI);
var bM=this.__cS(bI);
if(bN&&bH!==ba){var bL=qx.util.ResourceManager.getInstance().getData(bI);
var bK=qx.bom.element.Background.getStyles(bL[4],bH,bL[5],bL[6]);

for(var bJ in bK){bG[bJ]=bK[bJ];
}
if(bM.width!=null&&bG.width==null&&(bH==T||bH===z)){bG.width=bM.width+G;
}
if(bM.height!=null&&bG.height==null&&(bH==I||bH===z)){bG.height=bM.height+G;
}return {style:bG};
}else{{};
bG=this.__cR(bG,bM.width,bM.height);
bG=this.__da(bG,bI,bH);
return {style:bG};
}},__da:function(bc,bd,be){var top=null;
var bj=null;

if(bc.backgroundPosition){var bf=bc.backgroundPosition.split(H);
bj=parseInt(bf[0]);

if(isNaN(bj)){bj=bf[0];
}top=parseInt(bf[1]);

if(isNaN(top)){top=bf[1];
}}var bi=qx.bom.element.Background.getStyles(bd,be,bj,top);

for(var bh in bi){bc[bh]=bi[bh];
}if(bc.filter){bc.filter=C;
}return bc;
},__db:function(bW){if(this.DEBUG&&qx.util.ResourceManager.getInstance().has(bW)&&bW.indexOf(bb)==-1){if(!this.__cN[bW]){qx.log.Logger.debug("Potential clipped image candidate: "+bW);
this.__cN[bW]=true;
}}},isAlphaImageLoaderEnabled:qx.core.Variant.select(F,{"mshtml":function(){return qx.bom.element.Decoration.__cO;
},"default":function(){return false;
}})}});
})();
(function(){var n="auto",m="px",l=",",k="clip:auto;",j="rect(",i=");",h="",g=")",f="qx.bom.element.Clip",e="string",b="rect(auto)",d="clip:rect(",c="clip",a="rect(auto,auto,auto,auto)";
qx.Class.define(f,{statics:{compile:function(x){if(!x){return k;
}var C=x.left;
var top=x.top;
var B=x.width;
var A=x.height;
var y,z;

if(C==null){y=(B==null?n:B+m);
C=n;
}else{y=(B==null?n:C+B+m);
C=C+m;
}
if(top==null){z=(A==null?n:A+m);
top=n;
}else{z=(A==null?n:top+A+m);
top=top+m;
}return d+top+l+y+l+z+l+C+i;
},get:function(o,p){var r=qx.bom.element.Style.get(o,c,p,false);
var w,top,u,t;
var q,s;

if(typeof r===e&&r!==n&&r!==h){r=qx.lang.String.trim(r);
if(/\((.*)\)/.test(r)){var v=RegExp.$1.split(l);
top=qx.lang.String.trim(v[0]);
q=qx.lang.String.trim(v[1]);
s=qx.lang.String.trim(v[2]);
w=qx.lang.String.trim(v[3]);
if(w===n){w=null;
}
if(top===n){top=null;
}
if(q===n){q=null;
}
if(s===n){s=null;
}if(top!=null){top=parseInt(top,10);
}
if(q!=null){q=parseInt(q,10);
}
if(s!=null){s=parseInt(s,10);
}
if(w!=null){w=parseInt(w,10);
}if(q!=null&&w!=null){u=q-w;
}else if(q!=null){u=q;
}
if(s!=null&&top!=null){t=s-top;
}else if(s!=null){t=s;
}}else{throw new Error("Could not parse clip string: "+r);
}}return {left:w||null,top:top||null,width:u||null,height:t||null};
},set:function(D,E){if(!E){D.style.clip=a;
return;
}var J=E.left;
var top=E.top;
var I=E.width;
var H=E.height;
var F,G;

if(J==null){F=(I==null?n:I+m);
J=n;
}else{F=(I==null?n:J+I+m);
J=J+m;
}
if(top==null){G=(H==null?n:H+m);
top=n;
}else{G=(H==null?n:top+H+m);
top=top+m;
}D.style.clip=j+top+l+F+l+G+l+J+g;
},reset:function(K){K.style.clip=qx.bom.client.Engine.MSHTML?b:n;
}}});
})();
(function(){var l="n-resize",k="e-resize",j="nw-resize",i="ne-resize",h="",g="cursor:",f="qx.client",e=";",d="qx.bom.element.Cursor",c="cursor",b="hand";
qx.Class.define(d,{statics:{__dc:qx.core.Variant.select(f,{"mshtml":{"cursor":b,"ew-resize":k,"ns-resize":l,"nesw-resize":i,"nwse-resize":j},"opera":{"col-resize":k,"row-resize":l,"ew-resize":k,"ns-resize":l,"nesw-resize":i,"nwse-resize":j},"default":{}}),compile:function(a){return g+(this.__dc[a]||a)+e;
},get:function(p,q){return qx.bom.element.Style.get(p,c,q,false);
},set:function(m,n){m.style.cursor=this.__dc[n]||n;
},reset:function(o){o.style.cursor=h;
}}});
})();
(function(){var u="",t="qx.client",s=";",r="filter",q="opacity:",p="opacity",o="MozOpacity",n=");",m=")",l="zoom:1;filter:alpha(opacity=",i="qx.bom.element.Opacity",k="alpha(opacity=",j="-moz-opacity:";
qx.Class.define(i,{statics:{compile:qx.core.Variant.select(t,{"mshtml":function(b){if(b>=1){return u;
}
if(b<0.00001){b=0;
}return l+(b*100)+n;
},"gecko":function(a){if(a==1){a=0.999999;
}
if(qx.bom.client.Engine.VERSION<1.7){return j+a+s;
}else{return q+a+s;
}},"default":function(w){if(w==1){return u;
}return q+w+s;
}}),set:qx.core.Variant.select(t,{"mshtml":function(D,E){var F=qx.bom.element.Style.get(D,r,qx.bom.element.Style.COMPUTED_MODE,false);
if(E>=1){D.style.filter=F.replace(/alpha\([^\)]*\)/gi,u);
return;
}
if(E<0.00001){E=0;
}if(!D.currentStyle||!D.currentStyle.hasLayout){D.style.zoom=1;
}D.style.filter=F.replace(/alpha\([^\)]*\)/gi,u)+k+E*100+m;
},"gecko":function(H,I){if(I==1){I=0.999999;
}
if(qx.bom.client.Engine.VERSION<1.7){H.style.MozOpacity=I;
}else{H.style.opacity=I;
}},"default":function(J,K){if(K==1){K=u;
}J.style.opacity=K;
}}),reset:qx.core.Variant.select(t,{"mshtml":function(B){var C=qx.bom.element.Style.get(B,r,qx.bom.element.Style.COMPUTED_MODE,false);
B.style.filter=C.replace(/alpha\([^\)]*\)/gi,u);
},"gecko":function(v){if(qx.bom.client.Engine.VERSION<1.7){v.style.MozOpacity=u;
}else{v.style.opacity=u;
}},"default":function(G){G.style.opacity=u;
}}),get:qx.core.Variant.select(t,{"mshtml":function(x,y){var z=qx.bom.element.Style.get(x,r,y,false);

if(z){var A=z.match(/alpha\(opacity=(.*)\)/);

if(A&&A[1]){return parseFloat(A[1])/100;
}}return 1.0;
},"gecko":function(f,g){var h=qx.bom.element.Style.get(f,qx.bom.client.Engine.VERSION<1.7?o:p,g,false);

if(h==0.999999){h=1.0;
}
if(h!=null){return parseFloat(h);
}return 1.0;
},"default":function(c,d){var e=qx.bom.element.Style.get(c,p,d,false);

if(e!=null){return parseFloat(e);
}return 1.0;
}})}});
})();
(function(){var x="qx.client",w="",v="boxSizing",u="box-sizing",t=":",s="border-box",r="qx.bom.element.BoxSizing",q="KhtmlBoxSizing",p="-moz-box-sizing",o="WebkitBoxSizing",k=";",n="-khtml-box-sizing",m="content-box",j="-webkit-box-sizing",h="MozBoxSizing";
qx.Class.define(r,{statics:{__dd:qx.core.Variant.select(x,{"mshtml":null,"webkit":[v,q,o],"gecko":[h],"opera":[v]}),__de:qx.core.Variant.select(x,{"mshtml":null,"webkit":[u,n,j],"gecko":[p],"opera":[u]}),__df:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__dg:function(f){var g=this.__df;
return g.tags[f.tagName.toLowerCase()]||g.types[f.type];
},compile:qx.core.Variant.select(x,{"mshtml":function(e){{};
},"default":function(a){var c=this.__de;
var b=w;

if(c){for(var i=0,l=c.length;i<l;i++){b+=c[i]+t+a+k;
}}return b;
}}),get:qx.core.Variant.select(x,{"mshtml":function(y){if(qx.bom.Document.isStandardMode(qx.dom.Node.getDocument(y))){if(!this.__dg(y)){return m;
}}return s;
},"default":function(C){var E=this.__dd;
var D;

if(E){for(var i=0,l=E.length;i<l;i++){D=qx.bom.element.Style.get(C,E[i],null,false);

if(D!=null&&D!==w){return D;
}}}return w;
}}),set:qx.core.Variant.select(x,{"mshtml":function(F,G){{};
},"default":function(z,A){var B=this.__dd;

if(B){for(var i=0,l=B.length;i<l;i++){z.style[B[i]]=A;
}}}}),reset:function(d){this.set(d,w);
}}});
})();
(function(){var k="",j="qx.client",i="hidden",h="-moz-scrollbars-none",g="overflow",f=";",e="overflowY",d=":",b="overflowX",a="overflow:",y="none",x="scroll",w="borderLeftStyle",v="borderRightStyle",u="div",r="borderRightWidth",q="overflow-y",p="borderLeftWidth",o="-moz-scrollbars-vertical",n="100px",l="qx.bom.element.Overflow",m="overflow-x";
qx.Class.define(l,{statics:{__dh:null,getScrollbarWidth:function(){if(this.__dh!==null){return this.__dh;
}var be=qx.bom.element.Style;
var bg=function(bt,bu){return parseInt(be.get(bt,bu))||0;
};
var bh=function(bR){return (be.get(bR,v)==y?0:bg(bR,r));
};
var bf=function(bI){return (be.get(bI,w)==y?0:bg(bI,p));
};
var bj=qx.core.Variant.select(j,{"mshtml":function(z){if(be.get(z,e)==i||z.clientWidth==0){return bh(z);
}return Math.max(0,z.offsetWidth-z.clientLeft-z.clientWidth);
},"default":function(bl){if(bl.clientWidth==0){var bm=be.get(bl,g);
var bn=(bm==x||bm==o?16:0);
return Math.max(0,bh(bl)+bn);
}return Math.max(0,(bl.offsetWidth-bl.clientWidth-bf(bl)));
}});
var bi=function(bG){return bj(bG)-bh(bG);
};
var t=document.createElement(u);
var s=t.style;
s.height=s.width=n;
s.overflow=x;
document.body.appendChild(t);
var c=bi(t);
this.__dh=c?c:16;
document.body.removeChild(t);
return this.__dh;
},_compile:qx.core.Variant.select(j,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(bU,bV){if(bV==i){bV=h;
}return a+bV+f;
}:
function(bP,bQ){return bP+d+bQ+f;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(bo,bp){return a+bp+f;
}:
function(A,B){return A+d+B+f;
},"default":function(ce,cf){return ce+d+cf+f;
}}),compileX:function(H){return this._compile(m,H);
},compileY:function(I){return this._compile(q,I);
},getX:qx.core.Variant.select(j,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(bq,br){var bs=qx.bom.element.Style.get(bq,g,br,false);

if(bs===h){bs=i;
}return bs;
}:
function(bJ,bK){return qx.bom.element.Style.get(bJ,b,bK,false);
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(bA,bB){return qx.bom.element.Style.get(bA,g,bB,false);
}:
function(F,G){return qx.bom.element.Style.get(F,b,G,false);
},"default":function(bX,bY){return qx.bom.element.Style.get(bX,b,bY,false);
}}),setX:qx.core.Variant.select(j,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(bN,bO){if(bO==i){bO=h;
}bN.style.overflow=bO;
}:
function(cc,cd){cc.style.overflowX=cd;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(S,T){S.style.overflow=T;
}:
function(bc,bd){bc.style.overflowX=bd;
},"default":function(bx,by){bx.style.overflowX=by;
}}),resetX:qx.core.Variant.select(j,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(bz){bz.style.overflow=k;
}:
function(R){R.style.overflowX=k;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(ca,cb){ca.style.overflow=k;
}:
function(bv,bw){bv.style.overflowX=k;
},"default":function(bH){bH.style.overflowX=k;
}}),getY:qx.core.Variant.select(j,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(C,D){var E=qx.bom.element.Style.get(C,g,D,false);

if(E===h){E=i;
}return E;
}:
function(bS,bT){return qx.bom.element.Style.get(bS,e,bT,false);
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(N,O){return qx.bom.element.Style.get(N,g,O,false);
}:
function(W,X){return qx.bom.element.Style.get(W,e,X,false);
},"default":function(J,K){return qx.bom.element.Style.get(J,e,K,false);
}}),setY:qx.core.Variant.select(j,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(L,M){if(M===i){M=h;
}L.style.overflow=M;
}:
function(P,Q){P.style.overflowY=Q;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(U,V){U.style.overflow=V;
}:
function(bL,bM){bL.style.overflowY=bM;
},"default":function(bE,bF){bE.style.overflowY=bF;
}}),resetY:qx.core.Variant.select(j,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(Y){Y.style.overflow=k;
}:
function(bk){bk.style.overflowY=k;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(ba,bb){ba.style.overflow=k;
}:
function(bC,bD){bC.style.overflowY=k;
},"default":function(bW){bW.style.overflowY=k;
}})}});
})();
(function(){var s="",r="qx.client",q="user-select",p="userSelect",o="appearance",n="style",m="MozUserModify",l="px",k="-webkit-appearance",j="styleFloat",O="-webkit-user-select",N="-moz-appearance",M="pixelHeight",L="MozAppearance",K=":",J="pixelTop",I="pixelLeft",H="text-overflow",G="-moz-user-select",F="MozUserSelect",z="qx.bom.element.Style",A="-moz-user-modify",x="-webkit-user-modify",y="WebkitUserSelect",v="-o-text-overflow",w="pixelRight",t="cssFloat",u="pixelWidth",B="pixelBottom",C=";",E="WebkitUserModify",D="WebkitAppearance";
qx.Class.define(z,{statics:{__di:{styleNames:{"float":qx.core.Variant.select(r,{"mshtml":j,"default":t}),"appearance":qx.core.Variant.select(r,{"gecko":L,"webkit":D,"default":o}),"userSelect":qx.core.Variant.select(r,{"gecko":F,"webkit":y,"default":p}),"userModify":qx.core.Variant.select(r,{"gecko":m,"webkit":E,"default":p})},cssNames:{"appearance":qx.core.Variant.select(r,{"gecko":N,"webkit":k,"default":o}),"userSelect":qx.core.Variant.select(r,{"gecko":G,"webkit":O,"default":q}),"userModify":qx.core.Variant.select(r,{"gecko":A,"webkit":x,"default":q}),"textOverflow":qx.core.Variant.select(r,{"opera":v,"default":H})},mshtmlPixel:{width:u,height:M,left:I,right:w,top:J,bottom:B},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)}}},__dj:{},compile:function(ba){var be=[];
var bi=this.__di;
var bh=bi.special;
var bf=bi.cssNames;
var bd=this.__dj;
var bg=qx.lang.String;
var name,bc,bb;

for(name in ba){bb=ba[name];

if(bb==null){continue;
}name=bf[name]||name;
if(bh[name]){be.push(bh[name].compile(bb));
}else{bc=bd[name];

if(!bc){bc=bd[name]=bg.hyphenate(name);
}be.push(bc,K,bb,C);
}}return be.join(s);
},setCss:qx.core.Variant.select(r,{"mshtml":function(bs,bt){bs.style.cssText=bt;
},"default":function(P,Q){P.setAttribute(n,Q);
}}),getCss:qx.core.Variant.select(r,{"mshtml":function(V){return V.style.cssText.toLowerCase();
},"default":function(a){return a.getAttribute(n);
}}),COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function(R,name,S,T){{};
var U=this.__di;
name=U.styleNames[name]||name;
if(T!==false&&U.special[name]){return U.special[name].set(R,S);
}else{R.style[name]=S!==null?S:s;
}},setStyles:function(bj,bk,bl){{};
var br=this.__di;
var bo=br.styleNames;
var bq=br.special;
var bm=bj.style;

for(var bp in bk){var bn=bk[bp];
var name=bo[bp]||bp;

if(bn===undefined){if(bl!==false&&bq[name]){bq[name].reset(bj);
}else{bm[name]=s;
}}else{if(bl!==false&&bq[name]){bq[name].set(bj,bn);
}else{bm[name]=bn!==null?bn:s;
}}}},reset:function(W,name,X){var Y=this.__di;
name=Y.styleNames[name]||name;
if(X!==false&&Y.special[name]){return Y.special[name].reset(W);
}else{W.style[name]=s;
}},get:qx.core.Variant.select(r,{"mshtml":function(b,name,c,d){var i=this.__di;
name=i.styleNames[name]||name;
if(d!==false&&i.special[name]){return i.special[name].get(b,c);
}if(!b.currentStyle){return b.style[name]||s;
}switch(c){case this.LOCAL_MODE:return b.style[name]||s;
case this.CASCADED_MODE:return b.currentStyle[name]||s;
default:var h=b.currentStyle[name]||s;
if(/^-?[\.\d]+(px)?$/i.test(h)){return h;
}var g=i.mshtmlPixel[name];

if(g){var e=b.style[name];
b.style[name]=h||0;
var f=b.style[g]+l;
b.style[name]=e;
return f;
}if(/^-?[\.\d]+(em|pt|%)?$/i.test(h)){throw new Error("Untranslated computed property value: "+name+". Only pixel values work well across different clients.");
}return h;
}},"default":function(bu,name,bv,bw){var bz=this.__di;
name=bz.styleNames[name]||name;
if(bw!==false&&bz.special[name]){return bz.special[name].get(bu,bv);
}switch(bv){case this.LOCAL_MODE:return bu.style[name]||s;
case this.CASCADED_MODE:if(bu.currentStyle){return bu.currentStyle[name]||s;
}throw new Error("Cascaded styles are not supported in this browser!");
default:var bx=qx.dom.Node.getDocument(bu);
var by=bx.defaultView.getComputedStyle(bu,null);
return by?by[name]:s;
}}})}});
})();
(function(){var g="CSS1Compat",f="position:absolute;width:0;height:0;width:1",e="qx.bom.Document",d="1px",c="qx.client",b="div";
qx.Class.define(e,{statics:{isQuirksMode:qx.core.Variant.select(c,{"mshtml":function(a){if(qx.bom.client.Engine.VERSION>=8){return qx.bom.client.Engine.DOCUMENT_MODE===5;
}else{return (a||window).document.compatMode!==g;
}},"webkit":function(k){if(document.compatMode===undefined){var l=(k||window).document.createElement(b);
l.style.cssText=f;
return l.style.width===d?true:false;
}else{return (k||window).document.compatMode!==g;
}},"default":function(n){return (n||window).document.compatMode!==g;
}}),isStandardMode:function(m){return !this.isQuirksMode(m);
},getWidth:function(h){var i=(h||window).document;
var j=qx.bom.Viewport.getWidth(h);
var scroll=this.isStandardMode(h)?i.documentElement.scrollWidth:i.body.scrollWidth;
return Math.max(scroll,j);
},getHeight:function(o){var p=(o||window).document;
var q=qx.bom.Viewport.getHeight(o);
var scroll=this.isStandardMode(o)?p.documentElement.scrollHeight:p.body.scrollHeight;
return Math.max(scroll,q);
}}});
})();
(function(){var k="qx.client",j="qx.bom.Viewport";
qx.Class.define(j,{statics:{getWidth:qx.core.Variant.select(k,{"opera":function(f){if(qx.bom.client.Engine.VERSION<9.5){return (f||window).document.body.clientWidth;
}else{var g=(f||window).document;
return qx.bom.Document.isStandardMode(f)?g.documentElement.clientWidth:g.body.clientWidth;
}},"webkit":function(s){if(qx.bom.client.Engine.VERSION<523.15){return (s||window).innerWidth;
}else{var t=(s||window).document;
return qx.bom.Document.isStandardMode(s)?t.documentElement.clientWidth:t.body.clientWidth;
}},"default":function(d){var e=(d||window).document;
return qx.bom.Document.isStandardMode(d)?e.documentElement.clientWidth:e.body.clientWidth;
}}),getHeight:qx.core.Variant.select(k,{"opera":function(b){if(qx.bom.client.Engine.VERSION<9.5){return (b||window).document.body.clientHeight;
}else{var c=(b||window).document;
return qx.bom.Document.isStandardMode(b)?c.documentElement.clientHeight:c.body.clientHeight;
}},"webkit":function(h){if(qx.bom.client.Engine.VERSION<523.15){return (h||window).innerHeight;
}else{var i=(h||window).document;
return qx.bom.Document.isStandardMode(h)?i.documentElement.clientHeight:i.body.clientHeight;
}},"default":function(m){var n=(m||window).document;
return qx.bom.Document.isStandardMode(m)?n.documentElement.clientHeight:n.body.clientHeight;
}}),getScrollLeft:qx.core.Variant.select(k,{"mshtml":function(o){var p=(o||window).document;
return p.documentElement.scrollLeft||p.body.scrollLeft;
},"default":function(a){return (a||window).pageXOffset;
}}),getScrollTop:qx.core.Variant.select(k,{"mshtml":function(q){var r=(q||window).document;
return r.documentElement.scrollTop||r.body.scrollTop;
},"default":function(l){return (l||window).pageYOffset;
}})}});
})();
(function(){var b="CSS1Compat",a="qx.bom.client.Feature";
qx.Bootstrap.define(a,{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:",CSS_POINTER_EVENTS:"pointerEvents" in document.documentElement.style,__dk:function(){this.QUIRKS_MODE=this.__dl();
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;
},__dl: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!==b;
}}},defer:function(c){c.__dk();
}});
})();
(function(){var w="/",v="mshtml",u="qx.client",t="",s="?",r="string",q="qx.util.ResourceManager",p="singleton",o="qx.isSource";
qx.Class.define(q,{extend:qx.core.Object,type:p,statics:{__dm:qx.$$resources||{},__dn:{}},members:{has:function(x){return !!arguments.callee.self.__dm[x];
},getData:function(A){return arguments.callee.self.__dm[A]||null;
},getImageWidth:function(y){var z=arguments.callee.self.__dm[y];
return z?z[0]:null;
},getImageHeight:function(c){var d=arguments.callee.self.__dm[c];
return d?d[1]:null;
},getImageFormat:function(B){var C=arguments.callee.self.__dm[B];
return C?C[2]:null;
},isClippedImage:function(a){var b=arguments.callee.self.__dm[a];
return b&&b.length>4;
},toUri:function(k){if(k==null){return k;
}var l=arguments.callee.self.__dm[k];

if(!l){return k;
}
if(typeof l===r){var n=l;
}else{var n=l[3];
if(!n){return k;
}}var m=t;

if(qx.core.Variant.isSet(u,v)&&qx.bom.client.Feature.SSL){m=arguments.callee.self.__dn[n];
}return m+qx.$$libraries[n].resourceUri+w+k;
}},defer:function(e){if(qx.core.Variant.isSet(u,v)){if(qx.bom.client.Feature.SSL){for(var i in qx.$$libraries){var g=qx.$$libraries[i].resourceUri;
if(g.match(/^\/\//)!=null){e.__dn[i]=window.location.protocol;
}else if(g.match(/^\.\//)!=null&&qx.core.Setting.get(o)){var f=document.URL;
e.__dn[i]=f.substring(0,f.lastIndexOf(w));
}else if(g.match(/^http/)!=null){}else{var j=window.location.href.indexOf(s);
var h;

if(j==-1){h=window.location.href;
}else{h=window.location.href.substring(0,j);
}e.__dn[i]=h.substring(0,h.lastIndexOf(w)+1);
}}}}}});
})();
(function(){var h="qx.client",g="load",f="qx.io.ImageLoader";
qx.Bootstrap.define(f,{statics:{__do:{},__dp:{width:null,height:null},__dq:/\.(png|gif|jpg|jpeg|bmp)\b/i,isLoaded:function(G){var H=this.__do[G];
return !!(H&&H.loaded);
},isFailed:function(m){var n=this.__do[m];
return !!(n&&n.failed);
},isLoading:function(z){var A=this.__do[z];
return !!(A&&A.loading);
},getFormat:function(c){var d=this.__do[c];
return d?d.format:null;
},getSize:function(j){var k=this.__do[j];
return k?
{width:k.width,height:k.height}:this.__dp;
},getWidth:function(E){var F=this.__do[E];
return F?F.width:null;
},getHeight:function(C){var D=this.__do[C];
return D?D.height:null;
},load:function(o,p,q){var r=this.__do[o];

if(!r){r=this.__do[o]={};
}if(p&&!q){q=window;
}if(r.loaded||r.loading||r.failed){if(p){if(r.loading){r.callbacks.push(p,q);
}else{p.call(q,o,r);
}}}else{r.loading=true;
r.callbacks=[];

if(p){r.callbacks.push(p,q);
}var t=new Image();
var s=qx.lang.Function.listener(this.__dr,this,t,o);
t.onload=s;
t.onerror=s;
t.src=o;
}},__dr:qx.event.GlobalError.observeMethod(function(event,u,v){var w=this.__do[v];
if(event.type===g){w.loaded=true;
w.width=this.__ds(u);
w.height=this.__dt(u);
var x=this.__dq.exec(v);

if(x!=null){w.format=x[1];
}}else{w.failed=true;
}u.onload=u.onerror=null;
var y=w.callbacks;
delete w.loading;
delete w.callbacks;
for(var i=0,l=y.length;i<l;i+=2){y[i].call(y[i+1],v,w);
}}),__ds:qx.core.Variant.select(h,{"gecko":function(a){return a.naturalWidth;
},"default":function(b){return b.width;
}}),__dt:qx.core.Variant.select(h,{"gecko":function(B){return B.naturalHeight;
},"default":function(e){return e.height;
}})}});
})();
(function(){var m="number",l="0",k="px",j=";",i="background-image:url(",h=");",g="",f=")",e="background-repeat:",d=" ",a="qx.bom.element.Background",c="url(",b="background-position:";
qx.Class.define(a,{statics:{__du:[i,null,h,b,null,j,e,null,j],__dv:{backgroundImage:null,backgroundPosition:null,backgroundRepeat:null},__dw:function(t,top){var u=qx.bom.client.Engine;

if(u.GECKO&&u.VERSION<1.9&&t==top&&typeof t==m){top+=0.01;
}
if(t){var v=(typeof t==m)?t+k:t;
}else{v=l;
}
if(top){var w=(typeof top==m)?top+k:top;
}else{w=l;
}return v+d+w;
},compile:function(x,y,z,top){var A=this.__dw(z,top);
var B=qx.util.ResourceManager.getInstance().toUri(x);
var C=this.__du;
C[1]=B;
C[4]=A;
C[7]=y;
return C.join(g);
},getStyles:function(n,o,p,top){if(!n){return this.__dv;
}var q=this.__dw(p,top);
var r=qx.util.ResourceManager.getInstance().toUri(n);
var s={backgroundPosition:q,backgroundImage:c+r+f};

if(o!=null){s.backgroundRepeat=o;
}return s;
},set:function(D,E,F,G,top){var H=this.getStyles(E,F,G,top);

for(var I in H){D.style[I]=H[I];
}}}});
})();
(function(){var j="_applyTheme",i="qx.theme.manager.Color",h="Theme",g="changeTheme",f="string",e="singleton";
qx.Class.define(i,{type:e,extend:qx.util.ValueManager,properties:{theme:{check:h,nullable:true,apply:j,event:g}},members:{_applyTheme:function(k){var l={};

if(k){var m=k.colors;
var n=qx.util.ColorUtil;
var o;

for(var p in m){o=m[p];

if(typeof o===f){if(!n.isCssString(o)){throw new Error("Could not parse color: "+o);
}}else if(o instanceof Array){o=n.rgbToRgbString(o);
}else{throw new Error("Could not parse color: "+o);
}l[p]=o;
}}this._setDynamic(l);
},resolve:function(a){var d=this._dynamic;
var b=d[a];

if(b){return b;
}var c=this.getTheme();

if(c!==null&&c.colors[a]){return d[a]=c.colors[a];
}return a;
},isDynamic:function(q){var s=this._dynamic;

if(q&&(s[q]!==undefined)){return true;
}var r=this.getTheme();

if(r!==null&&q&&(r.colors[q]!==undefined)){s[q]=r.colors[q];
return true;
}return false;
}}});
})();
(function(){var m=",",l="rgb(",k=")",j="qx.theme.manager.Color",h="qx.util.ColorUtil";
qx.Class.define(h,{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(y){return this.NAMED[y]!==undefined;
},isSystemColor:function(F){return this.SYSTEM[F]!==undefined;
},supportsThemes:function(){return qx.Class.isDefined(j);
},isThemedColor:function(G){if(!this.supportsThemes()){return false;
}return qx.theme.manager.Color.getInstance().isDynamic(G);
},stringToRgb:function(I){if(this.supportsThemes()&&this.isThemedColor(I)){var I=qx.theme.manager.Color.getInstance().resolveDynamic(I);
}
if(this.isNamedColor(I)){return this.NAMED[I];
}else if(this.isSystemColor(I)){throw new Error("Could not convert system colors to RGB: "+I);
}else if(this.isRgbString(I)){return this.__dx();
}else if(this.isHex3String(I)){return this.__dz();
}else if(this.isHex6String(I)){return this.__dA();
}throw new Error("Could not parse color: "+I);
},cssStringToRgb:function(H){if(this.isNamedColor(H)){return this.NAMED[H];
}else if(this.isSystemColor(H)){throw new Error("Could not convert system colors to RGB: "+H);
}else if(this.isRgbString(H)){return this.__dx();
}else if(this.isRgbaString(H)){return this.__dy();
}else if(this.isHex3String(H)){return this.__dz();
}else if(this.isHex6String(H)){return this.__dA();
}throw new Error("Could not parse color: "+H);
},stringToRgbString:function(w){return this.rgbToRgbString(this.stringToRgb(w));
},rgbToRgbString:function(D){return l+D[0]+m+D[1]+m+D[2]+k;
},rgbToHexString:function(T){return (qx.lang.String.pad(T[0].toString(16).toUpperCase(),2)+qx.lang.String.pad(T[1].toString(16).toUpperCase(),2)+qx.lang.String.pad(T[2].toString(16).toUpperCase(),2));
},isValidPropertyValue:function(x){return this.isThemedColor(x)||this.isNamedColor(x)||this.isHex3String(x)||this.isHex6String(x)||this.isRgbString(x);
},isCssString:function(v){return this.isSystemColor(v)||this.isNamedColor(v)||this.isHex3String(v)||this.isHex6String(v)||this.isRgbString(v);
},isHex3String:function(E){return this.REGEXP.hex3.test(E);
},isHex6String:function(bh){return this.REGEXP.hex6.test(bh);
},isRgbString:function(e){return this.REGEXP.rgb.test(e);
},isRgbaString:function(u){return this.REGEXP.rgba.test(u);
},__dx:function(){var s=parseInt(RegExp.$1,10);
var o=parseInt(RegExp.$2,10);
var n=parseInt(RegExp.$3,10);
return [s,o,n];
},__dy:function(){var S=parseInt(RegExp.$1,10);
var R=parseInt(RegExp.$2,10);
var Q=parseInt(RegExp.$3,10);
return [S,R,Q];
},__dz:function(){var d=parseInt(RegExp.$1,16)*17;
var c=parseInt(RegExp.$2,16)*17;
var a=parseInt(RegExp.$3,16)*17;
return [d,c,a];
},__dA:function(){var B=(parseInt(RegExp.$1,16)*16)+parseInt(RegExp.$2,16);
var A=(parseInt(RegExp.$3,16)*16)+parseInt(RegExp.$4,16);
var z=(parseInt(RegExp.$5,16)*16)+parseInt(RegExp.$6,16);
return [B,A,z];
},hex3StringToRgb:function(bi){if(this.isHex3String(bi)){return this.__dz(bi);
}throw new Error("Invalid hex3 value: "+bi);
},hex6StringToRgb:function(C){if(this.isHex6String(C)){return this.__dA(C);
}throw new Error("Invalid hex6 value: "+C);
},hexStringToRgb:function(P){if(this.isHex3String(P)){return this.__dz(P);
}
if(this.isHex6String(P)){return this.__dA(P);
}throw new Error("Invalid hex value: "+P);
},rgbToHsb:function(U){var W,X,ba;
var bg=U[0];
var bd=U[1];
var V=U[2];
var bf=(bg>bd)?bg:bd;

if(V>bf){bf=V;
}var Y=(bg<bd)?bg:bd;

if(V<Y){Y=V;
}ba=bf/255.0;

if(bf!=0){X=(bf-Y)/bf;
}else{X=0;
}
if(X==0){W=0;
}else{var bc=(bf-bg)/(bf-Y);
var be=(bf-bd)/(bf-Y);
var bb=(bf-V)/(bf-Y);

if(bg==bf){W=bb-be;
}else if(bd==bf){W=2.0+bc-bb;
}else{W=4.0+be-bc;
}W=W/6.0;

if(W<0){W=W+1.0;
}}return [Math.round(W*360),Math.round(X*100),Math.round(ba*100)];
},hsbToRgb:function(J){var i,f,p,q,t;
var K=J[0]/360;
var L=J[1]/100;
var M=J[2]/100;

if(K>=1.0){K%=1.0;
}
if(L>1.0){L=1.0;
}
if(M>1.0){M=1.0;
}var N=Math.floor(255*M);
var O={};

if(L==0.0){O.red=O.green=O.blue=N;
}else{K*=6.0;
i=Math.floor(K);
f=K-i;
p=Math.floor(N*(1.0-L));
q=Math.floor(N*(1.0-(L*f)));
t=Math.floor(N*(1.0-(L*(1.0-f))));

switch(i){case 0:O.red=N;
O.green=t;
O.blue=p;
break;
case 1:O.red=q;
O.green=N;
O.blue=p;
break;
case 2:O.red=p;
O.green=N;
O.blue=t;
break;
case 3:O.red=p;
O.green=q;
O.blue=N;
break;
case 4:O.red=t;
O.green=p;
O.blue=N;
break;
case 5:O.red=N;
O.green=p;
O.blue=q;
break;
}}return [O.red,O.green,O.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 o="qx.event.handler.Window";
qx.Class.define(o,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(s){arguments.callee.base.call(this);
this._manager=s;
this._window=s.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(h,i){},registerEvent:function(p,q,r){},unregisterEvent:function(b,c,d){},_initWindowObserver:function(){this._onNativeWrapper=qx.lang.Function.listener(this._onNative,this);
var g=qx.event.handler.Window.SUPPORTED_TYPES;

for(var f in g){qx.bom.Event.addNativeListener(this._window,f,this._onNativeWrapper);
}},_stopWindowObserver:function(){var u=qx.event.handler.Window.SUPPORTED_TYPES;

for(var t in u){qx.bom.Event.removeNativeListener(this._window,t,this._onNativeWrapper);
}},_onNative:qx.event.GlobalError.observeMethod(function(e){if(this.isDisposed()){return;
}var k=this._window;

try{var n=k.document;
}catch(e){return ;
}var l=n.documentElement;
var j=e.target||e.srcElement;

if(j==null||j===k||j===n||j===l){var event=qx.event.Registration.createEvent(e.type,qx.event.type.Native,[e,k]);
qx.event.Registration.dispatchEvent(k,event);
var m=event.getReturnValue();

if(m!=null){e.returnValue=m;
return m;
}}})},destruct:function(){this._stopWindowObserver();
this._manager=this._window=null;
},defer:function(a){qx.event.Registration.addHandler(a);
}});
})();
(function(){var g="ready",f="qx.application",d="beforeunload",c="qx.core.Init",b="shutdown";
qx.Class.define(c,{statics:{getApplication:function(){return this.__dC||null;
},__dB: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 k=qx.core.Setting.get(f);
var l=qx.Class.getByName(k);

if(l){this.__dC=new l;
var j=new Date;
this.__dC.main();
qx.log.Logger.debug(this,"Main runtime: "+(new Date-j)+"ms");
var j=new Date;
this.__dC.finalize();
qx.log.Logger.debug(this,"Finalize runtime: "+(new Date-j)+"ms");
}else{qx.log.Logger.warn("Missing application class: "+k);
}},__dD:function(e){var h=this.__dC;

if(h){e.setReturnValue(h.close());
}},__dE:function(){var a=this.__dC;

if(a){a.terminate();
}}},defer:function(i){qx.event.Registration.addListener(window,g,i.__dB,i);
qx.event.Registration.addListener(window,b,i.__dE,i);
qx.event.Registration.addListener(window,d,i.__dD,i);
}});
})();
(function(){var a="qx.application.IApplication";
qx.Interface.define(a,{members:{main:function(){},finalize:function(){},close:function(){},terminate:function(){}}});
})();
(function(){var a="qx.locale.MTranslation";
qx.Mixin.define(a,{members:{tr:function(b,c){var d=qx.locale.Manager;

if(d){return d.tr.apply(d,arguments);
}throw new Error("To enable localization please include qx.locale.Manager into your build!");
},trn:function(e,f,g,h){var i=qx.locale.Manager;

if(i){return i.trn.apply(i,arguments);
}throw new Error("To enable localization please include qx.locale.Manager into your build!");
},trc:function(l,m,n){var o=qx.locale.Manager;

if(o){return o.trc.apply(o,arguments);
}throw new Error("To enable localization please include qx.locale.Manager into your build!");
},marktr:function(j){var k=qx.locale.Manager;

if(k){return k.marktr.apply(k,arguments);
}throw new Error("To enable localization please include qx.locale.Manager into your build!");
}}});
})();
(function(){var b="abstract",a="qx.application.AbstractGui";
qx.Class.define(a,{type:b,extend:qx.core.Object,implement:[qx.application.IApplication],include:qx.locale.MTranslation,members:{__dF:null,_createRootWidget:function(){throw new Error("Abstract method call");
},getRoot:function(){return this.__dF;
},main:function(){qx.theme.manager.Meta.getInstance().initialize();
qx.ui.tooltip.Manager.getInstance();
this.__dF=this._createRootWidget();
},finalize:function(){this.render();
},render:function(){qx.ui.core.queue.Manager.flush();
},close:function(c){},terminate:function(){}},destruct:function(){this.__dF=null;
}});
})();
(function(){var a="qx.application.Standalone";
qx.Class.define(a,{extend:qx.application.AbstractGui,members:{_createRootWidget:function(){return new qx.ui.root.Application(document);
}}});
})();
(function(){var dJ='height',dI='width',dH="white",dG="atom",dF="10%",dE="appear",dD="30%",dC="normal",dB="changeSessionKey",dA="mouseover",cS="app-close-all",cR="markets",cQ="app-close-all-windows",cP="app-close-all-tabs",cO="stores",cN="hovered",cM='sn',cL="25%",cK="grfind",cJ="item-view",dQ='tooltip-key',dR='st',dO='name',dP="8%",dM="2%",dN="20%",dK='id',dL="app-show-desktop",dS="",dT="general",ds='label',dr="grfind-background",du="Close All Tabs & Windows",dt="Money",dw="Movies",dv="application/json",dy="grFind",dx="fabric",dq="grfind.Application",dp="The total time to load this page was ",bA=" seconds.  The time that it took to draw the page once downloaded was ",bB="-1",bC='open-flag',bD="houses",bE="Houses",bF="12%",bG="load",bH="minimizeWindows",bI="Apartments",bJ="  [",dX="userLogout",dW="start",dV="resource/grfind/tooltips/",dU="baseCanvas appeared",ec="highlight-box",eb="14px sans-serif italic",ea="downloadtime [",dY="mouseout",ee="application-header-contact-us",ed="application-header-login",cj="General",ck="General Stores <br/> books, fabric, kitchen, etc...",ch="Application - unknown button was pressed ",ci="application-context-menu",cn="Vehicles - cars & trucks",co="General Question",cl="ms]",cm="15px sans-serif italic",cf=".html",cg=" seconds.<br/><br/>The download time was ",bR="visible",bQ="finalize",bT="cars",bS="15%",bN="application-header-faq",bM="apartments",bP="group",bO="nojs",bL="vehicles",bK="Close All Windows",ct="application-repair-database",cu="kitchen",cv="Cannot calculate window position - probable reload grFind",cw='store-type',cp="POST",cq="Vehicles",cr="land",cs='help',cx="Fabric",cy="default",cc="application-header-quick-add",cb="application-header-manage",ca="books",bY='left',bX='top',bW="click",bV="Books",bU="ms]\n",ce="Cars",cd="Close All Tabs",cz="Show Desktop",cA="movies",cB="\n",cC="userLogin",cD="music",cE="Excessive Load Time Message",cF="5%",cG="realestate",cH="resource/images/grfind/copyright.jpg",cI="contextmenu",cW="saveLoadTimes",cV="Music",cU="application-header-logout",cT="Land",db="trucks",da="Message",cY='repair-action',cX="Trucks",dd=" seconds.<br/><br/>  This is not normal or acceptable.  Please use the <i>Contact grFind</i> button on the top toolbar to let us know if grFind  continues to load this slow on your system.<br/><br/>grFind should load in under 10 seconds on an average computer with a broadband connection.  A typical loadtime is 3 to 4 seconds.",dc="No Javascript",dk="application-no-javascript",dl="yellow",di="Real Estate - apartments, houses & land",dj="small",dg="money",dh="Real Estate",de="closeWindows",df="data=",dm="Kitchen",dn="0000000000",dz=",";
qx.Class.define(dq,{extend:qx.application.Standalone,properties:{sessionKey:{init:null,event:dB},accountReferenceKey:{init:null},userStoreNumber:{init:null},userName:{init:null},floatingEmail:{init:null},storeList:{init:[]},scope:{init:null},market:{init:null},marketName:{init:null},storeName:{init:null}},members:{_marketList:[[cj,dT,ck],[dh,cG,di],[cq,bL,cn]],_marketHash:{'general':[[bV,ca],[cx,dx],[dm,cu],[dt,dg],[dw,cA],[cV,cD]],'realestate':[[bI,bM],[bE,bD],[cT,cr]],'vehicles':[[ce,bT],[cX,db]]},doLogin:function(){if(!this.loginWindow){this.loginWindow=new grfind.window.LoginWindow();
this.doc.add(this.loginWindow,{top:dN,left:dD});
}this.loginWindow.open();
this.loginWindow._initialize();
},updateTimer:function(bo){var t=new Date().getTime()-this.APPSTARTED;
this.debugTextArea.setValue(this.debugTextArea.getValue()+bo+bJ+t+bU);
},message:function(bn){if(!this.messageWindow){this.messageWindow=new grfind.window.MessageWindow();
this.baseCanvas.add(this.messageWindow,{top:dD,left:dD});
}this.messageWindow._writeMessage(bn);
this.messageWindow.open();
},userMessage:function(bg,bh){if(!this.userMessageWindow){this.userMessageWindow=new grfind.window.UserMessageWindow();
var bi=this.calculateWidthAndHeight(this.doc,0.4,0.4);
this.userMessageWindow.set({width:bi[dI],height:bi[dJ]});
this.baseCanvas.add(this.userMessageWindow,{top:cL,left:cL});
}bh?this.userMessageWindow.setCaption(bh):this.userMessageWindow.setCaption(da);
this.userMessageWindow._writeMessage(bg);
this.userMessageWindow.open();
},calculateWidthAndHeight:function(bx,by,bz){if(bx){var w=bx.getBounds()[dI];
var h=bx.getBounds()[dJ];

if(w&&h&&by&&bz){if(w>0&&h>0&&by>0&&bz>0){return {'width':w*by,'height':h*bz};
}else{return {'width':600,'height':400};
}}else{return {'width':600,'height':400};
}}else{this.userMessage(cv);
}},highlightOnMouseOver:function(bm){bm.set({appearance:ec});
bm.addListener(dA,function(e){e.getCurrentTarget().removeState(dC);
e.getCurrentTarget().addState(cN);
});
bm.addListener(dY,function(e){e.getCurrentTarget().removeState(cN);
e.getCurrentTarget().addState(dC);
});
},createTooltip:function(Q,R,S,T){if(Q&&S){T?T=parseInt(T):T=0;
Q.setToolTip(new qx.ui.tooltip.ToolTip(S).set({rich:true,maxWidth:350,padding:8,showTimeout:T,hideTimeout:10000,font:qx.bom.Font.fromString(cm)}));

if(R){Q.setUserData(dQ,dV+R+cf);
Q.addListenerOnce(dA,function(e){var bj=e.getCurrentTarget().getUserData(dQ);
var bk=e.getCurrentTarget().getToolTip();

if(bk&&R){var bl=new qx.io2.HttpRequest(bj);
bl.addListener(bG,function(e){bl.getResponseText()?bk.setLabel(bl.getResponseText()):null;
qx.ui.core.queue.Manager.flush();
});
bl.send();
}},this);
}}},_createCosmeticCanvas:function(a,b){!b?b=null:null;
a.set({padding:4,backgroundColor:dH});
var c=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({backgroundColor:dH});
var d=new qx.ui.groupbox.GroupBox(b).set({contentPadding:3});
d.setLayout(new qx.ui.layout.Canvas());
d.add(a,{edge:0});
c.add(d,{edge:5});
return c;
},_toggleWindowVisibility:function(w){if(w&&w.getVisibility()==bR){w.close();
return false;
}else{w.open();
return true;
}},_saveLoadTimes:function(){var bu=this.loadTime-this.APPSTARTED;
var bs=(this.loadTime-this.APPSTARTED)+this.downLoadTime;

try{var bv=bs/1000;
var bp=bu/1000;
var bq=this.downLoadTime/1000;
var bt=dp+bv+cg+bq+bA+bp+dd;

if(bv>12){this.userMessage(bt,cE);
}}catch(J){}var bw={'total-load-time':bs,'download-time':this.downLoadTime,'render-time':bu,'engine':qx.bom.client.Engine.NAME,'version':qx.bom.client.Engine.FULLVERSION,'platform':qx.bom.client.Platform.NAME,'os':qx.bom.client.System.NAME};
var br=new qx.io2.HttpRequest();
br.setUrl(cW);
br.setMethod(cp);
br.setMime(dv);
br.setTimeout(2000);

try{bw=qx.util.Json.stringify(bw);
br.setData(df+encodeURIComponent(bw));
br.send();
}catch(e){return null;
}},main:function(){arguments.callee.base.call(this);
var k=this;
var F=k.doc=k.getRoot().set({padding:0,backgroundColor:dH});
qx.log.appender.Native;
function E(U,V){switch(U){case dk:{if(!this.noJavascriptWindow){this.noJavascriptWindow=new qx.ui.window.Window(dc);
this.noJavascriptWindow.set({useMoveFrame:true,showMinimize:false,resizableTop:false});
this.noJavascriptWindow.setLayout(new qx.ui.layout.Grow());
var W=new qx.ui.container.Composite(new qx.ui.layout.Grow());
W.set({padding:5,backgroundColor:dH});
var bc=new qx.ui.embed.Iframe(bO);
bc.set({decorator:null});
W.add(bc);
this.noJavascriptWindow.add(W);
var bd=k.calculateWidthAndHeight(k.doc,0.7,0.7);
this.noJavascriptWindow.set({width:bd[dI],height:bd[dJ]});
k.desktop.add(this.noJavascriptWindow,{top:bF,left:bS});
}this._toggleWindowVisibility(this.noJavascriptWindow);
};
break;
case ee:{if(!this.dialogWindow){this.dialogWindow=new grfind.window.DialogWindow();
var bd=k.calculateWidthAndHeight(k.doc,0.6,0.6);
this.dialogWindow.set({width:bd[dI],height:bd[dJ]});
k.desktop.add(this.dialogWindow,{top:dF,left:dN});
}this._toggleWindowVisibility(this.dialogWindow);
this.dialogWindow._initialize(dy,dn,cK,co,k.getFloatingEmail());
};
break;
case bN:{if(!k.faqWindow){k.faqWindow=new grfind.window.FaqWindow();
var bd=k.calculateWidthAndHeight(k.doc,0.8,0.8);
k.faqWindow.set({width:bd[dI],height:bd[dJ]});
k.desktop.add(k.faqWindow,{top:dF,left:dF});
}this._toggleWindowVisibility(this.faqWindow);
};
break;
case cc:{if(!this.quickAddWindow){this.quickAddWindow=new grfind.window.QuickAddWindow();
var bd=k.calculateWidthAndHeight(k.doc,0.9,0.9);
this.quickAddWindow.set({width:bd[dI],height:bd[dJ]});
k.desktop.add(this.quickAddWindow,{edge:12});
}var bb=dT;
var Y=V;
this._toggleWindowVisibility(this.quickAddWindow)?this.quickAddWindow._initialize(Y):null;
};
break;
case cb:{if(!k.manageWindow){k.manageWindow=new grfind.manage.window.ManageWindow();
var bd=k.calculateWidthAndHeight(k.doc,0.95,0.95);
k.manageWindow.set({width:bd[dI],height:bd[dJ]});
k.desktop.add(k.manageWindow,{top:dM,left:dM});
}this._toggleWindowVisibility(this.manageWindow);
k.manageWindow._initialize();
};
break;
case ct:{if(!k.databaseRepairWindow){k.databaseRepairWindow=new grfind.window.DatabaseRepairWindow();
var bd=k.calculateWidthAndHeight(k.doc,0.8,0.8);
k.databaseRepairWindow.set({width:bd[dI],height:bd[dJ]});
k.desktop.add(k.databaseRepairWindow,{top:dP,left:dP});
}var be=V[cw];
var ba=V[cY];
var X=V[bC];
X?k.databaseRepairWindow.open():null;
k.databaseRepairWindow._initialize(be,ba);
};
break;
case ed:{this.doLogin();
};
break;
case cU:{this.setSessionKey(null);
};
break;
case ci:{try{y.moveTo(V.getBounds()[bY],V.getBounds()[bX]+30);
}catch(f){}y?y.show():null;
};
break;
case dL:{C();
};
break;
case cP:{k.applicationBody._removeAllTabs();
};
break;
case cQ:{j();
};
break;
case cS:{j();
k.applicationBody._removeAllTabs();
};
break;
default:{this.message(ch+U);
};
}}k._doButton=E;
function j(){k.dialogWindow?k.dialogWindow.close():null;
k.creditsWindow?k.creditsWindow.close():null;
k.faqWindow?k.faqWindow.close():null;
k.quickAddWindow?k.quickAddWindow.close():null;
k.manageWindow?k.manageWindow.close():null;
k.messageWindow?k.messageWindow.close():null;
k.userMessageWindow?k.userMessageWindow.close():null;
k.loginWindow?k.loginWindow.close():null;
k.createStoreWindow?k.createStoreWindow.close():null;
k.fireEvent(de);
}function C(){k.dialogWindow?k.dialogWindow.close():null;
k.creditsWindow?k.creditsWindow.close():null;
k.faqWindow?k.faqWindow.close():null;
k.quickAddWindow?k.quickAddWindow.close():null;
k.manageWindow?k.manageWindow.close():null;
k.messageWindow?k.messageWindow.close():null;
k.userMessageWindow?k.userMessageWindow.close():null;
k.loginWindow?k.loginWindow.close():null;
k.createStoreWindow?k.createStoreWindow.close():null;
k.fireEvent(bH);
}function B(){var N=new qx.ui.popup.Popup(new qx.ui.layout.VBox());
N.set({padding:5,decorator:bP,font:cy});
var K=dj;
var O=new grfind.Button(k,dG,dL,cz,null,K);
var M=new grfind.Button(k,dG,cP,cd,null,K);
var L=new grfind.Button(k,dG,cQ,bK,null,K);
var P=new grfind.Button(k,dG,cS,du,null,K);
N.addListener(bW,function(e){e.getCurrentTarget().hide();
});
N.add(O);
N.add(M);
N.add(L);
N.add(P);
return N;
}this.debugTextArea=new qx.ui.form.TextArea(dS).set({backgroundColor:dl,height:300,width:400});
this.downLoadTime=qx.Bootstrap.LOADSTART-window.JSREQUESTTIME;
var G=ea+this.downLoadTime+cl;
this.debugTextArea.setValue(this.debugTextArea.getValue()+G+cB);
this.APPSTARTED=new Date().getTime();
this.updateTimer(dW);
this.windowMaker=new grfind.WindowMaker();
this.baseCanvas=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
this.baseCanvas.set({padding:10,decorator:dr});
this.windowManager=new qx.ui.window.Manager();
this.desktop=new qx.ui.window.Desktop(this.windowManager);
this.desktop.set({decorator:dr});
var p=new qx.ui.basic.Image(cH).set({padding:[38,0,0,0]});
var A=new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
var z=new grfind.ApplicationHeader();
var y=B();
var v=new qx.ui.container.Composite(new qx.ui.layout.HBox());
this.baseCanvas.addListener(cI,function(e){y.placeToMouse(e);
y.show();
});
this.baseCanvas.addListener(dE,function(e){this.loadTime=new Date().getTime();
this.updateTimer(dU);
this._saveLoadTimes();
},this);
this.addListener(dB,function(e){if(e.getData()){this.fireEvent(cC);
}else{this.loginWindow._logoutOfServer();
this.setAccountReferenceKey(null);
this.setUserStoreNumber(bB);
this.setUserName(null);
this.setFloatingEmail(null);
this.setStoreList([]);
this.fireEvent(dX);
}});
var q=window.KWARGS;
switch(window.SCOPE){case cR:{this.setScope(cR);
var o=new grfind.ApplicationBody(window.MARKETNAME,window.MARKETLABEL);
v.add(o,{flex:1});
this.setMarket(o);
this.setMarketName(window.MARKETNAME);
};
break;
case cO:{this.setScope(cO);
var u=new grfind.StoreCanvas(window.STORENAME,window.STORELABEL);
v.add(u,{flex:1});
this.setStoreName(window.STORENAME);
};
break;
default:{this.setScope(cK);
this.mainTabView=new qx.ui.tabview.TabView();
this.mainTabView.set({font:qx.bom.Font.fromString(eb)});
var m=this._marketList;

for(var x=0;x<m.length;x++){var I=new qx.ui.tabview.Page(m[x][0]);
I.setLayout(new qx.ui.layout.Canvas());

if(x==0){I.add(new grfind.ApplicationBody(m[x][1],m[x][0]),{edge:0});
}var s=I.getButton();
s.setUserData(cs,m[x][2]);
this.createTooltip(s,null,m[x][2]);
I.setUserData(dO,m[x][1]);
I.setUserData(ds,m[x][0]);
I.addListener(dE,function(e){if(!e.getCurrentTarget().hasChildren()){var i=e.getCurrentTarget();
var name=i.getUserData(dO);
var g=i.getUserData(ds);
i.add(new grfind.ApplicationBody(name,g),{edge:0});
}},this);
this.mainTabView.add(I);
}v.add(this.mainTabView,{flex:1});
};
}v.add(p);
A.add(z,{flex:0});
A.add(v,{flex:1});
A.add(this.windowMaker);
this.desktop.add(A,{edge:0});
this.baseCanvas.add(this.desktop,{edge:0});
F.add(this.baseCanvas,{edge:0});
var l=null;
var r=null;
var D=null;
q[cM]?l=q[cM]:null;
q[dR]?r=q[dR]:null;
q[dK]?D=q[dK]:null;

if(l&&r&&D){var n=D.split(dz);
var H=[];

for(x=0;x<n.length;x++){H.push([l,r,dS,n[x]]);
}var w=this.windowMaker._createWindow({'window-type':cJ,'store-type':r});
w.addListenerOnce(dE,function(e){var bf=this.calculateWidthAndHeight(this.doc,0.8,0.8);
w.set({width:bf[dI],height:bf[dJ]});
},this);
this.desktop.add(w,{top:cF,left:dF});
w.open();
w._initialize(cJ,H,null);
}},close:function(){},finalize:function(){this.updateTimer(bQ);
}}});
})();
(function(){var i="qx.event.type.Native";
qx.Class.define(i,{extend:qx.event.type.Event,members:{init:function(d,e,f,g,h){arguments.callee.base.call(this,g,h);
this._target=e||qx.bom.Event.getTarget(d);
this._relatedTarget=f||qx.bom.Event.getRelatedTarget(d);

if(d.timeStamp){this._timeStamp=d.timeStamp;
}this._native=d;
this._returnValue=null;
return this;
},clone:function(j){var k=arguments.callee.base.call(this,j);
var l={};
k._native=this._cloneNativeEvent(this._native,l);
k._returnValue=this._returnValue;
return k;
},_cloneNativeEvent:function(b,c){c.preventDefault=qx.lang.Function.empty;
return c;
},preventDefault:function(){arguments.callee.base.call(this);
qx.bom.Event.preventDefault(this._native);
},getNativeEvent:function(){return this._native;
},setReturnValue:function(a){this._returnValue=a;
},getReturnValue:function(){return this._returnValue;
}},destruct:function(){this._native=this._returnValue=null;
}});
})();
(function(){var f="_applyTheme",e="qx.theme",d="qx.theme.manager.Meta",c="qx.theme.Modern",b="Theme",a="singleton";
qx.Class.define(d,{type:a,extend:qx.core.Object,properties:{theme:{check:b,nullable:true,apply:f}},members:{_applyTheme:function(g,h){var k=null;
var n=null;
var q=null;
var r=null;
var m=null;

if(g){k=g.meta.color||null;
n=g.meta.decoration||null;
q=g.meta.font||null;
r=g.meta.icon||null;
m=g.meta.appearance||null;
}var o=qx.theme.manager.Color.getInstance();
var p=qx.theme.manager.Decoration.getInstance();
var i=qx.theme.manager.Font.getInstance();
var l=qx.theme.manager.Icon.getInstance();
var j=qx.theme.manager.Appearance.getInstance();
o.setTheme(k);
p.setTheme(n);
i.setTheme(q);
l.setTheme(r);
j.setTheme(m);
},initialize:function(){var t=qx.core.Setting;
var s,u;
s=t.get(e);

if(s){u=qx.Theme.getByName(s);

if(!u){throw new Error("The theme to use is not available: "+s);
}this.setTheme(u);
}}},settings:{"qx.theme":c}});
})();
(function(){var i="object",h="_applyTheme",g="__dG",f="qx.theme.manager.Decoration",e="Theme",d="string",c="singleton";
qx.Class.define(f,{type:c,extend:qx.core.Object,properties:{theme:{check:e,nullable:true,apply:h}},members:{__dG:null,resolve:function(j){if(!j){return null;
}
if(typeof j===i){return j;
}var m=this.getTheme();

if(!m){return null;
}var m=this.getTheme();

if(!m){return null;
}var n=this.__dG;

if(!n){n=this.__dG={};
}var k=n[j];

if(k){return k;
}var l=m.decorations[j];

if(!l){return null;
}var o=l.decorator;

if(o==null){throw new Error("Missing definition of which decorator to use in entry: "+j+"!");
}return n[j]=(new o).set(l.style);
},isValidPropertyValue:function(a){if(typeof a===d){return this.isDynamic(a);
}else if(typeof a===i){var b=a.constructor;
return qx.Class.hasInterface(b,qx.ui.decoration.IDecorator);
}return false;
},isDynamic:function(p){if(!p){return false;
}var q=this.getTheme();

if(!q){return false;
}return !!q.decorations[p];
},_applyTheme:function(r,s){var u=qx.util.AliasManager.getInstance();

if(s){for(var t in s.aliases){u.remove(t);
}}
if(r){for(var t in r.aliases){u.add(t,r.aliases[t]);
}}
if(!r){this.__dG={};
}}},destruct:function(){this._disposeMap(g);
}});
})();
(function(){var h="qx.theme.manager.Font",g="Theme",f="changeTheme",e="_applyTheme",d="singleton";
qx.Class.define(h,{type:d,extend:qx.util.ValueManager,properties:{theme:{check:g,nullable:true,apply:e,event:f}},members:{resolveDynamic:function(n){var o=this._dynamic;
return n instanceof qx.bom.Font?n:o[n];
},resolve:function(p){var s=this._dynamic;
var q=s[p];

if(q){return q;
}var r=this.getTheme();

if(r!==null&&r.fonts[p]){return s[p]=(new qx.bom.Font).set(r.fonts[p]);
}return p;
},isDynamic:function(a){var c=this._dynamic;

if(a&&(a instanceof qx.bom.Font||c[a]!==undefined)){return true;
}var b=this.getTheme();

if(b!==null&&a&&b.fonts[a]){c[a]=(new qx.bom.Font).set(b.fonts[a]);
return true;
}return false;
},_applyTheme:function(i){var j=this._getDynamic();

for(var m in j){if(j[m].themed){j[m].dispose();
delete j[m];
}}
if(i){var k=i.fonts;
var l=qx.bom.Font;

for(var m in k){j[m]=(new l).set(k[m]);
j[m].themed=true;
}}this._setDynamic(j);
}}});
})();
(function(){var r="",q="underline",p="Boolean",o="px",n='"',m="italic",k="normal",j="bold",h="_applyItalic",g="_applyBold",D="Integer",C="_applyFamily",B="_applyLineHeight",A="Array",z="overline",y="line-through",x="qx.bom.Font",w="Number",v="_applyDecoration",u=" ",s="_applySize",t=",";
qx.Class.define(x,{extend:qx.core.Object,construct:function(L,M){arguments.callee.base.call(this);

if(L!==undefined){this.setSize(L);
}
if(M!==undefined){this.setFamily(M);
}},statics:{fromString:function(E){var I=new qx.bom.Font();
var G=E.split(/\s+/);
var name=[];
var H;

for(var i=0;i<G.length;i++){switch(H=G[i]){case j:I.setBold(true);
break;
case m:I.setItalic(true);
break;
case q:I.setDecoration(q);
break;
default:var F=parseInt(H,10);

if(F==H||qx.lang.String.contains(H,o)){I.setSize(F);
}else{name.push(H);
}break;
}}
if(name.length>0){I.setFamily(name);
}return I;
},fromConfig:function(Q){var R=new qx.bom.Font;
R.set(Q);
return R;
},__dH:{fontFamily:r,fontSize:r,fontWeight:r,fontStyle:r,textDecoration:r,lineHeight:1.2},getDefaultStyles:function(){return this.__dH;
}},properties:{size:{check:D,nullable:true,apply:s},lineHeight:{check:w,nullable:true,apply:B},family:{check:A,nullable:true,apply:C},bold:{check:p,nullable:true,apply:g},italic:{check:p,nullable:true,apply:h},decoration:{check:[q,y,z],nullable:true,apply:v}},members:{__dI:null,__dJ:null,__dK:null,__dL:null,__dM:null,__dN:null,_applySize:function(c,d){this.__dI=c===null?null:c+o;
},_applyLineHeight:function(S,T){this.__dN=S===null?null:S;
},_applyFamily:function(N,O){var P=r;

for(var i=0,l=N.length;i<l;i++){if(N[i].indexOf(u)>0){P+=n+N[i]+n;
}else{P+=N[i];
}
if(i!==l-1){P+=t;
}}this.__dJ=P;
},_applyBold:function(e,f){this.__dK=e===null?null:e?j:k;
},_applyItalic:function(J,K){this.__dL=J===null?null:J?m:k;
},_applyDecoration:function(a,b){this.__dM=a===null?null:a;
},getStyles:function(){return {fontFamily:this.__dJ,fontSize:this.__dI,fontWeight:this.__dK,fontStyle:this.__dL,textDecoration:this.__dM,lineHeight:this.__dN};
}}});
})();
(function(){var h="qx.theme.manager.Icon",g="Theme",f="_applyTheme",e="singleton";
qx.Class.define(h,{type:e,extend:qx.core.Object,properties:{theme:{check:g,nullable:true,apply:f}},members:{_applyTheme:function(a,b){var d=qx.util.AliasManager.getInstance();

if(b){for(var c in b.aliases){d.remove(c);
}}
if(a){for(var c in a.aliases){d.add(c,a.aliases[c]);
}}}}});
})();
(function(){var h="string",g="_applyTheme",f="qx.theme.manager.Appearance",e=":",d="Theme",c="changeTheme",b="/",a="singleton";
qx.Class.define(f,{type:a,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__dO={};
this.__dP={};
},properties:{theme:{check:d,nullable:true,event:c,apply:g}},members:{__dQ:{},__dO:null,__dP:null,_applyTheme:function(t,u){this.__dP={};
this.__dO={};
},__dR:function(i,j,k){var o=j.appearances;
var r=o[i];

if(!r){var s=b;
var l=[];
var q=i.split(s);
var p;

while(!r&&q.length>0){l.unshift(q.pop());
var m=q.join(s);
r=o[m];

if(r){p=r.alias||r;

if(typeof p===h){var n=p+s+l.join(s);
return this.__dR(n,j,k);
}}}if(k!=null){return this.__dR(k,j);
}return null;
}else if(typeof r===h){return this.__dR(r,j,k);
}else if(r.include&&!r.style){return this.__dR(r.include,j,k);
}return i;
},styleFrom:function(v,w,x,y){if(!x){x=this.getTheme();
}var E=this.__dP;
var z=E[v];

if(!z){z=E[v]=this.__dR(v,x,y);
}var J=x.appearances[z];

if(!J){this.warn("Missing appearance: "+v);
return null;
}if(!J.style){return null;
}var K=z;

if(w){var L=J.$$bits;

if(!L){L=J.$$bits={};
J.$$length=0;
}var C=0;

for(var F in w){if(!w[F]){continue;
}
if(L[F]==null){L[F]=1<<J.$$length++;
}C+=L[F];
}if(C>0){K+=e+C;
}}var D=this.__dO;

if(D[K]!==undefined){return D[K];
}if(!w){w=this.__dQ;
}var H;
if(J.include||J.base){var B=J.style(w);
var A;

if(J.include){A=this.styleFrom(J.include,w,x,y);
}H={};
if(J.base){var G=this.styleFrom(z,w,J.base,y);

if(J.include){for(var I in G){if(!A.hasOwnProperty(I)&&!B.hasOwnProperty(I)){H[I]=G[I];
}}}else{for(var I in G){if(!B.hasOwnProperty(I)){H[I]=G[I];
}}}}if(J.include){for(var I in A){if(!B.hasOwnProperty(I)){H[I]=A[I];
}}}for(var I in B){H[I]=B[I];
}}else{H=J.style(w);
}return D[K]=H||null;
}},destruct:function(){this.__dO=this.__dP=null;
}});
})();
(function(){var z="focusout",y="interval",x="mouseover",w="mouseout",v="mousemove",u="widget",t="qx.ui.tooltip.ToolTip",s="Boolean",r="_applyCurrent",q="qx.ui.tooltip.Manager",n="__dV",p="tooltip-error",o="__dT",m="singleton",l="__dS";
qx.Class.define(q,{type:m,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
qx.event.Registration.addListener(document.body,x,this.__ed,this,true);
this.__dS=new qx.event.Timer();
this.__dS.addListener(y,this.__ea,this);
this.__dT=new qx.event.Timer();
this.__dT.addListener(y,this.__eb,this);
this.__dU={left:0,top:0};
},properties:{current:{check:t,nullable:true,apply:r},showInvalidTooltips:{check:s,init:true}},members:{__dU:null,__dT:null,__dS:null,__dV:null,__dW:null,__dX:function(){if(!this.__dV){this.__dV=new qx.ui.tooltip.ToolTip().set({rich:true});
}return this.__dV;
},__dY:function(){if(!this.__dW){this.__dW=new qx.ui.tooltip.ToolTip().set({appearance:p});
this.__dW.syncAppearance();
}return this.__dW;
},_applyCurrent:function(a,b){if(b&&qx.ui.core.Widget.contains(b,a)){return;
}if(b){if(!b.isDisposed()){b.exclude();
}this.__dS.stop();
this.__dT.stop();
}var d=qx.event.Registration;
var c=document.body;
if(a){this.__dS.startWith(a.getShowTimeout());
d.addListener(c,w,this.__ee,this,true);
d.addListener(c,z,this.__ef,this,true);
d.addListener(c,v,this.__ec,this,true);
}else{d.removeListener(c,w,this.__ee,this,true);
d.removeListener(c,z,this.__ef,this,true);
d.removeListener(c,v,this.__ec,this,true);
}},__ea:function(e){var A=this.getCurrent();

if(A&&!A.isDisposed()){this.__dT.startWith(A.getHideTimeout());

if(A.getPlaceMethod()==u){A.placeToWidget(A.getOpener());
}else{A.placeToPoint(this.__dU);
}A.show();
}this.__dS.stop();
},__eb:function(e){var B=this.getCurrent();

if(B&&!B.isDisposed()){B.exclude();
}this.__dT.stop();
this.resetCurrent();
},__ec:function(e){var f=this.__dU;
f.left=e.getDocumentLeft();
f.top=e.getDocumentTop();
},__ed:function(e){var E=qx.ui.core.Widget.getWidgetByElement(e.getTarget());

if(!E){return;
}var F;
while(E!=null){var F=E.getToolTip();
var G=E.getToolTipText()||null;
var D=E.getToolTipIcon()||null;

if(qx.Class.hasInterface(E.constructor,qx.ui.form.IForm)&&!E.isValid()){var C=E.getInvalidMessage();
}
if(F||G||D||C){break;
}E=E.getLayoutParent();
}
if(!E){return;
}
if(E.isBlockToolTip()){return;
}if(C&&E.getEnabled()){if(!this.getShowInvalidTooltips()){return;
}var F=this.__dY().set({label:C});
}else if(!F){var F=this.__dX().set({label:G,icon:D});
}this.setCurrent(F);
F.setOpener(E);
},__ee:function(e){var g=qx.ui.core.Widget.getWidgetByElement(e.getTarget());

if(!g){return;
}var h=qx.ui.core.Widget.getWidgetByElement(e.getRelatedTarget());

if(!h){return;
}var i=this.getCurrent();
if(i&&(h==i||qx.ui.core.Widget.contains(i,h))){return;
}if(h&&g&&qx.ui.core.Widget.contains(g,h)){return;
}if(i&&!h){this.setCurrent(null);
}else{this.resetCurrent();
}},__ef:function(e){var j=qx.ui.core.Widget.getWidgetByElement(e.getTarget());

if(!j){return;
}var k=this.getCurrent();
if(k&&k==j.getToolTip()){this.setCurrent(null);
}}},destruct:function(){qx.event.Registration.removeListener(document.body,x,this.__ed,this,true);
this._disposeObjects(l,o,n);
this.__dU=null;
}});
})();
(function(){var m="interval",l="qx.event.Timer",k="_applyInterval",j="_applyEnabled",i="Boolean",h="qx.event.type.Event",g="Integer";
qx.Class.define(l,{extend:qx.core.Object,construct:function(s){arguments.callee.base.call(this);
this.setEnabled(false);

if(s!=null){this.setInterval(s);
}var self=this;
this.__eg=function(){self._oninterval.call(self);
};
},events:{"interval":h},statics:{once:function(b,c,d){var f=new qx.event.Timer(d);
f.addListener(m,function(e){f.stop();
b.call(c,e);
f.dispose();
c=null;
},c);
f.start();
return f;
}},properties:{enabled:{init:true,check:i,apply:j},interval:{check:g,init:1000,apply:k}},members:{__eh:null,__eg:null,_applyInterval:function(n,o){if(this.getEnabled()){this.restart();
}},_applyEnabled:function(p,q){if(q){window.clearInterval(this.__eh);
this.__eh=null;
}else if(p){this.__eh=window.setInterval(this.__eg,this.getInterval());
}},start:function(){this.setEnabled(true);
},startWith:function(a){this.setInterval(a);
this.start();
},stop:function(){this.setEnabled(false);
},restart:function(){this.stop();
this.start();
},restartWith:function(r){this.stop();
this.startWith(r);
},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.$$disposed){return;
}
if(this.getEnabled()){this.fireEvent(m);
}})},destruct:function(){if(this.__eh){window.clearInterval(this.__eh);
}this.__eh=this.__eg=null;
}});
})();
(function(){var b="qx.ui.core.MChildrenHandling";
qx.Mixin.define(b,{members:{getChildren:function(){return this._getChildren();
},hasChildren:function(){return this._hasChildren();
},indexOf:function(j){return this._indexOf(j);
},add:function(k,l){this._add(k,l);
},addAt:function(m,n,o){this._addAt(m,n,o);
},addBefore:function(c,d,e){this._addBefore(c,d,e);
},addAfter:function(g,h,i){this._addAfter(g,h,i);
},remove:function(a){this._remove(a);
},removeAt:function(f){return this._removeAt(f);
},removeAll:function(){this._removeAll();
}},statics:{remap:function(p){p.getChildren=p._getChildren;
p.hasChildren=p._hasChildren;
p.indexOf=p._indexOf;
p.add=p._add;
p.addAt=p._addAt;
p.addBefore=p._addBefore;
p.addAfter=p._addAfter;
p.remove=p._remove;
p.removeAt=p._removeAt;
p.removeAll=p._removeAll;
}}});
})();
(function(){var a="qx.ui.core.MLayoutHandling";
qx.Mixin.define(a,{members:{setLayout:function(b){return this._setLayout(b);
},getLayout:function(){return this._getLayout();
}},statics:{remap:function(c){c.getLayout=c._getLayout;
c.setLayout=c._setLayout;
}}});
})();
(function(){var I="Integer",H="_applyDimension",G="Boolean",F="_applyStretching",E="_applyMargin",D="shorthand",C="_applyAlign",B="allowShrinkY",A="bottom",z="baseline",W="marginBottom",V="qx.ui.core.LayoutItem",U="center",T="marginTop",S="allowGrowX",R="middle",Q="marginLeft",P="allowShrinkX",O="top",N="right",L="marginRight",M="abstract",J="allowGrowY",K="left";
qx.Class.define(V,{type:M,extend:qx.core.Object,properties:{minWidth:{check:I,nullable:true,apply:H,init:null,themeable:true},width:{check:I,nullable:true,apply:H,init:null,themeable:true},maxWidth:{check:I,nullable:true,apply:H,init:null,themeable:true},minHeight:{check:I,nullable:true,apply:H,init:null,themeable:true},height:{check:I,nullable:true,apply:H,init:null,themeable:true},maxHeight:{check:I,nullable:true,apply:H,init:null,themeable:true},allowGrowX:{check:G,apply:F,init:true,themeable:true},allowShrinkX:{check:G,apply:F,init:true,themeable:true},allowGrowY:{check:G,apply:F,init:true,themeable:true},allowShrinkY:{check:G,apply:F,init:true,themeable:true},allowStretchX:{group:[S,P],mode:D,themeable:true},allowStretchY:{group:[J,B],mode:D,themeable:true},marginTop:{check:I,init:0,apply:E,themeable:true},marginRight:{check:I,init:0,apply:E,themeable:true},marginBottom:{check:I,init:0,apply:E,themeable:true},marginLeft:{check:I,init:0,apply:E,themeable:true},margin:{group:[T,L,W,Q],mode:D,themeable:true},alignX:{check:[K,U,N],nullable:true,apply:C,themeable:true},alignY:{check:[O,R,A,z],nullable:true,apply:C,themeable:true}},members:{__ei:null,__ej:null,__ek:null,__el:null,__em:null,__en:null,__eo:null,getBounds:function(){return this.__en||this.__ej||null;
},clearSeparators:function(){},renderSeparator:function(f,g){},renderLayout:function(m,top,n,o){var p;
{};
var q=null;

if(this.getHeight()==null&&this._hasHeightForWidth()){var q=this._getHeightForWidth(n);
}
if(q!=null&&q!==this.__ei){this.__ei=q;
qx.ui.core.queue.Layout.add(this);
return null;
}var s=this.__ej;

if(!s){s=this.__ej={};
}var r={};

if(m!==s.left||top!==s.top){r.position=true;
s.left=m;
s.top=top;
}
if(n!==s.width||o!==s.height){r.size=true;
s.width=n;
s.height=o;
}if(this.__ek){r.local=true;
delete this.__ek;
}
if(this.__em){r.margin=true;
delete this.__em;
}return r;
},isExcluded:function(){return false;
},hasValidLayout:function(){return !this.__ek;
},scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this);
},invalidateLayoutCache:function(){this.__ek=true;
this.__el=null;
},getSizeHint:function(d){var e=this.__el;

if(e){return e;
}
if(d===false){return null;
}e=this.__el=this._computeSizeHint();
if(this._hasHeightForWidth()&&this.__ei&&this.getHeight()==null){e.height=this.__ei;
}if(e.minWidth>e.width){e.width=e.minWidth;
}
if(e.maxWidth<e.width){e.width=e.maxWidth;
}
if(!this.getAllowGrowX()){e.maxWidth=e.width;
}
if(!this.getAllowShrinkX()){e.minWidth=e.width;
}if(e.minHeight>e.height){e.height=e.minHeight;
}
if(e.maxHeight<e.height){e.height=e.maxHeight;
}
if(!this.getAllowGrowY()){e.maxHeight=e.height;
}
if(!this.getAllowShrinkY()){e.minHeight=e.height;
}return e;
},_computeSizeHint:function(){var bc=this.getMinWidth()||0;
var Y=this.getMinHeight()||0;
var bd=this.getWidth()||bc;
var bb=this.getHeight()||Y;
var X=this.getMaxWidth()||Infinity;
var ba=this.getMaxHeight()||Infinity;
return {minWidth:bc,width:bd,maxWidth:X,minHeight:Y,height:bb,maxHeight:ba};
},_hasHeightForWidth:function(){var w=this._getLayout();

if(w){return w.hasHeightForWidth();
}return false;
},_getHeightForWidth:function(x){var y=this._getLayout();

if(y&&y.hasHeightForWidth()){return y.getHeightForWidth(x);
}return null;
},_getLayout:function(){return null;
},_applyMargin:function(){this.__em=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.__en;
},setUserBounds:function(t,top,u,v){this.__en={left:t,top:top,width:u,height:v};
qx.ui.core.queue.Layout.add(this);
},resetUserBounds:function(){delete this.__en;
qx.ui.core.queue.Layout.add(this);
},__ep:{},setLayoutProperties:function(a){if(a==null){return;
}var b=this.__eo;

if(!b){b=this.__eo={};
}var parent=this.getLayoutParent();

if(parent){parent.updateLayoutProperties(a);
}for(var c in a){if(a[c]==null){delete b[c];
}else{b[c]=a[c];
}}},getLayoutProperties:function(){return this.__eo||this.__ep;
},clearLayoutProperties:function(){delete this.__eo;
},updateLayoutProperties:function(h){var i=this._getLayout();

if(i){var j;
{};
i.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 k=arguments.callee.base.call(this);
var l=this.__eo;

if(l){k.__eo=qx.lang.Object.clone(l);
}return k;
}},destruct:function(){this.$$parent=this.$$subparent=this.__eo=this.__ej=this.__en=this.__el=null;
}});
})();
(function(){var e="qx.ui.core.DecoratorFactory",d="$$nopool$$";
qx.Class.define(e,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__eq={};
},statics:{MAX_SIZE:15,__er:d},members:{__eq:null,getDecoratorElement:function(l){var q=qx.ui.core.DecoratorFactory;

if(qx.lang.Type.isString(l)){var o=l;
var n=qx.theme.manager.Decoration.getInstance().resolve(l);
}else{var o=q.__er;
n=l;
}var p=this.__eq;

if(p[o]&&p[o].length>0){var m=p[o].pop();
}else{var m=this._createDecoratorElement(n,o);
}m.$$pooled=false;
return m;
},poolDecorator:function(f){if(!f||f.$$pooled){return;
}var i=qx.ui.core.DecoratorFactory;
var g=f.getId();

if(g==i.__er){f.dispose();
return;
}var h=this.__eq;

if(!h[g]){h[g]=[];
}
if(h[g].length>i.MAX_SIZE){f.dispose();
}else{f.$$pooled=true;
h[g].push(f);
}},_createDecoratorElement:function(a,b){var c=new qx.html.Decorator(a,b);
{};
return c;
},toString:function(){return arguments.callee.base.call(this);
}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){var k=this.__eq;

for(var j in k){qx.util.DisposeUtil.disposeArray(k,j);
}}this.__eq=null;
}});
})();
(function(){var fB="px",fA="Boolean",fz="qx.event.type.Mouse",fy="qx.event.type.Drag",fx="visible",fw="qx.event.type.Focus",fv="on",fu="Integer",ft="excluded",fs="qx.event.type.Data",fe="_applyPadding",fd="qx.event.type.Event",fc="hidden",fb="contextmenu",fa="String",eY="tabIndex",eX="backgroundColor",eW="focused",eV="changeVisibility",eU="mshtml",fI="hovered",fJ="qx.event.type.KeySequence",fG="qx.client",fH="absolute",fE="drag",fF="div",fC="disabled",fD="move",fK="dragstart",fL="qx.dynlocale",fl="dragchange",fk="dragend",fn="resize",fm="Decorator",fp="zIndex",fo="$$widget",fr="opacity",fq="default",fj="Color",fi="changeToolTipText",dK="beforeContextmenuOpen",dL="_applyNativeContextMenu",dM="_applyBackgroundColor",dN="_applyFocusable",dO="changeShadow",dP="__eD",dQ="__es",dR="qx.event.type.KeyInput",dS="createChildControl",dT="__ey",fP="Font",fO="_applyShadow",fN="_applyEnabled",fM="_applySelectable",fT="Number",fS="_applyKeepActive",fR="_applyVisibility",fQ="repeat",fV="qxDraggable",fU="syncAppearance",eu="paddingLeft",ev="_applyDroppable",es="__eB",et="__ex",ey="#",ez="qx.event.type.MouseWheel",ew="_applyCursor",ex="_applyDraggable",eq="changeTextColor",er="changeContextMenu",ec="paddingTop",eb="changeSelectable",ee="hideFocus",ed="none",dX="outline",dW="_applyAppearance",ea="_applyOpacity",dY="url(",dV=")",dU="qx.ui.core.Widget",eE="_applyFont",eF="cursor",eG="qxDroppable",eH="__ew",eA="changeZIndex",eB="changeEnabled",eC="changeFont",eD="_applyDecorator",eI="_applyZIndex",eJ="_applyTextColor",en="qx.ui.menu.Menu",em="_applyToolTipText",ek="true",ej="widget",ei="changeDecorator",eh="_applyTabIndex",eg="__eF",ef="changeAppearance",ep="shorthand",eo="/",eK="",eL="_applyContextMenu",eM="paddingBottom",eN="changeNativeContextMenu",eO="qx.ui.tooltip.ToolTip",eP="qxKeepActive",eQ="_applyKeepFocus",eR="paddingRight",eS="changeBackgroundColor",eT="changeLocale",fh="qxKeepFocus",fg="__et",ff="qx/static/blank.gif";
qx.Class.define(dU,{extend:qx.ui.core.LayoutItem,include:[qx.locale.MTranslation],construct:function(){arguments.callee.base.call(this);
this.__es=this._createContainerElement();
this.__et=this.__eE();
this.__es.add(this.__et);
this.initFocusable();
this.initSelectable();
this.initNativeContextMenu();
},events:{appear:fd,disappear:fd,createChildControl:fs,resize:fs,move:fs,syncAppearance:fs,mousemove:fz,mouseover:fz,mouseout:fz,mousedown:fz,mouseup:fz,click:fz,dblclick:fz,contextmenu:fz,beforeContextmenuOpen:fz,mousewheel:ez,keyup:fJ,keydown:fJ,keypress:fJ,keyinput:dR,focus:fw,blur:fw,focusin:fw,focusout:fw,activate:fw,deactivate:fw,capture:fd,losecapture:fd,drop:fy,dragleave:fy,dragover:fy,drag:fy,dragstart:fy,dragend:fy,dragchange:fy,droprequest:fy},properties:{paddingTop:{check:fu,init:0,apply:fe,themeable:true},paddingRight:{check:fu,init:0,apply:fe,themeable:true},paddingBottom:{check:fu,init:0,apply:fe,themeable:true},paddingLeft:{check:fu,init:0,apply:fe,themeable:true},padding:{group:[ec,eR,eM,eu],mode:ep,themeable:true},zIndex:{nullable:true,init:null,apply:eI,event:eA,check:fu,themeable:true},decorator:{nullable:true,init:null,apply:eD,event:ei,check:fm,themeable:true},shadow:{nullable:true,init:null,apply:fO,event:dO,check:fm,themeable:true},backgroundColor:{nullable:true,check:fj,apply:dM,event:eS,themeable:true},textColor:{nullable:true,check:fj,apply:eJ,event:eq,themeable:true,inheritable:true},font:{nullable:true,apply:eE,check:fP,event:eC,themeable:true,inheritable:true,dispose:true},opacity:{check:fT,apply:ea,themeable:true,nullable:true,init:null},cursor:{check:fa,apply:ew,themeable:true,inheritable:true,nullable:true,init:null},toolTip:{check:eO,nullable:true},toolTipText:{check:fa,nullable:true,event:fi,apply:em},toolTipIcon:{check:fa,nullable:true,event:fi},blockToolTip:{check:fA,init:false},visibility:{check:[fx,fc,ft],init:fx,apply:fR,event:eV},enabled:{init:true,check:fA,inheritable:true,apply:fN,event:eB},anonymous:{init:false,check:fA},tabIndex:{check:fu,nullable:true,apply:eh},focusable:{check:fA,init:false,apply:dN},keepFocus:{check:fA,init:false,apply:eQ},keepActive:{check:fA,init:false,apply:fS},draggable:{check:fA,init:false,apply:ex},droppable:{check:fA,init:false,apply:ev},selectable:{check:fA,init:false,event:eb,apply:fM},contextMenu:{check:en,apply:eL,nullable:true,event:er},nativeContextMenu:{check:fA,init:false,themeable:true,event:eN,apply:dL},appearance:{check:fa,init:ej,apply:dW,event:ef}},statics:{DEBUG:false,getWidgetByElement:function(gS){while(gS){var gT=gS.$$widget;
if(gT!=null){return qx.core.ObjectRegistry.fromHashCode(gT);
}gS=gS.parentNode;
}return null;
},contains:function(parent,cw){while(cw){if(parent==cw){return true;
}cw=cw.getLayoutParent();
}return false;
},__eu:new qx.ui.core.DecoratorFactory(),__ev:new qx.ui.core.DecoratorFactory()},members:{__es:null,__et:null,__ew:null,__ex:null,__ey:null,__ez:null,__eA:null,__eB:null,_getLayout:function(){return this.__eB;
},_setLayout:function(da){{};

if(this.__eB){this.__eB.connectToWidget(null);
}
if(da){da.connectToWidget(this);
}this.__eB=da;
qx.ui.core.queue.Layout.add(this);
},setLayoutParent:function(parent){if(this.$$parent===parent){return;
}var bS=this.getContainerElement();

if(this.$$parent&&!this.$$parent.$$disposed){this.$$parent.getContentElement().remove(bS);
}this.$$parent=parent||null;

if(parent&&!parent.$$disposed){this.$$parent.getContentElement().add(bS);
}qx.core.Property.refresh(this);
qx.ui.core.queue.Visibility.add(this);
},_updateInsets:null,__eC:function(a,b){if(a==b){return false;
}
if(a==null||b==null){return true;
}var J=qx.theme.manager.Decoration.getInstance();
var L=J.resolve(a).getInsets();
var K=J.resolve(b).getInsets();

if(L.top!=K.top||L.right!=K.right||L.bottom!=K.bottom||L.left!=K.left){return true;
}return false;
},renderLayout:function(bF,top,bG,bH){var bQ=arguments.callee.base.call(this,bF,top,bG,bH);
if(!bQ){return;
}var bJ=this.getContainerElement();
var content=this.getContentElement();
var bN=bQ.size||this._updateInsets;
var bR=fB;
var bO={};
if(bQ.position){bO.left=bF+bR;
bO.top=top+bR;
}if(bQ.size){bO.width=bG+bR;
bO.height=bH+bR;
}
if(bQ.position||bQ.size){bJ.setStyles(bO);
}
if(bN||bQ.local||bQ.margin){var bI=this.getInsets();
var innerWidth=bG-bI.left-bI.right;
var innerHeight=bH-bI.top-bI.bottom;
innerWidth=innerWidth<0?0:innerWidth;
innerHeight=innerHeight<0?0:innerHeight;
}var bL={};

if(this._updateInsets){bL.left=bI.left+bR;
bL.top=bI.top+bR;
}
if(bN){bL.width=innerWidth+bR;
bL.height=innerHeight+bR;
}
if(bN||this._updateInsets){content.setStyles(bL);
}
if(bQ.size){var bP=this.__ey;

if(bP){bP.setStyles({width:bG+fB,height:bH+fB});
}}
if(bQ.size||this._updateInsets){if(this.__ew){this.__ew.resize(bG,bH);
}}
if(bQ.size){if(this.__ex){var bI=this.__ex.getInsets();
var bM=bG+bI.left+bI.right;
var bK=bH+bI.top+bI.bottom;
this.__ex.resize(bM,bK);
}}
if(bN||bQ.local||bQ.margin){if(this.__eB&&this.hasLayoutChildren()){this.__eB.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(bQ.position&&this.hasListener(fD)){this.fireDataEvent(fD,this.getBounds());
}
if(bQ.size&&this.hasListener(fn)){this.fireDataEvent(fn,this.getBounds());
}delete this._updateInsets;
return bQ;
},__eD:null,clearSeparators:function(){var dl=this.__eD;

if(!dl){return;
}var dm=qx.ui.core.Widget.__eu;
var content=this.getContentElement();
var dk;

for(var i=0,l=dl.length;i<l;i++){dk=dl[i];
dm.poolDecorator(dk);
content.remove(dk);
}dl.length=0;
},renderSeparator:function(cz,cA){var cB=qx.ui.core.Widget.__eu.getDecoratorElement(cz);
this.getContentElement().add(cB);
cB.resize(cA.width,cA.height);
cB.setStyles({left:cA.left+fB,top:cA.top+fB});
if(!this.__eD){this.__eD=[cB];
}else{this.__eD.push(cB);
}},_computeSizeHint:function(){var be=this.getWidth();
var bd=this.getMinWidth();
var Y=this.getMaxWidth();
var bc=this.getHeight();
var ba=this.getMinHeight();
var bb=this.getMaxHeight();
{};
var bf=this._getContentHint();
var X=this.getInsets();
var bh=X.left+X.right;
var bg=X.top+X.bottom;

if(be==null){be=bf.width+bh;
}
if(bc==null){bc=bf.height+bg;
}
if(bd==null){bd=bh;

if(bf.minWidth!=null){bd+=bf.minWidth;
}}
if(ba==null){ba=bg;

if(bf.minHeight!=null){ba+=bf.minHeight;
}}
if(Y==null){if(bf.maxWidth==null){Y=Infinity;
}else{Y=bf.maxWidth+bh;
}}
if(bb==null){if(bf.maxHeight==null){bb=Infinity;
}else{bb=bf.maxHeight+bg;
}}return {width:be,minWidth:bd,maxWidth:Y,height:bc,minHeight:ba,maxHeight:bb};
},invalidateLayoutCache:function(){arguments.callee.base.call(this);

if(this.__eB){this.__eB.invalidateLayoutCache();
}},_getContentHint:function(){var bV=this.__eB;

if(bV){if(this.hasLayoutChildren()){var bU;
var bW=bV.getSizeHint();
{};
return bW;
}else{return {width:0,height:0};
}}else{return {width:100,height:50};
}},_getHeightForWidth:function(cE){var cI=this.getInsets();
var cL=cI.left+cI.right;
var cK=cI.top+cI.bottom;
var cJ=cE-cL;
var cG=this._getLayout();

if(cG&&cG.hasHeightForWidth()){var cF=cG.getHeightForWidth(cE);
}else{cF=this._getContentHeightForWidth(cJ);
}var cH=cF+cK;
return cH;
},_getContentHeightForWidth:function(gt){throw new Error("Abstract method call: _getContentHeightForWidth()!");
},getInsets:function(){var top=this.getPaddingTop();
var gk=this.getPaddingRight();
var gm=this.getPaddingBottom();
var gl=this.getPaddingLeft();

if(this.__ew){var gj=this.__ew.getInsets();
{};
top+=gj.top;
gk+=gj.right;
gm+=gj.bottom;
gl+=gj.left;
}return {"top":top,"right":gk,"bottom":gm,"left":gl};
},getInnerSize:function(){var fX=this.getBounds();

if(!fX){return null;
}var fW=this.getInsets();
return {width:fX.width-fW.left-fW.right,height:fX.height-fW.top-fW.bottom};
},show:function(){this.setVisibility(fx);
},hide:function(){this.setVisibility(fc);
},exclude:function(){this.setVisibility(ft);
},isVisible:function(){return this.getVisibility()===fx;
},isHidden:function(){return this.getVisibility()!==fx;
},isExcluded:function(){return this.getVisibility()===ft;
},isSeeable:function(){var T=this.getContainerElement().getDomElement();

if(T){return T.offsetWidth>0;
}var S=this;

do{if(!S.isVisible()){return false;
}
if(S.isRootWidget()){return true;
}S=S.getLayoutParent();
}while(S);
return false;
},_createContainerElement:function(){var I=new qx.html.Element(fF);
{};
I.setStyles({"position":fH,"zIndex":0});
I.setAttribute(fo,this.toHashCode());
{};
return I;
},__eE:function(){var y=this._createContentElement();
{};
y.setStyles({"position":fH,"zIndex":10});
return y;
},_createContentElement:function(){var B=new qx.html.Element(fF);
B.setStyles({"overflowX":fc,"overflowY":fc});
return B;
},getContainerElement:function(){return this.__es;
},getContentElement:function(){return this.__et;
},getDecoratorElement:function(){return this.__ew||null;
},getShadowElement:function(){return this.__ex||null;
},__eF:null,getLayoutChildren:function(){var dy=this.__eF;

if(!dy){return this.__eG;
}var dz;

for(var i=0,l=dy.length;i<l;i++){var dx=dy[i];

if(dx.hasUserBounds()||dx.isExcluded()){if(dz==null){dz=dy.concat();
}qx.lang.Array.remove(dz,dx);
}}return dz||dy;
},scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this);
},invalidateLayoutChildren:function(){var bB=this.__eB;

if(bB){bB.invalidateChildrenCache();
}qx.ui.core.queue.Layout.add(this);
},hasLayoutChildren:function(){var cl=this.__eF;

if(!cl){return false;
}var cm;

for(var i=0,l=cl.length;i<l;i++){cm=cl[i];

if(!cm.hasUserBounds()&&!cm.isExcluded()){return true;
}}return false;
},getChildrenContainer:function(){return this;
},__eG:[],_getChildren:function(){return this.__eF||this.__eG;
},_indexOf:function(gb){var gc=this.__eF;

if(!gc){return -1;
}return gc.indexOf(gb);
},_hasChildren:function(){var bT=this.__eF;
return bT!=null&&(!!bT[0]);
},addChildrenToQueue:function(dH){var dI=this.__eF;

if(!dI){return;
}var dJ;

for(var i=0,l=dI.length;i<l;i++){dJ=dI[i];
dH[dJ.$$hash]=dJ;
dJ.addChildrenToQueue(dH);
}},_add:function(gu,gv){if(gu.getLayoutParent()==this){qx.lang.Array.remove(this.__eF,gu);
}
if(this.__eF){this.__eF.push(gu);
}else{this.__eF=[gu];
}this.__eH(gu,gv);
},_addAt:function(E,F,G){if(!this.__eF){this.__eF=[];
}if(E.getLayoutParent()==this){qx.lang.Array.remove(this.__eF,E);
}var H=this.__eF[F];

if(H===E){return E.setLayoutProperties(G);
}
if(H){qx.lang.Array.insertBefore(this.__eF,E,H);
}else{this.__eF.push(E);
}this.__eH(E,G);
},_addBefore:function(by,bz,bA){{};

if(by==bz){return;
}
if(!this.__eF){this.__eF=[];
}if(by.getLayoutParent()==this){qx.lang.Array.remove(this.__eF,by);
}qx.lang.Array.insertBefore(this.__eF,by,bz);
this.__eH(by,bA);
},_addAfter:function(dh,di,dj){{};

if(dh==di){return;
}
if(!this.__eF){this.__eF=[];
}if(dh.getLayoutParent()==this){qx.lang.Array.remove(this.__eF,dh);
}qx.lang.Array.insertAfter(this.__eF,dh,di);
this.__eH(dh,dj);
},_remove:function(ds){if(!this.__eF){throw new Error("This widget has no children!");
}qx.lang.Array.remove(this.__eF,ds);
this.__eI(ds);
},_removeAt:function(ce){if(!this.__eF){throw new Error("This widget has no children!");
}var cf=this.__eF[ce];
qx.lang.Array.removeAt(this.__eF,ce);
this.__eI(cf);
return cf;
},_removeAll:function(){if(!this.__eF){return;
}var h=this.__eF.concat();
this.__eF.length=0;

for(var i=h.length-1;i>=0;i--){this.__eI(h[i]);
}qx.ui.core.queue.Layout.add(this);
},_afterAddChild:null,_afterRemoveChild:null,__eH:function(gW,gX){{};
var parent=gW.getLayoutParent();

if(parent&&parent!=this){parent._remove(gW);
}gW.setLayoutParent(this);
if(gX){gW.setLayoutProperties(gX);
}else{this.updateLayoutProperties();
}if(this._afterAddChild){this._afterAddChild(gW);
}},__eI:function(cv){{};

if(cv.getLayoutParent()!==this){throw new Error("Remove Error: "+cv+" is not a child of this widget!");
}cv.setLayoutParent(null);
if(this.__eB){this.__eB.invalidateChildrenCache();
}qx.ui.core.queue.Layout.add(this);
if(this._afterRemoveChild){this._afterRemoveChild(cv);
}},capture:function(gs){this.getContainerElement().capture(gs);
},releaseCapture:function(){this.getContainerElement().releaseCapture();
},_applyPadding:function(c,d,name){this._updateInsets=true;
qx.ui.core.queue.Layout.add(this);
},_createProtectorElement:function(){if(this.__ey){return;
}var M=this.__ey=new qx.html.Element;
{};
M.setStyles({position:fH,top:0,left:0,zIndex:7});
var N=this.getBounds();

if(N){this.__ey.setStyles({width:N.width+fB,height:N.height+fB});
}if(qx.core.Variant.isSet(fG,eU)){M.setStyles({backgroundImage:dY+qx.util.ResourceManager.getInstance().toUri(ff)+dV,backgroundRepeat:fQ});
}this.getContainerElement().add(M);
},_applyDecorator:function(cn,co){{};
var cs=qx.ui.core.Widget.__eu;
var cq=this.getContainerElement();
if(!this.__ey&&!qx.bom.client.Feature.CSS_POINTER_EVENTS){this._createProtectorElement();
}if(co){cq.remove(this.__ew);
cs.poolDecorator(this.__ew);
}if(cn){var cr=this.__ew=cs.getDecoratorElement(cn);
cr.setStyle(fp,5);
var cp=this.getBackgroundColor();
cr.tint(cp);
cq.add(cr);
}else{delete this.__ew;
this._applyBackgroundColor(this.getBackgroundColor());
}if(cn&&!co&&cp){this.getContainerElement().setStyle(eX,null);
}if(this.__eC(co,cn)){this._updateInsets=true;
qx.ui.core.queue.Layout.add(this);
}else if(cn){var ct=this.getBounds();

if(ct){cr.resize(ct.width,ct.height);
this.__ey&&
this.__ey.setStyles({width:ct.width+fB,height:ct.height+fB});
}}},_applyShadow:function(gH,gI){var gP=qx.ui.core.Widget.__ev;
var gK=this.getContainerElement();
if(gI){gK.remove(this.__ex);
gP.poolDecorator(this.__ex);
}if(gH){var gM=this.__ex=gP.getDecoratorElement(gH);
gK.add(gM);
var gO=gM.getInsets();
gM.setStyles({left:(-gO.left)+fB,top:(-gO.top)+fB});
var gN=this.getBounds();

if(gN){var gL=gN.width+gO.left+gO.right;
var gJ=gN.height+gO.top+gO.bottom;
gM.resize(gL,gJ);
}gM.tint(null);
}else{delete this.__ex;
}},_applyToolTipText:function(bl,bm){if(qx.core.Variant.isSet(fL,fv)){if(this.__eA){return;
}var bn=qx.locale.Manager.getInstance();
this.__eA=bn.addListener(eT,function(){if(bl&&bl.translate){this.setToolTipText(bl.translate());
}},this);
}},_applyTextColor:function(cC,cD){},_applyZIndex:function(Q,R){this.getContainerElement().setStyle(fp,Q==null?0:Q);
},_applyVisibility:function(bi,bj){var bk=this.getContainerElement();

if(bi===fx){bk.show();
}else{bk.hide();
}var parent=this.$$parent;

if(parent&&(bj==null||bi==null||bj===ft||bi===ft)){parent.invalidateLayoutChildren();
}qx.ui.core.queue.Visibility.add(this);
},_applyOpacity:function(bu,bv){this.getContainerElement().setStyle(fr,bu==1?null:bu);
if(qx.core.Variant.isSet(fG,eU)){if(!qx.Class.isSubClassOf(this.getContentElement().constructor,qx.html.Image)){var bw=(bu==1||bu==null)?null:0.99;
this.getContentElement().setStyle(fr,bw);
}}},_applyCursor:function(w,x){if(w==null&&!this.isSelectable()){w=fq;
}this.getContainerElement().setStyle(eF,w,qx.bom.client.Engine.OPERA);
},_applyBackgroundColor:function(gn,go){var gp=this.getBackgroundColor();
var gr=this.getContainerElement();

if(this.__ew){this.__ew.tint(gp);
gr.setStyle(eX,null);
}else{var gq=qx.theme.manager.Color.getInstance().resolve(gp);
gr.setStyle(eX,gq);
}},_applyFont:function(f,g){},__eJ:null,$$stateChanges:null,_forwardStates:null,hasState:function(bq){var br=this.__eJ;
return br&&br[bq];
},addState:function(cO){var cP=this.__eJ;

if(!cP){cP=this.__eJ={};
}
if(cP[cO]){return;
}this.__eJ[cO]=true;
if(cO===fI){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 cS=this.__eM;

if(forward&&forward[cO]&&cS){var cQ;

for(var cR in cS){cQ=cS[cR];

if(cQ instanceof qx.ui.core.Widget){cS[cR].addState(cO);
}}}},removeState:function(cg){var ch=this.__eJ;

if(!ch||!ch[cg]){return;
}delete this.__eJ[cg];
if(cg===fI){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 ck=this.__eM;

if(forward&&forward[cg]&&ck){for(var cj in ck){var ci=ck[cj];

if(ci instanceof qx.ui.core.Widget){ci.removeState(cg);
}}}},replaceState:function(db,dc){var dd=this.__eJ;

if(!dd){dd=this.__eJ={};
}
if(!dd[dc]){dd[dc]=true;
}
if(dd[db]){delete dd[db];
}
if(!qx.ui.core.queue.Visibility.isVisible(this)){this.$$stateChanges=true;
}else{qx.ui.core.queue.Appearance.add(this);
}var forward=this._forwardStates;
var dg=this.__eM;

if(forward&&forward[dc]&&dg){for(var df in dg){var de=dg[df];

if(de instanceof qx.ui.core.Widget){de.replaceState(db,dc);
}}}},__eK:null,__eL:null,syncAppearance:function(){var q=this.__eJ;
var p=this.__eK;
var r=qx.theme.manager.Appearance.getInstance();
var n=qx.core.Property.$$method.setThemed;
var v=qx.core.Property.$$method.resetThemed;
if(this.__eL){delete this.__eL;
if(p){var m=r.styleFrom(p,q,null,this.getAppearance());
if(m){p=null;
}}}if(!p){var o=this;
var u=[];

do{u.push(o.$$subcontrol||o.getAppearance());
}while(o=o.$$subparent);
p=this.__eK=u.reverse().join(eo).replace(/#[0-9]+/g,eK);
}var s=r.styleFrom(p,q,null,this.getAppearance());

if(s){var t;

if(m){for(var t in m){if(s[t]===undefined){this[v[t]]();
}}}{};
for(var t in s){s[t]===undefined?this[v[t]]():this[n[t]](s[t]);
}}else if(m){for(var t in m){this[v[t]]();
}}this.fireDataEvent(fU,this.__eJ);
},_applyAppearance:function(dv,dw){this.updateAppearance();
},checkAppearanceNeeds:function(){if(!this.__ez){qx.ui.core.queue.Appearance.add(this);
this.__ez=true;
}else if(this.$$stateChanges){qx.ui.core.queue.Appearance.add(this);
delete this.$$stateChanges;
}},updateAppearance:function(){this.__eL=true;
qx.ui.core.queue.Appearance.add(this);
var gy=this.__eM;

if(gy){var gw;

for(var gx in gy){gw=gy[gx];

if(gw instanceof qx.ui.core.Widget){gw.updateAppearance();
}}}},syncWidget:function(){},getEventTarget:function(){var W=this;

while(W.getAnonymous()){W=W.getLayoutParent();

if(!W){return null;
}}return W;
},getFocusTarget:function(){var bx=this;

if(!bx.getEnabled()){return null;
}
while(bx.getAnonymous()||!bx.getFocusable()){bx=bx.getLayoutParent();

if(!bx||!bx.getEnabled()){return null;
}}return bx;
},getFocusElement:function(){return this.getContainerElement();
},isTabable:function(){return (!!this.getContainerElement().getDomElement())&&this.isFocusable();
},_applyFocusable:function(cT,cU){var cV=this.getFocusElement();
if(cT){var cW=this.getTabIndex();

if(cW==null){cW=1;
}cV.setAttribute(eY,cW);
if(qx.core.Variant.isSet(fG,eU)){cV.setAttribute(ee,ek);
}else{cV.setStyle(dX,ed);
}}else{if(cV.isNativelyFocusable()){cV.setAttribute(eY,-1);
}else if(cU){cV.setAttribute(eY,null);
}}},_applyKeepFocus:function(bo){var bp=this.getFocusElement();
bp.setAttribute(fh,bo?fv:null);
},_applyKeepActive:function(z){var A=this.getContainerElement();
A.setAttribute(eP,z?fv:null);
},_applyTabIndex:function(dt){if(dt==null){dt=1;
}else if(dt<1||dt>32000){throw new Error("TabIndex property must be between 1 and 32000");
}
if(this.getFocusable()&&dt!=null){this.getFocusElement().setAttribute(eY,dt);
}},_applySelectable:function(bC){this._applyCursor(this.getCursor());
this.getContainerElement().setSelectable(bC);
this.getContentElement().setSelectable(bC);
},_applyEnabled:function(fY,ga){if(fY===false){this.addState(fC);
this.removeState(fI);
if(this.isFocusable()){this.removeState(eW);
this._applyFocusable(false,true);
}if(this.isDraggable()){this._applyDraggable(false,true);
}if(this.isDroppable()){this._applyDroppable(false,true);
}}else{this.removeState(fC);
if(this.isFocusable()){this._applyFocusable(true,false);
}if(this.isDraggable()){this._applyDraggable(true,false);
}if(this.isDroppable()){this._applyDroppable(true,false);
}}},_applyNativeContextMenu:function(bs,bt,name){},_applyContextMenu:function(cM,cN){if(cN){cN.removeState(fb);

if(cN.getOpener()==this){cN.resetOpener();
}
if(!cM){this.removeListener(fb,this._onContextMenuOpen);
cN.removeListener(eV,this._onBeforeContextMenuOpen,this);
}}
if(cM){cM.setOpener(this);
cM.addState(fb);

if(!cN){this.addListener(fb,this._onContextMenuOpen);
cM.addListener(eV,this._onBeforeContextMenuOpen,this);
}}},_onContextMenuOpen:function(e){this.getContextMenu().openAtMouse(e);
e.stop();
},_onBeforeContextMenuOpen:function(e){if(e.getData()==fx&&this.hasListener(dK)){this.fireDataEvent(dK,e);
}},_onStopEvent:function(e){e.stopPropagation();
},_applyDraggable:function(gd,ge){if(!this.isEnabled()&&gd===true){gd=false;
}qx.ui.core.DragDropCursor.getInstance();
if(gd){this.addListener(fK,this._onDragStart);
this.addListener(fE,this._onDrag);
this.addListener(fk,this._onDragEnd);
this.addListener(fl,this._onDragChange);
}else{this.removeListener(fK,this._onDragStart);
this.removeListener(fE,this._onDrag);
this.removeListener(fk,this._onDragEnd);
this.removeListener(fl,this._onDragChange);
}this.getContainerElement().setAttribute(fV,gd?fv:null);
},_applyDroppable:function(gQ,gR){if(!this.isEnabled()&&gQ===true){gQ=false;
}this.getContainerElement().setAttribute(eG,gQ?fv:null);
},_onDragStart:function(e){qx.ui.core.DragDropCursor.getInstance().placeToMouse(e);
this.getApplicationRoot().setGlobalCursor(fq);
},_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 cx=qx.ui.core.DragDropCursor.getInstance();
var cy=e.getCurrentAction();
cy?cx.setAction(cy):cx.resetAction();
},visualizeFocus:function(){this.addState(eW);
},visualizeBlur:function(){this.removeState(eW);
},scrollChildIntoView:function(dn,dp,dq,dr){this.scrollChildIntoViewX(dn,dp,dr);
this.scrollChildIntoViewY(dn,dq,dr);
},scrollChildIntoViewX:function(gf,gg,gh){this.getContentElement().scrollChildIntoViewX(gf.getContainerElement(),gg,gh);
},scrollChildIntoViewY:function(gE,gF,gG){this.getContentElement().scrollChildIntoViewY(gE.getContainerElement(),gF,gG);
},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(cu){if(!this.__eM){return false;
}return !!this.__eM[cu];
},__eM:null,_getCreatedChildControls:function(){return this.__eM;
},getChildControl:function(dA,dB){if(!this.__eM){if(dB){return null;
}this.__eM={};
}var dC=this.__eM[dA];

if(dC){return dC;
}
if(dB===true){return null;
}return this._createChildControl(dA);
},_showChildControl:function(cX){var cY=this.getChildControl(cX);
cY.show();
return cY;
},_excludeChildControl:function(dF){var dG=this.getChildControl(dF,true);

if(dG){dG.exclude();
}},_isChildControlVisible:function(C){var D=this.getChildControl(C,true);

if(D){return D.isVisible();
}return false;
},_createChildControl:function(gz){if(!this.__eM){this.__eM={};
}else if(this.__eM[gz]){throw new Error("Child control '"+gz+"' already created!");
}var gD=gz.indexOf(ey);

if(gD==-1){var gA=this._createChildControlImpl(gz);
}else{var gA=this._createChildControlImpl(gz.substring(0,gD));
}
if(!gA){throw new Error("Unsupported control: "+gz);
}gA.$$subcontrol=gz;
gA.$$subparent=this;
var gB=this.__eJ;
var forward=this._forwardStates;

if(gB&&forward&&gA instanceof qx.ui.core.Widget){for(var gC in gB){if(forward[gC]){gA.addState(gC);
}}}this.fireDataEvent(dS,gA);
return this.__eM[gz]=gA;
},_createChildControlImpl:function(gi){return null;
},_disposeChildControls:function(){var cb=this.__eM;

if(!cb){return;
}var bY=qx.ui.core.Widget;

for(var ca in cb){var bX=cb[ca];

if(!bY.contains(this,bX)){bX.destroy();
}else{bX.dispose();
}}delete this.__eM;
},_findTopControl:function(){var du=this;

while(du){if(!du.$$subparent){return du;
}du=du.$$subparent;
}return null;
},getContainerLocation:function(gU){var gV=this.getContainerElement().getDomElement();
return gV?qx.bom.element.Location.get(gV,gU):null;
},getContentLocation:function(U){var V=this.getContentElement().getDomElement();
return V?qx.bom.element.Location.get(V,U):null;
},setDomLeft:function(j){var k=this.getContainerElement().getDomElement();

if(k){k.style.left=j+fB;
}else{throw new Error("DOM element is not yet created!");
}},setDomTop:function(bD){var bE=this.getContainerElement().getDomElement();

if(bE){bE.style.top=bD+fB;
}else{throw new Error("DOM element is not yet created!");
}},setDomPosition:function(cc,top){var cd=this.getContainerElement().getDomElement();

if(cd){cd.style.left=cc+fB;
cd.style.top=top+fB;
}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 dD=arguments.callee.base.call(this);

if(this.getChildren){var dE=this.getChildren();

for(var i=0,l=dE.length;i<l;i++){dD.add(dE[i].clone());
}}return dD;
}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){if(qx.core.Variant.isSet(fL,fv)){if(this.__eA){qx.locale.Manager.getInstance().removeListenerById(this.__eA);
}}this.getContainerElement().setAttribute(fo,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 P=qx.ui.core.Widget;
var O=this.getContainerElement();

if(this.__ew){O.remove(this.__ew);
P.__eu.poolDecorator(this.__ew);
}
if(this.__ex){O.remove(this.__ex);
P.__ev.poolDecorator(this.__ex);
}this.clearSeparators();
this.__ew=this.__ex=this.__eD=null;
}else{this._disposeArray(dP);
this._disposeObjects(eH,et);
}this._disposeArray(eg);
this.__eJ=this.__eM=null;
this._disposeObjects(es,dQ,fg,dT);
}});
})();
(function(){var e="qx.event.type.Data",d="qx.ui.container.Composite",c="addChildWidget",b="removeChildWidget";
qx.Class.define(d,{extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MLayoutHandling],construct:function(f){arguments.callee.base.call(this);

if(f!=null){this._setLayout(f);
}},events:{addChildWidget:e,removeChildWidget:e},members:{_afterAddChild:function(i){this.fireNonBubblingEvent(c,qx.event.type.Data,[i]);
},_afterRemoveChild:function(a){this.fireNonBubblingEvent(b,qx.event.type.Data,[a]);
}},defer:function(g,h){qx.ui.core.MChildrenHandling.remap(h);
qx.ui.core.MLayoutHandling.remap(h);
}});
})();
(function(){var r="keep-align",q="interval",p="Integer",o="direct",n="best-fit",m="mouse",l="bottom-left",k="disappear",j="Boolean",i="bottom-right",F="widget",E="qx.ui.core.MPlacement",D="left-top",C="offsetRight",B="shorthand",A="offsetLeft",z="top-left",y="appear",x="offsetBottom",w="top-right",u="offsetTop",v="right-bottom",s="right-top",t="left-bottom";
qx.Mixin.define(E,{properties:{position:{check:[z,w,l,i,D,t,s,v],init:l,themeable:true},placeMethod:{check:[F,m],init:m,themeable:true},domMove:{check:j,init:false},placementModeX:{check:[o,r,n],init:r,themeable:true},placementModeY:{check:[o,r,n],init:r,themeable:true},offsetLeft:{check:p,init:0,themeable:true},offsetTop:{check:p,init:0,themeable:true},offsetRight:{check:p,init:0,themeable:true},offsetBottom:{check:p,init:0,themeable:true},offset:{group:[u,C,x,A],mode:B,themeable:true}},members:{__eN:null,getLayoutLocation:function(L){var O,N,P,top;
N=L.getBounds();
P=N.left;
top=N.top;
var Q=N;
L=L.getLayoutParent();

while(L&&!L.isRootWidget()){N=L.getBounds();
P+=N.left;
top+=N.top;
O=L.getInsets();
P+=O.left;
top+=O.top;
L=L.getLayoutParent();
}if(L.isRootWidget()){var M=L.getContainerLocation();

if(M){P+=M.left;
top+=M.top;
}}return {left:P,top:top,right:P+Q.width,bottom:top+Q.height};
},moveTo:function(S,top){if(this.getDomMove()){this.setDomPosition(S,top);
}else{this.setLayoutProperties({left:S,top:top});
}},placeToWidget:function(I,J){if(J){this.__eN=qx.lang.Function.bind(this.placeToWidget,this,I,false);
qx.event.Idle.getInstance().addListener(q,this.__eN);
this.addListener(k,function(){if(this.__eN){qx.event.Idle.getInstance().removeListener(q,this.__eN);
this.__eN=null;
}},this);
}var K=I.getContainerLocation()||this.getLayoutLocation(I);
this.__eP(K);
},placeToMouse:function(event){var H=event.getDocumentLeft();
var top=event.getDocumentTop();
var G={left:H,top:top,right:H,bottom:top};
this.__eP(G);
},placeToElement:function(V,W){var location=qx.bom.element.Location.get(V);
var X={left:location.left,top:location.top,right:location.left+V.offsetWidth,bottom:location.top+V.offsetHeight};
if(W){this.__eN=qx.lang.Function.bind(this.placeToElement,this,V,false);
qx.event.Idle.getInstance().addListener(q,this.__eN);
this.addListener(k,function(){if(this.__eN){qx.event.Idle.getInstance().removeListener(q,this.__eN);
this.__eN=null;
}},this);
}this.__eP(X);
},placeToPoint:function(e){var f={left:e.left,top:e.top,right:e.left,bottom:e.top};
this.__eP(f);
},_getPlacementOffsets:function(){return {left:this.getOffsetLeft(),top:this.getOffsetTop(),right:this.getOffsetRight(),bottom:this.getOffsetBottom()};
},__eO:function(c){var d=null;

if(this._computePlacementSize){var d=this._computePlacementSize();
}else if(this.isVisible()){var d=this.getBounds();
}
if(d==null){this.addListenerOnce(y,function(){this.__eO(c);
},this);
}else{c.call(this,d);
}},__eP:function(R){this.__eO(function(T){var U=qx.util.placement.Placement.compute(T,this.getLayoutParent().getBounds(),R,this._getPlacementOffsets(),this.getPosition(),this.getPlacementModeX(),this.getPlacementModeY());
this.moveTo(U.left,U.top);
});
},setSmart:function(a){{};
var b=a?r:o;
this.set({placementModeX:b,placementModeY:b});
},getSmart:function(){{};
var g=this.getPlacementModeX()==r?true:false;
var h=this.getPlacementModeY()==r?true:false;
return g&&h;
},resetSmart:function(){{};
this.resetPlacementModeX();
this.resetPlacementModeY();
},isSmart:function(){{};
return this.getSmart();
},toggleSmart:function(){{};
this.setSmart(!this.getSmart());
}},destruct:function(){if(this.__eN){qx.event.Idle.getInstance().removeListener(q,this.__eN);
}}});
})();
(function(){var e="qx.ui.popup.Popup",d="visible",c="excluded",b="popup",a="Boolean";
qx.Class.define(e,{extend:qx.ui.container.Composite,include:qx.ui.core.MPlacement,construct:function(f){arguments.callee.base.call(this,f);
qx.core.Init.getApplication().getRoot().add(this);
this.initVisibility();
},properties:{appearance:{refine:true,init:b},visibility:{refine:true,init:c},autoHide:{check:a,init:true}},members:{_applyVisibility:function(g,h){arguments.callee.base.call(this,g,h);
var i=qx.ui.popup.Manager.getInstance();
g===d?i.add(this):i.remove(this);
}},destruct:function(){qx.ui.popup.Manager.getInstance().remove(this);
}});
})();
(function(){var q="atom",p="Integer",o="String",n="_applyRich",m="qx.ui.tooltip.ToolTip",l="_applyIcon",k="tooltip",j="qx.ui.core.Widget",i="mouseover",h="Boolean",g="_applyLabel";
qx.Class.define(m,{extend:qx.ui.popup.Popup,construct:function(d,f){arguments.callee.base.call(this);
this.setLayout(new qx.ui.layout.Grow);
this._createChildControl(q);
if(d!=null){this.setLabel(d);
}
if(f!=null){this.setIcon(f);
}this.addListener(i,this._onMouseOver,this);
},properties:{appearance:{refine:true,init:k},showTimeout:{check:p,init:700,themeable:true},hideTimeout:{check:p,init:4000,themeable:true},label:{check:o,nullable:true,apply:g},icon:{check:o,nullable:true,apply:l,themeable:true},rich:{check:h,init:false,apply:n},opener:{check:j,nullable:true}},members:{_createChildControlImpl:function(r){var s;

switch(r){case q:s=new qx.ui.basic.Atom;
this._add(s);
break;
}return s||arguments.callee.base.call(this,r);
},_onMouseOver:function(e){this.hide();
},_applyIcon:function(w,x){var y=this.getChildControl(q);
w==null?y.resetIcon:y.setIcon(w);
},_applyLabel:function(t,u){var v=this.getChildControl(q);
t==null?v.resetLabel():v.setLabel(t);
},_applyRich:function(a,b){var c=this.getChildControl(q);
c.setRich(a);
}}});
})();
(function(){var j="qx.ui.core.queue.Layout",h="layout";
qx.Class.define(j,{statics:{__eQ:{},remove:function(w){delete this.__eQ[w.$$hash];
},add:function(g){this.__eQ[g.$$hash]=g;
qx.ui.core.queue.Manager.scheduleFlush(h);
},flush:function(){var k=this.__eT();
for(var i=k.length-1;i>=0;i--){var l=k[i];
if(l.hasValidLayout()){continue;
}if(l.isRootWidget()&&!l.hasUserBounds()){var n=l.getSizeHint();
l.renderLayout(0,0,n.width,n.height);
}else{var m=l.getBounds();
l.renderLayout(m.left,m.top,m.width,m.height);
}}},getNestingLevel:function(x){var y=this.__eS;
var A=0;
var parent=x;
while(true){if(y[parent.$$hash]!=null){A+=y[parent.$$hash];
break;
}
if(!parent.$$parent){break;
}parent=parent.$$parent;
A+=1;
}var z=A;

while(x&&x!==parent){y[x.$$hash]=z--;
x=x.$$parent;
}return A;
},__eR:function(){var f=qx.ui.core.queue.Visibility;
this.__eS={};
var e=[];
var d=this.__eQ;
var a,c;

for(var b in d){a=d[b];

if(f.isVisible(a)){c=this.getNestingLevel(a);
if(!e[c]){e[c]={};
}e[c][b]=a;
delete d[b];
}}return e;
},__eT:function(){var r=[];
var t=this.__eR();

for(var q=t.length-1;q>=0;q--){if(!t[q]){continue;
}
for(var p in t[q]){var o=t[q][p];
if(q==0||o.isRootWidget()||o.hasUserBounds()){r.push(o);
o.invalidateLayoutCache();
continue;
}var v=o.getSizeHint(false);

if(v){o.invalidateLayoutCache();
var s=o.getSizeHint();
var u=(!o.getBounds()||v.minWidth!==s.minWidth||v.width!==s.width||v.maxWidth!==s.maxWidth||v.minHeight!==s.minHeight||v.height!==s.height||v.maxHeight!==s.maxHeight);
}else{u=true;
}
if(u){var parent=o.getLayoutParent();

if(!t[q-1]){t[q-1]={};
}t[q-1][parent.$$hash]=parent;
}else{r.push(o);
}}}return r;
}}});
})();
(function(){var a="qx.event.handler.UserAction";
qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(k){arguments.callee.base.call(this);
this.__eU=k;
this.__eV=k.getWindow();
},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{useraction:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__eU:null,__eV:null,canHandleEvent:function(i,j){},registerEvent:function(e,f,g){},unregisterEvent:function(b,c,d){}},destruct:function(){this.__eU=this.__eV=null;
},defer:function(h){qx.event.Registration.addHandler(h);
}});
})();
(function(){var b="qx.util.DeferredCallManager",a="singleton";
qx.Class.define(b,{extend:qx.core.Object,type:a,construct:function(){this.__eW={};
this.__eX=qx.lang.Function.bind(this.__fc,this);
this.__eY=false;
},members:{__fa:null,__fb:null,__eW:null,__eY:null,__eX:null,schedule:function(e){if(this.__fa==null){this.__fa=window.setTimeout(this.__eX,0);
}var f=e.toHashCode();
if(this.__fb&&this.__fb[f]){return;
}this.__eW[f]=e;
this.__eY=true;
},cancel:function(g){var h=g.toHashCode();
if(this.__fb&&this.__fb[h]){this.__fb[h]=null;
return;
}delete this.__eW[h];
if(qx.lang.Object.isEmpty(this.__eW)&&this.__fa!=null){window.clearTimeout(this.__fa);
this.__fa=null;
}},__fc:qx.event.GlobalError.observeMethod(function(){this.__fa=null;
while(this.__eY){this.__fb=qx.lang.Object.clone(this.__eW);
this.__eW={};
this.__eY=false;

for(var d in this.__fb){var c=this.__fb[d];

if(c){this.__fb[d]=null;
c.call();
}}}this.__fb=null;
})},destruct:function(){if(this.__fa!=null){window.clearTimeout(this.__fa);
}this.__eX=this.__eW=null;
}});
})();
(function(){var c="qx.util.DeferredCall";
qx.Class.define(c,{extend:qx.core.Object,construct:function(d,e){arguments.callee.base.call(this);
this.__fd=d;
this.__fe=e||null;
this.__ff=qx.util.DeferredCallManager.getInstance();
},members:{__fd:null,__fe:null,__ff:null,cancel:function(){this.__ff.cancel(this);
},schedule:function(){this.__ff.schedule(this);
},call:function(){this.__fe?this.__fd.apply(this.__fe):this.__fd();
}},destruct:function(a,b){this.cancel();
this.__fe=this.__fd=this.__ff=null;
}});
})();
(function(){var bm="element",bl="qx.client",bk="div",bj="",bi="mshtml",bh="none",bg="scroll",bf="qx.html.Element",be="|capture|",bd="activate",bC="blur",bB="deactivate",bA="userSelect",bz="capture",by="visible",bx="releaseCapture",bw="|bubble|",bv="qxSelectable",bu="tabIndex",bt="off",br="focus",bs="normal",bp="__fC",bq="webkit",bn="hidden",bo="on";
qx.Class.define(bf,{extend:qx.core.Object,construct:function(bD){arguments.callee.base.call(this);
this.__fg=bD||bk;
},statics:{DEBUG:false,_modified:{},_visibility:{},_scroll:{},_actions:[],__fh:{},_scheduleFlush:function(E){qx.html.Element.__fO.schedule();
},flush:function(){var dk;
{};
var dc=this.__fi();
var da=dc.getFocus();

if(da&&this.__fm(da)){dc.blur(da);
}var ds=dc.getActive();

if(ds&&this.__fm(ds)){qx.bom.Element.deactivate(ds);
}var df=this.__fk();

if(df&&this.__fm(df)){qx.bom.Element.releaseCapture(df);
}var dl=[];
var dm=this._modified;

for(var dj in dm){dk=dm[dj];
if(dk.__fG()){if(dk.__fn&&qx.dom.Hierarchy.isRendered(dk.__fn)){dl.push(dk);
}else{{};
dk.__fF();
}delete dm[dj];
}}
for(var i=0,l=dl.length;i<l;i++){dk=dl[i];
{};
dk.__fF();
}var dh=this._visibility;

for(var dj in dh){dk=dh[dj];
{};
dk.__fn.style.display=dk.__fq?bj:bh;
if(qx.core.Variant.isSet(bl,bi)){if(!(document.documentMode>=8)){dk.__fn.style.visibility=dk.__fq?by:bn;
}}delete dh[dj];
}var scroll=this._scroll;

for(var dj in scroll){dk=scroll[dj];
var dt=dk.__fn;

if(dt&&dt.offsetWidth){var de=true;
if(dk.__ft!=null){dk.__fn.scrollLeft=dk.__ft;
delete dk.__ft;
}if(dk.__fu!=null){dk.__fn.scrollTop=dk.__fu;
delete dk.__fu;
}var dp=dk.__fr;

if(dp!=null){var di=dp.element.getDomElement();

if(di&&di.offsetWidth){qx.bom.element.Scroll.intoViewX(di,dt,dp.align);
delete dk.__fr;
}else{de=false;
}}var dq=dk.__fs;

if(dq!=null){var di=dq.element.getDomElement();

if(di&&di.offsetWidth){qx.bom.element.Scroll.intoViewY(di,dt,dq.align);
delete dk.__fs;
}else{de=false;
}}if(de){delete scroll[dj];
}}}var dd={"releaseCapture":1,"blur":1,"deactivate":1};
for(var i=0;i<this._actions.length;i++){var dr=this._actions[i];
var dn=dr.element.__fn;

if(!dn||!dd[dr.type]&&!dr.element.__fG()){continue;
}var dg=dr.args;
dg.unshift(dn);
qx.bom.Element[dr.type].apply(qx.bom.Element,dg);
}this._actions=[];
for(var dj in this.__fh){var cY=this.__fh[dj];
var dt=cY.element.__fn;

if(dt){qx.bom.Selection.set(dt,cY.start,cY.end);
delete this.__fh[dj];
}}qx.event.handler.Appear.refresh();
},__fi:function(){if(!this.__fj){var cq=qx.event.Registration.getManager(window);
this.__fj=cq.getHandler(qx.event.handler.Focus);
}return this.__fj;
},__fk:function(){if(!this.__fl){var bE=qx.event.Registration.getManager(window);
this.__fl=bE.getDispatcher(qx.event.dispatch.MouseCapture);
}return this.__fl.getCaptureElement();
},__fm:function(cg){var ch=qx.core.ObjectRegistry.fromHashCode(cg.$$element);
return ch&&!ch.__fG();
}},members:{__fg:null,__fn:null,__fo:false,__fp:true,__fq:true,__fr:null,__fs:null,__ft:null,__fu:null,__fv:null,__fw:null,__fx:null,__fy:null,__fz:null,__fA:null,__fB:null,__fC:null,__fD:null,__fE:null,_scheduleChildrenUpdate:function(){if(this.__fD){return;
}this.__fD=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(bm);
},_createDomElement:function(){return qx.bom.Element.create(this.__fg);
},__fF:function(){{};
var dy=this.__fC;

if(dy){var length=dy.length;
var dz;

for(var i=0;i<length;i++){dz=dy[i];

if(dz.__fq&&dz.__fp&&!dz.__fn){dz.__fF();
}}}
if(!this.__fn){this.__fn=this._createDomElement();
this.__fn.$$element=this.$$hash;
this._copyData(false);

if(dy&&length>0){this._insertChildren();
}}else{this._syncData();

if(this.__fD){this._syncChildren();
}}delete this.__fD;
},_insertChildren:function(){var cc=this.__fC;
var length=cc.length;
var ce;

if(length>2){var cd=document.createDocumentFragment();

for(var i=0;i<length;i++){ce=cc[i];

if(ce.__fn&&ce.__fp){cd.appendChild(ce.__fn);
}}this.__fn.appendChild(cd);
}else{var cd=this.__fn;

for(var i=0;i<length;i++){ce=cc[i];

if(ce.__fn&&ce.__fp){cd.appendChild(ce.__fn);
}}}},_syncChildren:function(){var cR;
var cW=qx.core.ObjectRegistry;
var cN=this.__fC;
var cU=cN.length;
var cO;
var cS;
var cQ=this.__fn;
var cT=cQ.childNodes;
var cP=0;
var cV;
{};
for(var i=cT.length-1;i>=0;i--){cV=cT[i];
cS=cW.fromHashCode(cV.$$element);

if(!cS||!cS.__fp||cS.__fE!==this){cQ.removeChild(cV);
{};
}}for(var i=0;i<cU;i++){cO=cN[i];
if(cO.__fp){cS=cO.__fn;
cV=cT[cP];

if(!cS){continue;
}if(cS!=cV){if(cV){cQ.insertBefore(cS,cV);
}else{cQ.appendChild(cS);
}{};
}cP++;
}}{};
},_copyData:function(dG){var dK=this.__fn;
var dJ=this.__fz;

if(dJ){var dH=qx.bom.element.Attribute;

for(var dL in dJ){dH.set(dK,dL,dJ[dL]);
}}var dJ=this.__fy;

if(dJ){var dI=qx.bom.element.Style;

if(dG){dI.setStyles(dK,dJ);
}else{dI.setCss(dK,dI.compile(dJ));
}}var dJ=this.__fA;

if(dJ){for(var dL in dJ){this._applyProperty(dL,dJ[dL]);
}}var dJ=this.__fB;

if(dJ){qx.event.Registration.getManager(dK).importListeners(dK,dJ);
delete this.__fB;
}},_syncData:function(){var cm=this.__fn;
var cl=qx.bom.element.Attribute;
var cj=qx.bom.element.Style;
var ck=this.__fw;

if(ck){var cp=this.__fz;

if(cp){var cn;

for(var co in ck){cn=cp[co];

if(cn!==undefined){cl.set(cm,co,cn);
}else{cl.reset(cm,co);
}}}this.__fw=null;
}var ck=this.__fv;

if(ck){var cp=this.__fy;

if(cp){var ci={};

for(var co in ck){ci[co]=cp[co];
}cj.setStyles(cm,ci);
}this.__fv=null;
}var ck=this.__fx;

if(ck){var cp=this.__fA;

if(cp){var cn;

for(var co in ck){this._applyProperty(co,cp[co]);
}}this.__fx=null;
}},__fG:function(){var cH=this;
while(cH){if(cH.__fo){return true;
}
if(!cH.__fp||!cH.__fq){return false;
}cH=cH.__fE;
}return false;
},__fH:function(bI){if(bI.__fE===this){throw new Error("Child is already in: "+bI);
}
if(bI.__fo){throw new Error("Root elements could not be inserted into other ones.");
}if(bI.__fE){bI.__fE.remove(bI);
}bI.__fE=this;
if(!this.__fC){this.__fC=[];
}if(this.__fn){this._scheduleChildrenUpdate();
}},__fI:function(cJ){if(cJ.__fE!==this){throw new Error("Has no child: "+cJ);
}if(this.__fn){this._scheduleChildrenUpdate();
}delete cJ.__fE;
},__fJ:function(D){if(D.__fE!==this){throw new Error("Has no child: "+D);
}if(this.__fn){this._scheduleChildrenUpdate();
}},getChildren:function(){return this.__fC||null;
},getChild:function(dv){var dw=this.__fC;
return dw&&dw[dv]||null;
},hasChildren:function(){var du=this.__fC;
return du&&du[0]!==undefined;
},indexOf:function(z){var A=this.__fC;
return A?A.indexOf(z):-1;
},hasChild:function(g){var h=this.__fC;
return h&&h.indexOf(g)!==-1;
},add:function(m){if(arguments[1]){for(var i=0,l=arguments.length;i<l;i++){this.__fH(arguments[i]);
}this.__fC.push.apply(this.__fC,arguments);
}else{this.__fH(m);
this.__fC.push(m);
}return this;
},addAt:function(cw,cx){this.__fH(cw);
qx.lang.Array.insertAt(this.__fC,cw,cx);
return this;
},remove:function(n){var o=this.__fC;

if(!o){return;
}
if(arguments[1]){var p;

for(var i=0,l=arguments.length;i<l;i++){p=arguments[i];
this.__fI(p);
qx.lang.Array.remove(o,p);
}}else{this.__fI(n);
qx.lang.Array.remove(o,n);
}return this;
},removeAt:function(H){var I=this.__fC;

if(!I){throw new Error("Has no children!");
}var J=I[H];

if(!J){throw new Error("Has no child at this position!");
}this.__fI(J);
qx.lang.Array.removeAt(this.__fC,H);
return this;
},removeAll:function(){var dN=this.__fC;

if(dN){for(var i=0,l=dN.length;i<l;i++){this.__fI(dN[i]);
}dN.length=0;
}return this;
},getParent:function(){return this.__fE||null;
},insertInto:function(parent,V){parent.__fH(this);

if(V==null){parent.__fC.push(this);
}else{qx.lang.Array.insertAt(this.__fC,this,V);
}return this;
},insertBefore:function(cI){var parent=cI.__fE;
parent.__fH(this);
qx.lang.Array.insertBefore(parent.__fC,this,cI);
return this;
},insertAfter:function(w){var parent=w.__fE;
parent.__fH(this);
qx.lang.Array.insertAfter(parent.__fC,this,w);
return this;
},moveTo:function(dE){var parent=this.__fE;
parent.__fJ(this);
var dF=parent.__fC.indexOf(this);

if(dF===dE){throw new Error("Could not move to same index!");
}else if(dF<dE){dE--;
}qx.lang.Array.removeAt(parent.__fC,dF);
qx.lang.Array.insertAt(parent.__fC,this,dE);
return this;
},moveBefore:function(G){var parent=this.__fE;
return this.moveTo(parent.__fC.indexOf(G));
},moveAfter:function(cf){var parent=this.__fE;
return this.moveTo(parent.__fC.indexOf(cf)+1);
},free:function(){var parent=this.__fE;

if(!parent){throw new Error("Has no parent to remove from.");
}
if(!parent.__fC){return;
}parent.__fI(this);
qx.lang.Array.remove(parent.__fC,this);
return this;
},getDomElement:function(){return this.__fn||null;
},getNodeName:function(){return this.__fg;
},setNodeName:function(name){this.__fg=name;
},setRoot:function(cG){this.__fo=cG;
},useMarkup:function(cy){if(this.__fn){throw new Error("Could not overwrite existing element!");
}if(qx.core.Variant.isSet(bl,bi)){var cz=document.createElement(bk);
}else{var cz=qx.html.Element.__fK;

if(!cz){cz=qx.html.Element.__fK=document.createElement(bk);
}}cz.innerHTML=cy;
this.__fn=cz.firstChild;
this.__fn.$$element=this.$$hash;
this._copyData(true);
return this.__fn;
},useElement:function(c){if(this.__fn){throw new Error("Could not overwrite existing element!");
}this.__fn=c;
this.__fn.$$element=this.$$hash;
this._copyData(true);
},isFocusable:function(){var ct=this.getAttribute(bu);

if(ct>=1){return true;
}var cs=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;

if(ct>=0&&cs[this.__fg]){return true;
}return false;
},setSelectable:function(bc){this.setAttribute(bv,bc?bo:bt);
if(qx.core.Variant.isSet(bl,bq)){this.setStyle(bA,bc?bs:bh);
}},isNativelyFocusable:function(){return !!qx.event.handler.Focus.FOCUSABLE_ELEMENTS[this.__fg];
},include:function(){if(this.__fp){return;
}delete this.__fp;

if(this.__fE){this.__fE._scheduleChildrenUpdate();
}return this;
},exclude:function(){if(!this.__fp){return;
}this.__fp=false;

if(this.__fE){this.__fE._scheduleChildrenUpdate();
}return this;
},isIncluded:function(){return this.__fp===true;
},show:function(){if(this.__fq){return;
}
if(this.__fn){qx.html.Element._visibility[this.$$hash]=this;
qx.html.Element._scheduleFlush(bm);
}if(this.__fE){this.__fE._scheduleChildrenUpdate();
}delete this.__fq;
},hide:function(){if(!this.__fq){return;
}
if(this.__fn){qx.html.Element._visibility[this.$$hash]=this;
qx.html.Element._scheduleFlush(bm);
}this.__fq=false;
},isVisible:function(){return this.__fq===true;
},scrollChildIntoViewX:function(r,s,t){var u=this.__fn;
var v=r.getDomElement();

if(t!==false&&u&&u.offsetWidth&&v&&v.offsetWidth){qx.bom.element.Scroll.intoViewX(v,u,s);
}else{this.__fr={element:r,align:s};
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(bm);
}delete this.__ft;
},scrollChildIntoViewY:function(bQ,bR,bS){var bT=this.__fn;
var bU=bQ.getDomElement();

if(bS!==false&&bT&&bT.offsetWidth&&bU&&bU.offsetWidth){qx.bom.element.Scroll.intoViewY(bU,bT,bR);
}else{this.__fs={element:bQ,align:bR};
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(bm);
}delete this.__fu;
},scrollToX:function(x,dT){var dU=this.__fn;

if(dT!==true&&dU&&dU.offsetWidth){dU.scrollLeft=x;
}else{this.__ft=x;
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(bm);
}delete this.__fr;
},getScrollX:function(){var cr=this.__fn;

if(cr){return cr.scrollLeft;
}return this.__ft||0;
},scrollToY:function(y,a){var b=this.__fn;

if(a!==true&&b&&b.offsetWidth){b.scrollTop=y;
}else{this.__fu=y;
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(bm);
}delete this.__fs;
},getScrollY:function(){var dD=this.__fn;

if(dD){return dD.scrollTop;
}return this.__fu||0;
},disableScrolling:function(){this.enableScrolling();
this.scrollToX(0);
this.scrollToY(0);
this.addListener(bg,this.__fM,this);
},enableScrolling:function(){this.removeListener(bg,this.__fM,this);
},__fL:null,__fM:function(e){if(!this.__fL){this.__fL=true;
this.__fn.scrollTop=0;
this.__fn.scrollLeft=0;
delete this.__fL;
}},getTextSelection:function(){var F=this.__fn;

if(F){return qx.bom.Selection.get(F);
}return null;
},getTextSelectionLength:function(){var dM=this.__fn;

if(dM){return qx.bom.Selection.getLength(dM);
}return null;
},getTextSelectionStart:function(){var j=this.__fn;

if(j){return qx.bom.Selection.getStart(j);
}return null;
},getTextSelectionEnd:function(){var k=this.__fn;

if(k){return qx.bom.Selection.getEnd(k);
}return null;
},setTextSelection:function(bY,ca){var cb=this.__fn;

if(cb){qx.bom.Selection.set(cb,bY,ca);
return;
}qx.html.Element.__fh[this.toHashCode()]={element:this,start:bY,end:ca};
qx.html.Element._scheduleFlush(bm);
},clearTextSelection:function(){var cE=this.__fn;

if(cE){qx.bom.Selection.clear(cE);
}delete qx.html.Element.__fh[this.toHashCode()];
},__fN:function(bV,bW){var bX=qx.html.Element._actions;
bX.push({type:bV,element:this,args:bW||[]});
qx.html.Element._scheduleFlush(bm);
},focus:function(){this.__fN(br);
},blur:function(){this.__fN(bC);
},activate:function(){this.__fN(bd);
},deactivate:function(){this.__fN(bB);
},capture:function(Q){this.__fN(bz,[Q!==false]);
},releaseCapture:function(){this.__fN(bx);
},setStyle:function(bF,bG,bH){if(!this.__fy){this.__fy={};
}
if(this.__fy[bF]==bG){return;
}
if(bG==null){delete this.__fy[bF];
}else{this.__fy[bF]=bG;
}if(this.__fn){if(bH){qx.bom.element.Style.set(this.__fn,bF,bG);
return this;
}if(!this.__fv){this.__fv={};
}this.__fv[bF]=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(bm);
}return this;
},setStyles:function(W,X){var Y=qx.bom.element.Style;

if(!this.__fy){this.__fy={};
}
if(this.__fn){if(!this.__fv){this.__fv={};
}
for(var bb in W){var ba=W[bb];

if(this.__fy[bb]==ba){continue;
}
if(ba==null){delete this.__fy[bb];
}else{this.__fy[bb]=ba;
}if(X){Y.set(this.__fn,bb,ba);
continue;
}this.__fv[bb]=true;
}qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(bm);
}else{for(var bb in W){var ba=W[bb];

if(this.__fy[bb]==ba){continue;
}
if(ba==null){delete this.__fy[bb];
}else{this.__fy[bb]=ba;
}}}return this;
},removeStyle:function(B,C){this.setStyle(B,null,C);
},getStyle:function(cF){return this.__fy?this.__fy[cF]:null;
},getAllStyles:function(){return this.__fy||null;
},setAttribute:function(cK,cL,cM){if(!this.__fz){this.__fz={};
}
if(this.__fz[cK]==cL){return;
}
if(cL==null){delete this.__fz[cK];
}else{this.__fz[cK]=cL;
}if(this.__fn){if(cM){qx.bom.element.Attribute.set(this.__fn,cK,cL);
return this;
}if(!this.__fw){this.__fw={};
}this.__fw[cK]=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(bm);
}return this;
},setAttributes:function(S,T){for(var U in S){this.setAttribute(U,S[U],T);
}return this;
},removeAttribute:function(cu,cv){this.setAttribute(cu,null,cv);
},getAttribute:function(q){return this.__fz?this.__fz[q]:null;
},_applyProperty:function(name,cX){},_setProperty:function(dA,dB,dC){if(!this.__fA){this.__fA={};
}
if(this.__fA[dA]==dB){return;
}
if(dB==null){delete this.__fA[dA];
}else{this.__fA[dA]=dB;
}if(this.__fn){if(dC){this._applyProperty(dA,dB);
return this;
}if(!this.__fx){this.__fx={};
}this.__fx[dA]=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(bm);
}return this;
},_removeProperty:function(d,f){this._setProperty(d,null,f);
},_getProperty:function(cB){var cC=this.__fA;

if(!cC){return null;
}var cD=cC[cB];
return cD==null?null:cD;
},addListener:function(K,L,self,M){var N;

if(this.$$disposed){return null;
}{};

if(this.__fn){return qx.event.Registration.addListener(this.__fn,K,L,self,M);
}
if(!this.__fB){this.__fB={};
}
if(M==null){M=false;
}var O=qx.event.Manager.getNextUniqueId();
var P=K+(M?be:bw)+O;
this.__fB[P]={type:K,listener:L,self:self,capture:M,unique:O};
return P;
},removeListener:function(bJ,bK,self,bL){var bM;

if(this.$$disposed){return null;
}{};

if(this.__fn){qx.event.Registration.removeListener(this.__fn,bJ,bK,self,bL);
}else{var bO=this.__fB;
var bN;

if(bL==null){bL=false;
}
for(var bP in bO){bN=bO[bP];
if(bN.listener===bK&&bN.self===self&&bN.capture===bL&&bN.type===bJ){delete bO[bP];
break;
}}}return this;
},removeListenerById:function(dx){if(this.$$disposed){return null;
}
if(this.__fn){qx.event.Registration.removeListenerById(this.__fn,dx);
}else{delete this.__fB[dx];
}return this;
},hasListener:function(dO,dP){if(this.$$disposed){return false;
}
if(this.__fn){return qx.event.Registration.hasListener(this.__fn,dO,dP);
}var dR=this.__fB;
var dQ;

if(dP==null){dP=false;
}
for(var dS in dR){dQ=dR[dS];
if(dQ.capture===dP&&dQ.type===dO){return true;
}}return false;
}},defer:function(cA){cA.__fO=new qx.util.DeferredCall(cA.flush,cA);
},destruct:function(){var R=this.__fn;

if(R){qx.event.Registration.getManager(R).removeAllListeners(R);
R.$$element=bj;
}
if(!qx.core.ObjectRegistry.inShutDown){var parent=this.__fE;

if(parent&&!parent.$$disposed){parent.remove(this);
}}this._disposeArray(bp);
this.__fz=this.__fy=this.__fB=this.__fA=this.__fw=this.__fv=this.__fx=this.__fn=this.__fE=this.__fr=this.__fs=null;
}});
})();
(function(){var c="qx.ui.core.queue.Manager",b="useraction";
qx.Class.define(c,{statics:{__fP:false,__fQ:{},__fR:0,MAX_RETRIES:10,scheduleFlush:function(g){var self=qx.ui.core.queue.Manager;
self.__fQ[g]=true;

if(!self.__fP){self.__fU.schedule();
self.__fP=true;
}},flush:function(){var self=qx.ui.core.queue.Manager;
if(self.__fS){return;
}self.__fS=true;
self.__fU.cancel();
var h=self.__fQ;
self.__fT(function(){while(h.visibility||h.widget||h.appearance||h.layout||h.element){if(h.widget){delete h.widget;
qx.ui.core.queue.Widget.flush();
}
if(h.visibility){delete h.visibility;
qx.ui.core.queue.Visibility.flush();
}
if(h.appearance){delete h.appearance;
qx.ui.core.queue.Appearance.flush();
}if(h.widget||h.visibility||h.appearance){continue;
}
if(h.layout){delete h.layout;
qx.ui.core.queue.Layout.flush();
}if(h.widget||h.visibility||h.appearance||h.layout){continue;
}
if(h.element){delete h.element;
qx.html.Element.flush();
}}},function(){self.__fP=false;
});
self.__fT(function(){if(h.dispose){delete h.dispose;
qx.ui.core.queue.Dispose.flush();
}},function(){self.__fS=false;
});
self.__fR=0;
},__fT:function(d,f){var self=qx.ui.core.queue.Manager;

try{d();
}catch(e){{};
self.__fP=false;
self.__fS=false;
self.__fR+=1;

if(self.__fR<=self.MAX_RETRIES){self.scheduleFlush();
}else{throw new Error("Fatal Error: Flush terminated "+(self.__fR-1)+" times in a row"+" due to exceptions in user code. The application has to be reloaded!");
}throw e;
}finally{f();
}}},defer:function(a){a.__fU=new qx.util.DeferredCall(a.flush);
qx.html.Element._scheduleFlush=a.scheduleFlush;
qx.event.Registration.addListener(window,b,a.flush);
}});
})();
(function(){var u="abstract",t="qx.event.dispatch.AbstractBubbling";
qx.Class.define(t,{extend:qx.core.Object,implement:qx.event.IEventDispatcher,type:u,construct:function(a){this._manager=a;
},members:{_getParent:function(x){throw new Error("Missing implementation");
},canDispatchEvent:function(v,event,w){return event.getBubbles();
},dispatchEvent:function(b,event,c){var parent=b;
var n=this._manager;
var k,r;
var g;
var m,p;
var o;
var q=[];
k=n.getListeners(b,c,true);
r=n.getListeners(b,c,false);

if(k){q.push(k);
}
if(r){q.push(r);
}var parent=this._getParent(b);
var e=[];
var d=[];
var f=[];
var l=[];
while(parent!=null){k=n.getListeners(parent,c,true);

if(k){f.push(k);
l.push(parent);
}r=n.getListeners(parent,c,false);

if(r){e.push(r);
d.push(parent);
}parent=this._getParent(parent);
}event.setEventPhase(qx.event.type.Event.CAPTURING_PHASE);

for(var i=f.length-1;i>=0;i--){o=l[i];
event.setCurrentTarget(o);
g=f[i];

for(var j=0,h=g.length;j<h;j++){m=g[j];
p=m.context||o;
m.handler.call(p,event);
}
if(event.getPropagationStopped()){return;
}}event.setEventPhase(qx.event.type.Event.AT_TARGET);
event.setCurrentTarget(b);

for(var i=0,s=q.length;i<s;i++){g=q[i];

for(var j=0,h=g.length;j<h;j++){m=g[j];
p=m.context||b;
m.handler.call(p,event);
}
if(event.getPropagationStopped()){return;
}}event.setEventPhase(qx.event.type.Event.BUBBLING_PHASE);

for(var i=0,s=e.length;i<s;i++){o=d[i];
event.setCurrentTarget(o);
g=e[i];

for(var j=0,h=g.length;j<h;j++){m=g[j];
p=m.context||o;
m.handler.call(p,event);
}
if(event.getPropagationStopped()){return;
}}}}});
})();
(function(){var a="qx.event.dispatch.DomBubbling";
qx.Class.define(a,{extend:qx.event.dispatch.AbstractBubbling,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL},members:{_getParent:function(c){return c.parentNode;
},canDispatchEvent:function(d,event,e){return d.nodeType!==undefined&&event.getBubbles();
}},defer:function(b){qx.event.Registration.addDispatcher(b);
}});
})();
(function(){var q="keydown",p="qx.client",o="keypress",n="NumLock",m="keyup",l="Enter",k="0",j="9",i="-",h="PageUp",bx="+",bw="PrintScreen",bv="gecko",bu="A",bt="Z",bs="Left",br="F5",bq="Down",bp="Up",bo="F11",x="F6",y="useraction",v="F3",w="keyinput",t="Insert",u="F8",r="End",s="/",F="Delete",G="*",S="F1",O="F4",bb="Home",V="F2",bk="F12",bg="PageDown",K="F7",bn="F9",bm="F10",bl="Right",J="text",M="Escape",N="webkit",Q="5",T="3",W="Meta",bd="7",bi="CapsLock",z="input",A="Control",L="Space",ba="Tab",Y="Shift",X="Pause",bf="Unidentified",be="qx.event.handler.Keyboard",U="mshtml",bc="mshtml|webkit",e="6",bh="off",B="Apps",C="4",P="Alt",f="2",g="Scroll",I="1",D="8",E="Win",H="autoComplete",R=",",bj="Backspace";
qx.Class.define(be,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(bD){arguments.callee.base.call(this);
this.__fV=bD;
this.__fW=bD.getWindow();
if(qx.core.Variant.isSet(p,bv)){this.__fX=this.__fW;
}else{this.__fX=this.__fW.document.documentElement;
}this.__fY={};
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(bJ){if(this._identifierToKeyCodeMap[bJ]){return true;
}
if(bJ.length!=1){return false;
}
if(bJ>=k&&bJ<=j){return true;
}
if(bJ>=bu&&bJ<=bt){return true;
}
switch(bJ){case bx:case i:case G:case s:return true;
default:return false;
}}},members:{__ga:null,__fV:null,__fW:null,__fX:null,__fY:null,__gb:null,__gc:null,__gd:null,canHandleEvent:function(cu,cv){},registerEvent:function(cA,cB,cC){},unregisterEvent:function(cg,ch,ci){},_fireInputEvent:function(cr,cs){var ct=this.__ge();
if(ct&&ct.offsetWidth!=0){var event=qx.event.Registration.createEvent(w,qx.event.type.KeyInput,[cr,ct,cs]);
this.__fV.dispatchEvent(ct,event);
}if(this.__fW){qx.event.Registration.fireEvent(this.__fW,y,qx.event.type.Data,[w]);
}},_fireSequenceEvent:function(bU,bV,bW){var bX=this.__ge();
var bY=bU.keyCode;
var event=qx.event.Registration.createEvent(bV,qx.event.type.KeySequence,[bU,bX,bW]);
this.__fV.dispatchEvent(bX,event);
if(qx.core.Variant.isSet(p,bc)){if(bV==q&&event.getDefaultPrevented()){if(!this._isNonPrintableKeyCode(bY)&&!this._emulateKeyPress[bY]){this._fireSequenceEvent(bU,o,bW);
}}}if(this.__fW){qx.event.Registration.fireEvent(this.__fW,y,qx.event.type.Data,[bV]);
}},__ge:function(){var ck=this.__fV.getHandler(qx.event.handler.Focus);
var cl=ck.getActive();
if(!cl||cl.offsetWidth==0){cl=ck.getFocus();
}if(!cl||cl.offsetWidth==0){cl=this.__fV.getWindow().document.body;
}return cl;
},_initKeyObserver:function(){this.__ga=qx.lang.Function.listener(this.__gf,this);
this.__gd=qx.lang.Function.listener(this.__gh,this);
var Event=qx.bom.Event;
Event.addNativeListener(this.__fX,m,this.__ga);
Event.addNativeListener(this.__fX,q,this.__ga);
Event.addNativeListener(this.__fX,o,this.__gd);
},_stopKeyObserver:function(){var Event=qx.bom.Event;
Event.removeNativeListener(this.__fX,m,this.__ga);
Event.removeNativeListener(this.__fX,q,this.__ga);
Event.removeNativeListener(this.__fX,o,this.__gd);

for(var bO in (this.__gc||{})){var bN=this.__gc[bO];
Event.removeNativeListener(bN.target,o,bN.callback);
}delete (this.__gc);
},__gf:qx.event.GlobalError.observeMethod(qx.core.Variant.select(p,{"mshtml":function(cF){cF=window.event||cF;
var cI=cF.keyCode;
var cG=0;
var cH=cF.type;
if(!(this.__fY[cI]==q&&cH==q)){this._idealKeyHandler(cI,cG,cH,cF);
}if(cH==q){if(this._isNonPrintableKeyCode(cI)||this._emulateKeyPress[cI]){this._idealKeyHandler(cI,cG,o,cF);
}}this.__fY[cI]=cH;
},"gecko":function(bE){var bI=this._keyCodeFix[bE.keyCode]||bE.keyCode;
var bG=0;
var bH=bE.type;
if(qx.bom.client.Platform.WIN){var bF=bI?this._keyCodeToIdentifier(bI):this._charCodeToIdentifier(bG);

if(!(this.__fY[bF]==q&&bH==q)){this._idealKeyHandler(bI,bG,bH,bE);
}this.__fY[bF]=bH;
}else{this._idealKeyHandler(bI,bG,bH,bE);
}this.__gg(bE.target,bH,bI);
},"webkit":function(cw){var cz=0;
var cx=0;
var cy=cw.type;
if(qx.bom.client.Engine.VERSION<525.13){if(cy==m||cy==q){cz=this._charCode2KeyCode[cw.charCode]||cw.keyCode;
}else{if(this._charCode2KeyCode[cw.charCode]){cz=this._charCode2KeyCode[cw.charCode];
}else{cx=cw.charCode;
}}this._idealKeyHandler(cz,cx,cy,cw);
}else{cz=cw.keyCode;
if(!(this.__fY[cz]==q&&cy==q)){this._idealKeyHandler(cz,cx,cy,cw);
}if(cy==q){if(this._isNonPrintableKeyCode(cz)||this._emulateKeyPress[cz]){this._idealKeyHandler(cz,cx,o,cw);
}}this.__fY[cz]=cy;
}},"opera":function(cL){this.__gb=cL.keyCode;
this._idealKeyHandler(cL.keyCode,0,cL.type,cL);
}})),__gg:qx.core.Variant.select(p,{"gecko":function(by,bz,bA){if(bz===q&&(bA==33||bA==34||bA==38||bA==40)&&by.type==J&&by.tagName.toLowerCase()===z&&by.getAttribute(H)!==bh){if(!this.__gc){this.__gc={};
}var bC=qx.core.ObjectRegistry.toHashCode(by);

if(this.__gc[bC]){return;
}var self=this;
this.__gc[bC]={target:by,callback:function(cm){qx.bom.Event.stopPropagation(cm);
self.__gh(cm);
}};
var bB=qx.event.GlobalError.observeMethod(this.__gc[bC].callback);
qx.bom.Event.addNativeListener(by,o,bB);
}},"default":null}),__gh:qx.event.GlobalError.observeMethod(qx.core.Variant.select(p,{"mshtml":function(cD){cD=window.event||cD;

if(this._charCode2KeyCode[cD.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[cD.keyCode],0,cD.type,cD);
}else{this._idealKeyHandler(0,cD.keyCode,cD.type,cD);
}},"gecko":function(cn){var cq=this._keyCodeFix[cn.keyCode]||cn.keyCode;
var co=cn.charCode;
var cp=cn.type;
this._idealKeyHandler(cq,co,cp,cn);
},"webkit":function(ca){if(qx.bom.client.Engine.VERSION<525.13){var cd=0;
var cb=0;
var cc=ca.type;

if(cc==m||cc==q){cd=this._charCode2KeyCode[ca.charCode]||ca.keyCode;
}else{if(this._charCode2KeyCode[ca.charCode]){cd=this._charCode2KeyCode[ca.charCode];
}else{cb=ca.charCode;
}}this._idealKeyHandler(cd,cb,cc,ca);
}else{if(this._charCode2KeyCode[ca.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[ca.keyCode],0,ca.type,ca);
}else{this._idealKeyHandler(0,ca.keyCode,ca.type,ca);
}}},"opera":function(bK){var bM=bK.keyCode;
var bL=bK.type;
if(bM!=this.__gb){this._idealKeyHandler(0,this.__gb,bL,bK);
}else{if(this._keyCodeToIdentifierMap[bK.keyCode]){this._idealKeyHandler(bK.keyCode,0,bK.type,bK);
}else{this._idealKeyHandler(0,bK.keyCode,bK.type,bK);
}}}})),_idealKeyHandler:function(bP,bQ,bR,bS){var bT;
if(bP||(!bP&&!bQ)){bT=this._keyCodeToIdentifier(bP);
this._fireSequenceEvent(bS,bR,bT);
}else{bT=this._charCodeToIdentifier(bQ);
this._fireSequenceEvent(bS,o,bT);
this._fireInputEvent(bS,bQ);
}},_specialCharCodeMap:{8:bj,9:ba,13:l,27:M,32:L},_emulateKeyPress:qx.core.Variant.select(p,{"mshtml":{8:true,9:true},"webkit":{8:true,9:true,27:true},"default":{}}),_keyCodeToIdentifierMap:{16:Y,17:A,18:P,20:bi,224:W,37:bs,38:bp,39:bl,40:bq,33:h,34:bg,35:r,36:bb,45:t,46:F,112:S,113:V,114:v,115:O,116:br,117:x,118:K,119:u,120:bn,121:bm,122:bo,123:bk,144:n,44:bw,145:g,19:X,91:E,93:B},_numpadToCharCode:{96:k.charCodeAt(0),97:I.charCodeAt(0),98:f.charCodeAt(0),99:T.charCodeAt(0),100:C.charCodeAt(0),101:Q.charCodeAt(0),102:e.charCodeAt(0),103:bd.charCodeAt(0),104:D.charCodeAt(0),105:j.charCodeAt(0),106:G.charCodeAt(0),107:bx.charCodeAt(0),109:i.charCodeAt(0),110:R.charCodeAt(0),111:s.charCodeAt(0)},_charCodeA:bu.charCodeAt(0),_charCodeZ:bt.charCodeAt(0),_charCode0:k.charCodeAt(0),_charCode9:j.charCodeAt(0),_isNonPrintableKeyCode:function(cK){return this._keyCodeToIdentifierMap[cK]?true:false;
},_isIdentifiableKeyCode:function(cj){if(cj>=this._charCodeA&&cj<=this._charCodeZ){return true;
}if(cj>=this._charCode0&&cj<=this._charCode9){return true;
}if(this._specialCharCodeMap[cj]){return true;
}if(this._numpadToCharCode[cj]){return true;
}if(this._isNonPrintableKeyCode(cj)){return true;
}return false;
},_keyCodeToIdentifier:function(ce){if(this._isIdentifiableKeyCode(ce)){var cf=this._numpadToCharCode[ce];

if(cf){return String.fromCharCode(cf);
}return (this._keyCodeToIdentifierMap[ce]||this._specialCharCodeMap[ce]||String.fromCharCode(ce));
}else{return bf;
}},_charCodeToIdentifier:function(cE){return this._specialCharCodeMap[cE]||String.fromCharCode(cE).toUpperCase();
},_identifierToKeyCode:function(cJ){return qx.event.handler.Keyboard._identifierToKeyCodeMap[cJ]||cJ.charCodeAt(0);
}},destruct:function(){this._stopKeyObserver();
this.__gb=this.__fV=this.__fW=this.__fX=this.__fY=null;
},defer:function(a,b,c){qx.event.Registration.addHandler(a);
if(!a._identifierToKeyCodeMap){a._identifierToKeyCodeMap={};

for(var d in b._keyCodeToIdentifierMap){a._identifierToKeyCodeMap[b._keyCodeToIdentifierMap[d]]=parseInt(d,10);
}
for(var d in b._specialCharCodeMap){a._identifierToKeyCodeMap[b._specialCharCodeMap[d]]=parseInt(d,10);
}}
if(qx.core.Variant.isSet(p,U)){b._charCode2KeyCode={13:13,27:27};
}else if(qx.core.Variant.isSet(p,bv)){b._keyCodeFix={12:b._identifierToKeyCode(n)};
}else if(qx.core.Variant.isSet(p,N)){if(qx.bom.client.Engine.VERSION<525.13){b._charCode2KeyCode={63289:b._identifierToKeyCode(n),63276:b._identifierToKeyCode(h),63277:b._identifierToKeyCode(bg),63275:b._identifierToKeyCode(r),63273:b._identifierToKeyCode(bb),63234:b._identifierToKeyCode(bs),63232:b._identifierToKeyCode(bp),63235:b._identifierToKeyCode(bl),63233:b._identifierToKeyCode(bq),63272:b._identifierToKeyCode(F),63302:b._identifierToKeyCode(t),63236:b._identifierToKeyCode(S),63237:b._identifierToKeyCode(V),63238:b._identifierToKeyCode(v),63239:b._identifierToKeyCode(O),63240:b._identifierToKeyCode(br),63241:b._identifierToKeyCode(x),63242:b._identifierToKeyCode(K),63243:b._identifierToKeyCode(u),63244:b._identifierToKeyCode(bn),63245:b._identifierToKeyCode(bm),63246:b._identifierToKeyCode(bo),63247:b._identifierToKeyCode(bk),63248:b._identifierToKeyCode(bw),3:b._identifierToKeyCode(l),12:b._identifierToKeyCode(n),13:b._identifierToKeyCode(l)};
}else{b._charCode2KeyCode={13:13,27:27};
}}}});
})();
(function(){var V="qx.client",U="mouseup",T="click",S="mousedown",R="contextmenu",Q="mousewheel",P="dblclick",O="mshtml",N="mouseover",M="mouseout",H="DOMMouseScroll",L="mousemove",K="on",G="mshtml|webkit|opera",F="useraction",J="gecko|webkit",I="qx.event.handler.Mouse";
qx.Class.define(I,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(a){arguments.callee.base.call(this);
this.__gi=a;
this.__gj=a.getWindow();
this.__gk=this.__gj.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:{__gl:null,__gm:null,__gn:null,__go:null,__gp:null,__gi:null,__gj:null,__gk:null,canHandleEvent:function(n,o){},registerEvent:qx.bom.client.System.IPHONE?
function(j,k,l){j[K+k]=qx.lang.Function.returnNull;
}:qx.lang.Function.returnNull,unregisterEvent:qx.bom.client.System.IPHONE?
function(z,A,B){z[K+A]=undefined;
}:qx.lang.Function.returnNull,__gq:function(b,c,d){if(!d){d=b.target||b.srcElement;
}if(d&&d.nodeType){qx.event.Registration.fireEvent(d,c||b.type,c==Q?qx.event.type.MouseWheel:qx.event.type.Mouse,[b,d,null,true,true]);
}qx.event.Registration.fireEvent(this.__gj,F,qx.event.type.Data,[c||b.type]);
},_initButtonObserver:function(){this.__gl=qx.lang.Function.listener(this._onButtonEvent,this);
var Event=qx.bom.Event;
Event.addNativeListener(this.__gk,S,this.__gl);
Event.addNativeListener(this.__gk,U,this.__gl);
Event.addNativeListener(this.__gk,T,this.__gl);
Event.addNativeListener(this.__gk,P,this.__gl);
Event.addNativeListener(this.__gk,R,this.__gl);
},_initMoveObserver:function(){this.__gm=qx.lang.Function.listener(this._onMoveEvent,this);
var Event=qx.bom.Event;
Event.addNativeListener(this.__gk,L,this.__gm);
Event.addNativeListener(this.__gk,N,this.__gm);
Event.addNativeListener(this.__gk,M,this.__gm);
},_initWheelObserver:function(){this.__gn=qx.lang.Function.listener(this._onWheelEvent,this);
var Event=qx.bom.Event;
var e=qx.core.Variant.isSet(V,G)?Q:H;
var f=qx.core.Variant.isSet(V,O)?this.__gk:this.__gj;
Event.addNativeListener(f,e,this.__gn);
},_stopButtonObserver:function(){var Event=qx.bom.Event;
Event.removeNativeListener(this.__gk,S,this.__gl);
Event.removeNativeListener(this.__gk,U,this.__gl);
Event.removeNativeListener(this.__gk,T,this.__gl);
Event.removeNativeListener(this.__gk,P,this.__gl);
Event.removeNativeListener(this.__gk,R,this.__gl);
},_stopMoveObserver:function(){var Event=qx.bom.Event;
Event.removeNativeListener(this.__gk,L,this.__gm);
Event.removeNativeListener(this.__gk,N,this.__gm);
Event.removeNativeListener(this.__gk,M,this.__gm);
},_stopWheelObserver:function(){var Event=qx.bom.Event;
var x=qx.core.Variant.isSet(V,G)?Q:H;
var y=qx.core.Variant.isSet(V,O)?this.__gk:this.__gj;
Event.removeNativeListener(y,x,this.__gn);
},_onMoveEvent:qx.event.GlobalError.observeMethod(function(m){this.__gq(m);
}),_onButtonEvent:qx.event.GlobalError.observeMethod(function(p){var q=p.type;
var r=p.target||p.srcElement;
if(qx.core.Variant.isSet(V,J)){if(r&&r.nodeType==3){r=r.parentNode;
}}
if(this.__gr){this.__gr(p,q,r);
}
if(this.__gt){this.__gt(p,q,r);
}this.__gq(p,q,r);

if(this.__gs){this.__gs(p,q,r);
}
if(this.__gu){this.__gu(p,q,r);
}this.__go=q;
}),_onWheelEvent:qx.event.GlobalError.observeMethod(function(s){this.__gq(s,Q);
}),__gr:qx.core.Variant.select(V,{"webkit":function(g,h,i){if(qx.bom.client.Engine.VERSION<530){if(h==R){this.__gq(g,U,i);
}}},"default":null}),__gs:qx.core.Variant.select(V,{"opera":function(C,D,E){if(D==U&&C.button==2){this.__gq(C,R,E);
}},"default":null}),__gt:qx.core.Variant.select(V,{"mshtml":function(u,v,w){if(v==U&&this.__go==T){this.__gq(u,S,w);
}else if(v==P){this.__gq(u,T,w);
}},"default":null}),__gu:qx.core.Variant.select(V,{"mshtml":null,"default":function(W,X,Y){switch(X){case S:this.__gp=Y;
break;
case U:if(Y!==this.__gp){var ba=qx.dom.Hierarchy.getCommonParent(Y,this.__gp);
this.__gq(W,T,ba);
}}}})},destruct:function(){this._stopButtonObserver();
this._stopMoveObserver();
this._stopWheelObserver();
this.__gi=this.__gj=this.__gk=this.__gp=null;
},defer:function(t){qx.event.Registration.addHandler(t);
}});
})();
(function(){var c="qx.event.handler.Capture";
qx.Class.define(c,{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(a,b){},registerEvent:function(d,e,f){},unregisterEvent:function(g,h,i){}},defer:function(j){qx.event.Registration.addHandler(j);
}});
})();
(function(){var K="alias",J="copy",I="blur",H="mouseout",G="keydown",F="Ctrl",E="Shift",D="mousemove",C="move",B="mouseover",bb="Alt",ba="keyup",Y="mouseup",X="dragend",W="on",V="mousedown",U="qxDraggable",T="drag",S="drop",R="qxDroppable",P="qx.event.handler.DragDrop",Q="droprequest",N="dragstart",O="dragchange",L="dragleave",M="dragover";
qx.Class.define(P,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(A){arguments.callee.base.call(this);
this.__gv=A;
this.__gw=A.getWindow().document.documentElement;
this.__gv.addListener(this.__gw,V,this._onMouseDown,this);
this.__gI();
},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:{__gv:null,__gw:null,__gx:null,__gy:null,__gz:null,__gA:null,__gB:null,__gC:null,__gD:null,__gE:null,__gF:false,__gG:0,__gH:0,canHandleEvent:function(bd,be){},registerEvent:function(b,c,d){},unregisterEvent:function(bh,bi,bj){},addType:function(s){this.__gz[s]=true;
},addAction:function(p){this.__gA[p]=true;
},supportsType:function(bm){return !!this.__gz[bm];
},supportsAction:function(bc){return !!this.__gA[bc];
},getData:function(q){if(!this.__gP||!this.__gx){throw new Error("This method must not be used outside the drop event listener!");
}
if(!this.__gz[q]){throw new Error("Unsupported data type: "+q+"!");
}
if(!this.__gC[q]){this.__gD=q;
this.__gK(Q,this.__gy,this.__gx,false);
}
if(!this.__gC[q]){throw new Error("Please use a droprequest listener to the drag source to fill the manager with data!");
}return this.__gC[q]||null;
},getCurrentAction:function(){return this.__gE;
},addData:function(v,w){this.__gC[v]=w;
},getCurrentType:function(){return this.__gD;
},__gI:function(){this.__gz={};
this.__gA={};
this.__gB={};
this.__gC={};
},__gJ:function(){var h=this.__gA;
var f=this.__gB;
var g=null;

if(this.__gP){if(f.Shift&&f.Ctrl&&h.alias){g=K;
}else if(f.Shift&&f.Alt&&h.copy){g=J;
}else if(f.Shift&&h.move){g=C;
}else if(f.Alt&&h.alias){g=K;
}else if(f.Ctrl&&h.copy){g=J;
}else if(h.move){g=C;
}else if(h.copy){g=J;
}else if(h.alias){g=K;
}}
if(g!=this.__gE){this.__gE=g;
this.__gK(O,this.__gy,this.__gx,false);
}},__gK:function(i,j,k,l,m){var o=qx.event.Registration;
var n=o.createEvent(i,qx.event.type.Drag,[l,m]);

if(j!==k){n.setRelatedTarget(k);
}return o.dispatchEvent(j,n);
},__gL:function(bf){while(bf&&bf.nodeType==1){if(bf.getAttribute(U)==W){return bf;
}bf=bf.parentNode;
}return null;
},__gM:function(y){while(y&&y.nodeType==1){if(y.getAttribute(R)==W){return y;
}y=y.parentNode;
}return null;
},__gN:function(){this.__gy=null;
this.__gv.removeListener(this.__gw,D,this._onMouseMove,this,true);
this.__gv.removeListener(this.__gw,Y,this._onMouseUp,this,true);
qx.event.Registration.removeListener(window,I,this._onWindowBlur,this);
this.__gI();
},__gO:function(){if(this.__gF){this.__gv.removeListener(this.__gw,B,this._onMouseOver,this,true);
this.__gv.removeListener(this.__gw,H,this._onMouseOut,this,true);
this.__gv.removeListener(this.__gw,G,this._onKeyDown,this,true);
this.__gv.removeListener(this.__gw,ba,this._onKeyUp,this,true);
this.__gK(X,this.__gy,this.__gx,false);
this.__gF=false;
}this.__gP=false;
this.__gx=null;
this.__gN();
},__gP:false,_onWindowBlur:function(e){this.__gO();
},_onKeyDown:function(e){var a=e.getKeyIdentifier();

switch(a){case bb:case F:case E:if(!this.__gB[a]){this.__gB[a]=true;
this.__gJ();
}}},_onKeyUp:function(e){var r=e.getKeyIdentifier();

switch(r){case bb:case F:case E:if(this.__gB[r]){this.__gB[r]=false;
this.__gJ();
}}},_onMouseDown:function(e){if(this.__gF){return;
}var bg=this.__gL(e.getTarget());

if(bg){this.__gG=e.getDocumentLeft();
this.__gH=e.getDocumentTop();
this.__gy=bg;
this.__gv.addListener(this.__gw,D,this._onMouseMove,this,true);
this.__gv.addListener(this.__gw,Y,this._onMouseUp,this,true);
qx.event.Registration.addListener(window,I,this._onWindowBlur,this);
}},_onMouseUp:function(e){if(this.__gP){this.__gK(S,this.__gx,this.__gy,false,e);
}if(this.__gF){e.stopPropagation();
}this.__gO();
},_onMouseMove:function(e){if(this.__gF){if(!this.__gK(T,this.__gy,this.__gx,true,e)){this.__gO();
}}else{if(Math.abs(e.getDocumentLeft()-this.__gG)>3||Math.abs(e.getDocumentTop()-this.__gH)>3){if(this.__gK(N,this.__gy,this.__gx,true,e)){this.__gF=true;
this.__gv.addListener(this.__gw,B,this._onMouseOver,this,true);
this.__gv.addListener(this.__gw,H,this._onMouseOut,this,true);
this.__gv.addListener(this.__gw,G,this._onKeyDown,this,true);
this.__gv.addListener(this.__gw,ba,this._onKeyUp,this,true);
var x=this.__gB;
x.Ctrl=e.isCtrlPressed();
x.Shift=e.isShiftPressed();
x.Alt=e.isAltPressed();
this.__gJ();
}else{this.__gK(X,this.__gy,this.__gx,false);
this.__gN();
}}}},_onMouseOver:function(e){var t=e.getTarget();
var u=this.__gM(t);

if(u&&u!=this.__gx){this.__gP=this.__gK(M,u,this.__gy,true,e);
this.__gx=u;
this.__gJ();
}},_onMouseOut:function(e){var bl=this.__gM(e.getTarget());
var bk=this.__gM(e.getRelatedTarget());

if(bl&&bl!==bk&&bl==this.__gx){this.__gK(L,this.__gx,bk,false,e);
this.__gx=null;
this.__gP=false;
qx.event.Timer.once(this.__gJ,this,0);
}}},destruct:function(){this.__gy=this.__gx=this.__gv=this.__gw=this.__gz=this.__gA=this.__gB=this.__gC=null;
},defer:function(z){qx.event.Registration.addHandler(z);
}});
})();
(function(){var t="-",s="qx.event.handler.Element";
qx.Class.define(s,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(z){arguments.callee.base.call(this);
this._manager=z;
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(q,r){},registerEvent:function(a,b,c){var f=qx.core.ObjectRegistry.toHashCode(a);
var d=f+t+b;
var e=qx.lang.Function.listener(this._onNative,this,d);
qx.bom.Event.addNativeListener(a,b,e);
this._registeredEvents[d]={element:a,type:b,listener:e};
},unregisterEvent:function(g,h,i){var l=this._registeredEvents;

if(!l){return;
}var m=qx.core.ObjectRegistry.toHashCode(g);
var j=m+t+h;
var k=this._registeredEvents[j];
qx.bom.Event.removeNativeListener(g,h,k.listener);
delete this._registeredEvents[j];
},_onNative:qx.event.GlobalError.observeMethod(function(u,v){var x=this._registeredEvents;

if(!x){return;
}var w=x[v];
qx.event.Registration.fireNonBubblingEvent(w.element,w.type,qx.event.type.Native,[u]);
})},destruct:function(){var n;
var o=this._registeredEvents;

for(var p in o){n=o[p];
qx.bom.Event.removeNativeListener(n.element,n.type,n.listener);
}this._manager=this._registeredEvents=null;
},defer:function(y){qx.event.Registration.addHandler(y);
}});
})();
(function(){var d="qx.event.handler.Appear",c="disappear",b="appear";
qx.Class.define(d,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(t){arguments.callee.base.call(this);
this.__gQ=t;
this.__gR={};
qx.event.handler.Appear.__gS[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,__gS:{},refresh:function(){var w=this.__gS;

for(var x in w){w[x].refresh();
}}},members:{__gQ:null,__gR:null,canHandleEvent:function(u,v){},registerEvent:function(j,k,l){var m=qx.core.ObjectRegistry.toHashCode(j)+k;
var n=this.__gR;

if(n&&!n[m]){n[m]=j;
j.$$displayed=j.offsetWidth>0;
}},unregisterEvent:function(o,p,q){var r=qx.core.ObjectRegistry.toHashCode(o)+p;
var s=this.__gR;

if(!s){return;
}
if(s[r]){delete s[r];
}},refresh:function(){var h=this.__gR;
var i;

for(var g in h){i=h[g];
var e=i.offsetWidth>0;

if((!!i.$$displayed)!==e){i.$$displayed=e;
var f=qx.event.Registration.createEvent(e?b:c);
this.__gQ.dispatchEvent(i,f);
}}}},destruct:function(){this.__gQ=this.__gR=null;
delete qx.event.handler.Appear.__gS[this.$$hash];
},defer:function(a){qx.event.Registration.addHandler(a);
}});
})();
(function(){var u="mshtml",t="",s="qx.client",r=">",q="<",p=" ",o="='",n="qx.bom.Element",m="div",k="' ",h="></";
qx.Class.define(n,{statics:{__gT:{"onload":true,"onpropertychange":true,"oninput":true,"onchange":true,"name":true,"type":true,"checked":true,"disabled":true},create:function(name,R,S){if(!S){S=window;
}
if(!name){throw new Error("The tag name is missing!");
}var U=this.__gT;
var T=t;

for(var W in R){if(U[W]){T+=W+o+R[W]+k;
}}var X;
if(T!=t){if(qx.bom.client.Engine.MSHTML){X=S.document.createElement(q+name+p+T+r);
}else{var V=S.document.createElement(m);
V.innerHTML=q+name+p+T+h+name+r;
X=V.firstChild;
}}else{X=S.document.createElement(name);
}
for(var W in R){if(!U[W]){qx.bom.element.Attribute.set(X,W,R[W]);
}}return X;
},empty:function(f){return f.innerHTML=t;
},addListener:function(v,w,x,self,y){return qx.event.Registration.addListener(v,w,x,self,y);
},removeListener:function(Y,ba,bb,self,bc){return qx.event.Registration.removeListener(Y,ba,bb,self,bc);
},removeListenerById:function(P,Q){return qx.event.Registration.removeListenerById(P,Q);
},hasListener:function(a,b,c){return qx.event.Registration.hasListener(a,b,c);
},focus:function(C){qx.event.Registration.getManager(C).getHandler(qx.event.handler.Focus).focus(C);
},blur:function(d){qx.event.Registration.getManager(d).getHandler(qx.event.handler.Focus).blur(d);
},activate:function(z){qx.event.Registration.getManager(z).getHandler(qx.event.handler.Focus).activate(z);
},deactivate:function(g){qx.event.Registration.getManager(g).getHandler(qx.event.handler.Focus).deactivate(g);
},capture:function(A,B){qx.event.Registration.getManager(A).getDispatcher(qx.event.dispatch.MouseCapture).activateCapture(A,B);
},releaseCapture:function(e){qx.event.Registration.getManager(e).getDispatcher(qx.event.dispatch.MouseCapture).releaseCapture(e);
},clone:function(D,E){var H;

if(E||(qx.core.Variant.isSet(s,u)&&!qx.xml.Document.isXmlDocument(D))){var L=qx.event.Registration.getManager(D);
var F=qx.dom.Hierarchy.getDescendants(D);
F.push(D);
}if(qx.core.Variant.isSet(s,u)){for(var i=0,l=F.length;i<l;i++){L.toggleAttachedEvents(F[i],false);
}}var H=D.cloneNode(true);
if(qx.core.Variant.isSet(s,u)){for(var i=0,l=F.length;i<l;i++){L.toggleAttachedEvents(F[i],true);
}}if(E===true){var O=qx.dom.Hierarchy.getDescendants(H);
O.push(H);
var G,J,N,I;

for(var i=0,M=F.length;i<M;i++){N=F[i];
G=L.serializeListeners(N);

if(G.length>0){J=O[i];

for(var j=0,K=G.length;j<K;j++){I=G[j];
L.addListener(J,I.type,I.handler,I.self,I.capture);
}}}}return H;
}}});
})();
(function(){var e="qx.event.type.Dom";
qx.Class.define(e,{extend:qx.event.type.Native,statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8},members:{_cloneNativeEvent:function(a,b){var b=arguments.callee.base.call(this,a,b);
b.shiftKey=a.shiftKey;
b.ctrlKey=a.ctrlKey;
b.altKey=a.altKey;
b.metaKey=a.metaKey;
return b;
},getModifiers:function(){var d=0;
var c=this._native;

if(c.shiftKey){d|=qx.event.type.Dom.SHIFT_MASK;
}
if(c.ctrlKey){d|=qx.event.type.Dom.CTRL_MASK;
}
if(c.altKey){d|=qx.event.type.Dom.ALT_MASK;
}
if(c.metaKey){d|=qx.event.type.Dom.META_MASK;
}return d;
},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 d="qx.event.type.KeyInput";
qx.Class.define(d,{extend:qx.event.type.Dom,members:{init:function(a,b,c){arguments.callee.base.call(this,a,b,null,true,true);
this._charCode=c;
return this;
},clone:function(e){var f=arguments.callee.base.call(this,e);
f._charCode=this._charCode;
return f;
},getCharCode:function(){return this._charCode;
},getChar:function(){return String.fromCharCode(this._charCode);
}}});
})();
(function(){var c="qx.event.type.KeySequence";
qx.Class.define(c,{extend:qx.event.type.Dom,members:{init:function(d,e,f){arguments.callee.base.call(this,d,e,null,true,true);
this._identifier=f;
return this;
},clone:function(a){var b=arguments.callee.base.call(this,a);
b._identifier=this._identifier;
return b;
},getKeyIdentifier:function(){return this._identifier;
}}});
})();
(function(){var Y="qx.client",X="blur",W="focus",V="mousedown",U="on",T="mouseup",S="DOMFocusOut",R="DOMFocusIn",Q="selectstart",P="onmousedown",bv="onfocusout",bu="onfocusin",bt="onmouseup",bs="onselectstart",br="draggesture",bq="gecko",bp="qx.event.handler.Focus",bo="_applyFocus",bn="deactivate",bm="textarea",bg="qxIsRootPage",bh="_applyActive",be="input",bf="focusin",bc="qxSelectable",bd="tabIndex",ba="off",bb="activate",bi="1",bj="focusout",bl="qxKeepFocus",bk="qxKeepActive";
qx.Class.define(bp,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(M){arguments.callee.base.call(this);
this._manager=M;
this._window=M.getWindow();
this._document=this._window.document;
this._root=this._document.documentElement;
this._body=this._document.body;
this._initObserver();
},properties:{active:{apply:bh,nullable:true},focus:{apply:bo,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:{__gU:null,__gV:null,__gW:null,__gX:null,__gY:null,__ha:null,__hb:null,__hc:null,__hd:null,__he:null,canHandleEvent:function(C,D){},registerEvent:function(p,q,r){},unregisterEvent:function(b,c,d){},focus:function(by){try{by.focus();
}catch(bE){}this.setFocus(by);
this.setActive(by);
},activate:function(y){this.setActive(y);
},blur:function(f){try{f.blur();
}catch(K){}
if(this.getActive()===f){this.resetActive();
}
if(this.getFocus()===f){this.resetFocus();
}},deactivate:function(L){if(this.getActive()===L){this.resetActive();
}},tryActivate:function(bC){var bD=this.__ht(bC);

if(bD){this.setActive(bD);
}},__hf:function(E,F,G,H){var J=qx.event.Registration;
var I=J.createEvent(G,qx.event.type.Focus,[E,F,H]);
J.dispatchEvent(E,I);
},_windowFocused:true,__hg:function(){if(this._windowFocused){this._windowFocused=false;
this.__hf(this._window,null,X,false);
}},__hh:function(){if(!this._windowFocused){this._windowFocused=true;
this.__hf(this._window,null,W,false);
}},_initObserver:qx.core.Variant.select(Y,{"gecko":function(){this.__gU=qx.lang.Function.listener(this.__hn,this);
this.__gV=qx.lang.Function.listener(this.__ho,this);
this.__gW=qx.lang.Function.listener(this.__hm,this);
this.__gX=qx.lang.Function.listener(this.__hl,this);
this.__gY=qx.lang.Function.listener(this.__hi,this);
this._document.addEventListener(V,this.__gU,true);
this._document.addEventListener(T,this.__gV,true);
this._window.addEventListener(W,this.__gW,true);
this._window.addEventListener(X,this.__gX,true);
this._window.addEventListener(br,this.__gY,true);
},"mshtml":function(){this.__gU=qx.lang.Function.listener(this.__hn,this);
this.__gV=qx.lang.Function.listener(this.__ho,this);
this.__hb=qx.lang.Function.listener(this.__hj,this);
this.__hc=qx.lang.Function.listener(this.__hk,this);
this.__ha=qx.lang.Function.listener(this.__hq,this);
this._document.attachEvent(P,this.__gU);
this._document.attachEvent(bt,this.__gV);
this._document.attachEvent(bu,this.__hb);
this._document.attachEvent(bv,this.__hc);
this._document.attachEvent(bs,this.__ha);
},"webkit":function(){this.__gU=qx.lang.Function.listener(this.__hn,this);
this.__gV=qx.lang.Function.listener(this.__ho,this);
this.__hc=qx.lang.Function.listener(this.__hk,this);
this.__gW=qx.lang.Function.listener(this.__hm,this);
this.__gX=qx.lang.Function.listener(this.__hl,this);
this.__ha=qx.lang.Function.listener(this.__hq,this);
this._document.addEventListener(V,this.__gU,true);
this._document.addEventListener(T,this.__gV,true);
this._document.addEventListener(Q,this.__ha,false);
this._window.addEventListener(S,this.__hc,true);
this._window.addEventListener(W,this.__gW,true);
this._window.addEventListener(X,this.__gX,true);
},"opera":function(){this.__gU=qx.lang.Function.listener(this.__hn,this);
this.__gV=qx.lang.Function.listener(this.__ho,this);
this.__hb=qx.lang.Function.listener(this.__hj,this);
this.__hc=qx.lang.Function.listener(this.__hk,this);
this._document.addEventListener(V,this.__gU,true);
this._document.addEventListener(T,this.__gV,true);
this._window.addEventListener(R,this.__hb,true);
this._window.addEventListener(S,this.__hc,true);
}}),_stopObserver:qx.core.Variant.select(Y,{"gecko":function(){this._document.removeEventListener(V,this.__gU,true);
this._document.removeEventListener(T,this.__gV,true);
this._window.removeEventListener(W,this.__gW,true);
this._window.removeEventListener(X,this.__gX,true);
this._window.removeEventListener(br,this.__gY,true);
},"mshtml":function(){qx.bom.Event.removeNativeListener(this._document,P,this.__gU);
qx.bom.Event.removeNativeListener(this._document,bt,this.__gV);
qx.bom.Event.removeNativeListener(this._document,bu,this.__hb);
qx.bom.Event.removeNativeListener(this._document,bv,this.__hc);
qx.bom.Event.removeNativeListener(this._document,bs,this.__ha);
},"webkit":function(){this._document.removeEventListener(V,this.__gU,true);
this._document.removeEventListener(Q,this.__ha,false);
this._window.removeEventListener(R,this.__hb,true);
this._window.removeEventListener(S,this.__hc,true);
this._window.removeEventListener(W,this.__gW,true);
this._window.removeEventListener(X,this.__gX,true);
},"opera":function(){this._document.removeEventListener(V,this.__gU,true);
this._window.removeEventListener(R,this.__hb,true);
this._window.removeEventListener(S,this.__hc,true);
this._window.removeEventListener(W,this.__gW,true);
this._window.removeEventListener(X,this.__gX,true);
}}),__hi:qx.event.GlobalError.observeMethod(qx.core.Variant.select(Y,{"gecko":function(e){if(!this.__hu(e.target)){qx.bom.Event.preventDefault(e);
}},"default":null})),__hj:qx.event.GlobalError.observeMethod(qx.core.Variant.select(Y,{"mshtml":function(e){this.__hh();
var u=e.srcElement;
var t=this.__hs(u);

if(t){this.setFocus(t);
}this.tryActivate(u);
},"opera":function(e){var a=e.target;

if(a==this._document||a==this._window){this.__hh();

if(this.__hd){this.setFocus(this.__hd);
delete this.__hd;
}
if(this.__he){this.setActive(this.__he);
delete this.__he;
}}else{this.setFocus(a);
this.tryActivate(a);
if(!this.__hu(a)){a.selectionStart=0;
a.selectionEnd=0;
}}},"default":null})),__hk:qx.event.GlobalError.observeMethod(qx.core.Variant.select(Y,{"mshtml":function(e){if(!e.toElement){this.__hg();
this.resetFocus();
this.resetActive();
}},"webkit":function(e){var m=e.target;

if(m===this.getFocus()){this.resetFocus();
}
if(m===this.getActive()){this.resetActive();
}},"opera":function(e){var z=e.target;

if(z==this._document){this.__hg();
this.__hd=this.getFocus();
this.__he=this.getActive();
this.resetFocus();
this.resetActive();
}else{if(z===this.getFocus()){this.resetFocus();
}
if(z===this.getActive()){this.resetActive();
}}},"default":null})),__hl:qx.event.GlobalError.observeMethod(qx.core.Variant.select(Y,{"gecko":function(e){if(e.target===this._window||e.target===this._document){this.__hg();
this.resetActive();
this.resetFocus();
}},"webkit":function(e){if(e.target===this._window||e.target===this._document){this.__hg();
this.__hd=this.getFocus();
this.__he=this.getActive();
this.resetActive();
this.resetFocus();
}},"default":null})),__hm:qx.event.GlobalError.observeMethod(qx.core.Variant.select(Y,{"gecko":function(e){var bG=e.target;

if(bG===this._window||bG===this._document){this.__hh();
bG=this._body;
}this.setFocus(bG);
this.tryActivate(bG);
},"webkit":function(e){var bF=e.target;

if(bF===this._window||bF===this._document){this.__hh();

if(this.__hd){this.setFocus(this.__hd);
delete this.__hd;
}
if(this.__he){this.setActive(this.__he);
delete this.__he;
}}else{this.setFocus(bF);
this.tryActivate(bF);
}},"default":null})),__hn:qx.event.GlobalError.observeMethod(qx.core.Variant.select(Y,{"gecko":function(e){var bO=e.target;
var bM=this.__hs(bO);
var bN=this.__hu(bO);

if(!bN){qx.bom.Event.preventDefault(e);
if(bM){if(qx.core.Variant.isSet(Y,bq)){var bP=qx.bom.element.Attribute.get(bM,bg)===bi;

if(!bP){bM.focus();
}}else{bM.focus();
}}}else if(!bM){qx.bom.Event.preventDefault(e);
}},"mshtml":function(e){var bI=e.srcElement;
var bH=this.__hs(bI);

if(bH){if(!this.__hu(bI)){bI.unselectable=U;
try{document.selection.empty();
}catch(e){}try{bH.focus();
}catch(e){}}}else{qx.bom.Event.preventDefault(e);
if(!this.__hu(bI)){bI.unselectable=U;
}}},"webkit":function(e){var O=e.target;
var N=this.__hs(O);

if(N){this.setFocus(N);
}else{qx.bom.Event.preventDefault(e);
}},"opera":function(e){var i=e.target;
var g=this.__hs(i);

if(!this.__hu(i)){qx.bom.Event.preventDefault(e);
if(g){var h=this.getFocus();

if(h&&h.selectionEnd){h.selectionStart=0;
h.selectionEnd=0;
h.blur();
}if(g){this.setFocus(g);
}}}else if(g){this.setFocus(g);
}},"default":null})),__ho:qx.event.GlobalError.observeMethod(qx.core.Variant.select(Y,{"mshtml":function(e){var bz=e.srcElement;

if(bz.unselectable){bz.unselectable=ba;
}this.tryActivate(this.__hp(bz));
},"gecko":function(e){var s=e.target;

while(s&&s.offsetWidth===undefined){s=s.parentNode;
}
if(s){this.tryActivate(s);
}},"webkit|opera":function(e){this.tryActivate(this.__hp(e.target));
},"default":null})),__hp:qx.event.GlobalError.observeMethod(qx.core.Variant.select(Y,{"mshtml|webkit":function(v){var w=this.getFocus();

if(w&&v!=w&&(w.nodeName.toLowerCase()===be||w.nodeName.toLowerCase()===bm)){v=w;
}return v;
},"default":function(x){return x;
}})),__hq:qx.event.GlobalError.observeMethod(qx.core.Variant.select(Y,{"mshtml|webkit":function(e){var bx=qx.bom.client.Engine.MSHTML?e.srcElement:e.target;

if(!this.__hu(bx)){qx.bom.Event.preventDefault(e);
}},"default":null})),__hr:function(j){var k=qx.bom.element.Attribute.get(j,bd);

if(k>=1){return true;
}var l=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;

if(k>=0&&l[j.tagName]){return true;
}return false;
},__hs:function(bw){while(bw&&bw.nodeType===1){if(bw.getAttribute(bl)==U){return null;
}
if(this.__hr(bw)){return bw;
}bw=bw.parentNode;
}return this._body;
},__ht:function(n){var o=n;

while(n&&n.nodeType===1){if(n.getAttribute(bk)==U){return null;
}n=n.parentNode;
}return o;
},__hu:function(A){while(A&&A.nodeType===1){var B=A.getAttribute(bc);

if(B!=null){return B===U;
}A=A.parentNode;
}return true;
},_applyActive:function(bQ,bR){if(bR){this.__hf(bR,bQ,bn,true);
}
if(bQ){this.__hf(bQ,bR,bb,true);
}},_applyFocus:function(bA,bB){if(bB){this.__hf(bB,bA,bj,true);
}
if(bA){this.__hf(bA,bB,bf,true);
}if(bB){this.__hf(bB,bA,X,false);
}
if(bA){this.__hf(bA,bB,W,false);
}}},destruct:function(){this._stopObserver();
this._manager=this._window=this._document=this._root=this._body=this.__hv=null;
},defer:function(bJ){qx.event.Registration.addHandler(bJ);
var bK=bJ.FOCUSABLE_ELEMENTS;

for(var bL in bK){bK[bL.toUpperCase()]=1;
}}});
})();
(function(){var d="qx.event.type.Focus";
qx.Class.define(d,{extend:qx.event.type.Event,members:{init:function(a,b,c){arguments.callee.base.call(this,c,false);
this._target=a;
this._relatedTarget=b;
return this;
}}});
})();
(function(){var p="",o="qx.client",n="readOnly",m="accessKey",l="qx.bom.element.Attribute",k="rowSpan",j="vAlign",i="className",h="textContent",g="'",D="htmlFor",C="longDesc",B="cellSpacing",A="frameBorder",z="='",y="useMap",x="innerText",w="innerHTML",v="tabIndex",u="dateTime",s="maxLength",t="mshtml",q="cellPadding",r="colSpan";
qx.Class.define(l,{statics:{__hw:{names:{"class":i,"for":D,html:w,text:qx.core.Variant.isSet(o,t)?x:h,colspan:r,rowspan:k,valign:j,datetime:u,accesskey:m,tabindex:v,maxlength:s,readonly:n,longdesc:C,cellpadding:q,cellspacing:B,frameborder:A,usemap:y},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:p,maxLength:10000000,className:p,innerHTML:p,innerText:p,textContent:p,htmlFor:p,tabIndex:0},original:{href:1,src:1,type:1}},compile:function(E){var F=[];
var H=this.__hw.runtime;

for(var G in E){if(!H[G]){F.push(G,z,E[G],g);
}}return F.join(p);
},get:qx.core.Variant.select(o,{"mshtml":function(a,name){var c=this.__hw;
var b;
name=c.names[name]||name;
if(c.original[name]){b=a.getAttribute(name,2);
}else if(c.property[name]){if(c.propertyDefault[name]&&b==c.propertyDefault[name]){return null;
}b=a[name];
}else{b=a.getAttribute(name);
}if(c.bools[name]){return !!b;
}return b;
},"default":function(d,name){var f=this.__hw;
var e;
name=f.names[name]||name;
if(f.property[name]){if(f.propertyDefault[name]&&e==f.propertyDefault[name]){return null;
}e=d[name];

if(e==null){e=d.getAttribute(name);
}}else{e=d.getAttribute(name);
}if(f.bools[name]){return !!e;
}return e;
}}),set:function(J,name,K){var L=this.__hw;
name=L.names[name]||name;
if(L.bools[name]){K=!!K;
}if(L.property[name]){if(K==null){K=L.propertyDefault[name];

if(K===undefined){K=null;
}}J[name]=K;
}else{if(K===true){J.setAttribute(name,name);
}else if(K===false||K===null){J.removeAttribute(name);
}else{J.setAttribute(name,K);
}}},reset:function(I,name){this.set(I,name,null);
}}});
})();
(function(){var i="left",h="right",g="middle",f="qx.client",e="dblclick",d="click",c="none",b="contextmenu",a="qx.event.type.Mouse";
qx.Class.define(a,{extend:qx.event.type.Dom,members:{init:function(k,l,m,n,o){arguments.callee.base.call(this,k,l,m,n,o);

if(!m){this._relatedTarget=qx.bom.Event.getRelatedTarget(k);
}return this;
},_cloneNativeEvent:function(p,q){var q=arguments.callee.base.call(this,p,q);
q.button=p.button;
q.clientX=p.clientX;
q.clientY=p.clientY;
q.pageX=p.pageX;
q.pageY=p.pageY;
q.screenX=p.screenX;
q.screenY=p.screenY;
q.wheelDelta=p.wheelDelta;
q.detail=p.detail;
q.srcElement=p.srcElement;
return q;
},__hx:qx.core.Variant.select(f,{"mshtml":{1:i,2:h,4:g},"default":{0:i,2:h,1:g}}),stop:function(){this.stopPropagation();
},getButton:function(){switch(this._type){case d:case e:return i;
case b:return h;
default:return this.__hx[this._native.button]||c;
}},isLeftPressed:function(){return this.getButton()===i;
},isMiddlePressed:function(){return this.getButton()===g;
},isRightPressed:function(){return this.getButton()===h;
},getRelatedTarget:function(){return this._relatedTarget;
},getViewportLeft:function(){return this._native.clientX;
},getViewportTop:function(){return this._native.clientY;
},getDocumentLeft:qx.core.Variant.select(f,{"mshtml":function(){var r=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientX+qx.bom.Viewport.getScrollLeft(r);
},"default":function(){return this._native.pageX;
}}),getDocumentTop:qx.core.Variant.select(f,{"mshtml":function(){var j=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientY+qx.bom.Viewport.getScrollTop(j);
},"default":function(){return this._native.pageY;
}}),getScreenLeft:function(){return this._native.screenX;
},getScreenTop:function(){return this._native.screenY;
}}});
})();
(function(){var c="qx.client",b="chrome",a="qx.event.type.MouseWheel";
qx.Class.define(a,{extend:qx.event.type.Mouse,members:{stop:function(){this.stopPropagation();
this.preventDefault();
},getWheelDelta:qx.core.Variant.select(c,{"default":function(){return -(this._native.wheelDelta/40);
},"gecko":function(){return this._native.detail;
},"webkit":function(){if(qx.bom.client.Browser.NAME==b){return -(this._native.wheelDelta/120);
}else{return -(this._native.wheelDelta/40);
}}})}});
})();
(function(){var k="qx.client",j="ie",i="msie",h="android",g="operamini",f="mobile chrome",e=")(/| )([0-9]+\.[0-9])",d="iemobile",c="opera mobi",b="Mobile Safari",y="operamobile",x="mobile safari",w="IEMobile|Maxthon|MSIE",v="qx.bom.client.Browser",u="opera mini",t="(",s="opera",r="mshtml",q="Opera Mini|Opera Mobi|Opera",p="AdobeAIR|Titanium|Fluid|Chrome|Android|Epiphany|Konqueror|iCab|OmniWeb|Maxthon|Pre|Mobile Safari|Safari",n="webkit",o="5.0",l="prism|Fennec|Camino|Kmeleon|Galeon|Netscape|SeaMonkey|Firefox",m="Mobile/";
qx.Bootstrap.define(v,{statics:{UNKNOWN:true,NAME:"unknown",TITLE:"unknown 0.0",VERSION:0.0,FULLVERSION:"0.0.0",__hy:function(C){var D=navigator.userAgent;
var F=new RegExp(t+C+e);
var G=D.match(F);

if(!G){return;
}var name=G[1].toLowerCase();
var E=G[3];
if(D.match(/Version(\/| )([0-9]+\.[0-9])/)){E=RegExp.$2;
}
if(qx.core.Variant.isSet(k,n)){if(name===h){name=f;
}else if(D.indexOf(b)!==-1||D.indexOf(m)!==-1){name=x;
}}else if(qx.core.Variant.isSet(k,r)){if(name===i){name=j;
if(qx.bom.client.System.WINCE&&name===j){name=d;
E=o;
}}}else if(qx.core.Variant.isSet(k,s)){if(name===c){name=y;
}else if(name===u){name=g;
}}this.NAME=name;
this.FULLVERSION=E;
this.VERSION=parseFloat(E,10);
this.TITLE=name+" "+this.VERSION;
this.UNKNOWN=false;
}},defer:qx.core.Variant.select(k,{"webkit":function(B){B.__hy(p);
},"gecko":function(A){A.__hy(l);
},"mshtml":function(z){z.__hy(w);
},"opera":function(a){a.__hy(q);
}})});
})();
(function(){var A="qx.client",z="qx.dom.Hierarchy",y="previousSibling",x="*",w="nextSibling",v="parentNode";
qx.Class.define(z,{statics:{getNodeIndex:function(O){var P=0;

while(O&&(O=O.previousSibling)){P++;
}return P;
},getElementIndex:function(J){var K=0;
var L=qx.dom.Node.ELEMENT;

while(J&&(J=J.previousSibling)){if(J.nodeType==L){K++;
}}return K;
},getNextElementSibling:function(V){while(V&&(V=V.nextSibling)&&!qx.dom.Node.isElement(V)){continue;
}return V||null;
},getPreviousElementSibling:function(q){while(q&&(q=q.previousSibling)&&!qx.dom.Node.isElement(q)){continue;
}return q||null;
},contains:qx.core.Variant.select(A,{"webkit|mshtml|opera":function(n,o){if(qx.dom.Node.isDocument(n)){var p=qx.dom.Node.getDocument(o);
return n&&p==n;
}else if(qx.dom.Node.isDocument(o)){return false;
}else{return n.contains(o);
}},"gecko":function(k,l){return !!(k.compareDocumentPosition(l)&16);
},"default":function(H,I){while(I){if(H==I){return true;
}I=I.parentNode;
}return false;
}}),isRendered:function(B){if(!B.offsetParent){return false;
}var C=B.ownerDocument||B.document;
if(C.body.contains){return C.body.contains(B);
}if(C.compareDocumentPosition){return !!(C.compareDocumentPosition(B)&16);
}throw new Error("Missing support for isRendered()!");
},isDescendantOf:function(i,j){return this.contains(j,i);
},getCommonParent:qx.core.Variant.select(A,{"mshtml|opera":function(s,t){if(s===t){return s;
}
while(s&&qx.dom.Node.isElement(s)){if(s.contains(t)){return s;
}s=s.parentNode;
}return null;
},"default":function(c,d){if(c===d){return c;
}var e={};
var h=qx.core.ObjectRegistry;
var g,f;

while(c||d){if(c){g=h.toHashCode(c);

if(e[g]){return e[g];
}e[g]=c;
c=c.parentNode;
}
if(d){f=h.toHashCode(d);

if(e[f]){return e[f];
}e[f]=d;
d=d.parentNode;
}}return null;
}}),getAncestors:function(b){return this._recursivelyCollect(b,v);
},getChildElements:function(Q){Q=Q.firstChild;

if(!Q){return [];
}var R=this.getNextSiblings(Q);

if(Q.nodeType===1){R.unshift(Q);
}return R;
},getDescendants:function(D){return qx.lang.Array.fromCollection(D.getElementsByTagName(x));
},getFirstDescendant:function(a){a=a.firstChild;

while(a&&a.nodeType!=1){a=a.nextSibling;
}return a;
},getLastDescendant:function(m){m=m.lastChild;

while(m&&m.nodeType!=1){m=m.previousSibling;
}return m;
},getPreviousSiblings:function(N){return this._recursivelyCollect(N,y);
},getNextSiblings:function(r){return this._recursivelyCollect(r,w);
},_recursivelyCollect:function(S,T){var U=[];

while(S=S[T]){if(S.nodeType==1){U.push(S);
}}return U;
},getSiblings:function(u){return this.getPreviousSiblings(u).reverse().concat(this.getNextSiblings(u));
},isEmpty:function(M){M=M.firstChild;

while(M){if(M.nodeType===qx.dom.Node.ELEMENT||M.nodeType===qx.dom.Node.TEXT){return false;
}M=M.nextSibling;
}return true;
},cleanWhitespace:function(E){var F=E.firstChild;

while(F){var G=F.nextSibling;

if(F.nodeType==3&&!/\S/.test(F.nodeValue)){E.removeChild(F);
}F=G;
}}}});
})();
(function(){var f="qx.client",e="qx.event.type.Drag";
qx.Class.define(e,{extend:qx.event.type.Event,members:{init:function(i,j){arguments.callee.base.call(this,true,i);

if(j){this._native=j.getNativeEvent()||null;
this._originalTarget=j.getTarget()||null;
}else{this._native=null;
this._originalTarget=null;
}return this;
},clone:function(g){var h=arguments.callee.base.call(this,g);
h._native=this._native;
return h;
},getDocumentLeft:qx.core.Variant.select(f,{"mshtml":function(){if(this._native==null){return 0;
}var n=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientX+qx.bom.Viewport.getScrollLeft(n);
},"default":function(){if(this._native==null){return 0;
}return this._native.pageX;
}}),getDocumentTop:qx.core.Variant.select(f,{"mshtml":function(){if(this._native==null){return 0;
}var m=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientY+qx.bom.Viewport.getScrollTop(m);
},"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(b){this.getManager().addType(b);
},addAction:function(a){this.getManager().addAction(a);
},supportsType:function(l){return this.getManager().supportsType(l);
},supportsAction:function(o){return this.getManager().supportsAction(o);
},addData:function(c,d){this.getManager().addData(c,d);
},getData:function(k){return this.getManager().getData(k);
},getCurrentType:function(){return this.getManager().getCurrentType();
},getCurrentAction:function(){return this.getManager().getCurrentAction();
}}});
})();
(function(){var n="losecapture",m="qx.client",l="blur",k="focus",j="click",i="qx.event.dispatch.MouseCapture",h="capture",g="scroll";
qx.Class.define(i,{extend:qx.event.dispatch.AbstractBubbling,construct:function(q,r){arguments.callee.base.call(this,q);
this.__hz=q.getWindow();
this.__hA=r;
q.addListener(this.__hz,l,this.releaseCapture,this);
q.addListener(this.__hz,k,this.releaseCapture,this);
q.addListener(this.__hz,g,this.releaseCapture,this);
},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST},members:{__hA:null,__hB:null,__hC:true,__hz:null,_getParent:function(o){return o.parentNode;
},canDispatchEvent:function(t,event,u){return (this.__hB&&this.__hD[u]);
},dispatchEvent:function(e,event,f){if(f==j){event.stopPropagation();
this.releaseCapture();
return;
}
if(this.__hC||!qx.dom.Hierarchy.contains(this.__hB,e)){e=this.__hB;
}arguments.callee.base.call(this,e,event,f);
},__hD:{"mouseup":1,"mousedown":1,"click":1,"dblclick":1,"mousemove":1,"mouseout":1,"mouseover":1},activateCapture:function(c,d){var d=d!==false;

if(this.__hB===c&&this.__hC==d){return;
}
if(this.__hB){this.releaseCapture();
}this.nativeSetCapture(c,d);

if(this.hasNativeCapture){var self=this;
qx.bom.Event.addNativeListener(c,n,function(){qx.bom.Event.removeNativeListener(c,n,arguments.callee);
self.releaseCapture();
});
}this.__hC=d;
this.__hB=c;
this.__hA.fireEvent(c,h,qx.event.type.Event,[true,false]);
},getCaptureElement:function(){return this.__hB;
},releaseCapture:function(){var p=this.__hB;

if(!p){return;
}this.__hB=null;
this.__hA.fireEvent(p,n,qx.event.type.Event,[true,false]);
this.nativeReleaseCapture(p);
},hasNativeCapture:qx.bom.client.Engine.MSHTML,nativeSetCapture:qx.core.Variant.select(m,{"mshtml":function(a,b){a.setCapture(b!==false);
},"default":qx.lang.Function.empty}),nativeReleaseCapture:qx.core.Variant.select(m,{"mshtml":function(v){v.releaseCapture();
},"default":qx.lang.Function.empty})},destruct:function(){this.__hB=this.__hz=this.__hA=null;
},defer:function(s){qx.event.Registration.addDispatcher(s);
}});
})();
(function(){var v="qx.client",u="",t="mshtml",s="'",r="SelectionLanguage",q="qx.xml.Document",p=" />",o="MSXML2.DOMDocument.3.0",n='<\?xml version="1.0" encoding="utf-8"?>\n<',m="MSXML2.XMLHTTP.3.0",g="MSXML2.XMLHTTP.6.0",k=" xmlns='",j="text/xml",f="XPath",e="MSXML2.DOMDocument.6.0",h="HTML";
qx.Bootstrap.define(q,{statics:{DOMDOC:null,XMLHTTP:null,isXmlDocument:function(w){if(w.nodeType===9){return w.documentElement.nodeName!==h;
}else if(w.ownerDocument){return this.isXmlDocument(w.ownerDocument);
}else{return false;
}},create:qx.core.Variant.select(v,{"mshtml":function(a,b){var c=new ActiveXObject(this.DOMDOC);
c.setProperty(r,f);

if(b){var d=n;
d+=b;

if(a){d+=k+a+s;
}d+=p;
c.loadXML(d);
}return c;
},"default":function(C,D){return document.implementation.createDocument(C||u,D||u,null);
}}),fromString:qx.core.Variant.select(v,{"mshtml":function(A){var B=qx.xml.Document.create();
B.loadXML(A);
return B;
},"default":function(x){var y=new DOMParser();
return y.parseFromString(x,j);
}})},defer:function(E){if(qx.core.Variant.isSet(v,t)){var F=[e,o];
var G=[g,m];

for(var i=0,l=F.length;i<l;i++){try{new ActiveXObject(F[i]);
new ActiveXObject(G[i]);
}catch(z){continue;
}E.DOMDOC=F[i];
E.XMLHTTP=G[i];
break;
}}}});
})();
(function(){var k="visible",j="scroll",i="borderBottomWidth",h="borderTopWidth",g="left",f="borderLeftWidth",e="bottom",d="top",c="right",b="qx.bom.element.Scroll",a="borderRightWidth";
qx.Class.define(b,{statics:{intoViewX:function(K,stop,L){var parent=K.parentNode;
var Q=qx.dom.Node.getDocument(K);
var M=Q.body;
var Y,W,T;
var bb,R,bc;
var U,bd,bg;
var be,O,X,N;
var S,bf,V;
var P=L===g;
var ba=L===c;
stop=stop?stop.parentNode:Q;
while(parent&&parent!=stop){if(parent.scrollWidth>parent.clientWidth&&(parent===M||qx.bom.element.Overflow.getY(parent)!=k)){if(parent===M){W=parent.scrollLeft;
T=W+qx.bom.Viewport.getWidth();
bb=qx.bom.Viewport.getWidth();
R=parent.clientWidth;
bc=parent.scrollWidth;
U=0;
bd=0;
bg=0;
}else{Y=qx.bom.element.Location.get(parent);
W=Y.left;
T=Y.right;
bb=parent.offsetWidth;
R=parent.clientWidth;
bc=parent.scrollWidth;
U=parseInt(qx.bom.element.Style.get(parent,f),10)||0;
bd=parseInt(qx.bom.element.Style.get(parent,a),10)||0;
bg=bb-R-U-bd;
}be=qx.bom.element.Location.get(K);
O=be.left;
X=be.right;
N=K.offsetWidth;
S=O-W-U;
bf=X-T+bd;
V=0;
if(P){V=S;
}else if(ba){V=bf+bg;
}else if(S<0||N>R){V=S;
}else if(bf>0){V=bf+bg;
}parent.scrollLeft+=V;
if(qx.bom.client.Engine.GECKO){qx.event.Registration.fireNonBubblingEvent(parent,j);
}}
if(parent===M){break;
}parent=parent.parentNode;
}},intoViewY:function(l,stop,m){var parent=l.parentNode;
var s=qx.dom.Node.getDocument(l);
var n=s.body;
var A,o,w;
var C,z,u;
var q,r,p;
var E,F,B,v;
var y,t,G;
var D=m===d;
var x=m===e;
stop=stop?stop.parentNode:s;
while(parent&&parent!=stop){if(parent.scrollHeight>parent.clientHeight&&(parent===n||qx.bom.element.Overflow.getY(parent)!=k)){if(parent===n){o=parent.scrollTop;
w=o+qx.bom.Viewport.getHeight();
C=qx.bom.Viewport.getHeight();
z=parent.clientHeight;
u=parent.scrollHeight;
q=0;
r=0;
p=0;
}else{A=qx.bom.element.Location.get(parent);
o=A.top;
w=A.bottom;
C=parent.offsetHeight;
z=parent.clientHeight;
u=parent.scrollHeight;
q=parseInt(qx.bom.element.Style.get(parent,h),10)||0;
r=parseInt(qx.bom.element.Style.get(parent,i),10)||0;
p=C-z-q-r;
}E=qx.bom.element.Location.get(l);
F=E.top;
B=E.bottom;
v=l.offsetHeight;
y=F-o-q;
t=B-w+r;
G=0;
if(D){G=y;
}else if(x){G=t+p;
}else if(y<0||v>z){G=y;
}else if(t>0){G=t+p;
}parent.scrollTop+=G;
if(qx.bom.client.Engine.GECKO){qx.event.Registration.fireNonBubblingEvent(parent,j);
}}
if(parent===n){break;
}parent=parent.parentNode;
}},intoView:function(H,stop,I,J){this.intoViewX(H,stop,I);
this.intoViewY(H,stop,J);
}}});
})();
(function(){var bA="borderTopWidth",bz="borderLeftWidth",by="marginTop",bx="marginLeft",bw="scroll",bv="qx.client",bu="border-box",bt="borderBottomWidth",bs="borderRightWidth",br="auto",bP="padding",bO="qx.bom.element.Location",bN="paddingLeft",bM="static",bL="marginBottom",bK="visible",bJ="BODY",bI="paddingBottom",bH="paddingTop",bG="marginRight",bE="position",bF="margin",bC="overflow",bD="paddingRight",bB="border";
qx.Class.define(bO,{statics:{__hE:function(h,i){return qx.bom.element.Style.get(h,i,qx.bom.element.Style.COMPUTED_MODE,false);
},__hF:function(bg,bh){return parseInt(qx.bom.element.Style.get(bg,bh,qx.bom.element.Style.COMPUTED_MODE,false),10)||0;
},__hG:function(bn){var bq=0,top=0;
if(bn.getBoundingClientRect&&!qx.bom.client.Engine.OPERA){var bp=qx.dom.Node.getWindow(bn);
bq-=qx.bom.Viewport.getScrollLeft(bp);
top-=qx.bom.Viewport.getScrollTop(bp);
}else{var bo=qx.dom.Node.getDocument(bn).body;
bn=bn.parentNode;
while(bn&&bn!=bo){bq+=bn.scrollLeft;
top+=bn.scrollTop;
bn=bn.parentNode;
}}return {left:bq,top:top};
},__hH:qx.core.Variant.select(bv,{"mshtml":function(L){var N=qx.dom.Node.getDocument(L);
var M=N.body;
var O=0;
var top=0;
O-=M.clientLeft+N.documentElement.clientLeft;
top-=M.clientTop+N.documentElement.clientTop;

if(qx.bom.client.Feature.STANDARD_MODE){O+=this.__hF(M,bz);
top+=this.__hF(M,bA);
}return {left:O,top:top};
},"webkit":function(P){var R=qx.dom.Node.getDocument(P);
var Q=R.body;
var S=Q.offsetLeft;
var top=Q.offsetTop;
if(qx.bom.client.Engine.VERSION<530.17){S+=this.__hF(Q,bz);
top+=this.__hF(Q,bA);
}return {left:S,top:top};
},"gecko":function(o){var p=qx.dom.Node.getDocument(o).body;
var q=p.offsetLeft;
var top=p.offsetTop;
if(qx.bom.client.Engine.VERSION<1.9){q+=this.__hF(p,bx);
top+=this.__hF(p,by);
}if(qx.bom.element.BoxSizing.get(p)!==bu){q+=this.__hF(p,bz);
top+=this.__hF(p,bA);
}return {left:q,top:top};
},"default":function(C){var D=qx.dom.Node.getDocument(C).body;
var E=D.offsetLeft;
var top=D.offsetTop;
return {left:E,top:top};
}}),__hI:qx.core.Variant.select(bv,{"mshtml|webkit":function(v){var x=qx.dom.Node.getDocument(v);
if(v.getBoundingClientRect){var y=v.getBoundingClientRect();
var z=y.left;
var top=y.top;
}else{var z=v.offsetLeft;
var top=v.offsetTop;
v=v.offsetParent;
var w=x.body;
while(v&&v!=w){z+=v.offsetLeft;
top+=v.offsetTop;
z+=this.__hF(v,bz);
top+=this.__hF(v,bA);
v=v.offsetParent;
}}return {left:z,top:top};
},"gecko":function(c){if(c.getBoundingClientRect){var f=c.getBoundingClientRect();
var g=Math.round(f.left);
var top=Math.round(f.top);
}else{var g=0;
var top=0;
var d=qx.dom.Node.getDocument(c).body;
var e=qx.bom.element.BoxSizing;

if(e.get(c)!==bu){g-=this.__hF(c,bz);
top-=this.__hF(c,bA);
}
while(c&&c!==d){g+=c.offsetLeft;
top+=c.offsetTop;
if(e.get(c)!==bu){g+=this.__hF(c,bz);
top+=this.__hF(c,bA);
}if(c.parentNode&&this.__hE(c.parentNode,bC)!=bK){g+=this.__hF(c.parentNode,bz);
top+=this.__hF(c.parentNode,bA);
}c=c.offsetParent;
}}return {left:g,top:top};
},"default":function(bd){var bf=0;
var top=0;
var be=qx.dom.Node.getDocument(bd).body;
while(bd&&bd!==be){bf+=bd.offsetLeft;
top+=bd.offsetTop;
bd=bd.offsetParent;
}return {left:bf,top:top};
}}),get:function(T,U){if(T.tagName==bJ){var location=this.__hJ(T);
var bc=location.left;
var top=location.top;
}else{var V=this.__hH(T);
var bb=this.__hI(T);
var scroll=this.__hG(T);
var bc=bb.left+V.left-scroll.left;
var top=bb.top+V.top-scroll.top;
}var W=bc+T.offsetWidth;
var X=top+T.offsetHeight;

if(U){if(U==bP||U==bw){var Y=qx.bom.element.Overflow.getX(T);

if(Y==bw||Y==br){W+=T.scrollWidth-T.offsetWidth+this.__hF(T,bz)+this.__hF(T,bs);
}var ba=qx.bom.element.Overflow.getY(T);

if(ba==bw||ba==br){X+=T.scrollHeight-T.offsetHeight+this.__hF(T,bA)+this.__hF(T,bt);
}}
switch(U){case bP:bc+=this.__hF(T,bN);
top+=this.__hF(T,bH);
W-=this.__hF(T,bD);
X-=this.__hF(T,bI);
case bw:bc-=T.scrollLeft;
top-=T.scrollTop;
W-=T.scrollLeft;
X-=T.scrollTop;
case bB:bc+=this.__hF(T,bz);
top+=this.__hF(T,bA);
W-=this.__hF(T,bs);
X-=this.__hF(T,bt);
break;
case bF:bc-=this.__hF(T,bx);
top-=this.__hF(T,by);
W+=this.__hF(T,bG);
X+=this.__hF(T,bL);
break;
}}return {left:bc,top:top,right:W,bottom:X};
},__hJ:qx.core.Variant.select(bv,{"default":function(t){var top=t.offsetTop+this.__hF(t,by);
var u=t.offsetLeft+this.__hF(t,bx);
return {left:u,top:top};
},"mshtml":function(m){var top=m.offsetTop;
var n=m.offsetLeft;

if(!((qx.bom.client.Engine.VERSION<8||qx.bom.client.Engine.DOCUMENT_MODE<8)&&!qx.bom.client.Feature.QUIRKS_MODE)){top+=this.__hF(m,by);
n+=this.__hF(m,bx);
}return {left:n,top:top};
},"gecko":function(j){var top=j.offsetTop+this.__hF(j,by)+this.__hF(j,bz);
var k=j.offsetLeft+this.__hF(j,bx)+this.__hF(j,bA);
return {left:k,top:top};
}}),getLeft:function(A,B){return this.get(A,B).left;
},getTop:function(bl,bm){return this.get(bl,bm).top;
},getRight:function(r,s){return this.get(r,s).right;
},getBottom:function(a,b){return this.get(a,b).bottom;
},getRelative:function(F,G,H,I){var K=this.get(F,H);
var J=this.get(G,I);
return {left:K.left-J.left,top:K.top-J.top,right:K.right-J.right,bottom:K.bottom-J.bottom};
},getPosition:function(l){return this.getRelative(l,this.getOffsetParent(l));
},getOffsetParent:function(bi){var bk=bi.offsetParent||document.body;
var bj=qx.bom.element.Style;

while(bk&&(!/^body|html$/i.test(bk.tagName)&&bj.get(bk,bE)===bM)){bk=bk.offsetParent;
}return bk;
}}});
})();
(function(){var T="qx.client",S="character",R="EndToEnd",Q="input",P="textarea",O="StartToStart",N='character',M="qx.bom.Selection",L="button",K="#text",J="body";
qx.Class.define(M,{statics:{getSelectionObject:qx.core.Variant.select(T,{"mshtml":function(I){return I.selection;
},"default":function(bi){return qx.dom.Node.getWindow(bi).getSelection();
}}),get:qx.core.Variant.select(T,{"mshtml":function(br){var bs=qx.bom.Range.get(qx.dom.Node.getDocument(br));
return bs.text;
},"default":function(bg){if(this.__hK(bg)){return bg.value.substring(bg.selectionStart,bg.selectionEnd);
}else{return this.getSelectionObject(qx.dom.Node.getDocument(bg)).toString();
}}}),getLength:qx.core.Variant.select(T,{"mshtml":function(bn){var bp=this.get(bn);
var bo=qx.util.StringSplit.split(bp,/\r\n/);
return bp.length-(bo.length-1);
},"opera":function(p){var u,s,q;

if(this.__hK(p)){var t=p.selectionStart;
var r=p.selectionEnd;
u=p.value.substring(t,r);
s=r-t;
}else{u=qx.bom.Selection.get(p);
s=u.length;
}q=qx.util.StringSplit.split(u,/\r\n/);
return s-(q.length-1);
},"default":function(V){if(this.__hK(V)){return V.selectionEnd-V.selectionStart;
}else{return this.get(V).length;
}}}),getStart:qx.core.Variant.select(T,{"mshtml":function(W){if(this.__hK(W)){var bc=qx.bom.Range.get();
if(!W.contains(bc.parentElement())){return -1;
}var bd=qx.bom.Range.get(W);
var bb=W.value.length;
bd.moveToBookmark(bc.getBookmark());
bd.moveEnd(N,bb);
return bb-bd.text.length;
}else{var bd=qx.bom.Range.get(W);
var Y=bd.parentElement();
var be=qx.bom.Range.get();
be.moveToElementText(Y);
var X=qx.bom.Range.get(qx.dom.Node.getBodyElement(W));
X.setEndPoint(O,bd);
X.setEndPoint(R,be);
if(be.compareEndPoints(O,X)==0){return 0;
}var ba;
var bf=0;

while(true){ba=X.moveStart(S,-1);
if(be.compareEndPoints(O,X)==0){break;
}if(ba==0){break;
}else{bf++;
}}return ++bf;
}},"gecko|webkit":function(a){if(this.__hK(a)){return a.selectionStart;
}else{var c=qx.dom.Node.getDocument(a);
var b=this.getSelectionObject(c);
if(b.anchorOffset<b.focusOffset){return b.anchorOffset;
}else{return b.focusOffset;
}}},"default":function(bh){if(this.__hK(bh)){return bh.selectionStart;
}else{return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bh)).anchorOffset;
}}}),getEnd:qx.core.Variant.select(T,{"mshtml":function(z){if(this.__hK(z)){var E=qx.bom.Range.get();
if(!z.contains(E.parentElement())){return -1;
}var F=qx.bom.Range.get(z);
var D=z.value.length;
F.moveToBookmark(E.getBookmark());
F.moveStart(N,-D);
return F.text.length;
}else{var F=qx.bom.Range.get(z);
var B=F.parentElement();
var G=qx.bom.Range.get();
G.moveToElementText(B);
var D=G.text.length;
var A=qx.bom.Range.get(qx.dom.Node.getBodyElement(z));
A.setEndPoint(R,F);
A.setEndPoint(O,G);
if(G.compareEndPoints(R,A)==0){return D-1;
}var C;
var H=0;

while(true){C=A.moveEnd(S,1);
if(G.compareEndPoints(R,A)==0){break;
}if(C==0){break;
}else{H++;
}}return D-(++H);
}},"gecko|webkit":function(w){if(this.__hK(w)){return w.selectionEnd;
}else{var y=qx.dom.Node.getDocument(w);
var x=this.getSelectionObject(y);
if(x.focusOffset>x.anchorOffset){return x.focusOffset;
}else{return x.anchorOffset;
}}},"default":function(bq){if(this.__hK(bq)){return bq.selectionEnd;
}else{return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bq)).focusOffset;
}}}),__hK:function(v){return qx.dom.Node.isElement(v)&&(v.nodeName.toLowerCase()==Q||v.nodeName.toLowerCase()==P);
},set:qx.core.Variant.select(T,{"mshtml":function(d,e,f){var g;
if(qx.dom.Node.isDocument(d)){d=d.body;
}
if(qx.dom.Node.isElement(d)||qx.dom.Node.isText(d)){switch(d.nodeName.toLowerCase()){case Q:case P:case L:if(f===undefined){f=d.value.length;
}
if(e>=0&&e<=d.value.length&&f>=0&&f<=d.value.length){g=qx.bom.Range.get(d);
g.collapse(true);
g.moveStart(S,e);
g.moveEnd(S,f-e);
g.select();
return true;
}break;
case K:if(f===undefined){f=d.nodeValue.length;
}
if(e>=0&&e<=d.nodeValue.length&&f>=0&&f<=d.nodeValue.length){g=qx.bom.Range.get(qx.dom.Node.getBodyElement(d));
g.moveToElementText(d.parentNode);
g.collapse(true);
g.moveStart(S,e);
g.moveEnd(S,f-e);
g.select();
return true;
}break;
default:if(f===undefined){f=d.childNodes.length-1;
}if(d.childNodes[e]&&d.childNodes[f]){g=qx.bom.Range.get(qx.dom.Node.getBodyElement(d));
g.moveToElementText(d.childNodes[e]);
g.collapse(true);
var h=qx.bom.Range.get(qx.dom.Node.getBodyElement(d));
h.moveToElementText(d.childNodes[f]);
g.setEndPoint(R,h);
g.select();
return true;
}}}return false;
},"default":function(i,j,k){var o=i.nodeName.toLowerCase();

if(qx.dom.Node.isElement(i)&&(o==Q||o==P)){if(k===undefined){k=i.value.length;
}if(j>=0&&j<=i.value.length&&k>=0&&k<=i.value.length){i.focus();
i.select();
i.setSelectionRange(j,k);
return true;
}}else{var m=false;
var n=qx.dom.Node.getWindow(i).getSelection();
var l=qx.bom.Range.get(i);
if(qx.dom.Node.isText(i)){if(k===undefined){k=i.length;
}
if(j>=0&&j<i.length&&k>=0&&k<=i.length){m=true;
}}else if(qx.dom.Node.isElement(i)){if(k===undefined){k=i.childNodes.length-1;
}
if(j>=0&&i.childNodes[j]&&k>=0&&i.childNodes[k]){m=true;
}}else if(qx.dom.Node.isDocument(i)){i=i.body;

if(k===undefined){k=i.childNodes.length-1;
}
if(j>=0&&i.childNodes[j]&&k>=0&&i.childNodes[k]){m=true;
}}
if(m){if(!n.isCollapsed){n.collapseToStart();
}l.setStart(i,j);
if(qx.dom.Node.isText(i)){l.setEnd(i,k);
}else{l.setEndAfter(i.childNodes[k]);
}if(n.rangeCount>0){n.removeAllRanges();
}n.addRange(l);
return true;
}}return false;
}}),setAll:function(U){return qx.bom.Selection.set(U,0);
},clear:qx.core.Variant.select(T,{"mshtml":function(bj){var bk=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bj));
var bl=qx.bom.Range.get(bj);
var parent=bl.parentElement();
var bm=qx.bom.Range.get(qx.dom.Node.getDocument(bj));
if(parent==bm.parentElement()&&parent==bj){bk.empty();
}},"default":function(bt){var bv=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bt));
var bx=bt.nodeName.toLowerCase();
if(qx.dom.Node.isElement(bt)&&(bx==Q||bx==P)){bt.setSelectionRange(0,0);
qx.bom.Element.blur(bt);
}else if(qx.dom.Node.isDocument(bt)||bx==J){bv.collapse(bt.body?bt.body:bt,0);
}else{var bw=qx.bom.Range.get(bt);

if(!bw.collapsed){var by;
var bu=bw.commonAncestorContainer;
if(qx.dom.Node.isElement(bt)&&qx.dom.Node.isText(bu)){by=bu.parentNode;
}else{by=bu;
}
if(by==bt){bv.collapse(bt,0);
}}}}})}});
})();
(function(){var l="button",k="qx.bom.Range",j="text",i="password",h="file",g="submit",f="reset",e="textarea",d="input",c="hidden",a="qx.client",b="body";
qx.Class.define(k,{statics:{get:qx.core.Variant.select(a,{"mshtml":function(p){if(qx.dom.Node.isElement(p)){switch(p.nodeName.toLowerCase()){case d:switch(p.type){case j:case i:case c:case l:case f:case h:case g:return p.createTextRange();
break;
default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(p)).createRange();
}break;
case e:case b:case l:return p.createTextRange();
break;
default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(p)).createRange();
}}else{if(p==null){p=window;
}return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(p)).createRange();
}},"default":function(m){var n=qx.dom.Node.getDocument(m);
var o=qx.bom.Selection.getSelectionObject(n);

if(o.rangeCount>0){return o.getRangeAt(0);
}else{return n.createRange();
}}})}});
})();
(function(){var p="",o="g",n="$",m="qx.util.StringSplit",l="\\$&",k="^";
qx.Bootstrap.define(m,{statics:{split:function(a,b,c){var f=p;
if(b===undefined){return [a.toString()];
}else if(b===null||b.constructor!==RegExp){b=new RegExp(String(b).replace(/[.*+?^${}()|[\]\/\\]/g,l),o);
}else{f=b.toString().replace(/^[\S\s]+\//,p);

if(!b.global){b=new RegExp(b.source,o+f);
}}var e=new RegExp(k+b.source+n,f);
if(c===undefined||+c<0){c=false;
}else{c=Math.floor(+c);

if(!c){return [];
}}var h,g=[],d=0,i=0;

while((c?i++<=c:true)&&(h=b.exec(a))){if((h[0].length===0)&&(b.lastIndex>h.index)){b.lastIndex--;
}
if(b.lastIndex>d){if(h.length>1){h[0].replace(e,function(){for(var j=1;j<arguments.length-2;j++){if(arguments[j]===undefined){h[j]=undefined;
}}});
}g=g.concat(a.substring(d,h.index),(h.index===a.length?[]:h.slice(1)));
d=b.lastIndex;
}
if(h[0].length===0){b.lastIndex++;
}}return (d===a.length)?(b.test(p)?g:g.concat(p)):(c?g:g.concat(a.substring(d)));
}}});
})();
(function(){var b="qx.ui.core.queue.Widget",a="widget";
qx.Class.define(b,{statics:{__hL:{},remove:function(c){delete this.__hL[c.$$hash];
},add:function(d){var e=this.__hL;

if(e[d.$$hash]){return;
}e[d.$$hash]=d;
qx.ui.core.queue.Manager.scheduleFlush(a);
},flush:function(){var f=this.__hL;
var h;

for(var g in f){h=f[g];
delete f[g];
h.syncWidget();
}for(var g in f){return;
}this.__hL={};
}}});
})();
(function(){var j="qx.ui.core.queue.Visibility",i="visibility";
qx.Class.define(j,{statics:{__hM:{},__hN:{},remove:function(g){var h=g.$$hash;
delete this.__hN[h];
delete this.__hM[h];
},isVisible:function(p){return this.__hN[p.$$hash]||false;
},__hO:function(a){var c=this.__hN;
var b=a.$$hash;
var d;
if(a.isExcluded()){d=false;
}else{var parent=a.$$parent;

if(parent){d=this.__hO(parent);
}else{d=a.isRootWidget();
}}return c[b]=d;
},add:function(e){var f=this.__hM;

if(f[e.$$hash]){return;
}f[e.$$hash]=e;
qx.ui.core.queue.Manager.scheduleFlush(i);
},flush:function(){var k=this.__hM;
var o=this.__hN;
for(var l in k){if(o[l]!=null){k[l].addChildrenToQueue(k);
}}var n={};

for(var l in k){n[l]=o[l];
o[l]=null;
}for(var l in k){var m=k[l];
delete k[l];
if(o[l]==null){this.__hO(m);
}if(o[l]&&o[l]!=n[l]){m.checkAppearanceNeeds();
}}this.__hM={};
}}});
})();
(function(){var c="appearance",b="qx.ui.core.queue.Appearance";
qx.Class.define(b,{statics:{__hP:{},remove:function(j){delete this.__hP[j.$$hash];
},add:function(d){var e=this.__hP;

if(e[d.$$hash]){return;
}e[d.$$hash]=d;
qx.ui.core.queue.Manager.scheduleFlush(c);
},has:function(a){return !!this.__hP[a.$$hash];
},flush:function(){var i=qx.ui.core.queue.Visibility;
var f=this.__hP;
var h;

for(var g in f){h=f[g];
delete f[g];
if(i.isVisible(h)){h.syncAppearance();
}else{h.$$stateChanges=true;
}}}}});
})();
(function(){var b="dispose",a="qx.ui.core.queue.Dispose";
qx.Class.define(a,{statics:{__hQ:{},add:function(c){var d=this.__hQ;

if(d[c.$$hash]){return;
}d[c.$$hash]=c;
qx.ui.core.queue.Manager.scheduleFlush(b);
},flush:function(){var e=this.__hQ;

for(var g in e){var f=e[g];
delete e[g];
f.dispose();
}for(var g in e){return;
}this.__hQ={};
}}});
})();
(function(){var c="none",b="qx.html.Decorator",a="absolute";
qx.Class.define(b,{extend:qx.html.Element,construct:function(e,f){arguments.callee.base.call(this);
this.__hR=e;
this.__hS=f||e.toHashCode();
this.useMarkup(e.getMarkup());
var g={position:a,top:0,left:0};

if(qx.bom.client.Feature.CSS_POINTER_EVENTS){g.pointerEvents=c;
}this.setStyles(g);
},members:{__hS:null,__hR:null,getId:function(){return this.__hS;
},getDecorator:function(){return this.__hR;
},resize:function(h,i){this.__hR.resize(this.getDomElement(),h,i);
},tint:function(d){this.__hR.tint(this.getDomElement(),d);
},getInsets:function(){return this.__hR.getInsets();
}},destruct:function(){this.__hR=null;
}});
})();
(function(){var x="blur",w="focus",v="input",u="load",t="qx.ui.core.EventHandler",s="activate";
qx.Class.define(t,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(){arguments.callee.base.call(this);
this.__hT=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:{__hT:null,__hU:{focusin:1,focusout:1,focus:1,blur:1},__hV:{mouseover:1,mouseout:1,appear:1,disappear:1},canHandleEvent:function(G,H){return G instanceof qx.ui.core.Widget;
},_dispatchEvent:function(b){var g=b.getTarget();
var f=qx.ui.core.Widget.getWidgetByElement(g);
var h=false;

while(f&&f.isAnonymous()){var h=true;
f=f.getLayoutParent();
}if(f&&h&&b.getType()==s){f.getContainerElement().activate();
}if(this.__hU[b.getType()]){f=f&&f.getFocusTarget();
if(!f){return;
}}if(b.getRelatedTarget){var q=b.getRelatedTarget();
var p=qx.ui.core.Widget.getWidgetByElement(q);

while(p&&p.isAnonymous()){p=p.getLayoutParent();
}
if(p){if(this.__hU[b.getType()]){p=p.getFocusTarget();
}if(p===f){return;
}}}var k=b.getCurrentTarget();
var n=qx.ui.core.Widget.getWidgetByElement(k);

if(!n||n.isAnonymous()){return;
}if(this.__hU[b.getType()]){n=n.getFocusTarget();
}var o=b.getType();

if(!n||!(n.isEnabled()||this.__hV[o])){return;
}var c=b.getEventPhase()==qx.event.type.Event.CAPTURING_PHASE;
var j=this.__hT.getListeners(n,o,c);

if(!j||j.length===0){return;
}var d=qx.event.Pool.getInstance().getObject(b.constructor);
b.clone(d);
d.setTarget(f);
d.setRelatedTarget(p||null);
d.setCurrentTarget(n);
var r=b.getOriginalTarget();

if(r){var e=qx.ui.core.Widget.getWidgetByElement(r);

while(e&&e.isAnonymous()){e=e.getLayoutParent();
}d.setOriginalTarget(e);
}else{d.setOriginalTarget(g);
}for(var i=0,l=j.length;i<l;i++){var m=j[i].context||n;
j[i].handler.call(m,d);
}if(d.getPropagationStopped()){b.stopPropagation();
}
if(d.getDefaultPrevented()){b.preventDefault();
}qx.event.Pool.getInstance().poolObject(d);
},registerEvent:function(C,D,E){var F;

if(D===w||D===x){F=C.getFocusElement();
}else if(D===u||D===v){F=C.getContentElement();
}else{F=C.getContainerElement();
}
if(F){F.addListener(D,this._dispatchEvent,this,E);
}},unregisterEvent:function(y,z,A){var B;

if(z===w||z===x){B=y.getFocusElement();
}else if(z===u||z===v){B=y.getContentElement();
}else{B=y.getContainerElement();
}
if(B){B.removeListener(z,this._dispatchEvent,this,A);
}}},destruct:function(){this.__hT=null;
},defer:function(a){qx.event.Registration.addHandler(a);
}});
})();
(function(){var f="qx.bom.client.Locale",e="-",d="";
qx.Bootstrap.define(f,{statics:{LOCALE:"",VARIANT:"",__hW:function(){var a=(qx.bom.client.Engine.MSHTML?navigator.userLanguage:navigator.language).toLowerCase();
var c=d;
var b=a.indexOf(e);

if(b!=-1){c=a.substr(b+1);
a=a.substr(0,b);
}this.LOCALE=a;
this.VARIANT=c;
}},defer:function(g){g.__hW();
}});
})();
(function(){var w="",v='indexOf',u='slice',t='concat',s='toLocaleLowerCase',r="qx.type.BaseString",q='match',p='toLocaleUpperCase',o='search',n='replace',f='toLowerCase',m='charCodeAt',j='split',e='substring',d='lastIndexOf',h='substr',g='toUpperCase',k='charAt';
qx.Class.define(r,{extend:Object,construct:function(a){var a=a||w;
this.__hX=a;
this.length=a.length;
},members:{$$isString:true,length:0,__hX:null,toString:function(){return this.__hX;
},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(b,c){return qx.core.Object.prototype.base.apply(this,arguments);
}},defer:function(x,y){{};
var z=[k,m,t,v,d,q,n,o,u,j,h,e,f,g,s,p];
y.valueOf=y.toString;

if(new x(w).valueOf()==null){delete y.valueOf;
}
for(var i=0,l=z.length;i<l;i++){y[z[i]]=String.prototype[z[i]];
}}});
})();
(function(){var a="qx.locale.LocalizedString";
qx.Class.define(a,{extend:qx.type.BaseString,construct:function(b,c,d){arguments.callee.base.call(this,b);
this.__hY=c;
this.__ia=d;
},members:{__hY:null,__ia:null,translate:function(){return qx.locale.Manager.getInstance().translate(this.__hY,this.__ia);
}}});
})();
(function(){var t="_",s="",r="qx.dynlocale",q="on",p="_applyLocale",o="changeLocale",n="C",m="qx.locale.Manager",l="String",k="singleton";
qx.Class.define(m,{type:k,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__ib=qx.$$translations||{};
this.__ic=qx.$$locales||{};
var S=qx.bom.client.Locale;
var Q=S.LOCALE;
var R=S.VARIANT;

if(R!==s){Q+=t+R;
}this.setLocale(Q||this.__id);
},statics:{tr:function(H,I){var J=qx.lang.Array.fromArguments(arguments);
J.splice(0,1);
return qx.locale.Manager.getInstance().translate(H,J);
},trn:function(C,D,E,F){var G=qx.lang.Array.fromArguments(arguments);
G.splice(0,3);
if(E!=1){return qx.locale.Manager.getInstance().translate(D,G);
}else{return qx.locale.Manager.getInstance().translate(C,G);
}},trc:function(T,U,V){var W=qx.lang.Array.fromArguments(arguments);
W.splice(0,2);
return qx.locale.Manager.getInstance().translate(U,W);
},marktr:function(bg){return bg;
}},properties:{locale:{check:l,nullable:true,apply:p,event:o}},members:{__id:n,__ie:null,__if:null,__ib:null,__ic:null,getLanguage:function(){return this.__if;
},getTerritory:function(){return this.getLocale().split(t)[1]||s;
},getAvailableLocales:function(){var P=[];

for(var O in this.__ic){if(O!=this.__id){P.push(O);
}}return P;
},__ig:function(g){var j;
var h=g.indexOf(t);

if(h==-1){j=g;
}else{j=g.substring(0,h);
}return j;
},_applyLocale:function(e,f){this.__ie=e;
this.__if=this.__ig(e);
},addTranslation:function(a,b){var c=this.__ib;

if(c[a]){for(var d in b){c[a][d]=b[d];
}}else{c[a]=b;
}},addLocale:function(K,L){var M=this.__ic;

if(M[K]){for(var N in L){M[K][N]=L[N];
}}else{M[K]=L;
}},translate:function(X,Y,ba){var bf;
var bd=this.__ib;

if(!bd){return X;
}
if(ba){var bc=this.__ig(ba);
}else{ba=this.__ie;
bc=this.__if;
}
if(!bf&&bd[ba]){bf=bd[ba][X];
}
if(!bf&&bd[bc]){bf=bd[bc][X];
}
if(!bf&&bd[this.__id]){bf=bd[this.__id][X];
}
if(!bf){bf=X;
}
if(Y.length>0){var bb=[];

for(var i=0;i<Y.length;i++){var be=Y[i];

if(be&&be.translate){bb[i]=be.translate();
}else{bb[i]=be;
}}bf=qx.lang.String.format(bf,bb);
}
if(qx.core.Variant.isSet(r,q)){bf=new qx.locale.LocalizedString(bf,X,Y);
}return bf;
},localize:function(u,v,w){var B;
var z=this.__ic;

if(!z){return u;
}
if(w){var y=this.__ig(w);
}else{w=this.__ie;
y=this.__if;
}
if(!B&&z[w]){B=z[w][u];
}
if(!B&&z[y]){B=z[y][u];
}
if(!B&&z[this.__id]){B=z[this.__id][u];
}
if(!B){B=u;
}
if(v.length>0){var x=[];

for(var i=0;i<v.length;i++){var A=v[i];

if(A.translate){x[i]=A.translate();
}else{x[i]=A;
}}B=qx.lang.String.format(B,x);
}
if(qx.core.Variant.isSet(r,q)){B=new qx.locale.LocalizedString(B,u,v);
}return B;
}},destruct:function(){this.__ib=this.__ic=null;
}});
})();
(function(){var l="source",k="scale",j="no-repeat",i="mshtml",h="qx.client",g="qx.html.Image";
qx.Class.define(g,{extend:qx.html.Element,members:{_applyProperty:function(name,a){arguments.callee.base.call(this,name,a);

if(name===l){var e=this.getDomElement();
var b=this.getAllStyles();
var c=this._getProperty(l);
var d=this._getProperty(k);
var f=d?k:j;
qx.bom.element.Decoration.update(e,c,f,b);
}},_createDomElement:function(){var p=this._getProperty(k);
var q=p?k:j;

if(qx.core.Variant.isSet(h,i)){var o=this._getProperty(l);
this.setNodeName(qx.bom.element.Decoration.getTagName(q,o));
}else{this.setNodeName(qx.bom.element.Decoration.getTagName(q));
}return arguments.callee.base.call(this);
},_copyData:function(r){return arguments.callee.base.call(this,true);
},setSource:function(m){this._setProperty(l,m);
return this;
},getSource:function(){return this._getProperty(l);
},resetSource:function(){this._removeProperty(l);
return this;
},setScale:function(n){this._setProperty(k,n);
return this;
},getScale:function(){return this._getProperty(k);
}}});
})();
(function(){var B="nonScaled",A="scaled",z="alphaScaled",y=".png",x="replacement",w="hidden",v="div",u="__ih",t="Boolean",s="_applyScale",m="px",r="_applySource",p="-disabled.$1",l="img",k="changeSource",o="qx.client",n="String",q="image",j="qx.ui.basic.Image";
qx.Class.define(j,{extend:qx.ui.core.Widget,construct:function(W){this.__ih={};
arguments.callee.base.call(this);

if(W){this.setSource(W);
}},properties:{source:{check:n,init:null,nullable:true,event:k,apply:r,themeable:true},scale:{check:t,init:false,themeable:true,apply:s},appearance:{refine:true,init:q},allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false}},members:{__ii:null,__ij:null,__ik:null,__ih:null,getContentElement:function(){return this.__io();
},_createContentElement:function(){return this.__io();
},_getContentHint:function(){return {width:this.__ii||0,height:this.__ij||0};
},_applyEnabled:function(N,O){arguments.callee.base.call(this,N,O);

if(this.getSource()){this._styleSource();
}},_applySource:function(V){this._styleSource();
},_applyScale:function(X){this._styleSource();
},__il:function(bg){this.__ik=bg;
},__im:function(){if(this.__ik==null){var c=this.getSource();
var b=false;

if(c!=null){b=qx.lang.String.endsWith(c,y);
}
if(this.getScale()&&b&&qx.bom.element.Decoration.isAlphaImageLoaderEnabled()){this.__ik=z;
}else if(this.getScale()){this.__ik=A;
}else{this.__ik=B;
}}return this.__ik;
},__in:function(F){var G;
var H;

if(F==z){G=true;
H=v;
}else if(F==B){G=false;
H=v;
}else{G=true;
H=l;
}var I=new qx.html.Image(H);
I.setScale(G);
I.setStyles({"overflowX":w,"overflowY":w});
return I;
},__io:function(){var a=this.__im();

if(this.__ih[a]==null){this.__ih[a]=this.__in(a);
}return this.__ih[a];
},_styleSource:function(){var M=qx.util.AliasManager.getInstance().resolve(this.getSource());

if(!M){this.getContentElement().resetSource();
return;
}this.__ip(M);
if(qx.util.ResourceManager.getInstance().has(M)){this.__ir(this.getContentElement(),M);
}else if(qx.io.ImageLoader.isLoaded(M)){this.__is(this.getContentElement(),M);
}else{this.__it(this.getContentElement(),M);
}},__ip:qx.core.Variant.select(o,{"mshtml":function(C){var E=qx.bom.element.Decoration.isAlphaImageLoaderEnabled();
var D=qx.lang.String.endsWith(C,y);

if(E&&D){if(this.getScale()&&this.__im()!=z){this.__il(z);
}else if(!this.getScale()&&this.__im()!=B){this.__il(B);
}}else{if(this.getScale()&&this.__im()!=A){this.__il(A);
}else if(!this.getScale()&&this.__im()!=B){this.__il(B);
}}this.__iq(this.__io());
},"default":function(i){if(this.getScale()&&this.__im()!=A){this.__il(A);
}else if(!this.getScale()&&this.__im(B)){this.__il(B);
}this.__iq(this.__io());
}}),__iq:function(Y){var bc=this.getContainerElement();
var bd=bc.getChild(0);

if(bd!=Y){if(bd!=null){var bf=m;
var ba={};
var bb=this.getInnerSize();

if(bb!=null){ba.width=bb.width+bf;
ba.height=bb.height+bf;
}var be=this.getInsets();
ba.left=be.left+bf;
ba.top=be.top+bf;
Y.setStyles(ba,true);
Y.setSelectable(this.getSelectable());
}bc.removeAt(0);
bc.addAt(Y,0);
}},__ir:function(P,Q){var S=qx.util.ResourceManager.getInstance();
if(!this.getEnabled()){var R=Q.replace(/\.([a-z]+)$/,p);

if(S.has(R)){Q=R;
this.addState(x);
}else{this.removeState(x);
}}if(P.getSource()===Q){return;
}P.setSource(Q);
this.__iv(S.getImageWidth(Q),S.getImageHeight(Q));
},__is:function(d,e){var g=qx.io.ImageLoader;
d.setSource(e);
var f=g.getWidth(e);
var h=g.getHeight(e);
this.__iv(f,h);
},__it:function(J,K){var self;
var L=qx.io.ImageLoader;
{};
if(!L.isFailed(K)){L.load(K,this.__iu,this);
}else{if(J!=null){J.resetSource();
}}},__iu:function(T,U){if(T!==qx.util.AliasManager.getInstance().resolve(this.getSource())){return;
}if(U.failed){this.warn("Image could not be loaded: "+T);
}this._styleSource();
},__iv:function(bh,bi){if(bh!==this.__ii||bi!==this.__ij){this.__ii=bh;
this.__ij=bi;
qx.ui.core.queue.Layout.add(this);
}}},destruct:function(){this._disposeMap(u);
}});
})();
(function(){var g="dragdrop-cursor",f="_applyAction",e="alias",d="qx.ui.core.DragDropCursor",c="move",b="singleton",a="copy";
qx.Class.define(d,{extend:qx.ui.basic.Image,include:qx.ui.core.MPlacement,type:b,construct:function(){arguments.callee.base.call(this);
this.setZIndex(1e8);
this.setDomMove(true);
var h=this.getApplicationRoot();
h.add(this,{left:-1000,top:-1000});
},properties:{appearance:{refine:true,init:g},action:{check:[e,a,c],apply:f,nullable:true}},members:{_applyAction:function(i,j){if(j){this.removeState(j);
}
if(i){this.addState(i);
}}}});
})();
(function(){var f="interval",e="Number",d="_applyTimeoutInterval",c="qx.event.type.Event",b="qx.event.Idle",a="singleton";
qx.Class.define(b,{extend:qx.core.Object,type:a,construct:function(){arguments.callee.base.call(this);
var g=new qx.event.Timer(this.getTimeoutInterval());
g.addListener(f,this._onInterval,this);
g.start();
this.__iw=g;
},events:{"interval":c},properties:{timeoutInterval:{check:e,init:100,apply:d}},members:{__iw:null,_applyTimeoutInterval:function(h){this.__iw.setInterval(h);
},_onInterval:function(){this.fireEvent(f);
}},destruct:function(){if(this.__iw){this.__iw.stop();
}this.__iw=null;
}});
})();
(function(){var q="top",p="right",o="bottom",n="left",m="align-start",l="qx.util.placement.AbstractAxis",k="edge-start",j="align-end",i="edge-end",h="-",e="best-fit",g="qx.util.placement.Placement",f="keep-align",d='__ix',c="direct";
qx.Class.define(g,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__ix=new qx.util.placement.DirectAxis();
},properties:{axisX:{check:l},axisY:{check:l},edge:{check:[q,p,o,n],init:q},align:{check:[q,p,o,n],init:p}},statics:{__iy:null,compute:function(r,s,t,u,v,w,x){this.__iy=this.__iy||new qx.util.placement.Placement();
var A=v.split(h);
var z=A[0];
var y=A[1];
this.__iy.set({axisX:this.__iC(w),axisY:this.__iC(x),edge:z,align:y});
return this.__iy.compute(r,s,t,u);
},__iz:null,__iA:null,__iB:null,__iC:function(K){switch(K){case c:this.__iz=this.__iz||new qx.util.placement.DirectAxis();
return this.__iz;
case f:this.__iA=this.__iA||new qx.util.placement.KeepAlignAxis();
return this.__iA;
case e:this.__iB=this.__iB||new qx.util.placement.BestFitAxis();
return this.__iB;
default:throw new Error("Invalid 'mode' argument!'");
}}},members:{__ix:null,compute:function(D,E,F,G){{};
var H=this.getAxisX()||this.__ix;
var J=H.computeStart(D.width,{start:F.left,end:F.right},{start:G.left,end:G.right},E.width,this.__iD());
var I=this.getAxisY()||this.__ix;
var top=I.computeStart(D.height,{start:F.top,end:F.bottom},{start:G.top,end:G.bottom},E.height,this.__iE());
return {left:J,top:top};
},__iD:function(){var C=this.getEdge();
var B=this.getAlign();

if(C==n){return k;
}else if(C==p){return i;
}else if(B==n){return m;
}else if(B==p){return j;
}},__iE:function(){var b=this.getEdge();
var a=this.getAlign();

if(b==q){return k;
}else if(b==o){return i;
}else if(a==q){return m;
}else if(a==o){return j;
}}},destruct:function(){this._disposeObjects(d);
}});
})();
(function(){var e="edge-start",d="align-start",c="align-end",b="edge-end",a="qx.util.placement.AbstractAxis";
qx.Class.define(a,{extend:qx.core.Object,members:{computeStart:function(i,j,k,l,m){throw new Error("abstract method call!");
},_moveToEdgeAndAlign:function(n,o,p,q){switch(q){case e:return o.start-p.end-n;
case b:return o.end+p.start;
case d:return o.start+p.start;
case c:return o.end-p.end-n;
}},_isInRange:function(f,g,h){return f>=0&&f+g<=h;
}}});
})();
(function(){var a="qx.util.placement.DirectAxis";
qx.Class.define(a,{extend:qx.util.placement.AbstractAxis,members:{computeStart:function(b,c,d,e,f){return this._moveToEdgeAndAlign(b,c,d,f);
}}});
})();
(function(){var c="qx.util.placement.KeepAlignAxis",b="edge-start",a="edge-end";
qx.Class.define(c,{extend:qx.util.placement.AbstractAxis,members:{computeStart:function(d,e,f,g,h){var i=this._moveToEdgeAndAlign(d,e,f,h);
var j,k;

if(this._isInRange(i,d,g)){return i;
}
if(h==b||h==a){j=e.start-f.end;
k=e.end+f.start;
}else{j=e.end-f.end;
k=e.start+f.start;
}
if(j>g-k){i=j-d;
}else{i=k;
}return i;
}}});
})();
(function(){var a="qx.util.placement.BestFitAxis";
qx.Class.define(a,{extend:qx.util.placement.AbstractAxis,members:{computeStart:function(b,c,d,e,f){var g=this._moveToEdgeAndAlign(b,c,d,f);

if(this._isInRange(g,b,e)){return g;
}
if(g<0){g=Math.min(0,e-b);
}
if(g+b>e){g=Math.max(0,e-b);
}return g;
}}});
})();
(function(){var p="mousedown",o="__iF",n="blur",m="singleton",l="qx.ui.popup.Manager";
qx.Class.define(l,{type:m,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__iF={};
qx.event.Registration.addListener(document.documentElement,p,this.__iH,this,true);
qx.bom.Element.addListener(window,n,this.hideAll,this);
},members:{__iF:null,add:function(k){{};
this.__iF[k.$$hash]=k;
this.__iG();
},remove:function(q){{};
var r=this.__iF;

if(r){delete r[q.$$hash];
this.__iG();
}},hideAll:function(){var b=this.__iF;

if(b){for(var a in b){b[a].exclude();
}}},__iG:function(){var f=1e7;
var d=this.__iF;

for(var c in d){d[c].setZIndex(f++);
}},__iH:function(e){var i=qx.ui.core.Widget.getWidgetByElement(e.getTarget());
var j=this.__iF;

for(var h in j){var g=j[h];

if(!g.getAutoHide()||i==g||qx.ui.core.Widget.contains(g,i)){continue;
}g.exclude();
}}},destruct:function(){qx.event.Registration.removeListener(document.documentElement,p,this.__iH,this,true);
this._disposeMap(o);
}});
})();
(function(){var c="abstract",b="qx.ui.layout.Abstract";
qx.Class.define(b,{type:c,extend:qx.core.Object,members:{__iI:null,_invalidChildrenCache:null,__iJ:null,invalidateLayoutCache:function(){this.__iI=null;
},renderLayout:function(h,i){this.warn("Missing renderLayout() implementation!");
},getSizeHint:function(){if(this.__iI){return this.__iI;
}return this.__iI=this._computeSizeHint();
},hasHeightForWidth:function(){return false;
},getHeightForWidth:function(a){this.warn("Missing getHeightForWidth() implementation!");
return null;
},_computeSizeHint:function(){return null;
},invalidateChildrenCache:function(){this._invalidChildrenCache=true;
},verifyLayoutProperty:null,_clearSeparators:function(){var e=this.__iJ;

if(e instanceof qx.ui.core.LayoutItem){e.clearSeparators();
}},_renderSeparator:function(f,g){this.__iJ.renderSeparator(f,g);
},connectToWidget:function(d){if(d&&this.__iJ){throw new Error("It is not possible to manually set the connected widget.");
}this.__iJ=d;
this.invalidateChildrenCache();
},_getWidget:function(){return this.__iJ;
},_applyLayoutChange:function(){if(this.__iJ){this.__iJ.scheduleLayoutUpdate();
}},_getLayoutChildren:function(){return this.__iJ.getLayoutChildren();
}},destruct:function(){this.__iJ=this.__iI=null;
}});
})();
(function(){var a="qx.ui.layout.Grow";
qx.Class.define(a,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(b,c){var g=this._getLayoutChildren();
var f,h,e,d;
for(var i=0,l=g.length;i<l;i++){f=g[i];
h=f.getSizeHint();
e=b;

if(e<h.minWidth){e=h.minWidth;
}else if(e>h.maxWidth){e=h.maxWidth;
}d=c;

if(d<h.minHeight){d=h.minHeight;
}else if(d>h.maxHeight){d=h.maxHeight;
}f.renderLayout(0,0,e,d);
}},_computeSizeHint:function(){var q=this._getLayoutChildren();
var o,s;
var r=0,p=0;
var n=0,k=0;
var j=Infinity,m=Infinity;
for(var i=0,l=q.length;i<l;i++){o=q[i];
s=o.getSizeHint();
r=Math.max(r,s.width);
p=Math.max(p,s.height);
n=Math.max(n,s.minWidth);
k=Math.max(k,s.minHeight);
j=Math.min(j,s.maxWidth);
m=Math.min(m,s.maxHeight);
}return {width:r,height:p,minWidth:n,minHeight:k,maxWidth:j,maxHeight:m};
}}});
})();
(function(){var o="label",n="icon",m="Boolean",l="both",k="String",j="left",i="changeGap",h="changeShow",g="bottom",f="_applyCenter",B="changeIcon",A="qx.ui.basic.Atom",z="changeLabel",y="Integer",x="_applyIconPosition",w="top",v="right",u="_applyRich",t="_applyIcon",s="_applyShow",q="_applyLabel",r="_applyGap",p="atom";
qx.Class.define(A,{extend:qx.ui.core.Widget,construct:function(O,P){{};
arguments.callee.base.call(this);
this._setLayout(new qx.ui.layout.Atom());

if(O!=null){this.setLabel(O);
}
if(P!=null){this.setIcon(P);
}},properties:{appearance:{refine:true,init:p},label:{apply:q,nullable:true,check:k,event:z},rich:{check:m,init:false,apply:u},icon:{check:k,apply:t,nullable:true,themeable:true,event:B},gap:{check:y,nullable:false,event:i,apply:r,themeable:true,init:4},show:{init:l,check:[l,o,n],themeable:true,inheritable:true,apply:s,event:h},iconPosition:{init:j,check:[w,v,g,j],themeable:true,apply:x},center:{init:false,check:m,themeable:true,apply:f}},members:{_createChildControlImpl:function(E){var F;

switch(E){case o:F=new qx.ui.basic.Label(this.getLabel());
F.setAnonymous(true);
F.setRich(this.getRich());
this._add(F);

if(this.getLabel()==null||this.getShow()===n){F.exclude();
}break;
case n:F=new qx.ui.basic.Image(this.getIcon());
F.setAnonymous(true);
this._addAt(F,0);

if(this.getIcon()==null||this.getShow()===o){F.exclude();
}break;
}return F||arguments.callee.base.call(this,E);
},_forwardStates:{focused:true,hovered:true},_handleLabel:function(){if(this.getLabel()==null||this.getShow()===n){this._excludeChildControl(o);
}else{this._showChildControl(o);
}},_handleIcon:function(){if(this.getIcon()==null||this.getShow()===o){this._excludeChildControl(n);
}else{this._showChildControl(n);
}},_applyLabel:function(L,M){var N=this.getChildControl(o,true);

if(N){N.setValue(L);
}this._handleLabel();
},_applyRich:function(c,d){var e=this.getChildControl(o,true);

if(e){e.setRich(c);
}},_applyIcon:function(G,H){var I=this.getChildControl(n,true);

if(I){I.setSource(G);
}this._handleIcon();
},_applyGap:function(Q,R){this._getLayout().setGap(Q);
},_applyShow:function(a,b){this._handleLabel();
this._handleIcon();
},_applyIconPosition:function(C,D){this._getLayout().setIconPosition(C);
},_applyCenter:function(J,K){this._getLayout().setCenter(J);
}}});
})();
(function(){var k="bottom",j="_applyLayoutChange",h="top",g="left",f="right",e="middle",d="center",c="qx.ui.layout.Atom",b="Integer",a="Boolean";
qx.Class.define(c,{extend:qx.ui.layout.Abstract,properties:{gap:{check:b,init:4,apply:j},iconPosition:{check:[g,h,f,k],init:g,apply:j},center:{check:a,init:false,apply:j}},members:{verifyLayoutProperty:null,renderLayout:function(w,x){var G=qx.ui.layout.Util;
var z=this.getIconPosition();
var C=this._getLayoutChildren();
var length=C.length;
var Q,top,P,A;
var L,F;
var J=this.getGap();
var O=this.getCenter();
if(z===k||z===f){var H=length-1;
var D=-1;
var B=-1;
}else{var H=0;
var D=length;
var B=1;
}if(z==h||z==k){if(O){var K=0;

for(var i=H;i!=D;i+=B){A=C[i].getSizeHint().height;

if(A>0){K+=A;

if(i!=H){K+=J;
}}}top=Math.round((x-K)/2);
}else{top=0;
}
for(var i=H;i!=D;i+=B){L=C[i];
F=L.getSizeHint();
P=Math.min(F.maxWidth,Math.max(w,F.minWidth));
A=F.height;
Q=G.computeHorizontalAlignOffset(d,P,w);
L.renderLayout(Q,top,P,A);
if(A>0){top+=A+J;
}}}else{var E=w;
var y=null;
var N=0;

for(var i=H;i!=D;i+=B){L=C[i];
P=L.getSizeHint().width;

if(P>0){if(!y&&L instanceof qx.ui.basic.Label){y=L;
}else{E-=P;
}N++;
}}
if(N>1){var M=(N-1)*J;
E-=M;
}
if(y){var F=y.getSizeHint();
var I=Math.max(F.minWidth,Math.min(E,F.maxWidth));
E-=I;
}
if(O&&E>0){Q=Math.round(E/2);
}else{Q=0;
}
for(var i=H;i!=D;i+=B){L=C[i];
F=L.getSizeHint();
A=Math.min(F.maxHeight,Math.max(x,F.minHeight));

if(L===y){P=I;
}else{P=F.width;
}top=G.computeVerticalAlignOffset(e,F.height,x);
L.renderLayout(Q,top,P,A);
if(P>0){Q+=P+J;
}}}},_computeSizeHint:function(){var v=this._getLayoutChildren();
var length=v.length;
var n,t;
if(length===1){var n=v[0].getSizeHint();
t={width:n.width,height:n.height,minWidth:n.minWidth,minHeight:n.minHeight};
}else{var r=0,s=0;
var o=0,q=0;
var p=this.getIconPosition();
var u=this.getGap();

if(p===h||p===k){var l=0;

for(var i=0;i<length;i++){n=v[i].getSizeHint();
s=Math.max(s,n.width);
r=Math.max(r,n.minWidth);
if(n.height>0){q+=n.height;
o+=n.minHeight;
l++;
}}
if(l>1){var m=(l-1)*u;
q+=m;
o+=m;
}}else{var l=0;

for(var i=0;i<length;i++){n=v[i].getSizeHint();
q=Math.max(q,n.height);
o=Math.max(o,n.minHeight);
if(n.width>0){s+=n.width;
r+=n.minWidth;
l++;
}}
if(l>1){var m=(l-1)*u;
s+=m;
r+=m;
}}t={minWidth:r,width:s,minHeight:o,height:q};
}return t;
}}});
})();
(function(){var G="middle",F="qx.ui.layout.Util",E="left",D="center",C="top",B="bottom",A="right";
qx.Class.define(F,{statics:{PERCENT_VALUE:/[0-9]+(?:\.[0-9]+)?%/,computeFlexOffsets:function(o,p,q){var s,w,r,x;
var t=p>q;
var y=Math.abs(p-q);
var z,u;
var v={};

for(w in o){s=o[w];
v[w]={potential:t?s.max-s.value:s.value-s.min,flex:t?s.flex:1/s.flex,offset:0};
}while(y!=0){x=Infinity;
r=0;

for(w in v){s=v[w];

if(s.potential>0){r+=s.flex;
x=Math.min(x,s.potential/s.flex);
}}if(r==0){break;
}x=Math.min(y,x*r)/r;
z=0;

for(w in v){s=v[w];

if(s.potential>0){u=Math.min(y,s.potential,Math.ceil(x*s.flex));
z+=u-x*s.flex;

if(z>=1){z-=1;
u-=1;
}s.potential-=u;

if(t){s.offset+=u;
}else{s.offset-=u;
}y-=u;
}}}return v;
},computeHorizontalAlignOffset:function(V,W,X,Y,ba){if(Y==null){Y=0;
}
if(ba==null){ba=0;
}var bb=0;

switch(V){case E:bb=Y;
break;
case A:bb=X-W-ba;
break;
case D:bb=Math.round((X-W)/2);
if(bb<Y){bb=Y;
}else if(bb<ba){bb=Math.max(Y,X-W-ba);
}break;
}return bb;
},computeVerticalAlignOffset:function(H,I,J,K,L){if(K==null){K=0;
}
if(L==null){L=0;
}var M=0;

switch(H){case C:M=K;
break;
case B:M=J-I-L;
break;
case G:M=Math.round((J-I)/2);
if(M<K){M=K;
}else if(M<L){M=Math.max(K,J-I-L);
}break;
}return M;
},collapseMargins:function(j){var k=0,n=0;

for(var i=0,l=arguments.length;i<l;i++){var m=arguments[i];

if(m<0){n=Math.min(n,m);
}else if(m>0){k=Math.max(k,m);
}}return k+n;
},computeHorizontalGaps:function(R,S,T){if(S==null){S=0;
}var U=0;

if(T){U+=R[0].getMarginLeft();

for(var i=1,l=R.length;i<l;i+=1){U+=this.collapseMargins(S,R[i-1].getMarginRight(),R[i].getMarginLeft());
}U+=R[l-1].getMarginRight();
}else{for(var i=1,l=R.length;i<l;i+=1){U+=R[i].getMarginLeft()+R[i].getMarginRight();
}U+=(S*(l-1));
}return U;
},computeVerticalGaps:function(N,O,P){if(O==null){O=0;
}var Q=0;

if(P){Q+=N[0].getMarginTop();

for(var i=1,l=N.length;i<l;i+=1){Q+=this.collapseMargins(O,N[i-1].getMarginBottom(),N[i].getMarginTop());
}Q+=N[l-1].getMarginBottom();
}else{for(var i=1,l=N.length;i<l;i+=1){Q+=N[i].getMarginTop()+N[i].getMarginBottom();
}Q+=(O*(l-1));
}return Q;
},computeHorizontalSeparatorGaps:function(a,b,c){var f=qx.theme.manager.Decoration.getInstance().resolve(c);
var e=f.getInsets();
var d=e.left+e.right;
var g=0;

for(var i=0,l=a.length;i<l;i++){var h=a[i];
g+=h.getMarginLeft()+h.getMarginRight();
}g+=(b+d+b)*(l-1);
return g;
},computeVerticalSeparatorGaps:function(bc,bd,be){var bh=qx.theme.manager.Decoration.getInstance().resolve(be);
var bg=bh.getInsets();
var bf=bg.top+bg.bottom;
var bi=0;

for(var i=0,l=bc.length;i<l;i++){var bj=bc[i];
bi+=bj.getMarginTop()+bj.getMarginBottom();
}bi+=(bd+bf+bd)*(l-1);
return bi;
},arrangeIdeals:function(bk,bl,bm,bn,bo,bp){if(bl<bk||bo<bn){if(bl<bk&&bo<bn){bl=bk;
bo=bn;
}else if(bl<bk){bo-=(bk-bl);
bl=bk;
if(bo<bn){bo=bn;
}}else if(bo<bn){bl-=(bn-bo);
bo=bn;
if(bl<bk){bl=bk;
}}}
if(bl>bm||bo>bp){if(bl>bm&&bo>bp){bl=bm;
bo=bp;
}else if(bl>bm){bo+=(bl-bm);
bl=bm;
if(bo>bp){bo=bp;
}}else if(bo>bp){bl+=(bo-bp);
bo=bp;
if(bl>bm){bl=bm;
}}}return {begin:bl,end:bo};
}}});
})();
(function(){var c="qx.event.type.Data",b="qx.ui.form.IStringForm";
qx.Interface.define(b,{events:{"changeValue":c},members:{setValue:function(a){return arguments.length==1;
},resetValue:function(){},getValue:function(){}}});
})();
(function(){var x="qx.dynlocale",w="text",v="Boolean",u="qx.client",t="color",s="userSelect",r="changeLocale",q="enabled",p="none",o="on",S="_applyTextAlign",R="qx.ui.core.Widget",Q="gecko",P="changeTextAlign",O="_applyWrap",N="changeValue",M="changeContent",L="qx.ui.basic.Label",K="A",J="_applyValue",E="center",F="_applyBuddy",C="String",D="textAlign",A="right",B="changeRich",y="_applyRich",z="click",G="label",H="webkit",I="left";
qx.Class.define(L,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm],construct:function(ba){arguments.callee.base.call(this);

if(ba!=null){this.setValue(ba);
}
if(qx.core.Variant.isSet(x,o)){qx.locale.Manager.getInstance().addListener(r,this._onChangeLocale,this);
}},properties:{rich:{check:v,init:false,event:B,apply:y},wrap:{check:v,init:true,apply:O},value:{check:C,apply:J,event:N,nullable:true},buddy:{check:R,apply:F,nullable:true,init:null},textAlign:{check:[I,E,A],nullable:true,themeable:true,apply:S,event:P},appearance:{refine:true,init:G},selectable:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{__iK:null,__iL:null,__iM:null,__iN:null,_getContentHint:function(){if(this.__iL){this.__iO=this.__iP();
delete this.__iL;
}return {width:this.__iO.width,height:this.__iO.height};
},_hasHeightForWidth:function(){return this.getRich()&&this.getWrap();
},_applySelectable:function(bb){if(qx.core.Variant.isSet(u,Q)){if(bb&&!this.isRich()){{};
return;
}}arguments.callee.base.call(this,bb);
if(qx.core.Variant.isSet(u,H)){this.getContainerElement().setStyle(s,bb?w:p);
this.getContentElement().setStyle(s,bb?w:p);
}},_getContentHeightForWidth:function(a){if(!this.getRich()&&!this.getWrap()){return null;
}return this.__iP(a).height;
},_createContentElement:function(){return new qx.html.Label;
},_applyTextAlign:function(V,W){this.getContentElement().setStyle(D,V);
},_applyTextColor:function(bc,bd){if(bc){this.getContentElement().setStyle(t,qx.theme.manager.Color.getInstance().resolve(bc));
}else{this.getContentElement().removeStyle(t);
}},__iO:{width:0,height:0},_applyFont:function(l,m){var n;

if(l){this.__iK=qx.theme.manager.Font.getInstance().resolve(l);
n=this.__iK.getStyles();
}else{this.__iK=null;
n=qx.bom.Font.getDefaultStyles();
}this.getContentElement().setStyles(n);
this.__iL=true;
qx.ui.core.queue.Layout.add(this);
},__iP:function(c){var h=qx.bom.Label;
var f=this.getFont();
var d=f?this.__iK.getStyles():qx.bom.Font.getDefaultStyles();
var content=this.getValue()||K;
var g=this.getRich();
return g?h.getHtmlSize(content,d,c):h.getTextSize(content,d);
},_applyBuddy:function(j,k){if(k!=null){k.removeBinding(this.__iM);
this.__iM=null;
this.removeListenerById(this.__iN);
this.__iN=null;
}
if(j!=null){this.__iM=j.bind(q,this,q);
this.__iN=this.addListener(z,j.focus,j);
}},_applyRich:function(i){this.getContentElement().setRich(i);
this.__iL=true;
qx.ui.core.queue.Layout.add(this);
},_applyWrap:function(T,U){if(T&&!this.isRich()){{};
}},_onChangeLocale:qx.core.Variant.select(x,{"on":function(e){var content=this.getValue();

if(content&&content.translate){this.setValue(content.translate());
}},"off":null}),_applyValue:function(X,Y){this.getContentElement().setValue(X);
this.__iL=true;
qx.ui.core.queue.Layout.add(this);
this.fireDataEvent(M,X,Y);
}},destruct:function(){if(qx.core.Variant.isSet(x,o)){qx.locale.Manager.getInstance().removeListener(r,this._onChangeLocale,this);
}if(this.__iM!=null){var b=this.getBuddy();

if(b!=null&&!b.isDisposed()){b.removeBinding(this.__iM);
}}this.__iK=this.__iM=null;
}});
})();
(function(){var g="value",f="Please use the getValue() method instead.",e="qx.html.Label",d="Please use the setValue() method instead.";
qx.Class.define(e,{extend:qx.html.Element,members:{__iQ:null,_applyProperty:function(name,i){arguments.callee.base.call(this,name,i);

if(name==g){var j=this.getDomElement();
qx.bom.Label.setValue(j,i);
}},_createDomElement:function(){var c=this.__iQ;
var b=qx.bom.Label.create(this._content,c);
return b;
},_copyData:function(h){return arguments.callee.base.call(this,true);
},setRich:function(l){var m=this.getDomElement();

if(m){throw new Error("The label mode cannot be modified after initial creation");
}l=!!l;

if(this.__iQ==l){return;
}this.__iQ=l;
return this;
},setValue:function(a){this._setProperty(g,a);
return this;
},getValue:function(){return this._getProperty(g);
},setContent:function(k){qx.log.Logger.deprecatedMethodWarning(arguments.callee,d);
return this.setValue(k);
},getContent:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,f);
return this.getValue();
}}});
})();
(function(){var s="qx.client",r="gecko",q="div",p="inherit",o="text",n="value",m="",l="hidden",k="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",j="nowrap",J="auto",I="ellipsis",H="normal",G="label",F="px",E="crop",D="end",C="100%",B="visible",A="qx.bom.Label",y="Please use the setValue() method instead.",z="opera",w="Please use the getValue() method instead.",x="block",u="none",v="-1000px",t="absolute";
qx.Class.define(A,{statics:{__iR:{fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1},__iS:function(){var bg=this.__iU(false);
document.body.insertBefore(bg,document.body.firstChild);
return this._textElement=bg;
},__iT:function(){var P=this.__iU(true);
document.body.insertBefore(P,document.body.firstChild);
return this._htmlElement=P;
},__iU:function(S){var T=qx.bom.Element.create(q);
var U=T.style;
U.width=U.height=J;
U.left=U.top=v;
U.visibility=l;
U.position=t;
U.overflow=B;

if(S){U.whiteSpace=H;
}else{U.whiteSpace=j;

if(qx.core.Variant.isSet(s,r)){var V=document.createElementNS(k,G);
for(var W in this.__iR){V.style[W]=p;
}T.appendChild(V);
}}return T;
},__iV:function(K){var L={};

if(K){L.whiteSpace=H;
}else if(qx.core.Variant.isSet(s,r)){L.display=x;
}else{L.overflow=l;
L.whiteSpace=j;
L.textOverflow=I;
L.userSelect=u;
if(qx.core.Variant.isSet(s,z)){L.OTextOverflow=I;
}}return L;
},create:function(content,b,c){if(!c){c=window;
}
if(b){var d=c.document.createElement(q);
d.useHtml=true;
}else if(qx.core.Variant.isSet(s,r)){var d=c.document.createElement(q);
var e=c.document.createElementNS(k,G);
e.style.cursor=p;
e.style.color=p;
e.style.overflow=l;
e.style.maxWidth=C;
for(var f in this.__iR){e.style[f]=p;
}e.setAttribute(E,D);
d.appendChild(e);
}else{var d=c.document.createElement(q);
qx.bom.element.Style.setStyles(d,this.__iV(b));
}
if(content){this.setValue(d,content);
}return d;
},setValue:function(bd,be){be=be||m;

if(bd.useHtml){bd.innerHTML=be;
}else if(qx.core.Variant.isSet(s,r)){bd.firstChild.setAttribute(n,be);
}else{qx.bom.element.Attribute.set(bd,o,be);
}},getValue:function(a){if(a.useHtml){return a.innerHTML;
}else if(qx.core.Variant.isSet(s,r)){return a.firstChild.getAttribute(n)||m;
}else{return qx.bom.element.Attribute.get(a,o);
}},getHtmlSize:function(content,g,h){var i=this._htmlElement||this.__iT();
i.style.width=h!==undefined?h+F:J;
i.innerHTML=content;
return this.__iW(i,g);
},getTextSize:function(M,N){var O=this._textElement||this.__iS();

if(qx.core.Variant.isSet(s,r)){O.firstChild.setAttribute(n,M);
}else{qx.bom.element.Attribute.set(O,o,M);
}return this.__iW(O,N);
},__iW:function(X,Y){var ba=this.__iR;

if(!Y){Y={};
}
for(var bb in ba){X.style[bb]=Y[bb]||m;
}var bc=qx.bom.element.Dimension.getSize(X);

if(qx.core.Variant.isSet(s,r)){if(!qx.bom.client.Platform.WIN){bc.width++;
}}return bc;
},setContent:function(Q,R){qx.log.Logger.deprecatedMethodWarning(arguments.callee,y);
this.setValue(Q,R);
},getContent:function(bf){qx.log.Logger.deprecatedMethodWarning(arguments.callee,w);
return this.getValue(bf);
}}});
})();
(function(){var y="mshtml",x="qx.client",w="qx.bom.element.Dimension",v="paddingRight",u="paddingLeft",t="paddingTop",s="paddingBottom";
qx.Class.define(w,{statics:{getWidth:qx.core.Variant.select(x,{"gecko":function(B){if(B.getBoundingClientRect){var C=B.getBoundingClientRect();
return Math.round(C.right)-Math.round(C.left);
}else{return B.offsetWidth;
}},"default":function(A){return A.offsetWidth;
}}),getHeight:qx.core.Variant.select(x,{"gecko":function(q){if(q.getBoundingClientRect){var r=q.getBoundingClientRect();
return Math.round(r.bottom)-Math.round(r.top);
}else{return q.offsetHeight;
}},"default":function(z){return z.offsetHeight;
}}),getSize:function(a){return {width:this.getWidth(a),height:this.getHeight(a)};
},__iX:{visible:true,hidden:true},getContentWidth:function(c){var e=qx.bom.element.Style;
var f=qx.bom.element.Overflow.getX(c);
var g=parseInt(e.get(c,u),10);
var i=parseInt(e.get(c,v),10);

if(this.__iX[f]){return c.clientWidth-g-i;
}else{if(c.clientWidth>=c.scrollWidth){return Math.max(c.clientWidth,c.scrollWidth)-g-i;
}else{var h=c.scrollWidth-g;
var d=qx.bom.client.Engine;

if(d.NAME===y&&d.VERSION==6){h-=i;
}return h;
}}},getContentHeight:function(j){var l=qx.bom.element.Style;
var n=qx.bom.element.Overflow.getY(j);
var o=parseInt(l.get(j,t),10);
var m=parseInt(l.get(j,s),10);

if(this.__iX[n]){return j.clientHeight-o-m;
}else{if(j.clientHeight>=j.scrollHeight){return Math.max(j.clientHeight,j.scrollHeight)-o-m;
}else{var p=j.scrollHeight-o;
var k=qx.bom.client.Engine;

if(k.NAME===y&&k.VERSION==6){p-=m;
}return p;
}}},getContentSize:function(b){return {width:this.getContentWidth(b),height:this.getContentHeight(b)};
}}});
})();
(function(){var e="qx.event.type.Data",d="qx.ui.form.IForm";
qx.Interface.define(d,{events:{"changeEnabled":e,"changeValid":e,"changeInvalidMessage":e,"changeRequired":e},members:{setEnabled:function(b){return arguments.length==1;
},getEnabled:function(){},setRequired:function(a){return arguments.length==1;
},getRequired:function(){},setValid:function(f){return arguments.length==1;
},getValid:function(){},setInvalidMessage:function(c){return arguments.length==1;
},getInvalidMessage:function(){}}});
})();
(function(){var j="Use 'getBlocker().getContentBlockerElement()' instead.",i="Use 'getBlocker().getBlockerElement()' instead.",h="_applyBlockerColor",g="Number",f="__iY",e="qx.ui.core.MBlocker",d="_applyBlockerOpacity",c="Color";
qx.Mixin.define(e,{construct:function(){this.__iY=new qx.ui.core.Blocker(this);
},properties:{blockerColor:{check:c,init:null,nullable:true,apply:h,themeable:true},blockerOpacity:{check:g,init:1,apply:d,themeable:true}},members:{__iY:null,_applyBlockerColor:function(a,b){this.__iY.setColor(a);
},_applyBlockerOpacity:function(k,l){this.__iY.setOpacity(k);
},block:function(){this.__iY.block();
},isBlocked:function(){return this.__iY.isBlocked();
},unblock:function(){this.__iY.unblock();
},forceUnblock:function(){this.__iY.forceUnblock();
},blockContent:function(m){this.__iY.blockContent(m);
},isContentBlocked:function(){return this.__iY.isContentBlocked();
},unblockContent:function(){this.__iY.unblockContent();
},forceUnblockContent:function(){this.__iY.forceUnblockContent();
},_getContentBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,j);
return this.__iY.getContentBlockerElement();
},_getBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,i);
return this.__iY.getBlockerElement();
},getBlocker:function(){return this.__iY;
}},destruct:function(){this._disposeObjects(f);
}});
})();
(function(){var m="qx.ui.window.Window",l="changeModal",k="changeVisibility",j="changeActive",i="_applyActiveWindow",h="__ja",g="qx.ui.window.MDesktop",f="__jb";
qx.Mixin.define(g,{properties:{activeWindow:{check:m,apply:i,init:null,nullable:true}},members:{__ja:null,__jb:null,getWindowManager:function(){if(!this.__jb){this.setWindowManager(new qx.ui.window.Window.DEFAULT_MANAGER_CLASS());
}return this.__jb;
},supportsMaximize:function(){return true;
},setWindowManager:function(o){if(this.__jb){this.__jb.setDesktop(null);
}o.setDesktop(this);
this.__jb=o;
},_onChangeActive:function(e){if(e.getData()){this.setActiveWindow(e.getTarget());
}else if(this.getActiveWindow()==e.getTarget()){this.setActiveWindow(null);
}},_applyActiveWindow:function(a,b){this.getWindowManager().changeActiveWindow(a,b);

if(a){a.setActive(true);
}
if(b){b.resetActive();
}},_onChangeModal:function(e){this.getWindowManager().updateStack();
},_onChangeVisibility:function(){this.getWindowManager().updateStack();
},_afterAddChild:function(p){if(qx.Class.isDefined(m)&&p instanceof qx.ui.window.Window){this._addWindow(p);
}},_addWindow:function(d){if(!qx.lang.Array.contains(this.getWindows(),d)){this.getWindows().push(d);
d.addListener(j,this._onChangeActive,this);
d.addListener(l,this._onChangeModal,this);
d.addListener(k,this._onChangeVisibility,this);
}
if(d.getActive()){this.setActiveWindow(d);
}this.getWindowManager().updateStack();
},_afterRemoveChild:function(n){if(qx.Class.isDefined(m)&&n instanceof qx.ui.window.Window){this._removeWindow(n);
}},_removeWindow:function(c){qx.lang.Array.remove(this.getWindows(),c);
c.removeListener(j,this._onChangeActive,this);
c.removeListener(l,this._onChangeModal,this);
c.removeListener(k,this._onChangeVisibility,this);
this.getWindowManager().updateStack();
},getWindows:function(){if(!this.__ja){this.__ja=[];
}return this.__ja;
}},destruct:function(){this._disposeArray(h);
this._disposeObjects(f);
}});
})();
(function(){var v="contextmenu",u="help",t="qx.client",s="changeGlobalCursor",r="abstract",q="Boolean",p="root",o="",n=" !important",m="_applyGlobalCursor",j="_applyNativeHelp",l=";",k="qx.ui.root.Abstract",i="String",h="*";
qx.Class.define(k,{type:r,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:p},enabled:{refine:true,init:true},focusable:{refine:true,init:true},globalCursor:{check:i,nullable:true,themeable:true,apply:m,event:s},nativeContextMenu:{refine:true,init:false},nativeHelp:{check:q,init:false,apply:j}},members:{__jc:null,isRootWidget:function(){return true;
},getLayout:function(){return this._getLayout();
},_applyGlobalCursor:qx.core.Variant.select(t,{"mshtml":function(c,d){},"default":function(y,z){var A=qx.bom.Stylesheet;
var B=this.__jc;

if(!B){this.__jc=B=A.createElement();
}A.removeAllRules(B);

if(y){A.addRule(B,h,qx.bom.element.Cursor.compile(y).replace(l,o)+n);
}}}),_applyNativeContextMenu:function(f,g){if(f){this.removeListener(v,this._onNativeContextMenu,this,true);
}else{this.addListener(v,this._onNativeContextMenu,this,true);
}},_onNativeContextMenu:function(e){if(e.getTarget().getNativeContextMenu()){return;
}e.preventDefault();
},_applyNativeHelp:qx.core.Variant.select(t,{"mshtml":function(w,x){if(x===false){qx.bom.Event.removeNativeListener(document,u,qx.lang.Function.returnFalse);
}
if(w===false){qx.bom.Event.addNativeListener(document,u,qx.lang.Function.returnFalse);
}},"default":function(){}})},destruct:function(){this.__jc=null;
},defer:function(a,b){qx.ui.core.MChildrenHandling.remap(b);
}});
})();
(function(){var p="resize",o="position",n="0px",m="webkit",l="paddingLeft",k="$$widget",j="qx.ui.root.Application",i="hidden",h="qx.client",g="div",c="paddingTop",f="100%",d="absolute";
qx.Class.define(j,{extend:qx.ui.root.Abstract,construct:function(x){this.__jd=qx.dom.Node.getWindow(x);
this.__je=x;
arguments.callee.base.call(this);
qx.event.Registration.addListener(this.__jd,p,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:{__jd:null,__je:null,_createContainerElement:function(){var s=this.__je;

if(qx.core.Variant.isSet(h,m)){if(!s.body){alert("The application could not be started due to a missing body tag in the HTML file!");
}}var w=s.documentElement.style;
var t=s.body.style;
w.overflow=t.overflow=i;
w.padding=w.margin=t.padding=t.margin=n;
w.width=w.height=t.width=t.height=f;
var v=s.createElement(g);
s.body.appendChild(v);
var u=new qx.html.Root(v);
u.setStyle(o,d);
u.setAttribute(k,this.toHashCode());
return u;
},_onResize:function(e){qx.ui.core.queue.Layout.add(this);
},_computeSizeHint:function(){var q=qx.bom.Viewport.getWidth(this.__jd);
var r=qx.bom.Viewport.getHeight(this.__jd);
return {minWidth:q,width:q,maxWidth:q,minHeight:r,height:r,maxHeight:r};
},_applyPadding:function(a,b,name){if(a&&(name==c||name==l)){throw new Error("The root widget does not support 'left', or 'top' paddings!");
}arguments.callee.base.call(this,a,b,name);
},_applyDecorator:function(y,z){arguments.callee.base.call(this,y,z);

if(!y){return;
}var A=this.getDecoratorElement().getInsets();

if(A.left||A.top){throw new Error("The root widget does not support decorators with 'left', or 'top' insets!");
}}},destruct:function(){this.__jd=this.__je=null;
}});
})();
(function(){var o="zIndex",n="px",m="keydown",l="deactivate",k="This method is not needed anymore.",j="resize",h="keyup",g="keypress",f="__jn",d="backgroundColor",B="_applyOpacity",A="Use 'getBlockerElement' instead.",z="opacity",y="interval",x="Tab",w="Color",v="qx.ui.root.Page",u="__ji",t="Use 'getContentBlockerElement' instead.",s="Number",q="qx.ui.core.Blocker",r="_applyColor",p="__jk";
qx.Class.define(q,{extend:qx.core.Object,construct:function(U){arguments.callee.base.call(this);
this._widget=U;
this._isPageRoot=(qx.Class.isDefined(v)&&U instanceof qx.ui.root.Page);

if(this._isPageRoot){U.addListener(j,this.__jo,this);
}this.__jf=[];
this.__jg=[];
this.__jh=[];
},properties:{color:{check:w,init:null,nullable:true,apply:r,themeable:true},opacity:{check:s,init:1,apply:B,themeable:true}},members:{__ji:null,__jj:0,__jk:null,__jh:null,__jf:null,__jg:null,__jl:null,__jm:0,__jn:null,_isPageRoot:false,_widget:null,__jo:function(e){var M=e.getData();

if(this.isContentBlocked()){this.getContentBlockerElement().setStyles({width:M.width,height:M.height});
}
if(this.isBlocked()){this.getBlockerElement().setStyles({width:M.width,height:M.height});
}},_applyColor:function(J,K){var L=qx.theme.manager.Color.getInstance().resolve(J);
this.__jp(d,L);
},_applyOpacity:function(H,I){this.__jp(z,H);
},__jp:function(N,O){var P=[];
this.__ji&&P.push(this.__ji);
this.__jk&&P.push(this.__jk);

for(var i=0;i<P.length;i++){P[i].setStyle(N,O);
}},_saveAndSetAnonymousState:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,k);
this.__jm+=1;

if(this.__jm==1){this.__jl=this._widget.getAnonymous();
this._widget.setAnonymous(true);
}},_restoreAnonymousState:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,k);
this.__jm-=1;

if(this.__jm==0){this._widget.setAnonymous(this.__jl);
}},_backupActiveWidget:function(){var T=qx.event.Registration.getManager(window).getHandler(qx.event.handler.Focus);
this.__jf.push(T.getActive());
this.__jg.push(T.getFocus());

if(this._widget.isFocusable()){this._widget.focus();
}},_restoreActiveWidget:function(){var S=this.__jf.length;

if(S>0){var R=this.__jf[S-1];

if(R){qx.bom.Element.activate(R);
}this.__jf.pop();
}var Q=this.__jg.length;

if(Q>0){var R=this.__jg[Q-1];

if(R){qx.bom.Element.focus(this.__jg[Q-1]);
}this.__jg.pop();
}},__jq:function(){return new qx.html.Blocker(this.getColor(),this.getOpacity());
},_getBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,A);
return this.getBlockerElement();
},getBlockerElement:function(){if(!this.__ji){this.__ji=this.__jq();
this.__ji.setStyle(o,15);
this._widget.getContainerElement().add(this.__ji);
this.__ji.exclude();
}return this.__ji;
},block:function(){this.__jj++;

if(this.__jj<2){this._backupActiveWidget();
var V=this.getBlockerElement();
V.include();
V.activate();
V.addListener(l,this.__jv,this);
V.addListener(g,this.__ju,this);
V.addListener(m,this.__ju,this);
V.addListener(h,this.__ju,this);
}},isBlocked:function(){return this.__jj>0;
},unblock:function(){if(!this.isBlocked()){return;
}this.__jj--;

if(this.__jj<1){this.__jr();
}},forceUnblock:function(){if(!this.isBlocked()){return;
}this.__jj=0;
this.__jr();
},__jr:function(){this._restoreActiveWidget();
var E=this.getBlockerElement();
E.removeListener(l,this.__jv,this);
E.removeListener(g,this.__ju,this);
E.removeListener(m,this.__ju,this);
E.removeListener(h,this.__ju,this);
E.exclude();
},_getContentBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,t);
return this.getContentBlockerElement();
},getContentBlockerElement:function(){if(!this.__jk){this.__jk=this.__jq();
this._widget.getContentElement().add(this.__jk);
this.__jk.exclude();
}return this.__jk;
},blockContent:function(C){var D=this.getContentBlockerElement();
D.setStyle(o,C);
this.__jh.push(C);

if(this.__jh.length<2){D.include();

if(this._isPageRoot){if(!this.__jn){this.__jn=new qx.event.Timer(300);
this.__jn.addListener(y,this.__jt,this);
}this.__jn.start();
this.__jt();
}}},isContentBlocked:function(){return this.__jh.length>0;
},unblockContent:function(){if(!this.isContentBlocked()){return;
}this.__jh.pop();
var a=this.__jh[this.__jh.length-1];
var b=this.getContentBlockerElement();
b.setStyle(o,a);

if(this.__jh.length<1){this.__js();
}},forceUnblockContent:function(){if(!this.isContentBlocked()){return;
}this.__jh=[];
var c=this.getContentBlockerElement();
c.setStyle(o,null);
this.__js();
},__js:function(){this.getContentBlockerElement().exclude();

if(this._isPageRoot){this.__jn.stop();
}},__jt:function(){var F=this._widget.getContainerElement().getDomElement();
var G=qx.dom.Node.getDocument(F);
this.getContentBlockerElement().setStyles({height:G.documentElement.scrollHeight+n,width:G.documentElement.scrollWidth+n});
},__ju:function(e){if(e.getKeyIdentifier()==x){e.stop();
}},__jv:function(){this.getBlockerElement().activate();
}},destruct:function(){if(this._isPageRoot){this._widget.removeListener(j,this.__jo,this);
}this._disposeObjects(p,u,f);
this.__jl=this.__jf=this.__jg=this._widget=this.__jh=null;
}});
})();
(function(){var v="cursor",u="100%",t="dblclick",s="mshtml",r="mouseup",q="mousedown",p="disappear",o="appear",n="contextmenu",m="mousewheel",f=")",l="mouseover",i="mouseout",c="qx.html.Blocker",b="click",h="repeat",g="mousemove",j="url(",a="qx.client",k="qx/static/blank.gif",d="absolute";
qx.Class.define(c,{extend:qx.html.Element,construct:function(x,y){arguments.callee.base.call(this);
var x=x?qx.theme.manager.Color.getInstance().resolve(x):null;
this.setStyles({position:d,width:u,height:u,opacity:y||0,backgroundColor:x});
this.addListener(q,this._stopPropagation,this);
this.addListener(r,this._stopPropagation,this);
this.addListener(b,this._stopPropagation,this);
this.addListener(t,this._stopPropagation,this);
this.addListener(g,this._stopPropagation,this);
this.addListener(l,this._stopPropagation,this);
this.addListener(i,this._stopPropagation,this);
this.addListener(m,this._stopPropagation,this);
this.addListener(n,this._stopPropagation,this);
if(qx.core.Variant.isSet(a,s)){this.setStyles({backgroundImage:j+qx.util.ResourceManager.getInstance().toUri(k)+f,backgroundRepeat:h});
}this.addListener(o,this.__jw,this);
this.addListener(p,this.__jw,this);
},members:{_stopPropagation:function(e){e.stopPropagation();
},__jw:function(){var w=this.getStyle(v);
this.setStyle(v,null,true);
this.setStyle(v,w,true);
}}});
})();
(function(){var u="keypress",t="focusout",s="__jx",r="activate",q="Tab",p="singleton",o="deactivate",n="focusin",m="qx.ui.core.FocusHandler";
qx.Class.define(m,{extend:qx.core.Object,type:p,construct:function(){arguments.callee.base.call(this);
this.__jx={};
},members:{__jx:null,__jy:null,__jz:null,__jA:null,connectTo:function(j){j.addListener(u,this.__jB,this);
j.addListener(n,this._onFocusIn,this,true);
j.addListener(t,this._onFocusOut,this,true);
j.addListener(r,this._onActivate,this,true);
j.addListener(o,this._onDeactivate,this,true);
},addRoot:function(U){this.__jx[U.$$hash]=U;
},removeRoot:function(ba){delete this.__jx[ba.$$hash];
},getActiveWidget:function(){return this.__jy;
},isActive:function(N){return this.__jy==N;
},getFocusedWidget:function(){return this.__jz;
},isFocused:function(bi){return this.__jz==bi;
},isFocusRoot:function(T){return !!this.__jx[T.$$hash];
},_onActivate:function(e){var b=e.getTarget();
this.__jy=b;
var a=this.__jC(b);

if(a!=this.__jA){this.__jA=a;
}},_onDeactivate:function(e){var k=e.getTarget();

if(this.__jy==k){this.__jy=null;
}},_onFocusIn:function(e){var h=e.getTarget();

if(h!=this.__jz){this.__jz=h;
h.visualizeFocus();
}},_onFocusOut:function(e){var S=e.getTarget();

if(S==this.__jz){this.__jz=null;
S.visualizeBlur();
}},__jB:function(e){if(e.getKeyIdentifier()!=q){return;
}
if(!this.__jA){return;
}e.stopPropagation();
e.preventDefault();
var V=this.__jz;

if(!e.isShiftPressed()){var W=V?this.__jG(V):this.__jE();
}else{var W=V?this.__jH(V):this.__jF();
}if(W){W.tabFocus();
}},__jC:function(X){var Y=this.__jx;

while(X){if(Y[X.$$hash]){return X;
}X=X.getLayoutParent();
}return null;
},__jD:function(v,w){if(v===w){return 0;
}var y=v.getTabIndex()||0;
var x=w.getTabIndex()||0;

if(y!=x){return y-x;
}var D=v.getContainerElement().getDomElement();
var C=w.getContainerElement().getDomElement();
var B=qx.bom.element.Location;
var A=B.get(D);
var z=B.get(C);
if(A.top!=z.top){return A.top-z.top;
}if(A.left!=z.left){return A.left-z.left;
}var E=v.getZIndex();
var F=w.getZIndex();

if(E!=F){return E-F;
}return 0;
},__jE:function(){return this.__jK(this.__jA,null);
},__jF:function(){return this.__jL(this.__jA,null);
},__jG:function(J){var K=this.__jA;

if(K==J){return this.__jE();
}
while(J&&J.getAnonymous()){J=J.getLayoutParent();
}
if(J==null){return [];
}var L=[];
this.__jI(K,J,L);
L.sort(this.__jD);
var M=L.length;
return M>0?L[0]:this.__jE();
},__jH:function(O){var P=this.__jA;

if(P==O){return this.__jF();
}
while(O&&O.getAnonymous()){O=O.getLayoutParent();
}
if(O==null){return [];
}var Q=[];
this.__jJ(P,O,Q);
Q.sort(this.__jD);
var R=Q.length;
return R>0?Q[R-1]:this.__jF();
},__jI:function(parent,c,d){var f=parent.getLayoutChildren();
var g;

for(var i=0,l=f.length;i<l;i++){g=f[i];
if(!(g instanceof qx.ui.core.Widget)){continue;
}
if(!this.isFocusRoot(g)&&g.isEnabled()&&g.isVisible()){if(g.isTabable()&&this.__jD(c,g)<0){d.push(g);
}this.__jI(g,c,d);
}}},__jJ:function(parent,be,bf){var bg=parent.getLayoutChildren();
var bh;

for(var i=0,l=bg.length;i<l;i++){bh=bg[i];
if(!(bh instanceof qx.ui.core.Widget)){continue;
}
if(!this.isFocusRoot(bh)&&bh.isEnabled()&&bh.isVisible()){if(bh.isTabable()&&this.__jD(be,bh)>0){bf.push(bh);
}this.__jJ(bh,be,bf);
}}},__jK:function(parent,bb){var bc=parent.getLayoutChildren();
var bd;

for(var i=0,l=bc.length;i<l;i++){bd=bc[i];
if(!(bd instanceof qx.ui.core.Widget)){continue;
}if(!this.isFocusRoot(bd)&&bd.isEnabled()&&bd.isVisible()){if(bd.isTabable()){if(bb==null||this.__jD(bd,bb)<0){bb=bd;
}}bb=this.__jK(bd,bb);
}}return bb;
},__jL:function(parent,G){var H=parent.getLayoutChildren();
var I;

for(var i=0,l=H.length;i<l;i++){I=H[i];
if(!(I instanceof qx.ui.core.Widget)){continue;
}if(!this.isFocusRoot(I)&&I.isEnabled()&&I.isVisible()){if(I.isTabable()){if(G==null||this.__jD(I,G)>0){G=I;
}}G=this.__jL(I,G);
}}return G;
}},destruct:function(){this._disposeMap(s);
this.__jz=this.__jy=this.__jA=null;
}});
})();
(function(){var y="qx.client",x="head",w="text/css",v="stylesheet",u="}",t='@import "',s="{",r='";',q="qx.bom.Stylesheet",p="link",o="style";
qx.Class.define(q,{statics:{includeFile:function(Y,ba){if(!ba){ba=document;
}var bb=ba.createElement(p);
bb.type=w;
bb.rel=v;
bb.href=qx.util.ResourceManager.getInstance().toUri(Y);
var bc=ba.getElementsByTagName(x)[0];
bc.appendChild(bb);
},createElement:qx.core.Variant.select(y,{"mshtml":function(C){var D=document.createStyleSheet();

if(C){D.cssText=C;
}return D;
},"default":function(m){var n=document.createElement(o);
n.type=w;

if(m){n.appendChild(document.createTextNode(m));
}document.getElementsByTagName(x)[0].appendChild(n);
return n.sheet;
}}),addRule:qx.core.Variant.select(y,{"mshtml":function(d,e,f){d.addRule(e,f);
},"default":function(E,F,G){E.insertRule(F+s+G+u,E.cssRules.length);
}}),removeRule:qx.core.Variant.select(y,{"mshtml":function(Q,R){var S=Q.rules;
var T=S.length;

for(var i=T-1;i>=0;--i){if(S[i].selectorText==R){Q.removeRule(i);
}}},"default":function(U,V){var W=U.cssRules;
var X=W.length;

for(var i=X-1;i>=0;--i){if(W[i].selectorText==V){U.deleteRule(i);
}}}}),removeAllRules:qx.core.Variant.select(y,{"mshtml":function(a){var b=a.rules;
var c=b.length;

for(var i=c-1;i>=0;i--){a.removeRule(i);
}},"default":function(L){var M=L.cssRules;
var N=M.length;

for(var i=N-1;i>=0;i--){L.deleteRule(i);
}}}),addImport:qx.core.Variant.select(y,{"mshtml":function(k,l){k.addImport(l);
},"default":function(O,P){O.insertRule(t+P+r,O.cssRules.length);
}}),removeImport:qx.core.Variant.select(y,{"mshtml":function(bd,be){var bf=bd.imports;
var bg=bf.length;

for(var i=bg-1;i>=0;i--){if(bf[i].href==be){bd.removeImport(i);
}}},"default":function(H,I){var J=H.cssRules;
var K=J.length;

for(var i=K-1;i>=0;i--){if(J[i].href==I){H.deleteRule(i);
}}}}),removeAllImports:qx.core.Variant.select(y,{"mshtml":function(z){var A=z.imports;
var B=A.length;

for(var i=B-1;i>=0;i--){z.removeImport(i);
}},"default":function(g){var h=g.cssRules;
var j=h.length;

for(var i=j-1;i>=0;i--){if(h[i].type==h[i].IMPORT_RULE){g.deleteRule(i);
}}}})}});
})();
(function(){var b="number",a="qx.ui.layout.Canvas";
qx.Class.define(a,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(v,w){var H=this._getLayoutChildren();
var z,G,E;
var J,top,x,y,B,A;
var F,D,I,C;

for(var i=0,l=H.length;i<l;i++){z=H[i];
G=z.getSizeHint();
E=z.getLayoutProperties();
F=z.getMarginTop();
D=z.getMarginRight();
I=z.getMarginBottom();
C=z.getMarginLeft();
J=E.left!=null?E.left:E.edge;

if(qx.lang.Type.isString(J)){J=Math.round(parseFloat(J)*v/100);
}x=E.right!=null?E.right:E.edge;

if(qx.lang.Type.isString(x)){x=Math.round(parseFloat(x)*v/100);
}top=E.top!=null?E.top:E.edge;

if(qx.lang.Type.isString(top)){top=Math.round(parseFloat(top)*w/100);
}y=E.bottom!=null?E.bottom:E.edge;

if(qx.lang.Type.isString(y)){y=Math.round(parseFloat(y)*w/100);
}if(J!=null&&x!=null){B=v-J-x-C-D;
if(B<G.minWidth){B=G.minWidth;
}else if(B>G.maxWidth){B=G.maxWidth;
}J+=C;
}else{B=E.width;

if(B==null){B=G.width;
}else{B=Math.round(parseFloat(B)*v/100);
if(B<G.minWidth){B=G.minWidth;
}else if(B>G.maxWidth){B=G.maxWidth;
}}
if(x!=null){J=v-B-x-D-C;
}else if(J==null){J=C;
}else{J+=C;
}}if(top!=null&&y!=null){A=w-top-y-F-I;
if(A<G.minHeight){A=G.minHeight;
}else if(A>G.maxHeight){A=G.maxHeight;
}top+=F;
}else{A=E.height;

if(A==null){A=G.height;
}else{A=Math.round(parseFloat(A)*w/100);
if(A<G.minHeight){A=G.minHeight;
}else if(A>G.maxHeight){A=G.maxHeight;
}}
if(y!=null){top=w-A-y-I-F;
}else if(top==null){top=F;
}else{top+=F;
}}z.renderLayout(J,top,B,A);
}},_computeSizeHint:function(){var t=0,s=0;
var q=0,o=0;
var m,k;
var j,g;
var c=this._getLayoutChildren();
var f,r,e;
var u,top,d,h;

for(var i=0,l=c.length;i<l;i++){f=c[i];
r=f.getLayoutProperties();
e=f.getSizeHint();
var p=f.getMarginLeft()+f.getMarginRight();
var n=f.getMarginTop()+f.getMarginBottom();
m=e.width+p;
k=e.minWidth+p;
u=r.left!=null?r.left:r.edge;

if(u&&typeof u===b){m+=u;
k+=u;
}d=r.right!=null?r.right:r.edge;

if(d&&typeof d===b){m+=d;
k+=d;
}t=Math.max(t,m);
s=Math.max(s,k);
j=e.height+n;
g=e.minHeight+n;
top=r.top!=null?r.top:r.edge;

if(top&&typeof top===b){j+=top;
g+=top;
}h=r.bottom!=null?r.bottom:r.edge;

if(h&&typeof h===b){j+=h;
g+=h;
}q=Math.max(q,j);
o=Math.max(o,g);
}return {width:t,minWidth:s,height:q,minHeight:o};
}}});
})();
(function(){var a="qx.html.Root";
qx.Class.define(a,{extend:qx.html.Element,construct:function(b){arguments.callee.base.call(this);

if(b!=null){this.useElement(b);
}},members:{useElement:function(c){arguments.callee.base.call(this,c);
this.setRoot(true);
qx.html.Element._modified[this.$$hash]=this;
}}});
})();
(function(){var g="qx.ui.core.MRemoteChildrenHandling";
qx.Mixin.define(g,{members:{getChildren:function(){return this.getChildrenContainer().getChildren();
},hasChildren:function(){return this.getChildrenContainer().hasChildren();
},add:function(e,f){return this.getChildrenContainer().add(e,f);
},remove:function(d){return this.getChildrenContainer().remove(d);
},removeAll:function(){return this.getChildrenContainer().removeAll();
},indexOf:function(l){return this.getChildrenContainer().indexOf(l);
},addAt:function(m,n,o){this.getChildrenContainer().addAt(m,n,o);
},addBefore:function(h,i,j){this.getChildrenContainer().addBefore(h,i,j);
},addAfter:function(a,b,c){this.getChildrenContainer().addAfter(a,b,c);
},removeAt:function(k){this.getChildrenContainer().removeAt(k);
}}});
})();
(function(){var b="qx.ui.core.MRemoteLayoutHandling";
qx.Mixin.define(b,{members:{setLayout:function(a){return this.getChildrenContainer().setLayout(a);
},getLayout:function(){return this.getChildrenContainer().getLayout();
}}});
})();
(function(){var k="Boolean",j="resize",i="mousedown",h="w-resize",g="sw-resize",f="n-resize",d="resizableRight",c="ne-resize",b="se-resize",a="Integer",z="e-resize",y="resizableLeft",x="mousemove",w="move",v="shorthand",u="maximized",t="nw-resize",s="mouseout",r="qx.ui.core.MResizable",q="mouseup",o="losecapture",p="resize-frame",m="resizableBottom",n="s-resize",l="resizableTop";
qx.Mixin.define(r,{construct:function(){this.addListener(i,this.__jW,this,true);
this.addListener(q,this.__jX,this);
this.addListener(x,this.__ka,this);
this.addListener(s,this.__kb,this);
this.addListener(o,this.__jY,this);
},properties:{resizableTop:{check:k,init:true},resizableRight:{check:k,init:true},resizableBottom:{check:k,init:true},resizableLeft:{check:k,init:true},resizable:{group:[l,d,m,y],mode:v},resizeSensitivity:{check:a,init:5},useResizeFrame:{check:k,init:true}},members:{__jM:null,__jN:null,__jO:null,__jP:null,__jQ:null,RESIZE_TOP:1,RESIZE_BOTTOM:2,RESIZE_LEFT:4,RESIZE_RIGHT:8,__jR:function(){var M=this.__jM;

if(!M){M=this.__jM=new qx.ui.core.Widget();
M.setAppearance(p);
M.exclude();
qx.core.Init.getApplication().getRoot().add(M);
}return M;
},__jS:function(){var O=this.__jQ;
var N=this.__jR();
N.setUserBounds(O.left,O.top,O.width,O.height);
N.show();
N.setZIndex(this.getZIndex()+1);
},__jT:function(e){var G=this.__jN;
var H=this.getSizeHint();
var J=this.__jQ;
var F=J.width;
var I=J.height;
var L=J.left;
var top=J.top;
var K;

if((G&this.RESIZE_TOP)||(G&this.RESIZE_BOTTOM)){K=e.getDocumentTop()-this.__jP;

if(G&this.RESIZE_TOP){I-=K;
}else{I+=K;
}
if(I<H.minHeight){I=H.minHeight;
}else if(I>H.maxHeight){I=H.maxHeight;
}
if(G&this.RESIZE_TOP){top+=J.height-I;
}}
if((G&this.RESIZE_LEFT)||(G&this.RESIZE_RIGHT)){K=e.getDocumentLeft()-this.__jO;

if(G&this.RESIZE_LEFT){F-=K;
}else{F+=K;
}
if(F<H.minWidth){F=H.minWidth;
}else if(F>H.maxWidth){F=H.maxWidth;
}
if(G&this.RESIZE_LEFT){L+=J.width-F;
}}return {viewportLeft:L,viewportTop:top,parentLeft:J.bounds.left+L-J.left,parentTop:J.bounds.top+top-J.top,width:F,height:I};
},__jU:{1:f,2:n,4:h,8:z,5:t,6:g,9:c,10:b},__jV:function(e){var C=this.getContentLocation();
var A=this.getResizeSensitivity();
var E=e.getDocumentLeft();
var D=e.getDocumentTop();
var B=0;

if(this.getResizableTop()&&Math.abs(C.top-D)<A){B+=this.RESIZE_TOP;
}else if(this.getResizableBottom()&&Math.abs(C.bottom-D)<A){B+=this.RESIZE_BOTTOM;
}
if(this.getResizableLeft()&&Math.abs(C.left-E)<A){B+=this.RESIZE_LEFT;
}else if(this.getResizableRight()&&Math.abs(C.right-E)<A){B+=this.RESIZE_RIGHT;
}this.__jN=B;
},__jW:function(e){if(!this.__jN){return;
}this.addState(j);
this.__jO=e.getDocumentLeft();
this.__jP=e.getDocumentTop();
var location=this.getContainerLocation();
var Q=this.getBounds();
this.__jQ={top:location.top,left:location.left,width:Q.width,height:Q.height,bounds:qx.lang.Object.clone(Q)};
if(this.getUseResizeFrame()){this.__jS();
}this.capture();
e.stop();
},__jX:function(e){if(!this.hasState(j)){return;
}if(this.getUseResizeFrame()){this.__jR().exclude();
}var P=this.__jT(e);
this.setWidth(P.width);
this.setHeight(P.height);
if(this.getResizableLeft()||this.getResizableTop()){this.setLayoutProperties({left:P.parentLeft,top:P.parentTop});
}this.__jN=0;
this.removeState(j);
this.resetCursor();
this.getApplicationRoot().resetGlobalCursor();
this.releaseCapture();
e.stopPropagation();
},__jY:function(e){if(!this.__jN){return;
}this.resetCursor();
this.getApplicationRoot().resetGlobalCursor();
this.removeState(w);
if(this.getUseResizeFrame()){this.__jR().exclude();
}},__ka:function(e){if(this.hasState(j)){var U=this.__jT(e);
if(this.getUseResizeFrame()){var S=this.__jR();
S.setUserBounds(U.viewportLeft,U.viewportTop,U.width,U.height);
}else{this.setWidth(U.width);
this.setHeight(U.height);
if(this.getResizableLeft()||this.getResizableTop()){this.setLayoutProperties({left:U.parentLeft,top:U.parentTop});
}}e.stopPropagation();
}else if(!this.hasState(u)){this.__jV(e);
var V=this.__jN;
var T=this.getApplicationRoot();

if(V){var R=this.__jU[V];
this.setCursor(R);
T.setGlobalCursor(R);
}else if(this.getCursor()){this.resetCursor();
T.resetGlobalCursor();
}}},__kb:function(e){if(this.getCursor()&&!this.hasState(j)){this.resetCursor();
this.getApplicationRoot().resetGlobalCursor();
}}},destruct:function(){if(this.__jM!=null&&!qx.core.ObjectRegistry.inShutDown){this.__jM.destroy();
this.__jM=null;
}}});
})();
(function(){var q="move",p="Boolean",o="mouseup",n="mousedown",m="__kd",l="losecapture",k="qx.ui.core.MMovable",j="mousemove",i="__kc",h="maximized",g="move-frame";
qx.Mixin.define(k,{properties:{movable:{check:p,init:true},useMoveFrame:{check:p,init:false}},members:{__kc:null,__kd:null,__ke:null,__kf:null,__kg:null,__kh:null,__ki:null,__kj:false,__kk:null,__kl:0,_activateMoveHandle:function(c){if(this.__kc){throw new Error("The move handle could not be redefined!");
}this.__kc=c;
c.addListener(n,this._onMoveMouseDown,this);
c.addListener(o,this._onMoveMouseUp,this);
c.addListener(j,this._onMoveMouseMove,this);
c.addListener(l,this.__kp,this);
},__km:function(){var d=this.__kd;

if(!d){d=this.__kd=new qx.ui.core.Widget();
d.setAppearance(g);
d.exclude();
qx.core.Init.getApplication().getRoot().add(d);
}return d;
},__kn:function(){var location=this.getContainerLocation();
var b=this.getBounds();
var a=this.__km();
a.setUserBounds(location.left,location.top,b.width,b.height);
a.show();
a.setZIndex(this.getZIndex()+1);
},__ko:function(e){var s=this.__ke;
var v=Math.max(s.left,Math.min(s.right,e.getDocumentLeft()));
var u=Math.max(s.top,Math.min(s.bottom,e.getDocumentTop()));
var r=this.__kf+v;
var t=this.__kg+u;
return {viewportLeft:r,viewportTop:t,parentLeft:r-this.__kh,parentTop:t-this.__ki};
},_onMoveMouseDown:function(e){if(!this.getMovable()||this.hasState(h)){return;
}var parent=this.getLayoutParent();
var x=parent.getContentLocation();
var y=parent.getBounds();
if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(!parent.isContentBlocked()){this.__kj=true;
this.__kk=parent.getBlockerColor();
this.__kl=parent.getBlockerOpacity();
parent.setBlockerColor(null);
parent.setBlockerOpacity(1);
parent.blockContent(this.getZIndex()-1);
}}this.__ke={left:x.left,top:x.top,right:x.left+y.width,bottom:x.top+y.height};
var w=this.getContainerLocation();
this.__kh=x.left;
this.__ki=x.top;
this.__kf=w.left-e.getDocumentLeft();
this.__kg=w.top-e.getDocumentTop();
this.addState(q);
this.__kc.capture();
if(this.getUseMoveFrame()){this.__kn();
}e.stop();
},_onMoveMouseMove:function(e){if(!this.hasState(q)){return;
}var z=this.__ko(e);

if(this.getUseMoveFrame()){this.__km().setDomPosition(z.viewportLeft,z.viewportTop);
}else{this.setDomPosition(z.parentLeft,z.parentTop);
}e.stopPropagation();
},_onMoveMouseUp:function(e){if(!this.hasState(q)){return;
}this.removeState(q);
var parent=this.getLayoutParent();

if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(this.__kj){parent.unblockContent();
parent.setBlockerColor(this.__kk);
parent.setBlockerOpacity(this.__kl);
this.__kk=null;
this.__kl=0;
}}this.__kc.releaseCapture();
var f=this.__ko(e);
this.setLayoutProperties({left:f.parentLeft,top:f.parentTop});
if(this.getUseMoveFrame()){this.__km().exclude();
}e.stopPropagation();
},__kp:function(e){if(!this.hasState(q)){return;
}this.removeState(q);
if(this.getUseMoveFrame()){this.__km().exclude();
}}},destruct:function(){this._disposeObjects(m,i);
this.__ke=null;
}});
})();
(function(){var u="Integer",t="_applyContentPadding",s="resetPaddingRight",r="setPaddingBottom",q="resetPaddingTop",p="qx.ui.core.MContentPadding",o="resetPaddingLeft",n="setPaddingTop",m="setPaddingRight",l="resetPaddingBottom",h="contentPaddingLeft",k="setPaddingLeft",j="contentPaddingTop",g="shorthand",f="contentPaddingRight",i="contentPaddingBottom";
qx.Mixin.define(p,{properties:{contentPaddingTop:{check:u,init:0,apply:t,themeable:true},contentPaddingRight:{check:u,init:0,apply:t,themeable:true},contentPaddingBottom:{check:u,init:0,apply:t,themeable:true},contentPaddingLeft:{check:u,init:0,apply:t,themeable:true},contentPadding:{group:[j,f,i,h],mode:g,themeable:true}},members:{__kq:{contentPaddingTop:n,contentPaddingRight:m,contentPaddingBottom:r,contentPaddingLeft:k},__kr:{contentPaddingTop:q,contentPaddingRight:s,contentPaddingBottom:l,contentPaddingLeft:o},_applyContentPadding:function(a,b,name){var c=this._getContentPaddingTarget();

if(a==null){var d=this.__kr[name];
c[d]();
}else{var e=this.__kq[name];
c[e](a);
}}}});
})();
(function(){var b="qx.ui.window.IWindowManager";
qx.Interface.define(b,{members:{setDesktop:function(c){this.assertInterface(c,qx.ui.window.IDesktop);
},changeActiveWindow:function(e,f){},updateStack:function(){},bringToFront:function(a){this.assertInstance(a,qx.ui.window.Window);
},sendToBack:function(d){this.assertInstance(d,qx.ui.window.Window);
}}});
})();
(function(){var k="qx.ui.window.Manager",j="__ks";
qx.Class.define(k,{extend:qx.core.Object,implement:qx.ui.window.IWindowManager,members:{__ks:null,setDesktop:function(m){this.__ks=m;
this.updateStack();
},getDesktop:function(){return this.__ks;
},changeActiveWindow:function(n,o){if(n){this.bringToFront(n);
}},_minZIndex:1e5,updateStack:function(){qx.ui.core.queue.Widget.add(this);
},syncWidget:function(){this.__ks.forceUnblockContent();
var e=this.__ks.getWindows();
var h=this._minZIndex-1;
var g=false;
var f,d=null;

for(var i=0,l=e.length;i<l;i++){f=e[i];

if(!f.isVisible()){continue;
}h+=2;
f.setZIndex(h);
if(f.getModal()){this.__ks.blockContent(h-1);
}g=g||f.isActive();
d=f;
}
if(!g){this.__ks.setActiveWindow(d);
}},bringToFront:function(p){var q=this.__ks.getWindows();
var r=qx.lang.Array.remove(q,p);

if(r){q.push(p);
this.updateStack();
}},sendToBack:function(a){var b=this.__ks.getWindows();
var c=qx.lang.Array.remove(b,a);

if(c){b.unshift(a);
this.updateStack();
}}},destruct:function(){this._disposeObjects(j);
}});
})();
(function(){var y="Boolean",x="qx.event.type.Event",w="captionbar",v="maximize-button",u="_applyCaptionBarChange",t="restore-button",s="minimize-button",r="close-button",q="maximized",p="execute",bg="pane",bf="title",be="icon",bd="statusbar-text",bc="statusbar",bb="normal",ba="String",Y="active",X="beforeClose",W="beforeMinimize",F="mousedown",G="changeStatus",D="changeIcon",E="excluded",B="_applyCaption",C="_applyActive",z="beforeRestore",A="minimize",H="dblclick",I="changeModal",O="_applyShowStatusbar",N="_applyStatus",Q="qx.ui.window.Window",P="changeCaption",S="_applyIcon",R="focusout",K="beforeMaximize",V="maximize",U="restore",T="window",J="close",L="changeActive",M="minimized";
qx.Class.define(Q,{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(j,k){arguments.callee.base.call(this);
this._setLayout(new qx.ui.layout.VBox());
this._createChildControl(w);
this._createChildControl(bg);
if(k!=null){this.setIcon(k);
}
if(j!=null){this.setCaption(j);
}this._updateCaptionBar();
this.addListener(F,this._onWindowMouseDown,this,true);
this.addListener(R,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":x,"close":x,"beforeMinimize":x,"minimize":x,"beforeMaximize":x,"maximize":x,"beforeRestore":x,"restore":x},properties:{appearance:{refine:true,init:T},visibility:{refine:true,init:E},focusable:{refine:true,init:true},active:{check:y,init:false,apply:C,event:L},modal:{check:y,init:false,event:I},caption:{apply:B,event:P,nullable:true},icon:{check:ba,nullable:true,apply:S,event:D,themeable:true},status:{check:ba,nullable:true,apply:N,event:G},showClose:{check:y,init:true,apply:u,themeable:true},showMaximize:{check:y,init:true,apply:u,themeable:true},showMinimize:{check:y,init:true,apply:u,themeable:true},allowClose:{check:y,init:true,apply:u},allowMaximize:{check:y,init:true,apply:u},allowMinimize:{check:y,init:true,apply:u},showStatusbar:{check:y,init:false,apply:O}},members:{__kt:null,__ku:null,getChildrenContainer:function(){return this.getChildControl(bg);
},_forwardStates:{active:true,maximized:true},setLayoutParent:function(parent){{};
arguments.callee.base.call(this,parent);
},_createChildControlImpl:function(bl){var bm;

switch(bl){case bc:bm=new qx.ui.container.Composite(new qx.ui.layout.HBox());
this._add(bm);
bm.add(this.getChildControl(bd));
break;
case bd:bm=new qx.ui.basic.Label();
bm.setValue(this.getStatus());
break;
case bg:bm=new qx.ui.container.Composite();
this._add(bm,{flex:1});
break;
case w:var bo=new qx.ui.layout.Grid();
bo.setRowFlex(0,1);
bo.setColumnFlex(1,1);
bm=new qx.ui.container.Composite(bo);
this._add(bm);
bm.addListener(H,this._onCaptionMouseDblClick,this);
this._activateMoveHandle(bm);
break;
case be:bm=new qx.ui.basic.Image(this.getIcon());
this.getChildControl(w).add(bm,{row:0,column:0});
break;
case bf:bm=new qx.ui.basic.Label(this.getCaption());
bm.setWidth(0);
bm.setAllowGrowX(true);
var bn=this.getChildControl(w);
bn.add(bm,{row:0,column:1});
break;
case s:bm=new qx.ui.form.Button();
bm.setFocusable(false);
bm.addListener(p,this._onMinimizeButtonClick,this);
this.getChildControl(w).add(bm,{row:0,column:2});
break;
case t:bm=new qx.ui.form.Button();
bm.setFocusable(false);
bm.addListener(p,this._onRestoreButtonClick,this);
this.getChildControl(w).add(bm,{row:0,column:3});
break;
case v:bm=new qx.ui.form.Button();
bm.setFocusable(false);
bm.addListener(p,this._onMaximizeButtonClick,this);
this.getChildControl(w).add(bm,{row:0,column:4});
break;
case r:bm=new qx.ui.form.Button();
bm.setFocusable(false);
bm.addListener(p,this._onCloseButtonClick,this);
this.getChildControl(w).add(bm,{row:0,column:6});
break;
}return bm||arguments.callee.base.call(this,bl);
},_updateCaptionBar:function(){var bs;

if(this.getIcon()){this._showChildControl(be);
}else{this._excludeChildControl(be);
}
if(this.getCaption()){this._showChildControl(bf);
}else{this._excludeChildControl(bf);
}
if(this.getShowMinimize()){this._showChildControl(s);
bs=this.getChildControl(s);
this.getAllowMinimize()?bs.resetEnabled():bs.setEnabled(false);
}else{this._excludeChildControl(s);
}
if(this.getShowMaximize()){if(this.isMaximized()){this._showChildControl(t);
this._excludeChildControl(v);
}else{this._showChildControl(v);
this._excludeChildControl(t);
}bs=this.getChildControl(v);
this.getAllowMaximize()?bs.resetEnabled():bs.setEnabled(false);
}else{this._excludeChildControl(v);
this._excludeChildControl(t);
}
if(this.getShowClose()){this._showChildControl(r);
bs=this.getChildControl(r);
this.getAllowClose()?bs.resetEnabled():bs.setEnabled(false);
}else{this._excludeChildControl(r);
}},close:function(){if(!this.isVisible()){return;
}
if(this.fireNonBubblingEvent(X,qx.event.type.Event,[false,true])){this.hide();
this.fireEvent(J);
}},open:function(){this.show();
this.setActive(true);
this.focus();
},center:function(){var parent=this.getLayoutParent();

if(parent){var f=parent.getBounds();

if(f){var g=this.getSizeHint();
var d=Math.round((f.width-g.width)/2);
var top=Math.round((f.height-g.height)/2);

if(top<0){top=0;
}this.moveTo(d,top);
return;
}}{};
},maximize:function(){if(this.isMaximized()){return;
}var parent=this.getLayoutParent();

if(parent!=null&&parent.supportsMaximize()){if(this.fireNonBubblingEvent(K,qx.event.type.Event,[false,true])){if(!this.isVisible()){this.open();
}var h=this.getLayoutProperties();
this.__ku=h.left===undefined?0:h.left;
this.__kt=h.top===undefined?0:h.top;
this.setLayoutProperties({left:null,top:null,edge:0});
this.addState(q);
this._updateCaptionBar();
this.fireEvent(V);
}}},minimize:function(){if(!this.isVisible()){return;
}
if(this.fireNonBubblingEvent(W,qx.event.type.Event,[false,true])){var n=this.getLayoutProperties();
this.__ku=n.left===undefined?0:n.left;
this.__kt=n.top===undefined?0:n.top;
this.removeState(q);
this.hide();
this.fireEvent(A);
}},restore:function(){if(this.getMode()===bb){return;
}
if(this.fireNonBubblingEvent(z,qx.event.type.Event,[false,true])){if(!this.isVisible()){this.open();
}var a=this.__ku;
var top=this.__kt;
this.setLayoutProperties({edge:null,left:a,top:top});
this.removeState(q);
this._updateCaptionBar();
this.fireEvent(U);
}},moveTo:function(o,top){if(this.isMaximized()){return;
}this.setLayoutProperties({left:o,top:top});
},isMaximized:function(){return this.hasState(q);
},getMode:function(){if(!this.isVisible()){return M;
}else{if(this.isMaximized()){return q;
}else{return bb;
}}},_applyActive:function(b,c){if(c){this.removeState(Y);
}else{this.addState(Y);
}},_getContentPaddingTarget:function(){return this.getChildControl(bg);
},_applyShowStatusbar:function(l,m){if(l){this._showChildControl(bc);
}else{this._excludeChildControl(bc);
}},_applyCaptionBarChange:function(bt,bu){this._updateCaptionBar();
},_applyStatus:function(bp,bq){var br=this.getChildControl(bd,true);

if(br){br.setValue(bp);
}},_applyCaption:function(bj,bk){this.getChildControl(bf).setValue(bj);
},_applyIcon:function(bh,bi){this.getChildControl(be).setSource(bh);
},_onWindowEventStop:function(e){e.stopPropagation();
},_onWindowMouseDown:function(e){this.setActive(true);
},_onWindowFocusOut:function(e){if(this.getModal()){return;
}var i=e.getRelatedTarget();

if(i!=null&&!qx.ui.core.Widget.contains(this,i)){this.setActive(false);
}},_onCaptionMouseDblClick:function(e){if(this.getAllowMaximize()){this.isMaximized()?this.restore():this.maximize();
}},_onMinimizeButtonClick:function(e){this.minimize();
this.getChildControl(s).reset();
},_onRestoreButtonClick:function(e){this.restore();
this.getChildControl(t).reset();
},_onMaximizeButtonClick:function(e){this.maximize();
this.getChildControl(v).reset();
},_onCloseButtonClick:function(e){this.close();
this.getChildControl(r).reset();
}}});
})();
(function(){var r="",q="login-submit",o="right",m="keydown",l="Enter",k="input",j="middle",i='msg',h="logIntoServer",g="login-cancel",ba="application/json",Y="Login",X='account-reference-key',W="logOutOfServer",V="You Have Created an Account at grFind",U="POST",T="5%",S="white",R="atom",Q="Logging in ... ",y="Password ",z="changeValue",w='account-email',x="auto",u="execute",v='status',s=" Login to grFind",t="Create a New Account",A="visible",B="success",I='new-account-flag',G="Password",K="OK",J="Username",M='session-key',L="Login to grFind",D="completed",P="Cancel",O="12px sans-serif",N="grfind.window.LoginWindow",C="I wish to create a new account",E="requestRetry",F="data=",H="Create New Account Now";
qx.Class.define(N,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:s,modal:true,movable:true,resizable:false,showMaximize:false,showMinimize:false});
this.reqBox=new grfind.ReqBox();
this.errorCanvas=this._createErrorCanvas();
var bl=new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
bl.set({backgroundColor:S,padding:15,font:qx.bom.Font.fromString(O)});
this.newAccountCheckBox=new qx.ui.form.CheckBox(C).set({paddingBottom:5});
this.nameCanvas=new qx.ui.container.Composite(new qx.ui.layout.HBox(10).set({alignX:o,alignY:j}));
this.nameTextField=new qx.ui.form.TextField(r).set({width:200});
this.nameCanvas.add(new qx.ui.basic.Label(J));
this.nameCanvas.add(this.nameTextField);
this.passwordCanvas=new qx.ui.container.Composite(new qx.ui.layout.HBox(10).set({alignX:o,alignY:j}));
this.passwordField=new qx.ui.form.PasswordField(r).set({width:200});
this.passwordCanvas.add(new qx.ui.basic.Label(y));
this.passwordCanvas.add(this.passwordField);
this.confirmPasswordCanvas=new qx.ui.container.Composite(new qx.ui.layout.HBox(10).set({alignX:o,alignY:j}));
this.confirmPasswordField=new qx.ui.form.PasswordField(r).set({width:200});
this.confirmPasswordCanvas.add(new qx.ui.basic.Label(G));
this.confirmPasswordCanvas.add(this.confirmPasswordField);
var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox(5).set({alignX:o})).set({paddingTop:5});
this.submitButton=new grfind.Button(this,R,q,Y,null);
var bm=new grfind.Button(this,R,g,P,null);
this.reqBox.addListener(E,function(e){switch(e.getData()){case h:{this._loginToServer();
};
break;
case W:{this._logoutOfserver();
};
break;
default:{};
}},this);
this.newAccountCheckBox.addListener(z,function(e){this._updateState();
},this);
this.nameTextField.addListener(k,function(e){this._updateState();
},this);
this.nameTextField.addListener(m,function(e){if(e.getKeyIdentifier()===l){if(this.submitButton.isEnabled()){this._doButton(q,e.getCurrentTarget());
}}},this);
this.passwordField.addListener(k,function(e){this._updateState();
},this);
this.passwordField.addListener(m,function(e){if(e.getKeyIdentifier()===l){if(this.submitButton.isEnabled()){this._doButton(q,e.getCurrentTarget());
}}},this);
this.confirmPasswordField.addListener(k,function(e){this._updateState();
},this);
this.confirmPasswordField.addListener(m,function(e){if(e.getKeyIdentifier()===l){if(this.submitButton.isEnabled()){this._doButton(q,e.getCurrentTarget());
}}},this);
toolbar.add(this.submitButton);
toolbar.add(bm);
bl.add(this.newAccountCheckBox);
bl.add(this.nameCanvas);
bl.add(this.passwordCanvas);
bl.add(this.confirmPasswordCanvas);
bl.add(toolbar);
this.add(bl,{flex:1});
this.add(this.reqBox,{top:T,left:T});
this.add(this.errorCanvas,{edge:0});
this.nameTextField.focus();
},properties:{app:{init:null}},members:{_initialize:function(){this._clear();
this.nameTextField.focus();
this.reqBox.hide();
this.errorCanvas.hide();
this._updateState();
},_updateState:function(){this.errorCanvas.hide();
var f=this.newAccountCheckBox.getValue();
var n=qx.lang.String.trim(this.nameTextField.getValue());
var p=qx.lang.String.trim(this.passwordField.getValue());
var c=qx.lang.String.trim(this.confirmPasswordField.getValue());

if(f){this.setCaption(t);
this.submitButton.setButtonLabel(H);
this.confirmPasswordCanvas.show();

if(n.length===0||p.length===0||c.length===0){this.submitButton.setEnabled(false);
}else{if(p===c){this.submitButton.setEnabled(true);
}else{this.submitButton.setEnabled(false);
}}}else{this.setCaption(L);
this.submitButton.setButtonLabel(Y);
this.confirmPasswordCanvas.exclude();
this.confirmPasswordField.setValue(r);

if(n.length===0||p.length===0){this.submitButton.setEnabled(false);
}else{this.submitButton.setEnabled(true);
}}
if(qx.bom.client.Engine.MSHTML){this.submitButton.setEnabled(true);
}},_clear:function(){this.newAccountCheckBox.setValue(false);
this.passwordField.setValue(r);
this.confirmPasswordField.setValue(r);
},_logoutOfServer:function(){var bk={'session-key':this.getApp().getSessionKey()};
var bj=new qx.io2.HttpRequest();
bj.setUrl(W);
bj.setMethod(U);
bj.setMime(ba);
bj.setTimeout(6000);

try{bk=qx.util.Json.stringify(bk);
bj.setData(F+encodeURIComponent(bk));
bj.send();
}catch(d){}},_loginToServer:function(){var bi=this.newAccountCheckBox.getValue();
var be=qx.lang.String.trim(this.nameTextField.getValue());
var bf=qx.lang.String.trim(this.passwordField.getValue());
var bg=qx.lang.String.trim(this.confirmPasswordField.getValue());
var bh=new grfind.HttpRequest(h,U,ba,2000,{'username':be,'password':bf,'confirm-password':bg,'new-account-flag':bi});

if(bh){bh.addListener(D,function(e){var bb=e.getData();

if(bb[v]==B){this.close();
this.getApp().setUserName(be);
this.getApp().setAccountReferenceKey(bb[X]);
this.getApp().setUserStoreNumber(bb[X]);
this.getApp().setFloatingEmail(bb[w]);
this.getApp().setSessionKey(bb[M]);
this.getApp().userMessageWindow?this.getApp().userMessageWindow.close():null;

if(bb[I]){if(this.getApp().quickAddWindow){if(this.getApp().quickAddWindow.getVisibility()!=A){this.getApp().userMessage(bb[i],V);
}}else{this.getApp().userMessage(bb[i],V);
}}}else{this.errorMessage.show();
this.errorCanvas.show();
this.errorMessage.setHtml(bb[i]);
}},this),this.reqBox.start(bh,h,Q,true);
}},_createErrorCanvas:function(){var bd=new qx.ui.container.Composite(new qx.ui.layout.VBox(10));
bd.set({padding:15,backgroundColor:S});
this.errorMessage=new qx.ui.embed.Html(r).set({overflowY:x});
var bc=new qx.ui.form.Button(K);
bc.addListener(u,function(e){this.errorCanvas.hide();
},this);
bd.add(this.errorMessage,{flex:1});
bd.add(bc);
return bd;
},_doButton:function(a,b){switch(a){case q:{this.submitButton.isEnabled()?this._loginToServer():null;
};
break;
case g:{this.close();
};
break;
default:{};
}}}});
})();
(function(){var a="qx.ui.window.IDesktop";
qx.Interface.define(a,{members:{setWindowManager:function(b){this.assertInterface(b,qx.ui.window.IWindowManager);
},getWindows:function(){},supportsMaximize:function(){},blockContent:function(c){this.assertInteger(c);
},unblockContent:function(){},isContentBlocked:function(){}}});
})();
(function(){var R="_applyLayoutChange",Q="top",P="left",O="middle",N="Decorator",M="center",L="_applyReversed",K="bottom",J="qx.ui.layout.VBox",I="Integer",G="right",H="Boolean";
qx.Class.define(J,{extend:qx.ui.layout.Abstract,construct:function(S,T,U){arguments.callee.base.call(this);

if(S){this.setSpacing(S);
}
if(T){this.setAlignY(T);
}
if(U){this.setSeparator(U);
}},properties:{alignY:{check:[Q,O,K],init:Q,apply:R},alignX:{check:[P,M,G],init:P,apply:R},spacing:{check:I,init:0,apply:R},separator:{check:N,nullable:true,apply:R},reversed:{check:H,init:false,apply:L}},members:{__kv:null,__kw:null,__kx:null,__ky:null,_applyReversed:function(){this._invalidChildrenCache=true;
this._applyLayoutChange();
},__kz:function(){var F=this._getLayoutChildren();
var length=F.length;
var B=false;
var A=this.__kv&&this.__kv.length!=length&&this.__kw&&this.__kv;
var D;
var C=A?this.__kv:new Array(length);
var E=A?this.__kw:new Array(length);
if(this.getReversed()){F=F.concat().reverse();
}for(var i=0;i<length;i++){D=F[i].getLayoutProperties();

if(D.height!=null){C[i]=parseFloat(D.height)/100;
}
if(D.flex!=null){E[i]=D.flex;
B=true;
}else{E[i]=0;
}}if(!A){this.__kv=C;
this.__kw=E;
}this.__kx=B;
this.__ky=F;
delete this._invalidChildrenCache;
},verifyLayoutProperty:null,renderLayout:function(a,b){if(this._invalidChildrenCache){this.__kz();
}var j=this.__ky;
var length=j.length;
var u=qx.ui.layout.Util;
var t=this.getSpacing();
var x=this.getSeparator();

if(x){var f=u.computeVerticalSeparatorGaps(j,t,x);
}else{var f=u.computeVerticalGaps(j,t,true);
}var i,d,e,o;
var p=[];
var v=f;

for(i=0;i<length;i+=1){o=this.__kv[i];
e=o!=null?Math.floor((b-f)*o):j[i].getSizeHint().height;
p.push(e);
v+=e;
}if(this.__kx&&v!=b){var m={};
var s,w;

for(i=0;i<length;i+=1){s=this.__kw[i];

if(s>0){k=j[i].getSizeHint();
m[i]={min:k.minHeight,value:p[i],max:k.maxHeight,flex:s};
}}var g=u.computeFlexOffsets(m,b,v);

for(i in g){w=g[i].offset;
p[i]+=w;
v+=w;
}}var top=j[0].getMarginTop();
if(v<b&&this.getAlignY()!=Q){top=b-v;

if(this.getAlignY()===O){top=Math.round(top/2);
}}var k,z,q,e,n,r,h;
this._clearSeparators();
if(x){var y=qx.theme.manager.Decoration.getInstance().resolve(x).getInsets();
var c=y.top+y.bottom;
}for(i=0;i<length;i+=1){d=j[i];
e=p[i];
k=d.getSizeHint();
r=d.getMarginLeft();
h=d.getMarginRight();
q=Math.max(k.minWidth,Math.min(a-r-h,k.maxWidth));
z=u.computeHorizontalAlignOffset(d.getAlignX()||this.getAlignX(),q,a,r,h);
if(i>0){if(x){top+=n+t;
this._renderSeparator(x,{top:top,left:0,height:c,width:a});
top+=c+t+d.getMarginTop();
}else{top+=u.collapseMargins(t,n,d.getMarginTop());
}}d.renderLayout(z,top,q,e);
top+=e;
n=d.getMarginBottom();
}},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__kz();
}var bc=qx.ui.layout.Util;
var bk=this.__ky;
var X=0,bb=0,ba=0;
var V=0,bd=0;
var bh,W,bj;
for(var i=0,l=bk.length;i<l;i+=1){bh=bk[i];
W=bh.getSizeHint();
bb+=W.height;
var bg=this.__kw[i];
var Y=this.__kv[i];

if(bg){X+=W.minHeight;
}else if(Y){ba=Math.max(ba,Math.round(W.minHeight/Y));
}else{X+=W.height;
}bj=bh.getMarginLeft()+bh.getMarginRight();
if((W.width+bj)>bd){bd=W.width+bj;
}if((W.minWidth+bj)>V){V=W.minWidth+bj;
}}X+=ba;
var bf=this.getSpacing();
var bi=this.getSeparator();

if(bi){var be=bc.computeVerticalSeparatorGaps(bk,bf,bi);
}else{var be=bc.computeVerticalGaps(bk,bf,true);
}return {minHeight:X+be,height:bb+be,minWidth:V,width:bd};
}},destruct:function(){this.__kv=this.__kw=this.__ky=null;
}});
})();
(function(){var L="_applyLayoutChange",K="left",J="center",I="top",H="Decorator",G="middle",F="_applyReversed",E="bottom",D="Boolean",C="right",A="Integer",B="qx.ui.layout.HBox";
qx.Class.define(B,{extend:qx.ui.layout.Abstract,construct:function(M,N,O){arguments.callee.base.call(this);

if(M){this.setSpacing(M);
}
if(N){this.setAlignX(N);
}
if(O){this.setSeparator(O);
}},properties:{alignX:{check:[K,J,C],init:K,apply:L},alignY:{check:[I,G,E],init:I,apply:L},spacing:{check:A,init:0,apply:L},separator:{check:H,nullable:true,apply:L},reversed:{check:D,init:false,apply:F}},members:{__kA:null,__kB:null,__kC:null,__kD:null,_applyReversed:function(){this._invalidChildrenCache=true;
this._applyLayoutChange();
},__kE:function(){var bk=this._getLayoutChildren();
var length=bk.length;
var bh=false;
var bf=this.__kA&&this.__kA.length!=length&&this.__kB&&this.__kA;
var bi;
var bg=bf?this.__kA:new Array(length);
var bj=bf?this.__kB:new Array(length);
if(this.getReversed()){bk=bk.concat().reverse();
}for(var i=0;i<length;i++){bi=bk[i].getLayoutProperties();

if(bi.width!=null){bg[i]=parseFloat(bi.width)/100;
}
if(bi.flex!=null){bj[i]=bi.flex;
bh=true;
}else{bj[i]=0;
}}if(!bf){this.__kA=bg;
this.__kB=bj;
}this.__kC=bh;
this.__kD=bk;
delete this._invalidChildrenCache;
},verifyLayoutProperty:null,renderLayout:function(a,b){if(this._invalidChildrenCache){this.__kE();
}var h=this.__kD;
var length=h.length;
var s=qx.ui.layout.Util;
var r=this.getSpacing();
var v=this.getSeparator();

if(v){var e=s.computeHorizontalSeparatorGaps(h,r,v);
}else{var e=s.computeHorizontalGaps(h,r,true);
}var i,c,p,o;
var u=[];
var j=e;

for(i=0;i<length;i+=1){o=this.__kA[i];
p=o!=null?Math.floor((a-e)*o):h[i].getSizeHint().width;
u.push(p);
j+=p;
}if(this.__kC&&j!=a){var m={};
var q,t;

for(i=0;i<length;i+=1){q=this.__kB[i];

if(q>0){k=h[i].getSizeHint();
m[i]={min:k.minWidth,value:u[i],max:k.maxWidth,flex:q};
}}var f=s.computeFlexOffsets(m,a,j);

for(i in f){t=f[i].offset;
u[i]+=t;
j+=t;
}}var z=h[0].getMarginLeft();
if(j<a&&this.getAlignX()!=K){z=a-j;

if(this.getAlignX()===J){z=Math.round(z/2);
}}var k,top,d,p,g,x,n;
var r=this.getSpacing();
this._clearSeparators();
if(v){var w=qx.theme.manager.Decoration.getInstance().resolve(v).getInsets();
var y=w.left+w.right;
}for(i=0;i<length;i+=1){c=h[i];
p=u[i];
k=c.getSizeHint();
x=c.getMarginTop();
n=c.getMarginBottom();
d=Math.max(k.minHeight,Math.min(b-x-n,k.maxHeight));
top=s.computeVerticalAlignOffset(c.getAlignY()||this.getAlignY(),d,b,x,n);
if(i>0){if(v){z+=g+r;
this._renderSeparator(v,{left:z,top:0,width:y,height:b});
z+=y+r+c.getMarginLeft();
}else{z+=s.collapseMargins(r,g,c.getMarginLeft());
}}c.renderLayout(z,top,p,d);
z+=p;
g=c.getMarginRight();
}},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__kE();
}var V=qx.ui.layout.Util;
var be=this.__kD;
var P=0,W=0,T=0;
var S=0,U=0;
var bb,Q,bd;
for(var i=0,l=be.length;i<l;i+=1){bb=be[i];
Q=bb.getSizeHint();
W+=Q.width;
var ba=this.__kB[i];
var R=this.__kA[i];

if(ba){P+=Q.minWidth;
}else if(R){T=Math.max(T,Math.round(Q.minWidth/R));
}else{P+=Q.width;
}bd=bb.getMarginTop()+bb.getMarginBottom();
if((Q.height+bd)>U){U=Q.height+bd;
}if((Q.minHeight+bd)>S){S=Q.minHeight+bd;
}}P+=T;
var Y=this.getSpacing();
var bc=this.getSeparator();

if(bc){var X=V.computeHorizontalSeparatorGaps(be,Y,bc);
}else{var X=V.computeHorizontalGaps(be,Y,true);
}return {minWidth:P+X,width:W+X,minHeight:S,height:U};
}},destruct:function(){this.__kA=this.__kB=this.__kD=null;
}});
})();
(function(){var cn="left",cm="top",cl="_applyLayoutChange",ck="hAlign",cj="flex",ci="vAlign",ch="Integer",cg="minWidth",cf="width",ce="minHeight",cb="qx.ui.layout.Grid",cd="height",cc="maxHeight",ca="maxWidth";
qx.Class.define(cb,{extend:qx.ui.layout.Abstract,construct:function(dW,dX){arguments.callee.base.call(this);
this.__kF=[];
this.__kG=[];

if(dW){this.setSpacingX(dW);
}
if(dX){this.setSpacingY(dX);
}},properties:{spacingX:{check:ch,init:0,apply:cl},spacingY:{check:ch,init:0,apply:cl}},members:{__kH:null,__kF:null,__kG:null,__kI:null,__kJ:null,__kK:null,__kL:null,__kM:null,__kN:null,verifyLayoutProperty:null,__kO:function(){var D=[];
var C=[];
var E=[];
var A=-1;
var z=-1;
var G=this._getLayoutChildren();

for(var i=0,l=G.length;i<l;i++){var B=G[i];
var F=B.getLayoutProperties();
var H=F.row;
var w=F.column;
F.colSpan=F.colSpan||1;
F.rowSpan=F.rowSpan||1;
if(H==null||w==null){throw new Error("The layout properties 'row' and 'column' of the child widget '"+B+"' must be defined!");
}
if(D[H]&&D[H][w]){throw new Error("Cannot add widget '"+B+"'!. "+"There is already a widget '"+D[H][w]+"' in this cell ("+H+", "+w+")");
}
for(var x=w;x<w+F.colSpan;x++){for(var y=H;y<H+F.rowSpan;y++){if(D[y]==undefined){D[y]=[];
}D[y][x]=B;
z=Math.max(z,x);
A=Math.max(A,y);
}}
if(F.rowSpan>1){E.push(B);
}
if(F.colSpan>1){C.push(B);
}}for(var y=0;y<=A;y++){if(D[y]==undefined){D[y]=[];
}}this.__kH=D;
this.__kI=C;
this.__kJ=E;
this.__kK=A;
this.__kL=z;
this.__kM=null;
this.__kN=null;
delete this._invalidChildrenCache;
},_setRowData:function(dp,dq,dr){var ds=this.__kF[dp];

if(!ds){this.__kF[dp]={};
this.__kF[dp][dq]=dr;
}else{ds[dq]=dr;
}},_setColumnData:function(M,N,O){var P=this.__kG[M];

if(!P){this.__kG[M]={};
this.__kG[M][N]=O;
}else{P[N]=O;
}},setSpacing:function(a){this.setSpacingY(a);
this.setSpacingX(a);
return this;
},setColumnAlign:function(d,e,f){{};
this._setColumnData(d,ck,e);
this._setColumnData(d,ci,f);
this._applyLayoutChange();
return this;
},getColumnAlign:function(b){var c=this.__kG[b]||{};
return {vAlign:c.vAlign||cm,hAlign:c.hAlign||cn};
},setRowAlign:function(bW,bX,bY){{};
this._setRowData(bW,ck,bX);
this._setRowData(bW,ci,bY);
this._applyLayoutChange();
return this;
},getRowAlign:function(co){var cp=this.__kF[co]||{};
return {vAlign:cp.vAlign||cm,hAlign:cp.hAlign||cn};
},getCellWidget:function(bQ,bR){if(this._invalidChildrenCache){this.__kO();
}var bQ=this.__kH[bQ]||{};
return bQ[bR]||null;
},getRowCount:function(){if(this._invalidChildrenCache){this.__kO();
}return this.__kK+1;
},getColumnCount:function(){if(this._invalidChildrenCache){this.__kO();
}return this.__kL+1;
},getCellAlign:function(bf,bg){var bm=cm;
var bk=cn;
var bl=this.__kF[bf];
var bi=this.__kG[bg];
var bh=this.__kH[bf][bg];

if(bh){var bj={vAlign:bh.getAlignY(),hAlign:bh.getAlignX()};
}else{bj={};
}if(bj.vAlign){bm=bj.vAlign;
}else if(bl&&bl.vAlign){bm=bl.vAlign;
}else if(bi&&bi.vAlign){bm=bi.vAlign;
}if(bj.hAlign){bk=bj.hAlign;
}else if(bi&&bi.hAlign){bk=bi.hAlign;
}else if(bl&&bl.hAlign){bk=bl.hAlign;
}return {vAlign:bm,hAlign:bk};
},setColumnFlex:function(dU,dV){this._setColumnData(dU,cj,dV);
this._applyLayoutChange();
return this;
},getColumnFlex:function(bp){var bq=this.__kG[bp]||{};
return bq.flex!==undefined?bq.flex:0;
},setRowFlex:function(g,h){this._setRowData(g,cj,h);
this._applyLayoutChange();
return this;
},getRowFlex:function(Q){var R=this.__kF[Q]||{};
var S=R.flex!==undefined?R.flex:0;
return S;
},setColumnMaxWidth:function(bS,bT){this._setColumnData(bS,ca,bT);
this._applyLayoutChange();
return this;
},getColumnMaxWidth:function(bH){var bI=this.__kG[bH]||{};
return bI.maxWidth!==undefined?bI.maxWidth:Infinity;
},setColumnWidth:function(bF,bG){this._setColumnData(bF,cf,bG);
this._applyLayoutChange();
return this;
},getColumnWidth:function(bO){var bP=this.__kG[bO]||{};
return bP.width!==undefined?bP.width:null;
},setColumnMinWidth:function(k,m){this._setColumnData(k,cg,m);
this._applyLayoutChange();
return this;
},getColumnMinWidth:function(I){var J=this.__kG[I]||{};
return J.minWidth||0;
},setRowMaxHeight:function(dE,dF){this._setRowData(dE,cc,dF);
this._applyLayoutChange();
return this;
},getRowMaxHeight:function(n){var o=this.__kF[n]||{};
return o.maxHeight||Infinity;
},setRowHeight:function(dY,ea){this._setRowData(dY,cd,ea);
this._applyLayoutChange();
return this;
},getRowHeight:function(bn){var bo=this.__kF[bn]||{};
return bo.height!==undefined?bo.height:null;
},setRowMinHeight:function(bU,bV){this._setRowData(bU,ce,bV);
this._applyLayoutChange();
return this;
},getRowMinHeight:function(K){var L=this.__kF[K]||{};
return L.minHeight||0;
},__kP:function(bJ){var bN=bJ.getSizeHint();
var bM=bJ.getMarginLeft()+bJ.getMarginRight();
var bL=bJ.getMarginTop()+bJ.getMarginBottom();
var bK={height:bN.height+bL,width:bN.width+bM,minHeight:bN.minHeight+bL,minWidth:bN.minWidth+bM,maxHeight:bN.maxHeight+bL,maxWidth:bN.maxWidth+bM};
return bK;
},_fixHeightsRowSpan:function(br){var bC=this.getSpacingY();

for(var i=0,l=this.__kJ.length;i<l;i++){var bu=this.__kJ[i];
var bw=this.__kP(bu);
var bx=bu.getLayoutProperties();
var bt=bx.row;
var bA=bC*(bx.rowSpan-1);
var bs=bA;
var bz={};

for(var j=0;j<bx.rowSpan;j++){var bE=bx.row+j;
var bv=br[bE];
var bD=this.getRowFlex(bE);

if(bD>0){bz[bE]={min:bv.minHeight,value:bv.height,max:bv.maxHeight,flex:bD};
}bA+=bv.height;
bs+=bv.minHeight;
}if(bA<bw.height){var bB=qx.ui.layout.Util.computeFlexOffsets(bz,bw.height,bA);

for(var j=0;j<bx.rowSpan;j++){var by=bB[bt+j]?bB[bt+j].offset:0;
br[bt+j].height+=by;
}}if(bs<bw.minHeight){var bB=qx.ui.layout.Util.computeFlexOffsets(bz,bw.minHeight,bs);

for(var j=0;j<bx.rowSpan;j++){var by=bB[bt+j]?bB[bt+j].offset:0;
br[bt+j].minHeight+=by;
}}}},_fixWidthsColSpan:function(dG){var dK=this.getSpacingX();

for(var i=0,l=this.__kI.length;i<l;i++){var dH=this.__kI[i];
var dJ=this.__kP(dH);
var dM=dH.getLayoutProperties();
var dI=dM.column;
var dS=dK*(dM.colSpan-1);
var dL=dS;
var dN={};
var dP;

for(var j=0;j<dM.colSpan;j++){var dT=dM.column+j;
var dR=dG[dT];
var dQ=this.getColumnFlex(dT);
if(dQ>0){dN[dT]={min:dR.minWidth,value:dR.width,max:dR.maxWidth,flex:dQ};
}dS+=dR.width;
dL+=dR.minWidth;
}if(dS<dJ.width){var dO=qx.ui.layout.Util.computeFlexOffsets(dN,dJ.width,dS);

for(var j=0;j<dM.colSpan;j++){dP=dO[dI+j]?dO[dI+j].offset:0;
dG[dI+j].width+=dP;
}}if(dL<dJ.minWidth){var dO=qx.ui.layout.Util.computeFlexOffsets(dN,dJ.minWidth,dL);

for(var j=0;j<dM.colSpan;j++){dP=dO[dI+j]?dO[dI+j].offset:0;
dG[dI+j].minWidth+=dP;
}}}},_getRowHeights:function(){if(this.__kM!=null){return this.__kM;
}var dC=[];
var dv=this.__kK;
var du=this.__kL;

for(var dD=0;dD<=dv;dD++){var dw=0;
var dy=0;
var dx=0;

for(var dB=0;dB<=du;dB++){var dt=this.__kH[dD][dB];

if(!dt){continue;
}var dz=dt.getLayoutProperties().rowSpan||0;

if(dz>1){continue;
}var dA=this.__kP(dt);

if(this.getRowFlex(dD)>0){dw=Math.max(dw,dA.minHeight);
}else{dw=Math.max(dw,dA.height);
}dy=Math.max(dy,dA.height);
}var dw=Math.max(dw,this.getRowMinHeight(dD));
var dx=this.getRowMaxHeight(dD);

if(this.getRowHeight(dD)!==null){var dy=this.getRowHeight(dD);
}else{var dy=Math.max(dw,Math.min(dy,dx));
}dC[dD]={minHeight:dw,height:dy,maxHeight:dx};
}
if(this.__kJ.length>0){this._fixHeightsRowSpan(dC);
}this.__kM=dC;
return dC;
},_getColWidths:function(){if(this.__kN!=null){return this.__kN;
}var da=[];
var cW=this.__kL;
var cY=this.__kK;

for(var df=0;df<=cW;df++){var dd=0;
var dc=0;
var cX=Infinity;

for(var dg=0;dg<=cY;dg++){var cV=this.__kH[dg][df];

if(!cV){continue;
}var db=cV.getLayoutProperties().colSpan||0;

if(db>1){continue;
}var de=this.__kP(cV);

if(this.getColumnFlex(df)>0){dc=Math.max(dc,de.minWidth);
}else{dc=Math.max(dc,de.width);
}dd=Math.max(dd,de.width);
}var dc=Math.max(dc,this.getColumnMinWidth(df));
var cX=this.getColumnMaxWidth(df);

if(this.getColumnWidth(df)!==null){var dd=this.getColumnWidth(df);
}else{var dd=Math.max(dc,Math.min(dd,cX));
}da[df]={minWidth:dc,width:dd,maxWidth:cX};
}
if(this.__kI.length>0){this._fixWidthsColSpan(da);
}this.__kN=da;
return da;
},_getColumnFlexOffsets:function(p){var q=this.getSizeHint();
var u=p-q.width;

if(u==0){return {};
}var s=this._getColWidths();
var r={};

for(var i=0,l=s.length;i<l;i++){var v=s[i];
var t=this.getColumnFlex(i);

if((t<=0)||(v.width==v.maxWidth&&u>0)||(v.width==v.minWidth&&u<0)){continue;
}r[i]={min:v.minWidth,value:v.width,max:v.maxWidth,flex:t};
}return qx.ui.layout.Util.computeFlexOffsets(r,p,q.width);
},_getRowFlexOffsets:function(dh){var di=this.getSizeHint();
var dl=dh-di.height;

if(dl==0){return {};
}var dm=this._getRowHeights();
var dj={};

for(var i=0,l=dm.length;i<l;i++){var dn=dm[i];
var dk=this.getRowFlex(i);

if((dk<=0)||(dn.height==dn.maxHeight&&dl>0)||(dn.height==dn.minHeight&&dl<0)){continue;
}dj[i]={min:dn.minHeight,value:dn.height,max:dn.maxHeight,flex:dk};
}return qx.ui.layout.Util.computeFlexOffsets(dj,dh,di.height);
},renderLayout:function(cq,cr){if(this._invalidChildrenCache){this.__kO();
}var cF=qx.ui.layout.Util;
var ct=this.getSpacingX();
var cz=this.getSpacingY();
var cK=this._getColWidths();
var cJ=this._getColumnFlexOffsets(cq);
var cu=[];
var cM=this.__kL;
var cs=this.__kK;
var cL;

for(var cN=0;cN<=cM;cN++){cL=cJ[cN]?cJ[cN].offset:0;
cu[cN]=cK[cN].width+cL;
}var cC=this._getRowHeights();
var cE=this._getRowFlexOffsets(cr);
var cT=[];

for(var cA=0;cA<=cs;cA++){cL=cE[cA]?cE[cA].offset:0;
cT[cA]=cC[cA].height+cL;
}var cU=0;

for(var cN=0;cN<=cM;cN++){var top=0;

for(var cA=0;cA<=cs;cA++){var cH=this.__kH[cA][cN];
if(!cH){top+=cT[cA]+cz;
continue;
}var cv=cH.getLayoutProperties();
if(cv.row!==cA||cv.column!==cN){top+=cT[cA]+cz;
continue;
}var cS=ct*(cv.colSpan-1);

for(var i=0;i<cv.colSpan;i++){cS+=cu[cN+i];
}var cI=cz*(cv.rowSpan-1);

for(var i=0;i<cv.rowSpan;i++){cI+=cT[cA+i];
}var cw=cH.getSizeHint();
var cQ=cH.getMarginTop();
var cG=cH.getMarginLeft();
var cD=cH.getMarginBottom();
var cy=cH.getMarginRight();
var cB=Math.max(cw.minWidth,Math.min(cS-cG-cy,cw.maxWidth));
var cR=Math.max(cw.minHeight,Math.min(cI-cQ-cD,cw.maxHeight));
var cO=this.getCellAlign(cA,cN);
var cP=cU+cF.computeHorizontalAlignOffset(cO.hAlign,cB,cS,cG,cy);
var cx=top+cF.computeVerticalAlignOffset(cO.vAlign,cR,cI,cQ,cD);
cH.renderLayout(cP,cx,cB,cR);
top+=cT[cA]+cz;
}cU+=cu[cN]+ct;
}},invalidateLayoutCache:function(){arguments.callee.base.call(this);
this.__kN=null;
this.__kM=null;
},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__kO();
}var X=this._getColWidths();
var ba=0,bb=0;

for(var i=0,l=X.length;i<l;i++){var bc=X[i];

if(this.getColumnFlex(i)>0){ba+=bc.minWidth;
}else{ba+=bc.width;
}bb+=bc.width;
}var bd=this._getRowHeights();
var V=0,Y=0;

for(var i=0,l=bd.length;i<l;i++){var be=bd[i];

if(this.getRowFlex(i)>0){V+=be.minHeight;
}else{V+=be.height;
}Y+=be.height;
}var U=this.getSpacingX()*(X.length-1);
var T=this.getSpacingY()*(bd.length-1);
var W={minWidth:ba+U,width:bb+U,minHeight:V+T,height:Y+T};
return W;
}},destruct:function(){this.__kH=this.__kF=this.__kG=this.__kI=this.__kJ=this.__kN=this.__kM=null;
}});
})();
(function(){var t="execute",s="toolTipText",r="icon",q="label",p="qx.ui.core.MExecutable",o="value",n="qx.event.type.Event",m="_applyCommand",l="enabled",k="menu",h="changeCommand",j="qx.ui.core.Command";
qx.Mixin.define(p,{events:{"execute":n},properties:{command:{check:j,apply:m,event:h,nullable:true}},members:{__kQ:null,__kR:false,__kS:null,_bindableProperties:[l,q,r,s,o,k],execute:function(){var u=this.getCommand();

if(u){if(this.__kR){this.__kR=false;
}else{this.__kR=true;
u.execute(this);
}}this.fireEvent(t);
},__kT:function(e){if(this.__kR){this.__kR=false;
return;
}this.__kR=true;
this.execute();
},_applyCommand:function(a,b){if(b!=null){b.removeListenerById(this.__kS);
}
if(a!=null){this.__kS=a.addListener(t,this.__kT,this);
}var f=this.__kQ;

if(f==null){this.__kQ=f={};
}
for(var i=0;i<this._bindableProperties.length;i++){var d=this._bindableProperties[i];
if(b!=null&&f[d]!=null){b.removeBinding(f[d]);
f[d]=null;
}if(a!=null&&qx.Class.hasProperty(this.constructor,d)){var c=a.get(d);

if(c==null){var g=this.get(d);
}f[d]=a.bind(d,this,d);
if(g){this.set(d,g);
}}}}},destruct:function(){this.__kQ=null;
}});
})();
(function(){var b="qx.ui.form.IExecutable",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"execute":a},members:{setCommand:function(c){return arguments.length==1;
},getCommand:function(){},execute:function(){}}});
})();
(function(){var o="pressed",n="abandoned",m="hovered",l="Enter",k="Space",j="dblclick",i="qx.ui.form.Button",h="mouseup",g="mousedown",f="mouseover",b="mouseout",d="keydown",c="button",a="keyup";
qx.Class.define(i,{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(r,s,t){arguments.callee.base.call(this,r,s);

if(t!=null){this.setCommand(t);
}this.addListener(f,this._onMouseOver);
this.addListener(b,this._onMouseOut);
this.addListener(g,this._onMouseDown);
this.addListener(h,this._onMouseUp);
this.addListener(d,this._onKeyDown);
this.addListener(a,this._onKeyUp);
this.addListener(j,this._onStopEvent);
},properties:{appearance:{refine:true,init:c},focusable:{refine:true,init:true}},members:{_forwardStates:{focused:true,hovered:true,pressed:true,disabled:true},press:function(){if(this.hasState(n)){return;
}this.addState(o);
},release:function(){if(this.hasState(o)){this.removeState(o);
}},reset:function(){this.removeState(o);
this.removeState(n);
this.removeState(m);
},_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}
if(this.hasState(n)){this.removeState(n);
this.addState(o);
}this.addState(m);
},_onMouseOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}this.removeState(m);

if(this.hasState(o)){this.removeState(o);
this.addState(n);
}},_onMouseDown:function(e){if(!e.isLeftPressed()){return;
}e.stopPropagation();
this.capture();
this.removeState(n);
this.addState(o);
},_onMouseUp:function(e){this.releaseCapture();
var p=this.hasState(o);
var q=this.hasState(n);

if(p){this.removeState(o);
}
if(q){this.removeState(n);
}else{this.addState(m);

if(p){this.execute();
}}e.stopPropagation();
},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case l:case k:this.removeState(n);
this.addState(o);
e.stopPropagation();
}},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case l:case k:if(this.hasState(o)){this.removeState(n);
this.removeState(o);
this.execute();
e.stopPropagation();
}}}}});
})();
(function(){var p="default",o="completed",n="15px sans-serif",m="application/json",l="text/html",k="  ( call timed out)",j="<br/>",i="execute",h="wait",g='msg',E="error",D="interval",C="Attention",B="Loading item",A="load",z="text/plain",y="  (call failed)",x="Retry",w="success",v="Request Box - could not get valid mime type",t="grfind.ReqBox",u="none",r="<br/> Request Box - could not parse return data",s="requestRetry",q="white";
qx.Class.define(t,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:C,showMinimize:false,showMaximize:false});
this.customRequestTimer=new qx.event.Timer();
var d=new qx.ui.container.Composite(new qx.ui.layout.VBox(10)).set({padding:5,font:qx.bom.Font.fromString(n)});
d.set({padding:10,backgroundColor:q});
this.loadingMessage=new qx.ui.basic.Atom(B).set({rich:true});
this.loadingButton=new qx.ui.form.Button(x).set({padding:4});
this.customRequestTimer.addListener(D,function(e){e.stop();
this.getApp().getRoot().setGlobalCursor(p);
var f=this.loadingMessage.getLabel()+k;
this.loadingMessage.setLabel(f);
this.open();
},this);
this.loadingButton.addListener(i,function(e){this.close();
this.fireDataEvent(s,this.getRequestUrl());
},this);
d.add(this.loadingMessage);
d.add(this.loadingButton);
this.add(d,{edge:0});
this.close();
},properties:{app:{init:null},requestUrl:{init:null},passErrorBack:{init:false}},members:{start:function(F,G,H,I){this.setRequestUrl(G);
I?this.setPassErrorBack(I):null;
this.getApp().getRoot().setGlobalCursor(h);
F.addListener(E,function(e){this.customRequestTimer.stop();
this.getApp().getRoot().setGlobalCursor(p);
var J=this.loadingMessage.getLabel()+y;
this.loadingMessage.setLabel(J);
this.open();
},this);
F.addListener(A,function(e){this.customRequestTimer.stop();
this.getApp().getRoot().setGlobalCursor(p);
var b=F.getMime();
!b?b=u:null;

switch(b){case l:case z:{e.getCurrentTarget().fireDataEvent(o,F.getResponseText());
};
break;
case m:{try{var c=qx.util.Json.parse(F.getResponseText());
}catch(e){var a=F.getUrl()+j+F.getResponseText()+r;
this.getApp().userMessage(a);
return;
}
if(c.status==w){e.getCurrentTarget().fireDataEvent(o,c);
}else{if(this.getPassErrorBack()){e.getCurrentTarget().fireDataEvent(o,c);
}else{this.getApp().userMessage(c[g]);
}}};
break;
default:{this.getApp().userMessage(v);
};
}this.close();
},this);
this.loadingMessage.setLabel(H);
qx.ui.core.queue.Manager.flush();
qx.event.Timer.once(function(){this.customRequestTimer.restartWith(5000);
F.send();
},this,100);
}}});
})();
(function(){var z=",",y="",x="string",w="null",v='"',u="qx.jsonDebugging",t='\\u00',s="new Date(Date.UTC(",r="__lh",q="__kX",V='\\\\',U='\\f',T='\\"',S="))",R="}",Q='(',P=":",O="{",N='\\r',M='\\t',G="__li",H="__kY",E="[",F="Use 'parse' instead!",C="]",D="qx.jsonEncodeUndefined",A='\\b',B="qx.util.Json",I=')',J="__kW",L='\\n',K="__la";
qx.Class.define(B,{statics:{__kU:null,BEAUTIFYING_INDENT:"  ",BEAUTIFYING_LINE_END:"\n",__kV:{"function":J,"boolean":q,"number":H,"string":K,"object":r,"undefined":G},__kW:function(bw,bx){return String(bw);
},__kX:function(bz,bA){return String(bz);
},__kY:function(ba,bb){return isFinite(ba)?String(ba):w;
},__la:function(W,X){var Y;

if(/["\\\x00-\x1f]/.test(W)){Y=W.replace(/([\x00-\x1f\\"])/g,qx.util.Json.__lc);
}else{Y=W;
}return v+Y+v;
},__lb:{'\b':A,'\t':M,'\n':L,'\f':U,'\r':N,'"':T,'\\':V},__lc:function(a,b){var c=qx.util.Json.__lb[b];

if(c){return c;
}c=b.charCodeAt();
return t+Math.floor(c/16).toString(16)+(c%16).toString(16);
},__ld:function(d,e){var g=[],k=true,j,f;
var h=qx.util.Json.__lk;
g.push(E);

if(h){qx.util.Json.__le+=qx.util.Json.BEAUTIFYING_INDENT;
g.push(qx.util.Json.__le);
}
for(var i=0,l=d.length;i<l;i++){f=d[i];
j=this.__kV[typeof f];

if(j){f=this[j](f,i+y);

if(typeof f==x){if(!k){g.push(z);

if(h){g.push(qx.util.Json.__le);
}}g.push(f);
k=false;
}}}
if(h){qx.util.Json.__le=qx.util.Json.__le.substring(0,qx.util.Json.__le.length-qx.util.Json.BEAUTIFYING_INDENT.length);
g.push(qx.util.Json.__le);
}g.push(C);
return g.join(y);
},__lf:function(bd,be){var bf=bd.getUTCFullYear()+z+bd.getUTCMonth()+z+bd.getUTCDate()+z+bd.getUTCHours()+z+bd.getUTCMinutes()+z+bd.getUTCSeconds()+z+bd.getUTCMilliseconds();
return s+bf+S;
},__lg:function(bi,bj){var bm=[],bo=true,bl,bk;
var bn=qx.util.Json.__lk;
bm.push(O);

if(bn){qx.util.Json.__le+=qx.util.Json.BEAUTIFYING_INDENT;
bm.push(qx.util.Json.__le);
}
for(var bj in bi){bk=bi[bj];
bl=this.__kV[typeof bk];

if(bl){bk=this[bl](bk,bj);

if(typeof bk==x){if(!bo){bm.push(z);

if(bn){bm.push(qx.util.Json.__le);
}}bm.push(this.__la(bj),P,bk);
bo=false;
}}}
if(bn){qx.util.Json.__le=qx.util.Json.__le.substring(0,qx.util.Json.__le.length-qx.util.Json.BEAUTIFYING_INDENT.length);
bm.push(qx.util.Json.__le);
}bm.push(R);
return bm.join(y);
},__lh:function(m,n){if(m){if(qx.lang.Type.isFunction(m.toJSON)&&m.toJSON!==this.__kU){return this.__lj(m.toJSON(n),n);
}else if(qx.lang.Type.isDate(m)){return this.__lf(m,n);
}else if(qx.lang.Type.isArray(m)){return this.__ld(m,n);
}else if(qx.lang.Type.isObject(m)){return this.__lg(m,n);
}return y;
}return w;
},__li:function(o,p){if(qx.core.Setting.get(D)){return w;
}},__lj:function(bg,bh){return this[this.__kV[typeof bg]](bg,bh);
},stringify:function(bs,bt){this.__lk=bt;
this.__le=this.BEAUTIFYING_LINE_END;
var bu=this.__lj(bs,y);

if(typeof bu!=x){bu=null;
}if(qx.core.Setting.get(u)){qx.log.Logger.debug(this,"JSON request: "+bu);
}return bu;
},parse:function(bp,bq){if(bq===undefined){bq=true;
}
if(qx.core.Setting.get(u)){qx.log.Logger.debug(this,"JSON response: "+bp);
}
if(bq){if(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(bp.replace(/"(\\.|[^"\\])*"/g,y))){throw new Error("Could not parse JSON string!");
}}
try{var br=(bp&&bp.length>0)?eval(Q+bp+I):null;
return br;
}catch(by){throw new Error("Could not evaluate JSON string: "+by.message);
}},parseQx:function(bv){qx.log.Logger.deprecatedMethodWarning(arguments.callee,F);
return qx.util.Json.parse(bv,false);
}},settings:{"qx.jsonEncodeUndefined":true,"qx.jsonDebugging":false},defer:function(bc){bc.__kU=Date.prototype.toJSON;
}});
})();
(function(){var b="qx.ui.form.IBooleanForm",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"changeValue":a},members:{setValue:function(c){return arguments.length==1;
},resetValue:function(){},getValue:function(){}}});
})();
(function(){var s="pressed",r="abandoned",q="hovered",p="checked",o="Space",n="Enter",m="mouseup",l="mousedown",k="Boolean",j="_applyValue",c="mouseover",i="mouseout",g="qx.ui.form.ToggleButton",b="keydown",a="changeValue",f="button",d="keyup",h="execute";
qx.Class.define(g,{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IBooleanForm,qx.ui.form.IExecutable],construct:function(v,w){arguments.callee.base.call(this,v,w);
this.addListener(c,this._onMouseOver);
this.addListener(i,this._onMouseOut);
this.addListener(l,this._onMouseDown);
this.addListener(m,this._onMouseUp);
this.addListener(b,this._onKeyDown);
this.addListener(d,this._onKeyUp);
this.addListener(h,this._onExecute,this);
},properties:{appearance:{refine:true,init:f},focusable:{refine:true,init:true},value:{check:k,nullable:true,event:a,apply:j,init:false}},members:{_applyValue:function(t,u){t?this.addState(p):this.removeState(p);
},_onExecute:function(e){this.toggleValue();
},_onMouseOver:function(e){if(e.getTarget()!==this){return;
}this.addState(q);

if(this.hasState(r)){this.removeState(r);
this.addState(s);
}},_onMouseOut:function(e){if(e.getTarget()!==this){return;
}this.removeState(q);

if(this.hasState(s)){if(!this.getValue()){this.removeState(s);
}this.addState(r);
}},_onMouseDown:function(e){if(!e.isLeftPressed()){return;
}this.capture();
this.removeState(r);
this.addState(s);
e.stopPropagation();
},_onMouseUp:function(e){this.releaseCapture();

if(this.hasState(r)){this.removeState(r);
}else if(this.hasState(s)){this.execute();
}this.removeState(s);
e.stopPropagation();
},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case n:case o:this.removeState(r);
this.addState(s);
e.stopPropagation();
}},_onKeyUp:function(e){if(!this.hasState(s)){return;
}
switch(e.getKeyIdentifier()){case n:case o:this.removeState(r);
this.execute();
this.removeState(s);
e.stopPropagation();
}}}});
})();
(function(){var i="Boolean",h="invalid",g="qx.ui.form.MForm",f="_applyValid",e="",d="changeRequired",c="changeValid",b="changeInvalidMessage",a="String";
qx.Mixin.define(g,{properties:{valid:{check:i,init:true,apply:f,event:c},required:{check:i,init:false,event:d},invalidMessage:{check:a,init:e,event:b}},members:{_applyValid:function(j,k){j?this.removeState(h):this.addState(h);
}}});
})();
(function(){var b="changeModel",a="qx.ui.form.MModelProperty";
qx.Mixin.define(a,{properties:{model:{nullable:true,event:b}}});
})();
(function(){var b="qx.ui.form.IModel",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"changeModel":a},members:{setModel:function(c){},getModel:function(){},resetModel:function(){}}});
})();
(function(){var b="checkbox",a="qx.ui.form.CheckBox";
qx.Class.define(a,{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(c){{};
arguments.callee.base.call(this,c);
this.setValue(false);
},properties:{appearance:{refine:true,init:b},allowGrowX:{refine:true,init:false}}});
})();
(function(){var C="showingPlaceholder",B="color",A="",z="none",y="qx.client",x="changeValue",w="Boolean",v="qx.event.type.Data",u="readonly",t="input",bp="focusin",bo="visibility",bn="focusout",bm="hidden",bl="absolute",bk="readOnly",bj="text",bi="_applyTextAlign",bh="px",bg="RegExp",J=")",K="syncAppearance",H="gecko",I="A",F="change",G="textAlign",D="focused",E="center",L="visible",M="disabled",T="url(",R="String",X="resize",V="qx.ui.form.AbstractField",bc="transparent",ba="off",O="spellcheck",bf="false",be="right",bd="PositiveInteger",N="mshtml",P="abstract",Q="block",S="webkit",U="_applyReadOnly",W="_applyPlaceholder",Y="left",bb="qx/static/blank.gif";
qx.Class.define(V,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm,qx.ui.form.IForm],include:[qx.ui.form.MForm],type:P,construct:function(d){arguments.callee.base.call(this);

if(d!=null){this.setValue(d);
}this.getContentElement().addListener(F,this._onChangeContent,this);
this.addListener(K,this._syncPlaceholder,this);
},events:{"input":v,"changeValue":v},properties:{textAlign:{check:[Y,E,be],nullable:true,themeable:true,apply:bi},readOnly:{check:w,apply:U,init:false},selectable:{refine:true,init:true},focusable:{refine:true,init:true},maxLength:{check:bd,init:Infinity},liveUpdate:{check:w,init:false},placeholder:{check:R,nullable:true,apply:W},filter:{check:bg,nullable:true,init:null}},members:{__ll:true,__lm:null,getFocusElement:function(){var bD=this.getContentElement();

if(bD){return bD;
}},_createInputElement:function(){return new qx.html.Input(bj);
},renderLayout:function(f,top,g,h){var i=this._updateInsets;
var m=arguments.callee.base.call(this,f,top,g,h);
if(!m){return;
}var k=m.size||i;
var n=bh;

if(k||m.local||m.margin){var j=this.getInsets();
var innerWidth=g-j.left-j.right;
var innerHeight=h-j.top-j.bottom;
innerWidth=innerWidth<0?0:innerWidth;
innerHeight=innerHeight<0?0:innerHeight;
}var l=this.getContentElement();

if(i){this.__lo().setStyles({"left":j.left+n,"top":j.top+n});
}
if(k){this.__lo().setStyles({"width":innerWidth+n,"height":innerHeight+n});
l.setStyles({"width":innerWidth+n,"height":innerHeight+n});
}},_createContentElement:function(){var o=this._createInputElement();
o.setStyles({"border":z,"padding":0,"margin":0,"display":Q,"background":bc,"outline":z,"appearance":z,"position":bl,"autoComplete":ba});
o.setSelectable(this.getSelectable());
o.setEnabled(this.getEnabled());
o.addListener(t,this._onHtmlInput,this);
if(qx.core.Variant.isSet(y,H)){o.setAttribute(O,bf);
}if(qx.core.Variant.isSet(y,S)){o.setStyle(X,z);
}if(qx.core.Variant.isSet(y,N)){o.setStyles({backgroundImage:T+qx.util.ResourceManager.getInstance().toUri(bb)+J});
}return o;
},_applyEnabled:function(bL,bM){arguments.callee.base.call(this,bL,bM);
this.getContentElement().setEnabled(bL);

if(bL){this._showPlaceholder();
}else{this._removePlaceholder();
}},__ln:{width:16,height:16},_getContentHint:function(){return {width:this.__ln.width*10,height:this.__ln.height||16};
},_applyFont:function(bs,bt){var bu;

if(bs){var bv=qx.theme.manager.Font.getInstance().resolve(bs);
bu=bv.getStyles();
}else{bu=qx.bom.Font.getDefaultStyles();
}this.getContentElement().setStyles(bu);
this.__lo().setStyles(bu);
if(bs){this.__ln=qx.bom.Label.getTextSize(I,bu);
}else{delete this.__ln;
}qx.ui.core.queue.Layout.add(this);
},_applyTextColor:function(r,s){if(r){this.getContentElement().setStyle(B,qx.theme.manager.Color.getInstance().resolve(r));
this.__lo().setStyle(B,qx.theme.manager.Color.getInstance().resolve(r));
}else{this.getContentElement().removeStyle(B);
this.__lo().removeStyle(B);
}},tabFocus:function(){arguments.callee.base.call(this);
this.selectAllText();
},_getTextSize:function(){return this.__ln;
},_onHtmlInput:function(e){var bB=e.getData();
var bA=true;
this.__ll=false;
if(this.getFilter()!=null){var bC=A;
var by=bB.search(this.getFilter());
var bz=bB;

while(by>=0){bC=bC+(bz.charAt(by));
bz=bz.substring(by+1,bz.length);
by=bz.search(this.getFilter());
}
if(bC!=bB){bA=false;
bB=bC;
this.getContentElement().setValue(bB);
}}if(bB.length>this.getMaxLength()){var bA=false;
this.getContentElement().setValue(bB.substr(0,this.getMaxLength()));
}if(bA){this.fireDataEvent(t,bB);
if(this.getLiveUpdate()){this.fireNonBubblingEvent(x,qx.event.type.Data,[bB]);
}}},setValue:function(bH){if(bH===null){if(this.__ll){return bH;
}bH=A;
this.__ll=true;
}else{this.__ll=false;
this._removePlaceholder();
}
if(qx.lang.Type.isString(bH)){var bJ=this.getContentElement();

if(bH.length>this.getMaxLength()){bH=bH.substr(0,this.getMaxLength());
}
if(bJ.getValue()!=bH){var bK=bJ.getValue();
bJ.setValue(bH);
var bI=this.__ll?null:bH;
this.fireNonBubblingEvent(x,qx.event.type.Data,[bI,bK]);
}this._showPlaceholder();
return bH;
}throw new Error("Invalid value type: "+bH);
},getValue:function(){var bE=this.getContentElement().getValue();
return this.__ll?null:bE;
},resetValue:function(){this.setValue(null);
},_onChangeContent:function(e){this.__ll=e.getData()===null;
this.fireNonBubblingEvent(x,qx.event.type.Data,[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(p,q){this.getContentElement().setTextSelection(p,q);
},clearTextSelection:function(){this.getContentElement().clearTextSelection();
},selectAllText:function(){this.setTextSelection(0);
},_showPlaceholder:function(){var bG=this.getValue()||A;
var bF=this.getPlaceholder();

if(bF!=null&&bG==A&&!this.hasState(D)&&!this.hasState(M)){if(this.hasState(C)){this._syncPlaceholder();
}else{this.addState(C);
}}},_removePlaceholder:function(){if(this.hasState(C)){this.__lo().setStyle(bo,bm);
this.removeState(C);
}},_syncPlaceholder:function(){if(this.hasState(C)){this.__lo().setStyle(bo,L);
}},__lo:function(){if(this.__lm==null){this.__lm=new qx.html.Label();
this.__lm.setStyles({"visibility":bm,"zIndex":6,"position":bl});
this.getContainerElement().add(this.__lm);
}return this.__lm;
},_applyPlaceholder:function(bw,bx){this.__lo().setValue(bw);

if(bw!=null){this.addListener(bp,this._removePlaceholder,this);
this.addListener(bn,this._showPlaceholder,this);
this._showPlaceholder();
}else{this.removeListener(bp,this._removePlaceholder,this);
this.removeListener(bn,this._showPlaceholder,this);
this._removePlaceholder();
}},_applyTextAlign:function(bq,br){this.getContentElement().setStyle(G,bq);
},_applyReadOnly:function(a,b){var c=this.getContentElement();
c.setAttribute(bk,a);

if(a){this.addState(u);
this.setFocusable(false);
}else{this.removeState(u);
this.setFocusable(true);
}}},destruct:function(){this.__lm=null;
}});
})();
(function(){var b="qx.ui.form.TextField",a="textfield";
qx.Class.define(b,{extend:qx.ui.form.AbstractField,properties:{appearance:{refine:true,init:a},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}}});
})();
(function(){var u="none",t="wrap",s="value",r="qx.client",q="textarea",p="off",o="on",n="qxSelectable",m="",l="webkit",h="input",k="qx.html.Input",j="select",g="disabled",f="read-only",i="userSelect";
qx.Class.define(k,{extend:qx.html.Element,construct:function(z){arguments.callee.base.call(this);
this.__lp=z;
if(z===j||z===q){this.setNodeName(z);
}else{this.setNodeName(h);
}},members:{__lp:null,__lq:null,__lr:null,_createDomElement:function(){return qx.bom.Input.create(this.__lp);
},_applyProperty:function(name,v){arguments.callee.base.call(this,name,v);
var w=this.getDomElement();

if(name===s){qx.bom.Input.setValue(w,v);
}else if(name===t){qx.bom.Input.setWrap(w,v);
}},setEnabled:qx.core.Variant.select(r,{"webkit":function(y){this.__lr=y;

if(!y){this.setStyles({"userModify":f,"userSelect":u});
}else{this.setStyles({"userModify":null,"userSelect":this.__lq?null:u});
}},"default":function(A){this.setAttribute(g,A===false);
}}),setSelectable:qx.core.Variant.select(r,{"webkit":function(c){this.__lq=c;
this.setAttribute(n,c?o:p);
if(qx.core.Variant.isSet(r,l)){var d=this.__lr?c?null:u:u;
this.setStyle(i,d);
}},"default":function(x){this.setAttribute(n,x?o:p);
}}),setValue:function(a){var b=this.getDomElement();

if(b){if(b.value!=a){qx.bom.Input.setValue(b,a);
}}else{this._setProperty(s,a);
}return this;
},getValue:function(){var e=this.getDomElement();

if(e){return qx.bom.Input.getValue(e);
}return this._getProperty(s)||m;
},setWrap:function(B){if(this.__lp===q){this._setProperty(t,B);
}else{throw new Error("Text wrapping is only support by textareas!");
}return this;
},getWrap:function(){if(this.__lp===q){return this._getProperty(t);
}else{throw new Error("Text wrapping is only support by textareas!");
}}}});
})();
(function(){var I="change",H="input",G="checkbox",F="radio",E="textarea",D="qx.client",C="text",B="password",A="keypress",z="propertychange",v="select-multiple",y="checked",x="value",u="select",t="qx.event.handler.Input",w="Enter";
qx.Class.define(t,{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);
},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:{canHandleEvent:function(Y,ba){var bb=Y.tagName.toLowerCase();

if(ba===H&&(bb===H||bb===E)){return true;
}
if(ba===I&&(bb===H||bb===E||bb===u)){return true;
}return false;
},registerEvent:qx.core.Variant.select(D,{"mshtml":function(h,j,k){if(!h.__ls){var m=h.tagName.toLowerCase();
var n=h.type;

if(n===C||n===B||m===E||n===G||n===F){qx.bom.Event.addNativeListener(h,z,this._onPropertyWrapper);
}
if(n!==G&&n!==F){qx.bom.Event.addNativeListener(h,I,this._onChangeValueWrapper);
}this.__lv(h,n);
h.__ls=true;
}},"default":function(a,b,c){if(b===H){this.__lt(a);
}else if(b===I){if(a.type===F||a.type===G){qx.bom.Event.addNativeListener(a,I,this._onChangeCheckedWrapper);
}else{qx.bom.Event.addNativeListener(a,I,this._onChangeValueWrapper);
}this.__lv(a,a.type);
}}}),__lt:qx.core.Variant.select(D,{"mshtml":null,"webkit":function(L){var M=L.tagName.toLowerCase();
if(qx.bom.client.Engine.VERSION<532&&M==E){qx.bom.Event.addNativeListener(L,A,this._onInputWrapper);
}qx.bom.Event.addNativeListener(L,H,this._onInputWrapper);
},"default":function(K){qx.bom.Event.addNativeListener(K,H,this._onInputWrapper);
}}),unregisterEvent:qx.core.Variant.select(D,{"mshtml":function(O,P){if(O.__ls){var Q=O.tagName.toLowerCase();
var R=O.type;

if(R===C||R===B||Q===E||R===G||R===F){qx.bom.Event.removeNativeListener(O,z,this._onPropertyWrapper);
}
if(R!==G&&R!==F){qx.bom.Event.removeNativeListener(O,I,this._onChangeValueWrapper);
}
try{delete O.__ls;
}catch(V){O.__ls=null;
}}},"default":function(f,g){if(g===H){this.__lt(f);
}else if(g===I){if(f.type===F||f.type===G){qx.bom.Event.removeNativeListener(f,I,this._onChangeCheckedWrapper);
}else{qx.bom.Event.removeNativeListener(f,I,this._onChangeValueWrapper);
}}}}),__lu:qx.core.Variant.select(D,{"mshtml":null,"webkit":function(p){var q=p.tagName.toLowerCase();
if(qx.bom.client.Engine.VERSION<532&&q==E){qx.bom.Event.removeNativeListener(p,A,this._onInputWrapper);
}qx.bom.Event.removeNativeListener(p,H,this._onInputWrapper);
},"default":function(J){qx.bom.Event.removeNativeListener(J,H,this._onInputWrapper);
}}),__lv:qx.core.Variant.select(D,{"mshtml|opera":function(W,X){if(X===C||X===B){qx.event.Registration.addListener(W,A,function(e){if(e.getKeyIdentifier()===w){qx.event.Registration.fireEvent(W,I,qx.event.type.Data,[W.value]);
}});
}},"default":function(bc,bd){}}),_onInput:qx.event.GlobalError.observeMethod(function(e){var N=e.target;
qx.event.Registration.fireEvent(N,H,qx.event.type.Data,[N.value]);
}),_onChangeValue:qx.event.GlobalError.observeMethod(function(e){var s=e.target||e.srcElement;
var r=s.value;

if(s.type===v){var r=[];

for(var i=0,o=s.options,l=o.length;i<l;i++){if(o[i].selected){r.push(o[i].value);
}}}qx.event.Registration.fireEvent(s,I,qx.event.type.Data,[r]);
}),_onChangeChecked:qx.event.GlobalError.observeMethod(function(e){var S=e.target;

if(S.type===F){if(S.checked){qx.event.Registration.fireEvent(S,I,qx.event.type.Data,[S.value]);
}}else{qx.event.Registration.fireEvent(S,I,qx.event.type.Data,[S.checked]);
}}),_onProperty:qx.core.Variant.select(D,{"mshtml":qx.event.GlobalError.observeMethod(function(e){var T=e.target||e.srcElement;
var U=e.propertyName;

if(U===x&&(T.type===C||T.type===B||T.tagName.toLowerCase()===E)){if(!T.__inValueSet){qx.event.Registration.fireEvent(T,H,qx.event.type.Data,[T.value]);
}}else if(U===y){if(T.type===G){qx.event.Registration.fireEvent(T,I,qx.event.type.Data,[T.checked]);
}else if(T.checked){qx.event.Registration.fireEvent(T,I,qx.event.type.Data,[T.value]);
}}}),"default":function(){}})},defer:function(d){qx.event.Registration.addHandler(d);
}});
})();
(function(){var D="",C="select",B="soft",A="off",z="qx.client",y="wrap",x="text",w="mshtml",v="number",u="checkbox",n="select-one",t="input",q="option",m="value",k="radio",p="qx.bom.Input",o="nowrap",r="textarea",j="auto",s="normal";
qx.Class.define(p,{statics:{__lw:{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(a,b,c){{};
var b=b?qx.lang.Object.clone(b):{};
var d;

if(a===r||a===C){d=a;
}else{d=t;
b.type=a;
}return qx.bom.Element.create(d,b,c);
},setValue:function(O,P){var U=O.nodeName.toLowerCase();
var R=O.type;
var Array=qx.lang.Array;
var V=qx.lang.Type;

if(typeof P===v){P+=D;
}
if((R===u||R===k)){if(V.isArray(P)){O.checked=Array.contains(P,O.value);
}else{O.checked=O.value==P;
}}else if(U===C){var Q=V.isArray(P);
var W=O.options;
var S,T;

for(var i=0,l=W.length;i<l;i++){S=W[i];
T=S.getAttribute(m);

if(T==null){T=S.text;
}S.selected=Q?Array.contains(P,T):P==T;
}
if(Q&&P.length==0){O.selectedIndex=-1;
}}else if(R===x&&qx.core.Variant.isSet(z,w)){O.__lx=true;
O.value=P;
O.__lx=null;
}else{O.value=P;
}},getValue:function(E){var K=E.nodeName.toLowerCase();

if(K===q){return (E.attributes.value||{}).specified?E.value:E.text;
}
if(K===C){var F=E.selectedIndex;
if(F<0){return null;
}var L=[];
var N=E.options;
var M=E.type==n;
var J=qx.bom.Input;
var I;
for(var i=M?F:0,H=M?F+1:N.length;i<H;i++){var G=N[i];

if(G.selected){I=J.getValue(G);
if(M){return I;
}L.push(I);
}}return L;
}else{return (E.value||D).replace(/\r/g,D);
}},setWrap:qx.core.Variant.select(z,{"mshtml":function(ba,bb){ba.wrap=bb?B:A;
},"gecko|webkit":function(e,f){var h=f?B:A;
var g=f?D:j;
e.setAttribute(y,h);
e.style.overflow=g;
},"default":function(X,Y){X.style.whiteSpace=Y?s:o;
}})}});
})();
(function(){var c="password",b="qx.ui.form.PasswordField",a="input";
qx.Class.define(b,{extend:qx.ui.form.TextField,members:{_createInputElement:function(){var d=new qx.html.Input(c);
d.addListener(a,this._onHtmlInput,this);
return d;
}}});
})();
(function(){var q="hovered",p="normal",o="16px sans-serif",n="click",m="_setButtonLabel",l="contextmenu",k="_setButtonFont",j="mouseover",i="grfind.Button",h='atom',d="left",g="middle",f="mouseout";
qx.Class.define(i,{extend:qx.ui.container.Composite,construct:function(t,u,name,v,w,x){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
t?this.setCallBack(t):null;
u?this.setType(u):null;
w?this.setIcon(w):null;
name?this.setName(name):null;
!x?x=this.getButtonFont():null;
this.setLayout(new qx.ui.layout.HBox().set({alignX:d,alignY:g}));
switch(this.getType()){case h:{var y=new qx.ui.basic.Atom(v,this.getIcon()).set({rich:true,padding:[3,6,3,6]});
this.getApp().highlightOnMouseOver(y);
this.setBtn(y);
this.setFont(x);
y.addListener(n,function(e){var c=this.getCallBack();

if(c&&c._doButton){c._doButton(this.getName(),this);
}},this);
};
break;
default:{this.info("Button - unknown button name");
return;
};
}y.addListener(j,function(e){e.getCurrentTarget().removeState(p);
e.getCurrentTarget().addState(q);
});
y.addListener(f,function(e){e.getCurrentTarget().removeState(q);
e.getCurrentTarget().addState(p);
});
this.addListener(l,function(e){e.stop();
},this);
this.add(y);
},properties:{app:{init:null},callBack:{init:null},type:{init:null},name:{init:null},buttonLabel:{init:null,apply:m},icon:{init:null},btn:{init:null},buttonFont:{init:qx.bom.Font.fromString(o),apply:k}},members:{_setButtonFont:function(r,s){this.getBtn().setFont(r);
},_setButtonLabel:function(a,b){this.getBtn().setLabel(a);
}}});
})();
(function(){var y="qx.event.type.Event",x="Boolean",w="String",v="Last-Modified",u="basic",t="GET",s="load",r="text/plain",q="abort",p="http",bc="POST",bb="error",ba="timeout",Y="application/xml",X="X-Requested-With",W="application/json",V="text/html",U="If-Modified-Since",T='Basic ',S="Integer",F="qx.event.type.Data",G="HEAD",D="XMLHttpRequest",E='Authorization',B="change",C="Accept",z="OPTIONS",A="text/javascript",H="",I="PUT",L=':',K="application/x-www-form-urlencoded",N="__lA",M="DELETE",P="qx.io.HttpRequest",O="no-cache",J="Cache-Control",R="Content-Type",Q="Thu, 01 Jan 1970 00:00:00 GMT";
qx.Class.define(P,{extend:qx.core.Object,construct:function(be){arguments.callee.base.call(this);
this.__ly={};
if(be!=null){this.setUrl(be);
}},statics:{__lz:{}},events:{"change":F,"timeout":y,"load":y,"error":y,"abort":y},properties:{refresh:{check:x,init:false},data:{nullable:true},method:{check:[t,bc,I,G,M,z],init:t},async:{check:x,init:true},mime:{check:[r,A,W,Y,V],init:r},url:{check:w,init:H},username:{check:w,nullable:true},password:{check:w,nullable:true},auth:{check:[p,u],init:p},timeout:{check:S,nullable:true},cache:{check:x,init:false}},members:{__lA:null,__ly:null,setRequestHeader:function(bh,bi){this.__ly[bh]=bi;
},removeRequestHeader:function(i){delete this.__ly[i];
},getRequestHeader:function(g){var h=this.__ly[g];

if(h===undefined){h=null;
}return h;
},getResponseText:function(){var bk=this.__lA;

if(bk){return bk.responseText;
}},getResponseXml:function(){var bd=this.__lA;

if(bd){return bd.responseXML;
}},getResponseHeader:function(a){var b=this.__lA;

if(b){return b.getResponseHeader(a);
}},getAllResponseHeaders:function(){var o=this.__lA;

if(o){return o.getAllResponseHeaders();
}},isNotModified:function(){var c=this.__lA;

if(!c){return false;
}var d=c.getResponseHeader(v);
return c.status===304||qx.io.HttpRequest.__lz[this.getUrl()]===d;
},isSuccessful:function(){var bg=this.__lA;
return !bg||bg.isSuccessful();
},getStatusCode:function(){var e=this.__lA;

if(e){return e.status;
}},getStatusText:function(){var f=this.__lA;

if(f){return f.statusText;
}},getReadyState:function(){var bf=this.__lA;

if(bf){return bf.readyState;
}},send:function(){if(this.__lA){if(this.getReadyState()!==4){throw new Error("Request is still pending at ready state: "+this.getReadyState());
}this.__lA.dispose();
}var l=this.__lA=new qx.bom.Request;
l.onreadystatechange=qx.lang.Function.bind(this.__lB,this);
l.ontimeout=qx.lang.Function.bind(this.__lC,this);
l.onload=qx.lang.Function.bind(this.__lD,this);
l.onerror=qx.lang.Function.bind(this.__lE,this);
l.onabort=qx.lang.Function.bind(this.__lF,this);
var j=this.getUsername();
var n=this.getPassword();

if(this.getAuth()==u){l.setRequestHeader(E,T+qx.util.Base64.encode(j+L+n));
j=n=null;
}var k=this.getUrl();
l.timeout=this.getTimeout();
l.open(this.getMethod(),k,this.getAsync(),j,n);
if(!this.getCache()){l.setRequestHeader(J,O);
}if(this.getRefresh()){l.setRequestHeader(U,qx.io.HttpRequest.__lz[k]||Q);
}l.setRequestHeader(X,D);
if(this.getMethod()===bc){l.setRequestHeader(R,K);
}l.setRequestHeader(C,this.getMime());
var m=this.__ly;

for(var name in m){l.setRequestHeader(name,m[name]);
}l.send(this.getData());
},abort:function(){if(this.__lA){this.__lA.abort();
}},__lB:qx.event.GlobalError.observeMethod(function(){this.fireDataEvent(B,this.getReadyState());
if(this.getRefresh()&&this.getReadyState()===4&&this.isSuccessful()){var bj=this.getResponseHeader(v);

if(bj){qx.io.HttpRequest.__lz[this.getUrl()]=bj;
}}}),__lC:qx.event.GlobalError.observeMethod(function(){if(this.hasListener(ba)){this.fireEvent(ba);
}}),__lD:qx.event.GlobalError.observeMethod(function(){if(this.hasListener(s)){this.fireEvent(s);
}}),__lE:qx.event.GlobalError.observeMethod(function(){if(this.hasListener(bb)){this.fireEvent(bb);
}}),__lF:qx.event.GlobalError.observeMethod(function(){if(this.hasListener(q)){this.fireEvent(q);
}})},destruct:function(){this._disposeObjects(N);
this.__ly=null;
}});
})();
(function(){var b="This class has been moved to 'qx.io.HttpRequest'",a="qx.io2.HttpRequest";
qx.Class.define(a,{extend:qx.io.HttpRequest,construct:function(c){arguments.callee.base.call(this,c);
qx.log.Logger.deprecatedClassWarning(qx.io2.HttpRequest,b);
}});
})();
(function(){var i="qx.client",h="gecko",g="Content-Type",f="",e="mshtml",d="application/xml",c="qx.bom.Request",b="file:",a="parsererror";
qx.Class.define(c,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__lG={};
this.__lH=this.__lR();
},statics:{UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},members:{__lI:null,__lJ:null,__lH:null,__lK:null,__lL:null,__lM:null,__lN:null,__lG:null,readyState:0,responseText:f,responseXML:null,status:0,statusText:f,timeout:0,onreadystatechange:function(){},ontimeout:function(){},onload:function(){},onerror:function(){},onabort:function(){},open:function(z,A,B,C,D){if(B==null){B=true;
}this.__lI=B;
this.__lJ=qx.lang.Function.bind(this.__lO,this);
this.__lK=qx.lang.Function.bind(this.__lP,this);
this.__lH.onreadystatechange=this.__lJ;
if(arguments.length>4){this.__lH.open(z,A,B,C,D);
}else if(arguments.length>3){this.__lH.open(z,A,B,C);
}else{this.__lH.open(z,A,B);
}if(qx.core.Variant.isSet(i,h)){if(!B){this.readyState=qx.bom.Request.OPENED;
this.__lS();
}}},send:function(k){var l=this.__lG;
if(k&&k.nodeType){k=window.XMLSerializer?new XMLSerializer().serializeToString(k):k.xml;

if(!l[g]){l[g]=d;
}}for(var m in l){this.__lH.setRequestHeader(m,l[m]);
}if(this.timeout!=null&&this.timeout>0){this.__lL=window.setTimeout(this.__lK,this.timeout);
}this.__lH.send(k);
if(qx.core.Variant.isSet(i,h)){if(!this.__lI){this.readyState=qx.bom.Request.OPENED;
this.__lU(this);
while(this.readyState<qx.bom.Request.DONE){this.readyState++;
this.__lS();
if(this.__lM){return;
}}}}},isSuccessful:function(){var status=this.status;
return status===304||(status>=200&&status<300);
},abort:function(){if(this.__lL){window.clearTimeout(this.__lL);
}this.__lQ();
this.onabort();
this.dispose();
},__lO:qx.event.GlobalError.observeMethod(function(){if(qx.core.Variant.isSet(i,h)){if(!this.__lI){return;
}}this.readyState=this.__lH.readyState;
this.__lU();
if(this.__lM){this.readyState=qx.bom.Request.UNSENT;
return ;
}if(this.readyState==qx.bom.Request.DONE&&this.__lL){window.clearTimeout(this.__lL);
}this.__lS();
if(this.readyState==qx.bom.Request.DONE){this.dispose();
}}),__lP:qx.event.GlobalError.observeMethod(function(){this.__lQ();
this.ontimeout();
this.dispose();
}),getAllResponseHeaders:function(){try{return this.__lH.getAllResponseHeaders();
}catch(E){return null;
}},getResponseHeader:function(j){try{return this.__lH.getResponseHeader(j);
}catch(u){return null;
}},setRequestHeader:function(p,q){if(q==null){delete this.__lG[p];
}else{this.__lG[p]=q;
}},removeRequestHeader:function(n,o){delete this.__lG[n];
},getRequestHeader:function(w){return this.__lG[w]||null;
},__lQ:function(){this.__lU();
if(this.readyState>qx.bom.Request.UNSENT){this.__lM=true;
}this.__lH.abort();
},__lR:qx.core.Variant.select(i,{"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;
}}}),__lS:function(){if(this.__lN===this.readyState){return;
}this.onreadystatechange();
this.__lN=this.readyState;
if(this.readyState===4){if(this.isSuccessful()){this.onload();
}else{this.onerror();
}}},__lT:function(){var v=this.__lH.responseXML;

if(qx.core.Variant.isSet(i,e)){if(v&&!v.documentElement&&this.__lH.getResponseHeader(g).match(/[^\/]+\/[^\+]+\+xml/)){v=new ActiveXObject(qx.xml.Document.DOMDOC);
v.loadXML(this.__lH.responseText);
}if(v&&v.parseError!=0){return null;
}}else if(!v.documentElement||v.documentElement.tagName==a){return null;
}return v;
},__lU:function(){var r=this.__lH;

try{this.responseText=r.responseText;
}catch(t){}
try{this.responseXML=this.__lT();
}catch(s){}
try{this.status=r.status;
}catch(y){}
try{this.statusText=r.statusText;
}catch(x){}if(qx.core.Variant.isSet(i,e)){if(this.status===1223){this.status=204;
}}if(!this.status&&location.protocol===b){this.status=204;
}}},destruct:function(){if(this.__lL){window.clearTimeout(this.__lL);
this.__lL=null;
}if(this.__lH){this.__lH.onreadystatechange=qx.lang.Function.empty;
this.__lH=null;
}this.onreadystatechange=this.onload=this.onerror=this.onabort=null;
this.__lJ=null;
this.__lG=null;
}});
})();
(function(){var c="",b="qx.util.Base64",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
qx.Class.define(b,{statics:{__lV:a,encode:function(d){var j=this.__lV;
var n=c;
var g,f,e;
var k,l,m,h;
var i=0;

do{g=d.charCodeAt(i++);
f=d.charCodeAt(i++);
e=d.charCodeAt(i++);
k=g>>2;
l=((g&3)<<4)|(f>>4);
m=((f&15)<<2)|(e>>6);
h=e&63;

if(isNaN(f)){m=h=64;
}else if(isNaN(e)){h=64;
}n+=j.charAt(k)+j.charAt(l)+j.charAt(m)+j.charAt(h);
}while(i<d.length);
return n;
}}});
})();
(function(){var o="HttpRequest - could not assign parameters",n="HttpRequest - could not get valid arguments",m=" HttpRequest - could not stringify data",l="HttpRequest - could not get valid method",k="data=",j="GET",i="grfind.HttpRequest",h="POST";
qx.Class.define(i,{extend:qx.core.Object,construct:function(a,b,c,d,f){arguments.callee.base.call(this);
d=6000;
this.setApp(qx.core.Init.getApplication());
switch(b){case j:{if(a&&b&&c&&d){try{var g=new qx.io2.HttpRequest();
g.setUrl(a);
g.setMethod(b);
g.setMime(c);
g.setTimeout(d);
return g;
}catch(e){this.getApp().userMessage(o);
return null;
}}else{this.getApp().userMessage(n);
return null;
}};
break;
case h:{if(a&&b&&c&&d&&f){try{g=new qx.io2.HttpRequest();
g.setUrl(a);
g.setMethod(b);
g.setMime(c);
g.setTimeout(d);

try{f=qx.util.Json.stringify(f);
}catch(e){this.getApp().userMessage(a+m);
return null;
}g.setData(k+encodeURIComponent(f));
return g;
}catch(e){this.getApp().userMessage(o);
return null;
}}else{this.getApp().userMessage(n);
return null;
}};
break;
default:{this.getApp().userMessage(l);
return null;
};
}},properties:{app:{init:null}}});
})();
(function(){var i="auto",h="overflowX",g="visible",f="hidden",e="scroll",d="overflowY",c="_applyOverflowX",b="_applyOverflowY",a="qx.ui.core.MNativeOverflow";
qx.Mixin.define(a,{properties:{overflowX:{check:[f,g,e,i],nullable:true,apply:c},overflowY:{check:[f,g,e,i],nullable:true,apply:b},overflow:{group:[h,d]}},members:{_applyOverflowX:function(k){this.getContentElement().setStyle(h,k);
},_applyOverflowY:function(j){this.getContentElement().setStyle(d,j);
}}});
})();
(function(){var s="none",r="text",q="",p="userSelect",o="color",n="String",m="0px",l="webkit",k="changeHtml",j="_applyCssClass",g="class",i="qx.ui.embed.Html",h="_applyHtml",f="qx.client",e="html";
qx.Class.define(i,{extend:qx.ui.core.Widget,include:[qx.ui.core.MNativeOverflow],construct:function(t){arguments.callee.base.call(this);

if(t!=null){this.setHtml(t);
}},properties:{html:{check:n,apply:h,event:k,nullable:true},cssClass:{check:n,init:q,apply:j},selectable:{refine:true,init:true},focusable:{refine:true,init:true}},members:{getFocusElement:function(){return this.getContentElement();
},_applyHtml:function(y,z){var A=this.getContentElement();
A.setAttribute(e,y||q);
A.setStyles({"padding":m,"border":s});
},_applyCssClass:function(w,x){this.getContentElement().setAttribute(g,w);
},_applySelectable:function(a){arguments.callee.base.call(this,a);
if(qx.core.Variant.isSet(f,l)){this.getContainerElement().setStyle(p,a?r:s);
this.getContentElement().setStyle(p,a?r:s);
}},_applyFont:function(b,c){var d=b?qx.theme.manager.Font.getInstance().resolve(b).getStyles():qx.bom.Font.getDefaultStyles();
this.getContentElement().setStyles(d);
},_applyTextColor:function(u,v){if(u){this.getContentElement().setStyle(o,qx.theme.manager.Color.getInstance().resolve(u));
}else{this.getContentElement().removeStyle(o);
}}}});
})();
(function(){var l="",k="yellow",j="Message",i="grfind.window.MessageWindow",h="<b>Message - </b>",g="<br/>",f="OK",d="close",c="main",b="auto",a="execute";
qx.Class.define(i,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
var p=this.app=qx.core.Init.getApplication();
this.setLayout(new qx.ui.layout.VBox(5));
this.set({caption:j,showMinimize:false,showMaximize:false});
this.set({resizableTop:false});
this.totalMessage=new qx.ui.embed.Html(l);
this.totalMessage.set({padding:5,overflowY:b,width:400,decorator:c});
this.currentMessage=new qx.ui.basic.Atom(l);
this.currentMessage.set({padding:5,rich:true});
var r=new qx.ui.decoration.Background(k);
this.currentMessage.setDecorator(r);
var q=new qx.ui.form.Button(f);
this.addListener(d,function(e){this.totalMessage.setHtml(l);
this.currentMessage.setLabel(l);
},this);
q.addListener(a,function(){this.close();
},this);
this.add(this.currentMessage);
this.add(this.totalMessage,{flex:1});
this.add(q);
},members:{_writeMessage:function(m){grfind.window.MessageWindow.messageCounter=grfind.window.MessageWindow.messageCounter+1;
var n=this.currentMessage.getLabel();
this.currentMessage.setLabel(m);
var o=this.totalMessage.getHtml();

if(n!=l){this.totalMessage.setHtml(h+n+g+o);
}}}});
})();
(function(){var f="14px sans-serif",e="",d="grfind.window.UserMessageWindow",c="Message",b="white",a="auto";
qx.Class.define(d,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:c,modal:true,showMinimize:false,showMaximize:false,width:350,height:200});
this.set({resizableTop:false});
var g=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
g.set({padding:10,backgroundColor:b,font:qx.bom.Font.fromString(f)});
this.message=new qx.ui.embed.Html(e).set({padding:10,overflowY:a});
g.add(this.message,{edge:0});
this.add(g,{edge:0});
},members:{_writeMessage:function(h){this.message.setHtml(h);
}}});
})();
(function(){var n="legend",m="frame",l="middle",k="top",j="resize",i="qx.ui.groupbox.GroupBox",h="groupbox",g="_applyLegendPosition";
qx.Class.define(i,{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(d,f){arguments.callee.base.call(this);
this._setLayout(new qx.ui.layout.Canvas);
this._createChildControl(m);
this._createChildControl(n);
if(d!=null){this.setLegend(d);
}
if(f!=null){this.setIcon(f);
}},properties:{appearance:{refine:true,init:h},legendPosition:{check:[k,l],init:l,apply:g,themeable:true}},members:{_forwardStates:{invalid:true},_createChildControlImpl:function(o){var p;

switch(o){case m:p=new qx.ui.container.Composite();
this._add(p,{left:0,top:6,right:0,bottom:0});
break;
case n:p=new qx.ui.basic.Atom();
p.addListener(j,this._repositionFrame,this);
this._add(p);
break;
}return p||arguments.callee.base.call(this,o);
},_getContentPaddingTarget:function(){return this.getChildControl(m);
},_applyLegendPosition:function(e){if(this.getChildControl(n).getBounds()){this._repositionFrame();
}},_repositionFrame:function(){var r=this.getChildControl(n);
var q=this.getChildControl(m);
var s=r.getBounds().height;
if(this.getLegendPosition()==l){q.setLayoutProperties({"top":Math.round(s/2)});
}else if(this.getLegendPosition()==k){q.setLayoutProperties({"top":s});
}},getChildrenContainer:function(){return this.getChildControl(m);
},setLegend:function(a){var b=this.getChildControl(n);

if(a!==null){b.setLabel(a);
b.show();
}else{b.exclude();
}},getLegend:function(){return this.getChildControl(n).getLabel();
},setIcon:function(c){this.getChildControl(n).setIcon(c);
},getIcon:function(){this.getChildControl(n).getIcon();
}}});
})();
(function(){var o="'>",n="[",m=", ",l="</span>",k="<span class='type-",h="</span> ",g="}",f="",e="]",d="{",L="map",K="<span class='object'>",J="]:",I="&gt;",H="<span class='object' title='Object instance with hash code: ",G="string",F="level-",E="0",D="&lt;",C="<span class='offset'>",v=":",w="qx.log.appender.Util",t="&amp;",u="&#39;",r="DIV",s="<span>",p="&quot;",q="<span class='type-key'>",x="</span>:<span class='type-",y="</span>: ",A=" ",z="]</span>: ",B="?";
qx.Class.define(w,{statics:{toHtml:function(M){var W=[];
var T,V,O,Q;
W.push(C,this.formatOffset(M.offset,6),h);

if(M.object){var N=M.win.qx.core.ObjectRegistry.fromHashCode(M.object);

if(N){W.push(H+N.$$hash+o,N.classname,n,N.$$hash,z);
}}else if(M.clazz){W.push(K+M.clazz.classname,y);
}var P=M.items;

for(var i=0,U=P.length;i<U;i++){T=P[i];
V=T.text;

if(V instanceof Array){var Q=[];

for(var j=0,S=V.length;j<S;j++){O=V[j];

if(typeof O===G){Q.push(s+this.escapeHTML(O)+l);
}else if(O.key){Q.push(q+O.key+x+O.type+o+this.escapeHTML(O.text)+l);
}else{Q.push(k+O.type+o+this.escapeHTML(O.text)+l);
}}W.push(k+T.type+o);

if(T.type===L){W.push(d,Q.join(m),g);
}else{W.push(n,Q.join(m),e);
}W.push(l);
}else{W.push(k+T.type+o+this.escapeHTML(V)+h);
}}var R=document.createElement(r);
R.innerHTML=W.join(f);
R.className=F+M.level;
return R;
},formatOffset:function(bi,length){var bl=bi.toString();
var bj=(length||6)-bl.length;
var bk=f;

for(var i=0;i<bj;i++){bk+=E;
}return bk+bl;
},escapeHTML:function(X){return String(X).replace(/[<>&"']/g,this.__lW);
},__lW:function(b){var c={"<":D,">":I,"&":t,"'":u,'"':p};
return c[b]||B;
},toText:function(a){return this.toTextArray(a).join(A);
},toTextArray:function(Y){var bh=[];
bh.push(this.formatOffset(Y.offset,6));

if(Y.object){var ba=Y.win.qx.core.ObjectRegistry.fromHashCode(Y.object);

if(ba){bh.push(ba.classname+n+ba.$$hash+J);
}}else if(Y.clazz){bh.push(Y.clazz.classname+v);
}var bb=Y.items;
var be,bg;

for(var i=0,bf=bb.length;i<bf;i++){be=bb[i];
bg=be.text;

if(bg instanceof Array){var bc=[];

for(var j=0,bd=bg.length;j<bd;j++){bc.push(bg[j].text);
}
if(be.type===L){bh.push(d,bc.join(m),g);
}else{bh.push(n,bc.join(m),e);
}}else{bh.push(bg);
}}return bh;
}}});
})();
(function(){var i="debug",h="log",g="qx.log.appender.Native",f="qx.client";
qx.Bootstrap.define(g,{statics:{process:qx.core.Variant.select(f,{"gecko":function(m){if(window.console&&console.firebug){console[m.level].call(console,qx.log.appender.Util.toText(m));
}},"mshtml":function(j){if(window.console){var l=j.level;

if(l==i){l=h;
}var k=qx.log.appender.Util.toText(j);
console[l](k);
}},"webkit":function(b){if(window.console){var d=b.level;

if(d==i){d=h;
}var c=qx.log.appender.Util.toText(b);
console[d](c);
}},"opera":function(e){}})},defer:function(a){if(window.console&&window.console.clear){console.clear();
}qx.log.Logger.register(a);
}});
})();
(function(){var g="String",f="qx.ui.embed.AbstractIframe",e="name",d="",c="_applySource",b="qx.event.type.Event",a="_applyFrameName";
qx.Class.define(f,{extend:qx.ui.core.Widget,construct:function(h){arguments.callee.base.call(this);

if(h){this.setSource(h);
}},events:{"load":b},properties:{source:{check:g,apply:c,nullable:true},frameName:{check:g,init:d,apply:a}},members:{_getIframeElement:function(){throw new Error("Abstract method call");
},_applySource:function(k,l){this._getIframeElement().setSource(k);
},_applyFrameName:function(i,j){this._getIframeElement().setAttribute(e,i);
},getWindow:function(){return this._getIframeElement().getWindow();
},getDocument:function(){return this._getIframeElement().getDocument();
},getBody:function(){return this._getIframeElement().getBody();
},getName:function(){return this._getIframeElement().getName();
},reload:function(){this._getIframeElement().reload();
}}});
})();
(function(){var n="qx.client",m="mousedown",l="load",k="help",j="mouseup",i="losecapture",h="contextmenu",g="none",f="display",d="repeat",E="Boolean",D="px",C="url(",B=")",A="gecko",z="div",y="__lY",x="DOMNodeInserted",w="_applyNativeHelp",v="/",t="appear",u="mshtml",r="block",s="qx.ui.embed.Iframe",p="iframe",q="absolute",o="qx/static/blank.gif";
qx.Class.define(s,{extend:qx.ui.embed.AbstractIframe,include:qx.ui.core.MNativeOverflow,construct:function(F){if(F!=null){this.__lX=F;
}arguments.callee.base.call(this,F);
qx.event.Registration.addListener(document.body,m,this.block,this,true);
qx.event.Registration.addListener(document.body,j,this.release,this,true);
qx.event.Registration.addListener(document.body,i,this.release,this,true);
this.__lY=this._createBlockerElement();
this.getContainerElement().add(this.__lY);

if(qx.core.Variant.isSet(n,A)){this.addListenerOnce(t,function(e){var c=this.getContainerElement().getDomElement();
qx.bom.Event.addNativeListener(c,x,this._onDOMNodeInserted);
});
this._onDOMNodeInserted=qx.lang.Function.listener(this._syncSourceAfterDOMMove,this);
}},properties:{appearance:{refine:true,init:p},nativeContextMenu:{refine:true,init:false},nativeHelp:{check:E,init:false,apply:w}},members:{__lX:null,__lY:null,renderLayout:function(G,top,H,I){arguments.callee.base.call(this,G,top,H,I);
var K=D;
var J=this.getInsets();
this.__lY.setStyles({"left":J.left+K,"top":J.top+K,"width":(H-J.left-J.right)+K,"height":(I-J.top-J.bottom)+K});
},_createContentElement:function(){var L=new qx.html.Iframe(this.__lX);
L.addListener(l,this._onIframeLoad,this);
return L;
},_getIframeElement:function(){return this.getContentElement();
},_createBlockerElement:function(){var O=new qx.html.Element(z);
O.setStyles({"zIndex":20,"position":q,"display":g});
if(qx.core.Variant.isSet(n,u)){O.setStyles({backgroundImage:C+qx.util.ResourceManager.getInstance().toUri(o)+B,backgroundRepeat:d});
}return O;
},_onIframeLoad:function(e){this._applyNativeContextMenu(this.getNativeContextMenu(),null);
this._applyNativeHelp(this.getNativeHelp(),null);
this.fireNonBubblingEvent(l);
},block:function(){this.__lY.setStyle(f,r);
},release:function(){this.__lY.setStyle(f,g);
},_applyNativeContextMenu:function(P,Q){if(P!==false&&Q!==false){return;
}var R=this.getDocument();

if(!R){return;
}
try{var S=R.documentElement;
}catch(e){return ;
}
if(Q===false){qx.event.Registration.removeListener(S,h,this._onNativeContextMenu,this,true);
}
if(P===false){qx.event.Registration.addListener(S,h,this._onNativeContextMenu,this,true);
}},_onNativeContextMenu:function(e){e.preventDefault();
},_applyNativeHelp:qx.core.Variant.select(n,{"mshtml":function(a,b){var document=this.getDocument();

if(!document){return;
}
try{if(b===false){qx.bom.Event.removeNativeListener(document,k,qx.lang.Function.returnFalse);
}
if(a===false){qx.bom.Event.addNativeListener(document,k,qx.lang.Function.returnFalse);
}}catch(e){}},"default":function(){}}),_syncSourceAfterDOMMove:function(){var N=this.getContentElement().getDomElement();
var M=N.src;
if(M.charAt(M.length-1)==v){M=M.substring(0,M.length-1);
}
if(M!=this.getSource()){qx.bom.Iframe.getWindow(N).stop();
N.src=this.getSource();
}}},destruct:function(){this._disposeObjects(y);
qx.event.Registration.removeListener(document.body,m,this.block,this,true);
qx.event.Registration.removeListener(document.body,j,this.release,this,true);
qx.event.Registration.removeListener(document.body,i,this.release,this,true);
}});
})();
(function(){var h="source",g="name",f="qx.html.Iframe",e="qx.event.type.Event",d="iframe";
qx.Class.define(f,{extend:qx.html.Element,construct:function(a){arguments.callee.base.call(this,d);
this._setProperty(h,a);
},events:{"load":e},members:{_applyProperty:function(name,i){arguments.callee.base.call(this,name,i);

if(name==h){var j=this.getDomElement();
qx.bom.Iframe.setSource(j,i);
}},_createDomElement:function(){return qx.bom.Iframe.create(this._content);
},getWindow:function(){var b=this.getDomElement();

if(b){return qx.bom.Iframe.getWindow(b);
}else{return null;
}},getDocument:function(){var n=this.getDomElement();

if(n){return qx.bom.Iframe.getDocument(n);
}else{return null;
}},getBody:function(){var c=this.getDomElement();

if(c){return qx.bom.Iframe.getBody(c);
}else{return null;
}},setSource:function(k){this._setProperty(h,k);
return this;
},getSource:function(){return this._getProperty(h);
},setName:function(name){this.setAttribute(g,name);
return this;
},getName:function(){return this.getAttribute(g);
},reload:function(){var m=this.getDomElement();

if(m){var l=this.getSource();
this.setSource(null);
this.setSource(l);
}}}});
})();
(function(){var e="qx.event.handler.Iframe",d="load",c="iframe";
qx.Class.define(e,{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(b){qx.event.Registration.fireEvent(b,d);
})},members:{canHandleEvent:function(l,m){return l.tagName.toLowerCase()===c;
},registerEvent:function(f,g,h){},unregisterEvent:function(i,j,k){}},defer:function(a){qx.event.Registration.addHandler(a);
}});
})();
(function(){var o="qx.client",n="webkit",m="body",l="iframe",k="qx.bom.Iframe";
qx.Class.define(k,{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(p,q){var p=p?qx.lang.Object.clone(p):{};
var r=qx.bom.Iframe.DEFAULT_ATTRIBUTES;

for(var s in r){if(p[s]==null){p[s]=r[s];
}}return qx.bom.Element.create(l,p,q);
},getWindow:qx.core.Variant.select(o,{"mshtml|gecko":function(j){try{return j.contentWindow;
}catch(f){return null;
}},"default":function(y){try{var z=this.getDocument(y);
return z?z.defaultView:null;
}catch(D){return null;
}}}),getDocument:qx.core.Variant.select(o,{"mshtml":function(b){try{var c=this.getWindow(b);
return c?c.document:null;
}catch(B){return null;
}},"default":function(w){try{return w.contentDocument;
}catch(v){return null;
}}}),getBody:function(d){try{var e=this.getDocument(d);
return e?e.getElementsByTagName(m)[0]:null;
}catch(x){return null;
}},setSource:function(g,h){try{if(this.getWindow(g)&&qx.dom.Hierarchy.isRendered(g)){try{if(qx.core.Variant.isSet(o,n)&&qx.bom.client.Platform.MAC){var i=this.getContentWindow();

if(i){i.stop();
}}this.getWindow(g).location.replace(h);
}catch(A){g.src=h;
}}else{g.src=h;
}}catch(a){qx.log.Logger.warn("Iframe source could not be set!");
}},queryCurrentUrl:function(t){var u=this.getDocument(t);

try{if(u&&u.location){return u.location.href;
}}catch(C){}return null;
}}});
})();
(function(){var m="",l="input",k="white",j="atom",i="14px sans-serif",h="submit-trouble",g="cancel-dialog",f="submitDialog",d="submit-dialog",c="If You Have Trouble",N="userLogout",M="10%",L="Recipient",K="If you have trouble contacting grFind using this dialog window, please email us at support@grfind.com",J="changeValue",I='msg',H="application/json",G="DialogWindow - unknown button was pressed ",F="Please enter all fields",E="Send Dialog",t="Submitting ... ",u="Subject",r="There is missing dialog information. We cannot continue. This should not happen.",s="Submit to <b>\"",p="Cancel",q="right",n="grfind.window.DialogWindow",o="\"</b>",v="POST",w="anonymous",z="userLogin",y="completed",B="Your email (the response will be sent to this email address)",A="requestRetry",D="Submit",C="30%";
qx.Class.define(n,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:E,resizableTop:false,showMinimize:false,showMaximize:false});
var bi=new qx.ui.window.Desktop(new qx.ui.window.Manager());
bi.set({padding:5,backgroundColor:k,font:qx.bom.Font.fromString(i)});
this.setDesktop(bi);
this.reqBox=new grfind.ReqBox();
this.mainCanvas=new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
this.mainCanvas.set({padding:10,backgroundColor:k,font:qx.bom.Font.fromString(i)});
var bg=new qx.ui.groupbox.GroupBox(B).set({contentPadding:2});
bg.setLayout(new qx.ui.layout.Canvas());
this.emailTextField=new qx.ui.form.TextField(m);
var bf=new qx.ui.groupbox.GroupBox(L).set({enabled:false,contentPadding:2});
bf.setLayout(new qx.ui.layout.Canvas());
this.recipientTextField=new qx.ui.form.TextField(m).set({enabled:false});
var bh=new qx.ui.groupbox.GroupBox(u).set({contentPadding:2});
bh.setLayout(new qx.ui.layout.Canvas());
this.subjectTextField=new qx.ui.form.TextField(m);
this.dialogEditor=new grfind.HtmlEditor(this.getDesktop()).set({backgroundColor:k});
this.emailTextField.addListener(l,function(e){this.setSenderEmail(e.getCurrentTarget().getValue());
this._updateState();
},this);
this.recipientTextField.addListener(l,function(e){this._updateState();
},this);
this.subjectTextField.addListener(l,function(e){this._updateState();
},this);
this.dialogEditor.addListener(J,function(e){this._updateState();
},this);
this.dialogEditor.addListener(l,function(e){this._updateState();
},this);
this.getApp().addListener(z,function(e){if(!this.emailTextField.getValue()){if(this.getApp().getFloatingEmail()){this.emailTextField.setValue(this.getApp().getFloatingEmail());
}}},this);
this.getApp().addListener(N,function(e){},this);
this.reqBox.addListener(A,function(e){this._saveDialog();
},this);
bg.add(this.emailTextField,{edge:0});
bf.add(this.recipientTextField,{edge:0});
bh.add(this.subjectTextField,{edge:0});
this.mainCanvas.add(bg);
this.mainCanvas.add(bf);
this.mainCanvas.add(bh);
this.mainCanvas.add(this.dialogEditor,{flex:1});
this.mainCanvas.add(this._createToolbar());
bi.add(this.mainCanvas,{edge:0});
bi.add(this.reqBox,{top:C,left:M});
this.add(bi,{edge:0});
},properties:{app:{init:null},desktop:{init:null},storeName:{init:null},storeType:{init:null},subject:{init:null},senderEmail:{init:null},senderKey:{init:null},recipientKey:{init:null}},members:{_initialize:function(ba,bb,bc,bd,be){if(ba&&bb&&bc&&bd){this.setStoreName(ba);
this.setRecipientKey(bb);
this.setStoreType(bc);
this.setSubject(bd);
}else{this.getApp().userMessage(r);
return;
}this.setSenderEmail(be);
this.setSenderKey(w);
this.open();
this._clearForm();
this.emailTextField.setValue(this.getSenderEmail());
this.recipientTextField.setValue(this.getStoreName());
this.subjectTextField.setValue(this.getSubject());
this.submitButton.setButtonLabel(s+this.getStoreName()+o);
},_updateState:function(){var bk=qx.lang.String.trim(this.emailTextField.getValue());
var bj=qx.lang.String.trim(this.recipientTextField.getValue());
var bm=qx.lang.String.trim(this.subjectTextField.getValue());
var bl=qx.lang.String.trim(this.dialogEditor.getValue());
this.submitButton.setEnabled(true);
},_clearForm:function(){this.emailTextField.setValue(m);
this.recipientTextField.setValue(m);
this.subjectTextField.setValue(m);
this.dialogEditor.setValue(m);
},_saveDialog:function(){var Q=qx.lang.String.trim(this.emailTextField.getValue());
var T=this.getRecipientKey();
var O=this.getStoreName();
var S=this.getStoreType();
var U=qx.lang.String.trim(this.subjectTextField.getValue());
var R=qx.lang.String.trim(this.dialogEditor.getValue());
if(Q&&T&&S&&O&&U&&R){var x=0;
}else{this.getApp().userMessage(F);
return;
}var P=new grfind.HttpRequest(f,v,H,6000,{'session-key':this.getApp().getSessionKey(),'sender-email':Q,'recipient':T,'store-name':O,'store-type':S,'subject':U,'dialog':R});
if(P){P.addListener(y,function(e){var b=e.getData();
this.getApp().userMessage(b[I]);
this.getApp().setFloatingEmail(this.getSenderEmail());
this.close();
},this);
this.reqBox.start(P,f,t);
}},_closeDialog:function(a){this.close();
},_createToolbar:function(){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox(15).set({alignX:q})).set({padding:2});
this.submitButton=new grfind.Button(this,j,d,D,null);
var X=new grfind.Button(this,j,h,c,null);
var Y=new grfind.Button(this,j,g,p,null);
toolbar.add(this.submitButton);
toolbar.add(X);
toolbar.add(Y);
return toolbar;
},_doButton:function(V,W){switch(V){case d:{this._saveDialog();
};
break;
case h:{this.getApp().userMessage(K);
};
break;
case g:{this.close();
};
break;
default:{this.getApp().userMessage(G+V);
};
}}}});
})();
(function(){var a="qx.ui.window.Desktop";
qx.Class.define(a,{extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.window.MDesktop,qx.ui.core.MBlocker],implement:qx.ui.window.IDesktop,construct:function(b){arguments.callee.base.call(this);
this.getContentElement().disableScrolling();
this._setLayout(new qx.ui.layout.Canvas());
this.setWindowManager(b);
}});
})();
(function(){var cp="changeValue",co="white",cn="input",cm='name',cl="click",ck="Keep Open",cj="",ci="textbackgroundcolor",ch="align-justify",cg="align-left",bu="redo",bt="outdent",bs="bold",br="insert-ol",bq="textcolor",bp="italic",bo="undo",bn="remove-format",bm="underline",bl="raw-edit",cw="font-family",cx="align-center",cu="strikethrough",cv="font-size",cs="indent",ct="insert-ul",cq="insert-table",cr="#333",cy="black",cz="aqua",bS="4%",bR="align-right",bU="orange",bT="maroon",bW="8%",bV="<tr>",bY="middle",bX="ready",bQ="#999",bP="purple",a="red",b="6%",c="Enter Color",d="blue",f="navy",g="#666",h="lime",i="#EEE",j="main",k="olive",cD="#BBB",cC="2%",cB="teal",cA="green",cH="yellow",cG="fuchsia",cF="</tr>",cE="20%",cJ="<td>First Row, Second cell</td>",cI="resource/images/htmlarea/insert_table.gif",K="resource/images/htmlarea/fontfamily.png",L="resource/images/htmlarea/align_center.gif",I="Select Font Family",J="Select Text Background Color",O="Georgia",P="Strikethrough",M="Select Font Size",N="online",G="resource/images/htmlarea/text_strikethrough.gif",H="resource/images/htmlarea/fontsize.gif",s="resource/images/htmlarea/text_bold.gif",r="Align Right",u="Enter Font Name or choose from list below",t="Redo",o="resource/images/htmlarea/redo.gif",n="Justify",q="Comic Sans MS",p="resource/images/htmlarea/remove_format.gif",m="Indent",l="Tahoma",U="resource/images/htmlarea/align_justify.gif",V="<td>First Row, First cell</td>",W="Align Left",X="Keep this window open after font selection",Q="Font Family",R="Unordered List",S="Undo",T="resource/images/htmlarea/list_unordered.gif",Y="Fontsize",ba="</tbody>",D="Italic",C="Load information from local drive",B='height',A="resource/images/htmlarea/undo.gif",z="Insert Table",y="Bold",w="Ordered List",v="Arial Black",F="Impact",E="<td>Second Row, First cell</td>",bb="Text Color",bc="resource/images/htmlarea/color_bg.gif",bd="resource/images/htmlarea/list_ordered.gif",be="edit-text",bf="Text Background Color",bg="Remove Format",bh="resource/images/htmlarea/align_right.gif",bi="Edit Raw Html",bj="Select Text Color",bk="</table>",by="atom",bx="file",bw="resource/images/htmlarea/text-plain.png",bv="resource/images/htmlarea/align_left.gif",bC="Courier",bB="Courier New",bA='completed',bz="<td>Second Row, Second cell</td>",bE="resource/images/htmlarea/indent.gif",bD="resource/images/htmlarea/color_text.gif",bL='width',bM="Underline",bJ="Edit Html as Text",bK="<tbody>",bH="Times New Roman",bI="Align Center",bF="Lucida Console",bG="grfind.HtmlEditor",bN="Arial",bO="Verdana",cb="resource/images/htmlarea/text_italic.gif",ca="Outdent",cd="<table border='1'>",cc="resource/images/htmlarea/text_underline.gif",cf="Uploaded file length exceeds 50000 characters.",ce="resource/images/htmlarea/outdent.gif";
qx.Class.define(bG,{extend:qx.ui.container.Composite,construct:function(cT){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
cT?this.setDesktop(cT):null;
this.setLayout(new qx.ui.layout.Canvas());
var cU=new qx.ui.container.Composite(new qx.ui.layout.VBox());
cU.add(this._createHtmlCanvas(),{flex:1});
this.add(cU,{edge:0});
},properties:{app:{init:null},desktop:{init:null}},members:{setValue:function(cY){cY||cY==cj?this.htmlArea.setValue(cY):null;
},getValue:function(){return this.htmlArea.getComputedValue(true);
},forceEditable:function(){this.htmlArea.forceEditable();
},_hideWindows:function(){this.fontSizeWindow?this.fontSizeWindow.close():null;
this.fontFamilyWindow?this.fontFamilyWindow.close():null;
this.textBackgroundColorWindow?this.textBackgroundColorWindow.close():null;
this.textColorWindow?this.textColorWindow.close():null;
},_showWindows:function(){this.fontSizeWindow&&this.fontSizeKeepOpenCheckBox.getValue()?this.fontSizeWindow.open():null;
this.fontFamilyWindow&&this.keepOpenCheckBox.getValue()?this.fontFamilyWindow.open():null;
this.textBackgroundColorWindow&&this.textBackgroundColorKeepOpenCheckBox.getValue()?this.textBackgroundColorWindow.open():null;
this.textColorWindow&&this.textColorKeepOpenCheckBox.getValue()?this.textColorWindow.open():null;
},_createHtmlCanvas:function(){var cV=new qx.ui.container.Composite(new qx.ui.layout.VBox());
cV.set({padding:2,decorator:null});
var cX=[[bs,s,y],[bp,cb,D],[bm,cc,bM],[cu,G,P],[cg,bv,W],[cx,L,bI],[bR,bh,r],[ch,U,n],[cs,bE,m],[bt,ce,ca],[bo,A,S],[bu,o,t],[bq,bD,bb],[ci,bc,bf],[cw,K,Q],[cv,H,Y],[br,bd,w],[ct,T,R],[cq,cI,z],[bn,p,bg],[bl,bw,bi]];
var toolbar=new qx.ui.container.Composite(new qx.ui.layout.Flow());
toolbar.set({padding:2,decorator:null});

for(var x=0;x<cX.length;x++){switch(cX[x][0]){case bs:case bp:case bm:case cu:case cg:case cx:case ch:case cs:case bt:case bq:case ci:case cw:case cv:case br:case ct:case cq:case bo:case bu:case bn:case bl:{var cW=new grfind.Button(this,by,cX[x][0],null,cX[x][1]);
cW.getBtn().set({padding:0});
cW.set({focusable:false,keepFocus:true});
cW.setToolTip(new qx.ui.tooltip.ToolTip(cX[x][2]));
toolbar.add(cW);
};
break;
default:{};
}}this.htmlArea=new qx.ui.embed.HtmlArea(cj).set({decorator:N});
this.htmlArea.addListener(bX,function(e){this.fireEvent(bX);
},this);
this.htmlArea.addListener(cn,function(e){this.fireEvent(cn);
},this);
this.descriptionUploadForm=new grfind.UploadField(C,bx);
this.descriptionUploadForm.addListener(bA,function(e){this.htmlArea.setValue(e.getData());
this.fireEvent(cp);
e.getData().length>50000?this.getApp().userMessage(cf):null;
},this);
toolbar.add(this.descriptionUploadForm);
cV.add(toolbar);
cV.add(this.htmlArea,{flex:1});
return cV;
},_createTextColorWindow:function(){this.textColorWindow=new qx.ui.window.Window();
this.textColorWindow.set({caption:bj,resizable:false,showMinimize:false,showMaximize:false});
this.getDesktop().add(this.textColorWindow,{top:cC,left:cC});
this.textColorWindow.setLayout(new qx.ui.layout.Canvas());
var de=new qx.ui.container.Composite(new qx.ui.layout.HBox(10).set({alignY:bY}));
var db=new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
db.set({padding:[5,5,8,5],backgroundColor:co});
var da=new qx.ui.container.Composite(new qx.ui.layout.Flow(2,2));
this.textColorKeepOpenCheckBox=new qx.ui.form.CheckBox(ck);
this.textColorTextField=new qx.ui.form.TextField(cj);
this.textColorTextField.set({width:75});
var dd=[bT,a,bU,cH,k,bP,cG,h,cA,f,d,cz,cB,cy,cr,g,bQ,cD,i,co];

for(var x=0;x<dd.length;x++){var dc=new qx.ui.basic.Atom();
dc.set({decorator:j,height:12,width:12,backgroundColor:dd[x],padding:[2,2,2,2],focusable:false,keepFocus:true});
dc.setUserData(cm,dd[x]);
dc.addListener(cl,function(e){this.htmlArea.setTextColor(e.getCurrentTarget().getBackgroundColor());
!this.textColorKeepOpenCheckBox.getValue()?this.textColorWindow.close():null;
this.fireEvent(cp);
},this);
da.add(dc);
}this.textColorTextField.addListener(cn,function(e){this.htmlArea.setTextColor(e.getCurrentTarget().getValue());
this.fireEvent(cp);
},this);
de.add(this.textColorKeepOpenCheckBox);
de.add(new qx.ui.basic.Label(c));
de.add(this.textColorTextField);
db.add(de);
db.add(da,{flex:1});
this.textColorWindow.add(db,{edge:0});
},_createTextBackgroundColorWindow:function(){this.textBackgroundColorWindow=new qx.ui.window.Window();
this.textBackgroundColorWindow.set({caption:J,resizable:false,showMinimize:false,showMaximize:false});
this.getDesktop().add(this.textBackgroundColorWindow,{top:bS,left:bS});
this.textBackgroundColorWindow.setLayout(new qx.ui.layout.Canvas());
var dj=new qx.ui.container.Composite(new qx.ui.layout.HBox(10).set({alignY:bY}));
var dg=new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
dg.set({padding:[5,5,8,5],backgroundColor:co});
var df=new qx.ui.container.Composite(new qx.ui.layout.Flow(2,2));
this.textBackgroundColorKeepOpenCheckBox=new qx.ui.form.CheckBox(ck);
this.textBackgroundColorTextField=new qx.ui.form.TextField(cj);
this.textBackgroundColorTextField.set({width:75});
var di=[bT,a,bU,cH,k,bP,cG,h,cA,f,d,cz,cB,cy,cr,g,bQ,cD,i,co];

for(var x=0;x<di.length;x++){var dh=new qx.ui.basic.Atom(di[x]);
var dh=new qx.ui.basic.Atom();
dh.set({decorator:j,height:12,width:12,backgroundColor:di[x],padding:[2,2,2,2],focusable:false,keepFocus:true});
dh.addListener(cl,function(e){this.htmlArea.setTextBackgroundColor(e.getCurrentTarget().getBackgroundColor());
!this.textBackgroundColorKeepOpenCheckBox.getValue()?this.textBackgroundColorWindow.close():null;
this.fireEvent(cp);
},this);
df.add(dh);
}this.textBackgroundColorTextField.addListener(cn,function(e){this.htmlArea.setTextBackgroundColor(e.getCurrentTarget().getValue());
this.fireEvent(cp);
},this);
dj.add(this.textBackgroundColorKeepOpenCheckBox);
dj.add(new qx.ui.basic.Label(c));
dj.add(this.textBackgroundColorTextField);
dg.add(dj);
dg.add(df,{flex:1});
this.textBackgroundColorWindow.add(dg,{edge:0});
},_createFontFamilyWindow:function(){this.fontFamilyWindow=new qx.ui.window.Window();
this.fontFamilyWindow.set({width:150,caption:I,resizableTop:false,showMinimize:false,showMaximize:false});
this.getDesktop().add(this.fontFamilyWindow,{top:b,left:b});
this.fontFamilyWindow.setLayout(new qx.ui.layout.Canvas());
var cM=new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
cM.set({padding:5,backgroundColor:co});
var cP=new qx.ui.container.Composite(new qx.ui.layout.Flow(4,2));
this.keepOpenCheckBox=new qx.ui.form.CheckBox(ck);
this.fontFamilyTextField=new qx.ui.form.TextField();
this.fontFamilyTextField.addListener(cn,function(e){this.htmlArea.setFontFamily(e.getCurrentTarget().getValue());
this.fireEvent(cp);
},this);
this.getApp().createTooltip(this.fontFamilyTextField,null,u);
this.getApp().createTooltip(this.keepOpenCheckBox,null,X);
var cO=[bN,v,q,bB,bC,O,F,bF,l,bH,bO];

for(var x=0;x<cO.length;x++){var cN=new qx.ui.basic.Atom(cO[x]);
cN.set({padding:[2,4,2,4],focusable:false,keepFocus:true});
cN.setUserData(cm,cO[x]);
this.getApp().highlightOnMouseOver(cN);
cN.addListener(cl,function(e){this.htmlArea.setFontFamily(e.getCurrentTarget().getUserData(cm));
!this.keepOpenCheckBox.getValue()?this.fontFamilyWindow.close():null;
this.fireEvent(cp);
},this);
cP.add(cN);
}cM.add(this.keepOpenCheckBox);
cM.add(this.fontFamilyTextField);
cM.add(cP,{flex:1});
this.fontFamilyWindow.add(cM,{edge:0});
},_createFontSizeWindow:function(){this.fontSizeWindow=new qx.ui.window.Window();
this.fontSizeWindow.set({caption:M,width:150,resizable:false,showMinimize:false,showMaximize:false});
this.getDesktop().add(this.fontSizeWindow,{top:bW,left:bW});
this.fontSizeWindow.setLayout(new qx.ui.layout.Canvas());
var cQ=new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
cQ.set({padding:5,backgroundColor:co});
var cS=new qx.ui.container.Composite(new qx.ui.layout.Flow(2,2));
this.fontSizeKeepOpenCheckBox=new qx.ui.form.CheckBox(ck);

for(var x=1;x<8;x++){var cR=new qx.ui.basic.Atom(x);
cR.set({padding:[2,4,2,4],focusable:false,keepFocus:true});
cR.setUserData(cm,x);
this.getApp().highlightOnMouseOver(cR);
cR.addListener(cl,function(e){this.htmlArea.setFontSize(e.getCurrentTarget().getUserData(cm));
!this.fontSizeKeepOpenCheckBox.getValue()?this.fontSizeWindow.close():null;
this.fireEvent(cp);
},this);
cS.add(cR);
}cQ.add(this.fontSizeKeepOpenCheckBox);
cQ.add(cS,{flex:1});
this.fontSizeWindow.add(cQ,{edge:0});
},_createEditRawHtmlWindow:function(){this.editRawHtmlWindow=new qx.ui.window.Window();
this.editRawHtmlWindow.set({caption:bJ,width:250,height:200,modal:true,resizableTop:false,showMinimize:false});
var cL=this.getApp().calculateWidthAndHeight(this.getDesktop(),0.6,0.6);
this.editRawHtmlWindow.set({width:cL[bL],height:cL[B]});
this.getDesktop().add(this.editRawHtmlWindow,{top:cE,left:cE});
this.editRawHtmlWindow.setLayout(new qx.ui.layout.Canvas());
var cK=new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
cK.set({padding:5,backgroundColor:co});
this.rawHtmlTextArea=new qx.ui.form.TextArea().set({backgroundColor:co});
this.rawHtmlTextArea.addListener(cn,function(e){this.htmlArea.setValue(e.getCurrentTarget().getValue());
this.fireEvent(cp);
},this);
cK.add(this.rawHtmlTextArea,{flex:1});
this.editRawHtmlWindow.add(cK,{edge:0});
},_doButton:function(dk){switch(dk){case be:{};
break;
case bs:{this.htmlArea.setBold();
};
break;
case bp:{this.htmlArea.setItalic();
};
break;
case bm:{this.htmlArea.setUnderline();
};
break;
case cu:{this.htmlArea.setStrikeThrough();
};
break;
case cg:{this.htmlArea.setJustifyLeft();
};
break;
case bR:{this.htmlArea.setJustifyRight();
};
break;
case cx:{this.htmlArea.setJustifyCenter();
};
break;
case ch:{this.htmlArea.setJustifyFull();
};
break;
case cs:{this.htmlArea.insertIndent();
};
break;
case bt:{this.htmlArea.insertOutdent();
};
break;
case bo:{this.htmlArea.undo();
};
break;
case bu:{this.htmlArea.redo();
};
break;
case bq:{if(!this.textColorWindow){this._createTextColorWindow();
}this.textColorWindow.open();
};
break;
case ci:{if(!this.textBackgroundColorWindow){this._createTextBackgroundColorWindow();
}this.textBackgroundColorWindow.open();
};
break;
case cw:{if(!this.fontFamilyWindow){this._createFontFamilyWindow();
}this.fontFamilyWindow.open();
};
break;
case cv:{if(!this.fontSizeWindow){this._createFontSizeWindow();
}this.fontSizeWindow.open();
};
break;
case br:{this.htmlArea.insertOrderedList();
};
break;
case ct:{this.htmlArea.insertUnorderedList();
};
break;
case cq:{var dl=cd+bK+bV+V+cJ+cF+bV+E+bz+cF+ba+bk;
this.htmlArea.insertHtml(dl);
};
break;
case bn:{this.htmlArea.removeFormat();
};
break;
case bl:{if(!this.editRawHtmlWindow){this._createEditRawHtmlWindow();
}this.editRawHtmlWindow.open();
this.rawHtmlTextArea.setValue(this.htmlArea.getComputedValue(true));
};
break;
default:{this.info("htmlEditor - invalid button name ");
};
}this.fireEvent(cp);
}}});
})();
(function(){var r="_applyLayoutChange",q="left",p="center",o="top",n="Integer",m="middle",l="bottom",k="qx.ui.layout.Flow",j="right",h="Boolean";
qx.Class.define(k,{extend:qx.ui.layout.Abstract,construct:function(s,t,u){arguments.callee.base.call(this);

if(s){this.setSpacingX(s);
}
if(t){this.setSpacingY(t);
}
if(u){this.setAlignX(u);
}},properties:{alignX:{check:[q,p,j],init:q,apply:r},alignY:{check:[o,m,l],init:o,apply:r},spacingX:{check:n,init:0,apply:r},spacingY:{check:n,init:0,apply:r},reversed:{check:h,init:false,apply:r}},members:{verifyLayoutProperty:null,renderLayout:function(E,F){var J=this._getLayoutChildren();

if(this.getReversed()){J=J.concat().reverse();
}var G=new qx.ui.layout.LineSizeIterator(J,this.getSpacingX());
var H=0;

while(G.hasMoreLines()){var I=G.computeNextLine(E);
this.__ma(I,H,E);
H+=I.height+this.getSpacingY();
}},__ma:function(v,w,x){var z=qx.ui.layout.Util;
var C=0;

if(this.getAlignX()!=q){C=x-v.width;

if(this.getAlignX()==p){C=Math.round(C/2);
}}
for(var i=0;i<v.children.length;i++){var A=v.children[i];
var D=A.getSizeHint();
var B=A.getMarginTop();
var y=A.getMarginBottom();
var top=z.computeVerticalAlignOffset(A.getAlignY()||this.getAlignY(),B+D.height+y,v.height,B,y);
A.renderLayout(C+v.gapsBefore[i],w+top,D.width,D.height);
C+=v.gapsBefore[i]+D.width;
}},_computeSizeHint:function(){return this.__mb(Infinity);
},hasHeightForWidth:function(){return true;
},getHeightForWidth:function(a){return this.__mb(a).height;
},__mb:function(b){var c=new qx.ui.layout.LineSizeIterator(this._getLayoutChildren(),this.getSpacingX());
var g=0;
var d=0;
var e=0;

while(c.hasMoreLines()){var f=c.computeNextLine(b);
e+=1;
d=Math.max(d,f.width);
g+=f.height;
}return {width:d,height:g+this.getSpacingY()*(e-1)};
}}});
})();
(function(){var a="qx.ui.layout.LineSizeIterator";
qx.Class.define(a,{extend:Object,construct:function(d,e){this.__mc=d;
this.__md=e;
this.__me=d.length>0;
this.__mf=0;
},members:{__mc:null,__md:null,__me:null,__mf:null,computeNextLine:function(f){var f=f||Infinity;

if(!this.__me){throw new Error("No more lines to compute");
}var q=this.__mc;
var o=0;
var h=0;
var p=[];
var l=[];

for(var i=this.__mf;i<q.length;i++){var n=q[i];
var r=n.getSizeHint();
var k=this.__mg(i);
var j=r.width+k;
var g=i==this.__mf;

if(!g&&h+j>f){this.__mf=i;
break;
}var m=r.height+n.getMarginTop()+n.getMarginBottom();
p.push(n);
l.push(k);
h+=j;
o=Math.max(o,m);

if(n.getLayoutProperties().lineBreak){this.__mf=i+1;
break;
}}
if(i>=q.length){this.__me=false;
}return {height:o,width:h,children:p,gapsBefore:l};
},__mg:function(b){var c=b==this.__mf;

if(c){return this.__mc[b].getMarginLeft();
}else{return Math.max(this.__mc[b-1].getMarginRight(),this.__mc[b].getMarginLeft(),this.__md);
}},hasMoreLines:function(){return this.__me;
}}});
})();
(function(){var bc="qx.event.type.Data",bb="Boolean",ba="qx.event.type.Event",Y="display",X="mousedown",W="none",V="qx.client",U="appear",T="mouseup",S="losecapture",bW="xhtml",bV="_applyUseUndoRedo",bU="focusOut",bT="height",bS="_applyMessengerMode",bR=")",bQ="InsertParagraphOnLinebreak",bP="gecko",bO="repeat",bN="undoRedoState",bj="div",bk="messengerContent",bh="__mi",bi="focused",bf="Function",bg="_applyInsertParagraphOnLinebreak",bd="PostProcess",be="width",bn="_applyInsertLinebreakOnCtrlEnter",bo="ContentType",bw="px",bu="url(",bD="DOMNodeRemoved",by="cursorContext",bJ="String",bH="htmlarea",bq="ready",bM="loadingError",bL="MessengerMode",bK="zIndex",bp="left",bs="__mk",bt="UseUndoRedo",bv="top",bx="_applyContentType",bz="qx.ui.embed.HtmlArea",bE="mshtml",bI="block",bl="position",bm="readyAfterInvalid",br="InsertLinebreakOnCtrlEnter",bC="contextmenu",bB="set",bA="qx/static/blank.gif",bG="_applyPostProcess",bF="absolute";
qx.Class.define(bz,{extend:qx.ui.core.Widget,construct:function(a,b,c){arguments.callee.base.call(this);
this._setLayout(new qx.ui.layout.Grow);
this.__ml();
this.__mh={content:a,styleInfo:b,source:c};
qx.event.Registration.addListener(document.body,X,this.block,this,true);
qx.event.Registration.addListener(document.body,T,this.release,this,true);
qx.event.Registration.addListener(document.body,S,this.release,this,true);
this.__mi=this._createBlockerElement();
this.getContainerElement().add(this.__mi);
this.__mj={};
},events:{"loadingError":bc,"messengerContent":bc,"cursorContext":bc,"ready":ba,"readyAfterInvalid":ba,"focused":ba,"focusOut":ba,"contextmenu":bc,"undoRedoState":bc},statics:{isBlockNode:function(t){return qx.bom.htmlarea.HtmlArea.isBlockNode(t);
},isParagraphParent:function(d){return qx.bom.htmlarea.HtmlArea.isParagraphParent(d);
}},properties:{contentType:{check:bJ,init:bW,apply:bx},messengerMode:{check:bb,init:false,apply:bS},insertParagraphOnLinebreak:{check:bb,init:true,apply:bg},insertLinebreakOnCtrlEnter:{check:bb,init:true,apply:bn},postProcess:{check:bf,nullable:true,init:null,apply:bG},useUndoRedo:{check:bb,init:true,apply:bV},appearance:{refine:true,init:bH}},members:{__mk:null,__mj:null,__mi:null,__mh:null,_applyContentType:function(C,D){if(this.__mk!=null){this.__mk.setContentType(C);
}else{this.__mj[bo]=C;
}},_applyMessengerMode:function(H,I){if(this.__mk!=null){this.__mk.setMessengerMode(H);
}else{this.__mj[bL]=H;
}},_applyInsertParagraphOnLinebreak:function(r,s){if(this.__mk!=null){this.__mk.setInsertParagraphOnLinebreak(r);
}else{this.__mj[bQ]=r;
}},_applyInsertLinebreakOnCtrlEnter:function(v,w){if(this.__mk!=null){this.__mk.setInsertLinebreakOnCtrlEnter(v);
}else{this.__mj[br]=v;
}},_applyPostProcess:function(z,A){if(this.__mk!=null){this.__mk.setPostProcess(z);
}else{this.__mj[bd]=z;
}},_applyUseUndoRedo:function(f,g){if(this.__mk!=null){this.__mk.setUseUndoRedo(f);
}else{this.__mj[bt]=f;
}},_createBlockerElement:function(){var E=new qx.html.Element(bj);
E.setStyle(bK,20);
E.setStyle(bl,bF);
E.setStyle(Y,W);
if(qx.core.Variant.isSet(V,bE)){E.setStyles({backgroundImage:bu+qx.util.ResourceManager.getInstance().toUri(bA)+bR,backgroundRepeat:bO});
}return E;
},__ml:function(){this.addListenerOnce(U,this.__mm);
},__mm:function(){var bX=this.getContentElement().getDomElement();
this.__mk=new qx.bom.htmlarea.HtmlArea(bX,this.__mh.content,this.__mh.styleInfo,this.__mh.source);
this.__mn();
this.__mo();

if(qx.core.Variant.isSet(V,bP)){this.__mr();
}this.addListener(U,this.forceEditable);
},__mn:function(){for(var j in this.__mj){this.__mk[bB+j](this.__mj[j]);
}},__mo:function(){this.__mk.addListener(bq,this.__mp,this);
this.__mk.addListener(bm,this.__mp,this);
this.__mk.addListener(bi,this.__mp,this);
this.__mk.addListener(bU,this.__mp,this);
this.__mk.addListener(bM,this.__mq,this);
this.__mk.addListener(by,this.__mq,this);
this.__mk.addListener(bC,this.__mq,this);
this.__mk.addListener(bN,this.__mq,this);
this.__mk.addListener(bk,this.__mq,this);
},__mp:function(e){var i=e.clone();
this.fireEvent(i.getType());
},__mq:function(e){var R=e.clone();
this.fireDataEvent(R.getType(),e.getData());
},__mr:function(){var self=this;
var F=this.getContainerElement().getDomElement();
qx.bom.Event.addNativeListener(F,bD,qx.event.GlobalError.observeMethod(function(e){self.__mk.invalidateEditor();
}));
},renderLayout:function(K,top,L,M){arguments.callee.base.call(this,K,top,L,M);
var O=bw;
var N=this.getInsets();
this.__mi.setStyle(bp,N.left+O);
this.__mi.setStyle(bv,N.top+O);
this.__mi.setStyle(be,(L-N.left-N.right)+O);
this.__mi.setStyle(bT,(M-N.top-N.bottom)+O);
},getIframeObject:function(){return this.__mk!=null?this.__mk.getIframeObject():null;
},getCommandManager:function(){return this.__mk!=null?this.__mk.getCommandManager():null;
},setValue:function(G){if(this.__mk!=null){this.__mk.setValue(G);
}},getValue:function(){return this.__mk!=null?this.__mk.getValue():null;
},getComputedValue:function(P){return this.__mk!=null?this.__mk.getHtml(P):null;
},getCompleteHtml:function(){return this.__mk!=null?this.__mk.getCompleteHtml():null;
},getContentDocument:function(){return this.__mk!=null?this.__mk.getContentDocument():null;
},getContentBody:function(){return this.__mk!=null?this.__mk.getContentBody():null;
},getContentWindow:function(){return this.__mk!=null?this.__mk.getContentWindow():null;
},getWords:function(u){return this.__mk!=null?this.__mk.getWords(u):null;
},getWordsWithElement:function(){return this.__mk!=null?this.__mk.getWordsWithElement():null;
},getTextNodes:function(){return this.__mk!=null?this.__mk.getTextNodes():null;
},isReady:function(){return this.__mk!=null?this.__mk.isReady():false;
},forceEditable:function(){if(this.__mk!=null){this.__mk.forceEditable();
}},isLoaded:function(){return this.__mk!=null?this.__mk.isLoaded():false;
},setEditable:function(Q){if(this.__mk!=null){this.__mk.setEditable(Q);
}},getEditable:function(){return this.__mk!=null?this.__mk.getEditable():false;
},isEditable:function(){return this.__mk!=null?this.__mk.isEditable():false;
},insertHtml:function(B){return this.__mk!=null?this.__mk.insertHtml(B):false;
},removeFormat:function(){return this.__mk!=null?this.__mk.removeFormat():false;
},setBold:function(){return this.__mk!=null?this.__mk.setBold():false;
},setItalic:function(){return this.__mk!=null?this.__mk.setItalic():false;
},setUnderline:function(){return this.__mk!=null?this.__mk.setUnderline():false;
},setStrikeThrough:function(){return this.__mk!=null?this.__mk.setStrikeThrough():false;
},setFontSize:function(y){return this.__mk!=null?this.__mk.setFontSize(y):false;
},setFontFamily:function(n){return this.__mk!=null?this.__mk.setFontFamily(n):false;
},setTextColor:function(o){return this.__mk!=null?this.__mk.setTextColor(o):false;
},setTextBackgroundColor:function(J){return this.__mk!=null?this.__mk.setTextBackgroundColor(J):false;
},setJustifyLeft:function(){return this.__mk!=null?this.__mk.setJustifyLeft():false;
},setJustifyCenter:function(){return this.__mk!=null?this.__mk.setJustifyCenter():false;
},setJustifyRight:function(){return this.__mk!=null?this.__mk.setJustifyRight():false;
},setJustifyFull:function(){return this.__mk!=null?this.__mk.setJustifyFull():false;
},insertIndent:function(){return this.__mk!=null?this.__mk.insertIndent():false;
},insertOutdent:function(){return this.__mk!=null?this.__mk.insertOutdent():false;
},insertOrderedList:function(){return this.__mk!=null?this.__mk.insertOrderedList():false;
},insertUnorderedList:function(){return this.__mk!=null?this.__mk.insertUnorderedList():false;
},insertHorizontalRuler:function(){return this.__mk!=null?this.__mk.insertHorizontalRuler():false;
},insertImage:function(h){return this.__mk!=null?this.__mk.insertImage(h):false;
},insertHyperLink:function(x){return this.__mk!=null?this.__mk.insertHyperLink(x):false;
},removeBackgroundColor:function(){return this.__mk!=null?this.__mk.removeBackgroundColor():false;
},setBackgroundColor:function(p){return this.__mk!=null?this.__mk.setBackgroundColor(p):false;
},removeBackgroundImage:function(){return this.__mk!=null?this.__mk.removeBackgroundImage():false;
},setBackgroundImage:function(k,l,m){return this.__mk!=null?this.__mk.setBackgroundImage(k,l,m):false;
},selectAll:function(){return this.__mk!=null?this.__mk.selectAll():false;
},undo:function(){return this.__mk!=null?this.__mk.undo():false;
},redo:function(){return this.__mk!=null?this.__mk.redo():false;
},resetHtml:function(){if(this.__mk!=null){this.__mk.resetHtml();
}},getHtml:function(q){return this.__mk!=null?this.__mk.getHtml(q):null;
},containsOnlyPlaceholder:function(){return this.__mk!=null?this.__mk.containsOnlyPlaceHolder():false;
},getContextInformation:function(){return this.__mk!=null?this.__mk.getContextInformation():null;
},getSelection:function(){return this.__mk!=null?this.__mk.getSelection():null;
},getSelectedText:function(){return this.__mk!=null?this.__mk.getSelectedText():null;
},getSelectedHtml:function(){return this.__mk!=null?this.__mk.getSelectedHtml():null;
},clearSelection:function(){if(this.__mk!=null){this.__mk.clearSelection();
}},getRange:function(){return this.__mk.getRange();
},saveRange:function(){this.__mk.saveRange();
},getSavedRange:function(){return this.__mk.getSavedRange();
},resetSavedRange:function(){this.__mk.resetSavedRange();
},getFocusNode:function(){return this.__mk!=null?this.__mk.getFocusNode():null;
},block:function(){this.__mi.setStyle(Y,bI);
},release:function(){this.__mi.setStyle(Y,W);
}},destruct:function(){this._disposeObjects(bh,bs);
this.__mj=this.__mh=null;
qx.event.Registration.removeListener(document.body,X,this.block,this,true);
qx.event.Registration.removeListener(document.body,T,this.release,this,true);
qx.event.Registration.removeListener(document.body,S,this.release,this,true);
}});
})();
(function(){var eJ="qx.client",eI="",eH="mshtml",eG="gecko",eF="qx.event.type.Data",eE="enter",eD="qx.event.type.Event",eC=" ",eB='"',eA="left",dr="Boolean",dq="text-align",dp="right",dn="qx.bom.htmlarea.HtmlArea.debug",dm="on",dl="inserthtml",dk="string",dj="italic",di="body",dh="underline",eQ="old_id",eR="b",eO="loadingError",eP="contextmenu",eM="pageup",eN="end",eK="div",eL='On',eS="redo",eT="i",eh="opera",eg="backspace",ej="bold",ei="mouseup",em="y",ek="down",eo="style",en="100%",ef='</head>',ee='<head>',bw="k",bx=":",by='redo',bz='Off',bA="g",bB="keypress",bC=";",bD="undo",bE="text-decoration",bF="pagedown",fi="justify",fh="center",fg='</style>',ff="u",fm="focus",fl="backgroundimage",fk="click",fj='<style type="text/css">',fo="up",fn="blur",cw="None",cx="control",cu="delete",cv="'",cA=">",cB='</body></html>',cy="line-through",cz="z",cs="keydown",ct="keyup",bY="backgroundcolor",bX="focusout",cb="webkit",ca="mshtml|opera",bU="-",bT="backgroundColor",bW="li",bV='undo',bS="<br class='webkit-block-placeholder' />",bR="textbackgroundcolor",cG="Function",cH="fontSize",cI="textcolor",cJ="br",cC="home",cD="<",cE="focused",cF="fontFamily",cK="load",cL="setUnderline",ck="backgroundPosition",cj="<!--",ci="transparent",ch='/www.w3.org/1999/xhtml" xml:lang="en" lang="en">',cg="'>",cf="__mA",ce='underline',cd='bold',cp="&copy;",co="ul",cM="cursorContext",cN="readyAfterInvalid",cO="styleWithCSS",cP=" />",cQ="id",cR="setBold",cS="P",cT="<P>&nbsp;</P>",cU="</",cV="qx/static/blank.html",dz="&gt;",dy='="',dx="paddingLeft",dw="X",dD="#",dC="backgroundRepeat",dB="insertimage",dA="a",dG="&amp;",dF="removeformat",ea="marginLeft",eb="ready",dX="<p>&nbsp;</p>",dY='DOCTYPE html PUBLIC "-/',dV="outline",dW=" html, body {overflow-x: visible; } ",dT='<body>',dU="insertorderedlist",ec='body { font-size:100.01%; font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; background-color:transparent; overflow:visible; background-image:none; margin:0px; padding:5px; } ',ed="font-family",es="hideFocus",er="none",eu='/DTD XHTML 1.0 Transitional/',et='<html xmlns="http:/',ew="S",ev="fontsize",ez="setItalic",ey="font-style",eq="xhtml",ep="focusOut",fb="justifyleft",fc="paddingTop",fd="marginBottom",fe='<title></title><meta http-equiv="Content-type" content="text/html; charset=UTF-8" />',eW="Control",eX='/W3C/',eY="placeholder",fa='size',eU="backgroundImage",eV="marginTop",bv="> ",bu=" { ",bt="font-weight",bs="LI",br='italic',bq='<!',bp="off",bo="&quot;",bn="marginRight",bm="STYLE",bI="justifyfull",bJ="inserthyperlink",bG="<br />",bH='html { margin:0px; padding:0px; } ',bM="<br>",bN='/EN" "http:/',bK="justifycenter",bL="<br /><div id='placeholder'></div>",bP="useCSS",bQ="object",dH="strikethrough",dE="font-size",dO="indent",dK="text/html",du="true",ds="1.9",cc=' style="',dv="messengerContent",cn="insertunorderedlist",cl="Text",cY="&lt;",da="inserthorizontalrule",db='<br/><div class="placeholder"></div>',dc="selectall",dd="String",de=" SCRIPT STYLE DIV SPAN TR TD TBODY TABLE EM STRONG FONT A P B I U STRIKE H1 H2 H3 H4 H5 H6 ",df="justifyright",dg='/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',cW="ol",cX="//text()[string-length(normalize-space(.))>0]",dt="outdent",dN="fontfamily",dM="<body style='",dL="qx.bom.htmlarea.HtmlArea",dS="paddingBottom",dR="$",dQ="-->",dP=" }",dJ="paddingRight",dI='html { width:100%; height:100%; margin:0px; padding:0px; overflow-y:auto; overflow-x:auto; } ',bO="Off",cr='p { margin:0px; padding:0px; }',cq='body { font-size: 100.01%; font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; width:100%; height:100%; background-color:transparent; overflow:auto; background-image:none; margin:0px; padding:5px; } ';
qx.Class.define(dL,{extend:qx.core.Object,construct:function(ba,bb,bc,bd){arguments.callee.base.call(this);
var bf=bd||qx.util.ResourceManager.getInstance().toUri(cV);
this.__mU(ba);
this.__mV();
this._createAndAddIframe(bf);
this._addIframeLoadListener();
this.__ms=qx.bom.htmlarea.HtmlArea.__mB(bc);
this.__mt=qx.lang.Function.bind(this._handleFocusEvent,this);
this.__mu=qx.lang.Function.bind(this._handleBlurEvent,this);
this.__mv=qx.lang.Function.bind(this._handleFocusOutEvent,this);
this.__mw=qx.lang.Function.bind(this._handleMouseUpOnBody,this);
this.__mx=qx.lang.Function.bind(this._handleMouseUpOnDocument,this);
this.__my=qx.lang.Function.bind(this._handleContextMenuEvent,this);
if(typeof bb===dk){this.__mz=bb;
}if(qx.core.Variant.isSet(eJ,eh)){var be=qx.dom.Node.getWindow(ba);
var bg=qx.event.Registration.getManager(be).getHandler(qx.event.handler.Keyboard);
bg._keyCodeToIdentifierMap[35]=dD;
bg._keyCodeToIdentifierMap[45]=bU;
bg._keyCodeToIdentifierMap[112]=cS;
bg._keyCodeToIdentifierMap[115]=ew;
bg._keyCodeToIdentifierMap[120]=dw;
}this.__mA=this.__nf();
},events:{"load":eD,"loadingError":eF,"messengerContent":eF,"cursorContext":eF,"ready":eD,"readyAfterInvalid":eD,"focused":eD,"focusOut":eD,"contextmenu":eF,"undoRedoState":eF},statics:{simpleLinebreak:bM,EMPTY_DIV:"<div></div>",GetWordsRegExp:/([^\u0000-\u0040\u005b-\u005f\u007b-\u007f]|['])+/g,CleanupWordsRegExp:/[\u0000-\u0040]/gi,hotkeyInfo:{bold:{method:cR},italic:{method:ez},underline:{method:cL},undo:{method:bD},redo:{method:eS}},__mB:function(gi){if(gi==null||gi==eI){return eI;
}else if(typeof gi==bQ){var gj=eI;

for(var i in gi){gj+=i+bu+gi[i]+dP;
}return gj;
}else{return gi;
}},__mC:function(fy){var fz={};
var a=fy.split(bC);
var i;

for(i=0;i<a.length;i++){var fA=a[i],fB=fA.indexOf(bx);

if(fB===-1){continue;
}var name=qx.lang.String.trim(fA.substring(0,fB));
var fC=qx.lang.String.trim(fA.substring(fB+1,fA.length));

if(name&&fC){fz[name]=fC;
}}return fz;
},__mD:function(v,w,x,y){var D=[];

switch(v.nodeType){case 1:case 11:var i;
var B=v.tagName.toLowerCase();
var F={};
var z={};
var closed=(!(v.hasChildNodes()||qx.bom.htmlarea.HtmlArea.__mE(v)));

if(w){if(qx.core.Variant.isSet(eJ,eH)){if(B==eK&&v.className&&v.className==eY){for(i=v.firstChild;i;i=i.nextSibling){D.push(qx.bom.htmlarea.HtmlArea.__mD(i,true,x,y));
}return D.join(eI);
}}var E=v.attributes;
var C=E.length;
var a;

for(i=0;i<C;i++){a=E[i];
if(!a.specified){continue;
}var name=qx.dom.Node.getName(a);
var G=a.nodeValue;
if(/(_moz|contenteditable)/.test(name)){continue;
}
if(name!=eo){if(qx.bom.client.Engine.MSHTML){if(name==cQ&&v.getAttribute(eQ)){G=v.getAttribute(eQ);
}else if(!isNaN(G)){G=v.getAttribute(name);
}else{G=a.nodeValue;
}}else{G=a.nodeValue;
}}else{G=v.style.cssText;
}
if(/(_moz|^$)/.test(G)){continue;
}if(name==eQ){continue;
}if(!G){continue;
}if(name.charAt(0)===dR){continue;
}F[name]=G;
}if(F.style!==undefined){z=qx.bom.htmlarea.HtmlArea.__mC(F.style);
delete F.style;
}if(y){var A={domElement:v,tag:B,attributes:F,styles:z};
y(A);
A.domElement=null;
B=A.tag;
}if(B){D.push(cD,B);
for(var name in F){var G=F[name];
D.push(eC,name,dy,G.toString().replace(new RegExp(eB,bA),cv),eB);
}if(!qx.lang.Object.isEmpty(z)){D.push(cc);

for(var name in z){var G=z[name];
D.push(name,bx,G.toString().replace(new RegExp(eB,bA),cv),bC);
}D.push(eB);
}D.push(closed?cP:cA);
}}for(i=v.firstChild;i;i=i.nextSibling){D.push(qx.bom.htmlarea.HtmlArea.__mD(i,true,x,y));
}if(w&&!closed&&B){D.push(cU,B,cA);
}break;
case 3:D.push(x?v.data:qx.bom.htmlarea.HtmlArea.__mF(v.data));
break;
case 8:D.push(cj,v.data,dQ);
break;
}return D.join(eI);
},closingTags:de,__mE:function(gX){return (qx.bom.htmlarea.HtmlArea.closingTags.indexOf(eC+gX.tagName+eC)!=-1);
},__mF:function(s){s=s.replace(/&/ig,dG);
s=s.replace(/</ig,cY);
s=s.replace(/>/ig,dz);
s=s.replace(/\x22/ig,bo);
s=s.replace(/\xA9/ig,cp);
return s;
},isBlockNode:function(fH){if(!qx.dom.Node.isElement(fH)){return false;
}fH=qx.dom.Node.getName(fH);
return /^(body|form|textarea|fieldset|ul|ol|dl|li|div|p|h[1-6]|quote|pre|table|thead|tbody|tfoot|tr|td|th|iframe|address|blockquote)$/.test(fH);
},isParagraphParent:function(ht){if(!qx.dom.Node.isElement(ht)){return false;
}ht=qx.dom.Node.getName(ht);
return /^(body|td|th|caption|fieldset|div)$/.test(ht);
}},properties:{contentType:{check:dd,init:eq},messengerMode:{check:dr,init:false},insertParagraphOnLinebreak:{check:dr,init:true},insertLinebreakOnCtrlEnter:{check:dr,init:true},postProcess:{check:cG,nullable:true,init:null},useUndoRedo:{check:dr,init:true}},members:{__mG:null,__mH:false,__mI:false,__mJ:false,__mK:false,__mL:false,__mA:null,__mM:null,__mN:null,__mO:null,__mP:null,__mt:null,__mu:null,__mv:null,__mw:null,__mx:null,__my:null,__ms:null,__mQ:null,__mR:null,__mS:false,__mT:false,__mU:function(Y){if(qx.dom.Node.isElement(Y)&&qx.dom.Node.isNodeName(Y,eK)){this.__mG=Y;
}},_createAndAddIframe:function(n){this.__mP=qx.bom.Iframe.create();
qx.bom.Iframe.setSource(this.__mP,n);
if(qx.core.Variant.isSet(eJ,eH)){qx.bom.element.Attribute.set(this.__mP,es,du);
}else{qx.bom.element.Style.set(this.__mP,dV,er);
}qx.bom.element.Style.setStyles(this.__mP,{width:en,height:en});
qx.dom.Element.insertBegin(this.__mP,this.__mG);
},_getIframeDocument:function(){return qx.bom.Iframe.getDocument(this.__mP);
},_getIframeWindow:function(){return qx.bom.Iframe.getWindow(this.__mP);
},_addIframeLoadListener:function(){qx.event.Registration.addListener(this.__mP,cK,this._loaded,this);
},__mV:function(){this.__mQ={"xhtml":{doctype:bq+dY+eX+eu+bN+dg,html:et+ch,meta:fe,style:qx.core.Variant.select(eJ,{"mshtml":bH+cq,"default":dI+ec}),contentStyle:cr,body:dT,footer:cB}};
},__mz:eI,getIframeObject:function(){return this.__mP;
},getCommandManager:function(){return this.__mA;
},setValue:function(hq){if(typeof hq===dk){this.__mz=hq;
var hr=this._getIframeDocument();

if(hr&&hr.body){hr.body.innerHTML=hq;
}}},getValue:function(){return this.__mz;
},getComputedValue:function(m){return this.getHtml(m);
},getCompleteHtml:function(){var fq=this.__mQ[this.getContentType()];
var fp=fq.html+ee+fq.meta+fj+fq.contentStyle+fg+ef;
fp+=dM+this.__mW()+cg;
fp+=this.getHtml()+cB;
return fp;
},__mW:function(){var gs=[bT,eU,dC,ck,cF,cH,eV,fd,ea,bn,fc,dS,dx,dJ];
var gr=qx.bom.element.Style;
var gq=this.getContentBody();
var gv={};
var gu,gw;
var gt=qx.bom.client.Engine.MSHTML?2:1;

for(var i=0,j=gs.length;i<j;i++){gu=gs[i];
gw=gr.get(gq,gu,gt);

if(gw!==undefined&&gw!=eI){gv[gu]=gw;
}}return qx.bom.element.Style.compile(gv);
},getContentDocument:function(){if(this.__mH){return this._getIframeDocument();
}},getContentBody:function(){if(this.__mH){return this._getIframeDocument().body;
}},getContentWindow:function(){if(this.__mH){return this._getIframeWindow();
}},getWords:function(ge){if(!ge){ge=this.getContentBody();
}
if(!ge){return [];
}var gg=ge.cloneNode(true);
gg.innerHTML=gg.innerHTML.replace(/>/gi,bv);
gg.innerHTML=gg.innerHTML.replace(/\n/gi,eC);
gg.innerHTML=gg.innerHTML.replace(/<!--.*-->/gi,eI);
var gf=qx.core.Variant.isSet(eJ,ca)?gg.innerText:gg.textContent;
var gh=gf.match(qx.bom.htmlarea.HtmlArea.GetWordsRegExp);
return !gh?[]:gh;
},getWordsWithElement:function(){var d=this.getTextNodes();
var k={};
var i,j,l,f,c;

for(var i=0,h=d.length;i<h;++i){f=d[i];
l=f.nodeValue.split(eC);

for(var j=0,g=l.length;j<g;++j){c=this._cleanupWord(l[j]);

if(c!=null&&c.length>1){if(!k[c]){k[c]=[];
}k[c].push(f);
}}}return k;
},_cleanupWord:function(fI){if(!fI){return null;
}return fI.replace(qx.bom.htmlarea.HtmlArea.CleanupWordsRegExp,eI);
},getTextNodes:function(){return this._fetchTextNodes(this.getContentBody());
},_fetchTextNodes:function(hE){var hG=[];
var hF;
if(hE.hasChildNodes){for(var i=0;i<hE.childNodes.length;i++){hF=this._fetchTextNodes(hE.childNodes[i]);
qx.lang.Array.append(hG,hF);
}}if(hE.nodeType==3){if(hE.nodeValue.length>1){hG.push(hE);
}}return hG;
},__mX:0,__mY:function(){var hg=this._getIframeDocument();
if(!hg){this.__mX++;

if(this.__mX>5){this.error('cant load HtmlArea. Document is not available. '+hg);
this.fireDataEvent(eO);
}else{{};
qx.event.Timer.once(function(){this.__mY();
},this,0);
}}else{this.__mX=0;
this._onDocumentIsReady();
}},_loaded:function(e){if(this.__mJ){return;
}
if(this.__mI){this.__na();
return;
}if(qx.core.Variant.isSet(eJ,eH)){this.__mY();
}else{this._onDocumentIsReady();
}},isReady:function(){return this.__mH;
},_onDocumentIsReady:function(){var hD=new qx.bom.htmlarea.manager.Command(this);

if(this.getUseUndoRedo()){hD=new qx.bom.htmlarea.manager.UndoRedo(hD,this);
}this.__mJ=true;
if(qx.core.Variant.isSet(eJ,eH)){this.setEditable(true);
}this.__nd();
this.__ne();
if(!qx.core.Variant.isSet(eJ,eH)){this.setEditable(true);
}this.__mH=true;
this.__mA=hD;
hD.setContentDocument(this._getIframeDocument());
this.__ng();
this.fireEvent(eb);
},forceEditable:qx.core.Variant.select(eJ,{"gecko":function(){var gA=this._getIframeDocument();

if(gA){if(qx.bom.client.Engine.VERSION>=ds){gA.designMode=bO;
gA.body.contentEditable=false;
gA.body.contentEditable=true;
}else{gA.body.contentEditable=true;
this.__nh(true);
}}},"default":qx.lang.Function.empty}),invalidateEditor:qx.core.Variant.select(eJ,{"gecko":function(){this.__mJ=false;
this.__mH=false;
this.__mI=true;
},"default":function(){}}),__na:qx.core.Variant.select(eJ,{"gecko":function(){this.__nd();
this.__ne();
this.__mA.setContentDocument(this._getIframeDocument());
this.setEditable(true);
this.forceEditable();
this.__mJ=true;
this.__mH=true;
this.__mI=false;
this.fireEvent(cN);
},"default":function(){}}),__nb:function(hh){var hj=eI;

if(!hh){return hj;
}
try{var hi=hh.getAttribute(eo);

if(!hi){return hj;
}if(qx.core.Variant.isSet(eJ,eH)){hj=hi.cssText;
}else{hj=hi;
}}catch(b){this.error("can't extract style from elem. ");
}return hj;
},__nc:function(hx){var hy=qx.bom.client.Engine.GECKO?dW:eI;
var hz=this.__mQ[this.getContentType()];
var hA=ee+hz.meta+fj+hy+hz.style+hz.contentStyle+this.__ms+fg+ef;
var content=hz.body+hx;
return hz.html+hA+content+hz.footer;
},__nd:function(){var hl=this.getValue();

if(typeof hl==dk){var hk=this._getIframeDocument();

try{hk.open(dK,true);
hk.write(this.__nc(hl));
hk.close();
}catch(e){this.error("cant open document on source '"+qx.bom.Iframe.queryCurrentUrl(this.__mP)+"'",e);
this.fireDataEvent(eO,e);
}}},__ne:function(){var M=qx.event.Registration;
var K=this._getIframeDocument();
M.addListener(K.body,bB,this._handleKeyPress,this);
M.addListener(K.body,ct,this._handleKeyUp,this);
M.addListener(K.body,cs,this._handleKeyDown,this);
var L=qx.bom.client.Engine.WEBKIT?this._getIframeWindow():K.body;
M.addListener(L,fm,this.__mt,this);
M.addListener(L,fn,this.__mu,this);
M.addListener(K,bX,this.__mv,this);
var J=qx.bom.client.Engine.MSHTML?fk:ei;
M.addListener(K.body,J,this.__mw,this);
M.addListener(K.documentElement,J,this.__mx,this);
M.addListener(K.documentElement,eP,this.__my,this);
},__nf:function(){if(this.__mM==null){this.__mM={execute:function(gk,gl){this.stackedCommands=true;
this.commandStack.push({command:gk,value:gl});
},commandStack:[],stackedCommands:false};
}this.__mM.stackedCommands=false;
return this.__mM;
},__ng:function(){var hB=this.__mM;

if(hB!=null&&hB.stackedCommands){var hC=hB.commandStack;

if(hC!=null){for(var i=0,j=hC.length;i<j;i++){this.__mA.execute(hC[i].command,hC[i].value);
}}}},__nh:function(gR){var gS=this._getIframeDocument();

if(this.__mJ&&gS){try{if(qx.core.Variant.isSet(eJ,eG)){gS.designMode=(gR!==false)?bz:eL;
}gS.designMode=(gR!==false)?eL:bz;
}catch(e){}}},setEditable:function(fw){if(this.__mJ){this.__nh(true);
if(qx.core.Variant.isSet(eJ,eG)){try{var fx=this._getIframeDocument();
fx.execCommand(cO,false,true);
}catch(gP){try{var fx=this._getIframeDocument();
fx.execCommand(bP,false,false);
}catch(hn){if(!this.__mH){this.error("Failed to enable rich edit functionality");
this.fireDataEvent(eO,hn);
}else{throw new Error("Failed to enable rich edit functionality");
}}}}this.__mK=fw;
}},getEditable:function(){return this.__mK;
},isEditable:function(){return this.__mK;
},__ni:false,_handleKeyUp:function(e){var N=e.getKeyIdentifier().toLowerCase();
var P=e.isCtrlPressed();
this.__mN=e;

if(false&&qx.core.Setting.get(dn)==dm){this.debug(e.getType()+" | "+N);
}if(qx.core.Variant.isSet(eJ,eH)){if(this.__ni){switch(N){case eE:if(this.getInsertLinebreakOnCtrlEnter()){var O=this.__nq(this.getSelection());

if(O){O.collapse(true);
O.pasteHTML(db);
}this.__nl();
}break;
case cx:this.__ni=false;
return;
break;
}}}else if(qx.core.Variant.isSet(eJ,eG)){switch(N){case eA:case dp:case fo:case ek:case eM:case bF:case cu:case eN:case eg:this.__mL=(this.getFocusNode()==this.getContentBody().firstChild);
break;
}}else if(qx.core.Variant.isSet(eJ,cb)){if(P){if(this.getInsertLinebreakOnCtrlEnter()&&N==eE){this.__nj();
e.preventDefault();
e.stopPropagation();
this.__nl();
}this.__ni=false;
}}},__nj:function(){var gN=this.getSelection();
var gO=eI;
if(gN&&(gN.focusNode.textContent==eI||gN.focusNode.parentElement.tagName==bs)){gO=bS;
}this.__mA.execute(dl,gO+qx.bom.htmlarea.HtmlArea.simpleLinebreak);
},_handleKeyDown:qx.core.Variant.select(eJ,{"mshtml|webkit":function(e){var bl=e.getKeyIdentifier().toLowerCase();

if(false&&qx.core.Setting.get(dn)==dm){}if(this.__ni&&(bl==cz||bl==em||bl==eR||bl==ff||bl==eT||bl==bw)){e.preventDefault();
e.stopPropagation();
}if(bl==cx){this.__ni=true;
}},"default":function(e){}}),_handleKeyPress:function(e){var gF=this.getContentDocument();
var gB=e.getKeyIdentifier().toLowerCase();
var gD=e.isCtrlPressed();
var gE=e.isShiftPressed();
this.__mN=e;

if(false&&qx.core.Setting.get(dn)==dm){this.debug(e.getType()+" | "+gB);
}if(this.__mS){var gM=!(qx.core.Variant.isSet(eJ,eH)&&gB==eE)||!(qx.core.Variant.isSet(eJ,eG)&&gB==eE);

if(gM){this.__nl();
this.__mS=false;
}}
switch(gB){case eE:if(!gE&&!gD&&this.getMessengerMode()){e.preventDefault();
e.stopPropagation();
var gK=new qx.event.type.Data(dv,this.getComputedValue());
this.dispatchEvent(gK,true);
this.resetHtml();
}if(gD){if(!this.getInsertLinebreakOnCtrlEnter()){return;
}e.preventDefault();
e.stopPropagation();

if(qx.core.Variant.isSet(eJ,eG)){if(this.__no()){this.insertHtml(bG);
this.__nl();
return;
}this.insertHtml(bL);
}else if(qx.core.Variant.isSet(eJ,eh)){var gL=this.getSelection();
var gG=this.__nq(gL);

if(gL&&gG){var gH=gF.createElement(cJ);
gG.collapse(true);
gG.insertNode(gH);
gG.collapse(true);
gG.selectNode(gH);
gL.addRange(gG);
gG.collapse(true);
}}this.__nl();
}if(qx.core.Variant.isSet(eJ,eH)){if(!this.getInsertParagraphOnLinebreak()){if(this.__mA.execute(dl,qx.bom.htmlarea.HtmlArea.simpleLinebreak)){this.__nl();
e.preventDefault();
e.stopPropagation();
}}}else if(qx.core.Variant.isSet(eJ,eG)){if(this.getInsertParagraphOnLinebreak()&&!gE&&!gD){var gL=this.getSelection();

if(gL){var gC=gL.focusNode;
if(this.__no()){this.__nl();
return;
}if(this.__np()){this.__nl();
return;
}while(!qx.dom.Node.isNodeName(gC,di)){if(qx.dom.Node.isNodeName(gC,bW)){this.__nl();
return;
}gC=gC.parentNode;
}}this.__mA.insertParagraphOnLinebreak();
e.preventDefault();
e.stopPropagation();
this.__nl();
this.__mS=true;
}}else if(qx.core.Variant.isSet(eJ,cb)){if(this.getInsertParagraphOnLinebreak()&&gE){this.__nj();
e.preventDefault();
e.stopPropagation();
this.__nl();
}}break;
case fo:if(qx.bom.client.Engine.GECKO&&qx.bom.client.Engine.FULLVERSION<1.9&&gE){var gL=this.getSelection();
if(gL&&gL.focusNode==gF.body.firstChild){if(this.__mL){if(gL.focusOffset!=0){gL.extend(gL.focusNode,0);
}}}}break;
case cC:if(qx.bom.client.Engine.GECKO&&qx.bom.client.Engine.FULLVERSION<1.9){if(gD){var gL=this.getSelection();
if(gE){if(gL&&(gL.focusOffset!=0)||(gL.focusNode!=gF.body.firstChild)){gL.extend(gF.body.firstChild,0);
}}else{var gI=null;
var gJ;
if(gF){gI=gF.evaluate(cX,gF.body,null,XPathResult.ANY_TYPE,null);
}
if(gI&&gL){while(gJ=gI.iterateNext()){if(gJ&&gJ.parentNode&&gJ.parentNode.tagName!=bm){try{gL.extend(gJ,0);

if(!this.isSelectionCollapsed()){gL.collapseToStart();
}}catch(e){}break;
}}}}}}this.__nl();
break;
case eA:case dp:case ek:case eM:case bF:case cu:case eN:case eg:this.__nl();
break;
case eR:if(gD){this.__nk(cd,true);
}break;
case eT:case bw:if(gD){this.__nk(br,true);
}break;
case ff:if(gD){this.__nk(ce,true);
}break;
case cz:if(gD&&!gE){this.__nk(bV,true);
}else if(gD&&gE){this.__nk(by,true);
}break;
case em:if(gD){this.__nk(by,true);
}break;
case dA:if(gD){this.selectAll();
}break;
}this.__mN=null;
},__nk:function(gm,gn){var gp=null;
var go=qx.bom.htmlarea.HtmlArea.hotkeyInfo;

if(go[gm]){gp=go[gm].method;
}
if(gp!=null&&this[gp]){this[gp]();

if(gn){this.__mN.preventDefault();
this.__mN.stopPropagation();
}
if(this.isSelectionCollapsed()){this.__mS=true;
}this.__nl();
}},_handleFocusEvent:function(e){this.__mO=null;
this.fireEvent(cE);
},_handleBlurEvent:function(e){this.__mz=this.getComputedValue();
},_handleFocusOutEvent:function(e){if(this.__mO==null){this.__mO=this.getSelectedHtml();
}this.fireEvent(ep);
},_handleMouseUpOnBody:function(e){if(false&&qx.core.Setting.get(dn)==dm){this.debug("handleMouse "+e.getType());
}this.__mT=true;
this.__nl();
},_handleMouseUpOnDocument:qx.core.Variant.select(eJ,{"mshtml":function(e){},"default":function(e){if(!this.__mT){qx.bom.Element.activate(this.getContentBody());
}this.__mT=false;
}}),_handleContextMenuEvent:function(e){var q=e.getViewportLeft();
var p=e.getViewportTop();
var r=qx.bom.element.Location.getLeft(this.__mG)+q;
var t=qx.bom.element.Location.getTop(this.__mG)+p;
var o={x:r,y:t,relX:q,relY:p,target:e.getTarget()};
e.preventDefault();
e.stopPropagation();
qx.event.Timer.once(function(){this.fireDataEvent(eP,o);
},this,0);
},isLoaded:function(){return this.__mJ;
},insertHtml:function(S){return this.__mA.execute(dl,S);
},removeFormat:function(){return this.__mA.execute(dF);
},setBold:function(){return this.__mA.execute(ej);
},setItalic:function(){return this.__mA.execute(dj);
},setUnderline:function(){return this.__mA.execute(dh);
},setStrikeThrough:function(){return this.__mA.execute(dH);
},setFontSize:function(gd){return this.__mA.execute(ev,gd);
},setFontFamily:function(R){return this.__mA.execute(dN,R);
},setTextColor:function(bh){return this.__mA.execute(cI,bh);
},setTextBackgroundColor:function(he){return this.__mA.execute(bR,he);
},setJustifyLeft:function(){return this.__mA.execute(fb);
},setJustifyCenter:function(){return this.__mA.execute(bK);
},setJustifyRight:function(){return this.__mA.execute(df);
},setJustifyFull:function(){return this.__mA.execute(bI);
},insertIndent:function(){return this.__mA.execute(dO);
},insertOutdent:function(){return this.__mA.execute(dt);
},insertOrderedList:function(){return this.__mA.execute(dU);
},insertUnorderedList:function(){return this.__mA.execute(cn);
},insertHorizontalRuler:function(){return this.__mA.execute(da);
},insertImage:function(Q){return this.__mA.execute(dB,Q);
},insertHyperLink:function(fD){return this.__mA.execute(bJ,fD);
},removeBackgroundColor:function(){this.__mA.execute(bY,ci);
},setBackgroundColor:function(hf){this.__mA.execute(bY,hf);
},removeBackgroundImage:function(){this.__mA.execute(fl);
},setBackgroundImage:function(gx,gy,gz){return this.__mA.execute(fl,[gx,gy,gz]);
},selectAll:function(){return this.__mA.execute(dc);
},undo:function(){if(this.getUseUndoRedo()){return this.__mA.execute(bD);
}else{return true;
}},redo:function(){if(this.getUseUndoRedo()){return this.__mA.execute(eS);
}else{return true;
}},resetHtml:function(){var T=this._getIframeDocument();
while(T.body.firstChild){T.body.removeChild(T.body.firstChild);
}if(qx.bom.client.Engine.GECKO){T.body.innerHTML=dX;
}else if(qx.bom.client.Engine.WEBKIT){var U=this.getSelection();
var V=T.createRange();

if(V&&U){U.addRange(V);
}}},getHtml:function(hu){var hv=this._getIframeDocument();

if(hv==null){return null;
}return qx.bom.htmlarea.HtmlArea.__mD(hv.body,false,hu,this.getPostProcess());
},containsOnlyPlaceholder:qx.core.Variant.select(eJ,{"mshtml":function(){var gQ=this._getIframeDocument();
return (gQ.body.innerHTML==cT);
},"default":function(){return false;
}}),getContextInformation:function(){return this.__nm();
},__nl:function(){qx.event.Timer.once(function(e){var hm=this.__nm();
this.fireDataEvent(cM,hm);
},this,200);
},__nm:function(){if(this._processingExamineCursorContext||this.getEditable()==false){return;
}this._processingExamineCursorContext=true;
var fQ=this._getIframeDocument();
var fM=this.getFocusNode();

if(qx.dom.Node.isText(fM)){fM=fM.parentNode;
}var ga=qx.core.Variant.isSet(eJ,eH)?fM.currentStyle:fQ.defaultView.getComputedStyle(fM,null);
var fT=qx.core.Variant.isSet(eJ,ca)?ga.fontWeight==700:ga.getPropertyValue(bt)==ej||qx.dom.Node.isNodeName(fM,eR);
var fJ=qx.core.Variant.isSet(eJ,eH)?ga.fontStyle==dj:ga.getPropertyValue(ey)==dj;
var fO=qx.core.Variant.isSet(eJ,eH)?ga.textDecoration.indexOf(dh)!==-1:ga.getPropertyValue(bE).indexOf(dh)!==-1;
var fN=qx.core.Variant.isSet(eJ,eH)?ga.textDecoration.indexOf(cy)!==-1:ga.getPropertyValue(bE).indexOf(cy)!==-1;
var fW=qx.core.Variant.isSet(eJ,eH)?ga.fontSize:ga.getPropertyValue(dE);
var gc=null;
var fU=qx.core.Variant.isSet(eJ,eH)?ga.fontFamily:ga.getPropertyValue(ed);
var fS=false;
var fY=false;
var fK=fM;
if(fK!=null&&fK.parentNode!=null&&!qx.dom.Node.isDocument(fK.parentNode)){while(fK!=null&&!qx.dom.Node.isNodeName(fK,di)){var fR=qx.dom.Node.getName(fK);

if(fR==cW){fY=true;
break;
}else if(fR==co){fS=true;
break;
}
if(gc==null||gc==eI){gc=this._getAttribute(fK,fa);
}fK=fK.parentNode;
}}var fP=qx.core.Variant.isSet(eJ,eH)?ga.textAlign==eA:ga.getPropertyValue(dq)==eA;
var gb=qx.core.Variant.isSet(eJ,eH)?ga.textAlign==fh:ga.getPropertyValue(dq)==fh;
var fL=qx.core.Variant.isSet(eJ,eH)?ga.textAlign==dp:ga.getPropertyValue(dq)==dp;
var fX=qx.core.Variant.isSet(eJ,eH)?ga.textAlign==fi:ga.getPropertyValue(dq)==fi;
var fV={bold:fT?1:0,italic:fJ?1:0,underline:fO?1:0,strikethrough:fN?1:0,fontSize:(gc==null)?fW:gc,fontFamily:fU,insertUnorderedList:fS?1:0,insertOrderedList:fY?1:0,justifyLeft:fP?1:0,justifyCenter:gb?1:0,justifyRight:fL?1:0,justifyFull:fX?1:0};
this._processingExamineCursorContext=false;
return fV;
},_getAttribute:qx.core.Variant.select(eJ,{"mshtml":function(fr,fs){try{return fr[fs];
}catch(e){return null;
}},"default":function(gT,gU){try{return gT.getAttribute(gU);
}catch(e){return null;
}}}),getSelection:qx.core.Variant.select(eJ,{"mshtml":function(){return this._getIframeDocument()?this._getIframeDocument().selection:null;
},"default":function(){return this._getIframeWindow()?this._getIframeWindow().getSelection():null;
}}),isSelectionCollapsed:qx.core.Variant.select(eJ,{"mshtml":function(){return this.getSelection()&&this.getSelection().type==cw;
},"default":function(){return this.getSelection()&&this.getSelection().isCollapsed;
}}),getSelectedText:qx.core.Variant.select(eJ,{"mshtml":function(){return this.getRange()?this.getRange().text:eI;
},"default":function(){return this.getRange()?this.getRange().toString():eI;
}}),getSelectedHtml:function(){if(this.__mO!=null){return this.__mO;
}var ho=this.getRange();

if(!ho){return eI;
}else{return this.__nn(ho);
}},__nn:qx.core.Variant.select(eJ,{"mshtml":function(X){if(!X){return eI;
}return X.item?X.item(0).outerHTML:X.htmlText;
},"default":function(bi){var bj=this._getIframeDocument();

if(bj&&bi){try{var bk=bj.createElement(di);
bk.appendChild(bi.cloneContents());
return bk.innerHTML;
}catch(hp){}return bi+eI;
}return eI;
}}),clearSelection:qx.core.Variant.select(eJ,{"mshtml":function(){var hs=this.getSelection();

if(hs){hs.empty();
}},"default":function(){var fv=this.getSelection();

if(fv){fv.collapseToStart();
}}}),__no:qx.core.Variant.select(eJ,{"gecko":function(){var fE=this.getSelection();
var fF=this.getFocusNode();
return fE&&this.isSelectionCollapsed()&&qx.dom.Node.isText(fF)&&fE.anchorOffset<fF.length;
},"default":function(){return false;
}}),__np:qx.core.Variant.select(eJ,{"gecko":function(){return qx.dom.Node.isElement(this.getFocusNode());
},"default":function(){return false;
}}),getRange:function(){return this.__nq(this.getSelection());
},__nq:qx.core.Variant.select(eJ,{"mshtml":function(gV){var gW=this._getIframeDocument();

if(gV){try{return gV.createRange();
}catch(fG){return gW.body.createTextRange();
}}else{return gW.body.createTextRange();
}},"default":function(ft){var fu=this._getIframeDocument();

if(ft){try{return ft.getRangeAt(0);
}catch(hw){return fu.createRange();
}}else{return fu.createRange();
}}}),saveRange:qx.core.Variant.select(eJ,{"mshtml":function(){this.__mR=this.getRange();
},"default":function(){}}),getSavedRange:qx.core.Variant.select(eJ,{"mshtml":function(){return this.__mR;
},"default":function(){}}),resetSavedRange:qx.core.Variant.select(eJ,{"mshtml":function(){this.__mR=null;
},"default":function(){}}),getFocusNode:qx.core.Variant.select(eJ,{"mshtml":function(){var H=this.getSelection();
var I;

switch(H.type){case cl:case cw:I=this.__nq(H);
I.collapse(false);
return I.parentElement();
case eW:I=this.__nq(H);

try{I.collapse(false);
}catch(W){}return I.item(0);
default:return this._getIframeDocument().body;
}},"default":function(){var hd=this.getSelection();

if(hd&&hd.focusNode){return hd.focusNode;
}return this._getIframeDocument().body;
}})},settings:{"qx.bom.htmlarea.HtmlArea.debug":bp},destruct:function(){try{var ha=this._getIframeDocument();
var hc=qx.event.Registration;
hc.removeListener(ha.body,bB,this._handleKeyPress,this);
hc.removeListener(ha.body,ct,this._handleKeyUp,this);
hc.removeListener(ha.body,cs,this._handleKeyDown,this);
var hb=qx.bom.client.Engine.WEBKIT?this._getIframeWindow():ha.body;
hc.removeListener(hb,fm,this.__mt);
hc.removeListener(hb,fn,this.__mu);
hc.removeListener(ha,bX,this.__mv);
var gY=qx.bom.client.Engine.MSHTML?fk:ei;
hc.removeListener(ha.body,gY,this.__mw,this);
hc.removeListener(ha.body,gY,this.__mx,this);
hc.removeListener(ha.documentElement,eP,this.__my,this);
}catch(u){}this._disposeObjects(cf);
this.__mt=this.__mu=this.__mv=null;
this.handleMouseUpOnBody=this.__mx=this.__mQ=null;
this.__mP=this.__mG=null;
}});
})();
(function(){var j="qx.dom.Element";
qx.Class.define(j,{statics:{hasChild:function(parent,y){return y.parentNode===parent;
},hasChildren:function(B){return !!B.firstChild;
},hasChildElements:function(g){g=g.firstChild;

while(g){if(g.nodeType===1){return true;
}g=g.nextSibling;
}return false;
},getParentElement:function(f){return f.parentNode;
},isInDom:function(b,c){if(!c){c=window;
}var d=c.document.getElementsByTagName(b.nodeName);

for(var i=0,l=d.length;i<l;i++){if(d[i]===b){return true;
}}return false;
},insertAt:function(n,parent,o){var p=parent.childNodes[o];

if(p){parent.insertBefore(n,p);
}else{parent.appendChild(n);
}return true;
},insertBegin:function(e,parent){if(parent.firstChild){this.insertBefore(e,parent.firstChild);
}else{parent.appendChild(e);
}},insertEnd:function(h,parent){parent.appendChild(h);
},insertBefore:function(k,m){m.parentNode.insertBefore(k,m);
return true;
},insertAfter:function(w,x){var parent=x.parentNode;

if(x==parent.lastChild){parent.appendChild(w);
}else{return this.insertBefore(w,x.nextSibling);
}return true;
},remove:function(a){if(!a.parentNode){return false;
}a.parentNode.removeChild(a);
return true;
},removeChild:function(v,parent){if(v.parentNode!==parent){return false;
}parent.removeChild(v);
return true;
},removeChildAt:function(z,parent){var A=parent.childNodes[z];

if(!A){return false;
}parent.removeChild(A);
return true;
},replaceChild:function(q,r){if(!r.parentNode){return false;
}r.parentNode.replaceChild(q,r);
return true;
},replaceAt:function(s,t,parent){var u=parent.childNodes[t];

if(!u){return false;
}parent.replaceChild(s,u);
return true;
}}});
})();
(function(){var cY="qx.client",cX="",cW="legacy-font-size",cV="mshtml",cU="inserthtml",cT="span",cS='color',cR="text-decoration",cQ="__nI",cP=';',cc="transparent",cb='">',ca="child",bY="gecko",bX="text-align",bW='text-decoration',bV="BackColor",bU="FontSize",bT="BODY",bS="</font>",dg="px",dh="backgroundPosition",de="p",df="__nJ",dc='|',dd="id",da="qx.bom.htmlarea.HtmlArea.debug",db="string",di="background-color",dj="backgroundRepeat",cA="font",cz=":",cC="InsertHtml",cB="none",cE=";",cD="underline",cG="backgroundImage",cF="font-size",cy="Control",cx="__paragraph__",J=':',K="on",L="size",M="textDecoration",N="undefined",O="backgroundColor",P="_moz",Q="top",R="/>",S="formatBlock",dn="insertParagraph",dm="li",dl='<span style="',dk="<img ",ds="no-repeat",dr=' <a href="',dq="FONT",dp="|top|bottom|center|left|right|right top|left top|left bottom|right bottom|",du="__placeholder__",dt="JustifyCenter",bs="<p style='",bt="__oc",bq="outdent",br='</a> ',bw="InsertImage",bx="__resetHtml",bu="FontName",bv="blockquote",bo="<hr />",bp="style",bb="P",ba="qx.bom.htmlarea.manager.Command",bd="__ob",bc="'><br class='webkit-block-placeholder' />",W="a",V='"',Y="<span></span>",X="type",U="CreateLink",T="='",bC="__nY",bD="qx_link",bE='"></span>',bF="Italic",by=" ",bz="InsertUnorderedList",bA="OL",bB='text-align:',bG="Bold",bH="ForeColor",bl="url(",bk='" ',bj="repeat repeat-x repeat-y no-repeat",bi='</p>',bh="__od",bg='<font style="',bf='<span id="',be="IMG",bn='<p id="',bm="StrikeThrough",bI="LI",bJ="__getHtml",bK='>',bL='" size="',bM="__nX",bN="HiliteColor",bO="br",bP="Copy",bQ="</span>",bR="Paste",cg="__nW",cf="__nN",ce="RemoveFormat",cd="JustifyRight",ck="' ",cj='',ci="indent",ch='style="',cm="_moz_dirty",cl="color",ct="JustifyLeft",cu="__nO",cr="Underline",cs="SelectAll",cp="Cut",cq="line-through",cn=")",co="href",cv="__oa",cw="UL",cI="__nE",cH="Indent",cK="JustifyFull",cJ="__nL",cM="Outdent",cL="webkit",cO="selectall",cN="InsertOrderedList";
qx.Class.define(ba,{extend:qx.core.Object,construct:function(I){arguments.callee.base.call(this);
this.__nr=I;
this.__ns=null;
this._commands=null;
this.__nz();
this.__nt={"Bold":true,"Italic":true,"Underline":true,"StrikeThrough":true};
this.__nu=[10,12,16,18,24,32,48];
this.__nv=0;
},statics:{__nw:dp,__nx:bj},members:{__ns:null,__nr:null,__ny:false,__nt:null,__nu:null,__nv:null,setContentDocument:function(dv){this.__ns=dv;
},getCommandObject:function(fF){if(this._commands[fF]){return this._commands[fF];
}else{return null;
}},__nz:function(){this._commands={bold:{useBuiltin:true,identifier:bG,method:null},italic:{useBuiltin:true,identifier:bF,method:null},underline:{useBuiltin:true,identifier:cr,method:null},strikethrough:{useBuiltin:true,identifier:bm,method:null},fontfamily:{useBuiltin:true,identifier:bu,method:null},fontsize:{useBuiltin:false,identifier:bU,method:cg},textcolor:{useBuiltin:true,identifier:bH,method:null},textbackgroundcolor:{useBuiltin:false,identifier:null,method:bM},backgroundcolor:{useBuiltin:false,identifier:null,method:bC},backgroundimage:{useBuiltin:false,identifier:null,method:cv},justifyleft:{useBuiltin:false,identifier:ct,method:cQ},justifyright:{useBuiltin:false,identifier:cd,method:cQ},justifycenter:{useBuiltin:false,identifier:dt,method:cQ},justifyfull:{useBuiltin:false,identifier:cK,method:cQ},indent:{useBuiltin:true,identifier:cH,method:null},outdent:{useBuiltin:true,identifier:cM,method:null},copy:{useBuiltin:true,identifier:bP,method:null},cut:{useBuiltin:true,identifier:cp,method:null},paste:{useBuiltin:true,identifier:bR,method:null},insertorderedlist:{useBuiltin:false,identifier:cN,method:df},insertunorderedlist:{useBuiltin:false,identifier:bz,method:df},inserthorizontalrule:{useBuiltin:false,identifier:cC,method:cu},insertimage:{useBuiltin:false,identifier:bw,method:cJ},inserthyperlink:{useBuiltin:false,identifier:U,method:cf},selectall:{useBuiltin:false,identifier:cs,method:bd},selectedtext:{useBuiltin:false,identifier:null,method:bt},selectedhtml:{useBuiltin:false,identifier:null,method:bh},inserthtml:{useBuiltin:false,identifier:cC,method:cI},resethtml:{useBuiltin:false,identifier:null,method:bx},gethtml:{useBuiltin:false,identifier:null,method:bJ},removeformat:{useBuiltin:true,identifier:ce,method:null}};
},execute:function(gF,gG){if(!this.__nr.isReady()){this.error("editor not ready! '"+gF+"':'"+gG+"'");
return false;
}gF=gF.toLowerCase();
gG=gG!=null?gG:null;
if(this._commands[gF]){var gH;
var gI=this._commands[gF];
if(!(qx.bom.client.Engine.WEBKIT&&(gF==ci||gF==bq))){if(this.__nA()){this.__nB();
}}if(gI.useBuiltin){gH=this.__nC(gI.identifier,false,gG);
}else{if(gI.method!=null&&this[gI.method]){gH=this[gI.method].call(this,gG,gI);
}else{this.error("The method '"+gI.method+"' you calling to execute the command '"+gF+"' is not available!");
}}this.__nr.resetSavedRange();
return gH;
}else{this.error("Command "+gF+" is currently not supported!");
}},__nA:function(){var eO=this.__nr.getFocusNode();
var eR=false;
var eP=false;

if(eO){if(eO.nodeType==3){var eQ=qx.dom.Hierarchy.getAncestors(eO);

for(var i=0,j=eQ.length;i<j;i++){if(eQ[i].tagName==bb){eR=true;
break;
}}}else if(eO.nodeType==1&&eO.tagName==bT){eP=true;
}}return eP||!eR;
},__nB:function(){this.__nC(S,false,de);
},__nC:function(gh,gi,gj){try{var gm=this.__ns;
var gk=false;
var gl=this.__nr.getRange();
this.__ns.body.focus();
if(qx.core.Variant.isSet(cY,cV)){if(gh!=cO){gl.select();
if(((gl.text)&&(gl.text.length>0))||((gl.length==1)&&(gl.item(0))&&(gl.item(0).tagName==be))){gm=gl;
}else{gm=this.__ns;
}}if((qx.core.Variant.isSet(cY,cV))&&(this.__nt[gh])){if(gl.text==cX){gk=true;
}}}var gn=gm.execCommand(gh,gi,gj);

if(gk&&gl.text!=cX){gl.collapse();
}
if(false&&qx.core.Setting.get(da)==K){this.debug("execCommand "+gh+" with value "+gj+" succeded");
}this.__ny=false;
}catch(eg){if(false&&qx.core.Setting.get(da)==K){this.debug("execCommand "+gh+" with value "+gj+" failed");
}return false;
}return gn;
},__nD:qx.core.Variant.select(cY,{"mshtml":function(){var fv=this.__nr;
var fu=fv.getSavedRange()!=null?fv.getSavedRange():fv.getRange();
return fu;
},"default":function(){return this.__nr.getRange();
}}),__nE:qx.core.Variant.select(cY,{"mshtml":function(gJ,gK){var gN;
if(gJ==qx.bom.htmlarea.HtmlArea.simpleLinebreak){return this.__nH();
}else{this.__ns.body.focus();
var gM=this.__nr.getSelection();
var gL=this.__nD();
if(gL&&gM&&gM.type!=cy){try{gL.pasteHTML(gJ);
gL.collapse(false);
gL.select();
gN=true;
}catch(e){}}else{gN=false;
}this.__nr.resetSavedRange();
return gN;
}},"default":function(C,D){this.__ns.body.focus();
return this.__ns.execCommand(D.identifier,false,C);
}}),insertParagraphOnLinebreak:qx.core.Variant.select(cY,{"gecko":function(){var fN=this.__nR();
var fR=this.__nF(fN);
var fJ=this.__nP(fN);
var fO=du+Date.parse(new Date());
var fP=cx+Date.parse(new Date());
var fH=cj;
var fL=bf+fO+bE;
fH+=fL;
fH+=bn+fP+bk+fR+bK;
fH+=fJ+bi;
this.__nr.getCommandManager().addUndoStep(cU,dn,this.getCommandObject(cU));
this.execute(cU,fH);
this.__nG();
this.__ns.getElementById(fO).removeAttribute(dd);
var fM=this.__ns.getElementById(fP);

if(fM.previousSibling.innerHTML==fL){var fG=this.__nQ();
var fK=this.__ns.createElement(bO);
var fI=this.__ns.createAttribute(cm);
fI.nodeValue=cX;
fK.setAttributeNode(fI);
var fQ=this.__ns.createAttribute(X);
fQ.nodeValue=P;
fK.setAttributeNode(fQ);
fM.previousSibling.appendChild(fG);
fM.previousSibling.appendChild(fK);
}return true;
},"webkit":function(){var E=this.getCurrentStyles();
var F=cX;
var H={"background-color":true,"text-align":true};
for(var G in E){if(H[G]){F+=G+cz+E[G]+cE;
}}this.__nr.insertHtml(bs+F+bc);
},"default":qx.lang.Function.empty}),__nF:qx.core.Variant.select(cY,{"gecko":function(dw){var dB=ch;
var dA=dw.child;

if(dA[bX]){dB+=bB+dA[bX]+cP;
delete dw.child[bX];
}var dz={"padding-top":true,"padding-bottom":true,"padding-left":true,"padding-right":true};
var dx={"margin-top":true,"margin-bottom":true,"margin-left":true,"margin-right":true};

for(var dy in dA){if(dz[dy]||dx[dy]){dB+=dy+J+dA[dy]+cP;
delete dw.child[dy];
}}dB+=V;
return dB;
},"default":function(){return cX;
}}),__nG:qx.core.Variant.select(cY,{"gecko":function(){var eA=this.__nr.getSelection();

if(!eA||!eA.focusNode){return;
}var es=eA.focusNode;
var ey=eA.focusNode;

while(!qx.dom.Node.isNodeName(ey,de)){ey=ey.parentNode;
}var ew=ey.previousSibling.id;
var eB=ey.nextSibling?ey.nextSibling.id:null;

if(qx.lang.String.startsWith(ew,cx)&&ew==eB){var ez=ey.nextSibling;
var eu=this.__nr.getRange();
eu.selectNode(ez);
eA.addRange(eu);
var et=qx.bom.htmlarea.HtmlArea.EMPTY_DIV;
this.__nr.getCommandManager().addUndoStep(cU,et,this.getCommandObject(cU));
this.execute(cU,et);
var ev=this.__nr.getRange();

if(es){while(es&&es.firstChild&&qx.dom.Node.isElement(es.firstChild)){es=es.firstChild;
}}ev.selectNode(es);
eA.addRange(ev);
ev.collapse(true);
}},"default":qx.lang.Function.empty}),__nH:qx.core.Variant.select(cY,{"mshtml":function(){var gx=this.__nr.getRange();
if(gx&&!qx.dom.Node.isNodeName(gx.parentElement(),dm)){gx.pasteHTML(qx.bom.htmlarea.HtmlArea.simpleLinebreak);
gx.collapse(false);
gx.select();
return true;
}return false;
},"default":function(){return false;
}}),__nI:function(fS,fT){var fU=qx.core.Variant.isSet(cY,cV)?this.__nr.getRange():this.__ns;
return fU.execCommand(fT.identifier,false,fS);
},__nJ:function(dN,dO){if(qx.core.Variant.isSet(cY,cV)){var dP=this.__nr.getFocusNode();
this.__nK(dP);
}this.__ns.body.focus();
var dQ=this.__ns.execCommand(dO.identifier,false,dN);

if(qx.core.Variant.isSet(cY,cL)){var dP=this.__nr.getFocusNode();
this.__nK(dP.parentNode);
}return dQ;
},__nK:function(dC){var dD=[];
var parent=dC.parentNode;

while(qx.dom.Node.isNodeName(parent,bv)){dD.push(parent);
parent=parent.parentNode;
}if(dD.length>0){parent.appendChild(dC);
parent.removeChild(dD[dD.length-1]);
}},__nL:qx.core.Variant.select(cY,{"gecko":function(m,n){if(m.src){this.__ns.execCommand(n.identifier,false,m.src);
delete m.src;
var A=this.__nr.getSelection();
if(A){var z=A.anchorNode;
var u=A.anchorOffset;
var r=z.childNodes[u-1];
var x;

for(var t in m){x=this.__ns.createAttribute(t);
x.nodeValue=m[t];
r.setAttributeNode(x);
}var s={"font":true,"span":true};
var p=null;
var w=true;
if(qx.dom.Node.isElement(r.previousSibling)&&s[qx.dom.Node.getName(r.previousSibling)]){p=r.previousSibling;
}else if(s[qx.dom.Node.getName(r.parentNode)]){p=r.parentNode;
w=false;
}var q=this.__ns.createDocumentFragment();
var B;

if(w&&p!=null){var s=this.__nM(p);
q.appendChild(s.root);
B=s.inline;
}else{B=this.__ns.createElement(cT);
q.appendChild(B);
}var y=this.__ns.createTextNode(cX);
B.appendChild(y);
var v=r.parentNode;
if(r==v.lastChild){v.appendChild(q);
}else{v.insertBefore(q,r.nextSibling);
}var o=this.__nr.getRange();
o.selectNodeContents(B);
}return true;
}else{return false;
}},"mshtml":function(gO,gP){var gT;
var gU=dk;

for(var gQ in gO){gU+=gQ+T+gO[gQ]+ck;
}gU+=R;
var gR=this.__nr.getSelection();
var gS=this.__nD();
if(gR&&gR.type!=cy){gS.select();
gS.pasteHTML(gU);
gT=true;
}else{gT=false;
}this.__nr.resetSavedRange();
return gT;
},"default":function(eq,er){return this.__ns.execCommand(er.identifier,false,eq.src);
}}),__nM:function(eY){while(eY.firstChild&&eY.firstChild.nodeType==1){eY=eY.firstChild;
}var fd=this.__nR(eY);
var fh,fb,ff;
var fa=cX;
var parent=null;
var fg=null;
var fe=fd.child;

while(fe){fg=this.__ns.createElement(fe[cW]?cA:cT);
fb=this.__ns.createAttribute(bp);
fg.setAttributeNode(fb);
for(var fc in fe){if(fc!=ca&&fc!=cW){fa+=fc+cz+fe[fc]+cE;
}else if(fc==cW){ff=this.__ns.createAttribute(L);
ff.nodeValue=fe[fc];
fg.setAttributeNode(ff);
}}fb.nodeValue=fa;

if(parent!=null){parent.appendChild(fg);
}else{fh=fg;
}parent=fg;
fe=fe.child;
fa=cX;
}return {root:fh,inline:fg};
},__nN:qx.core.Variant.select(cY,{"gecko":function(dE,dF){var dL=this.__nr.getSelection();
var dI=this.__nr.getRange();
if(dL.isCollapsed){var dH=bD+(++this.__nv);
var dM=this.__ns.createElement(W);
var dJ=this.__ns.createAttribute(co);
var dG=this.__ns.createAttribute(dd);
var dK=this.__ns.createTextNode(dE);
dG.nodeValue=dH;
dM.setAttributeNode(dG);
dJ.nodeValue=dE;
dM.setAttributeNode(dJ);
dM.appendChild(dK);
dI.insertNode(dM);
dI.selectNode(dM);
dL.collapseToEnd();
return true;
}else{return this.__ns.execCommand(dF.identifier,false,dE);
}},"mshtml":function(fV,fW){try{var fY;
var fX=this.__nD();
var ga=this.__nr;
var fX=ga.getSavedRange()!=null?ga.getSavedRange():ga.getRange();

if(fX!=null&&fX.text!=cX){fY=fX.execCommand(fW.identifier,false,fV);
}else{fY=this.__nE(dr+fV+cb+fV+br,fW);
}this.__nr.resetSavedRange();
return fY;
}catch(e){{};
return false;
}},"default":function(gb,gc){return this.__ns.execCommand(gc.identifier,false,gb);
}}),__nO:function(fw,fx){var fy=bo;
if(qx.core.Variant.isSet(cY,bY)){fy+=this.__nP();
}return this.__nE(fy,fx);
},__nP:function(eE){var eI=cX;
var eH=dl;
var eG=[];
var eL=typeof eE!==N?eE:this.__nR();
var eJ=eL.child;
var eK=false;

while(eJ){eK=eJ[cW]!=null;
eI+=eK?bg:eH;

for(var eF in eJ){eI+=(eF!=ca&&eF!=cW)?eF+J+eJ[eF]+cP:cX;
}eI+=eK?bL+eJ[cW]+cb:cb;
eG.unshift(eK?bS:bQ);
eJ=eJ.child;
}if(eG.length==1&&eG[0]==bS){eI+=Y;
}for(var i=0,j=eG.length;i<j;i++){eI+=eG[i];
}return eI;
},__nQ:function(){var b=this.__ns.createDocumentFragment();
var h=this.__nR();
var parent=b;
var f=h.child;
var c;
var g=false;

while(f){g=f[cW]!=null;
c=this.__ns.createElement(g?cA:cT);
parent.appendChild(c);
for(var a in f){if(a!=ca&&a!=cW){qx.bom.element.Style.set(c,a,f[a]);
}}
if(g){var d=this.__ns.createAttribute(L);
d.nodeValue=f[cW];
c.setAttributeNode(d);
}parent=c;
f=f.child;
}return b;
},__nR:function(fz){var fB={};
var fC=null;
var fD=this.getCurrentStyles(fz);
fC=fB.child={};

for(var fA in fD){if(fA!=cR){fC[fA]=fD[fA];
}}if(fD[cR]){var fE=fD[cR];
for(var i=0,j=fE.length;i<j;i++){if(fC==null){fC=fB.child={};
}else{fC=fC.child={};
}fC[cS]=fE[i][cS];
fC[bW]=fE[i][bW];
}}if(fD[cS]&&fD[bW]){fC=fC.child={};
fC[cS]=fD[cS];
}return fB;
},getCurrentStyles:function(ek){if(ek==null){var em=this.__nr.getSelection();

if(!em||em.focusNode==null){return {};
}ek=(em.focusNode.nodeType==3)?em.focusNode.parentNode:em.focusNode;
}var en=qx.dom.Hierarchy.getAncestors(ek);
var ep=qx.lang.Array.insertBefore(en,ek,en[0]);
var el=this.__nS(ep);
var eo=this.__nT(el,ep);
return eo;
},__nS:function(dV){var dY={};
var dW,dX;

for(var i=0,j=dV.length;i<j;i++){dX=dV[i];

for(var k=0,l=dX.style.length;k<l;k++){dW=dX.style[k];

if(dW.length>0&&typeof dY[dW]===N){dY[dW]=dX.style.getPropertyValue(dW);
}}if(dX.tagName.toUpperCase()==dq&&dX.size&&dY[cW]===undefined){dY[cW]=dX.size;
}}if(dY[cW]&&dY[cF]){delete dY[cF];
}return dY;
},__nT:function(gq,gr){var gw=gr[0];
var gu=this.__nr.getContentWindow().getComputedStyle(gw,null);
var gs;
var gv={};

for(var gt in gq){if(gt!=cW){gs=gu.getPropertyValue(gt);
}else{gs=gq[gt];
}if(gt==di&&gs==cc){gv[gt]=this.__nV(gr);
}else if(gt==cR){gv[gt]=this.__nU(gr);
}else{gv[gt]=gs;
}}return gv;
},__nU:function(ea){var ed,ef,eb;
var ee=[];
var ec=this.__nr.getContentWindow();

for(var i=0,j=ea.length;i<j;i++){eb=ec.getComputedStyle(ea[i],null);
ed=eb.getPropertyValue(cR);
ef=eb.getPropertyValue(cl);
if(ed!=cB){ee.push({'text-decoration':ed,'color':ef});
}}return ee;
},__nV:function(gd){var gf,ge,gg;

for(var i=0;i<gd.length;i++){gf=gd[i];
ge=this.__nr.getContentWindow().getComputedStyle(gf,null);
gg=ge.getPropertyValue(di);
if(gg!=cc){return gg;
}}},__nW:function(gV,gW){var hj=this.__nr.getSelection();
var he=(qx.core.Variant.isSet(cY,cV))?this.__nr.getRange():he=hj.getRangeAt(0);
var hf=[];
var hi;
var hd=[bA,cw];
var gX,i,j,hg;
hg=(qx.core.Variant.isSet(cY,cV))?he.parentElement():he.commonAncestorContainer;
if(hg.tagName==bT){for(var i=0;i<hd.length;i++){gX=hg.getElementsByTagName(hd[i]);

for(var j=0;j<gX.length;j++){if(gX[j]){hf.push(gX[j]);
}}}}else if(qx.lang.Array.contains(hd,hg.tagName)){hf.push(hg);
}
if(hf.length>0){for(var i=0;i<hf.length;i++){var ha=hf[i];
hi=(qx.core.Variant.isSet(cY,cV))?
((ha==hg)||(hg.tagName==bT)):
hj.containsNode(ha,false);
for(j=0;j<ha.childNodes.length;j++){var hc=ha.childNodes[j];
if(hi||
(hj.focusNode.nodeValue&&qx.dom.Hierarchy.contains(hc,hj.focusNode)&&(hj.focusOffset==hj.focusNode.nodeValue.length))||
(qx.dom.Hierarchy.contains(hc,hj.anchorNode)&&(hj.anchorOffset==0))||
(hj.containsNode(hc,false))){hc.style.fontSize=(this.__nu[gV]||gV)+dg;
}}}}else{var hb=(qx.core.Variant.isSet(cY,cV))?hg:hj.focusNode;
var hh=qx.dom.Hierarchy.getAncestors(hb);

for(i=0;i<hh.length;i++){if(hh[i].tagName==bI){if(((qx.core.Variant.isSet(cY,bY))&&
((hj.anchorOffset==0)&&
(hj.focusNode.nodeValue&&(hj.focusOffset==hj.focusNode.nodeValue.length))&&
qx.dom.Hierarchy.contains(hh[i].firstChild,hj.anchorNode)&&
qx.dom.Hierarchy.contains(hh[i].lastChild,hj.focusNode)))||
((qx.core.Variant.isSet(cY,cV))&&(he.htmlText==hh[i].innerHTML))){hh[i].style.fontSize=(this.__nu[gV]||gV)+dg;
}break;
}}}if(qx.core.Variant.isSet(cY,cV)){this.__ns.body.focus();
this.__nr.getRange().select();
return this.__ns.execCommand(bU,false,gV);
}else if(qx.core.Variant.isSet(cY,bY)){var parent=he.commonAncestorContainer;
if(parent.nodeType===1){var gY=parent.getElementsByTagName(cT);

for(i=0;i<gY.length;i++){if(gY[i].style.fontSize){gY[i].style.fontSize=null;
}}}}return this.__ns.execCommand(bU,false,gV);
},__nX:qx.core.Variant.select(cY,{"mshtml":function(gy,gz){this.__ns.body.focus();
return this.__ns.execCommand(bV,false,gy);
},"gecko|opera":function(eC,eD){this.__ns.body.focus();
return this.__ns.execCommand(bN,false,eC);
},"webkit":function(fi,fj){var fk=this.__nr.getSelection();
var fl=this.__nr.getRange();
if(!fk||!fk.isCollapsed){this.__ns.body.focus();
this.__ns.execCommand(bV,false,fi);
if(fk){fk.collapseToEnd();
}return true;
}else{var fn=fk.anchorOffset;
var fo=fk.anchorOffset;
var fl=fk.getRangeAt(0);
var fm=fk.anchorNode;
while(fo>0){if(fm.nodeValue.charCodeAt(fo)==160||fm.nodeValue.charCodeAt(fo)==32){break;
}else{fo--;
}}while(fn<fm.nodeValue.length){if(fm.nodeValue.charCodeAt(fn)==160||fm.nodeValue.charCodeAt(fn)==32){break;
}else{fn++;
}}fl.setStart(fk.anchorNode,fk.anchorNode.nodeValue.charAt(fo)==by?fo+1:fo);
fl.setEnd(fk.anchorNode,fn);
fk.addRange(fl);
this.__ns.body.focus();
this.__ns.execCommand(bV,false,fi);
fk.collapseToEnd();
return true;
}}}),__nY:function(dT,dU){dT=dT!=null&&typeof dT==db?dT:cc;
qx.bom.element.Style.set(this.__ns.body,O,dT);
return true;
},__oa:function(gA,gB){var gC,gE,gD;

if(gA==null){gC=null;
}else{gC=gA[0];
gE=gA[1];
gD=gA[2];
}if(gC==null||typeof gC!=db){qx.bom.element.Style.set(this.__ns.body,cG,cX);
qx.bom.element.Style.set(this.__ns.body,dj,cX);
qx.bom.element.Style.set(this.__ns.body,dh,cX);
return true;
}else{if(gC.search(/^url.*\(/)==-1){gC=bl+gC+cn;
}}if(gE!=null&&qx.bom.htmlarea.manager.Command.__nx.indexOf(gE)<0){{};
return false;
}else{gE=ds;
}if(gD!=null&&qx.bom.htmlarea.manager.Command.__nw.indexOf(dc+gD+dc)<0){{};
return false;
}else{if(!gD){gD=Q;
}}qx.bom.element.Style.set(this.__ns.body,cG,gC);
qx.bom.element.Style.set(this.__ns.body,dj,gE);
qx.bom.element.Style.set(this.__ns.body,dh,gD);
return true;
},__ob:qx.core.Variant.select(cY,{"mshtml":function(eh,ei){var ej=this.__ns.body.createTextRange();
ej.select();
return true;
},"default":function(dR,dS){return this.__nC(dS.identifier,false,dR);
}}),__oc:function(){return this.__nr.getSelectedText();
},__od:function(){return this.__nr.getSelectedHtml();
},__oe:qx.core.Variant.select(cY,{"webkit":function(eS,eT){var eU=this.__nr.getContextInformation();
var eW=this.__nr.getFocusNode();
if(eU.underline){eW.style.textDecoration=cB;
}else{if(eU.strikethrough){var eX=this.__ns.createElement(cT);
qx.bom.element.Style.set(eX,M,cD);
eW.appendChild(eX);
var eV=this.__nr.getSelection();

if(eV){eV.extend(eX,0);

if(!eV.isCollapsed){eV.collapseToEnd();
}}}else{eW.style.textDecoration=cD;
}}return true;
},"default":function(eM,eN){return this.__nC(eN.identifier,false,eM);
}}),__of:qx.core.Variant.select(cY,{"webkit":function(fp,fq){var fs=this.__nr.getFocusNode();
var ft=this.__ns.createElement(cT);
qx.bom.element.Style.set(ft,M,cq);
fs.appendChild(ft);
var fr=this.__nr.getSelection();

if(fr){fr.extend(ft,0);

if(!fr.isCollapsed){fr.collapseToEnd();
}}return true;
},"default":function(go,gp){return this.__nC(gp.identifier,false,go);
}})},destruct:function(){this.__ns=this.__nr=this._commands=this.__nt=this.__nu=null;
}});
})();
(function(){var C="qx.client",B="Command",A="mshtml",z="gecko",y="Custom",x="Content",w="Internal",v="inserthtml",u="backgroundimage",t="backgroundcolor",bx="webkit",bw="backgroundColor",bv="mousedown",bu="table",bt="backgroundImage",bs="backgroundRepeat",br="p",bq="backgroundPosition",bp="td",bo="img",J="inserthyperlink",K="mouseup",H="keypress",I="qx.bom.htmlarea.HtmlArea.debug",F="on",G="undo",D="undoRedoState",E="pageup",N="b",O="control",W="end",U="right",be="qx_link",Y="insertunorderedlist",bk="Undo",bi="pagedown",Q="k",bn="home",bm="__og",bl="a",P="insertorderedlist",S="y",T="justifyright",V="redo",X="insertParagraph",ba="qx.bom.htmlarea.manager.UndoRedo",bf="left",bj="i",L="Redo",M="u",R="enter",bd="insertimage",bc="z",bb="down",bh="up",bg="body";
qx.Class.define(ba,{extend:qx.core.Object,construct:function(cA,cB){arguments.callee.base.call(this);
this.__og=cA;
this.__oh=cB;
this.__oi=[];
this.__oj=[];
this._commands=null;
this.__ok=null;
this.__ol={};
this.__om={command:true,content:true,custom:true};
this.__oK();
this.__on=qx.lang.Function.bind(this._handleKeyPress,this);
this.__oo=qx.lang.Function.bind(this._handleMouseUp,this);

if(qx.core.Variant.isSet(C,A)){this.__op=qx.lang.Function.bind(this._handleMouseDown,this);
}},members:{__oq:false,__or:false,__os:false,__om:null,__ol:null,__og:null,__ok:null,__oi:null,__oj:null,__oh:null,__on:null,__oo:null,__op:null,__ot:null,setContentDocument:function(bK){this.__ok=bK;
this.__og.setContentDocument(bK);
qx.event.Registration.addListener(bK.body,H,this.__on,this);
qx.event.Registration.addListener(bK.body,K,this.__oo,this);

if(qx.core.Variant.isSet(C,A)){qx.event.Registration.addListener(bK.body,bv,this.__op,this,true);
}},insertParagraphOnLinebreak:function(){return this.__og.insertParagraphOnLinebreak();
},execute:function(o,p){var q;
o=o.toLowerCase();
if(this._commands[o]){if(this._commands[o].passthrough){q=this.__og.execute(o,p);
}else{q=this[o].call(this);
}}else{if(qx.core.Variant.isSet(C,A)||qx.core.Variant.isSet(C,bx)){this.__oL(o,p,this.__og.getCommandObject(o));
q=this.__og.execute(o,p);
if(!q){this.__oi.pop();
}}else{q=this.__og.execute(o,p);

if(q){this.__oL(o,p,this.__og.getCommandObject(o));
}}
if(o==G&&this.__oi.length==0){this.__or=false;
this.__oT();
}else if(o==V&&this.__oj.length==0){this.__oq=false;
this.__oT();
}}this.__os=false;
return q;
},addUndoStep:function(bA,bB,bC){this.__oL(bA,bB,bC);
},registerHandler:function(bN,bO,bP,bQ){this.__ol[bN]={undo:bO,redo:bP,context:bQ};
},isUndoPossible:function(){return this.__or;
},undo:function(){var cm;

if(this.__os){this.__oN();
}if(this.__oi.length>0){var cl=this.__oi.pop();

if(this.__om[cl.actionType.toLowerCase()]){switch(cl.actionType){case B:cm=this.__ov(cl);
break;
case x:cm=this.__oz(cl);
break;
case w:cm=this.__oy(cl);
break;
case y:cm=this.__ou(cl);
break;
}}else if(this.__ol[cl.actionType]){var ck=this.__ol[cl.actionType];
cm=ck.undo.call(ck.context?ck.context:this,cl);
this.__oP(cl);
}else{this.error("actionType "+cl.actionType+" is not managed! Please provide a handler method!");
}this.__oq=true;
this.__oT();
return cm;
}},__ou:qx.core.Variant.select(C,{"mshtml|webkit":function(cd){var ce=this.__ok.body.innerHTML;
var cg=cd.content;
this.__ok.body.innerHTML=cg;
var cf=cd;
cf.content=ce;
this.__oP(cf);
return true;
},"default":function(cH){var cL=cH;
var cK=qx.bom.element.Style;
switch(cH.command){case t:cL.parameter=[cK.get(this.__ok.body,bw)];
break;
case u:cL.parameter=[cK.get(this.__ok.body,bt),cK.get(this.__ok.body,bs),cK.get(this.__ok.body,bq)];
break;
}this.__oP(cL);
if(cH.command==J){if(qx.core.Variant.isSet(C,z)){var cJ=be+this.__og.__hyperLinkId;
var cI=this.__ok.getElementById(cJ);

if(cI){cI.parentNode.removeChild(cI);
return true;
}else{return false;
}}}else{return this.__og.execute(cH.command,cH.value);
}}}),__ov:qx.core.Variant.select(C,{"mshtml|webkit":function(by){},"default":function(ct){this.__oP(ct);

if(qx.core.Variant.isSet(C,z)){if(ct.command==v&&ct.value==qx.bom.htmlarea.HtmlArea.EMPTY_DIV&&this.__ow(v,X)){this.__ox();
}}return this.__oA();
}}),__ow:function(ch,ci){if(this.__oi.length>0){var cj=this.__oi[this.__oi.length-1];
return (cj.command==ch&&cj.value==ci);
}return false;
},__ox:function(){this.__oA();

if(this.__oi.length>0){var bM=this.__oi.pop();
this.__oP(bM);
}},__oy:function(cN){this.__oP(cN);
return this.__oA();
},__oz:qx.core.Variant.select(C,{"gecko":function(cn){this.__oP(cn);

try{return this.__oA();
}catch(cM){{};
}},"mshtml|webkit":function(cb){},"default":function(f){this.__oP(f);
return this.__oA();
}}),__oA:function(){try{return this.__ok.execCommand(bk,false,null);
}catch(e){return false;
}},isRedoPossible:function(){return this.__oq;
},redo:function(){if(this.__oq){var cp;
if(this.__oj.length>0){var cq=this.__oj.pop();

if(this.__om[cq.actionType.toLowerCase()]){switch(cq.actionType){case B:cp=this.__oC(cq);
break;
case x:cp=this.__oI(cq);
break;
case w:cp=this.__oH(cq);
break;
case y:cp=this.__oB(cq);
break;
}}else if(this.__ol[cq.actionType]){var co=this.__ol[cq.actionType];
cp=co.redo.call(co.context?co.context:this,cq);
this.__oO(cq);
}else{this.error("actionType "+cq.actionType+" is not managed! Please provide a handler method!");
}this.__or=true;
this.__oT();
}return cp;
}},__oB:qx.core.Variant.select(C,{"mshtml|webkit":function(a){var b=this.__ok.body.innerHTML;
var d=a.content;
this.__ok.body.innerHTML=d;
var c=a;
c.content=b;
this.__oO(c);
return true;
},"default":function(bV){this.__oO(bV);
return this.__oJ();
}}),__oC:qx.core.Variant.select(C,{"mshtml|webkit":function(s){},"default":function(cx){this.__oO(cx);
var cy=this.__oJ();

if(qx.core.Variant.isSet(C,z)){if(this.__oD(v,qx.bom.htmlarea.HtmlArea.EMPTY_DIV)){var cz=this.__oE();
this.__oF();

if(cz!=null){this.__oG(cz);
}}}return cy;
}}),__oD:function(cP,cQ){if(this.__oj.length>0){var cR=this.__oj[this.__oj.length-1];
return (cR.command==cP&&cR.value==cQ);
}return false;
},__oE:function(){if(this.__oh==null){return null;
}var cu=this.__oh.getSelection();
var cv=cu?cu.focusNode:null;

if(cv==null){return null;
}
try{while(cv.nodeName.toLowerCase()!=br){cv=cv.parentNode;

if(!cv||qx.dom.Node.isNodeName(cv,bg)){return null;
}}}catch(bz){return null;
}
if(cv!=null&&qx.dom.Node.isNodeName(cv,br)){return cv;
}else{return null;
}},__oF:function(){var cO=this.__oj.pop();
this.__oO(cO);
this.__oJ();
},__oG:qx.core.Variant.select(C,{"gecko":function(k){if(k==this.__oh.getContentBody().lastChild){return;
}var n=k.firstChild;

while(n.firstChild){n=n.firstChild;
}var l=this.__oh.getSelection();
var m=this.__oh.getRange();

if(l&&m){m.selectNode(n);
l.addRange(m);
m.collapse(true);
}},"default":qx.lang.Function.empty}),__oH:function(ca){this.__oO(ca);
return this.__oJ();
},__oI:qx.core.Variant.select(C,{"mshtml|webkit":function(cs){},"default":function(cr){this.__oO(cr);
return this.__oJ();
}}),__oJ:function(){try{return this.__ok.execCommand(L,false,null);
}catch(e){return false;
}},__oK:function(){this._commands={undo:{passthrough:false},redo:{passthrough:false}};
this.__og.getCommandObject(t).customUndo=true;
this.__og.getCommandObject(u).customUndo=true;

if(qx.core.Variant.isSet(C,z)){}},__oL:qx.core.Variant.select(C,{"mshtml|webkit":function(cD,cE,cF){var cG=this.getUndoRedoObject();
cG.commandObject=cF;
cG.command=cD;
cG.value=cE;
cG.actionType=y;
cG.content=this.__ok.body.innerHTML;
this.__oM(cG);
},"default":function(bE,bF,bG){if(this.__oh==null){return;
}var bI=this.getUndoRedoObject();
bI.commandObject=bG;
bI.command=bE;
bI.value=bF;
bI.actionType=y;
var bH=this.__oh.getSelection();

if(bG.customUndo){var bJ=[];

switch(bE){case t:bJ.push(qx.bom.element.Style.get(this.__ok.body,bw));
break;
case u:bJ.push(qx.bom.element.Style.get(this.__ok.body,bt),qx.bom.element.Style.get(this.__ok.body,bs),qx.bom.element.Style.get(this.__ok.body,bq));
break;
case J:if(bH&&!bH.isCollapsed){bI.actionType=B;
}break;
}bI.parameter=bJ;
}else{if(qx.core.Variant.isSet(C,z)){if(bH&&bH.isCollapsed){switch(bE){case P:case Y:case T:case v:case bd:bI.actionType=B;
break;
default:return;
}}else{bI.actionType=B;
}}else{bI.actionType=B;
}}this.__oM(bI);
}}),__oM:function(cc){if(this.__os){this.__oN();
}this.__oO(cc);
this.__oq=false;
this.__oj=[];
this.__oT();
},__oN:function(){var g=this.__oi[this.__oi.length-1];

if(g==null||g.actionType!=x){var h=this.getUndoRedoObject();
h.actionType=x;

if(qx.core.Variant.isSet(C,A)||qx.core.Variant.isSet(C,bx)){h.content=this.__ot;
h.actionType=y;
this.__ot=null;
}this.__oO(h);
this.__os=false;
}},getUndoRedoObject:function(){return {actionType:null,commandObject:null,command:null,value:null,parameter:null,range:null,marker:null,content:null};
},__oO:function(cw){if(false&&qx.core.Setting.get(I)==F){this.debug("ADD TO UNDO STACK");
this.debug(cw.actionType+" "+cw.command+" "+cw.value);
}this.__oi.push(cw);
},__oP:function(cC){if(false&&qx.core.Setting.get(I)==F){this.debug("ADD TO REDO STACK");
this.debug(cC.actionType+" "+cC.command+" "+cC.value);
}this.__oj.push(cC);
},_handleKeyPress:function(e){var bW=e.getKeyIdentifier().toLowerCase();
var bX=e.isCtrlPressed();

switch(bW){case O:case bf:case U:case bh:case bb:case E:case bi:case bn:case W:case R:break;
case bl:case N:case bj:case M:case Q:case S:case bc:if(!bX){this.__oQ();
}break;
default:this.__oq=false;
this.__oj=[];
this.__oQ();
}},__oQ:function(){if(!this.__os){this.__os=true;
this.__or=true;
if(qx.core.Variant.isSet(C,A)||qx.core.Variant.isSet(C,bx)){this.__ot=this.__ok.body.innerHTML;
}this.__oT();
}},__oR:null,_handleMouseDown:qx.core.Variant.select(C,{"mshtml":function(e){var bD=e.getOriginalTarget();

if(qx.dom.Node.isElement(bD)&&(qx.dom.Node.isNodeName(bD,bo)||qx.dom.Node.isNodeName(bD,bu))){this.__oR={node:bD,content:bD.outerHTML};
}else{this.__oR=null;
}},"default":function(e){return true;
}}),_handleMouseUp:qx.core.Variant.select(C,{"gecko":function(e){if(this.__oh==null){return;
}var bS=this.__oh.getSelection();

if(!bS){this.__oR=null;
return;
}var bR=bS.anchorNode;
var bT=bR.childNodes[bS.anchorOffset];
if(qx.dom.Node.isNodeName(bT,bo)){if(this.__oR==null){this.__oR=bT.cloneNode(true);
}else{if(this.__oR.style.width!=bT.style.width||this.__oR.style.height!=bT.style.height){this.__oS();
this.__oR=bT.cloneNode(true);
}}}else if(qx.dom.Node.isNodeName(bR,bp)||qx.dom.Node.isNodeName(bR.parentNode,bp)){var bU=bR.parentNode;

while(qx.dom.Node.isNodeName(bU,bu)){bU=bU.parentNode;
}if(this.__oR==null){this.__oR=bU.cloneNode(true);
}else{qx.event.Timer.once(function(){if(bU.style.width!=this.__oR.style.width||bU.style.height!=this.__oR.style.height||bU.innerHTML!=this.__oR.innerHTML){this.__oS();
this.__oR=bU.cloneNode(true);
}},this,0);
}}else{this.__oR=null;
}},"default":function(e){var r=e.srcElement;

if(this.__oR!=null){if(r.nodeType==1){if(r==this.__oR.node){if(r.outerHTML!=this.__oR.content){this.__oR.content=r.outerHTML;
this.__oS();
}}else{for(var i=0,j=r.childNodes.length;i<j;i++){if(r.childNodes[i]==this.__oR.node){if(r.childNodes[i].outerHTML!=this.__oR.content){this.__oR.content=r.childNodes[i].outerHTML;
this.__oS();
}}}}}else{this.__oR=null;
}}}}),__oS:qx.core.Variant.select(C,{"mshtml|webkit":function(){this.__oL(w,null,null);
},"default":function(){var bL=this.getUndoRedoObject();
bL.actionType=w;
this.__oO(bL);
}}),__oT:function(){qx.event.Timer.once(function(e){if(this.__oh!=null){var bY={undo:this.isUndoPossible()?0:-1,redo:this.isRedoPossible()?0:-1};
this.__oh.fireDataEvent(D,bY);
}},this,200);
}},destruct:function(){try{qx.event.Registration.removeListener(this.__ok.body,H,this.__on);
qx.event.Registration.removeListener(this.__ok,K,this.__oo);

if(qx.core.Variant.isSet(C,A)){qx.event.Registration.removeListener(this.__ok,bv,this.__op);
}}catch(e){}this._disposeObjects(bm);
this.__oh=this.__oi=this.__oj=this._commands=this.__ok=null;
this.__om=this.__ol=null;
}});
})();
(function(){var s="userImageUpload",r="import",q="importUpload",p="file",o='uploadFile',n="grfind.UploadField",m='mouseover',l='changeFieldValue',k='session-key',j='',c="imageUpload",i="completed",g="fileUploadAndReturn",b="uploadFile - could not get url. Nothing done.",a='completed',f="user-image",d='store-type',h="image";
qx.Class.define(n,{extend:qx.ui.container.Composite,construct:function(t,u,v,w){arguments.callee.base.call(this);
this.setLayout(new qx.ui.layout.Basic());
this.app=qx.core.Init.getApplication();
var y=null;
u==p?y=g:null;
u==h?y=c:null;
u==f?y=s:null;
u==r?y=q:null;

if(!y){this.app.userMessag(b);
return;
}this.policiesUploadForm=new grfind.upload.UploadForm(u,y);
this.policiesUploadForm.setLayout(new qx.ui.layout.Basic);
var z=new grfind.upload.UploadField(o,t,v);
this.policiesUploadForm.setParameter(k,this.app.getSessionKey());
this.policiesUploadForm.setParameter(d,w);
this.policiesUploadForm.add(z,{left:0,top:0});
this.policiesUploadForm.addListener(a,function(e){this.fireDataEvent(i,this.policiesUploadForm.getIframeHtmlContent());
},this);
z.addListener(l,function(e){e.getData()!=j?this.policiesUploadForm.send():null;
},this);
this.addListener(m,function(e){e.stop();
},this);
this.add(this.policiesUploadForm);
},properties:{app:{init:null}},members:{_addParm:function(A){for(var x in A){this.policiesUploadForm.setParameter(x,A[x]);
}}}});
})();
(function(){var a="qx.ui.layout.Basic";
qx.Class.define(a,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(b,c){var g=this._getLayoutChildren();
var d,f,e,h,top;
for(var i=0,l=g.length;i<l;i++){d=g[i];
f=d.getSizeHint();
e=d.getLayoutProperties();
h=(e.left||0)+d.getMarginLeft();
top=(e.top||0)+d.getMarginTop();
d.renderLayout(h,top,f.width,f.height);
}},_computeSizeHint:function(){var p=this._getLayoutChildren();
var m,r,n;
var q=0,o=0;
var j,k;
for(var i=0,l=p.length;i<l;i++){m=p[i];
r=m.getSizeHint();
n=m.getLayoutProperties();
j=r.width+(n.left||0)+m.getMarginLeft()+m.getMarginRight();
k=r.height+(n.top||0)+m.getMarginTop()+m.getMarginBottom();

if(j>q){q=j;
}
if(k>o){o=k;
}}return {width:q,height:o};
}}});
})();
(function(){var D="",C="hidden",B="String",A="qx.event.type.Event",z="completed",y="_applyName",x="frame_",w="qx.client",v='"></iframe>',u="input",ba=">",Y="multipart/form-data",X='<form method="POST" enctype="multipart/form-data"></form>',W="pre",V="target",U="overflowY",T="name",S="action",R="sending",Q="_applyTarget",K="form",L="PRE",I="POST",J='<iframe name="',G="complete",H="mshtml",E="grfind.upload.UploadForm",F="<",M="none",N="iframe",P="overflowX",O="_applyUrl";
qx.Class.define(E,{extend:qx.ui.container.Composite,construct:function(name,i,j){arguments.callee.base.call(this);
if(name)this.setName(name);

if(i)this.setUrl(i);
var k=this.getContentElement();
k.setAttributes({encoding:j||Y,method:I});
k.include();
this._parameters={};
this._hidden={};
this._createIFrameTarget();
},destruct:function(){if(this._iframeNode){try{document.body.removeChild(this._iframeNode);
this._iframeNode.onreadystatechange=null;
this._iframeNode.onload=null;
this._iframeNode=null;
}catch(a){this.warn("can't remove iframe node from dom.");
}}this._parameters=null;

for(var n in this._hidden){if(this._hidden[n]&&this._hidden[n].parentNode){this._hidden[n].parentNode.removeChild(this._hidden[n]);
}}this._hidden=null;
},events:{"sending":A,"completed":A},properties:{name:{check:B,init:D,apply:y},url:{check:B,init:D,apply:O},target:{check:B,init:D,apply:Q}},members:{_applyName:function(b,c){this.getContentElement().setAttribute(T,b);
},_applyUrl:function(l,m){this.getContentElement().setAttribute(S,l);
},_applyTarget:function(bb,bc){this.getContentElement().setAttribute(V,bb);
},_createIFrameTarget:function(){var bk=x+(new Date).valueOf();

if(qx.core.Variant.isSet(w,H)){this._iframeNode=document.createElement(J+bk+v);
}else{this._iframeNode=document.createElement(N);
}this._iframeNode.id=(this._iframeNode.name=bk);
this._iframeNode.style.display=M;
this.setTarget(bk);
document.body.appendChild(this._iframeNode);
this._iframeNode.onload=qx.lang.Function.bind(this._onLoad,this);
this._iframeNode.onreadystatechange=qx.lang.Function.bind(this._onReadyStateChange,this);
},_createContentElement:function(){var d=new qx.html.Element(K);
d.useMarkup(X);
d.setStyle(P,C);
d.setStyle(U,C);
return d;
},_addFormParameters:function(){var s=this.getContentElement().getDomElement();
var r=this.getParameters();

for(var t in r){s.appendChild(this._hidden[t]);
}},_createHiddenFormField:function(name,g){var h=document.createElement(u);
h.type=C;
h.name=name;
h.value=g;
return h;
},setParameter:function(p,q){this._parameters[p]=q;

if(this._hidden[p]&&this._hidden[p].name){this._hidden[p].value=q;
}else{this._hidden[p]=this._createHiddenFormField(p,q);
}},removeParameter:function(f){delete this._parameters[f];

if(this._hidden[f]&&this._hidden[f].parentNode){this._hidden[f].parentNode.removeChild(this._hidden[f]);
}delete this._hidden[f];
},getParameter:function(bg){return this._parameters[bg]||null;
},getParameters:function(){return this._parameters;
},send:function(){var bi=this.getContentElement().getDomElement();

if(bi){this._addFormParameters();
bi.submit();
this._isSent=true;
this.fireEvent(R);
}else{throw new Error("Form element not created! Unable to call form submit!");
}},getIframeWindow:function(){return qx.bom.Iframe.getWindow(this._iframeNode);
},getIframeDocument:function(){return qx.bom.Iframe.getDocument(this._iframeNode);
},getIframeBody:function(){return qx.bom.Iframe.getBody(this._iframeNode);
},getIframeNode:function(){return this._iframeNode;
},getIframeTextContent:function(){var bh=this.getIframeBody();

if(!bh){return null;
}if(bh.firstChild&&(bh.firstChild.tagName==L||bh.firstChild.tagName==W)){return bh.firstChild.innerHTML;
}else{return bh.innerHTML;
}},getIframeHtmlContent:function(){var o=this.getIframeBody();
return o?o.innerHTML:null;
},getIframeXmlContent:function(){var bf=this.getIframeTextContent();

if(!bf||bf.length==0){return null;
}var bd=null;
var be=bf.replace(/&lt;/g,F);
be=be.replace(/&gt;/g,ba);

try{bd=qx.xml.Document.fromString(be);
}catch(bj){}return bd;
},_onReadyStateChange:function(e){if(this.getIframeNode().readyState==G&&this._isSent){this.fireEvent(z);
delete this._isSent;
}},_onLoad:function(e){if(this._isSent){this.fireEvent(z);
delete this._isSent;
}}}});
})();
(function(){var k="",j="changeFieldValue",i="String",h="_button",g="grfind.upload.UploadField",f="_textfield",d="_applyFieldValue",c="_applyFieldName";
qx.Class.define(g,{extend:qx.ui.container.Composite,construct:function(n,o,p){arguments.callee.base.call(this);
this.setLayout(new qx.ui.layout.HBox().set({spacing:2}));

if(n)this.setFieldName(n);
this._textfield=new qx.ui.form.TextField();
this._textfield.exclude();
this._button=new grfind.upload.UploadButton(this.getFieldName(),o,p);
this._button.addListener(j,this._onChangeFieldValue,this);
this.add(this._textfield,{flex:1});
this.add(this._button);
},destruct:function(){this._disposeObjects(h,f);
},properties:{fieldName:{check:i,init:k,apply:c},fieldValue:{check:i,init:k,apply:d,event:j}},members:{_value:k,_applyFieldValue:function(a,b){this._button.setFieldValue(a);
this._textfield.setValue(a);
},_applyFieldName:function(l,m){if(this._button)this._button.setFieldName(l);
},getTextField:function(){return this._textfield;
},getButton:function(){return this._button;
},_onChangeFieldValue:function(e){var q=e.getData();
this._textfield.setValue(q);
this.setFieldValue(q);
}}});
})();
(function(){var w="",v="String",u="file",t="rect(auto, ",s="-790px",r="true",q="_applyFieldValue",p="qx.client",o="60px",n="_applyFieldName",M="0",L="grfind.upload.UploadButton",K="input",J="px",I="pointer",H="hand",G="resize",F="alpha(opacity=0)",E="highlight-box",D="_tmp_",B="mshtml",C="none",z="100",A="changeFieldValue",x="px, auto, 789px)",y="absolute";
qx.Class.define(L,{extend:qx.ui.form.Button,construct:function(N,O,P,Q){arguments.callee.base.call(this,O,P,Q);
this.set({appearance:E,padding:[3,6,3,6]});

if(N)this.setFieldName(N);
this._createInputFileTag(this.getContainerElement());
this.addListener(G,this._onuploadresize,this);
},destruct:function(){var i=this._input;

if(i){i.parentNode.removeChild(i);
i.onchange=null;
this._input=null;
}},properties:{fieldName:{check:v,init:w,apply:n},fieldValue:{check:v,init:w,apply:q,event:A}},members:{_applyFieldName:function(T,U){if(this._input)this._input.name=T;
},_applyFieldValue:function(g,h){if(this._valueInputOnChange){delete this._valueInputOnChange;
}else{if(!g||g==w){if(qx.core.Variant.isSet(p,B)){this._createInputFileTag(this.getContainerElement());
}else{this._input.value=w;
}}else{throw new Error("Unable to set value to non null or non empty!");
}}},_applyEnabled:function(R,S){if(this._input)this._input.disabled=(R===false);
return arguments.callee.base.call(this,R,S);
},_createInputFileTag:function(j){if(this._input){this._input.name+=D;
this._input.parentNode.removeChild(this._input);
this._input=null;
}var l=(this._input=document.createElement(K));
l.type=u;
l.name=this.getFieldName();
l.style.position=y;
l.style.left=s;
l.style.fontSize=o;
l.style.zIndex=z;
l.style.cursor=H;
l.style.cursor=I;
l.style.filter=F;
l.style.opacity=M;
l.style.MozOutlinestyle=C;
l.style.hidefocus=r;
l.disabled=this.getEnabled()===false;
this._setInputSize(16,16);
var m=this;
l.onchange=function(d){return m._onChange(d);
};
var k=new qx.html.Element();
k.useElement(l);
j.add(k);
},_setInputSize:function(a,b){var c=this._input;

if(!c)return;
c.style.clip=t+(791+a)+x;
c.style.height=w+(b*2)+J;
},_onuploadresize:function(e){var f=e.getData();
this._setInputSize(f.width,f.height);
},_onChange:function(e){this._valueInputOnChange=true;
this.setFieldValue(this._input.value);
}}});
})();
(function(){var g="textarea",f="qx.ui.form.TextArea",e="_applyWrap",d="Boolean";
qx.Class.define(f,{extend:qx.ui.form.AbstractField,construct:function(h){arguments.callee.base.call(this,h);
this.initWrap();
},properties:{wrap:{check:d,init:true,apply:e},appearance:{refine:true,init:g}},members:{_createInputElement:function(){return new qx.html.Input(g);
},_applyWrap:function(b,c){this.getContentElement().setWrap(b);
},_getContentHint:function(){var a=arguments.callee.base.call(this);
a.height=a.height*4;
a.width=this._getTextSize().width*20;
return a;
}}});
})();
(function(){var t="screenshots",s='html',r='name',q="About buying on grFind",p="15px sans-serif",o="Quickly add an item to grFind",n="10%",m="text/html",l="GET",k="Selling",bc="pricing",bb="auto",ba="Overview of grFind",Y=".html",X="searching",W="How to sell items on grFind",V="Quick Add",U="Pricing",T="resource/grfind/faq/",S="",B="grfind.window.FaqWindow",C="changeSelection",z="Screenshots",A="buying",w="gFind Faq & Help",y="completed",u="Searching",v="general",D="browsers",E="Searching on grFind",K="Pricing information",J="About the different browsers",M="quickadd",L="requestRetry",O="Buying",N="Loading ... ",G="Browsers",R="General",Q="See screenshots of grFind",P="selling",F="systemConn",H='help',I="30%";
qx.Class.define(B,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:w,showMinimize:false});
this.set({resizableTop:false});
this.reqBox=new grfind.ReqBox();
var h=new qx.ui.container.Composite(new qx.ui.layout.VBox(5)).set({padding:5,font:qx.bom.Font.fromString(p)});
;
var f=new qx.ui.tabview.TabView();
var g=[[R,v,ba],[V,M,o],[u,X,E],[O,A,q],[k,P,W],[U,bc,K],[G,D,J],[z,t,Q]];

for(var x=0;x<g.length;x++){var j=new qx.ui.tabview.Page(g[x][0]);
j.setLayout(new qx.ui.layout.Canvas());

if(g[x][1]==t){j.add(new grfind.Slideshow,{edge:0});
}else{var d=new qx.ui.embed.Html().set({padding:[20,5,20,20],overflowY:bb});
j.add(d,{edge:0});
j.setUserData(s,d);
}var i=j.getButton();
i.setUserData(H,g[x][2]);
j.setUserData(r,g[x][1]);
f.add(j);
}f.addListener(C,function(e){e.getData()[0].getUserData(r)!=t?this._loadHtml(e.getData()[0]):null;
},this);
this.reqBox.addListener(L,function(e){this._loadHtml(this.getCurrentPage());
},this);
h.add(f,{flex:1});
this.add(h,{edge:0});
this.add(this.reqBox,{top:I,left:n});
try{this._loadHtml(f.getChildren()[0]);
}catch(e){}},properties:{app:{init:null},currentPage:{init:null}},members:{_loadHtml:function(a){this.setCurrentPage(a);
var b=T+a.getUserData(r)+Y;
var c=new grfind.HttpRequest(b,l,m,2000,null);

if(c){c.addListener(y,function(e){a.getUserData(s).setHtml(e.getData());
},this);
a.getUserData(s).setHtml(S);
this.reqBox.start(c,F,N);
}}}});
})();
(function(){var b="qx.ui.core.ISingleSelection",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"changeSelection":a},members:{getSelection:function(){return true;
},setSelection:function(c){return arguments.length==1;
},resetSelection:function(){return true;
},isSelected:function(d){return arguments.length==1;
},isSelectionEmpty:function(){return true;
},getSelectables:function(){return true;
}}});
})();
(function(){var x="pane",w="lastTab",v="bar",u="page",t="firstTab",s="right",r="bottom",q="button",p="changeSelection",o="close",L="top",K="left",J="__oV",I="qx.event.type.Data",H="barRight",G="beforeChangeSelection",F="tabview",E="vertical",D="_applyBarPosition",C="barLeft",A="horizontal",B="qx.ui.tabview.TabView",y="barTop",z="barBottom";
qx.Class.define(B,{extend:qx.ui.core.Widget,implement:qx.ui.core.ISingleSelection,include:[qx.ui.core.MContentPadding],construct:function(bl){arguments.callee.base.call(this);
this.__oU={top:y,right:H,bottom:z,left:C};
this._createChildControl(v);
this._createChildControl(x);
var bm=this.__oV=new qx.ui.form.RadioGroup;
bm.setWrap(false);
bm.addListener(p,this._onChangeSelection,this);
if(bl!=null){this.setBarPosition(bl);
}else{this.initBarPosition();
}},events:{"changeSelection":I},properties:{appearance:{refine:true,init:F},barPosition:{check:[K,s,L,r],init:L,apply:D}},members:{__oV:null,_createChildControlImpl:function(m){var n;

switch(m){case v:n=new qx.ui.container.SlideBar();
n.setZIndex(10);
this._add(n);
break;
case x:n=new qx.ui.container.Stack;
n.setZIndex(5);
this._add(n,{flex:1});
break;
}return n||arguments.callee.base.call(this,m);
},_getContentPaddingTarget:function(){return this.getChildControl(x);
},add:function(f){{};
var g=f.getButton();
var h=this.getChildControl(v);
var k=this.getChildControl(x);
f.exclude();
h.add(g);
k.add(f);
this.__oV.add(g);
f.addState(this.__oU[this.getBarPosition()]);
f.addState(w);
var j=this.getChildren();

if(j[0]==f){f.addState(t);
}else{j[j.length-2].removeState(w);
}f.addListener(o,this._onPageClose,this);
},remove:function(S){var X=this.getChildControl(x);
var V=this.getChildControl(v);
var U=S.getButton();
var W=X.getChildren();
if(this.getSelection()[0]==S){var T=W.indexOf(S);

if(T==0){if(W[1]){this.setSelection([W[1]]);
}else{this.resetSelection();
}}else{this.setSelection([W[T-1]]);
}}V.remove(U);
X.remove(S);
this.__oV.remove(U);
S.removeState(this.__oU[this.getBarPosition()]);
if(S.hasState(t)){S.removeState(t);

if(W[0]){W[0].addState(t);
}}
if(S.hasState(w)){S.removeState(w);

if(W.length>0){W[W.length-1].addState(w);
}}S.removeListener(o,this._onPageClose,this);
},getChildren:function(){return this.getChildControl(x).getChildren();
},indexOf:function(d){return this.getChildControl(x).indexOf(d);
},__oU:null,_applyBarPosition:function(bb,bc){var bd=this.getChildControl(v);
var bi=bb==K||bb==s;
var bg=bb==s||bb==r;
var bh=bi?qx.ui.layout.HBox:qx.ui.layout.VBox;
var bk=this._getLayout();

if(bk&&bk instanceof bh){}else{this._setLayout(bk=new bh);
}bk.setReversed(bg);
bd.setOrientation(bi?E:A);
var bj=this.getChildren();
if(bc){var be=this.__oU[bc];
bd.removeState(be);
for(var i=0,l=bj.length;i<l;i++){bj[i].removeState(be);
}}
if(bb){var bf=this.__oU[bb];
bd.addState(bf);
for(var i=0,l=bj.length;i<l;i++){bj[i].addState(bf);
}}},getSelection:function(){var a=this.__oV.getSelection();
var b=[];

for(var i=0;i<a.length;i++){b.push(a[i].getUserData(u));
}return b;
},setSelection:function(bn){var bo=[];

for(var i=0;i<bn.length;i++){bo.push(bn[i].getChildControl(q));
}this.__oV.setSelection(bo);
},resetSelection:function(){this.__oV.resetSelection();
},isSelected:function(M){var N=M.getChildControl(q);
return this.__oV.isSelected(N);
},isSelectionEmpty:function(){return this.__oV.isSelectionEmpty();
},getSelectables:function(){var Y=this.__oV.getSelectables();
var ba=[];

for(var i=0;i<Y.length;i++){ba.push(Y[i].getUserData(u));
}return ba;
},_onChangeSelection:function(e){var R=this.getChildControl(x);
var O=e.getData()[0];

if(O){R.setSelection([O.getUserData(u)]);
O.focus();
this.scrollChildIntoView(O,null,null,false);
}else{R.resetSelection();
}var Q=R.getSelection();
var P=e.getOldData();
this.fireDataEvent(p,Q,P);
},_onBeforeChangeSelection:function(e){if(!this.fireNonBubblingEvent(G,qx.event.type.Event,[false,true])){e.preventDefault();
}},_onRadioChangeSelection:function(e){var c=e.getData()[0];

if(c){this.setSelection([c.getUserData(u)]);
}else{this.resetSelection();
}},_onPageClose:function(e){this.remove(e.getTarget());
}},destruct:function(){this._disposeObjects(J);
this.__oU=null;
}});
})();
(function(){var a="qx.ui.form.IModelSelection";
qx.Interface.define(a,{members:{setModelSelection:function(b){},getModelSelection:function(){}}});
})();
(function(){var g="qx.ui.core.MSingleSelectionHandling",f="changeSelection",d="changeSelected",c="__oW",b="qx.event.type.Data";
qx.Mixin.define(g,{events:{"changeSelection":b},members:{__oW:null,getSelection:function(){var a=this.__oX().getSelected();

if(a){return [a];
}else{return [];
}},setSelection:function(m){switch(m.length){case 0:this.resetSelection();
break;
case 1:this.__oX().setSelected(m[0]);
break;
default:throw new Error("Could only select one item, but the selection "+" array contains "+m.length+" items!");
}},resetSelection:function(){this.__oX().resetSelected();
},isSelected:function(i){return this.__oX().isSelected(i);
},isSelectionEmpty:function(){return this.__oX().isSelectionEmpty();
},getSelectables:function(){return this.__oX().getSelectables();
},_onChangeSelected:function(e){var k=e.getData();
var j=e.getOldData();
k==null?k=[]:k=[k];
j==null?j=[]:j=[j];
this.fireDataEvent(f,k,j);
},__oX:function(){if(this.__oW==null){var h=this;
this.__oW=new qx.ui.core.SingleSelectionManager({getItems:function(){return h._getItems();
},isItemSelectable:function(l){if(h._isItemSelectable){return h._isItemSelectable(l);
}else{return l.isEnabled()&&l.isVisible();
}}});
this.__oW.addListener(d,this._onChangeSelected,this);
}this.__oW.setAllowEmptySelection(this._isAllowEmptySelection());
return this.__oW;
}},destruct:function(){this._disposeObjects(c);
}});
})();
(function(){var m="change",l="qx.event.type.Data",k="__oY",h="qx.ui.form.MModelSelection",g="changeSelection";
qx.Mixin.define(h,{construct:function(){this.__oY=new qx.data.Array();
this.__oY.addListener(m,this.__pc,this);
this.addListener(g,this.__pb,this);
},events:{changeModelSelection:l},members:{__oY:null,__pa:false,__pb:function(){if(this.__pa){return;
}var c=this.getSelection();
var a=[];

for(var i=0;i<c.length;i++){var d=c[i];
var b=d.getModel?d.getModel():null;

if(b!==null){a.push(b);
}}this.setModelSelection(a);
},__pc:function(){this.__pa=true;
var o=this.getSelectables();
var q=[];
var p=this.__oY.toArray();

for(var i=0;i<p.length;i++){var s=p[i];

for(var j=0;j<o.length;j++){var t=o[j];
var n=t.getModel?t.getModel():null;

if(s===n){q.push(t);
break;
}}}this.setSelection(q);
this.__pa=false;
var r=this.getSelection();

if(!qx.lang.Array.equals(r,q)){this.__pb();
}},getModelSelection:function(){return this.__oY;
},setModelSelection:function(e){if(!e){this.__oY.removeAll();
return;
}{};
e.unshift(this.__oY.getLength());
e.unshift(0);
var f=this.__oY.splice.apply(this.__oY,e);
f.dispose();
}},destruct:function(){this._disposeObjects(k);
}});
})();
(function(){var x="Boolean",w="changeValue",v="_applyAllowEmptySelection",u="_applyInvalidMessage",t="qx.ui.form.RadioGroup",s="_applyValid",r="",q="changeRequired",p="changeValid",o="changeEnabled",k="__pd",n="changeInvalidMessage",m="changeSelection",j="_applyEnabled",h="String";
qx.Class.define(t,{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(g){arguments.callee.base.call(this);
this.__pd=[];
this.addListener(m,this.__pe,this);

if(g!=null){this.add.apply(this,arguments);
}},properties:{enabled:{check:x,apply:j,event:o},wrap:{check:x,init:true},allowEmptySelection:{check:x,init:false,apply:v},valid:{check:x,init:true,apply:s,event:p},required:{check:x,init:false,event:q},invalidMessage:{check:h,init:r,event:n,apply:u}},members:{__pd:null,getItems:function(){return this.__pd;
},add:function(N){var O=this.__pd;
var P;

for(var i=0,l=arguments.length;i<l;i++){P=arguments[i];

if(qx.lang.Array.contains(O,P)){continue;
}P.addListener(w,this._onItemChangeChecked,this);
O.push(P);
P.setGroup(this);
if(P.getValue()){this.setSelection([P]);
}}if(!this.isAllowEmptySelection()&&O.length>0&&!this.getSelection()[0]){this.setSelection([O[0]]);
}},remove:function(A){var B=this.__pd;

if(qx.lang.Array.contains(B,A)){qx.lang.Array.remove(B,A);
if(A.getGroup()===this){A.resetGroup();
}A.removeListener(w,this._onItemChangeChecked,this);
if(A.getValue()){this.resetSelection();
}}},getChildren:function(){return this.__pd;
},_onItemChangeChecked:function(e){var C=e.getTarget();

if(C.getValue()){this.setSelection([C]);
}else if(this.getSelection()[0]==C){this.resetSelection();
}},_applyInvalidMessage:function(d,f){for(var i=0;i<this.__pd.length;i++){this.__pd[i].setInvalidMessage(d);
}},_applyValid:function(D,E){for(var i=0;i<this.__pd.length;i++){this.__pd[i].setValid(D);
}},_applyEnabled:function(H,I){var J=this.__pd;

if(H==null){for(var i=0,l=J.length;i<l;i++){J[i].resetEnabled();
}}else{for(var i=0,l=J.length;i<l;i++){J[i].setEnabled(H);
}}},_applyAllowEmptySelection:function(y,z){if(!y&&this.isSelectionEmpty()){this.resetSelection();
}},selectNext:function(){var K=this.getSelection()[0];
var M=this.__pd;
var L=M.indexOf(K);

if(L==-1){return;
}var i=0;
var length=M.length;
if(this.getWrap()){L=(L+1)%length;
}else{L=Math.min(L+1,length-1);
}
while(i<length&&!M[L].getEnabled()){L=(L+1)%length;
i++;
}this.setSelection([M[L]]);
},selectPrevious:function(){var a=this.getSelection()[0];
var c=this.__pd;
var b=c.indexOf(a);

if(b==-1){return;
}var i=0;
var length=c.length;
if(this.getWrap()){b=(b-1+length)%length;
}else{b=Math.max(b-1,0);
}
while(i<length&&!c[b].getEnabled()){b=(b-1+length)%length;
i++;
}this.setSelection([c[b]]);
},_getItems:function(){return this.getItems();
},_isAllowEmptySelection:function(){return this.isAllowEmptySelection();
},__pe:function(e){var G=e.getData()[0];
var F=e.getOldData()[0];

if(F){F.setValue(false);
}
if(G){G.setValue(true);
}}},destruct:function(){this._disposeArray(k);
}});
})();
(function(){var g="__ph",f="__pf",e="Boolean",d="qx.ui.core.SingleSelectionManager",c="__pg",b="changeSelected",a="qx.event.type.Data";
qx.Class.define(d,{extend:qx.core.Object,construct:function(h){arguments.callee.base.call(this);
{};
this.__pf=h;
},events:{"changeSelected":a},properties:{allowEmptySelection:{check:e,init:true,apply:g}},members:{__pg:null,__pf:null,getSelected:function(){return this.__pg;
},setSelected:function(j){if(!this.__pj(j)){throw new Error("Could not select "+j+", because it is not a child element!");
}this.__pi(j);
},resetSelected:function(){this.__pi(null);
},isSelected:function(s){if(!this.__pj(s)){throw new Error("Could not check if "+s+" is selected,"+" because it is not a child element!");
}return this.__pg===s;
},isSelectionEmpty:function(){return this.__pg==null;
},getSelectables:function(){var t=this.__pf.getItems();
var u=[];

for(var i=0;i<t.length;i++){if(this.__pf.isItemSelectable(t[i])){u.push(t[i]);
}}return u;
},__ph:function(k,l){if(!k){this.__pi(this.__pg);
}},__pi:function(m){var p=this.__pg;
var o=m;

if(o!=null&&p===o){return;
}
if(!this.isAllowEmptySelection()&&o==null){var n=this.getSelectables()[0];

if(n){o=n;
}}this.__pg=o;
this.fireDataEvent(b,o,p);
},__pj:function(q){var r=this.__pf.getItems();

for(var i=0;i<r.length;i++){if(r[i]===q){return true;
}}return false;
}},destruct:function(){if(this.__pf.toHashCode){this._disposeObjects(f);
}else{this.__pf=null;
}this._disposeObjects(c);
}});
})();
(function(){var h="[",g="]",f=".",d="idBubble",c="changeBubble",b="qx.data.marshal.MEventBubbling",a="qx.event.type.Data";
qx.Mixin.define(b,{events:{"changeBubble":a},members:{_applyEventPropagation:function(u,v,name){this.fireDataEvent(c,{value:u,name:name,old:v});
this._registerEventChaining(u,v,name);
},_registerEventChaining:function(q,r,name){if((q instanceof qx.core.Object)&&qx.Class.hasMixin(q.constructor,qx.data.marshal.MEventBubbling)){var s=qx.lang.Function.bind(this.__pk,this,name);
var t=q.addListener(c,s,this);
q.setUserData(d,t);
}if(r!=null&&r.getUserData&&r.getUserData(d)!=null){r.removeListenerById(r.getUserData(d));
}},__pk:function(name,e){var p=e.getData();
var l=p.value;
var j=p.old;
if(qx.Class.hasInterface(e.getTarget().constructor,qx.data.IListData)){if(p.name.indexOf){var o=p.name.indexOf(f)!=-1?p.name.indexOf(f):p.name.length;
var m=p.name.indexOf(h)!=-1?p.name.indexOf(h):p.name.length;

if(o<m){var i=p.name.substring(0,o);
var n=p.name.substring(o+1,p.name.length);

if(n[0]!=h){n=f+n;
}var k=name+h+i+g+n;
}else if(m<o){var i=p.name.substring(0,m);
var n=p.name.substring(m,p.name.length);
var k=name+h+i+g+n;
}else{var k=name+h+p.name+g;
}}else{var k=name+h+p.name+g;
}}else{var k=name+f+p.name;
}this.fireDataEvent(c,{value:l,name:k,old:j});
}}});
})();
(function(){var y="change",x="add",w="remove",v="order",u="",t="qx.data.Array",s="?",r="changeBubble",q="qx.event.type.Event",p="number",n="changeLength",o="qx.event.type.Data";
qx.Class.define(t,{extend:qx.core.Object,include:qx.data.marshal.MEventBubbling,implement:[qx.data.IListData],construct:function(j){arguments.callee.base.call(this);
if(j==undefined){this.__pl=[];
}else if(arguments.length>1){this.__pl=[];

for(var i=0;i<arguments.length;i++){this.__pl.push(arguments[i]);
}}else if(typeof j==p){this.__pl=new Array(j);
}else if(j instanceof Array){this.__pl=qx.lang.Array.clone(j);
}else{this.__pl=[];
throw new Error("Type of the parameter not supported!");
}for(var i=0;i<this.__pl.length;i++){this._applyEventPropagation(this.__pl[i],null,i);
}this.__pm();
},events:{"change":o,"changeLength":q},members:{__pl:null,concat:function(F){if(F){var G=this.__pl.concat(F);
}else{var G=this.__pl.concat();
}return new qx.data.Array(G);
},join:function(bc){return this.__pl.join(bc);
},pop:function(){var B=this.__pl.pop();
this.__pm();
this._applyEventPropagation(null,B,this.length-1);
this.fireDataEvent(y,{start:this.length-1,end:this.length-1,type:w,items:[B]},null);
return B;
},push:function(I){for(var i=0;i<arguments.length;i++){this.__pl.push(arguments[i]);
this.__pm();
this._applyEventPropagation(arguments[i],null,this.length-1);
this.fireDataEvent(y,{start:this.length-1,end:this.length-1,type:x,items:[arguments[i]]},null);
}return this.length;
},reverse:function(){this.__pl.reverse();
this.fireDataEvent(y,{start:0,end:this.length-1,type:v,items:null},null);
},shift:function(){var c=this.__pl.shift();
this.__pm();
this._applyEventPropagation(null,c);
this.fireDataEvent(y,{start:0,end:this.length-1,type:w,items:[c]},null);
return c;
},slice:function(M,N){return new qx.data.Array(this.__pl.slice(M,N));
},splice:function(S,T,U){var bb=this.__pl.length;
var X=this.__pl.splice.apply(this.__pl,arguments);
if(this.__pl.length!=bb){this.__pm();
}var Y=T>0;
var V=arguments.length>2;
var W=null;

if(Y||V){if(this.__pl.length>bb){var ba=x;
}else if(this.__pl.length<bb){var ba=w;
W=X;
}else{var ba=v;
}this.fireDataEvent(y,{start:S,end:this.length-1,type:ba,items:W},null);
}for(var i=2;i<arguments.length;i++){this._registerEventChaining(arguments[i],null,S+i);
}this.fireDataEvent(r,{value:this,name:s,old:X});
for(var i=0;i<X.length;i++){this._applyEventPropagation(null,X[i],i);
}return (new qx.data.Array(X));
},sort:function(C){this.__pl.sort.apply(this.__pl,arguments);
this.fireDataEvent(y,{start:0,end:this.length-1,type:v,items:null},null);
},unshift:function(b){for(var i=arguments.length-1;i>=0;i--){this.__pl.unshift(arguments[i]);
this.__pm();
this._applyEventPropagation(arguments[i],null,0);
this.fireDataEvent(y,{start:0,end:this.length-1,type:x,items:[arguments[i]]},null);
}return this.length;
},toArray:function(){return this.__pl;
},getItem:function(bd){return this.__pl[bd];
},setItem:function(P,Q){var R=this.__pl[P];
this.__pl[P]=Q;
this._applyEventPropagation(Q,R,P);
if(this.length!=this.__pl.length){this.__pm();
}this.fireDataEvent(y,{start:P,end:P,type:x,items:[Q]},null);
},getLength:function(){return this.length;
},indexOf:function(be){return this.__pl.indexOf(be);
},toString:function(){if(this.__pl!=null){return this.__pl.toString();
}return u;
},contains:function(f){return this.__pl.indexOf(f)!==-1;
},copy:function(){return this.concat();
},insertAt:function(z,A){this.splice(z,0,A);
},insertBefore:function(bf,bg){var bh=this.indexOf(bf);

if(bh==-1){this.push(bg);
}else{this.splice(bh,0,bg);
}},insertAfter:function(J,K){var L=this.indexOf(J);

if(L==-1||L==(this.length-1)){this.push(K);
}else{this.splice(L+1,0,K);
}},removeAt:function(E){return this.splice(E,1)[0];
},removeAll:function(){for(var i=0;i<this.__pl.length;i++){this._applyEventPropagation(null,this.__pl[i],i);
}var l=this.getLength();
var k=this.__pl.concat();
this.__pl.length=0;
this.__pm();
this.fireDataEvent(y,{start:0,end:l-1,type:w,items:k},null);
},append:function(D){{};
for(var i=0;i<D.length;i++){this._applyEventPropagation(D[i],null,this.__pl.length+i);
}Array.prototype.push.apply(this.__pl,D);
this.__pm();
},remove:function(g){var h=this.indexOf(g);

if(h!=-1){this.splice(h,1);
return g;
}},equals:function(H){if(this.length!==H.length){return false;
}
for(var i=0;i<this.length;i++){if(this.getItem(i)!==H.getItem(i)){return false;
}}return true;
},sum:function(){var a=0;

for(var i=0;i<this.length;i++){a+=this.getItem(i);
}return a;
},max:function(){var O=this.getItem(0);

for(var i=1;i<this.length;i++){if(this.getItem(i)>O){O=this.getItem(i);
}}return O===undefined?null:O;
},min:function(){var m=this.getItem(0);

for(var i=1;i<this.length;i++){if(this.getItem(i)<m){m=this.getItem(i);
}}return m===undefined?null:m;
},forEach:function(d,e){for(var i=0;i<this.__pl.length;i++){d.call(e,this.__pl[i]);
}},__pm:function(){this.length=this.__pl.length;
this.fireEvent(n,qx.event.type.Event);
}},destruct:function(){this.__pl=null;
}});
})();
(function(){var v="horizontal",u="scrollpane",t="vertical",s="button-backward",r="button-forward",q="content",p="execute",o="qx.ui.container.SlideBar",n="scrollY",m="removeChildWidget",i="scrollX",l="_applyOrientation",k="mousewheel",h="Integer",g="slidebar",j="update";
qx.Class.define(o,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling],construct:function(F){arguments.callee.base.call(this);
var G=this.getChildControl(u);
this._add(G,{flex:1});

if(F!=null){this.setOrientation(F);
}else{this.initOrientation();
}this.addListener(k,this._onMouseWheel,this);
},properties:{appearance:{refine:true,init:g},orientation:{check:[v,t],init:v,apply:l},scrollStep:{check:h,init:15,themeable:true}},members:{getChildrenContainer:function(){return this.getChildControl(q);
},_createChildControlImpl:function(d){var f;

switch(d){case r:f=new qx.ui.form.RepeatButton;
f.addListener(p,this._onExecuteForward,this);
f.setFocusable(false);
this._addAt(f,2);
break;
case s:f=new qx.ui.form.RepeatButton;
f.addListener(p,this._onExecuteBackward,this);
f.setFocusable(false);
this._addAt(f,0);
break;
case q:f=new qx.ui.container.Composite();
if(qx.bom.client.Engine.GECKO){f.addListener(m,this._onRemoveChild,this);
}this.getChildControl(u).add(f);
break;
case u:f=new qx.ui.core.scroll.ScrollPane();
f.addListener(j,this._onResize,this);
f.addListener(i,this._onScroll,this);
f.addListener(n,this._onScroll,this);
break;
}return f||arguments.callee.base.call(this,d);
},_forwardStates:{barLeft:true,barTop:true,barRight:true,barBottom:true},scrollBy:function(y){var z=this.getChildControl(u);

if(this.getOrientation()===v){z.scrollByX(y);
}else{z.scrollByY(y);
}},scrollTo:function(w){var x=this.getChildControl(u);

if(this.getOrientation()===v){x.scrollToX(w);
}else{x.scrollToY(w);
}},_applyOrientation:function(A,B){var E=[this.getLayout(),this._getLayout()];
var D=this.getChildControl(r);
var C=this.getChildControl(s);
if(B==t){D.removeState(t);
C.removeState(t);
D.addState(v);
C.addState(v);
}else if(B==v){D.removeState(v);
C.removeState(v);
D.addState(t);
C.addState(t);
}
if(A==v){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(E[0]){E[0].dispose();
}
if(E[1]){E[1].dispose();
}},_onMouseWheel:function(e){this.scrollBy(e.getWheelDelta()*this.getScrollStep());
e.stop();
},_onScroll:function(){this._updateArrowsEnabled();
},_onResize:function(e){var content=this.getChildControl(u).getChildren()[0];

if(!content){return;
}var a=this.getInnerSize();
var c=content.getBounds();
var b=(this.getOrientation()===v)?c.width>a.width:c.height>a.height;

if(b){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(u).getScrollX());
},this,50);
},_updateArrowsEnabled:function(){var I=this.getChildControl(u);

if(this.getOrientation()===v){var H=I.getScrollX();
var J=I.getScrollMaxX();
}else{var H=I.getScrollY();
var J=I.getScrollMaxY();
}this.getChildControl(s).setEnabled(H>0);
this.getChildControl(r).setEnabled(H<J);
},_showArrows:function(){this._showChildControl(r);
this._showChildControl(s);
},_hideArrows:function(){this._excludeChildControl(r);
this._excludeChildControl(s);
this.scrollTo(0);
}}});
})();
(function(){var n="pressed",m="abandoned",l="Integer",k="hovered",j="qx.event.type.Event",i="Enter",h="Space",g="press",f="qx.ui.form.RepeatButton",d="release",a="interval",c="__pn",b="execute";
qx.Class.define(f,{extend:qx.ui.form.Button,construct:function(q,r){arguments.callee.base.call(this,q,r);
this.__pn=new qx.event.AcceleratingTimer();
this.__pn.addListener(a,this._onInterval,this);
},events:{"execute":j,"press":j,"release":j},properties:{interval:{check:l,init:100},firstInterval:{check:l,init:500},minTimer:{check:l,init:20},timerDecrease:{check:l,init:2}},members:{__po:null,__pn:null,press:function(){if(this.isEnabled()){if(!this.hasState(n)){this.__pp();
}this.removeState(m);
this.addState(n);
}},release:function(s){if(!this.isEnabled()){return;
}if(this.hasState(n)){if(!this.__po){this.execute();
}}this.removeState(n);
this.removeState(m);
this.__pq();
},_applyEnabled:function(o,p){arguments.callee.base.call(this,o,p);

if(!o){this.removeState(n);
this.removeState(m);
this.__pq();
}},_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}
if(this.hasState(m)){this.removeState(m);
this.addState(n);
this.__pn.start();
}this.addState(k);
},_onMouseOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}this.removeState(k);

if(this.hasState(n)){this.removeState(n);
this.addState(m);
this.__pn.stop();
}},_onMouseDown:function(e){if(!e.isLeftPressed()){return;
}this.capture();
this.__pp();
e.stopPropagation();
},_onMouseUp:function(e){this.releaseCapture();

if(!this.hasState(m)){this.addState(k);

if(this.hasState(n)&&!this.__po){this.execute();
}}this.__pq();
e.stopPropagation();
},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case i:case h:if(this.hasState(n)){if(!this.__po){this.execute();
}this.removeState(n);
this.removeState(m);
e.stopPropagation();
this.__pq();
}}},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case i:case h:this.removeState(m);
this.addState(n);
e.stopPropagation();
this.__pp();
}},_onInterval:function(e){this.__po=true;
this.fireEvent(b);
},__pp:function(){this.fireEvent(g);
this.__po=false;
this.__pn.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();
this.removeState(m);
this.addState(n);
},__pq:function(){this.fireEvent(d);
this.__pn.stop();
this.removeState(m);
this.removeState(n);
}},destruct:function(){this._disposeObjects(c);
}});
})();
(function(){var e="Integer",d="interval",c="qx.event.type.Event",b="__pr",a="qx.event.AcceleratingTimer";
qx.Class.define(a,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__pr=new qx.event.Timer(this.getInterval());
this.__pr.addListener(d,this._onInterval,this);
},events:{"interval":c},properties:{interval:{check:e,init:100},firstInterval:{check:e,init:500},minimum:{check:e,init:20},decrease:{check:e,init:2}},members:{__pr:null,__ps:null,start:function(){this.__pr.setInterval(this.getFirstInterval());
this.__pr.start();
},stop:function(){this.__pr.stop();
this.__ps=null;
},_onInterval:function(){this.__pr.stop();

if(this.__ps==null){this.__ps=this.getInterval();
}this.__ps=Math.max(this.getMinimum(),this.__ps-this.getDecrease());
this.__pr.setInterval(this.__ps);
this.__pr.start();
this.fireEvent(d);
}},destruct:function(){this._disposeObjects(b);
}});
})();
(function(){var z="resize",w="scrollY",v="update",u="scrollX",t="_applyScrollX",s="_applyScrollY",r="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxX()",q="appear",p="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxY()",o="qx.event.type.Event",m="qx.ui.core.scroll.ScrollPane",n="scroll";
qx.Class.define(m,{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(z,this._onUpdate);
var B=this.getContentElement();
B.addListener(n,this._onScroll,this);
B.addListener(q,this._onAppear,this);
},events:{update:o},properties:{scrollX:{check:r,apply:t,event:u,init:0},scrollY:{check:p,apply:s,event:w,init:0}},members:{add:function(g){var h=this._getChildren()[0];

if(h){this._remove(h);
h.removeListener(z,this._onUpdate,this);
}
if(g){this._add(g);
g.addListener(z,this._onUpdate,this);
}},remove:function(f){if(f){this._remove(f);
f.removeListener(z,this._onUpdate,this);
}},getChildren:function(){return this._getChildren();
},_onUpdate:function(e){this.fireEvent(v);
},_onScroll:function(e){var H=this.getContentElement();
this.setScrollX(H.getScrollX());
this.setScrollY(H.getScrollY());
},_onAppear:function(e){var L=this.getContentElement();
var I=this.getScrollX();
var J=L.getScrollX();

if(I!=J){L.scrollToX(I);
}var M=this.getScrollY();
var K=L.getScrollY();

if(M!=K){L.scrollToY(M);
}},getItemTop:function(N){var top=0;

do{top+=N.getBounds().top;
N=N.getLayoutParent();
}while(N&&N!==this);
return top;
},getItemBottom:function(i){return this.getItemTop(i)+i.getBounds().height;
},getItemLeft:function(j){var k=0;
var parent;

do{k+=j.getBounds().left;
parent=j.getLayoutParent();

if(parent){k+=parent.getInsets().left;
}j=parent;
}while(j&&j!==this);
return k;
},getItemRight:function(l){return this.getItemLeft(l)+l.getBounds().width;
},getScrollSize:function(){return this.getChildren()[0].getBounds();
},getScrollMaxX:function(){var b=this.getInnerSize();
var a=this.getScrollSize();

if(b&&a){return Math.max(0,a.width-b.width);
}return 0;
},getScrollMaxY:function(){var F=this.getInnerSize();
var E=this.getScrollSize();

if(F&&E){return Math.max(0,E.height-F.height);
}return 0;
},scrollToX:function(c){var d=this.getScrollMaxX();

if(c<0){c=0;
}else if(c>d){c=d;
}this.setScrollX(c);
},scrollToY:function(C){var D=this.getScrollMaxY();

if(C<0){C=0;
}else if(C>D){C=D;
}this.setScrollY(C);
},scrollByX:function(x){this.scrollToX(this.getScrollX()+x);
},scrollByY:function(y){this.scrollToY(this.getScrollY()+y);
},_applyScrollX:function(G){this.getContentElement().scrollToX(G);
},_applyScrollY:function(A){this.getContentElement().scrollToY(A);
}}});
})();
(function(){var o="_applyDynamic",n="changeSelection",m="Boolean",k="qx.ui.container.Stack";
qx.Class.define(k,{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(n,this.__pt,this);
},properties:{dynamic:{check:m,init:false,apply:o}},members:{_applyDynamic:function(u){var w=this._getChildren();
var v=this.getSelection()[0];
var x;

for(var i=0,l=w.length;i<l;i++){x=w[i];

if(x!=v){if(u){w[i].exclude();
}else{w[i].hide();
}}}},_getItems:function(){return this.getChildren();
},_isAllowEmptySelection:function(){return true;
},_isItemSelectable:function(t){return t.isEnabled();
},__pt:function(e){var y=e.getOldData()[0];
var z=e.getData()[0];

if(y){if(this.isDynamic()){y.exclude();
}else{y.hide();
}}
if(z){z.show();
}},add:function(a){this._add(a);
var b=this.getSelection()[0];

if(!b){this.setSelection([a]);
}else if(b!==a){if(this.isDynamic()){a.exclude();
}else{a.hide();
}}},remove:function(h){this._remove(h);

if(this.getSelection()[0]===h){var j=this._getChildren()[0];

if(j){this.setSelection([j]);
}else{this.resetSelection();
}}},indexOf:function(A){return this._indexOf(A);
},getChildren:function(){return this._getChildren();
},previous:function(){var r=this.getSelection()[0];
var p=this._indexOf(r)-1;
var s=this._getChildren();

if(p<0){p=s.length-1;
}var q=s[p];
this.setSelection([q]);
},next:function(){var d=this.getSelection()[0];
var c=this._indexOf(d)+1;
var f=this._getChildren();
var g=f[c]||f[0];
this.setSelection([g]);
}}});
})();
(function(){var q="button",p="",o="close",n="String",m="Boolean",l="_applyIcon",k="page",j="qx.ui.tabview.Page",i="tabview-page",h="_applyShowCloseButton",f="_applyLabel",g="qx.event.type.Data";
qx.Class.define(j,{extend:qx.ui.container.Composite,construct:function(v,w){arguments.callee.base.call(this);
this._createChildControl(q);
if(v!=null){this.setLabel(v);
}
if(w!=null){this.setIcon(w);
}},events:{"close":g},properties:{appearance:{refine:true,init:i},label:{check:n,init:p,apply:f},icon:{check:n,init:p,apply:l},showCloseButton:{check:m,init:false,apply:h}},members:{_forwardStates:{barTop:1,barRight:1,barBottom:1,barLeft:1,firstTab:1,lastTab:1},_applyIcon:function(t,u){this.getChildControl(q).setIcon(t);
},_applyLabel:function(x,y){this.getChildControl(q).setLabel(x);
},_applyEnabled:function(c,d){arguments.callee.base.call(this,c,d);
var e=this.getChildControl(q);
c==null?e.resetEnabled():e.setEnabled(c);
},_createChildControlImpl:function(r){var s;

switch(r){case q:s=new qx.ui.tabview.TabButton;
s.setAllowGrowX(true);
s.setAllowGrowY(true);
s.setUserData(k,this);
s.addListener(o,this._onButtonClose,this);
break;
}return s||arguments.callee.base.call(this,r);
},_applyShowCloseButton:function(a,b){this.getChildControl(q).setShowCloseButton(a);
},_onButtonClose:function(){this.fireEvent(o);
},getButton:function(){return this.getChildControl(q);
}}});
})();
(function(){var c="qx.ui.form.IRadioItem",b="qx.event.type.Data";
qx.Interface.define(c,{events:{"changeValue":b},members:{setValue:function(d){},getValue:function(){},setGroup:function(a){this.assertInstance(a,qx.ui.form.RadioGroup);
},getGroup:function(){}}});
})();
(function(){var r="checked",q="keypress",p="Boolean",o="Right",n="_applyValue",m="changeValue",l="qx.ui.form.RadioButton",k="radiobutton",j="Left",i="qx.ui.form.RadioGroup",f="Down",h="_applyGroup",g="Up",d="execute";
qx.Class.define(l,{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(a){{};
arguments.callee.base.call(this,a);
this.addListener(d,this._onExecute);
this.addListener(q,this._onKeyPress);
},properties:{group:{check:i,nullable:true,apply:h},value:{check:p,nullable:true,event:m,apply:n,init:false},appearance:{refine:true,init:k},allowGrowX:{refine:true,init:false}},members:{_applyValue:function(b,c){b?this.addState(r):this.removeState(r);

if(b&&this.getFocusable()){this.focus();
}},_applyGroup:function(s,t){if(t){t.remove(this);
}
if(s){s.add(this);
}},_onExecute:function(e){this.setValue(true);
},_onKeyPress:function(e){var u=this.getGroup();

if(!u){return;
}
switch(e.getKeyIdentifier()){case j:case g:u.selectPrevious();
break;
case o:case f:u.selectNext();
break;
}}}});
})();
(function(){var o="close-button",n="middle",m="left",l="icon",k="label",j="right",i="click",h="Boolean",g="bottom",f="qx.ui.tabview.TabButton",c="center",e="_applyShowCloseButton",d="top",b="close",a="qx.event.type.Data";
qx.Class.define(f,{extend:qx.ui.form.RadioButton,implement:qx.ui.form.IRadioItem,construct:function(){arguments.callee.base.call(this);
var r=new qx.ui.layout.Grid(2,0);
r.setRowAlign(0,m,n);
r.setColumnAlign(0,j,n);
this._getLayout().dispose();
this._setLayout(r);
this.initShowCloseButton();
},events:{"close":a},properties:{showCloseButton:{check:h,init:false,apply:e}},members:{_applyIconPosition:function(w,x){var y={icon:this.getChildControl(l),label:this.getChildControl(k),closeButton:this.getShowCloseButton()?this.getChildControl(o):null};
for(var z in y){if(y[z]){this._remove(y[z]);
}}
switch(w){case d:this._add(y.label,{row:3,column:2});
this._add(y.icon,{row:1,column:2});

if(y.closeButton){this._add(y.closeButton,{row:0,column:4});
}break;
case g:this._add(y.label,{row:1,column:2});
this._add(y.icon,{row:3,column:2});

if(y.closeButton){this._add(y.closeButton,{row:0,column:4});
}break;
case m:this._add(y.label,{row:0,column:2});
this._add(y.icon,{row:0,column:0});

if(y.closeButton){this._add(y.closeButton,{row:0,column:4});
}break;
case j:this._add(y.label,{row:0,column:0});
this._add(y.icon,{row:0,column:2});

if(y.closeButton){this._add(y.closeButton,{row:0,column:4});
}break;
}},_createChildControlImpl:function(p){var q;

switch(p){case k:var q=new qx.ui.basic.Label(this.getLabel());
q.setAnonymous(true);
this._add(q,{row:0,column:2});
this._getLayout().setColumnFlex(2,1);
break;
case l:q=new qx.ui.basic.Image(this.getIcon());
q.setAnonymous(true);
this._add(q,{row:0,column:0});
break;
case o:q=new qx.ui.form.Button();
q.addListener(i,this._onCloseButtonClick,this);
this._add(q,{row:0,column:4});

if(!this.getShowCloseButton()){q.exclude();
}break;
}return q||arguments.callee.base.call(this,p);
},_onCloseButtonClick:function(){this.fireDataEvent(b,this);
},_applyShowCloseButton:function(s,t){if(s){this._showChildControl(o);
}else{this._excludeChildControl(o);
}},_applyCenter:function(u){var v=this._getLayout();

if(u){v.setColumnAlign(2,c,n);
}else{v.setColumnAlign(2,m,n);
}}}});
})();
(function(){var m="white",l="14px sans-serif",k="25%",j="group",i="Getting Started",h="15px sans-serif",g="manage-account",f="application/json",d="10%",c="grfind.Slideshow",O="Getting screenshot data ... ",N='value',M="20%",L="center",K="resource/slideshow/grfind",J="getting-started quickadd edit manage-account",I="How to use the grFind Quick Add Features",H="Quick Add",G="getslideshowData",F="Overview of account management",t="atom-selected",u="60%",r="getting-started",s="appear",p="completed",q="getSlideshowData",n="POST",o="edit",v="How to edit your item",w="quickadd",A="contextmenu",z="18px sans-serif",C="requestRetry",B="Manage Account",E="atom",D="Edit",y="Select the screenshots that you want to see from the toolbar.<br/><br/> Then use the <b>Up</b> and <b>Down</b> arrows on your keyboard, or click the thumbnails on the right to change images.<br/><br/>You can <i>scale</i> the image to fit into the box (which will distort the image) or you can view it in its original size.  <br/><br/>If you view the images in their original size, You can use the mouse to move the images around. This lets you see all of the image if it is too big to fit on your screen.<br/><br/>You can also view the images in an external window.";
qx.Class.define(c,{extend:qx.ui.container.Composite,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.tooltipDelay=500;
this.setLayout(new qx.ui.layout.Canvas());
var R=new qx.ui.window.Desktop(new qx.ui.window.Manager());
R.set({padding:0,backgroundColor:m,font:qx.bom.Font.fromString(l)});
this.setDesktop(R);
this.mainCanvas=new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
this.imageViewer=new grfind.ImageViewer();
this.reqBox=new grfind.ReqBox();
this.bottomCanvas=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
this.helpMessageBox=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({font:qx.bom.Font.fromString(h),padding:4,decorator:j});
var Q=new qx.ui.basic.Atom(y).set({padding:10,rich:true,backgroundColor:m});
this.addListener(s,function(e){if(!this.getSlideshowData()){this._loadData();
}},this);
this.mainCanvas.addListener(A,function(e){e.stop();
},this);
this.reqBox.addListener(C,function(e){this._loadData();
},this);
this.helpMessageBox.add(Q,{edge:0});
this.bottomCanvas.add(this.imageViewer,{edge:0});
this.bottomCanvas.add(this.helpMessageBox,{top:d,left:M,width:u});
this.mainCanvas.add(this._createToolbar());
this.mainCanvas.add(this.bottomCanvas,{flex:1});
R.add(this.mainCanvas,{edge:0});
R.add(this.reqBox,{top:k,left:k});
this.add(R,{edge:0});
this._loadData();
},properties:{app:{init:null},desktop:{init:null},slideshowData:{init:null}},members:{_loadData:function(){var P=new grfind.HttpRequest(q,n,f,2000,{"slideshow-directory":K,"slideshow-data":J});

if(P){P.addListener(p,function(e){var W=e.getData();
this.setSlideshowData(e.getData()[N]);
},this);
this.reqBox.start(P,G,O);
}},_createToolbar:function(){this.toolbar=new qx.ui.container.SlideBar();
this.toolbar.setLayout(new qx.ui.layout.HBox(15).set({alignX:L}));
this.toolbar.set({padding:0,backgroundColor:m});
var a=[[r,i,i],[w,H,I],[o,D,v],[g,B,F]];

for(var x=0;x<a.length;x++){var b=new grfind.Button(this,E,a[x][0],a[x][1],null);
b.set({font:qx.bom.Font.fromString(z)});
b.setToolTip(new qx.ui.tooltip.ToolTip(a[x][2]).set({font:qx.bom.Font.fromString(l)}));
this.toolbar.add(b);
}return this.toolbar;
},_doButton:function(S,T){var V=this.toolbar.getChildren();

for(var x=0;x<V.length;x++){V[x].setDecorator(j);
}T.setDecorator(t);
this.helpMessageBox.hide();
var U=0;
this.imageViewer._initialize(this.getSlideshowData()[S],U);
}}});
})();
(function(){var C="big-image",B="14px sans-serif",A="thumbnail",z="pink-box",y="move",v="off",u="click",t=".thumbnail",s="View in External Window",r=".pinkynail",ba="default",Y="Original size",X="changeValue",W="keydown",V="Down",U="grfind.ImageViewer",T="Up",S="height",R="Make the image fit in the box (this will distort the image, but is convenient in some cases)",Q="online",J="resize",K='grFind',H="vertical",I="atom-selected",F="width",G='top=50, left=100, width=700, height=500, toolbar=1,location=1, status=1, menubar=1',D="small",E="See image in it's original size.  Use the mouse to move the image around",L="white",M="resource/noimage.jpg",O="_applyCurrentWidget",N="Fit to box",P="See the image in an external window";
qx.Class.define(U,{extend:qx.ui.container.Composite,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
var bm=new qx.ui.container.Composite(new qx.ui.layout.VBox());
var bn=new qx.ui.container.Composite(new qx.ui.layout.HBox(10));
this.scrollCanvas=new qx.ui.container.Scroll();
this.scrollCanvas.set({contentPadding:3,scrollbarX:v,scrollbarY:v,backgroundColor:L,decorator:Q});
this.image=new grfind.MovableImage();
this.image.set({scale:true,cursor:y});
this.pinkyBar=new qx.ui.container.SlideBar(H);
this.pinkyBar.setLayout(new qx.ui.layout.VBox(2));
this.toolbar=this._createToolbar();
this.scrollCanvas.addListener(J,function(e){this._doScale(this.scaleRadioButton.getValue());
},this);
this.addListener(W,function(e){switch(e.getKeyIdentifier()){case T:{var p=this.pinkyBar.getChildren();
var o=this.pinkyBar.indexOf(this.getCurrentWidget());
var q=p[o-1];
q?this.setCurrentWidget(q):null;
};
break;
case V:{var p=this.pinkyBar.getChildren();
var o=this.pinkyBar.indexOf(this.getCurrentWidget());
var q=p[o+1];
q?this.setCurrentWidget(q):null;
};
break;
default:{};
}},this);
this.scrollCanvas.add(this.image,{edge:0});
bn.add(this.scrollCanvas,{flex:1});
bn.add(this.pinkyBar);
bm.add(bn,{flex:1});
bm.add(this.toolbar);
this.add(bm,{edge:0});
},properties:{app:{init:null},currentWidget:{init:null,apply:O}},members:{_applyCurrentWidget:function(a,b){if(a){b?b.setDecorator(z):null;
a.setDecorator(I);
this._doScale(this.scaleRadioButton.getValue());
this.activate();
var j=this.pinkyBar.getChildren();
var c=this.pinkyBar.indexOf(a);

if(c>=0){var d=j[c-1];
var f=j[c+1];
var g=j[c-1];
var i=j[c+1];
d?qx.io2.ImageLoader.load(d.getUserData(C)):null;
f?qx.io2.ImageLoader.load(f.getUserData(C)):null;
g?qx.io2.ImageLoader.load(g.getUserData(C)):null;
i?qx.io2.ImageLoader.load(i.getUserData(C)):null;
this.pinkyBar.scrollChildIntoView(a);
}}},_initialize:function(bb,bc){this.image.setSource(M);

if(bb){this.pinkyBar.removeAll();
this.show();
var bf=bb.length-1;
bb[1]?qx.io2.ImageLoader.load(bb[1]):null;
bb[2]?qx.io2.ImageLoader.load(bb[2]):null;
bb[bf]&&bf>2?qx.io2.ImageLoader.load(bb[bf]):null;

if(bb.length==1){var bi=new qx.ui.basic.Atom();
bi.setUserData(C,bb[0]);
bi.setUserData(A,bb[0]+t);
this.setCurrentWidget(bi);
}
if(bb.length>1){for(var x=0;x<bb.length;x++){var be=bb[x]+r;
var bd=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({decorator:z});
var bg=new qx.ui.basic.Image(be);
var bh=x+1;
bd.add(bg,{edge:0});
bd.add(new qx.ui.basic.Label(bh.toString()).set({font:D,opacity:0.7}),{top:4,left:4});
bd.setUserData(C,bb[x]);
bd.setUserData(A,bb[x]+t);
bd.setToolTip(new qx.ui.tooltip.ToolTip(null,bd.getUserData(A)).set({showTimeout:0}));
bd.addListener(u,function(e){this.setCurrentWidget(e.getCurrentTarget());
},this);

if(x==0){this.setCurrentWidget(bd);
}this.pinkyBar.add(bd);
}}this.activate();
}else{this.hide();
this.setCurrentWidget(null);
}},_createToolbar:function(k,l){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.Flow(5));
var n=new qx.ui.form.RadioGroup();
this.noScaleRadioButton=new qx.ui.form.RadioButton(Y);
this.scaleRadioButton=new qx.ui.form.RadioButton(N);
this.noScaleRadioButton.setValue(true);
var m=new qx.ui.basic.Atom(s).set({padding:[3,6,3,6]});
this.getApp().highlightOnMouseOver(m);
this.scaleRadioButton.addListener(X,function(e){this._doScale(e.getData());
},this);
m.addListener(u,function(e){this.nativeWindow?this.nativeWindow.close():null;
this.nativeWindow=window.open(this.image.getSource(),K,G);
},this);
this.noScaleRadioButton.setToolTip(new qx.ui.tooltip.ToolTip(E).set({rich:true,width:300,font:qx.bom.Font.fromString(B)}));
this.scaleRadioButton.setToolTip(new qx.ui.tooltip.ToolTip(R).set({rich:true,width:300,font:qx.bom.Font.fromString(B)}));
m.setToolTip(new qx.ui.tooltip.ToolTip(P).set({rich:true,width:300,font:qx.bom.Font.fromString(B)}));
toolbar.add(this.noScaleRadioButton);
toolbar.add(this.scaleRadioButton);
toolbar.add(m);
n.add(this.scaleRadioButton);
n.add(this.noScaleRadioButton);
return toolbar;
},_doScale:function(bj){var bl=this.getCurrentWidget();

if(bl){var bk=bl.getUserData(C);

if(bj){this.image.set({movable:false,cursor:ba});
var w=this.scrollCanvas.getBounds()[F];
var h=this.scrollCanvas.getBounds()[S];
w?this.image.setWidth(w):null;
h?this.image.setHeight(h):null;
this.image.setDomPosition(0,0);
this.image.setSource(bk);
}else{this.image.set({movable:true,cursor:y});
var w=qx.io2.ImageLoader.getWidth(bk);
var h=qx.io2.ImageLoader.getHeight(bk);
w?this.image.setWidth(w):null;
h?this.image.setHeight(h):null;
this.image.setSource(bk);
}}}}});
})();
(function(){var b="qx.nativeScrollBars",a="qx.ui.core.scroll.MScrollBarFactory";
qx.core.Setting.define(b,false);
qx.Mixin.define(a,{members:{_createScrollBar:function(c){if(qx.core.Setting.get(b)){return new qx.ui.core.scroll.NativeScrollBar(c);
}else{return new qx.ui.core.scroll.ScrollBar(c);
}}}});
})();
(function(){var P="scrollbar-y",O="scrollbar-x",N="pane",M="auto",L="corner",K="on",J="changeVisibility",I="scroll",H="_computeScrollbars",G="off",z="scrollY",F="qx.ui.core.scroll.AbstractScrollArea",C="abstract",x="update",w="scrollX",B="mousewheel",A="scrollbarY",D="scrollbarX",v="horizontal",E="scrollarea",y="vertical";
qx.Class.define(F,{extend:qx.ui.core.Widget,include:qx.ui.core.scroll.MScrollBarFactory,type:C,construct:function(){arguments.callee.base.call(this);
var W=new qx.ui.layout.Grid();
W.setColumnFlex(0,1);
W.setRowFlex(0,1);
this._setLayout(W);
this.addListener(B,this._onMouseWheel,this);
},properties:{appearance:{refine:true,init:E},width:{refine:true,init:100},height:{refine:true,init:200},scrollbarX:{check:[M,K,G],init:M,themeable:true,apply:H},scrollbarY:{check:[M,K,G],init:M,themeable:true,apply:H},scrollbar:{group:[D,A]}},members:{_createChildControlImpl:function(a){var b;

switch(a){case N:b=new qx.ui.core.scroll.ScrollPane();
b.addListener(x,this._computeScrollbars,this);
b.addListener(w,this._onScrollPaneX,this);
b.addListener(z,this._onScrollPaneY,this);
this._add(b,{row:0,column:0});
break;
case O:b=this._createScrollBar(v);
b.setMinWidth(0);
b.exclude();
b.addListener(I,this._onScrollBarX,this);
b.addListener(J,this._onChangeScrollbarXVisibility,this);
this._add(b,{row:1,column:0});
break;
case P:b=this._createScrollBar(y);
b.setMinHeight(0);
b.exclude();
b.addListener(I,this._onScrollBarY,this);
b.addListener(J,this._onChangeScrollbarYVisibility,this);
this._add(b,{row:0,column:1});
break;
case L:b=new qx.ui.core.Widget();
b.setWidth(0);
b.setHeight(0);
b.exclude();
this._add(b,{row:1,column:1});
break;
}return b||arguments.callee.base.call(this,a);
},getPaneSize:function(){return this.getChildControl(N).getInnerSize();
},getItemTop:function(V){return this.getChildControl(N).getItemTop(V);
},getItemBottom:function(s){return this.getChildControl(N).getItemBottom(s);
},getItemLeft:function(U){return this.getChildControl(N).getItemLeft(U);
},getItemRight:function(bb){return this.getChildControl(N).getItemRight(bb);
},scrollToX:function(ba){qx.ui.core.queue.Manager.flush();
this.getChildControl(O).scrollTo(ba);
},scrollByX:function(r){qx.ui.core.queue.Manager.flush();
this.getChildControl(O).scrollBy(r);
},getScrollX:function(){var T=this.getChildControl(O,true);
return T?T.getPosition():0;
},scrollToY:function(X){qx.ui.core.queue.Manager.flush();
this.getChildControl(P).scrollTo(X);
},scrollByY:function(Q){qx.ui.core.queue.Manager.flush();
this.getChildControl(P).scrollBy(Q);
},getScrollY:function(){var Y=this.getChildControl(P,true);
return Y?Y.getPosition():0;
},_onScrollBarX:function(e){this.getChildControl(N).scrollToX(e.getData());
},_onScrollBarY:function(e){this.getChildControl(N).scrollToY(e.getData());
},_onScrollPaneX:function(e){this.scrollToX(e.getData());
},_onScrollPaneY:function(e){this.scrollToY(e.getData());
},_onMouseWheel:function(e){var d=this._isChildControlVisible(O);
var f=this._isChildControlVisible(P);
var c=(f)?this.getChildControl(P,true):(d?this.getChildControl(O,true):null);

if(c){c.scrollBySteps(e.getWheelDelta());
}e.stop();
},_onChangeScrollbarXVisibility:function(e){var R=this._isChildControlVisible(O);
var S=this._isChildControlVisible(P);

if(!R){this.scrollToX(0);
}R&&S?this._showChildControl(L):this._excludeChildControl(L);
},_onChangeScrollbarYVisibility:function(e){var t=this._isChildControlVisible(O);
var u=this._isChildControlVisible(P);

if(!u){this.scrollToY(0);
}t&&u?this._showChildControl(L):this._excludeChildControl(L);
},_computeScrollbars:function(){var m=this.getChildControl(N);
var content=m.getChildren()[0];

if(!content){this._excludeChildControl(O);
this._excludeChildControl(P);
return;
}var g=this.getInnerSize();
var l=m.getInnerSize();
var j=m.getScrollSize();
if(!l||!j){return;
}var o=this.getScrollbarX();
var p=this.getScrollbarY();

if(o===M&&p===M){var k=j.width>g.width;
var q=j.height>g.height;
if((k||q)&&!(k&&q)){if(k){q=j.height>l.height;
}else if(q){k=j.width>l.width;
}}}else{var k=o===K;
var q=p===K;
if(j.width>(k?l.width:g.width)&&o===M){k=true;
}
if(j.height>(k?l.height:g.height)&&p===M){q=true;
}}if(k){var i=this.getChildControl(O);
i.show();
var n=Math.max(0,j.width-l.width);
i.setMaximum(n);
i.setKnobFactor(n>0?l.width/j.width:0);
}else{this._excludeChildControl(O);
}
if(q){var h=this.getChildControl(P);
h.show();
var n=Math.max(0,j.height-l.height);
h.setMaximum(n);
h.setKnobFactor(n>0?l.height/j.height:0);
}else{this._excludeChildControl(P);
}}}});
})();
(function(){var c="pane",b="qx.ui.container.Scroll";
qx.Class.define(b,{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(a){this.getChildControl(c).add(a);
},remove:function(d){this.getChildControl(c).remove(d);
},getChildren:function(){return this.getChildControl(c).getChildren();
},_getContentPaddingTarget:function(){return this.getChildControl(c);
}}});
})();
(function(){var c="qx.ui.core.scroll.IScrollBar",b="qx.event.type.Data";
qx.Interface.define(c,{events:{"scroll":b},properties:{orientation:{},maximum:{},position:{},knobFactor:{}},members:{scrollTo:function(a){this.assertNumber(a);
},scrollBy:function(e){this.assertNumber(e);
},scrollBySteps:function(d){this.assertNumber(d);
}}});
})();
(function(){var u="horizontal",t="px",s="scroll",r="vertical",q="-1px",p="qx.client",o="0",n="hidden",m="mousedown",l="qx.ui.core.scroll.NativeScrollBar",J="PositiveNumber",I="Integer",H="__pv",G="mousemove",F="_applyMaximum",E="_applyOrientation",D="appear",C="opera",B="PositiveInteger",A="mshtml",y="mouseup",z="Number",w="_applyPosition",x="scrollbar",v="native";
qx.Class.define(l,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(N){arguments.callee.base.call(this);
this.addState(v);
this.getContentElement().addListener(s,this._onScroll,this);
this.addListener(m,this._stopPropagation,this);
this.addListener(y,this._stopPropagation,this);
this.addListener(G,this._stopPropagation,this);

if(qx.core.Variant.isSet(p,C)){this.addListener(D,this._onAppear,this);
}this.getContentElement().add(this._getScrollPaneElement());
if(N!=null){this.setOrientation(N);
}else{this.initOrientation();
}},properties:{appearance:{refine:true,init:x},orientation:{check:[u,r],init:u,apply:E},maximum:{check:B,apply:F,init:100},position:{check:z,init:0,apply:w,event:s},singleStep:{check:I,init:20},knobFactor:{check:J,nullable:true}},members:{__pu:null,__pv:null,_getScrollPaneElement:function(){if(!this.__pv){this.__pv=new qx.html.Element();
}return this.__pv;
},renderLayout:function(g,top,h,i){var j=arguments.callee.base.call(this,g,top,h,i);
this._updateScrollBar();
return j;
},_getContentHint:function(){var T=qx.bom.element.Overflow.getScrollbarWidth();
return {width:this.__pu?100:T,maxWidth:this.__pu?null:T,minWidth:this.__pu?null:T,height:this.__pu?T:100,maxHeight:this.__pu?T:null,minHeight:this.__pu?T:null};
},_applyEnabled:function(K,L){arguments.callee.base.call(this,K,L);
this._updateScrollBar();
},_applyMaximum:function(k){this._updateScrollBar();
},_applyPosition:function(M){var content=this.getContentElement();

if(this.__pu){content.scrollToX(M);
}else{content.scrollToY(M);
}},_applyOrientation:function(U,V){var W=this.__pu=U===u;
this.set({allowGrowX:W,allowShrinkX:W,allowGrowY:!W,allowShrinkY:!W});

if(W){this.replaceState(r,u);
}else{this.replaceState(u,r);
}this.getContentElement().setStyles({overflowX:W?s:n,overflowY:W?n:s});
qx.ui.core.queue.Layout.add(this);
},_updateScrollBar:function(){var Q=this.__pu;
var R=this.getBounds();

if(!R){return;
}
if(this.isEnabled()){var S=Q?R.width:R.height;
var P=this.getMaximum()+S;
}else{P=0;
}if(qx.core.Variant.isSet(p,A)){var R=this.getBounds();
this.getContentElement().setStyles({left:Q?o:q,top:Q?q:o,width:(Q?R.width:R.width+1)+t,height:(Q?R.height+1:R.height)+t});
}this._getScrollPaneElement().setStyles({left:0,top:0,width:(Q?P:1)+t,height:(Q?1:P)+t});
this.scrollTo(this.getPosition());
},scrollTo:function(O){this.setPosition(Math.max(0,Math.min(this.getMaximum(),O)));
},scrollBy:function(a){this.scrollTo(this.getPosition()+a);
},scrollBySteps:function(b){var c=this.getSingleStep();
this.scrollBy(b*c);
},_onScroll:function(e){var f=this.getContentElement();
var d=this.__pu?f.getScrollX():f.getScrollY();
this.setPosition(d);
},_onAppear:function(e){this.scrollTo(this.getPosition());
},_stopPropagation:function(e){e.stopPropagation();
}},destruct:function(){this._disposeObjects(H);
}});
})();
(function(){var r="slider",q="horizontal",p="button-begin",o="vertical",n="button-end",m="Integer",l="execute",k="right",j="left",i="down",G="up",F="PositiveNumber",E="changeValue",D="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getMaximum()",C="_applyKnobFactor",B="knob",A="qx.ui.core.scroll.ScrollBar",z="resize",y="_applyOrientation",x="_applyPageStep",v="PositiveInteger",w="scroll",t="_applyPosition",u="scrollbar",s="_applyMaximum";
qx.Class.define(A,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(Q){arguments.callee.base.call(this);
this._createChildControl(p);
this._createChildControl(r).addListener(z,this._onResizeSlider,this);
this._createChildControl(n);
if(Q!=null){this.setOrientation(Q);
}else{this.initOrientation();
}},properties:{appearance:{refine:true,init:u},orientation:{check:[q,o],init:q,apply:y},maximum:{check:v,apply:s,init:100},position:{check:D,init:0,apply:t,event:w},singleStep:{check:m,init:20},pageStep:{check:m,init:10,apply:x},knobFactor:{check:F,apply:C,nullable:true}},members:{__pw:2,_createChildControlImpl:function(J){var K;

switch(J){case r:K=new qx.ui.core.scroll.ScrollSlider();
K.setPageStep(100);
K.setFocusable(false);
K.addListener(E,this._onChangeSliderValue,this);
this._add(K,{flex:1});
break;
case p:K=new qx.ui.form.RepeatButton();
K.setFocusable(false);
K.addListener(l,this._onExecuteBegin,this);
this._add(K);
break;
case n:K=new qx.ui.form.RepeatButton();
K.setFocusable(false);
K.addListener(l,this._onExecuteEnd,this);
this._add(K);
break;
}return K||arguments.callee.base.call(this,J);
},_applyMaximum:function(H){this.getChildControl(r).setMaximum(H);
},_applyPosition:function(L){this.getChildControl(r).setValue(L);
},_applyKnobFactor:function(a){this.getChildControl(r).setKnobFactor(a);
},_applyPageStep:function(R){this.getChildControl(r).setPageStep(R);
},_applyOrientation:function(N,O){var P=this._getLayout();

if(P){P.dispose();
}if(N===q){this._setLayout(new qx.ui.layout.HBox());
this.setAllowStretchX(true);
this.setAllowStretchY(false);
this.replaceState(o,q);
this.getChildControl(p).replaceState(G,j);
this.getChildControl(n).replaceState(i,k);
}else{this._setLayout(new qx.ui.layout.VBox());
this.setAllowStretchX(false);
this.setAllowStretchY(true);
this.replaceState(q,o);
this.getChildControl(p).replaceState(j,G);
this.getChildControl(n).replaceState(k,i);
}this.getChildControl(r).setOrientation(N);
},scrollTo:function(I){this.getChildControl(r).slideTo(I);
},scrollBy:function(M){this.getChildControl(r).slideBy(M);
},scrollBySteps:function(g){var h=this.getSingleStep();
this.getChildControl(r).slideBy(g*h);
},_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 b=this.getChildControl(r).getChildControl(B);
var f=b.getSizeHint();
var c=false;
var d=this.getChildControl(r).getInnerSize();

if(this.getOrientation()==o){if(d.height<f.minHeight+this.__pw){c=true;
}}else{if(d.width<f.minWidth+this.__pw){c=true;
}}
if(c){b.exclude();
}else{b.show();
}}}});
})();
(function(){var b="qx.ui.form.INumberForm",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"changeValue":a},members:{setValue:function(c){return arguments.length==1;
},resetValue:function(){},getValue:function(){}}});
})();
(function(){var b="qx.ui.form.IRange";
qx.Interface.define(b,{members:{setMinimum:function(d){return arguments.length==1;
},getMinimum:function(){},setMaximum:function(c){return arguments.length==1;
},getMaximum:function(){},setSingleStep:function(e){return arguments.length==1;
},getSingleStep:function(){},setPageStep:function(a){return arguments.length==1;
},getPageStep:function(){}}});
})();
(function(){var U="knob",T="horizontal",S="vertical",R="Integer",Q="px",P="mousemove",O="resize",N="left",M="top",L="mouseup",bz="slider",by="PageUp",bx="mousedown",bw="height",bv="changeValue",bu="Left",bt="Down",bs="Up",br="dblclick",bq="qx.ui.form.Slider",bc="PageDown",bd="mousewheel",ba="interval",bb="_applyValue",X="_applyKnobFactor",Y="End",V="width",W="_applyOrientation",be="Home",bf="floor",bi="_applyMinimum",bh="click",bk="Right",bj="keypress",bm="ceil",bl="losecapture",bg="contextmenu",bp="_applyMaximum",bo="Number",bn="typeof value==='number'&&value>=this.getMinimum()&&value<=this.getMaximum()";
qx.Class.define(bq,{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(t){arguments.callee.base.call(this);
this._setLayout(new qx.ui.layout.Canvas());
this.addListener(bj,this._onKeyPress);
this.addListener(bd,this._onMouseWheel);
this.addListener(bx,this._onMouseDown);
this.addListener(L,this._onMouseUp);
this.addListener(bl,this._onMouseUp);
this.addListener(O,this._onUpdate);
this.addListener(bg,this._onStopEvent);
this.addListener(bh,this._onStopEvent);
this.addListener(br,this._onStopEvent);
if(t!=null){this.setOrientation(t);
}else{this.initOrientation();
}},properties:{appearance:{refine:true,init:bz},focusable:{refine:true,init:true},orientation:{check:[T,S],init:T,apply:W},value:{check:bn,init:0,apply:bb,event:bv,nullable:true},minimum:{check:R,init:0,apply:bi},maximum:{check:R,init:100,apply:bp},singleStep:{check:R,init:1},pageStep:{check:R,init:10},knobFactor:{check:bo,apply:X,nullable:true}},members:{__px:null,__py:null,__pz:null,__pA:null,__pB:null,__pC:null,__pD:null,__pE:null,__pF:null,_forwardStates:{invalid:true},_createChildControlImpl:function(bN){var bO;

switch(bN){case U:bO=new qx.ui.core.Widget();
bO.addListener(O,this._onUpdate,this);
this._add(bO);
break;
}return bO||arguments.callee.base.call(this,bN);
},_onMouseWheel:function(e){var b=e.getWheelDelta()>0?1:-1;
this.slideBy(b*this.getSingleStep());
e.stop();
},_onKeyPress:function(e){var bM=this.getOrientation()===T;
var bL=bM?bu:bs;
var forward=bM?bk:bt;

switch(e.getKeyIdentifier()){case forward:this.slideForward();
break;
case bL:this.slideBack();
break;
case bc:this.slidePageForward();
break;
case by:this.slidePageBack();
break;
case be:this.slideToBegin();
break;
case Y:this.slideToEnd();
break;
default:return;
}e.stop();
},_onMouseDown:function(e){if(this.__pA){return;
}var H=this.__pH;
var F=this.getChildControl(U);
var G=H?N:M;
var J=H?e.getDocumentLeft():e.getDocumentTop();
var K=this.__px=qx.bom.element.Location.get(this.getContentElement().getDomElement())[G];
var I=this.__py=qx.bom.element.Location.get(F.getContainerElement().getDomElement())[G];

if(e.getTarget()===F){this.__pA=true;
this.__pB=J+K-I;
}else{this.__pC=true;
this.__pD=J<=I?-1:1;
this.__pI(e);
this._onInterval();
if(!this.__pF){this.__pF=new qx.event.Timer(100);
this.__pF.addListener(ba,this._onInterval,this);
}this.__pF.start();
}this.addListener(P,this._onMouseMove);
this.capture();
e.stopPropagation();
},_onMouseUp:function(e){if(this.__pA){this.releaseCapture();
delete this.__pA;
delete this.__pB;
}else if(this.__pC){this.__pF.stop();
this.releaseCapture();
delete this.__pC;
delete this.__pD;
delete this.__pE;
}this.removeListener(P,this._onMouseMove);
if(e.getType()===L){e.stopPropagation();
}},_onMouseMove:function(e){if(this.__pA){var bS=this.__pH?e.getDocumentLeft():e.getDocumentTop();
var bR=bS-this.__pB;
this.slideTo(this._positionToValue(bR));
}else if(this.__pC){this.__pI(e);
}e.stopPropagation();
},_onInterval:function(e){var u=this.getValue()+(this.__pD*this.getPageStep());
if(u<this.getMinimum()){u=this.getMinimum();
}else if(u>this.getMaximum()){u=this.getMaximum();
}var v=this.__pD==-1;

if((v&&u<=this.__pE)||(!v&&u>=this.__pE)){u=this.__pE;
}this.slideTo(u);
},_onUpdate:function(e){var bD=this.getInnerSize();
var bE=this.getChildControl(U).getBounds();
var bC=this.__pH?V:bw;
this._updateKnobSize();
this.__pG=bD[bC]-bE[bC];
this.__pz=bE[bC];
this._updateKnobPosition();
},__pH:false,__pG:0,__pI:function(e){var f=this.__pH;
var m=f?e.getDocumentLeft():e.getDocumentTop();
var o=this.__px;
var g=this.__py;
var q=this.__pz;
var n=m-o;

if(m>=g){n-=q;
}var k=this._positionToValue(n);
var h=this.getMinimum();
var i=this.getMaximum();

if(k<h){k=h;
}else if(k>i){k=i;
}else{var l=this.getValue();
var j=this.getPageStep();
var p=this.__pD<0?bf:bm;
k=l+(Math[p]((k-l)/j)*j);
}if(this.__pE==null||(this.__pD==-1&&k<=this.__pE)||(this.__pD==1&&k>=this.__pE)){this.__pE=k;
}},_positionToValue:function(bH){var bI=this.__pG;
if(bI==null||bI==0){return 0;
}var bK=bH/bI;

if(bK<0){bK=0;
}else if(bK>1){bK=1;
}var bJ=this.getMaximum()-this.getMinimum();
return this.getMinimum()+Math.round(bJ*bK);
},_valueToPosition:function(B){var C=this.__pG;

if(C==null){return 0;
}var D=this.getMaximum()-this.getMinimum();
if(D==0){return 0;
}var B=B-this.getMinimum();
var E=B/D;

if(E<0){E=0;
}else if(E>1){E=1;
}return Math.round(C*E);
},_updateKnobPosition:function(){this._setKnobPosition(this._valueToPosition(this.getValue()));
},_setKnobPosition:function(c){var d=this.getChildControl(U).getContainerElement();

if(this.__pH){d.setStyle(N,c+Q,true);
}else{d.setStyle(M,c+Q,true);
}},_updateKnobSize:function(){var bG=this.getKnobFactor();

if(bG==null){return;
}var bF=this.getInnerSize();

if(bF==null){return;
}if(this.__pH){this.getChildControl(U).setWidth(Math.round(bG*bF.width));
}else{this.getChildControl(U).setHeight(Math.round(bG*bF.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(a){this.slideTo(this.getValue()+a);
},slideTo:function(bT){if(bT<this.getMinimum()){bT=this.getMinimum();
}else if(bT>this.getMaximum()){bT=this.getMaximum();
}else{bT=this.getMinimum()+Math.round((bT-this.getMinimum())/this.getSingleStep())*this.getSingleStep();
}this.setValue(bT);
},_applyOrientation:function(w,x){var y=this.getChildControl(U);
this.__pH=w===T;
if(this.__pH){this.removeState(S);
y.removeState(S);
this.addState(T);
y.addState(T);
y.setLayoutProperties({top:0,right:null,bottom:0});
}else{this.removeState(T);
y.removeState(T);
this.addState(S);
y.addState(S);
y.setLayoutProperties({right:0,bottom:null,left:0});
}this._updateKnobPosition();
},_applyKnobFactor:function(r,s){if(r!=null){this._updateKnobSize();
}else{if(this.__pH){this.getChildControl(U).resetWidth();
}else{this.getChildControl(U).resetHeight();
}}},_applyValue:function(bP,bQ){if(bP!=null){this._updateKnobPosition();
}else{this.resetValue();
}},_applyMinimum:function(bA,bB){if(this.getValue()<bA){this.setValue(bA);
}this._updateKnobPosition();
},_applyMaximum:function(z,A){if(this.getValue()>z){this.setValue(z);
}this._updateKnobPosition();
}}});
})();
(function(){var c="mousewheel",b="qx.ui.core.scroll.ScrollSlider",a="keypress";
qx.Class.define(b,{extend:qx.ui.form.Slider,construct:function(d){arguments.callee.base.call(this,d);
this.removeListener(a,this._onKeyPress);
this.removeListener(c,this._onMouseWheel);
}});
})();
(function(){var c="grfind.MovableImage",b="white",a="move";
qx.Class.define(c,{extend:qx.ui.basic.Image,include:[qx.ui.core.MMovable],construct:function(d){arguments.callee.base.call(this);
this.set({backgroundColor:b,movable:true,cursor:a});
d?this.setSource(d):null;
this._activateMoveHandle(this);
}});
})();
(function(){var m="Use 'qx.io.ImageLoader.isLoaded' instead.",l="Use 'qx.io.ImageLoader.isFailed' instead.",k="Use 'qx.io.ImageLoader.getWidth' instead.",j="Use 'qx.io.ImageLoader.isLoading' instead.",i="Use 'qx.io.ImageLoader.getFormat' instead.",h="qx.io2.ImageLoader",g="Use 'qx.io.ImageLoader.getSize' instead.",f="Use 'qx.io.ImageLoader.load' instead.",e="Use 'qx.io.ImageLoader.getHeight' instead.";
qx.Bootstrap.define(h,{statics:{isLoaded:function(n){qx.log.Logger.deprecatedMethodWarning(arguments.callee,m);
return qx.io.ImageLoader.isLoaded(n);
},isFailed:function(a){qx.log.Logger.deprecatedMethodWarning(arguments.callee,l);
return qx.io.ImageLoader.isFailed(a);
},isLoading:function(s){qx.log.Logger.deprecatedMethodWarning(arguments.callee,j);
return qx.io.ImageLoader.isLoading(s);
},getFormat:function(b){qx.log.Logger.deprecatedMethodWarning(arguments.callee,i);
return qx.io.ImageLoader.getFormat(b);
},getSize:function(o){qx.log.Logger.deprecatedMethodWarning(arguments.callee,g);
return qx.io.ImageLoader.getSize(o);
},getWidth:function(c){qx.log.Logger.deprecatedMethodWarning(arguments.callee,k);
return qx.io.ImageLoader.getWidth(c);
},getHeight:function(d){qx.log.Logger.deprecatedMethodWarning(arguments.callee,e);
return qx.io.ImageLoader.getHeight(d);
},load:function(p,q,r){qx.log.Logger.deprecatedMethodWarning(arguments.callee,f);
qx.io.ImageLoader.load(p,q,r);
}}});
})();
(function(){var cU="",cT='url',cS='widget',cR="online",cQ="resource/noimage.jpg",cP='dbname',cO="18px sans-serif",cN="atom",cM='label',cL='image-type',bT="-",bS="application/json",bR="resource/blank.html",bQ="transparent",bP="completed",bO="input",bN="POST",bM='store-name',bL="grfind-background",bK="30%",dc="saveItemForPreview",dd="resource/temp/",da="getQuickAddData",db="changeValue",cX='store-email',cY='changeValue',cV="quick-add-submit",cW='field-type',de="visible",df="middle",cu='image-name',ct="saveQuickAddItem",cw='image-prefix',cv='name',cy="click",cx="quick-add-preview",cA="10%",cz="getStoreInformation",cs='width',cr='field',q="quick-add-login",r="quick-add",s='msg',t="http://",u="quick-add-help",v='3',w="bold",y='put-online',z='value',A="Put Item Online Now",du="legend",dt="15%",ds="login",dr='height',dy='36',dx="quick-add-cancel",dw="right",dv="checkbox",dA="38",dz="Your description exceeds 50,000 characters. Please whittle it down",bk="textfield",bl="14px sans-serif",bi="Escape",bj="Please make sure that you have an image name entered in the image field.",bo="QA Label",bp="Help",bm="keydown",bn="Email",bg="dirtyResponse",bh="I will host my own image",S="quick-add-storename",R="grFind Image",U="12%",T="grfind.window.QuickAddWindow",O="discard",N="quick-add-http-label",Q="QuickAddWindow - invalid field type",P="offline",M="No Image",L="quick-add-",bu="userLogout",bv="#ff0000",bw="quick-add-email",bx='preview-key',bq='top=50, left=100, width=700, height=500, toolbar=1,location=1, status=1, menubar=1',br="cb",bs="antiques",bt="One of your fields exceeds exceeds 500 characters. Please whittle it down",by="changeFieldSelection",bz="Quick Add - quickly and easily put an item online for sale",bd="Enter Item Description",bc="resource/images/grfind/tabclose.png",bb="Storename",ba="quick-add-no-image",Y="plants",X="Quick Add -",W="market12",V="Your Contact Email Address (required)",bf="yes",be="Quick Add",bA="success",bB="dblclick",bC="vehicles",bD='image-length',bE="close",bF="Saving preview ... ",bG="#314a6e",bH="quick-add-grfind-image",bI="Cancel",bJ="Online",bX="crafts",bW="Preview",bV="12px sans-serif",bU="resource/grfind/help/quickaddhelp.html",cc="Do not put this item online.  I will do it later",cb="farm",ca="Select <b>",bY="quick-add-online",cf="Upload Image Now",ce="Submitting ... ",cn="books",co="Login",cl="quick-add-my-image",cm="We want store ",cj="resource/images/grfind/listicon.png",ck="Put this item online when it is saved",ch="grfind",ci="user",cp="Getting quick add data ... ",cq="item-preview",cE="center",cD="Add Item to Store Now",cG='field-xref',cF=" exceeds exceeds 500 characters. Please whittle it down",cI="Sorry, but there are not any stores in this market yet",cH='input',cK="</b>",cJ="Store Name",cC="main",cB="image",dm='grFind',dn="Upload & Host my image at grFind",dp="userLogin",dq="requestRetry",di="realestate",dj="logout",dk="Submit",dl="quick-add-offline",dg="Enter",dh="focus",p="market11",o="market9",n="No image",m='completed',l="Preview Item",k="Clear <b>",j="requestForceSearchServer",i="Save Quick Add ... ",h="collectibles",g="quick-add-image-label",D="QA Login",E="</b> from a box",B="Image Url",C="general",H="tf",I="market10",F="Http Label",G="contextmenu",J="Offline",K="My Image",cg="Quick Add Help",cd="no-image";
qx.Class.define(T,{extend:qx.ui.window.Window,construct:function(eP,eQ,eR){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:bz,modal:true,movable:false,resizable:false,showMinimize:false,showMaximize:false});
var eT=new qx.ui.window.Desktop(new qx.ui.window.Manager());
eT.set({padding:5,decorator:bL,font:qx.bom.Font.fromString(bl)});
this.setDesktop(eT);
this.reqBox=new grfind.ReqBox();
var eS=new qx.ui.container.Composite(new qx.ui.layout.VBox(4));
eS.set({padding:10,font:qx.bom.Font.fromString(bV)});
this.bodyCanvas=new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
this.getApp().addListener(dp,function(e){this.setStoreNumber(this.getApp().getUserStoreNumber());
this._updateContext(ds);
},this);
this.getApp().addListener(bu,function(e){this.setStoreNumber(cU);
this._updateContext(dj);
},this);
eS.addListener(G,function(e){e.stop();
},this);
this.reqBox.addListener(dq,function(e){switch(e.getData()){case da:{this._changeBody();
};
break;
case cz:{this._getStoreInformation();
};
break;
case ct:{this._saveItem(false);
};
break;
case dc:{this._previewItem();
};
break;
default:{};
}},this);
this.bodyCanvas.add(this._createHeader());
this.bodyCanvas.add(this._createStoreBox());
this.bodyCanvas.add(this._createBodyCanvas(),{flex:1});
this.bodyCanvas.add(this._createShowCanvas());
this.bodyCanvas.add(this._createToolbar());
eS.add(this.bodyCanvas,{flex:1});
eT.add(eS,{edge:0});
eT.add(this.reqBox,{top:bK,left:cA});
this.add(eT,{edge:0});
},properties:{app:{init:null},desktop:{init:null},currentFieldCanvas:{init:null},storeName:{init:null},storeEmail:{init:null},storeNumber:{init:null},marketType:{init:null},storeType:{init:null},selectedAtom:{init:null},requestedAtom:{init:null},going:{init:null},forceClose:{init:false},previewKey:{init:null},tooltipDelay:{init:500},marketNames:{init:[]},marketHash:{init:{}},scope:{init:null},storeList:{init:[]},requestedMarket:{init:null},currentMarket:{init:null},requestedStore:{init:null},currentStore:{init:null}},members:{_ruDirty:function(){return false;
},_resetFieldCanvas:function(){var fb=this.getCurrentFieldCanvas().getChildren();

for(var x=0;x<fb.length;x++){var fa=fb[x].getUserData(cS);

if(fa){var name=fb[x].getUserData(cP);

switch(fb[x].getUserData(cW)){case bk:{fa.setValue(cU);
};
break;
case dv:{fa.setValue(true);
};
break;
default:{};
}}}},_resetBody:function(){this.httpUrlTextField.setValue(cU);
this.imageUrlTextField.setValue(cU);
this.textEditor.setValue(cU);
this.myImageRadioButton.setUserData(cT,cU);
this.grfindImageRadioButton.setUserData(cT,cU);
this.httpIframe.setSource(bR);
this.fieldChooserWindow?this.fieldChooserWindow.close():null;
this.getCurrentFieldCanvas()?this._resetFieldCanvas():null;
},_initialize:function(dG){this.setStoreType(dG);
this.setStoreNumber(this.getApp().getUserStoreNumber());
this.fieldChooserWindow?this.fieldChooserWindow.close():null;
this.itemPreviewWindow?this.itemPreviewWindow.close():null;
this.quickAddHelpWindow?this.quickAddHelpWindow.close():null;
this.headerStoreType.setLabel(dG);
this._changeBody();
},_updateContext:function(eV){this.getApp().getSessionKey()?this.loginButton.exclude():this.loginButton.show();

if(eV==ds){this._getStoreInformation();
}else{}},_updateState:function(){var ep=qx.lang.String.trim(this.storeEmailTextField.getValue());
var eq=qx.lang.String.trim(this.storeNameTextField.getValue());

if(this.getApp().getSessionKey()&&this.getStoreType()&&ep&&eq){this.submitButton.setEnabled(true);
}else{this.submitButton.setEnabled(false);
}},_changeBody:function(){this.httpUrlTextField.setValue(cU);
this.imageUrlTextField.setValue(cU);
this.textEditor.setValue(cU);
this.noImageRadioButton.setValue(true);
this.onlineRadioButton.setValue(true);
this.myImageRadioButton.setUserData(cT,cU);
this.grfindImageRadioButton.setUserData(cT,cU);
this.httpIframe.setSource(bR);
this.fieldChooserWindow?this.fieldChooserWindow.close():null;
this.storeEmailTextField.setValue(cU);
this.storeNameTextField.setValue(cU);
this._getStoreInformation();
var dW=this.fieldCanvas.getChildren();

for(var x=0;x<dW.length;x++){dW[x].hide();
}
for(var x=0;x<dW.length;x++){if(dW[x].getUserData(cv)==this.getStoreType()){this.setCurrentFieldCanvas(dW[x]);
this._resetFieldCanvas();
dW[x].show();
return;
}}var dV=new grfind.HttpRequest(da,bN,bS,2000,{'session-key':this.getApp().getSessionKey(),'store-type':this.getStoreType()});

if(dV){dV.addListener(bP,function(e){var ea=e.getData();
var dX=ea[z];
this.fieldXref=ea[cG];
var dY=new qx.ui.container.Composite(new qx.ui.layout.VBox(3));
dY.setUserData(cv,this.getStoreType());

for(var x=0;x<dX.length;x++){dY.add(this._createQuickAddField(dX[x]));
}this.setCurrentFieldCanvas(dY);
this.fieldCanvas.add(dY,{edge:0});
},this);
this.reqBox.start(dV,da,cp);
}},_getStoreInformation:function(){if(this.getApp().getSessionKey()){var em=qx.lang.String.trim(this.storeEmailTextField.getValue());
var eo=qx.lang.String.trim(this.storeNameTextField.getValue());

if(!em){var el=this.getApp().getFloatingEmail();
el?this.storeEmailTextField.setValue(el):null;
}
if(!eo){var ek=this.getApp().getUserStoreNumber();
ek?this.storeNameTextField.setValue(ek):null;
}var en=new grfind.HttpRequest(cz,bN,bS,2000,{'session-key':this.getApp().getSessionKey(),'store-type':this.getStoreType()});

if(en){en.addListener(bP,function(e){var dC=e.getData();
dC[cX]?this.storeEmailTextField.setValue(dC[cX]):null;
dC[bM]?this.storeNameTextField.setValue(dC[bM]):null;
this._updateState();
},this);
this.reqBox.start(en,cz,ce);
}}else{this.storeEmailTextField.setValue(cU);
this.storeNameTextField.setValue(cU);
this._updateState();
}},_createQuickAddField:function(f){var eB=f[0];
var eu=f[1];
var ex=f[2];
var eC=f[3];
var ew=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:dw}));
var ev=new qx.ui.basic.Atom(this.fieldXref[eB]).set({rich:true,paddingRight:10,opacity:0.8});

switch(eu){case H:{var ez=new qx.ui.form.TextField(cU);
ez.addListener(bO,function(e){if(this.fieldChooserWindow&&this.fieldChooserWindow.getVisibility()==de){var d=e.getCurrentTarget().getLayoutParent();

if(d){this.fieldChooserWindow._initialize({'store-number':this.getStoreNumber(),'store-type':this.getStoreType(),'field':e.getCurrentTarget(),'field-label':d.getUserData(cM),'field-value':d.getUserData(cS).getValue(),'dbname':d.getUserData(cP),'action':r});
}}},this);
ez.addListener(dh,function(e){if(this.fieldChooserWindow&&this.fieldChooserWindow.getVisibility()==de){var er=e.getCurrentTarget().getLayoutParent();

if(er){this.fieldChooserWindow._initialize({'store-number':this.getStoreNumber(),'store-type':this.getStoreType(),'field':e.getCurrentTarget(),'field-label':er.getUserData(cM),'field-value':er.getUserData(cS).getValue(),'dbname':er.getUserData(cP),'action':r});
}}},this);
ez.addListener(bm,function(e){if(e.getKeyIdentifier()===dg||e.getKeyIdentifier()===bi){this.fieldChooserWindow?this.fieldChooserWindow.close():null;
}},this);
var es=new qx.ui.basic.Atom(null,bc).set({padding:[0,2,0,3]});
var eA=new qx.ui.basic.Atom(null,cj).set({padding:[0,0,0,3]});
es.setToolTip(new qx.ui.tooltip.ToolTip(k+ev.getLabel()+cK).set({rich:true,showTimeout:750}));
eA.setToolTip(new qx.ui.tooltip.ToolTip(ca+ev.getLabel()+E).set({rich:true,showTimeout:750}));
var ey=L+this.getStoreType()+bT+eB;
this.getApp().createTooltip(ev,ey,be,this.getTooltipDelay());
es.addListener(cy,function(e){var dB=e.getCurrentTarget().getUserData(cS);
dB&&dB.setValue?dB.setValue(cU):null;
},this);
eA.addListener(cy,function(e){if(!this.fieldChooserWindow){this.fieldChooserWindow=new grfind.window.EditFieldChooserWindow();
this.fieldChooserWindow.addListener(by,function(e){var dU=e.getData()[cr];
dU.setValue(e.getData()[z]);
},this);
this.getDesktop().add(this.fieldChooserWindow,{top:dt,left:bK});
}var eH=e.getCurrentTarget().getUserData(cS);
var eI=e.getCurrentTarget().getUserData(cP);
var eJ=e.getCurrentTarget().getUserData(cM);
var eG=e.getCurrentTarget().getUserData(cr);
this.fieldChooserWindow.getVisibility()!=de?this.fieldChooserWindow.open():null;
this.fieldChooserWindow._initialize({'store-number':this.getStoreNumber(),'store-type':this.getStoreType(),'field':eH,'field-label':eJ,'field-value':eH.getValue(),'dbname':eI,'action':r});
},this);
es.setUserData(cS,ez);
eA.setUserData(cS,ez);
eA.setUserData(cP,eB);
eA.setUserData(cr,ew);
eA.setUserData(cM,ev.getLabel());
ew.setUserData(cS,ez);
ew.setUserData(cP,eB);
ew.setUserData(cM,ev.getLabel());
ew.add(ev);
ew.add(ez,{flex:1});
ew.add(es);
ew.add(eA);
};
break;
case br:{var et=new qx.ui.form.CheckBox(ev);
et.set({rich:true,opacity:0.8,iconPosition:dw});
ew.setUserData(cS,et);
ew.add(et);
};
break;
default:{this.getApp().userMessage(Q);
};
}ew.setUserData(cP,eB);
ew.setUserData(cW,eu);
ew.setUserData(cM,ev.getLabel());
return ew;
},_buildRecord:function(){this.description=qx.lang.String.trim(this.textEditor.getValue());
var eN={};
var eO=this.getCurrentFieldCanvas().getChildren();

for(var x=0;x<eO.length;x++){var eK=eO[x].getUserData(cS);

if(eK){var name=eO[x].getUserData(cP);

switch(eO[x].getUserData(cW)){case bk:{var eM=qx.lang.String.trim(eK.getValue());
eM?eN[name]=eM:null;
};
break;
case dv:{eK.getValue()?eN[name]=bf:null;
};
break;
default:{};
}}}eN[cX]=qx.lang.String.trim(this.storeEmailTextField.getValue());
eN[bM]=qx.lang.String.trim(this.storeNameTextField.getValue());

if(this.onlineRadioButton.getValue()){eN[y]=cR;
}else{eN[y]=P;
}eN[cL]=cU;
eN[cw]=cU;
eN[cu]=cU;
this.noImageRadioButton.getValue()?eN[cL]=cd:null;

if(this.myImageRadioButton.getValue()){var eL=qx.lang.String.trim(this.imageUrlTextField.getValue());

if(eL){eN[dy]=eL;
eN[cL]=ci;
}}
if(this.grfindImageRadioButton.getValue()){eN[dy]=dd+this.imagePrefix+bT+this.imageName;
eN[cL]=ch;
eN[cw]=this.imagePrefix;
eN[cu]=this.imageName;
}
if(!eN[cL]){this.getApp().userMessage(bj);
return;
}return eN;
},_previewItem:function(){var dF={'session-key':this.getApp().getSessionKey(),'store-type':this.getStoreType()};
var dD=this._buildRecord();

for(var x in dD){dF[x]=dD[x];
dF[x].length>500?this.getApp().userMessage(bt):null;
}this.description&&this.description.length>50000?this.getApp().userMessage(dz):null;
this.description?dF[dA]=this.description:null;
dF[bM]=this.storeNameTextField.getValue();
var dE=new grfind.HttpRequest(dc,bN,bS,2000,dF);

if(dE){dE.addListener(bP,function(e){if(!this.itemPreviewWindow){this.itemPreviewWindow=new grfind.window.ItemViewWindow();
this.itemPreviewWindow.set({width:this.getBounds()[cs]*.7,height:this.getBounds()[dr]*.7});
this.getDesktop().add(this.itemPreviewWindow,{top:cA,left:dt});
}var eF=e.getData();
this.setPreviewKey(eF[bx]);
this.uniqueKey?null:this.uniqueKey=cU;
var eE=dF[v];
this.itemPreviewWindow.open();
this.itemPreviewWindow._initialize(cq,[[this.getApp().getUserStoreNumber(),this.getStoreType(),this.storeNameTextField.getValue(),dF[v]]],this.getPreviewKey());
},this);
this.reqBox.start(dE,dc,bF);
}},_saveItem:function(fr){var fu={'session-key':this.getApp().getSessionKey(),'store-number':this.getApp().getUserStoreNumber(),'store-type':this.getStoreType()};
var fs=this._buildRecord();

for(var x in fs){fu[x]=fs[x];

if(fu[x].length>500){this.getApp().userMessage(this.fieldXref[x]+cF);
return;
}}
if(this.description){if(this.description.length>50000){this.getApp().userMessage(dz);
return;
}else{fu[dA]=this.description;
}}var ft=new grfind.HttpRequest(ct,bN,bS,2000,fu);

if(ft){ft.addListener(bP,function(e){var fm=e.getData();
this._resetBody();
this.getApp().fireDataEvent(j,this.getStoreType());
this.getApp().userMessage(fm[s]);
},this);
this.reqBox.start(ft,ct,i);
}},_changeCurrentMarket:function(eh,ei){},_changeCurrentStore:function(fw,fx){},_updateStoreChooser:function(fc){if(!fc){var fe=this.getRequestedMarket();
this.setCurrentMarket(fe);
var fc=fe.getName();
}this.storeListCanvas.removeAll();
var fd=this.getMarketHash()[fc];

for(var x=0;x<fd.length;x++){var ff=new grfind.Button(this,cN,fd[x][1],fd[x][0],null);
ff.addListener(cy,function(e){this.setRequestedStore(e.getCurrentTarget());
this._changeBody();
},this);
this.storeListCanvas.add(ff);
ff.setUserData(cv,fd[x][1]);
}},_createHeader:function(){var eD=new qx.ui.container.Composite(new qx.ui.layout.HBox(10));
eD.set({padding:0,textColor:bv,font:qx.bom.Font.fromString(cO)});
this.headerStoreType=new qx.ui.basic.Atom(cn);
eD.add(new qx.ui.basic.Label(X));
eD.add(this.headerStoreType);
return eD;
},_createStoreBox:function(){var c=new qx.ui.container.Composite(new qx.ui.layout.HBox(10));
var a=new qx.ui.groupbox.GroupBox(V).set({contentPadding:2});
a.setLayout(new qx.ui.layout.Canvas());
this.storeEmailTextField=new qx.ui.form.TextField(cU);
this.storeEmailTextField.addListener(bO,function(e){this._updateState();
},this);
this.storeEmailTextField.addListener(db,function(e){this._updateState();
},this);
a.add(this.storeEmailTextField,{edge:0});
var b=new qx.ui.groupbox.GroupBox(bb).set({contentPadding:2});
b.setLayout(new qx.ui.layout.Canvas());
this.storeNameTextField=new qx.ui.form.TextField(cU);
this.storeNameTextField.addListener(bO,function(e){this.setStoreName(e.getCurrentTarget().getValue());
this._updateState();
},this);
this.storeNameTextField.addListener(db,function(e){this.setStoreName(e.getCurrentTarget().getValue());
this._updateState();
},this);
b.add(this.storeNameTextField,{edge:0});
this.getApp().createTooltip(a.getChildControl(du),bw,bn,this.getTooltipDelay());
this.getApp().createTooltip(b.getChildControl(du),S,cJ,this.getTooltipDelay());
c.add(a,{flex:1});
c.add(b,{flex:1});
return c;
},_createBodyCanvas:function(){var ed=new qx.ui.groupbox.GroupBox().set({contentPadding:5});
ed.setLayout(new qx.ui.layout.Grow());
this.descriptionCanvas=this._createDescriptionCanvas();
this.httpCanvas=this._createHttpCanvas();
this.httpCanvas.hide();
ed.add(this.descriptionCanvas,{edge:0});
ed.add(this.httpCanvas,{edge:0});
return ed;
},_createDescriptionCanvas:function(){var dI=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
dI.set({decorator:bL});
var dH=new qx.ui.splitpane.Pane().set({decorator:null});
dH.set({backgroundColor:bQ});
var dJ=new qx.ui.splitpane.Pane().set({decorator:null});
dJ.set({backgroundColor:bQ});
var dR=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({paddingRight:5});
var dN=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({paddingLeft:5});
var dK=new qx.ui.container.Scroll();
var dQ=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
var dL=new qx.ui.container.Composite(new qx.ui.layout.VBox());
this.fieldCanvas=new qx.ui.container.Composite(new qx.ui.layout.Canvas(5));
this.fieldCanvas.set({backgroundColor:bQ,padding:[5,5,5,10]});
qx.ui.core.FocusHandler.getInstance().addRoot(this.fieldCanvas);
this.textEditor=new grfind.HtmlEditor(this.getDesktop(),bd,true);
dK.add(this.fieldCanvas,{edge:5});
dQ.add(dK,{edge:0});
var dM=new qx.ui.container.Composite(new qx.ui.layout.HBox(10).set({alignY:df})).set({padding:[5,5,0,5]});
this.noImageRadioButton=new qx.ui.form.RadioButton(n).set({padding:[2,5,2,5]});
this.noImageRadioButton.setUserData(cT,cU);
this.noImageRadioButton.setDecorator(cR);
this.noImageRadioButton.setValue(true);
this.myImageRadioButton=new qx.ui.form.RadioButton(bh).set({padding:[2,5,2,5]});
this.myImageRadioButton.setUserData(cT,cU);
this.grfindImageRadioButton=new qx.ui.form.RadioButton(dn).set({padding:[2,5,2,5]});
this.grfindImageRadioButton.setUserData(cT,cU);
var dP=new qx.ui.form.RadioGroup();
dP.add(this.noImageRadioButton);
dP.add(this.myImageRadioButton);
dP.add(this.grfindImageRadioButton);
this.noImageRadioButton.addListener(cY,function(e){if(e.getData()){this.imageCanvas.setEnabled(false);
this.imageUploadForm.setEnabled(false);
this.userImage.setSource(cQ);
this.imageUrlTextField.setValue(e.getCurrentTarget().getUserData(cT));
e.getCurrentTarget().setDecorator(cR);
}else{e.getCurrentTarget().setDecorator(null);
}},this);
this.myImageRadioButton.addListener(cY,function(e){if(e.getData()){this.imageCanvas.setEnabled(true);
this.imageUploadForm.setEnabled(false);
this.userImage.setSource(cQ);
var fv=e.getCurrentTarget().getUserData(cT);
this.imageUrlTextField.setValue(fv);

if(fv){this.userImage.setSource(fv);
}else{this.userImage.setSource(cQ);
}e.getCurrentTarget().setDecorator(cR);
this.imageUrlTextField.focus();
}else{e.getCurrentTarget().setDecorator(null);
}},this);
this.grfindImageRadioButton.addListener(cY,function(e){if(e.getData()){this.imageCanvas.setEnabled(false);
this.imageUploadForm.setEnabled(true);
this.userImage.setSource(cQ);
var fq=e.getCurrentTarget().getUserData(cT);
this.imageUrlTextField.setValue(fq);

if(fq){this.userImage.setSource(dd+this.imagePrefix+bT+fq);
}else{this.userImage.setSource(cQ);
}this.uploadHBox.setDecorator(cR);
}else{e.getCurrentTarget().setDecorator(null);
}},this);
this.imageCanvas=new qx.ui.container.Composite(new qx.ui.layout.HBox(5)).set({padding:[5,5,0,5]});
this.imageCanvas.setEnabled(false);
var dS=new qx.ui.basic.Atom(B);
this.imageUrlTextField=new qx.ui.form.TextField(cU);
this.imageUrlTextField.addListener(cH,function(e){this.myImageRadioButton.setUserData(cT,e.getCurrentTarget().getValue());
this.userImage.setSource(cQ);
this.userImage.setSource(e.getCurrentTarget().getValue());
},this);
this.imageUploadForm=new grfind.UploadField(cf,cB);
this.imageUploadForm.setEnabled(false);
this.imageUploadForm.addListener(m,function(e){var fi=qx.util.Json.parse(e.getData());
var fh=fi[bD];

if(fi.status==bA){this.imageName=fi[cu];
this.imagePrefix=fi[cw];
this.imageUrlTextField.setValue(this.imageName);
this.grfindImageRadioButton.setUserData(cT,this.imageName);
this.userImage.setSource(dd+this.imagePrefix+bT+this.imageName);
}else{var fg=fi[s];
}this.getApp().userMessage(fg);
},this);
dM.add(this.noImageRadioButton);
dM.add(this.myImageRadioButton);
this.uploadHBox=new qx.ui.container.Composite(new qx.ui.layout.HBox());
this.uploadHBox.add(this.grfindImageRadioButton);
this.uploadHBox.add(this.imageUploadForm);
dM.add(this.uploadHBox);
this.getApp().createTooltip(dS,g,bo,this.getTooltipDelay());
this.getApp().createTooltip(this.noImageRadioButton,ba,M,this.getTooltipDelay());
this.getApp().createTooltip(this.myImageRadioButton,cl,K,this.getTooltipDelay());
this.getApp().createTooltip(this.grfindImageRadioButton,bH,R,this.getTooltipDelay());
this.imageCanvas.add(dS);
this.imageCanvas.add(this.imageUrlTextField,{flex:1});
var dO=new qx.ui.container.Composite(new qx.ui.layout.VBox());
this.userImage=new qx.ui.basic.Image().set({margin:5,width:64,height:64,decorator:cC});
this.userImage.setScale(true);
this.userImage.setSource(cQ);
this.userImage.addListener(bB,function(e){var ej=this.userImage.getSource();

if(ej!=cQ){this.nativeWindow?this.nativeWindow.close():null;
this.nativeWindow=window.open(ej,dm,bq);
}},this);
var dT=new qx.ui.container.Composite(new qx.ui.layout.HBox());
dO.add(dM);
dO.add(this.imageCanvas);
dT.add(dO,{flex:1});
dT.add(this.userImage);
dL.add(this.textEditor,{flex:1});
dL.add(dT);
dR.add(dQ,{edge:5});
dN.add(dL,{edge:0});
dH.add(dR,1);
dH.add(dN,3);
this.bodyGroupBox=dI;
dI.add(dH,{edge:0});
return dI;
},_createHttpCanvas:function(){var fn=new qx.ui.container.Composite(new qx.ui.layout.VBox(10)).set({decorator:bL,padding:10});
var fp=new qx.ui.container.Composite(new qx.ui.layout.HBox(10).set({alignY:df}));
var fo=new qx.ui.basic.Label(t).set({font:w});
this.httpUrlTextField=new qx.ui.form.TextField(cU);
this.httpUrlTextField.addListener(bO,function(e){var eg=e.getCurrentTarget().getValue();

if(eg.length==0){this.httpIframe.setSource(bR);
}else{this.httpIframe.setSource(t+eg);
}},this);
this.httpIframe=new qx.ui.embed.Iframe(bR);
this.getApp().createTooltip(fo,N,F,this.getTooltipDelay());
fp.add(fo);
fp.add(this.httpUrlTextField,{flex:1});
fn.add(fp);
fn.add(this.httpIframe,{flex:1});
return fn;
},_createShowCanvas:function(){var ec=new qx.ui.container.Composite(new qx.ui.layout.HBox(15).set({alignY:df}));
ec.set({padding:[5,0,0,0],font:w,textColor:bG});
var eb=new qx.ui.form.RadioGroup();
this.onlineRadioButton=new qx.ui.form.RadioButton(ck);
this.onlineRadioButton.set({value:true,decorator:cR,padding:[2,5,2,5]});
this.offlineRadioButton=new qx.ui.form.RadioButton(cc);
this.offlineRadioButton.set({padding:[2,5,2,5]});
this.onlineRadioButton.addListener(db,function(e){if(e.getData()){this.onlineRadioButton.setDecorator(cR);
this.offlineRadioButton.setDecorator(null);
this.submitButton.setButtonLabel(A);
}else{this.onlineRadioButton.setDecorator(null);
this.offlineRadioButton.setDecorator(cR);
this.submitButton.setButtonLabel(cD);
}},this);
eb.add(this.onlineRadioButton);
eb.add(this.offlineRadioButton);
ec.add(this.onlineRadioButton);
ec.add(this.offlineRadioButton);
this.getApp().createTooltip(this.onlineRadioButton,bY,bJ,this.getTooltipDelay());
this.getApp().createTooltip(this.offlineRadioButton,dl,J,this.getTooltipDelay());
return ec;
},_help:function(){if(!this.quickAddHelpWindow){this.quickAddHelpWindow=new qx.ui.window.Window();
this.quickAddHelpWindow.setLayout(new qx.ui.layout.Grow());
var eW=new qx.ui.container.Composite(new qx.ui.layout.Grow());
eW.set({padding:10,backgroundColor:bQ});
var eX=new qx.ui.embed.Iframe(bU);
eX.set({decorator:null});
eW.add(eX);
this.quickAddHelpWindow.add(eW);
this.quickAddHelpWindow.set({caption:cg,resizableTop:false,showMinimize:false,showMaximize:false});
var eY=this.getApp().calculateWidthAndHeight(this.getDesktop(),0.7,0.7);
this.quickAddHelpWindow.set({width:eY[cs],height:eY[dr]});
this.getDesktop().add(this.quickAddHelpWindow,{top:cA,left:U});
}this.quickAddHelpWindow.open();
},_createToolbar:function(){var fk=new qx.ui.groupbox.GroupBox().set({contentPadding:5});
fk.setLayout(new qx.ui.layout.Canvas());
this.toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox(15).set({alignX:cE}));
this.toolbar.set({padding:5,decorator:bL});
this.loginButton=new grfind.Button(this,cN,q,co,null);
this.loginButton.set({font:qx.bom.Font.fromString(cO)});
var fl=new grfind.Button(this,cN,cx,l,null);
fl.set({font:qx.bom.Font.fromString(cO)});
this.submitButton=new grfind.Button(this,cN,cV,A,null);
this.submitButton.set({font:qx.bom.Font.fromString(cO)});
this.helpButton=new grfind.Button(this,cN,u,bp,null);
this.helpButton.set({font:qx.bom.Font.fromString(cO)});
var fj=new grfind.Button(this,cN,dx,bI,null);
fj.set({font:qx.bom.Font.fromString(cO)});
this.getApp().createTooltip(this.loginButton,q,D,this.getTooltipDelay());
this.getApp().createTooltip(fl,cx,bW,this.getTooltipDelay());
this.getApp().createTooltip(this.submitButton,cV,dk,this.getTooltipDelay());
this.toolbar.add(this.loginButton);
this.toolbar.add(fl);
this.toolbar.add(this.submitButton);
this.toolbar.add(this.helpButton);
this.toolbar.add(fj);
fk.add(this.toolbar,{edge:0});
return fk;
},_doDirtyWindow:function(){if(!this.dirtyWindow){this.dirtyWindow=new grfind.window.DirtyWindow();
this.dirtyWindow.addListener(bg,function(e){switch(e.getData()){case O:{this._changeBody();
};
break;
case bE:{this.hide();
};
break;
default:{};
}},this);
this.dirtyWindow.set({width:this.getBounds()[cs]*.3});
this.getDesktop().add(this.dirtyWindow,{top:bK,left:bK});
}this.dirtyWindow.open();
this.dirtyWindow._initialize(this.getGoing());
},_changeMarket:function(){this._updateStoreChooser();
},_changeStore:function(){var eU=this.getRequestedStore();
this.getApp().userMessage(cm+eU);
},_doButton:function(ee,ef){switch(ee){case q:{this.getApp().doLogin();
};
break;
case cx:{this._previewItem();
};
break;
case cV:{this._saveItem();
};
break;
case dx:{this.close();
};
break;
case u:{this._help();
};
break;
case C:case di:case bC:{this.setRequestedMarket(ef);
this._changeMarket();
};
break;
case bs:case h:case bX:case Y:case cb:case o:case I:case p:case W:{this.getApp().userMessage(cI);
};
break;
default:{};
}}}});
})();
(function(){var n="white",m="getEditData",l="group",k="visible",j="",i='name',h="name",g="cellClick",f='input-timer',d="5%",bd="changeFieldSelection",bc='action',bb="14px sans-serif",ba="grfind.window.EditFieldChooserWindow",Y="application/json",X="examples",W="text/html",V='field-label',U="default",T="changeValue",v="GET",w='value',t="requestRetry",u="wait",r=".html",s="interval",p="Keep this window open after selection",q="input",z="load",A="could not parse return data",H="Your Fields",F='field',L="Loading edit fields ... ",J="search",P='store-number',N="userLogout",C="your-fields",S="completed",R="getSampleEditData",Q="-",B='store-type',D="POST",E="resource/grfind/sample-edit-data/",G="\n",I="userLogin",K="Example Fields",M="You must be logged in to see the list of your fields. <br/><br/>This will be a list of every value that you have previously entered for this field",O='dbname',y="could not parse return example data";
qx.Class.define(ba,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({width:250,height:350,showMinimize:false,showMaximize:false});
this.set({resizableTop:false});
this.tooltipDelay=750;
this.reqBox=new grfind.ReqBox();
var bn=new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
bn.set({padding:5,backgroundColor:n,font:qx.bom.Font.fromString(bb)});
var bo=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
this.myFieldsCanvas=this._createMyFieldsCanvas();
this.examplesCanvas=this._createExamplesCanvas();
this.loginLabel=new qx.ui.basic.Atom(M).set({rich:true,padding:25,backgroundColor:n});
this.getApp().addListener(I,function(e){this._updateState();
this.getVisibility()==k?this._populateEditList():null;
},this);
this.getApp().addListener(N,function(e){this._updateState();
this.getVisibility()==k?this._populateEditList():null;
},this);
this.reqBox.addListener(t,function(e){switch(e.getData()){case m:{this._populateEditList();
};
break;
case R:{this._populateExamplesList();
};
break;
default:{};
}},this);
bo.add(this.myFieldsCanvas,{edge:0});
bo.add(this.examplesCanvas,{edge:0});
bo.add(this.loginLabel,{edge:0});
bn.add(this._createHeader());
bn.add(bo,{flex:1});
this.add(bn,{edge:0});
this.add(this.reqBox,{top:d,left:d});
this._updateState();
},properties:{app:{init:null},storeNumber:{init:null},storeType:{init:null},field:{init:null},fieldLabel:{init:null},dbName:{init:null},fieldValue:{init:null},action:{init:null},searchFields:{init:{}}},members:{_updateState:function(){!this.getApp().getSessionKey()&&this.yourFieldsRadioButton.getValue()?this.loginLabel.show():this.loginLabel.hide();
},getCurrentDbName:function(){return this.getDbName();
},setCurrentDbName:function(bz){this.setDbName(bz);
},_initialize:function(o){this.setStoreNumber(o[P]);
this.setStoreType(o[B]);
this.setField(o[F]);
this.setFieldLabel(o[V]);
this.setFieldValue(j);
this.searchTextField.setValue(j);
this.setDbName(o[O]);
this.setAction(o[bc]);
this.setCaption(this.getFieldLabel());
!this.getApp().getSessionKey()?this.examplesRadioButton.setValue(true):null;
this._populateEditList();
this._populateExamplesList();
},_createHeader:function(){var bs=new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
this.keepOpenCheckBox=new qx.ui.form.CheckBox(p);
var bu=new qx.ui.container.Composite(new qx.ui.layout.HBox(10));
var bt=new qx.ui.form.RadioGroup();
this.yourFieldsRadioButton=new qx.ui.form.RadioButton(H);
this.yourFieldsRadioButton.setUserData(i,C);
this.examplesRadioButton=new qx.ui.form.RadioButton(K);
this.examplesRadioButton.setUserData(i,X);
this.yourFieldsRadioButton.addListener(T,function(e){if(e.getData()){this.myFieldsCanvas.show();
this.examplesCanvas.hide();
this._updateState();
}else{this.myFieldsCanvas.hide();
this.examplesCanvas.show();
this._updateState();
}},this);
bt.add(this.yourFieldsRadioButton);
bt.add(this.examplesRadioButton);
bu.add(this.yourFieldsRadioButton);
bu.add(this.examplesRadioButton);
bs.add(this.keepOpenCheckBox);
bs.add(bu);
return bs;
},_createMyFieldsCanvas:function(){var bq=new qx.ui.container.Composite(new qx.ui.layout.VBox(3));
var br=new qx.event.Timer();
br.addListener(s,function(e){e.getCurrentTarget().stop();
this.setFieldValue(this.searchTextField.getValue());
this._populateEditList();
},this);
this.searchTextField=new qx.ui.form.TextField();
this.searchTextField.set({placeholder:J});
this.searchTextField.setUserData(f,br);
this.searchTextField.addListener(q,function(e){e.getCurrentTarget().getUserData(f).restartWith(750);
},this);
var bp=this._createMyFieldsTable();
bq.add(this.searchTextField);
bq.add(bp,{flex:1});
return bq;
},_createExamplesCanvas:function(){var by=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
var bx=this._createExamplesTable();
by.add(bx,{edge:0});
return by;
},_populateEditList:function(){var bj={'session-key':this.getApp().getSessionKey(),'store-number':this.getStoreNumber(),'store-type':this.getStoreType(),'dbname':this.getDbName(),'field-value':this.getFieldValue()};
var bi=new grfind.HttpRequest(m,D,Y,2000,bj);

if(bi){bi.addListener(S,function(e){this.getApp().getRoot().setGlobalCursor(U);

try{this.myFieldsTable.getTableModel().setData(eval(e.getData()[w]));
this.myFieldsTable.getTableModel().sortByColumn(0,true);
this.myFieldsTable.getSelectionModel().clearSelection();
}catch(e){this.getApp().userMessage(A);
}},this);
this.getApp().getRoot().setGlobalCursor(u);
this.reqBox.start(bi,m,L);
}},_populateExamplesList:function(){var bf=this.getStoreType()+Q+this.getDbName();
var be=new grfind.HttpRequest(E+bf+r,v,W,2000,null);

if(be){be.addListener(z,function(e){var bv=be.getResponseText();
bv=bv.split(G);
var bw=[];

for(var x=0;x<bv.length;x++){bw.push([bv[x]]);
}
try{this.sampleTable.getTableModel().setData(bw);
this.sampleTable.getTableModel().sortByColumn(0,true);
this.sampleTable.getSelectionModel().clearSelection();
}catch(e){this.getApp().userMessage(y);
}},this);
be.send();
}},_createMyFieldsTable:function(){var b=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({decorator:l,padding:5});
var a=new qx.ui.table.model.Simple();
a.setColumns([h]);
a.setCaseSensitiveSorting(false);
var c=new qx.ui.table.Table(a);
c.set({decorator:null,backgroundColor:n});
c.setShowCellFocusIndicator(false);
c.setColumnWidth(0,1000);
c.setColumnVisibilityButtonVisible(false);
c.getPaneScroller(0).getHeader().set({maxHeight:1});
c.addListener(g,function(e){!this.keepOpenCheckBox.getValue()?this.close():null;
var bg=this.myFieldsTable.getTableModel().getValue(0,e.getRow());

if(bg!=this.getFieldValue()){this.fireDataEvent(bd,{'value':bg,'field':this.getField()});
}},this);
this.myFieldsTable=c;
this.table=c;
b.add(c,{edge:3});
return b;
},_createExamplesTable:function(){var bl=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({decorator:l,padding:5});
var bk=new qx.ui.table.model.Simple();
bk.setColumns([h]);
bk.setCaseSensitiveSorting(false);
var bm=new qx.ui.table.Table(bk);
bm.set({decorator:null,backgroundColor:n});
bm.setShowCellFocusIndicator(false);
bm.setColumnWidth(0,1000);
bm.setColumnVisibilityButtonVisible(false);
bm.getPaneScroller(0).getHeader().set({maxHeight:1});
bm.addListener(g,function(e){!this.keepOpenCheckBox.getValue()?this.close():null;
var bh=this.sampleTable.getTableModel().getValue(0,e.getRow());

if(bh!=this.getFieldValue()){this.fireDataEvent(bd,{'value':bh,'field':this.getField()});
}},this);
this.sampleTable=bm;
bl.add(bm,{edge:0});
return bl;
}}});
})();
(function(){var r="qx.event.type.Data",q="EVENT_TYPE_DATA_CHANGED",p="qx.ui.table.ITableModel",o="New code should not use this. Instead, use the text string 'dataChanged' literally.",n="New code should not use this. Instead, use the text string 'metaDataChanged' literally.",m="qx.event.type.Event",l="EVENT_TYPE_META_DATA_CHANGED";
qx.Interface.define(p,{events:{"dataChanged":r,"metaDataChanged":m,"sorted":r},statics:{EVENT_TYPE_DATA_CHANGED:"dataChanged",EVENT_TYPE_META_DATA_CHANGED:"metaDataChanged"},members:{getRowCount:function(){},getRowData:function(x){},getColumnCount:function(){},getColumnId:function(z){},getColumnIndexById:function(k){},getColumnName:function(y){},isColumnEditable:function(w){},isColumnSortable:function(A){},sortByColumn:function(f,g){},getSortColumnIndex:function(){},isSortAscending:function(){},prefetchRows:function(s,t){},getValue:function(u,v){},getValueById:function(a,b){},setValue:function(h,i,j){},setValueById:function(c,d,e){}}});
qx.log.Logger.deprecatedConstantWarning(qx.ui.table.ITableModel,q,o);
qx.log.Logger.deprecatedConstantWarning(qx.ui.table.ITableModel,l,n);
})();
(function(){var q="metaDataChanged",p="qx.event.type.Data",o="qx.event.type.Event",n="abstract",m="qx.ui.table.model.Abstract";
qx.Class.define(m,{type:n,extend:qx.core.Object,implement:qx.ui.table.ITableModel,events:{"dataChanged":p,"metaDataChanged":o,"sorted":p},construct:function(){arguments.callee.base.call(this);
this.__pJ=[];
this.__pK=[];
this.__pL={};
},members:{__pJ:null,__pK:null,__pL:null,__pM:null,getRowCount:function(){throw new Error("getRowCount is abstract");
},getRowData:function(g){return null;
},isColumnEditable:function(A){return false;
},isColumnSortable:function(u){return false;
},sortByColumn:function(x,y){},getSortColumnIndex:function(){return -1;
},isSortAscending:function(){return true;
},prefetchRows:function(b,c){},getValue:function(v,w){throw new Error("getValue is abstract");
},getValueById:function(d,e){return this.getValue(this.getColumnIndexById(d),e);
},setValue:function(h,j,k){throw new Error("setValue is abstract");
},setValueById:function(r,s,t){this.setValue(this.getColumnIndexById(r),s,t);
},getColumnCount:function(){return this.__pJ.length;
},getColumnIndexById:function(f){return this.__pL[f];
},getColumnId:function(F){return this.__pJ[F];
},getColumnName:function(B){return this.__pK[B];
},setColumnIds:function(z){this.__pJ=z;
this.__pL={};

for(var i=0;i<z.length;i++){this.__pL[z[i]]=i;
}this.__pK=new Array(z.length);
if(!this.__pM){this.fireEvent(q);
}},setColumnNamesByIndex:function(a){if(this.__pJ.length!=a.length){throw new Error("this.__columnIdArr and columnNameArr have different length: "+this.__pJ.length+" != "+a.length);
}this.__pK=a;
this.fireEvent(q);
},setColumnNamesById:function(l){this.__pK=new Array(this.__pJ.length);

for(var i=0;i<this.__pJ.length;++i){this.__pK[i]=l[this.__pJ[i]];
}},setColumns:function(C,D){var E=this.__pJ.length==0||D;

if(D==null){if(this.__pJ.length==0){D=C;
}else{D=this.__pJ;
}}
if(D.length!=C.length){throw new Error("columnIdArr and columnNameArr have different length: "+D.length+" != "+C.length);
}
if(E){this.__pM=true;
this.setColumnIds(D);
this.__pM=false;
}this.setColumnNamesByIndex(C);
}},destruct:function(){this.__pJ=this.__pK=this.__pL=null;
}});
})();
(function(){var s="dataChanged",r="metaDataChanged",q="qx.ui.table.model.Simple",p="Boolean",o="sorted";
qx.Class.define(q,{extend:qx.ui.table.model.Abstract,construct:function(){arguments.callee.base.call(this);
this.__pN=[];
this.__pO=-1;
this.__pP=[];
this.__pQ=null;
},properties:{caseSensitiveSorting:{check:p,init:true}},statics:{_defaultSortComparatorAscending:function(h,k){var l=h[arguments.callee.columnIndex];
var m=k[arguments.callee.columnIndex];
return (l>m)?1:((l==m)?0:-1);
},_defaultSortComparatorInsensitiveAscending:function(bE,bF){var bG=(isNaN(bE[arguments.callee.columnIndex])?bE[arguments.callee.columnIndex].toLowerCase():bE[arguments.callee.columnIndex]);
var bH=(isNaN(bF[arguments.callee.columnIndex])?bF[arguments.callee.columnIndex].toLowerCase():bF[arguments.callee.columnIndex]);
return (bG>bH)?1:((bG==bH)?0:-1);
},_defaultSortComparatorDescending:function(O,P){var Q=O[arguments.callee.columnIndex];
var R=P[arguments.callee.columnIndex];
return (Q<R)?1:((Q==R)?0:-1);
},_defaultSortComparatorInsensitiveDescending:function(bA,bB){var bC=(isNaN(bA[arguments.callee.columnIndex])?bA[arguments.callee.columnIndex].toLowerCase():bA[arguments.callee.columnIndex]);
var bD=(isNaN(bB[arguments.callee.columnIndex])?bB[arguments.callee.columnIndex].toLowerCase():bB[arguments.callee.columnIndex]);
return (bC<bD)?1:((bC==bD)?0:-1);
}},members:{__pN:null,__pQ:null,__pR:null,__pP:null,__pO:null,__pS:null,getRowData:function(bh){var bi=this.__pN[bh];

if(bi==null||bi.originalData==null){return bi;
}else{return bi.originalData;
}},getRowDataAsMap:function(X){var ba=this.__pN[X];
var Y={};

for(var bb=0;bb<this.getColumnCount();bb++){Y[this.getColumnId(bb)]=ba[bb];
}return Y;
},getDataAsMapArray:function(){var bl=this.getRowCount();
var bk=[];

for(var i=0;i<bl;i++){bk.push(this.getRowDataAsMap(i));
}return bk;
},setEditable:function(I){this.__pQ=[];

for(var J=0;J<this.getColumnCount();J++){this.__pQ[J]=I;
}this.fireEvent(r);
},setColumnEditable:function(G,H){if(H!=this.isColumnEditable(G)){if(this.__pQ==null){this.__pQ=[];
}this.__pQ[G]=H;
this.fireEvent(r);
}},isColumnEditable:function(e){return this.__pQ?(this.__pQ[e]==true):false;
},setColumnSortable:function(f,g){if(g!=this.isColumnSortable(f)){if(this.__pR==null){this.__pR=[];
}this.__pR[f]=g;
this.fireEvent(r);
}},isColumnSortable:function(bj){return (this.__pR?(this.__pR[bj]!==false):true);
},sortByColumn:function(B,C){var F;
var E=this.__pP[B];

if(E){F=(C?E.ascending:E.descending);
}else{if(this.getCaseSensitiveSorting()){F=(C?qx.ui.table.model.Simple._defaultSortComparatorAscending:qx.ui.table.model.Simple._defaultSortComparatorDescending);
}else{F=(C?qx.ui.table.model.Simple._defaultSortComparatorInsensitiveAscending:qx.ui.table.model.Simple._defaultSortComparatorInsensitiveDescending);
}}F.columnIndex=B;
this.__pN.sort(F);
this.__pO=B;
this.__pS=C;
var D={columnIndex:B,ascending:C};
this.fireDataEvent(o,D);
this.fireEvent(r);
},setSortMethods:function(bc,bd){var be;

if(qx.lang.Type.isFunction(bd)){be={ascending:bd,descending:function(V,W){return bd(W,V);
}};
}else{be=bd;
}this.__pP[bc]=be;
},getSortMethods:function(n){return this.__pP[n];
},clearSorting:function(){if(this.__pO!=-1){this.__pO=-1;
this.__pS=true;
this.fireEvent(r);
}},getSortColumnIndex:function(){return this.__pO;
},isSortAscending:function(){return this.__pS;
},getRowCount:function(){return this.__pN.length;
},getValue:function(bf,bg){if(bg<0||bg>=this.__pN.length){throw new Error("this.__rowArr out of bounds: "+bg+" (0.."+this.__pN.length+")");
}return this.__pN[bg][bf];
},setValue:function(bm,bn,bo){if(this.__pN[bn][bm]!=bo){this.__pN[bn][bm]=bo;
if(this.hasListener(s)){var bp={firstRow:bn,lastRow:bn,firstColumn:bm,lastColumn:bm};
this.fireDataEvent(s,bp);
}
if(bm==this.__pO){this.clearSorting();
}}},setData:function(bI,bJ){this.__pN=bI;
if(this.hasListener(s)){var bK={firstRow:0,lastRow:bI.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};
this.fireDataEvent(s,bK);
}
if(bJ!==false){this.clearSorting();
}},getData:function(){return this.__pN;
},setDataAsMapArray:function(S,T,U){this.setData(this._mapArray2RowArr(S,T),U);
},addRows:function(x,y,z){if(y==null){y=this.__pN.length;
}x.splice(0,0,y,0);
Array.prototype.splice.apply(this.__pN,x);
var A={firstRow:y,lastRow:this.__pN.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};
this.fireDataEvent(s,A);

if(z!==false){this.clearSorting();
}},addRowsAsMapArray:function(bq,br,bs,bt){this.addRows(this._mapArray2RowArr(bq,bs),br,bt);
},setRows:function(t,u,v){if(u==null){u=0;
}t.splice(0,0,u,t.length);
Array.prototype.splice.apply(this.__pN,t);
var w={firstRow:u,lastRow:this.__pN.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};
this.fireDataEvent(s,w);

if(v!==false){this.clearSorting();
}},setRowsAsMapArray:function(K,L,M,N){this.setRows(this._mapArray2RowArr(K,M),L,N);
},removeRows:function(a,b,c){this.__pN.splice(a,b);
var d={firstRow:a,lastRow:this.__pN.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1,removeStart:a,removeCount:b};
this.fireDataEvent(s,d);

if(c!==false){this.clearSorting();
}},_mapArray2RowArr:function(bu,bv){var bz=bu.length;
var bw=this.getColumnCount();
var by=new Array(bz);
var bx;

for(var i=0;i<bz;++i){bx=[];

if(bv){bx.originalData=bu[i];
}
for(var j=0;j<bw;++j){bx[j]=bu[i][this.getColumnId(j)];
}by[i]=bx;
}return by;
}},destruct:function(){this.__pN=this.__pQ=this.__pP=this.__pR=null;
}});
})();
(function(){var bH="Function",bG="Boolean",bF="column-button",bE="qx.event.type.Data",bD="statusbar",bC="qx.ui.table.pane.CellEvent",bB="PageUp",bA="changeLocale",bz="changeSelection",by="qx.dynlocale",cT="__qe",cS="Enter",cR="metaDataChanged",cQ="dataChanged",cP="on",cO="_applyStatusBarVisible",cN="columnVisibilityMenuCreateStart",cM="blur",cL="qx.ui.table.Table",cK="columnVisibilityMenuCreateEnd",bO="__qc",bP="Use 'resetSelection' instead.",bM="__qd",bN="verticalScrollBarChanged",bK="_applyMetaColumnCounts",bL="one of one row",bI="focus",bJ="changeDataRowRenderer",bW="changeHeaderCellHeight",bX="Escape",cm="A",ci="changeSelectionModel",cu="Left",cp="__pU",cG="Down",cA="Integer",cd="_applyHeaderCellHeight",cJ="visibilityChanged",cI="qx.ui.table.ITableModel",cH="orderChanged",cb="_applySelectionModel",cf="menu",ch="_applyAdditionalStatusBarText",ck="_applyFocusCellOnMouseMove",cn="table",cq="_applyColumnVisibilityButtonVisible",cw="changeTableModel",cC="qx.event.type.Event",bQ="tableWidthChanged",bR="End",ce="Object",ct="_applyShowCellFocusIndicator",cs="resize",cr="__pT",cy="changeScrollY",cx="_applyTableModel",co="menu-button",cv="_applyKeepFirstVisibleRowComplete",bv="widthChanged",cB="Home",bS="_applyRowHeight",bT="F2",cj="appear",bw="Up",bx="%1 rows",ca="qx.ui.table.selection.Model",bU="one row",bV="PageDown",bY="%1 of %2 rows",cl="keypress",cE="changeRowHeight",cD="Number",cg="changeVisible",cF="qx.ui.table.IRowRenderer",cc="Right",cz="Space";
qx.Class.define(cL,{extend:qx.ui.core.Widget,construct:function(dw,dx){arguments.callee.base.call(this);
if(!dx){dx={};
}
if(dx.selectionManager){this.setNewSelectionManager(dx.selectionManager);
}
if(dx.selectionModel){this.setNewSelectionModel(dx.selectionModel);
}
if(dx.tableColumnModel){this.setNewTableColumnModel(dx.tableColumnModel);
}
if(dx.tablePane){this.setNewTablePane(dx.tablePane);
}
if(dx.tablePaneHeader){this.setNewTablePaneHeader(dx.tablePaneHeader);
}
if(dx.tablePaneScroller){this.setNewTablePaneScroller(dx.tablePaneScroller);
}
if(dx.tablePaneModel){this.setNewTablePaneModel(dx.tablePaneModel);
}
if(dx.columnMenu){this.setNewColumnMenu(dx.columnMenu);
}this._setLayout(new qx.ui.layout.VBox());
this.__pT=new qx.ui.container.Composite(new qx.ui.layout.HBox());
this._add(this.__pT,{flex:1});
this.setDataRowRenderer(new qx.ui.table.rowrenderer.Default(this));
this.__pU=this.getNewSelectionManager()(this);
this.setSelectionModel(this.getNewSelectionModel()(this));
this.setTableModel(dw||this.getEmptyTableModel());
this.setMetaColumnCounts([-1]);
this.setTabIndex(1);
this.addListener(cl,this._onKeyPress);
this.addListener(bI,this._onFocusChanged);
this.addListener(cM,this._onFocusChanged);
var dy=new qx.ui.core.Widget().set({height:0});
this._add(dy);
dy.addListener(cs,this._onResize,this);
this.__pV=null;
this.__pW=null;
if(qx.core.Variant.isSet(by,cP)){qx.locale.Manager.getInstance().addListener(bA,this._onChangeLocale,this);
}this.initStatusBarVisible();
},events:{"columnVisibilityMenuCreateStart":bE,"columnVisibilityMenuCreateEnd":bE,"tableWidthChanged":cC,"verticalScrollBarChanged":bE,"cellClick":bC,"cellDblclick":bC,"cellContextmenu":bC,"dataEdited":bE},statics:{__pX:{cellClick:1,cellDblclick:1,cellContextmenu:1}},properties:{appearance:{refine:true,init:cn},focusable:{refine:true,init:true},minWidth:{refine:true,init:50},selectable:{refine:true,init:false},selectionModel:{check:ca,apply:cb,event:ci},tableModel:{check:cI,apply:cx,event:cw},rowHeight:{check:cD,init:20,apply:bS,event:cE},forceLineHeight:{check:bG,init:true},headerCellHeight:{check:cA,init:16,apply:cd,event:bW,nullable:true},statusBarVisible:{check:bG,init:true,apply:cO},additionalStatusBarText:{nullable:true,init:null,apply:ch},columnVisibilityButtonVisible:{check:bG,init:true,apply:cq},metaColumnCounts:{check:ce,apply:bK},focusCellOnMouseMove:{check:bG,init:false,apply:ck},rowFocusChangeModifiesSelection:{check:bG,init:true},showCellFocusIndicator:{check:bG,init:true,apply:ct},keepFirstVisibleRowComplete:{check:bG,init:true,apply:cv},alwaysUpdateCells:{check:bG,init:false},dataRowRenderer:{check:cF,init:null,nullable:true,event:bJ},modalCellEditorPreOpenFunction:{check:bH,init:null,nullable:true},newColumnMenu:{check:bH,init:function(){return new qx.ui.table.columnmenu.Button();
}},newSelectionManager:{check:bH,init:function(bg){return new qx.ui.table.selection.Manager(bg);
}},newSelectionModel:{check:bH,init:function(eg){return new qx.ui.table.selection.Model(eg);
}},newTableColumnModel:{check:bH,init:function(ex){return new qx.ui.table.columnmodel.Basic(ex);
}},newTablePane:{check:bH,init:function(dq){return new qx.ui.table.pane.Pane(dq);
}},newTablePaneHeader:{check:bH,init:function(dv){return new qx.ui.table.pane.Header(dv);
}},newTablePaneScroller:{check:bH,init:function(p){return new qx.ui.table.pane.Scroller(p);
}},newTablePaneModel:{check:bH,init:function(dF){return new qx.ui.table.pane.Model(dF);
}}},members:{__pV:null,__pW:null,__pT:null,__pU:null,__pY:null,__qa:null,__qb:null,__qc:null,__qd:null,__qe:null,_createChildControlImpl:function(dG){var dH;

switch(dG){case bD:dH=new qx.ui.basic.Label();
dH.set({allowGrowX:true});
this._add(dH);
break;
case bF:dH=this.getNewColumnMenu()();
dH.set({focusable:false});
var dI=dH.factory(cf,{table:this});
dI.addListener(cj,this._initColumnMenu,this);
break;
}return dH||arguments.callee.base.call(this,dG);
},_applySelectionModel:function(di,dj){this.__pU.setSelectionModel(di);

if(dj!=null){dj.removeListener(bz,this._onSelectionChanged,this);
}di.addListener(bz,this._onSelectionChanged,this);
},_applyRowHeight:function(cU,cV){var cW=this._getPaneScrollerArr();

for(var i=0;i<cW.length;i++){cW[i].updateVerScrollBarMaximum();
}},_applyHeaderCellHeight:function(u,v){var w=this._getPaneScrollerArr();

for(var i=0;i<w.length;i++){w[i].getHeader().setHeight(u);
}},getEmptyTableModel:function(){if(!this.__qe){this.__qe=new qx.ui.table.model.Simple();
this.__qe.setColumns([]);
this.__qe.setData([]);
}return this.__qe;
},_applyTableModel:function(dn,dp){this.getTableColumnModel().init(dn.getColumnCount(),this);

if(dp!=null){dp.removeListener(cR,this._onTableModelMetaDataChanged,this);
dp.removeListener(cQ,this._onTableModelDataChanged,this);
}dn.addListener(cR,this._onTableModelMetaDataChanged,this);
dn.addListener(cQ,this._onTableModelDataChanged,this);
this._updateStatusBar();
this._updateTableData(0,dn.getRowCount(),0,dn.getColumnCount());
this._onTableModelMetaDataChanged();
},getTableColumnModel:function(){if(!this.__qd){var U=this.__qd=this.getNewTableColumnModel()(this);
U.addListener(cJ,this._onColVisibilityChanged,this);
U.addListener(bv,this._onColWidthChanged,this);
U.addListener(cH,this._onColOrderChanged,this);
var T=this.getTableModel();
U.init(T.getColumnCount(),this);
var R=this._getPaneScrollerArr();

for(var i=0;i<R.length;i++){var S=R[i];
var V=S.getTablePaneModel();
V.setTableColumnModel(U);
}}return this.__qd;
},_applyStatusBarVisible:function(r,s){if(r){this._showChildControl(bD);
}else{this._excludeChildControl(bD);
}
if(r){this._updateStatusBar();
}},_applyAdditionalStatusBarText:function(dB,dC){this.__pY=dB;
this._updateStatusBar();
},_applyColumnVisibilityButtonVisible:function(dU,dV){if(dU){this._showChildControl(bF);
}else{this._excludeChildControl(bF);
}},_applyMetaColumnCounts:function(eC,eD){var eK=eC;
var eE=this._getPaneScrollerArr();
var eI={};

if(eC>eD){var eM=qx.event.Registration.getManager(eE[0]);

for(var eN in qx.ui.table.Table.__pX){eI[eN]={};
eI[eN].capture=eM.getListeners(eE[0],eN,true);
eI[eN].bubble=eM.getListeners(eE[0],eN,false);
}}this._cleanUpMetaColumns(eK.length);
var eJ=0;

for(var i=0;i<eE.length;i++){var eO=eE[i];
var eL=eO.getTablePaneModel();
eL.setFirstColumnX(eJ);
eL.setMaxColumnCount(eK[i]);
eJ+=eK[i];
}if(eK.length>eE.length){var eH=this.getTableColumnModel();

for(var i=eE.length;i<eK.length;i++){var eL=this.getNewTablePaneModel()(eH);
eL.setFirstColumnX(eJ);
eL.setMaxColumnCount(eK[i]);
eJ+=eK[i];
var eO=this.getNewTablePaneScroller()(this);
eO.setTablePaneModel(eL);
eO.addListener(cy,this._onScrollY,this);
for(eN in qx.ui.table.Table.__pX){if(!eI[eN]){break;
}
if(eI[eN].capture&&eI[eN].capture.length>0){var eF=eI[eN].capture;

for(var i=0;i<eF.length;i++){var eG=eF[i].context;

if(!eG){eG=this;
}else if(eG==eE[0]){eG=eO;
}eO.addListener(eN,eF[i].handler,eG,true);
}}
if(eI[eN].bubble&&eI[eN].bubble.length>0){var eQ=eI[eN].bubble;

for(var i=0;i<eQ.length;i++){var eG=eQ[i].context;

if(!eG){eG=this;
}else if(eG==eE[0]){eG=eO;
}eO.addListener(eN,eQ[i].handler,eG,false);
}}}var eP=(i==eK.length-1)?1:0;
this.__pT.add(eO,{flex:eP});
eE=this._getPaneScrollerArr();
}}for(var i=0;i<eE.length;i++){var eO=eE[i];
var eR=(i==(eE.length-1));
eO.getHeader().setHeight(this.getHeaderCellHeight());
eO.setTopRightWidget(eR?this.getChildControl(bF):null);
}
if(!this.isColumnVisibilityButtonVisible()){this._excludeChildControl(bF);
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},_applyFocusCellOnMouseMove:function(G,H){var I=this._getPaneScrollerArr();

for(var i=0;i<I.length;i++){I[i].setFocusCellOnMouseMove(G);
}},_applyShowCellFocusIndicator:function(f,g){var h=this._getPaneScrollerArr();

for(var i=0;i<h.length;i++){h[i].setShowCellFocusIndicator(f);
}},_applyKeepFirstVisibleRowComplete:function(bs,bt){var bu=this._getPaneScrollerArr();

for(var i=0;i<bu.length;i++){bu[i].onKeepFirstVisibleRowCompleteChanged();
}},getSelectionManager:function(){return this.__pU;
},_getPaneScrollerArr:function(){return this.__pT.getChildren();
},getPaneScroller:function(dT){return this._getPaneScrollerArr()[dT];
},_cleanUpMetaColumns:function(dD){var dE=this._getPaneScrollerArr();

if(dE!=null){for(var i=dE.length-1;i>=dD;i--){dE[i].destroy();
}}},_onChangeLocale:function(P){this.updateContent();
this._updateStatusBar();
},_onSelectionChanged:function(eh){var ei=this._getPaneScrollerArr();

for(var i=0;i<ei.length;i++){ei[i].onSelectionChanged();
}this._updateStatusBar();
},_onTableModelMetaDataChanged:function(J){var K=this._getPaneScrollerArr();

for(var i=0;i<K.length;i++){K[i].onTableModelMetaDataChanged();
}this._updateStatusBar();
},_onTableModelDataChanged:function(A){var B=A.getData();
this._updateTableData(B.firstRow,B.lastRow,B.firstColumn,B.lastColumn,B.removeStart,B.removeCount);
},_updateTableData:function(bk,bl,bm,bn,bo,bp){var bq=this._getPaneScrollerArr();
if(bp){this.getSelectionModel().removeSelectionInterval(bo,bo+bp);
}
for(var i=0;i<bq.length;i++){bq[i].onTableModelDataChanged(bk,bl,bm,bn);
}var br=this.getTableModel().getRowCount();

if(br!=this.__qa){this.__qa=br;
this._updateScrollBarVisibility();
this._updateStatusBar();
}},_onScrollY:function(y){if(!this.__qb){this.__qb=true;
var z=this._getPaneScrollerArr();

for(var i=0;i<z.length;i++){z[i].setScrollY(y.getData());
}this.__qb=false;
}},_onKeyPress:function(dW){if(!this.getEnabled()){return;
}var ee=this.__pW;
var eb=true;
var ef=dW.getKeyIdentifier();

if(this.isEditing()){if(dW.getModifiers()==0){switch(ef){case cS:this.stopEditing();
var ee=this.__pW;
this.moveFocusedCell(0,1);

if(this.__pW!=ee){eb=this.startEditing();
}break;
case bX:this.cancelEditing();
this.focus();
break;
default:eb=false;
break;
}}return;
}else{if(dW.isCtrlPressed()){eb=true;

switch(ef){case cm:var ec=this.getTableModel().getRowCount();

if(ec>0){this.getSelectionModel().setSelectionInterval(0,ec-1);
}break;
default:eb=false;
break;
}}else{switch(ef){case cz:this.__pU.handleSelectKeyDown(this.__pW,dW);
break;
case bT:case cS:eb=this.startEditing();
break;
case cB:this.setFocusedCell(this.__pV,0,true);
break;
case bR:var ec=this.getTableModel().getRowCount();
this.setFocusedCell(this.__pV,ec-1,true);
break;
case cu:this.moveFocusedCell(-1,0);
break;
case cc:this.moveFocusedCell(1,0);
break;
case bw:this.moveFocusedCell(0,-1);
break;
case cG:this.moveFocusedCell(0,1);
break;
case bB:case bV:var ea=this.getPaneScroller(0);
var ed=ea.getTablePane();
var ec=ed.getVisibleRowCount()-1;
var dY=this.getRowHeight();
var dX=(ef==bB)?-1:1;
ea.setScrollY(ea.getScrollY()+dX*ec*dY);
this.moveFocusedCell(0,dX*ec);
break;
default:eb=false;
}}}
if(ee!=this.__pW&&this.getRowFocusChangeModifiesSelection()){this.__pU.handleMoveKeyDown(this.__pW,dW);
}
if(eb){dW.preventDefault();
dW.stopPropagation();
}},_onFocusChanged:function(dR){var dS=this._getPaneScrollerArr();

for(var i=0;i<dS.length;i++){dS[i].onFocusChanged();
}},_onColVisibilityChanged:function(bh){var bi=this._getPaneScrollerArr();

for(var i=0;i<bi.length;i++){bi[i].onColVisibilityChanged();
}var bj=bh.getData();

if(this.__qc!=null&&bj.col!=null&&bj.visible!=null){this.__qc[bj.col].setVisible(bj.visible);
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},_onColWidthChanged:function(en){var eo=this._getPaneScrollerArr();

for(var i=0;i<eo.length;i++){var ep=en.getData();
eo[i].setColumnWidth(ep.col,ep.newWidth);
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},_onColOrderChanged:function(dz){var dA=this._getPaneScrollerArr();

for(var i=0;i<dA.length;i++){dA[i].onColOrderChanged();
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},getTablePaneScrollerAtPageX:function(cX){var cY=this._getMetaColumnAtPageX(cX);
return (cY!=-1)?this.getPaneScroller(cY):null;
},setFocusedCell:function(ey,ez,eA){if(!this.isEditing()&&(ey!=this.__pV||ez!=this.__pW)){if(ey===null){ey=0;
}this.__pV=ey;
this.__pW=ez;
var eB=this._getPaneScrollerArr();

for(var i=0;i<eB.length;i++){eB[i].setFocusedCell(ey,ez);
}
if(ey!==null&&eA){this.scrollCellVisible(ey,ez);
}}},resetSelection:function(){this.getSelectionModel().resetSelection();
},clearSelection:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,bP);
this.resetSelection();
},resetCellFocus:function(){this.setFocusedCell(null,null,false);
},getFocusedColumn:function(){return this.__pV;
},getFocusedRow:function(){return this.__pW;
},highlightFocusedRow:function(ew){this.getDataRowRenderer().setHighlightFocusRow(ew);
},clearFocusedRowHighlight:function(){this.resetCellFocus();
var e=this._getPaneScrollerArr();

for(var i=0;i<e.length;i++){e[i].onFocusChanged();
}},moveFocusedCell:function(db,dc){var dg=this.__pV;
var dh=this.__pW;

if(dg===null||dh===null){return;
}
if(db!=0){var df=this.getTableColumnModel();
var x=df.getVisibleX(dg);
var de=df.getVisibleColumnCount();
x=qx.lang.Number.limit(x+db,0,de-1);
dg=df.getVisibleColumnAtX(x);
}
if(dc!=0){var dd=this.getTableModel();
dh=qx.lang.Number.limit(dh+dc,0,dd.getRowCount()-1);
}this.setFocusedCell(dg,dh,true);
},scrollCellVisible:function(ej,ek){var el=this.getTableColumnModel();
var x=el.getVisibleX(ej);
var em=this._getMetaColumnAtColumnX(x);

if(em!=-1){this.getPaneScroller(em).scrollCellVisible(ej,ek);
}},isEditing:function(){if(this.__pV!=null){var x=this.getTableColumnModel().getVisibleX(this.__pV);
var q=this._getMetaColumnAtColumnX(x);
return this.getPaneScroller(q).isEditing();
}return false;
},startEditing:function(){if(this.__pV!=null){var x=this.getTableColumnModel().getVisibleX(this.__pV);
var o=this._getMetaColumnAtColumnX(x);
var n=this.getPaneScroller(o).startEditing();
return n;
}return false;
},stopEditing:function(){if(this.__pV!=null){var x=this.getTableColumnModel().getVisibleX(this.__pV);
var t=this._getMetaColumnAtColumnX(x);
this.getPaneScroller(t).stopEditing();
}},cancelEditing:function(){if(this.__pV!=null){var x=this.getTableColumnModel().getVisibleX(this.__pV);
var dm=this._getMetaColumnAtColumnX(x);
this.getPaneScroller(dm).cancelEditing();
}},updateContent:function(){var Q=this._getPaneScrollerArr();

for(var i=0;i<Q.length;i++){Q[i].getTablePane().updateContent();
}},_getMetaColumnAtPageX:function(j){var k=this._getPaneScrollerArr();

for(var i=0;i<k.length;i++){var m=k[i].getContainerLocation();

if(j>=m.left&&j<=m.right){return i;
}}return -1;
},_getMetaColumnAtColumnX:function(L){var N=this.getMetaColumnCounts();
var O=0;

for(var i=0;i<N.length;i++){var M=N[i];
O+=M;

if(M==-1||L<O){return i;
}}return -1;
},_updateStatusBar:function(){var es=this.getTableModel();

if(this.getStatusBarVisible()){var et=this.getSelectionModel().getSelectedCount();
var ev=es.getRowCount();
var eu;

if(ev>=0){if(et==0){eu=this.trn(bU,bx,ev,ev);
}else{eu=this.trn(bL,bY,ev,et,ev);
}}
if(this.__pY){if(eu){eu+=this.__pY;
}else{eu=this.__pY;
}}
if(eu){this.getChildControl(bD).setValue(eu);
}}},_updateScrollerWidths:function(){var dr=this._getPaneScrollerArr();

for(var i=0;i<dr.length;i++){var dt=(i==(dr.length-1));
var du=dr[i].getTablePaneModel().getTotalWidth();
dr[i].setPaneWidth(du);
var ds=dt?1:0;
dr[i].setLayoutProperties({flex:ds});
}},_updateScrollBarVisibility:function(){if(!this.getBounds()){return;
}var dM=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;
var dP=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;
var dJ=this._getPaneScrollerArr();
var dL=false;
var dO=false;

for(var i=0;i<dJ.length;i++){var dQ=(i==(dJ.length-1));
var dK=dJ[i].getNeededScrollBars(dL,!dQ);

if(dK&dM){dL=true;
}
if(dQ&&(dK&dP)){dO=true;
}}for(var i=0;i<dJ.length;i++){var dQ=(i==(dJ.length-1));
var dN;
dJ[i].setHorizontalScrollBarVisible(dL);
if(dQ){dN=dJ[i].getVerticalScrollBarVisible();
}dJ[i].setVerticalScrollBarVisible(dQ&&dO);
if(dQ&&dO!=dN){this.fireDataEvent(bN,dO);
}}},_initColumnMenu:function(){var bb=this.getTableModel();
var bc=this.getTableColumnModel();
var bd=this.getChildControl(bF);
bd.empty();
var ba=bd.getMenu();
var be={table:this,menu:ba,columnButton:bd};
this.fireDataEvent(cN,be);
this.__qc={};

for(var bf=0,l=bb.getColumnCount();bf<l;bf++){var Y=bd.factory(co,{text:bb.getColumnName(bf),column:bf,bVisible:bc.isColumnVisible(bf)});
qx.core.Assert.assertInterface(Y,qx.ui.table.IColumnMenuItem);
Y.addListener(cg,this._createColumnVisibilityCheckBoxHandler(bf),this);
this.__qc[bf]=Y;
}var be={table:this,menu:ba,columnButton:bd};
this.fireDataEvent(cK,be);
},_createColumnVisibilityCheckBoxHandler:function(da){return function(eq){var er=this.getTableColumnModel();
er.setColumnVisible(da,eq.getData());
};
},setColumnWidth:function(W,X){this.getTableColumnModel().setColumnWidth(W,X);
},_onResize:function(){this.fireEvent(bQ);
this._updateScrollerWidths();
this._updateScrollBarVisibility();
},addListener:function(a,b,self,c){if(arguments.callee.self.__pX[a]){for(var i=0,d=this._getPaneScrollerArr();i<d.length;i++){d[i].addListener.apply(d[i],arguments);
}}else{return arguments.callee.base.call(this,a,b,self,c);
}},removeListener:function(C,D,self,E){if(arguments.callee.self.__pX[C]){for(var i=0,F=this._getPaneScrollerArr();i<F.length;i++){F[i].removeListener.apply(F[i],arguments);
}}else{arguments.callee.base.call(this,C,D,self,E);
}},destroy:function(){this.getChildControl(bF).getMenu().destroy();
arguments.callee.base.call(this);
}},destruct:function(){if(qx.core.Variant.isSet(by,cP)){qx.locale.Manager.getInstance().removeListener(bA,this._onChangeLocale,this);
}var dl=this.getSelectionModel();

if(dl){dl.dispose();
}var dk=this.getDataRowRenderer();

if(dk){dk.dispose();
}this._cleanUpMetaColumns(0);
this.getTableColumnModel().dispose();
this._disposeObjects(cp,cr,cT,cT,bM);
this._disposeMap(bO);
}});
})();
(function(){var e="qx.ui.table.IRowRenderer";
qx.Interface.define(e,{members:{updateDataRowElement:function(b,c){},getRowHeightStyle:function(a){},createRowStyle:function(f){},getRowClass:function(d){}}});
})();
(function(){var B="",A="table-row-background-even",z="table-row-background-selected",y="table-row",x="background-color:",w="table-row-background-focused",v=';border-bottom: 1px solid ',u=';color:',t="table-row-selected",s="table-row-background-odd",l="default",r="table-row-background-focused-selected",o="qx.ui.table.rowrenderer.Default",k="table-row-line",j="'",n="height:",m=";",p="px;",i="1px solid ",q="Boolean";
qx.Class.define(o,{extend:qx.core.Object,implement:qx.ui.table.IRowRenderer,construct:function(){arguments.callee.base.call(this);
this.__qf=B;
this.__qf={};
this.__qg={};
this._renderFont(qx.theme.manager.Font.getInstance().resolve(l));
var C=qx.theme.manager.Color.getInstance();
this.__qg.bgcolFocusedSelected=C.resolve(r);
this.__qg.bgcolFocused=C.resolve(w);
this.__qg.bgcolSelected=C.resolve(z);
this.__qg.bgcolEven=C.resolve(A);
this.__qg.bgcolOdd=C.resolve(s);
this.__qg.colSelected=C.resolve(t);
this.__qg.colNormal=C.resolve(y);
this.__qg.horLine=C.resolve(k);
},properties:{highlightFocusRow:{check:q,init:true}},members:{__qg:null,__qh:null,__qf:null,_insetY:1,_renderFont:function(b){if(b){this.__qh=b.getStyles();
this.__qf=qx.bom.element.Style.compile(this.__qh);
this.__qf=this.__qf.replace(/"/g,j);
}else{this.__qf=B;
this.__qh=qx.bom.Font.getDefaultStyles();
}},updateDataRowElement:function(c,d){var f=this.__qh;
var e=d.style;
qx.bom.element.Style.setStyles(d,f);

if(c.focusedRow&&this.getHighlightFocusRow()){e.backgroundColor=c.selected?this.__qg.bgcolFocusedSelected:this.__qg.bgcolFocused;
}else{if(c.selected){e.backgroundColor=this.__qg.bgcolSelected;
}else{e.backgroundColor=(c.row%2==0)?this.__qg.bgcolEven:this.__qg.bgcolOdd;
}}e.color=c.selected?this.__qg.colSelected:this.__qg.colNormal;
e.borderBottom=i+this.__qg.horLine;
},getRowHeightStyle:function(a){if(qx.bom.client.Feature.CONTENT_BOX){a-=this._insetY;
}return n+a+p;
},createRowStyle:function(g){var h=[];
h.push(m);
h.push(this.__qf);
h.push(x);

if(g.focusedRow&&this.getHighlightFocusRow()){h.push(g.selected?this.__qg.bgcolFocusedSelected:this.__qg.bgcolFocused);
}else{if(g.selected){h.push(this.__qg.bgcolSelected);
}else{h.push((g.row%2==0)?this.__qg.bgcolEven:this.__qg.bgcolOdd);
}}h.push(u);
h.push(g.selected?this.__qg.colSelected:this.__qg.colNormal);
h.push(v,this.__qg.horLine);
return h.join(B);
},getRowClass:function(D){return B;
}},destruct:function(){this.__qg=this.__qh=this.__qf=null;
}});
})();
(function(){var t="pressed",s="hovered",r="changeVisibility",q="qx.ui.menu.Menu",p="submenu",o="Enter",n="contextmenu",m="changeMenu",l="qx.ui.form.MenuButton",k="abandoned",j="_applyMenu";
qx.Class.define(l,{extend:qx.ui.form.Button,construct:function(c,d,f){arguments.callee.base.call(this,c,d);
if(f!=null){this.setMenu(f);
}},properties:{menu:{check:q,nullable:true,apply:j,event:m}},members:{_applyMenu:function(v,w){if(w){w.removeListener(r,this._onMenuChange,this);
w.resetOpener();
}
if(v){v.addListener(r,this._onMenuChange,this);
v.setOpener(this);
v.removeState(p);
v.removeState(n);
}},open:function(g){var h=this.getMenu();

if(h){qx.ui.menu.Manager.getInstance().hideAll();
h.setOpener(this);
h.open();
if(g){var i=h.getSelectables()[0];

if(i){h.setSelectedButton(i);
}}}},_onMenuChange:function(e){var a=this.getMenu();

if(a.isVisible()){this.addState(t);
}else{this.removeState(t);
}},_onMouseDown:function(e){var b=this.getMenu();

if(b){if(!b.isVisible()){this.open();
}else{b.exclude();
}e.stopPropagation();
}},_onMouseUp:function(e){arguments.callee.base.call(this,e);
e.stopPropagation();
},_onMouseOver:function(e){this.addState(s);
},_onMouseOut:function(e){this.removeState(s);
},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case o:this.removeState(k);
this.addState(t);
var u=this.getMenu();

if(u){if(!u.isVisible()){this.open();
}else{u.exclude();
}}e.stopPropagation();
}},_onKeyUp:function(e){}},destruct:function(){if(this.getMenu()){if(!qx.core.ObjectRegistry.inShutDown){this.getMenu().destroy();
}}}});
})();
(function(){var a="qx.ui.table.IColumnMenuButton";
qx.Interface.define(a,{properties:{menu:{}},members:{factory:function(b,c){return true;
},empty:function(){return true;
}}});
})();
(function(){var f="menu-button",e="table-column-reset-button",d="separator",c="user-button",b="qx.ui.table.columnmenu.Button",a="menu";
qx.Class.define(b,{extend:qx.ui.form.MenuButton,implement:qx.ui.table.IColumnMenuButton,construct:function(){arguments.callee.base.call(this);
},members:{__qi:null,factory:function(g,h){switch(g){case a:var j=new qx.ui.menu.Menu();
this.setMenu(j);
return j;
case f:var m=new qx.ui.table.columnmenu.MenuItem(h.text);
m.setVisible(h.bVisible);
this.getMenu().add(m);
return m;
case c:var k=new qx.ui.menu.Button(h.text);
k.set({appearance:e});
return k;
case d:return new qx.ui.menu.Separator();
default:throw new Error("Unrecognized factory request: "+g);
}},empty:function(){var n=this.getMenu();
var o=n.getChildren();

for(var i=0,l=o.length;i<l;i++){o[0].destroy();
}}}});
})();
(function(){var bb="keypress",ba="interval",Y="keydown",X="mousedown",W="keyup",V="__qk",U="blur",T="Enter",S="__ql",R="Up",L="Escape",Q="qx.ui.menu.Manager",O="Left",K="Down",J="Right",N="__qj",M="singleton",P="Space";
qx.Class.define(Q,{type:M,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__qj=[];
var k=document.body;
var l=qx.event.Registration;
l.addListener(window.document.documentElement,X,this._onMouseDown,this,true);
l.addListener(k,Y,this._onKeyUpDown,this,true);
l.addListener(k,W,this._onKeyUpDown,this,true);
l.addListener(k,bb,this._onKeyPress,this,true);
qx.bom.Element.addListener(window,U,this.hideAll,this);
this.__qk=new qx.event.Timer;
this.__qk.addListener(ba,this._onOpenInterval,this);
this.__ql=new qx.event.Timer;
this.__ql.addListener(ba,this._onCloseInterval,this);
},members:{__qm:null,__qn:null,__qk:null,__ql:null,__qj:null,_getChild:function(m,n,o,p){var q=m.getChildren();
var length=q.length;
var r;

for(var i=n;i<length&&i>=0;i+=o){r=q[i];

if(r.isEnabled()&&!r.isAnonymous()){return r;
}}
if(p){i=i==length?0:length-1;

for(;i!=n;i+=o){r=q[i];

if(r.isEnabled()&&!r.isAnonymous()){return r;
}}}return null;
},_isInMenu:function(by){while(by){if(by instanceof qx.ui.menu.Menu){return true;
}by=by.getLayoutParent();
}return false;
},_getMenuButton:function(bB){while(bB){if(bB instanceof qx.ui.menu.AbstractButton){return bB;
}bB=bB.getLayoutParent();
}return null;
},add:function(bz){{};
var bA=this.__qj;
bA.push(bz);
bz.setZIndex(1e6+bA.length);
},remove:function(s){{};
var t=this.__qj;

if(t){qx.lang.Array.remove(t,s);
}},hideAll:function(){var bx=this.__qj;

if(bx){for(var i=bx.length-1;i>=0;i--){bx[i].exclude();
}}},getActiveMenu:function(){var bC=this.__qj;
return bC.length>0?bC[bC.length-1]:null;
},scheduleOpen:function(bD){this.cancelClose(bD);
if(bD.isVisible()){if(this.__qm){this.cancelOpen(this.__qm);
}}else if(this.__qm!=bD){this.__qm=bD;
this.__qk.restartWith(bD.getOpenInterval());
}},scheduleClose:function(u){this.cancelOpen(u);
if(!u.isVisible()){if(this.__qn){this.cancelClose(this.__qn);
}}else if(this.__qn!=u){this.__qn=u;
this.__ql.restartWith(u.getCloseInterval());
}},cancelOpen:function(bh){if(this.__qm==bh){this.__qk.stop();
this.__qm=null;
}},cancelClose:function(bu){if(this.__qn==bu){this.__ql.stop();
this.__qn=null;
}},_onOpenInterval:function(e){this.__qk.stop();
this.__qm.open();
this.__qm=null;
},_onCloseInterval:function(e){this.__ql.stop();
this.__qn.exclude();
this.__qn=null;
},_onMouseDown:function(e){var bc=e.getTarget();
bc=qx.ui.core.Widget.getWidgetByElement(bc);
if(bc==null){this.hideAll();
return;
}if(bc.getMenu&&bc.getMenu()&&bc.getMenu().isVisible()){return;
}if(this.__qj.length>0&&!this._isInMenu(bc)){this.hideAll();
}},__qo:{"Enter":1,"Space":1},__qp:{"Escape":1,"Up":1,"Down":1,"Left":1,"Right":1},_onKeyUpDown:function(e){var bv=this.getActiveMenu();

if(!bv){return;
}var bw=e.getKeyIdentifier();

if(this.__qp[bw]||(this.__qo[bw]&&bv.getSelectedButton())){e.stopPropagation();
}},_onKeyPress:function(e){var d=this.getActiveMenu();

if(!d){return;
}var f=e.getKeyIdentifier();
var h=this.__qp[f];
var g=this.__qo[f];

if(h){switch(f){case R:this._onKeyPressUp(d);
break;
case K:this._onKeyPressDown(d);
break;
case O:this._onKeyPressLeft(d);
break;
case J:this._onKeyPressRight(d);
break;
case L:this.hideAll();
break;
}e.stopPropagation();
e.preventDefault();
}else if(g){var j=d.getSelectedButton();

if(j){switch(f){case T:this._onKeyPressEnter(d,j,e);
break;
case P:this._onKeyPressSpace(d,j,e);
break;
}e.stopPropagation();
e.preventDefault();
}}},_onKeyPressUp:function(E){var F=E.getSelectedButton();
var G=E.getChildren();
var I=F?E.indexOf(F)-1:G.length-1;
var H=this._getChild(E,I,-1,true);
if(H){E.setSelectedButton(H);
}else{E.resetSelectedButton();
}},_onKeyPressDown:function(bd){var be=bd.getSelectedButton();
var bg=be?bd.indexOf(be)+1:0;
var bf=this._getChild(bd,bg,1,true);
if(bf){bd.setSelectedButton(bf);
}else{bd.resetSelectedButton();
}},_onKeyPressLeft:function(bn){var bs=bn.getOpener();

if(!bs){return;
}if(bs instanceof qx.ui.menu.Button){var bp=bs.getLayoutParent();
bp.resetOpenedButton();
bp.setSelectedButton(bs);
}else if(bs instanceof qx.ui.menubar.Button){var br=bs.getMenuBar().getMenuButtons();
var bo=br.indexOf(bs);
if(bo===-1){return;
}var bt=null;
var length=br.length;

for(var i=1;i<=length;i++){var bq=br[(bo-i+length)%length];

if(bq.isEnabled()){bt=bq;
break;
}}
if(bt&&bt!=bs){bt.open(true);
}}},_onKeyPressRight:function(v){var x=v.getSelectedButton();
if(x){var w=x.getMenu();

if(w){v.setOpenedButton(x);
var D=this._getChild(w,0,1);

if(D){w.setSelectedButton(D);
}return;
}}else if(!v.getOpenedButton()){var D=this._getChild(v,0,1);

if(D){v.setSelectedButton(D);

if(D.getMenu()){v.setOpenedButton(D);
}return;
}}var B=v.getOpener();
if(B instanceof qx.ui.menu.Button&&x){while(B){B=B.getLayoutParent();

if(B instanceof qx.ui.menu.Menu){B=B.getOpener();

if(B instanceof qx.ui.menubar.Button){break;
}}else{break;
}}
if(!B){return;
}}if(B instanceof qx.ui.menubar.Button){var A=B.getMenuBar().getMenuButtons();
var y=A.indexOf(B);
if(y===-1){return;
}var C=null;
var length=A.length;

for(var i=1;i<=length;i++){var z=A[(y+i)%length];

if(z.isEnabled()){C=z;
break;
}}
if(C&&C!=B){C.open(true);
}}},_onKeyPressEnter:function(a,b,e){if(b.hasListener(bb)){var c=e.clone();
c.setBubbles(false);
c.setTarget(b);
b.dispatchEvent(c);
}this.hideAll();
},_onKeyPressSpace:function(bi,bj,e){if(bj.hasListener(bb)){var bk=e.clone();
bk.setBubbles(false);
bk.setTarget(bj);
bj.dispatchEvent(bk);
}}},destruct:function(){var bm=qx.event.Registration;
var bl=document.body;
bm.removeListener(window.document.documentElement,X,this._onMouseDown,this,true);
bm.removeListener(bl,Y,this._onKeyUpDown,this,true);
bm.removeListener(bl,W,this._onKeyUpDown,this,true);
bm.removeListener(bl,bb,this._onKeyPress,this,true);
this._disposeObjects(V,S);
this._disposeArray(N);
}});
})();
(function(){var p="slidebar",o="Integer",n="resize",m="qx.ui.core.Widget",l="selected",k="visible",j="Boolean",h="mouseout",g="excluded",f="menu",E="_applySelectedButton",D="_applySpacingY",C="_blocker",B="_applyCloseInterval",A="_applyBlockerColor",z="_applyIconColumnWidth",y="mouseover",x="_applyArrowColumnWidth",w="qx.ui.menu.Menu",v="Color",t="Number",u="_applyOpenInterval",r="_applySpacingX",s="_applyBlockerOpacity",q="_applyOpenedButton";
qx.Class.define(w,{extend:qx.ui.core.Widget,include:[qx.ui.core.MPlacement,qx.ui.core.MChildrenHandling],construct:function(){arguments.callee.base.call(this);
this._setLayout(new qx.ui.menu.Layout);
var H=this.getApplicationRoot();
H.add(this);
this.addListener(y,this._onMouseOver);
this.addListener(h,this._onMouseOut);
this.addListener(n,this._onResize,this);
H.addListener(n,this._onResize,this);
this._blocker=new qx.ui.core.Blocker(H);
this.initVisibility();
this.initKeepFocus();
this.initKeepActive();
},properties:{appearance:{refine:true,init:f},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},visibility:{refine:true,init:g},keepFocus:{refine:true,init:true},keepActive:{refine:true,init:true},spacingX:{check:o,apply:r,init:0,themeable:true},spacingY:{check:o,apply:D,init:0,themeable:true},iconColumnWidth:{check:o,init:0,themeable:true,apply:z},arrowColumnWidth:{check:o,init:0,themeable:true,apply:x},blockerColor:{check:v,init:null,nullable:true,apply:A,themeable:true},blockerOpacity:{check:t,init:1,apply:s,themeable:true},selectedButton:{check:m,nullable:true,apply:E},openedButton:{check:m,nullable:true,apply:q},opener:{check:m,nullable:true},openInterval:{check:o,themeable:true,init:250,apply:u},closeInterval:{check:o,themeable:true,init:250,apply:B},blockBackground:{check:j,themeable:true,init:false}},members:{__qq:null,__qr:null,_blocker:null,open:function(){if(this.getOpener()!=null){this.placeToWidget(this.getOpener());
this.__qt();
this.show();
this._placementTarget=this.getOpener();
}else{this.warn("The menu instance needs a configured 'opener' widget!");
}},openAtMouse:function(e){this.placeToMouse(e);
this.__qt();
this.show();
this._placementTarget={left:e.getDocumentLeft(),top:e.getDocumentTop()};
},openAtPoint:function(J){this.placeToPoint(J);
this.__qt();
this.show();
this._placementTarget=J;
},addSeparator:function(){this.add(new qx.ui.menu.Separator);
},getColumnSizes:function(){return this._getMenuLayout().getColumnSizes();
},getSelectables:function(){var bc=[];
var bd=this.getChildren();

for(var i=0;i<bd.length;i++){if(bd[i].isEnabled()){bc.push(bd[i]);
}}return bc;
},_applyIconColumnWidth:function(a,b){this._getMenuLayout().setIconColumnWidth(a);
},_applyArrowColumnWidth:function(F,G){this._getMenuLayout().setArrowColumnWidth(F);
},_applySpacingX:function(be,bf){this._getMenuLayout().setColumnSpacing(be);
},_applySpacingY:function(c,d){this._getMenuLayout().setSpacing(c);
},_applyVisibility:function(bo,bp){arguments.callee.base.call(this,bo,bp);
var bq=qx.ui.menu.Manager.getInstance();

if(bo===k){bq.add(this);
var br=this.getParentMenu();

if(br){br.setOpenedButton(this.getOpener());
}}else if(bp===k){bq.remove(this);
var br=this.getParentMenu();

if(br&&br.getOpenedButton()==this.getOpener()){br.resetOpenedButton();
}this.resetOpenedButton();
this.resetSelectedButton();
}this.__qs();
},__qs:function(){if(this.isVisible()){if(this.getBlockBackground()){var bn=this.getZIndex();
this._blocker.blockContent(bn-1);
}}else{if(this._blocker.isContentBlocked()){this._blocker.unblockContent();
}}},getParentMenu:function(){var I=this.getOpener();

if(!I||!(I instanceof qx.ui.menu.AbstractButton)){return null;
}
while(I&&!(I instanceof qx.ui.menu.Menu)){I=I.getLayoutParent();
}return I;
},_applySelectedButton:function(L,M){if(M){M.removeState(l);
}
if(L){L.addState(l);
}},_applyOpenedButton:function(N,O){if(O){O.getMenu().exclude();
}
if(N){N.getMenu().open();
}},_applyBlockerColor:function(ba,bb){this._blocker.setColor(ba);
},_applyBlockerOpacity:function(bl,bm){this._blocker.setOpacity(bl);
},_createChildControlImpl:function(U){var V;

switch(U){case p:var V=new qx.ui.menu.MenuSlideBar();
var X=this._getLayout();
this._setLayout(new qx.ui.layout.Grow());
var W=V.getLayout();
V.setLayout(X);
W.dispose();
var Y=qx.lang.Array.clone(this.getChildren());

for(var i=0;i<Y.length;i++){V.add(Y[i]);
}this.removeListener(n,this._onResize,this);
V.getChildrenContainer().addListener(n,this._onResize,this);
this.add(V);
break;
}return V||arguments.callee.base.call(this,U);
},_getMenuLayout:function(){if(this.hasChildControl(p)){return this.getChildControl(p).getChildrenContainer().getLayout();
}else{return this._getLayout();
}},_getMenuBounds:function(){if(this.hasChildControl(p)){return this.getChildControl(p).getChildrenContainer().getBounds();
}else{return this.getBounds();
}},_computePlacementSize:function(){return this._getMenuBounds();
},__qt:function(){var bj=this._getMenuBounds();

if(!bj){this.addListenerOnce(n,this.__qt,this);
return;
}var bi=this.getLayoutParent().getBounds().height;
var top=this.getLayoutProperties().top;
var bk=this.getLayoutProperties().left;
if(top<0){this._assertSlideBar(function(){this.setHeight(bj.height+top);
this.moveTo(bk,0);
});
}else if(top+bj.height>bi){this._assertSlideBar(function(){this.setHeight(bi-top);
});
}else{this.setHeight(null);
}},_assertSlideBar:function(K){if(this.hasChildControl(p)){return K.call(this);
}this.__qr=K;
qx.ui.core.queue.Widget.add(this);
},syncWidget:function(){this.getChildControl(p);

if(this.__qr){this.__qr.call(this);
delete this.__qr;
}},_onResize:function(){if(this.isVisible()){var P=this._placementTarget;

if(!P){return;
}else if(P instanceof qx.ui.core.Widget){this.placeToWidget(P);
}else if(P.top!==undefined){this.placeToPoint(P);
}else{throw new Error("Unknown target: "+P);
}this.__qt();
}},_onMouseOver:function(e){var R=qx.ui.menu.Manager.getInstance();
R.cancelClose(this);
var S=e.getTarget();

if(S.isEnabled()&&S instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(S);
var Q=S.getMenu&&S.getMenu();

if(Q){Q.setOpener(S);
R.scheduleOpen(Q);
this.__qq=Q;
}else{var T=this.getOpenedButton();

if(T){R.scheduleClose(T.getMenu());
}
if(this.__qq){R.cancelOpen(this.__qq);
this.__qq=null;
}}}else if(!this.getOpenedButton()){this.resetSelectedButton();
}},_onMouseOut:function(e){var bg=qx.ui.menu.Manager.getInstance();
if(!qx.ui.core.Widget.contains(this,e.getRelatedTarget())){var bh=this.getOpenedButton();
bh?this.setSelectedButton(bh):this.resetSelectedButton();
if(bh){bg.cancelClose(bh.getMenu());
}if(this.__qq){bg.cancelOpen(this.__qq);
}}}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){qx.ui.menu.Manager.getInstance().remove(this);
}this.getApplicationRoot().removeListener(n,this._onResize,this);
this._placementTarget=null;
this._disposeObjects(C);
}});
})();
(function(){var q="Integer",p="_applyLayoutChange",o="qx.ui.menu.Layout";
qx.Class.define(o,{extend:qx.ui.layout.VBox,properties:{columnSpacing:{check:q,init:0,apply:p},spanColumn:{check:q,init:1,nullable:true,apply:p},iconColumnWidth:{check:q,init:0,themeable:true,apply:p},arrowColumnWidth:{check:q,init:0,themeable:true,apply:p}},members:{__qu:null,_computeSizeHint:function(){var n=this._getLayoutChildren();
var k,d,f;
var b=this.getSpanColumn();
var e=this.__qu=[0,0,0,0];
var h=this.getColumnSpacing();
var g=0;
var c=0;
for(var i=0,l=n.length;i<l;i++){k=n[i];

if(k.isAnonymous()){continue;
}d=k.getChildrenSizes();

for(var j=0;j<d.length;j++){if(b!=null&&j==b&&d[b+1]==0){g=Math.max(g,d[j]);
}else{e[j]=Math.max(e[j],d[j]);
}}var a=n[i].getInsets();
c=Math.max(c,a.left+a.right);
}if(b!=null&&e[b]+h+e[b+1]<g){e[b]=g-e[b+1]-h;
}if(g==0){f=h*2;
}else{f=h*3;
}if(e[0]==0){e[0]=this.getIconColumnWidth();
}if(e[3]==0){e[3]=this.getArrowColumnWidth();
}var m=arguments.callee.base.call(this).height;
return {minHeight:m,height:m,width:qx.lang.Array.sum(e)+c+f};
},getColumnSizes:function(){return this.__qu||null;
}},destruct:function(){this.__qu=null;
}});
})();
(function(){var b="menu-separator",a="qx.ui.menu.Separator";
qx.Class.define(a,{extend:qx.ui.core.Widget,properties:{appearance:{refine:true,init:b},anonymous:{refine:true,init:true}}});
})();
(function(){var B="icon",A="label",z="arrow",y="shortcut",x="changeLocale",w="qx.dynlocale",v="submenu",u="on",t="String",s="qx.ui.menu.Menu",m="qx.ui.menu.AbstractButton",r="keypress",p="",l="_applyIcon",k="mouseup",o="abstract",n="_applyLabel",q="_applyMenu",j="changeCommand";
qx.Class.define(m,{extend:qx.ui.core.Widget,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],type:o,construct:function(){arguments.callee.base.call(this);
this._setLayout(new qx.ui.menu.ButtonLayout);
this.addListener(k,this._onMouseUp);
this.addListener(r,this._onKeyPress);
this.addListener(j,this._onChangeCommand,this);
},properties:{blockToolTip:{refine:true,init:true},label:{check:t,apply:n,nullable:true},menu:{check:s,apply:q,nullable:true},icon:{check:t,apply:l,themeable:true,nullable:true}},members:{_createChildControlImpl:function(C){var D;

switch(C){case B:D=new qx.ui.basic.Image;
D.setAnonymous(true);
this._add(D,{column:0});
break;
case A:D=new qx.ui.basic.Label;
D.setAnonymous(true);
this._add(D,{column:1});
break;
case y:D=new qx.ui.basic.Label;
D.setAnonymous(true);
this._add(D,{column:2});
break;
case z:D=new qx.ui.basic.Image;
D.setAnonymous(true);
this._add(D,{column:3});
break;
}return D||arguments.callee.base.call(this,C);
},_forwardStates:{selected:1},getChildrenSizes:function(){var E=0,F=0,G=0,K=0;

if(this._isChildControlVisible(B)){var L=this.getChildControl(B);
E=L.getMarginLeft()+L.getSizeHint().width+L.getMarginRight();
}
if(this._isChildControlVisible(A)){var I=this.getChildControl(A);
F=I.getMarginLeft()+I.getSizeHint().width+I.getMarginRight();
}
if(this._isChildControlVisible(y)){var H=this.getChildControl(y);
G=H.getMarginLeft()+H.getSizeHint().width+H.getMarginRight();
}
if(this._isChildControlVisible(z)){var J=this.getChildControl(z);
K=J.getMarginLeft()+J.getSizeHint().width+J.getMarginRight();
}return [E,F,G,K];
},_onMouseUp:function(e){},_onKeyPress:function(e){},_onChangeCommand:function(e){var i=e.getData();

if(qx.core.Variant.isSet(w,u)){var g=e.getOldData();

if(!g){qx.locale.Manager.getInstance().addListener(x,this._onChangeLocale,this);
}
if(!i){qx.locale.Manager.getInstance().removeListener(x,this._onChangeLocale,this);
}}var h=i!=null?i.toString():p;
this.getChildControl(y).setValue(h);
},_onChangeLocale:qx.core.Variant.select(w,{"on":function(e){var a=this.getCommand();

if(a!=null){this.getChildControl(y).setValue(a.toString());
}},"off":null}),_applyIcon:function(b,c){if(b){this._showChildControl(B).setSource(b);
}else{this._excludeChildControl(B);
}},_applyLabel:function(d,f){if(d){this._showChildControl(A).setValue(d);
}else{this._excludeChildControl(A);
}},_applyMenu:function(M,N){if(N){N.resetOpener();
N.removeState(v);
}
if(M){this._showChildControl(z);
M.setOpener(this);
M.addState(v);
}else{this._excludeChildControl(z);
}}},destruct:function(){if(this.getMenu()){if(!qx.core.ObjectRegistry.inShutDown){this.getMenu().destroy();
}}
if(qx.core.Variant.isSet(w,u)){qx.locale.Manager.getInstance().removeListener(x,this._onChangeLocale,this);
}}});
})();
(function(){var g="middle",f="qx.ui.menu.ButtonLayout",e="left";
qx.Class.define(f,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(h,j){var u=this._getLayoutChildren();
var t;
var m;
var n=[];

for(var i=0,l=u.length;i<l;i++){t=u[i];
m=t.getLayoutProperties().column;
n[m]=t;
}var s=this.__qv(u[0]);
var v=s.getColumnSizes();
var p=s.getSpacingX();
var o=qx.lang.Array.sum(v)+p*(v.length-1);

if(o<h){v[1]+=h-o;
}var w=0,top=0;
var q=qx.ui.layout.Util;

for(var i=0,l=v.length;i<l;i++){t=n[i];

if(t){var k=t.getSizeHint();
var top=q.computeVerticalAlignOffset(t.getAlignY()||g,k.height,j,0,0);
var r=q.computeHorizontalAlignOffset(t.getAlignX()||e,k.width,v[i],t.getMarginLeft(),t.getMarginRight());
t.renderLayout(w+r,top,k.width,k.height);
}w+=v[i]+p;
}},__qv:function(x){while(!(x instanceof qx.ui.menu.Menu)){x=x.getLayoutParent();
}return x;
},_computeSizeHint:function(){var c=this._getLayoutChildren();
var b=0;
var d=0;

for(var i=0,l=c.length;i<l;i++){var a=c[i].getSizeHint();
d+=a.width;
b=Math.max(b,a.height);
}return {width:d,height:b};
}}});
})();
(function(){var f="execute",e="button-backward",d="vertical",c="button-forward",b="menu-slidebar",a="qx.ui.menu.MenuSlideBar";
qx.Class.define(a,{extend:qx.ui.container.SlideBar,construct:function(){arguments.callee.base.call(this,d);
},properties:{appearance:{refine:true,init:b}},members:{_createChildControlImpl:function(g){var h;

switch(g){case c:h=new qx.ui.form.HoverButton();
h.addListener(f,this._onExecuteForward,this);
this._addAt(h,2);
break;
case e:h=new qx.ui.form.HoverButton();
h.addListener(f,this._onExecuteBackward,this);
this._addAt(h,0);
break;
}return h||arguments.callee.base.call(this,g);
}}});
})();
(function(){var i="Integer",h="hovered",g="hover-button",f="interval",d="mouseover",c="mouseout",b="__qw",a="qx.ui.form.HoverButton";
qx.Class.define(a,{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(j,k){arguments.callee.base.call(this,j,k);
this.addListener(d,this._onMouseOver,this);
this.addListener(c,this._onMouseOut,this);
this.__qw=new qx.event.AcceleratingTimer();
this.__qw.addListener(f,this._onInterval,this);
},properties:{appearance:{refine:true,init:g},interval:{check:i,init:80},firstInterval:{check:i,init:200},minTimer:{check:i,init:20},timerDecrease:{check:i,init:2}},members:{__qw:null,_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}this.__qw.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();
this.addState(h);
},_onMouseOut:function(e){this.__qw.stop();
this.removeState(h);

if(!this.isEnabled()||e.getTarget()!==this){return;
}},_onInterval:function(){if(this.isEnabled()){this.execute();
}else{this.__qw.stop();
}}},destruct:function(){this._disposeObjects(b);
}});
})();
(function(){var g="qx.ui.menu.Button",f="menu-button";
qx.Class.define(g,{extend:qx.ui.menu.AbstractButton,construct:function(a,b,c,d){arguments.callee.base.call(this);
if(a!=null){this.setLabel(a);
}
if(b!=null){this.setIcon(b);
}
if(c!=null){this.setCommand(c);
}
if(d!=null){this.setMenu(d);
}},properties:{appearance:{refine:true,init:f}},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 i="pressed",h="hovered",g="inherit",f="qx.ui.menubar.Button",d="keydown",c="menubar-button",b="keyup";
qx.Class.define(f,{extend:qx.ui.form.MenuButton,construct:function(k,l,m){arguments.callee.base.call(this,k,l,m);
this.removeListener(d,this._onKeyDown);
this.removeListener(b,this._onKeyUp);
},properties:{appearance:{refine:true,init:c},show:{refine:true,init:g},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(j){arguments.callee.base.call(this,j);
var menubar=this.getMenuBar();
menubar._setAllowMenuOpenHover(true);
},_onMenuChange:function(e){var a=this.getMenu();
var menubar=this.getMenuBar();

if(a.isVisible()){this.addState(i);
if(menubar){menubar.setOpenMenu(a);
}}else{this.removeState(i);
if(menubar&&menubar.getOpenMenu()==a){menubar.resetOpenMenu();
menubar._setAllowMenuOpenHover(false);
}}},_onMouseUp:function(e){arguments.callee.base.call(this,e);
var n=this.getMenu();

if(n&&n.isVisible()&&!this.hasState(i)){this.addState(i);
}},_onMouseOver:function(e){this.addState(h);
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 k="both",j="qx.ui.menu.Menu",h="_applySpacing",g="icon",f="label",e="changeShow",d="Integer",c="qx.ui.toolbar.ToolBar",b="toolbar",a="changeOpenMenu";
qx.Class.define(c,{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:b},openMenu:{check:j,event:a,nullable:true},show:{init:k,check:[k,f,g],inheritable:true,event:e},spacing:{nullable:true,check:d,themeable:true,apply:h}},members:{__qx:false,_setAllowMenuOpenHover:function(m){this.__qx=m;
},_isAllowMenuOpenHover:function(){return this.__qx;
},_applySpacing:function(o,p){var q=this._getLayout();
o==null?q.resetSpacing():q.setSpacing(o);
},addSpacer:function(){var n=new qx.ui.core.Spacer;
this._add(n,{flex:1});
return n;
},addSeparator:function(){this.add(new qx.ui.toolbar.Separator);
},getMenuButtons:function(){var s=this.getChildren();
var r=[];
var t;

for(var i=0,l=s.length;i<l;i++){t=s[i];

if(t instanceof qx.ui.menubar.Button){r.push(t);
}else if(t instanceof qx.ui.toolbar.Part){r.push.apply(r,t.getMenuButtons());
}}return r;
}}});
})();
(function(){var a="qx.ui.core.Spacer";
qx.Class.define(a,{extend:qx.ui.core.LayoutItem,construct:function(b,c){arguments.callee.base.call(this);
this.setWidth(b!=null?b:0);
this.setHeight(c!=null?c:0);
},members:{checkAppearanceNeeds:function(){},addChildrenToQueue:function(d){},destroy:function(){if(this.$$disposed){return;
}var parent=this.$$parent;

if(parent){parent._remove(this);
}qx.ui.core.queue.Dispose.add(this);
}}});
})();
(function(){var b="toolbar-separator",a="qx.ui.toolbar.Separator";
qx.Class.define(a,{extend:qx.ui.core.Widget,properties:{appearance:{refine:true,init:b},anonymous:{refine:true,init:true},width:{refine:true,init:0},height:{refine:true,init:0}}});
})();
(function(){var p="container",o="handle",n="both",m="Integer",k="middle",j="qx.ui.toolbar.Part",h="icon",g="label",f="changeShow",e="_applySpacing",d="toolbar/part";
qx.Class.define(j,{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(o);
},properties:{appearance:{refine:true,init:d},show:{init:n,check:[n,g,h],inheritable:true,event:f},spacing:{nullable:true,check:m,themeable:true,apply:e}},members:{_createChildControlImpl:function(q){var r;

switch(q){case o:r=new qx.ui.basic.Image();
r.setAlignY(k);
this._add(r);
break;
case p:r=new qx.ui.toolbar.PartContainer;
this._add(r);
break;
}return r||arguments.callee.base.call(this,q);
},getChildrenContainer:function(){return this.getChildControl(p);
},_applySpacing:function(s,t){var u=this.getChildControl(p).getLayout();
s==null?u.resetSpacing():u.setSpacing(s);
},addSeparator:function(){this.add(new qx.ui.toolbar.Separator);
},getMenuButtons:function(){var b=this.getChildren();
var a=[];
var c;

for(var i=0,l=b.length;i<l;i++){c=b[i];

if(c instanceof qx.ui.menubar.Button){a.push(c);
}}return a;
}}});
})();
(function(){var f="both",e="toolbar/part/container",d="icon",c="changeShow",b="qx.ui.toolbar.PartContainer",a="label";
qx.Class.define(b,{extend:qx.ui.container.Composite,construct:function(){arguments.callee.base.call(this);
this._setLayout(new qx.ui.layout.HBox);
},properties:{appearance:{refine:true,init:e},show:{init:f,check:[f,a,d],inheritable:true,event:c}}});
})();
(function(){var h="checked",g="menu-checkbox",f="Boolean",d="_applyValue",c="changeValue",b="qx.ui.menu.CheckBox",a="execute";
qx.Class.define(b,{extend:qx.ui.menu.AbstractButton,implement:[qx.ui.form.IBooleanForm],construct:function(k,l){arguments.callee.base.call(this);
if(k!=null){if(k.translate){this.setLabel(k.translate());
}else{this.setLabel(k);
}}
if(l!=null){this.setMenu(l);
}this.addListener(a,this._onExecute,this);
},properties:{appearance:{refine:true,init:g},value:{check:f,init:false,apply:d,event:c,nullable:true}},members:{_applyValue:function(i,j){i?this.addState(h):this.removeState(h);
},_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 b="qx.ui.table.IColumnMenuItem",a="qx.event.type.Data";
qx.Interface.define(b,{properties:{visible:{}},events:{changeVisible:a}});
})();
(function(){var f="changeVisible",d="qx.ui.table.columnmenu.MenuItem",c="_applyVisible",b="Boolean",a="changeValue";
qx.Class.define(d,{extend:qx.ui.menu.CheckBox,implement:qx.ui.table.IColumnMenuItem,properties:{visible:{check:b,init:true,apply:c,event:f}},construct:function(g){arguments.callee.base.call(this,g);
this.addListener(a,function(e){this.bInListener=true;
this.setVisible(e.getData());
this.bInListener=false;
});
},members:{__qy:false,_applyVisible:function(h,i){if(!this.bInListener){this.setValue(h);
}}}});
})();
(function(){var k="qx.ui.table.selection.Model",j="qx.ui.table.selection.Manager";
qx.Class.define(j,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
},properties:{selectionModel:{check:k}},members:{__qz:null,handleMouseDown:function(r,s){if(s.isLeftPressed()){var t=this.getSelectionModel();

if(!t.isSelectedIndex(r)){this._handleSelectEvent(r,s);
this.__qz=true;
}else{this.__qz=false;
}}else if(s.isRightPressed()&&s.getModifiers()==0){var t=this.getSelectionModel();

if(!t.isSelectedIndex(r)){t.setSelectionInterval(r,r);
}}},handleMouseUp:function(l,m){if(m.isLeftPressed()&&!this.__qz){this._handleSelectEvent(l,m);
}},handleClick:function(c,d){},handleSelectKeyDown:function(a,b){this._handleSelectEvent(a,b);
},handleMoveKeyDown:function(n,o){var q=this.getSelectionModel();

switch(o.getModifiers()){case 0:q.setSelectionInterval(n,n);
break;
case qx.event.type.Dom.SHIFT_MASK:var p=q.getAnchorSelectionIndex();

if(p==-1){q.setSelectionInterval(n,n);
}else{q.setSelectionInterval(p,n);
}break;
}},_handleSelectEvent:function(e,f){var i=this.getSelectionModel();
var g=i.getLeadSelectionIndex();
var h=i.getAnchorSelectionIndex();

if(f.isShiftPressed()){if(e!=g||i.isSelectionEmpty()){if(h==-1){h=e;
}
if(f.isCtrlOrCommandPressed()){i.addSelectionInterval(h,e);
}else{i.setSelectionInterval(h,e);
}}}else if(f.isCtrlOrCommandPressed()){if(i.isSelectedIndex(e)){i.removeSelectionInterval(e,e);
}else{i.addSelectionInterval(e,e);
}}else{i.setSelectionInterval(e,e);
}}}});
})();
(function(){var J="..",I="changeSelection",H="Use 'resetSelection' instead",G=" [",F="]",E="qx.event.type.Event",D="Ranges:",C="qx.ui.table.selection.Model",B="_applySelectionMode",A="Use '_resetSelection' instead.";
qx.Class.define(C,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__qA=[];
this.__qB=-1;
this.__qC=-1;
this.hasBatchModeRefCount=0;
this.__qD=false;
},events:{"changeSelection":E},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:B}},members:{__qD:null,__qB:null,__qC:null,__qA:null,_applySelectionMode:function(R){this.resetSelection();
},setBatchMode:function(a){if(a){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.__qD){this.__qD=false;
this._fireChangeSelection();
}}return this.hasBatchMode();
},hasBatchMode:function(){return this.hasBatchModeRefCount>0;
},getAnchorSelectionIndex:function(){return this.__qB;
},_setAnchorSelectionIndex:function(Q){this.__qB=Q;
},getLeadSelectionIndex:function(){return this.__qC;
},_setLeadSelectionIndex:function(N){this.__qC=N;
},_getSelectedRangeArr:function(){return this.__qA;
},resetSelection:function(){if(!this.isSelectionEmpty()){this._resetSelection();
this._fireChangeSelection();
}},clearSelection:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,H);
this.resetSelection();
},isSelectionEmpty:function(){return this.__qA.length==0;
},getSelectedCount:function(){var z=0;

for(var i=0;i<this.__qA.length;i++){var y=this.__qA[i];
z+=y.maxIndex-y.minIndex+1;
}return z;
},isSelectedIndex:function(T){for(var i=0;i<this.__qA.length;i++){var U=this.__qA[i];

if(T>=U.minIndex&&T<=U.maxIndex){return true;
}}return false;
},getSelectedRanges:function(){var S=[];

for(var i=0;i<this.__qA.length;i++){S.push({minIndex:this.__qA[i].minIndex,maxIndex:this.__qA[i].maxIndex});
}return S;
},iterateSelection:function(O,P){for(var i=0;i<this.__qA.length;i++){for(var j=this.__qA[i].minIndex;j<=this.__qA[i].maxIndex;j++){O.call(P,j);
}}},setSelectionInterval:function(v,w){var x=arguments.callee.self;

switch(this.getSelectionMode()){case x.NO_SELECTION:return;
case x.SINGLE_SELECTION:if(this.isSelectedIndex(w)){return;
}v=w;
break;
case x.MULTIPLE_INTERVAL_SELECTION_TOGGLE:this.setBatchMode(true);

try{for(var i=v;i<=w;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(v,w);
this._fireChangeSelection();
},addSelectionInterval:function(K,L){var M=qx.ui.table.selection.Model;

switch(this.getSelectionMode()){case M.NO_SELECTION:return;
case M.MULTIPLE_INTERVAL_SELECTION:case M.MULTIPLE_INTERVAL_SELECTION_TOGGLE:this._addSelectionInterval(K,L);
this._fireChangeSelection();
break;
default:this.setSelectionInterval(K,L);
break;
}},removeSelectionInterval:function(b,c){this.__qB=b;
this.__qC=c;
var d=Math.min(b,c);
var g=Math.max(b,c);
for(var i=0;i<this.__qA.length;i++){var k=this.__qA[i];

if(k.minIndex>g){break;
}else if(k.maxIndex>=d){var l=(k.minIndex>=d)&&(k.minIndex<=g);
var h=(k.maxIndex>=d)&&(k.maxIndex<=g);

if(l&&h){this.__qA.splice(i,1);
i--;
}else if(l){k.minIndex=g+1;
}else if(h){k.maxIndex=d-1;
}else{var f={minIndex:g+1,maxIndex:k.maxIndex};
this.__qA.splice(i+1,0,f);
k.maxIndex=d-1;
break;
}}}this._fireChangeSelection();
},_resetSelection:function(){this.__qA=[];
this.__qB=-1;
this.__qC=-1;
},_clearSelection:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,A);
this._resetSelection();
},_addSelectionInterval:function(m,n){this.__qB=m;
this.__qC=n;
var o=Math.min(m,n);
var q=Math.max(m,n);
var p=0;

for(;p<this.__qA.length;p++){var r=this.__qA[p];

if(r.minIndex>o){break;
}}this.__qA.splice(p,0,{minIndex:o,maxIndex:q});
var s=this.__qA[0];

for(var i=1;i<this.__qA.length;i++){var r=this.__qA[i];

if(s.maxIndex+1>=r.minIndex){s.maxIndex=Math.max(s.maxIndex,r.maxIndex);
this.__qA.splice(i,1);
i--;
}else{s=r;
}}},_dumpRanges:function(){var t=D;

for(var i=0;i<this.__qA.length;i++){var u=this.__qA[i];
t+=G+u.minIndex+J+u.maxIndex+F;
}this.debug(t);
},_fireChangeSelection:function(){if(this.hasBatchMode()){this.__qD=true;
}else{this.fireEvent(I);
}}},destruct:function(){this.__qA=null;
}});
})();
(function(){var a="qx.ui.table.IHeaderRenderer";
qx.Interface.define(a,{members:{createHeaderCell:function(d){return true;
},updateHeaderCell:function(b,c){return true;
}}});
})();
(function(){var b="qx.ui.table.headerrenderer.Default",a="String";
qx.Class.define(b,{extend:qx.core.Object,implement:qx.ui.table.IHeaderRenderer,statics:{STATE_SORTED:"sorted",STATE_SORTED_ASCENDING:"sortedAscending"},properties:{toolTip:{check:a,init:null,nullable:true}},members:{createHeaderCell:function(c){var d=new qx.ui.table.headerrenderer.HeaderCell();
this.updateHeaderCell(c,d);
return d;
},updateHeaderCell:function(e,f){var g=qx.ui.table.headerrenderer.Default;
if(e.name&&e.name.translate){f.setLabel(e.name.translate());
}else{f.setLabel(e.name);
}var h=f.getToolTip();

if(this.getToolTip()!=null){if(h==null){h=new qx.ui.tooltip.ToolTip(this.getToolTip());
f.setToolTip(h);
qx.util.DisposeUtil.disposeTriggeredBy(h,f);
}else{h.setLabel(this.getToolTip());
}}e.sorted?f.addState(g.STATE_SORTED):f.removeState(g.STATE_SORTED);
e.sortedAscending?f.addState(g.STATE_SORTED_ASCENDING):f.removeState(g.STATE_SORTED_ASCENDING);
}}});
})();
(function(){var a="qx.ui.table.ICellRenderer";
qx.Interface.define(a,{members:{createDataCellHtml:function(b,c){return true;
}}});
})();
(function(){var p="",o="px;",n=".qooxdoo-table-cell {",m="qooxdoo-table-cell",l='" ',k="nowrap",j="default",i="qx.client",h="}",g="width:",M=".qooxdoo-table-cell-right { text-align:right } ",L="0px 6px",K='<div class="',J="0px",I="height:",H="1px solid ",G=".qooxdoo-table-cell-bold { font-weight:bold } ",F="table-row-line",E='>',D="mshtml",w='</div>',x="ellipsis",u="content-box",v='left:',s="qx.ui.table.cellrenderer.Abstract",t='" style="',q="abstract",r="none",y="hidden",z="} ",B='px;',A=".qooxdoo-table-cell-italic { font-style:italic} ",C="absolute";
qx.Class.define(s,{type:q,implement:qx.ui.table.ICellRenderer,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
var b=qx.ui.table.cellrenderer.Abstract;

if(!b.__qE){var d=qx.theme.manager.Color.getInstance();
b.__qE=arguments.callee.self;
var c=n+
qx.bom.element.Style.compile({position:C,top:J,overflow:y,whiteSpace:k,borderRight:H+d.resolve(F),padding:L,cursor:j,textOverflow:x,userSelect:r})+z+M+A+G;

if(!qx.core.Variant.isSet(i,D)){c+=n+qx.bom.element.BoxSizing.compile(u)+h;
}b.__qE.stylesheet=qx.bom.Stylesheet.createElement(c);
}},members:{_insetX:6+6+1,_insetY:0,_getCellClass:function(O){return m;
},_getCellStyle:function(N){return N.style||p;
},_getCellAttributes:function(a){return p;
},_getContentHtml:function(P){return P.value||p;
},_getCellSizeStyle:function(Q,R,S,T){var U=p;

if(qx.bom.client.Feature.CONTENT_BOX){Q-=S;
R-=T;
}U+=g+Math.max(Q,0)+o;
U+=I+Math.max(R,0)+o;
return U;
},createDataCellHtml:function(e,f){f.push(K,this._getCellClass(e),t,v,e.styleLeft,B,this._getCellSizeStyle(e.styleWidth,e.styleHeight,this._insetX,this._insetY),this._getCellStyle(e),l,this._getCellAttributes(e),E+this._getContentHtml(e),w);
}}});
})();
(function(){var h="",g="number",f="Boolean",e="qx.ui.table.cellrenderer.Default",d=" qooxdoo-table-cell-bold",c=" qooxdoo-table-cell-right",b=" qooxdoo-table-cell-italic",a="string";
qx.Class.define(e,{extend:qx.ui.table.cellrenderer.Abstract,statics:{STYLEFLAG_ALIGN_RIGHT:1,STYLEFLAG_BOLD:2,STYLEFLAG_ITALIC:4},properties:{useAutoAlign:{check:f,init:true}},members:{_getStyleFlags:function(m){if(this.getUseAutoAlign()){if(typeof m.value==g){return qx.ui.table.cellrenderer.Default.STYLEFLAG_ALIGN_RIGHT;
}}},_getCellClass:function(n){var o=arguments.callee.base.call(this,n);

if(!o){return h;
}var p=this._getStyleFlags(n);

if(p&qx.ui.table.cellrenderer.Default.STYLEFLAG_ALIGN_RIGHT){o+=c;
}
if(p&qx.ui.table.cellrenderer.Default.STYLEFLAG_BOLD){o+=d;
}
if(p&qx.ui.table.cellrenderer.Default.STYLEFLAG_ITALIC){o+=b;
}return o;
},_getContentHtml:function(i){return qx.bom.String.escape(this._formatValue(i));
},_formatValue:function(j){var l=j.value;

if(l==null){return h;
}
if(typeof l==a){return l;
}else if(typeof l==g){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 k=qx.ui.table.cellrenderer.Default._numberFormat.format(l);
}else if(l instanceof Date){k=qx.util.format.DateFormat.getDateInstance().format(l);
}else{k=l;
}return k;
}}});
})();
(function(){var a="qx.ui.table.ICellEditorFactory";
qx.Interface.define(a,{members:{createCellEditor:function(b){return true;
},getCellEditorValue:function(c){return true;
}}});
})();
(function(){var h="",g="Function",f="abstract",e="number",d="appear",c="qx.ui.table.celleditor.AbstractField";
qx.Class.define(c,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,type:f,properties:{validationFunction:{check:g,nullable:true,init:null}},members:{_createEditor:function(){throw new Error("Abstract method call!");
},createCellEditor:function(a){var b=this._createEditor();
b.originalValue=a.value;

if(a.value===null||a.value===undefined){a.value=h;
}b.setValue(h+a.value);
b.addListener(d,function(){b.selectAllText();
});
return b;
},getCellEditorValue:function(i){var k=i.getValue();
var j=this.getValidationFunction();

if(j){k=j(k,i.originalValue);
}
if(typeof i.originalValue==e){k=parseFloat(k);
}return k;
}}});
})();
(function(){var b="qx.ui.table.celleditor.TextField",a="table-editor-textfield";
qx.Class.define(b,{extend:qx.ui.table.celleditor.AbstractField,members:{_createEditor:function(){var c=new qx.ui.form.TextField();
c.setAppearance(a);
return c;
}}});
})();
(function(){var y="qx.event.type.Data",w="visibilityChanged",v="orderChanged",u="visibilityChangedPre",t="__qK",s="__qL",r="widthChanged",q="qx.ui.table.columnmodel.Basic",p="__qM";
qx.Class.define(q,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__qF=[];
this.__qG=[];
},events:{"widthChanged":y,"visibilityChangedPre":y,"visibilityChanged":y,"orderChanged":y},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:{__qH:null,__qI:null,__qG:null,__qF:null,__qJ:null,__qK:null,__qL:null,__qM:null,init:function(S){{};
this.__qJ=[];
var V=qx.ui.table.columnmodel.Basic.DEFAULT_WIDTH;
var W=this.__qK||(this.__qK=new qx.ui.table.columnmodel.Basic.DEFAULT_HEADER_RENDERER());
var U=this.__qL||(this.__qL=new qx.ui.table.columnmodel.Basic.DEFAULT_DATA_RENDERER());
var T=this.__qM||(this.__qM=new qx.ui.table.columnmodel.Basic.DEFAULT_EDITOR_FACTORY());
this.__qF=[];
this.__qG=[];

for(var Y=0;Y<S;Y++){this.__qJ[Y]={width:V,headerRenderer:W,dataRenderer:U,editorFactory:T};
this.__qF[Y]=Y;
this.__qG[Y]=Y;
}this.__qI=null;

for(var Y=0;Y<S;Y++){var X={col:Y,visible:true};
this.fireDataEvent(u,X);
this.fireDataEvent(w,X);
}},getVisibleColumns:function(){return this.__qG!=null?this.__qG:[];
},setColumnWidth:function(F,G){{};
var I=this.__qJ[F].width;

if(I!=G){this.__qJ[F].width=G;
var H={col:F,newWidth:G,oldWidth:I};
this.fireDataEvent(r,H);
}},getColumnWidth:function(z){{};
return this.__qJ[z].width;
},setHeaderCellRenderer:function(bg,bh){{};
var bi=this.__qJ[bg].headerRenderer;

if(bi!==this.__qK){bi.dispose();
}this.__qJ[bg].headerRenderer=bh;
},getHeaderCellRenderer:function(A){{};
return this.__qJ[A].headerRenderer;
},setDataCellRenderer:function(bb,bc){{};
var bd=this.__qJ[bb].headerRenderer;

if(bd!==this.__qL){bd.dispose();
}this.__qJ[bb].dataRenderer=bc;
},getDataCellRenderer:function(be){{};
return this.__qJ[be].dataRenderer;
},setCellEditorFactory:function(J,K){{};
var L=this.__qJ[J].headerRenderer;

if(L!==this.__qM){L.dispose();
}this.__qJ[J].editorFactory=K;
},getCellEditorFactory:function(ba){{};
return this.__qJ[ba].editorFactory;
},_getColToXPosMap:function(){if(this.__qI==null){this.__qI={};

for(var o=0;o<this.__qF.length;o++){var n=this.__qF[o];
this.__qI[n]={overX:o};
}
for(var m=0;m<this.__qG.length;m++){var n=this.__qG[m];
this.__qI[n].visX=m;
}}return this.__qI;
},getVisibleColumnCount:function(){return this.__qG!=null?this.__qG.length:0;
},getVisibleColumnAtX:function(bj){{};
return this.__qG[bj];
},getVisibleX:function(l){{};
return this._getColToXPosMap()[l].visX;
},getOverallColumnCount:function(){return this.__qF.length;
},getOverallColumnAtX:function(M){{};
return this.__qF[M];
},getOverallX:function(k){{};
return this._getColToXPosMap()[k].overX;
},isColumnVisible:function(bf){{};
return (this._getColToXPosMap()[bf].visX!=null);
},setColumnVisible:function(a,b){{};

if(b!=this.isColumnVisible(a)){if(b){var h=this._getColToXPosMap();
var e=h[a].overX;

if(e==null){throw new Error("Showing column failed: "+a+". The column is not added to this TablePaneModel.");
}var f;

for(var x=e+1;x<this.__qF.length;x++){var g=this.__qF[x];
var c=h[g].visX;

if(c!=null){f=c;
break;
}}if(f==null){f=this.__qG.length;
}this.__qG.splice(f,0,a);
}else{var d=this.getVisibleX(a);
this.__qG.splice(d,1);
}this.__qI=null;
if(!this.__qH){var j={col:a,visible:b};
this.fireDataEvent(u,j);
this.fireDataEvent(w,j);
}}},moveColumn:function(N,O){{};
this.__qH=true;
var R=this.__qF[N];
var P=this.isColumnVisible(R);

if(P){this.setColumnVisible(R,false);
}this.__qF.splice(N,1);
this.__qF.splice(O,0,R);
this.__qI=null;

if(P){this.setColumnVisible(R,true);
}this.__qH=false;
var Q={col:R,fromOverXPos:N,toOverXPos:O};
this.fireDataEvent(v,Q);
},setColumnsOrder:function(B){{};

if(B.length==this.__qF.length){this.__qH=true;
var E=new Array(B.length);

for(var C=0;C<this.__qF.length;C++){var D=this.isColumnVisible(C);
E[C]=D;

if(D){this.setColumnVisible(C,false);
}}this.__qF=qx.lang.Array.clone(B);
this.__qI=null;
for(var C=0;C<this.__qF.length;C++){if(E[C]){this.setColumnVisible(C,true);
}}this.__qH=false;
this.fireEvent(v);
}else{throw new Error("setColumnsOrder: Invalid number of column positions given, expected "+this.__qF.length+", got "+B.length);
}}},destruct:function(){for(var i=0;i<this.__qJ.length;i++){this.__qJ[i].headerRenderer.dispose();
this.__qJ[i].dataRenderer.dispose();
this.__qJ[i].editorFactory.dispose();
}this.__qF=this.__qG=this.__qJ=this.__qI=null;
this._disposeObjects(t,s,p);
}});
})();
(function(){var m="icon",l="label",k="String",j="sort-icon",i="_applySortIcon",h="_applyIcon",g="table-header-cell",f="qx.ui.table.headerrenderer.HeaderCell",e="_applyLabel";
qx.Class.define(f,{extend:qx.ui.container.Composite,construct:function(){arguments.callee.base.call(this);
var p=new qx.ui.layout.Grid();
p.setRowFlex(0,1);
p.setColumnFlex(1,1);
p.setColumnFlex(2,1);
this.setLayout(p);
},properties:{appearance:{refine:true,init:g},label:{check:k,init:null,nullable:true,apply:e},sortIcon:{check:k,init:null,nullable:true,apply:i,themeable:true},icon:{check:k,init:null,nullable:true,apply:h}},members:{_applyLabel:function(n,o){if(n){this._showChildControl(l).setValue(n);
}else{this._excludeChildControl(l);
}},_applySortIcon:function(q,r){if(q){this._showChildControl(j).setSource(q);
}else{this._excludeChildControl(j);
}},_applyIcon:function(c,d){if(c){this._showChildControl(m).setSource(c);
}else{this._excludeChildControl(m);
}},_createChildControlImpl:function(a){var b;

switch(a){case l:b=new qx.ui.basic.Label(this.getLabel()).set({anonymous:true,allowShrinkX:true});
this._add(b,{row:0,column:1});
break;
case j:b=new qx.ui.basic.Image(this.getSortIcon());
b.setAnonymous(true);
this._add(b,{row:0,column:2});
break;
case m:b=new qx.ui.basic.Image(this.getIcon()).set({anonymous:true,allowShrinkX:true});
this._add(b,{row:0,column:0});
break;
}return b||arguments.callee.base.call(this,a);
}}});
})();
(function(){var j="\n",i="",h=" &nbsp;",g="<br>",f=" ",e="qx.bom.String";
qx.Class.define(e,{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(a){return qx.util.StringEscape.escape(a,qx.bom.String.FROM_CHARCODE);
},unescape:function(p){return qx.util.StringEscape.unescape(p,qx.bom.String.TO_CHARCODE);
},fromText:function(b){return qx.bom.String.escape(b).replace(/(  |\n)/g,function(c){var d={"  ":h,"\n":g};
return d[c]||c;
});
},toText:function(n){return qx.bom.String.unescape(n.replace(/\s+|<([^>])+>/gi,function(o){if(/\s+/.test(o)){return f;
}else if(/^<BR|^<br/gi.test(o)){return j;
}else{return i;
}}));
}},defer:function(k,l,m){k.FROM_CHARCODE=qx.lang.Object.invert(k.TO_CHARCODE);
}});
})();
(function(){var g=";",f="&",e='X',d="",c='#',b="&#",a="qx.util.StringEscape";
qx.Bootstrap.define(a,{statics:{escape:function(o,p){var r,t=d;

for(var i=0,l=o.length;i<l;i++){var s=o.charAt(i);
var q=s.charCodeAt(0);

if(p[q]){r=f+p[q]+g;
}else{if(q>0x7F){r=b+q+g;
}else{r=s;
}}t+=r;
}return t;
},unescape:function(m,n){return m.replace(/&[#\w]+;/gi,function(h){var j=h;
var h=h.substring(1,h.length-1);
var k=n[h];

if(k){j=String.fromCharCode(k);
}else{if(h.charAt(0)==c){if(h.charAt(1).toUpperCase()==e){k=h.substring(2);
if(k.match(/^[0-9A-Fa-f]+$/gi)){j=String.fromCharCode(parseInt(k,16));
}}else{k=h.substring(1);
if(k.match(/^\d+$/gi)){j=String.fromCharCode(parseInt(k,10));
}}}}return j;
});
}}});
})();
(function(){var a="qx.util.format.IFormat";
qx.Interface.define(a,{members:{format:function(c){},parse:function(b){}}});
})();
(function(){var G="",F="Number",E="-",D="0",C="String",B="changeNumberFormat",A='(',z="g",y="Boolean",x="$",q="NaN",w='([0-9]{1,3}(?:',t='{0,1}[0-9]{3}){0,})',p='\\d+){0,1}',o="qx.util.format.NumberFormat",s="Infinity",r="^",u=".",n="-Infinity",v='([-+]){0,1}';
qx.Class.define(o,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(H){arguments.callee.base.call(this);
this.__qN=H;
},statics:{getIntegerInstance:function(){var m=qx.util.format.NumberFormat;

if(m._integerInstance==null){m._integerInstance=new m();
m._integerInstance.setMaximumFractionDigits(0);
}return m._integerInstance;
},getInstance:function(){if(!this._instance){this._instance=new this;
}return this._instance;
}},properties:{minimumIntegerDigits:{check:F,init:0},maximumIntegerDigits:{check:F,nullable:true},minimumFractionDigits:{check:F,init:0},maximumFractionDigits:{check:F,nullable:true},groupingUsed:{check:y,init:true},prefix:{check:C,init:G,event:B},postfix:{check:C,init:G,event:B}},members:{__qN:null,format:function(a){switch(a){case Infinity:return s;
case -Infinity:return n;
case NaN:return q;
}var e=(a<0);

if(e){a=-a;
}
if(this.getMaximumFractionDigits()!=null){var l=Math.pow(10,this.getMaximumFractionDigits());
a=Math.round(a*l)/l;
}var k=String(Math.floor(a)).length;
var b=G+a;
var h=b.substring(0,k);

while(h.length<this.getMinimumIntegerDigits()){h=D+h;
}
if(this.getMaximumIntegerDigits()!=null&&h.length>this.getMaximumIntegerDigits()){h=h.substring(h.length-this.getMaximumIntegerDigits());
}var g=b.substring(k+1);

while(g.length<this.getMinimumFractionDigits()){g+=D;
}
if(this.getMaximumFractionDigits()!=null&&g.length>this.getMaximumFractionDigits()){g=g.substring(0,this.getMaximumFractionDigits());
}if(this.getGroupingUsed()){var d=h;
h=G;
var j;

for(j=d.length;j>3;j-=3){h=G+qx.locale.Number.getGroupSeparator(this.__qN)+d.substring(j-3,j)+h;
}h=d.substring(0,j)+h;
}var f=this.getPrefix()?this.getPrefix():G;
var c=this.getPostfix()?this.getPostfix():G;
var i=f+(e?E:G)+h;

if(g.length>0){i+=G+qx.locale.Number.getDecimalSeparator(this.__qN)+g;
}i+=c;
return i;
},parse:function(I){var N=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this.__qN)+G);
var L=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this.__qN)+G);
var J=new RegExp(r+qx.lang.String.escapeRegexpChars(this.getPrefix())+v+w+N+t+A+L+p+qx.lang.String.escapeRegexpChars(this.getPostfix())+x);
var M=J.exec(I);

if(M==null){throw new Error("Number string '"+I+"' does not match the number format");
}var O=(M[1]==E);
var Q=M[2];
var P=M[3];
Q=Q.replace(new RegExp(N,z),G);
var K=(O?E:G)+Q;

if(P!=null&&P.length!=0){P=P.replace(new RegExp(L),G);
K+=u+P;
}return parseFloat(K);
}}});
})();
(function(){var d="cldr_number_decimal_separator",c="cldr_number_percent_format",b="qx.locale.Number",a="cldr_number_group_separator";
qx.Class.define(b,{statics:{getDecimalSeparator:function(g){return qx.locale.Manager.getInstance().localize(d,[],g);
},getGroupSeparator:function(f){return qx.locale.Manager.getInstance().localize(a,[],f);
},getPercentFormat:function(e){return qx.locale.Manager.getInstance().localize(c,[],e);
}}});
})();
(function(){var bD="(\\d\\d?)",bC="format",bB="",bA="abbreviated",bz="wide",by="(",bx=")",bw="|",bv="stand-alone",bu="wildcard",bj="default",bi="literal",bh="'",bg="hour",bf="(\\d\\d?\\d?)",be="ms",bd="narrow",bc="-",bb="quoted_literal",ba='a',bK="HH:mm:ss",bL="+",bI="HHmmss",bJ="long",bG='z',bH="0",bE="sec",bF="day",bM='Z',bN=" ",bn="min",bm="mm",bp="(\\d+)",bo="h",br="KK",bq='L',bt="Z",bs="(\\d\\d+)",bl="EEEE",bk="^",a=":",b='y',c="K",d="a",e="([\\+\\-]\\d\\d:?\\d\\d)",f="GMT",g="dd",h="qx.util.format.DateFormat",j="yyy",k="H",bR="YYYY",bQ="y",bP="HH",bO="EE",bV='h',bU="S",bT='s',bS='A',bX="yyyyyy",bW="kk",J="ss",K='H',H='S',I="MMMM",N='c',O="d",L="([a-zA-Z]+)",M='k',F="m",G='Y',s='D',r="yyyyy",u='K',t="hh",o="SSS",n="MM",q="yy",p="(\\d\\d\\d\\d\\d\\d+)",m="yyyy-MM-dd HH:mm:ss",l="(\\d\\d\\d\\d\\d+)",T="short",U='d',V="unkown",W='m',P="(\\d\\d\\d\\d)",Q="(\\d\\d\\d+)",R="k",S='M',X="(\\d\\d\\d\\d+)",Y="SS",C="MMM",B="s",A="M",z='w',y="EEE",x="$",w="?",v='E',E="z",D="yyyy";
qx.Class.define(h,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(cU,cV){arguments.callee.base.call(this);

if(!cV){this.__qO=qx.locale.Manager.getInstance().getLocale();
}else{this.__qO=cV;
}
if(cU!=null){this.__qP=cU.toString();
}else{this.__qP=qx.locale.Date.getDateFormat(bJ,this.__qO)+bN+qx.locale.Date.getDateTimeFormat(bI,bK,this.__qO);
}},statics:{getDateTimeInstance:function(){var cx=qx.util.format.DateFormat;
var cw=qx.locale.Date.getDateFormat(bJ)+bN+qx.locale.Date.getDateTimeFormat(bI,bK);

if(cx._dateInstance==null||cx._dateInstance.__qP!=cw){cx._dateTimeInstance=new cx();
}return cx._dateTimeInstance;
},getDateInstance:function(){var cX=qx.util.format.DateFormat;
var cW=qx.locale.Date.getDateFormat(T)+bB;

if(cX._dateInstance==null||cX._dateInstance.__qP!=cW){cX._dateInstance=new cX(cW);
}return cX._dateInstance;
},ASSUME_YEAR_2000_THRESHOLD:30,LOGGING_DATE_TIME__format:m,AM_MARKER:"am",PM_MARKER:"pm",MEDIUM_TIMEZONE_NAMES:["GMT"],FULL_TIMEZONE_NAMES:["Greenwich Mean Time"]},members:{__qO:null,__qP:null,__qQ:null,__qR:null,__qS:null,__qT:function(ea,eb){var ec=bB+ea;

while(ec.length<eb){ec=bH+ec;
}return ec;
},__qU:function(dg){var dh=new Date(dg.getTime());
var di=dh.getDate();

while(dh.getMonth()!=0){dh.setDate(-1);
di+=dh.getDate()+1;
}return di;
},__qV:function(dY){return new Date(dY.getTime()+(3-((dY.getDay()+6)%7))*86400000);
},__qW:function(cO){var cQ=this.__qV(cO);
var cR=cQ.getFullYear();
var cP=this.__qV(new Date(cR,0,4));
return Math.floor(1.5+(cQ.getTime()-cP.getTime())/86400000/7);
},format:function(dl){if(dl==null){return null;
}var ds=qx.util.format.DateFormat;
var dt=this.__qO;
var dD=dl.getFullYear();
var dx=dl.getMonth();
var dF=dl.getDate();
var dm=dl.getDay();
var dy=dl.getHours();
var du=dl.getMinutes();
var dz=dl.getSeconds();
var dB=dl.getMilliseconds();
var dE=dl.getTimezoneOffset();
var dq=dE>0?1:-1;
var dn=Math.floor(Math.abs(dE)/60);
var dv=Math.abs(dE)%60;
this.__qX();
var dC=bB;

for(var i=0;i<this.__qS.length;i++){var dA=this.__qS[i];

if(dA.type==bi){dC+=dA.text;
}else{var dr=dA.character;
var dw=dA.size;
var dp=w;

switch(dr){case b:case G:if(dw==2){dp=this.__qT(dD%100,2);
}else{dp=dD+bB;

if(dw>dp.length){for(var i=dp.length;i<dw;i++){dp=bH+dp;
}}}break;
case s:dp=this.__qT(this.__qU(dl),dw);
break;
case U:dp=this.__qT(dF,dw);
break;
case z:dp=this.__qT(this.__qW(dl),dw);
break;
case v:if(dw==2){dp=qx.locale.Date.getDayName(bd,dm,dt,bC);
}else if(dw==3){dp=qx.locale.Date.getDayName(bA,dm,dt,bC);
}else if(dw==4){dp=qx.locale.Date.getDayName(bz,dm,dt,bC);
}break;
case N:if(dw==2){dp=qx.locale.Date.getDayName(bd,dm,dt,bv);
}else if(dw==3){dp=qx.locale.Date.getDayName(bA,dm,dt,bv);
}else if(dw==4){dp=qx.locale.Date.getDayName(bz,dm,dt,bv);
}break;
case S:if(dw==1||dw==2){dp=this.__qT(dx+1,dw);
}else if(dw==3){dp=qx.locale.Date.getMonthName(bA,dx,dt,bC);
}else if(dw==4){dp=qx.locale.Date.getMonthName(bz,dx,dt,bC);
}break;
case bq:if(dw==1||dw==2){dp=this.__qT(dx+1,dw);
}else if(dw==3){dp=qx.locale.Date.getMonthName(bA,dx,dt,bv);
}else if(dw==4){dp=qx.locale.Date.getMonthName(bz,dx,dt,bv);
}break;
case ba:dp=(dy<12)?qx.locale.Date.getAmMarker(dt):qx.locale.Date.getPmMarker(dt);
break;
case K:dp=this.__qT(dy,dw);
break;
case M:dp=this.__qT((dy==0)?24:dy,dw);
break;
case u:dp=this.__qT(dy%12,dw);
break;
case bV:dp=this.__qT(((dy%12)==0)?12:(dy%12),dw);
break;
case W:dp=this.__qT(du,dw);
break;
case bT:dp=this.__qT(dz,dw);
break;
case H:dp=this.__qT(dB,dw);
break;
case bG:if(dw==1){dp=f+((dq>0)?bc:bL)+this.__qT(Math.abs(dn))+a+this.__qT(dv,2);
}else if(dw==2){dp=ds.MEDIUM_TIMEZONE_NAMES[dn];
}else if(dw==3){dp=ds.FULL_TIMEZONE_NAMES[dn];
}break;
case bM:dp=((dq>0)?bc:bL)+this.__qT(Math.abs(dn),2)+this.__qT(dv,2);
break;
}dC+=dp;
}}return dC;
},parse:function(cY){this.__qY();
var df=this.__qQ.regex.exec(cY);

if(df==null){throw new Error("Date string '"+cY+"' does not match the date format: "+this.__qP);
}var da={year:1970,month:0,day:1,hour:0,ispm:false,min:0,sec:0,ms:0};
var db=1;

for(var i=0;i<this.__qQ.usedRules.length;i++){var dd=this.__qQ.usedRules[i];
var dc=df[db];

if(dd.field!=null){da[dd.field]=parseInt(dc,10);
}else{dd.manipulator(da,dc);
}db+=(dd.groups==null)?1:dd.groups;
}var de=new Date(da.year,da.month,da.day,(da.ispm)?(da.hour+12):da.hour,da.min,da.sec,da.ms);

if(da.month!=de.getMonth()||da.year!=de.getFullYear()){throw new Error("Error parsing date '"+cY+"': the value for day or month is too large");
}return de;
},__qX:function(){if(this.__qS!=null){return;
}this.__qS=[];
var dS;
var dQ=0;
var dU=bB;
var dO=this.__qP;
var dR=bj;
var i=0;

while(i<dO.length){var dT=dO.charAt(i);

switch(dR){case bb:if(dT==bh){if(i+1>=dO.length){i++;
break;
}var dP=dO.charAt(i+1);

if(dP==bh){dU+=dT;
i++;
}else{i++;
dR=V;
}}else{dU+=dT;
i++;
}break;
case bu:if(dT==dS){dQ++;
i++;
}else{this.__qS.push({type:bu,character:dS,size:dQ});
dS=null;
dQ=0;
dR=bj;
}break;
default:if((dT>=ba&&dT<=bG)||(dT>=bS&&dT<=bM)){dS=dT;
dR=bu;
}else if(dT==bh){if(i+1>=dO.length){dU+=dT;
i++;
break;
}var dP=dO.charAt(i+1);

if(dP==bh){dU+=dT;
i++;
}i++;
dR=bb;
}else{dR=bj;
}
if(dR!=bj){if(dU.length>0){this.__qS.push({type:bi,text:dU});
dU=bB;
}}else{dU+=dT;
i++;
}break;
}}if(dS!=null){this.__qS.push({type:bu,character:dS,size:dQ});
}else if(dU.length>0){this.__qS.push({type:bi,text:dU});
}},__qY:function(){if(this.__qQ!=null){return ;
}var cD=this.__qP;
this.__ra();
this.__qX();
var cJ=[];
var cF=bk;

for(var cB=0;cB<this.__qS.length;cB++){var cK=this.__qS[cB];

if(cK.type==bi){cF+=qx.lang.String.escapeRegexpChars(cK.text);
}else{var cC=cK.character;
var cG=cK.size;
var cE;

for(var cL=0;cL<this.__qR.length;cL++){var cH=this.__qR[cL];

if(cC==cH.pattern.charAt(0)&&cG==cH.pattern.length){cE=cH;
break;
}}if(cE==null){var cI=bB;

for(var i=0;i<cG;i++){cI+=cC;
}throw new Error("Malformed date format: "+cD+". Wildcard "+cI+" is not supported");
}else{cJ.push(cE);
cF+=cE.regex;
}}}cF+=x;
var cA;

try{cA=new RegExp(cF);
}catch(dX){throw new Error("Malformed date format: "+cD);
}this.__qQ={regex:cA,"usedRules":cJ,pattern:cF};
},__ra:function(){var cg=qx.util.format.DateFormat;
var cm=qx.lang.String;

if(this.__qR!=null){return ;
}var ch=this.__qR=[];
var ct=function(dM,dN){dN=parseInt(dN,10);

if(dN<cg.ASSUME_YEAR_2000_THRESHOLD){dN+=2000;
}else if(dN<100){dN+=1900;
}dM.year=dN;
};
var cn=function(dG,dH){dG.month=parseInt(dH,10)-1;
};
var ck=function(dK,dL){dK.ispm=(dL==cg.PM_MARKER);
};
var cj=function(bY,ca){bY.hour=parseInt(ca,10)%24;
};
var ci=function(cy,cz){cy.hour=parseInt(cz,10)%12;
};
var cq=function(dj,dk){return;
};
var co=qx.locale.Date.getMonthNames(bA,this.__qO,bC);

for(var i=0;i<co.length;i++){co[i]=cm.escapeRegexpChars(co[i].toString());
}var cp=function(dV,dW){dW=cm.escapeRegexpChars(dW);
dV.month=co.indexOf(dW);
};
var cd=qx.locale.Date.getMonthNames(bz,this.__qO,bC);

for(var i=0;i<cd.length;i++){cd[i]=cm.escapeRegexpChars(cd[i].toString());
}var cc=function(cu,cv){cv=cm.escapeRegexpChars(cv);
cu.month=cd.indexOf(cv);
};
var cf=qx.locale.Date.getDayNames(bd,this.__qO,bC);

for(var i=0;i<cf.length;i++){cf[i]=cm.escapeRegexpChars(cf[i].toString());
}var cb=function(cM,cN){cN=cm.escapeRegexpChars(cN);
cM.month=cf.indexOf(cN);
};
var cr=qx.locale.Date.getDayNames(bA,this.__qO,bC);

for(var i=0;i<cr.length;i++){cr[i]=cm.escapeRegexpChars(cr[i].toString());
}var cl=function(dI,dJ){dJ=cm.escapeRegexpChars(dJ);
dI.month=cr.indexOf(dJ);
};
var cs=qx.locale.Date.getDayNames(bz,this.__qO,bC);

for(var i=0;i<cs.length;i++){cs[i]=cm.escapeRegexpChars(cs[i].toString());
}var ce=function(cS,cT){cT=cm.escapeRegexpChars(cT);
cS.month=cs.indexOf(cT);
};
ch.push({pattern:bR,regex:P,manipulator:ct});
ch.push({pattern:bQ,regex:bp,manipulator:ct});
ch.push({pattern:q,regex:bs,manipulator:ct});
ch.push({pattern:j,regex:Q,manipulator:ct});
ch.push({pattern:D,regex:X,manipulator:ct});
ch.push({pattern:r,regex:l,manipulator:ct});
ch.push({pattern:bX,regex:p,manipulator:ct});
ch.push({pattern:A,regex:bD,manipulator:cn});
ch.push({pattern:n,regex:bD,manipulator:cn});
ch.push({pattern:C,regex:by+co.join(bw)+bx,manipulator:cp});
ch.push({pattern:I,regex:by+cd.join(bw)+bx,manipulator:cc});
ch.push({pattern:g,regex:bD,field:bF});
ch.push({pattern:O,regex:bD,field:bF});
ch.push({pattern:bO,regex:by+cf.join(bw)+bx,manipulator:cb});
ch.push({pattern:y,regex:by+cr.join(bw)+bx,manipulator:cl});
ch.push({pattern:bl,regex:by+cs.join(bw)+bx,manipulator:ce});
ch.push({pattern:d,regex:by+cg.AM_MARKER+bw+cg.PM_MARKER+bx,manipulator:ck});
ch.push({pattern:bP,regex:bD,field:bg});
ch.push({pattern:k,regex:bD,field:bg});
ch.push({pattern:bW,regex:bD,manipulator:cj});
ch.push({pattern:R,regex:bD,manipulator:cj});
ch.push({pattern:br,regex:bD,field:bg});
ch.push({pattern:c,regex:bD,field:bg});
ch.push({pattern:t,regex:bD,manipulator:ci});
ch.push({pattern:bo,regex:bD,manipulator:ci});
ch.push({pattern:bm,regex:bD,field:bn});
ch.push({pattern:F,regex:bD,field:bn});
ch.push({pattern:J,regex:bD,field:bE});
ch.push({pattern:B,regex:bD,field:bE});
ch.push({pattern:o,regex:bf,field:be});
ch.push({pattern:Y,regex:bf,field:be});
ch.push({pattern:bU,regex:bf,field:be});
ch.push({pattern:bt,regex:e,manipulator:cq});
ch.push({pattern:E,regex:L,manipulator:cq});
}},destruct:function(){this.__qS=this.__qQ=this.__qR=null;
}});
})();
(function(){var t="_",s="format",r="thu",q="sat",p="cldr_day_",o="cldr_month_",n="wed",m="fri",l="tue",k="mon",K="sun",J="short",I="HH:mm",H="HHmmsszz",G="HHmm",F="HHmmss",E="cldr_date_format_",D="HH:mm:ss zz",C="full",B="cldr_pm",z="long",A="medium",x="cldr_am",y="qx.locale.Date",v="cldr_date_time_format_",w="cldr_time_format_",u="HH:mm:ss";
qx.Class.define(y,{statics:{__rb:qx.locale.Manager.getInstance(),getAmMarker:function(d){return this.__rb.localize(x,[],d);
},getPmMarker:function(X){return this.__rb.localize(B,[],X);
},getDayNames:function(length,bt,bu){var bu=bu?bu:s;
{};
var bw=[K,k,l,n,r,m,q];
var bx=[];

for(var i=0;i<bw.length;i++){var bv=p+bu+t+length+t+bw[i];
bx.push(this.__rb.localize(bv,[],bt));
}return bx;
},getDayName:function(length,bk,bl,bm){var bm=bm?bm:s;
{};
var bo=[K,k,l,n,r,m,q];
var bn=p+bm+t+length+t+bo[bk];
return this.__rb.localize(bn,[],bl);
},getMonthNames:function(length,bg,bh){var bh=bh?bh:s;
{};
var bj=[];

for(var i=0;i<12;i++){var bi=o+bh+t+length+t+(i+1);
bj.push(this.__rb.localize(bi,[],bg));
}return bj;
},getMonthName:function(length,R,S,T){var T=T?T:s;
{};
var U=o+T+t+length+t+(R+1);
return this.__rb.localize(U,[],S);
},getDateFormat:function(L,M){{};
var N=E+L;
return this.__rb.localize(N,[],M);
},getDateTimeFormat:function(e,f,g){var j=v+e;
var h=this.__rb.localize(j,[],g);

if(h==j){h=f;
}return h;
},getTimeFormat:function(bc,bd){{};
var bf=w+bc;
var be=this.__rb.localize(bf,[],bd);

if(be!=bf){return be;
}
switch(bc){case J:case A:return qx.locale.Date.getDateTimeFormat(G,I);
case z:return qx.locale.Date.getDateTimeFormat(F,u);
case C:return qx.locale.Date.getDateTimeFormat(H,D);
default:throw new Error("This case should never happen.");
}},getWeekStart:function(O){var P={"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 Q=qx.locale.Date._getTerritory(O);
return P[Q]!=null?P[Q]:1;
},getWeekendStart:function(a){var c={"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 b=qx.locale.Date._getTerritory(a);
return c[b]!=null?c[b]:6;
},getWeekendEnd:function(Y){var ba={"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 bb=qx.locale.Date._getTerritory(Y);
return ba[bb]!=null?ba[bb]:0;
},isWeekend:function(bp,bq){var bs=qx.locale.Date.getWeekendStart(bq);
var br=qx.locale.Date.getWeekendEnd(bq);

if(br>bs){return ((bp>=bs)&&(bp<=br));
}else{return ((bp>=bs)||(bp<=br));
}},_getTerritory:function(V){if(V){var W=V.split(t)[1]||V;
}else{W=this.__rb.getTerritory()||this.__rb.getLanguage();
}return W.toUpperCase();
}}});
})();
(function(){var bc="",bb="Number",ba='</div>',Y='" ',X="paneUpdated",W='<div>',V="</div>",U="overflow: hidden;",T="qx.event.type.Data",S="paneReloadsData",bu="div",bt='style="',bs="_applyMaxCacheLines",br="qx.ui.table.pane.Pane",bq="width: 100%;",bp="qx.event.type.Event",bo="_applyVisibleRowCount",bn='>',bm="line-height: ",bl="appear",bj='class="',bk="width:100%;",bh="px;",bi='<div ',bf="'>",bg="_applyFirstVisibleRow",bd="<div style='",be=";position:relative;";
qx.Class.define(br,{extend:qx.ui.core.Widget,construct:function(ck){arguments.callee.base.call(this);
this.__rc=ck;
this.__rd=0;
this.__re=0;
this.__rf=[];
},events:{"paneReloadsData":T,"paneUpdated":bp},properties:{firstVisibleRow:{check:bb,init:0,apply:bg},visibleRowCount:{check:bb,init:0,apply:bo},maxCacheLines:{check:bb,init:1000,apply:bs},allowShrinkX:{refine:true,init:false}},members:{__re:null,__rd:null,__rc:null,__rg:null,__rh:null,__ri:null,__rf:null,__rj:0,_applyFirstVisibleRow:function(ci,cj){this.updateContent(false,ci-cj);
},_applyVisibleRowCount:function(cx,cy){this.updateContent(true);
},_getContentHint:function(){return {width:this.getPaneScroller().getTablePaneModel().getTotalWidth(),height:400};
},getPaneScroller:function(){return this.__rc;
},getTable:function(){return this.__rc.getTable();
},setFocusedCell:function(bM,bN,bO){if(bM!=this.__ri||bN!=this.__rh){var bP=this.__rh;
this.__ri=bM;
this.__rh=bN;
if(bN!=bP&&!bO){if(bP!==null){this.updateContent(false,null,bP,true);
}
if(bN!==null){this.updateContent(false,null,bN,true);
}}}},onSelectionChanged:function(){this.updateContent(false,null,null,true);
},onFocusChanged:function(){this.updateContent(false,null,null,true);
},setColumnWidth:function(bQ,bR){this.updateContent(true);
},onColOrderChanged:function(){this.updateContent(true);
},onPaneModelChanged:function(){this.updateContent(true);
},onTableModelDataChanged:function(bv,bw,bx,by){this.__rk();
var bA=this.getFirstVisibleRow();
var bz=this.getVisibleRowCount();

if(bw==-1||bw>=bA&&bv<bA+bz){this.updateContent();
}},onTableModelMetaDataChanged:function(){this.updateContent(true);
},_applyMaxCacheLines:function(cg,ch){if(this.__rj>=cg&&cg!==-1){this.__rk();
}},__rk:function(){this.__rf=[];
this.__rj=0;
},__rl:function(F,G,H){if(!G&&!H&&this.__rf[F]){return this.__rf[F];
}else{return null;
}},__rm:function(N,O,P,Q){var R=this.getMaxCacheLines();

if(!P&&!Q&&!this.__rf[N]&&R>0){this._applyMaxCacheLines(R);
this.__rf[N]=O;
this.__rj+=1;
}},updateContent:function(I,J,K,L){if(I){this.__rk();
}if(J&&Math.abs(J)<=Math.min(10,this.getVisibleRowCount())){this._scrollContent(J);
}else if(L&&!this.getTable().getAlwaysUpdateCells()){this._updateRowStyles(K);
}else{this._updateAllRows();
}},_updateRowStyles:function(bB){var bF=this.getContentElement().getDomElement();

if(!bF||!bF.firstChild){this._updateAllRows();
return;
}var bJ=this.getTable();
var bD=bJ.getSelectionModel();
var bG=bJ.getTableModel();
var bK=bJ.getDataRowRenderer();
var bE=bF.firstChild.childNodes;
var bI={table:bJ};
var bL=this.getFirstVisibleRow();
var y=0;
var bC=bE.length;

if(bB!=null){var bH=bB-bL;

if(bH>=0&&bH<bC){bL=bB;
y=bH;
bC=bH+1;
}else{return;
}}
for(;y<bC;y++,bL++){bI.row=bL;
bI.selected=bD.isSelectedIndex(bL);
bI.focusedRow=(this.__rh==bL);
bI.rowData=bG.getRowData(bL);
bK.updateDataRowElement(bI,bE[y]);
}},_getRowsHtml:function(a,b){var h=this.getTable();
var l=h.getSelectionModel();
var e=h.getTableModel();
var f=h.getTableColumnModel();
var B=this.getPaneScroller().getTablePaneModel();
var q=h.getDataRowRenderer();
e.prefetchRows(a,a+b-1);
var w=h.getRowHeight();
var A=B.getColumnCount();
var g=0;
var d=[];
for(var x=0;x<A;x++){var D=B.getColumnAtX(x);
var k=f.getColumnWidth(D);
d.push({col:D,xPos:x,editable:e.isColumnEditable(D),focusedCol:this.__ri==D,styleLeft:g,styleWidth:k});
g+=k;
}var C=[];
var E=false;

for(var j=a;j<a+b;j++){var m=l.isSelectedIndex(j);
var p=(this.__rh==j);
var t=this.__rl(j,m,p);

if(t){C.push(t);
continue;
}var s=[];
var v={table:h};
v.styleHeight=w;
v.row=j;
v.selected=m;
v.focusedRow=p;
v.rowData=e.getRowData(j);

if(!v.rowData){E=true;
}s.push(bi);
var c=q.getRowClass(v);

if(c){s.push(bj,c,Y);
}var r=q.createRowStyle(v);
r+=be+q.getRowHeightStyle(w)+bk;

if(r){s.push(bt,r,Y);
}s.push(bn);

for(var x=0;x<A;x++){var n=d[x];

for(var z in n){v[z]=n[z];
}var D=v.col;
v.value=e.getValue(D,j);
var o=f.getDataCellRenderer(D);
o.createDataCellHtml(v,s);
}s.push(ba);
var u=s.join(bc);
this.__rm(j,u,m,p);
C.push(u);
}this.fireDataEvent(S,E);
return C.join(bc);
},_scrollContent:function(bS){var bT=this.getContentElement().getDomElement();

if(!(bT&&bT.firstChild)){this._updateAllRows();
return;
}var cd=bT.firstChild;
var bU=cd.childNodes;
var cb=this.getVisibleRowCount();
var ca=this.getFirstVisibleRow();
var bX=this.getTable().getTableModel();
var ce=0;
ce=bX.getRowCount();
if(ca+cb>ce){this._updateAllRows();
return;
}var cf=bS<0?cb+bS:0;
var bV=bS<0?0:cb-bS;

for(i=Math.abs(bS)-1;i>=0;i--){var bY=bU[cf];

try{cd.removeChild(bY);
}catch(M){break;
}}if(!this.__rg){this.__rg=document.createElement(bu);
}var cc=W;
cc+=this._getRowsHtml(ca+bV,Math.abs(bS));
cc+=ba;
this.__rg.innerHTML=cc;
var bW=this.__rg.firstChild.childNodes;
if(bS>0){for(var i=bW.length-1;i>=0;i--){var bY=bW[0];
cd.appendChild(bY);
}}else{for(var i=bW.length-1;i>=0;i--){var bY=bW[bW.length-1];
cd.insertBefore(bY,cd.firstChild);
}}if(this.__rh!==null){this._updateRowStyles(this.__rh-bS);
this._updateRowStyles(this.__rh);
}this.fireEvent(X);
},_updateAllRows:function(){var co=this.getContentElement().getDomElement();

if(!co){this.addListenerOnce(bl,arguments.callee,this);
return;
}var cu=this.getTable();
var cr=cu.getTableModel();
var ct=this.getPaneScroller().getTablePaneModel();
var cs=ct.getColumnCount();
var cl=cu.getRowHeight();
var cp=this.getFirstVisibleRow();
var cm=this.getVisibleRowCount();
var cv=cr.getRowCount();

if(cp+cm>cv){cm=Math.max(0,cv-cp);
}var cn=ct.getTotalWidth();
var cq;
if(cm>0){cq=[bd,bq,(cu.getForceLineHeight()?bm+cl+bh:bc),U,bf,this._getRowsHtml(cp,cm),V];
}else{cq=[];
}var cw=cq.join(bc);
co.innerHTML=cw;
this.setWidth(cn);
this.__rd=cs;
this.__re=cm;
this.fireEvent(X);
}},destruct:function(){this.__rg=this.__rc=this.__rf=null;
}});
})();
(function(){var p="hovered",o="__rn",n="qx.ui.table.pane.Header";
qx.Class.define(n,{extend:qx.ui.core.Widget,construct:function(m){arguments.callee.base.call(this);
this._setLayout(new qx.ui.layout.HBox());
this.__rn=m;
},members:{__rn:null,__ro:null,__rp:null,getPaneScroller:function(){return this.__rn;
},getTable:function(){return this.__rn.getTable();
},onColOrderChanged:function(){this._updateContent(true);
},onPaneModelChanged:function(){this._updateContent(true);
},onTableModelMetaDataChanged:function(){this._updateContent();
},setColumnWidth:function(F,G){var H=this.getHeaderWidgetAtColumn(F);

if(H!=null){H.setWidth(G);
}},setMouseOverColumn:function(a){if(a!=this.__rp){if(this.__rp!=null){var b=this.getHeaderWidgetAtColumn(this.__rp);

if(b!=null){b.removeState(p);
}}
if(a!=null){this.getHeaderWidgetAtColumn(a).addState(p);
}this.__rp=a;
}},getHeaderWidgetAtColumn:function(q){var r=this.getPaneScroller().getTablePaneModel().getX(q);
return this._getChildren()[r];
},showColumnMoveFeedback:function(c,x){var g=this.getContainerLocation();

if(this.__ro==null){var d=this.getPaneScroller().getTablePaneModel().getX(c);
var f=this._getChildren()[d];
var h=this.getTable().getTableModel();
var j=this.getTable().getTableColumnModel();
var k={xPos:d,col:c,name:h.getColumnName(c)};
var i=j.getHeaderCellRenderer(c);
var e=i.createHeaderCell(k);
var l=f.getBounds();
e.setWidth(l.width);
e.setHeight(l.height);
e.setZIndex(1000000);
e.setOpacity(0.8);
e.setLayoutProperties({top:g.top});
this.getApplicationRoot().add(e);
this.__ro=e;
}this.__ro.setLayoutProperties({left:g.left+x});
this.__ro.show();
},hideColumnMoveFeedback:function(){if(this.__ro!=null){this.__ro.destroy();
this.__ro=null;
}},isShowingColumnMoveFeedback:function(){return this.__ro!=null;
},_updateContent:function(s){var y=this.getTable().getTableModel();
var B=this.getTable().getTableColumnModel();
var C=this.getPaneScroller().getTablePaneModel();
var E=this._getChildren();
var z=C.getColumnCount();
var t=y.getSortColumnIndex();
if(s){this._cleanUpCells();
}var u={};
u.sortedAscending=y.isSortAscending();

for(var x=0;x<z;x++){var w=C.getColumnAtX(x);

if(w===undefined){continue;
}var D=B.getColumnWidth(w);
var A=B.getHeaderCellRenderer(w);
u.xPos=x;
u.col=w;
u.name=y.getColumnName(w);
u.editable=y.isColumnEditable(w);
u.sorted=(w==t);
var v=E[x];
if(v==null){v=A.createHeaderCell(u);
v.set({width:D});
this._add(v);
}else{A.updateHeaderCell(u,v);
}}},_cleanUpCells:function(){var J=this._getChildren();

for(var x=J.length-1;x>=0;x--){var I=J[x];
I.destroy();
}}},destruct:function(){this._disposeObjects(o);
}});
})();
(function(){var di="Boolean",dh="resize-line",dg="mousedown",df="qx.event.type.Data",de="mouseup",dd="qx.ui.table.pane.CellEvent",dc="scroll",db="focus-indicator",da="excluded",cY="scrollbar-y",eh="visible",eg="mousemove",ef="header",ee="editing",ed="click",ec="modelChanged",eb="scrollbar-x",ea="cellClick",dY="pane",dX="__rr",dq="__ry",dr="mouseout",dn="__rv",dp="changeHorizontalScrollBarVisible",dl="bottom",dm="_applyScrollTimeout",dj="changeScrollX",dk="_applyTablePaneModel",du="Integer",dv="__rt",dD="dblclick",dB="dataEdited",dL="mousewheel",dG="interval",dT="qx.ui.table.pane.Scroller",dQ="__rx",dx="__rz",dW="_applyShowCellFocusIndicator",dV="resize",dU="vertical",dw="changeScrollY",dz="appear",dA="table-scroller",dC="beforeSort",dE="__ru",dH="__rs",dN="cellDblclick",dS="horizontal",ds="losecapture",dt="contextmenu",dy="col-resize",dK="disappear",dJ="_applyVerticalScrollBarVisible",dI="_applyHorizontalScrollBarVisible",dP="__rw",dO="cellContextmenu",dF="close",dM="changeTablePaneModel",cX="qx.ui.table.pane.Model",dR="changeVerticalScrollBarVisible";
qx.Class.define(dT,{extend:qx.ui.core.Widget,include:qx.ui.core.scroll.MScrollBarFactory,construct:function(cH){arguments.callee.base.call(this);
this.__rq=cH;
var cI=new qx.ui.layout.Grid();
cI.setColumnFlex(0,1);
cI.setRowFlex(1,1);
this._setLayout(cI);
this.__rr=this._showChildControl(eb);
this.__rs=this._showChildControl(cY);
this.__rt=this._showChildControl(ef);
this.__ru=this._showChildControl(dY);
this.__rv=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({minWidth:0});
this._add(this.__rv,{row:0,column:0,colSpan:2});
this.__rw=new qx.ui.table.pane.Clipper();
this.__rw.add(this.__rt);
this.__rw.addListener(ds,this._onChangeCaptureHeader,this);
this.__rw.addListener(eg,this._onMousemoveHeader,this);
this.__rw.addListener(dg,this._onMousedownHeader,this);
this.__rw.addListener(de,this._onMouseupHeader,this);
this.__rw.addListener(ed,this._onClickHeader,this);
this.__rv.add(this.__rw,{flex:1});
this.__rx=new qx.ui.table.pane.Clipper();
this.__rx.add(this.__ru);
this.__rx.addListener(dL,this._onMousewheel,this);
this.__rx.addListener(eg,this._onMousemovePane,this);
this.__rx.addListener(dg,this._onMousedownPane,this);
this.__rx.addListener(de,this._onMouseupPane,this);
this.__rx.addListener(ed,this._onClickPane,this);
this.__rx.addListener(dt,this._onContextMenu,this);
this.__rx.addListener(dD,this._onDblclickPane,this);
this.__rx.addListener(dV,this._onResizePane,this);
this._add(this.__rx,{row:1,column:0});
this.__ry=this.getChildControl(db);
this.getChildControl(dh).hide();
this.addListener(dr,this._onMouseout,this);
this.addListener(dz,this._onAppear,this);
this.addListener(dK,this._onDisappear,this);
this.__rz=new qx.event.Timer();
this.__rz.addListener(dG,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":df,"changeScrollX":df,"cellClick":dd,"cellDblclick":dd,"cellContextmenu":dd,"beforeSort":df},properties:{horizontalScrollBarVisible:{check:di,init:true,apply:dI,event:dp},verticalScrollBarVisible:{check:di,init:true,apply:dJ,event:dR},tablePaneModel:{check:cX,apply:dk,event:dM},liveResize:{check:di,init:false},focusCellOnMouseMove:{check:di,init:false},selectBeforeFocus:{check:di,init:false},showCellFocusIndicator:{check:di,init:true,apply:dW},scrollTimeout:{check:du,init:100,apply:dm},appearance:{refine:true,init:dA}},members:{__rA:null,__rq:null,__rB:null,__rC:null,__rD:null,__rE:null,__rF:null,__rG:null,__rH:null,__rI:null,__rJ:null,__rK:null,__rL:null,__rM:null,__rN:null,__rO:null,__rP:null,__rQ:null,__rR:null,__rS:null,__rT:null,__rU:null,__rr:null,__rs:null,__rt:null,__rw:null,__ru:null,__rx:null,__ry:null,__rv:null,__rz:null,getPaneInsetRight:function(){var eT=this.getTopRightWidget();
var eU=eT&&eT.isVisible()&&eT.getBounds()?eT.getBounds().width:0;
var eS=this.getVerticalScrollBarVisible()?this.getVerticalScrollBarWidth():0;
return Math.max(eU,eS);
},setPaneWidth:function(cA){if(this.isVerticalScrollBarVisible()){cA+=this.getPaneInsetRight();
}this.setWidth(cA);
},_createChildControlImpl:function(bl){var bm;

switch(bl){case ef:bm=(this.getTable().getNewTablePaneHeader())(this);
break;
case dY:bm=(this.getTable().getNewTablePane())(this);
break;
case db:bm=new qx.ui.table.pane.FocusIndicator(this);
bm.setUserBounds(0,0,0,0);
bm.setZIndex(1000);
bm.addListener(de,this._onMouseupFocusIndicator,this);
this.__rx.add(bm);
bm.exclude();
break;
case dh:bm=new qx.ui.core.Widget();
bm.setUserBounds(0,0,0,0);
bm.setZIndex(1000);
this.__rx.add(bm);
break;
case eb:bm=this._createScrollBar(dS).set({minWidth:0,alignY:dl});
bm.addListener(dc,this._onScrollX,this);
this._add(bm,{row:2,column:0});
break;
case cY:bm=this._createScrollBar(dU);
bm.addListener(dc,this._onScrollY,this);
this._add(bm,{row:1,column:1});
break;
}return bm||arguments.callee.base.call(this,bl);
},_applyHorizontalScrollBarVisible:function(eD,eE){this.__rr.setVisibility(eD?eh:da);

if(!eD){this.setScrollY(0,true);
}},_applyVerticalScrollBarVisible:function(fd,fe){this.__rs.setVisibility(fd?eh:da);

if(!fd){this.setScrollX(0);
}},_applyTablePaneModel:function(bO,bP){if(bP!=null){bP.removeListener(ec,this._onPaneModelChanged,this);
}bO.addListener(ec,this._onPaneModelChanged,this);
},_applyShowCellFocusIndicator:function(bt,bu){if(bt){this._updateFocusIndicator();
}else{if(this.__ry){this.__ry.hide();
}}},getScrollY:function(){return this.__rs.getPosition();
},setScrollY:function(scrollY,h){this.__rs.scrollTo(scrollY);

if(h){this._updateContent();
}},getScrollX:function(){return this.__rr.getPosition();
},setScrollX:function(scrollX){this.__rr.scrollTo(scrollX);
},getTable:function(){return this.__rq;
},onColVisibilityChanged:function(){this.updateHorScrollBarMaximum();
this._updateFocusIndicator();
},setColumnWidth:function(cw,cx){this.__rt.setColumnWidth(cw,cx);
this.__ru.setColumnWidth(cw,cx);
var cy=this.getTablePaneModel();
var x=cy.getX(cw);

if(x!=-1){this.updateHorScrollBarMaximum();
this._updateFocusIndicator();
}},onColOrderChanged:function(){this.__rt.onColOrderChanged();
this.__ru.onColOrderChanged();
this.updateHorScrollBarMaximum();
},onTableModelDataChanged:function(bQ,bR,bS,bT){this.__ru.onTableModelDataChanged(bQ,bR,bS,bT);
var bU=this.getTable().getTableModel().getRowCount();

if(bU!=this.__rA){this.updateVerScrollBarMaximum();

if(this.getFocusedRow()>=bU){if(bU==0){this.setFocusedCell(null,null);
}else{this.setFocusedCell(this.getFocusedColumn(),bU-1);
}}this.__rA=bU;
}},onSelectionChanged:function(){this.__ru.onSelectionChanged();
},onFocusChanged:function(){this.__ru.onFocusChanged();
},onTableModelMetaDataChanged:function(){this.__rt.onTableModelMetaDataChanged();
this.__ru.onTableModelMetaDataChanged();
},_onPaneModelChanged:function(){this.__rt.onPaneModelChanged();
this.__ru.onPaneModelChanged();
},_onResizePane:function(){this.updateHorScrollBarMaximum();
this.updateVerScrollBarMaximum();
this._updateContent();
this.__rt._updateContent();
this.__rq._updateScrollBarVisibility();
},updateHorScrollBarMaximum:function(){var cE=this.__rx.getInnerSize();

if(!cE){return ;
}var cC=this.getTablePaneModel().getTotalWidth();
var cD=this.__rr;

if(cE.width<cC){var cB=Math.max(0,cC-cE.width);
cD.setMaximum(cB);
cD.setKnobFactor(cE.width/cC);
var cF=cD.getPosition();
cD.setPosition(Math.min(cF,cB));
}else{cD.setMaximum(0);
cD.setKnobFactor(1);
cD.setPosition(0);
}},updateVerScrollBarMaximum:function(){var E=this.__rx.getInnerSize();

if(!E){return ;
}var C=this.getTable().getTableModel();
var y=C.getRowCount();

if(this.getTable().getKeepFirstVisibleRowComplete()){y+=1;
}var w=this.getTable().getRowHeight();
var A=y*w;
var D=this.__rs;

if(E.height<A){var z=Math.max(0,A-E.height);
D.setMaximum(z);
D.setKnobFactor(E.height/A);
var B=D.getPosition();
D.setPosition(Math.min(B,z));
}else{D.setMaximum(0);
D.setKnobFactor(1);
D.setPosition(0);
}},onKeepFirstVisibleRowCompleteChanged:function(){this.updateVerScrollBarMaximum();
this._updateContent();
},_onAppear:function(){this._startInterval(this.getScrollTimeout());
},_onDisappear:function(){this._stopInterval();
},_onScrollX:function(e){var bv=e.getData();
this.fireDataEvent(dj,bv,e.getOldData());
this.__rw.scrollToX(bv);
this.__rx.scrollToX(bv);
},_onScrollY:function(e){this.fireDataEvent(dw,e.getData(),e.getOldData());
this._postponedUpdateContent();
},_onMousewheel:function(e){var eX=this.getTable();

if(!eX.getEnabled()){return;
}var fa=qx.bom.client.Engine.GECKO?1:3;
var eY=this.__rs.getPosition()+((e.getWheelDelta()*fa)*eX.getRowHeight());
this.__rs.scrollTo(eY);
if(this.__rO&&this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(this.__rO,this.__rP);
}e.stop();
},__rV:function(bF){var bK=this.getTable();
var bL=this.__rt.getHeaderWidgetAtColumn(this.__rJ);
var bG=bL.getSizeHint().minWidth;
var bI=Math.max(bG,this.__rL+bF-this.__rK);

if(this.getLiveResize()){var bH=bK.getTableColumnModel();
bH.setColumnWidth(this.__rJ,bI);
}else{this.__rt.setColumnWidth(this.__rJ,bI);
var bJ=this.getTablePaneModel();
this._showResizeLine(bJ.getColumnLeft(this.__rJ)+bI);
}this.__rK+=bI-this.__rL;
this.__rL=bI;
},__rW:function(ce){var cf=qx.ui.table.pane.Scroller.CLICK_TOLERANCE;

if(this.__rt.isShowingColumnMoveFeedback()||ce>this.__rI+cf||ce<this.__rI-cf){this.__rF+=ce-this.__rI;
this.__rt.showColumnMoveFeedback(this.__rE,this.__rF);
var cg=this.__rq.getTablePaneScrollerAtPageX(ce);

if(this.__rH&&this.__rH!=cg){this.__rH.hideColumnMoveFeedback();
}
if(cg!=null){this.__rG=cg.showColumnMoveFeedback(ce);
}else{this.__rG=null;
}this.__rH=cg;
this.__rI=ce;
}},_onMousemoveHeader:function(e){var eA=this.getTable();

if(!eA.getEnabled()){return;
}var eB=false;
var eu=null;
var ey=e.getDocumentLeft();
var ez=e.getDocumentTop();
this.__rO=ey;
this.__rP=ez;

if(this.__rJ!=null){this.__rV(ey);
eB=true;
e.stopPropagation();
}else if(this.__rE!=null){this.__rW(ey);
e.stopPropagation();
}else{var ev=this._getResizeColumnForPageX(ey);

if(ev!=-1){eB=true;
}else{var ex=eA.getTableModel();
var eC=this._getColumnForPageX(ey);

if(eC!=null&&ex.isColumnSortable(eC)){eu=eC;
}}}var ew=eB?dy:null;
this.getApplicationRoot().setGlobalCursor(ew);
this.setCursor(ew);
this.__rt.setMouseOverColumn(eu);
},_onMousemovePane:function(e){var F=this.getTable();

if(!F.getEnabled()){return;
}var H=e.getDocumentLeft();
var I=e.getDocumentTop();
this.__rO=H;
this.__rP=I;
var G=this._getRowForPagePos(H,I);

if(G!=null&&this._getColumnForPageX(H)!=null){if(this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(H,I);
}}this.__rt.setMouseOverColumn(null);
},_onMousedownHeader:function(e){if(!this.getTable().getEnabled()){return;
}var cV=e.getDocumentLeft();
var cW=this._getResizeColumnForPageX(cV);

if(cW!=-1){this._startResizeHeader(cW,cV);
e.stop();
}else{var cU=this._getColumnForPageX(cV);

if(cU!=null){this._startMoveHeader(cU,cV);
e.stop();
}}},_startResizeHeader:function(b,c){var d=this.getTable().getTableColumnModel();
this.__rJ=b;
this.__rK=c;
this.__rL=d.getColumnWidth(this.__rJ);
this.__rw.capture();
},_startMoveHeader:function(bD,bE){this.__rE=bD;
this.__rI=bE;
this.__rF=this.getTablePaneModel().getColumnLeft(bD);
this.__rw.capture();
},_onMousedownPane:function(e){var cb=this.getTable();

if(!cb.getEnabled()){return;
}
if(this.isEditing()){this.stopEditing();
}var bX=e.getDocumentLeft();
var ca=e.getDocumentTop();
var cd=this._getRowForPagePos(bX,ca);
var cc=this._getColumnForPageX(bX);

if(cd!==null){this.__rM={row:cd,col:cc};
var bY=this.getSelectBeforeFocus();

if(bY){cb.getSelectionManager().handleMouseDown(cd,e);
}if(!this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(bX,ca);
}
if(!bY){cb.getSelectionManager().handleMouseDown(cd,e);
}}},_onMouseupFocusIndicator:function(e){if(this.__rM&&this.__ry.getRow()==this.__rM.row&&this.__ry.getColumn()==this.__rM.col){this.__rM={};
this.fireEvent(ea,qx.ui.table.pane.CellEvent,[this,e,this.__rM.row,this.__rM.col],true);
}},_onChangeCaptureHeader:function(e){if(this.__rJ!=null){this._stopResizeHeader();
}
if(this.__rE!=null){this._stopMoveHeader();
}},_stopResizeHeader:function(){var bw=this.getTable().getTableColumnModel();
if(!this.getLiveResize()){this._hideResizeLine();
bw.setColumnWidth(this.__rJ,this.__rL);
}this.__rJ=null;
this.__rw.releaseCapture();
this.getApplicationRoot().setGlobalCursor(null);
this.setCursor(null);
},_stopMoveHeader:function(){var be=this.getTable().getTableColumnModel();
var bf=this.getTablePaneModel();
this.__rt.hideColumnMoveFeedback();

if(this.__rH){this.__rH.hideColumnMoveFeedback();
}
if(this.__rG!=null){var bh=bf.getFirstColumnX()+bf.getX(this.__rE);
var bd=this.__rG;

if(bd!=bh&&bd!=bh+1){var bg=be.getVisibleColumnAtX(bh);
var bc=be.getVisibleColumnAtX(bd);
var bb=be.getOverallX(bg);
var ba=(bc!=null)?be.getOverallX(bc):be.getOverallColumnCount();

if(ba>bb){ba--;
}be.moveColumn(bb,ba);
}}this.__rE=null;
this.__rG=null;
this.__rw.releaseCapture();
},_onMouseupPane:function(e){var eV=this.getTable();

if(!eV.getEnabled()){return;
}var eW=this._getRowForPagePos(e.getDocumentLeft(),e.getDocumentTop());

if(eW!=-1&&eW!=null&&this._getColumnForPageX(e.getDocumentLeft())!=null){eV.getSelectionManager().handleMouseUp(eW,e);
}},_onMouseupHeader:function(e){var ch=this.getTable();

if(!ch.getEnabled()){return;
}
if(this.__rJ!=null){this._stopResizeHeader();
this.__rN=true;
e.stop();
}else if(this.__rE!=null){this._stopMoveHeader();
e.stop();
}},_onClickHeader:function(e){if(this.__rN){this.__rN=false;
return;
}var N=this.getTable();

if(!N.getEnabled()){return;
}var L=N.getTableModel();
var M=e.getDocumentLeft();
var K=this._getResizeColumnForPageX(M);

if(K==-1){var Q=this._getColumnForPageX(M);

if(Q!=null&&L.isColumnSortable(Q)){var J=L.getSortColumnIndex();
var O=(Q!=J)?true:!L.isSortAscending();
var P={column:Q,ascending:O};

if(this.fireDataEvent(dC,P)){L.sortByColumn(Q,O);
N.getSelectionModel().resetSelection();
}}}e.stop();
},_onClickPane:function(e){var bn=this.getTable();

if(!bn.getEnabled()){return;
}var bq=e.getDocumentLeft();
var br=e.getDocumentTop();
var bo=this._getRowForPagePos(bq,br);
var bp=this._getColumnForPageX(bq);

if(bo!=null&&bp!=null){bn.getSelectionManager().handleClick(bo,e);

if(this.__ry.isHidden()||(this.__rM&&bo==this.__rM.row&&bp==this.__rM.col)){this.__rM={};
this.fireEvent(ea,qx.ui.table.pane.CellEvent,[this,e,bo,bp],true);
}}},_onContextMenu:function(e){var es=e.getDocumentLeft();
var et=e.getDocumentTop();
var eq=this._getRowForPagePos(es,et);
var er=this._getColumnForPageX(es);

if(this.__ry.isHidden()||(this.__rM&&eq==this.__rM.row&&er==this.__rM.col)){this.__rM={};
this.fireEvent(dO,qx.ui.table.pane.CellEvent,[this,e,eq,er],true);
var ep=this.getTable().getContextMenu();

if(ep){if(ep.getChildren().length>0){ep.openAtMouse(e);
}else{ep.exclude();
}e.preventDefault();
}}},_onContextMenuOpen:function(e){},_onDblclickPane:function(e){var cS=e.getDocumentLeft();
var cT=e.getDocumentTop();
this._focusCellAtPagePos(cS,cT);
this.startEditing();
var cR=this._getRowForPagePos(cS,cT);

if(cR!=-1&&cR!=null){this.fireEvent(dN,qx.ui.table.pane.CellEvent,[this,e,cR],true);
}},_onMouseout:function(e){var bs=this.getTable();

if(!bs.getEnabled()){return;
}if(this.__rJ==null){this.setCursor(null);
this.getApplicationRoot().setGlobalCursor(null);
}this.__rt.setMouseOverColumn(null);
},_showResizeLine:function(x){var bj=this._showChildControl(dh);
var bi=bj.getWidth();
var bk=this.__rx.getBounds();
bj.setUserBounds(x-Math.round(bi/2),0,bi,bk.height);
},_hideResizeLine:function(){this._excludeChildControl(dh);
},showColumnMoveFeedback:function(eF){var eO=this.getTablePaneModel();
var eN=this.getTable().getTableColumnModel();
var eI=this.__ru.getContainerLocation().left;
var eM=eO.getColumnCount();
var eJ=0;
var eH=0;
var eR=eI;

for(var eG=0;eG<eM;eG++){var eK=eO.getColumnAtX(eG);
var eP=eN.getColumnWidth(eK);

if(eF<eR+eP/2){break;
}eR+=eP;
eJ=eG+1;
eH=eR-eI;
}var eL=this.__rx.getContainerLocation().left;
var eQ=this.__rx.getBounds().width;
var scrollX=eL-eI;
eH=qx.lang.Number.limit(eH,scrollX+2,scrollX+eQ-1);
this._showResizeLine(eH);
return eO.getFirstColumnX()+eJ;
},hideColumnMoveFeedback:function(){this._hideResizeLine();
},_focusCellAtPagePos:function(bx,by){var bA=this._getRowForPagePos(bx,by);

if(bA!=-1&&bA!=null){var bz=this._getColumnForPageX(bx);
this.__rq.setFocusedCell(bz,bA);
}},setFocusedCell:function(fb,fc){if(!this.isEditing()){this.__ru.setFocusedCell(fb,fc,this.__rC);
this.__rQ=fb;
this.__rR=fc;
this._updateFocusIndicator();
}},getFocusedColumn:function(){return this.__rQ;
},getFocusedRow:function(){return this.__rR;
},scrollCellVisible:function(i,j){var t=this.getTablePaneModel();
var k=t.getX(i);

if(k!=-1){var q=this.__rx.getInnerSize();

if(!q){return;
}var r=this.getTable().getTableColumnModel();
var n=t.getColumnLeft(i);
var u=r.getColumnWidth(i);
var l=this.getTable().getRowHeight();
var v=j*l;
var scrollX=this.getScrollX();
var scrollY=this.getScrollY();
var s=Math.min(n,n+u-q.width);
var p=n;
this.setScrollX(Math.max(s,Math.min(p,scrollX)));
var m=v+l-q.height;

if(this.getTable().getKeepFirstVisibleRowComplete()){m+=l;
}var o=v;
this.setScrollY(Math.max(m,Math.min(o,scrollY)),true);
}},isEditing:function(){return this.__rS!=null;
},startEditing:function(){var fs=this.getTable();
var fq=fs.getTableModel();
var fu=this.__rQ;

if(!this.isEditing()&&(fu!=null)&&fq.isColumnEditable(fu)){var fv=this.__rR;
var fo=this.getTablePaneModel().getX(fu);
var fp=fq.getValue(fu,fv);
this.__rT=fs.getTableColumnModel().getCellEditorFactory(fu);
var fr={col:fu,row:fv,xPos:fo,value:fp,table:fs};
this.__rS=this.__rT.createCellEditor(fr);
if(this.__rS===null){return false;
}else if(this.__rS instanceof qx.ui.window.Window){this.__rS.setModal(true);
this.__rS.setShowClose(false);
this.__rS.addListener(dF,this._onCellEditorModalWindowClose,this);
var f=fs.getModalCellEditorPreOpenFunction();

if(f!=null){f(this.__rS,fr);
}this.__rS.open();
}else{var ft=this.__ry.getInnerSize();
this.__rS.setUserBounds(0,0,ft.width,ft.height);
this.__ry.addListener(dg,function(e){e.stopPropagation();
});
this.__ry.add(this.__rS);
this.__ry.addState(ee);
this.__ry.setKeepActive(false);
this.__rS.focus();
this.__rS.activate();
}return true;
}return false;
},stopEditing:function(){this.flushEditor();
this.cancelEditing();
},flushEditor:function(){if(this.isEditing()){var bC=this.__rT.getCellEditorValue(this.__rS);
var bB=this.getTable().getTableModel().getValue(this.__rQ,this.__rR);
this.getTable().getTableModel().setValue(this.__rQ,this.__rR,bC);
this.__rq.focus();
this.__rq.fireDataEvent(dB,{row:this.__rR,col:this.__rQ,oldValue:bB,value:bC});
}},cancelEditing:function(){if(this.isEditing()&&!this.__rS.pendingDispose){if(this._cellEditorIsModalWindow){this.__rS.destroy();
this.__rS=null;
this.__rT=null;
this.__rS.pendingDispose=true;
}else{this.__ry.removeState(ee);
this.__ry.setKeepActive(true);
this.__rS.destroy();
this.__rS=null;
this.__rT=null;
}}},_onCellEditorModalWindowClose:function(e){this.stopEditing();
},_getColumnForPageX:function(ei){var el=this.getTable().getTableColumnModel();
var em=this.getTablePaneModel();
var ek=em.getColumnCount();
var eo=this.__rt.getContainerLocation().left;

for(var x=0;x<ek;x++){var ej=em.getColumnAtX(x);
var en=el.getColumnWidth(ej);
eo+=en;

if(ei<eo){return ej;
}}return null;
},_getResizeColumnForPageX:function(cJ){var cN=this.getTable().getTableColumnModel();
var cO=this.getTablePaneModel();
var cM=cO.getColumnCount();
var cQ=this.__rt.getContainerLocation().left;
var cK=qx.ui.table.pane.Scroller.RESIZE_REGION_RADIUS;

for(var x=0;x<cM;x++){var cL=cO.getColumnAtX(x);
var cP=cN.getColumnWidth(cL);
cQ+=cP;

if(cJ>=(cQ-cK)&&cJ<=(cQ+cK)){return cL;
}}return -1;
},_getRowForPagePos:function(ff,fg){var fh=this.__ru.getContentLocation();

if(ff<fh.left||ff>fh.right){return null;
}
if(fg>=fh.top&&fg<=fh.bottom){var fi=this.getTable().getRowHeight();
var scrollY=this.__rs.getPosition();

if(this.getTable().getKeepFirstVisibleRowComplete()){scrollY=Math.floor(scrollY/fi)*fi;
}var fl=scrollY+fg-fh.top;
var fn=Math.floor(fl/fi);
var fm=this.getTable().getTableModel();
var fj=fm.getRowCount();
return (fn<fj)?fn:null;
}var fk=this.__rt.getContainerLocation();

if(fg>=fk.top&&fg<=fk.bottom&&ff<=fk.right){return -1;
}return null;
},setTopRightWidget:function(bV){var bW=this.__rU;

if(bW!=null){this.__rv.remove(bW);
}
if(bV!=null){this.__rv.add(bV);
}this.__rU=bV;
},getTopRightWidget:function(){return this.__rU;
},getHeader:function(){return this.__rt;
},getTablePane:function(){return this.__ru;
},getVerticalScrollBarWidth:function(){var cG=this.__rs;
return cG.isVisible()?(cG.getSizeHint().width||0):0;
},getNeededScrollBars:function(ci,cj){var cp=this.__rs.getSizeHint().width;
var cq=this.__rx.getInnerSize();
var ck=cq?cq.width:0;

if(this.getVerticalScrollBarVisible()){ck+=cp;
}var ct=cq?cq.height:0;

if(this.getHorizontalScrollBarVisible()){ct+=cp;
}var cn=this.getTable().getTableModel();
var cr=cn.getRowCount();
var cu=this.getTablePaneModel().getTotalWidth();
var cs=this.getTable().getRowHeight()*cr;
var cm=false;
var cv=false;

if(cu>ck){cm=true;

if(cs>ct-cp){cv=true;
}}else if(cs>ct){cv=true;

if(!cj&&(cu>ck-cp)){cm=true;
}}var co=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;
var cl=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;
return ((ci||cm)?co:0)|((cj||!cv)?0:cl);
},_applyScrollTimeout:function(bM,bN){this._startInterval(bM);
},_startInterval:function(cz){this.__rz.setInterval(cz);
this.__rz.start();
},_stopInterval:function(){this.__rz.stop();
},_postponedUpdateContent:function(){this._updateContent();
},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.__rC&&!this.__ru._layoutPending){this.__rC=false;
this._updateContent();
}}),_updateContent:function(){var V=this.__rx.getInnerSize();

if(!V){return;
}var Y=V.height;
var scrollX=this.__rr.getPosition();
var scrollY=this.__rs.getPosition();
var S=this.getTable().getRowHeight();
var T=Math.floor(scrollY/S);
var X=this.__ru.getFirstVisibleRow();
this.__ru.setFirstVisibleRow(T);
var U=Math.ceil(Y/S);
var R=0;
var W=this.getTable().getKeepFirstVisibleRowComplete();

if(!W){U++;
R=scrollY%S;
}this.__ru.setVisibleRowCount(U);

if(T!=X){this._updateFocusIndicator();
}this.__rx.scrollToX(scrollX);
if(!W){this.__rx.scrollToY(R);
}},_updateFocusIndicator:function(){if(!this.getShowCellFocusIndicator()){return;
}var a=this.getTable();

if(!a.getEnabled()){return;
}this.__ry.moveToCell(this.__rQ,this.__rR);
}},destruct:function(){this._stopInterval();
var g=this.getTablePaneModel();

if(g){g.dispose();
}this.__rM=this.__rU=this.__rq=null;
this._disposeObjects(dX,dH,dP,dQ,dq,dv,dE,dn,dx);
}});
})();
(function(){var b="qx.ui.table.pane.Clipper";
qx.Class.define(b,{extend:qx.ui.container.Composite,construct:function(){arguments.callee.base.call(this,new qx.ui.layout.Grow());
this.setMinWidth(0);
},members:{scrollToX:function(c){this.getContentElement().scrollToX(c,false);
},scrollToY:function(a){this.getContentElement().scrollToY(a,true);
}}});
})();
(function(){var h="Integer",g="Escape",f="keypress",d="Enter",c="excluded",b="qx.ui.table.pane.FocusIndicator";
qx.Class.define(b,{extend:qx.ui.container.Composite,construct:function(a){arguments.callee.base.call(this);
this.__rX=a;
this.setKeepActive(true);
this.addListener(f,this._onKeyPress,this);
},properties:{visibility:{refine:true,init:c},row:{check:h,nullable:true},column:{check:h,nullable:true}},members:{__rX:null,_onKeyPress:function(e){var q=e.getKeyIdentifier();

if(q!==g&&q!==d){e.stopPropagation();
}},moveToCell:function(i,j){if(i==null){this.hide();
this.setRow(null);
this.setColumn(null);
}else{var k=this.__rX.getTablePaneModel().getX(i);

if(k==-1){this.hide();
this.setRow(null);
this.setColumn(null);
}else{var p=this.__rX.getTable();
var n=p.getTableColumnModel();
var o=this.__rX.getTablePaneModel();
var m=this.__rX.getTablePane().getFirstVisibleRow();
var l=p.getRowHeight();
this.setUserBounds(o.getColumnLeft(i)-2,(j-m)*l-2,n.getColumnWidth(i)+3,l+3);
this.show();
this.setRow(j);
this.setColumn(i);
}}}},destruct:function(){this.__rX=null;
}});
})();
(function(){var b="Integer",a="qx.ui.table.pane.CellEvent";
qx.Class.define(a,{extend:qx.event.type.Mouse,properties:{row:{check:b,nullable:true},column:{check:b,nullable:true}},members:{init:function(c,d,e,f){d.clone(this);
this.setBubbles(false);

if(e!=null){this.setRow(e);
}else{this.setRow(c._getRowForPagePos(this.getDocumentLeft(),this.getDocumentTop()));
}
if(f!=null){this.setColumn(f);
}else{this.setColumn(c._getColumnForPageX(this.getDocumentLeft()));
}},clone:function(g){var h=arguments.callee.base.call(this,g);
h.set({row:this.getRow(),column:this.getColumn()});
return h;
}}});
})();
(function(){var a="qx.lang.Number";
qx.Bootstrap.define(a,{statics:{isInRange:function(h,i,j){return h>=i&&h<=j;
},isBetweenRange:function(b,c,d){return b>c&&b<d;
},limit:function(e,f,g){if(g!=null&&e>g){return g;
}else if(f!=null&&e<f){return f;
}else{return e;
}}}});
})();
(function(){var s="Number",r="qx.event.type.Event",q="_applyFirstColumnX",p="Integer",o="qx.ui.table.pane.Model",n="_applyMaxColumnCount",m="visibilityChangedPre";
qx.Class.define(o,{extend:qx.core.Object,construct:function(u){arguments.callee.base.call(this);
u.addListener(m,this._onColVisibilityChanged,this);
this.__rY=u;
},events:{"modelChanged":r},statics:{EVENT_TYPE_MODEL_CHANGED:"modelChanged"},properties:{firstColumnX:{check:p,init:0,apply:q},maxColumnCount:{check:s,init:-1,apply:n}},members:{__sa:null,__rY:null,_applyFirstColumnX:function(A,B){this.__sa=null;
this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);
},_applyMaxColumnCount:function(k,l){this.__sa=null;
this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);
},setTableColumnModel:function(t){this.__rY=t;
this.__sa=null;
},_onColVisibilityChanged:function(v){this.__sa=null;
this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);
},getColumnCount:function(){if(this.__sa==null){var w=this.getFirstColumnX();
var z=this.getMaxColumnCount();
var y=this.__rY.getVisibleColumnCount();

if(z==-1||(w+z)>y){this.__sa=y-w;
}else{this.__sa=z;
}}return this.__sa;
},getColumnAtX:function(C){var D=this.getFirstColumnX();
return this.__rY.getVisibleColumnAtX(D+C);
},getX:function(h){var i=this.getFirstColumnX();
var j=this.getMaxColumnCount();
var x=this.__rY.getVisibleX(h)-i;

if(x>=0&&(j==-1||x<j)){return x;
}else{return -1;
}},getColumnLeft:function(d){var g=0;
var f=this.getColumnCount();

for(var x=0;x<f;x++){var e=this.getColumnAtX(x);

if(e==d){return g;
}g+=this.__rY.getColumnWidth(e);
}return -1;
},getTotalWidth:function(){var a=0;
var b=this.getColumnCount();

for(var x=0;x<b;x++){var c=this.getColumnAtX(x);
a+=this.__rY.getColumnWidth(c);
}return a;
}},destruct:function(){this.__rY=null;
}});
})();
(function(){var cC="",cB="!",cA="'!",cz="'",cy="Expected '",cx="' (rgb(",cw=",",cv=")), but found value '",cu="Event (",ct="Expected value to be the CSS color '",dJ="' but found ",dI="The value '",dH="qx.core.Object",dG="Expected value to be an array but found ",dF=") was fired.",dE="Expected value to be an integer >= 0 but found ",dD="' to be not equal with '",dC="' to '",dB="qx.ui.core.Widget",dA="Called assertTrue with '",cJ="Expected value to be a map but found ",cK="The function did not raise an exception!",cH="Expected value to be undefined but found ",cI="Expected value to be a DOM element but found  '",cF="Expected value to be a regular expression but found ",cG="' to implement the interface '",cD="Expected value to be null but found ",cE="Invalid argument 'type'",cR="Called assert with 'false'",cS="Assertion error! ",df="Expected value to be a string but found ",db="null",dn="' but found '",di="' must must be a key of the map '",dw="The String '",dt="Expected value not to be undefined but found ",cW="qx.util.ColorUtil",dz=": ",dy="The raised exception does not have the expected type! ",dx=") not fired.",cV="qx.core.Assert",cY="Expected value to be typeof object but found ",da="' (identical) but found '",dd="' must have any of the values defined in the array '",dg="Expected value to be a number but found ",dj="Called assertFalse with '",dq="]",dv="Expected value to be a qooxdoo object but found ",cL="' arguments.",cM="Expected value not to be null but found ",cX="Array[",dm="' does not match the regular expression '",dl="' to be not identical with '",dk="' arguments but found '",ds="', which cannot be converted to a CSS color!",dr="Expected object '",dh="qx.core.AssertionError",dp="Expected value to be a boolean but found ",cq="))!",du="Expected value to be a qooxdoo widget but found ",cN="Expected value '%1' to be in the range '%2'..'%3'!",cO="Expected value to be typeof '",dc="Expected value to be typeof function but found ",cr="Expected value to be an integer but found ",cs="Called fail().",cU="The parameter 're' must be a string or a regular expression.",cP="Expected value to be a number >= 0 but found ",cQ="Expected value to be instanceof '",cT="Wrong number of arguments given. Expected '",de="object";
qx.Bootstrap.define(cV,{statics:{__sb:true,__sc:function(by,bz){var bA=cC;

for(var i=1,l=arguments.length;i<l;i++){bA=bA+this.__sd(arguments[i]);
}var bC=cS+by+dz+bA;

if(this.__sb){qx.log.Logger.error(bC);
}
if(qx.Class.isDefined(dh)){var bB=new qx.core.AssertionError(by,bA);

if(this.__sb){qx.log.Logger.error("Stack trace: \n"+bB.getStackTrace());
}throw bB;
}else{throw new Error(bC);
}},__sd:function(bX){var bY;

if(bX===null){bY=db;
}else if(qx.lang.Type.isArray(bX)&&bX.length>10){bY=cX+bX.length+dq;
}else if((bX instanceof Object)&&(bX.toString==null)){bY=qx.util.Json.stringify(bX);
}else{try{bY=bX.toString();
}catch(e){bY=cC;
}}return bY;
},assert:function(bQ,bR){bQ==true||this.__sc(bR||cC,cR);
},fail:function(p){this.__sc(p||cC,cs);
},assertTrue:function(n,o){(n===true)||this.__sc(o||cC,dA,n,cz);
},assertFalse:function(bD,bE){(bD===false)||this.__sc(bE||cC,dj,bD,cz);
},assertEquals:function(j,k,m){j==k||this.__sc(m||cC,cy,j,dn,k,cA);
},assertNotEquals:function(C,D,E){C!=D||this.__sc(E||cC,cy,C,dD,D,cA);
},assertIdentical:function(dT,dU,dV){dT===dU||this.__sc(dV||cC,cy,dT,da,dU,cA);
},assertNotIdentical:function(x,y,z){x!==y||this.__sc(z||cC,cy,x,dl,y,cA);
},assertNotUndefined:function(cj,ck){cj!==undefined||this.__sc(ck||cC,dt,cj,cB);
},assertUndefined:function(bI,bJ){bI===undefined||this.__sc(bJ||cC,cH,bI,cB);
},assertNotNull:function(bw,bx){bw!==null||this.__sc(bx||cC,cM,bw,cB);
},assertNull:function(M,N){M===null||this.__sc(N||cC,cD,M,cB);
},assertJsonEquals:function(bU,bV,bW){this.assertEquals(qx.util.Json.stringify(bU),qx.util.Json.stringify(bV),bW);
},assertMatch:function(bF,bG,bH){this.assertString(bF);
this.assert(qx.lang.Type.isRegExp(bG)||qx.lang.Type.isString(bG),cU);
bF.search(bG)>=0||this.__sc(bH||cC,dw,bF,dm,bG.toString(),cA);
},assertArgumentsCount:function(cl,cm,cn,co){var cp=cl.length;
(cp>=cm&&cp<=cn)||this.__sc(co||cC,cT,cm,dC,cn,dk,arguments.length,cL);
},assertEventFired:function(q,event,r,s,t){var v=false;
var u=function(e){if(s){s.call(q,e);
}v=true;
};
var w=q.addListener(event,u,q);
r.call();
v===true||this.__sc(t||cC,cu,event,dx);
q.removeListenerById(w);
},assertEventNotFired:function(T,event,U,V){var X=false;
var W=function(e){X=true;
};
var Y=T.addListener(event,W,T);
U.call();
X===false||this.__sc(V||cC,cu,event,dF);
T.removeListenerById(Y);
},assertException:function(H,I,J,K){var I=I||Error;
var L;

try{this.__sb=false;
H();
}catch(bh){L=bh;
}finally{this.__sb=true;
}
if(L==null){this.__sc(K||cC,cK);
}L instanceof I||this.__sc(K||cC,dy,I);

if(J){this.assertMatch(L.toString(),J,K);
}},assertInArray:function(cg,ch,ci){ch.indexOf(cg)!==-1||this.__sc(ci||cC,dI,cg,dd,ch,cz);
},assertArrayEquals:function(be,bf,bg){this.assertArray(be,bg);
this.assertArray(bf,bg);
this.assertEquals(be.length,bf.length,bg);

for(var i=0;i<be.length;i++){this.assertIdentical(be[i],bf[i],bg);
}},assertKeyInMap:function(bt,bu,bv){bu[bt]!==undefined||this.__sc(bv||cC,dI,bt,di,bu,cz);
},assertFunction:function(ce,cf){qx.lang.Type.isFunction(ce)||this.__sc(cf||cC,dc,ce,cB);
},assertString:function(c,d){qx.lang.Type.isString(c)||this.__sc(d||cC,df,c,cB);
},assertBoolean:function(bk,bl){qx.lang.Type.isBoolean(bk)||this.__sc(bl||cC,dp,bk,cB);
},assertNumber:function(br,bs){(qx.lang.Type.isNumber(br)&&isFinite(br))||this.__sc(bs||cC,dg,br,cB);
},assertPositiveNumber:function(bp,bq){(qx.lang.Type.isNumber(bp)&&isFinite(bp)&&bp>=0)||this.__sc(bq||cC,cP,bp,cB);
},assertInteger:function(bS,bT){(qx.lang.Type.isNumber(bS)&&isFinite(bS)&&bS%1===0)||this.__sc(bT||cC,cr,bS,cB);
},assertPositiveInteger:function(f,g){var h=(qx.lang.Type.isNumber(f)&&isFinite(f)&&f%1===0&&f>=0);
h||this.__sc(g||cC,dE,f,cB);
},assertInRange:function(ba,bb,bc,bd){(ba>=bb&&ba<=bc)||this.__sc(bd||cC,qx.lang.String.format(cN,[ba,bb,bc]));
},assertObject:function(Q,R){var S=Q!==null&&(qx.lang.Type.isObject(Q)||typeof Q===de);
S||this.__sc(R||cC,cY,(Q),cB);
},assertArray:function(O,P){qx.lang.Type.isArray(O)||this.__sc(P||cC,dG,O,cB);
},assertMap:function(a,b){qx.lang.Type.isObject(a)||this.__sc(b||cC,cJ,a,cB);
},assertRegExp:function(bi,bj){qx.lang.Type.isRegExp(bi)||this.__sc(bj||cC,cF,bi,cB);
},assertType:function(bK,bL,bM){this.assertString(bL,cE);
typeof (bK)===bL||this.__sc(bM||cC,cO,bL,dJ,bK,cB);
},assertInstance:function(ca,cb,cc){var cd=cb.classname||cb+cC;
ca instanceof cb||this.__sc(cc||cC,cQ,cd,dJ,ca,cB);
},assertInterface:function(bm,bn,bo){qx.Class.implementsInterface(bm,bn)||this.__sc(bo||cC,dr,bm,cG,bn,cA);
},assertCssColor:function(dK,dL,dM){var dN=qx.Class.getByName(cW);

if(!dN){throw new Error("qx.util.ColorUtil not available! Your code must have a dependency on 'qx.util.ColorUtil'");
}var dP=dN.stringToRgb(dK);

try{var dO=dN.stringToRgb(dL);
}catch(dW){this.__sc(dM||cC,ct,dK,cx,dP.join(cw),cv,dL,ds);
}var dQ=dP[0]==dO[0]&&dP[1]==dO[1]&&dP[2]==dO[2];
dQ||this.__sc(dM||cC,ct,dP,cx,dP.join(cw),cv,dL,cx,dO.join(cw),cq);
},assertElement:function(F,G){!!(F&&F.nodeType===1)||this.__sc(G||cC,cI,F,cA);
},assertQxObject:function(dR,dS){this.__se(dR,dH)||this.__sc(dS||cC,dv,dR,cB);
},assertQxWidget:function(A,B){this.__se(A,dB)||this.__sc(B||cC,du,A,cB);
},__se:function(bN,bO){if(!bN){return false;
}var bP=bN.constructor;

while(bP){if(bP.classname===bO){return true;
}bP=bP.superclass;
}return false;
}}});
})();
(function(){var O="atom",N="visible",M="item-view",L="",K='width',J="item-preview",I=";",H="go-last",G="go-previous",F="go-next",cj="5%",ci="white",ch="go-first",cg='height',cf="14px sans-serif",ce="application/json",cd="contact-seller",cc='caption',cb="getImageFromKey",ca='image-name',V="middle",W="seller-about",T="completed",U="35%",R="POST",S="seller-policies",P="change-show-images",Q="beforeClose",be="Escape",bf="getItemForPreviewing",bA="14%",bw="resource/blank.html",bI="Could Not load item. Item array index is out of bounds",bD=")",bU="Question regarding item ",bO="ItemViewWindow - unknown button was pressed ",bo="changeValue",bY="keydown",bW="Left",bV="6%",bm="Down",bs="Up",bu='msg',by="Show Images",bB="grfind.window.ItemViewWindow",bE="item-view-navigation-slider",bK="resource/images/grfind/leftarrowicon.png",bQ="resource/images/grfind/2rightarrowicon.png",X="center",Y="blue",bq="resource/images/grfind/2leftarrowicon.png",bH="About the Seller",bG=" of ",bF="View",bM="minimizeWindows",bL="red-box-2",bC="success",bJ="group",B="Preloading image ... ",bP="userLogout",ba="We have an invalid action while updating the state",bb="Contact Seller",bx="11%",C="(",E="Seller Policies",bk=" in ",bc='atom',bd="PREVIEW  ",bj="Loading item ",bz=" ... ",bS="Preview",bR="12px sans-serif",bt="horizontal",bT="Could not get valid view type",bn="userLogin",bN="resource/images/grfind/rightarrowicon.png",bg="getItemForViewing",bi="closeWindows",bp="The item array appears to be empty",bv="requestRetry",bh="Navigaton",bX="left",br="Right",D=".thumbnail",bl='item-url';
qx.Class.define(bB,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({resizableTop:false});
this.reqBox=new grfind.ReqBox();
var i=new qx.ui.window.Desktop(new qx.ui.window.Manager());
this.setDesktop(i);
var g=new qx.ui.container.Composite(new qx.ui.layout.VBox());
g.set({padding:5,backgroundColor:ci,font:qx.bom.Font.fromString(cf)});
var h=new qx.ui.container.Composite(new qx.ui.layout.VBox());
this.getApp().addListener(bn,function(e){this._updateState();
},this);
this.getApp().addListener(bP,function(e){this._updateState();
},this);
this.getApp().addListener(bi,function(e){this.close();
},this);
this.getApp().addListener(bM,function(e){this.hide();
},this);
this.addListener(Q,function(e){this._resetWindow();
this.getAction()==M?this.getApp().windowMaker._removeWindow(this):null;
},this);
this.reqBox.addListener(bv,function(e){this._loadItem();
},this);
this.addListener(bY,function(e){switch(e.getKeyIdentifier()){case bs:{this._doButton(ch,e.getCurrentTarget());
};
break;
case bm:{this._doButton(H,e.getCurrentTarget());
};
break;
case br:{this._doButton(F,e.getCurrentTarget());
};
break;
case bW:{this._doButton(G,e.getCurrentTarget());
};
break;
case be:{this.close();
};
break;
default:{};
}},this);
h.add(this._createItemViewCanvas(),{flex:1});
h.add(this._createSliderToolbar());
i.add(h,{edge:0});
g.add(this._createTopToolbar());
g.add(i,{flex:1});
this.add(g,{edge:0});
this.add(this.reqBox,{top:U,left:U});
},properties:{app:{init:null},desktop:{init:null},storeNumber:{init:null},storeType:{init:null},storeName:{init:null},itemId:{init:null},currentIndex:{init:null},requestedRecordIndex:{init:null},maxIndex:{init:0},numberOfItems:{init:0},previewKey:{init:null},action:{init:null},images:{init:null},itemURL:{init:null}},members:{_resetWindow:function(){this.sellerPoliciesButton.setEnabled(false);
this.aboutSellerButton.setEnabled(false);
this.contactSellerButton.setEnabled(false);
this.storePoliciesWindow?this.storePoliciesWindow.close():null;
this.dialogWindow?this.dialogWindow.close():null;
this.aboutSellerWindow?this.aboutSellerWindow.close():null;
this._resetForm();
this.imageViewer._initialize([]);
this.showImagesCheckBox.show();
this.navCanvas.exclude();
this.cosmeticBoxRight.exclude();
this.showImagesCheckBox.setValue(true);
},_resetForm:function(){this.itemIframe?this.itemIframe.setSource(bw):null;
this.imageViewer?this.imageViewer._initialize([]):null;
},_initialize:function(c,d,f){this.setAction(c);
this.setPreviewKey(f);
this.itemArray=d;

try{this.setNumberOfItems(this.itemArray.length);
this.setMaxIndex(this.getNumberOfItems()-1);
this.setRequestedRecordIndex(0);
}catch(cr){this.getApp().userMessage(bp);
return;
}
switch(this.getAction()){case M:{this.set({caption:bF,decorator:null,useMoveFrame:true,showMinimize:true,showMaximize:true});
this._preloadImage(0);
this.getMaxIndex()>0?this._preloadImage(1):null;
this.getMaxIndex()>1?this._preloadImage(this.getMaxIndex()):null;
this.getMaxIndex()>2?this._preloadImage(this.getMaxIndex()-1):null;
};
break;
case J:{this.set({caption:bS,decorator:bL,useMoveFrame:true,showMinimize:false,showMaximize:false});
};
break;
default:{this.getApp().userMessage(bT);
return;
};
}this._loadItem();
},_updateState:function(){var r=this.getAction();

try{if(this.itemArray.length>1){this.navCanvas.show();
this.firstButton.setEnabled(this.getCurrentIndex()>0);
this.previousButton.setEnabled(this.getCurrentIndex()>0);
this.nextButton.setEnabled(this.getCurrentIndex()<this.getMaxIndex());
this.lastButton.setEnabled(this.getCurrentIndex()<this.getMaxIndex());
var x=this.getCurrentIndex()+1;
var y=this.getMaxIndex()+1;
this.navLabel.setLabel(C+x+bG+y+bD);
}else{this.navCanvas.exclude();
}}catch(cl){this.navCanvas.exclude();
}
switch(r){case M:{this.sellerPoliciesButton.setEnabled(true);
this.aboutSellerButton.setEnabled(true);
this.contactSellerButton.setEnabled(true);

if(this.storePoliciesWindow&&this.storePoliciesWindow.getVisibility()==N){this._viewSellerPolicies();
}
if(this.contactSellerWindow&&this.contactSellerWindow.getVisibility()==N){this._contactSeller();
}
if(this.aboutSellerWindow&&this.aboutSellerWindow.getVisibility()==N){this._viewSellerAbout();
}};
break;
case J:{this.storePoliciesWindow?this.storePoliciesWindow.close():null;
this.dialogWindow?this.dialogWindow.close():null;
this.aboutSellerWindow?this.aboutSellerWindow.close():null;

if(this.getApp().getSessionKey()){this.sellerPoliciesButton.setEnabled(true);
this.contactSellerButton.setEnabled(true);
this.aboutSellerButton.setEnabled(true);
}else{this.sellerPoliciesButton.setEnabled(false);
this.contactSellerButton.setEnabled(false);
this.aboutSellerButton.setEnabled(false);
}};
break;
default:{this.getApp().userMessage(ba);
this._resetWindow();
};
}},_preloadImage:function(s){try{var w=this.itemArray[s][0];
var t=this.itemArray[s][1];
var v=this.itemArray[s][3];
}catch(b){return;
}var u=new grfind.HttpRequest(cb,R,ce,2000,{'session-key':this.getApp().getSessionKey(),'store-number':w,'store-type':t,'key':v});

if(u){u.addListener(T,function(e){try{var a=e.getData()[ca].split(I);

for(var x=0;x<a.length;x++){qx.io2.ImageLoader.load(a[x]);
qx.io2.ImageLoader.load(a[x]+D);
}}catch(ct){}},this);
this.reqBox.start(u,cb,B,true);
}},_loadForm:function(){this.itemIframe.setSource(this.getItemURL());

if(this.getImages()){var q=this.getImages().split(I);
this.showImagesCheckBox.setEnabled(true);

if(this.showImagesCheckBox.getValue()){this.cosmeticBoxRight.show();
this.imageViewer._initialize(q);
}else{this.cosmeticBoxRight.exclude();
}}else{this.showImagesCheckBox.setEnabled(false);
this.cosmeticBoxRight.exclude();
}this._updateState();
},_loadItem:function(){var k=this.getRequestedRecordIndex();

try{var o=this.itemArray[k][0];
var p=this.itemArray[k][1];
var l=this.itemArray[k][2];
var j=this.itemArray[k][3];
}catch(cs){this.getApp().userMessage(bI);
return;
}!o?o=L:null;
!p?p=L:null;
!l?l=L:null;
!j?j=L:null;

if(this.getAction()==M){var m=bg;
}else{var m=bf;
}var n=new grfind.HttpRequest(m,R,ce,6000,{'session-key':this.getApp().getSessionKey(),'store-number':o,'store-type':p,'item-id':j,'preview-key':this.getPreviewKey()});

if(n){n.addListener(T,function(e){var z=e.getData();

if(z.status==bC){this._resetForm();
this.setCurrentIndex(k);
this.setStoreNumber(o);
this.setStoreType(p);
this.setStoreName(l);
this.setItemId(j);
this.setCaption(z[cc]);
this.setImages(z[ca]);
this.setItemURL(z[bl]);

if(this.getAction()==J){this.setCaption(bd+z[cc]);
}else{var A=this.getUserData(bc);
A?this.getApp().createTooltip(A,null,this.getCaption(),0,true):null;
}this._loadForm();
}else{this.getApp().userMessage(z[bu]);
}},this);
this.reqBox.start(n,m,bj+this.getItemId()+bz);
}},_createSliderToolbar:function(){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox(15).set({alignX:X}));
this.navCanvas=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignY:V}));
this.firstButton=new grfind.Button(this,O,ch,null,bq);
this.previousButton=new grfind.Button(this,O,G,null,bK);
this.nextButton=new grfind.Button(this,O,F,null,bN);
this.lastButton=new grfind.Button(this,O,H,null,bQ);
this.navLabel=new qx.ui.basic.Atom().set({paddingLeft:10});
this.navCanvas.add(this.firstButton);
this.navCanvas.add(this.previousButton);
this.navCanvas.add(this.nextButton);
this.navCanvas.add(this.lastButton);
this.navCanvas.add(this.navLabel);
this.getApp().createTooltip(this.navLabel,bE,bh,1000);
toolbar.add(this.navCanvas);
return toolbar;
},_createTopToolbar:function(){var ck=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({decorator:bJ,margin:[5,5,0,5],padding:4});
var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox(10).set({alignX:bX,alignY:V})).set({backgroundColor:ci,padding:2});
this.sellerPoliciesButton=new grfind.Button(this,O,S,E,null);
this.contactSellerButton=new grfind.Button(this,O,cd,bb,null);
this.aboutSellerButton=new grfind.Button(this,O,W,bH,null);
this.showImagesCheckBox=new qx.ui.form.CheckBox(by);
this.showImagesCheckBox.set({value:true,textColor:Y,font:qx.bom.Font.fromString(bR)});
this.showImagesCheckBox.addListener(bo,function(e){this._doButton(P,e.getCurrentTarget().getValue());
},this);
toolbar.add(this.sellerPoliciesButton);
toolbar.add(this.contactSellerButton);
toolbar.add(this.aboutSellerButton);
toolbar.add(this.showImagesCheckBox);
this.toolbar=toolbar;
ck.add(toolbar,{edge:0});
return ck;
},_createItemViewCanvas:function(){var cp=new qx.ui.splitpane.Pane(bt).set({decorator:null});
cp.set({font:qx.bom.Font.fromString(cf)});
this.itemIframe=new qx.ui.embed.Iframe().set({decorator:null,backgroundColor:ci});
this.imageViewer=new grfind.ImageViewer();
this.cosmeticBoxRight=this.getApp()._createCosmeticCanvas(this.imageViewer);
cp.add(this.getApp()._createCosmeticCanvas(this.itemIframe),6);
cp.add(this.cosmeticBoxRight,4);
return cp;
},_viewSellerPolicies:function(){if(!this.storePoliciesWindow){this.storePoliciesWindow=new grfind.window.StorePoliciesWindow();
var cm=this.getApp().calculateWidthAndHeight(this,0.6,0.6);
this.storePoliciesWindow.set({width:cm[K],height:cm[cg]});
this.getDesktop().add(this.storePoliciesWindow,{top:bV,left:cj});
}this.storePoliciesWindow._initialize(this.getStoreName(),this.getStoreNumber(),this.getStoreType());
this.storePoliciesWindow.getVisibility()!=N?this.storePoliciesWindow.open():null;
},_contactSeller:function(){if(!this.dialogWindow){this.dialogWindow=new grfind.window.DialogWindow();
var co=this.getApp().calculateWidthAndHeight(this,0.7,0.7);
this.dialogWindow.set({width:co[K],height:co[cg]});
this.getDesktop().add(this.dialogWindow,{top:cj,left:cj});
}var cn=bU+this.getItemId()+bk+this.getStoreType();
this.dialogWindow._initialize(this.getStoreName(),this.getStoreNumber(),this.getStoreType(),cn,this.getApp().getFloatingEmail());
this.dialogWindow.getVisibility()!=N?this.dialogWindow.open():null;
},_viewSellerAbout:function(){if(!this.aboutSellerWindow){this.aboutSellerWindow=new grfind.window.AboutSellerWindow();
var cq=this.getApp().calculateWidthAndHeight(this,0.6,0.6);
this.aboutSellerWindow.set({width:cq[K],height:cq[cg]});
this.getDesktop().add(this.aboutSellerWindow,{top:bA,left:bx});
}this.aboutSellerWindow._initialize(this.getStoreNumber(),this.getStoreType());
this.aboutSellerWindow.getVisibility()!=N?this.aboutSellerWindow.open():null;
},_doButton:function(cu,cv){switch(cu){case S:{this._viewSellerPolicies();
};
break;
case cd:{this._contactSeller();
};
break;
case W:{this._viewSellerAbout();
};
break;
case P:{cv?this.cosmeticBoxRight.show():this.cosmeticBoxRight.exclude();
cv?this.imageViewer._initialize(this.getImages().split(I)):null;
};
break;
case ch:{this.setRequestedRecordIndex(0);
this._loadItem();
};
break;
case G:{if(this.getCurrentIndex()-1>=0){this.setRequestedRecordIndex(this.getCurrentIndex()-1);
this._loadItem();
}};
break;
case F:{if(this.getCurrentIndex()+1<=this.getMaxIndex()){this.setRequestedRecordIndex(this.getCurrentIndex()+1);
this._loadItem();
}};
break;
case H:{this.setRequestedRecordIndex(this.getMaxIndex());
this._loadItem();
};
break;
default:{this.getApp().message(bO+cu);
};
}}}});
})();
(function(){var m="splitter",l="slider",k="mousedown",j="mouseout",i="mousemove",h="mouseup",g="losecapture",f="active",d="horizontal",c="vertical",E="knob",D="Integer",C="height",B="row-resize",A="move",z="maxHeight",w="width",v="_applyOrientation",u="mouseover",t="splitpane",r="qx.ui.splitpane.Pane",s="_applyOffset",p="minHeight",q="minWidth",n="col-resize",o="maxWidth";
qx.Class.define(r,{extend:qx.ui.core.Widget,construct:function(bm){arguments.callee.base.call(this);
this.__sf=[];
if(bm){this.setOrientation(bm);
}else{this.initOrientation();
}this.addListener(k,this._onMouseDown);
this.addListener(h,this._onMouseUp);
this.addListener(i,this._onMouseMove);
this.addListener(j,this._onMouseOut);
this.addListener(g,this._onMouseUp);
},properties:{appearance:{refine:true,init:t},offset:{check:D,init:6,apply:s},orientation:{init:d,check:[d,c],apply:v}},members:{__sg:null,__sh:false,__si:null,__sj:null,__sk:null,__sl:null,__sm:null,__sf:null,_createChildControlImpl:function(T){var U;

switch(T){case l:U=new qx.ui.splitpane.Slider(this);
U.exclude();
this._add(U,{type:T});
break;
case m:U=new qx.ui.splitpane.Splitter(this);
this._add(U,{type:T});
U.addListener(A,this._onSplitterMove,this);
if(qx.bom.client.Engine.OPERA){U.addListener(u,this._onSplitterMouseOver,U);
}break;
}return U||arguments.callee.base.call(this,T);
},_applyOrientation:function(F,G){var H=this.getChildControl(l);
var K=this.getChildControl(m);
this.__sk=F===d;
var J=this._getLayout();

if(J){J.dispose();
}var I=F===c?new qx.ui.splitpane.VLayout:new qx.ui.splitpane.HLayout;
this._setLayout(I);
K.removeState(G);
K.addState(F);
K.getChildControl(E).removeState(G);
K.getChildControl(E).addState(F);
H.removeState(G);
H.addState(F);
},_applyOffset:function(L,M){var N=this.getChildControl(m);

if(M===0){N.removeListener(k,this._onMouseDown,this);
N.removeListener(i,this._onMouseMove,this);
N.removeListener(j,this._onMouseOut,this);
N.removeListener(h,this._onMouseUp,this);
N.removeListener(g,this._onMouseUp,this);
this.addListener(k,this._onMouseDown);
this.addListener(h,this._onMouseUp);
this.addListener(i,this._onMouseMove);
this.addListener(j,this._onMouseOut);
this.addListener(g,this._onMouseUp);
}
if(L===0){this.removeListener(k,this._onMouseDown);
this.removeListener(h,this._onMouseUp);
this.removeListener(i,this._onMouseMove);
this.removeListener(j,this._onMouseOut);
this.removeListener(g,this._onMouseUp);
N.addListener(k,this._onMouseDown,this);
N.addListener(i,this._onMouseMove,this);
N.addListener(j,this._onMouseOut,this);
N.addListener(h,this._onMouseUp,this);
N.addListener(g,this._onMouseUp,this);
}},add:function(a,b){if(b==null){this._add(a);
}else{this._add(a,{flex:b});
}this.__sf.push(a);
},remove:function(S){this._remove(S);
qx.lang.Array.remove(this.__sf,S);
},getChildren:function(){return this.__sf;
},_onMouseDown:function(e){if(!e.isLeftPressed()||!this._isNear()){return;
}var bn=this.getChildControl(m);
var bp=bn.getContainerLocation();
var bo=this.getContentLocation();
this.__sg=this.__sk?e.getDocumentLeft()-bp.left+bo.left:e.getDocumentTop()-bp.top+bo.top;
var br=this.getChildControl(l);
var bq=bn.getBounds();
br.setUserBounds(bq.left,bq.top,bq.width,bq.height);
br.setZIndex(bn.getZIndex()+1);
br.show();
this.__sh=true;
e.getCurrentTarget().capture();
e.stop();
},_onMouseMove:function(e){this._setLastMousePosition(e.getDocumentLeft(),e.getDocumentTop());
if(this.__sh){this.__so();
var bd=this.getChildControl(l);
var be=this.__sl;

if(this.__sk){bd.setDomLeft(be);
}else{bd.setDomTop(be);
}e.stop();
}else{this.__sn();
}},_onMouseOut:function(e){this._setLastMousePosition(-1,-1);
this.__sn();
},_onMouseUp:function(e){if(!this.__sh){return;
}this._finalizeSizes();
var R=this.getChildControl(l);
R.exclude();
this.__sh=false;
this.releaseCapture();
this.__sn();
e.stop();
},_onSplitterMove:function(){this.__sn();
},_onSplitterMouseOver:function(){this.addState(f);
},_finalizeSizes:function(){var Y=this.__sl;
var V=this.__sm;

if(Y==null){return;
}var bb=this._getChildren();
var ba=bb[2];
var W=bb[3];
var X=ba.getLayoutProperties().flex;
var bc=W.getLayoutProperties().flex;
if((X!=0)&&(bc!=0)){ba.setLayoutProperties({flex:Y});
W.setLayoutProperties({flex:V});
}else{if(this.__sk){ba.setWidth(Y);
W.setWidth(V);
}else{ba.setHeight(Y);
W.setHeight(V);
}}},_isNear:function(){var bf=this.getChildControl(m);
var bh=bf.getBounds();
var bj=bf.getContainerLocation();
var bg=this.getOffset();
if(!bj){return;
}var bk=this.__si;
var bl=bh.width;
var bi=bj.left;

if(bl<bg){bi-=Math.floor((bg-bl)/2);
bl=bg;
}
if(bk<bi||bk>(bi+bl)){return false;
}var bk=this.__sj;
var bl=bh.height;
var bi=bj.top;

if(bl<bg){bi-=Math.floor((bg-bl)/2);
bl=bg;
}
if(bk<bi||bk>(bi+bl)){return false;
}return true;
},__sn:function(){var P=this.getChildControl(m);
var Q=this.getApplicationRoot();
if(this.__sh||this._isNear()){var O=this.__sk?n:B;
this.setCursor(O);
Q.setGlobalCursor(O);
P.addState(f);
}else if(P.hasState(f)){this.resetCursor();
Q.resetGlobalCursor();
P.removeState(f);
}},__so:function(){if(this.__sk){var bu=q,bB=w,bv=o,bz=this.__si;
}else{var bu=p,bB=C,bv=z,bz=this.__sj;
}var bA=this._getChildren();
var bs=bA[2].getSizeHint();
var bx=bA[3].getSizeHint();
var by=bA[2].getBounds()[bB]+bA[3].getBounds()[bB];
var bw=bz-this.__sg;
var bt=by-bw;
if(bw<bs[bu]){bt-=bs[bu]-bw;
bw=bs[bu];
}else if(bt<bx[bu]){bw-=bx[bu]-bt;
bt=bx[bu];
}if(bw>bs[bv]){bt+=bw-bs[bv];
bw=bs[bv];
}else if(bt>bx[bv]){bw+=bt-bx[bv];
bt=bx[bv];
}this.__sl=bw;
this.__sm=bt;
},_isActiveDragSession:function(){return this.__sh;
},_setLastMousePosition:function(x,y){this.__si=x;
this.__sj=y;
}},destruct:function(){this.__sf=null;
}});
})();
(function(){var a="qx.ui.splitpane.Slider";
qx.Class.define(a,{extend:qx.ui.core.Widget,properties:{allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false}}});
})();
(function(){var e="center",d="knob",c="middle",b="qx.ui.splitpane.Splitter",a="vertical";
qx.Class.define(b,{extend:qx.ui.core.Widget,construct:function(h){arguments.callee.base.call(this);
if(h.getOrientation()==a){this._setLayout(new qx.ui.layout.HBox(0,e));
this._getLayout().setAlignY(c);
}else{this._setLayout(new qx.ui.layout.VBox(0,c));
this._getLayout().setAlignX(e);
}this._createChildControl(d);
},properties:{allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{_createChildControlImpl:function(f){var g;

switch(f){case d:g=new qx.ui.basic.Image;
this._add(g);
break;
}return g||arguments.callee.base.call(this,f);
}}});
})();
(function(){var c="slider",b="splitter",a="qx.ui.splitpane.VLayout";
qx.Class.define(a,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(o,p){var F=this._getLayoutChildren();
var length=F.length;
var B,E;
var r,q,z,s;

for(var i=0;i<length;i++){B=F[i];
E=B.getLayoutProperties().type;

if(E===b){q=B;
}else if(E===c){z=B;
}else if(!r){r=B;
}else{s=B;
}}
if(r&&s){var H=r.getLayoutProperties().flex;
var u=s.getLayoutProperties().flex;

if(H==null){H=1;
}
if(u==null){u=1;
}var G=r.getSizeHint();
var x=q.getSizeHint();
var y=s.getSizeHint();
var t=G.height;
var C=x.height;
var D=y.height;

if(H>0&&u>0){var v=H+u;
var w=p-C;
var t=Math.round((w/v)*H);
var D=w-t;
var A=qx.ui.layout.Util.arrangeIdeals(G.minHeight,t,G.maxHeight,y.minHeight,D,y.maxHeight);
t=A.begin;
D=A.end;
}else if(H>0){t=p-C-D;

if(t<G.minHeight){t=G.minHeight;
}
if(t>G.maxHeight){t=G.maxHeight;
}}else if(u>0){D=p-t-C;

if(D<y.minHeight){D=y.minHeight;
}
if(D>y.maxHeight){D=y.maxHeight;
}}r.renderLayout(0,0,o,t);
q.renderLayout(0,t,o,C);
s.renderLayout(0,t+C,o,D);
}else{q.renderLayout(0,0,0,0);
if(r){r.renderLayout(0,0,o,p);
}else if(s){s.renderLayout(0,0,o,p);
}}},_computeSizeHint:function(){var n=this._getLayoutChildren();
var length=n.length;
var f,e,m;
var g=0,j=0,h=0;
var k=0,l=0,d=0;

for(var i=0;i<length;i++){f=n[i];
m=f.getLayoutProperties();
if(m.type===c){continue;
}e=f.getSizeHint();
g+=e.minHeight;
j+=e.height;
h+=e.maxHeight;

if(e.minWidth>k){k=e.minWidth;
}
if(e.width>l){l=e.width;
}
if(e.maxWidth>d){d=e.maxWidth;
}}return {minHeight:g,height:j,maxHeight:h,minWidth:k,width:l,maxWidth:d};
}}});
})();
(function(){var c="slider",b="splitter",a="qx.ui.splitpane.HLayout";
qx.Class.define(a,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(o,p){var F=this._getLayoutChildren();
var length=F.length;
var C,E;
var r,q,z,s;

for(var i=0;i<length;i++){C=F[i];
E=C.getLayoutProperties().type;

if(E===b){q=C;
}else if(E===c){z=C;
}else if(!r){r=C;
}else{s=C;
}}
if(r&&s){var H=r.getLayoutProperties().flex;
var t=s.getLayoutProperties().flex;

if(H==null){H=1;
}
if(t==null){t=1;
}var G=r.getSizeHint();
var w=q.getSizeHint();
var y=s.getSizeHint();
var D=G.width;
var B=w.width;
var A=y.width;

if(H>0&&t>0){var u=H+t;
var v=o-B;
var D=Math.round((v/u)*H);
var A=v-D;
var x=qx.ui.layout.Util.arrangeIdeals(G.minWidth,D,G.maxWidth,y.minWidth,A,y.maxWidth);
D=x.begin;
A=x.end;
}else if(H>0){D=o-B-A;

if(D<G.minWidth){D=G.minWidth;
}
if(D>G.maxWidth){D=G.maxWidth;
}}else if(t>0){A=o-D-B;

if(A<y.minWidth){A=y.minWidth;
}
if(A>y.maxWidth){A=y.maxWidth;
}}r.renderLayout(0,0,D,p);
q.renderLayout(D,0,B,p);
s.renderLayout(D+B,0,A,p);
}else{q.renderLayout(0,0,0,0);
if(r){r.renderLayout(0,0,o,p);
}else if(s){s.renderLayout(0,0,o,p);
}}},_computeSizeHint:function(){var n=this._getLayoutChildren();
var length=n.length;
var f,e,m;
var k=0,l=0,d=0;
var g=0,j=0,h=0;

for(var i=0;i<length;i++){f=n[i];
m=f.getLayoutProperties();
if(m.type===c){continue;
}e=f.getSizeHint();
k+=e.minWidth;
l+=e.width;
d+=e.maxWidth;

if(e.minHeight>g){g=e.minHeight;
}
if(e.height>j){j=e.height;
}
if(e.maxHeight>h){h=e.maxHeight;
}}return {minWidth:k,width:l,maxWidth:d,minHeight:g,height:j,maxHeight:h};
}}});
})();
(function(){var w="",v="25%",u="GET",t="resource/stores/",s="Store Policies for ",r="getSellerPolices",q="/policies.html",p="requestRetry",o="completed",n="Loading policies ... ",j="Store Policies",m="white",l="text/plain",i="grfind.window.StorePoliciesWindow",h="auto",k="/";
qx.Class.define(i,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:j,showMinimize:false});
this.set({resizableTop:false});
this.reqBox=new grfind.ReqBox();
var g=new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
g.set({padding:10,backgroundColor:m});
this.html=new qx.ui.embed.Html(w).set({overflowY:h});
this.reqBox.addListener(p,function(e){this._initialize(this.getStoreName(),this.getStoreNumber(),this.getStoreType());
},this);
g.add(this.html,{flex:1});
this.add(g,{edge:0});
this.add(this.reqBox,{top:v,left:v});
},properties:{app:{init:null},storeName:{init:null},storeNumber:{init:null},storeType:{init:null}},members:{_initialize:function(a,b,c){this.setStoreName(a);
this.setStoreNumber(b);
this.setStoreType(c);
this.setCaption(s+this.getStoreName());
this.html.setHtml(w);
var d=t+b+k+c+q;
var f=new grfind.HttpRequest(d,u,l,2000,null);

if(f){f.addListener(o,function(e){this.html.setHtml(e.getData());
},this);
this.reqBox.start(f,r,n);
}}}});
})();
(function(){var l="Loading ...",k="20%",j="resource/stores/",i="/about.html",h="grfind.window.AboutSellerWindow",g="load",f="white",d="About The seller",c="/",b="25%";
qx.Class.define(h,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:d,resizableTop:false,showMinimize:false});
var a=new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
a.set({padding:10,backgroundColor:f});
this.loadingMessage=new qx.ui.basic.Atom(l);
this.iFrame=new qx.ui.embed.Iframe().set({decorator:null});
this.iFrame.addListener(g,function(e){this.loadingMessage.hide();
},this);
a.add(this.iFrame,{flex:1});
this.add(a,{edge:0});
this.add(this.loadingMessage,{top:b,left:k});
},properties:{app:{init:null}},members:{_initialize:function(m,n){this.iFrame.setSource(null);
this.loadingMessage.show();
qx.ui.core.queue.Manager.flush();
qx.event.Timer.once(function(){this.iFrame.setSource(j+m+c+n+i);
},this,100);
}}});
})();
(function(){var q="dirtyResponse",p="execute",o="You have unsaved changes",n="close",m="Warning",l="white",k="Discard Changes and continue",j="Stay where I am",i="discard",h="#ff0000",c="stay",g="center",f="Discard Changes and Close",b="_changeMessage",a="grfind.window.DirtyWindow",d="bold";
qx.Class.define(a,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:m,modal:true,showMinimize:false,showMaximize:false,showClose:false});
this.set({resizableTop:false});
var u=new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
u.set({padding:10,backgroundColor:l});
var v=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:g}));
this.messageLabel=new qx.ui.basic.Atom(o);
this.messageLabel.set({rich:true,padding:5,decorator:null,textColor:h,font:d});
this.discardButton=new qx.ui.form.Button(k);
this.stayButton=new qx.ui.form.Button(j);
this.closeAnyWayButton=new qx.ui.form.Button(f);
this.discardButton.addListener(p,function(e){this.fireDataEvent(q,i);
this.close();
},this);
this.stayButton.addListener(p,function(e){this.fireDataEvent(q,c);
this.close();
},this);
this.closeAnyWayButton.addListener(p,function(e){this.fireDataEvent(q,n);
this.close();
},this);
v.add(this.messageLabel);
u.add(v);
u.add(this.discardButton);
u.add(this.closeAnyWayButton);
u.add(this.stayButton);
this.add(u,{edge:0});
},properties:{app:{init:null},message:{init:o,apply:b}},members:{_initialize:function(t){if(t==n){this.closeAnyWayButton.show();
this.discardButton.exclude();
}else{this.closeAnyWayButton.exclude();
this.discardButton.show();
}},_applyMessage:function(r,s){this.messageLabel.setLabel(r);
}}});
})();
(function(){var m='width',l='height',k="white",j="14%",i="system",h="store",g="8%",f="account",d="14px sans-serif",c="15px sans-serif",F="11%",E="18%",D="dialogs",C="ManageWindow - unknown button was pressed ",B="Manage grFind",A="Account Management",z="grfind.manage.window.ManageWindow",y="group",w="userLogout",v="System Status",t="",u="transparent",r="Store Management",s="edit",p="2%",q="5%",n="hidden",o="atom";
qx.Class.define(z,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas);
this.set({caption:B,useMoveFrame:true,showMinimize:false});
this.set({resizableTop:false});
var a=new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
a.set({padding:8,backgroundColor:k,font:qx.bom.Font.fromString(c)});
this.desktop=new qx.ui.window.Desktop(new qx.ui.window.Manager());
this.desktop.set({backgroundColor:k,font:qx.bom.Font.fromString(d)});
this.getApp().addListener(w,function(e){this.setVisibility(n);
},this);
a.add(this._createToolbar());
a.add(this.desktop,{flex:1});
this.add(a,{edge:0});
},properties:{app:{init:null}},members:{_ruDirty:function(){var b=this.desktop.getChildren();

for(var x=0;x<b.length;x++){if(b[x]._ruDirty&&b[x]._ruDirty()){return true;
}}return false;
},_initialize:function(){this._reset();
},_reset:function(){var L=this.desktop.getChildren();

for(var x=0;x<L.length;x++){L[x].close?L[x].close():null;
}var L=this.toolbar.getChildren();

for(var x=0;x<L.length;x++){L[x].set({backgroundColor:u});
}},_createToolbar:function(){var I=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({padding:4,decorator:y});
var J=[[v,i],[A,f],[r,h]];
this.toolbar=new qx.ui.container.SlideBar().set({padding:2,backgroundColor:k});
this.toolbar.setLayout(new qx.ui.layout.HBox(10));

for(var x=0;x<J.length;x++){this.toolbar.add(new grfind.Button(this,o,J[x][1],J[x][0],null));
}I.add(this.toolbar,{edge:0});
return I;
},_doSystem:function(){if(!this.systemStausWindow){this.systemStatusWindow=new grfind.manage.window.SystemStatusWindow(this);
var K=this.getApp().calculateWidthAndHeight(this,0.7,0.7);
this.systemStatusWindow.set({width:K[m],height:K[l]});
this.desktop.add(this.systemStatusWindow,{top:p,left:q});
}this.systemStatusWindow.open();
this.systemStatusWindow._initialize();
},_doAccount:function(){if(!this.accountWindow){this.accountWindow=new grfind.manage.window.AccountWindow(this);
var M=this.getApp().calculateWidthAndHeight(this,0.7,0.7);
this.accountWindow.set({width:M[m],height:M[l]});
this.desktop.add(this.accountWindow,{top:g,left:g});
}this.accountWindow.open();
this.accountWindow._initialize();
},_doStore:function(){if(!this.storeInformationWindow){this.storeInformationWindow=new grfind.manage.window.StoreInformationWindow(this);
var N=this.getApp().calculateWidthAndHeight(this,0.7,0.7);
this.storeInformationWindow.set({width:N[m],height:N[l]});
this.desktop.add(this.storeInformationWindow,{top:j,left:F});
}this.storeInformationWindow.open();
this.storeInformationWindow._initialize(t,s);
},_doDialogs:function(){if(!this.dialogManageWindow){this.dialogManageWindow=new grfind.manage.window.DialogManageWindow(this);
var O=this.getApp().calculateWidthAndHeight(this,0.7,0.7);
this.dialogManageWindow.set({width:O[m],height:O[l]});
this.desktop.add(this.dialogManageWindow,{top:E,left:j});
}this.dialogManageWindow.open();
this.dialogManageWindow._initialize();
},_doButton:function(G,H){switch(G){case i:{this._doSystem();
};
break;
case f:{this._doAccount();
};
break;
case h:{this._doStore();
};
break;
case D:{this._doDialogs();
};
break;
default:{this.getApp().userMessage(C+G);
};
}}}});
})();
(function(){var e="System Status",d="grFind uses a javascript framework on the client (Qooxdoo) and a python http server (CherryPy) that is hosted at Webfaction.  It uses the ZODB as its data store.<br/><br/>grFind will go down for scheduled maintenance (loosely scheduled), mainly to backup the database, once each day.  This will occur early in the day or late at night (EST) and should not last more than ten minutes.",c="grfind.manage.window.SystemStatusWindow",b="white",a="16px sans-serif";
qx.Class.define(c,{extend:qx.ui.window.Window,construct:function(f){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:e,showMinimize:false});
this.set({resizableTop:false});
var g=new qx.ui.container.Composite(new qx.ui.layout.VBox(10));
g.set({padding:40,backgroundColor:b,font:qx.bom.Font.fromString(a)});
var h=new qx.ui.embed.Html(d);
g.add(h,{flex:1});
this.add(g,{edge:0});
},properties:{app:{init:null}},members:{_ruDirty:function(){return false;
},_initialize:function(){this.info("systemStatusCanvas._initialize ");
}}});
})();
(function(){var p="",o="application/json",n="saveAccountInfo",m="getAccountInfo",l="completed",k="POST",j="white",i="atom",h="14px sans-serif",g="apply-changes",bh='execute',bg="10%",bf="remove-account",be='msg',bd="20%",bc="cancel",bb="Cancel",ba="Remove Account",Y="removeAccountFromDatabase",X="beforeClose",x="grfind.manage.window.AccountWindow",y="dirtyResponse",u='changeValue',v="application-header-logout",s='account-creation-time',t="Loading account info ... ",q="Remove Account Now",r='width',B="Your account number is ",C="Saving account info ... ",K="Account Management",I="discard",P="input",M="middle",T="16px sans-serif",R='account-number',E="#ff0000",W="Account Contact Email",V="Removing account ... ",U="Your account was created on ",D="Your account number is",G="main",H="AccountCanvas - unknown button was pressed ",J="Your account was created on",L="Apply Changes",N="requestRetry",Q="5%",S="I know that pressing the <b> Remove Account Now</b> button will remove my account <i>including</i> all of my data",z="close",A="Remove your account permanently from grFind. This cannot be undone. You will not be able to log in anymore until you create a new account.  Proceed with caution.<br/><br/>Note: ALL STORES WILL BE REMOVED.",F='contact-email',O="30%";
qx.Class.define(x,{extend:qx.ui.window.Window,construct:function(br){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:K,resizableTop:false,showMinimize:false});
this.desktop=new qx.ui.window.Desktop(new qx.ui.window.Manager());
this.desktop.set({padding:5,backgroundColor:j,font:qx.bom.Font.fromString(h)});
this.reqBox=new grfind.ReqBox();
this.dirtyWindow=new grfind.window.DirtyWindow();
var bs=new qx.ui.container.Composite(new qx.ui.layout.VBox(10));
bs.set({padding:10,backgroundColor:j,font:qx.bom.Font.fromString(h)});
;
this.createdOnLabel=new qx.ui.basic.Atom().set({opacity:0.7});
this.accountNumberLabel=new qx.ui.basic.Atom().set({opacity:0.7});
this.reqBox.addListener(N,function(e){switch(e.getData()){case m:{this._getAccountInfo();
};
break;
case n:{this._saveAccountInfo();
};
break;
default:{};
}},this);
this.addListener(X,function(e){if(!this.getForceClose()){if(this._ruDirty()){e.preventDefault();
this.dirtyWindow.open();
this.dirtyWindow.focus();
}}this.setForceClose(false);
},this);
this.dirtyWindow.addListener(y,function(e){switch(e.getData()){case I:case z:{this.setForceClose(true);
this.close();
};
break;
default:{};
}},this);
bs.add(this.createdOnLabel);
bs.add(this.accountNumberLabel);
bs.add(this._createBody(),{flex:1});
bs.add(this._createToolbar());
this.desktop.add(bs,{edge:0});
this.desktop.add(this.reqBox,{top:O,left:bg});
this.desktop.add(this.dirtyWindow,{top:bd,left:bd});
this.add(this.desktop,{edge:0});
},properties:{app:{init:null},originalEmailValue:{init:null},forceClose:{init:false}},members:{_ruDirty:function(){return this._checkForDirty();
},_checkForDirty:function(){return this.emailTextField.getValue()!=this.getOriginalEmailValue();
},_initialize:function(){this.setForceClose(false);
this._reset();
this._getAccountInfo();
},_reset:function(){this.createdOnLabel.setLabel(J);
this.accountNumberLabel.setLabel(D);
this.emailTextField.setValue(p);
this.setOriginalEmailValue(p);
this.removeAccountWindow?this.removeAccountWindow.close():null;
},_updateState:function(){this.submitButton.setEnabled(this.emailTextField.getValue()!=this.getOriginalEmailValue());
},_getAccountInfo:function(){var bn=new grfind.HttpRequest(m,k,o,2000,{'session-key':this.getApp().getSessionKey()});

if(bn){bn.addListener(l,function(e){var bi=e.getData();
this.createdOnLabel.setLabel(U+bi[s]);
this.accountNumberLabel.setLabel(B+bi[R]);
this.emailTextField.setValue(bi[F]);
this.setOriginalEmailValue(this.emailTextField.getValue());
this._updateState();
},this);
this.reqBox.start(bn,m,t);
}},_saveAccountInfo:function(){var bo=new grfind.HttpRequest(n,k,o,2000,{'session-key':this.getApp().getSessionKey(),'contact-email':this.emailTextField.getValue()});

if(bo){bo.addListener(l,function(e){var bu=e.getData();
this.setOriginalEmailValue(this.emailTextField.getValue());
this.getApp().userMessage(bu[be]);
this._updateState();
},this);
this.reqBox.start(bo,n,C);
}},_createBody:function(){var a=new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
this.emailTextField=new qx.ui.form.TextField(p);
var b=new qx.ui.groupbox.GroupBox(W).set({contentPadding:2});
b.setLayout(new qx.ui.layout.HBox());
b.add(this.emailTextField,{flex:1});
this.emailTextField.addListener(P,function(e){this._updateState();
},this);
a.add(b);
return a;
},_createToolbar:function(){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox(15).set({alignY:M}));
this.submitButton=new grfind.Button(this,i,g,L,null);
this.removeAccountButton=new grfind.Button(this,i,bf,ba,null);
var bt=new qx.ui.basic.Atom(p);
this.cancelButton=new grfind.Button(this,i,bc,bb,null);
toolbar.add(this.submitButton);
toolbar.add(this.removeAccountButton);
toolbar.add(bt,{flex:1});
toolbar.add(this.cancelButton);
return toolbar;
},_createRemoveAccountWindow:function(){var w=new qx.ui.window.Window(ba);
w.setLayout(new qx.ui.layout.Canvas());
w.set({modal:true,showMinimize:false,showMaximize:false});
var bj=new qx.ui.container.Composite(new qx.ui.layout.VBox(20));
bj.set({padding:15,backgroundColor:j,font:qx.bom.Font.fromString(T)});
var bl=new qx.ui.basic.Label(A).set({rich:true,textColor:E});
this.confirmCheckBox=new qx.ui.form.CheckBox(S);
this.confirmCheckBox.set({decorator:G,padding:5,rich:true});
var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox());
this.applyButton=new qx.ui.form.Button(q);
var bm=new qx.ui.basic.Atom(p);
var bk=new qx.ui.form.Button(bb);
this.confirmCheckBox.addListener(u,function(e){this.applyButton.setEnabled(e.getData());
},this);
this.applyButton.addListener(bh,function(e){this._removeAccountNow();
},this);
bk.addListener(bh,function(e){this.removeAccountWindow.close();
},this);
toolbar.add(this.applyButton);
toolbar.add(bm,{flex:1});
toolbar.add(bk);
bj.add(bl,{flex:1});
bj.add(this.confirmCheckBox);
bj.add(toolbar);
w.add(bj,{edge:0});
return w;
},_removeAccountFromDatabase:function(){if(!this.removeAccountWindow){this.removeAccountWindow=this._createRemoveAccountWindow();
this.removeAccountWindow.set({width:this.getBounds()[r]*.7});
this.desktop.add(this.removeAccountWindow,{top:Q,left:bg});
}this.removeAccountWindow.open();
this.confirmCheckBox.setValue(false);
},_removeAccountNow:function(){var bq={'session-key':this.getApp().getSessionKey()};
var bp=new grfind.HttpRequest(Y,k,o,2000,bq);

if(bp){bp.addListener(l,function(e){var f=e.getData();
this.getApp().userMessage(f[be]);
this.close();
this.getApp()._doButton(v,null);
},this);
this.removeAccountWindow.close();
this.reqBox.start(bp,Y,V);
}},_doButton:function(c,d){switch(c){case g:{this._saveAccountInfo();
};
break;
case bf:{this._removeAccountFromDatabase();
};
break;
case bc:{this.setForceClose(true);
this.close();
};
break;
default:{this.getApp().userMessage(H+c);
};
}}}});
})();
(function(){var dd="",dc="atom",db="20%",da="application/json",cY="completed",cX="POST",cW='name',cV="edit",cU='msg',cT="createNewStore",cf="getUserStores",ce="create",cd="getStoreInformation",cc="removeStoreFromDatabase",cb='tab-name',ca="cancel",bY="online",bX="#ff0000",bW="Store Management",bV='online-status',dk="repair-database",dl="white",di="apply-changes",dj="remove-store",dg="saveStoreInformation",dh="legend",de="15%",df="About Your Store",dm='execute',dn="Cancel",cD="storeWasRemoved",cC=".png",cF=")",cE="Store Name",cH="create-new-store",cG="10%",cJ="resource/images/grfind/",cI='width',cB="help",cA="grfind-background",M="14px sans-serif",N="Money",O="dirtyResponse",P="houses",Q="fabric",R="check",S="Store Information Help",T="Email",U="input",V="Remove this store permanently. This cannot be undone. All of your data will be gone.  Proceed with caution.",ds="apartments",dr="store-manage-put-store-online",dq="discard",dp="Could not get a valid action. This should not happen",dw="offline",dv="cars",du="transparent",dt="Loading store information ... ",dy='store-email',dx="Help",bv="Store created on ",bw="resource",bt="antiques",bu="storeWasCreated",bz="close",bA="Take your store offline",bx="store-manage-contact-email",by="Create Store Now",br="auto",bs="visible",be="middle",bd="group",bg="Check Database",bf="application-repair-database",ba="Online",Y="store-about",bc="StoreInformation - could not get valid action",bb="crafts",X="Please enter a contact email and a storename",W="Houses",bF='store-about-info',bG="Remove This Store",bH="Store was created on",bI="18px sans-serif",bB="land",bC="StoreInformationWindow - unknown button was pressed ",bD='height',bE="books",bJ="Antiques & Collectibles",bK="16px sans-serif",bo="Create New Store",bn="Getting store list ... ",bm="Remove Store",bl="Saving store information... ",bk="Movies",bj="Fabric",bi="Remove ",bh="Music",bq="Contact Email",bp="Store Policies",bL="grfind.manage.window.StoreInformationWindow",bM="The About Your Store length exceeds 50000 characters. Please reduce its size or contact us",bN="Arts & Crafts",bO="Store policies length exceeds 50000 characters. Please reduce its size or contact us",bP='creation-time',bQ="You are editing a store in (",bR="Books",bS="kitchen",bT="top",bU="click",cj='store-policies',ci="movies",ch="store-policies",cg="Remove Store Now",cn="music",cm="requestRetry",cl="Apartments",ck="store-manage-put-store-offline",cp="store-manage-store-name",co='user-store-list',cw="You are creating a store in (",cx="Land",cu="trucks",cv="StoreInformationWindow - could not get valid action",cs="Apply Changes",ct="createstorehelp",cq="Trucks",cr='store-name',cy="atom-selected",cz="Removing store ... ",cM="You Have Successfully Created a New Store",cL="small",cO="money",cN="Put your store online",cQ="Offline",cP="Kitchen",cS="Enter Policy Information",cR="30%",cK="Cars";
qx.Class.define(bL,{extend:qx.ui.window.Window,construct:function(z){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:bW,modal:true,resizableTop:false,showMinimize:false});
var D=new qx.ui.window.Desktop(new qx.ui.window.Manager());
D.set({backgroundColor:dl,font:qx.bom.Font.fromString(M)});
this.setDesktop(D);
this.reqBox=new grfind.ReqBox();
this.dirtyWindow=new grfind.window.DirtyWindow();
var B=new qx.ui.splitpane.Pane().set({decorator:null});
var C=this._createStoreCanvas();
qx.ui.core.FocusHandler.getInstance().addRoot(C);
this.getApp().addListener(cD,function(e){this._initialize(null,cV);
},this);
this.dirtyWindow.addListener(O,function(e){switch(e.getData()){case dq:{this._changeStore();
};
break;
case bz:{this.setForceClose(true);
this.close();
};
break;
default:{};
}},this);
this.reqBox.addListener(cm,function(e){switch(e.getData()){case cT:{this._saveStoreInformation();
};
break;
case dg:{this._saveStoreInformation();
};
break;
case cd:{this._getStoreInformation();
};
break;
case cf:{this._loadStoreList();
};
break;
case cc:{this._removeStoreNow();
};
break;
default:{};
}},this);
this.leftSide=this.getApp()._createCosmeticCanvas(this._createStoreList());
var A=this.getApp()._createCosmeticCanvas(C);
B.add(this.leftSide,2);
B.add(A,8);
D.add(B,{edge:0});
D.add(this.dirtyWindow,{top:db,left:db});
D.add(this.reqBox,{top:cR,left:db});
this.add(D,{edge:0});
},properties:{app:{init:null},desktop:{init:null},storeType:{init:null},action:{init:null},repairAction:{init:null},openFlag:{init:false},selectedAtom:{init:null},requestedAtom:{init:null},forceClose:{init:false},oldOnlineRadioButton:{init:null},oldStoreEmail:{init:null},oldStoreName:{init:null},oldPoliciesHtml:{init:null},oldAboutHtml:{init:null}},members:{_ruDirty:function(){return false;
},_reset:function(){this.setForceClose(false);
this.onlineRadioButton.setValue(true);
this.storeEmailTextField.setValue(dd);
this.storeNameTextField.setValue(dd);
this.policiesTextEditor.setValue(dd);
this.aboutTextEditor.setValue(dd);
this.createdOnLabel.setLabel(bH);
},_changeStore:function(){this.setSelectedAtom(this.getRequestedAtom());
this.setStoreType(this.getSelectedAtom().getUserData(cW));
var t=this.storeList.getChildren();

for(var x=0;x<t.length;x++){t[x].set({decorator:bd});
}this.getSelectedAtom().set({decorator:cy});
this._getStoreInformation();
},_initialize:function(f,g){this.setStoreType(f);
this.setAction(g);
this._reset();

switch(this.getAction()){case ce:{this._updateState();
};
break;
case cV:{this._loadStoreList();
};
break;
default:{this.getApp().userMessage(cv);
this.close();
};
}},_loadStoreList:function(){var l=this.storeList.getChildren();

for(var x=0;x<l.length;x++){l[x].exclude();
}var k={'session-key':this.getApp().getSessionKey()};
var j=new grfind.HttpRequest(cf,cX,da,2000,k);

if(j){j.addListener(cY,function(e){var i=e.getData();
var h=i[co];

for(var x=0;x<h.length;x++){for(var y=0;y<l.length;y++){if(l[y].getUserData(cW)==h[x]){l[y].show();
}}}
for(var x=0;x<l.length;x++){if(l[x].getVisibility()==bs){this.setRequestedAtom(l[x]);
this._changeStore();
break;
}}},this);
this.reqBox.start(j,cf,bn);
}},_updateContext:function(d){this._updateState();
},_updateState:function(){var dP=qx.lang.String.trim(this.storeEmailTextField.getValue());
var dQ=qx.lang.String.trim(this.storeNameTextField.getValue());

if(!dP){var dO=this.getApp().getFloatingEmail();
dO?this.storeEmailTextField.setValue(dO):null;
}
if(!dQ){var dN=this.getApp().getUserStoreNumber();
dN?this.storeNameTextField.setValue(dN):null;
}switch(this.getAction()){case ce:{this.leftSide.exclude();
this.createStoreNowButton.show();
this.submitButton.exclude();
this.cancelButton.show();
this.setCaption(bo);
this.whichStoreLabel.setLabel(cw+this.getStoreType()+cF);
this.createdOnLabel.exclude();
this.removeStoreButton.exclude();
this.checkDatabaseButton.exclude();
};
break;
case cV:{this.createStoreNowButton.exclude();
this.submitButton.show();
this.cancelButton.exclude();
this.leftSide.show();
this.setCaption(bW);
this.whichStoreLabel.setLabel(bQ+this.getStoreType()+cF);
this.createdOnLabel.show();
this.removeStoreButton.show();
this.checkDatabaseButton.show();
};
break;
default:{this.getApp().userMessage(dp);
};
}},_updateStoreList:function(u){var v=this.storeList.getChildren();

for(var x=0;x<v.length;x++){if(u==v[x].getUserData(cW)){v[x].show();
break;
}}},_createStoreList:function(){var E=new qx.ui.container.Scroll();
E.set({decorator:cA});
this.storeList=new qx.ui.container.Composite(new qx.ui.layout.VBox(5)).set({padding:5,backgroundColor:dl});
var F=[[bJ,bt],[cl,ds],[bN,bb],[bR,bE],[cK,dv],[bj,Q],[W,P],[cP,bS],[cx,bB],[N,cO],[bk,ci],[bh,cn],[cq,cu]];

for(var x=0;x<F.length;x++){var G=new qx.ui.basic.Atom(F[x][0],cJ+F[x][1]+cC).set({padding:5,width:br,iconPosition:bT});
this.getApp().highlightOnMouseOver(G);
G.addListener(bU,function(e){this.setRequestedAtom(e.getCurrentTarget());
this._ruDirty()?this.dirtyWindow.open():this._changeStore();
},this);
this.storeList.add(G);
G.setUserData(cW,F[x][1]);
G.exclude();
}E.add(this.storeList,{edge:0});
return E;
},_createStoreCanvas:function(){var n=new qx.ui.container.Composite(new qx.ui.layout.VBox(3)).set({padding:12,decorator:cA});
this.createdOnLabel=new qx.ui.basic.Atom().set({opacity:0.7,font:cL});
this.whichStoreLabel=new qx.ui.basic.Atom().set({opacity:1.0,textColor:bX,font:qx.bom.Font.fromString(bI)});
var q=new qx.ui.container.Composite(new qx.ui.layout.HBox(15)).set({padding:[0,0,10,0]});
var p=new qx.ui.form.RadioGroup();
this.onlineRadioButton=new qx.ui.form.RadioButton(cN);
this.offlineRadioButton=new qx.ui.form.RadioButton(bA);
var m=new qx.ui.groupbox.GroupBox(bq).set({contentPadding:2});
m.setLayout(new qx.ui.layout.Grow());
this.storeEmailTextField=new qx.ui.form.TextField(dd);
var s=new qx.ui.groupbox.GroupBox(cE).set({contentPadding:2});
s.setLayout(new qx.ui.layout.Grow());
this.storeNameTextField=new qx.ui.form.TextField(dd);
this.policiesTextEditor=new grfind.HtmlEditor(this.getDesktop(),cS,true);
this.aboutTextEditor=new grfind.HtmlEditor(this.getDesktop(),df,true);
var o=new qx.ui.tabview.TabView();
var r=new qx.ui.tabview.Page(bp,null);
r.setUserData(cb,ch);
r.setLayout(new qx.ui.layout.Canvas());
r.add(this.policiesTextEditor,{edge:0});
o.add(r);
var r=new qx.ui.tabview.Page(df,null);
r.setUserData(cb,Y);
r.setLayout(new qx.ui.layout.Canvas());
r.add(this.aboutTextEditor,{edge:0});
o.add(r);
this.getApp().createTooltip(this.onlineRadioButton,dr,ba);
this.getApp().createTooltip(this.offlineRadioButton,ck,cQ);
this.getApp().createTooltip(m.getChildControl(dh),bx,T);
this.getApp().createTooltip(s.getChildControl(dh),cp,cE);
this.storeEmailTextField.addListener(U,function(e){this._updateState();
},this);
m.add(this.storeEmailTextField,{edge:0});
s.add(this.storeNameTextField,{edge:0});
p.add(this.onlineRadioButton);
p.add(this.offlineRadioButton);
q.add(this.onlineRadioButton);
q.add(this.offlineRadioButton);
n.add(this.createdOnLabel);
n.add(this.whichStoreLabel);
n.add(q);
n.add(m);
n.add(s);
n.add(o,{flex:1});
n.add(this._createToolbar());
return n;
},_getStoreInformation:function(){var dL=new grfind.HttpRequest(cd,cX,da,2000,{'session-key':this.getApp().getSessionKey(),'store-type':this.getStoreType()});

if(dL){dL.addListener(cY,function(e){var dB=e.getData();
this.createdOnLabel.setLabel(bv+dB[bP]);
this.storeEmailTextField.setValue(dB[dy]);
this.storeNameTextField.setValue(dB[cr]);
this.policiesTextEditor.setValue(dB[cj]);
this.aboutTextEditor.setValue(dB[bF]);
dB[bV]&&dB[bV]==bY?this.onlineRadioButton.setValue(true):this.offlineRadioButton.setValue(true);
this._updateContext();
},this);
this.reqBox.start(dL,cd,dt);
}},_saveStoreInformation:function(){switch(this.getAction()){case ce:{var dG=cT;
};
break;
case cV:{var dG=dg;
};
break;
default:{this.getApp().userMessage(bc);
return;
};
}var dH;
this.onlineRadioButton.getValue()?dH=bY:dH=dw;
var dK=qx.lang.String.trim(this.storeEmailTextField.getValue());
var dF=qx.lang.String.trim(this.storeNameTextField.getValue());
var dI=qx.lang.String.trim(this.policiesTextEditor.getValue());
var dJ=qx.lang.String.trim(this.aboutTextEditor.getValue());

if(!dK||!dF){this.getApp().userMessage(X);
return;
}
if(dI.length>50000){this.getApp().message(bO);
return;
}
if(dJ.length>50000){this.getApp().message(bM);
return;
}var dE=new grfind.HttpRequest(dG,cX,da,2000,{'session-key':this.getApp().getSessionKey(),'store-type':this.getStoreType(),'online-status':dH,'store-email':dK,'store-name':dF,'store-policies':dI,'about-seller':dJ});

if(dE){dE.addListener(cY,function(e){var dR=e.getData();

if(dG==cT){this.close();
this.getApp().fireDataEvent(bu,this.getStoreType());
this.getApp().userMessage(dR[cU],cM);
}else{this.getApp().userMessage(dR[cU]);
}},this);
this.reqBox.start(dE,dG,bl);
}},_createToolbar:function(){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox(15).set({alignY:be})).set({padding:3});
this.createStoreNowButton=new grfind.Button(this,dc,cH,by,null);
this.createStoreNowButton.exclude();
this.submitButton=new grfind.Button(this,dc,di,cs,null);
this.cancelButton=new grfind.Button(this,dc,ca,dn,null);
this.helpButton=new grfind.Button(this,dc,cB,dx,null);
this.checkDatabaseButton=new grfind.Button(this,dc,dk,bg,null);
this.removeStoreButton=new grfind.Button(this,dc,dj,bG,null);
toolbar.add(this.createStoreNowButton);
toolbar.add(this.submitButton);
toolbar.add(this.checkDatabaseButton);
toolbar.add(this.removeStoreButton);
toolbar.add(this.helpButton);
toolbar.add(this.cancelButton);
return toolbar;
},_userMessage:function(dM){if(!this.userMessageWindow){this.userMessageWindow=new grfind.window.UserMessageWindow();
this.getDesktop().add(this.userMessageWindow,{top:db,left:db});
}this.userMessageWindow._writeMessage(dM);
this.userMessageWindow.open();
},_help:function(){if(!this.helpWindow){this.helpWindow=new grfind.window.HtmlWindow();
this.helpWindow.set({width:this.getBounds()[cI]*.7,height:this.getBounds()[bD]*.7});
this.getDesktop().add(this.helpWindow,{top:cG,left:de});
}this.helpWindow.open();
this.helpWindow._initialize(bw,ct,S);
},_createRemoveStoreWindow:function(){var w=new qx.ui.window.Window(bm);
w.setLayout(new qx.ui.layout.Canvas());
w.set({modal:true,showMinimize:false,showMaximize:false});
var H=new qx.ui.container.Composite(new qx.ui.layout.VBox(20));
H.set({padding:15,backgroundColor:du,font:qx.bom.Font.fromString(bK)});
this.removeLabel=new qx.ui.basic.Atom();
var K=new qx.ui.basic.Label(V).set({rich:true,textColor:bX});
var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox());
var J=new qx.ui.form.Button(cg);
var L=new qx.ui.basic.Atom(dd);
var I=new qx.ui.form.Button(dn);
J.addListener(dm,function(e){this._removeStoreNow();
},this);
I.addListener(dm,function(e){this.removeStoreWindow.close();
},this);
toolbar.add(J);
toolbar.add(L,{flex:1});
toolbar.add(I);
H.add(this.removeLabel);
H.add(K,{flex:1});
H.add(toolbar);
w.add(H,{edge:0});
return w;
},_repairDatabase:function(){this.getApp()._doButton(bf,{'store-type':this.getStoreType(),'repair-action':this.getRepairAction(),'open-flag':this.getOpenFlag()});
},_removeStoreFromDatabase:function(){if(!this.removeStoreWindow){this.removeStoreWindow=this._createRemoveStoreWindow();
this.removeStoreWindow.set({width:this.getBounds()[cI]*.7});
this.getDesktop().add(this.removeStoreWindow,{top:cG,left:de});
}this.removeStoreWindow.open();
var dC=bi+this.getStoreType();
var dD=cJ+this.getStoreType()+cC;
this.removeLabel.set({label:dC,icon:dD});
},_removeStoreNow:function(){var dA={'session-key':this.getApp().getSessionKey(),'store-type':this.getStoreType()};
var dz=new grfind.HttpRequest(cc,cX,da,2000,dA);

if(dz){dz.addListener(cY,function(e){var c=e.getData();
this.getApp().userMessage(c[cU]);
this.getApp().fireDataEvent(cD,this.getStoreType());
},this);
this.removeStoreWindow.close();
this.reqBox.start(dz,cc,cz);
}},_doButton:function(a,b){switch(a){case cH:{this._saveStoreInformation();
};
break;
case di:{this._saveStoreInformation();
};
break;
case cB:{this._help();
};
break;
case ca:{this.close();
};
break;
case dk:{this.setRepairAction(R);
this.setOpenFlag(true);
this._repairDatabase();
};
break;
case dj:{this._removeStoreFromDatabase();
};
break;
default:{this.getApp().userMessage(bC+a);
};
}}}});
})();
(function(){var r="",q="15px sans-serif",p="resource/grfind/",o=".html",n="10%",m="text/html",l="Loading Help ... ",k="grfind.window.HtmlWindow",j="requestRetry",i="completed",c="getResource",h="GET",g="white",b="/",a="auto",f="Html Window",d="30%";
qx.Class.define(k,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:f,resizableTop:false,showMinimize:false,showMaximize:false});
this.reqBox=new grfind.ReqBox();
var u=new qx.ui.container.Composite(new qx.ui.layout.Grow()).set({padding:10,backgroundColor:g,font:qx.bom.Font.fromString(q)});
this.html=new qx.ui.embed.Html(r).set({overflowY:a});
this.reqBox.addListener(j,function(e){this._loadResource();
},this);
u.add(this.html);
this.add(u,{edge:0});
this.add(this.reqBox,{top:d,left:n});
},properties:{app:{init:null},resourceType:{init:null},resourceName:{init:null}},members:{_initialize:function(v,w,x,y){this.setResourceType(v);
this.setResourceName(w);
x?this.setCaption(x):null;
y?this.html.setHtml(y):null;

if(v&&w){this._loadResource();
}},_loadResource:function(){var s=p+this.getResourceType()+b+this.getResourceName()+o;
var t=new grfind.HttpRequest(s,h,m,2000,null);

if(t){t.addListener(i,function(e){this.html.setHtml(e.getData());
},this);
this.html.setHtml(r);
this.reqBox.start(t,c,l);
}}}});
})();
(function(){var S="application/json",R="vertical",Q="",P="completed",O="POST",N="white",M="Recipient",L="Sender",K="orientation",J="delete",by='value',bx="getDialogByKey",bw="getAllDialogsByUser",bv='input-timer',bu="atom",bt="14px sans-serif",bs="deleteDialogByKey",br="15px sans-serif",bq="10%",bp='changeSelection',ba="_applySearchField",bb='msg',X="deleteDialogsByKey",Y='dialog',V="grfind.manage.window.DialogManageWindow",W="interval",T="input",U="Orientation",bc="search",bd="Subject",bh="Date",bg="DialogManageWindow - unknown button was pressed ",bj="Getting dialog ... ",bi="Timestamp",bl="deleting dialog ... ",bk="Getting dialogs ... ",bf="horizontal",bo="Your Dialogs",bn="group",bm="Delete Selected",be="30%";
qx.Class.define(V,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:bo,resizableTop:false,showMinimize:false});
var b=new qx.ui.window.Desktop(new qx.ui.window.Manager());
b.set({padding:5,backgroundColor:N,font:qx.bom.Font.fromString(bt)});
this.setDesktop(b);
this.reqBox=new grfind.ReqBox();
var a=new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
a.set({padding:0,font:qx.bom.Font.fromString(br)});
this.body=this._createBody();
a.add(this._createHeader());
a.add(this.body,{flex:1});
a.add(this._createFooter());
b.add(a,{edge:0});
b.add(this.reqBox,{top:be,left:bq});
this.add(b,{edge:0});
},properties:{app:{init:null},desktop:{init:null},searchField:{init:null,apply:ba}},members:{_initialize:function(){this._fillTableWithData();
},_createHeader:function(){var g=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
return g;
},_applySearchField:function(){this._fillTableWithData();
},_createCosmeticCanvas:function(v){v.set({padding:4,backgroundColor:N});
var w=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({backgroundColor:N});
var x=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({decorator:bn});
x.add(v,{edge:4});
w.add(x,{edge:5});
return w;
},_createBody:function(){var m=new qx.ui.splitpane.Pane(R).set({decorator:null});
this.dialogContent=new qx.ui.embed.Html(Q);
this.dialogContent.set({minWidth:150});
var n=this._createCosmeticCanvas(this._createTableCanvas());
var l=this._createCosmeticCanvas(this.dialogContent);
m.add(n);
m.add(l);
return m;
},_createFooter:function(){var f=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
return f;
},_createTableCanvas:function(){var s=new qx.ui.container.Composite(new qx.ui.layout.VBox(3));
this.table=this._createTable();
s.add(this._createToolbar());
s.add(this.table,{flex:1});
return s;
},_createToolbar:function(){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox(10));
var A=new grfind.Button(this,bu,J,bm,null);
var B=new grfind.Button(this,bu,K,U,null);
var z=new qx.event.Timer();
z.addListener(W,function(e){e.getCurrentTarget().stop();
this.setSearchField(this.searchTextField.getValue());
this._fillTableWithData();
},this);
this.searchTextField=new qx.ui.form.TextField();
this.searchTextField.set({placeholder:bc,minWidth:80});
this.searchTextField.setUserData(bv,z);
this.searchTextField.addListener(T,function(e){e.getCurrentTarget().getUserData(bv).restartWith(750);
},this);
toolbar.add(A);
toolbar.add(B);
return toolbar;
},_deleteSelectedItems:function(){var k=this._getSelectedItems();
var j=new grfind.HttpRequest(X,O,S,6000,{'session-key':this.getApp().getSessionKey(),'item-list':k});

if(j){j.addListener(P,function(e){var r=e.getData();
this.getApp().userMessage(r[bb]);
this.dialogContent.setHtml(Q);
this._fillTableWithData();
},this);
this.reqBox.start(j,bs,bl);
}},_createTable:function(){var H=new qx.ui.table.model.Simple();
H.setColumns([bi,L,M,L,M,bh,bd]);
var I=new qx.ui.table.Table(H);
I.set({decorator:null});
I.setShowCellFocusIndicator(false);
I.setColumnWidth(3,120);
I.setColumnWidth(4,120);
I.setColumnWidth(5,120);
I.setColumnWidth(6,240);
I.getTableColumnModel().setColumnVisible(0,false);
I.getTableColumnModel().setColumnVisible(1,false);
I.getTableColumnModel().setColumnVisible(2,false);
I.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION);
I.getSelectionModel().addListener(bp,function(e){var q=this._getSelectedItems();

if(q){this._getDialogContent(q[0]);
}},this);
return I;
},_getDialogContent:function(C){try{var D=C[0];
var G=C[1];
var F=C[2];
}catch(y){}var E=new grfind.HttpRequest(bx,O,S,6000,{'session-key':this.getApp().getSessionKey(),'time-stamp':D,'sender':G,'recipient':F});

if(E){E.addListener(P,function(e){var d=e.getData();
this.dialogContent.setHtml(d[by][Y]);
},this);
this.reqBox.start(E,bx,bj);
}},_getSelectedItems:function(){var h=[];

if(this.table){var i=this.table.getTableModel();
this.table.getSelectionModel().iterateSelection(function(c){h.push([i.getValue(0,c),i.getValue(1,c),i.getValue(2,c)]);
},this);
}return h;
},_fillTableWithData:function(){var o=this.getSearchField();
!o?o=Q:null;
var p=new grfind.HttpRequest(bw,O,S,6000,{'session-key':this.getApp().getSessionKey(),'search-field':o});

if(p){p.addListener(P,function(e){this.table.getTableModel().setData(eval(e.getData()[by]));
this.table.getSelectionModel().clearSelection();

if(this.table.getTableModel().getRowCount()>0){this.table.getSelectionModel().setSelectionInterval(0,0);
}},this);
this.reqBox.start(p,bw,bk);
}},_doButton:function(t,u){switch(t){case J:{this._deleteSelectedItems();
};
break;
case K:{this.body.getOrientation()==R?this.body.setOrientation(bf):this.body.setOrientation(R);
};
break;
default:{this.getApp().userMessage(bg+t);
};
}}}});
})();
(function(){var r="check",q="repair",p="#ff0000",o="atom",n="repairDatabase",m="close",l="application/json",k="10%",j="You have errors in your database that prevent you from continuing.  You can try to repair them.  And then you can continue.",i='databaseCheckCompleted',P="Close",O="auto",N="16px sans-serif",M='msg',L="ERROR in your database",K="red-box",J="online",I="middle",H="Repair the Database",G="Check Database",y="Your Database is Good",z="",w="#blue",x="DatabaseRepairWindow - unknown button was pressed ",u="completed",v="POST",s="Database View & Repair",t='number-of-warnings',A="grfind-background",B="grfind.window.DatabaseRepairWindow",D="The Health of Your Database",C='number-of-errors',F="30%",E="Validating database ... ";
qx.Class.define(B,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:s,modal:true,resizableTop:false,showMinimize:false});
this.reqBox=new grfind.ReqBox();
var Q=new qx.ui.container.Composite(new qx.ui.layout.VBox(10));
Q.set({padding:[10,10,10,10],decorator:A});
Q.add(this._createDatabaseCanvas(),{flex:1});
Q.add(this._createToolbar());
this.add(Q,{edge:0});
this.add(this.reqBox,{top:F,left:k});
},properties:{app:{init:null},storeType:{init:null},action:{init:null},numberOfErrors:{init:null}},members:{_initialize:function(T,U){this.setStoreType(T);
this.setAction(U);
this._doDatabaseCheck();
},_createDatabaseCanvas:function(){var V=new qx.ui.container.Composite(new qx.ui.layout.VBox(10));
this.databaseLegend=new qx.ui.basic.Atom(D);
this.databaseLegend.set({textColor:p,font:qx.bom.Font.fromString(N)});
this.databaseHtml=new qx.ui.embed.Html(z).set({decorator:J});
this.databaseHtml.set({padding:[10,4,10,10],overflowY:O});
this.errorCanvas=new qx.ui.container.Composite(new qx.ui.layout.Grow());
this.errorCanvas.set({decorator:K,padding:5});
this.errorMessage=new qx.ui.basic.Atom(j);
this.errorMessage.set({rich:true,textColor:p});
this.errorCanvas.add(this.errorMessage);
V.add(this.databaseLegend);
V.add(this.databaseHtml,{flex:1});
V.add(this.errorCanvas);
return V;
},_createToolbar:function(){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox(15).set({alignY:I})).set({padding:[2,10,2,10]});
var S=new grfind.Button(this,o,r,G,null);
this.repairButton=new grfind.Button(this,o,q,H,null);
var R=new grfind.Button(this,o,m,P,null);
toolbar.add(S);
toolbar.add(this.repairButton);
toolbar.add(R);
return toolbar;
},_doDatabaseCheck:function(){var a=new grfind.HttpRequest(n,v,l,6000,{'session-key':this.getApp().getSessionKey(),'store-type':this.getStoreType(),'action':this.getAction()});

if(a){a.addListener(u,function(e){var d=e.getData();
var f=parseInt(d[C]);
var c=parseInt(d[t]);
var b=d[M];
this.databaseHtml.setHtml(b);

if(f>0){this.databaseLegend.set({label:L,textColor:p});
this.repairButton.setEnabled(true);
this.errorCanvas.show();
}else{this.databaseLegend.set({label:y,textColor:w});
this.errorCanvas.exclude();
this.repairButton.setEnabled(false);
}this.setNumberOfErrors(f);
this.getApp().fireDataEvent(i,{'number-of-errors':this.getNumberOfErrors()});
},this);
this.reqBox.start(a,n,E);
}},_doButton:function(g,h){switch(g){case q:{this.setAction(q);
this._doDatabaseCheck();
};
break;
case r:{this.setAction(r);
this._doDatabaseCheck();
};
break;
case m:{this.close();
};
break;
default:{this.getApp().userMessage(x+g);
};
}}}});
})();
(function(){var v='minimize-icon',u='window-type',s='atom',r='store-type',q="window",p="atom",n='window',m=".png",k='unused',j="close-all-windows",br='tooltip',bq="open-all",bp="close-window",bo="minimize-all",bn="close-other-windows",bm='from-cache',bl="resource/images/grfind/policies.png",bk="click",bj="resource/images/grfind/edit-",bi="WindowMaker - could Not Create Window - No WindowType",E="resource/images/grfind/",F="resource/images/grfind/batch-edit-",C="dialog",D="Open All Windows",A="resource/images/grfind/export.png",B="export",y="Close this window (",z="15px sans-serif",I="WindowMaker - could Not Create Window - No Window",J="resource/images/grfind/dialogs.png",R="grfind.WindowMaker",P="Close Other Windows",Y='width',T='left',be="item-edit",bc="batch-edit",L="grfind.window.ItemEditWindow  grfind.window.ItemViewWindow grfind.window.BatchEditWindow grfind.window.ExportWindow",bh="group",bg='top',bf="WindowMaker - unknown button was pressed ",K="item-view",N="Close All Windows",O="top-right",Q="Close This Window",S=")",U="appear",ba="clearCache",bd="small",G="item-view item-edit batch-edit export",H="store-policies",M="contextmenu",X="Minimize All Windows",W='id',V='height',bb="quick-add";
qx.Class.define(R,{extend:qx.ui.container.Composite,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.HBox());
this.setPadding([0,10,10,10]);
this.contextMenu=this._createContextMenu();
this.availableWindows=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
this.toBeDisposed=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
this.validWindowString=L;
this.validReuseString=G;
this.getApp().addListener(ba,function(e){this._clearCache(e.getData());
},this);
},properties:{app:{init:null}},members:{_clearCache:function(g){var i=this.availableWindows.getChildren();

for(var x=i.length-1;x>-1;x--){if(i[x].getUserData(r)==g){this.availableWindows.remove(i[x]);
}}},_minimizeAllWindows:function(){var bH=this.getChildren();

for(var x=bH.length-1;x>-1;x--){bH[x].getUserData(q).hide();
}},_closeAllWindows:function(){var bE=this.getChildren();

for(var x=bE.length-1;x>-1;x--){bE[x].getUserData(q).close();
}},_closeOtherWindows:function(){var a=this.selectedIcon.getUserData(n);
var c=this.getChildren();

for(var x=c.length-1;x>-1;x--){var w=c[x].getUserData(q);

if(w!=a){w.close();
}}},_openAllWindows:function(){var bD=this.getChildren();
for(var x=0;x<bD.length;x++){bD[x].getUserData(q).open();
}},_minimizeAllWindows:function(){var bI=this.getChildren();

for(var x=0;x<bI.length;x++){bI[x].getUserData(q).hide();
}},_createWindow:function(o){var bA=o[u];
var bB=o[r];
var by=o[br];
var bz=o[W];

if(qx.lang.String.contains(this.validReuseString,bA)){var bC=this.getApp().desktop.getChildren();

for(var x=0;x<bC.length;x++){var w=bC[x];

if(w.getUserData(k)&&bB==w.getUserData(r)&&bA==w.getUserData(u)){w.setUserData(k,null);
w.setUserData(bm,true);
this._createNewWindowIcon(w);
return w;
}}}var w=null;

if(bA){switch(bA){case C:{w=new grfind.window.DialogWindow(o);
w.setUserData(v,J);
};
break;
case K:{w=new grfind.window.ItemViewWindow(o);
w.setUserData(v,E+bB+m);
};
break;
case be:{w=new grfind.window.ItemEditWindow(o);
w.setUserData(v,bj+bB+m);
};
break;
case bc:{w=new grfind.window.BatchEditWindow(o);
w.setUserData(v,F+bB+m);
};
break;
case B:{w=new grfind.window.ExportWindow(o);
w.setUserData(v,A);
};
break;
case H:{w=new grfind.window.StorePoliciesWindow(o);
w.setUserData(v,bl);
};
break;
case bb:{w=new grfind.window.QuickAddWindow(o);
w.setUserData(v,bl);
};
break;
}
if(w){w.setUserData(u,bA);
w.setUserData(r,bB);
w.setUserData(br,by);
w.setUserData(bm,false);
this._createNewWindowIcon(w);
}else{this.getApp().userMessage(I);
}}else{this.getApp().userMessage(bi);
}return w;
},_createNewWindowIcon:function(w){var bv=w.getUserData(u);
var bx=w.getUserData(r);
var bt=w.getUserData(v);
var bu=bx;
var bw=new qx.ui.basic.Atom(null,bt);
bw.set({padding:3});
bw.setUserData(n,w);
bw.setUserData(r,bx);
bw.setUserData(u,bv);
w.setUserData(s,bw);
var bs=new qx.ui.tooltip.ToolTip(bu);
bs.set({showTimeout:100,rich:true,padding:5});
bs.setFont(qx.bom.Font.fromString(z));
bw.set({toolTip:bs});
bs.addListenerOnce(U,function(e){var b=e.getTarget().getBounds();
var t=b[bg];
var l=b[T];
var w=b[Y];
var h=b[V];
t=t-15;
e.getTarget().setUserBounds(l,t,w,h);
},this);
bw.addListener(bk,function(e){var w=e.getTarget().getUserData(n);
w.open();
},this);
bw.addListener(M,function(e){e.stop();
this.selectedIcon=e.getCurrentTarget();
this.contextMenu.placeToMouse(e);
this.contextMenu.show();
this.closeWindowButton.setButtonLabel(y+e.getTarget().getToolTip().getLabel()+S);
this.closeAllButton.setEnabled(this.getChildren().length!=1);
this.closeOtherButton.setEnabled(this.getChildren().length!=1);
},this);
this.add(bw);
},_removeWindow:function(w){if(w){if(qx.lang.String.contains(this.validWindowString,w.classname)){if(qx.lang.String.contains(this.validReuseString,w.getUserData(u))){w.setUserData(k,true);
w.hide();
}else{this.toBeDisposed.add(w);
}w.getUserData(s)?this.remove(w.getUserData(s)):null;
w.getUserData(s)?w.getUserData(s).destroy():null;
w.setUserData(s,null);
}}},_createContextMenu:function(){var bF=bd;
var bG=new qx.ui.popup.Popup(new qx.ui.layout.VBox());
bG.set({decorator:bh,padding:5});
this.openAllButton=new grfind.Button(this,p,bq,D,null,bF);
this.minimizeAllButton=new grfind.Button(this,p,bo,X,null,bF);
this.closeWindowButton=new grfind.Button(this,p,bp,Q,null,bF);
this.closeOtherButton=new grfind.Button(this,p,bn,P,null,bF);
this.closeAllButton=new grfind.Button(this,p,j,N,null,bF);
bG.addListener(bk,function(e){e.getCurrentTarget().hide();
},this);
bG.add(this.openAllButton);
bG.add(this.minimizeAllButton);
bG.add(this.closeAllButton);
bG.add(this.closeOtherButton);
bG.add(this.closeWindowButton);
bG.setPosition(O);
bG.setPadding([5,5,5,5]);
return bG;
},_doButton:function(d,f){switch(d){case bq:{this._openAllWindows();
};
break;
case bo:{this._minimizeAllWindows();
};
break;
case bp:{var w=this.selectedIcon.getUserData(n);
this._removeWindow(w);
};
break;
case bn:{this._closeOtherWindows();
};
break;
case j:{this._closeAllWindows();
};
break;
default:{this.getApp().userMessage(bf+d);
};
}}}});
})();
(function(){var dP="atom",dO='name',dN="",dM="edit",dL='38',dK='width',dJ="add",dI="white",dH='height',dG="changeValue",cu="visible",ct="application/json",cs='visibility',cr='3',cq="completed",cp="POST",co='left',cn='top',cm='36',cl="10%",dW='37',dX='field',dU='input-timer',dV="14px sans-serif",dS='group',dT="close",dQ='value',dR="input",dY='save-type',ea="30%",dp="getItemById",dn="saveItemForPreview",dr="online",dq="middle",dt='iframe',ds="saveItemById",dv="go-next",du="click",dm="\n",dl='0',z='dbname',A="We cannot validate edit data. Doing nothing",B='preview-key',C='msg',D="main",E="12%",F="item-edit-new",G="item-edit-preview",H="item-edit-cancel",I="item-edit-delete",eo="43%",en="bold",em="16%",el="go-first",es="15%",er="item-edit-add",eq="Cancel",ep="item-edit-reload",eu="Database Key: ",et="requestForceSearchServer",by=" ",bz="http",bw='field-label',bx="6%",bC="go-last",bD="go-previous",bA='41',bB="getAllItemsByStoreType",bu="You Must enter an Item Id",bv="Added on: ",bc="item-edit-save",bb="interval",be="item-edit-help",bd='40',X="item-edit-clone",W='label',ba="image-window",Y="Added on: Unknown Date",V="15px sans-serif",U="resource/blank.html",bJ="item",bK="Absolute Url",bL='cb',bM="Description",bF="Loading item ... ",bG="dirtyResponse",bH="In the box below, enter the image names that you want to show in your description.  You can have both absolute urls and images hosted at grFind.  Use the Image Manager to manage your images at grFind.  Enter the images one image per line.",bI="Choose the modules that you want to edit using the checkboxes above. Most often you will enter the Core and the Description. <br/><br/> You can also manage your images using the Image Manager.<br/><br/> There are many options, but basically you have an edit, preview, save cycle.<br/><br/> Click on the Help button on the bottom toolbar for detailed help.",bN="resource/images/grfind/leftarrowicon.png",bO="note",bn="Updated on: ",bm="http://",bl="Deleting item ... ",bk="offline",bj="previous",bi="move",bh="minimizeWindows",bg="Enter Description",br="field2",bq="purchase",bP="userLogout",bQ="field3",bR="storename",bS="Back to edit",bT="http://www.yourpage.com",bU="deleteItemsById",bV="Your description exceeds 50000 characters. Please make it smaller before you can save it",bW="Help",bX="Add",bY="Delete",cC="7%",cB="We cannot add this  group",cA="search",cz="deleteItemById",cG='2',cF="NEW ENTRY ",cE="changeFieldSelection",cD="Enter Item Description",cK="NEW ENTRY",cJ="grfind.window.ItemEditWindow",dh="first",di="40%",df="edithelp",dg="Choose a different record to edit",dd='changeSelection',de="replace",db="3%",dc=" of ",dj="execute",dk="Enter an absolute url to point to the page that you want the shopper to see when he views this item. This will take the place of your description.",dz='description-window',dy="Change",dB="Clone",dA="group",dD="changeVisibility",dC="Images in your Description",dF="resize",dE="This item will be cloned when it is saved.  Be sure to change the inventory number.",dx="field1",dw="60%",eh='image-manager-window',ei="(",ej="Online",ek="50%",ed="Preview",ee="addItemToStore",ef='4',eg="next",eb="Edit Item",ec="getEditBlocks",w=";",v="discard",u="description-window",t=")",s="default",r="18%",q="25%",p="item-preview",o="Could not get save type. Doing nothing.",n="deleteItemByKey",L="Your description exceeds 50000 characters. You can preview your item, but you will not be able to save it",M="EDIT - ",J="Getting items ... ",K="fieldGotFocus",P="resource/images/grfind/2rightarrowicon.png",Q="changeSelection",N="editor",O="8%",S="36%",T="Save",cO="2%",cI="requestRetry",cV="  ",cR="Reload",cx="5%",cv="resource/images/grfind/rightarrowicon.png",bf="Not all groups loaded properly",cy="getStoreInformation",bp="Could not get a valid edit type",bo="core",cd="red-box",ce="image-manager-window",cf="Saving item ... ",cg='1',ch="resource/images/grfind/2leftarrowicon.png",ci='online-flag',cj=" exceeds 500 characters. Please make it smaller before you can save it",ck="Last update on: Never Updated",ca="storenumber",cc="location",cw="Edit Help",cU="Last update on: ",cT="changeFieldValue",cS="resource",da="Saving item for preview... ",cY="storetype",cX="ItemEditWindow - unknown button ",cW="28%",cQ="Record Value does not have a length. Doing nothing",cP=" exceeds 500 characters. You can preview your item, but will not be able to save it",R="closeWindows",bt="Offline",bs="Add Item",cH="requestFieldChooser",bE="sold",cN='atom',cM="Image Manager",cL="last";
qx.Class.define(cJ,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({resizableTop:false});
var c=new qx.ui.window.Desktop(new qx.ui.window.Manager());
c.set({padding:10,backgroundColor:dI,font:qx.bom.Font.fromString(dV)});
this.setDesktop(c);
this.mainCanvas=new qx.ui.container.Composite(new qx.ui.layout.VBox(10));
this.mainCanvas.set({padding:10,backgroundColor:dI,font:qx.bom.Font.fromString(dV)});
this.reqBox=new grfind.ReqBox();
this.workCanvas=new qx.ui.container.Composite(new qx.ui.layout.Grow());
this.descriptionCanvas=this._createDescriptionCanvas();
this.httpCanvas=this._createHttpCanvas();
this.addListener(du,function(e){this.helpMessageBox?this.helpMessageBox.hide():null;
},this);
this.getApp().addListener(bP,function(e){this.close();
},this);
this.getApp().addListener(R,function(e){this.close();
},this);
this.getApp().addListener(bh,function(e){this.hide();
},this);
this.addListener(dT,function(e){this.getApp().windowMaker._removeWindow(this);
},this);
this.reqBox.addListener(cI,function(e){switch(e.getData()){case dp:{this._getItemById();
};
break;
case ee:{this._saveCurrentItem();
};
break;
case ds:{this._saveCurrentItem();
};
break;
case dn:{this._previewCurrentItem();
};
break;
case n:{this._deleteCurrentItem();
};
break;
case ec:{this._getFieldXref();
};
break;
case cy:{this._getStoreInformation();
};
break;
default:{};
}},this);
this.workCanvas.add(this.httpCanvas);
this.workCanvas.add(this.descriptionCanvas);
this.mainCanvas.add(this._createHeader());
this.mainCanvas.add(this.workCanvas,{flex:1});
this.mainCanvas.add(this._createEditToolbar());
c.add(this.mainCanvas,{edge:0});
c.add(this.reqBox,{top:ea,left:cl});
this.add(c,{edge:0});
},statics:{_windowInfo:{},_updateWindowInfo:function(fF,fG,top,fH,fI,fJ,fK){!grfind.window.ItemEditWindow._windowInfo[fF]?grfind.window.ItemEditWindow._windowInfo[fF]={}:null;
!grfind.window.ItemEditWindow._windowInfo[fF][fG]?grfind.window.ItemEditWindow._windowInfo[fF][fG]={}:null;
grfind.window.ItemEditWindow._windowInfo[fF][fG][cs]=fK;
grfind.window.ItemEditWindow._windowInfo[fF][fG][cn]=top;
grfind.window.ItemEditWindow._windowInfo[fF][fG][co]=fH;
grfind.window.ItemEditWindow._windowInfo[fF][fG][dK]=fI;
grfind.window.ItemEditWindow._windowInfo[fF][fG][dH]=fJ;
},_addBoundsListeners:function(gz,gA){gA.addListener(bi,function(e){try{var fU=e.getCurrentTarget().getBounds();
grfind.window.ItemEditWindow._updateWindowInfo(gz,e.getCurrentTarget().getUserData(dO),fU[cn],fU[co],fU[dK],fU[dH],e.getCurrentTarget().getVisibility());
}catch(gh){}},this);
gA.addListener(dF,function(e){try{var eM=e.getCurrentTarget().getBounds();
grfind.window.ItemEditWindow._updateWindowInfo(gz,e.getCurrentTarget().getUserData(dO),eM[cn],eM[co],eM[dK],eM[dH],e.getCurrentTarget().getVisibility());
}catch(eE){}},this);
gA.addListener(dD,function(e){try{var f=e.getCurrentTarget().getBounds();
grfind.window.ItemEditWindow._updateWindowInfo(gz,e.getCurrentTarget().getUserData(dO),f[cn],f[co],f[dK],f[dH],e.getCurrentTarget().getVisibility());
}catch(eF){}},this);
}},properties:{app:{init:null},desktop:{init:null},viewType:{init:null},descriptionDesktop:{init:null},storeNumber:{init:null},storeType:{init:null},storeName:{init:null},storeEmail:{init:null},itemId:{init:null},action:{init:null},previewFlag:{init:false},previewKey:{init:null},currentIndex:{init:null},requestedRecordIndex:{init:null},oldIndex:{init:0},going:{init:null},maxIndex:{init:0},numberOfItems:{init:0},oldOnlineStatus:{init:null},forceClose:{init:false},fieldXref:{init:{}},editBlockNames:{init:[]},editBlockFields:{init:{}},cloneFlag:{init:false}},members:{_createHelpMessage:function(){var ez=new qx.ui.container.Composite(new qx.ui.layout.Grow()).set({font:qx.bom.Font.fromString(V),padding:4,decorator:dA});
var eA=new qx.ui.basic.Atom(bI).set({padding:10,rich:true,backgroundColor:dI});
ez.addListener(du,function(e){e.getCurrentTarget().hide();
},this);
ez.add(eA);
return ez;
},_ruDirty:function(){return false;
},_checkForDirty:function(){return false;
if(qx.lang.Object.getLength(this.oldRecord)!=qx.lang.Object.getLength(this.currentRecord)){return true;
}
for(var x in this.currentRecord){if(!this.oldRecord[x]){return true;
}
if(this.oldRecord[x].toString()!=this.currentRecord[x].toString()){return true;
}}return false;
},_synchronize:function(){this.oldRecord={};

for(var x in this.currentRecord){this.oldRecord[x]=this.currentRecord[x];
}this.setOldOnlineStatus(this.onlineRadioButton.getValue());
},_initialize:function(gm,gn,go,gp,gq,gr){this.setAction(gm);
this.setStoreType(go);
this.setStoreNumber(this.getApp().getUserStoreNumber());
this.setFieldXref(gp);
this.setEditBlockNames(gq);
this.setEditBlockFields(gr);
this.mainCanvas.setEnabled(false);
this.itemPreviewWindow?this.itemPreviewWindow.close():null;
this.imageManagerWindow?this.imageManagerWindow.close():null;
switch(this.getAction()){case dM:{this.itemArray=gn;

try{this.setNumberOfItems(this.itemArray.length);
this.setMaxIndex(this.getNumberOfItems()-1);
}catch(ev){this.getApp().userMessage(A);
return;
}this.setRequestedRecordIndex(0);
this._getItemById();
};
break;
case dJ:{this._createNewRecord();
};
break;
default:{this.getApp().userMessage(bp);
};
}},_reInitialize:function(fT){this.setAction(dM);
this.mainCanvas.setEnabled(false);
this.itemPreviewWindow?this.itemPreviewWindow.close():null;
this.imageManagerWindow?this.imageManagerWindow.close():null;
this.itemArray=[fT];

try{this.setNumberOfItems(this.itemArray.length);
this.setMaxIndex(this.getNumberOfItems()-1);
}catch(eC){this.getApp().userMessage(A);
return;
}this.setRequestedRecordIndex(0);
this._getItemById();
},_resetForm:function(){if(this.getAction()==dM){this.currentRecord={};
this.setOldRecord={};
this.setCaption(eb);
}
if(this.getAction()==dJ){try{var fS=parseInt(this.currentRecord[cr])+1;

if(isNaN(fS)){var fQ=dN;
}else{var fQ=fS.toString();
}}catch(fN){var fQ=dN;
}this.currentRecord={};
this.setOldRecord={};
this.currentRecord[cg]=this.getStoreNumber();
this.currentRecord[cG]=this.getStoreType();
this.currentRecord[cr]=fQ;
this.setCaption(bs);
}this.fieldChooserWindow?this.fieldChooserWindow.close():null;
this.helpWindow?this.helpWindow.close():null;
this.reqBox.close();
var fR=this.getDescriptionDesktop().getChildren();

for(var x=0;x<fR.length;x++){fR[x]._reload?fR[x]._reload({}):null;
}this.onlineRadioButton.setValue(true);
this.imageLabel.setValue(dN);
this.imageTextArea?this.imageTextArea.setValue(dN):null;
this.httpTextField?this.httpTextField.setValue(dN):null;
this.textEditor?this.textEditor.setValue(dN):null;
},_createNewRecord:function(){this.setAction(dJ);
this._resetForm();
this.setNumberOfItems(1);
this.setMaxIndex(0);
this.itemArray=[];
this._doDescription(true);
},_chooseNewRecord:function(){if(!this.chooserCanvas){this.chooserCanvas=new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
this.chooserCanvas.set({backgroundColor:dI});
var eV=this._createChooserTable();
var eU=new qx.ui.form.Button(eq);
eU.addListener(dj,function(e){this.chooserCanvas.hide();
},this);
var eW=new qx.event.Timer();
eW.addListener(bb,function(e){e.getCurrentTarget().stop();
this._fillChooserTableWithData(this.searchTextField.getValue());
},this);
this.searchTextField=new qx.ui.form.TextField();
this.searchTextField.set({placeholder:cA});
this.searchTextField.setUserData(dU,eW);
this.searchTextField.addListener(dR,function(e){e.getCurrentTarget().getUserData(dU).restartWith(750);
},this);
this.chooserCanvas.add(new qx.ui.basic.Atom(dg).set({font:en}));
this.chooserCanvas.add(this.searchTextField);
this.chooserCanvas.add(this._createChooserTable(),{flex:1});
this.chooserCanvas.add(eU);
this.getDesktop().add(this.chooserCanvas,{edge:10});
}this.chooserCanvas.show();
this._fillChooserTableWithData(dN);
},_fillChooserTableWithData:function(ex){var ey=new grfind.HttpRequest(bB,cp,ct,6000,{'session-key':this.getApp().getSessionKey(),'store-type':this.getStoreType(),'search-field':ex});

if(ey){ey.addListener(cq,function(e){this.table.getTableModel().setData(eval(e.getData()[dQ]));
},this);
this.reqBox.start(ey,bB,J);
}},_doDescription:function(eN){eN?this.onlineRadioButton.setValue(true):this.offlineRadioButton.setValue(true);

if(this.getAction()==dM){this.keyLabel.setLabel(eu+this.currentRecord[cr]);
this.currentRecord[bd]?this.addedLabel.setLabel(bv+this.currentRecord[bd]):this.addedLabel.setLabel(Y);
this.currentRecord[bA]?this.updatedLabel.setLabel(cU+this.currentRecord[bA]):this.updatedLabel.setLabel(ck);
this.statusCanvas.show();
this.setCaption(M+this.getStoreType()+cV+this.currentRecord[ef]);
}else{this.setCaption(cF+this.getStoreType());
this.statusCanvas.hide();
}this.currentRecord[dW]?this.httpTextField.setValue(this.currentRecord[dW]):null;

if(this.currentRecord[cm]){this.imageLabel.setValue(this.currentRecord[cm].replace(/;/g,dm));
this.imageTextArea?this.imageTextArea.setValue(this.imageLabel.getValue()):null;
}this.getApp().createTooltip(this.getUserData(cN),null,this.getCaption(),0,true);
var eR=this.getStoreType();
!this.toggleToolbar.hasChildren()?this._populateToggleToolbar():null;
var eS=this.toggleToolbar.getChildren();
var eO=false;

for(var x=eS.length-1;x>=0;x--){var eQ=eS[x].getUserData(dO);
var eP=eS[x].getUserData(dS);

try{if(grfind.window.ItemEditWindow._windowInfo[eR][eQ][cs]==cu){eS[x].setValue(true);
eO=true;
}}catch(fo){}eP&&eP._reload?eP._reload(this.currentRecord):null;
}
try{if(grfind.window.ItemEditWindow._windowInfo[eR][dz][cs]==cu){this.descriptionCheckBox.setValue(true);
eO=true;
}}catch(eT){}
try{if(grfind.window.ItemEditWindow._windowInfo[eR][eh][cs]==cu){this.imageManagerCheckBox.setValue(true);
eO=true;
}}catch(d){if(!this.helpMessageBox&&!eO){this.helpMessageBox=this._createHelpMessage();
this.getDesktop().add(this.helpMessageBox,{top:ea,left:q,width:ek});
}}this.currentRecord[dL]&&this.textEditor?this.textEditor.setValue(this.currentRecord[dL]):null;
this._updateState();
this._synchronize();
this.mainCanvas.setEnabled(true);
this.itemPreviewWindow&&this.itemPreviewWindow.getVisibility()==cu?this._previewCurrentItem():null;
},_updateState:function(){if(this.getMaxIndex()>0){this.navCanvas.show();
this.firstButton.setEnabled(this.getCurrentIndex()>0);
this.previousButton.setEnabled(this.getCurrentIndex()>0);
this.nextButton.setEnabled(this.getCurrentIndex()<this.getMaxIndex());
this.lastButton.setEnabled(this.getCurrentIndex()<this.getMaxIndex());
var x=this.getCurrentIndex()+1;
var y=this.getMaxIndex()+1;
this.navLabel.setLabel(ei+x+dc+y+t);
}else{this.navCanvas.exclude();
}
if(this.getAction()==dJ){this.reloadButton.exclude();
this.deleteButton.exclude();
this.cloneButton.exclude();
this.statusCanvas.exclude();
}else{this.reloadButton.show();
this.deleteButton.show();
this.cloneButton.show();
this.statusCanvas.show();
}},_getItemById:function(){var gc=this.getRequestedRecordIndex();
var gf=this.itemArray[gc][0];
var gg=this.itemArray[gc][1];
var gd=this.itemArray[gc][2];
var gb=this.itemArray[gc][3];
var ge=new grfind.HttpRequest(dp,cp,ct,2000,{'session-key':this.getApp().getSessionKey(),'store-number':gf,'store-type':gg,'item-id':gb});

if(ge){ge.addListener(cq,function(e){var k=e.getData();
this._resetForm();
var l=k[ci];
this.currentRecord=k[dQ];
this.setCurrentIndex(gc);
this.setStoreNumber(gf);
this.setStoreType(gg);
this.setStoreName(gd);
this.setItemId(gb);
this._doDescription(l);
},this);
this.reqBox.start(ge,dp,bF);
}},_createChooserTable:function(){var fu=new qx.ui.table.model.Simple();
fu.setColumns([ca,cY,bR,bJ,dx,br,bQ]);
this.table=new qx.ui.table.Table(fu);
this.table.setShowCellFocusIndicator(false);
this.table.setColumnWidth(0,80);
this.table.setColumnWidth(1,80);
this.table.setColumnWidth(2,80);
this.table.setColumnWidth(3,80);
this.table.setColumnWidth(4,150);
this.table.setColumnWidth(5,150);
this.table.setColumnWidth(6,150);
this.table.getTableColumnModel().setColumnVisible(0,false);
this.table.getTableColumnModel().setColumnVisible(1,false);
this.table.getTableColumnModel().setColumnVisible(2,false);
this.table.getTableColumnModel().setColumnVisible(3,false);
this.table.getSelectionModel().addListener(dd,function(e){var m=this._getSelectedItem();

if(m){this._reInitialize(m);
this.chooserCanvas.hide();
}},this);
return this.table;
},_getSelectedItem:function(){var a=null;

if(this.table){var b=this.table.getTableModel();
this.table.getSelectionModel().iterateSelection(function(fV){var ga=b.getValue(0,fV);
var fX=b.getValue(1,fV);
var fY=b.getValue(2,fV);
var fW=b.getValue(3,fV);
a=[ga,fX,fY,fW];
},this);
}return a;
},_addGroup:function(eX,eY,fa,top,fb,fc,fd,fe,ff){try{var fg=eY.getUserData(dO);
var fh=this.getStoreType();
}catch(ft){this.getApp().userMessage(cB);
return;
}
try{fa=grfind.window.ItemEditWindow._windowInfo[fh][fg][cs];
top=grfind.window.ItemEditWindow._windowInfo[fh][fg][cn];
fb=grfind.window.ItemEditWindow._windowInfo[fh][fg][co];
fe=grfind.window.ItemEditWindow._windowInfo[fh][fg][dK];
ff=grfind.window.ItemEditWindow._windowInfo[fh][fg][dH];
eY.set({width:fe,height:ff});
eX.add(eY,{top:top,left:fb});
}catch(ew){try{eY.set({width:eX.getBounds()[dK]*fc,height:eX.getBounds()[dH]*fd});
}catch(e){eY.set({width:fe,height:ff});
}eX.add(eY,{top:top,left:fb});
}grfind.window.ItemEditWindow._addBoundsListeners(fh,eY);
},_createGroup:function(fz){var fB=this.getEditBlockFields();
var fE=fz.getUserData(W);
var fA=fz.getUserData(dO);
var fD=fB[fA];
var fC=new grfind.window.EditGroupWindow().set({caption:fA});
fC.addListener(cH,function(e){if(!this.fieldChooserWindow){this.fieldChooserWindow=new grfind.window.EditFieldChooserWindow();
this.fieldChooserWindow.addListener(cE,function(e){var eB=e.getData()[dX];
eB.setValue(e.getData()[dQ]);
},this);
this.getDescriptionDesktop().add(this.fieldChooserWindow,{top:cx,left:dw});
}
if(this.fieldChooserWindow.getVisibility()!=cu){this.fieldChooserWindow.open();
}this.fieldChooserWindow._initialize({'store-number':this.getStoreNumber(),'store-type':this.getStoreType(),'field':e.getData()[dX],'field-label':e.getData()[bw],'field-value':e.getData()[dX].getValue(),'dbname':e.getData()[z],'action':dM});
},this);
fC.addListener(cT,function(e){this.currentRecord[e.getData()[z]]=e.getData()[dQ];
},this);
fC.addListener(K,function(e){if(this.fieldChooserWindow&&this.fieldChooserWindow.getVisibility()==cu){this.fieldChooserWindow._initialize({'store-number':this.getStoreNumber(),'store-type':this.getStoreType(),'field':e.getData()[dX],'field-label':e.getData()[bw],'field-value':e.getData()[dX].getValue(),'dbname':e.getData()[z],'action':dM});
}},this);
fC._initialize(this.getStoreNumber(),this.getStoreType(),this.getFieldXref(),fA,fD);
fz.setUserData(dS,fC);
fC.setUserData(dO,fA);
fC.setUserData(bL,fz);

switch(fA){case bo:{this._addGroup(this.getDescriptionDesktop(),fC,false,E,db,.25,.8,250,350);
};
break;
case cc:{this._addGroup(this.getDescriptionDesktop(),fC,false,cl,cC,.25,.75,250,350);
};
break;
case N:{this._addGroup(this.getDescriptionDesktop(),fC,false,em,cl,.25,.75,250,350);
};
break;
case bq:{this._addGroup(this.getDescriptionDesktop(),fC,false,O,r,.25,.75,250,350);
};
break;
case bE:{this._addGroup(this.getDescriptionDesktop(),fC,false,E,cW,.25,.8,250,350);
};
break;
case bO:{this._addGroup(this.getDescriptionDesktop(),fC,false,em,eo,.50,.10,250,350);
};
break;
default:{this.getApp().userMessage(bf);
};
}return fC;
},_doDescriptionWindow:function(fM){if(fM){if(!this.descriptionWindow){this.descriptionWindow=new qx.ui.window.Window(bg);
this.descriptionWindow.set({showMinimize:false,resizableTop:false});
this.descriptionWindow.setLayout(new qx.ui.layout.Grow());
this.descriptionWindow.addListener(du,function(e){e.stop();
},this);
this.descriptionWindow.addListener(dT,function(e){this.descriptionCheckBox.setValue(false);
},this);
this.textEditor=this._createTextEditor();
this.descriptionWindow.add(this.textEditor);
this.descriptionWindow.setUserData(dO,u);
this._addGroup(this.getDescriptionDesktop(),this.descriptionWindow,false,di,eo,.5,.5,300,250);
}this.descriptionWindow.open();
}else{this.descriptionWindow.close();
}},_createTextEditor:function(){this.textEditor=new grfind.TextEditor(this.getDesktop(),cD,true);
this.currentRecord[dL]?this.textEditor.setValue(this.currentRecord[dL]):this.textEditor.setValue(dN);
this.textEditor.addListener(dR,function(e){this.currentRecord[dL]=this.textEditor.getValue();
},this);
this.textEditor.addListener(dG,function(e){this.currentRecord[dL]=this.textEditor.getValue();
},this);
return this.textEditor;
},_doImageManagerWindow:function(eH){if(eH){if(!this.imageManagerWindow){this.imageManagerWindow=new grfind.window.ImageManagerWindow(this,this.getStoreType());
this.imageManagerWindow.addListener(dT,function(e){this.imageManagerCheckBox.setValue(false);
this.imageWindow.close();
},this);
this._createImageWindow();
this.imageManagerWindow.addListener(Q,function(e){var fy=e.getData();
var fx=this.imageTextArea.getValue();

if(fy&&!qx.lang.String.contains(fx,fy)){if(fx.length>0){this.imageTextArea.setValue(fx+dm+fy);
}else{this.imageTextArea.setValue(fy);
}}},this);
this.imageManagerWindow.setUserData(dO,ce);
this._addGroup(this.getDescriptionDesktop(),this.imageManagerWindow,false,bx,S,.6,.85,300,250);
}this.imageWindow.open();
this.imageManagerWindow.open();
this.imageManagerWindow._initialize(this.getStoreNumber(),this.getStoreType());
}else{this.imageWindow.close();
this.imageManagerWindow.close();
}},_createImageWindow:function(){this.imageWindow=new qx.ui.window.Window(dC);
this.imageWindow.set({resizableTop:false,showMinimize:false,showMaximize:false,showClose:false});
this.imageWindow.setLayout(new qx.ui.layout.Grow());
var gx=new qx.ui.container.Composite(new qx.ui.layout.VBox(8)).set({padding:10,backgroundColor:dI});
var gy=new qx.ui.basic.Atom(bH).set({rich:true});
this.imageTextArea=new qx.ui.form.TextArea(dN).set({backgroundColor:dI});
this.imageTextArea.setValue(this.imageLabel.getValue());
this.imageTextArea.addListener(dR,function(e){this.imageLabel.setValue(this.imageTextArea.getValue());
},this);
this.imageTextArea.addListener(dG,function(e){this.imageLabel.setValue(this.imageTextArea.getValue());
},this);
gx.add(gy);
gx.add(this.imageTextArea,{flex:1});
this.imageWindow.add(gx);
this.imageWindow.setUserData(dO,ba);
this._addGroup(this.getDescriptionDesktop(),this.imageWindow,false,bx,cO,.32,.85,300,250);
},_createHeader:function(){this.statusCanvas=new qx.ui.container.Composite(new qx.ui.layout.HBox(20).set({alignY:dq}));
this.statusCanvas.set({paddingLeft:0,enabled:false,font:s});
this.keyLabel=new qx.ui.basic.Atom(eu);
this.addedLabel=new qx.ui.basic.Atom(bv);
this.updatedLabel=new qx.ui.basic.Atom(bn);
this.statusCanvas.add(this.keyLabel);
this.statusCanvas.add(this.addedLabel);
this.statusCanvas.add(this.updatedLabel);
return this.statusCanvas;
},_createHttpCanvas:function(){var gs=new qx.ui.container.Composite(new qx.ui.layout.VBox(5)).set({padding:[5],decorator:D,backgroundColor:dI});
var gu=new qx.ui.basic.Atom(dk).set({rich:true,font:en});
var gw=new qx.ui.container.Composite(new qx.ui.layout.HBox(10).set({alignY:dq}));
var gv=new qx.event.Timer();
gv.addListener(bb,function(e){e.getCurrentTarget().stop();
var j=this.httpTextField.getValue();

if(j.length>7&&qx.lang.String.startsWith(j,bm)){this.httpTextField.getUserData(dt).setSource(j);
}else{this.httpTextField.getUserData(dt).setSource(U);
}},this);
var gt=new qx.ui.embed.Iframe().set({decorator:null});
this.httpTextField=new qx.ui.form.TextField(dN);
this.httpTextField.setPlaceholder(bT);
this.httpTextField.setUserData(dt,gt);
this.httpTextField.setUserData(dU,gv);
this.httpTextField.addListener(dR,function(e){e.getCurrentTarget().getUserData(dU).restartWith(750);
},this);
this.httpTextField.addListener(dG,function(e){e.getCurrentTarget().getUserData(dU).restartWith(100);
},this);
gw.add(new qx.ui.basic.Label(bK).set({enabled:false}));
gw.add(this.httpTextField,{flex:1});
gs.add(gu);
gs.add(gw);
gs.add(gt,{flex:1});
return gs;
},_populateToggleToolbar:function(){var fm=this.getEditBlockNames();

for(var x=0;x<fm.length;x++){var fk=fm[x][0];
var fl=fm[x][1];
var fj=new qx.ui.form.CheckBox(fk);
fj.setUserData(dO,fl);
fj.setUserData(W,fk);
this.toggleToolbar.add(fj);
fj.addListener(dG,function(e){var gi=e.getCurrentTarget().getUserData(dS);

if(!gi){var gi=this._createGroup(e.getCurrentTarget());
gi._reload(this.currentRecord);
}e.getData()?gi.open():gi.close();
},this);
}this.descriptionCheckBox=new qx.ui.form.CheckBox(bM);
this.imageManagerCheckBox=new qx.ui.form.CheckBox(cM);
this.descriptionCheckBox.addListener(dG,function(e){this._doDescriptionWindow(e.getData());
},this);
this.imageManagerCheckBox.addListener(dG,function(e){this._doImageManagerWindow(e.getData());
},this);
this.toggleToolbar.add(this.descriptionCheckBox);
this.toggleToolbar.add(this.imageManagerCheckBox);
var fn=this.toggleToolbar.getChildren();

for(var x=fn.length-1;x>=0;x--){var fl=fn[x].getUserData(dO);
var fi=fn[x].getUserData(dS);
}},_createDescriptionCanvas:function(){var fs=new qx.ui.window.Desktop(new qx.ui.window.Manager());
fs.set({padding:5,decorator:D,backgroundColor:dI,font:qx.bom.Font.fromString(dV)});
this.setDescriptionDesktop(fs);
var fr=new qx.ui.container.Composite(new qx.ui.layout.VBox(10));
this.toggleToolbar=new qx.ui.container.SlideBar().set({padding:4,decorator:null,font:qx.bom.Font.fromString(dV)});
this.toggleToolbar.setLayout(new qx.ui.layout.HBox(15));
this.imageLabel=new qx.ui.form.TextArea(dN).set({enabled:false});
fr.add(this.toggleToolbar);
fr.add(this.imageLabel,{flex:1});
fs.add(fr,{edge:0});
return fs;
},_createEditToolbar:function(){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.Flow(10));
this.addButton=new grfind.Button(this,dP,er,bX,null);
this.newButton=new grfind.Button(this,dP,F,dy,null);
this.cloneButton=new grfind.Button(this,dP,X,dB,null);
this.saveButton=new grfind.Button(this,dP,bc,T,null);
this.previewButton=new grfind.Button(this,dP,G,ed,null);
this.reloadButton=new grfind.Button(this,dP,ep,cR,null);
this.cancelButton=new grfind.Button(this,dP,H,eq,null);
this.deleteButton=new grfind.Button(this,dP,I,bY,null);
this.helpButton=new grfind.Button(this,dP,be,bW,null);
this.saveHBox=new qx.ui.container.Composite(new qx.ui.layout.HBox(5));
var i=new qx.ui.form.RadioGroup();
this.onlineRadioButton=new qx.ui.form.RadioButton(ej).set({padding:[2,4,2,4]});
this.onlineRadioButton.setValue(true);
this.onlineRadioButton.setDecorator(dr);
this.offlineRadioButton=new qx.ui.form.RadioButton(bt).set({padding:[2,4,2,4]});
this.onlineRadioButton.addListener(dG,function(e){if(e.getData()){this.onlineRadioButton.setDecorator(dr);
this.offlineRadioButton.setDecorator(null);
}else{this.onlineRadioButton.setDecorator(null);
this.offlineRadioButton.setDecorator(cd);
}},this);
this.navCanvas=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignY:dq}));
this.firstButton=new grfind.Button(this,dP,el,null,ch);
this.previousButton=new grfind.Button(this,dP,bD,null,bN);
this.nextButton=new grfind.Button(this,dP,dv,null,cv);
this.lastButton=new grfind.Button(this,dP,bC,null,P);
this.navLabel=new qx.ui.basic.Atom().set({paddingLeft:10});
this.navCanvas.add(this.firstButton);
this.navCanvas.add(this.previousButton);
this.navCanvas.add(this.nextButton);
this.navCanvas.add(this.lastButton);
this.navCanvas.add(this.navLabel);
this.saveHBox.add(this.offlineRadioButton);
this.saveHBox.add(this.onlineRadioButton);
i.add(this.onlineRadioButton);
i.add(this.offlineRadioButton);
toolbar.add(this.addButton);
toolbar.add(this.newButton);
toolbar.add(this.cloneButton);
toolbar.add(this.saveHBox);
toolbar.add(this.saveButton);
toolbar.add(this.previewButton);
toolbar.add(this.reloadButton);
toolbar.add(this.cancelButton);
toolbar.add(this.deleteButton);
toolbar.add(this.helpButton);
toolbar.add(this.navCanvas);
return toolbar;
},_formatImageArray:function(){var fv=this.imageLabel.getValue().split(dm);
var fw=[];

for(var x=0;x<fv.length;x++){fv[x]?fw.push(fv[x]):null;
}
if(fw.length>0){this.currentRecord[cm]=fw.join(w);
}},_buildCurrentRecord:function(){if(this.onlineRadioButton.getValue()){var eL=dr;
}else{var eL=bk;
}var eJ={'session-key':this.getApp().getSessionKey(),'store-number':this.getStoreNumber(),'store-type':this.getStoreType(),'put-online-status':eL};
this.currentRecord[dl]?delete this.currentRecord[dl]:null;
this.currentRecord[cm]?delete this.currentRecord[cm]:null;
this.currentRecord[dW]?delete this.currentRecord[dW]:null;
this.currentRecord[dL]?delete this.currentRecord[dL]:null;
this.getViewType()==bz?this.currentRecord[dl]=bz:null;
this._formatImageArray();
this.httpTextField&&this.httpTextField.getValue()?this.currentRecord[dW]=this.httpTextField.getValue():null;
this.textEditor&&this.textEditor.getValue()?this.currentRecord[dL]=this.textEditor.getValue():null;
var eI;

for(var x in this.currentRecord){try{eI=this.currentRecord[x].length;
}catch(eD){this.getApp().userMessage(cQ);
return null;
}
switch(x){case dL:{eI>50000&&this.getPreviewFlag()?this.getApp().userMessage(L):null;

if(eI>50000&&!this.getPreviewFlag()){this.getApp().userMessage(bV);
return null;
}};
break;
default:{eI>1000&&this.getPreviewFlag()?this.getApp().userMessage(x+by+this.fieldXref[x]+cP):null;

if(eI>1000&&!this.getPreviewFlag()){this.getApp().userMessage(x+by+this.fieldXref[x]+cj);
return null;
}};
}eJ[x]=this.currentRecord[x];
}
try{var eK=qx.lang.String.trim(eJ[3]);

if(!eK){this.getApp().userMessage(bu);
return null;
}}catch(eG){this.getApp().userMessage(bu);
return null;
}eJ[dY]=null;
this.getAction()==dM?eJ[dY]=de:null;
this.getAction()==dJ?eJ[dY]=dJ:null;

if(!eJ[dY]){this.getApp().userMessage(o);
return null;
}return eJ;
},_saveCurrentItem:function(){var fP=this._buildCurrentRecord();

if(fP){var fO=new grfind.HttpRequest(ds,cp,ct,6000,fP);

if(fO){fO.addListener(cq,function(e){this.getApp().userMessage(e.getData()[C]);
this.getApp().fireDataEvent(et,this.getStoreType());

if(this.getAction()==dM){this._doButton(dv);
}else{if(this.getCloneFlag()){this.setCloneFlag(false);
this.setAction(dM);
this.setCaption(bS);
}else{this._createNewRecord();
}}},this);
this.reqBox.start(fO,ds,cf);
}}},_previewCurrentItem:function(){var h=this._buildCurrentRecord();
h[B]=this.getPreviewKey();

if(h){var g=new grfind.HttpRequest(dn,cp,ct,2000,h);

if(g){g.addListener(cq,function(e){if(!this.itemPreviewWindow){this.itemPreviewWindow=new grfind.window.ItemViewWindow();
this.itemPreviewWindow.set({width:this.getDesktop().getBounds()[dK]*.7,height:this.getDesktop().getBounds()[dH]*.7});
this.getDesktop().add(this.itemPreviewWindow,{top:cl,left:es});
}var gl;
this.currentRecord[cr]?gl=this.currentRecord[cr]:gl=dN;
this.itemPreviewWindow.getVisibility()!=cu?this.itemPreviewWindow.open():null;
this.setPreviewKey(e.getData()[B]);
this.itemPreviewWindow._initialize(p,[[this.getApp().getUserStoreNumber(),this.getStoreType(),this.getStoreName(),this.getItemId(),this.getStoreEmail()]],this.getPreviewKey());
this.itemPreviewWindow.activate();
},this);
this.reqBox.start(g,dn,da);
}}},_reloadCurrentItem:function(){this._getItemById();
},_cancelEdit:function(){this.close();
},_deleteCurrentItem:function(){var fp=[[this.getStoreNumber(),this.getStoreType(),this.getItemId()]];
var fq=new grfind.HttpRequest(bU,cp,ct,2000,{'session-key':this.getApp().getSessionKey(),'store-type':this.getStoreType(),'item-array':fp});

if(fq){fq.addListener(cq,function(e){var fL=e.getData();
this.getApp().userMessage(fL[C]);
this.getApp().fireDataEvent(et,this.getStoreType());

if(this.getMaxIndex()>0){qx.lang.Array.removeAt(this.itemArray,this.getCurrentIndex());
this.setMaxIndex(this.getMaxIndex()-1);

if(this.getCurrentIndex()>this.getMaxIndex()){this.setRequestedRecordIndex(this.getMaxIndex());
this._getItemById();
}else{this.setRequestedRecordIndex(this.getCurrentIndex());
this._getItemById();
}}else{this.close();
}},this);
this.reqBox.start(fq,cz,bl);
}},_help:function(){if(!this.helpWindow){this.helpWindow=new grfind.window.HtmlWindow();
this.helpWindow.set({width:this.getDesktop().getBounds()[dK]*.7,height:this.getDesktop().getBounds()[dH]*.7});
this.getDesktop().add(this.helpWindow,{top:cl,left:es});
}this.helpWindow.open();
this.helpWindow._initialize(cS,df,cw);
},_doDirtyWindow:function(){if(!this.dirtyWindow){this.dirtyWindow=new grfind.window.DirtyWindow();
this.dirtyWindow.addListener(bG,function(e){switch(e.getData()){case v:{this._getItemById();
};
break;
case dT:{this.getApp().windowMaker._removeWindow(this);
};
break;
default:{};
}},this);
this.dirtyWindow.set({width:this.getDesktop().getBounds()[dK]*.3});
this.getDesktop().add(this.dirtyWindow,{top:ea,left:ea});
}this.dirtyWindow.open();
this.dirtyWindow._initialize(this.getGoing());
},_doButton:function(gj,gk){switch(gj){case er:{this.setAction(dJ);
this._createNewRecord();
};
break;
case F:{this.setAction(dM);
this._chooseNewRecord();
};
break;
case X:{this.setCloneFlag(true);
this.setAction(dJ);
this.setCaption(cK);
this.reloadButton.exclude();
this.deleteButton.exclude();
this.cloneButton.exclude();
this.getApp().userMessage(dE);
};
break;
case bc:{this.getAction()==dM?this._saveCurrentItem():null;
this.getAction()==dJ?this._saveCurrentItem():null;
};
break;
case G:{this.setPreviewFlag(true);
this._previewCurrentItem();
};
break;
case ep:{this._reloadCurrentItem();
};
break;
case H:{this._cancelEdit();
};
break;
case I:{this._deleteCurrentItem();
};
break;
case be:{this._help();
};
break;
case el:{this.setRequestedRecordIndex(0);
this.setGoing(dh);

if(this._checkForDirty()){this._doDirtyWindow();
}else{this._getItemById();
}};
break;
case bD:{if(this.getCurrentIndex()-1>=0){this.setRequestedRecordIndex(this.getCurrentIndex()-1);
this.setGoing(bj);

if(this._checkForDirty()){this._doDirtyWindow();
}else{this._getItemById();
}}};
break;
case dv:{if(this.getCurrentIndex()+1<=this.getMaxIndex()){this.setRequestedRecordIndex(this.getCurrentIndex()+1);
this.setGoing(eg);

if(this._checkForDirty()){this._doDirtyWindow();
}else{this._getItemById();
}}};
break;
case bC:{this.setRequestedRecordIndex(this.getMaxIndex());
this.setGoing(cL);

if(this._checkForDirty()){this._doDirtyWindow();
}else{this._getItemById();
}};
break;
default:{this.getApp().userMessage(cX+gj);
};
}}}});
})();
(function(){var p='field',o='dbname',n='widget',m="",l='label',k="changeFieldValue",j="12px sans-serif",i="changeValue",h="input",g="middle",N="click",M="right",L='cb',K="qx.ui.form.TextField",J="online",I="focus",H="ta",G="EditGroupWindow-reload - unknown field ",F="resource/images/grfind/listicon.png",E="41",w="yes",y="close",u="qx.ui.form.CheckBox",v="tf",s="fieldGotFocus",t="cb",q="grfind.window.EditGroupWindow",r="qx.ui.form.TextArea",z="createEditField - unknown field type - did not add",A="requestFieldChooser",C="40",B="white",D="resource/images/grfind/tabclose.png";
qx.Class.define(q,{extend:qx.ui.window.Window,construct:function(){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({showMinimize:false,resizableTop:false,font:qx.bom.Font.fromString(j)});
var O=new qx.ui.container.Composite(new qx.ui.layout.VBox()).set({padding:5,backgroundColor:B});
this.fieldCanvas=new qx.ui.container.Composite(new qx.ui.layout.VBox(0)).set({padding:10});
var P=new qx.ui.container.Scroll();
this.addListener(y,function(e){e.getCurrentTarget().getUserData(L).setValue(false);
});
P.add(this.fieldCanvas);
O.add(P,{flex:1});
this.add(O,{edge:0});
},properties:{app:{init:null},groupName:{init:m},storeNumber:{init:m},storeType:{init:m},loading:{init:true}},members:{_initialize:function(bd,be,bf,bg,bh){this.setStoreNumber(bd);
this.setStoreType(be);
this.setGroupName(bg);
this.fieldXref=bf;
this.info("-------------------------------");
this.info(bd+" "+be+" "+bf);
this.info("groupName "+bg);
this.info("groupFields "+bh);
this.info("-------------------------------");

for(var x=0;x<bh.length;x++){this._createEditField(bh[x]);
}},_reload:function(a){this.setLoading(true);
var c=this.fieldCanvas.getChildren();

for(var x=0;x<c.length;x++){var name=c[x].getUserData(o);
var b=c[x].getUserData(n);

if(b){switch(b.classname){case r:case K:{a[name]?b.setValue(a[name]):b.setValue(m);
};
break;
case u:{a[name]?b.setValue(true):b.setValue(false);
};
break;
default:{this.getApp().userMessage(G+name);
};
}}}this.setLoading(false);
},_createEditField:function(f){var bb=f[0];
var bc=f[1];
var S=f[2];
var X=f[3];

switch(bc){case v:{var V=new qx.ui.container.Composite(new qx.ui.layout.HBox(5).set({alignX:M,alignY:g})).set({padding:2,font:qx.bom.Font.fromString(j)});
var U=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({width:80});
var ba=new qx.ui.basic.Atom(this.fieldXref[bb]).set({opacity:0.8});
var Y=new qx.ui.form.TextField(m);
var Q=new qx.ui.basic.Atom(null,D).set({paddingLeft:2,paddingRight:2});
var R=new qx.ui.basic.Atom(null,F).set({paddingLeft:4,paddingRight:4});
this.getApp().highlightOnMouseOver(Q);
this.getApp().highlightOnMouseOver(R);
Q.addListener(N,function(e){e.getCurrentTarget().getUserData(p).getUserData(n).setValue(m);
});
R.addListener(N,function(e){this.fireDataEvent(A,{'field':e.getCurrentTarget().getUserData(p).getUserData(n),'field-label':e.getCurrentTarget().getUserData(p).getUserData(l).getLabel(),'dbname':e.getCurrentTarget().getUserData(p).getUserData(o)});
},this);
Y.addListener(I,function(e){this.fireDataEvent(s,{'field':e.getCurrentTarget().getUserData(p).getUserData(n),'field-label':e.getCurrentTarget().getUserData(p).getUserData(l).getLabel(),'dbname':e.getCurrentTarget().getUserData(p).getUserData(o)});
},this);
Y.addListener(h,function(e){this.fireDataEvent(k,{'value':e.getCurrentTarget().getValue(),'dbname':e.getCurrentTarget().getUserData(p).getUserData(o),'field':e.getCurrentTarget().getUserData(p).getUserData(n),'field-label':e.getCurrentTarget().getUserData(p).getUserData(l).getLabel()});
},this);
Y.addListener(i,function(e){this.fireDataEvent(k,{'value':e.getCurrentTarget().getValue(),'dbname':e.getCurrentTarget().getUserData(p).getUserData(o),'field':e.getCurrentTarget().getUserData(p).getUserData(n),'field-label':e.getCurrentTarget().getUserData(p).getUserData(l).getLabel()});
},this);
Q.setUserData(p,V);
R.setUserData(p,V);
ba.setUserData(p,V);
Y.setUserData(p,V);
V.setUserData(o,bb);
V.add(ba);
V.setUserData(l,ba);
V.setUserData(n,Y);
V.add(Y,{flex:1});
V.add(Q);
V.add(R);
!S?Q.hide():null;
!X?R.hide():null;
bb==C?V.setEnabled(false):null;
bb==E?V.setEnabled(false):null;
this.fieldCanvas.add(V);
};
break;
case H:{this.fieldCanvas.setPadding(0);
var V=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({font:qx.bom.Font.fromString(j)});
var T=new qx.ui.form.TextArea().set({decorator:J});
T.addListener(h,function(e){this.fireDataEvent(k,{'value':e.getCurrentTarget().getValue(),'dbname':e.getCurrentTarget().getUserData(p).getUserData(o)});
},this);
T.addListener(i,function(e){this.fireDataEvent(k,{'value':e.getCurrentTarget().getValue(),'dbname':e.getCurrentTarget().getUserData(p).getUserData(o)});
},this);
T.setUserData(p,V);
V.setUserData(o,bb);
V.setUserData(n,T);
V.add(T,{edge:0});
this.fieldCanvas.add(V,{flex:1});
};
break;
case t:{var V=new qx.ui.container.Composite(new qx.ui.layout.HBox(5).set({alignX:M,alignY:g})).set({padding:2,font:qx.bom.Font.fromString(j)});
var U=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({width:80});
var ba=new qx.ui.basic.Atom(this.fieldXref[bb]).set({padding:2,opacity:0.8});
;
var W=new qx.ui.form.CheckBox().set({rich:true});
W.addListener(i,function(e){var d;
e.getCurrentTarget().getValue()?d=w:d=m;

if(!this.getLoading()){this.fireDataEvent(k,{'value':d,'dbname':e.getCurrentTarget().getUserData(p).getUserData(o)});
}},this);
ba.setUserData(p,V);
W.setUserData(p,V);
U.add(ba);
V.add(U);
V.setUserData(l,ba);
V.setUserData(o,bb);
V.setUserData(n,W);
V.add(W);
this.fieldCanvas.add(V);
};
break;
default:{this.getApp().userMessage(z);
};
}}}});
})();
(function(){var y="",x="20%",w="input",v="visible",u="changeValue",t="14px sans-serif",s="bold",r="Preview",q="blue",p="#314a6e",j="Preview as Html",o="Load information from local drive",m="grfind.TextEditor",i="white",h="middle",l="file",k="auto",n='completed',g='click';
qx.Class.define(m,{extend:qx.ui.container.Composite,construct:function(b,c,d){arguments.callee.base.call(this);
this.setApp(qx.core.Init.getApplication());
b?this.setDesktop(b):this.setDesktop(this);
c?this.setLegend(c):null;
d?this.setUploadFlag(d):null;
this.setLayout(new qx.ui.layout.Canvas());
var f=new qx.ui.container.Composite(new qx.ui.layout.VBox());
f.set({padding:2,font:qx.bom.Font.fromString(t)});
f.add(this._createTextCanvas(),{flex:1});
this.add(f,{edge:0});
},properties:{app:{init:null},desktop:{init:null},legend:{init:y},uploadFlag:{init:false}},members:{_closePreviewWindow:function(z){try{this.previewWindow.close();
}catch(a){}},setValue:function(A){A?this.textArea.setValue(A):this.textArea.setValue(y);
},getValue:function(){return this.textArea.getValue();
},_doPreview:function(){if(!this.previewWindow){this.previewWindow=new qx.ui.window.Window(r);
this.previewWindow.set({width:300,height:250,showMinimize:false,showMaximize:false});
this.previewWindow.setLayout(new qx.ui.layout.Grow());
this.html=new qx.ui.embed.Html().set({backgroundColor:i,padding:5,overflowX:k});
this.previewWindow.add(this.html);
this.getDesktop().add(this.previewWindow,{top:x,left:x});
}this.previewWindow.open();
this.html.setHtml(this.textArea.getValue());
},_createTextCanvas:function(){var B=new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
B.set({padding:2,decorator:null});
var E=new qx.ui.container.SlideBar();
E.setLayout(new qx.ui.layout.HBox(15).set({alignY:h}));
var D=new qx.ui.basic.Atom(this.getLegend()).set({font:s,textColor:p});
this.textArea=new qx.ui.form.TextArea(y);
this.textArea.addListener(w,function(e){this.fireEvent(w);
this.previewWindow&&this.previewWindow.getVisibility()==v?this.html.setHtml(this.textArea.getValue()):null;
},this);
this.textArea.addListener(u,function(e){this.fireEvent(u);
this.previewWindow&&this.previewWindow.getVisibility()==v?this.html.setHtml(this.textArea.getValue()):null;
},this);
var C=new qx.ui.basic.Atom(j).set({padding:[2,6,2,6],textColor:q});
this.getApp().highlightOnMouseOver(C);
C.addListener(g,function(e){this._doPreview();
},this);

if(this.getUploadFlag()){this.descriptionUploadForm=new grfind.UploadField(o,l);
this.descriptionUploadForm.addListener(n,function(e){this.textArea.setValue(e.getData());
},this);
}E.add(D);
E.add(C);
E.add(this.descriptionUploadForm);
B.add(E);
B.add(this.textArea,{flex:1});
return B;
}}});
})();
(function(){var N="",M="white",L="atom",K="deleteUserImage",J="getUserImages",I="remove-selected",H="25%",G="click",F='input-timer',E="14px sans-serif",bN="application/json",bM='msg',bL="add-to-description",bK="middle",bJ="Remove Selected Image From Server",bI="completed",bH="POST",bG="done",bF=" Megabytes still available.",bE="ImageManagerWindow - unknown button was pressed ",U="online",V='dblclick',S='changeS