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

qx.$$start = new Date();
  
if (!window.qxsettings) qxsettings = {};
var settings = {"qx.application":"smart.demo.Application","qx.theme":"smart.demo.theme.Theme","qx.version":"0.9-pre"};
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 = {"qx":{"resourceUri":"resource","sourceUri":"script","version":"trunk"},"smart":{"resourceUri":"resource","sourceUri":"script","version":"trunk"},"smart.demo":{"resourceUri":"resource","sourceUri":"script","version":"trunk"}};
for (var k in libinfo) qx.$$libraries[k] = libinfo[k];

qx.$$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/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":[20,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":[20,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":[20,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":[20,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":[20,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":[20,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":[20,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":[20,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":[20,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/inputcheckradio-combined.png",-404,0],"qx/decoration/Modern/form/checkbox-checked-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-474,0],"qx/decoration/Modern/form/checkbox-checked-focused.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-544,0],"qx/decoration/Modern/form/checkbox-checked-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",0,0],"qx/decoration/Modern/form/checkbox-checked-hovered.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-600,0],"qx/decoration/Modern/form/checkbox-checked-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-460,0],"qx/decoration/Modern/form/checkbox-checked-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-210,0],"qx/decoration/Modern/form/checkbox-checked-pressed.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-614,0],"qx/decoration/Modern/form/checkbox-checked.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-320,0],"qx/decoration/Modern/form/checkbox-disabled.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-196,0],"qx/decoration/Modern/form/checkbox-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-182,0],"qx/decoration/Modern/form/checkbox-focused.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-488,0],"qx/decoration/Modern/form/checkbox-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-586,0],"qx/decoration/Modern/form/checkbox-hovered.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-376,0],"qx/decoration/Modern/form/checkbox-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-516,0],"qx/decoration/Modern/form/checkbox-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-558,0],"qx/decoration/Modern/form/checkbox-pressed.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-530,0],"qx/decoration/Modern/form/checkbox.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-278,0],"qx/decoration/Modern/form/input-focused.png":[40,12,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-224,0],"qx/decoration/Modern/form/input.png":[84,12,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-70,0],"qx/decoration/Modern/form/radiobutton-checked-disabled.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-264,0],"qx/decoration/Modern/form/radiobutton-checked-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-56,0],"qx/decoration/Modern/form/radiobutton-checked-focused.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-28,0],"qx/decoration/Modern/form/radiobutton-checked-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-432,0],"qx/decoration/Modern/form/radiobutton-checked-hovered.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-390,0],"qx/decoration/Modern/form/radiobutton-checked-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-42,0],"qx/decoration/Modern/form/radiobutton-checked-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-362,0],"qx/decoration/Modern/form/radiobutton-checked-pressed.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-306,0],"qx/decoration/Modern/form/radiobutton-checked.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-292,0],"qx/decoration/Modern/form/radiobutton-disabled.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-572,0],"qx/decoration/Modern/form/radiobutton-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-348,0],"qx/decoration/Modern/form/radiobutton-focused.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-502,0],"qx/decoration/Modern/form/radiobutton-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-154,0],"qx/decoration/Modern/form/radiobutton-hovered.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-14,0],"qx/decoration/Modern/form/radiobutton-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-418,0],"qx/decoration/Modern/form/radiobutton-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-446,0],"qx/decoration/Modern/form/radiobutton-pressed.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-168,0],"qx/decoration/Modern/form/radiobutton.png":[14,14,"png","qx","qx/decoration/Modern/inputcheckradio-combined.png",-334,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":[20,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":[20,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/inputcheckradio-combined.png":[628,14,"png","qx"],"qx/decoration/Modern/menu-background-combined.png":[60,49,"png","qx"],"qx/decoration/Modern/menu-checkradio-combined.gif":[64,7,"gif","qx"],"qx/decoration/Modern/menu/background.png":[20,49,"png","qx","qx/decoration/Modern/menu-background-combined.png",0,0],"qx/decoration/Modern/menu/bar-background.png":[40,20,"png","qx","qx/decoration/Modern/menu-background-combined.png",-20,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":[20,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":[174,76,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-bg-horizontal.png":[76,15,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-69,0],"qx/decoration/Modern/scrollbar/scrollbar-bg-pressed-horizontal.png":[19,10,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-151,0],"qx/decoration/Modern/scrollbar/scrollbar-bg-pressed-vertical.png":[10,19,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-43,0],"qx/decoration/Modern/scrollbar/scrollbar-bg-vertical.png":[15,76,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-12,0],"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",-59,0],"qx/decoration/Modern/scrollbar/scrollbar-down.png":[6,4,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-145,0],"qx/decoration/Modern/scrollbar/scrollbar-left.png":[4,6,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-170,0],"qx/decoration/Modern/scrollbar/scrollbar-right.png":[4,6,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-39,0],"qx/decoration/Modern/scrollbar/scrollbar-up.png":[6,4,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-53,0],"qx/decoration/Modern/scrollbar/slider-knob-background.png":[12,10,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-27,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":[20,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":[20,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":[74,18,"png","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.png":[8,5,"png","qx","qx/decoration/Modern/table-combined.png",0,0],"qx/decoration/Modern/table/header-cell.png":[20,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":[20,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":[20,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":[12,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":[14,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":[12,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":[14,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":[20,12,"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":[20,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":[20,2,"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":[40,130,"png","qx"],"qx/decoration/Modern/toolbar/toolbar-gradient-blue.png":[20,130,"png","qx","qx/decoration/Modern/toolbar-combined.png",0,0],"qx/decoration/Modern/toolbar/toolbar-gradient.png":[20,130,"png","qx","qx/decoration/Modern/toolbar-combined.png",-20,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":[20,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":[20,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":[20,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.$$translations = {"C":{},"en":{}};
qx.$$locales = {"C":{"alternateQuotationEnd":"’","alternateQuotationStart":"‘","cldr_am":"AM","cldr_date_format_full":"EEEE, MMMM d, yyyy","cldr_date_format_long":"MMMM d, yyyy","cldr_date_format_medium":"MMM d, yyyy","cldr_date_format_short":"M/d/yy","cldr_date_time_format_Hm":"HH:mm","cldr_date_time_format_Hms":"HH:mm:ss","cldr_date_time_format_M":"L","cldr_date_time_format_MEd":"E, M/d","cldr_date_time_format_MMM":"LLL","cldr_date_time_format_MMMEd":"E, MMM d","cldr_date_time_format_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":"yyyy","cldr_date_time_format_yM":"M/yyyy","cldr_date_time_format_yMEd":"EEE, M/d/yyyy","cldr_date_time_format_yMMM":"MMM yyyy","cldr_date_time_format_yMMMEd":"EEE, MMM d, yyyy","cldr_date_time_format_yMMMM":"MMMM yyyy","cldr_date_time_format_yQ":"Q yyyy","cldr_date_time_format_yQQQ":"QQQ yyyy","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 v","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, yyyy","cldr_date_format_long":"MMMM d, yyyy","cldr_date_format_medium":"MMM d, yyyy","cldr_date_format_short":"M/d/yy","cldr_date_time_format_Hm":"HH:mm","cldr_date_time_format_Hms":"HH:mm:ss","cldr_date_time_format_M":"L","cldr_date_time_format_MEd":"E, M/d","cldr_date_time_format_MMM":"LLL","cldr_date_time_format_MMMEd":"E, MMM d","cldr_date_time_format_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":"yyyy","cldr_date_time_format_yM":"M/yyyy","cldr_date_time_format_yMEd":"EEE, M/d/yyyy","cldr_date_time_format_yMMM":"MMM yyyy","cldr_date_time_format_yMMMEd":"EEE, MMM d, yyyy","cldr_date_time_format_yMMMM":"MMMM yyyy","cldr_date_time_format_yQ":"Q yyyy","cldr_date_time_format_yQQQ":"QQQ yyyy","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 v","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.$$loader = {
  parts : {"boot":[0]},
  uris : [["smart.demo:smart.demo-0.js"]],
  boot : "boot",
  
  decodeUris : function(compressedUris)
  {
    var libs = qx.$$libraries;
    var uris = [];
    for (var i=0; i<compressedUris.length; i++)
    {
      var uri = compressedUris[i].split(":");
      var prefix = libs[uri[0]].sourceUri;
      var euri = prefix + "/" + uri[1];
      
      uris.push(euri);
    }
    return uris;
  }
};  
})();

(function(){var r=".",q="()",p="[Class ",o=".prototype",n="toString",m="qx.Bootstrap",l="]",k="Class";
if(!window.qx){window.qx={};
}qx.Bootstrap={genericToString:function(){return p+this.classname+l;
},createNamespace:function(name,s){var u=name.split(r);
var parent=window;
var t=u[0];

for(var i=0,v=u.length-1;i<v;i++,t=u[i]){if(!parent[t]){parent=parent[t]={};
}else{parent=parent[t];
}}parent[t]=s;
return t;
},setDisplayName:function(a,b,name){a.displayName=b+r+name+q;
},setDisplayNames:function(w,x){for(var name in w){var y=w[name];

if(y instanceof Function){y.displayName=x+r+name+q;
}}},define:function(name,c){if(!c){var c={statics:{}};
}var h;
var f=null;
qx.Bootstrap.setDisplayNames(c.statics,name);

if(c.members){qx.Bootstrap.setDisplayNames(c.members,name+o);
h=c.construct||new Function;
var d=c.statics;

for(var e in d){h[e]=d[e];
}f=h.prototype;
var j=c.members;

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

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

try{delete window.qxsettings;
}catch(o){}this.__loadUrlSettings();
}},__loadUrlSettings:function(){if(this.get(j)!=true){return;
}var r=document.location.search.slice(1).split(h);

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

if(q.length!=3||q[0]!=e){continue;
}this.set(q[1],decodeURIComponent(q[2]));
}}},defer:function(p){p.define(j,false);
p.define(f,false);
p.__init();
}});
})();
(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,__init:function(){var t=d;
var x=e;
var w=navigator.userAgent;
var z=false;
var v=false;

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

if(RegExp.$3!=l){x+=q+RegExp.$3;
}}else{v=true;
x=i;
}}else if(navigator.userAgent.indexOf(j)!=-1){t=f;
this.WEBKIT=true;

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

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

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

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

if(t.NAME&&t.FULLVERSION){t=t.NAME;
this[t.toUpperCase()]=true;
x=t.FULLVERSION;
}}else{z=true;
v=true;
x=r;
t=s;
this.GECKO=true;
alert("Unsupported client: "+w+"! Assumed gecko version 1.9.0.0 (Firefox 3.0).");
}}this.UNKNOWN_ENGINE=z;
this.UNKNOWN_VERSION=v;
this.NAME=t;
this.FULLVERSION=x;
this.VERSION=parseFloat(x);
}},defer:function(A){A.__init();
}});
})();
(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:{__variants:{},__cache:{},compilerIsSet:function(){return true;
},define:function(a,b,c){{};

if(!this.__variants[a]){this.__variants[a]={};
}else{}this.__variants[a].allowedValues=b;
this.__variants[a].defaultValue=c;
},get:function(J){var K=this.__variants[J];
{};

if(K.value!==undefined){return K.value;
}return K.defaultValue;
},__init:function(){if(window.qxvariants){for(var Q in qxvariants){{};

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

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

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

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

if(!this.__variants[H]){this.__variants[H]={};
}this.__variants[H].value=decodeURIComponent(G[2]);
}},select:function(L,M){{};

for(var N in M){if(this.isSet(L,N)){return M[N];
}}
if(M[w]!==undefined){return M[w];
}{};
},isSet:function(A,B){var C=A+r+B;

if(this.__cache[C]!==undefined){return this.__cache[C];
}var E=false;
if(B.indexOf(x)<0){E=this.get(A)===B;
}else{var D=B.split(x);

for(var i=0,l=D.length;i<l;i++){if(this.get(A)===D[i]){E=true;
break;
}}}this.__cache[C]=E;
return E;
},__isValidArray:function(v){return typeof v===u&&v!==null&&v instanceof Array;
},__isValidObject:function(v){return typeof v===u&&v!==null&&!(v instanceof Array);
},__arrayContains:function(O,P){for(var i=0,l=O.length;i<l;i++){if(O[i]==P){return true;
}}return false;
}},defer:function(I){I.define(h,[e,n,f,m],qx.bom.client.Engine.NAME);
I.define(p,[z,y],z);
I.define(s,[z,y],y);
I.define(o,[z,y],z);
I.__init();
}});
})();
(function(){var N="qx.client",M='"',L="valueOf",K="toLocaleString",J="isPrototypeOf",I="",H="toString",G="qx.lang.Object",F='\", "',E="hasOwnProperty";
qx.Bootstrap.define(G,{statics:{empty:function(e){{};

for(var f in e){if(e.hasOwnProperty(f)){delete e[f];
}}},isEmpty:qx.core.Variant.select(N,{"gecko":function(W){{};
return W.__count__===0;
},"default":function(bc){{};

for(var bd in bc){return false;
}return true;
}}),hasMinLength:qx.core.Variant.select(N,{"gecko":function(z,A){{};
return z.__count__>=A;
},"default":function(g,h){{};

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

for(var j in g){if((++length)>=h){return true;
}}return false;
}}),getLength:qx.core.Variant.select(N,{"gecko":function(X){{};
return X.__count__;
},"default":function(be){{};
var length=0;

for(var bf in be){length++;
}return length;
}}),_shadowedKeys:[J,E,K,H,L],getKeys:qx.core.Variant.select(N,{"mshtml":function(Q){var R=[];

for(var T in Q){R.push(T);
}var S=Object.prototype.hasOwnProperty;

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

for(var n in k){m.push(n);
}return m;
}}),getKeysAsString:function(O){{};
var P=qx.lang.Object.getKeys(O);

if(P.length==0){return I;
}return M+P.join(F)+M;
},getValues:function(bi){{};
var bk=[];
var bj=this.getKeys(bi);

for(var i=0,l=bj.length;i<l;i++){bk.push(bi[bj[i]]);
}return bk;
},mergeWith:function(t,u,v){{};

if(v===undefined){v=true;
}
for(var w in u){if(v||t[w]===undefined){t[w]=u[w];
}}return t;
},carefullyMergeWith:function(r,s){{};
return qx.lang.Object.mergeWith(r,s,false);
},merge:function(o,p){{};
var q=arguments.length;

for(var i=1;i<q;i++){qx.lang.Object.mergeWith(o,arguments[i]);
}return o;
},clone:function(b){{};
var c={};

for(var d in b){c[d]=b[d];
}return c;
},invert:function(B){{};
var C={};

for(var D in B){C[B[D].toString()]=D;
}return C;
},getKeyFromValue:function(Y,ba){{};

for(var bb in Y){if(Y.hasOwnProperty(bb)&&Y[bb]===ba){return bb;
}}return null;
},contains:function(U,V){{};
return this.getKeyFromValue(U,V)!==null;
},select:function(x,y){{};
return y[x];
},fromArray:function(bg){{};
var bh={};

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

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

if((l.type==null||h==l.type||l.type==c)&&(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 a=g.apply(this,arguments);

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

if(h!==b){k.self=g.self;
k.base=g.base;
}g.wrapper=k;
k.original=g;
return k;
},addAdvice:function(o,p,q,name){this.__registry.push({fcn:o,pos:p===d?-1:1,type:q,name:name});
}}});
})();
(function(){var bV="qx.aspects",bU="on",bT=".",bS="static",bR="constructor",bQ="[Class ",bP="]",bO="toString",bN="member",bM="$$init_",bG=".prototype",bL="destructor",bJ="extend",bF="destruct",bE="Class",bI="off",bH="qx.Class",bK="singleton",bD="qx.event.type.Data";
qx.Bootstrap.define(bH,{statics:{define:function(name,cg){if(!cg){var cg={};
}if(cg.include&&!(cg.include instanceof Array)){cg.include=[cg.include];
}if(cg.implement&&!(cg.implement instanceof Array)){cg.implement=[cg.implement];
}if(!cg.hasOwnProperty(bJ)&&!cg.type){cg.type=bS;
}{};
var ci=this.__createClass(name,cg.type,cg.extend,cg.statics,cg.construct,cg.destruct);
if(cg.extend){if(cg.properties){this.__addProperties(ci,cg.properties,true);
}if(cg.members){this.__addMembers(ci,cg.members,true,true,false);
}if(cg.events){this.__addEvents(ci,cg.events,true);
}if(cg.include){for(var i=0,l=cg.include.length;i<l;i++){this.__addMixin(ci,cg.include[i],false);
}}}if(cg.settings){for(var ch in cg.settings){qx.core.Setting.define(ch,cg.settings[ch]);
}}if(cg.variants){for(var ch in cg.variants){qx.core.Variant.define(ch,cg.variants[ch].allowedValues,cg.variants[ch].defaultValue);
}}if(cg.implement){for(var i=0,l=cg.implement.length;i<l;i++){this.__addInterface(ci,cg.implement[i]);
}}{};
if(cg.defer){cg.defer.self=ci;
cg.defer(ci,ci.prototype,{add:function(name,j){var k={};
k[name]=j;
qx.Class.__addProperties(ci,k,true);
}});
}},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(bc,bd){{};
qx.Class.__addMixin(bc,bd,false);
},patch:function(e,f){{};
qx.Class.__addMixin(e,f,true);
},isSubClassOf:function(cj,ck){if(!cj){return false;
}
if(cj==ck){return true;
}
if(cj.prototype instanceof ck){return true;
}return false;
},getPropertyDefinition:function(h,name){while(h){if(h.$$properties&&h.$$properties[name]){return h.$$properties[name];
}h=h.superclass;
}return null;
},getProperties:function(br){var bs=[];

while(br){if(br.$$properties){bs.push.apply(bs,qx.lang.Object.getKeys(br.$$properties));
}br=br.superclass;
}return bs;
},getByProperty:function(bW,name){while(bW){if(bW.$$properties&&bW.$$properties[name]){return bW;
}bW=bW.superclass;
}return null;
},hasProperty:function(bt,name){return !!this.getPropertyDefinition(bt,name);
},getEventType:function(bj,name){var bj=bj.constructor;

while(bj.superclass){if(bj.$$events&&bj.$$events[name]!==undefined){return bj.$$events[name];
}bj=bj.superclass;
}return null;
},supportsEvent:function(m,name){return !!this.getEventType(m,name);
},hasOwnMixin:function(bf,bg){return bf.$$includes&&bf.$$includes.indexOf(bg)!==-1;
},getByMixin:function(Q,R){var S,i,l;

while(Q){if(Q.$$includes){S=Q.$$flatIncludes;

for(i=0,l=S.length;i<l;i++){if(S[i]===R){return Q;
}}}Q=Q.superclass;
}return null;
},getMixins:function(cl){var cm=[];

while(cl){if(cl.$$includes){cm.push.apply(cm,cl.$$flatIncludes);
}cl=cl.superclass;
}return cm;
},hasMixin:function(q,r){return !!this.getByMixin(q,r);
},hasOwnInterface:function(bX,bY){return bX.$$implements&&bX.$$implements.indexOf(bY)!==-1;
},getByInterface:function(n,o){var p,i,l;

while(n){if(n.$$implements){p=n.$$flatImplements;

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

while(v){if(v.$$implements){w.push.apply(w,v.$$flatImplements);
}v=v.superclass;
}return w;
},hasInterface:function(bk,bl){return !!this.getByInterface(bk,bl);
},implementsInterface:function(b,c){var d=b.constructor;

if(this.hasInterface(d,c)){return true;
}
try{qx.Interface.assertObject(b,c);
return true;
}catch(be){}
try{qx.Interface.assert(d,c,false);
return true;
}catch(cf){}return false;
},getInstance:function(){if(!this.$$instance){this.$$allowconstruct=true;
this.$$instance=new this;
delete this.$$allowconstruct;
}return this.$$instance;
},genericToString:function(){return bQ+this.classname+bP;
},$$registry:qx.Bootstrap.$$registry,__allowedKeys:null,__staticAllowedKeys:null,__validateConfig:function(){},__validateAbstractInterfaces:function(){},__createClass:function(name,E,F,G,H,I){var N;

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

if(F){if(!H){H=this.__createDefaultConstructor();
}N=this.__wrapConstructor(H,name,E);
qx.Bootstrap.setDisplayName(H,name,bR);
}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(bV,bU)){if(K instanceof Function){K=qx.core.Aspect.wrap(name+bT+O,K,bS);
}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=bE;

if(E){N.$$classtype=E;
}if(!N.hasOwnProperty(bO)){N.toString=this.genericToString;
}
if(F){var P=F.prototype;
var J=this.__createEmptyFunction();
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(bV,bU)){I=qx.core.Aspect.wrap(name,I,bL);
}N.$$destructor=I;
qx.Bootstrap.setDisplayName(I,name,bF);
}}this.$$registry[name]=N;
return N;
},__addEvents:function(bz,bA,bB){var bC,bC;
{};

if(bz.$$events){for(var bC in bA){bz.$$events[bC]=bA[bC];
}}else{bz.$$events=bA;
}},__addProperties:function(bm,bn,bo){var bq;

if(bo===undefined){bo=false;
}var bp=!!bm.$$propertiesAttached;

for(var name in bn){bq=bn[name];
{};
bq.name=name;
if(!bq.refine){if(bm.$$properties===undefined){bm.$$properties={};
}bm.$$properties[name]=bq;
}if(bq.init!==undefined){bm.prototype[bM+name]=bq.init;
}if(bq.event!==undefined){var event={};
event[bq.event]=bD;
this.__addEvents(bm,event,bo);
}if(bq.inheritable){qx.core.Property.$$inheritable[name]=true;
}if(bp){qx.core.Property.attachMethods(bm,name,bq);
}}},__validateProperty:null,__addMembers:function(T,U,V,W,X){var Y=T.prototype;
var bb,ba;
qx.Bootstrap.setDisplayNames(U,T.classname+bG);

for(var i=0,a=qx.lang.Object.getKeys(U),l=a.length;i<l;i++){bb=a[i];
ba=U[bb];
{};
if(W!==false&&ba instanceof Function&&ba.$$type==null){if(X==true){ba=this.__mixinMemberWrapper(ba,Y[bb]);
}else{if(Y[bb]){ba.base=Y[bb];
}ba.self=T;
}
if(qx.core.Variant.isSet(bV,bU)){ba=qx.core.Aspect.wrap(T.classname+bT+bb,ba,bN);
}}Y[bb]=ba;
}},__mixinMemberWrapper:function(bu,bv){if(bv){return function(){var bi=bu.base;
bu.base=bv;
var bh=bu.apply(this,arguments);
bu.base=bi;
return bh;
};
}else{return bu;
}},__addInterface:function(x,y){{};
var z=qx.Interface.flatten([y]);

if(x.$$implements){x.$$implements.push(y);
x.$$flatImplements.push.apply(x.$$flatImplements,z);
}else{x.$$implements=[y];
x.$$flatImplements=z;
}},__addMixin:function(ca,cb,cc){{};

if(this.hasMixin(ca,cb)){qx.log.Logger.warn('Mixin "'+cb.name+'" is already included into Class "'+ca.classname+'" by class: '+this.getByMixin(ca,cb).classname+'!');
return;
}var ce=qx.Mixin.flatten([cb]);
var cd;

for(var i=0,l=ce.length;i<l;i++){cd=ce[i];
if(cd.$$events){this.__addEvents(ca,cd.$$events,cc);
}if(cd.$$properties){this.__addProperties(ca,cd.$$properties,cc);
}if(cd.$$members){this.__addMembers(ca,cd.$$members,cc,cc,cc);
}}if(ca.$$includes){ca.$$includes.push(cb);
ca.$$flatIncludes.push.apply(ca.$$flatIncludes,ce);
}else{ca.$$includes=[cb];
ca.$$flatIncludes=ce;
}},__createDefaultConstructor:function(){function g(){arguments.callee.base.apply(this,arguments);
}return g;
},__createEmptyFunction:function(){return function(){};
},__wrapConstructor:function(A,name,B){var D=function(){var by=arguments.callee.constructor;
{};
if(!by.$$propertiesAttached){qx.core.Property.attach(by);
}var bx=by.$$original.apply(this,arguments);
if(by.$$includes){var bw=by.$$flatIncludes;

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

if(qx.core.Variant.isSet(bV,bU)){var C=qx.core.Aspect.wrap(name,D,bR);
D.$$original=A;
D.constructor=C;
D=C;
}if(B===bK){D.getInstance=this.getInstance;
}D.$$original=A;
A.wrapper=D;
return D;
}},defer:function(s){if(qx.core.Variant.isSet(bV,bU)){for(var t in qx.Bootstrap.$$registry){var s=qx.Bootstrap.$$registry[t];

for(var u in s){if(s[u] instanceof Function){s[u]=qx.core.Aspect.wrap(t+bT+u,s[u],bS);
}}}}}});
})();
(function(){var I="other",H="widgets",G="fonts",F="appearances",E="qx.Theme",D="]",C="[Theme ",B="colors",A="decorations",z="Theme",w="meta",y="borders",x="icons";
qx.Class.define(E,{statics:{define:function(name,J){if(!J){var J={};
}J.include=this.__normalizeArray(J.include);
J.patch=this.__normalizeArray(J.patch);
{};
var K={$$type:z,name:name,title:J.title,toString:this.genericToString};
if(J.extend){K.supertheme=J.extend;
}K.basename=qx.Bootstrap.createNamespace(name,K);
this.__convert(K,J);
this.__initializeAliases(K,J);
this.$$registry[name]=K;
for(var i=0,a=J.include,l=a.length;i<l;i++){this.include(K,a[i]);
}
for(var i=0,a=J.patch,l=a.length;i<l;i++){this.patch(K,a[i]);
}},__normalizeArray:function(Q){if(!Q){return [];
}
if(qx.lang.Type.isArray(Q)){return Q;
}else{return [Q];
}},__initializeAliases:function(L,M){var N=M.aliases||{};

if(M.extend&&M.extend.aliases){qx.lang.Object.mergeWith(N,M.extend.aliases,false);
}L.aliases=N;
},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 C+this.name+D;
},__extractType:function(O){for(var i=0,P=this.__inheritableKeys,l=P.length;i<l;i++){if(O[P[i]]){return P[i];
}}},__convert:function(b,c){var f=this.__extractType(c);
if(c.extend&&!f){f=c.extend.type;
}b.type=f||I;
if(!f){return;
}var h=function(){};
if(c.extend){h.prototype=new c.extend.$$clazz;
}var g=h.prototype;
var e=c[f];
for(var d in e){g[d]=e[d];
if(g[d].base){{};
g[d].base=c.extend;
}}b.$$clazz=h;
b[f]=new h;
},$$registry:{},__inheritableKeys:[B,y,A,G,x,H,F,w],__allowedKeys:null,__metaKeys:null,__validateConfig:function(){},patch:function(q,r){var t=this.__extractType(r);

if(t!==this.__extractType(q)){throw new Error("The mixins '"+q.name+"' are not compatible '"+r.name+"'!");
}var s=r[t];
var u=q.$$clazz.prototype;

for(var v in s){u[v]=s[v];
}},include:function(j,k){var n=k.type;

if(n!==j.type){throw new Error("The mixins '"+j.name+"' are not compatible '"+k.name+"'!");
}var m=k[n];
var o=j.$$clazz.prototype;

for(var p in m){if(o[p]!==undefined){continue;
}o[p]=m[p];
}}}});
})();
(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 a="smart.demo.theme.Color";
qx.Theme.define(a,{extend:qx.theme.modern.Color,colors:{}});
})();
(function(){var cI=';',cH='computed=this.',cG='=value;',cF='this.',cE="set",cD="setThemed",cC="setRuntime",cB="init",cA='if(this.',cz='delete this.',bJ='!==undefined)',bI='}',bH="resetThemed",bG='else if(this.',bF="string",bE='return this.',bD="reset",bC="boolean",bB="resetRuntime",bA='!==undefined){',cP="refresh",cQ='=true;',cN="",cO="this.",cL='old=this.',cM="();",cJ='else ',cK='if(old===undefined)old=this.',cR='old=computed=this.',cS="return this.",ci="get",ch='(value);',ck=";",cj="(a[",cm='if(old===computed)return value;',cl='if(old===undefined)old=null;',co=' of an instance of ',cn=' is not (yet) ready!");',cg="]);",cf='!==inherit){',r='qx.lang.Type.isString(value) && qx.util.ColorUtil.isValidPropertyValue(value)',s='value !== null && qx.theme.manager.Font.getInstance().isDynamic(value)',t='value !== null && value.nodeType === 9 && value.documentElement',u='===value)return value;',v='value !== null && value.$$type === "Mixin"',w='return init;',x='var init=this.',y='value !== null && value.nodeType === 1 && value.attributes',z="Error in property ",A='var a=this._getChildren();if(a)for(var i=0,l=a.length;i<l;i++){',df="property",de='.validate.call(this, value);',dd='qx.core.Assert.assertInstance(value, Date, msg) || true',dc='else{',dj=" in method ",di='qx.core.Assert.assertInstance(value, Error, msg) || true',dh='=computed;',dg='Undefined value is not allowed!',dl='(backup);',dk='if(computed===inherit){',ba="inherit",bb='Is invalid!',X='if(value===undefined)prop.error(this,2,"',Y='var computed, old=this.',be='else if(computed===undefined)',bf="': ",bc=" of class ",bd='value !== null && value.nodeType !== undefined',V='===undefined)return;',W='value !== null && qx.theme.manager.Decoration.getInstance().isValidPropertyValue(value)',I="')){",H='qx.core.Assert.assertPositiveInteger(value, msg) || true',K='else this.',J='value=this.',E='","',D='if(init==qx.core.Property.$$inherit)init=null;',G='value !== null && value.$$type === "Interface"',F='var inherit=prop.$$inherit;',C="', qx.event.type.Data, [computed, old]",B="$$useinit_",bk='computed=undefined;delete this.',bl='",value);',bm='computed=value;',bn=".",bg="$$runtime_",bh='Requires exactly one argument!',bi=';}',bj="$$user_",bo='){',bp='qx.core.Assert.assertArray(value, msg) || true',S='if(computed===undefined||computed===inherit){',R='qx.core.Assert.assertPositiveNumber(value, msg) || true',Q=".prototype",P="Boolean",O=")}",N='(computed, old, "',M='return value;',L='if(init==qx.core.Property.$$inherit)throw new Error("Inheritable property ',U='}else{',T="if(reg.hasListener(this, '",bq='Does not allow any arguments!',br=')a[i].',bs="()",bt="var a=arguments[0] instanceof Array?arguments[0]:arguments;",bu='.$$properties.',bv='value !== null && value.$$type === "Theme"',bw="var reg=qx.event.Registration;",bx="())",by='return null;',bz='qx.core.Assert.assertObject(value, msg) || true',bN='");',bM='qx.core.Assert.assertString(value, msg) || true',bL='var pa=this.getLayoutParent();if(pa)computed=pa.',bK='value !== null && value.$$type === "Class"',bR='qx.core.Assert.assertFunction(value, msg) || true',bQ='!==undefined&&',bP='var computed, old;',bO='var backup=computed;',bT="on",bS="object",cb="$$init_",cc="$$theme_",bY='if(computed===undefined)computed=null;',ca='qx.core.Assert.assertMap(value, msg) || true',bW="qx.aspects",bX='qx.core.Assert.assertNumber(value, msg) || true',bU='if((computed===undefined||computed===inherit)&&',bV="reg.fireEvent(this, '",cd='Null value is not allowed!',ce='qx.core.Assert.assertInteger(value, msg) || true',cs="value",cr="shorthand",cu='qx.core.Assert.assertInstance(value, RegExp, msg) || true',ct='value !== null && value.type !== undefined',cw='value !== null && value.document',cv='throw new Error("Property ',cy="(!this.",cx='qx.core.Assert.assertBoolean(value, msg) || true',cq='if(a[i].',cp="toggle",cX="$$inherit_",cY='var prop=qx.core.Property;',da=" with incoming value '",db="a=qx.lang.Array.fromShortHand(qx.lang.Array.fromArguments(a));",cT='if(computed===undefined||computed==inherit)computed=null;',cU="qx.core.Property",cV="is",cW='Could not change or apply init value after constructing phase!';
qx.Class.define(cU,{statics:{__checks:{"Boolean":cx,"String":bM,"Number":bX,"Integer":ce,"PositiveNumber":R,"PositiveInteger":H,"Error":di,"RegExp":cu,"Object":bz,"Array":bp,"Map":ca,"Function":bR,"Date":dd,"Node":bd,"Element":y,"Document":t,"Window":cw,"Event":ct,"Class":bK,"Mixin":v,"Interface":G,"Theme":bv,"Color":r,"Decorator":W,"Font":s},__dispose:{"Object":true,"Array":true,"Map":true,"Function":true,"Date":true,"Node":true,"Element":true,"Document":true,"Window":true,"Event":true,"Class":true,"Mixin":true,"Interface":true,"Theme":true,"Font":true,"Decorator":true},$$inherit:ba,$$store:{runtime:{},user:{},theme:{},inherit:{},init:{},useinit:{}},$$method:{get:{},set:{},reset:{},init:{},refresh:{},setRuntime:{},resetRuntime:{},setThemed:{},resetThemed:{}},$$allowedKeys:{name:bF,dispose:bC,inheritable:bC,nullable:bC,themeable:bC,refine:bC,init:null,apply:bF,event:bF,check:null,transform:bF,deferredInit:bC,validate:null},$$allowedGroupKeys:{name:bF,group:bS,mode:bF,themeable:bC},$$inheritable:{},refresh:function(b){var parent=b.getLayoutParent();

if(parent){var e=b.constructor;
var g=this.$$store.inherit;
var f=this.$$store.init;
var d=this.$$method.refresh;
var h;
var c;
{};

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

if(h){for(var name in this.$$inheritable){if(h[name]&&b[d[name]]){c=parent[g[name]];

if(c===undefined){c=parent[f[name]];
}{};
b[d[name]](c);
}}}e=e.superclass;
}}},attach:function(ej){var ek=ej.$$properties;

if(ek){for(var name in ek){this.attachMethods(ej,name,ek[name]);
}}ej.$$propertiesAttached=true;
},attachMethods:function(du,name,dv){dv.group?this.__attachGroupMethods(du,dv,name):this.__attachPropertyMethods(du,dv,name);
},__attachGroupMethods:function(dy,dz,name){var dG=qx.lang.String.firstUp(name);
var dF=dy.prototype;
var dH=dz.themeable===true;
{};
var dI=[];
var dC=[];

if(dH){var dA=[];
var dE=[];
}var dD=bt;
dI.push(dD);

if(dH){dA.push(dD);
}
if(dz.mode==cr){var dB=db;
dI.push(dB);

if(dH){dA.push(dB);
}}
for(var i=0,a=dz.group,l=a.length;i<l;i++){{};
dI.push(cO,this.$$method.set[a[i]],cj,i,cg);
dC.push(cO,this.$$method.reset[a[i]],cM);

if(dH){{};
dA.push(cO,this.$$method.setThemed[a[i]],cj,i,cg);
dE.push(cO,this.$$method.resetThemed[a[i]],cM);
}}this.$$method.set[name]=cE+dG;
dF[this.$$method.set[name]]=new Function(dI.join(cN));
this.$$method.reset[name]=bD+dG;
dF[this.$$method.reset[name]]=new Function(dC.join(cN));

if(dH){this.$$method.setThemed[name]=cD+dG;
dF[this.$$method.setThemed[name]]=new Function(dA.join(cN));
this.$$method.resetThemed[name]=bH+dG;
dF[this.$$method.resetThemed[name]]=new Function(dE.join(cN));
}},__attachPropertyMethods:function(k,m,name){var o=qx.lang.String.firstUp(name);
var q=k.prototype;
{};
if(m.dispose===undefined&&typeof m.check===bF){m.dispose=this.__dispose[m.check]||qx.Class.isDefined(m.check)||qx.Interface.isDefined(m.check);
}var p=this.$$method;
var n=this.$$store;
n.runtime[name]=bg+name;
n.user[name]=bj+name;
n.theme[name]=cc+name;
n.init[name]=cb+name;
n.inherit[name]=cX+name;
n.useinit[name]=B+name;
p.get[name]=ci+o;
q[p.get[name]]=function(){return qx.core.Property.executeOptimizedGetter(this,k,name,ci);
};
p.set[name]=cE+o;
q[p.set[name]]=function(dw){return qx.core.Property.executeOptimizedSetter(this,k,name,cE,arguments);
};
p.reset[name]=bD+o;
q[p.reset[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,k,name,bD);
};

if(m.inheritable||m.apply||m.event||m.deferredInit){p.init[name]=cB+o;
q[p.init[name]]=function(dJ){return qx.core.Property.executeOptimizedSetter(this,k,name,cB,arguments);
};
}
if(m.inheritable){p.refresh[name]=cP+o;
q[p.refresh[name]]=function(el){return qx.core.Property.executeOptimizedSetter(this,k,name,cP,arguments);
};
}p.setRuntime[name]=cC+o;
q[p.setRuntime[name]]=function(dx){return qx.core.Property.executeOptimizedSetter(this,k,name,cC,arguments);
};
p.resetRuntime[name]=bB+o;
q[p.resetRuntime[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,k,name,bB);
};

if(m.themeable){p.setThemed[name]=cD+o;
q[p.setThemed[name]]=function(j){return qx.core.Property.executeOptimizedSetter(this,k,name,cD,arguments);
};
p.resetThemed[name]=bH+o;
q[p.resetThemed[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,k,name,bH);
};
}
if(m.check===P){q[cp+o]=new Function(cS+p.set[name]+cy+p.get[name]+bx);
q[cV+o]=new Function(cS+p.get[name]+bs);
}},__errors:{0:cW,1:bh,2:dg,3:bq,4:cd,5:bb},error:function(dm,dn,dp,dq,dr){var ds=dm.constructor.classname;
var dt=z+dp+bc+ds+dj+this.$$method[dq][dp]+da+dr+bf;
throw new Error(dt+(this.__errors[dn]||"Unknown reason: "+dn));
},__unwrapFunctionFromCode:function(dK,dL,name,dM,dN,dO){var dP=this.$$method[dM][name];
{dL[dP]=new Function(cs,dN.join(cN));
};
if(qx.core.Variant.isSet(bW,bT)){dL[dP]=qx.core.Aspect.wrap(dK.classname+bn+dP,dL[dP],df);
}qx.Bootstrap.setDisplayName(dL[dP],dK.classname+Q,dP);
if(dO===undefined){return dK[dP]();
}else{return dK[dP](dO[0]);
}},executeOptimizedGetter:function(ec,ed,name,ee){var eg=ed.$$properties[name];
var ei=ed.prototype;
var ef=[];
var eh=this.$$store;
ef.push(cA,eh.runtime[name],bJ);
ef.push(bE,eh.runtime[name],cI);

if(eg.inheritable){ef.push(bG,eh.inherit[name],bJ);
ef.push(bE,eh.inherit[name],cI);
ef.push(cJ);
}ef.push(cA,eh.user[name],bJ);
ef.push(bE,eh.user[name],cI);

if(eg.themeable){ef.push(bG,eh.theme[name],bJ);
ef.push(bE,eh.theme[name],cI);
}
if(eg.deferredInit&&eg.init===undefined){ef.push(bG,eh.init[name],bJ);
ef.push(bE,eh.init[name],cI);
}ef.push(cJ);

if(eg.init!==undefined){if(eg.inheritable){ef.push(x,eh.init[name],cI);

if(eg.nullable){ef.push(D);
}else if(eg.init!==undefined){ef.push(bE,eh.init[name],cI);
}else{ef.push(L,name,co,ed.classname,cn);
}ef.push(w);
}else{ef.push(bE,eh.init[name],cI);
}}else if(eg.inheritable||eg.nullable){ef.push(by);
}else{ef.push(cv,name,co,ed.classname,cn);
}return this.__unwrapFunctionFromCode(ec,ei,name,ee,ef);
},executeOptimizedSetter:function(dQ,dR,name,dS,dT){var ea=dR.$$properties[name];
var dY=dR.prototype;
var dV=[];
var dU=dS===cE||dS===cD||dS===cC||(dS===cB&&ea.init===undefined);
var dW=dS===bD||dS===bH||dS===bB;
var dX=ea.apply||ea.event||ea.inheritable;

if(dS===cC||dS===bB){var eb=this.$$store.runtime[name];
}else if(dS===cD||dS===bH){var eb=this.$$store.theme[name];
}else if(dS===cB){var eb=this.$$store.init[name];
}else{var eb=this.$$store.user[name];
}{if(!ea.nullable||ea.check||ea.inheritable){dV.push(cY);
}if(dS===cE){dV.push(X,name,E,dS,bl);
}};
if(dU){if(ea.transform){dV.push(J,ea.transform,ch);
}if(ea.validate){if(typeof ea.validate===bF){dV.push(cF,ea.validate,ch);
}else if(ea.validate instanceof Function){dV.push(dR.classname,bu,name);
dV.push(de);
}}}if(dX){if(dU){dV.push(cA,eb,u);
}else if(dW){dV.push(cA,eb,V);
}}if(ea.inheritable){dV.push(F);
}{};

if(!dX){if(dS===cC){dV.push(cF,this.$$store.runtime[name],cG);
}else if(dS===bB){dV.push(cA,this.$$store.runtime[name],bJ);
dV.push(cz,this.$$store.runtime[name],cI);
}else if(dS===cE){dV.push(cF,this.$$store.user[name],cG);
}else if(dS===bD){dV.push(cA,this.$$store.user[name],bJ);
dV.push(cz,this.$$store.user[name],cI);
}else if(dS===cD){dV.push(cF,this.$$store.theme[name],cG);
}else if(dS===bH){dV.push(cA,this.$$store.theme[name],bJ);
dV.push(cz,this.$$store.theme[name],cI);
}else if(dS===cB&&dU){dV.push(cF,this.$$store.init[name],cG);
}}else{if(ea.inheritable){dV.push(Y,this.$$store.inherit[name],cI);
}else{dV.push(bP);
}dV.push(cA,this.$$store.runtime[name],bA);

if(dS===cC){dV.push(cH,this.$$store.runtime[name],cG);
}else if(dS===bB){dV.push(cz,this.$$store.runtime[name],cI);
dV.push(cA,this.$$store.user[name],bJ);
dV.push(cH,this.$$store.user[name],cI);
dV.push(bG,this.$$store.theme[name],bJ);
dV.push(cH,this.$$store.theme[name],cI);
dV.push(bG,this.$$store.init[name],bA);
dV.push(cH,this.$$store.init[name],cI);
dV.push(cF,this.$$store.useinit[name],cQ);
dV.push(bI);
}else{dV.push(cR,this.$$store.runtime[name],cI);
if(dS===cE){dV.push(cF,this.$$store.user[name],cG);
}else if(dS===bD){dV.push(cz,this.$$store.user[name],cI);
}else if(dS===cD){dV.push(cF,this.$$store.theme[name],cG);
}else if(dS===bH){dV.push(cz,this.$$store.theme[name],cI);
}else if(dS===cB&&dU){dV.push(cF,this.$$store.init[name],cG);
}}dV.push(bI);
dV.push(bG,this.$$store.user[name],bA);

if(dS===cE){if(!ea.inheritable){dV.push(cL,this.$$store.user[name],cI);
}dV.push(cH,this.$$store.user[name],cG);
}else if(dS===bD){if(!ea.inheritable){dV.push(cL,this.$$store.user[name],cI);
}dV.push(cz,this.$$store.user[name],cI);
dV.push(cA,this.$$store.runtime[name],bJ);
dV.push(cH,this.$$store.runtime[name],cI);
dV.push(cA,this.$$store.theme[name],bJ);
dV.push(cH,this.$$store.theme[name],cI);
dV.push(bG,this.$$store.init[name],bA);
dV.push(cH,this.$$store.init[name],cI);
dV.push(cF,this.$$store.useinit[name],cQ);
dV.push(bI);
}else{if(dS===cC){dV.push(cH,this.$$store.runtime[name],cG);
}else if(ea.inheritable){dV.push(cH,this.$$store.user[name],cI);
}else{dV.push(cR,this.$$store.user[name],cI);
}if(dS===cD){dV.push(cF,this.$$store.theme[name],cG);
}else if(dS===bH){dV.push(cz,this.$$store.theme[name],cI);
}else if(dS===cB&&dU){dV.push(cF,this.$$store.init[name],cG);
}}dV.push(bI);
if(ea.themeable){dV.push(bG,this.$$store.theme[name],bA);

if(!ea.inheritable){dV.push(cL,this.$$store.theme[name],cI);
}
if(dS===cC){dV.push(cH,this.$$store.runtime[name],cG);
}else if(dS===cE){dV.push(cH,this.$$store.user[name],cG);
}else if(dS===cD){dV.push(cH,this.$$store.theme[name],cG);
}else if(dS===bH){dV.push(cz,this.$$store.theme[name],cI);
dV.push(cA,this.$$store.init[name],bA);
dV.push(cH,this.$$store.init[name],cI);
dV.push(cF,this.$$store.useinit[name],cQ);
dV.push(bI);
}else if(dS===cB){if(dU){dV.push(cF,this.$$store.init[name],cG);
}dV.push(cH,this.$$store.theme[name],cI);
}else if(dS===cP){dV.push(cH,this.$$store.theme[name],cI);
}dV.push(bI);
}dV.push(bG,this.$$store.useinit[name],bo);

if(!ea.inheritable){dV.push(cL,this.$$store.init[name],cI);
}
if(dS===cB){if(dU){dV.push(cH,this.$$store.init[name],cG);
}else{dV.push(cH,this.$$store.init[name],cI);
}}else if(dS===cE||dS===cC||dS===cD||dS===cP){dV.push(cz,this.$$store.useinit[name],cI);

if(dS===cC){dV.push(cH,this.$$store.runtime[name],cG);
}else if(dS===cE){dV.push(cH,this.$$store.user[name],cG);
}else if(dS===cD){dV.push(cH,this.$$store.theme[name],cG);
}else if(dS===cP){dV.push(cH,this.$$store.init[name],cI);
}}dV.push(bI);
if(dS===cE||dS===cC||dS===cD||dS===cB){dV.push(dc);

if(dS===cC){dV.push(cH,this.$$store.runtime[name],cG);
}else if(dS===cE){dV.push(cH,this.$$store.user[name],cG);
}else if(dS===cD){dV.push(cH,this.$$store.theme[name],cG);
}else if(dS===cB){if(dU){dV.push(cH,this.$$store.init[name],cG);
}else{dV.push(cH,this.$$store.init[name],cI);
}dV.push(cF,this.$$store.useinit[name],cQ);
}dV.push(bI);
}}
if(ea.inheritable){dV.push(S);

if(dS===cP){dV.push(bm);
}else{dV.push(bL,this.$$store.inherit[name],cI);
}dV.push(bU);
dV.push(cF,this.$$store.init[name],bQ);
dV.push(cF,this.$$store.init[name],cf);
dV.push(cH,this.$$store.init[name],cI);
dV.push(cF,this.$$store.useinit[name],cQ);
dV.push(U);
dV.push(cz,this.$$store.useinit[name],bi);
dV.push(bI);
dV.push(cm);
dV.push(dk);
dV.push(bk,this.$$store.inherit[name],cI);
dV.push(bI);
dV.push(be);
dV.push(cz,this.$$store.inherit[name],cI);
dV.push(K,this.$$store.inherit[name],dh);
dV.push(bO);
if(ea.init!==undefined&&dS!==cB){dV.push(cK,this.$$store.init[name],ck);
}else{dV.push(cl);
}dV.push(cT);
}else if(dX){if(dS!==cE&&dS!==cC&&dS!==cD){dV.push(bY);
}dV.push(cm);
if(ea.init!==undefined&&dS!==cB){dV.push(cK,this.$$store.init[name],ck);
}else{dV.push(cl);
}}if(dX){if(ea.apply){dV.push(cF,ea.apply,N,name,bN);
}if(ea.event){dV.push(bw,T,ea.event,I,bV,ea.event,C,O);
}if(ea.inheritable&&dY._getChildren){dV.push(A);
dV.push(cq,this.$$method.refresh[name],br,this.$$method.refresh[name],dl);
dV.push(bI);
}}if(dU){dV.push(M);
}return this.__unwrapFunctionFromCode(dQ,dY,name,dS,dV,dT);
}},settings:{"qx.propertyDebugLevel":0}});
})();
(function(){var p="$$hash",o="qx.core.ObjectRegistry";
qx.Bootstrap.define(o,{statics:{inShutDown:false,__registry:{},__nextHash:0,__freeHashes:[],register:function(g){var k=this.__registry;

if(!k){return;
}var j=g.$$hash;

if(j==null){var h=this.__freeHashes;

if(h.length>0){j=h.pop();
}else{j=(this.__nextHash++).toString(36);
}g.$$hash=j;
}{};
k[j]=g;
},unregister:function(q){var r=q.$$hash;

if(r==null){return;
}var s=this.__registry;

if(s&&s[r]){delete s[r];
this.__freeHashes.push(r);
}try{delete q.$$hash;
}catch(x){if(q.removeAttribute){q.removeAttribute(p);
}}},toHashCode:function(c){{};
var e=c.$$hash;

if(e!=null){return e;
}var d=this.__freeHashes;

if(d.length>0){e=d.pop();
}else{e=(this.__nextHash++).toString(36);
}return c.$$hash=e;
},clearHashCode:function(m){{};
var n=m.$$hash;

if(n!=null){this.__freeHashes.push(n);
try{delete m.$$hash;
}catch(f){if(m.removeAttribute){m.removeAttribute(p);
}}}},fromHashCode:function(z){return this.__registry[z]||null;
},shutdown:function(){this.inShutDown=true;
var u=this.__registry;
var w=[];

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

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

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

if(i!==l){i++;
continue;
}}break;
}qx.log.Logger.debug(this,"Disposed "+l+" objects");
delete this.__registry;
},getRegistry:function(){return this.__registry;
}}});
})();
(function(){var k="qx.Mixin",j=".prototype",h="constructor",g="[Mixin ",f="]",e="destruct",d="Mixin";
qx.Class.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(u,v){var w=qx.Class.getMixins(v);
w.push(u);
return qx.Mixin.checkCompatibility(w);
},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(x){if(!x){return [];
}var y=x.concat();

for(var i=0,l=x.length;i<l;i++){if(x[i].$$includes){y.push.apply(y,this.flatten(x[i].$$includes));
}}return y;
},genericToString:function(){return g+this.name+f;
},$$registry:{},__allowedKeys:null,__validateConfig: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 j="qx.client",i="on",h="mousedown",g="qx.bom.Event",f="mouseover",d="HTMLEvents";
qx.Bootstrap.define(g,{statics:{addNativeListener:qx.core.Variant.select(j,{"mshtml":function(a,b,c){a.attachEvent(i+b,c);
},"default":function(n,o,p){n.addEventListener(o,p,false);
}}),removeNativeListener:qx.core.Variant.select(j,{"mshtml":function(v,w,x){v.detachEvent(i+w,x);
},"default":function(s,t,u){s.removeEventListener(t,u,false);
}}),getTarget:function(e){return e.target||e.srcElement;
},getRelatedTarget:qx.core.Variant.select(j,{"mshtml":function(e){if(e.type===f){return e.fromEvent;
}else{return e.toElement;
}},"default":function(e){return e.relatedTarget;
}}),preventDefault:qx.core.Variant.select(j,{"gecko":function(e){if(qx.bom.client.Engine.VERSION>=1.9&&e.type==h&&e.button==2){return;
}e.preventDefault();
if(qx.bom.client.Engine.VERSION<1.9){try{e.keyCode=0;
}catch(r){}}},"mshtml":function(e){try{e.keyCode=0;
}catch(q){}e.returnValue=false;
},"default":function(e){e.preventDefault();
}}),stopPropagation:function(e){if(e.stopPropagation){e.stopPropagation();
}e.cancelBubble=true;
},fire:function(k,l){if(document.createEventObject){var m=document.createEventObject();
return k.fireEvent(i+l,m);
}else{var m=document.createEvent(d);
m.initEvent(l,true,true);
return !k.dispatchEvent(m);
}}}});
})();
(function(){var bz="|bubble",by="|capture",bx="|",bw="_",bv="unload",bu="__dispatchers",bt="UNKNOWN_",bs="DOM_",br="c",bq="__handlers",bn="WIN_",bp="capture",bo="qx.event.Manager",bm="QX_";
qx.Bootstrap.define(bo,{construct:function(a){this.__window=a;
if(a.qx!==qx){var self=this;
qx.bom.Event.addNativeListener(a,bv,qx.event.GlobalError.observeMethod(function(){qx.bom.Event.removeNativeListener(a,bv,arguments.callee);
self.dispose();
}));
}this.__listeners={};
this.__handlers={};
this.__dispatchers={};
this.__handlerCache={};
},statics:{__lastUnique:0,getNextUniqueId:function(){return (this.__lastUnique++).toString(36);
}},members:{__listeners:null,__dispatchers:null,__disposeWrapper:null,__handlers:null,__handlerCache:null,__window:null,getWindow:function(){return this.__window;
},getHandler:function(Q){var R=this.__handlers[Q.classname];

if(R){return R;
}return this.__handlers[Q.classname]=new Q(this);
},getDispatcher:function(cb){var cc=this.__dispatchers[cb.classname];

if(cc){return cc;
}return this.__dispatchers[cb.classname]=new cb(this);
},getListeners:function(bA,bB,bC){var bD=bA.$$hash||qx.core.ObjectRegistry.toHashCode(bA);
var bF=this.__listeners[bD];

if(!bF){return null;
}var bG=bB+(bC?by:bz);
var bE=bF[bG];
return bE?bE.concat():null;
},serializeListeners:function(j){var r=j.$$hash||qx.core.ObjectRegistry.toHashCode(j);
var t=this.__listeners[r];
var p=[];

if(t){var n,s,k,o,q;

for(var m in t){n=m.indexOf(bx);
s=m.substring(0,n);
k=m.charAt(n+1)==br;
o=t[m];

for(var i=0,l=o.length;i<l;i++){q=o[i];
p.push({self:q.context,handler:q.handler,type:s,capture:k});
}}}return p;
},toggleAttachedEvents:function(cu,cv){var cA=cu.$$hash||qx.core.ObjectRegistry.toHashCode(cu);
var cC=this.__listeners[cA];

if(cC){var cx,cB,cw,cy;

for(var cz in cC){cx=cz.indexOf(bx);
cB=cz.substring(0,cx);
cw=cz.charCodeAt(cx+1)===99;
cy=cC[cz];

if(cv){this.__registerAtHandler(cu,cB,cw);
}else{this.__unregisterAtHandler(cu,cB,cw);
}}}},hasListener:function(bf,bg,bh){{};
var bi=bf.$$hash||qx.core.ObjectRegistry.toHashCode(bf);
var bk=this.__listeners[bi];

if(!bk){return false;
}var bl=bg+(bh?by:bz);
var bj=bk[bl];
return bj&&bj.length>0;
},importListeners:function(bH,bI){{};
var bO=bH.$$hash||qx.core.ObjectRegistry.toHashCode(bH);
var bP=this.__listeners[bO]={};
var bL=qx.event.Manager;

for(var bJ in bI){var bM=bI[bJ];
var bN=bM.type+(bM.capture?by:bz);
var bK=bP[bN];

if(!bK){bK=bP[bN]=[];
this.__registerAtHandler(bH,bM.type,bM.capture);
}bK.push({handler:bM.listener,context:bM.self,unique:bM.unique||(bL.__lastUnique++).toString(36)});
}},addListener:function(y,z,A,self,B){var F;
{};
var G=y.$$hash||qx.core.ObjectRegistry.toHashCode(y);
var I=this.__listeners[G];

if(!I){I=this.__listeners[G]={};
}var E=z+(B?by:bz);
var D=I[E];

if(!D){D=I[E]=[];
}if(D.length===0){this.__registerAtHandler(y,z,B);
}var H=(qx.event.Manager.__lastUnique++).toString(36);
var C={handler:A,context:self,unique:H};
D.push(C);
return E+bx+H;
},findHandler:function(cd,ce){var co=false,ch=false,cp=false;
var cn;

if(cd.nodeType===1){co=true;
cn=bs+cd.tagName.toLowerCase()+bw+ce;
}else if(cd==this.__window){ch=true;
cn=bn+ce;
}else if(cd.classname){cp=true;
cn=bm+cd.classname+bw+ce;
}else{cn=bt+cd+bw+ce;
}var cj=this.__handlerCache;

if(cj[cn]){return cj[cn];
}var cm=qx.event.Registration.getHandlers();
var ci=qx.event.IEventHandler;
var ck,cl,cg,cf;

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

if(cg&&!cg[ce]){continue;
}cf=ck.TARGET_CHECK;

if(cf){if(!co&&cf===ci.TARGET_DOMNODE){continue;
}else if(!ch&&cf===ci.TARGET_WINDOW){continue;
}else if(!cp&&cf===ci.TARGET_OBJECT){continue;
}}cl=this.getHandler(cm[i]);

if(ck.IGNORE_CAN_HANDLE||cl.canHandleEvent(cd,ce)){cj[cn]=cl;
return cl;
}}return null;
},__registerAtHandler:function(cq,cr,cs){var ct=this.findHandler(cq,cr);

if(ct){ct.registerEvent(cq,cr,cs);
return;
}{};
},removeListener:function(bQ,bR,bS,self,bT){var bX;
{};
var bY=bQ.$$hash||qx.core.ObjectRegistry.toHashCode(bQ);
var ca=this.__listeners[bY];

if(!ca){return false;
}var bU=bR+(bT?by:bz);
var bV=ca[bU];

if(!bV){return false;
}var bW;

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

if(bW.handler===bS&&bW.context===self){qx.lang.Array.removeAt(bV,i);

if(bV.length==0){this.__unregisterAtHandler(bQ,bR,bT);
}return true;
}}return false;
},removeListenerById:function(S,T){var ba;
{};
var X=T.split(bx);
var bd=X[0];
var U=X[1].charCodeAt(0)==99;
var bc=X[2];
var bb=S.$$hash||qx.core.ObjectRegistry.toHashCode(S);
var be=this.__listeners[bb];

if(!be){return false;
}var Y=bd+(U?by:bz);
var W=be[Y];

if(!W){return false;
}var V;

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

if(V.unique===bc){qx.lang.Array.removeAt(W,i);

if(W.length==0){this.__unregisterAtHandler(S,bd,U);
}return true;
}}return false;
},removeAllListeners:function(J){var N=J.$$hash||qx.core.ObjectRegistry.toHashCode(J);
var P=this.__listeners[N];

if(!P){return false;
}var L,O,K;

for(var M in P){if(P[M].length>0){L=M.split(bx);
O=L[0];
K=L[1]===bp;
this.__unregisterAtHandler(J,O,K);
}}delete this.__listeners[N];
return true;
},__unregisterAtHandler:function(u,v,w){var x=this.findHandler(u,v);

if(x){x.unregisterEvent(u,v,w);
return;
}{};
},dispatchEvent:function(b,event){var g;
{};
var h=event.getType();

if(!event.getBubbles()&&!this.hasListener(b,h)){qx.event.Pool.getInstance().poolObject(event);
return true;
}
if(!event.getTarget()){event.setTarget(b);
}var f=qx.event.Registration.getDispatchers();
var e;
var d=false;

for(var i=0,l=f.length;i<l;i++){e=this.getDispatcher(f[i]);
if(e.canDispatchEvent(b,event,h)){e.dispatchEvent(b,event,h);
d=true;
break;
}}
if(!d){qx.log.Logger.error(this,"No dispatcher can handle event of type "+h+" on "+b);
return true;
}var c=event.getDefaultPrevented();
qx.event.Pool.getInstance().poolObject(event);
return !c;
},dispose:function(){qx.event.Registration.removeManager(this);
qx.util.DisposeUtil.disposeMap(this,bq);
qx.util.DisposeUtil.disposeMap(this,bu);
this.__listeners=this.__window=this.__disposeWrapper=this.__handlerCache=null;
}}});
})();
(function(){var g="qx.dom.Node",f="qx.client",e="";
qx.Class.define(g,{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(p){return p.nodeType===
this.DOCUMENT?p:
p.ownerDocument||p.document;
},getWindow:qx.core.Variant.select(f,{"mshtml":function(m){if(m.nodeType==null){return m;
}if(m.nodeType!==this.DOCUMENT){m=m.ownerDocument;
}return m.parentWindow;
},"default":function(h){if(h.nodeType==null){return h;
}if(h.nodeType!==this.DOCUMENT){h=h.ownerDocument;
}return h.defaultView;
}}),getDocumentElement:function(o){return this.getDocument(o).documentElement;
},getBodyElement:function(b){return this.getDocument(b).body;
},isNode:function(l){return !!(l&&l.nodeType!=null);
},isElement:function(q){return !!(q&&q.nodeType===this.ELEMENT);
},isDocument:function(j){return !!(j&&j.nodeType===this.DOCUMENT);
},isText:function(n){return !!(n&&n.nodeType===this.TEXT);
},isWindow:function(k){return !!(k&&k.history&&k.location&&k.document);
},getText:function(c){if(!c||!c.nodeType){return null;
}
switch(c.nodeType){case 1:var i,a=[],d=c.childNodes,length=d.length;

for(i=0;i<length;i++){a[i]=this.getText(d[i]);
}return a.join(e);
case 2:return c.nodeValue;
break;
case 3:return c.nodeValue;
break;
}return null;
}}});
})();
(function(){var V="mshtml",U="qx.client",T="[object Array]",S="qx.lang.Array",R="qx",Q="number",P="string";
qx.Bootstrap.define(S,{statics:{toArray:function(bn,bo){return this.cast(bn,Array,bo);
},cast:function(W,X,Y){if(W.constructor===X){return W;
}
if(qx.Class.hasInterface(W,qx.data.IListData)){var W=W.toArray();
}var ba=new X;
if(qx.core.Variant.isSet(U,V)){if(W.item){for(var i=Y||0,l=W.length;i<l;i++){ba.push(W[i]);
}return ba;
}}if(Object.prototype.toString.call(W)===T&&Y==null){ba.push.apply(ba,W);
}else{ba.push.apply(ba,Array.prototype.slice.call(W,Y||0));
}return ba;
},fromArguments:function(o,p){return Array.prototype.slice.call(o,p||0);
},fromCollection:function(bf){if(qx.core.Variant.isSet(U,V)){if(bf.item){var bg=[];

for(var i=0,l=bf.length;i<l;i++){bg[i]=bf[i];
}return bg;
}}return Array.prototype.slice.call(bf,0);
},fromShortHand:function(J){var L=J.length;
var K=qx.lang.Array.clone(J);
switch(L){case 1:K[1]=K[2]=K[3]=K[0];
break;
case 2:K[2]=K[0];
case 3:K[3]=K[1];
}return K;
},clone:function(c){return c.concat();
},insertAt:function(bk,bl,i){bk.splice(i,0,bl);
return bk;
},insertBefore:function(M,N,O){var i=M.indexOf(O);

if(i==-1){M.push(N);
}else{M.splice(i,0,N);
}return M;
},insertAfter:function(bh,bi,bj){var i=bh.indexOf(bj);

if(i==-1||i==(bh.length-1)){bh.push(bi);
}else{bh.splice(i+1,0,bi);
}return bh;
},removeAt:function(d,i){return d.splice(i,1)[0];
},removeAll:function(bm){bm.length=0;
return this;
},append:function(g,h){{};
Array.prototype.push.apply(g,h);
return g;
},exclude:function(bb,bc){{};

for(var i=0,be=bc.length,bd;i<be;i++){bd=bb.indexOf(bc[i]);

if(bd!=-1){bb.splice(bd,1);
}}return bb;
},remove:function(r,s){var i=r.indexOf(s);

if(i!=-1){r.splice(i,1);
return s;
}},contains:function(bp,bq){return bp.indexOf(bq)!==-1;
},equals:function(e,f){var length=e.length;

if(length!==f.length){return false;
}
for(var i=0;i<length;i++){if(e[i]!==f[i]){return false;
}}return true;
},sum:function(a){var b=0;

for(var i=0,l=a.length;i<l;i++){b+=a[i];
}return b;
},max:function(t){{};
var i,v=t.length,u=t[0];

for(i=1;i<v;i++){if(t[i]>u){u=t[i];
}}return u===undefined?null:u;
},min:function(j){{};
var i,m=j.length,k=j[0];

for(i=1;i<m;i++){if(j[i]<k){k=j[i];
}}return k===undefined?null:k;
},unique:function(w){var G=[],y={},B={},D={};
var C,x=0;
var H=R+qx.lang.Date.now();
var z=false,F=false,I=false;
for(var i=0,E=w.length;i<E;i++){C=w[i];
if(C===null){if(!z){z=true;
G.push(C);
}}else if(C===undefined){}else if(C===false){if(!F){F=true;
G.push(C);
}}else if(C===true){if(!I){I=true;
G.push(C);
}}else if(typeof C===P){if(!y[C]){y[C]=1;
G.push(C);
}}else if(typeof C===Q){if(!B[C]){B[C]=1;
G.push(C);
}}else{A=C[H];

if(A==null){A=C[H]=x++;
}
if(!D[A]){D[A]=C;
G.push(C);
}}}for(var A in D){try{delete D[A][H];
}catch(q){try{D[A][H]=null;
}catch(n){throw new Error("Cannot clean-up map entry doneObjects["+A+"]["+H+"]");
}}}return G;
}}});
})();
(function(){var n="()",m=".",l=".prototype.",k='anonymous()',j="qx.lang.Function",i=".constructor()";
qx.Bootstrap.define(j,{statics:{getCaller:function(A){return A.caller?A.caller.callee:A.callee.caller;
},getName:function(a){if(a.displayName){return a.displayName;
}
if(a.$$original||a.wrapper||a.classname){return a.classname+i;
}
if(a.$$mixin){for(var c in a.$$mixin.$$members){if(a.$$mixin.$$members[c]==a){return a.$$mixin.name+l+c+n;
}}for(var c in a.$$mixin){if(a.$$mixin[c]==a){return a.$$mixin.name+m+c+n;
}}}
if(a.self){var d=a.self.constructor;

if(d){for(var c in d.prototype){if(d.prototype[c]==a){return d.classname+l+c+n;
}}for(var c in d){if(d[c]==a){return d.classname+m+c+n;
}}}}var b=a.toString().match(/function\s*(\w*)\s*\(.*/);

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

if(D.delay){return window.setTimeout(r,D.delay);
}
if(D.periodical){return window.setInterval(r,D.periodical);
}}else if(D.attempt){var t=false;

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

if(!n){n=new qx.event.Manager(m);
this.__managers[o]=n;
}return n;
},removeManager:function(B){var C=qx.core.ObjectRegistry.toHashCode(B.getWindow());
delete this.__managers[C];
},addListener:function(d,e,f,self,g){return this.getManager(d).addListener(d,e,f,self,g);
},removeListener:function(p,q,r,self,s){return this.getManager(p).removeListener(p,q,r,self,s);
},removeListenerById:function(t,u){return this.getManager(t).removeListenerById(t,u);
},removeAllListeners:function(l){return this.getManager(l).removeAllListeners(l);
},hasListener:function(I,J,K){return this.getManager(I).hasListener(I,J,K);
},serializeListeners:function(j){return this.getManager(j).serializeListeners(j);
},createEvent:function(E,F,G){{};
if(F==null){F=qx.event.type.Event;
}var H=qx.event.Pool.getInstance().getObject(F);

if(!H){return;
}G?H.init.apply(H,G):H.init();
if(E){H.setType(E);
}return H;
},dispatchEvent:function(D,event){return this.getManager(D).dispatchEvent(D,event);
},fireEvent:function(L,M,N,O){var P;
{};
var Q=this.createEvent(M,N||null,O);
return this.getManager(L).dispatchEvent(L,Q);
},fireNonBubblingEvent:function(v,w,x,y){{};
var z=this.getManager(v);

if(!z.hasListener(v,w,false)){return true;
}var A=this.createEvent(w,x||null,y);
return z.dispatchEvent(v,A);
},PRIORITY_FIRST:-32000,PRIORITY_NORMAL:0,PRIORITY_LAST:32000,__handlers:[],addHandler:function(c){{};
this.__handlers.push(c);
this.__handlers.sort(function(a,b){return a.PRIORITY-b.PRIORITY;
});
},getHandlers:function(){return this.__handlers;
},__dispatchers:[],addDispatcher:function(h,i){{};
this.__dispatchers.push(h);
this.__dispatchers.sort(function(a,b){return a.PRIORITY-b.PRIORITY;
});
},getDispatchers:function(){return this.__dispatchers;
}}});
})();
(function(){var a="qx.log.appender.RingBuffer";
qx.Bootstrap.define(a,{construct:function(b){this.__history=[];
this.setMaxMessages(b||50);
},members:{__nextIndexToStoreTo:0,__history:null,__maxMessages:50,setMaxMessages:function(i){this.__maxMessages=i;
this.clearHistory();
},getMaxMessages:function(){return this.__maxMessages;
},process:function(g){var h=this.getMaxMessages();

if(this.__history.length<h){this.__history.push(g);
}else{this.__history[this.__nextIndexToStoreTo++]=g;

if(this.__nextIndexToStoreTo>=h){this.__nextIndexToStoreTo=0;
}}},getAllLogEvents:function(){return this.retrieveLogEvents(this.getMaxMessages());
},retrieveLogEvents:function(c){if(c>this.__history.length){c=this.__history.length;
}
if(this.__history.length==this.getMaxMessages()){var e=this.__nextIndexToStoreTo-1;
}else{e=this.__history.length-1;
}var d=e-c+1;

if(d<0){d+=this.__history.length;
}var f;

if(d<=e){f=this.__history.slice(d,e+1);
}else{f=this.__history.slice(d,this.__history.length).concat(this.__history.slice(0,e+1));
}return f;
},clearHistory:function(){this.__history=[];
this.__nextIndexToStoreTo=0;
}}});
})();
(function(){var u="node",t="error",s="...(+",r="array",q=")",p="info",o="instance",n="string",m="null",k="class",P="number",O="stringify",N="]",M="unknown",L="function",K="boolean",J="debug",I="map",H="undefined",G="qx.log.Logger",B=")}",C="#",z="warn",A="document",x="{...(",y="[",v="text[",w="[...(",D="\n",E=")]",F="object";
qx.Bootstrap.define(G,{statics:{__level:J,setLevel:function(S){this.__level=S;
},getLevel:function(){return this.__level;
},setTreshold:function(a){this.__buffer.setMaxMessages(a);
},getTreshold:function(){return this.__buffer.getMaxMessages();
},__appender:{},__id:0,register:function(bA){if(bA.$$id){return;
}var bB=this.__id++;
this.__appender[bB]=bA;
bA.$$id=bB;
var bC=this.__buffer.getAllLogEvents();

for(var i=0,l=bC.length;i<l;i++){bA.process(bC[i]);
}},unregister:function(Q){var R=Q.$$id;

if(R==null){return;
}delete this.__appender[R];
delete Q.$$id;
},debug:function(bt,bu){this.__log(J,arguments);
},info:function(by,bz){this.__log(p,arguments);
},warn:function(br,bs){this.__log(z,arguments);
},error:function(b,c){this.__log(t,arguments);
},trace:function(bn){this.__log(p,[bn,qx.dev.StackTrace.getStackTrace().join(D)]);
},deprecatedMethodWarning:function(d,e){var f;
{};
},deprecatedClassWarning:function(bv,bw){var bx;
{};
},deprecatedEventWarning:function(g,event,h){var j;
{};
},deprecatedMixinWarning:function(bo,bp){var bq;
{};
},clear:function(){this.__buffer.clearHistory();
},__buffer:new qx.log.appender.RingBuffer(50),__levels:{debug:0,info:1,warn:2,error:3},__log:function(T,U){var ba=this.__levels;

if(ba[T]<ba[this.__level]){return;
}var W=U.length<2?null:U[0];
var Y=W?1:0;
var V=[];

for(var i=Y,l=U.length;i<l;i++){V.push(this.__serialize(U[i],true));
}var bb=new Date;
var bc={time:bb,offset:bb-qx.Bootstrap.LOADSTART,level:T,items:V,win:window};
if(W){if(W instanceof qx.core.Object){bc.object=W.$$hash;
}else if(W.$$type){bc.clazz=W;
}}this.__buffer.process(bc);
var bd=this.__appender;

for(var X in bd){bd[X].process(bc);
}},__detect:function(bD){if(bD===undefined){return H;
}else if(bD===null){return m;
}
if(bD.$$type){return k;
}var bE=typeof bD;

if(bE===L||bE==n||bE===P||bE===K){return bE;
}else if(bE===F){if(bD.nodeType){return u;
}else if(bD.classname){return o;
}else if(bD instanceof Array){return r;
}else if(bD instanceof Error){return t;
}else{return I;
}}
if(bD.toString){return O;
}return M;
},__serialize:function(be,bf){var bm=this.__detect(be);
var bi=M;
var bh=[];

switch(bm){case m:case H:bi=bm;
break;
case n:case P:case K:bi=be;
break;
case u:if(be.nodeType===9){bi=A;
}else if(be.nodeType===3){bi=v+be.nodeValue+N;
}else if(be.nodeType===1){bi=be.nodeName.toLowerCase();

if(be.id){bi+=C+be.id;
}}else{bi=u;
}break;
case L:bi=qx.lang.Function.getName(be)||bm;
break;
case o:bi=be.basename+y+be.$$hash+N;
break;
case k:case O:bi=be.toString();
break;
case t:bh=qx.dev.StackTrace.getStackTraceFromError(be);
bi=be.toString();
break;
case r:if(bf){bi=[];

for(var i=0,l=be.length;i<l;i++){if(bi.length>20){bi.push(s+(l-i)+q);
break;
}bi.push(this.__serialize(be[i],false));
}}else{bi=w+be.length+E;
}break;
case I:if(bf){var bg;
var bl=[];

for(var bk in be){bl.push(bk);
}bl.sort();
bi=[];

for(var i=0,l=bl.length;i<l;i++){if(bi.length>20){bi.push(s+(l-i)+q);
break;
}bk=bl[i];
bg=this.__serialize(be[bk],false);
bg.key=bk;
bi.push(bg);
}}else{var bj=0;

for(var bk in be){bj++;
}bi=x+bj+B;
}break;
}return {type:bm,text:bi,trace:bh};
}}});
})();
(function(){var bx="set",bw="get",bv="reset",bu="qx.core.Object",bt="]",bs="[",br="$$user_",bq="__userData",bp="Object";
qx.Class.define(bu,{extend:Object,include:[qx.data.MBinding],construct:function(){qx.core.ObjectRegistry.register(this);
},statics:{$$type:bp},members:{toHashCode:function(){return this.$$hash;
},toString:function(){return this.classname+bs+this.$$hash+bt;
},base:function(o,p){if(arguments.length===1){return o.callee.base.call(this);
}else{return o.callee.base.apply(this,Array.prototype.slice.call(arguments,1));
}},self:function(bk){return bk.callee.self;
},clone:function(){var C=this.constructor;
var B=new C;
var E=qx.Class.getProperties(C);
var D=qx.core.Property.$$store.user;
var F=qx.core.Property.$$method.set;
var name;
for(var i=0,l=E.length;i<l;i++){name=E[i];

if(this.hasOwnProperty(D[name])){B[F[name]](this[D[name]]);
}}return B;
},serialize:function(){var O=this.constructor;
var Q=qx.Class.getProperties(O);
var R=qx.core.Property.$$store.user;
var name,N;
var P={classname:O.classname,properties:{}};
for(var i=0,l=Q.length;i<l;i++){name=Q[i];

if(this.hasOwnProperty(R[name])){N=this[R[name]];

if(N instanceof qx.core.Object){P.properties[name]={$$hash:N.$$hash};
}else{P.properties[name]=N;
}}}return P;
},set:function(J,K){var M=qx.core.Property.$$method.set;

if(qx.lang.Type.isString(J)){if(!this[M[J]]){if(this[bx+qx.lang.String.firstUp(J)]!=undefined){this[bx+qx.lang.String.firstUp(J)](K);
return;
}{};
}return this[M[J]](K);
}else{for(var L in J){if(!this[M[L]]){if(this[bx+qx.lang.String.firstUp(L)]!=undefined){this[bx+qx.lang.String.firstUp(L)](J[L]);
continue;
}{};
}this[M[L]](J[L]);
}return this;
}},get:function(m){var n=qx.core.Property.$$method.get;

if(!this[n[m]]){if(this[bw+qx.lang.String.firstUp(m)]!=undefined){return this[bw+qx.lang.String.firstUp(m)]();
}{};
}return this[n[m]]();
},reset:function(a){var b=qx.core.Property.$$method.reset;

if(!this[b[a]]){if(this[bv+qx.lang.String.firstUp(a)]!=undefined){this[bv+qx.lang.String.firstUp(a)]();
return;
}{};
}this[b[a]]();
},__Registration:qx.event.Registration,addListener:function(bC,bD,self,bE){if(!this.$$disposed){return this.__Registration.addListener(this,bC,bD,self,bE);
}return null;
},addListenerOnce:function(W,X,self,Y){var ba=function(e){X.call(self||this,e);
this.removeListener(W,ba,this,Y);
};
return this.addListener(W,ba,this,Y);
},removeListener:function(q,r,self,s){if(!this.$$disposed){return this.__Registration.removeListener(this,q,r,self,s);
}return false;
},removeListenerById:function(bz){if(!this.$$disposed){return this.__Registration.removeListenerById(this,bz);
}return false;
},hasListener:function(f,g){return this.__Registration.hasListener(this,f,g);
},dispatchEvent:function(c){if(!this.$$disposed){return this.__Registration.dispatchEvent(this,c);
}return true;
},fireEvent:function(h,j,k){if(!this.$$disposed){return this.__Registration.fireEvent(this,h,j,k);
}return true;
},fireNonBubblingEvent:function(T,U,V){if(!this.$$disposed){return this.__Registration.fireNonBubblingEvent(this,T,U,V);
}return true;
},fireDataEvent:function(bl,bm,bn,bo){if(!this.$$disposed){if(bn===undefined){bn=null;
}return this.__Registration.fireNonBubblingEvent(this,bl,qx.event.type.Data,[bm,bn,!!bo]);
}return true;
},__userData:null,setUserData:function(H,I){if(!this.__userData){this.__userData={};
}this.__userData[H]=I;
},getUserData:function(t){if(!this.__userData){return null;
}var u=this.__userData[t];
return u===undefined?null:u;
},__Logger:qx.log.Logger,debug:function(bA){this.__Logger.debug(this,bA);
},info:function(d){this.__Logger.info(this,d);
},warn:function(by){this.__Logger.warn(this,by);
},error:function(bb){this.__Logger.error(this,bb);
},trace:function(){this.__Logger.trace(this);
},isDisposed:function(){return this.$$disposed||false;
},dispose:function(){var y,w;
if(this.$$disposed){return;
}this.$$disposed=true;
this.$$instance=null;
this.$$allowconstruct=null;
{};
var x=this.constructor;
var v;

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

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

for(var i=0,l=z.length;i<l;i++){delete this[br+z[i]];
}{};
},_disposeFields:function(bB){qx.util.DisposeUtil.disposeFields(this,arguments);
},_disposeObjects:function(S){qx.util.DisposeUtil.disposeObjects(this,arguments);
},_disposeArray:function(G){qx.util.DisposeUtil.disposeArray(this,G);
},_disposeMap:function(A){qx.util.DisposeUtil.disposeMap(this,A);
}},settings:{"qx.disposerDebugLevel":0},defer:function(bF){{};
},destruct:function(){qx.event.Registration.removeAllListeners(this);
qx.core.ObjectRegistry.unregister(this);
this._disposeFields(bq);
var be=this.constructor;
var bi;
var bj=qx.core.Property.$$store;
var bg=bj.user;
var bh=bj.theme;
var bc=bj.inherit;
var bf=bj.useinit;
var bd=bj.init;

while(be){bi=be.$$properties;

if(bi){for(var name in bi){if(bi[name].dispose){this[bg[name]]=this[bh[name]]=this[bc[name]]=this[bf[name]]=this[bd[name]]=undefined;
}}}be=be.superclass;
}}});
})();
(function(){var I="",H="g",G="0",F='\\$1',E="%",D='-',C="qx.lang.String",B=' ',A='\n',z="undefined";
qx.Bootstrap.define(C,{statics:{camelCase:function(m){return m.replace(/\-([a-z])/g,function(p,q){return q.toUpperCase();
});
},hyphenate:function(j){return j.replace(/[A-Z]/g,function(y){return (D+y.charAt(0).toLowerCase());
});
},capitalize:function(s){return s.replace(/\b[a-z]/g,function(x){return x.toUpperCase();
});
},clean:function(J){return this.trim(J.replace(/\s+/g,B));
},trimLeft:function(a){return a.replace(/^\s+/,I);
},trimRight:function(o){return o.replace(/\s+$/,I);
},trim:function(u){return u.replace(/^\s+|\s+$/g,I);
},startsWith:function(K,L){return K.indexOf(L)===0;
},endsWith:function(v,w){return v.substring(v.length-w.length,v.length)===w;
},pad:function(b,length,c){if(typeof c===z){c=G;
}var d=I;

for(var i=b.length;i<length;i++){d+=c;
}return d+b;
},firstUp:function(l){return l.charAt(0).toUpperCase()+l.substr(1);
},firstLow:function(k){return k.charAt(0).toLowerCase()+k.substr(1);
},contains:function(P,Q){return P.indexOf(Q)!=-1;
},format:function(M,N){var O=M;

for(var i=0;i<N.length;i++){O=O.replace(new RegExp(E+(i+1),H),N[i]);
}return O;
},escapeRegexpChars:function(n){return n.replace(/([.*+?^${}()|[\]\/\\])/g,F);
},toArray:function(t){return t.split(/\B|\b/g);
},stripTags:function(r){return r.replace(/<\/?[^>]+>/gi,I);
},stripScripts:function(e,f){var h=I;
var g=e.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi,function(){h+=arguments[1]+A;
return I;
});

if(f===true){qx.lang.Function.globalEval(h);
}return g;
}}});
})();
(function(){var v="function",u="Boolean",t="qx.Interface",s="]",r="toggle",q="Interface",p="is",o="[Interface ";
qx.Class.define(t,{statics:{define:function(name,P){if(P){if(P.extend&&!(P.extend instanceof Array)){P.extend=[P.extend];
}{};
var Q=P.statics?P.statics:{};
if(P.extend){Q.$$extends=P.extend;
}
if(P.properties){Q.$$properties=P.properties;
}
if(P.members){Q.$$members=P.members;
}
if(P.events){Q.$$events=P.events;
}}else{var Q={};
}Q.$$type=q;
Q.name=name;
Q.toString=this.genericToString;
Q.basename=qx.Bootstrap.createNamespace(name,Q);
qx.Interface.$$registry[name]=Q;
return Q;
},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(C){if(!C){return [];
}var D=C.concat();

for(var i=0,l=C.length;i<l;i++){if(C[i].$$extends){D.push.apply(D,this.flatten(C[i].$$extends));
}}return D;
},__assertMembers:function(a,b,c,d){var h=c.$$members;

if(h){for(var g in h){if(qx.lang.Type.isFunction(h[g])){var f=this.__isPropertyMethod(b,g);
var e=f||qx.lang.Type.isFunction(a[g]);

if(!e){throw new Error('Implementation of method "'+g+'" is missing in class "'+b.classname+'" required by interface "'+c.name+'"');
}var j=d===true&&!f&&!qx.Class.hasInterface(b,c);

if(j){a[g]=this.__wrapInterfaceMember(c,a[g],g,h[g]);
}}else{if(typeof a[g]===undefined){if(typeof a[g]!==v){throw new Error('Implementation of member "'+g+'" is missing in class "'+b.classname+'" required by interface "'+c.name+'"');
}}}}}},__isPropertyMethod:function(w,x){var B=x.match(/^(is|toggle|get|set|reset)(.*)$/);

if(!B){return false;
}var y=qx.lang.String.firstLow(B[2]);
var z=qx.Class.hasProperty(w,y);

if(!z){return false;
}var A=B[0]==p||B[0]==r;

if(A){return qx.Class.getPropertyDefinition(w,y).check==u;
}return true;
},__assertProperties:function(k,m){if(m.$$properties){for(var n in m.$$properties){if(!qx.Class.hasProperty(k,n)){throw new Error('The property "'+n+'" is not supported by Class "'+k.classname+'"!');
}}}},__assertEvents:function(I,J){if(J.$$events){for(var K in J.$$events){if(!qx.Class.supportsEvent(I,K)){throw new Error('The event "'+K+'" is not supported by Class "'+I.classname+'"!');
}}}},assertObject:function(E,F){var H=E.constructor;
this.__assertMembers(E,H,F,false);
this.__assertProperties(H,F);
this.__assertEvents(H,F);
var G=F.$$extends;

if(G){for(var i=0,l=G.length;i<l;i++){this.assertObject(E,G[i]);
}}},assert:function(L,M,N){this.__assertMembers(L.prototype,L,M,N);
this.__assertProperties(L,M);
this.__assertEvents(L,M);
var O=M.$$extends;

if(O){for(var i=0,l=O.length;i<l;i++){this.assert(L,O[i],N);
}}},genericToString:function(){return o+this.name+s;
},$$registry:{},__wrapInterfaceMember:function(){},__allowedKeys:null,__validateConfig:function(){}}});
})();
(function(){var a="qx.ui.decoration.IDecorator";
qx.Interface.define(a,{members:{getMarkup:function(){},resize:function(b,c,d){},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:{__insets:null,_getDefaultInsets:function(){throw new Error("Abstract method called.");
},_isInitialized:function(){throw new Error("Abstract method called.");
},_resetInsets:function(){this.__insets=null;
},getInsets:function(){if(this.__insets){return this.__insets;
}var j=this._getDefaultInsets();
return this.__insets={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.__insets=null;
}}});
})();
(function(){var j="_applyBackground",i="repeat",h="backgroundPositionX",g="backgroundPositionY",f="no-repeat",e="scale",d="repeat-x",c="repeat-y",b="qx.ui.decoration.MBackgroundImage",a="String";
qx.Mixin.define(b,{properties:{backgroundImage:{check:a,nullable:true,apply:j},backgroundRepeat:{check:[i,d,c,f,e],init:i,apply:j},backgroundPositionX:{nullable:true,apply:j},backgroundPositionY:{nullable:true,apply:j},backgroundPosition:{group:[g,h]}},members:{_generateBackgroundMarkup:function(k){var l=qx.ui.decoration.Util.generateBackgroundMarkup(this.getBackgroundImage(),this.getBackgroundRepeat(),this.getBackgroundPositionX(),this.getBackgroundPositionY(),k);
return l;
},_applyBackground:function(){{};
}}});
})();
(function(){var C="_applyStyle",B="Color",A="px",z="solid",y="dotted",x="double",w="border:",v="dashed",u="",t="_applyWidth",n="qx.ui.decoration.Uniform",s="px ",q="__markup",m="position:absolute;top:0;left:0;",l=" ",p="__insets",o=";",r="scale",k="PositiveInteger";
qx.Class.define(n,{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:k,init:0,apply:t},style:{nullable:true,check:[z,y,v,x],init:z,apply:C},color:{nullable:true,check:B,apply:C},backgroundColor:{check:B,nullable:true,apply:C}},members:{__markup:null,_getDefaultInsets:function(){var D=this.getWidth();
return {top:D,right:D,bottom:D,left:D};
},_isInitialized:function(){return !!this.__markup;
},getMarkup:function(){if(this.__markup){return this.__markup;
}var d=m;
var e=this.getWidth();
{};
var g=qx.theme.manager.Color.getInstance();
d+=w+e+s+this.getStyle()+l+g.resolve(this.getColor())+o;
var f=this._generateBackgroundMarkup(d);
return this.__markup=f;
},resize:function(E,F,G){var I=this.getBackgroundImage()&&this.getBackgroundRepeat()==r;

if(I||qx.bom.client.Feature.CONTENT_BOX){var H=this.getWidth()*2;
F-=H;
G-=H;
if(F<0){F=0;
}
if(G<0){G=0;
}}E.style.width=F+A;
E.style.height=G+A;
},tint:function(h,i){var j=qx.theme.manager.Color.getInstance();

if(i==null){i=this.getBackgroundColor();
}h.style.backgroundColor=j.resolve(i)||u;
},_applyWidth:function(){{};
this._resetInsets();
},_applyStyle:function(){{};
}},destruct:function(){this._disposeFields(q,p);
}});
})();
(function(){var h="px",g="position:absolute;top:0;left:0",f="qx.ui.decoration.Background",e="",d="__insets",c="_applyStyle",b="__markup",a="Color";
qx.Class.define(f,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage],construct:function(m){arguments.callee.base.call(this);

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

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

if(qx.core.Variant.isSet(M,A)){if(qx.bom.client.Engine.VERSION<7||(qx.bom.client.Feature.QUIRKS_MODE&&qx.bom.client.Engine.VERSION<8)){if(Q%2==1){P.childNodes[2].style.marginRight=u;
P.childNodes[5].style.marginRight=u;
P.childNodes[8].style.marginRight=u;
}else{P.childNodes[2].style.marginRight=v;
P.childNodes[5].style.marginRight=v;
P.childNodes[8].style.marginRight=v;
}
if(R%2==1){P.childNodes[3].style.marginBottom=u;
P.childNodes[4].style.marginBottom=u;
P.childNodes[5].style.marginBottom=u;
}else{P.childNodes[3].style.marginBottom=v;
P.childNodes[4].style.marginBottom=v;
P.childNodes[5].style.marginBottom=v;
}}}},tint:function(W,X){},_applyBaseImage:function(g,h){{};

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

if(Q==null){Q=this.getBackgroundColor();
}P.childNodes[3].style.backgroundColor=R.resolve(Q)||d;
}},destruct:function(){this._disposeFields(u,v);
}});
})();
(function(){var m="_applyStyle",l="solid",k="Color",j="double",i="px ",h="dotted",g="_applyWidth",f="dashed",e="Number",d=" ",L=";",K="shorthand",J="px",I="widthTop",H="styleRight",G="styleLeft",F="widthLeft",E="widthBottom",D="",C="styleTop",t="colorBottom",u="styleBottom",r="widthRight",s="colorLeft",p="colorRight",q="colorTop",n="border-left:",o="scale",v="position:absolute;top:0;left:0;",w="__markup",y="border-top:",x="border-bottom:",A="border-right:",z="qx.ui.decoration.Single",B="__insets";
qx.Class.define(z,{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:{widthTop:{check:e,init:0,apply:g},widthRight:{check:e,init:0,apply:g},widthBottom:{check:e,init:0,apply:g},widthLeft:{check:e,init:0,apply:g},styleTop:{nullable:true,check:[l,h,f,j],init:l,apply:m},styleRight:{nullable:true,check:[l,h,f,j],init:l,apply:m},styleBottom:{nullable:true,check:[l,h,f,j],init:l,apply:m},styleLeft:{nullable:true,check:[l,h,f,j],init:l,apply:m},colorTop:{nullable:true,check:k,apply:m},colorRight:{nullable:true,check:k,apply:m},colorBottom:{nullable:true,check:k,apply:m},colorLeft:{nullable:true,check:k,apply:m},backgroundColor:{check:k,nullable:true,apply:m},left:{group:[F,G,s]},right:{group:[r,H,p]},top:{group:[I,C,q]},bottom:{group:[E,u,t]},width:{group:[I,r,E,F],mode:K},style:{group:[C,H,u,G],mode:K},color:{group:[q,p,t,s],mode:K}},members:{__markup:null,_getDefaultInsets:function(){return {top:this.getWidthTop(),right:this.getWidthRight(),bottom:this.getWidthBottom(),left:this.getWidthLeft()};
},_isInitialized:function(){return !!this.__markup;
},getMarkup:function(R){if(this.__markup){return this.__markup;
}var S=qx.theme.manager.Color.getInstance();
var T=D;
var V=this.getWidthTop();

if(V>0){T+=y+V+i+this.getStyleTop()+d+S.resolve(this.getColorTop())+L;
}var V=this.getWidthRight();

if(V>0){T+=A+V+i+this.getStyleRight()+d+S.resolve(this.getColorRight())+L;
}var V=this.getWidthBottom();

if(V>0){T+=x+V+i+this.getStyleBottom()+d+S.resolve(this.getColorBottom())+L;
}var V=this.getWidthLeft();

if(V>0){T+=n+V+i+this.getStyleLeft()+d+S.resolve(this.getColorLeft())+L;
}{};
T+=v;
var U=this._generateBackgroundMarkup(T);
return this.__markup=U;
},resize:function(M,N,O){var Q=this.getBackgroundImage()&&this.getBackgroundRepeat()==o;

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

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

for(var I in this.__ids){J.push(I);
}var L=new RegExp(l+J.join(B).replace(/\./g,r)+G,v);

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

if(qx.bom.client.Platform.WIN){if(K.indexOf(a)!==-1){this.SP1=true;
}else if(qx.bom.client.Engine.MSHTML&&K.indexOf(C)!==-1){this.SP2=true;
}}}}},defer:function(H){H.__init();
}});
})();
(function(){var m="Liberation Sans",l="Arial",k="Lucida Grande",j="Tahoma",i="Candara",h="Segoe UI",g="Consolas",f="Courier New",e="Monaco",d="monospace",a="Lucida Console",c="qx.theme.modern.Font",b="DejaVu Sans Mono";
qx.Theme.define(c,{fonts:{"default":{size:qx.bom.client.System.WINVISTA?12:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[k]:qx.bom.client.System.WINVISTA?[h,i]:[j,m,l]},"bold":{size:qx.bom.client.System.WINVISTA?12:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[k]:qx.bom.client.System.WINVISTA?[h,i]:[j,m,l],bold:true},"small":{size:qx.bom.client.System.WINVISTA?11:10,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[k]:qx.bom.client.System.WINVISTA?[h,i]:[j,m,l]},"monospace":{size:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[a,e]:qx.bom.client.System.WINVISTA?[g]:[g,b,f,d]}}});
})();
(function(){var a="smart.demo.theme.Font";
qx.Theme.define(a,{extend:qx.theme.modern.Font,fonts:{}});
})();
(function(){var c="Tango",b="qx/icon/Tango",a="qx.theme.icon.Tango";
qx.Theme.define(a,{title:c,aliases:{"icon":b},icons:{}});
})();
(function(){var fm="button-frame",fl="atom",fk="widget",fj="main",fi="button",fh="text-selected",fg="image",ff="bold",fe="middle",fd="background-light",dQ="text-disabled",dP="groupbox",dO="decoration/arrows/down.png",dN="cell",dM="selected",dL="border-invalid",dK="input",dJ="input-disabled",dI="menu-button",dH="input-focused-invalid",ft="toolbar-button",fu="spinner",fr="input-focused",fs="popup",fp="tooltip",fq="list",fn="tree-item",fo="treevirtual-contract",fv="scrollbar",fw="datechooser/nav-button",eL="text-hovered",eK="center",eN="treevirtual-expand",eM="textfield",eP="label",eO="decoration/arrows/right.png",eR="background-application",eQ="radiobutton",eJ="invalid",eI="combobox",bM="right-top",bN="checkbox",bO="text-title",bP="qx/static/blank.gif",bQ="scrollbar/button",bR="right",bS="combobox/button",bT="icon/16/places/folder.png",bU="text-label",bV="decoration/tree/closed.png",fK="scrollbar-slider-horizontal",fJ="white",fI="decoration/arrows/left.png",fH="button-focused",fO="text-light",fN="menu-slidebar-button",fM="text-input",fL="slidebar/button-forward",fQ="background-splitpane",fP=".png",cO="decoration/tree/open.png",cP="default",cM="decoration/arrows/down-small.png",cN="datechooser",cS="slidebar/button-backward",cT="selectbox",cQ="treevirtual-folder",cR="shadow-popup",cK="icon/16/mimetypes/office-document.png",cL="background-medium",cq="table",cp="decoration/arrows/up.png",cs="decoration/form/",cr="",cm="-invalid",cl="icon/16/places/folder-open.png",co="button-checked",cn="decoration/window/maximize-active-hovered.png",ck="radiobutton-hovered",cj="decoration/cursors/",da="slidebar",db="tooltip-error-arrow",dc="table-scroller-focus-indicator",dd="move-frame",cV="nodrop",cW="decoration/table/boolean-true.png",cX="table-header-cell",cY="menu",de="app-header",df="row-layer",cD="text-inactive",cC="move",cB="radiobutton-checked-focused",cA="decoration/window/restore-active-hovered.png",cz="shadow-window",cy="table-column-button",cx="right.png",cw="tabview-page-button-bottom-inactive",cH="tooltip-error",cG="window-statusbar",dg="button-hovered",dh="decoration/scrollbar/scrollbar-",di="background-tip",dj="scrollbar-slider-horizontal-disabled",dk="table-scroller-header",dl="radiobutton-disabled",dm="button-pressed",dn="table-pane",dp="decoration/window/close-active.png",dq="native",dY="checkbox-hovered",dX="button-invalid-shadow",dW="checkbox-checked",dV="decoration/window/minimize-active-hovered.png",ed="menubar",ec="icon/16/actions/dialog-cancel.png",eb="tabview-page-button-top-inactive",ea="tabview-page-button-left-inactive",eh="menu-slidebar",eg="toolbar-button-checked",eE="decoration/tree/open-selected.png",eF="radiobutton-checked",eC="decoration/window/minimize-inactive.png",eD="icon/16/apps/office-calendar.png",eA="group",eB="tabview-page-button-right-inactive",ey="decoration/window/minimize-active.png",ez="decoration/window/restore-inactive.png",eG="checkbox-checked-focused",eH="splitpane",eV="combobox/textfield",eU="button-preselected-focused",eX="decoration/window/close-active-hovered.png",eW="qx/icon/Tango/16/actions/window-close.png",fa="checkbox-pressed",eY="button-disabled",fc="tabview-page-button-left-active",fb="border-separator",eT="decoration/window/maximize-inactive.png",eS="icon/22/places/folder-open.png",fD="scrollarea",fE="scrollbar-vertical",fF="decoration/toolbar/toolbar-handle-knob.gif",fG="icon/22/mimetypes/office-document.png",fz="button-preselected",fA="button-checked-focused",fB="up.png",fC="best-fit",fx="decoration/tree/closed-selected.png",fy="qx.theme.modern.Appearance",bL="text-active",bK="checkbox-disabled",bJ="toolbar-button-hovered",bI="progressive-table-header",bH="decoration/table/select-column-order.png",bG="decoration/menu/radiobutton.gif",bF="decoration/arrows/forward.png",bE="decoration/table/descending.png",bD="window-captionbar-active",bC="checkbox-checked-hovered",bY="scrollbar-slider-vertical",ca="toolbar",bW="alias",bX="decoration/window/restore-active.png",cd="decoration/table/boolean-false.png",ce="checkbox-checked-disabled",cb="icon/32/mimetypes/office-document.png",cc="radiobutton-checked-disabled",cg="tabview-pane",ch="decoration/arrows/rewind.png",el="checkbox-focused",ef="top",es="#EEE",eo="icon/16/actions/dialog-ok.png",dT="radiobutton-checked-hovered",dR="table-header-cell-hovered",cu="window",dU="text-gray",cF="decoration/menu/radiobutton-invert.gif",cE="text-placeholder",dz="slider",dA="keep-align",dB="down.png",dC="tabview-page-button-top-active",dD="icon/32/places/folder-open.png",dE="icon/22/places/folder.png",dF="decoration/window/maximize-active.png",dG="checkbox-checked-pressed",dx="decoration/window/close-inactive.png",dy="toolbar-part",dS="decoration/splitpane/knob-vertical.png",er=".gif",eq="decoration/menu/checkbox-invert.gif",ep="radiobutton-checked-pressed",ew="table-statusbar",ev="radiobutton-pressed",eu="window-captionbar-inactive",et="copy",en="radiobutton-focused",em="decoration/arrows/down-invert.png",cf="decoration/menu/checkbox.gif",cJ="decoration/splitpane/knob-horizontal.png",cI="icon/32/places/folder.png",ee="toolbar-separator",cU="tabview-page-button-bottom-active",ek="decoration/arrows/up-small.png",ej="decoration/table/ascending.png",ei="decoration/arrows/up-invert.png",ct="small",ex="tabview-page-button-right-active",ci="-disabled",cv="scrollbar-horizontal",dr="progressive-table-header-cell",ds="menu-separator",dt="pane",du="decoration/arrows/right-invert.png",dv="left.png",dw="icon/16/actions/view-refresh.png";
qx.Theme.define(fy,{appearances:{"widget":{},"root":{style:function(hN){return {backgroundColor:eR,textColor:bU,font:cP};
}},"label":{style:function(gP){return {textColor:gP.disabled?dQ:undefined};
}},"move-frame":{style:function(C){return {decorator:fj};
}},"resize-frame":dd,"dragdrop-cursor":{style:function(y){var z=cV;

if(y.copy){z=et;
}else if(y.move){z=cC;
}else if(y.alias){z=bW;
}return {source:cj+z+er,position:bM,offset:[2,16,2,6]};
}},"image":{style:function(he){return {opacity:!he.replacement&&he.disabled?0.3:1};
}},"atom":{},"atom/label":eP,"atom/icon":fg,"popup":{style:function(W){return {decorator:fj,backgroundColor:fd,shadow:cR};
}},"button-frame":{alias:fl,style:function(bz){var bB,bA;

if(bz.checked&&bz.focused&&!bz.inner){bB=fA;
bA=undefined;
}else if(bz.disabled){bB=eY;
bA=undefined;
}else if(bz.pressed){bB=dm;
bA=eL;
}else if(bz.checked){bB=co;
bA=undefined;
}else if(bz.hovered){bB=dg;
bA=eL;
}else if(bz.preselected&&bz.focused&&!bz.inner){bB=eU;
bA=eL;
}else if(bz.preselected){bB=fz;
bA=eL;
}else if(bz.focused&&!bz.inner){bB=fH;
bA=undefined;
}else{bB=fi;
bA=undefined;
}return {decorator:bB,textColor:bA,shadow:bz.invalid&&!bz.disabled?dX:undefined};
}},"button-frame/image":{style:function(i){return {opacity:!i.replacement&&i.disabled?0.5:1};
}},"button":{alias:fm,include:fm,style:function(hx){return {padding:[2,8],center:true};
}},"hover-button":{alias:fl,include:fl,style:function(L){return {decorator:L.hovered?dM:undefined,textColor:L.hovered?fh:undefined};
}},"splitbutton":{},"splitbutton/button":fi,"splitbutton/arrow":{alias:fi,include:fi,style:function(gC){return {icon:dO,padding:2,marginLeft:1};
}},"checkbox":{alias:fl,style:function(hI){var hK;

if(hI.checked&&hI.focused){hK=eG;
}else if(hI.checked&&hI.disabled){hK=ce;
}else if(hI.checked&&hI.pressed){hK=dG;
}else if(hI.checked&&hI.hovered){hK=bC;
}else if(hI.checked){hK=dW;
}else if(hI.disabled){hK=bK;
}else if(hI.focused){hK=el;
}else if(hI.pressed){hK=fa;
}else if(hI.hovered){hK=dY;
}else{hK=bN;
}var hJ=hI.invalid&&!hI.disabled?cm:cr;
return {icon:cs+hK+hJ+fP,gap:6};
}},"radiobutton":{alias:fl,style:function(t){var v;

if(t.checked&&t.focused){v=cB;
}else if(t.checked&&t.disabled){v=cc;
}else if(t.checked&&t.pressed){v=ep;
}else if(t.checked&&t.hovered){v=dT;
}else if(t.checked){v=eF;
}else if(t.disabled){v=dl;
}else if(t.focused){v=en;
}else if(t.pressed){v=ev;
}else if(t.hovered){v=ck;
}else{v=eQ;
}var u=t.invalid&&!t.disabled?cm:cr;
return {icon:cs+v+u+fP,gap:6};
}},"textfield":{style:function(hm){var hr;
var hp=!!hm.focused;
var hq=!!hm.invalid;
var hn=!!hm.disabled;

if(hp&&hq&&!hn){hr=dH;
}else if(hp&&!hq&&!hn){hr=fr;
}else if(hn){hr=dJ;
}else if(!hp&&hq&&!hn){hr=dL;
}else{hr=dK;
}var ho;

if(hm.disabled){ho=dQ;
}else if(hm.showingPlaceholder){ho=cE;
}else{ho=fM;
}return {decorator:hr,padding:[2,4,1],textColor:ho};
}},"textarea":{include:eM,style:function(hU){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=dH;
}else if(gM&&!gN&&!gL){gO=fr;
}else if(gL){gO=dJ;
}else if(!gM&&gN&&!gL){gO=dL;
}else{gO=dK;
}return {decorator:gO};
}},"spinner/textfield":{style:function(gG){return {marginRight:2,padding:[2,4,1],textColor:gG.disabled?dQ:fM};
}},"spinner/upbutton":{alias:fm,include:fm,style:function(gA){return {icon:ek,padding:gA.pressed?[2,2,0,4]:[1,3,1,3],shadow:undefined};
}},"spinner/downbutton":{alias:fm,include:fm,style:function(p){return {icon:cM,padding:p.pressed?[2,2,0,4]:[1,3,1,3],shadow:undefined};
}},"datefield":eI,"datefield/button":{alias:bS,include:bS,style:function(hw){return {icon:eD,padding:[0,3],decorator:undefined};
}},"datefield/textfield":eV,"datefield/list":{alias:cN,include:cN,style:function(X){return {decorator:undefined};
}},"groupbox":{style:function(bd){return {legendPosition:ef};
}},"groupbox/legend":{alias:fl,style:function(hE){return {padding:[1,0,1,4],textColor:hE.invalid?eJ:bO,font:ff};
}},"groupbox/frame":{style:function(hV){return {padding:12,decorator:eA};
}},"check-groupbox":dP,"check-groupbox/legend":{alias:bN,include:bN,style:function(ib){return {padding:[1,0,1,4],textColor:ib.invalid?eJ:bO,font:ff};
}},"radio-groupbox":dP,"radio-groupbox/legend":{alias:eQ,include:eQ,style:function(gv){return {padding:[1,0,1,4],textColor:gv.invalid?eJ:bO,font:ff};
}},"scrollarea":{style:function(N){return {minWidth:50,minHeight:50};
}},"scrollarea/corner":{style:function(hT){return {backgroundColor:eR};
}},"scrollarea/pane":fk,"scrollarea/scrollbar-x":fv,"scrollarea/scrollbar-y":fv,"scrollbar":{style:function(hh){if(hh[dq]){return {};
}return {width:hh.horizontal?undefined:16,height:hh.horizontal?16:undefined,decorator:hh.horizontal?cv:fE,padding:1};
}},"scrollbar/slider":{alias:dz,style:function(o){return {padding:o.horizontal?[0,1,0,1]:[1,0,1,0]};
}},"scrollbar/slider/knob":{include:fm,style:function(bx){var by=bx.horizontal?fK:bY;

if(bx.disabled){by+=ci;
}return {decorator:by,minHeight:bx.horizontal?undefined:14,minWidth:bx.horizontal?14:undefined};
}},"scrollbar/button":{alias:fm,include:fm,style:function(bf){var bg=dh;

if(bf.left){bg+=dv;
}else if(bf.right){bg+=cx;
}else if(bf.up){bg+=fB;
}else{bg+=dB;
}
if(bf.left||bf.right){return {padding:[0,0,0,bf.left?3:4],icon:bg,width:15,height:14};
}else{return {padding:[0,0,0,2],icon:bg,width:14,height:15};
}}},"scrollbar/button-begin":bQ,"scrollbar/button-end":bQ,"slider":{style:function(O){var S;
var Q=!!O.focused;
var R=!!O.invalid;
var P=!!O.disabled;

if(Q&&R&&!P){S=dH;
}else if(Q&&!R&&!P){S=fr;
}else if(P){S=dJ;
}else if(!Q&&R&&!P){S=dL;
}else{S=dK;
}return {decorator:S};
}},"slider/knob":{include:fm,style:function(hO){return {decorator:hO.disabled?dj:fK,shadow:undefined,height:14,width:14};
}},"list":{alias:fD,style:function(gd){var gh;
var gf=!!gd.focused;
var gg=!!gd.invalid;
var ge=!!gd.disabled;

if(gf&&gg&&!ge){gh=dH;
}else if(gf&&!gg&&!ge){gh=fr;
}else if(ge){gh=dJ;
}else if(!gf&&gg&&!ge){gh=dL;
}else{gh=dK;
}return {backgroundColor:fd,decorator:gh};
}},"list/pane":fk,"listitem":{alias:fl,style:function(bl){return {padding:4,textColor:bl.selected?fh:undefined,decorator:bl.selected?dM:undefined};
}},"slidebar":{},"slidebar/scrollpane":{},"slidebar/content":{},"slidebar/button-forward":{alias:fm,include:fm,style:function(H){return {padding:5,center:true,icon:H.vertical?dO:eO};
}},"slidebar/button-backward":{alias:fm,include:fm,style:function(fT){return {padding:5,center:true,icon:fT.vertical?cp:fI};
}},"tabview":{style:function(gt){return {contentPadding:16};
}},"tabview/bar":{alias:da,style:function(gq){var gr={marginBottom:gq.barTop?-1:0,marginTop:gq.barBottom?-4:0,marginLeft:gq.barRight?-3:0,marginRight:gq.barLeft?-1:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0};

if(gq.barTop||gq.barBottom){gr.paddingLeft=5;
gr.paddingRight=7;
}else{gr.paddingTop=5;
gr.paddingBottom=7;
}return gr;
}},"tabview/bar/button-forward":{include:fL,alias:fL,style:function(gz){if(gz.barTop||gz.barBottom){return {marginTop:2,marginBottom:2};
}else{return {marginLeft:2,marginRight:2};
}}},"tabview/bar/button-backward":{include:cS,alias:cS,style:function(gH){if(gH.barTop||gH.barBottom){return {marginTop:2,marginBottom:2};
}else{return {marginLeft:2,marginRight:2};
}}},"tabview/bar/scrollpane":{},"tabview/pane":{style:function(A){return {decorator:cg,minHeight:100,marginBottom:A.barBottom?-1:0,marginTop:A.barTop?-1:0,marginLeft:A.barLeft?-1:0,marginRight:A.barRight?-1:0};
}},"tabview-page":fk,"tabview-page/button":{alias:fl,style:function(gT){var ha,gV=0;
var gY=0,gU=0,gW=0,gX=0;

if(gT.checked){if(gT.barTop){ha=dC;
gV=[6,14];
gW=gT.firstTab?0:-5;
gX=gT.lastTab?0:-5;
}else if(gT.barBottom){ha=cU;
gV=[6,14];
gW=gT.firstTab?0:-5;
gX=gT.lastTab?0:-5;
}else if(gT.barRight){ha=ex;
gV=[6,13];
gY=gT.firstTab?0:-5;
gU=gT.lastTab?0:-5;
}else{ha=fc;
gV=[6,13];
gY=gT.firstTab?0:-5;
gU=gT.lastTab?0:-5;
}}else{if(gT.barTop){ha=eb;
gV=[4,10];
gY=4;
gW=gT.firstTab?5:1;
gX=1;
}else if(gT.barBottom){ha=cw;
gV=[4,10];
gU=4;
gW=gT.firstTab?5:1;
gX=1;
}else if(gT.barRight){ha=eB;
gV=[4,10];
gX=5;
gY=gT.firstTab?5:1;
gU=1;
gW=1;
}else{ha=ea;
gV=[4,10];
gW=5;
gY=gT.firstTab?5:1;
gU=1;
gX=1;
}}return {zIndex:gT.checked?10:5,decorator:ha,padding:gV,marginTop:gY,marginBottom:gU,marginLeft:gW,marginRight:gX,textColor:gT.checked?bL:cD};
}},"tabview-page/button/close-button":{alias:fl,style:function(J){return {icon:eW};
}},"toolbar":{style:function(d){return {decorator:ca,spacing:2};
}},"toolbar/part":{style:function(hP){return {decorator:dy,spacing:2};
}},"toolbar/part/container":{style:function(U){return {paddingLeft:2,paddingRight:2};
}},"toolbar/part/handle":{style:function(hj){return {source:fF,marginLeft:3,marginRight:3};
}},"toolbar-button":{alias:fl,style:function(hb){return {marginTop:2,marginBottom:2,padding:(hb.pressed||hb.checked||hb.hovered)&&!hb.disabled||(hb.disabled&&hb.checked)?3:5,decorator:hb.pressed||(hb.checked&&!hb.hovered)||(hb.checked&&hb.disabled)?eg:hb.hovered&&!hb.disabled?bJ:undefined};
}},"toolbar-menubutton":{alias:ft,include:ft,style:function(hF){return {showArrow:true};
}},"toolbar-menubutton/arrow":{alias:fg,include:fg,style:function(br){return {source:cM};
}},"toolbar-splitbutton":{style:function(hc){return {marginTop:2,marginBottom:2};
}},"toolbar-splitbutton/button":{alias:ft,include:ft,style:function(w){return {icon:dO,marginTop:undefined,marginBottom:undefined};
}},"toolbar-splitbutton/arrow":{alias:ft,include:ft,style:function(hW){return {padding:hW.pressed||hW.checked?1:hW.hovered?1:3,icon:dO,marginTop:undefined,marginBottom:undefined};
}},"toolbar-separator":{style:function(hz){return {decorator:ee,margin:7};
}},"tree":fq,"tree-item":{style:function(bo){return {padding:[2,6],textColor:bo.selected?fh:undefined,decorator:bo.selected?dM:undefined};
}},"tree-item/icon":{include:fg,style:function(hX){return {paddingRight:5};
}},"tree-item/label":eP,"tree-item/open":{include:fg,style:function(E){var F;

if(E.selected&&E.opened){F=eE;
}else if(E.selected&&!E.opened){F=fx;
}else if(E.opened){F=cO;
}else{F=bV;
}return {padding:[0,5,0,2],source:F};
}},"tree-folder":{include:fn,alias:fn,style:function(hL){var hM;

if(hL.small){hM=hL.opened?cl:bT;
}else if(hL.large){hM=hL.opened?dD:cI;
}else{hM=hL.opened?eS:dE;
}return {icon:hM};
}},"tree-file":{include:fn,alias:fn,style:function(K){return {icon:K.small?cK:K.large?cb:fG};
}},"treevirtual":cq,"treevirtual-folder":{style:function(hl){return {icon:hl.opened?cl:bT};
}},"treevirtual-file":{include:cQ,alias:cQ,style:function(gs){return {icon:cK};
}},"treevirtual-line":{style:function(gD){return {icon:bP};
}},"treevirtual-contract":{style:function(gS){return {icon:cO,paddingLeft:5,paddingTop:2};
}},"treevirtual-expand":{style:function(hy){return {icon:bV,paddingLeft:5,paddingTop:2};
}},"treevirtual-only-contract":fo,"treevirtual-only-expand":eN,"treevirtual-start-contract":fo,"treevirtual-start-expand":eN,"treevirtual-end-contract":fo,"treevirtual-end-expand":eN,"treevirtual-cross-contract":fo,"treevirtual-cross-expand":eN,"treevirtual-end":{style:function(e){return {icon:bP};
}},"treevirtual-cross":{style:function(bn){return {icon:bP};
}},"tooltip":{include:fs,style:function(hk){return {backgroundColor:di,padding:[1,3,2,3],offset:[5,5,20,5]};
}},"tooltip/atom":fl,"tooltip-error":{include:fp,style:function(n){return {textColor:fh,placeMethod:fk,offsetRight:15,position:bM,showTimeout:100,hideTimeout:10000,decorator:cH,shadow:db,font:ff};
}},"tooltip-error/atom":fl,"window":{style:function(gR){return {shadow:cz,contentPadding:[10,10,10,10]};
}},"window/pane":{style:function(B){return {decorator:cu};
}},"window/captionbar":{style:function(s){return {decorator:s.active?bD:eu,textColor:s.active?fJ:dU,minHeight:26,paddingRight:2};
}},"window/icon":{style:function(G){return {margin:[5,0,3,6]};
}},"window/title":{style:function(I){return {alignY:fe,font:ff,marginLeft:6,marginRight:12};
}},"window/minimize-button":{alias:fl,style:function(gb){return {icon:gb.active?gb.hovered?dV:ey:eC,margin:[4,8,2,0]};
}},"window/restore-button":{alias:fl,style:function(bq){return {icon:bq.active?bq.hovered?cA:bX:ez,margin:[5,8,2,0]};
}},"window/maximize-button":{alias:fl,style:function(hC){return {icon:hC.active?hC.hovered?cn:dF:eT,margin:[4,8,2,0]};
}},"window/close-button":{alias:fl,style:function(hY){return {icon:hY.active?hY.hovered?eX:dp:dx,margin:[4,8,2,0]};
}},"window/statusbar":{style:function(fR){return {padding:[2,6],decorator:cG,minHeight:18};
}},"window/statusbar-text":{style:function(l){return {font:ct};
}},"iframe":{style:function(D){return {decorator:fj};
}},"resizer":{style:function(hG){return {decorator:dt};
}},"splitpane":{style:function(gx){return {decorator:eH};
}},"splitpane/splitter":{style:function(r){return {width:r.horizontal?3:undefined,height:r.vertical?3:undefined,backgroundColor:fQ};
}},"splitpane/splitter/knob":{style:function(ia){return {source:ia.horizontal?cJ:dS};
}},"splitpane/slider":{style:function(bc){return {width:bc.horizontal?3:undefined,height:bc.vertical?3:undefined,backgroundColor:fQ};
}},"selectbox":{alias:fm,include:fm,style:function(gQ){return {padding:[2,8]};
}},"selectbox/atom":fl,"selectbox/popup":fs,"selectbox/list":{alias:fq},"selectbox/arrow":{include:fg,style:function(c){return {source:dO,paddingLeft:5};
}},"datechooser":{style:function(fU){var fY;
var fW=!!fU.focused;
var fX=!!fU.invalid;
var fV=!!fU.disabled;

if(fW&&fX&&!fV){fY=dH;
}else if(fW&&!fX&&!fV){fY=fr;
}else if(fV){fY=dJ;
}else if(!fW&&fX&&!fV){fY=dL;
}else{fY=dK;
}return {padding:2,decorator:fY,backgroundColor:fd};
}},"datechooser/navigation-bar":{},"datechooser/nav-button":{include:fm,alias:fm,style:function(f){var g={padding:[2,4],shadow:undefined};

if(f.lastYear){g.icon=ch;
g.marginRight=1;
}else if(f.lastMonth){g.icon=fI;
}else if(f.nextYear){g.icon=bF;
g.marginLeft=1;
}else if(f.nextMonth){g.icon=eO;
}return g;
}},"datechooser/last-year-button-tooltip":fp,"datechooser/last-month-button-tooltip":fp,"datechooser/next-year-button-tooltip":fp,"datechooser/next-month-button-tooltip":fp,"datechooser/last-year-button":fw,"datechooser/last-month-button":fw,"datechooser/next-month-button":fw,"datechooser/next-year-button":fw,"datechooser/month-year-label":{style:function(gc){return {font:ff,textAlign:eK,textColor:gc.disabled?dQ:undefined};
}},"datechooser/date-pane":{style:function(V){return {textColor:V.disabled?dQ:undefined,marginTop:2};
}},"datechooser/weekday":{style:function(gI){return {textColor:gI.disabled?dQ:gI.weekend?fO:undefined,textAlign:eK,paddingTop:2,backgroundColor:cL};
}},"datechooser/week":{style:function(M){return {textAlign:eK,padding:[2,4],backgroundColor:cL};
}},"datechooser/day":{style:function(bp){return {textAlign:eK,decorator:bp.disabled?undefined:bp.selected?dM:undefined,textColor:bp.disabled?dQ:bp.selected?fh:bp.otherMonth?fO:undefined,font:bp.today?ff:undefined,padding:[2,4]};
}},"combobox":{style:function(gi){var gm;
var gk=!!gi.focused;
var gl=!!gi.invalid;
var gj=!!gi.disabled;

if(gk&&gl&&!gj){gm=dH;
}else if(gk&&!gl&&!gj){gm=fr;
}else if(gj){gm=dJ;
}else if(!gk&&gl&&!gj){gm=dL;
}else{gm=dK;
}return {decorator:gm};
}},"combobox/popup":fs,"combobox/list":{alias:fq},"combobox/button":{include:fm,alias:fm,style:function(bt){var bu={icon:dO,padding:2};

if(bt.selected){bu.decorator=fH;
}return bu;
}},"combobox/textfield":{include:eM,style:function(gE){return {decorator:undefined};
}},"menu":{style:function(go){var gp={decorator:cY,shadow:cR,spacingX:6,spacingY:1,iconColumnWidth:16,arrowColumnWidth:4,placementModeY:go.submenu||go.contextmenu?fC:dA};

if(go.submenu){gp.position=bM;
gp.offset=[-2,-3];
}return gp;
}},"menu/slidebar":eh,"menu-slidebar":fk,"menu-slidebar-button":{style:function(k){return {decorator:k.hovered?dM:undefined,padding:7,center:true};
}},"menu-slidebar/button-backward":{include:fN,style:function(hA){return {icon:hA.hovered?ei:cp};
}},"menu-slidebar/button-forward":{include:fN,style:function(bs){return {icon:bs.hovered?em:dO};
}},"menu-separator":{style:function(bb){return {height:0,decorator:ds,margin:[4,2]};
}},"menu-button":{alias:fl,style:function(hf){return {decorator:hf.selected?dM:undefined,textColor:hf.selected?fh:undefined,padding:[4,6]};
}},"menu-button/icon":{include:fg,style:function(hR){return {alignY:fe};
}},"menu-button/label":{include:eP,style:function(ba){return {alignY:fe,padding:1};
}},"menu-button/shortcut":{include:eP,style:function(x){return {alignY:fe,marginLeft:14,padding:1};
}},"menu-button/arrow":{include:fg,style:function(gF){return {source:gF.selected?du:eO,alignY:fe};
}},"menu-checkbox":{alias:dI,include:dI,style:function(bi){return {icon:!bi.checked?undefined:bi.selected?eq:cf};
}},"menu-radiobutton":{alias:dI,include:dI,style:function(bk){return {icon:!bk.checked?undefined:bk.selected?cF:bG};
}},"menubar":{style:function(j){return {decorator:ed};
}},"menubar-button":{alias:fl,style:function(be){return {decorator:be.pressed||be.hovered?dM:undefined,textColor:be.pressed||be.hovered?fh:undefined,padding:[3,8]};
}},"colorselector":fk,"colorselector/control-bar":fk,"colorselector/control-pane":fk,"colorselector/visual-pane":dP,"colorselector/preset-grid":fk,"colorselector/colorbucket":{style:function(gJ){return {decorator:fj,width:16,height:16};
}},"colorselector/preset-field-set":dP,"colorselector/input-field-set":dP,"colorselector/preview-field-set":dP,"colorselector/hex-field-composite":fk,"colorselector/hex-field":eM,"colorselector/rgb-spinner-composite":fk,"colorselector/rgb-spinner-red":fu,"colorselector/rgb-spinner-green":fu,"colorselector/rgb-spinner-blue":fu,"colorselector/hsb-spinner-composite":fk,"colorselector/hsb-spinner-hue":fu,"colorselector/hsb-spinner-saturation":fu,"colorselector/hsb-spinner-brightness":fu,"colorselector/preview-content-old":{style:function(ga){return {decorator:fj,width:50,height:10};
}},"colorselector/preview-content-new":{style:function(hi){return {decorator:fj,backgroundColor:fd,width:50,height:10};
}},"colorselector/hue-saturation-field":{style:function(h){return {decorator:fj,margin:5};
}},"colorselector/brightness-field":{style:function(hs){return {decorator:fj,margin:[5,7]};
}},"colorselector/hue-saturation-pane":fk,"colorselector/hue-saturation-handle":fk,"colorselector/brightness-pane":fk,"colorselector/brightness-handle":fk,"colorpopup":{alias:fs,include:fs,style:function(m){return {padding:5,backgroundColor:eR};
}},"colorpopup/field":{style:function(T){return {decorator:fj,margin:2,width:14,height:14,backgroundColor:fd};
}},"colorpopup/selector-button":fi,"colorpopup/auto-button":fi,"colorpopup/preview-pane":dP,"colorpopup/current-preview":{style:function(hu){return {height:20,padding:4,marginLeft:4,decorator:fj,allowGrowX:true};
}},"colorpopup/selected-preview":{style:function(gw){return {height:20,padding:4,marginRight:4,decorator:fj,allowGrowX:true};
}},"colorpopup/colorselector-okbutton":{alias:fi,include:fi,style:function(q){return {icon:eo};
}},"colorpopup/colorselector-cancelbutton":{alias:fi,include:fi,style:function(hQ){return {icon:ec};
}},"table":{alias:fk,style:function(b){return {decorator:cq};
}},"table-header":{},"table/statusbar":{style:function(gB){return {decorator:ew,padding:[0,2]};
}},"table/column-button":{alias:fm,style:function(hg){return {decorator:cy,padding:3,icon:bH};
}},"table-column-reset-button":{include:dI,alias:dI,style:function(){return {icon:dw};
}},"table-scroller":fk,"table-scroller/scrollbar-x":fv,"table-scroller/scrollbar-y":fv,"table-scroller/header":{style:function(gn){return {decorator:dk};
}},"table-scroller/pane":{style:function(Y){return {backgroundColor:dn};
}},"table-scroller/focus-indicator":{style:function(fS){return {decorator:dc};
}},"table-scroller/resize-line":{style:function(bv){return {backgroundColor:fb,width:2};
}},"table-header-cell":{alias:fl,style:function(a){return {minWidth:13,minHeight:20,padding:a.hovered?[3,4,2,4]:[3,4],decorator:a.hovered?dR:cX,sortIcon:a.sorted?(a.sortedAscending?ej:bE):undefined};
}},"table-header-cell/label":{style:function(hd){return {minWidth:0,alignY:fe,paddingRight:5};
}},"table-header-cell/sort-icon":{style:function(gu){return {alignY:fe,alignX:bR};
}},"table-header-cell/icon":{style:function(bm){return {minWidth:0,alignY:fe,paddingRight:5};
}},"table-editor-textfield":{include:eM,style:function(ht){return {decorator:undefined,padding:[2,2],backgroundColor:fd};
}},"table-editor-selectbox":{include:cT,alias:cT,style:function(hD){return {padding:[0,2],backgroundColor:fd};
}},"table-editor-combobox":{include:eI,alias:eI,style:function(hS){return {decorator:undefined,backgroundColor:fd};
}},"progressive-table-header":{alias:fk,style:function(bj){return {decorator:bI};
}},"progressive-table-header-cell":{alias:fl,style:function(hv){return {minWidth:40,minHeight:25,paddingLeft:6,decorator:dr};
}},"app-header":{style:function(hB){return {font:ff,textColor:fh,padding:[8,12],decorator:de};
}},"virtual-list":fq,"virtual-list/row-layer":df,"row-layer":{style:function(gy){return {colorEven:fJ,colorOdd:es};
}},"column-layer":fk,"cell":{style:function(bh){return {textColor:bh.selected?fh:bU,padding:[3,6],font:cP};
}},"cell-string":dN,"cell-number":{include:dN,style:function(bw){return {textAlign:bR};
}},"cell-image":dN,"cell-boolean":{include:dN,style:function(hH){return {iconTrue:cW,iconFalse:cd};
}},"cell-atom":dN,"cell-date":dN,"cell-html":dN}});
})();
(function(){var a="smart.demo.theme.Appearance";
qx.Theme.define(a,{extend:qx.theme.modern.Appearance,appearances:{}});
})();
(function(){var a="smart.demo.theme.Theme";
qx.Theme.define(a,{meta:{color:smart.demo.theme.Color,decoration:smart.demo.theme.Decoration,font:smart.demo.theme.Font,icon:qx.theme.icon.Tango,appearance:smart.demo.theme.Appearance}});
})();
(function(){var g="emulated",f="native",e='"',d="qx.lang.Core",c="\\\\",b="\\\"",a="[object Error]";
qx.Bootstrap.define(d,{statics:{errorToString:qx.lang.Object.select((!Error.prototype.toString||Error.prototype.toString()==a)?g:f,{"native":Error.prototype.toString,"emulated":function(){return this.message;
}}),arrayIndexOf:qx.lang.Object.select(Array.prototype.indexOf?f:g,{"native":Array.prototype.indexOf,"emulated":function(h,j){if(j==null){j=0;
}else if(j<0){j=Math.max(0,this.length+j);
}
for(var i=j;i<this.length;i++){if(this[i]===h){return i;
}}return -1;
}}),arrayLastIndexOf:qx.lang.Object.select(Array.prototype.lastIndexOf?f:g,{"native":Array.prototype.lastIndexOf,"emulated":function(o,p){if(p==null){p=this.length-1;
}else if(p<0){p=Math.max(0,this.length+p);
}
for(var i=p;i>=0;i--){if(this[i]===o){return i;
}}return -1;
}}),arrayForEach:qx.lang.Object.select(Array.prototype.forEach?f:g,{"native":Array.prototype.forEach,"emulated":function(k,m){var l=this.length;

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

if(n!==undefined){k.call(m||window,n,i,this);
}}}}),arrayFilter:qx.lang.Object.select(Array.prototype.filter?f:g,{"native":Array.prototype.filter,"emulated":function(x,y){var z=[];
var l=this.length;

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

if(A!==undefined){if(x.call(y||window,A,i,this)){z.push(this[i]);
}}}return z;
}}),arrayMap:qx.lang.Object.select(Array.prototype.map?f:g,{"native":Array.prototype.map,"emulated":function(t,u){var v=[];
var l=this.length;

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

if(w!==undefined){v[i]=t.call(u||window,w,i,this);
}}return v;
}}),arraySome:qx.lang.Object.select(Array.prototype.some?f:g,{"native":Array.prototype.some,"emulated":function(B,C){var l=this.length;

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

if(D!==undefined){if(B.call(C||window,D,i,this)){return true;
}}}return false;
}}),arrayEvery:qx.lang.Object.select(Array.prototype.every?f:g,{"native":Array.prototype.every,"emulated":function(q,r){var l=this.length;

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

if(s!==undefined){if(!q.call(r||window,s,i,this)){return false;
}}}return true;
}}),stringQuote:qx.lang.Object.select(String.prototype.quote?f:g,{"native":String.prototype.quote,"emulated":function(){return e+this.replace(/\\/g,c).replace(/\"/g,b)+e;
}})}});
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:{__map:{"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]},__wrap:function(P,Q){return function(s){return P.prototype[Q].apply(s,Array.prototype.slice.call(arguments,1));
};
},__init:function(){var a=qx.lang.Generics.__map;

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.__wrap(c,d);
}}}}},defer:function(O){O.__init();
}});
})();
(function(){var c="qx.event.type.Data",b="qx.event.type.Event",a="qx.data.IListData";
qx.Interface.define(a,{events:{"change":c,"changeLength":b},members:{getItem:function(j){},setItem:function(e,f){},splice:function(g,h,i){},contains:function(d){},getLength:function(){},toArray:function(){}}});
})();
(function(){var a="qx.lang.Date";
qx.Bootstrap.define(a,{statics:{now:function(){return +new Date;
}}});
})();
(function(){var e="qx.globalErrorHandling",d="on",c="qx.event.GlobalError";
qx.Bootstrap.define(c,{statics:{setErrorHandler:function(f,g){this.__callback=f||null;
this.__context=g||window;

if(qx.core.Setting.get(e)===d){if(f&&!window.onerror){window.onerror=qx.lang.Function.bind(this.__onErrorWindow,this);
}
if(!f&&window.onerror){window.onerror=null;
}}},__onErrorWindow:function(j,k,l){if(this.__callback){this.handleError(new qx.core.WindowError(j,k,l));
return true;
}},observeMethod:function(h){if(qx.core.Setting.get(e)===d){var self=this;
return function(){if(!self.__callback){return h.apply(this,arguments);
}
try{return h.apply(this,arguments);
}catch(b){self.handleError(b);
}};
}else{return h;
}},handleError:function(a){if(this.__callback){this.__callback.call(this.__context,a);
}}},defer:function(i){qx.core.Setting.define(e,d);
i.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.__failMessage=c;
this.__uri=d||b;
this.__lineNumber=e===undefined?-1:e;
},members:{__failMessage:null,__uri:null,__lineNumber:null,toString:function(){return this.__failMessage;
},getUri:function(){return this.__uri;
},getLineNumber:function(){return this.__lineNumber;
}}});
})();
(function(){var x=":",w="qx.client",v="anonymous",u="...",t="qx.dev.StackTrace",s="",r="\n",q="/source/class/",p=".";
qx.Class.define(t,{statics:{getStackTrace:qx.core.Variant.select(w,{"gecko":function(){try{throw new Error();
}catch(o){var V=this.getStackTraceFromError(o);
qx.lang.Array.removeAt(V,0);
var T=this.getStackTraceFromCaller(arguments);
var R=T.length>V.length?T:V;

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

if(S.indexOf(v)>=0){continue;
}var ba=S.split(x);

if(ba.length!=2){continue;
}var X=ba[0];
var Q=ba[1];
var P=V[i];
var bb=P.split(x);
var W=bb[0];
var O=bb[1];

if(qx.Class.getByName(W)){var U=W;
}else{U=X;
}var Y=U+x;

if(Q){Y+=Q+x;
}Y+=O;
R[i]=Y;
}return R;
}},"mshtml|webkit":function(){return this.getStackTraceFromCaller(arguments);
},"opera":function(){var y;

try{y.bar();
}catch(M){var z=this.getStackTraceFromError(M);
qx.lang.Array.removeAt(z,0);
return z;
}return [];
}}),getStackTraceFromCaller:qx.core.Variant.select(w,{"opera":function(L){return [];
},"default":function(h){var n=[];
var m=qx.lang.Function.getCaller(h);
var j={};

while(m){var k=qx.lang.Function.getName(m);
n.push(k);

try{m=m.caller;
}catch(N){break;
}
if(!m){break;
}var l=qx.core.ObjectRegistry.toHashCode(m);

if(j[l]){n.push(u);
break;
}j[l]=m;
}return n;
}}),getStackTraceFromError:qx.core.Variant.select(w,{"gecko":function(a){if(!a.stack){return [];
}var g=/@(.+):(\d+)$/gm;
var b;
var c=[];

while((b=g.exec(a.stack))!=null){var d=b[1];
var f=b[2];
var e=this.__fileNameToClassName(d);
c.push(e+x+f);
}return c;
},"webkit":function(bc){if(bc.sourceURL&&bc.line){return [this.__fileNameToClassName(bc.sourceURL)+x+bc.line];
}else{return [];
}},"opera":function(A){if(A.message.indexOf("Backtrace:")<0){return [];
}var C=[];
var D=qx.lang.String.trim(A.message.split("Backtrace:")[1]);
var E=D.split(r);

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

if(B&&B.length>=2){var G=B[1];
var F=this.__fileNameToClassName(B[2]);
C.push(F+x+G);
}}return C;
},"default":function(){return [];
}}),__fileNameToClassName:function(H){var K=q;
var I=H.indexOf(K);
var J=(I==-1)?H:H.substring(I+K.length).replace(/\//g,p).replace(/\.js$/,s);
return J;
}}});
})();
(function(){var a="qx.event.IEventHandler";
qx.Interface.define(a,{statics:{TARGET_DOMNODE:1,TARGET_WINDOW:2,TARGET_OBJECT:3},members:{canHandleEvent:function(e,f){},registerEvent:function(g,h,i){},unregisterEvent:function(b,c,d){}}});
})();
(function(){var s="load",r="unload",q="qx.client",p="ready",o="mshtml",n="qx.event.handler.Application",m="complete",l="gecko|opera|webkit",k="left",j="_window",h="DOMContentLoaded",i="shutdown";
qx.Class.define(n,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(t){arguments.callee.base.call(this);
this._window=t.getWindow();
this.__domReady=false;
this.__loaded=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,__scriptLoaded:false,onScriptLoaded:function(){this.__scriptLoaded=true;
var A=qx.event.handler.Application.$$instance;

if(A){A.__fireReady();
}}},members:{canHandleEvent:function(d,f){},registerEvent:function(a,b,c){},unregisterEvent:function(w,x,y){},__isReady:null,__domReady:null,__loaded:null,__isUnloaded:null,__fireReady:function(){var z=qx.event.handler.Application;
if(!this.__isReady&&this.__domReady&&z.__scriptLoaded){this.__isReady=true;
qx.event.Registration.fireEvent(this._window,p);
}},isApplicationReady:function(){return this.__isReady;
},_initObserver:function(){if(qx.$$domReady||document.readyState==m){this.__domReady=true;
this.__fireReady();
}else{this._onNativeLoadWrapped=qx.lang.Function.bind(this._onNativeLoad,this);

if(qx.core.Variant.isSet(q,l)){qx.bom.Event.addNativeListener(this._window,h,this._onNativeLoadWrapped);
}else if(qx.core.Variant.isSet(q,o)){var u=function(){try{document.documentElement.doScroll(k);
this._onNativeLoadWrapped();
}catch(g){window.setTimeout(u,100);
}};
u();
}qx.bom.Event.addNativeListener(this._window,s,this._onNativeLoadWrapped);
}this._onNativeUnloadWrapped=qx.lang.Function.bind(this._onNativeUnload,this);
qx.bom.Event.addNativeListener(this._window,r,this._onNativeUnloadWrapped);
},_stopObserver:function(){if(this._onNativeLoadWrapped){qx.bom.Event.removeNativeListener(this._window,s,this._onNativeLoadWrapped);
}qx.bom.Event.removeNativeListener(this._window,r,this._onNativeUnloadWrapped);
this._onNativeLoadWrapped=null;
this._onNativeUnloadWrapped=null;
},_onNativeLoad:qx.event.GlobalError.observeMethod(function(){this.__domReady=true;
this.__fireReady();
}),_onNativeUnload:qx.event.GlobalError.observeMethod(function(){if(!this.__isUnloaded){this.__isUnloaded=true;

try{qx.event.Registration.fireEvent(this._window,i);
}catch(e){throw e;
}finally{qx.core.ObjectRegistry.shutdown();
}}})},destruct:function(){this._stopObserver();
this._disposeFields(j);
},defer:function(v){qx.event.Registration.addHandler(v);
}});
})();
(function(){var e="qx.util.ObjectPool",d="Integer";
qx.Class.define(e,{extend:qx.core.Object,construct:function(o){arguments.callee.base.call(this);
this.__pool={};

if(o!==undefined){this.setSize(o);
}},properties:{size:{check:d,init:null,nullable:true}},members:{__pool:null,getObject:function(k){if(this.$$disposed){return;
}
if(!k){throw new Error("Class needs to be defined!");
}var m=null;
var n=this.__pool[k.classname];

if(n){m=n.pop();
}
if(m){m.$$pooled=false;
}else{m=new k;
}return m;
},poolObject:function(f){if(!this.__pool){return;
}var g=f.classname;
var h=this.__pool[g];

if(f.$$pooled){throw new Error("Object is already pooled: "+f);
}
if(!h){this.__pool[g]=h=[];
}var j=this.getSize()||Infinity;

if(h.length>j){this.warn("Cannot pool "+f+" because the pool is already full.");
f.dispose();
return;
}f.$$pooled=true;
h.push(f);
}},destruct:function(){var c=this.__pool;
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.__pool;
}});
})();
(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 e="_originalTarget",d="_relatedTarget",c="qx.event.type.Event",b="_target",a="_currentTarget";
qx.Class.define(c,{extend:qx.core.Object,statics:{CAPTURING_PHASE:1,AT_TARGET:2,BUBBLING_PHASE:3},members:{init:function(m,n){{};
this._type=null;
this._target=null;
this._currentTarget=null;
this._relatedTarget=null;
this._originalTarget=null;
this._stopPropagation=false;
this._preventDefault=false;
this._bubbles=!!m;
this._cancelable=!!n;
this._timeStamp=(new Date()).getTime();
this._eventPhase=null;
return this;
},clone:function(h){if(h){var i=h;
}else{var i=qx.event.Pool.getInstance().getObject(this.constructor);
}i._type=this._type;
i._target=this._target;
i._currentTarget=this._currentTarget;
i._relatedTarget=this._relatedTarget;
i._originalTarget=this._originalTarget;
i._stopPropagation=this._stopPropagation;
i._bubbles=this._bubbles;
i._preventDefault=this._preventDefault;
i._cancelable=this._cancelable;
return i;
},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(k){this._type=k;
},getEventPhase:function(){return this._eventPhase;
},setEventPhase:function(p){this._eventPhase=p;
},getTimeStamp:function(){return this._timeStamp;
},getTarget:function(){return this._target;
},setTarget:function(g){this._target=g;
},getCurrentTarget:function(){return this._currentTarget||this._target;
},setCurrentTarget:function(o){this._currentTarget=o;
},getRelatedTarget:function(){return this._relatedTarget;
},setRelatedTarget:function(q){this._relatedTarget=q;
},getOriginalTarget:function(){return this._originalTarget;
},setOriginalTarget:function(f){this._originalTarget=f;
},getBubbles:function(){return this._bubbles;
},setBubbles:function(j){this._bubbles=j;
},isCancelable:function(){return this._cancelable;
},setCancelable:function(l){this._cancelable=l;
}},destruct:function(){this._disposeFields(b,a,d,e);
}});
})();
(function(){var e="__old",d="__data",c="qx.event.type.Data";
qx.Class.define(c,{extend:qx.event.type.Event,members:{__data:null,__old:null,init:function(f,g,h){arguments.callee.base.call(this,false,h);
this.__data=f;
this.__old=g;
return this;
},clone:function(a){var b=arguments.callee.base.call(this,a);
b.__data=this.__data;
b.__old=this.__old;
return b;
},getData:function(){return this.__data;
},getOldData:function(){return this.__old;
}},destruct:function(){this._disposeFields(d,e);
}});
})();
(function(){var a="qx.event.IEventDispatcher";
qx.Interface.define(a,{members:{canDispatchEvent:function(b,event,c){this.assertInstance(event,qx.event.type.Event);
this.assertString(c);
},dispatchEvent:function(d,event,e){this.assertInstance(event,qx.event.type.Event);
this.assertString(e);
}}});
})();
(function(){var b="qx.event.dispatch.Direct";
qx.Class.define(b,{extend:qx.core.Object,implement:qx.event.IEventDispatcher,construct:function(j){this._manager=j;
},statics:{PRIORITY:qx.event.Registration.PRIORITY_LAST},members:{canDispatchEvent:function(g,event,h){return !event.getBubbles();
},dispatchEvent:function(c,event,d){event.setEventPhase(qx.event.type.Event.AT_TARGET);
var e=this._manager.getListeners(c,d,false);

if(e){for(var i=0,l=e.length;i<l;i++){var f=e[i].context||c;
e[i].handler.call(f,event);
}}}},defer:function(a){qx.event.Registration.addDispatcher(a);
}});
})();
(function(){var V="get",U="",T="[",S="]",R="last",Q="change",P=".",O="Number",N="String",M="set",bl="deepBinding",bk="item",bj="reset",bi="' (",bh="Boolean",bg=").",bf=") to the object '",be="Integer",bd="qx.data.SingleValueBinding",bc="No event could be found for the property",ba="PositiveNumber",bb="Binding from '",X="PositiveInteger",Y="Binding does not exist!",W="Date";
qx.Class.define(bd,{statics:{DEBUG_ON:false,__bindings:{},bind:function(f,g,h,k,l){var q=g.split(P);
var n=this.__checkForArrayInPropertyChain(q);
var t=[];
var u=[];
var r=[];
var o=[];
var p=f;
for(var i=0;i<q.length;i++){if(n[i]!==U){o.push(Q);
}else{o.push(this.__getEventNameForProperty(p,q[i]));
}t[i]=p;
if(i==q.length-1){if(n[i]!==U){var x=n[i]===R?p.length-1:n[i];
var m=p.getItem(x);
this.__setInitialValue(m,h,k,l,f);
r[i]=this.__bindEventToProperty(p,o[i],h,k,l,n[i]);
}else{if(q[i]!=null&&p[V+qx.lang.String.firstUp(q[i])]!=null){var m=p[V+qx.lang.String.firstUp(q[i])]();
this.__setInitialValue(m,h,k,l,f);
}r[i]=this.__bindEventToProperty(p,o[i],h,k,l);
}}else{var v={index:i,propertyNames:q,sources:t,listenerIds:r,arrayIndexValues:n,targetObject:h,targetProperty:k,options:l,listeners:u};
var s=qx.lang.Function.bind(this.__chainListener,this,v);
u.push(s);
r[i]=p.addListener(o[i],s);
}if(p[V+qx.lang.String.firstUp(q[i])]==null){p=null;
}else if(n[i]!==U){p=p[V+qx.lang.String.firstUp(q[i])](n[i]);
}else{p=p[V+qx.lang.String.firstUp(q[i])]();
}
if(!p){break;
}}var w={type:bl,listenerIds:r,sources:t};
this.__storeBinding(w,f,g,h,k);
return w;
},__chainListener:function(bq){if(bq.options&&bq.options.onUpdate){bq.options.onUpdate(bq.sources[bq.index],bq.targetObject);
}for(var j=bq.index+1;j<bq.propertyNames.length;j++){var bu=bq.sources[j];
bq.sources[j]=null;

if(!bu){continue;
}bu.removeListenerById(bq.listenerIds[j]);
}var bu=bq.sources[bq.index];
for(var j=bq.index+1;j<bq.propertyNames.length;j++){if(bq.arrayIndexValues[j-1]!==U){bu=bu[V+qx.lang.String.firstUp(bq.propertyNames[j-1])](bq.arrayIndexValues[j-1]);
}else{bu=bu[V+qx.lang.String.firstUp(bq.propertyNames[j-1])]();
}bq.sources[j]=bu;
if(!bu){this.__resetTargetValue(bq.targetObject,bq.targetProperty);
break;
}if(j==bq.propertyNames.length-1){if(qx.Class.implementsInterface(bu,qx.data.IListData)){var bv=bq.arrayIndexValues[j]===R?bu.length-1:bq.arrayIndexValues[j];
var bs=bu.getItem(bv);
this.__setInitialValue(bs,bq.targetObject,bq.targetProperty,bq.options,bq.sources[bq.index]);
bq.listenerIds[j]=this.__bindEventToProperty(bu,Q,bq.targetObject,bq.targetProperty,bq.options,bq.arrayIndexValues[j]);
}else{if(bq.propertyNames[j]!=null&&bu[V+qx.lang.String.firstUp(bq.propertyNames[j])]!=null){var bs=bu[V+qx.lang.String.firstUp(bq.propertyNames[j])]();
this.__setInitialValue(bs,bq.targetObject,bq.targetProperty,bq.options,bq.sources[bq.index]);
}var bt=this.__getEventNameForProperty(bu,bq.propertyNames[j]);
bq.listenerIds[j]=this.__bindEventToProperty(bu,bt,bq.targetObject,bq.targetProperty,bq.options);
}}else{if(bq.listeners[j]==null){var br=qx.lang.Function.bind(this.__chainListener,this,bq);
bq.listeners.push(br);
}if(qx.Class.implementsInterface(bu,qx.data.IListData)){var bt=Q;
}else{var bt=this.__getEventNameForProperty(bu,bq.propertyNames[j]);
}bq.listenerIds[j]=bu.addListener(bt,bq.listeners[j]);
}}},__getEventNameForProperty:function(cc,cd){var ce=this.__getEventForProperty(cc,cd);
if(ce==null){if(qx.Class.supportsEvent(cc.constructor,cd)){ce=cd;
}else if(qx.Class.supportsEvent(cc.constructor,Q+qx.lang.String.firstUp(cd))){ce=Q+qx.lang.String.firstUp(cd);
}else{throw new qx.core.AssertionError(bc,cd);
}}return ce;
},__resetTargetValue:function(B,C){var D=this.__getTargetFromChain(B,C);

if(D!=null){var E=C.substring(C.lastIndexOf(P)+1,C.length);
if(E.charAt(E.length-1)==S){this.__setTargetValue(B,C,null);
return;
}if(D[bj+qx.lang.String.firstUp(E)]!=undefined){D[bj+qx.lang.String.firstUp(E)]();
}else{D[M+qx.lang.String.firstUp(E)](null);
}}},__setTargetValue:function(cn,co,cp){var ct=this.__getTargetFromChain(cn,co);

if(ct!=null){var cu=co.substring(co.lastIndexOf(P)+1,co.length);
if(cu.charAt(cu.length-1)==S){var cq=cu.substring(cu.lastIndexOf(T)+1,cu.length-1);
var cs=cu.substring(0,cu.lastIndexOf(T));
var cr=ct[V+qx.lang.String.firstUp(cs)]();

if(cq==R){cq=cr.length-1;
}
if(cr!=null){cr.setItem(cq,cp);
}}else{ct[M+qx.lang.String.firstUp(cu)](cp);
}}},__getTargetFromChain:function(cf,cg){var cj=cg.split(P);
var ck=cf;
for(var i=0;i<cj.length-1;i++){try{var ci=cj[i];
if(ci.indexOf(S)==ci.length-1){var ch=ci.substring(ci.indexOf(T)+1,ci.length-1);
ci=ci.substring(0,ci.indexOf(T));
}ck=ck[V+qx.lang.String.firstUp(ci)]();

if(ch!=null){if(ch==R){ch=ck.length-1;
}ck=ck.getItem(ch);
ch=null;
}}catch(bO){return null;
}}return ck;
},__setInitialValue:function(bP,bQ,bR,bS,bT){bP=this.__convertValue(bP,bQ,bR,bS);
if(bP==null){this.__resetTargetValue(bQ,bR);
}if(bP!=undefined){try{this.__setTargetValue(bQ,bR,bP);
if(bS&&bS.onUpdate){bS.onUpdate(bT,bQ,bP);
}}catch(e){if(!(e instanceof qx.core.ValidationError)){throw e;
}
if(bS&&bS.onSetFail){bS.onSetFail(e);
}else{this.warn("Failed so set value "+bP+" on "+bQ+". Error message: "+e);
}}}},__checkForArrayInPropertyChain:function(bU){var bV=[];
for(var i=0;i<bU.length;i++){var name=bU[i];
if(qx.lang.String.endsWith(name,S)){var bW=name.substring(name.indexOf(T)+1,name.indexOf(S));
if(name.indexOf(S)!=name.length-1){throw new Error("Please use only one array at a time: "+name+" does not work.");
}
if(bW!==R){if(bW==U||isNaN(parseInt(bW))){throw new Error("No number or 'last' value hast been given"+" in a array binding: "+name+" does not work.");
}}if(name.indexOf(T)!=0){bU[i]=name.substring(0,name.indexOf(T));
bV[i]=U;
bV[i+1]=bW;
bU.splice(i+1,0,bk);
i++;
}else{bV[i]=bW;
bU.splice(i,1,bk);
}}else{bV[i]=U;
}}return bV;
},__bindEventToProperty:function(bw,bx,by,bz,bA,bB){var bC;
{};
var bE=function(bm,e){if(bm!==U){if(bm===R){bm=bw.length-1;
}var bp=bw.getItem(bm);
if(bp==undefined){qx.data.SingleValueBinding.__resetTargetValue(by,bz);
}var bn=e.getData().start;
var bo=e.getData().end;

if(bm<bn||bm>bo){return;
}}else{var bp=e.getData();
}if(qx.data.SingleValueBinding.DEBUG_ON){qx.log.Logger.debug("Binding executed from "+bw+" by "+bx+" to "+by+" ("+bz+")");
qx.log.Logger.debug("Data before conversion: "+bp);
}bp=qx.data.SingleValueBinding.__convertValue(bp,by,bz,bA);
if(qx.data.SingleValueBinding.DEBUG_ON){qx.log.Logger.debug("Data after conversion: "+bp);
}try{if(bp!=undefined){qx.data.SingleValueBinding.__setTargetValue(by,bz,bp);
}else{qx.data.SingleValueBinding.__resetTargetValue(by,bz);
}if(bA&&bA.onUpdate){bA.onUpdate(bw,by,bp);
}}catch(e){if(!(e instanceof qx.core.ValidationError)){throw e;
}
if(bA&&bA.onSetFail){bA.onSetFail(e);
}else{this.warn("Failed so set value "+bp+" on "+by+". Error message: "+e);
}}};
if(!bB){bB=U;
}bE=qx.lang.Function.bind(bE,bw,bB);
var bD=bw.addListener(bx,bE);
return bD;
},__storeBinding:function(cv,cw,cx,cy,cz){if(this.__bindings[cw.toHashCode()]===undefined){this.__bindings[cw.toHashCode()]=[];
}this.__bindings[cw.toHashCode()].push([cv,cw,cx,cy,cz]);
},__convertValue:function(bF,bG,bH,bI){if(bI&&bI.converter){var bK;

if(bG.getModel){bK=bG.getModel();
}return bI.converter(bF,bK);
}else{var bM=this.__getTargetFromChain(bG,bH);
var bN=bH.substring(bH.lastIndexOf(P)+1,bH.length);
if(bM==null){return bF;
}var bL=qx.Class.getPropertyDefinition(bM.constructor,bN);
var bJ=bL==null?U:bL.check;
return this.__defaultConvertion(bF,bJ);
}},__getEventForProperty:function(F,G){var H=qx.Class.getPropertyDefinition(F.constructor,G);

if(H==null){return null;
}return H.event;
},__defaultConvertion:function(bX,bY){var ca=qx.lang.Type.getClass(bX);
if((ca==O||ca==N)&&(bY==be||bY==X)){bX=parseInt(bX);
}if((ca==bh||ca==O||ca==W)&&bY==N){bX=bX+U;
}if((ca==O||ca==N)&&(bY==O||bY==ba)){bX=parseFloat(bX);
}return bX;
},removeBindingFromObject:function(y,z){if(z.type==bl){for(var i=0;i<z.sources.length;i++){if(z.sources[i]){z.sources[i].removeListenerById(z.listenerIds[i]);
}}}else{y.removeListenerById(z);
}var A=this.__bindings[y.toHashCode()];
if(A!=undefined){for(var i=0;i<A.length;i++){if(A[i][0]==z){qx.lang.Array.remove(A,A[i]);
return;
}}}throw new Error("Binding could not be found!");
},removeAllBindingsForObject:function(c){{};
var d=this.__bindings[c.toHashCode()];
for(var i=d.length-1;i>=0;i--){this.removeBindingFromObject(c,d[i][0]);
}},getAllBindingsForObject:function(cb){if(this.__bindings[cb.toHashCode()]===undefined){this.__bindings[cb.toHashCode()]=[];
}return this.__bindings[cb.toHashCode()];
},removeAllBindings:function(){for(var b in this.__bindings){var a=qx.core.ObjectRegistry.fromHashCode(b);
if(a==null){delete this.__bindings[b];
continue;
}this.removeAllBindingsForObject(a);
}this.__bindings={};
},getAllBindings:function(){return this.__bindings;
},showBindingInLog:function(I,J){var L;
for(var i=0;i<this.__bindings[I.toHashCode()].length;i++){if(this.__bindings[I.toHashCode()][i][0]==J){L=this.__bindings[I.toHashCode()][i];
break;
}}
if(L===undefined){var K=Y;
}else{var K=bb+L[1]+bi+L[2]+bf+L[3]+bi+L[4]+bg;
}qx.log.Logger.debug(K);
},showAllBindingsInLog:function(){for(var cm in this.__bindings){var cl=qx.core.ObjectRegistry.fromHashCode(cm);

for(var i=0;i<this.__bindings[cm].length;i++){this.showBindingInLog(cl,this.__bindings[cm][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.__comment=d||a;
this.message=e||qx.type.BaseError.DEFAULTMESSAGE;
},statics:{DEFAULTMESSAGE:"error"},members:{__comment:null,message:null,getComment:function(){return this.__comment;
},toString:function(){return this.__comment+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.__trace=qx.dev.StackTrace.getStackTrace();
},members:{__trace:null,getStackTrace:function(){return this.__trace;
}}});
})();
(function(){var a="qx.core.ValidationError";
qx.Class.define(a,{extend:qx.type.BaseError});
})();
(function(){var j="qx.event.handler.Object";
qx.Class.define(j,{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(g,h){return qx.Class.supportsEvent(g.constructor,h);
},registerEvent:function(d,e,f){},unregisterEvent:function(a,b,c){}},defer:function(i){qx.event.Registration.addHandler(i);
}});
})();
(function(){var n="qx.util.DisposeUtil";
qx.Class.define(n,{statics:{disposeFields:function(k,m){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(p,q){var name;

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

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

if(!j){return;
}if(qx.core.ObjectRegistry.inShutDown){f[g]=null;
return;
}try{var h;

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

if(h){h.dispose();
}}}catch(o){throw new Error("The array field: "+g+" of object: "+f+" has non disposable entries: "+o);
}j.length=0;
f[g]=null;
},disposeMap:function(b,c){var d=b[c];

if(!d){return;
}if(qx.core.ObjectRegistry.inShutDown){b[c]=null;
return;
}try{for(var e in d){if(d.hasOwnProperty(e)){d[e].dispose();
}}}catch(a){throw new Error("The map field: "+c+" of object: "+b+" has non disposable entries: "+a);
}b[c]=null;
}}});
})();
(function(){var m='<div style="',l='"></div>',k="mshtml",j='"/>',i="",h='" style="vertical-align:top;',g="scale",f="qx.client",e="qx.ui.decoration.Util",d='<img src="',c="overflow:hidden;";
qx.Class.define(e,{statics:{insetsModified:function(a,b){if(a==b){return false;
}
if(a==null||b==null){return true;
}var n=qx.theme.manager.Decoration.getInstance();
var p=n.resolve(a).getInsets();
var o=n.resolve(b).getInsets();

if(p.top!=o.top||p.right!=o.right||p.bottom!=o.bottom||p.left!=o.left){return true;
}return false;
},generateBackgroundMarkup:function(q,r,s,top,t){if(q){var u=qx.util.AliasManager.getInstance().resolve(q);
if(r==g){var v=qx.util.ResourceManager.getInstance().toUri(u);
return d+v+h+t+j;
}else{var back=qx.bom.element.Background.compile(u,r,s,top);
return m+back+t+l;
}}else{if(t){if(qx.core.Variant.isSet(f,k)){if(qx.bom.client.Engine.VERSION<7||qx.bom.client.Feature.QUIRKS_MODE){t+=c;
}}return m+t+l;
}else{return i;
}}}}});
})();
(function(){var k="object",j="__dynamic",i="_applyTheme",h="qx.theme.manager.Decoration",g="Theme",f="string",e="singleton";
qx.Class.define(h,{type:e,extend:qx.core.Object,properties:{theme:{check:g,nullable:true,apply:i}},members:{__dynamic:null,resolve:function(n){if(!n){return null;
}
if(typeof n===k){return n;
}var q=this.getTheme();

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

if(!q){return null;
}var r=this.__dynamic;

if(!r){r=this.__dynamic={};
}var o=r[n];

if(o){return o;
}var p=q.decorations[n];

if(!p){return null;
}var s=p.decorator;

if(s==null){throw new Error("Missing definition of which decorator to use in entry: "+n+"!");
}return r[n]=(new s).set(p.style);
},isValidPropertyValue:function(t){if(typeof t===f){return this.isDynamic(t);
}else if(typeof t===k){var u=t.constructor;
return qx.Class.hasInterface(u,qx.ui.decoration.IDecorator);
}return false;
},isDynamic:function(l){if(!l){return false;
}var m=this.getTheme();

if(!m){return false;
}return !!m.decorations[l];
},_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]);
}}
if(!a){this.__dynamic={};
}}},destruct:function(){this._disposeMap(j);
}});
})();
(function(){var f="_dynamic",e="qx.util.ValueManager",d="abstract";
qx.Class.define(e,{type:d,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this._dynamic={};
},members:{_dynamic:null,resolveDynamic:function(c){return this._dynamic[c];
},isDynamic:function(g){return !!this._dynamic[g];
},resolve:function(a){if(a&&this._dynamic[a]){return this._dynamic[a];
}return a;
},_setDynamic:function(b){this._dynamic=b;
},_getDynamic:function(){return this._dynamic;
}},destruct:function(){this._disposeFields(f);
}});
})();
(function(){var k="/",j="0",i="__aliases",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.__aliases={};
this.add(a,h);
},members:{__aliases:null,_preprocess:function(o){var r=this._getDynamic();

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

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

if(m!==null){m=this._preprocess(m);
}return n[m]||m;
}},destruct:function(){this._disposeFields(i);
}});
})();
(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:false,VML:false,XPATH:false,AIR:false,GEARS:false,SSL:false,__init:function(){this.QUIRKS_MODE=this.__isQuirksMode();
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.CANVAS=!!window.CanvasRenderingContext2D;
this.VML=qx.bom.client.Engine.MSHTML;
this.AIR=navigator.userAgent.indexOf("adobeair")!==-1;
this.GEARS=!!(window.google&&window.google.gears);
this.XPATH=!!document.evaluate;
this.SSL=window.location.protocol==="https:";
},__isQuirksMode: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.__init();
}});
})();
(function(){var k="/",j="mshtml",i="qx.client",h="",g="?",f="string",e="qx.util.ResourceManager",d="singleton",c="qx.isSource";
qx.Class.define(e,{extend:qx.core.Object,type:d,statics:{__registry:qx.$$resources||{},__urlPrefix:{}},members:{has:function(l){return !!arguments.callee.self.__registry[l];
},getData:function(C){return arguments.callee.self.__registry[C]||null;
},getImageWidth:function(a){var b=arguments.callee.self.__registry[a];
return b?b[0]:null;
},getImageHeight:function(u){var v=arguments.callee.self.__registry[u];
return v?v[1]:null;
},getImageFormat:function(m){var n=arguments.callee.self.__registry[m];
return n?n[2]:null;
},isClippedImage:function(s){var t=arguments.callee.self.__registry[s];
return t&&t.length>4;
},toUri:function(o){if(o==null){return o;
}var p=arguments.callee.self.__registry[o];

if(!p){return o;
}
if(typeof p===f){var r=p;
}else{var r=p[3];
if(!r){return o;
}}var q=h;

if(qx.core.Variant.isSet(i,j)&&qx.bom.client.Feature.SSL){q=arguments.callee.self.__urlPrefix[r];
}return q+qx.$$libraries[r].resourceUri+k+o;
}},defer:function(w){if(qx.core.Variant.isSet(i,j)){if(qx.bom.client.Feature.SSL){for(var A in qx.$$libraries){var y=qx.$$libraries[A].resourceUri;
if(y.match(/^\/\//)!=null){w.__urlPrefix[A]=window.location.protocol;
}else if(y.match(/^\.\//)!=null&&qx.core.Setting.get(c)){var x=document.URL;
w.__urlPrefix[A]=x.substring(0,x.lastIndexOf(k));
}else if(y.match(/^http/)!=null){}else{var B=window.location.href.indexOf(g);
var z;

if(B==-1){z=window.location.href;
}else{z=window.location.href.substring(0,B);
}w.__urlPrefix[A]=z.substring(0,z.lastIndexOf(k)+1);
}}}}}});
})();
(function(){var w="number",v="0",u="px",t=";",s="background-image:url(",r=");",q="",p=")",o="background-repeat:",n=" ",k="qx.bom.element.Background",m="url(",l="background-position:";
qx.Class.define(k,{statics:{__tmpl:[s,null,r,l,null,t,o,null,t],__emptyStyles:{backgroundImage:null,backgroundPosition:null,backgroundRepeat:null},__computePosition:function(a,top){var b=qx.bom.client.Engine;

if(b.GECKO&&b.VERSION<1.9&&a==top&&typeof a==w){top+=0.01;
}
if(a){var c=(typeof a==w)?a+u:a;
}else{c=v;
}
if(top){var d=(typeof top==w)?top+u:top;
}else{d=v;
}return c+n+d;
},compile:function(D,E,F,top){var G=this.__computePosition(F,top);
var H=qx.util.ResourceManager.getInstance().toUri(D);
var I=this.__tmpl;
I[1]=H;
I[4]=G;
I[7]=E;
return I.join(q);
},getStyles:function(e,f,g,top){if(!e){return this.__emptyStyles;
}var h=this.__computePosition(g,top);
var i=qx.util.ResourceManager.getInstance().toUri(e);
var j={backgroundPosition:h,backgroundImage:m+i+p};

if(f!=null){j.backgroundRepeat=f;
}return j;
},set:function(x,y,z,A,top){var B=this.getStyles(y,z,A,top);

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

if(j){var l=j.colors;
var m=qx.util.ColorUtil;
var n;

for(var o in l){n=l[o];

if(typeof n===e){if(!m.isCssString(n)){throw new Error("Could not parse color: "+n);
}}else if(n instanceof Array){n=m.rgbToRgbString(n);
}else{throw new Error("Could not parse color: "+n);
}k[o]=n;
}}this._setDynamic(k);
},resolve:function(p){var s=this._dynamic;
var q=s[p];

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

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

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

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

if(N>W){W=N;
}var Q=(X<U)?X:U;

if(N<Q){Q=N;
}R=W/255.0;

if(W!=0){P=(W-Q)/W;
}else{P=0;
}
if(P==0){O=0;
}else{var T=(W-X)/(W-Q);
var V=(W-U)/(W-Q);
var S=(W-N)/(W-Q);

if(X==W){O=S-V;
}else if(U==W){O=2.0+T-S;
}else{O=4.0+V-T;
}O=O/6.0;

if(O<0){O=O+1.0;
}}return [Math.round(O*360),Math.round(P*100),Math.round(R*100)];
},hsbToRgb:function(m){var i,f,p,q,t;
var n=m[0]/360;
var o=m[1]/100;
var s=m[2]/100;

if(n>=1.0){n%=1.0;
}
if(o>1.0){o=1.0;
}
if(s>1.0){s=1.0;
}var u=Math.floor(255*s);
var v={};

if(o==0.0){v.red=v.green=v.blue=u;
}else{n*=6.0;
i=Math.floor(n);
f=n-i;
p=Math.floor(u*(1.0-o));
q=Math.floor(u*(1.0-(o*f)));
t=Math.floor(u*(1.0-(o*(1.0-f))));

switch(i){case 0:v.red=u;
v.green=t;
v.blue=p;
break;
case 1:v.red=q;
v.green=u;
v.blue=p;
break;
case 2:v.red=p;
v.green=u;
v.blue=t;
break;
case 3:v.red=p;
v.green=q;
v.blue=u;
break;
case 4:v.red=t;
v.green=p;
v.blue=u;
break;
case 5:v.red=u;
v.green=p;
v.blue=q;
break;
}}return v;
},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 p="px",o="div",n="img",m="qx.client",l="",k="scale-x",j="mshtml",i="no-repeat",h="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='",g="scale-y",G="repeat",F=".png",E="scale",D="webkit",C='<div style="',B="repeat-y",A='<img src="',z="qx.bom.element.Decoration",y="png",x="', sizingMethod='scale')",v="', sizingMethod='crop')",w='"/>',t='" style="',u="none",r="repeat-x",s='"></div>',q="absolute";
qx.Class.define(z,{statics:{DEBUG:false,__enableAlphaFix:qx.core.Variant.isSet(m,j)&&qx.bom.client.Engine.VERSION<9,__alphaFixRepeats:qx.core.Variant.select(m,{"mshtml":{"scale-x":true,"scale-y":true,"scale":true,"no-repeat":true},"default":null}),__repeatToTagname:{"scale-x":n,"scale-y":n,"scale":n,"repeat":o,"no-repeat":o,"repeat-x":o,"repeat-y":o},update:function(X,Y,ba,bb){var bd=this.getTagName(ba,Y);

if(bd!=X.tagName.toLowerCase()){throw new Error("Image modification not possible because elements could not be replaced at runtime anymore!");
}var be=this.getAttributes(Y,ba,bb);

if(bd===n){X.src=be.src;
}if(X.style.backgroundPosition!=l&&be.style.backgroundPosition===undefined){be.style.backgroundPosition=null;
}if(X.style.clip!=l&&be.style.clip===undefined){be.style.clip=null;
}var bc=qx.bom.element.Style;
bc.setStyles(X,be.style);
},create:function(a,b,c){var d=this.getTagName(b,a);
var f=this.getAttributes(a,b,c);
var e=qx.bom.element.Style.compile(f.style);

if(d===n){return A+f.src+t+e+w;
}else{return C+e+s;
}},getTagName:function(bf,bh){if(qx.core.Variant.isSet(m,j)){if(bh&&this.__enableAlphaFix&&this.__alphaFixRepeats[bf]&&qx.lang.String.endsWith(bh,F)){return o;
}}return this.__repeatToTagname[bf];
},getAttributes:function(H,I,J){var N=qx.util.ResourceManager.getInstance();
var S=qx.io2.ImageLoader;
var T=qx.bom.element.Background;

if(!J){J={};
}
if(!J.position){J.position=q;
}
if(qx.core.Variant.isSet(m,j)){J.fontSize=0;
J.lineHeight=0;
}else if(qx.core.Variant.isSet(m,D)){J.WebkitUserDrag=u;
}var R=N.getImageWidth(H)||S.getWidth(H);
var Q=N.getImageHeight(H)||S.getHeight(H);
var O=N.getImageFormat(H)||S.getFormat(H);
{};
if(this.__enableAlphaFix&&this.__alphaFixRepeats[I]&&O===y){if(J.width==null&&R!=null){J.width=R+p;
}
if(J.height==null&&Q!=null){J.height=Q+p;
}
if(I==i){J.filter=h+N.toUri(H)+v;
}else{J.filter=h+N.toUri(H)+x;
}J.backgroundImage=J.backgroundRepeat=l;
return {style:J};
}else{if(I===E){var P=N.toUri(H);

if(J.width==null&&R!=null){J.width=R+p;
}
if(J.height==null&&Q!=null){J.height=Q+p;
}return {src:P,style:J};
}var M=N.isClippedImage(H);

if(I===k||I===g){if(M){if(I===k){var V=N.getData(H);
var W=N.getImageHeight(V[4]);
var P=N.toUri(V[4]);
J.clip={top:-V[6],height:Q};
J.height=W+p;
if(J.top!=null){J.top=(parseInt(J.top,10)+V[6])+p;
}else if(J.bottom!=null){J.bottom=(parseInt(J.bottom,10)+Q-W-V[6])+p;
}return {src:P,style:J};
}else{var V=N.getData(H);
var U=N.getImageWidth(V[4]);
var P=N.toUri(V[4]);
J.clip={left:-V[5],width:R};
J.width=U+p;
if(J.left!=null){J.left=(parseInt(J.left,10)+V[5])+p;
}else if(J.right!=null){J.right=(parseInt(J.right,10)+R-U-V[5])+p;
}return {src:P,style:J};
}}else{{};

if(I==k){J.height=Q==null?null:Q+p;
}else if(I==g){J.width=R==null?null:R+p;
}var P=N.toUri(H);
return {src:P,style:J};
}}else{if(M&&I!==G){var V=N.getData(H);
var L=T.getStyles(V[4],I,V[5],V[6]);

for(var K in L){J[K]=L[K];
}
if(R!=null&&J.width==null&&(I==B||I===i)){J.width=R+p;
}
if(Q!=null&&J.height==null&&(I==r||I===i)){J.height=Q+p;
}return {style:J};
}else{{};
var L=T.getStyles(H,I);

for(var K in L){J[K]=L[K];
}
if(R!=null&&J.width==null){J.width=R+p;
}
if(Q!=null&&J.height==null){J.height=Q+p;
}if(J.filter){J.filter=l;
}return {style:J};
}}}}}});
})();
(function(){var O="qx.client",N="",M="boxSizing",L="cursor",K="opacity",J="clip",I="overflowY",H="overflowX",G="user-select",F="userSelect",br="appearance",bq="style",bp="MozUserModify",bo="px",bn="-webkit-appearance",bm="styleFloat",bl="-webkit-user-select",bk="-moz-appearance",bj="pixelHeight",bi="MozAppearance",V=":",W="pixelTop",T="pixelLeft",U="text-overflow",R="-moz-user-select",S="MozUserSelect",P="qx.bom.element.Style",Q="-moz-user-modify",X="-webkit-user-modify",Y="WebkitUserSelect",bc="-o-text-overflow",bb="pixelRight",be="cssFloat",bd="pixelWidth",bg="pixelBottom",bf=";",ba="WebkitUserModify",bh="WebkitAppearance";
qx.Class.define(P,{statics:{__hints:{styleNames:{"float":qx.core.Variant.select(O,{"mshtml":bm,"default":be}),"appearance":qx.core.Variant.select(O,{"gecko":bi,"webkit":bh,"default":br}),"userSelect":qx.core.Variant.select(O,{"gecko":S,"webkit":Y,"default":F}),"userModify":qx.core.Variant.select(O,{"gecko":bp,"webkit":ba,"default":F})},cssNames:{"appearance":qx.core.Variant.select(O,{"gecko":bk,"webkit":bn,"default":br}),"userSelect":qx.core.Variant.select(O,{"gecko":R,"webkit":bl,"default":G}),"userModify":qx.core.Variant.select(O,{"gecko":Q,"webkit":X,"default":G}),"textOverflow":qx.core.Variant.select(O,{"opera":bc,"default":U})},mshtmlPixel:{width:bd,height:bj,left:T,right:bb,top:W,bottom:bg},special:{clip:1,cursor:1,opacity:1,boxSizing:1,overflowX:1,overflowY:1}},__hyphens:{},compile:function(q){var u=[];
var y=this.__hints;
var x=y.special;
var v=y.cssNames;
var t=this.__hyphens;
var w=qx.lang.String;
var name,s,r;

for(name in q){r=q[name];

if(r==null){continue;
}name=v[name]||name;
if(x[name]){switch(name){case J:u.push(qx.bom.element.Clip.compile(r));
break;
case L:u.push(qx.bom.element.Cursor.compile(r));
break;
case K:u.push(qx.bom.element.Opacity.compile(r));
break;
case M:u.push(qx.bom.element.BoxSizing.compile(r));
break;
case H:u.push(qx.bom.element.Overflow.compileX(r));
break;
case I:u.push(qx.bom.element.Overflow.compileY(r));
break;
}}else{s=t[name];

if(!s){s=t[name]=w.hyphenate(name);
}u.push(s,V,r,bf);
}}return u.join(N);
},setCss:qx.core.Variant.select(O,{"mshtml":function(by,bz){by.style.cssText=bz;
},"default":function(bs,bt){bs.setAttribute(bq,bt);
}}),getCss:qx.core.Variant.select(O,{"mshtml":function(bu){return bu.style.cssText.toLowerCase();
},"default":function(a){return a.getAttribute(bq);
}}),COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function(b,name,c,d){{};
var e=this.__hints;
name=e.styleNames[name]||name;
if(d!==false&&e.special[name]){switch(name){case J:return qx.bom.element.Clip.set(b,c);
case L:return qx.bom.element.Cursor.set(b,c);
case K:return qx.bom.element.Opacity.set(b,c);
case M:return qx.bom.element.BoxSizing.set(b,c);
case H:return qx.bom.element.Overflow.setX(b,c);
case I:return qx.bom.element.Overflow.setY(b,c);
}}b.style[name]=c!==null?c:N;
},setStyles:function(bv,bw,bx){{};

for(var name in bw){this.set(bv,name,bw[name],bx);
}},reset:function(n,name,o){var p=this.__hints;
name=p.styleNames[name]||name;
if(o!==false&&p.special[name]){switch(name){case J:return qx.bom.element.Clip.reset(n);
case L:return qx.bom.element.Cursor.reset(n);
case K:return qx.bom.element.Opacity.reset(n);
case M:return qx.bom.element.BoxSizing.reset(n);
case H:return qx.bom.element.Overflow.resetX(n);
case I:return qx.bom.element.Overflow.resetY(n);
}}n.style[name]=N;
},get:qx.core.Variant.select(O,{"mshtml":function(f,name,g,h){var m=this.__hints;
name=m.styleNames[name]||name;
if(h!==false&&m.special[name]){switch(name){case J:return qx.bom.element.Clip.get(f,g);
case L:return qx.bom.element.Cursor.get(f,g);
case K:return qx.bom.element.Opacity.get(f,g);
case M:return qx.bom.element.BoxSizing.get(f,g);
case H:return qx.bom.element.Overflow.getX(f,g);
case I:return qx.bom.element.Overflow.getY(f,g);
}}if(!f.currentStyle){return f.style[name]||N;
}switch(g){case this.LOCAL_MODE:return f.style[name]||N;
case this.CASCADED_MODE:return f.currentStyle[name]||N;
default:var l=f.currentStyle[name]||N;
if(/^-?[\.\d]+(px)?$/i.test(l)){return l;
}var k=m.mshtmlPixel[name];

if(k){var i=f.style[name];
f.style[name]=l||0;
var j=f.style[k]+bo;
f.style[name]=i;
return j;
}if(/^-?[\.\d]+(em|pt|%)?$/i.test(l)){throw new Error("Untranslated computed property value: "+name+". Only pixel values work well across different clients.");
}return l;
}},"default":function(z,name,A,B){var E=this.__hints;
name=E.styleNames[name]||name;
if(B!==false&&E.special[name]){switch(name){case J:return qx.bom.element.Clip.get(z,A);
case L:return qx.bom.element.Cursor.get(z,A);
case K:return qx.bom.element.Opacity.get(z,A);
case M:return qx.bom.element.BoxSizing.get(z,A);
case H:return qx.bom.element.Overflow.getX(z,A);
case I:return qx.bom.element.Overflow.getY(z,A);
}}switch(A){case this.LOCAL_MODE:return z.style[name]||N;
case this.CASCADED_MODE:if(z.currentStyle){return z.currentStyle[name]||N;
}throw new Error("Cascaded styles are not supported in this browser!");
default:var C=qx.dom.Node.getDocument(z);
var D=C.defaultView.getComputedStyle(z,null);
return D?D[name]:N;
}}})}});
})();
(function(){var E="auto",D="px",C=",",B="clip:auto;",A="rect(",z=");",y="",x=")",w="qx.bom.element.Clip",v="string",s="rect(auto)",u="clip:rect(",t="clip",r="rect(auto,auto,auto,auto)";
qx.Class.define(w,{statics:{compile:function(F){if(!F){return B;
}var K=F.left;
var top=F.top;
var J=F.width;
var I=F.height;
var G,H;

if(K==null){G=(J==null?E:J+D);
K=E;
}else{G=(J==null?E:K+J+D);
K=K+D;
}
if(top==null){H=(I==null?E:I+D);
top=E;
}else{H=(I==null?E:top+I+D);
top=top+D;
}return u+top+C+G+C+H+C+K+z;
},get:function(a,b){var d=qx.bom.element.Style.get(a,t,b,false);
var i,top,g,f;
var c,e;

if(typeof d===v&&d!==E&&d!==y){d=qx.lang.String.trim(d);
if(/\((.*)\)/.test(d)){var h=RegExp.$1.split(C);
top=qx.lang.String.trim(h[0]);
c=qx.lang.String.trim(h[1]);
e=qx.lang.String.trim(h[2]);
i=qx.lang.String.trim(h[3]);
if(i===E){i=null;
}
if(top===E){top=null;
}
if(c===E){c=null;
}
if(e===E){e=null;
}if(top!=null){top=parseInt(top,10);
}
if(c!=null){c=parseInt(c,10);
}
if(e!=null){e=parseInt(e,10);
}
if(i!=null){i=parseInt(i,10);
}if(c!=null&&i!=null){g=c-i;
}else if(c!=null){g=c;
}
if(e!=null&&top!=null){f=e-top;
}else if(e!=null){f=e;
}}else{throw new Error("Could not parse clip string: "+d);
}}return {left:i||null,top:top||null,width:g||null,height:f||null};
},set:function(k,l){if(!l){k.style.clip=r;
return;
}var q=l.left;
var top=l.top;
var p=l.width;
var o=l.height;
var m,n;

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

if(J){var K=J.match(/alpha\(opacity=(.*)\)/);

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

if(g==0.999999){g=1.0;
}
if(g!=null){return parseFloat(g);
}return 1.0;
},"default":function(j,k){var l=qx.bom.element.Style.get(j,t,k,false);

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

if(A){for(var i=0,l=A.length;i<l;i++){z+=A[i]+r+y+h;
}}return z;
}}),get:qx.core.Variant.select(v,{"mshtml":function(b){if(qx.bom.Document.isStandardMode(qx.dom.Node.getDocument(b))){if(!this.__usesNativeBorderBox(b)){return j;
}}return q;
},"default":function(E){var G=this.__styleProperties;
var F;

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

if(F!=null&&F!==u){return F;
}}}return u;
}}),set:qx.core.Variant.select(v,{"mshtml":function(w,x){{};
},"default":function(c,d){var e=this.__styleProperties;

if(e){for(var i=0,l=e.length;i<l;i++){c.style[e[i]]=d;
}}}}),reset:function(B){this.set(B,u);
}}});
})();
(function(){var i="CSS1Compat",h="position:absolute;width:0;height:0;width:1",g="qx.bom.Document",f="1px",e="qx.client",d="div";
qx.Class.define(g,{statics:{isQuirksMode:qx.core.Variant.select(e,{"mshtml":function(m){if(qx.bom.client.Engine.VERSION>=8){return qx.bom.client.Engine.DOCUMENT_MODE===5;
}else{return (m||window).document.compatMode!==i;
}},"webkit":function(b){if(document.compatMode===undefined){var c=(b||window).document.createElement(d);
c.style.cssText=h;
return c.style.width===f?true:false;
}else{return (b||window).document.compatMode!==i;
}},"default":function(n){return (n||window).document.compatMode!==i;
}}),isStandardMode:function(a){return !this.isQuirksMode(a);
},getWidth:function(j){var k=(j||window).document;
var l=qx.bom.Viewport.getWidth(j);
var scroll=this.isStandardMode(j)?k.documentElement.scrollWidth:k.body.scrollWidth;
return Math.max(scroll,l);
},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(h){if(qx.bom.client.Engine.VERSION<9.5){return (h||window).document.body.clientWidth;
}else{var i=(h||window).document;
return qx.bom.Document.isStandardMode(h)?i.documentElement.clientWidth:i.body.clientWidth;
}},"webkit":function(f){if(qx.bom.client.Engine.VERSION<523.15){return (f||window).innerWidth;
}else{var g=(f||window).document;
return qx.bom.Document.isStandardMode(f)?g.documentElement.clientWidth:g.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(l){if(qx.bom.client.Engine.VERSION<9.5){return (l||window).document.body.clientHeight;
}else{var m=(l||window).document;
return qx.bom.Document.isStandardMode(l)?m.documentElement.clientHeight:m.body.clientHeight;
}},"webkit":function(s){if(qx.bom.client.Engine.VERSION<523.15){return (s||window).innerHeight;
}else{var t=(s||window).document;
return qx.bom.Document.isStandardMode(s)?t.documentElement.clientHeight:t.body.clientHeight;
}},"default":function(q){var r=(q||window).document;
return qx.bom.Document.isStandardMode(q)?r.documentElement.clientHeight:r.body.clientHeight;
}}),getScrollLeft:qx.core.Variant.select(k,{"mshtml":function(a){var b=(a||window).document;
return b.documentElement.scrollLeft||b.body.scrollLeft;
},"default":function(c){return (c||window).pageXOffset;
}}),getScrollTop:qx.core.Variant.select(k,{"mshtml":function(o){var p=(o||window).document;
return p.documentElement.scrollTop||p.body.scrollTop;
},"default":function(n){return (n||window).pageYOffset;
}})}});
})();
(function(){var m="",l="qx.client",k="hidden",j="-moz-scrollbars-none",i="overflow",h=";",g="overflowY",f=":",e="overflowX",d="overflow:",A="none",z="scroll",y="borderLeftStyle",x="borderRightStyle",w="div",v="borderRightWidth",u="overflow-y",r="borderLeftWidth",q="-moz-scrollbars-vertical",p="100px",n="qx.bom.element.Overflow",o="overflow-x";
qx.Class.define(n,{statics:{__scrollbarSize:null,getScrollbarWidth:function(){if(this.__scrollbarSize!==null){return this.__scrollbarSize;
}var bS=qx.bom.element.Style;
var bU=function(bO,bP){return parseInt(bS.get(bO,bP))||0;
};
var bV=function(bw){return (bS.get(bw,x)==A?0:bU(bw,v));
};
var bT=function(bB){return (bS.get(bB,y)==A?0:bU(bB,r));
};
var bX=qx.core.Variant.select(l,{"mshtml":function(bC){if(bS.get(bC,g)==k||bC.clientWidth==0){return bV(bC);
}return Math.max(0,bC.offsetWidth-bC.clientLeft-bC.clientWidth);
},"default":function(bh){if(bh.clientWidth==0){var bi=bS.get(bh,i);
var bj=(bi==z||bi==q?16:0);
return Math.max(0,bV(bh)+bj);
}return Math.max(0,(bh.offsetWidth-bh.clientWidth-bT(bh)));
}});
var bW=function(D){return bX(D)-bV(D);
};
var t=document.createElement(w);
var s=t.style;
s.height=s.width=p;
s.overflow=z;
document.body.appendChild(t);
var c=bW(t);
this.__scrollbarSize=c?c:16;
document.body.removeChild(t);
return this.__scrollbarSize;
},_compile:qx.core.Variant.select(l,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(B,C){if(C==k){C=j;
}return d+C+h;
}:
function(I,J){return I+f+J+h;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(bs,bt){return d+bt+h;
}:
function(bI,bJ){return bI+f+bJ+h;
},"default":function(ba,bb){return ba+f+bb+h;
}}),compileX:function(br){return this._compile(o,br);
},compileY:function(cd){return this._compile(u,cd);
},getX:qx.core.Variant.select(l,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(bc,bd){var be=qx.bom.element.Style.get(bc,i,bd,false);

if(be===j){be=k;
}return be;
}:
function(bl,bm){return qx.bom.element.Style.get(bl,e,bm,false);
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(G,H){return qx.bom.element.Style.get(G,i,H,false);
}:
function(bp,bq){return qx.bom.element.Style.get(bp,e,bq,false);
},"default":function(bu,bv){return qx.bom.element.Style.get(bu,e,bv,false);
}}),setX:qx.core.Variant.select(l,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(bM,bN){if(bN==k){bN=j;
}bM.style.overflow=bN;
}:
function(X,Y){X.style.overflowX=Y;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(bQ,bR){bQ.style.overflow=bR;
}:
function(bK,bL){bK.style.overflowX=bL;
},"default":function(Q,R){Q.style.overflowX=R;
}}),resetX:qx.core.Variant.select(l,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(bx){bx.style.overflow=m;
}:
function(bk){bk.style.overflowX=m;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(bE,bF){bE.style.overflow=m;
}:
function(cb,cc){cb.style.overflowX=m;
},"default":function(N){N.style.overflowX=m;
}}),getY:qx.core.Variant.select(l,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(U,V){var W=qx.bom.element.Style.get(U,i,V,false);

if(W===j){W=k;
}return W;
}:
function(ce,cf){return qx.bom.element.Style.get(ce,g,cf,false);
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(bz,bA){return qx.bom.element.Style.get(bz,i,bA,false);
}:
function(L,M){return qx.bom.element.Style.get(L,g,M,false);
},"default":function(bG,bH){return qx.bom.element.Style.get(bG,g,bH,false);
}}),setY:qx.core.Variant.select(l,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(E,F){if(F===k){F=j;
}E.style.overflow=F;
}:
function(O,P){O.style.overflowY=P;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(bf,bg){bf.style.overflow=bg;
}:
function(bn,bo){bn.style.overflowY=bo;
},"default":function(a,b){a.style.overflowY=b;
}}),resetY:qx.core.Variant.select(l,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(by){by.style.overflow=m;
}:
function(K){K.style.overflowY=m;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(bY,ca){bY.style.overflow=m;
}:
function(S,T){S.style.overflowY=m;
},"default":function(bD){bD.style.overflowY=m;
}})}});
})();
(function(){var u="qx.client",t="qx.io2.ImageLoader",s="load";
qx.Bootstrap.define(t,{statics:{__data:{},__defaultSize:{width:null,height:null},__knownImageTypesRegExp:/\.(png|gif|jpg|jpeg|bmp)\b/i,isLoaded:function(z){var A=this.__data[z];
return !!(A&&A.loaded);
},isFailed:function(v){var w=this.__data[v];
return !!(w&&w.failed);
},isLoading:function(F){var G=this.__data[F];
return !!(G&&G.loading);
},getFormat:function(D){var E=this.__data[D];
return E?E.format:null;
},getSize:function(x){var y=this.__data[x];
return y?
{width:y.width,height:y.height}:this.__defaultSize;
},getWidth:function(a){var b=this.__data[a];
return b?b.width:null;
},getHeight:function(B){var C=this.__data[B];
return C?C.height:null;
},load:function(d,e,f){var g=this.__data[d];

if(!g){g=this.__data[d]={};
}if(e&&!f){f=window;
}if(g.loaded||g.loading||g.failed){if(e){if(g.loading){g.callbacks.push(e,f);
}else{e.call(f,d,g);
}}}else{g.loading=true;
g.callbacks=[];

if(e){g.callbacks.push(e,f);
}var j=new Image();
var h=qx.lang.Function.listener(this.__onload,this,j,d);
j.onload=h;
j.onerror=h;
j.src=d;
}},__onload:qx.event.GlobalError.observeMethod(function(event,m,n){var o=this.__data[n];
if(event.type===s){o.loaded=true;
o.width=this.__getWidth(m);
o.height=this.__getHeight(m);
var p=this.__knownImageTypesRegExp.exec(n);

if(p!=null){o.format=p[1];
}}else{o.failed=true;
}m.onload=m.onerror=null;
var q=o.callbacks;
delete o.loading;
delete o.callbacks;
for(var i=0,l=q.length;i<l;i+=2){q[i].call(q[i+1],n,o);
}}),__getWidth:qx.core.Variant.select(u,{"gecko":function(k){return k.naturalWidth;
},"default":function(H){return H.width;
}}),__getHeight:qx.core.Variant.select(u,{"gecko":function(c){return c.naturalHeight;
},"default":function(r){return r.height;
}})}});
})();
(function(){var l="_window",k="_manager",j="qx.event.handler.Window";
qx.Class.define(j,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(c){arguments.callee.base.call(this);
this._manager=c;
this._window=c.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(q,r){},registerEvent:function(m,n,o){},unregisterEvent:function(g,h,i){},_initWindowObserver:function(){this._onNativeWrapper=qx.lang.Function.listener(this._onNative,this);
var b=qx.event.handler.Window.SUPPORTED_TYPES;

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

for(var d in f){qx.bom.Event.removeNativeListener(this._window,d,this._onNativeWrapper);
}},_onNative:qx.event.GlobalError.observeMethod(function(e){if(this.isDisposed()){return;
}var t=this._window;
var w=t.document;
var u=w.documentElement;
var s=e.target||e.srcElement;

if(s==null||s===t||s===w||s===u){var event=qx.event.Registration.createEvent(e.type,qx.event.type.Native,[e,t]);
qx.event.Registration.dispatchEvent(t,event);
var v=event.getReturnValue();

if(v!=null){e.returnValue=v;
return v;
}}})},destruct:function(){this._stopWindowObserver();
this._disposeFields(k,l);
},defer:function(p){qx.event.Registration.addHandler(p);
}});
})();
(function(){var j="ready",i="qx.application",h="beforeunload",g="qx.core.Init",f="shutdown";
qx.Class.define(g,{statics:{getApplication:function(){return this.__application||null;
},__ready: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 b=qx.core.Setting.get(i);
var c=qx.Class.getByName(b);

if(c){this.__application=new c;
var a=new Date;
this.__application.main();
qx.log.Logger.debug(this,"Main runtime: "+(new Date-a)+"ms");
var a=new Date;
this.__application.finalize();
qx.log.Logger.debug(this,"Finalize runtime: "+(new Date-a)+"ms");
}else{qx.log.Logger.warn("Missing application class: "+b);
}},__close:function(e){var d=this.__application;

if(d){e.setReturnValue(d.close());
}},__shutdown:function(){var l=this.__application;

if(l){l.terminate();
}}},defer:function(k){qx.event.Registration.addListener(window,j,k.__ready,k);
qx.event.Registration.addListener(window,f,k.__shutdown,k);
qx.event.Registration.addListener(window,h,k.__close,k);
}});
})();
(function(){var a="qx.application.IApplication";
qx.Interface.define(a,{members:{main:function(){},finalize:function(){},close:function(){},terminate:function(){}}});
})();
(function(){var e="qx.locale.MTranslation";
qx.Mixin.define(e,{members:{tr:function(k,l){var m=qx.locale.Manager;

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

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

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

if(o){return o.marktr.apply(o,arguments);
}throw new Error("To enable localization please include qx.locale.Manager into your build!");
}}});
})();
(function(){var c="abstract",b="__root",a="qx.application.AbstractGui";
qx.Class.define(a,{type:c,extend:qx.core.Object,implement:[qx.application.IApplication],include:qx.locale.MTranslation,members:{__root:null,_createRootWidget:function(){throw new Error("Abstract method call");
},getRoot:function(){return this.__root;
},main:function(){qx.theme.manager.Meta.getInstance().initialize();
qx.ui.tooltip.Manager.getInstance();
this.__root=this._createRootWidget();
},finalize:function(){this.render();
},render:function(){qx.ui.core.queue.Manager.flush();
},close:function(d){},terminate:function(){}},destruct:function(){this._disposeFields(b);
}});
})();
(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 cj="Order Date",ci="Processed?",ch="Order Number",cg="id",cf='and',ce="Shipped?",cd="GloboChem",cc="Martin",cb="Cook",ca="Johnson",bA="Thomas",bz="Gonzalez",by="Harris",bx="Walker",bw="Acme",bv="Stewart",bu="Chloe",bt="Ava",bs="Jayden",br="Mia",cq="AAA",cr="Thompson",co="changeSelection",cp="Jackson",cm="Collins",cn="Miller",ck="Alexander",cl="Robinson",cs="John",ct="Wright",bS="Ryan",bR="Michael",bU="JavaScript Framework",bT="First Rate",bW="Martinez",bV="Scott",bY="Alyssa",bX="Morris",bQ="Edwards",bP="Clark",g="Lee",h='All Orders',j="Isabella",k="Joseph",l="Sprocket",m="Product Name",n="Bag o' Glass",o="Christopher",p="Elizabeth",q="Rodriguez",cx="Parker",cw="Madison",cv="Taylor",cu="Sophia",cB="Turner",cA="Anderson",cz="Logan",cy="Wilson",cD="Mitchell",cC="Andrew",Q="Lopez",R="Roberts",O="Emma",P="Sarah",U=" ",V="Aiden",S="Smith",T="Thumb Drive",L="Olivia",M="Allen",y="Anthony",x="Adams",A="smart.demo.Application",z="Hill",u="Reed",t="Bell",w="Matthew",v="Campbell",s="King",r="Unicycle",bb="Hall",bc="Jacob",bd="BigCorp",be="Green",W="Addison",X="Ella",Y="Tools 'R' Us",ba="Hernandez",bf="Baker",bg="David",I="Rogers",H="Ashley",G="Brown",F="Noah",E="Customer Name",D="Daniel",C="Morgan",B="Emily",K="Samantha",J="Hannah",bh="Davis",bi="Alexis",bj="Jones",bk="Abigail",bl="Ethan",bm="yyyy-MM-dd HH:mm:ss",bn="Evans",bo="Young",bp="Nelson",bq="White",bE="Sanchez",bD="William",bC="Carter",bB="Garcia",bI="Lewis",bH="Phillips",bG="All Orders",bF="Joshua",bK="Natalie",bJ="James",bN="Mainway Industries",bO="Moore",bL="Williams",bM="Perez";
qx.Class.define(A,{extend:qx.application.Standalone,members:{table:null,orders:-1,columns:{"Order Number":0,"Customer Name":1,"Order Date":2,"Vendor Name":3,"Product Name":4,"Processed?":5,"Shipped?":6},views:{"All Orders":{},"Unprocessed Orders":{filters:function(f){return !f[this.columns[ci]];
}},"Processed but not Shipped":{filters:[function(cE){return cE[this.columns[ci]];
},function(cP){return !cP[this.columns[ce]];
}],conjunction:cf},"Open Orders Placed in the Past Four Hours":{filters:[function(a){return !a[this.columns[ci]];
},function(c){var d=(new Date()).getTime();
return (d-c[this.columns[cj]].getTime()<=4*60*60*1000);
}],conjunction:cf}},main:function(){arguments.callee.base.call(this);
{};
var cT=new smart.Smart();
var cU=[];

for(key in this.columns)cU[this.columns[key]]=key;
cT.setColumns(cU);
this.table=new qx.ui.table.Table(cT);
cT.sortByColumn(this.columns[cj],false);
cT.addIndex(this.columns[ch]);
var de=0;

for(var df in this.views){if(df==h){this.views[df].id=0;
continue;
}this.views[df].id=++de;
cT.addView(this.views[df].filters,this,this.views[df].conjunction);
}cT.setView(this.views[bG].id);
var db=this.table.getSelectionModel();
db.setSelectionMode(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION);
cT.indexedSelection(this.columns[ch],db);
var da=this.table.getTableColumnModel();
da.setDataCellRenderer(this.columns[ci],new qx.ui.table.cellrenderer.Boolean());
da.setDataCellRenderer(this.columns[ce],new qx.ui.table.cellrenderer.Boolean());
da.setDataCellRenderer(this.columns[cj],new qx.ui.table.cellrenderer.Date());
da.setColumnWidth(this.columns[E],150);
da.setColumnWidth(this.columns[cj],150);
da.setColumnWidth(this.columns[m],250);
var dd=da.getDataCellRenderer(this.columns[cj]);
dd.setDateFormat(new qx.util.format.DateFormat(bm));
this.table.getPaneScroller(0).setShowCellFocusIndicator(false);
this.table.getDataRowRenderer().setHighlightFocusRow(false);
this.addOrders(100,true);
var de=0;
var dc=new qx.ui.form.SelectBox();
dc.set({width:300});
var cV=[];

for(var df in this.views){var cS=this.views[df];
var cX=new qx.ui.form.ListItem(df);
cV[cS.id]=cX;
cX.setUserData(cg,cS.id);
}
for(var i=0;i<cV.length;i++)dc.add(cV[i]);
dc.addListener(co,function(e){var cQ=e.getData()[0];
var cR=cQ.getUserData(cg);
this.setView(cR);
},this.table.getTableModel());
var cW=this.getRoot();
cW.add(dc,{left:100,top:50});
cW.add(this.table,{left:100,top:75});
var cY=this;
setInterval(function(){cY.addOrders(Math.random()*4,false);
},5*1000);
setInterval(function(){cY.cancelOrders();
},5*1000);
},firstNames:[bc,bR,bl,bF,D,ck,y,bD,o,w,bs,cC,k,bg,F,V,bJ,bS,cz,cs,O,j,B,cw,bt,L,cu,bk,p,bu,K,W,bK,br,bi,bY,J,H,X,P],lastNames:[S,ca,bL,bj,G,bh,cn,cy,bO,cv,cA,bA,cp,bq,by,cc,cr,bB,bW,cl,bP,q,bI,g,bx,bb,M,bo,ba,s,ct,Q,z,bV,be,x,bf,bz,bp,bC,cD,bM,R,cB,bH,v,cx,bn,bQ,cm,bv,bE,bX,I,u,cb,C,t],companies:[bw,bN,bT,cd,bd,cq,Y],products:[l,n,T,r,bU],addOrders:function(N,cI){if(N==undefined)N=1;

if(cI==undefined)cI=false;
function cJ(b){return b[Math.floor(Math.random()*b.length)];
}var cN=this.table.getTableModel();
var cK=[];
for(var i=0;i<N;i++){var cL=(new Date()).getTime();
var cO=Math.random()>0.5;
var cM=cO&&(Math.random()>0.5);

if(cI)cL-=(Math.random()*24*60*60*100);
cK.push([++this.orders,cJ(this.firstNames)+U+cJ(this.lastNames),new Date(cL),cJ(this.companies),cJ(this.products),cO,cM]);
}cN.addRows(cK);
},cancelOrders:function(){if(Math.random()<0.5)return;
var cG=Math.floor(Math.random()*this.orders)^0;
var cF=this.table.getTableModel();
var cH=cF.locate(this.columns[ch],cG);

if(cH==undefined)return;
cF.removeRows(cH,1);
}}});
})();
(function(){var e="qx.event.type.Native",d="_native",c="_returnValue";
qx.Class.define(e,{extend:qx.event.type.Event,members:{init:function(f,g,h,i,j){arguments.callee.base.call(this,i,j);
this._target=g||qx.bom.Event.getTarget(f);
this._relatedTarget=h||qx.bom.Event.getRelatedTarget(f);

if(f.timeStamp){this._timeStamp=f.timeStamp;
}this._native=f;
this._returnValue=null;
return this;
},clone:function(a){var b=arguments.callee.base.call(this,a);
b._native=this._native;
b._returnValue=this._returnValue;
return b;
},preventDefault:function(){arguments.callee.base.call(this);
qx.bom.Event.preventDefault(this._native);
},getNativeEvent:function(){return this._native;
},setReturnValue:function(k){this._returnValue=k;
},getReturnValue:function(){return this._returnValue;
}},destruct:function(){this._disposeFields(d,c);
}});
})();
(function(){var f="_applyTheme",e="qx.theme",d="qx.theme.manager.Meta",c="qx.theme.Classic",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 e="qx.theme.manager.Font",d="Theme",c="changeTheme",b="_applyTheme",a="singleton";
qx.Class.define(e,{type:a,extend:qx.util.ValueManager,properties:{theme:{check:d,nullable:true,apply:b,event:c}},members:{resolveDynamic:function(f){var g=this._dynamic;
return f instanceof qx.bom.Font?f:g[f];
},resolve:function(h){var k=this._dynamic;
var i=k[h];

if(i){return i;
}var j=this.getTheme();

if(j!==null&&j.fonts[h]){return k[h]=(new qx.bom.Font).set(j.fonts[h]);
}return h;
},isDynamic:function(q){var s=this._dynamic;

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

if(r!==null&&q&&r.fonts[q]){s[q]=(new qx.bom.Font).set(r.fonts[q]);
return true;
}return false;
},_applyTheme:function(l){var m=this._getDynamic();

for(var p in m){if(m[p].themed){m[p].dispose();
delete m[p];
}}
if(l){var n=l.fonts;
var o=qx.bom.Font;

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

if(C!==undefined){this.setSize(C);
}
if(D!==undefined){this.setFamily(D);
}},statics:{fromString:function(K){var O=new qx.bom.Font();
var M=K.split(/\s+/);
var name=[];
var N;

for(var i=0;i<M.length;i++){switch(N=M[i]){case g:O.setBold(true);
break;
case j:O.setItalic(true);
break;
case o:O.setDecoration(o);
break;
default:var L=parseInt(N,10);

if(L==N||qx.lang.String.contains(N,m)){O.setSize(L);
}else{name.push(N);
}break;
}}
if(name.length>0){O.setFamily(name);
}return O;
},fromConfig:function(G){var H=new qx.bom.Font;
H.set(G);
return H;
},__defaultStyles:{fontFamily:p,fontSize:p,fontWeight:p,fontStyle:p,textDecoration:p,lineHeight:1.2},getDefaultStyles:function(){return this.__defaultStyles;
}},properties:{size:{check:B,nullable:true,apply:q},lineHeight:{check:u,nullable:true,apply:z},family:{check:y,nullable:true,apply:A},bold:{check:n,nullable:true,apply:e},italic:{check:n,nullable:true,apply:f},decoration:{check:[o,w,x],nullable:true,apply:t}},members:{__size:null,__family:null,__bold:null,__italic:null,__decoration:null,__lineHeight:null,_applySize:function(I,J){this.__size=I===null?null:I+m;
},_applyLineHeight:function(c,d){this.__lineHeight=c===null?null:c;
},_applyFamily:function(P,Q){var R=p;

for(var i=0,l=P.length;i<l;i++){if(P[i].indexOf(s)>0){R+=k+P[i]+k;
}else{R+=P[i];
}
if(i!==l-1){R+=r;
}}this.__family=R;
},_applyBold:function(a,b){this.__bold=a===null?null:a?g:h;
},_applyItalic:function(E,F){this.__italic=E===null?null:E?j:h;
},_applyDecoration:function(S,T){this.__decoration=S===null?null:S;
},getStyles:function(){return {fontFamily:this.__family,fontSize:this.__size,fontWeight:this.__bold,fontStyle:this.__italic,textDecoration:this.__decoration,lineHeight:this.__lineHeight};
}}});
})();
(function(){var d="qx.theme.manager.Icon",c="Theme",b="_applyTheme",a="singleton";
qx.Class.define(d,{type:a,extend:qx.core.Object,properties:{theme:{check:c,nullable:true,apply:b}},members:{_applyTheme:function(e,f){var h=qx.util.AliasManager.getInstance();

if(f){for(var g in f.aliases){h.remove(g);
}}
if(e){for(var g in e.aliases){h.add(g,e.aliases[g]);
}}}}});
})();
(function(){var l="string",k="_applyTheme",j="__styleCache",i="__aliasMap",h="qx.theme.manager.Appearance",g=":",f="Theme",e="changeTheme",d="/",c="singleton";
qx.Class.define(h,{type:c,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__styleCache={};
this.__aliasMap={};
},properties:{theme:{check:f,nullable:true,event:e,apply:k}},members:{__defaultStates:{},__styleCache:null,__aliasMap:null,_applyTheme:function(a,b){this.__aliasMap={};
this.__styleCache={};
},__resolveId:function(D,E,F){var J=E.appearances;
var M=J[D];

if(!M){var N=d;
var G=[];
var L=D.split(N);
var K;

while(!M&&L.length>0){G.unshift(L.pop());
var H=L.join(N);
M=J[H];

if(M){K=M.alias||M;

if(typeof K===l){var I=K+N+G.join(N);
return this.__resolveId(I,E,F);
}}}if(F!=null){return this.__resolveId(F,E);
}return null;
}else if(typeof M===l){return this.__resolveId(M,E,F);
}else if(M.include&&!M.style){return this.__resolveId(M.include,E,F);
}return D;
},styleFrom:function(m,n,o,p){if(!o){o=this.getTheme();
}var v=this.__aliasMap;
var q=v[m];

if(!q){q=v[m]=this.__resolveId(m,o,p);
}var A=o.appearances[q];

if(!A){this.warn("Missing appearance: "+m);
return null;
}if(!A.style){return null;
}var B=q;

if(n){var C=A.$$bits;

if(!C){C=A.$$bits={};
A.$$length=0;
}var t=0;

for(var w in n){if(!n[w]){continue;
}
if(C[w]==null){C[w]=1<<A.$$length++;
}t+=C[w];
}if(t>0){B+=g+t;
}}var u=this.__styleCache;

if(u[B]!==undefined){return u[B];
}if(!n){n=this.__defaultStates;
}var y;
if(A.include||A.base){var s=A.style(n);
var r;

if(A.include){r=this.styleFrom(A.include,n,o,p);
}y={};
if(A.base){var x=this.styleFrom(q,n,A.base,p);

if(A.include){for(var z in x){if(!r.hasOwnProperty(z)&&!s.hasOwnProperty(z)){y[z]=x[z];
}}}else{for(var z in x){if(!s.hasOwnProperty(z)){y[z]=x[z];
}}}}if(A.include){for(var z in r){if(!s.hasOwnProperty(z)){y[z]=r[z];
}}}for(var z in s){y[z]=s[z];
}}else{y=A.style(n);
}return u[B]=y||null;
}},destruct:function(){this._disposeFields(j,i);
}});
})();
(function(){var y="focusout",x="interval",w="mouseover",v="mouseout",u="mousemove",t="widget",s="__hideTimer",r="qx.ui.tooltip.ToolTip",q="Boolean",p="__showTimer",l="_applyCurrent",o="qx.ui.tooltip.Manager",n="__sharedToolTip",k="tooltip-error",j="singleton",m="__mousePosition";
qx.Class.define(o,{type:j,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
qx.event.Registration.addListener(document.body,w,this.__onMouseOverRoot,this,true);
this.__showTimer=new qx.event.Timer();
this.__showTimer.addListener(x,this.__onShowInterval,this);
this.__hideTimer=new qx.event.Timer();
this.__hideTimer.addListener(x,this.__onHideInterval,this);
this.__mousePosition={left:0,top:0};
},properties:{current:{check:r,nullable:true,apply:l},showInvalidTooltips:{check:q,init:true}},members:{__mousePosition:null,__hideTimer:null,__showTimer:null,__sharedToolTip:null,__sharedErrorToolTip:null,__getSharedTooltip:function(){if(!this.__sharedToolTip){this.__sharedToolTip=new qx.ui.tooltip.ToolTip().set({rich:true});
}return this.__sharedToolTip;
},__getSharedErrorTooltip:function(){if(!this.__sharedErrorToolTip){this.__sharedErrorToolTip=new qx.ui.tooltip.ToolTip().set({appearance:k});
this.__sharedErrorToolTip.syncAppearance();
}return this.__sharedErrorToolTip;
},_applyCurrent:function(D,E){if(E&&qx.ui.core.Widget.contains(E,D)){return;
}if(E){E.exclude();
this.__showTimer.stop();
this.__hideTimer.stop();
}var G=qx.event.Registration;
var F=document.body;
if(D){this.__showTimer.startWith(D.getShowTimeout());
G.addListener(F,v,this.__onMouseOutRoot,this,true);
G.addListener(F,y,this.__onFocusOutRoot,this,true);
G.addListener(F,u,this.__onMouseMoveRoot,this,true);
}else{G.removeListener(F,v,this.__onMouseOutRoot,this,true);
G.removeListener(F,y,this.__onFocusOutRoot,this,true);
G.removeListener(F,u,this.__onMouseMoveRoot,this,true);
}},__onShowInterval:function(e){var z=this.getCurrent();

if(z){this.__hideTimer.startWith(z.getHideTimeout());

if(z.getPlaceMethod()==t){z.placeToWidget(z.getOpener());
}else{z.placeToPoint(this.__mousePosition);
}z.show();
}this.__showTimer.stop();
},__onHideInterval:function(e){var H=this.getCurrent();

if(H){H.exclude();
}this.__hideTimer.stop();
this.resetCurrent();
},__onMouseMoveRoot:function(e){var i=this.__mousePosition;
i.left=e.getDocumentLeft();
i.top=e.getDocumentTop();
},__onMouseOverRoot:function(e){var c=qx.ui.core.Widget.getWidgetByElement(e.getTarget());

if(!c){return;
}var d;
while(c!=null){var d=c.getToolTip();
var f=c.getToolTipText()||null;
var b=c.getToolTipIcon()||null;

if(qx.Class.hasInterface(c.constructor,qx.ui.form.IForm)&&!c.isValid()){var a=c.getInvalidMessage();
}
if(d||f||b||a){break;
}c=c.getLayoutParent();
}
if(!c){return;
}
if(c.isBlockToolTip()){return;
}if(a&&c.getEnabled()){if(!this.getShowInvalidTooltips()){return;
}var d=this.__getSharedErrorTooltip().set({label:a});
}else if(!d){var d=this.__getSharedTooltip().set({label:f,icon:b});
}this.setCurrent(d);
d.setOpener(c);
},__onMouseOutRoot:function(e){var A=qx.ui.core.Widget.getWidgetByElement(e.getTarget());

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

if(!B){return;
}var C=this.getCurrent();
if(C&&(B==C||qx.ui.core.Widget.contains(C,B))){return;
}if(B&&A&&qx.ui.core.Widget.contains(A,B)){return;
}if(C&&!B){this.setCurrent(null);
}else{this.resetCurrent();
}},__onFocusOutRoot:function(e){var g=qx.ui.core.Widget.getWidgetByElement(e.getTarget());

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

if(c!=null){this.setInterval(c);
}this.__oninterval=qx.lang.Function.bind(this._oninterval,this);
},events:{"interval":f},statics:{once:function(p,q,r){var s=new qx.event.Timer(r);
s.addListener(m,function(e){s.stop();
p.call(q,e);
s.dispose();
q=null;
},q);
s.start();
return s;
}},properties:{enabled:{init:true,check:h,apply:j},interval:{check:d,init:1000,apply:k}},members:{__intervalHandler:null,__oninterval:null,_applyInterval:function(a,b){if(this.getEnabled()){this.restart();
}},_applyEnabled:function(n,o){if(o){window.clearInterval(this.__intervalHandler);
this.__intervalHandler=null;
}else if(n){this.__intervalHandler=window.setInterval(this.__oninterval,this.getInterval());
}},start:function(){this.setEnabled(true);
},startWith:function(t){this.setInterval(t);
this.start();
},stop:function(){this.setEnabled(false);
},restart:function(){this.stop();
this.start();
},restartWith:function(u){this.stop();
this.startWith(u);
},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.getEnabled()){this.fireEvent(m);
}})},destruct:function(){if(this.__intervalHandler){window.clearInterval(this.__intervalHandler);
}this._disposeFields(g,i);
}});
})();
(function(){var g="qx.ui.core.MChildrenHandling";
qx.Mixin.define(g,{members:{getChildren:function(){return this._getChildren();
},hasChildren:function(){return this._hasChildren();
},indexOf:function(h){return this._indexOf(h);
},add:function(e,f){this._add(e,f);
},addAt:function(j,k,l){this._addAt(j,k,l);
},addBefore:function(b,c,d){this._addBefore(b,c,d);
},addAfter:function(n,o,p){this._addAfter(n,o,p);
},remove:function(m){this._remove(m);
},removeAt:function(i){return this._removeAt(i);
},removeAll:function(){this._removeAll();
}},statics:{remap:function(a){a.getChildren=a._getChildren;
a.hasChildren=a._hasChildren;
a.indexOf=a._indexOf;
a.add=a._add;
a.addAt=a._addAt;
a.addBefore=a._addBefore;
a.addAfter=a._addAfter;
a.remove=a._remove;
a.removeAt=a._removeAt;
a.removeAll=a._removeAll;
}}});
})();
(function(){var a="qx.ui.core.MLayoutHandling";
qx.Mixin.define(a,{members:{setLayout:function(c){return this._setLayout(c);
},getLayout:function(){return this._getLayout();
}},statics:{remap:function(b){b.getLayout=b._getLayout;
b.setLayout=b._setLayout;
}}});
})();
(function(){var J="Integer",I="_applyDimension",H="Boolean",G="_applyStretching",F="_applyMargin",E="shorthand",D="_applyAlign",C="allowShrinkY",B="__sizeHint",A="bottom",be="__userBounds",bd="baseline",bc="marginBottom",bb="qx.ui.core.LayoutItem",ba="center",Y="marginTop",X="$$subparent",W="allowGrowX",V="__layoutProperties",U="middle",Q="marginLeft",R="allowShrinkX",O="$$parent",P="top",M="right",N="marginRight",K="abstract",L="__computedLayout",S="allowGrowY",T="left";
qx.Class.define(bb,{type:K,extend:qx.core.Object,properties:{minWidth:{check:J,nullable:true,apply:I,init:null,themeable:true},width:{check:J,nullable:true,apply:I,init:null,themeable:true},maxWidth:{check:J,nullable:true,apply:I,init:null,themeable:true},minHeight:{check:J,nullable:true,apply:I,init:null,themeable:true},height:{check:J,nullable:true,apply:I,init:null,themeable:true},maxHeight:{check:J,nullable:true,apply:I,init:null,themeable:true},allowGrowX:{check:H,apply:G,init:true,themeable:true},allowShrinkX:{check:H,apply:G,init:true,themeable:true},allowGrowY:{check:H,apply:G,init:true,themeable:true},allowShrinkY:{check:H,apply:G,init:true,themeable:true},allowStretchX:{group:[W,R],mode:E,themeable:true},allowStretchY:{group:[S,C],mode:E,themeable:true},marginTop:{check:J,init:0,apply:F,themeable:true},marginRight:{check:J,init:0,apply:F,themeable:true},marginBottom:{check:J,init:0,apply:F,themeable:true},marginLeft:{check:J,init:0,apply:F,themeable:true},margin:{group:[Y,N,bc,Q],mode:E,themeable:true},alignX:{check:[T,ba,M],nullable:true,apply:D,themeable:true},alignY:{check:[P,U,A,bd],nullable:true,apply:D,themeable:true}},members:{__computedHeightForWidth:null,__computedLayout:null,__hasInvalidLayout:null,__sizeHint:null,__updateMargin:null,__userBounds:null,__layoutProperties:null,getBounds:function(){return this.__userBounds||this.__computedLayout||null;
},clearSeparators:function(){},renderSeparator:function(bh,bi){},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.__computedHeightForWidth){this.__computedHeightForWidth=q;
qx.ui.core.queue.Layout.add(this);
return null;
}var s=this.__computedLayout;

if(!s){s=this.__computedLayout={};
}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.__hasInvalidLayout){r.local=true;
delete this.__hasInvalidLayout;
}
if(this.__updateMargin){r.margin=true;
delete this.__updateMargin;
}return r;
},isExcluded:function(){return false;
},hasValidLayout:function(){return !this.__hasInvalidLayout;
},scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this);
},invalidateLayoutCache:function(){this.__hasInvalidLayout=true;
this.__sizeHint=null;
},getSizeHint:function(bf){var bg=this.__sizeHint;

if(bg){return bg;
}
if(bf===false){return null;
}bg=this.__sizeHint=this._computeSizeHint();
if(this._hasHeightForWidth()&&this.__computedHeightForWidth&&this.getHeight()==null){bg.height=this.__computedHeightForWidth;
}if(!this.getAllowShrinkX()){bg.minWidth=Math.max(bg.minWidth,bg.width);
}else if(bg.minWidth>bg.width&&this.getAllowGrowX()){bg.width=bg.minWidth;
}
if(!this.getAllowShrinkY()){bg.minHeight=Math.max(bg.minHeight,bg.height);
}
if(bg.minHeight>bg.height&&this.getAllowGrowY()){bg.height=bg.minHeight;
}if(!this.getAllowGrowX()){bg.maxWidth=Math.min(bg.maxWidth,bg.width);
}
if(bg.width>bg.maxWidth){bg.width=bg.maxWidth;
}
if(!this.getAllowGrowY()){bg.maxHeight=Math.min(bg.maxHeight,bg.height);
}
if(bg.height>bg.maxHeight){bg.height=bg.maxHeight;
}return bg;
},_computeSizeHint:function(){var x=this.getMinWidth()||0;
var u=this.getMinHeight()||0;
var y=this.getWidth()||x;
var w=this.getHeight()||u;
var t=this.getMaxWidth()||Infinity;
var v=this.getMaxHeight()||Infinity;
return {minWidth:x,width:y,maxWidth:t,minHeight:u,height:w,maxHeight:v};
},_hasHeightForWidth:function(){var z=this._getLayout();

if(z){return z.hasHeightForWidth();
}return false;
},_getHeightForWidth:function(f){var g=this._getLayout();

if(g&&g.hasHeightForWidth()){return g.getHeightForWidth(f);
}return null;
},_getLayout:function(){return null;
},_applyMargin:function(){this.__updateMargin=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.__userBounds;
},setUserBounds:function(bj,top,bk,bl){this.__userBounds={left:bj,top:top,width:bk,height:bl};
qx.ui.core.queue.Layout.add(this);
},resetUserBounds:function(){delete this.__userBounds;
qx.ui.core.queue.Layout.add(this);
},__emptyProperties:{},setLayoutProperties:function(c){if(c==null){return;
}var d=this.__layoutProperties;

if(!d){d=this.__layoutProperties={};
}var parent=this.getLayoutParent();

if(parent){parent.updateLayoutProperties(c);
}for(var e in c){if(c[e]==null){delete d[e];
}else{d[e]=c[e];
}}},getLayoutProperties:function(){return this.__layoutProperties||this.__emptyProperties;
},clearLayoutProperties:function(){delete this.__layoutProperties;
},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 a=arguments.callee.base.call(this);
var b=this.__layoutProperties;

if(b){a.__layoutProperties=qx.lang.Object.clone(b);
}return a;
},serialize:function(){var k=arguments.callee.base.call(this);
var l=this.__layoutProperties;

if(l){k.layoutProperties=qx.lang.Object.clone(l);
}return k;
}},destruct:function(){this._disposeFields(O,X,V,L,be,B);
}});
})();
(function(){var dz="px",dy="Boolean",dx="qx.event.type.Mouse",dw="qx.event.type.Drag",dv="visible",du="qx.event.type.Focus",dt="on",ds="Integer",dr="excluded",dq="object",cR="qx.event.type.Data",cQ="_applyPadding",cP="qx.event.type.Event",cO="zIndex",cN="hidden",cM="String",cL="tabIndex",cK="contextmenu",cJ="absolute",cI="backgroundColor",dG="focused",dH="changeVisibility",dE="mshtml",dF="hovered",dC="qx.event.type.KeySequence",dD="qx.client",dA="drag",dB="height",dI="div",dJ="disabled",di="move",dh="dragstart",dk="qx.dynlocale",dj="dragchange",dm="position",dl="dragend",dp="resize",dn="Decorator",dg="width",df="$$widget",bz="opacity",bA="default",bB="Color",bC="top",bD="left",bE="changeToolTipText",bF="beforeContextmenuOpen",bG="_applyNativeContextMenu",bH="_applyBackgroundColor",bI="_applyFocusable",dN="changeShadow",dM="qx.event.type.KeyInput",dL="createChildControl",dK="Font",dR="_applyShadow",dQ="_applyEnabled",dP="_applySelectable",dO="_applyKeepActive",dT="Number",dS="_applyVisibility",ci="repeat",cj="qxDraggable",cg="syncAppearance",ch="paddingLeft",cm="__containerElement",cn="_applyDroppable",ck="#",cl="__widgetChildren",ce="__layoutManager",cf="_applyCursor",bQ="_applyDraggable",bP="changeTextColor",bS="changeContextMenu",bR="paddingTop",bM="changeSelectable",bL="hideFocus",bO="none",bN="__protectorElement",bK="outline",bJ="_applyAppearance",cs="overflowX",ct="_applyOpacity",cu="url(",cv=")",co="qx.ui.core.Widget",cp="__states",cq="_applyFont",cr="__childControls",cw="cursor",cx="__decoratorElement",cb="qxDroppable",ca="changeZIndex",bY="overflowY",bX="changeEnabled",bW="changeFont",bV="_applyDecorator",bU="_applyZIndex",bT="_applyTextColor",cd="__separators",cc="qx.ui.menu.Menu",cy="_applyToolTipText",cz="true",cA="widget",cB="__shadowElement",cC="changeDecorator",cD="_applyTabIndex",cE="changeAppearance",cF="shorthand",cG="/",cH="__contentElement",cV="",cU="_applyContextMenu",cT="paddingBottom",cS="changeNativeContextMenu",da="qx.ui.tooltip.ToolTip",cY="qxKeepActive",cX="_applyKeepFocus",cW="paddingRight",dc="changeBackgroundColor",db="changeLocale",dd="qxKeepFocus",de="qx/static/blank.gif";
qx.Class.define(co,{extend:qx.ui.core.LayoutItem,include:[qx.locale.MTranslation],construct:function(){arguments.callee.base.call(this);
this.__containerElement=this._createContainerElement();
this.__contentElement=this.__createContentElement();
this.__containerElement.add(this.__contentElement);
this.initFocusable();
this.initSelectable();
this.initNativeContextMenu();
},events:{appear:cP,disappear:cP,createChildControl:cR,resize:cR,move:cR,syncAppearance:cR,mousemove:dx,mouseover:dx,mouseout:dx,mousedown:dx,mouseup:dx,click:dx,dblclick:dx,contextmenu:dx,beforeContextmenuOpen:dx,mousewheel:dx,keyup:dC,keydown:dC,keypress:dC,keyinput:dM,focus:du,blur:du,focusin:du,focusout:du,activate:du,deactivate:du,capture:cP,losecapture:cP,drop:dw,dragleave:dw,dragover:dw,drag:dw,dragstart:dw,dragend:dw,dragchange:dw,droprequest:dw},properties:{paddingTop:{check:ds,init:0,apply:cQ,themeable:true},paddingRight:{check:ds,init:0,apply:cQ,themeable:true},paddingBottom:{check:ds,init:0,apply:cQ,themeable:true},paddingLeft:{check:ds,init:0,apply:cQ,themeable:true},padding:{group:[bR,cW,cT,ch],mode:cF,themeable:true},zIndex:{nullable:true,init:null,apply:bU,event:ca,check:ds,themeable:true},decorator:{nullable:true,init:null,apply:bV,event:cC,check:dn,themeable:true},shadow:{nullable:true,init:null,apply:dR,event:dN,check:dn,themeable:true},backgroundColor:{nullable:true,check:bB,apply:bH,event:dc,themeable:true},textColor:{nullable:true,check:bB,apply:bT,event:bP,themeable:true,inheritable:true},font:{nullable:true,apply:cq,check:dK,event:bW,themeable:true,inheritable:true},opacity:{check:dT,apply:ct,themeable:true,nullable:true,init:null},cursor:{check:cM,apply:cf,themeable:true,inheritable:true,nullable:true,init:null},toolTip:{check:da,nullable:true},toolTipText:{check:cM,nullable:true,event:bE,apply:cy},toolTipIcon:{check:cM,nullable:true,event:bE},blockToolTip:{check:dy,init:false},visibility:{check:[dv,cN,dr],init:dv,apply:dS,event:dH},enabled:{init:true,check:dy,inheritable:true,apply:dQ,event:bX},anonymous:{init:false,check:dy},tabIndex:{check:ds,nullable:true,apply:cD},focusable:{check:dy,init:false,apply:bI},keepFocus:{check:dy,init:false,apply:cX},keepActive:{check:dy,init:false,apply:dO},draggable:{check:dy,init:false,apply:bQ},droppable:{check:dy,init:false,apply:cn},selectable:{check:dy,init:false,event:bM,apply:dP},contextMenu:{check:cc,apply:cU,nullable:true,event:bS},nativeContextMenu:{check:dy,init:false,themeable:true,event:cS,apply:bG},appearance:{check:cM,init:cA,apply:bJ,event:cE}},statics:{DEBUG:false,getWidgetByElement:function(hz){try{while(hz){var hA=hz.$$widget;
if(hA!=null){return qx.core.ObjectRegistry.fromHashCode(hA);
}hz=hz.parentNode;
}}catch(hy){}return null;
},contains:function(parent,hv){while(hv){if(parent==hv){return true;
}hv=hv.getLayoutParent();
}return false;
},__decoratorPool:{},__shadowPool:{}},members:{__containerElement:null,__contentElement:null,__decoratorElement:null,__shadowElement:null,__protectorElement:null,__initialAppearanceApplied:null,__toolTipTextListenerId:null,__layoutManager:null,_getLayout:function(){return this.__layoutManager;
},_setLayout:function(eL){{};

if(this.__layoutManager){this.__layoutManager.connectToWidget(null);
}
if(eL){eL.connectToWidget(this);
}this.__layoutManager=eL;
qx.ui.core.queue.Layout.add(this);
},setLayoutParent:function(parent){if(this.$$parent===parent){return;
}
if(this.$$parent&&!this.$$parent.$$disposed){this.$$parent.getContentElement().remove(this.__containerElement);
}this.$$parent=parent||null;

if(parent&&!parent.$$disposed){this.$$parent.getContentElement().add(this.__containerElement);
}qx.core.Property.refresh(this);
qx.ui.core.queue.Visibility.add(this);
},__updateInsets:null,renderLayout:function(K,top,L,M){var X=arguments.callee.base.call(this,K,top,L,M);
if(!X){return;
}var O=this.__containerElement;
var content=this.__contentElement;
var U=X.size||this.__updateInsets;
var Y=dz;
if(X.position){O.setStyle(bD,K+Y);
O.setStyle(bC,top+Y);
}if(X.size){O.setStyle(dg,L+Y);
O.setStyle(dB,M+Y);
}
if(U||X.local||X.margin){var N=this.getInsets();
var innerWidth=L-N.left-N.right;
var innerHeight=M-N.top-N.bottom;
innerWidth=innerWidth<0?0:innerWidth;
innerHeight=innerHeight<0?0:innerHeight;
}
if(this.__updateInsets){content.setStyle(bD,N.left+Y);
content.setStyle(bC,N.top+Y);
}
if(U){content.setStyle(dg,innerWidth+Y);
content.setStyle(dB,innerHeight+Y);
}
if(X.size){var W=this.__protectorElement;

if(W){W.setStyles({width:L+dz,height:M+dz});
}}
if(X.size||this.__updateInsets){var R=qx.theme.manager.Decoration.getInstance();
var ba=this.getDecorator();

if(ba){var S=this.__decoratorElement;
var T=R.resolve(ba);
T.resize(S.getDomElement(),L,M);
}}
if(X.size){var V=this.getShadow();

if(V){var S=this.__shadowElement;
var T=R.resolve(V);
var N=T.getInsets();
var Q=L+N.left+N.right;
var P=M+N.top+N.bottom;
T.resize(S.getDomElement(),Q,P);
}}
if(U||X.local||X.margin){if(this.__layoutManager&&this.hasLayoutChildren()){this.__layoutManager.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(X.position&&this.hasListener(di)){this.fireDataEvent(di,this.getBounds());
}
if(X.size&&this.hasListener(dp)){this.fireDataEvent(dp,this.getBounds());
}delete this.__updateInsets;
},__separators:null,clearSeparators:function(){var gv=this.__separators;

if(!gv){return;
}var gw=qx.ui.core.Widget.__decoratorPool;
var content=this.__contentElement;
var gu,gt;

for(var i=0,l=gv.length;i<l;i++){gt=gv[i];
gu=gt.$$separator;
if(!gw[gu]){gw[gu]=[gt];
}else{gw[gu].push(gt);
}content.remove(gt);
}gv.length=0;
},renderSeparator:function(gd,ge){var gl=qx.ui.core.Widget.__decoratorPool;
var gj=qx.theme.manager.Decoration.getInstance();

if(typeof gd==dq){var gk=gd.toHashCode();
var gg=gd;
}else{var gk=gd;
var gg=gj.resolve(gd);
}var gh=gl[gd];

if(gh&&gh.length>0){var gi=gh.pop();
}else{var gi=this.__createDecoratorElement(gg);
}this.__contentElement.add(gi);
gg.resize(gi.getDomElement(),ge.width,ge.height);
var gf=gi.getDomElement().style;
gf.left=ge.left+dz;
gf.top=ge.top+dz;
if(!this.__separators){this.__separators=[gi];
}else{this.__separators.push(gi);
}gi.$$separator=gk;
},_computeSizeHint:function(){var fy=this.getWidth();
var fx=this.getMinWidth();
var ft=this.getMaxWidth();
var fw=this.getHeight();
var fu=this.getMinHeight();
var fv=this.getMaxHeight();
var fz=this._getContentHint();
var fs=this.getInsets();
var fB=fs.left+fs.right;
var fA=fs.top+fs.bottom;

if(fy==null){fy=fz.width+fB;
}
if(fw==null){fw=fz.height+fA;
}
if(fx==null){fx=fB;

if(fz.minWidth!=null){fx+=fz.minWidth;
}}
if(fu==null){fu=fA;

if(fz.minHeight!=null){fu+=fz.minHeight;
}}
if(ft==null){if(fz.maxWidth==null){ft=Infinity;
}else{ft=fz.maxWidth+fB;
}}
if(fv==null){if(fz.maxHeight==null){fv=Infinity;
}else{fv=fz.maxHeight+fA;
}}return {width:fy,minWidth:fx,maxWidth:ft,height:fw,minHeight:fu,maxHeight:fv};
},invalidateLayoutCache:function(){arguments.callee.base.call(this);

if(this.__layoutManager){this.__layoutManager.invalidateLayoutCache();
}},_getContentHint:function(){var hk=this.__layoutManager;

if(hk){if(this.hasLayoutChildren()){var hj;
var hl=hk.getSizeHint();
{};
return hl;
}else{return {width:0,height:0};
}}else{return {width:100,height:50};
}},_getHeightForWidth:function(fE){var fI=this.getInsets();
var fL=fI.left+fI.right;
var fK=fI.top+fI.bottom;
var fJ=fE-fL;
var fG=this._getLayout();

if(fG&&fG.hasHeightForWidth()){var fF=fG.getHeightForWidth(fE);
}else{fF=this._getContentHeightForWidth(fJ);
}var fH=fF+fK;
return fH;
},_getContentHeightForWidth:function(hs){throw new Error("Abstract method call: _getContentHeightForWidth()!");
},getInsets:function(){var top=this.getPaddingTop();
var B=this.getPaddingRight();
var C=this.getPaddingBottom();
var H=this.getPaddingLeft();
var G=this.getDecorator();

if(G){var F=qx.theme.manager.Decoration.getInstance();
var E=F.resolve(G);
var D=E.getInsets();
{};
top+=D.top;
B+=D.right;
C+=D.bottom;
H+=D.left;
}return {"top":top,"right":B,"bottom":C,"left":H};
},getInnerSize:function(){var bo=this.getBounds();

if(!bo){return null;
}var bn=this.getInsets();
return {width:bo.width-bn.left-bn.right,height:bo.height-bn.top-bn.bottom};
},show:function(){this.setVisibility(dv);
},hide:function(){this.setVisibility(cN);
},exclude:function(){this.setVisibility(dr);
},isVisible:function(){return this.getVisibility()===dv;
},isHidden:function(){return this.getVisibility()!==dv;
},isExcluded:function(){return this.getVisibility()===dr;
},isSeeable:function(){var fb=this.getContainerElement().getDomElement();

if(fb){return fb.offsetWidth>0;
}var fa=this;

do{if(!fa.isVisible()){return false;
}
if(fa.isRootWidget()){return true;
}fa=fa.getLayoutParent();
}while(fa);
return false;
},_createContainerElement:function(){var fl=new qx.html.Element(dI);
{};
fl.setStyle(dm,cJ);
fl.setStyle(cO,0);
fl.setAttribute(df,this.toHashCode());
{};
return fl;
},__createContentElement:function(){var fS=this._createContentElement();
{};
fS.setStyle(dm,cJ);
fS.setStyle(cO,10);
return fS;
},_createContentElement:function(){var fP=new qx.html.Element(dI);
fP.setStyle(cs,cN);
fP.setStyle(bY,cN);
return fP;
},getContainerElement:function(){return this.__containerElement;
},getContentElement:function(){return this.__contentElement;
},getDecoratorElement:function(){return this.__decoratorElement;
},__widgetChildren:null,getLayoutChildren:function(){var d=this.__widgetChildren;

if(!d){return this.__emptyChildren;
}var f;

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

if(c.hasUserBounds()||c.isExcluded()){if(f==null){f=d.concat();
}qx.lang.Array.remove(f,c);
}}return f||d;
},scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this);
},invalidateLayoutChildren:function(){var gL=this.__layoutManager;

if(gL){gL.invalidateChildrenCache();
}qx.ui.core.queue.Layout.add(this);
},hasLayoutChildren:function(){var fp=this.__widgetChildren;

if(!fp){return false;
}var fq;

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

if(!fq.hasUserBounds()&&!fq.isExcluded()){return true;
}}return false;
},getChildrenContainer:function(){return this;
},__emptyChildren:[],_getChildren:function(){return this.__widgetChildren||this.__emptyChildren;
},_indexOf:function(hw){var hx=this.__widgetChildren;

if(!hx){return -1;
}return hx.indexOf(hw);
},_hasChildren:function(){var ed=this.__widgetChildren;
return ed!=null&&(!!ed[0]);
},addChildrenToQueue:function(fM){var fN=this.__widgetChildren;

if(!fN){return;
}var fO;

for(var i=0,l=fN.length;i<l;i++){fO=fN[i];
fM[fO.$$hash]=fO;
fO.addChildrenToQueue(fM);
}},_add:function(fg,fh){if(fg.getLayoutParent()==this){qx.lang.Array.remove(this.__widgetChildren,fg);
}
if(this.__widgetChildren){this.__widgetChildren.push(fg);
}else{this.__widgetChildren=[fg];
}this.__addHelper(fg,fh);
},_addAt:function(er,es,et){if(!this.__widgetChildren){this.__widgetChildren=[];
}if(er.getLayoutParent()==this){qx.lang.Array.remove(this.__widgetChildren,er);
}var eu=this.__widgetChildren[es];

if(eu===er){return er.setLayoutProperties(et);
}
if(eu){qx.lang.Array.insertBefore(this.__widgetChildren,er,eu);
}else{this.__widgetChildren.push(er);
}this.__addHelper(er,et);
},_addBefore:function(fm,fn,fo){{};

if(fm==fn){return;
}
if(!this.__widgetChildren){this.__widgetChildren=[];
}if(fm.getLayoutParent()==this){qx.lang.Array.remove(this.__widgetChildren,fm);
}qx.lang.Array.insertBefore(this.__widgetChildren,fm,fn);
this.__addHelper(fm,fo);
},_addAfter:function(fi,fj,fk){{};

if(fi==fj){return;
}
if(!this.__widgetChildren){this.__widgetChildren=[];
}if(fi.getLayoutParent()==this){qx.lang.Array.remove(this.__widgetChildren,fi);
}qx.lang.Array.insertAfter(this.__widgetChildren,fi,fj);
this.__addHelper(fi,fk);
},_remove:function(ey){if(!this.__widgetChildren){return;
}qx.lang.Array.remove(this.__widgetChildren,ey);
this.__removeHelper(ey);
},_removeAt:function(fc){if(!this.__widgetChildren){throw new Error("This widget has no children!");
}var fd=this.__widgetChildren[fc];
qx.lang.Array.removeAt(this.__widgetChildren,fc);
this.__removeHelper(fd);
return fd;
},_removeAll:function(){if(!this.__widgetChildren){return;
}var hq=this.__widgetChildren.concat();
this.__widgetChildren.length=0;

for(var i=hq.length-1;i>=0;i--){this.__removeHelper(hq[i]);
}qx.ui.core.queue.Layout.add(this);
},_afterAddChild:null,_afterRemoveChild:null,__addHelper:function(fe,ff){{};
var parent=fe.getLayoutParent();

if(parent&&parent!=this){parent._remove(fe);
}fe.setLayoutParent(this);
if(ff){fe.setLayoutProperties(ff);
}else{this.updateLayoutProperties();
}if(this._afterAddChild){this._afterAddChild(fe);
}},__removeHelper:function(hm){{};
hm.setLayoutParent(null);
if(this.__layoutManager){this.__layoutManager.invalidateChildrenCache();
}qx.ui.core.queue.Layout.add(this);
if(this._afterRemoveChild){this._afterRemoveChild(hm);
}},capture:function(){this.__containerElement.capture();
},releaseCapture:function(){this.__containerElement.releaseCapture();
},_applyPadding:function(a,b,name){this.__updateInsets=true;
qx.ui.core.queue.Layout.add(this);
},_createProtectorElement:function(){if(this.__protectorElement){return;
}var bh=this.__protectorElement=new qx.html.Element;
{};
bh.setStyles({position:cJ,top:0,left:0,zIndex:7});
var bi=this.getBounds();

if(bi){this.__protectorElement.setStyles({width:bi.width+dz,height:bi.height+dz});
}if(qx.core.Variant.isSet(dD,dE)){bh.setStyles({backgroundImage:cu+qx.util.ResourceManager.getInstance().toUri(de)+cv,backgroundRepeat:ci});
}this.__containerElement.add(bh);
},__createDecoratorElement:function(ev){var ew=new qx.html.Element;
ew.setStyles({position:cJ,top:0,left:0});
{};
ew.useMarkup(ev.getMarkup());
return ew;
},_applyDecorator:function(gx,gy){var gG=qx.ui.core.Widget.__decoratorPool;
var gD=qx.theme.manager.Decoration.getInstance();
var gz=this.__containerElement;
var gB=this.__decoratorElement;
if(!this.__protectorElement){this._createProtectorElement();
}var gE;

if(gy){if(typeof gy===dq){gE=gy.toHashCode();
}else{gE=gy;
gy=gD.resolve(gy);
}}var gF;

if(gx){if(typeof gx===dq){gF=gx.toHashCode();
{};
}else{gF=gx;
gx=gD.resolve(gx);
}}if(gy){if(!gG[gE]){gG[gE]=[];
}gz.remove(gB);
gG[gE].push(gB);
}if(gx){if(gG[gF]&&gG[gF].length>0){gB=gG[gF].pop();
}else{gB=this.__createDecoratorElement(gx);
gB.setStyle(cO,5);
}var gA=this.getBackgroundColor();
gx.tint(gB.getDomElement(),gA);
gz.add(gB);
this.__decoratorElement=gB;
}else{delete this.__decoratorElement;
this._applyBackgroundColor(this.getBackgroundColor());
}if(gx&&!gy&&gA){this.getContainerElement().setStyle(cI,null);
}if(qx.ui.decoration.Util.insetsModified(gy,gx)){this.__updateInsets=true;
qx.ui.core.queue.Layout.add(this);
}else if(gx){var gC=this.getBounds();

if(gC){gD.resolve(gx).resize(gB.getDomElement(),gC.width,gC.height);
this.__protectorElement.setStyles({width:gC.width+dz,height:gC.height+dz});
}}},_applyShadow:function(gO,gP){var ha=qx.ui.core.Widget.__shadowPool;
var gW=qx.theme.manager.Decoration.getInstance();
var gR=this.__containerElement;
var gX;

if(gP){if(typeof gP===dq){gX=gP.toHashCode();
}else{gX=gP;
gP=gW.resolve(gP);
}}var gY;

if(gO){if(typeof gO===dq){gY=gO.toHashCode();
}else{gY=gO;
gO=gW.resolve(gO);
}}if(gP){if(!ha[gX]){ha[gX]=[];
}gR.remove(this.__shadowElement);
ha[gX].push(this.__shadowElement);
}if(gO){var gT;

if(ha[gY]&&ha[gY].length>0){gT=ha[gY].pop();
}else{gT=this.__createDecoratorElement(gO);
}gR.add(gT);
this.__shadowElement=gT;
var gV=gO.getInsets();
gT.setStyles({left:(-gV.left)+dz,top:(-gV.top)+dz});
var gU=this.getBounds();

if(gU){var gS=gU.width+gV.left+gV.right;
var gQ=gU.height+gV.top+gV.bottom;
gO.resize(gT.getDomElement(),gS,gQ);
}gO.tint(gT.getDomElement(),null);
}else{delete this.__shadowElement;
}},_applyToolTipText:function(eo,ep){if(qx.core.Variant.isSet(dk,dt)){if(this.__toolTipTextListenerId){return;
}var eq=qx.locale.Manager.getInstance();
this.__toolTipTextListenerId=eq.addListener(db,function(){if(eo&&eo.translate){this.setToolTipText(eo.translate());
}},this);
}},_applyTextColor:function(gJ,gK){},_applyZIndex:function(ht,hu){this.__containerElement.setStyle(cO,ht==null?0:ht);
},_applyVisibility:function(j,k){if(j===dv){this.__containerElement.show();
}else{this.__containerElement.hide();
}var parent=this.$$parent;

if(parent&&(k==null||j==null||k===dr||j===dr)){parent.invalidateLayoutChildren();
}qx.ui.core.queue.Visibility.add(this);
},_applyOpacity:function(ez,eA){this.__containerElement.setStyle(bz,ez==1?null:ez);
if(qx.core.Variant.isSet(dD,dE)){if(!qx.Class.isSubClassOf(this.__contentElement.constructor,qx.html.Image)){var eB=(ez==1||ez==null)?null:0.99;
this.__contentElement.setStyle(bz,eB);
}}},_applyCursor:function(gb,gc){if(gb==null&&!this.isSelectable()){gb=bA;
}this.__containerElement.setStyle(cw,gb,qx.bom.client.Engine.OPERA);
},_applyBackgroundColor:function(hb,hc){var hi=this.getDecorator();
var hf=this.getBackgroundColor();
var he=this.__containerElement;

if(hi){var hg=this.__decoratorElement;

if(hg){var hh=qx.theme.manager.Decoration.getInstance().resolve(hi);
hh.tint(this.__decoratorElement.getDomElement(),hf);
}he.setStyle(cI,null);
}else{var hd=qx.theme.manager.Color.getInstance().resolve(hf);
he.setStyle(cI,hd);
}},_applyFont:function(ej,ek){},__states:null,$$stateChanges:null,_forwardStates:null,hasState:function(gM){var gN=this.__states;
return gN&&gN[gM];
},addState:function(fV){var fW=this.__states;

if(!fW){fW=this.__states={};
}
if(fW[fV]){return;
}this.__states[fV]=true;
if(fV===dF){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 ga=this.__childControls;

if(forward&&forward[fV]&&ga){var fX;

for(var fY in ga){fX=ga[fY];

if(fX instanceof qx.ui.core.Widget){ga[fY].addState(fV);
}}}},removeState:function(m){var n=this.__states;

if(!n||!n[m]){return;
}delete this.__states[m];
if(m===dF){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 q=this.__childControls;

if(forward&&forward[m]&&q){for(var p in q){var o=q[p];

if(o instanceof qx.ui.core.Widget){o.removeState(m);
}}}},replaceState:function(bb,bc){var bd=this.__states;

if(!bd){bd=this.__states={};
}
if(!bd[bc]){bd[bc]=true;
}
if(bd[bb]){delete bd[bb];
}
if(!qx.ui.core.queue.Visibility.isVisible(this)){this.$$stateChanges=true;
}else{qx.ui.core.queue.Appearance.add(this);
}var forward=this._forwardStates;
var bg=this.__childControls;

if(forward&&forward[bc]&&bg){for(var bf in bg){var be=bg[bf];

if(be instanceof qx.ui.core.Widget){be.replaceState(bb,bc);
}}}},__appearanceSelector:null,__updateSelector:null,syncAppearance:function(){var v=this.__states;
var u=this.__appearanceSelector;
var w=qx.theme.manager.Appearance.getInstance();
var s=qx.core.Property.$$method.setThemed;
var A=qx.core.Property.$$method.resetThemed;
if(this.__updateSelector){delete this.__updateSelector;
if(u){var r=w.styleFrom(u,v,null,this.getAppearance());
if(r){u=null;
}}}if(!u){var t=this;
var z=[];

do{z.push(t.$$subcontrol||t.getAppearance());
}while(t=t.$$subparent);
u=this.__appearanceSelector=z.reverse().join(cG).replace(/#[0-9]+/g,cV);
}var x=w.styleFrom(u,v,null,this.getAppearance());

if(x){var y;

if(r){for(var y in r){if(x[y]===undefined){this[A[y]]();
}}}{};
for(var y in x){x[y]===undefined?this[A[y]]():this[s[y]](x[y]);
}}else if(r){for(var y in r){this[A[y]]();
}}this.fireDataEvent(cg,this.__states);
},_applyAppearance:function(fQ,fR){this.updateAppearance();
},checkAppearanceNeeds:function(){if(!this.__initialAppearanceApplied){qx.ui.core.queue.Appearance.add(this);
this.__initialAppearanceApplied=true;
}else if(this.$$stateChanges){qx.ui.core.queue.Appearance.add(this);
delete this.$$stateChanges;
}},updateAppearance:function(){this.__updateSelector=true;
qx.ui.core.queue.Appearance.add(this);
var eK=this.__childControls;

if(eK){var eI;

for(var eJ in eK){eI=eK[eJ];

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

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

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

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

if(!fr||!fr.getEnabled()){return null;
}}return fr;
},getFocusElement:function(){return this.__containerElement;
},isTabable:function(){return this.getContainerElement().getDomElement()&&this.isFocusable();
},_applyFocusable:function(eE,eF){var eG=this.getFocusElement();
if(eE){var eH=this.getTabIndex();

if(eH==null){eH=1;
}eG.setAttribute(cL,eH);
if(qx.core.Variant.isSet(dD,dE)){eG.setAttribute(bL,cz);
}else{eG.setStyle(bK,bO);
}}else{if(eG.isNativelyFocusable()){eG.setAttribute(cL,-1);
}else if(eF){eG.setAttribute(cL,null);
}}},_applyKeepFocus:function(bt){var bu=this.getFocusElement();
bu.setAttribute(dd,bt?dt:null);
},_applyKeepActive:function(eU){var eV=this.getContainerElement();
eV.setAttribute(cY,eU?dt:null);
},_applyTabIndex:function(ei){if(ei==null){ei=1;
}else if(ei<1||ei>32000){throw new Error("TabIndex property must be between 1 and 32000");
}
if(this.getFocusable()&&ei!=null){this.getFocusElement().setAttribute(cL,ei);
}},_applySelectable:function(em){this._applyCursor(this.getCursor());
this.__containerElement.setSelectable(em);
this.__contentElement.setSelectable(em);
},_applyEnabled:function(fC,fD){if(fC===false){this.addState(dJ);
this.removeState(dF);
if(this.isFocusable()){this.removeState(dG);
this._applyFocusable(false,true);
}}else{this.removeState(dJ);
if(this.isFocusable()){this._applyFocusable(true,false);
}}},_applyNativeContextMenu:function(bv,bw,name){},_applyContextMenu:function(eg,eh){if(eh){eh.removeState(cK);

if(eh.getOpener()==this){eh.resetOpener();
}
if(!eg){this.removeListener(cK,this._onContextMenuOpen);
eh.removeListener(dH,this._onBeforeContextMenuOpen,this);
}}
if(eg){eg.setOpener(this);
eg.addState(cK);

if(!eh){this.addListener(cK,this._onContextMenuOpen);
eg.addListener(dH,this._onBeforeContextMenuOpen,this);
}}},_onContextMenuOpen:function(e){this.getContextMenu().openAtMouse(e);
e.stop();
},_onBeforeContextMenuOpen:function(e){if(e.getData()==dv&&this.hasListener(bF)){this.fireDataEvent(bF,e);
}},_onStopEvent:function(e){e.stopPropagation();
},_applyDraggable:function(hn,ho){qx.ui.core.DragDropCursor.getInstance();
if(hn){this.addListener(dh,this._onDragStart);
this.addListener(dA,this._onDrag);
this.addListener(dl,this._onDragEnd);
this.addListener(dj,this._onDragChange);
}else{this.removeListener(dh,this._onDragStart);
this.removeListener(dA,this._onDrag);
this.removeListener(dl,this._onDragEnd);
this.removeListener(dj,this._onDragChange);
}this.__containerElement.setAttribute(cj,hn?dt:null);
},_applyDroppable:function(gp,gq){this.__containerElement.setAttribute(cb,gp?dt:null);
},_onDragStart:function(e){qx.ui.core.DragDropCursor.getInstance().placeToMouse(e);
this.getApplicationRoot().setGlobalCursor(bA);
},_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 gH=qx.ui.core.DragDropCursor.getInstance();
var gI=e.getCurrentAction();
gI?gH.setAction(gI):gH.resetAction();
},visualizeFocus:function(){this.addState(dG);
},visualizeBlur:function(){this.removeState(dG);
},scrollChildIntoView:function(bj,bk,bl,bm){this.scrollChildIntoViewX(bj,bk,bm);
this.scrollChildIntoViewY(bj,bl,bm);
},scrollChildIntoViewX:function(bp,bq,br){this.__contentElement.scrollChildIntoViewX(bp.getContainerElement(),bq,br);
},scrollChildIntoViewY:function(gm,gn,go){this.__contentElement.scrollChildIntoViewY(gm.getContainerElement(),gn,go);
},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.__containerElement.activate();
},deactivate:function(){this.__containerElement.deactivate();
},tabFocus:function(){this.getFocusElement().focus();
},hasChildControl:function(bs){if(!this.__childControls){return false;
}return !!this.__childControls[bs];
},__childControls:null,_getCreatedChildControls:function(){return this.__childControls;
},getChildControl:function(eR,eS){if(!this.__childControls){if(eS){return null;
}this.__childControls={};
}var eT=this.__childControls[eR];

if(eT){return eT;
}
if(eS===true){return null;
}return this._createChildControl(eR);
},_showChildControl:function(I){var J=this.getChildControl(I);
J.show();
return J;
},_excludeChildControl:function(bx){var by=this.getChildControl(bx,true);

if(by){by.exclude();
}},_isChildControlVisible:function(ee){var ef=this.getChildControl(ee,true);

if(ef){return ef.isVisible();
}return false;
},_createChildControl:function(eM){if(!this.__childControls){this.__childControls={};
}else if(this.__childControls[eM]){throw new Error("Child control '"+eM+"' already created!");
}var eQ=eM.indexOf(ck);

if(eQ==-1){var eN=this._createChildControlImpl(eM);
}else{var eN=this._createChildControlImpl(eM.substring(0,eQ));
}
if(!eN){throw new Error("Unsupported control: "+eM);
}eN.$$subcontrol=eM;
eN.$$subparent=this;
var eO=this.__states;
var forward=this._forwardStates;

if(eO&&forward&&eN instanceof qx.ui.core.Widget){for(var eP in eO){if(forward[eP]){eN.addState(eP);
}}}this.fireDataEvent(dL,eN);
return this.__childControls[eM]=eN;
},_createChildControlImpl:function(en){return null;
},_disposeChildControls:function(){var ea=this.__childControls;

if(!ea){return;
}var dX=qx.ui.core.Widget;

for(var dY in ea){var dW=ea[dY];

if(!dX.contains(this,dW)){dW.destroy();
}else{dW.dispose();
}}delete this.__childControls;
},_findTopControl:function(){var hp=this;

while(hp){if(!hp.$$subparent){return hp;
}hp=hp.$$subparent;
}return null;
},getContainerLocation:function(gr){var gs=this.getContainerElement().getDomElement();
return gs?qx.bom.element.Location.get(gs,gr):null;
},getContentLocation:function(eC){var eD=this.getContentElement().getDomElement();
return eD?qx.bom.element.Location.get(eD,eC):null;
},setDomLeft:function(dU){var dV=this.getContainerElement().getDomElement();

if(dV){dV.style.left=dU+dz;
}else{throw new Error("DOM element is not yet created!");
}},setDomTop:function(g){var h=this.getContainerElement().getDomElement();

if(h){h.style.top=g+dz;
}else{throw new Error("DOM element is not yet created!");
}},setDomPosition:function(eb,top){var ec=this.getContainerElement().getDomElement();

if(ec){ec.style.left=eb+dz;
ec.style.top=top+dz;
}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 fT=arguments.callee.base.call(this);

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

for(var i=0,l=fU.length;i<l;i++){fT.add(fU[i].clone());
}}return fT;
},serialize:function(){var eX=arguments.callee.base.call(this);

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

if(eY.length>0){eX.children=[];

for(var i=0,l=eY.length;i<l;i++){eX.children.push(eY[i].serialize());
}}}
if(this.getLayout){var eW=this.getLayout();

if(eW){eX.layout=eW.serialize();
}}return eX;
}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){if(qx.core.Variant.isSet(dk,dt)){if(this.__toolTipTextListenerId){qx.locale.Manager.getInstance().removeListenerById(this.__toolTipTextListenerId);
}}this.__containerElement.setAttribute(df,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);
}this._disposeArray(cl);
this._disposeArray(cd);
this._disposeFields(cp,cr);
this._disposeObjects(ce,cm,cH,cx,cB,bN);
}});
})();
(function(){var f="qx.event.type.Data",e="qx.ui.container.Composite",d="addChildWidget",c="removeChildWidget";
qx.Class.define(e,{extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MLayoutHandling],construct:function(i){arguments.callee.base.call(this);

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

while(c&&!c.isRootWidget()){e=c.getBounds();
g+=e.left;
top+=e.top;
f=c.getInsets();
g+=f.left;
top+=f.top;
c=c.getLayoutParent();
}if(c.isRootWidget()){var d=c.getContainerLocation();

if(d){g+=d.left;
top+=d.top;
}}return {left:g,top:top,right:g+h.width,bottom:top+h.height};
},moveTo:function(V,top){if(this.getDomMove()){this.setDomPosition(V,top);
}else{this.setLayoutProperties({left:V,top:top});
}},placeToWidget:function(S,T){if(T){this.__updater=qx.lang.Function.bind(this.placeToWidget,this,S,false);
qx.event.Idle.getInstance().addListener(u,this.__updater);
this.addListener(m,function(){if(this.__updater){qx.event.Idle.getInstance().removeListener(u,this.__updater);
this.__updater=null;
}},this);
}var U=S.getContainerLocation()||this.getLayoutLocation(S);
this.__place(U);
},placeToMouse:function(event){var X=event.getDocumentLeft();
var top=event.getDocumentTop();
var W={left:X,top:top,right:X,bottom:top};
this.__place(W);
},placeToElement:function(O,P){var location=qx.bom.element.Location.get(O);
var Q={left:location.left,top:location.top,right:location.left+O.offsetWidth,bottom:location.top+O.offsetHeight};
if(P){this.__updater=qx.lang.Function.bind(this.placeToElement,this,O,false);
qx.event.Idle.getInstance().addListener(u,this.__updater);
this.addListener(m,function(){if(this.__updater){qx.event.Idle.getInstance().removeListener(u,this.__updater);
this.__updater=null;
}},this);
}this.__place(Q);
},placeToPoint:function(a){var b={left:a.left,top:a.top,right:a.left,bottom:a.top};
this.__place(b);
},_getPlacementOffsets:function(){return {left:this.getOffsetLeft(),top:this.getOffsetTop(),right:this.getOffsetRight(),bottom:this.getOffsetBottom()};
},__getPlacementSize:function(M){var N=null;

if(this._computePlacementSize){var N=this._computePlacementSize();
}else if(this.isVisible()){var N=this.getBounds();
}
if(N==null){this.addListenerOnce(C,function(){this.__getPlacementSize(M);
},this);
}else{M.call(this,N);
}},__place:function(R){this.__getPlacementSize(function(K){var L=qx.util.placement.Placement.compute(K,this.getLayoutParent().getBounds(),R,this._getPlacementOffsets(),this.getPosition(),this.getPlacementModeX(),this.getPlacementModeY());
this.moveTo(L.left,L.top);
});
}},destruct:function(){if(this.__updater){qx.event.Idle.getInstance().removeListener(u,this.__updater);
}}});
})();
(function(){var f="qx.ui.popup.Popup",e="visible",d="excluded",c="popup",b="Boolean";
qx.Class.define(f,{extend:qx.ui.container.Composite,include:qx.ui.core.MPlacement,construct:function(a){arguments.callee.base.call(this,a);
qx.core.Init.getApplication().getRoot().add(this);
this.initVisibility();
},properties:{appearance:{refine:true,init:c},visibility:{refine:true,init:d},autoHide:{check:b,init:true}},members:{_applyVisibility:function(g,h){arguments.callee.base.call(this,g,h);
var i=qx.ui.popup.Manager.getInstance();
g===e?i.add(this):i.remove(this);
}},destruct:function(){qx.ui.popup.Manager.getInstance().remove(this);
}});
})();
(function(){var l="atom",k="Integer",j="String",i="_applyRich",h="qx.ui.tooltip.ToolTip",g="_applyIcon",f="tooltip",e="qx.ui.core.Widget",d="Boolean",c="_applyLabel";
qx.Class.define(h,{extend:qx.ui.popup.Popup,construct:function(p,q){arguments.callee.base.call(this);
this.setLayout(new qx.ui.layout.Grow);
this._createChildControl(l);
if(p!=null){this.setLabel(p);
}
if(q!=null){this.setIcon(q);
}},properties:{appearance:{refine:true,init:f},showTimeout:{check:k,init:700,themeable:true},hideTimeout:{check:k,init:4000,themeable:true},label:{check:j,nullable:true,apply:c},icon:{check:j,nullable:true,apply:g,themeable:true},rich:{check:d,init:false,apply:i},opener:{check:e,nullable:true}},members:{_createChildControlImpl:function(a){var b;

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

while(d&&d!==parent){e[d.$$hash]=f--;
d=d.$$parent;
}return g;
},__getLevelGroupedWidgets:function(){var n=qx.ui.core.queue.Visibility;
this.__nesting={};
var m=[];
var l=this.__queue;
var h,k;

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

if(n.isVisible(h)){k=this.getNestingLevel(h);
if(!m[k]){m[k]={};
}m[k][j]=h;
delete l[j];
}}return m;
},__getSortedQueue:function(){var w=[];
var y=this.__getLevelGroupedWidgets();

for(var v=y.length-1;v>=0;v--){if(!y[v]){continue;
}
for(var u in y[v]){var t=y[v][u];
if(v==0||t.isRootWidget()||t.hasUserBounds()){w.push(t);
t.invalidateLayoutCache();
continue;
}var A=t.getSizeHint(false);

if(A){t.invalidateLayoutCache();
var x=t.getSizeHint();
var z=(!t.getBounds()||A.minWidth!==x.minWidth||A.width!==x.width||A.maxWidth!==x.maxWidth||A.minHeight!==x.minHeight||A.height!==x.height||A.maxHeight!==x.maxHeight);
}else{z=true;
}
if(z){var parent=t.getLayoutParent();

if(!y[v-1]){y[v-1]={};
}y[v-1][parent.$$hash]=parent;
}else{w.push(t);
}}}return w;
}}});
})();
(function(){var d="__window",c="qx.event.handler.UserAction",b="__manager";
qx.Class.define(c,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(a){arguments.callee.base.call(this);
this.__manager=a;
this.__window=a.getWindow();
},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{useraction:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__manager:null,__window:null,canHandleEvent:function(k,l){},registerEvent:function(e,f,g){},unregisterEvent:function(h,i,j){}},destruct:function(){this._disposeFields(b,d);
},defer:function(m){qx.event.Registration.addHandler(m);
}});
})();
(function(){var d="__calls",c="qx.util.DeferredCallManager",b="__timeoutWrapper",a="singleton";
qx.Class.define(c,{extend:qx.core.Object,type:a,construct:function(){this.__calls={};
this.__timeoutWrapper=qx.lang.Function.bind(this.__timeout,this);
this.__hasCalls=false;
},members:{__timeoutId:null,__currentQueue:null,__calls:null,__hasCalls:null,__timeoutWrapper:null,schedule:function(e){if(this.__timeoutId==null){this.__timeoutId=window.setTimeout(this.__timeoutWrapper,0);
}var f=e.toHashCode();
if(this.__currentQueue&&this.__currentQueue[f]){return;
}this.__calls[f]=e;
this.__hasCalls=true;
},cancel:function(i){var j=i.toHashCode();
if(this.__currentQueue&&this.__currentQueue[j]){this.__currentQueue[j]=null;
return;
}delete this.__calls[j];
if(qx.lang.Object.isEmpty(this.__calls)&&this.__timeoutId!=null){window.clearTimeout(this.__timeoutId);
this.__timeoutId=null;
}},__timeout:qx.event.GlobalError.observeMethod(function(){this.__timeoutId=null;
while(this.__hasCalls){this.__currentQueue=qx.lang.Object.clone(this.__calls);
this.__calls={};
this.__hasCalls=false;

for(var h in this.__currentQueue){var g=this.__currentQueue[h];

if(g){this.__currentQueue[h]=null;
g.call();
}}}this.__currentQueue=null;
})},destruct:function(){if(this.__timeoutId!=null){window.clearTimeout(this.__timeoutId);
}this._disposeFields(b,d);
}});
})();
(function(){var d="qx.util.DeferredCall",c="__callback",b="__manager",a="__context";
qx.Class.define(d,{extend:qx.core.Object,construct:function(e,f){arguments.callee.base.call(this);
this.__callback=e;
this.__context=f||null;
this.__manager=qx.util.DeferredCallManager.getInstance();
},members:{__callback:null,__context:null,__manager:null,cancel:function(){this.__manager.cancel(this);
},schedule:function(){this.__manager.schedule(this);
},call:function(){this.__context?this.__callback.apply(this.__context):this.__callback();
}},destruct:function(g,h){this.cancel();
this._disposeFields(a,c,b);
}});
})();
(function(){var bG="element",bF="qx.client",bE="div",bD="",bC="mshtml",bB="none",bA="qx.html.Element",bz="|capture|",by="activate",bx="blur",cf="deactivate",ce="__attribJobs",cd="userSelect",cc="__propertyValues",cb="__styleJobs",ca="capture",bY="releaseCapture",bX="__attribValues",bW="__lazyScrollIntoViewX",bV="qxSelectable",bN="tabIndex",bO="off",bL="focus",bM="__element",bJ="normal",bK="__eventValues",bH="__propertyJobs",bI="webkit",bP="|bubble|",bQ="__children",bS="__lazyScrollIntoViewY",bR="on",bU="__styleValues",bT="__parent";
qx.Class.define(bA,{extend:qx.core.Object,construct:function(M){arguments.callee.base.call(this);
this.__nodeName=M||bE;
},statics:{DEBUG:false,_modified:{},_visibility:{},_scroll:{},_actions:[],__selection:{},_scheduleFlush:function(dd){qx.html.Element.__deferredCall.schedule();
},_mshtmlVisibilitySort:qx.core.Variant.select(bF,{"mshtml":function(a,b){var U=a.__element;
var T=b.__element;

if(U.contains(T)){return 1;
}
if(T.contains(U)){return -1;
}return 0;
},"default":null}),flush:function(){var cA;
{};
var ct=this.__getFocusHandler();
var cs=ct.getFocus();

if(cs&&this.__willBecomeInvisible(cs)){ct.blur(cs);
}var cI=ct.getActive();

if(cI&&this.__willBecomeInvisible(cI)){qx.bom.Element.deactivate(cI);
}var cG=this.__getCaptureElement();

if(cG&&this.__willBecomeInvisible(cG)){qx.bom.Element.releaseCapture(cG);
}var cB=[];
var cD=this._modified;

for(var cz in cD){cA=cD[cz];
if(cA.__willBeSeeable()){if(cA.__element&&qx.dom.Hierarchy.isRendered(cA.__element)){cB.push(cA);
}else{{};
cA.__flush();
}delete cD[cz];
}}
for(var i=0,l=cB.length;i<l;i++){cA=cB[i];
{};
cA.__flush();
}var cx=this._visibility;
if(qx.core.Variant.isSet(bF,bC)){var cC=[];

for(var cz in cx){cC.push(cx[cz]);
}if(cC.length>1){cC.sort(this._mshtmlVisibilitySort);
cx=this._visibility={};

for(var i=0;i<cC.length;i++){cA=cC[i];
cx[cA.$$hash]=cA;
}}}
for(var cz in cx){cA=cx[cz];
{};
cA.__element.style.display=cA.__visible?bD:bB;
delete cx[cz];
}var scroll=this._scroll;

for(var cz in scroll){cA=scroll[cz];
var cJ=cA.__element;

if(cJ&&cJ.offsetWidth){var cv=true;
if(cA.__lazyScrollX!=null){cA.__element.scrollLeft=cA.__lazyScrollX;
delete cA.__lazyScrollX;
}if(cA.__lazyScrollY!=null){cA.__element.scrollTop=cA.__lazyScrollY;
delete cA.__lazyScrollY;
}var cF=cA.__lazyScrollIntoViewX;

if(cF!=null){var cy=cF.element.getDomElement();

if(cy&&cy.offsetWidth){qx.bom.element.Scroll.intoViewX(cy,cJ,cF.align);
delete cA.__lazyScrollIntoViewX;
}else{cv=false;
}}var cw=cA.__lazyScrollIntoViewY;

if(cw!=null){var cy=cw.element.getDomElement();

if(cy&&cy.offsetWidth){qx.bom.element.Scroll.intoViewY(cy,cJ,cw.align);
delete cA.__lazyScrollIntoViewY;
}else{cv=false;
}}if(cv){delete scroll[cz];
}}}var cu={"releaseCapture":1,"blur":1,"deactivate":1};
for(var i=0;i<this._actions.length;i++){var cH=this._actions[i];
var cE=cH.element.__element;

if(!cE||!cu[cH.type]&&!cH.element.__willBeSeeable()){continue;
}qx.bom.Element[cH.type](cE);
}this._actions=[];
for(var cz in this.__selection){var cr=this.__selection[cz];
var cJ=cr.element.__element;

if(cJ){qx.bom.Selection.set(cJ,cr.start,cr.end);
delete this.__selection[cz];
}}qx.event.handler.Appear.refresh();
},__getFocusHandler:function(){if(!this.__focusHandler){var L=qx.event.Registration.getManager(window);
this.__focusHandler=L.getHandler(qx.event.handler.Focus);
}return this.__focusHandler;
},__getCaptureElement:function(){if(!this.__mouseCapture){var s=qx.event.Registration.getManager(window);
this.__mouseCapture=s.getDispatcher(qx.event.dispatch.MouseCapture);
}return this.__mouseCapture.getCaptureElement();
},__willBecomeInvisible:function(bv){var bw=qx.core.ObjectRegistry.fromHashCode(bv.$$element);
return bw&&!bw.__willBeSeeable();
}},members:{__nodeName:null,__element:null,__root:false,__included:true,__visible:true,__lazyScrollIntoViewX:null,__lazyScrollIntoViewY:null,__lazyScrollX:null,__lazyScrollY:null,__styleJobs:null,__attribJobs:null,__propertyJobs:null,__styleValues:null,__attribValues:null,__propertyValues:null,__eventValues:null,__children:null,__modifiedChildren:null,__parent:null,_scheduleChildrenUpdate:function(){if(this.__modifiedChildren){return;
}this.__modifiedChildren=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(bG);
},_createDomElement:function(){return qx.bom.Element.create(this.__nodeName);
},__flush:function(){{};
var dT=this.__children;

if(dT){var length=dT.length;
var dU;

for(var i=0;i<length;i++){dU=dT[i];

if(dU.__visible&&dU.__included&&!dU.__element){dU.__flush();
}}}
if(!this.__element){this.__element=this._createDomElement();
this.__element.$$element=this.$$hash;
this._copyData(false);

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

if(this.__modifiedChildren){this._syncChildren();
}}delete this.__modifiedChildren;
},_insertChildren:function(){var dN=this.__children;
var length=dN.length;
var dP;

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

for(var i=0;i<length;i++){dP=dN[i];

if(dP.__element&&dP.__included){dO.appendChild(dP.__element);
}}this.__element.appendChild(dO);
}else{var dO=this.__element;

for(var i=0;i<length;i++){dP=dN[i];

if(dP.__element&&dP.__included){dO.appendChild(dP.__element);
}}}},_syncChildren:function(){var dp;
var du=qx.core.ObjectRegistry;
var dk=this.__children;
var ds=dk.length;
var dl;
var dq;
var dn=this.__element;
var dr=dn.childNodes;
var dm=0;
var dt;
{};
for(var i=dr.length-1;i>=0;i--){dt=dr[i];
dq=du.fromHashCode(dt.$$element);

if(!dq||!dq.__included||dq.__parent!==this){dn.removeChild(dt);
{};
}}for(var i=0;i<ds;i++){dl=dk[i];
if(dl.__included){dq=dl.__element;
dt=dr[dm];

if(!dq){continue;
}if(dq!=dt){if(dt){dn.insertBefore(dq,dt);
}else{dn.appendChild(dq);
}{};
}dm++;
}}{};
},_copyData:function(dA){var dE=this.__element;
var dD=this.__attribValues;

if(dD){var dB=qx.bom.element.Attribute;

for(var dF in dD){dB.set(dE,dF,dD[dF]);
}}var dD=this.__styleValues;

if(dD){var dC=qx.bom.element.Style;

if(dA){for(var dF in dD){dC.set(dE,dF,dD[dF]);
}}else{dC.setCss(dE,dC.compile(dD));
}}var dD=this.__propertyValues;

if(dD){for(var dF in dD){this._applyProperty(dF,dD[dF]);
}}var dD=this.__eventValues;

if(dD){qx.event.Registration.getManager(dE).importListeners(dE,dD);
delete this.__eventValues;
}},_syncData:function(){var cX=this.__element;
var cW=qx.bom.element.Attribute;
var cU=qx.bom.element.Style;
var cV=this.__attribJobs;

if(cV){var dc=this.__attribValues;

if(dc){var cY;

for(var da in cV){cY=dc[da];

if(cY!==undefined){cW.set(cX,da,cY);
}else{cW.reset(cX,da);
}}}this.__attribJobs=null;
}var cV=this.__styleJobs;

if(cV){var dc=this.__styleValues;

if(dc){var cY;

for(var da in cV){cY=dc[da];

if(cY!==undefined){cU.set(cX,da,cY);
}else{cU.reset(cX,da);
}}}this.__styleJobs=null;
}var cV=this.__propertyJobs;

if(cV){var dc=this.__propertyValues;

if(dc){var cY;

for(var da in cV){this._applyProperty(da,dc[da]);
}}this.__propertyJobs=null;
}},__willBeSeeable:function(){var ba=this;
while(ba){if(ba.__root){return true;
}
if(!ba.__included||!ba.__visible){return false;
}ba=ba.__parent;
}return false;
},__addChildHelper:function(I){if(I.__parent===this){throw new Error("Child is already in: "+I);
}
if(I.__root){throw new Error("Root elements could not be inserted into other ones.");
}if(I.__parent){I.__parent.remove(I);
}I.__parent=this;
if(!this.__children){this.__children=[];
}if(this.__element){this._scheduleChildrenUpdate();
}},__removeChildHelper:function(bo){if(bo.__parent!==this){throw new Error("Has no child: "+bo);
}if(this.__element){this._scheduleChildrenUpdate();
}delete bo.__parent;
},__moveChildHelper:function(N){if(N.__parent!==this){throw new Error("Has no child: "+N);
}if(this.__element){this._scheduleChildrenUpdate();
}},getChildren:function(){return this.__children||null;
},getChild:function(C){var D=this.__children;
return D&&D[C]||null;
},hasChildren:function(){var cN=this.__children;
return cN&&cN[0]!==undefined;
},indexOf:function(di){var dj=this.__children;
return dj?dj.indexOf(di):-1;
},hasChild:function(cK){var cL=this.__children;
return cL&&cL.indexOf(cK)!==-1;
},add:function(cm){if(arguments[1]){for(var i=0,l=arguments.length;i<l;i++){this.__addChildHelper(arguments[i]);
}this.__children.push.apply(this.__children,arguments);
}else{this.__addChildHelper(cm);
this.__children.push(cm);
}return this;
},addAt:function(dg,dh){this.__addChildHelper(dg);
qx.lang.Array.insertAt(this.__children,dg,dh);
return this;
},remove:function(c){var d=this.__children;

if(!d){return;
}
if(arguments[1]){var e;

for(var i=0,l=arguments.length;i<l;i++){e=arguments[i];
this.__removeChildHelper(e);
qx.lang.Array.remove(d,e);
}}else{this.__removeChildHelper(c);
qx.lang.Array.remove(d,c);
}return this;
},removeAt:function(V){var W=this.__children;

if(!W){throw new Error("Has no children!");
}var X=W[V];

if(!X){throw new Error("Has no child at this position!");
}this.__removeChildHelper(X);
qx.lang.Array.removeAt(this.__children,V);
return this;
},removeAll:function(){var dQ=this.__children;

if(dQ){for(var i=0,l=dQ.length;i<l;i++){this.__removeChildHelper(dQ[i]);
}dQ.length=0;
}return this;
},getParent:function(){return this.__parent||null;
},insertInto:function(parent,cM){parent.__addChildHelper(this);

if(cM==null){parent.__children.push(this);
}else{qx.lang.Array.insertAt(this.__children,this,cM);
}return this;
},insertBefore:function(H){var parent=H.__parent;
parent.__addChildHelper(this);
qx.lang.Array.insertBefore(parent.__children,this,H);
return this;
},insertAfter:function(R){var parent=R.__parent;
parent.__addChildHelper(this);
qx.lang.Array.insertAfter(parent.__children,this,R);
return this;
},moveTo:function(cn){var parent=this.__parent;
parent.__moveChildHelper(this);
var co=parent.__children.indexOf(this);

if(co===cn){throw new Error("Could not move to same index!");
}else if(co<cn){cn--;
}qx.lang.Array.removeAt(parent.__children,co);
qx.lang.Array.insertAt(parent.__children,this,cn);
return this;
},moveBefore:function(dv){var parent=this.__parent;
return this.moveTo(parent.__children.indexOf(dv));
},moveAfter:function(dS){var parent=this.__parent;
return this.moveTo(parent.__children.indexOf(dS)+1);
},free:function(){var parent=this.__parent;

if(!parent){throw new Error("Has no parent to remove from.");
}
if(!parent.__children){return;
}parent.__removeChildHelper(this);
qx.lang.Array.remove(parent.__children,this);
return this;
},getDomElement:function(){return this.__element||null;
},getNodeName:function(){return this.__nodeName;
},setNodeName:function(name){this.__nodeName=name;
},setRoot:function(J){this.__root=J;
},useMarkup:function(F){if(this.__element){throw new Error("Could not overwrite existing element!");
}if(qx.core.Variant.isSet(bF,bC)){var G=document.createElement(bE);
}else{var G=qx.html.Element.__markupHelper;

if(!G){G=qx.html.Element.__markupHelper=document.createElement(bE);
}}G.innerHTML=F;
this.__element=G.firstChild;
this.__element.$$element=this.$$hash;
this._copyData(true);
return this.__element;
},useElement:function(dz){if(this.__element){throw new Error("Could not overwrite existing element!");
}this.__element=dz;
this.__element.$$element=this.$$hash;
this._copyData(true);
},isFocusable:function(){var cq=this.getAttribute(bN);

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

if(cq>=0&&cp[this.__nodeName]){return true;
}return false;
},setSelectable:function(bb){this.setAttribute(bV,bb?bR:bO);
if(qx.core.Variant.isSet(bF,bI)){this.setStyle(cd,bb?bJ:bB);
}},isNativelyFocusable:function(){return !!qx.event.handler.Focus.FOCUSABLE_ELEMENTS[this.__nodeName];
},include:function(){if(this.__included){return;
}delete this.__included;

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

if(this.__parent){this.__parent._scheduleChildrenUpdate();
}return this;
},isIncluded:function(){return this.__included===true;
},show:function(){if(this.__visible){return;
}
if(this.__element){qx.html.Element._visibility[this.$$hash]=this;
qx.html.Element._scheduleFlush(bG);
}if(this.__parent){this.__parent._scheduleChildrenUpdate();
}delete this.__visible;
},hide:function(){if(!this.__visible){return;
}
if(this.__element){qx.html.Element._visibility[this.$$hash]=this;
qx.html.Element._scheduleFlush(bG);
}this.__visible=false;
},isVisible:function(){return this.__visible===true;
},scrollChildIntoViewX:function(dV,dW,dX){var dY=this.__element;
var ea=dV.getDomElement();

if(dX!==false&&dY&&dY.offsetWidth&&ea&&ea.offsetWidth){qx.bom.element.Scroll.intoViewX(ea,dY,dW);
}else{this.__lazyScrollIntoViewX={element:dV,align:dW};
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(bG);
}delete this.__lazyScrollX;
},scrollChildIntoViewY:function(f,g,h){var j=this.__element;
var k=f.getDomElement();

if(h!==false&&j&&j.offsetWidth&&k&&k.offsetWidth){qx.bom.element.Scroll.intoViewY(k,j,g);
}else{this.__lazyScrollIntoViewY={element:f,align:g};
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(bG);
}delete this.__lazyScrollY;
},scrollToX:function(x,dG){var dH=this.__element;

if(dG!==true&&dH&&dH.offsetWidth){dH.scrollLeft=x;
}else{this.__lazyScrollX=x;
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(bG);
}delete this.__lazyScrollIntoViewX;
},getScrollX:function(){var r=this.__element;

if(r){return r.scrollLeft;
}return this.__lazyScrollX||0;
},scrollToY:function(y,de){var df=this.__element;

if(de!==true&&df&&df.offsetWidth){df.scrollTop=y;
}else{this.__lazyScrollY=y;
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(bG);
}delete this.__lazyScrollIntoViewY;
},getScrollY:function(){var E=this.__element;

if(E){return E.scrollTop;
}return this.__lazyScrollY||0;
},getTextSelection:function(){var Y=this.__element;

if(Y){return qx.bom.Selection.get(Y);
}return null;
},getTextSelectionLength:function(){var S=this.__element;

if(S){return qx.bom.Selection.getLength(S);
}return null;
},setTextSelection:function(bp,bq){var br=this.__element;

if(br){qx.bom.Selection.set(br,bp,bq);
return;
}qx.html.Element.__selection[this.toHashCode()]={element:this,start:bp,end:bq};
qx.html.Element._scheduleFlush(bG);
},clearTextSelection:function(){var dR=this.__element;

if(dR){qx.bom.Selection.clear(dR);
}delete qx.html.Element.__selection[this.toHashCode()];
},__performAction:function(cR){var cS=qx.html.Element._actions;
cS.push({type:cR,element:this});
qx.html.Element._scheduleFlush(bG);
},focus:function(){this.__performAction(bL);
},blur:function(){this.__performAction(bx);
},activate:function(){this.__performAction(by);
},deactivate:function(){this.__performAction(cf);
},capture:function(){this.__performAction(ca);
},releaseCapture:function(){this.__performAction(bY);
},setStyle:function(o,p,q){if(!this.__styleValues){this.__styleValues={};
}
if(this.__styleValues[o]==p){return;
}
if(p==null){delete this.__styleValues[o];
}else{this.__styleValues[o]=p;
}if(this.__element){if(q){qx.bom.element.Style.set(this.__element,o,p);
return this;
}if(!this.__styleJobs){this.__styleJobs={};
}this.__styleJobs[o]=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(bG);
}return this;
},setStyles:function(cj,ck){for(var cl in cj){this.setStyle(cl,cj[cl],ck);
}return this;
},removeStyle:function(m,n){this.setStyle(m,null,n);
},getStyle:function(cQ){return this.__styleValues?this.__styleValues[cQ]:null;
},getAllStyles:function(){return this.__styleValues||null;
},setAttribute:function(bs,bt,bu){if(!this.__attribValues){this.__attribValues={};
}
if(this.__attribValues[bs]==bt){return;
}
if(bt==null){delete this.__attribValues[bs];
}else{this.__attribValues[bs]=bt;
}if(this.__element){if(bu){qx.bom.element.Attribute.set(this.__element,bs,bt);
return this;
}if(!this.__attribJobs){this.__attribJobs={};
}this.__attribJobs[bs]=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(bG);
}return this;
},setAttributes:function(dw,dx){for(var dy in dw){this.setAttribute(dy,dw[dy],dx);
}return this;
},removeAttribute:function(cg,ch){this.setAttribute(cg,null,ch);
},getAttribute:function(ci){return this.__attribValues?this.__attribValues[ci]:null;
},_applyProperty:function(name,bi){},_setProperty:function(O,P,Q){if(!this.__propertyValues){this.__propertyValues={};
}
if(this.__propertyValues[O]==P){return;
}
if(P==null){delete this.__propertyValues[O];
}else{this.__propertyValues[O]=P;
}if(this.__element){if(Q){this._applyProperty(O,P);
return this;
}if(!this.__propertyJobs){this.__propertyJobs={};
}this.__propertyJobs[O]=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(bG);
}return this;
},_removeProperty:function(cO,cP){this._setProperty(cO,null,cP);
},_getProperty:function(bj){var bk=this.__propertyValues;

if(!bk){return null;
}var bm=bk[bj];
return bm==null?null:bm;
},addListener:function(bc,bd,self,be){var bf;

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

if(this.__element){return qx.event.Registration.addListener(this.__element,bc,bd,self,be);
}
if(!this.__eventValues){this.__eventValues={};
}
if(be==null){be=false;
}var bg=qx.event.Manager.getNextUniqueId();
var bh=bc+(be?bz:bP)+bg;
this.__eventValues[bh]={type:bc,listener:bd,self:self,capture:be,unique:bg};
return bh;
},removeListener:function(t,u,self,v){var w;

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

if(this.__element){qx.event.Registration.removeListener(this.__element,t,u,self,v);
}else{var A=this.__eventValues;
var z;

if(v==null){v=false;
}
for(var B in A){z=A[B];
if(z.listener===u&&z.self===self&&z.capture===v&&z.type===t){delete A[B];
break;
}}}return this;
},removeListenerById:function(K){if(this.$$disposed){return null;
}
if(this.__element){qx.event.Registration.removeListenerById(this.__element,K);
}else{delete this.__eventValues[K];
}return this;
},hasListener:function(dI,dJ){if(this.$$disposed){return false;
}
if(this.__element){return qx.event.Registration.hasListener(this.__element,dI,dJ);
}var dL=this.__eventValues;
var dK;

if(dJ==null){dJ=false;
}
for(var dM in dL){dK=dL[dM];
if(dK.capture===dJ&&dK.type===dI){return true;
}}return false;
}},defer:function(cT){cT.__deferredCall=new qx.util.DeferredCall(cT.flush,cT);
},destruct:function(){var bn=this.__element;

if(bn){qx.event.Registration.getManager(bn).removeAllListeners(bn);
bn.$$element=bD;
}
if(!qx.core.ObjectRegistry.inShutDown){var parent=this.__parent;

if(parent&&!parent.$$disposed){parent.remove(this);
}}this._disposeArray(bQ);
this._disposeFields(bX,bU,bK,cc,ce,cb,bH,bM,bT,bW,bS);
}});
})();
(function(){var c="qx.ui.core.queue.Manager",b="useraction";
qx.Class.define(c,{statics:{__scheduled:false,__jobs:{},__retries:0,MAX_RETRIES:10,scheduleFlush:function(a){var self=qx.ui.core.queue.Manager;
self.__jobs[a]=true;

if(!self.__scheduled){self.__deferredCall.schedule();
self.__scheduled=true;
}},flush:function(){var self=qx.ui.core.queue.Manager;
if(self.__inFlush){return;
}self.__inFlush=true;
self.__deferredCall.cancel();
var d=self.__jobs;
self.__executeAndRescheduleOnError(function(){while(d.visibility||d.widget||d.appearance||d.layout||d.element){if(d.widget){delete d.widget;
qx.ui.core.queue.Widget.flush();
}
if(d.visibility){delete d.visibility;
qx.ui.core.queue.Visibility.flush();
}
if(d.appearance){delete d.appearance;
qx.ui.core.queue.Appearance.flush();
}if(d.widget||d.visibility||d.appearance){continue;
}
if(d.layout){delete d.layout;
qx.ui.core.queue.Layout.flush();
}if(d.widget||d.visibility||d.appearance||d.layout){continue;
}
if(d.element){delete d.element;
qx.html.Element.flush();
}}},function(){self.__scheduled=false;
});
self.__executeAndRescheduleOnError(function(){if(d.dispose){delete d.dispose;
qx.ui.core.queue.Dispose.flush();
}},function(){self.__inFlush=false;
});
self.__retries=0;
},__executeAndRescheduleOnError:function(f,g){var self=qx.ui.core.queue.Manager;

try{f();
}catch(e){self.__scheduled=false;
self.__inFlush=false;
self.__retries+=1;

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

if(h){p.push(h);
}
if(q){p.push(q);
}var parent=this._getParent(a);
var d=[];
var c=[];
var e=[];
var k=[];
while(parent!=null){h=m.getListeners(parent,b,true);

if(h){e.push(h);
k.push(parent);
}q=m.getListeners(parent,b,false);

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

for(var i=e.length-1;i>=0;i--){n=k[i];
event.setCurrentTarget(n);
f=e[i];

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

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

for(var j=0,g=f.length;j<g;j++){l=f[j];
o=l.context||a;
l.handler.call(o,event);
}
if(event.getPropagationStopped()){return;
}}event.setEventPhase(qx.event.type.Event.BUBBLING_PHASE);

for(var i=0,r=d.length;i<r;i++){n=c[i];
event.setCurrentTarget(n);
f=d[i];

for(var j=0,g=f.length;j<g;j++){l=f[j];
o=l.context||n;
l.handler.call(o,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(e){return e.parentNode;
},canDispatchEvent:function(b,event,c){return b.nodeType!==undefined&&event.getBubbles();
}},defer:function(d){qx.event.Registration.addDispatcher(d);
}});
})();
(function(){var bC="keydown",bB="keypress",bA="qx.client",bz="NumLock",by="keyup",bx="Enter",bw="0",bv="9",bu="-",bt="PageUp",cN="+",cM="PrintScreen",cL="gecko",cK="A",cJ="Z",cI="Left",cH="F5",cG="Down",cF="Up",cE="F11",bJ="F6",bK="useraction",bH="F3",bI="keyinput",bF="Insert",bG="F8",bD="End",bE="/",bR="Delete",bS="*",ch="F1",cd="F4",cp="Home",ck="F2",cA="F12",cu="PageDown",bX="F7",cD="F9",cC="F10",cB="Right",bV="text",ca="Escape",cc="webkit",cf="5",ci="3",cl="Meta",cr="7",cw="CapsLock",bL="input",bM="Control",bY="Space",co="Tab",cn="Shift",cm="Pause",ct="__root",cs="Unidentified",cj="qx.event.handler.Keyboard",cq="mshtml",bq="__window",cv="mshtml|webkit",bN="6",bO="off",ce="Apps",br="4",bs="Alt",bU="2",bP="Scroll",bQ="1",bT="8",cg="Win",cy="__manager",cx="__lastUpDownType",cb="autoComplete",cz=",",bW="Backspace";
qx.Class.define(cj,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(bk){arguments.callee.base.call(this);
this.__manager=bk;
this.__window=bk.getWindow();
if(qx.core.Variant.isSet(bA,cL)){this.__root=this.__window;
}else{this.__root=this.__window.document.documentElement;
}this.__lastUpDownType={};
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(R){if(this._identifierToKeyCodeMap[R]){return true;
}
if(R.length!=1){return false;
}
if(R>=bw&&R<=bv){return true;
}
if(R>=cK&&R<=cJ){return true;
}
switch(R){case cN:case bu:case bS:case bE:return true;
default:return false;
}}},members:{__onKeyUpDownWrapper:null,__manager:null,__window:null,__root:null,__lastUpDownType:null,__inputListeners:null,__onKeyPressWrapper:null,canHandleEvent:function(F,G){},registerEvent:function(X,Y,ba){},unregisterEvent:function(bl,bm,bn){},_fireInputEvent:function(N,O){var P=this.__manager.getHandler(qx.event.handler.Focus);
var Q=P.getActive();
if(!Q||Q.offsetWidth==0){Q=P.getFocus();
}if(Q&&Q.offsetWidth!=0){var event=qx.event.Registration.createEvent(bI,qx.event.type.KeyInput,[N,Q,O]);
this.__manager.dispatchEvent(Q,event);
}if(this.__window){qx.event.Registration.fireEvent(this.__window,bK,qx.event.type.Data,[bI]);
}},_fireSequenceEvent:function(H,I,J){var K=this.__manager.getHandler(qx.event.handler.Focus);
var M=K.getActive();
if(!M||M.offsetWidth==0){M=K.getFocus();
}if(!M||M.offsetWidth==0){M=this.__manager.getWindow().document.body;
}var event=qx.event.Registration.createEvent(I,qx.event.type.KeySequence,[H,M,J]);
this.__manager.dispatchEvent(M,event);
if(qx.core.Variant.isSet(bA,cv)){if(I==bC&&event.getDefaultPrevented()){var L=H.keyCode;

if(!(this._isNonPrintableKeyCode(L)||L==8||L==9)){this._fireSequenceEvent(H,bB,J);
}}}if(this.__window){qx.event.Registration.fireEvent(this.__window,bK,qx.event.type.Data,[I]);
}},_initKeyObserver:function(){this.__onKeyUpDownWrapper=qx.lang.Function.listener(this.__onKeyUpDown,this);
this.__onKeyPressWrapper=qx.lang.Function.listener(this.__onKeyPress,this);
var Event=qx.bom.Event;
Event.addNativeListener(this.__root,by,this.__onKeyUpDownWrapper);
Event.addNativeListener(this.__root,bC,this.__onKeyUpDownWrapper);
Event.addNativeListener(this.__root,bB,this.__onKeyPressWrapper);
},_stopKeyObserver:function(){var Event=qx.bom.Event;
Event.removeNativeListener(this.__root,by,this.__onKeyUpDownWrapper);
Event.removeNativeListener(this.__root,bC,this.__onKeyUpDownWrapper);
Event.removeNativeListener(this.__root,bB,this.__onKeyPressWrapper);

for(var bc in (this.__inputListeners||{})){var bb=this.__inputListeners[bc];
Event.removeNativeListener(bb.target,bB,bb.callback);
}delete (this.__inputListeners);
},__onKeyUpDown:qx.event.GlobalError.observeMethod(qx.core.Variant.select(bA,{"mshtml":function(i){i=window.event||i;
var l=i.keyCode;
var j=0;
var k=i.type;
if(!(this.__lastUpDownType[l]==bC&&k==bC)){this._idealKeyHandler(l,j,k,i);
}if(k==bC){if(this._isNonPrintableKeyCode(l)||l==8||l==9){this._idealKeyHandler(l,j,bB,i);
}}this.__lastUpDownType[l]=k;
},"gecko":function(S){var W=this._keyCodeFix[S.keyCode]||S.keyCode;
var U=0;
var V=S.type;
if(qx.bom.client.Platform.WIN){var T=W?this._keyCodeToIdentifier(W):this._charCodeToIdentifier(U);

if(!(this.__lastUpDownType[T]==bC&&V==bC)){this._idealKeyHandler(W,U,V,S);
}this.__lastUpDownType[T]=V;
}else{this._idealKeyHandler(W,U,V,S);
}this.__firefoxInputFix(S.target,V,W);
},"webkit":function(e){var h=0;
var f=0;
var g=e.type;
if(qx.bom.client.Engine.VERSION<525.13){if(g==by||g==bC){h=this._charCode2KeyCode[e.charCode]||e.keyCode;
}else{if(this._charCode2KeyCode[e.charCode]){h=this._charCode2KeyCode[e.charCode];
}else{f=e.charCode;
}}this._idealKeyHandler(h,f,g,e);
}else{h=e.keyCode;
if(!(this.__lastUpDownType[h]==bC&&g==bC)){this._idealKeyHandler(h,f,g,e);
}if(g==bC){if(this._isNonPrintableKeyCode(h)||h==8||h==9){this._idealKeyHandler(h,f,bB,e);
}}this.__lastUpDownType[h]=g;
}},"opera":function(w){this._idealKeyHandler(w.keyCode,0,w.type,w);
}})),__firefoxInputFix:qx.core.Variant.select(bA,{"gecko":function(bf,bg,bh){if(bg===bC&&(bh==33||bh==34||bh==38||bh==40)&&bf.type==bV&&bf.tagName.toLowerCase()===bL&&bf.getAttribute(cb)!==bO){if(!this.__inputListeners){this.__inputListeners={};
}var bj=qx.core.ObjectRegistry.toHashCode(bf);

if(this.__inputListeners[bj]){return;
}var self=this;
this.__inputListeners[bj]={target:bf,callback:function(n){qx.bom.Event.stopPropagation(n);
self.__onKeyPress(n);
}};
var bi=qx.event.GlobalError.observeMethod(this.__inputListeners[bj].callback);
qx.bom.Event.addNativeListener(bf,bB,bi);
}},"default":null}),__onKeyPress:qx.event.GlobalError.observeMethod(qx.core.Variant.select(bA,{"mshtml":function(y){y=window.event||y;

if(this._charCode2KeyCode[y.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[y.keyCode],0,y.type,y);
}else{this._idealKeyHandler(0,y.keyCode,y.type,y);
}},"gecko":function(a){var d=this._keyCodeFix[a.keyCode]||a.keyCode;
var b=a.charCode;
var c=a.type;
this._idealKeyHandler(d,b,c,a);
},"webkit":function(s){if(qx.bom.client.Engine.VERSION<525.13){var v=0;
var t=0;
var u=s.type;

if(u==by||u==bC){v=this._charCode2KeyCode[s.charCode]||s.keyCode;
}else{if(this._charCode2KeyCode[s.charCode]){v=this._charCode2KeyCode[s.charCode];
}else{t=s.charCode;
}}this._idealKeyHandler(v,t,u,s);
}else{if(this._charCode2KeyCode[s.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[s.keyCode],0,s.type,s);
}else{this._idealKeyHandler(0,s.keyCode,s.type,s);
}}},"opera":function(bd){if(this._keyCodeToIdentifierMap[bd.keyCode]){this._idealKeyHandler(bd.keyCode,0,bd.type,bd);
}else{this._idealKeyHandler(0,bd.keyCode,bd.type,bd);
}}})),_idealKeyHandler:function(A,B,C,D){if(!A&&!B){return;
}var E;
if(A){E=this._keyCodeToIdentifier(A);
this._fireSequenceEvent(D,C,E);
}else{E=this._charCodeToIdentifier(B);
this._fireSequenceEvent(D,bB,E);
this._fireInputEvent(D,B);
}},_specialCharCodeMap:{8:bW,9:co,13:bx,27:ca,32:bY},_keyCodeToIdentifierMap:{16:cn,17:bM,18:bs,20:cw,224:cl,37:cI,38:cF,39:cB,40:cG,33:bt,34:cu,35:bD,36:cp,45:bF,46:bR,112:ch,113:ck,114:bH,115:cd,116:cH,117:bJ,118:bX,119:bG,120:cD,121:cC,122:cE,123:cA,144:bz,44:cM,145:bP,19:cm,91:cg,93:ce},_numpadToCharCode:{96:bw.charCodeAt(0),97:bQ.charCodeAt(0),98:bU.charCodeAt(0),99:ci.charCodeAt(0),100:br.charCodeAt(0),101:cf.charCodeAt(0),102:bN.charCodeAt(0),103:cr.charCodeAt(0),104:bT.charCodeAt(0),105:bv.charCodeAt(0),106:bS.charCodeAt(0),107:cN.charCodeAt(0),109:bu.charCodeAt(0),110:cz.charCodeAt(0),111:bE.charCodeAt(0)},_charCodeA:cK.charCodeAt(0),_charCodeZ:cJ.charCodeAt(0),_charCode0:bw.charCodeAt(0),_charCode9:bv.charCodeAt(0),_isNonPrintableKeyCode:function(m){return this._keyCodeToIdentifierMap[m]?true:false;
},_isIdentifiableKeyCode:function(x){if(x>=this._charCodeA&&x<=this._charCodeZ){return true;
}if(x>=this._charCode0&&x<=this._charCode9){return true;
}if(this._specialCharCodeMap[x]){return true;
}if(this._numpadToCharCode[x]){return true;
}if(this._isNonPrintableKeyCode(x)){return true;
}return false;
},_keyCodeToIdentifier:function(bo){if(this._isIdentifiableKeyCode(bo)){var bp=this._numpadToCharCode[bo];

if(bp){return String.fromCharCode(bp);
}return (this._keyCodeToIdentifierMap[bo]||this._specialCharCodeMap[bo]||String.fromCharCode(bo));
}else{return cs;
}},_charCodeToIdentifier:function(be){return this._specialCharCodeMap[be]||String.fromCharCode(be).toUpperCase();
},_identifierToKeyCode:function(z){return qx.event.handler.Keyboard._identifierToKeyCodeMap[z]||z.charCodeAt(0);
}},destruct:function(){this._stopKeyObserver();
this._disposeFields(cy,bq,ct,cx);
},defer:function(o,p,q){qx.event.Registration.addHandler(o);
if(!o._identifierToKeyCodeMap){o._identifierToKeyCodeMap={};

for(var r in p._keyCodeToIdentifierMap){o._identifierToKeyCodeMap[p._keyCodeToIdentifierMap[r]]=parseInt(r,10);
}
for(var r in p._specialCharCodeMap){o._identifierToKeyCodeMap[p._specialCharCodeMap[r]]=parseInt(r,10);
}}
if(qx.core.Variant.isSet(bA,cq)){p._charCode2KeyCode={13:13,27:27};
}else if(qx.core.Variant.isSet(bA,cL)){p._keyCodeFix={12:p._identifierToKeyCode(bz)};
}else if(qx.core.Variant.isSet(bA,cc)){if(qx.bom.client.Engine.VERSION<525.13){p._charCode2KeyCode={63289:p._identifierToKeyCode(bz),63276:p._identifierToKeyCode(bt),63277:p._identifierToKeyCode(cu),63275:p._identifierToKeyCode(bD),63273:p._identifierToKeyCode(cp),63234:p._identifierToKeyCode(cI),63232:p._identifierToKeyCode(cF),63235:p._identifierToKeyCode(cB),63233:p._identifierToKeyCode(cG),63272:p._identifierToKeyCode(bR),63302:p._identifierToKeyCode(bF),63236:p._identifierToKeyCode(ch),63237:p._identifierToKeyCode(ck),63238:p._identifierToKeyCode(bH),63239:p._identifierToKeyCode(cd),63240:p._identifierToKeyCode(cH),63241:p._identifierToKeyCode(bJ),63242:p._identifierToKeyCode(bX),63243:p._identifierToKeyCode(bG),63244:p._identifierToKeyCode(cD),63245:p._identifierToKeyCode(cC),63246:p._identifierToKeyCode(cE),63247:p._identifierToKeyCode(cA),63248:p._identifierToKeyCode(cM),3:p._identifierToKeyCode(bx),12:p._identifierToKeyCode(bz),13:p._identifierToKeyCode(bx)};
}else{p._charCode2KeyCode={13:13,27:27};
}}}});
})();
(function(){var L="qx.client",K="mouseup",J="click",I="mousedown",H="contextmenu",G="dblclick",F="mousewheel",E="mouseover",D="mouseout",C="DOMMouseScroll",v="on",B="mshtml|webkit|opera",y="mousemove",u="useraction",t="__window",x="__lastMouseDownTarget",w="__root",z="gecko|webkit",s="qx.event.handler.Mouse",A="__manager";
qx.Class.define(s,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(k){arguments.callee.base.call(this);
this.__manager=k;
this.__window=k.getWindow();
this.__root=this.__window.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:{__onButtonEventWrapper:null,__onMoveEventWrapper:null,__onWheelEventWrapper:null,__lastEventType:null,__lastMouseDownTarget:null,__manager:null,__window:null,__root:null,canHandleEvent:function(N,O){},registerEvent:qx.core.Variant.select(L,{"webkit":function(l,m,n){if(qx.bom.client.System.IPHONE){var o=qx.lang.Function.returnNull;
l[v+m]=o;
l[v+m]=undefined;
}},"default":qx.lang.Function.returnNull}),unregisterEvent:function(P,Q,R){},__fireEvent:function(V,W,X){if(!X){X=V.target||V.srcElement;
}if(X&&X.nodeType){qx.event.Registration.fireEvent(X,W||V.type,qx.event.type.Mouse,[V,X,null,true,true]);
}qx.event.Registration.fireEvent(this.__window,u,qx.event.type.Data,[W||V.type]);
},_initButtonObserver:function(){this.__onButtonEventWrapper=qx.lang.Function.listener(this._onButtonEvent,this);
var Event=qx.bom.Event;
Event.addNativeListener(this.__root,I,this.__onButtonEventWrapper);
Event.addNativeListener(this.__root,K,this.__onButtonEventWrapper);
Event.addNativeListener(this.__root,J,this.__onButtonEventWrapper);
Event.addNativeListener(this.__root,G,this.__onButtonEventWrapper);
Event.addNativeListener(this.__root,H,this.__onButtonEventWrapper);
},_initMoveObserver:function(){this.__onMoveEventWrapper=qx.lang.Function.listener(this._onMoveEvent,this);
var Event=qx.bom.Event;
Event.addNativeListener(this.__root,y,this.__onMoveEventWrapper);
Event.addNativeListener(this.__root,E,this.__onMoveEventWrapper);
Event.addNativeListener(this.__root,D,this.__onMoveEventWrapper);
},_initWheelObserver:function(){this.__onWheelEventWrapper=qx.lang.Function.listener(this._onWheelEvent,this);
var Event=qx.bom.Event;
var S=qx.core.Variant.isSet(L,B)?F:C;
Event.addNativeListener(this.__root,S,this.__onWheelEventWrapper);
},_stopButtonObserver:function(){var Event=qx.bom.Event;
Event.removeNativeListener(this.__root,I,this.__onButtonEventWrapper);
Event.removeNativeListener(this.__root,K,this.__onButtonEventWrapper);
Event.removeNativeListener(this.__root,J,this.__onButtonEventWrapper);
Event.removeNativeListener(this.__root,G,this.__onButtonEventWrapper);
Event.removeNativeListener(this.__root,H,this.__onButtonEventWrapper);
},_stopMoveObserver:function(){var Event=qx.bom.Event;
Event.removeNativeListener(this.__root,y,this.__onMoveEventWrapper);
Event.removeNativeListener(this.__root,E,this.__onMoveEventWrapper);
Event.removeNativeListener(this.__root,D,this.__onMoveEventWrapper);
},_stopWheelObserver:function(){var Event=qx.bom.Event;
var T=qx.core.Variant.isSet(L,B)?F:C;
Event.removeNativeListener(this.__root,T,this.__onWheelEventWrapper);
},_onMoveEvent:qx.event.GlobalError.observeMethod(function(d){this.__fireEvent(d);
}),_onButtonEvent:qx.event.GlobalError.observeMethod(function(a){var b=a.type;
var c=a.target||a.srcElement;
if(qx.core.Variant.isSet(L,z)){if(c&&c.nodeType==3){c=c.parentNode;
}}
if(this.__rightClickFixPre){this.__rightClickFixPre(a,b,c);
}
if(this.__doubleClickFixPre){this.__doubleClickFixPre(a,b,c);
}this.__fireEvent(a,b,c);

if(this.__rightClickFixPost){this.__rightClickFixPost(a,b,c);
}
if(this.__differentTargetClickFixPost){this.__differentTargetClickFixPost(a,b,c);
}this.__lastEventType=b;
}),_onWheelEvent:qx.event.GlobalError.observeMethod(function(U){this.__fireEvent(U,F);
}),__rightClickFixPre:qx.core.Variant.select(L,{"webkit":function(h,i,j){if(qx.bom.client.Engine.VERSION<530){if(i==H){this.__fireEvent(h,K,j);
}}},"default":null}),__rightClickFixPost:qx.core.Variant.select(L,{"opera":function(p,q,r){if(q==K&&p.button==2){this.__fireEvent(p,H,r);
}},"default":null}),__doubleClickFixPre:qx.core.Variant.select(L,{"mshtml":function(e,f,g){if(f==K&&this.__lastEventType==J){this.__fireEvent(e,I,g);
}else if(f==G){this.__fireEvent(e,J,g);
}},"default":null}),__differentTargetClickFixPost:qx.core.Variant.select(L,{"mshtml":null,"default":function(Y,ba,bb){switch(ba){case I:this.__lastMouseDownTarget=bb;
break;
case K:if(bb!==this.__lastMouseDownTarget){var bc=qx.dom.Hierarchy.getCommonParent(bb,this.__lastMouseDownTarget);
this.__fireEvent(Y,J,bc);
}}}})},destruct:function(){this._stopButtonObserver();
this._stopMoveObserver();
this._stopWheelObserver();
this._disposeFields(A,t,w,x);
},defer:function(M){qx.event.Registration.addHandler(M);
}});
})();
(function(){var d="qx.event.handler.Capture";
qx.Class.define(d,{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(f,g){},registerEvent:function(h,i,j){},unregisterEvent:function(a,b,c){}},defer:function(e){qx.event.Registration.addHandler(e);
}});
})();
(function(){var z="alias",y="copy",x="blur",w="mouseout",v="keydown",u="Ctrl",t="Shift",s="mousemove",r="move",q="mouseover",X="Alt",W="keyup",V="mouseup",U="dragend",T="on",S="mousedown",R="qxDraggable",Q="__dragTarget",P="drag",O="drop",G="__dropTarget",H="qxDroppable",E="qx.event.handler.DragDrop",F="__root",C="droprequest",D="dragstart",A="dragchange",B="__actions",I="__keys",J="dragleave",L="__manager",K="__cache",N="dragover",M="__types";
qx.Class.define(E,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(j){arguments.callee.base.call(this);
this.__manager=j;
this.__root=j.getWindow().document.documentElement;
this.__manager.addListener(this.__root,S,this._onMouseDown,this);
this.__rebuildStructures();
},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:{__manager:null,__root:null,__dropTarget:null,__dragTarget:null,__types:null,__actions:null,__keys:null,__cache:null,__currentType:null,__currentAction:null,__sessionActive:false,__startLeft:0,__startTop:0,canHandleEvent:function(o,p){},registerEvent:function(g,h,i){},unregisterEvent:function(c,d,f){},addType:function(bt){this.__types[bt]=true;
},addAction:function(n){this.__actions[n]=true;
},supportsType:function(k){return !!this.__types[k];
},supportsAction:function(b){return !!this.__actions[b];
},getData:function(a){if(!this.__validDrop||!this.__dropTarget){throw new Error("This method must not be used outside the drop event listener!");
}
if(!this.__types[a]){throw new Error("Unsupported data type: "+a+"!");
}
if(!this.__cache[a]){this.__currentType=a;
this.__fireEvent(C,this.__dragTarget,false);
}
if(!this.__cache[a]){throw new Error("Please use a droprequest listener to the drag source to fill the manager with data!");
}return this.__cache[a]||null;
},getCurrentAction:function(){return this.__currentAction;
},addData:function(bd,be){this.__cache[bd]=be;
},getCurrentType:function(){return this.__currentType;
},__rebuildStructures:function(){this.__types={};
this.__actions={};
this.__keys={};
this.__cache={};
},__detectAction:function(){var bs=this.__actions;
var bq=this.__keys;
var br=null;

if(this.__validDrop){if(bq.Shift&&bq.Ctrl&&bs.alias){br=z;
}else if(bq.Shift&&bq.Alt&&bs.copy){br=y;
}else if(bq.Shift&&bs.move){br=r;
}else if(bq.Alt&&bs.alias){br=z;
}else if(bq.Ctrl&&bs.copy){br=y;
}else if(bs.move){br=r;
}else if(bs.copy){br=y;
}else if(bs.alias){br=z;
}}
if(br!=this.__currentAction){this.__currentAction=br;
this.__fireEvent(A,this.__dragTarget,false);
}},__fireEvent:function(bg,bh,bi,bj){var bl=qx.event.Registration;
var bk=bl.createEvent(bg,qx.event.type.Drag,[bi,bj]);

if(this.__dragTarget!==this.__dropTarget){if(bh==this.__dragTarget){bk.setRelatedTarget(this.__dropTarget);
}else{bk.setRelatedTarget(this.__dragTarget);
}}return bl.dispatchEvent(bh,bk);
},__findDraggable:function(ba){while(ba&&ba.nodeType==1){if(ba.getAttribute(R)==T){return ba;
}ba=ba.parentNode;
}return null;
},__findDroppable:function(Y){while(Y&&Y.nodeType==1){if(Y.getAttribute(H)==T){return Y;
}Y=Y.parentNode;
}return null;
},__clearInit:function(){this.__dragTarget=null;
this.__manager.removeListener(this.__root,s,this._onMouseMove,this,true);
this.__manager.removeListener(this.__root,V,this._onMouseUp,this,true);
qx.event.Registration.removeListener(window,x,this._onWindowBlur,this);
this.__rebuildStructures();
},__clearSession:function(){if(this.__sessionActive){this.__manager.removeListener(this.__root,q,this._onMouseOver,this,true);
this.__manager.removeListener(this.__root,w,this._onMouseOut,this,true);
this.__manager.removeListener(this.__root,v,this._onKeyDown,this,true);
this.__manager.removeListener(this.__root,W,this._onKeyUp,this,true);
this.__fireEvent(U,this.__dragTarget,false);
this.__sessionActive=false;
}this.__validDrop=false;
this.__dropTarget=null;
this.__clearInit();
},__validDrop:false,_onWindowBlur:function(e){this.__clearSession();
},_onKeyDown:function(e){var bn=e.getKeyIdentifier();

switch(bn){case X:case u:case t:if(!this.__keys[bn]){this.__keys[bn]=true;
this.__detectAction();
}}},_onKeyUp:function(e){var bf=e.getKeyIdentifier();

switch(bf){case X:case u:case t:if(this.__keys[bf]){this.__keys[bf]=false;
this.__detectAction();
}}},_onMouseDown:function(e){if(this.__sessionActive){return;
}var bb=this.__findDraggable(e.getTarget());

if(bb){this.__startLeft=e.getDocumentLeft();
this.__startTop=e.getDocumentTop();
this.__dragTarget=bb;
this.__manager.addListener(this.__root,s,this._onMouseMove,this,true);
this.__manager.addListener(this.__root,V,this._onMouseUp,this,true);
qx.event.Registration.addListener(window,x,this._onWindowBlur,this);
}},_onMouseUp:function(e){if(this.__validDrop){this.__fireEvent(O,this.__dropTarget,false,e);
}if(this.__sessionActive){e.stopPropagation();
}this.__clearSession();
},_onMouseMove:function(e){if(this.__sessionActive){if(!this.__fireEvent(P,this.__dragTarget,true,e)){this.__clearSession();
}}else{if(Math.abs(e.getDocumentLeft()-this.__startLeft)>3||Math.abs(e.getDocumentTop()-this.__startTop)>3){if(this.__fireEvent(D,this.__dragTarget,true,e)){this.__sessionActive=true;
this.__manager.addListener(this.__root,q,this._onMouseOver,this,true);
this.__manager.addListener(this.__root,w,this._onMouseOut,this,true);
this.__manager.addListener(this.__root,v,this._onKeyDown,this,true);
this.__manager.addListener(this.__root,W,this._onKeyUp,this,true);
var bc=this.__keys;
bc.Ctrl=e.isCtrlPressed();
bc.Shift=e.isShiftPressed();
bc.Alt=e.isAltPressed();
this.__detectAction();
}else{this.__fireEvent(U,this.__dragTarget,false);
this.__clearInit();
}}}},_onMouseOver:function(e){var l=e.getTarget();
var m=this.__findDroppable(l);

if(m&&m!=this.__dropTarget){this.__validDrop=this.__fireEvent(N,m,true,e);
this.__dropTarget=m;
this.__detectAction();
}},_onMouseOut:function(e){var bo=e.getTarget();
var bp=this.__findDroppable(bo);

if(bp&&bp==this.__dropTarget){this.__fireEvent(J,this.__dropTarget,false,e);
this.__dropTarget=null;
this.__validDrop=false;
qx.event.Timer.once(this.__detectAction,this,0);
}}},destruct:function(){this._disposeFields(Q,G,L,F,M,B,I,K);
},defer:function(bm){qx.event.Registration.addHandler(bm);
}});
})();
(function(){var e="-",d="qx.event.handler.Element",c="_manager",b="_registeredEvents";
qx.Class.define(d,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(w){arguments.callee.base.call(this);
this._manager=w;
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(A,B){},registerEvent:function(j,k,l){var o=qx.core.ObjectRegistry.toHashCode(j);
var m=o+e+k;
var n=qx.lang.Function.listener(this._onNative,this,m);
qx.bom.Event.addNativeListener(j,k,n);
this._registeredEvents[m]={element:j,type:k,listener:n};
},unregisterEvent:function(p,q,r){var u=this._registeredEvents;

if(!u){return;
}var v=qx.core.ObjectRegistry.toHashCode(p);
var s=v+e+q;
var t=this._registeredEvents[s];
qx.bom.Event.removeNativeListener(p,q,t.listener);
delete this._registeredEvents[s];
},_onNative:qx.event.GlobalError.observeMethod(function(f,g){var i=this._registeredEvents;

if(!i){return;
}var h=i[g];
qx.event.Registration.fireNonBubblingEvent(h.element,h.type,qx.event.type.Native,[f]);
})},destruct:function(){var x;
var y=this._registeredEvents;

for(var z in y){x=y[z];
qx.bom.Event.removeNativeListener(x.element,x.type,x.listener);
}this._disposeFields(c,b);
},defer:function(a){qx.event.Registration.addHandler(a);
}});
})();
(function(){var m="qx.event.handler.Appear",l="__manager",k="__targets",j="disappear",i="appear";
qx.Class.define(m,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(a){arguments.callee.base.call(this);
this.__manager=a;
this.__targets={};
qx.event.handler.Appear.__instances[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,__instances:{},refresh:function(){var g=this.__instances;

for(var h in g){g[h].refresh();
}}},members:{__manager:null,__targets:null,canHandleEvent:function(s,t){},registerEvent:function(b,c,d){var e=qx.core.ObjectRegistry.toHashCode(b);
var f=this.__targets;

if(f&&!f[e]){f[e]=b;
b.$$displayed=b.offsetWidth>0;
}},unregisterEvent:function(v,w,x){var y=qx.core.ObjectRegistry.toHashCode(v);
var z=this.__targets;

if(!z){return;
}
if(z[y]){delete z[y];
v.$$displayed=null;
}},refresh:function(){var q=this.__targets;
var r;

for(var p in q){r=q[p];
var n=r.offsetWidth>0;

if((!!r.$$displayed)!==n){r.$$displayed=n;
var o=qx.event.Registration.createEvent(n?i:j);
this.__manager.dispatchEvent(r,o);
}}}},destruct:function(){this._disposeFields(l,k);
delete qx.event.handler.Appear.__instances[this.$$hash];
},defer:function(u){qx.event.Registration.addHandler(u);
}});
})();
(function(){var q="mshtml",p="",o="qx.client",n=">",m="<",k=" ",h="='",g="qx.bom.Element",f="div",e="' ",d="></";
qx.Class.define(g,{statics:{__initialAttributes:{"onload":true,"onpropertychange":true,"oninput":true,"onchange":true,"name":true,"type":true,"checked":true,"disabled":true},create:function(name,x,y){if(!y){y=window;
}
if(!name){throw new Error("The tag name is missing!");
}var A=this.__initialAttributes;
var z=p;

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

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

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

if(H.length>0){K=P[i];

for(var j=0,L=H.length;j<L;j++){J=H[j];
M.addListener(K,J.type,J.handler,J.self,J.capture);
}}}}return I;
}}});
})();
(function(){var U="qx.client",T="blur",S="focus",R="mousedown",Q="on",P="mouseup",O="DOMFocusOut",N="DOMFocusIn",M="selectstart",L="onmousedown",bw="onfocusout",bv="onfocusin",bu="onmouseup",bt="onselectstart",bs="draggesture",br="_document",bq="gecko",bp="_root",bo="qx.event.handler.Focus",bn="_applyFocus",bc="_window",bd="deactivate",ba="qxIsRootPage",bb="_applyActive",X="input",Y="focusin",V="qxSelectable",W="tabIndex",be="off",bf="_body",bi="activate",bh="1",bk="focusout",bj="__mouseActive",bm="_manager",bl="qxKeepFocus",bg="qxKeepActive";
qx.Class.define(bo,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(bU){arguments.callee.base.call(this);
this._manager=bU;
this._window=bU.getWindow();
this._document=this._window.document;
this._root=this._document.documentElement;
this._body=this._document.body;
this._initObserver();
},properties:{active:{apply:bb,nullable:true},focus:{apply:bn,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:{__onNativeMouseDownWrapper:null,__onNativeMouseUpWrapper:null,__onNativeFocusWrapper:null,__onNativeBlurWrapper:null,__onNativeDragGestureWrapper:null,__onNativeSelectStartWrapper:null,__onNativeFocusInWrapper:null,__onNativeFocusOutWrapper:null,__previousFocus:null,__previousActive:null,canHandleEvent:function(k,l){},registerEvent:function(E,F,G){},unregisterEvent:function(h,i,j){},focus:function(bG){try{bG.focus();
}catch(bM){}this.setFocus(bG);
this.setActive(bG);
},activate:function(bD){this.setActive(bD);
},blur:function(I){try{I.blur();
}catch(m){}
if(this.getActive()===I){this.resetActive();
}
if(this.getFocus()===I){this.resetFocus();
}},deactivate:function(bN){if(this.getActive()===bN){this.resetActive();
}},tryActivate:function(f){var g=this.__findActivatableElement(f);

if(g){this.setActive(g);
}},__fireEvent:function(y,z,A,B){var D=qx.event.Registration;
var C=D.createEvent(A,qx.event.type.Focus,[y,z,B]);
D.dispatchEvent(y,C);
},_windowFocused:true,__doWindowBlur:function(){if(this._windowFocused){this._windowFocused=false;
this.__fireEvent(this._window,null,T,false);
}},__doWindowFocus:function(){if(!this._windowFocused){this._windowFocused=true;
this.__fireEvent(this._window,null,S,false);
}},_initObserver:qx.core.Variant.select(U,{"gecko":function(){this.__onNativeMouseDownWrapper=qx.lang.Function.listener(this.__onNativeMouseDown,this);
this.__onNativeMouseUpWrapper=qx.lang.Function.listener(this.__onNativeMouseUp,this);
this.__onNativeFocusWrapper=qx.lang.Function.listener(this.__onNativeFocus,this);
this.__onNativeBlurWrapper=qx.lang.Function.listener(this.__onNativeBlur,this);
this.__onNativeDragGestureWrapper=qx.lang.Function.listener(this.__onNativeDragGesture,this);
this._document.addEventListener(R,this.__onNativeMouseDownWrapper,true);
this._document.addEventListener(P,this.__onNativeMouseUpWrapper,true);
this._window.addEventListener(S,this.__onNativeFocusWrapper,true);
this._window.addEventListener(T,this.__onNativeBlurWrapper,true);
this._window.addEventListener(bs,this.__onNativeDragGestureWrapper,true);
},"mshtml":function(){this.__onNativeMouseDownWrapper=qx.lang.Function.listener(this.__onNativeMouseDown,this);
this.__onNativeMouseUpWrapper=qx.lang.Function.listener(this.__onNativeMouseUp,this);
this.__onNativeFocusInWrapper=qx.lang.Function.listener(this.__onNativeFocusIn,this);
this.__onNativeFocusOutWrapper=qx.lang.Function.listener(this.__onNativeFocusOut,this);
this.__onNativeSelectStartWrapper=qx.lang.Function.listener(this.__onNativeSelectStart,this);
this._document.attachEvent(L,this.__onNativeMouseDownWrapper);
this._document.attachEvent(bu,this.__onNativeMouseUpWrapper);
this._document.attachEvent(bv,this.__onNativeFocusInWrapper);
this._document.attachEvent(bw,this.__onNativeFocusOutWrapper);
this._document.attachEvent(bt,this.__onNativeSelectStartWrapper);
},"webkit":function(){this.__onNativeMouseDownWrapper=qx.lang.Function.listener(this.__onNativeMouseDown,this);
this.__onNativeMouseUpWrapper=qx.lang.Function.listener(this.__onNativeMouseUp,this);
this.__onNativeFocusOutWrapper=qx.lang.Function.listener(this.__onNativeFocusOut,this);
this.__onNativeFocusWrapper=qx.lang.Function.listener(this.__onNativeFocus,this);
this.__onNativeBlurWrapper=qx.lang.Function.listener(this.__onNativeBlur,this);
this.__onNativeSelectStartWrapper=qx.lang.Function.listener(this.__onNativeSelectStart,this);
this._document.addEventListener(R,this.__onNativeMouseDownWrapper,true);
this._document.addEventListener(P,this.__onNativeMouseUpWrapper,true);
this._document.addEventListener(M,this.__onNativeSelectStartWrapper,false);
this._window.addEventListener(O,this.__onNativeFocusOutWrapper,true);
this._window.addEventListener(S,this.__onNativeFocusWrapper,true);
this._window.addEventListener(T,this.__onNativeBlurWrapper,true);
},"opera":function(){this.__onNativeMouseDownWrapper=qx.lang.Function.listener(this.__onNativeMouseDown,this);
this.__onNativeMouseUpWrapper=qx.lang.Function.listener(this.__onNativeMouseUp,this);
this.__onNativeFocusInWrapper=qx.lang.Function.listener(this.__onNativeFocusIn,this);
this.__onNativeFocusOutWrapper=qx.lang.Function.listener(this.__onNativeFocusOut,this);
this._document.addEventListener(R,this.__onNativeMouseDownWrapper,true);
this._document.addEventListener(P,this.__onNativeMouseUpWrapper,true);
this._window.addEventListener(N,this.__onNativeFocusInWrapper,true);
this._window.addEventListener(O,this.__onNativeFocusOutWrapper,true);
}}),_stopObserver:qx.core.Variant.select(U,{"gecko":function(){this._document.removeEventListener(R,this.__onNativeMouseDownWrapper,true);
this._document.removeEventListener(P,this.__onNativeMouseUpWrapper,true);
this._window.removeEventListener(S,this.__onNativeFocusWrapper,true);
this._window.removeEventListener(T,this.__onNativeBlurWrapper,true);
this._window.removeEventListener(bs,this.__onNativeDragGestureWrapper,true);
},"mshtml":function(){this._document.detachEvent(L,this.__onNativeMouseDownWrapper);
this._document.detachEvent(bu,this.__onNativeMouseUpWrapper);
this._document.detachEvent(bv,this.__onNativeFocusInWrapper);
this._document.detachEvent(bw,this.__onNativeFocusOutWrapper);
this._document.detachEvent(bt,this.__onNativeSelectStartWrapper);
},"webkit":function(){this._document.removeEventListener(R,this.__onNativeMouseDownWrapper,true);
this._document.removeEventListener(M,this.__onNativeSelectStartWrapper,false);
this._window.removeEventListener(N,this.__onNativeFocusInWrapper,true);
this._window.removeEventListener(O,this.__onNativeFocusOutWrapper,true);
this._window.removeEventListener(S,this.__onNativeFocusWrapper,true);
this._window.removeEventListener(T,this.__onNativeBlurWrapper,true);
},"opera":function(){this._document.removeEventListener(R,this.__onNativeMouseDownWrapper,true);
this._window.removeEventListener(N,this.__onNativeFocusInWrapper,true);
this._window.removeEventListener(O,this.__onNativeFocusOutWrapper,true);
this._window.removeEventListener(S,this.__onNativeFocusWrapper,true);
this._window.removeEventListener(T,this.__onNativeBlurWrapper,true);
}}),__onNativeDragGesture:qx.event.GlobalError.observeMethod(qx.core.Variant.select(U,{"gecko":function(e){if(!this.__isSelectable(e.target)){qx.bom.Event.preventDefault(e);
}},"default":null})),__onNativeFocusIn:qx.event.GlobalError.observeMethod(qx.core.Variant.select(U,{"mshtml":function(e){this.__doWindowFocus();
var bC=e.srcElement;
var bB=this.__findFocusableElement(bC);

if(bB){this.setFocus(bB);
}this.tryActivate(bC);
},"opera":function(e){var bJ=e.target;

if(bJ==this._document||bJ==this._window){this.__doWindowFocus();

if(this.__previousFocus){this.setFocus(this.__previousFocus);
delete this.__previousFocus;
}
if(this.__previousActive){this.setActive(this.__previousActive);
delete this.__previousActive;
}}else{this.setFocus(bJ);
this.tryActivate(bJ);
if(!this.__isSelectable(bJ)){bJ.selectionStart=0;
bJ.selectionEnd=0;
}}},"default":null})),__onNativeFocusOut:qx.event.GlobalError.observeMethod(qx.core.Variant.select(U,{"mshtml":function(e){if(!e.toElement){this.__doWindowBlur();
this.resetFocus();
this.resetActive();
}},"webkit":function(e){var J=e.target;

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

if(K==this._document){this.__doWindowBlur();
this.__previousFocus=this.getFocus();
this.__previousActive=this.getActive();
this.resetFocus();
this.resetActive();
}else{if(K===this.getFocus()){this.resetFocus();
}
if(K===this.getActive()){this.resetActive();
}}},"default":null})),__onNativeBlur:qx.event.GlobalError.observeMethod(qx.core.Variant.select(U,{"gecko":function(e){if(e.target===this._window||e.target===this._document){this.__doWindowBlur();
this.resetActive();
this.resetFocus();
}},"webkit":function(e){if(e.target===this._window||e.target===this._document){this.__doWindowBlur();
this.__previousFocus=this.getFocus();
this.__previousActive=this.getActive();
this.resetActive();
this.resetFocus();
}},"default":null})),__onNativeFocus:qx.event.GlobalError.observeMethod(qx.core.Variant.select(U,{"gecko":function(e){var H=e.target;

if(H===this._window||H===this._document){this.__doWindowFocus();
H=this._body;
}this.setFocus(H);
this.tryActivate(H);
},"webkit":function(e){var bx=e.target;

if(bx===this._window||bx===this._document){this.__doWindowFocus();

if(this.__previousFocus){this.setFocus(this.__previousFocus);
delete this.__previousFocus;
}
if(this.__previousActive){this.setActive(this.__previousActive);
delete this.__previousActive;
}}else{this.setFocus(bx);
this.tryActivate(bx);
}},"default":null})),__onNativeMouseDown:qx.event.GlobalError.observeMethod(qx.core.Variant.select(U,{"gecko":function(e){var p=e.target;
var n=this.__findFocusableElement(p);
var o=this.__isSelectable(p);

if(!o){qx.bom.Event.preventDefault(e);
if(n){if(qx.core.Variant.isSet(U,bq)){var q=qx.bom.element.Attribute.get(n,ba)===bh;

if(!q){n.focus();
}}else{n.focus();
}}}else if(!n){qx.bom.Event.preventDefault(e);
}},"mshtml":function(e){var b=e.srcElement;
var a=this.__findFocusableElement(b);

if(a){if(!this.__isSelectable(b)){b.unselectable=Q;
document.selection.empty();
a.focus();
}}else{qx.bom.Event.preventDefault(e);
if(!this.__isSelectable(b)){b.unselectable=Q;
}}},"webkit":function(e){var bL=e.target;
var bK=this.__findFocusableElement(bL);

if(bK){this.setFocus(bK);
}else{qx.bom.Event.preventDefault(e);
}},"opera":function(e){var t=e.target;
var r=this.__findFocusableElement(t);

if(!this.__isSelectable(t)){qx.bom.Event.preventDefault(e);
if(r){var s=this.getFocus();

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

if(bz.unselectable){bz.unselectable=be;
}var bA=this.getFocus();

if(bA&&bz!=bA&&bA.nodeName.toLowerCase()===X){bz=bA;
}this.tryActivate(bz);
},"gecko":function(e){var bF=e.target;

while(bF&&bF.offsetWidth===undefined){bF=bF.parentNode;
}
if(bF){this.tryActivate(bF);
}},"webkit|opera":function(e){this.tryActivate(e.target);
},"default":null})),__onNativeSelectStart:qx.event.GlobalError.observeMethod(qx.core.Variant.select(U,{"mshtml|webkit":function(e){var by=qx.bom.client.Engine.MSHTML?e.srcElement:e.target;

if(!this.__isSelectable(by)){qx.bom.Event.preventDefault(e);
}},"default":null})),__isFocusable:function(bO){var bP=qx.bom.element.Attribute.get(bO,W);

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

if(bP>=0&&bQ[bO.tagName]){return true;
}return false;
},__findFocusableElement:function(bE){while(bE&&bE.nodeType===1){if(bE.getAttribute(bl)==Q){return null;
}
if(this.__isFocusable(bE)){return bE;
}bE=bE.parentNode;
}return this._body;
},__findActivatableElement:function(c){var d=c;

while(c&&c.nodeType===1){if(c.getAttribute(bg)==Q){return null;
}c=c.parentNode;
}return d;
},__isSelectable:function(bH){while(bH&&bH.nodeType===1){var bI=bH.getAttribute(V);

if(bI!=null){return bI===Q;
}bH=bH.parentNode;
}return true;
},_applyActive:function(u,v){if(v){this.__fireEvent(v,u,bd,true);
}
if(u){this.__fireEvent(u,v,bi,true);
}},_applyFocus:function(w,x){if(x){this.__fireEvent(x,w,bk,true);
}
if(w){this.__fireEvent(w,x,Y,true);
}if(x){this.__fireEvent(x,w,T,false);
}
if(w){this.__fireEvent(w,x,S,false);
}}},destruct:function(){this._stopObserver();
this._disposeFields(bm,bc,br,bp,bf,bj);
},defer:function(bR){qx.event.Registration.addHandler(bR);
var bS=bR.FOCUSABLE_ELEMENTS;

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

for(var H in F){if(!I[H]){G.push(H,u,F[H],b);
}}return G.join(k);
},get:qx.core.Variant.select(j,{"mshtml":function(J,name){var L=this.__hints;
var K;
name=L.names[name]||name;
if(L.original[name]){K=J.getAttribute(name,2);
}else if(L.property[name]){if(L.propertyDefault[name]&&K==L.propertyDefault[name]){return null;
}K=J[name];
}else{K=J.getAttribute(name);
}if(L.bools[name]){return !!K;
}return K;
},"default":function(z,name){var B=this.__hints;
var A;
name=B.names[name]||name;
if(B.property[name]){if(B.propertyDefault[name]&&A==B.propertyDefault[name]){return null;
}A=z[name];

if(A==null){A=z.getAttribute(name);
}}else{A=z.getAttribute(name);
}if(B.bools[name]){return !!A;
}return A;
}}),set:function(C,name,D){var E=this.__hints;
name=E.names[name]||name;
if(E.bools[name]){D=!!D;
}if(E.property[name]){if(D==null){D=E.propertyDefault[name];

if(D===undefined){D=null;
}}C[name]=D;
}else{if(D===true){C.setAttribute(name,name);
}else if(D===false||D===null){C.removeAttribute(name);
}else{C.setAttribute(name,D);
}}},reset:function(a,name){this.set(a,name,null);
}}});
})();
(function(){var c="qx.event.type.Dom";
qx.Class.define(c,{extend:qx.event.type.Native,statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8},members:{getModifiers:function(){var b=0;
var a=this._native;

if(a.shiftKey){b|=qx.event.type.Dom.SHIFT_MASK;
}
if(a.ctrlKey){b|=qx.event.type.Dom.CTRL_MASK;
}
if(a.altKey){b|=qx.event.type.Dom.ALT_MASK;
}
if(a.metaKey){b|=qx.event.type.Dom.META_MASK;
}return b;
},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 a="qx.event.type.KeyInput";
qx.Class.define(a,{extend:qx.event.type.Dom,members:{init:function(b,c,d){arguments.callee.base.call(this,b,c,null,true,true);
this._charCode=d;
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 a="qx.event.type.KeySequence";
qx.Class.define(a,{extend:qx.event.type.Dom,members:{init:function(b,c,d){arguments.callee.base.call(this,b,c,null,true,true);
this._identifier=d;
return this;
},clone:function(e){var f=arguments.callee.base.call(this,e);
f._identifier=this._identifier;
return f;
},getKeyIdentifier:function(){return this._identifier;
}}});
})();
(function(){var j="qx.client",i="left",h="right",g="middle",f="dblclick",e="click",d="none",c="contextmenu",b="qx.event.type.Mouse",a="Chrome";
qx.Class.define(b,{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;
},__buttons:qx.core.Variant.select(j,{"mshtml":{1:i,2:h,4:g},"default":{0:i,2:h,1:g}}),stop:function(){this.stopPropagation();
},getButton:function(){switch(this._type){case e:case f:return i;
case c:return h;
default:return this.__buttons[this._native.button]||d;
}},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(j,{"mshtml":function(){var p=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientX+qx.bom.Viewport.getScrollLeft(p);
},"default":function(){return this._native.pageX;
}}),getDocumentTop:qx.core.Variant.select(j,{"mshtml":function(){var q=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientY+qx.bom.Viewport.getScrollTop(q);
},"default":function(){return this._native.pageY;
}}),getScreenLeft:function(){return this._native.screenX;
},getScreenTop:function(){return this._native.screenY;
},getWheelDelta:qx.core.Variant.select(j,{"default":function(){return -(this._native.wheelDelta/40);
},"gecko":function(){return this._native.detail;
},"webkit":function(){if(window.navigator.userAgent.indexOf(a)!==-1){return -(this._native.wheelDelta/120);
}else{return -(this._native.wheelDelta/40);
}}})}});
})();
(function(){var N="qx.client",M="qx.dom.Hierarchy",L="previousSibling",K="*",J="nextSibling",I="parentNode";
qx.Class.define(M,{statics:{getNodeIndex:function(C){var D=0;

while(C&&(C=C.previousSibling)){D++;
}return D;
},getElementIndex:function(w){var x=0;
var y=qx.dom.Node.ELEMENT;

while(w&&(w=w.previousSibling)){if(w.nodeType==y){x++;
}}return x;
},getNextElementSibling:function(P){while(P&&(P=P.nextSibling)&&!qx.dom.Node.isElement(P)){continue;
}return P||null;
},getPreviousElementSibling:function(z){while(z&&(z=z.previousSibling)&&!qx.dom.Node.isElement(z)){continue;
}return z||null;
},contains:qx.core.Variant.select(N,{"webkit|mshtml|opera":function(l,m){if(qx.dom.Node.isDocument(l)){var n=qx.dom.Node.getDocument(m);
return l&&n==l;
}else if(qx.dom.Node.isDocument(m)){return false;
}else{return l.contains(m);
}},"gecko":function(a,b){return !!(a.compareDocumentPosition(b)&16);
},"default":function(Q,R){while(R){if(Q==R){return true;
}R=R.parentNode;
}return false;
}}),isRendered:function(T){if(!T.offsetParent){return false;
}var U=T.ownerDocument||T.document;
if(U.body.contains){return U.body.contains(T);
}if(U.compareDocumentPosition){return !!(U.compareDocumentPosition(T)&16);
}throw new Error("Missing support for isRendered()!");
},isDescendantOf:function(G,H){return this.contains(H,G);
},getCommonParent:qx.core.Variant.select(N,{"mshtml|opera":function(o,p){if(o===p){return o;
}
while(o&&qx.dom.Node.isElement(o)){if(o.contains(p)){return o;
}o=o.parentNode;
}return null;
},"default":function(q,r){if(q===r){return q;
}var s={};
var v=qx.core.ObjectRegistry;
var u,t;

while(q||r){if(q){u=v.toHashCode(q);

if(s[u]){return s[u];
}s[u]=q;
q=q.parentNode;
}
if(r){t=v.toHashCode(r);

if(s[t]){return s[t];
}s[t]=r;
r=r.parentNode;
}}return null;
}}),getAncestors:function(O){return this._recursivelyCollect(O,I);
},getChildElements:function(E){E=E.firstChild;

if(!E){return [];
}var F=this.getNextSiblings(E);

if(E.nodeType===1){F.unshift(E);
}return F;
},getDescendants:function(S){return qx.lang.Array.fromCollection(S.getElementsByTagName(K));
},getFirstDescendant:function(f){f=f.firstChild;

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

while(V&&V.nodeType!=1){V=V.previousSibling;
}return V;
},getPreviousSiblings:function(h){return this._recursivelyCollect(h,L);
},getNextSiblings:function(g){return this._recursivelyCollect(g,J);
},_recursivelyCollect:function(i,j){var k=[];

while(i=i[j]){if(i.nodeType==1){k.push(i);
}}return k;
},getSiblings:function(A){return this.getPreviousSiblings(A).reverse().concat(this.getNextSiblings(A));
},isEmpty:function(B){B=B.firstChild;

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

while(d){var e=d.nextSibling;

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

if(o){this._native=o.getNativeEvent()||null;
this._originalTarget=o.getTarget()||null;
}else{this._native=null;
this._originalTarget=null;
}return this;
},clone:function(i){var j=arguments.callee.base.call(this,i);
j._native=this._native;
return j;
},getDocumentLeft:qx.core.Variant.select(e,{"mshtml":function(){if(this._native==null){return 0;
}var a=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientX+qx.bom.Viewport.getScrollLeft(a);
},"default":function(){if(this._native==null){return 0;
}return this._native.pageX;
}}),getDocumentTop:qx.core.Variant.select(e,{"mshtml":function(){if(this._native==null){return 0;
}var g=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientY+qx.bom.Viewport.getScrollTop(g);
},"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(c){this.getManager().addType(c);
},addAction:function(m){this.getManager().addAction(m);
},supportsType:function(h){return this.getManager().supportsType(h);
},supportsAction:function(b){return this.getManager().supportsAction(b);
},addData:function(k,l){this.getManager().addData(k,l);
},getData:function(f){return this.getManager().getData(f);
},getCurrentType:function(){return this.getManager().getCurrentType();
},getCurrentAction:function(){return this.getManager().getCurrentAction();
}}});
})();
(function(){var n="losecapture",m="qx.client",k="blur",j="__manager",h="focus",g="__window",f="click",e="__captureElement",d="qx.event.dispatch.MouseCapture",c="capture",b="scroll";
qx.Class.define(d,{extend:qx.core.Object,implement:qx.event.IEventDispatcher,construct:function(x){arguments.callee.base.call(this);
this.__manager=x;
this.__window=x.getWindow();
x.addListener(this.__window,k,this.releaseCapture,this);
x.addListener(this.__window,h,this.releaseCapture,this);
x.addListener(this.__window,b,this.releaseCapture,this);
},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST},members:{__captureElement:null,__manager:null,__window:null,canDispatchEvent:function(u,event,v){return (this.__captureElement&&this.__captureEvents[v]);
},dispatchEvent:function(o,event,p){if(p==f){event.stopPropagation();
this.releaseCapture();
return;
}var q=this.__manager.getListeners(this.__captureElement,p,false);

if(q){event.setCurrentTarget(this.__captureElement);
event.setEventPhase(qx.event.type.Event.AT_TARGET);

for(var i=0,l=q.length;i<l;i++){var r=q[i].context||event.getCurrentTarget();
q[i].handler.call(r,event);
}}},__captureEvents:{"mouseup":1,"mousedown":1,"click":1,"dblclick":1,"mousemove":1,"mouseout":1,"mouseover":1},activateCapture:function(s){if(this.__captureElement===s){return;
}
if(this.__captureElement){this.releaseCapture();
}this.nativeSetCapture(s);

if(this.hasNativeCapture){var self=this;
qx.bom.Event.addNativeListener(s,n,function(){qx.bom.Event.removeNativeListener(s,n,arguments.callee);
self.releaseCapture();
});
}this.__captureElement=s;
qx.event.Registration.fireEvent(s,c,qx.event.type.Event,[true,false]);
},getCaptureElement:function(){return this.__captureElement;
},releaseCapture:function(){var t=this.__captureElement;

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

if(C){var E=j;
E+=C;

if(B){E+=g+B+p;
}E+=m;
D.loadXML(E);
}return D;
},"default":function(t,u){return document.implementation.createDocument(t||r,u||r,null);
}}),fromString:qx.core.Variant.select(s,{"mshtml":function(y){var z=qx.xml.Document.create();
z.loadXML(y);
return z;
},"default":function(F){var G=new DOMParser();
return G.parseFromString(F,f);
}})},defer:function(v){if(qx.core.Variant.isSet(s,q)){var w=[b,k];
var x=[d,h];

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

if(qx.bom.client.Feature.STANDARD_MODE){C+=this.__num(A,i);
top+=this.__num(A,j);
}return {left:C,top:top};
},"webkit":function(bA){var bC=qx.dom.Node.getDocument(bA);
var bB=bC.body;
var bD=bB.offsetLeft;
var top=bB.offsetTop;
if(qx.bom.client.Engine.VERSION<530.17){bD+=this.__num(bB,i);
top+=this.__num(bB,j);
}return {left:bD,top:top};
},"gecko":function(D){var E=qx.dom.Node.getDocument(D).body;
var F=E.offsetLeft;
var top=E.offsetTop;
if(qx.bom.client.Engine.VERSION<1.9){F+=this.__num(E,g);
top+=this.__num(E,h);
}if(qx.bom.element.BoxSizing.get(E)!==d){F+=this.__num(E,i);
top+=this.__num(E,j);
}return {left:F,top:top};
},"default":function(bl){var bm=qx.dom.Node.getDocument(bl).body;
var bn=bm.offsetLeft;
var top=bm.offsetTop;
return {left:bn,top:top};
}}),__computeOffset:qx.core.Variant.select(e,{"mshtml|webkit":function(I){var K=qx.dom.Node.getDocument(I);
if(I.getBoundingClientRect){var L=I.getBoundingClientRect();
var M=L.left;
var top=L.top;
}else{var M=I.offsetLeft;
var top=I.offsetTop;
I=I.offsetParent;
var J=K.body;
while(I&&I!=J){M+=I.offsetLeft;
top+=I.offsetTop;
M+=this.__num(I,i);
top+=this.__num(I,j);
I=I.offsetParent;
}}return {left:M,top:top};
},"gecko":function(bJ){if(bJ.getBoundingClientRect){var bM=bJ.getBoundingClientRect();
var bN=Math.round(bM.left);
var top=Math.round(bM.top);
}else{var bN=0;
var top=0;
var bK=qx.dom.Node.getDocument(bJ).body;
var bL=qx.bom.element.BoxSizing;

if(bL.get(bJ)!==d){bN-=this.__num(bJ,i);
top-=this.__num(bJ,j);
}
while(bJ&&bJ!==bK){bN+=bJ.offsetLeft;
top+=bJ.offsetTop;
if(bL.get(bJ)!==d){bN+=this.__num(bJ,i);
top+=this.__num(bJ,j);
}if(bJ.parentNode&&this.__style(bJ.parentNode,l)!=t){bN+=this.__num(bJ.parentNode,i);
top+=this.__num(bJ.parentNode,j);
}bJ=bJ.offsetParent;
}}return {left:bN,top:top};
},"default":function(bE){var bG=0;
var top=0;
var bF=qx.dom.Node.getDocument(bE).body;
while(bE&&bE!==bF){bG+=bE.offsetLeft;
top+=bE.offsetTop;
bE=bE.offsetParent;
}return {left:bG,top:top};
}}),get:function(R,S){if(R.tagName==s){var location=this.__getBodyLocation(R);
var ba=location.left;
var top=location.top;
}else{var T=this.__computeBody(R);
var Y=this.__computeOffset(R);
var scroll=this.__computeScroll(R);
var ba=Y.left+T.left-scroll.left;
var top=Y.top+T.top-scroll.top;
}var U=ba+R.offsetWidth;
var V=top+R.offsetHeight;

if(S){if(S==y||S==f){var W=qx.bom.element.Overflow.getX(R);

if(W==f||W==a){U+=R.scrollWidth-R.offsetWidth+this.__num(R,i)+this.__num(R,b);
}var X=qx.bom.element.Overflow.getY(R);

if(X==f||X==a){V+=R.scrollHeight-R.offsetHeight+this.__num(R,j)+this.__num(R,c);
}}
switch(S){case y:ba+=this.__num(R,w);
top+=this.__num(R,q);
U-=this.__num(R,m);
V-=this.__num(R,r);
case f:ba-=R.scrollLeft;
top-=R.scrollTop;
U-=R.scrollLeft;
V-=R.scrollTop;
case k:ba+=this.__num(R,i);
top+=this.__num(R,j);
U-=this.__num(R,b);
V-=this.__num(R,c);
break;
case o:ba-=this.__num(R,g);
top-=this.__num(R,h);
U+=this.__num(R,p);
V+=this.__num(R,u);
break;
}}return {left:ba,top:top,right:U,bottom:V};
},__getBodyLocation:qx.core.Variant.select(e,{"default":function(N){var top=N.offsetTop+this.__num(N,h);
var O=N.offsetLeft+this.__num(N,g);
return {left:O,top:top};
},"mshtml":function(bd){var top=bd.offsetTop;
var be=bd.offsetLeft;

if(!((qx.bom.client.Engine.VERSION<8||qx.bom.client.Engine.DOCUMENT_MODE<8)&&!qx.bom.client.Feature.QUIRKS_MODE)){top+=this.__num(bd,h);
be+=this.__num(bd,g);
}return {left:be,top:top};
},"gecko":function(bb){var top=bb.offsetTop+this.__num(bb,h)+this.__num(bb,i);
var bc=bb.offsetLeft+this.__num(bb,g)+this.__num(bb,j);
return {left:bc,top:top};
}}),getLeft:function(P,Q){return this.get(P,Q).left;
},getTop:function(bs,bt){return this.get(bs,bt).top;
},getRight:function(bf,bg){return this.get(bf,bg).right;
},getBottom:function(bH,bI){return this.get(bH,bI).bottom;
},getRelative:function(bu,bv,bw,bx){var bz=this.get(bu,bw);
var by=this.get(bv,bx);
return {left:bz.left-by.left,top:bz.top-by.top,right:bz.right-by.right,bottom:bz.bottom-by.bottom};
},getPosition:function(bh){return this.getRelative(bh,this.getOffsetParent(bh));
},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,n)===v)){bk=bk.offsetParent;
}return bk;
}}});
})();
(function(){var v="textarea",u="input",t="qx.client",s="character",r="qx.bom.Selection",q="#text",p="EndToEnd",o="button",n="body";
qx.Class.define(r,{statics:{getSelectionObject:qx.core.Variant.select(t,{"mshtml":function(G){return G.selection;
},"default":function(m){return qx.dom.Node.getWindow(m).getSelection();
}}),get:qx.core.Variant.select(t,{"mshtml":function(H){var I=qx.bom.Range.get(qx.dom.Node.getDocument(H));
return I.text;
},"default":function(C){if(qx.dom.Node.isElement(C)&&(C.nodeName.toLowerCase()==u||C.nodeName.toLowerCase()==v)){return C.value.substring(C.selectionStart,C.selectionEnd);
}else{return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(C)).toString();
}return null;
}}),getLength:qx.core.Variant.select(t,{"mshtml":function(D){var F=qx.bom.Selection.get(D);
var E=qx.util.StringSplit.split(F,/\r\n/);
return F.length-(E.length-1);
},"opera":function(P){var U,S,Q;

if(qx.dom.Node.isElement(P)&&(P.nodeName.toLowerCase()==u||P.nodeName.toLowerCase()==v)){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(l){if(qx.dom.Node.isElement(l)&&(l.nodeName.toLowerCase()==u||l.nodeName.toLowerCase()==v)){return l.selectionEnd-l.selectionStart;
}else{return qx.bom.Selection.get(l).length;
}return null;
}}),set:qx.core.Variant.select(t,{"mshtml":function(K,L,M){var N;
if(qx.dom.Node.isDocument(K)){K=K.body;
}
if(qx.dom.Node.isElement(K)||qx.dom.Node.isText(K)){switch(K.nodeName.toLowerCase()){case u:case v:case o:if(M===undefined){M=K.value.length;
}
if(L>=0&&L<=K.value.length&&M>=0&&M<=K.value.length){N=qx.bom.Range.get(K);
N.collapse(true);
N.moveStart(s,L);
N.moveEnd(s,M-L);
N.select();
return true;
}break;
case q:if(M===undefined){M=K.nodeValue.length;
}
if(L>=0&&L<=K.nodeValue.length&&M>=0&&M<=K.nodeValue.length){N=qx.bom.Range.get(qx.dom.Node.getBodyElement(K));
N.moveToElementText(K.parentNode);
N.collapse(true);
N.moveStart(s,L);
N.moveEnd(s,M-L);
N.select();
return true;
}break;
default:if(M===undefined){M=K.childNodes.length-1;
}if(K.childNodes[L]&&K.childNodes[M]){N=qx.bom.Range.get(qx.dom.Node.getBodyElement(K));
N.moveToElementText(K.childNodes[L]);
N.collapse(true);
var O=qx.bom.Range.get(qx.dom.Node.getBodyElement(K));
O.moveToElementText(K.childNodes[M]);
N.setEndPoint(p,O);
N.select();
return true;
}}}return false;
},"default":function(e,f,g){var k=e.nodeName.toLowerCase();

if(qx.dom.Node.isElement(e)&&(k==u||k==v)){if(g===undefined){g=e.value.length;
}if(f>=0&&f<=e.value.length&&g>=0&&g<=e.value.length){e.focus();
e.select();
e.setSelectionRange(f,g);
return true;
}}else{var i=false;
var j=qx.dom.Node.getWindow(e).getSelection();
var h=qx.bom.Range.get(e);
if(qx.dom.Node.isText(e)){if(g===undefined){g=e.length;
}
if(f>=0&&f<e.length&&g>=0&&g<=e.length){i=true;
}}else if(qx.dom.Node.isElement(e)){if(g===undefined){g=e.childNodes.length-1;
}
if(f>=0&&e.childNodes[f]&&g>=0&&e.childNodes[g]){i=true;
}}else if(qx.dom.Node.isDocument(e)){e=e.body;

if(g===undefined){g=e.childNodes.length-1;
}
if(f>=0&&e.childNodes[f]&&g>=0&&e.childNodes[g]){i=true;
}}
if(i){if(!j.isCollapsed){j.collapseToStart();
}h.setStart(e,f);
if(qx.dom.Node.isText(e)){h.setEnd(e,g);
}else{h.setEndAfter(e.childNodes[g]);
}if(j.rangeCount>0){j.removeAllRanges();
}j.addRange(h);
return true;
}}return false;
}}),setAll:function(J){return qx.bom.Selection.set(J,0);
},clear:qx.core.Variant.select(t,{"mshtml":function(a){var b=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(a));
var c=qx.bom.Range.get(a);
var parent=c.parentElement();
var d=qx.bom.Range.get(qx.dom.Node.getDocument(a));
if(parent==d.parentElement()&&parent==a){b.empty();
}},"default":function(w){var y=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(w));
var A=w.nodeName.toLowerCase();
if(qx.dom.Node.isElement(w)&&(A==u||A==v)){w.setSelectionRange(0,0);
qx.bom.Element.blur(w);
}else if(qx.dom.Node.isDocument(w)||A==n){y.collapse(w.body?w.body:w,0);
}else{var z=qx.bom.Range.get(w);

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

if(c.rangeCount>0){return c.getRangeAt(0);
}else{return b.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 e="qx.ui.core.queue.Widget",d="widget";
qx.Class.define(e,{statics:{__queue:{},remove:function(h){delete this.__queue[h.$$hash];
},add:function(f){var g=this.__queue;

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

for(var b in a){c=a[b];
delete a[b];
c.syncWidget();
}for(var b in a){return;
}this.__queue={};
}}});
})();
(function(){var j="qx.ui.core.queue.Visibility",i="visibility";
qx.Class.define(j,{statics:{__queue:{},__data:{},remove:function(a){var b=a.$$hash;
delete this.__data[b];
delete this.__queue[b];
},isVisible:function(k){return this.__data[k.$$hash]||false;
},__computeVisible:function(c){var e=this.__data;
var d=c.$$hash;
var f;
if(c.isExcluded()){f=false;
}else{var parent=c.$$parent;

if(parent){f=this.__computeVisible(parent);
}else{f=c.isRootWidget();
}}return e[d]=f;
},add:function(g){var h=this.__queue;

if(h[g.$$hash]){return;
}h[g.$$hash]=g;
qx.ui.core.queue.Manager.scheduleFlush(i);
},flush:function(){var l=this.__queue;
var p=this.__data;
for(var m in l){if(p[m]!=null){l[m].addChildrenToQueue(l);
}}var o={};

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

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

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

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

for(var e in c){var d=c[e];
delete c[e];
d.dispose();
}for(var e in c){return;
}this.__queue={};
}}});
})();
(function(){var D="blur",C="focus",B="input",A="load",z="qx.ui.core.EventHandler",y="__manager",x="activate";
qx.Class.define(z,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(){arguments.callee.base.call(this);
this.__manager=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:{__manager:null,__focusEvents:{focusin:1,focusout:1,focus:1,blur:1},__ignoreDisabled:{mouseover:1,mouseout:1,appear:1,disappear:1},canHandleEvent:function(v,w){return v instanceof qx.ui.core.Widget;
},_dispatchEvent:function(e){var k=e.getTarget();
var j=qx.ui.core.Widget.getWidgetByElement(k);
var m=false;

while(j&&j.isAnonymous()){var m=true;
j=j.getLayoutParent();
}if(j&&m&&e.getType()==x){j.getContainerElement().activate();
}if(this.__focusEvents[e.getType()]){j=j&&j.getFocusTarget();
if(!j){return;
}}if(e.getRelatedTarget){var t=e.getRelatedTarget();
var s=qx.ui.core.Widget.getWidgetByElement(t);

while(s&&s.isAnonymous()){s=s.getLayoutParent();
}
if(s){if(this.__focusEvents[e.getType()]){s=s.getFocusTarget();
}if(s===j){return;
}}}var o=e.getCurrentTarget();
var q=qx.ui.core.Widget.getWidgetByElement(o);

if(!q||q.isAnonymous()){return;
}if(this.__focusEvents[e.getType()]){q=q.getFocusTarget();
}var r=e.getType();

if(!(q.isEnabled()||this.__ignoreDisabled[r])){return;
}var f=e.getEventPhase()==qx.event.type.Event.CAPTURING_PHASE;
var n=this.__manager.getListeners(q,r,f);

if(!n||n.length===0){return;
}var g=qx.event.Pool.getInstance().getObject(e.constructor);
e.clone(g);
g.setTarget(j);
g.setRelatedTarget(s||null);
g.setCurrentTarget(q);
var u=e.getOriginalTarget();

if(u){var h=qx.ui.core.Widget.getWidgetByElement(u);

while(h&&h.isAnonymous()){h=h.getLayoutParent();
}g.setOriginalTarget(h);
}else{g.setOriginalTarget(k);
}for(var i=0,l=n.length;i<l;i++){var p=n[i].context||q;
n[i].handler.call(p,g);
}if(g.getPropagationStopped()){e.stopPropagation();
}
if(g.getDefaultPrevented()){e.preventDefault();
}qx.event.Pool.getInstance().poolObject(g);
},registerEvent:function(F,G,H){var I;

if(G===C||G===D){I=F.getFocusElement();
}else if(G===A||G===B){I=F.getContentElement();
}else{I=F.getContainerElement();
}
if(I){I.addListener(G,this._dispatchEvent,this,H);
}},unregisterEvent:function(a,b,c){var d;

if(b===C||b===D){d=a.getFocusElement();
}else if(b===A||b===B){d=a.getContentElement();
}else{d=a.getContainerElement();
}
if(d){d.removeListener(b,this._dispatchEvent,this,c);
}}},destruct:function(){this._disposeFields(y);
},defer:function(E){qx.event.Registration.addHandler(E);
}});
})();
(function(){var c="qx.bom.client.Locale",b="-",a="";
qx.Bootstrap.define(c,{statics:{LOCALE:"",VARIANT:"",__init:function(){var e=(qx.bom.client.Engine.MSHTML?navigator.userLanguage:navigator.language).toLowerCase();
var g=a;
var f=e.indexOf(b);

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

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.__messageId=c;
this.__args=d;
},members:{__messageId:null,__args:null,translate:function(){return qx.locale.Manager.getInstance().translate(this.__messageId,this.__args);
}}});
})();
(function(){var A="_",z="",y="qx.dynlocale",x="on",w="_applyLocale",v="__locales",u="changeLocale",t="C",s="__translations",r="qx.locale.Manager",p="String",q="singleton";
qx.Class.define(r,{type:q,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__translations=qx.$$translations||{};
this.__locales=qx.$$locales||{};
var bi=qx.bom.client.Locale;
var bg=bi.LOCALE;
var bh=bi.VARIANT;

if(bh!==z){bg+=A+bh;
}this.setLocale(bg||this.__defaultLocale);
},statics:{tr:function(B,C){var D=qx.lang.Array.fromArguments(arguments);
D.splice(0,1);
return qx.locale.Manager.getInstance().translate(B,D);
},trn:function(f,g,h,j){var k=qx.lang.Array.fromArguments(arguments);
k.splice(0,3);
if(h!=1){return qx.locale.Manager.getInstance().translate(g,k);
}else{return qx.locale.Manager.getInstance().translate(f,k);
}},trc:function(b,c,d){var e=qx.lang.Array.fromArguments(arguments);
e.splice(0,2);
return qx.locale.Manager.getInstance().translate(c,e);
},marktr:function(a){return a;
}},properties:{locale:{check:p,nullable:true,apply:w,event:u}},members:{__defaultLocale:t,__locale:null,__language:null,__translations:null,__locales:null,getLanguage:function(){return this.__language;
},getTerritory:function(){return this.getLocale().split(A)[1]||z;
},getAvailableLocales:function(){var F=[];

for(var E in this.__locales){if(E!=this.__defaultLocale){F.push(E);
}}return F;
},__extractLanguage:function(bd){var bf;
var be=bd.indexOf(A);

if(be==-1){bf=bd;
}else{bf=bd.substring(0,be);
}return bf;
},_applyLocale:function(bb,bc){this.__locale=bb;
this.__language=this.__extractLanguage(bb);
},addTranslation:function(W,X){var Y=this.__translations;

if(Y[W]){for(var ba in X){Y[W][ba]=X[ba];
}}else{Y[W]=X;
}},addLocale:function(l,m){var n=this.__locales;

if(n[l]){for(var o in m){n[l][o]=m[o];
}}else{n[l]=m;
}},translate:function(G,H,I){var N;
var L=this.__translations;

if(!L){return G;
}
if(I){var K=this.__extractLanguage(I);
}else{I=this.__locale;
K=this.__language;
}
if(!N&&L[I]){N=L[I][G];
}
if(!N&&L[K]){N=L[K][G];
}
if(!N&&L[this.__defaultLocale]){N=L[this.__defaultLocale][G];
}
if(!N){N=G;
}
if(H.length>0){var J=[];

for(var i=0;i<H.length;i++){var M=H[i];

if(M&&M.translate){J[i]=M.translate();
}else{J[i]=M;
}}N=qx.lang.String.format(N,J);
}
if(qx.core.Variant.isSet(y,x)){N=new qx.locale.LocalizedString(N,G,H);
}return N;
},localize:function(O,P,Q){var V;
var T=this.__locales;

if(!T){return O;
}
if(Q){var S=this.__extractLanguage(Q);
}else{Q=this.__locale;
S=this.__language;
}
if(!V&&T[Q]){V=T[Q][O];
}
if(!V&&T[S]){V=T[S][O];
}
if(!V&&T[this.__defaultLocale]){V=T[this.__defaultLocale][O];
}
if(!V){V=O;
}
if(P.length>0){var R=[];

for(var i=0;i<P.length;i++){var U=P[i];

if(U.translate){R[i]=U.translate();
}else{R[i]=U;
}}V=qx.lang.String.format(V,R);
}
if(qx.core.Variant.isSet(y,x)){V=new qx.locale.LocalizedString(V,O,P);
}return V;
}},destruct:function(){this._disposeFields(s,v);
}});
})();
(function(){var p="source",o="scale",n="no-repeat",m="mshtml",l="qx.client",k="qx.html.Image";
qx.Class.define(k,{extend:qx.html.Element,members:{_applyProperty:function(name,d){arguments.callee.base.call(this,name,d);

if(name===p){var h=this.getDomElement();
var e=this.getAllStyles();
var f=this._getProperty(p);
var g=this._getProperty(o);
var i=g?o:n;
qx.bom.element.Decoration.update(h,f,i,e);
}},_createDomElement:function(){var b=this._getProperty(o);
var c=b?o:n;

if(qx.core.Variant.isSet(l,m)){var a=this._getProperty(p);
this.setNodeName(qx.bom.element.Decoration.getTagName(c,a));
}else{this.setNodeName(qx.bom.element.Decoration.getTagName(c));
}return arguments.callee.base.call(this);
},_copyData:function(q){return arguments.callee.base.call(this,true);
},setSource:function(j){this._setProperty(p,j);
return this;
},getSource:function(){return this._getProperty(p);
},resetSource:function(){this._removeProperty(p);
return this;
},setScale:function(r){this._setProperty(o,r);
return this;
},getScale:function(){return this._getProperty(o);
}}});
})();
(function(){var p="replacement",o="Boolean",n="_applyScale",m="_applySource",l="-disabled.$1",k="changeSource",j="String",i="image",h="qx.ui.basic.Image";
qx.Class.define(h,{extend:qx.ui.core.Widget,construct:function(c){arguments.callee.base.call(this);

if(c){this.setSource(c);
}},properties:{source:{check:j,init:null,nullable:true,event:k,apply:m,themeable:true},scale:{check:o,init:false,themeable:true,apply:n},appearance:{refine:true,init:i},allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false}},members:{__width:null,__height:null,_createContentElement:function(){return new qx.html.Image();
},_getContentHint:function(){return {width:this.__width||0,height:this.__height||0};
},_applyEnabled:function(x,y){arguments.callee.base.call(this,x,y);

if(this.getSource()){this._styleSource();
}},_applySource:function(w){this._styleSource();
},_applyScale:function(f){var g=this.getContentElement();
g.setScale(f);
},_styleSource:function(){var a=qx.util.AliasManager.getInstance().resolve(this.getSource());
var b=this.getContentElement();

if(!a){b.resetSource();
return;
}if(qx.util.ResourceManager.getInstance().has(a)){this.__setManagedImage(b,a);
}else if(qx.io2.ImageLoader.isLoaded(a)){this.__setUnmanagedImage(b,a);
}else{this.__loadUnmanagedImage(b,a);
}},__setManagedImage:function(s,t){var v=qx.util.ResourceManager.getInstance();
if(!this.getEnabled()){var u=t.replace(/\.([a-z]+)$/,l);

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

if(I==w){return t;
}else if(I==y){return r;
}else if(H==w){return v;
}else if(H==y){return s;
}},__getPositionY:function(){var K=this.getEdge();
var J=this.getAlign();

if(K==z){return t;
}else if(K==x){return r;
}else if(J==z){return v;
}else if(J==x){return s;
}}},destruct:function(){this._disposeObjects(l);
}});
})();
(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.start-n;
case b:return o.end+p.end;
case d:return o.start;
case c:return o.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.start;
k=e.end+f.end;
}else{j=e.end;
k=e.start;
}
if(j>g-k){i=j-d;
}else{i=k;
}return i;
}}});
})();
(function(){var g="qx.util.placement.BestFitAxis";
qx.Class.define(g,{extend:qx.util.placement.AbstractAxis,members:{computeStart:function(a,b,c,d,e){var f=this._moveToEdgeAndAlign(a,b,c,e);

if(this._isInRange(f,a,d)){return f;
}
if(f<0){f=Math.min(0,d-a);
}
if(f+a>d){f=Math.max(0,d-a);
}return f;
}}});
})();
(function(){var l="mousedown",k="__objects",j="blur",i="singleton",h="qx.ui.popup.Manager";
qx.Class.define(h,{type:i,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__objects={};
qx.event.Registration.addListener(document.documentElement,l,this.__onMouseDown,this,true);
qx.bom.Element.addListener(window,j,this.hideAll,this);
},members:{__objects:null,add:function(r){{};
this.__objects[r.$$hash]=r;
this.__updateIndexes();
},remove:function(m){{};
var n=this.__objects;

if(n){delete n[m.$$hash];
this.__updateIndexes();
}},hideAll:function(){var b=this.__objects;

if(b){for(var a in b){b[a].exclude();
}}},__updateIndexes:function(){var q=1e7;
var p=this.__objects;

for(var o in p){p[o].setZIndex(q++);
}},__onMouseDown:function(e){var f=qx.ui.core.Widget.getWidgetByElement(e.getTarget());
var g=this.__objects;

for(var d in g){var c=g[d];

if(!c.getAutoHide()||f==c||qx.ui.core.Widget.contains(c,f)){continue;
}c.exclude();
}}},destruct:function(){qx.event.Registration.removeListener(document.documentElement,l,this.__onMouseDown,this,true);
this._disposeMap(k);
}});
})();
(function(){var e="__widget",d="abstract",c="qx.ui.layout.Abstract",b="__sizeHint";
qx.Class.define(c,{type:d,extend:qx.core.Object,members:{__sizeHint:null,_invalidChildrenCache:null,__widget:null,invalidateLayoutCache:function(){this.__sizeHint=null;
},renderLayout:function(f,g){this.warn("Missing renderLayout() implementation!");
},getSizeHint:function(){if(this.__sizeHint){return this.__sizeHint;
}return this.__sizeHint=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 k=this.__widget;

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

if(d<g.minWidth){d=g.minWidth;
}else if(d>g.maxWidth){d=g.maxWidth;
}c=b;

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

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

switch(J){case z:K=new qx.ui.basic.Label(this.getLabel());
K.setAnonymous(true);
K.setRich(this.getRich());
this._add(K);

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

if(this.getIcon()==null||this.getShow()===z){K.exclude();
}break;
}return K||arguments.callee.base.call(this,J);
},_forwardStates:{focused:true,hovered:true},_handleLabel:function(){if(this.getLabel()==null||this.getShow()===y){this._excludeChildControl(z);
}else{this._showChildControl(z);
}},_handleIcon:function(){if(this.getIcon()==null||this.getShow()===z){this._excludeChildControl(y);
}else{this._showChildControl(y);
}},_applyLabel:function(a,b){var c=this.getChildControl(z,true);

if(c){c.setValue(a);
}this._handleLabel();
},_applyRich:function(L,M){var N=this.getChildControl(z,true);

if(N){N.setRich(L);
}},_applyIcon:function(E,F){var G=this.getChildControl(y,true);

if(G){G.setSource(E);
}this._handleIcon();
},_applyGap:function(d,e){this._getLayout().setGap(d);
},_applyShow:function(C,D){this._handleLabel();
this._handleIcon();
},_applyIconPosition:function(O,P){this._getLayout().setIconPosition(O);
},_applyCenter:function(H,I){this._getLayout().setCenter(H);
}}});
})();
(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 q="middle",p="qx.ui.layout.Util",o="left",n="center",m="top",k="bottom",j="right";
qx.Class.define(p,{statics:{PERCENT_VALUE:/[0-9]+(?:\.[0-9]+)?%/,computeFlexOffsets:function(V,W,X){var ba,be,Y,bf;
var bb=W>X;
var bg=Math.abs(W-X);
var bh,bc;
var bd={};

for(be in V){ba=V[be];
bd[be]={potential:bb?ba.max-ba.value:ba.value-ba.min,flex:bb?ba.flex:1/ba.flex,offset:0};
}while(bg!=0){bf=Infinity;
Y=0;

for(be in bd){ba=bd[be];

if(ba.potential>0){Y+=ba.flex;
bf=Math.min(bf,ba.potential/ba.flex);
}}if(Y==0){break;
}bf=Math.min(bg,bf*Y)/Y;
bh=0;

for(be in bd){ba=bd[be];

if(ba.potential>0){bc=Math.min(bg,ba.potential,Math.ceil(bf*ba.flex));
bh+=bc-bf*ba.flex;

if(bh>=1){bh-=1;
bc-=1;
}ba.potential-=bc;

if(bb){ba.offset+=bc;
}else{ba.offset-=bc;
}bg-=bc;
}}}return bd;
},computeHorizontalAlignOffset:function(P,Q,R,S,T){if(S==null){S=0;
}
if(T==null){T=0;
}var U=0;

switch(P){case o:U=S;
break;
case j:U=R-Q-T;
break;
case n:U=Math.round((R-Q)/2);
if(U<S){U=S;
}else if(U<T){U=Math.max(S,R-Q-T);
}break;
}return U;
},computeVerticalAlignOffset:function(D,E,F,G,H){if(G==null){G=0;
}
if(H==null){H=0;
}var I=0;

switch(D){case m:I=G;
break;
case k:I=F-E-H;
break;
case q:I=Math.round((F-E)/2);
if(I<G){I=G;
}else if(I<H){I=Math.max(G,F-E-H);
}break;
}return I;
},collapseMargins:function(r){var s=0,u=0;

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

if(t<0){u=Math.min(u,t);
}else if(t>0){s=Math.max(s,t);
}}return s+u;
},computeHorizontalGaps:function(a,b,c){if(b==null){b=0;
}var d=0;

if(c){d+=a[0].getMarginLeft();

for(var i=1,l=a.length;i<l;i+=1){d+=this.collapseMargins(b,a[i-1].getMarginRight(),a[i].getMarginLeft());
}d+=a[l-1].getMarginRight();
}else{for(var i=1,l=a.length;i<l;i+=1){d+=a[i].getMarginLeft()+a[i].getMarginRight();
}d+=(b*(l-1));
}return d;
},computeVerticalGaps:function(e,f,g){if(f==null){f=0;
}var h=0;

if(g){h+=e[0].getMarginTop();

for(var i=1,l=e.length;i<l;i+=1){h+=this.collapseMargins(f,e[i-1].getMarginBottom(),e[i].getMarginTop());
}h+=e[l-1].getMarginBottom();
}else{for(var i=1,l=e.length;i<l;i+=1){h+=e[i].getMarginTop()+e[i].getMarginBottom();
}h+=(f*(l-1));
}return h;
},computeHorizontalSeparatorGaps:function(bi,bj,bk){var bn=qx.theme.manager.Decoration.getInstance().resolve(bk);
var bm=bn.getInsets();
var bl=bm.left+bm.right;
var bo=0;

for(var i=0,l=bi.length;i<l;i++){var bp=bi[i];
bo+=bp.getMarginLeft()+bp.getMarginRight();
}bo+=(bj+bl+bj)*(l-1);
return bo;
},computeVerticalSeparatorGaps:function(v,w,x){var A=qx.theme.manager.Decoration.getInstance().resolve(x);
var z=A.getInsets();
var y=z.top+z.bottom;
var B=0;

for(var i=0,l=v.length;i<l;i++){var C=v[i];
B+=C.getMarginTop()+C.getMarginBottom();
}B+=(w+y+w)*(l-1);
return B;
},arrangeIdeals:function(J,K,L,M,N,O){if(K<J||N<M){if(K<J&&N<M){K=J;
N=M;
}else if(K<J){N-=(J-K);
K=J;
if(N<M){N=M;
}}else if(N<M){K-=(M-N);
N=M;
if(K<J){K=J;
}}}
if(K>L||N>O){if(K>L&&N>O){K=L;
N=O;
}else if(K>L){N+=(K-L);
K=L;
if(N>O){N=O;
}}else if(N>O){K+=(N-O);
N=O;
if(K>L){K=L;
}}}return {begin:K,end:N};
}}});
})();
(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 r="qx.dynlocale",q="text",p="color",o="userSelect",n="changeLocale",m="enabled",l="none",k="on",j="_applyTextAlign",i="Boolean",M="qx.ui.core.Widget",L="__buddyEnabledBinding",K="changeTextAlign",J="changeValue",I="qx.client",H="changeContent",G="qx.ui.basic.Label",F="A",E="_applyValue",D="center",y="_applyBuddy",z="String",w="textAlign",x="right",u="changeRich",v="_applyRich",s="click",t="label",A="webkit",B="__font",C="left";
qx.Class.define(G,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm],construct:function(N){arguments.callee.base.call(this);

if(N!=null){this.setValue(N);
}
if(qx.core.Variant.isSet(r,k)){qx.locale.Manager.getInstance().addListener(n,this._onChangeLocale,this);
}},properties:{rich:{check:i,init:false,event:u,apply:v},value:{check:z,apply:E,event:J,nullable:true},buddy:{check:M,apply:y,nullable:true,init:null},textAlign:{check:[C,D,x],nullable:true,themeable:true,apply:j,event:K},appearance:{refine:true,init:t},selectable:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{__font:null,__invalidContentSize:null,__buddyEnabledBinding:null,__clickListenerId:null,_getContentHint:function(){if(this.__invalidContentSize){this.__contentSize=this.__computeContentSize();
delete this.__invalidContentSize;
}return {width:this.__contentSize.width,height:this.__contentSize.height};
},_hasHeightForWidth:function(){return this.getRich();
},_applySelectable:function(Q){arguments.callee.base.call(this,Q);
if(qx.core.Variant.isSet(I,A)){this.getContainerElement().setStyle(o,Q?q:l);
this.getContentElement().setStyle(o,Q?q:l);
}},_getContentHeightForWidth:function(W){if(!this.getRich()){return null;
}return this.__computeContentSize(W).height;
},_createContentElement:function(){return new qx.html.Label;
},_applyTextAlign:function(R,S){this.getContentElement().setStyle(w,R);
},_applyTextColor:function(O,P){if(O){this.getContentElement().setStyle(p,qx.theme.manager.Color.getInstance().resolve(O));
}else{this.getContentElement().removeStyle(p);
}},__contentSize:{width:0,height:0},_applyFont:function(T,U){var V;

if(T){this.__font=qx.theme.manager.Font.getInstance().resolve(T);
V=this.__font.getStyles();
}else{this.__font=null;
V=qx.bom.Font.getDefaultStyles();
}this.getContentElement().setStyles(V);
this.__invalidContentSize=true;
qx.ui.core.queue.Layout.add(this);
},__computeContentSize:function(c){var h=qx.bom.Label;
var f=this.getFont();
var d=f?this.__font.getStyles():qx.bom.Font.getDefaultStyles();
var content=this.getValue()||F;
var g=this.getRich();
return g?h.getHtmlSize(content,d,c):h.getTextSize(content,d);
},_applyBuddy:function(X,Y){if(Y!=null){Y.removeBinding(this.__buddyEnabledBinding);
this.__buddyEnabledBinding=null;
this.removeListenerById(this.__clickListenerId);
this.__clickListenerId=null;
}
if(X!=null){this.__buddyEnabledBinding=X.bind(m,this,m);
this.__clickListenerId=this.addListener(s,X.focus,X);
}},_applyRich:function(bb){this.getContentElement().setRich(bb);
this.__invalidContentSize=true;
qx.ui.core.queue.Layout.add(this);
},_onChangeLocale:qx.core.Variant.select(r,{"on":function(e){var content=this.getValue();

if(content&&content.translate){this.setValue(content.translate());
}},"off":null}),_applyValue:function(a,b){this.getContentElement().setValue(a);
this.__invalidContentSize=true;
qx.ui.core.queue.Layout.add(this);
this.fireDataEvent(H,a,b);
}},destruct:function(){if(qx.core.Variant.isSet(r,k)){qx.locale.Manager.getInstance().removeListener(n,this._onChangeLocale,this);
}if(this.__buddyEnabledBinding!=null){var ba=this.getBuddy();

if(ba!=null&&!ba.isDisposed()){ba.removeBinding(this.__buddyEnabledBinding);
}}this._disposeFields(B,L);
}});
})();
(function(){var k="value",j="Please use the getValue() method instead.",i="qx.html.Label",h="Please use the setValue() method instead.";
qx.Class.define(i,{extend:qx.html.Element,members:{__rich:null,_applyProperty:function(name,d){arguments.callee.base.call(this,name,d);

if(name==k){var e=this.getDomElement();
qx.bom.Label.setValue(e,d);
}},_createDomElement:function(){var c=this.__rich;
var b=qx.bom.Label.create(this._content,c);
return b;
},_copyData:function(a){return arguments.callee.base.call(this,true);
},setRich:function(f){var g=this.getDomElement();

if(g){throw new Error("The label mode cannot be modified after initial creation");
}f=!!f;

if(this.__rich==f){return;
}this.__rich=f;
return this;
},setValue:function(l){this._setProperty(k,l);
return this;
},getValue:function(){return this._getProperty(k);
},setContent:function(m){qx.log.Logger.deprecatedMethodWarning(arguments.callee,h);
return this.setValue(m);
},getContent:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,j);
return this.getValue();
}}});
})();
(function(){var A="qx.client",z="gecko",y="div",x="inherit",w="text",v="value",u="",t="hidden",s="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",r="nowrap",R="auto",Q="ellipsis",P="normal",O="label",N="px",M="crop",L="end",K="100%",J="visible",I="qx.bom.Label",G="Please use the setValue() method instead.",H="opera",E="Please use the getValue() method instead.",F="block",C="none",D="-1000px",B="absolute";
qx.Class.define(I,{statics:{__styles:{fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1},__prepareText:function(){var V=this.__createMeasureElement(false);
document.body.insertBefore(V,document.body.firstChild);
return this._textElement=V;
},__prepareHtml:function(){var bg=this.__createMeasureElement(true);
document.body.insertBefore(bg,document.body.firstChild);
return this._htmlElement=bg;
},__createMeasureElement:function(k){var l=qx.bom.Element.create(y);
var m=l.style;
m.width=m.height=R;
m.left=m.top=D;
m.visibility=t;
m.position=B;
m.overflow=J;

if(k){m.whiteSpace=P;
}else{m.whiteSpace=r;

if(qx.core.Variant.isSet(A,z)){var n=document.createElementNS(s,O);
for(var o in this.__styles){n.style[o]=x;
}l.appendChild(n);
}}return l;
},__getStyles:function(p){var q={};

if(p){q.whiteSpace=P;
}else if(qx.core.Variant.isSet(A,z)){q.display=F;
}else{q.overflow=t;
q.whiteSpace=r;
q.textOverflow=Q;
q.userSelect=C;
if(qx.core.Variant.isSet(A,H)){q.OTextOverflow=Q;
}}return q;
},create:function(content,X,Y){if(!Y){Y=window;
}
if(X){var ba=Y.document.createElement(y);
ba.useHtml=true;
}else if(qx.core.Variant.isSet(A,z)){var ba=Y.document.createElement(y);
var bb=Y.document.createElementNS(s,O);
bb.style.cursor=x;
bb.style.color=x;
bb.style.overflow=t;
bb.style.maxWidth=K;
for(var bc in this.__styles){bb.style[bc]=x;
}bb.setAttribute(M,L);
ba.appendChild(bb);
}else{var ba=Y.document.createElement(y);
qx.bom.element.Style.setStyles(ba,this.__getStyles(X));
}
if(content){this.setValue(ba,content);
}return ba;
},setValue:function(f,g){g=g||u;

if(f.useHtml){f.innerHTML=g;
}else if(qx.core.Variant.isSet(A,z)){f.firstChild.setAttribute(v,g);
}else{qx.bom.element.Attribute.set(f,w,g);
}},getValue:function(W){if(W.useHtml){return W.innerHTML;
}else if(qx.core.Variant.isSet(A,z)){return W.firstChild.getAttribute(v)||u;
}else{return qx.bom.element.Attribute.get(W,w);
}},getHtmlSize:function(content,bd,be){var bf=this._htmlElement||this.__prepareHtml();
bf.style.width=be!==undefined?be+N:R;
bf.innerHTML=content;
return this.__measureSize(bf,bd);
},getTextSize:function(S,T){var U=this._textElement||this.__prepareText();

if(qx.core.Variant.isSet(A,z)){U.firstChild.setAttribute(v,S);
}else{qx.bom.element.Attribute.set(U,w,S);
}return this.__measureSize(U,T);
},__measureSize:function(a,b){var c=this.__styles;

if(!b){b={};
}
for(var d in c){a.style[d]=b[d]||u;
}var e=qx.bom.element.Dimension.getSize(a);

if(qx.core.Variant.isSet(A,z)){if(!qx.bom.client.Platform.WIN){e.width++;
}}return e;
},setContent:function(h,i){qx.log.Logger.deprecatedMethodWarning(arguments.callee,G);
this.setValue(h,i);
},getContent:function(j){qx.log.Logger.deprecatedMethodWarning(arguments.callee,E);
return this.getValue(j);
}}});
})();
(function(){var i="mshtml",h="qx.client",g="qx.bom.element.Dimension",f="paddingRight",e="paddingLeft",d="paddingTop",c="paddingBottom";
qx.Class.define(g,{statics:{getWidth:qx.core.Variant.select(h,{"gecko":function(t){if(t.getBoundingClientRect){var u=t.getBoundingClientRect();
return Math.round(u.right)-Math.round(u.left);
}else{return t.offsetWidth;
}},"default":function(a){return a.offsetWidth;
}}),getHeight:qx.core.Variant.select(h,{"gecko":function(k){if(k.getBoundingClientRect){var l=k.getBoundingClientRect();
return Math.round(l.bottom)-Math.round(l.top);
}else{return k.offsetHeight;
}},"default":function(v){return v.offsetHeight;
}}),getSize:function(b){return {width:this.getWidth(b),height:this.getHeight(b)};
},__hiddenScrollbars:{visible:true,hidden:true},getContentWidth:function(w){var y=qx.bom.element.Style;
var z=qx.bom.element.Overflow.getX(w);
var A=parseInt(y.get(w,e),10);
var C=parseInt(y.get(w,f),10);

if(this.__hiddenScrollbars[z]){return w.clientWidth-A-C;
}else{if(w.clientWidth>=w.scrollWidth){return Math.max(w.clientWidth,w.scrollWidth)-A-C;
}else{var B=w.scrollWidth-A;
var x=qx.bom.client.Engine;

if(x.NAME===i&&x.VERSION==6){B-=C;
}return B;
}}},getContentHeight:function(m){var o=qx.bom.element.Style;
var q=qx.bom.element.Overflow.getY(m);
var r=parseInt(o.get(m,d),10);
var p=parseInt(o.get(m,c),10);

if(this.__hiddenScrollbars[q]){return m.clientHeight-r-p;
}else{if(m.clientHeight>=m.scrollHeight){return Math.max(m.clientHeight,m.scrollHeight)-r-p;
}else{var s=m.scrollHeight-r;
var n=qx.bom.client.Engine;

if(n.NAME===i&&n.VERSION==6){s-=p;
}return s;
}}},getContentSize:function(j){return {width:this.getContentWidth(j),height:this.getContentHeight(j)};
}}});
})();
(function(){var c="qx.event.type.Data",b="qx.ui.form.IForm";
qx.Interface.define(b,{events:{"changeEnabled":c,"changeValid":c,"changeInvalidMessage":c,"changeRequired":c},members:{setEnabled:function(d){return arguments.length==1;
},getEnabled:function(){},setRequired:function(e){return arguments.length==1;
},getRequired:function(){},setValid:function(a){return arguments.length==1;
},getValid:function(){},setInvalidMessage:function(f){return arguments.length==1;
},getInvalidMessage:function(){}}});
})();
(function(){var i="Use 'getBlocker().getContentBlockerElement()' instead.",h="Use 'getBlocker().getBlockerElement()' instead.",g="_applyBlockerColor",f="Number",e="__blocker",d="qx.ui.core.MBlocker",c="_applyBlockerOpacity",b="Color";
qx.Mixin.define(d,{construct:function(){this.__blocker=new qx.ui.core.Blocker(this);
},properties:{blockerColor:{check:b,init:null,nullable:true,apply:g,themeable:true},blockerOpacity:{check:f,init:1,apply:c,themeable:true}},members:{__blocker:null,_applyBlockerColor:function(j,k){this.__blocker.setColor(j);
},_applyBlockerOpacity:function(l,m){this.__blocker.setOpacity(l);
},block:function(){this.__blocker.block();
},isBlocked:function(){return this.__blocker.isBlocked();
},unblock:function(){this.__blocker.unblock();
},blockContent:function(a){this.__blocker.blockContent(a);
},isContentBlocked:function(){return this.__blocker.isContentBlocked();
},unblockContent:function(){this.__blocker.unblockContent();
},_getContentBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,i);
return this.__blocker.getContentBlockerElement();
},_getBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,h);
return this.__blocker.getBlockerElement();
},getBlocker:function(){return this.__blocker;
}},destruct:function(){this._disposeObjects(e);
}});
})();
(function(){var k="qx.ui.window.Window",j="changeModal",i="changeVisibility",h="changeActive",g="_applyActiveWindow",f="__windows",d="qx.ui.window.MDesktop",c="__manager";
qx.Mixin.define(d,{properties:{activeWindow:{check:k,apply:g,init:null,nullable:true}},members:{__windows:null,__manager:null,getWindowManager:function(){if(!this.__manager){this.setWindowManager(new qx.ui.window.Window.DEFAULT_MANAGER_CLASS());
}return this.__manager;
},supportsMaximize:function(){return true;
},setWindowManager:function(p){if(this.__manager){this.__manager.setDesktop(null);
}p.setDesktop(this);
this.__manager=p;
},_onChangeActive:function(e){if(e.getData()){this.setActiveWindow(e.getTarget());
}else if(this.getActiveWindow()==e.getTarget()){this.setActiveWindow(null);
}},_applyActiveWindow:function(m,n){this.getWindowManager().changeActiveWindow(m,n);

if(m){m.setActive(true);
}
if(n){n.resetActive();
}},_onChangeModal:function(e){this.getWindowManager().updateStack();
},_onChangeVisibility:function(){this.getWindowManager().updateStack();
},_afterAddChild:function(b){if(qx.Class.isDefined(k)&&b instanceof qx.ui.window.Window){this._addWindow(b);
}},_addWindow:function(o){if(!qx.lang.Array.contains(this.getWindows(),o)){this.getWindows().push(o);
o.addListener(h,this._onChangeActive,this);
o.addListener(j,this._onChangeModal,this);
o.addListener(i,this._onChangeVisibility,this);
}
if(o.getActive()){this.setActiveWindow(o);
}this.getWindowManager().updateStack();
},_afterRemoveChild:function(a){if(qx.Class.isDefined(k)&&a instanceof qx.ui.window.Window){this._removeWindow(a);
}},_removeWindow:function(l){qx.lang.Array.remove(this.getWindows(),l);
l.removeListener(h,this._onChangeActive,this);
l.removeListener(j,this._onChangeModal,this);
l.removeListener(i,this._onChangeVisibility,this);
this.getWindowManager().updateStack();
},getWindows:function(){if(!this.__windows){this.__windows=[];
}return this.__windows;
}},destruct:function(){this._disposeArray(f);
this._disposeObjects(c);
}});
})();
(function(){var u="contextmenu",t="help",s="qx.client",r="__globalCursorStyleSheet",q="changeGlobalCursor",p="abstract",o="Boolean",n="root",m="",l=" !important",h="_applyGlobalCursor",k="_applyNativeHelp",j=";",g="qx.ui.root.Abstract",f="String",i="*";
qx.Class.define(g,{type:p,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:n},enabled:{refine:true,init:true},focusable:{refine:true,init:true},globalCursor:{check:f,nullable:true,themeable:true,apply:h,event:q},nativeContextMenu:{refine:true,init:false},nativeHelp:{check:o,init:false,apply:k}},members:{__globalCursorStyleSheet:null,isRootWidget:function(){return true;
},getLayout:function(){return this._getLayout();
},_applyGlobalCursor:qx.core.Variant.select(s,{"mshtml":function(c,d){},"default":function(z,A){var B=qx.bom.Stylesheet;
var C=this.__globalCursorStyleSheet;

if(!C){this.__globalCursorStyleSheet=C=B.createElement();
}B.removeAllRules(C);

if(z){B.addRule(C,i,qx.bom.element.Cursor.compile(z).replace(j,m)+l);
}}}),_applyNativeContextMenu:function(v,w){if(v){this.removeListener(u,this._onNativeContextMenu,this,true);
}else{this.addListener(u,this._onNativeContextMenu,this,true);
}},_onNativeContextMenu:function(e){if(e.getTarget().getNativeContextMenu()){return;
}e.preventDefault();
},_applyNativeHelp:qx.core.Variant.select(s,{"mshtml":function(x,y){if(y===false){qx.bom.Event.removeNativeListener(document,t,qx.lang.Function.returnFalse);
}
if(x===false){qx.bom.Event.addNativeListener(document,t,qx.lang.Function.returnFalse);
}},"default":function(){}})},destruct:function(){this._disposeFields(r);
},defer:function(a,b){qx.ui.core.MChildrenHandling.remap(b);
}});
})();
(function(){var q="resize",p="__doc",o="__window",n="position",m="0px",l="webkit",k="$$widget",j="qx.ui.root.Application",i="hidden",h="qx.client",d="div",g="100%",f="absolute";
qx.Class.define(j,{extend:qx.ui.root.Abstract,construct:function(a){this.__window=qx.dom.Node.getWindow(a);
this.__doc=a;
arguments.callee.base.call(this);
qx.event.Registration.addListener(this.__window,q,this._onResize,this);
this._setLayout(new qx.ui.layout.Canvas());
qx.ui.core.queue.Layout.add(this);
qx.ui.core.FocusHandler.getInstance().connectTo(this);
},members:{__window:null,__doc:null,_createContainerElement:function(){var r=this.__doc;

if(qx.core.Variant.isSet(h,l)){if(!r.body){alert("The application could not be started due to a missing body tag in the HTML file!");
}}var v=r.documentElement.style;
var s=r.body.style;
v.overflow=s.overflow=i;
v.padding=v.margin=s.padding=s.margin=m;
v.width=v.height=s.width=s.height=g;
var u=r.createElement(d);
r.body.appendChild(u);
var t=new qx.html.Root(u);
t.setStyle(n,f);
t.setAttribute(k,this.toHashCode());
return t;
},_onResize:function(e){qx.ui.core.queue.Layout.add(this);
},_computeSizeHint:function(){var b=qx.bom.Viewport.getWidth(this.__window);
var c=qx.bom.Viewport.getHeight(this.__window);
return {minWidth:b,width:b,maxWidth:b,minHeight:c,height:c,maxHeight:c};
}},destruct:function(){this._disposeFields(o,p);
}});
})();
(function(){var L="resize",K="px",J="zIndex",I="qx.ui.root.Page",H="backgroundColor",G="_applyOpacity",F="opacity",E="__timer",D="Number",C="interval",v="qx.ui.core.Blocker",B="Use 'getBlockerElement' instead.",y="__blocker",t="__oldAnonymous",s="__activeElements",x="_widget",w="__contentBlocker",z="Use 'getContentBlockerElement' instead.",r="Color",A="__focusElements",u="_applyColor";
qx.Class.define(v,{extend:qx.core.Object,construct:function(j){arguments.callee.base.call(this);
this._widget=j;
this._isPageRoot=(qx.Class.isDefined(I)&&j instanceof qx.ui.root.Page);

if(this._isPageRoot){j.addListener(L,this.__onResize,this);
}this.__activeElements=[];
this.__focusElements=[];
},properties:{color:{check:r,init:null,nullable:true,apply:u,themeable:true},opacity:{check:D,init:1,apply:G,themeable:true}},members:{__blocker:null,__isBlocked:null,__contentBlocker:null,__isContentBlocked:null,__activeElements:null,__focusElements:null,__oldAnonymous:null,__anonymousCounter:0,__timer:null,_isPageRoot:false,_widget:null,__onResize:function(e){var O=e.getData();

if(this.isContentBlocked()){this.getContentBlockerElement().setStyles({width:O.width,height:O.height});
}
if(this.isBlocked()){this.getBlockerElement().setStyles({width:O.width,height:O.height});
}},_applyColor:function(o,p){var q=qx.theme.manager.Color.getInstance().resolve(o);
this.__setBlockersStyle(H,q);
},_applyOpacity:function(M,N){this.__setBlockersStyle(F,M);
},__setBlockersStyle:function(k,l){var m=[];
this.__blocker&&m.push(this.__blocker);
this.__contentBlocker&&m.push(this.__contentBlocker);

for(var i=0;i<m.length;i++){m[i].setStyle(k,l);
}},_saveAndSetAnonymousState:function(){this.__anonymousCounter+=1;

if(this.__anonymousCounter==1){this.__oldAnonymous=this._widget.getAnonymous();
this._widget.setAnonymous(true);
}},_restoreAnonymousState:function(){this.__anonymousCounter-=1;

if(this.__anonymousCounter==0){this._widget.setAnonymous(this.__oldAnonymous);
}},_backupActiveWidget:function(){var n=qx.event.Registration.getManager(window).getHandler(qx.event.handler.Focus);
this.__activeElements.push(n.getActive());
this.__focusElements.push(n.getFocus());

if(this._widget.isFocusable()){this._widget.focus();
}},_restoreActiveWidget:function(){var f=this.__activeElements.length;

if(f>0){var d=this.__activeElements[f-1];

if(d){qx.bom.Element.activate(d);
}this.__activeElements.pop();
}var c=this.__focusElements.length;

if(c>0){var d=this.__focusElements[c-1];

if(d){qx.bom.Element.focus(this.__focusElements[c-1]);
}this.__focusElements.pop();
}},__createBlockerElement:function(){return new qx.html.Blocker(this.getColor(),this.getOpacity());
},_getBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,B);
return this.getBlockerElement();
},getBlockerElement:function(){if(!this.__blocker){this.__blocker=this.__createBlockerElement();
this.__blocker.setStyle(J,15);
this._widget.getContainerElement().add(this.__blocker);
this.__blocker.exclude();
}return this.__blocker;
},block:function(){if(this.__isBlocked){return;
}this.__isBlocked=true;
this.getBlockerElement().include();
this._backupActiveWidget();
this._saveAndSetAnonymousState();
},isBlocked:function(){return !!this.__isBlocked;
},unblock:function(){if(!this.__isBlocked){return;
}this.__isBlocked=false;
this._restoreAnonymousState();
this._restoreActiveWidget();
this.getBlockerElement().exclude();
},_getContentBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,z);
return this.getContentBlockerElement();
},getContentBlockerElement:function(){if(!this.__contentBlocker){this.__contentBlocker=this.__createBlockerElement();
this._widget.getContentElement().add(this.__contentBlocker);
this.__contentBlocker.exclude();
}return this.__contentBlocker;
},blockContent:function(a){var b=this.getContentBlockerElement();
b.setStyle(J,a);

if(this.__isContentBlocked){return;
}this.__isContentBlocked=true;
b.include();
this._saveAndSetAnonymousState();

if(this._isPageRoot){if(!this.__timer){this.__timer=new qx.event.Timer(300);
this.__timer.addListener(C,this.__syncBlocker,this);
}this.__timer.start();
this.__syncBlocker();
}},isContentBlocked:function(){return !!this.__isContentBlocked;
},unblockContent:function(){if(!this.__isContentBlocked){return;
}this.__isContentBlocked=false;
this._restoreAnonymousState();
this.getContentBlockerElement().exclude();

if(this._isPageRoot){this.__timer.stop();
}},__syncBlocker:function(){var g=this._widget.getContainerElement().getDomElement();
var h=qx.dom.Node.getDocument(g);
this.getContentBlockerElement().setStyles({height:h.documentElement.scrollHeight+K,width:h.documentElement.scrollWidth+K});
}},destruct:function(){if(this._isPageRoot){this._widget.removeListener(L,this.__onResize,this);
}this._disposeObjects(w,y,E);
this._disposeFields(t,s,A,x);
}});
})();
(function(){var i="100%",h="mshtml",g="repeat",f="url(",e=")",d="qx.html.Blocker",c="qx.client",b="qx/static/blank.gif",a="absolute";
qx.Class.define(d,{extend:qx.html.Element,construct:function(j,k){arguments.callee.base.call(this);
var j=j?qx.theme.manager.Color.getInstance().resolve(j):null;
this.setStyles({position:a,width:i,height:i,opacity:k||0,backgroundColor:j});
if(qx.core.Variant.isSet(c,h)){this.setStyles({backgroundImage:f+qx.util.ResourceManager.getInstance().toUri(b)+e,backgroundRepeat:g});
}}});
})();
(function(){var bi="keypress",bh="__roots",bg="focusout",bf="activate",be="__activeChild",bd="Tab",bc="singleton",bb="deactivate",ba="__focusedChild",Y="__currentRoot",W="focusin",X="qx.ui.core.FocusHandler";
qx.Class.define(X,{extend:qx.core.Object,type:bc,construct:function(){arguments.callee.base.call(this);
this.__roots={};
},members:{__roots:null,__activeChild:null,__focusedChild:null,__currentRoot:null,connectTo:function(p){p.addListener(bi,this.__onKeyPress,this);
p.addListener(W,this._onFocusIn,this,true);
p.addListener(bg,this._onFocusOut,this,true);
p.addListener(bf,this._onActivate,this,true);
p.addListener(bb,this._onDeactivate,this,true);
},addRoot:function(H){this.__roots[H.$$hash]=H;
},removeRoot:function(D){delete this.__roots[D.$$hash];
},getActiveWidget:function(){return this.__activeChild;
},isActive:function(C){return this.__activeChild==C;
},getFocusedWidget:function(){return this.__focusedChild;
},isFocused:function(bl){return this.__focusedChild==bl;
},isFocusRoot:function(q){return !!this.__roots[q.$$hash];
},_onActivate:function(e){var P=e.getTarget();
this.__activeChild=P;
var O=this.__findFocusRoot(P);

if(O!=this.__currentRoot){this.__currentRoot=O;
}},_onDeactivate:function(e){var bj=e.getTarget();

if(this.__activeChild==bj){this.__activeChild=null;
}},_onFocusIn:function(e){var bk=e.getTarget();

if(bk!=this.__focusedChild){this.__focusedChild=bk;
bk.visualizeFocus();
}},_onFocusOut:function(e){var G=e.getTarget();

if(G==this.__focusedChild){this.__focusedChild=null;
G.visualizeBlur();
}},__onKeyPress:function(e){if(e.getKeyIdentifier()!=bd){return;
}
if(!this.__currentRoot){return;
}e.stopPropagation();
e.preventDefault();
var Q=this.__focusedChild;

if(!e.isShiftPressed()){var R=Q?this.__getWidgetAfter(Q):this.__getFirstWidget();
}else{var R=Q?this.__getWidgetBefore(Q):this.__getLastWidget();
}if(R){R.tabFocus();
}},__findFocusRoot:function(E){var F=this.__roots;

while(E){if(F[E.$$hash]){return E;
}E=E.getLayoutParent();
}return null;
},__compareTabOrder:function(r,s){if(r===s){return 0;
}var u=r.getTabIndex()||0;
var t=s.getTabIndex()||0;

if(u!=t){return u-t;
}var z=r.getContainerElement().getDomElement();
var y=s.getContainerElement().getDomElement();
var x=qx.bom.element.Location;
var w=x.get(z);
var v=x.get(y);
if(w.top!=v.top){return w.top-v.top;
}if(w.left!=v.left){return w.left-v.left;
}var A=r.getZIndex();
var B=s.getZIndex();

if(A!=B){return A-B;
}return 0;
},__getFirstWidget:function(){return this.__getFirst(this.__currentRoot,null);
},__getLastWidget:function(){return this.__getLast(this.__currentRoot,null);
},__getWidgetAfter:function(f){var g=this.__currentRoot;

if(g==f){return this.__getFirstWidget();
}
while(f&&f.getAnonymous()){f=f.getLayoutParent();
}
if(f==null){return [];
}var h=[];
this.__collectAllAfter(g,f,h);
h.sort(this.__compareTabOrder);
var j=h.length;
return j>0?h[0]:this.__getFirstWidget();
},__getWidgetBefore:function(a){var b=this.__currentRoot;

if(b==a){return this.__getLastWidget();
}
while(a&&a.getAnonymous()){a=a.getLayoutParent();
}
if(a==null){return [];
}var c=[];
this.__collectAllBefore(b,a,c);
c.sort(this.__compareTabOrder);
var d=c.length;
return d>0?c[d-1]:this.__getLastWidget();
},__collectAllAfter:function(parent,k,m){var n=parent.getLayoutChildren();
var o;

for(var i=0,l=n.length;i<l;i++){o=n[i];
if(!(o instanceof qx.ui.core.Widget)){continue;
}
if(!this.isFocusRoot(o)&&o.isEnabled()&&o.isVisible()){if(o.isTabable()&&this.__compareTabOrder(k,o)<0){m.push(o);
}this.__collectAllAfter(o,k,m);
}}},__collectAllBefore:function(parent,S,T){var U=parent.getLayoutChildren();
var V;

for(var i=0,l=U.length;i<l;i++){V=U[i];
if(!(V instanceof qx.ui.core.Widget)){continue;
}
if(!this.isFocusRoot(V)&&V.isEnabled()&&V.isVisible()){if(V.isTabable()&&this.__compareTabOrder(S,V)>0){T.push(V);
}this.__collectAllBefore(V,S,T);
}}},__getFirst:function(parent,L){var M=parent.getLayoutChildren();
var N;

for(var i=0,l=M.length;i<l;i++){N=M[i];
if(!(N instanceof qx.ui.core.Widget)){continue;
}if(!this.isFocusRoot(N)&&N.isEnabled()&&N.isVisible()){if(N.isTabable()){if(L==null||this.__compareTabOrder(N,L)<0){L=N;
}}L=this.__getFirst(N,L);
}}return L;
},__getLast:function(parent,I){var J=parent.getLayoutChildren();
var K;

for(var i=0,l=J.length;i<l;i++){K=J[i];
if(!(K instanceof qx.ui.core.Widget)){continue;
}if(!this.isFocusRoot(K)&&K.isEnabled()&&K.isVisible()){if(K.isTabable()){if(I==null||this.__compareTabOrder(K,I)>0){I=K;
}}I=this.__getLast(K,I);
}}return I;
}},destruct:function(){this._disposeMap(bh);
this._disposeFields(ba,be,Y);
}});
})();
(function(){var B="qx.client",A="head",z="text/css",y="stylesheet",x="}",w='@import "',v="{",u='";',t="qx.bom.Stylesheet",s="link",r="style";
qx.Class.define(t,{statics:{includeFile:function(d,e){if(!e){e=document;
}var f=e.createElement(s);
f.type=z;
f.rel=y;
f.href=qx.util.ResourceManager.getInstance().toUri(d);
var g=e.getElementsByTagName(A)[0];
g.appendChild(f);
},createElement:qx.core.Variant.select(B,{"mshtml":function(l){var m=document.createStyleSheet();

if(l){m.cssText=l;
}return m;
},"default":function(C){var D=document.createElement(r);
D.type=z;

if(C){D.appendChild(document.createTextNode(C));
}document.getElementsByTagName(A)[0].appendChild(D);
return D.sheet;
}}),addRule:qx.core.Variant.select(B,{"mshtml":function(M,N,O){M.addRule(N,O);
},"default":function(bc,bd,be){bc.insertRule(bd+v+be+x,bc.cssRules.length);
}}),removeRule:qx.core.Variant.select(B,{"mshtml":function(E,F){var G=E.rules;
var H=G.length;

for(var i=H-1;i>=0;--i){if(G[i].selectorText==F){E.removeRule(i);
}}},"default":function(I,J){var K=I.cssRules;
var L=K.length;

for(var i=L-1;i>=0;--i){if(K[i].selectorText==J){I.deleteRule(i);
}}}}),removeAllRules:qx.core.Variant.select(B,{"mshtml":function(h){var j=h.rules;
var k=j.length;

for(var i=k-1;i>=0;i--){h.removeRule(i);
}},"default":function(P){var Q=P.cssRules;
var R=Q.length;

for(var i=R-1;i>=0;i--){P.deleteRule(i);
}}}),addImport:qx.core.Variant.select(B,{"mshtml":function(ba,bb){ba.addImport(bb);
},"default":function(bf,bg){bf.insertRule(w+bg+u,bf.cssRules.length);
}}),removeImport:qx.core.Variant.select(B,{"mshtml":function(S,T){var U=S.imports;
var V=U.length;

for(var i=V-1;i>=0;i--){if(U[i].href==T){S.removeImport(i);
}}},"default":function(n,o){var p=n.cssRules;
var q=p.length;

for(var i=q-1;i>=0;i--){if(p[i].href==o){n.deleteRule(i);
}}}}),removeAllImports:qx.core.Variant.select(B,{"mshtml":function(W){var X=W.imports;
var Y=X.length;

for(var i=Y-1;i>=0;i--){W.removeImport(i);
}},"default":function(a){var b=a.cssRules;
var c=b.length;

for(var i=c-1;i>=0;i--){if(b[i].type==b[i].IMPORT_RULE){a.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(c,d){var q=this._getLayoutChildren();
var g,p,n;
var s,top,e,f,j,h;
var o,m,r,k;

for(var i=0,l=q.length;i<l;i++){g=q[i];
p=g.getSizeHint();
n=g.getLayoutProperties();
o=g.getMarginTop();
m=g.getMarginRight();
r=g.getMarginBottom();
k=g.getMarginLeft();
s=n.left!=null?n.left:n.edge;

if(qx.lang.Type.isString(s)){s=Math.round(parseFloat(s)*c/100);
}e=n.right!=null?n.right:n.edge;

if(qx.lang.Type.isString(e)){e=Math.round(parseFloat(e)*c/100);
}top=n.top!=null?n.top:n.edge;

if(qx.lang.Type.isString(top)){top=Math.round(parseFloat(top)*d/100);
}f=n.bottom!=null?n.bottom:n.edge;

if(qx.lang.Type.isString(f)){f=Math.round(parseFloat(f)*d/100);
}if(s!=null&&e!=null){j=c-s-e-k-m;
if(j<p.minWidth){j=p.minWidth;
}else if(j>p.maxWidth){j=p.maxWidth;
}s+=k;
}else{j=n.width;

if(j==null){j=p.width;
}else{j=Math.round(parseFloat(j)*c/100);
if(j<p.minWidth){j=p.minWidth;
}else if(j>p.maxWidth){j=p.maxWidth;
}}
if(e!=null){s=c-j-e-m-k;
}else if(s==null){s=k;
}else{s+=k;
}}if(top!=null&&f!=null){h=d-top-f-o-r;
if(h<p.minHeight){h=p.minHeight;
}else if(h>p.maxHeight){h=p.maxHeight;
}top+=o;
}else{h=n.height;

if(h==null){h=p.height;
}else{h=Math.round(parseFloat(h)*d/100);
if(h<p.minHeight){h=p.minHeight;
}else if(h>p.maxHeight){h=p.maxHeight;
}}
if(f!=null){top=d-h-f-r-o;
}else if(top==null){top=o;
}else{top+=o;
}}g.renderLayout(s,top,j,h);
}},_computeSizeHint:function(){var I=0,H=0;
var F=0,D=0;
var B,A;
var z,x;
var t=this._getLayoutChildren();
var w,G,v;
var J,top,u,y;

for(var i=0,l=t.length;i<l;i++){w=t[i];
G=w.getLayoutProperties();
v=w.getSizeHint();
var E=w.getMarginLeft()+w.getMarginRight();
var C=w.getMarginTop()+w.getMarginBottom();
B=v.width+E;
A=v.minWidth+E;
J=G.left!=null?G.left:G.edge;

if(J&&typeof J===b){B+=J;
A+=J;
}u=G.right!=null?G.right:G.edge;

if(u&&typeof u===b){B+=u;
A+=u;
}I=Math.max(I,B);
H=Math.max(H,A);
z=v.height+C;
x=v.minHeight+C;
top=G.top!=null?G.top:G.edge;

if(top&&typeof top===b){z+=top;
x+=top;
}y=G.bottom!=null?G.bottom:G.edge;

if(y&&typeof y===b){z+=y;
x+=y;
}F=Math.max(F,z);
D=Math.max(D,x);
}return {width:I,minWidth:H,height:F,minHeight:D};
}}});
})();
(function(){var a="qx.html.Root";
qx.Class.define(a,{extend:qx.html.Element,construct:function(c){arguments.callee.base.call(this);

if(c!=null){this.useElement(c);
}},members:{useElement:function(b){arguments.callee.base.call(this,b);
this.setRoot(true);
qx.html.Element._modified[this.$$hash]=this;
}}});
})();
(function(){var l="qx.event.type.Data",k="qx.event.type.Event",j="qx.ui.table.ITableModel";
qx.Interface.define(j,{events:{"dataChanged":l,"metaDataChanged":k,"sorted":l},statics:{EVENT_TYPE_DATA_CHANGED:"dataChanged",EVENT_TYPE_META_DATA_CHANGED:"metaDataChanged"},members:{getRowCount:function(){},getRowData:function(m){},getColumnCount:function(){},getColumnId:function(g){},getColumnIndexById:function(a){},getColumnName:function(n){},isColumnEditable:function(u){},isColumnSortable:function(t){},sortByColumn:function(e,f){},getSortColumnIndex:function(){},isSortAscending:function(){},prefetchRows:function(r,s){},getValue:function(h,i){},getValueById:function(v,w){},setValue:function(o,p,q){},setValueById:function(b,c,d){}}});
})();
(function(){var u="metaDataChanged",t="qx.event.type.Data",s="__columnNameArr",r="abstract",q="__columnIndexMap",p="qx.ui.table.model.Abstract",o="qx.event.type.Event",n="__columnIdArr";
qx.Class.define(p,{type:r,extend:qx.core.Object,implement:qx.ui.table.ITableModel,events:{"dataChanged":t,"metaDataChanged":o,"sorted":t},construct:function(){arguments.callee.base.call(this);
this.__columnIdArr=[];
this.__columnNameArr=[];
this.__columnIndexMap={};
},members:{__columnIdArr:null,__columnNameArr:null,__columnIndexMap:null,__internalChange:null,getRowCount:function(){throw new Error("getRowCount is abstract");
},getRowData:function(g){return null;
},isColumnEditable:function(I){return false;
},isColumnSortable:function(d){return false;
},sortByColumn:function(h,j){},getSortColumnIndex:function(){return -1;
},isSortAscending:function(){return true;
},prefetchRows:function(E,F){},getValue:function(b,c){throw new Error("getValue is abstract");
},getValueById:function(k,l){return this.getValue(this.getColumnIndexById(k),l);
},setValue:function(v,w,x){throw new Error("setValue is abstract");
},setValueById:function(y,z,A){return this.setValue(this.getColumnIndexById(y),z,A);
},getColumnCount:function(){return this.__columnIdArr.length;
},getColumnIndexById:function(a){return this.__columnIndexMap[a];
},getColumnId:function(m){return this.__columnIdArr[m];
},getColumnName:function(H){return this.__columnNameArr[H];
},setColumnIds:function(e){this.__columnIdArr=e;
this.__columnIndexMap={};

for(var i=0;i<e.length;i++){this.__columnIndexMap[e[i]]=i;
}this.__columnNameArr=new Array(e.length);
if(!this.__internalChange){this.fireEvent(u);
}},setColumnNamesByIndex:function(G){if(this.__columnIdArr.length!=G.length){throw new Error("this.__columnIdArr and columnNameArr have different length: "+this.__columnIdArr.length+" != "+G.length);
}this.__columnNameArr=G;
this.fireEvent(u);
},setColumnNamesById:function(f){this.__columnNameArr=new Array(this.__columnIdArr.length);

for(var i=0;i<this.__columnIdArr.length;++i){this.__columnNameArr[i]=f[this.__columnIdArr[i]];
}},setColumns:function(B,C){var D=this.__columnIdArr.length==0||C;

if(C==null){if(this.__columnIdArr.length==0){C=B;
}else{C=this.__columnIdArr;
}}
if(C.length!=B.length){throw new Error("columnIdArr and columnNameArr have different length: "+C.length+" != "+B.length);
}
if(D){this.__internalChange=true;
this.setColumnIds(C);
this.__internalChange=false;
}this.setColumnNamesByIndex(B);
}},destruct:function(){this._disposeFields(n,s,q);
}});
})();
(function(){var J="dataChanged",I="metaDataChanged",H="qx.ui.table.model.Simple",G="__sortableColArr",F="Boolean",E="sorted",D="__editableColArr",C="__rowArr",B="__sortMethods";
qx.Class.define(H,{extend:qx.ui.table.model.Abstract,construct:function(){arguments.callee.base.call(this);
this.__rowArr=[];
this.__sortColumnIndex=-1;
this.__sortAscending;
this.__sortMethods=[];
this.__editableColArr=null;
},properties:{caseSensitiveSorting:{check:F,init:true}},statics:{_defaultSortComparatorAscending:function(bJ,bK){var bL=bJ[arguments.callee.columnIndex];
var bM=bK[arguments.callee.columnIndex];
return (bL>bM)?1:((bL==bM)?0:-1);
},_defaultSortComparatorInsensitiveAscending:function(bp,bq){var br=(isNaN(bp[arguments.callee.columnIndex])?bp[arguments.callee.columnIndex].toLowerCase():bp[arguments.callee.columnIndex]);
var bs=(isNaN(bq[arguments.callee.columnIndex])?bq[arguments.callee.columnIndex].toLowerCase():bq[arguments.callee.columnIndex]);
return (br>bs)?1:((br==bs)?0:-1);
},_defaultSortComparatorDescending:function(P,Q){var R=P[arguments.callee.columnIndex];
var S=Q[arguments.callee.columnIndex];
return (R<S)?1:((R==S)?0:-1);
},_defaultSortComparatorInsensitiveDescending:function(x,y){var z=(isNaN(x[arguments.callee.columnIndex])?x[arguments.callee.columnIndex].toLowerCase():x[arguments.callee.columnIndex]);
var A=(isNaN(y[arguments.callee.columnIndex])?y[arguments.callee.columnIndex].toLowerCase():y[arguments.callee.columnIndex]);
return (z<A)?1:((z==A)?0:-1);
}},members:{__rowArr:null,__editableColArr:null,__sortableColArr:null,__sortMethods:null,__sortColumnIndex:null,__sortAscending:null,getRowData:function(t){var u=this.__rowArr[t];

if(u==null||u.originalData==null){return u;
}else{return u.originalData;
}},getRowDataAsMap:function(g){var k=this.__rowArr[g];
var h={};

for(var l=0;l<this.getColumnCount();l++){h[this.getColumnId(l)]=k[l];
}return h;
},getDataAsMapArray:function(){var bI=this.getRowCount();
var bH=[];

for(var i=0;i<bI;i++){bH.push(this.getRowDataAsMap(i));
}return bH;
},setEditable:function(v){this.__editableColArr=[];

for(var w=0;w<this.getColumnCount();w++){this.__editableColArr[w]=v;
}this.fireEvent(I);
},setColumnEditable:function(bz,bA){if(bA!=this.isColumnEditable(bz)){if(this.__editableColArr==null){this.__editableColArr=[];
}this.__editableColArr[bz]=bA;
this.fireEvent(I);
}},isColumnEditable:function(bN){return this.__editableColArr?(this.__editableColArr[bN]==true):false;
},setColumnSortable:function(e,f){if(f!=this.isColumnSortable(e)){if(this.__sortableColArr==null){this.__sortableColArr=[];
}this.__sortableColArr[e]=f;
this.fireEvent(I);
}},isColumnSortable:function(bd){return (this.__sortableColArr?(this.__sortableColArr[bd]!==false):true);
},sortByColumn:function(K,L){var O;
var N=this.__sortMethods[K];

if(N){O=(L?N.ascending:N.descending);
}else{if(this.getCaseSensitiveSorting()){O=(L?qx.ui.table.model.Simple._defaultSortComparatorAscending:qx.ui.table.model.Simple._defaultSortComparatorDescending);
}else{O=(L?qx.ui.table.model.Simple._defaultSortComparatorInsensitiveAscending:qx.ui.table.model.Simple._defaultSortComparatorInsensitiveDescending);
}}O.columnIndex=K;
this.__rowArr.sort(O);
this.__sortColumnIndex=K;
this.__sortAscending=L;
var M={columnIndex:K,ascending:L};
this.fireDataEvent(E,M);
this.fireEvent(I);
},setSortMethods:function(q,r){var s;

if(qx.lang.Type.isFunction(r)){s={ascending:r,descending:function(bt,bu){return r(bu,bt);
}};
}else{s=r;
}this.__sortMethods[q]=s;
},clearSorting:function(){if(this.__sortColumnIndex!=-1){this.__sortColumnIndex=-1;
this.__sortAscending=true;
this.fireEvent(I);
}},getSortColumnIndex:function(){return this.__sortColumnIndex;
},isSortAscending:function(){return this.__sortAscending;
},getRowCount:function(){return this.__rowArr.length;
},getValue:function(bb,bc){if(bc<0||bc>=this.__rowArr.length){throw new Error("this.__rowArr out of bounds: "+bc+" (0.."+this.__rowArr.length+")");
}return this.__rowArr[bc][bb];
},setValue:function(bv,bw,bx){if(this.__rowArr[bw][bv]!=bx){this.__rowArr[bw][bv]=bx;
if(this.hasListener(J)){var by={firstRow:bw,lastRow:bw,firstColumn:bv,lastColumn:bv};
this.fireDataEvent(J,by);
}
if(bv==this.__sortColumnIndex){this.clearSorting();
}}},setData:function(bm,bn){this.__rowArr=bm;
if(this.hasListener(J)){var bo={firstRow:0,lastRow:bm.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};
this.fireDataEvent(J,bo);
}
if(bn!==false){this.clearSorting();
}},getData:function(){return this.__rowArr;
},setDataAsMapArray:function(T,U,V){this.setData(this._mapArray2RowArr(T,U),V);
},addRows:function(be,bf,bg){if(bf==null){bf=this.__rowArr.length;
}be.splice(0,0,bf,0);
Array.prototype.splice.apply(this.__rowArr,be);
var bh={firstRow:bf,lastRow:this.__rowArr.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};
this.fireDataEvent(J,bh);

if(bg!==false){this.clearSorting();
}},addRowsAsMapArray:function(m,n,o,p){this.addRows(this._mapArray2RowArr(m,o),n,p);
},setRows:function(W,X,Y){if(X==null){X=0;
}W.splice(0,0,X,W.length);
Array.prototype.splice.apply(this.__rowArr,W);
var ba={firstRow:X,lastRow:this.__rowArr.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};
this.fireDataEvent(J,ba);

if(Y!==false){this.clearSorting();
}},setRowsAsMapArray:function(a,b,c,d){this.setRows(this._mapArray2RowArr(a,c),b,d);
},removeRows:function(bi,bj,bk){this.__rowArr.splice(bi,bj);
var bl={firstRow:bi,lastRow:this.__rowArr.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1,removeStart:bi,removeCount:bj};
this.fireDataEvent(J,bl);

if(bk!==false){this.clearSorting();
}},_mapArray2RowArr:function(bB,bC){var bG=bB.length;
var bD=this.getColumnCount();
var bF=new Array(bG);
var bE;

for(var i=0;i<bG;++i){bE=[];

if(bC){bE.originalData=bB[i];
}
for(var j=0;j<bD;++j){bE[j]=bB[i][this.getColumnId(j)];
}bF[i]=bE;
}return bF;
}},destruct:function(){this._disposeFields(C,D,B,G);
}});
})();
(function(){var cb="number",ca="",bY="string",bX="10.addRows.view0.number.assert-is-sorted",bW="object",bV="22.addRows.view0.number.getValue",bU="14.setValue.view1.getRowCount",bT="6.setData.view1.number.assert-is-sorted",bS="or",bR="13.setValue.view0.assert-is-sorted",bG="8.setData.view0.number.assert-is-sorted",bF="21.random-deletions.view2.assert-subset",bE="21.random-deletions.view0.assert-set-equivalence",bD="14.setValue.view1.assert-locatable",bC="...",bB="14.setValue.view1.number.assert-is-sorted",bA="5.removeRows.view0.getRowCount",bz="and",by="test",bx="1.addRows.view0.getRowCount",ci="2.setData.view0.number.getValueById",cj="6.setData.view0.number.assert-is-sorted",cg="18.removeRows.view2.assert-empty",ch="12.setValue.view0.getValue",ce="14.setValue.view0.getValue",cf="4.addRows.view0.number.getValueById",cc="22.addRows.view0.number.getValueById",cd="15.setValue.view0.getRowCount",ck="17.addViews.view2.assert-filter",cl="16.setValue.view0.getRowCount",bK="16.changeSort.view1.number.assert-is-sorted",bJ="16.setValue.view1.getRowCount",bM="6.removeRows.view0.getRowCount",bL="11.view0.locate.V3",bO="15.setValue.view0.assert-is-sorted",bN="7.setData.view0.number.assert-is-sorted",bQ="2.setData.view0.getRowCount",bP="5.setData.view1.number.assert-is-sorted",bI="test!",bH="18.removeRows.view0.assert-removed",D="3.addRows.view0.getRowCount",E="smart.MSmartUnitTests",F="11.view0.locate.V2",G="3.addRows.view0.number.getValueById",H="4.addRows.view1.number.assert-is-sorted",J="20.random-adds.view0.count",K="1.addRows.view0.number.getValueById",L="13.setValue.view1.number.assert-is-sorted",M="19.clearAllRows.assert-all-views-empty",O="3.addRows.view0.number.getValue",cp="1.addRows.view0.number.getValue",co="2.setData.view1.number.assert-is-sorted",cn="unit test failed: ",cm=": ",ct="4.addRows.view0.number.getValue",cs="13.setValue.view1.getRowCount",cr="7.setData.view1.number.assert-is-sorted",cq="0.getColumnIndexById",cv="16.changeSort.view0.assert-is-sorted",cu="17.addViews.view2.disjoint",bh="all unit tests passed",bi="12.setValue.view0.assert-is-sorted",bf="14.setValue.view0.getRowCount",bg="12.setValue.view1.number.assert-is-sorted",bl="2.setData.view0.number.assert-is-sorted",bm="20.random-adds.assert-sort",bj="3.addRows.view0.number.assert-is-sorted",bk="14.setValue.view0.assert-is-sorted",bd="17.addViews.view3.assert-filter",be="9.setData.view0.number.assert-is-sorted",X="SOME UNIT TESTS FAILED",W="15.setValue.view1.getRowCount",ba="4.addRows.view0.number.assert-is-sorted",Y="8.setData.view1.number.assert-is-sorted",T="3.addRows.view1.number.assert-is-sorted",S="4.addRows.view0.getRowCount",V="13.setValue.view1.assert-is-filtered",U="13.setValue.view1.assert-not-locatable",Q="13.setValue.view0.getValue",P="15.setValue.view1.getValue",br="15.setValue.view0.getValue",bs="15.setValue.view1.number.assert-is-sorted",bt="7.removeRows.view0.getRowCount",bu="14.setValue.view1.assert-is-not-filtered",bn="2.setData.view0.number.getValue",bo="9.removeRows.view0.getRowCount",bp="8.removeRows.view0.getRowCount",bq="22.addRows.view0.getRowCount",bv="5.setData.view0.number.assert-is-sorted",bw="10.addRows.view0.getRowCount",bc="17.addViews.view2.rowsum",bb="13.setValue.view0.getRowCount";
qx.Mixin.define(E,{members:{testsFailed:false,__runTest:function(name,f){var a=false;

try{if(!f.call(this))a=true;
}catch(e){this.__debug(e);
a=true;
}
if(a)this.__debug(cn+name);
else{}if(a)this.testsFailed=true;
return !a;
},unitTest:function(){try{this.__unitTest();
}catch(e){this.__debug(e);
}},__unitTest:function(){var i,n=false;
var w=new smart.Smart();
var r={"number":0,"string":1,"object":2,"function":3,"random":4};
w.setColumns(function(){var C=[];

for(name in r){var B=r[name];
C[B]=name;
}return C;
}());
this.__runTest(cq,function(){for(name in r){var b=r[name];

if(w.getColumnIndexById(name)!=b)return false;
}return true;
});
w.addIndex(r[cb]);
w.sortByColumn(r[cb],true);
w.addView(function(R){return R[r[bY]].length&1;
});
var N=100,t=100;
var m=[];

for(i=0;i<N;i++)m.push([i,ca+i,new qx.ui.basic.Label(ca+i),function(x){return x==i;
},Math.random()]);
w.addRows(m);
this.__runTest(bx,function(){return (w.getRowCount()==t);
});
this.__runTest(cp,function(){for(i=0;i<N;i++)if(w.getValue(r[cb],i)!=i)return false;
return true;
});
this.__runTest(K,function(){for(i=0;i<N;i++)if(w.getValueById(cb,i)!=i)return false;
return true;
});
w.setData(m);
this.__runTest(bQ,function(){return (w.getRowCount()==N);
});
this.__runTest(bn,function(){for(i=0;i<N;i++)if(w.getValue(r[cb],i)!=i)return false;
return true;
});
this.__runTest(ci,function(){for(i=0;i<w.getRowCount();i++)if(w.getValueById(cb,i)!=i)return false;
return true;
});
this.__runTest(bl,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(co,function(){for(i=1;i<
w.getRowCount(1);i++)if(w.getValue(r[cb],i-1,1)>
w.getValue(r[cb],i,1))return false;
return true;
});
m=[];

for(i=-10;i<0;i++)m.push([i,ca+i,new qx.ui.basic.Label(ca+i),function(x){return x==i;
},Math.random()]);
w.addRows(m);
t+=10;
this.__runTest(D,function(){return (w.getRowCount()==t);
});
this.__runTest(O,function(){for(i=0;i<w.getRowCount();i++)if(w.getValue(r[cb],i)!=i-10)return false;
return true;
});
this.__runTest(G,function(){for(i=0;i<w.getRowCount();i++)if(w.getValueById(cb,i)!=i-10)return false;
return true;
});
this.__runTest(bj,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(T,function(){for(i=1;i<
w.getRowCount(1);i++)if(w.getValue(r[cb],i-1,1)>
w.getValue(r[cb],i,1))return false;
return true;
});
m=[];

for(i=N;i<N+10;i++)m.push([i,ca+i,new qx.ui.basic.Label(ca+i),function(x){return x==i;
},Math.random()]);
w.addRows(m);
t+=10;
this.__runTest(S,function(){return (w.getRowCount()==t);
});
this.__runTest(ct,function(){for(i=0;i<w.getRowCount();i++)if(w.getValue(r[cb],i)!=i-10)return false;
return true;
});
this.__runTest(cf,function(){for(i=0;i<w.getRowCount();i++)if(w.getValueById(cb,i)!=i-10)return false;
return true;
});
this.__runTest(ba,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(H,function(){for(i=1;i<
w.getRowCount(1);i++)if(w.getValue(r[cb],i-1,1)>
w.getValue(r[cb],i,1))return false;
return true;
});
m=[];

for(i=0;i<N;i++){var I=i+0.5;
m.push([I,ca+I,new qx.ui.basic.Label(ca+I),function(x){return x==I;
},Math.random()]);
}w.addRows(m);
t+=N;
this.__runTest(bA,function(){return (w.getRowCount()==t);
});
this.__runTest(bv,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(bP,function(){for(i=1;i<
w.getRowCount(1);i++)if(w.getValue(r[cb],i-1,1)>
w.getValue(r[cb],i,1))return false;
return true;
});
w.removeRows(N>>2,N>>1);
t-=(N>>1);
this.__runTest(bM,function(){return (w.getRowCount()==t);
});
this.__runTest(cj,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(bT,function(){for(i=1;i<
w.getRowCount(1);i++)if(w.getValue(r[cb],i-1,1)>
w.getValue(r[cb],i,1))return false;
return true;
});
w.removeRows(0,5);
t-=5;
this.__runTest(bt,function(){return (w.getRowCount()==t);
});
this.__runTest(bN,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(cr,function(){for(i=1;i<
w.getRowCount(1);i++)if(w.getValue(r[cb],i-1,1)>
w.getValue(r[cb],i,1))return false;
return true;
});
w.removeRows(w.getRowCount()-5);
t-=5;
this.__runTest(bp,function(){return (w.getRowCount()==t);
});
this.__runTest(bG,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(Y,function(){for(i=1;i<
w.getRowCount(1);i++)if(w.getValue(r[cb],i-1,1)>
w.getValue(r[cb],i,1))return false;
return true;
});
w.removeRows(0,1);
w.removeRows(w.getRowCount()-1);
w.removeRows(w.getRowCount()>>1,1);
t-=3;
this.__runTest(bo,function(){return (w.getRowCount()==t);
});
this.__runTest(be,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
var o=33.33,p=-10000,q=10000;
w.addRows([[o,ca+o,new qx.ui.basic.Label(ca+o),function(x){return x==o;
},Math.random()]]);
w.addRows([[p,ca+p,new qx.ui.basic.Label(ca+p),function(x){return x==p;
},Math.random()]]);
w.addRows([[q,ca+q,new qx.ui.basic.Label(ca+q),function(x){return x==q;
},Math.random()]]);
t+=3;
this.__runTest(bw,function(){return (w.getRowCount()==t);
});
this.__runTest(bX,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(bX,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(F,function(){return (w.locate(r[cb],p)==0);
});
this.__runTest(bL,function(){return (w.locate(r[cb],q)==w.getRowCount()-1);
});
w.setValue(r[bW],5,null);
this.__runTest(ch,function(){return (w.getValue(r[bW],5)==null);
});
this.__runTest(bi,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(bg,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
var h=w.getRowCount();
var u=w.getRowCount(1);
var g=bI;

for(i=0;i<w.getRowCount();i++)if((w.getValue(r[bY],i).length&1)==0)break;
var I=w.getValue(r[cb],i);
w.setValue(r[bY],i,g);
this.__runTest(Q,function(){return (w.getValue(r[bY],i)==g);
});
this.__runTest(V,function(){for(var i=0;i<
w.getRowCount(1);i++)if(w.getValue(r[bY],i,1)==g)return false;
return true;
});
this.__runTest(U,function(){return w.locate(r[cb],I,1)==undefined;
});
this.__runTest(bR,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(L,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(bb,function(){return (w.getRowCount()==h);
});
this.__runTest(cs,function(){return (w.getRowCount(1)==(u-1));
});
var h=w.getRowCount();
var u=w.getRowCount(1);
var d=by;

for(i=0;i<w.getRowCount();i++)if((w.getValue(r[bY],i).length&1)==1)break;
var I=w.getValue(r[cb],i);
w.setValue(r[bY],i,d);
this.__runTest(ce,function(){return (w.getValue(r[bY],i)==d);
});
this.__runTest(bu,function(){for(var i=0;i<
w.getRowCount(1);i++)if(w.getValue(r[bY],i,1)==d)return true;
return false;
});
this.__runTest(bD,function(){return w.locate(r[cb],I,1)!=undefined;
});
this.__runTest(bk,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(bB,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(bf,function(){return (w.getRowCount()==h);
});
this.__runTest(bU,function(){return (w.getRowCount(1)==(u+1));
});
h=w.getRowCount();
u=w.getRowCount(1);
o=0.1;
w.setValue(r[cb],u>>1,o,1);
this.__runTest(br,function(){return (w.getValue(r[cb],w.locate(r[cb],o))==o);
});
this.__runTest(P,function(){return (w.getValue(r[cb],w.locate(r[cb],o,1),1)==o);
});
this.__runTest(bO,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(bs,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[cb],i-1)>w.getValue(r[cb],i))return false;
return true;
});
this.__runTest(cd,function(){return (w.getRowCount()==h);
});
this.__runTest(W,function(){return (w.getRowCount(1)==u);
});
h=w.getRowCount();
u=w.getRowCount(1);
w.sortByColumn(r[bY],true);
this.__runTest(cv,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[bY],i-1)>w.getValue(r[bY],i))return false;
return true;
});
this.__runTest(bK,function(){for(i=1;i<w.getRowCount();i++)if(w.getValue(r[bY],i-1)>w.getValue(r[bY],i))return false;
return true;
});
this.__runTest(cl,function(){return (w.getRowCount()==h);
});
this.__runTest(bJ,function(){return (w.getRowCount(1)==u);
});
w.addView([function(R){return R[r[cb]]>=20;
},function(R){return R[r[cb]]<=80;
}],null,bz);
w.addView([function(R){return R[r[cb]]<20;
},function(R){return R[r[cb]]>80;
}],null,bS);
this.__runTest(ck,function(){for(i=0;i<
w.getRowCount(2);i++){var x=w.getValue(r[cb],i,2);

if(x>=20&&x<=80)return false;
}return true;
});
this.__runTest(bd,function(){for(i=0;i<
w.getRowCount(3);i++){var x=w.getValue(r[cb],i,3);

if(x<20||x>80)return false;
}return true;
});
this.__runTest(cu,function(){var cw={};

for(i=0;i<
w.getRowCount(2);i++)cw[w.getValue(r[cb],i,2)]=1;

for(i=0;i<
w.getRowCount(3);i++)if(cw[w.getValue(r[cb],i,3)]==1)return false;
return true;
});
this.__runTest(bc,function(){return w.getRowCount(2)+w.getRowCount(3)==w.getRowCount(0);
});
var k=[];

for(i=0;i<w.getRowCount(2);i++)k.push(w.getRowReference(i,2));
w.removeReferencedRows(k);
this.__runTest(cg,function(){return w.getRowCount(2)==0;
});
this.__runTest(bH,function(){for(i=0;i<w.getRowCount();i++){var x=w.getValue(r[cb],i);

if(x<20||x>80)return false;
}return true;
});
w.clearAllRows();
this.__runTest(M,function(){for(var v=0;v<w.getViewCount();v++)if(w.getRowCount(v)!=0)return false;
return true;
});
w.sortByColumn(r[cb],true);
N=1000;
var c=[];
var s=0;

for(i=0;i<N;i++){var A=[];
var l=(Math.random()&7)+1;

for(var j=0;j<l;j++){var x=(Math.random()*~0)^0;
var R=[x,ca+x,null,null,x];
A.push(R);
c.push(R);
s++;
}w.addRows(A);
}
if(false){this.__debugobj(c);

for(i=0;i<w.getRowCount();i++)this.__debug(bC+i+cm+w.getValue(r[cb],i));
}this.__runTest(bm,function(){c.sort(function(y,z){return y[r[cb]]-z[r[cb]];
});

for(var i=0;i<c.length;i++)if(w.getValue(r[cb],i)!=c[i][r[cb]])return false;
return true;
});
this.__runTest(J,function(){return w.getRowCount()==s;
});
N=(1<<10);
w.clearAllRows();
s={};
m=[];

for(i=0;i<N;i++){s[i]=1;
m.push([i,ca+i,new qx.ui.basic.Label(ca+i),function(x){return x==i;
},Math.random()]);
}w.addRows(m);
for(i=0;i<(N>>2);i++){var I=(Math.random()*(w.getRowCount()-1))^0;
s[w.getValue(r[cb],I)]=undefined;
w.removeRows(I,1);
}this.__runTest(bE,function(){for(i in s)if(s[i]!=undefined)if(w.locate(r[cb],i)==undefined)return false;

for(i=0;i<w.getRowCount();i++)if(s[w.getValue(r[cb],i)]!=1)return false;
return true;
});
this.__runTest(bF,function(){for(i=0;i<w.getRowCount(2);i++)if(s[w.getValue(r[cb],i,2)]!=1)return false;
return true;
});
w.clearAllRows();
var N=100,t=100;
var m=[];

for(i=0;i<N;i++)if(i!=49&&i!=50&&i!=51)m.push([i,ca+i,new qx.ui.basic.Label(ca+i),function(x){return x==i;
},Math.random()]);
w.addRows(m);
w.addRows([[49,ca+49,new qx.ui.basic.Label(ca+49),function(x){return x==49;
},Math.random()],[50,ca+50,new qx.ui.basic.Label(ca+50),function(x){return x==50;
},Math.random()],[51,ca+51,new qx.ui.basic.Label(ca+51),function(x){return x==51;
},Math.random()]]);
this.__runTest(bq,function(){return (w.getRowCount()==t);
});
this.__runTest(bV,function(){for(i=0;i<N;i++)if(w.getValue(r[cb],i)!=i)return false;
return true;
});
this.__runTest(cc,function(){for(i=0;i<N;i++)if(w.getValueById(cb,i)!=i)return false;
return true;
});
if(this.testsFailed)this.__debug(X);
else this.__debug(bh);
return !this.testsFailed;
}}});
})();
(function(){var cO="",cN="__insertRows: view ",cM='and',cL="changeView",cK='or',cJ="IPs[i] = ",cI="__indices",cH=": ",cG=", A.length = ",cF="_applyView",ds="total time spent in addRows: ",dr=": using push strategy",dq="] is undefined!",dp="Integer",dn="  IPs[",dm="):",dl='function',dk="insertRows: splicing in ",dj="__conjunctions",di="__filters",cV="__backingstore",cW="smart.Smart",cT="ASSERTION FAILURE (2) in __insertRows",cU="ASSERTION FAILURE (0) in __insertRows: row[",cR="...",cS="ASSERTION FAILURE (1) in __insertRows",cP=" (",cQ="__views",cX="...(no properties)",cY=": using splice strategy",dc=" msec",db="__selection_stack",de=" rows",dd="): (null)",dg="] = ",df=": using unshift strategy",da="__assoc",dh=": using copy strategy";
qx.Class.define(cW,{extend:qx.ui.table.model.Simple,include:smart.MSmartUnitTests,construct:function(){arguments.callee.base.call(this);
this.___debug=false;
this.__views=0;
this.__backingstore=[];
this.__filters=[];
this.__conjunctions=[];
this.__assoc=[];
this.__indices={};
this.__selection_stack=[];
this.__selectionIndex=-1;
this.__selectionModel=null;
this.addListener(cL,this._changeView,this);
this.addView();
this._applyView(0,0,false,true);
},properties:{view:{init:0,check:dp,apply:cF,event:cL}},members:{__filters:null,__assoc:null,__indices:null,__conjunctions:null,__backingstore:null,_applyView:function(ex,ey,ez,eA,eB){if(ez==undefined)ez=true;

if(eA==undefined)eA=false;

if(eB==undefined)eB=true;

if(ex==ey&&!eA)return;

if(ex>=this.__views)throw new Error("_applyView: view out of bounds: "+ex+" (0.."+(this.__views-1)+")");
if(eB)this.__saveSelection(ey);
this.__rowArr=this.getRowArray(ex);
if(ez)this.__notifyDataChanged(ex);
},_changeView:function(e){this.__restoreSelection();
},addView:function(S,T,W){this.__backingstore.push([]);
this.__filters.push([]);
this.__conjunctions.push(cM);
this.__assoc.push({});

for(var X in this.__indices)this.__indices[X].push({});
var Y=this.__views++;
this.setFilters(Y,S,T,W);
return Y;
},updateView:function(y){if(this.getView()==y)this.__saveSelection();
this.__evalFilters(y);
if(this.getView()==y)this.__restoreSelection();
},setFilters:function(ca,cb,cc,cd){if(ca){if(this.getView()==ca)this.__saveSelection();

if(cb==undefined)cb=[];
else if(typeof (cb)==dl)cb=[cb];
var ce=[];

if(cc!=undefined&&cc!=null){for(var i=0;i<cb.length;i++)ce.push(function(cu,cv){return function(R){return cv.call(cu,R);
};
}(cc,cb[i]));
}else ce=cb;
this.__filters[ca]=ce;

if(cd!==cM&&cd!==cK)cd=cM;
this.__conjunctions[ca]=cd;
this.__evalFilters(ca);
if(this.getView()==ca)this.__restoreSelection();
}},resetFilters:function(w){this.setFilters(w);
},getViewCount:function(){return this.__views;
},addIndex:function(P){var A=[];

for(var v=0;v<this.__views;v++)A.push({});
this.__indices[P]=A;
this.__updateAssociationMaps(undefined,P);
},locate:function(et,eu,ev){if(ev==undefined)ev=this.getView();
return this.__indices[et][ev][cO+eu];
},indexedSelection:function(dV,dW){this.__selectionIndex=dV;
this.__selectionModel=dW;
this.__selection_stack=[];
this.__selection_stack_depth=0;
},__saveSelection:function(cq,cr){if(cq==undefined)cq=this.getView();

if(!this.__selectionModel||this.__selectionIndex<0||this.__selectionIndex>=this.getColumnCount())return;
var cs=this.__selection_stack[this.__selection_stack_depth++]=[];
var ct=this.__selectionModel;
this.__selectionModel.iterateSelection(function(bE){var bF=this.getValue(this.__selectionIndex,bE,cq);

if(cr&&bF in cr)return;
cs.push(bF);
},this);
},__restoreSelection:function(cm){if(this.selection_stack_depth<1||!this.__selectionModel||this.__selectionIndex<0||this.__selectionIndex>=this.getColumnCount())return;
var co=this.__selectionModel;
co.setBatchMode(true);
this.__clearSelection();
var cn=this.__selection_stack[--this.__selection_stack_depth];

for(var i=0;i<cn.length;i++){var cp=this.locate(this.__selectionIndex,cn[i],cm);

if(cp!=undefined)co.addSelectionInterval(cp,cp);
}co.setBatchMode(false);
},__clearSelection:function(){var dx=this.__selectionModel;

if(dx)dx.clearSelection();
},getRowArray:function(dX){if(dX==undefined)dX=this.getView();
return this.__backingstore[dX];
},__setRowArray:function(ba,A,bb){if(bb==undefined)bb=false;
var bc=false;
if(this.__rowArr==this.getRowArray())bc=true;
this.__backingstore[ba]=A;

if(bc){this._applyView(ba,ba,true,true,bb);
}},__getAssoc:function(cl){if(cl==undefined)cl=this.getView();
return this.__assoc[cl];
},__getFilters:function(J){if(J==undefined)J=this.getView();
return this.__filters[J];
},__getConjunction:function(p){if(p==undefined)p=this.getView();
return this.__conjunctions[p];
},getRowData:function(q,s,t){if(s==undefined)s=this.getView();

if(t==undefined)t=true;
var u=this.getRowCount(s);

if(q<0||q>=u)throw new Error("rowIndex out of bounds: "+q+" (0.."+(u-1)+")");
return t?this.getRowArray(s)[q].slice(0):this.getRowArray(s)[q];
},getRowReference:function(cf,cg){return this.getRowData(cf,cg,false);
},getRowCount:function(x){if(x==undefined)x=this.getView();
return this.getRowArray(x).length;
},getValue:function(eC,eD,eE){if(eE==undefined)eE=this.getView();
var eF=this.getRowCount(eE);

if(eD<0||eD>=eF)throw new Error("this.__rowArr out of bounds: "+eD+" (0.."+eF+")");
return this.getRowArray(eE)[eD][eC];
},getValueById:function(bB,bC,bD){if(bD==undefined)bD=this.getView();
return this.getValue(this.getColumnIndexById(bB),bC,bD);
},__removeRows:function(bJ,bK,bL){if(bL==undefined)bL=true;
var i;
var A=this.getRowArray(bJ);

if(bK.length>=(A.length>>2)){var bM={};

for(i=0;i<bK.length;i++){var bO=this.__getRowIndex(bJ,bK[i]);

if(bO!=undefined)bM[bO]=1;
}var bR=[];

for(i=0;i<A.length;i++)if(!bM[i])bR.push(A[i]);
this.__setRowArray(bJ,bR);
}else{var bM=[];

for(i=0;i<bK.length;i++){var bO=this.__getRowIndex(bJ,bK[i]);

if(bO!=undefined)bM.push(bO);
}bM.sort(function(a,b){return b-a;
});
var bP=bM.length;
var bN;
var A=this.getRowArray(bJ);

for(i=0;i<bP;i+=bN){var bQ=bM[i];
var bS=bQ;
bN=1;

for(var j=1;i+j<bP;j++)if(bM[i+j]==bS-j)bN++;
else break;
A.splice(bQ-bN+1,bN);
}}if(bL)this.__updateAssociationMaps(bJ);
},__push:function(L,M,N){if(N==undefined)N=true;
var A=this.getRowArray(L);
var O=A.length;
A.push.apply(A,M);

if(N)this.__updateAssociationMapsAfterPush(L,M,O);
},__unshift:function(cC,cD,cE){if(cE==undefined)cE=true;
var A=this.getRowArray(cC);
A.unshift.apply(A,cD);
if(cE)this.__updateAssociationMaps(cC);
},__insertRows:function(dB,dC,dD,dE,dF){if(dD==undefined)dD=true;

if(dE==undefined)dE=false;

if(dF==undefined)dF=true;
if(dD&&dB)dC=this.__testAllFilters(dB,dC,false);
if(dC.length==0)return;
if(!this.isSorted()){this.__push(dB,dC,dF);
return;
}var dH=this.getComparator();

if(!dE)dC.sort(dH);

if(false)for(var i=0;i<dC.length;i++)if(dC[i]==undefined)this.__debug(cU+i+dq);
var A=this.getRowArray(dB);

if(!A.length||dH(dC[0],A[A.length-1])>=0){this.__debug(cN+dB+dr);
this.__push(dB,dC,dF);
}else if(dH(dC[dC.length-1],A[0])<=0){this.__debug(cN+dB+df);
this.__unshift(dB,dC,dF);
}else{if(dC.length<(A.length>>1)){this.__debug(cN+dB+cY);
var dL=dC.length;
var i,dI=0,dN=A.length-1;
var dM=[];
for(i=0;i<dL;i++){var dP=this.__binsearch(A,dC[i],dH,dI,dN);

if(dP>=0){}else{dP=-dP-1;
}dM.push(dP);
dI=dP;
}if(false){if(dM.length!=dC.length)this.__debug(cS);

for(i=1;i<dL;i++)if(dM[i-1]>dM[i])this.__debug(cT);

for(i=0;i<dL;i++)this.__debug(dn+i+dg+dM[i]);
}var dG;

for(i=dL-1;i>=0;i-=dG){if(true){if(dM[i]<0)this.__debug(cJ+dM[i]);

if(dM[i]>A.length)this.__debug(cJ+dM[i]+cG+A.length);
}
if(false){A.splice(dM[i],0,dC[i]);
dG=1;
}else{var dU=dM[i];
var dJ=[dM[i],0];
var dR=[dC[i]];
dG=1;

for(var j=1;i-j>=0;j++){if(dM[i-j]==dU){dG++;
dR.push(dC[i-j]);
}else break;
}this.__debug(dk+dG+de);
dR.reverse();
dJ.push.apply(dJ,dR);
A.splice.apply(A,dJ);
}}}else{this.__debug(cN+dB+dh);
var dT=[];
var dO=0,dS=A.length;
var dQ=dC.length;

for(var i=0;i<dQ;i++){var R=dC[i];
while(dO<dS){var dK=dH(R,A[dO]);

if(dK<0){dT.push(R);
break;
}dT.push(A[dO++]);
}if(dO==dS)dT.push(R);
}if(dO<dS)dT.push.apply(dT,A.slice(dO));
this.__setRowArray(dB,dT);
}
if(dF)this.__updateAssociationMaps(dB);
}},__set:function(bT,bU,V,bV){if(bV==undefined)bV=this.getView();
var bY=this.getColumnCount();
var R=this.getRowReference(bU,bV);

if(R==undefined){throw new Error("__set: could not find the row corresponding to index "+bU+" in view "+bV);
return;
}this.__saveSelection();
var bW=false;
if(bT>=0&&bT<bY){if(R[bT]===V){return ;
}else{if(this.__indices[bT]!=undefined)this.__updateUserIndices(bT,R[bT],V);
R[bT]=V;
}bW=(this.isSorted()&&(bT===this.__sortColumnIndex));
}else{for(var bX=0;bX<V.length&&bX<bY;bX++){if(this.__indices[bX]!=undefined)this.__updateUserIndices(bX,R[bX],V[bX]);
R[bX]=V[bX];
}if(this.isSorted()&&V.length>=this.__sortColumnIndex)bW=true;
}this.__propagateRowChangeToAllViews(R,bW);
this.__restoreSelection();
},__propagateRowChangeToAllViews:function(R,c,d,f){if(d==undefined)d=false;

if(f==undefined)f=true;
for(var v=(d?1:0);v<this.__views;v++){var k=this.__getRowIndex(v,R);
var g=(v&&(this.__getRowIndex(v,R)==undefined));
var h=!(v&&
this.__testAllFilters(v,R,true));
if(c){if(!g){this.__removeRows(v,[R]);
}if(!h)this.__insertRows(v,[R],false);
else{}}else{if(g!=h){if(h){this.__removeRows(v,[R]);
}else{this.__insertRows(v,[R],false);
}}}if(f)this.__notifyDataChanged();
}},setValue:function(l,m,n,o){this.__set(l,m,n,o);
},setValueById:function(dt,du,dv,dw){return this.setValue(this.getColumnIndexById(dt),du,dv,dw);
},setRow:function(G,H,I){this.__set(-1,G,H,I);
},setRows:function(bG,bH,bI){if(bI==undefined)bI=this.getView();
for(var i=0;i<bG.length;i++)this.setRow(bH+i,bG[i],bI);
},setData:function(bt,bu){if(bu==undefined)bu=true;

if(bt==null||bt.length==0){this.clearAllRows();
this.__clearSelection();
return;
}var A=[];

if(bu){A=[];

for(var i=0;i<bt.length;i++)A.push(bt[i].slice(0));
}else A=bt.slice(0);
this.__clearSelection();
this.__assignRowIDs(A);
this.__setRowArray(0,A);
this.__evalAllFilters(false,false);
if(this.isSorted())this._resort();
else this.__updateAssociationMaps();
},addRows:function(cw,cx,cy){{};

if(cx==undefined)cx=true;

if(cy==undefined)cy=true;

if(!cw||cw.length==0)return;
this.__saveSelection();
var cB=(new Date()).getTime();
var A=cx?[]:cw;

if(cx)for(var i=0;i<cw.length;i++)A.push(cw[i].slice(0));
this.__assignRowIDs(A);
var cA=this.getComparator();
A.sort(cA);
for(var v=0;v<this.__views;v++)this.__insertRows(v,A,true,true);
this.__restoreSelection();

if(cy)this.__notifyDataChanged();
var cz=(new Date()).getTime();
this.__debug(ds+(cz-cB)+dc);
},removeRows:function(ek,el,em){if(em==undefined)em=this.getView();
var A=this.getRowArray(em);

if(ek==undefined)ek=0;

if(el==undefined)el=A.length-ek;
if(A.length==0)throw new Error("removeRows: attempt to remove rows from empty view");

if(ek<0||ek>A.length)throw new Error("removeRows: startIndex out of bounds: "+ek+" (0.."+(A.length-1)+")");

if(el<0||ek+el-1>=A.length)throw new Error("removeRows: howMany out of bounds: "+el+" (0.."+(A.length-ek)+")");
var en=[];

for(var i=0;i<el;i++)en.push(A[ek+i]);
this.removeReferencedRows(en,em);
},removeReferencedRows:function(Q){this.__saveSelection();

for(var v=0;v<this.__views;v++)this.__removeRows(v,Q);
this.__restoreSelection();
},clearAllRows:function(){if(this.getRowCount()>0){this.__clearSelection();

for(var v=0;v<this.__views;v++)this.__backingstore[v]=[];
this.__updateAssociationMaps();
this.__notifyDataChanged();
}},__testAllFilters:function(bd,R,be){if(be==undefined)be=true;
var bj=this.__getFilters(bd);
var bk=bj.length;
if(be&&bk==1)return bj[0](R);
if(bk==0)return be?true:R;
var bl=this.__getConjunction(bd);
function bg(ew){if(bl===cK){for(var i=0;i<bk;i++)if(bj[i](ew))return true;
return false;
}else{for(var i=0;i<bk;i++)if(!bj[i](ew))return false;
return true;
}}if(be)return bg(R);
var bh=R.length;
var bi=[];

for(var r=0;r<bh;r++){var bf=R[r];

if(bg(bf))bi.push(bf);
}return bi;
},__evalFilters:function(bm,bn,bo){if(!bm)return;

if(bn==undefined)bn=true;

if(bo==undefined)bo=true;
var U=this.getRowArray(0);
this.__setRowArray(bm,this.__testAllFilters(bm,U,false));
if(bo)this.__updateAssociationMaps(bm);
if(bn&&this.getView()==bm)this.__notifyDataChanged(bm);
},__evalAllFilters:function(br,bs){for(var v=1;v<this.__views;v++)this.__evalFilters(v,br,bs);
},__ID:0,__assignRowIDs:function(A){for(var i=0;i<A.length;i++)A[i].__id=this.__ID++;
},__updateAssociationMaps:function(dy,dz){for(var v=0;v<this.__views;v++){if(dy!=undefined&&dy!=v)continue;
var A=this.getRowArray(v);
if(dz==undefined)this.__assoc[v]={};
for(var dA in this.__indices)if(dz==undefined||dz==dA)this.__indices[dA][v]={};
for(var j=0;j<A.length;j++){var R=A[j];

if(dz==undefined)this.__assoc[v][R.__id]=j;
for(var dA in this.__indices)if(dz==undefined||dz==dA){this.__indices[dA][v][cO+R[dA]]=j;
}}}},__updateAssociationMapsAfterPush:function(bv,bw,bx){var bz=this.__getAssoc(bv);
var bA=bx;
for(var i=0;i<bw.length;i++,bA++){var R=bw[i];
bz[R.__id]=bA;
for(var by in this.__indices){this.__indices[by][bv][cO+R[by]]=bA;
}}},__updateUserIndices:function(z,B,C){B=cO+B;
C=cO+C;

for(var F=0;F<this.__views;F++){for(var D in this.__indices){var E=this.__indices[D][F][B];
this.__indices[D][F][B]=undefined;
this.__indices[D][F][C]=E;
}}},__getRowIndex:function(K,R){try{if(R.__id==undefined){return undefined;
}}catch(e){this.__debug(e);
return undefined;
}
for(var v=0;v<this.__views;v++){var r=this.__getAssoc(v)[R.__id];
}return this.__getAssoc(K)[R.__id];
},isSorted:function(){return this.getSortColumnIndex()!=-1;
},getComparator:function(ch,ci){if(ch==undefined)ch=this.__sortColumnIndex;

if(ci==undefined)ci=this.__sortAscending;
var ck;
var cj=this.__sortMethods[ch];

if(cj)ck=(ci?cj.ascending:cj.descending);
else if(this.getCaseSensitiveSorting())ck=(ci?qx.ui.table.model.Simple._defaultSortComparatorAscending:qx.ui.table.model.Simple._defaultSortComparatorDescending);
else ck=(ci?qx.ui.table.model.Simple._defaultSortComparatorInsensitiveAscending:qx.ui.table.model.Simple._defaultSortComparatorInsensitiveDescending);
ck.columnIndex=ch;
return ck;
},sortByColumn:function(dY,ea,eb){if(eb==undefined)eb=false;
this.__saveSelection();
if(!eb&&this.__sortColumnIndex==dY){if(this.__sortAscending==ea)return ;
for(var v=0;v<this.__views;v++)this.getRowArray(v).reverse();
this.__sortAscending=ea;
}else{this.__sortColumnIndex=dY;
this.__sortAscending=ea;
var ec=this.getComparator();
ec.columnIndex=dY;
for(var v=0;v<this.__views;v++)this.getRowArray(v).sort(ec);
}this.__updateAssociationMaps();
this.__restoreSelection();
this.fireEvent(qx.ui.table.ITableModel.EVENT_TYPE_META_DATA_CHANGED);
},_resort:function(){if(this.isSorted())this.sortByColumn(this.__sortColumnIndex,this.__sortAscending,true);
},setSortMethods:function(bp,bq){arguments.callee.base.apply(this,arguments);
if(bp==this.__sortColumnIndex)this._resort();
},__notifyDataChanged:function(ee){if(this.hasListener(qx.ui.table.ITableModel.EVENT_TYPE_DATA_CHANGED)){if(ee==undefined)ee=this.getView();
var ef={firstRow:0,lastRow:this.getRowCount(ee)-1,firstColumn:0,lastColumn:this.getColumnCount()-1};
this.fireDataEvent(qx.ui.table.ITableModel.EVENT_TYPE_DATA_CHANGED,ef);
}},__binsearch:function(A,e,eo,ep,eq){if(ep==undefined)ep=0;

if(eq==undefined)eq=A.length-1;

while(ep<=eq){var er=(ep+eq)>>>1;
var es=eo(A[er],e);

if(es<0)ep=er+1;
else if(es>0)eq=er-1;
else return er;
}return -(ep+1);
},__debug:function(ed){{};
},__debugobj:function(eg,eh,ei){if(eh==undefined)eh=cO;

if(ei==undefined)ei=true;
this.__debug(eh+cP+(eg?(eg+dm):dd));

if(eg==null||eg==undefined){this.__debug(cX);
return;
}
for(var ej in eg){if(ei&&!eg.hasOwnProperty(ej))continue;
this.__debug(cR+ej+cH+eg[ej]);
}}},destruct:function(){this._disposeFields(di,cQ,dj,cV,da,cI,db);
}});
})();
(function(){var dl="Function",dk="Boolean",dj="column-button",di="qx.event.type.Data",dh="statusbar",dg="qx.ui.table.pane.CellEvent",df="PageUp",de="changeLocale",dd="changeSelection",dc="qx.dynlocale",eA="Enter",ez="metaDataChanged",ey="dataChanged",ex="on",ew="_applyTableColumnModel",ev="_applyStatusBarVisible",eu="blur",et="qx.ui.table.Table",es="columnVisibilityMenuCreateEnd",er="widthChanged",dt="verticalScrollBarChanged",du="_applyMetaColumnCounts",dr="one of one row",ds="focus",dp="changeDataRowRenderer",dq="changeHeaderCellHeight",dm="Escape",dn="A",dB="changeSelectionModel",dC="Left",dS="_tableModel",dO="Down",eb="Integer",dV="_applyHeaderCellHeight",en="visibilityChanged",eh="qx.ui.table.ITableModel",dJ="orderChanged",eq="_applySelectionModel",ep="_columnVisibilityMenu",eo="menu",dH="_applyAdditionalStatusBarText",dL="_applyFocusCellOnMouseMove",dN="table",dQ="_applyColumnVisibilityButtonVisible",dT="changeTableModel",dW="qx.event.type.Event",ed="__columnMenuButtons",ej="tableWidthChanged",dv="End",dw="Object",dK="_applyShowCellFocusIndicator",ea="resize",dY="changeScrollY",dX="_applyTableModel",ef="menu-button",ee="_applyKeepFirstVisibleRowComplete",dU="qx.ui.table.columnmodel.Basic",ec="Home",cY="_applyRowHeight",ei="F2",dx="appear",dy="Up",dP="columnVisibilityMenuCreateStart",da="%1 rows",db="qx.ui.table.selection.Model",dG="one row",dz="__selectionManager",dA="PageDown",dF="%1 of %2 rows",dR="changeTableColumnModel",el="keypress",ek="changeRowHeight",dM="Number",em="changeVisible",dI="__scrollerParent",eg="qx.ui.table.IRowRenderer",dD="Right",dE="Space";
qx.Class.define(et,{extend:qx.ui.core.Widget,construct:function(B,C){arguments.callee.base.call(this);
if(!C){C={};
}
if(C.selectionManager){this.setNewSelectionManager(C.selectionManager);
}
if(C.selectionModel){this.setNewSelectionModel(C.selectionModel);
}
if(C.tableColumnModel){this.setNewTableColumnModel(C.tableColumnModel);
}
if(C.tablePane){this.setNewTablePane(C.tablePane);
}
if(C.tablePaneHeader){this.setNewTablePaneHeader(C.tablePaneHeader);
}
if(C.tablePaneScroller){this.setNewTablePaneScroller(C.tablePaneScroller);
}
if(C.tablePaneModel){this.setNewTablePaneModel(C.tablePaneModel);
}
if(C.columnMenu){this.setNewColumnMenu(C.columnMenu);
}this._setLayout(new qx.ui.layout.VBox());
this.__scrollerParent=new qx.ui.container.Composite(new qx.ui.layout.HBox());
this._add(this.__scrollerParent,{flex:1});
this.setDataRowRenderer(new qx.ui.table.rowrenderer.Default(this));
this.__selectionManager=this.getNewSelectionManager()(this);
this.setSelectionModel(this.getNewSelectionModel()(this));
this.setTableColumnModel(this.getNewTableColumnModel()(this));
if(B!=null){this.setTableModel(B);
}this.setMetaColumnCounts([-1]);
this.setTabIndex(1);
this.addListener(el,this._onKeyPress);
this.addListener(ds,this._onFocusChanged);
this.addListener(eu,this._onFocusChanged);
var D=new qx.ui.core.Widget().set({height:0});
this._add(D);
D.addListener(ea,this._onResize,this);
this.__focusedCol=null;
this.__focusedRow=null;
if(qx.core.Variant.isSet(dc,ex)){qx.locale.Manager.getInstance().addListener(de,this._onChangeLocale,this);
}this.initStatusBarVisible();
},events:{"columnVisibilityMenuCreateStart":di,"columnVisibilityMenuCreateEnd":di,"tableWidthChanged":dW,"verticalScrollBarChanged":di,"cellClick":dg,"cellDblclick":dg,"cellContextmenu":dg,"dataEdited":di},statics:{__redirectEvents:{cellClick:1,cellDblclick:1,cellContextmenu:1}},properties:{appearance:{refine:true,init:dN},focusable:{refine:true,init:true},minWidth:{refine:true,init:50},selectable:{refine:true,init:false},selectionModel:{check:db,apply:eq,event:dB},tableModel:{check:eh,apply:dX,event:dT,nullable:true},tableColumnModel:{check:dU,apply:ew,event:dR},rowHeight:{check:dM,init:20,apply:cY,event:ek},forceLineHeight:{check:dk,init:true},headerCellHeight:{check:eb,init:16,apply:dV,event:dq},statusBarVisible:{check:dk,init:true,apply:ev},additionalStatusBarText:{nullable:true,init:null,apply:dH},columnVisibilityButtonVisible:{check:dk,init:true,apply:dQ},metaColumnCounts:{check:dw,apply:du},focusCellOnMouseMove:{check:dk,init:false,apply:dL},rowFocusChangeModifiesSelection:{check:dk,init:true},showCellFocusIndicator:{check:dk,init:true,apply:dK},keepFirstVisibleRowComplete:{check:dk,init:true,apply:ee},alwaysUpdateCells:{check:dk,init:false},dataRowRenderer:{check:eg,init:null,nullable:true,event:dp},modalCellEditorPreOpenFunction:{check:dl,init:null,nullable:true},newColumnMenu:{check:dl,init:function(){return new qx.ui.table.columnmenu.Button();
}},newSelectionManager:{check:dl,init:function(bI){return new qx.ui.table.selection.Manager(bI);
}},newSelectionModel:{check:dl,init:function(L){return new qx.ui.table.selection.Model(L);
}},newTableColumnModel:{check:dl,init:function(cp){return new qx.ui.table.columnmodel.Basic(cp);
}},newTablePane:{check:dl,init:function(cU){return new qx.ui.table.pane.Pane(cU);
}},newTablePaneHeader:{check:dl,init:function(bv){return new qx.ui.table.pane.Header(bv);
}},newTablePaneScroller:{check:dl,init:function(bH){return new qx.ui.table.pane.Scroller(bH);
}},newTablePaneModel:{check:dl,init:function(bJ){return new qx.ui.table.pane.Model(bJ);
}}},members:{__focusedCol:null,__focusedRow:null,__scrollerParent:null,__selectionManager:null,__additionalStatusBarText:null,__lastRowCount:null,__internalChange:null,__columnMenuButtons:null,_createChildControlImpl:function(eJ){var eK;

switch(eJ){case dh:eK=new qx.ui.basic.Label();
eK.set({allowGrowX:true});
this._add(eK);
break;
case dj:eK=this.getNewColumnMenu()();
eK.set({focusable:false});
var eL=eK.factory(eo,{table:this});
eL.addListener(dx,this._initColumnMenu,this);
break;
}return eK||arguments.callee.base.call(this,eJ);
},_applySelectionModel:function(bk,bl){this.__selectionManager.setSelectionModel(bk);

if(bl!=null){bl.removeListener(dd,this._onSelectionChanged,this);
}bk.addListener(dd,this._onSelectionChanged,this);
},_applyRowHeight:function(cb,cc){if(!this.getTableModel()){return;
}var cd=this._getPaneScrollerArr();

for(var i=0;i<cd.length;i++){cd[i].updateVerScrollBarMaximum();
}},_applyHeaderCellHeight:function(cm,cn){var co=this._getPaneScrollerArr();

for(var i=0;i<co.length;i++){co[i].getHeader().setHeight(cm);
}},_applyTableModel:function(bw,bx){this.getTableColumnModel().init(bw.getColumnCount(),this);

if(bx!=null){bx.removeListener(ez,this._onTableModelMetaDataChanged,this);
bx.removeListener(ey,this._onTableModelDataChanged,this);
}bw.addListener(ez,this._onTableModelMetaDataChanged,this);
bw.addListener(ey,this._onTableModelDataChanged,this);
this._updateStatusBar();
this._updateTableData(0,bw.getRowCount(),0,bw.getColumnCount());
this._onTableModelMetaDataChanged();
},_applyTableColumnModel:function(bo,bp){if(bp!=null){throw new Error("The table column model can only be set once per table.");
}bo.addListener(en,this._onColVisibilityChanged,this);
bo.addListener(er,this._onColWidthChanged,this);
bo.addListener(dJ,this._onColOrderChanged,this);
var br=this.getTableModel();
if(br){bo.init(br.getColumnCount(),this);
}var bq=this._getPaneScrollerArr();

for(var i=0;i<bq.length;i++){var bs=bq[i];
var bt=bs.getTablePaneModel();
bt.setTableColumnModel(bo);
}},_applyStatusBarVisible:function(cq,cr){if(cq){this._showChildControl(dh);
}else{this._excludeChildControl(dh);
}
if(cq){this._updateStatusBar();
}},_applyAdditionalStatusBarText:function(J,K){this.__additionalStatusBarText=J;
this._updateStatusBar();
},_applyColumnVisibilityButtonVisible:function(cV,cW){if(cV){this._showChildControl(dj);
}else{this._excludeChildControl(dj);
}},_applyMetaColumnCounts:function(bK,bL){var bS=bK;
var bM=this._getPaneScrollerArr();
var bQ={};

if(bK>bL){var bU=qx.event.Registration.getManager(bM[0]);

for(var bV in qx.ui.table.Table.__redirectEvents){bQ[bV]={};
bQ[bV].capture=bU.getListeners(bM[0],bV,true);
bQ[bV].bubble=bU.getListeners(bM[0],bV,false);
}}this._cleanUpMetaColumns(bS.length);
var bR=0;

for(var i=0;i<bM.length;i++){var bW=bM[i];
var bT=bW.getTablePaneModel();
bT.setFirstColumnX(bR);
bT.setMaxColumnCount(bS[i]);
bR+=bS[i];
}if(bS.length>bM.length){var bP=this.getTableColumnModel();

for(var i=bM.length;i<bS.length;i++){var bT=this.getNewTablePaneModel()(bP);
bT.setFirstColumnX(bR);
bT.setMaxColumnCount(bS[i]);
bR+=bS[i];
var bW=this.getNewTablePaneScroller()(this);
bW.setTablePaneModel(bT);
bW.addListener(dY,this._onScrollY,this);
for(bV in qx.ui.table.Table.__redirectEvents){if(!bQ[bV]){break;
}
if(bQ[bV].capture&&bQ[bV].capture.length>0){var bN=bQ[bV].capture;

for(var i=0;i<bN.length;i++){var bO=bN[i].context;

if(!bO){bO=this;
}else if(bO==bM[0]){bO=bW;
}bW.addListener(bV,bN[i].handler,bO,true);
}}
if(bQ[bV].bubble&&bQ[bV].bubble.length>0){var bY=bQ[bV].bubble;

for(var i=0;i<bY.length;i++){var bO=bY[i].context;

if(!bO){bO=this;
}else if(bO==bM[0]){bO=bW;
}bW.addListener(bV,bY[i].handler,bO,false);
}}}var bX=(i==bS.length-1)?1:0;
this.__scrollerParent.add(bW,{flex:bX});
bM=this._getPaneScrollerArr();
}}for(var i=0;i<bM.length;i++){var bW=bM[i];
var ca=(i==(bM.length-1));
bW.getHeader().setHeight(this.getHeaderCellHeight());
bW.setTopRightWidget(ca?this.getChildControl(dj):null);
}
if(!this.isColumnVisibilityButtonVisible()){this._excludeChildControl(dj);
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},_applyFocusCellOnMouseMove:function(bE,bF){var bG=this._getPaneScrollerArr();

for(var i=0;i<bG.length;i++){bG[i].setFocusCellOnMouseMove(bE);
}},_applyShowCellFocusIndicator:function(cD,cE){var cF=this._getPaneScrollerArr();

for(var i=0;i<cF.length;i++){cF[i].setShowCellFocusIndicator(cD);
}},_applyKeepFirstVisibleRowComplete:function(eM,eN){var eO=this._getPaneScrollerArr();

for(var i=0;i<eO.length;i++){eO[i].onKeepFirstVisibleRowCompleteChanged();
}},getSelectionManager:function(){return this.__selectionManager;
},_getPaneScrollerArr:function(){return this.__scrollerParent.getChildren();
},getPaneScroller:function(cX){return this._getPaneScrollerArr()[cX];
},_cleanUpMetaColumns:function(cS){var cT=this._getPaneScrollerArr();

if(cT!=null){for(var i=cT.length-1;i>=cS;i--){cT[i].destroy();
}}},_onChangeLocale:function(eQ){this.updateContent();
this._updateStatusBar();
},_onSelectionChanged:function(by){var bz=this._getPaneScrollerArr();

for(var i=0;i<bz.length;i++){bz[i].onSelectionChanged();
}this._updateStatusBar();
},_onTableModelMetaDataChanged:function(cJ){var cK=this._getPaneScrollerArr();

for(var i=0;i<cK.length;i++){cK[i].onTableModelMetaDataChanged();
}this._updateStatusBar();
},_onTableModelDataChanged:function(e){var f=e.getData();
this._updateTableData(f.firstRow,f.lastRow,f.firstColumn,f.lastColumn,f.removeStart,f.removeCount);
},_updateTableData:function(bc,bd,be,bf,bg,bh){var bi=this._getPaneScrollerArr();
if(bh){this.getSelectionModel().removeSelectionInterval(bg,bg+bh);
}
for(var i=0;i<bi.length;i++){bi[i].onTableModelDataChanged(bc,bd,be,bf);
}var bj=this.getTableModel().getRowCount();

if(bj!=this.__lastRowCount){this.__lastRowCount=bj;
this._updateScrollBarVisibility();
this._updateStatusBar();
}},_onScrollY:function(U){if(!this.__internalChange){this.__internalChange=true;
var V=this._getPaneScrollerArr();

for(var i=0;i<V.length;i++){V[i].setScrollY(U.getData());
}this.__internalChange=false;
}},_onKeyPress:function(p){if(!this.getEnabled()){return;
}var w=this.__focusedRow;
var t=true;
var y=p.getKeyIdentifier();

if(this.isEditing()){if(p.getModifiers()==0){switch(y){case eA:this.stopEditing();
var w=this.__focusedRow;
this.moveFocusedCell(0,1);

if(this.__focusedRow!=w){t=this.startEditing();
}break;
case dm:this.cancelEditing();
this.focus();
break;
default:t=false;
break;
}}return;
}else{if(p.isCtrlPressed()){t=true;

switch(y){case dn:var u=this.getTableModel().getRowCount();

if(u>0){this.getSelectionModel().setSelectionInterval(0,u-1);
}break;
default:t=false;
break;
}}else{switch(y){case dE:this.__selectionManager.handleSelectKeyDown(this.__focusedRow,p);
break;
case ei:case eA:t=this.startEditing();
break;
case ec:this.setFocusedCell(this.__focusedCol,0,true);
break;
case dv:var u=this.getTableModel().getRowCount();
this.setFocusedCell(this.__focusedCol,u-1,true);
break;
case dC:this.moveFocusedCell(-1,0);
break;
case dD:this.moveFocusedCell(1,0);
break;
case dy:this.moveFocusedCell(0,-1);
break;
case dO:this.moveFocusedCell(0,1);
break;
case df:case dA:var s=this.getPaneScroller(0);
var v=s.getTablePane();
var u=v.getVisibleRowCount()-1;
var r=this.getRowHeight();
var q=(y==df)?-1:1;
s.setScrollY(s.getScrollY()+q*u*r);
this.moveFocusedCell(0,q*u);
break;
default:t=false;
}}}
if(w!=this.__focusedRow&&this.getRowFocusChangeModifiesSelection()){this.__selectionManager.handleMoveKeyDown(this.__focusedRow,p);
}
if(t){p.preventDefault();
p.stopPropagation();
}},_onFocusChanged:function(bm){var bn=this._getPaneScrollerArr();

for(var i=0;i<bn.length;i++){bn[i].onFocusChanged();
}},_onColVisibilityChanged:function(m){var n=this._getPaneScrollerArr();

for(var i=0;i<n.length;i++){n[i].onColVisibilityChanged();
}var o=m.getData();

if(this.__columnMenuButtons!=null&&o.col!=null&&o.visible!=null){this.__columnMenuButtons[o.col].setVisible(o.visible);
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},_onColWidthChanged:function(cj){var ck=this._getPaneScrollerArr();

for(var i=0;i<ck.length;i++){var cl=cj.getData();
ck[i].setColumnWidth(cl.col,cl.newWidth);
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},_onColOrderChanged:function(cs){var ct=this._getPaneScrollerArr();

for(var i=0;i<ct.length;i++){ct[i].onColOrderChanged();
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},getTablePaneScrollerAtPageX:function(cu){var cv=this._getMetaColumnAtPageX(cu);
return (cv!=-1)?this.getPaneScroller(cv):null;
},setFocusedCell:function(eR,eS,eT){if(!this.isEditing()&&(eR!=this.__focusedCol||eS!=this.__focusedRow)){if(eR===null){eR=0;
}this.__focusedCol=eR;
this.__focusedRow=eS;
var eU=this._getPaneScrollerArr();

for(var i=0;i<eU.length;i++){eU[i].setFocusedCell(eR,eS);
}
if(eR!==null&&eT){this.scrollCellVisible(eR,eS);
}}},clearSelection:function(){this.getSelectionModel().clearSelection();
},resetCellFocus:function(){this.setFocusedCell(null,null,false);
},getFocusedColumn:function(){return this.__focusedCol;
},getFocusedRow:function(){return this.__focusedRow;
},highlightFocusedRow:function(eP){this.getDataRowRenderer().setHighlightFocusRow(eP);
},clearFocusedRowHighlight:function(){this.resetCellFocus();
var bb=this._getPaneScrollerArr();

for(var i=0;i<bb.length;i++){bb[i].onFocusChanged();
}},moveFocusedCell:function(cw,cx){var cB=this.__focusedCol;
var cC=this.__focusedRow;

if(cB===null||cC===null){return;
}
if(cw!=0){var cA=this.getTableColumnModel();
var x=cA.getVisibleX(cB);
var cz=cA.getVisibleColumnCount();
x=qx.lang.Number.limit(x+cw,0,cz-1);
cB=cA.getVisibleColumnAtX(x);
}
if(cx!=0){var cy=this.getTableModel();
cC=qx.lang.Number.limit(cC+cx,0,cy.getRowCount()-1);
}this.setFocusedCell(cB,cC,true);
},scrollCellVisible:function(ce,cf){var cg=this.getTableColumnModel();
var x=cg.getVisibleX(ce);
var ch=this._getMetaColumnAtColumnX(x);

if(ch!=-1){this.getPaneScroller(ch).scrollCellVisible(ce,cf);
}},isEditing:function(){if(this.__focusedCol!=null){var x=this.getTableColumnModel().getVisibleX(this.__focusedCol);
var cG=this._getMetaColumnAtColumnX(x);
return this.getPaneScroller(cG).isEditing();
}return false;
},startEditing:function(){if(this.__focusedCol!=null){var x=this.getTableColumnModel().getVisibleX(this.__focusedCol);
var I=this._getMetaColumnAtColumnX(x);
var H=this.getPaneScroller(I).startEditing();
return H;
}return false;
},stopEditing:function(){if(this.__focusedCol!=null){var x=this.getTableColumnModel().getVisibleX(this.__focusedCol);
var bu=this._getMetaColumnAtColumnX(x);
this.getPaneScroller(bu).stopEditing();
}},cancelEditing:function(){if(this.__focusedCol!=null){var x=this.getTableColumnModel().getVisibleX(this.__focusedCol);
var W=this._getMetaColumnAtColumnX(x);
this.getPaneScroller(W).cancelEditing();
}},updateContent:function(){var ci=this._getPaneScrollerArr();

for(var i=0;i<ci.length;i++){ci[i].getTablePane().updateContent();
}},_getMetaColumnAtPageX:function(E){var F=this._getPaneScrollerArr();

for(var i=0;i<F.length;i++){var G=F[i].getContainerLocation();

if(E>=G.left&&E<=G.right){return i;
}}return -1;
},_getMetaColumnAtColumnX:function(bA){var bC=this.getMetaColumnCounts();
var bD=0;

for(var i=0;i<bC.length;i++){var bB=bC[i];
bD+=bB;

if(bB==-1||bA<bD){return i;
}}return -1;
},_updateStatusBar:function(){var a=this.getTableModel();

if(this.getStatusBarVisible()&&a){var b=this.getSelectionModel().getSelectedCount();
var d=a.getRowCount();
var c;

if(d>=0){if(b==0){c=this.trn(dG,da,d,d);
}else{c=this.trn(dr,dF,d,b,d);
}}
if(this.__additionalStatusBarText){if(c){c+=this.__additionalStatusBarText;
}else{c=this.__additionalStatusBarText;
}}
if(c){this.getChildControl(dh).setValue(c);
}}},_updateScrollerWidths:function(){var Q=this._getPaneScrollerArr();

for(var i=0;i<Q.length;i++){var S=(i==(Q.length-1));
var T=Q[i].getTablePaneModel().getTotalWidth();
Q[i].setPaneWidth(T);
var R=S?1:0;
Q[i].setLayoutProperties({flex:R});
}},_updateScrollBarVisibility:function(){if(!this.getBounds()){return;
}var eE=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;
var eH=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;
var eB=this._getPaneScrollerArr();
var eD=false;
var eG=false;

for(var i=0;i<eB.length;i++){var eI=(i==(eB.length-1));
var eC=eB[i].getNeededScrollBars(eD,!eI);

if(eC&eE){eD=true;
}
if(eI&&(eC&eH)){eG=true;
}}for(var i=0;i<eB.length;i++){var eI=(i==(eB.length-1));
var eF;
eB[i].setHorizontalScrollBarVisible(eD);
if(eI){eF=eB[i].getVerticalScrollBarVisible();
}eB[i].setVerticalScrollBarVisible(eI&&eG);
if(eI&&eG!=eF){this.fireDataEvent(dt,eG);
}}},_initColumnMenu:function(){var cN=this.getTableModel();
var cO=this.getTableColumnModel();
var cP=this.getChildControl(dj);
cP.empty();
var cM=cP.getMenu();
var cQ={table:this,menu:cM,columnButton:cP};
this.fireDataEvent(dP,cQ);
this.__columnMenuButtons={};

for(var cR=0,l=cN.getColumnCount();cR<l;cR++){var cL=cP.factory(ef,{text:cN.getColumnName(cR),column:cR,bVisible:cO.isColumnVisible(cR)});
qx.core.Assert.assertInterface(cL,qx.ui.table.IColumnMenuItem);
cL.addListener(em,this._createColumnVisibilityCheckBoxHandler(cR),this);
this.__columnMenuButtons[cR]=cL;
}var cQ={table:this,menu:cM,columnButton:cP};
this.fireDataEvent(es,cQ);
},_createColumnVisibilityCheckBoxHandler:function(X){return function(cH){var cI=this.getTableColumnModel();
cI.setColumnVisible(X,cH.getData());
};
},setColumnWidth:function(Y,ba){this.getTableColumnModel().setColumnWidth(Y,ba);
},_onResize:function(){this.fireEvent(ej);
this._updateScrollerWidths();
this._updateScrollBarVisibility();
},addListener:function(g,h,self,j){if(arguments.callee.self.__redirectEvents[g]){for(var i=0,k=this._getPaneScrollerArr();i<k.length;i++){k[i].addListener.apply(k[i],arguments);
}}else{return arguments.callee.base.call(this,g,h,self,j);
}},removeListener:function(M,N,self,O){if(arguments.callee.self.__redirectEvents[M]){for(var i=0,P=this._getPaneScrollerArr();i<P.length;i++){P[i].removeListener.apply(P[i],arguments);
}}else{arguments.callee.base.call(this,M,N,self,O);
}},destroy:function(){this.getChildControl(dj).getMenu().destroy();
arguments.callee.base.call(this);
}},destruct:function(){if(qx.core.Variant.isSet(dc,ex)){qx.locale.Manager.getInstance().removeListener(de,this._onChangeLocale,this);
}var A=this.getSelectionModel();

if(A){A.dispose();
}var z=this.getDataRowRenderer();

if(z){z.dispose();
}this._cleanUpMetaColumns(0);
this.getTableColumnModel().dispose();
this._disposeObjects(dz,ep,dS,dI);
this._disposeMap(ed);
}});
})();
(function(){var O="_applyLayoutChange",N="top",M="left",L="middle",K="Decorator",J="__flexs",I="center",H="_applyReversed",G="bottom",F="__heights",C="qx.ui.layout.VBox",E="__children",D="Integer",B="right",A="Boolean";
qx.Class.define(C,{extend:qx.ui.layout.Abstract,construct:function(bl,bm,bn){arguments.callee.base.call(this);

if(bl){this.setSpacing(bl);
}
if(bm){this.setAlignY(bm);
}
if(bn){this.setSeparator(bn);
}},properties:{alignY:{check:[N,L,G],init:N,apply:O},alignX:{check:[M,I,B],init:M,apply:O},spacing:{check:D,init:0,apply:O},separator:{check:K,nullable:true,apply:O},reversed:{check:A,init:false,apply:H}},members:{__heights:null,__flexs:null,__enableFlex:null,__children:null,_applyReversed:function(){this._invalidChildrenCache=true;
this._applyLayoutChange();
},__rebuildCache:function(){var bk=this._getLayoutChildren();
var length=bk.length;
var bg=false;
var bf=this.__heights&&this.__heights.length!=length&&this.__flexs&&this.__heights;
var bi;
var bh=bf?this.__heights:new Array(length);
var bj=bf?this.__flexs:new Array(length);
if(this.getReversed()){bk=bk.concat().reverse();
}for(var i=0;i<length;i++){bi=bk[i].getLayoutProperties();

if(bi.height!=null){bh[i]=parseFloat(bi.height)/100;
}
if(bi.flex!=null){bj[i]=bi.flex;
bg=true;
}}if(!bf){this.__heights=bh;
this.__flexs=bj;
}this.__enableFlex=bg;
this.__children=bk;
delete this._invalidChildrenCache;
},verifyLayoutProperty:null,renderLayout:function(a,b){if(this._invalidChildrenCache){this.__rebuildCache();
}var j=this.__children;
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.__heights[i];
e=o!=null?Math.floor((b-f)*o):j[i].getSizeHint().height;
p.push(e);
v+=e;
}if(this.__enableFlex&&v!=b){var m={};
var s,w;

for(i=0;i<length;i+=1){s=this.__flexs[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()!=N){top=b-v;

if(this.getAlignY()===L){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.__rebuildCache();
}var V=qx.ui.layout.Util;
var be=this.__children;
var R=0,U=0,T=0;
var P=0,W=0;
var bb,Q,bd;
for(var i=0,l=be.length;i<l;i+=1){bb=be[i];
Q=bb.getSizeHint();
U+=Q.height;
var ba=this.__flexs[i];
var S=this.__heights[i];

if(ba){R+=Q.minHeight;
}else if(S){T=Math.max(T,Math.round(Q.minHeight/S));
}else{R+=Q.height;
}bd=bb.getMarginLeft()+bb.getMarginRight();
if((Q.width+bd)>W){W=Q.width+bd;
}if((Q.minWidth+bd)>P){P=Q.minWidth+bd;
}}R+=T;
var Y=this.getSpacing();
var bc=this.getSeparator();

if(bc){var X=V.computeVerticalSeparatorGaps(be,Y,bc);
}else{var X=V.computeVerticalGaps(be,Y,true);
}return {minHeight:R+X,height:U+X,minWidth:P,width:W};
}},destruct:function(){this._disposeFields(F,J,E);
}});
})();
(function(){var w="_applyLayoutChange",v="left",u="center",t="top",s="Decorator",r="__flexs",q="middle",p="_applyReversed",o="bottom",n="__widths",j="Boolean",m="__children",k="right",h="Integer",g="qx.ui.layout.HBox";
qx.Class.define(g,{extend:qx.ui.layout.Abstract,construct:function(x,y,z){arguments.callee.base.call(this);

if(x){this.setSpacing(x);
}
if(y){this.setAlignX(y);
}
if(z){this.setSeparator(z);
}},properties:{alignX:{check:[v,u,k],init:v,apply:w},alignY:{check:[t,q,o],init:t,apply:w},spacing:{check:h,init:0,apply:w},separator:{check:s,nullable:true,apply:w},reversed:{check:j,init:false,apply:p}},members:{__widths:null,__flexs:null,__enableFlex:null,__children:null,_applyReversed:function(){this._invalidChildrenCache=true;
this._applyLayoutChange();
},__rebuildCache:function(){var f=this._getLayoutChildren();
var length=f.length;
var c=false;
var a=this.__widths&&this.__widths.length!=length&&this.__flexs&&this.__widths;
var d;
var b=a?this.__widths:new Array(length);
var e=a?this.__flexs:new Array(length);
if(this.getReversed()){f=f.concat().reverse();
}for(var i=0;i<length;i++){d=f[i].getLayoutProperties();

if(d.width!=null){b[i]=parseFloat(d.width)/100;
}
if(d.flex!=null){e[i]=d.flex;
c=true;
}}if(!a){this.__widths=b;
this.__flexs=e;
}this.__enableFlex=c;
this.__children=f;
delete this._invalidChildrenCache;
},verifyLayoutProperty:null,renderLayout:function(P,Q){if(this._invalidChildrenCache){this.__rebuildCache();
}var W=this.__children;
var length=W.length;
var bg=qx.ui.layout.Util;
var bf=this.getSpacing();
var bj=this.getSeparator();

if(bj){var T=bg.computeHorizontalSeparatorGaps(W,bf,bj);
}else{var T=bg.computeHorizontalGaps(W,bf,true);
}var i,R,bd,bc;
var bi=[];
var X=T;

for(i=0;i<length;i+=1){bc=this.__widths[i];
bd=bc!=null?Math.floor((P-T)*bc):W[i].getSizeHint().width;
bi.push(bd);
X+=bd;
}if(this.__enableFlex&&X!=P){var ba={};
var be,bh;

for(i=0;i<length;i+=1){be=this.__flexs[i];

if(be>0){Y=W[i].getSizeHint();
ba[i]={min:Y.minWidth,value:bi[i],max:Y.maxWidth,flex:be};
}}var U=bg.computeFlexOffsets(ba,P,X);

for(i in U){bh=U[i].offset;
bi[i]+=bh;
X+=bh;
}}var bn=W[0].getMarginLeft();
if(X<P&&this.getAlignX()!=v){bn=P-X;

if(this.getAlignX()===u){bn=Math.round(bn/2);
}}var Y,top,S,bd,V,bl,bb;
var bf=this.getSpacing();
this._clearSeparators();
if(bj){var bk=qx.theme.manager.Decoration.getInstance().resolve(bj).getInsets();
var bm=bk.left+bk.right;
}for(i=0;i<length;i+=1){R=W[i];
bd=bi[i];
Y=R.getSizeHint();
bl=R.getMarginTop();
bb=R.getMarginBottom();
S=Math.max(Y.minHeight,Math.min(Q-bl-bb,Y.maxHeight));
top=bg.computeVerticalAlignOffset(R.getAlignY()||this.getAlignY(),S,Q,bl,bb);
if(i>0){if(bj){bn+=V+bf;
this._renderSeparator(bj,{left:bn,top:0,width:bm,height:Q});
bn+=bm+bf+R.getMarginLeft();
}else{bn+=bg.collapseMargins(bf,V,R.getMarginLeft());
}}R.renderLayout(bn,top,bd,S);
bn+=bd;
V=R.getMarginRight();
}},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__rebuildCache();
}var G=qx.ui.layout.Util;
var O=this.__children;
var A=0,H=0,E=0;
var D=0,F=0;
var L,B,N;
for(var i=0,l=O.length;i<l;i+=1){L=O[i];
B=L.getSizeHint();
H+=B.width;
var K=this.__flexs[i];
var C=this.__widths[i];

if(K){A+=B.minWidth;
}else if(C){E=Math.max(E,Math.round(B.minWidth/C));
}else{A+=B.width;
}N=L.getMarginTop()+L.getMarginBottom();
if((B.height+N)>F){F=B.height+N;
}if((B.minHeight+N)>D){D=B.minHeight+N;
}}A+=E;
var J=this.getSpacing();
var M=this.getSeparator();

if(M){var I=G.computeHorizontalSeparatorGaps(O,J,M);
}else{var I=G.computeHorizontalGaps(O,J,true);
}return {minWidth:A+I,width:H+I,minHeight:D,height:F};
}},destruct:function(){this._disposeFields(n,r,m);
}});
})();
(function(){var c="qx.ui.table.IRowRenderer";
qx.Interface.define(c,{members:{updateDataRowElement:function(a,b){},getRowHeightStyle:function(d){},createRowStyle:function(e){},getRowClass:function(f){}}});
})();
(function(){var j="",i="table-row-background-even",h="Boolean",g="default",f="__fontStyleString",e="height:",d="'",c="table-row",b="table-row-background-focused",a=';color:',w="table-row-background-odd",v="1px solid ",u="table-row-line",t="table-row-background-selected",s="background-color:",r="__fontStyle",q=';border-bottom: 1px solid ',p="table-row-selected",o="table-row-background-focused-selected",n="px;",l="__colors",m="qx.ui.table.rowrenderer.Default",k=";";
qx.Class.define(m,{extend:qx.core.Object,implement:qx.ui.table.IRowRenderer,construct:function(){arguments.callee.base.call(this);
this.__fontStyleString=j;
this.__fontStyleString={};
this.__colors={};
this._renderFont(qx.theme.manager.Font.getInstance().resolve(g));
var y=qx.theme.manager.Color.getInstance();
this.__colors.bgcolFocusedSelected=y.resolve(o);
this.__colors.bgcolFocused=y.resolve(b);
this.__colors.bgcolSelected=y.resolve(t);
this.__colors.bgcolEven=y.resolve(i);
this.__colors.bgcolOdd=y.resolve(w);
this.__colors.colSelected=y.resolve(p);
this.__colors.colNormal=y.resolve(c);
this.__colors.horLine=y.resolve(u);
},properties:{highlightFocusRow:{check:h,init:true}},members:{__colors:null,__fontStyle:null,__fontStyleString:null,_insetY:1,_renderFont:function(x){if(x){this.__fontStyle=x.getStyles();
this.__fontStyleString=qx.bom.element.Style.compile(this.__fontStyle);
this.__fontStyleString=this.__fontStyleString.replace(/"/g,d);
}else{this.__fontStyleString=j;
this.__fontStyle=qx.bom.Font.getDefaultStyles();
}},updateDataRowElement:function(B,C){var E=this.__fontStyle;
var D=C.style;
qx.bom.element.Style.setStyles(C,E);

if(B.focusedRow&&this.getHighlightFocusRow()){D.backgroundColor=B.selected?this.__colors.bgcolFocusedSelected:this.__colors.bgcolFocused;
}else{if(B.selected){D.backgroundColor=this.__colors.bgcolSelected;
}else{D.backgroundColor=(B.row%2==0)?this.__colors.bgcolEven:this.__colors.bgcolOdd;
}}D.color=B.selected?this.__colors.colSelected:this.__colors.colNormal;
D.borderBottom=v+this.__colors.horLine;
},getRowHeightStyle:function(A){if(qx.bom.client.Feature.CONTENT_BOX){A-=this._insetY;
}return e+A+n;
},createRowStyle:function(F){var G=[];
G.push(k);
G.push(this.__fontStyleString);
G.push(s);

if(F.focusedRow&&this.getHighlightFocusRow()){G.push(F.selected?this.__colors.bgcolFocusedSelected:this.__colors.bgcolFocused);
}else{if(F.selected){G.push(this.__colors.bgcolSelected);
}else{G.push((F.row%2==0)?this.__colors.bgcolEven:this.__colors.bgcolOdd);
}}G.push(a);
G.push(F.selected?this.__colors.colSelected:this.__colors.colNormal);
G.push(q,this.__colors.horLine);
return G.join(j);
},getRowClass:function(z){return j;
}},destruct:function(){this._disposeFields(l,r,f);
}});
})();
(function(){var m="toolTipText",l="icon",k="label",j="qx.ui.core.MExecutable",h="value",g="qx.event.type.Event",f="execute",e="_applyCommand",d="enabled",c="menu",a="changeCommand",b="qx.ui.core.Command";
qx.Mixin.define(j,{events:{"execute":g},properties:{command:{check:b,apply:e,event:a,nullable:true}},members:{__executableBindingIds:null,_bindableProperties:[d,k,l,m,h,c],execute:function(){var n=this.getCommand();

if(n){n.execute(this);
}this.fireEvent(f);
},_applyCommand:function(o,p){var s=this.__executableBindingIds;

if(s==null){this.__executableBindingIds=s={};
}
for(var i=0;i<this._bindableProperties.length;i++){var r=this._bindableProperties[i];
if(p!=null&&s[r]!=null){p.removeBinding(s[r]);
s[r]=null;
}if(o!=null&&qx.Class.hasProperty(this.constructor,r)){var q=o.get(r);

if(q==null){var t=this.get(r);
}s[r]=o.bind(r,this,r);
if(t){this.set(r,t);
}}}}}});
})();
(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 n="pressed",m="hovered",l="changeVisibility",k="qx.ui.menu.Menu",j="submenu",i="Enter",h="contextmenu",g="changeMenu",f="qx.ui.form.MenuButton",d="abandoned",c="_applyMenu";
qx.Class.define(f,{extend:qx.ui.form.Button,construct:function(o,p,q){arguments.callee.base.call(this,o,p);
if(q!=null){this.setMenu(q);
}},properties:{menu:{check:k,nullable:true,apply:c,event:g}},members:{_applyMenu:function(r,s){if(s){s.removeListener(l,this._onMenuChange,this);
s.resetOpener();
}
if(r){r.addListener(l,this._onMenuChange,this);
r.setOpener(this);
r.removeState(j);
r.removeState(h);
}},open:function(t){var u=this.getMenu();

if(u){qx.ui.menu.Manager.getInstance().hideAll();
u.setOpener(this);
u.open();
if(t){var v=u.getSelectables()[0];

if(v){u.setSelectedButton(v);
}}}},_onMenuChange:function(e){var a=this.getMenu();

if(a.isVisible()){this.addState(n);
}else{this.removeState(n);
}},_onMouseDown:function(e){var w=this.getMenu();

if(w){if(!w.isVisible()){this.open();
}else{w.exclude();
}e.stopPropagation();
}},_onMouseUp:function(e){arguments.callee.base.call(this,e);
e.stopPropagation();
},_onMouseOver:function(e){this.addState(m);
},_onMouseOut:function(e){this.removeState(m);
},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case i:this.removeState(d);
this.addState(n);
var b=this.getMenu();

if(b){if(!b.isVisible()){this.open();
}else{b.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:{__columnMenuButtons: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 t="keypress",s="interval",r="keydown",q="mousedown",p="keyup",o="__openTimer",n="blur",m="Enter",l="Up",k="__objects",c="Escape",j="__closeTimer",g="qx.ui.menu.Manager",b="Left",a="Down",f="Right",d="singleton",h="Space";
qx.Class.define(g,{type:d,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__objects=[];
var x=qx.core.Init.getApplication().getRoot();
var w=document.body;
var y=qx.event.Registration;
x.addListener(q,this._onMouseDown,this,true);
y.addListener(w,r,this._onKeyUpDown,this,true);
y.addListener(w,p,this._onKeyUpDown,this,true);
y.addListener(w,t,this._onKeyPress,this,true);
qx.bom.Element.addListener(window,n,this.hideAll,this);
this.__openTimer=new qx.event.Timer;
this.__openTimer.addListener(s,this._onOpenInterval,this);
this.__closeTimer=new qx.event.Timer;
this.__closeTimer.addListener(s,this._onCloseInterval,this);
},members:{__scheduleOpen:null,__scheduleClose:null,__openTimer:null,__closeTimer:null,__objects:null,_getChild:function(bw,bx,by,bz){var bA=bw.getChildren();
var length=bA.length;
var bB;

for(var i=bx;i<length&&i>=0;i+=by){bB=bA[i];

if(bB.isEnabled()&&!bB.isAnonymous()){return bB;
}}
if(bz){i=i==length?0:length-1;

for(;i!=bx;i+=by){bB=bA[i];

if(bB.isEnabled()&&!bB.isAnonymous()){return bB;
}}}return null;
},_isInMenu:function(I){while(I){if(I instanceof qx.ui.menu.Menu){return true;
}I=I.getLayoutParent();
}return false;
},_getMenuButton:function(T){while(T){if(T instanceof qx.ui.menu.AbstractButton){return T;
}T=T.getLayoutParent();
}return null;
},add:function(z){{};
var A=this.__objects;
A.push(z);
z.setZIndex(1e6+A.length);
},remove:function(N){{};
var O=this.__objects;

if(O){qx.lang.Array.remove(O,N);
}},hideAll:function(){var bq=this.__objects;

if(bq){for(var i=bq.length-1;i>=0;i--){bq[i].exclude();
}}},getActiveMenu:function(){var P=this.__objects;
return P.length>0?P[P.length-1]:null;
},scheduleOpen:function(H){this.cancelClose(H);
if(H.isVisible()){if(this.__scheduleOpen){this.cancelOpen(this.__scheduleOpen);
}}else if(this.__scheduleOpen!=H){this.__scheduleOpen=H;
this.__openTimer.restartWith(H.getOpenInterval());
}},scheduleClose:function(br){this.cancelOpen(br);
if(!br.isVisible()){if(this.__scheduleClose){this.cancelClose(this.__scheduleClose);
}}else if(this.__scheduleClose!=br){this.__scheduleClose=br;
this.__closeTimer.restartWith(br.getCloseInterval());
}},cancelOpen:function(B){if(this.__scheduleOpen==B){this.__openTimer.stop();
this.__scheduleOpen=null;
}},cancelClose:function(J){if(this.__scheduleClose==J){this.__closeTimer.stop();
this.__scheduleClose=null;
}},_onOpenInterval:function(e){this.__openTimer.stop();
this.__scheduleOpen.open();
this.__scheduleOpen=null;
},_onCloseInterval:function(e){this.__closeTimer.stop();
this.__scheduleClose.exclude();
this.__scheduleClose=null;
},_onMouseDown:function(e){var bF=e.getTarget();
if(bF.getMenu&&bF.getMenu()&&bF.getMenu().isVisible()){return;
}if(this.__objects.length>0&&!this._isInMenu(bF)){this.hideAll();
}},__selectionKeys:{"Enter":1,"Space":1},__navigationKeys:{"Escape":1,"Up":1,"Down":1,"Left":1,"Right":1},_onKeyUpDown:function(e){var u=this.getActiveMenu();

if(!u){return;
}var v=e.getKeyIdentifier();

if(this.__navigationKeys[v]||(this.__selectionKeys[v]&&u.getSelectedButton())){e.stopPropagation();
}},_onKeyPress:function(e){var be=this.getActiveMenu();

if(!be){return;
}var bf=e.getKeyIdentifier();
var bh=this.__navigationKeys[bf];
var bg=this.__selectionKeys[bf];

if(bh){switch(bf){case l:this._onKeyPressUp(be);
break;
case a:this._onKeyPressDown(be);
break;
case b:this._onKeyPressLeft(be);
break;
case f:this._onKeyPressRight(be);
break;
case c:this.hideAll();
break;
}e.stopPropagation();
e.preventDefault();
}else if(bg){var bi=be.getSelectedButton();

if(bi){switch(bf){case m:this._onKeyPressEnter(be,bi,e);
break;
case h:this._onKeyPressSpace(be,bi,e);
break;
}e.stopPropagation();
e.preventDefault();
}}},_onKeyPressUp:function(C){var D=C.getSelectedButton();
var E=C.getChildren();
var G=D?C.indexOf(D)-1:E.length-1;
var F=this._getChild(C,G,-1,true);
if(F){C.setSelectedButton(F);
}else{C.resetSelectedButton();
}},_onKeyPressDown:function(bs){var bt=bs.getSelectedButton();
var bv=bt?bs.indexOf(bt)+1:0;
var bu=this._getChild(bs,bv,1,true);
if(bu){bs.setSelectedButton(bu);
}else{bs.resetSelectedButton();
}},_onKeyPressLeft:function(bj){var bo=bj.getOpener();

if(!bo){return;
}if(bo instanceof qx.ui.menu.Button){var bl=bo.getLayoutParent();
bl.resetOpenedButton();
bl.setSelectedButton(bo);
}else if(bo instanceof qx.ui.menubar.Button){var bn=bo.getMenuBar().getMenuButtons();
var bk=bn.indexOf(bo);
if(bk===-1){return;
}var bp=null;
var length=bn.length;

for(var i=1;i<=length;i++){var bm=bn[(bk-i+length)%length];

if(bm.isEnabled()){bp=bm;
break;
}}
if(bp&&bp!=bo){bp.open(true);
}}},_onKeyPressRight:function(U){var W=U.getSelectedButton();
if(W){var V=W.getMenu();

if(V){U.setOpenedButton(W);
var bd=this._getChild(V,0,1);

if(bd){V.setSelectedButton(bd);
}return;
}}else if(!U.getOpenedButton()){var bd=this._getChild(U,0,1);

if(bd){U.setSelectedButton(bd);

if(bd.getMenu()){U.setOpenedButton(bd);
}return;
}}var bb=U.getOpener();
if(bb instanceof qx.ui.menu.Button&&W){while(bb){bb=bb.getLayoutParent();

if(bb instanceof qx.ui.menu.Menu){bb=bb.getOpener();

if(bb instanceof qx.ui.menubar.Button){break;
}}else{break;
}}
if(!bb){return;
}}if(bb instanceof qx.ui.menubar.Button){var ba=bb.getMenuBar().getMenuButtons();
var X=ba.indexOf(bb);
if(X===-1){return;
}var bc=null;
var length=ba.length;

for(var i=1;i<=length;i++){var Y=ba[(X+i)%length];

if(Y.isEnabled()){bc=Y;
break;
}}
if(bc&&bc!=bb){bc.open(true);
}}},_onKeyPressEnter:function(Q,R,e){if(R.hasListener(t)){var S=e.clone();
S.setBubbles(false);
S.setTarget(R);
R.dispatchEvent(S);
}this.hideAll();
},_onKeyPressSpace:function(bC,bD,e){if(bD.hasListener(t)){var bE=e.clone();
bE.setBubbles(false);
bE.setTarget(bD);
bD.dispatchEvent(bE);
}}},destruct:function(){var M=qx.event.Registration;
var K=document.body;
var L=qx.core.Init.getApplication().getRoot();
L.removeListener(q,this._onMouseDown,this,true);
M.removeListener(K,r,this._onKeyUpDown,this,true);
M.removeListener(K,p,this._onKeyUpDown,this,true);
M.removeListener(K,t,this._onKeyPress,this,true);
this._disposeObjects(o,j);
this._disposeArray(k);
}});
})();
(function(){var E="slidebar",D="Integer",C="resize",B="qx.ui.core.Widget",A="selected",z="visible",y="Boolean",x="mouseout",w="excluded",v="menu",U="_applySelectedButton",T="_applySpacingY",S="_blocker",R="_applyCloseInterval",Q="_applyBlockerColor",P="_applyIconColumnWidth",O="mouseover",N="_applyArrowColumnWidth",M="qx.ui.menu.Menu",L="_placementTarget",J="Color",K="Number",H="_applyOpenInterval",I="_applySpacingX",F="_applyBlockerOpacity",G="_applyOpenedButton";
qx.Class.define(M,{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 q=this.getApplicationRoot();
q.add(this);
this.addListener(O,this._onMouseOver);
this.addListener(x,this._onMouseOut);
this.addListener(C,this._onResize,this);
q.addListener(C,this._onResize,this);
this._blocker=new qx.ui.core.Blocker(q);
this.initVisibility();
this.initKeepFocus();
this.initKeepActive();
},properties:{appearance:{refine:true,init:v},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},visibility:{refine:true,init:w},keepFocus:{refine:true,init:true},keepActive:{refine:true,init:true},spacingX:{check:D,apply:I,init:0,themeable:true},spacingY:{check:D,apply:T,init:0,themeable:true},iconColumnWidth:{check:D,init:0,themeable:true,apply:P},arrowColumnWidth:{check:D,init:0,themeable:true,apply:N},blockerColor:{check:J,init:null,nullable:true,apply:Q,themeable:true},blockerOpacity:{check:K,init:1,apply:F,themeable:true},selectedButton:{check:B,nullable:true,apply:U},openedButton:{check:B,nullable:true,apply:G},opener:{check:B,nullable:true},openInterval:{check:D,themeable:true,init:250,apply:H},closeInterval:{check:D,themeable:true,init:250,apply:R},blockBackground:{check:y,themeable:true,init:false}},members:{__scheduledOpen:null,__onAfterSlideBarAdd:null,_blocker:null,open:function(){if(this.getOpener()!=null){this.placeToWidget(this.getOpener());
this.__updateSlideBar();
this.show();
this._placementTarget=this.getOpener();
}else{this.warn("The menu instance needs a configured 'opener' widget!");
}},openAtMouse:function(e){this.placeToMouse(e);
this.__updateSlideBar();
this.show();
this._placementTarget={left:e.getDocumentLeft(),top:e.getDocumentTop()};
},openAtPoint:function(n){this.placeToPoint(n);
this.__updateSlideBar();
this.show();
this._placementTarget=n;
},addSeparator:function(){this.add(new qx.ui.menu.Separator);
},getColumnSizes:function(){return this._getMenuLayout().getColumnSizes();
},getSelectables:function(){var t=[];
var u=this.getChildren();

for(var i=0;i<u.length;i++){if(u[i].isEnabled()){t.push(u[i]);
}}return t;
},_applyIconColumnWidth:function(o,p){this._getMenuLayout().setIconColumnWidth(o);
},_applyArrowColumnWidth:function(W,X){this._getMenuLayout().setArrowColumnWidth(W);
},_applySpacingX:function(bg,bh){this._getMenuLayout().setColumnSpacing(bg);
},_applySpacingY:function(r,s){this._getMenuLayout().setSpacing(r);
},_applyVisibility:function(j,k){arguments.callee.base.call(this,j,k);
var l=qx.ui.menu.Manager.getInstance();

if(j===z){l.add(this);
var m=this.getParentMenu();

if(m){m.setOpenedButton(this.getOpener());
}}else if(k===z){l.remove(this);
var m=this.getParentMenu();

if(m&&m.getOpenedButton()==this.getOpener()){m.resetOpenedButton();
}this.resetOpenedButton();
this.resetSelectedButton();
}this.__updateBlockerVisibility();
},__updateBlockerVisibility:function(){if(this.isVisible()){if(this.getBlockBackground()){var bf=this.getZIndex();
this._blocker.blockContent(bf-1);
}}else{if(this._blocker.isContentBlocked()){this._blocker.unblockContent();
}}},getParentMenu:function(){var bs=this.getOpener();

if(!bs||!(bs instanceof qx.ui.menu.AbstractButton)){return null;
}
while(bs&&!(bs instanceof qx.ui.menu.Menu)){bs=bs.getLayoutParent();
}return bs;
},_applySelectedButton:function(bo,bp){if(bp){bp.removeState(A);
}
if(bo){bo.addState(A);
}},_applyOpenedButton:function(bq,br){if(br){br.getMenu().exclude();
}
if(bq){bq.getMenu().open();
}},_applyBlockerColor:function(g,h){this._blocker.setColor(g);
},_applyBlockerOpacity:function(bi,bj){this._blocker.setOpacity(bi);
},_createChildControlImpl:function(a){var b;

switch(a){case E:var b=new qx.ui.menu.MenuSlideBar();
var d=this._getLayout();
this._setLayout(new qx.ui.layout.Grow());
var c=b.getLayout();
b.setLayout(d);
c.dispose();
var f=qx.lang.Array.clone(this.getChildren());

for(var i=0;i<f.length;i++){b.add(f[i]);
}this.removeListener(C,this._onResize,this);
b.getChildrenContainer().addListener(C,this._onResize,this);
this.add(b);
break;
}return b||arguments.callee.base.call(this,a);
},_getMenuLayout:function(){if(this.hasChildControl(E)){return this.getChildControl(E).getChildrenContainer().getLayout();
}else{return this._getLayout();
}},_getMenuBounds:function(){if(this.hasChildControl(E)){return this.getChildControl(E).getChildrenContainer().getBounds();
}else{return this.getBounds();
}},_computePlacementSize:function(){return this._getMenuBounds();
},__updateSlideBar:function(){var bb=this._getMenuBounds();

if(!bb){this.addListenerOnce(C,this.__updateSlideBar,this);
return;
}var ba=this.getLayoutParent().getBounds().height;
var top=this.getLayoutProperties().top;
var bc=this.getLayoutProperties().left;
if(top<0){this._assertSlideBar(function(){this.setHeight(bb.height+top);
this.moveTo(bc,0);
});
}else if(top+bb.height>ba){this._assertSlideBar(function(){this.setHeight(ba-top);
});
}else{this.setHeight(null);
}},_assertSlideBar:function(Y){if(this.hasChildControl(E)){return Y.call(this);
}this.__onAfterSlideBarAdd=Y;
qx.ui.core.queue.Widget.add(this);
},syncWidget:function(){this.getChildControl(E);

if(this.__onAfterSlideBarAdd){this.__onAfterSlideBarAdd.call(this);
delete this.__onAfterSlideBarAdd;
}},_onResize:function(){if(this.isVisible()){var V=this._placementTarget;

if(!V){return;
}else if(V instanceof qx.ui.core.Widget){this.placeToWidget(V);
}else if(V.top!==undefined){this.placeToPoint(V);
}else{throw new Error("Unknown target: "+V);
}this.__updateSlideBar();
}},_onMouseOver:function(e){var bl=qx.ui.menu.Manager.getInstance();
bl.cancelClose(this);
var bm=e.getTarget();

if(bm.isEnabled()&&bm instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(bm);
var bk=bm.getMenu&&bm.getMenu();

if(bk){bk.setOpener(bm);
bl.scheduleOpen(bk);
this.__scheduledOpen=bk;
}else{var bn=this.getOpenedButton();

if(bn){bl.scheduleClose(bn.getMenu());
}
if(this.__scheduledOpen){bl.cancelOpen(this.__scheduledOpen);
this.__scheduledOpen=null;
}}}else if(!this.getOpenedButton()){this.resetSelectedButton();
}},_onMouseOut:function(e){var bd=qx.ui.menu.Manager.getInstance();
if(!qx.ui.core.Widget.contains(this,e.getRelatedTarget())){var be=this.getOpenedButton();
be?this.setSelectedButton(be):this.resetSelectedButton();
if(be){bd.cancelClose(be.getMenu());
}if(this.__scheduledOpen){bd.cancelOpen(this.__scheduledOpen);
}}}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){qx.ui.menu.Manager.getInstance().remove(this);
}this.getApplicationRoot().removeListener(C,this._onResize,this);
this._disposeFields(L);
this._disposeObjects(S);
}});
})();
(function(){var d="Integer",c="_applyLayoutChange",b="__columnSizes",a="qx.ui.menu.Layout";
qx.Class.define(a,{extend:qx.ui.layout.VBox,properties:{columnSpacing:{check:d,init:0,apply:c},spanColumn:{check:d,init:1,nullable:true,apply:c},iconColumnWidth:{check:d,init:0,themeable:true,apply:c},arrowColumnWidth:{check:d,init:0,themeable:true,apply:c}},members:{__columnSizes:null,_computeSizeHint:function(){var r=this._getLayoutChildren();
var p,h,k;
var f=this.getSpanColumn();
var j=this.__columnSizes=[0,0,0,0];
var n=this.getColumnSpacing();
var m=0;
var g=0;
for(var i=0,l=r.length;i<l;i++){p=r[i];

if(p.isAnonymous()){continue;
}h=p.getChildrenSizes();

for(var o=0;o<h.length;o++){if(f!=null&&o==f&&h[f+1]==0){m=Math.max(m,h[o]);
}else{j[o]=Math.max(j[o],h[o]);
}}var e=r[i].getInsets();
g=Math.max(g,e.left+e.right);
}if(f!=null&&j[f]+n+j[f+1]<m){j[f]=m-j[f+1]-n;
}if(m==0){k=n*2;
}else{k=n*3;
}if(j[0]==0){j[0]=this.getIconColumnWidth();
}if(j[3]==0){j[3]=this.getArrowColumnWidth();
}var q=arguments.callee.base.call(this).height;
return {minHeight:q,height:q,width:qx.lang.Array.sum(j)+g+k};
},getColumnSizes:function(){return this.__columnSizes||null;
}},destruct:function(){this._disposeFields(b);
}});
})();
(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 s="icon",r="label",q="arrow",p="shortcut",o="submenu",n="String",m="qx.ui.menu.Menu",l="qx.ui.menu.AbstractButton",k="keypress",j="_applyIcon",g="mouseup",i="abstract",h="_applyLabel",f="_applyMenu";
qx.Class.define(l,{extend:qx.ui.core.Widget,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],type:i,construct:function(){arguments.callee.base.call(this);
this._setLayout(new qx.ui.menu.ButtonLayout);
this.addListener(g,this._onMouseUp);
this.addListener(k,this._onKeyPress);
},properties:{blockToolTip:{refine:true,init:true},label:{check:n,apply:h,nullable:true},menu:{check:m,apply:f,nullable:true},icon:{check:n,apply:j,themeable:true,nullable:true}},members:{_createChildControlImpl:function(t){var u;

switch(t){case s:u=new qx.ui.basic.Image;
u.setAnonymous(true);
this._add(u,{column:0});
break;
case r:u=new qx.ui.basic.Label;
u.setAnonymous(true);
this._add(u,{column:1});
break;
case p:u=new qx.ui.basic.Label;
u.setAnonymous(true);
this._add(u,{column:2});
break;
case q:u=new qx.ui.basic.Image;
u.setAnonymous(true);
this._add(u,{column:3});
break;
}return u||arguments.callee.base.call(this,t);
},_forwardStates:{selected:1},getChildrenSizes:function(){var x=0,y=0,z=0,D=0;

if(this._isChildControlVisible(s)){var E=this.getChildControl(s);
x=E.getMarginLeft()+E.getSizeHint().width+E.getMarginRight();
}
if(this._isChildControlVisible(r)){var B=this.getChildControl(r);
y=B.getMarginLeft()+B.getSizeHint().width+B.getMarginRight();
}
if(this._isChildControlVisible(p)){var A=this.getChildControl(p);
z=A.getMarginLeft()+A.getSizeHint().width+A.getMarginRight();
}
if(this._isChildControlVisible(q)){var C=this.getChildControl(q);
D=C.getMarginLeft()+C.getSizeHint().width+C.getMarginRight();
}return [x,y,z,D];
},_onMouseUp:function(e){},_onKeyPress:function(e){},_applyIcon:function(v,w){if(v){this._showChildControl(s).setSource(v);
}else{this._excludeChildControl(s);
}},_applyLabel:function(c,d){if(c){this._showChildControl(r).setValue(c);
}else{this._excludeChildControl(r);
}},_applyMenu:function(a,b){if(b){b.resetOpener();
b.removeState(o);
}
if(a){this._showChildControl(q);
a.setOpener(this);
a.addState(o);
}else{this._excludeChildControl(q);
}}},destruct:function(){if(this.getMenu()){if(!qx.core.ObjectRegistry.inShutDown){this.getMenu().destroy();
}}}});
})();
(function(){var c="middle",b="qx.ui.menu.ButtonLayout",a="left";
qx.Class.define(b,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(d,e){var q=this._getLayoutChildren();
var p;
var g;
var h=[];

for(var i=0,l=q.length;i<l;i++){p=q[i];
g=p.getLayoutProperties().column;
h[g]=p;
}var o=this.__getMenu(q[0]);
var r=o.getColumnSizes();
var k=o.getSpacingX();
var j=qx.lang.Array.sum(r)+k*(r.length-1);

if(j<d){r[1]+=d-j;
}var s=0,top=0;
var m=qx.ui.layout.Util;

for(var i=0,l=r.length;i<l;i++){p=h[i];

if(p){var f=p.getSizeHint();
var top=m.computeVerticalAlignOffset(p.getAlignY()||c,f.height,e,0,0);
var n=m.computeHorizontalAlignOffset(p.getAlignX()||a,f.width,r[i],p.getMarginLeft(),p.getMarginRight());
p.renderLayout(s+n,top,f.width,f.height);
}s+=r[i]+k;
}},__getMenu:function(t){while(!(t instanceof qx.ui.menu.Menu)){t=t.getLayoutParent();
}return t;
},_computeSizeHint:function(){var w=this._getLayoutChildren();
var v=0;
var x=0;

for(var i=0,l=w.length;i<l;i++){var u=w[i].getSizeHint();
x+=u.width;
v=Math.max(v,u.height);
}return {width:x,height:v};
}}});
})();
(function(){var b="qx.ui.core.MRemoteChildrenHandling";
qx.Mixin.define(b,{members:{getChildren:function(){return this.getChildrenContainer().getChildren();
},hasChildren:function(){return this.getChildrenContainer().hasChildren();
},add:function(f,g){return this.getChildrenContainer().add(f,g);
},remove:function(o){return this.getChildrenContainer().remove(o);
},removeAll:function(){return this.getChildrenContainer().removeAll();
},indexOf:function(a){return this.getChildrenContainer().indexOf(a);
},addAt:function(c,d,e){this.getChildrenContainer().addAt(c,d,e);
},addBefore:function(l,m,n){this.getChildrenContainer().addBefore(l,m,n);
},addAfter:function(h,i,j){this.getChildrenContainer().addAfter(h,i,j);
},removeAt:function(k){this.getChildrenContainer().removeAt(k);
}}});
})();
(function(){var a="qx.ui.core.MRemoteLayoutHandling";
qx.Mixin.define(a,{members:{setLayout:function(b){return this.getChildrenContainer().setLayout(b);
},getLayout:function(){return this.getChildrenContainer().getLayout();
}}});
})();
(function(){var E="horizontal",D="scrollpane",C="vertical",B="button-backward",A="button-forward",z="content",y="execute",x="qx.ui.container.SlideBar",w="scrollY",v="removeChildWidget",r="scrollX",u="_applyOrientation",t="mousewheel",q="Integer",p="slidebar",s="update";
qx.Class.define(x,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling],construct:function(i){arguments.callee.base.call(this);
var j=this.getChildControl(D);
this._add(j,{flex:1});

if(i!=null){this.setOrientation(i);
}else{this.initOrientation();
}this.addListener(t,this._onMouseWheel,this);
},properties:{appearance:{refine:true,init:p},orientation:{check:[E,C],init:E,apply:u},scrollStep:{check:q,init:15,themeable:true}},members:{getChildrenContainer:function(){return this.getChildControl(z);
},_createChildControlImpl:function(n){var o;

switch(n){case A:o=new qx.ui.form.RepeatButton;
o.addListener(y,this._onExecuteForward,this);
o.setFocusable(false);
this._addAt(o,2);
break;
case B:o=new qx.ui.form.RepeatButton;
o.addListener(y,this._onExecuteBackward,this);
o.setFocusable(false);
this._addAt(o,0);
break;
case z:o=new qx.ui.container.Composite();
if(qx.bom.client.Engine.GECKO){o.addListener(v,this._onRemoveChild,this);
}this.getChildControl(D).add(o);
break;
case D:o=new qx.ui.core.scroll.ScrollPane();
o.addListener(s,this._onResize,this);
o.addListener(r,this._onScroll,this);
o.addListener(w,this._onScroll,this);
break;
}return o||arguments.callee.base.call(this,n);
},_forwardStates:{barLeft:true,barTop:true,barRight:true,barBottom:true},scrollBy:function(I){var J=this.getChildControl(D);

if(this.getOrientation()===E){J.scrollByX(I);
}else{J.scrollByY(I);
}},scrollTo:function(a){var b=this.getChildControl(D);

if(this.getOrientation()===E){b.scrollToX(a);
}else{b.scrollToY(a);
}},_applyOrientation:function(c,d){var h=[this.getLayout(),this._getLayout()];
var g=this.getChildControl(A);
var f=this.getChildControl(B);
if(d==C){g.removeState(C);
f.removeState(C);
g.addState(E);
f.addState(E);
}else if(d==E){g.removeState(E);
f.removeState(E);
g.addState(C);
f.addState(C);
}
if(c==E){this._setLayout(new qx.ui.layout.HBox());
this.setLayout(new qx.ui.layout.HBox());
}else{this._setLayout(new qx.ui.layout.VBox());
this.setLayout(new qx.ui.layout.VBox());
}
if(h[0]){h[0].dispose();
}
if(h[1]){h[1].dispose();
}},_onMouseWheel:function(e){this.scrollBy(e.getWheelDelta()*this.getScrollStep());
e.stop();
},_onScroll:function(){this._updateArrowsEnabled();
},_onResize:function(e){var content=this.getChildControl(D).getChildren()[0];

if(!content){return;
}var k=this.getInnerSize();
var m=content.getBounds();
var l=(this.getOrientation()===E)?m.width>k.width:m.height>k.height;

if(l){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(D).getScrollX());
},this,50);
},_updateArrowsEnabled:function(){var G=this.getChildControl(D);

if(this.getOrientation()===E){var F=G.getScrollX();
var H=G.getScrollMaxX();
}else{var F=G.getScrollY();
var H=G.getScrollMaxY();
}this.getChildControl(B).setEnabled(F>0);
this.getChildControl(A).setEnabled(F<H);
},_showArrows:function(){this._showChildControl(A);
this._showChildControl(B);
},_hideArrows:function(){this._excludeChildControl(A);
this._excludeChildControl(B);
this.scrollTo(0);
}}});
})();
(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 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="__timer",c="interval",b="execute";
qx.Class.define(f,{extend:qx.ui.form.Button,construct:function(o,p){arguments.callee.base.call(this,o,p);
this.__timer=new qx.event.AcceleratingTimer();
this.__timer.addListener(c,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:{__executed:null,__timer:null,press:function(){if(this.isEnabled()){if(!this.hasState(n)){this.__startInternalTimer();
}this.removeState(m);
this.addState(n);
}},release:function(q){if(!this.isEnabled()){return;
}if(this.hasState(n)){if(!this.__executed){this.execute();
}}this.removeState(n);
this.removeState(m);
this.__stopInternalTimer();
},_applyEnabled:function(r,s){arguments.callee.base.call(this,r,s);

if(!r){this.removeState(n);
this.removeState(m);
this.__stopInternalTimer();
}},_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}
if(this.hasState(m)){this.removeState(m);
this.addState(n);
this.__timer.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.__timer.stop();
}},_onMouseDown:function(e){if(!e.isLeftPressed()){return;
}this.capture();
this.__startInternalTimer();
e.stopPropagation();
},_onMouseUp:function(e){this.releaseCapture();

if(!this.hasState(m)){this.addState(k);

if(this.hasState(n)&&!this.__executed){this.execute();
}}this.__stopInternalTimer();
e.stopPropagation();
},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case i:case h:if(this.hasState(n)){if(!this.__executed){this.execute();
}this.removeState(n);
this.removeState(m);
e.stopPropagation();
this.__stopInternalTimer();
}}},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case i:case h:this.removeState(m);
this.addState(n);
e.stopPropagation();
this.__startInternalTimer();
}},_onInterval:function(e){this.__executed=true;
this.fireEvent(b);
},__startInternalTimer:function(){this.fireEvent(g);
this.__executed=false;
this.__timer.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();
this.removeState(m);
this.addState(n);
},__stopInternalTimer:function(){this.fireEvent(d);
this.__timer.stop();
this.removeState(m);
this.removeState(n);
}},destruct:function(){this._disposeObjects(a);
}});
})();
(function(){var e="Integer",d="interval",c="qx.event.type.Event",b="__timer",a="qx.event.AcceleratingTimer";
qx.Class.define(a,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__timer=new qx.event.Timer(this.getInterval());
this.__timer.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:{__timer:null,__currentInterval:null,start:function(){this.__timer.setInterval(this.getFirstInterval());
this.__timer.start();
},stop:function(){this.__timer.stop();
this.__currentInterval=null;
},_onInterval:function(){this.__timer.stop();

if(this.__currentInterval==null){this.__currentInterval=this.getInterval();
}this.__currentInterval=Math.max(this.getMinimum(),this.__currentInterval-this.getDecrease());
this.__timer.setInterval(this.__currentInterval);
this.__timer.start();
this.fireEvent(d);
}},destruct:function(){this._disposeObjects(b);
}});
})();
(function(){var m="resize",l="scrollY",k="update",j="scrollX",i="_applyScrollX",h="_applyScrollY",g="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxX()",f="appear",d="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxY()",c="qx.event.type.Event",a="qx.ui.core.scroll.ScrollPane",b="scroll";
qx.Class.define(a,{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(m,this._onUpdate);
var w=this.getContentElement();
w.addListener(b,this._onScroll,this);
w.addListener(f,this._onAppear,this);
},events:{update:c},properties:{scrollX:{check:g,apply:i,event:j,init:0},scrollY:{check:d,apply:h,event:l,init:0}},members:{add:function(M){var N=this._getChildren()[0];

if(N){this._remove(N);
N.removeListener(m,this._onUpdate,this);
}
if(M){this._add(M);
M.addListener(m,this._onUpdate,this);
}},remove:function(G){if(G){this._remove(G);
G.removeListener(m,this._onUpdate,this);
}},getChildren:function(){return this._getChildren();
},_onUpdate:function(e){this.fireEvent(k);
},_onScroll:function(e){var t=this.getContentElement();
this.setScrollX(t.getScrollX());
this.setScrollY(t.getScrollY());
},_onAppear:function(e){var q=this.getContentElement();
var n=this.getScrollX();
var o=q.getScrollX();

if(n!=o){q.scrollToX(n);
}var r=this.getScrollY();
var p=q.getScrollY();

if(r!=p){q.scrollToY(r);
}},getItemTop:function(D){var top=0;

do{top+=D.getBounds().top;
D=D.getLayoutParent();
}while(D&&D!==this);
return top;
},getItemBottom:function(v){return this.getItemTop(v)+v.getBounds().height;
},getItemLeft:function(E){var F=0;
var parent;

do{F+=E.getBounds().left;
parent=E.getLayoutParent();

if(parent){F+=parent.getInsets().left;
}E=parent;
}while(E&&E!==this);
return F;
},getItemRight:function(s){return this.getItemLeft(s)+s.getBounds().width;
},getScrollSize:function(){return this.getChildren()[0].getBounds();
},getScrollMaxX:function(){var L=this.getInnerSize();
var K=this.getScrollSize();

if(L&&K){return Math.max(0,K.width-L.width);
}return 0;
},getScrollMaxY:function(){var A=this.getInnerSize();
var z=this.getScrollSize();

if(A&&z){return Math.max(0,z.height-A.height);
}return 0;
},scrollToX:function(I){var J=this.getScrollMaxX();

if(I<0){I=0;
}else if(I>J){I=J;
}this.setScrollX(I);
},scrollToY:function(B){var C=this.getScrollMaxY();

if(B<0){B=0;
}else if(B>C){B=C;
}this.setScrollY(B);
},scrollByX:function(x){this.scrollToX(this.getScrollX()+x);
},scrollByY:function(y){this.scrollToY(this.getScrollY()+y);
},_applyScrollX:function(u){this.getContentElement().scrollToX(u);
},_applyScrollY:function(H){this.getContentElement().scrollToY(H);
}}});
})();
(function(){var i="Integer",h="hovered",g="hover-button",f="__timer",d="interval",c="mouseover",b="mouseout",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(c,this._onMouseOver,this);
this.addListener(b,this._onMouseOut,this);
this.__timer=new qx.event.AcceleratingTimer();
this.__timer.addListener(d,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:{__timer:null,_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}this.__timer.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();
this.addState(h);
},_onMouseOut:function(e){this.__timer.stop();
this.removeState(h);

if(!this.isEnabled()||e.getTarget()!==this){return;
}},_onInterval:function(){if(this.isEnabled()){this.execute();
}else{this.__timer.stop();
}}},destruct:function(){this._disposeObjects(f);
}});
})();
(function(){var m="changeLocale",l="qx.dynlocale",k="on",j="shortcut",i="",h="menu-button",g="qx.ui.menu.Button",f="changeCommand";
qx.Class.define(g,{extend:qx.ui.menu.AbstractButton,construct:function(a,b,c,d){arguments.callee.base.call(this);
this.addListener(f,this._onChangeCommand,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:h}},members:{_onChangeCommand:function(e){var q=e.getData();

if(qx.core.Variant.isSet(l,k)){var o=e.getOldData();

if(!o){qx.locale.Manager.getInstance().addListener(m,this._onChangeLocale,this);
}
if(!q){qx.locale.Manager.getInstance().removeListener(m,this._onChangeLocale,this);
}}var p=q!=null?q.toString():i;
this.getChildControl(j).setValue(p);
},_onChangeLocale:qx.core.Variant.select(l,{"on":function(e){var n=this.getCommand();

if(n!=null){this.getChildControl(j).setValue(n.toString());
}},"off":null}),_onMouseUp:function(e){if(e.isLeftPressed()){this.execute();
if(this.getMenu()){return;
}}qx.ui.menu.Manager.getInstance().hideAll();
},_onKeyPress:function(e){this.execute();
}},destruct:function(){if(qx.core.Variant.isSet(l,k)){qx.locale.Manager.getInstance().removeListener(m,this._onChangeLocale,this);
}}});
})();
(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(l,m,n){arguments.callee.base.call(this,l,m,n);
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 k=this.getMenu();

if(k&&k.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 r="both",q="qx.ui.menu.Menu",p="_applySpacing",o="icon",n="label",m="changeShow",k="Integer",j="qx.ui.toolbar.ToolBar",h="toolbar",g="changeOpenMenu";
qx.Class.define(j,{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:h},openMenu:{check:q,event:g,nullable:true},show:{init:r,check:[r,n,o],inheritable:true,event:m},spacing:{nullable:true,check:k,themeable:true,apply:p}},members:{__allowMenuOpenHover:false,_setAllowMenuOpenHover:function(s){this.__allowMenuOpenHover=s;
},_isAllowMenuOpenHover:function(){return this.__allowMenuOpenHover;
},_applySpacing:function(a,b){var c=this._getLayout();
a==null?c.resetSpacing():c.setSpacing(a);
},addSpacer:function(){var t=new qx.ui.core.Spacer;
this._add(t,{flex:1});
return t;
},addSeparator:function(){this.add(new qx.ui.toolbar.Separator);
},getMenuButtons:function(){var e=this.getChildren();
var d=[];
var f;

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

if(f instanceof qx.ui.menubar.Button){d.push(f);
}else if(f instanceof qx.ui.toolbar.Part){d.push.apply(d,f.getMenuButtons());
}}return d;
}}});
})();
(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 m="container",k="handle",j="both",h="Integer",g="middle",f="qx.ui.toolbar.Part",e="icon",d="label",c="changeShow",b="_applySpacing",a="toolbar/part";
qx.Class.define(f,{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(k);
},properties:{appearance:{refine:true,init:a},show:{init:j,check:[j,d,e],inheritable:true,event:c},spacing:{nullable:true,check:h,themeable:true,apply:b}},members:{_createChildControlImpl:function(n){var o;

switch(n){case k:o=new qx.ui.basic.Image();
o.setAlignY(g);
this._add(o);
break;
case m:o=new qx.ui.toolbar.PartContainer;
this._add(o);
break;
}return o||arguments.callee.base.call(this,n);
},getChildrenContainer:function(){return this.getChildControl(m);
},_applySpacing:function(s,t){var u=this.getChildControl(m).getLayout();
s==null?u.resetSpacing():u.setSpacing(s);
},addSeparator:function(){this.add(new qx.ui.toolbar.Separator);
},getMenuButtons:function(){var q=this.getChildren();
var p=[];
var r;

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

if(r instanceof qx.ui.menubar.Button){p.push(r);
}}return p;
}}});
})();
(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 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 g="checked",f="menu-checkbox",d="Boolean",c="_applyValue",b="changeValue",a="qx.ui.menu.CheckBox";
qx.Class.define(a,{extend:qx.ui.menu.AbstractButton,implement:[qx.ui.form.IBooleanForm],construct:function(h,i){arguments.callee.base.call(this);
if(h!=null){if(h.translate){this.setLabel(h.translate());
}else{this.setLabel(h);
}}
if(i!=null){this.setMenu(i);
}},properties:{appearance:{refine:true,init:f},value:{check:d,init:false,apply:c,event:b,nullable:true}},members:{_applyValue:function(j,k){j?this.addState(g):this.removeState(g);
},_onMouseUp:function(e){if(e.isLeftPressed()){this.toggleValue();
}qx.ui.menu.Manager.getInstance().hideAll();
},_onKeyPress:function(e){this.toggleValue();
}}});
})();
(function(){var b="qx.ui.table.IColumnMenuItem",a="qx.event.type.Data";
qx.Interface.define(b,{properties:{visible:{}},events:{changeVisible:a}});
})();
(function(){var g="changeVisible",f="qx.ui.table.columnmenu.MenuItem",d="_applyVisible",c="Boolean",b="changeValue";
qx.Class.define(f,{extend:qx.ui.menu.CheckBox,implement:qx.ui.table.IColumnMenuItem,properties:{visible:{check:c,init:true,apply:d,event:g}},construct:function(a){arguments.callee.base.call(this,a);
this.addListener(b,function(e){this.bInListener=true;
this.setVisible(e.getData());
this.bInListener=false;
});
},members:{__bInListener:false,_applyVisible:function(h,i){if(!this.bInListener){this.setValue(h);
}}}});
})();
(function(){var f="qx.ui.table.selection.Model",e="qx.ui.table.selection.Manager";
qx.Class.define(e,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
},properties:{selectionModel:{check:f}},members:{__lastMouseDownHandled:null,handleMouseDown:function(p,q){if(q.isLeftPressed()){var r=this.getSelectionModel();

if(!r.isSelectedIndex(p)){this._handleSelectEvent(p,q);
this.__lastMouseDownHandled=true;
}else{this.__lastMouseDownHandled=false;
}}else if(q.isRightPressed()&&q.getModifiers()==0){var r=this.getSelectionModel();

if(!r.isSelectedIndex(p)){r.setSelectionInterval(p,p);
}}},handleMouseUp:function(c,d){if(d.isLeftPressed()&&!this.__lastMouseDownHandled){this._handleSelectEvent(c,d);
}},handleClick:function(a,b){},handleSelectKeyDown:function(s,t){this._handleSelectEvent(s,t);
},handleMoveKeyDown:function(l,m){var o=this.getSelectionModel();

switch(m.getModifiers()){case 0:o.setSelectionInterval(l,l);
break;
case qx.event.type.Dom.SHIFT_MASK:var n=o.getAnchorSelectionIndex();

if(n==-1){o.setSelectionInterval(l,l);
}else{o.setSelectionInterval(n,l);
}break;
}},_handleSelectEvent:function(g,h){var k=this.getSelectionModel();
var i=k.getLeadSelectionIndex();
var j=k.getAnchorSelectionIndex();

if(h.isShiftPressed()){if(g!=i||k.isSelectionEmpty()){if(j==-1){j=g;
}
if(h.isCtrlOrCommandPressed()){k.addSelectionInterval(j,g);
}else{k.setSelectionInterval(j,g);
}}}else if(h.isCtrlOrCommandPressed()){if(k.isSelectedIndex(g)){k.removeSelectionInterval(g,g);
}else{k.addSelectionInterval(g,g);
}}else{k.setSelectionInterval(g,g);
}}}});
})();
(function(){var J="..",I="changeSelection",H="_applySelectionMode",G="]",F="qx.event.type.Event",E="Ranges:",D="qx.ui.table.selection.Model",C=" [",B="__selectedRangeArr";
qx.Class.define(D,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__selectedRangeArr=[];
this.__anchorSelectionIndex=-1;
this.__leadSelectionIndex=-1;
this.hasBatchModeRefCount=0;
this.__hadChangeEventInBatchMode=false;
},events:{"changeSelection":F},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:H}},members:{__hadChangeEventInBatchMode:null,__anchorSelectionIndex:null,__leadSelectionIndex:null,__selectedRangeArr:null,_applySelectionMode:function(g){this.clearSelection();
},setBatchMode:function(r){if(r){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.__hadChangeEventInBatchMode){this.__hadChangeEventInBatchMode=false;
this._fireChangeSelection();
}}return this.hasBatchMode();
},hasBatchMode:function(){return this.hasBatchModeRefCount>0;
},getAnchorSelectionIndex:function(){return this.__anchorSelectionIndex;
},_setAnchorSelectionIndex:function(d){this.__anchorSelectionIndex=d;
},getLeadSelectionIndex:function(){return this.__leadSelectionIndex;
},_setLeadSelectionIndex:function(h){this.__leadSelectionIndex=h;
},_getSelectedRangeArr:function(){return this.__selectedRangeArr;
},clearSelection:function(){if(!this.isSelectionEmpty()){this._clearSelection();
this._fireChangeSelection();
}},isSelectionEmpty:function(){return this.__selectedRangeArr.length==0;
},getSelectedCount:function(){var v=0;

for(var i=0;i<this.__selectedRangeArr.length;i++){var u=this.__selectedRangeArr[i];
v+=u.maxIndex-u.minIndex+1;
}return v;
},isSelectedIndex:function(w){for(var i=0;i<this.__selectedRangeArr.length;i++){var x=this.__selectedRangeArr[i];

if(w>=x.minIndex&&w<=x.maxIndex){return true;
}}return false;
},getSelectedRanges:function(){var f=[];

for(var i=0;i<this.__selectedRangeArr.length;i++){f.push({minIndex:this.__selectedRangeArr[i].minIndex,maxIndex:this.__selectedRangeArr[i].maxIndex});
}return f;
},iterateSelection:function(s,t){for(var i=0;i<this.__selectedRangeArr.length;i++){for(var j=this.__selectedRangeArr[i].minIndex;j<=this.__selectedRangeArr[i].maxIndex;j++){s.call(t,j);
}}},setSelectionInterval:function(y,z){var A=arguments.callee.self;

switch(this.getSelectionMode()){case A.NO_SELECTION:return;
case A.SINGLE_SELECTION:if(this.isSelectedIndex(z)){return;
}y=z;
break;
case A.MULTIPLE_INTERVAL_SELECTION_TOGGLE:this.setBatchMode(true);

try{for(var i=y;i<=z;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._clearSelection();
this._addSelectionInterval(y,z);
this._fireChangeSelection();
},addSelectionInterval:function(a,b){var c=qx.ui.table.selection.Model;

switch(this.getSelectionMode()){case c.NO_SELECTION:return;
case c.MULTIPLE_INTERVAL_SELECTION:case c.MULTIPLE_INTERVAL_SELECTION_TOGGLE:this._addSelectionInterval(a,b);
this._fireChangeSelection();
break;
default:this.setSelectionInterval(a,b);
break;
}},removeSelectionInterval:function(K,L){this.__anchorSelectionIndex=K;
this.__leadSelectionIndex=L;
var M=Math.min(K,L);
var O=Math.max(K,L);
for(var i=0;i<this.__selectedRangeArr.length;i++){var Q=this.__selectedRangeArr[i];

if(Q.minIndex>O){break;
}else if(Q.maxIndex>=M){var R=(Q.minIndex>=M)&&(Q.minIndex<=O);
var P=(Q.maxIndex>=M)&&(Q.maxIndex<=O);

if(R&&P){this.__selectedRangeArr.splice(i,1);
i--;
}else if(R){Q.minIndex=O+1;
}else if(P){Q.maxIndex=M-1;
}else{var N={minIndex:O+1,maxIndex:Q.maxIndex};
this.__selectedRangeArr.splice(i+1,0,N);
Q.maxIndex=M-1;
break;
}}}this._fireChangeSelection();
},_clearSelection:function(){this.__selectedRangeArr=[];
this.__anchorSelectionIndex=-1;
this.__leadSelectionIndex=-1;
},_addSelectionInterval:function(k,l){this.__anchorSelectionIndex=k;
this.__leadSelectionIndex=l;
var m=Math.min(k,l);
var o=Math.max(k,l);
var n=0;

for(;n<this.__selectedRangeArr.length;n++){var p=this.__selectedRangeArr[n];

if(p.minIndex>m){break;
}}this.__selectedRangeArr.splice(n,0,{minIndex:m,maxIndex:o});
var q=this.__selectedRangeArr[0];

for(var i=1;i<this.__selectedRangeArr.length;i++){var p=this.__selectedRangeArr[i];

if(q.maxIndex+1>=p.minIndex){q.maxIndex=Math.max(q.maxIndex,p.maxIndex);
this.__selectedRangeArr.splice(i,1);
i--;
}else{q=p;
}}},_dumpRanges:function(){var S=E;

for(var i=0;i<this.__selectedRangeArr.length;i++){var T=this.__selectedRangeArr[i];
S+=C+T.minIndex+J+T.maxIndex+G;
}this.debug(S);
},_fireChangeSelection:function(){if(this.hasBatchMode()){this.__hadChangeEventInBatchMode=true;
}else{this.fireEvent(I);
}}},destruct:function(){this._disposeFields(B);
}});
})();
(function(){var a="qx.ui.table.IHeaderRenderer";
qx.Interface.define(a,{members:{createHeaderCell:function(b){return true;
},updateHeaderCell:function(c,d){return true;
}}});
})();
(function(){var d="qx.ui.table.headerrenderer.Default",c="String";
qx.Class.define(d,{extend:qx.core.Object,implement:qx.ui.table.IHeaderRenderer,statics:{STATE_SORTED:"sorted",STATE_SORTED_ASCENDING:"sortedAscending"},properties:{toolTip:{check:c,init:null,nullable:true}},members:{createHeaderCell:function(a){var b=new qx.ui.table.headerrenderer.HeaderCell();
this.updateHeaderCell(a,b);
return b;
},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);
}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 n="",m="px;",l=".qooxdoo-table-cell {",k="qooxdoo-table-cell",j='" ',i="nowrap",h="default",g="qx.client",f="}",e="width:",K=".qooxdoo-table-cell-right { text-align:right } ",J="0px 6px",I='<div class="',H="0px",G="height:",F="1px solid ",E=".qooxdoo-table-cell-bold { font-weight:bold } ",D="table-row-line",C='>',B="mshtml",u='</div>',v="ellipsis",s="content-box",t='left:',q="qx.ui.table.cellrenderer.Abstract",r='" style="',o="abstract",p="none",w="hidden",x="} ",z='px;',y=".qooxdoo-table-cell-italic { font-style:italic} ",A="absolute";
qx.Class.define(q,{type:o,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.__clazz){var d=qx.theme.manager.Color.getInstance();
b.__clazz=arguments.callee.self;
var c=l+
qx.bom.element.Style.compile({position:A,top:H,overflow:w,whiteSpace:i,borderRight:F+d.resolve(D),padding:J,cursor:h,textOverflow:v,userSelect:p})+x+K+y+E;

if(!qx.core.Variant.isSet(g,B)){c+=l+qx.bom.element.BoxSizing.compile(s)+f;
}b.__clazz.stylesheet=qx.bom.Stylesheet.createElement(c);
}},members:{_insetX:6+6+1,_insetY:0,_getCellClass:function(L){return k;
},_getCellStyle:function(a){return a.style||n;
},_getCellAttributes:function(T){return n;
},_getContentHtml:function(U){return U.value||n;
},_getCellSizeStyle:function(M,N,O,P){var Q=n;

if(qx.bom.client.Feature.CONTENT_BOX){M-=O;
N-=P;
}Q+=e+Math.max(M,0)+m;
Q+=G+Math.max(N,0)+m;
return Q;
},createDataCellHtml:function(R,S){S.push(I,this._getCellClass(R),r,t,R.styleLeft,z,this._getCellSizeStyle(R.styleWidth,R.styleHeight,this._insetX,this._insetY),this._getCellStyle(R),j,this._getCellAttributes(R),C+this._getContentHtml(R),u);
}}});
})();
(function(){var i="",h="number",g="Boolean",f="qx.ui.table.cellrenderer.Default",e=" qooxdoo-table-cell-bold",d=" qooxdoo-table-cell-right",c=" qooxdoo-table-cell-italic",b="string";
qx.Class.define(f,{extend:qx.ui.table.cellrenderer.Abstract,statics:{STYLEFLAG_ALIGN_RIGHT:1,STYLEFLAG_BOLD:2,STYLEFLAG_ITALIC:4},properties:{useAutoAlign:{check:g,init:true}},members:{_getStyleFlags:function(a){if(this.getUseAutoAlign()){if(typeof a.value==h){return qx.ui.table.cellrenderer.Default.STYLEFLAG_ALIGN_RIGHT;
}}},_getCellClass:function(j){var k=arguments.callee.base.call(this,j);

if(!k){return i;
}var l=this._getStyleFlags(j);

if(l&qx.ui.table.cellrenderer.Default.STYLEFLAG_ALIGN_RIGHT){k+=d;
}
if(l&qx.ui.table.cellrenderer.Default.STYLEFLAG_BOLD){k+=e;
}
if(l&qx.ui.table.cellrenderer.Default.STYLEFLAG_ITALIC){k+=c;
}return k;
},_getContentHtml:function(m){return qx.bom.String.escape(this._formatValue(m));
},_formatValue:function(n){var p=n.value;

if(p==null){return i;
}
if(typeof p==b){return p;
}else if(typeof p==h){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 o=qx.ui.table.cellrenderer.Default._numberFormat.format(p);
}else if(p instanceof Date){o=qx.util.format.DateFormat.getDateInstance().format(p);
}else{o=p;
}return o;
}}});
})();
(function(){var b="qx.ui.table.ICellEditorFactory";
qx.Interface.define(b,{members:{createCellEditor:function(a){return true;
},getCellEditorValue:function(c){return true;
}}});
})();
(function(){var i="",h="Function",g="number",f="qx.ui.table.celleditor.TextField",e="table-editor-textfield",d="appear";
qx.Class.define(f,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,construct:function(){arguments.callee.base.call(this);
},properties:{validationFunction:{check:h,nullable:true,init:null}},members:{__done:null,createCellEditor:function(j){var k=new qx.ui.form.TextField;
k.setAppearance(e);
k.originalValue=j.value;

if(j.value===null){j.value=i;
}k.setValue(i+j.value);
k.addListener(d,function(){k.selectAllText();
});
return k;
},getCellEditorValue:function(a){var c=a.getValue();
var b=this.getValidationFunction();

if(!this.__done&&b){c=b(c,a.originalValue);
this.__done=true;
}
if(typeof a.originalValue==g){c=parseFloat(c);
}return c;
}}});
})();
(function(){var r="qx.event.type.Data",q="visibilityChanged",p="visibilityChangedPre",o="orderChanged",n="__overallColumnArr",m="__visibleColumnArr",l="widthChanged",k="qx.ui.table.columnmodel.Basic",j="__editorFactory",h="__dataRenderer",e="__colToXPosMap",g="__headerRenderer",f="__columnDataArr";
qx.Class.define(k,{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__overallColumnArr=[];
this.__visibleColumnArr=[];
},events:{"widthChanged":r,"visibilityChangedPre":r,"visibilityChanged":r,"orderChanged":r},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:{__internalChange:null,__colToXPosMap:null,__visibleColumnArr:null,__overallColumnArr:null,__columnDataArr:null,__headerRenderer:null,__dataRenderer:null,__editorFactory:null,init:function(G){this.__columnDataArr=[];
var J=qx.ui.table.columnmodel.Basic.DEFAULT_WIDTH;
var K=this.__headerRenderer=new qx.ui.table.columnmodel.Basic.DEFAULT_HEADER_RENDERER();
var I=this.__dataRenderer=new qx.ui.table.columnmodel.Basic.DEFAULT_DATA_RENDERER();
var H=this.__editorFactory=new qx.ui.table.columnmodel.Basic.DEFAULT_EDITOR_FACTORY();
this.__overallColumnArr=[];
this.__visibleColumnArr=[];

for(var M=0;M<G;M++){this.__columnDataArr[M]={width:J,headerRenderer:K,dataRenderer:I,editorFactory:H};
this.__overallColumnArr[M]=M;
this.__visibleColumnArr[M]=M;
}this.__colToXPosMap=null;

for(var M=0;M<G;M++){var L={col:M,visible:true};
this.fireDataEvent(p,L);
this.fireDataEvent(q,L);
}},getVisibleColumns:function(){return this.__visibleColumnArr!=null?this.__visibleColumnArr:[];
},setColumnWidth:function(bf,bg){var bi=this.__columnDataArr[bf].width;

if(bi!=bg){this.__columnDataArr[bf].width=bg;
var bh={col:bf,newWidth:bg,oldWidth:bi};
this.fireDataEvent(l,bh);
}},getColumnWidth:function(a){return this.__columnDataArr[a].width;
},setHeaderCellRenderer:function(X,Y){var ba=this.__columnDataArr[X].headerRenderer;

if(ba!==this.__headerRenderer){ba.dispose();
}this.__columnDataArr[X].headerRenderer=Y;
},getHeaderCellRenderer:function(v){return this.__columnDataArr[v].headerRenderer;
},setDataCellRenderer:function(b,c){var d=this.__columnDataArr[b].headerRenderer;

if(d!==this.__dataRenderer){d.dispose();
}this.__columnDataArr[b].dataRenderer=c;
},getDataCellRenderer:function(A){return this.__columnDataArr[A].dataRenderer;
},setCellEditorFactory:function(bb,bc){var bd=this.__columnDataArr[bb].headerRenderer;

if(bd!==this.__editorFactory){bd.dispose();
}this.__columnDataArr[bb].editorFactory=bc;
},getCellEditorFactory:function(u){return this.__columnDataArr[u].editorFactory;
},_getColToXPosMap:function(){if(this.__colToXPosMap==null){this.__colToXPosMap={};

for(var z=0;z<this.__overallColumnArr.length;z++){var y=this.__overallColumnArr[z];
this.__colToXPosMap[y]={overX:z};
}
for(var w=0;w<this.__visibleColumnArr.length;w++){var y=this.__visibleColumnArr[w];
this.__colToXPosMap[y].visX=w;
}}return this.__colToXPosMap;
},getVisibleColumnCount:function(){return this.__visibleColumnArr!=null?this.__visibleColumnArr.length:0;
},getVisibleColumnAtX:function(bj){return this.__visibleColumnArr[bj];
},getVisibleX:function(s){return this._getColToXPosMap()[s].visX;
},getOverallColumnCount:function(){return this.__overallColumnArr.length;
},getOverallColumnAtX:function(be){return this.__overallColumnArr[be];
},getOverallX:function(t){return this._getColToXPosMap()[t].overX;
},isColumnVisible:function(N){return (this._getColToXPosMap()[N].visX!=null);
},setColumnVisible:function(O,P){if(P!=this.isColumnVisible(O)){if(P){var V=this._getColToXPosMap();
var S=V[O].overX;

if(S==null){throw new Error("Showing column failed: "+O+". The column is not added to this TablePaneModel.");
}var T;

for(var x=S+1;x<this.__overallColumnArr.length;x++){var U=this.__overallColumnArr[x];
var Q=V[U].visX;

if(Q!=null){T=Q;
break;
}}if(T==null){T=this.__visibleColumnArr.length;
}this.__visibleColumnArr.splice(T,0,O);
}else{var R=this.getVisibleX(O);
this.__visibleColumnArr.splice(R,1);
}this.__colToXPosMap=null;
if(!this.__internalChange){var W={col:O,visible:P};
this.fireDataEvent(p,W);
this.fireDataEvent(q,W);
}}},moveColumn:function(B,C){this.__internalChange=true;
var F=this.__overallColumnArr[B];
var D=this.isColumnVisible(F);

if(D){this.setColumnVisible(F,false);
}this.__overallColumnArr.splice(B,1);
this.__overallColumnArr.splice(C,0,F);
this.__colToXPosMap=null;

if(D){this.setColumnVisible(F,true);
}this.__internalChange=false;
var E={col:F,fromOverXPos:B,toOverXPos:C};
this.fireDataEvent(o,E);
}},destruct:function(){for(var i=0;i<this.__columnDataArr.length;i++){this.__columnDataArr[i].headerRenderer.dispose();
this.__columnDataArr[i].dataRenderer.dispose();
this.__columnDataArr[i].editorFactory.dispose();
}this._disposeFields(n,m,f,e);
this._disposeObjects(g,h,j);
}});
})();
(function(){var i="icon",h="label",g="String",f="sort-icon",e="_applySortIcon",d="_applyIcon",c="table-header-cell",b="qx.ui.table.headerrenderer.HeaderCell",a="_applyLabel";
qx.Class.define(b,{extend:qx.ui.container.Composite,construct:function(){arguments.callee.base.call(this);
var l=new qx.ui.layout.Grid();
l.setRowFlex(0,1);
l.setColumnFlex(1,1);
l.setColumnFlex(2,1);
this.setLayout(l);
},properties:{appearance:{refine:true,init:c},label:{check:g,init:null,nullable:true,apply:a},sortIcon:{check:g,init:null,nullable:true,apply:e,themeable:true},icon:{check:g,init:null,nullable:true,apply:d}},members:{_applyLabel:function(o,p){if(o){this._showChildControl(h).setValue(o);
}else{this._excludeChildControl(h);
}},_applySortIcon:function(j,k){if(j){this._showChildControl(f).setSource(j);
}else{this._excludeChildControl(f);
}},_applyIcon:function(q,r){if(q){this._showChildControl(i).setSource(q);
}else{this._excludeChildControl(i);
}},_createChildControlImpl:function(m){var n;

switch(m){case h:n=new qx.ui.basic.Label(this.getLabel()).set({anonymous:true,allowShrinkX:true});
this._add(n,{row:0,column:1});
break;
case f:n=new qx.ui.basic.Image(this.getSortIcon());
n.setAnonymous(true);
this._add(n,{row:0,column:2});
break;
case i:n=new qx.ui.basic.Image(this.getIcon()).set({anonymous:true,allowShrinkX:true});
this._add(n,{row:0,column:0});
break;
}return n||arguments.callee.base.call(this,m);
}}});
})();
(function(){var B="left",A="top",z="_applyLayoutChange",w="hAlign",v="flex",u="vAlign",t="Integer",s="__colSpans",r="minWidth",q="width",g="__rowHeights",p="minHeight",m="__rowSpans",e="__colData",d="qx.ui.layout.Grid",k="__colWidths",h="height",n="__rowData",c="maxHeight",o="maxWidth",f="__grid";
qx.Class.define(d,{extend:qx.ui.layout.Abstract,construct:function(cE,cF){arguments.callee.base.call(this);
this.__rowData=[];
this.__colData=[];

if(cE){this.setSpacingX(cE);
}
if(cF){this.setSpacingY(cF);
}},properties:{spacingX:{check:t,init:0,apply:z},spacingY:{check:t,init:0,apply:z}},members:{__grid:null,__rowData:null,__colData:null,__colSpans:null,__rowSpans:null,__maxRowIndex:null,__maxColIndex:null,__rowHeights:null,__colWidths:null,verifyLayoutProperty:null,__buildGrid:function(){var bQ=[];
var bP=[];
var bR=[];
var bN=0;
var bM=0;
var bT=this._getLayoutChildren();

for(var i=0,l=bT.length;i<l;i++){var bO=bT[i];
var bS=bO.getLayoutProperties();
var bU=bS.row;
var bL=bS.column;
bS.colSpan=bS.colSpan||1;
bS.rowSpan=bS.rowSpan||1;
if(bU==null||bL==null){throw new Error("The layout properties 'row' and 'column' of the child widget '"+bO+"' must be defined!");
}
if(bQ[bU]&&bQ[bU][bL]){throw new Error("Cannot add widget '"+bO+"'!. "+"There is already a widget '"+bQ[bU][bL]+"' in this cell ("+bU+", "+bL+")");
}
for(var x=bL;x<bL+bS.colSpan;x++){for(var y=bU;y<bU+bS.rowSpan;y++){if(bQ[y]==undefined){bQ[y]=[];
}bQ[y][x]=bO;
bM=Math.max(bM,x);
bN=Math.max(bN,y);
}}
if(bS.rowSpan>1){bR.push(bO);
}
if(bS.colSpan>1){bP.push(bO);
}}for(var y=0;y<=bN;y++){if(bQ[y]==undefined){bQ[y]=[];
}}this.__grid=bQ;
this.__colSpans=bP;
this.__rowSpans=bR;
this.__maxRowIndex=bN;
this.__maxColIndex=bM;
this.__rowHeights=null;
this.__colWidths=null;
delete this._invalidChildrenCache;
},_setRowData:function(dr,ds,dt){var du=this.__rowData[dr];

if(!du){this.__rowData[dr]={};
this.__rowData[dr][ds]=dt;
}else{du[ds]=dt;
}},_setColumnData:function(E,F,G){var H=this.__colData[E];

if(!H){this.__colData[E]={};
this.__colData[E][F]=G;
}else{H[F]=G;
}},setSpacing:function(cY){this.setSpacingY(cY);
this.setSpacingX(cY);
return this;
},setColumnAlign:function(da,db,dc){{};
this._setColumnData(da,w,db);
this._setColumnData(da,u,dc);
this._applyLayoutChange();
return this;
},getColumnAlign:function(bv){var bw=this.__colData[bv]||{};
return {vAlign:bw.vAlign||A,hAlign:bw.hAlign||B};
},setRowAlign:function(cB,cC,cD){{};
this._setRowData(cB,w,cC);
this._setRowData(cB,u,cD);
this._applyLayoutChange();
return this;
},getRowAlign:function(cI){var cJ=this.__rowData[cI]||{};
return {vAlign:cJ.vAlign||A,hAlign:cJ.hAlign||B};
},getCellWidget:function(dm,dn){if(this._invalidChildrenCache){this.__buildGrid();
}var dm=this.__grid[dm]||{};
return dm[dn]||null;
},getCellAlign:function(bx,by){var bE=A;
var bC=B;
var bD=this.__rowData[bx];
var bA=this.__colData[by];
var bz=this.__grid[bx][by];

if(bz){var bB={vAlign:bz.getAlignY(),hAlign:bz.getAlignX()};
}else{bB={};
}if(bB.vAlign){bE=bB.vAlign;
}else if(bD&&bD.vAlign){bE=bD.vAlign;
}else if(bA&&bA.vAlign){bE=bA.vAlign;
}if(bB.hAlign){bC=bB.hAlign;
}else if(bA&&bA.hAlign){bC=bA.hAlign;
}else if(bD&&bD.hAlign){bC=bD.hAlign;
}return {vAlign:bE,hAlign:bC};
},setColumnFlex:function(C,D){this._setColumnData(C,v,D);
this._applyLayoutChange();
return this;
},getColumnFlex:function(I){var J=this.__colData[I]||{};
return J.flex!==undefined?J.flex:0;
},setRowFlex:function(bJ,bK){this._setRowData(bJ,v,bK);
this._applyLayoutChange();
return this;
},getRowFlex:function(bs){var bt=this.__rowData[bs]||{};
var bu=bt.flex!==undefined?bt.flex:0;
return bu;
},setColumnMaxWidth:function(bF,bG){this._setColumnData(bF,o,bG);
this._applyLayoutChange();
return this;
},getColumnMaxWidth:function(df){var dg=this.__colData[df]||{};
return dg.maxWidth!==undefined?dg.maxWidth:Infinity;
},setColumnWidth:function(dJ,dK){this._setColumnData(dJ,q,dK);
this._applyLayoutChange();
return this;
},getColumnWidth:function(cG){var cH=this.__colData[cG]||{};
return cH.width!==undefined?cH.width:null;
},setColumnMinWidth:function(ch,ci){this._setColumnData(ch,r,ci);
this._applyLayoutChange();
return this;
},getColumnMinWidth:function(eg){var eh=this.__colData[eg]||{};
return eh.minWidth||0;
},setRowMaxHeight:function(ee,ef){this._setRowData(ee,c,ef);
this._applyLayoutChange();
return this;
},getRowMaxHeight:function(bH){var bI=this.__rowData[bH]||{};
return bI.maxHeight||Infinity;
},setRowHeight:function(dd,de){this._setRowData(dd,h,de);
this._applyLayoutChange();
return this;
},getRowHeight:function(dp){var dq=this.__rowData[dp]||{};
return dq.height!==undefined?dq.height:null;
},setRowMinHeight:function(a,b){this._setRowData(a,p,b);
this._applyLayoutChange();
return this;
},getRowMinHeight:function(K){var L=this.__rowData[K]||{};
return L.minHeight||0;
},__getOuterSize:function(dh){var dl=dh.getSizeHint();
var dk=dh.getMarginLeft()+dh.getMarginRight();
var dj=dh.getMarginTop()+dh.getMarginBottom();
var di={height:dl.height+dj,width:dl.width+dk,minHeight:dl.minHeight+dj,minWidth:dl.minWidth+dk,maxHeight:dl.maxHeight+dj,maxWidth:dl.maxWidth+dk};
return di;
},_fixHeightsRowSpan:function(cK){var cV=this.getSpacingY();

for(var i=0,l=this.__rowSpans.length;i<l;i++){var cN=this.__rowSpans[i];
var cP=this.__getOuterSize(cN);
var cQ=cN.getLayoutProperties();
var cM=cQ.row;
var cT=cV*(cQ.rowSpan-1);
var cL=cT;
var cS={};

for(var j=0;j<cQ.rowSpan;j++){var cX=cQ.row+j;
var cO=cK[cX];
var cW=this.getRowFlex(cX);

if(cW>0){cS[cX]={min:cO.minHeight,value:cO.height,max:cO.maxHeight,flex:cW};
}cT+=cO.height;
cL+=cO.minHeight;
}if(cT<cP.height){var cU=qx.ui.layout.Util.computeFlexOffsets(cS,cP.height,cT);

for(var j=0;j<cQ.rowSpan;j++){var cR=cU[cM+j]?cU[cM+j].offset:0;
cK[cM+j].height+=cR;
}}if(cL<cP.minHeight){var cU=qx.ui.layout.Util.computeFlexOffsets(cS,cP.minHeight,cL);

for(var j=0;j<cQ.rowSpan;j++){var cR=cU[cM+j]?cU[cM+j].offset:0;
cK[cM+j].minHeight+=cR;
}}}},_fixWidthsColSpan:function(dv){var dz=this.getSpacingX();

for(var i=0,l=this.__colSpans.length;i<l;i++){var dw=this.__colSpans[i];
var dy=this.__getOuterSize(dw);
var dB=dw.getLayoutProperties();
var dx=dB.column;
var dH=dz*(dB.colSpan-1);
var dA=dH;
var dC={};
var dE;

for(var j=0;j<dB.colSpan;j++){var dI=dB.column+j;
var dG=dv[dI];
var dF=this.getColumnFlex(dI);
if(dF>0){dC[dI]={min:dG.minWidth,value:dG.width,max:dG.maxWidth,flex:dF};
}dH+=dG.width;
dA+=dG.minWidth;
}if(dH<dy.width){var dD=qx.ui.layout.Util.computeFlexOffsets(dC,dy.width,dH);

for(var j=0;j<dB.colSpan;j++){dE=dD[dx+j]?dD[dx+j].offset:0;
dv[dx+j].width+=dE;
}}if(dA<dy.minWidth){var dD=qx.ui.layout.Util.computeFlexOffsets(dC,dy.minWidth,dA);

for(var j=0;j<dB.colSpan;j++){dE=dD[dx+j]?dD[dx+j].offset:0;
dv[dx+j].minWidth+=dE;
}}}},_getRowHeights:function(){if(this.__rowHeights!=null){return this.__rowHeights;
}var cz=[];
var cs=this.__maxRowIndex;
var cr=this.__maxColIndex;

for(var cA=0;cA<=cs;cA++){var ct=0;
var cv=0;
var cu=0;

for(var cy=0;cy<=cr;cy++){var cq=this.__grid[cA][cy];

if(!cq){continue;
}var cw=cq.getLayoutProperties().rowSpan||0;

if(cw>1){continue;
}var cx=this.__getOuterSize(cq);

if(this.getRowFlex(cA)>0){ct=Math.max(ct,cx.minHeight);
}else{ct=Math.max(ct,cx.height);
}cv=Math.max(cv,cx.height);
}var ct=Math.max(ct,this.getRowMinHeight(cA));
var cu=this.getRowMaxHeight(cA);

if(this.getRowHeight(cA)!==null){var cv=this.getRowHeight(cA);
}else{var cv=Math.max(ct,Math.min(cv,cu));
}cz[cA]={minHeight:ct,height:cv,maxHeight:cu};
}
if(this.__rowSpans.length>0){this._fixHeightsRowSpan(cz);
}this.__rowHeights=cz;
return cz;
},_getColWidths:function(){if(this.__colWidths!=null){return this.__colWidths;
}var dW=[];
var dT=this.__maxColIndex;
var dV=this.__maxRowIndex;

for(var ec=0;ec<=dT;ec++){var ea=0;
var dY=0;
var dU=Infinity;

for(var ed=0;ed<=dV;ed++){var dS=this.__grid[ed][ec];

if(!dS){continue;
}var dX=dS.getLayoutProperties().colSpan||0;

if(dX>1){continue;
}var eb=this.__getOuterSize(dS);

if(this.getColumnFlex(ec)>0){dY=Math.max(dY,eb.minWidth);
}else{dY=Math.max(dY,eb.width);
}ea=Math.max(ea,eb.width);
}var dY=Math.max(dY,this.getColumnMinWidth(ec));
var dU=this.getColumnMaxWidth(ec);

if(this.getColumnWidth(ec)!==null){var ea=this.getColumnWidth(ec);
}else{var ea=Math.max(dY,Math.min(ea,dU));
}dW[ec]={minWidth:dY,width:ea,maxWidth:dU};
}
if(this.__colSpans.length>0){this._fixWidthsColSpan(dW);
}this.__colWidths=dW;
return dW;
},_getColumnFlexOffsets:function(cj){var ck=this.getSizeHint();
var co=cj-ck.width;

if(co==0){return {};
}var cm=this._getColWidths();
var cl={};

for(var i=0,l=cm.length;i<l;i++){var cp=cm[i];
var cn=this.getColumnFlex(i);

if((cn<=0)||(cp.width==cp.maxWidth&&co>0)||(cp.width==cp.minWidth&&co<0)){continue;
}cl[i]={min:cp.minWidth,value:cp.width,max:cp.maxWidth,flex:cn};
}return qx.ui.layout.Util.computeFlexOffsets(cl,cj,ck.width);
},_getRowFlexOffsets:function(dL){var dM=this.getSizeHint();
var dP=dL-dM.height;

if(dP==0){return {};
}var dQ=this._getRowHeights();
var dN={};

for(var i=0,l=dQ.length;i<l;i++){var dR=dQ[i];
var dO=this.getRowFlex(i);

if((dO<=0)||(dR.height==dR.maxHeight&&dP>0)||(dR.height==dR.minHeight&&dP<0)){continue;
}dN[i]={min:dR.minHeight,value:dR.height,max:dR.maxHeight,flex:dO};
}return qx.ui.layout.Util.computeFlexOffsets(dN,dL,dM.height);
},renderLayout:function(M,N){if(this._invalidChildrenCache){this.__buildGrid();
}var bc=qx.ui.layout.Util;
var P=this.getSpacingX();
var V=this.getSpacingY();
var bh=this._getColWidths();
var bg=this._getColumnFlexOffsets(M);
var Q=[];
var bj=this.__maxColIndex;
var O=this.__maxRowIndex;
var bi;

for(var bk=0;bk<=bj;bk++){bi=bg[bk]?bg[bk].offset:0;
Q[bk]=bh[bk].width+bi;
}var Y=this._getRowHeights();
var bb=this._getRowFlexOffsets(N);
var bq=[];

for(var W=0;W<=O;W++){bi=bb[W]?bb[W].offset:0;
bq[W]=Y[W].height+bi;
}var br=0;

for(var bk=0;bk<=bj;bk++){var top=0;

for(var W=0;W<=O;W++){var be=this.__grid[W][bk];
if(!be){top+=bq[W]+V;
continue;
}var R=be.getLayoutProperties();
if(R.row!==W||R.column!==bk){top+=bq[W]+V;
continue;
}var bp=P*(R.colSpan-1);

for(var i=0;i<R.colSpan;i++){bp+=Q[bk+i];
}var bf=V*(R.rowSpan-1);

for(var i=0;i<R.rowSpan;i++){bf+=bq[W+i];
}var S=be.getSizeHint();
var bn=be.getMarginTop();
var bd=be.getMarginLeft();
var ba=be.getMarginBottom();
var U=be.getMarginRight();
var X=Math.max(S.minWidth,Math.min(bp-bd-U,S.maxWidth));
var bo=Math.max(S.minHeight,Math.min(bf-bn-ba,S.maxHeight));
var bl=this.getCellAlign(W,bk);
var bm=br+bc.computeHorizontalAlignOffset(bl.hAlign,X,bp,bd,U);
var T=top+bc.computeVerticalAlignOffset(bl.vAlign,bo,bf,bn,ba);
be.renderLayout(bm,T,X,bo);
top+=bq[W]+V;
}br+=Q[bk]+P;
}},invalidateLayoutCache:function(){arguments.callee.base.call(this);
this.__colWidths=null;
this.__rowHeights=null;
},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__buildGrid();
}var ca=this._getColWidths();
var cc=0,cd=0;

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

if(this.getColumnFlex(i)>0){cc+=ce.minWidth;
}else{cc+=ce.width;
}cd+=ce.width;
}var cf=this._getRowHeights();
var bX=0,cb=0;

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

if(this.getRowFlex(i)>0){bX+=cg.minHeight;
}else{bX+=cg.height;
}cb+=cg.height;
}var bW=this.getSpacingX()*(ca.length-1);
var bV=this.getSpacingY()*(cf.length-1);
var bY={minWidth:cc+bW,width:cd+bW,minHeight:bX+bV,height:cb+bV};
return bY;
}},destruct:function(){this._disposeFields(f,n,e,s,m,k,g);
}});
})();
(function(){var k="\n",j="",i=" &nbsp;",h="<br>",g=" ",f="qx.bom.String";
qx.Class.define(f,{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(l){return qx.util.StringEscape.escape(l,qx.bom.String.FROM_CHARCODE);
},unescape:function(b){return qx.util.StringEscape.unescape(b,qx.bom.String.TO_CHARCODE);
},fromText:function(c){return qx.bom.String.escape(c).replace(/(  |\n)/g,function(d){var e={"  ":i,"\n":h};
return e[d]||d;
});
},toText:function(p){return qx.bom.String.unescape(p.replace(/\s+|<([^>])+>/gi,function(a){if(/\s+/.test(a)){return g;
}else if(/^<BR|^<br/gi.test(a)){return k;
}else{return j;
}}));
}},defer:function(m,n,o){m.FROM_CHARCODE=qx.lang.Object.invert(m.TO_CHARCODE);
}});
})();
(function(){var j=";",h="&",g='X',f="",e='#',d="&#",c="qx.util.StringEscape";
qx.Bootstrap.define(c,{statics:{escape:function(k,m){var o,q=f;

for(var i=0,l=k.length;i<l;i++){var p=k.charAt(i);
var n=p.charCodeAt(0);

if(m[n]){o=h+m[n]+j;
}else{if(n>0x7F){o=d+n+j;
}else{o=p;
}}q+=o;
}return q;
},unescape:function(a,b){return a.replace(/&[#\w]+;/gi,function(r){var s=r;
var r=r.substring(1,r.length-1);
var t=b[r];

if(t){s=String.fromCharCode(t);
}else{if(r.charAt(0)==e){if(r.charAt(1).toUpperCase()==g){t=r.substring(2);
if(t.match(/^[0-9A-Fa-f]+$/gi)){s=String.fromCharCode(parseInt(t,16));
}}else{t=r.substring(1);
if(t.match(/^\d+$/gi)){s=String.fromCharCode(parseInt(t,10));
}}}}return s;
});
}}});
})();
(function(){var a="qx.util.format.IFormat";
qx.Interface.define(a,{members:{format:function(b){},parse:function(c){}}});
})();
(function(){var F="",E="Number",D="-",C="0",B="String",A="changeNumberFormat",z='(',y="g",x="Boolean",w="$",p="NaN",v='([0-9]{1,3}(?:',s='{0,1}[0-9]{3}){0,})',o='\\d+){0,1}',n="qx.util.format.NumberFormat",r="Infinity",q="^",t=".",m="-Infinity",u='([-+]){0,1}';
qx.Class.define(n,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(H){arguments.callee.base.call(this);
this.__locale=H;
},statics:{getIntegerInstance:function(){var G=qx.util.format.NumberFormat;

if(G._integerInstance==null){G._integerInstance=new G();
G._integerInstance.setMaximumFractionDigits(0);
}return G._integerInstance;
},getInstance:function(){if(!this._instance){this._instance=new this;
}return this._instance;
}},properties:{minimumIntegerDigits:{check:E,init:0},maximumIntegerDigits:{check:E,nullable:true},minimumFractionDigits:{check:E,init:0},maximumFractionDigits:{check:E,nullable:true},groupingUsed:{check:x,init:true},prefix:{check:B,init:F,event:A},postfix:{check:B,init:F,event:A}},members:{__locale:null,format:function(a){switch(a){case Infinity:return r;
case -Infinity:return m;
case NaN:return p;
}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=F+a;
var h=b.substring(0,k);

while(h.length<this.getMinimumIntegerDigits()){h=C+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+=C;
}
if(this.getMaximumFractionDigits()!=null&&g.length>this.getMaximumFractionDigits()){g=g.substring(0,this.getMaximumFractionDigits());
}if(this.getGroupingUsed()){var d=h;
h=F;
var j;

for(j=d.length;j>3;j-=3){h=F+qx.locale.Number.getGroupSeparator(this.__locale)+d.substring(j-3,j)+h;
}h=d.substring(0,j)+h;
}var f=this.getPrefix()?this.getPrefix():F;
var c=this.getPostfix()?this.getPostfix():F;
var i=f+(e?D:F)+h;

if(g.length>0){i+=F+qx.locale.Number.getDecimalSeparator(this.__locale)+g;
}i+=c;
return i;
},parse:function(I){var N=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this.__locale)+F);
var L=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this.__locale)+F);
var J=new RegExp(q+qx.lang.String.escapeRegexpChars(this.getPrefix())+u+v+N+s+z+L+o+qx.lang.String.escapeRegexpChars(this.getPostfix())+w);
var M=J.exec(I);

if(M==null){throw new Error("Number string '"+I+"' does not match the number format");
}var O=(M[1]==D);
var Q=M[2];
var P=M[3];
Q=Q.replace(new RegExp(N,y),F);
var K=(O?D:F)+Q;

if(P!=null&&P.length!=0){P=P.replace(new RegExp(L),F);
K+=t+P;
}return parseFloat(K);
}}});
})();
(function(){var e="cldr_number_decimal_separator",d="cldr_number_percent_format",c="qx.locale.Number",b="cldr_number_group_separator";
qx.Class.define(c,{statics:{getDecimalSeparator:function(f){return qx.locale.Manager.getInstance().localize(e,[],f);
},getGroupSeparator:function(g){return qx.locale.Manager.getInstance().localize(b,[],g);
},getPercentFormat:function(a){return qx.locale.Manager.getInstance().localize(d,[],a);
}}});
})();
(function(){var cn="(\\d\\d?)",cm="format",cl="abbreviated",ck="",cj="wide",ci="(",ch=")",cg="|",cf="stand-alone",ce="wildcard",bS="default",bR="literal",bQ="'",bP="hour",bO="(\\d\\d?\\d?)",bN="ms",bM="narrow",bL="-",bK="quoted_literal",bJ='a',cu="HH:mm:ss",cv="+",cs="HHmmss",ct="long",cq='z',cr="sec",co="day",cp='Z',cw=" ",cx="min",bW="SSS",bV="h",bY="mm",bX='L',cb="Z",ca='K',cd="EEEE",cc="^",bU=":",bT='y',N="(\\d\\d(\\d\\d)?)",O="(\\d\\d)",P="K",Q="a",R="GMT",S="dd",T="__format",U="qx.util.format.DateFormat",V="__formatTree",W="([\\+\\-]\\d\\d:?\\d\\d)",cB="H",cA="YYYY",cz="HH",cy="EE",cF='h',cE="S",cD='s',cC='A',cH="KK",cG="ss",bt="__parseRules",bu='H',br='S',bs="0",bx="MMMM",by='c',bv="d",bw="([a-zA-Z]+)",bp='k',bq="m",bf='D',be="kk",bh="hh",bg="__locale",bb="MM",ba="yy",bd="yyyy-MM-dd HH:mm:ss",bc="short",Y='d',X="unkown",bD='Y',bE='m',bF="(\\d\\d\\d\\d)",bG="k",bz='M',bA="__parseFeed",bB="SS",bC="MMM",bH="s",bI="M",bo='w',bn="EEE",bm="$",bl="?",bk='E',bj="z",bi="yyyy";
qx.Class.define(U,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(dQ,dR){arguments.callee.base.call(this);

if(!dR){this.__locale=qx.locale.Manager.getInstance().getLocale();
}else{this.__locale=dR;
}
if(dQ!=null){this.__format=dQ.toString();
}else{this.__format=qx.locale.Date.getDateFormat(ct,this.__locale)+cw+qx.locale.Date.getDateTimeFormat(cs,cu,this.__locale);
}},statics:{getDateTimeInstance:function(){var M=qx.util.format.DateFormat;
var L=qx.locale.Date.getDateFormat(ct)+cw+qx.locale.Date.getDateTimeFormat(cs,cu);

if(M._dateInstance==null||M.__format!=L){M._dateTimeInstance=new M();
}return M._dateTimeInstance;
},getDateInstance:function(){var f=qx.util.format.DateFormat;
var e=qx.locale.Date.getDateFormat(bc)+ck;

if(f._dateInstance==null||f.__format!=e){f._dateInstance=new f(e);
}return f._dateInstance;
},ASSUME_YEAR_2000_THRESHOLD:30,LOGGING_DATE_TIME__format:bd,AM_MARKER:"am",PM_MARKER:"pm",MEDIUM_TIMEZONE_NAMES:["GMT"],FULL_TIMEZONE_NAMES:["Greenwich Mean Time"]},members:{__locale:null,__format:null,__parseFeed:null,__parseRules:null,__formatTree:null,__fillNumber:function(dS,dT){var dU=ck+dS;

while(dU.length<dT){dU=bs+dU;
}return dU;
},__getDayInYear:function(r){var s=new Date(r.getTime());
var t=s.getDate();

while(s.getMonth()!=0){s.setDate(-1);
t+=s.getDate()+1;
}return t;
},__thursdayOfSameWeek:function(g){return new Date(g.getTime()+(3-((g.getDay()+6)%7))*86400000);
},__getWeekInYear:function(a){var c=this.__thursdayOfSameWeek(a);
var d=c.getFullYear();
var b=this.__thursdayOfSameWeek(new Date(d,0,4));
return Math.floor(1.5+(c.getTime()-b.getTime())/86400000/7);
},format:function(de){if(de==null){return null;
}var dk=qx.util.format.DateFormat;
var dl=this.__locale;
var dw=de.getFullYear();
var dq=de.getMonth();
var dy=de.getDate();
var df=de.getDay();
var dr=de.getHours();
var dm=de.getMinutes();
var ds=de.getSeconds();
var du=de.getMilliseconds();
var dx=de.getTimezoneOffset();
var di=dx>0?1:-1;
var dg=Math.floor(Math.abs(dx)/60);
var dn=Math.abs(dx)%60;
this.__initFormatTree();
var dv=ck;

for(var i=0;i<this.__formatTree.length;i++){var dt=this.__formatTree[i];

if(dt.type==bR){dv+=dt.text;
}else{var dj=dt.character;
var dp=dt.size;
var dh=bl;

switch(dj){case bT:case bD:if(dp==2){dh=this.__fillNumber(dw%100,2);
}else if(dp==4){dh=dw;
}break;
case bf:dh=this.__fillNumber(this.__getDayInYear(de),dp);
break;
case Y:dh=this.__fillNumber(dy,dp);
break;
case bo:dh=this.__fillNumber(this.__getWeekInYear(de),dp);
break;
case bk:if(dp==2){dh=qx.locale.Date.getDayName(bM,df,dl,cm);
}else if(dp==3){dh=qx.locale.Date.getDayName(cl,df,dl,cm);
}else if(dp==4){dh=qx.locale.Date.getDayName(cj,df,dl,cm);
}break;
case by:if(dp==2){dh=qx.locale.Date.getDayName(bM,df,dl,cf);
}else if(dp==3){dh=qx.locale.Date.getDayName(cl,df,dl,cf);
}else if(dp==4){dh=qx.locale.Date.getDayName(cj,df,dl,cf);
}break;
case bz:if(dp==1||dp==2){dh=this.__fillNumber(dq+1,dp);
}else if(dp==3){dh=qx.locale.Date.getMonthName(cl,dq,dl,cm);
}else if(dp==4){dh=qx.locale.Date.getMonthName(cj,dq,dl,cm);
}break;
case bX:if(dp==1||dp==2){dh=this.__fillNumber(dq+1,dp);
}else if(dp==3){dh=qx.locale.Date.getMonthName(cl,dq,dl,cf);
}else if(dp==4){dh=qx.locale.Date.getMonthName(cj,dq,dl,cf);
}break;
case bJ:dh=(dr<12)?qx.locale.Date.getAmMarker(dl):qx.locale.Date.getPmMarker(dl);
break;
case bu:dh=this.__fillNumber(dr,dp);
break;
case bp:dh=this.__fillNumber((dr==0)?24:dr,dp);
break;
case ca:dh=this.__fillNumber(dr%12,dp);
break;
case cF:dh=this.__fillNumber(((dr%12)==0)?12:(dr%12),dp);
break;
case bE:dh=this.__fillNumber(dm,dp);
break;
case cD:dh=this.__fillNumber(ds,dp);
break;
case br:dh=this.__fillNumber(du,dp);
break;
case cq:if(dp==1){dh=R+((di>0)?bL:cv)+this.__fillNumber(Math.abs(dg))+bU+this.__fillNumber(dn,2);
}else if(dp==2){dh=dk.MEDIUM_TIMEZONE_NAMES[dg];
}else if(dp==3){dh=dk.FULL_TIMEZONE_NAMES[dg];
}break;
case cp:dh=((di>0)?bL:cv)+this.__fillNumber(Math.abs(dg),2)+this.__fillNumber(dn,2);
break;
}dv+=dh;
}}return dv;
},parse:function(A){this.__initParseFeed();
var G=this.__parseFeed.regex.exec(A);

if(G==null){throw new Error("Date string '"+A+"' does not match the date format: "+this.__format);
}var B={year:1970,month:0,day:1,hour:0,ispm:false,min:0,sec:0,ms:0};
var C=1;

for(var i=0;i<this.__parseFeed.usedRules.length;i++){var E=this.__parseFeed.usedRules[i];
var D=G[C];

if(E.field!=null){B[E.field]=parseInt(D,10);
}else{E.manipulator(B,D);
}C+=(E.groups==null)?1:E.groups;
}var F=new Date(B.year,B.month,B.day,(B.ispm)?(B.hour+12):B.hour,B.min,B.sec,B.ms);

if(B.month!=F.getMonth()||B.year!=F.getFullYear()){throw new Error("Error parsing date '"+A+"': the value for day or month is too large");
}return F;
},__initFormatTree:function(){if(this.__formatTree!=null){return;
}this.__formatTree=[];
var cM;
var cK=0;
var cO=ck;
var cI=this.__format;
var cL=bS;
var i=0;

while(i<cI.length){var cN=cI.charAt(i);

switch(cL){case bK:if(cN==bQ){if(i+1>=cI.length){i++;
break;
}var cJ=cI.charAt(i+1);

if(cJ==bQ){cO+=cN;
i++;
}else{i++;
cL=X;
}}else{cO+=cN;
i++;
}break;
case ce:if(cN==cM){cK++;
i++;
}else{this.__formatTree.push({type:ce,character:cM,size:cK});
cM=null;
cK=0;
cL=bS;
}break;
default:if((cN>=bJ&&cN<=cq)||(cN>=cC&&cN<=cp)){cM=cN;
cL=ce;
}else if(cN==bQ){if(i+1>=cI.length){cO+=cN;
i++;
break;
}var cJ=cI.charAt(i+1);

if(cJ==bQ){cO+=cN;
i++;
}i++;
cL=bK;
}else{cL=bS;
}
if(cL!=bS){if(cO.length>0){this.__formatTree.push({type:bR,text:cO});
cO=ck;
}}else{cO+=cN;
i++;
}break;
}}if(cM!=null){this.__formatTree.push({type:ce,character:cM,size:cK});
}else if(cO.length>0){this.__formatTree.push({type:bR,text:cO});
}},__initParseFeed:function(){if(this.__parseFeed!=null){return ;
}var cU=this.__format;
this.__initParseRules();
this.__initFormatTree();
var db=[];
var cW=cc;

for(var cS=0;cS<this.__formatTree.length;cS++){var dc=this.__formatTree[cS];

if(dc.type==bR){cW+=qx.lang.String.escapeRegexpChars(dc.text);
}else{var cT=dc.character;
var cX=dc.size;
var cV;

for(var dd=0;dd<this.__parseRules.length;dd++){var cY=this.__parseRules[dd];

if(cT==cY.pattern.charAt(0)&&cX==cY.pattern.length){cV=cY;
break;
}}if(cV==null){var da=ck;

for(var i=0;i<cX;i++){da+=cT;
}throw new Error("Malformed date format: "+cU+". Wildcard "+da+" is not supported");
}else{db.push(cV);
cW+=cV.regex;
}}}cW+=bm;
var cR;

try{cR=new RegExp(cW);
}catch(q){throw new Error("Malformed date format: "+cU);
}this.__parseFeed={regex:cR,"usedRules":db,pattern:cW};
},__initParseRules:function(){var dD=qx.util.format.DateFormat;

if(this.__parseRules!=null){return ;
}this.__parseRules=[];
var dP=function(k,l){l=parseInt(l,10);

if(l<dD.ASSUME_YEAR_2000_THRESHOLD){l+=2000;
}else if(l<100){l+=1900;
}k.year=l;
};
var dF=function(H,I){H.month=parseInt(I,10)-1;
};
var dG=function(o,p){o.ispm=(p==dD.PM_MARKER);
};
var dK=function(h,j){h.hour=parseInt(j,10)%24;
};
var dE=function(u,v){u.hour=parseInt(v,10)%12;
};
var dN=function(dV,dW){return;
};
var dL=qx.locale.Date.getMonthNames(cl,this.__locale,cm);

for(var i=0;i<dL.length;i++){dL[i]=qx.lang.String.escapeRegexpChars(dL[i].toString());
}var dM=function(y,z){z=qx.lang.String.escapeRegexpChars(z);
y.month=dL.indexOf(z);
};
var dA=qx.locale.Date.getMonthNames(cj,this.__locale,cm);

for(var i=0;i<dA.length;i++){dA[i]=qx.lang.String.escapeRegexpChars(dA[i].toString());
}var dz=function(w,x){x=qx.lang.String.escapeRegexpChars(x);
w.month=dA.indexOf(x);
};
var dC=qx.locale.Date.getDayNames(bM,this.__locale,cm);

for(var i=0;i<dC.length;i++){dC[i]=qx.lang.String.escapeRegexpChars(dC[i].toString());
}var dI=function(m,n){n=qx.lang.String.escapeRegexpChars(n);
m.month=dC.indexOf(n);
};
var dO=qx.locale.Date.getDayNames(cl,this.__locale,cm);

for(var i=0;i<dO.length;i++){dO[i]=qx.lang.String.escapeRegexpChars(dO[i].toString());
}var dH=function(cP,cQ){cQ=qx.lang.String.escapeRegexpChars(cQ);
cP.month=dO.indexOf(cQ);
};
var dJ=qx.locale.Date.getDayNames(cj,this.__locale,cm);

for(var i=0;i<dJ.length;i++){dJ[i]=qx.lang.String.escapeRegexpChars(dJ[i].toString());
}var dB=function(J,K){K=qx.lang.String.escapeRegexpChars(K);
J.month=dJ.indexOf(K);
};
this.__parseRules.push({pattern:cA,regex:bF,manipulator:dP});
this.__parseRules.push({pattern:bi,regex:N,groups:2,manipulator:dP});
this.__parseRules.push({pattern:ba,regex:O,manipulator:dP});
this.__parseRules.push({pattern:bI,regex:cn,manipulator:dF});
this.__parseRules.push({pattern:bb,regex:cn,manipulator:dF});
this.__parseRules.push({pattern:bC,regex:ci+dL.join(cg)+ch,manipulator:dM});
this.__parseRules.push({pattern:bx,regex:ci+dA.join(cg)+ch,manipulator:dz});
this.__parseRules.push({pattern:S,regex:cn,field:co});
this.__parseRules.push({pattern:bv,regex:cn,field:co});
this.__parseRules.push({pattern:cy,regex:ci+dC.join(cg)+ch,manipulator:dI});
this.__parseRules.push({pattern:bn,regex:ci+dO.join(cg)+ch,manipulator:dH});
this.__parseRules.push({pattern:cd,regex:ci+dJ.join(cg)+ch,manipulator:dB});
this.__parseRules.push({pattern:Q,regex:ci+dD.AM_MARKER+cg+dD.PM_MARKER+ch,manipulator:dG});
this.__parseRules.push({pattern:cz,regex:cn,field:bP});
this.__parseRules.push({pattern:cB,regex:cn,field:bP});
this.__parseRules.push({pattern:be,regex:cn,manipulator:dK});
this.__parseRules.push({pattern:bG,regex:cn,manipulator:dK});
this.__parseRules.push({pattern:cH,regex:cn,field:bP});
this.__parseRules.push({pattern:P,regex:cn,field:bP});
this.__parseRules.push({pattern:bh,regex:cn,manipulator:dE});
this.__parseRules.push({pattern:bV,regex:cn,manipulator:dE});
this.__parseRules.push({pattern:bY,regex:cn,field:cx});
this.__parseRules.push({pattern:bq,regex:cn,field:cx});
this.__parseRules.push({pattern:cG,regex:cn,field:cr});
this.__parseRules.push({pattern:bH,regex:cn,field:cr});
this.__parseRules.push({pattern:bW,regex:bO,field:bN});
this.__parseRules.push({pattern:bB,regex:bO,field:bN});
this.__parseRules.push({pattern:cE,regex:bO,field:bN});
this.__parseRules.push({pattern:cb,regex:W,manipulator:dN});
this.__parseRules.push({pattern:bj,regex:bw,manipulator:dN});
}},destruct:function(){this._disposeFields(T,bg,V,bA,bt);
}});
})();
(function(){var G="_",F="format",E="thu",D="sat",C="cldr_day_",B="cldr_month_",A="wed",z="fri",y="tue",x="mon",X="sun",W="short",V="HH:mm",U="HHmmsszz",T="HHmm",S="HHmmss",R="cldr_date_format_",Q="HH:mm:ss zz",P="full",O="cldr_pm",M="long",N="medium",K="cldr_am",L="qx.locale.Date",I="cldr_date_time_format_",J="cldr_time_format_",H="HH:mm:ss";
qx.Class.define(L,{statics:{__mgr:qx.locale.Manager.getInstance(),getAmMarker:function(bs){return this.__mgr.localize(K,[],bs);
},getPmMarker:function(Y){return this.__mgr.localize(O,[],Y);
},getDayNames:function(length,bg,bh){var bh=bh?bh:F;
{};
var bj=[X,x,y,A,E,z,D];
var bk=[];

for(var i=0;i<bj.length;i++){var bi=C+bh+G+length+G+bj[i];
bk.push(this.__mgr.localize(bi,[],bg));
}return bk;
},getDayName:function(length,a,b,c){var c=c?c:F;
{};
var e=[X,x,y,A,E,z,D];
var d=C+c+G+length+G+e[a];
return this.__mgr.localize(d,[],b);
},getMonthNames:function(length,ba,bb){var bb=bb?bb:F;
{};
var bd=[];

for(var i=0;i<12;i++){var bc=B+bb+G+length+G+(i+1);
bd.push(this.__mgr.localize(bc,[],ba));
}return bd;
},getMonthName:function(length,bo,bp,bq){var bq=bq?bq:F;
{};
var br=B+bq+G+length+G+(bo+1);
return this.__mgr.localize(br,[],bp);
},getDateFormat:function(bl,bm){{};
var bn=R+bl;
return this.__mgr.localize(bn,[],bm);
},getDateTimeFormat:function(bt,bu,bv){var bx=I+bt;
var bw=this.__mgr.localize(bx,[],bv);

if(bw==bx){bw=bu;
}return bw;
},getTimeFormat:function(j,k){{};
var m=J+j;
var l=this.__mgr.localize(m,[],k);

if(l!=m){return l;
}
switch(j){case W:case N:return qx.locale.Date.getDateTimeFormat(T,V);
case M:return qx.locale.Date.getDateTimeFormat(S,H);
case P:return qx.locale.Date.getDateTimeFormat(U,Q);
default:throw new Error("This case should never happen.");
}},getWeekStart:function(u){var v={"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 w=qx.locale.Date._getTerritory(u);
return v[w]!=null?v[w]:1;
},getWeekendStart:function(f){var h={"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 g=qx.locale.Date._getTerritory(f);
return h[g]!=null?h[g]:6;
},getWeekendEnd:function(n){var o={"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 p=qx.locale.Date._getTerritory(n);
return o[p]!=null?o[p]:0;
},isWeekend:function(q,r){var t=qx.locale.Date.getWeekendStart(r);
var s=qx.locale.Date.getWeekendEnd(r);

if(s>t){return ((q>=t)&&(q<=s));
}else{return ((q>=t)||(q<=s));
}},_getTerritory:function(be){if(be){var bf=be.split(G)[1]||be;
}else{bf=this.__mgr.getTerritory()||this.__mgr.getLanguage();
}return bf.toUpperCase();
}}});
})();
(function(){var k="Boolean",j="invalid",i="qx.ui.form.MForm",h="_applyValid",g="",f="changeRequired",e="changeValid",d="changeInvalidMessage",c="String";
qx.Mixin.define(i,{properties:{valid:{check:k,init:true,apply:h,event:e},required:{check:k,init:false,event:f},invalidMessage:{check:c,init:g,event:d}},members:{_applyValid:function(a,b){a?this.removeState(j):this.addState(j);
}}});
})();
(function(){var z="showingPlaceholder",y="",x="none",w="changeValue",v="Boolean",u="qx.client",t="color",s="qx.event.type.Data",r="readonly",q="input",bd="focusin",bc="focusout",bb="readOnly",ba="text",Y="_applyTextAlign",X="RegExp",W="syncAppearance",V="gecko",U="A",T="change",G="textAlign",H="focused",E="center",F="disabled",C="String",D="resize",A="qx.ui.form.AbstractField",B="transparent",I="off",J="spellcheck",M="false",L="right",O="PositiveInteger",N="abstract",Q="block",P="webkit",K="_applyReadOnly",S="_applyPlaceholder",R="left";
qx.Class.define(A,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm,qx.ui.form.IForm],include:[qx.ui.form.MForm],type:N,construct:function(d){arguments.callee.base.call(this);

if(d!=null){this.setValue(d);
}this.getContentElement().addListener(T,this._onChangeContent,this);
this.addListener(W,this._syncPlaceholder,this);
},events:{"input":s,"changeValue":s},properties:{textAlign:{check:[R,E,L],nullable:true,themeable:true,apply:Y},readOnly:{check:v,apply:K,init:false},selectable:{refine:true,init:true},focusable:{refine:true,init:true},maxLength:{check:O,init:Infinity},liveUpdate:{check:v,init:false},placeholder:{check:C,nullable:true,apply:S},filter:{check:X,nullable:true,init:null}},members:{__nullValue:true,getFocusElement:function(){return this.getContentElement();
},_createInputElement:function(){return new qx.html.Input(ba);
},_createContentElement:function(){var p=this._createInputElement();
p.setSelectable(this.getSelectable());
p.setEnabled(this.getEnabled());
p.addListener(q,this._onHtmlInput,this);
if(qx.core.Variant.isSet(u,V)){p.setAttribute(J,M);
}p.setStyles({"border":x,"padding":0,"margin":0,"display":Q,"background":B,"outline":x,"appearance":x,"autoComplete":I});
if(qx.core.Variant.isSet(u,P)){p.setStyle(D,x);
}return p;
},_applyEnabled:function(n,o){arguments.callee.base.call(this,n,o);
this.getContentElement().setEnabled(n);

if(n){this._showPlaceholder();
}else{this._removePlaceholder();
}},__textSize:{width:16,height:16},_getContentHint:function(){return {width:this.__textSize.width*10,height:this.__textSize.height||16};
},_applyFont:function(j,k){var l;

if(j){var m=qx.theme.manager.Font.getInstance().resolve(j);
l=m.getStyles();
}else{l=qx.bom.Font.getDefaultStyles();
}this.getContentElement().setStyles(l);
if(j){this.__textSize=qx.bom.Label.getTextSize(U,l);
}else{delete this.__textSize;
}qx.ui.core.queue.Layout.add(this);
},_applyTextColor:function(h,i){if(h){this.getContentElement().setStyle(t,qx.theme.manager.Color.getInstance().resolve(h));
}else{this.getContentElement().removeStyle(t);
}},tabFocus:function(){arguments.callee.base.call(this);
this.selectAllText();
},_getTextSize:function(){return this.__textSize;
},_onHtmlInput:function(e){var bh=e.getData();
var bg=true;
this.__nullValue=false;
if(this.getFilter()!=null){var bi=y;
var be=bh.search(this.getFilter());
var bf=bh;

while(be>=0){bi=bi+(bf.charAt(be));
bf=bf.substring(be+1,bf.length);
be=bf.search(this.getFilter());
}
if(bi!=bh){bg=false;
bh=bi;
this.getContentElement().setValue(bh);
}}if(bh.length>this.getMaxLength()){var bg=false;
this.getContentElement().setValue(bh.substr(0,this.getMaxLength()));
}if(bg){this.fireDataEvent(q,bh);
if(this.getLiveUpdate()){this.fireNonBubblingEvent(w,qx.event.type.Data,[bh]);
}}},setValue:function(br){if(br===null){if(this.__nullValue){return br;
}br=y;
this.__nullValue=true;
}else{this.__nullValue=false;
this._removePlaceholder();
}
if(qx.lang.Type.isString(br)){var bt=this.getContentElement();

if(br.length>this.getMaxLength()){br=br.substr(0,this.getMaxLength());
}
if(bt.getValue()!=br){var bu=bt.getValue();
bt.setValue(br);
var bs=this.__nullValue?null:br;
this.fireNonBubblingEvent(w,qx.event.type.Data,[bs,bu]);
}this._showPlaceholder();
return br;
}throw new Error("Invalid value type: "+br);
},getValue:function(){var bk=this.hasState(z);
var bj=bk?y:this.getContentElement().getValue();
return this.__nullValue?null:bj;
},resetValue:function(){this.setValue(null);
},_onChangeContent:function(e){this.__nullValue=e.getData()===null;
this.fireNonBubblingEvent(w,qx.event.type.Data,[e.getData()]);
},getTextSelection:function(){return this.getContentElement().getTextSelection();
},getTextSelectionLength:function(){return this.getContentElement().getTextSelectionLength();
},setTextSelection:function(bn,bo){this.getContentElement().setTextSelection(bn,bo);
},clearTextSelection:function(){this.getContentElement().clearTextSelection();
},selectAllText:function(){this.setTextSelection(0);
},_showPlaceholder:function(){var bq=this.getValue()||y;
var bp=this.getPlaceholder();

if(bp!=null&&bq==y&&!this.hasState(H)&&!this.hasState(F)){if(this.hasState(z)){this._syncPlaceholder();
}else{this.addState(z);
}}},_removePlaceholder:function(){if(this.hasState(z)){this.getContentElement().setValue(y);
this.removeState(z);
}},_syncPlaceholder:function(){if(this.hasState(z)){this.getContentElement().setValue(this.getPlaceholder());
}},_applyPlaceholder:function(bl,bm){if(bl!=null){this.addListener(bd,this._removePlaceholder,this);
this.addListener(bc,this._showPlaceholder,this);
this._showPlaceholder();
}else{this.removeListener(bd,this._removePlaceholder,this);
this.removeListener(bc,this._showPlaceholder,this);
this._removePlaceholder();
}},_applyTextAlign:function(f,g){this.getContentElement().setStyle(G,f);
},_applyReadOnly:function(a,b){var c=this.getContentElement();
c.setAttribute(bb,a);

if(a){this.addState(r);
this.setFocusable(false);
}else{this.removeState(r);
this.setFocusable(true);
}}}});
})();
(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 v="none",u="wrap",t="value",s="qx.client",r="textarea",q="userSelect",p="on",o="off",n="userModify",m="qxSelectable",h="",l="webkit",k="input",g="qx.html.Input",f="select",j="disabled",i="read-only";
qx.Class.define(g,{extend:qx.html.Element,construct:function(C){arguments.callee.base.call(this);
this.__type=C;
if(C===f||C===r){this.setNodeName(C);
}else{this.setNodeName(k);
}},members:{__type:null,__selectable:null,__enabled:null,_createDomElement:function(){return qx.bom.Input.create(this.__type);
},_applyProperty:function(name,a){arguments.callee.base.call(this,name,a);
var b=this.getDomElement();

if(name===t){qx.bom.Input.setValue(b,a);
}else if(name===u){qx.bom.Input.setWrap(b,a);
}},setEnabled:qx.core.Variant.select(s,{"webkit":function(e){this.__enabled=e;

if(!e){this.setStyle(n,i);
this.setStyle(q,v);
}else{this.setStyle(n,null);
this.setStyle(q,this.__selectable?null:v);
}},"default":function(w){this.setAttribute(j,w===false);
}}),setSelectable:qx.core.Variant.select(s,{"webkit":function(y){this.__selectable=y;
this.setAttribute(m,y?p:o);
if(qx.core.Variant.isSet(s,l)){var z=this.__enabled?y?null:v:v;
this.setStyle(q,z);
}},"default":function(c){this.setAttribute(m,c?p:o);
}}),setValue:function(A){var B=this.getDomElement();

if(B){if(B.value!=A){qx.bom.Input.setValue(B,A);
}}else{this._setProperty(t,A);
}return this;
},getValue:function(){var d=this.getDomElement();

if(d){return qx.bom.Input.getValue(d);
}return this._getProperty(t)||h;
},setWrap:function(x){if(this.__type===r){this._setProperty(u,x);
}else{throw new Error("Text wrapping is only support by textareas!");
}return this;
},getWrap:function(){if(this.__type===r){return this._getProperty(u);
}else{throw new Error("Text wrapping is only support by textareas!");
}}}});
})();
(function(){var C="change",B="input",A="checkbox",z="radio",y="textarea",x="qx.client",w="text",v="password",u="keypress",t="propertychange",p="select-multiple",s="checked",r="value",n="select",m="qx.event.handler.Input",q="Enter";
qx.Class.define(m,{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(K,L){var M=K.tagName.toLowerCase();

if(L===B&&(M===B||M===y)){return true;
}
if(L===C&&(M===B||M===y||M===n)){return true;
}return false;
},registerEvent:qx.core.Variant.select(x,{"mshtml":function(a,b,c){if(!a.__inputHandlerAttached){var d=a.tagName.toLowerCase();
var f=a.type;

if(f===w||f===v||d===y||f===A||f===z){qx.bom.Event.addNativeListener(a,t,this._onPropertyWrapper);
}
if(f!==A&&f!==z){qx.bom.Event.addNativeListener(a,C,this._onChangeValueWrapper);
}this.__changeEventOnEnterFix(a,f);
a.__inputHandlerAttached=true;
}},"default":function(D,E,F){if(E===B){this.__registerInputListener(D);
}else if(E===C){if(D.type===z||D.type===A){qx.bom.Event.addNativeListener(D,C,this._onChangeCheckedWrapper);
}else{qx.bom.Event.addNativeListener(D,C,this._onChangeValueWrapper);
}this.__changeEventOnEnterFix(D,D.type);
}}}),__registerInputListener:qx.core.Variant.select(x,{"mshtml":null,"webkit":function(Q){var R=Q.tagName.toLowerCase();
if(qx.bom.client.Engine.VERSION<532&&R==y){qx.bom.Event.addNativeListener(Q,u,this._onInputWrapper);
}qx.bom.Event.addNativeListener(Q,B,this._onInputWrapper);
},"default":function(U){qx.bom.Event.addNativeListener(U,B,this._onInputWrapper);
}}),unregisterEvent:qx.core.Variant.select(x,{"mshtml":function(X,Y){if(X.__inputHandlerAttached){var ba=X.tagName.toLowerCase();
var bb=X.type;

if(bb===w||bb===v||ba===y||bb===A||bb===z){qx.bom.Event.removeNativeListener(X,t,this._onPropertyWrapper);
}
if(bb!==A&&bb!==z){qx.bom.Event.removeNativeListener(X,C,this._onChangeValueWrapper);
}
try{delete X.__inputHandlerAttached;
}catch(bc){X.__inputHandlerAttached=null;
}}},"default":function(S,T){if(T===B){this.__registerInputListener(S);
}else if(T===C){if(S.type===z||S.type===A){qx.bom.Event.removeNativeListener(S,C,this._onChangeCheckedWrapper);
}else{qx.bom.Event.removeNativeListener(S,C,this._onChangeValueWrapper);
}}}}),__unregisterInputListener:qx.core.Variant.select(x,{"mshtml":null,"webkit":function(g){var h=g.tagName.toLowerCase();
if(qx.bom.client.Engine.VERSION<532&&h==y){qx.bom.Event.removeNativeListener(g,u,this._onInputWrapper);
}qx.bom.Event.removeNativeListener(g,B,this._onInputWrapper);
},"default":function(I){qx.bom.Event.removeNativeListener(I,B,this._onInputWrapper);
}}),__changeEventOnEnterFix:qx.core.Variant.select(x,{"mshtml|opera":function(V,W){if(W===w||W===v){qx.event.Registration.addListener(V,u,function(e){if(e.getKeyIdentifier()===q){qx.event.Registration.fireEvent(V,C,qx.event.type.Data,[V.value]);
}});
}},"default":function(G,H){}}),_onInput:qx.event.GlobalError.observeMethod(function(e){var bd=e.target;
qx.event.Registration.fireEvent(bd,B,qx.event.type.Data,[bd.value]);
}),_onChangeValue:qx.event.GlobalError.observeMethod(function(e){var P=e.target||e.srcElement;
var O=P.value;

if(P.type===p){var O=[];

for(var i=0,o=P.options,l=o.length;i<l;i++){if(o[i].selected){O.push(o[i].value);
}}}qx.event.Registration.fireEvent(P,C,qx.event.type.Data,[O]);
}),_onChangeChecked:qx.event.GlobalError.observeMethod(function(e){var N=e.target;

if(N.type===z){if(N.checked){qx.event.Registration.fireEvent(N,C,qx.event.type.Data,[N.value]);
}}else{qx.event.Registration.fireEvent(N,C,qx.event.type.Data,[N.checked]);
}}),_onProperty:qx.core.Variant.select(x,{"mshtml":qx.event.GlobalError.observeMethod(function(e){var j=e.target||e.srcElement;
var k=e.propertyName;

if(k===r&&(j.type===w||j.type===v||j.tagName.toLowerCase()===y)){if(!j.__inValueSet){qx.event.Registration.fireEvent(j,B,qx.event.type.Data,[j.value]);
}}else if(k===s){if(j.type===A){qx.event.Registration.fireEvent(j,C,qx.event.type.Data,[j.checked]);
}else if(j.checked){qx.event.Registration.fireEvent(j,C,qx.event.type.Data,[j.value]);
}}}),"default":function(){}})},defer:function(J){qx.event.Registration.addHandler(J);
}});
})();
(function(){var M="",L="select",K="soft",J="off",I="qx.client",H="wrap",G="text",F="mshtml",E="number",D="checkbox",w="select-one",C="input",z="option",v="value",u="radio",y="qx.bom.Input",x="nowrap",A="textarea",t="auto",B="normal";
qx.Class.define(y,{statics:{__types:{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(p,q,r){{};
var q=q?qx.lang.Object.clone(q):{};
var s;

if(p===A||p===L){s=p;
}else{s=C;
q.type=p;
}return qx.bom.Element.create(s,q,r);
},setValue:function(c,d){var j=c.nodeName.toLowerCase();
var f=c.type;
var Array=qx.lang.Array;
var k=qx.lang.Type;

if(typeof d===E){d+=M;
}
if((f===D||f===u)){if(k.isArray(d)){c.checked=Array.contains(d,c.value);
}else{c.checked=c.value==d;
}}else if(j===L){var e=k.isArray(d);
var m=c.options;
var g,h;

for(var i=0,l=m.length;i<l;i++){g=m[i];
h=g.getAttribute(v);

if(h==null){h=g.text;
}g.selected=e?Array.contains(d,h):d==h;
}
if(e&&d.length==0){c.selectedIndex=-1;
}}else if(f===G&&qx.core.Variant.isSet(I,F)){c.__inValueSet=true;
c.value=d;
c.__inValueSet=null;
}else{c.value=d;
}},getValue:function(R){var X=R.nodeName.toLowerCase();

if(X===z){return (R.attributes.value||{}).specified?R.value:R.text;
}
if(X===L){var S=R.selectedIndex;
if(S<0){return null;
}var Y=[];
var bb=R.options;
var ba=R.type==w;
var W=qx.bom.Input;
var V;
for(var i=ba?S:0,U=ba?S+1:bb.length;i<U;i++){var T=bb[i];

if(T.selected){V=W.getValue(T);
if(ba){return V;
}Y.push(V);
}}return Y;
}else{return (R.value||M).replace(/\r/g,M);
}},setWrap:qx.core.Variant.select(I,{"mshtml":function(a,b){a.wrap=b?K:J;
},"gecko":function(N,O){var Q=O?K:J;
var P=O?M:t;
N.setAttribute(H,Q);
N.style.overflow=P;
},"default":function(n,o){n.style.whiteSpace=o?B:x;
}})}});
})();
(function(){var bS="",bR="Number",bQ='</div>',bP='" ',bO='<div>',bN="</div>",bM="overflow: hidden;",bL="paneReloadsData",bK="div",bJ='style="',cm="__rowCache",cl="qx.event.type.Data",ck="qx.ui.table.pane.Pane",cj="width: 100%;",ci="px;",ch="__tableContainer",cg="__paneScroller",cf="_applyVisibleRowCount",ce='>',cd="line-height: ",ca="appear",cb='class="',bX="width:100%;",bY="_applyMaxCacheLines",bV='<div ',bW="'>",bT="_applyFirstVisibleRow",bU="<div style='",cc=";position:relative;";
qx.Class.define(ck,{extend:qx.ui.core.Widget,construct:function(a){arguments.callee.base.call(this);
this.__paneScroller=a;
this.__lastColCount=0;
this.__lastRowCount=0;
this.__rowCache=[];
},events:{"paneReloadsData":cl},properties:{firstVisibleRow:{check:bR,init:0,apply:bT},visibleRowCount:{check:bR,init:0,apply:cf},maxCacheLines:{check:bR,init:1000,apply:bY},allowShrinkX:{refine:true,init:false}},members:{__lastRowCount:null,__lastColCount:null,__paneScroller:null,__tableContainer:null,__focusedRow:null,__focusedCol:null,__rowCache:null,__rowCacheCount:0,_applyFirstVisibleRow:function(bC,bD){this.updateContent(false,bC-bD);
},_applyVisibleRowCount:function(cy,cz){this.updateContent(true);
},_getContentHint:function(){return {width:this.getPaneScroller().getTablePaneModel().getTotalWidth(),height:400};
},getPaneScroller:function(){return this.__paneScroller;
},getTable:function(){return this.__paneScroller.getTable();
},setFocusedCell:function(r,s,t){if(r!=this.__focusedCol||s!=this.__focusedRow){var u=this.__focusedRow;
this.__focusedCol=r;
this.__focusedRow=s;
if(s!=u&&!t){if(u!==null){this.updateContent(false,null,u,true);
}
if(s!==null){this.updateContent(false,null,s,true);
}}}},onSelectionChanged:function(){this.updateContent(false,null,null,true);
},onFocusChanged:function(){this.updateContent(false,null,null,true);
},setColumnWidth:function(M,N){this.updateContent(true);
},onColOrderChanged:function(){this.updateContent(true);
},onPaneModelChanged:function(){this.updateContent(true);
},onTableModelDataChanged:function(cs,ct,cu,cv){this.__rowCacheClear();
var cx=this.getFirstVisibleRow();
var cw=this.getVisibleRowCount();

if(ct==-1||ct>=cx&&cs<cx+cw){this.updateContent();
}},onTableModelMetaDataChanged:function(){this.updateContent(true);
},_applyMaxCacheLines:function(v,w){if(this.__rowCacheCount>=v&&v!==-1){this.__rowCacheClear();
}},__rowCacheClear:function(){this.__rowCache=[];
this.__rowCacheCount=0;
},__rowCacheGet:function(o,p,q){if(!p&&!q&&this.__rowCache[o]){return this.__rowCache[o];
}else{return null;
}},__rowCacheSet:function(cn,co,cp,cq){var cr=this.getMaxCacheLines();

if(!cp&&!cq&&!this.__rowCache[cn]&&cr>0){this._applyMaxCacheLines(cr);
this.__rowCache[cn]=co;
this.__rowCacheCount+=1;
}},updateContent:function(bF,bG,bH,bI){if(bF){this.__rowCacheClear();
}if(bG&&Math.abs(bG)<=Math.min(10,this.getVisibleRowCount())){this._scrollContent(bG);
}else if(bI&&!this.getTable().getAlwaysUpdateCells()){this._updateRowStyles(bH);
}else{this._updateAllRows();
}},_updateRowStyles:function(br){var bv=this.getContentElement().getDomElement();

if(!bv||!bv.firstChild){this._updateAllRows();
return;
}var bz=this.getTable();
var bt=bz.getSelectionModel();
var bw=bz.getTableModel();
var bA=bz.getDataRowRenderer();
var bu=bv.firstChild.childNodes;
var by={table:bz};
var bB=this.getFirstVisibleRow();
var y=0;
var bs=bu.length;

if(br!=null){var bx=br-bB;

if(bx>=0&&bx<bs){bB=br;
y=bx;
bs=bx+1;
}else{return;
}}
for(;y<bs;y++,bB++){by.row=bB;
by.selected=bt.isSelectedIndex(bB);
by.focusedRow=(this.__focusedRow==bB);
by.rowData=bw.getRowData(bB);
bA.updateDataRowElement(by,bu[y]);
}},_getRowsHtml:function(O,P){var V=this.getTable();
var Y=V.getSelectionModel();
var S=V.getTableModel();
var T=V.getTableColumnModel();
var bn=this.getPaneScroller().getTablePaneModel();
var be=V.getDataRowRenderer();
S.prefetchRows(O,O+P-1);
var bk=V.getRowHeight();
var bm=bn.getColumnCount();
var U=0;
var R=[];
for(var x=0;x<bm;x++){var bp=bn.getColumnAtX(x);
var X=T.getColumnWidth(bp);
R.push({col:bp,xPos:x,editable:S.isColumnEditable(bp),focusedCol:this.__focusedCol==bp,styleLeft:U,styleWidth:X});
U+=X;
}var bo=[];
var bq=false;

for(var W=O;W<O+P;W++){var ba=Y.isSelectedIndex(W);
var bd=(this.__focusedRow==W);
var bh=this.__rowCacheGet(W,ba,bd);

if(bh){bo.push(bh);
continue;
}var bg=[];
var bj={table:V};
bj.styleHeight=bk;
bj.row=W;
bj.selected=ba;
bj.focusedRow=bd;
bj.rowData=S.getRowData(W);

if(!bj.rowData){bq=true;
}bg.push(bV);
var Q=be.getRowClass(bj);

if(Q){bg.push(cb,Q,bP);
}var bf=be.createRowStyle(bj);
bf+=cc+be.getRowHeightStyle(bk)+bX;

if(bf){bg.push(bJ,bf,bP);
}bg.push(ce);

for(var x=0;x<bm;x++){var bb=R[x];

for(var bl in bb){bj[bl]=bb[bl];
}var bp=bj.col;
bj.value=S.getValue(bp,W);
var bc=T.getDataCellRenderer(bp);
bc.createDataCellHtml(bj,bg);
}bg.push(bQ);
var bi=bg.join(bS);
this.__rowCacheSet(W,bi,ba,bd);
bo.push(bi);
}this.fireDataEvent(bL,bq);
return bo.join(bS);
},_scrollContent:function(z){var A=this.getContentElement().getDomElement();

if(!(A&&A.firstChild)){this._updateAllRows();
return;
}var J=A.firstChild;
var B=J.childNodes;
var H=this.getVisibleRowCount();
var G=this.getFirstVisibleRow();
var E=this.getTable().getTableModel();
var K=0;

if(E!=null){K=E.getRowCount();
}if(G+H>K){this._updateAllRows();
return;
}var L=z<0?H+z:0;
var C=z<0?0:H-z;

for(i=Math.abs(z)-1;i>=0;i--){var F=B[L];

try{J.removeChild(F);
}catch(bE){break;
}}if(!this.__tableContainer){this.__tableContainer=document.createElement(bK);
}var I=bO;
I+=this._getRowsHtml(G+C,Math.abs(z));
I+=bQ;
this.__tableContainer.innerHTML=I;
var D=this.__tableContainer.firstChild.childNodes;
if(z>0){for(var i=D.length-1;i>=0;i--){var F=D[0];
J.appendChild(F);
}}else{for(var i=D.length-1;i>=0;i--){var F=D[D.length-1];
J.insertBefore(F,J.firstChild);
}}if(this.__focusedRow!==null){this._updateRowStyles(this.__focusedRow-z);
this._updateRowStyles(this.__focusedRow);
}},_updateAllRows:function(){var e=this.getContentElement().getDomElement();

if(!e){this.addListenerOnce(ca,arguments.callee,this);
return;
}var l=this.getTable();
var h=l.getTableModel();
var k=this.getPaneScroller().getTablePaneModel();
var j=k.getColumnCount();
var b=l.getRowHeight();
var f=this.getFirstVisibleRow();
var c=this.getVisibleRowCount();
var m=0;

if(h!=null){m=h.getRowCount();
}
if(f+c>m){c=Math.max(0,m-f);
}var d=k.getTotalWidth();
var g;
if(c>0){g=[bU,cj,(l.getForceLineHeight()?cd+b+ci:bS),bM,bW,this._getRowsHtml(f,c),bN];
}else{g=[];
}var n=g.join(bS);
e.innerHTML=n;
this.setWidth(d);
this.__lastColCount=j;
this.__lastRowCount=c;
}},destruct:function(){this._disposeFields(ch,cg,cm);
}});
})();
(function(){var y="hovered",w="__paneScroller",v="qx.ui.table.pane.Header";
qx.Class.define(v,{extend:qx.ui.core.Widget,construct:function(z){arguments.callee.base.call(this);
this._setLayout(new qx.ui.layout.HBox());
this.__paneScroller=z;
},members:{__paneScroller:null,__moveFeedback:null,__lastMouseOverColumn:null,getPaneScroller:function(){return this.__paneScroller;
},getTable:function(){return this.__paneScroller.getTable();
},onColOrderChanged:function(){this._updateContent(true);
},onPaneModelChanged:function(){this._updateContent(true);
},onTableModelMetaDataChanged:function(){this._updateContent();
},setColumnWidth:function(c,d){var e=this.getHeaderWidgetAtColumn(c);

if(e!=null){e.setWidth(d);
}},setMouseOverColumn:function(r){if(r!=this.__lastMouseOverColumn){if(this.__lastMouseOverColumn!=null){var s=this.getHeaderWidgetAtColumn(this.__lastMouseOverColumn);

if(s!=null){s.removeState(y);
}}
if(r!=null){this.getHeaderWidgetAtColumn(r).addState(y);
}this.__lastMouseOverColumn=r;
}},getHeaderWidgetAtColumn:function(t){var u=this.getPaneScroller().getTablePaneModel().getX(t);
return this._getChildren()[u];
},showColumnMoveFeedback:function(A,x){var E=this.getContainerLocation();

if(this.__moveFeedback==null){var B=this.getPaneScroller().getTablePaneModel().getX(A);
var D=this._getChildren()[B];
var F=this.getTable().getTableModel();
var H=this.getTable().getTableColumnModel();
var I={xPos:B,col:A,name:F.getColumnName(A)};
var G=H.getHeaderCellRenderer(A);
var C=G.createHeaderCell(I);
var J=D.getBounds();
C.setWidth(J.width);
C.setHeight(J.height);
C.setZIndex(1000000);
C.setOpacity(0.8);
C.setLayoutProperties({top:E.top});
this.getApplicationRoot().add(C);
this.__moveFeedback=C;
}this.__moveFeedback.setLayoutProperties({left:E.left+x});
this.__moveFeedback.show();
},hideColumnMoveFeedback:function(){if(this.__moveFeedback!=null){this.__moveFeedback.destroy();
this.__moveFeedback=null;
}},isShowingColumnMoveFeedback:function(){return this.__moveFeedback!=null;
},_updateContent:function(f){var k=this.getTable().getTableModel();
var n=this.getTable().getTableColumnModel();
var o=this.getPaneScroller().getTablePaneModel();
var q=this._getChildren();
var l=o.getColumnCount();
var g=0;

if(k!=null){g=k.getSortColumnIndex();
}if(f){this._cleanUpCells();
}var h={};
h.sortedAscending=false;

if(k!=null){h.sortedAscending=k.isSortAscending();
}
for(var x=0;x<l;x++){var j=o.getColumnAtX(x);
var p=n.getColumnWidth(j);
var m=n.getHeaderCellRenderer(j);
h.xPos=x;
h.col=j;
h.name=k.getColumnName(j);
h.editable=k.isColumnEditable(j);
h.sorted=(j==g);
var i=q[x];
if(i==null){i=m.createHeaderCell(h);
i.set({width:p});
this._add(i);
}else{m.updateHeaderCell(h,i);
}}},_cleanUpCells:function(){var b=this._getChildren();

for(var x=b.length-1;x>=0;x--){var a=b[x];
a.destroy();
}}},destruct:function(){this._disposeObjects(w);
}});
})();
(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 X="Boolean",W="resize-line",V="mousedown",U="mouseup",T="qx.ui.table.pane.CellEvent",S="scroll",R="focus-indicator",Q="excluded",P="scrollbar-y",O="qx.event.type.Data",bV="visible",bU="mousemove",bT="header",bS="editing",bR="click",bQ="modelChanged",bP="scrollbar-x",bO="cellClick",bN="pane",bM="__horScrollBar",bf="__paneClipper",bg="mouseout",bd="changeHorizontalScrollBarVisible",be="__headerClipper",bb="__header",bc="bottom",Y="_applyScrollTimeout",ba="changeScrollX",bj="_applyTablePaneModel",bk="Integer",bs="dblclick",bq="dataEdited",bA="mousewheel",bv="__focusIndicator",bI="qx.ui.table.pane.Scroller",bF="__lastMouseDownCell",bm="_applyShowCellFocusIndicator",bL="__verScrollBar",bK="resize",bJ="__table",bl="vertical",bo="changeScrollY",bp="appear",br="table-scroller",bt="__tablePane",bw="cellDblclick",bC="horizontal",bH="losecapture",bh="contextmenu",bi="__topRightWidget",bn="col-resize",bz="disappear",by="_applyVerticalScrollBarVisible",bx="_applyHorizontalScrollBarVisible",bE="cellContextmenu",bD="close",bu="changeTablePaneModel",bB="__top",N="qx.ui.table.pane.Model",bG="changeVerticalScrollBarVisible";
qx.Class.define(bI,{extend:qx.ui.core.Widget,include:qx.ui.core.scroll.MScrollBarFactory,construct:function(dv){arguments.callee.base.call(this);
this.__table=dv;
var dw=new qx.ui.layout.Grid();
dw.setColumnFlex(0,1);
dw.setRowFlex(1,1);
this._setLayout(dw);
this.__horScrollBar=this._showChildControl(bP);
this.__verScrollBar=this._showChildControl(P);
this.__header=this._showChildControl(bT);
this.__tablePane=this._showChildControl(bN);
this.__top=new qx.ui.container.Composite(new qx.ui.layout.HBox());
this._add(this.__top,{row:0,column:0,colSpan:2});
this.__headerClipper=new qx.ui.table.pane.Clipper();
this.__headerClipper.add(this.__header);
this.__headerClipper.addListener(bH,this._onChangeCaptureHeader,this);
this.__headerClipper.addListener(bU,this._onMousemoveHeader,this);
this.__headerClipper.addListener(V,this._onMousedownHeader,this);
this.__headerClipper.addListener(U,this._onMouseupHeader,this);
this.__headerClipper.addListener(bR,this._onClickHeader,this);
this.__top.add(this.__headerClipper,{flex:1});
this.__paneClipper=new qx.ui.table.pane.Clipper();
this.__paneClipper.add(this.__tablePane);
this.__paneClipper.addListener(bA,this._onMousewheel,this);
this.__paneClipper.addListener(bU,this._onMousemovePane,this);
this.__paneClipper.addListener(V,this._onMousedownPane,this);
this.__paneClipper.addListener(U,this._onMouseupPane,this);
this.__paneClipper.addListener(bR,this._onClickPane,this);
this.__paneClipper.addListener(bh,this._onContextMenu,this);
this.__paneClipper.addListener(bs,this._onDblclickPane,this);
this.__paneClipper.addListener(bK,this._onResizePane,this);
this._add(this.__paneClipper,{row:1,column:0});
this.__focusIndicator=this.getChildControl(R);
this.getChildControl(W).hide();
this.addListener(bg,this._onMouseout,this);
this.addListener(bp,this._onAppear,this);
this.addListener(bz,this._onDisappear,this);
if(!this.__onintervalWrapper){this.__onintervalWrapper=qx.lang.Function.bind(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":O,"changeScrollX":O,"cellClick":T,"cellDblclick":T,"cellContextmenu":T},properties:{horizontalScrollBarVisible:{check:X,init:true,apply:bx,event:bd},verticalScrollBarVisible:{check:X,init:true,apply:by,event:bG},tablePaneModel:{check:N,apply:bj,event:bu},liveResize:{check:X,init:false},focusCellOnMouseMove:{check:X,init:false},selectBeforeFocus:{check:X,init:false},showCellFocusIndicator:{check:X,init:true,apply:bm},scrollTimeout:{check:bk,init:100,apply:Y},appearance:{refine:true,init:br}},members:{__lastRowCount:null,__table:null,__updateInterval:null,__updateContentPlanned:null,__onintervalWrapper:null,__moveColumn:null,__lastMoveColPos:null,__lastMoveTargetX:null,__lastMoveTargetScroller:null,__lastMoveMousePageX:null,__resizeColumn:null,__lastResizeMousePageX:null,__lastResizeWidth:null,__lastMouseDownCell:null,__ignoreClick:null,__lastMousePageX:null,__lastMousePageY:null,__ignoreScrollYEvent:null,__focusedCol:null,__focusedRow:null,__cellEditor:null,__cellEditorFactory:null,__topRightWidget:null,__horScrollBar:null,__verScrollBar:null,__header:null,__headerClipper:null,__tablePane:null,__paneClipper:null,__focusIndicator:null,__top:null,getPaneInsetRight:function(){var dt=this.getTopRightWidget();
var du=dt&&dt.isVisible()&&dt.getBounds()?dt.getBounds().width:0;
var ds=this.getVerticalScrollBarVisible()?this.getVerticalScrollBarWidth():0;
return Math.max(du,ds);
},setPaneWidth:function(h){if(this.isVerticalScrollBarVisible()){h+=this.getPaneInsetRight();
}this.setWidth(h);
},_createChildControlImpl:function(k){var l;

switch(k){case bT:l=(this.getTable().getNewTablePaneHeader())(this);
break;
case bN:l=(this.getTable().getNewTablePane())(this);
break;
case R:l=new qx.ui.table.pane.FocusIndicator(this);
l.setUserBounds(0,0,0,0);
l.setZIndex(1000);
l.addListener(U,this._onMouseupFocusIndicator,this);
this.__paneClipper.add(l);
l.exclude();
break;
case W:l=new qx.ui.core.Widget();
l.setUserBounds(0,0,0,0);
l.setZIndex(1000);
this.__paneClipper.add(l);
break;
case bP:l=this._createScrollBar(bC).set({minWidth:0,alignY:bc});
l.addListener(S,this._onScrollX,this);
this._add(l,{row:2,column:0});
break;
case P:l=this._createScrollBar(bl);
l.addListener(S,this._onScrollY,this);
this._add(l,{row:1,column:1});
break;
}return l||arguments.callee.base.call(this,k);
},_applyHorizontalScrollBarVisible:function(c,d){this.__horScrollBar.setVisibility(c?bV:Q);

if(!c){this.setScrollY(0,true);
}},_applyVerticalScrollBarVisible:function(dq,dr){this.__verScrollBar.setVisibility(dq?bV:Q);

if(!dq){this.setScrollX(0);
}},_applyTablePaneModel:function(i,j){if(j!=null){j.removeListener(bQ,this._onPaneModelChanged,this);
}i.addListener(bQ,this._onPaneModelChanged,this);
},_applyShowCellFocusIndicator:function(dO,dP){if(dO){this._updateFocusIndicator();
}else{if(this.__focusIndicator){this.__focusIndicator.hide();
}}},getScrollY:function(){return this.__verScrollBar.getPosition();
},setScrollY:function(scrollY,fj){this.__ignoreScrollYEvent=fj;
this.__verScrollBar.scrollTo(scrollY);

if(fj){this._updateContent();
}this.__ignoreScrollYEvent=false;
},getScrollX:function(){return this.__horScrollBar.getPosition();
},setScrollX:function(scrollX){this.__horScrollBar.scrollTo(scrollX);
},getTable:function(){return this.__table;
},onColVisibilityChanged:function(){this.updateHorScrollBarMaximum();
this._updateFocusIndicator();
},setColumnWidth:function(A,B){this.__header.setColumnWidth(A,B);
this.__tablePane.setColumnWidth(A,B);
var C=this.getTablePaneModel();
var x=C.getX(A);

if(x!=-1){this.updateHorScrollBarMaximum();
this._updateFocusIndicator();
}},onColOrderChanged:function(){this.__header.onColOrderChanged();
this.__tablePane.onColOrderChanged();
this.updateHorScrollBarMaximum();
},onTableModelDataChanged:function(dx,dy,dz,dA){this.__tablePane.onTableModelDataChanged(dx,dy,dz,dA);
var dB=this.getTable().getTableModel().getRowCount();

if(dB!=this.__lastRowCount){this.updateVerScrollBarMaximum();

if(this.getFocusedRow()>=dB){if(dB==0){this.setFocusedCell(null,null);
}else{this.setFocusedCell(this.getFocusedColumn(),dB-1);
}}this.__lastRowCount=dB;
}},onSelectionChanged:function(){this.__tablePane.onSelectionChanged();
},onFocusChanged:function(){this.__tablePane.onFocusChanged();
},onTableModelMetaDataChanged:function(){this.__header.onTableModelMetaDataChanged();
this.__tablePane.onTableModelMetaDataChanged();
},_onPaneModelChanged:function(){this.__header.onPaneModelChanged();
this.__tablePane.onPaneModelChanged();
},_onResizePane:function(){this.updateHorScrollBarMaximum();
this.updateVerScrollBarMaximum();
this._updateContent();
this.__header._updateContent();
this.__table._updateScrollBarVisibility();
},updateHorScrollBarMaximum:function(){var dk=this.__paneClipper.getInnerSize();

if(!dk){return ;
}var di=this.getTablePaneModel().getTotalWidth();
var dj=this.__horScrollBar;

if(dk.width<di){var dh=Math.max(0,di-dk.width);
dj.setMaximum(dh);
dj.setKnobFactor(dk.width/di);
var dl=dj.getPosition();
dj.setPosition(Math.min(dl,dh));
}else{dj.setMaximum(0);
dj.setKnobFactor(1);
dj.setPosition(0);
}},updateVerScrollBarMaximum:function(){var cs=this.__paneClipper.getInnerSize();

if(!cs){return ;
}var cq=this.getTable().getTableModel();
var cm=0;

if(cq!=null){cm=cq.getRowCount();
}
if(this.getTable().getKeepFirstVisibleRowComplete()){cm+=1;
}var cl=this.getTable().getRowHeight();
var co=cm*cl;
var cr=this.__verScrollBar;

if(cs.height<co){var cn=Math.max(0,co-cs.height);
cr.setMaximum(cn);
cr.setKnobFactor(cs.height/co);
var cp=cr.getPosition();
cr.setPosition(Math.min(cp,cn));
}else{cr.setMaximum(0);
cr.setKnobFactor(1);
cr.setPosition(0);
}},onKeepFirstVisibleRowCompleteChanged:function(){this.updateVerScrollBarMaximum();
this._updateContent();
},_onAppear:function(){this._startInterval(this.getScrollTimeout());
},_onDisappear:function(){this._stopInterval();
},_onScrollX:function(e){var z=e.getData();
this.fireDataEvent(ba,z,e.getOldData());
this.__headerClipper.scrollToX(z);
this.__paneClipper.scrollToX(z);
},_onScrollY:function(e){this.fireDataEvent(bo,e.getData(),e.getOldData());
this._postponedUpdateContent();
},_onMousewheel:function(e){var g=this.getTable();

if(!g.getEnabled()){return;
}this.__verScrollBar.scrollTo(this.__verScrollBar.getPosition()+((e.getWheelDelta()*3)*g.getRowHeight()));
if(this.__lastMousePageX&&this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(this.__lastMousePageX,this.__lastMousePageY);
}},__handleResizeColumn:function(G){var L=this.getTable();
var M=this.__header.getHeaderWidgetAtColumn(this.__resizeColumn);
var H=M.getSizeHint().minWidth;
var J=Math.max(H,this.__lastResizeWidth+G-this.__lastResizeMousePageX);

if(this.getLiveResize()){var I=L.getTableColumnModel();
I.setColumnWidth(this.__resizeColumn,J);
}else{this.__header.setColumnWidth(this.__resizeColumn,J);
var K=this.getTablePaneModel();
this._showResizeLine(K.getColumnLeft(this.__resizeColumn)+J);
}this.__lastResizeMousePageX+=J-this.__lastResizeWidth;
this.__lastResizeWidth=J;
},__handleMoveColumn:function(fk){var fl=qx.ui.table.pane.Scroller.CLICK_TOLERANCE;

if(this.__header.isShowingColumnMoveFeedback()||fk>this.__lastMoveMousePageX+fl||fk<this.__lastMoveMousePageX-fl){this.__lastMoveColPos+=fk-this.__lastMoveMousePageX;
this.__header.showColumnMoveFeedback(this.__moveColumn,this.__lastMoveColPos);
var fm=this.__table.getTablePaneScrollerAtPageX(fk);

if(this.__lastMoveTargetScroller&&this.__lastMoveTargetScroller!=fm){this.__lastMoveTargetScroller.hideColumnMoveFeedback();
}
if(fm!=null){this.__lastMoveTargetX=fm.showColumnMoveFeedback(fk);
}else{this.__lastMoveTargetX=null;
}this.__lastMoveTargetScroller=fm;
this.__lastMoveMousePageX=fk;
}},_onMousemoveHeader:function(e){var cU=this.getTable();

if(!cU.getEnabled()){return;
}var cV=false;
var cO=null;
var cS=e.getDocumentLeft();
var cT=e.getDocumentTop();
this.__lastMousePageX=cS;
this.__lastMousePageY=cT;

if(this.__resizeColumn!=null){this.__handleResizeColumn(cS);
cV=true;
}else if(this.__moveColumn!=null){this.__handleMoveColumn(cS);
}else{var cP=this._getResizeColumnForPageX(cS);

if(cP!=-1){cV=true;
}else{var cR=cU.getTableModel();
var cW=this._getColumnForPageX(cS);

if(cW!=null&&cR.isColumnSortable(cW)){cO=cW;
}}}var cQ=cV?bn:null;
this.getApplicationRoot().setGlobalCursor(cQ);
this.setCursor(cQ);
this.__header.setMouseOverColumn(cO);
},_onMousemovePane:function(e){var fp=this.getTable();

if(!fp.getEnabled()){return;
}var fr=e.getDocumentLeft();
var fs=e.getDocumentTop();
this.__lastMousePageX=fr;
this.__lastMousePageY=fs;
var fq=this._getRowForPagePos(fr,fs);

if(fq!=null&&this._getColumnForPageX(fr)!=null){if(this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(fr,fs);
}}this.__header.setMouseOverColumn(null);
},_onMousedownHeader:function(e){if(!this.getTable().getEnabled()){return;
}var eh=e.getDocumentLeft();
var ei=this._getResizeColumnForPageX(eh);

if(ei!=-1){this._startResizeHeader(ei,eh);
}else{var eg=this._getColumnForPageX(eh);

if(eg!=null){this._startMoveHeader(eg,eh);
}}},_startResizeHeader:function(eX,eY){var fa=this.getTable().getTableColumnModel();
this.__resizeColumn=eX;
this.__lastResizeMousePageX=eY;
this.__lastResizeWidth=fa.getColumnWidth(this.__resizeColumn);
this.__headerClipper.capture();
},_startMoveHeader:function(dL,dM){this.__moveColumn=dL;
this.__lastMoveMousePageX=dM;
this.__lastMoveColPos=this.getTablePaneModel().getColumnLeft(dL);
this.__headerClipper.capture();
},_onMousedownPane:function(e){var eD=this.getTable();

if(!eD.getEnabled()){return;
}
if(this.isEditing()){this.stopEditing();
}var eA=e.getDocumentLeft();
var eC=e.getDocumentTop();
var eF=this._getRowForPagePos(eA,eC);
var eE=this._getColumnForPageX(eA);

if(eF!==null){this.__lastMouseDownCell={row:eF,col:eE};
var eB=this.getSelectBeforeFocus();

if(eB){eD.getSelectionManager().handleMouseDown(eF,e);
}if(!this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(eA,eC);
}
if(!eB){eD.getSelectionManager().handleMouseDown(eF,e);
}}},_onMouseupFocusIndicator:function(e){if(this.__lastMouseDownCell&&this.__focusIndicator.getRow()==this.__lastMouseDownCell.row&&this.__focusIndicator.getColumn()==this.__lastMouseDownCell.col){this.__lastMouseDownCell={};
this.fireEvent(bO,qx.ui.table.pane.CellEvent,[this,e,this.__lastMouseDownCell.row,this.__lastMouseDownCell.col],true);
}},_onChangeCaptureHeader:function(e){if(this.__resizeColumn!=null){this._stopResizeHeader();
}
if(this.__moveColumn!=null){this._stopMoveHeader();
}},_stopResizeHeader:function(){var cN=this.getTable().getTableColumnModel();
if(!this.getLiveResize()){this._hideResizeLine();
cN.setColumnWidth(this.__resizeColumn,this.__lastResizeWidth);
}this.__resizeColumn=null;
this.__headerClipper.releaseCapture();
this.getApplicationRoot().setGlobalCursor(null);
this.setCursor(null);
},_stopMoveHeader:function(){var ff=this.getTable().getTableColumnModel();
var fg=this.getTablePaneModel();
this.__header.hideColumnMoveFeedback();

if(this.__lastMoveTargetScroller){this.__lastMoveTargetScroller.hideColumnMoveFeedback();
}
if(this.__lastMoveTargetX!=null){var fi=fg.getFirstColumnX()+fg.getX(this.__moveColumn);
var fe=this.__lastMoveTargetX;

if(fe!=fi&&fe!=fi+1){var fh=ff.getVisibleColumnAtX(fi);
var fd=ff.getVisibleColumnAtX(fe);
var fc=ff.getOverallX(fh);
var fb=(fd!=null)?ff.getOverallX(fd):ff.getOverallColumnCount();

if(fb>fc){fb--;
}ff.moveColumn(fc,fb);
}}this.__moveColumn=null;
this.__lastMoveTargetX=null;
this.__headerClipper.releaseCapture();
},_onMouseupPane:function(e){var a=this.getTable();

if(!a.getEnabled()){return;
}var b=this._getRowForPagePos(e.getDocumentLeft(),e.getDocumentTop());

if(b!=-1&&b!=null&&this._getColumnForPageX(e.getDocumentLeft())!=null){a.getSelectionManager().handleMouseUp(b,e);
}},_onMouseupHeader:function(e){var dm=this.getTable();

if(!dm.getEnabled()){return;
}
if(this.__resizeColumn!=null){this._stopResizeHeader();
this.__ignoreClick=true;
}else if(this.__moveColumn!=null){this._stopMoveHeader();
}},_onClickHeader:function(e){if(this.__ignoreClick){this.__ignoreClick=false;
return;
}var cK=this.getTable();

if(!cK.getEnabled()){return;
}var cI=cK.getTableModel();
var cJ=e.getDocumentLeft();
var cH=this._getResizeColumnForPageX(cJ);

if(cH==-1){var cM=this._getColumnForPageX(cJ);

if(cM!=null&&cI.isColumnSortable(cM)){var cG=cI.getSortColumnIndex();
var cL=(cM!=cG)?true:!cI.isSortAscending();
cI.sortByColumn(cM,cL);
cK.getSelectionModel().clearSelection();
}}},_onClickPane:function(e){var eS=this.getTable();

if(!eS.getEnabled()){return;
}var eV=e.getDocumentLeft();
var eW=e.getDocumentTop();
var eT=this._getRowForPagePos(eV,eW);
var eU=this._getColumnForPageX(eV);

if(eT!=null&&eU!=null){eS.getSelectionManager().handleClick(eT,e);

if(this.__focusIndicator.isHidden()||(this.__lastMouseDownCell&&eT==this.__lastMouseDownCell.row&&eU==this.__lastMouseDownCell.col)){this.__lastMouseDownCell={};
this.fireEvent(bO,qx.ui.table.pane.CellEvent,[this,e,eT,eU],true);
}}},_onContextMenu:function(e){var dJ=e.getDocumentLeft();
var dK=e.getDocumentTop();
var dH=this._getRowForPagePos(dJ,dK);
var dI=this._getColumnForPageX(dJ);

if(this.__focusIndicator.isHidden()||(this.__lastMouseDownCell&&dH==this.__lastMouseDownCell.row&&dI==this.__lastMouseDownCell.col)){this.__lastMouseDownCell={};
this.fireEvent(bE,qx.ui.table.pane.CellEvent,[this,e,dH,dI],true);
var dG=this.getTable().getContextMenu();

if(dG){if(dG.getChildren().length>0){dG.openAtMouse(e);
}else{dG.exclude();
}e.preventDefault();
}}},_onContextMenuOpen:function(e){},_onDblclickPane:function(e){var E=e.getDocumentLeft();
var F=e.getDocumentTop();
this._focusCellAtPagePos(E,F);
this.startEditing();
var D=this._getRowForPagePos(E,F);

if(D!=-1&&D!=null){this.fireEvent(bw,qx.ui.table.pane.CellEvent,[this,e,D],true);
}},_onMouseout:function(e){var ef=this.getTable();

if(!ef.getEnabled()){return;
}if(this.__resizeColumn==null){this.setCursor(null);
this.getApplicationRoot().setGlobalCursor(null);
}this.__header.setMouseOverColumn(null);
},_showResizeLine:function(x){var w=this._showChildControl(W);
var v=w.getWidth();
var y=this.__paneClipper.getBounds();
w.setUserBounds(x-Math.round(v/2),0,v,y.height);
},_hideResizeLine:function(){this._excludeChildControl(W);
},showColumnMoveFeedback:function(ct){var cC=this.getTablePaneModel();
var cB=this.getTable().getTableColumnModel();
var cw=this.__tablePane.getContainerLocation().left;
var cA=cC.getColumnCount();
var cx=0;
var cv=0;
var cF=cw;

for(var cu=0;cu<cA;cu++){var cy=cC.getColumnAtX(cu);
var cD=cB.getColumnWidth(cy);

if(ct<cF+cD/2){break;
}cF+=cD;
cx=cu+1;
cv=cF-cw;
}var cz=this.__paneClipper.getContainerLocation().left;
var cE=this.__paneClipper.getBounds().width;
var scrollX=cz-cw;
cv=qx.lang.Number.limit(cv,scrollX+2,scrollX+cE-1);
this._showResizeLine(cv);
return cC.getFirstColumnX()+cx;
},hideColumnMoveFeedback:function(){this._hideResizeLine();
},_focusCellAtPagePos:function(dC,dD){var dF=this._getRowForPagePos(dC,dD);

if(dF!=-1&&dF!=null){var dE=this._getColumnForPageX(dC);
this.__table.setFocusedCell(dE,dF);
}},setFocusedCell:function(cX,cY){if(!this.isEditing()){this.__tablePane.setFocusedCell(cX,cY,this.__updateContentPlanned);
this.__focusedCol=cX;
this.__focusedRow=cY;
this._updateFocusIndicator();
}},getFocusedColumn:function(){return this.__focusedCol;
},getFocusedRow:function(){return this.__focusedRow;
},scrollCellVisible:function(bW,bX){var ci=this.getTablePaneModel();
var bY=ci.getX(bW);

if(bY!=-1){var cf=this.__paneClipper.getInnerSize();

if(!cf){return;
}var cg=this.getTable().getTableColumnModel();
var cc=ci.getColumnLeft(bW);
var cj=cg.getColumnWidth(bW);
var ca=this.getTable().getRowHeight();
var ck=bX*ca;
var scrollX=this.getScrollX();
var scrollY=this.getScrollY();
var ch=Math.min(cc,cc+cj-cf.width);
var ce=cc;
this.setScrollX(Math.max(ch,Math.min(ce,scrollX)));
var cb=ck+ca-cf.height;

if(this.getTable().getKeepFirstVisibleRowComplete()){cb+=ca;
}var cd=ck;
this.setScrollY(Math.max(cb,Math.min(cd,scrollY)),true);
}},isEditing:function(){return this.__cellEditor!=null;
},startEditing:function(){var q=this.getTable();
var o=q.getTableModel();
var s=this.__focusedCol;

if(!this.isEditing()&&(s!=null)&&o.isColumnEditable(s)){var t=this.__focusedRow;
var m=this.getTablePaneModel().getX(s);
var n=o.getValue(s,t);
this.__cellEditorFactory=q.getTableColumnModel().getCellEditorFactory(s);
var p={col:s,row:t,xPos:m,value:n,table:q};
this.__cellEditor=this.__cellEditorFactory.createCellEditor(p);
if(this.__cellEditor===null){return false;
}else if(this.__cellEditor instanceof qx.ui.window.Window){this.__cellEditor.setModal(true);
this.__cellEditor.setShowClose(false);
this.__cellEditor.addListener(bD,this._onCellEditorModalWindowClose,this);
var f=q.getModalCellEditorPreOpenFunction();

if(f!=null){f(this.__cellEditor,p);
}this.__cellEditor.open();
}else{var r=this.__focusIndicator.getInnerSize();
this.__cellEditor.setUserBounds(0,0,r.width,r.height);
this.__focusIndicator.addListener(V,function(e){e.stopPropagation();
});
this.__focusIndicator.add(this.__cellEditor);
this.__focusIndicator.addState(bS);
this.__focusIndicator.setKeepActive(false);
this.__cellEditor.focus();
this.__cellEditor.activate();
}return true;
}return false;
},stopEditing:function(){this.flushEditor();
this.cancelEditing();
},flushEditor:function(){if(this.isEditing()){var eH=this.__cellEditorFactory.getCellEditorValue(this.__cellEditor);
var eG=this.getTable().getTableModel().getValue(this.__focusedCol,this.__focusedRow);
this.getTable().getTableModel().setValue(this.__focusedCol,this.__focusedRow,eH);
this.__table.focus();
this.__table.fireDataEvent(bq,{row:this.__focusedRow,col:this.__focusedCol,oldValue:eG,value:eH});
}},cancelEditing:function(){if(this.isEditing()&&!this.__cellEditor.pendingDispose){if(this._cellEditorIsModalWindow){this.__cellEditor.destroy();
this.__cellEditor=null;
this.__cellEditorFactory=null;
this.__cellEditor.pendingDispose=true;
}else{this.__focusIndicator.removeState(bS);
this.__focusIndicator.setKeepActive(true);
this.__cellEditor.destroy();
this.__cellEditor=null;
this.__cellEditorFactory=null;
}}},_onCellEditorModalWindowClose:function(e){this.stopEditing();
},_getColumnForPageX:function(da){var dd=this.getTable().getTableColumnModel();
var de=this.getTablePaneModel();
var dc=de.getColumnCount();
var dg=this.__header.getContainerLocation().left;

for(var x=0;x<dc;x++){var db=de.getColumnAtX(x);
var df=dd.getColumnWidth(db);
dg+=df;

if(da<dg){return db;
}}return null;
},_getResizeColumnForPageX:function(ej){var en=this.getTable().getTableColumnModel();
var eo=this.getTablePaneModel();
var em=eo.getColumnCount();
var eq=this.__header.getContainerLocation().left;
var ek=qx.ui.table.pane.Scroller.RESIZE_REGION_RADIUS;

for(var x=0;x<em;x++){var el=eo.getColumnAtX(x);
var ep=en.getColumnWidth(el);
eq+=ep;

if(ej>=(eq-ek)&&ej<=(eq+ek)){return el;
}}return -1;
},_getRowForPagePos:function(er,es){var et=this.__tablePane.getContentLocation();

if(er<et.left||er>et.right){return null;
}
if(es>=et.top&&es<=et.bottom){var eu=this.getTable().getRowHeight();
var scrollY=this.__verScrollBar.getPosition();

if(this.getTable().getKeepFirstVisibleRowComplete()){scrollY=Math.floor(scrollY/eu)*eu;
}var ex=scrollY+es-et.top;
var ez=Math.floor(ex/eu);
var ey=this.getTable().getTableModel();
var ev=0;

if(ey!=null){ev=ey.getRowCount();
}return (ez<ev)?ez:null;
}var ew=this.__header.getContainerLocation();

if(es>=ew.top&&es<=ew.bottom&&er<=ew.right){return -1;
}return null;
},setTopRightWidget:function(fn){var fo=this.__topRightWidget;

if(fo!=null){this.__top.remove(fo);
}
if(fn!=null){this.__top.add(fn);
}this.__topRightWidget=fn;
},getTopRightWidget:function(){return this.__topRightWidget;
},getHeader:function(){return this.__header;
},getTablePane:function(){return this.__tablePane;
},getVerticalScrollBarWidth:function(){var eI=this.__verScrollBar;
return eI.isVisible()?(eI.getSizeHint().width||0):0;
},getNeededScrollBars:function(dQ,dR){var dX=this.__verScrollBar.getSizeHint().width;
var dY=this.__paneClipper.getInnerSize();
var dS=dY?dY.width:0;

if(this.getVerticalScrollBarVisible()){dS+=dX;
}var ec=dY?dY.height:0;

if(this.getHorizontalScrollBarVisible()){ec+=dX;
}var dV=this.getTable().getTableModel();
var ea=0;

if(dV!=null){ea=dV.getRowCount();
}var ed=this.getTablePaneModel().getTotalWidth();
var eb=this.getTable().getRowHeight()*ea;
var dU=false;
var ee=false;

if(ed>dS){dU=true;

if(eb>ec-dX){ee=true;
}}else if(eb>ec){ee=true;

if(!dR&&(ed>dS-dX)){dU=true;
}}var dW=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;
var dT=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;
return ((dQ||dU)?dW:0)|((dR||!ee)?0:dT);
},_applyScrollTimeout:function(dn,dp){this._startInterval(dn);
},_startInterval:function(eR){this._stopInterval();
if(eR){this.__updateInterval=window.setInterval(this.__onintervalWrapper,eR);
}},_stopInterval:function(){if(this.__updateInterval){window.clearInterval(this.__updateInterval);
this.__updateInterval=null;
}},_postponedUpdateContent:function(){this._updateContent();
},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.__updateContentPlanned&&!this.__tablePane._layoutPending){this.__updateContentPlanned=false;
this._updateContent();
}}),_updateContent:function(){var eN=this.__paneClipper.getInnerSize();

if(!eN){return;
}var eQ=eN.height;
var scrollX=this.__horScrollBar.getPosition();
var scrollY=this.__verScrollBar.getPosition();
var eK=this.getTable().getRowHeight();
var eL=Math.floor(scrollY/eK);
var eP=this.__tablePane.getFirstVisibleRow();
this.__tablePane.setFirstVisibleRow(eL);
var eM=Math.ceil(eQ/eK);
var eJ=0;
var eO=this.getTable().getKeepFirstVisibleRowComplete();

if(!eO){eM++;
eJ=scrollY%eK;
}this.__tablePane.setVisibleRowCount(eM);

if(eL!=eP){this._updateFocusIndicator();
}this.__paneClipper.scrollToX(scrollX);
if(!eO){this.__paneClipper.scrollToY(eJ);
}},_updateFocusIndicator:function(){if(!this.getShowCellFocusIndicator()){return;
}var u=this.getTable();

if(!u.getEnabled()){return;
}this.__focusIndicator.moveToCell(this.__focusedCol,this.__focusedRow);
}},destruct:function(){this._stopInterval();
var dN=this.getTablePaneModel();

if(dN){dN.dispose();
}this._disposeFields(bF,bi,bJ);
this._disposeObjects(bM,bL,be,bf,bv,bb,bt,bB);
}});
})();
(function(){var b="qx.ui.core.scroll.IScrollBar",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"scroll":a},properties:{orientation:{},maximum:{},position:{},knobFactor:{}},members:{scrollTo:function(c){this.assertNumber(c);
},scrollBy:function(d){this.assertNumber(d);
},scrollBySteps:function(e){this.assertNumber(e);
}}});
})();
(function(){var x="horizontal",w="px",v="scroll",u="vertical",t="-1px",s="qx.client",r="0",q="hidden",p="mousedown",o="qx.ui.core.scroll.NativeScrollBar",M="PositiveNumber",L="Integer",K="mousemove",J="_applyMaximum",I="_applyOrientation",H="appear",G="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getMaximum()",F="opera",E="PositiveInteger",D="mshtml",B="mouseup",C="_applyPosition",z="scrollbar",A="__scrollPaneElement",y="native";
qx.Class.define(o,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(W){arguments.callee.base.call(this);
this.addState(y);
this.getContentElement().addListener(v,this._onScroll,this);
this.addListener(p,this._stopPropagation,this);
this.addListener(B,this._stopPropagation,this);
this.addListener(K,this._stopPropagation,this);

if(qx.core.Variant.isSet(s,F)){this.addListener(H,this._onAppear,this);
}this.getContentElement().add(this._getScrollPaneElement());
if(W!=null){this.setOrientation(W);
}else{this.initOrientation();
}},properties:{appearance:{refine:true,init:z},orientation:{check:[x,u],init:x,apply:I},maximum:{check:E,apply:J,init:100},position:{check:G,init:0,apply:C,event:v},singleStep:{check:L,init:20},knobFactor:{check:M,nullable:true}},members:{__isHorizontal:null,__scrollPaneElement:null,_getScrollPaneElement:function(){if(!this.__scrollPaneElement){this.__scrollPaneElement=new qx.html.Element();
}return this.__scrollPaneElement;
},renderLayout:function(k,top,l,m){var n=arguments.callee.base.call(this,k,top,l,m);
this._updateScrollBar();
return n;
},_getContentHint:function(){var X=qx.bom.element.Overflow.getScrollbarWidth();
return {width:this.__isHorizontal?100:X,maxWidth:this.__isHorizontal?null:X,minWidth:this.__isHorizontal?null:X,height:this.__isHorizontal?X:100,maxHeight:this.__isHorizontal?X:null,minHeight:this.__isHorizontal?X:null};
},_applyEnabled:function(U,V){arguments.callee.base.call(this,U,V);
this._updateScrollBar();
},_applyMaximum:function(N){this._updateScrollBar();
},_applyPosition:function(h){this.scrollTo(h);
},_applyOrientation:function(b,c){var d=this.__isHorizontal=b===x;
this.set({allowGrowX:d,allowShrinkX:d,allowGrowY:!d,allowShrinkY:!d});

if(d){this.replaceState(u,x);
}else{this.replaceState(x,u);
}this.getContentElement().setStyles({overflowX:d?v:q,overflowY:d?q:v});
qx.ui.core.queue.Layout.add(this);
},_updateScrollBar:function(){var R=this.__isHorizontal;
var S=this.getBounds();

if(!S){return;
}
if(this.isEnabled()){var T=R?S.width:S.height;
var Q=this.getMaximum()+T;
}else{Q=0;
}if(qx.core.Variant.isSet(s,D)){var S=this.getBounds();
this.getContentElement().setStyles({left:R?r:t,top:R?t:r,width:(R?S.width:S.width+1)+w,height:(R?S.height+1:S.height)+w});
}this._getScrollPaneElement().setStyles({left:0,top:0,width:(R?Q:1)+w,height:(R?1:Q)+w});
this.scrollTo(this.getPosition());
},scrollTo:function(i){var j=this.getContentElement();

if(this.__isHorizontal){j.scrollToX(i);
}else{j.scrollToY(i);
}},scrollBy:function(a){this.scrollTo(this.getPosition()+a);
},scrollBySteps:function(O){var P=this.getSingleStep();
this.scrollBy(O*P);
},_onScroll:function(e){var g=this.getContentElement();
var f=this.__isHorizontal?g.getScrollX():g.getScrollY();
this.setPosition(f);
},_onAppear:function(e){this.scrollTo(this.getPosition());
},_stopPropagation:function(e){e.stopPropagation();
}},destruct:function(){this._disposeObjects(A);
}});
})();
(function(){var o="slider",n="button-begin",m="horizontal",l="button-end",k="vertical",j="Integer",i="execute",h="right",g="left",f="down",D="up",C="PositiveNumber",B="changeValue",A="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getMaximum()",z="_applyKnobFactor",y="knob",x="qx.ui.core.scroll.ScrollBar",w="resize",v="_applyOrientation",u="_applyPageStep",s="PositiveInteger",t="scroll",q="_applyPosition",r="scrollbar",p="_applyMaximum";
qx.Class.define(x,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(I){arguments.callee.base.call(this);
this._createChildControl(n);
this._createChildControl(o);
this._createChildControl(l);
if(I!=null){this.setOrientation(I);
}else{this.initOrientation();
}this.addListener(w,this._onResize,this);
},properties:{appearance:{refine:true,init:r},orientation:{check:[m,k],init:m,apply:v},maximum:{check:s,apply:p,init:100},position:{check:A,init:0,apply:q,event:t},singleStep:{check:j,init:20},pageStep:{check:j,init:10,apply:u},knobFactor:{check:C,apply:z,nullable:true}},members:{__offset:5,_createChildControlImpl:function(G){var H;

switch(G){case o:H=new qx.ui.core.scroll.ScrollSlider();
H.setPageStep(100);
H.setFocusable(false);
H.addListener(B,this._onChangeSliderValue,this);
this._add(H,{flex:1});
break;
case n:H=new qx.ui.form.RepeatButton();
H.setFocusable(false);
H.addListener(i,this._onExecuteBegin,this);
this._add(H);
break;
case l:H=new qx.ui.form.RepeatButton();
H.setFocusable(false);
H.addListener(i,this._onExecuteEnd,this);
this._add(H);
break;
}return H||arguments.callee.base.call(this,G);
},_applyMaximum:function(S){this.getChildControl(o).setMaximum(S);
},_applyPosition:function(K){this.getChildControl(o).setValue(K);
},_applyKnobFactor:function(T){this.getChildControl(o).setKnobFactor(T);
},_applyPageStep:function(J){this.getChildControl(o).setPageStep(J);
},_applyOrientation:function(b,c){var d=this._getLayout();

if(d){d.dispose();
}if(b===m){this._setLayout(new qx.ui.layout.HBox());
this.setAllowStretchX(true);
this.setAllowStretchY(false);
this.replaceState(k,m);
this.getChildControl(n).replaceState(D,g);
this.getChildControl(l).replaceState(f,h);
}else{this._setLayout(new qx.ui.layout.VBox());
this.setAllowStretchX(false);
this.setAllowStretchY(true);
this.replaceState(m,k);
this.getChildControl(n).replaceState(g,D);
this.getChildControl(l).replaceState(h,f);
}this.getChildControl(o).setOrientation(b);
},scrollTo:function(a){this.getChildControl(o).slideTo(a);
},scrollBy:function(L){this.getChildControl(o).slideBy(L);
},scrollBySteps:function(E){var F=this.getSingleStep();
this.getChildControl(o).slideBy(E*F);
},_onExecuteBegin:function(e){this.scrollBy(-this.getSingleStep());
},_onExecuteEnd:function(e){this.scrollBy(this.getSingleStep());
},_onChangeSliderValue:function(e){this.setPosition(e.getData());
},_onResize:function(e){var N=this.getBounds();
var R=this.getChildControl(n).getBounds();
var P=this.getChildControl(l).getBounds();
var M=this.getChildControl(o).getChildControl(y);
var O=M.getBounds();
var Q=false;

if(this.getOrientation()==k){if((N.height-R.height-P.height)<(O.height+this.__offset)){Q=true;
}}else{if((N.width-R.width-P.width)<(O.width+this.__offset)){Q=true;
}}
if(Q){M.exclude();
}else{M.show();
}}}});
})();
(function(){var c="qx.ui.form.INumberForm",b="qx.event.type.Data";
qx.Interface.define(c,{events:{"changeValue":b},members:{setValue:function(a){return arguments.length==1;
},resetValue:function(){},getValue:function(){}}});
})();
(function(){var d="qx.ui.form.IRange";
qx.Interface.define(d,{members:{setMinimum:function(b){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 bp="knob",bo="horizontal",bn="vertical",bm="Integer",bl="px",bk="mousemove",bj="resize",bi="left",bh="top",bg="mouseup",bT="slider",bS="PageUp",bR="mousedown",bQ="height",bP="changeValue",bO="Left",bN="Down",bM="Up",bL="dblclick",bK="qx.ui.form.Slider",bw="PageDown",bx="mousewheel",bu="interval",bv="_applyValue",bs="_applyKnobFactor",bt="End",bq="width",br="_applyOrientation",by="Home",bz="floor",bC="_applyMinimum",bB="click",bE="Right",bD="keypress",bG="ceil",bF="losecapture",bA="contextmenu",bJ="_applyMaximum",bI="Number",bH="typeof value==='number'&&value>=this.getMinimum()&&value<=this.getMaximum()";
qx.Class.define(bK,{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(a){arguments.callee.base.call(this);
this._setLayout(new qx.ui.layout.Canvas());
this.addListener(bD,this._onKeyPress);
this.addListener(bx,this._onMouseWheel);
this.addListener(bR,this._onMouseDown);
this.addListener(bg,this._onMouseUp);
this.addListener(bF,this._onMouseUp);
this.addListener(bj,this._onUpdate);
this.addListener(bA,this._onStopEvent);
this.addListener(bB,this._onStopEvent);
this.addListener(bL,this._onStopEvent);
if(a!=null){this.setOrientation(a);
}else{this.initOrientation();
}},properties:{appearance:{refine:true,init:bT},focusable:{refine:true,init:true},orientation:{check:[bo,bn],init:bo,apply:br},value:{check:bH,init:0,apply:bv,event:bP,nullable:true},minimum:{check:bm,init:0,apply:bC},maximum:{check:bm,init:100,apply:bJ},singleStep:{check:bm,init:1},pageStep:{check:bm,init:10},knobFactor:{check:bI,apply:bs,nullable:true}},members:{__sliderLocation:null,__knobLocation:null,__knobSize:null,__dragMode:null,__dragOffset:null,__trackingMode:null,__trackingDirection:null,__trackingEnd:null,__timer:null,_forwardStates:{invalid:true},_createChildControlImpl:function(o){var p;

switch(o){case bp:p=new qx.ui.core.Widget();
p.addListener(bj,this._onUpdate,this);
this._add(p);
break;
}return p||arguments.callee.base.call(this,o);
},_onMouseWheel:function(e){var bf=e.getWheelDelta()>0?1:-1;
this.slideBy(bf*this.getSingleStep());
e.stop();
},_onKeyPress:function(e){var j=this.getOrientation()===bo;
var i=j?bO:bM;
var forward=j?bE:bN;

switch(e.getKeyIdentifier()){case forward:this.slideForward();
break;
case i:this.slideBack();
break;
case bw:this.slidePageForward();
break;
case bS:this.slidePageBack();
break;
case by:this.slideToBegin();
break;
case bt:this.slideToEnd();
break;
default:return;
}e.stop();
},_onMouseDown:function(e){if(this.__dragMode){return;
}var U=this.__isHorizontal;
var S=this.getChildControl(bp);
var T=U?bi:bh;
var W=U?e.getDocumentLeft():e.getDocumentTop();
var X=this.__sliderLocation=qx.bom.element.Location.get(this.getContentElement().getDomElement())[T];
var V=this.__knobLocation=qx.bom.element.Location.get(S.getContainerElement().getDomElement())[T];

if(e.getTarget()===S){this.__dragMode=true;
this.__dragOffset=W+X-V;
}else{this.__trackingMode=true;
this.__trackingDirection=W<=V?-1:1;
this.__computeTrackingEnd(e);
this._onInterval();
if(!this.__timer){this.__timer=new qx.event.Timer(100);
this.__timer.addListener(bu,this._onInterval,this);
}this.__timer.start();
}this.addListener(bk,this._onMouseMove);
this.capture();
e.stopPropagation();
},_onMouseUp:function(e){if(this.__dragMode){this.releaseCapture();
delete this.__dragMode;
delete this.__dragOffset;
}else if(this.__trackingMode){this.__timer.stop();
this.releaseCapture();
delete this.__trackingMode;
delete this.__trackingDirection;
delete this.__trackingEnd;
}this.removeListener(bk,this._onMouseMove);
if(e.getType()===bg){e.stopPropagation();
}},_onMouseMove:function(e){if(this.__dragMode){var F=this.__isHorizontal?e.getDocumentLeft():e.getDocumentTop();
var E=F-this.__dragOffset;
this.slideTo(this._positionToValue(E));
}else if(this.__trackingMode){this.__computeTrackingEnd(e);
}e.stopPropagation();
},_onInterval:function(e){var bb=this.getValue()+(this.__trackingDirection*this.getPageStep());
if(bb<this.getMinimum()){bb=this.getMinimum();
}else if(bb>this.getMaximum()){bb=this.getMaximum();
}var bc=this.__trackingDirection==-1;

if((bc&&bb<=this.__trackingEnd)||(!bc&&bb>=this.__trackingEnd)){bb=this.__trackingEnd;
}this.slideTo(bb);
},_onUpdate:function(e){var x=this.getInnerSize();
var y=this.getChildControl(bp).getBounds();
var w=this.__isHorizontal?bq:bQ;
this._updateKnobSize();
this.__slidingSpace=x[w]-y[w];
this.__knobSize=y[w];
this._updateKnobPosition();
},__isHorizontal:false,__slidingSpace:0,__computeTrackingEnd:function(e){var G=this.__isHorizontal;
var N=G?e.getDocumentLeft():e.getDocumentTop();
var P=this.__sliderLocation;
var H=this.__knobLocation;
var R=this.__knobSize;
var O=N-P;

if(N>=H){O-=R;
}var L=this._positionToValue(O);
var I=this.getMinimum();
var J=this.getMaximum();

if(L<I){L=I;
}else if(L>J){L=J;
}else{var M=this.getValue();
var K=this.getPageStep();
var Q=this.__trackingDirection<0?bz:bG;
L=M+(Math[Q]((L-M)/K)*K);
}if(this.__trackingEnd==null||(this.__trackingDirection==-1&&L<=this.__trackingEnd)||(this.__trackingDirection==1&&L>=this.__trackingEnd)){this.__trackingEnd=L;
}},_positionToValue:function(A){var B=this.__slidingSpace;
if(B==null||B==0){return 0;
}var D=A/B;

if(D<0){D=0;
}else if(D>1){D=1;
}var C=this.getMaximum()-this.getMinimum();
return this.getMinimum()+Math.round(C*D);
},_valueToPosition:function(b){var c=this.__slidingSpace;

if(c==null){return 0;
}var d=this.getMaximum()-this.getMinimum();
if(d==0){return 0;
}var b=b-this.getMinimum();
var f=b/d;

if(f<0){f=0;
}else if(f>1){f=1;
}return Math.round(c*f);
},_updateKnobPosition:function(){this._setKnobPosition(this._valueToPosition(this.getValue()));
},_setKnobPosition:function(Y){var ba=this.getChildControl(bp).getContainerElement();

if(this.__isHorizontal){ba.setStyle(bi,Y+bl,true);
}else{ba.setStyle(bh,Y+bl,true);
}},_updateKnobSize:function(){var h=this.getKnobFactor();

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

if(g==null){return;
}if(this.__isHorizontal){this.getChildControl(bp).setWidth(Math.round(h*g.width));
}else{this.getChildControl(bp).setHeight(Math.round(h*g.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(z){this.slideTo(this.getValue()+z);
},slideTo:function(q){if(q<this.getMinimum()){q=this.getMinimum();
}else if(q>this.getMaximum()){q=this.getMaximum();
}else{q=this.getMinimum()+Math.round((q-this.getMinimum())/this.getSingleStep())*this.getSingleStep();
}this.setValue(q);
},_applyOrientation:function(r,s){var t=this.getChildControl(bp);
this.__isHorizontal=r===bo;
if(this.__isHorizontal){this.removeState(bn);
t.removeState(bn);
this.addState(bo);
t.addState(bo);
t.setLayoutProperties({top:0,right:null,bottom:0});
}else{this.removeState(bo);
t.removeState(bo);
this.addState(bn);
t.addState(bn);
t.setLayoutProperties({right:0,bottom:null,left:0});
}this._updateKnobPosition();
},_applyKnobFactor:function(u,v){if(u!=null){this._updateKnobSize();
}else{if(this.__isHorizontal){this.getChildControl(bp).resetWidth();
}else{this.getChildControl(bp).resetHeight();
}}},_applyValue:function(bd,be){if(bd!=null){this._updateKnobPosition();
}else{this.resetValue();
}},_applyMinimum:function(k,l){if(this.getValue()<k){this.setValue(k);
}this._updateKnobPosition();
},_applyMaximum:function(m,n){if(this.getValue()>m){this.setValue(m);
}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 a="qx.ui.table.pane.Clipper";
qx.Class.define(a,{extend:qx.ui.container.Composite,construct:function(){arguments.callee.base.call(this,new qx.ui.layout.Grow());
},members:{scrollToX:function(c){this.getContentElement().scrollToX(c,false);
},scrollToY:function(b){this.getContentElement().scrollToY(b,true);
}}});
})();
(function(){var h="Integer",g="Escape",f="keypress",d="Enter",c="__scroller",b="excluded",a="qx.ui.table.pane.FocusIndicator";
qx.Class.define(a,{extend:qx.ui.container.Composite,construct:function(i){arguments.callee.base.call(this);
this.__scroller=i;
this.setKeepActive(true);
this.addListener(f,this._onKeyPress,this);
},properties:{visibility:{refine:true,init:b},row:{check:h,nullable:true},column:{check:h,nullable:true}},members:{__scroller:null,_onKeyPress:function(e){var j=e.getKeyIdentifier();

if(j!==g&&j!==d){e.stopPropagation();
}},moveToCell:function(k,l){if(k==null){this.hide();
this.setRow(null);
this.setColumn(null);
}else{var m=this.__scroller.getTablePaneModel().getX(k);

if(m==-1){this.hide();
this.setRow(null);
this.setColumn(null);
}else{var r=this.__scroller.getTable();
var p=r.getTableColumnModel();
var q=this.__scroller.getTablePaneModel();
var o=this.__scroller.getTablePane().getFirstVisibleRow();
var n=r.getRowHeight();
this.setUserBounds(q.getColumnLeft(k)-2,(l-o)*n-2,p.getColumnWidth(k)+3,n+3);
this.show();
this.setRow(l);
this.setColumn(k);
}}}},destruct:function(){this._disposeFields(c);
}});
})();
(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()));
}}}});
})();
(function(){var a="qx.lang.Number";
qx.Bootstrap.define(a,{statics:{isInRange:function(h,i,j){return h>=i&&h<=j;
},isBetweenRange:function(e,f,g){return e>f&&e<g;
},limit:function(b,c,d){if(d!=null&&b>d){return d;
}else if(c!=null&&b<c){return c;
}else{return b;
}}}});
})();
(function(){var x="Boolean",w="resize",v="mousedown",u="w-resize",t="sw-resize",s="n-resize",r="resizableRight",q="ne-resize",p="se-resize",o="Integer",N="e-resize",M="resizableLeft",L="mousemove",K="move",J="shorthand",I="maximized",H="nw-resize",G="mouseout",F="qx.ui.core.MResizable",E="mouseup",C="losecapture",D="resize-frame",A="resizableBottom",B="__resizeFrame",y="s-resize",z="resizableTop";
qx.Mixin.define(F,{construct:function(){this.addListener(v,this.__onResizeMouseDown,this,true);
this.addListener(E,this.__onResizeMouseUp,this);
this.addListener(L,this.__onResizeMouseMove,this);
this.addListener(G,this.__onResizeMouseOut,this);
this.addListener(C,this.__onResizeLoseCapture,this);
},properties:{resizableTop:{check:x,init:true},resizableRight:{check:x,init:true},resizableBottom:{check:x,init:true},resizableLeft:{check:x,init:true},resizable:{group:[z,r,A,M],mode:J},resizeSensitivity:{check:o,init:5},useResizeFrame:{check:x,init:true}},members:{__resizeFrame:null,__resizeActive:null,__resizeLeft:null,__resizeTop:null,__resizeStart:null,RESIZE_TOP:1,RESIZE_BOTTOM:2,RESIZE_LEFT:4,RESIZE_RIGHT:8,__getResizeFrame:function(){var c=this.__resizeFrame;

if(!c){c=this.__resizeFrame=new qx.ui.core.Widget();
c.setAppearance(D);
c.exclude();
qx.core.Init.getApplication().getRoot().add(c);
}return c;
},__showResizeFrame:function(){var b=this.__resizeStart;
var a=this.__getResizeFrame();
a.setUserBounds(b.left,b.top,b.width,b.height);
a.show();
a.setZIndex(this.getZIndex()+1);
},__computeResizeResult:function(e){var P=this.__resizeActive;
var Q=this.getSizeHint();
var S=this.__resizeStart;
var O=S.width;
var R=S.height;
var U=S.left;
var top=S.top;
var T;

if((P&this.RESIZE_TOP)||(P&this.RESIZE_BOTTOM)){T=e.getDocumentTop()-this.__resizeTop;

if(P&this.RESIZE_TOP){R-=T;
}else{R+=T;
}
if(R<Q.minHeight){R=Q.minHeight;
}else if(R>Q.maxHeight){R=Q.maxHeight;
}
if(P&this.RESIZE_TOP){top+=S.height-R;
}}
if((P&this.RESIZE_LEFT)||(P&this.RESIZE_RIGHT)){T=e.getDocumentLeft()-this.__resizeLeft;

if(P&this.RESIZE_LEFT){O-=T;
}else{O+=T;
}
if(O<Q.minWidth){O=Q.minWidth;
}else if(O>Q.maxWidth){O=Q.maxWidth;
}
if(P&this.RESIZE_LEFT){U+=S.width-O;
}}return {viewportLeft:U,viewportTop:top,parentLeft:S.bounds.left+U-S.left,parentTop:S.bounds.top+top-S.top,width:O,height:R};
},__resizeCursors:{1:s,2:y,4:u,8:N,5:H,6:t,9:q,10:p},__computeResizeMode:function(e){var l=this.getContentLocation();
var j=this.getResizeSensitivity();
var n=e.getDocumentLeft();
var m=e.getDocumentTop();
var k=0;

if(this.getResizableTop()&&Math.abs(l.top-m)<j){k+=this.RESIZE_TOP;
}else if(this.getResizableBottom()&&Math.abs(l.bottom-m)<j){k+=this.RESIZE_BOTTOM;
}
if(this.getResizableLeft()&&Math.abs(l.left-n)<j){k+=this.RESIZE_LEFT;
}else if(this.getResizableRight()&&Math.abs(l.right-n)<j){k+=this.RESIZE_RIGHT;
}this.__resizeActive=k;
},__onResizeMouseDown:function(e){if(!this.__resizeActive){return;
}this.addState(w);
this.__resizeLeft=e.getDocumentLeft();
this.__resizeTop=e.getDocumentTop();
var location=this.getContainerLocation();
var V=this.getBounds();
this.__resizeStart={top:location.top,left:location.left,width:V.width,height:V.height,bounds:qx.lang.Object.clone(V)};
if(this.getUseResizeFrame()){this.__showResizeFrame();
}this.capture();
e.stop();
},__onResizeMouseUp:function(e){if(!this.hasState(w)){return;
}if(this.getUseResizeFrame()){this.__getResizeFrame().exclude();
}var W=this.__computeResizeResult(e);
this.setWidth(W.width);
this.setHeight(W.height);
if(this.getResizableLeft()||this.getResizableTop()){this.setLayoutProperties({left:W.parentLeft,top:W.parentTop});
}this.__resizeActive=0;
this.removeState(w);
this.resetCursor();
this.getApplicationRoot().resetGlobalCursor();
this.releaseCapture();
},__onResizeLoseCapture:function(e){if(!this.__resizeActive){return;
}this.resetCursor();
this.getApplicationRoot().resetGlobalCursor();
this.removeState(K);
if(this.getUseResizeFrame()){this.__getResizeFrame().exclude();
}},__onResizeMouseMove:function(e){if(this.hasState(w)){var h=this.__computeResizeResult(e);
if(this.getUseResizeFrame()){var f=this.__getResizeFrame();
f.setUserBounds(h.viewportLeft,h.viewportTop,h.width,h.height);
}else{this.setWidth(h.width);
this.setHeight(h.height);
if(this.getResizableLeft()||this.getResizableTop()){this.setLayoutProperties({left:h.parentLeft,top:h.parentTop});
}}e.stop();
}else if(!this.hasState(I)){this.__computeResizeMode(e);
var i=this.__resizeActive;
var g=this.getApplicationRoot();

if(i){var d=this.__resizeCursors[i];
this.setCursor(d);
g.setGlobalCursor(d);
}else if(this.getCursor()){this.resetCursor();
g.resetGlobalCursor();
}}},__onResizeMouseOut:function(e){if(this.getCursor()&&!this.hasState(w)){this.resetCursor();
this.getApplicationRoot().resetGlobalCursor();
}}},destruct:function(){this._disposeObjects(B);
}});
})();
(function(){var n="move",m="Boolean",l="mouseup",k="mousedown",j="losecapture",i="__moveHandle",h="qx.ui.core.MMovable",g="__dragRange",f="mousemove",d="maximized",b="__moveFrame",c="move-frame";
qx.Mixin.define(h,{properties:{movable:{check:m,init:true},useMoveFrame:{check:m,init:false}},members:{__moveHandle:null,__moveFrame:null,__dragRange:null,__dragLeft:null,__dragTop:null,__parentLeft:null,__parentTop:null,__blockerAdded:false,__oldBlockerColor:null,__oldBlockerOpacity:0,_activateMoveHandle:function(a){if(this.__moveHandle){throw new Error("The move handle could not be redefined!");
}this.__moveHandle=a;
a.addListener(k,this._onMoveMouseDown,this);
a.addListener(l,this._onMoveMouseUp,this);
a.addListener(f,this._onMoveMouseMove,this);
a.addListener(j,this.__onMoveLoseCapture,this);
},__getMoveFrame:function(){var p=this.__moveFrame;

if(!p){p=this.__moveFrame=new qx.ui.core.Widget();
p.setAppearance(c);
p.exclude();
qx.core.Init.getApplication().getRoot().add(p);
}return p;
},__showMoveFrame:function(){var location=this.getContainerLocation();
var v=this.getBounds();
var u=this.__getMoveFrame();
u.setUserBounds(location.left,location.top,v.width,v.height);
u.show();
u.setZIndex(this.getZIndex()+1);
},__computeMoveCoordinates:function(e){var x=this.__dragRange;
var A=Math.max(x.left,Math.min(x.right,e.getDocumentLeft()));
var z=Math.max(x.top,Math.min(x.bottom,e.getDocumentTop()));
var w=this.__dragLeft+A;
var y=this.__dragTop+z;
return {viewportLeft:w,viewportTop:y,parentLeft:w-this.__parentLeft,parentTop:y-this.__parentTop};
},_onMoveMouseDown:function(e){if(!this.getMovable()||this.hasState(d)){return;
}var parent=this.getLayoutParent();
var s=parent.getContentLocation();
var t=parent.getBounds();
if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(!parent.isContentBlocked()){this.__blockerAdded=true;
this.__oldBlockerColor=parent.getBlockerColor();
this.__oldBlockerOpacity=parent.getBlockerOpacity();
parent.setBlockerColor(null);
parent.setBlockerOpacity(1);
parent.blockContent(this.getZIndex()-1);
}}this.__dragRange={left:s.left,top:s.top,right:s.left+t.width,bottom:s.top+t.height};
var r=this.getContainerLocation();
this.__parentLeft=s.left;
this.__parentTop=s.top;
this.__dragLeft=r.left-e.getDocumentLeft();
this.__dragTop=r.top-e.getDocumentTop();
this.addState(n);
this.__moveHandle.capture();
if(this.getUseMoveFrame()){this.__showMoveFrame();
}e.stop();
},_onMoveMouseMove:function(e){if(!this.hasState(n)){return;
}var q=this.__computeMoveCoordinates(e);

if(this.getUseMoveFrame()){this.__getMoveFrame().setDomPosition(q.viewportLeft,q.viewportTop);
}else{this.setDomPosition(q.parentLeft,q.parentTop);
}},_onMoveMouseUp:function(e){if(!this.hasState(n)){return;
}this.removeState(n);
var parent=this.getLayoutParent();

if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(this.__blockerAdded){parent.unblockContent();
parent.setBlockerColor(this.__oldBlockerColor);
parent.setBlockerOpacity(this.__oldBlockerOpacity);
this.__oldBlockerColor=null;
this.__oldBlockerOpacity=0;
}}this.__moveHandle.releaseCapture();
var o=this.__computeMoveCoordinates(e);
this.setLayoutProperties({left:o.parentLeft,top:o.parentTop});
if(this.getUseMoveFrame()){this.__getMoveFrame().exclude();
}},__onMoveLoseCapture:function(e){if(!this.hasState(n)){return;
}this.removeState(n);
if(this.getUseMoveFrame()){this.__getMoveFrame().exclude();
}}},destruct:function(){this._disposeObjects(b,i);
this._disposeFields(g);
}});
})();
(function(){var p="Integer",o="_applyContentPadding",n="resetPaddingRight",m="setPaddingBottom",l="resetPaddingTop",k="qx.ui.core.MContentPadding",j="resetPaddingLeft",i="setPaddingTop",h="setPaddingRight",g="resetPaddingBottom",c="contentPaddingLeft",f="setPaddingLeft",e="contentPaddingTop",b="shorthand",a="contentPaddingRight",d="contentPaddingBottom";
qx.Mixin.define(k,{properties:{contentPaddingTop:{check:p,init:0,apply:o,themeable:true},contentPaddingRight:{check:p,init:0,apply:o,themeable:true},contentPaddingBottom:{check:p,init:0,apply:o,themeable:true},contentPaddingLeft:{check:p,init:0,apply:o,themeable:true},contentPadding:{group:[e,a,d,c],mode:b,themeable:true}},members:{__contentPaddingSetter:{contentPaddingTop:i,contentPaddingRight:h,contentPaddingBottom:m,contentPaddingLeft:f},__contentPaddingResetter:{contentPaddingTop:l,contentPaddingRight:n,contentPaddingBottom:g,contentPaddingLeft:j},_applyContentPadding:function(q,r,name){var s=this._getContentPaddingTarget();

if(q==null){var t=this.__contentPaddingResetter[name];
s[t]();
}else{var u=this.__contentPaddingSetter[name];
s[u](q);
}}}});
})();
(function(){var b="qx.ui.window.IWindowManager";
qx.Interface.define(b,{members:{setDesktop:function(e){this.assertInterface(e,qx.ui.window.IDesktop);
},changeActiveWindow:function(c,d){},updateStack:function(){},bringToFront:function(a){this.assertInstance(a,qx.ui.window.Window);
},sendToBack:function(f){this.assertInstance(f,qx.ui.window.Window);
}}});
})();
(function(){var f="qx.ui.window.Manager",e="__desktop";
qx.Class.define(f,{extend:qx.core.Object,implement:qx.ui.window.IWindowManager,members:{__desktop:null,setDesktop:function(d){this.__desktop=d;
this.updateStack();
},getDesktop:function(){return this.__desktop;
},changeActiveWindow:function(g,h){if(g){this.bringToFront(g);
}},_minZIndex:1e5,updateStack:function(){qx.ui.core.queue.Widget.add(this);
},syncWidget:function(){this.__desktop.unblockContent();
var k=this.__desktop.getWindows();
var o=this._minZIndex-1;
var n=false;
var m,j=null;

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

if(!m.isVisible()){continue;
}o+=2;
m.setZIndex(o);
if(m.getModal()){this.__desktop.blockContent(o-1);
}n=n||m.isActive();
j=m;
}
if(!n){this.__desktop.setActiveWindow(j);
}},bringToFront:function(p){var q=this.__desktop.getWindows();
var r=qx.lang.Array.remove(q,p);

if(r){q.push(p);
this.updateStack();
}},sendToBack:function(a){var b=this.__desktop.getWindows();
var c=qx.lang.Array.remove(b,a);

if(c){b.unshift(a);
this.updateStack();
}}},destruct:function(){this._disposeObjects(e);
}});
})();
(function(){var k="Boolean",j="qx.event.type.Event",i="captionbar",h="maximize-button",g="_applyCaptionBarChange",f="restore-button",d="minimize-button",c="close-button",b="execute",a="pane",R="title",Q="icon",P="maximized",O="statusbar-text",N="statusbar",M="String",L="active",K="beforeClose",J="beforeMinimize",I="mousedown",r="changeStatus",s="changeIcon",p="excluded",q="_applyCaption",n="_applyActive",o="beforeRestore",l="normal",m="minimize",t="dblclick",u="changeModal",A="_applyShowStatusbar",z="_applyStatus",C="qx.ui.window.Window",B="changeCaption",E="_applyIcon",D="focusout",w="beforeMaximize",H="maximize",G="restore",F="window",v="close",x="changeActive",y="minimized";
qx.Class.define(C,{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(bs,bt){arguments.callee.base.call(this);
this._setLayout(new qx.ui.layout.VBox());
this._createChildControl(i);
this._createChildControl(a);
if(bt!=null){this.setIcon(bt);
}
if(bs!=null){this.setCaption(bs);
}this._updateCaptionBar();
this.addListener(I,this._onWindowMouseDown,this,true);
this.addListener(D,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":j,"close":j,"beforeMinimize":j,"minimize":j,"beforeMaximize":j,"maximize":j,"beforeRestore":j,"restore":j},properties:{appearance:{refine:true,init:F},visibility:{refine:true,init:p},focusable:{refine:true,init:true},active:{check:k,init:false,apply:n,event:x},modal:{check:k,init:false,event:u},caption:{apply:q,event:B,nullable:true},icon:{check:M,nullable:true,apply:E,event:s,themeable:true},status:{check:M,nullable:true,apply:z,event:r},showClose:{check:k,init:true,apply:g,themeable:true},showMaximize:{check:k,init:true,apply:g,themeable:true},showMinimize:{check:k,init:true,apply:g,themeable:true},allowClose:{check:k,init:true,apply:g},allowMaximize:{check:k,init:true,apply:g},allowMinimize:{check:k,init:true,apply:g},showStatusbar:{check:k,init:false,apply:A}},members:{__restoredTop:null,__restoredLeft:null,getChildrenContainer:function(){return this.getChildControl(a);
},_forwardStates:{active:true,maximized:true},setLayoutParent:function(parent){{};
arguments.callee.base.call(this,parent);
},_createChildControlImpl:function(U){var V;

switch(U){case N:V=new qx.ui.container.Composite(new qx.ui.layout.HBox());
this._add(V);
V.add(this.getChildControl(O));
break;
case O:V=new qx.ui.basic.Label();
V.setValue(this.getStatus());
break;
case a:V=new qx.ui.container.Composite();
this._add(V,{flex:1});
break;
case i:var X=new qx.ui.layout.Grid();
X.setRowFlex(0,1);
X.setColumnFlex(1,1);
V=new qx.ui.container.Composite(X);
this._add(V);
V.addListener(t,this._onCaptionMouseDblClick,this);
this._activateMoveHandle(V);
break;
case Q:V=new qx.ui.basic.Image(this.getIcon());
this.getChildControl(i).add(V,{row:0,column:0});
break;
case R:V=new qx.ui.basic.Label(this.getCaption());
V.setWidth(0);
V.setAllowGrowX(true);
var W=this.getChildControl(i);
W.add(V,{row:0,column:1});
break;
case d:V=new qx.ui.form.Button();
V.setFocusable(false);
V.addListener(b,this._onMinimizeButtonClick,this);
this.getChildControl(i).add(V,{row:0,column:2});
break;
case f:V=new qx.ui.form.Button();
V.setFocusable(false);
V.addListener(b,this._onRestoreButtonClick,this);
this.getChildControl(i).add(V,{row:0,column:3});
break;
case h:V=new qx.ui.form.Button();
V.setFocusable(false);
V.addListener(b,this._onMaximizeButtonClick,this);
this.getChildControl(i).add(V,{row:0,column:4});
break;
case c:V=new qx.ui.form.Button();
V.setFocusable(false);
V.addListener(b,this._onCloseButtonClick,this);
this.getChildControl(i).add(V,{row:0,column:6});
break;
}return V||arguments.callee.base.call(this,U);
},_updateCaptionBar:function(){var be;

if(this.getIcon()){this._showChildControl(Q);
}else{this._excludeChildControl(Q);
}
if(this.getCaption()){this._showChildControl(R);
}else{this._excludeChildControl(R);
}
if(this.getShowMinimize()){this._showChildControl(d);
be=this.getChildControl(d);
this.getAllowMinimize()?be.resetEnabled():be.setEnabled(false);
}else{this._excludeChildControl(d);
}
if(this.getShowMaximize()){if(this.isMaximized()){this._showChildControl(f);
this._excludeChildControl(h);
}else{this._showChildControl(h);
this._excludeChildControl(f);
}be=this.getChildControl(h);
this.getAllowMaximize()?be.resetEnabled():be.setEnabled(false);
}else{this._excludeChildControl(h);
this._excludeChildControl(f);
}
if(this.getShowClose()){this._showChildControl(c);
be=this.getChildControl(c);
this.getAllowClose()?be.resetEnabled():be.setEnabled(false);
}else{this._excludeChildControl(c);
}},close:function(){if(this.fireNonBubblingEvent(K,qx.event.type.Event,[false,true])){this.hide();
this.fireEvent(v);
}},open:function(){this.show();
this.setActive(true);
this.focus();
},center:function(){var parent=this.getLayoutParent();

if(parent){var ba=parent.getBounds();

if(ba){var bb=this.getSizeHint();
var Y=Math.round((ba.width-bb.width)/2);
var top=Math.round((ba.height-bb.height)/2);

if(top<0){top=0;
}this.moveTo(Y,top);
return;
}}{};
},maximize:function(){if(this.isMaximized()){return;
}var parent=this.getLayoutParent();

if(!parent){return;
}
if(parent.supportsMaximize()){if(this.fireNonBubblingEvent(w,qx.event.type.Event,[false,true])){var bj=this.getLayoutProperties();
this.__restoredLeft=bj.left===undefined?0:bj.left;
this.__restoredTop=bj.top===undefined?0:bj.top;
this.setLayoutProperties({left:null,top:null,edge:0});
this.addState(P);
this._updateCaptionBar();
this.fireEvent(H);
}}},minimize:function(){if(this.fireNonBubblingEvent(J,qx.event.type.Event,[false,true])){this.hide();
this.fireEvent(m);
}},restore:function(){if(!this.isMaximized()){return;
}
if(this.fireNonBubblingEvent(o,qx.event.type.Event,[false,true])){var bm=this.__restoredLeft;
var top=this.__restoredTop;
this.setLayoutProperties({edge:null,left:bm,top:top});
this.removeState(P);
this._updateCaptionBar();
this.fireEvent(G);
}},moveTo:function(br,top){if(this.isMaximized()){return;
}this.setLayoutProperties({left:br,top:top});
},isMaximized:function(){return this.hasState(P);
},getMode:function(){if(!this.isVisible()){return y;
}else{if(this.isMaximized()){return P;
}else{return l;
}}},_applyActive:function(bc,bd){if(bd){this.removeState(L);
}else{this.addState(L);
}},_getContentPaddingTarget:function(){return this.getChildControl(a);
},_applyShowStatusbar:function(bp,bq){if(bp){this._showChildControl(N);
}else{this._excludeChildControl(N);
}},_applyCaptionBarChange:function(S,T){this._updateCaptionBar();
},_applyStatus:function(bf,bg){var bh=this.getChildControl(O,true);

if(bh){bh.setValue(bf);
}},_applyCaption:function(bk,bl){this.getChildControl(R).setValue(bk);
},_applyIcon:function(bn,bo){this.getChildControl(Q).setSource(bn);
},_onWindowEventStop:function(e){e.stopPropagation();
},_onWindowMouseDown:function(e){this.setActive(true);
},_onWindowFocusOut:function(e){if(this.getModal()){return;
}var bi=e.getRelatedTarget();

if(bi!=null&&!qx.ui.core.Widget.contains(this,bi)){this.setActive(false);
}},_onCaptionMouseDblClick:function(e){if(this.getAllowMaximize()){this.isMaximized()?this.restore():this.maximize();
}},_onMinimizeButtonClick:function(e){this.minimize();
this.getChildControl(d).reset();
},_onRestoreButtonClick:function(e){this.restore();
this.getChildControl(f).reset();
},_onMaximizeButtonClick:function(e){this.maximize();
this.getChildControl(h).reset();
},_onCloseButtonClick:function(e){this.close();
this.getChildControl(c).reset();
}}});
})();
(function(){var b="qx.ui.window.IDesktop";
qx.Interface.define(b,{members:{setWindowManager:function(a){this.assertInterface(a,qx.ui.window.IWindowManager);
},getWindows:function(){},supportsMaximize:function(){},blockContent:function(c){this.assertInteger(c);
},unblockContent:function(){},isContentBlocked:function(){}}});
})();
(function(){var o="__tableColumnModel",n="Number",m="qx.event.type.Event",l="_applyFirstColumnX",k="Integer",j="qx.ui.table.pane.Model",i="_applyMaxColumnCount",h="visibilityChangedPre";
qx.Class.define(j,{extend:qx.core.Object,construct:function(a){arguments.callee.base.call(this);
a.addListener(h,this._onColVisibilityChanged,this);
this.__tableColumnModel=a;
},events:{"modelChanged":m},statics:{EVENT_TYPE_MODEL_CHANGED:"modelChanged"},properties:{firstColumnX:{check:k,init:0,apply:l},maxColumnCount:{check:n,init:-1,apply:i}},members:{__columnCount:null,__tableColumnModel:null,_applyFirstColumnX:function(v,w){this.__columnCount=null;
this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);
},_applyMaxColumnCount:function(t,u){this.__columnCount=null;
this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);
},setTableColumnModel:function(p){this.__tableColumnModel=p;
this.__columnCount=null;
},_onColVisibilityChanged:function(C){this.__columnCount=null;
this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);
},getColumnCount:function(){if(this.__columnCount==null){var e=this.getFirstColumnX();
var g=this.getMaxColumnCount();
var f=this.__tableColumnModel.getVisibleColumnCount();

if(g==-1||(e+g)>f){this.__columnCount=f-e;
}else{this.__columnCount=g;
}}return this.__columnCount;
},getColumnAtX:function(D){var E=this.getFirstColumnX();
return this.__tableColumnModel.getVisibleColumnAtX(E+D);
},getX:function(b){var c=this.getFirstColumnX();
var d=this.getMaxColumnCount();
var x=this.__tableColumnModel.getVisibleX(b)-c;

if(x>=0&&(d==-1||x<d)){return x;
}else{return -1;
}},getColumnLeft:function(y){var B=0;
var A=this.getColumnCount();

for(var x=0;x<A;x++){var z=this.getColumnAtX(x);

if(z==y){return B;
}B+=this.__tableColumnModel.getColumnWidth(z);
}return -1;
},getTotalWidth:function(){var q=0;
var r=this.getColumnCount();

for(var x=0;x<r;x++){var s=this.getColumnAtX(x);
q+=this.__tableColumnModel.getColumnWidth(s);
}return q;
}},destruct:function(){this._disposeFields(o);
}});
})();
(function(){var Q="",P="!",O="'!",N="'",M="Expected '",L=",",K="Event (",J="' but found ",I="The value '",H="Expected value to be an array but found ",bR=") was fired.",bQ="Expected value to be an integer >= 0 but found ",bP="' to be not equal with '",bO="' to '",bN="Expected value to be the CSS color '%1' (rgb(%2)), but found value '%3', which cannot be converted to a CSS color!",bM="Called assertTrue with '",bL="Expected value to be a map but found ",bK="The function did not raise an exception!",bJ="Expected value to be undefined but found ",bI="Expected value to be a regular expression but found ",X="' to implement the interface '",Y="Expected value to be null but found ",V="Invalid argument 'type'",W="Called assert with 'false'",T="Assertion error! ",U="Expected value to be a string but found ",R="null",S="' but found '",be="' must must be a key of the map '",bf="The String '",bo="Expected value not to be undefined but found ",bl=": ",bw="The raised exception does not have the expected type! ",br=") not fired.",bE="qx.core.Assert",bB="Expected value to be typeof object but found ",bh="' (identical) but found '",bH="' must have any of the values defined in the array '",bG="Expected value to be a number but found ",bF="Expected value to be the CSS color '%1' (rgb(%2)), but found value '%3' (rgb(%4))!",bg="Called assertFalse with '",bj="]",bk="Expected value to be a qooxdoo object but found ",bn="' arguments.",bp="Expected value to be a DOM element but found  '%1'!",bs="Expected value not to be null but found ",by="Array[",bD="' does not match the regular expression '",ba="' to be not identical with '",bb="' arguments but found '",bi="Expected object '",bv="qx.core.AssertionError",bu="Expected value to be a boolean but found ",bt="Expected value to be a qooxdoo widget but found ",bA="Expected value '%1' to be in the range '%2'..'%3'!",bz="Expected value to be typeof '",bq="Expected value to be typeof function but found ",bx="Expected value to be an integer but found ",F="Called fail().",bC="The parameter 're' must be a string or a regular expression.",bc="Expected value to be a number >= 0 but found ",bd="Expected value to be instanceof '",bm="Wrong number of arguments given. Expected '",G="object";
qx.Bootstrap.define(bE,{statics:{__logError:true,__assert:function(dx,dy,dz){if(!dx){var dA=T+dy+bl+dz;

if(this.__logError){qx.log.Logger.error(dA);
}
if(qx.Class.isDefined(bv)){var dB=new qx.core.AssertionError(dy,dz);

if(this.__logError){qx.log.Logger.error("Stack trace: \n"+dB.getStackTrace());
}throw dB;
}else{throw new Error(dA);
}}},__toString:function(u){var v;

if(u===null){v=R;
}else if(qx.lang.Type.isArray(u)&&u.length>10){v=by+u.length+bj;
}else{try{v=u.toString();
}catch(e){v=Q;
}}return v;
},assert:function(cx,cy){this.__assert(cx==true,cy||Q,W);
},fail:function(l){this.__assert(false,l||Q,F);
},assertTrue:function(dr,ds){this.__assert(dr===true,ds||Q,bM+this.__toString(dr)+N);
},assertFalse:function(m,n){this.__assert(m===false,n||Q,bg+this.__toString(m)+N);
},assertEquals:function(cb,cc,cd){this.__assert(cb==cc,cd||Q,M+this.__toString(cb)+S+this.__toString(cc)+O);
},assertNotEquals:function(cY,da,db){this.__assert(cY!=da,db||Q,M+this.__toString(cY)+bP+this.__toString(da)+O);
},assertIdentical:function(cG,cH,cI){this.__assert(cG===cH,cI||Q,M+this.__toString(cG)+bh+this.__toString(cH)+O);
},assertNotIdentical:function(cL,cM,cN){this.__assert(cL!==cM,cN||Q,M+this.__toString(cL)+ba+this.__toString(cM)+O);
},assertNotUndefined:function(dm,dn){this.__assert(dm!==undefined,dn||Q,bo+this.__toString(dm)+P);
},assertUndefined:function(cO,cP){this.__assert(cO===undefined,cP||Q,bJ+this.__toString(cO)+P);
},assertNotNull:function(y,z){this.__assert(y!==null,z||Q,bs+this.__toString(y)+P);
},assertNull:function(ce,cf){this.__assert(ce===null,cf||Q,Y+this.__toString(ce)+P);
},assertJsonEquals:function(cQ,cR,cS){this.assertEquals(qx.util.Json.stringify(cQ),qx.util.Json.stringify(cR),cS);
},assertMatch:function(cj,ck,cl){this.assertString(cj);
this.assert(qx.lang.Type.isRegExp(ck)||qx.lang.Type.isString(ck),bC);
this.__assert(cj.search(ck)>=0?true:false,cl||Q,bf+cj+bD+ck.toString()+O);
},assertArgumentsCount:function(A,B,C,D){var E=A.length;
this.__assert((E>=B&&E<=C),D||Q,bm+B+bO+C+bb+arguments.length+bn);
},assertEventFired:function(c,event,d,f,g){var j=false;
var h=function(e){if(f){f.call(c,e);
}j=true;
};
var k=c.addListener(event,h,c);
d.call();
this.__assert(j===true,g||Q,K+event+br);
c.removeListenerById(k);
},assertEventNotFired:function(de,event,df,dg){var di=false;
var dh=function(e){di=true;
};
var dj=de.addListener(event,dh,de);
df.call();
this.__assert(di===false,dg||Q,K+event+bR);
de.removeListenerById(dj);
},assertException:function(cT,cU,cV,cW){var cU=cU||Error;
var cX;

try{this.__logError=false;
cT();
}catch(ci){cX=ci;
}finally{this.__logError=true;
}
if(cX==null){this.__assert(false,cW||Q,bK);
}this.__assert(cX instanceof cU,cW||Q,bw+cU);

if(cV){this.assertMatch(cX.toString(),cV,cW);
}},assertInArray:function(bU,bV,bW){this.__assert(bV.indexOf(bU)!==-1,bW||Q,I+this.__toString(bU)+bH+this.__toString(bV)+N);
},assertArrayEquals:function(bX,bY,ca){this.assertArray(bX,ca);
this.assertArray(bY,ca);
this.assertEquals(bX.length,bY.length,ca);

for(var i=0;i<bX.length;i++){this.assertIdentical(bX[i],bY[i],ca);
}},assertKeyInMap:function(dF,dG,dH){this.__assert(dG[dF]!==undefined,dH||Q,I+this.__toString(dF)+be+qx.util.Json.stringify(dG)+N);
},assertFunction:function(w,x){this.__assert(qx.lang.Type.isFunction(w),x||Q,bq+this.__toString(w)+P);
},assertString:function(s,t){this.__assert(qx.lang.Type.isString(s),t||Q,U+this.__toString(s)+P);
},assertBoolean:function(bS,bT){this.__assert(qx.lang.Type.isBoolean(bS),bT||Q,bu+this.__toString(bS)+P);
},assertNumber:function(dv,dw){this.__assert(qx.lang.Type.isNumber(dv)&&isFinite(dv),dw||Q,bG+this.__toString(dv)+P);
},assertPositiveNumber:function(cJ,cK){this.__assert(qx.lang.Type.isNumber(cJ)&&isFinite(cJ)&&cJ>=0,cK||Q,bc+this.__toString(cJ)+P);
},assertInteger:function(cg,ch){this.__assert((qx.lang.Type.isNumber(cg)&&isFinite(cg)&&cg%1===0),ch||Q,bx+this.__toString(cg)+P);
},assertPositiveInteger:function(dk,dl){this.__assert((qx.lang.Type.isNumber(dk)&&isFinite(dk)&&dk%1===0&&dk>=0),dl||Q,bQ+this.__toString(dk)+P);
},assertInRange:function(co,cp,cq,cr){this.__assert(co>=cp&&co<=cq,cr||Q,qx.lang.String.format(bA,[co,cp,cq]));
},assertObject:function(cm,cn){this.__assert(cm!==null&&(qx.lang.Type.isObject(cm)||typeof cm===G),cn||Q,bB+this.__toString(cm)+P);
},assertArray:function(dc,dd){this.__assert(qx.lang.Type.isArray(dc),dd||Q,H+this.__toString(dc)+P);
},assertMap:function(dt,du){this.__assert(qx.lang.Type.isObject(dt),du||Q,bL+this.__toString(dt)+P);
},assertRegExp:function(cv,cw){this.__assert(qx.lang.Type.isRegExp(cv),cw||Q,bI+this.__toString(cv)+P);
},assertType:function(dC,dD,dE){this.assertString(dD,V);
this.__assert(typeof (dC)===dD,dE||Q,bz+dD+J+this.__toString(dC)+P);
},assertInstance:function(o,p,q){var r=p.classname||p+Q;
this.__assert(o instanceof p,q||Q,bd+r+J+this.__toString(o)+P);
},assertInterface:function(cs,ct,cu){this.__assert(qx.Class.implementsInterface(cs,ct),cu||Q,bi+this.__toString(cs)+X+ct+O);
},assertCssColor:function(cA,cB,cC){var cD=qx.util.ColorUtil;
var cF=cD.stringToRgb(cA);

try{var cE=cD.stringToRgb(cB);
}catch(cz){this.__assert(false,cC||Q,qx.lang.String.format(bN,[cA,cF.join(L),this.__toString(cB)]));
}this.__assert(cF[0]==cE[0]&&cF[1]==cE[1]&&cF[2]==cE[2],cC||Q,qx.lang.String.format(bF,[this.__toString(cA),cF.join(L),this.__toString(cB),cE.join(L)]));
},assertElement:function(a,b){this.__assert(qx.dom.Node.isElement(a),b||Q,qx.lang.String.format(bp,[this.__toString(a)]));
},assertQxObject:function(dp,dq){this.__assert(dp instanceof qx.core.Object,dq||Q,bk+this.__toString(dp)+P);
},assertQxWidget:function(dI,dJ){this.__assert(dI instanceof qx.ui.core.Widget,dJ||Q,bt+this.__toString(dI)+P);
}}});
})();
(function(){var G=",",F="",E="string",D="null",C='"',B="qx.jsonDebugging",A='\\u00',z="__convertObject",y="new Date(Date.UTC(",x="__convertUndefined",bd="__convertFunction",bc='\\\\',bb="__convertBoolean",ba='\\f',Y='\\"',X="))",W="}",V='(',U=":",T="{",N='\\r',O='\\t',L="__convertNumber",M="]",J="[",K="Use 'parse' instead!",H="qx.jsonEncodeUndefined",I='\\b',P="qx.util.Json",Q=')',S='\\n',R="__convertString";
qx.Class.define(P,{statics:{__nativeDateToJSON:null,BEAUTIFYING_INDENT:"  ",BEAUTIFYING_LINE_END:"\n",__map:{"function":bd,"boolean":bb,"number":L,"string":R,"object":z,"undefined":x},__convertFunction:function(bg,bh){return String(bg);
},__convertBoolean:function(bw,bx){return String(bw);
},__convertNumber:function(bq,br){return isFinite(bq)?String(bq):D;
},__convertString:function(u,v){var w;

if(/["\\\x00-\x1f]/.test(u)){w=u.replace(/([\x00-\x1f\\"])/g,qx.util.Json.__convertStringHelper);
}else{w=u;
}return C+w+C;
},__convertStringEscape:{'\b':I,'\t':O,'\n':S,'\f':ba,'\r':N,'"':Y,'\\':bc},__convertStringHelper:function(a,b){var bu=qx.util.Json.__convertStringEscape[b];

if(bu){return bu;
}bu=b.charCodeAt();
return A+Math.floor(bu/16).toString(16)+(bu%16).toString(16);
},__convertArray:function(n,o){var q=[],t=true,s,p;
var r=qx.util.Json.__beautify;
q.push(J);

if(r){qx.util.Json.__indent+=qx.util.Json.BEAUTIFYING_INDENT;
q.push(qx.util.Json.__indent);
}
for(var i=0,l=n.length;i<l;i++){p=n[i];
s=this.__map[typeof p];

if(s){p=this[s](p,i+F);

if(typeof p==E){if(!t){q.push(G);

if(r){q.push(qx.util.Json.__indent);
}}q.push(p);
t=false;
}}}
if(r){qx.util.Json.__indent=qx.util.Json.__indent.substring(0,qx.util.Json.__indent.length-qx.util.Json.BEAUTIFYING_INDENT.length);
q.push(qx.util.Json.__indent);
}q.push(M);
return q.join(F);
},__convertDate:function(f,g){var h=f.getUTCFullYear()+G+f.getUTCMonth()+G+f.getUTCDate()+G+f.getUTCHours()+G+f.getUTCMinutes()+G+f.getUTCSeconds()+G+f.getUTCMilliseconds();
return y+h+X;
},__convertMap:function(bj,bk){var bn=[],bp=true,bm,bl;
var bo=qx.util.Json.__beautify;
bn.push(T);

if(bo){qx.util.Json.__indent+=qx.util.Json.BEAUTIFYING_INDENT;
bn.push(qx.util.Json.__indent);
}
for(var bk in bj){bl=bj[bk];
bm=this.__map[typeof bl];

if(bm){bl=this[bm](bl,bk);

if(typeof bl==E){if(!bp){bn.push(G);

if(bo){bn.push(qx.util.Json.__indent);
}}bn.push(this.__convertString(bk),U,bl);
bp=false;
}}}
if(bo){qx.util.Json.__indent=qx.util.Json.__indent.substring(0,qx.util.Json.__indent.length-qx.util.Json.BEAUTIFYING_INDENT.length);
bn.push(qx.util.Json.__indent);
}bn.push(W);
return bn.join(F);
},__convertObject:function(bz,bA){if(bz){if(qx.lang.Type.isFunction(bz.toJSON)&&bz.toJSON!==this.__nativeDateToJSON){return this.__convert(bz.toJSON(bA),bA);
}else if(qx.lang.Type.isDate(bz)){return this.__convertDate(bz,bA);
}else if(qx.lang.Type.isArray(bz)){return this.__convertArray(bz,bA);
}else if(qx.lang.Type.isObject(bz)){return this.__convertMap(bz,bA);
}return F;
}return D;
},__convertUndefined:function(bs,bt){if(qx.core.Setting.get(H)){return D;
}},__convert:function(be,bf){return this[this.__map[typeof be]](be,bf);
},stringify:function(j,k){this.__beautify=k;
this.__indent=this.BEAUTIFYING_LINE_END;
var m=this.__convert(j,F);

if(typeof m!=E){m=null;
}if(qx.core.Setting.get(B)){qx.log.Logger.debug(this,"JSON request: "+m);
}return m;
},parse:function(c,d){if(d===undefined){d=true;
}
if(qx.core.Setting.get(B)){qx.log.Logger.debug(this,"JSON response: "+c);
}
if(d){if(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(c.replace(/"(\\.|[^"\\])*"/g,F))){throw new Error("Could not parse JSON string!");
}}
try{var e=(c&&c.length>0)?eval(V+c+Q):null;
return e;
}catch(by){throw new Error("Could not evaluate JSON string: "+by.message);
}},parseQx:function(bv){qx.log.Logger.deprecatedMethodWarning(arguments.callee,K);
return qx.util.Json.parse(bv,false);
}},settings:{"qx.jsonEncodeUndefined":true,"qx.jsonDebugging":false},defer:function(bi){bi.__nativeDateToJSON=Date.prototype.toJSON;
}});
})();
(function(){var A="px",z="'></div>",y=".qooxdoo-table-cell-icon {",x="abstract",w="></div>",v="qx.ui.table.cellrenderer.AbstractImage",u=" qooxdoo-table-cell-icon",t="<div></div>",s="no-repeat",r="}",l="  text-align:center;",q="inline-block",o="static",k="top",j="  padding-top:1px;",n="title='",m="string",p="-moz-inline-box";
qx.Class.define(v,{extend:qx.ui.table.cellrenderer.Abstract,type:x,construct:function(){arguments.callee.base.call(this);
var i=arguments.callee.self;

if(!i.stylesheet){i.stylesheet=qx.bom.Stylesheet.createElement(y+l+j+r);
}},members:{__defaultWidth:null,__defaultHeight:null,_insetY:2,_identifyImage:function(E){throw new Error("_identifyImage is abstract");
},_getImageInfos:function(f){var g=this._identifyImage(f);
if(g==null||typeof f==m){g={url:g,tooltip:null};
}
if(f.width&&f.height){var h={width:f.imageWidth,height:f.imageHeight};
}else{h=this.__getImageSize(g.url);
}g.width=h.width;
g.height=h.height;
return g;
},__getImageSize:function(a){var d=qx.util.ResourceManager.getInstance();
var c=qx.io2.ImageLoader;
var b,e;
if(d.has(a)){b=d.getImageWidth(a),e=d.getImageHeight(a)}else if(c.isLoaded(a)){b=c.getWidth(a);
e=c.getHeight(a);
}else{b=this.__defaultWidth;
e=this.__defaultHeight;
}return {width:b,height:e};
},_getCellClass:function(F){return arguments.callee.base.call(this)+u;
},_getContentHtml:function(B){var D=this._getImageInfos(B);
var content=t;
if(D.url){var content=qx.bom.element.Decoration.create(D.url,s,{width:D.width+A,height:D.height+A,display:qx.bom.client.Engine.GECKO&&qx.bom.client.Engine.VERSION<1.9?p:q,verticalAlign:k,position:o});
}var C=D.tooltip;

if(C!=null){var content=content.replace(w,n+C+z);
}return content;
}}});
})();
(function(){var h="String",g="_applyIconTrue",f="decoration/table/boolean-true.png",e="qx.ui.table.cellrenderer.Boolean",d=";padding-top:4px;",c="decoration/table/boolean-false.png",b="_applyIconFalse",a="__aliasManager";
qx.Class.define(e,{extend:qx.ui.table.cellrenderer.AbstractImage,construct:function(){arguments.callee.base.call(this);
this.__aliasManager=qx.util.AliasManager.getInstance();
this.initIconTrue();
this.initIconFalse();
},properties:{iconTrue:{check:h,init:f,apply:g},iconFalse:{check:h,init:c,apply:b}},members:{__iconUrlTrue:null,__iconUrlFalse:false,__aliasManager:null,_applyIconTrue:function(i){this.__iconUrlTrue=this.__aliasManager.resolve(i);
},_applyIconFalse:function(m){this.__iconUrlFalse=this.__aliasManager.resolve(m);
},_insetY:5,_getCellStyle:function(l){return arguments.callee.base.call(this,l)+d;
},_identifyImage:function(j){var k={imageWidth:11,imageHeight:11};

switch(j.value){case true:k.url=this.__iconUrlTrue;
break;
case false:k.url=this.__iconUrlFalse;
break;
default:k.url=null;
break;
}return k;
}},destruct:function(){this._disposeFields(a);
}});
})();
(function(){var I="",H="==",G=">",F="between",E="<",D="regex",C="!between",B=">=",A="!=",z="<=",s="font-weight",y=";",v="text-align",q="conditions",p='g',u=":",t="qx.ui.table.cellrenderer.Conditional",w="betweenAllowed",o="numericAllowed",x="color",r="font-style";
qx.Class.define(t,{extend:qx.ui.table.cellrenderer.Default,construct:function(h,j,k,l){arguments.callee.base.call(this);
this.numericAllowed=[H,A,G,E,B,z];
this.betweenAllowed=[F,C];
this.conditions=[];
this.__defaultTextAlign=h||I;
this.__defaultColor=j||I;
this.__defaultFontStyle=k||I;
this.__defaultFontWeight=l||I;
},members:{__defaultTextAlign:null,__defaultColor:null,__defaultFontStyle:null,__defaultFontWeight:null,__applyFormatting:function(m,n){if(m[1]!=null){n[v]=m[1];
}
if(m[2]!=null){n[x]=m[2];
}
if(m[3]!=null){n[r]=m[3];
}
if(m[4]!=null){n[s]=m[4];
}},addNumericCondition:function(bb,bc,bd,be,bf,bg,bh){var bi=null;

if(qx.lang.Array.contains(this.numericAllowed,bb)){if(bc!=null){bi=[bb,bd,be,bf,bg,bc,bh];
}}
if(bi!=null){this.conditions.push(bi);
}else{throw new Error("Condition not recognized or value is null!");
}},addBetweenCondition:function(J,K,L,M,N,O,P,Q){if(qx.lang.Array.contains(this.betweenAllowed,J)){if(K!=null&&L!=null){var R=[J,M,N,O,P,K,L,Q];
}}
if(R!=null){this.conditions.push(R);
}else{throw new Error("Condition not recognized or value1/value2 is null!");
}},addRegex:function(a,b,c,d,e,f){if(a!=null){var g=[D,b,c,d,e,a,f];
}
if(g!=null){this.conditions.push(g);
}else{throw new Error("regex cannot be null!");
}},_getCellStyle:function(S){if(!this.conditions.length){return S.style||I;
}var X=S.table.getTableModel();
var i;
var ba;
var T;
var V={"text-align":this.__defaultTextAlign,"color":this.__defaultColor,"font-style":this.__defaultFontStyle,"font-weight":this.__defaultFontWeight};

for(i in this.conditions){ba=false;

if(qx.lang.Array.contains(this.numericAllowed,this.conditions[i][0])){if(this.conditions[i][6]==null){T=S.value;
}else{T=X.getValueById(this.conditions[i][6],S.row);
}
switch(this.conditions[i][0]){case H:if(T==this.conditions[i][5]){ba=true;
}break;
case A:if(T!=this.conditions[i][5]){ba=true;
}break;
case G:if(T>this.conditions[i][5]){ba=true;
}break;
case E:if(T<this.conditions[i][5]){ba=true;
}break;
case B:if(T>=this.conditions[i][5]){ba=true;
}break;
case z:if(T<=this.conditions[i][5]){ba=true;
}break;
}}else if(qx.lang.Array.contains(this.betweenAllowed,this.conditions[i][0])){if(this.conditions[i][7]==null){T=S.value;
}else{T=X.getValueById(this.conditions[i][7],S.row);
}
switch(this.conditions[i][0]){case F:if(T>=this.conditions[i][5]&&T<=this.conditions[i][6]){ba=true;
}break;
case C:if(T<this.conditions[i][5]&&T>this.conditions[i][6]){ba=true;
}break;
}}else if(this.conditions[i][0]==D){if(this.conditions[i][6]==null){T=S.value;
}else{T=X.getValueById(this.conditions[i][6],S.row);
}var U=new RegExp(this.conditions[i][5],p);
ba=U.test(T);
}if(ba==true){this.__applyFormatting(this.conditions[i],V);
}}var Y=[];

for(var W in V){if(V[W]){Y.push(W,u,V[W],y);
}}return Y.join(I);
}},destruct:function(){this._disposeFields(o,w,q);
}});
})();
(function(){var e="",d="qx.util.format.DateFormat",c="qooxdoo-table-cell",b="qx.ui.table.cellrenderer.Date";
qx.Class.define(b,{extend:qx.ui.table.cellrenderer.Conditional,properties:{dateFormat:{check:d,init:null,nullable:true}},members:{_getContentHtml:function(f){var g=this.getDateFormat();

if(g){if(f.value){return qx.bom.String.escape(g.format(f.value));
}else{return e;
}}else{return f.value||e;
}},_getCellClass:function(a){return c;
}}});
})();
(function(){var u="popup",t="list",s="mousewheel",r="resize",q="PageUp",p="blur",o="abstract",n="keypress",m="Number",l="changeSelection",f="Escape",k="_applyMaxListHeight",i="PageDown",d="mouseup",c="changeVisibility",h="one",g="middle",j="qx.ui.form.AbstractSelectBox",b="mousedown";
qx.Class.define(j,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.form.MForm],implement:[qx.ui.form.IForm],type:o,construct:function(){arguments.callee.base.call(this);
var A=new qx.ui.layout.HBox();
this._setLayout(A);
A.setAlignY(g);
this.addListener(n,this._onKeyPress);
this.addListener(p,this._onBlur,this);
var z=qx.core.Init.getApplication().getRoot();
z.addListener(s,this._onMousewheel,this,true);
this.addListener(r,this._onResize,this);
},properties:{focusable:{refine:true,init:true},width:{refine:true,init:120},maxListHeight:{check:m,apply:k,nullable:true,init:200}},members:{_createChildControlImpl:function(w){var x;

switch(w){case t:x=new qx.ui.form.List().set({focusable:false,keepFocus:true,height:null,width:null,maxHeight:this.getMaxListHeight(),selectionMode:h,quickSelection:true});
x.addListener(l,this._onListChangeSelection,this);
x.addListener(b,this._onListMouseDown,this);
break;
case u:x=new qx.ui.popup.Popup(new qx.ui.layout.VBox);
x.setAutoHide(false);
x.setKeepActive(true);
x.addListener(d,this.close,this);
x.add(this.getChildControl(t));
x.addListener(c,this._onPopupChangeVisibility,this);
break;
}return x||arguments.callee.base.call(this,w);
},_applyMaxListHeight:function(F,G){this.getChildControl(t).setMaxHeight(F);
},getChildrenContainer:function(){return this.getChildControl(t);
},open:function(){var v=this.getChildControl(u);
v.placeToWidget(this,true);
v.show();
},close:function(){this.getChildControl(u).hide();
},toggle:function(){var y=this.getChildControl(u).isVisible();

if(y){this.close();
}else{this.open();
}},_onBlur:function(e){this.close();
},_onKeyPress:function(e){var B=e.getKeyIdentifier();
var C=this.getChildControl(u);
if(C.isHidden()&&(B==i||B==q)){e.stopPropagation();
}else if(!C.isHidden()&&B==f){this.close();
e.stop();
}else{this.getChildControl(t).handleKeyPress(e);
}},_onMousewheel:function(e){var E=e.getTarget();
var D=this.getChildControl(u);

if(qx.ui.core.Widget.contains(D,E)){return;
}this.close();
e.preventDefault();
},_onResize:function(e){this.getChildControl(u).setMinWidth(e.getData().width);
},_onListChangeSelection:function(e){throw new Error("Abstract method: _onListChangeSelection()");
},_onListMouseDown:function(e){throw new Error("Abstract method: _onListMouseDown()");
},_onPopupChangeVisibility:function(e){throw new Error("Abstract method: _onPopupChangeVisibility()");
}},destruct:function(){var a=qx.core.Init.getApplication().getRoot();

if(a){a.removeListener(s,this._onMousewheel,this,true);
}}});
})();
(function(){var c="qx.ui.core.ISingleSelection",b="qx.event.type.Data";
qx.Interface.define(c,{events:{"changeSelection":b},members:{getSelection:function(){return true;
},setSelection:function(d){return arguments.length==1;
},resetSelection:function(){return true;
},isSelected:function(a){return arguments.length==1;
},isSelectionEmpty:function(){return true;
},getSelectables:function(){return true;
}}});
})();
(function(){var a="qx.ui.form.IModelSelection";
qx.Interface.define(a,{members:{setModelSelection:function(b){},getModelSelection:function(){}}});
})();
(function(){var i="qx.ui.core.MSingleSelectionHandling",h="__manager",g="changeSelection",f="changeSelected",d="qx.event.type.Data";
qx.Mixin.define(i,{events:{"changeSelection":d},members:{__manager:null,getSelection:function(){var c=this.__getManager().getSelected();

if(c){return [c];
}else{return [];
}},setSelection:function(l){switch(l.length){case 0:this.resetSelection();
break;
case 1:this.__getManager().setSelected(l[0]);
break;
default:throw new Error("Could only select one item, but the selection "+" array contains "+l.length+" items!");
}},resetSelection:function(){this.__getManager().resetSelected();
},isSelected:function(j){return this.__getManager().isSelected(j);
},isSelectionEmpty:function(){return this.__getManager().isSelectionEmpty();
},getSelectables:function(){return this.__getManager().getSelectables();
},_onChangeSelected:function(e){var b=e.getData();
var a=e.getOldData();
b==null?b=[]:b=[b];
a==null?a=[]:a=[a];
this.fireDataEvent(g,b,a);
},__getManager:function(){if(this.__manager==null){var k=this;
this.__manager=new qx.ui.core.SingleSelectionManager({getItems:function(){return k._getItems();
},isItemSelectable:function(m){if(k._isItemSelectable){return k._isItemSelectable(m);
}else{return m.isEnabled()&&m.isVisible();
}}});
this.__manager.addListener(f,this._onChangeSelected,this);
}this.__manager.setAllowEmptySelection(this._isAllowEmptySelection());
return this.__manager;
}},destruct:function(){this._disposeObjects(h);
}});
})();
(function(){var g="change",f="__modelSelection",e="qx.event.type.Data",d="qx.ui.form.MModelSelection",c="changeSelection";
qx.Mixin.define(d,{construct:function(){this.__modelSelection=new qx.data.Array();
this.__modelSelection.addListener(g,this.__onModelSelectionArrayChange,this);
this.addListener(c,this.__onModelSelectionChange,this);
},events:{changeModelSelection:e},members:{__modelSelection:null,__inSelectionChange:false,__onModelSelectionChange:function(){if(this.__inSelectionChange){return;
}var s=this.getSelection();
var q=[];

for(var i=0;i<s.length;i++){var t=s[i];
var r=t.getModel?t.getModel():null;

if(r!==null){q.push(r);
}}this.setModelSelection(q);
},__onModelSelectionArrayChange:function(){this.__inSelectionChange=true;
var k=this.getSelectables();
var m=[];
var l=this.__modelSelection.toArray();

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

for(var j=0;j<k.length;j++){var p=k[j];
var h=p.getModel?p.getModel():null;

if(o===h){m.push(p);
break;
}}}this.setSelection(m);
this.__inSelectionChange=false;
var n=this.getSelection();

if(!qx.lang.Array.equals(n,m)){this.__onModelSelectionChange();
}},getModelSelection:function(){return this.__modelSelection;
},setModelSelection:function(a){if(!a){this.__modelSelection.removeAll();
return;
}{};
a.unshift(this.__modelSelection.getLength());
a.unshift(0);
var b=this.__modelSelection.splice.apply(this.__modelSelection,a);
b.dispose();
}},destruct:function(){this._disposeObjects(f);
}});
})();
(function(){var k="list",j="pressed",i="abandoned",h="popup",g="atom",f="hovered",d="arrow",c="",b="spacer",a="Enter",y="one",x="mouseout",w="Space",v="key",u="__preSelectedItem",t="mousewheel",s="keyinput",r="changeSelection",q="quick",p="qx.ui.form.SelectBox",n="mouseover",o="selectbox",l="click",m=" ";
qx.Class.define(p,{extend:qx.ui.form.AbstractSelectBox,implement:[qx.ui.core.ISingleSelection,qx.ui.form.IModelSelection],include:[qx.ui.core.MSingleSelectionHandling,qx.ui.form.MModelSelection],construct:function(){arguments.callee.base.call(this);
this._createChildControl(g);
this._createChildControl(b);
this._createChildControl(d);
this.addListener(n,this._onMouseOver,this);
this.addListener(x,this._onMouseOut,this);
this.addListener(l,this._onClick,this);
this.addListener(t,this._onMouseWheel,this);
this.addListener(s,this._onKeyInput,this);
this.addListener(r,this.__onChangeSelection,this);
},properties:{appearance:{refine:true,init:o}},members:{__preSelectedItem:null,_createChildControlImpl:function(z){var A;

switch(z){case b:A=new qx.ui.core.Spacer();
this._add(A,{flex:1});
break;
case g:A=new qx.ui.basic.Atom(m);
A.setCenter(false);
A.setAnonymous(true);
this._add(A,{flex:1});
break;
case d:A=new qx.ui.basic.Image();
A.setAnonymous(true);
this._add(A);
break;
}return A||arguments.callee.base.call(this,z);
},_forwardStates:{focused:true},_getItems:function(){return this.getChildrenContainer().getChildren();
},_isAllowEmptySelection:function(){return !this.getChildrenContainer().getSelectionMode()===y;
},__onChangeSelection:function(e){var F=e.getData()[0];
var E=this.getChildControl(k);

if(E.getSelection()[0]!=F){E.setSelection([F]);
}var H=this.getChildControl(g);
var D=F?F.getLabel():c;
if(D&&D.translate){D=D.translate();
}D==null?H.resetLabel():H.setLabel(D);
var G=F?F.getIcon():c;
G==null?H.resetIcon():H.setIcon(G);
},_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}
if(this.hasState(i)){this.removeState(i);
this.addState(j);
}this.addState(f);
},_onMouseOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}this.removeState(f);

if(this.hasState(j)){this.removeState(j);
this.addState(i);
}},_onClick:function(e){this.toggle();
},_onMouseWheel:function(e){if(this.getChildControl(h).isVisible()){return;
}var P=e.getWheelDelta()>0?1:-1;
var R=this.getSelectables();
var Q=this.getSelection()[0];

if(!Q){Q=R[0];
}var O=R.indexOf(Q)+P;
var S=R.length-1;
if(O<0){O=0;
}else if(O>=S){O=S;
}this.setSelection([R[O]]);
e.stopPropagation();
e.preventDefault();
},_onKeyPress:function(e){var B=e.getKeyIdentifier();

if(B==a||B==w){if(this.__preSelectedItem){this.setSelection([this.__preSelectedItem]);
this.__preSelectedItem=null;
}this.toggle();
}else{arguments.callee.base.call(this,e);
}},_onKeyInput:function(e){var C=e.clone();
C.setTarget(this._list);
C.setBubbles(false);
this.getChildControl(k).dispatchEvent(C);
},_onListMouseDown:function(e){if(this.__preSelectedItem){this.setSelection([this.__preSelectedItem]);
this.__preSelectedItem=null;
}},_onListChangeSelection:function(e){var I=e.getData();

if(I.length>0){var J=this.getChildControl(h);
var K=this.getChildControl(k);
var L=K.getSelectionContext();

if(J.isVisible()&&(L==q||L==v)){this.__preSelectedItem=I[0];
}else{this.setSelection([I[0]]);
this.__preSelectedItem=null;
}}else{this.resetSelection();
}},_onPopupChangeVisibility:function(e){var M=this.getChildControl(h);

if(!M.isVisible()){var N=this.getChildControl(k);
if(N.hasChildren()){N.setSelection(this.getSelection());
}}}},destruct:function(){this._disposeFields(u);
}});
})();
(function(){var H="scrollbar-y",G="scrollbar-x",F="pane",E="auto",D="corner",C="on",B="changeVisibility",A="scroll",z="_computeScrollbars",y="off",r="scrollY",x="qx.ui.core.scroll.AbstractScrollArea",u="abstract",p="update",o="scrollX",t="mousewheel",s="scrollbarY",v="scrollbarX",n="horizontal",w="scrollarea",q="vertical";
qx.Class.define(x,{extend:qx.ui.core.Widget,include:qx.ui.core.scroll.MScrollBarFactory,type:u,construct:function(){arguments.callee.base.call(this);
var k=new qx.ui.layout.Grid();
k.setColumnFlex(0,1);
k.setRowFlex(0,1);
this._setLayout(k);
this.addListener(t,this._onMouseWheel,this);
},properties:{appearance:{refine:true,init:w},width:{refine:true,init:100},height:{refine:true,init:200},scrollbarX:{check:[E,C,y],init:E,themeable:true,apply:z},scrollbarY:{check:[E,C,y],init:E,themeable:true,apply:z},scrollbar:{group:[v,s]}},members:{_createChildControlImpl:function(a){var b;

switch(a){case F:b=new qx.ui.core.scroll.ScrollPane();
b.addListener(p,this._computeScrollbars,this);
b.addListener(o,this._onScrollPaneX,this);
b.addListener(r,this._onScrollPaneY,this);
this._add(b,{row:0,column:0});
break;
case G:b=this._createScrollBar(n);
b.setMinWidth(0);
b.exclude();
b.addListener(A,this._onScrollBarX,this);
b.addListener(B,this._onChangeScrollbarXVisibility,this);
this._add(b,{row:1,column:0});
break;
case H:b=this._createScrollBar(q);
b.setMinHeight(0);
b.exclude();
b.addListener(A,this._onScrollBarY,this);
b.addListener(B,this._onChangeScrollbarYVisibility,this);
this._add(b,{row:0,column:1});
break;
case D: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(F).getInnerSize();
},getItemTop:function(l){return this.getChildControl(F).getItemTop(l);
},getItemBottom:function(f){return this.getChildControl(F).getItemBottom(f);
},getItemLeft:function(d){return this.getChildControl(F).getItemLeft(d);
},getItemRight:function(Y){return this.getChildControl(F).getItemRight(Y);
},scrollToX:function(m){qx.ui.core.queue.Manager.flush();
this.getChildControl(G).scrollTo(m);
},scrollByX:function(bb){qx.ui.core.queue.Manager.flush();
this.getChildControl(G).scrollBy(bb);
},getScrollX:function(){var ba=this.getChildControl(G,true);
return ba?ba.getPosition():0;
},scrollToY:function(i){qx.ui.core.queue.Manager.flush();
this.getChildControl(H).scrollTo(i);
},scrollByY:function(c){qx.ui.core.queue.Manager.flush();
this.getChildControl(H).scrollBy(c);
},getScrollY:function(){var j=this.getChildControl(H,true);
return j?j.getPosition():0;
},_onScrollBarX:function(e){this.getChildControl(F).scrollToX(e.getData());
},_onScrollBarY:function(e){this.getChildControl(F).scrollToY(e.getData());
},_onScrollPaneX:function(e){this.scrollToX(e.getData());
},_onScrollPaneY:function(e){this.scrollToY(e.getData());
},_onMouseWheel:function(e){var W=this._isChildControlVisible(G);
var X=this._isChildControlVisible(H);
var V=(X)?this.getChildControl(H,true):(W?this.getChildControl(G,true):null);

if(V){V.scrollBySteps(e.getWheelDelta());
}e.stop();
},_onChangeScrollbarXVisibility:function(e){var g=this._isChildControlVisible(G);
var h=this._isChildControlVisible(H);

if(!g){this.scrollToX(0);
}g&&h?this._showChildControl(D):this._excludeChildControl(D);
},_onChangeScrollbarYVisibility:function(e){var I=this._isChildControlVisible(G);
var J=this._isChildControlVisible(H);

if(!J){this.scrollToY(0);
}I&&J?this._showChildControl(D):this._excludeChildControl(D);
},_computeScrollbars:function(){var Q=this.getChildControl(F);
var content=Q.getChildren()[0];

if(!content){this._excludeChildControl(G);
this._excludeChildControl(H);
return;
}var K=this.getInnerSize();
var P=Q.getInnerSize();
var N=Q.getScrollSize();
if(!P||!N){return;
}var S=this.getScrollbarX();
var T=this.getScrollbarY();

if(S===E&&T===E){var O=N.width>K.width;
var U=N.height>K.height;
if((O||U)&&!(O&&U)){if(O){U=N.height>P.height;
}else if(U){O=N.width>P.width;
}}}else{var O=S===C;
var U=T===C;
if(N.width>(O?P.width:K.width)&&S===E){O=true;
}
if(N.height>(O?P.height:K.height)&&T===E){U=true;
}}if(O){var M=this.getChildControl(G);
M.show();
var R=Math.max(0,N.width-P.width-1);
M.setMaximum(R);
M.setKnobFactor(R>0?P.width/N.width:0);
}else{this._excludeChildControl(G);
}
if(U){var L=this.getChildControl(H);
L.show();
var R=Math.max(0,N.height-P.height-1);
L.setMaximum(R);
L.setKnobFactor(R>0?P.height/N.height:0);
}else{this._excludeChildControl(H);
}}}});
})();
(function(){var a="qx.ui.core.IMultiSelection";
qx.Interface.define(a,{extend:qx.ui.core.ISingleSelection,members:{selectAll:function(){return true;
},addToSelection:function(b){return arguments.length==1;
},removeFromSelection:function(c){return arguments.length==1;
}}});
})();
(function(){var K="Boolean",J="changeSelection",I="single",H="mouseup",G="mousedown",F="losecapture",E="one",D="multi",C="_applyQuickSelection",B="__manager",u="mouseover",A="_applySelectionMode",x="_applyDragSelection",t="qx.ui.core.MMultiSelectionHandling",s="removeItem",w="keypress",v="qx.event.type.Data",y="addItem",r="additive",z="mousemove";
qx.Mixin.define(t,{construct:function(){var j=this.SELECTION_MANAGER;
var h=this.__manager=new j(this);
this.addListener(G,h.handleMouseDown,h);
this.addListener(H,h.handleMouseUp,h);
this.addListener(u,h.handleMouseOver,h);
this.addListener(z,h.handleMouseMove,h);
this.addListener(F,h.handleLoseCapture,h);
this.addListener(w,h.handleKeyPress,h);
this.addListener(y,h.handleAddItem,h);
this.addListener(s,h.handleRemoveItem,h);
h.addListener(J,this._onSelectionChange,this);
},events:{"changeSelection":v},properties:{selectionMode:{check:[I,D,r,E],init:I,apply:A},dragSelection:{check:K,init:false,apply:x},quickSelection:{check:K,init:false,apply:C}},members:{__manager:null,selectAll:function(){this.__manager.selectAll();
},isSelected:function(q){if(!qx.ui.core.Widget.contains(this,q)){throw new Error("Could not test if "+q+" is selected, because it is not a child element!");
}return this.__manager.isItemSelected(q);
},addToSelection:function(p){if(!qx.ui.core.Widget.contains(this,p)){throw new Error("Could not add + "+p+" to selection, because it is not a child element!");
}this.__manager.addItem(p);
},removeFromSelection:function(k){if(!qx.ui.core.Widget.contains(this,k)){throw new Error("Could not remove "+k+" from selection, because it is not a child element!");
}this.__manager.removeItem(k);
},selectRange:function(f,g){this.__manager.selectItemRange(f,g);
},resetSelection:function(){this.__manager.clearSelection();
},setSelection:function(c){for(var i=0;i<c.length;i++){if(!qx.ui.core.Widget.contains(this,c[i])){throw new Error("Could not select "+c[i]+", because it is not a child element!");
}}
if(c.length===0){this.resetSelection();
}else{var d=this.getSelection();

if(!qx.lang.Array.equals(d,c)){this.__manager.replaceSelection(c);
}}},getSelection:function(){return this.__manager.getSelection();
},getSortedSelection:function(){return this.__manager.getSortedSelection();
},isSelectionEmpty:function(){return this.__manager.isSelectionEmpty();
},getSelectionContext:function(){return this.__manager.getSelectionContext();
},_getManager:function(){return this.__manager;
},getSelectables:function(){return this.__manager.getSelectables();
},invertSelection:function(){this.__manager.invertSelection();
},_applySelectionMode:function(n,o){this.__manager.setMode(n);
},_applyDragSelection:function(a,b){this.__manager.setDrag(a);
},_applyQuickSelection:function(l,m){this.__manager.setQuick(l);
},_onSelectionChange:function(e){this.fireDataEvent(J,e.getData());
}},destruct:function(){this._disposeObjects(B);
}});
})();
(function(){var cp="one",co="single",cn="selected",cm="additive",cl="multi",ck="PageUp",cj="under",ci="Left",ch="lead",cg="Down",cR="Up",cQ="Boolean",cP="PageDown",cO="anchor",cN="End",cM="Home",cL="Right",cK="right",cJ="click",cI="above",cw="left",cx="Escape",cu="A",cv="Space",cs="_applyMode",ct="interval",cq="__anchorItem",cr="changeSelection",cy="qx.event.type.Data",cz="quick",cC="key",cB="__selection",cE="__mouseDownOnSelected",cD="abstract",cG="__scrollTimer",cF="__leadItem",cA="drag",cH="qx.ui.core.selection.Abstract";
qx.Class.define(cH,{type:cD,extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);
this.__selection={};
},events:{"changeSelection":cy},properties:{mode:{check:[co,cl,cm,cp],init:co,apply:cs},drag:{check:cQ,init:false},quick:{check:cQ,init:false}},members:{__scrollStepX:0,__scrollStepY:0,__scrollTimer:null,__frameScroll:null,__lastRelX:null,__lastRelY:null,__frameLocation:null,__dragStartX:null,__dragStartY:null,__inCapture:null,__mouseX:null,__mouseY:null,__moveDirectionX:null,__moveDirectionY:null,__selectionModified:null,__selectionContext:null,__leadItem:null,__selection:null,__anchorItem:null,__mouseDownOnSelected:null,getSelectionContext:function(){return this.__selectionContext;
},selectAll:function(){var D=this.getMode();

if(D==co||D==cp){throw new Error("Can not select all items in selection mode: "+D);
}this._selectAllItems();
this._fireChange();
},selectItem:function(K){this._setSelectedItem(K);
var L=this.getMode();

if(L!==co&&L!==cp){this._setLeadItem(K);
this._setAnchorItem(K);
}this._scrollItemIntoView(K);
this._fireChange();
},addItem:function(I){var J=this.getMode();

if(J===co||J===cp){this._setSelectedItem(I);
}else{if(!this._getAnchorItem()){this._setAnchorItem(I);
}this._setLeadItem(I);
this._addToSelection(I);
}this._scrollItemIntoView(I);
this._fireChange();
},removeItem:function(G){this._removeFromSelection(G);

if(this.getMode()===cp&&this.isSelectionEmpty()){var H=this._getFirstSelectable();

if(H){this.addItem(H);
}if(H==G){return;
}}
if(this._getLeadItem()==G){this._setLeadItem(null);
}
if(this._getAnchorItem()==G){this._setAnchorItem(null);
}this._fireChange();
},selectItemRange:function(A,B){var C=this.getMode();

if(C==co||C==cp){throw new Error("Can not select multiple items in selection mode: "+C);
}this._selectItemRange(A,B);
this._setAnchorItem(A);
this._setLeadItem(B);
this._scrollItemIntoView(B);
this._fireChange();
},clearSelection:function(){if(this.getMode()==cp){return;
}this._clearSelection();
this._setLeadItem(null);
this._setAnchorItem(null);
this._fireChange();
},replaceSelection:function(bf){var bg=this.getMode();

if(bg==cp||bg===co){if(bf.length>1){throw new Error("Could not select more than one items in mode: "+bg+"!");
}
if(bf.length==1){this.selectItem(bf[0]);
}else{this.clearSelection();
}return;
}else{this._replaceMultiSelection(bf);
}},getSelectedItem:function(){var bJ=this.getMode();

if(bJ===co||bJ===cp){return this._getSelectedItem()||null;
}throw new Error("The method getSelectedItem() is only supported in 'single' and 'one' selection mode!");
},getSelection:function(){return qx.lang.Object.getValues(this.__selection);
},getSortedSelection:function(){var W=this.getSelectables();
var V=qx.lang.Object.getValues(this.__selection);
V.sort(function(a,b){return W.indexOf(a)-W.indexOf(b);
});
return V;
},isItemSelected:function(bD){var bE=this._selectableToHashCode(bD);
return this.__selection[bE]!==undefined;
},isSelectionEmpty:function(){return qx.lang.Object.isEmpty(this.__selection);
},invertSelection:function(){var F=this.getMode();

if(F===co||F===cp){throw new Error("The method invertSelection() is only supported in 'multi' and 'additive' selection mode!");
}var E=this.getSelectables();

for(var i=0;i<E.length;i++){this._toggleInSelection(E[i]);
}this._fireChange();
},_setLeadItem:function(ce){var cf=this.__leadItem;

if(cf!==null){this._styleSelectable(cf,ch,false);
}
if(ce!==null){this._styleSelectable(ce,ch,true);
}this.__leadItem=ce;
},_getLeadItem:function(){return this.__leadItem!==null?this.__leadItem:null;
},_setAnchorItem:function(cb){var cc=this.__anchorItem;

if(cc){this._styleSelectable(cc,cO,false);
}
if(cb){this._styleSelectable(cb,cO,true);
}this.__anchorItem=cb;
},_getAnchorItem:function(){return this.__anchorItem!==null?this.__anchorItem:null;
},_isSelectable:function(g){throw new Error("Abstract method call: _isSelectable()");
},_getSelectableFromMouseEvent:function(event){var c=event.getTarget();
return this._isSelectable(c)?c:null;
},_selectableToHashCode:function(bR){throw new Error("Abstract method call: _selectableToHashCode()");
},_styleSelectable:function(bN,bO,bP){throw new Error("Abstract method call: _styleSelectable()");
},_capture:function(){throw new Error("Abstract method call: _capture()");
},_releaseCapture:function(){throw new Error("Abstract method call: _releaseCapture()");
},_getLocation:function(){throw new Error("Abstract method call: _getLocation()");
},_getDimension:function(){throw new Error("Abstract method call: _getDimension()");
},_getSelectableLocationX:function(db){throw new Error("Abstract method call: _getSelectableLocationX()");
},_getSelectableLocationY:function(u){throw new Error("Abstract method call: _getSelectableLocationY()");
},_getScroll:function(){throw new Error("Abstract method call: _getScroll()");
},_scrollBy:function(cY,da){throw new Error("Abstract method call: _scrollBy()");
},_scrollItemIntoView:function(bQ){throw new Error("Abstract method call: _scrollItemIntoView()");
},getSelectables:function(){throw new Error("Abstract method call: getSelectables()");
},_getSelectableRange:function(T,U){throw new Error("Abstract method call: _getSelectableRange()");
},_getFirstSelectable:function(){throw new Error("Abstract method call: _getFirstSelectable()");
},_getLastSelectable:function(){throw new Error("Abstract method call: _getLastSelectable()");
},_getRelatedSelectable:function(cS,cT){throw new Error("Abstract method call: _getRelatedSelectable()");
},_getPage:function(h,j){throw new Error("Abstract method call: _getPage()");
},_applyMode:function(bK,bL){this._setLeadItem(null);
this._setAnchorItem(null);
this._clearSelection();
if(bK===cp){var bM=this._getFirstSelectable();

if(bM){this._setSelectedItem(bM);
this._scrollItemIntoView(bM);
}}this._fireChange();
},handleMouseOver:function(event){if(!this.getQuick()){return;
}var bG=this.getMode();

if(bG!==cp&&bG!==co){return;
}var bF=this._getSelectableFromMouseEvent(event);

if(bF===null){return;
}this._setSelectedItem(bF);
this._fireChange(cz);
},handleMouseDown:function(event){var w=this._getSelectableFromMouseEvent(event);

if(w===null){return;
}var y=event.isCtrlPressed()||(qx.bom.client.Platform.MAC&&event.isMetaPressed());
var v=event.isShiftPressed();
if(this.isItemSelected(w)&&!v&&!y&&!this.getDrag()){this.__mouseDownOnSelected=w;
return;
}else{this.__mouseDownOnSelected=null;
}this._scrollItemIntoView(w);
switch(this.getMode()){case co:case cp:this._setSelectedItem(w);
break;
case cm:this._setLeadItem(w);
this._setAnchorItem(w);
this._toggleInSelection(w);
break;
case cl:this._setLeadItem(w);
if(v){var x=this._getAnchorItem();

if(x===null){x=this._getFirstSelectable();
this._setAnchorItem(x);
}this._selectItemRange(x,w,y);
}else if(y){this._setAnchorItem(w);
this._toggleInSelection(w);
}else{this._setAnchorItem(w);
this._setSelectedItem(w);
}break;
}var z=this.getMode();

if(this.getDrag()&&z!==co&&z!==cp&&!v&&!y){this.__frameLocation=this._getLocation();
this.__frameScroll=this._getScroll();
this.__dragStartX=event.getDocumentLeft()+this.__frameScroll.left;
this.__dragStartY=event.getDocumentTop()+this.__frameScroll.top;
this.__inCapture=true;
this._capture();
}this._fireChange(cJ);
},handleMouseUp:function(event){var bC=event.isCtrlPressed()||(qx.bom.client.Platform.MAC&&event.isMetaPressed());
var bz=event.isShiftPressed();

if(!bC&&!bz&&this.__mouseDownOnSelected){var bA=this._getSelectableFromMouseEvent(event);

if(bA===null||!this.isItemSelected(bA)){return;
}var bB=this.getMode();

if(bB===cm){this._removeFromSelection(bA);
}else{this._setSelectedItem(bA);

if(this.getMode()===cl){this._setLeadItem(bA);
this._setAnchorItem(bA);
}}}this._cleanup();
},handleLoseCapture:function(event){this._cleanup();
},handleMouseMove:function(event){if(!this.__inCapture){return;
}this.__mouseX=event.getDocumentLeft();
this.__mouseY=event.getDocumentTop();
var f=this.__mouseX+this.__frameScroll.left;

if(f>this.__dragStartX){this.__moveDirectionX=1;
}else if(f<this.__dragStartX){this.__moveDirectionX=-1;
}else{this.__moveDirectionX=0;
}var d=this.__mouseY+this.__frameScroll.top;

if(d>this.__dragStartY){this.__moveDirectionY=1;
}else if(d<this.__dragStartY){this.__moveDirectionY=-1;
}else{this.__moveDirectionY=0;
}var location=this.__frameLocation;

if(this.__mouseX<location.left){this.__scrollStepX=this.__mouseX-location.left;
}else if(this.__mouseX>location.right){this.__scrollStepX=this.__mouseX-location.right;
}else{this.__scrollStepX=0;
}
if(this.__mouseY<location.top){this.__scrollStepY=this.__mouseY-location.top;
}else if(this.__mouseY>location.bottom){this.__scrollStepY=this.__mouseY-location.bottom;
}else{this.__scrollStepY=0;
}if(!this.__scrollTimer){this.__scrollTimer=new qx.event.Timer(100);
this.__scrollTimer.addListener(ct,this._onInterval,this);
}this.__scrollTimer.start();
this._autoSelect();
},handleAddItem:function(e){var cX=e.getData();

if(this.getMode()===cp&&this.isSelectionEmpty()){this.addItem(cX);
}},handleRemoveItem:function(e){this.removeItem(e.getData());
},_cleanup:function(){if(!this.getDrag()&&this.__inCapture){return;
}if(this.__selectionModified){this._fireChange(cJ);
}delete this.__inCapture;
delete this.__lastRelX;
delete this.__lastRelY;
this._releaseCapture();
if(this.__scrollTimer){this.__scrollTimer.stop();
}},_onInterval:function(e){this._scrollBy(this.__scrollStepX,this.__scrollStepY);
this.__frameScroll=this._getScroll();
this._autoSelect();
},_autoSelect:function(){var bp=this._getDimension();
var bi=Math.max(0,Math.min(this.__mouseX-this.__frameLocation.left,bp.width))+this.__frameScroll.left;
var bh=Math.max(0,Math.min(this.__mouseY-this.__frameLocation.top,bp.height))+this.__frameScroll.top;
if(this.__lastRelX===bi&&this.__lastRelY===bh){return;
}this.__lastRelX=bi;
this.__lastRelY=bh;
var br=this._getAnchorItem();
var bk=br;
var bn=this.__moveDirectionX;
var bq,bj;

while(bn!==0){bq=bn>0?this._getRelatedSelectable(bk,cK):this._getRelatedSelectable(bk,cw);
if(bq!==null){bj=this._getSelectableLocationX(bq);
if((bn>0&&bj.left<=bi)||(bn<0&&bj.right>=bi)){bk=bq;
continue;
}}break;
}var bo=this.__moveDirectionY;
var bm,bl;

while(bo!==0){bm=bo>0?this._getRelatedSelectable(bk,cj):this._getRelatedSelectable(bk,cI);
if(bm!==null){bl=this._getSelectableLocationY(bm);
if((bo>0&&bl.top<=bh)||(bo<0&&bl.bottom>=bh)){bk=bm;
continue;
}}break;
}var bs=this.getMode();

if(bs===cl){this._selectItemRange(br,bk);
}else if(bs===cm){if(this.isItemSelected(br)){this._selectItemRange(br,bk,true);
}else{this._deselectItemRange(br,bk);
}this._setAnchorItem(bk);
}this._fireChange(cA);
},__navigationKeys:{Home:1,Down:1,Right:1,PageDown:1,End:1,Up:1,Left:1,PageUp:1},handleKeyPress:function(event){var q,p;
var s=event.getKeyIdentifier();
var r=this.getMode();
var m=event.isCtrlPressed()||(qx.bom.client.Platform.MAC&&event.isMetaPressed());
var n=event.isShiftPressed();
var o=false;

if(s===cu&&m){if(r!==co&&r!==cp){this._selectAllItems();
o=true;
}}else if(s===cx){if(r!==co&&r!==cp){this._clearSelection();
o=true;
}}else if(s===cv){var k=this._getLeadItem();

if(k&&!n){if(m||r===cm){this._toggleInSelection(k);
}else{this._setSelectedItem(k);
}o=true;
}}else if(this.__navigationKeys[s]){o=true;

if(r===co||r==cp){q=this._getSelectedItem();
}else{q=this._getLeadItem();
}
if(q!==null){switch(s){case cM:p=this._getFirstSelectable();
break;
case cN:p=this._getLastSelectable();
break;
case cR:p=this._getRelatedSelectable(q,cI);
break;
case cg:p=this._getRelatedSelectable(q,cj);
break;
case ci:p=this._getRelatedSelectable(q,cw);
break;
case cL:p=this._getRelatedSelectable(q,cK);
break;
case ck:p=this._getPage(q,true);
break;
case cP:p=this._getPage(q,false);
break;
}}else{switch(s){case cM:case cg:case cL:case cP:p=this._getFirstSelectable();
break;
case cN:case cR:case ci:case ck:p=this._getLastSelectable();
break;
}}if(p!==null){switch(r){case co:case cp:this._setSelectedItem(p);
break;
case cm:this._setLeadItem(p);
break;
case cl:if(n){var t=this._getAnchorItem();

if(t===null){this._setAnchorItem(t=this._getFirstSelectable());
}this._setLeadItem(p);
this._selectItemRange(t,p,m);
}else{this._setAnchorItem(p);
this._setLeadItem(p);

if(!m){this._setSelectedItem(p);
}}break;
}this._scrollItemIntoView(p);
}}
if(o){event.stop();
this._fireChange(cC);
}},_selectAllItems:function(){var bw=this.getSelectables();

for(var i=0,l=bw.length;i<l;i++){this._addToSelection(bw[i]);
}},_clearSelection:function(){var bS=this.__selection;

for(var bT in bS){this._removeFromSelection(bS[bT]);
}this.__selection={};
},_selectItemRange:function(X,Y,ba){var bd=this._getSelectableRange(X,Y);
if(!ba){var bc=this.__selection;
var be=this.__rangeToMap(bd);

for(var bb in bc){if(!be[bb]){this._removeFromSelection(bc[bb]);
}}}for(var i=0,l=bd.length;i<l;i++){this._addToSelection(bd[i]);
}},_deselectItemRange:function(bX,bY){var ca=this._getSelectableRange(bX,bY);

for(var i=0,l=ca.length;i<l;i++){this._removeFromSelection(ca[i]);
}},__rangeToMap:function(cU){var cW={};
var cV;

for(var i=0,l=cU.length;i<l;i++){cV=cU[i];
cW[this._selectableToHashCode(cV)]=cV;
}return cW;
},_getSelectedItem:function(){for(var bt in this.__selection){return this.__selection[bt];
}return null;
},_setSelectedItem:function(bU){if(this._isSelectable(bU)){var bV=this.__selection;
var bW=this._selectableToHashCode(bU);

if(!bV[bW]||qx.lang.Object.hasMinLength(bV,2)){this._clearSelection();
this._addToSelection(bU);
}}},_addToSelection:function(bH){var bI=this._selectableToHashCode(bH);

if(!this.__selection[bI]&&this._isSelectable(bH)){this.__selection[bI]=bH;
this._styleSelectable(bH,cn,true);
this.__selectionModified=true;
}},_toggleInSelection:function(bu){var bv=this._selectableToHashCode(bu);

if(!this.__selection[bv]){this.__selection[bv]=bu;
this._styleSelectable(bu,cn,true);
}else{delete this.__selection[bv];
this._styleSelectable(bu,cn,false);
}this.__selectionModified=true;
},_removeFromSelection:function(bx){var by=this._selectableToHashCode(bx);

if(this.__selection[by]!=null){delete this.__selection[by];
this._styleSelectable(bx,cn,false);
this.__selectionModified=true;
}},_replaceMultiSelection:function(M){var P=false;
var S,R;
var N={};

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

if(this._isSelectable(S)){R=this._selectableToHashCode(S);
N[R]=S;
}}var O=S;
var Q=this.__selection;

for(var R in Q){if(N[R]){delete N[R];
}else{S=Q[R];
delete Q[R];
this._styleSelectable(S,cn,false);
P=true;
}}for(var R in N){S=Q[R]=N[R];
this._styleSelectable(S,cn,true);
P=true;
}if(!P){return false;
}this._scrollItemIntoView(O);
this._setLeadItem(null);
this._setAnchorItem(null);
this.__selectionModified=true;
this._fireChange();
},_fireChange:function(cd){if(this.__selectionModified){this.__selectionContext=cd||null;
this.fireDataEvent(cr,this.getSelection());
delete this.__selectionModified;
}}},destruct:function(){this._disposeObjects(cG);
this._disposeFields(cB,cE,cq,cF);
}});
})();
(function(){var y="vertical",x="under",w="__widget",v="above",u="qx.ui.core.selection.Widget",t="left",s="right";
qx.Class.define(u,{extend:qx.ui.core.selection.Abstract,construct:function(H){arguments.callee.base.call(this);
this.__widget=H;
},members:{__widget:null,_isSelectable:function(M){return M.isEnabled()&&M.isVisible()&&M.getLayoutParent()===this.__widget;
},_selectableToHashCode:function(a){return a.$$hash;
},_styleSelectable:function(n,o,p){p?n.addState(o):n.removeState(o);
},_capture:function(){this.__widget.capture();
},_releaseCapture:function(){this.__widget.releaseCapture();
},_getWidget:function(){return this.__widget;
},_getLocation:function(){var q=this.__widget.getContentElement().getDomElement();
return q?qx.bom.element.Location.get(q):null;
},_getDimension:function(){return this.__widget.getInnerSize();
},_getSelectableLocationX:function(I){var J=I.getBounds();

if(J){return {left:J.left,right:J.left+J.width};
}},_getSelectableLocationY:function(F){var G=F.getBounds();

if(G){return {top:G.top,bottom:G.top+G.height};
}},_getScroll:function(){return {left:0,top:0};
},_scrollBy:function(K,L){},_scrollItemIntoView:function(r){this.__widget.scrollChildIntoView(r);
},getSelectables:function(){var O=this.__widget.getChildren();
var P=[];
var N;

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

if(N.isEnabled()&&N.isVisible()){P.push(N);
}}return P;
},_getSelectableRange:function(b,c){if(b===c){return [b];
}var g=this.__widget.getChildren();
var d=[];
var f=false;
var e;

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

if(e===b||e===c){if(f){d.push(e);
break;
}else{f=true;
}}
if(f&&e.isEnabled()&&e.isVisible()){d.push(e);
}}return d;
},_getFirstSelectable:function(){var k=this.__widget.getChildren();

for(var i=0,l=k.length;i<l;i++){if(k[i].isEnabled()&&k[i].isVisible()){return k[i];
}}return null;
},_getLastSelectable:function(){var m=this.__widget.getChildren();

for(var i=m.length-1;i>0;i--){if(m[i].isEnabled()&&m[i].isVisible()){return m[i];
}}return null;
},_getRelatedSelectable:function(z,A){var D=this.__widget.getOrientation()===y;
var C=this.__widget.getChildren();
var B=C.indexOf(z);
var E;

if((D&&A===v)||(!D&&A===t)){for(var i=B-1;i>=0;i--){E=C[i];

if(E.isEnabled()&&E.isVisible()){return E;
}}}else if((D&&A===x)||(!D&&A===s)){for(var i=B+1;i<C.length;i++){E=C[i];

if(E.isEnabled()&&E.isVisible()){return E;
}}}return null;
},_getPage:function(h,j){if(j){return this._getFirstSelectable();
}else{return this._getLastSelectable();
}}},destruct:function(){this._disposeFields(w);
}});
})();
(function(){var a="qx.ui.core.selection.ScrollArea";
qx.Class.define(a,{extend:qx.ui.core.selection.Widget,members:{_isSelectable:function(f){return (f.isEnabled()&&f.isVisible()&&f.getLayoutParent()===this._getWidget().getChildrenContainer());
},_getDimension:function(){return this._getWidget().getPaneSize();
},_getScroll:function(){var e=this._getWidget();
return {left:e.getScrollX(),top:e.getScrollY()};
},_scrollBy:function(b,c){var d=this._getWidget();
d.scrollByX(b);
d.scrollByY(c);
},_getPage:function(g,h){var m=this.getSelectables();
var length=m.length;
var p=m.indexOf(g);
if(p===-1){throw new Error("Invalid lead item: "+g);
}var j=this._getWidget();
var r=j.getScrollY();
var innerHeight=j.getInnerSize().height;
var top,l,q;

if(h){var o=r;
var i=p;
while(1){for(;i>=0;i--){top=j.getItemTop(m[i]);
if(top<o){q=i+1;
break;
}}if(q==null){var s=this._getFirstSelectable();
return s==g?null:s;
}if(q>=p){o-=innerHeight+r-j.getItemBottom(g);
q=null;
continue;
}return m[q];
}}else{var n=innerHeight+r;
var i=p;
while(1){for(;i<length;i++){l=j.getItemBottom(m[i]);
if(l>n){q=i-1;
break;
}}if(q==null){var k=this._getLastSelectable();
return k==g?null:k;
}if(q<=p){n+=j.getItemTop(g)-r;
q=null;
continue;
}return m[q];
}}}}});
})();
(function(){var t="horizontal",s="changeValue",r="qx.event.type.Data",q="vertical",p="",o="qx.ui.form.List",n="__content",m="Enter",k="one",j="addChildWidget",H="_applySpacing",G="Boolean",F="Integer",E="action",D="keyinput",C="changeSelection",B="addItem",A="removeChildWidget",z="_applyOrientation",y="single",w="keypress",x="list",u="pane",v="removeItem";
qx.Class.define(o,{extend:qx.ui.core.scroll.AbstractScrollArea,implement:[qx.ui.core.IMultiSelection,qx.ui.form.IForm,qx.ui.form.IModelSelection],include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MMultiSelectionHandling,qx.ui.form.MForm,qx.ui.form.MModelSelection],construct:function(Q){arguments.callee.base.call(this);
this.__content=new qx.ui.container.Composite();
this.__content.addListener(j,this._onAddChild,this);
this.__content.addListener(A,this._onRemoveChild,this);
this.getChildControl(u).add(this.__content);
if(Q){this.setOrientation(t);
}else{this.initOrientation();
}this.addListener(w,this._onKeyPress);
this.addListener(D,this._onKeyInput);
this.addListener(C,this._onChangeSelection);
this.__pressedString=p;
},events:{addItem:r,removeItem:r},properties:{appearance:{refine:true,init:x},focusable:{refine:true,init:true},orientation:{check:[t,q],init:q,apply:z},spacing:{check:F,init:0,apply:H,themeable:true},enableInlineFind:{check:G,init:true}},members:{__pressedString:null,__lastKeyPress:null,__content:null,SELECTION_MANAGER:qx.ui.core.selection.ScrollArea,getChildrenContainer:function(){return this.__content;
},_onAddChild:function(e){this.fireDataEvent(B,e.getData());
},_onRemoveChild:function(e){this.fireDataEvent(v,e.getData());
},handleKeyPress:function(e){if(!this._onKeyPress(e)){this._getManager().handleKeyPress(e);
}},_applyOrientation:function(a,b){var c=a===t;
var d=c?new qx.ui.layout.HBox():new qx.ui.layout.VBox();
var content=this.__content;
content.setLayout(d);
content.setAllowGrowX(!c);
content.setAllowGrowY(c);
this._applySpacing(this.getSpacing());
},_applySpacing:function(I,J){this.__content.getLayout().setSpacing(I);
},_onKeyPress:function(e){if(e.getKeyIdentifier()==m&&!e.isAltPressed()){var P=this.getSelection();

for(var i=0;i<P.length;i++){P[i].fireEvent(E);
}return true;
}return false;
},_onChangeSelection:function(){if(this.hasListener(s)){this.fireDataEvent(s,this.getValue());
}},_onKeyInput:function(e){if(!this.getEnableInlineFind()){return;
}var N=this.getSelectionMode();

if(!(N===y||N===k)){return;
}if(((new Date).valueOf()-this.__lastKeyPress)>1000){this.__pressedString=p;
}this.__pressedString+=e.getChar();
var O=this.findItemByLabelFuzzy(this.__pressedString);
if(O){this.setSelection([O]);
}this.__lastKeyPress=(new Date).valueOf();
},findItemByLabelFuzzy:function(f){f=f.toLowerCase();
var g=this.getChildren();
for(var i=0,l=g.length;i<l;i++){var h=g[i].getLabel();
if(h&&h.toLowerCase().indexOf(f)==0){return g[i];
}}return null;
},findItem:function(K){K=K.toLowerCase();
var L=this.getChildren();
var M;
for(var i=0,l=L.length;i<l;i++){M=L[i];

if((M.getLabel()!=null)&&(M.getLabel().toLowerCase()==K)){return M;
}}return null;
}},destruct:function(){this._disposeObjects(n);
}});
})();
(function(){var l="[",k="]",j=".",i="idBubble",h="changeBubble",g="qx.data.marshal.MEventBubbling",f="qx.event.type.Data";
qx.Mixin.define(g,{events:{"changeBubble":f},members:{_applyEventPropagation:function(u,v,name){this.fireDataEvent(h,{value:u,name:name,old:v});
this._registerEventChaining(u,v,name);
},_registerEventChaining:function(a,b,name){if((a instanceof qx.core.Object)&&qx.Class.hasMixin(a.constructor,qx.data.marshal.MEventBubbling)){var c=qx.lang.Function.bind(this.__changePropertyListener,this,name);
var d=a.addListener(h,c,this);
a.setUserData(i,d);
}if(b!=null&&b.getUserData&&b.getUserData(i)!=null){b.removeListenerById(b.getUserData(i));
}},__changePropertyListener:function(name,e){var t=e.getData();
var p=t.value;
var n=t.old;
if(qx.Class.hasInterface(e.getTarget().constructor,qx.data.IListData)){if(t.name.indexOf){var s=t.name.indexOf(j)!=-1?t.name.indexOf(j):t.name.length;
var q=t.name.indexOf(l)!=-1?t.name.indexOf(l):t.name.length;

if(s<q){var m=t.name.substring(0,s);
var r=t.name.substring(s+1,t.name.length);

if(r[0]!=l){r=j+r;
}var o=name+l+m+k+r;
}else if(q<s){var m=t.name.substring(0,q);
var r=t.name.substring(q,t.name.length);
var o=name+l+m+k+r;
}else{var o=name+l+t.name+k;
}}else{var o=name+l+t.name+k;
}}else{var o=name+j+t.name;
}this.fireDataEvent(h,{value:p,name:o,old:n});
}}});
})();
(function(){var H="change",G="add",F="remove",E="order",D="",C="qx.data.Array",B="?",A="changeBubble",z="qx.event.type.Event",y="number",v="changeLength",x="__array",w="qx.event.type.Data";
qx.Class.define(C,{extend:qx.core.Object,include:qx.data.marshal.MEventBubbling,implement:[qx.data.IListData],construct:function(I){arguments.callee.base.call(this);
if(I==undefined){this.__array=[];
}else if(arguments.length>1){this.__array=[];

for(var i=0;i<arguments.length;i++){this.__array.push(arguments[i]);
}}else if(typeof I==y){this.__array=new Array(I);
}else if(I instanceof Array){this.__array=qx.lang.Array.clone(I);
}else{this.__array=[];
throw new Error("Type of the parameter not supported!");
}for(var i=0;i<this.__array.length;i++){this._applyEventPropagation(this.__array[i],null,i);
}this.__updateLength();
},events:{"change":w,"changeLength":z},members:{__array:null,concat:function(o){if(o){var p=this.__array.concat(o);
}else{var p=this.__array.concat();
}return new qx.data.Array(p);
},join:function(f){return this.__array.join(f);
},pop:function(){var O=this.__array.pop();
this.__updateLength();
this._applyEventPropagation(null,O,this.length-1);
this.fireDataEvent(H,{start:this.length-1,end:this.length-1,type:F,items:[O]},null);
return O;
},push:function(r){for(var i=0;i<arguments.length;i++){this.__array.push(arguments[i]);
this.__updateLength();
this._applyEventPropagation(arguments[i],null,this.length-1);
this.fireDataEvent(H,{start:this.length-1,end:this.length-1,type:G,items:[arguments[i]]},null);
}return this.length;
},reverse:function(){this.__array.reverse();
this.fireDataEvent(H,{start:0,end:this.length-1,type:E,items:null},null);
},shift:function(){var K=this.__array.shift();
this.__updateLength();
this._applyEventPropagation(null,K);
this.fireDataEvent(H,{start:0,end:this.length-1,type:F,items:[K]},null);
return K;
},slice:function(bg,bh){return new qx.data.Array(this.__array.slice(bg,bh));
},splice:function(V,W,X){var be=this.__array.length;
var bb=this.__array.splice.apply(this.__array,arguments);
if(this.__array.length!=be){this.__updateLength();
}var bc=W>0;
var Y=arguments.length>2;
var ba=null;

if(bc||Y){if(this.__array.length>be){var bd=G;
}else if(this.__array.length<be){var bd=F;
ba=bb;
}else{var bd=E;
}this.fireDataEvent(H,{start:V,end:this.length-1,type:bd,items:ba},null);
}for(var i=2;i<arguments.length;i++){this._registerEventChaining(arguments[i],null,V+i);
}this.fireDataEvent(A,{value:this,name:B,old:bb});
for(var i=0;i<bb.length;i++){this._applyEventPropagation(null,bb[i],i);
}return (new qx.data.Array(bb));
},sort:function(j){this.__array.sort.apply(this.__array,arguments);
this.fireDataEvent(H,{start:0,end:this.length-1,type:E,items:null},null);
},unshift:function(g){for(var i=arguments.length-1;i>=0;i--){this.__array.unshift(arguments[i]);
this.__updateLength();
this._applyEventPropagation(arguments[i],null,0);
this.fireDataEvent(H,{start:0,end:this.length-1,type:G,items:[arguments[i]]},null);
}return this.length;
},toArray:function(){return this.__array;
},getItem:function(n){return this.__array[n];
},setItem:function(L,M){var N=this.__array[L];
this.__array[L]=M;
this._applyEventPropagation(M,N,L);
if(this.length!=this.__array.length){this.__updateLength();
}this.fireDataEvent(H,{start:L,end:L,type:G,items:[M]},null);
},getLength:function(){return this.length;
},indexOf:function(q){return this.__array.indexOf(q);
},toString:function(){if(this.__array!=null){return this.__array.toString();
}return D;
},contains:function(bi){return this.__array.indexOf(bi)!==-1;
},copy:function(){return this.concat();
},insertAt:function(d,e){this.splice(d,0,e);
},insertBefore:function(R,S){var T=this.indexOf(R);

if(T==-1){this.push(S);
}else{this.splice(T,0,S);
}},insertAfter:function(s,t){var u=this.indexOf(s);

if(u==-1||u==(this.length-1)){this.push(t);
}else{this.splice(u+1,0,t);
}},removeAt:function(J){return this.splice(J,1)[0];
},removeAll:function(){for(var i=0;i<this.__array.length;i++){this._applyEventPropagation(null,this.__array[i],i);
}var b=this.getLength();
var a=this.__array.concat();
this.__array.length=0;
this.__updateLength();
this.fireDataEvent(H,{start:0,end:b-1,type:F,items:a},null);
},append:function(U){{};
for(var i=0;i<U.length;i++){this._applyEventPropagation(U[i],null,this.__array.length+i);
}Array.prototype.push.apply(this.__array,U);
this.__updateLength();
},remove:function(l){var m=this.indexOf(l);

if(m!=-1){this.splice(m,1);
return l;
}},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 bf=0;

for(var i=0;i<this.length;i++){bf+=this.getItem(i);
}return bf;
},max:function(){var k=this.getItem(0);

for(var i=1;i<this.length;i++){if(this.getItem(i)>k){k=this.getItem(i);
}}return k===undefined?null:k;
},min:function(){var c=this.getItem(0);

for(var i=1;i<this.length;i++){if(this.getItem(i)<c){c=this.getItem(i);
}}return c===undefined?null:c;
},forEach:function(P,Q){for(var i=0;i<this.__array.length;i++){P.call(Q,this.__array[i]);
}},__updateLength:function(){this.length=this.__array.length;
this.fireEvent(v,qx.event.type.Event);
}},destruct:function(){this._disposeFields(x);
}});
})();
(function(){var n="__selectionProvider",m="Boolean",l="qx.ui.core.SingleSelectionManager",k="__applyAllowEmptySelection",j="changeSelected",h="__selected",g="qx.event.type.Data";
qx.Class.define(l,{extend:qx.core.Object,construct:function(e){arguments.callee.base.call(this);
{};
this.__selectionProvider=e;
},events:{"changeSelected":g},properties:{allowEmptySelection:{check:m,init:true,apply:k}},members:{__selected:null,__selectionProvider:null,getSelected:function(){return this.__selected;
},setSelected:function(q){if(!this.__isChildElement(q)){throw new Error("Could not select "+q+", because it is not a child element!");
}this.__setSelected(q);
},resetSelected:function(){this.__setSelected(null);
},isSelected:function(f){if(!this.__isChildElement(f)){throw new Error("Could not check if "+f+" is selected,"+" because it is not a child element!");
}return this.__selected===f;
},isSelectionEmpty:function(){return this.__selected==null;
},getSelectables:function(){var o=this.__selectionProvider.getItems();
var p=[];

for(var i=0;i<o.length;i++){if(this.__selectionProvider.isItemSelectable(o[i])){p.push(o[i]);
}}return p;
},__applyAllowEmptySelection:function(a,b){if(!a){this.__setSelected(this.__selected);
}},__setSelected:function(r){var u=this.__selected;
var t=r;

if(t!=null&&u===t){return;
}
if(!this.isAllowEmptySelection()&&t==null){var s=this.getSelectables()[0];

if(s){t=s;
}}this.__selected=t;
this.fireDataEvent(j,t,u);
},__isChildElement:function(c){var d=this.__selectionProvider.getItems();

for(var i=0;i<d.length;i++){if(d[i]===c){return true;
}}return false;
}},destruct:function(){if(this.__selectionProvider.toHashCode){this._disposeObjects(n);
}else{this._disposeFields(n);
}this._disposeObjects(h);
}});
})();
(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="changeModel",a="qx.ui.form.MModelProperty";
qx.Mixin.define(a,{properties:{model:{nullable:true,event:b}}});
})();
(function(){var c="listitem",b="qx.ui.form.ListItem",a="qx.event.type.Event";
qx.Class.define(b,{extend:qx.ui.basic.Atom,implement:[qx.ui.form.IModel],include:[qx.ui.form.MModelProperty],construct:function(d,e,f){arguments.callee.base.call(this,d,e);

if(f!=null){this.setModel(f);
}},events:{"action":a},properties:{appearance:{refine:true,init:c}}});
})();


if (window.qx && qx.event && qx.event.handler && qx.event.handler.Application) qx.event.handler.Application.onScriptLoaded();

