From 84a94747d28e0935eeacec8c0ba1d1c820e1686f Mon Sep 17 00:00:00 2001 From: JBaron Date: Mon, 7 Aug 2017 13:31:52 +0200 Subject: [PATCH] Fixed shortcuts --- lib/main.js | 2 +- resource/qooxdoo.js | 4 ++-- src/cats/commands/commander.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/main.js b/lib/main.js index 183ea405..2e68f288 100644 --- a/lib/main.js +++ b/lib/main.js @@ -1971,7 +1971,7 @@ var Cats; */ registerCommand(id, fn) { var name = COMMANDNAME[id]; - console.log(name); + /* console.log(name); */ this.registry.set(id, { name: name, label: qx.locale.Manager.tr(name), diff --git a/resource/qooxdoo.js b/resource/qooxdoo.js index a10c355e..09c92711 100644 --- a/resource/qooxdoo.js +++ b/resource/qooxdoo.js @@ -20,7 +20,7 @@ qx.$$g = {} qx.$$loader = { parts : {"boot":[0]}, - packages : {"0":{"uris":["__out__:base.384c3707a6e5.js"]}}, + packages : {"0":{"uris":["__out__:base.674096dfc33b.js"]}}, urisBefore : [], cssBefore : [], boot : "boot", @@ -207,7 +207,7 @@ qx.$$loader.initUris = function(){ })(); qx.$$packageData['0']={"locales":{"C":{"alternateQuotationEnd":"’","alternateQuotationStart":"‘","cldr_am":"AM","cldr_date_format_full":"EEEE, MMMM d, y","cldr_date_format_long":"MMMM d, y","cldr_date_format_medium":"MMM d, y","cldr_date_format_short":"M/d/yy","cldr_date_time_format_EHm":"E HH:mm","cldr_date_time_format_EHms":"E HH:mm:ss","cldr_date_time_format_Ed":"d E","cldr_date_time_format_Ehm":"E h:mm a","cldr_date_time_format_Ehms":"E h:mm:ss a","cldr_date_time_format_Gy":"y G","cldr_date_time_format_GyMMM":"MMM y G","cldr_date_time_format_GyMMMEd":"E, MMM d, y G","cldr_date_time_format_GyMMMd":"MMM d, y G","cldr_date_time_format_H":"HH","cldr_date_time_format_Hm":"HH:mm","cldr_date_time_format_Hms":"HH:mm:ss","cldr_date_time_format_M":"L","cldr_date_time_format_MEd":"E, M/d","cldr_date_time_format_MMM":"LLL","cldr_date_time_format_MMMEd":"E, MMM d","cldr_date_time_format_MMMd":"MMM d","cldr_date_time_format_Md":"M/d","cldr_date_time_format_d":"d","cldr_date_time_format_h":"h a","cldr_date_time_format_hm":"h:mm a","cldr_date_time_format_hms":"h:mm:ss a","cldr_date_time_format_ms":"mm:ss","cldr_date_time_format_y":"y","cldr_date_time_format_yM":"M/y","cldr_date_time_format_yMEd":"E, M/d/y","cldr_date_time_format_yMMM":"MMM y","cldr_date_time_format_yMMMEd":"E, MMM d, y","cldr_date_time_format_yMMMd":"MMM d, y","cldr_date_time_format_yMd":"M/d/y","cldr_date_time_format_yQQQ":"QQQ y","cldr_date_time_format_yQQQQ":"QQQQ y","cldr_day_format_abbreviated_fri":"Fri","cldr_day_format_abbreviated_mon":"Mon","cldr_day_format_abbreviated_sat":"Sat","cldr_day_format_abbreviated_sun":"Sun","cldr_day_format_abbreviated_thu":"Thu","cldr_day_format_abbreviated_tue":"Tue","cldr_day_format_abbreviated_wed":"Wed","cldr_day_format_short_fri":"Fr","cldr_day_format_short_mon":"Mo","cldr_day_format_short_sat":"Sa","cldr_day_format_short_sun":"Su","cldr_day_format_short_thu":"Th","cldr_day_format_short_tue":"Tu","cldr_day_format_short_wed":"We","cldr_day_format_wide_fri":"Friday","cldr_day_format_wide_mon":"Monday","cldr_day_format_wide_sat":"Saturday","cldr_day_format_wide_sun":"Sunday","cldr_day_format_wide_thu":"Thursday","cldr_day_format_wide_tue":"Tuesday","cldr_day_format_wide_wed":"Wednesday","cldr_day_stand-alone_narrow_fri":"F","cldr_day_stand-alone_narrow_mon":"M","cldr_day_stand-alone_narrow_sat":"S","cldr_day_stand-alone_narrow_sun":"S","cldr_day_stand-alone_narrow_thu":"T","cldr_day_stand-alone_narrow_tue":"T","cldr_day_stand-alone_narrow_wed":"W","cldr_month_format_abbreviated_1":"Jan","cldr_month_format_abbreviated_10":"Oct","cldr_month_format_abbreviated_11":"Nov","cldr_month_format_abbreviated_12":"Dec","cldr_month_format_abbreviated_2":"Feb","cldr_month_format_abbreviated_3":"Mar","cldr_month_format_abbreviated_4":"Apr","cldr_month_format_abbreviated_5":"May","cldr_month_format_abbreviated_6":"Jun","cldr_month_format_abbreviated_7":"Jul","cldr_month_format_abbreviated_8":"Aug","cldr_month_format_abbreviated_9":"Sep","cldr_month_format_wide_1":"January","cldr_month_format_wide_10":"October","cldr_month_format_wide_11":"November","cldr_month_format_wide_12":"December","cldr_month_format_wide_2":"February","cldr_month_format_wide_3":"March","cldr_month_format_wide_4":"April","cldr_month_format_wide_5":"May","cldr_month_format_wide_6":"June","cldr_month_format_wide_7":"July","cldr_month_format_wide_8":"August","cldr_month_format_wide_9":"September","cldr_month_stand-alone_narrow_1":"J","cldr_month_stand-alone_narrow_10":"O","cldr_month_stand-alone_narrow_11":"N","cldr_month_stand-alone_narrow_12":"D","cldr_month_stand-alone_narrow_2":"F","cldr_month_stand-alone_narrow_3":"M","cldr_month_stand-alone_narrow_4":"A","cldr_month_stand-alone_narrow_5":"M","cldr_month_stand-alone_narrow_6":"J","cldr_month_stand-alone_narrow_7":"J","cldr_month_stand-alone_narrow_8":"A","cldr_month_stand-alone_narrow_9":"S","cldr_number_decimal_separator":".","cldr_number_group_separator":",","cldr_number_percent_format":"#,##0%","cldr_pm":"PM","cldr_time_format_full":"h:mm:ss a zzzz","cldr_time_format_long":"h:mm:ss a z","cldr_time_format_medium":"h:mm:ss a","cldr_time_format_short":"h:mm a","quotationEnd":"”","quotationStart":"“"},"en":{"alternateQuotationEnd":"’","alternateQuotationStart":"‘","cldr_am":"AM","cldr_date_format_full":"EEEE, MMMM d, y","cldr_date_format_long":"MMMM d, y","cldr_date_format_medium":"MMM d, y","cldr_date_format_short":"M/d/yy","cldr_date_time_format_EHm":"E HH:mm","cldr_date_time_format_EHms":"E HH:mm:ss","cldr_date_time_format_Ed":"d E","cldr_date_time_format_Ehm":"E h:mm a","cldr_date_time_format_Ehms":"E h:mm:ss a","cldr_date_time_format_Gy":"y G","cldr_date_time_format_GyMMM":"MMM y G","cldr_date_time_format_GyMMMEd":"E, MMM d, y G","cldr_date_time_format_GyMMMd":"MMM d, y G","cldr_date_time_format_H":"HH","cldr_date_time_format_Hm":"HH:mm","cldr_date_time_format_Hms":"HH:mm:ss","cldr_date_time_format_M":"L","cldr_date_time_format_MEd":"E, M/d","cldr_date_time_format_MMM":"LLL","cldr_date_time_format_MMMEd":"E, MMM d","cldr_date_time_format_MMMd":"MMM d","cldr_date_time_format_Md":"M/d","cldr_date_time_format_d":"d","cldr_date_time_format_h":"h a","cldr_date_time_format_hm":"h:mm a","cldr_date_time_format_hms":"h:mm:ss a","cldr_date_time_format_ms":"mm:ss","cldr_date_time_format_y":"y","cldr_date_time_format_yM":"M/y","cldr_date_time_format_yMEd":"E, M/d/y","cldr_date_time_format_yMMM":"MMM y","cldr_date_time_format_yMMMEd":"E, MMM d, y","cldr_date_time_format_yMMMd":"MMM d, y","cldr_date_time_format_yMd":"M/d/y","cldr_date_time_format_yQQQ":"QQQ y","cldr_date_time_format_yQQQQ":"QQQQ y","cldr_day_format_abbreviated_fri":"Fri","cldr_day_format_abbreviated_mon":"Mon","cldr_day_format_abbreviated_sat":"Sat","cldr_day_format_abbreviated_sun":"Sun","cldr_day_format_abbreviated_thu":"Thu","cldr_day_format_abbreviated_tue":"Tue","cldr_day_format_abbreviated_wed":"Wed","cldr_day_format_short_fri":"Fr","cldr_day_format_short_mon":"Mo","cldr_day_format_short_sat":"Sa","cldr_day_format_short_sun":"Su","cldr_day_format_short_thu":"Th","cldr_day_format_short_tue":"Tu","cldr_day_format_short_wed":"We","cldr_day_format_wide_fri":"Friday","cldr_day_format_wide_mon":"Monday","cldr_day_format_wide_sat":"Saturday","cldr_day_format_wide_sun":"Sunday","cldr_day_format_wide_thu":"Thursday","cldr_day_format_wide_tue":"Tuesday","cldr_day_format_wide_wed":"Wednesday","cldr_day_stand-alone_narrow_fri":"F","cldr_day_stand-alone_narrow_mon":"M","cldr_day_stand-alone_narrow_sat":"S","cldr_day_stand-alone_narrow_sun":"S","cldr_day_stand-alone_narrow_thu":"T","cldr_day_stand-alone_narrow_tue":"T","cldr_day_stand-alone_narrow_wed":"W","cldr_month_format_abbreviated_1":"Jan","cldr_month_format_abbreviated_10":"Oct","cldr_month_format_abbreviated_11":"Nov","cldr_month_format_abbreviated_12":"Dec","cldr_month_format_abbreviated_2":"Feb","cldr_month_format_abbreviated_3":"Mar","cldr_month_format_abbreviated_4":"Apr","cldr_month_format_abbreviated_5":"May","cldr_month_format_abbreviated_6":"Jun","cldr_month_format_abbreviated_7":"Jul","cldr_month_format_abbreviated_8":"Aug","cldr_month_format_abbreviated_9":"Sep","cldr_month_format_wide_1":"January","cldr_month_format_wide_10":"October","cldr_month_format_wide_11":"November","cldr_month_format_wide_12":"December","cldr_month_format_wide_2":"February","cldr_month_format_wide_3":"March","cldr_month_format_wide_4":"April","cldr_month_format_wide_5":"May","cldr_month_format_wide_6":"June","cldr_month_format_wide_7":"July","cldr_month_format_wide_8":"August","cldr_month_format_wide_9":"September","cldr_month_stand-alone_narrow_1":"J","cldr_month_stand-alone_narrow_10":"O","cldr_month_stand-alone_narrow_11":"N","cldr_month_stand-alone_narrow_12":"D","cldr_month_stand-alone_narrow_2":"F","cldr_month_stand-alone_narrow_3":"M","cldr_month_stand-alone_narrow_4":"A","cldr_month_stand-alone_narrow_5":"M","cldr_month_stand-alone_narrow_6":"J","cldr_month_stand-alone_narrow_7":"J","cldr_month_stand-alone_narrow_8":"A","cldr_month_stand-alone_narrow_9":"S","cldr_number_decimal_separator":".","cldr_number_group_separator":",","cldr_number_percent_format":"#,##0%","cldr_pm":"PM","cldr_time_format_full":"h:mm:ss a zzzz","cldr_time_format_long":"h:mm:ss a z","cldr_time_format_medium":"h:mm:ss a","cldr_time_format_short":"h:mm a","quotationEnd":"”","quotationStart":"“"}},"resources":{"qx/decoration/Classic/arrows-combined.gif":[124,7,"gif","qx"],"qx/decoration/Classic/arrows/down-invert.gif":[7,4,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-38,0],"qx/decoration/Classic/arrows/down-small-invert.gif":[5,3,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-87,0],"qx/decoration/Classic/arrows/down-small.gif":[5,3,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-53,0],"qx/decoration/Classic/arrows/down.gif":[7,4,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-113,0],"qx/decoration/Classic/arrows/forward-invert.gif":[8,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-30,0],"qx/decoration/Classic/arrows/forward.gif":[8,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-18,0],"qx/decoration/Classic/arrows/left-invert.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-92,0],"qx/decoration/Classic/arrows/left-small-invert.gif":[3,5,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-58,0],"qx/decoration/Classic/arrows/left-small.gif":[3,5,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-15,0],"qx/decoration/Classic/arrows/left.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-120,0],"qx/decoration/Classic/arrows/next-invert.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-80,0],"qx/decoration/Classic/arrows/next.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-109,0],"qx/decoration/Classic/arrows/previous-invert.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-69,0],"qx/decoration/Classic/arrows/previous.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-65,0],"qx/decoration/Classic/arrows/rewind-invert.gif":[8,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-45,0],"qx/decoration/Classic/arrows/rewind.gif":[8,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-101,0],"qx/decoration/Classic/arrows/right-invert.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-61,0],"qx/decoration/Classic/arrows/right-small-invert.gif":[3,5,"gif","qx","qx/decoration/Classic/arrows-combined.gif",0,0],"qx/decoration/Classic/arrows/right-small.gif":[3,5,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-84,0],"qx/decoration/Classic/arrows/right.gif":[4,7,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-26,0],"qx/decoration/Classic/arrows/up-invert.gif":[7,4,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-73,0],"qx/decoration/Classic/arrows/up-small-invert.gif":[5,3,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-96,0],"qx/decoration/Classic/arrows/up-small.gif":[5,3,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-3,0],"qx/decoration/Classic/arrows/up.gif":[7,4,"gif","qx","qx/decoration/Classic/arrows-combined.gif",-8,0],"qx/decoration/Classic/checkbox-radiobutton-combined.png":[504,14,"png","qx"],"qx/decoration/Classic/colorselector-combined.gif":[46,11,"gif","qx"],"qx/decoration/Classic/colorselector/brightness-field.png":[19,256,"png","qx"],"qx/decoration/Classic/colorselector/brightness-handle.gif":[35,11,"gif","qx","qx/decoration/Classic/colorselector-combined.gif",-11,0],"qx/decoration/Classic/colorselector/huesaturation-field.jpg":[256,256,"jpeg","qx"],"qx/decoration/Classic/colorselector/huesaturation-handle.gif":[11,11,"gif","qx","qx/decoration/Classic/colorselector-combined.gif",0,0],"qx/decoration/Classic/cursors-combined.gif":[71,20,"gif","qx"],"qx/decoration/Classic/cursors/alias.gif":[19,15,"gif","qx","qx/decoration/Classic/cursors-combined.gif",-52,0],"qx/decoration/Classic/cursors/copy.gif":[19,15,"gif","qx","qx/decoration/Classic/cursors-combined.gif",-20,0],"qx/decoration/Classic/cursors/move.gif":[13,9,"gif","qx","qx/decoration/Classic/cursors-combined.gif",-39,0],"qx/decoration/Classic/cursors/nodrop.gif":[20,20,"gif","qx","qx/decoration/Classic/cursors-combined.gif",0,0],"qx/decoration/Classic/datechooser/last-month-invert.png":[16,16,"png","qx"],"qx/decoration/Classic/datechooser/last-month.png":[16,16,"png","qx"],"qx/decoration/Classic/datechooser/last-year-invert.png":[16,16,"png","qx"],"qx/decoration/Classic/datechooser/last-year.png":[16,16,"png","qx"],"qx/decoration/Classic/datechooser/next-month-invert.png":[16,16,"png","qx"],"qx/decoration/Classic/datechooser/next-month.png":[16,16,"png","qx"],"qx/decoration/Classic/datechooser/next-year-invert.png":[16,16,"png","qx"],"qx/decoration/Classic/datechooser/next-year.png":[16,16,"png","qx"],"qx/decoration/Classic/form/checkbox-checked-disabled.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-336,0],"qx/decoration/Classic/form/checkbox-checked-focused-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-28,0],"qx/decoration/Classic/form/checkbox-checked-focused.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-462,0],"qx/decoration/Classic/form/checkbox-checked-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-112,0],"qx/decoration/Classic/form/checkbox-checked-hovered.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-140,0],"qx/decoration/Classic/form/checkbox-checked-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-98,0],"qx/decoration/Classic/form/checkbox-checked-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-308,0],"qx/decoration/Classic/form/checkbox-checked-pressed.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",0,0],"qx/decoration/Classic/form/checkbox-checked.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-266,0],"qx/decoration/Classic/form/checkbox-disabled.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-84,0],"qx/decoration/Classic/form/checkbox-focused-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-476,0],"qx/decoration/Classic/form/checkbox-focused.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-392,0],"qx/decoration/Classic/form/checkbox-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-196,0],"qx/decoration/Classic/form/checkbox-hovered.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-154,0],"qx/decoration/Classic/form/checkbox-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-350,0],"qx/decoration/Classic/form/checkbox-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-448,0],"qx/decoration/Classic/form/checkbox-pressed.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-70,0],"qx/decoration/Classic/form/checkbox-undetermined-disabled.png":[14,14,"png","qx"],"qx/decoration/Classic/form/checkbox-undetermined-focused-invalid.png":[14,14,"png","qx"],"qx/decoration/Classic/form/checkbox-undetermined-focused.png":[14,14,"png","qx"],"qx/decoration/Classic/form/checkbox-undetermined-hovered-invalid.png":[14,14,"png","qx"],"qx/decoration/Classic/form/checkbox-undetermined-hovered.png":[14,14,"png","qx"],"qx/decoration/Classic/form/checkbox-undetermined-invalid.png":[14,14,"png","qx"],"qx/decoration/Classic/form/checkbox-undetermined.png":[14,14,"png","qx"],"qx/decoration/Classic/form/checkbox.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-490,0],"qx/decoration/Classic/form/radiobutton-checked-disabled.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-210,0],"qx/decoration/Classic/form/radiobutton-checked-focused-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-406,0],"qx/decoration/Classic/form/radiobutton-checked-focused.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-378,0],"qx/decoration/Classic/form/radiobutton-checked-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-252,0],"qx/decoration/Classic/form/radiobutton-checked-hovered.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-182,0],"qx/decoration/Classic/form/radiobutton-checked-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-294,0],"qx/decoration/Classic/form/radiobutton-checked-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-420,0],"qx/decoration/Classic/form/radiobutton-checked-pressed.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-56,0],"qx/decoration/Classic/form/radiobutton-checked.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-322,0],"qx/decoration/Classic/form/radiobutton-disabled.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-364,0],"qx/decoration/Classic/form/radiobutton-focused-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-434,0],"qx/decoration/Classic/form/radiobutton-focused.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-168,0],"qx/decoration/Classic/form/radiobutton-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-126,0],"qx/decoration/Classic/form/radiobutton-hovered.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-42,0],"qx/decoration/Classic/form/radiobutton-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-280,0],"qx/decoration/Classic/form/radiobutton-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-238,0],"qx/decoration/Classic/form/radiobutton-pressed.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-14,0],"qx/decoration/Classic/form/radiobutton.png":[14,14,"png","qx","qx/decoration/Classic/checkbox-radiobutton-combined.png",-224,0],"qx/decoration/Classic/menu-combined.gif":[64,7,"gif","qx"],"qx/decoration/Classic/menu/checkbox-invert.gif":[16,7,"gif","qx","qx/decoration/Classic/menu-combined.gif",-16,0],"qx/decoration/Classic/menu/checkbox.gif":[16,7,"gif","qx","qx/decoration/Classic/menu-combined.gif",-32,0],"qx/decoration/Classic/menu/radiobutton-invert.gif":[16,5,"gif","qx","qx/decoration/Classic/menu-combined.gif",0,0],"qx/decoration/Classic/menu/radiobutton.gif":[16,5,"gif","qx","qx/decoration/Classic/menu-combined.gif",-48,0],"qx/decoration/Classic/shadow-lr-combined.png":[30,382,"png","qx"],"qx/decoration/Classic/shadow-small-lr-combined.png":[10,136,"png","qx"],"qx/decoration/Classic/shadow-small-tb-combined.png":[5,30,"png","qx"],"qx/decoration/Classic/shadow-tb-combined.png":[15,90,"png","qx"],"qx/decoration/Classic/shadow/shadow-b.png":[15,15,"png","qx","qx/decoration/Classic/shadow-tb-combined.png",0,-30],"qx/decoration/Classic/shadow/shadow-bl.png":[15,15,"png","qx","qx/decoration/Classic/shadow-tb-combined.png",0,0],"qx/decoration/Classic/shadow/shadow-br.png":[15,15,"png","qx","qx/decoration/Classic/shadow-tb-combined.png",0,-60],"qx/decoration/Classic/shadow/shadow-c.png":[40,382,"png","qx"],"qx/decoration/Classic/shadow/shadow-l.png":[15,382,"png","qx","qx/decoration/Classic/shadow-lr-combined.png",-15,0],"qx/decoration/Classic/shadow/shadow-r.png":[15,382,"png","qx","qx/decoration/Classic/shadow-lr-combined.png",0,0],"qx/decoration/Classic/shadow/shadow-small-b.png":[5,5,"png","qx","qx/decoration/Classic/shadow-small-tb-combined.png",0,-25],"qx/decoration/Classic/shadow/shadow-small-bl.png":[5,5,"png","qx","qx/decoration/Classic/shadow-small-tb-combined.png",0,-20],"qx/decoration/Classic/shadow/shadow-small-br.png":[5,5,"png","qx","qx/decoration/Classic/shadow-small-tb-combined.png",0,0],"qx/decoration/Classic/shadow/shadow-small-c.png":[40,136,"png","qx"],"qx/decoration/Classic/shadow/shadow-small-l.png":[5,136,"png","qx","qx/decoration/Classic/shadow-small-lr-combined.png",0,0],"qx/decoration/Classic/shadow/shadow-small-r.png":[5,136,"png","qx","qx/decoration/Classic/shadow-small-lr-combined.png",-5,0],"qx/decoration/Classic/shadow/shadow-small-t.png":[5,5,"png","qx","qx/decoration/Classic/shadow-small-tb-combined.png",0,-5],"qx/decoration/Classic/shadow/shadow-small-tl.png":[5,5,"png","qx","qx/decoration/Classic/shadow-small-tb-combined.png",0,-15],"qx/decoration/Classic/shadow/shadow-small-tr.png":[5,5,"png","qx","qx/decoration/Classic/shadow-small-tb-combined.png",0,-10],"qx/decoration/Classic/shadow/shadow-small.png":[114,146,"png","qx"],"qx/decoration/Classic/shadow/shadow-t.png":[15,15,"png","qx","qx/decoration/Classic/shadow-tb-combined.png",0,-75],"qx/decoration/Classic/shadow/shadow-tl.png":[15,15,"png","qx","qx/decoration/Classic/shadow-tb-combined.png",0,-45],"qx/decoration/Classic/shadow/shadow-tr.png":[15,15,"png","qx","qx/decoration/Classic/shadow-tb-combined.png",0,-15],"qx/decoration/Classic/shadow/shadow.png":[381,412,"png","qx"],"qx/decoration/Classic/splitpane/knob-horizontal.png":[4,15,"png","qx"],"qx/decoration/Classic/splitpane/knob-vertical.png":[15,4,"png","qx"],"qx/decoration/Classic/table-combined.png":[72,11,"png","qx"],"qx/decoration/Classic/table/ascending-invert.png":[10,10,"png","qx","qx/decoration/Classic/table-combined.png",-62,0],"qx/decoration/Classic/table/ascending.png":[10,10,"png","qx","qx/decoration/Classic/table-combined.png",-52,0],"qx/decoration/Classic/table/boolean-false.png":[11,11,"png","qx","qx/decoration/Classic/table-combined.png",-31,0],"qx/decoration/Classic/table/boolean-true.png":[11,11,"png","qx","qx/decoration/Classic/table-combined.png",-10,0],"qx/decoration/Classic/table/descending-invert.png":[10,10,"png","qx","qx/decoration/Classic/table-combined.png",-42,0],"qx/decoration/Classic/table/descending.png":[10,10,"png","qx","qx/decoration/Classic/table-combined.png",0,0],"qx/decoration/Classic/table/select-column-order.png":[10,9,"png","qx","qx/decoration/Classic/table-combined.png",-21,0],"qx/decoration/Classic/tree/minus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/tree/plus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/cross.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/cross_minus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/cross_plus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/end.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/end_minus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/end_plus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/line.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/only_minus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/only_plus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/start.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/start_minus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/treevirtual/start_plus.gif":[19,16,"gif","qx"],"qx/decoration/Classic/window-captionbar-buttons-combined.gif":[36,9,"gif","qx"],"qx/decoration/Classic/window/close.gif":[10,9,"gif","qx","qx/decoration/Classic/window-captionbar-buttons-combined.gif",0,0],"qx/decoration/Classic/window/maximize.gif":[9,9,"gif","qx","qx/decoration/Classic/window-captionbar-buttons-combined.gif",-10,0],"qx/decoration/Classic/window/minimize.gif":[9,9,"gif","qx","qx/decoration/Classic/window-captionbar-buttons-combined.gif",-19,0],"qx/decoration/Classic/window/restore.gif":[8,9,"gif","qx","qx/decoration/Classic/window-captionbar-buttons-combined.gif",-28,0],"qx/decoration/Indigo/font/JosefinSlab-SemiBold.ttf":"qx","qx/decoration/Indigo/font/JosefinSlab-SemiBold.woff":"qx","qx/decoration/Modern/arrows-combined.png":[87,8,"png","qx"],"qx/decoration/Modern/arrows/down-invert.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-74,0],"qx/decoration/Modern/arrows/down-small.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-49,0],"qx/decoration/Modern/arrows/down.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-20,0],"qx/decoration/Modern/arrows/forward.png":[10,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-59,0],"qx/decoration/Modern/arrows/left.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-44,0],"qx/decoration/Modern/arrows/rewind.png":[10,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-10,0],"qx/decoration/Modern/arrows/right-invert.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-5,0],"qx/decoration/Modern/arrows/right.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-54,0],"qx/decoration/Modern/arrows/up-invert.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-28,0],"qx/decoration/Modern/arrows/up-small.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-82,0],"qx/decoration/Modern/arrows/up.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-36,0],"qx/decoration/Modern/colorselector-combined.gif":[46,11,"gif","qx"],"qx/decoration/Modern/colorselector/brightness-field.png":[19,256,"png","qx"],"qx/decoration/Modern/colorselector/brightness-handle.gif":[35,11,"gif","qx","qx/decoration/Modern/colorselector-combined.gif",0,0],"qx/decoration/Modern/colorselector/huesaturation-field.jpg":[256,256,"jpeg","qx"],"qx/decoration/Modern/colorselector/huesaturation-handle.gif":[11,11,"gif","qx","qx/decoration/Modern/colorselector-combined.gif",-35,0],"qx/decoration/Modern/cursors-combined.gif":[71,20,"gif","qx"],"qx/decoration/Modern/cursors/alias.gif":[19,15,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-52,0],"qx/decoration/Modern/cursors/copy.gif":[19,15,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-33,0],"qx/decoration/Modern/cursors/move.gif":[13,9,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-20,0],"qx/decoration/Modern/cursors/nodrop.gif":[20,20,"gif","qx","qx/decoration/Modern/cursors-combined.gif",0,0],"qx/decoration/Modern/form/checked.png":[6,6,"png","qx"],"qx/decoration/Modern/form/tooltip-error-arrow-right.png":[11,14,"png","qx"],"qx/decoration/Modern/form/tooltip-error-arrow.png":[11,14,"png","qx"],"qx/decoration/Modern/form/undetermined.png":[6,2,"png","qx"],"qx/decoration/Modern/menu-checkradio-combined.gif":[64,7,"gif","qx"],"qx/decoration/Modern/menu/checkbox-invert.gif":[16,7,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-16,0],"qx/decoration/Modern/menu/checkbox.gif":[16,7,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-48,0],"qx/decoration/Modern/menu/radiobutton-invert.gif":[16,5,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-32,0],"qx/decoration/Modern/menu/radiobutton.gif":[16,5,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",0,0],"qx/decoration/Modern/scrollbar-combined.png":[54,12,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-down.png":[6,4,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-28,0],"qx/decoration/Modern/scrollbar/scrollbar-left.png":[4,6,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-50,0],"qx/decoration/Modern/scrollbar/scrollbar-right.png":[4,6,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-46,0],"qx/decoration/Modern/scrollbar/scrollbar-up.png":[6,4,"png","qx","qx/decoration/Modern/scrollbar-combined.png",0,0],"qx/decoration/Modern/splitpane-knobs-combined.png":[8,9,"png","qx"],"qx/decoration/Modern/splitpane/knob-horizontal.png":[1,8,"png","qx","qx/decoration/Modern/splitpane-knobs-combined.png",0,-1],"qx/decoration/Modern/splitpane/knob-vertical.png":[8,1,"png","qx","qx/decoration/Modern/splitpane-knobs-combined.png",0,0],"qx/decoration/Modern/table-combined.png":[94,18,"png","qx"],"qx/decoration/Modern/table/ascending.png":[8,5,"png","qx","qx/decoration/Modern/table-combined.png",0,0],"qx/decoration/Modern/table/boolean-false.png":[14,14,"png","qx","qx/decoration/Modern/table-combined.png",-80,0],"qx/decoration/Modern/table/boolean-true.png":[14,14,"png","qx","qx/decoration/Modern/table-combined.png",-26,0],"qx/decoration/Modern/table/descending.png":[8,5,"png","qx","qx/decoration/Modern/table-combined.png",-18,0],"qx/decoration/Modern/table/select-column-order.png":[10,9,"png","qx","qx/decoration/Modern/table-combined.png",-8,0],"qx/decoration/Modern/toolbar/toolbar-handle-knob.gif":[1,8,"gif","qx"],"qx/decoration/Modern/toolbar/toolbar-part.gif":[7,1,"gif","qx"],"qx/decoration/Modern/tree-combined.png":[32,8,"png","qx"],"qx/decoration/Modern/tree/closed-selected.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-24,0],"qx/decoration/Modern/tree/closed.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-16,0],"qx/decoration/Modern/tree/open-selected.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-8,0],"qx/decoration/Modern/tree/open.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",0,0],"qx/decoration/Modern/window-captionbar-buttons-combined.png":[108,9,"png","qx"],"qx/decoration/Modern/window/close-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-27,0],"qx/decoration/Modern/window/close-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-9,0],"qx/decoration/Modern/window/close-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-90,0],"qx/decoration/Modern/window/maximize-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-18,0],"qx/decoration/Modern/window/maximize-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-81,0],"qx/decoration/Modern/window/maximize-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-54,0],"qx/decoration/Modern/window/minimize-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-63,0],"qx/decoration/Modern/window/minimize-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-72,0],"qx/decoration/Modern/window/minimize-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-36,0],"qx/decoration/Modern/window/restore-active-hovered.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",0,0],"qx/decoration/Modern/window/restore-active.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-99,0],"qx/decoration/Modern/window/restore-inactive.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-45,0],"qx/decoration/Simple/arrows/down-invert.gif":[7,4,"gif","qx"],"qx/decoration/Simple/arrows/down-small.gif":[5,3,"gif","qx"],"qx/decoration/Simple/arrows/down.gif":[7,4,"gif","qx"],"qx/decoration/Simple/arrows/forward.gif":[8,7,"gif","qx"],"qx/decoration/Simple/arrows/left-invert.gif":[4,7,"gif","qx"],"qx/decoration/Simple/arrows/left.gif":[4,7,"gif","qx"],"qx/decoration/Simple/arrows/rewind.gif":[8,7,"gif","qx"],"qx/decoration/Simple/arrows/right-invert.gif":[4,7,"gif","qx"],"qx/decoration/Simple/arrows/right.gif":[4,7,"gif","qx"],"qx/decoration/Simple/arrows/up-invert.gif":[7,4,"gif","qx"],"qx/decoration/Simple/arrows/up-small.gif":[5,3,"gif","qx"],"qx/decoration/Simple/arrows/up.gif":[7,4,"gif","qx"],"qx/decoration/Simple/checkbox/checked-disabled.png":[6,6,"png","qx"],"qx/decoration/Simple/checkbox/checked.png":[6,6,"png","qx"],"qx/decoration/Simple/checkbox/undetermined-disabled.png":[6,2,"png","qx"],"qx/decoration/Simple/checkbox/undetermined.png":[6,2,"png","qx"],"qx/decoration/Simple/colorselector/brightness-field.png":[19,256,"png","qx"],"qx/decoration/Simple/colorselector/brightness-handle.gif":[35,11,"gif","qx"],"qx/decoration/Simple/colorselector/huesaturation-field.jpg":[256,256,"jpeg","qx"],"qx/decoration/Simple/colorselector/huesaturation-handle.gif":[11,11,"gif","qx"],"qx/decoration/Simple/cursors/alias.gif":[19,15,"gif","qx"],"qx/decoration/Simple/cursors/copy.gif":[19,15,"gif","qx"],"qx/decoration/Simple/cursors/move.gif":[13,9,"gif","qx"],"qx/decoration/Simple/cursors/nodrop.gif":[20,20,"gif","qx"],"qx/decoration/Simple/menu/checkbox-invert.gif":[16,7,"gif","qx"],"qx/decoration/Simple/menu/checkbox.gif":[16,7,"gif","qx"],"qx/decoration/Simple/menu/radiobutton-invert.gif":[16,5,"gif","qx"],"qx/decoration/Simple/menu/radiobutton.gif":[16,5,"gif","qx"],"qx/decoration/Simple/splitpane/knob-horizontal.png":[1,8,"png","qx"],"qx/decoration/Simple/splitpane/knob-vertical.png":[8,1,"png","qx"],"qx/decoration/Simple/table/ascending-invert.png":[10,10,"png","qx"],"qx/decoration/Simple/table/ascending.png":[10,10,"png","qx"],"qx/decoration/Simple/table/boolean-false.png":[11,11,"png","qx"],"qx/decoration/Simple/table/boolean-true.png":[11,11,"png","qx"],"qx/decoration/Simple/table/descending-invert.png":[10,10,"png","qx"],"qx/decoration/Simple/table/descending.png":[10,10,"png","qx"],"qx/decoration/Simple/table/select-column-order.png":[10,9,"png","qx"],"qx/decoration/Simple/tabview/close.gif":[10,9,"gif","qx"],"qx/decoration/Simple/tree/minus.gif":[19,16,"gif","qx"],"qx/decoration/Simple/tree/plus.gif":[19,16,"gif","qx"],"qx/decoration/Simple/treevirtual/cross.gif":[19,16,"gif","qx"],"qx/decoration/Simple/treevirtual/cross_minus.gif":[19,16,"gif","qx"],"qx/decoration/Simple/treevirtual/cross_plus.gif":[19,16,"gif","qx"],"qx/decoration/Simple/treevirtual/end.gif":[19,16,"gif","qx"],"qx/decoration/Simple/treevirtual/end_minus.gif":[19,16,"gif","qx"],"qx/decoration/Simple/treevirtual/end_plus.gif":[19,16,"gif","qx"],"qx/decoration/Simple/treevirtual/line.gif":[19,16,"gif","qx"],"qx/decoration/Simple/treevirtual/only_minus.gif":[19,16,"gif","qx"],"qx/decoration/Simple/treevirtual/only_plus.gif":[19,16,"gif","qx"],"qx/decoration/Simple/treevirtual/start.gif":[19,16,"gif","qx"],"qx/decoration/Simple/treevirtual/start_minus.gif":[19,16,"gif","qx"],"qx/decoration/Simple/treevirtual/start_plus.gif":[19,16,"gif","qx"],"qx/decoration/Simple/window/close-white.gif":[10,9,"gif","qx"],"qx/decoration/Simple/window/close.gif":[10,9,"gif","qx"],"qx/decoration/Simple/window/maximize-white.gif":[9,9,"gif","qx"],"qx/decoration/Simple/window/maximize.gif":[9,9,"gif","qx"],"qx/decoration/Simple/window/minimize-white.gif":[9,9,"gif","qx"],"qx/decoration/Simple/window/minimize.gif":[9,9,"gif","qx"],"qx/decoration/Simple/window/restore-white.gif":[8,9,"gif","qx"],"qx/decoration/Simple/window/restore.gif":[8,9,"gif","qx"],"qx/icon/Oxygen/16/actions/dialog-cancel.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/dialog-ok.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/view-refresh.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/window-close.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/apps/office-calendar.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/mimetypes/text-plain.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/places/folder-open.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/places/folder.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/dialog-cancel.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/dialog-ok.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/view-refresh.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/window-close.png":[16,16,"png","qx"],"qx/icon/Tango/16/apps/office-calendar.png":[16,16,"png","qx"],"qx/icon/Tango/16/apps/utilities-color-chooser.png":[16,16,"png","qx"],"qx/icon/Tango/16/mimetypes/office-document.png":[16,16,"png","qx"],"qx/icon/Tango/16/mimetypes/text-plain.png":[16,16,"png","qx"],"qx/icon/Tango/16/places/folder-open.png":[16,16,"png","qx"],"qx/icon/Tango/16/places/folder.png":[16,16,"png","qx"],"qx/icon/Tango/22/mimetypes/office-document.png":[22,22,"png","qx"],"qx/icon/Tango/22/places/folder-open.png":[22,22,"png","qx"],"qx/icon/Tango/22/places/folder.png":[22,22,"png","qx"],"qx/icon/Tango/32/mimetypes/office-document.png":[32,32,"png","qx"],"qx/icon/Tango/32/places/folder-open.png":[32,32,"png","qx"],"qx/icon/Tango/32/places/folder.png":[32,32,"png","qx"],"qx/static/blank.gif":[1,1,"gif","qx"],"qx/static/blank.png":[1,1,"png","qx"]},"translations":{"C":{},"en":{}}}; -(function(){var b=".prototype",c="function",d="Boolean",e="Error",f="Object.keys requires an object as argument.",g="constructor",h="warn",j="default",k="Null",m="hasOwnProperty",n="Undefined",o="string",p="Object",q="toLocaleString",r="error",s="toString",t="qx.debug",u="()",v="RegExp",w="String",x="info",y="BROKEN_IE",z="isPrototypeOf",A="Date",B="",C="qx.Bootstrap",D="Function",E="]",F="Cannot call super class. Method is not derived: ",G="Array",H="[Class ",I="valueOf",J="Number",K="Class",L="debug",M="ES5",N=".",O="propertyIsEnumerable",P="object";if(!window.qx){window.qx={};};qx.Bootstrap={genericToString:function(){return H+this.classname+E;},createNamespace:function(name,Q){var T=name.split(N);var S=T[0];var parent=qx.$$namespaceRoot&&qx.$$namespaceRoot[S]?qx.$$namespaceRoot:window;for(var i=0,R=T.length-1;i-1){var C=A.slice(0,E);var z=A.slice(E+1);var B=qx.Bootstrap.getByName(C);if(B!=undefined){return [B,z];};};};return [undefined,undefined];},getAsync:function(H,K,self){var L=this;if(this.__c[H]!=undefined){window.setTimeout(function(){K.call(self,L.__c[H]);},0);return;};var I=this._asyncChecks[H];if(I){I(function(N){L.__c[H]=N;K.call(self,N);});return;};var G=this._getClassNameFromEnvKey(H);if(G[0]!=undefined){var J=G[0];var M=G[1];J[M](function(O){L.__c[H]=O;K.call(self,O);});return;};if(qx.Bootstrap.DEBUG){qx.Bootstrap.warn(H+r+h);qx.Bootstrap.trace(this);};},select:function(Q,P){return this.__d(this.get(Q),P);},selectAsync:function(S,R,self){this.getAsync(S,function(T){var U=this.__d(S,R);U.call(self,T);},this);},__d:function(Y,X){var W=X[Y];if(X.hasOwnProperty(Y)){return W;};for(var ba in X){if(ba.indexOf(g)!=-1){var V=ba.split(g);for(var i=0;i=0;i-- ){if(this[i]===r){return i;};};return -1;},forEach:function(t,u){var l=this.length;for(var i=0;i=0;i-- ){if(i in this){P=N.call(undefined,P,this[i],i,this);};};return P;}},defer:function(Q){if(!qx.core.Environment.get(g)){Array.prototype.indexOf=Q.indexOf;};if(!qx.core.Environment.get(b)){Array.prototype.lastIndexOf=Q.lastIndexOf;};if(!qx.core.Environment.get(k)){Array.prototype.forEach=Q.forEach;};if(!qx.core.Environment.get(d)){Array.prototype.filter=Q.filter;};if(!qx.core.Environment.get(c)){Array.prototype.map=Q.map;};if(!qx.core.Environment.get(n)){Array.prototype.some=Q.some;};if(!qx.core.Environment.get(o)){Array.prototype.every=Q.every;};if(!qx.core.Environment.get(j)){Array.prototype.reduce=Q.reduce;};if(!qx.core.Environment.get(m)){Array.prototype.reduceRight=Q.reduceRight;};}});})();(function(){var b='!==inherit){',c='qx.lang.Type.isString(value) && qx.util.ColorUtil.isValidPropertyValue(value)',d='value !== null && qx.theme.manager.Font.getInstance().isDynamic(value)',e="set",f=';',g="resetThemed",h='value !== null && value.nodeType === 9 && value.documentElement',j='===value)return value;',k='value !== null && value.$$type === "Mixin"',m='return init;',n='var init=this.',o='value !== null && value.nodeType === 1 && value.attributes',p="var parent = this.getLayoutParent();",q="Error in property ",r='var a=this._getChildren();if(a)for(var i=0,l=a.length;i=1;i-- ){var I=J[i];var parent=J[i-1];if(qx.Bootstrap.isFunction(I)||qx.Bootstrap.objectGetLength(I)===0){delete parent[K[i-1]];}else {break;};};},isDefined:qx.util.OOUtil.classIsDefined,getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry);},getByName:qx.Bootstrap.getByName,include:function(M,L){{};qx.Class.__X(M,L,false);},patch:function(O,N){{};qx.Class.__X(O,N,true);},isSubClassOf:function(Q,P){if(!Q){return false;};if(Q==P){return true;};if(Q.prototype instanceof P){return true;};return false;},getPropertyDefinition:qx.util.OOUtil.getPropertyDefinition,getProperties:function(S){var R=[];while(S){if(S.$$properties){R.push.apply(R,Object.keys(S.$$properties));};S=S.superclass;};return R;},getByProperty:function(T,name){while(T){if(T.$$properties&&T.$$properties[name]){return T;};T=T.superclass;};return null;},hasProperty:qx.util.OOUtil.hasProperty,getEventType:qx.util.OOUtil.getEventType,supportsEvent:qx.util.OOUtil.supportsEvent,hasOwnMixin:function(V,U){return V.$$includes&&V.$$includes.indexOf(U)!==-1;},getByMixin:function(Y,X){var W,i,l;while(Y){if(Y.$$includes){W=Y.$$flatIncludes;for(i=0,l=W.length;i0:false;};if(!bl){this.__bi(br.targetObject,br.targetPropertyChain,br.options.converter());}else {this.__bh(br.targetObject,br.targetPropertyChain);};}else {this.__bh(br.targetObject,br.targetPropertyChain);};break;};if(j==br.propertyNames.length-1){if(qx.Class.implementsInterface(bp,qx.data.IListData)){var bt=br.arrayIndexValues[j]===N?bp.length-1:br.arrayIndexValues[j];var bm=bp.getItem(bt);this.__bm(bm,br.targetObject,br.targetPropertyChain,br.options,br.sources[br.index]);br.listenerIds[j]=this.__bo(bp,s,br.targetObject,br.targetPropertyChain,br.options,br.arrayIndexValues[j]);}else {if(br.propertyNames[j]!=null&&bp[u+qx.lang.String.firstUp(br.propertyNames[j])]!=null){var bm=bp[u+qx.lang.String.firstUp(br.propertyNames[j])]();this.__bm(bm,br.targetObject,br.targetPropertyChain,br.options,br.sources[br.index]);};var bn=this.__bg(bp,br.propertyNames[j]);if(!bn){this.__bh(br.targetObject,br.targetPropertyChain);break;};br.listenerIds[j]=this.__bo(bp,bn,br.targetObject,br.targetPropertyChain,br.options);};}else {if(br.listeners[j]==null){var bo=qx.lang.Function.bind(this.__be,this,br);br.listeners.push(bo);};if(qx.Class.implementsInterface(bp,qx.data.IListData)){var bn=s;}else {var bn=this.__bg(bp,br.propertyNames[j]);};if(!bn){this.__bh(br.targetObject,br.targetPropertyChain);return;};br.listenerIds[j]=bp.addListener(bn,br.listeners[j]);};};},__bf:function(bw,bE,bI,bA,bC){var bz=bA.split(D);var bx=this.__bn(bz);var bH=[];var bG=[];var bB=[];var bF=[];var by=bI;for(var i=0;icP){return;};}else {var cS=e.getData();};{};cS=qx.data.SingleValueBinding.__bq(cS,cO,cM,cK,cG);{};try{if(cS!==undefined){qx.data.SingleValueBinding.__bi(cO,cM,cS);}else {qx.data.SingleValueBinding.__bh(cO,cM);};if(cK&&cK.onUpdate){cK.onUpdate(cG,cO,cS);};}catch(cT){if(!(cT instanceof qx.core.ValidationError)){throw cT;};if(cK&&cK.onSetFail){cK.onSetFail(cT);}else {qx.log.Logger.warn(r+cS+H+cO+a+cT);};};};if(!cI){cI=z;};cL=qx.lang.Function.bind(cL,cG,cI);var cN=cG.addListener(cJ,cL);return cN;},__bp:function(da,cU,cX,db,cY){var cV;cV=cU.toHashCode();if(this.__bc[cV]===undefined){this.__bc[cV]=[];};var cW=[da,cU,cX,db,cY];this.__bc[cV].push(cW);cV=db.toHashCode();if(this.__bd[cV]===undefined){this.__bd[cV]=[];};this.__bd[cV].push(cW);},__bq:function(df,dl,de,dh,dc){if(dh&&dh.converter){var di;if(dl.getModel){di=dl.getModel();};return dh.converter(df,di,dc,dl);}else {var dg=this.__bk(de);var dd=this.__bl(dl,dg);var dm=de.substring(de.lastIndexOf(D)+1,de.length);if(dd==null){return df;};var dj=qx.Class.getPropertyDefinition(dd.constructor,dm);var dk=dj==null?z:dj.check;return this.__bs(df,dk);};},__br:function(dn,dq){var dp=qx.Class.getPropertyDefinition(dn.constructor,dq);if(dp==null){return null;};return dp.event;},__bs:function(dt,ds){var dr=qx.lang.Type.getClass(dt);if((dr==J||dr==x)&&(ds==l||ds==E)){dt=parseInt(dt,10);};if((dr==b||dr==J||dr==L)&&ds==x){dt=dt+z;};if((dr==J||dr==x)&&(ds==J||ds==A)){dt=parseFloat(dt);};return dt;},removeBindingFromObject:function(du,dy){if(dy.type==f){for(var i=0;i=0;i-- ){this.removeBindingFromObject(dA,dz[i][0]);};};},removeRelatedBindings:function(dC,dD){{};var dF=this.getAllBindingsForObject(dC);if(dF!=undefined){for(var i=dF.length-1;i>=0;i-- ){var dE=dF[i][1];var dB=dF[i][3];if(dE===dD||dB===dD){this.removeBindingFromObject(dC,dF[i][0]);};};};},getAllBindingsForObject:function(dH){var dI=dH.toHashCode();if(this.__bc[dI]===undefined){this.__bc[dI]=[];};var dJ=this.__bc[dI];var dG=this.__bd[dI]?this.__bd[dI]:[];return qx.lang.Array.unique(dJ.concat(dG));},removeAllBindings:function(){for(var dL in this.__bc){var dK=qx.core.ObjectRegistry.fromHashCode(dL);if(dK==null){delete this.__bc[dL];continue;};this.removeAllBindingsForObject(dK);};this.__bc={};},getAllBindings:function(){return this.__bc;},showBindingInLog:function(dN,dP){var dO;for(var i=0;ithis.__bu){f=this.__bu;};if(j&&this.__bv&&(f>this.__bw)){f=this.__bw;};if(f>0){var h=this.__bz(this.__bt,-1);var g=this.__bz(h,-f+1);var i;if(g<=h){i=this.__bx.slice(g,h+1);}else {i=this.__bx.slice(g,this.__bu).concat(this.__bx.slice(0,h+1));};}else {i=[];};return i;},clear:function(){this.__bx=new Array(this.getMaxEntries());this.__bu=0;this.__bw=0;this.__bt=0;},__bz:function(n,l){var k=this.getMaxEntries();var m=(n+l)%k;if(m<0){m+=k;};return m;}}});})();(function(){var a="qx.log.appender.RingBuffer";qx.Bootstrap.define(a,{extend:qx.util.RingBuffer,construct:function(b){this.setMaxMessages(b||50);},members:{setMaxMessages:function(c){this.setMaxEntries(c);},getMaxMessages:function(){return this.getMaxEntries();},process:function(d){this.addEntry(d);},getAllLogEvents:function(){return this.getAllEntries();},retrieveLogEvents:function(e,f){return this.getEntries(e,f);},clearHistory:function(){this.clear();}}});})();(function(){var a="qx.lang.Type",b="Error",c="RegExp",d="Date",e="Number",f="Boolean";qx.Bootstrap.define(a,{statics:{getClass:qx.Bootstrap.getClass,isString:qx.Bootstrap.isString,isArray:qx.Bootstrap.isArray,isObject:qx.Bootstrap.isObject,isFunction:qx.Bootstrap.isFunction,isRegExp:function(g){return this.getClass(g)==c;},isNumber:function(h){return (h!==null&&(this.getClass(h)==e||h instanceof Number));},isBoolean:function(i){return (i!==null&&(this.getClass(i)==f||i instanceof Boolean));},isDate:function(j){return (j!==null&&(this.getClass(j)==d||j instanceof Date));},isError:function(k){return (k!==null&&(this.getClass(k)==b||k instanceof Error));}}});})();(function(){var a="mshtml",b="engine.name",c="[object Array]",d="qx.lang.Array",e="Cannot clean-up map entry doneObjects[",f="]",g="qx",h="number",j="][",k="string";qx.Bootstrap.define(d,{statics:{cast:function(m,o,p){if(m.constructor===o){return m;};if(qx.data&&qx.data.IListData){if(qx.Class&&qx.Class.hasInterface(m,qx.data.IListData)){var m=m.toArray();};};var n=new o;if((qx.core.Environment.get(b)==a)){if(m.item){for(var i=p||0,l=m.length;iX){X=W[i];};};return X===undefined?null:X;},min:function(ba){{};var i,bc=ba.length,bb=ba[0];for(i=1;i10){cn=bF+co.length+Y;}else if((co instanceof Object)&&(co.toString==null)){cn=qx.lang.Json.stringify(co,null,2);}else {try{cn=co.toString();}catch(e){cn=Q;};};return cn;},assert:function(cq,cp){cq==true||this.__bB(cp||Q,v);},fail:function(cr,cs){var ct=cs?Q:bS;this.__bB(cr||Q,ct);},assertTrue:function(cv,cu){(cv===true)||this.__bB(cu||Q,m,cv,x);},assertFalse:function(cx,cw){(cx===false)||this.__bB(cw||Q,W,cx,x);},assertEquals:function(cy,cz,cA){cy==cz||this.__bB(cA||Q,D,cy,z,cz,O);},assertNotEquals:function(cB,cC,cD){cB!=cC||this.__bB(cD||Q,D,cB,h,cC,O);},assertIdentical:function(cE,cF,cG){cE===cF||this.__bB(cG||Q,D,cE,T,cF,O);},assertNotIdentical:function(cH,cI,cJ){cH!==cI||this.__bB(cJ||Q,D,cH,bH,cI,O);},assertNotUndefined:function(cL,cK){cL!==undefined||this.__bB(cK||Q,J);},assertUndefined:function(cN,cM){cN===undefined||this.__bB(cM||Q,p,cN,I);},assertNotNull:function(cP,cO){cP!==null||this.__bB(cO||Q,bN);},assertNull:function(cR,cQ){cR===null||this.__bB(cQ||Q,t,cR,I);},assertJsonEquals:function(cS,cT,cU){this.assertEquals(qx.lang.Json.stringify(cS),qx.lang.Json.stringify(cT),cU);},assertMatch:function(cX,cW,cV){this.assertString(cX);this.assert(qx.lang.Type.isRegExp(cW)||qx.lang.Type.isString(cW),cf);cX.search(cW)>=0||this.__bB(cV||Q,E,cX,bG,cW.toString(),O);},assertArgumentsCount:function(db,dc,dd,cY){var da=db.length;(da>=dc&&da<=dd)||this.__bB(cY||Q,cd,dc,j,dd,bP,da,bK);},assertEventFired:function(de,event,dh,di,dj){var df=false;var dg=function(e){if(di){di.call(de,e);};df=true;};var dk;try{dk=de.addListener(event,dg,de);dh.call(de);}catch(dl){throw dl;}finally{try{de.removeListenerById(dk);}catch(dm){};};df===true||this.__bB(dj||Q,G,event,N);},assertEventNotFired:function(dn,event,dr,ds){var dp=false;var dq=function(e){dp=true;};var dt=dn.addListener(event,dq,dn);dr.call();dp===false||this.__bB(ds||Q,G,event,f);dn.removeListenerById(dt);},assertException:function(dx,dw,dv,du){var dw=dw||Error;var dy;try{this.__bA=false;dx();}catch(dz){dy=dz;}finally{this.__bA=true;};if(dy==null){this.__bB(du||Q,o);};dy instanceof dw||this.__bB(du||Q,M,dw,a,dy);if(dv){this.assertMatch(dy.toString(),dv,du);};},assertInArray:function(dC,dB,dA){dB.indexOf(dC)!==-1||this.__bB(dA||Q,bU,dC,U,dB,x);},assertArrayEquals:function(dD,dE,dF){this.assertArray(dD,dF);this.assertArray(dE,dF);dF=dF||bI+dD.join(bR)+cc+dE.join(bR)+Y;if(dD.length!==dE.length){this.fail(dF,true);};for(var i=0;i=0)||this.__bB(dR||Q,bY,dS,I);},assertInteger:function(dU,dT){(qx.lang.Type.isNumber(dU)&&isFinite(dU)&&dU%1===0)||this.__bB(dT||Q,cb,dU,I);},assertPositiveInteger:function(dX,dV){var dW=(qx.lang.Type.isNumber(dX)&&isFinite(dX)&&dX%1===0&&dX>=0);dW||this.__bB(dV||Q,g,dX,I);},assertInRange:function(eb,ec,ea,dY){(eb>=ec&&eb<=ea)||this.__bB(dY||Q,qx.lang.String.format(bL,[eb,ec,ea]));},assertObject:function(ee,ed){var ef=ee!==null&&(qx.lang.Type.isObject(ee)||typeof ee===ce);ef||this.__bB(ed||Q,R,(ee),I);},assertArray:function(eh,eg){qx.lang.Type.isArray(eh)||this.__bB(eg||Q,c,eh,I);},assertMap:function(ej,ei){qx.lang.Type.isObject(ej)||this.__bB(ei||Q,n,ej,I);},assertRegExp:function(el,ek){qx.lang.Type.isRegExp(el)||this.__bB(ek||Q,r,el,I);},assertType:function(eo,en,em){this.assertString(en,u);typeof (eo)===en||this.__bB(em||Q,bE,en,S,eo,I);},assertInstance:function(er,es,ep){var eq=es.classname||es+Q;er instanceof es||this.__bB(ep||Q,ca,eq,S,er,I);},assertInterface:function(ev,eu,et){qx.Class&&qx.Class.implementsInterface(ev,eu)||this.__bB(et||Q,k,ev,s,eu,O);},assertCssColor:function(eC,ez,eB){var ew=qx.Class?qx.Class.getByName(K):null;if(!ew){throw new Error(bX);};var ey=ew.stringToRgb(eC);try{var eA=ew.stringToRgb(ez);}catch(eE){this.__bB(eB||Q,H,eC,d,ey.join(B),bT,ez,bQ);};var eD=ey[0]==eA[0]&&ey[1]==eA[1]&&ey[2]==eA[2];eD||this.__bB(eB||Q,H,ey,d,ey.join(B),bT,ez,d,eA.join(B),bO);},assertElement:function(eG,eF){!!(eG&&eG.nodeType===1)||this.__bB(eF||Q,q,eG,O);},assertQxObject:function(eI,eH){this.__bD(eI,b)||this.__bB(eH||Q,bJ,eI,I);},assertQxWidget:function(eK,eJ){this.__bD(eK,X)||this.__bB(eJ||Q,bD,eK,I);},__bD:function(eM,eL){if(!eM){return false;};var eN=eM.constructor;while(eN){if(eN.classname===eL){return true;};eN=eN.superclass;};return false;}}});})();(function(){var a="-",b="]",c='\\u',d="undefined",e="",f='\\$1',g="0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",h="\\\\",j='-',k="g",l="\\\"",m="qx.lang.String",n="(^|[^",o="0",p="%",q='"',r=' ',s='\n',t="])[";qx.Bootstrap.define(m,{statics:{__bE:g,__bF:null,__bG:{},camelCase:function(v){var u=this.__bG[v];if(!u){u=v.replace(/\-([a-z])/g,function(x,w){return w.toUpperCase();});if(v.indexOf(a)>=0){this.__bG[v]=u;};};return u;},hyphenate:function(z){var y=this.__bG[z];if(!y){y=z.replace(/[A-Z]/g,function(A){return (j+A.charAt(0).toLowerCase());});if(z.indexOf(a)==-1){this.__bG[z]=y;};};return y;},capitalize:function(C){if(this.__bF===null){var B=c;this.__bF=new RegExp(n+this.__bE.replace(/[0-9A-F]{4}/g,function(D){return B+D;})+t+this.__bE.replace(/[0-9A-F]{4}/g,function(E){return B+E;})+b,k);};return C.replace(this.__bF,function(F){return F.toUpperCase();});},clean:function(G){return G.replace(/\s+/g,r).trim();},trimLeft:function(H){return H.replace(/^\s+/,e);},trimRight:function(I){return I.replace(/\s+$/,e);},startsWith:function(K,J){return K.indexOf(J)===0;},endsWith:function(M,L){return M.substring(M.length-L.length,M.length)===L;},repeat:function(N,O){return N.length>0?new Array(O+1).join(N):e;},pad:function(Q,length,P){var R=length-Q.length;if(R>0){if(typeof P===d){P=o;};return this.repeat(P,R)+Q;}else {return Q;};},firstUp:qx.Bootstrap.firstUp,firstLow:qx.Bootstrap.firstLow,contains:function(T,S){return T.indexOf(S)!=-1;},format:function(U,V){var W=U;var i=V.length;while(i-- ){W=W.replace(new RegExp(p+(i+1),k),function(){return V[i]+e;});};return W;},escapeRegexpChars:function(X){return X.replace(/([.*+?^${}()|[\]\/\\])/g,f);},toArray:function(Y){return Y.split(/\B|\b/g);},stripTags:function(ba){return ba.replace(/<\/?[^>]+>/gi,e);},stripScripts:function(bd,bc){var be=e;var bb=bd.replace(/]*>([\s\S]*?)<\/script>/gi,function(){be+=arguments[1]+s;return e;});if(bc===true){qx.lang.Function.globalEval(be);};return bb;},quote:function(bf){return q+bf.replace(/\\/g,h).replace(/\"/g,l)+q;}}});})();(function(){var a='anonymous()',b="()",c="qx.globalErrorHandling",d="qx.lang.Function",e=".",f=".prototype.",g=".constructor()";qx.Bootstrap.define(d,{statics:{getCaller:function(h){return h.caller?h.caller.callee:h.callee.caller;},getName:function(i){if(i.displayName){return i.displayName;};if(i.$$original||i.wrapper||i.classname){return i.classname+g;};if(i.$$mixin){for(var j in i.$$mixin.$$members){if(i.$$mixin.$$members[j]==i){return i.$$mixin.name+f+j+b;};};for(var j in i.$$mixin){if(i.$$mixin[j]==i){return i.$$mixin.name+e+j+b;};};};if(i.self){var l=i.self.constructor;if(l){for(var j in l.prototype){if(l.prototype[j]==i){return l.classname+f+j+b;};};for(var j in l){if(l[j]==i){return l.classname+e+j+b;};};};};var k=i.toString().match(/function\s*(\w*)\s*\(.*/);if(k&&k.length>=1&&k[1]){return k[1]+b;};return a;},globalEval:function(data){if(window.execScript){return window.execScript(data);}else {return eval.call(window,data);};},create:function(n,m){{};if(!m){return n;};if(!(m.self||m.args||m.delay!=null||m.periodical!=null||m.attempt)){return n;};return function(event){{};var p=qx.lang.Array.fromArguments(arguments);if(m.args){p=m.args.concat(p);};if(m.delay||m.periodical){var o=function(){return n.apply(m.self||this,p);};if(qx.core.Environment.get(c)){o=qx.event.GlobalError.observeMethod(o);};if(m.delay){return window.setTimeout(o,m.delay);};if(m.periodical){return window.setInterval(o,m.periodical);};}else if(m.attempt){var q=false;try{q=n.apply(m.self||this,p);}catch(r){};return q;}else {return n.apply(m.self||this,p);};};},bind:function(s,self,t){return this.create(s,{self:self,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null});},curry:function(u,v){return this.create(u,{args:arguments.length>1?qx.lang.Array.fromArguments(arguments,1):null});},listener:function(x,self,y){if(arguments.length<3){return function(event){return x.call(self||this,event||window.event);};}else {var w=qx.lang.Array.fromArguments(arguments,2);return function(event){var z=[event||window.event];z.push.apply(z,w);x.apply(self||this,z);};};},attempt:function(A,self,B){return this.create(A,{self:self,attempt:true,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null})();},delay:function(D,C,self,E){return this.create(D,{delay:C,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();},periodical:function(G,F,self,H){return this.create(G,{periodical:F,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();}}});})();(function(){var a="qx.globalErrorHandling",b="qx.event.GlobalError";qx.Bootstrap.define(b,{statics:{__bH:null,__bI:null,__bJ:null,__bK:function(){if(qx.core&&qx.core.Environment){return qx.core.Environment.get(a);}else {return !!qx.Bootstrap.getEnvironmentSetting(a);};},setErrorHandler:function(c,d){this.__bH=c||null;this.__bJ=d||window;if(this.__bK()){if(c&&window.onerror){var e=qx.Bootstrap.bind(this.__bL,this);if(this.__bI==null){this.__bI=window.onerror;};var self=this;window.onerror=function(f,g,h){self.__bI(f,g,h);e(f,g,h);};};if(c&&!window.onerror){window.onerror=qx.Bootstrap.bind(this.__bL,this);};if(this.__bH==null){if(this.__bI!=null){window.onerror=this.__bI;this.__bI=null;}else {window.onerror=null;};};};},__bL:function(i,j,k){if(this.__bH){this.handleError(new qx.core.WindowError(i,j,k));};},observeMethod:function(l){if(this.__bK()){var self=this;return function(){if(!self.__bH){return l.apply(this,arguments);};try{return l.apply(this,arguments);}catch(m){self.handleError(new qx.core.GlobalError(m,arguments));};};}else {return l;};},handleError:function(n){if(this.__bH){this.__bH.call(this.__bJ,n);};}},defer:function(o){if(qx.core&&qx.core.Environment){qx.core.Environment.add(a,true);}else {qx.Bootstrap.setEnvironmentSetting(a,true);};o.setErrorHandler(null,null);}});})();(function(){var a="",b="qx.core.WindowError";qx.Bootstrap.define(b,{extend:Error,construct:function(c,e,f){var d=Error.call(this,c);if(d.stack){this.stack=d.stack;};if(d.stacktrace){this.stacktrace=d.stacktrace;};this.__bM=c;this.__bN=e||a;this.__bO=f===undefined?-1:f;},members:{__bM:null,__bN:null,__bO:null,toString:function(){return this.__bM;},getUri:function(){return this.__bN;},getLineNumber:function(){return this.__bO;}}});})();(function(){var a="GlobalError: ",b="qx.core.GlobalError";qx.Bootstrap.define(b,{extend:Error,construct:function(e,c){if(qx.Bootstrap.DEBUG){qx.core.Assert.assertNotUndefined(e);};this.__bM=a+(e&&e.message?e.message:e);var d=Error.call(this,this.__bM);if(d.stack){this.stack=d.stack;};if(d.stacktrace){this.stacktrace=d.stacktrace;};this.__bP=c;this.__bQ=e;},members:{__bQ:null,__bP:null,__bM:null,toString:function(){return this.__bM;},getArguments:function(){return this.__bP;},getSourceException:function(){return this.__bQ;}},destruct:function(){this.__bQ=null;this.__bP=null;this.__bM=null;}});})();(function(){var a="\x00\b\n\f\r\t",b="-",c="function",d="[null,null,null]",e="T",f="+",g=",\n",h="constructor",i="{\n",j='"+275760-09-13T00:00:00.000Z"',k="true",l="\\n",m="false",n='"-271821-04-20T00:00:00.000Z"',o="json",p='object',q='""',r="qx.lang.Json",s="{}",t="hasOwnProperty",u="@",v="prototype",w='hasOwnProperty',x='"',y="toLocaleString",z="0",A='function',B="",C='\\"',D="\t",E="string",F="}",G="\r",H="toJSON",I=":",J="[\n 1,\n 2\n]",K="\\f",L='"1969-12-31T23:59:59.999Z"',M="/",N="\\b",O="Z",P="\\t",Q="\b",R="[object Number]",S="isPrototypeOf",T="{",U="toString",V="0x",W="[1]",X="\\r",Y="]",bO=",",bP="null",bQ="\\u00",bK="\n",bL="json-stringify",bM="[]",bN="1",bU="000000",bV="[object Boolean]",bW="valueOf",cm="\\\\",bR="[object String]",bS="json-parse",bT="bug-string-char-index",bG="[object Array]",ca="$",bJ="[\n",cb='"-000001-01-01T00:00:00.000Z"',cc="[",bI="[null]",bX="\\",cl="[object Date]",bY='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}',cd="a",ce=" ",cf=".",ci="[object Function]",cj="01",ck='"\t"',bH="propertyIsEnumerable",cg="\f",ch="object";qx.Bootstrap.define(r,{statics:{stringify:null,parse:null}});(function(){var co;var cn;var cp;(function(window){var cr={}.toString,cG,cQ,cC;var cy=typeof cp===c&&cp.amd,cx=typeof cn==ch&&cn;if(cx||cy){if(typeof JSON==ch&&JSON){if(cx){cx.stringify=JSON.stringify;cx.parse=JSON.parse;}else {cx=JSON;};}else if(cy){cx=window.JSON={};};}else {cx=window.JSON||(window.JSON={});};var cU=new Date(-3509827334573292);try{cU=cU.getUTCFullYear()==-109252&&cU.getUTCMonth()===0&&cU.getUTCDate()===1&&cU.getUTCHours()==10&&cU.getUTCMinutes()==37&&cU.getUTCSeconds()==6&&cU.getUTCMilliseconds()==708;}catch(da){};function cJ(name){if(name==bT){return cd[0]!=cd;};var de,dd=bY,dh=name==o;if(dh||name==bL||name==bS){if(name==bL||dh){var db=cx.stringify,dg=typeof db==c&&cU;if(dg){(de=function(){return 1;}).toJSON=de;try{dg=db(0)===z&&db(new Number())===z&&db(new String())==q&&db(cr)===cC&&db(cC)===cC&&db()===cC&&db(de)===bN&&db([de])==W&&db([cC])==bI&&db(null)==bP&&db([cC,cr,null])==d&&db({"a":[de,true,false,null,a]})==dd&&db(null,de)===bN&&db([1,2],null,1)==J&&db(new Date(-8.64e15))==n&&db(new Date(8.64e15))==j&&db(new Date(-621987552e5))==cb&&db(new Date(-1))==L;}catch(di){dg=false;};};if(!dh){return dg;};};if(name==bS||dh){var df=cx.parse;if(typeof df==c){try{if(df(z)===0&&!df(false)){de=df(dd);var dc=de[cd].length==5&&de[cd][0]===1;if(dc){try{dc=!df(ck);}catch(dj){};if(dc){try{dc=df(cj)!==1;}catch(dk){};};};};}catch(dl){dc=false;};};if(!dh){return dc;};};return dg&&dc;};};if(!cJ(o)){var cV=ci;var cN=cl;var cv=R;var cY=bR;var cR=bG;var cF=bV;var cE=cJ(bT);if(!cU){var cD=Math.floor;var cM=[0,31,59,90,120,151,181,212,243,273,304,334];var cX=function(dm,dn){return cM[dn]+365*(dm-1970)+cD((dm-1969+(dn=+(dn>1)))/4)-cD((dm-1901+dn)/100)+cD((dm-1601+dn)/400);};};if(!(cG={}.hasOwnProperty)){cG=function(dp){var dq={},dr;if((dq.__bR=null,dq.__bR={"toString":1},dq).toString!=cr){cG=function(ds){var dt=this.__bR,du=ds in (this.__bR=null,this);this.__bR=dt;return du;};}else {dr=dq.constructor;cG=function(dv){var parent=(this.constructor||dr).prototype;return dv in this&&!(dv in parent&&this[dv]===parent[dv]);};};dq=null;return cG.call(this,dp);};};var cH={'boolean':1,'number':1,'string':1,'undefined':1};var cP=function(dy,dw){var dx=typeof dy[dw];return dx==p?!!dy[dw]:!cH[dx];};cQ=function(dz,dA){var dF=0,dE,dC,dD,dB;(dE=function(){this.valueOf=0;}).prototype.valueOf=0;dC=new dE();for(dD in dC){if(cG.call(dC,dD)){dF++ ;};};dE=dC=null;if(!dF){dC=[bW,U,y,bH,S,t,h];dB=function(dH,dI){var dJ=cr.call(dH)==cV,dK,length;var dG=!dJ&&typeof dH.constructor!=A&&cP(dH,w)?dH.hasOwnProperty:cG;for(dK in dH){if(!(dJ&&dK==v)&&dG.call(dH,dK)){dI(dK);};};for(length=dC.length;dK=dC[ --length];dG.call(dH,dK)&&dI(dK));};}else if(dF==2){dB=function(dP,dL){var dO={},dM=cr.call(dP)==cV,dN;for(dN in dP){if(!(dM&&dN==v)&&!cG.call(dO,dN)&&(dO[dN]=1)&&cG.call(dP,dN)){dL(dN);};};};}else {dB=function(dT,dQ){var dR=cr.call(dT)==cV,dS,dU;for(dS in dT){if(!(dR&&dS==v)&&cG.call(dT,dS)&&!(dU=dS===h)){dQ(dS);};};if(dU||cG.call(dT,(dS=h))){dQ(dS);};};};return dB(dz,dA);};if(!cJ(bL)){var cT={'92':cm,'34':C,'8':N,'12':K,'10':l,'13':X,'9':P};var cI=bU;var cW=function(dV,dW){return (cI+(dW||0)).slice(-dV);};var cB=bQ;var cL=function(dY){var eb=x,dX=0,length=dY.length,ec=length>10&&cE,ea;if(ec){ea=dY.split(B);};for(;dX-1/0&&et<1/0){if(cX){er=cD(et/864e5);for(ei=cD(er/365.2425)+1970-1;cX(ei+1,0)<=er;ei++ );for(ef=cD((er-cX(ei,0))/30.42);cX(ei,ef+1)<=er;ef++ );er=1+er-cX(ei,ef);ey=(et%864e5+864e5)%864e5;ep=cD(ey/36e5)%24;eA=cD(ey/6e4)%60;en=cD(ey/1e3)%60;em=ey%1e3;}else {ei=et.getUTCFullYear();ef=et.getUTCMonth();er=et.getUTCDate();ep=et.getUTCHours();eA=et.getUTCMinutes();en=et.getUTCSeconds();em=et.getUTCMilliseconds();};et=(ei<=0||ei>=1e4?(ei<0?b:f)+cW(6,ei<0?-ei:ei):cW(4,ei))+b+cW(2,ef+1)+b+cW(2,er)+e+cW(2,ep)+I+cW(2,eA)+I+cW(2,en)+cf+cW(3,em)+O;}else {et=null;};}else if(typeof et.toJSON==c&&((ev!=cv&&ev!=cY&&ev!=cR)||cG.call(et,H))){et=et.toJSON(ez);};};if(ew){et=ew.call(eo,ez,et);};if(et===null){return bP;};ev=cr.call(et);if(ev==cF){return B+et;}else if(ev==cv){return et>-1/0&&et<1/0?B+et:bP;}else if(ev==cY){return cL(B+et);};if(typeof et==ch){for(length=es.length;length-- ;){if(es[length]===et){throw TypeError();};};es.push(et);ee=[];eg=ex;ex+=ek;if(ev==cR){for(ej=0,length=et.length;ej0){for(eF=B,eL>10&&(eL=10);eF.length=48&&eR<=57||eR>=97&&eR<=102||eR>=65&&eR<=70)){cw();};};eN+=cA(V+eO.slice(eM,cq));break;default:cw();};}else {if(eR==34){break;};eR=eO.charCodeAt(cq);eM=cq;while(eR>=32&&eR!=92&&eR!=34){eR=eO.charCodeAt( ++cq);};eN+=eO.slice(eM,cq);};};if(eO.charCodeAt(cq)==34){cq++ ;return eN;};cw();default:eM=cq;if(eR==45){eP=true;eR=eO.charCodeAt( ++cq);};if(eR>=48&&eR<=57){if(eR==48&&((eR=eO.charCodeAt(cq+1)),eR>=48&&eR<=57)){cw();};eP=false;for(;cq=48&&eR<=57);cq++ );if(eO.charCodeAt(cq)==46){eQ= ++cq;for(;eQ=48&&eR<=57);eQ++ );if(eQ==cq){cw();};cq=eQ;};eR=eO.charCodeAt(cq);if(eR==101||eR==69){eR=eO.charCodeAt( ++cq);if(eR==43||eR==45){cq++ ;};for(eQ=cq;eQ=48&&eR<=57);eQ++ );if(eQ==cq){cw();};cq=eQ;};return +eO.slice(eM,cq);};if(eP){cw();};if(eO.slice(cq,cq+4)==k){cq+=4;return true;}else if(eO.slice(cq,cq+5)==m){cq+=5;return false;}else if(eO.slice(cq,cq+4)==bP){cq+=4;return null;};cw();};};return ca;};var cK=function(eU){var eT,eS;if(eU==ca){cw();};if(typeof eU==E){if((cE?eU.charAt(0):eU[0])==u){return eU.slice(1);};if(eU==cc){eT=[];for(;;eS||(eS=true)){eU=cS();if(eU==Y){break;};if(eS){if(eU==bO){eU=cS();if(eU==Y){cw();};}else {cw();};};if(eU==bO){cw();};eT.push(cK(eU));};return eT;}else if(eU==T){eT={};for(;;eS||(eS=true)){eU=cS();if(eU==F){break;};if(eS){if(eU==bO){eU=cS();if(eU==F){cw();};}else {cw();};};if(eU==bO||typeof eU!=E||(cE?eU.charAt(0):eU[0])!=u||cS()!=I){cw();};eT[eU.slice(1)]=cK(cS());};return eT;};cw();};return eU;};var cO=function(eV,eW,eX){var eY=ct(eV,eW,eX);if(eY===cC){delete eV[eW];}else {eV[eW]=eY;};};var ct=function(fa,fb,fd){var fc=fa[fb],length;if(typeof fc==ch&&fc){if(cr.call(fc)==cR){for(length=fc.length;length-- ;){cO(fc,length,fd);};}else {cQ(fc,function(fe){cO(fc,fe,fd);});};};return fd.call(fa,fb,fc);};cx.parse=function(ff,fi){var fg,fh;cq=0;cu=B+ff;fg=cK(cS());if(cS()!=ca){cw();};cq=cu=null;return fi&&cr.call(fi)==cV?ct((fh={},fh[B]=fg,fh),B,fi):fg;};};};if(cy){cp(function(){return cx;});};}(this));}());qx.lang.Json.stringify=window.JSON.stringify;qx.lang.Json.parse=window.JSON.parse;})();(function(){var a=": ",b="qx.type.BaseError",c="",d="error";qx.Bootstrap.define(b,{extend:Error,construct:function(e,f){var g=Error.call(this,f);if(g.stack){this.stack=g.stack;};if(g.stacktrace){this.stacktrace=g.stacktrace;};this.__bS=e||c;this.message=f||qx.type.BaseError.DEFAULTMESSAGE;},statics:{DEFAULTMESSAGE:d},members:{__bT:null,__bS:null,message:null,getComment:function(){return this.__bS;},toString:function(){return this.__bS+(this.message?a+this.message:c);}}});})();(function(){var a="qx.core.AssertionError";qx.Bootstrap.define(a,{extend:qx.type.BaseError,construct:function(b,c){qx.type.BaseError.call(this,b,c);this.__bU=qx.dev.StackTrace.getStackTrace();},members:{__bU:null,getStackTrace:function(){return this.__bU;}}});})();(function(){var a="anonymous",b="...",c="qx.dev.StackTrace",d="",e="\n",f="?",g="/source/class/",h="Error created at",j="ecmascript.error.stacktrace",k="Backtrace:",l="stack",m=":",n=".",o="function",p="prototype",q="stacktrace";qx.Bootstrap.define(c,{statics:{FILENAME_TO_CLASSNAME:null,FORMAT_STACKTRACE:null,getStackTrace:function(){var t=[];try{throw new Error();}catch(G){if(qx.dev.StackTrace.hasEnvironmentCheck&&qx.core.Environment.get(j)){var y=qx.dev.StackTrace.getStackTraceFromError(G);var B=qx.dev.StackTrace.getStackTraceFromCaller(arguments);qx.lang.Array.removeAt(y,0);t=B.length>y.length?B:y;for(var i=0;i=0){continue;};var s=null;var C=w.split(n);var v=/(.*?)\(/.exec(C[C.length-1]);if(v&&v.length==2){s=v[1];C.pop();};if(C[C.length-1]==p){C.pop();};var E=C.join(n);var u=y[i];var F=u.split(m);var A=F[0];var z=F[1];var r;if(F[2]){r=F[2];};var x=null;if(qx.Class&&qx.Class.getByName(A)){x=A;}else {x=E;};var D=x;if(s){D+=n+s;};D+=m+z;if(r){D+=m+r;};t[i]=D;};}else {t=this.getStackTraceFromCaller(arguments);};};return t;},getStackTraceFromCaller:function(K){var J=[];var M=qx.lang.Function.getCaller(K);var H={};while(M){var L=qx.lang.Function.getName(M);J.push(L);try{M=M.caller;}catch(N){break;};if(!M){break;};var I=qx.core.ObjectRegistry.toHashCode(M);if(H[I]){J.push(b);break;};H[I]=M;};return J;},getStackTraceFromError:function(bd){var T=[];var R,S,ba,Q,P,bf,bb;var bc=qx.dev.StackTrace.hasEnvironmentCheck?qx.core.Environment.get(j):null;if(bc===l){if(!bd.stack){return T;};R=/@(.+):(\d+)$/gm;while((S=R.exec(bd.stack))!=null){bb=S[1];Q=S[2];ba=this.__bV(bb);T.push(ba+m+Q);};if(T.length>0){return this.__bX(T);};R=/at (.*)/gm;var be=/\((.*?)(:[^\/].*)\)/;var Y=/(.*?)(:[^\/].*)/;while((S=R.exec(bd.stack))!=null){var X=be.exec(S[1]);if(!X){X=Y.exec(S[1]);};if(X){ba=this.__bV(X[1]);T.push(ba+X[2]);}else {T.push(S[1]);};};}else if(bc===q){var U=bd.stacktrace;if(!U){return T;};if(U.indexOf(h)>=0){U=U.split(h)[0];};R=/line\ (\d+?),\ column\ (\d+?)\ in\ (?:.*?)\ in\ (.*?):[^\/]/gm;while((S=R.exec(U))!=null){Q=S[1];P=S[2];bb=S[3];ba=this.__bV(bb);T.push(ba+m+Q+m+P);};if(T.length>0){return this.__bX(T);};R=/Line\ (\d+?)\ of\ linked\ script\ (.*?)$/gm;while((S=R.exec(U))!=null){Q=S[1];bb=S[2];ba=this.__bV(bb);T.push(ba+m+Q);};}else if(bd.message&&bd.message.indexOf(k)>=0){var W=bd.message.split(k)[1].trim();var V=W.split(e);for(var i=0;i=2){Q=O[1];bf=this.__bV(O[2]);T.push(bf+m+Q);};};}else if(bd.sourceURL&&bd.line){T.push(this.__bV(bd.sourceURL)+m+bd.line);};return this.__bX(T);},__bV:function(bh){if(typeof qx.dev.StackTrace.FILENAME_TO_CLASSNAME==o){var bg=qx.dev.StackTrace.FILENAME_TO_CLASSNAME(bh);{};return bg;};return qx.dev.StackTrace.__bW(bh);},__bW:function(bk){var bl=g;var bi=bk.indexOf(bl);var bm=bk.indexOf(f);if(bm>=0){bk=bk.substring(0,bm);};var bj=(bi==-1)?bk:bk.substring(bi+bl.length).replace(/\//g,n).replace(/\.js$/,d);return bj;},__bX:function(bn){if(typeof qx.dev.StackTrace.FORMAT_STACKTRACE==o){bn=qx.dev.StackTrace.FORMAT_STACKTRACE(bn);{};};return bn;}},defer:function(bo){bo.hasEnvironmentCheck=qx.bom&&qx.bom.client&&qx.bom.client.EcmaScript&&qx.bom.client.EcmaScript.getStackTrace;}});})();(function(){var c="-",d="",e="qx.core.ObjectRegistry",f="Disposed ",g="$$hash",h="-0",j=" objects",k="Could not dispose object ",m=": ";qx.Bootstrap.define(e,{statics:{inShutDown:false,__G:{},__bY:0,__ca:[],__cb:d,__cc:{},register:function(n){var q=this.__G;if(!q){return;};var p=n.$$hash;if(p==null){var o=this.__ca;if(o.length>0&&true){p=o.pop();}else {p=(this.__bY++ )+this.__cb;};n.$$hash=p;{};};{};q[p]=n;},unregister:function(r){var s=r.$$hash;if(s==null){return;};var t=this.__G;if(t&&t[s]){delete t[s];this.__ca.push(s);};try{delete r.$$hash;}catch(u){if(r.removeAttribute){r.removeAttribute(g);};};},toHashCode:function(v){{};var x=v.$$hash;if(x!=null){return x;};var w=this.__ca;if(w.length>0){x=w.pop();}else {x=(this.__bY++ )+this.__cb;};return v.$$hash=x;},clearHashCode:function(y){{};var z=y.$$hash;if(z!=null){this.__ca.push(z);try{delete y.$$hash;}catch(A){if(y.removeAttribute){y.removeAttribute(g);};};};},fromHashCode:function(B){return this.__G[B]||null;},shutdown:function(){this.inShutDown=true;var D=this.__G;var F=[];for(var C in D){F.push(C);};F.sort(function(a,b){return parseInt(b,10)-parseInt(a,10);});var E,i=0,l=F.length;while(true){try{for(;i-1;}},defer:function(G){qx.core.Environment.add(j,G.getVersion);qx.core.Environment.add(u,G.getName);}});})();(function(){var a="qx.log.Logger",b="[",c="...(+",d="array",e=")",f="info",g="node",h="instance",j="string",k="null",m="error",n="#",o="class",p=": ",q="warn",r="document",s="{...(",t="",u="number",v="stringify",w="]",x="date",y="unknown",z="function",A="text[",B="[...(",C="boolean",D="\n",E=")}",F="debug",G=")]",H="map",I="undefined",J="object";qx.Bootstrap.define(a,{statics:{__cj:F,setLevel:function(K){this.__cj=K;},getLevel:function(){return this.__cj;},setTreshold:function(L){this.__cm.setMaxMessages(L);},getTreshold:function(){return this.__cm.getMaxMessages();},__ck:{},__cl:0,register:function(P){if(P.$$id){return;};var M=this.__cl++ ;this.__ck[M]=P;P.$$id=M;var N=this.__cn;var O=this.__cm.getAllLogEvents();for(var i=0,l=O.length;i=N[this.__cj]){P.process(O[i]);};};},unregister:function(Q){var R=Q.$$id;if(R==null){return;};delete this.__ck[R];delete Q.$$id;},debug:function(T,S){qx.log.Logger.__co(F,arguments);},info:function(V,U){qx.log.Logger.__co(f,arguments);},warn:function(X,W){qx.log.Logger.__co(q,arguments);},error:function(ba,Y){qx.log.Logger.__co(m,arguments);},trace:function(bb){var bc=qx.dev.StackTrace.getStackTrace();qx.log.Logger.__co(f,[(typeof bb!==I?[bb].concat(bc):bc).join(D)]);},deprecatedMethodWarning:function(bf,bd){{var be;};},deprecatedClassWarning:function(bi,bg){{var bh;};},deprecatedEventWarning:function(bl,event,bj){{var bk;};},deprecatedMixinWarning:function(bn,bm){{var bo;};},deprecatedConstantWarning:function(bs,bq,bp){{var self,br;};},deprecateMethodOverriding:function(bv,bu,bw,bt){{var bx;};},clear:function(){this.__cm.clearHistory();},__cm:new qx.log.appender.RingBuffer(50),__cn:{debug:0,info:1,warn:2,error:3},__co:function(bz,bB){var bE=this.__cn;if(bE[bz]20){bM.push(c+(l-i)+e);break;};bM.push(this.__cq(bP[i],false));};}else {bM=B+bP.length+G;};break;case H:if(bO){var bK;var bR=[];for(var bQ in bP){bR.push(bQ);};bR.sort();bM=[];for(var i=0,l=bR.length;i20){bM.push(c+(l-i)+e);break;};bQ=bR[i];bK=this.__cq(bP[bQ],false);bK.key=bQ;bM.push(bK);};}else {var bN=0;for(var bQ in bP){bN++ ;};bM=s+bN+E;};break;};return {type:bS,text:bM,trace:bL};}},defer:function(bT){var bU=qx.Bootstrap.$$logs;for(var i=0;i9){return true;};var bc=[p,s];if(bb===D&&bc.indexOf(ba)>-1){var W=[b,C,j,F,k,t,x,d,n,u,E];if(W.indexOf(be.toLowerCase())>-1){return true;};};if(V!=window&&be.toLowerCase().indexOf(f)!=-1){var bd=qx.core.Environment.get(o);return (bd&&bd[z]==be);};var X=G+be.toLowerCase();var Y=(X in V);if(!Y){Y=typeof V[X]==a;if(!Y&&V.setAttribute){V.setAttribute(X,q);Y=typeof V[X]==a;V.removeAttribute(X);};};return Y;},getEventName:function(bf,bi){var bg=[v].concat(qx.bom.Style.VENDOR_PREFIXES);for(var i=0,l=bg.length;i0?b:d)+e;};return {name:name,"end-event":i};}},defer:function(j){qx.core.Environment.add(g,j.getSupport);}});})();(function(){var a="-",b="qx.bom.Style",c="",d='-',e="Webkit",f="ms",g=":",h=";",j="Moz",k="O",m="string",n="Khtml";qx.Bootstrap.define(b,{statics:{VENDOR_PREFIXES:[e,j,k,f,n],__ct:{},__cu:null,getPropertyName:function(q){var o=document.documentElement.style;if(o[q]!==undefined){return q;};for(var i=0,l=this.VENDOR_PREFIXES.length;i=8){return qx.bom.client.Engine.DOCUMENT_MODE===5;}else {return document.compatMode!==a;};},__cy:{"webkit":i,"gecko":p,"mshtml":q,"opera":H}[qx.bom.client.Engine.getName()]},defer:function(V){qx.core.Environment.add(k,V.getName);qx.core.Environment.add(C,V.getVersion);qx.core.Environment.add(K,V.getDocumentMode);qx.core.Environment.add(j,V.getQuirksMode);}});})();(function(){var a="__cD",b="UNKNOWN_",c="|bubble",d="",e="_",f="__cE",g="c",h="|",j="qx.globalErrorHandling",k="unload",m="|capture",n="DOM_",o="WIN_",p="QX_",q="qx.event.Manager",r="capture",s="DOCUMENT_";qx.Class.define(q,{extend:Object,construct:function(t,v){this.__cz=t;this.__cA=qx.core.ObjectRegistry.toHashCode(t);this.__cB=v;if(t.qx!==qx){var self=this;var u=function(){qx.bom.Event.removeNativeListener(t,k,arguments.callee);self.dispose();};if(qx.core.Environment.get(j)){qx.bom.Event.addNativeListener(t,k,qx.event.GlobalError.observeMethod(u));}else {qx.bom.Event.addNativeListener(t,k,u);};};this.__cC={};this.__cD={};this.__cE={};this.__cF={};},statics:{__cG:0,getNextUniqueId:function(){return (this.__cG++ )+d;}},members:{__cB:null,__cC:null,__cE:null,__cH:null,__cD:null,__cF:null,__cz:null,__cA:null,getWindow:function(){return this.__cz;},getWindowId:function(){return this.__cA;},getHandler:function(x){var w=this.__cD[x.classname];if(w){return w;};return this.__cD[x.classname]=new x(this);},getDispatcher:function(z){var y=this.__cE[z.classname];if(y){return y;};return this.__cE[z.classname]=new z(this,this.__cB);},getListeners:function(B,F,A){var D=B.$$hash||qx.core.ObjectRegistry.toHashCode(B);var G=this.__cC[D];if(!G){return null;};var E=F+(A?m:c);var C=G[E];return C?C.concat():null;},getAllListeners:function(){return this.__cC;},serializeListeners:function(I){var M=I.$$hash||qx.core.ObjectRegistry.toHashCode(I);var Q=this.__cC[M];var L=[];if(Q){var J,P,H,K,N;for(var O in Q){J=O.indexOf(h);P=O.substring(0,J);H=O.charAt(J+1)==g;K=Q[O];for(var i=0,l=K.length;i0);},importListeners:function(bi,bk){{};var bo=bi.$$hash||qx.core.ObjectRegistry.toHashCode(bi);var bq=this.__cC[bo]={};var bm=qx.event.Manager;for(var bj in bk){var bn=bk[bj];var bp=bn.type+(bn.capture?m:c);var bl=bq[bp];if(!bl){bl=bq[bp]=[];this.__cI(bi,bn.type,bn.capture);};bl.push({handler:bn.listener,context:bn.self,unique:bn.unique||(bm.__cG++ )+d});};},addListener:function(bt,bA,bv,self,br){{var bx;};var bs=bt.$$hash||qx.core.ObjectRegistry.toHashCode(bt);var bB=this.__cC[bs];if(!bB){bB=this.__cC[bs]={};};var bw=bA+(br?m:c);var bu=bB[bw];if(!bu){bu=bB[bw]=[];};if(bu.length===0){this.__cI(bt,bA,br);};var bz=(qx.event.Manager.__cG++ )+d;var by={handler:bv,context:self,unique:bz};bu.push(by);return bw+h+bz;},findHandler:function(bG,bP){var bN=false,bF=false,bQ=false,bC=false;var bM;if(bG.nodeType===1){bN=true;bM=n+bG.tagName.toLowerCase()+e+bP;}else if(bG.nodeType===9){bC=true;bM=s+bP;}else if(bG==this.__cz){bF=true;bM=o+bP;}else if(bG.classname){bQ=true;bM=p+bG.classname+e+bP;}else {bM=b+bG+e+bP;};var bE=this.__cF;if(bE[bM]){return bE[bM];};var bL=this.__cB.getHandlers();var bH=qx.event.IEventHandler;var bJ,bK,bI,bD;for(var i=0,l=bL.length;i0){cu=cw.split(h);cx=cu[0];cs=cu[1]===r;this.__cJ(ct,cx,cs);};};delete this.__cC[cv];return true;},deleteAllListeners:function(cz){delete this.__cC[cz];},__cJ:function(cD,cC,cA){var cB=this.findHandler(cD,cC);if(cB){cB.unregisterEvent(cD,cC,cA);return;};{};},dispatchEvent:function(cF,event){{var cJ;};var cK=event.getType();if(!event.getBubbles()&&!this.hasListener(cF,cK)){qx.event.Pool.getInstance().poolObject(event);return true;};if(!event.getTarget()){event.setTarget(cF);};var cI=this.__cB.getDispatchers();var cH;var cE=false;for(var i=0,l=cI.length;i=0;i-- ){s=r[i];if(s){s.dispose();};};}catch(t){throw new Error(h+p+d+q+f+t);};r.length=0;q[p]=null;},disposeMap:function(v,u){var w=v[u];if(!w){return;};if(qx.core.ObjectRegistry.inShutDown){v[u]=null;return;};try{var y;for(var x in w){y=w[x];if(w.hasOwnProperty(x)&&y){y.dispose();};};}catch(z){throw new Error(g+u+d+v+f+z);};v[u]=null;},disposeTriggeredBy:function(A,C){var B=C.dispose;C.dispose=function(){B.call(C);A.dispose();};},destroyContainer:function(E){{};var D=[];this._collectContainerChildren(E,D);var F=D.length;for(var i=F-1;i>=0;i-- ){D[i].destroy();};E.destroy();},_collectContainerChildren:function(I,H){var J=I.getChildren();for(var i=0;ithis.getSize()){if(k.destroy){k.destroy();}else {k.dispose();};return;};k.$$pooled=true;m.push(k);}},destruct:function(){var p=this.__cO;var n,o,i,l;for(n in p){o=p[n];for(i=0,l=o.length;i8)){qx.bom.Event.addNativeListener(this._window,n,this._onNativeLoadWrapped);}else {var self=this;var A=function(){try{document.documentElement.doScroll(m);if(document.body){self._onNativeLoadWrapped();};}catch(B){window.setTimeout(A,100);};};A();};qx.bom.Event.addNativeListener(this._window,j,this._onNativeLoadWrapped);};this._onNativeUnloadWrapped=qx.lang.Function.bind(this._onNativeUnload,this);qx.bom.Event.addNativeListener(this._window,k,this._onNativeUnloadWrapped);},_stopObserver:function(){if(this._onNativeLoadWrapped){qx.bom.Event.removeNativeListener(this._window,j,this._onNativeLoadWrapped);};qx.bom.Event.removeNativeListener(this._window,k,this._onNativeUnloadWrapped);this._onNativeLoadWrapped=null;this._onNativeUnloadWrapped=null;},_onNativeLoad:function(){var C=qx.core.Environment.select(i,{"true":qx.event.GlobalError.observeMethod(this.__cX),"false":this.__cX});C.apply(this,arguments);},__cX:function(){this.__cS=true;this.__cW();},_onNativeUnload:function(){var D=qx.core.Environment.select(i,{"true":qx.event.GlobalError.observeMethod(this.__cY),"false":this.__cY});D.apply(this,arguments);},__cY:function(){if(!this.__cV){this.__cV=true;try{qx.event.Registration.fireEvent(this._window,o);}catch(e){throw e;}finally{qx.core.ObjectRegistry.shutdown();};};}},destruct:function(){this._stopObserver();this._window=null;},defer:function(E){qx.event.Registration.addHandler(E);}});})();(function(){var a="qx.core.BaseInit",b="engine.name",c="Main runtime: ",d="",f="os.name",g="engine.version",h="Missing application class: ",i="Load runtime: ",j="ms",k="Could not detect engine!",l='base.Application',m="Finalize runtime: ",n="Could not detect operating system!",o="Could not detect the version of the engine!";qx.Class.define(a,{statics:{__da:null,getApplication:function(){return this.__da||null;},ready:function(){if(this.__da){return;};if(qx.core.Environment.get(b)==d){qx.log.Logger.warn(k);};if(qx.core.Environment.get(g)==d){qx.log.Logger.warn(o);};if(qx.core.Environment.get(f)==d){qx.log.Logger.warn(n);};qx.log.Logger.debug(this,i+(new Date-qx.Bootstrap.LOADSTART)+j);var q=l;var r=qx.Class.getByName(q);if(r){this.__da=new r;var p=new Date;this.__da.main();qx.log.Logger.debug(this,c+(new Date-p)+j);var p=new Date;this.__da.finalize();qx.log.Logger.debug(this,m+(new Date-p)+j);}else {qx.log.Logger.warn(h+q);};},__db:function(e){var s=this.__da;if(s){s.close();};},__dc:function(){var t=this.__da;if(t){t.terminate();};qx.core.ObjectRegistry.shutdown();}}});})();(function(){var a="ready",b="shutdown",c="beforeunload",d="qx.core.Init";qx.Class.define(d,{statics:{getApplication:qx.core.BaseInit.getApplication,ready:qx.core.BaseInit.ready,__db:function(e){var f=this.getApplication();if(f){e.setReturnValue(f.close());};},__dc:function(){var g=this.getApplication();if(g){g.terminate();};}},defer:function(h){qx.event.Registration.addListener(window,a,h.ready,h);qx.event.Registration.addListener(window,b,h.__dc,h);qx.event.Registration.addListener(window,c,h.__db,h);}});})();(function(){var a="To enable localization please include qx.locale.Manager into your build!",b="qx.locale.MTranslation";qx.Mixin.define(b,{members:{tr:function(c,e){var d=qx.locale.Manager;if(d){return d.tr.apply(d,arguments);};throw new Error(a);},trn:function(g,j,f,h){var i=qx.locale.Manager;if(i){return i.trn.apply(i,arguments);};throw new Error(a);},trc:function(n,m,l){var k=qx.locale.Manager;if(k){return k.trc.apply(k,arguments);};throw new Error(a);},trnc:function(p,q,r,o,s){var t=qx.locale.Manager;if(t){return t.trnc.apply(t,arguments);};throw new Error(a);},marktr:function(v){var u=qx.locale.Manager;if(u){return u.marktr.apply(u,arguments);};throw new Error(a);}}});})();(function(){var a="qx.application.IApplication";qx.Interface.define(a,{members:{main:function(){},finalize:function(){},close:function(){},terminate:function(){}}});})();(function(){var a="Abstract method call",b="abstract",c="*",d="",e="-webkit-tap-highlight-color: transparent;",f="-ms-touch-select: none;",g="qx.application.AbstractGui",h="-webkit-touch-callout: none;",i="-webkit-tap-highlight-color: rgba(0,0,0,0);";qx.Class.define(g,{type:b,extend:qx.core.Object,implement:[qx.application.IApplication],include:qx.locale.MTranslation,members:{__dd:null,_createRootWidget:function(){throw new Error(a);},getRoot:function(){return this.__dd;},main:function(){qx.theme.manager.Meta.getInstance().initialize();qx.ui.tooltip.Manager.getInstance();var j=[h,f,i,e].join(d);qx.ui.style.Stylesheet.getInstance().addRule(c,j);this.__dd=this._createRootWidget();window.scrollTo(0,0);},finalize:function(){this.render();},render:function(){qx.ui.core.queue.Manager.flush();},close:function(k){},terminate:function(){}},destruct:function(){this.__dd=null;}});})();(function(){var a="__dh",b="__de",c="qx.ui.tooltip.ToolTip",d="Boolean",f="",g="mouse",h="pointerover",i="interval",j="__df",k="_applyCurrent",l="widget",m="qx.ui.tooltip.Manager",n="pointermove",o="focusout",p="tooltip-error",q="singleton",r="pointerout";qx.Class.define(m,{type:q,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);qx.event.Registration.addListener(document.body,h,this.__dm,this,true);this.__de=new qx.event.Timer();this.__de.addListener(i,this.__dj,this);this.__df=new qx.event.Timer();this.__df.addListener(i,this.__dk,this);this.__dg={left:0,top:0};},properties:{current:{check:c,nullable:true,apply:k},showInvalidToolTips:{check:d,init:true},showToolTips:{check:d,init:true}},members:{__dg:null,__df:null,__de:null,__dh:null,__di:null,getSharedTooltip:function(){if(!this.__dh){this.__dh=new qx.ui.tooltip.ToolTip().set({rich:true});};return this.__dh;},getSharedErrorTooltip:function(){if(!this.__di){this.__di=new qx.ui.tooltip.ToolTip().set({appearance:p,rich:true});this.__di.setLabel(f);this.__di.syncAppearance();};return this.__di;},_applyCurrent:function(u,t){if(t&&qx.ui.core.Widget.contains(t,u)){return;};if(t){if(!t.isDisposed()){t.exclude();};this.__de.stop();this.__df.stop();};var v=qx.event.Registration;var s=document.body;if(u){this.__de.startWith(u.getShowTimeout());v.addListener(s,r,this.__dn,this,true);v.addListener(s,o,this.__do,this,true);v.addListener(s,n,this.__dl,this,true);}else {v.removeListener(s,r,this.__dn,this,true);v.removeListener(s,o,this.__do,this,true);v.removeListener(s,n,this.__dl,this,true);};},__dj:function(e){var w=this.getCurrent();if(w&&!w.isDisposed()){this.__df.startWith(w.getHideTimeout());if(w.getPlaceMethod()==l){w.placeToWidget(w.getOpener());}else {w.placeToPoint(this.__dg);};w.show();};this.__de.stop();},__dk:function(e){var x=this.getCurrent();if(x&&!x.isDisposed()){x.exclude();};this.__df.stop();this.resetCurrent();},__dl:function(e){var y=this.__dg;y.left=Math.round(e.getDocumentLeft());y.top=Math.round(e.getDocumentTop());},__dm:function(e){var z=qx.ui.core.Widget.getWidgetByElement(e.getTarget());this.__dl(e);this.showToolTip(z);},showToolTip:function(C){if(!C){return;};var D,B,E,A;while(C!=null){D=C.getToolTip();B=C.getToolTipText()||null;E=C.getToolTipIcon()||null;if(qx.Class.hasInterface(C.constructor,qx.ui.form.IForm)&&!C.isValid()){A=C.getInvalidMessage();};if(D||B||E||A){break;};C=C.getLayoutParent();};if(!C||(!C.getEnabled()&&!C.isShowToolTipWhenDisabled())||C.isBlockToolTip()||(!A&&!this.getShowToolTips())||(A&&!this.getShowInvalidToolTips())){return;};if(A){D=this.getSharedErrorTooltip().set({label:A});};if(!D){D=this.getSharedTooltip().set({label:B,icon:E});};this.setCurrent(D);D.setOpener(C);},__dn:function(e){var F=qx.ui.core.Widget.getWidgetByElement(e.getTarget());if(!F){return;};var G=qx.ui.core.Widget.getWidgetByElement(e.getRelatedTarget());if(!G&&e.getPointerType()==g){return;};var H=this.getCurrent();if(H&&(G==H||qx.ui.core.Widget.contains(H,G))){return;};if(G&&F&&qx.ui.core.Widget.contains(F,G)){return;};if(H&&!G){this.setCurrent(null);}else {this.resetCurrent();};},__do:function(e){var I=qx.ui.core.Widget.getWidgetByElement(e.getTarget());if(!I){return;};var J=this.getCurrent();if(J&&J==I.getToolTip()){this.setCurrent(null);};}},destruct:function(){qx.event.Registration.removeListener(document.body,h,this.__dm,this,true);this._disposeObjects(b,j,a);this.__dg=null;}});})();(function(){var a="best-fit",b="placementRight",c="Boolean",d="bottom-right",e="' ",f="widget",g="placementLeft",h="qx.ui.core.MPlacement",i="left-top",j="Integer",k="left-middle",l="right-middle",m="top-center",n="[qx.ui.core.MPlacement.setMoveDirection()], the value was '",o="offsetRight",p="interval",q="keep-align",r="bottom-left",s="pointer",t="direct",u="shorthand",v="Invalid value for the parameter 'direction' ",w="offsetLeft",x="top-left",y="appear",z="offsetBottom",A="top",B="top-right",C="offsetTop",D="but 'top' or 'left' are allowed.",E="right-bottom",F="disappear",G="right-top",H="bottom-center",I="left-bottom",J="left";qx.Mixin.define(h,{statics:{__dp:null,__dq:J,setVisibleElement:function(K){this.__dp=K;},getVisibleElement:function(){return this.__dp;},setMoveDirection:function(L){if(L===A||L===J){this.__dq=L;}else {throw new Error(v+n+L+e+D);};},getMoveDirection:function(){return this.__dq;}},properties:{position:{check:[x,m,B,r,H,d,i,k,I,G,l,E],init:r,themeable:true},placeMethod:{check:[f,s],init:s,themeable:true},domMove:{check:c,init:false},placementModeX:{check:[t,q,a],init:q,themeable:true},placementModeY:{check:[t,q,a],init:q,themeable:true},offsetLeft:{check:j,init:0,themeable:true},offsetTop:{check:j,init:0,themeable:true},offsetRight:{check:j,init:0,themeable:true},offsetBottom:{check:j,init:0,themeable:true},offset:{group:[C,o,z,w],mode:u,themeable:true}},members:{__dr:null,__ds:null,__dt:null,getLayoutLocation:function(N){var P,O,R,top;O=N.getBounds();if(!O){return null;};R=O.left;top=O.top;var Q=O;N=N.getLayoutParent();while(N&&!N.isRootWidget()){O=N.getBounds();R+=O.left;top+=O.top;P=N.getInsets();R+=P.left;top+=P.top;N=N.getLayoutParent();};if(N.isRootWidget()){var M=N.getContentLocation();if(M){R+=M.left;top+=M.top;};};return {left:R,top:top,right:R+Q.width,bottom:top+Q.height};},moveTo:function(Y,top){var X=qx.ui.core.MPlacement.getVisibleElement();if(X){var W=this.getBounds();var V=X.getContentLocation();if(W&&V){var U=top+W.height;var T=Y+W.width;if((T>V.left&&YV.top&&top=0&&r+s<=q;}}});})();(function(){var a="qx.util.placement.KeepAlignAxis",b="edge-start",c="edge-end";qx.Bootstrap.define(a,{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,_isInRange:qx.util.placement.AbstractAxis._isInRange,computeStart:function(k,f,g,d,j){var i=this._moveToEdgeAndAlign(k,f,g,j);var e,h;if(this._isInRange(i,k,d)){return i;};if(j==b||j==c){e=f.start-g.end;h=f.end+g.start;}else {e=f.end-g.end;h=f.start+g.start;};if(e>d-h){i=Math.max(0,e-k);}else {i=h;};return i;}}});})();(function(){var a="qx.util.placement.DirectAxis";qx.Bootstrap.define(a,{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(d,e,f,b,c){return this._moveToEdgeAndAlign(d,e,f,c);}}});})();(function(){var a="qx.util.placement.BestFitAxis";qx.Bootstrap.define(a,{statics:{_isInRange:qx.util.placement.AbstractAxis._isInRange,_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(g,c,d,b,f){var e=this._moveToEdgeAndAlign(g,c,d,f);if(this._isInRange(e,g,b)){return e;};if(e<0){e=Math.min(0,b-g);};if(e+g>b){e=Math.max(0,b-g);};return e;}}});})();(function(){var a="Number",b="interval",c="_applyTimeoutInterval",d="qx.event.type.Event",e="qx.event.Idle",f="singleton";qx.Class.define(e,{extend:qx.core.Object,type:f,construct:function(){qx.core.Object.call(this);var g=new qx.event.Timer(this.getTimeoutInterval());g.addListener(b,this._onInterval,this);g.start();this.__dE=g;},events:{"interval":d},properties:{timeoutInterval:{check:a,init:100,apply:c}},members:{__dE:null,_applyTimeoutInterval:function(h){this.__dE.setInterval(h);},_onInterval:function(){this.fireEvent(b);}},destruct:function(){if(this.__dE){this.__dE.stop();};this.__dE=null;}});})();(function(){var a="qx.event.Timer",b="_applyInterval",c="_applyEnabled",d="Boolean",f="interval",g="qx.event.type.Event",h="Integer";qx.Class.define(a,{extend:qx.core.Object,construct:function(i){qx.core.Object.call(this);this.setEnabled(false);if(i!=null){this.setInterval(i);};var self=this;this.__dF=function(){self._oninterval.call(self);};},events:{"interval":g},statics:{once:function(j,k,l){{};var m=new qx.event.Timer(l);m.__dG=j;m.addListener(f,function(e){m.stop();j.call(k,e);m.dispose();k=null;},k);m.start();return m;}},properties:{enabled:{init:true,check:d,apply:c},interval:{check:h,init:1000,apply:b}},members:{__dH:null,__dF:null,_applyInterval:function(o,n){if(this.getEnabled()){this.restart();};},_applyEnabled:function(q,p){if(p){window.clearInterval(this.__dH);this.__dH=null;}else if(q){this.__dH=window.setInterval(this.__dF,this.getInterval());};},start:function(){this.setEnabled(true);},startWith:function(r){this.setInterval(r);this.start();},stop:function(){this.setEnabled(false);},restart:function(){this.stop();this.start();},restartWith:function(s){this.stop();this.startWith(s);},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.$$disposed){return;};if(this.getEnabled()){this.fireEvent(f);};})},destruct:function(){if(this.__dH){window.clearInterval(this.__dH);};this.__dH=this.__dF=null;}});})();(function(){var a="borderBottomWidth",b="scroll",c="qx.bom.element.Location",d="gecko",e="paddingLeft",f="borderRightWidth",g="auto",h="static",i="borderTopWidth",j="borderLeftWidth",k="marginBottom",l="marginTop",m="overflowY",n="marginLeft",o="border-box",p="padding",q="paddingBottom",r="paddingTop",s="marginRight",t="browser.quirksmode",u="engine.name",v="position",w="margin",x="paddingRight",y="BODY",z="overflowX",A="border";qx.Bootstrap.define(c,{statics:{__dI:function(C,B){return qx.bom.element.Style.get(C,B,qx.bom.element.Style.COMPUTED_MODE,false);},__dJ:function(E,D){return parseInt(qx.bom.element.Style.get(E,D,qx.bom.element.Style.COMPUTED_MODE,false),10)||0;},__dK:function(G){var H=0,top=0;var F=qx.dom.Node.getWindow(G);H-=qx.bom.Viewport.getScrollLeft(F);top-=qx.bom.Viewport.getScrollTop(F);return {left:H,top:top};},__dL:qx.core.Environment.select(u,{"mshtml":function(K){var J=qx.dom.Node.getDocument(K);var I=J.body;var L=0;var top=0;L-=I.clientLeft+J.documentElement.clientLeft;top-=I.clientTop+J.documentElement.clientTop;if(!qx.core.Environment.get(t)){L+=this.__dJ(I,j);top+=this.__dJ(I,i);};return {left:L,top:top};},"webkit":function(O){var N=qx.dom.Node.getDocument(O);var M=N.body;var P=M.offsetLeft;var top=M.offsetTop;return {left:P,top:top};},"gecko":function(R){var Q=qx.dom.Node.getDocument(R).body;var S=Q.offsetLeft;var top=Q.offsetTop;if(qx.bom.element.BoxSizing.get(Q)!==o){S+=this.__dJ(Q,j);top+=this.__dJ(Q,i);};return {left:S,top:top};},"default":function(U){var T=qx.dom.Node.getDocument(U).body;var V=T.offsetLeft;var top=T.offsetTop;return {left:V,top:top};}}),__dM:function(W){var X=W.getBoundingClientRect();return {left:Math.round(X.left),top:Math.round(X.top)};},get:function(bf,bg){if(bf.tagName==y){var location=this.__dN(bf);var bj=location.left;var top=location.top;}else {var Y=this.__dL(bf);var bd=this.__dM(bf);var scroll=this.__dK(bf);var bj=bd.left+Y.left-scroll.left;var top=bd.top+Y.top-scroll.top;};var ba;var be;if(bf instanceof SVGElement){var bk=bf.getBoundingClientRect();ba=bk.width;be=bk.height;}else {ba=bf.offsetWidth;be=bf.offsetHeight;};var bb=bj+ba;var bc=top+be;if(bg){if(bg==p||bg==b){var bi=qx.bom.element.Style.get(bf,z);if(bi==b||bi==g){bb+=bf.scrollWidth-ba+this.__dJ(bf,j)+this.__dJ(bf,f);};var bh=qx.bom.element.Style.get(bf,m);if(bh==b||bh==g){bc+=bf.scrollHeight-be+this.__dJ(bf,i)+this.__dJ(bf,a);};};switch(bg){case p:bj+=this.__dJ(bf,e);top+=this.__dJ(bf,r);bb-=this.__dJ(bf,x);bc-=this.__dJ(bf,q);case b:bj-=bf.scrollLeft;top-=bf.scrollTop;bb-=bf.scrollLeft;bc-=bf.scrollTop;case A:bj+=this.__dJ(bf,j);top+=this.__dJ(bf,i);bb-=this.__dJ(bf,f);bc-=this.__dJ(bf,a);break;case w:bj-=this.__dJ(bf,n);top-=this.__dJ(bf,l);bb+=this.__dJ(bf,s);bc+=this.__dJ(bf,k);break;};};return {left:bj,top:top,right:bb,bottom:bc};},__dN:function(bl){var top=bl.offsetTop;var bm=bl.offsetLeft;top+=this.__dJ(bl,l);bm+=this.__dJ(bl,n);if(qx.core.Environment.get(u)===d){top+=this.__dJ(bl,j);bm+=this.__dJ(bl,i);};return {left:bm,top:top};},getLeft:function(bn,bo){return this.get(bn,bo).left;},getTop:function(bp,bq){return this.get(bp,bq).top;},getRight:function(br,bs){return this.get(br,bs).right;},getBottom:function(bt,bu){return this.get(bt,bu).bottom;},getRelative:function(by,bx,bw,bv){var bA=this.get(by,bw);var bz=this.get(bx,bv);return {left:bA.left-bz.left,top:bA.top-bz.top,right:bA.right-bz.right,bottom:bA.bottom-bz.bottom};},getPosition:function(bB){return this.getRelative(bB,this.getOffsetParent(bB));},getOffsetParent:function(bE){if(bE instanceof SVGElement){return document.body;};var bD=bE.offsetParent||document.body;var bC=qx.bom.element.Style;while(bD&&(!/^body|html$/i.test(bD.tagName)&&bC.get(bD,v)===h)){bD=bD.offsetParent;};return bD;}}});})();(function(){var a='[object Boolean]',b='[object String]',c='constructor',d='[object Date]',e='[object Number]',f='object',g="qx.lang.Object",h='[object RegExp]',j='[object Array]';qx.Bootstrap.define(g,{statics:{empty:function(k){{};for(var m in k){if(k.hasOwnProperty(m)){delete k[m];};};},isEmpty:function(n){{};for(var o in n){return false;};return true;},getLength:qx.Bootstrap.objectGetLength,getValues:function(q){{};var r=[];var p=Object.keys(q);for(var i=0,l=p.length;i=1){m=1;};if(m<0.00001){m=0;};if(qx.core.Environment.get(g)){return i+m+h;}else {return e+(m*100)+b;};},"default":function(n){return i+n+h;}}),set:qx.core.Environment.select(a,{"mshtml":function(q,o){if(qx.core.Environment.get(g)){q.style.opacity=o;}else {var p=qx.bom.element.Style.get(q,l,qx.bom.element.Style.COMPUTED_MODE,false);if(o>=1){o=1;};if(o<0.00001){o=0;};if(!q.currentStyle||!q.currentStyle.hasLayout){q.style.zoom=1;};q.style.filter=p.replace(/alpha\([^\)]*\)/gi,c)+j+o*100+d;};},"default":function(s,r){s.style.opacity=r;}}),reset:qx.core.Environment.select(a,{"mshtml":function(u){if(qx.core.Environment.get(g)){u.style.opacity=c;}else {var t=qx.bom.element.Style.get(u,l,qx.bom.element.Style.COMPUTED_MODE,false);u.style.filter=t.replace(/alpha\([^\)]*\)/gi,c);};},"default":function(v){v.style.opacity=c;}}),get:qx.core.Environment.select(a,{"mshtml":function(z,y){if(qx.core.Environment.get(g)){var w=qx.bom.element.Style.get(z,k,y,false);if(w!=null){return parseFloat(w);};return 1.0;}else {var x=qx.bom.element.Style.get(z,l,y,false);if(x){var w=x.match(/alpha\(opacity=(.*)\)/);if(w&&w[1]){return parseFloat(w[1])/100;};};return 1.0;};},"default":function(C,B){var A=qx.bom.element.Style.get(C,k,B,false);if(A!=null){return parseFloat(A);};return 1.0;}})}});})();(function(){var a="cursor:",b="engine.name",c="",d="mshtml",e="nw-resize",f="engine.version",g="nesw-resize",h="browser.documentmode",i=";",j="nwse-resize",k="qx.bom.element.Cursor",l="ne-resize",m="browser.quirksmode",n="cursor";qx.Bootstrap.define(k,{statics:{__dP:{},compile:function(o){return a+(this.__dP[o]||o)+i;},get:function(q,p){return qx.bom.element.Style.get(q,n,p,false);},set:function(s,r){s.style.cursor=this.__dP[r]||r;},reset:function(t){t.style.cursor=c;}},defer:function(u){if(qx.core.Environment.get(b)==d&&((parseFloat(qx.core.Environment.get(f))<9||qx.core.Environment.get(h)<9)&&!qx.core.Environment.get(m))){u.__dP[g]=l;u.__dP[j]=e;};}});})();(function(){var a="clip:auto;",b="rect(",c=")",d=");",e="",f="px",g="Could not parse clip string: ",h="qx.bom.element.Clip",i="string",j="clip:rect(",k=" ",l="clip",m="rect(auto,auto,auto,auto)",n="rect(auto, auto, auto, auto)",o="auto",p=",";qx.Bootstrap.define(h,{statics:{compile:function(q){if(!q){return a;};var v=q.left;var top=q.top;var u=q.width;var t=q.height;var r,s;if(v==null){r=(u==null?o:u+f);v=o;}else {r=(u==null?o:v+u+f);v=v+f;};if(top==null){s=(t==null?o:t+f);top=o;}else {s=(t==null?o:top+t+f);top=top+f;};return j+top+p+r+p+s+p+v+d;},get:function(z,D){var x=qx.bom.element.Style.get(z,l,D,false);var C,top,A,E;var w,y;if(typeof x===i&&x!==o&&x!==e){x=x.trim();if(/\((.*)\)/.test(x)){var F=RegExp.$1;if(/,/.test(F)){var B=F.split(p);}else {var B=F.split(k);};top=B[0].trim();w=B[1].trim();y=B[2].trim();C=B[3].trim();if(C===o){C=null;};if(top===o){top=null;};if(w===o){w=null;};if(y===o){y=null;};if(top!=null){top=parseInt(top,10);};if(w!=null){w=parseInt(w,10);};if(y!=null){y=parseInt(y,10);};if(C!=null){C=parseInt(C,10);};if(w!=null&&C!=null){A=w-C;}else if(w!=null){A=w;};if(y!=null&&top!=null){E=y-top;}else if(y!=null){E=y;};}else {throw new Error(g+x);};};return {left:C||null,top:top||null,width:A||null,height:E||null};},set:function(L,G){if(!G){L.style.clip=m;return;};var M=G.left;var top=G.top;var K=G.width;var J=G.height;var H,I;if(M==null){H=(K==null?o:K+f);M=o;}else {H=(K==null?o:M+K+f);M=M+f;};if(top==null){I=(J==null?o:J+f);top=o;}else {I=(J==null?o:top+J+f);top=top+f;};L.style.clip=b+top+p+H+p+I+p+M+c;},reset:function(N){N.style.clip=n;}}});})();(function(){var a="border-box",b="qx.bom.element.BoxSizing",c="css.boxsizing",d="",e="boxSizing",f="content-box",g=":",h=";";qx.Bootstrap.define(b,{statics:{__dQ:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__dR:function(j){var i=this.__dQ;return i.tags[j.tagName.toLowerCase()]||i.types[j.type];},compile:function(k){if(qx.core.Environment.get(c)){var l=qx.bom.Style.getCssName(qx.core.Environment.get(c));return l+g+k+h;}else {{};};},get:function(m){if(qx.core.Environment.get(c)){return qx.bom.element.Style.get(m,e,null,false)||d;};if(qx.bom.Document.isStandardMode(qx.dom.Node.getWindow(m))){if(!this.__dR(m)){return f;};};return a;},set:function(o,n){if(qx.core.Environment.get(c)){try{o.style[qx.core.Environment.get(c)]=n;}catch(p){{};};}else {{};};},reset:function(q){this.set(q,d);}}});})();(function(){var a="css.float",b="foo",c="css.borderimage.standardsyntax",d="detect",e="borderRadius",f="boxSizing",g="stretch",h="css.borderradius",j="content",k="css.inlineblock",l="css.gradient.filter",m="css.appearance",n="css.opacity",o="div",p="pointerEvents",q="css.gradient.radial",r="css.pointerevents",s="input",t="color",u="string",v="borderImage",w="userSelect",x="styleFloat",y="css.textShadow.filter",z="css.usermodify",A="flexbox",B='url("foo.png") 4 4 4 4 fill stretch',C="css.boxmodel",D="qx.bom.client.Css",E="css.boxshadow",F="appearance",G="-ms-flexbox",H="placeholder",I="-moz-none",J="backgroundImage",K="css.textShadow",L="DXImageTransform.Microsoft.Shadow",M="flex",N="css.alphaimageloaderneeded",O="css.gradient.legacywebkit",P="css.flexboxSyntax",Q="linear-gradient(0deg, #fff, #000)",R="textShadow",S="auto",T="css.borderimage",U="foo.png",V="rgba(1, 2, 3, 0.5)",W="color=#666666,direction=45",X="radial-gradient(0px 0px, cover, red 50%, blue 100%)",Y="rgba",bG="(",bH="-webkit-flex",bI='url("foo.png") 4 4 4 4 stretch',bC="css.gradient.linear",bD="DXImageTransform.Microsoft.Gradient",bE="css.userselect",bF="span",bM="css.boxsizing",bN="-webkit-gradient(linear,0% 0%,100% 100%,from(white), to(red))",bO="mshtml",ca="css.rgba",bJ=");",bK="4 fill",bL="none",bA="startColorStr=#550000FF, endColorStr=#55FFFF00",bR="progid:",bB="css.placeholder",bS="css.userselect.none",bT="css.textoverflow",bX="inline-block",bP="-moz-inline-box",bY="textOverflow",bQ="userModify",bU="boxShadow",bV="cssFloat",bW="border";qx.Bootstrap.define(D,{statics:{__dS:null,getBoxModel:function(){var content=qx.bom.client.Engine.getName()!==bO||!qx.bom.client.Browser.getQuirksMode();return content?j:bW;},getTextOverflow:function(){return qx.bom.Style.getPropertyName(bY);},getPlaceholder:function(){var i=document.createElement(s);return H in i;},getAppearance:function(){return qx.bom.Style.getPropertyName(F);},getBorderRadius:function(){return qx.bom.Style.getPropertyName(e);},getBoxShadow:function(){return qx.bom.Style.getPropertyName(bU);},getBorderImage:function(){return qx.bom.Style.getPropertyName(v);},getBorderImageSyntax:function(){var cc=qx.bom.client.Css.getBorderImage();if(!cc){return null;};var cb=document.createElement(o);if(cc===v){cb.style[cc]=B;if(cb.style.borderImageSource.indexOf(U)>=0&&cb.style.borderImageSlice.indexOf(bK)>=0&&cb.style.borderImageRepeat.indexOf(g)>=0){return true;};}else {cb.style[cc]=bI;if(cb.style[cc].indexOf(U)>=0){return false;};};return null;},getUserSelect:function(){return qx.bom.Style.getPropertyName(w);},getUserSelectNone:function(){var ce=qx.bom.client.Css.getUserSelect();if(ce){var cd=document.createElement(bF);cd.style[ce]=I;return cd.style[ce]===I?I:bL;};return null;},getUserModify:function(){return qx.bom.Style.getPropertyName(bQ);},getFloat:function(){var cf=document.documentElement.style;return cf.cssFloat!==undefined?bV:cf.styleFloat!==undefined?x:null;},getLinearGradient:function(){qx.bom.client.Css.__dS=false;var cj=Q;var cg=document.createElement(o);var ch=qx.bom.Style.getAppliedStyle(cg,J,cj);if(!ch){cj=bN;var ch=qx.bom.Style.getAppliedStyle(cg,J,cj,false);if(ch){qx.bom.client.Css.__dS=true;};};if(!ch){return null;};var ci=/(.*?)\(/.exec(ch);return ci?ci[1]:null;},getFilterGradient:function(){return qx.bom.client.Css.__dT(bD,bA);},getRadialGradient:function(){var cn=X;var ck=document.createElement(o);var cl=qx.bom.Style.getAppliedStyle(ck,J,cn);if(!cl){return null;};var cm=/(.*?)\(/.exec(cl);return cm?cm[1]:null;},getLegacyWebkitGradient:function(){if(qx.bom.client.Css.__dS===null){qx.bom.client.Css.getLinearGradient();};return qx.bom.client.Css.__dS;},getRgba:function(){var co;try{co=document.createElement(o);}catch(cp){co=document.createElement();};try{co.style[t]=V;if(co.style[t].indexOf(Y)!=-1){return true;};}catch(cq){};return false;},getBoxSizing:function(){return qx.bom.Style.getPropertyName(f);},getInlineBlock:function(){var cr=document.createElement(bF);cr.style.display=bX;if(cr.style.display==bX){return bX;};cr.style.display=bP;if(cr.style.display!==bP){return bP;};return null;},getOpacity:function(){return (typeof document.documentElement.style.opacity==u);},getTextShadow:function(){return !!qx.bom.Style.getPropertyName(R);},getFilterTextShadow:function(){return qx.bom.client.Css.__dT(L,W);},__dT:function(cv,ct){var cu=false;var cw=bR+cv+bG+ct+bJ;var cs=document.createElement(o);document.body.appendChild(cs);cs.style.filter=cw;if(cs.filters&&cs.filters.length>0&&cs.filters.item(cv).enabled==true){cu=true;};document.body.removeChild(cs);return cu;},getAlphaImageLoaderNeeded:function(){return qx.bom.client.Engine.getName()==bO&&qx.bom.client.Browser.getDocumentMode()<9;},getPointerEvents:function(){var cx=document.documentElement;if(p in cx.style){var cz=cx.style.pointerEvents;cx.style.pointerEvents=S;cx.style.pointerEvents=b;var cy=cx.style.pointerEvents==S;cx.style.pointerEvents=cz;return cy;};return false;},getFlexboxSyntax:function(){var cB=null;var cA=document.createElement(d);var cC=[{value:M,syntax:M},{value:G,syntax:A},{value:bH,syntax:M}];for(var i=0;i=8){return (h||window).document.documentMode===5;}else {return (h||window).document.compatMode!==b;};},"webkit":function(i){if(document.compatMode===undefined){var j=(i||window).document.createElement(g);j.style.cssText=c;return j.style.width===f?true:false;}else {return (i||window).document.compatMode!==b;};},"default":function(k){return (k||window).document.compatMode!==b;}}),isStandardMode:function(l){return !this.isQuirksMode(l);},getWidth:function(m){var o=(m||window).document;var n=qx.bom.Viewport.getWidth(m);var scroll=this.isStandardMode(m)?o.documentElement.scrollWidth:o.body.scrollWidth;return Math.max(scroll,n);},getHeight:function(p){var r=(p||window).document;var q=qx.bom.Viewport.getHeight(p);var scroll=this.isStandardMode(p)?r.documentElement.scrollHeight:r.body.scrollHeight;return Math.max(scroll,q);}}});})();(function(){var a="ios",b="os.name",c="undefined",d="qx.bom.Viewport";qx.Bootstrap.define(d,{statics:{getWidth:function(e){var e=e||window;var f=e.document;return qx.bom.Document.isStandardMode(e)?f.documentElement.clientWidth:f.body.clientWidth;},getHeight:function(g){var g=g||window;var h=g.document;if(qx.core.Environment.get(b)==a&&window.innerHeight!=h.documentElement.clientHeight){return window.innerHeight;};return qx.bom.Document.isStandardMode(g)?h.documentElement.clientHeight:h.body.clientHeight;},getScrollLeft:function(i){var i=i?i:window;if(typeof i.pageXOffset!==c){return i.pageXOffset;};var j=i.document;return j.documentElement.scrollLeft||j.body.scrollLeft;},getScrollTop:function(k){var k=k?k:window;if(typeof k.pageYOffset!==c){return k.pageYOffset;};var l=k.document;return l.documentElement.scrollTop||l.body.scrollTop;},__eb:function(m){var o=this.getWidth(m)>this.getHeight(m)?90:0;var n=m.orientation;if(n==null||Math.abs(n%180)==o){return {"-270":90,"-180":180,"-90":-90,"0":0,"90":90,"180":180,"270":-90};}else {return {"-270":180,"-180":-90,"-90":0,"0":90,"90":180,"180":-90,"270":0};};},__ec:null,getOrientation:function(p){var p=p||window.top;var q=p.orientation;if(q==null){q=this.getWidth(p)>this.getHeight(p)?90:0;}else {if(this.__ec==null){this.__ec=this.__eb(p);};q=this.__ec[q];};return q;},isLandscape:function(r){var s=this.getOrientation(r);return s===-90||s===90;},isPortrait:function(t){var u=this.getOrientation(t);return u===0||u===180;}}});})();(function(){var a="changeWidth",b="Boolean",c="allowShrinkY",d="_applyAlign",e="_applyStretching",f="bottom",g="Integer",h="changeTheme",i="_applyDimension",j="baseline",k="marginBottom",l="qx.ui.core.LayoutItem",m="center",n="marginTop",o="allowGrowX",p="shorthand",q="middle",r="marginLeft",s="qx.dyntheme",t="allowShrinkX",u="top",v="right",w="marginRight",x="abstract",y="_applyMargin",z="allowGrowY",A="left",B="changeHeight";qx.Class.define(l,{type:x,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);if(qx.core.Environment.get(s)){qx.theme.manager.Meta.getInstance().addListener(h,this._onChangeTheme,this);};},properties:{minWidth:{check:g,nullable:true,apply:i,init:null,themeable:true},width:{check:g,event:a,nullable:true,apply:i,init:null,themeable:true},maxWidth:{check:g,nullable:true,apply:i,init:null,themeable:true},minHeight:{check:g,nullable:true,apply:i,init:null,themeable:true},height:{check:g,event:B,nullable:true,apply:i,init:null,themeable:true},maxHeight:{check:g,nullable:true,apply:i,init:null,themeable:true},allowGrowX:{check:b,apply:e,init:true,themeable:true},allowShrinkX:{check:b,apply:e,init:true,themeable:true},allowGrowY:{check:b,apply:e,init:true,themeable:true},allowShrinkY:{check:b,apply:e,init:true,themeable:true},allowStretchX:{group:[o,t],mode:p,themeable:true},allowStretchY:{group:[z,c],mode:p,themeable:true},marginTop:{check:g,init:0,apply:y,themeable:true},marginRight:{check:g,init:0,apply:y,themeable:true},marginBottom:{check:g,init:0,apply:y,themeable:true},marginLeft:{check:g,init:0,apply:y,themeable:true},margin:{group:[n,w,k,r],mode:p,themeable:true},alignX:{check:[A,m,v],nullable:true,apply:d,themeable:true},alignY:{check:[u,q,f,j],nullable:true,apply:d,themeable:true}},members:{_onChangeTheme:qx.core.Environment.select(s,{"true":function(){var E=qx.util.PropertyUtil.getAllProperties(this.constructor);for(var name in E){var D=E[name];if(D.themeable){var C=qx.util.PropertyUtil.getUserValue(this,name);if(C==null){qx.util.PropertyUtil.resetThemed(this,name);};};};},"false":null}),__ed:null,__ee:null,__ef:null,__eg:null,__eh:null,__ei:null,__ej:null,getBounds:function(){return this.__ei||this.__ee||null;},clearSeparators:function(){},renderSeparator:function(F,G){},renderLayout:function(N,top,K,J){{var L;};var I=null;if(this.getHeight()==null&&this._hasHeightForWidth()){var I=this._getHeightForWidth(K);};if(I!=null&&I!==this.__ed){this.__ed=I;qx.ui.core.queue.Layout.add(this);return null;};var H=this.__ee;if(!H){H=this.__ee={};};var M={};if(N!==H.left||top!==H.top){M.position=true;H.left=N;H.top=top;};if(K!==H.width||J!==H.height){M.size=true;H.width=K;H.height=J;};if(this.__ef){M.local=true;delete this.__ef;};if(this.__eh){M.margin=true;delete this.__eh;};return M;},isExcluded:function(){return false;},hasValidLayout:function(){return !this.__ef;},scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this);},invalidateLayoutCache:function(){this.__ef=true;this.__eg=null;},getSizeHint:function(O){var P=this.__eg;if(P){return P;};if(O===false){return null;};P=this.__eg=this._computeSizeHint();if(this._hasHeightForWidth()&&this.__ed&&this.getHeight()==null){P.height=this.__ed;};if(P.minWidth>P.width){P.width=P.minWidth;};if(P.maxWidthP.height){P.height=P.minHeight;};if(P.maxHeight=0;i-- ){var n=o[i].$$hash;if(p[n]!=null){o[i].addChildrenToQueue(o);};};var l={};for(var i=o.length-1;i>=0;i-- ){var n=o[i].$$hash;l[n]=p[n];p[n]=null;};for(var i=o.length-1;i>=0;i-- ){var m=o[i];var n=m.$$hash;o.splice(i,1);if(p[n]==null){this.__em(m);};if(p[n]&&p[n]!=l[n]){m.checkAppearanceNeeds();};};this.__el=[];}}});})();(function(){var a="qx.util.DeferredCallManager",b="singleton";qx.Class.define(a,{extend:qx.core.Object,type:b,construct:function(){this.__en={};this.__eo=qx.lang.Function.bind(this.__es,this);this.__ep=false;},members:{__eq:null,__er:null,__en:null,__ep:null,__eo:null,schedule:function(d){if(this.__eq==null){this.__eq=window.setTimeout(this.__eo,0);};var c=d.toHashCode();if(this.__er&&this.__er[c]){return;};this.__en[c]=d;this.__ep=true;},cancel:function(f){var e=f.toHashCode();if(this.__er&&this.__er[e]){this.__er[e]=null;return;};delete this.__en[e];if(qx.lang.Object.isEmpty(this.__en)&&this.__eq!=null){window.clearTimeout(this.__eq);this.__eq=null;};},__es:qx.event.GlobalError.observeMethod(function(){this.__eq=null;while(this.__ep){this.__er=qx.lang.Object.clone(this.__en);this.__en={};this.__ep=false;for(var h in this.__er){var g=this.__er[h];if(g){this.__er[h]=null;g.call();};};};this.__er=null;})},destruct:function(){if(this.__eq!=null){window.clearTimeout(this.__eq);};this.__eo=this.__en=null;}});})();(function(){var a="qx.util.DeferredCall";qx.Class.define(a,{extend:qx.core.Object,construct:function(b,c){qx.core.Object.call(this);this.__bH=b;this.__bJ=c||null;this.__et=qx.util.DeferredCallManager.getInstance();},members:{__bH:null,__bJ:null,__et:null,cancel:function(){this.__et.cancel(this);},schedule:function(){this.__et.schedule(this);},call:function(){{var d;};this.__bJ?this.__bH.apply(this.__bJ):this.__bH();}},destruct:function(){this.cancel();this.__bJ=this.__bH=this.__et=null;}});})();(function(){var a="mshtml",b="engine.name",c="pop.push.reverse.shift.sort.splice.unshift.join.slice",d="number",e="qx.type.BaseArray",f=".";qx.Bootstrap.define(e,{extend:Array,construct:function(g){},members:{toArray:null,valueOf:null,pop:null,push:null,reverse:null,shift:null,sort:null,splice:null,unshift:null,concat:null,join:null,slice:null,toString:null,indexOf:null,lastIndexOf:null,forEach:null,filter:null,map:null,some:null,every:null}});(function(){function h(p){if((qx.core.Environment.get(b)==a)){j.prototype={length:0,$$isArray:true};var n=c.split(f);for(var length=n.length;length;){j.prototype[n[ --length]]=Array.prototype[n[length]];};};var m=Array.prototype.slice;j.prototype.concat=function(){var r=this.slice(0);for(var i=0,length=arguments.length;i>.5?length:this.push(length);}else if(arguments.length){this.push.apply(this,arguments);};};function k(){};k.prototype=[];j.prototype=new k;j.prototype.length=0;qx.type.BaseArray=h(j);})();})();(function(){var a="name",b="qxWeb",c="toString",d="$",e="number",f="_",g="data-qx-class",h="basename",j="classname";qx.Bootstrap.define(b,{extend:qx.type.BaseArray,statics:{__eu:[],$$qx:qx,$init:function(p,n){if(p.length&&p.length==1&&p[0]&&p[0].$widget instanceof qxWeb){return p[0].$widget;};var o=[];for(var i=0;i>10|0xD800,fR&0x3FF|0xDC00);};try{fG.apply((ev=eI.call(eH.childNodes)),eH.childNodes);ev[eH.childNodes.length].nodeType;}catch(e){fG={apply:ev.length?function(fT,fS){fD.apply(fT,eI.call(fS));}:function(fV,fU){var j=fV.length,i=0;while((fV[j++ ]=fU[i++ ])){};fV.length=j-1;}};};function fL(gg,fX,gb,gd){var gi,fY,m,fW,i,ge,gh,ga,gf,gc;if((fX?fX.ownerDocument||fX:eH)!==document){eD(fX);};fX=fX||document;gb=gb||[];if(!gg||typeof gg!==T){return gb;};if((fW=fX.nodeType)!==1&&fW!==9){return [];};if(fq&&!gd){if((gi=fF.exec(gg))){if((m=gi[1])){if(fW===9){fY=fX.getElementById(m);if(fY&&fY.parentNode){if(fY.id===m){gb.push(fY);return gb;};}else {return gb;};}else {if(fX.ownerDocument&&(fY=fX.ownerDocument.getElementById(m))&&eN(fX,fY)&&fY.id===m){gb.push(fY);return gb;};};}else if(gi[2]){fG.apply(gb,fX.getElementsByTagName(gg));return gb;}else if((m=gi[3])&&eM.getElementsByClassName&&fX.getElementsByClassName){fG.apply(gb,fX.getElementsByClassName(m));return gb;};};if(eM.qsa&&(!fe||!fe.test(gg))){ga=gh=fa;gf=fX;gc=fW===9&≫if(fW===1&&fX.nodeName.toLowerCase()!==dA){ge=eV(gg);if((gh=fX.getAttribute(N))){ga=gh.replace(fm,ef);}else {fX.setAttribute(N,ga);};ga=dY+ga+f;i=ge.length;while(i-- ){ge[i]=ga+eQ(ge[i]);};gf=fc.test(gg)&&eC(fX.parentNode)||fX;gc=ge.join(ek);};if(gc){try{fG.apply(gb,gf.querySelectorAll(gc));return gb;}catch(gj){}finally{if(!gh){fX.removeAttribute(N);};};};};};return eG(gg.replace(fp,dN),fX,gb,gd);};function ey(){var gk=[];function gl(gm,gn){if(gk.push(gm+cV)>fM.cacheLength){delete gl[gk.shift()];};return (gl[gm+cV]=gn);};return gl;};function fy(go){go[fa]=true;return go;};function fk(gq){var gp=document.createElement(k);try{return !!gq(gp);}catch(e){return false;}finally{if(gp.parentNode){gp.parentNode.removeChild(gp);};gp=null;};};function fo(gt,gs){var gr=gt.split(dv),i=gt.length;while(i-- ){fM.attrHandle[gr[i]]=gs;};};function eY(a,b){var gv=b&&a,gu=gv&&a.nodeType===1&&b.nodeType===1&&(~b.sourceIndex||ft)-(~a.sourceIndex||ft);if(gu){return gu;};if(gv){while((gv=gv.nextSibling)){if(gv===b){return -1;};};};return a?1:-1;};function fE(gw){return function(gx){var name=gx.nodeName.toLowerCase();return name===l&&gx.type===gw;};};function er(gy){return function(gz){var name=gz.nodeName.toLowerCase();return (name===l||name===de)&&gz.type===gy;};};function fi(gA){return fy(function(gB){gB=+gB;return fy(function(gE,gC){var j,gD=gA([],gE.length,gB),i=gD.length;while(i-- ){if(gE[(j=gD[i])]){gE[j]=!(gC[j]=gE[j]);};};});});};function eC(gF){return gF&&typeof gF.getElementsByTagName!==eR&&gF;};eM=fL.support={};eB=fL.isXML=function(gG){var gH=gG&&(gG.ownerDocument||gG).documentElement;return gH?gH.nodeName!==eh:false;};eD=fL.setDocument=function(gI){var gK,gJ=gI?gI.ownerDocument||gI:eH,parent=gJ.defaultView;if(gJ===document||gJ.nodeType!==9||!gJ.documentElement){return document;};document=gJ;fK=gJ.documentElement;fq=!eB(gJ);if(parent&&parent!==parent.top){if(parent.addEventListener){parent.addEventListener(M,function(){eD();},false);}else if(parent.attachEvent){parent.attachEvent(dk,function(){eD();});};};eM.attributes=fk(function(gL){gL.className=C;return !gL.getAttribute(dP);});eM.getElementsByTagName=fk(function(gM){gM.appendChild(gJ.createComment(eb));return !gM.getElementsByTagName(z).length;});eM.getElementsByClassName=fz.test(gJ.getElementsByClassName)&&fk(function(gN){gN.innerHTML=cU;gN.firstChild.className=C;return gN.getElementsByClassName(C).length===2;});eM.getById=fk(function(gO){fK.appendChild(gO).id=fa;return !gJ.getElementsByName||!gJ.getElementsByName(fa).length;});if(eM.getById){fM.find[ej]=function(gP,gQ){if(typeof gQ.getElementById!==eR&&fq){var m=gQ.getElementById(gP);return m&&m.parentNode?[m]:[];};};fM.filter[ej]=function(gS){var gR=gS.replace(eu,fs);return function(gT){return gT.getAttribute(N)===gR;};};}else {delete fM.find[ej];fM.filter[ej]=function(gV){var gU=gV.replace(eu,fs);return function(gX){var gW=typeof gX.getAttributeNode!==eR&&gX.getAttributeNode(N);return gW&&gW.value===gU;};};};fM.find[dF]=eM.getElementsByTagName?function(gY,ha){if(typeof ha.getElementsByTagName!==eR){return ha.getElementsByTagName(gY);};}:function(he,hf){var hc,hb=[],i=0,hd=hf.getElementsByTagName(he);if(he===z){while((hc=hd[i++ ])){if(hc.nodeType===1){hb.push(hc);};};return hb;};return hd;};fM.find[g]=eM.getElementsByClassName&&function(hg,hh){if(typeof hh.getElementsByClassName!==eR&&fq){return hh.getElementsByClassName(hg);};};eq=[];fe=[];if((eM.qsa=fz.test(gJ.querySelectorAll))){fk(function(hi){hi.innerHTML=da;if(hi.querySelectorAll(I).length){fe.push(dW+eK+dR);};if(!hi.querySelectorAll(cM).length){fe.push(dm+eK+t+fd+dd);};if(!hi.querySelectorAll(ee).length){fe.push(ee);};});fk(function(hk){var hj=gJ.createElement(l);hj.setAttribute(cN,cW);hk.appendChild(hj).setAttribute(dn,dp);if(hk.querySelectorAll(W).length){fe.push(dn+eK+eo);};if(!hk.querySelectorAll(dO).length){fe.push(dO,h);};hk.querySelectorAll(dV);fe.push(dU);});};if((eM.matchesSelector=fz.test((ff=fK.webkitMatchesSelector||fK.mozMatchesSelector||fK.oMatchesSelector||fK.msMatchesSelector)))){fk(function(hl){eM.disconnectedMatch=ff.call(hl,k);ff.call(hl,S);eq.push(dx,fg);});};fe=fe.length&&new RegExp(fe.join(dv));eq=eq.length&&new RegExp(eq.join(dv));gK=fz.test(fK.compareDocumentPosition);eN=gK||fz.test(fK.contains)?function(a,b){var hm=a.nodeType===9?a.documentElement:a,hn=b&&b.parentNode;return a===hn||!!(hn&&hn.nodeType===1&&(hm.contains?hm.contains(hn):a.compareDocumentPosition&&a.compareDocumentPosition(hn)&16));}:function(a,b){if(b){while((b=b.parentNode)){if(b===a){return true;};};};return false;};eT=gK?function(a,b){if(a===b){eF=true;return 0;};var ho=!a.compareDocumentPosition-!b.compareDocumentPosition;if(ho){return ho;};ho=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1;if(ho&1||(!eM.sortDetached&&b.compareDocumentPosition(a)===ho)){if(a===gJ||a.ownerDocument===eH&&eN(eH,a)){return -1;};if(b===gJ||b.ownerDocument===eH&&eN(eH,b)){return 1;};return eE?(eS.call(eE,a)-eS.call(eE,b)):0;};return ho&4?-1:1;}:function(a,b){if(a===b){eF=true;return 0;};var hp,i=0,hq=a.parentNode,hr=b.parentNode,hs=[a],ht=[b];if(!hq||!hr){return a===gJ?-1:b===gJ?1:hq?-1:hr?1:eE?(eS.call(eE,a)-eS.call(eE,b)):0;}else if(hq===hr){return eY(a,b);};hp=a;while((hp=hp.parentNode)){hs.unshift(hp);};hp=b;while((hp=hp.parentNode)){ht.unshift(hp);};while(hs[i]===ht[i]){i++ ;};return i?eY(hs[i],ht[i]):hs[i]===eH?-1:ht[i]===eH?1:0;};return gJ;};fL.matches=function(hu,hv){return fL(hu,null,null,hv);};fL.matchesSelector=function(hx,hw){if((hx.ownerDocument||hx)!==document){eD(hx);};hw=hw.replace(fj,E);if(eM.matchesSelector&&fq&&(!eq||!eq.test(hw))&&(!fe||!fe.test(hw))){try{var hy=ff.call(hx,hw);if(hy||eM.disconnectedMatch||hx.document&&hx.document.nodeType!==11){return hy;};}catch(e){};};return fL(hw,document,null,[hx]).length>0;};fL.contains=function(hA,hz){if((hA.ownerDocument||hA)!==document){eD(hA);};return eN(hA,hz);};fL.attr=function(hC,name){if((hC.ownerDocument||hC)!==document){eD(hC);};var hB=fM.attrHandle[name.toLowerCase()],hD=hB&&fA.call(fM.attrHandle,name.toLowerCase())?hB(hC,name,!fq):undefined;return hD!==undefined?hD:eM.attributes||!fq?hC.getAttribute(name):(hD=hC.getAttributeNode(name))&&hD.specified?hD.value:null;};fL.error=function(hE){throw new Error(em+hE);};fL.uniqueSort=function(hG){var hH,hF=[],j=0,i=0;eF=!eM.detectDuplicates;eE=!eM.sortStable&&hG.slice(0);hG.sort(eT);if(eF){while((hH=hG[i++ ])){if(hH===hG[i]){j=hF.push(i);};};while(j-- ){hG.splice(hF[j],1);};};eE=null;return hG;};ew=fL.getText=function(hK){var hI,hL=eb,i=0,hJ=hK.nodeType;if(!hJ){while((hI=hK[i++ ])){hL+=ew(hI);};}else if(hJ===1||hJ===9||hJ===11){if(typeof hK.textContent===T){return hK.textContent;}else {for(hK=hK.firstChild;hK;hK=hK.nextSibling){hL+=ew(hK);};};}else if(hJ===3||hJ===4){return hK.nodeValue;};return hL;};fM=fL.selectors={cacheLength:50,createPseudo:fy,match:fB,attrHandle:{},find:{},relative:{">":{dir:cI,first:true}," ":{dir:cI},"+":{dir:v,first:true},"~":{dir:v}},preFilter:{"ATTR":function(hM){hM[1]=hM[1].replace(eu,fs);hM[3]=(hM[4]||hM[5]||eb).replace(eu,fs);if(hM[2]===u){hM[3]=cV+hM[3]+cV;};return hM.slice(0,4);},"CHILD":function(hN){hN[1]=hN[1].toLowerCase();if(hN[1].slice(0,3)===o){if(!hN[3]){fL.error(hN[0]);};hN[4]=+(hN[4]?hN[5]+(hN[6]||1):2*(hN[3]===cY||hN[3]===dq));hN[5]=+((hN[7]+hN[8])||hN[3]===dq);}else if(hN[3]){fL.error(hN[0]);};return hN;},"PSEUDO":function(hP){var hQ,hO=!hP[5]&&hP[2];if(fB[ea].test(hP[0])){return null;};if(hP[3]&&hP[4]!==undefined){hP[2]=hP[4];}else if(hO&&fu.test(hO)&&(hQ=eV(hO,true))&&(hQ=hO.indexOf(dd,hO.length-hQ)-hO.length)){hP[0]=hP[0].slice(0,hQ);hP[2]=hO.slice(0,hQ);};return hP.slice(0,3);}},filter:{"TAG":function(hR){var hS=hR.replace(eu,fs).toLowerCase();return hR===z?function(){return true;}:function(hT){return hT.nodeName&&hT.nodeName.toLowerCase()===hS;};},"CLASS":function(hU){var hV=es[hU+cV];return hV||(hV=new RegExp(d+eK+dd+hU+cS+eK+dE))&&es(hU,function(hW){return hV.test(typeof hW.className===T&&hW.className||typeof hW.getAttribute!==eR&&hW.getAttribute(dr)||eb);});},"ATTR":function(name,hX,hY){return function(ia){var ib=fL.attr(ia,name);if(ib==null){return hX===dx;};if(!hX){return true;};ib+=eb;return hX===L?ib===hY:hX===dx?ib!==hY:hX===G?hY&&ib.indexOf(hY)===0:hX===du?hY&&ib.indexOf(hY)>-1:hX===R?hY&&ib.slice(-hY.length)===hY:hX===u?(cV+ib+cV).indexOf(hY)>-1:hX===dl?ib===hY||ib.slice(0,hY.length+1)===hY+c:false;};},"CHILD":function(ij,ic,ii,ik,ie){var ih=ij.slice(0,3)!==o,forward=ij.slice(-4)!==ei,ig=ic===dG;return ik===1&&ie===0?function(il){return !!il.parentNode;}:function(ir,iu,im){var iq,iv,io,iw,ip,is,ix=ih!==forward?Q:v,parent=ir.parentNode,name=ig&&ir.nodeName.toLowerCase(),it=!im&&!ig;if(parent){if(ih){while(ix){io=ir;while((io=io[ix])){if(ig?io.nodeName.toLowerCase()===name:io.nodeType===1){return false;};};is=ix=ij===y&&!is&&Q;};return true;};is=[forward?parent.firstChild:parent.lastChild];if(forward&&it){iv=parent[fa]||(parent[fa]={});iq=iv[ij]||[];ip=iq[0]===eW&&iq[1];iw=iq[0]===eW&&iq[2];io=ip&&parent.childNodes[ip];while((io= ++ip&&io&&io[ix]||(iw=ip=0)||is.pop())){if(io.nodeType===1&& ++iw&&io===ir){iv[ij]=[eW,ip,iw];break;};};}else if(it&&(iq=(ir[fa]||(ir[fa]={}))[ij])&&iq[0]===eW){iw=iq[1];}else {while((io= ++ip&&io&&io[ix]||(iw=ip=0)||is.pop())){if((ig?io.nodeName.toLowerCase()===name:io.nodeType===1)&& ++iw){if(it){(io[fa]||(io[fa]={}))[ij]=[eW,iw];};if(io===ir){break;};};};};iw-=ie;return iw===ik||(iw%ik===0&&iw/ik>=0);};};},"PSEUDO":function(iz,iA){var iy,iB=fM.pseudos[iz]||fM.setFilters[iz.toLowerCase()]||fL.error(cR+iz);if(iB[fa]){return iB(iA);};if(iB.length>1){iy=[iz,iz,eb,iA];return fM.setFilters.hasOwnProperty(iz.toLowerCase())?fy(function(iD,iC){var iE,iF=iB(iD,iA),i=iF.length;while(i-- ){iE=eS.call(iD,iF[i]);iD[iE]=!(iC[iE]=iF[i]);};}):function(iG){return iB(iG,0,iy);};};return iB;}},pseudos:{"not":fy(function(iI){var iH=[],iJ=[],iK=fC(iI.replace(fp,dN));return iK[fa]?fy(function(iP,iM,iQ,iL){var iN,iO=iK(iP,null,iL,[]),i=iP.length;while(i-- ){if((iN=iO[i])){iP[i]=!(iM[i]=iN);};};}):function(iS,iT,iR){iH[0]=iS;iK(iH,null,iR,iJ);return !iJ.pop();};}),"has":fy(function(iU){return function(iV){return fL(iU,iV).length>0;};}),"contains":fy(function(iW){return function(iX){return (iX.textContent||iX.innerText||ew(iX)).indexOf(iW)>-1;};}),"lang":fy(function(iY){if(!eX.test(iY||eb)){fL.error(A+iY);};iY=iY.replace(eu,fs).toLowerCase();return function(jb){var ja;do {if((ja=fq?jb.lang:jb.getAttribute(x)||jb.getAttribute(dt))){ja=ja.toLowerCase();return ja===iY||ja.indexOf(iY+c)===0;};}while((jb=jb.parentNode)&&jb.nodeType===1);return false;};}),"target":function(jd){var jc=window.location&&window.location.hash;return jc&&jc.slice(1)===jd.id;},"root":function(je){return je===fK;},"focus":function(jf){return jf===document.activeElement&&(!document.hasFocus||document.hasFocus())&&!!(jf.type||jf.href||~jf.tabIndex);},"enabled":function(jg){return jg.disabled===false;},"disabled":function(jh){return jh.disabled===true;},"checked":function(ji){var jj=ji.nodeName.toLowerCase();return (jj===l&&!!ji.checked)||(jj===dh&&!!ji.selected);},"selected":function(jk){if(jk.parentNode){jk.parentNode.selectedIndex;};return jk.selected===true;},"empty":function(jl){for(jl=jl.firstChild;jl;jl=jl.nextSibling){if(jl.nodeType<6){return false;};};return true;},"parent":function(jm){return !fM.pseudos[dK](jm);},"header":function(jn){return et.test(jn.nodeName);},"input":function(jo){return fl.test(jo.nodeName);},"button":function(jp){var name=jp.nodeName.toLowerCase();return name===l&&jp.type===de||name===de;},"text":function(jq){var jr;return jq.nodeName.toLowerCase()===l&&jq.type===O&&((jr=jq.getAttribute(cN))==null||jr.toLowerCase()===O);},"first":fi(function(){return [0];}),"last":fi(function(js,length){return [length-1];}),"eq":fi(function(jt,length,ju){return [ju<0?ju+length:ju];}),"even":fi(function(jv,length){var i=0;for(;i=0;){jx.push(i);};return jx;}),"gt":fi(function(jz,length,jA){var i=jA<0?jA+length:jA;for(; ++i1?function(kg,kh,kf){var i=ke.length;while(i-- ){if(!ke[i](kg,kh,kf)){return false;};};return true;}:ke[0];};function fw(kl,ki,kj){var i=0,kk=ki.length;for(;i-1){kJ[kC]=!(kE[kC]=kG);};};};}else {kH=ex(kH===kE?kH.splice(kD,kH.length):kH);if(kv){kv(null,kE,kH,kB);}else {fG.apply(kE,kH);};};});};function fb(kS){var kN,kP,j,kQ=kS.length,kO=fM.relative[kS[0].type],kV=kO||fM.relative[cV],i=kO?1:0,kU=eO(function(kW){return kW===kN;},kV,true),kR=eO(function(kX){return eS.call(kN,kX)>-1;},kV,true),kT=[function(la,lb,kY){return (!kO&&(kY||lb!==ep))||((kN=lb).nodeType?kU(la,lb,kY):kR(la,lb,kY));}];for(;i1&&eP(kT),i>1&&eQ(kS.slice(0,i-1).concat({value:kS[i-2].type===cV?z:eb})).replace(fp,dN),kP,i0,le=lg.length>0,lf=function(lp,ls,lh,ll,lk){var ln,j,lt,li=0,i=df,lm=lp&&[],lo=[],lj=ep,lu=lp||le&&fM.find[dF](z,lk),lq=(eW+=lj==null?1:Math.random()||0.1),lr=lu.length;if(lk){ep=ls!==document&&ls;};for(;i!==lr&&(ln=lu[i])!=null;i++ ){if(le&&ln){j=0;while((lt=lg[j++ ])){if(lt(ln,ls,lh)){ll.push(ln);break;};};if(lk){eW=lq;};};if(lc){if((ln=!lt&&ln)){li-- ;};if(lp){lm.push(ln);};};};li+=i;if(lc&&i!==li){j=0;while((lt=ld[j++ ])){lt(lm,lo,ls,lh);};if(lp){if(li>0){while(i-- ){if(!(lm[i]||lo[i])){lo[i]=ez.call(ll);};};};lo=ex(lo);};fG.apply(ll,lo);if(lk&&!lp&&lo.length>0&&(li+ld.length)>1){fL.uniqueSort(ll);};};if(lk){eW=lq;ep=lj;};return lm;};return lc?fy(lf):lf;};fC=fL.compile=function(lw,lz){var i,ly=[],lv=[],lx=fI[lw+cV];if(!lx){if(!lz){lz=eV(lw);};i=lz.length;while(i-- ){lx=fb(lz[i]);if(lx[fa]){ly.push(lx);}else {lv.push(lx);};};lx=fI(lw,eU(lv,ly));lx.selector=lw;};return lx;};eG=fL.select=function(lC,lG,lB,lF){var i,lD,lE,lH,find,lA=typeof lC===db&&lC,lI=!lF&&eV((lC=lA.selector||lC));lB=lB||[];if(lI.length===1){lD=lI[0]=lI[0].slice(0);if(lD.length>2&&(lE=lD[0]).type===ej&&eM.getById&&lG.nodeType===9&&fq&&fM.relative[lD[1].type]){lG=(fM.find[ej](lE.matches[0].replace(eu,fs),lG)||[])[0];if(!lG){return lB;}else if(lA){lG=lG.parentNode;};lC=lC.slice(lD.shift().value.length);};i=fB[P].test(lC)?0:lD.length;while(i-- ){lE=lD[i];if(fM.relative[(lH=lE.type)]){break;};if((find=fM.find[lH])){if((lF=find(lE.matches[0].replace(eu,fs),fc.test(lD[0].type)&&eC(lG.parentNode)||lG))){lD.splice(i,1);lC=lF.length&&eQ(lD);if(!lC){fG.apply(lB,lF);return lB;};break;};};};};(lA||fC(lC,lI))(lF,lG,!fq,lB,fc.test(lC)&&eC(lG.parentNode)||lG);return lB;};eM.sortStable=fa.split(eb).sort(eT).join(eb)===fa;eM.detectDuplicates=!!eF;eD();eM.sortDetached=fk(function(lJ){return lJ.compareDocumentPosition(document.createElement(k))&1;});if(!fk(function(lK){lK.innerHTML=dD;return lK.firstChild.getAttribute(cJ)===cL;})){fo(q,function(lL,name,lM){if(!lM){return lL.getAttribute(name,name.toLowerCase()===cN?1:2);};});};if(!eM.attributes||!fk(function(lN){lN.innerHTML=dy;lN.firstChild.setAttribute(dH,eb);return lN.firstChild.getAttribute(dH)===eb;})){fo(dH,function(lO,name,lP){if(!lP&&lO.nodeName.toLowerCase()===l){return lO.defaultValue;};});};if(!fk(function(lQ){return lQ.getAttribute(s)==null;})){fo(fd,function(lS,name,lR){var lT;if(!lR){return lS[name]===true?name.toLowerCase():(lT=lS.getAttributeNode(name))&&lT.specified?lT.value:null;};});};qx.bom.Selector.query=function(lV,lU){return fL(lV,lU);};qx.bom.Selector.matches=function(lX,lW){return fL(lX,null,null,lW);};})(window);})();(function(){var a="qx.module.Polyfill";qx.Bootstrap.define(a,{});})();(function(){var a="foo",b="function",c="event.mouseevent",d="event.help",e="qx.bom.client.Event",f="event.dispatchevent",g="mousewheel",h="event.touch",j="onhelp",k="event.hashchange",l="PointerEvent",m="pointerEnabled",n="event.customevent",o="documentMode",p="ontouchstart",q="mshtml",r="onhashchange",s="event.mousewheel",t="wheel",u="DOMMouseScroll",v="msPointerEnabled",w="event.mspointer";qx.Bootstrap.define(e,{statics:{getTouch:function(){return (p in window);},getMsPointer:function(){if(l in window){return true;};if(m in window.navigator){return window.navigator.pointerEnabled;}else if(v in window.navigator){return window.navigator.msPointerEnabled;};return false;},getHelp:function(){return (j in document);},getHashChange:function(){var x=qx.bom.client.Engine.getName();var y=r in window;return (x!==q&&y)||(x===q&&o in document&&document.documentMode>=8&&y);},getDispatchEvent:function(){return typeof document.dispatchEvent==b;},getCustomEvent:function(){if(!window.CustomEvent){return false;};try{new window.CustomEvent(a);return true;}catch(z){return false;};},getMouseEvent:function(){if(!window.MouseEvent){return false;};try{new window.MouseEvent(a);return true;}catch(A){return false;};},getMouseWheel:function(B){if(!B){B=window;};var E=[B,B.document,B.document.body];var D=B;var C=u;for(var i=0;i0||window.navigator.msMaxTouchPoints>0);}},defer:function(I){qx.core.Environment.add(v,I.getName);qx.core.Environment.add(w,I.getTouch);qx.core.Environment.add(e,I.getType);qx.core.Environment.add(y,I.getDevicePixelRatio);}});})();(function(){var a="engine.name",b="event.mspointer",c="device.type",d="env",e="engine.version",f="qx.module.Environment",g="browser.version",h="event.touch",i="device.name",j="browser.quirksmode",k="browser.name",l="browser.documentmode";qx.Bootstrap.define(f,{statics:{get:function(m){return qx.core.Environment.get(m);},add:function(n,o){qx.core.Environment.add(n,o);return this;}},defer:function(p){qx.core.Environment.get(k);qx.core.Environment.get(g);qx.core.Environment.get(j);qx.core.Environment.get(l);qx.core.Environment.get(a);qx.core.Environment.get(e);qx.core.Environment.get(i);qx.core.Environment.get(c);qx.core.Environment.get(h);qx.core.Environment.get(b);qxWeb.$attachAll(this,d);}});})();(function(){var a="mshtml",b="engine.name",c="complete",d="Array",f="pointerout",g="pointerover",h="string",n="load",o="left",p="qx.module.Event",q="undefined",r="DOMContentLoaded",s="browser.documentmode",t="*";qx.Bootstrap.define(p,{statics:{__ev:{},__ew:{on:{},off:{}},__cU:false,ready:function(u){if(document.readyState===c){window.setTimeout(u,1);return;};var v=function(){qx.module.Event.__cU=true;u();};qxWeb(window).on(n,v);var w=function(){qxWeb(window).off(n,v);u();};if(qxWeb.env.get(b)!==a||qxWeb.env.get(s)>8){qx.bom.Event.addNativeListener(document,r,w);}else {var z=function(){if(qx.module.Event.__cU){return;};try{document.documentElement.doScroll(o);if(document.body){w();};}catch(A){window.setTimeout(z,100);};};z();};},$registerEventNormalization:function(E,B){if(!qx.lang.Type.isArray(E)){E=[E];};var C=qx.module.Event.__ev;for(var i=0,l=E.length;i0;},copyEventsTo:function(bT){var bR=this.concat();var bS=bT.concat();for(var i=bR.length-1;i>=0;i-- ){var bO=bR[i].getElementsByTagName(t);for(var j=0;j=0;i-- ){var bO=bS[i].getElementsByTagName(t);for(var j=0;j=0;j-- ){var bQ=bP[name][j].listener;if(bQ.original){bQ=bQ.original;};qxWeb(bS[i]).on(name,bQ,bP[name][j].ctx);};};};},hover:function(bV,bW){this.on(g,bV,this);if(qx.lang.Type.isFunction(bW)){this.on(f,bW,this);};return this;},onMatchTarget:function(bY,ca,cc,cb){cb=cb!==undefined?cb:this;var bX=function(e){var cd=qxWeb(e.getTarget());var ce=typeof ca==h?this.find(ca):qxWeb(ca);if(cd.is(ca)){cc.call(cb,cd,qxWeb.object.clone(e));}else {for(var i=0,l=ce.length;i=0;i-- ){var cn=cm[i];if(cn.type==ch&&cn.callback==ck&&cn.context==cj){this.off(ch,cn.listener);cm.splice(i,1);};};if(cm.length===0){cl.$$matchTargetInfo=null;};};},this);return this;},hasMatchListener:function(ct,co,cp,cq){cq=cq!==undefined?cq:this;for(var j=0,l=this.length;j=0;i-- ){var cr=cs[i];if(cr.type==ct&&cr.callback==cp&&cr.target==co&&cr.context==cq){return true;};};};return false;}},defer:function(cu){qxWeb.$attachAll(this);qxWeb.$attachStatic({"$registerEventNormalization":cu.$registerEventNormalization,"$unregisterEventNormalization":cu.$unregisterEventNormalization,"$getEventNormalizationRegistry":cu.$getEventNormalizationRegistry,"$registerEventHook":cu.$registerEventHook,"$unregisterEventHook":cu.$unregisterEventHook,"$getEventHookRegistry":cu.$getEventHookRegistry});}});})();(function(){var a="qx.module.event.PointerHandler",b="pointerup",c="event.dispatchevent",d="gesturemove",e="pointerover",f="gesturebegin",g="pointerdown",h="pointermove",i="gesturefinish",j="qx.event.handler.Pointer",k="gesturecancel",l="pointercancel",m="pointerout";qx.Bootstrap.define(a,{statics:{TYPES:[h,e,m,g,b,l,f,d,i,k],register:function(o,n){if(!o.$$pointerHandler){if(!qx.core.Environment.get(c)){if(!o.$$emitter){o.$$emitter=new qx.event.Emitter();};};o.$$pointerHandler=new qx.event.handler.PointerCore(o,o.$$emitter);};},unregister:function(r){if(r.$$pointerHandler){if(r.$$pointerHandler.classname===j){return;};var p=r.$$emitter.getListeners();for(var q in p){if(qx.module.event.PointerHandler.TYPES.indexOf(q)!==-1){if(p[q].length>0){return;};};};r.$$pointerHandler.dispose();r.$$pointerHandler=undefined;};}},defer:function(s){qxWeb.$registerEventHook(s.TYPES,s.register,s.unregister);}});})();(function(){var a="touchmove",b="os.name",c="mousedown",d="event.dispatchevent",e="MSPointerDown",f="gesturemove",g="pointerover",h="touch",k="mouseout",m="ms",n="Processed",o="pointercancel",p="pointerleave",q="touchstart",r="pointerenter",s="mouse",t="event.mspointer",u="mousemove",v="MSPointerCancel",w="gesturefinish",z="browser.documentmode",A="pointerup",B="touchend",C="osx",D="mouseover",E="$$qx",F="pointerdown",G="MSPointerUp",H="pointermove",I="MSPointerOver",J="gecko",K="mshtml",L="engine.name",M="mouseup",N="touchcancel",O="contextmenu",P="gesturecancel",Q="MSPointerMove",R="MSPointerOut",S="gesturebegin",T="qx.event.handler.PointerCore",U=".",V="device.touch",W="pointerout";qx.Bootstrap.define(T,{extend:Object,statics:{MOUSE_TO_POINTER_MAPPING:{mousedown:F,mouseup:A,mousemove:H,mouseout:W,mouseover:g},TOUCH_TO_POINTER_MAPPING:{touchstart:F,touchend:A,touchmove:H,touchcancel:o},MSPOINTER_TO_POINTER_MAPPING:{MSPointerDown:F,MSPointerMove:H,MSPointerUp:A,MSPointerCancel:o,MSPointerLeave:p,MSPointerEnter:r,MSPointerOver:g,MSPointerOut:W},POINTER_TO_GESTURE_MAPPING:{pointerdown:S,pointerup:w,pointercancel:P,pointermove:f},LEFT_BUTTON:(qx.core.Environment.get(L)==K&&qx.core.Environment.get(z)<=8)?1:0,SIM_MOUSE_DISTANCE:25,SIM_MOUSE_DELAY:2500,__ez:null},construct:function(ba,bb){this.__eA=ba;this.__eB=bb;this.__eC=[];this.__eD=[];this.__eE=[];this._processedFlag=E+this.classname.substr(this.classname.lastIndexOf(U)+1)+n;var Y=qx.core.Environment.get(L);var X=parseInt(qx.core.Environment.get(z),10);if(Y==K&&X==10){this.__eC=[e,Q,G,v,I,R,F,H,A,o,g,W];this._initPointerObserver();}else {if(qx.core.Environment.get(t)){this.__eF=true;};this.__eC=[F,H,A,o,g,W];this._initPointerObserver();};if(!qx.core.Environment.get(t)){if(qx.core.Environment.get(V)){this.__eC=[q,B,a,N];this._initObserver(this._onTouchEvent);};this.__eC=[c,M,u,D,k,O];this._initObserver(this._onMouseEvent);};},members:{__eA:null,__eB:null,__eC:null,__eF:false,__eG:null,__eH:0,__eD:null,__eI:null,__eE:null,_processedFlag:null,_initPointerObserver:function(){this._initObserver(this._onPointerEvent);},_initObserver:function(bc,bd){this.__eG=qx.lang.Function.listener(bc,this);this.__eC.forEach(function(be){if(bd&&qx.dom.Node.isDocument(this.__eA)){if(!this.__eA.$$emitter){this.__eA.$$emitter=new qx.event.Emitter();};this.__eA.$$emitter.on(be,this.__eG);}else {qx.bom.Event.addNativeListener(this.__eA,be,this.__eG);};}.bind(this));},_onPointerEvent:function(bh){if(!qx.core.Environment.get(t)||(qx.core.Environment.get(z)===10&&bh.type.toLowerCase().indexOf(m)==-1)){return;};if(!this.__eF){bh.stopPropagation();};var bf=qx.event.handler.PointerCore.MSPOINTER_TO_POINTER_MAPPING[bh.type]||bh.type;var bi=qx.bom.Event.getTarget(bh);var bg=new qx.event.type.dom.Pointer(bf,bh);this._fireEvent(bg,bf,bi);},_onTouchEvent:function(bl){if(bl[this._processedFlag]){return;};bl[this._processedFlag]=true;var bm=qx.event.handler.PointerCore.TOUCH_TO_POINTER_MAPPING[bl.type];var bo=bl.changedTouches;this._determineActiveTouches(bl.type,bo);if(bl.touches.length=0;i-- ){var bq=new qx.event.type.dom.Pointer(o,bl,{identifier:this.__eE[i].identifier,target:bl.target,pointerType:h,pointerId:this.__eE[i].identifier+2});this._fireEvent(bq,o,bl.target);};this.__eI=null;this.__eE=[];return;};if(bl.type==q&&this.__eI===null){this.__eI=bo[0].identifier;};for(var i=0,l=bo.length;i1){return;};if(bt.type==M&&bw>0){return;};if(bt.type==O){this.__eD[bt.which]=0;return;};var by=new qx.event.type.dom.Pointer(bv,bt,bz);this._fireEvent(by,bv,bu);},_determineActiveTouches:function(bD,bC){if(bD==q){for(var i=0;i=8){bj.READONLY_PROPERTIES=bj.READONLY_PROPERTIES.concat(bj.MOUSE_PROPERTIES);};}});})();(function(){var a="qx.event.Emitter",b="*";qx.Bootstrap.define(a,{extend:Object,statics:{__eJ:[]},members:{__ex:null,__eK:null,on:function(name,c,d){var e=qx.event.Emitter.__eJ.length;this.__eL(name).push({listener:c,ctx:d,id:e,name:name});qx.event.Emitter.__eJ.push({name:name,listener:c,ctx:d});return e;},once:function(name,f,g){var h=qx.event.Emitter.__eJ.length;this.__eL(name).push({listener:f,ctx:g,once:true,id:h});qx.event.Emitter.__eJ.push({name:name,listener:f,ctx:g});return h;},off:function(name,m,k){var l=this.__eL(name);for(var i=l.length-1;i>=0;i-- ){var n=l[i];if(n.listener==m&&n.ctx==k){l.splice(i,1);qx.event.Emitter.__eJ[n.id]=null;return n.id;};};return null;},offById:function(p){var o=qx.event.Emitter.__eJ[p];if(o){this.off(o.name,o.listener,o.ctx);};return null;},addListener:function(name,q,r){return this.on(name,q,r);},addListenerOnce:function(name,s,t){return this.once(name,s,t);},removeListener:function(name,u,v){this.off(name,u,v);},removeListenerById:function(w){this.offById(w);},emit:function(name,A){var x=this.__eL(name).concat();var y=[];for(var i=0;i=0;i-- ){var z=x[i];z.listener.call(z.ctx,A);};},getListeners:function(){return this.__ex;},getEntryById:function(F){for(var name in this.__ex){var E=this.__ex[name];for(var i=0,j=E.length;i=t.scrollWidth){return Math.max(t.clientWidth,t.scrollWidth)-s-w;}else {var u=t.scrollWidth-s;if(qx.core.Environment.get(b)==a){u-=w;};return u;};};},getContentHeight:function(B){var x=qx.bom.element.Style;var A=qx.bom.element.Style.get(B,k);var z=parseInt(x.get(B,i)||d,10);var y=parseInt(x.get(B,h)||d,10);if(this.__eP[A]){return B.clientHeight-z-y;}else {if(B.clientHeight>=B.scrollHeight){return Math.max(B.clientHeight,B.scrollHeight)-z-y;}else {return B.scrollHeight-z;};};},getContentSize:function(C){return {width:this.getContentWidth(C),height:this.getContentHeight(C)};}}});})();(function(){var b="function",c="html.video.h264",d="html.element.contains",f='video/ogg; codecs="theora, vorbis"',g="qxtest",h="html.console",i="html.xul",j="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",k="html.video.ogg",l="http://www.w3.org/TR/SVG11/feature#BasicStructure",m="html.storage.local",n="div",o="qx.bom.client.Html",p="getSelection",q='audio',r='video/mp4; codecs="avc1.42E01E, mp4a.40.2"',s="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",t="html.audio",u="video",w="url(#default#VML)",x="head",y="audio",z="audio/mpeg",A="org.w3c.dom.svg",B="html.classlist",C="html.svg",D="html.video",E="html.geolocation",F="DOMTokenList",G="html.storage.session",H="1.1",I="html.history.state",J="object",K="html.image.naturaldimensions",L="html.audio.aif",M="audio/x-wav",N='',O="html.node.isequalnode",P="html.canvas",Q="audio/ogg",R="",S="html.storage.userdata",T="html.fullscreen",U="number",V="html.element.compareDocumentPosition",W="audio/x-aiff",X="html.audio.au",Y="img",bF="html.selection",bG="selection",bH="html.xpath",bB="$qx_check",bC="test",bD='video',bE="span",bM="html.element.textcontent",bN="geolocation",bW="html.audio.mp3",bA="html.vml",bI="undefined",bJ="html.audio.ogg",bK="none",bL="label",bQ='video/webm; codecs="vp8, vorbis"',ca="html.dataurl",bR="html.webworker",bS="html.dataset",bX="1.0",bO="html.audio.wav",bY="html.filereader",bP="audio/basic",bT="display",bU="html.video.webm",bV="#default#userdata";qx.Bootstrap.define(o,{statics:{getWebWorker:function(){return window.Worker!=null;},getFileReader:function(){return window.FileReader!=null;},getGeoLocation:function(){return bN in navigator;},getAudio:function(){return !!document.createElement(q).canPlayType;},getAudioOgg:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(Q);},getAudioMp3:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(z);},getAudioWav:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(M);},getAudioAu:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(bP);},getAudioAif:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(W);},getVideo:function(){return !!document.createElement(bD).canPlayType;},getVideoOgg:function(){if(!qx.bom.client.Html.getVideo()){return R;};var v=document.createElement(u);return v.canPlayType(f);},getVideoH264:function(){if(!qx.bom.client.Html.getVideo()){return R;};var v=document.createElement(u);return v.canPlayType(r);},getVideoWebm:function(){if(!qx.bom.client.Html.getVideo()){return R;};var v=document.createElement(u);return v.canPlayType(bQ);},getLocalStorage:function(){try{window.localStorage.setItem(bB,bC);window.localStorage.removeItem(bB);return true;}catch(cb){return false;};},getSessionStorage:function(){try{window.sessionStorage.setItem(bB,bC);window.sessionStorage.removeItem(bB);return true;}catch(cc){return false;};},getUserDataStorage:function(){var cd=document.createElement(n);cd.style[bT]=bK;document.getElementsByTagName(x)[0].appendChild(cd);var ce=false;try{cd.addBehavior(bV);cd.load(g);ce=true;}catch(e){};document.getElementsByTagName(x)[0].removeChild(cd);return ce;},getClassList:function(){return !!(document.documentElement.classList&&qx.Bootstrap.getClass(document.documentElement.classList)===F);},getXPath:function(){return !!document.evaluate;},getXul:function(){try{document.createElementNS(j,bL);return true;}catch(e){return false;};},getSvg:function(){return document.implementation&&document.implementation.hasFeature&&(document.implementation.hasFeature(A,bX)||document.implementation.hasFeature(l,H));},getVml:function(){var cf=document.createElement(n);document.body.appendChild(cf);cf.innerHTML=N;cf.firstChild.style.behavior=w;var cg=typeof cf.firstChild.adj==J;document.body.removeChild(cf);return cg;},getCanvas:function(){return !!window.CanvasRenderingContext2D;},getDataUrl:function(ch){var ci=new Image();ci.onload=ci.onerror=function(){window.setTimeout(function(){ch.call(null,(ci.width==1&&ci.height==1));},0);};ci.src=s;},getDataset:function(){return !!document.documentElement.dataset;},getContains:function(){return (typeof document.documentElement.contains!==bI);},getCompareDocumentPosition:function(){return (typeof document.documentElement.compareDocumentPosition===b);},getTextContent:function(){var cj=document.createElement(bE);return (typeof cj.textContent!==bI);},getFullScreen:function(){return document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled||false;},getConsole:function(){return typeof window.console!==bI;},getNaturalDimensions:function(){var ck=document.createElement(Y);return typeof ck.naturalHeight===U&&typeof ck.naturalWidth===U;},getHistoryState:function(){return (typeof window.onpopstate!==bI&&typeof window.history.replaceState!==bI&&typeof window.history.pushState!==bI);},getSelection:function(){if(typeof window.getSelection===b){return p;};if(typeof document.selection===J){return bG;};return null;},getIsEqualNode:function(){return typeof document.documentElement.isEqualNode===b;}},defer:function(cl){qx.core.Environment.add(bR,cl.getWebWorker);qx.core.Environment.add(bY,cl.getFileReader);qx.core.Environment.add(E,cl.getGeoLocation);qx.core.Environment.add(t,cl.getAudio);qx.core.Environment.add(bJ,cl.getAudioOgg);qx.core.Environment.add(bW,cl.getAudioMp3);qx.core.Environment.add(bO,cl.getAudioWav);qx.core.Environment.add(X,cl.getAudioAu);qx.core.Environment.add(L,cl.getAudioAif);qx.core.Environment.add(D,cl.getVideo);qx.core.Environment.add(k,cl.getVideoOgg);qx.core.Environment.add(c,cl.getVideoH264);qx.core.Environment.add(bU,cl.getVideoWebm);qx.core.Environment.add(m,cl.getLocalStorage);qx.core.Environment.add(G,cl.getSessionStorage);qx.core.Environment.add(S,cl.getUserDataStorage);qx.core.Environment.add(B,cl.getClassList);qx.core.Environment.add(bH,cl.getXPath);qx.core.Environment.add(i,cl.getXul);qx.core.Environment.add(P,cl.getCanvas);qx.core.Environment.add(C,cl.getSvg);qx.core.Environment.add(bA,cl.getVml);qx.core.Environment.add(bS,cl.getDataset);qx.core.Environment.addAsync(ca,cl.getDataUrl);qx.core.Environment.add(d,cl.getContains);qx.core.Environment.add(V,cl.getCompareDocumentPosition);qx.core.Environment.add(bM,cl.getTextContent);qx.core.Environment.add(h,cl.getConsole);qx.core.Environment.add(K,cl.getNaturalDimensions);qx.core.Environment.add(I,cl.getHistoryState);qx.core.Environment.add(bF,cl.getSelection);qx.core.Environment.add(O,cl.getIsEqualNode);qx.core.Environment.add(T,cl.getFullScreen);}});})();(function(){var a='',b="g",c="(^|\\s)",d='function',e="(\\s|$)",f="",g="\\b|\\b",h="qx.bom.element.Class",j='SVGAnimatedString',k="html.classlist",m="default",n=" ",o='object',p="$2",q="native",r="\\b",s='undefined';qx.Bootstrap.define(h,{statics:{__eQ:/\s+/g,__eR:/^\s+|\s+$/g,add:{"native":function(t,name){if(name.length>0){t.classList.add(name);};return name;},"default":function(u,name){if(!this.has(u,name)){u.className+=(u.className?n:f)+name;};return name;}}[qx.core.Environment.get(k)?q:m],addClasses:{"native":function(w,v){for(var i=0;i0){w.classList.add(v[i]);};};return w.className;},"default":function(y,A){var z={};var B;var x=y.className;if(x){B=x.split(this.__eQ);for(var i=0,l=B.length;i=0; --i){if(B[i].selectorText==E){C.deleteRule(i);};};}else {var B=C.rules;var D=B.length;for(var i=D-1;i>=0; --i){if(B[i].selectorText==E){C.removeRule(i);};};};},removeSheet:function(G){var F=G.ownerNode?G.ownerNode:G.owningElement;qx.dom.Element.removeChild(F,F.parentNode);},removeAllRules:function(I){if(qx.core.Environment.get(m)){var H=I.cssRules;var J=H.length;for(var i=J-1;i>=0;i-- ){I.deleteRule(i);};}else {var H=I.rules;var J=H.length;for(var i=J-1;i>=0;i-- ){I.removeRule(i);};};},addImport:function(L,K){if(qx.core.Environment.get(c)){L.addImport(K);}else {L.insertRule(g+K+k,L.cssRules.length);};},removeImport:function(M,N){if(qx.core.Environment.get(l)){var O=M.imports;var P=O.length;for(var i=P-1;i>=0;i-- ){if(O[i].href==N||O[i].href==qx.util.Uri.getAbsolute(N)){M.removeImport(i);};};}else {var Q=M.cssRules;var P=Q.length;for(var i=P-1;i>=0;i-- ){if(Q[i].href==N){M.deleteRule(i);};};};},removeAllImports:function(S){if(qx.core.Environment.get(l)){var U=S.imports;var T=U.length;for(var i=T-1;i>=0;i-- ){S.removeImport(i);};}else {var R=S.cssRules;var T=R.length;for(var i=T-1;i>=0;i-- ){if(R[i].type==R[i].IMPORT_RULE){S.deleteRule(i);};};};}}});})();(function(){var a="file",b="+",c="strict",d="anchor",e="div",f="query",g="source",h="password",j="host",k="protocol",l="user",n="directory",p="loose",q="relative",r="queryKey",s="qx.util.Uri",t="",u="path",v="authority",w='">0',x="&",y="port",z='1){bb[ba[0]]=ba[1].replace(u,h);};};return bb;},__fe:function(bw,bh,bo,bi,be,bq){var bp=new Array(bw);var bm=1;bp[0]=this.__fd(bi[0]);var bt=bi[0];var bj=bi[bo[bm]];var bf=Math.floor(bo[bm]/(bh/be*100));var bs=1;for(var i=1;ibo[bm]){bt=bj;bm++ ;bj=bi[bo[bm]];bf=Math.floor(bo[bm]/(bh/be*100))-bf;bs=1;};bp[i]={};var bd;for(var name in bj){var br=bj[name]+h;if(name in this.__fb){if(!bd){bd={};};if(qx.Bootstrap.isArray(bt[name])){if(!qx.Bootstrap.isArray(bj[name])){bj[name]=[bj[name]];};bd[name]=[];for(var j=0;j1){bp[i][bx[0]]=bx[1].replace(u,h);};};bs++ ;};bp[bp.length-1]=this.__fd(bi[100]);return bp;},__ff:function(by){return by.substring((parseFloat(by)+h).length,by.length);},__fg:function(bC,bB,bz,x){var bA=parseFloat(bC)-parseFloat(bB);return (parseFloat(bB)+bA*qx.bom.AnimationFrame.calculateTiming(bz,x))+this.__ff(bC);},play:function(bD){bD.emit(r,bD.el);var bE=window.setInterval(function(){bD.repeatSteps-- ;var bF=bD.delta[bD.i%bD.steps];if(bD.i===0){for(var name in bF){if(bD.initValues[name]===undefined){if(bD.el[name]!==undefined){bD.initValues[name]=bD.el[name];}else if(qx.bom.element.Style){bD.initValues[name]=qx.bom.element.Style.get(bD.el,qx.lang.String.camelCase(name));}else {bD.initValues[name]=bD.el.style[qx.lang.String.camelCase(name)];};};};};qx.bom.element.AnimationJs.__fi(bD.el,bF);bD.i++ ;if(bD.i%bD.steps==0){bD.emit(w,bD.el);if(bD.desc.alternate){bD.delta.reverse();};};if(bD.repeatSteps<0){qx.bom.element.AnimationJs.stop(bD);};},bD.stepTime);bD.animationId=bE;return bD;},pause:function(bG){window.clearInterval(bG.animationId);bG.animationId=null;return bG;},stop:function(bK){var bJ=bK.desc;var bH=bK.el;var bI=bK.initValues;if(bK.animationId){window.clearInterval(bK.animationId);};if(bK.delayId){window.clearTimeout(bK.delayId);};if(bH==undefined){return bK;};var bL=bJ.keep;if(bL!=undefined&&!bK.stopped){if(bK.reverse||(bJ.alternate&&bJ.repeat&&bJ.repeat%2==0)){bL=100-bL;};this.__fi(bH,bJ.keyFrames[bL]);}else {this.__fi(bH,bI);};bH.$$animation=null;bK.el=null;bK.ended=true;bK.animationId=null;bK.emit(s,bH);return bK;},__fh:function(bN,bM){if(bM==undefined){return bN;};if(bM==n){return Number.MAX_VALUE;};return bN*bM;},__fi:function(bP,bO){for(var bQ in bO){if(bO[bQ]===undefined){continue;};if(typeof bP.style[bQ]===v&&bQ in bP){bP[bQ]=bO[bQ];continue;};var name=qx.bom.Style.getPropertyName(bQ)||bQ;if(qx.bom.element.Style){qx.bom.element.Style.set(bP,name,bO[bQ]);}else {bP.style[name]=bO[bQ];};};},__fj:function(bT,bR){var bU=100;for(var i=0;ithis.__eY){bS=bS/2;};return Math.round(bS);},__fk:function(bW){var bV=Object.keys(bW);for(var i=0;ibj)?bm:bj;if(bb>bl){bl=bb;};var be=(bm=1.0){bo%=1.0;};if(bp>1.0){bp=1.0;};if(bq>1.0){bq=1.0;};var br=Math.floor(255*bq);var bs={};if(bp==0.0){bs.red=bs.green=bs.blue=br;}else {bo*=6.0;i=Math.floor(bo);f=bo-i;p=Math.floor(br*(1.0-bp));r=Math.floor(br*(1.0-(bp*f)));t=Math.floor(br*(1.0-(bp*(1.0-f))));switch(i){case 0:bs.red=br;bs.green=t;bs.blue=p;break;case 1:bs.red=r;bs.green=br;bs.blue=p;break;case 2:bs.red=p;bs.green=br;bs.blue=t;break;case 3:bs.red=p;bs.green=r;bs.blue=br;break;case 4:bs.red=t;bs.green=p;bs.blue=br;break;case 5:bs.red=br;bs.green=p;bs.blue=r;break;};};return [bs.red,bs.green,bs.blue];},randomColor:function(){var r=Math.round(Math.random()*255);var g=Math.round(Math.random()*255);var b=Math.round(Math.random()*255);return this.rgbToRgbString([r,g,b]);}}});})();(function(){var a="css.transform.3d",b="backfaceVisibility",c="transformStyle",d="css.transform",e="transformOrigin",f="qx.bom.client.CssTransform",g="transform",h="perspective",i="perspectiveOrigin";qx.Bootstrap.define(f,{statics:{getSupport:function(){var name=qx.bom.client.CssTransform.getName();if(name!=null){return {"name":name,"style":qx.bom.client.CssTransform.getStyle(),"origin":qx.bom.client.CssTransform.getOrigin(),"3d":qx.bom.client.CssTransform.get3D(),"perspective":qx.bom.client.CssTransform.getPerspective(),"perspective-origin":qx.bom.client.CssTransform.getPerspectiveOrigin(),"backface-visibility":qx.bom.client.CssTransform.getBackFaceVisibility()};};return null;},getStyle:function(){return qx.bom.Style.getPropertyName(c);},getPerspective:function(){return qx.bom.Style.getPropertyName(h);},getPerspectiveOrigin:function(){return qx.bom.Style.getPropertyName(i);},getBackFaceVisibility:function(){return qx.bom.Style.getPropertyName(b);},getOrigin:function(){return qx.bom.Style.getPropertyName(e);},getName:function(){return qx.bom.Style.getPropertyName(g);},get3D:function(){return qx.bom.client.CssTransform.getPerspective()!=null;}},defer:function(j){qx.core.Environment.add(d,j.getSupport);qx.core.Environment.add(a,j.get3D);}});})();(function(){var a="backface-visibility",b="css.transform.3d",c=") ",d="px",e="scale",f="Z",g="X",h=", ",j="visible",k=":",l="3d",m="name",n="",o="origin",p="(",q="qx.bom.element.Transform",r="perspective",s="Y",t="css.transform",u="translate",v="perspective-origin",w="hidden",x=";",y=" ",z="style";qx.Bootstrap.define(q,{statics:{__fp:qx.core.Environment.get(t),transform:function(A,C){var D=this.getTransformValue(C);if(this.__fp!=null){var B=this.__fp[m];A.style[B]=D;};},translate:function(E,F){this.transform(E,{translate:F});},scale:function(G,H){this.transform(G,{scale:H});},rotate:function(I,J){this.transform(I,{rotate:J});},skew:function(K,L){this.transform(K,{skew:L});},getCss:function(N){var O=this.getTransformValue(N);if(this.__fp!=null){var M=this.__fp[m];return qx.bom.Style.getCssName(M)+k+O+x;};return n;},setOrigin:function(P,Q){if(this.__fp!=null){P.style[this.__fp[o]]=Q;};},getOrigin:function(R){if(this.__fp!=null){return R.style[this.__fp[o]];};return n;},setStyle:function(S,T){if(this.__fp!=null){S.style[this.__fp[z]]=T;};},getStyle:function(U){if(this.__fp!=null){return U.style[this.__fp[z]];};return n;},setPerspective:function(V,W){if(this.__fp!=null){V.style[this.__fp[r]]=W+d;};},getPerspective:function(X){if(this.__fp!=null){return X.style[this.__fp[r]];};return n;},setPerspectiveOrigin:function(Y,ba){if(this.__fp!=null){Y.style[this.__fp[v]]=ba;};},getPerspectiveOrigin:function(bb){if(this.__fp!=null){var bc=bb.style[this.__fp[v]];if(bc!=n){return bc;}else {var be=bb.style[this.__fp[v]+g];var bd=bb.style[this.__fp[v]+s];if(be!=n){return be+y+bd;};};};return n;},setBackfaceVisibility:function(bf,bg){if(this.__fp!=null){bf.style[this.__fp[a]]=bg?j:w;};},getBackfaceVisibility:function(bh){if(this.__fp!=null){return bh.style[this.__fp[a]]==j;};return true;},getTransformValue:function(bl){var bm=n;var bi=[u,e];for(var bj in bl){var bk=bl[bj];if(qx.Bootstrap.isArray(bk)){if(bk.length===3&&bi.indexOf(bj)>-1&&qx.core.Environment.get(b)){bm+=this._compute3dProperty(bj,bk);}else {bm+=this._computeAxisProperties(bj,bk);};}else {bm+=bj+p+bk+c;};};return bm.trim();},_compute3dProperty:function(bo,bn){var bp=n;bo+=l;for(var i=0;i=m+l){this.emit(g);this.id=null;}else {var o=Math.max(p-m,0);this.emit(f,o);this.id=qx.bom.AnimationFrame.request(n,this);};};this.id=qx.bom.AnimationFrame.request(n,this);},cancelSequence:function(){this.__ft=true;}},statics:{TIMEOUT:30,calculateTiming:function(q,x){if(q==j){var a=[3.1223e-7,0.0757,1.2646,-0.167,-0.4387,0.2654];}else if(q==k){var a=[-7.0198e-8,1.652,-0.551,-0.0458,0.1255,-0.1807];}else if(q==h){return x;}else if(q==b){var a=[2.482e-7,-0.2289,3.3466,-1.0857,-1.7354,0.7034];}else {var a=[-0.0021,0.2472,9.8054,-21.6869,17.7611,-5.1226];};var y=0;for(var i=0;i=8){document.addEventListener(l,function(){if(!document.hidden){bm.__fG();};},false);};}});})();(function(){var a="Child is already in: ",b="text",c="qx.html.Element",d="|capture|",f="focus",g="blur",h="div",j="class",k="deactivate",m="css.userselect",n="animationEnd",o="capture",p="visible",q="Root elements could not be inserted into other ones.",r="Has no children!",s="|bubble|",t="releaseCapture",u="Could not move to same index!",v="element",w="",z="qxSelectable",A="__gc",B="tabIndex",C="off",D="on",E="qx.html.Iframe",F="activate",G="Has no parent to remove from.",H="mshtml",I="engine.name",J="none",K="Has no child: ",L="scroll",M=" ",N="hidden",O="Has no child at this position!",P="css.userselect.none",Q="Could not overwrite existing element!";qx.Class.define(c,{extend:qx.core.Object,construct:function(T,R,S){qx.core.Object.call(this);this.__fH=T||h;this.__fI=R||null;this.__fJ=S||null;},statics:{DEBUG:false,_modified:{},_visibility:{},_scroll:{},_actions:[],__fK:{},__fL:null,__fM:null,_scheduleFlush:function(U){qx.html.Element.__gn.schedule();},flush:function(){var bh;{};var Y=this.__fN();var W=Y.getFocus();if(W&&this.__fP(W)){Y.blur(W);};var bo=Y.getActive();if(bo&&this.__fP(bo)){qx.bom.Element.deactivate(bo);};var bc=this.__fO();if(bc&&this.__fP(bc)){qx.bom.Element.releaseCapture(bc);};var bi=[];var bj=this._modified;for(var bg in bj){bh=bj[bg];if(bh.__gg()||bh.classname==E){if(bh.__fQ&&qx.dom.Hierarchy.isRendered(bh.__fQ)){bi.push(bh);}else {{};bh.__gf();};delete bj[bg];};};for(var i=0,l=bi.length;i=8)){bk.style.visibility=bh.__dp?p:N;};};};delete be[bg];};var scroll=this._scroll;for(var bg in scroll){bh=scroll[bg];var X=bh.__fQ;if(X&&X.offsetWidth){var bb=true;if(bh.__fU!=null){bh.__fQ.scrollLeft=bh.__fU;delete bh.__fU;};if(bh.__fV!=null){bh.__fQ.scrollTop=bh.__fV;delete bh.__fV;};var bl=bh.__fS;if(bl!=null){var bf=bl.element.getDomElement();if(bf&&bf.offsetWidth){qx.bom.element.Scroll.intoViewX(bf,X,bl.align);delete bh.__fS;}else {bb=false;};};var bm=bh.__fT;if(bm!=null){var bf=bm.element.getDomElement();if(bf&&bf.offsetWidth){qx.bom.element.Scroll.intoViewY(bf,X,bm.align);delete bh.__fT;}else {bb=false;};};if(bb){delete scroll[bg];};};};var ba={"releaseCapture":1,"blur":1,"deactivate":1};for(var i=0;i0){this._insertChildren();};}else {this._syncData();if(this.__gd){this._syncChildren();};};delete this.__gd;},_insertChildren:function(){var bv=this.__gc;var length=bv.length;var bx;if(length>2){var bw=document.createDocumentFragment();for(var i=0;i=0;i-- ){bE=bG[i];bD=bH.fromHashCode(bE.$$element);if(!bD||!bD.__fR||bD.__ge!==this){bB.removeChild(bE);{};};};for(var i=0;i=1){return true;};var cD=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;if(cE>=0&&cD[this.__fH]){return true;};return false;},setSelectable:function(cG){this.setAttribute(z,cG?D:C);var cF=qx.core.Environment.get(m);if(cF){this.setStyle(cF,cG?b:qx.core.Environment.get(P));};},isNativelyFocusable:function(){return !!qx.event.handler.Focus.FOCUSABLE_ELEMENTS[this.__fH];},include:function(){if(this.__fR){return this;};delete this.__fR;if(this.__ge){this.__ge._scheduleChildrenUpdate();};return this;},exclude:function(){if(!this.__fR){return this;};this.__fR=false;if(this.__ge){this.__ge._scheduleChildrenUpdate();};return this;},isIncluded:function(){return this.__fR===true;},fadeIn:function(cH){var cI=qxWeb(this.__fQ);if(cI.isPlaying()){cI.stop();};if(!this.__fQ){this.__gf();cI.push(this.__fQ);};if(this.__fQ){cI.fadeIn(cH);return cI.getAnimationHandles()[0];};},fadeOut:function(cJ){var cK=qxWeb(this.__fQ);if(cK.isPlaying()){cK.stop();};if(this.__fQ){cK.fadeOut(cJ).once(n,function(){this.hide();qx.html.Element.flush();},this);return cK.getAnimationHandles()[0];};},show:function(){if(this.__dp){return this;};if(this.__fQ){qx.html.Element._visibility[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};if(this.__ge){this.__ge._scheduleChildrenUpdate();};delete this.__dp;return this;},hide:function(){if(!this.__dp){return this;};if(this.__fQ){qx.html.Element._visibility[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};this.__dp=false;return this;},isVisible:function(){return this.__dp===true;},scrollChildIntoViewX:function(cO,cM,cP){var cL=this.__fQ;var cN=cO.getDomElement();if(cP!==false&&cL&&cL.offsetWidth&&cN&&cN.offsetWidth){qx.bom.element.Scroll.intoViewX(cN,cL,cM);}else {this.__fS={element:cO,align:cM};qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__fU;},scrollChildIntoViewY:function(cT,cR,cU){var cQ=this.__fQ;var cS=cT.getDomElement();if(cU!==false&&cQ&&cQ.offsetWidth&&cS&&cS.offsetWidth){qx.bom.element.Scroll.intoViewY(cS,cQ,cR);}else {this.__fT={element:cT,align:cR};qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__fV;},scrollToX:function(x,cV){var cW=this.__fQ;if(cV!==true&&cW&&cW.offsetWidth){cW.scrollLeft=x;delete this.__fU;}else {this.__fU=x;qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__fS;},getScrollX:function(){var cX=this.__fQ;if(cX){return cX.scrollLeft;};return this.__fU||0;},scrollToY:function(y,da){var cY=this.__fQ;if(da!==true&&cY&&cY.offsetWidth){cY.scrollTop=y;delete this.__fV;}else {this.__fV=y;qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__fT;},getScrollY:function(){var dc=this.__fQ;if(dc){return dc.scrollTop;};return this.__fV||0;},disableScrolling:function(){this.enableScrolling();this.scrollToX(0);this.scrollToY(0);this.addListener(L,this.__gl,this);},enableScrolling:function(){this.removeListener(L,this.__gl,this);},__gk:null,__gl:function(e){if(!this.__gk){this.__gk=true;this.__fQ.scrollTop=0;this.__fQ.scrollLeft=0;delete this.__gk;};},getTextSelection:function(){var dd=this.__fQ;if(dd){return qx.bom.Selection.get(dd);};return null;},getTextSelectionLength:function(){var de=this.__fQ;if(de){return qx.bom.Selection.getLength(de);};return null;},getTextSelectionStart:function(){var df=this.__fQ;if(df){return qx.bom.Selection.getStart(df);};return null;},getTextSelectionEnd:function(){var dg=this.__fQ;if(dg){return qx.bom.Selection.getEnd(dg);};return null;},setTextSelection:function(dh,di){var dj=this.__fQ;if(dj){qx.bom.Selection.set(dj,dh,di);return;};qx.html.Element.__fK[this.toHashCode()]={element:this,start:dh,end:di};qx.html.Element._scheduleFlush(v);},clearTextSelection:function(){var dk=this.__fQ;if(dk){qx.bom.Selection.clear(dk);};delete qx.html.Element.__fK[this.toHashCode()];},__gm:function(dl,dm){var dn=qx.html.Element._actions;dn.push({type:dl,element:this,args:dm||[]});qx.html.Element._scheduleFlush(v);},focus:function(){this.__gm(f);},blur:function(){this.__gm(g);},activate:function(){this.__gm(F);},deactivate:function(){this.__gm(k);},capture:function(dp){this.__gm(o,[dp!==false]);},releaseCapture:function(){this.__gm(t);},setStyle:function(dq,dr,ds){if(!this.__fI){this.__fI={};};if(this.__fI[dq]==dr){return this;};if(dr==null){delete this.__fI[dq];}else {this.__fI[dq]=dr;};if(this.__fQ){if(ds){qx.bom.element.Style.set(this.__fQ,dq,dr);return this;};if(!this.__fW){this.__fW={};};this.__fW[dq]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};return this;},setStyles:function(du,dw){var dv=qx.bom.element.Style;if(!this.__fI){this.__fI={};};if(this.__fQ){if(!this.__fW){this.__fW={};};for(var dt in du){var dx=du[dt];if(this.__fI[dt]==dx){continue;};if(dx==null){delete this.__fI[dt];}else {this.__fI[dt]=dx;};if(dw){dv.set(this.__fQ,dt,dx);continue;};this.__fW[dt]=true;};qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);}else {for(var dt in du){var dx=du[dt];if(this.__fI[dt]==dx){continue;};if(dx==null){delete this.__fI[dt];}else {this.__fI[dt]=dx;};};};return this;},removeStyle:function(dz,dy){this.setStyle(dz,null,dy);return this;},getStyle:function(dA){return this.__fI?this.__fI[dA]:null;},getAllStyles:function(){return this.__fI||null;},setAttribute:function(dB,dC,dD){if(!this.__fJ){this.__fJ={};};if(this.__fJ[dB]==dC){return this;};if(dC==null){delete this.__fJ[dB];}else {this.__fJ[dB]=dC;};if(this.__fQ){if(dD){qx.bom.element.Attribute.set(this.__fQ,dB,dC);return this;};if(!this.__fX){this.__fX={};};this.__fX[dB]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};return this;},setAttributes:function(dE,dF){for(var dG in dE){this.setAttribute(dG,dE[dG],dF);};return this;},removeAttribute:function(dI,dH){return this.setAttribute(dI,null,dH);},getAttribute:function(dJ){return this.__fJ?this.__fJ[dJ]:null;},addClass:function(name){var dK=((this.getAttribute(j)||w)+M+name).trim();this.setAttribute(j,dK);},removeClass:function(name){var dL=this.getAttribute(j);if(dL){this.setAttribute(j,(dL.replace(name,w)).trim());};},_applyProperty:function(name,dM){},_setProperty:function(dN,dO,dP){if(!this.__ga){this.__ga={};};if(this.__ga[dN]==dO){return this;};if(dO==null){delete this.__ga[dN];}else {this.__ga[dN]=dO;};if(this.__fQ){if(dP){this._applyProperty(dN,dO);return this;};if(!this.__fY){this.__fY={};};this.__fY[dN]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};return this;},_removeProperty:function(dR,dQ){return this._setProperty(dR,null,dQ);},_getProperty:function(dT){var dS=this.__ga;if(!dS){return null;};var dU=dS[dT];return dU==null?null:dU;},addListener:function(ea,dW,self,dV){if(this.$$disposed){return null;};{var dX;};if(this.__fQ){return qx.event.Registration.addListener(this.__fQ,ea,dW,self,dV);};if(!this.__gb){this.__gb={};};if(dV==null){dV=false;};var dY=qx.event.Manager.getNextUniqueId();var eb=ea+(dV?d:s)+dY;this.__gb[eb]={type:ea,listener:dW,self:self,capture:dV,unique:dY};return eb;},removeListener:function(ej,ed,self,ec){if(this.$$disposed){return null;};{var eh;};if(this.__fQ){if(ed.$$wrapped_callback&&ed.$$wrapped_callback[ej+this.$$hash]){var ee=ed.$$wrapped_callback[ej+this.$$hash];delete ed.$$wrapped_callback[ej+this.$$hash];ed=ee;};qx.event.Registration.removeListener(this.__fQ,ej,ed,self,ec);}else {var ef=this.__gb;var ei;if(ec==null){ec=false;};for(var eg in ef){ei=ef[eg];if(ei.listener===ed&&ei.self===self&&ei.capture===ec&&ei.type===ej){delete ef[eg];break;};};};return this;},removeListenerById:function(ek){if(this.$$disposed){return null;};if(this.__fQ){qx.event.Registration.removeListenerById(this.__fQ,ek);}else {delete this.__gb[ek];};return this;},hasListener:function(en,em){if(this.$$disposed){return false;};if(this.__fQ){return qx.event.Registration.hasListener(this.__fQ,en,em);};var eo=this.__gb;var eq;if(em==null){em=false;};for(var ep in eo){eq=eo[ep];if(eq.capture===em&&eq.type===en){return true;};};return false;},getListeners:function(){if(this.$$disposed){return null;};if(this.__fQ){return qx.event.Registration.getManager(this.__fQ).serializeListeners(this.__fQ);};var er=[];for(var et in this.__gb){var es=this.__gb[et];er.push({type:es.type,handler:es.listener,self:es.self,capture:es.capture});};return er;}},defer:function(eu){eu.__gn=new qx.util.DeferredCall(eu.flush,eu);},destruct:function(){if(this.$$hash){delete qx.html.Element._modified[this.$$hash];delete qx.html.Element._scroll[this.$$hash];};var ev=this.__fQ;if(ev){qx.event.Registration.getManager(ev).removeAllListeners(ev);ev.$$element=w;};if(!qx.core.ObjectRegistry.inShutDown){var parent=this.__ge;if(parent&&!parent.$$disposed){parent.remove(this);};};this._disposeArray(A);this.__fJ=this.__fI=this.__gb=this.__ga=this.__fX=this.__fW=this.__fY=this.__fQ=this.__ge=this.__fS=this.__fT=null;}});})();(function(){var a="selectstart",b="os.name",c="blur",d="mousedown",e="focus",f="os.version",g="qx.event.handler.Focus",h="_applyFocus",i="DOMFocusIn",j="deactivate",k="browser.name",l="textarea",m="_applyActive",n='character',o="input",p="ios",q="",r="qxSelectable",s="tabIndex",t="off",u="on",v="activate",w="focusin",x="mshtml",y="engine.name",z="mouseup",A="DOMFocusOut",B="focusout",C="qxKeepFocus",D="draggesture",E="qxKeepActive";qx.Class.define(g,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(F){qx.core.Object.call(this);this._manager=F;this._window=F.getWindow();this._document=this._window.document;this._root=this._document.documentElement;this._body=this._document.body;if((qx.core.Environment.get(b)==p&&parseFloat(qx.core.Environment.get(f))>6)&&(!qx.application.Inline||!qx.core.Init.getApplication() instanceof qx.application.Inline)){this.__go=true;};this._initObserver();},properties:{active:{apply:m,nullable:true},focus:{apply:h,nullable:true}},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{focus:1,blur:1,focusin:1,focusout:1,activate:1,deactivate:1},IGNORE_CAN_HANDLE:true,FOCUSABLE_ELEMENTS:qx.core.Environment.select(y,{"mshtml":{a:1,body:1,button:1,frame:1,iframe:1,img:1,input:1,object:1,select:1,textarea:1},"gecko":{a:1,body:1,button:1,frame:1,iframe:1,img:1,input:1,object:1,select:1,textarea:1},"opera":{button:1,input:1,select:1,textarea:1},"webkit":{button:1,input:1,select:1,textarea:1}})},members:{__gp:null,__gq:null,__gr:null,__gs:null,__gt:null,__gu:null,__gv:null,__gw:null,__gx:null,__gy:null,__gz:q,__gA:q,__go:false,__gB:null,canHandleEvent:function(H,G){},registerEvent:function(K,J,I){},unregisterEvent:function(N,M,L){},focus:function(O){if((qx.core.Environment.get(y)==x)){window.setTimeout(function(){try{O.focus();var P=qx.bom.Selection.get(O);if(P.length==0){var Q=O.createTextRange();Q.moveStart(n,O.value.length);Q.collapse();Q.select();};}catch(R){};},0);}else {try{O.focus();}catch(S){};};this.setFocus(O);this.setActive(O);},activate:function(T){this.setActive(T);},blur:function(U){try{U.blur();}catch(V){};if(this.getActive()===U){this.resetActive();};if(this.getFocus()===U){this.resetFocus();};},deactivate:function(W){if(this.getActive()===W){this.resetActive();};},tryActivate:function(Y){var X=this.__gQ(Y);if(X){this.setActive(X);};},__gC:function(ba,bc,bf,be){var bd=qx.event.Registration;var bb=bd.createEvent(bf,qx.event.type.Focus,[ba,bc,be]);bd.dispatchEvent(ba,bb);},_windowFocused:true,__gD:function(){if(this._windowFocused){this._windowFocused=false;this.__gC(this._window,null,c,false);};},__gE:function(){if(!this._windowFocused){this._windowFocused=true;this.__gC(this._window,null,e,false);};},_initObserver:qx.core.Environment.select(y,{"gecko":function(){this.__gp=qx.lang.Function.listener(this.__gK,this);this.__gq=qx.lang.Function.listener(this.__gL,this);this.__gr=qx.lang.Function.listener(this.__gJ,this);this.__gs=qx.lang.Function.listener(this.__gI,this);this.__gt=qx.lang.Function.listener(this.__gF,this);qx.bom.Event.addNativeListener(this._document,d,this.__gp,true);qx.bom.Event.addNativeListener(this._document,z,this.__gq,true);qx.bom.Event.addNativeListener(this._window,e,this.__gr,true);qx.bom.Event.addNativeListener(this._window,c,this.__gs,true);qx.bom.Event.addNativeListener(this._window,D,this.__gt,true);},"mshtml":function(){this.__gp=qx.lang.Function.listener(this.__gK,this);this.__gq=qx.lang.Function.listener(this.__gL,this);this.__gv=qx.lang.Function.listener(this.__gG,this);this.__gw=qx.lang.Function.listener(this.__gH,this);this.__gu=qx.lang.Function.listener(this.__gN,this);qx.bom.Event.addNativeListener(this._document,d,this.__gp);qx.bom.Event.addNativeListener(this._document,z,this.__gq);qx.bom.Event.addNativeListener(this._document,w,this.__gv);qx.bom.Event.addNativeListener(this._document,B,this.__gw);qx.bom.Event.addNativeListener(this._document,a,this.__gu);},"webkit":qx.core.Environment.select(k,{"edge":function(bg){this.__gp=qx.lang.Function.listener(this.__gK,this);this.__gq=qx.lang.Function.listener(this.__gL,this);this.__gw=qx.lang.Function.listener(this.__gH,this);this.__gr=qx.lang.Function.listener(this.__gJ,this);this.__gs=qx.lang.Function.listener(this.__gI,this);this.__gu=qx.lang.Function.listener(this.__gN,this);qx.bom.Event.addNativeListener(this._document,d,this.__gp,true);qx.bom.Event.addNativeListener(this._document,z,this.__gq,true);qx.bom.Event.addNativeListener(this._document,a,this.__gu,false);qx.bom.Event.addNativeListener(this._document,w,this.__gv);qx.bom.Event.addNativeListener(this._document,B,this.__gw);},"default":function(bh){this.__gp=qx.lang.Function.listener(this.__gK,this);this.__gq=qx.lang.Function.listener(this.__gL,this);this.__gw=qx.lang.Function.listener(this.__gH,this);this.__gr=qx.lang.Function.listener(this.__gJ,this);this.__gs=qx.lang.Function.listener(this.__gI,this);this.__gu=qx.lang.Function.listener(this.__gN,this);qx.bom.Event.addNativeListener(this._document,d,this.__gp,true);qx.bom.Event.addNativeListener(this._document,z,this.__gq,true);qx.bom.Event.addNativeListener(this._document,a,this.__gu,false);qx.bom.Event.addNativeListener(this._window,A,this.__gw,true);qx.bom.Event.addNativeListener(this._window,e,this.__gr,true);qx.bom.Event.addNativeListener(this._window,c,this.__gs,true);}}),"opera":function(){this.__gp=qx.lang.Function.listener(this.__gK,this);this.__gq=qx.lang.Function.listener(this.__gL,this);this.__gv=qx.lang.Function.listener(this.__gG,this);this.__gw=qx.lang.Function.listener(this.__gH,this);qx.bom.Event.addNativeListener(this._document,d,this.__gp,true);qx.bom.Event.addNativeListener(this._document,z,this.__gq,true);qx.bom.Event.addNativeListener(this._window,i,this.__gv,true);qx.bom.Event.addNativeListener(this._window,A,this.__gw,true);}}),_stopObserver:qx.core.Environment.select(y,{"gecko":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__gp,true);qx.bom.Event.removeNativeListener(this._document,z,this.__gq,true);qx.bom.Event.removeNativeListener(this._window,e,this.__gr,true);qx.bom.Event.removeNativeListener(this._window,c,this.__gs,true);qx.bom.Event.removeNativeListener(this._window,D,this.__gt,true);},"mshtml":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__gp);qx.bom.Event.removeNativeListener(this._document,z,this.__gq);qx.bom.Event.removeNativeListener(this._document,w,this.__gv);qx.bom.Event.removeNativeListener(this._document,B,this.__gw);qx.bom.Event.removeNativeListener(this._document,a,this.__gu);},"webkit":qx.core.Environment.select(k,{"edge":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__gp);qx.bom.Event.removeNativeListener(this._document,z,this.__gq);qx.bom.Event.removeNativeListener(this._document,w,this.__gv);qx.bom.Event.removeNativeListener(this._document,B,this.__gw);qx.bom.Event.removeNativeListener(this._document,a,this.__gu);},"default":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__gp,true);qx.bom.Event.removeNativeListener(this._document,z,this.__gq,true);qx.bom.Event.removeNativeListener(this._document,a,this.__gu,false);qx.bom.Event.removeNativeListener(this._window,A,this.__gw,true);qx.bom.Event.removeNativeListener(this._window,e,this.__gr,true);qx.bom.Event.removeNativeListener(this._window,c,this.__gs,true);}}),"opera":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__gp,true);qx.bom.Event.removeNativeListener(this._document,z,this.__gq,true);qx.bom.Event.removeNativeListener(this._window,i,this.__gv,true);qx.bom.Event.removeNativeListener(this._window,A,this.__gw,true);}}),__gF:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"gecko":function(bi){var bj=qx.bom.Event.getTarget(bi);if(!this.__gR(bj)){qx.bom.Event.preventDefault(bi);};},"default":null})),__gG:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(bl){this.__gE();var bm=qx.bom.Event.getTarget(bl);var bk=this.__gP(bm);if(bk){this.setFocus(bk);};this.tryActivate(bm);},"webkit":qx.core.Environment.select(k,{"edge":function(bo){this.__gE();var bp=qx.bom.Event.getTarget(bo);var bn=this.__gP(bp);if(bn){this.setFocus(bn);};this.tryActivate(bp);},"default":null}),"opera":function(bq){var br=qx.bom.Event.getTarget(bq);if(br==this._document||br==this._window){this.__gE();if(this.__gx){this.setFocus(this.__gx);delete this.__gx;};if(this.__gy){this.setActive(this.__gy);delete this.__gy;};}else {this.setFocus(br);this.tryActivate(br);if(!this.__gR(br)){br.selectionStart=0;br.selectionEnd=0;};};},"default":null})),__gH:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(bs){var bt=qx.bom.Event.getRelatedTarget(bs);if(bt==null){this.__gD();this.resetFocus();this.resetActive();};},"webkit":qx.core.Environment.select(k,{"edge":function(bu){var bv=qx.bom.Event.getRelatedTarget(bu);if(bv==null){this.__gD();this.resetFocus();this.resetActive();};},"default":function(bw){var bx=qx.bom.Event.getTarget(bw);if(bx===this.getFocus()){this.resetFocus();};if(bx===this.getActive()){this.resetActive();};}}),"opera":function(by){var bz=qx.bom.Event.getTarget(by);if(bz==this._document){this.__gD();this.__gx=this.getFocus();this.__gy=this.getActive();this.resetFocus();this.resetActive();}else {if(bz===this.getFocus()){this.resetFocus();};if(bz===this.getActive()){this.resetActive();};};},"default":null})),__gI:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"gecko":function(bA){var bB=qx.bom.Event.getTarget(bA);if(bB===this._window||bB===this._document){this.__gD();this.resetActive();this.resetFocus();};},"webkit":function(bC){var bD=qx.bom.Event.getTarget(bC);if(bD===this._window||bD===this._document){this.__gD();this.__gx=this.getFocus();this.__gy=this.getActive();this.resetActive();this.resetFocus();};},"default":null})),__gJ:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"gecko":function(bE){var bF=qx.bom.Event.getTarget(bE);if(bF===this._window||bF===this._document){this.__gE();bF=this._body;};this.setFocus(bF);this.tryActivate(bF);},"webkit":function(bG){var bH=qx.bom.Event.getTarget(bG);if(bH===this._window||bH===this._document){this.__gE();if(this.__gx){this.setFocus(this.__gx);delete this.__gx;};if(this.__gy){this.setActive(this.__gy);delete this.__gy;};}else {this.__gB=bG.relatedTarget;this.setFocus(bH);this.__gB=null;this.tryActivate(bH);};},"default":null})),__gK:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(bJ){var bK=qx.bom.Event.getTarget(bJ);var bI=this.__gP(bK);if(bI){if(!this.__gR(bK)){bK.unselectable=u;try{document.selection.empty();}catch(bL){};try{bI.focus();}catch(bM){};};}else {qx.bom.Event.preventDefault(bJ);if(!this.__gR(bK)){bK.unselectable=u;};};},"webkit":function(bO){var bP=qx.bom.Event.getTarget(bO);var bN=this.__gP(bP);if(bN){this.setFocus(bN);}else {qx.bom.Event.preventDefault(bO);};},"gecko":function(bR){var bS=qx.bom.Event.getTarget(bR);var bQ=this.__gP(bS);if(bQ){this.setFocus(bQ);}else {qx.bom.Event.preventDefault(bR);};},"opera":function(bV){var bW=qx.bom.Event.getTarget(bV);var bT=this.__gP(bW);if(!this.__gR(bW)){qx.bom.Event.preventDefault(bV);if(bT){var bU=this.getFocus();if(bU&&bU.selectionEnd){bU.selectionStart=0;bU.selectionEnd=0;bU.blur();};if(bT){this.setFocus(bT);};};}else if(bT){this.setFocus(bT);};},"default":null})),__gL:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(bX){var bY=qx.bom.Event.getTarget(bX);if(bY.unselectable){bY.unselectable=t;};this.tryActivate(this.__gM(bY));},"gecko":function(ca){var cb=qx.bom.Event.getTarget(ca);while(cb&&cb.offsetWidth===undefined){cb=cb.parentNode;};if(cb){this.tryActivate(cb);};},"webkit":function(cc){var cd=qx.bom.Event.getTarget(cc);this.tryActivate(this.__gM(cd));},"opera":function(ce){var cf=qx.bom.Event.getTarget(ce);this.tryActivate(this.__gM(cf));},"default":null})),__gM:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(cg){var ch=this.getFocus();if(ch&&cg!=ch&&(ch.nodeName.toLowerCase()===o||ch.nodeName.toLowerCase()===l)){cg=ch;};return cg;},"webkit":function(ci){var cj=this.getFocus();if(cj&&ci!=cj&&(cj.nodeName.toLowerCase()===o||cj.nodeName.toLowerCase()===l)){ci=cj;};return ci;},"default":function(ck){return ck;}})),__gN:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(cl){var cm=qx.bom.Event.getTarget(cl);if(!this.__gR(cm)){qx.bom.Event.preventDefault(cl);};},"webkit":function(cn){var co=qx.bom.Event.getTarget(cn);if(!this.__gR(co)){qx.bom.Event.preventDefault(cn);};},"default":null})),__gO:function(cp){var cq=qx.bom.element.Attribute.get(cp,s);if(cq>=1){return true;};var cr=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;if(cq>=0&&cr[cp.tagName]){return true;};return false;},__gP:function(cs){while(cs&&cs.nodeType===1){if(cs.getAttribute(C)==u){return null;};if(this.__gO(cs)){return cs;};cs=cs.parentNode;};return this._body;},__gQ:function(ct){var cu=ct;while(ct&&ct.nodeType===1){if(ct.getAttribute(E)==u){return null;};ct=ct.parentNode;};return cu;},__gR:function(cv){while(cv&&cv.nodeType===1){var cw=cv.getAttribute(r);if(cw!=null){return cw===u;};cv=cv.parentNode;};return true;},_applyActive:function(cy,cx){if(cx){this.__gC(cx,cy,j,true);};if(cy){this.__gC(cy,cx,v,true);};if(this.__go){window.scrollTo(0,0);};},_applyFocus:function(cA,cz){if(cz){this.__gC(cz,cA,B,true);};if(cA){this.__gC(cA,cz,w,true);};if(cz){this.__gC(cz,cA,c,false);};if(cA){this.__gC(cA,cz||this.__gB,e,false);};}},destruct:function(){this._stopObserver();this._manager=this._window=this._document=this._root=this._body=this.__gS=this.__gB=null;},defer:function(cC){qx.event.Registration.addHandler(cC);var cD=cC.FOCUSABLE_ELEMENTS;for(var cB in cD){cD[cB.toUpperCase()]=1;};}});})();(function(){var a="qx.event.type.Focus";qx.Class.define(a,{extend:qx.event.type.Event,members:{init:function(d,b,c){qx.event.type.Event.prototype.init.call(this,c,false);this._target=d;this._relatedTarget=b;return this;}}});})();(function(){var a="abstract",b="Missing implementation",c="qx.event.dispatch.AbstractBubbling";qx.Class.define(c,{extend:qx.core.Object,implement:qx.event.IEventDispatcher,type:a,construct:function(d){this._manager=d;},members:{_getParent:function(e){throw new Error(b);},canDispatchEvent:function(g,event,f){return event.getBubbles();},dispatchEvent:function(l,event,w){var parent=l;var s=this._manager;var o,x;var n;var v,u;var y;var q=[];o=s.getListeners(l,w,true);x=s.getListeners(l,w,false);if(o){q.push(o);};if(x){q.push(x);};var parent=this._getParent(l);var k=[];var h=[];var m=[];var p=[];while(parent!=null){o=s.getListeners(parent,w,true);if(o){m.push(o);p.push(parent);};x=s.getListeners(parent,w,false);if(x){k.push(x);h.push(parent);};parent=this._getParent(parent);};event.setEventPhase(qx.event.type.Event.CAPTURING_PHASE);for(var i=m.length-1;i>=0;i-- ){y=p[i];event.setCurrentTarget(y);n=m[i];for(var j=0,r=n.length;jbc.anchorOffset){return bc.focusOffset;}else {return bc.anchorOffset;};};};if(this.__gT(bb)){return bb.selectionEnd;}else {return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bb)).focusOffset;};}}),__gT:function(be){return qx.dom.Node.isElement(be)&&(be.nodeName.toLowerCase()==h||be.nodeName.toLowerCase()==n);},set:qx.core.Environment.select(m,{"selection":function(bf,bi,bh){var bg;if(qx.dom.Node.isDocument(bf)){bf=bf.body;};if(qx.dom.Node.isElement(bf)||qx.dom.Node.isText(bf)){switch(bf.nodeName.toLowerCase()){case h:case n:case d:if(bh===undefined){bh=bf.value.length;};if(bi>=0&&bi<=bf.value.length&&bh>=0&&bh<=bf.value.length){bg=qx.bom.Range.get(bf);bg.collapse(true);bg.moveStart(c,bi);bg.moveEnd(c,bh-bi);bg.select();return true;};break;case f:if(bh===undefined){bh=bf.nodeValue.length;};if(bi>=0&&bi<=bf.nodeValue.length&&bh>=0&&bh<=bf.nodeValue.length){bg=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bg.moveToElementText(bf.parentNode);bg.collapse(true);bg.moveStart(c,bi);bg.moveEnd(c,bh-bi);bg.select();return true;};break;default:if(bh===undefined){bh=bf.childNodes.length-1;};if(bf.childNodes[bi]&&bf.childNodes[bh]){bg=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bg.moveToElementText(bf.childNodes[bi]);bg.collapse(true);var bj=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bj.moveToElementText(bf.childNodes[bh]);bg.setEndPoint(j,bj);bg.select();return true;};};};return false;},"default":function(bk,bp,bm){var bn=bk.nodeName.toLowerCase();if(qx.dom.Node.isElement(bk)&&(bn==h||bn==n)){if(bm===undefined){bm=bk.value.length;};if(bp>=0&&bp<=bk.value.length&&bm>=0&&bm<=bk.value.length){bk.focus();bk.select();bk.setSelectionRange(bp,bm);return true;};}else {var bq=false;var bl=qx.dom.Node.getWindow(bk).getSelection();var bo=qx.bom.Range.get(bk);if(qx.dom.Node.isText(bk)){if(bm===undefined){bm=bk.length;};if(bp>=0&&bp=0&&bm<=bk.length){bq=true;};}else if(qx.dom.Node.isElement(bk)){if(bm===undefined){bm=bk.childNodes.length-1;};if(bp>=0&&bk.childNodes[bp]&&bm>=0&&bk.childNodes[bm]){bq=true;};}else if(qx.dom.Node.isDocument(bk)){bk=bk.body;if(bm===undefined){bm=bk.childNodes.length-1;};if(bp>=0&&bk.childNodes[bp]&&bm>=0&&bk.childNodes[bm]){bq=true;};};if(bq){if(!bl.isCollapsed){bl.collapseToStart();};bo.setStart(bk,bp);if(qx.dom.Node.isText(bk)){bo.setEnd(bk,bm);}else {bo.setEndAfter(bk.childNodes[bm]);};if(bl.rangeCount>0){bl.removeAllRanges();};bl.addRange(bo);return true;};};return false;}}),setAll:function(br){return qx.bom.Selection.set(br,0);},clear:qx.core.Environment.select(m,{"selection":function(bs){var bu=qx.bom.Range.get(bs);var parent=bu.parentElement();var bv=qx.bom.Range.get(qx.dom.Node.getDocument(bs));if(qx.dom.Node.isText(bs)){bs=bs.parentNode;};if(parent==bv.parentElement()&&parent==bs){var bt=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bs));bt.empty();};},"default":function(bw){var bB=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bw));var bx=bw.nodeName.toLowerCase();if(qx.dom.Node.isElement(bw)&&(bx==h||bx==n)){bw.setSelectionRange(0,0);if(qx.bom.Element&&qx.bom.Element.blur){qx.bom.Element.blur(bw);};}else if(qx.dom.Node.isDocument(bw)||bx==o){bB.collapse(bw.body?bw.body:bw,0);}else {var by=qx.bom.Range.get(bw);if(!by.collapsed){var bz;var bA=by.commonAncestorContainer;if(qx.dom.Node.isElement(bw)&&qx.dom.Node.isText(bA)){bz=bA.parentNode;}else {bz=bA;};if(bz==bw){bB.collapse(bw,0);};};};}})}});})();(function(){var a="m",b="g",c="^",d="",e="qx.util.StringSplit",f="i",g="$(?!\\s)",h="[object RegExp]",j="y";qx.Bootstrap.define(e,{statics:{split:function(k,p,o){if(Object.prototype.toString.call(p)!==h){return String.prototype.split.call(k,p,o);};var r=[],l=0,m=(p.ignoreCase?f:d)+(p.multiline?a:d)+(p.sticky?j:d),p=RegExp(p.source,m+b),n,t,q,u,s=/()??/.exec(d)[1]===undefined;k=k+d;if(!s){n=RegExp(c+p.source+g,m);};if(o===undefined||+o<0){o=Infinity;}else {o=Math.floor(+o);if(!o){return [];};};while(t=p.exec(k)){q=t.index+t[0].length;if(q>l){r.push(k.slice(l,t.index));if(!s&&t.length>1){t[0].replace(n,function(){for(var i=1;i1&&t.index=o){break;};};if(p.lastIndex===t.index){p.lastIndex++ ;};};if(l===k.length){if(u||!p.test(d)){r.push(d);};}else {r.push(k.slice(l));};return r.length>o?r.slice(0,o):r;}}});})();(function(){var a="qx.bom.Range",b="text",c="password",d="file",e="submit",f="reset",g="textarea",h="input",i="hidden",j="html.selection",k="button",l="body";qx.Bootstrap.define(a,{statics:{get:qx.core.Environment.select(j,{"selection":function(m){if(qx.dom.Node.isElement(m)){switch(m.nodeName.toLowerCase()){case h:switch(m.type){case b:case c:case i:case k:case f:case d:case e:return m.createTextRange();default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};break;case g:case l:case k:return m.createTextRange();default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};}else {if(m==null){m=window;};return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};},"default":function(n){var o=qx.dom.Node.getDocument(n);var p=qx.bom.Selection.getSelectionObject(o);if(p.rangeCount>0){return p.getRangeAt(0);}else {return o.createRange();};}})}});})();(function(){var a="qx.event.handler.Appear",b="engine.name",c="mshtml",d="disappear",e="appear",f="browser.documentmode";qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(g){qx.core.Object.call(this);this.__et=g;this.__gU={};qx.event.handler.Appear.__gV[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,__gV:{},refresh:function(){var h=this.__gV;for(var i in h){h[i].refresh();};}},members:{__et:null,__gU:null,canHandleEvent:function(k,j){},registerEvent:function(o,p,m){var n=qx.core.ObjectRegistry.toHashCode(o)+p;var l=this.__gU;if(l&&!l[n]){l[n]=o;o.$$displayed=o.offsetWidth>0;};},unregisterEvent:function(t,u,r){var s=qx.core.ObjectRegistry.toHashCode(t)+u;var q=this.__gU;if(!q){return;};if(q[s]){delete q[s];};},refresh:function(){var A=this.__gU;var x;var y=qx.core.Environment.get(b)==c&&qx.core.Environment.get(f)<9;for(var v in A){x=A[v];var w=x.offsetWidth>0;if(!w&&y){w=x.offsetWidth>0;};if((!!x.$$displayed)!==w){x.$$displayed=w;var z=qx.event.Registration.createEvent(w?e:d);this.__et.dispatchEvent(x,z);};};}},destruct:function(){this.__et=this.__gU=null;delete qx.event.handler.Appear.__gV[this.$$hash];},defer:function(B){qx.event.Registration.addHandler(B);}});})();(function(){var a="mshtml",b="engine.name",c="blur",d="losecapture",e="focus",f="os.version",g="click",h="qx.event.dispatch.MouseCapture",i="capture",j="scroll",k="browser.documentmode";qx.Class.define(h,{extend:qx.event.dispatch.AbstractBubbling,construct:function(l,m){qx.event.dispatch.AbstractBubbling.call(this,l);this.__cz=l.getWindow();this.__cB=m;l.addListener(this.__cz,c,this.releaseCapture,this);l.addListener(this.__cz,e,this.releaseCapture,this);l.addListener(this.__cz,j,this.releaseCapture,this);},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST},members:{__cB:null,__gW:null,__gX:true,__cz:null,_getParent:function(n){return n.parentNode;},canDispatchEvent:function(p,event,o){return !!(this.__gW&&this.__gY[o]);},dispatchEvent:function(r,event,q){if(q==g){event.stopPropagation();this.releaseCapture();return;};if(this.__gX||!qx.dom.Hierarchy.contains(this.__gW,r)){r=this.__gW;};qx.event.dispatch.AbstractBubbling.prototype.dispatchEvent.call(this,r,event,q);},__gY:{"mouseup":1,"mousedown":1,"click":1,"dblclick":1,"mousemove":1,"mouseout":1,"mouseover":1,"pointerdown":1,"pointerup":1,"pointermove":1,"pointerover":1,"pointerout":1,"tap":1,"dbltap":1},activateCapture:function(t,s){var s=s!==false;if(this.__gW===t&&this.__gX==s){return;};if(this.__gW){this.releaseCapture();};if(this.hasNativeCapture){this.nativeSetCapture(t,s);var self=this;qx.bom.Event.addNativeListener(t,d,function(){qx.bom.Event.removeNativeListener(t,d,arguments.callee);self.releaseCapture();});};this.__gX=s;this.__gW=t;this.__cB.fireEvent(t,i,qx.event.type.Event,[true,false]);},getCaptureElement:function(){return this.__gW;},releaseCapture:function(){var u=this.__gW;if(!u){return;};this.__gW=null;this.__cB.fireEvent(u,d,qx.event.type.Event,[true,false]);this.nativeReleaseCapture(u);},hasNativeCapture:(qx.core.Environment.get(b)==a&&qx.core.Environment.get(k)<9||(parseInt(qx.core.Environment.get(f),10)>7&&qx.core.Environment.get(k)>9)),nativeSetCapture:qx.core.Environment.select(b,{"mshtml":function(w,v){w.setCapture(v!==false);},"default":(function(){})}),nativeReleaseCapture:qx.core.Environment.select(b,{"mshtml":function(x){x.releaseCapture();},"default":(function(){})})},destruct:function(){this.__gW=this.__cz=this.__cB=null;},defer:function(y){qx.event.Registration.addDispatcher(y);}});})();(function(){var a="qx.event.handler.Capture";qx.Class.define(a,{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(c,b){},registerEvent:function(f,e,d){},unregisterEvent:function(i,h,g){}},defer:function(j){qx.event.Registration.addHandler(j);}});})();(function(){var a="qx.dom.Hierarchy",b="previousSibling",c="html.element.contains",d="html.element.compareDocumentPosition",e="nextSibling",f="parentNode",g="*";qx.Bootstrap.define(a,{statics:{getNodeIndex:function(h){var i=0;while(h&&(h=h.previousSibling)){i++ ;};return i;},getElementIndex:function(l){var j=0;var k=qx.dom.Node.ELEMENT;while(l&&(l=l.previousSibling)){if(l.nodeType==k){j++ ;};};return j;},getNextElementSibling:function(m){while(m&&(m=m.nextSibling)&&!qx.dom.Node.isElement(m)){continue;};return m||null;},getPreviousElementSibling:function(n){while(n&&(n=n.previousSibling)&&!qx.dom.Node.isElement(n)){continue;};return n||null;},contains:function(q,p){if(qx.core.Environment.get(c)){if(qx.dom.Node.isDocument(q)){var o=qx.dom.Node.getDocument(p);return q&&o==q;}else if(qx.dom.Node.isDocument(p)){return false;}else {return q.contains(p);};}else if(qx.core.Environment.get(d)){return !!(q.compareDocumentPosition(p)&16);}else {while(p){if(q==p){return true;};p=p.parentNode;};return false;};},isRendered:function(s){var r=s.ownerDocument||s.document;if(qx.core.Environment.get(c)){if(!s.parentNode){return false;};return r.body.contains(s);}else if(qx.core.Environment.get(d)){return !!(r.compareDocumentPosition(s)&16);}else {while(s){if(s==r.body){return true;};s=s.parentNode;};return false;};},isDescendantOf:function(u,t){return this.contains(t,u);},getCommonParent:function(w,x){if(w===x){return w;};if(qx.core.Environment.get(c)){while(w&&qx.dom.Node.isElement(w)){if(w.contains(x)){return w;};w=w.parentNode;};return null;}else {var v=[];while(w||x){if(w){if(qx.lang.Array.contains(v,w)){return w;};v.push(w);w=w.parentNode;};if(x){if(qx.lang.Array.contains(v,x)){return x;};v.push(x);x=x.parentNode;};};return null;};},getAncestors:function(y){return this._recursivelyCollect(y,f);},getChildElements:function(A){A=A.firstChild;if(!A){return [];};var z=this.getNextSiblings(A);if(A.nodeType===1){z.unshift(A);};return z;},getDescendants:function(B){return qx.lang.Array.fromCollection(B.getElementsByTagName(g));},getFirstDescendant:function(C){C=C.firstChild;while(C&&C.nodeType!=1){C=C.nextSibling;};return C;},getLastDescendant:function(D){D=D.lastChild;while(D&&D.nodeType!=1){D=D.previousSibling;};return D;},getPreviousSiblings:function(E){return this._recursivelyCollect(E,b);},getNextSiblings:function(F){return this._recursivelyCollect(F,e);},_recursivelyCollect:function(I,G){var H=[];while(I=I[G]){if(I.nodeType==1){H.push(I);};};return H;},getSiblings:function(J){return this.getPreviousSiblings(J).reverse().concat(this.getNextSiblings(J));},isEmpty:function(K){K=K.firstChild;while(K){if(K.nodeType===qx.dom.Node.ELEMENT||K.nodeType===qx.dom.Node.TEXT){return false;};K=K.nextSibling;};return true;},cleanWhitespace:function(N){var L=N.firstChild;while(L){var M=L.nextSibling;if(L.nodeType==3&&!/\S/.test(L.nodeValue)){N.removeChild(L);};L=M;};}}});})();(function(){var a="borderBottomWidth",b="visible",d="engine.name",e="borderTopWidth",f="top",g="borderLeftStyle",h="none",i="overflow",j="right",k="bottom",l="borderLeftWidth",m="100px",n="-moz-scrollbars-vertical",o="borderRightStyle",p="hidden",q="div",r="left",u="qx.bom.element.Scroll",v="borderRightWidth",w="scroll",x="overflowY";qx.Class.define(u,{statics:{__ha:null,getScrollbarWidth:function(){if(this.__ha!==null){return this.__ha;};var y=qx.bom.element.Style;var A=function(E,F){return parseInt(y.get(E,F),10)||0;};var B=function(G){return (y.get(G,o)==h?0:A(G,v));};var C=function(H){return (y.get(H,g)==h?0:A(H,l));};var D=qx.core.Environment.select(d,{"mshtml":function(I){if(y.get(I,x)==p||I.clientWidth==0){return B(I);};return Math.max(0,I.offsetWidth-I.clientLeft-I.clientWidth);},"default":function(J){if(J.clientWidth==0){var L=y.get(J,i);var K=(L==w||L==n?16:0);return Math.max(0,B(J)+K);};return Math.max(0,(J.offsetWidth-J.clientWidth-C(J)));}});var z=function(M){return D(M)-B(M);};var t=document.createElement(q);var s=t.style;s.height=s.width=m;s.overflow=w;document.body.appendChild(t);var c=z(t);this.__ha=c;document.body.removeChild(t);return this.__ha;},intoViewX:function(bi,stop,bh){var parent=bi.parentNode;var bg=qx.dom.Node.getDocument(bi);var Y=bg.body;var be,Q,V;var R,P,S;var bb,T,O;var X,bc,bd,ba;var bf,U,bj;var N=bh===r;var W=bh===j;stop=stop?stop.parentNode:bg;while(parent&&parent!=stop){if(parent.scrollWidth>parent.clientWidth&&(parent===Y||qx.bom.element.Style.get(parent,x)!=b)){if(parent===Y){Q=parent.scrollLeft;V=Q+qx.bom.Viewport.getWidth();R=qx.bom.Viewport.getWidth();P=parent.clientWidth;S=parent.scrollWidth;bb=0;T=0;O=0;}else {be=qx.bom.element.Location.get(parent);Q=be.left;V=be.right;R=parent.offsetWidth;P=parent.clientWidth;S=parent.scrollWidth;bb=parseInt(qx.bom.element.Style.get(parent,l),10)||0;T=parseInt(qx.bom.element.Style.get(parent,v),10)||0;O=R-P-bb-T;};X=qx.bom.element.Location.get(bi);bc=X.left;bd=X.right;ba=bi.offsetWidth;bf=bc-Q-bb;U=bd-V+T;bj=0;if(N){bj=bf;}else if(W){bj=U+O;}else if(bf<0||ba>P){bj=bf;}else if(U>0){bj=U+O;};parent.scrollLeft+=bj;qx.event.Registration.fireNonBubblingEvent(parent,w);};if(parent===Y){break;};parent=parent.parentNode;};},intoViewY:function(bD,stop,bC){var parent=bD.parentNode;var bB=qx.dom.Node.getDocument(bD);var bk=bB.body;var by,bt,bw;var bE,bx,bu;var bp,bl,bA;var br,bs,bq,bm;var bn,bv,bz;var bo=bC===f;var bF=bC===k;stop=stop?stop.parentNode:bB;while(parent&&parent!=stop){if(parent.scrollHeight>parent.clientHeight&&(parent===bk||qx.bom.element.Style.get(parent,x)!=b)){if(parent===bk){bt=parent.scrollTop;bw=bt+qx.bom.Viewport.getHeight();bE=qx.bom.Viewport.getHeight();bx=parent.clientHeight;bu=parent.scrollHeight;bp=0;bl=0;bA=0;}else {by=qx.bom.element.Location.get(parent);bt=by.top;bw=by.bottom;bE=parent.offsetHeight;bx=parent.clientHeight;bu=parent.scrollHeight;bp=parseInt(qx.bom.element.Style.get(parent,e),10)||0;bl=parseInt(qx.bom.element.Style.get(parent,a),10)||0;bA=bE-bx-bp-bl;};br=qx.bom.element.Location.get(bD);bs=br.top;bq=br.bottom;bm=bD.offsetHeight;bn=bs-bt-bp;bv=bq-bw+bl;bz=0;if(bo){bz=bn;}else if(bF){bz=bv+bA;}else if(bn<0||bm>bx){bz=bn;}else if(bv>0){bz=bv+bA;};parent.scrollTop+=bz;qx.event.Registration.fireNonBubblingEvent(parent,w);};if(parent===bk){break;};parent=parent.parentNode;};},intoView:function(bI,stop,bH,bG){this.intoViewX(bI,stop,bH);this.intoViewY(bI,stop,bG);}}});})();(function(){var a="os.name",b="opera",c="engine.name",d="qx.event.type.Dom",e="osx";qx.Class.define(d,{extend:qx.event.type.Native,statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8},members:{_cloneNativeEvent:function(f,g){var g=qx.event.type.Native.prototype._cloneNativeEvent.call(this,f,g);g.shiftKey=f.shiftKey;g.ctrlKey=f.ctrlKey;g.altKey=f.altKey;g.metaKey=f.metaKey;return g;},getModifiers:function(){var h=0;var i=this._native;if(i.shiftKey){h|=qx.event.type.Dom.SHIFT_MASK;};if(i.ctrlKey){h|=qx.event.type.Dom.CTRL_MASK;};if(i.altKey){h|=qx.event.type.Dom.ALT_MASK;};if(i.metaKey){h|=qx.event.type.Dom.META_MASK;};return h;},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.core.Environment.get(a)==e&&qx.core.Environment.get(c)!=b){return this._native.metaKey;}else {return this._native.ctrlKey;};}}});})();(function(){var a="mshtml",b="engine.name",c="click",d="middle",e="none",f="contextmenu",g="qx.event.type.Mouse",h="browser.documentmode",i="left",j="right",k="browser.name",l="ie";qx.Class.define(g,{extend:qx.event.type.Dom,members:{_cloneNativeEvent:function(m,n){var n=qx.event.type.Dom.prototype._cloneNativeEvent.call(this,m,n);n.button=m.button;n.clientX=Math.round(m.clientX);n.clientY=Math.round(m.clientY);n.pageX=m.pageX?Math.round(m.pageX):undefined;n.pageY=m.pageY?Math.round(m.pageY):undefined;n.screenX=Math.round(m.screenX);n.screenY=Math.round(m.screenY);n.wheelDelta=m.wheelDelta;n.wheelDeltaX=m.wheelDeltaX;n.wheelDeltaY=m.wheelDeltaY;n.delta=m.delta;n.deltaX=m.deltaX;n.deltaY=m.deltaY;n.deltaZ=m.deltaZ;n.detail=m.detail;n.axis=m.axis;n.wheelX=m.wheelX;n.wheelY=m.wheelY;n.HORIZONTAL_AXIS=m.HORIZONTAL_AXIS;n.srcElement=m.srcElement;n.target=m.target;return n;},__hb:{'0':i,'2':j,'1':d},__hc:{'0':e,'1':i,'2':j,'4':d},__hd:{'1':i,'2':j,'4':d},stop:function(){this.stopPropagation();},getButton:function(){switch(this._type){case f:return j;case c:if(qx.core.Environment.get(k)===l&&qx.core.Environment.get(h)<9){return i;};default:if(!(qx.core.Environment.get(b)==a&&qx.core.Environment.get(h)<=8)){if(this._native.button===-1){return this.__hc[this._native.buttons]||e;};return this.__hb[this._native.button]||e;}else {return this.__hd[this._native.button]||e;};};},isLeftPressed:function(){return this.getButton()===i;},isMiddlePressed:function(){return this.getButton()===d;},isRightPressed:function(){return this.getButton()===j;},getRelatedTarget:function(){return this._relatedTarget;},getViewportLeft:function(){return Math.round(this._native.clientX);},getViewportTop:function(){return Math.round(this._native.clientY);},getDocumentLeft:function(){if(this._native.pageX!==undefined){return Math.round(this._native.pageX);}else if(this._native.srcElement){var o=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(o);}else {return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(window);};},getDocumentTop:function(){if(this._native.pageY!==undefined){return Math.round(this._native.pageY);}else if(this._native.srcElement){var p=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(p);}else {return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(window);};},getScreenLeft:function(){return Math.round(this._native.screenX);},getScreenTop:function(){return Math.round(this._native.screenY);}}});})();(function(){var a="",b="mouse",c="number",d="touch",e="qx.event.type.Pointer",f="pen",g="string";qx.Class.define(e,{extend:qx.event.type.Mouse,members:{_cloneNativeEvent:function(h,i){i=qx.event.type.Mouse.prototype._cloneNativeEvent.call(this,h,i);i.pointerId=h.pointerId;i.width=h.width;i.height=h.height;i.pressure=h.pressure;i.tiltX=h.tiltX;i.tiltY=h.tiltY;i.pointerType=h.pointerType;i.isPrimary=h.isPrimary;i._original=h._original;i.MSPOINTER_TYPE_MOUSE=h.MSPOINTER_TYPE_MOUSE;i.MSPOINTER_TYPE_PEN=h.MSPOINTER_TYPE_PEN;i.MSPOINTER_TYPE_TOUCH=h.MSPOINTER_TYPE_TOUCH;return i;},getDocumentLeft:function(){var x=qx.event.type.Mouse.prototype.getDocumentLeft.call(this);if(x==0&&this.getPointerType()==d&&this._native._original!==undefined){x=Math.round(this._native._original.changedTouches[0].pageX)||0;};return x;},getDocumentTop:function(){var y=qx.event.type.Mouse.prototype.getDocumentTop.call(this);if(y==0&&this.getPointerType()==d&&this._native._original!==undefined){y=Math.round(this._native._original.changedTouches[0].pageY)||0;};return y;},getPointerId:function(){return this._native.pointerId||0;},getWidth:function(){return this._native.width||0;},getHeight:function(){return this._native.height||0;},getPressure:function(){return this._native.pressure||0;},getTiltX:function(){return this._native.tiltX||0;},getTiltY:function(){return this._native.tiltY||0;},getOriginalTarget:function(){if(this._native&&this._native._original){var j=this._native._original;try{if(j.type.indexOf(d)==0){if(j.changedTouches[0]){return document.elementFromPoint(j.changedTouches[0].clientX,j.changedTouches[0].clientY);};};}catch(k){return qx.bom.Event.getTarget(this._native);};return qx.bom.Event.getTarget(j);}else if(this._native){return qx.bom.Event.getTarget(this._native);};return qx.event.type.Mouse.prototype.getOriginalTarget.call(this);},getPointerType:function(){if(typeof this._native.pointerType==g){return this._native.pointerType;};if(typeof this._native.pointerType==c){if(this._native.pointerType==this._native.MSPOINTER_TYPE_MOUSE){return b;};if(this._native.pointerType==this._native.MSPOINTER_TYPE_PEN){return f;};if(this._native.pointerType==this._native.MSPOINTER_TYPE_TOUCH){return d;};};return a;},isPrimary:function(){return !!this._native.isPrimary;}}});})();(function(){var a="qx.event.type.Track";qx.Class.define(a,{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(b,c){var c=qx.event.type.Pointer.prototype._cloneNativeEvent.call(this,b,c);c.delta=b.delta;return c;},getDelta:function(){return this._native.delta;}}});})();(function(){var a="qx.event.type.Tap";qx.Class.define(a,{extend:qx.event.type.Pointer});})();(function(){var a="qx.event.type.Swipe";qx.Class.define(a,{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(b,c){var c=qx.event.type.Pointer.prototype._cloneNativeEvent.call(this,b,c);c.swipe=b.swipe;return c;},getStartTime:function(){return this._native.swipe.startTime;},getDuration:function(){return this._native.swipe.duration;},getAxis:function(){return this._native.swipe.axis;},getDirection:function(){return this._native.swipe.direction;},getVelocity:function(){return this._native.swipe.velocity;},getDistance:function(){return this._native.swipe.distance;}}});})();(function(){var a="qx.event.type.Rotate";qx.Class.define(a,{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(b,c){var c=qx.event.type.Pointer.prototype._cloneNativeEvent.call(this,b,c);c.angle=b.angle;return c;},getAngle:function(){return this._native.angle;}}});})();(function(){var a="qx.event.type.Pinch";qx.Class.define(a,{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(b,c){var c=qx.event.type.Pointer.prototype._cloneNativeEvent.call(this,b,c);c.scale=b.scale;return c;},getScale:function(){return this._native.scale;}}});})();(function(){var a="qx.event.handler.UserAction";qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(b){qx.core.Object.call(this);this.__et=b;this.__cz=b.getWindow();},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{useraction:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__et:null,__cz:null,canHandleEvent:function(d,c){},registerEvent:function(g,f,e){},unregisterEvent:function(j,i,h){}},destruct:function(){this.__et=this.__cz=null;},defer:function(k){qx.event.Registration.addHandler(k);}});})();(function(){var a="touchmove",b="os.name",c="MSPointerDown",d="android",e="engine.version",f="pointercancel",g="qx.event.handler.TouchCore",h="event.mspointer",j="MSPointerCancel",k="y",l="pointer-events",m="pointerup",n="touchend",o="pointerdown",p="MSPointerUp",q="right",r="engine.name",s="undefined",t="touchcancel",u="MSPointerMove",v="webkit",w="none",z="left",A="pointermove",B="down",C="x",D="up",E="touchstart";qx.Bootstrap.define(g,{extend:Object,statics:{TAP_MAX_DISTANCE:qx.core.Environment.get(b)!=d?10:40,SWIPE_DIRECTION:{x:[z,q],y:[D,B]},SWIPE_MIN_DISTANCE:qx.core.Environment.get(b)!=d?11:41,SWIPE_MIN_VELOCITY:0,LONGTAP_TIME:500},construct:function(F,G){this.__he=F;this.__eB=G;this._initTouchObserver();this.__hf=[];this.__hg={};},members:{__he:null,__eB:null,__hh:null,__hi:null,__hg:null,__hj:null,__hk:null,__hl:null,__hf:null,__hm:null,_initTouchObserver:function(){this.__hh=qx.lang.Function.listener(this._onTouchEvent,this);this.__hm=[E,a,n,t];if(qx.core.Environment.get(h)){var H=parseInt(qx.core.Environment.get(e),10);if(H==10){this.__hm=[c,u,p,j];}else {this.__hm=[o,A,m,f];};};for(var i=0;i1){this.__hk=this._getScalingDistance(V.touches[0],V.touches[1]);this.__hl=this._getRotationAngle(V.touches[0],V.touches[1]);};for(var i=0;i1){var W=this._getScalingDistance(V.targetTouches[0],V.targetTouches[1]);V.scale=W/this.__hk;};if((typeof V.rotation==s||qx.core.Environment.get(h))&&V.targetTouches.length>1){var X=this._getRotationAngle(V.targetTouches[0],V.targetTouches[1]);V._rotation=X-this.__hl;};V.delta=this._calcTouchesDelta(V.targetTouches);};this._fireEvent(V,ba,this.__hi);if(qx.core.Environment.get(h)){if(ba==n||ba==t){delete this.__hf[V.pointerId];};};if((ba==n||ba==t)&&V.changedTouches[0]){delete this.__hg[V.changedTouches[0].identifier];};},_detectTouchesByPointer:function(bd,bf){var bc=[];if(bf==E){this.__hf[bd.pointerId]=bd;}else if(bf==a){this.__hf[bd.pointerId]=bd;};for(var be in this.__hf){var bb=this.__hf[be];bc.push(bb);};return bc;},_mapPointerEvent:function(bg){bg=bg.toLowerCase();if(bg.indexOf(o)!==-1){return E;}else if(bg.indexOf(m)!==-1){return n;}else if(bg.indexOf(A)!==-1){return a;}else if(bg.indexOf(f)!==-1){return t;};return bg;},_getTarget:function(bi){var bj=qx.bom.Event.getTarget(bi);if(qx.core.Environment.get(r)==v){if(bj&&bj.nodeType==3){bj=bj.parentNode;};}else if(qx.core.Environment.get(h)){var bh=this.__hn(bi);if(bh){bj=bh;};};return bj;},__hn:function(bm){var bk=null;var bl=null;if(bm&&bm.touches&&bm.touches.length!==0){bk=bm.touches[0].clientX;bl=bm.touches[0].clientY;};var bo=document.msElementsFromPoint(bk,bl);if(bo){for(var i=0;i1;},getScale:function(){return this._native.scale;},getRotation:function(){if(typeof this._native._rotation===d){return this._native.rotation;}else {return this._native._rotation;};},getDelta:function(){return this._native.delta;},getDocumentLeft:function(g){return this.__hu(g).pageX;},getDocumentTop:function(h){return this.__hu(h).pageY;},getScreenLeft:function(j){return this.__hu(j).screenX;},getScreenTop:function(k){return this.__hu(k).screenY;},getViewportLeft:function(l){return this.__hu(l).clientX;},getViewportTop:function(m){return this.__hu(m).clientY;},getIdentifier:function(n){return this.__hu(n).identifier;},__hu:function(o){o=o==null?0:o;return this.__hv()[o];},__hv:function(){var p=(this._isTouchEnd()?this.getChangedTargetTouches():this.getTargetTouches());return p;},_isTouchEnd:function(){return (this.getType()==c||this.getType()==a);}}});})();(function(){var a="mshtml",b="engine.name",c="pointerup",d="dispose",e="useraction",f="mouse",g="pointercancel",h="pointerdown",i="pointermove",j="qx.event.handler.Pointer",k="browser.documentmode",l="qxanonymous";qx.Class.define(j,{extend:qx.event.handler.PointerCore,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{pointermove:1,pointerover:1,pointerout:1,pointerdown:1,pointerup:1,pointercancel:1,gesturebegin:1,gesturemove:1,gesturefinish:1,gesturecancel:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT,IGNORE_CAN_HANDLE:true},construct:function(m){this.__et=m;this.__cz=m.getWindow();this.__dd=this.__cz.document;qx.event.handler.PointerCore.apply(this,[this.__dd]);},members:{__et:null,__cz:null,__dd:null,canHandleEvent:function(o,n){},registerEvent:function(r,q,p){},unregisterEvent:function(u,t,s){},_initPointerObserver:function(){var v=false;if(qx.core.Environment.get(b)==a&&qx.core.Environment.get(k)<9){v=true;};this._initObserver(this._onPointerEvent,v);},_fireEvent:function(w,x,y){if(!y){y=qx.bom.Event.getTarget(w);};while(y&&y.getAttribute&&y.getAttribute(l)){y=y.parentNode;};if(!x){x=w.type;};x=qx.event.handler.PointerCore.MSPOINTER_TO_POINTER_MAPPING[x]||x;if(y&&y.nodeType){qx.event.type.dom.Pointer.normalize(w);w.srcElement=y;qx.event.Registration.fireEvent(y,x,qx.event.type.Pointer,[w,y,null,true,true]);if((w.getPointerType()!==f||w.button<=qx.event.handler.PointerCore.LEFT_BUTTON)&&(x==h||x==c||x==i||x==g)){qx.event.Registration.fireEvent(this.__dd,qx.event.handler.PointerCore.POINTER_TO_GESTURE_MAPPING[x],qx.event.type.Pointer,[w,y,null,false,false]);};qx.event.Registration.fireEvent(this.__cz,e,qx.event.type.Data,[x]);};},_onPointerEvent:function(z){if(z._original&&z._original[this._processedFlag]){return;};var A=qx.event.handler.PointerCore.MSPOINTER_TO_POINTER_MAPPING[z.type]||z.type;this._fireEvent(z,A,qx.bom.Event.getTarget(z));},dispose:function(){this.__ht(d);this.__et=this.__cz=this.__dd=null;},__ht:function(C,B){qx.event.handler.PointerCore.prototype[C].apply(this,B||[]);}},defer:function(D){qx.event.Registration.addHandler(D);qx.event.Registration.getManager(document).getHandler(D);}});})();(function(){var a="offline",b="qx.event.handler.Offline",c="online";qx.Class.define(b,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(d){qx.core.Object.call(this);this.__et=d;this.__cz=d.getWindow();this._initObserver();},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{online:true,offline:true},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__et:null,__cz:null,__hp:null,canHandleEvent:function(f,e){},registerEvent:function(i,h,g){},unregisterEvent:function(l,k,j){},_initObserver:function(){this.__hp=qx.lang.Function.listener(this._onNative,this);qx.bom.Event.addNativeListener(this.__cz,a,this.__hp);qx.bom.Event.addNativeListener(this.__cz,c,this.__hp);},_stopObserver:function(){qx.bom.Event.removeNativeListener(this.__cz,a,this.__hp);qx.bom.Event.removeNativeListener(this.__cz,c,this.__hp);},_onNative:qx.event.GlobalError.observeMethod(function(m){qx.event.Registration.fireEvent(this.__cz,m.type,qx.event.type.Event,[]);}),isOnline:function(){return !!this.__cz.navigator.onLine;}},destruct:function(){this.__et=null;this._stopObserver();delete qx.event.handler.Appear.__instances[this.$$hash];},defer:function(n){qx.event.Registration.addHandler(n);}});})();(function(){var a="dblclick",b="os.name",c="mouseup",d="mousedown",e="useraction",f="webkit",g="contextmenu",h="mousewheel",i="engine.name",j="mouseover",k="mouseout",l="gecko",m="ios",n="click",o="mousemove",p="qx.event.handler.Mouse",q="on";qx.Class.define(p,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(r){qx.core.Object.call(this);this.__et=r;this.__cz=r.getWindow();this.__dd=this.__cz.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+qx.event.IEventHandler.TARGET_DOCUMENT+qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__hw:null,__hx:null,__hy:null,__hz:null,__hA:null,__et:null,__cz:null,__dd:null,__hB:null,canHandleEvent:function(t,s){},registerEvent:qx.core.Environment.get(b)===m?function(w,v,u){w[q+v]=(function(){return null;});}:(function(){return null;}),unregisterEvent:qx.core.Environment.get(b)===m?function(z,y,x){z[q+y]=undefined;}:(function(){return null;}),__gC:function(A,B,C){if(!C){C=qx.bom.Event.getTarget(A);};if(C&&C.nodeType){qx.event.Registration.fireEvent(C,B||A.type,B==h?qx.event.type.MouseWheel:qx.event.type.Mouse,[A,C,null,true,true]);};qx.event.Registration.fireEvent(this.__cz,e,qx.event.type.Data,[B||A.type]);},preventNextClick:function(){this.__hB=true;},_initButtonObserver:function(){this.__hw=qx.lang.Function.listener(this._onButtonEvent,this);var Event=qx.bom.Event;Event.addNativeListener(this.__dd,d,this.__hw);Event.addNativeListener(this.__dd,c,this.__hw);Event.addNativeListener(this.__dd,n,this.__hw);Event.addNativeListener(this.__dd,a,this.__hw);Event.addNativeListener(this.__dd,g,this.__hw);},_initMoveObserver:function(){this.__hx=qx.lang.Function.listener(this._onMoveEvent,this);var Event=qx.bom.Event;Event.addNativeListener(this.__dd,o,this.__hx);Event.addNativeListener(this.__dd,j,this.__hx);Event.addNativeListener(this.__dd,k,this.__hx);},_initWheelObserver:function(){this.__hy=qx.lang.Function.listener(this._onWheelEvent,this);var D=qx.bom.client.Event.getMouseWheel(this.__cz);qx.bom.Event.addNativeListener(D.target,D.type,this.__hy);},_stopButtonObserver:function(){var Event=qx.bom.Event;Event.removeNativeListener(this.__dd,d,this.__hw);Event.removeNativeListener(this.__dd,c,this.__hw);Event.removeNativeListener(this.__dd,n,this.__hw);Event.removeNativeListener(this.__dd,a,this.__hw);Event.removeNativeListener(this.__dd,g,this.__hw);},_stopMoveObserver:function(){var Event=qx.bom.Event;Event.removeNativeListener(this.__dd,o,this.__hx);Event.removeNativeListener(this.__dd,j,this.__hx);Event.removeNativeListener(this.__dd,k,this.__hx);},_stopWheelObserver:function(){var E=qx.bom.client.Event.getMouseWheel(this.__cz);qx.bom.Event.removeNativeListener(E.target,E.type,this.__hy);},_onMoveEvent:qx.event.GlobalError.observeMethod(function(F){this.__gC(F);}),_onButtonEvent:qx.event.GlobalError.observeMethod(function(I){var H=I.type;var J=qx.bom.Event.getTarget(I);if(H==n&&this.__hB){delete this.__hB;return;};if(qx.core.Environment.get(i)==l||qx.core.Environment.get(i)==f){if(J&&J.nodeType==3){J=J.parentNode;};};var G=qx.event.handler.DragDrop&&this.__et.getHandler(qx.event.handler.DragDrop).isSessionActive();if(G&&H==n){return;};if(this.__hD){this.__hD(I,H,J);};this.__gC(I,H,J);if(this.__hC){this.__hC(I,H,J);};if(this.__hE&&!G){this.__hE(I,H,J);};this.__hz=H;}),_onWheelEvent:qx.event.GlobalError.observeMethod(function(K){this.__gC(K,h);}),__hC:qx.core.Environment.select(i,{"opera":function(L,M,N){if(M==c&&L.button==2){this.__gC(L,g,N);};},"default":null}),__hD:qx.core.Environment.select(i,{"mshtml":function(O,P,Q){if(O.target!==undefined){return;};if(P==c&&this.__hz==n){this.__gC(O,d,Q);}else if(P==a){this.__gC(O,n,Q);};},"default":null}),__hE:qx.core.Environment.select(i,{"mshtml":null,"default":function(S,R,T){switch(R){case d:this.__hA=T;break;case c:if(T!==this.__hA){var U=qx.dom.Hierarchy.getCommonParent(T,this.__hA);if(U){this.__gC(S,n,U);};};};}})},destruct:function(){this._stopButtonObserver();this._stopMoveObserver();this._stopWheelObserver();this.__et=this.__cz=this.__dd=this.__hA=null;},defer:function(V){qx.event.Registration.addHandler(V);}});})();(function(){var a="qx.event.type.MouseWheel";qx.Class.define(a,{extend:qx.event.type.Mouse,members:{stop:function(){this.stopPropagation();this.preventDefault();},getWheelDelta:function(b){return qx.util.Wheel.getDelta(this._native,b);}}});})();(function(){var a="x",b="y",c="qx.util.Wheel";qx.Bootstrap.define(c,{statics:{MAXSCROLL:null,MINSCROLL:null,FACTOR:1,getDelta:function(e,d){if(d===undefined){var f=0;if(e.wheelDelta!==undefined){f=-e.wheelDelta;}else if(e.detail!==0){f=e.detail;}else if(e.deltaY!==undefined){f=e.deltaY;};return this.__hF(f);};if(d===a){var x=0;if(e.wheelDelta!==undefined){if(e.wheelDeltaX!==undefined){x=e.wheelDeltaX?this.__hF(-e.wheelDeltaX):0;};}else {if(e.axis&&e.axis==e.HORIZONTAL_AXIS&&(e.detail!==undefined)&&(e.detail>0)){x=this.__hF(e.detail);}else if(e.deltaX!==undefined){x=this.__hF(e.deltaX);};};return x;};if(d===b){var y=0;if(e.wheelDelta!==undefined){if(e.wheelDeltaY!==undefined){y=e.wheelDeltaY?this.__hF(-e.wheelDeltaY):0;}else {y=this.__hF(-e.wheelDelta);};}else {if(!(e.axis&&e.axis==e.HORIZONTAL_AXIS)&&(e.detail!==undefined)&&(e.detail>0)){y=this.__hF(e.detail);}else if(e.deltaY!==undefined){y=this.__hF(e.deltaY);};};return y;};return 0;},__hF:function(j){var g=Math.abs(j);if(g===0){return 0;};if(qx.util.Wheel.MINSCROLL==null||qx.util.Wheel.MINSCROLL>g){qx.util.Wheel.MINSCROLL=g;this.__hG();};if(qx.util.Wheel.MAXSCROLL==null||qx.util.Wheel.MAXSCROLL=this.charCodeA&&bv<=this.charCodeZ){return true;};if(bv>=this.charCode0&&bv<=this.charCode9){return true;};if(this.specialCharCodeMap[bv]){return true;};if(this.numpadToCharCode[bv]){return true;};if(this.isNonPrintableKeyCode(bv)){return true;};return false;},isNonPrintableKeyCode:function(bw){return this.keyCodeToIdentifierMap[bw]?true:false;},isValidKeyIdentifier:function(bx){if(this.identifierToKeyCodeMap[bx]){return true;};if(bx.length!=1){return false;};if(bx>=s&&bx<=bq){return true;};if(bx>=i&&bx<=I){return true;};switch(bx){case e:case a:case J:case G:case br:return true;default:return false;};},isPrintableKeyIdentifier:function(by){if(by===j){return true;}else {return this.identifierToKeyCodeMap[by]?false:true;};}},defer:function(bz,bA){if(!bz.identifierToKeyCodeMap){bz.identifierToKeyCodeMap={};for(var bB in bz.keyCodeToIdentifierMap){bz.identifierToKeyCodeMap[bz.keyCodeToIdentifierMap[bB]]=parseInt(bB,10);};for(var bB in bz.specialCharCodeMap){bz.identifierToKeyCodeMap[bz.specialCharCodeMap[bB]]=parseInt(bB,10);};};}});})();(function(){var a="qx.event.type.KeySequence";qx.Class.define(a,{extend:qx.event.type.Dom,members:{init:function(c,d,b){qx.event.type.Dom.prototype.init.call(this,c,d,null,true,true);this._keyCode=c.keyCode;this._identifier=b;return this;},clone:function(e){var f=qx.event.type.Dom.prototype.clone.call(this,e);f._keyCode=this._keyCode;f._identifier=this._identifier;return f;},getKeyIdentifier:function(){return this._identifier;},getKeyCode:function(){return this._keyCode;},isPrintable:function(){return qx.event.util.Keyboard.isPrintableKeyIdentifier(this._identifier);}}});})();(function(){var a="qx.event.type.KeyInput";qx.Class.define(a,{extend:qx.event.type.Dom,members:{init:function(c,d,b){qx.event.type.Dom.prototype.init.call(this,c,d,null,true,true);this._charCode=b;return this;},clone:function(e){var f=qx.event.type.Dom.prototype.clone.call(this,e);f._charCode=this._charCode;return f;},getCharCode:function(){return this._charCode;},getChar:function(){return String.fromCharCode(this._charCode);}}});})();(function(){var a="text",b="engine.version",c="keydown",d="radio",f="textarea",g="password",h="propertychange",j="select-multiple",k="change",m="input",n="value",p="select",q="browser.documentmode",r="browser.version",s="opera",t="keyup",u="mshtml",v="engine.name",w="keypress",x="checkbox",y="qx.event.handler.Input",z="checked";qx.Class.define(y,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(){qx.core.Object.call(this);this._onChangeCheckedWrapper=qx.lang.Function.listener(this._onChangeChecked,this);this._onChangeValueWrapper=qx.lang.Function.listener(this._onChangeValue,this);this._onInputWrapper=qx.lang.Function.listener(this._onInput,this);this._onPropertyWrapper=qx.lang.Function.listener(this._onProperty,this);if((qx.core.Environment.get(v)==s)){this._onKeyDownWrapper=qx.lang.Function.listener(this._onKeyDown,this);this._onKeyUpWrapper=qx.lang.Function.listener(this._onKeyUp,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:{__hQ:false,__hR:null,__hS:null,__hT:null,canHandleEvent:function(C,B){var A=C.tagName.toLowerCase();if(B===m&&(A===m||A===f)){return true;};if(B===k&&(A===m||A===f||A===p)){return true;};return false;},registerEvent:function(H,G,E){if(qx.core.Environment.get(v)==u&&(qx.core.Environment.get(b)<9||(qx.core.Environment.get(b)>=9&&qx.core.Environment.get(q)<9))){if(!H.__hU){var F=H.tagName.toLowerCase();var D=H.type;if(D===a||D===g||F===f||D===x||D===d){qx.bom.Event.addNativeListener(H,h,this._onPropertyWrapper);};if(D!==x&&D!==d){qx.bom.Event.addNativeListener(H,k,this._onChangeValueWrapper);};if(D===a||D===g){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,H);qx.bom.Event.addNativeListener(H,w,this._onKeyPressWrapped);};H.__hU=true;};}else {if(G===m){this.__hV(H);}else if(G===k){if(H.type===d||H.type===x){qx.bom.Event.addNativeListener(H,k,this._onChangeCheckedWrapper);}else {qx.bom.Event.addNativeListener(H,k,this._onChangeValueWrapper);};if((qx.core.Environment.get(v)==s)||(qx.core.Environment.get(v)==u)){if(H.type===a||H.type===g){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,H);qx.bom.Event.addNativeListener(H,w,this._onKeyPressWrapped);};};};};},__hV:qx.core.Environment.select(v,{"mshtml":function(I){if(qx.core.Environment.get(b)>=9&&qx.core.Environment.get(q)>=9){qx.bom.Event.addNativeListener(I,m,this._onInputWrapper);if(I.type===a||I.type===g||I.type===f){this._inputFixWrapper=qx.lang.Function.listener(this._inputFix,this,I);qx.bom.Event.addNativeListener(I,t,this._inputFixWrapper);};};},"webkit":function(K){var J=K.tagName.toLowerCase();if(parseFloat(qx.core.Environment.get(b))<532&&J==f){qx.bom.Event.addNativeListener(K,w,this._onInputWrapper);};qx.bom.Event.addNativeListener(K,m,this._onInputWrapper);},"opera":function(L){qx.bom.Event.addNativeListener(L,t,this._onKeyUpWrapper);qx.bom.Event.addNativeListener(L,c,this._onKeyDownWrapper);qx.bom.Event.addNativeListener(L,m,this._onInputWrapper);},"default":function(M){qx.bom.Event.addNativeListener(M,m,this._onInputWrapper);}}),unregisterEvent:function(Q,P){if(qx.core.Environment.get(v)==u&&qx.core.Environment.get(b)<9&&qx.core.Environment.get(q)<9){if(Q.__hU){var O=Q.tagName.toLowerCase();var N=Q.type;if(N===a||N===g||O===f||N===x||N===d){qx.bom.Event.removeNativeListener(Q,h,this._onPropertyWrapper);};if(N!==x&&N!==d){qx.bom.Event.removeNativeListener(Q,k,this._onChangeValueWrapper);};if(N===a||N===g){qx.bom.Event.removeNativeListener(Q,w,this._onKeyPressWrapped);};try{delete Q.__hU;}catch(R){Q.__hU=null;};};}else {if(P===m){this.__hW(Q);}else if(P===k){if(Q.type===d||Q.type===x){qx.bom.Event.removeNativeListener(Q,k,this._onChangeCheckedWrapper);}else {qx.bom.Event.removeNativeListener(Q,k,this._onChangeValueWrapper);};};if((qx.core.Environment.get(v)==s)||(qx.core.Environment.get(v)==u)){if(Q.type===a||Q.type===g){qx.bom.Event.removeNativeListener(Q,w,this._onKeyPressWrapped);};};};},__hW:qx.core.Environment.select(v,{"mshtml":function(S){if(qx.core.Environment.get(b)>=9&&qx.core.Environment.get(q)>=9){qx.bom.Event.removeNativeListener(S,m,this._onInputWrapper);if(S.type===a||S.type===g||S.type===f){qx.bom.Event.removeNativeListener(S,t,this._inputFixWrapper);};};},"webkit":function(U){var T=U.tagName.toLowerCase();if(parseFloat(qx.core.Environment.get(b))<532&&T==f){qx.bom.Event.removeNativeListener(U,w,this._onInputWrapper);};qx.bom.Event.removeNativeListener(U,m,this._onInputWrapper);},"opera":function(V){qx.bom.Event.removeNativeListener(V,t,this._onKeyUpWrapper);qx.bom.Event.removeNativeListener(V,c,this._onKeyDownWrapper);qx.bom.Event.removeNativeListener(V,m,this._onInputWrapper);},"default":function(W){qx.bom.Event.removeNativeListener(W,m,this._onInputWrapper);}}),_onKeyPress:qx.core.Environment.select(v,{"mshtml":function(e,X){if(e.keyCode===13){if(X.value!==this.__hS){this.__hS=X.value;qx.event.Registration.fireEvent(X,k,qx.event.type.Data,[X.value]);};};},"opera":function(e,Y){if(e.keyCode===13){if(Y.value!==this.__hS){this.__hS=Y.value;qx.event.Registration.fireEvent(Y,k,qx.event.type.Data,[Y.value]);};};},"default":null}),_inputFix:qx.core.Environment.select(v,{"mshtml":function(e,ba){if(e.keyCode===46||e.keyCode===8){if(ba.value!==this.__hT){this.__hT=ba.value;qx.event.Registration.fireEvent(ba,m,qx.event.type.Data,[ba.value]);};};},"default":null}),_onKeyDown:qx.core.Environment.select(v,{"opera":function(e){if(e.keyCode===13){this.__hQ=true;};},"default":null}),_onKeyUp:qx.core.Environment.select(v,{"opera":function(e){if(e.keyCode===13){this.__hQ=false;};},"default":null}),_onInput:qx.event.GlobalError.observeMethod(function(e){var bc=qx.bom.Event.getTarget(e);var bb=bc.tagName.toLowerCase();if(!this.__hQ||bb!==m){if((qx.core.Environment.get(v)==s)&&qx.core.Environment.get(r)<10.6){this.__hR=window.setTimeout(function(){qx.event.Registration.fireEvent(bc,m,qx.event.type.Data,[bc.value]);},0);}else {qx.event.Registration.fireEvent(bc,m,qx.event.type.Data,[bc.value]);};};}),_onChangeValue:qx.event.GlobalError.observeMethod(function(e){var bd=qx.bom.Event.getTarget(e);var be=bd.value;if(bd.type===j){var be=[];for(var i=0,o=bd.options,l=o.length;i0){var be=Date.now()-qx.event.handler.GestureCore.DOUBLETAP_TIME;for(var bg in this.__hY){if(bg=Math.abs(cn.y))?D:n;var cf=cn[cp];var cg=ck.SWIPE_DIRECTION[cp][cf<0?0:1];var cm=(cl!==0)?cf/cl:0;var cj={startTime:co.startTime,duration:cl,axis:cp,direction:cg,distance:cf,velocity:cm};return cj;},__ik:function(cq,cr,cs){cr.delta=this._getDeltaCoordinates(cr);this._fireEvent(cr,cq,cr.target||cs);},_fireRoll:function(cu,ct,cv){if(cu.type===qx.core.Environment.get(g).type){cu.delta={x:qx.util.Wheel.getDelta(cu,D)*qx.event.handler.GestureCore.ROLL_FACTOR,y:qx.util.Wheel.getDelta(cu,n)*qx.event.handler.GestureCore.ROLL_FACTOR};cu.delta.axis=Math.abs(cu.delta.x/cu.delta.y)<1?n:D;cu.pointerType=j;}else {var cw=this.__hX[cu.pointerId];cu.delta={x:-cw.velocityX,y:-cw.velocityY,axis:Math.abs(cw.velocityX/cw.velocityY)<1?n:D};};this._fireEvent(cu,h,cu.target||cv);},__il:function(cx,cz){if(!cx.isPrimary){var cy=this._calcAngle();cx.angle=Math.round((cy-this.__ie)%360);this._fireEvent(cx,k,this.__ic);};},__im:function(cC,cD){if(!cC.isPrimary){var cA=this._calcDistance();var cB=cA/this.__ig;cC.scale=(Math.round(cB*100)/100);this._fireEvent(cC,b,this.__ic);};},__in:function(cE,cF){var cG=this.__hX[cE.pointerId];if(cG){this._fireEvent(cE,f,cE.target||cF);cG.longTapTimer=null;cG.isTap=false;};},__io:function(cH){if(cH.longTapTimer){window.clearTimeout(cH.longTapTimer);cH.longTapTimer=null;};},isBelowTapMaxDistance:function(event){var cI=this._calcDelta(event);var cJ=qx.event.handler.GestureCore;return (Math.abs(cI.x)<=cJ.TAP_MAX_DISTANCE&&Math.abs(cI.y)<=cJ.TAP_MAX_DISTANCE);},dispose:function(){for(var cK in this.__hX){this.__io(cK);};this._stopObserver();this.__eA=this.__eB=null;}}});})();(function(){var a="dblclick",b="mshtml",c="engine.name",d="dispose",e="useraction",f="gesturemove",g="gesturecancel",h="checkAndFireGesture",i="gesturebegin",j="qx.event.handler.Gesture",k="gesturefinish",l="browser.documentmode";qx.Class.define(j,{extend:qx.event.handler.GestureCore,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{tap:1,swipe:1,longtap:1,dbltap:1,rotate:1,pinch:1,track:1,trackstart:1,trackend:1,roll:1},GESTURE_EVENTS:[i,k,f,g],TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT,IGNORE_CAN_HANDLE:true,EVENT_CLASSES:{"tap":qx.event.type.Tap,"longtap":qx.event.type.Tap,"dbltap":qx.event.type.Tap,"swipe":qx.event.type.Swipe,"rotate":qx.event.type.Rotate,"pinch":qx.event.type.Pinch,"track":qx.event.type.Track,"trackstart":qx.event.type.Track,"trackend":qx.event.type.Track,"roll":qx.event.type.Roll}},construct:function(m){this.__et=m;this.__cz=m.getWindow();this.__dd=this.__cz.document;qx.event.handler.GestureCore.apply(this,[this.__dd]);},members:{__et:null,__cz:null,__dd:null,__ex:null,__ip:null,__iq:null,canHandleEvent:function(o,n){},registerEvent:function(r,q,p){},unregisterEvent:function(u,t,s){},_initObserver:function(){this.__ex=qx.lang.Function.listener(this.checkAndFireGesture,this);qx.event.handler.Gesture.GESTURE_EVENTS.forEach(function(w){qx.event.Registration.addListener(this.__dd,w,this.__ex,this);}.bind(this));if(qx.core.Environment.get(c)==b&&qx.core.Environment.get(l)<9){this.__ip=qx.lang.Function.listener(this._onDblClick,this);qx.bom.Event.addNativeListener(this.__dd,a,this.__ip);};var v=qx.bom.client.Event.getMouseWheel(this.__cz);this.__iq=qx.lang.Function.listener(this._fireRoll,this);qx.bom.Event.addNativeListener(v.target,v.type,this.__iq,this);},checkAndFireGesture:function(y,x,z){this.__ht(h,[y.getNativeEvent(),y.getType(),y.getTarget()]);},_stopObserver:function(){qx.event.handler.Gesture.GESTURE_EVENTS.forEach(function(B){qx.event.Registration.removeListener(this.__dd,B,this.__ex);}.bind(this));if(qx.core.Environment.get(c)==b&&qx.core.Environment.get(l)<9){qx.bom.Event.removeNativeListener(this.__dd,a,this.__ip);};var A=qx.bom.client.Event.getMouseWheel(this.__cz);qx.bom.Event.removeNativeListener(A.target,A.type,this.__iq);},_hasIntermediaryHandler:function(C){return false;},_fireEvent:function(E,D,F){if(!F){F=qx.bom.Event.getTarget(E);};if(!D){D=E.type;};var G=qx.event.handler.Gesture.EVENT_CLASSES[D]||qx.event.type.Pointer;if(F&&F.nodeType){qx.event.Registration.fireEvent(F,D,G,[E,F,null,true,true]);};qx.event.Registration.fireEvent(this.__cz,e,qx.event.type.Data,[D]);},dispose:function(){this._stopObserver();this.__ht(d);this.__et=this.__cz=this.__dd=this.__ip=null;},__ht:function(I,H){qx.event.handler.GestureCore.prototype[I].apply(this,H||[]);}},defer:function(J){qx.event.Registration.addHandler(J);qx.event.Registration.getManager(document).getHandler(J);}});})();(function(){var a="-",b="qx.event.handler.Element",c="load",d="iframe";qx.Class.define(b,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(e){qx.core.Object.call(this);this._manager=e;this._registeredEvents={};},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{abort:true,load:true,scroll:true,select:true,reset:true,submit:true},CANCELABLE:{selectstart:true},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:false},members:{canHandleEvent:function(g,f){if(f===c){return g.tagName.toLowerCase()!==d;}else {return true;};},registerEvent:function(j,l,i){var m=qx.core.ObjectRegistry.toHashCode(j);var h=m+a+l;var k=qx.lang.Function.listener(this._onNative,this,h);qx.bom.Event.addNativeListener(j,l,k);this._registeredEvents[h]={element:j,type:l,listener:k};},unregisterEvent:function(p,r,o){var s=this._registeredEvents;if(!s){return;};var t=qx.core.ObjectRegistry.toHashCode(p);var n=t+a+r;var q=this._registeredEvents[n];if(q){qx.bom.Event.removeNativeListener(p,r,q.listener);};delete this._registeredEvents[n];},_onNative:qx.event.GlobalError.observeMethod(function(v,u){var w=this._registeredEvents;if(!w){return;};var y=w[u];var x=this.constructor.CANCELABLE[y.type];qx.event.Registration.fireNonBubblingEvent(y.element,y.type,qx.event.type.Native,[v,undefined,undefined,undefined,x]);})},destruct:function(){var z;var A=this._registeredEvents;for(var B in A){z=A[B];qx.bom.Event.removeNativeListener(z.element,z.type,z.listener);};this._manager=this._registeredEvents=null;},defer:function(C){qx.event.Registration.addHandler(C);}});})();(function(){var a="mshtml",b="engine.name",c="qx.bom.Element";qx.Class.define(c,{statics:{addListener:function(g,f,d,self,e){return qx.event.Registration.addListener(g,f,d,self,e);},removeListener:function(n,m,h,self,k){return qx.event.Registration.removeListener(n,m,h,self,k);},removeListenerById:function(o,p){return qx.event.Registration.removeListenerById(o,p);},hasListener:function(s,r,q){return qx.event.Registration.hasListener(s,r,q);},focus:function(t){qx.event.Registration.getManager(t).getHandler(qx.event.handler.Focus).focus(t);},blur:function(u){qx.event.Registration.getManager(u).getHandler(qx.event.handler.Focus).blur(u);},activate:function(v){qx.event.Registration.getManager(v).getHandler(qx.event.handler.Focus).activate(v);},deactivate:function(w){qx.event.Registration.getManager(w).getHandler(qx.event.handler.Focus).deactivate(w);},capture:function(y,x){qx.event.Registration.getManager(y).getDispatcher(qx.event.dispatch.MouseCapture).activateCapture(y,x);},releaseCapture:function(z){qx.event.Registration.getManager(z).getDispatcher(qx.event.dispatch.MouseCapture).releaseCapture(z);},clone:function(E,L){var C;if(L||((qx.core.Environment.get(b)==a)&&!qx.xml.Document.isXmlDocument(E))){var G=qx.event.Registration.getManager(E);var A=qx.dom.Hierarchy.getDescendants(E);A.push(E);};if((qx.core.Environment.get(b)==a)){for(var i=0,l=A.length;i0){J=K[i];for(var j=0,F=B.length;j1){bm=bm[0].split(s);if(bm.length===2){return bm[1];};};};bm=bh.versionInfo;if(bm!=undefined){return bm;};bm=bh.version;if(bm!=undefined){return bm;};bm=bh.settings.version;if(bm!=undefined){return bm;};}catch(bp){return w;};return w;}else {var bn=navigator.plugins;var bl=/([0-9]\.[0-9])/g;for(var i=0;i=0;i-- ){n=m[i];o=this.__iv[n.$$hash];m.splice(i,1);n.syncWidget(o);};if(m.length!=0){return;};this.__el=[];this.__iv={};}}});})();(function(){var a="qx.ui.core.queue.Layout",b="layout";qx.Class.define(a,{statics:{__el:{},__iA:{},remove:function(c){delete this.__el[c.$$hash];},add:function(d){this.__el[d.$$hash]=d;qx.ui.core.queue.Manager.scheduleFlush(b);},isScheduled:function(e){return !!this.__el[e.$$hash];},flush:function(){var f=this.__iC();for(var i=f.length-1;i>=0;i-- ){var g=f[i];if(g.hasValidLayout()){continue;};if(g.isRootWidget()&&!g.hasUserBounds()){var j=g.getSizeHint();g.renderLayout(0,0,j.width,j.height);}else {var h=g.getBounds();g.renderLayout(h.left,h.top,h.width,h.height);};};},getNestingLevel:function(l){var k=this.__iA;var n=0;var parent=l;while(true){if(k[parent.$$hash]!=null){n+=k[parent.$$hash];break;};if(!parent.$$parent){break;};parent=parent.$$parent;n+=1;};var m=n;while(l&&l!==parent){k[l.$$hash]=m-- ;l=l.$$parent;};return n;},__iB:function(){var t=qx.ui.core.queue.Visibility;this.__iA={};var s=[];var r=this.__el;var o,q;for(var p in r){o=r[p];if(t.isVisible(o)){q=this.getNestingLevel(o);if(!s[q]){s[q]={};};s[q][p]=o;delete r[p];};};return s;},__iC:function(){var x=[];var z=this.__iB();for(var w=z.length-1;w>=0;w-- ){if(!z[w]){continue;};for(var v in z[w]){var u=z[w][v];if(w==0||u.isRootWidget()||u.hasUserBounds()){x.push(u);u.invalidateLayoutCache();continue;};var B=u.getSizeHint(false);if(B){u.invalidateLayoutCache();var y=u.getSizeHint();var A=(!u.getBounds()||B.minWidth!==y.minWidth||B.width!==y.width||B.maxWidth!==y.maxWidth||B.minHeight!==y.minHeight||B.height!==y.height||B.maxHeight!==y.maxHeight);}else {A=true;};if(A){var parent=u.getLayoutParent();if(!z[w-1]){z[w-1]={};};z[w-1][parent.$$hash]=parent;}else {x.push(u);};};};return x;}}});})();(function(){var a="dispose",b="qx.ui.core.queue.Dispose";qx.Class.define(b,{statics:{__el:[],add:function(d){var c=this.__el;if(qx.lang.Array.contains(c,d)){return;};c.unshift(d);qx.ui.core.queue.Manager.scheduleFlush(a);},isEmpty:function(){return this.__el.length==0;},flush:function(){var e=this.__el;for(var i=e.length-1;i>=0;i-- ){var f=e[i];e.splice(i,1);f.dispose();};if(e.length!=0){return;};this.__el=[];}}});})();(function(){var a="appearance",b="qx.ui.core.queue.Appearance";qx.Class.define(b,{statics:{__el:[],remove:function(c){qx.lang.Array.remove(this.__el,c);},add:function(e){var d=this.__el;if(qx.lang.Array.contains(d,e)){return;};d.unshift(e);qx.ui.core.queue.Manager.scheduleFlush(a);},has:function(f){return qx.lang.Array.contains(this.__el,f);},flush:function(){var j=qx.ui.core.queue.Visibility;var g=this.__el;var h;for(var i=g.length-1;i>=0;i-- ){h=g[i];g.splice(i,1);if(j.isVisible(h)){h.syncAppearance();}else {h.$$stateChanges=true;};};}}});})();(function(){var a="The theme to use is not available: ",b="_applyTheme",c="qx.theme",d="qx.theme.manager.Meta",f="qx.theme.Modern",g="qx.event.type.Event",h="Theme",i="changeTheme",j="singleton";qx.Class.define(d,{type:j,extend:qx.core.Object,events:{"changeTheme":g},properties:{theme:{check:h,nullable:false,apply:b}},members:{_applyTheme:function(k,m){var u=true;var w=true;var o=true;var q=true;var l=true;if(m){u=k.meta.color!==m.meta.color;w=k.meta.decoration!==m.meta.decoration;o=k.meta.font!==m.meta.font;q=k.meta.icon!==m.meta.icon;l=k.meta.appearance!==m.meta.appearance;};var n=qx.theme.manager.Color.getInstance();var t=qx.theme.manager.Decoration.getInstance();var r=qx.theme.manager.Font.getInstance();var p=qx.theme.manager.Icon.getInstance();var s=qx.theme.manager.Appearance.getInstance();this._suspendEvents();if(u){if(!w){var v=t.getTheme();t._applyTheme(v);};n.setTheme(k.meta.color);};t.setTheme(k.meta.decoration);r.setTheme(k.meta.font);p.setTheme(k.meta.icon);s.setTheme(k.meta.appearance);if(u||w||o||q||l){this.fireEvent(i);};this._activateEvents();},__dE:null,_fireEvent:function(e){if(e.getTarget()===qx.theme.manager.Color.getInstance()){qx.theme.manager.Decoration.getInstance().refresh();};this.fireEvent(i);},_suspendEvents:function(){var B=qx.theme.manager.Color.getInstance();var A=qx.theme.manager.Decoration.getInstance();var x=qx.theme.manager.Font.getInstance();var z=qx.theme.manager.Icon.getInstance();var y=qx.theme.manager.Appearance.getInstance();if(B.hasListener(i)){B.removeListener(i,this._fireEvent,this);};if(A.hasListener(i)){A.removeListener(i,this._fireEvent,this);};if(x.hasListener(i)){x.removeListener(i,this._fireEvent,this);};if(z.hasListener(i)){z.removeListener(i,this._fireEvent,this);};if(y.hasListener(i)){y.removeListener(i,this._fireEvent,this);};},_activateEvents:function(){var G=qx.theme.manager.Color.getInstance();var F=qx.theme.manager.Decoration.getInstance();var C=qx.theme.manager.Font.getInstance();var E=qx.theme.manager.Icon.getInstance();var D=qx.theme.manager.Appearance.getInstance();if(!G.hasListener(i)){G.addListener(i,this._fireEvent,this);};if(!F.hasListener(i)){F.addListener(i,this._fireEvent,this);};if(!C.hasListener(i)){C.addListener(i,this._fireEvent,this);};if(!E.hasListener(i)){E.addListener(i,this._fireEvent,this);};if(!D.hasListener(i)){D.addListener(i,this._fireEvent,this);};},initialize:function(){var J=qx.core.Environment;var H,I;H=J.get(c);if(H){I=qx.Theme.getByName(H);if(!I){throw new Error(a+H);};this.setTheme(I);};}},environment:{"qx.theme":f}});})();(function(){var a="qx.theme.manager.Icon",b="Theme",c="changeTheme",d="_applyTheme",e="singleton";qx.Class.define(a,{type:e,extend:qx.core.Object,properties:{theme:{check:b,nullable:true,apply:d,event:c}},members:{_applyTheme:function(i,g){var h=qx.util.AliasManager.getInstance();if(g){for(var f in g.aliases){h.remove(f);};};if(i){for(var f in i.aliases){h.add(f,i.aliases[f]);};};}}});})();(function(){var a="qx.util.ValueManager",b="abstract";qx.Class.define(a,{type:b,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this._dynamic={};},members:{_dynamic:null,resolveDynamic:function(c){return this._dynamic[c];},isDynamic:function(d){return !!this._dynamic[d];},resolve:function(e){if(e&&this._dynamic[e]){return this._dynamic[e];};return e;},_setDynamic:function(f){this._dynamic=f;},_getDynamic:function(){return this._dynamic;}},destruct:function(){this._dynamic=null;}});})();(function(){var a="0",b="qx/static",c="http://",d="https://",e="file://",f="qx.util.AliasManager",g="singleton",h=".",i="/",j="static";qx.Class.define(f,{type:g,extend:qx.util.ValueManager,construct:function(){qx.util.ValueManager.call(this);this.__iD={};this.add(j,b);},members:{__iD:null,_preprocess:function(n){var m=this._getDynamic();if(m[n]===false){return n;}else if(m[n]===undefined){if(n.charAt(0)===i||n.charAt(0)===h||n.indexOf(c)===0||n.indexOf(d)===a||n.indexOf(e)===0){m[n]=false;return n;};if(this.__iD[n]){return this.__iD[n];};var l=n.substring(0,n.indexOf(i));var k=this.__iD[l];if(k!==undefined){m[n]=k+n.substring(l.length);};};return n;},add:function(o,q){this.__iD[o]=q;var p=this._getDynamic();for(var r in p){if(r.substring(0,r.indexOf(i))===o){p[r]=q+r.substring(o.length);};};},remove:function(s){delete this.__iD[s];},resolve:function(t){var u=this._getDynamic();if(t!=null){t=this._preprocess(t);};return u[t]||t;},getAliases:function(){var v={};for(var w in this.__iD){v[w]=this.__iD[w];};return v;}},destruct:function(){this.__iD=null;}});})();(function(){var a="_applyTheme",b="qx.theme.manager.Font",c="_dynamic",d="Theme",e="changeTheme",f="singleton";qx.Class.define(b,{type:f,extend:qx.util.ValueManager,properties:{theme:{check:d,nullable:true,apply:a,event:e}},members:{resolveDynamic:function(h){var g=this._dynamic;return h instanceof qx.bom.Font?h:g[h];},resolve:function(l){var k=this._dynamic;var i=k[l];if(i){return i;};var j=this.getTheme();if(j!==null&&j.fonts[l]){var m=this.__iF(j.fonts[l]);return k[l]=(new m).set(j.fonts[l]);};return l;},isDynamic:function(q){var p=this._dynamic;if(q&&(q instanceof qx.bom.Font||p[q]!==undefined)){return true;};var o=this.getTheme();if(o!==null&&q&&o.fonts[q]){var n=this.__iF(o.fonts[q]);p[q]=(new n).set(o.fonts[q]);return true;};return false;},__iE:function(s,r){if(s[r].include){var t=s[s[r].include];s[r].include=null;delete s[r].include;s[r]=qx.lang.Object.mergeWith(s[r],t,false);this.__iE(s,r);};},_applyTheme:function(y){var u=this._dynamic;for(var x in u){if(u[x].themed){u[x].dispose();delete u[x];};};if(y){var v=y.fonts;for(var x in v){if(v[x].include&&v[v[x].include]){this.__iE(v,x);};var w=this.__iF(v[x]);u[x]=(new w).set(v[x]);u[x].themed=true;};};this._setDynamic(u);},__iF:function(z){if(z.sources){return qx.bom.webfonts.WebFont;};return qx.bom.Font;}},destruct:function(){this._disposeMap(c);}});})();(function(){var a="Boolean",b="px",c="_applyItalic",d="_applyBold",e="underline",f="_applyTextShadow",g="Integer",h="_applyFamily",j="_applyLineHeight",k='"',m="Array",n="line-through",o="overline",p="Color",q="String",r="",s="italic",t="normal",u="qx.bom.Font",v="bold",w="Number",x="_applyDecoration",y=" ",z="_applySize",A=",",B="_applyColor";qx.Class.define(u,{extend:qx.core.Object,construct:function(D,C){qx.core.Object.call(this);this.__iG={fontFamily:r,fontSize:null,fontWeight:null,fontStyle:null,textDecoration:null,lineHeight:null,color:null,textShadow:null};if(D!==undefined){this.setSize(D);};if(C!==undefined){this.setFamily(C);};},statics:{fromString:function(H){var I=new qx.bom.Font();var F=H.split(/\s+/);var name=[];var G;for(var i=0;i0){I.setFamily(name);};return I;},fromConfig:function(K){var J=new qx.bom.Font;J.set(K);return J;},__iH:{fontFamily:r,fontSize:r,fontWeight:r,fontStyle:r,textDecoration:r,lineHeight:1.2,color:r,textShadow:r},getDefaultStyles:function(){return this.__iH;}},properties:{size:{check:g,nullable:true,apply:z},lineHeight:{check:w,nullable:true,apply:j},family:{check:m,nullable:true,apply:h},bold:{check:a,nullable:true,apply:d},italic:{check:a,nullable:true,apply:c},decoration:{check:[e,n,o],nullable:true,apply:x},color:{check:p,nullable:true,apply:B},textShadow:{nullable:true,check:q,apply:f}},members:{__iG:null,_applySize:function(M,L){this.__iG.fontSize=M===null?null:M+b;},_applyLineHeight:function(O,N){this.__iG.lineHeight=O===null?null:O;},_applyFamily:function(P,Q){var R=r;for(var i=0,l=P.length;i0){R+=k+P[i]+k;}else {R+=P[i];};if(i!==l-1){R+=A;};};this.__iG.fontFamily=R;},_applyBold:function(T,S){this.__iG.fontWeight=T==null?null:T?v:t;},_applyItalic:function(V,U){this.__iG.fontStyle=V==null?null:V?s:t;},_applyDecoration:function(X,W){this.__iG.textDecoration=X==null?null:X;},_applyColor:function(ba,Y){this.__iG.color=null;if(ba){this.__iG.color=qx.theme.manager.Color.getInstance().resolve(ba);};},_applyTextShadow:function(bc,bb){this.__iG.textShadow=bc==null?null:bc;},getStyles:function(){return this.__iG;}}});})();(function(){var a="Could not parse color: ",b="_applyTheme",c="qx.theme.manager.Color",d="Theme",e="changeTheme",f="string",g="singleton";qx.Class.define(c,{type:g,extend:qx.util.ValueManager,properties:{theme:{check:d,nullable:true,apply:b,event:e}},members:{_applyTheme:function(j){var h={};if(j){var i=j.colors;for(var name in i){h[name]=this.__iI(i,name);};};this._setDynamic(h);},__iI:function(l,name){var k=l[name];if(typeof k===f){if(!qx.util.ColorUtil.isCssString(k)){if(l[k]!=undefined){return this.__iI(l,k);};throw new Error(a+k);};return k;}else if(k instanceof Array){return qx.util.ColorUtil.rgbToRgbString(k);};throw new Error(a+k);},resolve:function(p){var o=this._dynamic;var m=o[p];if(m){return m;};var n=this.getTheme();if(n!==null&&n.colors[p]){return o[p]=n.colors[p];};return p;},isDynamic:function(s){var r=this._dynamic;if(s&&(r[s]!==undefined)){return true;};var q=this.getTheme();if(q!==null&&s&&(q.colors[s]!==undefined)){r[s]=q.colors[s];return true;};return false;}}});})();(function(){var a="changeStatus",b="qx.bom.webfonts.WebFont",c="_applySources",d="",e="qx.event.type.Data";qx.Class.define(b,{extend:qx.bom.Font,events:{"changeStatus":e},properties:{sources:{nullable:true,apply:c}},members:{__iJ:null,_applySources:function(h,k){var f=[];for(var i=0,l=h.length;i1){bk=bk+u+bp[1];};bl.push(bk);};if(qx.core.Environment.get(T)==S&&(parseInt(qx.core.Environment.get(Q))<9||qx.core.Environment.get(E)<9)){if(!this.__iO){this.__iO=new qx.event.Timer(100);this.__iO.addListener(t,this.__iQ,this);};if(!this.__iO.isEnabled()){this.__iO.start();};this.__el.push([bm,bl,bo,bq]);}else {this.__iP(bm,bl,bo,bq);};},remove:function(bs){var br=null;for(var i=0,l=this.__iK.length;i=9)||(bx==v&&bu>=3.6)||(bx==g&&bu>=6)){bt.push(bh);};if((bx==P&&bu>=10)||(bx==G&&bu>=3.1)||(bx==v&&bu>=3.5)||(bx==g&&bu>=4)||(bx==F&&bw==z&&bv>=4.2)){bt.push(J);};if(bx==bi&&bu>=4){bt.push(y);};if(bx==p&&bw==z&&bv>=4.1){bt.push(f);};return bt;},removeStyleSheet:function(){this.__iK=[];if(this.__iN){qx.bom.Stylesheet.removeSheet(this.__iN);};this.__iN=null;},__iP:function(bA,bC,bz,bD){if(!qx.lang.Array.contains(this.__iK,bA)){var bE=this.__iS(bC);var bB=this.__iT(bA,bE);if(!bB){throw new Error(R+bA+w);};if(!this.__iN){this.__iN=qx.bom.Stylesheet.createElement();};try{this.__iV(bB);}catch(bF){{};};this.__iK.push(bA);};if(!this.__iL[bA]){this.__iL[bA]=new qx.bom.webfonts.Validator(bA);this.__iL[bA].setTimeout(qx.bom.webfonts.Manager.VALIDATION_TIMEOUT);this.__iL[bA].addListenerOnce(s,this.__iR,this);};if(bz){var by=bD||window;this.__iL[bA].addListenerOnce(s,bz,by);};this.__iL[bA].validate();},__iQ:function(){if(this.__el.length==0){this.__iO.stop();return;};var bG=this.__el.shift();this.__iP.apply(this,bG);},__iR:function(bH){var bI=bH.getData();if(bI.valid===false){qx.event.Timer.once(function(){this.remove(bI.family);},this,250);};},__iS:function(bJ){var bL=qx.bom.webfonts.Manager.FONT_FORMATS;var bK={};for(var i=0,l=bJ.length;i0?this.__iM:qx.bom.webfonts.Manager.FONT_FORMATS;for(var i=0,l=bP.length;i1)||((o==1)&&(s>9))||((o==1)&&(s==9)&&(q>=1)))){p=6;}else {p=2;};return p;},getSsl:function(){return window.location.protocol===g;},getXmlHttpRequest:function(){var t=window.ActiveXObject?(function(){if(window.location.protocol!==f){try{new window.XMLHttpRequest();return b;}catch(u){};};try{new window.ActiveXObject(a);return j;}catch(v){};})():(function(){try{new window.XMLHttpRequest();return b;}catch(w){};})();return t||e;}},defer:function(x){qx.core.Environment.add(m,x.getMaxConcurrentRequestCount);qx.core.Environment.add(c,x.getSsl);qx.core.Environment.add(d,x.getXmlHttpRequest);}});})();(function(){var a="mshtml",b="engine.name",c="//",d="io.ssl",e="",f="encoding",g="?",h="data",i="string",j="type",k="data:image/",l=";",m="/",n="resourceUri",o="qx.util.ResourceManager",p="singleton",q=",";qx.Class.define(o,{extend:qx.core.Object,type:p,construct:function(){qx.core.Object.call(this);},statics:{__G:qx.$$resources||{},__ja:{}},members:{has:function(r){return !!this.self(arguments).__G[r];},getData:function(s){return this.self(arguments).__G[s]||null;},getImageWidth:function(u){var t=this.self(arguments).__G[u];return t?t[0]:null;},getImageHeight:function(w){var v=this.self(arguments).__G[w];return v?v[1]:null;},getImageFormat:function(y){var x=this.self(arguments).__G[y];return x?x[2]:null;},getCombinedFormat:function(D){var A=e;var C=this.self(arguments).__G[D];var z=C&&C.length>4&&typeof (C[4])==i&&this.constructor.__G[C[4]];if(z){var E=C[4];var B=this.constructor.__G[E];A=B[2];};return A;},toUri:function(I){if(I==null){return I;};var F=this.self(arguments).__G[I];if(!F){return I;};if(typeof F===i){var H=F;}else {var H=F[3];if(!H){return I;};};var G=e;if((qx.core.Environment.get(b)==a)&&qx.core.Environment.get(d)){G=this.self(arguments).__ja[H];};return G+qx.util.LibraryManager.getInstance().get(H,n)+m+I;},toDataUri:function(L){var K=this.constructor.__G[L];var N=this.constructor.__G[K[4]];var M;if(N){var J=N[4][L];M=k+J[j]+l+J[f]+q+J[h];}else {M=this.toUri(L);};return M;}},defer:function(P){if((qx.core.Environment.get(b)==a)){if(qx.core.Environment.get(d)){for(var Q in qx.$$libraries){var O;if(qx.util.LibraryManager.getInstance().get(Q,n)){O=qx.util.LibraryManager.getInstance().get(Q,n);}else {P.__ja[Q]=e;continue;};if(O.match(/^\/\//)!=null){P.__ja[Q]=window.location.protocol;}else if(O.match(/^\//)!=null){P.__ja[Q]=window.location.protocol+c+window.location.host;}else if(O.match(/^\.\//)!=null){var S=document.URL;P.__ja[Q]=S.substring(0,S.lastIndexOf(m)+1);}else if(O.match(/^http/)!=null){P.__ja[Q]=e;}else {var R=window.location.href.indexOf(g);var T;if(R==-1){T=window.location.href;}else {T=window.location.href.substring(0,R);};P.__ja[Q]=T.substring(0,T.lastIndexOf(m)+1);};};};};}});})();(function(){var a="sans-serif",b="changeStatus",c="Integer",d="auto",e="qx.event.type.Data",f="0",g="qx.bom.webfonts.Validator",h="interval",i="Georgia",j="WEei",k="visible",l="Times New Roman",m="Arial",n="normal",o="Helvetica",p="350px",q="_applyFontFamily",r="__je",s="-1000px",t="hidden",u="serif",v="span",w="absolute",x=",";qx.Class.define(g,{extend:qx.core.Object,construct:function(y){qx.core.Object.call(this);if(y){this.setFontFamily(y);this.__jb=this._getRequestedHelpers();};},statics:{COMPARISON_FONTS:{sans:[m,o,a],serif:[l,i,u]},HELPER_CSS:{position:w,margin:f,padding:f,top:s,left:s,fontSize:p,width:d,height:d,lineHeight:n,fontVariant:n,visibility:t},COMPARISON_STRING:j,__jc:null,__jd:null,removeDefaultHelperElements:function(){var z=qx.bom.webfonts.Validator.__jd;if(z){for(var A in z){document.body.removeChild(z[A]);};};delete qx.bom.webfonts.Validator.__jd;}},properties:{fontFamily:{nullable:true,init:null,apply:q},timeout:{check:c,init:5000}},events:{"changeStatus":e},members:{__jb:null,__je:null,__jf:null,validate:function(){this.__jf=new Date().getTime();if(this.__je){this.__je.restart();}else {this.__je=new qx.event.Timer(100);this.__je.addListener(h,this.__jg,this);qx.event.Timer.once(function(){this.__je.start();},this,0);};},_reset:function(){if(this.__jb){for(var C in this.__jb){var B=this.__jb[C];document.body.removeChild(B);};this.__jb=null;};},_isFontValid:function(){if(!qx.bom.webfonts.Validator.__jc){this.__eu();};if(!this.__jb){this.__jb=this._getRequestedHelpers();};this.__jb.sans.style.visibility=k;this.__jb.sans.style.visibility=t;this.__jb.serif.style.visibility=k;this.__jb.serif.style.visibility=t;var E=qx.bom.element.Dimension.getWidth(this.__jb.sans);var D=qx.bom.element.Dimension.getWidth(this.__jb.serif);var F=qx.bom.webfonts.Validator;if(E!==F.__jc.sans||D!==F.__jc.serif){return true;};return false;},_getRequestedHelpers:function(){var G=[this.getFontFamily()].concat(qx.bom.webfonts.Validator.COMPARISON_FONTS.sans);var H=[this.getFontFamily()].concat(qx.bom.webfonts.Validator.COMPARISON_FONTS.serif);return {sans:this._getHelperElement(G),serif:this._getHelperElement(H)};},_getHelperElement:function(I){var J=qx.lang.Object.clone(qx.bom.webfonts.Validator.HELPER_CSS);if(I){if(J.fontFamily){J.fontFamily+=x+I.join(x);}else {J.fontFamily=I.join(x);};};var K=document.createElement(v);K.innerHTML=qx.bom.webfonts.Validator.COMPARISON_STRING;qx.bom.element.Style.setStyles(K,J);document.body.appendChild(K);return K;},_applyFontFamily:function(M,L){if(M!==L){this._reset();};},__eu:function(){var N=qx.bom.webfonts.Validator;if(!N.__jd){N.__jd={sans:this._getHelperElement(N.COMPARISON_FONTS.sans),serif:this._getHelperElement(N.COMPARISON_FONTS.serif)};};N.__jc={sans:qx.bom.element.Dimension.getWidth(N.__jd.sans),serif:qx.bom.element.Dimension.getWidth(N.__jd.serif)};},__jg:function(){if(this._isFontValid()){this.__je.stop();this._reset();this.fireDataEvent(b,{family:this.getFontFamily(),valid:true});}else {var O=new Date().getTime();if(O-this.__jf>=this.getTimeout()){this.__je.stop();this._reset();this.fireDataEvent(b,{family:this.getFontFamily(),valid:false});};};}},destruct:function(){this._reset();this.__je.stop();this.__je.removeListener(h,this.__jg,this);this._disposeObjects(r);}});})();(function(){var a="mshtml",b="engine.name",c="_applyTheme",d="",e="'.",f="__ji",g="qx-",h="Unable to resolve decorator '",j="singleton",k=";",l="qx.theme.manager.Decoration",m=".",n="Theme",o="object",p="changeTheme",q="string",r="browser.documentmode",s=":";qx.Class.define(l,{type:j,extend:qx.core.Object,statics:{CSS_CLASSNAME_PREFIX:g},construct:function(){qx.core.Object.call(this);this.__fx=[];this.__jh=(qx.core.Environment.get(b)==a&&qx.core.Environment.get(r)<9);},properties:{theme:{check:n,nullable:true,apply:c,event:p}},members:{__ji:null,__fx:null,__jh:false,getCssClassName:function(u){var t=qx.theme.manager.Decoration.CSS_CLASSNAME_PREFIX;if(qx.lang.Type.isString(u)){return t+u;}else {return t+u.toHashCode();};},addCssClass:function(z){var w=qx.ui.style.Stylesheet.getInstance();var B=z;z=this.getCssClassName(z);var A=m+z;if(w.hasRule(A)){return z;};if(qx.lang.Type.isString(B)){B=this.resolve(B);};if(!B){throw new Error(h+z+e);};var G=d;var v=B.getStyles(true);for(var D in v){if(qx.Bootstrap.isObject(v[D])){var x=d;var F=v[D];var C=false;for(var y in F){C=true;x+=y+s+F[y]+k;};var E=this.__jh?A:A+(C?s:d);this.__fx.push(E+D);w.addRule(E+D,x);continue;};G+=D+s+v[D]+k;};if(G){w.addRule(A,G);this.__fx.push(A);};return z;},removeAllCssClasses:function(){for(var i=0;i0){I[j]=M+b+this.getStyleTop()+G+(O||t);};var M=this.getWidthRight();if(M>0){I[m]=M+b+this.getStyleRight()+G+(L||t);};var M=this.getWidthBottom();if(M>0){I[u]=M+b+this.getStyleBottom()+G+(J||t);};var M=this.getWidthLeft();if(M>0){I[k]=M+b+this.getStyleLeft()+G+(N||t);};{};I.position=H;},_getDefaultInsetsForBorder:function(){return {top:this.getWidthTop(),right:this.getWidthRight(),bottom:this.getWidthBottom(),left:this.getWidthLeft()};},_applyWidth:function(){this._applyStyle();this._resetInsets();},_applyStyle:function(){{};}}});})();(function(){var a=', url(',b="repeat",c="backgroundPositionX",d="backgroundPositionY",e="px",f="background-position",g=" ",h="background-repeat",i="no-repeat",j=')',k="scale",l="_applyBackgroundPosition",m='url(',n="repeat-x",o="background-image",p="100% 100%",q="repeat-y",r="qx.ui.decoration.MBackgroundImage",s="background-size",t="String",u="_applyBackgroundImage";qx.Mixin.define(r,{properties:{backgroundImage:{check:t,nullable:true,apply:u},backgroundRepeat:{check:[b,n,q,i,k],init:b,apply:u},backgroundPositionX:{nullable:true,apply:l},backgroundPositionY:{nullable:true,apply:l},backgroundPosition:{group:[d,c]}},members:{_styleBackgroundImage:function(v){var x=this.getBackgroundImage();if(!x){return;};var y=qx.util.AliasManager.getInstance().resolve(x);var z=qx.util.ResourceManager.getInstance().toUri(y);if(v[o]){v[o]+=a+z+j;}else {v[o]=m+z+j;};var w=this.getBackgroundRepeat();if(w===k){v[s]=p;}else {v[h]=w;};var top=this.getBackgroundPositionY()||0;var A=this.getBackgroundPositionX()||0;if(!isNaN(top)){top+=e;};if(!isNaN(A)){A+=e;};v[f]=A+g+top;{};},_applyBackgroundImage:function(){{};},_applyBackgroundPosition:function(){{};}}});})();(function(){var a="innerWidthRight",b="innerColorBottom",c="css.borderradius",d="px ",e='""',f="_applyDoubleBorder",g="border-top",h="inset 0 -",i="css.boxsizing",j="innerWidthTop",k="100%",l="border-left",m="innerColorRight",n="css.boxshadow",o="innerColorTop",p="innerColorLeft",q="inset ",r="shorthand",s="inset -",t="Color",u="border-box",v="qx.ui.decoration.MDoubleBorder",w="border-bottom",x=":before",y="inset 0 ",z="px solid ",A="innerWidthBottom",B="css.rgba",C="inherit",D="Number",E="innerWidthLeft",F="px 0 ",G="inset 0 0 0 ",H="border-right",I=" ",J=",",K="absolute";qx.Mixin.define(v,{include:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MBackgroundImage],construct:function(){this._getDefaultInsetsForBorder=this.__jn;this._styleBorder=this.__jl;},properties:{innerWidthTop:{check:D,init:0,apply:f},innerWidthRight:{check:D,init:0,apply:f},innerWidthBottom:{check:D,init:0,apply:f},innerWidthLeft:{check:D,init:0,apply:f},innerWidth:{group:[j,a,A,E],mode:r},innerColorTop:{nullable:true,check:t,apply:f},innerColorRight:{nullable:true,check:t,apply:f},innerColorBottom:{nullable:true,check:t,apply:f},innerColorLeft:{nullable:true,check:t,apply:f},innerColor:{group:[o,m,b,p],mode:r},innerOpacity:{check:D,init:1,apply:f}},members:{__jl:function(L){var U=qx.core.Environment.get(n);var O,Y,innerWidth;{var T=qx.theme.manager.Color.getInstance();O={top:T.resolve(this.getColorTop()),right:T.resolve(this.getColorRight()),bottom:T.resolve(this.getColorBottom()),left:T.resolve(this.getColorLeft())};Y={top:T.resolve(this.getInnerColorTop()),right:T.resolve(this.getInnerColorRight()),bottom:T.resolve(this.getInnerColorBottom()),left:T.resolve(this.getInnerColorLeft())};};innerWidth={top:this.getInnerWidthTop(),right:this.getInnerWidthRight(),bottom:this.getInnerWidthBottom(),left:this.getInnerWidthLeft()};var R=this.getWidthTop();if(R>0){L[g]=R+d+this.getStyleTop()+I+O.top;};R=this.getWidthRight();if(R>0){L[H]=R+d+this.getStyleRight()+I+O.right;};R=this.getWidthBottom();if(R>0){L[w]=R+d+this.getStyleBottom()+I+O.bottom;};R=this.getWidthLeft();if(R>0){L[l]=R+d+this.getStyleLeft()+I+O.left;};var X=this.getInnerOpacity();if(X<1){this.__jm(Y,X);};if(innerWidth.top>0||innerWidth.right>0||innerWidth.bottom>0||innerWidth.left>0){var W=(innerWidth.top||0)+z+Y.top;var V=(innerWidth.right||0)+z+Y.right;var Q=(innerWidth.bottom||0)+z+Y.bottom;var S=(innerWidth.left||0)+z+Y.left;L[x]={"width":k,"height":k,"position":K,"content":e,"border-top":W,"border-right":V,"border-bottom":Q,"border-left":S,"left":0,"top":0};var M=qx.bom.Style.getCssName(qx.core.Environment.get(i));L[x][M]=u;var N=qx.core.Environment.get(c);if(N){N=qx.bom.Style.getCssName(N);L[x][N]=C;};var P=[];if(Y.top&&innerWidth.top&&Y.top==Y.bottom&&Y.top==Y.right&&Y.top==Y.left&&innerWidth.top==innerWidth.bottom&&innerWidth.top==innerWidth.right&&innerWidth.top==innerWidth.left){P.push(G+innerWidth.top+d+Y.top);}else {if(Y.top){P.push(y+(innerWidth.top||0)+d+Y.top);};if(Y.right){P.push(s+(innerWidth.right||0)+F+Y.right);};if(Y.bottom){P.push(h+(innerWidth.bottom||0)+d+Y.bottom);};if(Y.left){P.push(q+(innerWidth.left||0)+F+Y.left);};};if(P.length>0&&U){U=qx.bom.Style.getCssName(U);if(!L[U]){L[U]=P.join(J);}else {L[U]+=J+P.join(J);};};}else {L[x]={border:0};};},__jm:function(bd,ba){if(!qx.core.Environment.get(B)){{};return;};for(var be in bd){var bb=qx.util.ColorUtil.stringToRgb(bd[be]);bb.push(ba);var bc=qx.util.ColorUtil.rgbToRgbString(bb);bd[be]=bc;};},_applyDoubleBorder:function(){{};},__jn:function(){return {top:this.getWidthTop()+this.getInnerWidthTop(),right:this.getWidthRight()+this.getInnerWidthRight(),bottom:this.getWidthBottom()+this.getInnerWidthBottom(),left:this.getWidthLeft()+this.getInnerWidthLeft()};}}});})();(function(){var a="_applyBoxShadow",b="shadowHorizontalLength",c="Boolean",d="",e="px ",f="css.boxshadow",g="shadowVerticalLength",h="inset ",i="shorthand",j="qx.ui.decoration.MBoxShadow",k="Integer",l="Color",m=",";qx.Mixin.define(j,{properties:{shadowHorizontalLength:{nullable:true,check:k,apply:a},shadowVerticalLength:{nullable:true,check:k,apply:a},shadowBlurRadius:{nullable:true,check:k,apply:a},shadowSpreadRadius:{nullable:true,check:k,apply:a},shadowColor:{nullable:true,check:l,apply:a},inset:{init:false,check:c,apply:a},shadowLength:{group:[b,g],mode:i}},members:{_styleBoxShadow:function(n){var v=qx.core.Environment.get(f);if(!v||this.getShadowVerticalLength()==null&&this.getShadowHorizontalLength()==null){return;};{var r=qx.theme.manager.Color.getInstance();var o=r.resolve(this.getShadowColor());};if(o!=null){var u=this.getShadowVerticalLength()||0;var p=this.getShadowHorizontalLength()||0;var blur=this.getShadowBlurRadius()||0;var t=this.getShadowSpreadRadius()||0;var s=this.getInset()?h:d;var q=s+p+e+u+e+blur+e+t+e+o;v=qx.bom.Style.getCssName(v);if(!n[v]){n[v]=q;}else {n[v]+=m+q;};};},_applyBoxShadow:function(){{};}}});})();(function(){var a="radiusTopRight",b="radiusTopLeft",c="px",d="-webkit-border-bottom-left-radius",e="-webkit-background-clip",f="radiusBottomRight",g="Integer",h="-webkit-border-bottom-right-radius",i="background-clip",j="border-top-left-radius",k="border-top-right-radius",l="border-bottom-left-radius",m="radiusBottomLeft",n="-webkit-border-top-left-radius",o="shorthand",p="-moz-border-radius-bottomright",q="padding-box",r="border-bottom-right-radius",s="qx.ui.decoration.MBorderRadius",t="-moz-border-radius-topright",u="engine.name",v="_applyBorderRadius",w="-webkit-border-top-right-radius",x="webkit",y="-moz-border-radius-topleft",z="-moz-border-radius-bottomleft";qx.Mixin.define(s,{properties:{radiusTopLeft:{nullable:true,check:g,apply:v},radiusTopRight:{nullable:true,check:g,apply:v},radiusBottomLeft:{nullable:true,check:g,apply:v},radiusBottomRight:{nullable:true,check:g,apply:v},radius:{group:[b,a,f,m],mode:o}},members:{_styleBorderRadius:function(A){A[e]=q;A[i]=q;var B=false;var C=this.getRadiusTopLeft();if(C>0){B=true;A[y]=C+c;A[n]=C+c;A[j]=C+c;};C=this.getRadiusTopRight();if(C>0){B=true;A[t]=C+c;A[w]=C+c;A[k]=C+c;};C=this.getRadiusBottomLeft();if(C>0){B=true;A[z]=C+c;A[d]=C+c;A[l]=C+c;};C=this.getRadiusBottomRight();if(C>0){B=true;A[p]=C+c;A[h]=C+c;A[r]=C+c;};if(B&&qx.core.Environment.get(u)==x){A[e]=q;}else {A[i]=q;};},_applyBorderRadius:function(){{};}}});})();(function(){var a="border-width",b="css.borderimage.standardsyntax",c="repeat",d="Boolean",e="-l",f="stretch",g="px ",h="sliceBottom",i="-t",j="Integer",k="solid",l="borderImage",m="-r",n="border-style",o="sliceLeft",p="-b",q="sliceRight",r="px",s="repeatX",t=" fill",u="String",v="vertical",w="",x="transparent",y="round",z='") ',A="shorthand",B="qx.ui.decoration.MBorderImage",C="sliceTop",D="horizontal",E="_applyBorderImage",F="border-color",G='url("',H=" ",I="grid",J="repeatY";qx.Mixin.define(B,{properties:{borderImage:{check:u,nullable:true,apply:E},sliceTop:{check:j,nullable:true,init:null,apply:E},sliceRight:{check:j,nullable:true,init:null,apply:E},sliceBottom:{check:j,nullable:true,init:null,apply:E},sliceLeft:{check:j,nullable:true,init:null,apply:E},slice:{group:[C,q,h,o],mode:A},repeatX:{check:[f,c,y],init:f,apply:E},repeatY:{check:[f,c,y],init:f,apply:E},repeat:{group:[s,J],mode:A},fill:{check:d,init:true,apply:E},borderImageMode:{check:[D,v,I],init:I}},members:{_styleBorderImage:function(K){if(!this.getBorderImage()){return;};var M=qx.util.AliasManager.getInstance().resolve(this.getBorderImage());var O=qx.util.ResourceManager.getInstance().toUri(M);var R=this._getDefaultInsetsForBorderImage();var L=[R.top,R.right,R.bottom,R.left];var P=[this.getRepeatX(),this.getRepeatY()].join(H);var S=this.getFill()&&qx.core.Environment.get(b)?t:w;var N=qx.bom.Style.getPropertyName(l);if(N){var Q=qx.bom.Style.getCssName(N);K[Q]=G+O+z+L.join(H)+S+H+P;};K[n]=k;K[F]=x;K[a]=L.join(g)+r;},_getDefaultInsetsForBorderImage:function(){if(!this.getBorderImage()){return {top:0,right:0,bottom:0,left:0};};var T=qx.util.AliasManager.getInstance().resolve(this.getBorderImage());var U=this.__jo(T);return {top:this.getSliceTop()||U[0],right:this.getSliceRight()||U[1],bottom:this.getSliceBottom()||U[2],left:this.getSliceLeft()||U[3]};},_applyBorderImage:function(){{};},__jo:function(bc){var bb=this.getBorderImageMode();var bd=0;var Y=0;var ba=0;var be=0;var bf=/(.*)(\.[a-z]+)$/.exec(bc);var V=bf[1];var X=bf[2];var W=qx.util.ResourceManager.getInstance();if(bb==I||bb==v){bd=W.getImageHeight(V+i+X);ba=W.getImageHeight(V+p+X);};if(bb==I||bb==D){Y=W.getImageWidth(V+m+X);be=W.getImageWidth(V+e+X);};return [bd,Y,ba,be];}}});})();(function(){var a="qx.ui.decoration.MBackgroundColor",b="background-color",c="Color",d="_applyBackgroundColor",e='base.theme.Theme';qx.Mixin.define(a,{properties:{backgroundColor:{check:c,nullable:true,apply:d}},members:{_styleBackgroundColor:function(f){var g=this.getBackgroundColor();if(g&&e){g=qx.theme.manager.Color.getInstance().resolve(g);};if(g){f[b]=g;};},_applyBackgroundColor:function(){{};}}});})();(function(){var a="abstract",b="Abstract method called.",c="qx.ui.decoration.Abstract";qx.Class.define(c,{extend:qx.core.Object,implement:[qx.ui.decoration.IDecorator],type:a,members:{__jp:null,_getDefaultInsets:function(){throw new Error(b);},_isInitialized:function(){throw new Error(b);},_resetInsets:function(){this.__jp=null;},getInsets:function(){if(this.__jp){return this.__jp;};return this._getDefaultInsets();}},destruct:function(){this.__jp=null;}});})();(function(){var a="qx.ui.decoration.Decorator",b="_style",c="_getDefaultInsetsFor",d="bottom",e="top",f="left",g="right";qx.Class.define(a,{extend:qx.ui.decoration.Abstract,implement:[qx.ui.decoration.IDecorator],include:[qx.ui.decoration.MBackgroundColor,qx.ui.decoration.MBorderRadius,qx.ui.decoration.MBoxShadow,qx.ui.decoration.MDoubleBorder,qx.ui.decoration.MLinearBackgroundGradient,qx.ui.decoration.MBorderImage],members:{__jq:false,getPadding:function(){var k=this.getInset();var h=this._getDefaultInsetsForBorderImage();var n=k.top-(h.top?h.top:this.getWidthTop());var m=k.right-(h.right?h.right:this.getWidthRight());var j=k.bottom-(h.bottom?h.bottom:this.getWidthBottom());var l=k.left-(h.left?h.left:this.getWidthLeft());return {top:k.top?n:this.getInnerWidthTop(),right:k.right?m:this.getInnerWidthRight(),bottom:k.bottom?j:this.getInnerWidthBottom(),left:k.left?l:this.getInnerWidthLeft()};},getStyles:function(r){if(r){return this._getStyles();};var q={};var p=this._getStyles();for(var o in p){q[qx.lang.String.camelCase(o)]=p[o];};return q;},_getStyles:function(){var s={};for(var name in this){if(name.indexOf(b)==0&&this[name] instanceof Function){this[name](s);};};this.__jq=true;return s;},_getDefaultInsets:function(){var w=[e,g,d,f];var u={};for(var name in this){if(name.indexOf(c)==0&&this[name] instanceof Function){var v=this[name]();for(var i=0;iu[t]){u[t]=v[t];};};};};if(u[e]!=undefined){return u;};return {top:0,right:0,bottom:0,left:0};},_isInitialized:function(){return this.__jq;}}});})();(function(){var a="Missing appearance: ",b="_applyTheme",c="string",d="qx.theme.manager.Appearance",e=":",f="Theme",g="changeTheme",h="/",j="singleton";qx.Class.define(d,{type:j,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__jr={};this.__js={};},properties:{theme:{check:f,nullable:true,event:g,apply:b}},members:{__jt:{},__jr:null,__js:null,_applyTheme:function(){this.__js={};this.__jr={};},__ju:function(y,u,l,p){var r=u.appearances;var m=r[y];if(!m){var x=h;var n=[];var q=y.split(x);var w=qx.lang.Array.clone(q);var t;while(!m&&q.length>0){n.unshift(q.pop());var o=q.join(x);m=r[o];if(m){t=m.alias||m;if(typeof t===c){var v=t+x+n.join(x);return this.__ju(v,u,l,w);};};};for(var i=0;i0){P+=e+E;};};var F=this.__jr;if(F[P]!==undefined){return F[P];};if(!J){J=this.__jt;};var M;if(O.include||O.base){var Q;if(O.include){Q=this.styleFrom(O.include,J,K,A);};var I=O.style(J,Q);M={};if(O.base){var N=this.styleFrom(z,J,O.base,A);if(O.include){for(var C in N){if(!Q.hasOwnProperty(C)&&!I.hasOwnProperty(C)){M[C]=N[C];};};}else {for(var L in N){if(!I.hasOwnProperty(L)){M[L]=N[L];};};};};if(O.include){for(var B in Q){if(!I.hasOwnProperty(B)){M[B]=Q[B];};};};for(var S in I){M[S]=I[S];};}else {M=O.style(J);};return F[P]=M||null;}},destruct:function(){this.__jr=this.__js=null;}});})();(function(){var b="'!",c="other",d="widgets",e="undefined",f="fonts",g="appearances",h="qx.Theme",j="]",k="Mixin theme is not a valid theme!",m="[Theme ",n="colors",o="decorations",p="' are not compatible '",q="Theme",r="meta",s="The mixins '",t="borders",u="icons";qx.Bootstrap.define(h,{statics:{define:function(name,w){if(!w){var w={};};w.include=this.__jv(w.include);w.patch=this.__jv(w.patch);{};var v={$$type:q,name:name,title:w.title,toString:this.genericToString};if(w.extend){v.supertheme=w.extend;};v.basename=qx.Bootstrap.createNamespace(name,v);this.__jy(v,w);this.__jw(v,w);this.$$registry[name]=v;for(var i=0,a=w.include,l=a.length;i0){content.setStyles(ev);};if(eF||eC.local||eC.margin){if(this.__jG&&this.hasLayoutChildren()){var eA=this.getInsets();var innerWidth=ey-eA.left-eA.right;var innerHeight=ew-eA.top-eA.bottom;var eE=this.getDecorator();var ez={left:0,right:0,top:0,bottom:0};if(eE){eE=qx.theme.manager.Decoration.getInstance().resolve(eE);ez=eE.getPadding();};var ex={top:this.getPaddingTop()+ez.top,right:this.getPaddingRight()+ez.right,bottom:this.getPaddingBottom()+ez.bottom,left:this.getPaddingLeft()+ez.left};this.__jG.renderLayout(innerWidth,innerHeight,ex);}else if(this.hasLayoutChildren()){throw new Error(P+this._findTopControl()+k);};};if(eC.position&&this.hasListener(p)){this.fireDataEvent(p,this.getBounds());};if(eC.size&&this.hasListener(W)){this.fireDataEvent(W,this.getBounds());};delete this._updateInsets;return eC;},__jH:null,clearSeparators:function(){var eH=this.__jH;if(!eH){return;};var eI=qx.ui.core.Widget.__jD;var content=this.getContentElement();var eG;for(var i=0,l=eH.length;ieP&&eP!=null){eO=eP;};};};if(eQ==null){eQ=eW;if(eV.minHeight!=null){eQ+=eV.minHeight;if(eQ>eR&&eR!=null){eQ=eR;};};};if(eP==null){if(eV.maxWidth==null){eP=Infinity;}else {eP=eV.maxWidth+eX;if(eP0;};return false;},__jI:function(){var fx=this._createContentElement();fx.setAttribute(cM,this.toHashCode());fx.setStyles({"touch-action":cN,"-ms-touch-action":cN});{};var fw={"zIndex":10,"boxSizing":dC};if(!qx.ui.root.Inline||!(this instanceof qx.ui.root.Inline)){fw.position=eg;};fx.setStyles(fw);return fx;},_createContentElement:function(){return new qx.html.Element(f,{overflowX:cP,overflowY:cP});},getContentElement:function(){return this.__jC;},__jJ:null,getLayoutChildren:function(){var fz=this.__jJ;if(!fz){return this.__jK;};var fA;for(var i=0,l=fz.length;i=0;i-- ){this.__jM(ga[i]);};qx.ui.core.queue.Layout.add(this);return ga;},_afterAddChild:null,_afterRemoveChild:null,__jL:function(gc,gb){{};var parent=gc.getLayoutParent();if(parent&&parent!=this){parent._remove(gc);};gc.setLayoutParent(this);if(gb){gc.setLayoutProperties(gb);}else {this.updateLayoutProperties();};if(this._afterAddChild){this._afterAddChild(gc);};},__jM:function(gd){{};if(gd.getLayoutParent()!==this){throw new Error(Y+gd+dz);};gd.setLayoutParent(null);if(this.__jG){this.__jG.invalidateChildrenCache();};qx.ui.core.queue.Layout.add(this);if(this._afterRemoveChild){this._afterRemoveChild(gd);};},capture:function(ge){this.getContentElement().capture(ge);},releaseCapture:function(){this.getContentElement().releaseCapture();},isCapturing:function(){var gf=this.getContentElement().getDomElement();if(!gf){return false;};var gg=qx.event.Registration.getManager(gf);var gh=gg.getDispatcher(qx.event.dispatch.MouseCapture);return gf==gh.getCaptureElement();},_applyPadding:function(gj,gi,name){this._updateInsets=true;qx.ui.core.queue.Layout.add(this);this.__jN(name,gj);},__jN:function(gk,gn){var content=this.getContentElement();var gl=this.getDecorator();gl=qx.theme.manager.Decoration.getInstance().resolve(gl);if(gl){var gm=qx.Bootstrap.firstLow(gk.replace(dG,dJ));gn+=gl.getPadding()[gm]||0;};content.setStyle(gk,gn+da);},_applyDecorator:function(gp,go){var content=this.getContentElement();if(go){go=qx.theme.manager.Decoration.getInstance().getCssClassName(go);content.removeClass(go);};if(gp){gp=qx.theme.manager.Decoration.getInstance().addCssClass(gp);content.addClass(gp);};if(gp||go){qx.ui.core.queue.Layout.add(this);};},_applyToolTipText:function(gs,gr){if(qx.core.Environment.get(v)){if(this.__jF){return;};var gq=qx.locale.Manager.getInstance();this.__jF=gq.addListener(dR,function(){var gt=this.getToolTipText();if(gt&>.translate){this.setToolTipText(gt.translate());};},this);};},_applyTextColor:function(gv,gu){},_applyZIndex:function(gx,gw){this.getContentElement().setStyle(cK,gx==null?0:gx);},_applyVisibility:function(gz,gy){var content=this.getContentElement();if(gz===Q){content.show();}else {content.hide();};var parent=this.$$parent;if(parent&&(gy==null||gz==null||gy===en||gz===en)){parent.invalidateLayoutChildren();};qx.ui.core.queue.Visibility.add(this);},_applyOpacity:function(gB,gA){this.getContentElement().setStyle(cJ,gB==1?null:gB);},_applyCursor:function(gD,gC){if(gD==null&&!this.isSelectable()){gD=ej;};this.getContentElement().setStyle(dc,gD,qx.core.Environment.get(dn)==ed);},_applyBackgroundColor:function(gH,gG){var gF=this.getBackgroundColor();var content=this.getContentElement();var gE=qx.theme.manager.Color.getInstance().resolve(gF);content.setStyle(a,gE);},_applyFont:function(gJ,gI){},_onChangeTheme:function(){if(this.isDisposed()){return;};qx.ui.core.LayoutItem.prototype._onChangeTheme.call(this);this.updateAppearance();var gK=this.getDecorator();this._applyDecorator(null,gK);this._applyDecorator(gK);gK=this.getFont();if(qx.lang.Type.isString(gK)){this._applyFont(gK,gK);};gK=this.getTextColor();if(qx.lang.Type.isString(gK)){this._applyTextColor(gK,gK);};gK=this.getBackgroundColor();if(qx.lang.Type.isString(gK)){this._applyBackgroundColor(gK,gK);};},__jO:null,$$stateChanges:null,_forwardStates:null,hasState:function(gM){var gL=this.__jO;return !!gL&&!!gL[gM];},addState:function(gQ){var gP=this.__jO;if(!gP){gP=this.__jO={};};if(gP[gQ]){return;};this.__jO[gQ]=true;if(gQ===cY){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 gO=this.__jR;if(forward&&forward[gQ]&&gO){var gN;for(var gR in gO){gN=gO[gR];if(gN instanceof qx.ui.core.Widget){gO[gR].addState(gQ);};};};},removeState:function(gV){var gU=this.__jO;if(!gU||!gU[gV]){return;};delete this.__jO[gV];if(gV===cY){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 gT=this.__jR;if(forward&&forward[gV]&&gT){for(var gW in gT){var gS=gT[gW];if(gS instanceof qx.ui.core.Widget){gS.removeState(gV);};};};},replaceState:function(gY,hc){var hb=this.__jO;if(!hb){hb=this.__jO={};};if(!hb[hc]){hb[hc]=true;};if(hb[gY]){delete hb[gY];};if(!qx.ui.core.queue.Visibility.isVisible(this)){this.$$stateChanges=true;}else {qx.ui.core.queue.Appearance.add(this);};var forward=this._forwardStates;var ha=this.__jR;if(forward&&forward[hc]&&ha){for(var hd in ha){var gX=ha[hd];if(gX instanceof qx.ui.core.Widget){gX.replaceState(gY,hc);};};};},__jP:null,__jQ:null,syncAppearance:function(){var hi=this.__jO;var hh=this.__jP;var hj=qx.theme.manager.Appearance.getInstance();var hf=qx.core.Property.$$method.setThemed;var hn=qx.core.Property.$$method.resetThemed;if(this.__jQ){delete this.__jQ;if(hh){var he=hj.styleFrom(hh,hi,null,this.getAppearance());hh=null;};};if(!hh){var hg=this;var hk=[];do {hk.push(hg.$$subcontrol||hg.getAppearance());}while(hg=hg.$$subparent);hh=hk.reverse().join(dE).replace(/#[0-9]+/g,dJ);this.__jP=hh;};var hm=hj.styleFrom(hh,hi,null,this.getAppearance());if(hm){if(he){for(var hl in he){if(hm[hl]===undefined){this[hn[hl]]();};};};{var hl;};for(var hl in hm){hm[hl]===undefined?this[hn[hl]]():this[hf[hl]](hm[hl]);};}else if(he){for(var hl in he){this[hn[hl]]();};};this.fireDataEvent(J,this.__jO);},_applyAppearance:function(hp,ho){this.updateAppearance();},checkAppearanceNeeds:function(){if(!this.__jE){qx.ui.core.queue.Appearance.add(this);this.__jE=true;}else if(this.$$stateChanges){qx.ui.core.queue.Appearance.add(this);delete this.$$stateChanges;};},updateAppearance:function(){this.__jQ=true;qx.ui.core.queue.Appearance.add(this);var hs=this.__jR;if(hs){var hq;for(var hr in hs){hq=hs[hr];if(hq instanceof qx.ui.core.Widget){hq.updateAppearance();};};};},syncWidget:function(ht){},getEventTarget:function(){var hu=this;while(hu.getAnonymous()){hu=hu.getLayoutParent();if(!hu){return null;};};return hu;},getFocusTarget:function(){var hv=this;if(!hv.getEnabled()){return null;};while(hv.getAnonymous()||!hv.getFocusable()){hv=hv.getLayoutParent();if(!hv||!hv.getEnabled()){return null;};};return hv;},getFocusElement:function(){return this.getContentElement();},isTabable:function(){return (!!this.getContentElement().getDomElement())&&this.isFocusable();},_applyFocusable:function(hy,hw){var hx=this.getFocusElement();if(hy){var hz=this.getTabIndex();if(hz==null){hz=1;};hx.setAttribute(dX,hz);hx.setStyle(cO,cN);}else {if(hx.isNativelyFocusable()){hx.setAttribute(dX,-1);}else if(hw){hx.setAttribute(dX,null);};};},_applyKeepFocus:function(hB){var hA=this.getFocusElement();hA.setAttribute(ee,hB?cH:null);},_applyKeepActive:function(hD){var hC=this.getContentElement();hC.setAttribute(eh,hD?cH:null);},_applyTabIndex:function(hE){if(hE==null){hE=1;}else if(hE<1||hE>32000){throw new Error(cX);};if(this.getFocusable()&&hE!=null){this.getFocusElement().setAttribute(dX,hE);};},_applySelectable:function(hG,hF){if(hF!==null){this._applyCursor(this.getCursor());};this.getContentElement().setSelectable(hG);},_applyEnabled:function(hI,hH){if(hI===false){this.addState(o);this.removeState(cY);if(this.isFocusable()){this.removeState(n);this._applyFocusable(false,true);};if(this.isDraggable()){this._applyDraggable(false,true);};if(this.isDroppable()){this._applyDroppable(false,true);};}else {this.removeState(o);if(this.isFocusable()){this._applyFocusable(true,false);};if(this.isDraggable()){this._applyDraggable(true,false);};if(this.isDroppable()){this._applyDroppable(true,false);};};},_applyNativeContextMenu:function(hK,hJ,name){},_applyContextMenu:function(hM,hL){if(hL){hL.removeState(ea);if(hL.getOpener()==this){hL.resetOpener();};if(!hM){this.removeListener(ea,this._onContextMenuOpen);this.removeListener(cW,this._onContextMenuOpen);hL.removeListener(U,this._onBeforeContextMenuOpen,this);};};if(hM){hM.setOpener(this);hM.addState(ea);if(!hL){this.addListener(ea,this._onContextMenuOpen);this.addListener(cW,this._onContextMenuOpen);hM.addListener(U,this._onBeforeContextMenuOpen,this);};};},_onContextMenuOpen:function(e){if(e.getType()==cW){if(e.getPointerType()!==d){return;};};this.getContextMenu().openAtPointer(e);e.stop();},_onBeforeContextMenuOpen:function(e){if(e.getData()==Q&&this.hasListener(dV)){this.fireDataEvent(dV,e);};},_onStopEvent:function(e){e.stopPropagation();},_getDragDropCursor:function(){return qx.ui.core.DragDropCursor.getInstance();},_applyDraggable:function(hO,hN){if(!this.isEnabled()&&hO===true){hO=false;};this._getDragDropCursor();if(hO){this.addListener(t,this._onDragStart);this.addListener(b,this._onDrag);this.addListener(D,this._onDragEnd);this.addListener(w,this._onDragChange);}else {this.removeListener(t,this._onDragStart);this.removeListener(b,this._onDrag);this.removeListener(D,this._onDragEnd);this.removeListener(w,this._onDragChange);};this.getContentElement().setAttribute(G,hO?cH:null);},_applyDroppable:function(hQ,hP){if(!this.isEnabled()&&hQ===true){hQ=false;};this.getContentElement().setAttribute(dd,hQ?cH:null);},_onDragStart:function(e){this._getDragDropCursor().placeToPointer(e);this.getApplicationRoot().setGlobalCursor(ej);},_onDrag:function(e){this._getDragDropCursor().placeToPointer(e);},_onDragEnd:function(e){this._getDragDropCursor().moveTo(-1000,-1000);this.getApplicationRoot().resetGlobalCursor();},_onDragChange:function(e){var hR=this._getDragDropCursor();var hS=e.getCurrentAction();hS?hR.setAction(hS):hR.resetAction();},visualizeFocus:function(){this.addState(n);},visualizeBlur:function(){this.removeState(n);},scrollChildIntoView:function(hX,hW,hV,hU){hU=typeof hU==ec?true:hU;var hT=qx.ui.core.queue.Layout;var parent;if(hU){hU=!hT.isScheduled(hX);parent=hX.getLayoutParent();if(hU&&parent){hU=!hT.isScheduled(parent);if(hU){parent.getChildren().forEach(function(hY){hU=hU&&!hT.isScheduled(hY);});};};};this.scrollChildIntoViewX(hX,hW,hU);this.scrollChildIntoViewY(hX,hV,hU);},scrollChildIntoViewX:function(ic,ia,ib){this.getContentElement().scrollChildIntoViewX(ic.getContentElement(),ia,ib);},scrollChildIntoViewY:function(ih,ie,ig){this.getContentElement().scrollChildIntoViewY(ih.getContentElement(),ie,ig);},focus:function(){if(this.isFocusable()){this.getFocusElement().focus();}else {throw new Error(dm);};},blur:function(){if(this.isFocusable()){this.getFocusElement().blur();}else {throw new Error(dm);};},activate:function(){this.getContentElement().activate();},deactivate:function(){this.getContentElement().deactivate();},tabFocus:function(){this.getFocusElement().focus();},hasChildControl:function(ii){if(!this.__jR){return false;};return !!this.__jR[ii];},__jR:null,_getCreatedChildControls:function(){return this.__jR;},getChildControl:function(il,ik){if(!this.__jR){if(ik){return null;};this.__jR={};};var ij=this.__jR[il];if(ij){return ij;};if(ik===true){return null;};return this._createChildControl(il);},_showChildControl:function(io){var im=this.getChildControl(io);im.show();return im;},_excludeChildControl:function(iq){var ip=this.getChildControl(iq,true);if(ip){ip.exclude();};},_isChildControlVisible:function(is){var ir=this.getChildControl(is,true);if(ir){return ir.isVisible();};return false;},_releaseChildControl:function(iw){var it=this.getChildControl(iw,false);if(!it){throw new Error(s+iw);};delete it.$$subcontrol;delete it.$$subparent;var iu=this.__jO;var forward=this._forwardStates;if(iu&&forward&&it instanceof qx.ui.core.Widget){for(var iv in iu){if(forward[iv]){it.removeState(iv);};};};delete this.__jR[iw];return it;},_createChildControl:function(iB){if(!this.__jR){this.__jR={};}else if(this.__jR[iB]){throw new Error(F+iB+di);};var iy=iB.indexOf(O);try{if(iy==-1){var ix=this._createChildControlImpl(iB);}else {var ix=this._createChildControlImpl(iB.substring(0,iy),iB.substring(iy+1,iB.length));};}catch(iC){iC.message=du+iB+L+this.toString()+dk+iC.message;throw iC;};if(!ix){throw new Error(s+iB);};ix.$$subcontrol=iB;ix.$$subparent=this;var iz=this.__jO;var forward=this._forwardStates;if(iz&&forward&&ix instanceof qx.ui.core.Widget){for(var iA in iz){if(forward[iA]){ix.addState(iA);};};};this.fireDataEvent(q,ix);return this.__jR[iB]=ix;},_createChildControlImpl:function(iE,iD){return null;},_disposeChildControls:function(){var iI=this.__jR;if(!iI){return;};var iG=qx.ui.core.Widget;for(var iH in iI){var iF=iI[iH];if(!iG.contains(this,iF)){iF.destroy();}else {iF.dispose();};};delete this.__jR;},_findTopControl:function(){var iJ=this;while(iJ){if(!iJ.$$subparent){return iJ;};iJ=iJ.$$subparent;};return null;},getContentLocation:function(iL){var iK=this.getContentElement().getDomElement();return iK?qx.bom.element.Location.get(iK,iL):null;},setDomLeft:function(iN){var iM=this.getContentElement().getDomElement();if(iM){iM.style.left=iN+da;}else {throw new Error(dy);};},setDomTop:function(iP){var iO=this.getContentElement().getDomElement();if(iO){iO.style.top=iP+da;}else {throw new Error(dy);};},setDomPosition:function(iR,top){var iQ=this.getContentElement().getDomElement();if(iQ){iQ.style.left=iR+da;iQ.style.top=top+da;}else {throw new Error(dy);};},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 iS=qx.ui.core.LayoutItem.prototype.clone.call(this);if(this.getChildren){var iT=this.getChildren();for(var i=0,l=iT.length;i0&&cV>cW[ --i]){};var cU;var k;for(k=i;k>=0;k-- ){cU=this._getHighResolutionSource(cT,cW[k]);if(cU){return cU;};};for(k=i+1;k-1){var da=M+cY+j;var dc=cX.slice(0,db)+da+cX.slice(db);if(qx.util.ResourceManager.getInstance().has(dc)){return dc;};};return null;},__ko:function(dd,de){if(this.$$disposed===true){return;};if(dd!==qx.util.AliasManager.getInstance().resolve(this.getSource())){this.fireEvent(m);return;};if(de.failed){this.warn(a+dd);this.fireEvent(B);}else if(de.aborted){this.fireEvent(m);return;}else {this.fireEvent(u);};this.__kl(this.__kh(),dd);},__kp:function(df,dg){if(df!==this.__jW||dg!==this.__jX){this.__jW=df;this.__jX=dg;qx.ui.core.queue.Layout.add(this);};}},destruct:function(){for(var dh in this.__jV){if(this.__jV.hasOwnProperty(dh)){this.__jV[dh].setAttribute(L,null,true);};};delete this.__jY;if(this.__ka){delete this.__ka;};this._disposeMap(C);}});})();(function(){var a="mshtml",b='img',c="",d="qx.globalErrorHandling",e="load",f="qx.io.ImageLoader";qx.Bootstrap.define(f,{statics:{__cP:{},__kq:{width:null,height:null},__kr:/\.(png|gif|jpg|jpeg|bmp)\b/i,__ks:/^data:image\/(png|gif|jpg|jpeg|bmp)\b/i,isLoaded:function(g){var h=this.__cP[g];return !!(h&&h.loaded);},isFailed:function(j){var k=this.__cP[j];return !!(k&&k.failed);},isLoading:function(m){var n=this.__cP[m];return !!(n&&n.loading);},getFormat:function(r){var q=this.__cP[r];if(!q||!q.format){var o=this.__ks.exec(r);if(o!=null){var p=(q&&qx.lang.Type.isNumber(q.width)?q.width:this.__kq.width);var s=(q&&qx.lang.Type.isNumber(q.height)?q.height:this.__kq.height);q={loaded:true,format:o[1],width:p,height:s};};};return q?q.format:null;},getSize:function(t){var u=this.__cP[t];return u?{width:u.width,height:u.height}:this.__kq;},getWidth:function(v){var w=this.__cP[v];return w?w.width:null;},getHeight:function(x){var y=this.__cP[x];return y?y.height:null;},load:function(B,A,C){var D=this.__cP[B];if(!D){D=this.__cP[B]={};};if(A&&!C){C=window;};if(D.loaded||D.loading||D.failed){if(A){if(D.loading){D.callbacks.push(A,C);}else {A.call(C,B,D);};};}else {D.loading=true;D.callbacks=[];if(A){D.callbacks.push(A,C);};var z=document.createElement(b);var E=qx.lang.Function.listener(this.__kt,this,z,B);z.onload=E;z.onerror=E;z.src=B;D.element=z;};},abort:function(F){var I=this.__cP[F];if(I&&!I.loaded){I.aborted=true;var H=I.callbacks;var G=I.element;G.onload=G.onerror=null;G.src=c;delete I.callbacks;delete I.element;delete I.loading;for(var i=0,l=H.length;i0){var bm=[];for(var i=0;ibu||Math.abs(bA.y)>bu)){if(!this._start(e)){this.clearSession();return;};};};if(!this.__lh){return;};if(!this.__gC(h,this.__lb,this.__la,true,e)){this.clearSession();};var bv=e.getTarget();var by=this.getCursor();if(!by){by=qx.ui.core.DragDropCursor.getInstance();};var bx=by.getContentElement().getDomElement();if(bv!==bx){var bw=this.__lp(bv);if(bw&&bw!=this.__la){if(this.__la){this.__gC(F,this.__la,this.__lb,false,e);};this.__li=true;this.__la=bw;this.__li=this.__gC(H,bw,this.__lb,true,e);}else if(!bw&&this.__la){this.__gC(F,this.__la,this.__lb,false,e);this.__la=null;this.__li=false;qx.event.Timer.once(this.__ln,this,0);};};var bz=this.__le;bz.Control=e.isCtrlPressed();bz.Shift=e.isShiftPressed();bz.Alt=e.isAltPressed();this.__ln();},_getDelta:function(e){if(!this.__ll){return null;};var bB=e.getDocumentLeft()-this.__ll.left;var bC=e.getDocumentTop()-this.__ll.top;return {"x":bB,"y":bC};},_onPointerup:function(e){if(!e.isPrimary()){return;};if(this.__li&&this.__lj){this.__gC(l,this.__la,this.__lb,false,e);};if(e.getTarget()==this.__lb){e.stopPropagation();};this.clearSession();},_onRoll:function(e){e.stop();},_onWindowBlur:function(e){this.clearSession();},_onKeyDown:function(e){var bD=e.getKeyIdentifier();switch(bD){case C:case q:case r:if(!this.__le[bD]){this.__le[bD]=true;this.__ln();};};},_onKeyUp:function(e){var bE=e.getKeyIdentifier();switch(bE){case C:case q:case r:if(this.__le[bE]){this.__le[bE]=false;this.__ln();};};},_onKeyPress:function(e){var bF=e.getKeyIdentifier();switch(bF){case g:this.clearSession();};}},destruct:function(){qx.event.Registration.removeListener(window,a,this._onWindowBlur,this);this.__lb=this.__la=this.__et=this.__dd=this.__lc=this.__ld=this.__le=this.__c=null;},defer:function(bG){qx.event.Registration.addHandler(bG);}});})();(function(){var a="qx.event.type.Drag",b="touch";qx.Class.define(a,{extend:qx.event.type.Event,members:{init:function(c,d){qx.event.type.Event.prototype.init.call(this,true,c);if(d){this._native=d.getNativeEvent()||null;this._originalTarget=d.getOriginalTarget()||null;}else {this._native=null;this._originalTarget=null;};return this;},clone:function(e){var f=qx.event.type.Event.prototype.clone.call(this,e);f._native=this._native;return f;},getDocumentLeft:function(){if(this._native==null){return 0;};var x=this._native.pageX;if(x!==undefined){if(x==0&&this._native.pointerType==b){x=this._native._original.changedTouches[0].pageX||0;};return Math.round(x);}else {var g=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(g);};},getDocumentTop:function(){if(this._native==null){return 0;};var y=this._native.pageY;if(y!==undefined){if(y==0&&this._native.pointerType==b){y=this._native._original.changedTouches[0].pageY||0;};return Math.round(y);}else {var h=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(h);};},getManager:function(){return qx.event.Registration.getManager(this.getTarget()).getHandler(qx.event.handler.DragDrop);},addType:function(i){this.getManager().addType(i);},addAction:function(j){this.getManager().addAction(j);},supportsType:function(k){return this.getManager().supportsType(k);},supportsAction:function(l){return this.getManager().supportsAction(l);},addData:function(m,n){this.getManager().addData(m,n);},getData:function(o){return this.getManager().getData(o);},getCurrentType:function(){return this.getManager().getCurrentType();},getCurrentAction:function(){if(this.getDefaultPrevented()){return null;};return this.getManager().getCurrentAction();},setDropAllowed:function(p){this.getManager().setDropAllowed(p);},getDragTarget:function(){return this.getManager().getDragTarget();},stopSession:function(){this.getManager().clearSession();}}});})();(function(){var a="qx.ui.core.MLayoutHandling";qx.Mixin.define(a,{members:{setLayout:function(b){this._setLayout(b);},getLayout:function(){return this._getLayout();}},statics:{remap:function(c){c.getLayout=c._getLayout;c.setLayout=c._setLayout;}}});})();(function(){var a="qx.ui.core.MChildrenHandling";qx.Mixin.define(a,{members:{getChildren:function(){return this._getChildren();},hasChildren:function(){return this._hasChildren();},indexOf:function(b){return this._indexOf(b);},add:function(d,c){this._add(d,c);},addAt:function(g,e,f){this._addAt(g,e,f);},addBefore:function(h,j,i){this._addBefore(h,j,i);},addAfter:function(m,k,l){this._addAfter(m,k,l);},remove:function(n){this._remove(n);},removeAt:function(o){return this._removeAt(o);},removeAll:function(){return this._removeAll();}},statics:{remap:function(p){p.getChildren=p._getChildren;p.hasChildren=p._hasChildren;p.indexOf=p._indexOf;p.add=p._add;p.addAt=p._addAt;p.addBefore=p._addBefore;p.addAfter=p._addAfter;p.remove=p._remove;p.removeAt=p._removeAt;p.removeAll=p._removeAll;}}});})();(function(){var a="qx.ui.container.Composite",b="addChildWidget",c="removeChildWidget",d="qx.event.type.Data";qx.Class.define(a,{extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MLayoutHandling],construct:function(e){qx.ui.core.Widget.call(this);if(e!=null){this._setLayout(e);};},events:{addChildWidget:d,removeChildWidget:d},members:{_afterAddChild:function(f){this.fireNonBubblingEvent(b,qx.event.type.Data,[f]);},_afterRemoveChild:function(g){this.fireNonBubblingEvent(c,qx.event.type.Data,[g]);}},defer:function(h,i){qx.ui.core.MChildrenHandling.remap(i);qx.ui.core.MLayoutHandling.remap(i);}});})();(function(){var a="qx.ui.popup.Popup",b="visible",c="excluded",d="popup",e="Boolean";qx.Class.define(a,{extend:qx.ui.container.Composite,include:qx.ui.core.MPlacement,construct:function(f){qx.ui.container.Composite.call(this,f);this.initVisibility();},properties:{appearance:{refine:true,init:d},visibility:{refine:true,init:c},autoHide:{check:e,init:true}},members:{show:function(){if(this.getLayoutParent()==null){qx.core.Init.getApplication().getRoot().add(this);};qx.ui.container.Composite.prototype.show.call(this);},_applyVisibility:function(i,h){qx.ui.container.Composite.prototype._applyVisibility.call(this,i,h);var g=qx.ui.popup.Manager.getInstance();i===b?g.add(this):g.remove(this);}},destruct:function(){if(!qx.ui.popup.Manager.getInstance().isDisposed()){qx.ui.popup.Manager.getInstance().remove(this);};}});})();(function(){var a="__lq",b="blur",c="pointerdown",d="singleton",f="qx.ui.popup.Manager";qx.Class.define(f,{type:d,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__lq=[];qx.event.Registration.addListener(document.documentElement,c,this.__ls,this,true);qx.bom.Element.addListener(window,b,this.hideAll,this);},members:{__lq:null,add:function(g){{};this.__lq.push(g);this.__lr();},remove:function(h){{};qx.lang.Array.remove(this.__lq,h);this.__lr();},hideAll:function(){var l=this.__lq.length,j={};while(l-- ){j=this.__lq[l];if(j.getAutoHide()){j.exclude();};};},__lr:function(){var k=1e7;for(var i=0;i0){F=D[i].getSizeHint();G[i]={min:F.minWidth,value:Q[i],max:F.maxWidth,flex:K};};};var B=P.computeFlexOffsets(G,N,E);for(i in B){y=B[i].offset;Q[i]+=y;E+=y;};};var V=D[0].getMarginLeft();if(E0){if(R){V+=C+L;this._renderSeparator(R,{left:V+M.left,top:M.top,width:U,height:H});V+=U+L+O.getMarginLeft();}else {V+=P.collapseMargins(L,C,O.getMarginLeft());};};O.renderLayout(V+M.left,top+M.top,J,z);V+=J;C=O.getMarginRight();};},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__lw();};var bl=qx.ui.layout.Util;var X=this.__gc;var bd=0,be=0,W=0;var bb=0,bc=0;var bi,Y,bk;for(var i=0,l=X.length;ibc){bc=Y.height+bk;};if((Y.minHeight+bk)>bb){bb=Y.minHeight+bk;};};bd+=W;var bg=this.getSpacing();var bj=this.getSeparator();if(bj){var bf=bl.computeHorizontalSeparatorGaps(X,bg,bj);}else {var bf=bl.computeHorizontalGaps(X,bg,true);};return {minWidth:bd+bf,width:be+bf,minHeight:bb,height:bc};}},destruct:function(){this.__lt=this.__lu=this.__gc=null;}});})();(function(){var a="middle",b="qx.ui.layout.Util",c="left",d="center",e="top",f="bottom",g="right";qx.Class.define(b,{statics:{PERCENT_VALUE:/[0-9]+(?:\.[0-9]+)?%/,computeFlexOffsets:function(j,n,h){var r,q,s,k;var m=n>h;var t=Math.abs(n-h);var u,o;var p={};for(q in j){r=j[q];p[q]={potential:m?r.max-r.value:r.value-r.min,flex:m?r.flex:1/r.flex,offset:0};};while(t!=0){k=Infinity;s=0;for(q in p){r=p[q];if(r.potential>0){s+=r.flex;k=Math.min(k,r.potential/r.flex);};};if(s==0){break;};k=Math.min(t,k*s)/s;u=0;for(q in p){r=p[q];if(r.potential>0){o=Math.min(t,r.potential,Math.ceil(k*r.flex));u+=o-k*r.flex;if(u>=1){u-=1;o-=1;};r.potential-=o;if(m){r.offset+=o;}else {r.offset-=o;};t-=o;};};};return p;},computeHorizontalAlignOffset:function(w,v,y,z,A){if(z==null){z=0;};if(A==null){A=0;};var x=0;switch(w){case c:x=z;break;case g:x=y-v-A;break;case d:x=Math.round((y-v)/2);if(x0){I=Math.max(I,J);};};return I+H;},computeHorizontalGaps:function(O,M,L){if(M==null){M=0;};var N=0;if(L){N+=O[0].getMarginLeft();for(var i=1,l=O.length;ibk||bo>bp){if(bn>bk&&bo>bp){bn=bk;bo=bp;}else if(bn>bk){bo+=(bn-bk);bn=bk;if(bo>bp){bo=bp;};}else if(bo>bp){bn+=(bo-bp);bo=bp;if(bn>bk){bn=bk;};};};return {begin:bn,end:bo};}}});})();(function(){var a="Boolean",b="changeGap",c="changeShow",d="bottom",e="bottom-right",f="_applyCenter",g="changeIcon",h="qx.ui.basic.Atom",i="changeLabel",j="both",k="Integer",l="_applyIconPosition",m="bottom-left",n="String",o="icon",p="top-left",q="top",r="top-right",s="right",t="_applyRich",u="_applyIcon",v="label",w="_applyShow",x="left",y="_applyLabel",z="_applyGap",A="atom";qx.Class.define(h,{extend:qx.ui.core.Widget,construct:function(B,C){{};qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.Atom());if(B!=null){this.setLabel(B);};if(C!==undefined){this.setIcon(C);};},properties:{appearance:{refine:true,init:A},label:{apply:y,nullable:true,check:n,event:i},rich:{check:a,init:false,apply:t},icon:{check:n,apply:u,nullable:true,themeable:true,event:g},gap:{check:k,nullable:false,event:b,apply:z,themeable:true,init:4},show:{init:j,check:[j,v,o],themeable:true,inheritable:true,apply:w,event:c},iconPosition:{init:x,check:[q,s,d,x,p,m,r,e],themeable:true,apply:l},center:{init:false,check:a,themeable:true,apply:f}},members:{_createChildControlImpl:function(F,E){var D;switch(F){case v:D=new qx.ui.basic.Label(this.getLabel());D.setAnonymous(true);D.setRich(this.getRich());this._add(D);if(this.getLabel()==null||this.getShow()===o){D.exclude();};break;case o:D=new qx.ui.basic.Image(this.getIcon());D.setAnonymous(true);this._addAt(D,0);if(this.getIcon()==null||this.getShow()===v){D.exclude();};break;};return D||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,F);},_forwardStates:{focused:true,hovered:true},_handleLabel:function(){if(this.getLabel()==null||this.getShow()===o){this._excludeChildControl(v);}else {this._showChildControl(v);};},_handleIcon:function(){if(this.getIcon()==null||this.getShow()===v){this._excludeChildControl(o);}else {this._showChildControl(o);};},_applyLabel:function(H,G){var I=this.getChildControl(v,true);if(I){I.setValue(H);};this._handleLabel();},_applyRich:function(K,J){var L=this.getChildControl(v,true);if(L){L.setRich(K);};},_applyIcon:function(N,M){var O=this.getChildControl(o,true);if(O){O.setSource(N);};this._handleIcon();},_applyGap:function(Q,P){this._getLayout().setGap(Q);},_applyShow:function(S,R){this._handleLabel();this._handleIcon();},_applyIconPosition:function(U,T){this._getLayout().setIconPosition(U);},_applyCenter:function(W,V){this._getLayout().setCenter(W);},_applySelectable:function(Y,X){qx.ui.core.Widget.prototype._applySelectable.call(this,Y,X);var ba=this.getChildControl(v,true);if(ba){this.getChildControl(v).setSelectable(Y);};}}});})();(function(){var a="middle",b="_applyLayoutChange",c="top-right",d="bottom",e="top-left",f="bottom-left",g="center",h="qx.ui.layout.Atom",j="bottom-right",k="top",l="left",m="right",n="Integer",o="Boolean";qx.Class.define(h,{extend:qx.ui.layout.Abstract,properties:{gap:{check:n,init:4,apply:b},iconPosition:{check:[l,k,m,d,e,f,c,j],init:l,apply:b},center:{check:o,init:false,apply:b}},members:{verifyLayoutProperty:null,renderLayout:function(E,y,D){var N=D.left;var top=D.top;var z=qx.ui.layout.Util;var q=this.getIconPosition();var t=this._getLayoutChildren();var length=t.length;var M,r;var G,x;var C=this.getGap();var J=this.getCenter();var L=[d,m,c,j];if(L.indexOf(q)!=-1){var A=length-1;var v=-1;var s=-1;}else {var A=0;var v=length;var s=1;};if(q==k||q==d){if(J){var F=0;for(var i=A;i!=v;i+=s){r=t[i].getSizeHint().height;if(r>0){F+=r;if(i!=A){F+=C;};};};top+=Math.round((y-F)/2);};var u=top;for(var i=A;i!=v;i+=s){G=t[i];x=G.getSizeHint();M=Math.min(x.maxWidth,Math.max(E,x.minWidth));r=x.height;N=z.computeHorizontalAlignOffset(g,M,E)+D.left;G.renderLayout(N,u,M,r);if(r>0){u=top+r+C;};};}else {var w=E;var p=null;var I=0;for(var i=A;i!=v;i+=s){G=t[i];M=G.getSizeHint().width;if(M>0){if(!p&&G instanceof qx.ui.basic.Label){p=G;}else {w-=M;};I++ ;};};if(I>1){var H=(I-1)*C;w-=H;};if(p){var x=p.getSizeHint();var B=Math.max(x.minWidth,Math.min(w,x.maxWidth));w-=B;};if(J&&w>0){N+=Math.round(w/2);};for(var i=A;i!=v;i+=s){G=t[i];x=G.getSizeHint();r=Math.min(x.maxHeight,Math.max(y,x.minHeight));if(G===p){M=B;}else {M=x.width;};var K=a;if(q==e||q==c){K=k;}else if(q==f||q==j){K=d;};var u=top+z.computeVerticalAlignOffset(K,x.height,y);G.renderLayout(N,u,M,r);if(M>0){N+=M+C;};};};},_computeSizeHint:function(){var Y=this._getLayoutChildren();var length=Y.length;var P,W;if(length===1){var P=Y[0].getSizeHint();W={width:P.width,height:P.height,minWidth:P.minWidth,minHeight:P.minHeight};}else {var U=0,V=0;var R=0,T=0;var S=this.getIconPosition();var Q=this.getGap();if(S===k||S===d){var O=0;for(var i=0;i0){T+=P.height;R+=P.minHeight;O++ ;};};if(O>1){var X=(O-1)*Q;T+=X;R+=X;};}else {var O=0;for(var i=0;i0){V+=P.width;U+=P.minWidth;O++ ;};};if(O>1){var X=(O-1)*Q;V+=X;U+=X;};};W={minWidth:U,width:V,minHeight:R,height:T};};return W;}}});})();(function(){var a="qx.event.type.Data",b="qx.ui.form.IStringForm";qx.Interface.define(b,{events:{"changeValue":a},members:{setValue:function(c){return arguments.length==1;},resetValue:function(){},getValue:function(){}}});})();(function(){var a="safari",b="os.name",c="_applyTextAlign",d="Boolean",f="qx.ui.core.Widget",g="nowrap",h="changeStatus",i="changeTextAlign",j="_applyWrap",k="changeValue",l="browser.name",m="color",n="qx.ui.basic.Label",o="osx",p="css.textoverflow",q="html.xul",r="_applyValue",s="center",t="_applyBuddy",u="enabled",v="String",w="toggleValue",x="whiteSpace",y="textAlign",z="function",A="browser.version",B="qx.dynlocale",C="engine.version",D="right",E="gecko",F="justify",G="changeRich",H="normal",I="_applyRich",J="engine.name",K="label",L="changeLocale",M="left",N="tap",O="A";qx.Class.define(n,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm],construct:function(P){qx.ui.core.Widget.call(this);if(P!=null){this.setValue(P);};if(qx.core.Environment.get(B)){qx.locale.Manager.getInstance().addListener(L,this._onChangeLocale,this);};},properties:{rich:{check:d,init:false,event:G,apply:I},wrap:{check:d,init:true,apply:j},value:{check:v,apply:r,event:k,nullable:true},buddy:{check:f,apply:t,nullable:true,init:null,dereference:true},textAlign:{check:[M,s,D,F],nullable:true,themeable:true,apply:c,event:i},appearance:{refine:true,init:K},selectable:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{__lx:null,__ly:null,__lz:null,__lA:null,_getContentHint:function(){if(this.__ly){this.__lB=this.__lC();delete this.__ly;};return {width:this.__lB.width,height:this.__lB.height};},_hasHeightForWidth:function(){return this.getRich()&&this.getWrap();},_applySelectable:function(Q){if(!qx.core.Environment.get(p)&&qx.core.Environment.get(q)){if(Q&&!this.isRich()){{};return;};};qx.ui.core.Widget.prototype._applySelectable.call(this,Q);},_getContentHeightForWidth:function(R){if(!this.getRich()&&!this.getWrap()){return null;};return this.__lC(R).height;},_createContentElement:function(){return new qx.html.Label;},_applyTextAlign:function(T,S){this.getContentElement().setStyle(y,T);},_applyTextColor:function(V,U){if(V){this.getContentElement().setStyle(m,qx.theme.manager.Color.getInstance().resolve(V));}else {this.getContentElement().removeStyle(m);};},__lB:{width:0,height:0},_applyFont:function(Y,X){if(X&&this.__lx&&this.__lA){this.__lx.removeListenerById(this.__lA);this.__lA=null;};var W;if(Y){this.__lx=qx.theme.manager.Font.getInstance().resolve(Y);if(this.__lx instanceof qx.bom.webfonts.WebFont){this.__lA=this.__lx.addListener(h,this._onWebFontStatusChange,this);};W=this.__lx.getStyles();}else {this.__lx=null;W=qx.bom.Font.getDefaultStyles();};if(this.getTextColor()!=null){delete W[m];};this.getContentElement().setStyles(W);this.__ly=true;qx.ui.core.queue.Layout.add(this);},__lC:function(bc){var bb=qx.bom.Label;var be=this.getFont();var ba=be?this.__lx.getStyles():qx.bom.Font.getDefaultStyles();var content=this.getValue()||O;var bd=this.getRich();if(this.__lA){this.__lD();};return bd?bb.getHtmlSize(content,ba,bc):bb.getTextSize(content,ba);},__lD:function(){if(!this.getContentElement()){return;};if(qx.core.Environment.get(b)==o&&qx.core.Environment.get(J)==E&&parseInt(qx.core.Environment.get(C),10)<16&&parseInt(qx.core.Environment.get(C),10)>9){var bf=this.getContentElement().getDomElement();if(bf){bf.innerHTML=bf.innerHTML;};};},_applyBuddy:function(bh,bg){if(bg!=null){this.removeRelatedBindings(bg);this.removeListenerById(this.__lz);this.__lz=null;};if(bh!=null){bh.bind(u,this,u);this.__lz=this.addListener(N,function(){if(bh.isFocusable()){bh.focus.apply(bh);};if(w in bh&&typeof bh.toggleValue===z){bh.toggleValue();};},this);};},_applyRich:function(bi){this.getContentElement().setRich(bi);this.__ly=true;qx.ui.core.queue.Layout.add(this);},_applyWrap:function(bl,bj){if(bl&&!this.isRich()){{};};if(this.isRich()){var bk=bl?H:g;this.getContentElement().setStyle(x,bk);};},_onChangeLocale:qx.core.Environment.select(B,{"true":function(e){var content=this.getValue();if(content&&content.translate){this.setValue(content.translate());};},"false":null}),_onWebFontStatusChange:function(bm){if(bm.getData().valid===true){if(qx.core.Environment.get(l)==a&&parseFloat(qx.core.Environment.get(A))>=8){window.setTimeout(function(){this.__ly=true;qx.ui.core.queue.Layout.add(this);}.bind(this),0);};this.__ly=true;qx.ui.core.queue.Layout.add(this);};},_applyValue:function(bo,bn){this.getContentElement().setValue(bo);this.__ly=true;qx.ui.core.queue.Layout.add(this);}},destruct:function(){if(qx.core.Environment.get(B)){qx.locale.Manager.getInstance().removeListener(L,this._onChangeLocale,this);};if(this.__lx&&this.__lA){this.__lx.removeListenerById(this.__lA);};this.__lx=null;}});})();(function(){var a="value",b="qx.html.Label",c="The label mode cannot be modified after initial creation",d='hidden';qx.Class.define(b,{extend:qx.html.Element,members:{__lE:null,_applyProperty:function(name,e){qx.html.Element.prototype._applyProperty.call(this,name,e);if(name==a){var f=this.getDomElement();qx.bom.Label.setValue(f,e);};},_createDomElement:function(){var h=this.__lE;var g=qx.bom.Label.create(this._content,h);g.style.overflow=d;return g;},_copyData:function(i){return qx.html.Element.prototype._copyData.call(this,true);},setRich:function(j){var k=this.getDomElement();if(k){throw new Error(c);};j=!!j;if(this.__lE==j){return this;};this.__lE=j;return this;},setValue:function(l){this._setProperty(a,l);return this;},getValue:function(){return this._getProperty(a);}}});})();(function(){var a="text",b="function",c="px",d="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",e="crop",f="nowrap",g="end",h="div",i="100%",j="auto",k="0",l="css.textoverflow",m="html.xul",n="value",o="visible",p="qx.bom.Label",q="",r="ellipsis",s="normal",t="inherit",u="block",v="label",w="-1000px",x="hidden",y="absolute";qx.Bootstrap.define(p,{statics:{__lF:{fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1},__lG:function(){var z=this.__lI(false);document.body.insertBefore(z,document.body.firstChild);return this._textElement=z;},__lH:function(){var A=this.__lI(true);document.body.insertBefore(A,document.body.firstChild);return this._htmlElement=A;},__lI:function(D){var B=qx.dom.Element.create(h);var C=B.style;C.width=C.height=j;C.left=C.top=w;C.visibility=x;C.position=y;C.overflow=o;C.display=u;if(D){C.whiteSpace=s;}else {C.whiteSpace=f;if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){var E=document.createElementNS(d,v);var C=E.style;C.padding=k;C.margin=k;C.width=j;for(var F in this.__lF){C[F]=t;};B.appendChild(E);};};return B;},__lJ:function(H){var G={};if(H){G.whiteSpace=s;}else if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){G.display=u;}else {G.overflow=x;G.whiteSpace=f;G[qx.core.Environment.get(l)]=r;};return G;},create:function(content,L,K){if(!K){K=window;};var I=K.document.createElement(h);if(L){I.useHtml=true;}else if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){var M=K.document.createElementNS(d,v);var J=M.style;J.cursor=t;J.color=t;J.overflow=x;J.maxWidth=i;J.padding=k;J.margin=k;J.width=j;for(var N in this.__lF){M.style[N]=t;};M.setAttribute(e,g);I.appendChild(M);}else {qx.bom.element.Style.setStyles(I,this.__lJ(L));};if(content){this.setValue(I,content);};return I;},__lK:null,setSanitizer:function(O){{};qx.bom.Label.__lK=O;},setValue:function(Q,P){P=P||q;if(Q.useHtml){if(qx.bom.Label.__lK&&typeof (qx.bom.Label.__lK)===b){P=qx.bom.Label.__lK(P);};Q.innerHTML=P;}else if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){Q.firstChild.setAttribute(n,P);}else {qx.bom.element.Attribute.set(Q,a,P);};},getValue:function(R){if(R.useHtml){return R.innerHTML;}else if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){return R.firstChild.getAttribute(n)||q;}else {return qx.bom.element.Attribute.get(R,a);};},getHtmlSize:function(content,S,T){var U=this._htmlElement||this.__lH();U.style.width=T!=undefined?T+c:j;U.innerHTML=content;return this.__lL(U,S);},getTextSize:function(W,V){var X=this._textElement||this.__lG();if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){X.firstChild.setAttribute(n,W);}else {qx.bom.element.Attribute.set(X,a,W);};return this.__lL(X,V);},__lL:function(bd,Y){var ba=this.__lF;if(!Y){Y={};};for(var bc in ba){bd.style[bc]=Y[bc]||q;};var bb=qx.bom.element.Dimension.getSize(bd);bb.width++ ;return bb;}}});})();(function(){var a="qx.ui.form.IForm",b="qx.event.type.Data";qx.Interface.define(a,{events:{"changeEnabled":b,"changeValid":b,"changeInvalidMessage":b,"changeRequired":b},members:{setEnabled:function(c){return arguments.length==1;},getEnabled:function(){},setRequired:function(d){return arguments.length==1;},getRequired:function(){},setValid:function(e){return arguments.length==1;},getValid:function(){},setInvalidMessage:function(f){return arguments.length==1;},getInvalidMessage:function(){},setRequiredInvalidMessage:function(g){return arguments.length==1;},getRequiredInvalidMessage:function(){}}});})();(function(){var a="qx.application.Standalone";qx.Class.define(a,{extend:qx.application.AbstractGui,members:{_createRootWidget:function(){return new qx.ui.root.Application(document);}}});})();(function(){var a="_applyActiveWindow",b="changeModal",c="windowAdded",d="__lM",f="changeVisibility",g="windowRemoved",h="qx.ui.window.Window",i="__et",j="changeActive",k="qx.ui.window.MDesktop",l="changeActiveWindow",m="qx.event.type.Data";qx.Mixin.define(k,{properties:{activeWindow:{check:h,apply:a,event:l,init:null,nullable:true}},events:{windowAdded:m,windowRemoved:m},members:{__lM:null,__et:null,getWindowManager:function(){if(!this.__et){this.setWindowManager(new qx.ui.window.Window.DEFAULT_MANAGER_CLASS());};return this.__et;},supportsMaximize:function(){return true;},setWindowManager:function(n){if(this.__et){this.__et.setDesktop(null);};n.setDesktop(this);this.__et=n;},_onChangeActive:function(e){if(e.getData()){this.setActiveWindow(e.getTarget());}else if(this.getActiveWindow()==e.getTarget()){this.setActiveWindow(null);};},_applyActiveWindow:function(p,o){this.getWindowManager().changeActiveWindow(p,o);this.getWindowManager().updateStack();},_onChangeModal:function(e){this.getWindowManager().updateStack();},_onChangeVisibility:function(){this.getWindowManager().updateStack();},_afterAddChild:function(q){if(qx.Class.isDefined(h)&&q instanceof qx.ui.window.Window){this._addWindow(q);};},_addWindow:function(r){if(!qx.lang.Array.contains(this.getWindows(),r)){this.getWindows().push(r);this.fireDataEvent(c,r);r.addListener(j,this._onChangeActive,this);r.addListener(b,this._onChangeModal,this);r.addListener(f,this._onChangeVisibility,this);};if(r.getActive()){this.setActiveWindow(r);};this.getWindowManager().updateStack();},_afterRemoveChild:function(s){if(qx.Class.isDefined(h)&&s instanceof qx.ui.window.Window){this._removeWindow(s);};},_removeWindow:function(t){if(qx.lang.Array.contains(this.getWindows(),t)){qx.lang.Array.remove(this.getWindows(),t);this.fireDataEvent(g,t);t.removeListener(j,this._onChangeActive,this);t.removeListener(b,this._onChangeModal,this);t.removeListener(f,this._onChangeVisibility,this);this.getWindowManager().updateStack();};},getWindows:function(){if(!this.__lM){this.__lM=[];};return this.__lM;}},destruct:function(){this._disposeArray(d);this._disposeObjects(i);}});})();(function(){var a="_applyBlockerColor",b="Number",c="qx.ui.core.MBlocker",d="_applyBlockerOpacity",e="Color",f="__lN";qx.Mixin.define(c,{properties:{blockerColor:{check:e,init:null,nullable:true,apply:a,themeable:true},blockerOpacity:{check:b,init:1,apply:d,themeable:true}},members:{__lN:null,_createBlocker:function(){return new qx.ui.core.Blocker(this);},_applyBlockerColor:function(h,g){this.getBlocker().setColor(h);},_applyBlockerOpacity:function(j,i){this.getBlocker().setOpacity(j);},block:function(){this.getBlocker().block();},isBlocked:function(){return this.__lN&&this.__lN.isBlocked();},unblock:function(){if(this.__lN){this.__lN.unblock();};},forceUnblock:function(){if(this.__lN){this.__lN.forceUnblock();};},blockContent:function(k){this.getBlocker().blockContent(k);},getBlocker:function(){if(!this.__lN){this.__lN=this._createBlocker();};return this.__lN;}},destruct:function(){this._disposeObjects(f);}});})();(function(){var a="qx.dyntheme",b="backgroundColor",c="_applyOpacity",d="Boolean",f="px",g="keydown",h="deactivate",j="changeTheme",k="opacity",l="Tab",m="qx.event.type.Event",n="move",o="Color",p="resize",q="zIndex",r="appear",s="qx.ui.root.Abstract",t="keyup",u="__dE",v="keypress",w="Number",x="unblocked",y="qx.ui.core.Blocker",z="disappear",A="blocked",B="__lN",C="_applyColor";qx.Class.define(y,{extend:qx.core.Object,events:{blocked:m,unblocked:m},construct:function(D){qx.core.Object.call(this);this._widget=D;D.addListener(p,this.__lS,this);D.addListener(n,this.__lS,this);D.addListener(z,this.__lU,this);if(qx.Class.isDefined(s)&&D instanceof qx.ui.root.Abstract){this._isRoot=true;this.setKeepBlockerActive(true);};if(qx.core.Environment.get(a)){qx.theme.manager.Meta.getInstance().addListener(j,this._onChangeTheme,this);};this.__lO=[];this.__lP=[];},properties:{color:{check:o,init:null,nullable:true,apply:C,themeable:true},opacity:{check:w,init:1,apply:c,themeable:true},keepBlockerActive:{check:d,init:false}},members:{__lN:null,__lQ:0,__lO:null,__lP:null,__dE:null,_widget:null,_isRoot:false,__lR:null,__lS:function(e){var E=e.getData();if(this.isBlocked()){this._updateBlockerBounds(E);};},__lT:function(){this._updateBlockerBounds(this._widget.getBounds());if(this._widget.isRootWidget()){this._widget.getContentElement().add(this.getBlockerElement());}else {this._widget.getLayoutParent().getContentElement().add(this.getBlockerElement());};},__lU:function(){if(this.isBlocked()){this.getBlockerElement().getParent().remove(this.getBlockerElement());this._widget.addListenerOnce(r,this.__lT,this);};},_updateBlockerBounds:function(F){this.getBlockerElement().setStyles({width:F.width+f,height:F.height+f,left:F.left+f,top:F.top+f});},_applyColor:function(I,H){var G=qx.theme.manager.Color.getInstance().resolve(I);this.__lV(b,G);},_applyOpacity:function(K,J){this.__lV(k,K);},_onChangeTheme:qx.core.Environment.select(a,{"true":function(){this._applyColor(this.getColor());},"false":null}),__lV:function(M,N){var L=[];this.__lN&&L.push(this.__lN);for(var i=0;i0){Q=this.__lP.pop();if(Q&&!Q.isDisposed()&&Q.isFocusable()){Q.focus();};};var R=this.__lO.length;if(R>0){Q=this.__lO.pop();if(Q&&!Q.isDisposed()){Q.activate();};};},__lW:function(){return new qx.html.Blocker(this.getColor(),this.getOpacity());},getBlockerElement:function(S){if(!this.__lN){this.__lN=this.__lW();this.__lN.setStyle(q,15);if(!S){if(this._isRoot){S=this._widget;}else {S=this._widget.getLayoutParent();};};S.getContentElement().add(this.__lN);this.__lN.exclude();};return this.__lN;},block:function(){this._block();},_block:function(T,V){if(!this._isRoot&&!this._widget.getLayoutParent()){this.__lR=this._widget.addListenerOnce(r,this._block.bind(this,T));return;};var parent;if(this._isRoot||V){parent=this._widget;}else {parent=this._widget.getLayoutParent();};var U=this.getBlockerElement(parent);if(T!=null){U.setStyle(q,T);};this.__lQ++ ;if(this.__lQ<2){this._backupActiveWidget();var W=this._widget.getBounds();if(W){this._updateBlockerBounds(W);};U.include();if(!V){U.activate();};U.addListener(h,this.__ma,this);U.addListener(v,this.__lY,this);U.addListener(g,this.__lY,this);U.addListener(t,this.__lY,this);this.fireEvent(A,qx.event.type.Event);};},isBlocked:function(){return this.__lQ>0;},unblock:function(){if(this.__lR){this._widget.removeListenerById(this.__lR);};if(!this.isBlocked()){return;};this.__lQ-- ;if(this.__lQ<1){this.__lX();this.__lQ=0;};},forceUnblock:function(){if(!this.isBlocked()){return;};this.__lQ=0;this.__lX();},__lX:function(){this._restoreActiveWidget();var X=this.getBlockerElement();X.removeListener(h,this.__ma,this);X.removeListener(v,this.__lY,this);X.removeListener(g,this.__lY,this);X.removeListener(t,this.__lY,this);X.exclude();this.fireEvent(x,qx.event.type.Event);},blockContent:function(Y){this._block(Y,true);},__lY:function(e){if(e.getKeyIdentifier()==l){e.stop();};},__ma:function(){if(this.getKeepBlockerActive()){this.getBlockerElement().activate();};}},destruct:function(){if(qx.core.Environment.get(a)){qx.theme.manager.Meta.getInstance().removeListener(j,this._onChangeTheme,this);};this._widget.removeListener(p,this.__lS,this);this._widget.removeListener(n,this.__lS,this);this._widget.removeListener(r,this.__lT,this);this._widget.removeListener(z,this.__lU,this);if(this.__lR){this._widget.removeListenerById(this.__lR);};this._disposeObjects(B,u);this.__lO=this.__lP=this._widget=null;}});})();(function(){var a="swipe",b="repeat",c="mousedown",d="url(",f="pointerover",g=")",h="longtap",i="mouseout",j="div",k="roll",l="cursor",m="dblclick",n="mousewheel",o="qx.html.Blocker",p="mousemove",q="dbltap",r="pointerup",s="mouseover",t="appear",u="click",v="pointerdown",w="mshtml",x="engine.name",y="mouseup",z="contextmenu",A="disappear",B="tap",C="pointermove",D="pointerout",E="qx/static/blank.gif",F="absolute";qx.Class.define(o,{extend:qx.html.Element,construct:function(I,G){var I=I?qx.theme.manager.Color.getInstance().resolve(I):null;var H={position:F,opacity:G||0,backgroundColor:I};if((qx.core.Environment.get(x)==w)){H.backgroundImage=d+qx.util.ResourceManager.getInstance().toUri(E)+g;H.backgroundRepeat=b;};qx.html.Element.call(this,j,H);this.addListener(c,this._stopPropagation,this);this.addListener(y,this._stopPropagation,this);this.addListener(u,this._stopPropagation,this);this.addListener(m,this._stopPropagation,this);this.addListener(p,this._stopPropagation,this);this.addListener(s,this._stopPropagation,this);this.addListener(i,this._stopPropagation,this);this.addListener(n,this._stopPropagation,this);this.addListener(k,this._stopPropagation,this);this.addListener(z,this._stopPropagation,this);this.addListener(v,this._stopPropagation,this);this.addListener(r,this._stopPropagation,this);this.addListener(C,this._stopPropagation,this);this.addListener(f,this._stopPropagation,this);this.addListener(D,this._stopPropagation,this);this.addListener(B,this._stopPropagation,this);this.addListener(q,this._stopPropagation,this);this.addListener(a,this._stopPropagation,this);this.addListener(h,this._stopPropagation,this);this.addListener(t,this.__mb,this);this.addListener(A,this.__mb,this);},members:{_stopPropagation:function(e){e.stopPropagation();},__mb:function(){var J=this.getStyle(l);this.setStyle(l,null,true);this.setStyle(l,J,true);}}});})();(function(){var a="changeGlobalCursor",b="engine.name",c="keypress",d="Boolean",f="root",g="help",h="",i="contextmenu",j=" !important",k="input",l="_applyGlobalCursor",m="Space",n="_applyNativeHelp",o=";",p="event.help",q="qx.ui.root.Abstract",r="abstract",s="textarea",t="String",u="*";qx.Class.define(q,{type:r,extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MBlocker,qx.ui.window.MDesktop],construct:function(){qx.ui.core.Widget.call(this);qx.ui.core.FocusHandler.getInstance().addRoot(this);qx.ui.core.queue.Visibility.add(this);this.initNativeHelp();this.addListener(c,this.__md,this);},properties:{appearance:{refine:true,init:f},enabled:{refine:true,init:true},focusable:{refine:true,init:true},globalCursor:{check:t,nullable:true,themeable:true,apply:l,event:a},nativeContextMenu:{refine:true,init:false},nativeHelp:{check:d,init:false,apply:n}},members:{__mc:null,isRootWidget:function(){return true;},getLayout:function(){return this._getLayout();},_applyGlobalCursor:qx.core.Environment.select(b,{"mshtml":function(w,v){},"default":function(A,z){var y=qx.bom.Stylesheet;var x=this.__mc;if(!x){this.__mc=x=y.createElement();};y.removeAllRules(x);if(A){y.addRule(x,u,qx.bom.element.Cursor.compile(A).replace(o,h)+j);};}}),_applyNativeContextMenu:function(C,B){if(C){this.removeListener(i,this._onNativeContextMenu,this,true);}else {this.addListener(i,this._onNativeContextMenu,this,true);};},_onNativeContextMenu:function(e){if(e.getTarget().getNativeContextMenu()){return;};e.preventDefault();},__md:function(e){if(e.getKeyIdentifier()!==m){return;};var E=e.getTarget();var D=qx.ui.core.FocusHandler.getInstance();if(!D.isFocused(E)){return;};var F=E.getContentElement().getNodeName();if(F===k||F===s){return;};e.preventDefault();},_applyNativeHelp:function(H,G){if(qx.core.Environment.get(p)){if(G===false){qx.bom.Event.removeNativeListener(document,g,(function(){return false;}));};if(H===false){qx.bom.Event.addNativeListener(document,g,(function(){return false;}));};};}},destruct:function(){this.__mc=null;},defer:function(I,J){qx.ui.core.MChildrenHandling.remap(J);}});})();(function(){var a="keypress",b="__me",c="focusout",d="activate",f="Tab",g="singleton",h="deactivate",j="focusin",k="qx.ui.core.FocusHandler";qx.Class.define(k,{extend:qx.core.Object,type:g,construct:function(){qx.core.Object.call(this);this.__me={};},members:{__me:null,__mf:null,__mg:null,__mh:null,connectTo:function(m){m.addListener(a,this.__hP,this);m.addListener(j,this._onFocusIn,this,true);m.addListener(c,this._onFocusOut,this,true);m.addListener(d,this._onActivate,this,true);m.addListener(h,this._onDeactivate,this,true);},addRoot:function(n){this.__me[n.$$hash]=n;},removeRoot:function(o){delete this.__me[o.$$hash];},getActiveWidget:function(){return this.__mf;},isActive:function(p){return this.__mf==p;},getFocusedWidget:function(){return this.__mg;},isFocused:function(q){return this.__mg==q;},isFocusRoot:function(r){return !!this.__me[r.$$hash];},_onActivate:function(e){var t=e.getTarget();this.__mf=t;var s=this.__mi(t);if(s!=this.__mh){this.__mh=s;};},_onDeactivate:function(e){var u=e.getTarget();if(this.__mf==u){this.__mf=null;};},_onFocusIn:function(e){var v=e.getTarget();if(v!=this.__mg){this.__mg=v;v.visualizeFocus();};},_onFocusOut:function(e){var w=e.getTarget();if(w==this.__mg){this.__mg=null;w.visualizeBlur();};},__hP:function(e){if(e.getKeyIdentifier()!=f){return;};if(!this.__mh){return;};e.stopPropagation();e.preventDefault();var x=this.__mg;if(!e.isShiftPressed()){var y=x?this.__mm(x):this.__mk();}else {var y=x?this.__mn(x):this.__ml();};if(y){y.tabFocus();};},__mi:function(z){var A=this.__me;while(z){if(A[z.$$hash]){return z;};z=z.getLayoutParent();};return null;},__mj:function(I,H){if(I===H){return 0;};var C=I.getTabIndex()||0;var B=H.getTabIndex()||0;if(C!=B){return C-B;};var J=I.getContentElement().getDomElement();var G=H.getContentElement().getDomElement();var F=qx.bom.element.Location;var E=F.get(J);var D=F.get(G);if(E.top!=D.top){return E.top-D.top;};if(E.left!=D.left){return E.left-D.left;};var K=I.getZIndex();var L=H.getZIndex();if(K!=L){return K-L;};return 0;},__mk:function(){return this.__mq(this.__mh,null);},__ml:function(){return this.__mr(this.__mh,null);},__mm:function(M){var N=this.__mh;if(N==M){return this.__mk();};while(M&&M.getAnonymous()){M=M.getLayoutParent();};if(M==null){return [];};var O=[];this.__mo(N,M,O);O.sort(this.__mj);var P=O.length;return P>0?O[0]:this.__mk();},__mn:function(Q){var R=this.__mh;if(R==Q){return this.__ml();};while(Q&&Q.getAnonymous()){Q=Q.getLayoutParent();};if(Q==null){return [];};var S=[];this.__mp(R,Q,S);S.sort(this.__mj);var T=S.length;return T>0?S[T-1]:this.__ml();},__mo:function(parent,U,V){var X=parent.getLayoutChildren();var W;for(var i=0,l=X.length;i0){ba.push(bb);};this.__mp(bb,Y,ba);};};},__mq:function(parent,bd){var bf=parent.getLayoutChildren();var be;for(var i=0,l=bf.length;i0){bg=bh;};};bg=this.__mr(bh,bg);};};return bg;}},destruct:function(){this._disposeMap(b);this.__mg=this.__mf=this.__mh=null;}});})();(function(){var a="touchmove",b="os.name",c="-webkit-overflow-scrolling",d="touch",f="paddingLeft",g="div",h="100%",i="The root widget does not support 'left', or 'top' paddings!",j="0px",k="The application could not be started due to a missing body tag in the HTML file!",l="ios",m="overflowY",n="resize",o="",p="$$widget",q="paddingTop",r="engine.name",s="none",t="webkit",u="-webkit-backface-visibility",v="touch-action",w="qx.ui.root.Application",x="hidden",y="tap",z="overflowX",A="absolute";qx.Class.define(w,{extend:qx.ui.root.Abstract,construct:function(B){this.__cz=qx.dom.Node.getWindow(B);this.__ms=B;qx.ui.root.Abstract.call(this);qx.event.Registration.addListener(this.__cz,n,this._onResize,this);this._setLayout(new qx.ui.layout.Canvas());qx.ui.core.queue.Layout.add(this);qx.ui.core.FocusHandler.getInstance().connectTo(this);this.getContentElement().disableScrolling();this.getContentElement().setStyle(u,x);this.addListener(a,this.__mt,this);if(qx.core.Environment.get(b)==l){this.getContentElement().addListener(y,function(e){var C=qx.ui.core.Widget.getWidgetByElement(e.getTarget());while(C&&!C.isFocusable()){C=C.getLayoutParent();};if(C&&C.isFocusable()){C.getContentElement().focus();};},this,true);};},members:{__cz:null,__ms:null,_createContentElement:function(){var D=this.__ms;if((qx.core.Environment.get(r)==t)){if(!D.body){alert(k);};};var H=D.documentElement.style;var E=D.body.style;H.overflow=E.overflow=x;H.padding=H.margin=E.padding=E.margin=j;H.width=H.height=E.width=E.height=h;var G=D.createElement(g);D.body.appendChild(G);var F=new qx.html.Root(G);F.setStyles({"position":A,"overflowX":x,"overflowY":x});F.setAttribute(p,this.toHashCode());return F;},_onResize:function(e){qx.ui.core.queue.Layout.add(this);if(qx.ui.popup&&qx.ui.popup.Manager){qx.ui.popup.Manager.getInstance().hideAll();};if(qx.ui.menu&&qx.ui.menu.Manager){qx.ui.menu.Manager.getInstance().hideAll();};},_computeSizeHint:function(){var I=qx.bom.Viewport.getWidth(this.__cz);var J=qx.bom.Viewport.getHeight(this.__cz);return {minWidth:I,width:I,maxWidth:I,minHeight:J,height:J,maxHeight:J};},_applyPadding:function(L,K,name){if(L&&(name==q||name==f)){throw new Error(i);};qx.ui.root.Abstract.prototype._applyPadding.call(this,L,K,name);},__mt:function(e){var M=e.getOriginalTarget();while(M&&M.style){var Q=qx.bom.element.Style.get(M,v)!==s&&qx.bom.element.Style.get(M,v)!==o;var P=qx.bom.element.Style.get(M,c)===d;var O=qx.bom.element.Style.get(M,z)!=x;var N=qx.bom.element.Style.get(M,m)!=x;if(Q||P||N||O){return;};M=M.parentNode;};e.preventDefault();}},destruct:function(){this.__cz=this.__ms=null;}});})();(function(){var a="qx.ui.layout.Canvas",b="number",c="Boolean";qx.Class.define(a,{extend:qx.ui.layout.Abstract,properties:{desktop:{check:c,init:false}},members:{verifyLayoutProperty:null,renderLayout:function(g,j,m){var s=this._getLayoutChildren();var d,u,r;var f,top,e,h,n,k;var q,p,t,o;for(var i=0,l=s.length;iu.maxWidth){n=u.maxWidth;};f+=o;}else {n=r.width;if(n==null){n=u.width;}else {n=Math.round(parseFloat(n)*g/100);if(nu.maxWidth){n=u.maxWidth;};};if(e!=null){f=g-n-e-p-o;}else if(f==null){f=o;}else {f+=o;};};if(top!=null&&h!=null){k=j-top-h-q-t;if(ku.maxHeight){k=u.maxHeight;};top+=q;}else {k=r.height;if(k==null){k=u.height;}else {k=Math.round(parseFloat(k)*j/100);if(ku.maxHeight){k=u.maxHeight;};};if(h!=null){top=j-k-h-t-q;}else if(top==null){top=q;}else {top+=q;};};f+=m.left;top+=m.top;d.renderLayout(f,top,n,k);};},_computeSizeHint:function(){var M=0,y=0;var J=0,I=0;var H,v;var E,C;var L=this._getLayoutChildren();var w,B,z;var K=this.isDesktop();var A,top,x,D;for(var i=0,l=L.length;iE.maxHeight){G=E.maxHeight;};if(F&this.RESIZE_TOP){top+=H.height-G;};};if((F&this.RESIZE_LEFT)||(F&this.RESIZE_RIGHT)){K=Math.max(I.left,Math.min(I.right,e.getDocumentLeft()))-this.__mx;if(F&this.RESIZE_LEFT){J-=K;}else {J+=K;};if(JE.maxWidth){J=E.maxWidth;};if(F&this.RESIZE_LEFT){L+=H.width-J;};};return {viewportLeft:L,viewportTop:top,parentLeft:H.bounds.left+L-H.left,parentTop:H.bounds.top+top-H.top,width:J,height:G};},__mD:{'1':f,'2':x,'4':b,'8':k,'5':q,'6':d,'9':h,'10':i},__mE:function(e){var location=this.getContentLocation();var O=this.getResizeSensitivity();var N=e.getDocumentLeft();var P=e.getDocumentTop();var M=this.__mF(location,N,P,O);if(M>0){M=M|this.__mF(location,N,P,O*2);};this.__mw=M;},__mF:function(location,T,R,S){var Q=0;if(this.getResizableTop()&&Math.abs(location.top-R)location.left-S&&Tlocation.left-S&&Tlocation.top-S&&Rlocation.top-S&&R=(K?J:I)){this.getChildControl(n).setVisibility(o);this.getChildControl(D).setVisibility(o);}else {this.getChildControl(n).setVisibility(k);this.getChildControl(D).setVisibility(k);};return L;},_createChildControlImpl:function(P,O){var N;switch(P){case a:N=new qx.ui.core.scroll.ScrollSlider();N.setPageStep(100);N.setFocusable(false);N.addListener(d,this._onChangeSliderValue,this);N.addListener(b,this._onSlideAnimationEnd,this);this._add(N,{flex:1});break;case n:N=new qx.ui.form.RepeatButton();N.setFocusable(false);N.addListener(g,this._onExecuteBegin,this);this._add(N);break;case D:N=new qx.ui.form.RepeatButton();N.setFocusable(false);N.addListener(g,this._onExecuteEnd,this);this._add(N);break;};return N||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,P);},_applyMaximum:function(Q){this.getChildControl(a).setMaximum(Q);},_applyPosition:function(R){this.getChildControl(a).setValue(R);},_applyKnobFactor:function(S){this.getChildControl(a).setKnobFactor(S);},_applyPageStep:function(T){this.getChildControl(a).setPageStep(T);},_applyOrientation:function(W,U){var V=this._getLayout();if(V){V.dispose();};if(W===x){this._setLayout(new qx.ui.layout.HBox());this.setAllowStretchX(true);this.setAllowStretchY(false);this.replaceState(r,x);this.getChildControl(n).replaceState(y,C);this.getChildControl(D).replaceState(E,v);}else {this._setLayout(new qx.ui.layout.VBox());this.setAllowStretchX(false);this.setAllowStretchY(true);this.replaceState(x,r);this.getChildControl(n).replaceState(C,y);this.getChildControl(D).replaceState(v,E);};this.getChildControl(a).setOrientation(W);},scrollTo:function(Y,X){this.getChildControl(a).slideTo(Y,X);},scrollBy:function(bb,ba){this.getChildControl(a).slideBy(bb,ba);},scrollBySteps:function(bd,bc){var be=this.getSingleStep();this.getChildControl(a).slideBy(bd*be,bc);},updatePosition:function(bf){this.getChildControl(a).updatePosition(bf);},stopScrollAnimation:function(){this.getChildControl(a).stopSlideAnimation();},_onExecuteBegin:function(e){this.scrollBy(-this.getSingleStep(),50);},_onExecuteEnd:function(e){this.scrollBy(this.getSingleStep(),50);},_onSlideAnimationEnd:function(){this.fireEvent(t);},_onChangeSliderValue:function(e){this.setPosition(e.getData());},_onResizeSlider:function(e){var bg=this.getChildControl(a).getChildControl(m);var bj=bg.getSizeHint();var bh=false;var bi=this.getChildControl(a).getInnerSize();if(this.getOrientation()==r){if(bi.height0){E=D[i].getSizeHint();F[i]={min:E.minHeight,value:I[i],max:E.maxHeight,flex:L};};};var B=N.computeFlexOffsets(F,G,P);for(i in B){y=B[i].offset;I[i]+=y;P+=y;};};var top=D[0].getMarginTop();if(P0){if(T){top+=x+M;this._renderSeparator(T,{top:top+R.top,left:R.left,height:Q,width:O});top+=Q+M+S.getMarginTop();}else {top+=N.collapseMargins(M,x,S.getMarginTop());};};S.renderLayout(V+R.left,top+R.top,J,z);top+=z;x=S.getMarginBottom();};},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__lw();};var W=qx.ui.layout.Util;var bl=this.__gc;var ba=0,bb=0,bj=0;var bc=0,bd=0;var bh,X,bk;for(var i=0,l=bl.length;ibd){bd=X.width+bk;};if((X.minWidth+bk)>bc){bc=X.minWidth+bk;};};ba+=bj;var bf=this.getSpacing();var bi=this.getSeparator();if(bi){var be=W.computeVerticalSeparatorGaps(bl,bf,bi);}else {var be=W.computeVerticalGaps(bl,bf,true);};return {minHeight:ba+be,height:bb+be,minWidth:bc,width:bd};}},destruct:function(){this.__mN=this.__lu=this.__gc=null;}});})();(function(){var a="qx.ui.form.IExecutable",b="qx.event.type.Data";qx.Interface.define(a,{events:{"execute":b},members:{setCommand:function(c){return arguments.length==1;},getCommand:function(){},execute:function(){}}});})();(function(){var a="toolTipText",b="icon",c="label",d="qx.ui.core.MExecutable",f="enabled",g="value",h="qx.event.type.Event",j="execute",k="_applyCommand",l="qx.ui.command.Command",m="menu",n="changeCommand";qx.Mixin.define(d,{events:{"execute":h},properties:{command:{check:l,apply:k,event:n,nullable:true}},members:{__mO:null,__mP:false,__mQ:null,_bindableProperties:[f,c,b,a,g,m],execute:function(){var o=this.getCommand();if(o){if(this.__mP){this.__mP=false;}else {this.__mP=true;o.execute(this);};};this.fireEvent(j);},__mR:function(e){if(this.__mP){this.__mP=false;return;};if(this.isEnabled()){this.__mP=true;this.execute();};},_applyCommand:function(r,p){if(p!=null){p.removeListenerById(this.__mQ);};if(r!=null){this.__mQ=r.addListener(j,this.__mR,this);};var q=this.__mO;if(q==null){this.__mO=q={};};var u;for(var i=0;i0?1:br<0?-1:0;this.slideBy(bp*this.getSingleStep());e.stop();},_onKeyPress:function(e){var bt=this.getOrientation()===N;var bs=bt?l:t;var forward=bt?D:m;switch(e.getKeyIdentifier()){case forward:this.slideForward();break;case bs:this.slideBack();break;case q:this.slidePageForward(100);break;case g:this.slidePageBack(100);break;case H:this.slideToBegin(200);break;case v:this.slideToEnd(200);break;default:return;};e.stop();},_onPointerDown:function(e){if(this.__nb){return;};var bw=this.__nl;var bu=this.getChildControl(P);var bv=bw?G:L;var bA=bw?e.getDocumentLeft():e.getDocumentTop();var bC=this.getDecorator();bC=qx.theme.manager.Decoration.getInstance().resolve(bC);if(bw){var bz=bC?bC.getInsets().left:0;var by=(this.getPaddingLeft()||0)+bz;}else {var bz=bC?bC.getInsets().top:0;var by=(this.getPaddingTop()||0)+bz;};var bB=this.__mX=qx.bom.element.Location.get(this.getContentElement().getDomElement())[bv];bB+=by;var bx=this.__mY=qx.bom.element.Location.get(bu.getContentElement().getDomElement())[bv];if(e.getTarget()===bu){this.__nb=true;if(!this.__ng){this.__ng=new qx.event.Timer(100);this.__ng.addListener(r,this._fireValue,this);};this.__ng.start();this.__nc=bA+bB-bx;bu.addState(c);}else {this.__nd=true;this.__ne=bA<=bx?-1:1;this.__nm(e);this._onInterval();if(!this.__dE){this.__dE=new qx.event.Timer(100);this.__dE.addListener(r,this._onInterval,this);};this.__dE.start();};this.addListener(w,this._onPointerMove);this.capture();e.stopPropagation();},_onPointerUp:function(e){if(this.__nb){this.releaseCapture();delete this.__nb;this.__ng.stop();this._fireValue();delete this.__nc;this.getChildControl(P).removeState(c);if(e.getType()===B){var bE;var bF;var bD;if(this.__nl){bE=e.getDocumentLeft()-(this._valueToPosition(this.getValue())+this.__mX);bD=qx.bom.element.Location.get(this.getContentElement().getDomElement())[L];bF=e.getDocumentTop()-(bD+this.getChildControl(P).getBounds().top);}else {bE=e.getDocumentTop()-(this._valueToPosition(this.getValue())+this.__mX);bD=qx.bom.element.Location.get(this.getContentElement().getDomElement())[G];bF=e.getDocumentLeft()-(bD+this.getChildControl(P).getBounds().left);};if(bF<0||bF>this.__na||bE<0||bE>this.__na){this.getChildControl(P).removeState(b);};};}else if(this.__nd){this.__dE.stop();this.releaseCapture();delete this.__nd;delete this.__ne;delete this.__nf;};this.removeListener(w,this._onPointerMove);if(e.getType()===B){e.stopPropagation();};},_onPointerMove:function(e){if(this.__nb){var bH=this.__nl?e.getDocumentLeft():e.getDocumentTop();var bG=bH-this.__nc;this.slideTo(this._positionToValue(bG));}else if(this.__nd){this.__nm(e);};e.stopPropagation();},_onInterval:function(e){var bI=this.getValue()+(this.__ne*this.getPageStep());if(bIthis.getMaximum()){bI=this.getMaximum();};var bJ=this.__ne==-1;if((bJ&&bI<=this.__nf)||(!bJ&&bI>=this.__nf)){bI=this.__nf;};this.slideTo(bI);},_onUpdate:function(e){var bL=this.getInnerSize();var bM=this.getChildControl(P).getBounds();var bK=this.__nl?E:x;this._updateKnobSize();this.__nk=bL[bK]-bM[bK];this.__na=bM[bK];this._updateKnobPosition();},__nl:false,__nk:0,__nm:function(e){var bN=this.__nl;var bU=bN?e.getDocumentLeft():e.getDocumentTop();var bX=this.__mX;var bO=this.__mY;var bY=this.__na;var bV=bU-bX;if(bU>=bO){bV-=bY;};var bR=this._positionToValue(bV);var bP=this.getMinimum();var bQ=this.getMaximum();if(bRbQ){bR=bQ;}else {var bW=this.getValue();var bT=this.getPageStep();var bS=this.__ne<0?I:Q;bR=bW+(Math[bS]((bR-bW)/bT)*bT);};if(this.__nf==null||(this.__ne==-1&&bR<=this.__nf)||(this.__ne==1&&bR>=this.__nf)){this.__nf=bR;};},_positionToValue:function(cb){var ca=this.__nk;if(ca==null||ca==0){return 0;};var cd=cb/ca;if(cd<0){cd=0;}else if(cd>1){cd=1;};var cc=this.getMaximum()-this.getMinimum();return this.getMinimum()+Math.round(cc*cd);},_valueToPosition:function(ch){var ce=this.__nk;if(ce==null){return 0;};var cf=this.getMaximum()-this.getMinimum();if(cf==0){return 0;};var ch=ch-this.getMinimum();var cg=ch/cf;if(cg<0){cg=0;}else if(cg>1){cg=1;};return Math.round(ce*cg);},_updateKnobPosition:function(){this._setKnobPosition(this._valueToPosition(this.getValue()));},_setKnobPosition:function(ck){var ci=this.getChildControl(P);var cj=this.getDecorator();cj=qx.theme.manager.Decoration.getInstance().resolve(cj);var content=ci.getContentElement();if(this.__nl){if(cj&&cj.getPadding()){ck+=cj.getPadding().left;};ck+=this.getPaddingLeft()||0;content.setStyle(G,ck+d,true);}else {if(cj&&cj.getPadding()){ck+=cj.getPadding().top;};ck+=this.getPaddingTop()||0;content.setStyle(L,ck+d,true);};},_updateKnobSize:function(){var cm=this.getKnobFactor();if(cm==null){return;};var cl=this.getInnerSize();if(cl==null){return;};if(this.__nl){this.getChildControl(P).setWidth(Math.round(cm*cl.width));}else {this.getChildControl(P).setHeight(Math.round(cm*cl.height));};},slideToBegin:function(cn){this.slideTo(this.getMinimum(),cn);},slideToEnd:function(co){this.slideTo(this.getMaximum(),co);},slideForward:function(){this.slideBy(this.getSingleStep());},slideBack:function(){this.slideBy(-this.getSingleStep());},slidePageForward:function(cp){this.slideBy(this.getPageStep(),cp);},slidePageBack:function(cq){this.slideBy(-this.getPageStep(),cq);},slideBy:function(cs,cr){this.slideTo(this.getValue()+cs,cr);},slideTo:function(cu,ct){this.stopSlideAnimation();if(ct){this.__no(cu,ct);}else {this.updatePosition(cu);};},updatePosition:function(cv){this.setValue(this.__nn(cv));},stopSlideAnimation:function(){if(this.__nj){this.__nj.cancelSequence();this.__nj=null;};},__nn:function(cw){if(cwthis.getMaximum()){cw=this.getMaximum();}else {cw=this.getMinimum()+Math.round((cw-this.getMinimum())/this.getSingleStep())*this.getSingleStep();};return cw;},__no:function(cy,cx){cy=this.__nn(cy);var cz=this.getValue();this.__nj=new qx.bom.AnimationFrame();this.__nj.on(i,function(cA){this.setValue(parseInt(cA/cx*(cy-cz)+cz));},this);this.__nj.on(j,function(){this.setValue(cy);this.__nj=null;this.fireEvent(O);},this);this.__nj.startSequence(cx);},_applyOrientation:function(cD,cC){var cB=this.getChildControl(P);this.__nl=cD===N;if(this.__nl){this.removeState(C);cB.removeState(C);this.addState(N);cB.addState(N);cB.setLayoutProperties({top:0,right:null,bottom:0});}else {this.removeState(N);cB.removeState(N);this.addState(C);cB.addState(C);cB.setLayoutProperties({right:0,bottom:null,left:0});};this._updateKnobPosition();},_applyKnobFactor:function(cF,cE){if(cF!=null){this._updateKnobSize();}else {if(this.__nl){this.getChildControl(P).resetWidth();}else {this.getChildControl(P).resetHeight();};};},_applyValue:function(cH,cG){if(cH!=null){this._updateKnobPosition();if(this.__nb){this.__ni=[cH,cG];}else {this.fireEvent(h,qx.event.type.Data,[cH,cG]);};}else {this.resetValue();};},_fireValue:function(){if(!this.__ni){return;};var cI=this.__ni;this.__ni=null;this.fireEvent(h,qx.event.type.Data,cI);},_applyMinimum:function(cK,cJ){if(this.getValue()cM){this.setValue(cM);};this._updateKnobPosition();}}});})();(function(){var a="dblclick",b="qx.ui.core.scroll.ScrollSlider",c="horizontal",d="keypress",f="roll",g="knob";qx.Class.define(b,{extend:qx.ui.form.Slider,construct:function(h){qx.ui.form.Slider.call(this,h);this.removeListener(d,this._onKeyPress);this.removeListener(f,this._onRoll);},members:{_createChildControlImpl:function(k,j){var i;switch(k){case g:i=qx.ui.form.Slider.prototype._createChildControlImpl.call(this,k);i.addListener(a,function(e){e.stopPropagation();});};return i||qx.ui.form.Slider.prototype._createChildControlImpl.call(this,k);},getSizeHint:function(l){var m=qx.ui.form.Slider.prototype.getSizeHint.call(this);if(this.getOrientation()===c){m.width=0;}else {m.height=0;};return m;}}});})();(function(){var a="qx.ui.core.scroll.NativeScrollBar",b="px",c="PositiveNumber",d="frame",f="end",g="box-sizing",h="Integer",i="track",j="browser.name",k="hidden",l="content-box",m="pointerup",n="vertical",o="_applyOrientation",p="scrollAnimationEnd",q="appear",r="pointerdown",s="__np",t="PositiveInteger",u='qx.event.type.Event',v="mshtml",w="engine.name",x="horizontal",y="Number",z="edge",A="_applyPosition",B="scrollbar",C="_applyMaximum",D="pointermove",E="native",F="scroll";qx.Class.define(a,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(G){qx.ui.core.Widget.call(this);this.addState(E);this.getContentElement().addListener(F,this._onScroll,this);this.addListener(r,this._stopPropagation,this);this.addListener(m,this._stopPropagation,this);this.addListener(D,this._stopPropagation,this);this.addListener(q,this._onAppear,this);this.getContentElement().add(this._getScrollPaneElement());this.getContentElement().setStyle(g,l);if(G!=null){this.setOrientation(G);}else {this.initOrientation();};this.addListener(i,function(e){e.stopPropagation();},this);},events:{scrollAnimationEnd:u},properties:{appearance:{refine:true,init:B},orientation:{check:[x,n],init:x,apply:o},maximum:{check:t,apply:C,init:100},position:{check:y,init:0,apply:A,event:F},singleStep:{check:h,init:20},knobFactor:{check:c,nullable:true}},members:{__nl:null,__np:null,__kb:null,__nj:null,_getScrollPaneElement:function(){if(!this.__np){this.__np=new qx.html.Element();};return this.__np;},renderLayout:function(I,top,H,K){var J=qx.ui.core.Widget.prototype.renderLayout.call(this,I,top,H,K);this._updateScrollBar();return J;},_getContentHint:function(){var L=qx.bom.element.Scroll.getScrollbarWidth();return {width:this.__nl?100:L,maxWidth:this.__nl?null:L,minWidth:this.__nl?null:L,height:this.__nl?L:100,maxHeight:this.__nl?L:null,minHeight:this.__nl?L:null};},_applyEnabled:function(N,M){qx.ui.core.Widget.prototype._applyEnabled.call(this,N,M);this._updateScrollBar();},_applyMaximum:function(O){this._updateScrollBar();},_applyPosition:function(P){var content=this.getContentElement();if(this.__nl){content.scrollToX(P);}else {content.scrollToY(P);};},_applyOrientation:function(S,Q){var R=this.__nl=S===x;this.set({allowGrowX:R,allowShrinkX:R,allowGrowY:!R,allowShrinkY:!R});if(R){this.replaceState(n,x);}else {this.replaceState(x,n);};this.getContentElement().setStyles({overflowX:R?F:k,overflowY:R?k:F});qx.ui.core.queue.Layout.add(this);},_updateScrollBar:function(){var U=this.__nl;var V=this.getBounds();if(!V){return;};if(this.isEnabled()){var W=U?V.width:V.height;var T=this.getMaximum()+W;}else {T=0;};if(qx.core.Environment.get(w)==v||qx.core.Environment.get(j)==z){var V=this.getBounds();this.getContentElement().setStyles({left:(U?V.left:(V.left-1))+b,top:(U?(V.top-1):V.top)+b,width:(U?V.width:V.width+1)+b,height:(U?V.height+1:V.height)+b});};this._getScrollPaneElement().setStyles({left:0,top:0,width:(U?T:1)+b,height:(U?1:T)+b});this.updatePosition(this.getPosition());},scrollTo:function(Y,X){this.stopScrollAnimation();if(X){var ba=this.getPosition();this.__nj=new qx.bom.AnimationFrame();this.__nj.on(d,function(bc){var bb=parseInt(bc/X*(Y-ba)+ba);this.updatePosition(bb);},this);this.__nj.on(f,function(){this.setPosition(Math.max(0,Math.min(this.getMaximum(),Y)));this.__nj=null;this.fireEvent(p);},this);this.__nj.startSequence(X);}else {this.updatePosition(Y);};},updatePosition:function(bd){this.setPosition(Math.max(0,Math.min(this.getMaximum(),bd)));},scrollBy:function(bf,be){this.scrollTo(this.getPosition()+bf,be);},scrollBySteps:function(bh,bg){var bi=this.getSingleStep();this.scrollBy(bh*bi,bg);},stopScrollAnimation:function(){if(this.__nj){this.__nj.cancelSequence();this.__nj=null;};},_onScroll:function(e){var bj=this.getContentElement();var bk=this.__nl?bj.getScrollX():bj.getScrollY();this.setPosition(bk);},_onAppear:function(e){this._applyPosition(this.getPosition());},_stopPropagation:function(e){e.stopPropagation();}},destruct:function(){this._disposeObjects(s);}});})();(function(){var a="mouse",b="scrollbar-y",c="qx.ui.core.scroll.MRoll",d="pointerdown",f="scrollbar-x",g="roll";qx.Mixin.define(c,{members:{__nq:null,_addRollHandling:function(){this.addListener(g,this._onRoll,this);this.addListener(d,this._onPointerDownForRoll,this);},_removeRollHandling:function(){this.removeListener(g,this._onRoll,this);this.removeListener(d,this._onPointerDownForRoll,this);},_onPointerDownForRoll:function(e){this.__nq=e.getPointerId();},_onRoll:function(e){if(e.getPointerType()==a){return;};if(this.__nq&&e.getMomentum()){qx.event.Registration.getManager(e.getOriginalTarget()).getHandler(qx.event.handler.Gesture).gestureCancel(this.__nq);e.stopMomentum();this.__nq=null;return;};this.__nq=null;var k=this._isChildControlVisible(f);var l=this._isChildControlVisible(b);var q=l?this.getChildControl(b,true):null;var p=k?this.getChildControl(f,true):null;var m=e.getDelta().y;var h=e.getDelta().x;var j=!l;var o=!k;if(q){if(m!==0){q.scrollBy(parseInt(m,10));};var n=q.getPosition();var i=q.getMaximum();if(m<0&&n<=0||m>0&&n>=i){j=true;};};if(p){if(h!==0){p.scrollBy(parseInt(h,10));};var n=p.getPosition();var i=p.getMaximum();if(h<0&&n<=0||h>0&&n>=i){o=true;};};if(o&&j){e.stopMomentum();};if((!j&&h===0)||(!o&&m===0)||((!o||!j)&&h!==0&&m!==0)){e.stop();};}}});})();(function(){var a="x",b="Float",c="qx.ui.core.MDragDropScrolling",d="",f="). Must be: 'left', 'right', 'top' or 'bottom'",g="bottom",h="interval",i="dragend",j="scrollbar-",k="drag",l="Invalid edge type given (",m="top",n="left",o="right",p="Integer",q="y";qx.Mixin.define(c,{construct:function(){var r=this;if(this instanceof qx.ui.core.DragDropScrolling){r=this._getWidget();};r.addListener(k,this.__nu,this);r.addListener(i,this.__nv,this);this.__nr=[n,o];this.__ns=[m,g];},properties:{dragScrollThresholdX:{check:p,init:30},dragScrollThresholdY:{check:p,init:30},dragScrollSlowDownFactor:{check:b,init:0.1}},members:{__nt:null,__nr:null,__ns:null,_findScrollableParent:function(s){var t=s;if(t===null){return null;};while(t.getLayoutParent()){t=t.getLayoutParent();if(this._isScrollable(t)){return t;};};return null;},_isScrollable:function(u){return qx.Class.hasMixin(u.constructor,qx.ui.core.scroll.MScrollBarFactory);},_getBounds:function(v){var w=v.getContentLocation();if(v.getScrollAreaContainer){w=v.getScrollAreaContainer().getContentLocation();};return w;},_getEdgeType:function(y,z,x){if((y.left*-1)<=z&&y.left<0){return n;}else if((y.top*-1)<=x&&y.top<0){return m;}else if(y.right<=z&&y.right>0){return o;}else if(y.bottom<=x&&y.bottom>0){return g;}else {return null;};},_getAxis:function(A){if(this.__nr.indexOf(A)!==-1){return a;}else if(this.__ns.indexOf(A)!==-1){return q;}else {throw new Error(l+A+f);};},_getThresholdByEdgeType:function(B){if(this.__nr.indexOf(B)!==-1){return this.getDragScrollThresholdX();}else if(this.__ns.indexOf(B)!==-1){return this.getDragScrollThresholdY();};},_isScrollbarVisible:function(C,D){if(C&&C._isChildControlVisible){return C._isChildControlVisible(j+D);}else {return false;};},_isScrollbarExceedingMaxPos:function(F,H,E){var G=0;if(!F){return true;};G=F.getPosition()+E;return (G>F.getMaximum()||G<0);},_calculateThresholdExceedance:function(J,I){var K=I-Math.abs(J);return J<0?(K*-1):K;},_calculateScrollAmount:function(L,M){return Math.floor(((L/100)*M)*this.getDragScrollSlowDownFactor());},_scrollBy:function(N,T,Q){var S=N.getChildControl(j+T,true);if(!S){return;};var P=S.getBounds(),O=T===a?P.width:P.height,R=this._calculateScrollAmount(O,Q);if(this._isScrollbarExceedingMaxPos(S,T,R)){this.__nt.stop();};S.scrollBy(R);},__nu:function(e){if(this.__nt){this.__nt.stop();};var W=e.getOriginalTarget();if(!W){return;};var U;if(this._isScrollable(W)){U=W;}else {U=this._findScrollableParent(W);};while(U){var Y=this._getBounds(U),V=e.getDocumentLeft(),ba=e.getDocumentTop(),bc={"left":Y.left-V,"right":Y.right-V,"top":Y.top-ba,"bottom":Y.bottom-ba},X=null,bd=d,bb=0;X=this._getEdgeType(bc,this.getDragScrollThresholdX(),this.getDragScrollThresholdY());if(!X){U=this._findScrollableParent(U);continue;};bd=this._getAxis(X);if(this._isScrollbarVisible(U,bd)){bb=this._calculateThresholdExceedance(bc[X],this._getThresholdByEdgeType(X));if(this.__nt){this.__nt.dispose();};this.__nt=new qx.event.Timer(50);this.__nt.addListener(h,function(be,bg,bf){this._scrollBy(be,bg,bf);}.bind(this,U,bd,bb));this.__nt.start();e.stopPropagation();return;}else {U=this._findScrollableParent(U);};};},__nv:function(e){if(this.__nt){this.__nt.stop();};}},destruct:function(){if(this.__nt){this.__nt.dispose();};}});})();(function(){var a="qx.ui.core.DragDropScrolling";qx.Class.define(a,{extend:qx.core.Object,include:[qx.ui.core.MDragDropScrolling],construct:function(b){qx.core.Object.call(this);this._widget=b;},members:{_widget:null,_getWidget:function(){return this._widget||qx.core.Init.getApplication().getRoot();}}});})();(function(){var a="scrollY",b="_computeScrollbars",c="X",d="scrollbar-y",f="scrollAnimation",g="scrollbarX",h="auto",i="End",j="corner",k="os.scrollBarOverlayed",l="scrollarea",m="changeVisibility",n="vertical",o="scrollX",p="scrollAnimationEnd",q="off",r="horizontal",s="scrollbar-x",t="Y",u='qx.event.type.Event',v="qx.ui.core.scroll.AbstractScrollArea",w="abstract",x="update",y="scrollbarY",z="pane",A="on",B="scroll";qx.Class.define(v,{extend:qx.ui.core.Widget,include:[qx.ui.core.scroll.MScrollBarFactory,qx.ui.core.scroll.MRoll,qx.ui.core.MDragDropScrolling],type:w,statics:{DEFAULT_SCROLLBAR_WIDTH:14},construct:function(){qx.ui.core.Widget.call(this);if(qx.core.Environment.get(k)){this._setLayout(new qx.ui.layout.Canvas());}else {var C=new qx.ui.layout.Grid();C.setColumnFlex(0,1);C.setRowFlex(0,1);this._setLayout(C);};this._addRollHandling();},events:{scrollAnimationXEnd:u,scrollAnimationYEnd:u},properties:{appearance:{refine:true,init:l},width:{refine:true,init:100},height:{refine:true,init:200},scrollbarX:{check:[h,A,q],init:h,themeable:true,apply:b},scrollbarY:{check:[h,A,q],init:h,themeable:true,apply:b},scrollbar:{group:[g,y]}},members:{_createChildControlImpl:function(F,E){var D;switch(F){case z:D=new qx.ui.core.scroll.ScrollPane();D.addListener(x,this._computeScrollbars,this);D.addListener(o,this._onScrollPaneX,this);D.addListener(a,this._onScrollPaneY,this);if(qx.core.Environment.get(k)){this._add(D,{edge:0});}else {this._add(D,{row:0,column:0});};break;case s:D=this._createScrollBar(r);D.setMinWidth(0);D.exclude();D.addListener(B,this._onScrollBarX,this);D.addListener(m,this._onChangeScrollbarXVisibility,this);D.addListener(p,this._onScrollAnimationEnd.bind(this,c));if(qx.core.Environment.get(k)){D.setMinHeight(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(D,{bottom:0,right:0,left:0});}else {this._add(D,{row:1,column:0});};break;case d:D=this._createScrollBar(n);D.setMinHeight(0);D.exclude();D.addListener(B,this._onScrollBarY,this);D.addListener(m,this._onChangeScrollbarYVisibility,this);D.addListener(p,this._onScrollAnimationEnd.bind(this,t));if(qx.core.Environment.get(k)){D.setMinWidth(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(D,{right:0,bottom:0,top:0});}else {this._add(D,{row:0,column:1});};break;case j:D=new qx.ui.core.Widget();D.setWidth(0);D.setHeight(0);D.exclude();if(!qx.core.Environment.get(k)){this._add(D,{row:1,column:1});};break;};return D||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,F);},getPaneSize:function(){return this.getChildControl(z).getInnerSize();},getItemTop:function(G){return this.getChildControl(z).getItemTop(G);},getItemBottom:function(H){return this.getChildControl(z).getItemBottom(H);},getItemLeft:function(I){return this.getChildControl(z).getItemLeft(I);},getItemRight:function(J){return this.getChildControl(z).getItemRight(J);},scrollToX:function(L,K){qx.ui.core.queue.Manager.flush();this.getChildControl(s).scrollTo(L,K);},scrollByX:function(N,M){qx.ui.core.queue.Manager.flush();this.getChildControl(s).scrollBy(N,M);},getScrollX:function(){var O=this.getChildControl(s,true);return O?O.getPosition():0;},scrollToY:function(Q,P){qx.ui.core.queue.Manager.flush();this.getChildControl(d).scrollTo(Q,P);},scrollByY:function(S,R){qx.ui.core.queue.Manager.flush();this.getChildControl(d).scrollBy(S,R);},getScrollY:function(){var T=this.getChildControl(d,true);return T?T.getPosition():0;},stopScrollAnimationX:function(){var U=this.getChildControl(s,true);if(U){U.stopScrollAnimation();};},stopScrollAnimationY:function(){var V=this.getChildControl(d,true);if(V){V.stopScrollAnimation();};},_onScrollAnimationEnd:function(W){this.fireEvent(f+W+i);},_onScrollBarX:function(e){this.getChildControl(z).scrollToX(e.getData());},_onScrollBarY:function(e){this.getChildControl(z).scrollToY(e.getData());},_onScrollPaneX:function(e){var X=this.getChildControl(s);if(X){X.updatePosition(e.getData());};},_onScrollPaneY:function(e){var Y=this.getChildControl(d);if(Y){Y.updatePosition(e.getData());};},_onChangeScrollbarXVisibility:function(e){var ba=this._isChildControlVisible(s);var bb=this._isChildControlVisible(d);if(!ba){this.scrollToX(0);};ba&&bb?this._showChildControl(j):this._excludeChildControl(j);},_onChangeScrollbarYVisibility:function(e){var bc=this._isChildControlVisible(s);var bd=this._isChildControlVisible(d);if(!bd){this.scrollToY(0);};bc&&bd?this._showChildControl(j):this._excludeChildControl(j);},_computeScrollbars:function(){var bk=this.getChildControl(z);var content=bk.getChildren()[0];if(!content){this._excludeChildControl(s);this._excludeChildControl(d);return;};var be=this.getInnerSize();var bj=bk.getInnerSize();var bh=bk.getScrollSize();if(!bj||!bh){return;};var bl=this.getScrollbarX();var bm=this.getScrollbarY();if(bl===h&&bm===h){var bi=bh.width>be.width;var bn=bh.height>be.height;if((bi||bn)&&!(bi&&bn)){if(bi){bn=bh.height>bj.height;}else if(bn){bi=bh.width>bj.width;};};}else {var bi=bl===A;var bn=bm===A;if(bh.width>(bi?bj.width:be.width)&&bl===h){bi=true;};if(bh.height>(bi?bj.height:be.height)&&bm===h){bn=true;};};if(bi){var bg=this.getChildControl(s);bg.show();bg.setMaximum(Math.max(0,bh.width-bj.width));bg.setKnobFactor((bh.width===0)?0:bj.width/bh.width);}else {this._excludeChildControl(s);};if(bn){var bf=this.getChildControl(d);bf.show();bf.setMaximum(Math.max(0,bh.height-bj.height));bf.setKnobFactor((bh.height===0)?0:bj.height/bh.height);}else {this._excludeChildControl(d);};}}});})();(function(){var a="' must be defined!",b="height",c="hAlign",d="vAlign",e="Integer",f="'",g="_applyLayoutChange",h="qx.ui.layout.Grid",m="maxHeight",n="Cannot add widget '",o="width",p=") for '",q="'!. ",r="top",s="minHeight",t="' in this cell (",u=", ",v="The layout properties 'row' and 'column' of the child widget '",w="minWidth",z="flex",A="left",B="maxWidth",C="There is already a widget '";qx.Class.define(h,{extend:qx.ui.layout.Abstract,construct:function(E,D){qx.ui.layout.Abstract.call(this);this.__nw=[];this.__nx=[];if(E){this.setSpacingX(E);};if(D){this.setSpacingY(D);};},properties:{spacingX:{check:e,init:0,apply:g},spacingY:{check:e,init:0,apply:g}},members:{__ny:null,__nw:null,__nx:null,__nz:null,__nA:null,__nB:null,__nC:null,__nD:null,__nE:null,verifyLayoutProperty:null,__nF:function(){var L=[];var G=[];var J=[];var I=-1;var F=-1;var K=this._getLayoutChildren();for(var i=0,l=K.length;i1){J.push(M);};if(N.colSpan>1){G.push(M);};};for(var y=0;y<=I;y++ ){if(L[y]==undefined){L[y]=[];};};this.__ny=L;this.__nz=G;this.__nA=J;this.__nB=I;this.__nC=F;this.__nD=null;this.__nE=null;delete this._invalidChildrenCache;},_setRowData:function(S,Q,R){var P=this.__nw[S];if(!P){this.__nw[S]={};this.__nw[S][Q]=R;}else {P[Q]=R;};},_setColumnData:function(T,V,W){var U=this.__nx[T];if(!U){this.__nx[T]={};this.__nx[T][V]=W;}else {U[V]=W;};},setSpacing:function(X){this.setSpacingY(X);this.setSpacingX(X);return this;},setColumnAlign:function(Y,ba,bb){{};this._setColumnData(Y,c,ba);this._setColumnData(Y,d,bb);this._applyLayoutChange();return this;},getColumnAlign:function(bc){var bd=this.__nx[bc]||{};return {vAlign:bd.vAlign||r,hAlign:bd.hAlign||A};},setRowAlign:function(bf,be,bg){{};this._setRowData(bf,c,be);this._setRowData(bf,d,bg);this._applyLayoutChange();return this;},getRowAlign:function(bi){var bh=this.__nw[bi]||{};return {vAlign:bh.vAlign||r,hAlign:bh.hAlign||A};},getCellWidget:function(bk,bj){if(this._invalidChildrenCache){this.__nF();};var bk=this.__ny[bk]||{};return bk[bj]||null;},getRowCount:function(){if(this._invalidChildrenCache){this.__nF();};return this.__nB+1;},getColumnCount:function(){if(this._invalidChildrenCache){this.__nF();};return this.__nC+1;},getCellAlign:function(bs,bm){var br=r;var bp=A;var bq=this.__nw[bs];var bn=this.__nx[bm];var bl=this.__ny[bs][bm];if(bl){var bo={vAlign:bl.getAlignY(),hAlign:bl.getAlignX()};}else {bo={};};if(bo.vAlign){br=bo.vAlign;}else if(bq&&bq.vAlign){br=bq.vAlign;}else if(bn&&bn.vAlign){br=bn.vAlign;};if(bo.hAlign){bp=bo.hAlign;}else if(bn&&bn.hAlign){bp=bn.hAlign;}else if(bq&&bq.hAlign){bp=bq.hAlign;};return {vAlign:br,hAlign:bp};},setColumnFlex:function(bt,bu){this._setColumnData(bt,z,bu);this._applyLayoutChange();return this;},getColumnFlex:function(bv){var bw=this.__nx[bv]||{};return bw.flex!==undefined?bw.flex:0;},setRowFlex:function(by,bx){this._setRowData(by,z,bx);this._applyLayoutChange();return this;},getRowFlex:function(bB){var bz=this.__nw[bB]||{};var bA=bz.flex!==undefined?bz.flex:0;return bA;},setColumnMaxWidth:function(bC,bD){this._setColumnData(bC,B,bD);this._applyLayoutChange();return this;},getColumnMaxWidth:function(bE){var bF=this.__nx[bE]||{};return bF.maxWidth!==undefined?bF.maxWidth:Infinity;},setColumnWidth:function(bG,bH){this._setColumnData(bG,o,bH);this._applyLayoutChange();return this;},getColumnWidth:function(bI){var bJ=this.__nx[bI]||{};return bJ.width!==undefined?bJ.width:null;},setColumnMinWidth:function(bK,bL){this._setColumnData(bK,w,bL);this._applyLayoutChange();return this;},getColumnMinWidth:function(bM){var bN=this.__nx[bM]||{};return bN.minWidth||0;},setRowMaxHeight:function(bP,bO){this._setRowData(bP,m,bO);this._applyLayoutChange();return this;},getRowMaxHeight:function(bR){var bQ=this.__nw[bR]||{};return bQ.maxHeight||Infinity;},setRowHeight:function(bS,bT){this._setRowData(bS,b,bT);this._applyLayoutChange();return this;},getRowHeight:function(bV){var bU=this.__nw[bV]||{};return bU.height!==undefined?bU.height:null;},setRowMinHeight:function(bX,bW){this._setRowData(bX,s,bW);this._applyLayoutChange();return this;},getRowMinHeight:function(ca){var bY=this.__nw[ca]||{};return bY.minHeight||0;},__nG:function(cc){var cb=cc.getSizeHint();var ce=cc.getMarginLeft()+cc.getMarginRight();var cd=cc.getMarginTop()+cc.getMarginBottom();var cf={height:cb.height+cd,width:cb.width+ce,minHeight:cb.minHeight+cd,minWidth:cb.minWidth+ce,maxHeight:cb.maxHeight+cd,maxWidth:cb.maxWidth+ce};return cf;},_fixHeightsRowSpan:function(cA){var cm=this.getSpacingY();for(var i=0,l=this.__nA.length;i0){cj[cn]={min:cw.minHeight,value:cw.height,max:cw.maxHeight,flex:cy};};cx+=cw.height;cg+=cw.minHeight;};if(cx0){cI[cJ]={min:cM.minWidth,value:cM.width,max:cM.maxWidth,flex:cL};};cN+=cM.width;cG+=cM.minWidth;};if(cN1){continue;};var cW=this.__nG(cP);if(this.getRowFlex(da)>0){cS=Math.max(cS,cW.minHeight);}else {cS=Math.max(cS,cW.height);};cU=Math.max(cU,cW.height);};var cS=Math.max(cS,this.getRowMinHeight(da));var cT=this.getRowMaxHeight(da);if(this.getRowHeight(da)!==null){var cU=this.getRowHeight(da);}else {var cU=Math.max(cS,Math.min(cU,cT));};cY[da]={minHeight:cS,height:cU,maxHeight:cT};};if(this.__nA.length>0){this._fixHeightsRowSpan(cY);};this.__nD=cY;return cY;},_getColWidths:function(){if(this.__nE!=null){return this.__nE;};var df=[];var dc=this.__nC;var de=this.__nB;for(var dk=0;dk<=dc;dk++ ){var di=0;var dh=0;var dd=Infinity;for(var dl=0;dl<=de;dl++ ){var db=this.__ny[dl][dk];if(!db){continue;};var dg=db.getLayoutProperties().colSpan||0;if(dg>1){continue;};var dj=this.__nG(db);if(this.getColumnFlex(dk)>0){dh=Math.max(dh,dj.minWidth);}else {dh=Math.max(dh,dj.width);};di=Math.max(di,dj.width);};dh=Math.max(dh,this.getColumnMinWidth(dk));dd=this.getColumnMaxWidth(dk);if(this.getColumnWidth(dk)!==null){var di=this.getColumnWidth(dk);}else {var di=Math.max(dh,Math.min(di,dd));};df[dk]={minWidth:dh,width:di,maxWidth:dd};};if(this.__nz.length>0){this._fixWidthsColSpan(df);};this.__nE=df;return df;},_getColumnFlexOffsets:function(dq){var dm=this.getSizeHint();var ds=dq-dm.width;if(ds==0){return {};};var dp=this._getColWidths();var dn={};for(var i=0,l=dp.length;i0)||(dt.width==dt.minWidth&&ds<0)){continue;};dn[i]={min:dt.minWidth,value:dt.width,max:dt.maxWidth,flex:dr};};return qx.ui.layout.Util.computeFlexOffsets(dn,dq,dm.width);},_getRowFlexOffsets:function(dw){var du=this.getSizeHint();var dy=dw-du.height;if(dy==0){return {};};var dx=this._getRowHeights();var dv={};for(var i=0,l=dx.length;i0)||(dA.height==dA.minHeight&&dy<0)){continue;};dv[i]={min:dA.minHeight,value:dA.height,max:dA.maxHeight,flex:dz};};return qx.ui.layout.Util.computeFlexOffsets(dv,dw,du.height);},renderLayout:function(dV,dB,dU){if(this._invalidChildrenCache){this.__nF();};var dP=qx.ui.layout.Util;var dD=this.getSpacingX();var dJ=this.getSpacingY();var dT=this._getColWidths();var dW=this._getColumnFlexOffsets(dV);var dE=[];var dY=this.__nC;var dC=this.__nB;var dX;for(var ea=0;ea<=dY;ea++ ){dX=dW[ea]?dW[ea].offset:0;dE[ea]=dT[ea].width+dX;};var dM=this._getRowHeights();var dO=this._getRowFlexOffsets(dB);var eg=[];for(var dK=0;dK<=dC;dK++ ){dX=dO[dK]?dO[dK].offset:0;eg[dK]=dM[dK].height+dX;};var ee=0;for(var ea=0;ea<=dY;ea++ ){var top=0;for(var dK=0;dK<=dC;dK++ ){var dR=this.__ny[dK][ea];if(!dR){top+=eg[dK]+dJ;continue;};var dF=dR.getLayoutProperties();if(dF.row!==dK||dF.column!==ea){top+=eg[dK]+dJ;continue;};var ef=dD*(dF.colSpan-1);for(var i=0;i0){ei+=ep.minWidth;}else {ei+=ep.width;};eq+=ep.width;};var er=this._getRowHeights();var el=0,em=0;for(var i=0,l=er.length;i0){el+=es.minHeight;}else {el+=es.height;};em+=es.height;};var eo=this.getSpacingX()*(ek.length-1);var en=this.getSpacingY()*(er.length-1);var ej={minWidth:ei+eo,width:eq+eo,minHeight:el+en,height:em+en};return ej;}},destruct:function(){this.__ny=this.__nw=this.__nx=this.__nz=this.__nA=this.__nE=this.__nD=null;}});})();(function(){var a="resize",b="scrollY",c="scrollAnimationEnd",d="update",f="scrollX",g="_applyScrollX",h="_applyScrollY",i="frame",j="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxX()",k="appear",l="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxY()",m="qx.event.type.Event",n="qx.ui.core.scroll.ScrollPane",o="end",p="scroll";qx.Class.define(n,{extend:qx.ui.core.Widget,construct:function(){qx.ui.core.Widget.call(this);this.set({minWidth:0,minHeight:0});this._setLayout(new qx.ui.layout.Grow());this.addListener(a,this._onUpdate);var q=this.getContentElement();q.addListener(p,this._onScroll,this);q.addListener(k,this._onAppear,this);},events:{update:m,scrollAnimationEnd:m},properties:{scrollX:{check:j,apply:g,event:f,init:0},scrollY:{check:l,apply:h,event:b,init:0}},members:{__nH:null,add:function(r){var s=this._getChildren()[0];if(s){this._remove(s);s.removeListener(a,this._onUpdate,this);};if(r){this._add(r);r.addListener(a,this._onUpdate,this);};},remove:function(t){if(t){this._remove(t);t.removeListener(a,this._onUpdate,this);};},getChildren:function(){return this._getChildren();},_onUpdate:function(e){this.fireEvent(d);},_onScroll:function(e){var u=this.getContentElement();this.setScrollX(u.getScrollX());this.setScrollY(u.getScrollY());},_onAppear:function(e){var z=this.getContentElement();var v=this.getScrollX();var A=z.getScrollX();if(v!=A){z.scrollToX(v);};var w=this.getScrollY();var B=z.getScrollY();if(w!=B){z.scrollToY(w);};},getItemTop:function(C){var top=0;do {top+=C.getBounds().top;C=C.getLayoutParent();}while(C&&C!==this);return top;},getItemBottom:function(D){return this.getItemTop(D)+D.getBounds().height;},getItemLeft:function(E){var F=0;var parent;do {F+=E.getBounds().left;parent=E.getLayoutParent();if(parent){F+=parent.getInsets().left;};E=parent;}while(E&&E!==this);return F;},getItemRight:function(G){return this.getItemLeft(G)+G.getBounds().width;},getScrollSize:function(){return this.getChildren()[0].getBounds();},getScrollMaxX:function(){var I=this.getInnerSize();var H=this.getScrollSize();if(I&&H){return Math.max(0,H.width-I.width);};return 0;},getScrollMaxY:function(){var K=this.getInnerSize();var J=this.getScrollSize();if(K&&J){return Math.max(0,J.height-K.height);};return 0;},scrollToX:function(O,L){var M=this.getScrollMaxX();if(O<0){O=0;}else if(O>M){O=M;};this.stopScrollAnimation();if(L){var N=this.getScrollX();this.__nH=new qx.bom.AnimationFrame();this.__nH.on(o,function(){this.setScrollX(O);this.__nH=null;this.fireEvent(c);},this);this.__nH.on(i,function(Q){var P=parseInt(Q/L*(O-N)+N);this.setScrollX(P);},this);this.__nH.startSequence(L);}else {this.setScrollX(O);};},scrollToY:function(U,R){var S=this.getScrollMaxY();if(U<0){U=0;}else if(U>S){U=S;};this.stopScrollAnimation();if(R){var T=this.getScrollY();this.__nH=new qx.bom.AnimationFrame();this.__nH.on(o,function(){this.setScrollY(U);this.__nH=null;this.fireEvent(c);},this);this.__nH.on(i,function(W){var V=parseInt(W/R*(U-T)+T);this.setScrollY(V);},this);this.__nH.startSequence(R);}else {this.setScrollY(U);};},scrollByX:function(x,X){this.scrollToX(this.getScrollX()+x,X);},scrollByY:function(y,Y){this.scrollToY(this.getScrollY()+y,Y);},stopScrollAnimation:function(){if(this.__nH){this.__nH.cancelSequence();this.__nH=null;};},_applyScrollX:function(ba){this.getContentElement().scrollToX(ba);},_applyScrollY:function(bb){this.getContentElement().scrollToY(bb);}}});})();(function(){var a="qx.ui.layout.Grow";qx.Class.define(a,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(b,c,e){var h=this._getLayoutChildren();var g,j,f,d;for(var i=0,l=h.length;ij.maxWidth){f=j.maxWidth;};d=c;if(dj.maxHeight){d=j.maxHeight;};g.renderLayout(e.left,e.top,f,d);};},_computeSizeHint:function(){var r=this._getLayoutChildren();var p,t;var s=0,q=0;var o=0,m=0;var k=Infinity,n=Infinity;for(var i=0,l=r.length;i7){return true;};if(qx.core.Environment.get(l)==g){return true;};if(qx.core.Environment.get(b)==f){var r=qx.core.Environment.get(a);var q=r.split(k);if(q[0]>4||(q.length>1&&q[0]>3&&q[1]>3)){return true;};};if(qx.core.Environment.get(e)){return true;};return false;}},defer:function(s){qx.core.Environment.add(h,s.scrollBarOverlayed);qx.core.Environment.add(c,s.getNativeScroll);}});})();(function(){var a="resetPaddingRight",b="setPaddingTop",c="_applyContentPadding",d="setPaddingBottom",e="resetThemed",f="contentPaddingRight",g="Integer",h="contentPaddingLeft",i="setThemedPaddingLeft",j="resetPaddingTop",k="shorthand",l="setThemedPaddingRight",m="setThemed",n="setPaddingRight",o="contentPaddingBottom",p="resetPaddingBottom",q="qx.ui.core.MContentPadding",r="resetPaddingLeft",s="setThemedPaddingTop",t="setPaddingLeft",u="setThemedPaddingBottom",v="contentPaddingTop";qx.Mixin.define(q,{properties:{contentPaddingTop:{check:g,init:0,apply:c,themeable:true},contentPaddingRight:{check:g,init:0,apply:c,themeable:true},contentPaddingBottom:{check:g,init:0,apply:c,themeable:true},contentPaddingLeft:{check:g,init:0,apply:c,themeable:true},contentPadding:{group:[v,f,o,h],mode:k,themeable:true}},members:{__nI:{contentPaddingTop:b,contentPaddingRight:n,contentPaddingBottom:d,contentPaddingLeft:t},__nJ:{contentPaddingTop:s,contentPaddingRight:l,contentPaddingBottom:u,contentPaddingLeft:i},__nK:{contentPaddingTop:j,contentPaddingRight:a,contentPaddingBottom:p,contentPaddingLeft:r},_applyContentPadding:function(z,w,name,y){var A=this._getContentPaddingTarget();if(z==null){var x=this.__nK[name];A[x]();}else {if(y==m||y==e){var B=this.__nJ[name];A[B](z);}else {var B=this.__nI[name];A[B](z);};};}}});})();(function(){var a="qx.ui.container.Scroll",b="pane";qx.Class.define(a,{extend:qx.ui.core.scroll.AbstractScrollArea,include:[qx.ui.core.MContentPadding],construct:function(content){qx.ui.core.scroll.AbstractScrollArea.call(this);if(content){this.add(content);};},members:{add:function(c){this.getChildControl(b).add(c);},remove:function(d){this.getChildControl(b).remove(d);},getChildren:function(){return this.getChildControl(b).getChildren();},_getContentPaddingTarget:function(){return this.getChildControl(b);}}});})();(function(){var a="qx.ui.core.MRemoteLayoutHandling";qx.Mixin.define(a,{members:{setLayout:function(b){this.getChildrenContainer().setLayout(b);},getLayout:function(){return this.getChildrenContainer().getLayout();}}});})();(function(){var a="indexOf",b="addAfter",c="add",d="addBefore",e="_",f="addAt",g="hasChildren",h="removeAt",i="removeAll",j="getChildren",k="remove",l="qx.ui.core.MRemoteChildrenHandling";qx.Mixin.define(l,{members:{__nL:function(q,m,o,n){var p=this.getChildrenContainer();if(p===this){q=e+q;};return (p[q])(m,o,n);},getChildren:function(){return this.__nL(j);},hasChildren:function(){return this.__nL(g);},add:function(s,r){return this.__nL(c,s,r);},remove:function(t){return this.__nL(k,t);},removeAll:function(){return this.__nL(i);},indexOf:function(u){return this.__nL(a,u);},addAt:function(x,v,w){this.__nL(f,x,v,w);},addBefore:function(y,A,z){this.__nL(d,y,A,z);},addAfter:function(D,B,C){this.__nL(b,D,B,C);},removeAt:function(E){return this.__nL(h,E);}}});})();(function(){var a="qx.ui.container.SlideBar",b="scrollY",c="button-backward",d="horizontal",f="update",g="scrollX",h="_applyOrientation",i="button-forward",j="scrollAnimationEnd",k="content",l="mouse",m="qx.event.type.Event",n="scrollpane",o="vertical",p="Integer",q="slidebar",r="roll",s="execute";qx.Class.define(a,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling],construct:function(t){qx.ui.core.Widget.call(this);var u=this.getChildControl(n);this._add(u,{flex:1});if(t!=null){this.setOrientation(t);}else {this.initOrientation();};this.addListener(r,this._onRoll,this);},properties:{appearance:{refine:true,init:q},orientation:{check:[d,o],init:d,apply:h},scrollStep:{check:p,init:15,themeable:true}},events:{scrollAnimationEnd:m},members:{getChildrenContainer:function(){return this.getChildControl(k);},_createChildControlImpl:function(x,w){var v;switch(x){case i:v=new qx.ui.form.RepeatButton;v.addListener(s,this._onExecuteForward,this);v.setFocusable(false);this._addAt(v,2);break;case c:v=new qx.ui.form.RepeatButton;v.addListener(s,this._onExecuteBackward,this);v.setFocusable(false);this._addAt(v,0);break;case k:v=new qx.ui.container.Composite();this.getChildControl(n).add(v);break;case n:v=new qx.ui.core.scroll.ScrollPane();v.addListener(f,this._onResize,this);v.addListener(g,this._onScroll,this);v.addListener(b,this._onScroll,this);v.addListener(j,this._onScrollAnimationEnd,this);break;};return v||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,x);},_forwardStates:{barLeft:true,barTop:true,barRight:true,barBottom:true},scrollBy:function(A,y){var z=this.getChildControl(n);if(this.getOrientation()===d){z.scrollByX(A,y);}else {z.scrollByY(A,y);};},scrollTo:function(C,B){var D=this.getChildControl(n);if(this.getOrientation()===d){D.scrollToX(C,B);}else {D.scrollToY(C,B);};},_applyEnabled:function(F,E,name){qx.ui.core.Widget.prototype._applyEnabled.call(this,F,E,name);this._updateArrowsEnabled();},_applyOrientation:function(J,H){var I=[this.getLayout(),this._getLayout()];var K=this.getChildControl(i);var G=this.getChildControl(c);if(H==o&&J==d){K.removeState(o);G.removeState(o);K.addState(d);G.addState(d);}else if(H==d&&J==o){K.removeState(d);G.removeState(d);K.addState(o);G.addState(o);};if(J==d){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(I[0]){I[0].dispose();};if(I[1]){I[1].dispose();};},_onRoll:function(e){if(e.getPointerType()==l){return;};var O=0;var N=this.getChildControl(n);if(this.getOrientation()===d){O=e.getDelta().x;var P=N.getScrollX();var L=N.getScrollMaxX();var M=parseInt(O);if(!(M<0&&P<=0||M>0&&P>=L||O==0)){e.stop();}else {e.stopMomentum();};}else {O=e.getDelta().y;var P=N.getScrollY();var L=N.getScrollMaxY();var M=parseInt(O);if(!(M<0&&P<=0||M>0&&P>=L||O==0)){e.stop();}else {e.stopMomentum();};};this.scrollBy(parseInt(O,10));if(e.getMomentum()){e.stop();};},_onScroll:function(){this._updateArrowsEnabled();},_onScrollAnimationEnd:function(){this.fireEvent(j);},_onResize:function(e){var content=this.getChildControl(n).getChildren()[0];if(!content){return;};var Q=this.getInnerSize();var S=content.getBounds();var R=(this.getOrientation()===d)?S.width>Q.width:S.height>Q.height;if(R){this._showArrows();this._updateArrowsEnabled();}else {this._hideArrows();};},_onExecuteBackward:function(){this.scrollBy(-this.getScrollStep());},_onExecuteForward:function(){this.scrollBy(this.getScrollStep());},_updateArrowsEnabled:function(){if(!this.getEnabled()){this.getChildControl(c).setEnabled(false);this.getChildControl(i).setEnabled(false);return;};var U=this.getChildControl(n);if(this.getOrientation()===d){var T=U.getScrollX();var V=U.getScrollMaxX();}else {var T=U.getScrollY();var V=U.getScrollMaxY();};this.getChildControl(c).setEnabled(T>0);this.getChildControl(i).setEnabled(T=0;i-- ){if(!s[i].getEnabled()){s.splice(i,1);};};};return s;},__nP:function(u,t){if(!u){this.__nQ(this.__nO);};},__nQ:function(v){var y=this.__nO;var w=v;if(w!=null&&y===w){return;};if(!this.isAllowEmptySelection()&&w==null){var x=this.getSelectables(true)[0];if(x){w=x;};};this.__nO=w;this.fireDataEvent(k,w,y);},__nR:function(z){var A=this.__nN.getItems();for(var i=0;ik.getZIndex()){k=f;};};this.__oj.setActiveWindow(k);},bringToFront:function(o){var n=this.__oj.getWindows();var p=qx.lang.Array.remove(n,o);if(p){n.push(o);this.updateStack();};},sendToBack:function(r){var q=this.__oj.getWindows();var s=qx.lang.Array.remove(q,r);if(s){q.unshift(r);this.updateStack();};}},destruct:function(){this._disposeObjects(b);}});})();(function(){var a="beforeClose",b="beforeMinimize",c="Boolean",d="window-resize-frame",f="changeStatus",g="changeIcon",h="excluded",i="_applyModal",j="execute",k="restore-button",l="_applyActive",m="minimize-button",n="qx.event.type.Event",o="close-button",p="beforeRestore",q="statusbar",r="captionbar",s="String",t="minimize",u="dbltap",v="modal",w="changeModal",x="title",y="icon",z="showStatusbar",A="changeAlwaysOnTop",B="_applyShowStatusbar",C="pointerdown",D="maximized",E="_applyStatus",F="qx.ui.window.Window",G="normal",H="changeCaption",I="engine.name",J="statusbar-text",K="focusout",L="beforeMaximize",M="maximize",N="maximize-button",O="restore",P="window",Q="pane",R="close",S="changeActive",T="mshtml",U="_applyCaptionBarChange",V="active",W="minimized";qx.Class.define(F,{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(X,Y){qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.VBox());this._createChildControl(r);this._createChildControl(Q);if(Y!=null){this.setIcon(Y);};if(X!=null){this.setCaption(X);};this._updateCaptionBar();this.addListener(C,this._onWindowPointerDown,this,true);this.addListener(K,this._onWindowFocusOut,this);qx.core.Init.getApplication().getRoot().add(this);this.initVisibility();qx.ui.core.FocusHandler.getInstance().addRoot(this);this._getResizeFrame().setAppearance(d);},statics:{DEFAULT_MANAGER_CLASS:qx.ui.window.Manager},events:{"beforeClose":n,"close":n,"beforeMinimize":n,"minimize":n,"beforeMaximize":n,"maximize":n,"beforeRestore":n,"restore":n},properties:{appearance:{refine:true,init:P},visibility:{refine:true,init:h},focusable:{refine:true,init:true},active:{check:c,init:false,apply:l,event:S},alwaysOnTop:{check:c,init:false,event:A},modal:{check:c,init:false,event:w,apply:i},caption:{apply:U,event:H,nullable:true},icon:{check:s,nullable:true,apply:U,event:g,themeable:true},status:{check:s,nullable:true,apply:E,event:f},showClose:{check:c,init:true,apply:U,themeable:true},showMaximize:{check:c,init:true,apply:U,themeable:true},showMinimize:{check:c,init:true,apply:U,themeable:true},allowClose:{check:c,init:true,apply:U},allowMaximize:{check:c,init:true,apply:U},allowMinimize:{check:c,init:true,apply:U},showStatusbar:{check:c,init:false,apply:B}},members:{__ok:null,__ol:null,getChildrenContainer:function(){return this.getChildControl(Q);},_forwardStates:{active:true,maximized:true,showStatusbar:true,modal:true},setLayoutParent:function(parent){{};qx.ui.core.Widget.prototype.setLayoutParent.call(this,parent);},_createChildControlImpl:function(be,bd){var ba;switch(be){case q:ba=new qx.ui.container.Composite(new qx.ui.layout.HBox());this._add(ba);ba.add(this.getChildControl(J));break;case J:ba=new qx.ui.basic.Label();ba.setValue(this.getStatus());break;case Q:ba=new qx.ui.container.Composite();this._add(ba,{flex:1});break;case r:var bb=new qx.ui.layout.Grid();bb.setRowFlex(0,1);bb.setColumnFlex(1,1);ba=new qx.ui.container.Composite(bb);this._add(ba);ba.addListener(u,this._onCaptionPointerDblTap,this);this._activateMoveHandle(ba);break;case y:ba=new qx.ui.basic.Image(this.getIcon());this.getChildControl(r).add(ba,{row:0,column:0});break;case x:ba=new qx.ui.basic.Label(this.getCaption());ba.setWidth(0);ba.setAllowGrowX(true);var bc=this.getChildControl(r);bc.add(ba,{row:0,column:1});break;case m:ba=new qx.ui.form.Button();ba.setFocusable(false);ba.addListener(j,this._onMinimizeButtonTap,this);this.getChildControl(r).add(ba,{row:0,column:2});break;case k:ba=new qx.ui.form.Button();ba.setFocusable(false);ba.addListener(j,this._onRestoreButtonTap,this);this.getChildControl(r).add(ba,{row:0,column:3});break;case N:ba=new qx.ui.form.Button();ba.setFocusable(false);ba.addListener(j,this._onMaximizeButtonTap,this);this.getChildControl(r).add(ba,{row:0,column:4});break;case o:ba=new qx.ui.form.Button();ba.setFocusable(false);ba.addListener(j,this._onCloseButtonTap,this);this.getChildControl(r).add(ba,{row:0,column:6});break;};return ba||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,be);},_updateCaptionBar:function(){var bg;var bh=this.getIcon();if(bh){this.getChildControl(y).setSource(bh);this._showChildControl(y);}else {this._excludeChildControl(y);};var bf=this.getCaption();if(bf){this.getChildControl(x).setValue(bf);this._showChildControl(x);}else {this._excludeChildControl(x);};if(this.getShowMinimize()){this._showChildControl(m);bg=this.getChildControl(m);this.getAllowMinimize()?bg.resetEnabled():bg.setEnabled(false);}else {this._excludeChildControl(m);};if(this.getShowMaximize()){if(this.isMaximized()){this._showChildControl(k);this._excludeChildControl(N);}else {this._showChildControl(N);this._excludeChildControl(k);};bg=this.getChildControl(N);this.getAllowMaximize()?bg.resetEnabled():bg.setEnabled(false);}else {this._excludeChildControl(N);this._excludeChildControl(k);};if(this.getShowClose()){this._showChildControl(o);bg=this.getChildControl(o);this.getAllowClose()?bg.resetEnabled():bg.setEnabled(false);}else {this._excludeChildControl(o);};},close:function(){if(!this.isVisible()){return;};if(this.fireNonBubblingEvent(a,qx.event.type.Event,[false,true])){this.hide();this.fireEvent(R);};},open:function(){this.show();this.setActive(true);this.focus();},center:function(){var parent=this.getLayoutParent();if(parent){var bj=parent.getBounds();if(bj){var bk=this.getSizeHint();var bi=Math.round((bj.width-bk.width)/2);var top=Math.round((bj.height-bk.height)/2);if(top<0){top=0;};this.moveTo(bi,top);return;};};{};},maximize:function(){if(this.isMaximized()){return;};var parent=this.getLayoutParent();if(parent!=null&&parent.supportsMaximize()){if(this.fireNonBubblingEvent(L,qx.event.type.Event,[false,true])){if(!this.isVisible()){this.open();};var bl=this.getLayoutProperties();this.__ol=bl.left===undefined?0:bl.left;this.__ok=bl.top===undefined?0:bl.top;this.setLayoutProperties({left:null,top:null,edge:0});this.addState(D);this._updateCaptionBar();this.fireEvent(M);};};},minimize:function(){if(!this.isVisible()){return;};if(this.fireNonBubblingEvent(b,qx.event.type.Event,[false,true])){var bm=this.getLayoutProperties();this.__ol=bm.left===undefined?0:bm.left;this.__ok=bm.top===undefined?0:bm.top;this.removeState(D);this.hide();this.fireEvent(t);};},restore:function(){if(this.getMode()===G){return;};if(this.fireNonBubblingEvent(p,qx.event.type.Event,[false,true])){if(!this.isVisible()){this.open();};var bn=this.__ol;var top=this.__ok;this.setLayoutProperties({edge:null,left:bn,top:top});this.removeState(D);this._updateCaptionBar();this.fireEvent(O);};},moveTo:function(bo,top){if(this.isMaximized()){return;};this.setLayoutProperties({left:bo,top:top});},isMaximized:function(){return this.hasState(D);},getMode:function(){if(!this.isVisible()){return W;}else {if(this.isMaximized()){return D;}else {return G;};};},_applyActive:function(bq,bp){if(bp){this.removeState(V);}else {this.addState(V);};},_applyModal:function(bs,br){if(br){this.removeState(v);}else {this.addState(v);};},_getContentPaddingTarget:function(){return this.getChildControl(Q);},_applyShowStatusbar:function(bv,bt){var bu=this._getResizeFrame();if(bv){this.addState(z);bu.addState(z);}else {this.removeState(z);bu.removeState(z);};if(bv){this._showChildControl(q);}else {this._excludeChildControl(q);};},_applyCaptionBarChange:function(bx,bw){this._updateCaptionBar();},_applyStatus:function(bz,by){var bA=this.getChildControl(J,true);if(bA){bA.setValue(bz);};},_applyFocusable:function(bC,bB){if(qx.core.Environment.get(I)!==T){qx.ui.core.Widget.prototype._applyFocusable.call(this,bC,bB);};},_onWindowEventStop:function(e){e.stopPropagation();},_onWindowPointerDown:function(e){this.setActive(true);},_onWindowFocusOut:function(e){if(this.getModal()){return;};var bD=e.getRelatedTarget();if(bD!=null&&!qx.ui.core.Widget.contains(this,bD)){this.setActive(false);};},_onCaptionPointerDblTap:function(e){if(this.getAllowMaximize()){this.isMaximized()?this.restore():this.maximize();};},_onMinimizeButtonTap:function(e){this.minimize();this.getChildControl(m).reset();},_onRestoreButtonTap:function(e){this.restore();this.getChildControl(k).reset();},_onMaximizeButtonTap:function(e){this.maximize();this.getChildControl(N).reset();},_onCloseButtonTap:function(e){this.close();this.getChildControl(o).reset();}}});})();(function(){var a="Boolean",b="one",c="pointerover",d="qx.event.type.Data",f=", because it is not a child element!",g="_applyDragSelection",h="Could not add + ",j=" from selection, because it is not a child element!",k="changeSelection",l="Could not test if ",m="Could not remove ",n="addItem",o="__et",p="multi",q="_applyQuickSelection",r="single",s="qx.ui.core.MMultiSelectionHandling",t="pointermove",u=" is selected, because it is not a child element!",v="_applySelectionMode",w="additive",x="keypress",y="losecapture",z="Could not select ",A="removeItem",B="tap",C="pointerdown",D=" to selection, because it is not a child element!";qx.Mixin.define(s,{construct:function(){var F=this.SELECTION_MANAGER;var E=this.__et=new F(this);this.addListener(C,E.handlePointerDown,E);this.addListener(B,E.handleTap,E);this.addListener(c,E.handlePointerOver,E);this.addListener(t,E.handlePointerMove,E);this.addListener(y,E.handleLoseCapture,E);this.addListener(x,E.handleKeyPress,E);this.addListener(n,E.handleAddItem,E);this.addListener(A,E.handleRemoveItem,E);E.addListener(k,this._onSelectionChange,this);},events:{"changeSelection":d},properties:{selectionMode:{check:[r,p,w,b],init:r,apply:v},dragSelection:{check:a,init:false,apply:g},quickSelection:{check:a,init:false,apply:q}},members:{__et:null,selectAll:function(){this.__et.selectAll();},isSelected:function(G){if(!qx.ui.core.Widget.contains(this,G)){throw new Error(l+G+u);};return this.__et.isItemSelected(G);},addToSelection:function(H){if(!qx.ui.core.Widget.contains(this,H)){throw new Error(h+H+D);};this.__et.addItem(H);},removeFromSelection:function(I){if(!qx.ui.core.Widget.contains(this,I)){throw new Error(m+I+j);};this.__et.removeItem(I);},selectRange:function(J,K){this.__et.selectItemRange(J,K);},resetSelection:function(){this.__et.clearSelection();},setSelection:function(L){for(var i=0;i=19){cA=E;}else {cA=O;};qx.ui.style.Stylesheet.getInstance().addRule(cA,bU+cz+m);}else if(cx==co&&cC!=cl){cA=K;qx.ui.style.Stylesheet.getInstance().addRule(cA,bU+cz);}else if(cx==W||cC==cl){var cB=cC==cl?ch:N;cA=[bY,q,a].join(cB);qx.ui.style.Stylesheet.getInstance().addRule(cA,bU+cz+m);};}},construct:function(cD){qx.ui.core.Widget.call(this);this.__on=!qx.core.Environment.get(X);if(cD!=null){this.setValue(cD);};this.getContentElement().addListener(bO,this._onChangeContent,this);if(this.__on){this.addListener(B,this._syncPlaceholder,this);}else {qx.ui.form.AbstractField.__om();this.getContentElement().addClass(l);};if(qx.core.Environment.get(s)){qx.locale.Manager.getInstance().addListener(cg,this._onChangeLocale,this);};},events:{"input":i,"changeValue":i},properties:{textAlign:{check:[cb,bX,bV],nullable:true,themeable:true,apply:cu},readOnly:{check:bQ,apply:ci,event:cw,init:false},selectable:{refine:true,init:true},focusable:{refine:true,init:true},maxLength:{apply:P,check:ce,init:Infinity},liveUpdate:{check:bQ,init:false},placeholder:{check:x,nullable:true,apply:cf},filter:{check:cd,nullable:true,init:null}},members:{__oo:true,_placeholder:null,__hS:null,__hT:null,__on:true,__lx:null,__lA:null,getFocusElement:function(){var cE=this.getContentElement();if(cE){return cE;};},_createInputElement:function(){return new qx.html.Input(A);},renderLayout:function(cN,top,cI,cG){var cF=this._updateInsets;var cL=qx.ui.core.Widget.prototype.renderLayout.call(this,cN,top,cI,cG);if(!cL){return;};var cJ=cL.size||cF;var cM=bR;if(cJ||cL.local||cL.margin){var innerWidth=cI;var innerHeight=cG;};var cK=this.getContentElement();if(cF&&this.__on){if(this.__on){var cH=this.getInsets();this._getPlaceholderElement().setStyles({paddingTop:cH.top+cM,paddingRight:cH.right+cM,paddingBottom:cH.bottom+cM,paddingLeft:cH.left+cM});};};if(cJ||cL.margin){if(this.__on){var cH=this.getInsets();this._getPlaceholderElement().setStyles({"width":(innerWidth-cH.left-cH.right)+cM,"height":(innerHeight-cH.top-cH.bottom)+cM});};cK.setStyles({"width":innerWidth+cM,"height":innerHeight+cM});this._renderContentElement(innerHeight,cK);};if(cL.position){if(this.__on){this._getPlaceholderElement().setStyles({"left":cN+cM,"top":top+cM});};};},_renderContentElement:function(innerHeight,cO){},_createContentElement:function(){var cP=this._createInputElement();cP.setSelectable(this.getSelectable());cP.setEnabled(this.getEnabled());cP.addListener(r,this._onHtmlInput,this);cP.setAttribute(U,cj);cP.addClass(v);if((qx.core.Environment.get(cr)==W)&&(qx.core.Environment.get(o)==8)){cP.setStyles({backgroundImage:bL+qx.util.ResourceManager.getInstance().toUri(cp)+bM});};return cP;},_applyEnabled:function(cS,cR){qx.ui.core.Widget.prototype._applyEnabled.call(this,cS,cR);this.getContentElement().setEnabled(cS);if(this.__on){if(cS){this._showPlaceholder();}else {this._removePlaceholder();};}else {var cQ=this.getContentElement();cQ.setAttribute(bW,cS?this.getPlaceholder():cm);};},__op:{width:16,height:16},_getContentHint:function(){return {width:this.__op.width*10,height:this.__op.height||16};},_applyFont:function(cV,cU){if(cU&&this.__lx&&this.__lA){this.__lx.removeListenerById(this.__lA);this.__lA=null;};var cT;if(cV){this.__lx=qx.theme.manager.Font.getInstance().resolve(cV);if(this.__lx instanceof qx.bom.webfonts.WebFont){this.__lA=this.__lx.addListener(C,this._onWebFontStatusChange,this);};cT=this.__lx.getStyles();}else {cT=qx.bom.Font.getDefaultStyles();};if(this.getTextColor()!=null){delete cT[F];};if(qx.core.Environment.get(cr)==W&&qx.core.Environment.get(o)<11){qx.html.Element.flush();this.getContentElement().setStyles(cT,true);}else {this.getContentElement().setStyles(cT);};if(this.__on){delete cT[F];this._getPlaceholderElement().setStyles(cT);};if(cV){this.__op=qx.bom.Label.getTextSize(D,cT);}else {delete this.__op;};qx.ui.core.queue.Layout.add(this);},_applyTextColor:function(cX,cW){if(cX){this.getContentElement().setStyle(F,qx.theme.manager.Color.getInstance().resolve(cX));}else {this.getContentElement().removeStyle(F);};},_applyMaxLength:function(da,cY){if(da){this.getContentElement().setAttribute(t,da);}else {this.getContentElement().removeAttribute(t);};},tabFocus:function(){qx.ui.core.Widget.prototype.tabFocus.call(this);this.selectAllText();},_getTextSize:function(){return this.__op;},_onHtmlInput:function(e){var dd=e.getData();var dc=true;this.__oo=false;if(this.__hT&&this.__hT===dd){dc=false;};if(this.getFilter()!=null){var df=cm;var db=dd.search(this.getFilter());var de=dd;while(db>=0){df=df+(de.charAt(db));de=de.substring(db+1,de.length);db=de.search(this.getFilter());};if(df!=dd){dc=false;dd=df;this.getContentElement().setValue(dd);};};if(dc){this.fireDataEvent(r,dd,this.__hT);this.__hT=dd;if(this.getLiveUpdate()){this.__oq(dd);};};},_onWebFontStatusChange:function(dh){if(dh.getData().valid===true){var dg=this.__lx.getStyles();this.__op=qx.bom.Label.getTextSize(D,dg);qx.ui.core.queue.Layout.add(this);};},__oq:function(dj){var di=this.__hS;this.__hS=dj;if(di!=dj){this.fireNonBubblingEvent(c,qx.event.type.Data,[dj,di]);};},setValue:function(dn){if(dn===null){if(this.__oo){return dn;};dn=cm;this.__oo=true;}else {this.__oo=false;if(this.__on){this._removePlaceholder();};};if(qx.lang.Type.isString(dn)){var dm=this.getContentElement();if(dm.getValue()!=dn){var dk=dm.getValue();dm.setValue(dn);var dl=this.__oo?null:dn;this.__hS=dk;this.__oq(dl);this.__hT=this.__hS;};if(this.__on){this._showPlaceholder();};return dn;};throw new Error(J+dn);},getValue:function(){var dp=this.getContentElement().getValue();return this.__oo?null:dp;},resetValue:function(){this.setValue(null);},_onChangeContent:function(e){this.__oo=e.getData()===null;this.__oq(e.getData());},getTextSelection:function(){return this.getContentElement().getTextSelection();},getTextSelectionLength:function(){return this.getContentElement().getTextSelectionLength();},getTextSelectionStart:function(){return this.getContentElement().getTextSelectionStart();},getTextSelectionEnd:function(){return this.getContentElement().getTextSelectionEnd();},setTextSelection:function(dq,dr){this.getContentElement().setTextSelection(dq,dr);},clearTextSelection:function(){this.getContentElement().clearTextSelection();},selectAllText:function(){this.setTextSelection(0);},setLayoutParent:function(parent){qx.ui.core.Widget.prototype.setLayoutParent.call(this,parent);if(this.__on){if(parent){this.getLayoutParent().getContentElement().add(this._getPlaceholderElement());}else {var ds=this._getPlaceholderElement();ds.getParent().remove(ds);};};},_showPlaceholder:function(){var du=this.getValue()||cm;var dt=this.getPlaceholder();if(dt!=null&&du==cm&&!this.hasState(k)&&!this.hasState(ca)){if(this.hasState(j)){this._syncPlaceholder();}else {this.addState(j);};};},_onPointerDownPlaceholder:function(){window.setTimeout(function(){this.focus();}.bind(this),0);},_removePlaceholder:function(){if(this.hasState(j)){if(this.__on){this._getPlaceholderElement().setStyle(cv,Y);};this.removeState(j);};},_syncPlaceholder:function(){if(this.hasState(j)&&this.__on){this._getPlaceholderElement().setStyle(cv,M);};},_getPlaceholderElement:function(){if(this._placeholder==null){this._placeholder=new qx.html.Label();var dv=qx.theme.manager.Color.getInstance();this._placeholder.setStyles({"zIndex":11,"position":cq,"color":dv.resolve(cc),"whiteSpace":u,"cursor":A,"visibility":Y});this._placeholder.addListener(T,this._onPointerDownPlaceholder,this);};return this._placeholder;},_onChangeLocale:qx.core.Environment.select(s,{"true":function(e){var content=this.getPlaceholder();if(content&&content.translate){this.setPlaceholder(content.translate());};},"false":null}),_onChangeTheme:function(){qx.ui.core.Widget.prototype._onChangeTheme.call(this);if(this._placeholder){this._placeholder.dispose();this._placeholder=null;};if(!this.__on&&qx.ui.form.AbstractField.__eW){qx.bom.Stylesheet.removeSheet(qx.ui.form.AbstractField.__eW);qx.ui.form.AbstractField.__eW=null;qx.ui.form.AbstractField.__om();};},_applyPlaceholder:function(dx,dw){if(this.__on){this._getPlaceholderElement().setValue(dx);if(dx!=null){this.addListener(V,this._removePlaceholder,this);this.addListener(ct,this._showPlaceholder,this);this._showPlaceholder();}else {this.removeListener(V,this._removePlaceholder,this);this.removeListener(ct,this._showPlaceholder,this);this._removePlaceholder();};}else {if(this.getEnabled()){this.getContentElement().setAttribute(bW,dx);if(qx.core.Environment.get(g)===L&&parseFloat(qx.core.Environment.get(S))<36&&this.getContentElement().getNodeName()===h&&!this.getContentElement().getDomElement()){this.addListenerOnce(cn,function(){this.getContentElement().getDomElement().removeAttribute(bW);this.getContentElement().getDomElement().setAttribute(bW,dx);},this);};};};},_applyTextAlign:function(dz,dy){this.getContentElement().setStyle(bS,dz);},_applyReadOnly:function(dB,dA){var dC=this.getContentElement();dC.setAttribute(z,dB);if(dB){this.addState(G);this.setFocusable(false);}else {this.removeState(G);this.setFocusable(true);};}},defer:function(dD){var dE=bP+cs+y+I+R+Q+bT+w+d+H+n;qx.ui.style.Stylesheet.getInstance().addRule(f,dE);},destruct:function(){if(this._placeholder){this._placeholder.removeListener(T,this._onPointerDownPlaceholder,this);var parent=this._placeholder.getParent();if(parent){parent.remove(this._placeholder);};this._placeholder.dispose();};this._placeholder=this.__lx=null;if(qx.core.Environment.get(s)){qx.locale.Manager.getInstance().removeListener(cg,this._onChangeLocale,this);};if(this.__lx&&this.__lA){this.__lx.removeListenerById(this.__lA);};this.getContentElement().removeListener(r,this._onHtmlInput,this);}});})();(function(){var a="engine.name",b="",c="wrap",d="none",e="Text wrapping is only support by textareas!",f="overflow",g="webkit",h="input",i="qx.html.Input",j="value",k="select",l="disabled",m="read-only",n="textarea",o="overflowX",p="overflowY";qx.Class.define(i,{extend:qx.html.Element,construct:function(s,q,r){if(s===k||s===n){var t=s;}else {t=h;};qx.html.Element.call(this,t,q,r);this.__or=s;},members:{__or:null,__os:null,__ot:null,_createDomElement:function(){return qx.bom.Input.create(this.__or);},_applyProperty:function(name,u){qx.html.Element.prototype._applyProperty.call(this,name,u);var v=this.getDomElement();if(name===j){qx.bom.Input.setValue(v,u);}else if(name===c){qx.bom.Input.setWrap(v,u);this.setStyle(f,v.style.overflow,true);this.setStyle(o,v.style.overflowX,true);this.setStyle(p,v.style.overflowY,true);};},setEnabled:function(w){this.__ot=w;this.setAttribute(l,w===false);if(qx.core.Environment.get(a)==g){if(!w){this.setStyles({"userModify":m,"userSelect":d});}else {this.setStyles({"userModify":null,"userSelect":this.__os?null:d});};};},setSelectable:qx.core.Environment.select(a,{"webkit":function(x){this.__os=x;qx.html.Element.prototype.setSelectable.call(this,this.__ot&&x);},"default":function(y){qx.html.Element.prototype.setSelectable.call(this,y);}}),setValue:function(z){var A=this.getDomElement();if(A){if(A.value!=z){qx.bom.Input.setValue(A,z);};}else {this._setProperty(j,z);};return this;},getValue:function(){var B=this.getDomElement();if(B){return qx.bom.Input.getValue(B);};return this._getProperty(j)||b;},setWrap:function(C,D){if(this.__or===n){this._setProperty(c,C,D);}else {throw new Error(e);};return this;},getWrap:function(){if(this.__or===n){return this._getProperty(c);}else {throw new Error(e);};}}});})();(function(){var a="wrap",b="text",c="engine.name",d="soft",e="",f="mshtml",g="number",h="checkbox",j="select-one",k="input",m="option",n="value",o="off",p="select",q="radio",r="qx.bom.Input",s="nowrap",t="textarea",u="auto",v="normal";qx.Bootstrap.define(r,{statics:{__lc:{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(y,w,z){{};var w=w?qx.lang.Object.clone(w):{};var x;if(y===t||y===p){x=y;}else {x=k;w.type=y;};return qx.dom.Element.create(x,w,z);},setValue:function(F,E){var G=F.nodeName.toLowerCase();var B=F.type;var Array=qx.lang.Array;var H=qx.lang.Type;if(typeof E===g){E+=e;};if((B===h||B===q)){if(H.isArray(E)){F.checked=Array.contains(E,F.value);}else {F.checked=F.value==E;};}else if(G===p){var A=H.isArray(E);var I=F.options;var C,D;for(var i=0,l=I.length;i]+?>/g,i);L=qx.bom.String.unescape(L);};return L;},_onBlur:function(e){this.close();},_onKeyPress:function(e){var M=e.getKeyIdentifier();var N=this.getChildControl(w);if(N.isHidden()&&(M==u||M==b)){e.stopPropagation();}else if(!N.isHidden()&&M==f){this.close();e.stop();}else {this.getChildControl(q).handleKeyPress(e);};},_onResize:function(e){this.getChildControl(w).setMinWidth(e.getData().width);},_onListChangeSelection:function(e){throw new Error(n);},_onListPointerDown:function(e){throw new Error(j);},_onPopupChangeVisibility:function(e){e.getData()==k?this.addState(a):this.removeState(a);}}});})();(function(){var a="__ou",b="Could not set the model selection. Maybe your models are not unique? ",c="qx.ui.form.MModelSelection",d="change",f="changeSelection",g="qx.event.type.Data";qx.Mixin.define(c,{construct:function(){this.__ou=new qx.data.Array();this.__ou.addListener(d,this.__ox,this);this.addListener(f,this.__ow,this);},events:{changeModelSelection:g},members:{__ou:null,__ov:false,__ow:function(){if(this.__ov){return;};var l=this.getSelection();var m=[];for(var i=0;i1){this.__oz=[];for(var i=0;i0;var D=arguments.length>2;if(L||D){var B=qx.lang.Array.fromArguments(arguments,2);if(I.length==0){var M=b;var E=F+B.length;}else if(B.length==0){var M=l;var E=this.length-1;}else {var M=d;var E=F+Math.max(B.length,I.length)-1;};this.fireDataEvent(g,{start:F,end:E,type:M,added:B,removed:I},null);};for(var i=0;i=0;i-- ){this.__oz.unshift(arguments[i]);this.__oA();this.__oB(0,this.length);this.fireDataEvent(o,{value:[this.__oz[0]],name:m,old:[this.__oz[1]],item:this});this.fireDataEvent(g,{start:0,end:this.length-1,type:b,added:[arguments[i]],removed:[]},null);};return this.length;},toArray:function(){return this.__oz;},getItem:function(R){return this.__oz[R];},setItem:function(S,U){var T=this.__oz[S];if(T===U){return;};this.__oz[S]=U;this._registerEventChaining(U,T,S);if(this.length!=this.__oz.length){this.__oA();};this.fireDataEvent(o,{value:[U],name:S+f,old:[T],item:this});this.fireDataEvent(g,{start:S,end:S,type:d,added:[U],removed:[T]},null);},getLength:function(){return this.length;},indexOf:function(V){return this.__oz.indexOf(V);},lastIndexOf:function(W){return this.__oz.lastIndexOf(W);},toString:function(){if(this.__oz!=null){return this.__oz.toString();};return f;},contains:function(X){return this.__oz.indexOf(X)!==-1;},copy:function(){return this.concat();},insertAt:function(Y,ba){this.splice(Y,0,ba).dispose();},insertBefore:function(bc,bb){var bd=this.indexOf(bc);if(bd==-1){this.push(bb);}else {this.splice(bd,0,bb).dispose();};},insertAfter:function(bf,be){var bg=this.indexOf(bf);if(bg==-1||bg==(this.length-1)){this.push(be);}else {this.splice(bg+1,0,be).dispose();};},removeAt:function(bh){var bi=this.splice(bh,1);var bj=bi.getItem(0);bi.dispose();return bj;},removeAll:function(){for(var i=0;ibs){bs=this.getItem(i);};};return bs===undefined?null:bs;},min:function(){var bt=this.getItem(0);for(var i=1;i1){throw new Error(f+bQ+N);};if(bP.length==1){this.selectItem(bP[0]);}else {this.clearSelection();};return;}else {this._replaceMultiSelection(bP);};},getSelectedItem:function(){var bR=this.getMode();if(bR===bu||bR===h){var bS=this._getSelectedItem();return bS!=undefined?bS:null;};throw new Error(n);},getSelection:function(){return qx.lang.Object.getValues(this.__fK);},getSortedSelection:function(){var bU=this.getSelectables();var bT=qx.lang.Object.getValues(this.__fK);bT.sort(function(a,b){return bU.indexOf(a)-bU.indexOf(b);});return bT;},isItemSelected:function(bV){var bW=this._selectableToHashCode(bV);return this.__fK[bW]!==undefined;},isSelectionEmpty:function(){return qx.lang.Object.isEmpty(this.__fK);},invertSelection:function(){var bY=this.getMode();if(bY===bu||bY===h){throw new Error(M);};var bX=this.getSelectables();for(var i=0;ithis.__oJ){this.__oO=1;}else if(cIthis.__oK){this.__oP=1;}else if(cJlocation.right){this.__oC=this.__oM-location.right;}else {this.__oC=0;};if(this.__oNlocation.bottom){this.__oD=this.__oN-location.bottom;}else {this.__oD=0;};if(!this.__oE){this.__oE=new qx.event.Timer(100);this.__oE.addListener(H,this._onInterval,this);};this.__oE.start();this._autoSelect();event.stopPropagation();this._userInteraction=false;},handleAddItem:function(e){var cK=e.getData();if(this.getMode()===h&&this.isSelectionEmpty()){this.addItem(cK);};},handleRemoveItem:function(e){this.removeItem(e.getData());},_cleanup:function(){if(!this.getDrag()&&this.__oL){return;};if(this.__oQ){this._fireChange(bD);};delete this.__oL;delete this.__oG;delete this.__oH;this._releaseCapture();if(this.__oE){this.__oE.stop();};},_onInterval:function(e){this._scrollBy(this.__oC,this.__oD);this.__oF=this._getScroll();this._autoSelect();},_autoSelect:function(){var cT=this._getDimension();var cM=Math.max(0,Math.min(this.__oM-this.__oI.left,cT.width))+this.__oF.left;var cL=Math.max(0,Math.min(this.__oN-this.__oI.top,cT.height))+this.__oF.top;if(this.__oG===cM&&this.__oH===cL){return;};this.__oG=cM;this.__oH=cL;var cQ=this._getAnchorItem();var cO=cQ;var cR=this.__oO;var cU,cN;while(cR!==0){cU=cR>0?this._getRelatedSelectable(cO,t):this._getRelatedSelectable(cO,W);if(cU!==null){cN=this._getSelectableLocationX(cU);if((cR>0&&cN.left<=cM)||(cR<0&&cN.right>=cM)){cO=cU;continue;};};break;};var cS=this.__oP;var cV,cP;while(cS!==0){cV=cS>0?this._getRelatedSelectable(cO,z):this._getRelatedSelectable(cO,bB);if(cV!==null){cP=this._getSelectableLocationY(cV);if((cS>0&&cP.top<=cL)||(cS<0&&cP.bottom>=cL)){cO=cV;continue;};};break;};var cW=this.getMode();if(cW===V){this._selectItemRange(cQ,cO);}else if(cW===br){if(this.isItemSelected(cQ)){this._selectItemRange(cQ,cO,true);}else {this._deselectItemRange(cQ,cO);};this._setAnchorItem(cO);};this._fireChange(bw);},__oW:{Home:1,Down:1,Right:1,PageDown:1,End:1,Up:1,Left:1,PageUp:1},handleKeyPress:function(event){this._userInteraction=true;var dd,dc;var df=event.getKeyIdentifier();var de=this.getMode();var cY=event.isCtrlPressed()||(qx.core.Environment.get(c)==F&&event.isMetaPressed());var da=event.isShiftPressed();var db=false;if(df===B&&cY){if(de!==bu&&de!==h){this._selectAllItems();db=true;};}else if(df===p){if(de!==bu&&de!==h){this._clearSelection();db=true;};}else if(df===r){var cX=this.getLeadItem();if(cX!=null&&!da){if(cY||de===br){this._toggleInSelection(cX);}else {this._setSelectedItem(cX);};db=true;};}else if(this.__oW[df]){db=true;if(de===bu||de==h){dd=this._getSelectedItem();}else {dd=this.getLeadItem();};if(dd!==null){switch(df){case Y:dc=this._getFirstSelectable();break;case Q:dc=this._getLastSelectable();break;case x:dc=this._getRelatedSelectable(dd,bB);break;case v:dc=this._getRelatedSelectable(dd,z);break;case k:dc=this._getRelatedSelectable(dd,W);break;case bv:dc=this._getRelatedSelectable(dd,t);break;case bx:dc=this._getPage(dd,true);break;case D:dc=this._getPage(dd,false);break;};}else {switch(df){case Y:case v:case bv:case D:dc=this._getFirstSelectable();break;case Q:case x:case k:case bx:dc=this._getLastSelectable();break;};};if(dc!==null){switch(de){case bu:case h:this._setSelectedItem(dc);break;case br:this._setLeadItem(dc);break;case V:if(da){var dg=this._getAnchorItem();if(dg===null){this._setAnchorItem(dg=this._getFirstSelectable());};this._setLeadItem(dc);this._selectItemRange(dg,dc,cY);}else {this._setAnchorItem(dc);this._setLeadItem(dc);if(!cY){this._setSelectedItem(dc);};};break;};this.__oV=this._getScroll().top;this._scrollItemIntoView(dc);};};if(db){event.stop();this._fireChange(T);};this._userInteraction=false;},_selectAllItems:function(){var dh=this.getSelectables();for(var i=0,l=dh.length;i=2)){this._clearSelection();this._addToSelection(dA);};};},_addToSelection:function(dC){var dD=this._selectableToHashCode(dC);if(this.__fK[dD]==null&&this._isSelectable(dC)){this.__fK[dD]=dC;this._styleSelectable(dC,S,true);this.__oQ=true;};},_toggleInSelection:function(dE){var dF=this._selectableToHashCode(dE);if(this.__fK[dF]==null){this.__fK[dF]=dE;this._styleSelectable(dE,S,true);}else {delete this.__fK[dF];this._styleSelectable(dE,S,false);};this.__oQ=true;},_removeFromSelection:function(dG){var dH=this._selectableToHashCode(dG);if(this.__fK[dH]!=null){delete this.__fK[dH];this._styleSelectable(dG,S,false);this.__oQ=true;};},_replaceMultiSelection:function(dK){if(dK.length===0){this.clearSelection();return;};var dL=false;var dO,dN;var dJ={};for(var i=0,l=dK.length;i0;i-- ){if(this._isItemSelectable(J[i])){return J[i];};};return null;},_getRelatedSelectable:function(N,O){var L=this.__jS.getOrientation()===a;var P=this.__jS.getChildren();var K=P.indexOf(N);var M;if((L&&O===c)||(!L&&O===e)){for(var i=K-1;i>=0;i-- ){M=P[i];if(this._isItemSelectable(M)){return M;};};}else if((L&&O===b)||(!L&&O===f)){for(var i=K+1;i=0;i-- ){top=h.getItemTop(q[i]);if(top=p){n-=innerHeight+r-h.getItemBottom(k);s=null;continue;};return q[s];};}else {var m=innerHeight+r;var i=p;while(1){for(;im){s=i-1;break;};};if(s==null){var j=this._getLastSelectable();return j==k?null:j;};if(s<=p){m+=h.getItemTop(k)-r;s=null;continue;};return q[s];};};}}});})();(function(){var a="qx.ui.form.List",b="text",c="Boolean",d="one",f="addChildWidget",g="_applySpacing",h="Enter",j="Integer",k="action",m="keyinput",n="__oY",o="qx.event.type.Data",p="addItem",q="vertical",r="removeChildWidget",s="",t="_applyOrientation",u="single",v="keypress",w="list",x="horizontal",y="label",z="pane",A="removeItem";qx.Class.define(a,{extend:qx.ui.core.scroll.AbstractScrollArea,implement:[qx.ui.core.IMultiSelection,qx.ui.form.IForm,qx.ui.form.IModelSelection],include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MMultiSelectionHandling,qx.ui.form.MForm,qx.ui.form.MModelSelection],construct:function(B){qx.ui.core.scroll.AbstractScrollArea.call(this);this.__oY=this._createListItemContainer();this.__oY.addListener(f,this._onAddChild,this);this.__oY.addListener(r,this._onRemoveChild,this);this.getChildControl(z).add(this.__oY);if(B){this.setOrientation(x);}else {this.initOrientation();};this.addListener(v,this._onKeyPress);this.addListener(m,this._onKeyInput);this.__pa=s;},events:{addItem:o,removeItem:o},properties:{appearance:{refine:true,init:w},focusable:{refine:true,init:true},orientation:{check:[x,q],init:q,apply:t},spacing:{check:j,init:0,apply:g,themeable:true},enableInlineFind:{check:c,init:true}},members:{__pa:null,__pb:null,__oY:null,SELECTION_MANAGER:qx.ui.core.selection.ScrollArea,getChildrenContainer:function(){return this.__oY;},_onAddChild:function(e){this.fireDataEvent(p,e.getData());},_onRemoveChild:function(e){this.fireDataEvent(A,e.getData());},handleKeyPress:function(e){if(!this._onKeyPress(e)){this._getManager().handleKeyPress(e);};},_createListItemContainer:function(){return new qx.ui.container.Composite;},_applyOrientation:function(F,C){var D=F===x;var E=D?new qx.ui.layout.HBox():new qx.ui.layout.VBox();var content=this.__oY;content.setLayout(E);content.setAllowGrowX(!D);content.setAllowGrowY(D);this._applySpacing(this.getSpacing());},_applySpacing:function(H,G){this.__oY.getLayout().setSpacing(H);},_onKeyPress:function(e){if(e.getKeyIdentifier()==h&&!e.isAltPressed()){var I=this.getSelection();for(var i=0;i1000){this.__pa=s;};this.__pa+=e.getChar();var K=this.findItemByLabelFuzzy(this.__pa);if(K){this.setSelection([K]);};this.__pb=(new Date).valueOf();},findItemByLabelFuzzy:function(M){M=M.toLowerCase();var L=this.getChildren();for(var i=0,l=L.length;i])+>/gi,function(n){if(n.indexOf(a)===0){return f;}else if(n.length>0&&n.replace(/^\s*/,b).replace(/\s*$/,b)==b){return e;}else {return b;};}));}},defer:function(o){o.FROM_CHARCODE=qx.lang.Object.invert(o.TO_CHARCODE);}});})();(function(){var a="&",b='X',c="",d='#',e="&#",f=";",g="qx.util.StringEscape";qx.Bootstrap.define(g,{statics:{escape:function(o,m){var j,n=c;for(var i=0,l=o.length;i0x7F){j=e+h+f;}else {j=k;};};n+=j;};return n;},unescape:function(p,q){return p.replace(/&[#\w]+;/gi,function(t){var r=t;var t=t.substring(1,t.length-1);var s=q[t];if(s){r=String.fromCharCode(s);}else {if(t.charAt(0)==d){if(t.charAt(1).toUpperCase()==b){s=t.substring(2);if(s.match(/^[0-9A-Fa-f]+$/gi)){r=String.fromCharCode(parseInt(s,16));};}else {s=t.substring(1);if(s.match(/^\d+$/gi)){r=String.fromCharCode(parseInt(s,10));};};};};return r;});}}});})();(function(){var a="qx.ui.form.IRadioItem",b="qx.event.type.Data";qx.Interface.define(a,{events:{"changeValue":b},members:{setValue:function(c){},getValue:function(){},setGroup:function(d){this.assertInstance(d,qx.ui.form.RadioGroup);},getGroup:function(){}}});})();(function(){var a="_applyAllowEmptySelection",b="_applyInvalidMessage",c="qx.ui.form.RadioGroup",d="Boolean",f="_applyValid",g="",h="changeRequired",j="changeValid",k="changeEnabled",m="__pc",n="changeInvalidMessage",o="changeSelection",p="changeValue",q="_applyEnabled",r="String";qx.Class.define(c,{extend:qx.core.Object,implement:[qx.ui.core.ISingleSelection,qx.ui.form.IForm,qx.ui.form.IModelSelection],include:[qx.ui.core.MSingleSelectionHandling,qx.ui.form.MModelSelection],construct:function(s){qx.core.Object.call(this);this.__pc=[];this.addListener(o,this.__nS,this);if(s!=null){this.add.apply(this,arguments);};},properties:{enabled:{check:d,apply:q,event:k,init:true},wrap:{check:d,init:true},allowEmptySelection:{check:d,init:false,apply:a},valid:{check:d,init:true,apply:f,event:j},required:{check:d,init:false,event:h},invalidMessage:{check:r,init:g,event:n,apply:b},requiredInvalidMessage:{check:r,nullable:true,event:n}},members:{__pc:null,getItems:function(){return this.__pc;},add:function(u){var v=this.__pc;var t;for(var i=0,l=arguments.length;i0&&!this.getSelection()[0]){this.setSelection([v[0]]);};},remove:function(w){var x=this.__pc;if(qx.lang.Array.contains(x,w)){qx.lang.Array.remove(x,w);if(w.getGroup()===this){w.resetGroup();};w.removeListener(p,this._onItemChangeChecked,this);if(w.getValue()){this.resetSelection();};};},getChildren:function(){return this.__pc;},_onItemChangeChecked:function(e){var y=e.getTarget();if(y.getValue()){this.setSelection([y]);}else if(this.getSelection()[0]==y){this.resetSelection();};},_applyInvalidMessage:function(A,z){for(var i=0;i0){var M=this.getChildControl(o);var L=M.getSelectionContext();if(L==m||L==f){this.__pd=K[0];}else {var N=K[0].getLabel();if(this.getFormat()!=null){N=this.getFormat().call(this,K[0]);};if(N&&N.translate){N=N.translate();};this.setValue(N);this.__pd=null;};};},_onPopupChangeVisibility:function(e){qx.ui.form.AbstractSelectBox.prototype._onPopupChangeVisibility.call(this,e);var P=this.getChildControl(u);if(P.isVisible()){var O=this.getChildControl(o);var Q=this.getValue();var R=null;if(Q){R=O.findItem(Q);};if(R){O.setSelection([R]);}else {O.resetSelection();};}else {if(e.getOldData()==l){this.tabFocus();};};this.getChildControl(g).removeState(d);},_onTextFieldChangeValue:function(e){var T=e.getData();var S=this.getChildControl(o);if(T!=null){var U=S.findItem(T,false);if(U){S.setSelection([U]);}else {S.resetSelection();};}else {S.resetSelection();};this.fireDataEvent(c,T,e.getOldData());},getTextSelection:function(){return this.getChildControl(p).getTextSelection();},getTextSelectionLength:function(){return this.getChildControl(p).getTextSelectionLength();},setTextSelection:function(V,W){this.getChildControl(p).setTextSelection(V,W);},clearTextSelection:function(){this.getChildControl(p).clearTextSelection();},selectAllText:function(){this.getChildControl(p).selectAllText();},resetAllTextSelection:function(){this.clearTextSelection();this.selectAllText();}}});})();(function(){var a="mshtml",b="engine.name",c="qx.ui.form.TextField",d="Enter",e='px',f="mobile",g="tablet",h="device.type",i="textfield",j="engine.version",k="keypress",l="browser.documentmode";qx.Class.define(c,{extend:qx.ui.form.AbstractField,properties:{appearance:{refine:true,init:i},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{_renderContentElement:function(innerHeight,m){if((qx.core.Environment.get(b)==a)&&(parseInt(qx.core.Environment.get(j),10)<9||qx.core.Environment.get(l)<9)){m.setStyles({"line-height":innerHeight+e});};},_createContentElement:function(){var n=qx.ui.form.AbstractField.prototype._createContentElement.call(this);var o=qx.core.Environment.get(h);if(o==g||o==f){n.addListener(k,this._onKeyPress,this);};return n;},_onKeyPress:function(p){if(p.getKeyIdentifier()==d){this.blur();};}},destruct:function(){this.getContentElement().removeListener(k,this._onKeyPress,this);}});})();(function(){var a="qx.ui.form.IDateForm",b="qx.event.type.Data";qx.Interface.define(a,{events:{"changeValue":b},members:{setValue:function(c){return arguments.length==1;},resetValue:function(){},getValue:function(){}}});})();(function(){var a="popupOpen",b="blur",c="qx.util.format.DateFormat",d="Escape",f="changeValue",g="Left",h="Down",i="button",j="Up",k="execute",l="qx.event.type.Data",m="inner",n="list",o="changeLocale",p="visible",q="middle",r="String",s="_applyDateFormat",t="pointerup",u="",v="changeVisibility",w="textfield",x="qx.dynlocale",y="medium",z="focusin",A="popup",B="qx.ui.form.DateField",C="focusout",D="datefield",E="_applyPlaceholder",F="hidden",G="tap",H="Right";qx.Class.define(B,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.form.MForm],implement:[qx.ui.form.IForm,qx.ui.form.IDateForm],construct:function(){qx.ui.core.Widget.call(this);var J=new qx.ui.layout.HBox();this._setLayout(J);J.setAlignY(q);var I=this._createChildControl(w);this._createChildControl(i);this.addListener(G,this._onTap,this);this.addListener(b,this._onBlur,this);this.addListener(z,function(e){I.fireNonBubblingEvent(z,qx.event.type.Focus);I.setTextSelection(0,0);},this);this.addListener(C,function(e){I.fireNonBubblingEvent(C,qx.event.type.Focus);},this);this._setDefaultDateFormat();this._addLocaleChangeListener();},events:{"changeValue":l},properties:{dateFormat:{check:c,apply:s},placeholder:{check:r,nullable:true,apply:E},appearance:{refine:true,init:D},focusable:{refine:true,init:true},width:{refine:true,init:120}},statics:{__pf:null,__pg:null,getDefaultDateFormatter:function(){var K=qx.locale.Date.getDateFormat(y).toString();if(K==this.__pf){return this.__pg;};if(this.__pg){this.__pg.dispose();};this.__pg=new qx.util.format.DateFormat(K,qx.locale.Manager.getInstance().getLocale());this.__pf=K;return this.__pg;}},members:{__ph:null,_forwardStates:{focused:true,invalid:true},_setDefaultDateFormat:function(){this.setDateFormat(qx.ui.form.DateField.getDefaultDateFormatter());},_addLocaleChangeListener:function(){if(qx.core.Environment.get(x)){this.__ph=qx.locale.Manager.getInstance().addListener(o,function(){this._setDefaultDateFormat();},this);};},setValue:function(N){var L=this.getChildControl(w);L.setValue(this.getDateFormat().format(N));var M=this.getChildControl(n);M.setValue(N);},getValue:function(){var O=this.getChildControl(w).getValue();try{return this.getDateFormat().parse(O);}catch(P){return null;};},resetValue:function(){var Q=this.getChildControl(w);Q.setValue(u);var R=this.getChildControl(n);R.setValue(null);},open:function(){var S=this.getChildControl(A);S.placeToWidget(this,true);S.show();},close:function(){this.getChildControl(A).hide();},toggle:function(){var T=this.getChildControl(A).isVisible();if(T){this.close();}else {this.open();};},_applyDateFormat:function(Y,W){if(!W){return;};try{var V=this.getChildControl(w);var X=V.getValue();var U=W.parse(X);V.setValue(Y.format(U));}catch(ba){};},_applyPlaceholder:function(bc,bb){this.getChildControl(w).setPlaceholder(bc);},_createChildControlImpl:function(bf,be){var bd;switch(bf){case w:bd=new qx.ui.form.TextField();bd.setFocusable(false);bd.addState(m);bd.addListener(f,this._onTextFieldChangeValue,this);bd.addListener(b,this.close,this);this._add(bd,{flex:1});break;case i:bd=new qx.ui.form.Button();bd.setFocusable(false);bd.setKeepActive(true);bd.addState(m);bd.addListener(k,this.toggle,this);this._add(bd);break;case n:bd=new qx.ui.control.DateChooser();bd.setFocusable(false);bd.setKeepFocus(true);bd.addListener(k,this._onChangeDate,this);break;case A:bd=new qx.ui.popup.Popup(new qx.ui.layout.VBox);bd.setAutoHide(false);bd.add(this.getChildControl(n));bd.addListener(t,this._onChangeDate,this);bd.addListener(v,this._onPopupChangeVisibility,this);break;};return bd||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bf);},_onChangeDate:function(e){var bg=this.getChildControl(w);var bh=this.getChildControl(n).getValue();bg.setValue(this.getDateFormat().format(bh));this.close();},_onTap:function(e){this.close();},_onBlur:function(e){this.close();},_onKeyPress:function(e){var bi=e.getKeyIdentifier();if(bi==h&&e.isAltPressed()){this.toggle();e.stopPropagation();return;};var bj=this.getChildControl(A);if(bj.getVisibility()==F){return;};if(bi==d){this.close();e.stopPropagation();return;};if(bi===g||bi===H||bi===h||bi===j){e.preventDefault();};this.getChildControl(n).handleKeyPress(e);},_onPopupChangeVisibility:function(e){e.getData()==p?this.addState(a):this.removeState(a);var bl=this.getChildControl(A);if(bl.isVisible()){var bm=this.getChildControl(n);var bk=this.getValue();bm.setValue(bk);};},_onTextFieldChangeValue:function(e){var bn=this.getValue();if(bn!=null){var bo=this.getChildControl(n);bo.setValue(bn);};this.fireDataEvent(f,this.getValue());},isEmpty:function(){var bp=this.getChildControl(w).getValue();return bp==null||bp==u;}},destruct:function(){if(qx.core.Environment.get(x)){if(this.__ph){qx.locale.Manager.getInstance().removeListenerById(this.__ph);};};}});})();(function(){var a="qx.util.format.IFormat";qx.Interface.define(a,{members:{format:function(b){},parse:function(c){}}});})();(function(){var a="-",b="QQQ",c='W',d="qqqq",e="h",f="KK",g='L',h=" is not supported",m="Z",n="Date string '",o="GGGGG",p='abbreviated',q="Y+",r=". Wildcard ",s="eeeee",t="(\\d\\d?)",u="LL",v="abbreviated",w="EEEE",x="^",y=":",z='y',A="quoted_literal",B="weekOfYear",C="locale",D="SSS",E='a',F="day",G="(-*",H="qqq",I="(\\d\\d)",J='3rd quarter',K="K",L='q',M="pm",N="Error parsing date '",O='Anno Domini',P='G',Q="a",R='2nd quarter',S="yyyy-MM-dd'T'HH:mm:ss",T="GMT",U="HH:mm:ss",V="dd",W="+",X="qx.util.format.DateFormat",Y='weekDay',el="am",eg="eee",em="quarter",ei="ee",ej="q",ef="QQQQ",ek="HHmmss",eq="ww",er="H",es='Y+',et="wide",en='wide',eo="(\\d\\d\\d?)",eh="(GMT[\\+\\-]\\d\\d:\\d\\d)",ep="_applyLocale",ex="Q",fb="c",ey="(",ez="weekOfMonth",eu="ccc",ev="long",gc="Malformed date format: ",ew="EEEEE",eA='Y',eB="EE",eC="GGG",eH='-',eI="w",eJ="mm",eD='h',eE="S",eF='s',eG='A',eO="yyyy-MM-dd",eP="G",eQ='z',eR="GG",eK=")",eL="kk",eM="ss",eN="([\\+\\-]\\d\\d\\d\\d)",eV="default",eW='BC',gg='H',eX='S',eS='1st quarter',eT="stand-alone",ge="0",eU="MMMM",eY='c',fa="d",fm='Q',fl='Q1',fk="eeee",fq="QQ",fp="LLLLL",fo="HH",fn='k',ff="m",fe="DDD",fd="D",fc='D',fj="LLLL",fi="(\\d\\d*?)",fh='e',fg="': the value for day or month is too large",fx="literal",fw='K',fv="L",fu="hh",fB="ms",fA="(\\d\\d?\\d?)",fz="cccc",fy="e",ft='y+',fs="|",fr="W",fM="dayOfYear",fL="GGGG",fK='Q2',fQ='B',fP="MM",fO='Q4',fN="y+",fF='narrow',fE="ccccc",fD="E",fC="wildcard",fJ='',fI="' does not match the date format: ",fH="short",fG='d',fW="unkown",fV="narrow",fU="\\d?",fT="'",gb="k",ga='Before Christ',fY='Z',fX='m',fS=" ",fR="yyyy-MM-dd'T'HH:mm:ss'Z'",dP="String",dO='Q3',gh="z",dM="DD",dN="min",dL="",gf='M',dJ="sec",dK='isoUtcDateTime',dI='4th quarter',gd="(\\d?)",dG="SS",dH="MMM",dF="s",dY="M",ea='w',dW="EEE",dX="$",dU="?",dV='AD',dT="\\d",dE="+?",dR="hour",dS="MMMMM",dQ='E',ee='month',ec="LLL",ed="qq",eb="format";qx.Class.define(X,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(gj,gi){qx.core.Object.call(this);if(!gi){this.__kU=qx.locale.Manager.getInstance().getLocale();this.__pi=qx.locale.Manager.getInstance().bind(C,this,C);}else {this.__kU=gi;this.setLocale(gi);};this.__pj=this.__kU;if(gj!=null){this.__pk=gj.toString();if(this.__pk in qx.util.format.DateFormat.ISO_MASKS){if(this.__pk===dK){this.__pl=true;};this.__pk=qx.util.format.DateFormat.ISO_MASKS[this.__pk];};}else {this.__pk=qx.locale.Date.getDateFormat(ev,this.__kU)+fS+qx.locale.Date.getDateTimeFormat(ek,U,this.__kU);};},properties:{locale:{apply:ep,nullable:true,check:dP}},statics:{getDateInstance:function(){var gk=qx.util.format.DateFormat;var gl=qx.locale.Date.getDateFormat(fH)+dL;if(gk._dateInstance==null||gk._dateInstance.__pk!=gl){gk._dateInstance=new gk(gl);};return gk._dateInstance;},getDateTimeInstance:function(){var gm=qx.util.format.DateFormat;var gn=qx.locale.Date.getDateFormat(ev)+fS+qx.locale.Date.getDateTimeFormat(ek,U);if(gm._dateTimeInstance==null||gm._dateTimeInstance.__pk!=gn){gm._dateTimeInstance=new gm(gn);};return gm._dateTimeInstance;},ASSUME_YEAR_2000_THRESHOLD:30,ISO_MASKS:{isoDate:eO,isoTime:U,isoDateTime:S,isoUtcDateTime:fR},AM_MARKER:el,PM_MARKER:M},members:{__pi:null,__kU:null,__pj:null,__pk:null,__pm:null,__pn:null,__po:null,__pl:null,__pp:function(gp,go){var gq=dL+(gp<0?(-1*gp):gp);while(gq.length0?1:-1;var gT=Math.floor(Math.abs(hd)/60);var hl=Math.abs(hd)%60;this.__py();var hn=dL;for(var i=0;ihp.length){for(var j=hp.length;jhp.length){for(var j=gX.length;j=1&&hg<=3){hp=hb>0?dV:eW;}else if(hg==4){hp=hb>0?O:ga;}else if(hg==5){hp=hb>0?eG:fQ;};break;case fm:if(hg==1||hg==2){hp=this.__pp(parseInt(gW/4)+1,hg);};if(hg==3){hp=fm+(parseInt(gW/4)+1);};break;case L:if(hg==1||hg==2){hp=this.__pp(parseInt(gW/4)+1,hg);};if(hg==3){hp=fm+(parseInt(gW/4)+1);};break;case fc:hp=this.__pp(this.__pq(hj),hg);break;case fG:hp=this.__pp(ha,hg);break;case ea:hp=this.__pp(this.__ps(hj),hg);break;case c:hp=this.__pt(hj);break;case dQ:if(hg>=1&&hg<=3){hp=qx.locale.Date.getDayName(v,he,gV,eb,true);}else if(hg==4){hp=qx.locale.Date.getDayName(et,he,gV,eb,true);}else if(hg==5){hp=qx.locale.Date.getDayName(fV,he,gV,eb,true);};break;case fh:var gY=qx.locale.Date.getWeekStart(gV);var hk=1+((he-gY>=0)?(he-gY):7+(he-gY));if(hg>=1&&hg<=2){hp=this.__pp(hk,hg);}else if(hg==3){hp=qx.locale.Date.getDayName(v,he,gV,eb,true);}else if(hg==4){hp=qx.locale.Date.getDayName(et,he,gV,eb,true);}else if(hg==5){hp=qx.locale.Date.getDayName(fV,he,gV,eb,true);};break;case eY:var gY=qx.locale.Date.getWeekStart(gV);var hk=1+((he-gY>=0)?(he-gY):7+(he-gY));if(hg==1){hp=fJ+hk;}else if(hg==3){hp=qx.locale.Date.getDayName(v,he,gV,eT,true);}else if(hg==4){hp=qx.locale.Date.getDayName(et,he,gV,eT,true);}else if(hg==5){hp=qx.locale.Date.getDayName(fV,he,gV,eT,true);};break;case gf:if(hg==1||hg==2){hp=this.__pp(gW+1,hg);}else if(hg==3){hp=qx.locale.Date.getMonthName(v,gW,gV,eb,true);}else if(hg==4){hp=qx.locale.Date.getMonthName(et,gW,gV,eb,true);}else if(hg==5){hp=qx.locale.Date.getMonthName(fV,gW,gV,eb,true);};break;case g:if(hg==1||hg==2){hp=this.__pp(gW+1,hg);}else if(hg==3){hp=qx.locale.Date.getMonthName(v,gW,gV,eT,true);}else if(hg==4){hp=qx.locale.Date.getMonthName(et,gW,gV,eT,true);}else if(hg==5){hp=qx.locale.Date.getMonthName(fV,gW,gV,eT,true);};break;case E:hp=(hh<12)?qx.locale.Date.getAmMarker(gV):qx.locale.Date.getPmMarker(gV);break;case gg:hp=this.__pp(hh,hg);break;case fn:hp=this.__pp((hh==0)?24:hh,hg);break;case fw:hp=this.__pp(hh%12,hg);break;case eD:hp=this.__pp(((hh%12)==0)?12:(hh%12),hg);break;case fX:hp=this.__pp(ho,hg);break;case eF:hp=this.__pp(hf,hg);break;case eX:hp=this.__pp(hm,3);if(hghp.length){hp+=ge;};};break;case eQ:if(hg>=1&&hg<=4){hp=T+((hi>0)?a:W)+this.__pp(Math.abs(gT),2)+y+this.__pp(hl,2);};break;case fY:if(hg>=1&&hg<=3){hp=((hi>0)?a:W)+this.__pp(Math.abs(gT),2)+this.__pp(hl,2);}else {hp=T+((hi>0)?a:W)+this.__pp(Math.abs(gT),2)+y+this.__pp(hl,2);};break;};hn+=hp;};};return hn;},parse:function(hw){this.__pz();var hz=this.__pm.regex.exec(hw);if(hz==null){throw new Error(n+hw+fI+this.__pk);};var hq={era:1,year:1970,quarter:1,month:0,day:1,dayOfYear:1,hour:0,ispm:false,weekDay:4,weekYear:1970,weekOfMonth:1,weekOfYear:1,min:0,sec:0,ms:0};var hu=1;var hr=false;var hs=false;for(var i=0;i=hC.length){i++ ;break;};var hD=hC.charAt(i+1);if(hD==fT){hI+=hH;i++ ;}else {i++ ;hF=fW;};}else {hI+=hH;i++ ;};break;case fC:if(hH==hG){hE++ ;i++ ;}else {this.__po.push({type:fC,character:hG,size:hE});hG=null;hE=0;hF=eV;};break;default:if((hH>=E&&hH<=eQ)||(hH>=eG&&hH<=fY)){hG=hH;hF=fC;}else if(hH==fT){if(i+1>=hC.length){hI+=hH;i++ ;break;};var hD=hC.charAt(i+1);if(hD==fT){hI+=hH;i++ ;};i++ ;hF=A;}else {hF=eV;};if(hF!=eV){if(hI.length>0){this.__po.push({type:fx,text:hI});hI=dL;};}else {hI+=hH;i++ ;};break;};};if(hG!=null){this.__po.push({type:fC,character:hG,size:hE});}else if(hI.length>0){this.__po.push({type:fx,text:hI});};},__pz:function(){if(this.__pm!=null){return;};var hM=this.__pk;this.__pB();this.__py();var hS=[];var hN=x;for(var hK=0;hK=0){if(iD=0){if(iF=0;var jk=function(){var jq=ji?jl:jh;var jr=jo===jq[0]?eT:eb;var jp=jj.length;var js=p;switch(jp){case 4:js=en;break;case 5:js=fF;break;default:js=p;};return [jr,js];};if(!ii[jj]){ii[jj]={};var jg=jk();var jn=ji?qx.locale.Date.getMonthNames:qx.locale.Date.getDayNames;var jm=jn.call(qx.locale.Date,jg[1],ib,jg[0],true);for(var i=0,l=jm.length;ibD){return ((bC>=bD)&&(bC<=bB));}else {return ((bC>=bD)||(bC<=bB));};},_getTerritory:function(bE){if(bE){var bF=bE.split(r)[1]||bE;}else {bF=this.__pC.getTerritory()||this.__pC.getLanguage();};return bF.toUpperCase();},__pD:function(bI,bH,bL,bK){var bJ=this.__pC.localize(bL,[],bK);if(bJ==bL){var bG=bL.replace(e+bI+e,e+bH+e);return this.__pC.localize(bG,[],bK);}else {return bJ;};}}});})();(function(){var a="PageUp",b="day",c="lastMonth",d="yyyyMMMM",f="Next month",g="Escape",h="Left",j="last-month-button",k="default",l="today",m="weekday",n="changeValue",o="Space",p="selected",q="Down",r="Integer",s="qx.ui.control.DateChooser",t="Up",u="Enter",v="PageDown",w="day#",z="changeLocale",A="Next year",B="ww",C="_applyValue",D="next-month-button",E="next-month-button-tooltip",F="weekday#",G="last-month-button-tooltip",H="datechooser",I="header",J="week",K="lastYear",L="pointerup",M="otherMonth",N="month-year-label",O="nextYear",P="last-year-button",Q="changeShownYear",R="week#",S="qx.dynlocale",T="next-year-button",U="Last month",V="Right",W="Last year",X="MMMM yyyy",Y="EE",bs="week#0",bt="keypress",bu="",bo="navigation-bar",bp="nextMonth",bq="last-year-button-tooltip",br="next-year-button-tooltip",by="Date",bz="tap",bA="pointerdown",bB="date-pane",bv="dbltap",bw="weekend",bx="changeShownMonth";qx.Class.define(s,{extend:qx.ui.core.Widget,include:[qx.ui.core.MExecutable,qx.ui.form.MForm],implement:[qx.ui.form.IExecutable,qx.ui.form.IForm,qx.ui.form.IDateForm],construct:function(bC){qx.ui.core.Widget.call(this);var bF=new qx.ui.layout.VBox();this._setLayout(bF);this._createChildControl(bo);this._createChildControl(bB);this.addListener(bt,this._onKeyPress);var bD=qx.ui.control.DateChooser;if(!bD.MONTH_YEAR_FORMAT){bD.MONTH_YEAR_FORMAT=qx.locale.Date.getDateTimeFormat(d,X);};var bE=(bC!=null)?bC:new Date();this.showMonth(bE.getMonth(),bE.getFullYear());if(qx.core.Environment.get(S)){qx.locale.Manager.getInstance().addListener(z,this._updateDatePane,this);};this.addListener(bA,this._onPointerUpDown,this);this.addListener(L,this._onPointerUpDown,this);},statics:{MONTH_YEAR_FORMAT:null,WEEKDAY_FORMAT:Y,WEEK_FORMAT:B},properties:{appearance:{refine:true,init:H},width:{refine:true,init:200},height:{refine:true,init:150},shownMonth:{check:r,init:null,nullable:true,event:bx},shownYear:{check:r,init:null,nullable:true,event:Q},value:{check:by,init:null,nullable:true,event:n,apply:C}},members:{__pE:null,__pF:null,__pG:null,_forwardStates:{invalid:true},_createChildControlImpl:function(bK,bH){var bG;switch(bK){case bo:bG=new qx.ui.container.Composite(new qx.ui.layout.HBox());bG.add(this.getChildControl(P));bG.add(this.getChildControl(j));bG.add(this.getChildControl(N),{flex:1});bG.add(this.getChildControl(D));bG.add(this.getChildControl(T));this._add(bG);break;case bq:bG=new qx.ui.tooltip.ToolTip(this.tr(W));break;case P:bG=new qx.ui.toolbar.Button();bG.addState(K);bG.setFocusable(false);bG.setToolTip(this.getChildControl(bq));bG.addListener(bz,this._onNavButtonTap,this);break;case G:bG=new qx.ui.tooltip.ToolTip(this.tr(U));break;case j:bG=new qx.ui.toolbar.Button();bG.addState(c);bG.setFocusable(false);bG.setToolTip(this.getChildControl(G));bG.addListener(bz,this._onNavButtonTap,this);break;case E:bG=new qx.ui.tooltip.ToolTip(this.tr(f));break;case D:bG=new qx.ui.toolbar.Button();bG.addState(bp);bG.setFocusable(false);bG.setToolTip(this.getChildControl(E));bG.addListener(bz,this._onNavButtonTap,this);break;case br:bG=new qx.ui.tooltip.ToolTip(this.tr(A));break;case T:bG=new qx.ui.toolbar.Button();bG.addState(O);bG.setFocusable(false);bG.setToolTip(this.getChildControl(br));bG.addListener(bz,this._onNavButtonTap,this);break;case N:bG=new qx.ui.basic.Label();bG.setAllowGrowX(true);bG.setAnonymous(true);break;case J:bG=new qx.ui.basic.Label();bG.setAllowGrowX(true);bG.setAllowGrowY(true);bG.setSelectable(false);bG.setAnonymous(true);bG.setCursor(k);break;case m:bG=new qx.ui.basic.Label();bG.setAllowGrowX(true);bG.setAllowGrowY(true);bG.setSelectable(false);bG.setAnonymous(true);bG.setCursor(k);break;case b:bG=new qx.ui.basic.Label();bG.setAllowGrowX(true);bG.setAllowGrowY(true);bG.setCursor(k);bG.addListener(bA,this._onDayTap,this);bG.addListener(bv,this._onDayDblTap,this);break;case bB:var bJ=new qx.ui.layout.Grid();bG=new qx.ui.container.Composite(bJ);for(var i=0;i<8;i++ ){bJ.setColumnFlex(i,1);};for(var i=0;i<7;i++ ){bJ.setRowFlex(i,1);};var bI=this.getChildControl(bs);bI.addState(I);bG.add(bI,{column:0,row:0});this.__pE=[];for(var i=0;i<7;i++ ){bI=this.getChildControl(F+i);bG.add(bI,{column:i+1,row:0});this.__pE.push(bI);};this.__pF=[];this.__pG=[];for(var y=0;y<6;y++ ){var bI=this.getChildControl(R+(y+1));bG.add(bI,{column:0,row:y+1});this.__pG.push(bI);for(var x=0;x<7;x++ ){var bI=this.getChildControl(w+((y*7)+x));bG.add(bI,{column:x+1,row:y+1});this.__pF.push(bI);};};this._add(bG);break;};return bG||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bK);},_applyValue:function(bN,bM){if((bN!=null)&&(this.getShownMonth()!=bN.getMonth()||this.getShownYear()!=bN.getFullYear())){this.showMonth(bN.getMonth(),bN.getFullYear());}else {var bL=(bN==null)?-1:bN.getDate();for(var i=0;i<6*7;i++ ){var bO=this.__pF[i];if(bO.hasState(M)){if(bO.hasState(p)){bO.removeState(p);};}else {var bP=parseInt(bO.getValue(),10);if(bP==bL){bO.addState(p);}else if(bO.hasState(p)){bO.removeState(p);};};};};},_onPointerUpDown:function(e){var bQ=e.getTarget();if(bQ==this.getChildControl(bo)||bQ==this.getChildControl(bB)){e.stopPropagation();return;};},_onNavButtonTap:function(bS){var bR=this.getShownYear();var bT=this.getShownMonth();switch(bS.getCurrentTarget()){case this.getChildControl(P):bR-- ;break;case this.getChildControl(j):bT-- ;if(bT<0){bT=11;bR-- ;};break;case this.getChildControl(D):bT++ ;if(bT>=12){bT=0;bR++ ;};break;case this.getChildControl(T):bR++ ;break;};this.showMonth(bT,bR);},_onDayTap:function(bU){var bV=bU.getCurrentTarget().dateTime;this.setValue(new Date(bV));},_onDayDblTap:function(){this.execute();},_onKeyPress:function(bY){var ca=null;var cb=null;var bX=null;if(bY.getModifiers()==0){switch(bY.getKeyIdentifier()){case h:ca=-1;break;case V:ca=1;break;case t:ca=-7;break;case q:ca=7;break;case a:cb=-1;break;case v:cb=1;break;case g:if(this.getValue()!=null){this.setValue(null);return;};break;case u:case o:if(this.getValue()!=null){this.execute();};return;};}else if(bY.isShiftPressed()){switch(bY.getKeyIdentifier()){case a:bX=-1;break;case v:bX=1;break;};};if(ca!=null||cb!=null||bX!=null){var bW=this.getValue();if(bW!=null){bW=new Date(bW.getTime());};if(bW==null){bW=new Date();}else {if(ca!=null){bW.setDate(bW.getDate()+ca);};if(cb!=null){bW.setMonth(bW.getMonth()+cb);};if(bX!=null){bW.setFullYear(bW.getFullYear()+bX);};};this.setValue(bW);};},showMonth:function(cc,cd){if((cc!=null&&cc!=this.getShownMonth())||(cd!=null&&cd!=this.getShownYear())){if(cc!=null){this.setShownMonth(cc);};if(cd!=null){this.setShownYear(cd);};this._updateDatePane();};},handleKeyPress:function(e){this._onKeyPress(e);},_updateDatePane:function(){var ct=qx.ui.control.DateChooser;var cq=new Date();var ci=cq.getFullYear();var co=cq.getMonth();var cl=cq.getDate();var cu=this.getValue();var cx=(cu==null)?-1:cu.getFullYear();var cE=(cu==null)?-1:cu.getMonth();var cn=(cu==null)?-1:cu.getDate();var cm=this.getShownMonth();var cB=this.getShownYear();var cj=qx.locale.Date.getWeekStart();var cv=new Date(this.getShownYear(),this.getShownMonth(),1);var cs=new qx.util.format.DateFormat(ct.MONTH_YEAR_FORMAT);this.getChildControl(N).setValue(cs.format(cv));var cD=cv.getDay();var cp=1+((7-cD)%7);var cw=new qx.util.format.DateFormat(ct.WEEKDAY_FORMAT);for(var i=0;i<7;i++ ){var cy=(i+cj)%7;var cA=this.__pE[i];cv.setDate(cp+cy);cA.setValue(cw.format(cv));if(qx.locale.Date.isWeekend(cy)){cA.addState(bw);}else {cA.removeState(bw);};};cv=new Date(cB,cm,1,12,0,0);var cf=(7+cD-cj)%7;cv.setDate(cv.getDate()-cf);var cz=new qx.util.format.DateFormat(ct.WEEK_FORMAT);for(var cr=0;cr<6;cr++ ){this.__pG[cr].setValue(cz.format(cv));for(var i=0;i<7;i++ ){var cA=this.__pF[cr*7+i];var ch=cv.getFullYear();var cg=cv.getMonth();var ck=cv.getDate();var ce=(cx==ch&&cE==cg&&cn==ck);if(ce){cA.addState(p);}else {cA.removeState(p);};if(cg!=cm){cA.addState(M);}else {cA.removeState(M);};var cC=(ch==ci&&cg==co&&ck==cl);if(cC){cA.addState(l);}else {cA.removeState(l);};cA.setValue(bu+ck);cA.dateTime=cv.getTime();cv.setDate(cv.getDate()+1);};};cs.dispose();cw.dispose();cz.dispose();}},destruct:function(){if(qx.core.Environment.get(S)){qx.locale.Manager.getInstance().removeListener(z,this._updateDatePane,this);};this.__pE=this.__pF=this.__pG=null;}});})();(function(){var a="inherit",b="toolbar-button",c="keydown",d="qx.ui.toolbar.Button",e="keyup";qx.Class.define(d,{extend:qx.ui.form.Button,construct:function(f,h,g){qx.ui.form.Button.call(this,f,h,g);this.removeListener(c,this._onKeyDown);this.removeListener(e,this._onKeyUp);},properties:{appearance:{refine:true,init:b},show:{refine:true,init:a},focusable:{refine:true,init:false}},members:{_applyVisibility:function(j,i){qx.ui.form.Button.prototype._applyVisibility.call(this,j,i);var parent=this.getLayoutParent();if(parent&&parent instanceof qx.ui.toolbar.PartContainer){qx.ui.core.queue.Appearance.add(parent);};}}});})();(function(){var a="toolbar/part/container",b="icon",c="label",d="qx.ui.toolbar.PartContainer",e="qx.event.type.Event",f="changeShow",g="both",h="changeChildren";qx.Class.define(d,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this);this._setLayout(new qx.ui.layout.HBox);},events:{changeChildren:e},properties:{appearance:{refine:true,init:a},show:{init:g,check:[g,c,b],inheritable:true,event:f}},members:{_afterAddChild:function(i){this.fireEvent(h);},_afterRemoveChild:function(j){this.fireEvent(h);}}});})();(function(){var a="change",b="qx.ui.form.Form",c="qx.event.type.Event",d="";qx.Class.define(b,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__pH=[];this._buttons=[];this._buttonOptions=[];this._validationManager=this._createValidationManager();this._resetter=this._createResetter();},events:{"change":c},members:{__pH:null,_validationManager:null,_groupCounter:0,_buttons:null,_buttonOptions:null,_resetter:null,add:function(g,f,h,name,e,k){if(this.__pI()){this.__pH.push({title:null,items:[],labels:[],names:[],options:[],headerOptions:{}});};this.__pH[this._groupCounter].items.push(g);this.__pH[this._groupCounter].labels.push(f);this.__pH[this._groupCounter].options.push(k);if(name==null){name=f.replace(/\s+|&|-|\+|\*|\/|\||!|\.|,|:|\?|;|~|%|\{|\}|\(|\)|\[|\]|<|>|=|\^|@|\\/g,d);};this.__pH[this._groupCounter].names.push(name);this._validationManager.add(g,h,e);this._resetter.add(g);this.fireEvent(a);},addGroupHeader:function(m,l){if(!this.__pI()){this._groupCounter++ ;};this.__pH.push({title:m,items:[],labels:[],names:[],options:[],headerOptions:l});this.fireEvent(a);},addButton:function(n,o){this._buttons.push(n);this._buttonOptions.push(o||null);this.fireEvent(a);},__pI:function(){return this.__pH.length===0;},remove:function(p){for(var i=0;i=0;i+=A){C=D[i];if(C.isEnabled()&&!C.isAnonymous()&&C.isVisible()){return C;};};if(E){i=i==length?0:length-1;for(;i!=B;i+=A){C=D[i];if(C.isEnabled()&&!C.isAnonymous()&&C.isVisible()){return C;};};};return null;},_isInMenu:function(F){while(F){if(F instanceof qx.ui.menu.Menu){return true;};F=F.getLayoutParent();};return false;},_isMenuOpener:function(H){var G=this.__lq;for(var i=0;i=0;i-- ){N[i].exclude();};};},getActiveMenu:function(){var O=this.__lq;return O.length>0?O[O.length-1]:null;},scheduleOpen:function(P){this.cancelClose(P);if(P.isVisible()){if(this.__qd){this.cancelOpen(this.__qd);};}else if(this.__qd!=P){this.__qd=P;this.__qb.restartWith(P.getOpenInterval());};},scheduleClose:function(Q){this.cancelOpen(Q);if(!Q.isVisible()){if(this.__qe){this.cancelClose(this.__qe);};}else if(this.__qe!=Q){this.__qe=Q;this.__qc.restartWith(Q.getCloseInterval());};},cancelOpen:function(R){if(this.__qd==R){this.__qb.stop();this.__qd=null;};},cancelClose:function(S){if(this.__qe==S){this.__qc.stop();this.__qe=null;};},_onOpenInterval:function(e){this.__qb.stop();this.__qd.open();this.__qd=null;},_onCloseInterval:function(e){this.__qc.stop();this.__qe.exclude();this.__qe=null;},preventContextMenuOnce:function(){qx.event.Registration.addListener(document.body,h,this.__qf,this,true);},__qf:function(e){var T=e.getTarget();T=qx.ui.core.Widget.getWidgetByElement(T,true);if(this._isInMenu(T)){e.stopPropagation();e.preventDefault();};qx.event.Registration.removeListener(document.body,h,this.__qf,this,true);},_onPointerDown:function(e){var U=e.getTarget();U=qx.ui.core.Widget.getWidgetByElement(U,true);if(U==null){this.hideAll();return;};if(U.getMenu&&U.getMenu()&&U.getMenu().isVisible()){return;};if(this.__lq.length>0&&!this._isInMenu(U)){this.hideAll();};},__qg:{"Enter":1,"Space":1},__oW:{"Escape":1,"Up":1,"Down":1,"Left":1,"Right":1},_onKeyUpDown:function(e){var V=this.getActiveMenu();if(!V){return;};var W=e.getKeyIdentifier();if(this.__oW[W]||(this.__qg[W]&&V.getSelectedButton())){e.stopPropagation();};},_onKeyPress:function(e){var ba=this.getActiveMenu();if(!ba){return;};var X=e.getKeyIdentifier();var bc=this.__oW[X];var Y=this.__qg[X];if(bc){switch(X){case d:this._onKeyPressUp(ba);break;case s:this._onKeyPressDown(ba);break;case q:this._onKeyPressLeft(ba);break;case t:this._onKeyPressRight(ba);break;case m:this.hideAll();break;};e.stopPropagation();e.preventDefault();}else if(Y){var bb=ba.getSelectedButton();if(bb){switch(X){case c:this._onKeyPressEnter(ba,bb,e);break;case w:this._onKeyPressSpace(ba,bb,e);break;};e.stopPropagation();e.preventDefault();};};},_onKeyPressUp:function(bh){var bd=bh.getSelectedButton();var be=bh.getChildren();var bf=bd?bh.indexOf(bd)-1:be.length-1;var bg=this._getChild(bh,bf,-1,true);if(bg){bh.setSelectedButton(bg);}else {bh.resetSelectedButton();};},_onKeyPressDown:function(bi){var bj=bi.getSelectedButton();var bl=bj?bi.indexOf(bj)+1:0;var bk=this._getChild(bi,bl,1,true);if(bk){bi.setSelectedButton(bk);}else {bi.resetSelectedButton();};},_onKeyPressLeft:function(bo){var bq=bo.getOpener();if(!bq){return;};if(bq instanceof qx.ui.menu.AbstractButton){var bn=bq.getLayoutParent();bn.resetOpenedButton();bn.setSelectedButton(bq);}else if(bq instanceof qx.ui.menubar.Button){var br=bq.getMenuBar().getMenuButtons();var bm=br.indexOf(bq);if(bm===-1){return;};var bs=null;var length=br.length;for(var i=1;i<=length;i++ ){var bp=br[(bm-i+length)%length];if(bp.isEnabled()&&bp.isVisible()){bs=bp;break;};};if(bs&&bs!=bq){bs.open(true);};};},_onKeyPressRight:function(bw){var bu=bw.getSelectedButton();if(bu){var bt=bu.getMenu();if(bt){bw.setOpenedButton(bu);var bB=this._getChild(bt,0,1);if(bB){bt.setSelectedButton(bB);};return;};}else if(!bw.getOpenedButton()){var bB=this._getChild(bw,0,1);if(bB){bw.setSelectedButton(bB);if(bB.getMenu()){bw.setOpenedButton(bB);};return;};};var by=bw.getOpener();if(by instanceof qx.ui.menu.Button&&bu){while(by){by=by.getLayoutParent();if(by instanceof qx.ui.menu.Menu){by=by.getOpener();if(by instanceof qx.ui.menubar.Button){break;};}else {break;};};if(!by){return;};};if(by instanceof qx.ui.menubar.Button){var bz=by.getMenuBar().getMenuButtons();var bv=bz.indexOf(by);if(bv===-1){return;};var bA=null;var length=bz.length;for(var i=1;i<=length;i++ ){var bx=bz[(bv+i)%length];if(bx.isEnabled()&&bx.isVisible()){bA=bx;break;};};if(bA&&bA!=by){bA.open(true);};};},_onKeyPressEnter:function(bC,bD,e){if(bD.hasListener(b)){var bE=e.clone();bE.setBubbles(false);bE.setTarget(bD);bD.dispatchEvent(bE);};this.hideAll();},_onKeyPressSpace:function(bF,bG,e){if(bG.hasListener(b)){var bH=e.clone();bH.setBubbles(false);bH.setTarget(bG);bG.dispatchEvent(bH);};},_onRoll:function(e){var bI=e.getTarget();bI=qx.ui.core.Widget.getWidgetByElement(bI,true);if(this.__lq.length>0&&!this._isInMenu(bI)&&!this._isMenuOpener(bI)&&!e.getMomentum()){this.hideAll();};}},destruct:function(){var bK=qx.event.Registration;var bJ=document.body;bK.removeListener(window.document.documentElement,n,this._onPointerDown,this,true);bK.removeListener(bJ,p,this._onKeyUpDown,this,true);bK.removeListener(bJ,u,this._onKeyUpDown,this,true);bK.removeListener(bJ,b,this._onKeyPress,this,true);this._disposeObjects(l,g);this._disposeArray(f);}});})();(function(){var a="hovered",b="inherit",c="pressed",d="mouse",f="qx.ui.menubar.Button",g="keydown",h="menubar-button",i="keyup";qx.Class.define(f,{extend:qx.ui.form.MenuButton,construct:function(k,l,j){qx.ui.form.MenuButton.call(this,k,l,j);this.removeListener(g,this._onKeyDown);this.removeListener(i,this._onKeyUp);},properties:{appearance:{refine:true,init:h},show:{refine:true,init:b},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(m){qx.ui.form.MenuButton.prototype.open.call(this,m);var menubar=this.getMenuBar();if(menubar){menubar._setAllowMenuOpenHover(true);};},_onMenuChange:function(e){var n=this.getMenu();var menubar=this.getMenuBar();if(n.isVisible()){this.addState(c);if(menubar){menubar.setOpenMenu(n);};}else {this.removeState(c);if(menubar&&menubar.getOpenMenu()==n){menubar.resetOpenMenu();menubar._setAllowMenuOpenHover(false);};};},_onPointerUp:function(e){qx.ui.form.MenuButton.prototype._onPointerUp.call(this,e);var o=this.getMenu();if(o&&o.isVisible()&&!this.hasState(c)){this.addState(c);};},_onPointerOver:function(e){this.addState(a);if(this.getMenu()&&e.getPointerType()==d){var menubar=this.getMenuBar();if(menubar&&menubar._isAllowMenuOpenHover()){qx.ui.menu.Manager.getInstance().hideAll();menubar._setAllowMenuOpenHover(true);if(this.isEnabled()){this.open();};};};}}});})();(function(){var a="Boolean",b="changeShow",c="qx.ui.core.Widget",d="_applyOverflowHandling",f="both",g="_applySpacing",h="qx.ui.toolbar.ToolBar",j="qx.event.type.Data",k="Integer",m="showItem",n="Widget must be child of the toolbar.",o="visible",p="changeOpenMenu",q="resize",r="icon",s="_applyOverflowIndicator",t="toolbar",u="qx.ui.menu.Menu",v="Priority already in use!",w="label",x="_applyShow",y="excluded",z="show",A="hideItem";qx.Class.define(h,{extend:qx.ui.core.Widget,include:qx.ui.core.MChildrenHandling,construct:function(){qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.HBox());this.__qh=[];this.__qi=[];},properties:{appearance:{refine:true,init:t},openMenu:{check:u,event:p,nullable:true},show:{init:f,check:[f,w,r],inheritable:true,apply:x,event:b},spacing:{nullable:true,check:k,themeable:true,apply:g},overflowIndicator:{check:c,nullable:true,apply:s},overflowHandling:{init:false,check:a,apply:d}},events:{"hideItem":j,"showItem":j},members:{__qh:null,__qi:null,_computeSizeHint:function(){var D=qx.ui.core.Widget.prototype._computeSizeHint.call(this);if(true&&this.getOverflowHandling()){var B=0;var C=this.getOverflowIndicator();if(C){B=C.getSizeHint().width+this.getSpacing();};D.minWidth=B;};return D;},_onResize:function(e){this._recalculateOverflow(e.getData().width);},_recalculateOverflow:function(F,G){if(!this.getOverflowHandling()){return;};G=G||this.getSizeHint().width;var E=this.getOverflowIndicator();var L=0;if(E){L=E.getSizeHint().width;};if(F==undefined&&this.getBounds()!=null){F=this.getBounds().width;};if(F==undefined){return;};if(FF);}else if(this.__qh.length>0){do {var Q=this.__qh[0];if(Q){var P=Q.getMarginLeft()+Q.getMarginRight();P=Math.max(P,this.getSpacing());if(Q.getContentElement().getDomElement()==null){Q.syncAppearance();Q.invalidateLayoutCache();};var I=Q.getSizeHint().width;var O=false;if(this.__qh.length==1&&L>0){var N=P-this.getSpacing();var M=G-L+I+N;O=F>M;};if(F>G+I+P||O){this.__qj(Q);G+=I;if(E&&this.__qh.length==0){E.setVisibility(y);};}else {return;};};}while(F>=G&&this.__qh.length>0);};},__qj:function(R){R.setVisibility(o);this.__qh.shift();this.fireDataEvent(m,R);},__qk:function(S){if(!S){return;};this.__qh.unshift(S);S.setVisibility(y);this.fireDataEvent(A,S);},_getNextToHide:function(){for(var i=this.__qi.length-1;i>=0;i-- ){var T=this.__qi[i];if(T&&T.getVisibility&&T.getVisibility()==o){return T;};};var U=this._getChildren();for(var i=U.length-1;i>=0;i-- ){var V=U[i];if(V==this.getOverflowIndicator()){continue;};if(V.getVisibility&&V.getVisibility()==o){return V;};};},setRemovePriority:function(X,W,Y){if(!Y&&this.__qi[W]!=undefined){throw new Error(v);};this.__qi[W]=X;},_applyOverflowHandling:function(bc,ba){this.invalidateLayoutCache();var parent=this.getLayoutParent();if(parent){parent.invalidateLayoutCache();};var bb=this.getBounds();if(bb&&bb.width){this._recalculateOverflow(bb.width);};if(bc){this.addListener(q,this._onResize,this);}else {this.removeListener(q,this._onResize,this);var bd=this.getOverflowIndicator();if(bd){bd.setVisibility(y);};for(var i=0;ibm){this._assertSlideBar(function(){this.setHeight(bm-top);});}else {this.setHeight(null);};},_assertSlideBar:function(bp){if(this.hasChildControl(h)){return bp.call(this);};this.__qo=bp;qx.ui.core.queue.Widget.add(this);},syncWidget:function(bq){this.getChildControl(h);if(this.__qo){this.__qo.call(this);delete this.__qo;};},_onResize:function(){if(this.isVisible()){var br=this._placementTarget;if(!br){return;}else if(br instanceof qx.ui.core.Widget){this.placeToWidget(br,true);}else if(br.top!==undefined){this.placeToPoint(br);}else {throw new Error(y+br);};this.__qq();};},_onPointerOver:function(e){var bt=qx.ui.menu.Manager.getInstance();bt.cancelClose(this);var bu=e.getTarget();if(bu.isEnabled()&&bu instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(bu);var bs=bu.getMenu&&bu.getMenu();if(bs){bs.setOpener(bu);bt.scheduleOpen(bs);this.__qn=bs;}else {var bv=this.getOpenedButton();if(bv){bt.scheduleClose(bv.getMenu());};if(this.__qn){bt.cancelOpen(this.__qn);this.__qn=null;};};}else if(!this.getOpenedButton()){this.resetSelectedButton();};},_onPointerOut:function(e){var bw=qx.ui.menu.Manager.getInstance();if(!qx.ui.core.Widget.contains(this,e.getRelatedTarget())){var bx=this.getOpenedButton();bx?this.setSelectedButton(bx):this.resetSelectedButton();if(bx){bw.cancelClose(bx.getMenu());};if(this.__qn){bw.cancelOpen(this.__qn);};};}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){qx.ui.menu.Manager.getInstance().remove(this);};this.getApplicationRoot().removeListener(n,this._onResize,this);this._placementTarget=null;this._disposeObjects(o);}});})();(function(){var a="menu-separator",b="qx.ui.menu.Separator";qx.Class.define(b,{extend:qx.ui.core.Widget,properties:{appearance:{refine:true,init:a},anonymous:{refine:true,init:true}}});})();(function(){var a="button-backward",b="vertical",c="button-forward",d="menu-slidebar",e="qx.ui.menu.MenuSlideBar",f="execute";qx.Class.define(e,{extend:qx.ui.container.SlideBar,construct:function(){qx.ui.container.SlideBar.call(this,b);},properties:{appearance:{refine:true,init:d}},members:{_createChildControlImpl:function(i,h){var g;switch(i){case c:g=new qx.ui.form.HoverButton();g.addListener(f,this._onExecuteForward,this);this._addAt(g,2);break;case a:g=new qx.ui.form.HoverButton();g.addListener(f,this._onExecuteBackward,this);this._addAt(g,0);break;};return g||qx.ui.container.SlideBar.prototype._createChildControlImpl.call(this,i);}}});})();(function(){var a="qx.ui.menu.Layout",b="Integer",c="_applyLayoutChange";qx.Class.define(a,{extend:qx.ui.layout.VBox,properties:{columnSpacing:{check:b,init:0,apply:c},spanColumn:{check:b,init:1,nullable:true,apply:c},iconColumnWidth:{check:b,init:0,themeable:true,apply:c},arrowColumnWidth:{check:b,init:0,themeable:true,apply:c}},members:{__qr:null,_computeSizeHint:function(){var q=this._getLayoutChildren();var o,g,k;var e=this.getSpanColumn();var j=this.__qr=[0,0,0,0];var n=this.getColumnSpacing();var m=0;var f=0;for(var i=0,l=q.length;i0){u+=q[i]+m;};};},__qs:function(v){while(!(v instanceof qx.ui.menu.Menu)){v=v.getLayoutParent();};return v;},_computeSizeHint:function(){var y=this._getLayoutChildren();var x=0;var z=0;for(var i=0,l=y.length;i=0;i-- ){this.__qt.remove(y[i]);};return this._removeAll();},getSelection:function(){return this.__qt.getSelection();},setSelection:function(z){this.__qt.setSelection(z);},resetSelection:function(){this.__qt.resetSelection();},isSelected:function(A){return this.__qt.isSelected(A);},isSelectionEmpty:function(){return this.__qt.isSelectionEmpty();},getSelectables:function(B){return this.__qt.getSelectables(B);}},destruct:function(){this._disposeObjects(g);}});})();(function(){var a="hovered",b="Enter",c="pressed",d="one",f="pointerover",g="changeLabel",h="changeIcon",i="Space",j="abandoned",k="key",l="list",m="keyinput",n="arrow",o="changeSelection",p="quick",q="",r="qx.ui.form.SelectBox",s="spacer",t="selectbox",u="popup",v=" ",w="tap",x="pointerout",y="atom";qx.Class.define(r,{extend:qx.ui.form.AbstractSelectBox,implement:[qx.ui.core.ISingleSelection,qx.ui.form.IModelSelection],include:[qx.ui.core.MSingleSelectionHandling,qx.ui.form.MModelSelection],construct:function(){qx.ui.form.AbstractSelectBox.call(this);this._createChildControl(y);this._createChildControl(s);this._createChildControl(n);this.addListener(f,this._onPointerOver,this);this.addListener(x,this._onPointerOut,this);this.addListener(w,this._onTap,this);this.addListener(m,this._onKeyInput,this);this.addListener(o,this.__nS,this);},properties:{appearance:{refine:true,init:t}},members:{__pd:null,_createChildControlImpl:function(B,A){var z;switch(B){case s:z=new qx.ui.core.Spacer();this._add(z,{flex:1});break;case y:z=new qx.ui.basic.Atom(v);z.setCenter(false);z.setAnonymous(true);this._add(z,{flex:1});break;case n:z=new qx.ui.basic.Image();z.setAnonymous(true);this._add(z);break;};return z||qx.ui.form.AbstractSelectBox.prototype._createChildControlImpl.call(this,B);},_forwardStates:{focused:true},_getItems:function(){return this.getChildrenContainer().getChildren();},_isAllowEmptySelection:function(){return this.getChildrenContainer().getSelectionMode()!==d;},__nS:function(e){var D=e.getData()[0];var C=this.getChildControl(l);if(C.getSelection()[0]!=D){if(D){C.setSelection([D]);}else {C.resetSelection();};};this.__qu();this.__qv();},__qu:function(){var F=this.getChildControl(l).getSelection()[0];var E=this.getChildControl(y);var G=F?F.getIcon():q;G==null?E.resetIcon():E.setIcon(G);},__qv:function(){var J=this.getChildControl(l).getSelection()[0];var H=this.getChildControl(y);var I=J?J.getLabel():q;var K=this.getFormat();if(K!=null){I=K.call(this,J);};if(I&&I.translate){I=I.translate();};I==null?H.resetLabel():H.setLabel(I);},_onPointerOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;};if(this.hasState(j)){this.removeState(j);this.addState(c);};this.addState(a);},_onPointerOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;};this.removeState(a);if(this.hasState(c)){this.removeState(c);this.addState(j);};},_onTap:function(e){this.toggle();},_onKeyPress:function(e){var L=e.getKeyIdentifier();if(L==b||L==i){if(this.__pd){this.setSelection([this.__pd]);this.__pd=null;};this.toggle();}else {qx.ui.form.AbstractSelectBox.prototype._onKeyPress.call(this,e);};},_onKeyInput:function(e){var M=e.clone();M.setTarget(this._list);M.setBubbles(false);this.getChildControl(l).dispatchEvent(M);},_onListPointerDown:function(e){if(this.__pd){this.setSelection([this.__pd]);this.__pd=null;};},_onListChangeSelection:function(e){var Q=e.getData();var O=e.getOldData();if(O&&O.length>0){O[0].removeListener(h,this.__qu,this);O[0].removeListener(g,this.__qv,this);};if(Q.length>0){var N=this.getChildControl(u);var P=this.getChildControl(l);var R=P.getSelectionContext();if(N.isVisible()&&(R==p||R==k)){this.__pd=Q[0];}else {this.setSelection([Q[0]]);this.__pd=null;};Q[0].addListener(h,this.__qu,this);Q[0].addListener(g,this.__qv,this);}else {this.resetSelection();};},_onPopupChangeVisibility:function(e){qx.ui.form.AbstractSelectBox.prototype._onPopupChangeVisibility.call(this,e);var T=this.getChildControl(u);if(!T.isVisible()){var V=this.getChildControl(l);if(V.hasChildren()){V.setSelection(this.getSelection());};}else {var S=T.getLayoutLocation(this);var X=qx.bom.Viewport.getHeight();var W=S.top;var Y=X-S.bottom;var U=W>Y?W:Y;var ba=this.getMaxListHeight();var V=this.getChildControl(l);if(ba==null||ba>U){V.setMaxHeight(U);}else if(babc){this.setMinimum(bc);};if(this.getValue()>bc){this.setValue(bc);}else {this._updateButtons();};},_applyEnabled:function(be,bd){qx.ui.core.Widget.prototype._applyEnabled.call(this,be,bd);this._updateButtons();},_checkValue:function(bf){return typeof bf===s&&bf>=this.getMinimum()&&bf<=this.getMaximum();},_applyValue:function(bi,bh){var bg=this.getChildControl(t);this._updateButtons();this.__qw=bi;if(bi!==null){if(this.getNumberFormat()){bg.setValue(this.getNumberFormat().format(bi));}else {bg.setValue(bi+r);};}else {bg.setValue(r);};},_applyEditable:function(bl,bk){var bj=this.getChildControl(t);if(bj){bj.setReadOnly(!bl);};},_applyWrap:function(bn,bm){this._updateButtons();},_applyNumberFormat:function(bq,bp){var bo=this.getChildControl(t);bo.setFilter(this._getFilterRegExp());var br=this.getNumberFormat();if(br!==null){br.addListener(F,this._onChangeNumberFormat,this);};this._applyValue(this.__qw,undefined);},_getContentPaddingTarget:function(){return this.getChildControl(t);},_updateButtons:function(){var bt=this.getChildControl(y);var bs=this.getChildControl(q);var bu=this.getValue();if(!this.getEnabled()){bt.setEnabled(false);bs.setEnabled(false);}else {if(this.getWrap()){bt.setEnabled(true);bs.setEnabled(true);}else {if(bu!==null&&buthis.getMinimum()){bs.setEnabled(true);}else {bs.setEnabled(false);};};};},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case a:this.__qx=true;case p:this.getChildControl(y).press();break;case m:this.__qy=true;case h:this.getChildControl(q).press();break;default:return;};e.stopPropagation();e.preventDefault();},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case a:this.getChildControl(y).release();this.__qx=false;break;case p:this.getChildControl(y).release();break;case m:this.getChildControl(q).release();this.__qy=false;break;case h:this.getChildControl(q).release();break;};},_onRoll:function(e){if(e.getPointerType()!=D){return;};var bv=e.getDelta().y;if(bv<0){this._countUp();}else if(bv>0){this._countDown();};e.stop();},_onTextChange:function(e){var bw=this.getChildControl(t);var bx;if(this.getNumberFormat()){try{bx=this.getNumberFormat().parse(bw.getValue());}catch(by){};};if(bx===undefined){bx=parseFloat(bw.getValue());};if(!isNaN(bx)){if(bx>this.getMaximum()){bx=this.getMaximum();}else if(bxthis.getMaximum()){var bD=this.getMaximum()-bE;bE=this.getMinimum()-bD-1;};};this.gotoValue(bE);},_countDown:function(){if(this.__qy){var bG=this.getValue()-this.getPageStep();}else {var bG=this.getValue()-this.getSingleStep();};if(this.getWrap()){if(bGN){this.getContentElement().setStyle(G,k);}else {this.getContentElement().setStyle(G,F);};};var P=Math.max(Q,this.__qC);this._setAreaHeight(P);}else {this.getContentElement().addListenerOnce(u,function(){this.__qD();},this);};};},_getAreaHeight:function(){return this.getInnerSize().height;},_setAreaHeight:function(R){if(this._getAreaHeight()!==R){this.__qB=R;qx.ui.core.queue.Layout.add(this);qx.ui.core.queue.Manager.flush();this.__qH();};},_getScrolledAreaHeight:function(){var T=this.__qE();var S=T.getDomElement();if(S){if(!S.parentNode){qx.html.Element.flush();return this._getScrolledAreaHeight();};if(qx.core.Environment.get(A)===C||(qx.core.Environment.get(A)==z)){T.setWrap(!this.getWrap(),true);};T.setWrap(this.getWrap(),true);if(qx.core.Environment.get(A)===C||(qx.core.Environment.get(A)==z)){S.style.overflow=F;};if(qx.core.Environment.get(A)==z&&qx.core.Environment.get(q)>=8){S.style.overflow=p;S.style.overflowX=F;};T.setValue(this.getValue()||r);if(qx.core.Environment.get(A)==z){S.style.height=k;qx.html.Element.flush();S.style.height=l;};this.__qG(T);if(qx.core.Environment.get(A)==z&&qx.core.Environment.get(q)==8){if(!S.scrollTop){qx.html.Element.flush();};};return S.scrollTop;};},__qE:function(){this.__qA=this.__qA||this.__qF();return this.__qA;},__qF:function(){var W,V,X,U;W=this.getContentElement();if(!W.getDomElement()){return null;};X=qx.bom.Element.clone(W.getDomElement());U=new qx.html.Input(j);U.useElement(X);V=U;V.setStyles({position:H,top:0,left:m,height:0,overflow:F},true);V.removeAttribute(E);V.removeAttribute(w);V.setAttribute(v,g);V.setValue(W.getValue()||r);V.insertBefore(W);this.__qG(V);return V;},__qG:function(Y){Y=Y.getDomElement();if(Y){Y.scrollTop=10000;};},_createInputElement:function(){return new qx.html.Input(j,{overflowX:k,overflowY:k});},_applyWrap:function(bc,ba){this.getContentElement().setWrap(bc);if(this._placeholder){var bb=bc?y:d;this._placeholder.setStyle(o,bb);};this.__qD();},_applyMinimalLineHeight:function(){qx.ui.core.queue.Layout.add(this);},_applyAutoSize:function(be,bd){{};if(be){this.__qD();this.addListener(a,this.__qD,this);if(!this.getBounds()){this.addListenerOnce(u,function(){this.getContentElement().setStyle(G,F);});}else {this.getContentElement().setStyle(G,F);};}else {this.removeListener(a,this.__qD);this.getContentElement().setStyle(G,k);};},_applyDimension:function(bf){qx.ui.form.AbstractField.prototype._applyDimension.call(this);{};if(bf===this.getMaxHeight()){this.__qD();};},__qH:function(){var content=this.getContentElement();var bh=content.getDomElement();var bg=content.getStyle(s);content.setStyle(s,parseInt(bg,10)+1000+c,true);if(bh){qx.bom.element.Dimension.getWidth(bh);};content.setStyle(s,bg,true);},__qI:function(){if(this.isAutoSize()&&this.getHeight()){this.warn(x);};},_getContentHint:function(){var bi=qx.ui.form.AbstractField.prototype._getContentHint.call(this);bi.height=bi.height*this.getMinimalLineHeight();bi.width=this._getTextSize().width*20;if(this.isAutoSize()){bi.height=this.__qB||bi.height;};return bi;}},destruct:function(){this.setAutoSize(false);if(this.__qA){this.__qA.dispose();};}});})();(function(){var a="changeModel",b="changeLabelOptions",c="blur",d="_applyDelegate",e="_applyLabelPath",f="popupOpen",g="qx.data.Array",h="qx.ui.form.core.AbstractVirtualBox",i="changeIconOptions",j="_applyLabelOptions",k="Down",l="Integer",m="_applyModel",n="open",o="Up",p="",q="_applyMaxListHeight",r="visible",s="middle",t="_applyIconPath",u="resize",v="list",w="changeDelegate",x="changeVisibility",y="close",z="changeLabelPath",A="dropdown",B="keypress",C="changeIconPath",D="_applyRowHeight",E="abstract",F="Number",G="String",H="Escape",I="_applyIconOptions",J="tap",K=".",L="[0]";qx.Class.define(h,{extend:qx.ui.core.Widget,include:qx.ui.form.MForm,implement:qx.ui.form.IForm,type:E,construct:function(M){qx.ui.core.Widget.call(this);var N=new qx.ui.layout.HBox();this._setLayout(N);N.setAlignY(s);this.addListener(B,this._handleKeyboard,this);this.addListener(J,this._handlePointer,this);this.addListener(c,this._onBlur,this);this.addListener(u,this._onResize,this);this._createChildControl(A);if(M!=null){this.initModel(M);}else {this.__qJ=new qx.data.Array();this.initModel(this.__qJ);};},properties:{focusable:{refine:true,init:true},width:{refine:true,init:120},model:{check:g,apply:m,event:a,nullable:false,deferredInit:true},delegate:{apply:d,event:w,init:null,nullable:true},labelPath:{check:G,apply:e,event:z,nullable:true},labelOptions:{apply:j,event:b,nullable:true},iconPath:{check:G,event:C,apply:t,nullable:true},iconOptions:{apply:I,event:i,nullable:true},itemHeight:{check:l,init:25,apply:D,themeable:true},maxListHeight:{check:F,apply:q,nullable:true,init:200}},members:{__qJ:null,_forwardStates:{focused:true,invalid:true},refresh:function(){this.getChildControl(A).getChildControl(v).refresh();qx.ui.core.queue.Widget.add(this);},open:function(){this._beforeOpen();this.getChildControl(A).open();},close:function(){this._beforeClose();this.getChildControl(A).close();},toggle:function(){var O=this.getChildControl(A);if(O.isVisible()){this.close();}else {this.open();};},_createChildControlImpl:function(R,Q){var P;switch(R){case A:P=new qx.ui.form.core.VirtualDropDownList(this);P.addListener(x,this._onPopupChangeVisibility,this);break;};return P||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,R,Q);},_beforeOpen:function(){},_beforeClose:function(){},_getAction:function(event){var S=event.getKeyIdentifier();var U=this.getChildControl(A).isVisible();var T=this._isModifierPressed(event);if(!U&&!T&&(S===k||S===o)){return n;}else if(U&&!T&&S===H){return y;}else {return null;};},_getBindPath:function(W,X){var V=W+L;if(X!=null&&X!=p){V+=K+X;};return V;},_isModifierPressed:function(event){var bc=event.isAltPressed();var bb=event.isCtrlOrCommandPressed();var Y=event.isShiftPressed();var ba=event.isMetaPressed();return (bc||bb||Y||ba);},_onBlur:function(event){this.close();},_handleKeyboard:function(event){var bd=this._getAction(event);var be=this.getChildControl(A).isVisible();switch(bd){case n:this.open();break;case y:this.close();break;default:if(be){this.getChildControl(A)._handleKeyboard(event);};break;};},_handlePointer:function(event){},_onResize:function(event){this.getChildControl(A).setMinWidth(event.getData().width);},_onPopupChangeVisibility:function(event){event.getData()==r?this.addState(f):this.removeState(f);},_applyModel:function(bg,bf){this.getChildControl(A).getChildControl(v).setModel(bg);qx.ui.core.queue.Widget.add(this);},_applyDelegate:function(bi,bh){this.getChildControl(A).getChildControl(v).setDelegate(bi);},_applyLabelPath:function(bk,bj){this.getChildControl(A).getChildControl(v).setLabelPath(bk);qx.ui.core.queue.Widget.add(this);},_applyLabelOptions:function(bm,bl){this.getChildControl(A).getChildControl(v).setLabelOptions(bm);qx.ui.core.queue.Widget.add(this);},_applyIconPath:function(bo,bn){this.getChildControl(A).getChildControl(v).setIconPath(bo);qx.ui.core.queue.Widget.add(this);},_applyIconOptions:function(bq,bp){this.getChildControl(A).getChildControl(v).setIconOptions(bq);qx.ui.core.queue.Widget.add(this);},_applyRowHeight:function(bs,br){this.getChildControl(A).getChildControl(v).setItemHeight(bs);},_applyMaxListHeight:function(bu,bt){this.getChildControl(A).getChildControl(v).setMaxHeight(bu);}},destruct:function(){if(this.__qJ){this.__qJ.dispose();};}});})();(function(){var a="changeModel",b="one",c="Enter",d="list",e="changeDelegate",f="change",g="qx.data.Array",h="changeVisibility",j="qx.ui.form.core.VirtualDropDownList",k="_applySelection",l="changeSelection",m="tap",n="Invalid parameter 'target'!",o="qx.event.type.Data";qx.Class.define(j,{extend:qx.ui.popup.Popup,construct:function(p){qx.core.Assert.assertNotNull(p,n);qx.core.Assert.assertNotUndefined(p,n);qx.core.Assert.assertInterface(p,qx.ui.form.core.AbstractVirtualBox,n);qx.ui.popup.Popup.call(this,new qx.ui.layout.VBox());this._target=p;this._createChildControl(d);this.addListener(h,this.__qN,this);this.__qK=new qx.data.Array();this.initSelection(this.__qK);},properties:{autoHide:{refine:true,init:false},keepActive:{refine:true,init:true},selection:{check:g,event:l,apply:k,nullable:false,deferredInit:true}},events:{"changeSelection":o},members:{_target:null,_preselected:null,__qL:false,__qM:false,__qK:null,open:function(){this.placeToWidget(this._target,true);this.show();},close:function(){this.hide();},setPreselected:function(q){this._preselected=q;this.__qM=true;var s=this.getChildControl(d).getSelection();var r=new qx.data.Array([q]);this.__qP(r,s);r.dispose();this.__qM=false;},_createChildControlImpl:function(v,u){var t;switch(v){case d:t=new qx.ui.list.List().set({focusable:false,keepFocus:true,height:null,width:null,maxHeight:this._target.getMaxListHeight(),selectionMode:b,quickSelection:true});t.getSelection().addListener(f,this._onListChangeSelection,this);t.addListener(m,this._handlePointer,this);t.addListener(a,this._onChangeModel,this);t.addListener(e,this._onChangeDelegate,this);this.add(t,{flex:1});break;};return t||qx.ui.popup.Popup.prototype._createChildControlImpl.call(this,v,u);},_handleKeyboard:function(event){if(this.isVisible()&&event.getKeyIdentifier()===c){this.__qO();return;};var w=event.clone();w.setTarget(this.getChildControl(d));w.setBubbles(false);this.getChildControl(d).dispatchEvent(w);},_handlePointer:function(event){this.__qO();},__nS:function(event){if(this.__qL){return;};var x=this.getSelection();var y=this.getChildControl(d).getSelection();this.__qM=true;this.__qP(x,y);this.__qM=false;this.__qL=true;this.__qP(y,x);this.__qL=false;},_onListChangeSelection:function(event){if(this.__qM){return;};var z=this.getChildControl(d).getSelection();if(this.isVisible()){this.setPreselected(z.getItem(0));}else {this.__qL=true;this.__qP(z,this.getSelection());this.__qL=false;};},__qN:function(event){if(this.isVisible()){if(this._preselected==null){var A=this.getSelection();var B=this.getChildControl(d).getSelection();this.__qP(A,B);};this.__qQ();}else {this.setPreselected(null);};},_onChangeModel:function(event){this.getSelection().removeAll();},_onChangeDelegate:function(event){this.getSelection().removeAll();},_applySelection:function(D,C){D.addListener(f,this.__nS,this);if(C!=null){C.removeListener(f,this.__nS,this);};this.__qP(D,this.getChildControl(d).getSelection(D));},__qO:function(){if(this._preselected!=null){var E=this.getSelection();E.splice(0,1,this._preselected);this._preselected=null;this.close();};},__qP:function(F,H){if(F.equals(H)){return;};if(F.getLength()<=0){H.removeAll();}else {var G=H.toArray();qx.lang.Array.removeAll(G);for(var i=0;iJ){K.setMaxHeight(J);}else if(LO?P:O;}},destruct:function(){if(this.__qK){this.__qK.dispose();};}});})();(function(){var a="one",b="Boolean",c="qx.ui.virtual.selection.MModel",d="qx.data.Array",f="multi",g="selected",h="_applySelection",j="change",k="_applyDragSelection",l="single",m="_applyQuickSelection",n="changeSelection",o="_applySelectionMode",p="additive",q="qx.event.type.Data";qx.Mixin.define(c,{construct:function(){this._initSelectionManager();this.__qK=new qx.data.Array();this.initSelection(this.__qK);},properties:{selection:{check:d,event:n,apply:h,nullable:false,deferredInit:true},selectionMode:{check:[l,f,p,a],init:l,apply:o},dragSelection:{check:b,init:false,apply:k},quickSelection:{check:b,init:false,apply:m}},events:{"changeSelection":q},members:{_manager:null,__qU:false,__qV:false,__qK:null,_initSelectionManager:function(){var self=this;var r={isItemSelectable:function(s){return self._provider.isSelectable(s);},styleSelectable:function(t,u,v){if(u!=g){return;};if(v){self._provider.styleSelectabled(t);}else {self._provider.styleUnselectabled(t);};}};this._manager=new qx.ui.virtual.selection.Row(this.getPane(),r);this._manager.attachPointerEvents(this.getPane());this._manager.attachKeyEvents(this);this._manager.addListener(n,this._onManagerChangeSelection,this);},setAutoScrollIntoView:function(w){this._manager._autoScrollIntoView=w;},getAutoScrollIntoView:function(){return this._manager._autoScrollIntoView;},_updateSelection:function(){if(this._manager==null){return;};this._onChangeSelection();},_applySelection:function(y,x){y.addListener(j,this._onChangeSelection,this);if(x!=null){x.removeListener(j,this._onChangeSelection,this);};this._onChangeSelection();},_applySelectionMode:function(A,z){this._manager.setMode(A);},_applyDragSelection:function(C,B){this._manager.setDrag(C);},_applyQuickSelection:function(E,D){this._manager.setQuick(E);},_onChangeSelection:function(e){if(this.__qV==true){return;};this.__qU=true;var G=this.getSelection();var I=[];for(var i=0;i=0){I.push(K);};};if(this._beforeApplySelection!=null&&qx.lang.Type.isFunction(this._beforeApplySelection)){this._beforeApplySelection(I);};try{if(!qx.lang.Array.equals(I,this._manager.getSelection())){this._manager.replaceSelection(I);};}catch(L){this._manager.selectItem(I[I.length-1]);};this.__qP();if(this._afterApplySelection!=null&&qx.lang.Type.isFunction(this._afterApplySelection)){this._afterApplySelection();};this.__qU=false;},_onManagerChangeSelection:function(e){if(this.__qU==true){return;};this.__qV=true;this.__qP();this.__qV=false;},__qP:function(){if(this.__qX()){return;};var M=this._manager.getSelection();var N=[];for(var i=0;i0){var P=[0,Q.getLength()];P=P.concat(R);var S=Q.splice.apply(Q,P);S.dispose();}else {Q.removeAll();};},__qX:function(){var U=this.getSelection();var W=this._manager.getSelection();if(U.getLength()!==W.length){return false;};for(var i=0;iG){I=G;};if(this.__rb!==I){var H=this.__rb;this.__rb=I;this._deferredUpdateScrollPosition();this.fireDataEvent(h,I,H);};},getScrollY:function(){return this.__rb;},setScrollX:function(L){var J=this.getScrollMaxX();if(L<0){L=0;}else if(L>J){L=J;};if(L!==this.__rc){var K=this.__rc;this.__rc=L;this._deferredUpdateScrollPosition();this.fireDataEvent(g,L,K);};},getScrollX:function(){return this.__rc;},getScrollSize:function(){return {width:this.__ra.getTotalSize(),height:this.__qY.getTotalSize()};},scrollRowIntoView:function(O){var P=this.getBounds();if(!P){this.addListenerOnce(l,function(){qx.event.Timer.once(function(){this.scrollRowIntoView(O);},this,0);},this);return;};var Q=this.__qY.getItemPosition(O);var N=Q+this.__qY.getItemSize(O);var M=this.getScrollY();if(QM+P.height){this.setScrollY(N-P.height);};},scrollColumnIntoView:function(R){var U=this.getBounds();if(!U){this.addListenerOnce(l,function(){qx.event.Timer.once(function(){this.scrollColumnIntoView(R);},this,0);},this);return;};var T=this.__ra.getItemPosition(R);var S=T+this.__ra.getItemSize(R);var V=this.getScrollX();if(TV+U.width){this.setScrollX(S-U.width);};},scrollCellIntoView:function(W,Y){var X=this.getBounds();if(!X){this.addListenerOnce(l,function(){qx.event.Timer.once(function(){this.scrollCellIntoView(W,Y);},this,0);},this);return;};this.scrollColumnIntoView(W);this.scrollRowIntoView(Y);},getCellAtPosition:function(ba,bb){var be,bd;var bc=this.getContentLocation();if(!bc||bb=bc.bottom||ba=bc.right){return null;};be=this.__qY.getItemAtPosition(this.getScrollY()+bb-bc.top);bd=this.__ra.getItemAtPosition(this.getScrollX()+ba-bc.left);if(!be||!bd){return null;};return {row:be.index,column:bd.index};},prefetchX:function(bi,bl,bj,bh){var bf=this.getVisibleLayers();if(bf.length==0){return;};var bk=this.getBounds();if(!bk){return;};var bm=this.__rc+bk.width;var bn=this.__re-bm;if(this.__rc-this.__rf.left=ca.bottom&&this.__rf.left<=ca.left&&this.__rf.right>=ca.right){this.__rg.setUserBounds((this.getPaddingLeft()||0)+(this.__rf.left-ca.left),(this.getPaddingTop()||0)+(this.__rf.top-ca.top),this.__rf.right-this.__rf.left,this.__rf.bottom-this.__rf.top);}else {this._setLayerWindow(bY,this.__rc,this.__rb,cb.width,cb.height,false);};this.__rm();}},destruct:function(){this._disposeArray(c);this._disposeObjects(v,p,m);this.__rf=this.__iv=this.__qr=this.__rj=null;}});})();(function(){var a="qx.ui.virtual.core.ILayer";qx.Interface.define(a,{members:{fullUpdate:function(d,e,c,b){this.assertArgumentsCount(arguments,6,6);this.assertPositiveInteger(d);this.assertPositiveInteger(e);this.assertArray(c);this.assertArray(b);},updateLayerWindow:function(h,i,g,f){this.assertArgumentsCount(arguments,6,6);this.assertPositiveInteger(h);this.assertPositiveInteger(i);this.assertArray(g);this.assertArray(f);},updateLayerData:function(){}}});})();(function(){var a="qx.ui.virtual.core.CellEvent",b="Integer";qx.Class.define(a,{extend:qx.event.type.Pointer,properties:{row:{check:b,nullable:true},column:{check:b,nullable:true}},members:{init:function(e,c,f,d){c.clone(this);this.setBubbles(false);this.setRow(f);this.setColumn(d);}}});})();(function(){var c="change",d="qx.event.type.Event",e="qx.ui.virtual.core.Axis";qx.Class.define(e,{extend:qx.core.Object,construct:function(f,g){qx.core.Object.call(this);this.itemCount=g;this.defaultItemSize=f;this.customSizes={};},events:{"change":d},members:{__rn:null,getDefaultItemSize:function(){return this.defaultItemSize;},setDefaultItemSize:function(h){if(this.defaultItemSize!==h){this.defaultItemSize=h;this.__rn=null;this.fireNonBubblingEvent(c);};},getItemCount:function(){return this.itemCount;},setItemCount:function(j){if(this.itemCount!==j){this.itemCount=j;this.__rn=null;this.fireNonBubblingEvent(c);};},setItemSize:function(k,l){{};if(this.customSizes[k]==l){return;};if(l===null){delete this.customSizes[k];}else {this.customSizes[k]=l;};this.__rn=null;this.fireNonBubblingEvent(c);},getItemSize:function(m){return this.customSizes[m]||this.defaultItemSize;},resetItemSizes:function(){this.customSizes={};this.__rn=null;this.fireNonBubblingEvent(c);},__ro:function(){if(this.__rn){return this.__rn;};var q=this.defaultItemSize;var o=this.itemCount;var w=[];for(var t in this.customSizes){var n=parseInt(t,10);if(nb?1:-1;});var s=[];var p=0;for(var i=0;i=o){break;};var v=this.customSizes[n];var r=n*q+p;p+=v-q;s[i]={startIndex:n,firstItemSize:v,rangeStart:r};if(i>0){s[i-1].rangeEnd=r-1;s[i-1].endIndex=n-1;};};if(s[0].rangeStart>0){s.unshift({startIndex:0,endIndex:s[0].startIndex-1,firstItemSize:q,rangeStart:0,rangeEnd:s[0].rangeStart-1});};var x=s[s.length-1];var u=(o-x.startIndex-1)*q;x.rangeEnd=x.rangeStart+x.firstItemSize+u-1;x.endIndex=o-1;this.__rn=s;return s;},__rp:function(D){var z=this.__rn||this.__ro();var A=0;var y=z.length-1;while(true){var C=A+((y-A)>>1);var B=z[C];if(B.rangeEndD){y=C-1;}else {return B;};};},getItemAtPosition:function(I){if(I<0||I>=this.getTotalSize()){return null;};var H=this.__rp(I);var J=H.rangeStart;var E=H.startIndex;var G=H.firstItemSize;if(J+G>I){return {index:E,offset:I-J};}else {var F=this.defaultItemSize;return {index:E+1+Math.floor((I-J-G)/F),offset:(I-J-G)%F};};},__rq:function(K){var M=this.__rn||this.__ro();var N=0;var L=M.length-1;while(true){var P=N+((L-N)>>1);var O=M[P];if(O.endIndexK){L=P-1;}else {return O;};};},getItemPosition:function(Q){if(Q<0||Q>=this.itemCount){return null;};var R=this.__rq(Q);if(R.startIndex==Q){return R.rangeStart;}else {return R.rangeStart+R.firstItemSize+(Q-R.startIndex-1)*this.defaultItemSize;};},getTotalSize:function(){var S=this.__rn||this.__ro();return S[S.length-1].rangeEnd+1;},getItemSizes:function(Y,T){var X=this.customSizes;var W=this.defaultItemSize;var V=0;var U=[];var i=0;while(V=this.itemCount){break;};};return U;}},destruct:function(){this.customSizes=this.__rn=null;}});})();(function(){var a="qx.ui.virtual.selection.Row",b="above",c="under";qx.Class.define(a,{extend:qx.ui.virtual.selection.Abstract,members:{_getItemCount:function(){return this._pane.getRowConfig().getItemCount();},_getSelectableFromPointerEvent:function(event){var d=this._pane.getCellAtPosition(event.getDocumentLeft(),event.getDocumentTop());if(!d){return null;};return this._isSelectable(d.row)?d.row:null;},getSelectables:function(f){var e=[];for(var i=0,l=this._getItemCount();i=0;i-- ){if(this._isSelectable(i)){return i;};};return null;},_getRelatedSelectable:function(q,s){if(s==b){var r=q-1;var p=0;var t=-1;}else if(s==c){var r=q+1;var p=this._getItemCount()-1;var t=1;}else {return null;};for(var i=r;i!==p+t;i+=t){if(this._isSelectable(i)){return i;};};return null;},_getPage:function(v,u){if(u){return this._getFirstSelectable();}else {return this._getLastSelectable();};},_selectableToHashCode:function(w){return w;},_scrollItemIntoView:function(x){if(this._autoScrollIntoView){this._pane.scrollRowIntoView(x);};},_getSelectableLocationX:function(y){return {left:0,right:this._pane.getColumnConfig().getTotalSize()-1};},_getSelectableLocationY:function(z){var C=this._pane.getRowConfig();var B=C.getItemPosition(z);var A=B+C.getItemSize(z)-1;return {top:B,bottom:A};}}});})();(function(){var a="scrollY",b="The method 'getItemRight' is not implemented!",c="update",d="scrollX",f="The method 'getItemLeft' is not implemented!",g="The method 'getItemBottom' is not implemented!",h="The method 'getItemTop' is not implemented!",i="pane",j="os.scrollBarOverlayed",k="qx.ui.virtual.core.Scroller";qx.Class.define(k,{extend:qx.ui.core.scroll.AbstractScrollArea,construct:function(o,l,n,m){qx.ui.core.scroll.AbstractScrollArea.call(this);this.__rr=new qx.ui.virtual.core.Pane(o,l,n,m);this.__rr.addListener(c,this._computeScrollbars,this);this.__rr.addListener(d,this._onScrollPaneX,this);this.__rr.addListener(a,this._onScrollPaneY,this);if(qx.core.Environment.get(j)){this._add(this.__rr,{edge:0});}else {this._add(this.__rr,{row:0,column:0});};},properties:{width:{refine:true,init:null},height:{refine:true,init:null}},members:{__rr:null,getPane:function(){return this.__rr;},_createChildControlImpl:function(q,p){if(q==i){return this.__rr;}else {return qx.ui.core.scroll.AbstractScrollArea.prototype._createChildControlImpl.call(this,q);};},getItemTop:function(r){throw new Error(h);},getItemBottom:function(s){throw new Error(g);},getItemLeft:function(t){throw new Error(f);},getItemRight:function(u){throw new Error(b);},_onScrollBarX:function(e){this.__rr.setScrollX(e.getData());},_onScrollBarY:function(e){this.__rr.setScrollY(e.getData());}},destruct:function(){this.__rr.dispose();this.__rr=null;}});})();(function(){var c="changeModel",d="resize",f="_applyLabelOptions",g="_applyLabelPath",h="qx.data.Array",j="_applyGroupLabelOptions",m="changeLength",n="row-layer",o="_applyModel",p="changeGroups",q="Boolean",r="GroupingTypeError: You can't mix 'Objects' and 'Strings' as",s="Integer",t="sorter",u="_applyGroupRowHeight",v="group",w="_applyIconPath",x="_applyDelegate",y="changeDelegate",z=" group identifier!",A="???",B="_applyRowHeight",C="qx.data.IListData",D="filter",E="virtual-list",F="String",G="_applyGroupLabelPath",H="_applyIconOptions",I="qx.ui.list.List";qx.Class.define(I,{extend:qx.ui.virtual.core.Scroller,include:[qx.ui.virtual.selection.MModel],implement:qx.data.controller.ISelection,construct:function(J){qx.ui.virtual.core.Scroller.call(this,0,1,20,100);this._init();this.__rs=new qx.data.Array();this.initGroups(this.__rs);if(J!=null){this.initModel(J);};this.initItemHeight();},properties:{appearance:{refine:true,init:E},focusable:{refine:true,init:true},width:{refine:true,init:100},height:{refine:true,init:200},model:{check:C,apply:o,event:c,nullable:true,deferredInit:true},itemHeight:{check:s,init:25,apply:B,themeable:true},groupItemHeight:{check:s,init:null,nullable:true,apply:u,themeable:true},labelPath:{check:F,apply:g,nullable:true},iconPath:{check:F,apply:w,nullable:true},groupLabelPath:{check:F,apply:G,nullable:true},labelOptions:{apply:f,nullable:true},iconOptions:{apply:H,nullable:true},groupLabelOptions:{apply:j,nullable:true},delegate:{apply:x,event:y,init:null,nullable:true},autoGrouping:{check:q,init:true},groups:{check:h,event:p,nullable:false,deferredInit:true}},members:{_background:null,_provider:null,_layer:null,__rt:null,__ru:null,__rv:null,__rw:false,__rx:false,__ry:false,__rs:null,refresh:function(){this.__rB();},_createChildControlImpl:function(M,L){var K;switch(M){case n:K=new qx.ui.virtual.layer.Row(null,null);break;};return K||qx.ui.virtual.core.Scroller.prototype._createChildControlImpl.call(this,M);},_init:function(){this._provider=new qx.ui.list.provider.WidgetProvider(this);this.__rt=[];this.__ru=[];this.__rv={};this.__rw=false;this.__rx=false;this.__ry=false;this.getPane().addListener(d,this._onResize,this);this._initBackground();this._initLayer();},_initBackground:function(){this._background=this.getChildControl(n);this.getPane().addLayer(this._background);},_initLayer:function(){this._layer=this._provider.createLayer();this.getPane().addLayer(this._layer);},_getDataFromRow:function(P){var O=null;var N=this.getModel();if(N==null){return null;};if(this._isGroup(P)){O=this.getGroups().getItem(this._lookupGroup(P));}else {O=N.getItem(this._lookup(P));};if(O!=null){return O;}else {return null;};},_getLookupTable:function(){return this.__rt;},_lookup:function(Q){return this.__rt[Q];},_lookupGroup:function(R){return this.__ru.indexOf(R);},_reverseLookup:function(S){if(S<0){return -1;};return this.__rt.indexOf(S);},_isGroup:function(T){return this._lookup(T)==-1;},_getSelectables:function(){return this.getModel();},_applyModel:function(V,U){if(V!=null){V.addListener(m,this._onModelChange,this);};if(U!=null){U.removeListener(m,this._onModelChange,this);};this._provider.removeBindings();this._onModelChange();},_applyRowHeight:function(X,W){this.getPane().getRowConfig().setDefaultItemSize(X);},_applyGroupRowHeight:function(ba,Y){this.__rA();},_applyLabelPath:function(bc,bb){this._provider.setLabelPath(bc);},_applyIconPath:function(be,bd){this._provider.setIconPath(be);},_applyGroupLabelPath:function(bg,bf){this._provider.setGroupLabelPath(bg);},_applyLabelOptions:function(bi,bh){this._provider.setLabelOptions(bi);},_applyIconOptions:function(bk,bj){this._provider.setIconOptions(bk);},_applyGroupLabelOptions:function(bm,bl){this._provider.setGroupLabelOptions(bm);},_applyDelegate:function(bo,bn){this._provider.setDelegate(bo);this.__rB();},_onResize:function(e){this.getPane().getColumnConfig().setItemSize(0,e.getData().width);},_onModelChange:function(e){this.__rB();this._applyDefaultSelection();},__rz:function(){this.getPane().getRowConfig().setItemCount(this.__rt.length);this.getPane().fullUpdate();},__rA:function(){var bp=this.getPane().getRowConfig();var bq=this.getGroupItemHeight();bp.resetItemSizes();if(bq){for(var i=0,l=this.__rt.length;i=O&&M<=N;}}});})();(function(){var a="qx.ui.virtual.core.IWidgetCellProvider";qx.Interface.define(a,{members:{getCellWidget:function(c,b){},poolCellWidget:function(d){}}});})();(function(){var a="qx.ui.list.provider.IListProvider";qx.Interface.define(a,{members:{createLayer:function(){},createItemRenderer:function(){},createGroupRenderer:function(){},styleSelectabled:function(b){},styleUnselectabled:function(c){},isSelectable:function(d){},setLabelPath:function(e){},setIconPath:function(f){},setLabelOptions:function(g){},setIconOptions:function(h){},setDelegate:function(i){},removeBindings:function(){}}});})();(function(){var a="cell.type",b="model[",c="groups[",d="model",f="",g="changeDelegate",h="label",i="qx.ui.list.core.MWidgetController",j="icon",k="]",l="value",m="BindingIds",n=".",o="group",p="String";qx.Mixin.define(i,{construct:function(){this.__rN=[];},properties:{labelPath:{check:p,nullable:true},iconPath:{check:p,nullable:true},groupLabelPath:{check:p,nullable:true},labelOptions:{nullable:true},iconOptions:{nullable:true},groupLabelOptions:{nullable:true},delegate:{event:g,init:null,nullable:true}},members:{__rN:null,bindDefaultProperties:function(q,r){if(q.getUserData(a)!=o){this.bindProperty(f,d,null,q,r);this.bindProperty(this.getLabelPath(),h,this.getLabelOptions(),q,r);if(this.getIconPath()!=null){this.bindProperty(this.getIconPath(),j,this.getIconOptions(),q,r);};}else {this.bindProperty(this.getGroupLabelPath(),l,this.getGroupLabelOptions(),q,r);};},bindProperty:function(u,x,v,t,s){var y=t.getUserData(a);var w=this.__rO(s,u,y);if(v){v.ignoreConverter=d;};var z=this._list.bind(w,t,x,v);this.__rP(t,z);},bindPropertyReverse:function(D,B,E,F,A){var G=F.getUserData(a);var C=this.__rO(A,D,G);var H=F.bind(B,this._list,C,E);this.__rP(F,H);},removeBindings:function(){while(this.__rN.length>0){var I=this.__rN.pop();this._removeBindingsFrom(I);};},_configureItem:function(J){var K=this.getDelegate();if(K!=null&&K.configureItem!=null){K.configureItem(J);};},_configureGroupItem:function(L){var M=this.getDelegate();if(M!=null&&M.configureGroupItem!=null){M.configureGroupItem(L);};},_bindItem:function(N,P){var O=this.getDelegate();if(O!=null&&O.bindItem!=null){O.bindItem(this,N,P);}else {this.bindDefaultProperties(N,P);};},_bindGroupItem:function(Q,S){var R=this.getDelegate();if(R!=null&&R.bindGroupItem!=null){R.bindGroupItem(this,Q,S);}else {this.bindDefaultProperties(Q,S);};},_removeBindingsFrom:function(T){var U=this.__rQ(T);while(U.length>0){var V=U.pop();try{this._list.removeBinding(V);}catch(e){T.removeBinding(V);};};if(qx.lang.Array.contains(this.__rN,T)){qx.lang.Array.remove(this.__rN,T);};},__rO:function(X,ba,Y){var W=b+X+k;if(Y==o){W=c+X+k;};if(ba!=null&&ba!=f){W+=n+ba;};return W;},__rP:function(bc,bd){var bb=this.__rQ(bc);if(!qx.lang.Array.contains(bb,bd)){bb.push(bd);};if(!qx.lang.Array.contains(this.__rN,bc)){this.__rN.push(bc);};},__rQ:function(be){var bf=be.getUserData(m);if(bf==null){bf=[];be.setUserData(m,bf);};return bf;}},destruct:function(){this.__rN=null;}});})();(function(){var a="cell.type",b="changeDelegate",c="qx.ui.list.provider.WidgetProvider",d="createItem",e="group-item",f="onPool",g="item",h="createGroupItem",i="created",j="group";qx.Class.define(c,{extend:qx.core.Object,implement:[qx.ui.virtual.core.IWidgetCellProvider,qx.ui.list.provider.IListProvider],include:[qx.ui.list.core.MWidgetController],construct:function(k){qx.core.Object.call(this);this._list=k;this._itemRenderer=this.createItemRenderer();this._groupRenderer=this.createGroupRenderer();this._itemRenderer.addListener(i,this._onItemCreated,this);this._groupRenderer.addListener(i,this._onGroupItemCreated,this);this._list.addListener(b,this._onChangeDelegate,this);},members:{_itemRenderer:null,_groupRenderer:null,getCellWidget:function(n,l){var m=null;if(!this._list._isGroup(n)){m=this._itemRenderer.getCellWidget();m.setUserData(a,g);this._bindItem(m,this._list._lookup(n));if(this._list._manager.isItemSelected(n)){this._styleSelectabled(m);}else {this._styleUnselectabled(m);};}else {m=this._groupRenderer.getCellWidget();m.setUserData(a,j);this._bindGroupItem(m,this._list._lookupGroup(n));};return m;},poolCellWidget:function(o){this._removeBindingsFrom(o);if(o.getUserData(a)==g){this._itemRenderer.pool(o);}else if(o.getUserData(a)==j){this._groupRenderer.pool(o);};this._onPool(o);},createLayer:function(){return new qx.ui.virtual.layer.WidgetCell(this);},createItemRenderer:function(){var p=qx.util.Delegate.getMethod(this.getDelegate(),d);if(p==null){p=function(){return new qx.ui.form.ListItem();};};var q=new qx.ui.virtual.cell.WidgetCell();q.setDelegate({createWidget:p});return q;},createGroupRenderer:function(){var r=qx.util.Delegate.getMethod(this.getDelegate(),h);if(r==null){r=function(){var t=new qx.ui.basic.Label();t.setAppearance(e);return t;};};var s=new qx.ui.virtual.cell.WidgetCell();s.setDelegate({createWidget:r});return s;},styleSelectabled:function(v){var u=this.__rR(v);this._styleSelectabled(u);},styleUnselectabled:function(x){var w=this.__rR(x);this._styleUnselectabled(w);},isSelectable:function(z){if(this._list._isGroup(z)){return false;};var y=this._list._layer.getRenderedCellWidget(z,0);if(y!=null){return y.isEnabled();}else {return true;};},_styleSelectabled:function(A){this.__rS(A,{selected:1});},_styleUnselectabled:function(B){this.__rS(B,{});},_onPool:function(C){var D=qx.util.Delegate.getMethod(this.getDelegate(),f);if(D!=null){D(C);};},_onItemCreated:function(event){var E=event.getData();this._configureItem(E);},_onGroupItemCreated:function(event){var F=event.getData();this._configureGroupItem(F);},_onChangeDelegate:function(event){this._itemRenderer.dispose();this._itemRenderer=this.createItemRenderer();this._itemRenderer.addListener(i,this._onItemCreated,this);this._groupRenderer.dispose();this._groupRenderer=this.createGroupRenderer();this._groupRenderer.addListener(i,this._onGroupItemCreated,this);this.removeBindings();this._list.getPane().fullUpdate();},__rR:function(G){return this._list._layer.getRenderedCellWidget(G,0);},__rS:function(I,H){if(I==null){return;};this._itemRenderer.updateStates(I,H);}},destruct:function(){this._itemRenderer.dispose();this._groupRenderer.dispose();this._itemRenderer=this._groupRenderer=null;}});})();(function(){var a="cell.column",b="updated",c="qx.event.type.Event",d="qx.ui.virtual.layer.WidgetCell",e="cell.row",f="cell.empty";qx.Class.define(d,{extend:qx.ui.virtual.layer.Abstract,include:[qx.ui.core.MChildrenHandling],construct:function(g){qx.ui.virtual.layer.Abstract.call(this);this.setZIndex(12);{};this._cellProvider=g;this.__rT=[];},properties:{anonymous:{refine:true,init:false}},events:{updated:c},members:{__rT:null,getRenderedCellWidget:function(p,m){if(this._getChildren().length===0){return null;};var h=this.getColumnSizes().length;var o=this.getRowSizes().length;var n=this.getFirstRow();var l=this.getFirstColumn();if(p=n+o||m=l+h){return null;};var k=(m-l)+(p-n)*h;var j=this._getChildren()[k];if(!j||j.getUserData(f)){return null;}else {return j;};},_getSpacer:function(){var q=this.__rT.pop();if(!q){q=new qx.ui.core.Spacer();q.setUserData(f,1);};return q;},_activateNotEmptyChild:function(r){var s=qx.ui.core.FocusHandler.getInstance().getActiveWidget();if(s==r||qx.ui.core.Widget.contains(r,s)){var t=this._getChildren();for(var i=t.length-1;i>=0;i-- ){if(!t[i].getUserData(f)){t[i].activate();break;};};};},_fullUpdate:function(A,u,z,w){var B=this._cellProvider;var G=this._getChildren().concat();for(var i=0;iL.lastRow||L.firstColumn>L.lastColumn){return this._fullUpdate(W,J,M,bb);};var O=this._getChildren();var Q=this.getColumnSizes().length;var T=[];var ba={};for(var P=W;P<=N;P++ ){T[P]=[];for(var Y=J;Y<=X;Y++ ){if(P>=L.firstRow&&P<=L.lastRow&&Y>=L.firstColumn&&Y<=L.lastColumn){var x=Y-this.getFirstColumn();var y=P-this.getFirstRow();var R=y*Q+x;T[P][Y]=O[R];ba[R]=true;};};};var K=this._cellProvider;var O=this._getChildren().concat();for(var i=0;i0){var R=this.__bc.pop();this.removeBinding(R);};},_handlePointer:function(event){qx.ui.form.core.AbstractVirtualBox.prototype._handlePointer.call(this,event);var S=event.getType();if(S===w){this.toggle();};},_handleKeyboard:function(event){var T=this._getAction(event);switch(T){case q:this.__sb+=this.__sd(event.getKeyIdentifier());this.__sa.restart();break;default:qx.ui.form.core.AbstractVirtualBox.prototype._handleKeyboard.call(this,event);break;};},_onPointerOver:function(event){if(!this.isEnabled()||event.getTarget()!==this){return;};if(this.hasState(g)){this.removeState(g);this.addState(c);};this.addState(a);},_onPointerOut:function(event){if(!this.isEnabled()||event.getTarget()!==this){return;};this.removeState(a);if(this.hasState(c)){this.removeState(c);this.addState(g);};},_applySelection:function(V,U){this.getChildControl(v).setSelection(V);qx.ui.core.queue.Widget.add(this);},__sc:function(){this.__sa.stop();var Y=this.__sb;if(Y===null||Y===s){return;};var bg=this.getModel();var bb=this.getChildControl(v).getChildControl(k);var W=bb.getSelection();var length=bb._getLookupTable().length;var bf=bg.indexOf(W.getItem(0));var bd=bb._reverseLookup(bf);for(var i=1;i<=length;i++ ){var bh=(i+bd)%length;var be=bg.getItem(bb._lookup(bh));if(!be){continue;};var bc=be;if(this.getLabelPath()){bc=qx.data.SingleValueBinding.resolvePropertyChain(be,this.getLabelPath());var ba=this.getLabelOptions();if(ba){var X=qx.util.Delegate.getMethod(ba,x);if(X){bc=X(bc,be);};};};if(qx.lang.String.startsWith(bc.toLowerCase(),Y.toLowerCase())){W.push(be);break;};};this.__sb=s;},__sd:function(bi){if(bi===f){return A;}else {return bi;};}},destruct:function(){this._removeBindings();this.__sa.removeListener(l,this.__sc,this);this.__sa.dispose();this.__sa=null;}});})();(function(){var a="resize",b="qx.ui.groupbox.GroupBox",c="groupbox",d="frame",f="legend",g="top",h="middle",i="_applyLegendPosition";qx.Class.define(b,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling,qx.ui.core.MContentPadding,qx.ui.form.MForm],implement:[qx.ui.form.IForm],construct:function(j,k){qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.Canvas);this._createChildControl(d);this._createChildControl(f);if(j!=null){this.setLegend(j);};if(k!=null){this.setIcon(k);};},properties:{appearance:{refine:true,init:c},legendPosition:{check:[g,h],init:h,apply:i,themeable:true}},members:{_forwardStates:{invalid:true},_createChildControlImpl:function(n,m){var l;switch(n){case d:l=new qx.ui.container.Composite();this._add(l,{left:0,top:6,right:0,bottom:0});break;case f:l=new qx.ui.basic.Atom();l.addListener(a,this._repositionFrame,this);this._add(l,{left:0,right:0});break;};return l||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,n);},_getContentPaddingTarget:function(){return this.getChildControl(d);},_applyLegendPosition:function(e){if(this.getChildControl(f).getBounds()){this._repositionFrame();};},_repositionFrame:function(){var p=this.getChildControl(f);var o=this.getChildControl(d);var q=p.getBounds().height;if(this.getLegendPosition()==h){o.setLayoutProperties({"top":Math.round(q/2)});}else if(this.getLegendPosition()==g){o.setLayoutProperties({"top":q});};},getChildrenContainer:function(){return this.getChildControl(d);},setLegend:function(s){var r=this.getChildControl(f);if(s!==null){r.setLabel(s);r.show();}else {r.exclude();};},getLegend:function(){return this.getChildControl(f).getLabel();},setIcon:function(t){this.getChildControl(f).setIcon(t);},getIcon:function(){return this.getChildControl(f).getIcon();}}});})();(function(){var a="resize",b="check-groupbox",c="changeValue",d="legend",f="qx.event.type.Event",g="qx.ui.groupbox.CheckGroupBox",h="execute",i="qx.event.type.Data";qx.Class.define(g,{extend:qx.ui.groupbox.GroupBox,implement:[qx.ui.form.IExecutable,qx.ui.form.IBooleanForm,qx.ui.form.IModel],include:[qx.ui.form.MModelProperty],properties:{appearance:{refine:true,init:b}},events:{"changeValue":i,"execute":f},members:{_createChildControlImpl:function(l,k){var j;switch(l){case d:j=new qx.ui.form.CheckBox();j.setValue(true);j.setAllowGrowX(true);j.addListener(c,this._onRadioChangeValue,this);j.addListener(a,this._repositionFrame,this);j.addListener(h,this._onExecute,this);this._add(j,{left:0,right:0});};return j||qx.ui.groupbox.GroupBox.prototype._createChildControlImpl.call(this,l);},_onExecute:function(e){this.fireEvent(h);},_onRadioChangeValue:function(e){var m=e.getData()?true:false;this.getChildrenContainer().setEnabled(m);this.fireDataEvent(c,m,e.getOldData());},execute:function(){this.getChildControl(d).execute();},setCommand:function(n){this.getChildControl(d).setCommand(n);},getCommand:function(){return this.getChildControl(d).getCommand();},getValue:function(){return this.getChildControl(d).getValue();},setValue:function(o){this.getChildControl(d).setValue(o);},resetValue:function(){this.getChildControl(d).resetValue();}}});})();(function(){var a="resize",b="qx.ui.groupbox.RadioGroupBox",c="changeValue",d="legend",f="radio-groupbox",g="qx.event.type.Event",h="execute",i="qx.event.type.Data";qx.Class.define(b,{extend:qx.ui.groupbox.GroupBox,implement:[qx.ui.form.IRadioItem,qx.ui.form.IExecutable,qx.ui.form.IBooleanForm,qx.ui.form.IModel],include:[qx.ui.form.MModelProperty],properties:{appearance:{refine:true,init:f}},events:{"changeValue":i,"execute":g},members:{_createChildControlImpl:function(l,k){var j;switch(l){case d:j=new qx.ui.form.RadioButton();j.setAllowGrowX(true);j.setValue(true);j.addListener(c,this._onRadioChangeValue,this);j.addListener(a,this._repositionFrame,this);j.addListener(h,this._onExecute,this);this._add(j,{left:0,right:0});};return j||qx.ui.groupbox.GroupBox.prototype._createChildControlImpl.call(this,l);},_applyEnabled:function(n,m){qx.ui.groupbox.GroupBox.prototype._applyEnabled.call(this,n,m);this.getChildrenContainer().setEnabled(n&&this.getValue());},_onExecute:function(e){this.fireEvent(h);},_onRadioChangeValue:function(e){var o=e.getData()?true:false;this.getChildrenContainer().setEnabled(o);this.fireDataEvent(c,o,e.getOldData());},execute:function(){this.getChildControl(d).execute();},setCommand:function(p){this.getChildControl(d).setCommand(p);},getCommand:function(){return this.getChildControl(d).getCommand();},getGroup:function(){return this.getChildControl(d).getGroup();},setGroup:function(q){if(q!=null){q.add(this);};return;},getValue:function(){return this.getChildControl(d).getValue();},setValue:function(r){this.getChildControl(d).setValue(r);},resetValue:function(){this.getChildControl(d).resetValue();},getLabel:function(){return this.getChildControl(d).getLabel();}}});})();(function(){var a="complete",b="0%",c="progressbar",d="change",e="progress",f="qx.ui.indicator.ProgressBar",g="qx.event.type.Event",h="%",i="qx.event.type.Data";qx.Class.define(f,{extend:qx.ui.container.Composite,construct:function(k,j){qx.ui.container.Composite.call(this);this._createChildControl(e);this.setLayout(new qx.ui.layout.HBox());if(j!=null){this.setMaximum(j);};if(k!=null){this.setValue(k);};},properties:{appearance:{refine:true,init:c}},events:{complete:g,change:i},members:{__se:0,__sf:100,getValue:function(){return this.__se;},setValue:function(m){var l=this.getMaximum();if(!qx.lang.Type.isNumber(m)||!isFinite(m)){return null;};if(m<0){m=0;};if(m>l){m=l;};this.__se=m;this._changeProgress(m/l);return m;},getMaximum:function(){return this.__sf;},setMaximum:function(o){var n=o;var p=this.getValue();if(!qx.lang.Type.isNumber(n)||!isFinite(n)||n<=0){return null;};if(nr){r=k;};if(m>p){p=m;};};return {width:r,height:p};}}});})();(function(){var a="Decorator",b="Integer",c="qx.ui.layout.Dock",d="It is not allowed to have more than one child aligned to 'center'!",e="_applySort",f="west",g="left",h="north",j="south",k="center",l="east",m="Boolean",n="top",o="bottom",p="right",q="x",r="y",s="auto",t="_applyLayoutChange";qx.Class.define(c,{extend:qx.ui.layout.Abstract,construct:function(v,u,x,w){qx.ui.layout.Abstract.call(this);if(v){this.setSpacingX(v);};if(u){this.setSpacingY(u);};if(x){this.setSeparatorX(x);};if(w){this.setSeparatorY(w);};},properties:{sort:{check:[s,r,q],init:s,apply:e},separatorX:{check:a,nullable:true,apply:t},separatorY:{check:a,nullable:true,apply:t},connectSeparators:{check:m,init:false,apply:t},spacingX:{check:b,init:0,apply:t},spacingY:{check:b,init:0,apply:t}},members:{__gc:null,__sg:null,verifyLayoutProperty:null,_applySort:function(){this._invalidChildrenCache=true;this._applyLayoutChange();},__sh:{north:1,south:2,west:3,east:4,center:5},__si:{'1':n,'2':o,'3':g,'4':p},__lw:function(){var y=this._getLayoutChildren();var G,A;var length=y.length;var C=[];var F=[];var B=[];var z=this.getSort()===r;var E=this.getSort()===q;for(var i=0;iP.maxWidth){T=P.maxWidth;};};if(V.height!=null){K=Math.floor(R*parseFloat(V.height)/100);if(KP.maxHeight){K=P.maxHeight;};};bo[i]=T;S[i]=K;switch(bd[i]){case 1:case 2:be+=K+bl.getMarginTop()+bl.getMarginBottom()+br;if(bj.y){be+=bj.y+br;};break;case 3:case 4:O+=T+bl.getMarginLeft()+bl.getMarginRight()+bs;if(bj.x){O+=bj.x+bs;};break;default:O+=T+bl.getMarginLeft()+bl.getMarginRight()+bs;be+=K+bl.getMarginTop()+bl.getMarginBottom()+br;if(bj.x){O+=bj.x+bs;};if(bj.y){be+=bj.y+br;};};};if(O!=bc){Q={};bi=O0){P=bl.getSizeHint();Q[i]={min:P.minWidth,value:bo[i],max:P.maxWidth,flex:W};};};};var L=bb.computeFlexOffsets(Q,bc,O);for(var i in L){J=L[i].offset;bo[i]+=J;O+=J;};};if(be!=R){Q={};bi=be0){P=bl.getSizeHint();Q[i]={min:P.minHeight,value:S[i],max:P.maxHeight,flex:W};};};};var L=bb.computeFlexOffsets(Q,R,be);for(var i in L){J=L[i].offset;S[i]+=J;be+=J;};};this._clearSeparators();var bn=this.getSeparatorX(),bm=this.getSeparatorY();var bp=this.getConnectSeparators();var Y=0,bh=0;var bw,top,T,K,X,bt;var ba,bq,bv,bf;var bu,I,U,M;var bg=this.__si;for(var i=0;iP.maxWidth){T=P.maxWidth;};K=S[i];top=Y+bb.computeVerticalAlignOffset(bg[bt],K,R,bu,I);bw=bh+bb.computeHorizontalAlignOffset(bl.getAlignX()||g,T,bc,U,M);if(bj.y){if(bt==1){bq=Y+K+bu+br+I;}else {bq=Y+R-K-bu-br-I-bj.y;};ba=bw;bv=bc;if(bp&&ba>0){ba-=bs+U;bv+=(bs)*2;}else {ba-=U;};this._renderSeparator(bm,{left:ba+bk.left,top:bq+bk.top,width:bv,height:bj.y});};X=K+bu+I+br;if(bj.y){X+=bj.y+br;};R-=X;if(bt==1){Y+=X;};break;case 3:case 4:K=R-bu-I;if(KP.maxHeight){K=P.maxHeight;};T=bo[i];bw=bh+bb.computeHorizontalAlignOffset(bg[bt],T,bc,U,M);top=Y+bb.computeVerticalAlignOffset(bl.getAlignY()||n,K,R,bu,I);if(bj.x){if(bt==3){ba=bh+T+U+bs+M;}else {ba=bh+bc-T-U-bs-M-bj.x;};bq=top;bf=R;if(bp&&bq>0){bq-=br+bu;bf+=(br)*2;}else {bq-=bu;};this._renderSeparator(bn,{left:ba+bk.left,top:bq+bk.top,width:bj.x,height:bf});};X=T+U+M+bs;if(bj.x){X+=bj.x+bs;};bc-=X;if(bt==3){bh+=X;};break;default:T=bc-U-M;K=R-bu-I;if(TP.maxWidth){T=P.maxWidth;};if(KP.maxHeight){K=P.maxHeight;};bw=bh+bb.computeHorizontalAlignOffset(bl.getAlignX()||g,T,bc,U,M);top=Y+bb.computeVerticalAlignOffset(bl.getAlignY()||n,K,R,bu,I);};bl.renderLayout(bw+bk.left,top+bk.top,T,K);};},_getSeparatorWidths:function(){var by=this.getSeparatorX(),bx=this.getSeparatorY();if(by||bx){var bB=qx.theme.manager.Decoration.getInstance();};if(by){var bE=bB.resolve(by);var bA=bE.getInsets();var bD=bA.left+bA.right;};if(bx){var bF=bB.resolve(bx);var bz=bF.getInsets();var bC=bz.top+bz.bottom;};return {x:bD||0,y:bC||0};},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__lw();};var bJ=this.__gc;var bT=this.__sg;var length=bJ.length;var bN,bU;var bP,bO;var bQ=0,cc=0;var bG=0,bW=0;var bR=0,cb=0;var bH=0,bV=0;var bX=this._getSeparatorWidths();var ca=this.getSpacingX(),bY=this.getSpacingY();var bL=-ca,bK=-bY;if(bX.x){bL-=bX.x+ca;};if(bX.y){bK-=bX.y+bY;};for(var i=0;i0;this.__sn=0;},members:{__gc:null,__sl:null,__sm:null,__sn:null,computeNextLine:function(k){var k=k||Infinity;if(!this.__sm){throw new Error(a);};var p=this.__gc;var n=0;var f=0;var o=[];var j=[];for(var i=this.__sn;ik){this.__sn=i;break;};var l=q.height+m.getMarginTop()+m.getMarginBottom();o.push(m);j.push(g);f+=h;n=Math.max(n,l);if(m.getLayoutProperties().lineBreak){this.__sn=i+1;break;};};if(i>=p.length){this.__sm=false;};return {height:n,width:f,children:o,gapsBefore:j};},__so:function(r){var s=r==this.__sn;if(s){return this.__gc[r].getMarginLeft();}else {return Math.max(this.__gc[r-1].getMarginRight(),this.__gc[r].getMarginLeft(),this.__sl);};},hasMoreLines:function(){return this.__sm;}}});})();(function(){var a="menu-checkbox",b="Boolean",c="label",d="_applyValue",f="value",g="changeValue",h="toolTipText",i="enabled",j="qx.ui.menu.CheckBox",k="checked",l="menu",m="execute";qx.Class.define(j,{extend:qx.ui.menu.AbstractButton,implement:[qx.ui.form.IBooleanForm],construct:function(o,n){qx.ui.menu.AbstractButton.call(this);if(o!=null){if(o.translate){this.setLabel(o.translate());}else {this.setLabel(o);};};if(n!=null){this.setMenu(n);};this.addListener(m,this._onExecute,this);},properties:{appearance:{refine:true,init:a},value:{check:b,init:false,apply:d,event:g,nullable:true}},members:{_bindableProperties:[i,c,h,f,l],_applyValue:function(q,p){q?this.addState(k):this.removeState(k);},_onExecute:function(e){this.toggleValue();}}});})();(function(){var a="qx.ui.form.RadioGroup",b="Boolean",c="menu-radiobutton",d="label",f="_applyValue",g="qx.ui.menu.RadioButton",h="value",i="changeValue",j="toolTipText",k="enabled",l="_applyGroup",m="checked",n="menu",o="execute";qx.Class.define(g,{extend:qx.ui.menu.AbstractButton,include:[qx.ui.form.MModelProperty],implement:[qx.ui.form.IRadioItem,qx.ui.form.IBooleanForm,qx.ui.form.IModel],construct:function(q,p){qx.ui.menu.AbstractButton.call(this);if(q!=null){this.setLabel(q);};if(p!=null){this.setMenu(p);};this.addListener(o,this._onExecute,this);},properties:{appearance:{refine:true,init:c},value:{check:b,nullable:true,event:i,apply:f,init:false},group:{check:a,nullable:true,apply:l}},members:{_bindableProperties:[k,d,j,h,n],_applyValue:function(s,r){s?this.addState(m):this.removeState(m);},_applyGroup:function(u,t){if(t){t.remove(this);};if(u){u.add(this);};},_onExecute:function(e){var v=this.getGroup();if(v&&v.getAllowEmptySelection()){this.toggleValue();}else {this.setValue(true);};}}});})();(function(){var a="qx.ui.menubar.MenuBar",b="menubar";qx.Class.define(a,{extend:qx.ui.toolbar.ToolBar,properties:{appearance:{refine:true,init:b}}});})();(function(){var a="dataAvailable",b="_applyDataModel",c="Boolean",d="Render time: ",f="qx.ui.progressive.model.Abstract",g="renderStart",h="ms",j="progress",k="white",l="No existing renderer named ",m="qx.ui.progressive.Progressive",n="progressDetail",o="Integer",p="renderEnd",q="qx.event.type.Data";qx.Class.define(m,{extend:qx.ui.container.Composite,construct:function(r){qx.ui.container.Composite.call(this,new qx.ui.layout.VBox());this.__sp={};this.set({backgroundColor:k});if(!r){r=new qx.ui.progressive.structure.Default();};this.__sq=r;r.applyStructure(this);this.__sr=false;this.__ss=false;this.__st=0;},events:{"renderStart":q,"renderEnd":q,"progress":q,"progressDetail":q},properties:{dataModel:{check:f,apply:b},batchSize:{check:o,init:20},flushWidgetQueueAfterBatch:{check:c,init:false},interElementTimeout:{check:o,init:0}},members:{__sp:null,__ss:null,__su:null,__st:null,__sr:null,__sq:null,getStructure:function(){return this.__sq;},addRenderer:function(name,s){this.__sp[name]=s;s.join(this,name);},removeRenderer:function(name){if(!this.__sp[name]){throw new Error(l+name);};delete this.__sp[name];},render:function(){if(this.__ss){return;};this.__ss=true;var t=new qx.ui.progressive.State({progressive:this,model:this.getDataModel(),pane:this.__sq.getPane(),batchSize:this.getBatchSize(),rendererData:this.__sw(),userData:{}});this.__su=new Date();if(this.__sr){this.__st=t.getModel().getElementCount();this.fireDataEvent(g,{state:t,initial:this.__st});this.__sv(t);}else {qx.event.Timer.once(function(){this.__st=t.getModel().getElementCount();this.fireDataEvent(g,{state:t,initial:this.__st});this.__sv(t);this.__sr=true;},this,10);};},_applyDataModel:function(v,u){if(u){u.removeListener(a,this.__sx,this);u.dispose();};v.addListener(a,this.__sx,this);},__sv:function(x){var w;var z;var y;for(var i=x.getBatchSize();i>0;i-- ){w=x.getModel().getNextElement();if(!w){this.debug(d+(new Date()-this.__su)+h);this.__ss=false;this.fireDataEvent(p,x);x.dispose();return;};z=w.element;y=this.__sp[z.renderer];y.render(x,z);this.fireDataEvent(n,{initial:this.__st,remaining:w.remaining,element:z});};this.fireDataEvent(j,{initial:this.__st,remaining:w.remaining});if(this.getFlushWidgetQueueAfterBatch()){qx.ui.core.queue.Manager.flush();};qx.event.Timer.once(function(){this.__sv(x);},this,this.getInterElementTimeout());},__sw:function(){var A={};for(var name in this.__sp){A[name]={};};return A;},__sx:function(e){this.__st=e.getData();this.render();}},destruct:function(){for(var name in this.__sp){this.__sp[name].dispose();};this.__su=this.__sp=this.__sq=null;}});})();(function(){var a="applyStructure() is abstract",b="abstract",c="qx.ui.progressive.structure.Abstract",d="overflowY",e="auto";qx.Class.define(c,{type:b,extend:qx.core.Object,construct:function(f){qx.core.Object.call(this);if(!f){this.__sy=new qx.ui.core.Widget();this.__rr=this.__sy;}else {this.__sy=null;this.__rr=f;};this.__rr.getContentElement().setStyle(d,e);},members:{__sy:null,__rr:null,applyStructure:function(g){throw new Error(a);},getPane:function(){return this.__rr;}},destruct:function(){if(this.__sy){this.__sy.dispose();};this.__sy=this.__rr=null;}});})();(function(){var a="qx.ui.progressive.structure.Default";qx.Class.define(a,{extend:qx.ui.progressive.structure.Abstract,construct:function(b,d,c){qx.ui.progressive.structure.Abstract.call(this,c);if(!b){this.__sz=new qx.ui.progressive.headfoot.Null();this.__sA=this.__sz;}else {this.__sz=null;this.__sA=b;};if(!d){this.__sB=new qx.ui.progressive.headfoot.Null();this.__sC=this.__sB;}else {this.__sB=null;this.__sC=d;};},members:{__sA:null,__sC:null,__sz:null,__sB:null,applyStructure:function(e){this.__sA.join(e);this.__sC.join(e);e.add(this.__sA);e.add(this.getPane(),{flex:1});e.add(this.__sC);},getHeader:function(){return this.__sA;},getFooter:function(){return this.__sC;}},destruct:function(){if(this.__sz){this.__sz.dispose();this.__sz=null;};if(this.__sB){this.__sB.dispose();this.__sB=null;};this.__sA=this.__sC=null;}});})();(function(){var a="qx.ui.progressive.headfoot.Abstract",b="abstract";qx.Class.define(a,{type:b,extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this,new qx.ui.layout.HBox());},members:{__sD:null,join:function(c){this.__sD=c;}},destruct:function(){this.__sD=null;}});})();(function(){var a="qx.ui.progressive.headfoot.Null";qx.Class.define(a,{extend:qx.ui.progressive.headfoot.Abstract,construct:function(){qx.ui.progressive.headfoot.Abstract.call(this);this.exclude();}});})();(function(){var a="qx.ui.progressive.State";qx.Class.define(a,{extend:qx.core.Object,construct:function(b){qx.core.Object.call(this);this.setProgressive(b.progressive);this.setModel(b.model);this.setPane(b.pane);this.setBatchSize(b.batchSize);this.setRendererData(b.rendererData);this.setUserData(b.userData);},properties:{progressive:{nullable:true},model:{nullable:true},pane:{nullable:true},batchSize:{},rendererData:{},userData:{}},destruct:function(){this.setProgressive(null);this.setModel(null);this.setPane(null);}});})();(function(){var a="resize",b="mshtml",c="engine.name",d="relative",f="",g=" needs a height when its height size should be used!",h="px",i="height",j=" needs a width when its width size should be used!",k="-webkit-backface-visibility",l="qx.ui.root.Inline",m="$$widget",n="appear",o="hidden",p="div",q="left",r="The root element ",s=" of ";qx.Class.define(l,{extend:qx.ui.root.Abstract,include:[qx.ui.core.MLayoutHandling],construct:function(u,v,t){{};this.__sE=u;u.style.overflow=o;u.style.textAlign=q;this.__sF=v||false;this.__sG=t||false;this.__sH();qx.ui.root.Abstract.call(this);this._setLayout(new qx.ui.layout.Basic());qx.ui.core.queue.Layout.add(this);qx.ui.core.FocusHandler.getInstance().connectTo(this);if((qx.core.Environment.get(c)==b)){this.setKeepFocus(true);};var window=qx.dom.Node.getWindow(u);qx.event.Registration.addListener(window,a,this._onWindowResize,this);this.getContentElement().setStyle(k,o);},members:{__sF:false,__sG:false,__sE:null,__sH:function(){if(this.__sF||this.__sG){var w=qx.bom.element.Dimension.getSize(this.__sE);if(this.__sF&&w.width<1){throw new Error(r+this.__sE+s+this+j);};if(this.__sG){if(w.height<1){throw new Error(r+this.__sE+s+this+g);};if(w.height>=1&&qx.bom.element.Style.get(this.__sE,i,3)==f){qx.bom.element.Style.set(this.__sE,i,w.height+h);};};qx.event.Registration.addListener(this.__sE,a,this._onResize,this);};},_createContentElement:function(){var x=this.__sE;if(this.__sF||this.__sG){var z=document.createElement(p);x.appendChild(z);}else {z=x;};var y=new qx.html.Root(z);z.style.position=d;y.setAttribute(m,this.toHashCode());qx.event.Timer.once(function(e){this.fireEvent(n);},this,0);return y;},_onResize:function(e){var A=e.getData();if((A.oldWidth!==A.width)&&this.__sF||(A.oldHeight!==A.height)&&this.__sG){qx.ui.core.queue.Layout.add(this);};},_onWindowResize:function(){if(qx.ui.popup&&qx.ui.popup.Manager){qx.ui.popup.Manager.getInstance().hideAll();};if(qx.ui.menu&&qx.ui.menu.Manager){qx.ui.menu.Manager.getInstance().hideAll();};},_computeSizeHint:function(){var F=this.__sF;var C=this.__sG;if(!F||!C){var B=qx.ui.root.Abstract.prototype._computeSizeHint.call(this);}else {B={};};var G=qx.bom.element.Dimension;if(F){var E=G.getContentWidth(this.__sE);B.width=E;B.minWidth=E;B.maxWidth=E;};if(C){var D=G.getContentHeight(this.__sE);B.height=D;B.minHeight=D;B.maxHeight=D;};return B;}},defer:function(H,I){qx.ui.core.MLayoutHandling.remap(I);},destruct:function(){qx.event.Registration.removeListener(this.__sE,a,this._onResize,this);this.__sE=null;}});})();(function(){var a="resize",b="__dE",c="interval",d="body",f="qx.event.handler.ElementResize";qx.Class.define(f,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(g){qx.core.Object.call(this);this.__et=g;this.__sI={};this.__dE=new qx.event.Timer(200);this.__dE.addListener(c,this._onInterval,this);},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{resize:true},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:false},members:{__sI:null,__et:null,__dE:null,canHandleEvent:function(i,h){return i.tagName.toLowerCase()!==d;},registerEvent:function(m,n,j){var l=qx.core.ObjectRegistry.toHashCode(m);var k=this.__sI;if(!k[l]){k[l]={element:m,width:qx.bom.element.Dimension.getWidth(m),height:qx.bom.element.Dimension.getHeight(m)};this.__dE.start();};},unregisterEvent:function(r,s,o){var q=qx.core.ObjectRegistry.toHashCode(r);var p=this.__sI;if(p[q]){delete p[q];if(qx.lang.Object.isEmpty(p)){this.__dE.stop();};};},_onInterval:function(e){var u=this.__sI;for(var x in u){var y=u[x];var t=y.element;var w=qx.bom.element.Dimension.getWidth(t);var v=qx.bom.element.Dimension.getHeight(t);if(y.height!==v||y.width!==w){qx.event.Registration.fireNonBubblingEvent(t,a,qx.event.type.Data,[{width:w,oldWidth:y.width,height:v,oldHeight:y.height}]);y.width=w;y.height=v;};};}},destruct:function(){this.__et=this.__sI=null;this._disposeObjects(b);},defer:function(z){qx.event.Registration.addHandler(z);}});})();(function(){var a="resize",b="qx.ui.root.Page",c="engine.name",d="mshtml",f="gecko",g="paddingLeft",h="$$widget",i="The root widget does not support 'left', or 'top' paddings!",j="div",k="left",l="paddingTop",m="qxIsRootPage",n="absolute";qx.Class.define(b,{extend:qx.ui.root.Abstract,construct:function(o){this.__ms=o;qx.ui.root.Abstract.call(this);this._setLayout(new qx.ui.layout.Basic());this.setZIndex(10000);qx.ui.core.queue.Layout.add(this);this.addListener(a,this.__sJ,this);qx.ui.core.FocusHandler.getInstance().connectTo(this);if((qx.core.Environment.get(c)==d)){this.setKeepFocus(true);};},members:{__dE:null,__ms:null,_createContentElement:function(){var q=this.__ms.createElement(j);this.__ms.body.appendChild(q);var p=new qx.html.Root(q);p.setStyles({position:n,textAlign:k});p.setAttribute(h,this.toHashCode());if((qx.core.Environment.get(c)==f)){p.setAttribute(m,1);};return p;},_computeSizeHint:function(){var r=qx.bom.Document.getWidth(this._window);var s=qx.bom.Document.getHeight(this._window);return {minWidth:r,width:r,maxWidth:r,minHeight:s,height:s,maxHeight:s};},__sJ:function(e){this.getContentElement().setStyles({width:0,height:0});},supportsMaximize:function(){return false;},_applyPadding:function(u,t,name){if(u&&(name==l||name==g)){throw new Error(i);};qx.ui.root.Abstract.prototype._applyPadding.call(this,u,t,name);}},destruct:function(){this.__ms=null;}});})();(function(){var a="mshtml",b="engine.name",c="repeat",d="horizontal",e="top",f="height",g="_applyOrientation",h="url(",i="qx.ui.splitpane.Blocker",j="width",k=")",l="col-resize",m="row-resize",n="px",o="100%",p="div",q="left",r="vertical",s="qx/static/blank.gif",t="cursor",u="absolute";qx.Class.define(i,{extend:qx.html.Element,construct:function(w){var v={position:u,zIndex:11};if((qx.core.Environment.get(b)==a)){v.backgroundImage=h+qx.util.ResourceManager.getInstance().toUri(s)+k;v.backgroundRepeat=c;};qx.html.Element.call(this,p,v);if(w){this.setOrientation(w);}else {this.initOrientation();};},properties:{orientation:{init:d,check:[d,r],apply:g}},members:{_applyOrientation:function(y,x){if(y==d){this.setStyle(f,o);this.setStyle(t,l);this.setStyle(e,null);}else {this.setStyle(j,o);this.setStyle(q,null);this.setStyle(t,m);};},setWidth:function(A,z){var B=z+2*A;this.setStyle(j,B+n);},setHeight:function(D,C){var E=C+2*D;this.setStyle(f,E+n);},setLeft:function(G,F){var H=F-G;this.setStyle(q,H+n);},setTop:function(J,I){var top=I-J;this.setStyle(e,top+n);}}});})();(function(){var a="splitter",b="qx.ui.splitpane.HLayout",c="slider";qx.Class.define(b,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(s,k,r){var h=this._getLayoutChildren();var length=h.length;var t,n;var o,v,u,j;var x=r.left||0;var l=r.top||0;for(var i=0;i0&&g>0){var f=A+g;var p=s-z;var q=Math.round((p/f)*A);var y=p-q;var w=qx.ui.layout.Util.arrangeIdeals(d.minWidth,q,d.maxWidth,m.minWidth,y,m.maxWidth);q=w.begin;y=w.end;}else if(A>0){q=s-z-y;if(qd.maxWidth){q=d.maxWidth;};}else if(g>0){y=s-q-z;if(ym.maxWidth){y=m.maxWidth;};};o.renderLayout(x,l,q,k);v.renderLayout(q+x,l,z,k);j.renderLayout(q+z+x,l,y,k);}else {v.renderLayout(0,0,0,0);if(o){o.renderLayout(x,l,s,k);}else if(j){j.renderLayout(x,l,s,k);};};},_computeSizeHint:function(){var K=this._getLayoutChildren();var length=K.length;var J,C,D;var H=0,I=0,B=0;var E=0,G=0,F=0;for(var i=0;iE){E=C.minHeight;};if(C.height>G){G=C.height;};if(C.maxHeight>F){F=C.maxHeight;};};return {minWidth:H,width:I,maxWidth:B,minHeight:E,height:G,maxHeight:F};}}});})();(function(){var a="slider",b="splitter",c="px",d="Integer",f="height",g="move",h="maxHeight",i="resize",j="pointerup",k="vertical",l="width",m="_applyOrientation",n="_applyOffset",o="splitpane",p="qx.ui.splitpane.Pane",q="pointerdown",r="top",s="minHeight",t="knob",u="horizontal",v="minWidth",w="appear",z="losecapture",A="left",B="pointermove",C="maxWidth",D="pointerout";qx.Class.define(p,{extend:qx.ui.core.Widget,construct:function(E){qx.ui.core.Widget.call(this);this.__gc=[];if(E){this.setOrientation(E);}else {this.initOrientation();};this.__lN.addListener(q,this._onPointerDown,this);this.__lN.addListener(j,this._onPointerUp,this);this.__lN.addListener(B,this._onPointerMove,this);this.__lN.addListener(D,this._onPointerOut,this);this.__lN.addListener(z,this._onPointerUp,this);},properties:{appearance:{refine:true,init:o},offset:{check:d,init:6,apply:n},orientation:{init:u,check:[u,k],apply:m}},members:{__sK:null,__sL:false,__sM:null,__sN:null,__nl:null,__sO:null,__sP:null,__gc:null,__lN:null,_createChildControlImpl:function(H,G){var F;switch(H){case a:F=new qx.ui.splitpane.Slider(this);F.exclude();this._add(F,{type:H});break;case b:F=new qx.ui.splitpane.Splitter(this);this._add(F,{type:H});F.addListener(g,this.__sQ,this);break;};return F||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,H);},__sQ:function(e){this.__sS(e.getData());},__sR:function(K){this.__lN=new qx.ui.splitpane.Blocker(K);this.getContentElement().add(this.__lN);var I=this.getChildControl(b);var J=I.getWidth();if(!J){I.addListenerOnce(w,function(){this.__sS();},this);};I.addListener(i,function(e){var L=e.getData();if(L.height==0||L.width==0){this.__lN.hide();}else {this.__lN.show();};},this);},getBlocker:function(){return this.__lN;},_applyOrientation:function(Q,N){var R=this.getChildControl(a);var M=this.getChildControl(b);this.__nl=Q===u;if(!this.__lN){this.__sR(Q);};this.__lN.setOrientation(Q);var P=this._getLayout();if(P){P.dispose();};var O=Q===k?new qx.ui.splitpane.VLayout:new qx.ui.splitpane.HLayout;this._setLayout(O);M.removeState(N);M.addState(Q);M.getChildControl(t).removeState(N);M.getChildControl(t).addState(Q);R.removeState(N);R.addState(Q);qx.ui.core.queue.Manager.flush();this.__sS();},_applyOffset:function(T,S){this.__sS();},__sS:function(V){var U=this.getChildControl(b);var ba=this.getOffset();var bb=U.getBounds();var Y=U.getContentElement().getDomElement();if(!Y){return;};if(this.__nl){var X=null;if(V){X=V.width;}else if(bb){X=bb.width;};var bc=V&&V.left;if(X){if(isNaN(bc)){bc=qx.bom.element.Location.getPosition(Y).left;};this.__lN.setWidth(ba,X);this.__lN.setLeft(ba,bc);};}else {var W=null;if(V){W=V.height;}else if(bb){W=bb.height;};var top=V&&V.top;if(W){if(isNaN(top)){top=qx.bom.element.Location.getPosition(Y).top;};this.__lN.setHeight(ba,W);this.__lN.setTop(ba,top);};};},add:function(be,bd){if(bd==null){this._add(be);}else {this._add(be,{flex:bd});};this.__gc.push(be);},remove:function(bf){this._remove(bf);qx.lang.Array.remove(this.__gc,bf);},getChildren:function(){return this.__gc;},_onPointerDown:function(e){if(!e.isLeftPressed()){return;};var bg=this.getChildControl(b);var bj=bg.getContentLocation();var bh=this.getContentLocation();this.__sK=this.__nl?e.getDocumentLeft()-bj.left+bh.left:e.getDocumentTop()-bj.top+bh.top;var bi=this.getChildControl(a);var bk=bg.getBounds();bi.setUserBounds(bk.left,bk.top,bk.width,bk.height);bi.setZIndex(bg.getZIndex()+1);bi.show();this.__sL=true;this.__lN.capture();e.stop();},_onPointerMove:function(e){this._setLastPointerPosition(e.getDocumentLeft(),e.getDocumentTop());if(this.__sL){this.__sT();var bl=this.getChildControl(a);var bm=this.__sO;if(this.__nl){bl.setDomLeft(bm);this.__lN.setStyle(A,(bm-this.getOffset())+c);}else {bl.setDomTop(bm);this.__lN.setStyle(r,(bm-this.getOffset())+c);};e.stop();};},_onPointerOut:function(e){this._setLastPointerPosition(e.getDocumentLeft(),e.getDocumentTop());},_onPointerUp:function(e){if(!this.__sL){return;};this._finalizeSizes();var bn=this.getChildControl(a);bn.exclude();this.__sL=false;this.releaseCapture();e.stop();},_finalizeSizes:function(){var br=this.__sO;var bo=this.__sP;if(br==null){return;};var bt=this._getChildren();var bs=bt[2];var bq=bt[3];var bp=bs.getLayoutProperties().flex;var bu=bq.getLayoutProperties().flex;if((bp!=0)&&(bu!=0)){bs.setLayoutProperties({flex:br});bq.setLayoutProperties({flex:bo});}else {if(this.__nl){bs.setWidth(br);bq.setWidth(bo);}else {bs.setHeight(br);bq.setHeight(bo);};};},__sT:function(){if(this.__nl){var bx=v,bE=l,by=C,bC=this.__sM;}else {var bx=s,bE=f,by=h,bC=this.__sN;};var bD=this._getChildren();var bv=bD[2].getSizeHint();var bA=bD[3].getSizeHint();var bB=bD[2].getBounds()[bE]+bD[3].getBounds()[bE];var bz=bC-this.__sK;var bw=bB-bz;if(bzbv[by]){bw+=bz-bv[by];bz=bv[by];}else if(bw>bA[by]){bz+=bw-bA[by];bw=bA[by];};this.__sO=bz;this.__sP=bw;},_isActiveDragSession:function(){return this.__sL;},_setLastPointerPosition:function(x,y){this.__sM=x;this.__sN=y;}},destruct:function(){this.__gc=null;}});})();(function(){var a="splitter",b="qx.ui.splitpane.VLayout",c="slider";qx.Class.define(b,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(t,l,s){var j=this._getLayoutChildren();var length=j.length;var u,o;var p,w,v,k;var y=s.left||0;var m=s.top||0;for(var i=0;i0&&g>0){var f=A+g;var q=l-h;var r=Math.round((q/f)*A);var z=q-r;var x=qx.ui.layout.Util.arrangeIdeals(d.minHeight,r,d.maxHeight,n.minHeight,z,n.maxHeight);r=x.begin;z=x.end;}else if(A>0){r=l-h-z;if(rd.maxHeight){r=d.maxHeight;};}else if(g>0){z=l-r-h;if(zn.maxHeight){z=n.maxHeight;};};p.renderLayout(y,m,t,r);w.renderLayout(y,r+m,t,h);k.renderLayout(y,r+h+m,t,z);}else {w.renderLayout(0,0,0,0);if(p){p.renderLayout(y,m,t,l);}else if(k){k.renderLayout(y,m,t,l);};};},_computeSizeHint:function(){var K=this._getLayoutChildren();var length=K.length;var J,C,D;var E=0,G=0,F=0;var H=0,I=0,B=0;for(var i=0;iH){H=C.minWidth;};if(C.width>I){I=C.width;};if(C.maxWidth>B){B=C.maxWidth;};};return {minHeight:E,height:G,maxHeight:F,minWidth:H,width:I,maxWidth:B};}}});})();(function(){var a="center",b="qx.ui.splitpane.Splitter",c="vertical",d="knob",e="middle";qx.Class.define(b,{extend:qx.ui.core.Widget,construct:function(f){qx.ui.core.Widget.call(this);if(f.getOrientation()==c){this._setLayout(new qx.ui.layout.HBox(0,a));this._getLayout().setAlignY(e);}else {this._setLayout(new qx.ui.layout.VBox(0,e));this._getLayout().setAlignX(a);};this._createChildControl(d);},properties:{allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{_createChildControlImpl:function(i,h){var g;switch(i){case d:g=new qx.ui.basic.Image;this._add(g);break;};return g||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,i);}}});})();(function(){var a="qx.ui.splitpane.Slider";qx.Class.define(a,{extend:qx.ui.core.Widget,properties:{allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false}}});})();(function(){var a="qx.ui.table.ICellEditorFactory";qx.Interface.define(a,{members:{createCellEditor:function(b){return true;},getCellEditorValue:function(c){return true;}}});})();(function(){var a="qx.ui.table.ICellRenderer";qx.Interface.define(a,{members:{createDataCellHtml:function(b,c){return true;}}});})();(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 a="qx.ui.table.IColumnMenuItem",b="qx.event.type.Data";qx.Interface.define(a,{properties:{visible:{}},events:{changeVisible: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 a="qx.ui.table.IRowRenderer";qx.Interface.define(a,{members:{updateDataRowElement:function(c,b){},getRowHeightStyle:function(d){},createRowStyle:function(e){},getRowClass:function(f){}}});})();(function(){var a="qx.event.type.Event",b="qx.ui.table.ITableModel",c="qx.event.type.Data";qx.Interface.define(b,{events:{"dataChanged":c,"metaDataChanged":a,"sorted":c},members:{getRowCount:function(){},getRowData:function(d){},getColumnCount:function(){},getColumnId:function(e){},getColumnIndexById:function(f){},getColumnName:function(g){},isColumnEditable:function(h){},isColumnSortable:function(i){},sortByColumn:function(j,k){},getSortColumnIndex:function(){},isSortAscending:function(){},prefetchRows:function(m,l){},getValue:function(o,n){},getValueById:function(q,p){},setValue:function(s,r,t){},setValueById:function(v,u,w){}}});})();(function(){var a="contextmenu",b="function",c="qx.ui.table.MTableContextMenu",d="cellContextmenu",f="disappear";qx.Mixin.define(c,{construct:function(){this.addListener(d,function(e){var g=this.getContextMenu();if(g&&!g.isDisposed()){g.hide();this.setContextMenu(null);this.getApplicationRoot().remove(g);g.dispose();g=null;};var l=e.getColumn();var h=this.getContextMenuHandler(l);if(typeof h!==b){return;};var k=this.__sV[l];var i=this.getTableModel();g=new qx.ui.menu.Menu();g.addListener(a,function(e){e.preventDefault();});g.addListenerOnce(f,function(){this.setContextMenu(null);},this);var j=h.call(k,l,e.getRow(),this,i,g);if(!j){g.dispose();return;};this.setContextMenu(g);},this);this.__sU=[];this.__sV=[];},members:{__sU:null,__sV:null,setContextMenuHandler:function(n,m,o){this.__sU[n]=m;this.__sV[n]=o||this;},getContextMenuHandler:function(p){return this.__sU[p];}},destruct:function(){this.__sU=null;this.__sV=null;}});})();(function(){var a="_applyStatusBarVisible",b="columnVisibilityMenuCreateStart",c="function",d="blur",f="qx.ui.table.Table",g="Boolean",h="_applyFocusCellOnPointerMove",k="columnVisibilityMenuCreateEnd",m="changeVisible",n="verticalScrollBarChanged",o="_applyMetaColumnCounts",p="PageUp",q="focus",r="changeDataRowRenderer",s="dataChanged",t="changeHeaderCellHeight",u="Escape",v="A",w="changeSelectionModel",y="Left",z="Down",A="Integer",B="__sX",C="_applyHeaderCellHeight",D="qx.event.type.Data",E="statusbar",F="Function",G="menu",H="qx.ui.table.ITableModel",I="column-button",J="_applySelectionModel",K="changeLocale",L="__sW",M="menu-button",N="_applyResetSelectionOnHeaderTap",O="_applyAdditionalStatusBarText",P="table",Q="_applyColumnVisibilityButtonVisible",R="changeTableModel",S="qx.event.type.Event",T="tableWidthChanged",U="changeSelection",V="_applyHeaderCellsVisible",W="Object",X="_applyShowCellFocusIndicator",Y="__tf",bQ="resize",bR="changeScrollY",bS="_applyTableModel",bM="__tg",bN="End",bO="_applyKeepFirstVisibleRowComplete",bP="widthChanged",bW="one of one row",bX="Home",bY="_applyRowHeight",cs="F2",bT="appear",bU="visibilityChanged",bV="qx.dynlocale",bJ="%1 rows",cq="qx.ui.table.selection.Model",bL='"',cc="one row",cd="PageDown",bK="%1 of %2 rows",ca="__dE",ck="keypress",cb="changeRowHeight",ce="Up",cf="Enter",cg="Number",cl="metaDataChanged",cm="header",cp="__th",cr="_applyContextMenuFromDataCellsOnly",ch="qx.ui.table.IRowRenderer",ci="Right",cj="orderChanged",cn="qx.ui.table.pane.CellEvent",co="Space";qx.Class.define(f,{extend:qx.ui.core.Widget,include:qx.ui.core.MDragDropScrolling,construct:function(ct,cv){qx.ui.core.Widget.call(this);if(!cv){cv={};};if(cv.initiallyHiddenColumns){this.setInitiallyHiddenColumns(cv.initiallyHiddenColumns);};if(cv.selectionManager){this.setNewSelectionManager(cv.selectionManager);};if(cv.selectionModel){this.setNewSelectionModel(cv.selectionModel);};if(cv.tableColumnModel){this.setNewTableColumnModel(cv.tableColumnModel);};if(cv.tablePane){this.setNewTablePane(cv.tablePane);};if(cv.tablePaneHeader){this.setNewTablePaneHeader(cv.tablePaneHeader);};if(cv.tablePaneScroller){this.setNewTablePaneScroller(cv.tablePaneScroller);};if(cv.tablePaneModel){this.setNewTablePaneModel(cv.tablePaneModel);};if(cv.columnMenu){this.setNewColumnMenu(cv.columnMenu);};this._setLayout(new qx.ui.layout.VBox());this.__sW=new qx.ui.container.Composite(new qx.ui.layout.HBox());this._add(this.__sW,{flex:1});this.setDataRowRenderer(new qx.ui.table.rowrenderer.Default(this));this.__sX=this.getNewSelectionManager()(this);this.setSelectionModel(this.getNewSelectionModel()(this));this.setTableModel(ct||this.getEmptyTableModel());this.setMetaColumnCounts([-1]);this.setTabIndex(1);this.addListener(ck,this._onKeyPress);this.addListener(q,this._onFocusChanged);this.addListener(d,this._onFocusChanged);var cu=new qx.ui.core.Widget().set({height:0});this._add(cu);cu.addListener(bQ,this._onResize,this);this.__sY=null;this.__ta=null;if(qx.core.Environment.get(bV)){qx.locale.Manager.getInstance().addListener(K,this._onChangeLocale,this);};this.initStatusBarVisible();ct=this.getTableModel();if(ct.init&&typeof (ct.init)==c){ct.init(this);};},events:{"columnVisibilityMenuCreateStart":D,"columnVisibilityMenuCreateEnd":D,"tableWidthChanged":S,"verticalScrollBarChanged":D,"cellTap":cn,"cellDbltap":cn,"cellContextmenu":cn,"dataEdited":D},statics:{__tb:{cellTap:1,cellDbltap:1,cellContextmenu:1}},properties:{appearance:{refine:true,init:P},focusable:{refine:true,init:true},minWidth:{refine:true,init:50},initiallyHiddenColumns:{init:null},selectable:{refine:true,init:false},selectionModel:{check:cq,apply:J,event:w},tableModel:{check:H,apply:bS,event:R},rowHeight:{check:cg,init:20,apply:bY,event:cb,themeable:true},forceLineHeight:{check:g,init:true},headerCellsVisible:{check:g,init:true,apply:V,themeable:true},headerCellHeight:{check:A,init:16,apply:C,event:t,nullable:true,themeable:true},statusBarVisible:{check:g,init:true,apply:a},additionalStatusBarText:{nullable:true,init:null,apply:O},columnVisibilityButtonVisible:{check:g,init:true,apply:Q,themeable:true},metaColumnCounts:{check:W,apply:o},focusCellOnPointerMove:{check:g,init:false,apply:h},rowFocusChangeModifiesSelection:{check:g,init:true},showCellFocusIndicator:{check:g,init:true,apply:X},contextMenuFromDataCellsOnly:{check:g,init:true,apply:cr},keepFirstVisibleRowComplete:{check:g,init:true,apply:bO},alwaysUpdateCells:{check:g,init:false},resetSelectionOnHeaderTap:{check:g,init:true,apply:N},dataRowRenderer:{check:ch,init:null,nullable:true,event:r},modalCellEditorPreOpenFunction:{check:F,init:null,nullable:true},newColumnMenu:{check:F,init:function(){return new qx.ui.table.columnmenu.Button();}},newSelectionManager:{check:F,init:function(cw){return new qx.ui.table.selection.Manager(cw);}},newSelectionModel:{check:F,init:function(cx){return new qx.ui.table.selection.Model(cx);}},newTableColumnModel:{check:F,init:function(cy){return new qx.ui.table.columnmodel.Basic(cy);}},newTablePane:{check:F,init:function(cz){return new qx.ui.table.pane.Pane(cz);}},newTablePaneHeader:{check:F,init:function(cA){return new qx.ui.table.pane.Header(cA);}},newTablePaneScroller:{check:F,init:function(cB){return new qx.ui.table.pane.Scroller(cB);}},newTablePaneModel:{check:F,init:function(cC){return new qx.ui.table.pane.Model(cC);}}},members:{__sY:null,__ta:null,__sW:null,__sX:null,__tc:null,__td:null,__te:null,__tf:null,__tg:null,__th:null,__ti:null,__dE:null,_createChildControlImpl:function(cG,cF){var cD;switch(cG){case E:cD=new qx.ui.basic.Label();cD.set({allowGrowX:true});this._add(cD);break;case I:cD=this.getNewColumnMenu()();cD.set({focusable:false});var cE=cD.factory(G,{table:this});cE.addListener(bT,this._initColumnMenu,this);break;};return cD||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,cG);},_applySelectionModel:function(cI,cH){this.__sX.setSelectionModel(cI);if(cH!=null){cH.removeListener(U,this._onSelectionChanged,this);};cI.addListener(U,this._onSelectionChanged,this);},_applyRowHeight:function(cL,cK){var cJ=this._getPaneScrollerArr();for(var i=0;idj){var dr=qx.event.Registration.getManager(dg[0]);for(var di in qx.ui.table.Table.__tb){dl[di]={};dl[di].capture=dr.getListeners(dg[0],di,true);dl[di].bubble=dr.getListeners(dg[0],di,false);};};this._cleanUpMetaColumns(dn.length);var dm=0;for(var i=0;idg.length){var ds=this.getTableColumnModel();for(var i=dg.length;i0){var dh=dl[di].capture;for(var j=0;j0){var dv=dl[di].bubble;for(var j=0;j=dO;i-- ){dN[i].destroy();};};},_onChangeLocale:function(dP){this.updateContent();this._updateStatusBar();},_onChangeTheme:function(){qx.ui.core.Widget.prototype._onChangeTheme.call(this);this.getDataRowRenderer().initThemeValues();this.updateContent();this._updateStatusBar();},_onSelectionChanged:function(dR){var dQ=this._getPaneScrollerArr();for(var i=0;i=ea&&this.__ta<(ea+ed)){this.setFocusedCell();};};for(var i=0;i0){this.getSelectionModel().setSelectionInterval(0,el-1);};break;default:ek=false;break;};}else {switch(eo){case co:this.__sX.handleSelectKeyDown(this.__ta,ep);break;case cs:case cf:this.startEditing();ek=true;break;case bX:this.setFocusedCell(this.__sY,0,true);break;case bN:var el=this.getTableModel().getRowCount();this.setFocusedCell(this.__sY,el-1,true);break;case y:this.moveFocusedCell(-1,0);break;case ci:this.moveFocusedCell(1,0);break;case ce:this.moveFocusedCell(0,-1);break;case z:this.moveFocusedCell(0,1);break;case p:case cd:var ej=this.getPaneScroller(0);var em=ej.getTablePane();var ei=this.getRowHeight();var eh=(eo==p)?-1:1;el=em.getVisibleRowCount()-1;ej.setScrollY(ej.getScrollY()+eh*el*ei);this.moveFocusedCell(0,eh*el);break;default:ek=false;};};};if(en!=this.__ta&&this.getRowFocusChangeModifiesSelection()){this.__sX.handleMoveKeyDown(this.__ta,ep);};if(ek){ep.preventDefault();ep.stopPropagation();};},_onFocusChanged:function(er){var eq=this._getPaneScrollerArr();for(var i=0;i=fg.left&&fh<=fg.right){return i;};};return -1;},_getMetaColumnAtColumnX:function(fj){var fk=this.getMetaColumnCounts();var fl=0;for(var i=0;i=0){if(fn==0){fp=this.trn(cc,bJ,fo,fo);}else {fp=this.trn(bW,bK,fo,fn,fo);};};if(this.__tc){if(fp){fp+=this.__tc;}else {fp=this.__tc;};};if(fp){this.getChildControl(E).setValue(fp);};};},_updateScrollerWidths:function(){var fq=this._getPaneScrollerArr();for(var i=0;i0;},getAnchorSelectionIndex:function(){return this.__tk;},_setAnchorSelectionIndex:function(o){this.__tk=o;},getLeadSelectionIndex:function(){return this.__tl;},_setLeadSelectionIndex:function(p){this.__tl=p;},_getSelectedRangeArr:function(){return this.__tj;},resetSelection:function(){if(!this.isSelectionEmpty()){this._resetSelection();this._fireChangeSelection();};},isSelectionEmpty:function(){return this.__tj.length==0;},getSelectedCount:function(){var r=0;for(var i=0;i=t.minIndex&&s<=t.maxIndex){return true;};};return false;},getSelectedRanges:function(){var u=[];for(var i=0;iH){break;}else if(J.maxIndex>=D){var K=(J.minIndex>=D)&&(J.minIndex<=H);var F=(J.maxIndex>=D)&&(J.maxIndex<=H);if(K&&F){this.__tj.splice(i,1);i-- ;}else if(K){J.minIndex=H+1;}else if(F){J.maxIndex=D-1;}else {var I={minIndex:H+1,maxIndex:J.maxIndex};this.__tj.splice(i+1,0,I);J.maxIndex=D-1;break;};};};this._fireChangeSelection();},_resetSelection:function(){this.__tj=[];this.__tk=-1;this.__tl=-1;},_addSelectionInterval:function(O,M){this.__tk=O;this.__tl=M;var L=Math.min(O,M);var P=Math.max(O,M);var N=0;for(;NL){break;};};this.__tj.splice(N,0,{minIndex:L,maxIndex:P});var R=this.__tj[0];for(var i=1;i=Q.minIndex){R.maxIndex=Math.max(R.maxIndex,Q.maxIndex);this.__tj.splice(i,1);i-- ;}else {R=Q;};};},_dumpRanges:function(){var S=h;for(var i=0;i=cj){if(cj==0){this.setFocusedCell(null,null);}else {this.setFocusedCell(this.getFocusedColumn(),cj-1);};};this.__td=cj;};},onSelectionChanged:function(){this.__tr.onSelectionChanged();},onFocusChanged:function(){this.__tr.onFocusChanged();},onTableModelMetaDataChanged:function(){this.__sA.onTableModelMetaDataChanged();this.__tr.onTableModelMetaDataChanged();},_onPaneModelChanged:function(){this.__sA.onPaneModelChanged();this.__tr.onPaneModelChanged();},_onResizePane:function(){this.updateHorScrollBarMaximum();this.updateVerScrollBarMaximum();this._updateContent();this.__sA._updateContent();this.__tq._updateScrollBarVisibility();},updateHorScrollBarMaximum:function(){var cs=this._paneClipper.getInnerSize();if(!cs){return;};var cp=this.getTablePaneModel().getTotalWidth();var cq=this.__tu;if(cs.width0&&cE.y<1){cE.y=1;}else if(cE.y<0&&cE.y>-1){cE.y=-1;};this.__tv.scrollBy(parseInt(cE.y,10));var cC=cE.y!=0&&!this.__tM(this.__tv,cE.y);if(cE.x>0&&cE.x<1){cE.x=1;}else if(cE.x<0&&cE.x>-1){cE.x=-1;};this.__tu.scrollBy(parseInt(cE.x,10));if(this.__tI&&this.getFocusCellOnPointerMove()){this._focusCellAtPagePos(this.__tI,this.__tJ);};cC=cC||(cE.x!=0&&!this.__tM(this.__tu,cE.x));if(cC){e.stop();}else {e.stopMomentum();};},__tM:function(cG,cH){var cF=cG.getPosition();return (cH<0&&cF<=0)||(cH>0&&cF>=cG.getMaximum());},__tN:function(cN){var cL=this.getTable();var cO=this.__sA.getHeaderWidgetAtColumn(this.__tC);var cI=cO.getSizeHint().minWidth;var cK=Math.max(cI,this.__tE+cN-this.__tD);if(this.getLiveResize()){var cJ=cL.getTableColumnModel();cJ.setColumnWidth(this.__tC,cK,true);}else {this.__sA.setColumnWidth(this.__tC,cK,true);var cM=this.getTablePaneModel();this._showResizeLine(cM.getColumnLeft(this.__tC)+cK);};this.__tD+=cK-this.__tE;this.__tE=cK;},__tO:function(cR){var cQ=qx.ui.table.pane.Scroller.TAP_TOLERANCE;if(this.__sA.isShowingColumnMoveFeedback()||cR>this.__tB+cQ||cRdx){dw-- ;};dA.moveColumn(dx,dw);this._updateFocusIndicator();};};this._moveColumn=null;this._lastMoveTargetX=null;this._headerClipper.releaseCapture();},_onPointerupHeader:function(e){var dE=this.getTable();if(!dE.getEnabled()){return;};if(this.__tC!=null){this._stopResizeHeader();this.__tH=true;e.stop();}else if(this._moveColumn!=null){this._stopMoveHeader();e.stop();};},_onTapHeader:function(e){if(this.__tH){this.__tH=false;return;};var dJ=this.getTable();if(!dJ.getEnabled()){return;};var dH=dJ.getTableModel();var dI=e.getDocumentLeft();var dG=this._getResizeColumnForPageX(dI);if(dG==-1){var dM=this._getColumnForPageX(dI);if(dM!=null&&dH.isColumnSortable(dM)){var dF=dH.getSortColumnIndex();var dK=(dM!=dF)?true:!dH.isSortAscending();var dL={column:dM,ascending:dK,tapEvent:e};if(this.fireDataEvent(V,dL,null,true)){if(dJ.isEditing()){dJ.stopEditing();};dH.sortByColumn(dM,dK);if(this.getResetSelectionOnHeaderTap()){dJ.getSelectionModel().resetSelection();};};};};e.stop();},_onTapPane:function(e){var dQ=this.getTable();if(!dQ.getEnabled()){return;};var dO=e.getDocumentLeft();var dP=e.getDocumentTop();var dS=this._getRowForPagePos(dO,dP);var dR=this._getColumnForPageX(dO);if(dS!=null&&dR!=null){var dN=this.getSelectBeforeFocus();if(dN){dQ.getSelectionManager().handleTap(dS,e);};if(!this.getFocusCellOnPointerMove()){this._focusCellAtPagePos(dO,dP);};if(!dN){dQ.getSelectionManager().handleTap(dS,e);};if(this.__tw.isHidden()||(this.__tF&&!this.__tG&&!this.isEditing()&&dS==this.__tF.row&&dR==this.__tF.col)){this.fireEvent(r,qx.ui.table.pane.CellEvent,[this,e,dS,dR],true);this.__tG=true;};};},_onContextMenu:function(e){var dU=e.getDocumentLeft();var dV=e.getDocumentTop();var dX=this._getRowForPagePos(dU,dV);var dW=this._getColumnForPageX(dU);if(dX===null&&this.getContextMenuFromDataCellsOnly()){return;};if(!this.getShowCellFocusIndicator()||dX===null||(this.__tF&&dX==this.__tF.row&&dW==this.__tF.col)){this.fireEvent(X,qx.ui.table.pane.CellEvent,[this,e,dX,dW],true);var dT=this.getTable().getContextMenu();if(dT){if(dT.getChildren().length>0){dT.openAtPointer(e);}else {dT.exclude();};e.preventDefault();};};},_onContextMenuOpen:function(e){},_onDbltapPane:function(e){var eb=e.getDocumentLeft();var ec=e.getDocumentTop();var ea=this._getColumnForPageX(eb);if(ea!==null){this._focusCellAtPagePos(eb,ec);this.startEditing();var dY=this._getRowForPagePos(eb,ec);if(dY!=-1&&dY!=null){this.fireEvent(l,qx.ui.table.pane.CellEvent,[this,e,dY],true);};};},_onPointerout:function(e){var ed=this.getTable();if(!ed.getEnabled()){return;};if(this.__tC==null){this.setCursor(null);this.getApplicationRoot().setGlobalCursor(null);};this.__sA.setPointerOverColumn(null);if(this.getFocusCellOnPointerMove()){this.__tq.setFocusedCell();};},_showResizeLine:function(x){var ef=this._showChildControl(F);var ee=ef.getWidth();var eg=this._paneClipper.getBounds();ef.setUserBounds(x-Math.round(ee/2),0,ee,eg.height);},_hideResizeLine:function(){this._excludeChildControl(F);},showColumnMoveFeedback:function(ep){var eq=this.getTablePaneModel();var ej=this.getTable().getTableColumnModel();var ek=this.__tr.getContentLocation().left;var eo=eq.getColumnCount();var el=0;var et=0;var ei=ek;for(var eh=0;eh=(fi-fg)&&fh<=(fi+fg)){return fn;};};return -1;},_getRowForPagePos:function(fu,fv){var fo=this.__tr.getContentLocation();if(fufo.right){return null;};if(fv>=fo.top&&fv<=fo.bottom){var fp=this.getTable().getRowHeight();var scrollY=this.__tv.getPosition();if(this.getTable().getKeepFirstVisibleRowComplete()){scrollY=Math.floor(scrollY/fp)*fp;};var fs=scrollY+fv-fo.top;var fw=Math.floor(fs/fp);var fq=this.getTable().getTableModel();var ft=fq.getRowCount();return (fw=fr.top&&fv<=fr.bottom&&fu<=fr.right){return -1;};return null;},setTopRightWidget:function(fx){var fy=this.__tL;if(fy!=null){this.__ts.remove(fy);};if(fx!=null){this.__ts.add(fx);};this.__tL=fx;},getTopRightWidget:function(){return this.__tL;},getHeader:function(){return this.__sA;},getTablePane:function(){return this.__tr;},getVerticalScrollBarWidth:function(){var fz=this.__tv;return fz.isVisible()?(fz.getSizeHint().width||0):0;},getNeededScrollBars:function(fD,fE){var fP=this.__tv;var fO=fP.getSizeHint().width+fP.getMarginLeft()+fP.getMarginRight();var fJ=this.__tu;var fM=fJ.getSizeHint().height+fJ.getMarginTop()+fJ.getMarginBottom();var fG=this._paneClipper.getInnerSize();var fA=fG?fG.width:0;if(this.getVerticalScrollBarVisible()){fA+=fO;};var fK=fG?fG.height:0;if(this.getHorizontalScrollBarVisible()){fK+=fM;};var fH=this.getTable().getTableModel();var fI=fH.getRowCount();var fB=this.getTablePaneModel().getTotalWidth();var fL=this.getTable().getRowHeight()*fI;var fC=false;var fQ=false;if(fB>fA){fC=true;if(fL>fK-fM){fQ=true;};}else if(fL>fK){fQ=true;if(!fE&&(fB>fA-fO)){fC=true;};};var fF=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;var fN=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;return ((fD||fC)?fF:0)|((fE||!fQ)?0:fN);},getPaneClipper:function(){return this._paneClipper;},getScrollAreaContainer:function(){return this.getPaneClipper();},_applyScrollTimeout:function(fS,fR){this._startInterval(fS);},_startInterval:function(fT){this.__dE.setInterval(fT);this.__dE.start();},_stopInterval:function(){this.__dE.stop();},_postponedUpdateContent:function(){this._updateContent();},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.__ty&&!this.__tr._layoutPending){this.__ty=false;this._updateContent();};}),_updateContent:function(){var gc=this._paneClipper.getInnerSize();if(!gc){return;};var ga=gc.height;var scrollX=this.__tu.getPosition();var scrollY=this.__tv.getPosition();var fV=this.getTable().getRowHeight();var fX=Math.floor(scrollY/fV);var gb=this.__tr.getFirstVisibleRow();this.__tr.setFirstVisibleRow(fX);var fW=Math.ceil(ga/fV);var fU=0;var fY=this.getTable().getKeepFirstVisibleRowComplete();if(!fY){fW++ ;fU=scrollY%fV;};this.__tr.setVisibleRowCount(fW);if(fX!=gb){this._updateFocusIndicator();};this._paneClipper.scrollToX(scrollX);if(!fY){this._paneClipper.scrollToY(fU);};},_updateFocusIndicator:function(){var gd=this.getTable();if(!gd.getEnabled()){return;};this.__tw.moveToCell(this.__sY,this.__ta);}},destruct:function(){this._stopInterval();var ge=this.getTablePaneModel();if(ge){ge.dispose();};this.__tF=this.__tL=this.__tq=null;this._disposeObjects(b,O,D,j,g,a,bK,H,Y,Q);}});})();(function(){var a="Escape",b="keypress",c="Enter",d="excluded",f="Integer",g="qx.ui.table.pane.FocusIndicator";qx.Class.define(g,{extend:qx.ui.container.Composite,construct:function(h){qx.ui.container.Composite.call(this);this.__tP=h;this.setKeepActive(true);this.addListener(b,this._onKeyPress,this);},properties:{visibility:{refine:true,init:d},row:{check:f,nullable:true},column:{check:f,nullable:true}},members:{__tP:null,_onKeyPress:function(e){var i=e.getKeyIdentifier();if(i!==a&&i!==c){e.stopPropagation();};},moveToCell:function(p,q){if(!this.__tP.getShowCellFocusIndicator()&&!this.__tP.getTable().getTableModel().isColumnEditable(p)){this.exclude();return;}else {this.show();};if(p==null){this.hide();this.setRow(null);this.setColumn(null);}else {var j=this.__tP.getTablePaneModel().getX(p);if(j==-1){this.hide();this.setRow(null);this.setColumn(null);}else {var o=this.__tP.getTable();var m=o.getTableColumnModel();var n=this.__tP.getTablePaneModel();var l=this.__tP.getTablePane().getFirstVisibleRow();var k=o.getRowHeight();this.setUserBounds(n.getColumnLeft(p)-2,(q-l)*k-2,m.getColumnWidth(p)+3,k+3);this.show();this.setRow(q);this.setColumn(p);};};}},destruct:function(){this.__tP=null;}});})();(function(){var a="qx.ui.table.pane.Clipper";qx.Class.define(a,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this,new qx.ui.layout.Grow());this.setMinWidth(0);},members:{scrollToX:function(b){this.getContentElement().scrollToX(b,false);},scrollToY:function(c){this.getContentElement().scrollToY(c,true);}}});})();(function(){var a="Integer",b="qx.ui.table.pane.CellEvent";qx.Class.define(b,{extend:qx.event.type.Pointer,properties:{row:{check:a,nullable:true},column:{check:a,nullable:true}},members:{init:function(e,c,f,d){c.clone(this);this.setBubbles(false);if(f!=null){this.setRow(f);}else {this.setRow(e._getRowForPagePos(this.getDocumentLeft(),this.getDocumentTop()));};if(d!=null){this.setColumn(d);}else {this.setColumn(e._getColumnForPageX(this.getDocumentLeft()));};},clone:function(g){var h=qx.event.type.Pointer.prototype.clone.call(this,g);h.set({row:this.getRow(),column:this.getColumn()});return h;}}});})();(function(){var a="qx.lang.Number";qx.Class.define(a,{statics:{isInRange:function(c,d,b){return c>=d&&c<=b;},isBetweenRange:function(f,g,e){return f>g&&fh){return h;}else if(j!=null&&i=T&&U=Y&&Y!==-1){this.__tV();};},__tV:function(){this.__tS=[];this.__tU=0;},__tW:function(bc,ba,bb){if(!ba&&!bb&&this.__tS[bc]){return this.__tS[bc];}else {return null;};},__tX:function(bh,bg,be,bf){var bd=this.getMaxCacheLines();if(!be&&!bf&&!this.__tS[bh]&&bd>0){this._applyMaxCacheLines(bd);this.__tS[bh]=bg;this.__tU+=1;};},updateContent:function(bi,bl,bk,bj){if(bi){this.__tV();};if(bl&&Math.abs(bl)<=Math.min(10,this.getVisibleRowCount())){this._scrollContent(bl);}else if(bj&&!this.getTable().getAlwaysUpdateCells()){this._updateRowStyles(bk);}else {this._updateAllRows();};},_updateRowStyles:function(br){var bq=this.getContentElement().getDomElement();if(!bq||!bq.firstChild){this._updateAllRows();return;};var bu=this.getTable();var bn=bu.getSelectionModel();var bs=bu.getTableModel();var bv=bu.getDataRowRenderer();var bp=bq.firstChild.childNodes;var bo={table:bu};var bw=this.getFirstVisibleRow();var y=0;var bm=bp.length;if(br!=null){var bt=br-bw;if(bt>=0&&btcm){this._updateAllRows();return;};var co=cn<0?cf+cn:0;var ce=cn<0?0:cf-cn;for(var i=Math.abs(cn)-1;i>=0;i-- ){var ch=cd[co];try{cl.removeChild(ch);}catch(cp){break;};};if(!this.__tT){this.__tT=document.createElement(g);};var ck=a;ck+=this._getRowsHtml(ci+ce,Math.abs(cn));ck+=e;this.__tT.innerHTML=ck;var cj=this.__tT.firstChild.childNodes;if(cn>0){for(var i=cj.length-1;i>=0;i-- ){var ch=cj[0];cl.appendChild(ch);};}else {for(var i=cj.length-1;i>=0;i-- ){var ch=cj[cj.length-1];cl.insertBefore(ch,cl.firstChild);};};if(this.__ta!==null){this._updateRowStyles(this.__ta-cn);this._updateRowStyles(this.__ta);};this.fireEvent(t);},_updateAllRows:function(){var ct=this.getContentElement().getDomElement();if(!ct){this.addListenerOnce(u,arguments.callee,this);return;};var cz=this.getTable();var cw=cz.getTableModel();var cy=this.getPaneScroller().getTablePaneModel();var cx=cy.getColumnCount();var cq=cz.getRowHeight();var cu=this.getFirstVisibleRow();var cr=this.getVisibleRowCount();var cA=cw.getRowCount();if(cu+cr>cA){cr=Math.max(0,cA-cu);};var cs=cy.getTotalWidth();var cv;if(cr>0){cv=[E,m,(cz.getForceLineHeight()?s+cq+z:q),c,B,this._getRowsHtml(cu,cr),b];}else {cv=[];};var cB=cv.join(q);ct.innerHTML=cB;this.setWidth(cs);this.__tR=cx;this.__td=cr;this.fireEvent(t);}},destruct:function(){this.__tT=this.__tQ=this.__tS=null;this.removeListener(k,this._onTrack,this);}});})();(function(){var a="Number",b="qx.event.type.Event",c="modelChanged",d="_applyFirstColumnX",e="headerCellRendererChanged",f="Integer",g="qx.ui.table.pane.Model",h="_applyMaxColumnCount",i="visibilityChangedPre";qx.Class.define(g,{extend:qx.core.Object,construct:function(j){qx.core.Object.call(this);this.setTableColumnModel(j);},events:{"modelChanged":b},statics:{EVENT_TYPE_MODEL_CHANGED:c},properties:{firstColumnX:{check:f,init:0,apply:d},maxColumnCount:{check:a,init:-1,apply:h}},members:{__tY:null,__ua:null,_applyFirstColumnX:function(l,k){this.__tY=null;this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},_applyMaxColumnCount:function(n,m){this.__tY=null;this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},setTableColumnModel:function(o){if(this.__ua){this.__ua.removeListener(i,this._onColVisibilityChanged,this);this.__ua.removeListener(e,this._onHeaderCellRendererChanged,this);};this.__ua=o;this.__ua.addListener(i,this._onColVisibilityChanged,this);this.__ua.addListener(e,this._onHeaderCellRendererChanged,this);this.__tY=null;},_onColVisibilityChanged:function(p){this.__tY=null;this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},_onHeaderCellRendererChanged:function(q){this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},getColumnCount:function(){if(this.__tY==null){var r=this.getFirstColumnX();var t=this.getMaxColumnCount();var s=this.__ua.getVisibleColumnCount();if(t==-1||(r+t)>s){this.__tY=s-r;}else {this.__tY=t;};};return this.__tY;},getColumnAtX:function(v){var u=this.getFirstColumnX();return this.__ua.getVisibleColumnAtX(u+v);},getX:function(z){var w=this.getFirstColumnX();var y=this.getMaxColumnCount();var x=this.__ua.getVisibleX(z)-w;if(x>=0&&(y==-1||x=0;x-- ){var N=O[x];N.destroy();};}},destruct:function(){this.__lN.dispose();this._disposeObjects(c);}});})();(function(){var a=" != ",b="abstract",c="metaDataChanged",d="columnIdArr and columnNameArr have different length: ",e="getValue is abstract",f="qx.ui.table.model.Abstract",g="qx.event.type.Event",h="this.__columnIdArr and columnNameArr have different length: ",j="setValue is abstract",k="getRowCount is abstract",l="qx.event.type.Data";qx.Class.define(f,{type:b,extend:qx.core.Object,implement:qx.ui.table.ITableModel,events:{"dataChanged":l,"metaDataChanged":g,"sorted":l},construct:function(){qx.core.Object.call(this);this.__ud=[];this.__ue=[];this.__uf={};},members:{__ud:null,__ue:null,__uf:null,__te:null,init:function(m){},getRowCount:function(){throw new Error(k);},getRowData:function(n){return null;},isColumnEditable:function(o){return false;},isColumnSortable:function(p){return false;},sortByColumn:function(q,r){},getSortColumnIndex:function(){return -1;},isSortAscending:function(){return true;},prefetchRows:function(t,s){},getValue:function(v,u){throw new Error(e);},getValueById:function(x,w){return this.getValue(this.getColumnIndexById(x),w);},setValue:function(z,y,A){throw new Error(j);},setValueById:function(C,B,D){this.setValue(this.getColumnIndexById(C),B,D);},getColumnCount:function(){return this.__ud.length;},getColumnIndexById:function(E){return this.__uf[E];},getColumnId:function(F){return this.__ud[F];},getColumnName:function(G){return this.__ue[G];},setColumnIds:function(H){this.__ud=H;this.__uf={};for(var i=0;in)?1:((k==n)?0:-1);},_defaultSortComparatorInsensitiveAscending:function(q,r){var p=(q[arguments.callee.columnIndex].toLowerCase?q[arguments.callee.columnIndex].toLowerCase():q[arguments.callee.columnIndex]);var s=(r[arguments.callee.columnIndex].toLowerCase?r[arguments.callee.columnIndex].toLowerCase():r[arguments.callee.columnIndex]);if(qx.lang.Type.isNumber(p)&&qx.lang.Type.isNumber(s)){var t=isNaN(p)?isNaN(s)?0:1:isNaN(s)?-1:null;if(t!=null){return t;};};return (p>s)?1:((p==s)?0:-1);},_defaultSortComparatorDescending:function(v,w){var u=v[arguments.callee.columnIndex];var x=w[arguments.callee.columnIndex];if(qx.lang.Type.isNumber(u)&&qx.lang.Type.isNumber(x)){var y=isNaN(u)?isNaN(x)?0:1:isNaN(x)?-1:null;if(y!=null){return y;};};return (u=this.__ug.length){throw new Error(c+bj+g+this.__ug.length+e);};return this.__ug[bj][bk];},setValue:function(bm,bl,bo){if(this.__ug[bl][bm]!=bo){this.__ug[bl][bm]=bo;if(this.hasListener(f)){var bn={firstRow:bl,lastRow:bl,firstColumn:bm,lastColumn:bm};this.fireDataEvent(f,bn);};if(bm==this.__uh){this.clearSorting();};};},setData:function(bq,bp){this.__ug=bq;if(this.hasListener(f)){var br={firstRow:0,lastRow:bq.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,br);};if(bp!==false){this.clearSorting();};},getData:function(){return this.__ug;},setDataAsMapArray:function(bt,bs,bu){this.setData(this._mapArray2RowArr(bt,bs),bu);},addRows:function(bx,bw,bv){if(bw==null){bw=this.__ug.length;};bx.splice(0,0,bw,0);Array.prototype.splice.apply(this.__ug,bx);var by={firstRow:bw,lastRow:this.__ug.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,by);if(bv!==false){this.clearSorting();};},addRowsAsMapArray:function(bA,bB,bz,bC){this.addRows(this._mapArray2RowArr(bA,bz),bB,bC);},setRows:function(bF,bE,bD){if(bE==null){bE=0;};bF.splice(0,0,bE,bF.length);Array.prototype.splice.apply(this.__ug,bF);var bG={firstRow:bE,lastRow:this.__ug.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,bG);if(bD!==false){this.clearSorting();};},setRowsAsMapArray:function(bI,bJ,bH,bK){this.setRows(this._mapArray2RowArr(bI,bH),bJ,bK);},removeRows:function(bM,bN,bL){this.__ug.splice(bM,bN);var bO={firstRow:bM,lastRow:this.__ug.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1,removeStart:bM,removeCount:bN};this.fireDataEvent(f,bO);if(bL!==false){this.clearSorting();};},_mapArray2RowArr:function(bQ,bU){var bT=bQ.length;var bP=this.getColumnCount();var bS=new Array(bT);var bR;for(var i=0;i0){if(arguments.length===1){if(qx.lang.Type.isString(B)){this.setLocale(B);}else {throw new Error(g);};}else {throw new Error(v);};};if(!B){this.setLocale(qx.locale.Manager.getInstance().getLocale());if(qx.core.Environment.get(t)){qx.locale.Manager.getInstance().bind(u,this,u);};};},properties:{minimumIntegerDigits:{check:w,init:0},maximumIntegerDigits:{check:w,nullable:true},minimumFractionDigits:{check:w,init:0},maximumFractionDigits:{check:w,nullable:true},groupingUsed:{check:b,init:true},prefix:{check:n,init:o,event:y},postfix:{check:n,init:o,event:y},locale:{check:n,init:null,event:j}},members:{format:function(H){if(isNaN(H)){return x;};switch(H){case Infinity:return A;case -Infinity:return m;};var F=(H<0);if(F){H=-H;};if(this.getMaximumFractionDigits()!=null){var N=Math.pow(10,this.getMaximumFractionDigits());H=Math.round(H*N)/N;};var L=String(Math.floor(H)).length;var C=o+H;var J=C.substring(0,L);while(J.lengththis.getMaximumIntegerDigits()){J=J.substring(J.length-this.getMaximumIntegerDigits());};var I=C.substring(L+1);while(I.lengththis.getMaximumFractionDigits()){I=I.substring(0,this.getMaximumFractionDigits());};if(this.getGroupingUsed()){var E=J;J=o;var M;for(M=E.length;M>3;M-=3){J=o+qx.locale.Number.getGroupSeparator(this.getLocale())+E.substring(M-3,M)+J;};J=E.substring(0,M)+J;};var G=this.getPrefix()?this.getPrefix():o;var D=this.getPostfix()?this.getPostfix():o;var K=G+(F?a:o)+J;if(I.length>0){K+=o+qx.locale.Number.getDecimalSeparator(this.getLocale())+I;};K+=D;return K;},parse:function(W){var S=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this.getLocale())+o);var Q=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this.getLocale())+o);var O=new RegExp(i+qx.lang.String.escapeRegexpChars(this.getPrefix())+k+q+S+c+l+Q+p+qx.lang.String.escapeRegexpChars(this.getPostfix())+d);var R=O.exec(W);if(R==null){throw new Error(e+W+f);};var T=(R[2]==a);var V=R[3]||h;var U=R[4];V=V.replace(new RegExp(S,r),o);var P=(T?a:o)+V;if(U!=null&&U.length!=0){U=U.replace(new RegExp(Q),o);P+=z+U;};return parseFloat(P);}},destruct:function(){if(qx.core.Environment.get(t)){qx.locale.Manager.getInstance().removeRelatedBindings(this);};}});})();(function(){var a="Function",b="abstract",c="",d="number",e="appear",f="Abstract method call!",g="qx.ui.table.celleditor.AbstractField";qx.Class.define(g,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,type:b,properties:{validationFunction:{check:a,nullable:true,init:null}},members:{_createEditor:function(){throw new Error(f);},createCellEditor:function(h){var i=this._createEditor();i.originalValue=h.value;if(h.value===null||h.value===undefined){h.value=c;};i.setValue(c+h.value);i.addListener(e,function(){i.selectAllText();});return i;},getCellEditorValue:function(j){var k=j.getValue();var l=this.getValidationFunction();if(l){k=l(k,j.originalValue);};if(typeof j.originalValue==d){k=parseFloat(k);};return k;}}});})();(function(){var a="number",b="qx.ui.table.celleditor.TextField",c="table-editor-textfield";qx.Class.define(b,{extend:qx.ui.table.celleditor.AbstractField,members:{getCellEditorValue:function(d){var e=d.getValue();var f=this.getValidationFunction();if(f){e=f(e,d.originalValue);};if(typeof d.originalValue==a){if(e!=null){e=parseFloat(e);};};return e;},_createEditor:function(){var g=new qx.ui.form.TextField();g.setAppearance(c);return g;}}});})();(function(){var a="visibilityChanged",b="orderChanged",c="__ur",d="__ut",e="widthChanged",f="qx.ui.table.columnmodel.Basic",g=". The column is not added to this TablePaneModel.",h="Showing column failed: ",j=", got ",k="setColumnsOrder: Invalid number of column positions given, expected ",l="headerCellRendererChanged",m="qx.event.type.Data",n="__us",o="visibilityChangedPre";qx.Class.define(f,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__un=[];this.__uo=[];},events:{"widthChanged":m,"visibilityChangedPre":m,"visibilityChanged":m,"orderChanged":m,"headerCellRendererChanged":m},statics:{DEFAULT_WIDTH:100,DEFAULT_HEADER_RENDERER:qx.ui.table.headerrenderer.Default,DEFAULT_DATA_RENDERER:qx.ui.table.cellrenderer.Default,DEFAULT_EDITOR_FACTORY:qx.ui.table.celleditor.TextField},members:{__te:null,__up:null,__uo:null,__un:null,__uq:null,__ur:null,__us:null,__ut:null,init:function(s,v){{};this.__uq=[];var r=qx.ui.table.columnmodel.Basic.DEFAULT_WIDTH;var t=this.__ur||(this.__ur=new qx.ui.table.columnmodel.Basic.DEFAULT_HEADER_RENDERER());var q=this.__us||(this.__us=new qx.ui.table.columnmodel.Basic.DEFAULT_DATA_RENDERER());var p=this.__ut||(this.__ut=new qx.ui.table.columnmodel.Basic.DEFAULT_EDITOR_FACTORY());this.__un=[];this.__uo=[];var u;if(v){u=v.getInitiallyHiddenColumns();};u=u||[];for(var z=0;zS.length){throw new Error(n+S.length);};if(N==null){N=S.length;};var P=Q.getButton();var O=this.getChildControl(k);var R=this.getChildControl(A);Q.exclude();O.addAt(P,N);R.addAt(Q,N);this.__qt.add(P);Q.addState(this.__uu[this.getBarPosition()]);S=this.getChildren();if(N==S.length-1){Q.addState(d);};if(S[0]==Q){Q.addState(C);}else {S[S.length-2].removeState(d);};Q.addListener(r,this._onPageClose,this);},remove:function(W){var X=this.getChildControl(A);var U=this.getChildControl(k);var V=W.getButton();var Y=X.getChildren();if(this.getSelection()[0]==W){var T=Y.indexOf(W);if(T==0){if(Y[1]){this.setSelection([Y[1]]);}else {this.resetSelection();};}else {this.setSelection([Y[T-1]]);};};U.remove(V);X.remove(W);this.__qt.remove(V);W.removeState(this.__uu[this.getBarPosition()]);if(W.hasState(C)){W.removeState(C);if(Y[0]){Y[0].addState(C);};};if(W.hasState(d)){W.removeState(d);if(Y.length>0){Y[Y.length-1].addState(d);};};W.removeListener(r,this._onPageClose,this);},getChildren:function(){return this.getChildControl(A).getChildren();},indexOf:function(ba){return this.getChildControl(A).indexOf(ba);},__uu:null,_applyBarPosition:function(be,bg){var bb=this.getChildControl(k);var bh=this.getChildControl(A);var bj=be==B||be==x;var bk=be==x||be==a;var bi=bj?qx.ui.layout.HBox:qx.ui.layout.VBox;var bl=this._getLayout();if(bl&&bl instanceof bi){}else {this._setLayout(bl=new bi);};bl.setReversed(bk);bb.setOrientation(bj?p:v);var bf=this.getChildren();var i,l;if(bg){var bd=this.__uu[bg];bb.removeState(bd);bh.removeState(bd);for(i=0,l=bf.length;i0){return t[t.length-1];}else {return null;};},_getRelatedSelectable:function(u,w){var v=this._getWidget();var x=null;switch(w){case b:x=v.getPreviousNodeOf(u,false);break;case c:x=v.getNextNodeOf(u,false);break;case e:case d:break;};if(!x){return null;};if(this._isSelectable(x)){return x;}else {return this._getRelatedSelectable(x,w);};}}});})();(function(){var a="_applyIconOpened",b="changeOpen",c="Boolean",d="changeIcon",f="changeIconOpened",g="changeLabel",h="Integer",i="auto",j="Abstract method call.",k="_applyIndent",l="open",m="changeOpenSymbolMode",n="_applyOpenSymbolMode",o="middle",p="String",q="resize",r="",s="icon",t="opened",u="iconOpened",v="abstract",w="never",x="_applyIcon",y="always",z="__ux",A="_applyOpen",B="changeIndent",C="qx.ui.tree.core.AbstractItem",D="label",E="_applyLabel";qx.Class.define(C,{extend:qx.ui.core.Widget,type:v,include:[qx.ui.form.MModelProperty],implement:[qx.ui.form.IModel],construct:function(F){qx.ui.core.Widget.call(this);if(F!=null){this.setLabel(F);};this._setLayout(new qx.ui.layout.HBox());this._addWidgets();this.initOpen();},properties:{open:{check:c,init:false,event:b,apply:A},openSymbolMode:{check:[y,w,i],init:i,event:m,apply:n},indent:{check:h,init:19,apply:k,event:B,themeable:true},icon:{check:p,apply:x,event:d,nullable:true,themeable:true},iconOpened:{check:p,apply:a,event:f,nullable:true,themeable:true},label:{check:p,apply:E,event:g,init:r}},members:{__uv:null,__uw:null,__ux:null,_addWidgets:function(){throw new Error(j);},_createChildControlImpl:function(I,H){var G;switch(I){case D:G=new qx.ui.basic.Label().set({alignY:o,anonymous:true,value:this.getLabel()});break;case s:G=new qx.ui.basic.Image().set({alignY:o,anonymous:true,source:this.getIcon()});break;case l:G=new qx.ui.tree.core.FolderOpenButton().set({alignY:o});G.addListener(b,this._onChangeOpen,this);G.addListener(q,this._updateIndent,this);break;};return G||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,I);},addWidget:function(J,K){this._add(J,K);},addSpacer:function(){if(!this.__ux){this.__ux=new qx.ui.core.Spacer();}else {this._remove(this.__ux);};this._add(this.__ux);},addOpenButton:function(){this._add(this.getChildControl(l));},_onChangeOpen:function(e){if(this.isOpenable()){this.setOpen(e.getData());};},addIcon:function(){var L=this.getChildControl(s);if(this.__uw){this._remove(L);};this._add(L);this.__uw=true;},addLabel:function(M){var N=this.getChildControl(D);if(this.__uv){this._remove(N);};if(M){this.setLabel(M);}else {N.setValue(this.getLabel());};this._add(N);this.__uv=true;},_applyIcon:function(P,O){if(!this.__uz()){this.__uA(P);}else if(!this.isOpen()){this.__uA(P);};},_applyIconOpened:function(R,Q){if(this.isOpen()){if(this.__uy()&&this.__uz()){this.__uA(R);}else if(!this.__uy()&&this.__uz()){this.__uA(R);};};},_applyLabel:function(T,S){var U=this.getChildControl(D,true);if(U){U.setValue(T);};},_applyOpen:function(W,V){var open=this.getChildControl(l,true);if(open){open.setOpen(W);};var X;if(W){X=this.__uz()?this.getIconOpened():null;}else {X=this.getIcon();};if(X){this.__uA(X);};W?this.addState(t):this.removeState(t);},__uy:function(){return qx.util.PropertyUtil.getUserValue(this,s);},__uz:function(){return qx.util.PropertyUtil.getUserValue(this,u);},__uA:function(Y){var ba=this.getChildControl(s,true);if(ba){ba.setSource(Y);};},isOpenable:function(){var bb=this.getOpenSymbolMode();return (bb===y||bb===i&&this.hasChildren());},_shouldShowOpenSymbol:function(){throw new Error(j);},_applyOpenSymbolMode:function(bd,bc){this._updateIndent();},_updateIndent:function(){var bf=0;var open=this.getChildControl(l,true);if(open){if(this._shouldShowOpenSymbol()){open.show();var be=open.getBounds();if(be){bf=be.width;}else {return;};}else {open.exclude();};};if(this.__ux){this.__ux.setWidth((this.getLevel()+1)*this.getIndent()-bf);};},_applyIndent:function(bh,bg){this._updateIndent();},getLevel:function(){throw new Error(j);},syncWidget:function(bi){this._updateIndent();},hasChildren:function(){throw new Error(j);}},destruct:function(){this._disposeObjects(z);}});})();(function(){var a="pointerup",b="qx.ui.tree.core.FolderOpenButton",c="Boolean",d="opened",f="_applyOpen",g="pointerdown",h="tap",i="changeOpen";qx.Class.define(b,{extend:qx.ui.basic.Image,include:qx.ui.core.MExecutable,construct:function(){qx.ui.basic.Image.call(this);this.initOpen();this.addListener(h,this._onTap);this.addListener(g,this._stopPropagation,this);this.addListener(a,this._stopPropagation,this);},properties:{open:{check:c,init:false,event:i,apply:f}},members:{_applyOpen:function(k,j){k?this.addState(d):this.removeState(d);this.execute();},_stopPropagation:function(e){e.stopPropagation();},_onTap:function(e){this.toggleOpen();e.stopPropagation();}}});})();(function(){var a="open",b="abstract",c="__uB",d="'. It is not a child of this tree item.",e="addItem",f="__gc",g="visible",h="excluded",j="removeItem",k="Cannot remove treeitem '",m="qx.ui.tree.core.AbstractTreeItem";qx.Class.define(m,{extend:qx.ui.tree.core.AbstractItem,type:b,construct:function(n){qx.ui.tree.core.AbstractItem.call(this,n);this.__gc=[];},properties:{parent:{check:m,nullable:true}},members:{__gc:null,__uB:null,getTree:function(){var p=this;while(p.getParent()){p=p.getParent();};var o=p.getLayoutParent()?p.getLayoutParent().getLayoutParent():0;if(o&&o instanceof qx.ui.core.scroll.ScrollPane){return o.getLayoutParent();};return null;},_applyOpen:function(r,q){if(this.hasChildren()){this.getChildrenContainer().setVisibility(r?g:h);};qx.ui.tree.core.AbstractItem.prototype._applyOpen.call(this,r,q);},_shouldShowOpenSymbol:function(){var open=this.getChildControl(a,true);if(!open){return false;};var s=this.getTree();if(!s.getRootOpenClose()){if(s.getHideRoot()){if(s.getRoot()==this.getParent()){return false;};}else {if(s.getRoot()==this){return false;};};};return this.isOpenable();},_updateIndent:function(){if(!this.getTree()){return;};qx.ui.tree.core.AbstractItem.prototype._updateIndent.call(this);},getLevel:function(){var t=this.getTree();if(!t){return;};var u=this;var v=-1;while(u){u=u.getParent();v+=1;};if(t.getHideRoot()){v-=1;};if(!t.getRootOpenClose()){v-=1;};return v;},addState:function(w){qx.ui.tree.core.AbstractItem.prototype.addState.call(this,w);var x=this._getChildren();for(var i=0,l=x.length;i0:false;},getItems:function(C,G,F){if(F!==false){var D=[];}else {var D=[this];};var I=this.hasChildren()&&(G!==false||this.isOpen());if(I){var H=this.getChildren();if(C===false){D=D.concat(H);}else {for(var i=0,E=H.length;i=0){be.remove(bg);};};qx.lang.Array.remove(this.__gc,bh);bh.setParent(null);be.remove(bh);};var bf=this.getTree();if(bf){bf.fireNonBubblingEvent(j,qx.event.type.Data,[bh]);};qx.ui.core.queue.Widget.add(this);},removeAt:function(bj){var bk=this.__gc[bj];if(bk){this.remove(bk);};},removeAll:function(){var bl=this.__gc.concat();for(var i=this.__gc.length-1;i>=0;i-- ){this.remove(this.__gc[i]);};return bl;}},destruct:function(){this._disposeArray(f);this._disposeObjects(c);}});})();(function(){var a="Enter",b="_applyOpenMode",c="excluded",d="Space",f="Left",g="Boolean",h="changeOpenMode",j="_applyRootOpenClose",k="visible",l="changeSelection",m="qx.ui.tree.Tree",n="qx.event.type.Data",o="qx.ui.tree.core.AbstractTreeItem",p="tree",q="dbltap",r="_applyHideRoot",s="changeRoot",t="__oY",u="_applyRoot",v="keypress",w="none",x="pane",y="tap",z="Right";qx.Class.define(m,{extend:qx.ui.core.scroll.AbstractScrollArea,implement:[qx.ui.core.IMultiSelection,qx.ui.form.IModelSelection,qx.ui.form.IForm],include:[qx.ui.core.MMultiSelectionHandling,qx.ui.core.MContentPadding,qx.ui.form.MModelSelection,qx.ui.form.MForm],construct:function(){qx.ui.core.scroll.AbstractScrollArea.call(this);this.__oY=new qx.ui.container.Composite(new qx.ui.layout.VBox()).set({allowShrinkY:false,allowGrowX:true});this.getChildControl(x).add(this.__oY);this.initOpenMode();this.initRootOpenClose();this.addListener(l,this._onChangeSelection,this);this.addListener(v,this._onKeyPress,this);},events:{addItem:n,removeItem:n},properties:{openMode:{check:[y,q,w],init:q,apply:b,event:h,themeable:true},root:{check:o,init:null,nullable:true,event:s,apply:u},hideRoot:{check:g,init:false,apply:r},rootOpenClose:{check:g,init:false,apply:j},appearance:{refine:true,init:p},focusable:{refine:true,init:true}},members:{__oY:null,SELECTION_MANAGER:qx.ui.tree.selection.SelectionManager,getChildrenContainer:function(){return this.__oY;},_applyRoot:function(C,A){var B=this.getChildrenContainer();if(A&&!A.isDisposed()){B.remove(A);if(A.hasChildren()){B.remove(A.getChildrenContainer());};};if(C){B.add(C);if(C.hasChildren()){B.add(C.getChildrenContainer());};C.setVisibility(this.getHideRoot()?c:k);C.recursiveAddToWidgetQueue();};},_applyHideRoot:function(F,D){var E=this.getRoot();if(!E){return;};E.setVisibility(F?c:k);E.recursiveAddToWidgetQueue();},_applyRootOpenClose:function(I,G){var H=this.getRoot();if(!H){return;};H.recursiveAddToWidgetQueue();},_getContentPaddingTarget:function(){return this.__oY;},getNextNodeOf:function(M,J){if((J!==false||M.isOpen())&&M.hasChildren()){return M.getChildren()[0];};while(M){var parent=M.getParent();if(!parent){return null;};var L=parent.getChildren();var K=L.indexOf(M);if(K>-1&&K0){var Q=R[N-1];while((P!==false||Q.isOpen())&&Q.hasChildren()){var S=Q.getChildren();Q=S[S.length-1];};return Q;}else {return parent;};},getNextSiblingOf:function(U){if(U==this.getRoot()){return null;};var parent=U.getParent();var T=parent.getChildren();var V=T.indexOf(U);if(V0){return W[Y-1];};return null;},getItems:function(bb,ba){if(this.getRoot()!=null){return this.getRoot().getItems(bb,ba,this.getHideRoot());}else {return [];};},getChildren:function(){if(this.getRoot()!=null){return [this.getRoot()];}else {return [];};},getTreeItem:function(bc){while(bc){if(bc==this){return null;};if(bc instanceof qx.ui.tree.core.AbstractTreeItem){return bc;};bc=bc.getLayoutParent();};return null;},_applyOpenMode:function(be,bd){if(bd==y){this.removeListener(y,this._onOpen,this);}else if(bd==q){this.removeListener(q,this._onOpen,this);};if(be==y){this.addListener(y,this._onOpen,this);}else if(be==q){this.addListener(q,this._onOpen,this);};},_onOpen:function(e){var bf=this.getTreeItem(e.getTarget());if(!bf||!bf.isOpenable()){return;};bf.setOpen(!bf.isOpen());e.stopPropagation();},_onChangeSelection:function(e){var bh=e.getData();for(var i=0;i0){var bX=bV.getItem(0);var bW=this.isNode(bX);switch(e.getKeyIdentifier()){case l:if(bW&&this.isNodeOpen(bX)){this.closeNode(bX);}else {var parent=this.getParent(bX);if(parent!=null){bV.splice(0,1,parent);};};break;case H:if(bW&&!this.isNodeOpen(bX)){this.openNode(bX);}else {if(bW){var bY=bX.get(this.getChildProperty());if(bY!=null&&bY.getLength()>0){bV.splice(0,1,bY.getItem(0));};};};break;case I:case k:if(!bW){return;};if(this.isNodeOpen(bX)){this.closeNode(bX);}else {this.openNode(bX);};break;};};},_beforeApplySelection:function(cb){if(cb.length===0&&this.getSelectionMode()===g){var ca=this.__uL();var cc=this.getLookupTable().indexOf(ca);if(cc>=0){cb.push(cc);};};},_afterApplySelection:function(){var cd=this.getSelection();if(cd.getLength()>0&&this.getSelectionMode()===g){this.__uK(cd.getItem(0));}else {this.__uF=[];};},__uG:function(){this.buildLookupTable();this._applyDefaultSelection();},buildLookupTable:function(){if(this.getModel()!=null&&(this.getChildProperty()==null||this.getLabelPath()==null)){throw new Error(f);};this._itemWidth=0;var ch=[];this.__uE=[];var cf=-1;var cg=this.getModel();if(cg!=null){if(!this.isHideRoot()){cf++ ;ch.push(cg);this.__uE.push(cf);};if(this.isNodeOpen(cg)){var ce=this.__uH(cg,cf);ch=ch.concat(ce);};};if(!qx.lang.Array.equals(this.__rt.toArray(),ch)){this._provider.removeBindings();this.__rt.removeAll();this.__rt.append(ch);this.__rz();this._updateSelection();};},__uH:function(ci,cn){var cm=[];cn++ ;if(!this.isNode(ci)){return cm;};var cq=ci.get(this.getChildProperty());if(cq==null){return cm;};cq=cq.copy();var co=this.getDelegate();var cl=qx.util.Delegate.getMethod(co,m);var ck=qx.util.Delegate.getMethod(co,G);if(ck!=null){cq.sort(ck);};for(var i=0;i0){cz-- ;var cx=this.__uE[cz];if(cx0){var L=this.__rN.pop();this._removeBindingsFrom(L);};},_bindItem:function(N,O){var M=qx.util.Delegate.getMethod(this.getDelegate(),j);if(M!=null){M(this,N,O);}else {this.bindDefaultProperties(N,O);};},_removeBindingsFrom:function(P){var Q=this.__rQ(P);while(Q.length>0){var R=Q.pop();try{this._tree.getLookupTable().removeBinding(R);}catch(e){P.removeBinding(R);};};if(qx.lang.Array.contains(this.__rN,P)){qx.lang.Array.remove(this.__rN,P);};},__rO:function(T,U){var S=n+T+l;if(U!=null&&U!=c){S+=o+U;};return S;},__rP:function(W,X){var V=this.__rQ(W);if(!qx.lang.Array.contains(V,X)){V.push(X);};if(!qx.lang.Array.contains(this.__rN,W)){this.__rN.push(W);};},__rQ:function(Y){var ba=Y.getUserData(a);if(ba==null){ba=[];Y.setUserData(a,ba);};return ba;}},destruct:function(){this.__rN=null;}});})();(function(){var a="changeOpen",b="cell.childProperty",c="changeDelegate",d="cell.level",e="createItem",f="auto",g="cell.showLeafs",h="configureItem",i="created",j="onPool",k="cell.row",l="qx.ui.tree.provider.WidgetProvider",m="never";qx.Class.define(l,{extend:qx.core.Object,implement:[qx.ui.virtual.core.IWidgetCellProvider,qx.ui.tree.provider.IVirtualTreeProvider],include:[qx.ui.tree.core.MWidgetController],construct:function(n){qx.core.Object.call(this);this._tree=n;this.addListener(c,this._onChangeDelegate,this);this._onChangeDelegate();},members:{_tree:null,_renderer:null,getCellWidget:function(t,r){var s=this._tree.getLookupTable().getItem(t);var p=false;if(this._tree.isNode(s)){p=this._tree.hasChildren(s);};var o=this._renderer.getCellWidget();o.setOpen(p&&this._tree.isNodeOpen(s));o.addListener(a,this.__uM,this);o.setUserData(b,this.getChildProperty());o.setUserData(g,this._tree.isShowLeafs());if(this._tree.getSelection().contains(s)){this._styleSelectabled(o);}else {this._styleUnselectabled(o);};var q=this._tree.getLevel(t);if(!this._tree.isShowTopLevelOpenCloseIcons()){q-=1;};o.setUserData(d,q);if(!this._tree.isShowTopLevelOpenCloseIcons()&&q==-1){o.setOpenSymbolMode(m);}else {o.setOpenSymbolMode(f);};this._bindItem(o,t);qx.ui.core.queue.Widget.add(o);return o;},poolCellWidget:function(u){u.removeListener(a,this.__uM,this);this._removeBindingsFrom(u);this._renderer.pool(u);this._onPool(u);},createLayer:function(){return new qx.ui.virtual.layer.WidgetCell(this);},createRenderer:function(){var v=qx.util.Delegate.getMethod(this.getDelegate(),e);if(v==null){v=function(){return new qx.ui.tree.VirtualTreeItem();};};var w=new qx.ui.virtual.cell.WidgetCell();w.setDelegate({createWidget:v});return w;},styleSelectabled:function(y){var x=this._tree._layer.getRenderedCellWidget(y,0);this._styleSelectabled(x);},styleUnselectabled:function(A){var z=this._tree._layer.getRenderedCellWidget(A,0);this._styleUnselectabled(z);},isSelectable:function(C){var B=this._tree._layer.getRenderedCellWidget(C,0);if(B!=null){return B.isEnabled();}else {return true;};},_styleSelectabled:function(D){if(D==null){return;};this._renderer.updateStates(D,{selected:1});},_styleUnselectabled:function(E){if(E==null){return;};this._renderer.updateStates(E,{});},_onPool:function(F){var G=qx.util.Delegate.getMethod(this.getDelegate(),j);if(G!=null){G(F);};},_onItemCreated:function(event){var H=qx.util.Delegate.getMethod(this.getDelegate(),h);if(H!=null){var I=event.getData();H(I);};},_onChangeDelegate:function(event){if(this._renderer!=null){this._renderer.dispose();this.removeBindings();};this._renderer=this.createRenderer();this._renderer.addListener(i,this._onItemCreated,this);},__uM:function(event){var K=event.getTarget();var L=K.getUserData(k);var J=this._tree.getLookupTable().getItem(L);if(event.getData()){this._tree.openNodeWithoutScrolling(J);}else {this._tree.closeNodeWithoutScrolling(J);};}},destruct:function(){this.removeBindings();this._renderer.dispose();this._tree=this._renderer=null;}});})();(function(){var a="open",b="cell.childProperty",c="cell.level",d="qx.ui.tree.VirtualTreeItem",f="change",g="virtual-tree-folder",h="cell.showLeafs",i="changeLength";qx.Class.define(d,{extend:qx.ui.tree.core.AbstractItem,properties:{appearance:{refine:true,init:g}},members:{_forwardStates:{selected:true},_addWidgets:function(){this.addSpacer();this.addOpenButton();this.addIcon();this.addLabel();},_shouldShowOpenSymbol:function(){var open=this.getChildControl(a,true);if(open==null){return false;};return this.isOpenable();},getLevel:function(){return this.getUserData(c);},hasChildren:function(){var j=this.getModel();var l=this.getUserData(b);var k=this.getUserData(h);return qx.ui.tree.core.Util.hasChildren(j,l,!k);},_applyModel:function(p,m){var q=this.getUserData(b);var o=this.getUserData(h);if(p!=null&&qx.ui.tree.core.Util.isNode(p,q)){var n=f+qx.lang.String.firstUp(q);if(qx.Class.hasProperty(p.constructor,q)){p.addListener(n,this._onChangeChildProperty,this);};if(qx.ui.tree.core.Util.hasChildren(p,q,!o)){p.get(q).addListener(i,this._onChangeLength,this);this._updateIndent();};};if(m!=null&&qx.ui.tree.core.Util.isNode(m,q)){var n=f+qx.lang.String.firstUp(q);m.removeListener(n,this._onChangeChildProperty,this);var r=m.get(q);if(r){r.removeListener(i,this._onChangeLength,this);};};},_onChangeLength:function(){this._updateIndent();},_onChangeChildProperty:function(e){var t=e.getData();var s=e.getOldData();if(t){this._updateIndent();t.addListener(i,this._onChangeLength,this);};if(s){s.removeListener(i,this._onChangeLength,this);};}}});})();(function(){var a="qx.ui.tree.core.Util";qx.Class.define(a,{statics:{isNode:function(b,c){if(b==null||c==null){return false;};return qx.Class.hasProperty(b.constructor,c);},hasChildren:function(d,f,h){if(d==null||f==null||!this.isNode(d,f)){return false;};var g=d.get(f);if(g==null){return false;};if(!h){return g.length>0;}else {for(var i=0;i0){return e.children[0];};return null;},familyGetLastChild:function(h){var g;if(typeof (h)==d){g=h;}else if(typeof (h)==a){g=this.getTableModel().getData()[h];}else {throw new Error(c);};if(g.children.length>0){return g.children[g.children.length-1];};return null;},familyGetNextSibling:function(m){var j;var k;var n=this.getTableModel().getData();if(typeof (m)==d){j=m;}else if(typeof (m)==a){k=m;j=n[k];}else {throw new Error(c);};var l=j.nodeId;var o=n[j.parentNodeId].children;for(var i=0;i0){return u[i-1];};return null;};};}}});})();(function(){var a="number",c="qx.ui.treevirtual.MNode",d="Expected node object or node id",e="object";qx.Mixin.define(c,{members:{nodeGet:function(f){if(typeof (f)==e){return f;}else if(typeof (f)==a){return this.getTableModel().getData()[f];}else {throw new Error(d);};},nodeToggleOpened:function(i){var g;var h;if(typeof (i)==e){g=i;h=g.nodeId;}else if(typeof (i)==a){h=i;g=this.getTableModel().getData()[h];}else {throw new Error(d);};this.getTableModel().setState(h,{bOpened:!g.bOpened});},nodeSetState:function(l,j){var k;if(typeof (l)==e){k=l.nodeId;}else if(typeof (l)==a){k=l;}else {throw new Error(d);};this.getTableModel().setState(k,j);},nodeSetLabel:function(m,n){this.nodeSetState(m,{label:n});},nodeGetLabel:function(p){var o=this.nodeGet(p);return o.label;},nodeSetSelected:function(q,b){this.nodeSetState(q,{bSelected:b});},nodeGetSelected:function(s){var r=this.nodeGet(s);return r.bSelected;},nodeSetOpened:function(u,b){var t;if(typeof (u)==e){t=u;}else if(typeof (u)==a){t=this.getTableModel().getData()[u];}else {throw new Error(d);};if(b!=t.bOpened){this.nodeToggleOpened(t);};},nodeGetOpened:function(w){var v=this.nodeGet(w);return v.bOpened;},nodeSetHideOpenClose:function(x,b){this.nodeSetState(x,{bHideOpenClose:b});},nodeGetHideOpenClose:function(z){var y=this.nodeGet(z);return y.bHideOpenClose;},nodeSetIcon:function(B,A){this.nodeSetState(B,{icon:A});},nodeGetIcon:function(D){var C=this.nodeGet(D);return C.icon;},nodeSetSelectedIcon:function(F,E){this.nodeSetState(F,{iconSelected:E});},nodeGetSelectedIcon:function(H){var G=this.nodeGet(H);return G.iconSelected;},nodeSetCellStyle:function(J,I){this.nodeSetState(J,{cellStyle:I});},nodeGetCellStyle:function(L){var K=this.nodeGet(L);return K.cellStyle;},nodeSetLabelStyle:function(N,M){this.nodeSetState(N,{labelStyle:M});},nodeGetLabelStyle:function(P){var O=this.nodeGet(P);return O.cellStyle;}}});})();(function(){var a="Request to add a child to a non-existent parent",b="qx.ui.treevirtual.MTreePrimitive",c="",d="Sorry, a LEAF may not have children.";qx.Mixin.define(b,{statics:{Type:{LEAF:1,BRANCH:2},_addNode:function(g,f,k,n,l,m,o,h,i){var j;if(f){j=g[f];if(!j){throw new Error(a);};if(j.type==qx.ui.treevirtual.MTreePrimitive.Type.LEAF){throw new Error(d);};}else {j=g[0];f=0;};if(m==qx.ui.treevirtual.MTreePrimitive.Type.LEAF){n=false;l=false;};if(i===undefined){i=g.length;};var e={type:m,nodeId:i,parentNodeId:f,label:k,bSelected:false,bOpened:n,bHideOpenClose:l,icon:o,iconSelected:h,children:[],columnData:[]};g[i]=e;j.children.push(i);return i;},_getEmptyTree:function(){return {label:c,nodeId:0,bOpened:true,children:[]};}}});})();(function(){var a="qx.ui.treevirtual.SelectionManager",b="Space",c="Enter";qx.Class.define(a,{extend:qx.ui.table.selection.Manager,construct:function(d){qx.ui.table.selection.Manager.call(this);this.__tq=d;},members:{__tq:null,getTable:function(){return this.__tq;},_handleSelectEvent:function(e,g){var j=this;function f(p,l,w){var y=p.getDataModel();var r=y.getTreeColumn();var o=p.getFocusedColumn();if(o!=r){return false;};if(w instanceof qx.event.type.Mouse){if(!p.getFocusCellOnPointerMove()){var q=p._getPaneScrollerArr();for(var i=0;i=m-u&&x<=m+n+3+u){y.setState(k,{bOpened:!k.bOpened});return p.getOpenCloseClickSelectsRow()?false:true;}else {return j._handleExtendedClick(p,w,k,z);};}else {var v=w.getKeyIdentifier();switch(v){case b:return false;case c:if(!k.bHideOpenClose&&k.type!=qx.ui.treevirtual.SimpleTreeDataModel.Type.LEAF){y.setState(k,{bOpened:!k.bOpened});};return p.getOpenCloseClickSelectsRow()?false:true;default:return true;};};};var h=f(this.__tq,e,g);if(!h){qx.ui.table.selection.Manager.prototype._handleSelectEvent.call(this,e,g);};},_handleExtendedClick:function(B,C,A,D){return false;}},destruct:function(){this.__tq=null;}});})();(function(){var a="Expected array of node objects or null/undefined; ",b="this._rowArr column ",c="this._rowArr row ",d=")",e="Function",f="bSelected",g="treeOpenWithContent",h=" (0..",k="Expected node object or node id",l="bOpened",m="Expected move node object or node id",n="dataChanged",o="Trees can not be sorted by column",p="number",q="(",r="Expected parent node object or node id",s="qx.ui.treevirtual.SimpleTreeDataModel",t="Sorry, a LEAF may not have children.",u="treeClose",v="treeOpenWhileEmpty",w=") out of bounds: ",x="metaDataChanged",y="_applyFilter",z="got ",A="object";qx.Class.define(s,{extend:qx.ui.table.model.Abstract,include:qx.ui.treevirtual.MTreePrimitive,construct:function(){qx.ui.table.model.Abstract.call(this);this._rowArr=[];this._nodeArr=[];this._nodeRowMap=[];this._treeColumn=0;this._selections={};this._nodeArr.push(qx.ui.treevirtual.MTreePrimitive._getEmptyTree());this.__uj=null;},properties:{filter:{check:e,nullable:true,apply:y}},members:{__uN:null,__uj:null,__uO:null,__uP:null,_rowArr:null,_nodeArr:null,_nodeRowMap:null,_treeColumn:null,_selections:null,setTree:function(B){this.__uN=B;},getTree:function(){return this.__uN;},setEditable:function(C){this.__uj=[];for(var D=0;D=this._rowArr.length){throw new Error(c+q+M+w+this._rowArr+h+(this._rowArr.length-1)+d);};if(N<0||N>=this._rowArr[M].length){throw new Error(b+q+N+w+this._rowArr[M]+h+(this._rowArr[M].length-1)+d);};return this._rowArr[M][N];},setValue:function(S,P,R){if(S==this._treeColumn){return;};var O=this.getNodeFromRow(P);if(O.columnData[S]!=R){O.columnData[S]=R;this.setData();if(this.hasListener(n)){var Q={firstRow:P,lastRow:P,firstColumn:S,lastColumn:S};this.fireDataEvent(n,Q);};};},getNode:function(T){if(T<0||T>=this._rowArr.length){throw new Error(c+q+T+w+this._rowArr+h+(this._rowArr.length-1)+d);};return this._rowArr[T][this._treeColumn];},addBranch:function(U,X,V,Y,ba,W){return qx.ui.treevirtual.MTreePrimitive._addNode(this._nodeArr,U,X,V,Y,qx.ui.treevirtual.MTreePrimitive.Type.BRANCH,ba,W);},addLeaf:function(be,bb,bd,bc){return qx.ui.treevirtual.MTreePrimitive._addNode(this._nodeArr,be,bb,false,false,qx.ui.treevirtual.MTreePrimitive.Type.LEAF,bd,bc);},prune:function(bi,bg){var bf;var bh;if(typeof (bi)==A){bf=bi;bh=bf.nodeId;}else if(typeof (bi)==p){bh=bi;}else {throw new Error(k);};for(var i=this._nodeArr[bh].children.length-1;i>=0;i-- ){this.prune(this._nodeArr[bh].children[i],true);};if(bg&&bh!=0){bf=this._nodeArr[bh];qx.lang.Array.remove(this._nodeArr[bf.parentNodeId].children,bh);if(this._selections[bh]){delete this._selections[bh];};this._nodeArr[bh]=null;};},move:function(bp,bl){var bn;var bo;var bm;var bk;bl=bl||0;if(typeof (bp)==A){bn=bp;bo=bn.nodeId;}else if(typeof (bp)==p){bo=bp;bn=this._nodeArr[bo];}else {throw new Error(m);};if(typeof (bl)==A){bm=bl;bk=bm.nodeId;}else if(typeof (bl)==p){bk=bl;bm=this._nodeArr[bk];}else {throw new Error(r);};if(bm.type==qx.ui.treevirtual.MTreePrimitive.Type.LEAF){throw new Error(t);};var bj=this._nodeArr[bn.parentNodeId];qx.lang.Array.remove(bj.children,bo);bm.children.push(bo);this._nodeArr[bo].parentNodeId=bk;},__uQ:function(bs,br){var bu=this.getFilter();var bx=null;var bt;var bw=this._nodeArr[bs].children.length;var bq=0;var by=this.__uO[bs]=[];for(var i=0;i0;if(bA){this.__uR(bD.nodeId);};};},__uS:function(bF,bG){bF.lastChild=[bG];var parent=this._nodeArr[bF.parentNodeId];while(parent.nodeId){var bH=parent.lastChild[parent.lastChild.length-1];bF.lastChild.unshift(bH);parent=this._nodeArr[parent.parentNodeId];};},__uT:function(){this.__uO=[];this.__uP=false;this._rowArr=[];this._nodeRowMap=[];this._selections={};this.__uQ(0,1);if(this.__uP){this.__uR(0);};this.__uO=null;if(this.hasListener(n)){var bI={firstRow:0,lastRow:this._rowArr.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(n,bI);};},setData:function(bJ){if(bJ instanceof Array){this._nodeArr=bJ;}else if(bJ!==null&&bJ!==undefined){throw new Error(a+z+typeof (bJ));};this.__uT();var bK=this.getTree().getSelectionModel();var bM=this._selections;for(var bL in bM){var bN=this.getRowFromNodeId(bL);bK.setSelectionInterval(bN,bN);};},getData:function(){return this._nodeArr;},clearData:function(){this._clearSelections();this.setData([qx.ui.treevirtual.MTreePrimitive._getEmptyTree()]);},setColumnData:function(bQ,bO,bP){this._nodeArr[bQ].columnData[bO]=bP;},getColumnData:function(bS,bR){return this._nodeArr[bS].columnData[bR];},setState:function(ca,cc){var bT;var bY;if(typeof (ca)==A){bT=ca;bY=bT.nodeId;}else if(typeof (ca)==p){bY=ca;bT=this._nodeArr[bY];}else {throw new Error(k);};for(var bW in cc){switch(bW){case f:var cb=this.getRowFromNodeId(bY);var bU=this.getTree().getSelectionModel();var bV=qx.ui.treevirtual.TreeVirtual;var cd=(typeof (cb)===p&&this.getTree().getSelectionMode()!=bV.SelectionMode.NONE);if(cc[bW]){this._selections[bY]=true;if(cd&&!bU.isSelectedIndex(cb)){bU.setSelectionInterval(cb,cb);};}else {delete this._selections[bY];if(cd&&bU.isSelectedIndex(cb)){bU.removeSelectionInterval(cb,cb);};};break;case l:if(cc[bW]==bT.bOpened){break;};var bX=this.__uN;if(bT.bOpened){bX.fireDataEvent(u,bT);}else {if(bT.children.length>0){bX.fireDataEvent(g,bT);}else {bX.fireDataEvent(v,bT);};};if(!bT.bHideOpenClose){bT.bOpened=!bT.bOpened;bX.getSelectionModel()._resetSelection();};this.setData();break;default:break;};bT[bW]=cc[bW];};},getNodeRowMap:function(){return this._nodeRowMap;},getRowFromNodeId:function(ce){return this._nodeRowMap[ce];},getNodeFromRow:function(cf){return this._nodeArr[this._rowArr[cf][this._treeColumn].nodeId];},_clearSelections:function(){for(var cg in this._selections){this._nodeArr[cg].bSelected=false;};this._selections={};},getSelectedNodes:function(){var ch=[];for(var ci in this._selections){ch.push(this._nodeArr[ci]);};return ch;},_applyFilter:function(ck,cj){this.setData();}},destruct:function(){this._rowArr=this._nodeArr=this._nodeRowMap=this._selections=this.__uN=this.__uO=null;},defer:function(cl){cl.Type=qx.ui.treevirtual.MTreePrimitive.Type;}});})();(function(){var a="object",c="Boolean",d="Right",f="Tree overflow must be hidden. ",g="Enter",h="number",k="changeSelection",l="The internal elements of it will scroll.",m="hidden",n="Left",o="Expected node object or node id",p="qx.event.type.Data",q="qx.ui.treevirtual.TreeVirtual",r="dataChanged",t="treevirtual",u="dataEdited";qx.Class.define(q,{extend:qx.ui.table.Table,construct:function(B,x){if(!x){x={};};if(!x.dataModel){x.dataModel=new qx.ui.treevirtual.SimpleTreeDataModel();};if(x.treeColumn===undefined){x.treeColumn=0;x.dataModel.setTreeColumn(x.treeColumn);};if(!x.treeDataCellRenderer){x.treeDataCellRenderer=new qx.ui.treevirtual.SimpleTreeDataCellRenderer();};if(!x.defaultDataCellRenderer){x.defaultDataCellRenderer=new qx.ui.treevirtual.DefaultDataCellRenderer();};if(!x.dataRowRenderer){x.dataRowRenderer=new qx.ui.treevirtual.SimpleTreeDataRowRenderer();};if(!x.selectionManager){x.selectionManager=function(C){return new qx.ui.treevirtual.SelectionManager(C);};};if(!x.tableColumnModel){x.tableColumnModel=function(D){return new qx.ui.table.columnmodel.Resize(D);};};if(qx.lang.Type.isString(B)){B=[B];};x.dataModel.setColumns(B);x.dataModel.setTreeColumn(x.treeColumn);x.dataModel.setTree(this);qx.ui.table.Table.call(this,x.dataModel,x);this.addListener(u,function(e){this.getDataModel().setData();},this);this.setColumnVisibilityButtonVisible(B.length>1);this.setRowHeight(16);this.setMetaColumnCounts(B.length>1?[1,-1]:[1]);this.setOverflow(m);var w=x.treeDataCellRenderer;var v=x.defaultDataCellRenderer;var A=this.getTableColumnModel();var z=this.getDataModel().getTreeColumn();for(var i=0;i0){this.moveFocusedCell(0,1);};};bk=true;break;};};if(bk){bp.preventDefault();bp.stopPropagation();}else {qx.ui.table.Table.prototype._onKeyPress.call(this,bp);};},_onSelectionChanged:function(bq){this.getDataModel()._clearSelections();if(this.getSelectionMode()!=qx.ui.treevirtual.TreeVirtual.SelectionMode.NONE){var br=this._calculateSelectedNodes();this.fireDataEvent(k,br);};qx.ui.table.Table.prototype._onSelectionChanged.call(this,bq);},_calculateSelectedNodes:function(){var bv=this.getDataModel();var bt=this.getSelectionModel().getSelectedRanges();var bu=[];var bs;for(var i=0;i0||ce){if(!cf){return (bY.bOpened?cb.__uY.contract:cb.__uY.expand);};if(ca==0&&bY.bFirstChild){if(cc){return (bY.bOpened?cb.__uY.onlyContract:cb.__uY.onlyExpand);}else {return (bY.bOpened?cb.__uY.startContract:cb.__uY.startExpand);};};if(cc){return (bY.bOpened?cb.__uY.endContract:cb.__uY.endExpand);};return (bY.bOpened?cb.__uY.crossContract:cb.__uY.crossExpand);};};if(cf){if(bY.parentNodeId==0){if(cc&&bY.bFirstChild){return {icon:this.BLANK};};if(cc){return cb.__uY.end;};if(bY.bFirstChild&&bY.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.BRANCH){return (bY.bOpened?cb.__uY.startContract:cb.__uY.startExpand);};};return (cc?cb.__uY.end:cb.__uY.cross);};return {icon:this.BLANK};}},destruct:function(){this.__uV=this.__uW=this.__uX=null;}});})();(function(){var a="columnVisibilityMenuCreateEnd",b="tableWidthChanged",c="verticalScrollBarChanged",d="qx.ui.table.columnmodel.resizebehavior.Abstract",e="qx.ui.table.columnmodel.Resize",f="_applyBehavior",g="separator",h="appear",i="visibilityChanged",j="Reset column widths",k="changeBehavior",l="user-button",m="widthChanged",n="execute";qx.Class.define(e,{extend:qx.ui.table.columnmodel.Basic,include:qx.locale.MTranslation,construct:function(){qx.ui.table.columnmodel.Basic.call(this);this.__vb=false;this.__vc=false;},properties:{behavior:{check:d,init:null,nullable:true,apply:f,event:k}},members:{__vc:null,__vb:null,__tq:null,_applyBehavior:function(q,p){if(p!=null){p.dispose();p=null;};q._setNumColumns(this.getOverallColumnCount());q.setTableColumnModel(this);},init:function(s,r){qx.ui.table.columnmodel.Basic.prototype.init.call(this,s,r);if(this.__tq==null){this.__tq=r;r.addListener(h,this._onappear,this);r.addListener(b,this._onTableWidthChanged,this);r.addListener(c,this._onverticalscrollbarchanged,this);r.addListener(a,this._addResetColumnWidthButton,this);this.addListener(m,this._oncolumnwidthchanged,this);this.addListener(i,this._onvisibilitychanged,this);};if(this.getBehavior()==null){this.setBehavior(new qx.ui.table.columnmodel.resizebehavior.Default());};this.getBehavior()._setNumColumns(s);},getTable:function(){return this.__tq;},_addResetColumnWidthButton:function(event){var v=event.getData();var u=v.columnButton;var t=v.menu;var o;o=u.factory(g);t.add(o);o=u.factory(l,{text:this.tr(j)});t.add(o);o.addListener(n,this._onappear,this);},_onappear:function(event){if(this.__vb){return;};this.__vb=true;{};this.getBehavior().onAppear(event,event.getType()!==h);this.__tq._updateScrollerWidths();this.__tq._updateScrollBarVisibility();this.__vb=false;this.__vc=true;},_onTableWidthChanged:function(event){if(this.__vb||!this.__vc){return;};this.__vb=true;{};this.getBehavior().onTableWidthChanged(event);this.__vb=false;},_onverticalscrollbarchanged:function(event){if(this.__vb||!this.__vc){return;};this.__vb=true;{};this.getBehavior().onVerticalScrollBarChanged(event);qx.event.Timer.once(function(){if(this.__tq&&!this.__tq.isDisposed()){this.__tq._updateScrollerWidths();this.__tq._updateScrollBarVisibility();};},this,0);this.__vb=false;},_oncolumnwidthchanged:function(event){if(this.__vb||!this.__vc){return;};this.__vb=true;{};this.getBehavior().onColumnWidthChanged(event);this.__vb=false;},_onvisibilitychanged:function(event){if(this.__vb||!this.__vc){return;};this.__vb=true;{};this.getBehavior().onVisibilityChanged(event);this.__vb=false;}},destruct:function(){this.__tq=null;}});})();(function(){var a="onAppear is abstract",b="onVisibilityChanged is abstract",c="onVerticalScrollBarChanged is abstract",d="abstract",e="qx.ui.table.columnmodel.resizebehavior.Abstract",f="_setNumColumns is abstract",g="onTableWidthChanged is abstract",h="onColumnWidthChanged is abstract";qx.Class.define(e,{type:d,extend:qx.core.Object,members:{_setNumColumns:function(i){throw new Error(f);},onAppear:function(event,j){throw new Error(a);},onTableWidthChanged:function(event){throw new Error(g);},onVerticalScrollBarChanged:function(event){throw new Error(c);},onColumnWidthChanged:function(event){throw new Error(h);},onVisibilityChanged:function(event){throw new Error(b);},_getAvailableWidth:function(){var l=this.getTableColumnModel();var o=l.getTable();var k=o._getPaneScrollerArr();if(!k[0]||!k[0].getLayoutParent().getBounds()){return null;};var n=k[0].getLayoutParent().getBounds().width;var m=k[k.length-1];n-=m.getPaneInsetRight();return n;}}});})();(function(){var a="Column number out of range",b="Function",c="Boolean",d="minWidth",e="width",f="qx.ui.table.columnmodel.Resize",g="qx.ui.table.columnmodel.resizebehavior.Default",h="__vf",j="Unknown property: ",k="__ve",m="maxWidth";qx.Class.define(g,{extend:qx.ui.table.columnmodel.resizebehavior.Abstract,construct:function(){qx.ui.table.columnmodel.resizebehavior.Abstract.call(this);this.__vd=[];this.__ve=new qx.ui.layout.HBox();this.__ve.connectToWidget(this);this.__vf=new qx.util.DeferredCall(this._computeColumnsFlexWidth,this);},properties:{newResizeBehaviorColumnData:{check:b,init:function(n){return new qx.ui.core.ColumnData();}},initializeWidthsOnEveryAppear:{check:c,init:false},tableColumnModel:{check:f}},members:{__ve:null,__vg:null,__vd:null,__vf:null,__vh:false,setWidth:function(p,o,q){if(p>=this.__vd.length){throw new Error(a);};this.__vd[p].setColumnWidth(o,q);this.__vf.schedule();},setMinWidth:function(s,r){if(s>=this.__vd.length){throw new Error(a);};this.__vd[s].setMinWidth(r);this.__vf.schedule();},setMaxWidth:function(u,t){if(u>=this.__vd.length){throw new Error(a);};this.__vd[u].setMaxWidth(t);this.__vf.schedule();},set:function(w,v){for(var x in v){switch(x){case e:this.setWidth(w,v[x]);break;case d:this.setMinWidth(w,v[x]);break;case m:this.setMaxWidth(w,v[x]);break;default:throw new Error(j+x);};};},onAppear:function(event,y){if(y===true||!this.__vh||this.getInitializeWidthsOnEveryAppear()){this._computeColumnsFlexWidth();this.__vh=true;};},onTableWidthChanged:function(event){this._computeColumnsFlexWidth();},onVerticalScrollBarChanged:function(event){this._computeColumnsFlexWidth();},onColumnWidthChanged:function(event){this._extendNextColumn(event);},onVisibilityChanged:function(event){var z=event.getData();if(z.visible){this._computeColumnsFlexWidth();return;};this._extendLastColumn(event);},_setNumColumns:function(B){var A=this.__vd;if(B<=A.length){A.splice(B,A.length);return;};for(var i=A.length;iR.oldWidth){return;};var i;var N;var Q=0;for(i=0;i0&&n>=h){i=true;};};if(p){var k=parseInt(g);if(k!==0){p.scrollBySteps(k);};var n=p.getPosition();var h=p.getMaximum();if(k<0&&n<=0||k>0&&n>=h){o=true;};};if((!i&&g===0)||(!o&&m===0)||((!o||!i)&&g!==0&&m!==0)){e.stop();};}}});})();(function(){var a="qx.ui.embed.AbstractIframe",b="name",c="Abstract method call",d="",f="about:blank",g="_applySource",h="navigate",i="qx.event.type.Event",j="String",k="_applyFrameName",l="qx.event.type.Data";qx.Class.define(a,{extend:qx.ui.core.Widget,construct:function(m){qx.ui.core.Widget.call(this);if(m){this.setSource(m);};this._getIframeElement().addListener(h,this.__vx,this);},events:{"load":i,"navigate":l},properties:{source:{check:j,apply:g,init:f},frameName:{check:j,init:d,apply:k}},members:{_getIframeElement:function(){throw new Error(c);},_applySource:function(o,n){this._getIframeElement().setSource(o);},_applyFrameName:function(q,p){this._getIframeElement().setAttribute(b,q);},getWindow:function(){return this._getIframeElement().getWindow();},getDocument:function(){return this._getIframeElement().getDocument();},getBody:function(){return this._getIframeElement().getBody();},getName:function(){return this._getIframeElement().getName();},reload:function(){this._getIframeElement().reload();},__vx:function(e){var r=e.getData();if(r){this.setSource(r);};this.fireDataEvent(h,r);}}});})();(function(){var a="resize",b="_applyCanvasWidth",c="redraw",d="Boolean",f="__vy",g="_applyCanvasHeight",h="qx.ui.embed.Canvas",i="Integer",j="qx.event.type.Data";qx.Class.define(h,{extend:qx.ui.core.Widget,construct:function(l,k){qx.ui.core.Widget.call(this);this.__vy=new qx.util.DeferredCall(this.__vz,this);this.addListener(a,this._onResize,this);if(l!==undefined){this.setCanvasWidth(l);};if(k!==undefined){this.setCanvasHeight(k);};},events:{"redraw":j},properties:{syncDimension:{check:d,init:false},canvasWidth:{check:i,init:300,apply:b},canvasHeight:{check:i,init:150,apply:g}},members:{__vy:null,_createContentElement:function(){return new qx.html.Canvas();},__vz:function(){var n=this.getContentElement();var p=n.getHeight();var m=n.getWidth();var o=n.getContext2d();this._draw(m,p,o);this.fireNonBubblingEvent(c,qx.event.type.Data,[{width:m,height:p,context:o}]);},_applyCanvasWidth:function(r,q){this.getContentElement().setWidth(r);this.__vy.schedule();},_applyCanvasHeight:function(t,s){this.getContentElement().setHeight(t);this.__vy.schedule();},update:function(){this.__vy.schedule();},_onResize:function(e){var u=e.getData();if(this.getSyncDimension()){this.setCanvasHeight(u.height);this.setCanvasWidth(u.width);};},getContext2d:function(){return this.getContentElement().getContext2d();},_draw:function(v,x,w){}},destruct:function(){this._disposeObjects(f);}});})();(function(){var a="canvas",b="2d",c="qx.html.Canvas";qx.Class.define(c,{extend:qx.html.Element,construct:function(d,e){qx.html.Element.call(this,a,d,e);this.__jj=document.createElement(a);},members:{__jj:null,_createDomElement:function(){return this.__jj;},getCanvas:function(){return this.__jj;},setWidth:function(f){this.__jj.width=f;},getWidth:function(){return this.__jj.width;},setHeight:function(g){this.__jj.height=g;},getHeight:function(){return this.__jj.height;},getContext2d:function(){return this.__jj.getContext(b);}},destruct:function(){this.__jj=null;}});})();(function(){var a="sameDomain",b="Boolean",c="quality",d="_applyVariables",e="low",f="_applyLoop",g="opaque",h="scale",i="_applyAllowScriptAccess",j="showall",k="Map",l="wmode",m="Integer",n="_applyMenu",o="loaded",p="_applyPlay",q="loop",r="allowScriptAccess",s="_applyWmode",t="menu",u="noborder",v="loading",w="qx.event.type.Event",x="swLiveConnect",y="qx.ui.embed.Flash",z="String",A="_applyId",B="high",C="",D="transparent",E="exactfit",F="play",G="_applyLiveConnect",H="_applySource",I="appear",J="$$widget",K="medium",L="flash",M="timeout",N="_applyMayScript",O="best",P="_applyQuality",Q="never",R="_applyScale",S="autohigh",T="always",U="window",V="noscale",W="undefined",X="autolow",Y="mayscript";qx.Class.define(y,{extend:qx.ui.core.Widget,construct:function(ba,bb){qx.ui.core.Widget.call(this);{};this.setSource(ba);if(bb){this.setId(bb);}else {this.setId(L+this.toHashCode());};this.initQuality();this.initWmode();this.initAllowScriptAccess();this.initLiveConnect();this.addListenerOnce(I,function(){this._checkLoading();this.getContentElement().createFlash();},this);},events:{"loading":w,"loaded":w,"timeout":w},properties:{source:{check:z,apply:H},id:{check:z,apply:A},quality:{check:[e,X,S,K,B,O],init:O,nullable:true,apply:P},scale:{check:[j,u,E,V],nullable:true,apply:R},wmode:{check:[U,g,D],init:g,nullable:true,apply:s},play:{check:b,nullable:true,apply:p},loop:{check:b,nullable:true,apply:f},mayScript:{check:b,nullable:false,apply:N},menu:{check:b,nullable:true,apply:n},allowScriptAccess:{check:[a,T,Q],init:a,nullable:true,apply:i},liveConnect:{check:b,init:true,nullable:true,apply:G},variables:{init:{},check:k,apply:d},loadTimeout:{check:m,init:10000}},members:{__vA:null,getFlashElement:function(){var bc=this.getContentElement();if(bc){return bc.getFlashElement();}else {return null;};},isLoaded:function(){return this.getPercentLoaded()===100;},getPercentLoaded:function(){var bd=this.getFlashElement();if(typeof (bd)!=W&&bd!=null){try{return bd.PercentLoaded();}catch(be){return 0;};}else {return 0;};},_createContentElement:function(){var bf=new qx.html.Flash();bf.setAttribute(J,this.toHashCode());return bf;},_checkLoading:function(){var bg=this.getSource();if(bg!=C&&bg!=null&&bg!=W){if(!this.isLoaded()){if(!this.__vA){this.__vA=new Date().getTime();};var bh=new Date().getTime()-this.__vA;if(this.getLoadTimeout()>bh){var bi=qx.util.TimerManager.getInstance();bi.start(this._checkLoading,0,this,null,10);this.fireEvent(v);}else {{};this.fireEvent(M);this.__vA=null;};}else {this.fireEvent(o);this.__vA=null;};};},_applySource:function(bl,bk){var bj=qx.util.ResourceManager.getInstance().toUri(bl);this.getContentElement().setSource(bj);qx.ui.core.queue.Layout.add(this);},_applyId:function(bn,bm){this.getContentElement().setId(bn);qx.ui.core.queue.Layout.add(this);},_applyVariables:function(bp,bo){this.getContentElement().setVariables(bp);qx.ui.core.queue.Layout.add(this);},_applyMayScript:function(br,bq){this.getContentElement().setAttribute(Y,br?C:false);qx.ui.core.queue.Layout.add(this);},_applyQuality:function(bt,bs){this.__vB(c,bt);},_applyScale:function(bv,bu){this.__vB(h,bv);},_applyWmode:function(bx,bw){this.__vB(l,bx);},_applyPlay:function(bz,by){this.__vB(F,bz);},_applyLoop:function(bB,bA){this.__vB(q,bB);},_applyMenu:function(bD,bC){this.__vB(t,bD);},_applyAllowScriptAccess:function(bF,bE){this.__vB(r,bF);},_applyLiveConnect:function(bH,bG){this.__vB(x,bH);},__vB:function(bI,bJ){this.getContentElement().setParam(bI,bJ);qx.ui.core.queue.Layout.add(this);}}});})();(function(){var a="qx.util.TimerManager",b="interval",c="singleton";qx.Class.define(a,{extend:qx.core.Object,type:c,statics:{__vC:[],__vD:{},__vE:0},members:{__vF:false,start:function(g,f,h,d,j){if(!j){j=f||0;};var e=(new Date()).getTime()+j;this.self(arguments).__vD[ ++this.self(arguments).__vE]={callback:g,userData:d||null,expireAt:e,recurTime:f,context:h||this};this.__vG(e,this.self(arguments).__vE);return this.self(arguments).__vE;},stop:function(k){var l=this.self(arguments).__vC;var length=l.length;for(var i=0;im){o.splice(i,0,p);break;};};if(o.length==length){o.push(p);};if(!this.__vF){qx.event.Idle.getInstance().addListener(b,this.__vH,this);this.__vF=true;};},__vH:function(){var r=(new Date()).getTime();var t=this.self(arguments).__vC;var s=this.self(arguments).__vD;while(t.length>0&&s[t[0]].expireAt<=r){var v=t.shift();var q=s[v];q.callback.call(q.context,q.userData,v);if(q.recurTime&&s[v]){var u=(new Date()).getTime();q.expireAt=u+q.recurTime;this.__vG(q.expireAt,v);}else {delete s[v];};};if(t.length==0&&this.__vF){qx.event.Idle.getInstance().removeListener(b,this.__vH,this);this.__vF=false;};}}});})();(function(){var a="$$",b="The id cannot be modified after initial creation",c="The variables cannot be modified after initial creation",d="$$widget",e="movie",f="div",g="The source cannot be modified after initial creation",h="The params cannot be modified after initial creation",i="The attributes cannot be modified after initial creation",j="id",k="qx.html.Flash";qx.Class.define(k,{extend:qx.html.Element,construct:function(l,m){qx.html.Element.call(this,f,l,m);this.__vI={};this.__vJ={};this.__vK={};},members:{__vI:null,__vK:null,__vJ:null,__vL:null,_createDomElement:function(){return qx.dom.Element.create(f);},createFlash:function(){this.__vL=qx.bom.Flash.create(this.getDomElement(),this.getAttributes(),this.__vJ,this.__vI);},setSource:function(n){{};if(this.__vL){throw new Error(g);};this.setAttribute(e,n);},setId:function(o){{};if(this.__vL){throw new Error(b);};this.setAttribute(j,o);},getVariables:function(){return this.__vJ;},setVariables:function(p){{};if(this.__vL){throw new Error(c);};this.__vJ=p;},getAttributes:function(){return this.__vK;},setAttribute:function(q,r){{};if(q==d||q.indexOf(a)===0){qx.html.Element.prototype.setAttribute.call(this,q,r);}else if(this.__vL){throw new Error(i);};if(r===null||r===undefined){delete this.__vK[q];}else {this.__vK[q]=r;};},getParams:function(){return this.__vI;},setParam:function(s,t){{};if(this.__vL){throw new Error(h);};if(t===null||t===undefined){delete this.__vI[s];}else {this.__vI[s]=t;};},getFlashElement:function(){return this.__vL;}},destruct:function(){if(this.__vL){qx.bom.Flash.destroy(this.__vL);};this.__vI=this.__vJ=this.__vK=null;}});})();(function(){var a="function",b="application/x-shockwave-flash",c="DOM element is null or undefined!",d="param",e='" />',f="100%",g="qx.bom.Flash",h='L.width;var Q=K.height>L.height;if((M||Q)&&!(M&&Q)){if(M){Q=K.height>N.height;}else if(Q){M=K.width>N.width;};};}else {var M=O===q;var Q=P===q;if(K.width>(M?N.width:L.width)&&O===u){M=true;};if(K.height>(M?N.height:L.height)&&P===u){Q=true;};};this._configureScrollbar(s,M,L.width,K.width);this._configureScrollbar(m,Q,L.height,K.height);this._updateCornerWidget();},_getIframeSize:function(){try{var R=this._getIframeElement().getWindow();var S={width:qx.bom.Document.getWidth(R),height:qx.bom.Document.getHeight(R)};return S;}catch(e){return null;};},_updateCornerWidget:function(){if(this._isChildControlVisible(s)&&this._isChildControlVisible(m)){this._showChildControl(p);}else {this._excludeChildControl(p);};},_configureScrollbar:function(T,U,X,W){if(!U){this._excludeChildControl(T);return;};var V=this._showChildControl(T);if(X>=W){V.set({position:0,maximum:W,knobFactor:1,enabled:false});}else {V.setMaximum(1000000);V.set({position:Math.min(V.getPosition(),W),maximum:W-X,knobFactor:X/W,enabled:true});};},_onScrollBarX:function(e){this.scrollToX(e.getData());},_onScrollBarY:function(e){this.scrollToY(e.getData());},scrollToX:function(x){try{var Y=this._getIframeElement().getWindow();Y.scroll(x,qx.bom.Viewport.getScrollTop(Y));}catch(e){this._disableScollbars();};},scrollToY:function(y){try{var ba=this._getIframeElement().getWindow();ba.scroll(qx.bom.Viewport.getScrollLeft(ba),y);}catch(e){this._disableScollbars();};}},destruct:function(){this._stopIframeObserver();this.__vV=null;}});})();(function(){var a="qx.ui.form.renderer.IFormRenderer";qx.Interface.define(a,{members:{addItems:function(b,f,d,c,e){},addButton:function(g,h){}}});})();(function(){var a=" * ",b="Abstract method call",c="abstract",d="",f="changeLocale",g="change",h="visibility",j="qx.dynlocale",k="qx.ui.form.renderer.AbstractRenderer",l=" :";qx.Class.define(k,{type:c,extend:qx.ui.core.Widget,implement:qx.ui.form.renderer.IFormRenderer,construct:function(m){qx.ui.core.Widget.call(this);this._labels=[];if(qx.core.Environment.get(j)){qx.locale.Manager.getInstance().addListener(f,this._onChangeLocale,this);this._names=[];};this._form=m;this._render();m.addListener(g,this._onFormChange,this);},members:{_names:null,_form:null,_labels:null,_render:function(){var q=this._form.getGroups();for(var i=0;i0||v.getRequired()?l:d;return name+w+x;},addItems:function(y,z,A){throw new Error(b);},addButton:function(B){throw new Error(b);}},destruct:function(){if(qx.core.Environment.get(j)){qx.locale.Manager.getInstance().removeListener(f,this._onChangeLocale,this);};this._names=null;}});})();(function(){var a="bold",b="_buttonRow",c="qx.ui.form.renderer.Double",d="qx.dynlocale",e="top",f="left",g="right";qx.Class.define(c,{extend:qx.ui.form.renderer.AbstractRenderer,construct:function(j){var h=new qx.ui.layout.Grid();h.setSpacing(6);h.setColumnAlign(0,g,e);h.setColumnAlign(1,f,e);h.setColumnAlign(2,g,e);h.setColumnAlign(3,f,e);this._setLayout(h);qx.ui.form.renderer.AbstractRenderer.call(this,j);},members:{_row:0,_buttonRow:null,_onFormChange:function(){this._buttonRow.destroy();this._buttonRow=null;this._row=0;qx.ui.form.renderer.AbstractRenderer.prototype._onFormChange.call(this);},addItems:function(l,o,k){if(k!=null){this._add(this._createHeader(k),{row:this._row,column:0,colSpan:4});this._row++ ;};for(var i=0;i0){return ({element:this.__sI.shift(),remaining:this.__sI.length});};return null;}},destruct:function(){this.__sI=null;}});})();(function(){var a="qx.ui.progressive.renderer.Abstract",b="render() is abstract",c="abstract";qx.Class.define(a,{type:c,extend:qx.core.Object,members:{render:function(d,e){throw new Error(b);},join:function(f,name){}}});})();(function(){var a="qx.ui.progressive.renderer.FunctionCaller";qx.Class.define(a,{extend:qx.ui.progressive.renderer.Abstract,members:{render:function(b,c){c.data(b.getUserData());}}});})();(function(){var a="resize",b="content",c="px",d=" font-size: 11px;",f=")",g="px ",h=';',j=" border-bottom:1px solid #eeeeee;",k="padding: ",l="end",m="div",n="changeTheme",o="-col-",p="__columnData",q="css.userselect",r="Renderer is already joined to a Progressive.",s="css.boxmodel",t="css.textoverflow",u=" width : 100%;",v=" {",w="}",x=" border-right:1px solid #f2f2f2;",y="Invalid location: ",z=" cursor:default;",A=" font-family: 'Segoe UI', Corbel, Calibri, Tahoma, 'Lucida Sans Unicode', sans-serif;",B=' position: absolute; top: 0px; height: 100%; overflow:hidden;',C="-row {",D="-row",E="qx.dyntheme",F="start",G="relative",H="",I=':ellipsis;',J=':',K=" white-space:nowrap;",L=" padding : 0px 6px 0px 6px;",M="qx.ui.progressive.renderer.table.Row",N="width: ",O=" out of range (max: ",P="px;",Q="0px ",R="progressive-table-row-background-odd",S="__wh",T='',U="qx-progressive-",V="progressive-table-row-background-even",W="__ve",X=".qx-progressive-",Y="left: ",bd="No existing renderer for column ",be="css.userselect.none",bf="Column ";qx.Class.define(M,{extend:qx.ui.progressive.renderer.Abstract,construct:function(bg){qx.ui.progressive.renderer.Abstract.call(this);this.__wd=bg;this.__wg={};this.__wh=new qx.ui.progressive.renderer.table.cell.Default();this.__sD=null;this.__vX={};this.__wc();this.__ve=new qx.ui.layout.HBox();this.__ve.connectToWidget(this);if(qx.core.Environment.get(E)){qx.theme.manager.Meta.getInstance().addListener(n,this.__wc,this);};},statics:{__um:null,__wi:6,__wj:B+(qx.core.Environment.get(t)?qx.bom.Style.getCssName(qx.core.Environment.get(t))+I:H)+K+x+j+L+z+d+A+(qx.core.Environment.get(q)?qx.bom.Style.getCssName(qx.core.Environment.get(q))+J+qx.core.Environment.get(be)+h:T)},properties:{defaultRowHeight:{init:16}},members:{__sD:null,__wk:null,__wl:null,__wd:null,__wg:null,__wh:null,__vX:null,__ve:null,__wc:function(){var bh=qx.theme.manager.Color.getInstance();this.__vX.bgcol=[];this.__vX.bgcol[0]=bh.resolve(V);this.__vX.bgcol[1]=bh.resolve(R);},join:function(bj,name){if(this.__sD){throw new Error(r);};this.__sD=bj;this.__wk=name;var bk=qx.ui.progressive.renderer.table.Row;if(!bk.__um){bk.__um={};};var bi=bj.toHashCode();if(!bk.__um[bi]){bk.__um[bi]={rowstylesheet:null,cellstylesheet:[]};var bl=X+bi+C+u+w;bk.__um[bi].rowstylesheet=qx.bom.Stylesheet.createElement(bl);var bm=this.__wd.getData();for(var i=0;i=bp.length){throw new Error(bf+bo+O+(bp.length-1)+f);};this.__wg[bo]=bq;},removeRenderer:function(br){var bs=this.__wd.getData();if(br<0||br>=bs.length){throw new Error(bf+br+O+(bs.length-1)+f);};if(!this.__wg[br]){throw new Error(bd+br);};delete this.__wg[br];},render:function(bu,bD){var bE=bD.data;var by=[];var bA;var bz;var bw=0;if(bu.getRendererData()[this.__wk].end===undefined){bu.getRendererData()[this.__wk]={end:0,start:1,rows:0,totalHeight:0};};var bC=document.createElement(m);for(var i=0;ibw){bw=bA.height;};};bw=(bw>0?bw:this.getDefaultRowHeight());var bB=bu.getRendererData()[this.__wk];bB.totalHeight+=bw;bC.style.position=G;bC.style.height=bw+c;bC.className=U+this.__wl+D;bC.innerHTML=by.join(H);switch(bD.location){case l:var bt=bB.end||0;bC.style.backgroundColor=this.__vX.bgcol[bt];bB.end=(bt==0?1:0);bu.getPane().getContentElement().getDomElement().appendChild(bC);break;case F:var bv=bu.getPane().getContentElement().getDomElement();var bF=bv.childNodes;if(bF.length>0){var bt=bB.start;bC.style.backgroundColor=this.__vX.bgcol[bt];bB.start=(bt==0?1:0);bv.insertBefore(bC,bF[0]);break;}else {bv.appendChild(bC);};break;default:throw new Error(y+bD.location);}; ++bB.rows;},getLayoutChildren:function(){return this.__wd.getData();},_resizeColumns:function(e){var bN=this.__sD.getStructure().getPane();var bK=bN.getBounds().width-qx.bom.element.Scroll.getScrollbarWidth();var bI=X+this.__wl+D;var bH=qx.ui.progressive.renderer.table.Row;qx.bom.Stylesheet.removeRule(bH.__um[this.__wl].rowstylesheet,bI);var bJ=N+bK+P;qx.bom.Stylesheet.addRule(bH.__um[this.__wl].rowstylesheet,bI,bJ);this.__ve.renderLayout(bK,100,{top:0,right:0,bottom:0,left:0});var bM=this.__wd.getData();for(var i=0,bP=0;i=0;i-- ){var bU=X+this.__wl+o+i;var bT=bS.__um[this.__wl].cellstylesheet[i];var bS=qx.ui.progressive.renderer.table.Row;qx.bom.Stylesheet.removeRule(bT,bU);};};};if(this.__sD&&this.__sD.getRendererData){var bV=this.__sD.getRendererData();if(bV&&bV[this.__wk]&&bV[this.__wk].end!==undefined){bV[this.__wk]=null;};};this.__vX=this.__wg=this.__sD=this.__wd=null;this._disposeObjects(W,S,p);}});})();(function(){var a="'",b="abstract",c="",d=">",e="",f="
this.__wm.length-1||l<0){throw new Error(a);};this.__wm[l].setColumnWidth(m);},setMinWidth:function(n,o){if(n>this.__wm.length-1||n<0){throw new Error(a);};this.__wm[n].setMinWidth(o);},setMaxWidth:function(p,q){if(p>this.__wm.length-1||p<0){throw new Error(a);};this.__wm[p].setMaxWidth(q);}}});})();(function(){var a='" ',b="qx.ui.progressive.renderer.table.cell.Icon",c="string",d="vertical-align:middle;",e="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='",f='bf.value1){bc=true;};break;case l:if(X=bf.value1){bc=true;};break;case v:if(X<=bf.value1){bc=true;};break;};}else if(qx.lang.Array.contains(this.__wy,bf.condition)){if(bf.target==null){X=bb.cellData;}else {X=bb.element.data[bf.target];};switch(bf.condition){case j:if(X>=bf.value1&&X<=bf.value2){bc=true;};break;case q:if(Xbf.value2){bc=true;};break;};}else if(bf.condition==k){if(bf.target==null){X=bb.cellData;}else {X=bb.element.data[bf.target];};var Y=new RegExp(bf.value1,m);bc=Y.test(X);};if(bc){this.__wz(bf,ba);};var bd=[];for(var be in ba){if(ba[be]){bd.push(be,o,ba[be],p);};};};return bd.join(f);}},destruct:function(){this.__wr=this.__wy=this.__ws=null;}});})();(function(){var a="qx.ui.progressive.renderer.table.cell.Html";qx.Class.define(a,{extend:qx.ui.progressive.renderer.table.cell.Abstract});})();(function(){var a="qx.ui.progressive.renderer.table.cell.Image",b="string",c="";qx.Class.define(a,{extend:qx.ui.progressive.renderer.table.cell.Icon,construct:function(d,e){qx.ui.progressive.renderer.table.cell.Icon.call(this);if(d===undefined){this.__wA=d;}else {this.__wA=16;};if(e===undefined){this.__wB=e;}else {this.__wB=16;};},members:{__wA:null,__wB:null,_identifyImage:function(k){var h={imageWidth:this.__wA,imageHeight:this.__wB};var j;if(typeof (k.cellData)==b){h.url=k.cellData;}else {h.url=k.cellData.url;h.tooltip=k.cellData.tooltip;j=k.cellData.height;};if(h.url==c){h.url=this._imageBlank;}else {var i=qx.util.AliasManager.getInstance();var g=qx.util.ResourceManager.getInstance();var f=i.resolve(h.url);h.url=g.toUri(f);};if(j){k.height=j;};return h;}}});})();(function(){var a="qx.ui.progressive.renderer.table.cell.String";qx.Class.define(a,{extend:qx.ui.progressive.renderer.table.cell.Abstract,construct:function(){qx.ui.progressive.renderer.table.cell.Abstract.call(this);},members:{_getContentHtml:function(b){return qx.bom.String.escape(b.cellData);}}});})();(function(){var a="center",b="focus",c="activate",d="qx.ui.table.celleditor.CheckBox",e="middle";qx.Class.define(d,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,members:{createCellEditor:function(f){var h=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:a,alignY:e})).set({focusable:true});var g=new qx.ui.form.CheckBox().set({value:f.value});h.add(g);h.addListener(b,function(){g.focus();});h.addListener(c,function(){g.activate();});return h;},getCellEditorValue:function(i){return i.getChildren()[0].getValue();}}});})();(function(){var a="Function",b="qx.ui.table.celleditor.ComboBox",c="",d="number",e="Array",f="table-editor-combobox",g="appear";qx.Class.define(b,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,properties:{validationFunction:{check:a,nullable:true,init:null},listData:{check:e,init:null,nullable:true}},members:{createCellEditor:function(p){var j=new qx.ui.form.ComboBox().set({appearance:f});var k=p.value;j.originalValue=k;var o=p.table.getTableColumnModel().getDataCellRenderer(p.col);var m=o._getContentHtml(p);if(k!=m){k=m;};if(k===null||k===undefined){k=c;};var h=this.getListData();if(h){var n;for(var i=0,l=h.length;ithis.conditions[i][5]){be=true;};break;case k:if(bb=this.conditions[i][5]){be=true;};break;case v:if(bb<=this.conditions[i][5]){be=true;};break;};}else if(qx.lang.Array.contains(this.betweenAllowed,this.conditions[i][0])){if(this.conditions[i][7]==null){bb=bi.value;}else {bb=bf.getValueById(this.conditions[i][7],bi.row);};switch(this.conditions[i][0]){case j:if(bb>=this.conditions[i][5]&&bb<=this.conditions[i][6]){be=true;};break;case q:if(bbthis.conditions[i][6]){be=true;};break;};}else if(this.conditions[i][0]==n){if(this.conditions[i][6]==null){bb=bi.value;}else {bb=bf.getValueById(this.conditions[i][6],bi.row);};var bc=new RegExp(this.conditions[i][5],m);be=bc.test(bb);};if(be==true){this.__wz(this.conditions[i],bd);};};var bg=[];for(var bh in bd){if(bd[bh]){bg.push(bh,o,bd[bh],l);};};return bg.join(f);}},destruct:function(){this.numericAllowed=this.betweenAllowed=this.conditions=null;}});})();(function(){var a="qx.util.format.DateFormat",b="qooxdoo-table-cell",c="qx.ui.table.cellrenderer.Date",d="";qx.Class.define(c,{extend:qx.ui.table.cellrenderer.Conditional,properties:{dateFormat:{check:a,init:null,nullable:true}},members:{_getContentHtml:function(e){var f=this.getDateFormat();if(f){if(e.value){return qx.bom.String.escape(f.format(e.value));}else {return d;};}else {return e.value||d;};},_getCellClass:function(g){return b;}}});})();(function(){var a="row=",b="
",c="px;overflow:auto;'>",d="qx.ui.table.cellrenderer.Debug",e="
",f="): ",g="
",h="*** EXCEPTION (",k="============================================================",l="Object",m="
",n="null",o="Array",p="members",q=":",r=": ",s="statics",t="get",u="construct",v="",w="qx.dev.Debug",x=": EXCEPTION expanding property",y="\n",z="*** TOO MUCH RECURSION: not displaying ***",A="Object, count=",B=" ",C="this.Filters[i][1]){ba=true;};break;case h:if(S=this.Filters[i][1]){ba=true;};break;case t:if(S<=this.Filters[i][1]){ba=true;};break;};}else if(this._js_in_array(this.Filters[i][0],this.betweenAllowed)&&ba==false){S=this.getValueById(this.Filters[i][3],bd);switch(this.Filters[i][0]){case g:if(S>=this.Filters[i][1]&&S<=this.Filters[i][2]){ba=true;};break;case o:if(Sthis.Filters[i][2]){ba=true;};break;};}else if(this.Filters[i][0]==l&&ba==false){S=this.getValueById(this.Filters[i][2],bd);var V=new RegExp(this.Filters[i][1],this.Filters[i][3]);ba=V.test(S);}else if(this.Filters[i][0]==d&&ba==false){S=this.getValueById(this.Filters[i][2],bd);var V=new RegExp(this.Filters[i][1],this.Filters[i][3]);ba=!V.test(S);};};if(ba==true){U.push(bd);};};var X=U.length;for(i=0;i=F){C=F-1;};var D=-1;var A=-1;for(var G=E;G<=C;G++ ){if((this._clearCache&&!this._loadRowCountRequestRunning)||this._rowBlockCache[G]==null||this._rowBlockCache[G].isDirty){if(D==-1){D=G;};A=G;};};if(D!=-1){this._firstRowToLoad=-1;this._lastRowToLoad=-1;this._firstLoadingBlock=D;this._loadRowData(D*z,(A+1)*z-1);};}else {this._firstRowToLoad=H;this._lastRowToLoad=B;};},_loadRowData:function(J,I){throw new Error(e);},_onRowDataLoaded:function(P){if(this._clearCache){this.clearCache();this._clearCache=false;};if(P!=null&&!this._ignoreCurrentRequest){var M=this.getBlockSize();var K=Math.ceil(P.length/M);if(K==1){this._setRowBlockData(this._firstLoadingBlock,P);}else {for(var i=0;ithis.getMaxCachedBlockCount()){var T;var S=this._lruCounter;for(var V in this._rowBlockCache){var U=this._rowBlockCache[V].lru;if(U1){S=U;T=V;};};delete this._rowBlockCache[T];this._rowBlockCount-- ;};};this._rowBlockCache[X]={lru: ++this._lruCounter,rowDataArr:W};},removeRow:function(bb){if(this.getClearCacheOnRemove()){this.clearCache();var bg={firstRow:0,lastRow:this.getRowCount()-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,bg);}else {var bc=this.getBlockSize();var Y=Math.ceil(this.getRowCount()/bc);var bd=parseInt(bb/bc,10);for(var bh=bd;bh<=Y;bh++ ){var bf=this._rowBlockCache[bh];if(bf!=null){var ba=0;if(bh==bd){ba=bb-bh*bc;};bf.rowDataArr.splice(ba,1);if(bh==Y-1){if(bf.rowDataArr.length==0){delete this._rowBlockCache[bh];};}else {var be=this._rowBlockCache[bh+1];if(be!=null){bf.rowDataArr.push(be.rowDataArr[0]);}else {bf.isDirty=true;};};};};if(this._rowCount!=-1){this._rowCount-- ;};if(this.hasListener(f)){var bg={firstRow:bb,lastRow:this.getRowCount()-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,bg);};};},getRowData:function(bi){var bj=this.getBlockSize();var bm=parseInt(bi/bj,10);var bk=this._rowBlockCache[bm];if(bk==null){return null;}else {var bl=bk.rowDataArr[bi-(bm*bj)];if(bk.lru!=this._lruCounter){bk.lru= ++this._lruCounter;};return bl;};},getValue:function(bo,bn){var bp=this.getRowData(bn);if(bp==null){return null;}else {var bq=this.getColumnId(bo);return bp[bq];};},setValue:function(bu,bs,bt){var bv=this.getRowData(bs);if(bv==null){return;}else {var br=this.getColumnId(bu);bv[br]=bt;if(this.hasListener(f)){var bw={firstRow:bs,lastRow:bs,firstColumn:bu,lastColumn:bu};this.fireDataEvent(f,bw);};};},setEditable:function(bx){this._editableColArr=[];for(var by=0;by>1);var z=y[D];if(z[C]>=w&&(D==0||y[D-1][C]=w){v=D-1;}else {A=D+1;};if(A>v){return {};};};var B={};var z=y[D];while(z&&z[C]>=w&&z[C]<=x){B[z.id]=z;z=y[D++ ];};return B;},findCellsInWindow:function(H,G,I,E){var L={};if(I>0){var K=H+I-1;qx.lang.Object.mergeWith(L,this._findCellsInRange(g,H,K));qx.lang.Object.mergeWith(L,this._findCellsInRange(j,H,K));};var J={};if(E>0){var F=G+E-1;qx.lang.Object.mergeWith(J,this._findCellsInRange(f,G,F));qx.lang.Object.mergeWith(J,this._findCellsInRange(c,G,F));};return this.__xk(J,L);},__xk:function(O,M){var N=[];for(var P in O){if(M[P]){N.push(M[P]);};};return N;},_onRowConfigChange:function(e){this._rowPos=[];},_onColumnConfigChange:function(e){this._columnPos=[];},_invalidatePositionCache:function(){this._rowPos=[];this._columnPos=[];},_getRowPosition:function(R){var Q=this._rowPos[R];if(Q!==undefined){return Q;};Q=this._rowPos[R]=this._rowConfig.getItemPosition(R);return Q;},_getColumnPosition:function(S){var T=this._columnPos[S];if(T!==undefined){return T;};T=this._columnPos[S]=this._columnConfig.getItemPosition(S);return T;},_getSingleCellBounds:function(U,V,W){var X={left:0,top:0,width:0,height:0};X.height=this._getRowPosition(U.lastRow)+this._rowConfig.getItemSize(U.lastRow)-this._getRowPosition(U.firstRow);X.top=this._getRowPosition(U.firstRow)-this._getRowPosition(V);X.width=this._getColumnPosition(U.lastColumn)+this._columnConfig.getItemSize(U.lastColumn)-this._getColumnPosition(U.firstColumn);X.left=this._getColumnPosition(U.firstColumn)-this._getColumnPosition(W);return X;},getCellBounds:function(Y,bb,bc){var ba=[];for(var i=0,l=Y.length;i=M&&K<=L){this.updateLayerData();};}}});})();(function(){var a="
",b="background-color:",c="horizontal",d="top:",e="",f="height: ",g="position: absolute;",h="gray",i="width: 100%;",j="width: ",k="height: 100%;",l="
",n="qx.ui.virtual.layer.GridLines",o="left:",p="px;",q="html",r="Color",s="PositiveInteger",t="top: 0px;";qx.Class.define(n,{extend:qx.ui.virtual.layer.Abstract,construct:function(v,w,u){qx.ui.virtual.layer.Abstract.call(this);this.setZIndex(11);if(w){this.setDefaultLineColor(w);};if(u!==undefined){this.setDefaultLineSize(u);};this.__xl=[];this.__xm=[];this._isHorizontal=(v||c)==c;},properties:{defaultLineColor:{init:h,check:r,themeable:true},defaultLineSize:{init:1,check:s,themeable:true}},members:{__xl:null,__xm:null,isHorizontal:function(){return this._isHorizontal;},setLineColor:function(A,z){{};this.__xl[A]=z;if(this.__xn(A)){this.updateLayerData();};},setLineSize:function(B,C){{};this.__xm[B]=C;if(this.__xn(B)){this.updateLayerData();};},__xn:function(D){if(this._isHorizontal){var H=this.getFirstColumn();var F=H+this.getColumnSizes().length-1;return D>=H&&D<=F;}else {var G=this.getFirstRow();var E=G+this.getRowSizes().length-1;return D>=G&&D<=E;};},getLineSize:function(I){return this.__xm[I]||this.getDefaultLineSize();},getLineColor:function(J){return this.__xl[J]||this.getDefaultLineColor();},__xo:function(O,L,N){var top=0;var K,M;for(var y=0;y1)?Math.floor(M/2):1),p,b,K,m,a);};},__xp:function(S,P,R){var U=0;var Q,T;for(var x=0;x1)?Math.floor(T/2):1),p,b,Q,m,a);};},_fullUpdate:function(Y,ba,W,V){var X=[];if(this._isHorizontal){this.__xo(X,Y,W);}else {this.__xp(X,ba,V);};this.getContentElement().setAttribute(q,X.join(e));},_updateLayerWindow:function(bd,be,bf,bc){var bg=bd!==this.getFirstRow()||bf.length!==this.getRowSizes().length;var bb=be!==this.getFirstColumn()||bc.length!==this.getColumnSizes().length;if((this._isHorizontal&&bg)||(!this._isHorizontal&&bb)){this._fullUpdate(bd,be,bf,bc);};}},destruct:function(){this.__xl=this.__xm=null;}});})();(function(){var a="width:",b="top:",c="",d="css.boxmodel",e=">",f="content",g="
",h="qx.ui.virtual.layer.HtmlCell",i="' ",j="style='",k="height:",l="
1||v>1){this._spanManager.addCell(w,z,t,u,v);};qx.ui.core.queue.Widget.add(this);},__xq:function(G,A,C,H,top,F,D){var B=this._cellProvider.getCellProperties(A,C);var E=B.insets||[0,0];G.push(f,j,o,H,k,b,top,k,this._getCellSizeStyle(F,D,E[0],E[1]),B.style||c,g,m,B.classes||c,g,B.attributes||c,d,B.content||c,a);},_fullUpdate:function(P,K,T,N){var S=[];var M=this._spanManager.findCellsInWindow(P,K,T.length,N.length);if(M.length>0){var O=this._spanManager.getCellBounds(M,P,K);var I=this._spanManager.computeCellSpanMap(M,P,K,T.length,N.length);for(var i=0,l=M.length;i1||x>1){this._spanManager.addCell(y,z,v,w,x);};qx.ui.core.queue.Widget.add(this);},_getSpacer:function(){var A=this.__rT.pop();if(!A){A=new qx.ui.core.Spacer();A.setUserData(k,1);A.setUserData(h,1);};return A;},__xr:function(){var self=this;var D=this._cellProvider;var C=this.__rT;var B={getCellWidget:function(G,E){if(!self._spanMap[G][E]){var F=D.getCellWidget(G,E);}else {var F=self._getSpacer();};return F;},poolCellWidget:function(H){if(H.getUserData(h)){C.push(H);}else {D.poolCellWidget(H);};}};return B;},__xs:function(K,L,J,I){this._cells=this._spanManager.findCellsInWindow(K,L,J,I);if(this._cells.length>0){this._bounds=this._spanManager.getCellBounds(this._cells,K,L);this._spanMap=this._spanManager.computeCellSpanMap(this._cells,K,L,J,I);}else {this._bounds=[];this._spanMap=[];for(var i=0;i=0;i-- ){var P=Q[i];if(P!==this._cellLayer){this._cellProvider.poolCellWidget(P);this._remove(P);};};for(var i=0,l=this._cells.length;i=0;E-- ){for(var F=H-1;F>=0;F-- ){var G={row:F,column:E};if(this._isSelectable(G)){return G;};};};return null;},_getRelatedSelectable:function(J,N){var L={row:J.row,column:J.column};switch(N){case b:for(var O=J.row-1;O>=0;O-- ){L.row=O;if(this._isSelectable(L)){return L;};};break;case a:var M=this._pane.getRowConfig().getItemCount();for(var O=J.row+1;O=0;K-- ){L.column=K;if(this._isSelectable(L)){return L;};};break;case d:var I=this._pane.getColumnConfig().getItemCount();for(var K=J.column+1;K=0;i-- ){if(!qx.lang.Array.contains(q,this.getSelection().getItem(i))){this.getSelection().splice(i,1).dispose();};};}else if(this.__xO()){var r=this.getSelection().getItem(this.getSelection().length-1);if(r!==undefined){this.__xP(r);this.getSelection().splice(0,this.getSelection().getLength()-1).dispose();}else {this.getTarget().resetSelection();};};this._endSelectionModification();},__xN:function(){var v=this.getTarget().constructor;return qx.Class.implementsInterface(v,qx.ui.core.IMultiSelection);},__xO:function(){var w=this.getTarget().constructor;return qx.Class.implementsInterface(w,qx.ui.core.ISingleSelection);},__xP:function(x){var y=this.__xQ(x);if(y==null){return;};if(this.__xN()){this.getTarget().addToSelection(y);}else if(this.__xO()){this.getTarget().setSelection([y]);};},__xQ:function(z){var A=this.getTarget().getSelectables(true);for(var i=0;i0?this._modifingSelection-- :null;},_inSelectionModification:function(){return this._modifingSelection>0;}},destruct:function(){if(this.__xJ){this.__xJ.dispose();};}});})();(function(){var a="changeModel",b="_applyLabelOptions",c="_applyLabelPath",d="changeTarget",e="_applyModel",f="change",g="icon",h="ReverseBindingId",k="qx.data.controller.List",m="_applyIconPath",n="BindingId",o="_applyDelegate",p="",q="changeDelegate",r="_applyTarget",s="]",t="qx.data.IListData",u="model[",v="model",w="label",x="String",y="_applyIconOptions",z=".";qx.Class.define(k,{extend:qx.core.Object,include:qx.data.controller.MSelection,implement:qx.data.controller.ISelection,construct:function(A,B,C){qx.core.Object.call(this);this.__rt=[];this.__xR=[];this.__xS=[];this.__xT={};if(C!=null){this.setLabelPath(C);};if(A!=null){this.setModel(A);};if(B!=null){this.setTarget(B);};},properties:{model:{check:t,apply:e,event:a,nullable:true,dereference:true},target:{apply:r,event:d,nullable:true,init:null,dereference:true},labelPath:{check:x,apply:c,nullable:true},iconPath:{check:x,apply:m,nullable:true},labelOptions:{apply:b,nullable:true},iconOptions:{apply:y,nullable:true},delegate:{apply:o,event:q,init:null,nullable:true}},members:{__xU:null,__rt:null,__xT:null,__xR:null,__xS:null,__xV:null,__xW:null,update:function(){this.__xY();this.__yd();this._updateSelection();},_applyDelegate:function(E,D){this._setConfigureItem(E,D);this._setFilter(E,D);this._setCreateItem(E,D);this._setBindItem(E,D);},_applyIconOptions:function(G,F){this.__yd();},_applyLabelOptions:function(I,H){this.__yd();},_applyIconPath:function(K,J){this.__yd();},_applyLabelPath:function(M,L){this.__yd();},_applyModel:function(P,N){if(N!=undefined){if(this.__xU!=undefined){N.removeListenerById(this.__xU);};};if(this.getSelection()!=undefined&&this.getSelection().length>0){this.getSelection().splice(0,this.getSelection().length).dispose();};if(P!=null){this.__xU=P.addListener(f,this.__xX,this);this.__rB();this.__xY();if(N==null){this._changeTargetSelection();}else {this.__xV=true;qx.ui.core.queue.Widget.add(this);};}else {var O=this.getTarget();if(O!=null){var length=O.getChildren().length;for(var i=0;iT){for(var j=T;jU;j-- ){this.__yc();};};this.__xV=true;qx.ui.core.queue.Widget.add(this);},__ya:function(){var V=this.getModel();if(V!=null){V.removeListenerById(this.__xU);this.__xU=V.addListener(f,this.__xX,this);};},_createItem:function(){var X=this.getDelegate();if(X!=null&&X.createItem!=null){var W=X.createItem();}else {var W=new qx.ui.form.ListItem();};if(X!=null&&X.configureItem!=null){X.configureItem(W);};return W;},__yb:function(Y){var ba=this._createItem();this._bindListItem(ba,Y);this.getTarget().add(ba);},__yc:function(){this._startSelectionModification();var bc=this.getTarget().getChildren();var bb=bc.length-1;var bd=bc[bb];this._removeBindingsFrom(bd);this.getTarget().removeAt(bb);bd.destroy();this._endSelectionModification();},getVisibleModels:function(){var be=[];var bf=this.getTarget();if(bf!=null){var bg=bf.getChildren();for(var i=0;ithis.__rt.length){for(var j=bQ.length;j>this.__rt.length;j-- ){this.getTarget().removeAt(j-1).destroy();};}else if(bQ.length=bj.length;i-- ){var bk=bn.getChildren()[i];this.__yo(bk,bn);};},__ym:function(bt){if(bt==null){bt=this.getTarget();};if(bt==null){return;};var bv=bt.getRoot();if(bv!=null){bt.setRoot(null);this.__yn(bv);var bu=bv.getModel();if(bu){this.__yp(bu);};bv.destroy();this.__yg={};};},__yn:function(bw){var bx=bw.getChildren()||[];for(var i=bx.length-1;i>=0;i-- ){if(bx[i].getChildren().length>0){this.__yn(bx[i]);};this.__yo(bx[i],bw);};},__yo:function(bz,bC){var bD=bz.getModel();var by=this.__yh||this.getChildPath();var bA=w+qx.lang.String.firstUp(by);if(bD[bA]!=undefined){var bE=bD[bA]();var bB=this.__yg[bE.toHashCode()];bE.removeListenerById(bB.changeListenerId);bD.removeListenerById(bB.changeChildernListenerId);this.__yn(bz);delete this.__yg[bE.toHashCode()];};this.__yp(bD);bC.remove(bz);bz.destroy();},bindProperty:function(bG,bJ,bI,bF,bL){var bK=bL.bind(bG,bF,bJ,bI);if(this.__bc[bJ]==null){this.__bc[bJ]={};};var bH=this.__bc[bJ];if(bH[bL.toHashCode()]){if(bH[bL.toHashCode()].id){throw new Error(u+bJ+k);};bH[bL.toHashCode()].id=bK;}else {bH[bL.toHashCode()]={id:bK,reverseId:null,treeNode:bF};};if(!qx.lang.Array.contains(this.__xR,bJ)){this.__xR.push(bJ);};},bindPropertyReverse:function(bQ,bM,bO,bP,bS){var bR=bP.bind(bM,bS,bQ,bO);if(this.__bc[bM]==null){this.__bc[bM]={};};var bN=this.__bc[bM];if(bN[bS.toHashCode()]){if(bN[bS.toHashCode()].reverseId){throw new Error(o+bQ+k);};bN[bS.toHashCode()].reverseId=bR;}else {bN[bS.toHashCode()]={id:null,reverseId:bR,treeNode:bP};};if(!qx.lang.Array.contains(this.__xR,bM)){this.__xR.push(bM);};},bindDefaultProperties:function(bT,bU){this.bindProperty(this.getLabelPath(),h,this.getLabelOptions(),bT,bU);if(this.getIconPath()!=null){this.bindProperty(this.getIconPath(),f,this.getIconOptions(),bT,bU);};},__yd:function(){var bW;for(var ca in this.__bc){bW=ca;break;};for(var bX in this.__bc[bW]){var bV=this.__bc[bW][bX].treeNode;var bY=qx.core.ObjectRegistry.fromHashCode(bX);this.__yp(bY);this.__rP(bY,bV);};},__rP:function(cd,cb){var cc=this.getDelegate();if(cc!=null&&cc.bindItem!=null){cc.bindItem(this,cb,cd);}else {this.bindDefaultProperties(cb,cd);};},__yp:function(cg){for(var i=0;i=0;i-- ){var C=D.children[i];C.$$model=null;qx.dom.Element.remove(C);};D.innerHTML=d;},update:function(){var E=this.getTarget();var N=this.getModel();if(N instanceof qx.core.Object){N=qx.util.Serializer.toNativeObject(this.getModel());};var K=this.getTemplateId();if(E==null||N==null||K==null){return;};this.__ym();var I=this.getDelegate()&&this.getDelegate().configureItem;var F=this.getDelegate()&&this.getDelegate().filter;var H=this.getDelegate()&&this.getDelegate().createItem;for(var i=0;i/)===-1){return document.createTextNode(bg);};var bh=qx.dom.Element.create(l);bh.innerHTML=bg;return bh.children[0];}}});(function(){var bi;var bj;(function bk(bl,bm){if(typeof bi===k&&bi&&typeof bi.nodeName!==Q){bm(bi);}else if(typeof bj===p&&bj.amd){bj([u],bm);}else {bl.Mustache={};bm(bl.Mustache);};}(this,function bz(bM){var bv=Object.prototype.toString;var by=Array.isArray||function bO(bN){return bv.call(bN)===K;};function bt(bP){return typeof bP===p;};function bL(bQ){return by(bQ)?r:typeof bQ;};function bH(bR){return bR.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,n);};function bu(bS,bT){return bS!=null&&typeof bS===k&&(bT in bS);};var bA=RegExp.prototype.test;function bC(bU,bV){return bA.call(bU,bV);};var bs=/\S/;function bx(bW){return !bC(bs,bW);};var bD={'&':f,'<':v,'>':t,'"':U,"'":g,'/':L,'`':a,'=':V};function bn(bX){return String(bX).replace(/[&<>"'`=\/]/g,function bY(s){return bD[s];});};var bw=/\s*/;var bK=/\s+/;var bJ=/\s*=/;var bE=/\s*\}/;var bB=/#|\^|\/|>|\{|&|=|!/;function bo(co,cc){if(!co)return [];var cd=[];var cj=[];var cm=[];var ct=false;var cg=false;function ce(){if(ct&&!cg){while(cm.length)delete cj[cm.pop()];}else {cm=[];};ct=false;cg=false;};var ci,ca,cq;function cf(cu){if(typeof cu===Q)cu=cu.split(bK,2);if(!by(cu)||cu.length!==2)throw new Error(z+cu);ci=new RegExp(bH(cu[0])+D);ca=new RegExp(D+bH(cu[1]));cq=new RegExp(D+bH(W+cu[1]));};cf(cc||bM.tags);var cb=new bI(co);var ck,cr,cn,cl,cs,ch;while(!cb.eos()){ck=cb.pos;cn=cb.scanUntil(ci);if(cn){for(var i=0,cp=cn.length;i0?cB[cB.length-1][4]:cA;break;default:cG.push(cF);};};return cA;};function bI(cH){this.string=cH;this.tail=cH;this.pos=0;};bI.prototype.eos=function cI(){return this.tail===d;};bI.prototype.scan=function cM(cJ){var cL=this.tail.match(cJ);if(!cL||cL.index!==0)return d;var cK=cL[0];this.tail=this.tail.substring(cK.length);this.pos+=cK.length;return cK;};bI.prototype.scanUntil=function cN(cO){var cQ=this.tail.search(cO),cP;switch(cQ){case -1:cP=this.tail;this.tail=d;break;case 0:cP=d;break;default:cP=this.tail.substring(0,cQ);this.tail=this.tail.substring(cQ);};this.pos+=cP.length;return cP;};function bF(cS,cR){this.view=cS;this.cache={'.':this.view};this.parent=cR;};bF.prototype.push=function cT(cU){return new bF(cU,this);};bF.prototype.lookup=function da(name){var cX=this.cache;var cY;if(cX.hasOwnProperty(name)){cY=cX[name];}else {var dc=this,db,cV,cW=false;while(dc){if(name.indexOf(x)>0){cY=dc.view;db=name.split(x);cV=0;while(cY!=null&&cV=200&&status<300||status===304);},isMethod:function(p){var o=[e,i,d,h,a,c,j,b,f];return (o.indexOf(p)!==-1)?true:false;},methodAllowsRequestBody:function(q){return !((/^(GET|HEAD)$/).test(q));}}});})();(function(){var a="null",b="XMLHttpRequest",c="Boolean",d="X-Requested-With",e="",f="application/x-www-form-urlencoded",g="Cache-Control",h="Content-Type",i="qx.event.type.Event",j="GET",k="qx.io.request.Xhr",l="Accept",m="String";qx.Class.define(k,{extend:qx.io.request.AbstractRequest,construct:function(n,o){if(o!==undefined){this.setMethod(o);};qx.io.request.AbstractRequest.call(this,n);this._parser=this._createResponseParser();},events:{"readyStateChange":i,"success":i,"load":i,"statusError":i},properties:{method:{init:j},async:{check:c,init:true},accept:{check:m,nullable:true},cache:{check:function(p){return qx.lang.Type.isBoolean(p)||qx.lang.Type.isString(p);},init:true}},members:{_parser:null,_createTransport:function(){return new qx.bom.request.Xhr();},_getConfiguredUrl:function(){var q=this.getUrl(),r;if(this.getMethod()===j&&this.getRequestData()){r=this._serializeData(this.getRequestData());q=qx.util.Uri.appendParamsToUrl(q,r);};if(this.getCache()===false){q=qx.util.Uri.appendParamsToUrl(q,{nocache:new Date().valueOf()});};return q;},_getConfiguredRequestHeaders:function(){var s={},t=qx.util.Request.methodAllowsRequestBody(this.getMethod());if(!qx.util.Request.isCrossDomain(this.getUrl())){s[d]=b;};if(qx.lang.Type.isString(this.getCache())){s[g]=this.getCache();};if(this.getRequestData()!==a&&t){s[h]=f;};if(this.getAccept()){{};s[l]=this.getAccept();};return s;},_getMethod:function(){return this.getMethod();},_isAsync:function(){return this.isAsync();},_createResponseParser:function(){return new qx.util.ResponseParser();},_getParsedResponse:function(){var v=this._transport.responseText,u=this.getResponseContentType()||e;return this._parser.parse(v,u);},setParser:function(w){return this._parser.setParser(w);}}});})();(function(){var a="function",b="qx.util.ResponseParser",c="";qx.Bootstrap.define(b,{construct:function(d){if(d!==undefined){this.setParser(d);};},statics:{PARSER:{json:qx.lang.Json.parse,xml:qx.xml.Document.fromString}},members:{__yG:null,parse:function(g,f){var e=this._getParser(f);if(typeof e===a){if(g!==c){return e.call(this,g);};};return g;},setParser:function(h){if(typeof qx.util.ResponseParser.PARSER[h]===a){return this.__yG=qx.util.ResponseParser.PARSER[h];};{};return this.__yG=h;},_getParser:function(j){var i=this.__yG,l=c,k=c;if(i){return i;};l=j||c;k=l.replace(/;.*$/,c);if(/^application\/(\w|\.)*\+?json$/.test(k)){i=qx.util.ResponseParser.PARSER.json;};if(/^application\/xml$/.test(k)){i=qx.util.ResponseParser.PARSER.xml;};if(/[^\/]+\/[^\+]+\+xml$/.test(l)){i=qx.util.ResponseParser.PARSER.xml;};return i;}}});})();(function(){var a="activex",b="No XHR support available.",c="If-None-Match",d="xhr",f="If-Modified-Since",g="engine.version",h="onunload",i="GET",j="-1",k="qx.debug.io",l="HTMLDocument",m="error",n="loadend",o="Blob",p="load",q="abort",r="String",s="browser.documentmode",t="",u="engine.name",v="Microsoft.XMLHTTP",w="Already disposed",x="browser.version",y="opera",z="qx.bom.request.Xhr",A="Not enough arguments",B="timeout",C="gecko",D="If-Match",E="mshtml",F="readystatechange",G="Microsoft.XMLDOM",H="file:",I="FormData",J="If-Range",K="Content-Type",L="io.xhr",M="on",N="ArrayBuffer",O="undefined",P="Native XHR object doesn't support overrideMimeType.";qx.Bootstrap.define(z,{extend:Object,construct:function(){var Q=qx.Bootstrap.bind(this.__yU,this);if(qx.event&&qx.event.GlobalError&&qx.event.GlobalError.observeMethod){this.__yH=qx.event.GlobalError.observeMethod(Q);}else {this.__yH=Q;};this.__yI=qx.Bootstrap.bind(this.__yT,this);this.__yy=qx.Bootstrap.bind(this.__yY,this);this.__yS();this._emitter=new qx.event.Emitter();if(window.attachEvent){this.__yJ=qx.Bootstrap.bind(this.__zc,this);window.attachEvent(h,this.__yJ);};},statics:{UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},events:{"readystatechange":z,"error":z,"loadend":z,"timeout":z,"abort":z,"load":z},members:{readyState:0,responseText:t,responseXML:null,status:0,statusText:t,timeout:0,open:function(V,R,S,U,T){this.__ze();if(typeof R===O){throw new Error(A);}else if(typeof V===O){V=i;};this.__yB=false;this.__yK=false;this.__yL=false;this.__yM=R;if(typeof S==O){S=true;};this.__yN=S;if(!this.__zd()&&this.readyState>qx.bom.request.Xhr.UNSENT){this.dispose();this.__yS();};this.__yP.onreadystatechange=this.__yH;try{{};this.__yP.open(V,R,S,U,T);}catch(W){if(!qx.util.Request.isCrossDomain(R)){throw W;};if(!this.__yN){this.__yO=W;};if(this.__yN){if(window.XDomainRequest){this.readyState=4;this.__yP=new XDomainRequest();this.__yP.onerror=qx.Bootstrap.bind(function(){this._emit(F);this._emit(m);this._emit(n);},this);{};this.__yP.open(V,R,S,U,T);return;};window.setTimeout(qx.Bootstrap.bind(function(){if(this.__yQ){return;};this.readyState=4;this._emit(F);this._emit(m);this._emit(n);},this));};};if(qx.core.Environment.get(u)===E&&qx.core.Environment.get(s)<9&&this.__yP.readyState>0){this.__yP.setRequestHeader(f,j);};if(qx.core.Environment.get(u)===C&&parseInt(qx.core.Environment.get(g),10)<2&&!this.__yN){this.readyState=qx.bom.request.Xhr.OPENED;this._emit(F);};},setRequestHeader:function(X,Y){this.__ze();if(X==D||X==f||X==c||X==J){this.__yL=true;};this.__yP.setRequestHeader(X,Y);return this;},send:function(bb){this.__ze();if(!this.__yN&&this.__yO){throw this.__yO;};if(qx.core.Environment.get(u)===y&&this.timeout===0){this.timeout=10000;};if(this.timeout>0){this.__vE=window.setTimeout(this.__yy,this.timeout);};bb=typeof bb==O?null:bb;var ba=qx.Bootstrap.getClass(bb);bb=(bb!==null&&this.__yR.indexOf(ba)===-1)?bb.toString():bb;try{{};this.__yP.send(bb);}catch(bd){if(!this.__yN){throw bd;};if(this._getProtocol()===H){this.readyState=2;this.__yV();var bc=this;window.setTimeout(function(){if(bc.__yQ){return;};bc.readyState=3;bc.__yV();bc.readyState=4;bc.__yV();});};};if(qx.core.Environment.get(u)===C&&!this.__yN){this.__yU();};this.__yK=true;return this;},abort:function(){this.__ze();this.__yB=true;this.__yP.abort();if(this.__yP){this.readyState=this.__yP.readyState;};return this;},_emit:function(event){if(this[M+event]){this[M+event]();};this._emitter.emit(event,this);},onreadystatechange:function(){},onload:function(){},onloadend:function(){},onerror:function(){},onabort:function(){},ontimeout:function(){},on:function(name,be,bf){this._emitter.on(name,be,bf);return this;},getResponseHeader:function(bg){this.__ze();if(qx.core.Environment.get(s)===9&&this.__yP.aborted){return t;};return this.__yP.getResponseHeader(bg);},getAllResponseHeaders:function(){this.__ze();if(qx.core.Environment.get(s)===9&&this.__yP.aborted){return t;};return this.__yP.getAllResponseHeaders();},overrideMimeType:function(bh){this.__ze();if(this.__yP.overrideMimeType){this.__yP.overrideMimeType(bh);}else {throw new Error(P);};return this;},getRequest:function(){return this.__yP;},dispose:function(){if(this.__yQ){return false;};window.clearTimeout(this.__vE);if(window.detachEvent){window.detachEvent(h,this.__yJ);};try{this.__yP.onreadystatechange;}catch(bj){return false;};var bi=function(){};this.__yP.onreadystatechange=bi;this.__yP.onload=bi;this.__yP.onerror=bi;this.abort();this.__yP=null;this.__yQ=true;return true;},isDisposed:function(){return !!this.__yQ;},_createNativeXhr:function(){var bk=qx.core.Environment.get(L);if(bk===d){return new XMLHttpRequest();};if(bk==a){return new window.ActiveXObject(v);};qx.Bootstrap.error(this,b);},_getProtocol:function(){var bl=this.__yM;var bm=/^(\w+:)\/\//;if(bl!==null&&bl.match){var bn=bl.match(bm);if(bn&&bn[1]){return bn[1];};};return window.location.protocol;},__yP:null,__yN:null,__yH:null,__yI:null,__yJ:null,__yy:null,__yK:null,__yM:null,__yB:null,__es:null,__yQ:null,__vE:null,__yO:null,__yL:null,__yR:null,__yS:function(){this.__yP=this._createNativeXhr();this.__yP.onreadystatechange=this.__yH;if(this.__yP.onabort){this.__yP.onabort=this.__yI;};this.__yQ=this.__yK=this.__yB=false;this.__yR=[N,o,l,r,I];},__yT:function(){if(!this.__yB){this.abort();};},__yU:function(){var bo=this.__yP,bp=true;{};if(this.readyState==bo.readyState){return;};this.readyState=bo.readyState;if(this.readyState===qx.bom.request.Xhr.DONE&&this.__yB&&!this.__yK){return;};if(!this.__yN&&(bo.readyState==2||bo.readyState==3)){return;};this.status=0;this.statusText=this.responseText=t;this.responseXML=null;if(this.readyState>=qx.bom.request.Xhr.HEADERS_RECEIVED){try{this.status=bo.status;this.statusText=bo.statusText;this.responseText=bo.responseText;this.responseXML=bo.responseXML;}catch(bq){bp=false;};if(bp){this.__za();this.__zb();};};this.__yV();if(this.readyState==qx.bom.request.Xhr.DONE){if(bo){bo.onreadystatechange=function(){};};};},__yV:function(){if(this.readyState===qx.bom.request.Xhr.DONE){window.clearTimeout(this.__vE);};this._emit(F);if(this.readyState===qx.bom.request.Xhr.DONE){this.__yW();};},__yW:function(){if(this.__es){this._emit(B);if(qx.core.Environment.get(u)===y){this._emit(m);};this.__es=false;}else {if(this.__yB){this._emit(q);}else {if(this.__yX()){this._emit(m);}else {this._emit(p);};};};this._emit(n);},__yX:function(){var br;if(this._getProtocol()===H){br=!this.responseText;}else {br=!this.statusText&&this.status!==204;};return br;},__yY:function(){var bs=this.__yP;this.readyState=qx.bom.request.Xhr.DONE;this.__es=true;bs.aborted=true;bs.abort();this.responseText=t;this.responseXML=null;this.__yV();},__za:function(){var bt=this.readyState===qx.bom.request.Xhr.DONE;if(this._getProtocol()===H&&this.status===0&&bt){if(!this.__yX()){this.status=200;};};if(this.status===1223){this.status=204;};if(qx.core.Environment.get(u)===y){if(bt&&this.__yL&&!this.__yB&&this.status===0){this.status=304;};};},__zb:function(){if(qx.core.Environment.get(u)==E&&(this.getResponseHeader(K)||t).match(/[^\/]+\/[^\+]+\+xml/)&&this.responseXML&&!this.responseXML.documentElement){var bu=new window.ActiveXObject(G);bu.async=false;bu.validateOnParse=false;bu.loadXML(this.responseText);this.responseXML=bu;};},__zc:function(){try{if(this){this.dispose();};}catch(e){};},__zd:function(){var name=qx.core.Environment.get(u);var bv=qx.core.Environment.get(x);return !(name==E&&bv<9||name==C&&bv<3.5);},__ze:function(){if(this.__yQ){throw new Error(w);};}},defer:function(){qx.core.Environment.add(k,false);}});})();(function(){var a="callback",b="changePhase",c="fail",d="success",e="qx.data.store.Jsonp",f="String";qx.Class.define(e,{extend:qx.data.store.Json,construct:function(g,h,i){if(i!=undefined){this.setCallbackParam(i);};qx.data.store.Json.call(this,g,h);},properties:{callbackParam:{check:f,init:a,nullable:true},callbackName:{check:f,nullable:true}},members:{_createRequest:function(j){if(this._getRequest()){this._getRequest().dispose();};var k=new qx.io.request.Jsonp();this._setRequest(k);k.setCallbackParam(this.getCallbackParam());k.setCallbackName(this.getCallbackName());k.setUrl(j);k.addListener(d,this._onSuccess,this);var l=this._delegate;if(l&&qx.lang.Type.isFunction(l.configureRequest)){this._delegate.configureRequest(k);};k.addListener(b,this._onChangePhase,this);k.addListener(c,this._onFail,this);k.send();}}});})();(function(){var a="qx.io.request.Jsonp",b="qx.event.type.Event",c="Boolean";qx.Class.define(a,{extend:qx.io.request.AbstractRequest,events:{"success":b,"load":b,"statusError":b},properties:{cache:{check:c,init:true}},members:{_createTransport:function(){return new qx.bom.request.Jsonp();},_getConfiguredUrl:function(){var d=this.getUrl(),e;if(this.getRequestData()){e=this._serializeData(this.getRequestData());d=qx.util.Uri.appendParamsToUrl(d,e);};if(!this.getCache()){d=qx.util.Uri.appendParamsToUrl(d,{nocache:new Date().valueOf()});};return d;},_getParsedResponse:function(){return this._transport.responseJson;},setCallbackParam:function(f){this._transport.setCallbackParam(f);},setCallbackName:function(name){this._transport.setCallbackName(name);}}});})();(function(){var a="url: ",b="qx.debug.io",c="qx.bom.request.Script",d="Invalid state",e="head",f="error",g="loadend",h="qx.debug",i="script",j="load",k="Unknown response headers",l="browser.documentmode",m="abort",n="",o="Received native readyState: loaded",p="readystatechange",q="Response header cannot be determined for ",r="requests made with script transport.",s="opera",t="unknown",u="Open native request with ",v="Response headers cannot be determined for",w="mshtml",x="engine.name",y="Detected error",z="Send native request",A="on",B="timeout",C="Unknown environment key at this phase",D="Received native load";qx.Bootstrap.define(c,{construct:function(){this.__zk();this.__zf=qx.Bootstrap.bind(this._onNativeLoad,this);this.__zg=qx.Bootstrap.bind(this._onNativeError,this);this.__yy=qx.Bootstrap.bind(this._onTimeout,this);this.__zh=document.head||document.getElementsByTagName(e)[0]||document.documentElement;this._emitter=new qx.event.Emitter();this.timeout=this.__zm()?0:15000;},events:{"readystatechange":c,"error":c,"loadend":c,"timeout":c,"abort":c,"load":c},members:{readyState:null,status:null,statusText:null,timeout:null,__zi:null,on:function(name,E,F){this._emitter.on(name,E,F);return this;},open:function(H,G){if(this.__yQ){return;};this.__zk();this.__yB=null;this.__yM=G;if(this.__zp(b)){qx.Bootstrap.debug(qx.bom.request.Script,u+a+G);};this._readyStateChange(1);},setRequestHeader:function(I,J){if(this.__yQ){return null;};var K={};if(this.readyState!==1){throw new Error(d);};K[I]=J;this.__yM=qx.util.Uri.appendParamsToUrl(this.__yM,K);return this;},send:function(){if(this.__yQ){return null;};var M=this.__zn(),L=this.__zh,N=this;if(this.timeout>0){this.__eq=window.setTimeout(this.__yy,this.timeout);};if(this.__zp(b)){qx.Bootstrap.debug(qx.bom.request.Script,z);};L.insertBefore(M,L.firstChild);window.setTimeout(function(){N._readyStateChange(2);N._readyStateChange(3);});return this;},abort:function(){if(this.__yQ){return null;};this.__yB=true;this.__zo();this._emit(m);return this;},_emit:function(event){this[A+event]();this._emitter.emit(event,this);},onreadystatechange:function(){},onload:function(){},onloadend:function(){},onerror:function(){},onabort:function(){},ontimeout:function(){},getResponseHeader:function(O){if(this.__yQ){return null;};if(this.__zp(h)){qx.Bootstrap.debug(q+r);};return t;},getAllResponseHeaders:function(){if(this.__yQ){return null;};if(this.__zp(h)){qx.Bootstrap.debug(v+r);};return k;},setDetermineSuccess:function(P){this.__zi=P;},dispose:function(){var Q=this.__zj;if(!this.__yQ){if(Q){Q.onload=Q.onreadystatechange=null;this.__zo();};if(this.__eq){window.clearTimeout(this.__eq);};this.__yQ=true;};},isDisposed:function(){return !!this.__yQ;},_getUrl:function(){return this.__yM;},_getScriptElement:function(){return this.__zj;},_onTimeout:function(){this.__zl();if(!this.__zm()){this._emit(f);};this._emit(B);if(!this.__zm()){this._emit(g);};},_onNativeLoad:function(){var S=this.__zj,R=this.__zi,T=this;if(this.__yB){return;};if(this.__zp(x)===w&&this.__zp(l)<9){if(!(/loaded|complete/).test(S.readyState)){return;}else {if(this.__zp(b)){qx.Bootstrap.debug(qx.bom.request.Script,o);};};};if(this.__zp(b)){qx.Bootstrap.debug(qx.bom.request.Script,D);};if(R){if(!this.status){this.status=R()?200:500;};};if(this.status===500){if(this.__zp(b)){qx.Bootstrap.debug(qx.bom.request.Script,y);};};if(this.__eq){window.clearTimeout(this.__eq);};window.setTimeout(function(){T._success();T._readyStateChange(4);T._emit(j);T._emit(g);});},_onNativeError:function(){this.__zl();this._emit(f);this._emit(g);},__zj:null,__zh:null,__yM:n,__zf:null,__zg:null,__yy:null,__eq:null,__yB:null,__yQ:null,__zk:function(){this.readyState=0;this.status=0;this.statusText=n;},_readyStateChange:function(U){this.readyState=U;this._emit(p);},_success:function(){this.__zo();this.readyState=4;if(!this.status){this.status=200;};this.statusText=n+this.status;},__zl:function(){this.__zo();this.readyState=4;this.status=0;this.statusText=null;},__zm:function(){var W=this.__zp(x)===w&&this.__zp(l)<9;var V=this.__zp(x)===s;return !(W||V);},__zn:function(){var X=this.__zj=document.createElement(i);X.src=this.__yM;X.onerror=this.__zg;X.onload=this.__zf;if(this.__zp(x)===w&&this.__zp(l)<9){X.onreadystatechange=this.__zf;};return X;},__zo:function(){var Y=this.__zj;if(Y&&Y.parentNode){this.__zh.removeChild(Y);};},__zp:function(ba){if(qx&&qx.core&&qx.core.Environment){return qx.core.Environment.get(ba);}else {if(ba===x){return qx.bom.client.Engine.getName();};if(ba===l){return qx.bom.client.Browser.getDocumentMode();};if(ba==b){return false;};throw new Error(C);};}},defer:function(){if(qx&&qx.core&&qx.core.Environment){qx.core.Environment.add(b,false);};}});})();(function(){var a="qx.bom.request.Jsonp",b="callback",c="open",d="dispose",e="",f="_onNativeLoad",g="qx",h=".callback",i="qx.bom.request.Jsonp.";qx.Bootstrap.define(a,{extend:qx.bom.request.Script,construct:function(){qx.bom.request.Script.apply(this);this.__zx();},members:{responseJson:null,__cl:null,__zq:null,__zr:null,__zs:null,__zt:null,__zu:null,__yQ:null,__zv:e,open:function(o,k){if(this.__yQ){return;};var m={},l,n,j=this;this.responseJson=null;this.__zs=false;l=this.__zq||b;n=this.__zr||this.__zv+i+this.__cl+h;if(!this.__zr){this.constructor[this.__cl]=this;}else {if(!window[this.__zr]){this.__zt=true;window[this.__zr]=function(p){j.callback(p);};}else {{};};};{};m[l]=n;this.__zu=k=qx.util.Uri.appendParamsToUrl(k,m);this.__ht(c,[o,k]);},callback:function(q){if(this.__yQ){return;};this.__zs=true;{};this.responseJson=q;this.constructor[this.__cl]=undefined;this.__zw();},setCallbackParam:function(r){this.__zq=r;return this;},setCallbackName:function(name){this.__zr=name;return this;},setPrefix:function(s){this.__zv=s;},getGeneratedUrl:function(){return this.__zu;},dispose:function(){this.__zw();this.__ht(d);},_onNativeLoad:function(){this.status=this.__zs?200:500;this.__ht(f);},__zw:function(){if(this.__zt&&window[this.__zr]){window[this.__zr]=undefined;this.__zt=false;};},__ht:function(u,t){qx.bom.request.Script.prototype[u].apply(this,t||[]);},__zx:function(){this.__cl=g+(new Date().valueOf())+(e+Math.random()).substring(2,5);}}});})();(function(){var a="qx.data.store.Offline",b="session",c="changeBubble",d="_applyModel",f="changeModel";qx.Class.define(a,{extend:qx.core.Object,construct:function(i,g,h){qx.core.Object.call(this);try{{};}catch(e){this.dispose();throw e;};if(g==b){this._storage=qx.bom.Storage.getSession();}else {this._storage=qx.bom.Storage.getLocal();};this._storeModel=qx.util.Function.debounce(this.__zz.bind(this),qx.data.store.Offline.STORE_MODEL_DELAY);this._marshaler=new qx.data.marshal.Json(h);this._key=i;this._initializeModel();},properties:{model:{nullable:true,event:f,apply:d}},statics:{STORE_MODEL_DELAY:400},members:{_storage:null,__zy:null,__zz:function(){var j=qx.util.Serializer.toNativeObject(this.getModel());this._storage.setItem(this._key,j);},_applyModel:function(l,k){if(k){k.removeListenerById(this.__zy);k.dispose();this.__zy=null;};if(l){this.__zy=l.addListener(c,this._storeModel,this);this._storeModel();}else {this._storage.removeItem(this._key);};},_storeModel:null,_initializeModel:function(){this._setModel(this._storage.getItem(this._key));},_setModel:function(n){this._marshaler.toClass(n,true);if(this.getModel()){this.getModel().dispose();};var m=this._marshaler.toModel(n,true);if(m===undefined){m=null;};this.setModel(m);},getKey:function(){return this._key;}},destruct:function(){if(this.getModel()){this.getModel().dispose();};if(this._marshaler){this._marshaler.dispose();};}});})();(function(){var a="qx.util.Function",b="undefined";qx.Bootstrap.define(a,{statics:{debounce:function(d,c,e){var f=function(){arguments.callee.immediate=!!(e);arguments.callee.args=qx.lang.Array.fromArguments(arguments);var g=this;var i=arguments.callee.intervalId;if(typeof i===b){var h=window.setInterval((function(){if(!this.fired){window.clearInterval(this.intervalId);delete this.intervalId;if(this.immediate===false){d.apply(g,this.args);};};this.fired=false;}).bind(arguments.callee),c);arguments.callee.intervalId=h;if(arguments.callee.immediate){d.apply(g,arguments.callee.args);};};arguments.callee.fired=true;};return f;},throttle:function(n,m,q){if(typeof q===b){q={};};var k,l,o;var p=null;var r=0;var j=function(){r=q.leading===false?0:new Date();p=null;o=n.apply(k,l);};return function(){var s=new Date();if(!r&&q.leading===false){r=s;};var t=m-(s-r);k=this;l=arguments;if(t<=0){window.clearTimeout(p);p=null;r=s;o=n.apply(k,l);}else if(!p&&q.trailing!==false){p=window.setTimeout(j,t);};return o;};}}});})();(function(){var a="html.storage.local",b="html.storage.userdata",c="qx.bom.Storage";qx.Bootstrap.define(c,{statics:{__zA:null,getLocal:function(){if(qx.core.Environment.get(a)){return qx.bom.storage.Web.getLocal();}else if(qx.core.Environment.get(b)){return qx.bom.storage.UserData.getLocal();};return qx.bom.storage.Memory.getLocal();},getSession:function(){if(qx.core.Environment.get(a)){return qx.bom.storage.Web.getSession();}else if(qx.core.Environment.get(b)){return qx.bom.storage.UserData.getSession();};return qx.bom.storage.Memory.getSession();}}});})();(function(){var a="local",b="session",c="Storage",d="qx.bom.storage.Web",f="Storage full.";qx.Bootstrap.define(d,{statics:{__zB:null,__zC:null,getLocal:function(){if(this.__zB){return this.__zB;};return this.__zB=new qx.bom.storage.Web(a);},getSession:function(){if(this.__zC){return this.__zC;};return this.__zC=new qx.bom.storage.Web(b);}},construct:function(g){this.__or=g;},members:{__or:null,getStorage:function(){return window[this.__or+c];},getLength:function(){return this.getStorage(this.__or).length;},setItem:function(h,j){j=qx.lang.Json.stringify(j);try{this.getStorage(this.__or).setItem(h,j);}catch(e){throw new Error(f);};},getItem:function(l){var k=this.getStorage(this.__or).getItem(l);if(qx.lang.Type.isString(k)){k=qx.lang.Json.parse(k);}else if(k&&k.value&&qx.lang.Type.isString(k.value)){k=qx.lang.Json.parse(k.value);};return k;},removeItem:function(m){this.getStorage(this.__or).removeItem(m);},clear:function(){var n=this.getStorage(this.__or);if(!n.clear){for(var i=n.length-1;i>=0;i-- ){n.removeItem(n.key(i));};}else {n.clear();};},getKey:function(o){return this.getStorage(this.__or).key(o);},forEach:function(p,r){var length=this.getLength();for(var i=0;i=h._packages.length&&j){j.call(self);};},this._loader);};};},load:function(n,self){if(this._checkCompleteLoading(n,self)){return;};this._readyState=a;if(n){this._appendPartListener(n,self,this);};this.__zK=this._packages.length;for(var i=0;i=s.length){r.call(self);return;};var v=new qx.bom.request.Script();v.open(e,u.shift());v.onload=function(){p+=1;v.dispose();if((qx.bom.client.Engine.getName()==c)){setTimeout(function(){q.call(self,u,r,self);},0);}else {q.call(self,u,r,self);};};v.onerror=function(){if(self.__zM==d){clearTimeout(self.__eq);v.dispose();return t.call(self);};};window.setTimeout(function(){v.send();});};q(s.concat());},__zS:qx.$$loader.importPackageData}});})();(function(){var a="Package not available: ",b=', ',c="complete",d='" not found in parts (',e="function",f=')',g='Part "',h="qx.Part";qx.Bootstrap.define(h,{construct:function(l){var j=l.parts[l.boot][0];this.__zT=l;this.__zU={};this.__zV={};this.__zW={};this.__zX={};for(var o in l.packages){var n=new qx.io.part.Package(this.__Ab(l.packages[o].uris),o,o==j);this.__zX[o]=n;};this.__zY={};var m=l.parts;var k=l.closureParts||{};for(var name in m){var r=m[name];var q=[];for(var i=0;i=G.length){var J=[];for(var i=0;i=L.length){var N=[];for(var i=0;i206&&cm<300){return true;};qx.log.Logger.debug(this,I+cm+V+cn+m);return false;};};},statusCodeToString:function(cp){switch(cp){case -1:return h;case 0:var cq=window.location.href;if(qx.lang.String.startsWith(cq.toLowerCase(),bS)){return bB;}else {return F;};break;case 200:return bD;case 304:return M;case 206:return t;case 204:return bL;case 300:return A;case 301:return R;case 302:return W;case 303:return r;case 305:return bJ;case 400:return cc;case 401:return y;case 402:return B;case 403:return bH;case 404:return bF;case 405:return J;case 406:return bO;case 407:return S;case 408:return bP;case 409:return bK;case 410:return q;case 411:return G;case 412:return j;case 413:return bT;case 414:return f;case 415:return bQ;case 500:return k;case 501:return E;case 502:return p;case 503:return bV;case 504:return cb;case 505:return N;case 12002:return v;case 12029:return P;case 12030:return P;case 12031:return P;case 12152:return Q;case 13030:return g;default:return bU;};}},properties:{request:{check:O,nullable:true},implementation:{check:d,nullable:true,apply:Y},state:{check:[bM,U,bN,bI,u,bY,H],init:bM,event:L,apply:D}},members:{send:function(){var cu=this.getRequest();if(!cu){return this.error(bX);};qx.io.remote.Exchange.initTypes();var cs=qx.io.remote.Exchange.typesOrder;var cr=qx.io.remote.Exchange.typesSupported;var cw=cu.getResponseType();var cx={};if(cu.getAsynchronous()){cx.asynchronous=true;}else {cx.synchronous=true;};if(cu.getCrossDomain()){cx.crossDomain=true;};if(cu.getFileUpload()){cx.fileUpload=true;};for(var cv in cu.getFormFields()){cx.programaticFormFields=true;break;};var cy,ct;for(var i=0,l=cs.length;i0){cI.setData(cK.join(c));};}else {cI.setData(cL);};cI.setResponseType(cH.getResponseType());cI.addListener(U,this._onsending,this);cI.addListener(bN,this._onreceiving,this);cI.addListener(bI,this._oncompleted,this);cI.addListener(u,this._onabort,this);cI.addListener(bY,this._ontimeout,this);cI.addListener(H,this._onfailed,this);};},_applyState:function(cQ,cO){{};switch(cQ){case U:this.fireEvent(U);break;case bN:this.fireEvent(bN);break;case bI:case u:case bY:case H:var cR=this.getImplementation();if(!cR){break;};this.__Ac();if(this.hasListener(cQ)){var cP=qx.event.Registration.createEvent(cQ,qx.io.remote.Response);if(cQ==bI){var cN=cR.getResponseContent();cP.setContent(cN);if(cN===null){{};cQ=H;};}else if(cQ==H){cP.setContent(cR.getResponseContent());};cP.setStatusCode(cR.getStatusCode());cP.setResponseHeaders(cR.getResponseHeaders());this.dispatchEvent(cP);};this.setImplementation(null);cR.dispose();break;};}},environment:{"qx.debug.io.remote":false,"qx.debug.io.remote.data":false},destruct:function(){var cS=this.getImplementation();if(cS){this.setImplementation(null);cS.dispose();};this.setRequest(null);}});})();(function(){var a="Boolean",b="setRequestHeader is abstract",c="getFetchedLength is abstract",d="getStatusText is abstract",e="getStatusCode is abstract",f="GET",g="aborted",h="Object",i="send is abstract",j="receiving",k="_applyState",l="qx.event.type.Event",m="changeState",n="String",o="getResponseHeader is abstract",p="sending",q="getResponseHeaders is abstract",r="completed",s="failed",t="getResponseText is abstract",u="abstract",v="configured",w="qx.io.remote.transport.Abstract",x="getResponseXml is abstract",y="created",z="timeout";qx.Class.define(w,{type:u,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.setRequestHeaders({});this.setParameters({});this.setFormFields({});},events:{"created":l,"configured":l,"sending":l,"receiving":l,"completed":l,"aborted":l,"failed":l,"timeout":l},properties:{url:{check:n,nullable:true},method:{check:n,nullable:true,init:f},asynchronous:{check:a,nullable:true,init:true},data:{check:n,nullable:true},username:{check:n,nullable:true},password:{check:n,nullable:true},state:{check:[y,v,p,j,r,g,z,s],init:y,event:m,apply:k},requestHeaders:{check:h,nullable:true},parameters:{check:h,nullable:true},formFields:{check:h,nullable:true},responseType:{check:n,nullable:true},useBasicHttpAuth:{check:a,nullable:true}},members:{send:function(){throw new Error(i);},abort:function(){{};this.setState(g);},timeout:function(){{};this.setState(z);},failed:function(){{};this.setState(s);},setRequestHeader:function(A,B){throw new Error(b);},getResponseHeader:function(C){throw new Error(o);},getResponseHeaders:function(){throw new Error(q);},getStatusCode:function(){throw new Error(e);},getStatusText:function(){throw new Error(d);},getResponseText:function(){throw new Error(t);},getResponseXml:function(){throw new Error(x);},getFetchedLength:function(){throw new Error(c);},_applyState:function(E,D){{};switch(E){case y:this.fireEvent(y);break;case v:this.fireEvent(v);break;case p:this.fireEvent(p);break;case j:this.fireEvent(j);break;case r:this.fireEvent(r);break;case g:this.fireEvent(g);break;case s:this.fireEvent(s);break;case z:this.fireEvent(z);break;};return true;}},destruct:function(){this.setRequestHeaders(null);this.setParameters(null);this.setFormFields(null);}});})();(function(){var a="application/xml",b=")!",c="qx.io.remote.transport.XmlHttp",d="Boolean",f="': ",g="application/json",h='Referer',j="text/html",k="Could not execute json: [",m="engine.version",n='Basic ',o="aborted",p="\n",q="string",r="Failed with exception: ",t='Authorization',u="Missing Document Element!",v="send",w="sending",x="XML-File is not well-formed!",y="receiving",z="Response was not a valid xml document [",A="No valid responseType specified (",B="
Could not execute json: \n",C="text/plain",D="text/javascript",E="Could not load from file: ",F="browser.documentmode",G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",H="Could not execute javascript: [",I="",J="mshtml",K=':',L="]",M="completed",N="failed",O="&",P="engine.name",Q="parseerror",R="configured",S="?",T="file:",U="webkit",V="=",W="created",X="timeout",Y="Failed to send data to URL '",bb="object";qx.Class.define(c,{extend:qx.io.remote.transport.Abstract,statics:{handles:{synchronous:true,asynchronous:true,crossDomain:false,fileUpload:false,programaticFormFields:false,responseTypes:[C,D,g,a,j]},createRequestObject:qx.core.Environment.select(P,{"default":function(){return new XMLHttpRequest;},"mshtml":function(){if(window.ActiveXObject&&qx.xml.Document.XMLHTTP){return new ActiveXObject(qx.xml.Document.XMLHTTP);};if(window.XMLHttpRequest){return new XMLHttpRequest;};}}),isSupported:function(){return !!this.createRequestObject();}},properties:{parseJson:{check:d,init:true}},members:{__Ad:false,__Ae:0,__ys:null,getRequest:function(){if(this.__ys===null){this.__ys=qx.io.remote.transport.XmlHttp.createRequestObject();this.__ys.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);};return this.__ys;},send:function(){this.__Ae=0;var bg=this.getRequest();var bc=this.getMethod();var bj=this.getAsynchronous();var bi=this.getUrl();var be=(window.location.protocol===T&&!(/^http(s){0,1}\:/.test(bi)));this.__Ad=be;var bm=this.getParameters(false);var bk=[];for(var bd in bm){var bh=bm[bd];if(bh instanceof Array){for(var i=0;i0){bi+=(bi.indexOf(S)>=0?O:S)+bk.join(O);};if(this.getData()===null){var bm=this.getParameters(true);var bk=[];for(var bd in bm){var bh=bm[bd];if(bh instanceof Array){for(var i=0;i0){this.setData(bk.join(O));};};var bl=function(bw){var bv=G;var bq=I;var bp,bo,bn;var bs,bt,bu,br;var i=0;do {bp=bw.charCodeAt(i++ );bo=bw.charCodeAt(i++ );bn=bw.charCodeAt(i++ );bs=bp>>2;bt=((bp&3)<<4)|(bo>>4);bu=((bo&15)<<2)|(bn>>6);br=bn&63;if(isNaN(bo)){bu=br=64;}else if(isNaN(bn)){br=64;};bq+=bv.charAt(bs)+bv.charAt(bt)+bv.charAt(bu)+bv.charAt(br);}while(i/,I);bW.loadXML(s);};if(!bW.documentElement){throw new Error(u);};if(bW.documentElement.tagName==Q){throw new Error(x);};}else {throw new Error(z+this.getRequest().responseText+L);};return bW;},getFetchedLength:function(){var bY=this.getResponseText();return typeof bY==q?bY.length:0;},getResponseContent:function(){var ca=this.getState();if(ca!==M&&ca!=N){{};return null;};{};var cb=this.getResponseText();if(ca==N){{};return cb;};switch(this.getResponseType()){case C:case j:{};return cb;case g:{};try{if(cb&&cb.length>0){var cc;if(this.getParseJson()){cc=qx.lang.Json.parse(cb);cc=(cc===0?0:(cc||null));}else {cc=cb;};return cc;}else {return null;};}catch(cd){this.error(k+cb+L,cd);return B+cb+p;};case D:{};try{if(cb&&cb.length>0){var cc=window.eval(cb);return (cc===0?0:(cc||null));}else {return null;};}catch(ce){this.error(H+cb+L,ce);return null;};case a:cb=this.getResponseXml();{};return (cb===0?0:(cb||null));default:this.warn(A+this.getResponseType()+b);return null;};},_applyState:function(cg,cf){{};switch(cg){case W:this.fireEvent(W);break;case R:this.fireEvent(R);break;case w:this.fireEvent(w);break;case y:this.fireEvent(y);break;case M:this.fireEvent(M);break;case N:this.fireEvent(N);break;case o:this.getRequest().abort();this.fireEvent(o);break;case X:this.getRequest().abort();this.fireEvent(X);break;};}},defer:function(){qx.io.remote.Exchange.registerType(qx.io.remote.transport.XmlHttp,c);},destruct:function(){var ch=this.getRequest();if(ch){ch.onreadystatechange=(function(){});switch(ch.readyState){case 1:case 2:case 3:ch.abort();};};this.__ys=null;}});})();(function(){var a="&",b="Ignore Ready State Change",c="Illegal parameter name. The following prefix is used internally by qooxdoo): ",d="",e="_ScriptTransport_data",f="?",g="application/json",h=")!",j="script",k="=",l="timeout",m="completed",n="_ScriptTransport_",o="text/plain",p="text/javascript",q="_ScriptTransport_id",r="No valid responseType specified (",s="aborted",t="utf-8",u="failed",v="qx.io.remote.transport.Script";qx.Class.define(v,{extend:qx.io.remote.transport.Abstract,construct:function(){qx.io.remote.transport.Abstract.call(this);var w= ++qx.io.remote.transport.Script.__Af;if(w>=2000000000){qx.io.remote.transport.Script.__Af=w=1;};this.__fQ=null;this.__Af=w;},statics:{__Af:0,_instanceRegistry:{},ScriptTransport_PREFIX:n,ScriptTransport_ID_PARAM:q,ScriptTransport_DATA_PARAM:e,handles:{synchronous:false,asynchronous:true,crossDomain:true,fileUpload:false,programaticFormFields:false,responseTypes:[o,p,g]},isSupported:function(){return true;},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4},_requestFinished:qx.event.GlobalError.observeMethod(function(x,content){var y=qx.io.remote.transport.Script._instanceRegistry[x];if(y==null){{};}else {y._responseContent=content;y._switchReadyState(qx.io.remote.transport.Script._numericMap.complete);};})},members:{__Ae:0,__fQ:null,__Af:null,send:function(){var B=this.getUrl();B+=(B.indexOf(f)>=0?a:f)+qx.io.remote.transport.Script.ScriptTransport_ID_PARAM+k+this.__Af;var E=this.getParameters();var D=[];for(var A in E){if(A.indexOf(qx.io.remote.transport.Script.ScriptTransport_PREFIX)==0){this.error(c+qx.io.remote.transport.Script.ScriptTransport_PREFIX);};var C=E[A];if(C instanceof Array){for(var i=0;i0){B+=a+D.join(a);};var z=this.getData();if(z!=null){B+=a+qx.io.remote.transport.Script.ScriptTransport_DATA_PARAM+k+encodeURIComponent(z);};qx.io.remote.transport.Script._instanceRegistry[this.__Af]=this;this.__fQ=document.createElement(j);this.__fQ.charset=t;this.__fQ.src=B;{};document.body.appendChild(this.__fQ);},_switchReadyState:function(F){switch(this.getState()){case m:case s:case u:case l:this.warn(b);return;};while(this.__Ae0){U+=(U.indexOf(E)>=0?G:E)+X.join(G);};if(this.getData()===null){var Y=this.getParameters(true);var X=[];for(var T in Y){var V=Y[T];if(V instanceof Array){for(var i=0;i0){this.setData(X.join(G));};};var R=this.getFormFields();for(var T in R){var W=document.createElement(l);W.name=T;W.appendChild(document.createTextNode(R[T]));this.__Ag.appendChild(W);};this.__Ag.action=U;this.__Ag.method=S;this.__cP.appendChild(document.createTextNode(this.getData()));this.__Ag.submit();this.setState(u);},_onload:qx.event.GlobalError.observeMethod(function(e){if(qx.core.Environment.get(B)==J&&this.getIframeHtmlContent()==t){return;};if(this.__Ag.src){return;};this._switchReadyState(qx.io.remote.transport.Iframe._numericMap.complete);}),_onreadystatechange:qx.event.GlobalError.observeMethod(function(e){this._switchReadyState(qx.io.remote.transport.Iframe._numericMap[this.__nH.readyState]);}),_switchReadyState:function(ba){switch(this.getState()){case w:case k:case z:case K:this.warn(C);return;};while(this.__Ae0?qx.lang.Json.parse(bg):null;}catch(bh){return this.error(j+bg+f,bh);};case q:bg=this.getIframeHtmlContent();{};try{return bg&&bg.length>0?window.eval(bg):null;}catch(bi){return this.error(y+bg+f,bi);};case a:bg=this.getIframeDocument();{};return bg;default:this.warn(n+this.getResponseType()+b);return null;};}},defer:function(){qx.io.remote.Exchange.registerType(qx.io.remote.transport.Iframe,F);},destruct:function(){if(this.__nH){qx.event.Registration.removeListener(this.__nH,o,this._onload,this);qx.bom.Event.removeNativeListener(this.__nH,v,this.__Ah);if((qx.core.Environment.get(B)==g)){this.__nH.src=qx.util.ResourceManager.getInstance().toUri(L);};qx.dom.Element.remove(this.__nH);};if(this.__Ag){qx.dom.Element.remove(this.__Ag);};this.__nH=this.__Ag=this.__cP=null;}});})();(function(){var a="Object",b="_applyResponseHeaders",c="Integer",d="qx.io.remote.Response";qx.Class.define(d,{extend:qx.event.type.Event,properties:{state:{check:c,nullable:true},statusCode:{check:c,nullable:true},content:{nullable:true},responseHeaders:{check:a,nullable:true,apply:b}},members:{__Ai:null,clone:function(e){var f=qx.event.type.Event.prototype.clone.call(this,e);f.setType(this.getType());f.setState(this.getState());f.setStatusCode(this.getStatusCode());f.setContent(this.getContent());f.setResponseHeaders(this.getResponseHeaders());return f;},getResponseHeader:function(g){if(this.__Ai){return this.__Ai[g.toLowerCase()]||null;};return null;},_applyResponseHeaders:function(i,h){var j={};if(i!==null){Object.keys(i).forEach(function(k){j[k.toLowerCase()]=i[k];});this.__Ai=j;};}}});})();(function(){var a="application/xml",b="Boolean",c="application/json",d="text/html",f="application/x-www-form-urlencoded",g="qx.io.remote.Exchange",h="GET",i="Pragma",j="aborted",k="Integer",l="X-Qooxdoo-Response-Type",m="HEAD",n="qx.io.remote.Request",o="no-url-params-on-post",p="failed",q="_applyResponseType",r="_applyState",s="qx.event.type.Event",t="queued",u="text/javascript",w="changeState",x="PUT",y="_applyProhibitCaching",z="String",A="",B="sending",C="nocache",D="completed",E="qx.io.remote.Response",F="_applyMethod",G="DELETE",H="POST",I="receiving",J="boolean",K="configured",L="no-cache",M="Aborting already sent request!",N="Cache-Control",O="Content-Type",P="timeout",Q="text/plain";qx.Class.define(n,{extend:qx.core.Object,construct:function(S,R,T){qx.core.Object.call(this);this.__yt={};this.__Aj={};this.__Ak={};this.__Al={};if(S!==undefined){this.setUrl(S);};if(R!==undefined){this.setMethod(R);};if(T!==undefined){this.setResponseType(T);};this.setProhibitCaching(true);this.__Am= ++qx.io.remote.Request.__Am;},events:{"created":s,"configured":s,"sending":s,"receiving":s,"completed":E,"aborted":s,"failed":E,"timeout":E},statics:{__Am:0,methodAllowsRequestBody:function(U){return (U==H)||(U==x);}},properties:{url:{check:z,init:A},method:{check:[h,H,x,m,G],apply:F,init:h},asynchronous:{check:b,init:true},data:{check:z,nullable:true},username:{check:z,nullable:true},password:{check:z,nullable:true},state:{check:[K,t,B,I,D,j,P,p],init:K,apply:r,event:w},responseType:{check:[Q,u,c,a,d],init:Q,apply:q},timeout:{check:k,nullable:true},prohibitCaching:{check:function(v){return typeof v==J||v===o;},init:true,apply:y},crossDomain:{check:b,init:false},fileUpload:{check:b,init:false},transport:{check:g,nullable:true},useBasicHttpAuth:{check:b,init:false},parseJson:{check:b,init:true}},members:{__yt:null,__Aj:null,__Ak:null,__Al:null,__Am:null,send:function(){qx.io.remote.RequestQueue.getInstance().add(this);},abort:function(){qx.io.remote.RequestQueue.getInstance().abort(this);},reset:function(){switch(this.getState()){case B:case I:this.error(M);case t:this.abort();break;};},isConfigured:function(){return this.getState()===K;},isQueued:function(){return this.getState()===t;},isSending:function(){return this.getState()===B;},isReceiving:function(){return this.getState()===I;},isCompleted:function(){return this.getState()===D;},isAborted:function(){return this.getState()===j;},isTimeout:function(){return this.getState()===P;},isFailed:function(){return this.getState()===p;},__An:qx.event.GlobalError.observeMethod(function(e){var V=e.clone();V.setTarget(this);this.dispatchEvent(V);}),_onqueued:function(e){this.setState(t);this.__An(e);},_onsending:function(e){this.setState(B);this.__An(e);},_onreceiving:function(e){this.setState(I);this.__An(e);},_oncompleted:function(e){this.setState(D);this.__An(e);this.dispose();},_onaborted:function(e){this.setState(j);this.__An(e);this.dispose();},_ontimeout:function(e){this.setState(P);this.__An(e);this.dispose();},_onfailed:function(e){this.setState(p);this.__An(e);this.dispose();},_applyState:function(X,W){{};},_applyProhibitCaching:function(ba,Y){if(!ba){this.removeParameter(C);this.removeRequestHeader(i);this.removeRequestHeader(N);return;};if(ba!==o||this.getMethod()!=H){this.setParameter(C,new Date().valueOf());}else {this.removeParameter(C);};this.setRequestHeader(i,L);this.setRequestHeader(N,L);},_applyMethod:function(bc,bb){if(qx.io.remote.Request.methodAllowsRequestBody(bc)){this.setRequestHeader(O,f);}else {this.removeRequestHeader(O);};var bd=this.getProhibitCaching();this._applyProhibitCaching(bd,bd);},_applyResponseType:function(bf,be){this.setRequestHeader(l,bf);},setRequestHeader:function(bg,bh){this.__yt[bg]=bh;},removeRequestHeader:function(bi){delete this.__yt[bi];},getRequestHeader:function(bj){return this.__yt[bj]||null;},getRequestHeaders:function(){return this.__yt;},setParameter:function(bl,bm,bk){if(bk){this.__Ak[bl]=bm;}else {this.__Aj[bl]=bm;};},removeParameter:function(bn,bo){if(bo){delete this.__Ak[bn];}else {delete this.__Aj[bn];};},getParameter:function(bp,bq){if(bq){return this.__Ak[bp]||null;}else {return this.__Aj[bp]||null;};},getParameters:function(br){return (br?this.__Ak:this.__Aj);},setFormField:function(bs,bt){this.__Al[bs]=bt;},removeFormField:function(bu){delete this.__Al[bu];},getFormField:function(bv){return this.__Al[bv]||null;},getFormFields:function(){return this.__Al;},getSequenceNumber:function(){return this.__Am;}},destruct:function(){this.setTransport(null);this.__yt=this.__Aj=this.__Ak=this.__Al=null;}});})();(function(){var a="_on",b="Boolean",c=" handler ",d="__Ao",f="ms",g="aborted",h="Integer",j=" threw an error: ",k="Timeout: transport ",l="singleton",m="interval",n="receiving",o="queued",p="io.maxrequests",q="_applyEnabled",r="sending",s="completed",t="ms > ",u="failed",v="_onaborted",w="__dE",x="Request ",y="qx.io.remote.RequestQueue",z="timeout";qx.Class.define(y,{type:l,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__el=[];this.__Ao=[];this.__Ap=0;this.__dE=new qx.event.Timer(500);this.__dE.addListener(m,this._oninterval,this);},properties:{enabled:{init:true,check:b,apply:q},maxTotalRequests:{check:h,nullable:true},maxConcurrentRequests:{check:h,init:qx.core.Environment.get(p)},defaultTimeout:{check:h,init:5000}},members:{__el:null,__Ao:null,__Ap:null,__dE:null,getRequestQueue:function(){return this.__el;},getActiveQueue:function(){return this.__Ao;},_debug:function(){{var A;};},_check:function(){this._debug();if(this.__Ao.length==0&&this.__el.length==0){this.__dE.stop();};if(!this.getEnabled()){return;};if(this.__el.length==0||(this.__el[0].isAsynchronous()&&this.__Ao.length>=this.getMaxConcurrentRequests())){return;};if(this.getMaxTotalRequests()!=null&&this.__Ap>=this.getMaxTotalRequests()){return;};var B=this.__el.shift();var C=new qx.io.remote.Exchange(B);this.__Ap++ ;this.__Ao.push(C);this._debug();C.addListener(r,this._onsending,this);C.addListener(n,this._onreceiving,this);C.addListener(s,this._oncompleted,this);C.addListener(g,this._oncompleted,this);C.addListener(z,this._oncompleted,this);C.addListener(u,this._oncompleted,this);C._start=(new Date).valueOf();C.send();if(this.__el.length>0){this._check();};},_remove:function(D){qx.lang.Array.remove(this.__Ao,D);D.dispose();this._check();},__Aq:0,_onsending:function(e){{};e.getTarget().getRequest()._onsending(e);},_onreceiving:function(e){e.getTarget().getRequest()._onreceiving(e);},_oncompleted:function(e){{};var E=e.getTarget().getRequest();var F=a+e.getType();this._remove(e.getTarget());try{if(E[F]){E[F](e);};}catch(G){this.error(x+E+c+F+j,G);try{if(E[v]){var event=qx.event.Registration.createEvent(g,qx.event.type.Event);E[v](event);};}catch(H){};};},_oninterval:function(e){var O=this.__Ao;if(O.length==0){this.__dE.stop();return;};var J=(new Date).valueOf();var M;var K;var N=this.getDefaultTimeout();var L;var I;for(var i=O.length-1;i>=0;i-- ){M=O[i];K=M.getRequest();if(K.isAsynchronous()){L=K.getTimeout();if(L==0){continue;};if(L==null){L=N;};I=J-M._start;if(I>L){this.warn(k+M.toHashCode());this.warn(I+t+L+f);M.timeout();};};};},_applyEnabled:function(Q,P){if(Q){this._check();};this.__dE.setEnabled(Q);},add:function(R){R.setState(o);if(R.isAsynchronous()){this.__el.push(R);}else {this.__el.unshift(R);};this._check();if(this.getEnabled()){this.__dE.start();};},abort:function(S){var T=S.getTransport();if(T){T.abort();}else if(qx.lang.Array.contains(this.__el,S)){qx.lang.Array.remove(this.__el,S);};}},destruct:function(){this._disposeArray(d);this._disposeObjects(w);this.__el=null;}});})();(function(){var a=")!",b=") does not match requested id ",c="Boolean",d="new Date(Date.UTC(",e="application/json",f=")",g="application/x-www-form-urlencoded",h="?instanceId=",j="Received id (",k="aborted",l="Integer",n="string",o="Object",p="qx.io.remote.Rpc",q="error",r=",",s="))",t=" error ",u='(',v="qx.event.type.Event",w="qx1",x="Local error ",y=": ",z="refreshSession",A="Application error ",B="Local time-out expired for ",C="",D="Transport error ",E=" (",F="(",G="TIMEOUT OCCURRED",H="/.qxrpc",I="completed",J="POST",K="failed",L="result",M="UNEXPECTED origin ",N="Error ",O="String",P=')',Q="Content-Type",R="2.0",S=".",T="timeout",U="Aborted ",V="Server error ",W="No data in response to ",X="id";qx.Class.define(p,{extend:qx.core.Object,construct:function(Y,ba){qx.core.Object.call(this);if(Y!==undefined){this.setUrl(Y);};if(ba!=null){this.setServiceName(ba);};if(qx.core.ServerSettings){this.__Ar=qx.core.ServerSettings.serverPathSuffix;};},events:{"completed":v,"aborted":v,"failed":v,"timeout":v},statics:{origin:{server:1,application:2,transport:3,local:4},localError:{timeout:1,abort:2,nodata:3},CONVERT_DATES:null,RESPONSE_JSON:null,makeServerURL:function(bb){var bc=null;if(qx.core.ServerSettings){bc=qx.core.ServerSettings.serverPathPrefix+H+qx.core.ServerSettings.serverPathSuffix;if(bb!=null){bc+=h+bb;};};return bc;}},properties:{timeout:{check:l,nullable:true},crossDomain:{check:c,init:false},url:{check:O,nullable:true},serviceName:{check:O,nullable:true},serverData:{check:o,nullable:true},username:{check:O,nullable:true},password:{check:O,nullable:true},useBasicHttpAuth:{check:c,nullable:true},protocol:{init:w,check:function(bd){return bd==w||bd==R;}}},members:{__As:null,__Ar:null,createRequest:function(){return new qx.io.remote.Request(this.getUrl(),J,e);},createRpcData:function(bj,bh,be,bg){var bi;var bf;if(this.getProtocol()==w){bi={"service":bh==z?null:this.getServiceName(),"method":bh,"id":bj,"params":be};if(bg){bi.server_data=bg;};}else {bf=this.getServiceName();if(bf&&bf!=C){bf+=S;}else {bf=C;};bi={"jsonrpc":R,"method":bf+bh,"id":bj,"params":be};};return bi;},_callInternal:function(args,callType,refreshSession){var self=this;var offset=(callType==0?0:1);var whichMethod=(refreshSession?z:args[offset]);var handler=args[0];var argsArray=[];var eventTarget=this;var protocol=this.getProtocol();for(var i=offset+1;i=0){var m=bx.match(/new Date\(Date.UTC\((\d+),(\d+),(\d+),(\d+),(\d+),(\d+),(\d+)\)\)/);return new Date(Date.UTC(m[1],m[2],m[3],m[4],m[5],m[6],m[7]));};};return bx;});}else {response=response&&response.length>0?eval(u+response+P):null;};}else {response=qx.lang.Json.parse(response);};};id=response[X];if(id!=this.getSequenceNumber()){this.warn(j+id+b+F+this.getSequenceNumber()+a);};var eventType=I;var exTest=response[q];if(exTest!=null){result=null;addToStringToObject(exTest);ex=exTest;eventType=K;}else {result=response[L];if(refreshSession){result=eval(F+result+f);var newSuffix=qx.core.ServerSettings.serverPathSuffix;if(self.__Ar!=newSuffix){self.__As=self.__Ar;self.__Ar=newSuffix;};self.setUrl(self.fixUrl(self.getUrl()));};};handleRequestFinished(eventType,eventTarget);});var replacer=null;if(this._isConvertDates()){replacer=function(bz,bA){bA=this[bz];if(qx.lang.Type.isDate(bA)){var by=bA.getUTCFullYear()+r+bA.getUTCMonth()+r+bA.getUTCDate()+r+bA.getUTCHours()+r+bA.getUTCMinutes()+r+bA.getUTCSeconds()+r+bA.getUTCMilliseconds();return d+by+s;};return bA;};};req.setData(qx.lang.Json.stringify(rpcData,replacer));req.setAsynchronous(callType>0);if(req.getCrossDomain()){req.setRequestHeader(Q,g);}else {req.setRequestHeader(Q,e);};req.setParseJson(false);req.send();if(callType==0){if(ex!=null){var error=new Error(ex.toString());error.rpcdetails=ex;throw error;};return result;}else {return req;};},fixUrl:function(bB){if(this.__As==null||this.__Ar==null||this.__As==C||this.__As==this.__Ar){return bB;};var bC=bB.indexOf(this.__As);if(bC==-1){return bB;};return (bB.substring(0,bC)+this.__Ar+bB.substring(bC+this.__As.length));},callSync:function(bD){return this._callInternal(arguments,0);},callAsync:function(bE,bF){return this._callInternal(arguments,1);},callAsyncListeners:function(bG,bH){return this._callInternal(arguments,2);},refreshSession:function(bJ){if(qx.core.ServerSettings&&qx.core.ServerSettings.serverPathSuffix){var bI=(new Date()).getTime()-qx.core.ServerSettings.lastSessionRefresh;if(bI/1000>(qx.core.ServerSettings.sessionTimeoutInSeconds-30)){this._callInternal([bJ],1,true);}else {bJ(true);};}else {bJ(false);};},_isConvertDates:function(){return !!(qx.io.remote.Rpc.CONVERT_DATES);},_isResponseJson:function(){return !!(qx.io.remote.Rpc.RESPONSE_JSON);},abort:function(bK){bK.abort();}}});})();(function(){var a="qx.io.remote.RpcError";qx.Class.define(a,{statics:{qx1:{origin:{Server:1,Application:2,Transport:3,Client:4},error:{server:{ScriptError:-1,Unknown:0,IllegalService:1,ServiceNotFound:2,ClassNotFound:3,MethodNotFound:4,ParameterMismatch:5,PermissionDenied:6}}},v2:{error:{ParseError:-32700,InvalidRequest:-32600,MethodNotFound:-32601,InvalidParams:-32602,InternalError:-32603,PermissionDenied:-32000}}}});})();(function(){var a="qx.io.request.authentication.IAuthentication";qx.Interface.define(a,{members:{getAuthHeaders:function(){}}});})();(function(){var a="qx.io.request.authentication.Basic",b=':',c="Authorization",d="Basic ";qx.Class.define(a,{extend:qx.core.Object,implement:qx.io.request.authentication.IAuthentication,construct:function(e,f){this.__At=qx.util.Base64.encode(e+b+f);},members:{__At:null,getAuthHeaders:function(){return [{key:c,value:d+this.__At}];}},destruct:function(){this.__At=null;}});})();(function(){var a='9',b='B',c='W',d='x',e='U',f='Q',g='z',h='L',j='',m='H',n='N',o='S',p='d',q='J',r='f',s='7',t='X',u='5',v='c',w='t',x='1',y='Z',z='o',A='p',B='m',C='v',D='i',E='r',F='3',G='D',H='=',I='F',J='k',K='y',L='8',M='C',N='T',O='utf',P='O',Q='P',R='M',S='V',T='I',U='R',V='g',W='e',X='a',Y='K',bB='Y',bC='b',bD='w',bx='u',by="qx.util.Base64",bz='4',bA='q',bH='/',bI='0',bJ='6',bP='l',bE='2',bF='G',bG='h',bv='E',bL='n',bw='s',bM='A',bN='j',bO="undefined",bK='+';qx.Class.define(by,{statics:{__Au:[bM,b,M,G,bv,I,bF,m,T,q,Y,h,R,n,P,Q,f,U,o,N,e,S,c,t,bB,y,X,bC,v,p,W,r,V,bG,D,bN,J,bP,B,bL,z,A,bA,E,bw,w,bx,C,bD,d,K,g,bI,x,bE,F,bz,u,bJ,s,L,a,bK,bH],encode:function(bW,bY){var bV;if(typeof bY==bO){var bS=document.characterSet||document.charset;bV=bS.toLowerCase().indexOf(O)!=-1;if(!bV&&window.btoa instanceof Function){return btoa(bW);};}else {bV=!bY;};var bT=H;var bR=this.__Au;var length=bW.length;var bX=[];var bU=[];var i=0;var bQ=this.__Av;while(i>2]);bU.push(bR[(bX[k]&3)<<4]);bU.push(bT+bT);break;};if(k+2===l){bU.push(bR[bX[k]>>2]);bU.push(bR[(bX[k]&3)<<4|bX[k+1]>>4]);bU.push(bR[(bX[k+1]&15)<<2]);bU.push(bT);break;};bU.push(bR[bX[k]>>2]);bU.push(bR[(bX[k]&3)<<4|bX[k+1]>>4]);bU.push(bR[(bX[k+1]&15)<<2|bX[k+2]>>6]);bU.push(bR[bX[k+2]&63]);};return bU.join(j);},__Av:function(cb,ca,cc){if(cb<128){ca.push(cb);return;};if(cb<256&&cc){ca.push(cb);return;};if(cb<2048){ca.push(192|cb>>6);ca.push(128|cb&63);return;};if(cb<65536){ca.push(224|cb>>12);ca.push(128|(cb>>6)&63);ca.push(128|cb&63);return;}else {ca.push(240|cb>>18);ca.push(128|(cb>>12)&63);ca.push(128|(cb>>6)&63);ca.push(128|cb&63);return;};},__Aw:function(cg,cj){var ch=j;var ci=[];if(cj){ci=cg;}else {for(var i=0;i>7===0){ci.push(ce);};if(ce>>5===6){var cd=cg[ ++i];ci.push(((ce&28)>>2)<<8|((ce&3)<<6)|cd&63);};if(ce>>4===14){var cf=[cg[ ++i],cg[ ++i]];ci.push((ce&15)<<12|((cf[0]&60)>>2)<<8|(cf[0]&3)<<6|(cf[1]&63));};if(ce>>3===30){var cf=[cg[ ++i],cg[ ++i],cg[ ++i]];ci.push((ce&7)<<18|(ce&48)<<16|(cf[0]&15)<<12|((cf[1]&60)>>2)<<8|(cf[1]&3)<<6|(cf[2]&63));};};};for(var i=0,l=ci.length;i>4;ck.push(cw);var cn=ct.charAt(i++ );if(cn!==H){var cq=cm.indexOf(cn);var cv=(cp&15)<<4|(cq&60)>>2;ck.push(cv);};cn=ct.charAt(i++ );if(cn!==H){var cx=cm.indexOf(cn);var cu=(cq&3)<<6|cx;ck.push(cu);};};return this.__Aw(ck,!cl);}}});})();(function(){var a=") already exists",b="Error",c="qx.io.rest.Resource",d="interval",f="qx.event.type.Rest",g="get",h="Method with name of action (",i="Success",j="undefined",k="success",l="error";qx.Class.define(c,{extend:qx.core.Object,construct:function(m){qx.core.Object.call(this);this.__Ax={};this.__Ay={};this.__Az={};this._resource=this._tailorResource(this._getResource());try{if(typeof m!==j){{};this.__AB(m);};}catch(e){this.dispose();throw e;};},events:{"success":f,"actionSuccess":f,"error":f,"actionError":f},statics:{POLL_THROTTLE_LIMIT:100,POLL_THROTTLE_COUNT:30,REQUIRED:true,placeholdersFromUrl:function(n){return qx.bom.rest.Resource.placeholdersFromUrl(n);}},members:{_resource:null,__Ax:null,__Ay:null,__Az:null,_getResource:function(o){return new qx.bom.rest.Resource(o);},_tailorResource:function(p){p.setRequestFactory(this._getRequest);p.setRequestHandler({onsuccess:{callback:function(r,q){return function(){var s=[r.getResponse(),null,false,r,q,r.getPhase()];this.fireEvent(q+i,qx.event.type.Rest,s);this.fireEvent(k,qx.event.type.Rest,s);};},context:this},onfail:{callback:function(u,t){return function(){var v=[u.getResponse(),null,false,u,t,u.getPhase()];this.fireEvent(t+b,qx.event.type.Rest,v);this.fireEvent(l,qx.event.type.Rest,v);};},context:this},onloadend:{callback:function(x,w){return function(){x.dispose();};},context:this}});return p;},configureRequest:function(y){this._resource.configureRequest(y);},_getRequest:function(){return new qx.io.request.Xhr();},map:function(z,B,A,C){this.__AA(z,B,A,C);this._resource.map(z,B,A,C);},__AA:function(E,G,D,F){this.__Az[E]=[G,D,F];if(E==g){this[E]=undefined;};if(typeof this[E]!==j&&this[E]!==null&&this[E].action!==true){throw new Error(h+E+a);};this.__AC(E+i);this.__AC(E+b);this[E]=qx.lang.Function.bind(function(){Array.prototype.unshift.call(arguments,E);return this.invoke.apply(this,arguments);},this);this[E].action=true;},invoke:function(H,I,J){var I=(I==null)?{}:I;this.__Az[H].params=I;return this._resource.invoke(H,I,J);},setBaseUrl:function(K){this._resource.setBaseUrl(K);},abort:function(L){this._resource.abort(L);},refresh:function(M){this._resource.refresh(M);},poll:function(R,N,Q,S){if(this.__Ay[R]){this.__Ay[R].dispose();};if(typeof Q==j){Q=this.__Az[R].params;};if(S){this.invoke(R,Q);};var P=function(){var U=this.getRequestsByAction(R),T=(U)?U[0]:null;if(!S&&!T){this.invoke(R,Q);return;};if(T&&(T.isDone()||T.isDisposed())){this.refresh(R);};};var O=this.__Ay[R]=new qx.event.Timer(N);O.addListener(d,P,this._resource);O.start();return O;},longPoll:function(ba){var W=this,Y,bb=0;function V(){var bc=Y&&((new Date())-Y)W._getThrottleCount()){{};return true;};};if(!bc){bb=0;};return false;};var X=this.__Ax[ba]=this.addListener(ba+i,function bd(){if(W.isDisposed()){return;};if(!V()){Y=new Date();W.refresh(ba);};});this.invoke(ba);return X;},_getRequestConfig:function(be,bf){return this._resource._getRequestConfig(be,bf);},_getThrottleLimit:function(){return qx.io.rest.Resource.POLL_THROTTLE_LIMIT;},_getThrottleCount:function(){return qx.io.rest.Resource.POLL_THROTTLE_COUNT;},__AB:function(bg){Object.keys(bg).forEach(function(bi){var bj=bg[bi],bl=bj.method,bh=bj.url,bk=bj.check;{};this.map(bi,bl,bh,bk);},this);},__AC:function(bm){if(!this.constructor.$$events){this.constructor.$$events={};};if(!this.constructor.$$events[bm]){this.constructor.$$events[bm]=f;};}},destruct:function(){var bn;if(this.__Ay){for(bn in this.__Ay){var bp=this.__Ay[bn];bp.stop();bp.dispose();};};if(this.__Ax){for(bn in this.__Ax){var bo=this.__Ax[bn];this.removeListenerById(bo);};};this._resource.destruct();this._resource=this.__Az=this.__Ay=this.__Ax=null;}});})();(function(){var a="Number",b="qx.io.request.AbstractRequest",c="qx.event.type.Rest",d="String";qx.Class.define(c,{extend:qx.event.type.Data,properties:{request:{check:b},action:{check:d},phase:{check:d},id:{check:a}},members:{init:function(j,e,g,f,h,i){qx.event.type.Data.prototype.init.call(this,j,e,g);this.setRequest(f);this.setAction(h);this.setPhase(i);this.setId(parseInt(f.toHashCode(),10));return this;},clone:function(k){var l=qx.event.type.Data.prototype.clone.call(this,k);l.setAction(this.getAction());l.setPhase(this.getPhase());l.setRequest(this.getRequest());return l;}}});})();(function(){var a="function",b="=?(\\w+)?}",c="' is invalid",d="loadEnd",f="Started",g="Parameter '",h="GET",i="sent",j="Method with name of action (",k="'",l="error",m="Content-Type",n="onreadystatechange",o="get",p="{",q="Sent",r="success",s=") doesn't support other HTTP methods than 'GET'",t=") already exists",u="Error",v="",w="qx.bom.rest.Resource",x="Request (",y="Missing parameter '",z="Success",A="readystatechange",B="started",C="fail",D="undefined",E="No route for action ";qx.Bootstrap.define(w,{extend:qx.event.Emitter,construct:function(F){this.__AD={};this.__Az={};this.__Ay={};this.__Ax={};try{if(typeof F!==D){{};this.__AB(F);};}catch(e){this.dispose();throw e;};},events:{"success":w,"actionSuccess":w,"error":w,"actionError":w,"sent":w,"actionSent":w,"started":w,"actionStarted":w},statics:{POLL_THROTTLE_LIMIT:100,POLL_THROTTLE_COUNT:30,REQUIRED:true,placeholdersFromUrl:function(G){var I=/\{(\w+)(=\w+)?\}/g,J,H=[];while((J=I.exec(G))){H.push(J[1]);};return H;}},members:{__AD:null,__Az:null,__AE:null,__Ay:null,__Ax:null,__AF:null,__AG:null,__AH:null,setRequestFactory:function(K){this.__AH=K;},setRequestHandler:function(L){this.__AG=L;},_getRequestHandler:function(){return (this.__AG===null)?{onsuccess:{callback:function(N,M){return function(){var O={"id":parseInt(N.toHashCode(),10),"response":N.getResponse(),"request":N,"action":M};this.emit(M+z,O);this.emit(r,O);};},context:this},onfail:{callback:function(Q,P){return function(){var R={"id":parseInt(Q.toHashCode(),10),"response":Q.getResponse(),"request":Q,"action":P};this.emit(P+u,R);this.emit(l,R);};},context:this},onloadend:{callback:function(T,S){return function(){window.setTimeout(function(){T.dispose();},0);};},context:this},onreadystatechange:{callback:function(V,U){return function(){if(V.getTransport().readyState===qx.bom.request.Xhr.HEADERS_RECEIVED){var W={"id":parseInt(V.toHashCode(),10),"request":V,"action":U};this.emit(U+q,W);this.emit(i,W);};if(V.getTransport().readyState===qx.bom.request.Xhr.OPENED){var X={"id":parseInt(V.toHashCode(),10),"request":V,"action":U};this.emit(U+f,X);this.emit(B,X);};};},context:this}}:this.__AG;},getRequestsByAction:function(Y){var ba=(this.__AD!==null&&Y in this.__AD);return ba?this.__AD[Y]:null;},configureRequest:function(bb){this.__AF=bb;},_getRequest:function(){return (this.__AH===null)?new qx.bom.request.SimpleXhr():this.__AH();},__AI:function(bc){var bd=this._getRequest();if(!qx.lang.Type.isArray(this.__AD[bc])){this.__AD[bc]=[];};this.__AD[bc].push(bd);return bd;},map:function(bf,bh,be,bg){this.__Az[bf]=[bh,be,bg];this.__AD[bf]=[];if(bf==o){this[bf]=undefined;};if(typeof this[bf]!==D&&this[bf]!==null&&this[bf].action!==true){throw new Error(j+bf+t);};this.__AC(bf+z);this.__AC(bf+u);this[bf]=qx.lang.Function.bind(function(){Array.prototype.unshift.call(arguments,bf);return this.invoke.apply(this,arguments);},this);this[bf].action=true;},invoke:function(bm,bk,bi){var bj=this.__AI(bm),bk=bk==null?{}:bk,bn=this._getRequestConfig(bm,bk);this.__Az[bm].params=bk;this.__AJ(bk,bn.check);this.__zH(bj,bn,bi);if(this.__AF){this.__AF.call(this,bj,bm,bk,bi);};this.__AK(bj,bn,bi);var bl=this._getRequestHandler();bj.addListenerOnce(r,bl.onsuccess.callback(bj,bm),bl.onsuccess.context);bj.addListenerOnce(C,bl.onfail.callback(bj,bm),bl.onfail.context);bj.addListenerOnce(d,bl.onloadend.callback(bj,bm),bl.onloadend.context);if(bl.hasOwnProperty(n)){bj.addListener(A,bl.onreadystatechange.callback(bj,bm),bl.onreadystatechange.context);};bj.send();return parseInt(bj.toHashCode(),10);},setBaseUrl:function(bo){this.__AE=bo;},__AJ:function(bp,bq){if(typeof bq!==D){{};Object.keys(bq).forEach(function(br){{};if(bq[br]===qx.bom.rest.Resource.REQUIRED&&typeof bp[br]===D){throw new Error(y+br+k);};if(!(bq[br]&&typeof bq[br].test==a)){return;};if(!bq[br].test(bp[br])){throw new Error(g+br+c);};});};},__zH:function(bt,bs,bu){bt.setUrl(bs.url);if(!bt.setMethod&&bs.method!==h){throw new Error(x+bt.classname+s);};if(bt.setMethod){bt.setMethod(bs.method);};if(bu){bt.setRequestData(bu);};},__AK:function(bx,bv,bw){if(bw){var by=bx.getRequestHeader(m);if(bx.getMethod&&qx.util.Request.methodAllowsRequestBody(bx.getMethod())){if(/application\/.*\+?json/.test(by)){bw=qx.lang.Json.stringify(bw);bx.setRequestData(bw);};};};},abort:function(bB){if(qx.lang.Type.isNumber(bB)){var bE=bB;var bD=qx.core.ObjectRegistry.getPostId();var bz=qx.core.ObjectRegistry.fromHashCode(bE+bD);if(bz){bz.abort();};}else {var bC=bB;var bA=this.__AD[bC];if(this.__AD[bC]){bA.forEach(function(bF){bF.abort();});};};},refresh:function(bG){this.invoke(bG,this.__Az[bG].params);},poll:function(bH,bJ,bK,bI){if(this.__Ay[bH]){this.stopPollByAction(bH);};if(typeof bK==D){bK=this.__Az[bH].params;};if(bI){this.invoke(bH,bK);};var bL=(function(bM){return function(){var bN=bM.__AD[bH][0];if(!bI&&!bN){bM.invoke(bH,bK);return;};if(bN.isDone()||bN.isDisposed()){bM.refresh(bH);};};})(this);this._startPoll(bH,bL,bJ);},_startPoll:function(bO,bP,bQ){this.__Ay[bO]={"id":window.setInterval(bP,bQ),"interval":bQ,"listener":bP};},stopPollByAction:function(bR){if(bR in this.__Ay){var bS=this.__Ay[bR].id;window.clearInterval(bS);};},restartPollByAction:function(bT){if(bT in this.__Ay){var bU=this.__Ay[bT];this.stopPollByAction(bT);this._startPoll(bT,bU.listener,bU.interval);};},longPoll:function(ca){var bW=this,bY,cb=0;function bV(){var cc=bY&&((new Date())-bY)bW._getThrottleCount()){{};return true;};};if(!cc){cb=0;};return false;};var bX=this.__Ax[ca]=this.addListener(ca+z,function cd(){if(bW.isDisposed()){return;};if(!bV()){bY=new Date();bW.refresh(ca);};});this.invoke(ca);return bX;},_getRequestConfig:function(ci,ch){var cf=this.__Az[ci];var ch=qx.lang.Object.clone(ch);if(!qx.lang.Type.isArray(cf)){throw new Error(E+ci);};var cg=cf[0],ce=this.__AE!==null?this.__AE+cf[1]:cf[1],ck=cf[2],cj=qx.bom.rest.Resource.placeholdersFromUrl(ce);ch=ch||{};cj.forEach(function(cn){var cl=new RegExp(p+cn+b),cm=ce.match(cl)[1];if(typeof ch[cn]===D){if(cm){ch[cn]=cm;}else {ch[cn]=v;};};ce=ce.replace(cl,ch[cn]);});return {method:cg,url:ce,check:ck};},_getThrottleLimit:function(){return qx.bom.rest.Resource.POLL_THROTTLE_LIMIT;},_getThrottleCount:function(){return qx.bom.rest.Resource.POLL_THROTTLE_COUNT;},__AB:function(co){Object.keys(co).forEach(function(cq){var cr=co[cq],ct=cr.method,cp=cr.url,cs=cr.check;{};this.map(cq,ct,cp,cs);},this);},__AC:function(cu){if(!this.constructor.$$events){this.constructor.$$events={};};if(!this.constructor.$$events[cu]){this.constructor.$$events[cu]=w;};},isDisposed:function(){return this.$$disposed||false;},dispose:function(){if(this.$$disposed){return;};this.$$disposed=true;{};this.destruct();{var cw,cx,cv,cy;};},destruct:function(){var cz;for(cz in this.__AD){if(this.__AD[cz]){this.__AD[cz].forEach(function(cB){cB.dispose();});};};if(this.__Ay){for(cz in this.__Ay){this.stopPollByAction(cz);};};if(this.__Ax){for(cz in this.__Ax){var cA=this.__Ax[cz];this.removeListenerById(cA);};};this.__AD=this.__Az=this.__Ay=null;}}});})();(function(){var a="error",b="",c="loadEnd",d="application/x-www-form-urlencoded",f="Cache-Control",g="Content-Type",h="fail",i="GET",j="success",k="undefined",l="POST",m="timeout",n="qx.bom.request.SimpleXhr",o="abort";qx.Bootstrap.define(n,{extend:qx.event.Emitter,construct:function(p,q){if(p!==undefined){this.setUrl(p);};this.useCaching(true);this.setMethod((q!==undefined)?q:i);this._transport=this._registerTransportListener(this._createTransport());qx.core.ObjectRegistry.register(this);this.__yt={};this.__yG=this._createResponseParser();},members:{setRequestHeader:function(r,s){this.__yt[r]=s;return this;},getRequestHeader:function(t){return this.__yt[t];},getResponseHeader:function(u){return this._transport.getResponseHeader(u);},getAllResponseHeaders:function(){return this._transport.getAllResponseHeaders();},setUrl:function(v){if(qx.lang.Type.isString(v)){this.__yM=v;};return this;},getUrl:function(){return this.__yM;},setMethod:function(w){if(qx.util.Request.isMethod(w)){this.__AL=w;};return this;},getMethod:function(){return this.__AL;},setRequestData:function(x){if(qx.lang.Type.isString(x)||qx.lang.Type.isObject(x)){this.__AM=x;};return this;},getRequestData:function(){return this.__AM;},getResponse:function(){if(this.__yA!==null){return this.__yA;}else {return (this._transport.responseXML!==null)?this._transport.responseXML:this._transport.responseText;};return null;},getTransport:function(){return this._transport;},setParser:function(y){return this.__yG.setParser(y);},setTimeout:function(z){if(qx.lang.Type.isNumber(z)){this.__es=z;};return this;},getTimeout:function(){return this.__es;},useCaching:function(A){if(qx.lang.Type.isBoolean(A)){this.__c=A;};return this;},isCaching:function(){return this.__c;},isDone:function(){return (this._transport.readyState===qx.bom.request.Xhr.DONE);},toHashCode:function(){return this.$$hash;},isDisposed:function(){return !!this.__yQ;},send:function(){var G=this.getTimeout(),D=(this.getRequestData()!==null),E=this.__yt.hasOwnProperty(f),B=qx.util.Request.methodAllowsRequestBody(this.getMethod()),H=this.getRequestHeader(g),C=this._serializeData(this.getRequestData(),H);if(this.getMethod()===i&&D){this.setUrl(qx.util.Uri.appendParamsToUrl(this.getUrl(),C));};if(this.isCaching()===false&&!E){this.setUrl(qx.util.Uri.appendParamsToUrl(this.getUrl(),{nocache:new Date().valueOf()}));};if(G){this._transport.timeout=G;};this._transport.open(this.getMethod(),this.getUrl(),true);for(var F in this.__yt){this._transport.setRequestHeader(F,this.__yt[F]);};if(!B){this._transport.send();}else {if(typeof H===k){this._transport.setRequestHeader(g,d);};this._transport.send(C);};},abort:function(){this._transport.abort();return this;},dispose:function(){if(this._transport.dispose()){this.__yG=null;this.__yQ=true;return true;};return false;},_transport:null,_createTransport:function(){return new qx.bom.request.Xhr();},_registerTransportListener:function(I){I.onreadystatechange=qx.lang.Function.bind(this._onReadyStateChange,this);I.onloadend=qx.lang.Function.bind(this._onLoadEnd,this);I.ontimeout=qx.lang.Function.bind(this._onTimeout,this);I.onerror=qx.lang.Function.bind(this._onError,this);I.onabort=qx.lang.Function.bind(this._onAbort,this);return I;},_createResponseParser:function(){return new qx.util.ResponseParser();},_setResponse:function(J){this.__yA=J;},_serializeData:function(N,M){var K=this.getMethod()===l,L=/application\/.*\+?json/.test(M);if(!N){return null;};if(qx.lang.Type.isString(N)){return N;};if(L&&(qx.lang.Type.isObject(N)||qx.lang.Type.isArray(N))){return qx.lang.Json.stringify(N);};if(qx.lang.Type.isObject(N)){return qx.util.Uri.toParameter(N,K);};return null;},__yt:null,__AM:null,__AL:b,__yM:b,__yA:null,__yG:null,__c:null,__es:null,__yQ:null,addListenerOnce:function(name,O,P){this.once(name,O,P);return this;},addListener:function(name,Q,R){this._transport._emitter.on(name,Q,R);return this;},_onReadyStateChange:function(){{};if(this.isDone()){this.__yF();};},__yF:function(){{};var T=this._transport.responseText;var S=this._transport.getResponseHeader(g);if(qx.util.Request.isSuccessful(this._transport.status)){{};this._setResponse(this.__yG.parse(T,S));this.emit(j);}else {try{this._setResponse(this.__yG.parse(T,S));}catch(e){};if(this._transport.status!==0){this.emit(h);};};},_onLoadEnd:function(){this.emit(c);},_onAbort:function(){this.emit(o);},_onTimeout:function(){this.emit(m);this.emit(h);},_onError:function(){this.emit(a);this.emit(h);}}});})();(function(){var a="base.theme.Appearance";qx.Theme.define(a,{extend:qx.theme.simple.Appearance,appearances:{}});})();(function(){var a="base.theme.Color";qx.Theme.define(a,{extend:qx.theme.simple.Color,colors:{}});})();(function(){var a="base.theme.Font";qx.Theme.define(a,{extend:qx.theme.simple.Font,fonts:{}});})();(function(){var a="base.theme.Decoration";qx.Theme.define(a,{extend:qx.theme.simple.Decoration,decorations:{}});})();(function(){var a="base.theme.Theme";qx.Theme.define(a,{meta:{color:base.theme.Color,decoration:base.theme.Decoration,font:base.theme.Font,icon:qx.theme.icon.Oxygen,appearance:base.theme.Appearance}});})();
+(function(){var b=".prototype",c="function",d="Boolean",e="Error",f="Object.keys requires an object as argument.",g="constructor",h="warn",j="default",k="Null",m="hasOwnProperty",n="Undefined",o="string",p="Object",q="toLocaleString",r="error",s="toString",t="qx.debug",u="()",v="RegExp",w="String",x="info",y="BROKEN_IE",z="isPrototypeOf",A="Date",B="",C="qx.Bootstrap",D="Function",E="]",F="Cannot call super class. Method is not derived: ",G="Array",H="[Class ",I="valueOf",J="Number",K="Class",L="debug",M="ES5",N=".",O="propertyIsEnumerable",P="object";if(!window.qx){window.qx={};};qx.Bootstrap={genericToString:function(){return H+this.classname+E;},createNamespace:function(name,Q){var T=name.split(N);var S=T[0];var parent=qx.$$namespaceRoot&&qx.$$namespaceRoot[S]?qx.$$namespaceRoot:window;for(var i=0,R=T.length-1;i-1){var C=A.slice(0,E);var z=A.slice(E+1);var B=qx.Bootstrap.getByName(C);if(B!=undefined){return [B,z];};};};return [undefined,undefined];},getAsync:function(H,K,self){var L=this;if(this.__c[H]!=undefined){window.setTimeout(function(){K.call(self,L.__c[H]);},0);return;};var I=this._asyncChecks[H];if(I){I(function(N){L.__c[H]=N;K.call(self,N);});return;};var G=this._getClassNameFromEnvKey(H);if(G[0]!=undefined){var J=G[0];var M=G[1];J[M](function(O){L.__c[H]=O;K.call(self,O);});return;};if(qx.Bootstrap.DEBUG){qx.Bootstrap.warn(H+r+h);qx.Bootstrap.trace(this);};},select:function(Q,P){return this.__d(this.get(Q),P);},selectAsync:function(S,R,self){this.getAsync(S,function(T){var U=this.__d(S,R);U.call(self,T);},this);},__d:function(Y,X){var W=X[Y];if(X.hasOwnProperty(Y)){return W;};for(var ba in X){if(ba.indexOf(g)!=-1){var V=ba.split(g);for(var i=0;i=0;i-- ){if(this[i]===r){return i;};};return -1;},forEach:function(t,u){var l=this.length;for(var i=0;i=0;i-- ){if(i in this){P=N.call(undefined,P,this[i],i,this);};};return P;}},defer:function(Q){if(!qx.core.Environment.get(g)){Array.prototype.indexOf=Q.indexOf;};if(!qx.core.Environment.get(b)){Array.prototype.lastIndexOf=Q.lastIndexOf;};if(!qx.core.Environment.get(k)){Array.prototype.forEach=Q.forEach;};if(!qx.core.Environment.get(d)){Array.prototype.filter=Q.filter;};if(!qx.core.Environment.get(c)){Array.prototype.map=Q.map;};if(!qx.core.Environment.get(n)){Array.prototype.some=Q.some;};if(!qx.core.Environment.get(o)){Array.prototype.every=Q.every;};if(!qx.core.Environment.get(j)){Array.prototype.reduce=Q.reduce;};if(!qx.core.Environment.get(m)){Array.prototype.reduceRight=Q.reduceRight;};}});})();(function(){var b='!==inherit){',c='qx.lang.Type.isString(value) && qx.util.ColorUtil.isValidPropertyValue(value)',d='value !== null && qx.theme.manager.Font.getInstance().isDynamic(value)',e="set",f=';',g="resetThemed",h='value !== null && value.nodeType === 9 && value.documentElement',j='===value)return value;',k='value !== null && value.$$type === "Mixin"',m='return init;',n='var init=this.',o='value !== null && value.nodeType === 1 && value.attributes',p="var parent = this.getLayoutParent();",q="Error in property ",r='var a=this._getChildren();if(a)for(var i=0,l=a.length;i=1;i-- ){var I=J[i];var parent=J[i-1];if(qx.Bootstrap.isFunction(I)||qx.Bootstrap.objectGetLength(I)===0){delete parent[K[i-1]];}else {break;};};},isDefined:qx.util.OOUtil.classIsDefined,getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry);},getByName:qx.Bootstrap.getByName,include:function(M,L){{};qx.Class.__X(M,L,false);},patch:function(O,N){{};qx.Class.__X(O,N,true);},isSubClassOf:function(Q,P){if(!Q){return false;};if(Q==P){return true;};if(Q.prototype instanceof P){return true;};return false;},getPropertyDefinition:qx.util.OOUtil.getPropertyDefinition,getProperties:function(S){var R=[];while(S){if(S.$$properties){R.push.apply(R,Object.keys(S.$$properties));};S=S.superclass;};return R;},getByProperty:function(T,name){while(T){if(T.$$properties&&T.$$properties[name]){return T;};T=T.superclass;};return null;},hasProperty:qx.util.OOUtil.hasProperty,getEventType:qx.util.OOUtil.getEventType,supportsEvent:qx.util.OOUtil.supportsEvent,hasOwnMixin:function(V,U){return V.$$includes&&V.$$includes.indexOf(U)!==-1;},getByMixin:function(Y,X){var W,i,l;while(Y){if(Y.$$includes){W=Y.$$flatIncludes;for(i=0,l=W.length;i0:false;};if(!bl){this.__bi(br.targetObject,br.targetPropertyChain,br.options.converter());}else {this.__bh(br.targetObject,br.targetPropertyChain);};}else {this.__bh(br.targetObject,br.targetPropertyChain);};break;};if(j==br.propertyNames.length-1){if(qx.Class.implementsInterface(bp,qx.data.IListData)){var bt=br.arrayIndexValues[j]===N?bp.length-1:br.arrayIndexValues[j];var bm=bp.getItem(bt);this.__bm(bm,br.targetObject,br.targetPropertyChain,br.options,br.sources[br.index]);br.listenerIds[j]=this.__bo(bp,s,br.targetObject,br.targetPropertyChain,br.options,br.arrayIndexValues[j]);}else {if(br.propertyNames[j]!=null&&bp[u+qx.lang.String.firstUp(br.propertyNames[j])]!=null){var bm=bp[u+qx.lang.String.firstUp(br.propertyNames[j])]();this.__bm(bm,br.targetObject,br.targetPropertyChain,br.options,br.sources[br.index]);};var bn=this.__bg(bp,br.propertyNames[j]);if(!bn){this.__bh(br.targetObject,br.targetPropertyChain);break;};br.listenerIds[j]=this.__bo(bp,bn,br.targetObject,br.targetPropertyChain,br.options);};}else {if(br.listeners[j]==null){var bo=qx.lang.Function.bind(this.__be,this,br);br.listeners.push(bo);};if(qx.Class.implementsInterface(bp,qx.data.IListData)){var bn=s;}else {var bn=this.__bg(bp,br.propertyNames[j]);};if(!bn){this.__bh(br.targetObject,br.targetPropertyChain);return;};br.listenerIds[j]=bp.addListener(bn,br.listeners[j]);};};},__bf:function(bw,bE,bI,bA,bC){var bz=bA.split(D);var bx=this.__bn(bz);var bH=[];var bG=[];var bB=[];var bF=[];var by=bI;for(var i=0;icP){return;};}else {var cS=e.getData();};{};cS=qx.data.SingleValueBinding.__bq(cS,cO,cM,cK,cG);{};try{if(cS!==undefined){qx.data.SingleValueBinding.__bi(cO,cM,cS);}else {qx.data.SingleValueBinding.__bh(cO,cM);};if(cK&&cK.onUpdate){cK.onUpdate(cG,cO,cS);};}catch(cT){if(!(cT instanceof qx.core.ValidationError)){throw cT;};if(cK&&cK.onSetFail){cK.onSetFail(cT);}else {qx.log.Logger.warn(r+cS+H+cO+a+cT);};};};if(!cI){cI=z;};cL=qx.lang.Function.bind(cL,cG,cI);var cN=cG.addListener(cJ,cL);return cN;},__bp:function(da,cU,cX,db,cY){var cV;cV=cU.toHashCode();if(this.__bc[cV]===undefined){this.__bc[cV]=[];};var cW=[da,cU,cX,db,cY];this.__bc[cV].push(cW);cV=db.toHashCode();if(this.__bd[cV]===undefined){this.__bd[cV]=[];};this.__bd[cV].push(cW);},__bq:function(df,dl,de,dh,dc){if(dh&&dh.converter){var di;if(dl.getModel){di=dl.getModel();};return dh.converter(df,di,dc,dl);}else {var dg=this.__bk(de);var dd=this.__bl(dl,dg);var dm=de.substring(de.lastIndexOf(D)+1,de.length);if(dd==null){return df;};var dj=qx.Class.getPropertyDefinition(dd.constructor,dm);var dk=dj==null?z:dj.check;return this.__bs(df,dk);};},__br:function(dn,dq){var dp=qx.Class.getPropertyDefinition(dn.constructor,dq);if(dp==null){return null;};return dp.event;},__bs:function(dt,ds){var dr=qx.lang.Type.getClass(dt);if((dr==J||dr==x)&&(ds==l||ds==E)){dt=parseInt(dt,10);};if((dr==b||dr==J||dr==L)&&ds==x){dt=dt+z;};if((dr==J||dr==x)&&(ds==J||ds==A)){dt=parseFloat(dt);};return dt;},removeBindingFromObject:function(du,dy){if(dy.type==f){for(var i=0;i=0;i-- ){this.removeBindingFromObject(dA,dz[i][0]);};};},removeRelatedBindings:function(dC,dD){{};var dF=this.getAllBindingsForObject(dC);if(dF!=undefined){for(var i=dF.length-1;i>=0;i-- ){var dE=dF[i][1];var dB=dF[i][3];if(dE===dD||dB===dD){this.removeBindingFromObject(dC,dF[i][0]);};};};},getAllBindingsForObject:function(dH){var dI=dH.toHashCode();if(this.__bc[dI]===undefined){this.__bc[dI]=[];};var dJ=this.__bc[dI];var dG=this.__bd[dI]?this.__bd[dI]:[];return qx.lang.Array.unique(dJ.concat(dG));},removeAllBindings:function(){for(var dL in this.__bc){var dK=qx.core.ObjectRegistry.fromHashCode(dL);if(dK==null){delete this.__bc[dL];continue;};this.removeAllBindingsForObject(dK);};this.__bc={};},getAllBindings:function(){return this.__bc;},showBindingInLog:function(dN,dP){var dO;for(var i=0;ithis.__bu){f=this.__bu;};if(j&&this.__bv&&(f>this.__bw)){f=this.__bw;};if(f>0){var h=this.__bz(this.__bt,-1);var g=this.__bz(h,-f+1);var i;if(g<=h){i=this.__bx.slice(g,h+1);}else {i=this.__bx.slice(g,this.__bu).concat(this.__bx.slice(0,h+1));};}else {i=[];};return i;},clear:function(){this.__bx=new Array(this.getMaxEntries());this.__bu=0;this.__bw=0;this.__bt=0;},__bz:function(n,l){var k=this.getMaxEntries();var m=(n+l)%k;if(m<0){m+=k;};return m;}}});})();(function(){var a="qx.log.appender.RingBuffer";qx.Bootstrap.define(a,{extend:qx.util.RingBuffer,construct:function(b){this.setMaxMessages(b||50);},members:{setMaxMessages:function(c){this.setMaxEntries(c);},getMaxMessages:function(){return this.getMaxEntries();},process:function(d){this.addEntry(d);},getAllLogEvents:function(){return this.getAllEntries();},retrieveLogEvents:function(e,f){return this.getEntries(e,f);},clearHistory:function(){this.clear();}}});})();(function(){var a="qx.lang.Type",b="Error",c="RegExp",d="Date",e="Number",f="Boolean";qx.Bootstrap.define(a,{statics:{getClass:qx.Bootstrap.getClass,isString:qx.Bootstrap.isString,isArray:qx.Bootstrap.isArray,isObject:qx.Bootstrap.isObject,isFunction:qx.Bootstrap.isFunction,isRegExp:function(g){return this.getClass(g)==c;},isNumber:function(h){return (h!==null&&(this.getClass(h)==e||h instanceof Number));},isBoolean:function(i){return (i!==null&&(this.getClass(i)==f||i instanceof Boolean));},isDate:function(j){return (j!==null&&(this.getClass(j)==d||j instanceof Date));},isError:function(k){return (k!==null&&(this.getClass(k)==b||k instanceof Error));}}});})();(function(){var a="mshtml",b="engine.name",c="[object Array]",d="qx.lang.Array",e="Cannot clean-up map entry doneObjects[",f="]",g="qx",h="number",j="][",k="string";qx.Bootstrap.define(d,{statics:{cast:function(m,o,p){if(m.constructor===o){return m;};if(qx.data&&qx.data.IListData){if(qx.Class&&qx.Class.hasInterface(m,qx.data.IListData)){var m=m.toArray();};};var n=new o;if((qx.core.Environment.get(b)==a)){if(m.item){for(var i=p||0,l=m.length;iX){X=W[i];};};return X===undefined?null:X;},min:function(ba){{};var i,bc=ba.length,bb=ba[0];for(i=1;i10){cn=bF+co.length+Y;}else if((co instanceof Object)&&(co.toString==null)){cn=qx.lang.Json.stringify(co,null,2);}else {try{cn=co.toString();}catch(e){cn=Q;};};return cn;},assert:function(cq,cp){cq==true||this.__bB(cp||Q,v);},fail:function(cr,cs){var ct=cs?Q:bS;this.__bB(cr||Q,ct);},assertTrue:function(cv,cu){(cv===true)||this.__bB(cu||Q,m,cv,x);},assertFalse:function(cx,cw){(cx===false)||this.__bB(cw||Q,W,cx,x);},assertEquals:function(cy,cz,cA){cy==cz||this.__bB(cA||Q,D,cy,z,cz,O);},assertNotEquals:function(cB,cC,cD){cB!=cC||this.__bB(cD||Q,D,cB,h,cC,O);},assertIdentical:function(cE,cF,cG){cE===cF||this.__bB(cG||Q,D,cE,T,cF,O);},assertNotIdentical:function(cH,cI,cJ){cH!==cI||this.__bB(cJ||Q,D,cH,bH,cI,O);},assertNotUndefined:function(cL,cK){cL!==undefined||this.__bB(cK||Q,J);},assertUndefined:function(cN,cM){cN===undefined||this.__bB(cM||Q,p,cN,I);},assertNotNull:function(cP,cO){cP!==null||this.__bB(cO||Q,bN);},assertNull:function(cR,cQ){cR===null||this.__bB(cQ||Q,t,cR,I);},assertJsonEquals:function(cS,cT,cU){this.assertEquals(qx.lang.Json.stringify(cS),qx.lang.Json.stringify(cT),cU);},assertMatch:function(cX,cW,cV){this.assertString(cX);this.assert(qx.lang.Type.isRegExp(cW)||qx.lang.Type.isString(cW),cf);cX.search(cW)>=0||this.__bB(cV||Q,E,cX,bG,cW.toString(),O);},assertArgumentsCount:function(db,dc,dd,cY){var da=db.length;(da>=dc&&da<=dd)||this.__bB(cY||Q,cd,dc,j,dd,bP,da,bK);},assertEventFired:function(de,event,dh,di,dj){var df=false;var dg=function(e){if(di){di.call(de,e);};df=true;};var dk;try{dk=de.addListener(event,dg,de);dh.call(de);}catch(dl){throw dl;}finally{try{de.removeListenerById(dk);}catch(dm){};};df===true||this.__bB(dj||Q,G,event,N);},assertEventNotFired:function(dn,event,dr,ds){var dp=false;var dq=function(e){dp=true;};var dt=dn.addListener(event,dq,dn);dr.call();dp===false||this.__bB(ds||Q,G,event,f);dn.removeListenerById(dt);},assertException:function(dx,dw,dv,du){var dw=dw||Error;var dy;try{this.__bA=false;dx();}catch(dz){dy=dz;}finally{this.__bA=true;};if(dy==null){this.__bB(du||Q,o);};dy instanceof dw||this.__bB(du||Q,M,dw,a,dy);if(dv){this.assertMatch(dy.toString(),dv,du);};},assertInArray:function(dC,dB,dA){dB.indexOf(dC)!==-1||this.__bB(dA||Q,bU,dC,U,dB,x);},assertArrayEquals:function(dD,dE,dF){this.assertArray(dD,dF);this.assertArray(dE,dF);dF=dF||bI+dD.join(bR)+cc+dE.join(bR)+Y;if(dD.length!==dE.length){this.fail(dF,true);};for(var i=0;i=0)||this.__bB(dR||Q,bY,dS,I);},assertInteger:function(dU,dT){(qx.lang.Type.isNumber(dU)&&isFinite(dU)&&dU%1===0)||this.__bB(dT||Q,cb,dU,I);},assertPositiveInteger:function(dX,dV){var dW=(qx.lang.Type.isNumber(dX)&&isFinite(dX)&&dX%1===0&&dX>=0);dW||this.__bB(dV||Q,g,dX,I);},assertInRange:function(eb,ec,ea,dY){(eb>=ec&&eb<=ea)||this.__bB(dY||Q,qx.lang.String.format(bL,[eb,ec,ea]));},assertObject:function(ee,ed){var ef=ee!==null&&(qx.lang.Type.isObject(ee)||typeof ee===ce);ef||this.__bB(ed||Q,R,(ee),I);},assertArray:function(eh,eg){qx.lang.Type.isArray(eh)||this.__bB(eg||Q,c,eh,I);},assertMap:function(ej,ei){qx.lang.Type.isObject(ej)||this.__bB(ei||Q,n,ej,I);},assertRegExp:function(el,ek){qx.lang.Type.isRegExp(el)||this.__bB(ek||Q,r,el,I);},assertType:function(eo,en,em){this.assertString(en,u);typeof (eo)===en||this.__bB(em||Q,bE,en,S,eo,I);},assertInstance:function(er,es,ep){var eq=es.classname||es+Q;er instanceof es||this.__bB(ep||Q,ca,eq,S,er,I);},assertInterface:function(ev,eu,et){qx.Class&&qx.Class.implementsInterface(ev,eu)||this.__bB(et||Q,k,ev,s,eu,O);},assertCssColor:function(eC,ez,eB){var ew=qx.Class?qx.Class.getByName(K):null;if(!ew){throw new Error(bX);};var ey=ew.stringToRgb(eC);try{var eA=ew.stringToRgb(ez);}catch(eE){this.__bB(eB||Q,H,eC,d,ey.join(B),bT,ez,bQ);};var eD=ey[0]==eA[0]&&ey[1]==eA[1]&&ey[2]==eA[2];eD||this.__bB(eB||Q,H,ey,d,ey.join(B),bT,ez,d,eA.join(B),bO);},assertElement:function(eG,eF){!!(eG&&eG.nodeType===1)||this.__bB(eF||Q,q,eG,O);},assertQxObject:function(eI,eH){this.__bD(eI,b)||this.__bB(eH||Q,bJ,eI,I);},assertQxWidget:function(eK,eJ){this.__bD(eK,X)||this.__bB(eJ||Q,bD,eK,I);},__bD:function(eM,eL){if(!eM){return false;};var eN=eM.constructor;while(eN){if(eN.classname===eL){return true;};eN=eN.superclass;};return false;}}});})();(function(){var a="-",b="]",c='\\u',d="undefined",e="",f='\\$1',g="0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",h="\\\\",j='-',k="g",l="\\\"",m="qx.lang.String",n="(^|[^",o="0",p="%",q='"',r=' ',s='\n',t="])[";qx.Bootstrap.define(m,{statics:{__bE:g,__bF:null,__bG:{},camelCase:function(v){var u=this.__bG[v];if(!u){u=v.replace(/\-([a-z])/g,function(x,w){return w.toUpperCase();});if(v.indexOf(a)>=0){this.__bG[v]=u;};};return u;},hyphenate:function(z){var y=this.__bG[z];if(!y){y=z.replace(/[A-Z]/g,function(A){return (j+A.charAt(0).toLowerCase());});if(z.indexOf(a)==-1){this.__bG[z]=y;};};return y;},capitalize:function(C){if(this.__bF===null){var B=c;this.__bF=new RegExp(n+this.__bE.replace(/[0-9A-F]{4}/g,function(D){return B+D;})+t+this.__bE.replace(/[0-9A-F]{4}/g,function(E){return B+E;})+b,k);};return C.replace(this.__bF,function(F){return F.toUpperCase();});},clean:function(G){return G.replace(/\s+/g,r).trim();},trimLeft:function(H){return H.replace(/^\s+/,e);},trimRight:function(I){return I.replace(/\s+$/,e);},startsWith:function(K,J){return K.indexOf(J)===0;},endsWith:function(M,L){return M.substring(M.length-L.length,M.length)===L;},repeat:function(N,O){return N.length>0?new Array(O+1).join(N):e;},pad:function(Q,length,P){var R=length-Q.length;if(R>0){if(typeof P===d){P=o;};return this.repeat(P,R)+Q;}else {return Q;};},firstUp:qx.Bootstrap.firstUp,firstLow:qx.Bootstrap.firstLow,contains:function(T,S){return T.indexOf(S)!=-1;},format:function(U,V){var W=U;var i=V.length;while(i-- ){W=W.replace(new RegExp(p+(i+1),k),function(){return V[i]+e;});};return W;},escapeRegexpChars:function(X){return X.replace(/([.*+?^${}()|[\]\/\\])/g,f);},toArray:function(Y){return Y.split(/\B|\b/g);},stripTags:function(ba){return ba.replace(/<\/?[^>]+>/gi,e);},stripScripts:function(bd,bc){var be=e;var bb=bd.replace(/]*>([\s\S]*?)<\/script>/gi,function(){be+=arguments[1]+s;return e;});if(bc===true){qx.lang.Function.globalEval(be);};return bb;},quote:function(bf){return q+bf.replace(/\\/g,h).replace(/\"/g,l)+q;}}});})();(function(){var a='anonymous()',b="()",c="qx.globalErrorHandling",d="qx.lang.Function",e=".",f=".prototype.",g=".constructor()";qx.Bootstrap.define(d,{statics:{getCaller:function(h){return h.caller?h.caller.callee:h.callee.caller;},getName:function(i){if(i.displayName){return i.displayName;};if(i.$$original||i.wrapper||i.classname){return i.classname+g;};if(i.$$mixin){for(var j in i.$$mixin.$$members){if(i.$$mixin.$$members[j]==i){return i.$$mixin.name+f+j+b;};};for(var j in i.$$mixin){if(i.$$mixin[j]==i){return i.$$mixin.name+e+j+b;};};};if(i.self){var l=i.self.constructor;if(l){for(var j in l.prototype){if(l.prototype[j]==i){return l.classname+f+j+b;};};for(var j in l){if(l[j]==i){return l.classname+e+j+b;};};};};var k=i.toString().match(/function\s*(\w*)\s*\(.*/);if(k&&k.length>=1&&k[1]){return k[1]+b;};return a;},globalEval:function(data){if(window.execScript){return window.execScript(data);}else {return eval.call(window,data);};},create:function(n,m){{};if(!m){return n;};if(!(m.self||m.args||m.delay!=null||m.periodical!=null||m.attempt)){return n;};return function(event){{};var p=qx.lang.Array.fromArguments(arguments);if(m.args){p=m.args.concat(p);};if(m.delay||m.periodical){var o=function(){return n.apply(m.self||this,p);};if(qx.core.Environment.get(c)){o=qx.event.GlobalError.observeMethod(o);};if(m.delay){return window.setTimeout(o,m.delay);};if(m.periodical){return window.setInterval(o,m.periodical);};}else if(m.attempt){var q=false;try{q=n.apply(m.self||this,p);}catch(r){};return q;}else {return n.apply(m.self||this,p);};};},bind:function(s,self,t){return this.create(s,{self:self,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null});},curry:function(u,v){return this.create(u,{args:arguments.length>1?qx.lang.Array.fromArguments(arguments,1):null});},listener:function(x,self,y){if(arguments.length<3){return function(event){return x.call(self||this,event||window.event);};}else {var w=qx.lang.Array.fromArguments(arguments,2);return function(event){var z=[event||window.event];z.push.apply(z,w);x.apply(self||this,z);};};},attempt:function(A,self,B){return this.create(A,{self:self,attempt:true,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null})();},delay:function(D,C,self,E){return this.create(D,{delay:C,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();},periodical:function(G,F,self,H){return this.create(G,{periodical:F,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();}}});})();(function(){var a="qx.globalErrorHandling",b="qx.event.GlobalError";qx.Bootstrap.define(b,{statics:{__bH:null,__bI:null,__bJ:null,__bK:function(){if(qx.core&&qx.core.Environment){return qx.core.Environment.get(a);}else {return !!qx.Bootstrap.getEnvironmentSetting(a);};},setErrorHandler:function(c,d){this.__bH=c||null;this.__bJ=d||window;if(this.__bK()){if(c&&window.onerror){var e=qx.Bootstrap.bind(this.__bL,this);if(this.__bI==null){this.__bI=window.onerror;};var self=this;window.onerror=function(f,g,h){self.__bI(f,g,h);e(f,g,h);};};if(c&&!window.onerror){window.onerror=qx.Bootstrap.bind(this.__bL,this);};if(this.__bH==null){if(this.__bI!=null){window.onerror=this.__bI;this.__bI=null;}else {window.onerror=null;};};};},__bL:function(i,j,k){if(this.__bH){this.handleError(new qx.core.WindowError(i,j,k));};},observeMethod:function(l){if(this.__bK()){var self=this;return function(){if(!self.__bH){return l.apply(this,arguments);};try{return l.apply(this,arguments);}catch(m){self.handleError(new qx.core.GlobalError(m,arguments));};};}else {return l;};},handleError:function(n){if(this.__bH){this.__bH.call(this.__bJ,n);};}},defer:function(o){if(qx.core&&qx.core.Environment){qx.core.Environment.add(a,true);}else {qx.Bootstrap.setEnvironmentSetting(a,true);};o.setErrorHandler(null,null);}});})();(function(){var a="",b="qx.core.WindowError";qx.Bootstrap.define(b,{extend:Error,construct:function(c,e,f){var d=Error.call(this,c);if(d.stack){this.stack=d.stack;};if(d.stacktrace){this.stacktrace=d.stacktrace;};this.__bM=c;this.__bN=e||a;this.__bO=f===undefined?-1:f;},members:{__bM:null,__bN:null,__bO:null,toString:function(){return this.__bM;},getUri:function(){return this.__bN;},getLineNumber:function(){return this.__bO;}}});})();(function(){var a="GlobalError: ",b="qx.core.GlobalError";qx.Bootstrap.define(b,{extend:Error,construct:function(e,c){if(qx.Bootstrap.DEBUG){qx.core.Assert.assertNotUndefined(e);};this.__bM=a+(e&&e.message?e.message:e);var d=Error.call(this,this.__bM);if(d.stack){this.stack=d.stack;};if(d.stacktrace){this.stacktrace=d.stacktrace;};this.__bP=c;this.__bQ=e;},members:{__bQ:null,__bP:null,__bM:null,toString:function(){return this.__bM;},getArguments:function(){return this.__bP;},getSourceException:function(){return this.__bQ;}},destruct:function(){this.__bQ=null;this.__bP=null;this.__bM=null;}});})();(function(){var a="\x00\b\n\f\r\t",b="-",c="function",d="[null,null,null]",e="T",f="+",g=",\n",h="constructor",i="{\n",j='"+275760-09-13T00:00:00.000Z"',k="true",l="\\n",m="false",n='"-271821-04-20T00:00:00.000Z"',o="json",p='object',q='""',r="qx.lang.Json",s="{}",t="hasOwnProperty",u="@",v="prototype",w='hasOwnProperty',x='"',y="toLocaleString",z="0",A='function',B="",C='\\"',D="\t",E="string",F="}",G="\r",H="toJSON",I=":",J="[\n 1,\n 2\n]",K="\\f",L='"1969-12-31T23:59:59.999Z"',M="/",N="\\b",O="Z",P="\\t",Q="\b",R="[object Number]",S="isPrototypeOf",T="{",U="toString",V="0x",W="[1]",X="\\r",Y="]",bO=",",bP="null",bQ="\\u00",bK="\n",bL="json-stringify",bM="[]",bN="1",bU="000000",bV="[object Boolean]",bW="valueOf",cm="\\\\",bR="[object String]",bS="json-parse",bT="bug-string-char-index",bG="[object Array]",ca="$",bJ="[\n",cb='"-000001-01-01T00:00:00.000Z"',cc="[",bI="[null]",bX="\\",cl="[object Date]",bY='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}',cd="a",ce=" ",cf=".",ci="[object Function]",cj="01",ck='"\t"',bH="propertyIsEnumerable",cg="\f",ch="object";qx.Bootstrap.define(r,{statics:{stringify:null,parse:null}});(function(){var co;var cn;var cp;(function(window){var cr={}.toString,cG,cQ,cC;var cy=typeof cp===c&&cp.amd,cx=typeof cn==ch&&cn;if(cx||cy){if(typeof JSON==ch&&JSON){if(cx){cx.stringify=JSON.stringify;cx.parse=JSON.parse;}else {cx=JSON;};}else if(cy){cx=window.JSON={};};}else {cx=window.JSON||(window.JSON={});};var cU=new Date(-3509827334573292);try{cU=cU.getUTCFullYear()==-109252&&cU.getUTCMonth()===0&&cU.getUTCDate()===1&&cU.getUTCHours()==10&&cU.getUTCMinutes()==37&&cU.getUTCSeconds()==6&&cU.getUTCMilliseconds()==708;}catch(da){};function cJ(name){if(name==bT){return cd[0]!=cd;};var de,dd=bY,dh=name==o;if(dh||name==bL||name==bS){if(name==bL||dh){var db=cx.stringify,dg=typeof db==c&&cU;if(dg){(de=function(){return 1;}).toJSON=de;try{dg=db(0)===z&&db(new Number())===z&&db(new String())==q&&db(cr)===cC&&db(cC)===cC&&db()===cC&&db(de)===bN&&db([de])==W&&db([cC])==bI&&db(null)==bP&&db([cC,cr,null])==d&&db({"a":[de,true,false,null,a]})==dd&&db(null,de)===bN&&db([1,2],null,1)==J&&db(new Date(-8.64e15))==n&&db(new Date(8.64e15))==j&&db(new Date(-621987552e5))==cb&&db(new Date(-1))==L;}catch(di){dg=false;};};if(!dh){return dg;};};if(name==bS||dh){var df=cx.parse;if(typeof df==c){try{if(df(z)===0&&!df(false)){de=df(dd);var dc=de[cd].length==5&&de[cd][0]===1;if(dc){try{dc=!df(ck);}catch(dj){};if(dc){try{dc=df(cj)!==1;}catch(dk){};};};};}catch(dl){dc=false;};};if(!dh){return dc;};};return dg&&dc;};};if(!cJ(o)){var cV=ci;var cN=cl;var cv=R;var cY=bR;var cR=bG;var cF=bV;var cE=cJ(bT);if(!cU){var cD=Math.floor;var cM=[0,31,59,90,120,151,181,212,243,273,304,334];var cX=function(dm,dn){return cM[dn]+365*(dm-1970)+cD((dm-1969+(dn=+(dn>1)))/4)-cD((dm-1901+dn)/100)+cD((dm-1601+dn)/400);};};if(!(cG={}.hasOwnProperty)){cG=function(dp){var dq={},dr;if((dq.__bR=null,dq.__bR={"toString":1},dq).toString!=cr){cG=function(ds){var dt=this.__bR,du=ds in (this.__bR=null,this);this.__bR=dt;return du;};}else {dr=dq.constructor;cG=function(dv){var parent=(this.constructor||dr).prototype;return dv in this&&!(dv in parent&&this[dv]===parent[dv]);};};dq=null;return cG.call(this,dp);};};var cH={'boolean':1,'number':1,'string':1,'undefined':1};var cP=function(dy,dw){var dx=typeof dy[dw];return dx==p?!!dy[dw]:!cH[dx];};cQ=function(dz,dA){var dF=0,dE,dC,dD,dB;(dE=function(){this.valueOf=0;}).prototype.valueOf=0;dC=new dE();for(dD in dC){if(cG.call(dC,dD)){dF++ ;};};dE=dC=null;if(!dF){dC=[bW,U,y,bH,S,t,h];dB=function(dH,dI){var dJ=cr.call(dH)==cV,dK,length;var dG=!dJ&&typeof dH.constructor!=A&&cP(dH,w)?dH.hasOwnProperty:cG;for(dK in dH){if(!(dJ&&dK==v)&&dG.call(dH,dK)){dI(dK);};};for(length=dC.length;dK=dC[ --length];dG.call(dH,dK)&&dI(dK));};}else if(dF==2){dB=function(dP,dL){var dO={},dM=cr.call(dP)==cV,dN;for(dN in dP){if(!(dM&&dN==v)&&!cG.call(dO,dN)&&(dO[dN]=1)&&cG.call(dP,dN)){dL(dN);};};};}else {dB=function(dT,dQ){var dR=cr.call(dT)==cV,dS,dU;for(dS in dT){if(!(dR&&dS==v)&&cG.call(dT,dS)&&!(dU=dS===h)){dQ(dS);};};if(dU||cG.call(dT,(dS=h))){dQ(dS);};};};return dB(dz,dA);};if(!cJ(bL)){var cT={'92':cm,'34':C,'8':N,'12':K,'10':l,'13':X,'9':P};var cI=bU;var cW=function(dV,dW){return (cI+(dW||0)).slice(-dV);};var cB=bQ;var cL=function(dY){var eb=x,dX=0,length=dY.length,ec=length>10&&cE,ea;if(ec){ea=dY.split(B);};for(;dX-1/0&&et<1/0){if(cX){er=cD(et/864e5);for(ei=cD(er/365.2425)+1970-1;cX(ei+1,0)<=er;ei++ );for(ef=cD((er-cX(ei,0))/30.42);cX(ei,ef+1)<=er;ef++ );er=1+er-cX(ei,ef);ey=(et%864e5+864e5)%864e5;ep=cD(ey/36e5)%24;eA=cD(ey/6e4)%60;en=cD(ey/1e3)%60;em=ey%1e3;}else {ei=et.getUTCFullYear();ef=et.getUTCMonth();er=et.getUTCDate();ep=et.getUTCHours();eA=et.getUTCMinutes();en=et.getUTCSeconds();em=et.getUTCMilliseconds();};et=(ei<=0||ei>=1e4?(ei<0?b:f)+cW(6,ei<0?-ei:ei):cW(4,ei))+b+cW(2,ef+1)+b+cW(2,er)+e+cW(2,ep)+I+cW(2,eA)+I+cW(2,en)+cf+cW(3,em)+O;}else {et=null;};}else if(typeof et.toJSON==c&&((ev!=cv&&ev!=cY&&ev!=cR)||cG.call(et,H))){et=et.toJSON(ez);};};if(ew){et=ew.call(eo,ez,et);};if(et===null){return bP;};ev=cr.call(et);if(ev==cF){return B+et;}else if(ev==cv){return et>-1/0&&et<1/0?B+et:bP;}else if(ev==cY){return cL(B+et);};if(typeof et==ch){for(length=es.length;length-- ;){if(es[length]===et){throw TypeError();};};es.push(et);ee=[];eg=ex;ex+=ek;if(ev==cR){for(ej=0,length=et.length;ej0){for(eF=B,eL>10&&(eL=10);eF.length=48&&eR<=57||eR>=97&&eR<=102||eR>=65&&eR<=70)){cw();};};eN+=cA(V+eO.slice(eM,cq));break;default:cw();};}else {if(eR==34){break;};eR=eO.charCodeAt(cq);eM=cq;while(eR>=32&&eR!=92&&eR!=34){eR=eO.charCodeAt( ++cq);};eN+=eO.slice(eM,cq);};};if(eO.charCodeAt(cq)==34){cq++ ;return eN;};cw();default:eM=cq;if(eR==45){eP=true;eR=eO.charCodeAt( ++cq);};if(eR>=48&&eR<=57){if(eR==48&&((eR=eO.charCodeAt(cq+1)),eR>=48&&eR<=57)){cw();};eP=false;for(;cq=48&&eR<=57);cq++ );if(eO.charCodeAt(cq)==46){eQ= ++cq;for(;eQ=48&&eR<=57);eQ++ );if(eQ==cq){cw();};cq=eQ;};eR=eO.charCodeAt(cq);if(eR==101||eR==69){eR=eO.charCodeAt( ++cq);if(eR==43||eR==45){cq++ ;};for(eQ=cq;eQ=48&&eR<=57);eQ++ );if(eQ==cq){cw();};cq=eQ;};return +eO.slice(eM,cq);};if(eP){cw();};if(eO.slice(cq,cq+4)==k){cq+=4;return true;}else if(eO.slice(cq,cq+5)==m){cq+=5;return false;}else if(eO.slice(cq,cq+4)==bP){cq+=4;return null;};cw();};};return ca;};var cK=function(eU){var eT,eS;if(eU==ca){cw();};if(typeof eU==E){if((cE?eU.charAt(0):eU[0])==u){return eU.slice(1);};if(eU==cc){eT=[];for(;;eS||(eS=true)){eU=cS();if(eU==Y){break;};if(eS){if(eU==bO){eU=cS();if(eU==Y){cw();};}else {cw();};};if(eU==bO){cw();};eT.push(cK(eU));};return eT;}else if(eU==T){eT={};for(;;eS||(eS=true)){eU=cS();if(eU==F){break;};if(eS){if(eU==bO){eU=cS();if(eU==F){cw();};}else {cw();};};if(eU==bO||typeof eU!=E||(cE?eU.charAt(0):eU[0])!=u||cS()!=I){cw();};eT[eU.slice(1)]=cK(cS());};return eT;};cw();};return eU;};var cO=function(eV,eW,eX){var eY=ct(eV,eW,eX);if(eY===cC){delete eV[eW];}else {eV[eW]=eY;};};var ct=function(fa,fb,fd){var fc=fa[fb],length;if(typeof fc==ch&&fc){if(cr.call(fc)==cR){for(length=fc.length;length-- ;){cO(fc,length,fd);};}else {cQ(fc,function(fe){cO(fc,fe,fd);});};};return fd.call(fa,fb,fc);};cx.parse=function(ff,fi){var fg,fh;cq=0;cu=B+ff;fg=cK(cS());if(cS()!=ca){cw();};cq=cu=null;return fi&&cr.call(fi)==cV?ct((fh={},fh[B]=fg,fh),B,fi):fg;};};};if(cy){cp(function(){return cx;});};}(this));}());qx.lang.Json.stringify=window.JSON.stringify;qx.lang.Json.parse=window.JSON.parse;})();(function(){var a=": ",b="qx.type.BaseError",c="",d="error";qx.Bootstrap.define(b,{extend:Error,construct:function(e,f){var g=Error.call(this,f);if(g.stack){this.stack=g.stack;};if(g.stacktrace){this.stacktrace=g.stacktrace;};this.__bS=e||c;this.message=f||qx.type.BaseError.DEFAULTMESSAGE;},statics:{DEFAULTMESSAGE:d},members:{__bT:null,__bS:null,message:null,getComment:function(){return this.__bS;},toString:function(){return this.__bS+(this.message?a+this.message:c);}}});})();(function(){var a="qx.core.AssertionError";qx.Bootstrap.define(a,{extend:qx.type.BaseError,construct:function(b,c){qx.type.BaseError.call(this,b,c);this.__bU=qx.dev.StackTrace.getStackTrace();},members:{__bU:null,getStackTrace:function(){return this.__bU;}}});})();(function(){var a="anonymous",b="...",c="qx.dev.StackTrace",d="",e="\n",f="?",g="/source/class/",h="Error created at",j="ecmascript.error.stacktrace",k="Backtrace:",l="stack",m=":",n=".",o="function",p="prototype",q="stacktrace";qx.Bootstrap.define(c,{statics:{FILENAME_TO_CLASSNAME:null,FORMAT_STACKTRACE:null,getStackTrace:function(){var t=[];try{throw new Error();}catch(G){if(qx.dev.StackTrace.hasEnvironmentCheck&&qx.core.Environment.get(j)){var y=qx.dev.StackTrace.getStackTraceFromError(G);var B=qx.dev.StackTrace.getStackTraceFromCaller(arguments);qx.lang.Array.removeAt(y,0);t=B.length>y.length?B:y;for(var i=0;i=0){continue;};var s=null;var C=w.split(n);var v=/(.*?)\(/.exec(C[C.length-1]);if(v&&v.length==2){s=v[1];C.pop();};if(C[C.length-1]==p){C.pop();};var E=C.join(n);var u=y[i];var F=u.split(m);var A=F[0];var z=F[1];var r;if(F[2]){r=F[2];};var x=null;if(qx.Class&&qx.Class.getByName(A)){x=A;}else {x=E;};var D=x;if(s){D+=n+s;};D+=m+z;if(r){D+=m+r;};t[i]=D;};}else {t=this.getStackTraceFromCaller(arguments);};};return t;},getStackTraceFromCaller:function(K){var J=[];var M=qx.lang.Function.getCaller(K);var H={};while(M){var L=qx.lang.Function.getName(M);J.push(L);try{M=M.caller;}catch(N){break;};if(!M){break;};var I=qx.core.ObjectRegistry.toHashCode(M);if(H[I]){J.push(b);break;};H[I]=M;};return J;},getStackTraceFromError:function(bd){var T=[];var R,S,ba,Q,P,bf,bb;var bc=qx.dev.StackTrace.hasEnvironmentCheck?qx.core.Environment.get(j):null;if(bc===l){if(!bd.stack){return T;};R=/@(.+):(\d+)$/gm;while((S=R.exec(bd.stack))!=null){bb=S[1];Q=S[2];ba=this.__bV(bb);T.push(ba+m+Q);};if(T.length>0){return this.__bX(T);};R=/at (.*)/gm;var be=/\((.*?)(:[^\/].*)\)/;var Y=/(.*?)(:[^\/].*)/;while((S=R.exec(bd.stack))!=null){var X=be.exec(S[1]);if(!X){X=Y.exec(S[1]);};if(X){ba=this.__bV(X[1]);T.push(ba+X[2]);}else {T.push(S[1]);};};}else if(bc===q){var U=bd.stacktrace;if(!U){return T;};if(U.indexOf(h)>=0){U=U.split(h)[0];};R=/line\ (\d+?),\ column\ (\d+?)\ in\ (?:.*?)\ in\ (.*?):[^\/]/gm;while((S=R.exec(U))!=null){Q=S[1];P=S[2];bb=S[3];ba=this.__bV(bb);T.push(ba+m+Q+m+P);};if(T.length>0){return this.__bX(T);};R=/Line\ (\d+?)\ of\ linked\ script\ (.*?)$/gm;while((S=R.exec(U))!=null){Q=S[1];bb=S[2];ba=this.__bV(bb);T.push(ba+m+Q);};}else if(bd.message&&bd.message.indexOf(k)>=0){var W=bd.message.split(k)[1].trim();var V=W.split(e);for(var i=0;i=2){Q=O[1];bf=this.__bV(O[2]);T.push(bf+m+Q);};};}else if(bd.sourceURL&&bd.line){T.push(this.__bV(bd.sourceURL)+m+bd.line);};return this.__bX(T);},__bV:function(bh){if(typeof qx.dev.StackTrace.FILENAME_TO_CLASSNAME==o){var bg=qx.dev.StackTrace.FILENAME_TO_CLASSNAME(bh);{};return bg;};return qx.dev.StackTrace.__bW(bh);},__bW:function(bk){var bl=g;var bi=bk.indexOf(bl);var bm=bk.indexOf(f);if(bm>=0){bk=bk.substring(0,bm);};var bj=(bi==-1)?bk:bk.substring(bi+bl.length).replace(/\//g,n).replace(/\.js$/,d);return bj;},__bX:function(bn){if(typeof qx.dev.StackTrace.FORMAT_STACKTRACE==o){bn=qx.dev.StackTrace.FORMAT_STACKTRACE(bn);{};};return bn;}},defer:function(bo){bo.hasEnvironmentCheck=qx.bom&&qx.bom.client&&qx.bom.client.EcmaScript&&qx.bom.client.EcmaScript.getStackTrace;}});})();(function(){var c="-",d="",e="qx.core.ObjectRegistry",f="Disposed ",g="$$hash",h="-0",j=" objects",k="Could not dispose object ",m=": ";qx.Bootstrap.define(e,{statics:{inShutDown:false,__G:{},__bY:0,__ca:[],__cb:d,__cc:{},register:function(n){var q=this.__G;if(!q){return;};var p=n.$$hash;if(p==null){var o=this.__ca;if(o.length>0&&true){p=o.pop();}else {p=(this.__bY++ )+this.__cb;};n.$$hash=p;{};};{};q[p]=n;},unregister:function(r){var s=r.$$hash;if(s==null){return;};var t=this.__G;if(t&&t[s]){delete t[s];this.__ca.push(s);};try{delete r.$$hash;}catch(u){if(r.removeAttribute){r.removeAttribute(g);};};},toHashCode:function(v){{};var x=v.$$hash;if(x!=null){return x;};var w=this.__ca;if(w.length>0){x=w.pop();}else {x=(this.__bY++ )+this.__cb;};return v.$$hash=x;},clearHashCode:function(y){{};var z=y.$$hash;if(z!=null){this.__ca.push(z);try{delete y.$$hash;}catch(A){if(y.removeAttribute){y.removeAttribute(g);};};};},fromHashCode:function(B){return this.__G[B]||null;},shutdown:function(){this.inShutDown=true;var D=this.__G;var F=[];for(var C in D){F.push(C);};F.sort(function(a,b){return parseInt(b,10)-parseInt(a,10);});var E,i=0,l=F.length;while(true){try{for(;i-1;}},defer:function(G){qx.core.Environment.add(j,G.getVersion);qx.core.Environment.add(u,G.getName);}});})();(function(){var a="qx.log.Logger",b="[",c="...(+",d="array",e=")",f="info",g="node",h="instance",j="string",k="null",m="error",n="#",o="class",p=": ",q="warn",r="document",s="{...(",t="",u="number",v="stringify",w="]",x="date",y="unknown",z="function",A="text[",B="[...(",C="boolean",D="\n",E=")}",F="debug",G=")]",H="map",I="undefined",J="object";qx.Bootstrap.define(a,{statics:{__cj:F,setLevel:function(K){this.__cj=K;},getLevel:function(){return this.__cj;},setTreshold:function(L){this.__cm.setMaxMessages(L);},getTreshold:function(){return this.__cm.getMaxMessages();},__ck:{},__cl:0,register:function(P){if(P.$$id){return;};var M=this.__cl++ ;this.__ck[M]=P;P.$$id=M;var N=this.__cn;var O=this.__cm.getAllLogEvents();for(var i=0,l=O.length;i=N[this.__cj]){P.process(O[i]);};};},unregister:function(Q){var R=Q.$$id;if(R==null){return;};delete this.__ck[R];delete Q.$$id;},debug:function(T,S){qx.log.Logger.__co(F,arguments);},info:function(V,U){qx.log.Logger.__co(f,arguments);},warn:function(X,W){qx.log.Logger.__co(q,arguments);},error:function(ba,Y){qx.log.Logger.__co(m,arguments);},trace:function(bb){var bc=qx.dev.StackTrace.getStackTrace();qx.log.Logger.__co(f,[(typeof bb!==I?[bb].concat(bc):bc).join(D)]);},deprecatedMethodWarning:function(bf,bd){{var be;};},deprecatedClassWarning:function(bi,bg){{var bh;};},deprecatedEventWarning:function(bl,event,bj){{var bk;};},deprecatedMixinWarning:function(bn,bm){{var bo;};},deprecatedConstantWarning:function(bs,bq,bp){{var self,br;};},deprecateMethodOverriding:function(bv,bu,bw,bt){{var bx;};},clear:function(){this.__cm.clearHistory();},__cm:new qx.log.appender.RingBuffer(50),__cn:{debug:0,info:1,warn:2,error:3},__co:function(bz,bB){var bE=this.__cn;if(bE[bz]20){bM.push(c+(l-i)+e);break;};bM.push(this.__cq(bP[i],false));};}else {bM=B+bP.length+G;};break;case H:if(bO){var bK;var bR=[];for(var bQ in bP){bR.push(bQ);};bR.sort();bM=[];for(var i=0,l=bR.length;i20){bM.push(c+(l-i)+e);break;};bQ=bR[i];bK=this.__cq(bP[bQ],false);bK.key=bQ;bM.push(bK);};}else {var bN=0;for(var bQ in bP){bN++ ;};bM=s+bN+E;};break;};return {type:bS,text:bM,trace:bL};}},defer:function(bT){var bU=qx.Bootstrap.$$logs;for(var i=0;i9){return true;};var bc=[p,s];if(bb===D&&bc.indexOf(ba)>-1){var W=[b,C,j,F,k,t,x,d,n,u,E];if(W.indexOf(be.toLowerCase())>-1){return true;};};if(V!=window&&be.toLowerCase().indexOf(f)!=-1){var bd=qx.core.Environment.get(o);return (bd&&bd[z]==be);};var X=G+be.toLowerCase();var Y=(X in V);if(!Y){Y=typeof V[X]==a;if(!Y&&V.setAttribute){V.setAttribute(X,q);Y=typeof V[X]==a;V.removeAttribute(X);};};return Y;},getEventName:function(bf,bi){var bg=[v].concat(qx.bom.Style.VENDOR_PREFIXES);for(var i=0,l=bg.length;i0?b:d)+e;};return {name:name,"end-event":i};}},defer:function(j){qx.core.Environment.add(g,j.getSupport);}});})();(function(){var a="-",b="qx.bom.Style",c="",d='-',e="Webkit",f="ms",g=":",h=";",j="Moz",k="O",m="string",n="Khtml";qx.Bootstrap.define(b,{statics:{VENDOR_PREFIXES:[e,j,k,f,n],__ct:{},__cu:null,getPropertyName:function(q){var o=document.documentElement.style;if(o[q]!==undefined){return q;};for(var i=0,l=this.VENDOR_PREFIXES.length;i=8){return qx.bom.client.Engine.DOCUMENT_MODE===5;}else {return document.compatMode!==a;};},__cy:{"webkit":i,"gecko":p,"mshtml":q,"opera":H}[qx.bom.client.Engine.getName()]},defer:function(V){qx.core.Environment.add(k,V.getName);qx.core.Environment.add(C,V.getVersion);qx.core.Environment.add(K,V.getDocumentMode);qx.core.Environment.add(j,V.getQuirksMode);}});})();(function(){var a="__cD",b="UNKNOWN_",c="|bubble",d="",e="_",f="__cE",g="c",h="|",j="qx.globalErrorHandling",k="unload",m="|capture",n="DOM_",o="WIN_",p="QX_",q="qx.event.Manager",r="capture",s="DOCUMENT_";qx.Class.define(q,{extend:Object,construct:function(t,v){this.__cz=t;this.__cA=qx.core.ObjectRegistry.toHashCode(t);this.__cB=v;if(t.qx!==qx){var self=this;var u=function(){qx.bom.Event.removeNativeListener(t,k,arguments.callee);self.dispose();};if(qx.core.Environment.get(j)){qx.bom.Event.addNativeListener(t,k,qx.event.GlobalError.observeMethod(u));}else {qx.bom.Event.addNativeListener(t,k,u);};};this.__cC={};this.__cD={};this.__cE={};this.__cF={};},statics:{__cG:0,getNextUniqueId:function(){return (this.__cG++ )+d;}},members:{__cB:null,__cC:null,__cE:null,__cH:null,__cD:null,__cF:null,__cz:null,__cA:null,getWindow:function(){return this.__cz;},getWindowId:function(){return this.__cA;},getHandler:function(x){var w=this.__cD[x.classname];if(w){return w;};return this.__cD[x.classname]=new x(this);},getDispatcher:function(z){var y=this.__cE[z.classname];if(y){return y;};return this.__cE[z.classname]=new z(this,this.__cB);},getListeners:function(B,F,A){var D=B.$$hash||qx.core.ObjectRegistry.toHashCode(B);var G=this.__cC[D];if(!G){return null;};var E=F+(A?m:c);var C=G[E];return C?C.concat():null;},getAllListeners:function(){return this.__cC;},serializeListeners:function(I){var M=I.$$hash||qx.core.ObjectRegistry.toHashCode(I);var Q=this.__cC[M];var L=[];if(Q){var J,P,H,K,N;for(var O in Q){J=O.indexOf(h);P=O.substring(0,J);H=O.charAt(J+1)==g;K=Q[O];for(var i=0,l=K.length;i0);},importListeners:function(bi,bk){{};var bo=bi.$$hash||qx.core.ObjectRegistry.toHashCode(bi);var bq=this.__cC[bo]={};var bm=qx.event.Manager;for(var bj in bk){var bn=bk[bj];var bp=bn.type+(bn.capture?m:c);var bl=bq[bp];if(!bl){bl=bq[bp]=[];this.__cI(bi,bn.type,bn.capture);};bl.push({handler:bn.listener,context:bn.self,unique:bn.unique||(bm.__cG++ )+d});};},addListener:function(bt,bA,bv,self,br){{var bx;};var bs=bt.$$hash||qx.core.ObjectRegistry.toHashCode(bt);var bB=this.__cC[bs];if(!bB){bB=this.__cC[bs]={};};var bw=bA+(br?m:c);var bu=bB[bw];if(!bu){bu=bB[bw]=[];};if(bu.length===0){this.__cI(bt,bA,br);};var bz=(qx.event.Manager.__cG++ )+d;var by={handler:bv,context:self,unique:bz};bu.push(by);return bw+h+bz;},findHandler:function(bG,bP){var bN=false,bF=false,bQ=false,bC=false;var bM;if(bG.nodeType===1){bN=true;bM=n+bG.tagName.toLowerCase()+e+bP;}else if(bG.nodeType===9){bC=true;bM=s+bP;}else if(bG==this.__cz){bF=true;bM=o+bP;}else if(bG.classname){bQ=true;bM=p+bG.classname+e+bP;}else {bM=b+bG+e+bP;};var bE=this.__cF;if(bE[bM]){return bE[bM];};var bL=this.__cB.getHandlers();var bH=qx.event.IEventHandler;var bJ,bK,bI,bD;for(var i=0,l=bL.length;i0){cu=cw.split(h);cx=cu[0];cs=cu[1]===r;this.__cJ(ct,cx,cs);};};delete this.__cC[cv];return true;},deleteAllListeners:function(cz){delete this.__cC[cz];},__cJ:function(cD,cC,cA){var cB=this.findHandler(cD,cC);if(cB){cB.unregisterEvent(cD,cC,cA);return;};{};},dispatchEvent:function(cF,event){{var cJ;};var cK=event.getType();if(!event.getBubbles()&&!this.hasListener(cF,cK)){qx.event.Pool.getInstance().poolObject(event);return true;};if(!event.getTarget()){event.setTarget(cF);};var cI=this.__cB.getDispatchers();var cH;var cE=false;for(var i=0,l=cI.length;i=0;i-- ){s=r[i];if(s){s.dispose();};};}catch(t){throw new Error(h+p+d+q+f+t);};r.length=0;q[p]=null;},disposeMap:function(v,u){var w=v[u];if(!w){return;};if(qx.core.ObjectRegistry.inShutDown){v[u]=null;return;};try{var y;for(var x in w){y=w[x];if(w.hasOwnProperty(x)&&y){y.dispose();};};}catch(z){throw new Error(g+u+d+v+f+z);};v[u]=null;},disposeTriggeredBy:function(A,C){var B=C.dispose;C.dispose=function(){B.call(C);A.dispose();};},destroyContainer:function(E){{};var D=[];this._collectContainerChildren(E,D);var F=D.length;for(var i=F-1;i>=0;i-- ){D[i].destroy();};E.destroy();},_collectContainerChildren:function(I,H){var J=I.getChildren();for(var i=0;ithis.getSize()){if(k.destroy){k.destroy();}else {k.dispose();};return;};k.$$pooled=true;m.push(k);}},destruct:function(){var p=this.__cO;var n,o,i,l;for(n in p){o=p[n];for(i=0,l=o.length;i8)){qx.bom.Event.addNativeListener(this._window,n,this._onNativeLoadWrapped);}else {var self=this;var A=function(){try{document.documentElement.doScroll(m);if(document.body){self._onNativeLoadWrapped();};}catch(B){window.setTimeout(A,100);};};A();};qx.bom.Event.addNativeListener(this._window,j,this._onNativeLoadWrapped);};this._onNativeUnloadWrapped=qx.lang.Function.bind(this._onNativeUnload,this);qx.bom.Event.addNativeListener(this._window,k,this._onNativeUnloadWrapped);},_stopObserver:function(){if(this._onNativeLoadWrapped){qx.bom.Event.removeNativeListener(this._window,j,this._onNativeLoadWrapped);};qx.bom.Event.removeNativeListener(this._window,k,this._onNativeUnloadWrapped);this._onNativeLoadWrapped=null;this._onNativeUnloadWrapped=null;},_onNativeLoad:function(){var C=qx.core.Environment.select(i,{"true":qx.event.GlobalError.observeMethod(this.__cX),"false":this.__cX});C.apply(this,arguments);},__cX:function(){this.__cS=true;this.__cW();},_onNativeUnload:function(){var D=qx.core.Environment.select(i,{"true":qx.event.GlobalError.observeMethod(this.__cY),"false":this.__cY});D.apply(this,arguments);},__cY:function(){if(!this.__cV){this.__cV=true;try{qx.event.Registration.fireEvent(this._window,o);}catch(e){throw e;}finally{qx.core.ObjectRegistry.shutdown();};};}},destruct:function(){this._stopObserver();this._window=null;},defer:function(E){qx.event.Registration.addHandler(E);}});})();(function(){var a="qx.core.BaseInit",b="engine.name",c="Main runtime: ",d="",f="os.name",g="engine.version",h="Missing application class: ",i="Load runtime: ",j="ms",k="Could not detect engine!",l='base.Application',m="Finalize runtime: ",n="Could not detect operating system!",o="Could not detect the version of the engine!";qx.Class.define(a,{statics:{__da:null,getApplication:function(){return this.__da||null;},ready:function(){if(this.__da){return;};if(qx.core.Environment.get(b)==d){qx.log.Logger.warn(k);};if(qx.core.Environment.get(g)==d){qx.log.Logger.warn(o);};if(qx.core.Environment.get(f)==d){qx.log.Logger.warn(n);};qx.log.Logger.debug(this,i+(new Date-qx.Bootstrap.LOADSTART)+j);var q=l;var r=qx.Class.getByName(q);if(r){this.__da=new r;var p=new Date;this.__da.main();qx.log.Logger.debug(this,c+(new Date-p)+j);var p=new Date;this.__da.finalize();qx.log.Logger.debug(this,m+(new Date-p)+j);}else {qx.log.Logger.warn(h+q);};},__db:function(e){var s=this.__da;if(s){s.close();};},__dc:function(){var t=this.__da;if(t){t.terminate();};qx.core.ObjectRegistry.shutdown();}}});})();(function(){var a="ready",b="shutdown",c="beforeunload",d="qx.core.Init";qx.Class.define(d,{statics:{getApplication:qx.core.BaseInit.getApplication,ready:qx.core.BaseInit.ready,__db:function(e){var f=this.getApplication();if(f){e.setReturnValue(f.close());};},__dc:function(){var g=this.getApplication();if(g){g.terminate();};}},defer:function(h){qx.event.Registration.addListener(window,a,h.ready,h);qx.event.Registration.addListener(window,b,h.__dc,h);qx.event.Registration.addListener(window,c,h.__db,h);}});})();(function(){var a="To enable localization please include qx.locale.Manager into your build!",b="qx.locale.MTranslation";qx.Mixin.define(b,{members:{tr:function(c,e){var d=qx.locale.Manager;if(d){return d.tr.apply(d,arguments);};throw new Error(a);},trn:function(g,j,f,h){var i=qx.locale.Manager;if(i){return i.trn.apply(i,arguments);};throw new Error(a);},trc:function(n,m,l){var k=qx.locale.Manager;if(k){return k.trc.apply(k,arguments);};throw new Error(a);},trnc:function(p,q,r,o,s){var t=qx.locale.Manager;if(t){return t.trnc.apply(t,arguments);};throw new Error(a);},marktr:function(v){var u=qx.locale.Manager;if(u){return u.marktr.apply(u,arguments);};throw new Error(a);}}});})();(function(){var a="qx.application.IApplication";qx.Interface.define(a,{members:{main:function(){},finalize:function(){},close:function(){},terminate:function(){}}});})();(function(){var a="Abstract method call",b="abstract",c="*",d="",e="-webkit-tap-highlight-color: transparent;",f="-ms-touch-select: none;",g="qx.application.AbstractGui",h="-webkit-touch-callout: none;",i="-webkit-tap-highlight-color: rgba(0,0,0,0);";qx.Class.define(g,{type:b,extend:qx.core.Object,implement:[qx.application.IApplication],include:qx.locale.MTranslation,members:{__dd:null,_createRootWidget:function(){throw new Error(a);},getRoot:function(){return this.__dd;},main:function(){qx.theme.manager.Meta.getInstance().initialize();qx.ui.tooltip.Manager.getInstance();var j=[h,f,i,e].join(d);qx.ui.style.Stylesheet.getInstance().addRule(c,j);this.__dd=this._createRootWidget();window.scrollTo(0,0);},finalize:function(){this.render();},render:function(){qx.ui.core.queue.Manager.flush();},close:function(k){},terminate:function(){}},destruct:function(){this.__dd=null;}});})();(function(){var a="__dh",b="__de",c="qx.ui.tooltip.ToolTip",d="Boolean",f="",g="mouse",h="pointerover",i="interval",j="__df",k="_applyCurrent",l="widget",m="qx.ui.tooltip.Manager",n="pointermove",o="focusout",p="tooltip-error",q="singleton",r="pointerout";qx.Class.define(m,{type:q,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);qx.event.Registration.addListener(document.body,h,this.__dm,this,true);this.__de=new qx.event.Timer();this.__de.addListener(i,this.__dj,this);this.__df=new qx.event.Timer();this.__df.addListener(i,this.__dk,this);this.__dg={left:0,top:0};},properties:{current:{check:c,nullable:true,apply:k},showInvalidToolTips:{check:d,init:true},showToolTips:{check:d,init:true}},members:{__dg:null,__df:null,__de:null,__dh:null,__di:null,getSharedTooltip:function(){if(!this.__dh){this.__dh=new qx.ui.tooltip.ToolTip().set({rich:true});};return this.__dh;},getSharedErrorTooltip:function(){if(!this.__di){this.__di=new qx.ui.tooltip.ToolTip().set({appearance:p,rich:true});this.__di.setLabel(f);this.__di.syncAppearance();};return this.__di;},_applyCurrent:function(u,t){if(t&&qx.ui.core.Widget.contains(t,u)){return;};if(t){if(!t.isDisposed()){t.exclude();};this.__de.stop();this.__df.stop();};var v=qx.event.Registration;var s=document.body;if(u){this.__de.startWith(u.getShowTimeout());v.addListener(s,r,this.__dn,this,true);v.addListener(s,o,this.__do,this,true);v.addListener(s,n,this.__dl,this,true);}else {v.removeListener(s,r,this.__dn,this,true);v.removeListener(s,o,this.__do,this,true);v.removeListener(s,n,this.__dl,this,true);};},__dj:function(e){var w=this.getCurrent();if(w&&!w.isDisposed()){this.__df.startWith(w.getHideTimeout());if(w.getPlaceMethod()==l){w.placeToWidget(w.getOpener());}else {w.placeToPoint(this.__dg);};w.show();};this.__de.stop();},__dk:function(e){var x=this.getCurrent();if(x&&!x.isDisposed()){x.exclude();};this.__df.stop();this.resetCurrent();},__dl:function(e){var y=this.__dg;y.left=Math.round(e.getDocumentLeft());y.top=Math.round(e.getDocumentTop());},__dm:function(e){var z=qx.ui.core.Widget.getWidgetByElement(e.getTarget());this.__dl(e);this.showToolTip(z);},showToolTip:function(C){if(!C){return;};var D,B,E,A;while(C!=null){D=C.getToolTip();B=C.getToolTipText()||null;E=C.getToolTipIcon()||null;if(qx.Class.hasInterface(C.constructor,qx.ui.form.IForm)&&!C.isValid()){A=C.getInvalidMessage();};if(D||B||E||A){break;};C=C.getLayoutParent();};if(!C||(!C.getEnabled()&&!C.isShowToolTipWhenDisabled())||C.isBlockToolTip()||(!A&&!this.getShowToolTips())||(A&&!this.getShowInvalidToolTips())){return;};if(A){D=this.getSharedErrorTooltip().set({label:A});};if(!D){D=this.getSharedTooltip().set({label:B,icon:E});};this.setCurrent(D);D.setOpener(C);},__dn:function(e){var F=qx.ui.core.Widget.getWidgetByElement(e.getTarget());if(!F){return;};var G=qx.ui.core.Widget.getWidgetByElement(e.getRelatedTarget());if(!G&&e.getPointerType()==g){return;};var H=this.getCurrent();if(H&&(G==H||qx.ui.core.Widget.contains(H,G))){return;};if(G&&F&&qx.ui.core.Widget.contains(F,G)){return;};if(H&&!G){this.setCurrent(null);}else {this.resetCurrent();};},__do:function(e){var I=qx.ui.core.Widget.getWidgetByElement(e.getTarget());if(!I){return;};var J=this.getCurrent();if(J&&J==I.getToolTip()){this.setCurrent(null);};}},destruct:function(){qx.event.Registration.removeListener(document.body,h,this.__dm,this,true);this._disposeObjects(b,j,a);this.__dg=null;}});})();(function(){var a="best-fit",b="placementRight",c="Boolean",d="bottom-right",e="' ",f="widget",g="placementLeft",h="qx.ui.core.MPlacement",i="left-top",j="Integer",k="left-middle",l="right-middle",m="top-center",n="[qx.ui.core.MPlacement.setMoveDirection()], the value was '",o="offsetRight",p="interval",q="keep-align",r="bottom-left",s="pointer",t="direct",u="shorthand",v="Invalid value for the parameter 'direction' ",w="offsetLeft",x="top-left",y="appear",z="offsetBottom",A="top",B="top-right",C="offsetTop",D="but 'top' or 'left' are allowed.",E="right-bottom",F="disappear",G="right-top",H="bottom-center",I="left-bottom",J="left";qx.Mixin.define(h,{statics:{__dp:null,__dq:J,setVisibleElement:function(K){this.__dp=K;},getVisibleElement:function(){return this.__dp;},setMoveDirection:function(L){if(L===A||L===J){this.__dq=L;}else {throw new Error(v+n+L+e+D);};},getMoveDirection:function(){return this.__dq;}},properties:{position:{check:[x,m,B,r,H,d,i,k,I,G,l,E],init:r,themeable:true},placeMethod:{check:[f,s],init:s,themeable:true},domMove:{check:c,init:false},placementModeX:{check:[t,q,a],init:q,themeable:true},placementModeY:{check:[t,q,a],init:q,themeable:true},offsetLeft:{check:j,init:0,themeable:true},offsetTop:{check:j,init:0,themeable:true},offsetRight:{check:j,init:0,themeable:true},offsetBottom:{check:j,init:0,themeable:true},offset:{group:[C,o,z,w],mode:u,themeable:true}},members:{__dr:null,__ds:null,__dt:null,getLayoutLocation:function(N){var P,O,R,top;O=N.getBounds();if(!O){return null;};R=O.left;top=O.top;var Q=O;N=N.getLayoutParent();while(N&&!N.isRootWidget()){O=N.getBounds();R+=O.left;top+=O.top;P=N.getInsets();R+=P.left;top+=P.top;N=N.getLayoutParent();};if(N.isRootWidget()){var M=N.getContentLocation();if(M){R+=M.left;top+=M.top;};};return {left:R,top:top,right:R+Q.width,bottom:top+Q.height};},moveTo:function(Y,top){var X=qx.ui.core.MPlacement.getVisibleElement();if(X){var W=this.getBounds();var V=X.getContentLocation();if(W&&V){var U=top+W.height;var T=Y+W.width;if((T>V.left&&YV.top&&top=0&&r+s<=q;}}});})();(function(){var a="qx.util.placement.KeepAlignAxis",b="edge-start",c="edge-end";qx.Bootstrap.define(a,{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,_isInRange:qx.util.placement.AbstractAxis._isInRange,computeStart:function(k,f,g,d,j){var i=this._moveToEdgeAndAlign(k,f,g,j);var e,h;if(this._isInRange(i,k,d)){return i;};if(j==b||j==c){e=f.start-g.end;h=f.end+g.start;}else {e=f.end-g.end;h=f.start+g.start;};if(e>d-h){i=Math.max(0,e-k);}else {i=h;};return i;}}});})();(function(){var a="qx.util.placement.DirectAxis";qx.Bootstrap.define(a,{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(d,e,f,b,c){return this._moveToEdgeAndAlign(d,e,f,c);}}});})();(function(){var a="qx.util.placement.BestFitAxis";qx.Bootstrap.define(a,{statics:{_isInRange:qx.util.placement.AbstractAxis._isInRange,_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(g,c,d,b,f){var e=this._moveToEdgeAndAlign(g,c,d,f);if(this._isInRange(e,g,b)){return e;};if(e<0){e=Math.min(0,b-g);};if(e+g>b){e=Math.max(0,b-g);};return e;}}});})();(function(){var a="Number",b="interval",c="_applyTimeoutInterval",d="qx.event.type.Event",e="qx.event.Idle",f="singleton";qx.Class.define(e,{extend:qx.core.Object,type:f,construct:function(){qx.core.Object.call(this);var g=new qx.event.Timer(this.getTimeoutInterval());g.addListener(b,this._onInterval,this);g.start();this.__dE=g;},events:{"interval":d},properties:{timeoutInterval:{check:a,init:100,apply:c}},members:{__dE:null,_applyTimeoutInterval:function(h){this.__dE.setInterval(h);},_onInterval:function(){this.fireEvent(b);}},destruct:function(){if(this.__dE){this.__dE.stop();};this.__dE=null;}});})();(function(){var a="qx.event.Timer",b="_applyInterval",c="_applyEnabled",d="Boolean",f="interval",g="qx.event.type.Event",h="Integer";qx.Class.define(a,{extend:qx.core.Object,construct:function(i){qx.core.Object.call(this);this.setEnabled(false);if(i!=null){this.setInterval(i);};var self=this;this.__dF=function(){self._oninterval.call(self);};},events:{"interval":g},statics:{once:function(j,k,l){{};var m=new qx.event.Timer(l);m.__dG=j;m.addListener(f,function(e){m.stop();j.call(k,e);m.dispose();k=null;},k);m.start();return m;}},properties:{enabled:{init:true,check:d,apply:c},interval:{check:h,init:1000,apply:b}},members:{__dH:null,__dF:null,_applyInterval:function(o,n){if(this.getEnabled()){this.restart();};},_applyEnabled:function(q,p){if(p){window.clearInterval(this.__dH);this.__dH=null;}else if(q){this.__dH=window.setInterval(this.__dF,this.getInterval());};},start:function(){this.setEnabled(true);},startWith:function(r){this.setInterval(r);this.start();},stop:function(){this.setEnabled(false);},restart:function(){this.stop();this.start();},restartWith:function(s){this.stop();this.startWith(s);},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.$$disposed){return;};if(this.getEnabled()){this.fireEvent(f);};})},destruct:function(){if(this.__dH){window.clearInterval(this.__dH);};this.__dH=this.__dF=null;}});})();(function(){var a="borderBottomWidth",b="scroll",c="qx.bom.element.Location",d="gecko",e="paddingLeft",f="borderRightWidth",g="auto",h="static",i="borderTopWidth",j="borderLeftWidth",k="marginBottom",l="marginTop",m="overflowY",n="marginLeft",o="border-box",p="padding",q="paddingBottom",r="paddingTop",s="marginRight",t="browser.quirksmode",u="engine.name",v="position",w="margin",x="paddingRight",y="BODY",z="overflowX",A="border";qx.Bootstrap.define(c,{statics:{__dI:function(C,B){return qx.bom.element.Style.get(C,B,qx.bom.element.Style.COMPUTED_MODE,false);},__dJ:function(E,D){return parseInt(qx.bom.element.Style.get(E,D,qx.bom.element.Style.COMPUTED_MODE,false),10)||0;},__dK:function(G){var H=0,top=0;var F=qx.dom.Node.getWindow(G);H-=qx.bom.Viewport.getScrollLeft(F);top-=qx.bom.Viewport.getScrollTop(F);return {left:H,top:top};},__dL:qx.core.Environment.select(u,{"mshtml":function(K){var J=qx.dom.Node.getDocument(K);var I=J.body;var L=0;var top=0;L-=I.clientLeft+J.documentElement.clientLeft;top-=I.clientTop+J.documentElement.clientTop;if(!qx.core.Environment.get(t)){L+=this.__dJ(I,j);top+=this.__dJ(I,i);};return {left:L,top:top};},"webkit":function(O){var N=qx.dom.Node.getDocument(O);var M=N.body;var P=M.offsetLeft;var top=M.offsetTop;return {left:P,top:top};},"gecko":function(R){var Q=qx.dom.Node.getDocument(R).body;var S=Q.offsetLeft;var top=Q.offsetTop;if(qx.bom.element.BoxSizing.get(Q)!==o){S+=this.__dJ(Q,j);top+=this.__dJ(Q,i);};return {left:S,top:top};},"default":function(U){var T=qx.dom.Node.getDocument(U).body;var V=T.offsetLeft;var top=T.offsetTop;return {left:V,top:top};}}),__dM:function(W){var X=W.getBoundingClientRect();return {left:Math.round(X.left),top:Math.round(X.top)};},get:function(bf,bg){if(bf.tagName==y){var location=this.__dN(bf);var bj=location.left;var top=location.top;}else {var Y=this.__dL(bf);var bd=this.__dM(bf);var scroll=this.__dK(bf);var bj=bd.left+Y.left-scroll.left;var top=bd.top+Y.top-scroll.top;};var ba;var be;if(bf instanceof SVGElement){var bk=bf.getBoundingClientRect();ba=bk.width;be=bk.height;}else {ba=bf.offsetWidth;be=bf.offsetHeight;};var bb=bj+ba;var bc=top+be;if(bg){if(bg==p||bg==b){var bi=qx.bom.element.Style.get(bf,z);if(bi==b||bi==g){bb+=bf.scrollWidth-ba+this.__dJ(bf,j)+this.__dJ(bf,f);};var bh=qx.bom.element.Style.get(bf,m);if(bh==b||bh==g){bc+=bf.scrollHeight-be+this.__dJ(bf,i)+this.__dJ(bf,a);};};switch(bg){case p:bj+=this.__dJ(bf,e);top+=this.__dJ(bf,r);bb-=this.__dJ(bf,x);bc-=this.__dJ(bf,q);case b:bj-=bf.scrollLeft;top-=bf.scrollTop;bb-=bf.scrollLeft;bc-=bf.scrollTop;case A:bj+=this.__dJ(bf,j);top+=this.__dJ(bf,i);bb-=this.__dJ(bf,f);bc-=this.__dJ(bf,a);break;case w:bj-=this.__dJ(bf,n);top-=this.__dJ(bf,l);bb+=this.__dJ(bf,s);bc+=this.__dJ(bf,k);break;};};return {left:bj,top:top,right:bb,bottom:bc};},__dN:function(bl){var top=bl.offsetTop;var bm=bl.offsetLeft;top+=this.__dJ(bl,l);bm+=this.__dJ(bl,n);if(qx.core.Environment.get(u)===d){top+=this.__dJ(bl,j);bm+=this.__dJ(bl,i);};return {left:bm,top:top};},getLeft:function(bn,bo){return this.get(bn,bo).left;},getTop:function(bp,bq){return this.get(bp,bq).top;},getRight:function(br,bs){return this.get(br,bs).right;},getBottom:function(bt,bu){return this.get(bt,bu).bottom;},getRelative:function(by,bx,bw,bv){var bA=this.get(by,bw);var bz=this.get(bx,bv);return {left:bA.left-bz.left,top:bA.top-bz.top,right:bA.right-bz.right,bottom:bA.bottom-bz.bottom};},getPosition:function(bB){return this.getRelative(bB,this.getOffsetParent(bB));},getOffsetParent:function(bE){if(bE instanceof SVGElement){return document.body;};var bD=bE.offsetParent||document.body;var bC=qx.bom.element.Style;while(bD&&(!/^body|html$/i.test(bD.tagName)&&bC.get(bD,v)===h)){bD=bD.offsetParent;};return bD;}}});})();(function(){var a='[object Boolean]',b='[object String]',c='constructor',d='[object Date]',e='[object Number]',f='object',g="qx.lang.Object",h='[object RegExp]',j='[object Array]';qx.Bootstrap.define(g,{statics:{empty:function(k){{};for(var m in k){if(k.hasOwnProperty(m)){delete k[m];};};},isEmpty:function(n){{};for(var o in n){return false;};return true;},getLength:qx.Bootstrap.objectGetLength,getValues:function(q){{};var r=[];var p=Object.keys(q);for(var i=0,l=p.length;i=1){m=1;};if(m<0.00001){m=0;};if(qx.core.Environment.get(g)){return i+m+h;}else {return e+(m*100)+b;};},"default":function(n){return i+n+h;}}),set:qx.core.Environment.select(a,{"mshtml":function(q,o){if(qx.core.Environment.get(g)){q.style.opacity=o;}else {var p=qx.bom.element.Style.get(q,l,qx.bom.element.Style.COMPUTED_MODE,false);if(o>=1){o=1;};if(o<0.00001){o=0;};if(!q.currentStyle||!q.currentStyle.hasLayout){q.style.zoom=1;};q.style.filter=p.replace(/alpha\([^\)]*\)/gi,c)+j+o*100+d;};},"default":function(s,r){s.style.opacity=r;}}),reset:qx.core.Environment.select(a,{"mshtml":function(u){if(qx.core.Environment.get(g)){u.style.opacity=c;}else {var t=qx.bom.element.Style.get(u,l,qx.bom.element.Style.COMPUTED_MODE,false);u.style.filter=t.replace(/alpha\([^\)]*\)/gi,c);};},"default":function(v){v.style.opacity=c;}}),get:qx.core.Environment.select(a,{"mshtml":function(z,y){if(qx.core.Environment.get(g)){var w=qx.bom.element.Style.get(z,k,y,false);if(w!=null){return parseFloat(w);};return 1.0;}else {var x=qx.bom.element.Style.get(z,l,y,false);if(x){var w=x.match(/alpha\(opacity=(.*)\)/);if(w&&w[1]){return parseFloat(w[1])/100;};};return 1.0;};},"default":function(C,B){var A=qx.bom.element.Style.get(C,k,B,false);if(A!=null){return parseFloat(A);};return 1.0;}})}});})();(function(){var a="cursor:",b="engine.name",c="",d="mshtml",e="nw-resize",f="engine.version",g="nesw-resize",h="browser.documentmode",i=";",j="nwse-resize",k="qx.bom.element.Cursor",l="ne-resize",m="browser.quirksmode",n="cursor";qx.Bootstrap.define(k,{statics:{__dP:{},compile:function(o){return a+(this.__dP[o]||o)+i;},get:function(q,p){return qx.bom.element.Style.get(q,n,p,false);},set:function(s,r){s.style.cursor=this.__dP[r]||r;},reset:function(t){t.style.cursor=c;}},defer:function(u){if(qx.core.Environment.get(b)==d&&((parseFloat(qx.core.Environment.get(f))<9||qx.core.Environment.get(h)<9)&&!qx.core.Environment.get(m))){u.__dP[g]=l;u.__dP[j]=e;};}});})();(function(){var a="clip:auto;",b="rect(",c=")",d=");",e="",f="px",g="Could not parse clip string: ",h="qx.bom.element.Clip",i="string",j="clip:rect(",k=" ",l="clip",m="rect(auto,auto,auto,auto)",n="rect(auto, auto, auto, auto)",o="auto",p=",";qx.Bootstrap.define(h,{statics:{compile:function(q){if(!q){return a;};var v=q.left;var top=q.top;var u=q.width;var t=q.height;var r,s;if(v==null){r=(u==null?o:u+f);v=o;}else {r=(u==null?o:v+u+f);v=v+f;};if(top==null){s=(t==null?o:t+f);top=o;}else {s=(t==null?o:top+t+f);top=top+f;};return j+top+p+r+p+s+p+v+d;},get:function(z,D){var x=qx.bom.element.Style.get(z,l,D,false);var C,top,A,E;var w,y;if(typeof x===i&&x!==o&&x!==e){x=x.trim();if(/\((.*)\)/.test(x)){var F=RegExp.$1;if(/,/.test(F)){var B=F.split(p);}else {var B=F.split(k);};top=B[0].trim();w=B[1].trim();y=B[2].trim();C=B[3].trim();if(C===o){C=null;};if(top===o){top=null;};if(w===o){w=null;};if(y===o){y=null;};if(top!=null){top=parseInt(top,10);};if(w!=null){w=parseInt(w,10);};if(y!=null){y=parseInt(y,10);};if(C!=null){C=parseInt(C,10);};if(w!=null&&C!=null){A=w-C;}else if(w!=null){A=w;};if(y!=null&&top!=null){E=y-top;}else if(y!=null){E=y;};}else {throw new Error(g+x);};};return {left:C||null,top:top||null,width:A||null,height:E||null};},set:function(L,G){if(!G){L.style.clip=m;return;};var M=G.left;var top=G.top;var K=G.width;var J=G.height;var H,I;if(M==null){H=(K==null?o:K+f);M=o;}else {H=(K==null?o:M+K+f);M=M+f;};if(top==null){I=(J==null?o:J+f);top=o;}else {I=(J==null?o:top+J+f);top=top+f;};L.style.clip=b+top+p+H+p+I+p+M+c;},reset:function(N){N.style.clip=n;}}});})();(function(){var a="border-box",b="qx.bom.element.BoxSizing",c="css.boxsizing",d="",e="boxSizing",f="content-box",g=":",h=";";qx.Bootstrap.define(b,{statics:{__dQ:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__dR:function(j){var i=this.__dQ;return i.tags[j.tagName.toLowerCase()]||i.types[j.type];},compile:function(k){if(qx.core.Environment.get(c)){var l=qx.bom.Style.getCssName(qx.core.Environment.get(c));return l+g+k+h;}else {{};};},get:function(m){if(qx.core.Environment.get(c)){return qx.bom.element.Style.get(m,e,null,false)||d;};if(qx.bom.Document.isStandardMode(qx.dom.Node.getWindow(m))){if(!this.__dR(m)){return f;};};return a;},set:function(o,n){if(qx.core.Environment.get(c)){try{o.style[qx.core.Environment.get(c)]=n;}catch(p){{};};}else {{};};},reset:function(q){this.set(q,d);}}});})();(function(){var a="css.float",b="foo",c="css.borderimage.standardsyntax",d="detect",e="borderRadius",f="boxSizing",g="stretch",h="css.borderradius",j="content",k="css.inlineblock",l="css.gradient.filter",m="css.appearance",n="css.opacity",o="div",p="pointerEvents",q="css.gradient.radial",r="css.pointerevents",s="input",t="color",u="string",v="borderImage",w="userSelect",x="styleFloat",y="css.textShadow.filter",z="css.usermodify",A="flexbox",B='url("foo.png") 4 4 4 4 fill stretch',C="css.boxmodel",D="qx.bom.client.Css",E="css.boxshadow",F="appearance",G="-ms-flexbox",H="placeholder",I="-moz-none",J="backgroundImage",K="css.textShadow",L="DXImageTransform.Microsoft.Shadow",M="flex",N="css.alphaimageloaderneeded",O="css.gradient.legacywebkit",P="css.flexboxSyntax",Q="linear-gradient(0deg, #fff, #000)",R="textShadow",S="auto",T="css.borderimage",U="foo.png",V="rgba(1, 2, 3, 0.5)",W="color=#666666,direction=45",X="radial-gradient(0px 0px, cover, red 50%, blue 100%)",Y="rgba",bG="(",bH="-webkit-flex",bI='url("foo.png") 4 4 4 4 stretch',bC="css.gradient.linear",bD="DXImageTransform.Microsoft.Gradient",bE="css.userselect",bF="span",bM="css.boxsizing",bN="-webkit-gradient(linear,0% 0%,100% 100%,from(white), to(red))",bO="mshtml",ca="css.rgba",bJ=");",bK="4 fill",bL="none",bA="startColorStr=#550000FF, endColorStr=#55FFFF00",bR="progid:",bB="css.placeholder",bS="css.userselect.none",bT="css.textoverflow",bX="inline-block",bP="-moz-inline-box",bY="textOverflow",bQ="userModify",bU="boxShadow",bV="cssFloat",bW="border";qx.Bootstrap.define(D,{statics:{__dS:null,getBoxModel:function(){var content=qx.bom.client.Engine.getName()!==bO||!qx.bom.client.Browser.getQuirksMode();return content?j:bW;},getTextOverflow:function(){return qx.bom.Style.getPropertyName(bY);},getPlaceholder:function(){var i=document.createElement(s);return H in i;},getAppearance:function(){return qx.bom.Style.getPropertyName(F);},getBorderRadius:function(){return qx.bom.Style.getPropertyName(e);},getBoxShadow:function(){return qx.bom.Style.getPropertyName(bU);},getBorderImage:function(){return qx.bom.Style.getPropertyName(v);},getBorderImageSyntax:function(){var cc=qx.bom.client.Css.getBorderImage();if(!cc){return null;};var cb=document.createElement(o);if(cc===v){cb.style[cc]=B;if(cb.style.borderImageSource.indexOf(U)>=0&&cb.style.borderImageSlice.indexOf(bK)>=0&&cb.style.borderImageRepeat.indexOf(g)>=0){return true;};}else {cb.style[cc]=bI;if(cb.style[cc].indexOf(U)>=0){return false;};};return null;},getUserSelect:function(){return qx.bom.Style.getPropertyName(w);},getUserSelectNone:function(){var ce=qx.bom.client.Css.getUserSelect();if(ce){var cd=document.createElement(bF);cd.style[ce]=I;return cd.style[ce]===I?I:bL;};return null;},getUserModify:function(){return qx.bom.Style.getPropertyName(bQ);},getFloat:function(){var cf=document.documentElement.style;return cf.cssFloat!==undefined?bV:cf.styleFloat!==undefined?x:null;},getLinearGradient:function(){qx.bom.client.Css.__dS=false;var cj=Q;var cg=document.createElement(o);var ch=qx.bom.Style.getAppliedStyle(cg,J,cj);if(!ch){cj=bN;var ch=qx.bom.Style.getAppliedStyle(cg,J,cj,false);if(ch){qx.bom.client.Css.__dS=true;};};if(!ch){return null;};var ci=/(.*?)\(/.exec(ch);return ci?ci[1]:null;},getFilterGradient:function(){return qx.bom.client.Css.__dT(bD,bA);},getRadialGradient:function(){var cn=X;var ck=document.createElement(o);var cl=qx.bom.Style.getAppliedStyle(ck,J,cn);if(!cl){return null;};var cm=/(.*?)\(/.exec(cl);return cm?cm[1]:null;},getLegacyWebkitGradient:function(){if(qx.bom.client.Css.__dS===null){qx.bom.client.Css.getLinearGradient();};return qx.bom.client.Css.__dS;},getRgba:function(){var co;try{co=document.createElement(o);}catch(cp){co=document.createElement();};try{co.style[t]=V;if(co.style[t].indexOf(Y)!=-1){return true;};}catch(cq){};return false;},getBoxSizing:function(){return qx.bom.Style.getPropertyName(f);},getInlineBlock:function(){var cr=document.createElement(bF);cr.style.display=bX;if(cr.style.display==bX){return bX;};cr.style.display=bP;if(cr.style.display!==bP){return bP;};return null;},getOpacity:function(){return (typeof document.documentElement.style.opacity==u);},getTextShadow:function(){return !!qx.bom.Style.getPropertyName(R);},getFilterTextShadow:function(){return qx.bom.client.Css.__dT(L,W);},__dT:function(cv,ct){var cu=false;var cw=bR+cv+bG+ct+bJ;var cs=document.createElement(o);document.body.appendChild(cs);cs.style.filter=cw;if(cs.filters&&cs.filters.length>0&&cs.filters.item(cv).enabled==true){cu=true;};document.body.removeChild(cs);return cu;},getAlphaImageLoaderNeeded:function(){return qx.bom.client.Engine.getName()==bO&&qx.bom.client.Browser.getDocumentMode()<9;},getPointerEvents:function(){var cx=document.documentElement;if(p in cx.style){var cz=cx.style.pointerEvents;cx.style.pointerEvents=S;cx.style.pointerEvents=b;var cy=cx.style.pointerEvents==S;cx.style.pointerEvents=cz;return cy;};return false;},getFlexboxSyntax:function(){var cB=null;var cA=document.createElement(d);var cC=[{value:M,syntax:M},{value:G,syntax:A},{value:bH,syntax:M}];for(var i=0;i=8){return (h||window).document.documentMode===5;}else {return (h||window).document.compatMode!==b;};},"webkit":function(i){if(document.compatMode===undefined){var j=(i||window).document.createElement(g);j.style.cssText=c;return j.style.width===f?true:false;}else {return (i||window).document.compatMode!==b;};},"default":function(k){return (k||window).document.compatMode!==b;}}),isStandardMode:function(l){return !this.isQuirksMode(l);},getWidth:function(m){var o=(m||window).document;var n=qx.bom.Viewport.getWidth(m);var scroll=this.isStandardMode(m)?o.documentElement.scrollWidth:o.body.scrollWidth;return Math.max(scroll,n);},getHeight:function(p){var r=(p||window).document;var q=qx.bom.Viewport.getHeight(p);var scroll=this.isStandardMode(p)?r.documentElement.scrollHeight:r.body.scrollHeight;return Math.max(scroll,q);}}});})();(function(){var a="ios",b="os.name",c="undefined",d="qx.bom.Viewport";qx.Bootstrap.define(d,{statics:{getWidth:function(e){var e=e||window;var f=e.document;return qx.bom.Document.isStandardMode(e)?f.documentElement.clientWidth:f.body.clientWidth;},getHeight:function(g){var g=g||window;var h=g.document;if(qx.core.Environment.get(b)==a&&window.innerHeight!=h.documentElement.clientHeight){return window.innerHeight;};return qx.bom.Document.isStandardMode(g)?h.documentElement.clientHeight:h.body.clientHeight;},getScrollLeft:function(i){var i=i?i:window;if(typeof i.pageXOffset!==c){return i.pageXOffset;};var j=i.document;return j.documentElement.scrollLeft||j.body.scrollLeft;},getScrollTop:function(k){var k=k?k:window;if(typeof k.pageYOffset!==c){return k.pageYOffset;};var l=k.document;return l.documentElement.scrollTop||l.body.scrollTop;},__eb:function(m){var o=this.getWidth(m)>this.getHeight(m)?90:0;var n=m.orientation;if(n==null||Math.abs(n%180)==o){return {"-270":90,"-180":180,"-90":-90,"0":0,"90":90,"180":180,"270":-90};}else {return {"-270":180,"-180":-90,"-90":0,"0":90,"90":180,"180":-90,"270":0};};},__ec:null,getOrientation:function(p){var p=p||window.top;var q=p.orientation;if(q==null){q=this.getWidth(p)>this.getHeight(p)?90:0;}else {if(this.__ec==null){this.__ec=this.__eb(p);};q=this.__ec[q];};return q;},isLandscape:function(r){var s=this.getOrientation(r);return s===-90||s===90;},isPortrait:function(t){var u=this.getOrientation(t);return u===0||u===180;}}});})();(function(){var a="changeWidth",b="Boolean",c="allowShrinkY",d="_applyAlign",e="_applyStretching",f="bottom",g="Integer",h="changeTheme",i="_applyDimension",j="baseline",k="marginBottom",l="qx.ui.core.LayoutItem",m="center",n="marginTop",o="allowGrowX",p="shorthand",q="middle",r="marginLeft",s="qx.dyntheme",t="allowShrinkX",u="top",v="right",w="marginRight",x="abstract",y="_applyMargin",z="allowGrowY",A="left",B="changeHeight";qx.Class.define(l,{type:x,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);if(qx.core.Environment.get(s)){qx.theme.manager.Meta.getInstance().addListener(h,this._onChangeTheme,this);};},properties:{minWidth:{check:g,nullable:true,apply:i,init:null,themeable:true},width:{check:g,event:a,nullable:true,apply:i,init:null,themeable:true},maxWidth:{check:g,nullable:true,apply:i,init:null,themeable:true},minHeight:{check:g,nullable:true,apply:i,init:null,themeable:true},height:{check:g,event:B,nullable:true,apply:i,init:null,themeable:true},maxHeight:{check:g,nullable:true,apply:i,init:null,themeable:true},allowGrowX:{check:b,apply:e,init:true,themeable:true},allowShrinkX:{check:b,apply:e,init:true,themeable:true},allowGrowY:{check:b,apply:e,init:true,themeable:true},allowShrinkY:{check:b,apply:e,init:true,themeable:true},allowStretchX:{group:[o,t],mode:p,themeable:true},allowStretchY:{group:[z,c],mode:p,themeable:true},marginTop:{check:g,init:0,apply:y,themeable:true},marginRight:{check:g,init:0,apply:y,themeable:true},marginBottom:{check:g,init:0,apply:y,themeable:true},marginLeft:{check:g,init:0,apply:y,themeable:true},margin:{group:[n,w,k,r],mode:p,themeable:true},alignX:{check:[A,m,v],nullable:true,apply:d,themeable:true},alignY:{check:[u,q,f,j],nullable:true,apply:d,themeable:true}},members:{_onChangeTheme:qx.core.Environment.select(s,{"true":function(){var E=qx.util.PropertyUtil.getAllProperties(this.constructor);for(var name in E){var D=E[name];if(D.themeable){var C=qx.util.PropertyUtil.getUserValue(this,name);if(C==null){qx.util.PropertyUtil.resetThemed(this,name);};};};},"false":null}),__ed:null,__ee:null,__ef:null,__eg:null,__eh:null,__ei:null,__ej:null,getBounds:function(){return this.__ei||this.__ee||null;},clearSeparators:function(){},renderSeparator:function(F,G){},renderLayout:function(N,top,K,J){{var L;};var I=null;if(this.getHeight()==null&&this._hasHeightForWidth()){var I=this._getHeightForWidth(K);};if(I!=null&&I!==this.__ed){this.__ed=I;qx.ui.core.queue.Layout.add(this);return null;};var H=this.__ee;if(!H){H=this.__ee={};};var M={};if(N!==H.left||top!==H.top){M.position=true;H.left=N;H.top=top;};if(K!==H.width||J!==H.height){M.size=true;H.width=K;H.height=J;};if(this.__ef){M.local=true;delete this.__ef;};if(this.__eh){M.margin=true;delete this.__eh;};return M;},isExcluded:function(){return false;},hasValidLayout:function(){return !this.__ef;},scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this);},invalidateLayoutCache:function(){this.__ef=true;this.__eg=null;},getSizeHint:function(O){var P=this.__eg;if(P){return P;};if(O===false){return null;};P=this.__eg=this._computeSizeHint();if(this._hasHeightForWidth()&&this.__ed&&this.getHeight()==null){P.height=this.__ed;};if(P.minWidth>P.width){P.width=P.minWidth;};if(P.maxWidthP.height){P.height=P.minHeight;};if(P.maxHeight=0;i-- ){var n=o[i].$$hash;if(p[n]!=null){o[i].addChildrenToQueue(o);};};var l={};for(var i=o.length-1;i>=0;i-- ){var n=o[i].$$hash;l[n]=p[n];p[n]=null;};for(var i=o.length-1;i>=0;i-- ){var m=o[i];var n=m.$$hash;o.splice(i,1);if(p[n]==null){this.__em(m);};if(p[n]&&p[n]!=l[n]){m.checkAppearanceNeeds();};};this.__el=[];}}});})();(function(){var a="qx.util.DeferredCallManager",b="singleton";qx.Class.define(a,{extend:qx.core.Object,type:b,construct:function(){this.__en={};this.__eo=qx.lang.Function.bind(this.__es,this);this.__ep=false;},members:{__eq:null,__er:null,__en:null,__ep:null,__eo:null,schedule:function(d){if(this.__eq==null){this.__eq=window.setTimeout(this.__eo,0);};var c=d.toHashCode();if(this.__er&&this.__er[c]){return;};this.__en[c]=d;this.__ep=true;},cancel:function(f){var e=f.toHashCode();if(this.__er&&this.__er[e]){this.__er[e]=null;return;};delete this.__en[e];if(qx.lang.Object.isEmpty(this.__en)&&this.__eq!=null){window.clearTimeout(this.__eq);this.__eq=null;};},__es:qx.event.GlobalError.observeMethod(function(){this.__eq=null;while(this.__ep){this.__er=qx.lang.Object.clone(this.__en);this.__en={};this.__ep=false;for(var h in this.__er){var g=this.__er[h];if(g){this.__er[h]=null;g.call();};};};this.__er=null;})},destruct:function(){if(this.__eq!=null){window.clearTimeout(this.__eq);};this.__eo=this.__en=null;}});})();(function(){var a="qx.util.DeferredCall";qx.Class.define(a,{extend:qx.core.Object,construct:function(b,c){qx.core.Object.call(this);this.__bH=b;this.__bJ=c||null;this.__et=qx.util.DeferredCallManager.getInstance();},members:{__bH:null,__bJ:null,__et:null,cancel:function(){this.__et.cancel(this);},schedule:function(){this.__et.schedule(this);},call:function(){{var d;};this.__bJ?this.__bH.apply(this.__bJ):this.__bH();}},destruct:function(){this.cancel();this.__bJ=this.__bH=this.__et=null;}});})();(function(){var a="mshtml",b="engine.name",c="pop.push.reverse.shift.sort.splice.unshift.join.slice",d="number",e="qx.type.BaseArray",f=".";qx.Bootstrap.define(e,{extend:Array,construct:function(g){},members:{toArray:null,valueOf:null,pop:null,push:null,reverse:null,shift:null,sort:null,splice:null,unshift:null,concat:null,join:null,slice:null,toString:null,indexOf:null,lastIndexOf:null,forEach:null,filter:null,map:null,some:null,every:null}});(function(){function h(p){if((qx.core.Environment.get(b)==a)){j.prototype={length:0,$$isArray:true};var n=c.split(f);for(var length=n.length;length;){j.prototype[n[ --length]]=Array.prototype[n[length]];};};var m=Array.prototype.slice;j.prototype.concat=function(){var r=this.slice(0);for(var i=0,length=arguments.length;i>.5?length:this.push(length);}else if(arguments.length){this.push.apply(this,arguments);};};function k(){};k.prototype=[];j.prototype=new k;j.prototype.length=0;qx.type.BaseArray=h(j);})();})();(function(){var a="name",b="qxWeb",c="toString",d="$",e="number",f="_",g="data-qx-class",h="basename",j="classname";qx.Bootstrap.define(b,{extend:qx.type.BaseArray,statics:{__eu:[],$$qx:qx,$init:function(p,n){if(p.length&&p.length==1&&p[0]&&p[0].$widget instanceof qxWeb){return p[0].$widget;};var o=[];for(var i=0;i>10|0xD800,fR&0x3FF|0xDC00);};try{fG.apply((ev=eI.call(eH.childNodes)),eH.childNodes);ev[eH.childNodes.length].nodeType;}catch(e){fG={apply:ev.length?function(fT,fS){fD.apply(fT,eI.call(fS));}:function(fV,fU){var j=fV.length,i=0;while((fV[j++ ]=fU[i++ ])){};fV.length=j-1;}};};function fL(gg,fX,gb,gd){var gi,fY,m,fW,i,ge,gh,ga,gf,gc;if((fX?fX.ownerDocument||fX:eH)!==document){eD(fX);};fX=fX||document;gb=gb||[];if(!gg||typeof gg!==T){return gb;};if((fW=fX.nodeType)!==1&&fW!==9){return [];};if(fq&&!gd){if((gi=fF.exec(gg))){if((m=gi[1])){if(fW===9){fY=fX.getElementById(m);if(fY&&fY.parentNode){if(fY.id===m){gb.push(fY);return gb;};}else {return gb;};}else {if(fX.ownerDocument&&(fY=fX.ownerDocument.getElementById(m))&&eN(fX,fY)&&fY.id===m){gb.push(fY);return gb;};};}else if(gi[2]){fG.apply(gb,fX.getElementsByTagName(gg));return gb;}else if((m=gi[3])&&eM.getElementsByClassName&&fX.getElementsByClassName){fG.apply(gb,fX.getElementsByClassName(m));return gb;};};if(eM.qsa&&(!fe||!fe.test(gg))){ga=gh=fa;gf=fX;gc=fW===9&≫if(fW===1&&fX.nodeName.toLowerCase()!==dA){ge=eV(gg);if((gh=fX.getAttribute(N))){ga=gh.replace(fm,ef);}else {fX.setAttribute(N,ga);};ga=dY+ga+f;i=ge.length;while(i-- ){ge[i]=ga+eQ(ge[i]);};gf=fc.test(gg)&&eC(fX.parentNode)||fX;gc=ge.join(ek);};if(gc){try{fG.apply(gb,gf.querySelectorAll(gc));return gb;}catch(gj){}finally{if(!gh){fX.removeAttribute(N);};};};};};return eG(gg.replace(fp,dN),fX,gb,gd);};function ey(){var gk=[];function gl(gm,gn){if(gk.push(gm+cV)>fM.cacheLength){delete gl[gk.shift()];};return (gl[gm+cV]=gn);};return gl;};function fy(go){go[fa]=true;return go;};function fk(gq){var gp=document.createElement(k);try{return !!gq(gp);}catch(e){return false;}finally{if(gp.parentNode){gp.parentNode.removeChild(gp);};gp=null;};};function fo(gt,gs){var gr=gt.split(dv),i=gt.length;while(i-- ){fM.attrHandle[gr[i]]=gs;};};function eY(a,b){var gv=b&&a,gu=gv&&a.nodeType===1&&b.nodeType===1&&(~b.sourceIndex||ft)-(~a.sourceIndex||ft);if(gu){return gu;};if(gv){while((gv=gv.nextSibling)){if(gv===b){return -1;};};};return a?1:-1;};function fE(gw){return function(gx){var name=gx.nodeName.toLowerCase();return name===l&&gx.type===gw;};};function er(gy){return function(gz){var name=gz.nodeName.toLowerCase();return (name===l||name===de)&&gz.type===gy;};};function fi(gA){return fy(function(gB){gB=+gB;return fy(function(gE,gC){var j,gD=gA([],gE.length,gB),i=gD.length;while(i-- ){if(gE[(j=gD[i])]){gE[j]=!(gC[j]=gE[j]);};};});});};function eC(gF){return gF&&typeof gF.getElementsByTagName!==eR&&gF;};eM=fL.support={};eB=fL.isXML=function(gG){var gH=gG&&(gG.ownerDocument||gG).documentElement;return gH?gH.nodeName!==eh:false;};eD=fL.setDocument=function(gI){var gK,gJ=gI?gI.ownerDocument||gI:eH,parent=gJ.defaultView;if(gJ===document||gJ.nodeType!==9||!gJ.documentElement){return document;};document=gJ;fK=gJ.documentElement;fq=!eB(gJ);if(parent&&parent!==parent.top){if(parent.addEventListener){parent.addEventListener(M,function(){eD();},false);}else if(parent.attachEvent){parent.attachEvent(dk,function(){eD();});};};eM.attributes=fk(function(gL){gL.className=C;return !gL.getAttribute(dP);});eM.getElementsByTagName=fk(function(gM){gM.appendChild(gJ.createComment(eb));return !gM.getElementsByTagName(z).length;});eM.getElementsByClassName=fz.test(gJ.getElementsByClassName)&&fk(function(gN){gN.innerHTML=cU;gN.firstChild.className=C;return gN.getElementsByClassName(C).length===2;});eM.getById=fk(function(gO){fK.appendChild(gO).id=fa;return !gJ.getElementsByName||!gJ.getElementsByName(fa).length;});if(eM.getById){fM.find[ej]=function(gP,gQ){if(typeof gQ.getElementById!==eR&&fq){var m=gQ.getElementById(gP);return m&&m.parentNode?[m]:[];};};fM.filter[ej]=function(gS){var gR=gS.replace(eu,fs);return function(gT){return gT.getAttribute(N)===gR;};};}else {delete fM.find[ej];fM.filter[ej]=function(gV){var gU=gV.replace(eu,fs);return function(gX){var gW=typeof gX.getAttributeNode!==eR&&gX.getAttributeNode(N);return gW&&gW.value===gU;};};};fM.find[dF]=eM.getElementsByTagName?function(gY,ha){if(typeof ha.getElementsByTagName!==eR){return ha.getElementsByTagName(gY);};}:function(he,hf){var hc,hb=[],i=0,hd=hf.getElementsByTagName(he);if(he===z){while((hc=hd[i++ ])){if(hc.nodeType===1){hb.push(hc);};};return hb;};return hd;};fM.find[g]=eM.getElementsByClassName&&function(hg,hh){if(typeof hh.getElementsByClassName!==eR&&fq){return hh.getElementsByClassName(hg);};};eq=[];fe=[];if((eM.qsa=fz.test(gJ.querySelectorAll))){fk(function(hi){hi.innerHTML=da;if(hi.querySelectorAll(I).length){fe.push(dW+eK+dR);};if(!hi.querySelectorAll(cM).length){fe.push(dm+eK+t+fd+dd);};if(!hi.querySelectorAll(ee).length){fe.push(ee);};});fk(function(hk){var hj=gJ.createElement(l);hj.setAttribute(cN,cW);hk.appendChild(hj).setAttribute(dn,dp);if(hk.querySelectorAll(W).length){fe.push(dn+eK+eo);};if(!hk.querySelectorAll(dO).length){fe.push(dO,h);};hk.querySelectorAll(dV);fe.push(dU);});};if((eM.matchesSelector=fz.test((ff=fK.webkitMatchesSelector||fK.mozMatchesSelector||fK.oMatchesSelector||fK.msMatchesSelector)))){fk(function(hl){eM.disconnectedMatch=ff.call(hl,k);ff.call(hl,S);eq.push(dx,fg);});};fe=fe.length&&new RegExp(fe.join(dv));eq=eq.length&&new RegExp(eq.join(dv));gK=fz.test(fK.compareDocumentPosition);eN=gK||fz.test(fK.contains)?function(a,b){var hm=a.nodeType===9?a.documentElement:a,hn=b&&b.parentNode;return a===hn||!!(hn&&hn.nodeType===1&&(hm.contains?hm.contains(hn):a.compareDocumentPosition&&a.compareDocumentPosition(hn)&16));}:function(a,b){if(b){while((b=b.parentNode)){if(b===a){return true;};};};return false;};eT=gK?function(a,b){if(a===b){eF=true;return 0;};var ho=!a.compareDocumentPosition-!b.compareDocumentPosition;if(ho){return ho;};ho=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1;if(ho&1||(!eM.sortDetached&&b.compareDocumentPosition(a)===ho)){if(a===gJ||a.ownerDocument===eH&&eN(eH,a)){return -1;};if(b===gJ||b.ownerDocument===eH&&eN(eH,b)){return 1;};return eE?(eS.call(eE,a)-eS.call(eE,b)):0;};return ho&4?-1:1;}:function(a,b){if(a===b){eF=true;return 0;};var hp,i=0,hq=a.parentNode,hr=b.parentNode,hs=[a],ht=[b];if(!hq||!hr){return a===gJ?-1:b===gJ?1:hq?-1:hr?1:eE?(eS.call(eE,a)-eS.call(eE,b)):0;}else if(hq===hr){return eY(a,b);};hp=a;while((hp=hp.parentNode)){hs.unshift(hp);};hp=b;while((hp=hp.parentNode)){ht.unshift(hp);};while(hs[i]===ht[i]){i++ ;};return i?eY(hs[i],ht[i]):hs[i]===eH?-1:ht[i]===eH?1:0;};return gJ;};fL.matches=function(hu,hv){return fL(hu,null,null,hv);};fL.matchesSelector=function(hx,hw){if((hx.ownerDocument||hx)!==document){eD(hx);};hw=hw.replace(fj,E);if(eM.matchesSelector&&fq&&(!eq||!eq.test(hw))&&(!fe||!fe.test(hw))){try{var hy=ff.call(hx,hw);if(hy||eM.disconnectedMatch||hx.document&&hx.document.nodeType!==11){return hy;};}catch(e){};};return fL(hw,document,null,[hx]).length>0;};fL.contains=function(hA,hz){if((hA.ownerDocument||hA)!==document){eD(hA);};return eN(hA,hz);};fL.attr=function(hC,name){if((hC.ownerDocument||hC)!==document){eD(hC);};var hB=fM.attrHandle[name.toLowerCase()],hD=hB&&fA.call(fM.attrHandle,name.toLowerCase())?hB(hC,name,!fq):undefined;return hD!==undefined?hD:eM.attributes||!fq?hC.getAttribute(name):(hD=hC.getAttributeNode(name))&&hD.specified?hD.value:null;};fL.error=function(hE){throw new Error(em+hE);};fL.uniqueSort=function(hG){var hH,hF=[],j=0,i=0;eF=!eM.detectDuplicates;eE=!eM.sortStable&&hG.slice(0);hG.sort(eT);if(eF){while((hH=hG[i++ ])){if(hH===hG[i]){j=hF.push(i);};};while(j-- ){hG.splice(hF[j],1);};};eE=null;return hG;};ew=fL.getText=function(hK){var hI,hL=eb,i=0,hJ=hK.nodeType;if(!hJ){while((hI=hK[i++ ])){hL+=ew(hI);};}else if(hJ===1||hJ===9||hJ===11){if(typeof hK.textContent===T){return hK.textContent;}else {for(hK=hK.firstChild;hK;hK=hK.nextSibling){hL+=ew(hK);};};}else if(hJ===3||hJ===4){return hK.nodeValue;};return hL;};fM=fL.selectors={cacheLength:50,createPseudo:fy,match:fB,attrHandle:{},find:{},relative:{">":{dir:cI,first:true}," ":{dir:cI},"+":{dir:v,first:true},"~":{dir:v}},preFilter:{"ATTR":function(hM){hM[1]=hM[1].replace(eu,fs);hM[3]=(hM[4]||hM[5]||eb).replace(eu,fs);if(hM[2]===u){hM[3]=cV+hM[3]+cV;};return hM.slice(0,4);},"CHILD":function(hN){hN[1]=hN[1].toLowerCase();if(hN[1].slice(0,3)===o){if(!hN[3]){fL.error(hN[0]);};hN[4]=+(hN[4]?hN[5]+(hN[6]||1):2*(hN[3]===cY||hN[3]===dq));hN[5]=+((hN[7]+hN[8])||hN[3]===dq);}else if(hN[3]){fL.error(hN[0]);};return hN;},"PSEUDO":function(hP){var hQ,hO=!hP[5]&&hP[2];if(fB[ea].test(hP[0])){return null;};if(hP[3]&&hP[4]!==undefined){hP[2]=hP[4];}else if(hO&&fu.test(hO)&&(hQ=eV(hO,true))&&(hQ=hO.indexOf(dd,hO.length-hQ)-hO.length)){hP[0]=hP[0].slice(0,hQ);hP[2]=hO.slice(0,hQ);};return hP.slice(0,3);}},filter:{"TAG":function(hR){var hS=hR.replace(eu,fs).toLowerCase();return hR===z?function(){return true;}:function(hT){return hT.nodeName&&hT.nodeName.toLowerCase()===hS;};},"CLASS":function(hU){var hV=es[hU+cV];return hV||(hV=new RegExp(d+eK+dd+hU+cS+eK+dE))&&es(hU,function(hW){return hV.test(typeof hW.className===T&&hW.className||typeof hW.getAttribute!==eR&&hW.getAttribute(dr)||eb);});},"ATTR":function(name,hX,hY){return function(ia){var ib=fL.attr(ia,name);if(ib==null){return hX===dx;};if(!hX){return true;};ib+=eb;return hX===L?ib===hY:hX===dx?ib!==hY:hX===G?hY&&ib.indexOf(hY)===0:hX===du?hY&&ib.indexOf(hY)>-1:hX===R?hY&&ib.slice(-hY.length)===hY:hX===u?(cV+ib+cV).indexOf(hY)>-1:hX===dl?ib===hY||ib.slice(0,hY.length+1)===hY+c:false;};},"CHILD":function(ij,ic,ii,ik,ie){var ih=ij.slice(0,3)!==o,forward=ij.slice(-4)!==ei,ig=ic===dG;return ik===1&&ie===0?function(il){return !!il.parentNode;}:function(ir,iu,im){var iq,iv,io,iw,ip,is,ix=ih!==forward?Q:v,parent=ir.parentNode,name=ig&&ir.nodeName.toLowerCase(),it=!im&&!ig;if(parent){if(ih){while(ix){io=ir;while((io=io[ix])){if(ig?io.nodeName.toLowerCase()===name:io.nodeType===1){return false;};};is=ix=ij===y&&!is&&Q;};return true;};is=[forward?parent.firstChild:parent.lastChild];if(forward&&it){iv=parent[fa]||(parent[fa]={});iq=iv[ij]||[];ip=iq[0]===eW&&iq[1];iw=iq[0]===eW&&iq[2];io=ip&&parent.childNodes[ip];while((io= ++ip&&io&&io[ix]||(iw=ip=0)||is.pop())){if(io.nodeType===1&& ++iw&&io===ir){iv[ij]=[eW,ip,iw];break;};};}else if(it&&(iq=(ir[fa]||(ir[fa]={}))[ij])&&iq[0]===eW){iw=iq[1];}else {while((io= ++ip&&io&&io[ix]||(iw=ip=0)||is.pop())){if((ig?io.nodeName.toLowerCase()===name:io.nodeType===1)&& ++iw){if(it){(io[fa]||(io[fa]={}))[ij]=[eW,iw];};if(io===ir){break;};};};};iw-=ie;return iw===ik||(iw%ik===0&&iw/ik>=0);};};},"PSEUDO":function(iz,iA){var iy,iB=fM.pseudos[iz]||fM.setFilters[iz.toLowerCase()]||fL.error(cR+iz);if(iB[fa]){return iB(iA);};if(iB.length>1){iy=[iz,iz,eb,iA];return fM.setFilters.hasOwnProperty(iz.toLowerCase())?fy(function(iD,iC){var iE,iF=iB(iD,iA),i=iF.length;while(i-- ){iE=eS.call(iD,iF[i]);iD[iE]=!(iC[iE]=iF[i]);};}):function(iG){return iB(iG,0,iy);};};return iB;}},pseudos:{"not":fy(function(iI){var iH=[],iJ=[],iK=fC(iI.replace(fp,dN));return iK[fa]?fy(function(iP,iM,iQ,iL){var iN,iO=iK(iP,null,iL,[]),i=iP.length;while(i-- ){if((iN=iO[i])){iP[i]=!(iM[i]=iN);};};}):function(iS,iT,iR){iH[0]=iS;iK(iH,null,iR,iJ);return !iJ.pop();};}),"has":fy(function(iU){return function(iV){return fL(iU,iV).length>0;};}),"contains":fy(function(iW){return function(iX){return (iX.textContent||iX.innerText||ew(iX)).indexOf(iW)>-1;};}),"lang":fy(function(iY){if(!eX.test(iY||eb)){fL.error(A+iY);};iY=iY.replace(eu,fs).toLowerCase();return function(jb){var ja;do {if((ja=fq?jb.lang:jb.getAttribute(x)||jb.getAttribute(dt))){ja=ja.toLowerCase();return ja===iY||ja.indexOf(iY+c)===0;};}while((jb=jb.parentNode)&&jb.nodeType===1);return false;};}),"target":function(jd){var jc=window.location&&window.location.hash;return jc&&jc.slice(1)===jd.id;},"root":function(je){return je===fK;},"focus":function(jf){return jf===document.activeElement&&(!document.hasFocus||document.hasFocus())&&!!(jf.type||jf.href||~jf.tabIndex);},"enabled":function(jg){return jg.disabled===false;},"disabled":function(jh){return jh.disabled===true;},"checked":function(ji){var jj=ji.nodeName.toLowerCase();return (jj===l&&!!ji.checked)||(jj===dh&&!!ji.selected);},"selected":function(jk){if(jk.parentNode){jk.parentNode.selectedIndex;};return jk.selected===true;},"empty":function(jl){for(jl=jl.firstChild;jl;jl=jl.nextSibling){if(jl.nodeType<6){return false;};};return true;},"parent":function(jm){return !fM.pseudos[dK](jm);},"header":function(jn){return et.test(jn.nodeName);},"input":function(jo){return fl.test(jo.nodeName);},"button":function(jp){var name=jp.nodeName.toLowerCase();return name===l&&jp.type===de||name===de;},"text":function(jq){var jr;return jq.nodeName.toLowerCase()===l&&jq.type===O&&((jr=jq.getAttribute(cN))==null||jr.toLowerCase()===O);},"first":fi(function(){return [0];}),"last":fi(function(js,length){return [length-1];}),"eq":fi(function(jt,length,ju){return [ju<0?ju+length:ju];}),"even":fi(function(jv,length){var i=0;for(;i=0;){jx.push(i);};return jx;}),"gt":fi(function(jz,length,jA){var i=jA<0?jA+length:jA;for(; ++i1?function(kg,kh,kf){var i=ke.length;while(i-- ){if(!ke[i](kg,kh,kf)){return false;};};return true;}:ke[0];};function fw(kl,ki,kj){var i=0,kk=ki.length;for(;i-1){kJ[kC]=!(kE[kC]=kG);};};};}else {kH=ex(kH===kE?kH.splice(kD,kH.length):kH);if(kv){kv(null,kE,kH,kB);}else {fG.apply(kE,kH);};};});};function fb(kS){var kN,kP,j,kQ=kS.length,kO=fM.relative[kS[0].type],kV=kO||fM.relative[cV],i=kO?1:0,kU=eO(function(kW){return kW===kN;},kV,true),kR=eO(function(kX){return eS.call(kN,kX)>-1;},kV,true),kT=[function(la,lb,kY){return (!kO&&(kY||lb!==ep))||((kN=lb).nodeType?kU(la,lb,kY):kR(la,lb,kY));}];for(;i1&&eP(kT),i>1&&eQ(kS.slice(0,i-1).concat({value:kS[i-2].type===cV?z:eb})).replace(fp,dN),kP,i0,le=lg.length>0,lf=function(lp,ls,lh,ll,lk){var ln,j,lt,li=0,i=df,lm=lp&&[],lo=[],lj=ep,lu=lp||le&&fM.find[dF](z,lk),lq=(eW+=lj==null?1:Math.random()||0.1),lr=lu.length;if(lk){ep=ls!==document&&ls;};for(;i!==lr&&(ln=lu[i])!=null;i++ ){if(le&&ln){j=0;while((lt=lg[j++ ])){if(lt(ln,ls,lh)){ll.push(ln);break;};};if(lk){eW=lq;};};if(lc){if((ln=!lt&&ln)){li-- ;};if(lp){lm.push(ln);};};};li+=i;if(lc&&i!==li){j=0;while((lt=ld[j++ ])){lt(lm,lo,ls,lh);};if(lp){if(li>0){while(i-- ){if(!(lm[i]||lo[i])){lo[i]=ez.call(ll);};};};lo=ex(lo);};fG.apply(ll,lo);if(lk&&!lp&&lo.length>0&&(li+ld.length)>1){fL.uniqueSort(ll);};};if(lk){eW=lq;ep=lj;};return lm;};return lc?fy(lf):lf;};fC=fL.compile=function(lw,lz){var i,ly=[],lv=[],lx=fI[lw+cV];if(!lx){if(!lz){lz=eV(lw);};i=lz.length;while(i-- ){lx=fb(lz[i]);if(lx[fa]){ly.push(lx);}else {lv.push(lx);};};lx=fI(lw,eU(lv,ly));lx.selector=lw;};return lx;};eG=fL.select=function(lC,lG,lB,lF){var i,lD,lE,lH,find,lA=typeof lC===db&&lC,lI=!lF&&eV((lC=lA.selector||lC));lB=lB||[];if(lI.length===1){lD=lI[0]=lI[0].slice(0);if(lD.length>2&&(lE=lD[0]).type===ej&&eM.getById&&lG.nodeType===9&&fq&&fM.relative[lD[1].type]){lG=(fM.find[ej](lE.matches[0].replace(eu,fs),lG)||[])[0];if(!lG){return lB;}else if(lA){lG=lG.parentNode;};lC=lC.slice(lD.shift().value.length);};i=fB[P].test(lC)?0:lD.length;while(i-- ){lE=lD[i];if(fM.relative[(lH=lE.type)]){break;};if((find=fM.find[lH])){if((lF=find(lE.matches[0].replace(eu,fs),fc.test(lD[0].type)&&eC(lG.parentNode)||lG))){lD.splice(i,1);lC=lF.length&&eQ(lD);if(!lC){fG.apply(lB,lF);return lB;};break;};};};};(lA||fC(lC,lI))(lF,lG,!fq,lB,fc.test(lC)&&eC(lG.parentNode)||lG);return lB;};eM.sortStable=fa.split(eb).sort(eT).join(eb)===fa;eM.detectDuplicates=!!eF;eD();eM.sortDetached=fk(function(lJ){return lJ.compareDocumentPosition(document.createElement(k))&1;});if(!fk(function(lK){lK.innerHTML=dD;return lK.firstChild.getAttribute(cJ)===cL;})){fo(q,function(lL,name,lM){if(!lM){return lL.getAttribute(name,name.toLowerCase()===cN?1:2);};});};if(!eM.attributes||!fk(function(lN){lN.innerHTML=dy;lN.firstChild.setAttribute(dH,eb);return lN.firstChild.getAttribute(dH)===eb;})){fo(dH,function(lO,name,lP){if(!lP&&lO.nodeName.toLowerCase()===l){return lO.defaultValue;};});};if(!fk(function(lQ){return lQ.getAttribute(s)==null;})){fo(fd,function(lS,name,lR){var lT;if(!lR){return lS[name]===true?name.toLowerCase():(lT=lS.getAttributeNode(name))&&lT.specified?lT.value:null;};});};qx.bom.Selector.query=function(lV,lU){return fL(lV,lU);};qx.bom.Selector.matches=function(lX,lW){return fL(lX,null,null,lW);};})(window);})();(function(){var a="qx.module.Polyfill";qx.Bootstrap.define(a,{});})();(function(){var a="foo",b="function",c="event.mouseevent",d="event.help",e="qx.bom.client.Event",f="event.dispatchevent",g="mousewheel",h="event.touch",j="onhelp",k="event.hashchange",l="PointerEvent",m="pointerEnabled",n="event.customevent",o="documentMode",p="ontouchstart",q="mshtml",r="onhashchange",s="event.mousewheel",t="wheel",u="DOMMouseScroll",v="msPointerEnabled",w="event.mspointer";qx.Bootstrap.define(e,{statics:{getTouch:function(){return (p in window);},getMsPointer:function(){if(l in window){return true;};if(m in window.navigator){return window.navigator.pointerEnabled;}else if(v in window.navigator){return window.navigator.msPointerEnabled;};return false;},getHelp:function(){return (j in document);},getHashChange:function(){var x=qx.bom.client.Engine.getName();var y=r in window;return (x!==q&&y)||(x===q&&o in document&&document.documentMode>=8&&y);},getDispatchEvent:function(){return typeof document.dispatchEvent==b;},getCustomEvent:function(){if(!window.CustomEvent){return false;};try{new window.CustomEvent(a);return true;}catch(z){return false;};},getMouseEvent:function(){if(!window.MouseEvent){return false;};try{new window.MouseEvent(a);return true;}catch(A){return false;};},getMouseWheel:function(B){if(!B){B=window;};var E=[B,B.document,B.document.body];var D=B;var C=u;for(var i=0;i0||window.navigator.msMaxTouchPoints>0);}},defer:function(I){qx.core.Environment.add(v,I.getName);qx.core.Environment.add(w,I.getTouch);qx.core.Environment.add(e,I.getType);qx.core.Environment.add(y,I.getDevicePixelRatio);}});})();(function(){var a="engine.name",b="event.mspointer",c="device.type",d="env",e="engine.version",f="qx.module.Environment",g="browser.version",h="event.touch",i="device.name",j="browser.quirksmode",k="browser.name",l="browser.documentmode";qx.Bootstrap.define(f,{statics:{get:function(m){return qx.core.Environment.get(m);},add:function(n,o){qx.core.Environment.add(n,o);return this;}},defer:function(p){qx.core.Environment.get(k);qx.core.Environment.get(g);qx.core.Environment.get(j);qx.core.Environment.get(l);qx.core.Environment.get(a);qx.core.Environment.get(e);qx.core.Environment.get(i);qx.core.Environment.get(c);qx.core.Environment.get(h);qx.core.Environment.get(b);qxWeb.$attachAll(this,d);}});})();(function(){var a="mshtml",b="engine.name",c="complete",d="Array",f="pointerout",g="pointerover",h="string",n="load",o="left",p="qx.module.Event",q="undefined",r="DOMContentLoaded",s="browser.documentmode",t="*";qx.Bootstrap.define(p,{statics:{__ev:{},__ew:{on:{},off:{}},__cU:false,ready:function(u){if(document.readyState===c){window.setTimeout(u,1);return;};var v=function(){qx.module.Event.__cU=true;u();};qxWeb(window).on(n,v);var w=function(){qxWeb(window).off(n,v);u();};if(qxWeb.env.get(b)!==a||qxWeb.env.get(s)>8){qx.bom.Event.addNativeListener(document,r,w);}else {var z=function(){if(qx.module.Event.__cU){return;};try{document.documentElement.doScroll(o);if(document.body){w();};}catch(A){window.setTimeout(z,100);};};z();};},$registerEventNormalization:function(E,B){if(!qx.lang.Type.isArray(E)){E=[E];};var C=qx.module.Event.__ev;for(var i=0,l=E.length;i0;},copyEventsTo:function(bT){var bR=this.concat();var bS=bT.concat();for(var i=bR.length-1;i>=0;i-- ){var bO=bR[i].getElementsByTagName(t);for(var j=0;j=0;i-- ){var bO=bS[i].getElementsByTagName(t);for(var j=0;j=0;j-- ){var bQ=bP[name][j].listener;if(bQ.original){bQ=bQ.original;};qxWeb(bS[i]).on(name,bQ,bP[name][j].ctx);};};};},hover:function(bV,bW){this.on(g,bV,this);if(qx.lang.Type.isFunction(bW)){this.on(f,bW,this);};return this;},onMatchTarget:function(bY,ca,cc,cb){cb=cb!==undefined?cb:this;var bX=function(e){var cd=qxWeb(e.getTarget());var ce=typeof ca==h?this.find(ca):qxWeb(ca);if(cd.is(ca)){cc.call(cb,cd,qxWeb.object.clone(e));}else {for(var i=0,l=ce.length;i=0;i-- ){var cn=cm[i];if(cn.type==ch&&cn.callback==ck&&cn.context==cj){this.off(ch,cn.listener);cm.splice(i,1);};};if(cm.length===0){cl.$$matchTargetInfo=null;};};},this);return this;},hasMatchListener:function(ct,co,cp,cq){cq=cq!==undefined?cq:this;for(var j=0,l=this.length;j=0;i-- ){var cr=cs[i];if(cr.type==ct&&cr.callback==cp&&cr.target==co&&cr.context==cq){return true;};};};return false;}},defer:function(cu){qxWeb.$attachAll(this);qxWeb.$attachStatic({"$registerEventNormalization":cu.$registerEventNormalization,"$unregisterEventNormalization":cu.$unregisterEventNormalization,"$getEventNormalizationRegistry":cu.$getEventNormalizationRegistry,"$registerEventHook":cu.$registerEventHook,"$unregisterEventHook":cu.$unregisterEventHook,"$getEventHookRegistry":cu.$getEventHookRegistry});}});})();(function(){var a="qx.module.event.PointerHandler",b="pointerup",c="event.dispatchevent",d="gesturemove",e="pointerover",f="gesturebegin",g="pointerdown",h="pointermove",i="gesturefinish",j="qx.event.handler.Pointer",k="gesturecancel",l="pointercancel",m="pointerout";qx.Bootstrap.define(a,{statics:{TYPES:[h,e,m,g,b,l,f,d,i,k],register:function(o,n){if(!o.$$pointerHandler){if(!qx.core.Environment.get(c)){if(!o.$$emitter){o.$$emitter=new qx.event.Emitter();};};o.$$pointerHandler=new qx.event.handler.PointerCore(o,o.$$emitter);};},unregister:function(r){if(r.$$pointerHandler){if(r.$$pointerHandler.classname===j){return;};var p=r.$$emitter.getListeners();for(var q in p){if(qx.module.event.PointerHandler.TYPES.indexOf(q)!==-1){if(p[q].length>0){return;};};};r.$$pointerHandler.dispose();r.$$pointerHandler=undefined;};}},defer:function(s){qxWeb.$registerEventHook(s.TYPES,s.register,s.unregister);}});})();(function(){var a="touchmove",b="os.name",c="mousedown",d="event.dispatchevent",e="MSPointerDown",f="gesturemove",g="pointerover",h="touch",k="mouseout",m="ms",n="Processed",o="pointercancel",p="pointerleave",q="touchstart",r="pointerenter",s="mouse",t="event.mspointer",u="mousemove",v="MSPointerCancel",w="gesturefinish",z="browser.documentmode",A="pointerup",B="touchend",C="osx",D="mouseover",E="$$qx",F="pointerdown",G="MSPointerUp",H="pointermove",I="MSPointerOver",J="gecko",K="mshtml",L="engine.name",M="mouseup",N="touchcancel",O="contextmenu",P="gesturecancel",Q="MSPointerMove",R="MSPointerOut",S="gesturebegin",T="qx.event.handler.PointerCore",U=".",V="device.touch",W="pointerout";qx.Bootstrap.define(T,{extend:Object,statics:{MOUSE_TO_POINTER_MAPPING:{mousedown:F,mouseup:A,mousemove:H,mouseout:W,mouseover:g},TOUCH_TO_POINTER_MAPPING:{touchstart:F,touchend:A,touchmove:H,touchcancel:o},MSPOINTER_TO_POINTER_MAPPING:{MSPointerDown:F,MSPointerMove:H,MSPointerUp:A,MSPointerCancel:o,MSPointerLeave:p,MSPointerEnter:r,MSPointerOver:g,MSPointerOut:W},POINTER_TO_GESTURE_MAPPING:{pointerdown:S,pointerup:w,pointercancel:P,pointermove:f},LEFT_BUTTON:(qx.core.Environment.get(L)==K&&qx.core.Environment.get(z)<=8)?1:0,SIM_MOUSE_DISTANCE:25,SIM_MOUSE_DELAY:2500,__ez:null},construct:function(ba,bb){this.__eA=ba;this.__eB=bb;this.__eC=[];this.__eD=[];this.__eE=[];this._processedFlag=E+this.classname.substr(this.classname.lastIndexOf(U)+1)+n;var Y=qx.core.Environment.get(L);var X=parseInt(qx.core.Environment.get(z),10);if(Y==K&&X==10){this.__eC=[e,Q,G,v,I,R,F,H,A,o,g,W];this._initPointerObserver();}else {if(qx.core.Environment.get(t)){this.__eF=true;};this.__eC=[F,H,A,o,g,W];this._initPointerObserver();};if(!qx.core.Environment.get(t)){if(qx.core.Environment.get(V)){this.__eC=[q,B,a,N];this._initObserver(this._onTouchEvent);};this.__eC=[c,M,u,D,k,O];this._initObserver(this._onMouseEvent);};},members:{__eA:null,__eB:null,__eC:null,__eF:false,__eG:null,__eH:0,__eD:null,__eI:null,__eE:null,_processedFlag:null,_initPointerObserver:function(){this._initObserver(this._onPointerEvent);},_initObserver:function(bc,bd){this.__eG=qx.lang.Function.listener(bc,this);this.__eC.forEach(function(be){if(bd&&qx.dom.Node.isDocument(this.__eA)){if(!this.__eA.$$emitter){this.__eA.$$emitter=new qx.event.Emitter();};this.__eA.$$emitter.on(be,this.__eG);}else {qx.bom.Event.addNativeListener(this.__eA,be,this.__eG);};}.bind(this));},_onPointerEvent:function(bh){if(!qx.core.Environment.get(t)||(qx.core.Environment.get(z)===10&&bh.type.toLowerCase().indexOf(m)==-1)){return;};if(!this.__eF){bh.stopPropagation();};var bf=qx.event.handler.PointerCore.MSPOINTER_TO_POINTER_MAPPING[bh.type]||bh.type;var bi=qx.bom.Event.getTarget(bh);var bg=new qx.event.type.dom.Pointer(bf,bh);this._fireEvent(bg,bf,bi);},_onTouchEvent:function(bl){if(bl[this._processedFlag]){return;};bl[this._processedFlag]=true;var bm=qx.event.handler.PointerCore.TOUCH_TO_POINTER_MAPPING[bl.type];var bo=bl.changedTouches;this._determineActiveTouches(bl.type,bo);if(bl.touches.length=0;i-- ){var bq=new qx.event.type.dom.Pointer(o,bl,{identifier:this.__eE[i].identifier,target:bl.target,pointerType:h,pointerId:this.__eE[i].identifier+2});this._fireEvent(bq,o,bl.target);};this.__eI=null;this.__eE=[];return;};if(bl.type==q&&this.__eI===null){this.__eI=bo[0].identifier;};for(var i=0,l=bo.length;i1){return;};if(bt.type==M&&bw>0){return;};if(bt.type==O){this.__eD[bt.which]=0;return;};var by=new qx.event.type.dom.Pointer(bv,bt,bz);this._fireEvent(by,bv,bu);},_determineActiveTouches:function(bD,bC){if(bD==q){for(var i=0;i=8){bj.READONLY_PROPERTIES=bj.READONLY_PROPERTIES.concat(bj.MOUSE_PROPERTIES);};}});})();(function(){var a="qx.event.Emitter",b="*";qx.Bootstrap.define(a,{extend:Object,statics:{__eJ:[]},members:{__ex:null,__eK:null,on:function(name,c,d){var e=qx.event.Emitter.__eJ.length;this.__eL(name).push({listener:c,ctx:d,id:e,name:name});qx.event.Emitter.__eJ.push({name:name,listener:c,ctx:d});return e;},once:function(name,f,g){var h=qx.event.Emitter.__eJ.length;this.__eL(name).push({listener:f,ctx:g,once:true,id:h});qx.event.Emitter.__eJ.push({name:name,listener:f,ctx:g});return h;},off:function(name,m,k){var l=this.__eL(name);for(var i=l.length-1;i>=0;i-- ){var n=l[i];if(n.listener==m&&n.ctx==k){l.splice(i,1);qx.event.Emitter.__eJ[n.id]=null;return n.id;};};return null;},offById:function(p){var o=qx.event.Emitter.__eJ[p];if(o){this.off(o.name,o.listener,o.ctx);};return null;},addListener:function(name,q,r){return this.on(name,q,r);},addListenerOnce:function(name,s,t){return this.once(name,s,t);},removeListener:function(name,u,v){this.off(name,u,v);},removeListenerById:function(w){this.offById(w);},emit:function(name,A){var x=this.__eL(name).concat();var y=[];for(var i=0;i=0;i-- ){var z=x[i];z.listener.call(z.ctx,A);};},getListeners:function(){return this.__ex;},getEntryById:function(F){for(var name in this.__ex){var E=this.__ex[name];for(var i=0,j=E.length;i=t.scrollWidth){return Math.max(t.clientWidth,t.scrollWidth)-s-w;}else {var u=t.scrollWidth-s;if(qx.core.Environment.get(b)==a){u-=w;};return u;};};},getContentHeight:function(B){var x=qx.bom.element.Style;var A=qx.bom.element.Style.get(B,k);var z=parseInt(x.get(B,i)||d,10);var y=parseInt(x.get(B,h)||d,10);if(this.__eP[A]){return B.clientHeight-z-y;}else {if(B.clientHeight>=B.scrollHeight){return Math.max(B.clientHeight,B.scrollHeight)-z-y;}else {return B.scrollHeight-z;};};},getContentSize:function(C){return {width:this.getContentWidth(C),height:this.getContentHeight(C)};}}});})();(function(){var b="function",c="html.video.h264",d="html.element.contains",f='video/ogg; codecs="theora, vorbis"',g="qxtest",h="html.console",i="html.xul",j="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",k="html.video.ogg",l="http://www.w3.org/TR/SVG11/feature#BasicStructure",m="html.storage.local",n="div",o="qx.bom.client.Html",p="getSelection",q='audio',r='video/mp4; codecs="avc1.42E01E, mp4a.40.2"',s="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",t="html.audio",u="video",w="url(#default#VML)",x="head",y="audio",z="audio/mpeg",A="org.w3c.dom.svg",B="html.classlist",C="html.svg",D="html.video",E="html.geolocation",F="DOMTokenList",G="html.storage.session",H="1.1",I="html.history.state",J="object",K="html.image.naturaldimensions",L="html.audio.aif",M="audio/x-wav",N='',O="html.node.isequalnode",P="html.canvas",Q="audio/ogg",R="",S="html.storage.userdata",T="html.fullscreen",U="number",V="html.element.compareDocumentPosition",W="audio/x-aiff",X="html.audio.au",Y="img",bF="html.selection",bG="selection",bH="html.xpath",bB="$qx_check",bC="test",bD='video',bE="span",bM="html.element.textcontent",bN="geolocation",bW="html.audio.mp3",bA="html.vml",bI="undefined",bJ="html.audio.ogg",bK="none",bL="label",bQ='video/webm; codecs="vp8, vorbis"',ca="html.dataurl",bR="html.webworker",bS="html.dataset",bX="1.0",bO="html.audio.wav",bY="html.filereader",bP="audio/basic",bT="display",bU="html.video.webm",bV="#default#userdata";qx.Bootstrap.define(o,{statics:{getWebWorker:function(){return window.Worker!=null;},getFileReader:function(){return window.FileReader!=null;},getGeoLocation:function(){return bN in navigator;},getAudio:function(){return !!document.createElement(q).canPlayType;},getAudioOgg:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(Q);},getAudioMp3:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(z);},getAudioWav:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(M);},getAudioAu:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(bP);},getAudioAif:function(){if(!qx.bom.client.Html.getAudio()){return R;};var a=document.createElement(y);return a.canPlayType(W);},getVideo:function(){return !!document.createElement(bD).canPlayType;},getVideoOgg:function(){if(!qx.bom.client.Html.getVideo()){return R;};var v=document.createElement(u);return v.canPlayType(f);},getVideoH264:function(){if(!qx.bom.client.Html.getVideo()){return R;};var v=document.createElement(u);return v.canPlayType(r);},getVideoWebm:function(){if(!qx.bom.client.Html.getVideo()){return R;};var v=document.createElement(u);return v.canPlayType(bQ);},getLocalStorage:function(){try{window.localStorage.setItem(bB,bC);window.localStorage.removeItem(bB);return true;}catch(cb){return false;};},getSessionStorage:function(){try{window.sessionStorage.setItem(bB,bC);window.sessionStorage.removeItem(bB);return true;}catch(cc){return false;};},getUserDataStorage:function(){var cd=document.createElement(n);cd.style[bT]=bK;document.getElementsByTagName(x)[0].appendChild(cd);var ce=false;try{cd.addBehavior(bV);cd.load(g);ce=true;}catch(e){};document.getElementsByTagName(x)[0].removeChild(cd);return ce;},getClassList:function(){return !!(document.documentElement.classList&&qx.Bootstrap.getClass(document.documentElement.classList)===F);},getXPath:function(){return !!document.evaluate;},getXul:function(){try{document.createElementNS(j,bL);return true;}catch(e){return false;};},getSvg:function(){return document.implementation&&document.implementation.hasFeature&&(document.implementation.hasFeature(A,bX)||document.implementation.hasFeature(l,H));},getVml:function(){var cf=document.createElement(n);document.body.appendChild(cf);cf.innerHTML=N;cf.firstChild.style.behavior=w;var cg=typeof cf.firstChild.adj==J;document.body.removeChild(cf);return cg;},getCanvas:function(){return !!window.CanvasRenderingContext2D;},getDataUrl:function(ch){var ci=new Image();ci.onload=ci.onerror=function(){window.setTimeout(function(){ch.call(null,(ci.width==1&&ci.height==1));},0);};ci.src=s;},getDataset:function(){return !!document.documentElement.dataset;},getContains:function(){return (typeof document.documentElement.contains!==bI);},getCompareDocumentPosition:function(){return (typeof document.documentElement.compareDocumentPosition===b);},getTextContent:function(){var cj=document.createElement(bE);return (typeof cj.textContent!==bI);},getFullScreen:function(){return document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled||false;},getConsole:function(){return typeof window.console!==bI;},getNaturalDimensions:function(){var ck=document.createElement(Y);return typeof ck.naturalHeight===U&&typeof ck.naturalWidth===U;},getHistoryState:function(){return (typeof window.onpopstate!==bI&&typeof window.history.replaceState!==bI&&typeof window.history.pushState!==bI);},getSelection:function(){if(typeof window.getSelection===b){return p;};if(typeof document.selection===J){return bG;};return null;},getIsEqualNode:function(){return typeof document.documentElement.isEqualNode===b;}},defer:function(cl){qx.core.Environment.add(bR,cl.getWebWorker);qx.core.Environment.add(bY,cl.getFileReader);qx.core.Environment.add(E,cl.getGeoLocation);qx.core.Environment.add(t,cl.getAudio);qx.core.Environment.add(bJ,cl.getAudioOgg);qx.core.Environment.add(bW,cl.getAudioMp3);qx.core.Environment.add(bO,cl.getAudioWav);qx.core.Environment.add(X,cl.getAudioAu);qx.core.Environment.add(L,cl.getAudioAif);qx.core.Environment.add(D,cl.getVideo);qx.core.Environment.add(k,cl.getVideoOgg);qx.core.Environment.add(c,cl.getVideoH264);qx.core.Environment.add(bU,cl.getVideoWebm);qx.core.Environment.add(m,cl.getLocalStorage);qx.core.Environment.add(G,cl.getSessionStorage);qx.core.Environment.add(S,cl.getUserDataStorage);qx.core.Environment.add(B,cl.getClassList);qx.core.Environment.add(bH,cl.getXPath);qx.core.Environment.add(i,cl.getXul);qx.core.Environment.add(P,cl.getCanvas);qx.core.Environment.add(C,cl.getSvg);qx.core.Environment.add(bA,cl.getVml);qx.core.Environment.add(bS,cl.getDataset);qx.core.Environment.addAsync(ca,cl.getDataUrl);qx.core.Environment.add(d,cl.getContains);qx.core.Environment.add(V,cl.getCompareDocumentPosition);qx.core.Environment.add(bM,cl.getTextContent);qx.core.Environment.add(h,cl.getConsole);qx.core.Environment.add(K,cl.getNaturalDimensions);qx.core.Environment.add(I,cl.getHistoryState);qx.core.Environment.add(bF,cl.getSelection);qx.core.Environment.add(O,cl.getIsEqualNode);qx.core.Environment.add(T,cl.getFullScreen);}});})();(function(){var a='',b="g",c="(^|\\s)",d='function',e="(\\s|$)",f="",g="\\b|\\b",h="qx.bom.element.Class",j='SVGAnimatedString',k="html.classlist",m="default",n=" ",o='object',p="$2",q="native",r="\\b",s='undefined';qx.Bootstrap.define(h,{statics:{__eQ:/\s+/g,__eR:/^\s+|\s+$/g,add:{"native":function(t,name){if(name.length>0){t.classList.add(name);};return name;},"default":function(u,name){if(!this.has(u,name)){u.className+=(u.className?n:f)+name;};return name;}}[qx.core.Environment.get(k)?q:m],addClasses:{"native":function(w,v){for(var i=0;i0){w.classList.add(v[i]);};};return w.className;},"default":function(y,A){var z={};var B;var x=y.className;if(x){B=x.split(this.__eQ);for(var i=0,l=B.length;i=0; --i){if(B[i].selectorText==E){C.deleteRule(i);};};}else {var B=C.rules;var D=B.length;for(var i=D-1;i>=0; --i){if(B[i].selectorText==E){C.removeRule(i);};};};},removeSheet:function(G){var F=G.ownerNode?G.ownerNode:G.owningElement;qx.dom.Element.removeChild(F,F.parentNode);},removeAllRules:function(I){if(qx.core.Environment.get(m)){var H=I.cssRules;var J=H.length;for(var i=J-1;i>=0;i-- ){I.deleteRule(i);};}else {var H=I.rules;var J=H.length;for(var i=J-1;i>=0;i-- ){I.removeRule(i);};};},addImport:function(L,K){if(qx.core.Environment.get(c)){L.addImport(K);}else {L.insertRule(g+K+k,L.cssRules.length);};},removeImport:function(M,N){if(qx.core.Environment.get(l)){var O=M.imports;var P=O.length;for(var i=P-1;i>=0;i-- ){if(O[i].href==N||O[i].href==qx.util.Uri.getAbsolute(N)){M.removeImport(i);};};}else {var Q=M.cssRules;var P=Q.length;for(var i=P-1;i>=0;i-- ){if(Q[i].href==N){M.deleteRule(i);};};};},removeAllImports:function(S){if(qx.core.Environment.get(l)){var U=S.imports;var T=U.length;for(var i=T-1;i>=0;i-- ){S.removeImport(i);};}else {var R=S.cssRules;var T=R.length;for(var i=T-1;i>=0;i-- ){if(R[i].type==R[i].IMPORT_RULE){S.deleteRule(i);};};};}}});})();(function(){var a="file",b="+",c="strict",d="anchor",e="div",f="query",g="source",h="password",j="host",k="protocol",l="user",n="directory",p="loose",q="relative",r="queryKey",s="qx.util.Uri",t="",u="path",v="authority",w='">0',x="&",y="port",z='1){bb[ba[0]]=ba[1].replace(u,h);};};return bb;},__fe:function(bw,bh,bo,bi,be,bq){var bp=new Array(bw);var bm=1;bp[0]=this.__fd(bi[0]);var bt=bi[0];var bj=bi[bo[bm]];var bf=Math.floor(bo[bm]/(bh/be*100));var bs=1;for(var i=1;ibo[bm]){bt=bj;bm++ ;bj=bi[bo[bm]];bf=Math.floor(bo[bm]/(bh/be*100))-bf;bs=1;};bp[i]={};var bd;for(var name in bj){var br=bj[name]+h;if(name in this.__fb){if(!bd){bd={};};if(qx.Bootstrap.isArray(bt[name])){if(!qx.Bootstrap.isArray(bj[name])){bj[name]=[bj[name]];};bd[name]=[];for(var j=0;j1){bp[i][bx[0]]=bx[1].replace(u,h);};};bs++ ;};bp[bp.length-1]=this.__fd(bi[100]);return bp;},__ff:function(by){return by.substring((parseFloat(by)+h).length,by.length);},__fg:function(bC,bB,bz,x){var bA=parseFloat(bC)-parseFloat(bB);return (parseFloat(bB)+bA*qx.bom.AnimationFrame.calculateTiming(bz,x))+this.__ff(bC);},play:function(bD){bD.emit(r,bD.el);var bE=window.setInterval(function(){bD.repeatSteps-- ;var bF=bD.delta[bD.i%bD.steps];if(bD.i===0){for(var name in bF){if(bD.initValues[name]===undefined){if(bD.el[name]!==undefined){bD.initValues[name]=bD.el[name];}else if(qx.bom.element.Style){bD.initValues[name]=qx.bom.element.Style.get(bD.el,qx.lang.String.camelCase(name));}else {bD.initValues[name]=bD.el.style[qx.lang.String.camelCase(name)];};};};};qx.bom.element.AnimationJs.__fi(bD.el,bF);bD.i++ ;if(bD.i%bD.steps==0){bD.emit(w,bD.el);if(bD.desc.alternate){bD.delta.reverse();};};if(bD.repeatSteps<0){qx.bom.element.AnimationJs.stop(bD);};},bD.stepTime);bD.animationId=bE;return bD;},pause:function(bG){window.clearInterval(bG.animationId);bG.animationId=null;return bG;},stop:function(bK){var bJ=bK.desc;var bH=bK.el;var bI=bK.initValues;if(bK.animationId){window.clearInterval(bK.animationId);};if(bK.delayId){window.clearTimeout(bK.delayId);};if(bH==undefined){return bK;};var bL=bJ.keep;if(bL!=undefined&&!bK.stopped){if(bK.reverse||(bJ.alternate&&bJ.repeat&&bJ.repeat%2==0)){bL=100-bL;};this.__fi(bH,bJ.keyFrames[bL]);}else {this.__fi(bH,bI);};bH.$$animation=null;bK.el=null;bK.ended=true;bK.animationId=null;bK.emit(s,bH);return bK;},__fh:function(bN,bM){if(bM==undefined){return bN;};if(bM==n){return Number.MAX_VALUE;};return bN*bM;},__fi:function(bP,bO){for(var bQ in bO){if(bO[bQ]===undefined){continue;};if(typeof bP.style[bQ]===v&&bQ in bP){bP[bQ]=bO[bQ];continue;};var name=qx.bom.Style.getPropertyName(bQ)||bQ;if(qx.bom.element.Style){qx.bom.element.Style.set(bP,name,bO[bQ]);}else {bP.style[name]=bO[bQ];};};},__fj:function(bT,bR){var bU=100;for(var i=0;ithis.__eY){bS=bS/2;};return Math.round(bS);},__fk:function(bW){var bV=Object.keys(bW);for(var i=0;ibj)?bm:bj;if(bb>bl){bl=bb;};var be=(bm=1.0){bo%=1.0;};if(bp>1.0){bp=1.0;};if(bq>1.0){bq=1.0;};var br=Math.floor(255*bq);var bs={};if(bp==0.0){bs.red=bs.green=bs.blue=br;}else {bo*=6.0;i=Math.floor(bo);f=bo-i;p=Math.floor(br*(1.0-bp));r=Math.floor(br*(1.0-(bp*f)));t=Math.floor(br*(1.0-(bp*(1.0-f))));switch(i){case 0:bs.red=br;bs.green=t;bs.blue=p;break;case 1:bs.red=r;bs.green=br;bs.blue=p;break;case 2:bs.red=p;bs.green=br;bs.blue=t;break;case 3:bs.red=p;bs.green=r;bs.blue=br;break;case 4:bs.red=t;bs.green=p;bs.blue=br;break;case 5:bs.red=br;bs.green=p;bs.blue=r;break;};};return [bs.red,bs.green,bs.blue];},randomColor:function(){var r=Math.round(Math.random()*255);var g=Math.round(Math.random()*255);var b=Math.round(Math.random()*255);return this.rgbToRgbString([r,g,b]);}}});})();(function(){var a="css.transform.3d",b="backfaceVisibility",c="transformStyle",d="css.transform",e="transformOrigin",f="qx.bom.client.CssTransform",g="transform",h="perspective",i="perspectiveOrigin";qx.Bootstrap.define(f,{statics:{getSupport:function(){var name=qx.bom.client.CssTransform.getName();if(name!=null){return {"name":name,"style":qx.bom.client.CssTransform.getStyle(),"origin":qx.bom.client.CssTransform.getOrigin(),"3d":qx.bom.client.CssTransform.get3D(),"perspective":qx.bom.client.CssTransform.getPerspective(),"perspective-origin":qx.bom.client.CssTransform.getPerspectiveOrigin(),"backface-visibility":qx.bom.client.CssTransform.getBackFaceVisibility()};};return null;},getStyle:function(){return qx.bom.Style.getPropertyName(c);},getPerspective:function(){return qx.bom.Style.getPropertyName(h);},getPerspectiveOrigin:function(){return qx.bom.Style.getPropertyName(i);},getBackFaceVisibility:function(){return qx.bom.Style.getPropertyName(b);},getOrigin:function(){return qx.bom.Style.getPropertyName(e);},getName:function(){return qx.bom.Style.getPropertyName(g);},get3D:function(){return qx.bom.client.CssTransform.getPerspective()!=null;}},defer:function(j){qx.core.Environment.add(d,j.getSupport);qx.core.Environment.add(a,j.get3D);}});})();(function(){var a="backface-visibility",b="css.transform.3d",c=") ",d="px",e="scale",f="Z",g="X",h=", ",j="visible",k=":",l="3d",m="name",n="",o="origin",p="(",q="qx.bom.element.Transform",r="perspective",s="Y",t="css.transform",u="translate",v="perspective-origin",w="hidden",x=";",y=" ",z="style";qx.Bootstrap.define(q,{statics:{__fp:qx.core.Environment.get(t),transform:function(A,C){var D=this.getTransformValue(C);if(this.__fp!=null){var B=this.__fp[m];A.style[B]=D;};},translate:function(E,F){this.transform(E,{translate:F});},scale:function(G,H){this.transform(G,{scale:H});},rotate:function(I,J){this.transform(I,{rotate:J});},skew:function(K,L){this.transform(K,{skew:L});},getCss:function(N){var O=this.getTransformValue(N);if(this.__fp!=null){var M=this.__fp[m];return qx.bom.Style.getCssName(M)+k+O+x;};return n;},setOrigin:function(P,Q){if(this.__fp!=null){P.style[this.__fp[o]]=Q;};},getOrigin:function(R){if(this.__fp!=null){return R.style[this.__fp[o]];};return n;},setStyle:function(S,T){if(this.__fp!=null){S.style[this.__fp[z]]=T;};},getStyle:function(U){if(this.__fp!=null){return U.style[this.__fp[z]];};return n;},setPerspective:function(V,W){if(this.__fp!=null){V.style[this.__fp[r]]=W+d;};},getPerspective:function(X){if(this.__fp!=null){return X.style[this.__fp[r]];};return n;},setPerspectiveOrigin:function(Y,ba){if(this.__fp!=null){Y.style[this.__fp[v]]=ba;};},getPerspectiveOrigin:function(bb){if(this.__fp!=null){var bc=bb.style[this.__fp[v]];if(bc!=n){return bc;}else {var be=bb.style[this.__fp[v]+g];var bd=bb.style[this.__fp[v]+s];if(be!=n){return be+y+bd;};};};return n;},setBackfaceVisibility:function(bf,bg){if(this.__fp!=null){bf.style[this.__fp[a]]=bg?j:w;};},getBackfaceVisibility:function(bh){if(this.__fp!=null){return bh.style[this.__fp[a]]==j;};return true;},getTransformValue:function(bl){var bm=n;var bi=[u,e];for(var bj in bl){var bk=bl[bj];if(qx.Bootstrap.isArray(bk)){if(bk.length===3&&bi.indexOf(bj)>-1&&qx.core.Environment.get(b)){bm+=this._compute3dProperty(bj,bk);}else {bm+=this._computeAxisProperties(bj,bk);};}else {bm+=bj+p+bk+c;};};return bm.trim();},_compute3dProperty:function(bo,bn){var bp=n;bo+=l;for(var i=0;i=m+l){this.emit(g);this.id=null;}else {var o=Math.max(p-m,0);this.emit(f,o);this.id=qx.bom.AnimationFrame.request(n,this);};};this.id=qx.bom.AnimationFrame.request(n,this);},cancelSequence:function(){this.__ft=true;}},statics:{TIMEOUT:30,calculateTiming:function(q,x){if(q==j){var a=[3.1223e-7,0.0757,1.2646,-0.167,-0.4387,0.2654];}else if(q==k){var a=[-7.0198e-8,1.652,-0.551,-0.0458,0.1255,-0.1807];}else if(q==h){return x;}else if(q==b){var a=[2.482e-7,-0.2289,3.3466,-1.0857,-1.7354,0.7034];}else {var a=[-0.0021,0.2472,9.8054,-21.6869,17.7611,-5.1226];};var y=0;for(var i=0;i=8){document.addEventListener(l,function(){if(!document.hidden){bm.__fG();};},false);};}});})();(function(){var a="Child is already in: ",b="text",c="qx.html.Element",d="|capture|",f="focus",g="blur",h="div",j="class",k="deactivate",m="css.userselect",n="animationEnd",o="capture",p="visible",q="Root elements could not be inserted into other ones.",r="Has no children!",s="|bubble|",t="releaseCapture",u="Could not move to same index!",v="element",w="",z="qxSelectable",A="__gc",B="tabIndex",C="off",D="on",E="qx.html.Iframe",F="activate",G="Has no parent to remove from.",H="mshtml",I="engine.name",J="none",K="Has no child: ",L="scroll",M=" ",N="hidden",O="Has no child at this position!",P="css.userselect.none",Q="Could not overwrite existing element!";qx.Class.define(c,{extend:qx.core.Object,construct:function(T,R,S){qx.core.Object.call(this);this.__fH=T||h;this.__fI=R||null;this.__fJ=S||null;},statics:{DEBUG:false,_modified:{},_visibility:{},_scroll:{},_actions:[],__fK:{},__fL:null,__fM:null,_scheduleFlush:function(U){qx.html.Element.__gn.schedule();},flush:function(){var bh;{};var Y=this.__fN();var W=Y.getFocus();if(W&&this.__fP(W)){Y.blur(W);};var bo=Y.getActive();if(bo&&this.__fP(bo)){qx.bom.Element.deactivate(bo);};var bc=this.__fO();if(bc&&this.__fP(bc)){qx.bom.Element.releaseCapture(bc);};var bi=[];var bj=this._modified;for(var bg in bj){bh=bj[bg];if(bh.__gg()||bh.classname==E){if(bh.__fQ&&qx.dom.Hierarchy.isRendered(bh.__fQ)){bi.push(bh);}else {{};bh.__gf();};delete bj[bg];};};for(var i=0,l=bi.length;i=8)){bk.style.visibility=bh.__dp?p:N;};};};delete be[bg];};var scroll=this._scroll;for(var bg in scroll){bh=scroll[bg];var X=bh.__fQ;if(X&&X.offsetWidth){var bb=true;if(bh.__fU!=null){bh.__fQ.scrollLeft=bh.__fU;delete bh.__fU;};if(bh.__fV!=null){bh.__fQ.scrollTop=bh.__fV;delete bh.__fV;};var bl=bh.__fS;if(bl!=null){var bf=bl.element.getDomElement();if(bf&&bf.offsetWidth){qx.bom.element.Scroll.intoViewX(bf,X,bl.align);delete bh.__fS;}else {bb=false;};};var bm=bh.__fT;if(bm!=null){var bf=bm.element.getDomElement();if(bf&&bf.offsetWidth){qx.bom.element.Scroll.intoViewY(bf,X,bm.align);delete bh.__fT;}else {bb=false;};};if(bb){delete scroll[bg];};};};var ba={"releaseCapture":1,"blur":1,"deactivate":1};for(var i=0;i0){this._insertChildren();};}else {this._syncData();if(this.__gd){this._syncChildren();};};delete this.__gd;},_insertChildren:function(){var bv=this.__gc;var length=bv.length;var bx;if(length>2){var bw=document.createDocumentFragment();for(var i=0;i=0;i-- ){bE=bG[i];bD=bH.fromHashCode(bE.$$element);if(!bD||!bD.__fR||bD.__ge!==this){bB.removeChild(bE);{};};};for(var i=0;i=1){return true;};var cD=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;if(cE>=0&&cD[this.__fH]){return true;};return false;},setSelectable:function(cG){this.setAttribute(z,cG?D:C);var cF=qx.core.Environment.get(m);if(cF){this.setStyle(cF,cG?b:qx.core.Environment.get(P));};},isNativelyFocusable:function(){return !!qx.event.handler.Focus.FOCUSABLE_ELEMENTS[this.__fH];},include:function(){if(this.__fR){return this;};delete this.__fR;if(this.__ge){this.__ge._scheduleChildrenUpdate();};return this;},exclude:function(){if(!this.__fR){return this;};this.__fR=false;if(this.__ge){this.__ge._scheduleChildrenUpdate();};return this;},isIncluded:function(){return this.__fR===true;},fadeIn:function(cH){var cI=qxWeb(this.__fQ);if(cI.isPlaying()){cI.stop();};if(!this.__fQ){this.__gf();cI.push(this.__fQ);};if(this.__fQ){cI.fadeIn(cH);return cI.getAnimationHandles()[0];};},fadeOut:function(cJ){var cK=qxWeb(this.__fQ);if(cK.isPlaying()){cK.stop();};if(this.__fQ){cK.fadeOut(cJ).once(n,function(){this.hide();qx.html.Element.flush();},this);return cK.getAnimationHandles()[0];};},show:function(){if(this.__dp){return this;};if(this.__fQ){qx.html.Element._visibility[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};if(this.__ge){this.__ge._scheduleChildrenUpdate();};delete this.__dp;return this;},hide:function(){if(!this.__dp){return this;};if(this.__fQ){qx.html.Element._visibility[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};this.__dp=false;return this;},isVisible:function(){return this.__dp===true;},scrollChildIntoViewX:function(cO,cM,cP){var cL=this.__fQ;var cN=cO.getDomElement();if(cP!==false&&cL&&cL.offsetWidth&&cN&&cN.offsetWidth){qx.bom.element.Scroll.intoViewX(cN,cL,cM);}else {this.__fS={element:cO,align:cM};qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__fU;},scrollChildIntoViewY:function(cT,cR,cU){var cQ=this.__fQ;var cS=cT.getDomElement();if(cU!==false&&cQ&&cQ.offsetWidth&&cS&&cS.offsetWidth){qx.bom.element.Scroll.intoViewY(cS,cQ,cR);}else {this.__fT={element:cT,align:cR};qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__fV;},scrollToX:function(x,cV){var cW=this.__fQ;if(cV!==true&&cW&&cW.offsetWidth){cW.scrollLeft=x;delete this.__fU;}else {this.__fU=x;qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__fS;},getScrollX:function(){var cX=this.__fQ;if(cX){return cX.scrollLeft;};return this.__fU||0;},scrollToY:function(y,da){var cY=this.__fQ;if(da!==true&&cY&&cY.offsetWidth){cY.scrollTop=y;delete this.__fV;}else {this.__fV=y;qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__fT;},getScrollY:function(){var dc=this.__fQ;if(dc){return dc.scrollTop;};return this.__fV||0;},disableScrolling:function(){this.enableScrolling();this.scrollToX(0);this.scrollToY(0);this.addListener(L,this.__gl,this);},enableScrolling:function(){this.removeListener(L,this.__gl,this);},__gk:null,__gl:function(e){if(!this.__gk){this.__gk=true;this.__fQ.scrollTop=0;this.__fQ.scrollLeft=0;delete this.__gk;};},getTextSelection:function(){var dd=this.__fQ;if(dd){return qx.bom.Selection.get(dd);};return null;},getTextSelectionLength:function(){var de=this.__fQ;if(de){return qx.bom.Selection.getLength(de);};return null;},getTextSelectionStart:function(){var df=this.__fQ;if(df){return qx.bom.Selection.getStart(df);};return null;},getTextSelectionEnd:function(){var dg=this.__fQ;if(dg){return qx.bom.Selection.getEnd(dg);};return null;},setTextSelection:function(dh,di){var dj=this.__fQ;if(dj){qx.bom.Selection.set(dj,dh,di);return;};qx.html.Element.__fK[this.toHashCode()]={element:this,start:dh,end:di};qx.html.Element._scheduleFlush(v);},clearTextSelection:function(){var dk=this.__fQ;if(dk){qx.bom.Selection.clear(dk);};delete qx.html.Element.__fK[this.toHashCode()];},__gm:function(dl,dm){var dn=qx.html.Element._actions;dn.push({type:dl,element:this,args:dm||[]});qx.html.Element._scheduleFlush(v);},focus:function(){this.__gm(f);},blur:function(){this.__gm(g);},activate:function(){this.__gm(F);},deactivate:function(){this.__gm(k);},capture:function(dp){this.__gm(o,[dp!==false]);},releaseCapture:function(){this.__gm(t);},setStyle:function(dq,dr,ds){if(!this.__fI){this.__fI={};};if(this.__fI[dq]==dr){return this;};if(dr==null){delete this.__fI[dq];}else {this.__fI[dq]=dr;};if(this.__fQ){if(ds){qx.bom.element.Style.set(this.__fQ,dq,dr);return this;};if(!this.__fW){this.__fW={};};this.__fW[dq]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};return this;},setStyles:function(du,dw){var dv=qx.bom.element.Style;if(!this.__fI){this.__fI={};};if(this.__fQ){if(!this.__fW){this.__fW={};};for(var dt in du){var dx=du[dt];if(this.__fI[dt]==dx){continue;};if(dx==null){delete this.__fI[dt];}else {this.__fI[dt]=dx;};if(dw){dv.set(this.__fQ,dt,dx);continue;};this.__fW[dt]=true;};qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);}else {for(var dt in du){var dx=du[dt];if(this.__fI[dt]==dx){continue;};if(dx==null){delete this.__fI[dt];}else {this.__fI[dt]=dx;};};};return this;},removeStyle:function(dz,dy){this.setStyle(dz,null,dy);return this;},getStyle:function(dA){return this.__fI?this.__fI[dA]:null;},getAllStyles:function(){return this.__fI||null;},setAttribute:function(dB,dC,dD){if(!this.__fJ){this.__fJ={};};if(this.__fJ[dB]==dC){return this;};if(dC==null){delete this.__fJ[dB];}else {this.__fJ[dB]=dC;};if(this.__fQ){if(dD){qx.bom.element.Attribute.set(this.__fQ,dB,dC);return this;};if(!this.__fX){this.__fX={};};this.__fX[dB]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};return this;},setAttributes:function(dE,dF){for(var dG in dE){this.setAttribute(dG,dE[dG],dF);};return this;},removeAttribute:function(dI,dH){return this.setAttribute(dI,null,dH);},getAttribute:function(dJ){return this.__fJ?this.__fJ[dJ]:null;},addClass:function(name){var dK=((this.getAttribute(j)||w)+M+name).trim();this.setAttribute(j,dK);},removeClass:function(name){var dL=this.getAttribute(j);if(dL){this.setAttribute(j,(dL.replace(name,w)).trim());};},_applyProperty:function(name,dM){},_setProperty:function(dN,dO,dP){if(!this.__ga){this.__ga={};};if(this.__ga[dN]==dO){return this;};if(dO==null){delete this.__ga[dN];}else {this.__ga[dN]=dO;};if(this.__fQ){if(dP){this._applyProperty(dN,dO);return this;};if(!this.__fY){this.__fY={};};this.__fY[dN]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};return this;},_removeProperty:function(dR,dQ){return this._setProperty(dR,null,dQ);},_getProperty:function(dT){var dS=this.__ga;if(!dS){return null;};var dU=dS[dT];return dU==null?null:dU;},addListener:function(ea,dW,self,dV){if(this.$$disposed){return null;};{var dX;};if(this.__fQ){return qx.event.Registration.addListener(this.__fQ,ea,dW,self,dV);};if(!this.__gb){this.__gb={};};if(dV==null){dV=false;};var dY=qx.event.Manager.getNextUniqueId();var eb=ea+(dV?d:s)+dY;this.__gb[eb]={type:ea,listener:dW,self:self,capture:dV,unique:dY};return eb;},removeListener:function(ej,ed,self,ec){if(this.$$disposed){return null;};{var eh;};if(this.__fQ){if(ed.$$wrapped_callback&&ed.$$wrapped_callback[ej+this.$$hash]){var ee=ed.$$wrapped_callback[ej+this.$$hash];delete ed.$$wrapped_callback[ej+this.$$hash];ed=ee;};qx.event.Registration.removeListener(this.__fQ,ej,ed,self,ec);}else {var ef=this.__gb;var ei;if(ec==null){ec=false;};for(var eg in ef){ei=ef[eg];if(ei.listener===ed&&ei.self===self&&ei.capture===ec&&ei.type===ej){delete ef[eg];break;};};};return this;},removeListenerById:function(ek){if(this.$$disposed){return null;};if(this.__fQ){qx.event.Registration.removeListenerById(this.__fQ,ek);}else {delete this.__gb[ek];};return this;},hasListener:function(en,em){if(this.$$disposed){return false;};if(this.__fQ){return qx.event.Registration.hasListener(this.__fQ,en,em);};var eo=this.__gb;var eq;if(em==null){em=false;};for(var ep in eo){eq=eo[ep];if(eq.capture===em&&eq.type===en){return true;};};return false;},getListeners:function(){if(this.$$disposed){return null;};if(this.__fQ){return qx.event.Registration.getManager(this.__fQ).serializeListeners(this.__fQ);};var er=[];for(var et in this.__gb){var es=this.__gb[et];er.push({type:es.type,handler:es.listener,self:es.self,capture:es.capture});};return er;}},defer:function(eu){eu.__gn=new qx.util.DeferredCall(eu.flush,eu);},destruct:function(){if(this.$$hash){delete qx.html.Element._modified[this.$$hash];delete qx.html.Element._scroll[this.$$hash];};var ev=this.__fQ;if(ev){qx.event.Registration.getManager(ev).removeAllListeners(ev);ev.$$element=w;};if(!qx.core.ObjectRegistry.inShutDown){var parent=this.__ge;if(parent&&!parent.$$disposed){parent.remove(this);};};this._disposeArray(A);this.__fJ=this.__fI=this.__gb=this.__ga=this.__fX=this.__fW=this.__fY=this.__fQ=this.__ge=this.__fS=this.__fT=null;}});})();(function(){var a="selectstart",b="os.name",c="blur",d="mousedown",e="focus",f="os.version",g="qx.event.handler.Focus",h="_applyFocus",i="DOMFocusIn",j="deactivate",k="browser.name",l="textarea",m="_applyActive",n='character',o="input",p="ios",q="",r="qxSelectable",s="tabIndex",t="off",u="on",v="activate",w="focusin",x="mshtml",y="engine.name",z="mouseup",A="DOMFocusOut",B="focusout",C="qxKeepFocus",D="draggesture",E="qxKeepActive";qx.Class.define(g,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(F){qx.core.Object.call(this);this._manager=F;this._window=F.getWindow();this._document=this._window.document;this._root=this._document.documentElement;this._body=this._document.body;if((qx.core.Environment.get(b)==p&&parseFloat(qx.core.Environment.get(f))>6)&&(!qx.application.Inline||!qx.core.Init.getApplication() instanceof qx.application.Inline)){this.__go=true;};this._initObserver();},properties:{active:{apply:m,nullable:true},focus:{apply:h,nullable:true}},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{focus:1,blur:1,focusin:1,focusout:1,activate:1,deactivate:1},IGNORE_CAN_HANDLE:true,FOCUSABLE_ELEMENTS:qx.core.Environment.select(y,{"mshtml":{a:1,body:1,button:1,frame:1,iframe:1,img:1,input:1,object:1,select:1,textarea:1},"gecko":{a:1,body:1,button:1,frame:1,iframe:1,img:1,input:1,object:1,select:1,textarea:1},"opera":{button:1,input:1,select:1,textarea:1},"webkit":{button:1,input:1,select:1,textarea:1}})},members:{__gp:null,__gq:null,__gr:null,__gs:null,__gt:null,__gu:null,__gv:null,__gw:null,__gx:null,__gy:null,__gz:q,__gA:q,__go:false,__gB:null,canHandleEvent:function(H,G){},registerEvent:function(K,J,I){},unregisterEvent:function(N,M,L){},focus:function(O){if((qx.core.Environment.get(y)==x)){window.setTimeout(function(){try{O.focus();var P=qx.bom.Selection.get(O);if(P.length==0){var Q=O.createTextRange();Q.moveStart(n,O.value.length);Q.collapse();Q.select();};}catch(R){};},0);}else {try{O.focus();}catch(S){};};this.setFocus(O);this.setActive(O);},activate:function(T){this.setActive(T);},blur:function(U){try{U.blur();}catch(V){};if(this.getActive()===U){this.resetActive();};if(this.getFocus()===U){this.resetFocus();};},deactivate:function(W){if(this.getActive()===W){this.resetActive();};},tryActivate:function(Y){var X=this.__gQ(Y);if(X){this.setActive(X);};},__gC:function(ba,bc,bf,be){var bd=qx.event.Registration;var bb=bd.createEvent(bf,qx.event.type.Focus,[ba,bc,be]);bd.dispatchEvent(ba,bb);},_windowFocused:true,__gD:function(){if(this._windowFocused){this._windowFocused=false;this.__gC(this._window,null,c,false);};},__gE:function(){if(!this._windowFocused){this._windowFocused=true;this.__gC(this._window,null,e,false);};},_initObserver:qx.core.Environment.select(y,{"gecko":function(){this.__gp=qx.lang.Function.listener(this.__gK,this);this.__gq=qx.lang.Function.listener(this.__gL,this);this.__gr=qx.lang.Function.listener(this.__gJ,this);this.__gs=qx.lang.Function.listener(this.__gI,this);this.__gt=qx.lang.Function.listener(this.__gF,this);qx.bom.Event.addNativeListener(this._document,d,this.__gp,true);qx.bom.Event.addNativeListener(this._document,z,this.__gq,true);qx.bom.Event.addNativeListener(this._window,e,this.__gr,true);qx.bom.Event.addNativeListener(this._window,c,this.__gs,true);qx.bom.Event.addNativeListener(this._window,D,this.__gt,true);},"mshtml":function(){this.__gp=qx.lang.Function.listener(this.__gK,this);this.__gq=qx.lang.Function.listener(this.__gL,this);this.__gv=qx.lang.Function.listener(this.__gG,this);this.__gw=qx.lang.Function.listener(this.__gH,this);this.__gu=qx.lang.Function.listener(this.__gN,this);qx.bom.Event.addNativeListener(this._document,d,this.__gp);qx.bom.Event.addNativeListener(this._document,z,this.__gq);qx.bom.Event.addNativeListener(this._document,w,this.__gv);qx.bom.Event.addNativeListener(this._document,B,this.__gw);qx.bom.Event.addNativeListener(this._document,a,this.__gu);},"webkit":qx.core.Environment.select(k,{"edge":function(bg){this.__gp=qx.lang.Function.listener(this.__gK,this);this.__gq=qx.lang.Function.listener(this.__gL,this);this.__gw=qx.lang.Function.listener(this.__gH,this);this.__gr=qx.lang.Function.listener(this.__gJ,this);this.__gs=qx.lang.Function.listener(this.__gI,this);this.__gu=qx.lang.Function.listener(this.__gN,this);qx.bom.Event.addNativeListener(this._document,d,this.__gp,true);qx.bom.Event.addNativeListener(this._document,z,this.__gq,true);qx.bom.Event.addNativeListener(this._document,a,this.__gu,false);qx.bom.Event.addNativeListener(this._document,w,this.__gv);qx.bom.Event.addNativeListener(this._document,B,this.__gw);},"default":function(bh){this.__gp=qx.lang.Function.listener(this.__gK,this);this.__gq=qx.lang.Function.listener(this.__gL,this);this.__gw=qx.lang.Function.listener(this.__gH,this);this.__gr=qx.lang.Function.listener(this.__gJ,this);this.__gs=qx.lang.Function.listener(this.__gI,this);this.__gu=qx.lang.Function.listener(this.__gN,this);qx.bom.Event.addNativeListener(this._document,d,this.__gp,true);qx.bom.Event.addNativeListener(this._document,z,this.__gq,true);qx.bom.Event.addNativeListener(this._document,a,this.__gu,false);qx.bom.Event.addNativeListener(this._window,A,this.__gw,true);qx.bom.Event.addNativeListener(this._window,e,this.__gr,true);qx.bom.Event.addNativeListener(this._window,c,this.__gs,true);}}),"opera":function(){this.__gp=qx.lang.Function.listener(this.__gK,this);this.__gq=qx.lang.Function.listener(this.__gL,this);this.__gv=qx.lang.Function.listener(this.__gG,this);this.__gw=qx.lang.Function.listener(this.__gH,this);qx.bom.Event.addNativeListener(this._document,d,this.__gp,true);qx.bom.Event.addNativeListener(this._document,z,this.__gq,true);qx.bom.Event.addNativeListener(this._window,i,this.__gv,true);qx.bom.Event.addNativeListener(this._window,A,this.__gw,true);}}),_stopObserver:qx.core.Environment.select(y,{"gecko":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__gp,true);qx.bom.Event.removeNativeListener(this._document,z,this.__gq,true);qx.bom.Event.removeNativeListener(this._window,e,this.__gr,true);qx.bom.Event.removeNativeListener(this._window,c,this.__gs,true);qx.bom.Event.removeNativeListener(this._window,D,this.__gt,true);},"mshtml":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__gp);qx.bom.Event.removeNativeListener(this._document,z,this.__gq);qx.bom.Event.removeNativeListener(this._document,w,this.__gv);qx.bom.Event.removeNativeListener(this._document,B,this.__gw);qx.bom.Event.removeNativeListener(this._document,a,this.__gu);},"webkit":qx.core.Environment.select(k,{"edge":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__gp);qx.bom.Event.removeNativeListener(this._document,z,this.__gq);qx.bom.Event.removeNativeListener(this._document,w,this.__gv);qx.bom.Event.removeNativeListener(this._document,B,this.__gw);qx.bom.Event.removeNativeListener(this._document,a,this.__gu);},"default":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__gp,true);qx.bom.Event.removeNativeListener(this._document,z,this.__gq,true);qx.bom.Event.removeNativeListener(this._document,a,this.__gu,false);qx.bom.Event.removeNativeListener(this._window,A,this.__gw,true);qx.bom.Event.removeNativeListener(this._window,e,this.__gr,true);qx.bom.Event.removeNativeListener(this._window,c,this.__gs,true);}}),"opera":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__gp,true);qx.bom.Event.removeNativeListener(this._document,z,this.__gq,true);qx.bom.Event.removeNativeListener(this._window,i,this.__gv,true);qx.bom.Event.removeNativeListener(this._window,A,this.__gw,true);}}),__gF:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"gecko":function(bi){var bj=qx.bom.Event.getTarget(bi);if(!this.__gR(bj)){qx.bom.Event.preventDefault(bi);};},"default":null})),__gG:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(bl){this.__gE();var bm=qx.bom.Event.getTarget(bl);var bk=this.__gP(bm);if(bk){this.setFocus(bk);};this.tryActivate(bm);},"webkit":qx.core.Environment.select(k,{"edge":function(bo){this.__gE();var bp=qx.bom.Event.getTarget(bo);var bn=this.__gP(bp);if(bn){this.setFocus(bn);};this.tryActivate(bp);},"default":null}),"opera":function(bq){var br=qx.bom.Event.getTarget(bq);if(br==this._document||br==this._window){this.__gE();if(this.__gx){this.setFocus(this.__gx);delete this.__gx;};if(this.__gy){this.setActive(this.__gy);delete this.__gy;};}else {this.setFocus(br);this.tryActivate(br);if(!this.__gR(br)){br.selectionStart=0;br.selectionEnd=0;};};},"default":null})),__gH:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(bs){var bt=qx.bom.Event.getRelatedTarget(bs);if(bt==null){this.__gD();this.resetFocus();this.resetActive();};},"webkit":qx.core.Environment.select(k,{"edge":function(bu){var bv=qx.bom.Event.getRelatedTarget(bu);if(bv==null){this.__gD();this.resetFocus();this.resetActive();};},"default":function(bw){var bx=qx.bom.Event.getTarget(bw);if(bx===this.getFocus()){this.resetFocus();};if(bx===this.getActive()){this.resetActive();};}}),"opera":function(by){var bz=qx.bom.Event.getTarget(by);if(bz==this._document){this.__gD();this.__gx=this.getFocus();this.__gy=this.getActive();this.resetFocus();this.resetActive();}else {if(bz===this.getFocus()){this.resetFocus();};if(bz===this.getActive()){this.resetActive();};};},"default":null})),__gI:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"gecko":function(bA){var bB=qx.bom.Event.getTarget(bA);if(bB===this._window||bB===this._document){this.__gD();this.resetActive();this.resetFocus();};},"webkit":function(bC){var bD=qx.bom.Event.getTarget(bC);if(bD===this._window||bD===this._document){this.__gD();this.__gx=this.getFocus();this.__gy=this.getActive();this.resetActive();this.resetFocus();};},"default":null})),__gJ:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"gecko":function(bE){var bF=qx.bom.Event.getTarget(bE);if(bF===this._window||bF===this._document){this.__gE();bF=this._body;};this.setFocus(bF);this.tryActivate(bF);},"webkit":function(bG){var bH=qx.bom.Event.getTarget(bG);if(bH===this._window||bH===this._document){this.__gE();if(this.__gx){this.setFocus(this.__gx);delete this.__gx;};if(this.__gy){this.setActive(this.__gy);delete this.__gy;};}else {this.__gB=bG.relatedTarget;this.setFocus(bH);this.__gB=null;this.tryActivate(bH);};},"default":null})),__gK:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(bJ){var bK=qx.bom.Event.getTarget(bJ);var bI=this.__gP(bK);if(bI){if(!this.__gR(bK)){bK.unselectable=u;try{document.selection.empty();}catch(bL){};try{bI.focus();}catch(bM){};};}else {qx.bom.Event.preventDefault(bJ);if(!this.__gR(bK)){bK.unselectable=u;};};},"webkit":function(bO){var bP=qx.bom.Event.getTarget(bO);var bN=this.__gP(bP);if(bN){this.setFocus(bN);}else {qx.bom.Event.preventDefault(bO);};},"gecko":function(bR){var bS=qx.bom.Event.getTarget(bR);var bQ=this.__gP(bS);if(bQ){this.setFocus(bQ);}else {qx.bom.Event.preventDefault(bR);};},"opera":function(bV){var bW=qx.bom.Event.getTarget(bV);var bT=this.__gP(bW);if(!this.__gR(bW)){qx.bom.Event.preventDefault(bV);if(bT){var bU=this.getFocus();if(bU&&bU.selectionEnd){bU.selectionStart=0;bU.selectionEnd=0;bU.blur();};if(bT){this.setFocus(bT);};};}else if(bT){this.setFocus(bT);};},"default":null})),__gL:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(bX){var bY=qx.bom.Event.getTarget(bX);if(bY.unselectable){bY.unselectable=t;};this.tryActivate(this.__gM(bY));},"gecko":function(ca){var cb=qx.bom.Event.getTarget(ca);while(cb&&cb.offsetWidth===undefined){cb=cb.parentNode;};if(cb){this.tryActivate(cb);};},"webkit":function(cc){var cd=qx.bom.Event.getTarget(cc);this.tryActivate(this.__gM(cd));},"opera":function(ce){var cf=qx.bom.Event.getTarget(ce);this.tryActivate(this.__gM(cf));},"default":null})),__gM:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(cg){var ch=this.getFocus();if(ch&&cg!=ch&&(ch.nodeName.toLowerCase()===o||ch.nodeName.toLowerCase()===l)){cg=ch;};return cg;},"webkit":function(ci){var cj=this.getFocus();if(cj&&ci!=cj&&(cj.nodeName.toLowerCase()===o||cj.nodeName.toLowerCase()===l)){ci=cj;};return ci;},"default":function(ck){return ck;}})),__gN:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(cl){var cm=qx.bom.Event.getTarget(cl);if(!this.__gR(cm)){qx.bom.Event.preventDefault(cl);};},"webkit":function(cn){var co=qx.bom.Event.getTarget(cn);if(!this.__gR(co)){qx.bom.Event.preventDefault(cn);};},"default":null})),__gO:function(cp){var cq=qx.bom.element.Attribute.get(cp,s);if(cq>=1){return true;};var cr=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;if(cq>=0&&cr[cp.tagName]){return true;};return false;},__gP:function(cs){while(cs&&cs.nodeType===1){if(cs.getAttribute(C)==u){return null;};if(this.__gO(cs)){return cs;};cs=cs.parentNode;};return this._body;},__gQ:function(ct){var cu=ct;while(ct&&ct.nodeType===1){if(ct.getAttribute(E)==u){return null;};ct=ct.parentNode;};return cu;},__gR:function(cv){while(cv&&cv.nodeType===1){var cw=cv.getAttribute(r);if(cw!=null){return cw===u;};cv=cv.parentNode;};return true;},_applyActive:function(cy,cx){if(cx){this.__gC(cx,cy,j,true);};if(cy){this.__gC(cy,cx,v,true);};if(this.__go){window.scrollTo(0,0);};},_applyFocus:function(cA,cz){if(cz){this.__gC(cz,cA,B,true);};if(cA){this.__gC(cA,cz,w,true);};if(cz){this.__gC(cz,cA,c,false);};if(cA){this.__gC(cA,cz||this.__gB,e,false);};}},destruct:function(){this._stopObserver();this._manager=this._window=this._document=this._root=this._body=this.__gS=this.__gB=null;},defer:function(cC){qx.event.Registration.addHandler(cC);var cD=cC.FOCUSABLE_ELEMENTS;for(var cB in cD){cD[cB.toUpperCase()]=1;};}});})();(function(){var a="qx.event.type.Focus";qx.Class.define(a,{extend:qx.event.type.Event,members:{init:function(d,b,c){qx.event.type.Event.prototype.init.call(this,c,false);this._target=d;this._relatedTarget=b;return this;}}});})();(function(){var a="abstract",b="Missing implementation",c="qx.event.dispatch.AbstractBubbling";qx.Class.define(c,{extend:qx.core.Object,implement:qx.event.IEventDispatcher,type:a,construct:function(d){this._manager=d;},members:{_getParent:function(e){throw new Error(b);},canDispatchEvent:function(g,event,f){return event.getBubbles();},dispatchEvent:function(l,event,w){var parent=l;var s=this._manager;var o,x;var n;var v,u;var y;var q=[];o=s.getListeners(l,w,true);x=s.getListeners(l,w,false);if(o){q.push(o);};if(x){q.push(x);};var parent=this._getParent(l);var k=[];var h=[];var m=[];var p=[];while(parent!=null){o=s.getListeners(parent,w,true);if(o){m.push(o);p.push(parent);};x=s.getListeners(parent,w,false);if(x){k.push(x);h.push(parent);};parent=this._getParent(parent);};event.setEventPhase(qx.event.type.Event.CAPTURING_PHASE);for(var i=m.length-1;i>=0;i-- ){y=p[i];event.setCurrentTarget(y);n=m[i];for(var j=0,r=n.length;jbc.anchorOffset){return bc.focusOffset;}else {return bc.anchorOffset;};};};if(this.__gT(bb)){return bb.selectionEnd;}else {return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bb)).focusOffset;};}}),__gT:function(be){return qx.dom.Node.isElement(be)&&(be.nodeName.toLowerCase()==h||be.nodeName.toLowerCase()==n);},set:qx.core.Environment.select(m,{"selection":function(bf,bi,bh){var bg;if(qx.dom.Node.isDocument(bf)){bf=bf.body;};if(qx.dom.Node.isElement(bf)||qx.dom.Node.isText(bf)){switch(bf.nodeName.toLowerCase()){case h:case n:case d:if(bh===undefined){bh=bf.value.length;};if(bi>=0&&bi<=bf.value.length&&bh>=0&&bh<=bf.value.length){bg=qx.bom.Range.get(bf);bg.collapse(true);bg.moveStart(c,bi);bg.moveEnd(c,bh-bi);bg.select();return true;};break;case f:if(bh===undefined){bh=bf.nodeValue.length;};if(bi>=0&&bi<=bf.nodeValue.length&&bh>=0&&bh<=bf.nodeValue.length){bg=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bg.moveToElementText(bf.parentNode);bg.collapse(true);bg.moveStart(c,bi);bg.moveEnd(c,bh-bi);bg.select();return true;};break;default:if(bh===undefined){bh=bf.childNodes.length-1;};if(bf.childNodes[bi]&&bf.childNodes[bh]){bg=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bg.moveToElementText(bf.childNodes[bi]);bg.collapse(true);var bj=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bj.moveToElementText(bf.childNodes[bh]);bg.setEndPoint(j,bj);bg.select();return true;};};};return false;},"default":function(bk,bp,bm){var bn=bk.nodeName.toLowerCase();if(qx.dom.Node.isElement(bk)&&(bn==h||bn==n)){if(bm===undefined){bm=bk.value.length;};if(bp>=0&&bp<=bk.value.length&&bm>=0&&bm<=bk.value.length){bk.focus();bk.select();bk.setSelectionRange(bp,bm);return true;};}else {var bq=false;var bl=qx.dom.Node.getWindow(bk).getSelection();var bo=qx.bom.Range.get(bk);if(qx.dom.Node.isText(bk)){if(bm===undefined){bm=bk.length;};if(bp>=0&&bp=0&&bm<=bk.length){bq=true;};}else if(qx.dom.Node.isElement(bk)){if(bm===undefined){bm=bk.childNodes.length-1;};if(bp>=0&&bk.childNodes[bp]&&bm>=0&&bk.childNodes[bm]){bq=true;};}else if(qx.dom.Node.isDocument(bk)){bk=bk.body;if(bm===undefined){bm=bk.childNodes.length-1;};if(bp>=0&&bk.childNodes[bp]&&bm>=0&&bk.childNodes[bm]){bq=true;};};if(bq){if(!bl.isCollapsed){bl.collapseToStart();};bo.setStart(bk,bp);if(qx.dom.Node.isText(bk)){bo.setEnd(bk,bm);}else {bo.setEndAfter(bk.childNodes[bm]);};if(bl.rangeCount>0){bl.removeAllRanges();};bl.addRange(bo);return true;};};return false;}}),setAll:function(br){return qx.bom.Selection.set(br,0);},clear:qx.core.Environment.select(m,{"selection":function(bs){var bu=qx.bom.Range.get(bs);var parent=bu.parentElement();var bv=qx.bom.Range.get(qx.dom.Node.getDocument(bs));if(qx.dom.Node.isText(bs)){bs=bs.parentNode;};if(parent==bv.parentElement()&&parent==bs){var bt=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bs));bt.empty();};},"default":function(bw){var bB=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bw));var bx=bw.nodeName.toLowerCase();if(qx.dom.Node.isElement(bw)&&(bx==h||bx==n)){bw.setSelectionRange(0,0);if(qx.bom.Element&&qx.bom.Element.blur){qx.bom.Element.blur(bw);};}else if(qx.dom.Node.isDocument(bw)||bx==o){bB.collapse(bw.body?bw.body:bw,0);}else {var by=qx.bom.Range.get(bw);if(!by.collapsed){var bz;var bA=by.commonAncestorContainer;if(qx.dom.Node.isElement(bw)&&qx.dom.Node.isText(bA)){bz=bA.parentNode;}else {bz=bA;};if(bz==bw){bB.collapse(bw,0);};};};}})}});})();(function(){var a="m",b="g",c="^",d="",e="qx.util.StringSplit",f="i",g="$(?!\\s)",h="[object RegExp]",j="y";qx.Bootstrap.define(e,{statics:{split:function(k,p,o){if(Object.prototype.toString.call(p)!==h){return String.prototype.split.call(k,p,o);};var r=[],l=0,m=(p.ignoreCase?f:d)+(p.multiline?a:d)+(p.sticky?j:d),p=RegExp(p.source,m+b),n,t,q,u,s=/()??/.exec(d)[1]===undefined;k=k+d;if(!s){n=RegExp(c+p.source+g,m);};if(o===undefined||+o<0){o=Infinity;}else {o=Math.floor(+o);if(!o){return [];};};while(t=p.exec(k)){q=t.index+t[0].length;if(q>l){r.push(k.slice(l,t.index));if(!s&&t.length>1){t[0].replace(n,function(){for(var i=1;i1&&t.index=o){break;};};if(p.lastIndex===t.index){p.lastIndex++ ;};};if(l===k.length){if(u||!p.test(d)){r.push(d);};}else {r.push(k.slice(l));};return r.length>o?r.slice(0,o):r;}}});})();(function(){var a="qx.bom.Range",b="text",c="password",d="file",e="submit",f="reset",g="textarea",h="input",i="hidden",j="html.selection",k="button",l="body";qx.Bootstrap.define(a,{statics:{get:qx.core.Environment.select(j,{"selection":function(m){if(qx.dom.Node.isElement(m)){switch(m.nodeName.toLowerCase()){case h:switch(m.type){case b:case c:case i:case k:case f:case d:case e:return m.createTextRange();default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};break;case g:case l:case k:return m.createTextRange();default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};}else {if(m==null){m=window;};return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};},"default":function(n){var o=qx.dom.Node.getDocument(n);var p=qx.bom.Selection.getSelectionObject(o);if(p.rangeCount>0){return p.getRangeAt(0);}else {return o.createRange();};}})}});})();(function(){var a="qx.event.handler.Appear",b="engine.name",c="mshtml",d="disappear",e="appear",f="browser.documentmode";qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(g){qx.core.Object.call(this);this.__et=g;this.__gU={};qx.event.handler.Appear.__gV[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,__gV:{},refresh:function(){var h=this.__gV;for(var i in h){h[i].refresh();};}},members:{__et:null,__gU:null,canHandleEvent:function(k,j){},registerEvent:function(o,p,m){var n=qx.core.ObjectRegistry.toHashCode(o)+p;var l=this.__gU;if(l&&!l[n]){l[n]=o;o.$$displayed=o.offsetWidth>0;};},unregisterEvent:function(t,u,r){var s=qx.core.ObjectRegistry.toHashCode(t)+u;var q=this.__gU;if(!q){return;};if(q[s]){delete q[s];};},refresh:function(){var A=this.__gU;var x;var y=qx.core.Environment.get(b)==c&&qx.core.Environment.get(f)<9;for(var v in A){x=A[v];var w=x.offsetWidth>0;if(!w&&y){w=x.offsetWidth>0;};if((!!x.$$displayed)!==w){x.$$displayed=w;var z=qx.event.Registration.createEvent(w?e:d);this.__et.dispatchEvent(x,z);};};}},destruct:function(){this.__et=this.__gU=null;delete qx.event.handler.Appear.__gV[this.$$hash];},defer:function(B){qx.event.Registration.addHandler(B);}});})();(function(){var a="mshtml",b="engine.name",c="blur",d="losecapture",e="focus",f="os.version",g="click",h="qx.event.dispatch.MouseCapture",i="capture",j="scroll",k="browser.documentmode";qx.Class.define(h,{extend:qx.event.dispatch.AbstractBubbling,construct:function(l,m){qx.event.dispatch.AbstractBubbling.call(this,l);this.__cz=l.getWindow();this.__cB=m;l.addListener(this.__cz,c,this.releaseCapture,this);l.addListener(this.__cz,e,this.releaseCapture,this);l.addListener(this.__cz,j,this.releaseCapture,this);},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST},members:{__cB:null,__gW:null,__gX:true,__cz:null,_getParent:function(n){return n.parentNode;},canDispatchEvent:function(p,event,o){return !!(this.__gW&&this.__gY[o]);},dispatchEvent:function(r,event,q){if(q==g){event.stopPropagation();this.releaseCapture();return;};if(this.__gX||!qx.dom.Hierarchy.contains(this.__gW,r)){r=this.__gW;};qx.event.dispatch.AbstractBubbling.prototype.dispatchEvent.call(this,r,event,q);},__gY:{"mouseup":1,"mousedown":1,"click":1,"dblclick":1,"mousemove":1,"mouseout":1,"mouseover":1,"pointerdown":1,"pointerup":1,"pointermove":1,"pointerover":1,"pointerout":1,"tap":1,"dbltap":1},activateCapture:function(t,s){var s=s!==false;if(this.__gW===t&&this.__gX==s){return;};if(this.__gW){this.releaseCapture();};if(this.hasNativeCapture){this.nativeSetCapture(t,s);var self=this;qx.bom.Event.addNativeListener(t,d,function(){qx.bom.Event.removeNativeListener(t,d,arguments.callee);self.releaseCapture();});};this.__gX=s;this.__gW=t;this.__cB.fireEvent(t,i,qx.event.type.Event,[true,false]);},getCaptureElement:function(){return this.__gW;},releaseCapture:function(){var u=this.__gW;if(!u){return;};this.__gW=null;this.__cB.fireEvent(u,d,qx.event.type.Event,[true,false]);this.nativeReleaseCapture(u);},hasNativeCapture:(qx.core.Environment.get(b)==a&&qx.core.Environment.get(k)<9||(parseInt(qx.core.Environment.get(f),10)>7&&qx.core.Environment.get(k)>9)),nativeSetCapture:qx.core.Environment.select(b,{"mshtml":function(w,v){w.setCapture(v!==false);},"default":(function(){})}),nativeReleaseCapture:qx.core.Environment.select(b,{"mshtml":function(x){x.releaseCapture();},"default":(function(){})})},destruct:function(){this.__gW=this.__cz=this.__cB=null;},defer:function(y){qx.event.Registration.addDispatcher(y);}});})();(function(){var a="qx.event.handler.Capture";qx.Class.define(a,{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(c,b){},registerEvent:function(f,e,d){},unregisterEvent:function(i,h,g){}},defer:function(j){qx.event.Registration.addHandler(j);}});})();(function(){var a="qx.dom.Hierarchy",b="previousSibling",c="html.element.contains",d="html.element.compareDocumentPosition",e="nextSibling",f="parentNode",g="*";qx.Bootstrap.define(a,{statics:{getNodeIndex:function(h){var i=0;while(h&&(h=h.previousSibling)){i++ ;};return i;},getElementIndex:function(l){var j=0;var k=qx.dom.Node.ELEMENT;while(l&&(l=l.previousSibling)){if(l.nodeType==k){j++ ;};};return j;},getNextElementSibling:function(m){while(m&&(m=m.nextSibling)&&!qx.dom.Node.isElement(m)){continue;};return m||null;},getPreviousElementSibling:function(n){while(n&&(n=n.previousSibling)&&!qx.dom.Node.isElement(n)){continue;};return n||null;},contains:function(q,p){if(qx.core.Environment.get(c)){if(qx.dom.Node.isDocument(q)){var o=qx.dom.Node.getDocument(p);return q&&o==q;}else if(qx.dom.Node.isDocument(p)){return false;}else {return q.contains(p);};}else if(qx.core.Environment.get(d)){return !!(q.compareDocumentPosition(p)&16);}else {while(p){if(q==p){return true;};p=p.parentNode;};return false;};},isRendered:function(s){var r=s.ownerDocument||s.document;if(qx.core.Environment.get(c)){if(!s.parentNode){return false;};return r.body.contains(s);}else if(qx.core.Environment.get(d)){return !!(r.compareDocumentPosition(s)&16);}else {while(s){if(s==r.body){return true;};s=s.parentNode;};return false;};},isDescendantOf:function(u,t){return this.contains(t,u);},getCommonParent:function(w,x){if(w===x){return w;};if(qx.core.Environment.get(c)){while(w&&qx.dom.Node.isElement(w)){if(w.contains(x)){return w;};w=w.parentNode;};return null;}else {var v=[];while(w||x){if(w){if(qx.lang.Array.contains(v,w)){return w;};v.push(w);w=w.parentNode;};if(x){if(qx.lang.Array.contains(v,x)){return x;};v.push(x);x=x.parentNode;};};return null;};},getAncestors:function(y){return this._recursivelyCollect(y,f);},getChildElements:function(A){A=A.firstChild;if(!A){return [];};var z=this.getNextSiblings(A);if(A.nodeType===1){z.unshift(A);};return z;},getDescendants:function(B){return qx.lang.Array.fromCollection(B.getElementsByTagName(g));},getFirstDescendant:function(C){C=C.firstChild;while(C&&C.nodeType!=1){C=C.nextSibling;};return C;},getLastDescendant:function(D){D=D.lastChild;while(D&&D.nodeType!=1){D=D.previousSibling;};return D;},getPreviousSiblings:function(E){return this._recursivelyCollect(E,b);},getNextSiblings:function(F){return this._recursivelyCollect(F,e);},_recursivelyCollect:function(I,G){var H=[];while(I=I[G]){if(I.nodeType==1){H.push(I);};};return H;},getSiblings:function(J){return this.getPreviousSiblings(J).reverse().concat(this.getNextSiblings(J));},isEmpty:function(K){K=K.firstChild;while(K){if(K.nodeType===qx.dom.Node.ELEMENT||K.nodeType===qx.dom.Node.TEXT){return false;};K=K.nextSibling;};return true;},cleanWhitespace:function(N){var L=N.firstChild;while(L){var M=L.nextSibling;if(L.nodeType==3&&!/\S/.test(L.nodeValue)){N.removeChild(L);};L=M;};}}});})();(function(){var a="borderBottomWidth",b="visible",d="engine.name",e="borderTopWidth",f="top",g="borderLeftStyle",h="none",i="overflow",j="right",k="bottom",l="borderLeftWidth",m="100px",n="-moz-scrollbars-vertical",o="borderRightStyle",p="hidden",q="div",r="left",u="qx.bom.element.Scroll",v="borderRightWidth",w="scroll",x="overflowY";qx.Class.define(u,{statics:{__ha:null,getScrollbarWidth:function(){if(this.__ha!==null){return this.__ha;};var y=qx.bom.element.Style;var A=function(E,F){return parseInt(y.get(E,F),10)||0;};var B=function(G){return (y.get(G,o)==h?0:A(G,v));};var C=function(H){return (y.get(H,g)==h?0:A(H,l));};var D=qx.core.Environment.select(d,{"mshtml":function(I){if(y.get(I,x)==p||I.clientWidth==0){return B(I);};return Math.max(0,I.offsetWidth-I.clientLeft-I.clientWidth);},"default":function(J){if(J.clientWidth==0){var L=y.get(J,i);var K=(L==w||L==n?16:0);return Math.max(0,B(J)+K);};return Math.max(0,(J.offsetWidth-J.clientWidth-C(J)));}});var z=function(M){return D(M)-B(M);};var t=document.createElement(q);var s=t.style;s.height=s.width=m;s.overflow=w;document.body.appendChild(t);var c=z(t);this.__ha=c;document.body.removeChild(t);return this.__ha;},intoViewX:function(bi,stop,bh){var parent=bi.parentNode;var bg=qx.dom.Node.getDocument(bi);var Y=bg.body;var be,Q,V;var R,P,S;var bb,T,O;var X,bc,bd,ba;var bf,U,bj;var N=bh===r;var W=bh===j;stop=stop?stop.parentNode:bg;while(parent&&parent!=stop){if(parent.scrollWidth>parent.clientWidth&&(parent===Y||qx.bom.element.Style.get(parent,x)!=b)){if(parent===Y){Q=parent.scrollLeft;V=Q+qx.bom.Viewport.getWidth();R=qx.bom.Viewport.getWidth();P=parent.clientWidth;S=parent.scrollWidth;bb=0;T=0;O=0;}else {be=qx.bom.element.Location.get(parent);Q=be.left;V=be.right;R=parent.offsetWidth;P=parent.clientWidth;S=parent.scrollWidth;bb=parseInt(qx.bom.element.Style.get(parent,l),10)||0;T=parseInt(qx.bom.element.Style.get(parent,v),10)||0;O=R-P-bb-T;};X=qx.bom.element.Location.get(bi);bc=X.left;bd=X.right;ba=bi.offsetWidth;bf=bc-Q-bb;U=bd-V+T;bj=0;if(N){bj=bf;}else if(W){bj=U+O;}else if(bf<0||ba>P){bj=bf;}else if(U>0){bj=U+O;};parent.scrollLeft+=bj;qx.event.Registration.fireNonBubblingEvent(parent,w);};if(parent===Y){break;};parent=parent.parentNode;};},intoViewY:function(bD,stop,bC){var parent=bD.parentNode;var bB=qx.dom.Node.getDocument(bD);var bk=bB.body;var by,bt,bw;var bE,bx,bu;var bp,bl,bA;var br,bs,bq,bm;var bn,bv,bz;var bo=bC===f;var bF=bC===k;stop=stop?stop.parentNode:bB;while(parent&&parent!=stop){if(parent.scrollHeight>parent.clientHeight&&(parent===bk||qx.bom.element.Style.get(parent,x)!=b)){if(parent===bk){bt=parent.scrollTop;bw=bt+qx.bom.Viewport.getHeight();bE=qx.bom.Viewport.getHeight();bx=parent.clientHeight;bu=parent.scrollHeight;bp=0;bl=0;bA=0;}else {by=qx.bom.element.Location.get(parent);bt=by.top;bw=by.bottom;bE=parent.offsetHeight;bx=parent.clientHeight;bu=parent.scrollHeight;bp=parseInt(qx.bom.element.Style.get(parent,e),10)||0;bl=parseInt(qx.bom.element.Style.get(parent,a),10)||0;bA=bE-bx-bp-bl;};br=qx.bom.element.Location.get(bD);bs=br.top;bq=br.bottom;bm=bD.offsetHeight;bn=bs-bt-bp;bv=bq-bw+bl;bz=0;if(bo){bz=bn;}else if(bF){bz=bv+bA;}else if(bn<0||bm>bx){bz=bn;}else if(bv>0){bz=bv+bA;};parent.scrollTop+=bz;qx.event.Registration.fireNonBubblingEvent(parent,w);};if(parent===bk){break;};parent=parent.parentNode;};},intoView:function(bI,stop,bH,bG){this.intoViewX(bI,stop,bH);this.intoViewY(bI,stop,bG);}}});})();(function(){var a="os.name",b="opera",c="engine.name",d="qx.event.type.Dom",e="osx";qx.Class.define(d,{extend:qx.event.type.Native,statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8},members:{_cloneNativeEvent:function(f,g){var g=qx.event.type.Native.prototype._cloneNativeEvent.call(this,f,g);g.shiftKey=f.shiftKey;g.ctrlKey=f.ctrlKey;g.altKey=f.altKey;g.metaKey=f.metaKey;return g;},getModifiers:function(){var h=0;var i=this._native;if(i.shiftKey){h|=qx.event.type.Dom.SHIFT_MASK;};if(i.ctrlKey){h|=qx.event.type.Dom.CTRL_MASK;};if(i.altKey){h|=qx.event.type.Dom.ALT_MASK;};if(i.metaKey){h|=qx.event.type.Dom.META_MASK;};return h;},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.core.Environment.get(a)==e&&qx.core.Environment.get(c)!=b){return this._native.metaKey;}else {return this._native.ctrlKey;};}}});})();(function(){var a="mshtml",b="engine.name",c="click",d="middle",e="none",f="contextmenu",g="qx.event.type.Mouse",h="browser.documentmode",i="left",j="right",k="browser.name",l="ie";qx.Class.define(g,{extend:qx.event.type.Dom,members:{_cloneNativeEvent:function(m,n){var n=qx.event.type.Dom.prototype._cloneNativeEvent.call(this,m,n);n.button=m.button;n.clientX=Math.round(m.clientX);n.clientY=Math.round(m.clientY);n.pageX=m.pageX?Math.round(m.pageX):undefined;n.pageY=m.pageY?Math.round(m.pageY):undefined;n.screenX=Math.round(m.screenX);n.screenY=Math.round(m.screenY);n.wheelDelta=m.wheelDelta;n.wheelDeltaX=m.wheelDeltaX;n.wheelDeltaY=m.wheelDeltaY;n.delta=m.delta;n.deltaX=m.deltaX;n.deltaY=m.deltaY;n.deltaZ=m.deltaZ;n.detail=m.detail;n.axis=m.axis;n.wheelX=m.wheelX;n.wheelY=m.wheelY;n.HORIZONTAL_AXIS=m.HORIZONTAL_AXIS;n.srcElement=m.srcElement;n.target=m.target;return n;},__hb:{'0':i,'2':j,'1':d},__hc:{'0':e,'1':i,'2':j,'4':d},__hd:{'1':i,'2':j,'4':d},stop:function(){this.stopPropagation();},getButton:function(){switch(this._type){case f:return j;case c:if(qx.core.Environment.get(k)===l&&qx.core.Environment.get(h)<9){return i;};default:if(!(qx.core.Environment.get(b)==a&&qx.core.Environment.get(h)<=8)){if(this._native.button===-1){return this.__hc[this._native.buttons]||e;};return this.__hb[this._native.button]||e;}else {return this.__hd[this._native.button]||e;};};},isLeftPressed:function(){return this.getButton()===i;},isMiddlePressed:function(){return this.getButton()===d;},isRightPressed:function(){return this.getButton()===j;},getRelatedTarget:function(){return this._relatedTarget;},getViewportLeft:function(){return Math.round(this._native.clientX);},getViewportTop:function(){return Math.round(this._native.clientY);},getDocumentLeft:function(){if(this._native.pageX!==undefined){return Math.round(this._native.pageX);}else if(this._native.srcElement){var o=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(o);}else {return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(window);};},getDocumentTop:function(){if(this._native.pageY!==undefined){return Math.round(this._native.pageY);}else if(this._native.srcElement){var p=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(p);}else {return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(window);};},getScreenLeft:function(){return Math.round(this._native.screenX);},getScreenTop:function(){return Math.round(this._native.screenY);}}});})();(function(){var a="",b="mouse",c="number",d="touch",e="qx.event.type.Pointer",f="pen",g="string";qx.Class.define(e,{extend:qx.event.type.Mouse,members:{_cloneNativeEvent:function(h,i){i=qx.event.type.Mouse.prototype._cloneNativeEvent.call(this,h,i);i.pointerId=h.pointerId;i.width=h.width;i.height=h.height;i.pressure=h.pressure;i.tiltX=h.tiltX;i.tiltY=h.tiltY;i.pointerType=h.pointerType;i.isPrimary=h.isPrimary;i._original=h._original;i.MSPOINTER_TYPE_MOUSE=h.MSPOINTER_TYPE_MOUSE;i.MSPOINTER_TYPE_PEN=h.MSPOINTER_TYPE_PEN;i.MSPOINTER_TYPE_TOUCH=h.MSPOINTER_TYPE_TOUCH;return i;},getDocumentLeft:function(){var x=qx.event.type.Mouse.prototype.getDocumentLeft.call(this);if(x==0&&this.getPointerType()==d&&this._native._original!==undefined){x=Math.round(this._native._original.changedTouches[0].pageX)||0;};return x;},getDocumentTop:function(){var y=qx.event.type.Mouse.prototype.getDocumentTop.call(this);if(y==0&&this.getPointerType()==d&&this._native._original!==undefined){y=Math.round(this._native._original.changedTouches[0].pageY)||0;};return y;},getPointerId:function(){return this._native.pointerId||0;},getWidth:function(){return this._native.width||0;},getHeight:function(){return this._native.height||0;},getPressure:function(){return this._native.pressure||0;},getTiltX:function(){return this._native.tiltX||0;},getTiltY:function(){return this._native.tiltY||0;},getOriginalTarget:function(){if(this._native&&this._native._original){var j=this._native._original;try{if(j.type.indexOf(d)==0){if(j.changedTouches[0]){return document.elementFromPoint(j.changedTouches[0].clientX,j.changedTouches[0].clientY);};};}catch(k){return qx.bom.Event.getTarget(this._native);};return qx.bom.Event.getTarget(j);}else if(this._native){return qx.bom.Event.getTarget(this._native);};return qx.event.type.Mouse.prototype.getOriginalTarget.call(this);},getPointerType:function(){if(typeof this._native.pointerType==g){return this._native.pointerType;};if(typeof this._native.pointerType==c){if(this._native.pointerType==this._native.MSPOINTER_TYPE_MOUSE){return b;};if(this._native.pointerType==this._native.MSPOINTER_TYPE_PEN){return f;};if(this._native.pointerType==this._native.MSPOINTER_TYPE_TOUCH){return d;};};return a;},isPrimary:function(){return !!this._native.isPrimary;}}});})();(function(){var a="qx.event.type.Track";qx.Class.define(a,{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(b,c){var c=qx.event.type.Pointer.prototype._cloneNativeEvent.call(this,b,c);c.delta=b.delta;return c;},getDelta:function(){return this._native.delta;}}});})();(function(){var a="qx.event.type.Tap";qx.Class.define(a,{extend:qx.event.type.Pointer});})();(function(){var a="qx.event.type.Swipe";qx.Class.define(a,{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(b,c){var c=qx.event.type.Pointer.prototype._cloneNativeEvent.call(this,b,c);c.swipe=b.swipe;return c;},getStartTime:function(){return this._native.swipe.startTime;},getDuration:function(){return this._native.swipe.duration;},getAxis:function(){return this._native.swipe.axis;},getDirection:function(){return this._native.swipe.direction;},getVelocity:function(){return this._native.swipe.velocity;},getDistance:function(){return this._native.swipe.distance;}}});})();(function(){var a="qx.event.type.Rotate";qx.Class.define(a,{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(b,c){var c=qx.event.type.Pointer.prototype._cloneNativeEvent.call(this,b,c);c.angle=b.angle;return c;},getAngle:function(){return this._native.angle;}}});})();(function(){var a="qx.event.type.Pinch";qx.Class.define(a,{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(b,c){var c=qx.event.type.Pointer.prototype._cloneNativeEvent.call(this,b,c);c.scale=b.scale;return c;},getScale:function(){return this._native.scale;}}});})();(function(){var a="qx.event.handler.UserAction";qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(b){qx.core.Object.call(this);this.__et=b;this.__cz=b.getWindow();},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{useraction:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__et:null,__cz:null,canHandleEvent:function(d,c){},registerEvent:function(g,f,e){},unregisterEvent:function(j,i,h){}},destruct:function(){this.__et=this.__cz=null;},defer:function(k){qx.event.Registration.addHandler(k);}});})();(function(){var a="touchmove",b="os.name",c="MSPointerDown",d="android",e="engine.version",f="pointercancel",g="qx.event.handler.TouchCore",h="event.mspointer",j="MSPointerCancel",k="y",l="pointer-events",m="pointerup",n="touchend",o="pointerdown",p="MSPointerUp",q="right",r="engine.name",s="undefined",t="touchcancel",u="MSPointerMove",v="webkit",w="none",z="left",A="pointermove",B="down",C="x",D="up",E="touchstart";qx.Bootstrap.define(g,{extend:Object,statics:{TAP_MAX_DISTANCE:qx.core.Environment.get(b)!=d?10:40,SWIPE_DIRECTION:{x:[z,q],y:[D,B]},SWIPE_MIN_DISTANCE:qx.core.Environment.get(b)!=d?11:41,SWIPE_MIN_VELOCITY:0,LONGTAP_TIME:500},construct:function(F,G){this.__he=F;this.__eB=G;this._initTouchObserver();this.__hf=[];this.__hg={};},members:{__he:null,__eB:null,__hh:null,__hi:null,__hg:null,__hj:null,__hk:null,__hl:null,__hf:null,__hm:null,_initTouchObserver:function(){this.__hh=qx.lang.Function.listener(this._onTouchEvent,this);this.__hm=[E,a,n,t];if(qx.core.Environment.get(h)){var H=parseInt(qx.core.Environment.get(e),10);if(H==10){this.__hm=[c,u,p,j];}else {this.__hm=[o,A,m,f];};};for(var i=0;i1){this.__hk=this._getScalingDistance(V.touches[0],V.touches[1]);this.__hl=this._getRotationAngle(V.touches[0],V.touches[1]);};for(var i=0;i1){var W=this._getScalingDistance(V.targetTouches[0],V.targetTouches[1]);V.scale=W/this.__hk;};if((typeof V.rotation==s||qx.core.Environment.get(h))&&V.targetTouches.length>1){var X=this._getRotationAngle(V.targetTouches[0],V.targetTouches[1]);V._rotation=X-this.__hl;};V.delta=this._calcTouchesDelta(V.targetTouches);};this._fireEvent(V,ba,this.__hi);if(qx.core.Environment.get(h)){if(ba==n||ba==t){delete this.__hf[V.pointerId];};};if((ba==n||ba==t)&&V.changedTouches[0]){delete this.__hg[V.changedTouches[0].identifier];};},_detectTouchesByPointer:function(bd,bf){var bc=[];if(bf==E){this.__hf[bd.pointerId]=bd;}else if(bf==a){this.__hf[bd.pointerId]=bd;};for(var be in this.__hf){var bb=this.__hf[be];bc.push(bb);};return bc;},_mapPointerEvent:function(bg){bg=bg.toLowerCase();if(bg.indexOf(o)!==-1){return E;}else if(bg.indexOf(m)!==-1){return n;}else if(bg.indexOf(A)!==-1){return a;}else if(bg.indexOf(f)!==-1){return t;};return bg;},_getTarget:function(bi){var bj=qx.bom.Event.getTarget(bi);if(qx.core.Environment.get(r)==v){if(bj&&bj.nodeType==3){bj=bj.parentNode;};}else if(qx.core.Environment.get(h)){var bh=this.__hn(bi);if(bh){bj=bh;};};return bj;},__hn:function(bm){var bk=null;var bl=null;if(bm&&bm.touches&&bm.touches.length!==0){bk=bm.touches[0].clientX;bl=bm.touches[0].clientY;};var bo=document.msElementsFromPoint(bk,bl);if(bo){for(var i=0;i1;},getScale:function(){return this._native.scale;},getRotation:function(){if(typeof this._native._rotation===d){return this._native.rotation;}else {return this._native._rotation;};},getDelta:function(){return this._native.delta;},getDocumentLeft:function(g){return this.__hu(g).pageX;},getDocumentTop:function(h){return this.__hu(h).pageY;},getScreenLeft:function(j){return this.__hu(j).screenX;},getScreenTop:function(k){return this.__hu(k).screenY;},getViewportLeft:function(l){return this.__hu(l).clientX;},getViewportTop:function(m){return this.__hu(m).clientY;},getIdentifier:function(n){return this.__hu(n).identifier;},__hu:function(o){o=o==null?0:o;return this.__hv()[o];},__hv:function(){var p=(this._isTouchEnd()?this.getChangedTargetTouches():this.getTargetTouches());return p;},_isTouchEnd:function(){return (this.getType()==c||this.getType()==a);}}});})();(function(){var a="mshtml",b="engine.name",c="pointerup",d="dispose",e="useraction",f="mouse",g="pointercancel",h="pointerdown",i="pointermove",j="qx.event.handler.Pointer",k="browser.documentmode",l="qxanonymous";qx.Class.define(j,{extend:qx.event.handler.PointerCore,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{pointermove:1,pointerover:1,pointerout:1,pointerdown:1,pointerup:1,pointercancel:1,gesturebegin:1,gesturemove:1,gesturefinish:1,gesturecancel:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT,IGNORE_CAN_HANDLE:true},construct:function(m){this.__et=m;this.__cz=m.getWindow();this.__dd=this.__cz.document;qx.event.handler.PointerCore.apply(this,[this.__dd]);},members:{__et:null,__cz:null,__dd:null,canHandleEvent:function(o,n){},registerEvent:function(r,q,p){},unregisterEvent:function(u,t,s){},_initPointerObserver:function(){var v=false;if(qx.core.Environment.get(b)==a&&qx.core.Environment.get(k)<9){v=true;};this._initObserver(this._onPointerEvent,v);},_fireEvent:function(w,x,y){if(!y){y=qx.bom.Event.getTarget(w);};while(y&&y.getAttribute&&y.getAttribute(l)){y=y.parentNode;};if(!x){x=w.type;};x=qx.event.handler.PointerCore.MSPOINTER_TO_POINTER_MAPPING[x]||x;if(y&&y.nodeType){qx.event.type.dom.Pointer.normalize(w);w.srcElement=y;qx.event.Registration.fireEvent(y,x,qx.event.type.Pointer,[w,y,null,true,true]);if((w.getPointerType()!==f||w.button<=qx.event.handler.PointerCore.LEFT_BUTTON)&&(x==h||x==c||x==i||x==g)){qx.event.Registration.fireEvent(this.__dd,qx.event.handler.PointerCore.POINTER_TO_GESTURE_MAPPING[x],qx.event.type.Pointer,[w,y,null,false,false]);};qx.event.Registration.fireEvent(this.__cz,e,qx.event.type.Data,[x]);};},_onPointerEvent:function(z){if(z._original&&z._original[this._processedFlag]){return;};var A=qx.event.handler.PointerCore.MSPOINTER_TO_POINTER_MAPPING[z.type]||z.type;this._fireEvent(z,A,qx.bom.Event.getTarget(z));},dispose:function(){this.__ht(d);this.__et=this.__cz=this.__dd=null;},__ht:function(C,B){qx.event.handler.PointerCore.prototype[C].apply(this,B||[]);}},defer:function(D){qx.event.Registration.addHandler(D);qx.event.Registration.getManager(document).getHandler(D);}});})();(function(){var a="offline",b="qx.event.handler.Offline",c="online";qx.Class.define(b,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(d){qx.core.Object.call(this);this.__et=d;this.__cz=d.getWindow();this._initObserver();},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{online:true,offline:true},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__et:null,__cz:null,__hp:null,canHandleEvent:function(f,e){},registerEvent:function(i,h,g){},unregisterEvent:function(l,k,j){},_initObserver:function(){this.__hp=qx.lang.Function.listener(this._onNative,this);qx.bom.Event.addNativeListener(this.__cz,a,this.__hp);qx.bom.Event.addNativeListener(this.__cz,c,this.__hp);},_stopObserver:function(){qx.bom.Event.removeNativeListener(this.__cz,a,this.__hp);qx.bom.Event.removeNativeListener(this.__cz,c,this.__hp);},_onNative:qx.event.GlobalError.observeMethod(function(m){qx.event.Registration.fireEvent(this.__cz,m.type,qx.event.type.Event,[]);}),isOnline:function(){return !!this.__cz.navigator.onLine;}},destruct:function(){this.__et=null;this._stopObserver();delete qx.event.handler.Appear.__instances[this.$$hash];},defer:function(n){qx.event.Registration.addHandler(n);}});})();(function(){var a="dblclick",b="os.name",c="mouseup",d="mousedown",e="useraction",f="webkit",g="contextmenu",h="mousewheel",i="engine.name",j="mouseover",k="mouseout",l="gecko",m="ios",n="click",o="mousemove",p="qx.event.handler.Mouse",q="on";qx.Class.define(p,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(r){qx.core.Object.call(this);this.__et=r;this.__cz=r.getWindow();this.__dd=this.__cz.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+qx.event.IEventHandler.TARGET_DOCUMENT+qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__hw:null,__hx:null,__hy:null,__hz:null,__hA:null,__et:null,__cz:null,__dd:null,__hB:null,canHandleEvent:function(t,s){},registerEvent:qx.core.Environment.get(b)===m?function(w,v,u){w[q+v]=(function(){return null;});}:(function(){return null;}),unregisterEvent:qx.core.Environment.get(b)===m?function(z,y,x){z[q+y]=undefined;}:(function(){return null;}),__gC:function(A,B,C){if(!C){C=qx.bom.Event.getTarget(A);};if(C&&C.nodeType){qx.event.Registration.fireEvent(C,B||A.type,B==h?qx.event.type.MouseWheel:qx.event.type.Mouse,[A,C,null,true,true]);};qx.event.Registration.fireEvent(this.__cz,e,qx.event.type.Data,[B||A.type]);},preventNextClick:function(){this.__hB=true;},_initButtonObserver:function(){this.__hw=qx.lang.Function.listener(this._onButtonEvent,this);var Event=qx.bom.Event;Event.addNativeListener(this.__dd,d,this.__hw);Event.addNativeListener(this.__dd,c,this.__hw);Event.addNativeListener(this.__dd,n,this.__hw);Event.addNativeListener(this.__dd,a,this.__hw);Event.addNativeListener(this.__dd,g,this.__hw);},_initMoveObserver:function(){this.__hx=qx.lang.Function.listener(this._onMoveEvent,this);var Event=qx.bom.Event;Event.addNativeListener(this.__dd,o,this.__hx);Event.addNativeListener(this.__dd,j,this.__hx);Event.addNativeListener(this.__dd,k,this.__hx);},_initWheelObserver:function(){this.__hy=qx.lang.Function.listener(this._onWheelEvent,this);var D=qx.bom.client.Event.getMouseWheel(this.__cz);qx.bom.Event.addNativeListener(D.target,D.type,this.__hy);},_stopButtonObserver:function(){var Event=qx.bom.Event;Event.removeNativeListener(this.__dd,d,this.__hw);Event.removeNativeListener(this.__dd,c,this.__hw);Event.removeNativeListener(this.__dd,n,this.__hw);Event.removeNativeListener(this.__dd,a,this.__hw);Event.removeNativeListener(this.__dd,g,this.__hw);},_stopMoveObserver:function(){var Event=qx.bom.Event;Event.removeNativeListener(this.__dd,o,this.__hx);Event.removeNativeListener(this.__dd,j,this.__hx);Event.removeNativeListener(this.__dd,k,this.__hx);},_stopWheelObserver:function(){var E=qx.bom.client.Event.getMouseWheel(this.__cz);qx.bom.Event.removeNativeListener(E.target,E.type,this.__hy);},_onMoveEvent:qx.event.GlobalError.observeMethod(function(F){this.__gC(F);}),_onButtonEvent:qx.event.GlobalError.observeMethod(function(I){var H=I.type;var J=qx.bom.Event.getTarget(I);if(H==n&&this.__hB){delete this.__hB;return;};if(qx.core.Environment.get(i)==l||qx.core.Environment.get(i)==f){if(J&&J.nodeType==3){J=J.parentNode;};};var G=qx.event.handler.DragDrop&&this.__et.getHandler(qx.event.handler.DragDrop).isSessionActive();if(G&&H==n){return;};if(this.__hD){this.__hD(I,H,J);};this.__gC(I,H,J);if(this.__hC){this.__hC(I,H,J);};if(this.__hE&&!G){this.__hE(I,H,J);};this.__hz=H;}),_onWheelEvent:qx.event.GlobalError.observeMethod(function(K){this.__gC(K,h);}),__hC:qx.core.Environment.select(i,{"opera":function(L,M,N){if(M==c&&L.button==2){this.__gC(L,g,N);};},"default":null}),__hD:qx.core.Environment.select(i,{"mshtml":function(O,P,Q){if(O.target!==undefined){return;};if(P==c&&this.__hz==n){this.__gC(O,d,Q);}else if(P==a){this.__gC(O,n,Q);};},"default":null}),__hE:qx.core.Environment.select(i,{"mshtml":null,"default":function(S,R,T){switch(R){case d:this.__hA=T;break;case c:if(T!==this.__hA){var U=qx.dom.Hierarchy.getCommonParent(T,this.__hA);if(U){this.__gC(S,n,U);};};};}})},destruct:function(){this._stopButtonObserver();this._stopMoveObserver();this._stopWheelObserver();this.__et=this.__cz=this.__dd=this.__hA=null;},defer:function(V){qx.event.Registration.addHandler(V);}});})();(function(){var a="qx.event.type.MouseWheel";qx.Class.define(a,{extend:qx.event.type.Mouse,members:{stop:function(){this.stopPropagation();this.preventDefault();},getWheelDelta:function(b){return qx.util.Wheel.getDelta(this._native,b);}}});})();(function(){var a="x",b="y",c="qx.util.Wheel";qx.Bootstrap.define(c,{statics:{MAXSCROLL:null,MINSCROLL:null,FACTOR:1,getDelta:function(e,d){if(d===undefined){var f=0;if(e.wheelDelta!==undefined){f=-e.wheelDelta;}else if(e.detail!==0){f=e.detail;}else if(e.deltaY!==undefined){f=e.deltaY;};return this.__hF(f);};if(d===a){var x=0;if(e.wheelDelta!==undefined){if(e.wheelDeltaX!==undefined){x=e.wheelDeltaX?this.__hF(-e.wheelDeltaX):0;};}else {if(e.axis&&e.axis==e.HORIZONTAL_AXIS&&(e.detail!==undefined)&&(e.detail>0)){x=this.__hF(e.detail);}else if(e.deltaX!==undefined){x=this.__hF(e.deltaX);};};return x;};if(d===b){var y=0;if(e.wheelDelta!==undefined){if(e.wheelDeltaY!==undefined){y=e.wheelDeltaY?this.__hF(-e.wheelDeltaY):0;}else {y=this.__hF(-e.wheelDelta);};}else {if(!(e.axis&&e.axis==e.HORIZONTAL_AXIS)&&(e.detail!==undefined)&&(e.detail>0)){y=this.__hF(e.detail);}else if(e.deltaY!==undefined){y=this.__hF(e.deltaY);};};return y;};return 0;},__hF:function(j){var g=Math.abs(j);if(g===0){return 0;};if(qx.util.Wheel.MINSCROLL==null||qx.util.Wheel.MINSCROLL>g){qx.util.Wheel.MINSCROLL=g;this.__hG();};if(qx.util.Wheel.MAXSCROLL==null||qx.util.Wheel.MAXSCROLL=this.charCodeA&&bv<=this.charCodeZ){return true;};if(bv>=this.charCode0&&bv<=this.charCode9){return true;};if(this.specialCharCodeMap[bv]){return true;};if(this.numpadToCharCode[bv]){return true;};if(this.isNonPrintableKeyCode(bv)){return true;};return false;},isNonPrintableKeyCode:function(bw){return this.keyCodeToIdentifierMap[bw]?true:false;},isValidKeyIdentifier:function(bx){if(this.identifierToKeyCodeMap[bx]){return true;};if(bx.length!=1){return false;};if(bx>=s&&bx<=bq){return true;};if(bx>=i&&bx<=I){return true;};switch(bx){case e:case a:case J:case G:case br:return true;default:return false;};},isPrintableKeyIdentifier:function(by){if(by===j){return true;}else {return this.identifierToKeyCodeMap[by]?false:true;};}},defer:function(bz,bA){if(!bz.identifierToKeyCodeMap){bz.identifierToKeyCodeMap={};for(var bB in bz.keyCodeToIdentifierMap){bz.identifierToKeyCodeMap[bz.keyCodeToIdentifierMap[bB]]=parseInt(bB,10);};for(var bB in bz.specialCharCodeMap){bz.identifierToKeyCodeMap[bz.specialCharCodeMap[bB]]=parseInt(bB,10);};};}});})();(function(){var a="qx.event.type.KeySequence";qx.Class.define(a,{extend:qx.event.type.Dom,members:{init:function(c,d,b){qx.event.type.Dom.prototype.init.call(this,c,d,null,true,true);this._keyCode=c.keyCode;this._identifier=b;return this;},clone:function(e){var f=qx.event.type.Dom.prototype.clone.call(this,e);f._keyCode=this._keyCode;f._identifier=this._identifier;return f;},getKeyIdentifier:function(){return this._identifier;},getKeyCode:function(){return this._keyCode;},isPrintable:function(){return qx.event.util.Keyboard.isPrintableKeyIdentifier(this._identifier);}}});})();(function(){var a="qx.event.type.KeyInput";qx.Class.define(a,{extend:qx.event.type.Dom,members:{init:function(c,d,b){qx.event.type.Dom.prototype.init.call(this,c,d,null,true,true);this._charCode=b;return this;},clone:function(e){var f=qx.event.type.Dom.prototype.clone.call(this,e);f._charCode=this._charCode;return f;},getCharCode:function(){return this._charCode;},getChar:function(){return String.fromCharCode(this._charCode);}}});})();(function(){var a="text",b="engine.version",c="keydown",d="radio",f="textarea",g="password",h="propertychange",j="select-multiple",k="change",m="input",n="value",p="select",q="browser.documentmode",r="browser.version",s="opera",t="keyup",u="mshtml",v="engine.name",w="keypress",x="checkbox",y="qx.event.handler.Input",z="checked";qx.Class.define(y,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(){qx.core.Object.call(this);this._onChangeCheckedWrapper=qx.lang.Function.listener(this._onChangeChecked,this);this._onChangeValueWrapper=qx.lang.Function.listener(this._onChangeValue,this);this._onInputWrapper=qx.lang.Function.listener(this._onInput,this);this._onPropertyWrapper=qx.lang.Function.listener(this._onProperty,this);if((qx.core.Environment.get(v)==s)){this._onKeyDownWrapper=qx.lang.Function.listener(this._onKeyDown,this);this._onKeyUpWrapper=qx.lang.Function.listener(this._onKeyUp,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:{__hQ:false,__hR:null,__hS:null,__hT:null,canHandleEvent:function(C,B){var A=C.tagName.toLowerCase();if(B===m&&(A===m||A===f)){return true;};if(B===k&&(A===m||A===f||A===p)){return true;};return false;},registerEvent:function(H,G,E){if(qx.core.Environment.get(v)==u&&(qx.core.Environment.get(b)<9||(qx.core.Environment.get(b)>=9&&qx.core.Environment.get(q)<9))){if(!H.__hU){var F=H.tagName.toLowerCase();var D=H.type;if(D===a||D===g||F===f||D===x||D===d){qx.bom.Event.addNativeListener(H,h,this._onPropertyWrapper);};if(D!==x&&D!==d){qx.bom.Event.addNativeListener(H,k,this._onChangeValueWrapper);};if(D===a||D===g){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,H);qx.bom.Event.addNativeListener(H,w,this._onKeyPressWrapped);};H.__hU=true;};}else {if(G===m){this.__hV(H);}else if(G===k){if(H.type===d||H.type===x){qx.bom.Event.addNativeListener(H,k,this._onChangeCheckedWrapper);}else {qx.bom.Event.addNativeListener(H,k,this._onChangeValueWrapper);};if((qx.core.Environment.get(v)==s)||(qx.core.Environment.get(v)==u)){if(H.type===a||H.type===g){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,H);qx.bom.Event.addNativeListener(H,w,this._onKeyPressWrapped);};};};};},__hV:qx.core.Environment.select(v,{"mshtml":function(I){if(qx.core.Environment.get(b)>=9&&qx.core.Environment.get(q)>=9){qx.bom.Event.addNativeListener(I,m,this._onInputWrapper);if(I.type===a||I.type===g||I.type===f){this._inputFixWrapper=qx.lang.Function.listener(this._inputFix,this,I);qx.bom.Event.addNativeListener(I,t,this._inputFixWrapper);};};},"webkit":function(K){var J=K.tagName.toLowerCase();if(parseFloat(qx.core.Environment.get(b))<532&&J==f){qx.bom.Event.addNativeListener(K,w,this._onInputWrapper);};qx.bom.Event.addNativeListener(K,m,this._onInputWrapper);},"opera":function(L){qx.bom.Event.addNativeListener(L,t,this._onKeyUpWrapper);qx.bom.Event.addNativeListener(L,c,this._onKeyDownWrapper);qx.bom.Event.addNativeListener(L,m,this._onInputWrapper);},"default":function(M){qx.bom.Event.addNativeListener(M,m,this._onInputWrapper);}}),unregisterEvent:function(Q,P){if(qx.core.Environment.get(v)==u&&qx.core.Environment.get(b)<9&&qx.core.Environment.get(q)<9){if(Q.__hU){var O=Q.tagName.toLowerCase();var N=Q.type;if(N===a||N===g||O===f||N===x||N===d){qx.bom.Event.removeNativeListener(Q,h,this._onPropertyWrapper);};if(N!==x&&N!==d){qx.bom.Event.removeNativeListener(Q,k,this._onChangeValueWrapper);};if(N===a||N===g){qx.bom.Event.removeNativeListener(Q,w,this._onKeyPressWrapped);};try{delete Q.__hU;}catch(R){Q.__hU=null;};};}else {if(P===m){this.__hW(Q);}else if(P===k){if(Q.type===d||Q.type===x){qx.bom.Event.removeNativeListener(Q,k,this._onChangeCheckedWrapper);}else {qx.bom.Event.removeNativeListener(Q,k,this._onChangeValueWrapper);};};if((qx.core.Environment.get(v)==s)||(qx.core.Environment.get(v)==u)){if(Q.type===a||Q.type===g){qx.bom.Event.removeNativeListener(Q,w,this._onKeyPressWrapped);};};};},__hW:qx.core.Environment.select(v,{"mshtml":function(S){if(qx.core.Environment.get(b)>=9&&qx.core.Environment.get(q)>=9){qx.bom.Event.removeNativeListener(S,m,this._onInputWrapper);if(S.type===a||S.type===g||S.type===f){qx.bom.Event.removeNativeListener(S,t,this._inputFixWrapper);};};},"webkit":function(U){var T=U.tagName.toLowerCase();if(parseFloat(qx.core.Environment.get(b))<532&&T==f){qx.bom.Event.removeNativeListener(U,w,this._onInputWrapper);};qx.bom.Event.removeNativeListener(U,m,this._onInputWrapper);},"opera":function(V){qx.bom.Event.removeNativeListener(V,t,this._onKeyUpWrapper);qx.bom.Event.removeNativeListener(V,c,this._onKeyDownWrapper);qx.bom.Event.removeNativeListener(V,m,this._onInputWrapper);},"default":function(W){qx.bom.Event.removeNativeListener(W,m,this._onInputWrapper);}}),_onKeyPress:qx.core.Environment.select(v,{"mshtml":function(e,X){if(e.keyCode===13){if(X.value!==this.__hS){this.__hS=X.value;qx.event.Registration.fireEvent(X,k,qx.event.type.Data,[X.value]);};};},"opera":function(e,Y){if(e.keyCode===13){if(Y.value!==this.__hS){this.__hS=Y.value;qx.event.Registration.fireEvent(Y,k,qx.event.type.Data,[Y.value]);};};},"default":null}),_inputFix:qx.core.Environment.select(v,{"mshtml":function(e,ba){if(e.keyCode===46||e.keyCode===8){if(ba.value!==this.__hT){this.__hT=ba.value;qx.event.Registration.fireEvent(ba,m,qx.event.type.Data,[ba.value]);};};},"default":null}),_onKeyDown:qx.core.Environment.select(v,{"opera":function(e){if(e.keyCode===13){this.__hQ=true;};},"default":null}),_onKeyUp:qx.core.Environment.select(v,{"opera":function(e){if(e.keyCode===13){this.__hQ=false;};},"default":null}),_onInput:qx.event.GlobalError.observeMethod(function(e){var bc=qx.bom.Event.getTarget(e);var bb=bc.tagName.toLowerCase();if(!this.__hQ||bb!==m){if((qx.core.Environment.get(v)==s)&&qx.core.Environment.get(r)<10.6){this.__hR=window.setTimeout(function(){qx.event.Registration.fireEvent(bc,m,qx.event.type.Data,[bc.value]);},0);}else {qx.event.Registration.fireEvent(bc,m,qx.event.type.Data,[bc.value]);};};}),_onChangeValue:qx.event.GlobalError.observeMethod(function(e){var bd=qx.bom.Event.getTarget(e);var be=bd.value;if(bd.type===j){var be=[];for(var i=0,o=bd.options,l=o.length;i0){var be=Date.now()-qx.event.handler.GestureCore.DOUBLETAP_TIME;for(var bg in this.__hY){if(bg=Math.abs(cn.y))?D:n;var cf=cn[cp];var cg=ck.SWIPE_DIRECTION[cp][cf<0?0:1];var cm=(cl!==0)?cf/cl:0;var cj={startTime:co.startTime,duration:cl,axis:cp,direction:cg,distance:cf,velocity:cm};return cj;},__ik:function(cq,cr,cs){cr.delta=this._getDeltaCoordinates(cr);this._fireEvent(cr,cq,cr.target||cs);},_fireRoll:function(cu,ct,cv){if(cu.type===qx.core.Environment.get(g).type){cu.delta={x:qx.util.Wheel.getDelta(cu,D)*qx.event.handler.GestureCore.ROLL_FACTOR,y:qx.util.Wheel.getDelta(cu,n)*qx.event.handler.GestureCore.ROLL_FACTOR};cu.delta.axis=Math.abs(cu.delta.x/cu.delta.y)<1?n:D;cu.pointerType=j;}else {var cw=this.__hX[cu.pointerId];cu.delta={x:-cw.velocityX,y:-cw.velocityY,axis:Math.abs(cw.velocityX/cw.velocityY)<1?n:D};};this._fireEvent(cu,h,cu.target||cv);},__il:function(cx,cz){if(!cx.isPrimary){var cy=this._calcAngle();cx.angle=Math.round((cy-this.__ie)%360);this._fireEvent(cx,k,this.__ic);};},__im:function(cC,cD){if(!cC.isPrimary){var cA=this._calcDistance();var cB=cA/this.__ig;cC.scale=(Math.round(cB*100)/100);this._fireEvent(cC,b,this.__ic);};},__in:function(cE,cF){var cG=this.__hX[cE.pointerId];if(cG){this._fireEvent(cE,f,cE.target||cF);cG.longTapTimer=null;cG.isTap=false;};},__io:function(cH){if(cH.longTapTimer){window.clearTimeout(cH.longTapTimer);cH.longTapTimer=null;};},isBelowTapMaxDistance:function(event){var cI=this._calcDelta(event);var cJ=qx.event.handler.GestureCore;return (Math.abs(cI.x)<=cJ.TAP_MAX_DISTANCE&&Math.abs(cI.y)<=cJ.TAP_MAX_DISTANCE);},dispose:function(){for(var cK in this.__hX){this.__io(cK);};this._stopObserver();this.__eA=this.__eB=null;}}});})();(function(){var a="dblclick",b="mshtml",c="engine.name",d="dispose",e="useraction",f="gesturemove",g="gesturecancel",h="checkAndFireGesture",i="gesturebegin",j="qx.event.handler.Gesture",k="gesturefinish",l="browser.documentmode";qx.Class.define(j,{extend:qx.event.handler.GestureCore,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{tap:1,swipe:1,longtap:1,dbltap:1,rotate:1,pinch:1,track:1,trackstart:1,trackend:1,roll:1},GESTURE_EVENTS:[i,k,f,g],TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT,IGNORE_CAN_HANDLE:true,EVENT_CLASSES:{"tap":qx.event.type.Tap,"longtap":qx.event.type.Tap,"dbltap":qx.event.type.Tap,"swipe":qx.event.type.Swipe,"rotate":qx.event.type.Rotate,"pinch":qx.event.type.Pinch,"track":qx.event.type.Track,"trackstart":qx.event.type.Track,"trackend":qx.event.type.Track,"roll":qx.event.type.Roll}},construct:function(m){this.__et=m;this.__cz=m.getWindow();this.__dd=this.__cz.document;qx.event.handler.GestureCore.apply(this,[this.__dd]);},members:{__et:null,__cz:null,__dd:null,__ex:null,__ip:null,__iq:null,canHandleEvent:function(o,n){},registerEvent:function(r,q,p){},unregisterEvent:function(u,t,s){},_initObserver:function(){this.__ex=qx.lang.Function.listener(this.checkAndFireGesture,this);qx.event.handler.Gesture.GESTURE_EVENTS.forEach(function(w){qx.event.Registration.addListener(this.__dd,w,this.__ex,this);}.bind(this));if(qx.core.Environment.get(c)==b&&qx.core.Environment.get(l)<9){this.__ip=qx.lang.Function.listener(this._onDblClick,this);qx.bom.Event.addNativeListener(this.__dd,a,this.__ip);};var v=qx.bom.client.Event.getMouseWheel(this.__cz);this.__iq=qx.lang.Function.listener(this._fireRoll,this);qx.bom.Event.addNativeListener(v.target,v.type,this.__iq,this);},checkAndFireGesture:function(y,x,z){this.__ht(h,[y.getNativeEvent(),y.getType(),y.getTarget()]);},_stopObserver:function(){qx.event.handler.Gesture.GESTURE_EVENTS.forEach(function(B){qx.event.Registration.removeListener(this.__dd,B,this.__ex);}.bind(this));if(qx.core.Environment.get(c)==b&&qx.core.Environment.get(l)<9){qx.bom.Event.removeNativeListener(this.__dd,a,this.__ip);};var A=qx.bom.client.Event.getMouseWheel(this.__cz);qx.bom.Event.removeNativeListener(A.target,A.type,this.__iq);},_hasIntermediaryHandler:function(C){return false;},_fireEvent:function(E,D,F){if(!F){F=qx.bom.Event.getTarget(E);};if(!D){D=E.type;};var G=qx.event.handler.Gesture.EVENT_CLASSES[D]||qx.event.type.Pointer;if(F&&F.nodeType){qx.event.Registration.fireEvent(F,D,G,[E,F,null,true,true]);};qx.event.Registration.fireEvent(this.__cz,e,qx.event.type.Data,[D]);},dispose:function(){this._stopObserver();this.__ht(d);this.__et=this.__cz=this.__dd=this.__ip=null;},__ht:function(I,H){qx.event.handler.GestureCore.prototype[I].apply(this,H||[]);}},defer:function(J){qx.event.Registration.addHandler(J);qx.event.Registration.getManager(document).getHandler(J);}});})();(function(){var a="-",b="qx.event.handler.Element",c="load",d="iframe";qx.Class.define(b,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(e){qx.core.Object.call(this);this._manager=e;this._registeredEvents={};},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{abort:true,load:true,scroll:true,select:true,reset:true,submit:true},CANCELABLE:{selectstart:true},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:false},members:{canHandleEvent:function(g,f){if(f===c){return g.tagName.toLowerCase()!==d;}else {return true;};},registerEvent:function(j,l,i){var m=qx.core.ObjectRegistry.toHashCode(j);var h=m+a+l;var k=qx.lang.Function.listener(this._onNative,this,h);qx.bom.Event.addNativeListener(j,l,k);this._registeredEvents[h]={element:j,type:l,listener:k};},unregisterEvent:function(p,r,o){var s=this._registeredEvents;if(!s){return;};var t=qx.core.ObjectRegistry.toHashCode(p);var n=t+a+r;var q=this._registeredEvents[n];if(q){qx.bom.Event.removeNativeListener(p,r,q.listener);};delete this._registeredEvents[n];},_onNative:qx.event.GlobalError.observeMethod(function(v,u){var w=this._registeredEvents;if(!w){return;};var y=w[u];var x=this.constructor.CANCELABLE[y.type];qx.event.Registration.fireNonBubblingEvent(y.element,y.type,qx.event.type.Native,[v,undefined,undefined,undefined,x]);})},destruct:function(){var z;var A=this._registeredEvents;for(var B in A){z=A[B];qx.bom.Event.removeNativeListener(z.element,z.type,z.listener);};this._manager=this._registeredEvents=null;},defer:function(C){qx.event.Registration.addHandler(C);}});})();(function(){var a="mshtml",b="engine.name",c="qx.bom.Element";qx.Class.define(c,{statics:{addListener:function(g,f,d,self,e){return qx.event.Registration.addListener(g,f,d,self,e);},removeListener:function(n,m,h,self,k){return qx.event.Registration.removeListener(n,m,h,self,k);},removeListenerById:function(o,p){return qx.event.Registration.removeListenerById(o,p);},hasListener:function(s,r,q){return qx.event.Registration.hasListener(s,r,q);},focus:function(t){qx.event.Registration.getManager(t).getHandler(qx.event.handler.Focus).focus(t);},blur:function(u){qx.event.Registration.getManager(u).getHandler(qx.event.handler.Focus).blur(u);},activate:function(v){qx.event.Registration.getManager(v).getHandler(qx.event.handler.Focus).activate(v);},deactivate:function(w){qx.event.Registration.getManager(w).getHandler(qx.event.handler.Focus).deactivate(w);},capture:function(y,x){qx.event.Registration.getManager(y).getDispatcher(qx.event.dispatch.MouseCapture).activateCapture(y,x);},releaseCapture:function(z){qx.event.Registration.getManager(z).getDispatcher(qx.event.dispatch.MouseCapture).releaseCapture(z);},clone:function(E,L){var C;if(L||((qx.core.Environment.get(b)==a)&&!qx.xml.Document.isXmlDocument(E))){var G=qx.event.Registration.getManager(E);var A=qx.dom.Hierarchy.getDescendants(E);A.push(E);};if((qx.core.Environment.get(b)==a)){for(var i=0,l=A.length;i0){J=K[i];for(var j=0,F=B.length;j1){bm=bm[0].split(s);if(bm.length===2){return bm[1];};};};bm=bh.versionInfo;if(bm!=undefined){return bm;};bm=bh.version;if(bm!=undefined){return bm;};bm=bh.settings.version;if(bm!=undefined){return bm;};}catch(bp){return w;};return w;}else {var bn=navigator.plugins;var bl=/([0-9]\.[0-9])/g;for(var i=0;i=0;i-- ){n=m[i];o=this.__iv[n.$$hash];m.splice(i,1);n.syncWidget(o);};if(m.length!=0){return;};this.__el=[];this.__iv={};}}});})();(function(){var a="qx.ui.core.queue.Layout",b="layout";qx.Class.define(a,{statics:{__el:{},__iA:{},remove:function(c){delete this.__el[c.$$hash];},add:function(d){this.__el[d.$$hash]=d;qx.ui.core.queue.Manager.scheduleFlush(b);},isScheduled:function(e){return !!this.__el[e.$$hash];},flush:function(){var f=this.__iC();for(var i=f.length-1;i>=0;i-- ){var g=f[i];if(g.hasValidLayout()){continue;};if(g.isRootWidget()&&!g.hasUserBounds()){var j=g.getSizeHint();g.renderLayout(0,0,j.width,j.height);}else {var h=g.getBounds();g.renderLayout(h.left,h.top,h.width,h.height);};};},getNestingLevel:function(l){var k=this.__iA;var n=0;var parent=l;while(true){if(k[parent.$$hash]!=null){n+=k[parent.$$hash];break;};if(!parent.$$parent){break;};parent=parent.$$parent;n+=1;};var m=n;while(l&&l!==parent){k[l.$$hash]=m-- ;l=l.$$parent;};return n;},__iB:function(){var t=qx.ui.core.queue.Visibility;this.__iA={};var s=[];var r=this.__el;var o,q;for(var p in r){o=r[p];if(t.isVisible(o)){q=this.getNestingLevel(o);if(!s[q]){s[q]={};};s[q][p]=o;delete r[p];};};return s;},__iC:function(){var x=[];var z=this.__iB();for(var w=z.length-1;w>=0;w-- ){if(!z[w]){continue;};for(var v in z[w]){var u=z[w][v];if(w==0||u.isRootWidget()||u.hasUserBounds()){x.push(u);u.invalidateLayoutCache();continue;};var B=u.getSizeHint(false);if(B){u.invalidateLayoutCache();var y=u.getSizeHint();var A=(!u.getBounds()||B.minWidth!==y.minWidth||B.width!==y.width||B.maxWidth!==y.maxWidth||B.minHeight!==y.minHeight||B.height!==y.height||B.maxHeight!==y.maxHeight);}else {A=true;};if(A){var parent=u.getLayoutParent();if(!z[w-1]){z[w-1]={};};z[w-1][parent.$$hash]=parent;}else {x.push(u);};};};return x;}}});})();(function(){var a="dispose",b="qx.ui.core.queue.Dispose";qx.Class.define(b,{statics:{__el:[],add:function(d){var c=this.__el;if(qx.lang.Array.contains(c,d)){return;};c.unshift(d);qx.ui.core.queue.Manager.scheduleFlush(a);},isEmpty:function(){return this.__el.length==0;},flush:function(){var e=this.__el;for(var i=e.length-1;i>=0;i-- ){var f=e[i];e.splice(i,1);f.dispose();};if(e.length!=0){return;};this.__el=[];}}});})();(function(){var a="appearance",b="qx.ui.core.queue.Appearance";qx.Class.define(b,{statics:{__el:[],remove:function(c){qx.lang.Array.remove(this.__el,c);},add:function(e){var d=this.__el;if(qx.lang.Array.contains(d,e)){return;};d.unshift(e);qx.ui.core.queue.Manager.scheduleFlush(a);},has:function(f){return qx.lang.Array.contains(this.__el,f);},flush:function(){var j=qx.ui.core.queue.Visibility;var g=this.__el;var h;for(var i=g.length-1;i>=0;i-- ){h=g[i];g.splice(i,1);if(j.isVisible(h)){h.syncAppearance();}else {h.$$stateChanges=true;};};}}});})();(function(){var a="The theme to use is not available: ",b="_applyTheme",c="qx.theme",d="qx.theme.manager.Meta",f="qx.theme.Modern",g="qx.event.type.Event",h="Theme",i="changeTheme",j="singleton";qx.Class.define(d,{type:j,extend:qx.core.Object,events:{"changeTheme":g},properties:{theme:{check:h,nullable:false,apply:b}},members:{_applyTheme:function(k,m){var u=true;var w=true;var o=true;var q=true;var l=true;if(m){u=k.meta.color!==m.meta.color;w=k.meta.decoration!==m.meta.decoration;o=k.meta.font!==m.meta.font;q=k.meta.icon!==m.meta.icon;l=k.meta.appearance!==m.meta.appearance;};var n=qx.theme.manager.Color.getInstance();var t=qx.theme.manager.Decoration.getInstance();var r=qx.theme.manager.Font.getInstance();var p=qx.theme.manager.Icon.getInstance();var s=qx.theme.manager.Appearance.getInstance();this._suspendEvents();if(u){if(!w){var v=t.getTheme();t._applyTheme(v);};n.setTheme(k.meta.color);};t.setTheme(k.meta.decoration);r.setTheme(k.meta.font);p.setTheme(k.meta.icon);s.setTheme(k.meta.appearance);if(u||w||o||q||l){this.fireEvent(i);};this._activateEvents();},__dE:null,_fireEvent:function(e){if(e.getTarget()===qx.theme.manager.Color.getInstance()){qx.theme.manager.Decoration.getInstance().refresh();};this.fireEvent(i);},_suspendEvents:function(){var B=qx.theme.manager.Color.getInstance();var A=qx.theme.manager.Decoration.getInstance();var x=qx.theme.manager.Font.getInstance();var z=qx.theme.manager.Icon.getInstance();var y=qx.theme.manager.Appearance.getInstance();if(B.hasListener(i)){B.removeListener(i,this._fireEvent,this);};if(A.hasListener(i)){A.removeListener(i,this._fireEvent,this);};if(x.hasListener(i)){x.removeListener(i,this._fireEvent,this);};if(z.hasListener(i)){z.removeListener(i,this._fireEvent,this);};if(y.hasListener(i)){y.removeListener(i,this._fireEvent,this);};},_activateEvents:function(){var G=qx.theme.manager.Color.getInstance();var F=qx.theme.manager.Decoration.getInstance();var C=qx.theme.manager.Font.getInstance();var E=qx.theme.manager.Icon.getInstance();var D=qx.theme.manager.Appearance.getInstance();if(!G.hasListener(i)){G.addListener(i,this._fireEvent,this);};if(!F.hasListener(i)){F.addListener(i,this._fireEvent,this);};if(!C.hasListener(i)){C.addListener(i,this._fireEvent,this);};if(!E.hasListener(i)){E.addListener(i,this._fireEvent,this);};if(!D.hasListener(i)){D.addListener(i,this._fireEvent,this);};},initialize:function(){var J=qx.core.Environment;var H,I;H=J.get(c);if(H){I=qx.Theme.getByName(H);if(!I){throw new Error(a+H);};this.setTheme(I);};}},environment:{"qx.theme":f}});})();(function(){var a="qx.theme.manager.Icon",b="Theme",c="changeTheme",d="_applyTheme",e="singleton";qx.Class.define(a,{type:e,extend:qx.core.Object,properties:{theme:{check:b,nullable:true,apply:d,event:c}},members:{_applyTheme:function(i,g){var h=qx.util.AliasManager.getInstance();if(g){for(var f in g.aliases){h.remove(f);};};if(i){for(var f in i.aliases){h.add(f,i.aliases[f]);};};}}});})();(function(){var a="qx.util.ValueManager",b="abstract";qx.Class.define(a,{type:b,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this._dynamic={};},members:{_dynamic:null,resolveDynamic:function(c){return this._dynamic[c];},isDynamic:function(d){return !!this._dynamic[d];},resolve:function(e){if(e&&this._dynamic[e]){return this._dynamic[e];};return e;},_setDynamic:function(f){this._dynamic=f;},_getDynamic:function(){return this._dynamic;}},destruct:function(){this._dynamic=null;}});})();(function(){var a="0",b="qx/static",c="http://",d="https://",e="file://",f="qx.util.AliasManager",g="singleton",h=".",i="/",j="static";qx.Class.define(f,{type:g,extend:qx.util.ValueManager,construct:function(){qx.util.ValueManager.call(this);this.__iD={};this.add(j,b);},members:{__iD:null,_preprocess:function(n){var m=this._getDynamic();if(m[n]===false){return n;}else if(m[n]===undefined){if(n.charAt(0)===i||n.charAt(0)===h||n.indexOf(c)===0||n.indexOf(d)===a||n.indexOf(e)===0){m[n]=false;return n;};if(this.__iD[n]){return this.__iD[n];};var l=n.substring(0,n.indexOf(i));var k=this.__iD[l];if(k!==undefined){m[n]=k+n.substring(l.length);};};return n;},add:function(o,q){this.__iD[o]=q;var p=this._getDynamic();for(var r in p){if(r.substring(0,r.indexOf(i))===o){p[r]=q+r.substring(o.length);};};},remove:function(s){delete this.__iD[s];},resolve:function(t){var u=this._getDynamic();if(t!=null){t=this._preprocess(t);};return u[t]||t;},getAliases:function(){var v={};for(var w in this.__iD){v[w]=this.__iD[w];};return v;}},destruct:function(){this.__iD=null;}});})();(function(){var a="_applyTheme",b="qx.theme.manager.Font",c="_dynamic",d="Theme",e="changeTheme",f="singleton";qx.Class.define(b,{type:f,extend:qx.util.ValueManager,properties:{theme:{check:d,nullable:true,apply:a,event:e}},members:{resolveDynamic:function(h){var g=this._dynamic;return h instanceof qx.bom.Font?h:g[h];},resolve:function(l){var k=this._dynamic;var i=k[l];if(i){return i;};var j=this.getTheme();if(j!==null&&j.fonts[l]){var m=this.__iF(j.fonts[l]);return k[l]=(new m).set(j.fonts[l]);};return l;},isDynamic:function(q){var p=this._dynamic;if(q&&(q instanceof qx.bom.Font||p[q]!==undefined)){return true;};var o=this.getTheme();if(o!==null&&q&&o.fonts[q]){var n=this.__iF(o.fonts[q]);p[q]=(new n).set(o.fonts[q]);return true;};return false;},__iE:function(s,r){if(s[r].include){var t=s[s[r].include];s[r].include=null;delete s[r].include;s[r]=qx.lang.Object.mergeWith(s[r],t,false);this.__iE(s,r);};},_applyTheme:function(y){var u=this._dynamic;for(var x in u){if(u[x].themed){u[x].dispose();delete u[x];};};if(y){var v=y.fonts;for(var x in v){if(v[x].include&&v[v[x].include]){this.__iE(v,x);};var w=this.__iF(v[x]);u[x]=(new w).set(v[x]);u[x].themed=true;};};this._setDynamic(u);},__iF:function(z){if(z.sources){return qx.bom.webfonts.WebFont;};return qx.bom.Font;}},destruct:function(){this._disposeMap(c);}});})();(function(){var a="Boolean",b="px",c="_applyItalic",d="_applyBold",e="underline",f="_applyTextShadow",g="Integer",h="_applyFamily",j="_applyLineHeight",k='"',m="Array",n="line-through",o="overline",p="Color",q="String",r="",s="italic",t="normal",u="qx.bom.Font",v="bold",w="Number",x="_applyDecoration",y=" ",z="_applySize",A=",",B="_applyColor";qx.Class.define(u,{extend:qx.core.Object,construct:function(D,C){qx.core.Object.call(this);this.__iG={fontFamily:r,fontSize:null,fontWeight:null,fontStyle:null,textDecoration:null,lineHeight:null,color:null,textShadow:null};if(D!==undefined){this.setSize(D);};if(C!==undefined){this.setFamily(C);};},statics:{fromString:function(H){var I=new qx.bom.Font();var F=H.split(/\s+/);var name=[];var G;for(var i=0;i0){I.setFamily(name);};return I;},fromConfig:function(K){var J=new qx.bom.Font;J.set(K);return J;},__iH:{fontFamily:r,fontSize:r,fontWeight:r,fontStyle:r,textDecoration:r,lineHeight:1.2,color:r,textShadow:r},getDefaultStyles:function(){return this.__iH;}},properties:{size:{check:g,nullable:true,apply:z},lineHeight:{check:w,nullable:true,apply:j},family:{check:m,nullable:true,apply:h},bold:{check:a,nullable:true,apply:d},italic:{check:a,nullable:true,apply:c},decoration:{check:[e,n,o],nullable:true,apply:x},color:{check:p,nullable:true,apply:B},textShadow:{nullable:true,check:q,apply:f}},members:{__iG:null,_applySize:function(M,L){this.__iG.fontSize=M===null?null:M+b;},_applyLineHeight:function(O,N){this.__iG.lineHeight=O===null?null:O;},_applyFamily:function(P,Q){var R=r;for(var i=0,l=P.length;i0){R+=k+P[i]+k;}else {R+=P[i];};if(i!==l-1){R+=A;};};this.__iG.fontFamily=R;},_applyBold:function(T,S){this.__iG.fontWeight=T==null?null:T?v:t;},_applyItalic:function(V,U){this.__iG.fontStyle=V==null?null:V?s:t;},_applyDecoration:function(X,W){this.__iG.textDecoration=X==null?null:X;},_applyColor:function(ba,Y){this.__iG.color=null;if(ba){this.__iG.color=qx.theme.manager.Color.getInstance().resolve(ba);};},_applyTextShadow:function(bc,bb){this.__iG.textShadow=bc==null?null:bc;},getStyles:function(){return this.__iG;}}});})();(function(){var a="Could not parse color: ",b="_applyTheme",c="qx.theme.manager.Color",d="Theme",e="changeTheme",f="string",g="singleton";qx.Class.define(c,{type:g,extend:qx.util.ValueManager,properties:{theme:{check:d,nullable:true,apply:b,event:e}},members:{_applyTheme:function(j){var h={};if(j){var i=j.colors;for(var name in i){h[name]=this.__iI(i,name);};};this._setDynamic(h);},__iI:function(l,name){var k=l[name];if(typeof k===f){if(!qx.util.ColorUtil.isCssString(k)){if(l[k]!=undefined){return this.__iI(l,k);};throw new Error(a+k);};return k;}else if(k instanceof Array){return qx.util.ColorUtil.rgbToRgbString(k);};throw new Error(a+k);},resolve:function(p){var o=this._dynamic;var m=o[p];if(m){return m;};var n=this.getTheme();if(n!==null&&n.colors[p]){return o[p]=n.colors[p];};return p;},isDynamic:function(s){var r=this._dynamic;if(s&&(r[s]!==undefined)){return true;};var q=this.getTheme();if(q!==null&&s&&(q.colors[s]!==undefined)){r[s]=q.colors[s];return true;};return false;}}});})();(function(){var a="changeStatus",b="qx.bom.webfonts.WebFont",c="_applySources",d="",e="qx.event.type.Data";qx.Class.define(b,{extend:qx.bom.Font,events:{"changeStatus":e},properties:{sources:{nullable:true,apply:c}},members:{__iJ:null,_applySources:function(h,k){var f=[];for(var i=0,l=h.length;i1){bk=bk+u+bp[1];};bl.push(bk);};if(qx.core.Environment.get(T)==S&&(parseInt(qx.core.Environment.get(Q))<9||qx.core.Environment.get(E)<9)){if(!this.__iO){this.__iO=new qx.event.Timer(100);this.__iO.addListener(t,this.__iQ,this);};if(!this.__iO.isEnabled()){this.__iO.start();};this.__el.push([bm,bl,bo,bq]);}else {this.__iP(bm,bl,bo,bq);};},remove:function(bs){var br=null;for(var i=0,l=this.__iK.length;i=9)||(bx==v&&bu>=3.6)||(bx==g&&bu>=6)){bt.push(bh);};if((bx==P&&bu>=10)||(bx==G&&bu>=3.1)||(bx==v&&bu>=3.5)||(bx==g&&bu>=4)||(bx==F&&bw==z&&bv>=4.2)){bt.push(J);};if(bx==bi&&bu>=4){bt.push(y);};if(bx==p&&bw==z&&bv>=4.1){bt.push(f);};return bt;},removeStyleSheet:function(){this.__iK=[];if(this.__iN){qx.bom.Stylesheet.removeSheet(this.__iN);};this.__iN=null;},__iP:function(bA,bC,bz,bD){if(!qx.lang.Array.contains(this.__iK,bA)){var bE=this.__iS(bC);var bB=this.__iT(bA,bE);if(!bB){throw new Error(R+bA+w);};if(!this.__iN){this.__iN=qx.bom.Stylesheet.createElement();};try{this.__iV(bB);}catch(bF){{};};this.__iK.push(bA);};if(!this.__iL[bA]){this.__iL[bA]=new qx.bom.webfonts.Validator(bA);this.__iL[bA].setTimeout(qx.bom.webfonts.Manager.VALIDATION_TIMEOUT);this.__iL[bA].addListenerOnce(s,this.__iR,this);};if(bz){var by=bD||window;this.__iL[bA].addListenerOnce(s,bz,by);};this.__iL[bA].validate();},__iQ:function(){if(this.__el.length==0){this.__iO.stop();return;};var bG=this.__el.shift();this.__iP.apply(this,bG);},__iR:function(bH){var bI=bH.getData();if(bI.valid===false){qx.event.Timer.once(function(){this.remove(bI.family);},this,250);};},__iS:function(bJ){var bL=qx.bom.webfonts.Manager.FONT_FORMATS;var bK={};for(var i=0,l=bJ.length;i0?this.__iM:qx.bom.webfonts.Manager.FONT_FORMATS;for(var i=0,l=bP.length;i1)||((o==1)&&(s>9))||((o==1)&&(s==9)&&(q>=1)))){p=6;}else {p=2;};return p;},getSsl:function(){return window.location.protocol===g;},getXmlHttpRequest:function(){var t=window.ActiveXObject?(function(){if(window.location.protocol!==f){try{new window.XMLHttpRequest();return b;}catch(u){};};try{new window.ActiveXObject(a);return j;}catch(v){};})():(function(){try{new window.XMLHttpRequest();return b;}catch(w){};})();return t||e;}},defer:function(x){qx.core.Environment.add(m,x.getMaxConcurrentRequestCount);qx.core.Environment.add(c,x.getSsl);qx.core.Environment.add(d,x.getXmlHttpRequest);}});})();(function(){var a="mshtml",b="engine.name",c="//",d="io.ssl",e="",f="encoding",g="?",h="data",i="string",j="type",k="data:image/",l=";",m="/",n="resourceUri",o="qx.util.ResourceManager",p="singleton",q=",";qx.Class.define(o,{extend:qx.core.Object,type:p,construct:function(){qx.core.Object.call(this);},statics:{__G:qx.$$resources||{},__ja:{}},members:{has:function(r){return !!this.self(arguments).__G[r];},getData:function(s){return this.self(arguments).__G[s]||null;},getImageWidth:function(u){var t=this.self(arguments).__G[u];return t?t[0]:null;},getImageHeight:function(w){var v=this.self(arguments).__G[w];return v?v[1]:null;},getImageFormat:function(y){var x=this.self(arguments).__G[y];return x?x[2]:null;},getCombinedFormat:function(D){var A=e;var C=this.self(arguments).__G[D];var z=C&&C.length>4&&typeof (C[4])==i&&this.constructor.__G[C[4]];if(z){var E=C[4];var B=this.constructor.__G[E];A=B[2];};return A;},toUri:function(I){if(I==null){return I;};var F=this.self(arguments).__G[I];if(!F){return I;};if(typeof F===i){var H=F;}else {var H=F[3];if(!H){return I;};};var G=e;if((qx.core.Environment.get(b)==a)&&qx.core.Environment.get(d)){G=this.self(arguments).__ja[H];};return G+qx.util.LibraryManager.getInstance().get(H,n)+m+I;},toDataUri:function(L){var K=this.constructor.__G[L];var N=this.constructor.__G[K[4]];var M;if(N){var J=N[4][L];M=k+J[j]+l+J[f]+q+J[h];}else {M=this.toUri(L);};return M;}},defer:function(P){if((qx.core.Environment.get(b)==a)){if(qx.core.Environment.get(d)){for(var Q in qx.$$libraries){var O;if(qx.util.LibraryManager.getInstance().get(Q,n)){O=qx.util.LibraryManager.getInstance().get(Q,n);}else {P.__ja[Q]=e;continue;};if(O.match(/^\/\//)!=null){P.__ja[Q]=window.location.protocol;}else if(O.match(/^\//)!=null){P.__ja[Q]=window.location.protocol+c+window.location.host;}else if(O.match(/^\.\//)!=null){var S=document.URL;P.__ja[Q]=S.substring(0,S.lastIndexOf(m)+1);}else if(O.match(/^http/)!=null){P.__ja[Q]=e;}else {var R=window.location.href.indexOf(g);var T;if(R==-1){T=window.location.href;}else {T=window.location.href.substring(0,R);};P.__ja[Q]=T.substring(0,T.lastIndexOf(m)+1);};};};};}});})();(function(){var a="sans-serif",b="changeStatus",c="Integer",d="auto",e="qx.event.type.Data",f="0",g="qx.bom.webfonts.Validator",h="interval",i="Georgia",j="WEei",k="visible",l="Times New Roman",m="Arial",n="normal",o="Helvetica",p="350px",q="_applyFontFamily",r="__je",s="-1000px",t="hidden",u="serif",v="span",w="absolute",x=",";qx.Class.define(g,{extend:qx.core.Object,construct:function(y){qx.core.Object.call(this);if(y){this.setFontFamily(y);this.__jb=this._getRequestedHelpers();};},statics:{COMPARISON_FONTS:{sans:[m,o,a],serif:[l,i,u]},HELPER_CSS:{position:w,margin:f,padding:f,top:s,left:s,fontSize:p,width:d,height:d,lineHeight:n,fontVariant:n,visibility:t},COMPARISON_STRING:j,__jc:null,__jd:null,removeDefaultHelperElements:function(){var z=qx.bom.webfonts.Validator.__jd;if(z){for(var A in z){document.body.removeChild(z[A]);};};delete qx.bom.webfonts.Validator.__jd;}},properties:{fontFamily:{nullable:true,init:null,apply:q},timeout:{check:c,init:5000}},events:{"changeStatus":e},members:{__jb:null,__je:null,__jf:null,validate:function(){this.__jf=new Date().getTime();if(this.__je){this.__je.restart();}else {this.__je=new qx.event.Timer(100);this.__je.addListener(h,this.__jg,this);qx.event.Timer.once(function(){this.__je.start();},this,0);};},_reset:function(){if(this.__jb){for(var C in this.__jb){var B=this.__jb[C];document.body.removeChild(B);};this.__jb=null;};},_isFontValid:function(){if(!qx.bom.webfonts.Validator.__jc){this.__eu();};if(!this.__jb){this.__jb=this._getRequestedHelpers();};this.__jb.sans.style.visibility=k;this.__jb.sans.style.visibility=t;this.__jb.serif.style.visibility=k;this.__jb.serif.style.visibility=t;var E=qx.bom.element.Dimension.getWidth(this.__jb.sans);var D=qx.bom.element.Dimension.getWidth(this.__jb.serif);var F=qx.bom.webfonts.Validator;if(E!==F.__jc.sans||D!==F.__jc.serif){return true;};return false;},_getRequestedHelpers:function(){var G=[this.getFontFamily()].concat(qx.bom.webfonts.Validator.COMPARISON_FONTS.sans);var H=[this.getFontFamily()].concat(qx.bom.webfonts.Validator.COMPARISON_FONTS.serif);return {sans:this._getHelperElement(G),serif:this._getHelperElement(H)};},_getHelperElement:function(I){var J=qx.lang.Object.clone(qx.bom.webfonts.Validator.HELPER_CSS);if(I){if(J.fontFamily){J.fontFamily+=x+I.join(x);}else {J.fontFamily=I.join(x);};};var K=document.createElement(v);K.innerHTML=qx.bom.webfonts.Validator.COMPARISON_STRING;qx.bom.element.Style.setStyles(K,J);document.body.appendChild(K);return K;},_applyFontFamily:function(M,L){if(M!==L){this._reset();};},__eu:function(){var N=qx.bom.webfonts.Validator;if(!N.__jd){N.__jd={sans:this._getHelperElement(N.COMPARISON_FONTS.sans),serif:this._getHelperElement(N.COMPARISON_FONTS.serif)};};N.__jc={sans:qx.bom.element.Dimension.getWidth(N.__jd.sans),serif:qx.bom.element.Dimension.getWidth(N.__jd.serif)};},__jg:function(){if(this._isFontValid()){this.__je.stop();this._reset();this.fireDataEvent(b,{family:this.getFontFamily(),valid:true});}else {var O=new Date().getTime();if(O-this.__jf>=this.getTimeout()){this.__je.stop();this._reset();this.fireDataEvent(b,{family:this.getFontFamily(),valid:false});};};}},destruct:function(){this._reset();this.__je.stop();this.__je.removeListener(h,this.__jg,this);this._disposeObjects(r);}});})();(function(){var a="mshtml",b="engine.name",c="_applyTheme",d="",e="'.",f="__ji",g="qx-",h="Unable to resolve decorator '",j="singleton",k=";",l="qx.theme.manager.Decoration",m=".",n="Theme",o="object",p="changeTheme",q="string",r="browser.documentmode",s=":";qx.Class.define(l,{type:j,extend:qx.core.Object,statics:{CSS_CLASSNAME_PREFIX:g},construct:function(){qx.core.Object.call(this);this.__fx=[];this.__jh=(qx.core.Environment.get(b)==a&&qx.core.Environment.get(r)<9);},properties:{theme:{check:n,nullable:true,apply:c,event:p}},members:{__ji:null,__fx:null,__jh:false,getCssClassName:function(u){var t=qx.theme.manager.Decoration.CSS_CLASSNAME_PREFIX;if(qx.lang.Type.isString(u)){return t+u;}else {return t+u.toHashCode();};},addCssClass:function(z){var w=qx.ui.style.Stylesheet.getInstance();var B=z;z=this.getCssClassName(z);var A=m+z;if(w.hasRule(A)){return z;};if(qx.lang.Type.isString(B)){B=this.resolve(B);};if(!B){throw new Error(h+z+e);};var G=d;var v=B.getStyles(true);for(var D in v){if(qx.Bootstrap.isObject(v[D])){var x=d;var F=v[D];var C=false;for(var y in F){C=true;x+=y+s+F[y]+k;};var E=this.__jh?A:A+(C?s:d);this.__fx.push(E+D);w.addRule(E+D,x);continue;};G+=D+s+v[D]+k;};if(G){w.addRule(A,G);this.__fx.push(A);};return z;},removeAllCssClasses:function(){for(var i=0;i0){I[j]=M+b+this.getStyleTop()+G+(O||t);};var M=this.getWidthRight();if(M>0){I[m]=M+b+this.getStyleRight()+G+(L||t);};var M=this.getWidthBottom();if(M>0){I[u]=M+b+this.getStyleBottom()+G+(J||t);};var M=this.getWidthLeft();if(M>0){I[k]=M+b+this.getStyleLeft()+G+(N||t);};{};I.position=H;},_getDefaultInsetsForBorder:function(){return {top:this.getWidthTop(),right:this.getWidthRight(),bottom:this.getWidthBottom(),left:this.getWidthLeft()};},_applyWidth:function(){this._applyStyle();this._resetInsets();},_applyStyle:function(){{};}}});})();(function(){var a=', url(',b="repeat",c="backgroundPositionX",d="backgroundPositionY",e="px",f="background-position",g=" ",h="background-repeat",i="no-repeat",j=')',k="scale",l="_applyBackgroundPosition",m='url(',n="repeat-x",o="background-image",p="100% 100%",q="repeat-y",r="qx.ui.decoration.MBackgroundImage",s="background-size",t="String",u="_applyBackgroundImage";qx.Mixin.define(r,{properties:{backgroundImage:{check:t,nullable:true,apply:u},backgroundRepeat:{check:[b,n,q,i,k],init:b,apply:u},backgroundPositionX:{nullable:true,apply:l},backgroundPositionY:{nullable:true,apply:l},backgroundPosition:{group:[d,c]}},members:{_styleBackgroundImage:function(v){var x=this.getBackgroundImage();if(!x){return;};var y=qx.util.AliasManager.getInstance().resolve(x);var z=qx.util.ResourceManager.getInstance().toUri(y);if(v[o]){v[o]+=a+z+j;}else {v[o]=m+z+j;};var w=this.getBackgroundRepeat();if(w===k){v[s]=p;}else {v[h]=w;};var top=this.getBackgroundPositionY()||0;var A=this.getBackgroundPositionX()||0;if(!isNaN(top)){top+=e;};if(!isNaN(A)){A+=e;};v[f]=A+g+top;{};},_applyBackgroundImage:function(){{};},_applyBackgroundPosition:function(){{};}}});})();(function(){var a="innerWidthRight",b="innerColorBottom",c="css.borderradius",d="px ",e='""',f="_applyDoubleBorder",g="border-top",h="inset 0 -",i="css.boxsizing",j="innerWidthTop",k="100%",l="border-left",m="innerColorRight",n="css.boxshadow",o="innerColorTop",p="innerColorLeft",q="inset ",r="shorthand",s="inset -",t="Color",u="border-box",v="qx.ui.decoration.MDoubleBorder",w="border-bottom",x=":before",y="inset 0 ",z="px solid ",A="innerWidthBottom",B="css.rgba",C="inherit",D="Number",E="innerWidthLeft",F="px 0 ",G="inset 0 0 0 ",H="border-right",I=" ",J=",",K="absolute";qx.Mixin.define(v,{include:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MBackgroundImage],construct:function(){this._getDefaultInsetsForBorder=this.__jn;this._styleBorder=this.__jl;},properties:{innerWidthTop:{check:D,init:0,apply:f},innerWidthRight:{check:D,init:0,apply:f},innerWidthBottom:{check:D,init:0,apply:f},innerWidthLeft:{check:D,init:0,apply:f},innerWidth:{group:[j,a,A,E],mode:r},innerColorTop:{nullable:true,check:t,apply:f},innerColorRight:{nullable:true,check:t,apply:f},innerColorBottom:{nullable:true,check:t,apply:f},innerColorLeft:{nullable:true,check:t,apply:f},innerColor:{group:[o,m,b,p],mode:r},innerOpacity:{check:D,init:1,apply:f}},members:{__jl:function(L){var U=qx.core.Environment.get(n);var O,Y,innerWidth;{var T=qx.theme.manager.Color.getInstance();O={top:T.resolve(this.getColorTop()),right:T.resolve(this.getColorRight()),bottom:T.resolve(this.getColorBottom()),left:T.resolve(this.getColorLeft())};Y={top:T.resolve(this.getInnerColorTop()),right:T.resolve(this.getInnerColorRight()),bottom:T.resolve(this.getInnerColorBottom()),left:T.resolve(this.getInnerColorLeft())};};innerWidth={top:this.getInnerWidthTop(),right:this.getInnerWidthRight(),bottom:this.getInnerWidthBottom(),left:this.getInnerWidthLeft()};var R=this.getWidthTop();if(R>0){L[g]=R+d+this.getStyleTop()+I+O.top;};R=this.getWidthRight();if(R>0){L[H]=R+d+this.getStyleRight()+I+O.right;};R=this.getWidthBottom();if(R>0){L[w]=R+d+this.getStyleBottom()+I+O.bottom;};R=this.getWidthLeft();if(R>0){L[l]=R+d+this.getStyleLeft()+I+O.left;};var X=this.getInnerOpacity();if(X<1){this.__jm(Y,X);};if(innerWidth.top>0||innerWidth.right>0||innerWidth.bottom>0||innerWidth.left>0){var W=(innerWidth.top||0)+z+Y.top;var V=(innerWidth.right||0)+z+Y.right;var Q=(innerWidth.bottom||0)+z+Y.bottom;var S=(innerWidth.left||0)+z+Y.left;L[x]={"width":k,"height":k,"position":K,"content":e,"border-top":W,"border-right":V,"border-bottom":Q,"border-left":S,"left":0,"top":0};var M=qx.bom.Style.getCssName(qx.core.Environment.get(i));L[x][M]=u;var N=qx.core.Environment.get(c);if(N){N=qx.bom.Style.getCssName(N);L[x][N]=C;};var P=[];if(Y.top&&innerWidth.top&&Y.top==Y.bottom&&Y.top==Y.right&&Y.top==Y.left&&innerWidth.top==innerWidth.bottom&&innerWidth.top==innerWidth.right&&innerWidth.top==innerWidth.left){P.push(G+innerWidth.top+d+Y.top);}else {if(Y.top){P.push(y+(innerWidth.top||0)+d+Y.top);};if(Y.right){P.push(s+(innerWidth.right||0)+F+Y.right);};if(Y.bottom){P.push(h+(innerWidth.bottom||0)+d+Y.bottom);};if(Y.left){P.push(q+(innerWidth.left||0)+F+Y.left);};};if(P.length>0&&U){U=qx.bom.Style.getCssName(U);if(!L[U]){L[U]=P.join(J);}else {L[U]+=J+P.join(J);};};}else {L[x]={border:0};};},__jm:function(bd,ba){if(!qx.core.Environment.get(B)){{};return;};for(var be in bd){var bb=qx.util.ColorUtil.stringToRgb(bd[be]);bb.push(ba);var bc=qx.util.ColorUtil.rgbToRgbString(bb);bd[be]=bc;};},_applyDoubleBorder:function(){{};},__jn:function(){return {top:this.getWidthTop()+this.getInnerWidthTop(),right:this.getWidthRight()+this.getInnerWidthRight(),bottom:this.getWidthBottom()+this.getInnerWidthBottom(),left:this.getWidthLeft()+this.getInnerWidthLeft()};}}});})();(function(){var a="_applyBoxShadow",b="shadowHorizontalLength",c="Boolean",d="",e="px ",f="css.boxshadow",g="shadowVerticalLength",h="inset ",i="shorthand",j="qx.ui.decoration.MBoxShadow",k="Integer",l="Color",m=",";qx.Mixin.define(j,{properties:{shadowHorizontalLength:{nullable:true,check:k,apply:a},shadowVerticalLength:{nullable:true,check:k,apply:a},shadowBlurRadius:{nullable:true,check:k,apply:a},shadowSpreadRadius:{nullable:true,check:k,apply:a},shadowColor:{nullable:true,check:l,apply:a},inset:{init:false,check:c,apply:a},shadowLength:{group:[b,g],mode:i}},members:{_styleBoxShadow:function(n){var v=qx.core.Environment.get(f);if(!v||this.getShadowVerticalLength()==null&&this.getShadowHorizontalLength()==null){return;};{var r=qx.theme.manager.Color.getInstance();var o=r.resolve(this.getShadowColor());};if(o!=null){var u=this.getShadowVerticalLength()||0;var p=this.getShadowHorizontalLength()||0;var blur=this.getShadowBlurRadius()||0;var t=this.getShadowSpreadRadius()||0;var s=this.getInset()?h:d;var q=s+p+e+u+e+blur+e+t+e+o;v=qx.bom.Style.getCssName(v);if(!n[v]){n[v]=q;}else {n[v]+=m+q;};};},_applyBoxShadow:function(){{};}}});})();(function(){var a="radiusTopRight",b="radiusTopLeft",c="px",d="-webkit-border-bottom-left-radius",e="-webkit-background-clip",f="radiusBottomRight",g="Integer",h="-webkit-border-bottom-right-radius",i="background-clip",j="border-top-left-radius",k="border-top-right-radius",l="border-bottom-left-radius",m="radiusBottomLeft",n="-webkit-border-top-left-radius",o="shorthand",p="-moz-border-radius-bottomright",q="padding-box",r="border-bottom-right-radius",s="qx.ui.decoration.MBorderRadius",t="-moz-border-radius-topright",u="engine.name",v="_applyBorderRadius",w="-webkit-border-top-right-radius",x="webkit",y="-moz-border-radius-topleft",z="-moz-border-radius-bottomleft";qx.Mixin.define(s,{properties:{radiusTopLeft:{nullable:true,check:g,apply:v},radiusTopRight:{nullable:true,check:g,apply:v},radiusBottomLeft:{nullable:true,check:g,apply:v},radiusBottomRight:{nullable:true,check:g,apply:v},radius:{group:[b,a,f,m],mode:o}},members:{_styleBorderRadius:function(A){A[e]=q;A[i]=q;var B=false;var C=this.getRadiusTopLeft();if(C>0){B=true;A[y]=C+c;A[n]=C+c;A[j]=C+c;};C=this.getRadiusTopRight();if(C>0){B=true;A[t]=C+c;A[w]=C+c;A[k]=C+c;};C=this.getRadiusBottomLeft();if(C>0){B=true;A[z]=C+c;A[d]=C+c;A[l]=C+c;};C=this.getRadiusBottomRight();if(C>0){B=true;A[p]=C+c;A[h]=C+c;A[r]=C+c;};if(B&&qx.core.Environment.get(u)==x){A[e]=q;}else {A[i]=q;};},_applyBorderRadius:function(){{};}}});})();(function(){var a="border-width",b="css.borderimage.standardsyntax",c="repeat",d="Boolean",e="-l",f="stretch",g="px ",h="sliceBottom",i="-t",j="Integer",k="solid",l="borderImage",m="-r",n="border-style",o="sliceLeft",p="-b",q="sliceRight",r="px",s="repeatX",t=" fill",u="String",v="vertical",w="",x="transparent",y="round",z='") ',A="shorthand",B="qx.ui.decoration.MBorderImage",C="sliceTop",D="horizontal",E="_applyBorderImage",F="border-color",G='url("',H=" ",I="grid",J="repeatY";qx.Mixin.define(B,{properties:{borderImage:{check:u,nullable:true,apply:E},sliceTop:{check:j,nullable:true,init:null,apply:E},sliceRight:{check:j,nullable:true,init:null,apply:E},sliceBottom:{check:j,nullable:true,init:null,apply:E},sliceLeft:{check:j,nullable:true,init:null,apply:E},slice:{group:[C,q,h,o],mode:A},repeatX:{check:[f,c,y],init:f,apply:E},repeatY:{check:[f,c,y],init:f,apply:E},repeat:{group:[s,J],mode:A},fill:{check:d,init:true,apply:E},borderImageMode:{check:[D,v,I],init:I}},members:{_styleBorderImage:function(K){if(!this.getBorderImage()){return;};var M=qx.util.AliasManager.getInstance().resolve(this.getBorderImage());var O=qx.util.ResourceManager.getInstance().toUri(M);var R=this._getDefaultInsetsForBorderImage();var L=[R.top,R.right,R.bottom,R.left];var P=[this.getRepeatX(),this.getRepeatY()].join(H);var S=this.getFill()&&qx.core.Environment.get(b)?t:w;var N=qx.bom.Style.getPropertyName(l);if(N){var Q=qx.bom.Style.getCssName(N);K[Q]=G+O+z+L.join(H)+S+H+P;};K[n]=k;K[F]=x;K[a]=L.join(g)+r;},_getDefaultInsetsForBorderImage:function(){if(!this.getBorderImage()){return {top:0,right:0,bottom:0,left:0};};var T=qx.util.AliasManager.getInstance().resolve(this.getBorderImage());var U=this.__jo(T);return {top:this.getSliceTop()||U[0],right:this.getSliceRight()||U[1],bottom:this.getSliceBottom()||U[2],left:this.getSliceLeft()||U[3]};},_applyBorderImage:function(){{};},__jo:function(bc){var bb=this.getBorderImageMode();var bd=0;var Y=0;var ba=0;var be=0;var bf=/(.*)(\.[a-z]+)$/.exec(bc);var V=bf[1];var X=bf[2];var W=qx.util.ResourceManager.getInstance();if(bb==I||bb==v){bd=W.getImageHeight(V+i+X);ba=W.getImageHeight(V+p+X);};if(bb==I||bb==D){Y=W.getImageWidth(V+m+X);be=W.getImageWidth(V+e+X);};return [bd,Y,ba,be];}}});})();(function(){var a="qx.ui.decoration.MBackgroundColor",b="background-color",c="Color",d="_applyBackgroundColor",e='base.theme.Theme';qx.Mixin.define(a,{properties:{backgroundColor:{check:c,nullable:true,apply:d}},members:{_styleBackgroundColor:function(f){var g=this.getBackgroundColor();if(g&&e){g=qx.theme.manager.Color.getInstance().resolve(g);};if(g){f[b]=g;};},_applyBackgroundColor:function(){{};}}});})();(function(){var a="abstract",b="Abstract method called.",c="qx.ui.decoration.Abstract";qx.Class.define(c,{extend:qx.core.Object,implement:[qx.ui.decoration.IDecorator],type:a,members:{__jp:null,_getDefaultInsets:function(){throw new Error(b);},_isInitialized:function(){throw new Error(b);},_resetInsets:function(){this.__jp=null;},getInsets:function(){if(this.__jp){return this.__jp;};return this._getDefaultInsets();}},destruct:function(){this.__jp=null;}});})();(function(){var a="qx.ui.decoration.Decorator",b="_style",c="_getDefaultInsetsFor",d="bottom",e="top",f="left",g="right";qx.Class.define(a,{extend:qx.ui.decoration.Abstract,implement:[qx.ui.decoration.IDecorator],include:[qx.ui.decoration.MBackgroundColor,qx.ui.decoration.MBorderRadius,qx.ui.decoration.MBoxShadow,qx.ui.decoration.MDoubleBorder,qx.ui.decoration.MLinearBackgroundGradient,qx.ui.decoration.MBorderImage],members:{__jq:false,getPadding:function(){var k=this.getInset();var h=this._getDefaultInsetsForBorderImage();var n=k.top-(h.top?h.top:this.getWidthTop());var m=k.right-(h.right?h.right:this.getWidthRight());var j=k.bottom-(h.bottom?h.bottom:this.getWidthBottom());var l=k.left-(h.left?h.left:this.getWidthLeft());return {top:k.top?n:this.getInnerWidthTop(),right:k.right?m:this.getInnerWidthRight(),bottom:k.bottom?j:this.getInnerWidthBottom(),left:k.left?l:this.getInnerWidthLeft()};},getStyles:function(r){if(r){return this._getStyles();};var q={};var p=this._getStyles();for(var o in p){q[qx.lang.String.camelCase(o)]=p[o];};return q;},_getStyles:function(){var s={};for(var name in this){if(name.indexOf(b)==0&&this[name] instanceof Function){this[name](s);};};this.__jq=true;return s;},_getDefaultInsets:function(){var w=[e,g,d,f];var u={};for(var name in this){if(name.indexOf(c)==0&&this[name] instanceof Function){var v=this[name]();for(var i=0;iu[t]){u[t]=v[t];};};};};if(u[e]!=undefined){return u;};return {top:0,right:0,bottom:0,left:0};},_isInitialized:function(){return this.__jq;}}});})();(function(){var a="Missing appearance: ",b="_applyTheme",c="string",d="qx.theme.manager.Appearance",e=":",f="Theme",g="changeTheme",h="/",j="singleton";qx.Class.define(d,{type:j,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__jr={};this.__js={};},properties:{theme:{check:f,nullable:true,event:g,apply:b}},members:{__jt:{},__jr:null,__js:null,_applyTheme:function(){this.__js={};this.__jr={};},__ju:function(y,u,l,p){var r=u.appearances;var m=r[y];if(!m){var x=h;var n=[];var q=y.split(x);var w=qx.lang.Array.clone(q);var t;while(!m&&q.length>0){n.unshift(q.pop());var o=q.join(x);m=r[o];if(m){t=m.alias||m;if(typeof t===c){var v=t+x+n.join(x);return this.__ju(v,u,l,w);};};};for(var i=0;i0){P+=e+E;};};var F=this.__jr;if(F[P]!==undefined){return F[P];};if(!J){J=this.__jt;};var M;if(O.include||O.base){var Q;if(O.include){Q=this.styleFrom(O.include,J,K,A);};var I=O.style(J,Q);M={};if(O.base){var N=this.styleFrom(z,J,O.base,A);if(O.include){for(var C in N){if(!Q.hasOwnProperty(C)&&!I.hasOwnProperty(C)){M[C]=N[C];};};}else {for(var L in N){if(!I.hasOwnProperty(L)){M[L]=N[L];};};};};if(O.include){for(var B in Q){if(!I.hasOwnProperty(B)){M[B]=Q[B];};};};for(var S in I){M[S]=I[S];};}else {M=O.style(J);};return F[P]=M||null;}},destruct:function(){this.__jr=this.__js=null;}});})();(function(){var b="'!",c="other",d="widgets",e="undefined",f="fonts",g="appearances",h="qx.Theme",j="]",k="Mixin theme is not a valid theme!",m="[Theme ",n="colors",o="decorations",p="' are not compatible '",q="Theme",r="meta",s="The mixins '",t="borders",u="icons";qx.Bootstrap.define(h,{statics:{define:function(name,w){if(!w){var w={};};w.include=this.__jv(w.include);w.patch=this.__jv(w.patch);{};var v={$$type:q,name:name,title:w.title,toString:this.genericToString};if(w.extend){v.supertheme=w.extend;};v.basename=qx.Bootstrap.createNamespace(name,v);this.__jy(v,w);this.__jw(v,w);this.$$registry[name]=v;for(var i=0,a=w.include,l=a.length;i0){content.setStyles(ev);};if(eF||eC.local||eC.margin){if(this.__jG&&this.hasLayoutChildren()){var eA=this.getInsets();var innerWidth=ey-eA.left-eA.right;var innerHeight=ew-eA.top-eA.bottom;var eE=this.getDecorator();var ez={left:0,right:0,top:0,bottom:0};if(eE){eE=qx.theme.manager.Decoration.getInstance().resolve(eE);ez=eE.getPadding();};var ex={top:this.getPaddingTop()+ez.top,right:this.getPaddingRight()+ez.right,bottom:this.getPaddingBottom()+ez.bottom,left:this.getPaddingLeft()+ez.left};this.__jG.renderLayout(innerWidth,innerHeight,ex);}else if(this.hasLayoutChildren()){throw new Error(P+this._findTopControl()+k);};};if(eC.position&&this.hasListener(p)){this.fireDataEvent(p,this.getBounds());};if(eC.size&&this.hasListener(W)){this.fireDataEvent(W,this.getBounds());};delete this._updateInsets;return eC;},__jH:null,clearSeparators:function(){var eH=this.__jH;if(!eH){return;};var eI=qx.ui.core.Widget.__jD;var content=this.getContentElement();var eG;for(var i=0,l=eH.length;ieP&&eP!=null){eO=eP;};};};if(eQ==null){eQ=eW;if(eV.minHeight!=null){eQ+=eV.minHeight;if(eQ>eR&&eR!=null){eQ=eR;};};};if(eP==null){if(eV.maxWidth==null){eP=Infinity;}else {eP=eV.maxWidth+eX;if(eP0;};return false;},__jI:function(){var fx=this._createContentElement();fx.setAttribute(cM,this.toHashCode());fx.setStyles({"touch-action":cN,"-ms-touch-action":cN});{};var fw={"zIndex":10,"boxSizing":dC};if(!qx.ui.root.Inline||!(this instanceof qx.ui.root.Inline)){fw.position=eg;};fx.setStyles(fw);return fx;},_createContentElement:function(){return new qx.html.Element(f,{overflowX:cP,overflowY:cP});},getContentElement:function(){return this.__jC;},__jJ:null,getLayoutChildren:function(){var fz=this.__jJ;if(!fz){return this.__jK;};var fA;for(var i=0,l=fz.length;i=0;i-- ){this.__jM(ga[i]);};qx.ui.core.queue.Layout.add(this);return ga;},_afterAddChild:null,_afterRemoveChild:null,__jL:function(gc,gb){{};var parent=gc.getLayoutParent();if(parent&&parent!=this){parent._remove(gc);};gc.setLayoutParent(this);if(gb){gc.setLayoutProperties(gb);}else {this.updateLayoutProperties();};if(this._afterAddChild){this._afterAddChild(gc);};},__jM:function(gd){{};if(gd.getLayoutParent()!==this){throw new Error(Y+gd+dz);};gd.setLayoutParent(null);if(this.__jG){this.__jG.invalidateChildrenCache();};qx.ui.core.queue.Layout.add(this);if(this._afterRemoveChild){this._afterRemoveChild(gd);};},capture:function(ge){this.getContentElement().capture(ge);},releaseCapture:function(){this.getContentElement().releaseCapture();},isCapturing:function(){var gf=this.getContentElement().getDomElement();if(!gf){return false;};var gg=qx.event.Registration.getManager(gf);var gh=gg.getDispatcher(qx.event.dispatch.MouseCapture);return gf==gh.getCaptureElement();},_applyPadding:function(gj,gi,name){this._updateInsets=true;qx.ui.core.queue.Layout.add(this);this.__jN(name,gj);},__jN:function(gk,gn){var content=this.getContentElement();var gl=this.getDecorator();gl=qx.theme.manager.Decoration.getInstance().resolve(gl);if(gl){var gm=qx.Bootstrap.firstLow(gk.replace(dG,dJ));gn+=gl.getPadding()[gm]||0;};content.setStyle(gk,gn+da);},_applyDecorator:function(gp,go){var content=this.getContentElement();if(go){go=qx.theme.manager.Decoration.getInstance().getCssClassName(go);content.removeClass(go);};if(gp){gp=qx.theme.manager.Decoration.getInstance().addCssClass(gp);content.addClass(gp);};if(gp||go){qx.ui.core.queue.Layout.add(this);};},_applyToolTipText:function(gs,gr){if(qx.core.Environment.get(v)){if(this.__jF){return;};var gq=qx.locale.Manager.getInstance();this.__jF=gq.addListener(dR,function(){var gt=this.getToolTipText();if(gt&>.translate){this.setToolTipText(gt.translate());};},this);};},_applyTextColor:function(gv,gu){},_applyZIndex:function(gx,gw){this.getContentElement().setStyle(cK,gx==null?0:gx);},_applyVisibility:function(gz,gy){var content=this.getContentElement();if(gz===Q){content.show();}else {content.hide();};var parent=this.$$parent;if(parent&&(gy==null||gz==null||gy===en||gz===en)){parent.invalidateLayoutChildren();};qx.ui.core.queue.Visibility.add(this);},_applyOpacity:function(gB,gA){this.getContentElement().setStyle(cJ,gB==1?null:gB);},_applyCursor:function(gD,gC){if(gD==null&&!this.isSelectable()){gD=ej;};this.getContentElement().setStyle(dc,gD,qx.core.Environment.get(dn)==ed);},_applyBackgroundColor:function(gH,gG){var gF=this.getBackgroundColor();var content=this.getContentElement();var gE=qx.theme.manager.Color.getInstance().resolve(gF);content.setStyle(a,gE);},_applyFont:function(gJ,gI){},_onChangeTheme:function(){if(this.isDisposed()){return;};qx.ui.core.LayoutItem.prototype._onChangeTheme.call(this);this.updateAppearance();var gK=this.getDecorator();this._applyDecorator(null,gK);this._applyDecorator(gK);gK=this.getFont();if(qx.lang.Type.isString(gK)){this._applyFont(gK,gK);};gK=this.getTextColor();if(qx.lang.Type.isString(gK)){this._applyTextColor(gK,gK);};gK=this.getBackgroundColor();if(qx.lang.Type.isString(gK)){this._applyBackgroundColor(gK,gK);};},__jO:null,$$stateChanges:null,_forwardStates:null,hasState:function(gM){var gL=this.__jO;return !!gL&&!!gL[gM];},addState:function(gQ){var gP=this.__jO;if(!gP){gP=this.__jO={};};if(gP[gQ]){return;};this.__jO[gQ]=true;if(gQ===cY){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 gO=this.__jR;if(forward&&forward[gQ]&&gO){var gN;for(var gR in gO){gN=gO[gR];if(gN instanceof qx.ui.core.Widget){gO[gR].addState(gQ);};};};},removeState:function(gV){var gU=this.__jO;if(!gU||!gU[gV]){return;};delete this.__jO[gV];if(gV===cY){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 gT=this.__jR;if(forward&&forward[gV]&&gT){for(var gW in gT){var gS=gT[gW];if(gS instanceof qx.ui.core.Widget){gS.removeState(gV);};};};},replaceState:function(gY,hc){var hb=this.__jO;if(!hb){hb=this.__jO={};};if(!hb[hc]){hb[hc]=true;};if(hb[gY]){delete hb[gY];};if(!qx.ui.core.queue.Visibility.isVisible(this)){this.$$stateChanges=true;}else {qx.ui.core.queue.Appearance.add(this);};var forward=this._forwardStates;var ha=this.__jR;if(forward&&forward[hc]&&ha){for(var hd in ha){var gX=ha[hd];if(gX instanceof qx.ui.core.Widget){gX.replaceState(gY,hc);};};};},__jP:null,__jQ:null,syncAppearance:function(){var hi=this.__jO;var hh=this.__jP;var hj=qx.theme.manager.Appearance.getInstance();var hf=qx.core.Property.$$method.setThemed;var hn=qx.core.Property.$$method.resetThemed;if(this.__jQ){delete this.__jQ;if(hh){var he=hj.styleFrom(hh,hi,null,this.getAppearance());hh=null;};};if(!hh){var hg=this;var hk=[];do {hk.push(hg.$$subcontrol||hg.getAppearance());}while(hg=hg.$$subparent);hh=hk.reverse().join(dE).replace(/#[0-9]+/g,dJ);this.__jP=hh;};var hm=hj.styleFrom(hh,hi,null,this.getAppearance());if(hm){if(he){for(var hl in he){if(hm[hl]===undefined){this[hn[hl]]();};};};{var hl;};for(var hl in hm){hm[hl]===undefined?this[hn[hl]]():this[hf[hl]](hm[hl]);};}else if(he){for(var hl in he){this[hn[hl]]();};};this.fireDataEvent(J,this.__jO);},_applyAppearance:function(hp,ho){this.updateAppearance();},checkAppearanceNeeds:function(){if(!this.__jE){qx.ui.core.queue.Appearance.add(this);this.__jE=true;}else if(this.$$stateChanges){qx.ui.core.queue.Appearance.add(this);delete this.$$stateChanges;};},updateAppearance:function(){this.__jQ=true;qx.ui.core.queue.Appearance.add(this);var hs=this.__jR;if(hs){var hq;for(var hr in hs){hq=hs[hr];if(hq instanceof qx.ui.core.Widget){hq.updateAppearance();};};};},syncWidget:function(ht){},getEventTarget:function(){var hu=this;while(hu.getAnonymous()){hu=hu.getLayoutParent();if(!hu){return null;};};return hu;},getFocusTarget:function(){var hv=this;if(!hv.getEnabled()){return null;};while(hv.getAnonymous()||!hv.getFocusable()){hv=hv.getLayoutParent();if(!hv||!hv.getEnabled()){return null;};};return hv;},getFocusElement:function(){return this.getContentElement();},isTabable:function(){return (!!this.getContentElement().getDomElement())&&this.isFocusable();},_applyFocusable:function(hy,hw){var hx=this.getFocusElement();if(hy){var hz=this.getTabIndex();if(hz==null){hz=1;};hx.setAttribute(dX,hz);hx.setStyle(cO,cN);}else {if(hx.isNativelyFocusable()){hx.setAttribute(dX,-1);}else if(hw){hx.setAttribute(dX,null);};};},_applyKeepFocus:function(hB){var hA=this.getFocusElement();hA.setAttribute(ee,hB?cH:null);},_applyKeepActive:function(hD){var hC=this.getContentElement();hC.setAttribute(eh,hD?cH:null);},_applyTabIndex:function(hE){if(hE==null){hE=1;}else if(hE<1||hE>32000){throw new Error(cX);};if(this.getFocusable()&&hE!=null){this.getFocusElement().setAttribute(dX,hE);};},_applySelectable:function(hG,hF){if(hF!==null){this._applyCursor(this.getCursor());};this.getContentElement().setSelectable(hG);},_applyEnabled:function(hI,hH){if(hI===false){this.addState(o);this.removeState(cY);if(this.isFocusable()){this.removeState(n);this._applyFocusable(false,true);};if(this.isDraggable()){this._applyDraggable(false,true);};if(this.isDroppable()){this._applyDroppable(false,true);};}else {this.removeState(o);if(this.isFocusable()){this._applyFocusable(true,false);};if(this.isDraggable()){this._applyDraggable(true,false);};if(this.isDroppable()){this._applyDroppable(true,false);};};},_applyNativeContextMenu:function(hK,hJ,name){},_applyContextMenu:function(hM,hL){if(hL){hL.removeState(ea);if(hL.getOpener()==this){hL.resetOpener();};if(!hM){this.removeListener(ea,this._onContextMenuOpen);this.removeListener(cW,this._onContextMenuOpen);hL.removeListener(U,this._onBeforeContextMenuOpen,this);};};if(hM){hM.setOpener(this);hM.addState(ea);if(!hL){this.addListener(ea,this._onContextMenuOpen);this.addListener(cW,this._onContextMenuOpen);hM.addListener(U,this._onBeforeContextMenuOpen,this);};};},_onContextMenuOpen:function(e){if(e.getType()==cW){if(e.getPointerType()!==d){return;};};this.getContextMenu().openAtPointer(e);e.stop();},_onBeforeContextMenuOpen:function(e){if(e.getData()==Q&&this.hasListener(dV)){this.fireDataEvent(dV,e);};},_onStopEvent:function(e){e.stopPropagation();},_getDragDropCursor:function(){return qx.ui.core.DragDropCursor.getInstance();},_applyDraggable:function(hO,hN){if(!this.isEnabled()&&hO===true){hO=false;};this._getDragDropCursor();if(hO){this.addListener(t,this._onDragStart);this.addListener(b,this._onDrag);this.addListener(D,this._onDragEnd);this.addListener(w,this._onDragChange);}else {this.removeListener(t,this._onDragStart);this.removeListener(b,this._onDrag);this.removeListener(D,this._onDragEnd);this.removeListener(w,this._onDragChange);};this.getContentElement().setAttribute(G,hO?cH:null);},_applyDroppable:function(hQ,hP){if(!this.isEnabled()&&hQ===true){hQ=false;};this.getContentElement().setAttribute(dd,hQ?cH:null);},_onDragStart:function(e){this._getDragDropCursor().placeToPointer(e);this.getApplicationRoot().setGlobalCursor(ej);},_onDrag:function(e){this._getDragDropCursor().placeToPointer(e);},_onDragEnd:function(e){this._getDragDropCursor().moveTo(-1000,-1000);this.getApplicationRoot().resetGlobalCursor();},_onDragChange:function(e){var hR=this._getDragDropCursor();var hS=e.getCurrentAction();hS?hR.setAction(hS):hR.resetAction();},visualizeFocus:function(){this.addState(n);},visualizeBlur:function(){this.removeState(n);},scrollChildIntoView:function(hX,hW,hV,hU){hU=typeof hU==ec?true:hU;var hT=qx.ui.core.queue.Layout;var parent;if(hU){hU=!hT.isScheduled(hX);parent=hX.getLayoutParent();if(hU&&parent){hU=!hT.isScheduled(parent);if(hU){parent.getChildren().forEach(function(hY){hU=hU&&!hT.isScheduled(hY);});};};};this.scrollChildIntoViewX(hX,hW,hU);this.scrollChildIntoViewY(hX,hV,hU);},scrollChildIntoViewX:function(ic,ia,ib){this.getContentElement().scrollChildIntoViewX(ic.getContentElement(),ia,ib);},scrollChildIntoViewY:function(ih,ie,ig){this.getContentElement().scrollChildIntoViewY(ih.getContentElement(),ie,ig);},focus:function(){if(this.isFocusable()){this.getFocusElement().focus();}else {throw new Error(dm);};},blur:function(){if(this.isFocusable()){this.getFocusElement().blur();}else {throw new Error(dm);};},activate:function(){this.getContentElement().activate();},deactivate:function(){this.getContentElement().deactivate();},tabFocus:function(){this.getFocusElement().focus();},hasChildControl:function(ii){if(!this.__jR){return false;};return !!this.__jR[ii];},__jR:null,_getCreatedChildControls:function(){return this.__jR;},getChildControl:function(il,ik){if(!this.__jR){if(ik){return null;};this.__jR={};};var ij=this.__jR[il];if(ij){return ij;};if(ik===true){return null;};return this._createChildControl(il);},_showChildControl:function(io){var im=this.getChildControl(io);im.show();return im;},_excludeChildControl:function(iq){var ip=this.getChildControl(iq,true);if(ip){ip.exclude();};},_isChildControlVisible:function(is){var ir=this.getChildControl(is,true);if(ir){return ir.isVisible();};return false;},_releaseChildControl:function(iw){var it=this.getChildControl(iw,false);if(!it){throw new Error(s+iw);};delete it.$$subcontrol;delete it.$$subparent;var iu=this.__jO;var forward=this._forwardStates;if(iu&&forward&&it instanceof qx.ui.core.Widget){for(var iv in iu){if(forward[iv]){it.removeState(iv);};};};delete this.__jR[iw];return it;},_createChildControl:function(iB){if(!this.__jR){this.__jR={};}else if(this.__jR[iB]){throw new Error(F+iB+di);};var iy=iB.indexOf(O);try{if(iy==-1){var ix=this._createChildControlImpl(iB);}else {var ix=this._createChildControlImpl(iB.substring(0,iy),iB.substring(iy+1,iB.length));};}catch(iC){iC.message=du+iB+L+this.toString()+dk+iC.message;throw iC;};if(!ix){throw new Error(s+iB);};ix.$$subcontrol=iB;ix.$$subparent=this;var iz=this.__jO;var forward=this._forwardStates;if(iz&&forward&&ix instanceof qx.ui.core.Widget){for(var iA in iz){if(forward[iA]){ix.addState(iA);};};};this.fireDataEvent(q,ix);return this.__jR[iB]=ix;},_createChildControlImpl:function(iE,iD){return null;},_disposeChildControls:function(){var iI=this.__jR;if(!iI){return;};var iG=qx.ui.core.Widget;for(var iH in iI){var iF=iI[iH];if(!iG.contains(this,iF)){iF.destroy();}else {iF.dispose();};};delete this.__jR;},_findTopControl:function(){var iJ=this;while(iJ){if(!iJ.$$subparent){return iJ;};iJ=iJ.$$subparent;};return null;},getContentLocation:function(iL){var iK=this.getContentElement().getDomElement();return iK?qx.bom.element.Location.get(iK,iL):null;},setDomLeft:function(iN){var iM=this.getContentElement().getDomElement();if(iM){iM.style.left=iN+da;}else {throw new Error(dy);};},setDomTop:function(iP){var iO=this.getContentElement().getDomElement();if(iO){iO.style.top=iP+da;}else {throw new Error(dy);};},setDomPosition:function(iR,top){var iQ=this.getContentElement().getDomElement();if(iQ){iQ.style.left=iR+da;iQ.style.top=top+da;}else {throw new Error(dy);};},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 iS=qx.ui.core.LayoutItem.prototype.clone.call(this);if(this.getChildren){var iT=this.getChildren();for(var i=0,l=iT.length;i0&&cV>cW[ --i]){};var cU;var k;for(k=i;k>=0;k-- ){cU=this._getHighResolutionSource(cT,cW[k]);if(cU){return cU;};};for(k=i+1;k-1){var da=M+cY+j;var dc=cX.slice(0,db)+da+cX.slice(db);if(qx.util.ResourceManager.getInstance().has(dc)){return dc;};};return null;},__ko:function(dd,de){if(this.$$disposed===true){return;};if(dd!==qx.util.AliasManager.getInstance().resolve(this.getSource())){this.fireEvent(m);return;};if(de.failed){this.warn(a+dd);this.fireEvent(B);}else if(de.aborted){this.fireEvent(m);return;}else {this.fireEvent(u);};this.__kl(this.__kh(),dd);},__kp:function(df,dg){if(df!==this.__jW||dg!==this.__jX){this.__jW=df;this.__jX=dg;qx.ui.core.queue.Layout.add(this);};}},destruct:function(){for(var dh in this.__jV){if(this.__jV.hasOwnProperty(dh)){this.__jV[dh].setAttribute(L,null,true);};};delete this.__jY;if(this.__ka){delete this.__ka;};this._disposeMap(C);}});})();(function(){var a="mshtml",b='img',c="",d="qx.globalErrorHandling",e="load",f="qx.io.ImageLoader";qx.Bootstrap.define(f,{statics:{__cP:{},__kq:{width:null,height:null},__kr:/\.(png|gif|jpg|jpeg|bmp)\b/i,__ks:/^data:image\/(png|gif|jpg|jpeg|bmp)\b/i,isLoaded:function(g){var h=this.__cP[g];return !!(h&&h.loaded);},isFailed:function(j){var k=this.__cP[j];return !!(k&&k.failed);},isLoading:function(m){var n=this.__cP[m];return !!(n&&n.loading);},getFormat:function(r){var q=this.__cP[r];if(!q||!q.format){var o=this.__ks.exec(r);if(o!=null){var p=(q&&qx.lang.Type.isNumber(q.width)?q.width:this.__kq.width);var s=(q&&qx.lang.Type.isNumber(q.height)?q.height:this.__kq.height);q={loaded:true,format:o[1],width:p,height:s};};};return q?q.format:null;},getSize:function(t){var u=this.__cP[t];return u?{width:u.width,height:u.height}:this.__kq;},getWidth:function(v){var w=this.__cP[v];return w?w.width:null;},getHeight:function(x){var y=this.__cP[x];return y?y.height:null;},load:function(B,A,C){var D=this.__cP[B];if(!D){D=this.__cP[B]={};};if(A&&!C){C=window;};if(D.loaded||D.loading||D.failed){if(A){if(D.loading){D.callbacks.push(A,C);}else {A.call(C,B,D);};};}else {D.loading=true;D.callbacks=[];if(A){D.callbacks.push(A,C);};var z=document.createElement(b);var E=qx.lang.Function.listener(this.__kt,this,z,B);z.onload=E;z.onerror=E;z.src=B;D.element=z;};},abort:function(F){var I=this.__cP[F];if(I&&!I.loaded){I.aborted=true;var H=I.callbacks;var G=I.element;G.onload=G.onerror=null;G.src=c;delete I.callbacks;delete I.element;delete I.loading;for(var i=0,l=H.length;i0){var bm=[];for(var i=0;ibu||Math.abs(bA.y)>bu)){if(!this._start(e)){this.clearSession();return;};};};if(!this.__lh){return;};if(!this.__gC(h,this.__lb,this.__la,true,e)){this.clearSession();};var bv=e.getTarget();var by=this.getCursor();if(!by){by=qx.ui.core.DragDropCursor.getInstance();};var bx=by.getContentElement().getDomElement();if(bv!==bx){var bw=this.__lp(bv);if(bw&&bw!=this.__la){if(this.__la){this.__gC(F,this.__la,this.__lb,false,e);};this.__li=true;this.__la=bw;this.__li=this.__gC(H,bw,this.__lb,true,e);}else if(!bw&&this.__la){this.__gC(F,this.__la,this.__lb,false,e);this.__la=null;this.__li=false;qx.event.Timer.once(this.__ln,this,0);};};var bz=this.__le;bz.Control=e.isCtrlPressed();bz.Shift=e.isShiftPressed();bz.Alt=e.isAltPressed();this.__ln();},_getDelta:function(e){if(!this.__ll){return null;};var bB=e.getDocumentLeft()-this.__ll.left;var bC=e.getDocumentTop()-this.__ll.top;return {"x":bB,"y":bC};},_onPointerup:function(e){if(!e.isPrimary()){return;};if(this.__li&&this.__lj){this.__gC(l,this.__la,this.__lb,false,e);};if(e.getTarget()==this.__lb){e.stopPropagation();};this.clearSession();},_onRoll:function(e){e.stop();},_onWindowBlur:function(e){this.clearSession();},_onKeyDown:function(e){var bD=e.getKeyIdentifier();switch(bD){case C:case q:case r:if(!this.__le[bD]){this.__le[bD]=true;this.__ln();};};},_onKeyUp:function(e){var bE=e.getKeyIdentifier();switch(bE){case C:case q:case r:if(this.__le[bE]){this.__le[bE]=false;this.__ln();};};},_onKeyPress:function(e){var bF=e.getKeyIdentifier();switch(bF){case g:this.clearSession();};}},destruct:function(){qx.event.Registration.removeListener(window,a,this._onWindowBlur,this);this.__lb=this.__la=this.__et=this.__dd=this.__lc=this.__ld=this.__le=this.__c=null;},defer:function(bG){qx.event.Registration.addHandler(bG);}});})();(function(){var a="qx.event.type.Drag",b="touch";qx.Class.define(a,{extend:qx.event.type.Event,members:{init:function(c,d){qx.event.type.Event.prototype.init.call(this,true,c);if(d){this._native=d.getNativeEvent()||null;this._originalTarget=d.getOriginalTarget()||null;}else {this._native=null;this._originalTarget=null;};return this;},clone:function(e){var f=qx.event.type.Event.prototype.clone.call(this,e);f._native=this._native;return f;},getDocumentLeft:function(){if(this._native==null){return 0;};var x=this._native.pageX;if(x!==undefined){if(x==0&&this._native.pointerType==b){x=this._native._original.changedTouches[0].pageX||0;};return Math.round(x);}else {var g=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(g);};},getDocumentTop:function(){if(this._native==null){return 0;};var y=this._native.pageY;if(y!==undefined){if(y==0&&this._native.pointerType==b){y=this._native._original.changedTouches[0].pageY||0;};return Math.round(y);}else {var h=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(h);};},getManager:function(){return qx.event.Registration.getManager(this.getTarget()).getHandler(qx.event.handler.DragDrop);},addType:function(i){this.getManager().addType(i);},addAction:function(j){this.getManager().addAction(j);},supportsType:function(k){return this.getManager().supportsType(k);},supportsAction:function(l){return this.getManager().supportsAction(l);},addData:function(m,n){this.getManager().addData(m,n);},getData:function(o){return this.getManager().getData(o);},getCurrentType:function(){return this.getManager().getCurrentType();},getCurrentAction:function(){if(this.getDefaultPrevented()){return null;};return this.getManager().getCurrentAction();},setDropAllowed:function(p){this.getManager().setDropAllowed(p);},getDragTarget:function(){return this.getManager().getDragTarget();},stopSession:function(){this.getManager().clearSession();}}});})();(function(){var a="qx.ui.core.MLayoutHandling";qx.Mixin.define(a,{members:{setLayout:function(b){this._setLayout(b);},getLayout:function(){return this._getLayout();}},statics:{remap:function(c){c.getLayout=c._getLayout;c.setLayout=c._setLayout;}}});})();(function(){var a="qx.ui.core.MChildrenHandling";qx.Mixin.define(a,{members:{getChildren:function(){return this._getChildren();},hasChildren:function(){return this._hasChildren();},indexOf:function(b){return this._indexOf(b);},add:function(d,c){this._add(d,c);},addAt:function(g,e,f){this._addAt(g,e,f);},addBefore:function(h,j,i){this._addBefore(h,j,i);},addAfter:function(m,k,l){this._addAfter(m,k,l);},remove:function(n){this._remove(n);},removeAt:function(o){return this._removeAt(o);},removeAll:function(){return this._removeAll();}},statics:{remap:function(p){p.getChildren=p._getChildren;p.hasChildren=p._hasChildren;p.indexOf=p._indexOf;p.add=p._add;p.addAt=p._addAt;p.addBefore=p._addBefore;p.addAfter=p._addAfter;p.remove=p._remove;p.removeAt=p._removeAt;p.removeAll=p._removeAll;}}});})();(function(){var a="qx.ui.container.Composite",b="addChildWidget",c="removeChildWidget",d="qx.event.type.Data";qx.Class.define(a,{extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MLayoutHandling],construct:function(e){qx.ui.core.Widget.call(this);if(e!=null){this._setLayout(e);};},events:{addChildWidget:d,removeChildWidget:d},members:{_afterAddChild:function(f){this.fireNonBubblingEvent(b,qx.event.type.Data,[f]);},_afterRemoveChild:function(g){this.fireNonBubblingEvent(c,qx.event.type.Data,[g]);}},defer:function(h,i){qx.ui.core.MChildrenHandling.remap(i);qx.ui.core.MLayoutHandling.remap(i);}});})();(function(){var a="qx.ui.popup.Popup",b="visible",c="excluded",d="popup",e="Boolean";qx.Class.define(a,{extend:qx.ui.container.Composite,include:qx.ui.core.MPlacement,construct:function(f){qx.ui.container.Composite.call(this,f);this.initVisibility();},properties:{appearance:{refine:true,init:d},visibility:{refine:true,init:c},autoHide:{check:e,init:true}},members:{show:function(){if(this.getLayoutParent()==null){qx.core.Init.getApplication().getRoot().add(this);};qx.ui.container.Composite.prototype.show.call(this);},_applyVisibility:function(i,h){qx.ui.container.Composite.prototype._applyVisibility.call(this,i,h);var g=qx.ui.popup.Manager.getInstance();i===b?g.add(this):g.remove(this);}},destruct:function(){if(!qx.ui.popup.Manager.getInstance().isDisposed()){qx.ui.popup.Manager.getInstance().remove(this);};}});})();(function(){var a="__lq",b="blur",c="pointerdown",d="singleton",f="qx.ui.popup.Manager";qx.Class.define(f,{type:d,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__lq=[];qx.event.Registration.addListener(document.documentElement,c,this.__ls,this,true);qx.bom.Element.addListener(window,b,this.hideAll,this);},members:{__lq:null,add:function(g){{};this.__lq.push(g);this.__lr();},remove:function(h){{};qx.lang.Array.remove(this.__lq,h);this.__lr();},hideAll:function(){var l=this.__lq.length,j={};while(l-- ){j=this.__lq[l];if(j.getAutoHide()){j.exclude();};};},__lr:function(){var k=1e7;for(var i=0;i0){F=D[i].getSizeHint();G[i]={min:F.minWidth,value:Q[i],max:F.maxWidth,flex:K};};};var B=P.computeFlexOffsets(G,N,E);for(i in B){y=B[i].offset;Q[i]+=y;E+=y;};};var V=D[0].getMarginLeft();if(E0){if(R){V+=C+L;this._renderSeparator(R,{left:V+M.left,top:M.top,width:U,height:H});V+=U+L+O.getMarginLeft();}else {V+=P.collapseMargins(L,C,O.getMarginLeft());};};O.renderLayout(V+M.left,top+M.top,J,z);V+=J;C=O.getMarginRight();};},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__lw();};var bl=qx.ui.layout.Util;var X=this.__gc;var bd=0,be=0,W=0;var bb=0,bc=0;var bi,Y,bk;for(var i=0,l=X.length;ibc){bc=Y.height+bk;};if((Y.minHeight+bk)>bb){bb=Y.minHeight+bk;};};bd+=W;var bg=this.getSpacing();var bj=this.getSeparator();if(bj){var bf=bl.computeHorizontalSeparatorGaps(X,bg,bj);}else {var bf=bl.computeHorizontalGaps(X,bg,true);};return {minWidth:bd+bf,width:be+bf,minHeight:bb,height:bc};}},destruct:function(){this.__lt=this.__lu=this.__gc=null;}});})();(function(){var a="middle",b="qx.ui.layout.Util",c="left",d="center",e="top",f="bottom",g="right";qx.Class.define(b,{statics:{PERCENT_VALUE:/[0-9]+(?:\.[0-9]+)?%/,computeFlexOffsets:function(j,n,h){var r,q,s,k;var m=n>h;var t=Math.abs(n-h);var u,o;var p={};for(q in j){r=j[q];p[q]={potential:m?r.max-r.value:r.value-r.min,flex:m?r.flex:1/r.flex,offset:0};};while(t!=0){k=Infinity;s=0;for(q in p){r=p[q];if(r.potential>0){s+=r.flex;k=Math.min(k,r.potential/r.flex);};};if(s==0){break;};k=Math.min(t,k*s)/s;u=0;for(q in p){r=p[q];if(r.potential>0){o=Math.min(t,r.potential,Math.ceil(k*r.flex));u+=o-k*r.flex;if(u>=1){u-=1;o-=1;};r.potential-=o;if(m){r.offset+=o;}else {r.offset-=o;};t-=o;};};};return p;},computeHorizontalAlignOffset:function(w,v,y,z,A){if(z==null){z=0;};if(A==null){A=0;};var x=0;switch(w){case c:x=z;break;case g:x=y-v-A;break;case d:x=Math.round((y-v)/2);if(x0){I=Math.max(I,J);};};return I+H;},computeHorizontalGaps:function(O,M,L){if(M==null){M=0;};var N=0;if(L){N+=O[0].getMarginLeft();for(var i=1,l=O.length;ibk||bo>bp){if(bn>bk&&bo>bp){bn=bk;bo=bp;}else if(bn>bk){bo+=(bn-bk);bn=bk;if(bo>bp){bo=bp;};}else if(bo>bp){bn+=(bo-bp);bo=bp;if(bn>bk){bn=bk;};};};return {begin:bn,end:bo};}}});})();(function(){var a="Boolean",b="changeGap",c="changeShow",d="bottom",e="bottom-right",f="_applyCenter",g="changeIcon",h="qx.ui.basic.Atom",i="changeLabel",j="both",k="Integer",l="_applyIconPosition",m="bottom-left",n="String",o="icon",p="top-left",q="top",r="top-right",s="right",t="_applyRich",u="_applyIcon",v="label",w="_applyShow",x="left",y="_applyLabel",z="_applyGap",A="atom";qx.Class.define(h,{extend:qx.ui.core.Widget,construct:function(B,C){{};qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.Atom());if(B!=null){this.setLabel(B);};if(C!==undefined){this.setIcon(C);};},properties:{appearance:{refine:true,init:A},label:{apply:y,nullable:true,check:n,event:i},rich:{check:a,init:false,apply:t},icon:{check:n,apply:u,nullable:true,themeable:true,event:g},gap:{check:k,nullable:false,event:b,apply:z,themeable:true,init:4},show:{init:j,check:[j,v,o],themeable:true,inheritable:true,apply:w,event:c},iconPosition:{init:x,check:[q,s,d,x,p,m,r,e],themeable:true,apply:l},center:{init:false,check:a,themeable:true,apply:f}},members:{_createChildControlImpl:function(F,E){var D;switch(F){case v:D=new qx.ui.basic.Label(this.getLabel());D.setAnonymous(true);D.setRich(this.getRich());this._add(D);if(this.getLabel()==null||this.getShow()===o){D.exclude();};break;case o:D=new qx.ui.basic.Image(this.getIcon());D.setAnonymous(true);this._addAt(D,0);if(this.getIcon()==null||this.getShow()===v){D.exclude();};break;};return D||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,F);},_forwardStates:{focused:true,hovered:true},_handleLabel:function(){if(this.getLabel()==null||this.getShow()===o){this._excludeChildControl(v);}else {this._showChildControl(v);};},_handleIcon:function(){if(this.getIcon()==null||this.getShow()===v){this._excludeChildControl(o);}else {this._showChildControl(o);};},_applyLabel:function(H,G){var I=this.getChildControl(v,true);if(I){I.setValue(H);};this._handleLabel();},_applyRich:function(K,J){var L=this.getChildControl(v,true);if(L){L.setRich(K);};},_applyIcon:function(N,M){var O=this.getChildControl(o,true);if(O){O.setSource(N);};this._handleIcon();},_applyGap:function(Q,P){this._getLayout().setGap(Q);},_applyShow:function(S,R){this._handleLabel();this._handleIcon();},_applyIconPosition:function(U,T){this._getLayout().setIconPosition(U);},_applyCenter:function(W,V){this._getLayout().setCenter(W);},_applySelectable:function(Y,X){qx.ui.core.Widget.prototype._applySelectable.call(this,Y,X);var ba=this.getChildControl(v,true);if(ba){this.getChildControl(v).setSelectable(Y);};}}});})();(function(){var a="middle",b="_applyLayoutChange",c="top-right",d="bottom",e="top-left",f="bottom-left",g="center",h="qx.ui.layout.Atom",j="bottom-right",k="top",l="left",m="right",n="Integer",o="Boolean";qx.Class.define(h,{extend:qx.ui.layout.Abstract,properties:{gap:{check:n,init:4,apply:b},iconPosition:{check:[l,k,m,d,e,f,c,j],init:l,apply:b},center:{check:o,init:false,apply:b}},members:{verifyLayoutProperty:null,renderLayout:function(E,y,D){var N=D.left;var top=D.top;var z=qx.ui.layout.Util;var q=this.getIconPosition();var t=this._getLayoutChildren();var length=t.length;var M,r;var G,x;var C=this.getGap();var J=this.getCenter();var L=[d,m,c,j];if(L.indexOf(q)!=-1){var A=length-1;var v=-1;var s=-1;}else {var A=0;var v=length;var s=1;};if(q==k||q==d){if(J){var F=0;for(var i=A;i!=v;i+=s){r=t[i].getSizeHint().height;if(r>0){F+=r;if(i!=A){F+=C;};};};top+=Math.round((y-F)/2);};var u=top;for(var i=A;i!=v;i+=s){G=t[i];x=G.getSizeHint();M=Math.min(x.maxWidth,Math.max(E,x.minWidth));r=x.height;N=z.computeHorizontalAlignOffset(g,M,E)+D.left;G.renderLayout(N,u,M,r);if(r>0){u=top+r+C;};};}else {var w=E;var p=null;var I=0;for(var i=A;i!=v;i+=s){G=t[i];M=G.getSizeHint().width;if(M>0){if(!p&&G instanceof qx.ui.basic.Label){p=G;}else {w-=M;};I++ ;};};if(I>1){var H=(I-1)*C;w-=H;};if(p){var x=p.getSizeHint();var B=Math.max(x.minWidth,Math.min(w,x.maxWidth));w-=B;};if(J&&w>0){N+=Math.round(w/2);};for(var i=A;i!=v;i+=s){G=t[i];x=G.getSizeHint();r=Math.min(x.maxHeight,Math.max(y,x.minHeight));if(G===p){M=B;}else {M=x.width;};var K=a;if(q==e||q==c){K=k;}else if(q==f||q==j){K=d;};var u=top+z.computeVerticalAlignOffset(K,x.height,y);G.renderLayout(N,u,M,r);if(M>0){N+=M+C;};};};},_computeSizeHint:function(){var Y=this._getLayoutChildren();var length=Y.length;var P,W;if(length===1){var P=Y[0].getSizeHint();W={width:P.width,height:P.height,minWidth:P.minWidth,minHeight:P.minHeight};}else {var U=0,V=0;var R=0,T=0;var S=this.getIconPosition();var Q=this.getGap();if(S===k||S===d){var O=0;for(var i=0;i0){T+=P.height;R+=P.minHeight;O++ ;};};if(O>1){var X=(O-1)*Q;T+=X;R+=X;};}else {var O=0;for(var i=0;i0){V+=P.width;U+=P.minWidth;O++ ;};};if(O>1){var X=(O-1)*Q;V+=X;U+=X;};};W={minWidth:U,width:V,minHeight:R,height:T};};return W;}}});})();(function(){var a="qx.event.type.Data",b="qx.ui.form.IStringForm";qx.Interface.define(b,{events:{"changeValue":a},members:{setValue:function(c){return arguments.length==1;},resetValue:function(){},getValue:function(){}}});})();(function(){var a="safari",b="os.name",c="_applyTextAlign",d="Boolean",f="qx.ui.core.Widget",g="nowrap",h="changeStatus",i="changeTextAlign",j="_applyWrap",k="changeValue",l="browser.name",m="color",n="qx.ui.basic.Label",o="osx",p="css.textoverflow",q="html.xul",r="_applyValue",s="center",t="_applyBuddy",u="enabled",v="String",w="toggleValue",x="whiteSpace",y="textAlign",z="function",A="browser.version",B="qx.dynlocale",C="engine.version",D="right",E="gecko",F="justify",G="changeRich",H="normal",I="_applyRich",J="engine.name",K="label",L="changeLocale",M="left",N="tap",O="A";qx.Class.define(n,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm],construct:function(P){qx.ui.core.Widget.call(this);if(P!=null){this.setValue(P);};if(qx.core.Environment.get(B)){qx.locale.Manager.getInstance().addListener(L,this._onChangeLocale,this);};},properties:{rich:{check:d,init:false,event:G,apply:I},wrap:{check:d,init:true,apply:j},value:{check:v,apply:r,event:k,nullable:true},buddy:{check:f,apply:t,nullable:true,init:null,dereference:true},textAlign:{check:[M,s,D,F],nullable:true,themeable:true,apply:c,event:i},appearance:{refine:true,init:K},selectable:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{__lx:null,__ly:null,__lz:null,__lA:null,_getContentHint:function(){if(this.__ly){this.__lB=this.__lC();delete this.__ly;};return {width:this.__lB.width,height:this.__lB.height};},_hasHeightForWidth:function(){return this.getRich()&&this.getWrap();},_applySelectable:function(Q){if(!qx.core.Environment.get(p)&&qx.core.Environment.get(q)){if(Q&&!this.isRich()){{};return;};};qx.ui.core.Widget.prototype._applySelectable.call(this,Q);},_getContentHeightForWidth:function(R){if(!this.getRich()&&!this.getWrap()){return null;};return this.__lC(R).height;},_createContentElement:function(){return new qx.html.Label;},_applyTextAlign:function(T,S){this.getContentElement().setStyle(y,T);},_applyTextColor:function(V,U){if(V){this.getContentElement().setStyle(m,qx.theme.manager.Color.getInstance().resolve(V));}else {this.getContentElement().removeStyle(m);};},__lB:{width:0,height:0},_applyFont:function(Y,X){if(X&&this.__lx&&this.__lA){this.__lx.removeListenerById(this.__lA);this.__lA=null;};var W;if(Y){this.__lx=qx.theme.manager.Font.getInstance().resolve(Y);if(this.__lx instanceof qx.bom.webfonts.WebFont){this.__lA=this.__lx.addListener(h,this._onWebFontStatusChange,this);};W=this.__lx.getStyles();}else {this.__lx=null;W=qx.bom.Font.getDefaultStyles();};if(this.getTextColor()!=null){delete W[m];};this.getContentElement().setStyles(W);this.__ly=true;qx.ui.core.queue.Layout.add(this);},__lC:function(bc){var bb=qx.bom.Label;var be=this.getFont();var ba=be?this.__lx.getStyles():qx.bom.Font.getDefaultStyles();var content=this.getValue()||O;var bd=this.getRich();if(this.__lA){this.__lD();};return bd?bb.getHtmlSize(content,ba,bc):bb.getTextSize(content,ba);},__lD:function(){if(!this.getContentElement()){return;};if(qx.core.Environment.get(b)==o&&qx.core.Environment.get(J)==E&&parseInt(qx.core.Environment.get(C),10)<16&&parseInt(qx.core.Environment.get(C),10)>9){var bf=this.getContentElement().getDomElement();if(bf){bf.innerHTML=bf.innerHTML;};};},_applyBuddy:function(bh,bg){if(bg!=null){this.removeRelatedBindings(bg);this.removeListenerById(this.__lz);this.__lz=null;};if(bh!=null){bh.bind(u,this,u);this.__lz=this.addListener(N,function(){if(bh.isFocusable()){bh.focus.apply(bh);};if(w in bh&&typeof bh.toggleValue===z){bh.toggleValue();};},this);};},_applyRich:function(bi){this.getContentElement().setRich(bi);this.__ly=true;qx.ui.core.queue.Layout.add(this);},_applyWrap:function(bl,bj){if(bl&&!this.isRich()){{};};if(this.isRich()){var bk=bl?H:g;this.getContentElement().setStyle(x,bk);};},_onChangeLocale:qx.core.Environment.select(B,{"true":function(e){var content=this.getValue();if(content&&content.translate){this.setValue(content.translate());};},"false":null}),_onWebFontStatusChange:function(bm){if(bm.getData().valid===true){if(qx.core.Environment.get(l)==a&&parseFloat(qx.core.Environment.get(A))>=8){window.setTimeout(function(){this.__ly=true;qx.ui.core.queue.Layout.add(this);}.bind(this),0);};this.__ly=true;qx.ui.core.queue.Layout.add(this);};},_applyValue:function(bo,bn){this.getContentElement().setValue(bo);this.__ly=true;qx.ui.core.queue.Layout.add(this);}},destruct:function(){if(qx.core.Environment.get(B)){qx.locale.Manager.getInstance().removeListener(L,this._onChangeLocale,this);};if(this.__lx&&this.__lA){this.__lx.removeListenerById(this.__lA);};this.__lx=null;}});})();(function(){var a="value",b="qx.html.Label",c="The label mode cannot be modified after initial creation",d='hidden';qx.Class.define(b,{extend:qx.html.Element,members:{__lE:null,_applyProperty:function(name,e){qx.html.Element.prototype._applyProperty.call(this,name,e);if(name==a){var f=this.getDomElement();qx.bom.Label.setValue(f,e);};},_createDomElement:function(){var h=this.__lE;var g=qx.bom.Label.create(this._content,h);g.style.overflow=d;return g;},_copyData:function(i){return qx.html.Element.prototype._copyData.call(this,true);},setRich:function(j){var k=this.getDomElement();if(k){throw new Error(c);};j=!!j;if(this.__lE==j){return this;};this.__lE=j;return this;},setValue:function(l){this._setProperty(a,l);return this;},getValue:function(){return this._getProperty(a);}}});})();(function(){var a="text",b="function",c="px",d="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",e="crop",f="nowrap",g="end",h="div",i="100%",j="auto",k="0",l="css.textoverflow",m="html.xul",n="value",o="visible",p="qx.bom.Label",q="",r="ellipsis",s="normal",t="inherit",u="block",v="label",w="-1000px",x="hidden",y="absolute";qx.Bootstrap.define(p,{statics:{__lF:{fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1},__lG:function(){var z=this.__lI(false);document.body.insertBefore(z,document.body.firstChild);return this._textElement=z;},__lH:function(){var A=this.__lI(true);document.body.insertBefore(A,document.body.firstChild);return this._htmlElement=A;},__lI:function(D){var B=qx.dom.Element.create(h);var C=B.style;C.width=C.height=j;C.left=C.top=w;C.visibility=x;C.position=y;C.overflow=o;C.display=u;if(D){C.whiteSpace=s;}else {C.whiteSpace=f;if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){var E=document.createElementNS(d,v);var C=E.style;C.padding=k;C.margin=k;C.width=j;for(var F in this.__lF){C[F]=t;};B.appendChild(E);};};return B;},__lJ:function(H){var G={};if(H){G.whiteSpace=s;}else if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){G.display=u;}else {G.overflow=x;G.whiteSpace=f;G[qx.core.Environment.get(l)]=r;};return G;},create:function(content,L,K){if(!K){K=window;};var I=K.document.createElement(h);if(L){I.useHtml=true;}else if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){var M=K.document.createElementNS(d,v);var J=M.style;J.cursor=t;J.color=t;J.overflow=x;J.maxWidth=i;J.padding=k;J.margin=k;J.width=j;for(var N in this.__lF){M.style[N]=t;};M.setAttribute(e,g);I.appendChild(M);}else {qx.bom.element.Style.setStyles(I,this.__lJ(L));};if(content){this.setValue(I,content);};return I;},__lK:null,setSanitizer:function(O){{};qx.bom.Label.__lK=O;},setValue:function(Q,P){P=P||q;if(Q.useHtml){if(qx.bom.Label.__lK&&typeof (qx.bom.Label.__lK)===b){P=qx.bom.Label.__lK(P);};Q.innerHTML=P;}else if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){Q.firstChild.setAttribute(n,P);}else {qx.bom.element.Attribute.set(Q,a,P);};},getValue:function(R){if(R.useHtml){return R.innerHTML;}else if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){return R.firstChild.getAttribute(n)||q;}else {return qx.bom.element.Attribute.get(R,a);};},getHtmlSize:function(content,S,T){var U=this._htmlElement||this.__lH();U.style.width=T!=undefined?T+c:j;U.innerHTML=content;return this.__lL(U,S);},getTextSize:function(W,V){var X=this._textElement||this.__lG();if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){X.firstChild.setAttribute(n,W);}else {qx.bom.element.Attribute.set(X,a,W);};return this.__lL(X,V);},__lL:function(bd,Y){var ba=this.__lF;if(!Y){Y={};};for(var bc in ba){bd.style[bc]=Y[bc]||q;};var bb=qx.bom.element.Dimension.getSize(bd);bb.width++ ;return bb;}}});})();(function(){var a="qx.ui.form.IForm",b="qx.event.type.Data";qx.Interface.define(a,{events:{"changeEnabled":b,"changeValid":b,"changeInvalidMessage":b,"changeRequired":b},members:{setEnabled:function(c){return arguments.length==1;},getEnabled:function(){},setRequired:function(d){return arguments.length==1;},getRequired:function(){},setValid:function(e){return arguments.length==1;},getValid:function(){},setInvalidMessage:function(f){return arguments.length==1;},getInvalidMessage:function(){},setRequiredInvalidMessage:function(g){return arguments.length==1;},getRequiredInvalidMessage:function(){}}});})();(function(){var a="qx.application.Standalone";qx.Class.define(a,{extend:qx.application.AbstractGui,members:{_createRootWidget:function(){return new qx.ui.root.Application(document);}}});})();(function(){var a="_applyActiveWindow",b="changeModal",c="windowAdded",d="__lM",f="changeVisibility",g="windowRemoved",h="qx.ui.window.Window",i="__et",j="changeActive",k="qx.ui.window.MDesktop",l="changeActiveWindow",m="qx.event.type.Data";qx.Mixin.define(k,{properties:{activeWindow:{check:h,apply:a,event:l,init:null,nullable:true}},events:{windowAdded:m,windowRemoved:m},members:{__lM:null,__et:null,getWindowManager:function(){if(!this.__et){this.setWindowManager(new qx.ui.window.Window.DEFAULT_MANAGER_CLASS());};return this.__et;},supportsMaximize:function(){return true;},setWindowManager:function(n){if(this.__et){this.__et.setDesktop(null);};n.setDesktop(this);this.__et=n;},_onChangeActive:function(e){if(e.getData()){this.setActiveWindow(e.getTarget());}else if(this.getActiveWindow()==e.getTarget()){this.setActiveWindow(null);};},_applyActiveWindow:function(p,o){this.getWindowManager().changeActiveWindow(p,o);this.getWindowManager().updateStack();},_onChangeModal:function(e){this.getWindowManager().updateStack();},_onChangeVisibility:function(){this.getWindowManager().updateStack();},_afterAddChild:function(q){if(qx.Class.isDefined(h)&&q instanceof qx.ui.window.Window){this._addWindow(q);};},_addWindow:function(r){if(!qx.lang.Array.contains(this.getWindows(),r)){this.getWindows().push(r);this.fireDataEvent(c,r);r.addListener(j,this._onChangeActive,this);r.addListener(b,this._onChangeModal,this);r.addListener(f,this._onChangeVisibility,this);};if(r.getActive()){this.setActiveWindow(r);};this.getWindowManager().updateStack();},_afterRemoveChild:function(s){if(qx.Class.isDefined(h)&&s instanceof qx.ui.window.Window){this._removeWindow(s);};},_removeWindow:function(t){if(qx.lang.Array.contains(this.getWindows(),t)){qx.lang.Array.remove(this.getWindows(),t);this.fireDataEvent(g,t);t.removeListener(j,this._onChangeActive,this);t.removeListener(b,this._onChangeModal,this);t.removeListener(f,this._onChangeVisibility,this);this.getWindowManager().updateStack();};},getWindows:function(){if(!this.__lM){this.__lM=[];};return this.__lM;}},destruct:function(){this._disposeArray(d);this._disposeObjects(i);}});})();(function(){var a="_applyBlockerColor",b="Number",c="qx.ui.core.MBlocker",d="_applyBlockerOpacity",e="Color",f="__lN";qx.Mixin.define(c,{properties:{blockerColor:{check:e,init:null,nullable:true,apply:a,themeable:true},blockerOpacity:{check:b,init:1,apply:d,themeable:true}},members:{__lN:null,_createBlocker:function(){return new qx.ui.core.Blocker(this);},_applyBlockerColor:function(h,g){this.getBlocker().setColor(h);},_applyBlockerOpacity:function(j,i){this.getBlocker().setOpacity(j);},block:function(){this.getBlocker().block();},isBlocked:function(){return this.__lN&&this.__lN.isBlocked();},unblock:function(){if(this.__lN){this.__lN.unblock();};},forceUnblock:function(){if(this.__lN){this.__lN.forceUnblock();};},blockContent:function(k){this.getBlocker().blockContent(k);},getBlocker:function(){if(!this.__lN){this.__lN=this._createBlocker();};return this.__lN;}},destruct:function(){this._disposeObjects(f);}});})();(function(){var a="qx.dyntheme",b="backgroundColor",c="_applyOpacity",d="Boolean",f="px",g="keydown",h="deactivate",j="changeTheme",k="opacity",l="Tab",m="qx.event.type.Event",n="move",o="Color",p="resize",q="zIndex",r="appear",s="qx.ui.root.Abstract",t="keyup",u="__dE",v="keypress",w="Number",x="unblocked",y="qx.ui.core.Blocker",z="disappear",A="blocked",B="__lN",C="_applyColor";qx.Class.define(y,{extend:qx.core.Object,events:{blocked:m,unblocked:m},construct:function(D){qx.core.Object.call(this);this._widget=D;D.addListener(p,this.__lS,this);D.addListener(n,this.__lS,this);D.addListener(z,this.__lU,this);if(qx.Class.isDefined(s)&&D instanceof qx.ui.root.Abstract){this._isRoot=true;this.setKeepBlockerActive(true);};if(qx.core.Environment.get(a)){qx.theme.manager.Meta.getInstance().addListener(j,this._onChangeTheme,this);};this.__lO=[];this.__lP=[];},properties:{color:{check:o,init:null,nullable:true,apply:C,themeable:true},opacity:{check:w,init:1,apply:c,themeable:true},keepBlockerActive:{check:d,init:false}},members:{__lN:null,__lQ:0,__lO:null,__lP:null,__dE:null,_widget:null,_isRoot:false,__lR:null,__lS:function(e){var E=e.getData();if(this.isBlocked()){this._updateBlockerBounds(E);};},__lT:function(){this._updateBlockerBounds(this._widget.getBounds());if(this._widget.isRootWidget()){this._widget.getContentElement().add(this.getBlockerElement());}else {this._widget.getLayoutParent().getContentElement().add(this.getBlockerElement());};},__lU:function(){if(this.isBlocked()){this.getBlockerElement().getParent().remove(this.getBlockerElement());this._widget.addListenerOnce(r,this.__lT,this);};},_updateBlockerBounds:function(F){this.getBlockerElement().setStyles({width:F.width+f,height:F.height+f,left:F.left+f,top:F.top+f});},_applyColor:function(I,H){var G=qx.theme.manager.Color.getInstance().resolve(I);this.__lV(b,G);},_applyOpacity:function(K,J){this.__lV(k,K);},_onChangeTheme:qx.core.Environment.select(a,{"true":function(){this._applyColor(this.getColor());},"false":null}),__lV:function(M,N){var L=[];this.__lN&&L.push(this.__lN);for(var i=0;i0){Q=this.__lP.pop();if(Q&&!Q.isDisposed()&&Q.isFocusable()){Q.focus();};};var R=this.__lO.length;if(R>0){Q=this.__lO.pop();if(Q&&!Q.isDisposed()){Q.activate();};};},__lW:function(){return new qx.html.Blocker(this.getColor(),this.getOpacity());},getBlockerElement:function(S){if(!this.__lN){this.__lN=this.__lW();this.__lN.setStyle(q,15);if(!S){if(this._isRoot){S=this._widget;}else {S=this._widget.getLayoutParent();};};S.getContentElement().add(this.__lN);this.__lN.exclude();};return this.__lN;},block:function(){this._block();},_block:function(T,V){if(!this._isRoot&&!this._widget.getLayoutParent()){this.__lR=this._widget.addListenerOnce(r,this._block.bind(this,T));return;};var parent;if(this._isRoot||V){parent=this._widget;}else {parent=this._widget.getLayoutParent();};var U=this.getBlockerElement(parent);if(T!=null){U.setStyle(q,T);};this.__lQ++ ;if(this.__lQ<2){this._backupActiveWidget();var W=this._widget.getBounds();if(W){this._updateBlockerBounds(W);};U.include();if(!V){U.activate();};U.addListener(h,this.__ma,this);U.addListener(v,this.__lY,this);U.addListener(g,this.__lY,this);U.addListener(t,this.__lY,this);this.fireEvent(A,qx.event.type.Event);};},isBlocked:function(){return this.__lQ>0;},unblock:function(){if(this.__lR){this._widget.removeListenerById(this.__lR);};if(!this.isBlocked()){return;};this.__lQ-- ;if(this.__lQ<1){this.__lX();this.__lQ=0;};},forceUnblock:function(){if(!this.isBlocked()){return;};this.__lQ=0;this.__lX();},__lX:function(){this._restoreActiveWidget();var X=this.getBlockerElement();X.removeListener(h,this.__ma,this);X.removeListener(v,this.__lY,this);X.removeListener(g,this.__lY,this);X.removeListener(t,this.__lY,this);X.exclude();this.fireEvent(x,qx.event.type.Event);},blockContent:function(Y){this._block(Y,true);},__lY:function(e){if(e.getKeyIdentifier()==l){e.stop();};},__ma:function(){if(this.getKeepBlockerActive()){this.getBlockerElement().activate();};}},destruct:function(){if(qx.core.Environment.get(a)){qx.theme.manager.Meta.getInstance().removeListener(j,this._onChangeTheme,this);};this._widget.removeListener(p,this.__lS,this);this._widget.removeListener(n,this.__lS,this);this._widget.removeListener(r,this.__lT,this);this._widget.removeListener(z,this.__lU,this);if(this.__lR){this._widget.removeListenerById(this.__lR);};this._disposeObjects(B,u);this.__lO=this.__lP=this._widget=null;}});})();(function(){var a="swipe",b="repeat",c="mousedown",d="url(",f="pointerover",g=")",h="longtap",i="mouseout",j="div",k="roll",l="cursor",m="dblclick",n="mousewheel",o="qx.html.Blocker",p="mousemove",q="dbltap",r="pointerup",s="mouseover",t="appear",u="click",v="pointerdown",w="mshtml",x="engine.name",y="mouseup",z="contextmenu",A="disappear",B="tap",C="pointermove",D="pointerout",E="qx/static/blank.gif",F="absolute";qx.Class.define(o,{extend:qx.html.Element,construct:function(I,G){var I=I?qx.theme.manager.Color.getInstance().resolve(I):null;var H={position:F,opacity:G||0,backgroundColor:I};if((qx.core.Environment.get(x)==w)){H.backgroundImage=d+qx.util.ResourceManager.getInstance().toUri(E)+g;H.backgroundRepeat=b;};qx.html.Element.call(this,j,H);this.addListener(c,this._stopPropagation,this);this.addListener(y,this._stopPropagation,this);this.addListener(u,this._stopPropagation,this);this.addListener(m,this._stopPropagation,this);this.addListener(p,this._stopPropagation,this);this.addListener(s,this._stopPropagation,this);this.addListener(i,this._stopPropagation,this);this.addListener(n,this._stopPropagation,this);this.addListener(k,this._stopPropagation,this);this.addListener(z,this._stopPropagation,this);this.addListener(v,this._stopPropagation,this);this.addListener(r,this._stopPropagation,this);this.addListener(C,this._stopPropagation,this);this.addListener(f,this._stopPropagation,this);this.addListener(D,this._stopPropagation,this);this.addListener(B,this._stopPropagation,this);this.addListener(q,this._stopPropagation,this);this.addListener(a,this._stopPropagation,this);this.addListener(h,this._stopPropagation,this);this.addListener(t,this.__mb,this);this.addListener(A,this.__mb,this);},members:{_stopPropagation:function(e){e.stopPropagation();},__mb:function(){var J=this.getStyle(l);this.setStyle(l,null,true);this.setStyle(l,J,true);}}});})();(function(){var a="changeGlobalCursor",b="engine.name",c="keypress",d="Boolean",f="root",g="help",h="",i="contextmenu",j=" !important",k="input",l="_applyGlobalCursor",m="Space",n="_applyNativeHelp",o=";",p="event.help",q="qx.ui.root.Abstract",r="abstract",s="textarea",t="String",u="*";qx.Class.define(q,{type:r,extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MBlocker,qx.ui.window.MDesktop],construct:function(){qx.ui.core.Widget.call(this);qx.ui.core.FocusHandler.getInstance().addRoot(this);qx.ui.core.queue.Visibility.add(this);this.initNativeHelp();this.addListener(c,this.__md,this);},properties:{appearance:{refine:true,init:f},enabled:{refine:true,init:true},focusable:{refine:true,init:true},globalCursor:{check:t,nullable:true,themeable:true,apply:l,event:a},nativeContextMenu:{refine:true,init:false},nativeHelp:{check:d,init:false,apply:n}},members:{__mc:null,isRootWidget:function(){return true;},getLayout:function(){return this._getLayout();},_applyGlobalCursor:qx.core.Environment.select(b,{"mshtml":function(w,v){},"default":function(A,z){var y=qx.bom.Stylesheet;var x=this.__mc;if(!x){this.__mc=x=y.createElement();};y.removeAllRules(x);if(A){y.addRule(x,u,qx.bom.element.Cursor.compile(A).replace(o,h)+j);};}}),_applyNativeContextMenu:function(C,B){if(C){this.removeListener(i,this._onNativeContextMenu,this,true);}else {this.addListener(i,this._onNativeContextMenu,this,true);};},_onNativeContextMenu:function(e){if(e.getTarget().getNativeContextMenu()){return;};e.preventDefault();},__md:function(e){if(e.getKeyIdentifier()!==m){return;};var E=e.getTarget();var D=qx.ui.core.FocusHandler.getInstance();if(!D.isFocused(E)){return;};var F=E.getContentElement().getNodeName();if(F===k||F===s){return;};e.preventDefault();},_applyNativeHelp:function(H,G){if(qx.core.Environment.get(p)){if(G===false){qx.bom.Event.removeNativeListener(document,g,(function(){return false;}));};if(H===false){qx.bom.Event.addNativeListener(document,g,(function(){return false;}));};};}},destruct:function(){this.__mc=null;},defer:function(I,J){qx.ui.core.MChildrenHandling.remap(J);}});})();(function(){var a="keypress",b="__me",c="focusout",d="activate",f="Tab",g="singleton",h="deactivate",j="focusin",k="qx.ui.core.FocusHandler";qx.Class.define(k,{extend:qx.core.Object,type:g,construct:function(){qx.core.Object.call(this);this.__me={};},members:{__me:null,__mf:null,__mg:null,__mh:null,connectTo:function(m){m.addListener(a,this.__hP,this);m.addListener(j,this._onFocusIn,this,true);m.addListener(c,this._onFocusOut,this,true);m.addListener(d,this._onActivate,this,true);m.addListener(h,this._onDeactivate,this,true);},addRoot:function(n){this.__me[n.$$hash]=n;},removeRoot:function(o){delete this.__me[o.$$hash];},getActiveWidget:function(){return this.__mf;},isActive:function(p){return this.__mf==p;},getFocusedWidget:function(){return this.__mg;},isFocused:function(q){return this.__mg==q;},isFocusRoot:function(r){return !!this.__me[r.$$hash];},_onActivate:function(e){var t=e.getTarget();this.__mf=t;var s=this.__mi(t);if(s!=this.__mh){this.__mh=s;};},_onDeactivate:function(e){var u=e.getTarget();if(this.__mf==u){this.__mf=null;};},_onFocusIn:function(e){var v=e.getTarget();if(v!=this.__mg){this.__mg=v;v.visualizeFocus();};},_onFocusOut:function(e){var w=e.getTarget();if(w==this.__mg){this.__mg=null;w.visualizeBlur();};},__hP:function(e){if(e.getKeyIdentifier()!=f){return;};if(!this.__mh){return;};e.stopPropagation();e.preventDefault();var x=this.__mg;if(!e.isShiftPressed()){var y=x?this.__mm(x):this.__mk();}else {var y=x?this.__mn(x):this.__ml();};if(y){y.tabFocus();};},__mi:function(z){var A=this.__me;while(z){if(A[z.$$hash]){return z;};z=z.getLayoutParent();};return null;},__mj:function(I,H){if(I===H){return 0;};var C=I.getTabIndex()||0;var B=H.getTabIndex()||0;if(C!=B){return C-B;};var J=I.getContentElement().getDomElement();var G=H.getContentElement().getDomElement();var F=qx.bom.element.Location;var E=F.get(J);var D=F.get(G);if(E.top!=D.top){return E.top-D.top;};if(E.left!=D.left){return E.left-D.left;};var K=I.getZIndex();var L=H.getZIndex();if(K!=L){return K-L;};return 0;},__mk:function(){return this.__mq(this.__mh,null);},__ml:function(){return this.__mr(this.__mh,null);},__mm:function(M){var N=this.__mh;if(N==M){return this.__mk();};while(M&&M.getAnonymous()){M=M.getLayoutParent();};if(M==null){return [];};var O=[];this.__mo(N,M,O);O.sort(this.__mj);var P=O.length;return P>0?O[0]:this.__mk();},__mn:function(Q){var R=this.__mh;if(R==Q){return this.__ml();};while(Q&&Q.getAnonymous()){Q=Q.getLayoutParent();};if(Q==null){return [];};var S=[];this.__mp(R,Q,S);S.sort(this.__mj);var T=S.length;return T>0?S[T-1]:this.__ml();},__mo:function(parent,U,V){var X=parent.getLayoutChildren();var W;for(var i=0,l=X.length;i0){ba.push(bb);};this.__mp(bb,Y,ba);};};},__mq:function(parent,bd){var bf=parent.getLayoutChildren();var be;for(var i=0,l=bf.length;i0){bg=bh;};};bg=this.__mr(bh,bg);};};return bg;}},destruct:function(){this._disposeMap(b);this.__mg=this.__mf=this.__mh=null;}});})();(function(){var a="touchmove",b="os.name",c="-webkit-overflow-scrolling",d="touch",f="paddingLeft",g="div",h="100%",i="The root widget does not support 'left', or 'top' paddings!",j="0px",k="The application could not be started due to a missing body tag in the HTML file!",l="ios",m="overflowY",n="resize",o="",p="$$widget",q="paddingTop",r="engine.name",s="none",t="webkit",u="-webkit-backface-visibility",v="touch-action",w="qx.ui.root.Application",x="hidden",y="tap",z="overflowX",A="absolute";qx.Class.define(w,{extend:qx.ui.root.Abstract,construct:function(B){this.__cz=qx.dom.Node.getWindow(B);this.__ms=B;qx.ui.root.Abstract.call(this);qx.event.Registration.addListener(this.__cz,n,this._onResize,this);this._setLayout(new qx.ui.layout.Canvas());qx.ui.core.queue.Layout.add(this);qx.ui.core.FocusHandler.getInstance().connectTo(this);this.getContentElement().disableScrolling();this.getContentElement().setStyle(u,x);this.addListener(a,this.__mt,this);if(qx.core.Environment.get(b)==l){this.getContentElement().addListener(y,function(e){var C=qx.ui.core.Widget.getWidgetByElement(e.getTarget());while(C&&!C.isFocusable()){C=C.getLayoutParent();};if(C&&C.isFocusable()){C.getContentElement().focus();};},this,true);};},members:{__cz:null,__ms:null,_createContentElement:function(){var D=this.__ms;if((qx.core.Environment.get(r)==t)){if(!D.body){alert(k);};};var H=D.documentElement.style;var E=D.body.style;H.overflow=E.overflow=x;H.padding=H.margin=E.padding=E.margin=j;H.width=H.height=E.width=E.height=h;var G=D.createElement(g);D.body.appendChild(G);var F=new qx.html.Root(G);F.setStyles({"position":A,"overflowX":x,"overflowY":x});F.setAttribute(p,this.toHashCode());return F;},_onResize:function(e){qx.ui.core.queue.Layout.add(this);if(qx.ui.popup&&qx.ui.popup.Manager){qx.ui.popup.Manager.getInstance().hideAll();};if(qx.ui.menu&&qx.ui.menu.Manager){qx.ui.menu.Manager.getInstance().hideAll();};},_computeSizeHint:function(){var I=qx.bom.Viewport.getWidth(this.__cz);var J=qx.bom.Viewport.getHeight(this.__cz);return {minWidth:I,width:I,maxWidth:I,minHeight:J,height:J,maxHeight:J};},_applyPadding:function(L,K,name){if(L&&(name==q||name==f)){throw new Error(i);};qx.ui.root.Abstract.prototype._applyPadding.call(this,L,K,name);},__mt:function(e){var M=e.getOriginalTarget();while(M&&M.style){var Q=qx.bom.element.Style.get(M,v)!==s&&qx.bom.element.Style.get(M,v)!==o;var P=qx.bom.element.Style.get(M,c)===d;var O=qx.bom.element.Style.get(M,z)!=x;var N=qx.bom.element.Style.get(M,m)!=x;if(Q||P||N||O){return;};M=M.parentNode;};e.preventDefault();}},destruct:function(){this.__cz=this.__ms=null;}});})();(function(){var a="qx.ui.layout.Canvas",b="number",c="Boolean";qx.Class.define(a,{extend:qx.ui.layout.Abstract,properties:{desktop:{check:c,init:false}},members:{verifyLayoutProperty:null,renderLayout:function(g,j,m){var s=this._getLayoutChildren();var d,u,r;var f,top,e,h,n,k;var q,p,t,o;for(var i=0,l=s.length;iu.maxWidth){n=u.maxWidth;};f+=o;}else {n=r.width;if(n==null){n=u.width;}else {n=Math.round(parseFloat(n)*g/100);if(nu.maxWidth){n=u.maxWidth;};};if(e!=null){f=g-n-e-p-o;}else if(f==null){f=o;}else {f+=o;};};if(top!=null&&h!=null){k=j-top-h-q-t;if(ku.maxHeight){k=u.maxHeight;};top+=q;}else {k=r.height;if(k==null){k=u.height;}else {k=Math.round(parseFloat(k)*j/100);if(ku.maxHeight){k=u.maxHeight;};};if(h!=null){top=j-k-h-t-q;}else if(top==null){top=q;}else {top+=q;};};f+=m.left;top+=m.top;d.renderLayout(f,top,n,k);};},_computeSizeHint:function(){var M=0,y=0;var J=0,I=0;var H,v;var E,C;var L=this._getLayoutChildren();var w,B,z;var K=this.isDesktop();var A,top,x,D;for(var i=0,l=L.length;iE.maxHeight){G=E.maxHeight;};if(F&this.RESIZE_TOP){top+=H.height-G;};};if((F&this.RESIZE_LEFT)||(F&this.RESIZE_RIGHT)){K=Math.max(I.left,Math.min(I.right,e.getDocumentLeft()))-this.__mx;if(F&this.RESIZE_LEFT){J-=K;}else {J+=K;};if(JE.maxWidth){J=E.maxWidth;};if(F&this.RESIZE_LEFT){L+=H.width-J;};};return {viewportLeft:L,viewportTop:top,parentLeft:H.bounds.left+L-H.left,parentTop:H.bounds.top+top-H.top,width:J,height:G};},__mD:{'1':f,'2':x,'4':b,'8':k,'5':q,'6':d,'9':h,'10':i},__mE:function(e){var location=this.getContentLocation();var O=this.getResizeSensitivity();var N=e.getDocumentLeft();var P=e.getDocumentTop();var M=this.__mF(location,N,P,O);if(M>0){M=M|this.__mF(location,N,P,O*2);};this.__mw=M;},__mF:function(location,T,R,S){var Q=0;if(this.getResizableTop()&&Math.abs(location.top-R)location.left-S&&Tlocation.left-S&&Tlocation.top-S&&Rlocation.top-S&&R=(K?J:I)){this.getChildControl(n).setVisibility(o);this.getChildControl(D).setVisibility(o);}else {this.getChildControl(n).setVisibility(k);this.getChildControl(D).setVisibility(k);};return L;},_createChildControlImpl:function(P,O){var N;switch(P){case a:N=new qx.ui.core.scroll.ScrollSlider();N.setPageStep(100);N.setFocusable(false);N.addListener(d,this._onChangeSliderValue,this);N.addListener(b,this._onSlideAnimationEnd,this);this._add(N,{flex:1});break;case n:N=new qx.ui.form.RepeatButton();N.setFocusable(false);N.addListener(g,this._onExecuteBegin,this);this._add(N);break;case D:N=new qx.ui.form.RepeatButton();N.setFocusable(false);N.addListener(g,this._onExecuteEnd,this);this._add(N);break;};return N||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,P);},_applyMaximum:function(Q){this.getChildControl(a).setMaximum(Q);},_applyPosition:function(R){this.getChildControl(a).setValue(R);},_applyKnobFactor:function(S){this.getChildControl(a).setKnobFactor(S);},_applyPageStep:function(T){this.getChildControl(a).setPageStep(T);},_applyOrientation:function(W,U){var V=this._getLayout();if(V){V.dispose();};if(W===x){this._setLayout(new qx.ui.layout.HBox());this.setAllowStretchX(true);this.setAllowStretchY(false);this.replaceState(r,x);this.getChildControl(n).replaceState(y,C);this.getChildControl(D).replaceState(E,v);}else {this._setLayout(new qx.ui.layout.VBox());this.setAllowStretchX(false);this.setAllowStretchY(true);this.replaceState(x,r);this.getChildControl(n).replaceState(C,y);this.getChildControl(D).replaceState(v,E);};this.getChildControl(a).setOrientation(W);},scrollTo:function(Y,X){this.getChildControl(a).slideTo(Y,X);},scrollBy:function(bb,ba){this.getChildControl(a).slideBy(bb,ba);},scrollBySteps:function(bd,bc){var be=this.getSingleStep();this.getChildControl(a).slideBy(bd*be,bc);},updatePosition:function(bf){this.getChildControl(a).updatePosition(bf);},stopScrollAnimation:function(){this.getChildControl(a).stopSlideAnimation();},_onExecuteBegin:function(e){this.scrollBy(-this.getSingleStep(),50);},_onExecuteEnd:function(e){this.scrollBy(this.getSingleStep(),50);},_onSlideAnimationEnd:function(){this.fireEvent(t);},_onChangeSliderValue:function(e){this.setPosition(e.getData());},_onResizeSlider:function(e){var bg=this.getChildControl(a).getChildControl(m);var bj=bg.getSizeHint();var bh=false;var bi=this.getChildControl(a).getInnerSize();if(this.getOrientation()==r){if(bi.height0){E=D[i].getSizeHint();F[i]={min:E.minHeight,value:I[i],max:E.maxHeight,flex:L};};};var B=N.computeFlexOffsets(F,G,P);for(i in B){y=B[i].offset;I[i]+=y;P+=y;};};var top=D[0].getMarginTop();if(P0){if(T){top+=x+M;this._renderSeparator(T,{top:top+R.top,left:R.left,height:Q,width:O});top+=Q+M+S.getMarginTop();}else {top+=N.collapseMargins(M,x,S.getMarginTop());};};S.renderLayout(V+R.left,top+R.top,J,z);top+=z;x=S.getMarginBottom();};},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__lw();};var W=qx.ui.layout.Util;var bl=this.__gc;var ba=0,bb=0,bj=0;var bc=0,bd=0;var bh,X,bk;for(var i=0,l=bl.length;ibd){bd=X.width+bk;};if((X.minWidth+bk)>bc){bc=X.minWidth+bk;};};ba+=bj;var bf=this.getSpacing();var bi=this.getSeparator();if(bi){var be=W.computeVerticalSeparatorGaps(bl,bf,bi);}else {var be=W.computeVerticalGaps(bl,bf,true);};return {minHeight:ba+be,height:bb+be,minWidth:bc,width:bd};}},destruct:function(){this.__mN=this.__lu=this.__gc=null;}});})();(function(){var a="qx.ui.form.IExecutable",b="qx.event.type.Data";qx.Interface.define(a,{events:{"execute":b},members:{setCommand:function(c){return arguments.length==1;},getCommand:function(){},execute:function(){}}});})();(function(){var a="toolTipText",b="icon",c="label",d="qx.ui.core.MExecutable",f="enabled",g="value",h="qx.event.type.Event",j="execute",k="_applyCommand",l="qx.ui.command.Command",m="menu",n="changeCommand";qx.Mixin.define(d,{events:{"execute":h},properties:{command:{check:l,apply:k,event:n,nullable:true}},members:{__mO:null,__mP:false,__mQ:null,_bindableProperties:[f,c,b,a,g,m],execute:function(){var o=this.getCommand();if(o){if(this.__mP){this.__mP=false;}else {this.__mP=true;o.execute(this);};};this.fireEvent(j);},__mR:function(e){if(this.__mP){this.__mP=false;return;};if(this.isEnabled()){this.__mP=true;this.execute();};},_applyCommand:function(r,p){if(p!=null){p.removeListenerById(this.__mQ);};if(r!=null){this.__mQ=r.addListener(j,this.__mR,this);};var q=this.__mO;if(q==null){this.__mO=q={};};var u;for(var i=0;i0?1:br<0?-1:0;this.slideBy(bp*this.getSingleStep());e.stop();},_onKeyPress:function(e){var bt=this.getOrientation()===N;var bs=bt?l:t;var forward=bt?D:m;switch(e.getKeyIdentifier()){case forward:this.slideForward();break;case bs:this.slideBack();break;case q:this.slidePageForward(100);break;case g:this.slidePageBack(100);break;case H:this.slideToBegin(200);break;case v:this.slideToEnd(200);break;default:return;};e.stop();},_onPointerDown:function(e){if(this.__nb){return;};var bw=this.__nl;var bu=this.getChildControl(P);var bv=bw?G:L;var bA=bw?e.getDocumentLeft():e.getDocumentTop();var bC=this.getDecorator();bC=qx.theme.manager.Decoration.getInstance().resolve(bC);if(bw){var bz=bC?bC.getInsets().left:0;var by=(this.getPaddingLeft()||0)+bz;}else {var bz=bC?bC.getInsets().top:0;var by=(this.getPaddingTop()||0)+bz;};var bB=this.__mX=qx.bom.element.Location.get(this.getContentElement().getDomElement())[bv];bB+=by;var bx=this.__mY=qx.bom.element.Location.get(bu.getContentElement().getDomElement())[bv];if(e.getTarget()===bu){this.__nb=true;if(!this.__ng){this.__ng=new qx.event.Timer(100);this.__ng.addListener(r,this._fireValue,this);};this.__ng.start();this.__nc=bA+bB-bx;bu.addState(c);}else {this.__nd=true;this.__ne=bA<=bx?-1:1;this.__nm(e);this._onInterval();if(!this.__dE){this.__dE=new qx.event.Timer(100);this.__dE.addListener(r,this._onInterval,this);};this.__dE.start();};this.addListener(w,this._onPointerMove);this.capture();e.stopPropagation();},_onPointerUp:function(e){if(this.__nb){this.releaseCapture();delete this.__nb;this.__ng.stop();this._fireValue();delete this.__nc;this.getChildControl(P).removeState(c);if(e.getType()===B){var bE;var bF;var bD;if(this.__nl){bE=e.getDocumentLeft()-(this._valueToPosition(this.getValue())+this.__mX);bD=qx.bom.element.Location.get(this.getContentElement().getDomElement())[L];bF=e.getDocumentTop()-(bD+this.getChildControl(P).getBounds().top);}else {bE=e.getDocumentTop()-(this._valueToPosition(this.getValue())+this.__mX);bD=qx.bom.element.Location.get(this.getContentElement().getDomElement())[G];bF=e.getDocumentLeft()-(bD+this.getChildControl(P).getBounds().left);};if(bF<0||bF>this.__na||bE<0||bE>this.__na){this.getChildControl(P).removeState(b);};};}else if(this.__nd){this.__dE.stop();this.releaseCapture();delete this.__nd;delete this.__ne;delete this.__nf;};this.removeListener(w,this._onPointerMove);if(e.getType()===B){e.stopPropagation();};},_onPointerMove:function(e){if(this.__nb){var bH=this.__nl?e.getDocumentLeft():e.getDocumentTop();var bG=bH-this.__nc;this.slideTo(this._positionToValue(bG));}else if(this.__nd){this.__nm(e);};e.stopPropagation();},_onInterval:function(e){var bI=this.getValue()+(this.__ne*this.getPageStep());if(bIthis.getMaximum()){bI=this.getMaximum();};var bJ=this.__ne==-1;if((bJ&&bI<=this.__nf)||(!bJ&&bI>=this.__nf)){bI=this.__nf;};this.slideTo(bI);},_onUpdate:function(e){var bL=this.getInnerSize();var bM=this.getChildControl(P).getBounds();var bK=this.__nl?E:x;this._updateKnobSize();this.__nk=bL[bK]-bM[bK];this.__na=bM[bK];this._updateKnobPosition();},__nl:false,__nk:0,__nm:function(e){var bN=this.__nl;var bU=bN?e.getDocumentLeft():e.getDocumentTop();var bX=this.__mX;var bO=this.__mY;var bY=this.__na;var bV=bU-bX;if(bU>=bO){bV-=bY;};var bR=this._positionToValue(bV);var bP=this.getMinimum();var bQ=this.getMaximum();if(bRbQ){bR=bQ;}else {var bW=this.getValue();var bT=this.getPageStep();var bS=this.__ne<0?I:Q;bR=bW+(Math[bS]((bR-bW)/bT)*bT);};if(this.__nf==null||(this.__ne==-1&&bR<=this.__nf)||(this.__ne==1&&bR>=this.__nf)){this.__nf=bR;};},_positionToValue:function(cb){var ca=this.__nk;if(ca==null||ca==0){return 0;};var cd=cb/ca;if(cd<0){cd=0;}else if(cd>1){cd=1;};var cc=this.getMaximum()-this.getMinimum();return this.getMinimum()+Math.round(cc*cd);},_valueToPosition:function(ch){var ce=this.__nk;if(ce==null){return 0;};var cf=this.getMaximum()-this.getMinimum();if(cf==0){return 0;};var ch=ch-this.getMinimum();var cg=ch/cf;if(cg<0){cg=0;}else if(cg>1){cg=1;};return Math.round(ce*cg);},_updateKnobPosition:function(){this._setKnobPosition(this._valueToPosition(this.getValue()));},_setKnobPosition:function(ck){var ci=this.getChildControl(P);var cj=this.getDecorator();cj=qx.theme.manager.Decoration.getInstance().resolve(cj);var content=ci.getContentElement();if(this.__nl){if(cj&&cj.getPadding()){ck+=cj.getPadding().left;};ck+=this.getPaddingLeft()||0;content.setStyle(G,ck+d,true);}else {if(cj&&cj.getPadding()){ck+=cj.getPadding().top;};ck+=this.getPaddingTop()||0;content.setStyle(L,ck+d,true);};},_updateKnobSize:function(){var cm=this.getKnobFactor();if(cm==null){return;};var cl=this.getInnerSize();if(cl==null){return;};if(this.__nl){this.getChildControl(P).setWidth(Math.round(cm*cl.width));}else {this.getChildControl(P).setHeight(Math.round(cm*cl.height));};},slideToBegin:function(cn){this.slideTo(this.getMinimum(),cn);},slideToEnd:function(co){this.slideTo(this.getMaximum(),co);},slideForward:function(){this.slideBy(this.getSingleStep());},slideBack:function(){this.slideBy(-this.getSingleStep());},slidePageForward:function(cp){this.slideBy(this.getPageStep(),cp);},slidePageBack:function(cq){this.slideBy(-this.getPageStep(),cq);},slideBy:function(cs,cr){this.slideTo(this.getValue()+cs,cr);},slideTo:function(cu,ct){this.stopSlideAnimation();if(ct){this.__no(cu,ct);}else {this.updatePosition(cu);};},updatePosition:function(cv){this.setValue(this.__nn(cv));},stopSlideAnimation:function(){if(this.__nj){this.__nj.cancelSequence();this.__nj=null;};},__nn:function(cw){if(cwthis.getMaximum()){cw=this.getMaximum();}else {cw=this.getMinimum()+Math.round((cw-this.getMinimum())/this.getSingleStep())*this.getSingleStep();};return cw;},__no:function(cy,cx){cy=this.__nn(cy);var cz=this.getValue();this.__nj=new qx.bom.AnimationFrame();this.__nj.on(i,function(cA){this.setValue(parseInt(cA/cx*(cy-cz)+cz));},this);this.__nj.on(j,function(){this.setValue(cy);this.__nj=null;this.fireEvent(O);},this);this.__nj.startSequence(cx);},_applyOrientation:function(cD,cC){var cB=this.getChildControl(P);this.__nl=cD===N;if(this.__nl){this.removeState(C);cB.removeState(C);this.addState(N);cB.addState(N);cB.setLayoutProperties({top:0,right:null,bottom:0});}else {this.removeState(N);cB.removeState(N);this.addState(C);cB.addState(C);cB.setLayoutProperties({right:0,bottom:null,left:0});};this._updateKnobPosition();},_applyKnobFactor:function(cF,cE){if(cF!=null){this._updateKnobSize();}else {if(this.__nl){this.getChildControl(P).resetWidth();}else {this.getChildControl(P).resetHeight();};};},_applyValue:function(cH,cG){if(cH!=null){this._updateKnobPosition();if(this.__nb){this.__ni=[cH,cG];}else {this.fireEvent(h,qx.event.type.Data,[cH,cG]);};}else {this.resetValue();};},_fireValue:function(){if(!this.__ni){return;};var cI=this.__ni;this.__ni=null;this.fireEvent(h,qx.event.type.Data,cI);},_applyMinimum:function(cK,cJ){if(this.getValue()cM){this.setValue(cM);};this._updateKnobPosition();}}});})();(function(){var a="dblclick",b="qx.ui.core.scroll.ScrollSlider",c="horizontal",d="keypress",f="roll",g="knob";qx.Class.define(b,{extend:qx.ui.form.Slider,construct:function(h){qx.ui.form.Slider.call(this,h);this.removeListener(d,this._onKeyPress);this.removeListener(f,this._onRoll);},members:{_createChildControlImpl:function(k,j){var i;switch(k){case g:i=qx.ui.form.Slider.prototype._createChildControlImpl.call(this,k);i.addListener(a,function(e){e.stopPropagation();});};return i||qx.ui.form.Slider.prototype._createChildControlImpl.call(this,k);},getSizeHint:function(l){var m=qx.ui.form.Slider.prototype.getSizeHint.call(this);if(this.getOrientation()===c){m.width=0;}else {m.height=0;};return m;}}});})();(function(){var a="qx.ui.core.scroll.NativeScrollBar",b="px",c="PositiveNumber",d="frame",f="end",g="box-sizing",h="Integer",i="track",j="browser.name",k="hidden",l="content-box",m="pointerup",n="vertical",o="_applyOrientation",p="scrollAnimationEnd",q="appear",r="pointerdown",s="__np",t="PositiveInteger",u='qx.event.type.Event',v="mshtml",w="engine.name",x="horizontal",y="Number",z="edge",A="_applyPosition",B="scrollbar",C="_applyMaximum",D="pointermove",E="native",F="scroll";qx.Class.define(a,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(G){qx.ui.core.Widget.call(this);this.addState(E);this.getContentElement().addListener(F,this._onScroll,this);this.addListener(r,this._stopPropagation,this);this.addListener(m,this._stopPropagation,this);this.addListener(D,this._stopPropagation,this);this.addListener(q,this._onAppear,this);this.getContentElement().add(this._getScrollPaneElement());this.getContentElement().setStyle(g,l);if(G!=null){this.setOrientation(G);}else {this.initOrientation();};this.addListener(i,function(e){e.stopPropagation();},this);},events:{scrollAnimationEnd:u},properties:{appearance:{refine:true,init:B},orientation:{check:[x,n],init:x,apply:o},maximum:{check:t,apply:C,init:100},position:{check:y,init:0,apply:A,event:F},singleStep:{check:h,init:20},knobFactor:{check:c,nullable:true}},members:{__nl:null,__np:null,__kb:null,__nj:null,_getScrollPaneElement:function(){if(!this.__np){this.__np=new qx.html.Element();};return this.__np;},renderLayout:function(I,top,H,K){var J=qx.ui.core.Widget.prototype.renderLayout.call(this,I,top,H,K);this._updateScrollBar();return J;},_getContentHint:function(){var L=qx.bom.element.Scroll.getScrollbarWidth();return {width:this.__nl?100:L,maxWidth:this.__nl?null:L,minWidth:this.__nl?null:L,height:this.__nl?L:100,maxHeight:this.__nl?L:null,minHeight:this.__nl?L:null};},_applyEnabled:function(N,M){qx.ui.core.Widget.prototype._applyEnabled.call(this,N,M);this._updateScrollBar();},_applyMaximum:function(O){this._updateScrollBar();},_applyPosition:function(P){var content=this.getContentElement();if(this.__nl){content.scrollToX(P);}else {content.scrollToY(P);};},_applyOrientation:function(S,Q){var R=this.__nl=S===x;this.set({allowGrowX:R,allowShrinkX:R,allowGrowY:!R,allowShrinkY:!R});if(R){this.replaceState(n,x);}else {this.replaceState(x,n);};this.getContentElement().setStyles({overflowX:R?F:k,overflowY:R?k:F});qx.ui.core.queue.Layout.add(this);},_updateScrollBar:function(){var U=this.__nl;var V=this.getBounds();if(!V){return;};if(this.isEnabled()){var W=U?V.width:V.height;var T=this.getMaximum()+W;}else {T=0;};if(qx.core.Environment.get(w)==v||qx.core.Environment.get(j)==z){var V=this.getBounds();this.getContentElement().setStyles({left:(U?V.left:(V.left-1))+b,top:(U?(V.top-1):V.top)+b,width:(U?V.width:V.width+1)+b,height:(U?V.height+1:V.height)+b});};this._getScrollPaneElement().setStyles({left:0,top:0,width:(U?T:1)+b,height:(U?1:T)+b});this.updatePosition(this.getPosition());},scrollTo:function(Y,X){this.stopScrollAnimation();if(X){var ba=this.getPosition();this.__nj=new qx.bom.AnimationFrame();this.__nj.on(d,function(bc){var bb=parseInt(bc/X*(Y-ba)+ba);this.updatePosition(bb);},this);this.__nj.on(f,function(){this.setPosition(Math.max(0,Math.min(this.getMaximum(),Y)));this.__nj=null;this.fireEvent(p);},this);this.__nj.startSequence(X);}else {this.updatePosition(Y);};},updatePosition:function(bd){this.setPosition(Math.max(0,Math.min(this.getMaximum(),bd)));},scrollBy:function(bf,be){this.scrollTo(this.getPosition()+bf,be);},scrollBySteps:function(bh,bg){var bi=this.getSingleStep();this.scrollBy(bh*bi,bg);},stopScrollAnimation:function(){if(this.__nj){this.__nj.cancelSequence();this.__nj=null;};},_onScroll:function(e){var bj=this.getContentElement();var bk=this.__nl?bj.getScrollX():bj.getScrollY();this.setPosition(bk);},_onAppear:function(e){this._applyPosition(this.getPosition());},_stopPropagation:function(e){e.stopPropagation();}},destruct:function(){this._disposeObjects(s);}});})();(function(){var a="mouse",b="scrollbar-y",c="qx.ui.core.scroll.MRoll",d="pointerdown",f="scrollbar-x",g="roll";qx.Mixin.define(c,{members:{__nq:null,_addRollHandling:function(){this.addListener(g,this._onRoll,this);this.addListener(d,this._onPointerDownForRoll,this);},_removeRollHandling:function(){this.removeListener(g,this._onRoll,this);this.removeListener(d,this._onPointerDownForRoll,this);},_onPointerDownForRoll:function(e){this.__nq=e.getPointerId();},_onRoll:function(e){if(e.getPointerType()==a){return;};if(this.__nq&&e.getMomentum()){qx.event.Registration.getManager(e.getOriginalTarget()).getHandler(qx.event.handler.Gesture).gestureCancel(this.__nq);e.stopMomentum();this.__nq=null;return;};this.__nq=null;var k=this._isChildControlVisible(f);var l=this._isChildControlVisible(b);var q=l?this.getChildControl(b,true):null;var p=k?this.getChildControl(f,true):null;var m=e.getDelta().y;var h=e.getDelta().x;var j=!l;var o=!k;if(q){if(m!==0){q.scrollBy(parseInt(m,10));};var n=q.getPosition();var i=q.getMaximum();if(m<0&&n<=0||m>0&&n>=i){j=true;};};if(p){if(h!==0){p.scrollBy(parseInt(h,10));};var n=p.getPosition();var i=p.getMaximum();if(h<0&&n<=0||h>0&&n>=i){o=true;};};if(o&&j){e.stopMomentum();};if((!j&&h===0)||(!o&&m===0)||((!o||!j)&&h!==0&&m!==0)){e.stop();};}}});})();(function(){var a="x",b="Float",c="qx.ui.core.MDragDropScrolling",d="",f="). Must be: 'left', 'right', 'top' or 'bottom'",g="bottom",h="interval",i="dragend",j="scrollbar-",k="drag",l="Invalid edge type given (",m="top",n="left",o="right",p="Integer",q="y";qx.Mixin.define(c,{construct:function(){var r=this;if(this instanceof qx.ui.core.DragDropScrolling){r=this._getWidget();};r.addListener(k,this.__nu,this);r.addListener(i,this.__nv,this);this.__nr=[n,o];this.__ns=[m,g];},properties:{dragScrollThresholdX:{check:p,init:30},dragScrollThresholdY:{check:p,init:30},dragScrollSlowDownFactor:{check:b,init:0.1}},members:{__nt:null,__nr:null,__ns:null,_findScrollableParent:function(s){var t=s;if(t===null){return null;};while(t.getLayoutParent()){t=t.getLayoutParent();if(this._isScrollable(t)){return t;};};return null;},_isScrollable:function(u){return qx.Class.hasMixin(u.constructor,qx.ui.core.scroll.MScrollBarFactory);},_getBounds:function(v){var w=v.getContentLocation();if(v.getScrollAreaContainer){w=v.getScrollAreaContainer().getContentLocation();};return w;},_getEdgeType:function(y,z,x){if((y.left*-1)<=z&&y.left<0){return n;}else if((y.top*-1)<=x&&y.top<0){return m;}else if(y.right<=z&&y.right>0){return o;}else if(y.bottom<=x&&y.bottom>0){return g;}else {return null;};},_getAxis:function(A){if(this.__nr.indexOf(A)!==-1){return a;}else if(this.__ns.indexOf(A)!==-1){return q;}else {throw new Error(l+A+f);};},_getThresholdByEdgeType:function(B){if(this.__nr.indexOf(B)!==-1){return this.getDragScrollThresholdX();}else if(this.__ns.indexOf(B)!==-1){return this.getDragScrollThresholdY();};},_isScrollbarVisible:function(C,D){if(C&&C._isChildControlVisible){return C._isChildControlVisible(j+D);}else {return false;};},_isScrollbarExceedingMaxPos:function(F,H,E){var G=0;if(!F){return true;};G=F.getPosition()+E;return (G>F.getMaximum()||G<0);},_calculateThresholdExceedance:function(J,I){var K=I-Math.abs(J);return J<0?(K*-1):K;},_calculateScrollAmount:function(L,M){return Math.floor(((L/100)*M)*this.getDragScrollSlowDownFactor());},_scrollBy:function(N,T,Q){var S=N.getChildControl(j+T,true);if(!S){return;};var P=S.getBounds(),O=T===a?P.width:P.height,R=this._calculateScrollAmount(O,Q);if(this._isScrollbarExceedingMaxPos(S,T,R)){this.__nt.stop();};S.scrollBy(R);},__nu:function(e){if(this.__nt){this.__nt.stop();};var W=e.getOriginalTarget();if(!W){return;};var U;if(this._isScrollable(W)){U=W;}else {U=this._findScrollableParent(W);};while(U){var Y=this._getBounds(U),V=e.getDocumentLeft(),ba=e.getDocumentTop(),bc={"left":Y.left-V,"right":Y.right-V,"top":Y.top-ba,"bottom":Y.bottom-ba},X=null,bd=d,bb=0;X=this._getEdgeType(bc,this.getDragScrollThresholdX(),this.getDragScrollThresholdY());if(!X){U=this._findScrollableParent(U);continue;};bd=this._getAxis(X);if(this._isScrollbarVisible(U,bd)){bb=this._calculateThresholdExceedance(bc[X],this._getThresholdByEdgeType(X));if(this.__nt){this.__nt.dispose();};this.__nt=new qx.event.Timer(50);this.__nt.addListener(h,function(be,bg,bf){this._scrollBy(be,bg,bf);}.bind(this,U,bd,bb));this.__nt.start();e.stopPropagation();return;}else {U=this._findScrollableParent(U);};};},__nv:function(e){if(this.__nt){this.__nt.stop();};}},destruct:function(){if(this.__nt){this.__nt.dispose();};}});})();(function(){var a="qx.ui.core.DragDropScrolling";qx.Class.define(a,{extend:qx.core.Object,include:[qx.ui.core.MDragDropScrolling],construct:function(b){qx.core.Object.call(this);this._widget=b;},members:{_widget:null,_getWidget:function(){return this._widget||qx.core.Init.getApplication().getRoot();}}});})();(function(){var a="scrollY",b="_computeScrollbars",c="X",d="scrollbar-y",f="scrollAnimation",g="scrollbarX",h="auto",i="End",j="corner",k="os.scrollBarOverlayed",l="scrollarea",m="changeVisibility",n="vertical",o="scrollX",p="scrollAnimationEnd",q="off",r="horizontal",s="scrollbar-x",t="Y",u='qx.event.type.Event',v="qx.ui.core.scroll.AbstractScrollArea",w="abstract",x="update",y="scrollbarY",z="pane",A="on",B="scroll";qx.Class.define(v,{extend:qx.ui.core.Widget,include:[qx.ui.core.scroll.MScrollBarFactory,qx.ui.core.scroll.MRoll,qx.ui.core.MDragDropScrolling],type:w,statics:{DEFAULT_SCROLLBAR_WIDTH:14},construct:function(){qx.ui.core.Widget.call(this);if(qx.core.Environment.get(k)){this._setLayout(new qx.ui.layout.Canvas());}else {var C=new qx.ui.layout.Grid();C.setColumnFlex(0,1);C.setRowFlex(0,1);this._setLayout(C);};this._addRollHandling();},events:{scrollAnimationXEnd:u,scrollAnimationYEnd:u},properties:{appearance:{refine:true,init:l},width:{refine:true,init:100},height:{refine:true,init:200},scrollbarX:{check:[h,A,q],init:h,themeable:true,apply:b},scrollbarY:{check:[h,A,q],init:h,themeable:true,apply:b},scrollbar:{group:[g,y]}},members:{_createChildControlImpl:function(F,E){var D;switch(F){case z:D=new qx.ui.core.scroll.ScrollPane();D.addListener(x,this._computeScrollbars,this);D.addListener(o,this._onScrollPaneX,this);D.addListener(a,this._onScrollPaneY,this);if(qx.core.Environment.get(k)){this._add(D,{edge:0});}else {this._add(D,{row:0,column:0});};break;case s:D=this._createScrollBar(r);D.setMinWidth(0);D.exclude();D.addListener(B,this._onScrollBarX,this);D.addListener(m,this._onChangeScrollbarXVisibility,this);D.addListener(p,this._onScrollAnimationEnd.bind(this,c));if(qx.core.Environment.get(k)){D.setMinHeight(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(D,{bottom:0,right:0,left:0});}else {this._add(D,{row:1,column:0});};break;case d:D=this._createScrollBar(n);D.setMinHeight(0);D.exclude();D.addListener(B,this._onScrollBarY,this);D.addListener(m,this._onChangeScrollbarYVisibility,this);D.addListener(p,this._onScrollAnimationEnd.bind(this,t));if(qx.core.Environment.get(k)){D.setMinWidth(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(D,{right:0,bottom:0,top:0});}else {this._add(D,{row:0,column:1});};break;case j:D=new qx.ui.core.Widget();D.setWidth(0);D.setHeight(0);D.exclude();if(!qx.core.Environment.get(k)){this._add(D,{row:1,column:1});};break;};return D||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,F);},getPaneSize:function(){return this.getChildControl(z).getInnerSize();},getItemTop:function(G){return this.getChildControl(z).getItemTop(G);},getItemBottom:function(H){return this.getChildControl(z).getItemBottom(H);},getItemLeft:function(I){return this.getChildControl(z).getItemLeft(I);},getItemRight:function(J){return this.getChildControl(z).getItemRight(J);},scrollToX:function(L,K){qx.ui.core.queue.Manager.flush();this.getChildControl(s).scrollTo(L,K);},scrollByX:function(N,M){qx.ui.core.queue.Manager.flush();this.getChildControl(s).scrollBy(N,M);},getScrollX:function(){var O=this.getChildControl(s,true);return O?O.getPosition():0;},scrollToY:function(Q,P){qx.ui.core.queue.Manager.flush();this.getChildControl(d).scrollTo(Q,P);},scrollByY:function(S,R){qx.ui.core.queue.Manager.flush();this.getChildControl(d).scrollBy(S,R);},getScrollY:function(){var T=this.getChildControl(d,true);return T?T.getPosition():0;},stopScrollAnimationX:function(){var U=this.getChildControl(s,true);if(U){U.stopScrollAnimation();};},stopScrollAnimationY:function(){var V=this.getChildControl(d,true);if(V){V.stopScrollAnimation();};},_onScrollAnimationEnd:function(W){this.fireEvent(f+W+i);},_onScrollBarX:function(e){this.getChildControl(z).scrollToX(e.getData());},_onScrollBarY:function(e){this.getChildControl(z).scrollToY(e.getData());},_onScrollPaneX:function(e){var X=this.getChildControl(s);if(X){X.updatePosition(e.getData());};},_onScrollPaneY:function(e){var Y=this.getChildControl(d);if(Y){Y.updatePosition(e.getData());};},_onChangeScrollbarXVisibility:function(e){var ba=this._isChildControlVisible(s);var bb=this._isChildControlVisible(d);if(!ba){this.scrollToX(0);};ba&&bb?this._showChildControl(j):this._excludeChildControl(j);},_onChangeScrollbarYVisibility:function(e){var bc=this._isChildControlVisible(s);var bd=this._isChildControlVisible(d);if(!bd){this.scrollToY(0);};bc&&bd?this._showChildControl(j):this._excludeChildControl(j);},_computeScrollbars:function(){var bk=this.getChildControl(z);var content=bk.getChildren()[0];if(!content){this._excludeChildControl(s);this._excludeChildControl(d);return;};var be=this.getInnerSize();var bj=bk.getInnerSize();var bh=bk.getScrollSize();if(!bj||!bh){return;};var bl=this.getScrollbarX();var bm=this.getScrollbarY();if(bl===h&&bm===h){var bi=bh.width>be.width;var bn=bh.height>be.height;if((bi||bn)&&!(bi&&bn)){if(bi){bn=bh.height>bj.height;}else if(bn){bi=bh.width>bj.width;};};}else {var bi=bl===A;var bn=bm===A;if(bh.width>(bi?bj.width:be.width)&&bl===h){bi=true;};if(bh.height>(bi?bj.height:be.height)&&bm===h){bn=true;};};if(bi){var bg=this.getChildControl(s);bg.show();bg.setMaximum(Math.max(0,bh.width-bj.width));bg.setKnobFactor((bh.width===0)?0:bj.width/bh.width);}else {this._excludeChildControl(s);};if(bn){var bf=this.getChildControl(d);bf.show();bf.setMaximum(Math.max(0,bh.height-bj.height));bf.setKnobFactor((bh.height===0)?0:bj.height/bh.height);}else {this._excludeChildControl(d);};}}});})();(function(){var a="' must be defined!",b="height",c="hAlign",d="vAlign",e="Integer",f="'",g="_applyLayoutChange",h="qx.ui.layout.Grid",m="maxHeight",n="Cannot add widget '",o="width",p=") for '",q="'!. ",r="top",s="minHeight",t="' in this cell (",u=", ",v="The layout properties 'row' and 'column' of the child widget '",w="minWidth",z="flex",A="left",B="maxWidth",C="There is already a widget '";qx.Class.define(h,{extend:qx.ui.layout.Abstract,construct:function(E,D){qx.ui.layout.Abstract.call(this);this.__nw=[];this.__nx=[];if(E){this.setSpacingX(E);};if(D){this.setSpacingY(D);};},properties:{spacingX:{check:e,init:0,apply:g},spacingY:{check:e,init:0,apply:g}},members:{__ny:null,__nw:null,__nx:null,__nz:null,__nA:null,__nB:null,__nC:null,__nD:null,__nE:null,verifyLayoutProperty:null,__nF:function(){var L=[];var G=[];var J=[];var I=-1;var F=-1;var K=this._getLayoutChildren();for(var i=0,l=K.length;i1){J.push(M);};if(N.colSpan>1){G.push(M);};};for(var y=0;y<=I;y++ ){if(L[y]==undefined){L[y]=[];};};this.__ny=L;this.__nz=G;this.__nA=J;this.__nB=I;this.__nC=F;this.__nD=null;this.__nE=null;delete this._invalidChildrenCache;},_setRowData:function(S,Q,R){var P=this.__nw[S];if(!P){this.__nw[S]={};this.__nw[S][Q]=R;}else {P[Q]=R;};},_setColumnData:function(T,V,W){var U=this.__nx[T];if(!U){this.__nx[T]={};this.__nx[T][V]=W;}else {U[V]=W;};},setSpacing:function(X){this.setSpacingY(X);this.setSpacingX(X);return this;},setColumnAlign:function(Y,ba,bb){{};this._setColumnData(Y,c,ba);this._setColumnData(Y,d,bb);this._applyLayoutChange();return this;},getColumnAlign:function(bc){var bd=this.__nx[bc]||{};return {vAlign:bd.vAlign||r,hAlign:bd.hAlign||A};},setRowAlign:function(bf,be,bg){{};this._setRowData(bf,c,be);this._setRowData(bf,d,bg);this._applyLayoutChange();return this;},getRowAlign:function(bi){var bh=this.__nw[bi]||{};return {vAlign:bh.vAlign||r,hAlign:bh.hAlign||A};},getCellWidget:function(bk,bj){if(this._invalidChildrenCache){this.__nF();};var bk=this.__ny[bk]||{};return bk[bj]||null;},getRowCount:function(){if(this._invalidChildrenCache){this.__nF();};return this.__nB+1;},getColumnCount:function(){if(this._invalidChildrenCache){this.__nF();};return this.__nC+1;},getCellAlign:function(bs,bm){var br=r;var bp=A;var bq=this.__nw[bs];var bn=this.__nx[bm];var bl=this.__ny[bs][bm];if(bl){var bo={vAlign:bl.getAlignY(),hAlign:bl.getAlignX()};}else {bo={};};if(bo.vAlign){br=bo.vAlign;}else if(bq&&bq.vAlign){br=bq.vAlign;}else if(bn&&bn.vAlign){br=bn.vAlign;};if(bo.hAlign){bp=bo.hAlign;}else if(bn&&bn.hAlign){bp=bn.hAlign;}else if(bq&&bq.hAlign){bp=bq.hAlign;};return {vAlign:br,hAlign:bp};},setColumnFlex:function(bt,bu){this._setColumnData(bt,z,bu);this._applyLayoutChange();return this;},getColumnFlex:function(bv){var bw=this.__nx[bv]||{};return bw.flex!==undefined?bw.flex:0;},setRowFlex:function(by,bx){this._setRowData(by,z,bx);this._applyLayoutChange();return this;},getRowFlex:function(bB){var bz=this.__nw[bB]||{};var bA=bz.flex!==undefined?bz.flex:0;return bA;},setColumnMaxWidth:function(bC,bD){this._setColumnData(bC,B,bD);this._applyLayoutChange();return this;},getColumnMaxWidth:function(bE){var bF=this.__nx[bE]||{};return bF.maxWidth!==undefined?bF.maxWidth:Infinity;},setColumnWidth:function(bG,bH){this._setColumnData(bG,o,bH);this._applyLayoutChange();return this;},getColumnWidth:function(bI){var bJ=this.__nx[bI]||{};return bJ.width!==undefined?bJ.width:null;},setColumnMinWidth:function(bK,bL){this._setColumnData(bK,w,bL);this._applyLayoutChange();return this;},getColumnMinWidth:function(bM){var bN=this.__nx[bM]||{};return bN.minWidth||0;},setRowMaxHeight:function(bP,bO){this._setRowData(bP,m,bO);this._applyLayoutChange();return this;},getRowMaxHeight:function(bR){var bQ=this.__nw[bR]||{};return bQ.maxHeight||Infinity;},setRowHeight:function(bS,bT){this._setRowData(bS,b,bT);this._applyLayoutChange();return this;},getRowHeight:function(bV){var bU=this.__nw[bV]||{};return bU.height!==undefined?bU.height:null;},setRowMinHeight:function(bX,bW){this._setRowData(bX,s,bW);this._applyLayoutChange();return this;},getRowMinHeight:function(ca){var bY=this.__nw[ca]||{};return bY.minHeight||0;},__nG:function(cc){var cb=cc.getSizeHint();var ce=cc.getMarginLeft()+cc.getMarginRight();var cd=cc.getMarginTop()+cc.getMarginBottom();var cf={height:cb.height+cd,width:cb.width+ce,minHeight:cb.minHeight+cd,minWidth:cb.minWidth+ce,maxHeight:cb.maxHeight+cd,maxWidth:cb.maxWidth+ce};return cf;},_fixHeightsRowSpan:function(cA){var cm=this.getSpacingY();for(var i=0,l=this.__nA.length;i0){cj[cn]={min:cw.minHeight,value:cw.height,max:cw.maxHeight,flex:cy};};cx+=cw.height;cg+=cw.minHeight;};if(cx0){cI[cJ]={min:cM.minWidth,value:cM.width,max:cM.maxWidth,flex:cL};};cN+=cM.width;cG+=cM.minWidth;};if(cN1){continue;};var cW=this.__nG(cP);if(this.getRowFlex(da)>0){cS=Math.max(cS,cW.minHeight);}else {cS=Math.max(cS,cW.height);};cU=Math.max(cU,cW.height);};var cS=Math.max(cS,this.getRowMinHeight(da));var cT=this.getRowMaxHeight(da);if(this.getRowHeight(da)!==null){var cU=this.getRowHeight(da);}else {var cU=Math.max(cS,Math.min(cU,cT));};cY[da]={minHeight:cS,height:cU,maxHeight:cT};};if(this.__nA.length>0){this._fixHeightsRowSpan(cY);};this.__nD=cY;return cY;},_getColWidths:function(){if(this.__nE!=null){return this.__nE;};var df=[];var dc=this.__nC;var de=this.__nB;for(var dk=0;dk<=dc;dk++ ){var di=0;var dh=0;var dd=Infinity;for(var dl=0;dl<=de;dl++ ){var db=this.__ny[dl][dk];if(!db){continue;};var dg=db.getLayoutProperties().colSpan||0;if(dg>1){continue;};var dj=this.__nG(db);if(this.getColumnFlex(dk)>0){dh=Math.max(dh,dj.minWidth);}else {dh=Math.max(dh,dj.width);};di=Math.max(di,dj.width);};dh=Math.max(dh,this.getColumnMinWidth(dk));dd=this.getColumnMaxWidth(dk);if(this.getColumnWidth(dk)!==null){var di=this.getColumnWidth(dk);}else {var di=Math.max(dh,Math.min(di,dd));};df[dk]={minWidth:dh,width:di,maxWidth:dd};};if(this.__nz.length>0){this._fixWidthsColSpan(df);};this.__nE=df;return df;},_getColumnFlexOffsets:function(dq){var dm=this.getSizeHint();var ds=dq-dm.width;if(ds==0){return {};};var dp=this._getColWidths();var dn={};for(var i=0,l=dp.length;i0)||(dt.width==dt.minWidth&&ds<0)){continue;};dn[i]={min:dt.minWidth,value:dt.width,max:dt.maxWidth,flex:dr};};return qx.ui.layout.Util.computeFlexOffsets(dn,dq,dm.width);},_getRowFlexOffsets:function(dw){var du=this.getSizeHint();var dy=dw-du.height;if(dy==0){return {};};var dx=this._getRowHeights();var dv={};for(var i=0,l=dx.length;i0)||(dA.height==dA.minHeight&&dy<0)){continue;};dv[i]={min:dA.minHeight,value:dA.height,max:dA.maxHeight,flex:dz};};return qx.ui.layout.Util.computeFlexOffsets(dv,dw,du.height);},renderLayout:function(dV,dB,dU){if(this._invalidChildrenCache){this.__nF();};var dP=qx.ui.layout.Util;var dD=this.getSpacingX();var dJ=this.getSpacingY();var dT=this._getColWidths();var dW=this._getColumnFlexOffsets(dV);var dE=[];var dY=this.__nC;var dC=this.__nB;var dX;for(var ea=0;ea<=dY;ea++ ){dX=dW[ea]?dW[ea].offset:0;dE[ea]=dT[ea].width+dX;};var dM=this._getRowHeights();var dO=this._getRowFlexOffsets(dB);var eg=[];for(var dK=0;dK<=dC;dK++ ){dX=dO[dK]?dO[dK].offset:0;eg[dK]=dM[dK].height+dX;};var ee=0;for(var ea=0;ea<=dY;ea++ ){var top=0;for(var dK=0;dK<=dC;dK++ ){var dR=this.__ny[dK][ea];if(!dR){top+=eg[dK]+dJ;continue;};var dF=dR.getLayoutProperties();if(dF.row!==dK||dF.column!==ea){top+=eg[dK]+dJ;continue;};var ef=dD*(dF.colSpan-1);for(var i=0;i0){ei+=ep.minWidth;}else {ei+=ep.width;};eq+=ep.width;};var er=this._getRowHeights();var el=0,em=0;for(var i=0,l=er.length;i0){el+=es.minHeight;}else {el+=es.height;};em+=es.height;};var eo=this.getSpacingX()*(ek.length-1);var en=this.getSpacingY()*(er.length-1);var ej={minWidth:ei+eo,width:eq+eo,minHeight:el+en,height:em+en};return ej;}},destruct:function(){this.__ny=this.__nw=this.__nx=this.__nz=this.__nA=this.__nE=this.__nD=null;}});})();(function(){var a="resize",b="scrollY",c="scrollAnimationEnd",d="update",f="scrollX",g="_applyScrollX",h="_applyScrollY",i="frame",j="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxX()",k="appear",l="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxY()",m="qx.event.type.Event",n="qx.ui.core.scroll.ScrollPane",o="end",p="scroll";qx.Class.define(n,{extend:qx.ui.core.Widget,construct:function(){qx.ui.core.Widget.call(this);this.set({minWidth:0,minHeight:0});this._setLayout(new qx.ui.layout.Grow());this.addListener(a,this._onUpdate);var q=this.getContentElement();q.addListener(p,this._onScroll,this);q.addListener(k,this._onAppear,this);},events:{update:m,scrollAnimationEnd:m},properties:{scrollX:{check:j,apply:g,event:f,init:0},scrollY:{check:l,apply:h,event:b,init:0}},members:{__nH:null,add:function(r){var s=this._getChildren()[0];if(s){this._remove(s);s.removeListener(a,this._onUpdate,this);};if(r){this._add(r);r.addListener(a,this._onUpdate,this);};},remove:function(t){if(t){this._remove(t);t.removeListener(a,this._onUpdate,this);};},getChildren:function(){return this._getChildren();},_onUpdate:function(e){this.fireEvent(d);},_onScroll:function(e){var u=this.getContentElement();this.setScrollX(u.getScrollX());this.setScrollY(u.getScrollY());},_onAppear:function(e){var z=this.getContentElement();var v=this.getScrollX();var A=z.getScrollX();if(v!=A){z.scrollToX(v);};var w=this.getScrollY();var B=z.getScrollY();if(w!=B){z.scrollToY(w);};},getItemTop:function(C){var top=0;do {top+=C.getBounds().top;C=C.getLayoutParent();}while(C&&C!==this);return top;},getItemBottom:function(D){return this.getItemTop(D)+D.getBounds().height;},getItemLeft:function(E){var F=0;var parent;do {F+=E.getBounds().left;parent=E.getLayoutParent();if(parent){F+=parent.getInsets().left;};E=parent;}while(E&&E!==this);return F;},getItemRight:function(G){return this.getItemLeft(G)+G.getBounds().width;},getScrollSize:function(){return this.getChildren()[0].getBounds();},getScrollMaxX:function(){var I=this.getInnerSize();var H=this.getScrollSize();if(I&&H){return Math.max(0,H.width-I.width);};return 0;},getScrollMaxY:function(){var K=this.getInnerSize();var J=this.getScrollSize();if(K&&J){return Math.max(0,J.height-K.height);};return 0;},scrollToX:function(O,L){var M=this.getScrollMaxX();if(O<0){O=0;}else if(O>M){O=M;};this.stopScrollAnimation();if(L){var N=this.getScrollX();this.__nH=new qx.bom.AnimationFrame();this.__nH.on(o,function(){this.setScrollX(O);this.__nH=null;this.fireEvent(c);},this);this.__nH.on(i,function(Q){var P=parseInt(Q/L*(O-N)+N);this.setScrollX(P);},this);this.__nH.startSequence(L);}else {this.setScrollX(O);};},scrollToY:function(U,R){var S=this.getScrollMaxY();if(U<0){U=0;}else if(U>S){U=S;};this.stopScrollAnimation();if(R){var T=this.getScrollY();this.__nH=new qx.bom.AnimationFrame();this.__nH.on(o,function(){this.setScrollY(U);this.__nH=null;this.fireEvent(c);},this);this.__nH.on(i,function(W){var V=parseInt(W/R*(U-T)+T);this.setScrollY(V);},this);this.__nH.startSequence(R);}else {this.setScrollY(U);};},scrollByX:function(x,X){this.scrollToX(this.getScrollX()+x,X);},scrollByY:function(y,Y){this.scrollToY(this.getScrollY()+y,Y);},stopScrollAnimation:function(){if(this.__nH){this.__nH.cancelSequence();this.__nH=null;};},_applyScrollX:function(ba){this.getContentElement().scrollToX(ba);},_applyScrollY:function(bb){this.getContentElement().scrollToY(bb);}}});})();(function(){var a="qx.ui.layout.Grow";qx.Class.define(a,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(b,c,e){var h=this._getLayoutChildren();var g,j,f,d;for(var i=0,l=h.length;ij.maxWidth){f=j.maxWidth;};d=c;if(dj.maxHeight){d=j.maxHeight;};g.renderLayout(e.left,e.top,f,d);};},_computeSizeHint:function(){var r=this._getLayoutChildren();var p,t;var s=0,q=0;var o=0,m=0;var k=Infinity,n=Infinity;for(var i=0,l=r.length;i7){return true;};if(qx.core.Environment.get(l)==g){return true;};if(qx.core.Environment.get(b)==f){var r=qx.core.Environment.get(a);var q=r.split(k);if(q[0]>4||(q.length>1&&q[0]>3&&q[1]>3)){return true;};};if(qx.core.Environment.get(e)){return true;};return false;}},defer:function(s){qx.core.Environment.add(h,s.scrollBarOverlayed);qx.core.Environment.add(c,s.getNativeScroll);}});})();(function(){var a="resetPaddingRight",b="setPaddingTop",c="_applyContentPadding",d="setPaddingBottom",e="resetThemed",f="contentPaddingRight",g="Integer",h="contentPaddingLeft",i="setThemedPaddingLeft",j="resetPaddingTop",k="shorthand",l="setThemedPaddingRight",m="setThemed",n="setPaddingRight",o="contentPaddingBottom",p="resetPaddingBottom",q="qx.ui.core.MContentPadding",r="resetPaddingLeft",s="setThemedPaddingTop",t="setPaddingLeft",u="setThemedPaddingBottom",v="contentPaddingTop";qx.Mixin.define(q,{properties:{contentPaddingTop:{check:g,init:0,apply:c,themeable:true},contentPaddingRight:{check:g,init:0,apply:c,themeable:true},contentPaddingBottom:{check:g,init:0,apply:c,themeable:true},contentPaddingLeft:{check:g,init:0,apply:c,themeable:true},contentPadding:{group:[v,f,o,h],mode:k,themeable:true}},members:{__nI:{contentPaddingTop:b,contentPaddingRight:n,contentPaddingBottom:d,contentPaddingLeft:t},__nJ:{contentPaddingTop:s,contentPaddingRight:l,contentPaddingBottom:u,contentPaddingLeft:i},__nK:{contentPaddingTop:j,contentPaddingRight:a,contentPaddingBottom:p,contentPaddingLeft:r},_applyContentPadding:function(z,w,name,y){var A=this._getContentPaddingTarget();if(z==null){var x=this.__nK[name];A[x]();}else {if(y==m||y==e){var B=this.__nJ[name];A[B](z);}else {var B=this.__nI[name];A[B](z);};};}}});})();(function(){var a="qx.ui.container.Scroll",b="pane";qx.Class.define(a,{extend:qx.ui.core.scroll.AbstractScrollArea,include:[qx.ui.core.MContentPadding],construct:function(content){qx.ui.core.scroll.AbstractScrollArea.call(this);if(content){this.add(content);};},members:{add:function(c){this.getChildControl(b).add(c);},remove:function(d){this.getChildControl(b).remove(d);},getChildren:function(){return this.getChildControl(b).getChildren();},_getContentPaddingTarget:function(){return this.getChildControl(b);}}});})();(function(){var a="qx.ui.core.MRemoteLayoutHandling";qx.Mixin.define(a,{members:{setLayout:function(b){this.getChildrenContainer().setLayout(b);},getLayout:function(){return this.getChildrenContainer().getLayout();}}});})();(function(){var a="indexOf",b="addAfter",c="add",d="addBefore",e="_",f="addAt",g="hasChildren",h="removeAt",i="removeAll",j="getChildren",k="remove",l="qx.ui.core.MRemoteChildrenHandling";qx.Mixin.define(l,{members:{__nL:function(q,m,o,n){var p=this.getChildrenContainer();if(p===this){q=e+q;};return (p[q])(m,o,n);},getChildren:function(){return this.__nL(j);},hasChildren:function(){return this.__nL(g);},add:function(s,r){return this.__nL(c,s,r);},remove:function(t){return this.__nL(k,t);},removeAll:function(){return this.__nL(i);},indexOf:function(u){return this.__nL(a,u);},addAt:function(x,v,w){this.__nL(f,x,v,w);},addBefore:function(y,A,z){this.__nL(d,y,A,z);},addAfter:function(D,B,C){this.__nL(b,D,B,C);},removeAt:function(E){return this.__nL(h,E);}}});})();(function(){var a="qx.ui.container.SlideBar",b="scrollY",c="button-backward",d="horizontal",f="update",g="scrollX",h="_applyOrientation",i="button-forward",j="scrollAnimationEnd",k="content",l="mouse",m="qx.event.type.Event",n="scrollpane",o="vertical",p="Integer",q="slidebar",r="roll",s="execute";qx.Class.define(a,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling],construct:function(t){qx.ui.core.Widget.call(this);var u=this.getChildControl(n);this._add(u,{flex:1});if(t!=null){this.setOrientation(t);}else {this.initOrientation();};this.addListener(r,this._onRoll,this);},properties:{appearance:{refine:true,init:q},orientation:{check:[d,o],init:d,apply:h},scrollStep:{check:p,init:15,themeable:true}},events:{scrollAnimationEnd:m},members:{getChildrenContainer:function(){return this.getChildControl(k);},_createChildControlImpl:function(x,w){var v;switch(x){case i:v=new qx.ui.form.RepeatButton;v.addListener(s,this._onExecuteForward,this);v.setFocusable(false);this._addAt(v,2);break;case c:v=new qx.ui.form.RepeatButton;v.addListener(s,this._onExecuteBackward,this);v.setFocusable(false);this._addAt(v,0);break;case k:v=new qx.ui.container.Composite();this.getChildControl(n).add(v);break;case n:v=new qx.ui.core.scroll.ScrollPane();v.addListener(f,this._onResize,this);v.addListener(g,this._onScroll,this);v.addListener(b,this._onScroll,this);v.addListener(j,this._onScrollAnimationEnd,this);break;};return v||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,x);},_forwardStates:{barLeft:true,barTop:true,barRight:true,barBottom:true},scrollBy:function(A,y){var z=this.getChildControl(n);if(this.getOrientation()===d){z.scrollByX(A,y);}else {z.scrollByY(A,y);};},scrollTo:function(C,B){var D=this.getChildControl(n);if(this.getOrientation()===d){D.scrollToX(C,B);}else {D.scrollToY(C,B);};},_applyEnabled:function(F,E,name){qx.ui.core.Widget.prototype._applyEnabled.call(this,F,E,name);this._updateArrowsEnabled();},_applyOrientation:function(J,H){var I=[this.getLayout(),this._getLayout()];var K=this.getChildControl(i);var G=this.getChildControl(c);if(H==o&&J==d){K.removeState(o);G.removeState(o);K.addState(d);G.addState(d);}else if(H==d&&J==o){K.removeState(d);G.removeState(d);K.addState(o);G.addState(o);};if(J==d){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(I[0]){I[0].dispose();};if(I[1]){I[1].dispose();};},_onRoll:function(e){if(e.getPointerType()==l){return;};var O=0;var N=this.getChildControl(n);if(this.getOrientation()===d){O=e.getDelta().x;var P=N.getScrollX();var L=N.getScrollMaxX();var M=parseInt(O);if(!(M<0&&P<=0||M>0&&P>=L||O==0)){e.stop();}else {e.stopMomentum();};}else {O=e.getDelta().y;var P=N.getScrollY();var L=N.getScrollMaxY();var M=parseInt(O);if(!(M<0&&P<=0||M>0&&P>=L||O==0)){e.stop();}else {e.stopMomentum();};};this.scrollBy(parseInt(O,10));if(e.getMomentum()){e.stop();};},_onScroll:function(){this._updateArrowsEnabled();},_onScrollAnimationEnd:function(){this.fireEvent(j);},_onResize:function(e){var content=this.getChildControl(n).getChildren()[0];if(!content){return;};var Q=this.getInnerSize();var S=content.getBounds();var R=(this.getOrientation()===d)?S.width>Q.width:S.height>Q.height;if(R){this._showArrows();this._updateArrowsEnabled();}else {this._hideArrows();};},_onExecuteBackward:function(){this.scrollBy(-this.getScrollStep());},_onExecuteForward:function(){this.scrollBy(this.getScrollStep());},_updateArrowsEnabled:function(){if(!this.getEnabled()){this.getChildControl(c).setEnabled(false);this.getChildControl(i).setEnabled(false);return;};var U=this.getChildControl(n);if(this.getOrientation()===d){var T=U.getScrollX();var V=U.getScrollMaxX();}else {var T=U.getScrollY();var V=U.getScrollMaxY();};this.getChildControl(c).setEnabled(T>0);this.getChildControl(i).setEnabled(T=0;i-- ){if(!s[i].getEnabled()){s.splice(i,1);};};};return s;},__nP:function(u,t){if(!u){this.__nQ(this.__nO);};},__nQ:function(v){var y=this.__nO;var w=v;if(w!=null&&y===w){return;};if(!this.isAllowEmptySelection()&&w==null){var x=this.getSelectables(true)[0];if(x){w=x;};};this.__nO=w;this.fireDataEvent(k,w,y);},__nR:function(z){var A=this.__nN.getItems();for(var i=0;i0&&X!=-1){X=bb.search(/[-+]+/);a.push((bb.length==1||X==-1)?bb:bb.substring(0,X));bb=bb.substring(X+1);};var ba=a.length;for(var i=0;i=Q&&bg<=R){return bg.toUpperCase();};bg=bg.toLowerCase();var bh=this.__AR[bg]||qx.lang.String.firstUp(bg);if(bf.isValidKeyIdentifier(bh)){return bh;}else {return z;};},toString:function(){var bj=this.__AO;var bk=[];for(var bi in this.__AN){if(this.__AN[bi]){bk.push(qx.locale.Key.getKeyName(m,bi));};};if(bj){bk.push(qx.locale.Key.getKeyName(m,bj));};return bk.join(g);}},destruct:function(){this.setEnabled(false);this.__AN=this.__AO=null;}});})();(function(){var a="Escape",b="key_full_Meta",c="PrintScreen",d="NumLock",e="Left",f="Meta",g="key_short_Alt",h="key_short_Control_Mac",i="key_short_Insert",j="Del",k="Pause",l="End",m="key_full_Enter",n="key_full_Control",o="qx.locale.Key",p="Tabulator",q="key_full_Space",r="key_short_Meta",s="key_short_PageUp",t="key_short_Pause",u="key_full_Down",v="key_short_Apps",w="key_short_Win",x="key_full_Right",y="os.name",z="key_short_Up",A="key_full_PageDown",B="key_full_Alt",C="PgDn",D="Down",E="Esc",F="key_full_Insert",G="osx",H="Ctrl",I="key_short_Space",J="key_short_Backspace",K="key_short_Home",L="key_short_Down",M="Home",N="Apps",O="PgUp",P="Win",Q="_Mac",R="key_short_CapsLock",S="Right",T="Backspace",U="PageUp",V="key_full_Up",W="Space",X="key_full_Home",Y="Up",bX="key_full_Backspace",bY="PageDown",ca="CapsLock",bT="Ins",bU="Control",bV="key_short_PrintScreen",bW="Tab",cf="Shift",cg="key_full_Apps",ch="key_short_Tab",ci="key_short_End",cb="_",cc="Caps",cd="key_short_NumLock",ce="Num",cm="key_full_Scroll",cH="key_short_Left",cI="key_short_Scroll",cn="key_",cj="key_full_Pause",ck="Enter",cK="key_short_Right",cl="key_full_PrintScreen",co="key_full_Win",cp="key_full_Control_Mac",cq="key_short_Shift",cu="key_short_PageDown",cL="key_short_Enter",cv="key_short_Control",cr="Insert",cs="key_short_Escape",cJ="Scroll",ct="key_full_Tab",cz="Print",cA="Delete",cB="key_full_CapsLock",cC="key_full_Escape",cw="key_short_Delete",cx="key_full_PageUp",cM="key_full_Shift",cy="Alt",cD="key_full_NumLock",cE="key_full_Delete",cF="key_full_End",cG="key_full_Left";qx.Class.define(o,{statics:{getKeyName:function(cR,cO,cN){{};var cQ=cn+cR+cb+cO;if(qx.core.Environment.get(y)==G&&cO==bU){cQ+=Q;};var cP=qx.locale.Manager.getInstance().translate(cQ,[],cN);if(cP==cQ){return qx.locale.Key._keyNames[cQ]||cO;}else {return cP;};}},defer:function(cS){var cU={};var cT=qx.locale.Manager;cU[cT.marktr(J)]=T;cU[cT.marktr(ch)]=bW;cU[cT.marktr(I)]=W;cU[cT.marktr(cL)]=ck;cU[cT.marktr(cq)]=cf;cU[cT.marktr(cv)]=H;cU[cT.marktr(h)]=H;cU[cT.marktr(g)]=cy;cU[cT.marktr(R)]=cc;cU[cT.marktr(r)]=f;cU[cT.marktr(cs)]=E;cU[cT.marktr(cH)]=e;cU[cT.marktr(z)]=Y;cU[cT.marktr(cK)]=S;cU[cT.marktr(L)]=D;cU[cT.marktr(s)]=O;cU[cT.marktr(cu)]=C;cU[cT.marktr(ci)]=l;cU[cT.marktr(K)]=M;cU[cT.marktr(i)]=bT;cU[cT.marktr(cw)]=j;cU[cT.marktr(cd)]=ce;cU[cT.marktr(bV)]=cz;cU[cT.marktr(cI)]=cJ;cU[cT.marktr(t)]=k;cU[cT.marktr(w)]=P;cU[cT.marktr(v)]=N;cU[cT.marktr(bX)]=T;cU[cT.marktr(ct)]=p;cU[cT.marktr(q)]=W;cU[cT.marktr(m)]=ck;cU[cT.marktr(cM)]=cf;cU[cT.marktr(n)]=bU;cU[cT.marktr(cp)]=bU;cU[cT.marktr(B)]=cy;cU[cT.marktr(cB)]=ca;cU[cT.marktr(b)]=f;cU[cT.marktr(cC)]=a;cU[cT.marktr(cG)]=e;cU[cT.marktr(V)]=Y;cU[cT.marktr(x)]=S;cU[cT.marktr(u)]=D;cU[cT.marktr(cx)]=U;cU[cT.marktr(A)]=bY;cU[cT.marktr(cF)]=l;cU[cT.marktr(X)]=M;cU[cT.marktr(F)]=cr;cU[cT.marktr(cE)]=cA;cU[cT.marktr(cD)]=d;cU[cT.marktr(cl)]=c;cU[cT.marktr(cm)]=cJ;cU[cT.marktr(cj)]=k;cU[cT.marktr(co)]=P;cU[cT.marktr(cg)]=N;cS._keyNames=cU;}});})();(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 a="pointerup",b="__nV",c="Boolean",d="losecapture",f="move",g="qx.ui.core.MMovable",h="__nU",i="The move handle could not be redefined!",j="pointerdown",k="maximized",l="pointermove",m="roll",n="move-frame";qx.Mixin.define(g,{properties:{movable:{check:c,init:true},useMoveFrame:{check:c,init:false}},members:{__nU:null,__nV:null,__nW:null,__nX:null,__nY:null,__oa:null,__ob:null,__oc:false,__od:null,__oe:0,_activateMoveHandle:function(o){if(this.__nU){throw new Error(i);};this.__nU=o;o.addListener(j,this._onMovePointerDown,this);o.addListener(a,this._onMovePointerUp,this);o.addListener(l,this._onMovePointerMove,this);o.addListener(d,this.__oi,this);},__of:function(){var p=this.__nV;if(!p){p=this.__nV=new qx.ui.core.Widget();p.setAppearance(n);p.exclude();qx.core.Init.getApplication().getRoot().add(p);};return p;},__og:function(){var location=this.getContentLocation();var r=this.getBounds();var q=this.__of();q.setUserBounds(location.left,location.top,r.width,r.height);q.show();q.setZIndex(this.getZIndex()+1);},__oh:function(e){var t=this.__nW;var s=Math.max(t.left,Math.min(t.right,e.getDocumentLeft()));var v=Math.max(t.top,Math.min(t.bottom,e.getDocumentTop()));var u=this.__nX+s;var w=this.__nY+v;return {viewportLeft:parseInt(u,10),viewportTop:parseInt(w,10),parentLeft:parseInt(u-this.__oa,10),parentTop:parseInt(w-this.__ob,10)};},_onMoveRoll:function(e){e.stop();},_onMovePointerDown:function(e){if(!this.getMovable()||this.hasState(k)){return;};this.addListener(m,this._onMoveRoll,this);var parent=this.getLayoutParent();var x=parent.getContentLocation();var z=parent.getBounds();if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(!parent.isBlocked()){this.__od=parent.getBlockerColor();this.__oe=parent.getBlockerOpacity();parent.setBlockerColor(null);parent.setBlockerOpacity(1);parent.blockContent(this.getZIndex()-1);this.__oc=true;};};this.__nW={left:x.left,top:x.top,right:x.left+z.width,bottom:x.top+z.height};var y=this.getContentLocation();this.__oa=x.left;this.__ob=x.top;this.__nX=y.left-e.getDocumentLeft();this.__nY=y.top-e.getDocumentTop();this.addState(f);this.__nU.capture();if(this.getUseMoveFrame()){this.__og();};e.stop();},_onMovePointerMove:function(e){if(!this.hasState(f)){return;};var B=this.__oh(e);if(this.getUseMoveFrame()){this.__of().setDomPosition(B.viewportLeft,B.viewportTop);}else {var A=this.getLayoutParent().getInsets();this.setDomPosition(B.parentLeft-(A.left||0),B.parentTop-(A.top||0));};e.stopPropagation();},_onMovePointerUp:function(e){if(this.hasListener(m)){this.removeListener(m,this._onMoveRoll,this);};if(!this.hasState(f)){return;};this.removeState(f);var parent=this.getLayoutParent();if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(this.__oc){parent.unblock();parent.setBlockerColor(this.__od);parent.setBlockerOpacity(this.__oe);this.__od=null;this.__oe=0;this.__oc=false;};};this.__nU.releaseCapture();var D=this.__oh(e);var C=this.getLayoutParent().getInsets();this.setLayoutProperties({left:D.parentLeft-(C.left||0),top:D.parentTop-(C.top||0)});if(this.getUseMoveFrame()){this.__of().exclude();};e.stopPropagation();},__oi:function(e){if(!this.hasState(f)){return;};this.removeState(f);if(this.getUseMoveFrame()){this.__of().exclude();};}},destruct:function(){this._disposeObjects(b,h);this.__nW=null;}});})();(function(){var a="qx.ui.window.IDesktop";qx.Interface.define(a,{members:{setWindowManager:function(b){this.assertInterface(b,qx.ui.window.IWindowManager);},getWindows:function(){},supportsMaximize:function(){},blockContent:function(c){this.assertInteger(c);},unblock:function(){},isBlocked:function(){}}});})();(function(){var a="qx.ui.window.IWindowManager";qx.Interface.define(a,{members:{setDesktop:function(b){this.assertInterface(b,qx.ui.window.IDesktop);},changeActiveWindow:function(c,d){},updateStack:function(){},bringToFront:function(e){this.assertInstance(e,qx.ui.window.Window);},sendToBack:function(f){this.assertInstance(f,qx.ui.window.Window);}}});})();(function(){var a="qx.ui.window.Manager",b="__oj";qx.Class.define(a,{extend:qx.core.Object,implement:qx.ui.window.IWindowManager,members:{__oj:null,setDesktop:function(c){this.__oj=c;this.updateStack();},getDesktop:function(){return this.__oj;},changeActiveWindow:function(d,e){if(d){this.bringToFront(d);d.setActive(true);};if(e){e.resetActive();};},_minZIndex:1e5,updateStack:function(){qx.ui.core.queue.Widget.add(this);},syncWidget:function(){this.__oj.forceUnblock();var h=this.__oj.getWindows();var g=this._minZIndex;var m=g+h.length*2;var j=g+h.length*4;var k=null;for(var i=0,l=h.length;ik.getZIndex()){k=f;};};this.__oj.setActiveWindow(k);},bringToFront:function(o){var n=this.__oj.getWindows();var p=qx.lang.Array.remove(n,o);if(p){n.push(o);this.updateStack();};},sendToBack:function(r){var q=this.__oj.getWindows();var s=qx.lang.Array.remove(q,r);if(s){q.unshift(r);this.updateStack();};}},destruct:function(){this._disposeObjects(b);}});})();(function(){var a="beforeClose",b="beforeMinimize",c="Boolean",d="window-resize-frame",f="changeStatus",g="changeIcon",h="excluded",i="_applyModal",j="execute",k="restore-button",l="_applyActive",m="minimize-button",n="qx.event.type.Event",o="close-button",p="beforeRestore",q="statusbar",r="captionbar",s="String",t="minimize",u="dbltap",v="modal",w="changeModal",x="title",y="icon",z="showStatusbar",A="changeAlwaysOnTop",B="_applyShowStatusbar",C="pointerdown",D="maximized",E="_applyStatus",F="qx.ui.window.Window",G="normal",H="changeCaption",I="engine.name",J="statusbar-text",K="focusout",L="beforeMaximize",M="maximize",N="maximize-button",O="restore",P="window",Q="pane",R="close",S="changeActive",T="mshtml",U="_applyCaptionBarChange",V="active",W="minimized";qx.Class.define(F,{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(X,Y){qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.VBox());this._createChildControl(r);this._createChildControl(Q);if(Y!=null){this.setIcon(Y);};if(X!=null){this.setCaption(X);};this._updateCaptionBar();this.addListener(C,this._onWindowPointerDown,this,true);this.addListener(K,this._onWindowFocusOut,this);qx.core.Init.getApplication().getRoot().add(this);this.initVisibility();qx.ui.core.FocusHandler.getInstance().addRoot(this);this._getResizeFrame().setAppearance(d);},statics:{DEFAULT_MANAGER_CLASS:qx.ui.window.Manager},events:{"beforeClose":n,"close":n,"beforeMinimize":n,"minimize":n,"beforeMaximize":n,"maximize":n,"beforeRestore":n,"restore":n},properties:{appearance:{refine:true,init:P},visibility:{refine:true,init:h},focusable:{refine:true,init:true},active:{check:c,init:false,apply:l,event:S},alwaysOnTop:{check:c,init:false,event:A},modal:{check:c,init:false,event:w,apply:i},caption:{apply:U,event:H,nullable:true},icon:{check:s,nullable:true,apply:U,event:g,themeable:true},status:{check:s,nullable:true,apply:E,event:f},showClose:{check:c,init:true,apply:U,themeable:true},showMaximize:{check:c,init:true,apply:U,themeable:true},showMinimize:{check:c,init:true,apply:U,themeable:true},allowClose:{check:c,init:true,apply:U},allowMaximize:{check:c,init:true,apply:U},allowMinimize:{check:c,init:true,apply:U},showStatusbar:{check:c,init:false,apply:B}},members:{__ok:null,__ol:null,getChildrenContainer:function(){return this.getChildControl(Q);},_forwardStates:{active:true,maximized:true,showStatusbar:true,modal:true},setLayoutParent:function(parent){{};qx.ui.core.Widget.prototype.setLayoutParent.call(this,parent);},_createChildControlImpl:function(be,bd){var ba;switch(be){case q:ba=new qx.ui.container.Composite(new qx.ui.layout.HBox());this._add(ba);ba.add(this.getChildControl(J));break;case J:ba=new qx.ui.basic.Label();ba.setValue(this.getStatus());break;case Q:ba=new qx.ui.container.Composite();this._add(ba,{flex:1});break;case r:var bb=new qx.ui.layout.Grid();bb.setRowFlex(0,1);bb.setColumnFlex(1,1);ba=new qx.ui.container.Composite(bb);this._add(ba);ba.addListener(u,this._onCaptionPointerDblTap,this);this._activateMoveHandle(ba);break;case y:ba=new qx.ui.basic.Image(this.getIcon());this.getChildControl(r).add(ba,{row:0,column:0});break;case x:ba=new qx.ui.basic.Label(this.getCaption());ba.setWidth(0);ba.setAllowGrowX(true);var bc=this.getChildControl(r);bc.add(ba,{row:0,column:1});break;case m:ba=new qx.ui.form.Button();ba.setFocusable(false);ba.addListener(j,this._onMinimizeButtonTap,this);this.getChildControl(r).add(ba,{row:0,column:2});break;case k:ba=new qx.ui.form.Button();ba.setFocusable(false);ba.addListener(j,this._onRestoreButtonTap,this);this.getChildControl(r).add(ba,{row:0,column:3});break;case N:ba=new qx.ui.form.Button();ba.setFocusable(false);ba.addListener(j,this._onMaximizeButtonTap,this);this.getChildControl(r).add(ba,{row:0,column:4});break;case o:ba=new qx.ui.form.Button();ba.setFocusable(false);ba.addListener(j,this._onCloseButtonTap,this);this.getChildControl(r).add(ba,{row:0,column:6});break;};return ba||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,be);},_updateCaptionBar:function(){var bg;var bh=this.getIcon();if(bh){this.getChildControl(y).setSource(bh);this._showChildControl(y);}else {this._excludeChildControl(y);};var bf=this.getCaption();if(bf){this.getChildControl(x).setValue(bf);this._showChildControl(x);}else {this._excludeChildControl(x);};if(this.getShowMinimize()){this._showChildControl(m);bg=this.getChildControl(m);this.getAllowMinimize()?bg.resetEnabled():bg.setEnabled(false);}else {this._excludeChildControl(m);};if(this.getShowMaximize()){if(this.isMaximized()){this._showChildControl(k);this._excludeChildControl(N);}else {this._showChildControl(N);this._excludeChildControl(k);};bg=this.getChildControl(N);this.getAllowMaximize()?bg.resetEnabled():bg.setEnabled(false);}else {this._excludeChildControl(N);this._excludeChildControl(k);};if(this.getShowClose()){this._showChildControl(o);bg=this.getChildControl(o);this.getAllowClose()?bg.resetEnabled():bg.setEnabled(false);}else {this._excludeChildControl(o);};},close:function(){if(!this.isVisible()){return;};if(this.fireNonBubblingEvent(a,qx.event.type.Event,[false,true])){this.hide();this.fireEvent(R);};},open:function(){this.show();this.setActive(true);this.focus();},center:function(){var parent=this.getLayoutParent();if(parent){var bj=parent.getBounds();if(bj){var bk=this.getSizeHint();var bi=Math.round((bj.width-bk.width)/2);var top=Math.round((bj.height-bk.height)/2);if(top<0){top=0;};this.moveTo(bi,top);return;};};{};},maximize:function(){if(this.isMaximized()){return;};var parent=this.getLayoutParent();if(parent!=null&&parent.supportsMaximize()){if(this.fireNonBubblingEvent(L,qx.event.type.Event,[false,true])){if(!this.isVisible()){this.open();};var bl=this.getLayoutProperties();this.__ol=bl.left===undefined?0:bl.left;this.__ok=bl.top===undefined?0:bl.top;this.setLayoutProperties({left:null,top:null,edge:0});this.addState(D);this._updateCaptionBar();this.fireEvent(M);};};},minimize:function(){if(!this.isVisible()){return;};if(this.fireNonBubblingEvent(b,qx.event.type.Event,[false,true])){var bm=this.getLayoutProperties();this.__ol=bm.left===undefined?0:bm.left;this.__ok=bm.top===undefined?0:bm.top;this.removeState(D);this.hide();this.fireEvent(t);};},restore:function(){if(this.getMode()===G){return;};if(this.fireNonBubblingEvent(p,qx.event.type.Event,[false,true])){if(!this.isVisible()){this.open();};var bn=this.__ol;var top=this.__ok;this.setLayoutProperties({edge:null,left:bn,top:top});this.removeState(D);this._updateCaptionBar();this.fireEvent(O);};},moveTo:function(bo,top){if(this.isMaximized()){return;};this.setLayoutProperties({left:bo,top:top});},isMaximized:function(){return this.hasState(D);},getMode:function(){if(!this.isVisible()){return W;}else {if(this.isMaximized()){return D;}else {return G;};};},_applyActive:function(bq,bp){if(bp){this.removeState(V);}else {this.addState(V);};},_applyModal:function(bs,br){if(br){this.removeState(v);}else {this.addState(v);};},_getContentPaddingTarget:function(){return this.getChildControl(Q);},_applyShowStatusbar:function(bv,bt){var bu=this._getResizeFrame();if(bv){this.addState(z);bu.addState(z);}else {this.removeState(z);bu.removeState(z);};if(bv){this._showChildControl(q);}else {this._excludeChildControl(q);};},_applyCaptionBarChange:function(bx,bw){this._updateCaptionBar();},_applyStatus:function(bz,by){var bA=this.getChildControl(J,true);if(bA){bA.setValue(bz);};},_applyFocusable:function(bC,bB){if(qx.core.Environment.get(I)!==T){qx.ui.core.Widget.prototype._applyFocusable.call(this,bC,bB);};},_onWindowEventStop:function(e){e.stopPropagation();},_onWindowPointerDown:function(e){this.setActive(true);},_onWindowFocusOut:function(e){if(this.getModal()){return;};var bD=e.getRelatedTarget();if(bD!=null&&!qx.ui.core.Widget.contains(this,bD)){this.setActive(false);};},_onCaptionPointerDblTap:function(e){if(this.getAllowMaximize()){this.isMaximized()?this.restore():this.maximize();};},_onMinimizeButtonTap:function(e){this.minimize();this.getChildControl(m).reset();},_onRestoreButtonTap:function(e){this.restore();this.getChildControl(k).reset();},_onMaximizeButtonTap:function(e){this.maximize();this.getChildControl(N).reset();},_onCloseButtonTap:function(e){this.close();this.getChildControl(o).reset();}}});})();(function(){var a="Boolean",b="one",c="pointerover",d="qx.event.type.Data",f=", because it is not a child element!",g="_applyDragSelection",h="Could not add + ",j=" from selection, because it is not a child element!",k="changeSelection",l="Could not test if ",m="Could not remove ",n="addItem",o="__et",p="multi",q="_applyQuickSelection",r="single",s="qx.ui.core.MMultiSelectionHandling",t="pointermove",u=" is selected, because it is not a child element!",v="_applySelectionMode",w="additive",x="keypress",y="losecapture",z="Could not select ",A="removeItem",B="tap",C="pointerdown",D=" to selection, because it is not a child element!";qx.Mixin.define(s,{construct:function(){var F=this.SELECTION_MANAGER;var E=this.__et=new F(this);this.addListener(C,E.handlePointerDown,E);this.addListener(B,E.handleTap,E);this.addListener(c,E.handlePointerOver,E);this.addListener(t,E.handlePointerMove,E);this.addListener(y,E.handleLoseCapture,E);this.addListener(x,E.handleKeyPress,E);this.addListener(n,E.handleAddItem,E);this.addListener(A,E.handleRemoveItem,E);E.addListener(k,this._onSelectionChange,this);},events:{"changeSelection":d},properties:{selectionMode:{check:[r,p,w,b],init:r,apply:v},dragSelection:{check:a,init:false,apply:g},quickSelection:{check:a,init:false,apply:q}},members:{__et:null,selectAll:function(){this.__et.selectAll();},isSelected:function(G){if(!qx.ui.core.Widget.contains(this,G)){throw new Error(l+G+u);};return this.__et.isItemSelected(G);},addToSelection:function(H){if(!qx.ui.core.Widget.contains(this,H)){throw new Error(h+H+D);};this.__et.addItem(H);},removeFromSelection:function(I){if(!qx.ui.core.Widget.contains(this,I)){throw new Error(m+I+j);};this.__et.removeItem(I);},selectRange:function(J,K){this.__et.selectItemRange(J,K);},resetSelection:function(){this.__et.clearSelection();},setSelection:function(L){for(var i=0;i=19){cA=E;}else {cA=O;};qx.ui.style.Stylesheet.getInstance().addRule(cA,bU+cz+m);}else if(cx==co&&cC!=cl){cA=K;qx.ui.style.Stylesheet.getInstance().addRule(cA,bU+cz);}else if(cx==W||cC==cl){var cB=cC==cl?ch:N;cA=[bY,q,a].join(cB);qx.ui.style.Stylesheet.getInstance().addRule(cA,bU+cz+m);};}},construct:function(cD){qx.ui.core.Widget.call(this);this.__on=!qx.core.Environment.get(X);if(cD!=null){this.setValue(cD);};this.getContentElement().addListener(bO,this._onChangeContent,this);if(this.__on){this.addListener(B,this._syncPlaceholder,this);}else {qx.ui.form.AbstractField.__om();this.getContentElement().addClass(l);};if(qx.core.Environment.get(s)){qx.locale.Manager.getInstance().addListener(cg,this._onChangeLocale,this);};},events:{"input":i,"changeValue":i},properties:{textAlign:{check:[cb,bX,bV],nullable:true,themeable:true,apply:cu},readOnly:{check:bQ,apply:ci,event:cw,init:false},selectable:{refine:true,init:true},focusable:{refine:true,init:true},maxLength:{apply:P,check:ce,init:Infinity},liveUpdate:{check:bQ,init:false},placeholder:{check:x,nullable:true,apply:cf},filter:{check:cd,nullable:true,init:null}},members:{__oo:true,_placeholder:null,__hS:null,__hT:null,__on:true,__lx:null,__lA:null,getFocusElement:function(){var cE=this.getContentElement();if(cE){return cE;};},_createInputElement:function(){return new qx.html.Input(A);},renderLayout:function(cN,top,cI,cG){var cF=this._updateInsets;var cL=qx.ui.core.Widget.prototype.renderLayout.call(this,cN,top,cI,cG);if(!cL){return;};var cJ=cL.size||cF;var cM=bR;if(cJ||cL.local||cL.margin){var innerWidth=cI;var innerHeight=cG;};var cK=this.getContentElement();if(cF&&this.__on){if(this.__on){var cH=this.getInsets();this._getPlaceholderElement().setStyles({paddingTop:cH.top+cM,paddingRight:cH.right+cM,paddingBottom:cH.bottom+cM,paddingLeft:cH.left+cM});};};if(cJ||cL.margin){if(this.__on){var cH=this.getInsets();this._getPlaceholderElement().setStyles({"width":(innerWidth-cH.left-cH.right)+cM,"height":(innerHeight-cH.top-cH.bottom)+cM});};cK.setStyles({"width":innerWidth+cM,"height":innerHeight+cM});this._renderContentElement(innerHeight,cK);};if(cL.position){if(this.__on){this._getPlaceholderElement().setStyles({"left":cN+cM,"top":top+cM});};};},_renderContentElement:function(innerHeight,cO){},_createContentElement:function(){var cP=this._createInputElement();cP.setSelectable(this.getSelectable());cP.setEnabled(this.getEnabled());cP.addListener(r,this._onHtmlInput,this);cP.setAttribute(U,cj);cP.addClass(v);if((qx.core.Environment.get(cr)==W)&&(qx.core.Environment.get(o)==8)){cP.setStyles({backgroundImage:bL+qx.util.ResourceManager.getInstance().toUri(cp)+bM});};return cP;},_applyEnabled:function(cS,cR){qx.ui.core.Widget.prototype._applyEnabled.call(this,cS,cR);this.getContentElement().setEnabled(cS);if(this.__on){if(cS){this._showPlaceholder();}else {this._removePlaceholder();};}else {var cQ=this.getContentElement();cQ.setAttribute(bW,cS?this.getPlaceholder():cm);};},__op:{width:16,height:16},_getContentHint:function(){return {width:this.__op.width*10,height:this.__op.height||16};},_applyFont:function(cV,cU){if(cU&&this.__lx&&this.__lA){this.__lx.removeListenerById(this.__lA);this.__lA=null;};var cT;if(cV){this.__lx=qx.theme.manager.Font.getInstance().resolve(cV);if(this.__lx instanceof qx.bom.webfonts.WebFont){this.__lA=this.__lx.addListener(C,this._onWebFontStatusChange,this);};cT=this.__lx.getStyles();}else {cT=qx.bom.Font.getDefaultStyles();};if(this.getTextColor()!=null){delete cT[F];};if(qx.core.Environment.get(cr)==W&&qx.core.Environment.get(o)<11){qx.html.Element.flush();this.getContentElement().setStyles(cT,true);}else {this.getContentElement().setStyles(cT);};if(this.__on){delete cT[F];this._getPlaceholderElement().setStyles(cT);};if(cV){this.__op=qx.bom.Label.getTextSize(D,cT);}else {delete this.__op;};qx.ui.core.queue.Layout.add(this);},_applyTextColor:function(cX,cW){if(cX){this.getContentElement().setStyle(F,qx.theme.manager.Color.getInstance().resolve(cX));}else {this.getContentElement().removeStyle(F);};},_applyMaxLength:function(da,cY){if(da){this.getContentElement().setAttribute(t,da);}else {this.getContentElement().removeAttribute(t);};},tabFocus:function(){qx.ui.core.Widget.prototype.tabFocus.call(this);this.selectAllText();},_getTextSize:function(){return this.__op;},_onHtmlInput:function(e){var dd=e.getData();var dc=true;this.__oo=false;if(this.__hT&&this.__hT===dd){dc=false;};if(this.getFilter()!=null){var df=cm;var db=dd.search(this.getFilter());var de=dd;while(db>=0){df=df+(de.charAt(db));de=de.substring(db+1,de.length);db=de.search(this.getFilter());};if(df!=dd){dc=false;dd=df;this.getContentElement().setValue(dd);};};if(dc){this.fireDataEvent(r,dd,this.__hT);this.__hT=dd;if(this.getLiveUpdate()){this.__oq(dd);};};},_onWebFontStatusChange:function(dh){if(dh.getData().valid===true){var dg=this.__lx.getStyles();this.__op=qx.bom.Label.getTextSize(D,dg);qx.ui.core.queue.Layout.add(this);};},__oq:function(dj){var di=this.__hS;this.__hS=dj;if(di!=dj){this.fireNonBubblingEvent(c,qx.event.type.Data,[dj,di]);};},setValue:function(dn){if(dn===null){if(this.__oo){return dn;};dn=cm;this.__oo=true;}else {this.__oo=false;if(this.__on){this._removePlaceholder();};};if(qx.lang.Type.isString(dn)){var dm=this.getContentElement();if(dm.getValue()!=dn){var dk=dm.getValue();dm.setValue(dn);var dl=this.__oo?null:dn;this.__hS=dk;this.__oq(dl);this.__hT=this.__hS;};if(this.__on){this._showPlaceholder();};return dn;};throw new Error(J+dn);},getValue:function(){var dp=this.getContentElement().getValue();return this.__oo?null:dp;},resetValue:function(){this.setValue(null);},_onChangeContent:function(e){this.__oo=e.getData()===null;this.__oq(e.getData());},getTextSelection:function(){return this.getContentElement().getTextSelection();},getTextSelectionLength:function(){return this.getContentElement().getTextSelectionLength();},getTextSelectionStart:function(){return this.getContentElement().getTextSelectionStart();},getTextSelectionEnd:function(){return this.getContentElement().getTextSelectionEnd();},setTextSelection:function(dq,dr){this.getContentElement().setTextSelection(dq,dr);},clearTextSelection:function(){this.getContentElement().clearTextSelection();},selectAllText:function(){this.setTextSelection(0);},setLayoutParent:function(parent){qx.ui.core.Widget.prototype.setLayoutParent.call(this,parent);if(this.__on){if(parent){this.getLayoutParent().getContentElement().add(this._getPlaceholderElement());}else {var ds=this._getPlaceholderElement();ds.getParent().remove(ds);};};},_showPlaceholder:function(){var du=this.getValue()||cm;var dt=this.getPlaceholder();if(dt!=null&&du==cm&&!this.hasState(k)&&!this.hasState(ca)){if(this.hasState(j)){this._syncPlaceholder();}else {this.addState(j);};};},_onPointerDownPlaceholder:function(){window.setTimeout(function(){this.focus();}.bind(this),0);},_removePlaceholder:function(){if(this.hasState(j)){if(this.__on){this._getPlaceholderElement().setStyle(cv,Y);};this.removeState(j);};},_syncPlaceholder:function(){if(this.hasState(j)&&this.__on){this._getPlaceholderElement().setStyle(cv,M);};},_getPlaceholderElement:function(){if(this._placeholder==null){this._placeholder=new qx.html.Label();var dv=qx.theme.manager.Color.getInstance();this._placeholder.setStyles({"zIndex":11,"position":cq,"color":dv.resolve(cc),"whiteSpace":u,"cursor":A,"visibility":Y});this._placeholder.addListener(T,this._onPointerDownPlaceholder,this);};return this._placeholder;},_onChangeLocale:qx.core.Environment.select(s,{"true":function(e){var content=this.getPlaceholder();if(content&&content.translate){this.setPlaceholder(content.translate());};},"false":null}),_onChangeTheme:function(){qx.ui.core.Widget.prototype._onChangeTheme.call(this);if(this._placeholder){this._placeholder.dispose();this._placeholder=null;};if(!this.__on&&qx.ui.form.AbstractField.__eW){qx.bom.Stylesheet.removeSheet(qx.ui.form.AbstractField.__eW);qx.ui.form.AbstractField.__eW=null;qx.ui.form.AbstractField.__om();};},_applyPlaceholder:function(dx,dw){if(this.__on){this._getPlaceholderElement().setValue(dx);if(dx!=null){this.addListener(V,this._removePlaceholder,this);this.addListener(ct,this._showPlaceholder,this);this._showPlaceholder();}else {this.removeListener(V,this._removePlaceholder,this);this.removeListener(ct,this._showPlaceholder,this);this._removePlaceholder();};}else {if(this.getEnabled()){this.getContentElement().setAttribute(bW,dx);if(qx.core.Environment.get(g)===L&&parseFloat(qx.core.Environment.get(S))<36&&this.getContentElement().getNodeName()===h&&!this.getContentElement().getDomElement()){this.addListenerOnce(cn,function(){this.getContentElement().getDomElement().removeAttribute(bW);this.getContentElement().getDomElement().setAttribute(bW,dx);},this);};};};},_applyTextAlign:function(dz,dy){this.getContentElement().setStyle(bS,dz);},_applyReadOnly:function(dB,dA){var dC=this.getContentElement();dC.setAttribute(z,dB);if(dB){this.addState(G);this.setFocusable(false);}else {this.removeState(G);this.setFocusable(true);};}},defer:function(dD){var dE=bP+cs+y+I+R+Q+bT+w+d+H+n;qx.ui.style.Stylesheet.getInstance().addRule(f,dE);},destruct:function(){if(this._placeholder){this._placeholder.removeListener(T,this._onPointerDownPlaceholder,this);var parent=this._placeholder.getParent();if(parent){parent.remove(this._placeholder);};this._placeholder.dispose();};this._placeholder=this.__lx=null;if(qx.core.Environment.get(s)){qx.locale.Manager.getInstance().removeListener(cg,this._onChangeLocale,this);};if(this.__lx&&this.__lA){this.__lx.removeListenerById(this.__lA);};this.getContentElement().removeListener(r,this._onHtmlInput,this);}});})();(function(){var a="engine.name",b="",c="wrap",d="none",e="Text wrapping is only support by textareas!",f="overflow",g="webkit",h="input",i="qx.html.Input",j="value",k="select",l="disabled",m="read-only",n="textarea",o="overflowX",p="overflowY";qx.Class.define(i,{extend:qx.html.Element,construct:function(s,q,r){if(s===k||s===n){var t=s;}else {t=h;};qx.html.Element.call(this,t,q,r);this.__or=s;},members:{__or:null,__os:null,__ot:null,_createDomElement:function(){return qx.bom.Input.create(this.__or);},_applyProperty:function(name,u){qx.html.Element.prototype._applyProperty.call(this,name,u);var v=this.getDomElement();if(name===j){qx.bom.Input.setValue(v,u);}else if(name===c){qx.bom.Input.setWrap(v,u);this.setStyle(f,v.style.overflow,true);this.setStyle(o,v.style.overflowX,true);this.setStyle(p,v.style.overflowY,true);};},setEnabled:function(w){this.__ot=w;this.setAttribute(l,w===false);if(qx.core.Environment.get(a)==g){if(!w){this.setStyles({"userModify":m,"userSelect":d});}else {this.setStyles({"userModify":null,"userSelect":this.__os?null:d});};};},setSelectable:qx.core.Environment.select(a,{"webkit":function(x){this.__os=x;qx.html.Element.prototype.setSelectable.call(this,this.__ot&&x);},"default":function(y){qx.html.Element.prototype.setSelectable.call(this,y);}}),setValue:function(z){var A=this.getDomElement();if(A){if(A.value!=z){qx.bom.Input.setValue(A,z);};}else {this._setProperty(j,z);};return this;},getValue:function(){var B=this.getDomElement();if(B){return qx.bom.Input.getValue(B);};return this._getProperty(j)||b;},setWrap:function(C,D){if(this.__or===n){this._setProperty(c,C,D);}else {throw new Error(e);};return this;},getWrap:function(){if(this.__or===n){return this._getProperty(c);}else {throw new Error(e);};}}});})();(function(){var a="wrap",b="text",c="engine.name",d="soft",e="",f="mshtml",g="number",h="checkbox",j="select-one",k="input",m="option",n="value",o="off",p="select",q="radio",r="qx.bom.Input",s="nowrap",t="textarea",u="auto",v="normal";qx.Bootstrap.define(r,{statics:{__lc:{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(y,w,z){{};var w=w?qx.lang.Object.clone(w):{};var x;if(y===t||y===p){x=y;}else {x=k;w.type=y;};return qx.dom.Element.create(x,w,z);},setValue:function(F,E){var G=F.nodeName.toLowerCase();var B=F.type;var Array=qx.lang.Array;var H=qx.lang.Type;if(typeof E===g){E+=e;};if((B===h||B===q)){if(H.isArray(E)){F.checked=Array.contains(E,F.value);}else {F.checked=F.value==E;};}else if(G===p){var A=H.isArray(E);var I=F.options;var C,D;for(var i=0,l=I.length;i]+?>/g,i);L=qx.bom.String.unescape(L);};return L;},_onBlur:function(e){this.close();},_onKeyPress:function(e){var M=e.getKeyIdentifier();var N=this.getChildControl(w);if(N.isHidden()&&(M==u||M==b)){e.stopPropagation();}else if(!N.isHidden()&&M==f){this.close();e.stop();}else {this.getChildControl(q).handleKeyPress(e);};},_onResize:function(e){this.getChildControl(w).setMinWidth(e.getData().width);},_onListChangeSelection:function(e){throw new Error(n);},_onListPointerDown:function(e){throw new Error(j);},_onPopupChangeVisibility:function(e){e.getData()==k?this.addState(a):this.removeState(a);}}});})();(function(){var a="__ou",b="Could not set the model selection. Maybe your models are not unique? ",c="qx.ui.form.MModelSelection",d="change",f="changeSelection",g="qx.event.type.Data";qx.Mixin.define(c,{construct:function(){this.__ou=new qx.data.Array();this.__ou.addListener(d,this.__ox,this);this.addListener(f,this.__ow,this);},events:{changeModelSelection:g},members:{__ou:null,__ov:false,__ow:function(){if(this.__ov){return;};var l=this.getSelection();var m=[];for(var i=0;i1){this.__oz=[];for(var i=0;i0;var D=arguments.length>2;if(L||D){var B=qx.lang.Array.fromArguments(arguments,2);if(I.length==0){var M=b;var E=F+B.length;}else if(B.length==0){var M=l;var E=this.length-1;}else {var M=d;var E=F+Math.max(B.length,I.length)-1;};this.fireDataEvent(g,{start:F,end:E,type:M,added:B,removed:I},null);};for(var i=0;i=0;i-- ){this.__oz.unshift(arguments[i]);this.__oA();this.__oB(0,this.length);this.fireDataEvent(o,{value:[this.__oz[0]],name:m,old:[this.__oz[1]],item:this});this.fireDataEvent(g,{start:0,end:this.length-1,type:b,added:[arguments[i]],removed:[]},null);};return this.length;},toArray:function(){return this.__oz;},getItem:function(R){return this.__oz[R];},setItem:function(S,U){var T=this.__oz[S];if(T===U){return;};this.__oz[S]=U;this._registerEventChaining(U,T,S);if(this.length!=this.__oz.length){this.__oA();};this.fireDataEvent(o,{value:[U],name:S+f,old:[T],item:this});this.fireDataEvent(g,{start:S,end:S,type:d,added:[U],removed:[T]},null);},getLength:function(){return this.length;},indexOf:function(V){return this.__oz.indexOf(V);},lastIndexOf:function(W){return this.__oz.lastIndexOf(W);},toString:function(){if(this.__oz!=null){return this.__oz.toString();};return f;},contains:function(X){return this.__oz.indexOf(X)!==-1;},copy:function(){return this.concat();},insertAt:function(Y,ba){this.splice(Y,0,ba).dispose();},insertBefore:function(bc,bb){var bd=this.indexOf(bc);if(bd==-1){this.push(bb);}else {this.splice(bd,0,bb).dispose();};},insertAfter:function(bf,be){var bg=this.indexOf(bf);if(bg==-1||bg==(this.length-1)){this.push(be);}else {this.splice(bg+1,0,be).dispose();};},removeAt:function(bh){var bi=this.splice(bh,1);var bj=bi.getItem(0);bi.dispose();return bj;},removeAll:function(){for(var i=0;ibs){bs=this.getItem(i);};};return bs===undefined?null:bs;},min:function(){var bt=this.getItem(0);for(var i=1;i1){throw new Error(f+bQ+N);};if(bP.length==1){this.selectItem(bP[0]);}else {this.clearSelection();};return;}else {this._replaceMultiSelection(bP);};},getSelectedItem:function(){var bR=this.getMode();if(bR===bu||bR===h){var bS=this._getSelectedItem();return bS!=undefined?bS:null;};throw new Error(n);},getSelection:function(){return qx.lang.Object.getValues(this.__fK);},getSortedSelection:function(){var bU=this.getSelectables();var bT=qx.lang.Object.getValues(this.__fK);bT.sort(function(a,b){return bU.indexOf(a)-bU.indexOf(b);});return bT;},isItemSelected:function(bV){var bW=this._selectableToHashCode(bV);return this.__fK[bW]!==undefined;},isSelectionEmpty:function(){return qx.lang.Object.isEmpty(this.__fK);},invertSelection:function(){var bY=this.getMode();if(bY===bu||bY===h){throw new Error(M);};var bX=this.getSelectables();for(var i=0;ithis.__oJ){this.__oO=1;}else if(cIthis.__oK){this.__oP=1;}else if(cJlocation.right){this.__oC=this.__oM-location.right;}else {this.__oC=0;};if(this.__oNlocation.bottom){this.__oD=this.__oN-location.bottom;}else {this.__oD=0;};if(!this.__oE){this.__oE=new qx.event.Timer(100);this.__oE.addListener(H,this._onInterval,this);};this.__oE.start();this._autoSelect();event.stopPropagation();this._userInteraction=false;},handleAddItem:function(e){var cK=e.getData();if(this.getMode()===h&&this.isSelectionEmpty()){this.addItem(cK);};},handleRemoveItem:function(e){this.removeItem(e.getData());},_cleanup:function(){if(!this.getDrag()&&this.__oL){return;};if(this.__oQ){this._fireChange(bD);};delete this.__oL;delete this.__oG;delete this.__oH;this._releaseCapture();if(this.__oE){this.__oE.stop();};},_onInterval:function(e){this._scrollBy(this.__oC,this.__oD);this.__oF=this._getScroll();this._autoSelect();},_autoSelect:function(){var cT=this._getDimension();var cM=Math.max(0,Math.min(this.__oM-this.__oI.left,cT.width))+this.__oF.left;var cL=Math.max(0,Math.min(this.__oN-this.__oI.top,cT.height))+this.__oF.top;if(this.__oG===cM&&this.__oH===cL){return;};this.__oG=cM;this.__oH=cL;var cQ=this._getAnchorItem();var cO=cQ;var cR=this.__oO;var cU,cN;while(cR!==0){cU=cR>0?this._getRelatedSelectable(cO,t):this._getRelatedSelectable(cO,W);if(cU!==null){cN=this._getSelectableLocationX(cU);if((cR>0&&cN.left<=cM)||(cR<0&&cN.right>=cM)){cO=cU;continue;};};break;};var cS=this.__oP;var cV,cP;while(cS!==0){cV=cS>0?this._getRelatedSelectable(cO,z):this._getRelatedSelectable(cO,bB);if(cV!==null){cP=this._getSelectableLocationY(cV);if((cS>0&&cP.top<=cL)||(cS<0&&cP.bottom>=cL)){cO=cV;continue;};};break;};var cW=this.getMode();if(cW===V){this._selectItemRange(cQ,cO);}else if(cW===br){if(this.isItemSelected(cQ)){this._selectItemRange(cQ,cO,true);}else {this._deselectItemRange(cQ,cO);};this._setAnchorItem(cO);};this._fireChange(bw);},__oW:{Home:1,Down:1,Right:1,PageDown:1,End:1,Up:1,Left:1,PageUp:1},handleKeyPress:function(event){this._userInteraction=true;var dd,dc;var df=event.getKeyIdentifier();var de=this.getMode();var cY=event.isCtrlPressed()||(qx.core.Environment.get(c)==F&&event.isMetaPressed());var da=event.isShiftPressed();var db=false;if(df===B&&cY){if(de!==bu&&de!==h){this._selectAllItems();db=true;};}else if(df===p){if(de!==bu&&de!==h){this._clearSelection();db=true;};}else if(df===r){var cX=this.getLeadItem();if(cX!=null&&!da){if(cY||de===br){this._toggleInSelection(cX);}else {this._setSelectedItem(cX);};db=true;};}else if(this.__oW[df]){db=true;if(de===bu||de==h){dd=this._getSelectedItem();}else {dd=this.getLeadItem();};if(dd!==null){switch(df){case Y:dc=this._getFirstSelectable();break;case Q:dc=this._getLastSelectable();break;case x:dc=this._getRelatedSelectable(dd,bB);break;case v:dc=this._getRelatedSelectable(dd,z);break;case k:dc=this._getRelatedSelectable(dd,W);break;case bv:dc=this._getRelatedSelectable(dd,t);break;case bx:dc=this._getPage(dd,true);break;case D:dc=this._getPage(dd,false);break;};}else {switch(df){case Y:case v:case bv:case D:dc=this._getFirstSelectable();break;case Q:case x:case k:case bx:dc=this._getLastSelectable();break;};};if(dc!==null){switch(de){case bu:case h:this._setSelectedItem(dc);break;case br:this._setLeadItem(dc);break;case V:if(da){var dg=this._getAnchorItem();if(dg===null){this._setAnchorItem(dg=this._getFirstSelectable());};this._setLeadItem(dc);this._selectItemRange(dg,dc,cY);}else {this._setAnchorItem(dc);this._setLeadItem(dc);if(!cY){this._setSelectedItem(dc);};};break;};this.__oV=this._getScroll().top;this._scrollItemIntoView(dc);};};if(db){event.stop();this._fireChange(T);};this._userInteraction=false;},_selectAllItems:function(){var dh=this.getSelectables();for(var i=0,l=dh.length;i=2)){this._clearSelection();this._addToSelection(dA);};};},_addToSelection:function(dC){var dD=this._selectableToHashCode(dC);if(this.__fK[dD]==null&&this._isSelectable(dC)){this.__fK[dD]=dC;this._styleSelectable(dC,S,true);this.__oQ=true;};},_toggleInSelection:function(dE){var dF=this._selectableToHashCode(dE);if(this.__fK[dF]==null){this.__fK[dF]=dE;this._styleSelectable(dE,S,true);}else {delete this.__fK[dF];this._styleSelectable(dE,S,false);};this.__oQ=true;},_removeFromSelection:function(dG){var dH=this._selectableToHashCode(dG);if(this.__fK[dH]!=null){delete this.__fK[dH];this._styleSelectable(dG,S,false);this.__oQ=true;};},_replaceMultiSelection:function(dK){if(dK.length===0){this.clearSelection();return;};var dL=false;var dO,dN;var dJ={};for(var i=0,l=dK.length;i0;i-- ){if(this._isItemSelectable(J[i])){return J[i];};};return null;},_getRelatedSelectable:function(N,O){var L=this.__jS.getOrientation()===a;var P=this.__jS.getChildren();var K=P.indexOf(N);var M;if((L&&O===c)||(!L&&O===e)){for(var i=K-1;i>=0;i-- ){M=P[i];if(this._isItemSelectable(M)){return M;};};}else if((L&&O===b)||(!L&&O===f)){for(var i=K+1;i=0;i-- ){top=h.getItemTop(q[i]);if(top=p){n-=innerHeight+r-h.getItemBottom(k);s=null;continue;};return q[s];};}else {var m=innerHeight+r;var i=p;while(1){for(;im){s=i-1;break;};};if(s==null){var j=this._getLastSelectable();return j==k?null:j;};if(s<=p){m+=h.getItemTop(k)-r;s=null;continue;};return q[s];};};}}});})();(function(){var a="qx.ui.form.List",b="text",c="Boolean",d="one",f="addChildWidget",g="_applySpacing",h="Enter",j="Integer",k="action",m="keyinput",n="__oY",o="qx.event.type.Data",p="addItem",q="vertical",r="removeChildWidget",s="",t="_applyOrientation",u="single",v="keypress",w="list",x="horizontal",y="label",z="pane",A="removeItem";qx.Class.define(a,{extend:qx.ui.core.scroll.AbstractScrollArea,implement:[qx.ui.core.IMultiSelection,qx.ui.form.IForm,qx.ui.form.IModelSelection],include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MMultiSelectionHandling,qx.ui.form.MForm,qx.ui.form.MModelSelection],construct:function(B){qx.ui.core.scroll.AbstractScrollArea.call(this);this.__oY=this._createListItemContainer();this.__oY.addListener(f,this._onAddChild,this);this.__oY.addListener(r,this._onRemoveChild,this);this.getChildControl(z).add(this.__oY);if(B){this.setOrientation(x);}else {this.initOrientation();};this.addListener(v,this._onKeyPress);this.addListener(m,this._onKeyInput);this.__pa=s;},events:{addItem:o,removeItem:o},properties:{appearance:{refine:true,init:w},focusable:{refine:true,init:true},orientation:{check:[x,q],init:q,apply:t},spacing:{check:j,init:0,apply:g,themeable:true},enableInlineFind:{check:c,init:true}},members:{__pa:null,__pb:null,__oY:null,SELECTION_MANAGER:qx.ui.core.selection.ScrollArea,getChildrenContainer:function(){return this.__oY;},_onAddChild:function(e){this.fireDataEvent(p,e.getData());},_onRemoveChild:function(e){this.fireDataEvent(A,e.getData());},handleKeyPress:function(e){if(!this._onKeyPress(e)){this._getManager().handleKeyPress(e);};},_createListItemContainer:function(){return new qx.ui.container.Composite;},_applyOrientation:function(F,C){var D=F===x;var E=D?new qx.ui.layout.HBox():new qx.ui.layout.VBox();var content=this.__oY;content.setLayout(E);content.setAllowGrowX(!D);content.setAllowGrowY(D);this._applySpacing(this.getSpacing());},_applySpacing:function(H,G){this.__oY.getLayout().setSpacing(H);},_onKeyPress:function(e){if(e.getKeyIdentifier()==h&&!e.isAltPressed()){var I=this.getSelection();for(var i=0;i1000){this.__pa=s;};this.__pa+=e.getChar();var K=this.findItemByLabelFuzzy(this.__pa);if(K){this.setSelection([K]);};this.__pb=(new Date).valueOf();},findItemByLabelFuzzy:function(M){M=M.toLowerCase();var L=this.getChildren();for(var i=0,l=L.length;i])+>/gi,function(n){if(n.indexOf(a)===0){return f;}else if(n.length>0&&n.replace(/^\s*/,b).replace(/\s*$/,b)==b){return e;}else {return b;};}));}},defer:function(o){o.FROM_CHARCODE=qx.lang.Object.invert(o.TO_CHARCODE);}});})();(function(){var a="&",b='X',c="",d='#',e="&#",f=";",g="qx.util.StringEscape";qx.Bootstrap.define(g,{statics:{escape:function(o,m){var j,n=c;for(var i=0,l=o.length;i0x7F){j=e+h+f;}else {j=k;};};n+=j;};return n;},unescape:function(p,q){return p.replace(/&[#\w]+;/gi,function(t){var r=t;var t=t.substring(1,t.length-1);var s=q[t];if(s){r=String.fromCharCode(s);}else {if(t.charAt(0)==d){if(t.charAt(1).toUpperCase()==b){s=t.substring(2);if(s.match(/^[0-9A-Fa-f]+$/gi)){r=String.fromCharCode(parseInt(s,16));};}else {s=t.substring(1);if(s.match(/^\d+$/gi)){r=String.fromCharCode(parseInt(s,10));};};};};return r;});}}});})();(function(){var a="qx.ui.form.IRadioItem",b="qx.event.type.Data";qx.Interface.define(a,{events:{"changeValue":b},members:{setValue:function(c){},getValue:function(){},setGroup:function(d){this.assertInstance(d,qx.ui.form.RadioGroup);},getGroup:function(){}}});})();(function(){var a="_applyAllowEmptySelection",b="_applyInvalidMessage",c="qx.ui.form.RadioGroup",d="Boolean",f="_applyValid",g="",h="changeRequired",j="changeValid",k="changeEnabled",m="__pc",n="changeInvalidMessage",o="changeSelection",p="changeValue",q="_applyEnabled",r="String";qx.Class.define(c,{extend:qx.core.Object,implement:[qx.ui.core.ISingleSelection,qx.ui.form.IForm,qx.ui.form.IModelSelection],include:[qx.ui.core.MSingleSelectionHandling,qx.ui.form.MModelSelection],construct:function(s){qx.core.Object.call(this);this.__pc=[];this.addListener(o,this.__nS,this);if(s!=null){this.add.apply(this,arguments);};},properties:{enabled:{check:d,apply:q,event:k,init:true},wrap:{check:d,init:true},allowEmptySelection:{check:d,init:false,apply:a},valid:{check:d,init:true,apply:f,event:j},required:{check:d,init:false,event:h},invalidMessage:{check:r,init:g,event:n,apply:b},requiredInvalidMessage:{check:r,nullable:true,event:n}},members:{__pc:null,getItems:function(){return this.__pc;},add:function(u){var v=this.__pc;var t;for(var i=0,l=arguments.length;i0&&!this.getSelection()[0]){this.setSelection([v[0]]);};},remove:function(w){var x=this.__pc;if(qx.lang.Array.contains(x,w)){qx.lang.Array.remove(x,w);if(w.getGroup()===this){w.resetGroup();};w.removeListener(p,this._onItemChangeChecked,this);if(w.getValue()){this.resetSelection();};};},getChildren:function(){return this.__pc;},_onItemChangeChecked:function(e){var y=e.getTarget();if(y.getValue()){this.setSelection([y]);}else if(this.getSelection()[0]==y){this.resetSelection();};},_applyInvalidMessage:function(A,z){for(var i=0;i0){var M=this.getChildControl(o);var L=M.getSelectionContext();if(L==m||L==f){this.__pd=K[0];}else {var N=K[0].getLabel();if(this.getFormat()!=null){N=this.getFormat().call(this,K[0]);};if(N&&N.translate){N=N.translate();};this.setValue(N);this.__pd=null;};};},_onPopupChangeVisibility:function(e){qx.ui.form.AbstractSelectBox.prototype._onPopupChangeVisibility.call(this,e);var P=this.getChildControl(u);if(P.isVisible()){var O=this.getChildControl(o);var Q=this.getValue();var R=null;if(Q){R=O.findItem(Q);};if(R){O.setSelection([R]);}else {O.resetSelection();};}else {if(e.getOldData()==l){this.tabFocus();};};this.getChildControl(g).removeState(d);},_onTextFieldChangeValue:function(e){var T=e.getData();var S=this.getChildControl(o);if(T!=null){var U=S.findItem(T,false);if(U){S.setSelection([U]);}else {S.resetSelection();};}else {S.resetSelection();};this.fireDataEvent(c,T,e.getOldData());},getTextSelection:function(){return this.getChildControl(p).getTextSelection();},getTextSelectionLength:function(){return this.getChildControl(p).getTextSelectionLength();},setTextSelection:function(V,W){this.getChildControl(p).setTextSelection(V,W);},clearTextSelection:function(){this.getChildControl(p).clearTextSelection();},selectAllText:function(){this.getChildControl(p).selectAllText();},resetAllTextSelection:function(){this.clearTextSelection();this.selectAllText();}}});})();(function(){var a="mshtml",b="engine.name",c="qx.ui.form.TextField",d="Enter",e='px',f="mobile",g="tablet",h="device.type",i="textfield",j="engine.version",k="keypress",l="browser.documentmode";qx.Class.define(c,{extend:qx.ui.form.AbstractField,properties:{appearance:{refine:true,init:i},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{_renderContentElement:function(innerHeight,m){if((qx.core.Environment.get(b)==a)&&(parseInt(qx.core.Environment.get(j),10)<9||qx.core.Environment.get(l)<9)){m.setStyles({"line-height":innerHeight+e});};},_createContentElement:function(){var n=qx.ui.form.AbstractField.prototype._createContentElement.call(this);var o=qx.core.Environment.get(h);if(o==g||o==f){n.addListener(k,this._onKeyPress,this);};return n;},_onKeyPress:function(p){if(p.getKeyIdentifier()==d){this.blur();};}},destruct:function(){this.getContentElement().removeListener(k,this._onKeyPress,this);}});})();(function(){var a="qx.ui.form.IDateForm",b="qx.event.type.Data";qx.Interface.define(a,{events:{"changeValue":b},members:{setValue:function(c){return arguments.length==1;},resetValue:function(){},getValue:function(){}}});})();(function(){var a="popupOpen",b="blur",c="qx.util.format.DateFormat",d="Escape",f="changeValue",g="Left",h="Down",i="button",j="Up",k="execute",l="qx.event.type.Data",m="inner",n="list",o="changeLocale",p="visible",q="middle",r="String",s="_applyDateFormat",t="pointerup",u="",v="changeVisibility",w="textfield",x="qx.dynlocale",y="medium",z="focusin",A="popup",B="qx.ui.form.DateField",C="focusout",D="datefield",E="_applyPlaceholder",F="hidden",G="tap",H="Right";qx.Class.define(B,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.form.MForm],implement:[qx.ui.form.IForm,qx.ui.form.IDateForm],construct:function(){qx.ui.core.Widget.call(this);var J=new qx.ui.layout.HBox();this._setLayout(J);J.setAlignY(q);var I=this._createChildControl(w);this._createChildControl(i);this.addListener(G,this._onTap,this);this.addListener(b,this._onBlur,this);this.addListener(z,function(e){I.fireNonBubblingEvent(z,qx.event.type.Focus);I.setTextSelection(0,0);},this);this.addListener(C,function(e){I.fireNonBubblingEvent(C,qx.event.type.Focus);},this);this._setDefaultDateFormat();this._addLocaleChangeListener();},events:{"changeValue":l},properties:{dateFormat:{check:c,apply:s},placeholder:{check:r,nullable:true,apply:E},appearance:{refine:true,init:D},focusable:{refine:true,init:true},width:{refine:true,init:120}},statics:{__pf:null,__pg:null,getDefaultDateFormatter:function(){var K=qx.locale.Date.getDateFormat(y).toString();if(K==this.__pf){return this.__pg;};if(this.__pg){this.__pg.dispose();};this.__pg=new qx.util.format.DateFormat(K,qx.locale.Manager.getInstance().getLocale());this.__pf=K;return this.__pg;}},members:{__ph:null,_forwardStates:{focused:true,invalid:true},_setDefaultDateFormat:function(){this.setDateFormat(qx.ui.form.DateField.getDefaultDateFormatter());},_addLocaleChangeListener:function(){if(qx.core.Environment.get(x)){this.__ph=qx.locale.Manager.getInstance().addListener(o,function(){this._setDefaultDateFormat();},this);};},setValue:function(N){var L=this.getChildControl(w);L.setValue(this.getDateFormat().format(N));var M=this.getChildControl(n);M.setValue(N);},getValue:function(){var O=this.getChildControl(w).getValue();try{return this.getDateFormat().parse(O);}catch(P){return null;};},resetValue:function(){var Q=this.getChildControl(w);Q.setValue(u);var R=this.getChildControl(n);R.setValue(null);},open:function(){var S=this.getChildControl(A);S.placeToWidget(this,true);S.show();},close:function(){this.getChildControl(A).hide();},toggle:function(){var T=this.getChildControl(A).isVisible();if(T){this.close();}else {this.open();};},_applyDateFormat:function(Y,W){if(!W){return;};try{var V=this.getChildControl(w);var X=V.getValue();var U=W.parse(X);V.setValue(Y.format(U));}catch(ba){};},_applyPlaceholder:function(bc,bb){this.getChildControl(w).setPlaceholder(bc);},_createChildControlImpl:function(bf,be){var bd;switch(bf){case w:bd=new qx.ui.form.TextField();bd.setFocusable(false);bd.addState(m);bd.addListener(f,this._onTextFieldChangeValue,this);bd.addListener(b,this.close,this);this._add(bd,{flex:1});break;case i:bd=new qx.ui.form.Button();bd.setFocusable(false);bd.setKeepActive(true);bd.addState(m);bd.addListener(k,this.toggle,this);this._add(bd);break;case n:bd=new qx.ui.control.DateChooser();bd.setFocusable(false);bd.setKeepFocus(true);bd.addListener(k,this._onChangeDate,this);break;case A:bd=new qx.ui.popup.Popup(new qx.ui.layout.VBox);bd.setAutoHide(false);bd.add(this.getChildControl(n));bd.addListener(t,this._onChangeDate,this);bd.addListener(v,this._onPopupChangeVisibility,this);break;};return bd||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bf);},_onChangeDate:function(e){var bg=this.getChildControl(w);var bh=this.getChildControl(n).getValue();bg.setValue(this.getDateFormat().format(bh));this.close();},_onTap:function(e){this.close();},_onBlur:function(e){this.close();},_onKeyPress:function(e){var bi=e.getKeyIdentifier();if(bi==h&&e.isAltPressed()){this.toggle();e.stopPropagation();return;};var bj=this.getChildControl(A);if(bj.getVisibility()==F){return;};if(bi==d){this.close();e.stopPropagation();return;};if(bi===g||bi===H||bi===h||bi===j){e.preventDefault();};this.getChildControl(n).handleKeyPress(e);},_onPopupChangeVisibility:function(e){e.getData()==p?this.addState(a):this.removeState(a);var bl=this.getChildControl(A);if(bl.isVisible()){var bm=this.getChildControl(n);var bk=this.getValue();bm.setValue(bk);};},_onTextFieldChangeValue:function(e){var bn=this.getValue();if(bn!=null){var bo=this.getChildControl(n);bo.setValue(bn);};this.fireDataEvent(f,this.getValue());},isEmpty:function(){var bp=this.getChildControl(w).getValue();return bp==null||bp==u;}},destruct:function(){if(qx.core.Environment.get(x)){if(this.__ph){qx.locale.Manager.getInstance().removeListenerById(this.__ph);};};}});})();(function(){var a="qx.util.format.IFormat";qx.Interface.define(a,{members:{format:function(b){},parse:function(c){}}});})();(function(){var a="-",b="QQQ",c='W',d="qqqq",e="h",f="KK",g='L',h=" is not supported",m="Z",n="Date string '",o="GGGGG",p='abbreviated',q="Y+",r=". Wildcard ",s="eeeee",t="(\\d\\d?)",u="LL",v="abbreviated",w="EEEE",x="^",y=":",z='y',A="quoted_literal",B="weekOfYear",C="locale",D="SSS",E='a',F="day",G="(-*",H="qqq",I="(\\d\\d)",J='3rd quarter',K="K",L='q',M="pm",N="Error parsing date '",O='Anno Domini',P='G',Q="a",R='2nd quarter',S="yyyy-MM-dd'T'HH:mm:ss",T="GMT",U="HH:mm:ss",V="dd",W="+",X="qx.util.format.DateFormat",Y='weekDay',el="am",eg="eee",em="quarter",ei="ee",ej="q",ef="QQQQ",ek="HHmmss",eq="ww",er="H",es='Y+',et="wide",en='wide',eo="(\\d\\d\\d?)",eh="(GMT[\\+\\-]\\d\\d:\\d\\d)",ep="_applyLocale",ex="Q",fb="c",ey="(",ez="weekOfMonth",eu="ccc",ev="long",gc="Malformed date format: ",ew="EEEEE",eA='Y',eB="EE",eC="GGG",eH='-',eI="w",eJ="mm",eD='h',eE="S",eF='s',eG='A',eO="yyyy-MM-dd",eP="G",eQ='z',eR="GG",eK=")",eL="kk",eM="ss",eN="([\\+\\-]\\d\\d\\d\\d)",eV="default",eW='BC',gg='H',eX='S',eS='1st quarter',eT="stand-alone",ge="0",eU="MMMM",eY='c',fa="d",fm='Q',fl='Q1',fk="eeee",fq="QQ",fp="LLLLL",fo="HH",fn='k',ff="m",fe="DDD",fd="D",fc='D',fj="LLLL",fi="(\\d\\d*?)",fh='e',fg="': the value for day or month is too large",fx="literal",fw='K',fv="L",fu="hh",fB="ms",fA="(\\d\\d?\\d?)",fz="cccc",fy="e",ft='y+',fs="|",fr="W",fM="dayOfYear",fL="GGGG",fK='Q2',fQ='B',fP="MM",fO='Q4',fN="y+",fF='narrow',fE="ccccc",fD="E",fC="wildcard",fJ='',fI="' does not match the date format: ",fH="short",fG='d',fW="unkown",fV="narrow",fU="\\d?",fT="'",gb="k",ga='Before Christ',fY='Z',fX='m',fS=" ",fR="yyyy-MM-dd'T'HH:mm:ss'Z'",dP="String",dO='Q3',gh="z",dM="DD",dN="min",dL="",gf='M',dJ="sec",dK='isoUtcDateTime',dI='4th quarter',gd="(\\d?)",dG="SS",dH="MMM",dF="s",dY="M",ea='w',dW="EEE",dX="$",dU="?",dV='AD',dT="\\d",dE="+?",dR="hour",dS="MMMMM",dQ='E',ee='month',ec="LLL",ed="qq",eb="format";qx.Class.define(X,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(gj,gi){qx.core.Object.call(this);if(!gi){this.__kU=qx.locale.Manager.getInstance().getLocale();this.__pi=qx.locale.Manager.getInstance().bind(C,this,C);}else {this.__kU=gi;this.setLocale(gi);};this.__pj=this.__kU;if(gj!=null){this.__pk=gj.toString();if(this.__pk in qx.util.format.DateFormat.ISO_MASKS){if(this.__pk===dK){this.__pl=true;};this.__pk=qx.util.format.DateFormat.ISO_MASKS[this.__pk];};}else {this.__pk=qx.locale.Date.getDateFormat(ev,this.__kU)+fS+qx.locale.Date.getDateTimeFormat(ek,U,this.__kU);};},properties:{locale:{apply:ep,nullable:true,check:dP}},statics:{getDateInstance:function(){var gk=qx.util.format.DateFormat;var gl=qx.locale.Date.getDateFormat(fH)+dL;if(gk._dateInstance==null||gk._dateInstance.__pk!=gl){gk._dateInstance=new gk(gl);};return gk._dateInstance;},getDateTimeInstance:function(){var gm=qx.util.format.DateFormat;var gn=qx.locale.Date.getDateFormat(ev)+fS+qx.locale.Date.getDateTimeFormat(ek,U);if(gm._dateTimeInstance==null||gm._dateTimeInstance.__pk!=gn){gm._dateTimeInstance=new gm(gn);};return gm._dateTimeInstance;},ASSUME_YEAR_2000_THRESHOLD:30,ISO_MASKS:{isoDate:eO,isoTime:U,isoDateTime:S,isoUtcDateTime:fR},AM_MARKER:el,PM_MARKER:M},members:{__pi:null,__kU:null,__pj:null,__pk:null,__pm:null,__pn:null,__po:null,__pl:null,__pp:function(gp,go){var gq=dL+(gp<0?(-1*gp):gp);while(gq.length0?1:-1;var gT=Math.floor(Math.abs(hd)/60);var hl=Math.abs(hd)%60;this.__py();var hn=dL;for(var i=0;ihp.length){for(var j=hp.length;jhp.length){for(var j=gX.length;j=1&&hg<=3){hp=hb>0?dV:eW;}else if(hg==4){hp=hb>0?O:ga;}else if(hg==5){hp=hb>0?eG:fQ;};break;case fm:if(hg==1||hg==2){hp=this.__pp(parseInt(gW/4)+1,hg);};if(hg==3){hp=fm+(parseInt(gW/4)+1);};break;case L:if(hg==1||hg==2){hp=this.__pp(parseInt(gW/4)+1,hg);};if(hg==3){hp=fm+(parseInt(gW/4)+1);};break;case fc:hp=this.__pp(this.__pq(hj),hg);break;case fG:hp=this.__pp(ha,hg);break;case ea:hp=this.__pp(this.__ps(hj),hg);break;case c:hp=this.__pt(hj);break;case dQ:if(hg>=1&&hg<=3){hp=qx.locale.Date.getDayName(v,he,gV,eb,true);}else if(hg==4){hp=qx.locale.Date.getDayName(et,he,gV,eb,true);}else if(hg==5){hp=qx.locale.Date.getDayName(fV,he,gV,eb,true);};break;case fh:var gY=qx.locale.Date.getWeekStart(gV);var hk=1+((he-gY>=0)?(he-gY):7+(he-gY));if(hg>=1&&hg<=2){hp=this.__pp(hk,hg);}else if(hg==3){hp=qx.locale.Date.getDayName(v,he,gV,eb,true);}else if(hg==4){hp=qx.locale.Date.getDayName(et,he,gV,eb,true);}else if(hg==5){hp=qx.locale.Date.getDayName(fV,he,gV,eb,true);};break;case eY:var gY=qx.locale.Date.getWeekStart(gV);var hk=1+((he-gY>=0)?(he-gY):7+(he-gY));if(hg==1){hp=fJ+hk;}else if(hg==3){hp=qx.locale.Date.getDayName(v,he,gV,eT,true);}else if(hg==4){hp=qx.locale.Date.getDayName(et,he,gV,eT,true);}else if(hg==5){hp=qx.locale.Date.getDayName(fV,he,gV,eT,true);};break;case gf:if(hg==1||hg==2){hp=this.__pp(gW+1,hg);}else if(hg==3){hp=qx.locale.Date.getMonthName(v,gW,gV,eb,true);}else if(hg==4){hp=qx.locale.Date.getMonthName(et,gW,gV,eb,true);}else if(hg==5){hp=qx.locale.Date.getMonthName(fV,gW,gV,eb,true);};break;case g:if(hg==1||hg==2){hp=this.__pp(gW+1,hg);}else if(hg==3){hp=qx.locale.Date.getMonthName(v,gW,gV,eT,true);}else if(hg==4){hp=qx.locale.Date.getMonthName(et,gW,gV,eT,true);}else if(hg==5){hp=qx.locale.Date.getMonthName(fV,gW,gV,eT,true);};break;case E:hp=(hh<12)?qx.locale.Date.getAmMarker(gV):qx.locale.Date.getPmMarker(gV);break;case gg:hp=this.__pp(hh,hg);break;case fn:hp=this.__pp((hh==0)?24:hh,hg);break;case fw:hp=this.__pp(hh%12,hg);break;case eD:hp=this.__pp(((hh%12)==0)?12:(hh%12),hg);break;case fX:hp=this.__pp(ho,hg);break;case eF:hp=this.__pp(hf,hg);break;case eX:hp=this.__pp(hm,3);if(hghp.length){hp+=ge;};};break;case eQ:if(hg>=1&&hg<=4){hp=T+((hi>0)?a:W)+this.__pp(Math.abs(gT),2)+y+this.__pp(hl,2);};break;case fY:if(hg>=1&&hg<=3){hp=((hi>0)?a:W)+this.__pp(Math.abs(gT),2)+this.__pp(hl,2);}else {hp=T+((hi>0)?a:W)+this.__pp(Math.abs(gT),2)+y+this.__pp(hl,2);};break;};hn+=hp;};};return hn;},parse:function(hw){this.__pz();var hz=this.__pm.regex.exec(hw);if(hz==null){throw new Error(n+hw+fI+this.__pk);};var hq={era:1,year:1970,quarter:1,month:0,day:1,dayOfYear:1,hour:0,ispm:false,weekDay:4,weekYear:1970,weekOfMonth:1,weekOfYear:1,min:0,sec:0,ms:0};var hu=1;var hr=false;var hs=false;for(var i=0;i=hC.length){i++ ;break;};var hD=hC.charAt(i+1);if(hD==fT){hI+=hH;i++ ;}else {i++ ;hF=fW;};}else {hI+=hH;i++ ;};break;case fC:if(hH==hG){hE++ ;i++ ;}else {this.__po.push({type:fC,character:hG,size:hE});hG=null;hE=0;hF=eV;};break;default:if((hH>=E&&hH<=eQ)||(hH>=eG&&hH<=fY)){hG=hH;hF=fC;}else if(hH==fT){if(i+1>=hC.length){hI+=hH;i++ ;break;};var hD=hC.charAt(i+1);if(hD==fT){hI+=hH;i++ ;};i++ ;hF=A;}else {hF=eV;};if(hF!=eV){if(hI.length>0){this.__po.push({type:fx,text:hI});hI=dL;};}else {hI+=hH;i++ ;};break;};};if(hG!=null){this.__po.push({type:fC,character:hG,size:hE});}else if(hI.length>0){this.__po.push({type:fx,text:hI});};},__pz:function(){if(this.__pm!=null){return;};var hM=this.__pk;this.__pB();this.__py();var hS=[];var hN=x;for(var hK=0;hK=0){if(iD=0){if(iF=0;var jk=function(){var jq=ji?jl:jh;var jr=jo===jq[0]?eT:eb;var jp=jj.length;var js=p;switch(jp){case 4:js=en;break;case 5:js=fF;break;default:js=p;};return [jr,js];};if(!ii[jj]){ii[jj]={};var jg=jk();var jn=ji?qx.locale.Date.getMonthNames:qx.locale.Date.getDayNames;var jm=jn.call(qx.locale.Date,jg[1],ib,jg[0],true);for(var i=0,l=jm.length;ibD){return ((bC>=bD)&&(bC<=bB));}else {return ((bC>=bD)||(bC<=bB));};},_getTerritory:function(bE){if(bE){var bF=bE.split(r)[1]||bE;}else {bF=this.__pC.getTerritory()||this.__pC.getLanguage();};return bF.toUpperCase();},__pD:function(bI,bH,bL,bK){var bJ=this.__pC.localize(bL,[],bK);if(bJ==bL){var bG=bL.replace(e+bI+e,e+bH+e);return this.__pC.localize(bG,[],bK);}else {return bJ;};}}});})();(function(){var a="PageUp",b="day",c="lastMonth",d="yyyyMMMM",f="Next month",g="Escape",h="Left",j="last-month-button",k="default",l="today",m="weekday",n="changeValue",o="Space",p="selected",q="Down",r="Integer",s="qx.ui.control.DateChooser",t="Up",u="Enter",v="PageDown",w="day#",z="changeLocale",A="Next year",B="ww",C="_applyValue",D="next-month-button",E="next-month-button-tooltip",F="weekday#",G="last-month-button-tooltip",H="datechooser",I="header",J="week",K="lastYear",L="pointerup",M="otherMonth",N="month-year-label",O="nextYear",P="last-year-button",Q="changeShownYear",R="week#",S="qx.dynlocale",T="next-year-button",U="Last month",V="Right",W="Last year",X="MMMM yyyy",Y="EE",bs="week#0",bt="keypress",bu="",bo="navigation-bar",bp="nextMonth",bq="last-year-button-tooltip",br="next-year-button-tooltip",by="Date",bz="tap",bA="pointerdown",bB="date-pane",bv="dbltap",bw="weekend",bx="changeShownMonth";qx.Class.define(s,{extend:qx.ui.core.Widget,include:[qx.ui.core.MExecutable,qx.ui.form.MForm],implement:[qx.ui.form.IExecutable,qx.ui.form.IForm,qx.ui.form.IDateForm],construct:function(bC){qx.ui.core.Widget.call(this);var bF=new qx.ui.layout.VBox();this._setLayout(bF);this._createChildControl(bo);this._createChildControl(bB);this.addListener(bt,this._onKeyPress);var bD=qx.ui.control.DateChooser;if(!bD.MONTH_YEAR_FORMAT){bD.MONTH_YEAR_FORMAT=qx.locale.Date.getDateTimeFormat(d,X);};var bE=(bC!=null)?bC:new Date();this.showMonth(bE.getMonth(),bE.getFullYear());if(qx.core.Environment.get(S)){qx.locale.Manager.getInstance().addListener(z,this._updateDatePane,this);};this.addListener(bA,this._onPointerUpDown,this);this.addListener(L,this._onPointerUpDown,this);},statics:{MONTH_YEAR_FORMAT:null,WEEKDAY_FORMAT:Y,WEEK_FORMAT:B},properties:{appearance:{refine:true,init:H},width:{refine:true,init:200},height:{refine:true,init:150},shownMonth:{check:r,init:null,nullable:true,event:bx},shownYear:{check:r,init:null,nullable:true,event:Q},value:{check:by,init:null,nullable:true,event:n,apply:C}},members:{__pE:null,__pF:null,__pG:null,_forwardStates:{invalid:true},_createChildControlImpl:function(bK,bH){var bG;switch(bK){case bo:bG=new qx.ui.container.Composite(new qx.ui.layout.HBox());bG.add(this.getChildControl(P));bG.add(this.getChildControl(j));bG.add(this.getChildControl(N),{flex:1});bG.add(this.getChildControl(D));bG.add(this.getChildControl(T));this._add(bG);break;case bq:bG=new qx.ui.tooltip.ToolTip(this.tr(W));break;case P:bG=new qx.ui.toolbar.Button();bG.addState(K);bG.setFocusable(false);bG.setToolTip(this.getChildControl(bq));bG.addListener(bz,this._onNavButtonTap,this);break;case G:bG=new qx.ui.tooltip.ToolTip(this.tr(U));break;case j:bG=new qx.ui.toolbar.Button();bG.addState(c);bG.setFocusable(false);bG.setToolTip(this.getChildControl(G));bG.addListener(bz,this._onNavButtonTap,this);break;case E:bG=new qx.ui.tooltip.ToolTip(this.tr(f));break;case D:bG=new qx.ui.toolbar.Button();bG.addState(bp);bG.setFocusable(false);bG.setToolTip(this.getChildControl(E));bG.addListener(bz,this._onNavButtonTap,this);break;case br:bG=new qx.ui.tooltip.ToolTip(this.tr(A));break;case T:bG=new qx.ui.toolbar.Button();bG.addState(O);bG.setFocusable(false);bG.setToolTip(this.getChildControl(br));bG.addListener(bz,this._onNavButtonTap,this);break;case N:bG=new qx.ui.basic.Label();bG.setAllowGrowX(true);bG.setAnonymous(true);break;case J:bG=new qx.ui.basic.Label();bG.setAllowGrowX(true);bG.setAllowGrowY(true);bG.setSelectable(false);bG.setAnonymous(true);bG.setCursor(k);break;case m:bG=new qx.ui.basic.Label();bG.setAllowGrowX(true);bG.setAllowGrowY(true);bG.setSelectable(false);bG.setAnonymous(true);bG.setCursor(k);break;case b:bG=new qx.ui.basic.Label();bG.setAllowGrowX(true);bG.setAllowGrowY(true);bG.setCursor(k);bG.addListener(bA,this._onDayTap,this);bG.addListener(bv,this._onDayDblTap,this);break;case bB:var bJ=new qx.ui.layout.Grid();bG=new qx.ui.container.Composite(bJ);for(var i=0;i<8;i++ ){bJ.setColumnFlex(i,1);};for(var i=0;i<7;i++ ){bJ.setRowFlex(i,1);};var bI=this.getChildControl(bs);bI.addState(I);bG.add(bI,{column:0,row:0});this.__pE=[];for(var i=0;i<7;i++ ){bI=this.getChildControl(F+i);bG.add(bI,{column:i+1,row:0});this.__pE.push(bI);};this.__pF=[];this.__pG=[];for(var y=0;y<6;y++ ){var bI=this.getChildControl(R+(y+1));bG.add(bI,{column:0,row:y+1});this.__pG.push(bI);for(var x=0;x<7;x++ ){var bI=this.getChildControl(w+((y*7)+x));bG.add(bI,{column:x+1,row:y+1});this.__pF.push(bI);};};this._add(bG);break;};return bG||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bK);},_applyValue:function(bN,bM){if((bN!=null)&&(this.getShownMonth()!=bN.getMonth()||this.getShownYear()!=bN.getFullYear())){this.showMonth(bN.getMonth(),bN.getFullYear());}else {var bL=(bN==null)?-1:bN.getDate();for(var i=0;i<6*7;i++ ){var bO=this.__pF[i];if(bO.hasState(M)){if(bO.hasState(p)){bO.removeState(p);};}else {var bP=parseInt(bO.getValue(),10);if(bP==bL){bO.addState(p);}else if(bO.hasState(p)){bO.removeState(p);};};};};},_onPointerUpDown:function(e){var bQ=e.getTarget();if(bQ==this.getChildControl(bo)||bQ==this.getChildControl(bB)){e.stopPropagation();return;};},_onNavButtonTap:function(bS){var bR=this.getShownYear();var bT=this.getShownMonth();switch(bS.getCurrentTarget()){case this.getChildControl(P):bR-- ;break;case this.getChildControl(j):bT-- ;if(bT<0){bT=11;bR-- ;};break;case this.getChildControl(D):bT++ ;if(bT>=12){bT=0;bR++ ;};break;case this.getChildControl(T):bR++ ;break;};this.showMonth(bT,bR);},_onDayTap:function(bU){var bV=bU.getCurrentTarget().dateTime;this.setValue(new Date(bV));},_onDayDblTap:function(){this.execute();},_onKeyPress:function(bY){var ca=null;var cb=null;var bX=null;if(bY.getModifiers()==0){switch(bY.getKeyIdentifier()){case h:ca=-1;break;case V:ca=1;break;case t:ca=-7;break;case q:ca=7;break;case a:cb=-1;break;case v:cb=1;break;case g:if(this.getValue()!=null){this.setValue(null);return;};break;case u:case o:if(this.getValue()!=null){this.execute();};return;};}else if(bY.isShiftPressed()){switch(bY.getKeyIdentifier()){case a:bX=-1;break;case v:bX=1;break;};};if(ca!=null||cb!=null||bX!=null){var bW=this.getValue();if(bW!=null){bW=new Date(bW.getTime());};if(bW==null){bW=new Date();}else {if(ca!=null){bW.setDate(bW.getDate()+ca);};if(cb!=null){bW.setMonth(bW.getMonth()+cb);};if(bX!=null){bW.setFullYear(bW.getFullYear()+bX);};};this.setValue(bW);};},showMonth:function(cc,cd){if((cc!=null&&cc!=this.getShownMonth())||(cd!=null&&cd!=this.getShownYear())){if(cc!=null){this.setShownMonth(cc);};if(cd!=null){this.setShownYear(cd);};this._updateDatePane();};},handleKeyPress:function(e){this._onKeyPress(e);},_updateDatePane:function(){var ct=qx.ui.control.DateChooser;var cq=new Date();var ci=cq.getFullYear();var co=cq.getMonth();var cl=cq.getDate();var cu=this.getValue();var cx=(cu==null)?-1:cu.getFullYear();var cE=(cu==null)?-1:cu.getMonth();var cn=(cu==null)?-1:cu.getDate();var cm=this.getShownMonth();var cB=this.getShownYear();var cj=qx.locale.Date.getWeekStart();var cv=new Date(this.getShownYear(),this.getShownMonth(),1);var cs=new qx.util.format.DateFormat(ct.MONTH_YEAR_FORMAT);this.getChildControl(N).setValue(cs.format(cv));var cD=cv.getDay();var cp=1+((7-cD)%7);var cw=new qx.util.format.DateFormat(ct.WEEKDAY_FORMAT);for(var i=0;i<7;i++ ){var cy=(i+cj)%7;var cA=this.__pE[i];cv.setDate(cp+cy);cA.setValue(cw.format(cv));if(qx.locale.Date.isWeekend(cy)){cA.addState(bw);}else {cA.removeState(bw);};};cv=new Date(cB,cm,1,12,0,0);var cf=(7+cD-cj)%7;cv.setDate(cv.getDate()-cf);var cz=new qx.util.format.DateFormat(ct.WEEK_FORMAT);for(var cr=0;cr<6;cr++ ){this.__pG[cr].setValue(cz.format(cv));for(var i=0;i<7;i++ ){var cA=this.__pF[cr*7+i];var ch=cv.getFullYear();var cg=cv.getMonth();var ck=cv.getDate();var ce=(cx==ch&&cE==cg&&cn==ck);if(ce){cA.addState(p);}else {cA.removeState(p);};if(cg!=cm){cA.addState(M);}else {cA.removeState(M);};var cC=(ch==ci&&cg==co&&ck==cl);if(cC){cA.addState(l);}else {cA.removeState(l);};cA.setValue(bu+ck);cA.dateTime=cv.getTime();cv.setDate(cv.getDate()+1);};};cs.dispose();cw.dispose();cz.dispose();}},destruct:function(){if(qx.core.Environment.get(S)){qx.locale.Manager.getInstance().removeListener(z,this._updateDatePane,this);};this.__pE=this.__pF=this.__pG=null;}});})();(function(){var a="inherit",b="toolbar-button",c="keydown",d="qx.ui.toolbar.Button",e="keyup";qx.Class.define(d,{extend:qx.ui.form.Button,construct:function(f,h,g){qx.ui.form.Button.call(this,f,h,g);this.removeListener(c,this._onKeyDown);this.removeListener(e,this._onKeyUp);},properties:{appearance:{refine:true,init:b},show:{refine:true,init:a},focusable:{refine:true,init:false}},members:{_applyVisibility:function(j,i){qx.ui.form.Button.prototype._applyVisibility.call(this,j,i);var parent=this.getLayoutParent();if(parent&&parent instanceof qx.ui.toolbar.PartContainer){qx.ui.core.queue.Appearance.add(parent);};}}});})();(function(){var a="toolbar/part/container",b="icon",c="label",d="qx.ui.toolbar.PartContainer",e="qx.event.type.Event",f="changeShow",g="both",h="changeChildren";qx.Class.define(d,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this);this._setLayout(new qx.ui.layout.HBox);},events:{changeChildren:e},properties:{appearance:{refine:true,init:a},show:{init:g,check:[g,c,b],inheritable:true,event:f}},members:{_afterAddChild:function(i){this.fireEvent(h);},_afterRemoveChild:function(j){this.fireEvent(h);}}});})();(function(){var a="change",b="qx.ui.form.Form",c="qx.event.type.Event",d="";qx.Class.define(b,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__pH=[];this._buttons=[];this._buttonOptions=[];this._validationManager=this._createValidationManager();this._resetter=this._createResetter();},events:{"change":c},members:{__pH:null,_validationManager:null,_groupCounter:0,_buttons:null,_buttonOptions:null,_resetter:null,add:function(g,f,h,name,e,k){if(this.__pI()){this.__pH.push({title:null,items:[],labels:[],names:[],options:[],headerOptions:{}});};this.__pH[this._groupCounter].items.push(g);this.__pH[this._groupCounter].labels.push(f);this.__pH[this._groupCounter].options.push(k);if(name==null){name=f.replace(/\s+|&|-|\+|\*|\/|\||!|\.|,|:|\?|;|~|%|\{|\}|\(|\)|\[|\]|<|>|=|\^|@|\\/g,d);};this.__pH[this._groupCounter].names.push(name);this._validationManager.add(g,h,e);this._resetter.add(g);this.fireEvent(a);},addGroupHeader:function(m,l){if(!this.__pI()){this._groupCounter++ ;};this.__pH.push({title:m,items:[],labels:[],names:[],options:[],headerOptions:l});this.fireEvent(a);},addButton:function(n,o){this._buttons.push(n);this._buttonOptions.push(o||null);this.fireEvent(a);},__pI:function(){return this.__pH.length===0;},remove:function(p){for(var i=0;i=0;i+=A){C=D[i];if(C.isEnabled()&&!C.isAnonymous()&&C.isVisible()){return C;};};if(E){i=i==length?0:length-1;for(;i!=B;i+=A){C=D[i];if(C.isEnabled()&&!C.isAnonymous()&&C.isVisible()){return C;};};};return null;},_isInMenu:function(F){while(F){if(F instanceof qx.ui.menu.Menu){return true;};F=F.getLayoutParent();};return false;},_isMenuOpener:function(H){var G=this.__lq;for(var i=0;i=0;i-- ){N[i].exclude();};};},getActiveMenu:function(){var O=this.__lq;return O.length>0?O[O.length-1]:null;},scheduleOpen:function(P){this.cancelClose(P);if(P.isVisible()){if(this.__qd){this.cancelOpen(this.__qd);};}else if(this.__qd!=P){this.__qd=P;this.__qb.restartWith(P.getOpenInterval());};},scheduleClose:function(Q){this.cancelOpen(Q);if(!Q.isVisible()){if(this.__qe){this.cancelClose(this.__qe);};}else if(this.__qe!=Q){this.__qe=Q;this.__qc.restartWith(Q.getCloseInterval());};},cancelOpen:function(R){if(this.__qd==R){this.__qb.stop();this.__qd=null;};},cancelClose:function(S){if(this.__qe==S){this.__qc.stop();this.__qe=null;};},_onOpenInterval:function(e){this.__qb.stop();this.__qd.open();this.__qd=null;},_onCloseInterval:function(e){this.__qc.stop();this.__qe.exclude();this.__qe=null;},preventContextMenuOnce:function(){qx.event.Registration.addListener(document.body,h,this.__qf,this,true);},__qf:function(e){var T=e.getTarget();T=qx.ui.core.Widget.getWidgetByElement(T,true);if(this._isInMenu(T)){e.stopPropagation();e.preventDefault();};qx.event.Registration.removeListener(document.body,h,this.__qf,this,true);},_onPointerDown:function(e){var U=e.getTarget();U=qx.ui.core.Widget.getWidgetByElement(U,true);if(U==null){this.hideAll();return;};if(U.getMenu&&U.getMenu()&&U.getMenu().isVisible()){return;};if(this.__lq.length>0&&!this._isInMenu(U)){this.hideAll();};},__qg:{"Enter":1,"Space":1},__oW:{"Escape":1,"Up":1,"Down":1,"Left":1,"Right":1},_onKeyUpDown:function(e){var V=this.getActiveMenu();if(!V){return;};var W=e.getKeyIdentifier();if(this.__oW[W]||(this.__qg[W]&&V.getSelectedButton())){e.stopPropagation();};},_onKeyPress:function(e){var ba=this.getActiveMenu();if(!ba){return;};var X=e.getKeyIdentifier();var bc=this.__oW[X];var Y=this.__qg[X];if(bc){switch(X){case d:this._onKeyPressUp(ba);break;case s:this._onKeyPressDown(ba);break;case q:this._onKeyPressLeft(ba);break;case t:this._onKeyPressRight(ba);break;case m:this.hideAll();break;};e.stopPropagation();e.preventDefault();}else if(Y){var bb=ba.getSelectedButton();if(bb){switch(X){case c:this._onKeyPressEnter(ba,bb,e);break;case w:this._onKeyPressSpace(ba,bb,e);break;};e.stopPropagation();e.preventDefault();};};},_onKeyPressUp:function(bh){var bd=bh.getSelectedButton();var be=bh.getChildren();var bf=bd?bh.indexOf(bd)-1:be.length-1;var bg=this._getChild(bh,bf,-1,true);if(bg){bh.setSelectedButton(bg);}else {bh.resetSelectedButton();};},_onKeyPressDown:function(bi){var bj=bi.getSelectedButton();var bl=bj?bi.indexOf(bj)+1:0;var bk=this._getChild(bi,bl,1,true);if(bk){bi.setSelectedButton(bk);}else {bi.resetSelectedButton();};},_onKeyPressLeft:function(bo){var bq=bo.getOpener();if(!bq){return;};if(bq instanceof qx.ui.menu.AbstractButton){var bn=bq.getLayoutParent();bn.resetOpenedButton();bn.setSelectedButton(bq);}else if(bq instanceof qx.ui.menubar.Button){var br=bq.getMenuBar().getMenuButtons();var bm=br.indexOf(bq);if(bm===-1){return;};var bs=null;var length=br.length;for(var i=1;i<=length;i++ ){var bp=br[(bm-i+length)%length];if(bp.isEnabled()&&bp.isVisible()){bs=bp;break;};};if(bs&&bs!=bq){bs.open(true);};};},_onKeyPressRight:function(bw){var bu=bw.getSelectedButton();if(bu){var bt=bu.getMenu();if(bt){bw.setOpenedButton(bu);var bB=this._getChild(bt,0,1);if(bB){bt.setSelectedButton(bB);};return;};}else if(!bw.getOpenedButton()){var bB=this._getChild(bw,0,1);if(bB){bw.setSelectedButton(bB);if(bB.getMenu()){bw.setOpenedButton(bB);};return;};};var by=bw.getOpener();if(by instanceof qx.ui.menu.Button&&bu){while(by){by=by.getLayoutParent();if(by instanceof qx.ui.menu.Menu){by=by.getOpener();if(by instanceof qx.ui.menubar.Button){break;};}else {break;};};if(!by){return;};};if(by instanceof qx.ui.menubar.Button){var bz=by.getMenuBar().getMenuButtons();var bv=bz.indexOf(by);if(bv===-1){return;};var bA=null;var length=bz.length;for(var i=1;i<=length;i++ ){var bx=bz[(bv+i)%length];if(bx.isEnabled()&&bx.isVisible()){bA=bx;break;};};if(bA&&bA!=by){bA.open(true);};};},_onKeyPressEnter:function(bC,bD,e){if(bD.hasListener(b)){var bE=e.clone();bE.setBubbles(false);bE.setTarget(bD);bD.dispatchEvent(bE);};this.hideAll();},_onKeyPressSpace:function(bF,bG,e){if(bG.hasListener(b)){var bH=e.clone();bH.setBubbles(false);bH.setTarget(bG);bG.dispatchEvent(bH);};},_onRoll:function(e){var bI=e.getTarget();bI=qx.ui.core.Widget.getWidgetByElement(bI,true);if(this.__lq.length>0&&!this._isInMenu(bI)&&!this._isMenuOpener(bI)&&!e.getMomentum()){this.hideAll();};}},destruct:function(){var bK=qx.event.Registration;var bJ=document.body;bK.removeListener(window.document.documentElement,n,this._onPointerDown,this,true);bK.removeListener(bJ,p,this._onKeyUpDown,this,true);bK.removeListener(bJ,u,this._onKeyUpDown,this,true);bK.removeListener(bJ,b,this._onKeyPress,this,true);this._disposeObjects(l,g);this._disposeArray(f);}});})();(function(){var a="hovered",b="inherit",c="pressed",d="mouse",f="qx.ui.menubar.Button",g="keydown",h="menubar-button",i="keyup";qx.Class.define(f,{extend:qx.ui.form.MenuButton,construct:function(k,l,j){qx.ui.form.MenuButton.call(this,k,l,j);this.removeListener(g,this._onKeyDown);this.removeListener(i,this._onKeyUp);},properties:{appearance:{refine:true,init:h},show:{refine:true,init:b},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(m){qx.ui.form.MenuButton.prototype.open.call(this,m);var menubar=this.getMenuBar();if(menubar){menubar._setAllowMenuOpenHover(true);};},_onMenuChange:function(e){var n=this.getMenu();var menubar=this.getMenuBar();if(n.isVisible()){this.addState(c);if(menubar){menubar.setOpenMenu(n);};}else {this.removeState(c);if(menubar&&menubar.getOpenMenu()==n){menubar.resetOpenMenu();menubar._setAllowMenuOpenHover(false);};};},_onPointerUp:function(e){qx.ui.form.MenuButton.prototype._onPointerUp.call(this,e);var o=this.getMenu();if(o&&o.isVisible()&&!this.hasState(c)){this.addState(c);};},_onPointerOver:function(e){this.addState(a);if(this.getMenu()&&e.getPointerType()==d){var menubar=this.getMenuBar();if(menubar&&menubar._isAllowMenuOpenHover()){qx.ui.menu.Manager.getInstance().hideAll();menubar._setAllowMenuOpenHover(true);if(this.isEnabled()){this.open();};};};}}});})();(function(){var a="Boolean",b="changeShow",c="qx.ui.core.Widget",d="_applyOverflowHandling",f="both",g="_applySpacing",h="qx.ui.toolbar.ToolBar",j="qx.event.type.Data",k="Integer",m="showItem",n="Widget must be child of the toolbar.",o="visible",p="changeOpenMenu",q="resize",r="icon",s="_applyOverflowIndicator",t="toolbar",u="qx.ui.menu.Menu",v="Priority already in use!",w="label",x="_applyShow",y="excluded",z="show",A="hideItem";qx.Class.define(h,{extend:qx.ui.core.Widget,include:qx.ui.core.MChildrenHandling,construct:function(){qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.HBox());this.__qh=[];this.__qi=[];},properties:{appearance:{refine:true,init:t},openMenu:{check:u,event:p,nullable:true},show:{init:f,check:[f,w,r],inheritable:true,apply:x,event:b},spacing:{nullable:true,check:k,themeable:true,apply:g},overflowIndicator:{check:c,nullable:true,apply:s},overflowHandling:{init:false,check:a,apply:d}},events:{"hideItem":j,"showItem":j},members:{__qh:null,__qi:null,_computeSizeHint:function(){var D=qx.ui.core.Widget.prototype._computeSizeHint.call(this);if(true&&this.getOverflowHandling()){var B=0;var C=this.getOverflowIndicator();if(C){B=C.getSizeHint().width+this.getSpacing();};D.minWidth=B;};return D;},_onResize:function(e){this._recalculateOverflow(e.getData().width);},_recalculateOverflow:function(F,G){if(!this.getOverflowHandling()){return;};G=G||this.getSizeHint().width;var E=this.getOverflowIndicator();var L=0;if(E){L=E.getSizeHint().width;};if(F==undefined&&this.getBounds()!=null){F=this.getBounds().width;};if(F==undefined){return;};if(FF);}else if(this.__qh.length>0){do {var Q=this.__qh[0];if(Q){var P=Q.getMarginLeft()+Q.getMarginRight();P=Math.max(P,this.getSpacing());if(Q.getContentElement().getDomElement()==null){Q.syncAppearance();Q.invalidateLayoutCache();};var I=Q.getSizeHint().width;var O=false;if(this.__qh.length==1&&L>0){var N=P-this.getSpacing();var M=G-L+I+N;O=F>M;};if(F>G+I+P||O){this.__qj(Q);G+=I;if(E&&this.__qh.length==0){E.setVisibility(y);};}else {return;};};}while(F>=G&&this.__qh.length>0);};},__qj:function(R){R.setVisibility(o);this.__qh.shift();this.fireDataEvent(m,R);},__qk:function(S){if(!S){return;};this.__qh.unshift(S);S.setVisibility(y);this.fireDataEvent(A,S);},_getNextToHide:function(){for(var i=this.__qi.length-1;i>=0;i-- ){var T=this.__qi[i];if(T&&T.getVisibility&&T.getVisibility()==o){return T;};};var U=this._getChildren();for(var i=U.length-1;i>=0;i-- ){var V=U[i];if(V==this.getOverflowIndicator()){continue;};if(V.getVisibility&&V.getVisibility()==o){return V;};};},setRemovePriority:function(X,W,Y){if(!Y&&this.__qi[W]!=undefined){throw new Error(v);};this.__qi[W]=X;},_applyOverflowHandling:function(bc,ba){this.invalidateLayoutCache();var parent=this.getLayoutParent();if(parent){parent.invalidateLayoutCache();};var bb=this.getBounds();if(bb&&bb.width){this._recalculateOverflow(bb.width);};if(bc){this.addListener(q,this._onResize,this);}else {this.removeListener(q,this._onResize,this);var bd=this.getOverflowIndicator();if(bd){bd.setVisibility(y);};for(var i=0;ibm){this._assertSlideBar(function(){this.setHeight(bm-top);});}else {this.setHeight(null);};},_assertSlideBar:function(bp){if(this.hasChildControl(h)){return bp.call(this);};this.__qo=bp;qx.ui.core.queue.Widget.add(this);},syncWidget:function(bq){this.getChildControl(h);if(this.__qo){this.__qo.call(this);delete this.__qo;};},_onResize:function(){if(this.isVisible()){var br=this._placementTarget;if(!br){return;}else if(br instanceof qx.ui.core.Widget){this.placeToWidget(br,true);}else if(br.top!==undefined){this.placeToPoint(br);}else {throw new Error(y+br);};this.__qq();};},_onPointerOver:function(e){var bt=qx.ui.menu.Manager.getInstance();bt.cancelClose(this);var bu=e.getTarget();if(bu.isEnabled()&&bu instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(bu);var bs=bu.getMenu&&bu.getMenu();if(bs){bs.setOpener(bu);bt.scheduleOpen(bs);this.__qn=bs;}else {var bv=this.getOpenedButton();if(bv){bt.scheduleClose(bv.getMenu());};if(this.__qn){bt.cancelOpen(this.__qn);this.__qn=null;};};}else if(!this.getOpenedButton()){this.resetSelectedButton();};},_onPointerOut:function(e){var bw=qx.ui.menu.Manager.getInstance();if(!qx.ui.core.Widget.contains(this,e.getRelatedTarget())){var bx=this.getOpenedButton();bx?this.setSelectedButton(bx):this.resetSelectedButton();if(bx){bw.cancelClose(bx.getMenu());};if(this.__qn){bw.cancelOpen(this.__qn);};};}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){qx.ui.menu.Manager.getInstance().remove(this);};this.getApplicationRoot().removeListener(n,this._onResize,this);this._placementTarget=null;this._disposeObjects(o);}});})();(function(){var a="menu-separator",b="qx.ui.menu.Separator";qx.Class.define(b,{extend:qx.ui.core.Widget,properties:{appearance:{refine:true,init:a},anonymous:{refine:true,init:true}}});})();(function(){var a="button-backward",b="vertical",c="button-forward",d="menu-slidebar",e="qx.ui.menu.MenuSlideBar",f="execute";qx.Class.define(e,{extend:qx.ui.container.SlideBar,construct:function(){qx.ui.container.SlideBar.call(this,b);},properties:{appearance:{refine:true,init:d}},members:{_createChildControlImpl:function(i,h){var g;switch(i){case c:g=new qx.ui.form.HoverButton();g.addListener(f,this._onExecuteForward,this);this._addAt(g,2);break;case a:g=new qx.ui.form.HoverButton();g.addListener(f,this._onExecuteBackward,this);this._addAt(g,0);break;};return g||qx.ui.container.SlideBar.prototype._createChildControlImpl.call(this,i);}}});})();(function(){var a="qx.ui.menu.Layout",b="Integer",c="_applyLayoutChange";qx.Class.define(a,{extend:qx.ui.layout.VBox,properties:{columnSpacing:{check:b,init:0,apply:c},spanColumn:{check:b,init:1,nullable:true,apply:c},iconColumnWidth:{check:b,init:0,themeable:true,apply:c},arrowColumnWidth:{check:b,init:0,themeable:true,apply:c}},members:{__qr:null,_computeSizeHint:function(){var q=this._getLayoutChildren();var o,g,k;var e=this.getSpanColumn();var j=this.__qr=[0,0,0,0];var n=this.getColumnSpacing();var m=0;var f=0;for(var i=0,l=q.length;i0){u+=q[i]+m;};};},__qs:function(v){while(!(v instanceof qx.ui.menu.Menu)){v=v.getLayoutParent();};return v;},_computeSizeHint:function(){var y=this._getLayoutChildren();var x=0;var z=0;for(var i=0,l=y.length;i=0;i-- ){this.__qt.remove(y[i]);};return this._removeAll();},getSelection:function(){return this.__qt.getSelection();},setSelection:function(z){this.__qt.setSelection(z);},resetSelection:function(){this.__qt.resetSelection();},isSelected:function(A){return this.__qt.isSelected(A);},isSelectionEmpty:function(){return this.__qt.isSelectionEmpty();},getSelectables:function(B){return this.__qt.getSelectables(B);}},destruct:function(){this._disposeObjects(g);}});})();(function(){var a="hovered",b="Enter",c="pressed",d="one",f="pointerover",g="changeLabel",h="changeIcon",i="Space",j="abandoned",k="key",l="list",m="keyinput",n="arrow",o="changeSelection",p="quick",q="",r="qx.ui.form.SelectBox",s="spacer",t="selectbox",u="popup",v=" ",w="tap",x="pointerout",y="atom";qx.Class.define(r,{extend:qx.ui.form.AbstractSelectBox,implement:[qx.ui.core.ISingleSelection,qx.ui.form.IModelSelection],include:[qx.ui.core.MSingleSelectionHandling,qx.ui.form.MModelSelection],construct:function(){qx.ui.form.AbstractSelectBox.call(this);this._createChildControl(y);this._createChildControl(s);this._createChildControl(n);this.addListener(f,this._onPointerOver,this);this.addListener(x,this._onPointerOut,this);this.addListener(w,this._onTap,this);this.addListener(m,this._onKeyInput,this);this.addListener(o,this.__nS,this);},properties:{appearance:{refine:true,init:t}},members:{__pd:null,_createChildControlImpl:function(B,A){var z;switch(B){case s:z=new qx.ui.core.Spacer();this._add(z,{flex:1});break;case y:z=new qx.ui.basic.Atom(v);z.setCenter(false);z.setAnonymous(true);this._add(z,{flex:1});break;case n:z=new qx.ui.basic.Image();z.setAnonymous(true);this._add(z);break;};return z||qx.ui.form.AbstractSelectBox.prototype._createChildControlImpl.call(this,B);},_forwardStates:{focused:true},_getItems:function(){return this.getChildrenContainer().getChildren();},_isAllowEmptySelection:function(){return this.getChildrenContainer().getSelectionMode()!==d;},__nS:function(e){var D=e.getData()[0];var C=this.getChildControl(l);if(C.getSelection()[0]!=D){if(D){C.setSelection([D]);}else {C.resetSelection();};};this.__qu();this.__qv();},__qu:function(){var F=this.getChildControl(l).getSelection()[0];var E=this.getChildControl(y);var G=F?F.getIcon():q;G==null?E.resetIcon():E.setIcon(G);},__qv:function(){var J=this.getChildControl(l).getSelection()[0];var H=this.getChildControl(y);var I=J?J.getLabel():q;var K=this.getFormat();if(K!=null){I=K.call(this,J);};if(I&&I.translate){I=I.translate();};I==null?H.resetLabel():H.setLabel(I);},_onPointerOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;};if(this.hasState(j)){this.removeState(j);this.addState(c);};this.addState(a);},_onPointerOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;};this.removeState(a);if(this.hasState(c)){this.removeState(c);this.addState(j);};},_onTap:function(e){this.toggle();},_onKeyPress:function(e){var L=e.getKeyIdentifier();if(L==b||L==i){if(this.__pd){this.setSelection([this.__pd]);this.__pd=null;};this.toggle();}else {qx.ui.form.AbstractSelectBox.prototype._onKeyPress.call(this,e);};},_onKeyInput:function(e){var M=e.clone();M.setTarget(this._list);M.setBubbles(false);this.getChildControl(l).dispatchEvent(M);},_onListPointerDown:function(e){if(this.__pd){this.setSelection([this.__pd]);this.__pd=null;};},_onListChangeSelection:function(e){var Q=e.getData();var O=e.getOldData();if(O&&O.length>0){O[0].removeListener(h,this.__qu,this);O[0].removeListener(g,this.__qv,this);};if(Q.length>0){var N=this.getChildControl(u);var P=this.getChildControl(l);var R=P.getSelectionContext();if(N.isVisible()&&(R==p||R==k)){this.__pd=Q[0];}else {this.setSelection([Q[0]]);this.__pd=null;};Q[0].addListener(h,this.__qu,this);Q[0].addListener(g,this.__qv,this);}else {this.resetSelection();};},_onPopupChangeVisibility:function(e){qx.ui.form.AbstractSelectBox.prototype._onPopupChangeVisibility.call(this,e);var T=this.getChildControl(u);if(!T.isVisible()){var V=this.getChildControl(l);if(V.hasChildren()){V.setSelection(this.getSelection());};}else {var S=T.getLayoutLocation(this);var X=qx.bom.Viewport.getHeight();var W=S.top;var Y=X-S.bottom;var U=W>Y?W:Y;var ba=this.getMaxListHeight();var V=this.getChildControl(l);if(ba==null||ba>U){V.setMaxHeight(U);}else if(babc){this.setMinimum(bc);};if(this.getValue()>bc){this.setValue(bc);}else {this._updateButtons();};},_applyEnabled:function(be,bd){qx.ui.core.Widget.prototype._applyEnabled.call(this,be,bd);this._updateButtons();},_checkValue:function(bf){return typeof bf===s&&bf>=this.getMinimum()&&bf<=this.getMaximum();},_applyValue:function(bi,bh){var bg=this.getChildControl(t);this._updateButtons();this.__qw=bi;if(bi!==null){if(this.getNumberFormat()){bg.setValue(this.getNumberFormat().format(bi));}else {bg.setValue(bi+r);};}else {bg.setValue(r);};},_applyEditable:function(bl,bk){var bj=this.getChildControl(t);if(bj){bj.setReadOnly(!bl);};},_applyWrap:function(bn,bm){this._updateButtons();},_applyNumberFormat:function(bq,bp){var bo=this.getChildControl(t);bo.setFilter(this._getFilterRegExp());var br=this.getNumberFormat();if(br!==null){br.addListener(F,this._onChangeNumberFormat,this);};this._applyValue(this.__qw,undefined);},_getContentPaddingTarget:function(){return this.getChildControl(t);},_updateButtons:function(){var bt=this.getChildControl(y);var bs=this.getChildControl(q);var bu=this.getValue();if(!this.getEnabled()){bt.setEnabled(false);bs.setEnabled(false);}else {if(this.getWrap()){bt.setEnabled(true);bs.setEnabled(true);}else {if(bu!==null&&buthis.getMinimum()){bs.setEnabled(true);}else {bs.setEnabled(false);};};};},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case a:this.__qx=true;case p:this.getChildControl(y).press();break;case m:this.__qy=true;case h:this.getChildControl(q).press();break;default:return;};e.stopPropagation();e.preventDefault();},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case a:this.getChildControl(y).release();this.__qx=false;break;case p:this.getChildControl(y).release();break;case m:this.getChildControl(q).release();this.__qy=false;break;case h:this.getChildControl(q).release();break;};},_onRoll:function(e){if(e.getPointerType()!=D){return;};var bv=e.getDelta().y;if(bv<0){this._countUp();}else if(bv>0){this._countDown();};e.stop();},_onTextChange:function(e){var bw=this.getChildControl(t);var bx;if(this.getNumberFormat()){try{bx=this.getNumberFormat().parse(bw.getValue());}catch(by){};};if(bx===undefined){bx=parseFloat(bw.getValue());};if(!isNaN(bx)){if(bx>this.getMaximum()){bx=this.getMaximum();}else if(bxthis.getMaximum()){var bD=this.getMaximum()-bE;bE=this.getMinimum()-bD-1;};};this.gotoValue(bE);},_countDown:function(){if(this.__qy){var bG=this.getValue()-this.getPageStep();}else {var bG=this.getValue()-this.getSingleStep();};if(this.getWrap()){if(bGN){this.getContentElement().setStyle(G,k);}else {this.getContentElement().setStyle(G,F);};};var P=Math.max(Q,this.__qC);this._setAreaHeight(P);}else {this.getContentElement().addListenerOnce(u,function(){this.__qD();},this);};};},_getAreaHeight:function(){return this.getInnerSize().height;},_setAreaHeight:function(R){if(this._getAreaHeight()!==R){this.__qB=R;qx.ui.core.queue.Layout.add(this);qx.ui.core.queue.Manager.flush();this.__qH();};},_getScrolledAreaHeight:function(){var T=this.__qE();var S=T.getDomElement();if(S){if(!S.parentNode){qx.html.Element.flush();return this._getScrolledAreaHeight();};if(qx.core.Environment.get(A)===C||(qx.core.Environment.get(A)==z)){T.setWrap(!this.getWrap(),true);};T.setWrap(this.getWrap(),true);if(qx.core.Environment.get(A)===C||(qx.core.Environment.get(A)==z)){S.style.overflow=F;};if(qx.core.Environment.get(A)==z&&qx.core.Environment.get(q)>=8){S.style.overflow=p;S.style.overflowX=F;};T.setValue(this.getValue()||r);if(qx.core.Environment.get(A)==z){S.style.height=k;qx.html.Element.flush();S.style.height=l;};this.__qG(T);if(qx.core.Environment.get(A)==z&&qx.core.Environment.get(q)==8){if(!S.scrollTop){qx.html.Element.flush();};};return S.scrollTop;};},__qE:function(){this.__qA=this.__qA||this.__qF();return this.__qA;},__qF:function(){var W,V,X,U;W=this.getContentElement();if(!W.getDomElement()){return null;};X=qx.bom.Element.clone(W.getDomElement());U=new qx.html.Input(j);U.useElement(X);V=U;V.setStyles({position:H,top:0,left:m,height:0,overflow:F},true);V.removeAttribute(E);V.removeAttribute(w);V.setAttribute(v,g);V.setValue(W.getValue()||r);V.insertBefore(W);this.__qG(V);return V;},__qG:function(Y){Y=Y.getDomElement();if(Y){Y.scrollTop=10000;};},_createInputElement:function(){return new qx.html.Input(j,{overflowX:k,overflowY:k});},_applyWrap:function(bc,ba){this.getContentElement().setWrap(bc);if(this._placeholder){var bb=bc?y:d;this._placeholder.setStyle(o,bb);};this.__qD();},_applyMinimalLineHeight:function(){qx.ui.core.queue.Layout.add(this);},_applyAutoSize:function(be,bd){{};if(be){this.__qD();this.addListener(a,this.__qD,this);if(!this.getBounds()){this.addListenerOnce(u,function(){this.getContentElement().setStyle(G,F);});}else {this.getContentElement().setStyle(G,F);};}else {this.removeListener(a,this.__qD);this.getContentElement().setStyle(G,k);};},_applyDimension:function(bf){qx.ui.form.AbstractField.prototype._applyDimension.call(this);{};if(bf===this.getMaxHeight()){this.__qD();};},__qH:function(){var content=this.getContentElement();var bh=content.getDomElement();var bg=content.getStyle(s);content.setStyle(s,parseInt(bg,10)+1000+c,true);if(bh){qx.bom.element.Dimension.getWidth(bh);};content.setStyle(s,bg,true);},__qI:function(){if(this.isAutoSize()&&this.getHeight()){this.warn(x);};},_getContentHint:function(){var bi=qx.ui.form.AbstractField.prototype._getContentHint.call(this);bi.height=bi.height*this.getMinimalLineHeight();bi.width=this._getTextSize().width*20;if(this.isAutoSize()){bi.height=this.__qB||bi.height;};return bi;}},destruct:function(){this.setAutoSize(false);if(this.__qA){this.__qA.dispose();};}});})();(function(){var a="changeModel",b="changeLabelOptions",c="blur",d="_applyDelegate",e="_applyLabelPath",f="popupOpen",g="qx.data.Array",h="qx.ui.form.core.AbstractVirtualBox",i="changeIconOptions",j="_applyLabelOptions",k="Down",l="Integer",m="_applyModel",n="open",o="Up",p="",q="_applyMaxListHeight",r="visible",s="middle",t="_applyIconPath",u="resize",v="list",w="changeDelegate",x="changeVisibility",y="close",z="changeLabelPath",A="dropdown",B="keypress",C="changeIconPath",D="_applyRowHeight",E="abstract",F="Number",G="String",H="Escape",I="_applyIconOptions",J="tap",K=".",L="[0]";qx.Class.define(h,{extend:qx.ui.core.Widget,include:qx.ui.form.MForm,implement:qx.ui.form.IForm,type:E,construct:function(M){qx.ui.core.Widget.call(this);var N=new qx.ui.layout.HBox();this._setLayout(N);N.setAlignY(s);this.addListener(B,this._handleKeyboard,this);this.addListener(J,this._handlePointer,this);this.addListener(c,this._onBlur,this);this.addListener(u,this._onResize,this);this._createChildControl(A);if(M!=null){this.initModel(M);}else {this.__qJ=new qx.data.Array();this.initModel(this.__qJ);};},properties:{focusable:{refine:true,init:true},width:{refine:true,init:120},model:{check:g,apply:m,event:a,nullable:false,deferredInit:true},delegate:{apply:d,event:w,init:null,nullable:true},labelPath:{check:G,apply:e,event:z,nullable:true},labelOptions:{apply:j,event:b,nullable:true},iconPath:{check:G,event:C,apply:t,nullable:true},iconOptions:{apply:I,event:i,nullable:true},itemHeight:{check:l,init:25,apply:D,themeable:true},maxListHeight:{check:F,apply:q,nullable:true,init:200}},members:{__qJ:null,_forwardStates:{focused:true,invalid:true},refresh:function(){this.getChildControl(A).getChildControl(v).refresh();qx.ui.core.queue.Widget.add(this);},open:function(){this._beforeOpen();this.getChildControl(A).open();},close:function(){this._beforeClose();this.getChildControl(A).close();},toggle:function(){var O=this.getChildControl(A);if(O.isVisible()){this.close();}else {this.open();};},_createChildControlImpl:function(R,Q){var P;switch(R){case A:P=new qx.ui.form.core.VirtualDropDownList(this);P.addListener(x,this._onPopupChangeVisibility,this);break;};return P||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,R,Q);},_beforeOpen:function(){},_beforeClose:function(){},_getAction:function(event){var S=event.getKeyIdentifier();var U=this.getChildControl(A).isVisible();var T=this._isModifierPressed(event);if(!U&&!T&&(S===k||S===o)){return n;}else if(U&&!T&&S===H){return y;}else {return null;};},_getBindPath:function(W,X){var V=W+L;if(X!=null&&X!=p){V+=K+X;};return V;},_isModifierPressed:function(event){var bc=event.isAltPressed();var bb=event.isCtrlOrCommandPressed();var Y=event.isShiftPressed();var ba=event.isMetaPressed();return (bc||bb||Y||ba);},_onBlur:function(event){this.close();},_handleKeyboard:function(event){var bd=this._getAction(event);var be=this.getChildControl(A).isVisible();switch(bd){case n:this.open();break;case y:this.close();break;default:if(be){this.getChildControl(A)._handleKeyboard(event);};break;};},_handlePointer:function(event){},_onResize:function(event){this.getChildControl(A).setMinWidth(event.getData().width);},_onPopupChangeVisibility:function(event){event.getData()==r?this.addState(f):this.removeState(f);},_applyModel:function(bg,bf){this.getChildControl(A).getChildControl(v).setModel(bg);qx.ui.core.queue.Widget.add(this);},_applyDelegate:function(bi,bh){this.getChildControl(A).getChildControl(v).setDelegate(bi);},_applyLabelPath:function(bk,bj){this.getChildControl(A).getChildControl(v).setLabelPath(bk);qx.ui.core.queue.Widget.add(this);},_applyLabelOptions:function(bm,bl){this.getChildControl(A).getChildControl(v).setLabelOptions(bm);qx.ui.core.queue.Widget.add(this);},_applyIconPath:function(bo,bn){this.getChildControl(A).getChildControl(v).setIconPath(bo);qx.ui.core.queue.Widget.add(this);},_applyIconOptions:function(bq,bp){this.getChildControl(A).getChildControl(v).setIconOptions(bq);qx.ui.core.queue.Widget.add(this);},_applyRowHeight:function(bs,br){this.getChildControl(A).getChildControl(v).setItemHeight(bs);},_applyMaxListHeight:function(bu,bt){this.getChildControl(A).getChildControl(v).setMaxHeight(bu);}},destruct:function(){if(this.__qJ){this.__qJ.dispose();};}});})();(function(){var a="changeModel",b="one",c="Enter",d="list",e="changeDelegate",f="change",g="qx.data.Array",h="changeVisibility",j="qx.ui.form.core.VirtualDropDownList",k="_applySelection",l="changeSelection",m="tap",n="Invalid parameter 'target'!",o="qx.event.type.Data";qx.Class.define(j,{extend:qx.ui.popup.Popup,construct:function(p){qx.core.Assert.assertNotNull(p,n);qx.core.Assert.assertNotUndefined(p,n);qx.core.Assert.assertInterface(p,qx.ui.form.core.AbstractVirtualBox,n);qx.ui.popup.Popup.call(this,new qx.ui.layout.VBox());this._target=p;this._createChildControl(d);this.addListener(h,this.__qN,this);this.__qK=new qx.data.Array();this.initSelection(this.__qK);},properties:{autoHide:{refine:true,init:false},keepActive:{refine:true,init:true},selection:{check:g,event:l,apply:k,nullable:false,deferredInit:true}},events:{"changeSelection":o},members:{_target:null,_preselected:null,__qL:false,__qM:false,__qK:null,open:function(){this.placeToWidget(this._target,true);this.show();},close:function(){this.hide();},setPreselected:function(q){this._preselected=q;this.__qM=true;var s=this.getChildControl(d).getSelection();var r=new qx.data.Array([q]);this.__qP(r,s);r.dispose();this.__qM=false;},_createChildControlImpl:function(v,u){var t;switch(v){case d:t=new qx.ui.list.List().set({focusable:false,keepFocus:true,height:null,width:null,maxHeight:this._target.getMaxListHeight(),selectionMode:b,quickSelection:true});t.getSelection().addListener(f,this._onListChangeSelection,this);t.addListener(m,this._handlePointer,this);t.addListener(a,this._onChangeModel,this);t.addListener(e,this._onChangeDelegate,this);this.add(t,{flex:1});break;};return t||qx.ui.popup.Popup.prototype._createChildControlImpl.call(this,v,u);},_handleKeyboard:function(event){if(this.isVisible()&&event.getKeyIdentifier()===c){this.__qO();return;};var w=event.clone();w.setTarget(this.getChildControl(d));w.setBubbles(false);this.getChildControl(d).dispatchEvent(w);},_handlePointer:function(event){this.__qO();},__nS:function(event){if(this.__qL){return;};var x=this.getSelection();var y=this.getChildControl(d).getSelection();this.__qM=true;this.__qP(x,y);this.__qM=false;this.__qL=true;this.__qP(y,x);this.__qL=false;},_onListChangeSelection:function(event){if(this.__qM){return;};var z=this.getChildControl(d).getSelection();if(this.isVisible()){this.setPreselected(z.getItem(0));}else {this.__qL=true;this.__qP(z,this.getSelection());this.__qL=false;};},__qN:function(event){if(this.isVisible()){if(this._preselected==null){var A=this.getSelection();var B=this.getChildControl(d).getSelection();this.__qP(A,B);};this.__qQ();}else {this.setPreselected(null);};},_onChangeModel:function(event){this.getSelection().removeAll();},_onChangeDelegate:function(event){this.getSelection().removeAll();},_applySelection:function(D,C){D.addListener(f,this.__nS,this);if(C!=null){C.removeListener(f,this.__nS,this);};this.__qP(D,this.getChildControl(d).getSelection(D));},__qO:function(){if(this._preselected!=null){var E=this.getSelection();E.splice(0,1,this._preselected);this._preselected=null;this.close();};},__qP:function(F,H){if(F.equals(H)){return;};if(F.getLength()<=0){H.removeAll();}else {var G=H.toArray();qx.lang.Array.removeAll(G);for(var i=0;iJ){K.setMaxHeight(J);}else if(LO?P:O;}},destruct:function(){if(this.__qK){this.__qK.dispose();};}});})();(function(){var a="one",b="Boolean",c="qx.ui.virtual.selection.MModel",d="qx.data.Array",f="multi",g="selected",h="_applySelection",j="change",k="_applyDragSelection",l="single",m="_applyQuickSelection",n="changeSelection",o="_applySelectionMode",p="additive",q="qx.event.type.Data";qx.Mixin.define(c,{construct:function(){this._initSelectionManager();this.__qK=new qx.data.Array();this.initSelection(this.__qK);},properties:{selection:{check:d,event:n,apply:h,nullable:false,deferredInit:true},selectionMode:{check:[l,f,p,a],init:l,apply:o},dragSelection:{check:b,init:false,apply:k},quickSelection:{check:b,init:false,apply:m}},events:{"changeSelection":q},members:{_manager:null,__qU:false,__qV:false,__qK:null,_initSelectionManager:function(){var self=this;var r={isItemSelectable:function(s){return self._provider.isSelectable(s);},styleSelectable:function(t,u,v){if(u!=g){return;};if(v){self._provider.styleSelectabled(t);}else {self._provider.styleUnselectabled(t);};}};this._manager=new qx.ui.virtual.selection.Row(this.getPane(),r);this._manager.attachPointerEvents(this.getPane());this._manager.attachKeyEvents(this);this._manager.addListener(n,this._onManagerChangeSelection,this);},setAutoScrollIntoView:function(w){this._manager._autoScrollIntoView=w;},getAutoScrollIntoView:function(){return this._manager._autoScrollIntoView;},_updateSelection:function(){if(this._manager==null){return;};this._onChangeSelection();},_applySelection:function(y,x){y.addListener(j,this._onChangeSelection,this);if(x!=null){x.removeListener(j,this._onChangeSelection,this);};this._onChangeSelection();},_applySelectionMode:function(A,z){this._manager.setMode(A);},_applyDragSelection:function(C,B){this._manager.setDrag(C);},_applyQuickSelection:function(E,D){this._manager.setQuick(E);},_onChangeSelection:function(e){if(this.__qV==true){return;};this.__qU=true;var G=this.getSelection();var I=[];for(var i=0;i=0){I.push(K);};};if(this._beforeApplySelection!=null&&qx.lang.Type.isFunction(this._beforeApplySelection)){this._beforeApplySelection(I);};try{if(!qx.lang.Array.equals(I,this._manager.getSelection())){this._manager.replaceSelection(I);};}catch(L){this._manager.selectItem(I[I.length-1]);};this.__qP();if(this._afterApplySelection!=null&&qx.lang.Type.isFunction(this._afterApplySelection)){this._afterApplySelection();};this.__qU=false;},_onManagerChangeSelection:function(e){if(this.__qU==true){return;};this.__qV=true;this.__qP();this.__qV=false;},__qP:function(){if(this.__qX()){return;};var M=this._manager.getSelection();var N=[];for(var i=0;i0){var P=[0,Q.getLength()];P=P.concat(R);var S=Q.splice.apply(Q,P);S.dispose();}else {Q.removeAll();};},__qX:function(){var U=this.getSelection();var W=this._manager.getSelection();if(U.getLength()!==W.length){return false;};for(var i=0;iG){I=G;};if(this.__rb!==I){var H=this.__rb;this.__rb=I;this._deferredUpdateScrollPosition();this.fireDataEvent(h,I,H);};},getScrollY:function(){return this.__rb;},setScrollX:function(L){var J=this.getScrollMaxX();if(L<0){L=0;}else if(L>J){L=J;};if(L!==this.__rc){var K=this.__rc;this.__rc=L;this._deferredUpdateScrollPosition();this.fireDataEvent(g,L,K);};},getScrollX:function(){return this.__rc;},getScrollSize:function(){return {width:this.__ra.getTotalSize(),height:this.__qY.getTotalSize()};},scrollRowIntoView:function(O){var P=this.getBounds();if(!P){this.addListenerOnce(l,function(){qx.event.Timer.once(function(){this.scrollRowIntoView(O);},this,0);},this);return;};var Q=this.__qY.getItemPosition(O);var N=Q+this.__qY.getItemSize(O);var M=this.getScrollY();if(QM+P.height){this.setScrollY(N-P.height);};},scrollColumnIntoView:function(R){var U=this.getBounds();if(!U){this.addListenerOnce(l,function(){qx.event.Timer.once(function(){this.scrollColumnIntoView(R);},this,0);},this);return;};var T=this.__ra.getItemPosition(R);var S=T+this.__ra.getItemSize(R);var V=this.getScrollX();if(TV+U.width){this.setScrollX(S-U.width);};},scrollCellIntoView:function(W,Y){var X=this.getBounds();if(!X){this.addListenerOnce(l,function(){qx.event.Timer.once(function(){this.scrollCellIntoView(W,Y);},this,0);},this);return;};this.scrollColumnIntoView(W);this.scrollRowIntoView(Y);},getCellAtPosition:function(ba,bb){var be,bd;var bc=this.getContentLocation();if(!bc||bb=bc.bottom||ba=bc.right){return null;};be=this.__qY.getItemAtPosition(this.getScrollY()+bb-bc.top);bd=this.__ra.getItemAtPosition(this.getScrollX()+ba-bc.left);if(!be||!bd){return null;};return {row:be.index,column:bd.index};},prefetchX:function(bi,bl,bj,bh){var bf=this.getVisibleLayers();if(bf.length==0){return;};var bk=this.getBounds();if(!bk){return;};var bm=this.__rc+bk.width;var bn=this.__re-bm;if(this.__rc-this.__rf.left=ca.bottom&&this.__rf.left<=ca.left&&this.__rf.right>=ca.right){this.__rg.setUserBounds((this.getPaddingLeft()||0)+(this.__rf.left-ca.left),(this.getPaddingTop()||0)+(this.__rf.top-ca.top),this.__rf.right-this.__rf.left,this.__rf.bottom-this.__rf.top);}else {this._setLayerWindow(bY,this.__rc,this.__rb,cb.width,cb.height,false);};this.__rm();}},destruct:function(){this._disposeArray(c);this._disposeObjects(v,p,m);this.__rf=this.__iv=this.__qr=this.__rj=null;}});})();(function(){var a="qx.ui.virtual.core.ILayer";qx.Interface.define(a,{members:{fullUpdate:function(d,e,c,b){this.assertArgumentsCount(arguments,6,6);this.assertPositiveInteger(d);this.assertPositiveInteger(e);this.assertArray(c);this.assertArray(b);},updateLayerWindow:function(h,i,g,f){this.assertArgumentsCount(arguments,6,6);this.assertPositiveInteger(h);this.assertPositiveInteger(i);this.assertArray(g);this.assertArray(f);},updateLayerData:function(){}}});})();(function(){var a="qx.ui.virtual.core.CellEvent",b="Integer";qx.Class.define(a,{extend:qx.event.type.Pointer,properties:{row:{check:b,nullable:true},column:{check:b,nullable:true}},members:{init:function(e,c,f,d){c.clone(this);this.setBubbles(false);this.setRow(f);this.setColumn(d);}}});})();(function(){var c="change",d="qx.event.type.Event",e="qx.ui.virtual.core.Axis";qx.Class.define(e,{extend:qx.core.Object,construct:function(f,g){qx.core.Object.call(this);this.itemCount=g;this.defaultItemSize=f;this.customSizes={};},events:{"change":d},members:{__rn:null,getDefaultItemSize:function(){return this.defaultItemSize;},setDefaultItemSize:function(h){if(this.defaultItemSize!==h){this.defaultItemSize=h;this.__rn=null;this.fireNonBubblingEvent(c);};},getItemCount:function(){return this.itemCount;},setItemCount:function(j){if(this.itemCount!==j){this.itemCount=j;this.__rn=null;this.fireNonBubblingEvent(c);};},setItemSize:function(k,l){{};if(this.customSizes[k]==l){return;};if(l===null){delete this.customSizes[k];}else {this.customSizes[k]=l;};this.__rn=null;this.fireNonBubblingEvent(c);},getItemSize:function(m){return this.customSizes[m]||this.defaultItemSize;},resetItemSizes:function(){this.customSizes={};this.__rn=null;this.fireNonBubblingEvent(c);},__ro:function(){if(this.__rn){return this.__rn;};var q=this.defaultItemSize;var o=this.itemCount;var w=[];for(var t in this.customSizes){var n=parseInt(t,10);if(nb?1:-1;});var s=[];var p=0;for(var i=0;i=o){break;};var v=this.customSizes[n];var r=n*q+p;p+=v-q;s[i]={startIndex:n,firstItemSize:v,rangeStart:r};if(i>0){s[i-1].rangeEnd=r-1;s[i-1].endIndex=n-1;};};if(s[0].rangeStart>0){s.unshift({startIndex:0,endIndex:s[0].startIndex-1,firstItemSize:q,rangeStart:0,rangeEnd:s[0].rangeStart-1});};var x=s[s.length-1];var u=(o-x.startIndex-1)*q;x.rangeEnd=x.rangeStart+x.firstItemSize+u-1;x.endIndex=o-1;this.__rn=s;return s;},__rp:function(D){var z=this.__rn||this.__ro();var A=0;var y=z.length-1;while(true){var C=A+((y-A)>>1);var B=z[C];if(B.rangeEndD){y=C-1;}else {return B;};};},getItemAtPosition:function(I){if(I<0||I>=this.getTotalSize()){return null;};var H=this.__rp(I);var J=H.rangeStart;var E=H.startIndex;var G=H.firstItemSize;if(J+G>I){return {index:E,offset:I-J};}else {var F=this.defaultItemSize;return {index:E+1+Math.floor((I-J-G)/F),offset:(I-J-G)%F};};},__rq:function(K){var M=this.__rn||this.__ro();var N=0;var L=M.length-1;while(true){var P=N+((L-N)>>1);var O=M[P];if(O.endIndexK){L=P-1;}else {return O;};};},getItemPosition:function(Q){if(Q<0||Q>=this.itemCount){return null;};var R=this.__rq(Q);if(R.startIndex==Q){return R.rangeStart;}else {return R.rangeStart+R.firstItemSize+(Q-R.startIndex-1)*this.defaultItemSize;};},getTotalSize:function(){var S=this.__rn||this.__ro();return S[S.length-1].rangeEnd+1;},getItemSizes:function(Y,T){var X=this.customSizes;var W=this.defaultItemSize;var V=0;var U=[];var i=0;while(V=this.itemCount){break;};};return U;}},destruct:function(){this.customSizes=this.__rn=null;}});})();(function(){var a="qx.ui.virtual.selection.Row",b="above",c="under";qx.Class.define(a,{extend:qx.ui.virtual.selection.Abstract,members:{_getItemCount:function(){return this._pane.getRowConfig().getItemCount();},_getSelectableFromPointerEvent:function(event){var d=this._pane.getCellAtPosition(event.getDocumentLeft(),event.getDocumentTop());if(!d){return null;};return this._isSelectable(d.row)?d.row:null;},getSelectables:function(f){var e=[];for(var i=0,l=this._getItemCount();i=0;i-- ){if(this._isSelectable(i)){return i;};};return null;},_getRelatedSelectable:function(q,s){if(s==b){var r=q-1;var p=0;var t=-1;}else if(s==c){var r=q+1;var p=this._getItemCount()-1;var t=1;}else {return null;};for(var i=r;i!==p+t;i+=t){if(this._isSelectable(i)){return i;};};return null;},_getPage:function(v,u){if(u){return this._getFirstSelectable();}else {return this._getLastSelectable();};},_selectableToHashCode:function(w){return w;},_scrollItemIntoView:function(x){if(this._autoScrollIntoView){this._pane.scrollRowIntoView(x);};},_getSelectableLocationX:function(y){return {left:0,right:this._pane.getColumnConfig().getTotalSize()-1};},_getSelectableLocationY:function(z){var C=this._pane.getRowConfig();var B=C.getItemPosition(z);var A=B+C.getItemSize(z)-1;return {top:B,bottom:A};}}});})();(function(){var a="scrollY",b="The method 'getItemRight' is not implemented!",c="update",d="scrollX",f="The method 'getItemLeft' is not implemented!",g="The method 'getItemBottom' is not implemented!",h="The method 'getItemTop' is not implemented!",i="pane",j="os.scrollBarOverlayed",k="qx.ui.virtual.core.Scroller";qx.Class.define(k,{extend:qx.ui.core.scroll.AbstractScrollArea,construct:function(o,l,n,m){qx.ui.core.scroll.AbstractScrollArea.call(this);this.__rr=new qx.ui.virtual.core.Pane(o,l,n,m);this.__rr.addListener(c,this._computeScrollbars,this);this.__rr.addListener(d,this._onScrollPaneX,this);this.__rr.addListener(a,this._onScrollPaneY,this);if(qx.core.Environment.get(j)){this._add(this.__rr,{edge:0});}else {this._add(this.__rr,{row:0,column:0});};},properties:{width:{refine:true,init:null},height:{refine:true,init:null}},members:{__rr:null,getPane:function(){return this.__rr;},_createChildControlImpl:function(q,p){if(q==i){return this.__rr;}else {return qx.ui.core.scroll.AbstractScrollArea.prototype._createChildControlImpl.call(this,q);};},getItemTop:function(r){throw new Error(h);},getItemBottom:function(s){throw new Error(g);},getItemLeft:function(t){throw new Error(f);},getItemRight:function(u){throw new Error(b);},_onScrollBarX:function(e){this.__rr.setScrollX(e.getData());},_onScrollBarY:function(e){this.__rr.setScrollY(e.getData());}},destruct:function(){this.__rr.dispose();this.__rr=null;}});})();(function(){var c="changeModel",d="resize",f="_applyLabelOptions",g="_applyLabelPath",h="qx.data.Array",j="_applyGroupLabelOptions",m="changeLength",n="row-layer",o="_applyModel",p="changeGroups",q="Boolean",r="GroupingTypeError: You can't mix 'Objects' and 'Strings' as",s="Integer",t="sorter",u="_applyGroupRowHeight",v="group",w="_applyIconPath",x="_applyDelegate",y="changeDelegate",z=" group identifier!",A="???",B="_applyRowHeight",C="qx.data.IListData",D="filter",E="virtual-list",F="String",G="_applyGroupLabelPath",H="_applyIconOptions",I="qx.ui.list.List";qx.Class.define(I,{extend:qx.ui.virtual.core.Scroller,include:[qx.ui.virtual.selection.MModel],implement:qx.data.controller.ISelection,construct:function(J){qx.ui.virtual.core.Scroller.call(this,0,1,20,100);this._init();this.__rs=new qx.data.Array();this.initGroups(this.__rs);if(J!=null){this.initModel(J);};this.initItemHeight();},properties:{appearance:{refine:true,init:E},focusable:{refine:true,init:true},width:{refine:true,init:100},height:{refine:true,init:200},model:{check:C,apply:o,event:c,nullable:true,deferredInit:true},itemHeight:{check:s,init:25,apply:B,themeable:true},groupItemHeight:{check:s,init:null,nullable:true,apply:u,themeable:true},labelPath:{check:F,apply:g,nullable:true},iconPath:{check:F,apply:w,nullable:true},groupLabelPath:{check:F,apply:G,nullable:true},labelOptions:{apply:f,nullable:true},iconOptions:{apply:H,nullable:true},groupLabelOptions:{apply:j,nullable:true},delegate:{apply:x,event:y,init:null,nullable:true},autoGrouping:{check:q,init:true},groups:{check:h,event:p,nullable:false,deferredInit:true}},members:{_background:null,_provider:null,_layer:null,__rt:null,__ru:null,__rv:null,__rw:false,__rx:false,__ry:false,__rs:null,refresh:function(){this.__rB();},_createChildControlImpl:function(M,L){var K;switch(M){case n:K=new qx.ui.virtual.layer.Row(null,null);break;};return K||qx.ui.virtual.core.Scroller.prototype._createChildControlImpl.call(this,M);},_init:function(){this._provider=new qx.ui.list.provider.WidgetProvider(this);this.__rt=[];this.__ru=[];this.__rv={};this.__rw=false;this.__rx=false;this.__ry=false;this.getPane().addListener(d,this._onResize,this);this._initBackground();this._initLayer();},_initBackground:function(){this._background=this.getChildControl(n);this.getPane().addLayer(this._background);},_initLayer:function(){this._layer=this._provider.createLayer();this.getPane().addLayer(this._layer);},_getDataFromRow:function(P){var O=null;var N=this.getModel();if(N==null){return null;};if(this._isGroup(P)){O=this.getGroups().getItem(this._lookupGroup(P));}else {O=N.getItem(this._lookup(P));};if(O!=null){return O;}else {return null;};},_getLookupTable:function(){return this.__rt;},_lookup:function(Q){return this.__rt[Q];},_lookupGroup:function(R){return this.__ru.indexOf(R);},_reverseLookup:function(S){if(S<0){return -1;};return this.__rt.indexOf(S);},_isGroup:function(T){return this._lookup(T)==-1;},_getSelectables:function(){return this.getModel();},_applyModel:function(V,U){if(V!=null){V.addListener(m,this._onModelChange,this);};if(U!=null){U.removeListener(m,this._onModelChange,this);};this._provider.removeBindings();this._onModelChange();},_applyRowHeight:function(X,W){this.getPane().getRowConfig().setDefaultItemSize(X);},_applyGroupRowHeight:function(ba,Y){this.__rA();},_applyLabelPath:function(bc,bb){this._provider.setLabelPath(bc);},_applyIconPath:function(be,bd){this._provider.setIconPath(be);},_applyGroupLabelPath:function(bg,bf){this._provider.setGroupLabelPath(bg);},_applyLabelOptions:function(bi,bh){this._provider.setLabelOptions(bi);},_applyIconOptions:function(bk,bj){this._provider.setIconOptions(bk);},_applyGroupLabelOptions:function(bm,bl){this._provider.setGroupLabelOptions(bm);},_applyDelegate:function(bo,bn){this._provider.setDelegate(bo);this.__rB();},_onResize:function(e){this.getPane().getColumnConfig().setItemSize(0,e.getData().width);},_onModelChange:function(e){this.__rB();this._applyDefaultSelection();},__rz:function(){this.getPane().getRowConfig().setItemCount(this.__rt.length);this.getPane().fullUpdate();},__rA:function(){var bp=this.getPane().getRowConfig();var bq=this.getGroupItemHeight();bp.resetItemSizes();if(bq){for(var i=0,l=this.__rt.length;i=O&&M<=N;}}});})();(function(){var a="qx.ui.virtual.core.IWidgetCellProvider";qx.Interface.define(a,{members:{getCellWidget:function(c,b){},poolCellWidget:function(d){}}});})();(function(){var a="qx.ui.list.provider.IListProvider";qx.Interface.define(a,{members:{createLayer:function(){},createItemRenderer:function(){},createGroupRenderer:function(){},styleSelectabled:function(b){},styleUnselectabled:function(c){},isSelectable:function(d){},setLabelPath:function(e){},setIconPath:function(f){},setLabelOptions:function(g){},setIconOptions:function(h){},setDelegate:function(i){},removeBindings:function(){}}});})();(function(){var a="cell.type",b="model[",c="groups[",d="model",f="",g="changeDelegate",h="label",i="qx.ui.list.core.MWidgetController",j="icon",k="]",l="value",m="BindingIds",n=".",o="group",p="String";qx.Mixin.define(i,{construct:function(){this.__rN=[];},properties:{labelPath:{check:p,nullable:true},iconPath:{check:p,nullable:true},groupLabelPath:{check:p,nullable:true},labelOptions:{nullable:true},iconOptions:{nullable:true},groupLabelOptions:{nullable:true},delegate:{event:g,init:null,nullable:true}},members:{__rN:null,bindDefaultProperties:function(q,r){if(q.getUserData(a)!=o){this.bindProperty(f,d,null,q,r);this.bindProperty(this.getLabelPath(),h,this.getLabelOptions(),q,r);if(this.getIconPath()!=null){this.bindProperty(this.getIconPath(),j,this.getIconOptions(),q,r);};}else {this.bindProperty(this.getGroupLabelPath(),l,this.getGroupLabelOptions(),q,r);};},bindProperty:function(u,x,v,t,s){var y=t.getUserData(a);var w=this.__rO(s,u,y);if(v){v.ignoreConverter=d;};var z=this._list.bind(w,t,x,v);this.__rP(t,z);},bindPropertyReverse:function(D,B,E,F,A){var G=F.getUserData(a);var C=this.__rO(A,D,G);var H=F.bind(B,this._list,C,E);this.__rP(F,H);},removeBindings:function(){while(this.__rN.length>0){var I=this.__rN.pop();this._removeBindingsFrom(I);};},_configureItem:function(J){var K=this.getDelegate();if(K!=null&&K.configureItem!=null){K.configureItem(J);};},_configureGroupItem:function(L){var M=this.getDelegate();if(M!=null&&M.configureGroupItem!=null){M.configureGroupItem(L);};},_bindItem:function(N,P){var O=this.getDelegate();if(O!=null&&O.bindItem!=null){O.bindItem(this,N,P);}else {this.bindDefaultProperties(N,P);};},_bindGroupItem:function(Q,S){var R=this.getDelegate();if(R!=null&&R.bindGroupItem!=null){R.bindGroupItem(this,Q,S);}else {this.bindDefaultProperties(Q,S);};},_removeBindingsFrom:function(T){var U=this.__rQ(T);while(U.length>0){var V=U.pop();try{this._list.removeBinding(V);}catch(e){T.removeBinding(V);};};if(qx.lang.Array.contains(this.__rN,T)){qx.lang.Array.remove(this.__rN,T);};},__rO:function(X,ba,Y){var W=b+X+k;if(Y==o){W=c+X+k;};if(ba!=null&&ba!=f){W+=n+ba;};return W;},__rP:function(bc,bd){var bb=this.__rQ(bc);if(!qx.lang.Array.contains(bb,bd)){bb.push(bd);};if(!qx.lang.Array.contains(this.__rN,bc)){this.__rN.push(bc);};},__rQ:function(be){var bf=be.getUserData(m);if(bf==null){bf=[];be.setUserData(m,bf);};return bf;}},destruct:function(){this.__rN=null;}});})();(function(){var a="cell.type",b="changeDelegate",c="qx.ui.list.provider.WidgetProvider",d="createItem",e="group-item",f="onPool",g="item",h="createGroupItem",i="created",j="group";qx.Class.define(c,{extend:qx.core.Object,implement:[qx.ui.virtual.core.IWidgetCellProvider,qx.ui.list.provider.IListProvider],include:[qx.ui.list.core.MWidgetController],construct:function(k){qx.core.Object.call(this);this._list=k;this._itemRenderer=this.createItemRenderer();this._groupRenderer=this.createGroupRenderer();this._itemRenderer.addListener(i,this._onItemCreated,this);this._groupRenderer.addListener(i,this._onGroupItemCreated,this);this._list.addListener(b,this._onChangeDelegate,this);},members:{_itemRenderer:null,_groupRenderer:null,getCellWidget:function(n,l){var m=null;if(!this._list._isGroup(n)){m=this._itemRenderer.getCellWidget();m.setUserData(a,g);this._bindItem(m,this._list._lookup(n));if(this._list._manager.isItemSelected(n)){this._styleSelectabled(m);}else {this._styleUnselectabled(m);};}else {m=this._groupRenderer.getCellWidget();m.setUserData(a,j);this._bindGroupItem(m,this._list._lookupGroup(n));};return m;},poolCellWidget:function(o){this._removeBindingsFrom(o);if(o.getUserData(a)==g){this._itemRenderer.pool(o);}else if(o.getUserData(a)==j){this._groupRenderer.pool(o);};this._onPool(o);},createLayer:function(){return new qx.ui.virtual.layer.WidgetCell(this);},createItemRenderer:function(){var p=qx.util.Delegate.getMethod(this.getDelegate(),d);if(p==null){p=function(){return new qx.ui.form.ListItem();};};var q=new qx.ui.virtual.cell.WidgetCell();q.setDelegate({createWidget:p});return q;},createGroupRenderer:function(){var r=qx.util.Delegate.getMethod(this.getDelegate(),h);if(r==null){r=function(){var t=new qx.ui.basic.Label();t.setAppearance(e);return t;};};var s=new qx.ui.virtual.cell.WidgetCell();s.setDelegate({createWidget:r});return s;},styleSelectabled:function(v){var u=this.__rR(v);this._styleSelectabled(u);},styleUnselectabled:function(x){var w=this.__rR(x);this._styleUnselectabled(w);},isSelectable:function(z){if(this._list._isGroup(z)){return false;};var y=this._list._layer.getRenderedCellWidget(z,0);if(y!=null){return y.isEnabled();}else {return true;};},_styleSelectabled:function(A){this.__rS(A,{selected:1});},_styleUnselectabled:function(B){this.__rS(B,{});},_onPool:function(C){var D=qx.util.Delegate.getMethod(this.getDelegate(),f);if(D!=null){D(C);};},_onItemCreated:function(event){var E=event.getData();this._configureItem(E);},_onGroupItemCreated:function(event){var F=event.getData();this._configureGroupItem(F);},_onChangeDelegate:function(event){this._itemRenderer.dispose();this._itemRenderer=this.createItemRenderer();this._itemRenderer.addListener(i,this._onItemCreated,this);this._groupRenderer.dispose();this._groupRenderer=this.createGroupRenderer();this._groupRenderer.addListener(i,this._onGroupItemCreated,this);this.removeBindings();this._list.getPane().fullUpdate();},__rR:function(G){return this._list._layer.getRenderedCellWidget(G,0);},__rS:function(I,H){if(I==null){return;};this._itemRenderer.updateStates(I,H);}},destruct:function(){this._itemRenderer.dispose();this._groupRenderer.dispose();this._itemRenderer=this._groupRenderer=null;}});})();(function(){var a="cell.column",b="updated",c="qx.event.type.Event",d="qx.ui.virtual.layer.WidgetCell",e="cell.row",f="cell.empty";qx.Class.define(d,{extend:qx.ui.virtual.layer.Abstract,include:[qx.ui.core.MChildrenHandling],construct:function(g){qx.ui.virtual.layer.Abstract.call(this);this.setZIndex(12);{};this._cellProvider=g;this.__rT=[];},properties:{anonymous:{refine:true,init:false}},events:{updated:c},members:{__rT:null,getRenderedCellWidget:function(p,m){if(this._getChildren().length===0){return null;};var h=this.getColumnSizes().length;var o=this.getRowSizes().length;var n=this.getFirstRow();var l=this.getFirstColumn();if(p=n+o||m=l+h){return null;};var k=(m-l)+(p-n)*h;var j=this._getChildren()[k];if(!j||j.getUserData(f)){return null;}else {return j;};},_getSpacer:function(){var q=this.__rT.pop();if(!q){q=new qx.ui.core.Spacer();q.setUserData(f,1);};return q;},_activateNotEmptyChild:function(r){var s=qx.ui.core.FocusHandler.getInstance().getActiveWidget();if(s==r||qx.ui.core.Widget.contains(r,s)){var t=this._getChildren();for(var i=t.length-1;i>=0;i-- ){if(!t[i].getUserData(f)){t[i].activate();break;};};};},_fullUpdate:function(A,u,z,w){var B=this._cellProvider;var G=this._getChildren().concat();for(var i=0;iL.lastRow||L.firstColumn>L.lastColumn){return this._fullUpdate(W,J,M,bb);};var O=this._getChildren();var Q=this.getColumnSizes().length;var T=[];var ba={};for(var P=W;P<=N;P++ ){T[P]=[];for(var Y=J;Y<=X;Y++ ){if(P>=L.firstRow&&P<=L.lastRow&&Y>=L.firstColumn&&Y<=L.lastColumn){var x=Y-this.getFirstColumn();var y=P-this.getFirstRow();var R=y*Q+x;T[P][Y]=O[R];ba[R]=true;};};};var K=this._cellProvider;var O=this._getChildren().concat();for(var i=0;i0){var R=this.__bc.pop();this.removeBinding(R);};},_handlePointer:function(event){qx.ui.form.core.AbstractVirtualBox.prototype._handlePointer.call(this,event);var S=event.getType();if(S===w){this.toggle();};},_handleKeyboard:function(event){var T=this._getAction(event);switch(T){case q:this.__sb+=this.__sd(event.getKeyIdentifier());this.__sa.restart();break;default:qx.ui.form.core.AbstractVirtualBox.prototype._handleKeyboard.call(this,event);break;};},_onPointerOver:function(event){if(!this.isEnabled()||event.getTarget()!==this){return;};if(this.hasState(g)){this.removeState(g);this.addState(c);};this.addState(a);},_onPointerOut:function(event){if(!this.isEnabled()||event.getTarget()!==this){return;};this.removeState(a);if(this.hasState(c)){this.removeState(c);this.addState(g);};},_applySelection:function(V,U){this.getChildControl(v).setSelection(V);qx.ui.core.queue.Widget.add(this);},__sc:function(){this.__sa.stop();var Y=this.__sb;if(Y===null||Y===s){return;};var bg=this.getModel();var bb=this.getChildControl(v).getChildControl(k);var W=bb.getSelection();var length=bb._getLookupTable().length;var bf=bg.indexOf(W.getItem(0));var bd=bb._reverseLookup(bf);for(var i=1;i<=length;i++ ){var bh=(i+bd)%length;var be=bg.getItem(bb._lookup(bh));if(!be){continue;};var bc=be;if(this.getLabelPath()){bc=qx.data.SingleValueBinding.resolvePropertyChain(be,this.getLabelPath());var ba=this.getLabelOptions();if(ba){var X=qx.util.Delegate.getMethod(ba,x);if(X){bc=X(bc,be);};};};if(qx.lang.String.startsWith(bc.toLowerCase(),Y.toLowerCase())){W.push(be);break;};};this.__sb=s;},__sd:function(bi){if(bi===f){return A;}else {return bi;};}},destruct:function(){this._removeBindings();this.__sa.removeListener(l,this.__sc,this);this.__sa.dispose();this.__sa=null;}});})();(function(){var a="resize",b="qx.ui.groupbox.GroupBox",c="groupbox",d="frame",f="legend",g="top",h="middle",i="_applyLegendPosition";qx.Class.define(b,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling,qx.ui.core.MContentPadding,qx.ui.form.MForm],implement:[qx.ui.form.IForm],construct:function(j,k){qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.Canvas);this._createChildControl(d);this._createChildControl(f);if(j!=null){this.setLegend(j);};if(k!=null){this.setIcon(k);};},properties:{appearance:{refine:true,init:c},legendPosition:{check:[g,h],init:h,apply:i,themeable:true}},members:{_forwardStates:{invalid:true},_createChildControlImpl:function(n,m){var l;switch(n){case d:l=new qx.ui.container.Composite();this._add(l,{left:0,top:6,right:0,bottom:0});break;case f:l=new qx.ui.basic.Atom();l.addListener(a,this._repositionFrame,this);this._add(l,{left:0,right:0});break;};return l||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,n);},_getContentPaddingTarget:function(){return this.getChildControl(d);},_applyLegendPosition:function(e){if(this.getChildControl(f).getBounds()){this._repositionFrame();};},_repositionFrame:function(){var p=this.getChildControl(f);var o=this.getChildControl(d);var q=p.getBounds().height;if(this.getLegendPosition()==h){o.setLayoutProperties({"top":Math.round(q/2)});}else if(this.getLegendPosition()==g){o.setLayoutProperties({"top":q});};},getChildrenContainer:function(){return this.getChildControl(d);},setLegend:function(s){var r=this.getChildControl(f);if(s!==null){r.setLabel(s);r.show();}else {r.exclude();};},getLegend:function(){return this.getChildControl(f).getLabel();},setIcon:function(t){this.getChildControl(f).setIcon(t);},getIcon:function(){return this.getChildControl(f).getIcon();}}});})();(function(){var a="resize",b="check-groupbox",c="changeValue",d="legend",f="qx.event.type.Event",g="qx.ui.groupbox.CheckGroupBox",h="execute",i="qx.event.type.Data";qx.Class.define(g,{extend:qx.ui.groupbox.GroupBox,implement:[qx.ui.form.IExecutable,qx.ui.form.IBooleanForm,qx.ui.form.IModel],include:[qx.ui.form.MModelProperty],properties:{appearance:{refine:true,init:b}},events:{"changeValue":i,"execute":f},members:{_createChildControlImpl:function(l,k){var j;switch(l){case d:j=new qx.ui.form.CheckBox();j.setValue(true);j.setAllowGrowX(true);j.addListener(c,this._onRadioChangeValue,this);j.addListener(a,this._repositionFrame,this);j.addListener(h,this._onExecute,this);this._add(j,{left:0,right:0});};return j||qx.ui.groupbox.GroupBox.prototype._createChildControlImpl.call(this,l);},_onExecute:function(e){this.fireEvent(h);},_onRadioChangeValue:function(e){var m=e.getData()?true:false;this.getChildrenContainer().setEnabled(m);this.fireDataEvent(c,m,e.getOldData());},execute:function(){this.getChildControl(d).execute();},setCommand:function(n){this.getChildControl(d).setCommand(n);},getCommand:function(){return this.getChildControl(d).getCommand();},getValue:function(){return this.getChildControl(d).getValue();},setValue:function(o){this.getChildControl(d).setValue(o);},resetValue:function(){this.getChildControl(d).resetValue();}}});})();(function(){var a="resize",b="qx.ui.groupbox.RadioGroupBox",c="changeValue",d="legend",f="radio-groupbox",g="qx.event.type.Event",h="execute",i="qx.event.type.Data";qx.Class.define(b,{extend:qx.ui.groupbox.GroupBox,implement:[qx.ui.form.IRadioItem,qx.ui.form.IExecutable,qx.ui.form.IBooleanForm,qx.ui.form.IModel],include:[qx.ui.form.MModelProperty],properties:{appearance:{refine:true,init:f}},events:{"changeValue":i,"execute":g},members:{_createChildControlImpl:function(l,k){var j;switch(l){case d:j=new qx.ui.form.RadioButton();j.setAllowGrowX(true);j.setValue(true);j.addListener(c,this._onRadioChangeValue,this);j.addListener(a,this._repositionFrame,this);j.addListener(h,this._onExecute,this);this._add(j,{left:0,right:0});};return j||qx.ui.groupbox.GroupBox.prototype._createChildControlImpl.call(this,l);},_applyEnabled:function(n,m){qx.ui.groupbox.GroupBox.prototype._applyEnabled.call(this,n,m);this.getChildrenContainer().setEnabled(n&&this.getValue());},_onExecute:function(e){this.fireEvent(h);},_onRadioChangeValue:function(e){var o=e.getData()?true:false;this.getChildrenContainer().setEnabled(o);this.fireDataEvent(c,o,e.getOldData());},execute:function(){this.getChildControl(d).execute();},setCommand:function(p){this.getChildControl(d).setCommand(p);},getCommand:function(){return this.getChildControl(d).getCommand();},getGroup:function(){return this.getChildControl(d).getGroup();},setGroup:function(q){if(q!=null){q.add(this);};return;},getValue:function(){return this.getChildControl(d).getValue();},setValue:function(r){this.getChildControl(d).setValue(r);},resetValue:function(){this.getChildControl(d).resetValue();},getLabel:function(){return this.getChildControl(d).getLabel();}}});})();(function(){var a="complete",b="0%",c="progressbar",d="change",e="progress",f="qx.ui.indicator.ProgressBar",g="qx.event.type.Event",h="%",i="qx.event.type.Data";qx.Class.define(f,{extend:qx.ui.container.Composite,construct:function(k,j){qx.ui.container.Composite.call(this);this._createChildControl(e);this.setLayout(new qx.ui.layout.HBox());if(j!=null){this.setMaximum(j);};if(k!=null){this.setValue(k);};},properties:{appearance:{refine:true,init:c}},events:{complete:g,change:i},members:{__se:0,__sf:100,getValue:function(){return this.__se;},setValue:function(m){var l=this.getMaximum();if(!qx.lang.Type.isNumber(m)||!isFinite(m)){return null;};if(m<0){m=0;};if(m>l){m=l;};this.__se=m;this._changeProgress(m/l);return m;},getMaximum:function(){return this.__sf;},setMaximum:function(o){var n=o;var p=this.getValue();if(!qx.lang.Type.isNumber(n)||!isFinite(n)||n<=0){return null;};if(nr){r=k;};if(m>p){p=m;};};return {width:r,height:p};}}});})();(function(){var a="Decorator",b="Integer",c="qx.ui.layout.Dock",d="It is not allowed to have more than one child aligned to 'center'!",e="_applySort",f="west",g="left",h="north",j="south",k="center",l="east",m="Boolean",n="top",o="bottom",p="right",q="x",r="y",s="auto",t="_applyLayoutChange";qx.Class.define(c,{extend:qx.ui.layout.Abstract,construct:function(v,u,x,w){qx.ui.layout.Abstract.call(this);if(v){this.setSpacingX(v);};if(u){this.setSpacingY(u);};if(x){this.setSeparatorX(x);};if(w){this.setSeparatorY(w);};},properties:{sort:{check:[s,r,q],init:s,apply:e},separatorX:{check:a,nullable:true,apply:t},separatorY:{check:a,nullable:true,apply:t},connectSeparators:{check:m,init:false,apply:t},spacingX:{check:b,init:0,apply:t},spacingY:{check:b,init:0,apply:t}},members:{__gc:null,__sg:null,verifyLayoutProperty:null,_applySort:function(){this._invalidChildrenCache=true;this._applyLayoutChange();},__sh:{north:1,south:2,west:3,east:4,center:5},__si:{'1':n,'2':o,'3':g,'4':p},__lw:function(){var y=this._getLayoutChildren();var G,A;var length=y.length;var C=[];var F=[];var B=[];var z=this.getSort()===r;var E=this.getSort()===q;for(var i=0;iP.maxWidth){T=P.maxWidth;};};if(V.height!=null){K=Math.floor(R*parseFloat(V.height)/100);if(KP.maxHeight){K=P.maxHeight;};};bo[i]=T;S[i]=K;switch(bd[i]){case 1:case 2:be+=K+bl.getMarginTop()+bl.getMarginBottom()+br;if(bj.y){be+=bj.y+br;};break;case 3:case 4:O+=T+bl.getMarginLeft()+bl.getMarginRight()+bs;if(bj.x){O+=bj.x+bs;};break;default:O+=T+bl.getMarginLeft()+bl.getMarginRight()+bs;be+=K+bl.getMarginTop()+bl.getMarginBottom()+br;if(bj.x){O+=bj.x+bs;};if(bj.y){be+=bj.y+br;};};};if(O!=bc){Q={};bi=O0){P=bl.getSizeHint();Q[i]={min:P.minWidth,value:bo[i],max:P.maxWidth,flex:W};};};};var L=bb.computeFlexOffsets(Q,bc,O);for(var i in L){J=L[i].offset;bo[i]+=J;O+=J;};};if(be!=R){Q={};bi=be0){P=bl.getSizeHint();Q[i]={min:P.minHeight,value:S[i],max:P.maxHeight,flex:W};};};};var L=bb.computeFlexOffsets(Q,R,be);for(var i in L){J=L[i].offset;S[i]+=J;be+=J;};};this._clearSeparators();var bn=this.getSeparatorX(),bm=this.getSeparatorY();var bp=this.getConnectSeparators();var Y=0,bh=0;var bw,top,T,K,X,bt;var ba,bq,bv,bf;var bu,I,U,M;var bg=this.__si;for(var i=0;iP.maxWidth){T=P.maxWidth;};K=S[i];top=Y+bb.computeVerticalAlignOffset(bg[bt],K,R,bu,I);bw=bh+bb.computeHorizontalAlignOffset(bl.getAlignX()||g,T,bc,U,M);if(bj.y){if(bt==1){bq=Y+K+bu+br+I;}else {bq=Y+R-K-bu-br-I-bj.y;};ba=bw;bv=bc;if(bp&&ba>0){ba-=bs+U;bv+=(bs)*2;}else {ba-=U;};this._renderSeparator(bm,{left:ba+bk.left,top:bq+bk.top,width:bv,height:bj.y});};X=K+bu+I+br;if(bj.y){X+=bj.y+br;};R-=X;if(bt==1){Y+=X;};break;case 3:case 4:K=R-bu-I;if(KP.maxHeight){K=P.maxHeight;};T=bo[i];bw=bh+bb.computeHorizontalAlignOffset(bg[bt],T,bc,U,M);top=Y+bb.computeVerticalAlignOffset(bl.getAlignY()||n,K,R,bu,I);if(bj.x){if(bt==3){ba=bh+T+U+bs+M;}else {ba=bh+bc-T-U-bs-M-bj.x;};bq=top;bf=R;if(bp&&bq>0){bq-=br+bu;bf+=(br)*2;}else {bq-=bu;};this._renderSeparator(bn,{left:ba+bk.left,top:bq+bk.top,width:bj.x,height:bf});};X=T+U+M+bs;if(bj.x){X+=bj.x+bs;};bc-=X;if(bt==3){bh+=X;};break;default:T=bc-U-M;K=R-bu-I;if(TP.maxWidth){T=P.maxWidth;};if(KP.maxHeight){K=P.maxHeight;};bw=bh+bb.computeHorizontalAlignOffset(bl.getAlignX()||g,T,bc,U,M);top=Y+bb.computeVerticalAlignOffset(bl.getAlignY()||n,K,R,bu,I);};bl.renderLayout(bw+bk.left,top+bk.top,T,K);};},_getSeparatorWidths:function(){var by=this.getSeparatorX(),bx=this.getSeparatorY();if(by||bx){var bB=qx.theme.manager.Decoration.getInstance();};if(by){var bE=bB.resolve(by);var bA=bE.getInsets();var bD=bA.left+bA.right;};if(bx){var bF=bB.resolve(bx);var bz=bF.getInsets();var bC=bz.top+bz.bottom;};return {x:bD||0,y:bC||0};},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__lw();};var bJ=this.__gc;var bT=this.__sg;var length=bJ.length;var bN,bU;var bP,bO;var bQ=0,cc=0;var bG=0,bW=0;var bR=0,cb=0;var bH=0,bV=0;var bX=this._getSeparatorWidths();var ca=this.getSpacingX(),bY=this.getSpacingY();var bL=-ca,bK=-bY;if(bX.x){bL-=bX.x+ca;};if(bX.y){bK-=bX.y+bY;};for(var i=0;i0;this.__sn=0;},members:{__gc:null,__sl:null,__sm:null,__sn:null,computeNextLine:function(k){var k=k||Infinity;if(!this.__sm){throw new Error(a);};var p=this.__gc;var n=0;var f=0;var o=[];var j=[];for(var i=this.__sn;ik){this.__sn=i;break;};var l=q.height+m.getMarginTop()+m.getMarginBottom();o.push(m);j.push(g);f+=h;n=Math.max(n,l);if(m.getLayoutProperties().lineBreak){this.__sn=i+1;break;};};if(i>=p.length){this.__sm=false;};return {height:n,width:f,children:o,gapsBefore:j};},__so:function(r){var s=r==this.__sn;if(s){return this.__gc[r].getMarginLeft();}else {return Math.max(this.__gc[r-1].getMarginRight(),this.__gc[r].getMarginLeft(),this.__sl);};},hasMoreLines:function(){return this.__sm;}}});})();(function(){var a="menu-checkbox",b="Boolean",c="label",d="_applyValue",f="value",g="changeValue",h="toolTipText",i="enabled",j="qx.ui.menu.CheckBox",k="checked",l="menu",m="execute";qx.Class.define(j,{extend:qx.ui.menu.AbstractButton,implement:[qx.ui.form.IBooleanForm],construct:function(o,n){qx.ui.menu.AbstractButton.call(this);if(o!=null){if(o.translate){this.setLabel(o.translate());}else {this.setLabel(o);};};if(n!=null){this.setMenu(n);};this.addListener(m,this._onExecute,this);},properties:{appearance:{refine:true,init:a},value:{check:b,init:false,apply:d,event:g,nullable:true}},members:{_bindableProperties:[i,c,h,f,l],_applyValue:function(q,p){q?this.addState(k):this.removeState(k);},_onExecute:function(e){this.toggleValue();}}});})();(function(){var a="qx.ui.form.RadioGroup",b="Boolean",c="menu-radiobutton",d="label",f="_applyValue",g="qx.ui.menu.RadioButton",h="value",i="changeValue",j="toolTipText",k="enabled",l="_applyGroup",m="checked",n="menu",o="execute";qx.Class.define(g,{extend:qx.ui.menu.AbstractButton,include:[qx.ui.form.MModelProperty],implement:[qx.ui.form.IRadioItem,qx.ui.form.IBooleanForm,qx.ui.form.IModel],construct:function(q,p){qx.ui.menu.AbstractButton.call(this);if(q!=null){this.setLabel(q);};if(p!=null){this.setMenu(p);};this.addListener(o,this._onExecute,this);},properties:{appearance:{refine:true,init:c},value:{check:b,nullable:true,event:i,apply:f,init:false},group:{check:a,nullable:true,apply:l}},members:{_bindableProperties:[k,d,j,h,n],_applyValue:function(s,r){s?this.addState(m):this.removeState(m);},_applyGroup:function(u,t){if(t){t.remove(this);};if(u){u.add(this);};},_onExecute:function(e){var v=this.getGroup();if(v&&v.getAllowEmptySelection()){this.toggleValue();}else {this.setValue(true);};}}});})();(function(){var a="qx.ui.menubar.MenuBar",b="menubar";qx.Class.define(a,{extend:qx.ui.toolbar.ToolBar,properties:{appearance:{refine:true,init:b}}});})();(function(){var a="dataAvailable",b="_applyDataModel",c="Boolean",d="Render time: ",f="qx.ui.progressive.model.Abstract",g="renderStart",h="ms",j="progress",k="white",l="No existing renderer named ",m="qx.ui.progressive.Progressive",n="progressDetail",o="Integer",p="renderEnd",q="qx.event.type.Data";qx.Class.define(m,{extend:qx.ui.container.Composite,construct:function(r){qx.ui.container.Composite.call(this,new qx.ui.layout.VBox());this.__sp={};this.set({backgroundColor:k});if(!r){r=new qx.ui.progressive.structure.Default();};this.__sq=r;r.applyStructure(this);this.__sr=false;this.__ss=false;this.__st=0;},events:{"renderStart":q,"renderEnd":q,"progress":q,"progressDetail":q},properties:{dataModel:{check:f,apply:b},batchSize:{check:o,init:20},flushWidgetQueueAfterBatch:{check:c,init:false},interElementTimeout:{check:o,init:0}},members:{__sp:null,__ss:null,__su:null,__st:null,__sr:null,__sq:null,getStructure:function(){return this.__sq;},addRenderer:function(name,s){this.__sp[name]=s;s.join(this,name);},removeRenderer:function(name){if(!this.__sp[name]){throw new Error(l+name);};delete this.__sp[name];},render:function(){if(this.__ss){return;};this.__ss=true;var t=new qx.ui.progressive.State({progressive:this,model:this.getDataModel(),pane:this.__sq.getPane(),batchSize:this.getBatchSize(),rendererData:this.__sw(),userData:{}});this.__su=new Date();if(this.__sr){this.__st=t.getModel().getElementCount();this.fireDataEvent(g,{state:t,initial:this.__st});this.__sv(t);}else {qx.event.Timer.once(function(){this.__st=t.getModel().getElementCount();this.fireDataEvent(g,{state:t,initial:this.__st});this.__sv(t);this.__sr=true;},this,10);};},_applyDataModel:function(v,u){if(u){u.removeListener(a,this.__sx,this);u.dispose();};v.addListener(a,this.__sx,this);},__sv:function(x){var w;var z;var y;for(var i=x.getBatchSize();i>0;i-- ){w=x.getModel().getNextElement();if(!w){this.debug(d+(new Date()-this.__su)+h);this.__ss=false;this.fireDataEvent(p,x);x.dispose();return;};z=w.element;y=this.__sp[z.renderer];y.render(x,z);this.fireDataEvent(n,{initial:this.__st,remaining:w.remaining,element:z});};this.fireDataEvent(j,{initial:this.__st,remaining:w.remaining});if(this.getFlushWidgetQueueAfterBatch()){qx.ui.core.queue.Manager.flush();};qx.event.Timer.once(function(){this.__sv(x);},this,this.getInterElementTimeout());},__sw:function(){var A={};for(var name in this.__sp){A[name]={};};return A;},__sx:function(e){this.__st=e.getData();this.render();}},destruct:function(){for(var name in this.__sp){this.__sp[name].dispose();};this.__su=this.__sp=this.__sq=null;}});})();(function(){var a="applyStructure() is abstract",b="abstract",c="qx.ui.progressive.structure.Abstract",d="overflowY",e="auto";qx.Class.define(c,{type:b,extend:qx.core.Object,construct:function(f){qx.core.Object.call(this);if(!f){this.__sy=new qx.ui.core.Widget();this.__rr=this.__sy;}else {this.__sy=null;this.__rr=f;};this.__rr.getContentElement().setStyle(d,e);},members:{__sy:null,__rr:null,applyStructure:function(g){throw new Error(a);},getPane:function(){return this.__rr;}},destruct:function(){if(this.__sy){this.__sy.dispose();};this.__sy=this.__rr=null;}});})();(function(){var a="qx.ui.progressive.structure.Default";qx.Class.define(a,{extend:qx.ui.progressive.structure.Abstract,construct:function(b,d,c){qx.ui.progressive.structure.Abstract.call(this,c);if(!b){this.__sz=new qx.ui.progressive.headfoot.Null();this.__sA=this.__sz;}else {this.__sz=null;this.__sA=b;};if(!d){this.__sB=new qx.ui.progressive.headfoot.Null();this.__sC=this.__sB;}else {this.__sB=null;this.__sC=d;};},members:{__sA:null,__sC:null,__sz:null,__sB:null,applyStructure:function(e){this.__sA.join(e);this.__sC.join(e);e.add(this.__sA);e.add(this.getPane(),{flex:1});e.add(this.__sC);},getHeader:function(){return this.__sA;},getFooter:function(){return this.__sC;}},destruct:function(){if(this.__sz){this.__sz.dispose();this.__sz=null;};if(this.__sB){this.__sB.dispose();this.__sB=null;};this.__sA=this.__sC=null;}});})();(function(){var a="qx.ui.progressive.headfoot.Abstract",b="abstract";qx.Class.define(a,{type:b,extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this,new qx.ui.layout.HBox());},members:{__sD:null,join:function(c){this.__sD=c;}},destruct:function(){this.__sD=null;}});})();(function(){var a="qx.ui.progressive.headfoot.Null";qx.Class.define(a,{extend:qx.ui.progressive.headfoot.Abstract,construct:function(){qx.ui.progressive.headfoot.Abstract.call(this);this.exclude();}});})();(function(){var a="qx.ui.progressive.State";qx.Class.define(a,{extend:qx.core.Object,construct:function(b){qx.core.Object.call(this);this.setProgressive(b.progressive);this.setModel(b.model);this.setPane(b.pane);this.setBatchSize(b.batchSize);this.setRendererData(b.rendererData);this.setUserData(b.userData);},properties:{progressive:{nullable:true},model:{nullable:true},pane:{nullable:true},batchSize:{},rendererData:{},userData:{}},destruct:function(){this.setProgressive(null);this.setModel(null);this.setPane(null);}});})();(function(){var a="resize",b="mshtml",c="engine.name",d="relative",f="",g=" needs a height when its height size should be used!",h="px",i="height",j=" needs a width when its width size should be used!",k="-webkit-backface-visibility",l="qx.ui.root.Inline",m="$$widget",n="appear",o="hidden",p="div",q="left",r="The root element ",s=" of ";qx.Class.define(l,{extend:qx.ui.root.Abstract,include:[qx.ui.core.MLayoutHandling],construct:function(u,v,t){{};this.__sE=u;u.style.overflow=o;u.style.textAlign=q;this.__sF=v||false;this.__sG=t||false;this.__sH();qx.ui.root.Abstract.call(this);this._setLayout(new qx.ui.layout.Basic());qx.ui.core.queue.Layout.add(this);qx.ui.core.FocusHandler.getInstance().connectTo(this);if((qx.core.Environment.get(c)==b)){this.setKeepFocus(true);};var window=qx.dom.Node.getWindow(u);qx.event.Registration.addListener(window,a,this._onWindowResize,this);this.getContentElement().setStyle(k,o);},members:{__sF:false,__sG:false,__sE:null,__sH:function(){if(this.__sF||this.__sG){var w=qx.bom.element.Dimension.getSize(this.__sE);if(this.__sF&&w.width<1){throw new Error(r+this.__sE+s+this+j);};if(this.__sG){if(w.height<1){throw new Error(r+this.__sE+s+this+g);};if(w.height>=1&&qx.bom.element.Style.get(this.__sE,i,3)==f){qx.bom.element.Style.set(this.__sE,i,w.height+h);};};qx.event.Registration.addListener(this.__sE,a,this._onResize,this);};},_createContentElement:function(){var x=this.__sE;if(this.__sF||this.__sG){var z=document.createElement(p);x.appendChild(z);}else {z=x;};var y=new qx.html.Root(z);z.style.position=d;y.setAttribute(m,this.toHashCode());qx.event.Timer.once(function(e){this.fireEvent(n);},this,0);return y;},_onResize:function(e){var A=e.getData();if((A.oldWidth!==A.width)&&this.__sF||(A.oldHeight!==A.height)&&this.__sG){qx.ui.core.queue.Layout.add(this);};},_onWindowResize:function(){if(qx.ui.popup&&qx.ui.popup.Manager){qx.ui.popup.Manager.getInstance().hideAll();};if(qx.ui.menu&&qx.ui.menu.Manager){qx.ui.menu.Manager.getInstance().hideAll();};},_computeSizeHint:function(){var F=this.__sF;var C=this.__sG;if(!F||!C){var B=qx.ui.root.Abstract.prototype._computeSizeHint.call(this);}else {B={};};var G=qx.bom.element.Dimension;if(F){var E=G.getContentWidth(this.__sE);B.width=E;B.minWidth=E;B.maxWidth=E;};if(C){var D=G.getContentHeight(this.__sE);B.height=D;B.minHeight=D;B.maxHeight=D;};return B;}},defer:function(H,I){qx.ui.core.MLayoutHandling.remap(I);},destruct:function(){qx.event.Registration.removeListener(this.__sE,a,this._onResize,this);this.__sE=null;}});})();(function(){var a="resize",b="__dE",c="interval",d="body",f="qx.event.handler.ElementResize";qx.Class.define(f,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(g){qx.core.Object.call(this);this.__et=g;this.__sI={};this.__dE=new qx.event.Timer(200);this.__dE.addListener(c,this._onInterval,this);},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{resize:true},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:false},members:{__sI:null,__et:null,__dE:null,canHandleEvent:function(i,h){return i.tagName.toLowerCase()!==d;},registerEvent:function(m,n,j){var l=qx.core.ObjectRegistry.toHashCode(m);var k=this.__sI;if(!k[l]){k[l]={element:m,width:qx.bom.element.Dimension.getWidth(m),height:qx.bom.element.Dimension.getHeight(m)};this.__dE.start();};},unregisterEvent:function(r,s,o){var q=qx.core.ObjectRegistry.toHashCode(r);var p=this.__sI;if(p[q]){delete p[q];if(qx.lang.Object.isEmpty(p)){this.__dE.stop();};};},_onInterval:function(e){var u=this.__sI;for(var x in u){var y=u[x];var t=y.element;var w=qx.bom.element.Dimension.getWidth(t);var v=qx.bom.element.Dimension.getHeight(t);if(y.height!==v||y.width!==w){qx.event.Registration.fireNonBubblingEvent(t,a,qx.event.type.Data,[{width:w,oldWidth:y.width,height:v,oldHeight:y.height}]);y.width=w;y.height=v;};};}},destruct:function(){this.__et=this.__sI=null;this._disposeObjects(b);},defer:function(z){qx.event.Registration.addHandler(z);}});})();(function(){var a="resize",b="qx.ui.root.Page",c="engine.name",d="mshtml",f="gecko",g="paddingLeft",h="$$widget",i="The root widget does not support 'left', or 'top' paddings!",j="div",k="left",l="paddingTop",m="qxIsRootPage",n="absolute";qx.Class.define(b,{extend:qx.ui.root.Abstract,construct:function(o){this.__ms=o;qx.ui.root.Abstract.call(this);this._setLayout(new qx.ui.layout.Basic());this.setZIndex(10000);qx.ui.core.queue.Layout.add(this);this.addListener(a,this.__sJ,this);qx.ui.core.FocusHandler.getInstance().connectTo(this);if((qx.core.Environment.get(c)==d)){this.setKeepFocus(true);};},members:{__dE:null,__ms:null,_createContentElement:function(){var q=this.__ms.createElement(j);this.__ms.body.appendChild(q);var p=new qx.html.Root(q);p.setStyles({position:n,textAlign:k});p.setAttribute(h,this.toHashCode());if((qx.core.Environment.get(c)==f)){p.setAttribute(m,1);};return p;},_computeSizeHint:function(){var r=qx.bom.Document.getWidth(this._window);var s=qx.bom.Document.getHeight(this._window);return {minWidth:r,width:r,maxWidth:r,minHeight:s,height:s,maxHeight:s};},__sJ:function(e){this.getContentElement().setStyles({width:0,height:0});},supportsMaximize:function(){return false;},_applyPadding:function(u,t,name){if(u&&(name==l||name==g)){throw new Error(i);};qx.ui.root.Abstract.prototype._applyPadding.call(this,u,t,name);}},destruct:function(){this.__ms=null;}});})();(function(){var a="mshtml",b="engine.name",c="repeat",d="horizontal",e="top",f="height",g="_applyOrientation",h="url(",i="qx.ui.splitpane.Blocker",j="width",k=")",l="col-resize",m="row-resize",n="px",o="100%",p="div",q="left",r="vertical",s="qx/static/blank.gif",t="cursor",u="absolute";qx.Class.define(i,{extend:qx.html.Element,construct:function(w){var v={position:u,zIndex:11};if((qx.core.Environment.get(b)==a)){v.backgroundImage=h+qx.util.ResourceManager.getInstance().toUri(s)+k;v.backgroundRepeat=c;};qx.html.Element.call(this,p,v);if(w){this.setOrientation(w);}else {this.initOrientation();};},properties:{orientation:{init:d,check:[d,r],apply:g}},members:{_applyOrientation:function(y,x){if(y==d){this.setStyle(f,o);this.setStyle(t,l);this.setStyle(e,null);}else {this.setStyle(j,o);this.setStyle(q,null);this.setStyle(t,m);};},setWidth:function(A,z){var B=z+2*A;this.setStyle(j,B+n);},setHeight:function(D,C){var E=C+2*D;this.setStyle(f,E+n);},setLeft:function(G,F){var H=F-G;this.setStyle(q,H+n);},setTop:function(J,I){var top=I-J;this.setStyle(e,top+n);}}});})();(function(){var a="splitter",b="qx.ui.splitpane.HLayout",c="slider";qx.Class.define(b,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(s,k,r){var h=this._getLayoutChildren();var length=h.length;var t,n;var o,v,u,j;var x=r.left||0;var l=r.top||0;for(var i=0;i0&&g>0){var f=A+g;var p=s-z;var q=Math.round((p/f)*A);var y=p-q;var w=qx.ui.layout.Util.arrangeIdeals(d.minWidth,q,d.maxWidth,m.minWidth,y,m.maxWidth);q=w.begin;y=w.end;}else if(A>0){q=s-z-y;if(qd.maxWidth){q=d.maxWidth;};}else if(g>0){y=s-q-z;if(ym.maxWidth){y=m.maxWidth;};};o.renderLayout(x,l,q,k);v.renderLayout(q+x,l,z,k);j.renderLayout(q+z+x,l,y,k);}else {v.renderLayout(0,0,0,0);if(o){o.renderLayout(x,l,s,k);}else if(j){j.renderLayout(x,l,s,k);};};},_computeSizeHint:function(){var K=this._getLayoutChildren();var length=K.length;var J,C,D;var H=0,I=0,B=0;var E=0,G=0,F=0;for(var i=0;iE){E=C.minHeight;};if(C.height>G){G=C.height;};if(C.maxHeight>F){F=C.maxHeight;};};return {minWidth:H,width:I,maxWidth:B,minHeight:E,height:G,maxHeight:F};}}});})();(function(){var a="slider",b="splitter",c="px",d="Integer",f="height",g="move",h="maxHeight",i="resize",j="pointerup",k="vertical",l="width",m="_applyOrientation",n="_applyOffset",o="splitpane",p="qx.ui.splitpane.Pane",q="pointerdown",r="top",s="minHeight",t="knob",u="horizontal",v="minWidth",w="appear",z="losecapture",A="left",B="pointermove",C="maxWidth",D="pointerout";qx.Class.define(p,{extend:qx.ui.core.Widget,construct:function(E){qx.ui.core.Widget.call(this);this.__gc=[];if(E){this.setOrientation(E);}else {this.initOrientation();};this.__lN.addListener(q,this._onPointerDown,this);this.__lN.addListener(j,this._onPointerUp,this);this.__lN.addListener(B,this._onPointerMove,this);this.__lN.addListener(D,this._onPointerOut,this);this.__lN.addListener(z,this._onPointerUp,this);},properties:{appearance:{refine:true,init:o},offset:{check:d,init:6,apply:n},orientation:{init:u,check:[u,k],apply:m}},members:{__sK:null,__sL:false,__sM:null,__sN:null,__nl:null,__sO:null,__sP:null,__gc:null,__lN:null,_createChildControlImpl:function(H,G){var F;switch(H){case a:F=new qx.ui.splitpane.Slider(this);F.exclude();this._add(F,{type:H});break;case b:F=new qx.ui.splitpane.Splitter(this);this._add(F,{type:H});F.addListener(g,this.__sQ,this);break;};return F||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,H);},__sQ:function(e){this.__sS(e.getData());},__sR:function(K){this.__lN=new qx.ui.splitpane.Blocker(K);this.getContentElement().add(this.__lN);var I=this.getChildControl(b);var J=I.getWidth();if(!J){I.addListenerOnce(w,function(){this.__sS();},this);};I.addListener(i,function(e){var L=e.getData();if(L.height==0||L.width==0){this.__lN.hide();}else {this.__lN.show();};},this);},getBlocker:function(){return this.__lN;},_applyOrientation:function(Q,N){var R=this.getChildControl(a);var M=this.getChildControl(b);this.__nl=Q===u;if(!this.__lN){this.__sR(Q);};this.__lN.setOrientation(Q);var P=this._getLayout();if(P){P.dispose();};var O=Q===k?new qx.ui.splitpane.VLayout:new qx.ui.splitpane.HLayout;this._setLayout(O);M.removeState(N);M.addState(Q);M.getChildControl(t).removeState(N);M.getChildControl(t).addState(Q);R.removeState(N);R.addState(Q);qx.ui.core.queue.Manager.flush();this.__sS();},_applyOffset:function(T,S){this.__sS();},__sS:function(V){var U=this.getChildControl(b);var ba=this.getOffset();var bb=U.getBounds();var Y=U.getContentElement().getDomElement();if(!Y){return;};if(this.__nl){var X=null;if(V){X=V.width;}else if(bb){X=bb.width;};var bc=V&&V.left;if(X){if(isNaN(bc)){bc=qx.bom.element.Location.getPosition(Y).left;};this.__lN.setWidth(ba,X);this.__lN.setLeft(ba,bc);};}else {var W=null;if(V){W=V.height;}else if(bb){W=bb.height;};var top=V&&V.top;if(W){if(isNaN(top)){top=qx.bom.element.Location.getPosition(Y).top;};this.__lN.setHeight(ba,W);this.__lN.setTop(ba,top);};};},add:function(be,bd){if(bd==null){this._add(be);}else {this._add(be,{flex:bd});};this.__gc.push(be);},remove:function(bf){this._remove(bf);qx.lang.Array.remove(this.__gc,bf);},getChildren:function(){return this.__gc;},_onPointerDown:function(e){if(!e.isLeftPressed()){return;};var bg=this.getChildControl(b);var bj=bg.getContentLocation();var bh=this.getContentLocation();this.__sK=this.__nl?e.getDocumentLeft()-bj.left+bh.left:e.getDocumentTop()-bj.top+bh.top;var bi=this.getChildControl(a);var bk=bg.getBounds();bi.setUserBounds(bk.left,bk.top,bk.width,bk.height);bi.setZIndex(bg.getZIndex()+1);bi.show();this.__sL=true;this.__lN.capture();e.stop();},_onPointerMove:function(e){this._setLastPointerPosition(e.getDocumentLeft(),e.getDocumentTop());if(this.__sL){this.__sT();var bl=this.getChildControl(a);var bm=this.__sO;if(this.__nl){bl.setDomLeft(bm);this.__lN.setStyle(A,(bm-this.getOffset())+c);}else {bl.setDomTop(bm);this.__lN.setStyle(r,(bm-this.getOffset())+c);};e.stop();};},_onPointerOut:function(e){this._setLastPointerPosition(e.getDocumentLeft(),e.getDocumentTop());},_onPointerUp:function(e){if(!this.__sL){return;};this._finalizeSizes();var bn=this.getChildControl(a);bn.exclude();this.__sL=false;this.releaseCapture();e.stop();},_finalizeSizes:function(){var br=this.__sO;var bo=this.__sP;if(br==null){return;};var bt=this._getChildren();var bs=bt[2];var bq=bt[3];var bp=bs.getLayoutProperties().flex;var bu=bq.getLayoutProperties().flex;if((bp!=0)&&(bu!=0)){bs.setLayoutProperties({flex:br});bq.setLayoutProperties({flex:bo});}else {if(this.__nl){bs.setWidth(br);bq.setWidth(bo);}else {bs.setHeight(br);bq.setHeight(bo);};};},__sT:function(){if(this.__nl){var bx=v,bE=l,by=C,bC=this.__sM;}else {var bx=s,bE=f,by=h,bC=this.__sN;};var bD=this._getChildren();var bv=bD[2].getSizeHint();var bA=bD[3].getSizeHint();var bB=bD[2].getBounds()[bE]+bD[3].getBounds()[bE];var bz=bC-this.__sK;var bw=bB-bz;if(bzbv[by]){bw+=bz-bv[by];bz=bv[by];}else if(bw>bA[by]){bz+=bw-bA[by];bw=bA[by];};this.__sO=bz;this.__sP=bw;},_isActiveDragSession:function(){return this.__sL;},_setLastPointerPosition:function(x,y){this.__sM=x;this.__sN=y;}},destruct:function(){this.__gc=null;}});})();(function(){var a="splitter",b="qx.ui.splitpane.VLayout",c="slider";qx.Class.define(b,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(t,l,s){var j=this._getLayoutChildren();var length=j.length;var u,o;var p,w,v,k;var y=s.left||0;var m=s.top||0;for(var i=0;i0&&g>0){var f=A+g;var q=l-h;var r=Math.round((q/f)*A);var z=q-r;var x=qx.ui.layout.Util.arrangeIdeals(d.minHeight,r,d.maxHeight,n.minHeight,z,n.maxHeight);r=x.begin;z=x.end;}else if(A>0){r=l-h-z;if(rd.maxHeight){r=d.maxHeight;};}else if(g>0){z=l-r-h;if(zn.maxHeight){z=n.maxHeight;};};p.renderLayout(y,m,t,r);w.renderLayout(y,r+m,t,h);k.renderLayout(y,r+h+m,t,z);}else {w.renderLayout(0,0,0,0);if(p){p.renderLayout(y,m,t,l);}else if(k){k.renderLayout(y,m,t,l);};};},_computeSizeHint:function(){var K=this._getLayoutChildren();var length=K.length;var J,C,D;var E=0,G=0,F=0;var H=0,I=0,B=0;for(var i=0;iH){H=C.minWidth;};if(C.width>I){I=C.width;};if(C.maxWidth>B){B=C.maxWidth;};};return {minHeight:E,height:G,maxHeight:F,minWidth:H,width:I,maxWidth:B};}}});})();(function(){var a="center",b="qx.ui.splitpane.Splitter",c="vertical",d="knob",e="middle";qx.Class.define(b,{extend:qx.ui.core.Widget,construct:function(f){qx.ui.core.Widget.call(this);if(f.getOrientation()==c){this._setLayout(new qx.ui.layout.HBox(0,a));this._getLayout().setAlignY(e);}else {this._setLayout(new qx.ui.layout.VBox(0,e));this._getLayout().setAlignX(a);};this._createChildControl(d);},properties:{allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{_createChildControlImpl:function(i,h){var g;switch(i){case d:g=new qx.ui.basic.Image;this._add(g);break;};return g||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,i);}}});})();(function(){var a="qx.ui.splitpane.Slider";qx.Class.define(a,{extend:qx.ui.core.Widget,properties:{allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false}}});})();(function(){var a="qx.ui.table.ICellEditorFactory";qx.Interface.define(a,{members:{createCellEditor:function(b){return true;},getCellEditorValue:function(c){return true;}}});})();(function(){var a="qx.ui.table.ICellRenderer";qx.Interface.define(a,{members:{createDataCellHtml:function(b,c){return true;}}});})();(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 a="qx.ui.table.IColumnMenuItem",b="qx.event.type.Data";qx.Interface.define(a,{properties:{visible:{}},events:{changeVisible: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 a="qx.ui.table.IRowRenderer";qx.Interface.define(a,{members:{updateDataRowElement:function(c,b){},getRowHeightStyle:function(d){},createRowStyle:function(e){},getRowClass:function(f){}}});})();(function(){var a="qx.event.type.Event",b="qx.ui.table.ITableModel",c="qx.event.type.Data";qx.Interface.define(b,{events:{"dataChanged":c,"metaDataChanged":a,"sorted":c},members:{getRowCount:function(){},getRowData:function(d){},getColumnCount:function(){},getColumnId:function(e){},getColumnIndexById:function(f){},getColumnName:function(g){},isColumnEditable:function(h){},isColumnSortable:function(i){},sortByColumn:function(j,k){},getSortColumnIndex:function(){},isSortAscending:function(){},prefetchRows:function(m,l){},getValue:function(o,n){},getValueById:function(q,p){},setValue:function(s,r,t){},setValueById:function(v,u,w){}}});})();(function(){var a="contextmenu",b="function",c="qx.ui.table.MTableContextMenu",d="cellContextmenu",f="disappear";qx.Mixin.define(c,{construct:function(){this.addListener(d,function(e){var g=this.getContextMenu();if(g&&!g.isDisposed()){g.hide();this.setContextMenu(null);this.getApplicationRoot().remove(g);g.dispose();g=null;};var l=e.getColumn();var h=this.getContextMenuHandler(l);if(typeof h!==b){return;};var k=this.__sV[l];var i=this.getTableModel();g=new qx.ui.menu.Menu();g.addListener(a,function(e){e.preventDefault();});g.addListenerOnce(f,function(){this.setContextMenu(null);},this);var j=h.call(k,l,e.getRow(),this,i,g);if(!j){g.dispose();return;};this.setContextMenu(g);},this);this.__sU=[];this.__sV=[];},members:{__sU:null,__sV:null,setContextMenuHandler:function(n,m,o){this.__sU[n]=m;this.__sV[n]=o||this;},getContextMenuHandler:function(p){return this.__sU[p];}},destruct:function(){this.__sU=null;this.__sV=null;}});})();(function(){var a="_applyStatusBarVisible",b="columnVisibilityMenuCreateStart",c="function",d="blur",f="qx.ui.table.Table",g="Boolean",h="_applyFocusCellOnPointerMove",k="columnVisibilityMenuCreateEnd",m="changeVisible",n="verticalScrollBarChanged",o="_applyMetaColumnCounts",p="PageUp",q="focus",r="changeDataRowRenderer",s="dataChanged",t="changeHeaderCellHeight",u="Escape",v="A",w="changeSelectionModel",y="Left",z="Down",A="Integer",B="__sX",C="_applyHeaderCellHeight",D="qx.event.type.Data",E="statusbar",F="Function",G="menu",H="qx.ui.table.ITableModel",I="column-button",J="_applySelectionModel",K="changeLocale",L="__sW",M="menu-button",N="_applyResetSelectionOnHeaderTap",O="_applyAdditionalStatusBarText",P="table",Q="_applyColumnVisibilityButtonVisible",R="changeTableModel",S="qx.event.type.Event",T="tableWidthChanged",U="changeSelection",V="_applyHeaderCellsVisible",W="Object",X="_applyShowCellFocusIndicator",Y="__tf",bQ="resize",bR="changeScrollY",bS="_applyTableModel",bM="__tg",bN="End",bO="_applyKeepFirstVisibleRowComplete",bP="widthChanged",bW="one of one row",bX="Home",bY="_applyRowHeight",cs="F2",bT="appear",bU="visibilityChanged",bV="qx.dynlocale",bJ="%1 rows",cq="qx.ui.table.selection.Model",bL='"',cc="one row",cd="PageDown",bK="%1 of %2 rows",ca="__dE",ck="keypress",cb="changeRowHeight",ce="Up",cf="Enter",cg="Number",cl="metaDataChanged",cm="header",cp="__th",cr="_applyContextMenuFromDataCellsOnly",ch="qx.ui.table.IRowRenderer",ci="Right",cj="orderChanged",cn="qx.ui.table.pane.CellEvent",co="Space";qx.Class.define(f,{extend:qx.ui.core.Widget,include:qx.ui.core.MDragDropScrolling,construct:function(ct,cv){qx.ui.core.Widget.call(this);if(!cv){cv={};};if(cv.initiallyHiddenColumns){this.setInitiallyHiddenColumns(cv.initiallyHiddenColumns);};if(cv.selectionManager){this.setNewSelectionManager(cv.selectionManager);};if(cv.selectionModel){this.setNewSelectionModel(cv.selectionModel);};if(cv.tableColumnModel){this.setNewTableColumnModel(cv.tableColumnModel);};if(cv.tablePane){this.setNewTablePane(cv.tablePane);};if(cv.tablePaneHeader){this.setNewTablePaneHeader(cv.tablePaneHeader);};if(cv.tablePaneScroller){this.setNewTablePaneScroller(cv.tablePaneScroller);};if(cv.tablePaneModel){this.setNewTablePaneModel(cv.tablePaneModel);};if(cv.columnMenu){this.setNewColumnMenu(cv.columnMenu);};this._setLayout(new qx.ui.layout.VBox());this.__sW=new qx.ui.container.Composite(new qx.ui.layout.HBox());this._add(this.__sW,{flex:1});this.setDataRowRenderer(new qx.ui.table.rowrenderer.Default(this));this.__sX=this.getNewSelectionManager()(this);this.setSelectionModel(this.getNewSelectionModel()(this));this.setTableModel(ct||this.getEmptyTableModel());this.setMetaColumnCounts([-1]);this.setTabIndex(1);this.addListener(ck,this._onKeyPress);this.addListener(q,this._onFocusChanged);this.addListener(d,this._onFocusChanged);var cu=new qx.ui.core.Widget().set({height:0});this._add(cu);cu.addListener(bQ,this._onResize,this);this.__sY=null;this.__ta=null;if(qx.core.Environment.get(bV)){qx.locale.Manager.getInstance().addListener(K,this._onChangeLocale,this);};this.initStatusBarVisible();ct=this.getTableModel();if(ct.init&&typeof (ct.init)==c){ct.init(this);};},events:{"columnVisibilityMenuCreateStart":D,"columnVisibilityMenuCreateEnd":D,"tableWidthChanged":S,"verticalScrollBarChanged":D,"cellTap":cn,"cellDbltap":cn,"cellContextmenu":cn,"dataEdited":D},statics:{__tb:{cellTap:1,cellDbltap:1,cellContextmenu:1}},properties:{appearance:{refine:true,init:P},focusable:{refine:true,init:true},minWidth:{refine:true,init:50},initiallyHiddenColumns:{init:null},selectable:{refine:true,init:false},selectionModel:{check:cq,apply:J,event:w},tableModel:{check:H,apply:bS,event:R},rowHeight:{check:cg,init:20,apply:bY,event:cb,themeable:true},forceLineHeight:{check:g,init:true},headerCellsVisible:{check:g,init:true,apply:V,themeable:true},headerCellHeight:{check:A,init:16,apply:C,event:t,nullable:true,themeable:true},statusBarVisible:{check:g,init:true,apply:a},additionalStatusBarText:{nullable:true,init:null,apply:O},columnVisibilityButtonVisible:{check:g,init:true,apply:Q,themeable:true},metaColumnCounts:{check:W,apply:o},focusCellOnPointerMove:{check:g,init:false,apply:h},rowFocusChangeModifiesSelection:{check:g,init:true},showCellFocusIndicator:{check:g,init:true,apply:X},contextMenuFromDataCellsOnly:{check:g,init:true,apply:cr},keepFirstVisibleRowComplete:{check:g,init:true,apply:bO},alwaysUpdateCells:{check:g,init:false},resetSelectionOnHeaderTap:{check:g,init:true,apply:N},dataRowRenderer:{check:ch,init:null,nullable:true,event:r},modalCellEditorPreOpenFunction:{check:F,init:null,nullable:true},newColumnMenu:{check:F,init:function(){return new qx.ui.table.columnmenu.Button();}},newSelectionManager:{check:F,init:function(cw){return new qx.ui.table.selection.Manager(cw);}},newSelectionModel:{check:F,init:function(cx){return new qx.ui.table.selection.Model(cx);}},newTableColumnModel:{check:F,init:function(cy){return new qx.ui.table.columnmodel.Basic(cy);}},newTablePane:{check:F,init:function(cz){return new qx.ui.table.pane.Pane(cz);}},newTablePaneHeader:{check:F,init:function(cA){return new qx.ui.table.pane.Header(cA);}},newTablePaneScroller:{check:F,init:function(cB){return new qx.ui.table.pane.Scroller(cB);}},newTablePaneModel:{check:F,init:function(cC){return new qx.ui.table.pane.Model(cC);}}},members:{__sY:null,__ta:null,__sW:null,__sX:null,__tc:null,__td:null,__te:null,__tf:null,__tg:null,__th:null,__ti:null,__dE:null,_createChildControlImpl:function(cG,cF){var cD;switch(cG){case E:cD=new qx.ui.basic.Label();cD.set({allowGrowX:true});this._add(cD);break;case I:cD=this.getNewColumnMenu()();cD.set({focusable:false});var cE=cD.factory(G,{table:this});cE.addListener(bT,this._initColumnMenu,this);break;};return cD||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,cG);},_applySelectionModel:function(cI,cH){this.__sX.setSelectionModel(cI);if(cH!=null){cH.removeListener(U,this._onSelectionChanged,this);};cI.addListener(U,this._onSelectionChanged,this);},_applyRowHeight:function(cL,cK){var cJ=this._getPaneScrollerArr();for(var i=0;idj){var dr=qx.event.Registration.getManager(dg[0]);for(var di in qx.ui.table.Table.__tb){dl[di]={};dl[di].capture=dr.getListeners(dg[0],di,true);dl[di].bubble=dr.getListeners(dg[0],di,false);};};this._cleanUpMetaColumns(dn.length);var dm=0;for(var i=0;idg.length){var ds=this.getTableColumnModel();for(var i=dg.length;i0){var dh=dl[di].capture;for(var j=0;j0){var dv=dl[di].bubble;for(var j=0;j=dO;i-- ){dN[i].destroy();};};},_onChangeLocale:function(dP){this.updateContent();this._updateStatusBar();},_onChangeTheme:function(){qx.ui.core.Widget.prototype._onChangeTheme.call(this);this.getDataRowRenderer().initThemeValues();this.updateContent();this._updateStatusBar();},_onSelectionChanged:function(dR){var dQ=this._getPaneScrollerArr();for(var i=0;i=ea&&this.__ta<(ea+ed)){this.setFocusedCell();};};for(var i=0;i0){this.getSelectionModel().setSelectionInterval(0,el-1);};break;default:ek=false;break;};}else {switch(eo){case co:this.__sX.handleSelectKeyDown(this.__ta,ep);break;case cs:case cf:this.startEditing();ek=true;break;case bX:this.setFocusedCell(this.__sY,0,true);break;case bN:var el=this.getTableModel().getRowCount();this.setFocusedCell(this.__sY,el-1,true);break;case y:this.moveFocusedCell(-1,0);break;case ci:this.moveFocusedCell(1,0);break;case ce:this.moveFocusedCell(0,-1);break;case z:this.moveFocusedCell(0,1);break;case p:case cd:var ej=this.getPaneScroller(0);var em=ej.getTablePane();var ei=this.getRowHeight();var eh=(eo==p)?-1:1;el=em.getVisibleRowCount()-1;ej.setScrollY(ej.getScrollY()+eh*el*ei);this.moveFocusedCell(0,eh*el);break;default:ek=false;};};};if(en!=this.__ta&&this.getRowFocusChangeModifiesSelection()){this.__sX.handleMoveKeyDown(this.__ta,ep);};if(ek){ep.preventDefault();ep.stopPropagation();};},_onFocusChanged:function(er){var eq=this._getPaneScrollerArr();for(var i=0;i=fg.left&&fh<=fg.right){return i;};};return -1;},_getMetaColumnAtColumnX:function(fj){var fk=this.getMetaColumnCounts();var fl=0;for(var i=0;i=0){if(fn==0){fp=this.trn(cc,bJ,fo,fo);}else {fp=this.trn(bW,bK,fo,fn,fo);};};if(this.__tc){if(fp){fp+=this.__tc;}else {fp=this.__tc;};};if(fp){this.getChildControl(E).setValue(fp);};};},_updateScrollerWidths:function(){var fq=this._getPaneScrollerArr();for(var i=0;i0;},getAnchorSelectionIndex:function(){return this.__tk;},_setAnchorSelectionIndex:function(o){this.__tk=o;},getLeadSelectionIndex:function(){return this.__tl;},_setLeadSelectionIndex:function(p){this.__tl=p;},_getSelectedRangeArr:function(){return this.__tj;},resetSelection:function(){if(!this.isSelectionEmpty()){this._resetSelection();this._fireChangeSelection();};},isSelectionEmpty:function(){return this.__tj.length==0;},getSelectedCount:function(){var r=0;for(var i=0;i=t.minIndex&&s<=t.maxIndex){return true;};};return false;},getSelectedRanges:function(){var u=[];for(var i=0;iH){break;}else if(J.maxIndex>=D){var K=(J.minIndex>=D)&&(J.minIndex<=H);var F=(J.maxIndex>=D)&&(J.maxIndex<=H);if(K&&F){this.__tj.splice(i,1);i-- ;}else if(K){J.minIndex=H+1;}else if(F){J.maxIndex=D-1;}else {var I={minIndex:H+1,maxIndex:J.maxIndex};this.__tj.splice(i+1,0,I);J.maxIndex=D-1;break;};};};this._fireChangeSelection();},_resetSelection:function(){this.__tj=[];this.__tk=-1;this.__tl=-1;},_addSelectionInterval:function(O,M){this.__tk=O;this.__tl=M;var L=Math.min(O,M);var P=Math.max(O,M);var N=0;for(;NL){break;};};this.__tj.splice(N,0,{minIndex:L,maxIndex:P});var R=this.__tj[0];for(var i=1;i=Q.minIndex){R.maxIndex=Math.max(R.maxIndex,Q.maxIndex);this.__tj.splice(i,1);i-- ;}else {R=Q;};};},_dumpRanges:function(){var S=h;for(var i=0;i=cj){if(cj==0){this.setFocusedCell(null,null);}else {this.setFocusedCell(this.getFocusedColumn(),cj-1);};};this.__td=cj;};},onSelectionChanged:function(){this.__tr.onSelectionChanged();},onFocusChanged:function(){this.__tr.onFocusChanged();},onTableModelMetaDataChanged:function(){this.__sA.onTableModelMetaDataChanged();this.__tr.onTableModelMetaDataChanged();},_onPaneModelChanged:function(){this.__sA.onPaneModelChanged();this.__tr.onPaneModelChanged();},_onResizePane:function(){this.updateHorScrollBarMaximum();this.updateVerScrollBarMaximum();this._updateContent();this.__sA._updateContent();this.__tq._updateScrollBarVisibility();},updateHorScrollBarMaximum:function(){var cs=this._paneClipper.getInnerSize();if(!cs){return;};var cp=this.getTablePaneModel().getTotalWidth();var cq=this.__tu;if(cs.width0&&cE.y<1){cE.y=1;}else if(cE.y<0&&cE.y>-1){cE.y=-1;};this.__tv.scrollBy(parseInt(cE.y,10));var cC=cE.y!=0&&!this.__tM(this.__tv,cE.y);if(cE.x>0&&cE.x<1){cE.x=1;}else if(cE.x<0&&cE.x>-1){cE.x=-1;};this.__tu.scrollBy(parseInt(cE.x,10));if(this.__tI&&this.getFocusCellOnPointerMove()){this._focusCellAtPagePos(this.__tI,this.__tJ);};cC=cC||(cE.x!=0&&!this.__tM(this.__tu,cE.x));if(cC){e.stop();}else {e.stopMomentum();};},__tM:function(cG,cH){var cF=cG.getPosition();return (cH<0&&cF<=0)||(cH>0&&cF>=cG.getMaximum());},__tN:function(cN){var cL=this.getTable();var cO=this.__sA.getHeaderWidgetAtColumn(this.__tC);var cI=cO.getSizeHint().minWidth;var cK=Math.max(cI,this.__tE+cN-this.__tD);if(this.getLiveResize()){var cJ=cL.getTableColumnModel();cJ.setColumnWidth(this.__tC,cK,true);}else {this.__sA.setColumnWidth(this.__tC,cK,true);var cM=this.getTablePaneModel();this._showResizeLine(cM.getColumnLeft(this.__tC)+cK);};this.__tD+=cK-this.__tE;this.__tE=cK;},__tO:function(cR){var cQ=qx.ui.table.pane.Scroller.TAP_TOLERANCE;if(this.__sA.isShowingColumnMoveFeedback()||cR>this.__tB+cQ||cRdx){dw-- ;};dA.moveColumn(dx,dw);this._updateFocusIndicator();};};this._moveColumn=null;this._lastMoveTargetX=null;this._headerClipper.releaseCapture();},_onPointerupHeader:function(e){var dE=this.getTable();if(!dE.getEnabled()){return;};if(this.__tC!=null){this._stopResizeHeader();this.__tH=true;e.stop();}else if(this._moveColumn!=null){this._stopMoveHeader();e.stop();};},_onTapHeader:function(e){if(this.__tH){this.__tH=false;return;};var dJ=this.getTable();if(!dJ.getEnabled()){return;};var dH=dJ.getTableModel();var dI=e.getDocumentLeft();var dG=this._getResizeColumnForPageX(dI);if(dG==-1){var dM=this._getColumnForPageX(dI);if(dM!=null&&dH.isColumnSortable(dM)){var dF=dH.getSortColumnIndex();var dK=(dM!=dF)?true:!dH.isSortAscending();var dL={column:dM,ascending:dK,tapEvent:e};if(this.fireDataEvent(V,dL,null,true)){if(dJ.isEditing()){dJ.stopEditing();};dH.sortByColumn(dM,dK);if(this.getResetSelectionOnHeaderTap()){dJ.getSelectionModel().resetSelection();};};};};e.stop();},_onTapPane:function(e){var dQ=this.getTable();if(!dQ.getEnabled()){return;};var dO=e.getDocumentLeft();var dP=e.getDocumentTop();var dS=this._getRowForPagePos(dO,dP);var dR=this._getColumnForPageX(dO);if(dS!=null&&dR!=null){var dN=this.getSelectBeforeFocus();if(dN){dQ.getSelectionManager().handleTap(dS,e);};if(!this.getFocusCellOnPointerMove()){this._focusCellAtPagePos(dO,dP);};if(!dN){dQ.getSelectionManager().handleTap(dS,e);};if(this.__tw.isHidden()||(this.__tF&&!this.__tG&&!this.isEditing()&&dS==this.__tF.row&&dR==this.__tF.col)){this.fireEvent(r,qx.ui.table.pane.CellEvent,[this,e,dS,dR],true);this.__tG=true;};};},_onContextMenu:function(e){var dU=e.getDocumentLeft();var dV=e.getDocumentTop();var dX=this._getRowForPagePos(dU,dV);var dW=this._getColumnForPageX(dU);if(dX===null&&this.getContextMenuFromDataCellsOnly()){return;};if(!this.getShowCellFocusIndicator()||dX===null||(this.__tF&&dX==this.__tF.row&&dW==this.__tF.col)){this.fireEvent(X,qx.ui.table.pane.CellEvent,[this,e,dX,dW],true);var dT=this.getTable().getContextMenu();if(dT){if(dT.getChildren().length>0){dT.openAtPointer(e);}else {dT.exclude();};e.preventDefault();};};},_onContextMenuOpen:function(e){},_onDbltapPane:function(e){var eb=e.getDocumentLeft();var ec=e.getDocumentTop();var ea=this._getColumnForPageX(eb);if(ea!==null){this._focusCellAtPagePos(eb,ec);this.startEditing();var dY=this._getRowForPagePos(eb,ec);if(dY!=-1&&dY!=null){this.fireEvent(l,qx.ui.table.pane.CellEvent,[this,e,dY],true);};};},_onPointerout:function(e){var ed=this.getTable();if(!ed.getEnabled()){return;};if(this.__tC==null){this.setCursor(null);this.getApplicationRoot().setGlobalCursor(null);};this.__sA.setPointerOverColumn(null);if(this.getFocusCellOnPointerMove()){this.__tq.setFocusedCell();};},_showResizeLine:function(x){var ef=this._showChildControl(F);var ee=ef.getWidth();var eg=this._paneClipper.getBounds();ef.setUserBounds(x-Math.round(ee/2),0,ee,eg.height);},_hideResizeLine:function(){this._excludeChildControl(F);},showColumnMoveFeedback:function(ep){var eq=this.getTablePaneModel();var ej=this.getTable().getTableColumnModel();var ek=this.__tr.getContentLocation().left;var eo=eq.getColumnCount();var el=0;var et=0;var ei=ek;for(var eh=0;eh=(fi-fg)&&fh<=(fi+fg)){return fn;};};return -1;},_getRowForPagePos:function(fu,fv){var fo=this.__tr.getContentLocation();if(fufo.right){return null;};if(fv>=fo.top&&fv<=fo.bottom){var fp=this.getTable().getRowHeight();var scrollY=this.__tv.getPosition();if(this.getTable().getKeepFirstVisibleRowComplete()){scrollY=Math.floor(scrollY/fp)*fp;};var fs=scrollY+fv-fo.top;var fw=Math.floor(fs/fp);var fq=this.getTable().getTableModel();var ft=fq.getRowCount();return (fw=fr.top&&fv<=fr.bottom&&fu<=fr.right){return -1;};return null;},setTopRightWidget:function(fx){var fy=this.__tL;if(fy!=null){this.__ts.remove(fy);};if(fx!=null){this.__ts.add(fx);};this.__tL=fx;},getTopRightWidget:function(){return this.__tL;},getHeader:function(){return this.__sA;},getTablePane:function(){return this.__tr;},getVerticalScrollBarWidth:function(){var fz=this.__tv;return fz.isVisible()?(fz.getSizeHint().width||0):0;},getNeededScrollBars:function(fD,fE){var fP=this.__tv;var fO=fP.getSizeHint().width+fP.getMarginLeft()+fP.getMarginRight();var fJ=this.__tu;var fM=fJ.getSizeHint().height+fJ.getMarginTop()+fJ.getMarginBottom();var fG=this._paneClipper.getInnerSize();var fA=fG?fG.width:0;if(this.getVerticalScrollBarVisible()){fA+=fO;};var fK=fG?fG.height:0;if(this.getHorizontalScrollBarVisible()){fK+=fM;};var fH=this.getTable().getTableModel();var fI=fH.getRowCount();var fB=this.getTablePaneModel().getTotalWidth();var fL=this.getTable().getRowHeight()*fI;var fC=false;var fQ=false;if(fB>fA){fC=true;if(fL>fK-fM){fQ=true;};}else if(fL>fK){fQ=true;if(!fE&&(fB>fA-fO)){fC=true;};};var fF=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;var fN=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;return ((fD||fC)?fF:0)|((fE||!fQ)?0:fN);},getPaneClipper:function(){return this._paneClipper;},getScrollAreaContainer:function(){return this.getPaneClipper();},_applyScrollTimeout:function(fS,fR){this._startInterval(fS);},_startInterval:function(fT){this.__dE.setInterval(fT);this.__dE.start();},_stopInterval:function(){this.__dE.stop();},_postponedUpdateContent:function(){this._updateContent();},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.__ty&&!this.__tr._layoutPending){this.__ty=false;this._updateContent();};}),_updateContent:function(){var gc=this._paneClipper.getInnerSize();if(!gc){return;};var ga=gc.height;var scrollX=this.__tu.getPosition();var scrollY=this.__tv.getPosition();var fV=this.getTable().getRowHeight();var fX=Math.floor(scrollY/fV);var gb=this.__tr.getFirstVisibleRow();this.__tr.setFirstVisibleRow(fX);var fW=Math.ceil(ga/fV);var fU=0;var fY=this.getTable().getKeepFirstVisibleRowComplete();if(!fY){fW++ ;fU=scrollY%fV;};this.__tr.setVisibleRowCount(fW);if(fX!=gb){this._updateFocusIndicator();};this._paneClipper.scrollToX(scrollX);if(!fY){this._paneClipper.scrollToY(fU);};},_updateFocusIndicator:function(){var gd=this.getTable();if(!gd.getEnabled()){return;};this.__tw.moveToCell(this.__sY,this.__ta);}},destruct:function(){this._stopInterval();var ge=this.getTablePaneModel();if(ge){ge.dispose();};this.__tF=this.__tL=this.__tq=null;this._disposeObjects(b,O,D,j,g,a,bK,H,Y,Q);}});})();(function(){var a="Escape",b="keypress",c="Enter",d="excluded",f="Integer",g="qx.ui.table.pane.FocusIndicator";qx.Class.define(g,{extend:qx.ui.container.Composite,construct:function(h){qx.ui.container.Composite.call(this);this.__tP=h;this.setKeepActive(true);this.addListener(b,this._onKeyPress,this);},properties:{visibility:{refine:true,init:d},row:{check:f,nullable:true},column:{check:f,nullable:true}},members:{__tP:null,_onKeyPress:function(e){var i=e.getKeyIdentifier();if(i!==a&&i!==c){e.stopPropagation();};},moveToCell:function(p,q){if(!this.__tP.getShowCellFocusIndicator()&&!this.__tP.getTable().getTableModel().isColumnEditable(p)){this.exclude();return;}else {this.show();};if(p==null){this.hide();this.setRow(null);this.setColumn(null);}else {var j=this.__tP.getTablePaneModel().getX(p);if(j==-1){this.hide();this.setRow(null);this.setColumn(null);}else {var o=this.__tP.getTable();var m=o.getTableColumnModel();var n=this.__tP.getTablePaneModel();var l=this.__tP.getTablePane().getFirstVisibleRow();var k=o.getRowHeight();this.setUserBounds(n.getColumnLeft(p)-2,(q-l)*k-2,m.getColumnWidth(p)+3,k+3);this.show();this.setRow(q);this.setColumn(p);};};}},destruct:function(){this.__tP=null;}});})();(function(){var a="qx.ui.table.pane.Clipper";qx.Class.define(a,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this,new qx.ui.layout.Grow());this.setMinWidth(0);},members:{scrollToX:function(b){this.getContentElement().scrollToX(b,false);},scrollToY:function(c){this.getContentElement().scrollToY(c,true);}}});})();(function(){var a="Integer",b="qx.ui.table.pane.CellEvent";qx.Class.define(b,{extend:qx.event.type.Pointer,properties:{row:{check:a,nullable:true},column:{check:a,nullable:true}},members:{init:function(e,c,f,d){c.clone(this);this.setBubbles(false);if(f!=null){this.setRow(f);}else {this.setRow(e._getRowForPagePos(this.getDocumentLeft(),this.getDocumentTop()));};if(d!=null){this.setColumn(d);}else {this.setColumn(e._getColumnForPageX(this.getDocumentLeft()));};},clone:function(g){var h=qx.event.type.Pointer.prototype.clone.call(this,g);h.set({row:this.getRow(),column:this.getColumn()});return h;}}});})();(function(){var a="qx.lang.Number";qx.Class.define(a,{statics:{isInRange:function(c,d,b){return c>=d&&c<=b;},isBetweenRange:function(f,g,e){return f>g&&fh){return h;}else if(j!=null&&i=T&&U=Y&&Y!==-1){this.__tV();};},__tV:function(){this.__tS=[];this.__tU=0;},__tW:function(bc,ba,bb){if(!ba&&!bb&&this.__tS[bc]){return this.__tS[bc];}else {return null;};},__tX:function(bh,bg,be,bf){var bd=this.getMaxCacheLines();if(!be&&!bf&&!this.__tS[bh]&&bd>0){this._applyMaxCacheLines(bd);this.__tS[bh]=bg;this.__tU+=1;};},updateContent:function(bi,bl,bk,bj){if(bi){this.__tV();};if(bl&&Math.abs(bl)<=Math.min(10,this.getVisibleRowCount())){this._scrollContent(bl);}else if(bj&&!this.getTable().getAlwaysUpdateCells()){this._updateRowStyles(bk);}else {this._updateAllRows();};},_updateRowStyles:function(br){var bq=this.getContentElement().getDomElement();if(!bq||!bq.firstChild){this._updateAllRows();return;};var bu=this.getTable();var bn=bu.getSelectionModel();var bs=bu.getTableModel();var bv=bu.getDataRowRenderer();var bp=bq.firstChild.childNodes;var bo={table:bu};var bw=this.getFirstVisibleRow();var y=0;var bm=bp.length;if(br!=null){var bt=br-bw;if(bt>=0&&btcm){this._updateAllRows();return;};var co=cn<0?cf+cn:0;var ce=cn<0?0:cf-cn;for(var i=Math.abs(cn)-1;i>=0;i-- ){var ch=cd[co];try{cl.removeChild(ch);}catch(cp){break;};};if(!this.__tT){this.__tT=document.createElement(g);};var ck=a;ck+=this._getRowsHtml(ci+ce,Math.abs(cn));ck+=e;this.__tT.innerHTML=ck;var cj=this.__tT.firstChild.childNodes;if(cn>0){for(var i=cj.length-1;i>=0;i-- ){var ch=cj[0];cl.appendChild(ch);};}else {for(var i=cj.length-1;i>=0;i-- ){var ch=cj[cj.length-1];cl.insertBefore(ch,cl.firstChild);};};if(this.__ta!==null){this._updateRowStyles(this.__ta-cn);this._updateRowStyles(this.__ta);};this.fireEvent(t);},_updateAllRows:function(){var ct=this.getContentElement().getDomElement();if(!ct){this.addListenerOnce(u,arguments.callee,this);return;};var cz=this.getTable();var cw=cz.getTableModel();var cy=this.getPaneScroller().getTablePaneModel();var cx=cy.getColumnCount();var cq=cz.getRowHeight();var cu=this.getFirstVisibleRow();var cr=this.getVisibleRowCount();var cA=cw.getRowCount();if(cu+cr>cA){cr=Math.max(0,cA-cu);};var cs=cy.getTotalWidth();var cv;if(cr>0){cv=[E,m,(cz.getForceLineHeight()?s+cq+z:q),c,B,this._getRowsHtml(cu,cr),b];}else {cv=[];};var cB=cv.join(q);ct.innerHTML=cB;this.setWidth(cs);this.__tR=cx;this.__td=cr;this.fireEvent(t);}},destruct:function(){this.__tT=this.__tQ=this.__tS=null;this.removeListener(k,this._onTrack,this);}});})();(function(){var a="Number",b="qx.event.type.Event",c="modelChanged",d="_applyFirstColumnX",e="headerCellRendererChanged",f="Integer",g="qx.ui.table.pane.Model",h="_applyMaxColumnCount",i="visibilityChangedPre";qx.Class.define(g,{extend:qx.core.Object,construct:function(j){qx.core.Object.call(this);this.setTableColumnModel(j);},events:{"modelChanged":b},statics:{EVENT_TYPE_MODEL_CHANGED:c},properties:{firstColumnX:{check:f,init:0,apply:d},maxColumnCount:{check:a,init:-1,apply:h}},members:{__tY:null,__ua:null,_applyFirstColumnX:function(l,k){this.__tY=null;this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},_applyMaxColumnCount:function(n,m){this.__tY=null;this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},setTableColumnModel:function(o){if(this.__ua){this.__ua.removeListener(i,this._onColVisibilityChanged,this);this.__ua.removeListener(e,this._onHeaderCellRendererChanged,this);};this.__ua=o;this.__ua.addListener(i,this._onColVisibilityChanged,this);this.__ua.addListener(e,this._onHeaderCellRendererChanged,this);this.__tY=null;},_onColVisibilityChanged:function(p){this.__tY=null;this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},_onHeaderCellRendererChanged:function(q){this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},getColumnCount:function(){if(this.__tY==null){var r=this.getFirstColumnX();var t=this.getMaxColumnCount();var s=this.__ua.getVisibleColumnCount();if(t==-1||(r+t)>s){this.__tY=s-r;}else {this.__tY=t;};};return this.__tY;},getColumnAtX:function(v){var u=this.getFirstColumnX();return this.__ua.getVisibleColumnAtX(u+v);},getX:function(z){var w=this.getFirstColumnX();var y=this.getMaxColumnCount();var x=this.__ua.getVisibleX(z)-w;if(x>=0&&(y==-1||x=0;x-- ){var N=O[x];N.destroy();};}},destruct:function(){this.__lN.dispose();this._disposeObjects(c);}});})();(function(){var a=" != ",b="abstract",c="metaDataChanged",d="columnIdArr and columnNameArr have different length: ",e="getValue is abstract",f="qx.ui.table.model.Abstract",g="qx.event.type.Event",h="this.__columnIdArr and columnNameArr have different length: ",j="setValue is abstract",k="getRowCount is abstract",l="qx.event.type.Data";qx.Class.define(f,{type:b,extend:qx.core.Object,implement:qx.ui.table.ITableModel,events:{"dataChanged":l,"metaDataChanged":g,"sorted":l},construct:function(){qx.core.Object.call(this);this.__ud=[];this.__ue=[];this.__uf={};},members:{__ud:null,__ue:null,__uf:null,__te:null,init:function(m){},getRowCount:function(){throw new Error(k);},getRowData:function(n){return null;},isColumnEditable:function(o){return false;},isColumnSortable:function(p){return false;},sortByColumn:function(q,r){},getSortColumnIndex:function(){return -1;},isSortAscending:function(){return true;},prefetchRows:function(t,s){},getValue:function(v,u){throw new Error(e);},getValueById:function(x,w){return this.getValue(this.getColumnIndexById(x),w);},setValue:function(z,y,A){throw new Error(j);},setValueById:function(C,B,D){this.setValue(this.getColumnIndexById(C),B,D);},getColumnCount:function(){return this.__ud.length;},getColumnIndexById:function(E){return this.__uf[E];},getColumnId:function(F){return this.__ud[F];},getColumnName:function(G){return this.__ue[G];},setColumnIds:function(H){this.__ud=H;this.__uf={};for(var i=0;in)?1:((k==n)?0:-1);},_defaultSortComparatorInsensitiveAscending:function(q,r){var p=(q[arguments.callee.columnIndex].toLowerCase?q[arguments.callee.columnIndex].toLowerCase():q[arguments.callee.columnIndex]);var s=(r[arguments.callee.columnIndex].toLowerCase?r[arguments.callee.columnIndex].toLowerCase():r[arguments.callee.columnIndex]);if(qx.lang.Type.isNumber(p)&&qx.lang.Type.isNumber(s)){var t=isNaN(p)?isNaN(s)?0:1:isNaN(s)?-1:null;if(t!=null){return t;};};return (p>s)?1:((p==s)?0:-1);},_defaultSortComparatorDescending:function(v,w){var u=v[arguments.callee.columnIndex];var x=w[arguments.callee.columnIndex];if(qx.lang.Type.isNumber(u)&&qx.lang.Type.isNumber(x)){var y=isNaN(u)?isNaN(x)?0:1:isNaN(x)?-1:null;if(y!=null){return y;};};return (u=this.__ug.length){throw new Error(c+bj+g+this.__ug.length+e);};return this.__ug[bj][bk];},setValue:function(bm,bl,bo){if(this.__ug[bl][bm]!=bo){this.__ug[bl][bm]=bo;if(this.hasListener(f)){var bn={firstRow:bl,lastRow:bl,firstColumn:bm,lastColumn:bm};this.fireDataEvent(f,bn);};if(bm==this.__uh){this.clearSorting();};};},setData:function(bq,bp){this.__ug=bq;if(this.hasListener(f)){var br={firstRow:0,lastRow:bq.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,br);};if(bp!==false){this.clearSorting();};},getData:function(){return this.__ug;},setDataAsMapArray:function(bt,bs,bu){this.setData(this._mapArray2RowArr(bt,bs),bu);},addRows:function(bx,bw,bv){if(bw==null){bw=this.__ug.length;};bx.splice(0,0,bw,0);Array.prototype.splice.apply(this.__ug,bx);var by={firstRow:bw,lastRow:this.__ug.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,by);if(bv!==false){this.clearSorting();};},addRowsAsMapArray:function(bA,bB,bz,bC){this.addRows(this._mapArray2RowArr(bA,bz),bB,bC);},setRows:function(bF,bE,bD){if(bE==null){bE=0;};bF.splice(0,0,bE,bF.length);Array.prototype.splice.apply(this.__ug,bF);var bG={firstRow:bE,lastRow:this.__ug.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,bG);if(bD!==false){this.clearSorting();};},setRowsAsMapArray:function(bI,bJ,bH,bK){this.setRows(this._mapArray2RowArr(bI,bH),bJ,bK);},removeRows:function(bM,bN,bL){this.__ug.splice(bM,bN);var bO={firstRow:bM,lastRow:this.__ug.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1,removeStart:bM,removeCount:bN};this.fireDataEvent(f,bO);if(bL!==false){this.clearSorting();};},_mapArray2RowArr:function(bQ,bU){var bT=bQ.length;var bP=this.getColumnCount();var bS=new Array(bT);var bR;for(var i=0;i0){if(arguments.length===1){if(qx.lang.Type.isString(B)){this.setLocale(B);}else {throw new Error(g);};}else {throw new Error(v);};};if(!B){this.setLocale(qx.locale.Manager.getInstance().getLocale());if(qx.core.Environment.get(t)){qx.locale.Manager.getInstance().bind(u,this,u);};};},properties:{minimumIntegerDigits:{check:w,init:0},maximumIntegerDigits:{check:w,nullable:true},minimumFractionDigits:{check:w,init:0},maximumFractionDigits:{check:w,nullable:true},groupingUsed:{check:b,init:true},prefix:{check:n,init:o,event:y},postfix:{check:n,init:o,event:y},locale:{check:n,init:null,event:j}},members:{format:function(H){if(isNaN(H)){return x;};switch(H){case Infinity:return A;case -Infinity:return m;};var F=(H<0);if(F){H=-H;};if(this.getMaximumFractionDigits()!=null){var N=Math.pow(10,this.getMaximumFractionDigits());H=Math.round(H*N)/N;};var L=String(Math.floor(H)).length;var C=o+H;var J=C.substring(0,L);while(J.lengththis.getMaximumIntegerDigits()){J=J.substring(J.length-this.getMaximumIntegerDigits());};var I=C.substring(L+1);while(I.lengththis.getMaximumFractionDigits()){I=I.substring(0,this.getMaximumFractionDigits());};if(this.getGroupingUsed()){var E=J;J=o;var M;for(M=E.length;M>3;M-=3){J=o+qx.locale.Number.getGroupSeparator(this.getLocale())+E.substring(M-3,M)+J;};J=E.substring(0,M)+J;};var G=this.getPrefix()?this.getPrefix():o;var D=this.getPostfix()?this.getPostfix():o;var K=G+(F?a:o)+J;if(I.length>0){K+=o+qx.locale.Number.getDecimalSeparator(this.getLocale())+I;};K+=D;return K;},parse:function(W){var S=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this.getLocale())+o);var Q=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this.getLocale())+o);var O=new RegExp(i+qx.lang.String.escapeRegexpChars(this.getPrefix())+k+q+S+c+l+Q+p+qx.lang.String.escapeRegexpChars(this.getPostfix())+d);var R=O.exec(W);if(R==null){throw new Error(e+W+f);};var T=(R[2]==a);var V=R[3]||h;var U=R[4];V=V.replace(new RegExp(S,r),o);var P=(T?a:o)+V;if(U!=null&&U.length!=0){U=U.replace(new RegExp(Q),o);P+=z+U;};return parseFloat(P);}},destruct:function(){if(qx.core.Environment.get(t)){qx.locale.Manager.getInstance().removeRelatedBindings(this);};}});})();(function(){var a="Function",b="abstract",c="",d="number",e="appear",f="Abstract method call!",g="qx.ui.table.celleditor.AbstractField";qx.Class.define(g,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,type:b,properties:{validationFunction:{check:a,nullable:true,init:null}},members:{_createEditor:function(){throw new Error(f);},createCellEditor:function(h){var i=this._createEditor();i.originalValue=h.value;if(h.value===null||h.value===undefined){h.value=c;};i.setValue(c+h.value);i.addListener(e,function(){i.selectAllText();});return i;},getCellEditorValue:function(j){var k=j.getValue();var l=this.getValidationFunction();if(l){k=l(k,j.originalValue);};if(typeof j.originalValue==d){k=parseFloat(k);};return k;}}});})();(function(){var a="number",b="qx.ui.table.celleditor.TextField",c="table-editor-textfield";qx.Class.define(b,{extend:qx.ui.table.celleditor.AbstractField,members:{getCellEditorValue:function(d){var e=d.getValue();var f=this.getValidationFunction();if(f){e=f(e,d.originalValue);};if(typeof d.originalValue==a){if(e!=null){e=parseFloat(e);};};return e;},_createEditor:function(){var g=new qx.ui.form.TextField();g.setAppearance(c);return g;}}});})();(function(){var a="visibilityChanged",b="orderChanged",c="__ur",d="__ut",e="widthChanged",f="qx.ui.table.columnmodel.Basic",g=". The column is not added to this TablePaneModel.",h="Showing column failed: ",j=", got ",k="setColumnsOrder: Invalid number of column positions given, expected ",l="headerCellRendererChanged",m="qx.event.type.Data",n="__us",o="visibilityChangedPre";qx.Class.define(f,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__un=[];this.__uo=[];},events:{"widthChanged":m,"visibilityChangedPre":m,"visibilityChanged":m,"orderChanged":m,"headerCellRendererChanged":m},statics:{DEFAULT_WIDTH:100,DEFAULT_HEADER_RENDERER:qx.ui.table.headerrenderer.Default,DEFAULT_DATA_RENDERER:qx.ui.table.cellrenderer.Default,DEFAULT_EDITOR_FACTORY:qx.ui.table.celleditor.TextField},members:{__te:null,__up:null,__uo:null,__un:null,__uq:null,__ur:null,__us:null,__ut:null,init:function(s,v){{};this.__uq=[];var r=qx.ui.table.columnmodel.Basic.DEFAULT_WIDTH;var t=this.__ur||(this.__ur=new qx.ui.table.columnmodel.Basic.DEFAULT_HEADER_RENDERER());var q=this.__us||(this.__us=new qx.ui.table.columnmodel.Basic.DEFAULT_DATA_RENDERER());var p=this.__ut||(this.__ut=new qx.ui.table.columnmodel.Basic.DEFAULT_EDITOR_FACTORY());this.__un=[];this.__uo=[];var u;if(v){u=v.getInitiallyHiddenColumns();};u=u||[];for(var z=0;zS.length){throw new Error(n+S.length);};if(N==null){N=S.length;};var P=Q.getButton();var O=this.getChildControl(k);var R=this.getChildControl(A);Q.exclude();O.addAt(P,N);R.addAt(Q,N);this.__qt.add(P);Q.addState(this.__uu[this.getBarPosition()]);S=this.getChildren();if(N==S.length-1){Q.addState(d);};if(S[0]==Q){Q.addState(C);}else {S[S.length-2].removeState(d);};Q.addListener(r,this._onPageClose,this);},remove:function(W){var X=this.getChildControl(A);var U=this.getChildControl(k);var V=W.getButton();var Y=X.getChildren();if(this.getSelection()[0]==W){var T=Y.indexOf(W);if(T==0){if(Y[1]){this.setSelection([Y[1]]);}else {this.resetSelection();};}else {this.setSelection([Y[T-1]]);};};U.remove(V);X.remove(W);this.__qt.remove(V);W.removeState(this.__uu[this.getBarPosition()]);if(W.hasState(C)){W.removeState(C);if(Y[0]){Y[0].addState(C);};};if(W.hasState(d)){W.removeState(d);if(Y.length>0){Y[Y.length-1].addState(d);};};W.removeListener(r,this._onPageClose,this);},getChildren:function(){return this.getChildControl(A).getChildren();},indexOf:function(ba){return this.getChildControl(A).indexOf(ba);},__uu:null,_applyBarPosition:function(be,bg){var bb=this.getChildControl(k);var bh=this.getChildControl(A);var bj=be==B||be==x;var bk=be==x||be==a;var bi=bj?qx.ui.layout.HBox:qx.ui.layout.VBox;var bl=this._getLayout();if(bl&&bl instanceof bi){}else {this._setLayout(bl=new bi);};bl.setReversed(bk);bb.setOrientation(bj?p:v);var bf=this.getChildren();var i,l;if(bg){var bd=this.__uu[bg];bb.removeState(bd);bh.removeState(bd);for(i=0,l=bf.length;i0){return t[t.length-1];}else {return null;};},_getRelatedSelectable:function(u,w){var v=this._getWidget();var x=null;switch(w){case b:x=v.getPreviousNodeOf(u,false);break;case c:x=v.getNextNodeOf(u,false);break;case e:case d:break;};if(!x){return null;};if(this._isSelectable(x)){return x;}else {return this._getRelatedSelectable(x,w);};}}});})();(function(){var a="_applyIconOpened",b="changeOpen",c="Boolean",d="changeIcon",f="changeIconOpened",g="changeLabel",h="Integer",i="auto",j="Abstract method call.",k="_applyIndent",l="open",m="changeOpenSymbolMode",n="_applyOpenSymbolMode",o="middle",p="String",q="resize",r="",s="icon",t="opened",u="iconOpened",v="abstract",w="never",x="_applyIcon",y="always",z="__ux",A="_applyOpen",B="changeIndent",C="qx.ui.tree.core.AbstractItem",D="label",E="_applyLabel";qx.Class.define(C,{extend:qx.ui.core.Widget,type:v,include:[qx.ui.form.MModelProperty],implement:[qx.ui.form.IModel],construct:function(F){qx.ui.core.Widget.call(this);if(F!=null){this.setLabel(F);};this._setLayout(new qx.ui.layout.HBox());this._addWidgets();this.initOpen();},properties:{open:{check:c,init:false,event:b,apply:A},openSymbolMode:{check:[y,w,i],init:i,event:m,apply:n},indent:{check:h,init:19,apply:k,event:B,themeable:true},icon:{check:p,apply:x,event:d,nullable:true,themeable:true},iconOpened:{check:p,apply:a,event:f,nullable:true,themeable:true},label:{check:p,apply:E,event:g,init:r}},members:{__uv:null,__uw:null,__ux:null,_addWidgets:function(){throw new Error(j);},_createChildControlImpl:function(I,H){var G;switch(I){case D:G=new qx.ui.basic.Label().set({alignY:o,anonymous:true,value:this.getLabel()});break;case s:G=new qx.ui.basic.Image().set({alignY:o,anonymous:true,source:this.getIcon()});break;case l:G=new qx.ui.tree.core.FolderOpenButton().set({alignY:o});G.addListener(b,this._onChangeOpen,this);G.addListener(q,this._updateIndent,this);break;};return G||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,I);},addWidget:function(J,K){this._add(J,K);},addSpacer:function(){if(!this.__ux){this.__ux=new qx.ui.core.Spacer();}else {this._remove(this.__ux);};this._add(this.__ux);},addOpenButton:function(){this._add(this.getChildControl(l));},_onChangeOpen:function(e){if(this.isOpenable()){this.setOpen(e.getData());};},addIcon:function(){var L=this.getChildControl(s);if(this.__uw){this._remove(L);};this._add(L);this.__uw=true;},addLabel:function(M){var N=this.getChildControl(D);if(this.__uv){this._remove(N);};if(M){this.setLabel(M);}else {N.setValue(this.getLabel());};this._add(N);this.__uv=true;},_applyIcon:function(P,O){if(!this.__uz()){this.__uA(P);}else if(!this.isOpen()){this.__uA(P);};},_applyIconOpened:function(R,Q){if(this.isOpen()){if(this.__uy()&&this.__uz()){this.__uA(R);}else if(!this.__uy()&&this.__uz()){this.__uA(R);};};},_applyLabel:function(T,S){var U=this.getChildControl(D,true);if(U){U.setValue(T);};},_applyOpen:function(W,V){var open=this.getChildControl(l,true);if(open){open.setOpen(W);};var X;if(W){X=this.__uz()?this.getIconOpened():null;}else {X=this.getIcon();};if(X){this.__uA(X);};W?this.addState(t):this.removeState(t);},__uy:function(){return qx.util.PropertyUtil.getUserValue(this,s);},__uz:function(){return qx.util.PropertyUtil.getUserValue(this,u);},__uA:function(Y){var ba=this.getChildControl(s,true);if(ba){ba.setSource(Y);};},isOpenable:function(){var bb=this.getOpenSymbolMode();return (bb===y||bb===i&&this.hasChildren());},_shouldShowOpenSymbol:function(){throw new Error(j);},_applyOpenSymbolMode:function(bd,bc){this._updateIndent();},_updateIndent:function(){var bf=0;var open=this.getChildControl(l,true);if(open){if(this._shouldShowOpenSymbol()){open.show();var be=open.getBounds();if(be){bf=be.width;}else {return;};}else {open.exclude();};};if(this.__ux){this.__ux.setWidth((this.getLevel()+1)*this.getIndent()-bf);};},_applyIndent:function(bh,bg){this._updateIndent();},getLevel:function(){throw new Error(j);},syncWidget:function(bi){this._updateIndent();},hasChildren:function(){throw new Error(j);}},destruct:function(){this._disposeObjects(z);}});})();(function(){var a="pointerup",b="qx.ui.tree.core.FolderOpenButton",c="Boolean",d="opened",f="_applyOpen",g="pointerdown",h="tap",i="changeOpen";qx.Class.define(b,{extend:qx.ui.basic.Image,include:qx.ui.core.MExecutable,construct:function(){qx.ui.basic.Image.call(this);this.initOpen();this.addListener(h,this._onTap);this.addListener(g,this._stopPropagation,this);this.addListener(a,this._stopPropagation,this);},properties:{open:{check:c,init:false,event:i,apply:f}},members:{_applyOpen:function(k,j){k?this.addState(d):this.removeState(d);this.execute();},_stopPropagation:function(e){e.stopPropagation();},_onTap:function(e){this.toggleOpen();e.stopPropagation();}}});})();(function(){var a="open",b="abstract",c="__uB",d="'. It is not a child of this tree item.",e="addItem",f="__gc",g="visible",h="excluded",j="removeItem",k="Cannot remove treeitem '",m="qx.ui.tree.core.AbstractTreeItem";qx.Class.define(m,{extend:qx.ui.tree.core.AbstractItem,type:b,construct:function(n){qx.ui.tree.core.AbstractItem.call(this,n);this.__gc=[];},properties:{parent:{check:m,nullable:true}},members:{__gc:null,__uB:null,getTree:function(){var p=this;while(p.getParent()){p=p.getParent();};var o=p.getLayoutParent()?p.getLayoutParent().getLayoutParent():0;if(o&&o instanceof qx.ui.core.scroll.ScrollPane){return o.getLayoutParent();};return null;},_applyOpen:function(r,q){if(this.hasChildren()){this.getChildrenContainer().setVisibility(r?g:h);};qx.ui.tree.core.AbstractItem.prototype._applyOpen.call(this,r,q);},_shouldShowOpenSymbol:function(){var open=this.getChildControl(a,true);if(!open){return false;};var s=this.getTree();if(!s.getRootOpenClose()){if(s.getHideRoot()){if(s.getRoot()==this.getParent()){return false;};}else {if(s.getRoot()==this){return false;};};};return this.isOpenable();},_updateIndent:function(){if(!this.getTree()){return;};qx.ui.tree.core.AbstractItem.prototype._updateIndent.call(this);},getLevel:function(){var t=this.getTree();if(!t){return;};var u=this;var v=-1;while(u){u=u.getParent();v+=1;};if(t.getHideRoot()){v-=1;};if(!t.getRootOpenClose()){v-=1;};return v;},addState:function(w){qx.ui.tree.core.AbstractItem.prototype.addState.call(this,w);var x=this._getChildren();for(var i=0,l=x.length;i0:false;},getItems:function(C,G,F){if(F!==false){var D=[];}else {var D=[this];};var I=this.hasChildren()&&(G!==false||this.isOpen());if(I){var H=this.getChildren();if(C===false){D=D.concat(H);}else {for(var i=0,E=H.length;i=0){be.remove(bg);};};qx.lang.Array.remove(this.__gc,bh);bh.setParent(null);be.remove(bh);};var bf=this.getTree();if(bf){bf.fireNonBubblingEvent(j,qx.event.type.Data,[bh]);};qx.ui.core.queue.Widget.add(this);},removeAt:function(bj){var bk=this.__gc[bj];if(bk){this.remove(bk);};},removeAll:function(){var bl=this.__gc.concat();for(var i=this.__gc.length-1;i>=0;i-- ){this.remove(this.__gc[i]);};return bl;}},destruct:function(){this._disposeArray(f);this._disposeObjects(c);}});})();(function(){var a="Enter",b="_applyOpenMode",c="excluded",d="Space",f="Left",g="Boolean",h="changeOpenMode",j="_applyRootOpenClose",k="visible",l="changeSelection",m="qx.ui.tree.Tree",n="qx.event.type.Data",o="qx.ui.tree.core.AbstractTreeItem",p="tree",q="dbltap",r="_applyHideRoot",s="changeRoot",t="__oY",u="_applyRoot",v="keypress",w="none",x="pane",y="tap",z="Right";qx.Class.define(m,{extend:qx.ui.core.scroll.AbstractScrollArea,implement:[qx.ui.core.IMultiSelection,qx.ui.form.IModelSelection,qx.ui.form.IForm],include:[qx.ui.core.MMultiSelectionHandling,qx.ui.core.MContentPadding,qx.ui.form.MModelSelection,qx.ui.form.MForm],construct:function(){qx.ui.core.scroll.AbstractScrollArea.call(this);this.__oY=new qx.ui.container.Composite(new qx.ui.layout.VBox()).set({allowShrinkY:false,allowGrowX:true});this.getChildControl(x).add(this.__oY);this.initOpenMode();this.initRootOpenClose();this.addListener(l,this._onChangeSelection,this);this.addListener(v,this._onKeyPress,this);},events:{addItem:n,removeItem:n},properties:{openMode:{check:[y,q,w],init:q,apply:b,event:h,themeable:true},root:{check:o,init:null,nullable:true,event:s,apply:u},hideRoot:{check:g,init:false,apply:r},rootOpenClose:{check:g,init:false,apply:j},appearance:{refine:true,init:p},focusable:{refine:true,init:true}},members:{__oY:null,SELECTION_MANAGER:qx.ui.tree.selection.SelectionManager,getChildrenContainer:function(){return this.__oY;},_applyRoot:function(C,A){var B=this.getChildrenContainer();if(A&&!A.isDisposed()){B.remove(A);if(A.hasChildren()){B.remove(A.getChildrenContainer());};};if(C){B.add(C);if(C.hasChildren()){B.add(C.getChildrenContainer());};C.setVisibility(this.getHideRoot()?c:k);C.recursiveAddToWidgetQueue();};},_applyHideRoot:function(F,D){var E=this.getRoot();if(!E){return;};E.setVisibility(F?c:k);E.recursiveAddToWidgetQueue();},_applyRootOpenClose:function(I,G){var H=this.getRoot();if(!H){return;};H.recursiveAddToWidgetQueue();},_getContentPaddingTarget:function(){return this.__oY;},getNextNodeOf:function(M,J){if((J!==false||M.isOpen())&&M.hasChildren()){return M.getChildren()[0];};while(M){var parent=M.getParent();if(!parent){return null;};var L=parent.getChildren();var K=L.indexOf(M);if(K>-1&&K0){var Q=R[N-1];while((P!==false||Q.isOpen())&&Q.hasChildren()){var S=Q.getChildren();Q=S[S.length-1];};return Q;}else {return parent;};},getNextSiblingOf:function(U){if(U==this.getRoot()){return null;};var parent=U.getParent();var T=parent.getChildren();var V=T.indexOf(U);if(V0){return W[Y-1];};return null;},getItems:function(bb,ba){if(this.getRoot()!=null){return this.getRoot().getItems(bb,ba,this.getHideRoot());}else {return [];};},getChildren:function(){if(this.getRoot()!=null){return [this.getRoot()];}else {return [];};},getTreeItem:function(bc){while(bc){if(bc==this){return null;};if(bc instanceof qx.ui.tree.core.AbstractTreeItem){return bc;};bc=bc.getLayoutParent();};return null;},_applyOpenMode:function(be,bd){if(bd==y){this.removeListener(y,this._onOpen,this);}else if(bd==q){this.removeListener(q,this._onOpen,this);};if(be==y){this.addListener(y,this._onOpen,this);}else if(be==q){this.addListener(q,this._onOpen,this);};},_onOpen:function(e){var bf=this.getTreeItem(e.getTarget());if(!bf||!bf.isOpenable()){return;};bf.setOpen(!bf.isOpen());e.stopPropagation();},_onChangeSelection:function(e){var bh=e.getData();for(var i=0;i0){var bX=bV.getItem(0);var bW=this.isNode(bX);switch(e.getKeyIdentifier()){case l:if(bW&&this.isNodeOpen(bX)){this.closeNode(bX);}else {var parent=this.getParent(bX);if(parent!=null){bV.splice(0,1,parent);};};break;case H:if(bW&&!this.isNodeOpen(bX)){this.openNode(bX);}else {if(bW){var bY=bX.get(this.getChildProperty());if(bY!=null&&bY.getLength()>0){bV.splice(0,1,bY.getItem(0));};};};break;case I:case k:if(!bW){return;};if(this.isNodeOpen(bX)){this.closeNode(bX);}else {this.openNode(bX);};break;};};},_beforeApplySelection:function(cb){if(cb.length===0&&this.getSelectionMode()===g){var ca=this.__uL();var cc=this.getLookupTable().indexOf(ca);if(cc>=0){cb.push(cc);};};},_afterApplySelection:function(){var cd=this.getSelection();if(cd.getLength()>0&&this.getSelectionMode()===g){this.__uK(cd.getItem(0));}else {this.__uF=[];};},__uG:function(){this.buildLookupTable();this._applyDefaultSelection();},buildLookupTable:function(){if(this.getModel()!=null&&(this.getChildProperty()==null||this.getLabelPath()==null)){throw new Error(f);};this._itemWidth=0;var ch=[];this.__uE=[];var cf=-1;var cg=this.getModel();if(cg!=null){if(!this.isHideRoot()){cf++ ;ch.push(cg);this.__uE.push(cf);};if(this.isNodeOpen(cg)){var ce=this.__uH(cg,cf);ch=ch.concat(ce);};};if(!qx.lang.Array.equals(this.__rt.toArray(),ch)){this._provider.removeBindings();this.__rt.removeAll();this.__rt.append(ch);this.__rz();this._updateSelection();};},__uH:function(ci,cn){var cm=[];cn++ ;if(!this.isNode(ci)){return cm;};var cq=ci.get(this.getChildProperty());if(cq==null){return cm;};cq=cq.copy();var co=this.getDelegate();var cl=qx.util.Delegate.getMethod(co,m);var ck=qx.util.Delegate.getMethod(co,G);if(ck!=null){cq.sort(ck);};for(var i=0;i0){cz-- ;var cx=this.__uE[cz];if(cx0){var L=this.__rN.pop();this._removeBindingsFrom(L);};},_bindItem:function(N,O){var M=qx.util.Delegate.getMethod(this.getDelegate(),j);if(M!=null){M(this,N,O);}else {this.bindDefaultProperties(N,O);};},_removeBindingsFrom:function(P){var Q=this.__rQ(P);while(Q.length>0){var R=Q.pop();try{this._tree.getLookupTable().removeBinding(R);}catch(e){P.removeBinding(R);};};if(qx.lang.Array.contains(this.__rN,P)){qx.lang.Array.remove(this.__rN,P);};},__rO:function(T,U){var S=n+T+l;if(U!=null&&U!=c){S+=o+U;};return S;},__rP:function(W,X){var V=this.__rQ(W);if(!qx.lang.Array.contains(V,X)){V.push(X);};if(!qx.lang.Array.contains(this.__rN,W)){this.__rN.push(W);};},__rQ:function(Y){var ba=Y.getUserData(a);if(ba==null){ba=[];Y.setUserData(a,ba);};return ba;}},destruct:function(){this.__rN=null;}});})();(function(){var a="changeOpen",b="cell.childProperty",c="changeDelegate",d="cell.level",e="createItem",f="auto",g="cell.showLeafs",h="configureItem",i="created",j="onPool",k="cell.row",l="qx.ui.tree.provider.WidgetProvider",m="never";qx.Class.define(l,{extend:qx.core.Object,implement:[qx.ui.virtual.core.IWidgetCellProvider,qx.ui.tree.provider.IVirtualTreeProvider],include:[qx.ui.tree.core.MWidgetController],construct:function(n){qx.core.Object.call(this);this._tree=n;this.addListener(c,this._onChangeDelegate,this);this._onChangeDelegate();},members:{_tree:null,_renderer:null,getCellWidget:function(t,r){var s=this._tree.getLookupTable().getItem(t);var p=false;if(this._tree.isNode(s)){p=this._tree.hasChildren(s);};var o=this._renderer.getCellWidget();o.setOpen(p&&this._tree.isNodeOpen(s));o.addListener(a,this.__uM,this);o.setUserData(b,this.getChildProperty());o.setUserData(g,this._tree.isShowLeafs());if(this._tree.getSelection().contains(s)){this._styleSelectabled(o);}else {this._styleUnselectabled(o);};var q=this._tree.getLevel(t);if(!this._tree.isShowTopLevelOpenCloseIcons()){q-=1;};o.setUserData(d,q);if(!this._tree.isShowTopLevelOpenCloseIcons()&&q==-1){o.setOpenSymbolMode(m);}else {o.setOpenSymbolMode(f);};this._bindItem(o,t);qx.ui.core.queue.Widget.add(o);return o;},poolCellWidget:function(u){u.removeListener(a,this.__uM,this);this._removeBindingsFrom(u);this._renderer.pool(u);this._onPool(u);},createLayer:function(){return new qx.ui.virtual.layer.WidgetCell(this);},createRenderer:function(){var v=qx.util.Delegate.getMethod(this.getDelegate(),e);if(v==null){v=function(){return new qx.ui.tree.VirtualTreeItem();};};var w=new qx.ui.virtual.cell.WidgetCell();w.setDelegate({createWidget:v});return w;},styleSelectabled:function(y){var x=this._tree._layer.getRenderedCellWidget(y,0);this._styleSelectabled(x);},styleUnselectabled:function(A){var z=this._tree._layer.getRenderedCellWidget(A,0);this._styleUnselectabled(z);},isSelectable:function(C){var B=this._tree._layer.getRenderedCellWidget(C,0);if(B!=null){return B.isEnabled();}else {return true;};},_styleSelectabled:function(D){if(D==null){return;};this._renderer.updateStates(D,{selected:1});},_styleUnselectabled:function(E){if(E==null){return;};this._renderer.updateStates(E,{});},_onPool:function(F){var G=qx.util.Delegate.getMethod(this.getDelegate(),j);if(G!=null){G(F);};},_onItemCreated:function(event){var H=qx.util.Delegate.getMethod(this.getDelegate(),h);if(H!=null){var I=event.getData();H(I);};},_onChangeDelegate:function(event){if(this._renderer!=null){this._renderer.dispose();this.removeBindings();};this._renderer=this.createRenderer();this._renderer.addListener(i,this._onItemCreated,this);},__uM:function(event){var K=event.getTarget();var L=K.getUserData(k);var J=this._tree.getLookupTable().getItem(L);if(event.getData()){this._tree.openNodeWithoutScrolling(J);}else {this._tree.closeNodeWithoutScrolling(J);};}},destruct:function(){this.removeBindings();this._renderer.dispose();this._tree=this._renderer=null;}});})();(function(){var a="open",b="cell.childProperty",c="cell.level",d="qx.ui.tree.VirtualTreeItem",f="change",g="virtual-tree-folder",h="cell.showLeafs",i="changeLength";qx.Class.define(d,{extend:qx.ui.tree.core.AbstractItem,properties:{appearance:{refine:true,init:g}},members:{_forwardStates:{selected:true},_addWidgets:function(){this.addSpacer();this.addOpenButton();this.addIcon();this.addLabel();},_shouldShowOpenSymbol:function(){var open=this.getChildControl(a,true);if(open==null){return false;};return this.isOpenable();},getLevel:function(){return this.getUserData(c);},hasChildren:function(){var j=this.getModel();var l=this.getUserData(b);var k=this.getUserData(h);return qx.ui.tree.core.Util.hasChildren(j,l,!k);},_applyModel:function(p,m){var q=this.getUserData(b);var o=this.getUserData(h);if(p!=null&&qx.ui.tree.core.Util.isNode(p,q)){var n=f+qx.lang.String.firstUp(q);if(qx.Class.hasProperty(p.constructor,q)){p.addListener(n,this._onChangeChildProperty,this);};if(qx.ui.tree.core.Util.hasChildren(p,q,!o)){p.get(q).addListener(i,this._onChangeLength,this);this._updateIndent();};};if(m!=null&&qx.ui.tree.core.Util.isNode(m,q)){var n=f+qx.lang.String.firstUp(q);m.removeListener(n,this._onChangeChildProperty,this);var r=m.get(q);if(r){r.removeListener(i,this._onChangeLength,this);};};},_onChangeLength:function(){this._updateIndent();},_onChangeChildProperty:function(e){var t=e.getData();var s=e.getOldData();if(t){this._updateIndent();t.addListener(i,this._onChangeLength,this);};if(s){s.removeListener(i,this._onChangeLength,this);};}}});})();(function(){var a="qx.ui.tree.core.Util";qx.Class.define(a,{statics:{isNode:function(b,c){if(b==null||c==null){return false;};return qx.Class.hasProperty(b.constructor,c);},hasChildren:function(d,f,h){if(d==null||f==null||!this.isNode(d,f)){return false;};var g=d.get(f);if(g==null){return false;};if(!h){return g.length>0;}else {for(var i=0;i0){return e.children[0];};return null;},familyGetLastChild:function(h){var g;if(typeof (h)==d){g=h;}else if(typeof (h)==a){g=this.getTableModel().getData()[h];}else {throw new Error(c);};if(g.children.length>0){return g.children[g.children.length-1];};return null;},familyGetNextSibling:function(m){var j;var k;var n=this.getTableModel().getData();if(typeof (m)==d){j=m;}else if(typeof (m)==a){k=m;j=n[k];}else {throw new Error(c);};var l=j.nodeId;var o=n[j.parentNodeId].children;for(var i=0;i0){return u[i-1];};return null;};};}}});})();(function(){var a="number",c="qx.ui.treevirtual.MNode",d="Expected node object or node id",e="object";qx.Mixin.define(c,{members:{nodeGet:function(f){if(typeof (f)==e){return f;}else if(typeof (f)==a){return this.getTableModel().getData()[f];}else {throw new Error(d);};},nodeToggleOpened:function(i){var g;var h;if(typeof (i)==e){g=i;h=g.nodeId;}else if(typeof (i)==a){h=i;g=this.getTableModel().getData()[h];}else {throw new Error(d);};this.getTableModel().setState(h,{bOpened:!g.bOpened});},nodeSetState:function(l,j){var k;if(typeof (l)==e){k=l.nodeId;}else if(typeof (l)==a){k=l;}else {throw new Error(d);};this.getTableModel().setState(k,j);},nodeSetLabel:function(m,n){this.nodeSetState(m,{label:n});},nodeGetLabel:function(p){var o=this.nodeGet(p);return o.label;},nodeSetSelected:function(q,b){this.nodeSetState(q,{bSelected:b});},nodeGetSelected:function(s){var r=this.nodeGet(s);return r.bSelected;},nodeSetOpened:function(u,b){var t;if(typeof (u)==e){t=u;}else if(typeof (u)==a){t=this.getTableModel().getData()[u];}else {throw new Error(d);};if(b!=t.bOpened){this.nodeToggleOpened(t);};},nodeGetOpened:function(w){var v=this.nodeGet(w);return v.bOpened;},nodeSetHideOpenClose:function(x,b){this.nodeSetState(x,{bHideOpenClose:b});},nodeGetHideOpenClose:function(z){var y=this.nodeGet(z);return y.bHideOpenClose;},nodeSetIcon:function(B,A){this.nodeSetState(B,{icon:A});},nodeGetIcon:function(D){var C=this.nodeGet(D);return C.icon;},nodeSetSelectedIcon:function(F,E){this.nodeSetState(F,{iconSelected:E});},nodeGetSelectedIcon:function(H){var G=this.nodeGet(H);return G.iconSelected;},nodeSetCellStyle:function(J,I){this.nodeSetState(J,{cellStyle:I});},nodeGetCellStyle:function(L){var K=this.nodeGet(L);return K.cellStyle;},nodeSetLabelStyle:function(N,M){this.nodeSetState(N,{labelStyle:M});},nodeGetLabelStyle:function(P){var O=this.nodeGet(P);return O.cellStyle;}}});})();(function(){var a="Request to add a child to a non-existent parent",b="qx.ui.treevirtual.MTreePrimitive",c="",d="Sorry, a LEAF may not have children.";qx.Mixin.define(b,{statics:{Type:{LEAF:1,BRANCH:2},_addNode:function(g,f,k,n,l,m,o,h,i){var j;if(f){j=g[f];if(!j){throw new Error(a);};if(j.type==qx.ui.treevirtual.MTreePrimitive.Type.LEAF){throw new Error(d);};}else {j=g[0];f=0;};if(m==qx.ui.treevirtual.MTreePrimitive.Type.LEAF){n=false;l=false;};if(i===undefined){i=g.length;};var e={type:m,nodeId:i,parentNodeId:f,label:k,bSelected:false,bOpened:n,bHideOpenClose:l,icon:o,iconSelected:h,children:[],columnData:[]};g[i]=e;j.children.push(i);return i;},_getEmptyTree:function(){return {label:c,nodeId:0,bOpened:true,children:[]};}}});})();(function(){var a="qx.ui.treevirtual.SelectionManager",b="Space",c="Enter";qx.Class.define(a,{extend:qx.ui.table.selection.Manager,construct:function(d){qx.ui.table.selection.Manager.call(this);this.__tq=d;},members:{__tq:null,getTable:function(){return this.__tq;},_handleSelectEvent:function(e,g){var j=this;function f(p,l,w){var y=p.getDataModel();var r=y.getTreeColumn();var o=p.getFocusedColumn();if(o!=r){return false;};if(w instanceof qx.event.type.Mouse){if(!p.getFocusCellOnPointerMove()){var q=p._getPaneScrollerArr();for(var i=0;i=m-u&&x<=m+n+3+u){y.setState(k,{bOpened:!k.bOpened});return p.getOpenCloseClickSelectsRow()?false:true;}else {return j._handleExtendedClick(p,w,k,z);};}else {var v=w.getKeyIdentifier();switch(v){case b:return false;case c:if(!k.bHideOpenClose&&k.type!=qx.ui.treevirtual.SimpleTreeDataModel.Type.LEAF){y.setState(k,{bOpened:!k.bOpened});};return p.getOpenCloseClickSelectsRow()?false:true;default:return true;};};};var h=f(this.__tq,e,g);if(!h){qx.ui.table.selection.Manager.prototype._handleSelectEvent.call(this,e,g);};},_handleExtendedClick:function(B,C,A,D){return false;}},destruct:function(){this.__tq=null;}});})();(function(){var a="Expected array of node objects or null/undefined; ",b="this._rowArr column ",c="this._rowArr row ",d=")",e="Function",f="bSelected",g="treeOpenWithContent",h=" (0..",k="Expected node object or node id",l="bOpened",m="Expected move node object or node id",n="dataChanged",o="Trees can not be sorted by column",p="number",q="(",r="Expected parent node object or node id",s="qx.ui.treevirtual.SimpleTreeDataModel",t="Sorry, a LEAF may not have children.",u="treeClose",v="treeOpenWhileEmpty",w=") out of bounds: ",x="metaDataChanged",y="_applyFilter",z="got ",A="object";qx.Class.define(s,{extend:qx.ui.table.model.Abstract,include:qx.ui.treevirtual.MTreePrimitive,construct:function(){qx.ui.table.model.Abstract.call(this);this._rowArr=[];this._nodeArr=[];this._nodeRowMap=[];this._treeColumn=0;this._selections={};this._nodeArr.push(qx.ui.treevirtual.MTreePrimitive._getEmptyTree());this.__uj=null;},properties:{filter:{check:e,nullable:true,apply:y}},members:{__uN:null,__uj:null,__uO:null,__uP:null,_rowArr:null,_nodeArr:null,_nodeRowMap:null,_treeColumn:null,_selections:null,setTree:function(B){this.__uN=B;},getTree:function(){return this.__uN;},setEditable:function(C){this.__uj=[];for(var D=0;D=this._rowArr.length){throw new Error(c+q+M+w+this._rowArr+h+(this._rowArr.length-1)+d);};if(N<0||N>=this._rowArr[M].length){throw new Error(b+q+N+w+this._rowArr[M]+h+(this._rowArr[M].length-1)+d);};return this._rowArr[M][N];},setValue:function(S,P,R){if(S==this._treeColumn){return;};var O=this.getNodeFromRow(P);if(O.columnData[S]!=R){O.columnData[S]=R;this.setData();if(this.hasListener(n)){var Q={firstRow:P,lastRow:P,firstColumn:S,lastColumn:S};this.fireDataEvent(n,Q);};};},getNode:function(T){if(T<0||T>=this._rowArr.length){throw new Error(c+q+T+w+this._rowArr+h+(this._rowArr.length-1)+d);};return this._rowArr[T][this._treeColumn];},addBranch:function(U,X,V,Y,ba,W){return qx.ui.treevirtual.MTreePrimitive._addNode(this._nodeArr,U,X,V,Y,qx.ui.treevirtual.MTreePrimitive.Type.BRANCH,ba,W);},addLeaf:function(be,bb,bd,bc){return qx.ui.treevirtual.MTreePrimitive._addNode(this._nodeArr,be,bb,false,false,qx.ui.treevirtual.MTreePrimitive.Type.LEAF,bd,bc);},prune:function(bi,bg){var bf;var bh;if(typeof (bi)==A){bf=bi;bh=bf.nodeId;}else if(typeof (bi)==p){bh=bi;}else {throw new Error(k);};for(var i=this._nodeArr[bh].children.length-1;i>=0;i-- ){this.prune(this._nodeArr[bh].children[i],true);};if(bg&&bh!=0){bf=this._nodeArr[bh];qx.lang.Array.remove(this._nodeArr[bf.parentNodeId].children,bh);if(this._selections[bh]){delete this._selections[bh];};this._nodeArr[bh]=null;};},move:function(bp,bl){var bn;var bo;var bm;var bk;bl=bl||0;if(typeof (bp)==A){bn=bp;bo=bn.nodeId;}else if(typeof (bp)==p){bo=bp;bn=this._nodeArr[bo];}else {throw new Error(m);};if(typeof (bl)==A){bm=bl;bk=bm.nodeId;}else if(typeof (bl)==p){bk=bl;bm=this._nodeArr[bk];}else {throw new Error(r);};if(bm.type==qx.ui.treevirtual.MTreePrimitive.Type.LEAF){throw new Error(t);};var bj=this._nodeArr[bn.parentNodeId];qx.lang.Array.remove(bj.children,bo);bm.children.push(bo);this._nodeArr[bo].parentNodeId=bk;},__uQ:function(bs,br){var bu=this.getFilter();var bx=null;var bt;var bw=this._nodeArr[bs].children.length;var bq=0;var by=this.__uO[bs]=[];for(var i=0;i0;if(bA){this.__uR(bD.nodeId);};};},__uS:function(bF,bG){bF.lastChild=[bG];var parent=this._nodeArr[bF.parentNodeId];while(parent.nodeId){var bH=parent.lastChild[parent.lastChild.length-1];bF.lastChild.unshift(bH);parent=this._nodeArr[parent.parentNodeId];};},__uT:function(){this.__uO=[];this.__uP=false;this._rowArr=[];this._nodeRowMap=[];this._selections={};this.__uQ(0,1);if(this.__uP){this.__uR(0);};this.__uO=null;if(this.hasListener(n)){var bI={firstRow:0,lastRow:this._rowArr.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(n,bI);};},setData:function(bJ){if(bJ instanceof Array){this._nodeArr=bJ;}else if(bJ!==null&&bJ!==undefined){throw new Error(a+z+typeof (bJ));};this.__uT();var bK=this.getTree().getSelectionModel();var bM=this._selections;for(var bL in bM){var bN=this.getRowFromNodeId(bL);bK.setSelectionInterval(bN,bN);};},getData:function(){return this._nodeArr;},clearData:function(){this._clearSelections();this.setData([qx.ui.treevirtual.MTreePrimitive._getEmptyTree()]);},setColumnData:function(bQ,bO,bP){this._nodeArr[bQ].columnData[bO]=bP;},getColumnData:function(bS,bR){return this._nodeArr[bS].columnData[bR];},setState:function(ca,cc){var bT;var bY;if(typeof (ca)==A){bT=ca;bY=bT.nodeId;}else if(typeof (ca)==p){bY=ca;bT=this._nodeArr[bY];}else {throw new Error(k);};for(var bW in cc){switch(bW){case f:var cb=this.getRowFromNodeId(bY);var bU=this.getTree().getSelectionModel();var bV=qx.ui.treevirtual.TreeVirtual;var cd=(typeof (cb)===p&&this.getTree().getSelectionMode()!=bV.SelectionMode.NONE);if(cc[bW]){this._selections[bY]=true;if(cd&&!bU.isSelectedIndex(cb)){bU.setSelectionInterval(cb,cb);};}else {delete this._selections[bY];if(cd&&bU.isSelectedIndex(cb)){bU.removeSelectionInterval(cb,cb);};};break;case l:if(cc[bW]==bT.bOpened){break;};var bX=this.__uN;if(bT.bOpened){bX.fireDataEvent(u,bT);}else {if(bT.children.length>0){bX.fireDataEvent(g,bT);}else {bX.fireDataEvent(v,bT);};};if(!bT.bHideOpenClose){bT.bOpened=!bT.bOpened;bX.getSelectionModel()._resetSelection();};this.setData();break;default:break;};bT[bW]=cc[bW];};},getNodeRowMap:function(){return this._nodeRowMap;},getRowFromNodeId:function(ce){return this._nodeRowMap[ce];},getNodeFromRow:function(cf){return this._nodeArr[this._rowArr[cf][this._treeColumn].nodeId];},_clearSelections:function(){for(var cg in this._selections){this._nodeArr[cg].bSelected=false;};this._selections={};},getSelectedNodes:function(){var ch=[];for(var ci in this._selections){ch.push(this._nodeArr[ci]);};return ch;},_applyFilter:function(ck,cj){this.setData();}},destruct:function(){this._rowArr=this._nodeArr=this._nodeRowMap=this._selections=this.__uN=this.__uO=null;},defer:function(cl){cl.Type=qx.ui.treevirtual.MTreePrimitive.Type;}});})();(function(){var a="object",c="Boolean",d="Right",f="Tree overflow must be hidden.  ",g="Enter",h="number",k="changeSelection",l="The internal elements of it will scroll.",m="hidden",n="Left",o="Expected node object or node id",p="qx.event.type.Data",q="qx.ui.treevirtual.TreeVirtual",r="dataChanged",t="treevirtual",u="dataEdited";qx.Class.define(q,{extend:qx.ui.table.Table,construct:function(B,x){if(!x){x={};};if(!x.dataModel){x.dataModel=new qx.ui.treevirtual.SimpleTreeDataModel();};if(x.treeColumn===undefined){x.treeColumn=0;x.dataModel.setTreeColumn(x.treeColumn);};if(!x.treeDataCellRenderer){x.treeDataCellRenderer=new qx.ui.treevirtual.SimpleTreeDataCellRenderer();};if(!x.defaultDataCellRenderer){x.defaultDataCellRenderer=new qx.ui.treevirtual.DefaultDataCellRenderer();};if(!x.dataRowRenderer){x.dataRowRenderer=new qx.ui.treevirtual.SimpleTreeDataRowRenderer();};if(!x.selectionManager){x.selectionManager=function(C){return new qx.ui.treevirtual.SelectionManager(C);};};if(!x.tableColumnModel){x.tableColumnModel=function(D){return new qx.ui.table.columnmodel.Resize(D);};};if(qx.lang.Type.isString(B)){B=[B];};x.dataModel.setColumns(B);x.dataModel.setTreeColumn(x.treeColumn);x.dataModel.setTree(this);qx.ui.table.Table.call(this,x.dataModel,x);this.addListener(u,function(e){this.getDataModel().setData();},this);this.setColumnVisibilityButtonVisible(B.length>1);this.setRowHeight(16);this.setMetaColumnCounts(B.length>1?[1,-1]:[1]);this.setOverflow(m);var w=x.treeDataCellRenderer;var v=x.defaultDataCellRenderer;var A=this.getTableColumnModel();var z=this.getDataModel().getTreeColumn();for(var i=0;i0){this.moveFocusedCell(0,1);};};bk=true;break;};};if(bk){bp.preventDefault();bp.stopPropagation();}else {qx.ui.table.Table.prototype._onKeyPress.call(this,bp);};},_onSelectionChanged:function(bq){this.getDataModel()._clearSelections();if(this.getSelectionMode()!=qx.ui.treevirtual.TreeVirtual.SelectionMode.NONE){var br=this._calculateSelectedNodes();this.fireDataEvent(k,br);};qx.ui.table.Table.prototype._onSelectionChanged.call(this,bq);},_calculateSelectedNodes:function(){var bv=this.getDataModel();var bt=this.getSelectionModel().getSelectedRanges();var bu=[];var bs;for(var i=0;i0||ce){if(!cf){return (bY.bOpened?cb.__uY.contract:cb.__uY.expand);};if(ca==0&&bY.bFirstChild){if(cc){return (bY.bOpened?cb.__uY.onlyContract:cb.__uY.onlyExpand);}else {return (bY.bOpened?cb.__uY.startContract:cb.__uY.startExpand);};};if(cc){return (bY.bOpened?cb.__uY.endContract:cb.__uY.endExpand);};return (bY.bOpened?cb.__uY.crossContract:cb.__uY.crossExpand);};};if(cf){if(bY.parentNodeId==0){if(cc&&bY.bFirstChild){return {icon:this.BLANK};};if(cc){return cb.__uY.end;};if(bY.bFirstChild&&bY.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.BRANCH){return (bY.bOpened?cb.__uY.startContract:cb.__uY.startExpand);};};return (cc?cb.__uY.end:cb.__uY.cross);};return {icon:this.BLANK};}},destruct:function(){this.__uV=this.__uW=this.__uX=null;}});})();(function(){var a="columnVisibilityMenuCreateEnd",b="tableWidthChanged",c="verticalScrollBarChanged",d="qx.ui.table.columnmodel.resizebehavior.Abstract",e="qx.ui.table.columnmodel.Resize",f="_applyBehavior",g="separator",h="appear",i="visibilityChanged",j="Reset column widths",k="changeBehavior",l="user-button",m="widthChanged",n="execute";qx.Class.define(e,{extend:qx.ui.table.columnmodel.Basic,include:qx.locale.MTranslation,construct:function(){qx.ui.table.columnmodel.Basic.call(this);this.__vb=false;this.__vc=false;},properties:{behavior:{check:d,init:null,nullable:true,apply:f,event:k}},members:{__vc:null,__vb:null,__tq:null,_applyBehavior:function(q,p){if(p!=null){p.dispose();p=null;};q._setNumColumns(this.getOverallColumnCount());q.setTableColumnModel(this);},init:function(s,r){qx.ui.table.columnmodel.Basic.prototype.init.call(this,s,r);if(this.__tq==null){this.__tq=r;r.addListener(h,this._onappear,this);r.addListener(b,this._onTableWidthChanged,this);r.addListener(c,this._onverticalscrollbarchanged,this);r.addListener(a,this._addResetColumnWidthButton,this);this.addListener(m,this._oncolumnwidthchanged,this);this.addListener(i,this._onvisibilitychanged,this);};if(this.getBehavior()==null){this.setBehavior(new qx.ui.table.columnmodel.resizebehavior.Default());};this.getBehavior()._setNumColumns(s);},getTable:function(){return this.__tq;},_addResetColumnWidthButton:function(event){var v=event.getData();var u=v.columnButton;var t=v.menu;var o;o=u.factory(g);t.add(o);o=u.factory(l,{text:this.tr(j)});t.add(o);o.addListener(n,this._onappear,this);},_onappear:function(event){if(this.__vb){return;};this.__vb=true;{};this.getBehavior().onAppear(event,event.getType()!==h);this.__tq._updateScrollerWidths();this.__tq._updateScrollBarVisibility();this.__vb=false;this.__vc=true;},_onTableWidthChanged:function(event){if(this.__vb||!this.__vc){return;};this.__vb=true;{};this.getBehavior().onTableWidthChanged(event);this.__vb=false;},_onverticalscrollbarchanged:function(event){if(this.__vb||!this.__vc){return;};this.__vb=true;{};this.getBehavior().onVerticalScrollBarChanged(event);qx.event.Timer.once(function(){if(this.__tq&&!this.__tq.isDisposed()){this.__tq._updateScrollerWidths();this.__tq._updateScrollBarVisibility();};},this,0);this.__vb=false;},_oncolumnwidthchanged:function(event){if(this.__vb||!this.__vc){return;};this.__vb=true;{};this.getBehavior().onColumnWidthChanged(event);this.__vb=false;},_onvisibilitychanged:function(event){if(this.__vb||!this.__vc){return;};this.__vb=true;{};this.getBehavior().onVisibilityChanged(event);this.__vb=false;}},destruct:function(){this.__tq=null;}});})();(function(){var a="onAppear is abstract",b="onVisibilityChanged is abstract",c="onVerticalScrollBarChanged is abstract",d="abstract",e="qx.ui.table.columnmodel.resizebehavior.Abstract",f="_setNumColumns is abstract",g="onTableWidthChanged is abstract",h="onColumnWidthChanged is abstract";qx.Class.define(e,{type:d,extend:qx.core.Object,members:{_setNumColumns:function(i){throw new Error(f);},onAppear:function(event,j){throw new Error(a);},onTableWidthChanged:function(event){throw new Error(g);},onVerticalScrollBarChanged:function(event){throw new Error(c);},onColumnWidthChanged:function(event){throw new Error(h);},onVisibilityChanged:function(event){throw new Error(b);},_getAvailableWidth:function(){var l=this.getTableColumnModel();var o=l.getTable();var k=o._getPaneScrollerArr();if(!k[0]||!k[0].getLayoutParent().getBounds()){return null;};var n=k[0].getLayoutParent().getBounds().width;var m=k[k.length-1];n-=m.getPaneInsetRight();return n;}}});})();(function(){var a="Column number out of range",b="Function",c="Boolean",d="minWidth",e="width",f="qx.ui.table.columnmodel.Resize",g="qx.ui.table.columnmodel.resizebehavior.Default",h="__vf",j="Unknown property: ",k="__ve",m="maxWidth";qx.Class.define(g,{extend:qx.ui.table.columnmodel.resizebehavior.Abstract,construct:function(){qx.ui.table.columnmodel.resizebehavior.Abstract.call(this);this.__vd=[];this.__ve=new qx.ui.layout.HBox();this.__ve.connectToWidget(this);this.__vf=new qx.util.DeferredCall(this._computeColumnsFlexWidth,this);},properties:{newResizeBehaviorColumnData:{check:b,init:function(n){return new qx.ui.core.ColumnData();}},initializeWidthsOnEveryAppear:{check:c,init:false},tableColumnModel:{check:f}},members:{__ve:null,__vg:null,__vd:null,__vf:null,__vh:false,setWidth:function(p,o,q){if(p>=this.__vd.length){throw new Error(a);};this.__vd[p].setColumnWidth(o,q);this.__vf.schedule();},setMinWidth:function(s,r){if(s>=this.__vd.length){throw new Error(a);};this.__vd[s].setMinWidth(r);this.__vf.schedule();},setMaxWidth:function(u,t){if(u>=this.__vd.length){throw new Error(a);};this.__vd[u].setMaxWidth(t);this.__vf.schedule();},set:function(w,v){for(var x in v){switch(x){case e:this.setWidth(w,v[x]);break;case d:this.setMinWidth(w,v[x]);break;case m:this.setMaxWidth(w,v[x]);break;default:throw new Error(j+x);};};},onAppear:function(event,y){if(y===true||!this.__vh||this.getInitializeWidthsOnEveryAppear()){this._computeColumnsFlexWidth();this.__vh=true;};},onTableWidthChanged:function(event){this._computeColumnsFlexWidth();},onVerticalScrollBarChanged:function(event){this._computeColumnsFlexWidth();},onColumnWidthChanged:function(event){this._extendNextColumn(event);},onVisibilityChanged:function(event){var z=event.getData();if(z.visible){this._computeColumnsFlexWidth();return;};this._extendLastColumn(event);},_setNumColumns:function(B){var A=this.__vd;if(B<=A.length){A.splice(B,A.length);return;};for(var i=A.length;iR.oldWidth){return;};var i;var N;var Q=0;for(i=0;i0&&n>=h){i=true;};};if(p){var k=parseInt(g);if(k!==0){p.scrollBySteps(k);};var n=p.getPosition();var h=p.getMaximum();if(k<0&&n<=0||k>0&&n>=h){o=true;};};if((!i&&g===0)||(!o&&m===0)||((!o||!i)&&g!==0&&m!==0)){e.stop();};}}});})();(function(){var a="qx.ui.embed.AbstractIframe",b="name",c="Abstract method call",d="",f="about:blank",g="_applySource",h="navigate",i="qx.event.type.Event",j="String",k="_applyFrameName",l="qx.event.type.Data";qx.Class.define(a,{extend:qx.ui.core.Widget,construct:function(m){qx.ui.core.Widget.call(this);if(m){this.setSource(m);};this._getIframeElement().addListener(h,this.__vx,this);},events:{"load":i,"navigate":l},properties:{source:{check:j,apply:g,init:f},frameName:{check:j,init:d,apply:k}},members:{_getIframeElement:function(){throw new Error(c);},_applySource:function(o,n){this._getIframeElement().setSource(o);},_applyFrameName:function(q,p){this._getIframeElement().setAttribute(b,q);},getWindow:function(){return this._getIframeElement().getWindow();},getDocument:function(){return this._getIframeElement().getDocument();},getBody:function(){return this._getIframeElement().getBody();},getName:function(){return this._getIframeElement().getName();},reload:function(){this._getIframeElement().reload();},__vx:function(e){var r=e.getData();if(r){this.setSource(r);};this.fireDataEvent(h,r);}}});})();(function(){var a="resize",b="_applyCanvasWidth",c="redraw",d="Boolean",f="__vy",g="_applyCanvasHeight",h="qx.ui.embed.Canvas",i="Integer",j="qx.event.type.Data";qx.Class.define(h,{extend:qx.ui.core.Widget,construct:function(l,k){qx.ui.core.Widget.call(this);this.__vy=new qx.util.DeferredCall(this.__vz,this);this.addListener(a,this._onResize,this);if(l!==undefined){this.setCanvasWidth(l);};if(k!==undefined){this.setCanvasHeight(k);};},events:{"redraw":j},properties:{syncDimension:{check:d,init:false},canvasWidth:{check:i,init:300,apply:b},canvasHeight:{check:i,init:150,apply:g}},members:{__vy:null,_createContentElement:function(){return new qx.html.Canvas();},__vz:function(){var n=this.getContentElement();var p=n.getHeight();var m=n.getWidth();var o=n.getContext2d();this._draw(m,p,o);this.fireNonBubblingEvent(c,qx.event.type.Data,[{width:m,height:p,context:o}]);},_applyCanvasWidth:function(r,q){this.getContentElement().setWidth(r);this.__vy.schedule();},_applyCanvasHeight:function(t,s){this.getContentElement().setHeight(t);this.__vy.schedule();},update:function(){this.__vy.schedule();},_onResize:function(e){var u=e.getData();if(this.getSyncDimension()){this.setCanvasHeight(u.height);this.setCanvasWidth(u.width);};},getContext2d:function(){return this.getContentElement().getContext2d();},_draw:function(v,x,w){}},destruct:function(){this._disposeObjects(f);}});})();(function(){var a="canvas",b="2d",c="qx.html.Canvas";qx.Class.define(c,{extend:qx.html.Element,construct:function(d,e){qx.html.Element.call(this,a,d,e);this.__jj=document.createElement(a);},members:{__jj:null,_createDomElement:function(){return this.__jj;},getCanvas:function(){return this.__jj;},setWidth:function(f){this.__jj.width=f;},getWidth:function(){return this.__jj.width;},setHeight:function(g){this.__jj.height=g;},getHeight:function(){return this.__jj.height;},getContext2d:function(){return this.__jj.getContext(b);}},destruct:function(){this.__jj=null;}});})();(function(){var a="sameDomain",b="Boolean",c="quality",d="_applyVariables",e="low",f="_applyLoop",g="opaque",h="scale",i="_applyAllowScriptAccess",j="showall",k="Map",l="wmode",m="Integer",n="_applyMenu",o="loaded",p="_applyPlay",q="loop",r="allowScriptAccess",s="_applyWmode",t="menu",u="noborder",v="loading",w="qx.event.type.Event",x="swLiveConnect",y="qx.ui.embed.Flash",z="String",A="_applyId",B="high",C="",D="transparent",E="exactfit",F="play",G="_applyLiveConnect",H="_applySource",I="appear",J="$$widget",K="medium",L="flash",M="timeout",N="_applyMayScript",O="best",P="_applyQuality",Q="never",R="_applyScale",S="autohigh",T="always",U="window",V="noscale",W="undefined",X="autolow",Y="mayscript";qx.Class.define(y,{extend:qx.ui.core.Widget,construct:function(ba,bb){qx.ui.core.Widget.call(this);{};this.setSource(ba);if(bb){this.setId(bb);}else {this.setId(L+this.toHashCode());};this.initQuality();this.initWmode();this.initAllowScriptAccess();this.initLiveConnect();this.addListenerOnce(I,function(){this._checkLoading();this.getContentElement().createFlash();},this);},events:{"loading":w,"loaded":w,"timeout":w},properties:{source:{check:z,apply:H},id:{check:z,apply:A},quality:{check:[e,X,S,K,B,O],init:O,nullable:true,apply:P},scale:{check:[j,u,E,V],nullable:true,apply:R},wmode:{check:[U,g,D],init:g,nullable:true,apply:s},play:{check:b,nullable:true,apply:p},loop:{check:b,nullable:true,apply:f},mayScript:{check:b,nullable:false,apply:N},menu:{check:b,nullable:true,apply:n},allowScriptAccess:{check:[a,T,Q],init:a,nullable:true,apply:i},liveConnect:{check:b,init:true,nullable:true,apply:G},variables:{init:{},check:k,apply:d},loadTimeout:{check:m,init:10000}},members:{__vA:null,getFlashElement:function(){var bc=this.getContentElement();if(bc){return bc.getFlashElement();}else {return null;};},isLoaded:function(){return this.getPercentLoaded()===100;},getPercentLoaded:function(){var bd=this.getFlashElement();if(typeof (bd)!=W&&bd!=null){try{return bd.PercentLoaded();}catch(be){return 0;};}else {return 0;};},_createContentElement:function(){var bf=new qx.html.Flash();bf.setAttribute(J,this.toHashCode());return bf;},_checkLoading:function(){var bg=this.getSource();if(bg!=C&&bg!=null&&bg!=W){if(!this.isLoaded()){if(!this.__vA){this.__vA=new Date().getTime();};var bh=new Date().getTime()-this.__vA;if(this.getLoadTimeout()>bh){var bi=qx.util.TimerManager.getInstance();bi.start(this._checkLoading,0,this,null,10);this.fireEvent(v);}else {{};this.fireEvent(M);this.__vA=null;};}else {this.fireEvent(o);this.__vA=null;};};},_applySource:function(bl,bk){var bj=qx.util.ResourceManager.getInstance().toUri(bl);this.getContentElement().setSource(bj);qx.ui.core.queue.Layout.add(this);},_applyId:function(bn,bm){this.getContentElement().setId(bn);qx.ui.core.queue.Layout.add(this);},_applyVariables:function(bp,bo){this.getContentElement().setVariables(bp);qx.ui.core.queue.Layout.add(this);},_applyMayScript:function(br,bq){this.getContentElement().setAttribute(Y,br?C:false);qx.ui.core.queue.Layout.add(this);},_applyQuality:function(bt,bs){this.__vB(c,bt);},_applyScale:function(bv,bu){this.__vB(h,bv);},_applyWmode:function(bx,bw){this.__vB(l,bx);},_applyPlay:function(bz,by){this.__vB(F,bz);},_applyLoop:function(bB,bA){this.__vB(q,bB);},_applyMenu:function(bD,bC){this.__vB(t,bD);},_applyAllowScriptAccess:function(bF,bE){this.__vB(r,bF);},_applyLiveConnect:function(bH,bG){this.__vB(x,bH);},__vB:function(bI,bJ){this.getContentElement().setParam(bI,bJ);qx.ui.core.queue.Layout.add(this);}}});})();(function(){var a="qx.util.TimerManager",b="interval",c="singleton";qx.Class.define(a,{extend:qx.core.Object,type:c,statics:{__vC:[],__vD:{},__vE:0},members:{__vF:false,start:function(g,f,h,d,j){if(!j){j=f||0;};var e=(new Date()).getTime()+j;this.self(arguments).__vD[ ++this.self(arguments).__vE]={callback:g,userData:d||null,expireAt:e,recurTime:f,context:h||this};this.__vG(e,this.self(arguments).__vE);return this.self(arguments).__vE;},stop:function(k){var l=this.self(arguments).__vC;var length=l.length;for(var i=0;im){o.splice(i,0,p);break;};};if(o.length==length){o.push(p);};if(!this.__vF){qx.event.Idle.getInstance().addListener(b,this.__vH,this);this.__vF=true;};},__vH:function(){var r=(new Date()).getTime();var t=this.self(arguments).__vC;var s=this.self(arguments).__vD;while(t.length>0&&s[t[0]].expireAt<=r){var v=t.shift();var q=s[v];q.callback.call(q.context,q.userData,v);if(q.recurTime&&s[v]){var u=(new Date()).getTime();q.expireAt=u+q.recurTime;this.__vG(q.expireAt,v);}else {delete s[v];};};if(t.length==0&&this.__vF){qx.event.Idle.getInstance().removeListener(b,this.__vH,this);this.__vF=false;};}}});})();(function(){var a="$$",b="The id cannot be modified after initial creation",c="The variables cannot be modified after initial creation",d="$$widget",e="movie",f="div",g="The source cannot be modified after initial creation",h="The params cannot be modified after initial creation",i="The attributes cannot be modified after initial creation",j="id",k="qx.html.Flash";qx.Class.define(k,{extend:qx.html.Element,construct:function(l,m){qx.html.Element.call(this,f,l,m);this.__vI={};this.__vJ={};this.__vK={};},members:{__vI:null,__vK:null,__vJ:null,__vL:null,_createDomElement:function(){return qx.dom.Element.create(f);},createFlash:function(){this.__vL=qx.bom.Flash.create(this.getDomElement(),this.getAttributes(),this.__vJ,this.__vI);},setSource:function(n){{};if(this.__vL){throw new Error(g);};this.setAttribute(e,n);},setId:function(o){{};if(this.__vL){throw new Error(b);};this.setAttribute(j,o);},getVariables:function(){return this.__vJ;},setVariables:function(p){{};if(this.__vL){throw new Error(c);};this.__vJ=p;},getAttributes:function(){return this.__vK;},setAttribute:function(q,r){{};if(q==d||q.indexOf(a)===0){qx.html.Element.prototype.setAttribute.call(this,q,r);}else if(this.__vL){throw new Error(i);};if(r===null||r===undefined){delete this.__vK[q];}else {this.__vK[q]=r;};},getParams:function(){return this.__vI;},setParam:function(s,t){{};if(this.__vL){throw new Error(h);};if(t===null||t===undefined){delete this.__vI[s];}else {this.__vI[s]=t;};},getFlashElement:function(){return this.__vL;}},destruct:function(){if(this.__vL){qx.bom.Flash.destroy(this.__vL);};this.__vI=this.__vJ=this.__vK=null;}});})();(function(){var a="function",b="application/x-shockwave-flash",c="DOM element is null or undefined!",d="param",e='" />',f="100%",g="qx.bom.Flash",h='L.width;var Q=K.height>L.height;if((M||Q)&&!(M&&Q)){if(M){Q=K.height>N.height;}else if(Q){M=K.width>N.width;};};}else {var M=O===q;var Q=P===q;if(K.width>(M?N.width:L.width)&&O===u){M=true;};if(K.height>(M?N.height:L.height)&&P===u){Q=true;};};this._configureScrollbar(s,M,L.width,K.width);this._configureScrollbar(m,Q,L.height,K.height);this._updateCornerWidget();},_getIframeSize:function(){try{var R=this._getIframeElement().getWindow();var S={width:qx.bom.Document.getWidth(R),height:qx.bom.Document.getHeight(R)};return S;}catch(e){return null;};},_updateCornerWidget:function(){if(this._isChildControlVisible(s)&&this._isChildControlVisible(m)){this._showChildControl(p);}else {this._excludeChildControl(p);};},_configureScrollbar:function(T,U,X,W){if(!U){this._excludeChildControl(T);return;};var V=this._showChildControl(T);if(X>=W){V.set({position:0,maximum:W,knobFactor:1,enabled:false});}else {V.setMaximum(1000000);V.set({position:Math.min(V.getPosition(),W),maximum:W-X,knobFactor:X/W,enabled:true});};},_onScrollBarX:function(e){this.scrollToX(e.getData());},_onScrollBarY:function(e){this.scrollToY(e.getData());},scrollToX:function(x){try{var Y=this._getIframeElement().getWindow();Y.scroll(x,qx.bom.Viewport.getScrollTop(Y));}catch(e){this._disableScollbars();};},scrollToY:function(y){try{var ba=this._getIframeElement().getWindow();ba.scroll(qx.bom.Viewport.getScrollLeft(ba),y);}catch(e){this._disableScollbars();};}},destruct:function(){this._stopIframeObserver();this.__vV=null;}});})();(function(){var a="qx.ui.form.renderer.IFormRenderer";qx.Interface.define(a,{members:{addItems:function(b,f,d,c,e){},addButton:function(g,h){}}});})();(function(){var a=" * ",b="Abstract method call",c="abstract",d="",f="changeLocale",g="change",h="visibility",j="qx.dynlocale",k="qx.ui.form.renderer.AbstractRenderer",l=" :";qx.Class.define(k,{type:c,extend:qx.ui.core.Widget,implement:qx.ui.form.renderer.IFormRenderer,construct:function(m){qx.ui.core.Widget.call(this);this._labels=[];if(qx.core.Environment.get(j)){qx.locale.Manager.getInstance().addListener(f,this._onChangeLocale,this);this._names=[];};this._form=m;this._render();m.addListener(g,this._onFormChange,this);},members:{_names:null,_form:null,_labels:null,_render:function(){var q=this._form.getGroups();for(var i=0;i0||v.getRequired()?l:d;return name+w+x;},addItems:function(y,z,A){throw new Error(b);},addButton:function(B){throw new Error(b);}},destruct:function(){if(qx.core.Environment.get(j)){qx.locale.Manager.getInstance().removeListener(f,this._onChangeLocale,this);};this._names=null;}});})();(function(){var a="bold",b="_buttonRow",c="qx.ui.form.renderer.Double",d="qx.dynlocale",e="top",f="left",g="right";qx.Class.define(c,{extend:qx.ui.form.renderer.AbstractRenderer,construct:function(j){var h=new qx.ui.layout.Grid();h.setSpacing(6);h.setColumnAlign(0,g,e);h.setColumnAlign(1,f,e);h.setColumnAlign(2,g,e);h.setColumnAlign(3,f,e);this._setLayout(h);qx.ui.form.renderer.AbstractRenderer.call(this,j);},members:{_row:0,_buttonRow:null,_onFormChange:function(){this._buttonRow.destroy();this._buttonRow=null;this._row=0;qx.ui.form.renderer.AbstractRenderer.prototype._onFormChange.call(this);},addItems:function(l,o,k){if(k!=null){this._add(this._createHeader(k),{row:this._row,column:0,colSpan:4});this._row++ ;};for(var i=0;i0){return ({element:this.__sI.shift(),remaining:this.__sI.length});};return null;}},destruct:function(){this.__sI=null;}});})();(function(){var a="qx.ui.progressive.renderer.Abstract",b="render() is abstract",c="abstract";qx.Class.define(a,{type:c,extend:qx.core.Object,members:{render:function(d,e){throw new Error(b);},join:function(f,name){}}});})();(function(){var a="qx.ui.progressive.renderer.FunctionCaller";qx.Class.define(a,{extend:qx.ui.progressive.renderer.Abstract,members:{render:function(b,c){c.data(b.getUserData());}}});})();(function(){var a="resize",b="content",c="px",d="  font-size: 11px;",f=")",g="px ",h=';',j="  border-bottom:1px solid #eeeeee;",k="padding: ",l="end",m="div",n="changeTheme",o="-col-",p="__columnData",q="css.userselect",r="Renderer is already joined to a Progressive.",s="css.boxmodel",t="css.textoverflow",u="  width : 100%;",v=" {",w="}",x="  border-right:1px solid #f2f2f2;",y="Invalid location: ",z="  cursor:default;",A="  font-family: 'Segoe UI', Corbel, Calibri, Tahoma, 'Lucida Sans Unicode', sans-serif;",B='  position: absolute;  top: 0px;  height: 100%;  overflow:hidden;',C="-row {",D="-row",E="qx.dyntheme",F="start",G="relative",H="",I=':ellipsis;',J=':',K="  white-space:nowrap;",L="  padding : 0px 6px 0px 6px;",M="qx.ui.progressive.renderer.table.Row",N="width: ",O=" out of range (max: ",P="px;",Q="0px ",R="progressive-table-row-background-odd",S="__wh",T='',U="qx-progressive-",V="progressive-table-row-background-even",W="__ve",X=".qx-progressive-",Y="left: ",bd="No existing renderer for column ",be="css.userselect.none",bf="Column ";qx.Class.define(M,{extend:qx.ui.progressive.renderer.Abstract,construct:function(bg){qx.ui.progressive.renderer.Abstract.call(this);this.__wd=bg;this.__wg={};this.__wh=new qx.ui.progressive.renderer.table.cell.Default();this.__sD=null;this.__vX={};this.__wc();this.__ve=new qx.ui.layout.HBox();this.__ve.connectToWidget(this);if(qx.core.Environment.get(E)){qx.theme.manager.Meta.getInstance().addListener(n,this.__wc,this);};},statics:{__um:null,__wi:6,__wj:B+(qx.core.Environment.get(t)?qx.bom.Style.getCssName(qx.core.Environment.get(t))+I:H)+K+x+j+L+z+d+A+(qx.core.Environment.get(q)?qx.bom.Style.getCssName(qx.core.Environment.get(q))+J+qx.core.Environment.get(be)+h:T)},properties:{defaultRowHeight:{init:16}},members:{__sD:null,__wk:null,__wl:null,__wd:null,__wg:null,__wh:null,__vX:null,__ve:null,__wc:function(){var bh=qx.theme.manager.Color.getInstance();this.__vX.bgcol=[];this.__vX.bgcol[0]=bh.resolve(V);this.__vX.bgcol[1]=bh.resolve(R);},join:function(bj,name){if(this.__sD){throw new Error(r);};this.__sD=bj;this.__wk=name;var bk=qx.ui.progressive.renderer.table.Row;if(!bk.__um){bk.__um={};};var bi=bj.toHashCode();if(!bk.__um[bi]){bk.__um[bi]={rowstylesheet:null,cellstylesheet:[]};var bl=X+bi+C+u+w;bk.__um[bi].rowstylesheet=qx.bom.Stylesheet.createElement(bl);var bm=this.__wd.getData();for(var i=0;i=bp.length){throw new Error(bf+bo+O+(bp.length-1)+f);};this.__wg[bo]=bq;},removeRenderer:function(br){var bs=this.__wd.getData();if(br<0||br>=bs.length){throw new Error(bf+br+O+(bs.length-1)+f);};if(!this.__wg[br]){throw new Error(bd+br);};delete this.__wg[br];},render:function(bu,bD){var bE=bD.data;var by=[];var bA;var bz;var bw=0;if(bu.getRendererData()[this.__wk].end===undefined){bu.getRendererData()[this.__wk]={end:0,start:1,rows:0,totalHeight:0};};var bC=document.createElement(m);for(var i=0;ibw){bw=bA.height;};};bw=(bw>0?bw:this.getDefaultRowHeight());var bB=bu.getRendererData()[this.__wk];bB.totalHeight+=bw;bC.style.position=G;bC.style.height=bw+c;bC.className=U+this.__wl+D;bC.innerHTML=by.join(H);switch(bD.location){case l:var bt=bB.end||0;bC.style.backgroundColor=this.__vX.bgcol[bt];bB.end=(bt==0?1:0);bu.getPane().getContentElement().getDomElement().appendChild(bC);break;case F:var bv=bu.getPane().getContentElement().getDomElement();var bF=bv.childNodes;if(bF.length>0){var bt=bB.start;bC.style.backgroundColor=this.__vX.bgcol[bt];bB.start=(bt==0?1:0);bv.insertBefore(bC,bF[0]);break;}else {bv.appendChild(bC);};break;default:throw new Error(y+bD.location);}; ++bB.rows;},getLayoutChildren:function(){return this.__wd.getData();},_resizeColumns:function(e){var bN=this.__sD.getStructure().getPane();var bK=bN.getBounds().width-qx.bom.element.Scroll.getScrollbarWidth();var bI=X+this.__wl+D;var bH=qx.ui.progressive.renderer.table.Row;qx.bom.Stylesheet.removeRule(bH.__um[this.__wl].rowstylesheet,bI);var bJ=N+bK+P;qx.bom.Stylesheet.addRule(bH.__um[this.__wl].rowstylesheet,bI,bJ);this.__ve.renderLayout(bK,100,{top:0,right:0,bottom:0,left:0});var bM=this.__wd.getData();for(var i=0,bP=0;i=0;i-- ){var bU=X+this.__wl+o+i;var bT=bS.__um[this.__wl].cellstylesheet[i];var bS=qx.ui.progressive.renderer.table.Row;qx.bom.Stylesheet.removeRule(bT,bU);};};};if(this.__sD&&this.__sD.getRendererData){var bV=this.__sD.getRendererData();if(bV&&bV[this.__wk]&&bV[this.__wk].end!==undefined){bV[this.__wk]=null;};};this.__vX=this.__wg=this.__sD=this.__wd=null;this._disposeObjects(W,S,p);}});})();(function(){var a="'",b="abstract",c="",d=">",e="
",f="
this.__wm.length-1||l<0){throw new Error(a);};this.__wm[l].setColumnWidth(m);},setMinWidth:function(n,o){if(n>this.__wm.length-1||n<0){throw new Error(a);};this.__wm[n].setMinWidth(o);},setMaxWidth:function(p,q){if(p>this.__wm.length-1||p<0){throw new Error(a);};this.__wm[p].setMaxWidth(q);}}});})();(function(){var a='" ',b="qx.ui.progressive.renderer.table.cell.Icon",c="string",d="vertical-align:middle;",e="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='",f='bf.value1){bc=true;};break;case l:if(X=bf.value1){bc=true;};break;case v:if(X<=bf.value1){bc=true;};break;};}else if(qx.lang.Array.contains(this.__wy,bf.condition)){if(bf.target==null){X=bb.cellData;}else {X=bb.element.data[bf.target];};switch(bf.condition){case j:if(X>=bf.value1&&X<=bf.value2){bc=true;};break;case q:if(Xbf.value2){bc=true;};break;};}else if(bf.condition==k){if(bf.target==null){X=bb.cellData;}else {X=bb.element.data[bf.target];};var Y=new RegExp(bf.value1,m);bc=Y.test(X);};if(bc){this.__wz(bf,ba);};var bd=[];for(var be in ba){if(ba[be]){bd.push(be,o,ba[be],p);};};};return bd.join(f);}},destruct:function(){this.__wr=this.__wy=this.__ws=null;}});})();(function(){var a="qx.ui.progressive.renderer.table.cell.Html";qx.Class.define(a,{extend:qx.ui.progressive.renderer.table.cell.Abstract});})();(function(){var a="qx.ui.progressive.renderer.table.cell.Image",b="string",c="";qx.Class.define(a,{extend:qx.ui.progressive.renderer.table.cell.Icon,construct:function(d,e){qx.ui.progressive.renderer.table.cell.Icon.call(this);if(d===undefined){this.__wA=d;}else {this.__wA=16;};if(e===undefined){this.__wB=e;}else {this.__wB=16;};},members:{__wA:null,__wB:null,_identifyImage:function(k){var h={imageWidth:this.__wA,imageHeight:this.__wB};var j;if(typeof (k.cellData)==b){h.url=k.cellData;}else {h.url=k.cellData.url;h.tooltip=k.cellData.tooltip;j=k.cellData.height;};if(h.url==c){h.url=this._imageBlank;}else {var i=qx.util.AliasManager.getInstance();var g=qx.util.ResourceManager.getInstance();var f=i.resolve(h.url);h.url=g.toUri(f);};if(j){k.height=j;};return h;}}});})();(function(){var a="qx.ui.progressive.renderer.table.cell.String";qx.Class.define(a,{extend:qx.ui.progressive.renderer.table.cell.Abstract,construct:function(){qx.ui.progressive.renderer.table.cell.Abstract.call(this);},members:{_getContentHtml:function(b){return qx.bom.String.escape(b.cellData);}}});})();(function(){var a="center",b="focus",c="activate",d="qx.ui.table.celleditor.CheckBox",e="middle";qx.Class.define(d,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,members:{createCellEditor:function(f){var h=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:a,alignY:e})).set({focusable:true});var g=new qx.ui.form.CheckBox().set({value:f.value});h.add(g);h.addListener(b,function(){g.focus();});h.addListener(c,function(){g.activate();});return h;},getCellEditorValue:function(i){return i.getChildren()[0].getValue();}}});})();(function(){var a="Function",b="qx.ui.table.celleditor.ComboBox",c="",d="number",e="Array",f="table-editor-combobox",g="appear";qx.Class.define(b,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,properties:{validationFunction:{check:a,nullable:true,init:null},listData:{check:e,init:null,nullable:true}},members:{createCellEditor:function(p){var j=new qx.ui.form.ComboBox().set({appearance:f});var k=p.value;j.originalValue=k;var o=p.table.getTableColumnModel().getDataCellRenderer(p.col);var m=o._getContentHtml(p);if(k!=m){k=m;};if(k===null||k===undefined){k=c;};var h=this.getListData();if(h){var n;for(var i=0,l=h.length;ithis.conditions[i][5]){be=true;};break;case k:if(bb=this.conditions[i][5]){be=true;};break;case v:if(bb<=this.conditions[i][5]){be=true;};break;};}else if(qx.lang.Array.contains(this.betweenAllowed,this.conditions[i][0])){if(this.conditions[i][7]==null){bb=bi.value;}else {bb=bf.getValueById(this.conditions[i][7],bi.row);};switch(this.conditions[i][0]){case j:if(bb>=this.conditions[i][5]&&bb<=this.conditions[i][6]){be=true;};break;case q:if(bbthis.conditions[i][6]){be=true;};break;};}else if(this.conditions[i][0]==n){if(this.conditions[i][6]==null){bb=bi.value;}else {bb=bf.getValueById(this.conditions[i][6],bi.row);};var bc=new RegExp(this.conditions[i][5],m);be=bc.test(bb);};if(be==true){this.__wz(this.conditions[i],bd);};};var bg=[];for(var bh in bd){if(bd[bh]){bg.push(bh,o,bd[bh],l);};};return bg.join(f);}},destruct:function(){this.numericAllowed=this.betweenAllowed=this.conditions=null;}});})();(function(){var a="qx.util.format.DateFormat",b="qooxdoo-table-cell",c="qx.ui.table.cellrenderer.Date",d="";qx.Class.define(c,{extend:qx.ui.table.cellrenderer.Conditional,properties:{dateFormat:{check:a,init:null,nullable:true}},members:{_getContentHtml:function(e){var f=this.getDateFormat();if(f){if(e.value){return qx.bom.String.escape(f.format(e.value));}else {return d;};}else {return e.value||d;};},_getCellClass:function(g){return b;}}});})();(function(){var a="row=",b="
",c="px;overflow:auto;'>",d="qx.ui.table.cellrenderer.Debug",e="
",f="): ",g="
",h="*** EXCEPTION (",k="============================================================",l="Object",m="
",n="null",o="Array",p="members",q=":",r=": ",s="statics",t="get",u="construct",v="",w="qx.dev.Debug",x=": EXCEPTION expanding property",y="\n",z="*** TOO MUCH RECURSION: not displaying ***",A="Object, count=",B=" ",C="this.Filters[i][1]){ba=true;};break;case h:if(S=this.Filters[i][1]){ba=true;};break;case t:if(S<=this.Filters[i][1]){ba=true;};break;};}else if(this._js_in_array(this.Filters[i][0],this.betweenAllowed)&&ba==false){S=this.getValueById(this.Filters[i][3],bd);switch(this.Filters[i][0]){case g:if(S>=this.Filters[i][1]&&S<=this.Filters[i][2]){ba=true;};break;case o:if(Sthis.Filters[i][2]){ba=true;};break;};}else if(this.Filters[i][0]==l&&ba==false){S=this.getValueById(this.Filters[i][2],bd);var V=new RegExp(this.Filters[i][1],this.Filters[i][3]);ba=V.test(S);}else if(this.Filters[i][0]==d&&ba==false){S=this.getValueById(this.Filters[i][2],bd);var V=new RegExp(this.Filters[i][1],this.Filters[i][3]);ba=!V.test(S);};};if(ba==true){U.push(bd);};};var X=U.length;for(i=0;i=F){C=F-1;};var D=-1;var A=-1;for(var G=E;G<=C;G++ ){if((this._clearCache&&!this._loadRowCountRequestRunning)||this._rowBlockCache[G]==null||this._rowBlockCache[G].isDirty){if(D==-1){D=G;};A=G;};};if(D!=-1){this._firstRowToLoad=-1;this._lastRowToLoad=-1;this._firstLoadingBlock=D;this._loadRowData(D*z,(A+1)*z-1);};}else {this._firstRowToLoad=H;this._lastRowToLoad=B;};},_loadRowData:function(J,I){throw new Error(e);},_onRowDataLoaded:function(P){if(this._clearCache){this.clearCache();this._clearCache=false;};if(P!=null&&!this._ignoreCurrentRequest){var M=this.getBlockSize();var K=Math.ceil(P.length/M);if(K==1){this._setRowBlockData(this._firstLoadingBlock,P);}else {for(var i=0;ithis.getMaxCachedBlockCount()){var T;var S=this._lruCounter;for(var V in this._rowBlockCache){var U=this._rowBlockCache[V].lru;if(U1){S=U;T=V;};};delete this._rowBlockCache[T];this._rowBlockCount-- ;};};this._rowBlockCache[X]={lru: ++this._lruCounter,rowDataArr:W};},removeRow:function(bb){if(this.getClearCacheOnRemove()){this.clearCache();var bg={firstRow:0,lastRow:this.getRowCount()-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,bg);}else {var bc=this.getBlockSize();var Y=Math.ceil(this.getRowCount()/bc);var bd=parseInt(bb/bc,10);for(var bh=bd;bh<=Y;bh++ ){var bf=this._rowBlockCache[bh];if(bf!=null){var ba=0;if(bh==bd){ba=bb-bh*bc;};bf.rowDataArr.splice(ba,1);if(bh==Y-1){if(bf.rowDataArr.length==0){delete this._rowBlockCache[bh];};}else {var be=this._rowBlockCache[bh+1];if(be!=null){bf.rowDataArr.push(be.rowDataArr[0]);}else {bf.isDirty=true;};};};};if(this._rowCount!=-1){this._rowCount-- ;};if(this.hasListener(f)){var bg={firstRow:bb,lastRow:this.getRowCount()-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,bg);};};},getRowData:function(bi){var bj=this.getBlockSize();var bm=parseInt(bi/bj,10);var bk=this._rowBlockCache[bm];if(bk==null){return null;}else {var bl=bk.rowDataArr[bi-(bm*bj)];if(bk.lru!=this._lruCounter){bk.lru= ++this._lruCounter;};return bl;};},getValue:function(bo,bn){var bp=this.getRowData(bn);if(bp==null){return null;}else {var bq=this.getColumnId(bo);return bp[bq];};},setValue:function(bu,bs,bt){var bv=this.getRowData(bs);if(bv==null){return;}else {var br=this.getColumnId(bu);bv[br]=bt;if(this.hasListener(f)){var bw={firstRow:bs,lastRow:bs,firstColumn:bu,lastColumn:bu};this.fireDataEvent(f,bw);};};},setEditable:function(bx){this._editableColArr=[];for(var by=0;by>1);var z=y[D];if(z[C]>=w&&(D==0||y[D-1][C]=w){v=D-1;}else {A=D+1;};if(A>v){return {};};};var B={};var z=y[D];while(z&&z[C]>=w&&z[C]<=x){B[z.id]=z;z=y[D++ ];};return B;},findCellsInWindow:function(H,G,I,E){var L={};if(I>0){var K=H+I-1;qx.lang.Object.mergeWith(L,this._findCellsInRange(g,H,K));qx.lang.Object.mergeWith(L,this._findCellsInRange(j,H,K));};var J={};if(E>0){var F=G+E-1;qx.lang.Object.mergeWith(J,this._findCellsInRange(f,G,F));qx.lang.Object.mergeWith(J,this._findCellsInRange(c,G,F));};return this.__xk(J,L);},__xk:function(O,M){var N=[];for(var P in O){if(M[P]){N.push(M[P]);};};return N;},_onRowConfigChange:function(e){this._rowPos=[];},_onColumnConfigChange:function(e){this._columnPos=[];},_invalidatePositionCache:function(){this._rowPos=[];this._columnPos=[];},_getRowPosition:function(R){var Q=this._rowPos[R];if(Q!==undefined){return Q;};Q=this._rowPos[R]=this._rowConfig.getItemPosition(R);return Q;},_getColumnPosition:function(S){var T=this._columnPos[S];if(T!==undefined){return T;};T=this._columnPos[S]=this._columnConfig.getItemPosition(S);return T;},_getSingleCellBounds:function(U,V,W){var X={left:0,top:0,width:0,height:0};X.height=this._getRowPosition(U.lastRow)+this._rowConfig.getItemSize(U.lastRow)-this._getRowPosition(U.firstRow);X.top=this._getRowPosition(U.firstRow)-this._getRowPosition(V);X.width=this._getColumnPosition(U.lastColumn)+this._columnConfig.getItemSize(U.lastColumn)-this._getColumnPosition(U.firstColumn);X.left=this._getColumnPosition(U.firstColumn)-this._getColumnPosition(W);return X;},getCellBounds:function(Y,bb,bc){var ba=[];for(var i=0,l=Y.length;i=M&&K<=L){this.updateLayerData();};}}});})();(function(){var a="
",b="background-color:",c="horizontal",d="top:",e="",f="height: ",g="position: absolute;",h="gray",i="width: 100%;",j="width: ",k="height: 100%;",l="
",n="qx.ui.virtual.layer.GridLines",o="left:",p="px;",q="html",r="Color",s="PositiveInteger",t="top: 0px;";qx.Class.define(n,{extend:qx.ui.virtual.layer.Abstract,construct:function(v,w,u){qx.ui.virtual.layer.Abstract.call(this);this.setZIndex(11);if(w){this.setDefaultLineColor(w);};if(u!==undefined){this.setDefaultLineSize(u);};this.__xl=[];this.__xm=[];this._isHorizontal=(v||c)==c;},properties:{defaultLineColor:{init:h,check:r,themeable:true},defaultLineSize:{init:1,check:s,themeable:true}},members:{__xl:null,__xm:null,isHorizontal:function(){return this._isHorizontal;},setLineColor:function(A,z){{};this.__xl[A]=z;if(this.__xn(A)){this.updateLayerData();};},setLineSize:function(B,C){{};this.__xm[B]=C;if(this.__xn(B)){this.updateLayerData();};},__xn:function(D){if(this._isHorizontal){var H=this.getFirstColumn();var F=H+this.getColumnSizes().length-1;return D>=H&&D<=F;}else {var G=this.getFirstRow();var E=G+this.getRowSizes().length-1;return D>=G&&D<=E;};},getLineSize:function(I){return this.__xm[I]||this.getDefaultLineSize();},getLineColor:function(J){return this.__xl[J]||this.getDefaultLineColor();},__xo:function(O,L,N){var top=0;var K,M;for(var y=0;y1)?Math.floor(M/2):1),p,b,K,m,a);};},__xp:function(S,P,R){var U=0;var Q,T;for(var x=0;x1)?Math.floor(T/2):1),p,b,Q,m,a);};},_fullUpdate:function(Y,ba,W,V){var X=[];if(this._isHorizontal){this.__xo(X,Y,W);}else {this.__xp(X,ba,V);};this.getContentElement().setAttribute(q,X.join(e));},_updateLayerWindow:function(bd,be,bf,bc){var bg=bd!==this.getFirstRow()||bf.length!==this.getRowSizes().length;var bb=be!==this.getFirstColumn()||bc.length!==this.getColumnSizes().length;if((this._isHorizontal&&bg)||(!this._isHorizontal&&bb)){this._fullUpdate(bd,be,bf,bc);};}},destruct:function(){this.__xl=this.__xm=null;}});})();(function(){var a="width:",b="top:",c="",d="css.boxmodel",e=">",f="content",g="
",h="qx.ui.virtual.layer.HtmlCell",i="' ",j="style='",k="height:",l="
1||v>1){this._spanManager.addCell(w,z,t,u,v);};qx.ui.core.queue.Widget.add(this);},__xq:function(G,A,C,H,top,F,D){var B=this._cellProvider.getCellProperties(A,C);var E=B.insets||[0,0];G.push(f,j,o,H,k,b,top,k,this._getCellSizeStyle(F,D,E[0],E[1]),B.style||c,g,m,B.classes||c,g,B.attributes||c,d,B.content||c,a);},_fullUpdate:function(P,K,T,N){var S=[];var M=this._spanManager.findCellsInWindow(P,K,T.length,N.length);if(M.length>0){var O=this._spanManager.getCellBounds(M,P,K);var I=this._spanManager.computeCellSpanMap(M,P,K,T.length,N.length);for(var i=0,l=M.length;i1||x>1){this._spanManager.addCell(y,z,v,w,x);};qx.ui.core.queue.Widget.add(this);},_getSpacer:function(){var A=this.__rT.pop();if(!A){A=new qx.ui.core.Spacer();A.setUserData(k,1);A.setUserData(h,1);};return A;},__xr:function(){var self=this;var D=this._cellProvider;var C=this.__rT;var B={getCellWidget:function(G,E){if(!self._spanMap[G][E]){var F=D.getCellWidget(G,E);}else {var F=self._getSpacer();};return F;},poolCellWidget:function(H){if(H.getUserData(h)){C.push(H);}else {D.poolCellWidget(H);};}};return B;},__xs:function(K,L,J,I){this._cells=this._spanManager.findCellsInWindow(K,L,J,I);if(this._cells.length>0){this._bounds=this._spanManager.getCellBounds(this._cells,K,L);this._spanMap=this._spanManager.computeCellSpanMap(this._cells,K,L,J,I);}else {this._bounds=[];this._spanMap=[];for(var i=0;i=0;i-- ){var P=Q[i];if(P!==this._cellLayer){this._cellProvider.poolCellWidget(P);this._remove(P);};};for(var i=0,l=this._cells.length;i=0;E-- ){for(var F=H-1;F>=0;F-- ){var G={row:F,column:E};if(this._isSelectable(G)){return G;};};};return null;},_getRelatedSelectable:function(J,N){var L={row:J.row,column:J.column};switch(N){case b:for(var O=J.row-1;O>=0;O-- ){L.row=O;if(this._isSelectable(L)){return L;};};break;case a:var M=this._pane.getRowConfig().getItemCount();for(var O=J.row+1;O=0;K-- ){L.column=K;if(this._isSelectable(L)){return L;};};break;case d:var I=this._pane.getColumnConfig().getItemCount();for(var K=J.column+1;K=0;i-- ){if(!qx.lang.Array.contains(q,this.getSelection().getItem(i))){this.getSelection().splice(i,1).dispose();};};}else if(this.__xO()){var r=this.getSelection().getItem(this.getSelection().length-1);if(r!==undefined){this.__xP(r);this.getSelection().splice(0,this.getSelection().getLength()-1).dispose();}else {this.getTarget().resetSelection();};};this._endSelectionModification();},__xN:function(){var v=this.getTarget().constructor;return qx.Class.implementsInterface(v,qx.ui.core.IMultiSelection);},__xO:function(){var w=this.getTarget().constructor;return qx.Class.implementsInterface(w,qx.ui.core.ISingleSelection);},__xP:function(x){var y=this.__xQ(x);if(y==null){return;};if(this.__xN()){this.getTarget().addToSelection(y);}else if(this.__xO()){this.getTarget().setSelection([y]);};},__xQ:function(z){var A=this.getTarget().getSelectables(true);for(var i=0;i0?this._modifingSelection-- :null;},_inSelectionModification:function(){return this._modifingSelection>0;}},destruct:function(){if(this.__xJ){this.__xJ.dispose();};}});})();(function(){var a="changeModel",b="_applyLabelOptions",c="_applyLabelPath",d="changeTarget",e="_applyModel",f="change",g="icon",h="ReverseBindingId",k="qx.data.controller.List",m="_applyIconPath",n="BindingId",o="_applyDelegate",p="",q="changeDelegate",r="_applyTarget",s="]",t="qx.data.IListData",u="model[",v="model",w="label",x="String",y="_applyIconOptions",z=".";qx.Class.define(k,{extend:qx.core.Object,include:qx.data.controller.MSelection,implement:qx.data.controller.ISelection,construct:function(A,B,C){qx.core.Object.call(this);this.__rt=[];this.__xR=[];this.__xS=[];this.__xT={};if(C!=null){this.setLabelPath(C);};if(A!=null){this.setModel(A);};if(B!=null){this.setTarget(B);};},properties:{model:{check:t,apply:e,event:a,nullable:true,dereference:true},target:{apply:r,event:d,nullable:true,init:null,dereference:true},labelPath:{check:x,apply:c,nullable:true},iconPath:{check:x,apply:m,nullable:true},labelOptions:{apply:b,nullable:true},iconOptions:{apply:y,nullable:true},delegate:{apply:o,event:q,init:null,nullable:true}},members:{__xU:null,__rt:null,__xT:null,__xR:null,__xS:null,__xV:null,__xW:null,update:function(){this.__xY();this.__yd();this._updateSelection();},_applyDelegate:function(E,D){this._setConfigureItem(E,D);this._setFilter(E,D);this._setCreateItem(E,D);this._setBindItem(E,D);},_applyIconOptions:function(G,F){this.__yd();},_applyLabelOptions:function(I,H){this.__yd();},_applyIconPath:function(K,J){this.__yd();},_applyLabelPath:function(M,L){this.__yd();},_applyModel:function(P,N){if(N!=undefined){if(this.__xU!=undefined){N.removeListenerById(this.__xU);};};if(this.getSelection()!=undefined&&this.getSelection().length>0){this.getSelection().splice(0,this.getSelection().length).dispose();};if(P!=null){this.__xU=P.addListener(f,this.__xX,this);this.__rB();this.__xY();if(N==null){this._changeTargetSelection();}else {this.__xV=true;qx.ui.core.queue.Widget.add(this);};}else {var O=this.getTarget();if(O!=null){var length=O.getChildren().length;for(var i=0;iT){for(var j=T;jU;j-- ){this.__yc();};};this.__xV=true;qx.ui.core.queue.Widget.add(this);},__ya:function(){var V=this.getModel();if(V!=null){V.removeListenerById(this.__xU);this.__xU=V.addListener(f,this.__xX,this);};},_createItem:function(){var X=this.getDelegate();if(X!=null&&X.createItem!=null){var W=X.createItem();}else {var W=new qx.ui.form.ListItem();};if(X!=null&&X.configureItem!=null){X.configureItem(W);};return W;},__yb:function(Y){var ba=this._createItem();this._bindListItem(ba,Y);this.getTarget().add(ba);},__yc:function(){this._startSelectionModification();var bc=this.getTarget().getChildren();var bb=bc.length-1;var bd=bc[bb];this._removeBindingsFrom(bd);this.getTarget().removeAt(bb);bd.destroy();this._endSelectionModification();},getVisibleModels:function(){var be=[];var bf=this.getTarget();if(bf!=null){var bg=bf.getChildren();for(var i=0;ithis.__rt.length){for(var j=bQ.length;j>this.__rt.length;j-- ){this.getTarget().removeAt(j-1).destroy();};}else if(bQ.length=bj.length;i-- ){var bk=bn.getChildren()[i];this.__yo(bk,bn);};},__ym:function(bt){if(bt==null){bt=this.getTarget();};if(bt==null){return;};var bv=bt.getRoot();if(bv!=null){bt.setRoot(null);this.__yn(bv);var bu=bv.getModel();if(bu){this.__yp(bu);};bv.destroy();this.__yg={};};},__yn:function(bw){var bx=bw.getChildren()||[];for(var i=bx.length-1;i>=0;i-- ){if(bx[i].getChildren().length>0){this.__yn(bx[i]);};this.__yo(bx[i],bw);};},__yo:function(bz,bC){var bD=bz.getModel();var by=this.__yh||this.getChildPath();var bA=w+qx.lang.String.firstUp(by);if(bD[bA]!=undefined){var bE=bD[bA]();var bB=this.__yg[bE.toHashCode()];bE.removeListenerById(bB.changeListenerId);bD.removeListenerById(bB.changeChildernListenerId);this.__yn(bz);delete this.__yg[bE.toHashCode()];};this.__yp(bD);bC.remove(bz);bz.destroy();},bindProperty:function(bG,bJ,bI,bF,bL){var bK=bL.bind(bG,bF,bJ,bI);if(this.__bc[bJ]==null){this.__bc[bJ]={};};var bH=this.__bc[bJ];if(bH[bL.toHashCode()]){if(bH[bL.toHashCode()].id){throw new Error(u+bJ+k);};bH[bL.toHashCode()].id=bK;}else {bH[bL.toHashCode()]={id:bK,reverseId:null,treeNode:bF};};if(!qx.lang.Array.contains(this.__xR,bJ)){this.__xR.push(bJ);};},bindPropertyReverse:function(bQ,bM,bO,bP,bS){var bR=bP.bind(bM,bS,bQ,bO);if(this.__bc[bM]==null){this.__bc[bM]={};};var bN=this.__bc[bM];if(bN[bS.toHashCode()]){if(bN[bS.toHashCode()].reverseId){throw new Error(o+bQ+k);};bN[bS.toHashCode()].reverseId=bR;}else {bN[bS.toHashCode()]={id:null,reverseId:bR,treeNode:bP};};if(!qx.lang.Array.contains(this.__xR,bM)){this.__xR.push(bM);};},bindDefaultProperties:function(bT,bU){this.bindProperty(this.getLabelPath(),h,this.getLabelOptions(),bT,bU);if(this.getIconPath()!=null){this.bindProperty(this.getIconPath(),f,this.getIconOptions(),bT,bU);};},__yd:function(){var bW;for(var ca in this.__bc){bW=ca;break;};for(var bX in this.__bc[bW]){var bV=this.__bc[bW][bX].treeNode;var bY=qx.core.ObjectRegistry.fromHashCode(bX);this.__yp(bY);this.__rP(bY,bV);};},__rP:function(cd,cb){var cc=this.getDelegate();if(cc!=null&&cc.bindItem!=null){cc.bindItem(this,cb,cd);}else {this.bindDefaultProperties(cb,cd);};},__yp:function(cg){for(var i=0;i=0;i-- ){var C=D.children[i];C.$$model=null;qx.dom.Element.remove(C);};D.innerHTML=d;},update:function(){var E=this.getTarget();var N=this.getModel();if(N instanceof qx.core.Object){N=qx.util.Serializer.toNativeObject(this.getModel());};var K=this.getTemplateId();if(E==null||N==null||K==null){return;};this.__ym();var I=this.getDelegate()&&this.getDelegate().configureItem;var F=this.getDelegate()&&this.getDelegate().filter;var H=this.getDelegate()&&this.getDelegate().createItem;for(var i=0;i/)===-1){return document.createTextNode(bg);};var bh=qx.dom.Element.create(l);bh.innerHTML=bg;return bh.children[0];}}});(function(){var bi;var bj;(function bk(bl,bm){if(typeof bi===k&&bi&&typeof bi.nodeName!==Q){bm(bi);}else if(typeof bj===p&&bj.amd){bj([u],bm);}else {bl.Mustache={};bm(bl.Mustache);};}(this,function bz(bM){var bv=Object.prototype.toString;var by=Array.isArray||function bO(bN){return bv.call(bN)===K;};function bt(bP){return typeof bP===p;};function bL(bQ){return by(bQ)?r:typeof bQ;};function bH(bR){return bR.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,n);};function bu(bS,bT){return bS!=null&&typeof bS===k&&(bT in bS);};var bA=RegExp.prototype.test;function bC(bU,bV){return bA.call(bU,bV);};var bs=/\S/;function bx(bW){return !bC(bs,bW);};var bD={'&':f,'<':v,'>':t,'"':U,"'":g,'/':L,'`':a,'=':V};function bn(bX){return String(bX).replace(/[&<>"'`=\/]/g,function bY(s){return bD[s];});};var bw=/\s*/;var bK=/\s+/;var bJ=/\s*=/;var bE=/\s*\}/;var bB=/#|\^|\/|>|\{|&|=|!/;function bo(co,cc){if(!co)return [];var cd=[];var cj=[];var cm=[];var ct=false;var cg=false;function ce(){if(ct&&!cg){while(cm.length)delete cj[cm.pop()];}else {cm=[];};ct=false;cg=false;};var ci,ca,cq;function cf(cu){if(typeof cu===Q)cu=cu.split(bK,2);if(!by(cu)||cu.length!==2)throw new Error(z+cu);ci=new RegExp(bH(cu[0])+D);ca=new RegExp(D+bH(cu[1]));cq=new RegExp(D+bH(W+cu[1]));};cf(cc||bM.tags);var cb=new bI(co);var ck,cr,cn,cl,cs,ch;while(!cb.eos()){ck=cb.pos;cn=cb.scanUntil(ci);if(cn){for(var i=0,cp=cn.length;i0?cB[cB.length-1][4]:cA;break;default:cG.push(cF);};};return cA;};function bI(cH){this.string=cH;this.tail=cH;this.pos=0;};bI.prototype.eos=function cI(){return this.tail===d;};bI.prototype.scan=function cM(cJ){var cL=this.tail.match(cJ);if(!cL||cL.index!==0)return d;var cK=cL[0];this.tail=this.tail.substring(cK.length);this.pos+=cK.length;return cK;};bI.prototype.scanUntil=function cN(cO){var cQ=this.tail.search(cO),cP;switch(cQ){case -1:cP=this.tail;this.tail=d;break;case 0:cP=d;break;default:cP=this.tail.substring(0,cQ);this.tail=this.tail.substring(cQ);};this.pos+=cP.length;return cP;};function bF(cS,cR){this.view=cS;this.cache={'.':this.view};this.parent=cR;};bF.prototype.push=function cT(cU){return new bF(cU,this);};bF.prototype.lookup=function da(name){var cX=this.cache;var cY;if(cX.hasOwnProperty(name)){cY=cX[name];}else {var dc=this,db,cV,cW=false;while(dc){if(name.indexOf(x)>0){cY=dc.view;db=name.split(x);cV=0;while(cY!=null&&cV=200&&status<300||status===304);},isMethod:function(p){var o=[e,i,d,h,a,c,j,b,f];return (o.indexOf(p)!==-1)?true:false;},methodAllowsRequestBody:function(q){return !((/^(GET|HEAD)$/).test(q));}}});})();(function(){var a="null",b="XMLHttpRequest",c="Boolean",d="X-Requested-With",e="",f="application/x-www-form-urlencoded",g="Cache-Control",h="Content-Type",i="qx.event.type.Event",j="GET",k="qx.io.request.Xhr",l="Accept",m="String";qx.Class.define(k,{extend:qx.io.request.AbstractRequest,construct:function(n,o){if(o!==undefined){this.setMethod(o);};qx.io.request.AbstractRequest.call(this,n);this._parser=this._createResponseParser();},events:{"readyStateChange":i,"success":i,"load":i,"statusError":i},properties:{method:{init:j},async:{check:c,init:true},accept:{check:m,nullable:true},cache:{check:function(p){return qx.lang.Type.isBoolean(p)||qx.lang.Type.isString(p);},init:true}},members:{_parser:null,_createTransport:function(){return new qx.bom.request.Xhr();},_getConfiguredUrl:function(){var q=this.getUrl(),r;if(this.getMethod()===j&&this.getRequestData()){r=this._serializeData(this.getRequestData());q=qx.util.Uri.appendParamsToUrl(q,r);};if(this.getCache()===false){q=qx.util.Uri.appendParamsToUrl(q,{nocache:new Date().valueOf()});};return q;},_getConfiguredRequestHeaders:function(){var s={},t=qx.util.Request.methodAllowsRequestBody(this.getMethod());if(!qx.util.Request.isCrossDomain(this.getUrl())){s[d]=b;};if(qx.lang.Type.isString(this.getCache())){s[g]=this.getCache();};if(this.getRequestData()!==a&&t){s[h]=f;};if(this.getAccept()){{};s[l]=this.getAccept();};return s;},_getMethod:function(){return this.getMethod();},_isAsync:function(){return this.isAsync();},_createResponseParser:function(){return new qx.util.ResponseParser();},_getParsedResponse:function(){var v=this._transport.responseText,u=this.getResponseContentType()||e;return this._parser.parse(v,u);},setParser:function(w){return this._parser.setParser(w);}}});})();(function(){var a="function",b="qx.util.ResponseParser",c="";qx.Bootstrap.define(b,{construct:function(d){if(d!==undefined){this.setParser(d);};},statics:{PARSER:{json:qx.lang.Json.parse,xml:qx.xml.Document.fromString}},members:{__yG:null,parse:function(g,f){var e=this._getParser(f);if(typeof e===a){if(g!==c){return e.call(this,g);};};return g;},setParser:function(h){if(typeof qx.util.ResponseParser.PARSER[h]===a){return this.__yG=qx.util.ResponseParser.PARSER[h];};{};return this.__yG=h;},_getParser:function(j){var i=this.__yG,l=c,k=c;if(i){return i;};l=j||c;k=l.replace(/;.*$/,c);if(/^application\/(\w|\.)*\+?json$/.test(k)){i=qx.util.ResponseParser.PARSER.json;};if(/^application\/xml$/.test(k)){i=qx.util.ResponseParser.PARSER.xml;};if(/[^\/]+\/[^\+]+\+xml$/.test(l)){i=qx.util.ResponseParser.PARSER.xml;};return i;}}});})();(function(){var a="activex",b="No XHR support available.",c="If-None-Match",d="xhr",f="If-Modified-Since",g="engine.version",h="onunload",i="GET",j="-1",k="qx.debug.io",l="HTMLDocument",m="error",n="loadend",o="Blob",p="load",q="abort",r="String",s="browser.documentmode",t="",u="engine.name",v="Microsoft.XMLHTTP",w="Already disposed",x="browser.version",y="opera",z="qx.bom.request.Xhr",A="Not enough arguments",B="timeout",C="gecko",D="If-Match",E="mshtml",F="readystatechange",G="Microsoft.XMLDOM",H="file:",I="FormData",J="If-Range",K="Content-Type",L="io.xhr",M="on",N="ArrayBuffer",O="undefined",P="Native XHR object doesn't support overrideMimeType.";qx.Bootstrap.define(z,{extend:Object,construct:function(){var Q=qx.Bootstrap.bind(this.__yU,this);if(qx.event&&qx.event.GlobalError&&qx.event.GlobalError.observeMethod){this.__yH=qx.event.GlobalError.observeMethod(Q);}else {this.__yH=Q;};this.__yI=qx.Bootstrap.bind(this.__yT,this);this.__yy=qx.Bootstrap.bind(this.__yY,this);this.__yS();this._emitter=new qx.event.Emitter();if(window.attachEvent){this.__yJ=qx.Bootstrap.bind(this.__zc,this);window.attachEvent(h,this.__yJ);};},statics:{UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},events:{"readystatechange":z,"error":z,"loadend":z,"timeout":z,"abort":z,"load":z},members:{readyState:0,responseText:t,responseXML:null,status:0,statusText:t,timeout:0,open:function(V,R,S,U,T){this.__ze();if(typeof R===O){throw new Error(A);}else if(typeof V===O){V=i;};this.__yB=false;this.__yK=false;this.__yL=false;this.__yM=R;if(typeof S==O){S=true;};this.__yN=S;if(!this.__zd()&&this.readyState>qx.bom.request.Xhr.UNSENT){this.dispose();this.__yS();};this.__yP.onreadystatechange=this.__yH;try{{};this.__yP.open(V,R,S,U,T);}catch(W){if(!qx.util.Request.isCrossDomain(R)){throw W;};if(!this.__yN){this.__yO=W;};if(this.__yN){if(window.XDomainRequest){this.readyState=4;this.__yP=new XDomainRequest();this.__yP.onerror=qx.Bootstrap.bind(function(){this._emit(F);this._emit(m);this._emit(n);},this);{};this.__yP.open(V,R,S,U,T);return;};window.setTimeout(qx.Bootstrap.bind(function(){if(this.__yQ){return;};this.readyState=4;this._emit(F);this._emit(m);this._emit(n);},this));};};if(qx.core.Environment.get(u)===E&&qx.core.Environment.get(s)<9&&this.__yP.readyState>0){this.__yP.setRequestHeader(f,j);};if(qx.core.Environment.get(u)===C&&parseInt(qx.core.Environment.get(g),10)<2&&!this.__yN){this.readyState=qx.bom.request.Xhr.OPENED;this._emit(F);};},setRequestHeader:function(X,Y){this.__ze();if(X==D||X==f||X==c||X==J){this.__yL=true;};this.__yP.setRequestHeader(X,Y);return this;},send:function(bb){this.__ze();if(!this.__yN&&this.__yO){throw this.__yO;};if(qx.core.Environment.get(u)===y&&this.timeout===0){this.timeout=10000;};if(this.timeout>0){this.__vE=window.setTimeout(this.__yy,this.timeout);};bb=typeof bb==O?null:bb;var ba=qx.Bootstrap.getClass(bb);bb=(bb!==null&&this.__yR.indexOf(ba)===-1)?bb.toString():bb;try{{};this.__yP.send(bb);}catch(bd){if(!this.__yN){throw bd;};if(this._getProtocol()===H){this.readyState=2;this.__yV();var bc=this;window.setTimeout(function(){if(bc.__yQ){return;};bc.readyState=3;bc.__yV();bc.readyState=4;bc.__yV();});};};if(qx.core.Environment.get(u)===C&&!this.__yN){this.__yU();};this.__yK=true;return this;},abort:function(){this.__ze();this.__yB=true;this.__yP.abort();if(this.__yP){this.readyState=this.__yP.readyState;};return this;},_emit:function(event){if(this[M+event]){this[M+event]();};this._emitter.emit(event,this);},onreadystatechange:function(){},onload:function(){},onloadend:function(){},onerror:function(){},onabort:function(){},ontimeout:function(){},on:function(name,be,bf){this._emitter.on(name,be,bf);return this;},getResponseHeader:function(bg){this.__ze();if(qx.core.Environment.get(s)===9&&this.__yP.aborted){return t;};return this.__yP.getResponseHeader(bg);},getAllResponseHeaders:function(){this.__ze();if(qx.core.Environment.get(s)===9&&this.__yP.aborted){return t;};return this.__yP.getAllResponseHeaders();},overrideMimeType:function(bh){this.__ze();if(this.__yP.overrideMimeType){this.__yP.overrideMimeType(bh);}else {throw new Error(P);};return this;},getRequest:function(){return this.__yP;},dispose:function(){if(this.__yQ){return false;};window.clearTimeout(this.__vE);if(window.detachEvent){window.detachEvent(h,this.__yJ);};try{this.__yP.onreadystatechange;}catch(bj){return false;};var bi=function(){};this.__yP.onreadystatechange=bi;this.__yP.onload=bi;this.__yP.onerror=bi;this.abort();this.__yP=null;this.__yQ=true;return true;},isDisposed:function(){return !!this.__yQ;},_createNativeXhr:function(){var bk=qx.core.Environment.get(L);if(bk===d){return new XMLHttpRequest();};if(bk==a){return new window.ActiveXObject(v);};qx.Bootstrap.error(this,b);},_getProtocol:function(){var bl=this.__yM;var bm=/^(\w+:)\/\//;if(bl!==null&&bl.match){var bn=bl.match(bm);if(bn&&bn[1]){return bn[1];};};return window.location.protocol;},__yP:null,__yN:null,__yH:null,__yI:null,__yJ:null,__yy:null,__yK:null,__yM:null,__yB:null,__es:null,__yQ:null,__vE:null,__yO:null,__yL:null,__yR:null,__yS:function(){this.__yP=this._createNativeXhr();this.__yP.onreadystatechange=this.__yH;if(this.__yP.onabort){this.__yP.onabort=this.__yI;};this.__yQ=this.__yK=this.__yB=false;this.__yR=[N,o,l,r,I];},__yT:function(){if(!this.__yB){this.abort();};},__yU:function(){var bo=this.__yP,bp=true;{};if(this.readyState==bo.readyState){return;};this.readyState=bo.readyState;if(this.readyState===qx.bom.request.Xhr.DONE&&this.__yB&&!this.__yK){return;};if(!this.__yN&&(bo.readyState==2||bo.readyState==3)){return;};this.status=0;this.statusText=this.responseText=t;this.responseXML=null;if(this.readyState>=qx.bom.request.Xhr.HEADERS_RECEIVED){try{this.status=bo.status;this.statusText=bo.statusText;this.responseText=bo.responseText;this.responseXML=bo.responseXML;}catch(bq){bp=false;};if(bp){this.__za();this.__zb();};};this.__yV();if(this.readyState==qx.bom.request.Xhr.DONE){if(bo){bo.onreadystatechange=function(){};};};},__yV:function(){if(this.readyState===qx.bom.request.Xhr.DONE){window.clearTimeout(this.__vE);};this._emit(F);if(this.readyState===qx.bom.request.Xhr.DONE){this.__yW();};},__yW:function(){if(this.__es){this._emit(B);if(qx.core.Environment.get(u)===y){this._emit(m);};this.__es=false;}else {if(this.__yB){this._emit(q);}else {if(this.__yX()){this._emit(m);}else {this._emit(p);};};};this._emit(n);},__yX:function(){var br;if(this._getProtocol()===H){br=!this.responseText;}else {br=!this.statusText&&this.status!==204;};return br;},__yY:function(){var bs=this.__yP;this.readyState=qx.bom.request.Xhr.DONE;this.__es=true;bs.aborted=true;bs.abort();this.responseText=t;this.responseXML=null;this.__yV();},__za:function(){var bt=this.readyState===qx.bom.request.Xhr.DONE;if(this._getProtocol()===H&&this.status===0&&bt){if(!this.__yX()){this.status=200;};};if(this.status===1223){this.status=204;};if(qx.core.Environment.get(u)===y){if(bt&&this.__yL&&!this.__yB&&this.status===0){this.status=304;};};},__zb:function(){if(qx.core.Environment.get(u)==E&&(this.getResponseHeader(K)||t).match(/[^\/]+\/[^\+]+\+xml/)&&this.responseXML&&!this.responseXML.documentElement){var bu=new window.ActiveXObject(G);bu.async=false;bu.validateOnParse=false;bu.loadXML(this.responseText);this.responseXML=bu;};},__zc:function(){try{if(this){this.dispose();};}catch(e){};},__zd:function(){var name=qx.core.Environment.get(u);var bv=qx.core.Environment.get(x);return !(name==E&&bv<9||name==C&&bv<3.5);},__ze:function(){if(this.__yQ){throw new Error(w);};}},defer:function(){qx.core.Environment.add(k,false);}});})();(function(){var a="callback",b="changePhase",c="fail",d="success",e="qx.data.store.Jsonp",f="String";qx.Class.define(e,{extend:qx.data.store.Json,construct:function(g,h,i){if(i!=undefined){this.setCallbackParam(i);};qx.data.store.Json.call(this,g,h);},properties:{callbackParam:{check:f,init:a,nullable:true},callbackName:{check:f,nullable:true}},members:{_createRequest:function(j){if(this._getRequest()){this._getRequest().dispose();};var k=new qx.io.request.Jsonp();this._setRequest(k);k.setCallbackParam(this.getCallbackParam());k.setCallbackName(this.getCallbackName());k.setUrl(j);k.addListener(d,this._onSuccess,this);var l=this._delegate;if(l&&qx.lang.Type.isFunction(l.configureRequest)){this._delegate.configureRequest(k);};k.addListener(b,this._onChangePhase,this);k.addListener(c,this._onFail,this);k.send();}}});})();(function(){var a="qx.io.request.Jsonp",b="qx.event.type.Event",c="Boolean";qx.Class.define(a,{extend:qx.io.request.AbstractRequest,events:{"success":b,"load":b,"statusError":b},properties:{cache:{check:c,init:true}},members:{_createTransport:function(){return new qx.bom.request.Jsonp();},_getConfiguredUrl:function(){var d=this.getUrl(),e;if(this.getRequestData()){e=this._serializeData(this.getRequestData());d=qx.util.Uri.appendParamsToUrl(d,e);};if(!this.getCache()){d=qx.util.Uri.appendParamsToUrl(d,{nocache:new Date().valueOf()});};return d;},_getParsedResponse:function(){return this._transport.responseJson;},setCallbackParam:function(f){this._transport.setCallbackParam(f);},setCallbackName:function(name){this._transport.setCallbackName(name);}}});})();(function(){var a="url: ",b="qx.debug.io",c="qx.bom.request.Script",d="Invalid state",e="head",f="error",g="loadend",h="qx.debug",i="script",j="load",k="Unknown response headers",l="browser.documentmode",m="abort",n="",o="Received native readyState: loaded",p="readystatechange",q="Response header cannot be determined for ",r="requests made with script transport.",s="opera",t="unknown",u="Open native request with ",v="Response headers cannot be determined for",w="mshtml",x="engine.name",y="Detected error",z="Send native request",A="on",B="timeout",C="Unknown environment key at this phase",D="Received native load";qx.Bootstrap.define(c,{construct:function(){this.__zk();this.__zf=qx.Bootstrap.bind(this._onNativeLoad,this);this.__zg=qx.Bootstrap.bind(this._onNativeError,this);this.__yy=qx.Bootstrap.bind(this._onTimeout,this);this.__zh=document.head||document.getElementsByTagName(e)[0]||document.documentElement;this._emitter=new qx.event.Emitter();this.timeout=this.__zm()?0:15000;},events:{"readystatechange":c,"error":c,"loadend":c,"timeout":c,"abort":c,"load":c},members:{readyState:null,status:null,statusText:null,timeout:null,__zi:null,on:function(name,E,F){this._emitter.on(name,E,F);return this;},open:function(H,G){if(this.__yQ){return;};this.__zk();this.__yB=null;this.__yM=G;if(this.__zp(b)){qx.Bootstrap.debug(qx.bom.request.Script,u+a+G);};this._readyStateChange(1);},setRequestHeader:function(I,J){if(this.__yQ){return null;};var K={};if(this.readyState!==1){throw new Error(d);};K[I]=J;this.__yM=qx.util.Uri.appendParamsToUrl(this.__yM,K);return this;},send:function(){if(this.__yQ){return null;};var M=this.__zn(),L=this.__zh,N=this;if(this.timeout>0){this.__eq=window.setTimeout(this.__yy,this.timeout);};if(this.__zp(b)){qx.Bootstrap.debug(qx.bom.request.Script,z);};L.insertBefore(M,L.firstChild);window.setTimeout(function(){N._readyStateChange(2);N._readyStateChange(3);});return this;},abort:function(){if(this.__yQ){return null;};this.__yB=true;this.__zo();this._emit(m);return this;},_emit:function(event){this[A+event]();this._emitter.emit(event,this);},onreadystatechange:function(){},onload:function(){},onloadend:function(){},onerror:function(){},onabort:function(){},ontimeout:function(){},getResponseHeader:function(O){if(this.__yQ){return null;};if(this.__zp(h)){qx.Bootstrap.debug(q+r);};return t;},getAllResponseHeaders:function(){if(this.__yQ){return null;};if(this.__zp(h)){qx.Bootstrap.debug(v+r);};return k;},setDetermineSuccess:function(P){this.__zi=P;},dispose:function(){var Q=this.__zj;if(!this.__yQ){if(Q){Q.onload=Q.onreadystatechange=null;this.__zo();};if(this.__eq){window.clearTimeout(this.__eq);};this.__yQ=true;};},isDisposed:function(){return !!this.__yQ;},_getUrl:function(){return this.__yM;},_getScriptElement:function(){return this.__zj;},_onTimeout:function(){this.__zl();if(!this.__zm()){this._emit(f);};this._emit(B);if(!this.__zm()){this._emit(g);};},_onNativeLoad:function(){var S=this.__zj,R=this.__zi,T=this;if(this.__yB){return;};if(this.__zp(x)===w&&this.__zp(l)<9){if(!(/loaded|complete/).test(S.readyState)){return;}else {if(this.__zp(b)){qx.Bootstrap.debug(qx.bom.request.Script,o);};};};if(this.__zp(b)){qx.Bootstrap.debug(qx.bom.request.Script,D);};if(R){if(!this.status){this.status=R()?200:500;};};if(this.status===500){if(this.__zp(b)){qx.Bootstrap.debug(qx.bom.request.Script,y);};};if(this.__eq){window.clearTimeout(this.__eq);};window.setTimeout(function(){T._success();T._readyStateChange(4);T._emit(j);T._emit(g);});},_onNativeError:function(){this.__zl();this._emit(f);this._emit(g);},__zj:null,__zh:null,__yM:n,__zf:null,__zg:null,__yy:null,__eq:null,__yB:null,__yQ:null,__zk:function(){this.readyState=0;this.status=0;this.statusText=n;},_readyStateChange:function(U){this.readyState=U;this._emit(p);},_success:function(){this.__zo();this.readyState=4;if(!this.status){this.status=200;};this.statusText=n+this.status;},__zl:function(){this.__zo();this.readyState=4;this.status=0;this.statusText=null;},__zm:function(){var W=this.__zp(x)===w&&this.__zp(l)<9;var V=this.__zp(x)===s;return !(W||V);},__zn:function(){var X=this.__zj=document.createElement(i);X.src=this.__yM;X.onerror=this.__zg;X.onload=this.__zf;if(this.__zp(x)===w&&this.__zp(l)<9){X.onreadystatechange=this.__zf;};return X;},__zo:function(){var Y=this.__zj;if(Y&&Y.parentNode){this.__zh.removeChild(Y);};},__zp:function(ba){if(qx&&qx.core&&qx.core.Environment){return qx.core.Environment.get(ba);}else {if(ba===x){return qx.bom.client.Engine.getName();};if(ba===l){return qx.bom.client.Browser.getDocumentMode();};if(ba==b){return false;};throw new Error(C);};}},defer:function(){if(qx&&qx.core&&qx.core.Environment){qx.core.Environment.add(b,false);};}});})();(function(){var a="qx.bom.request.Jsonp",b="callback",c="open",d="dispose",e="",f="_onNativeLoad",g="qx",h=".callback",i="qx.bom.request.Jsonp.";qx.Bootstrap.define(a,{extend:qx.bom.request.Script,construct:function(){qx.bom.request.Script.apply(this);this.__zx();},members:{responseJson:null,__cl:null,__zq:null,__zr:null,__zs:null,__zt:null,__zu:null,__yQ:null,__zv:e,open:function(o,k){if(this.__yQ){return;};var m={},l,n,j=this;this.responseJson=null;this.__zs=false;l=this.__zq||b;n=this.__zr||this.__zv+i+this.__cl+h;if(!this.__zr){this.constructor[this.__cl]=this;}else {if(!window[this.__zr]){this.__zt=true;window[this.__zr]=function(p){j.callback(p);};}else {{};};};{};m[l]=n;this.__zu=k=qx.util.Uri.appendParamsToUrl(k,m);this.__ht(c,[o,k]);},callback:function(q){if(this.__yQ){return;};this.__zs=true;{};this.responseJson=q;this.constructor[this.__cl]=undefined;this.__zw();},setCallbackParam:function(r){this.__zq=r;return this;},setCallbackName:function(name){this.__zr=name;return this;},setPrefix:function(s){this.__zv=s;},getGeneratedUrl:function(){return this.__zu;},dispose:function(){this.__zw();this.__ht(d);},_onNativeLoad:function(){this.status=this.__zs?200:500;this.__ht(f);},__zw:function(){if(this.__zt&&window[this.__zr]){window[this.__zr]=undefined;this.__zt=false;};},__ht:function(u,t){qx.bom.request.Script.prototype[u].apply(this,t||[]);},__zx:function(){this.__cl=g+(new Date().valueOf())+(e+Math.random()).substring(2,5);}}});})();(function(){var a="qx.data.store.Offline",b="session",c="changeBubble",d="_applyModel",f="changeModel";qx.Class.define(a,{extend:qx.core.Object,construct:function(i,g,h){qx.core.Object.call(this);try{{};}catch(e){this.dispose();throw e;};if(g==b){this._storage=qx.bom.Storage.getSession();}else {this._storage=qx.bom.Storage.getLocal();};this._storeModel=qx.util.Function.debounce(this.__zz.bind(this),qx.data.store.Offline.STORE_MODEL_DELAY);this._marshaler=new qx.data.marshal.Json(h);this._key=i;this._initializeModel();},properties:{model:{nullable:true,event:f,apply:d}},statics:{STORE_MODEL_DELAY:400},members:{_storage:null,__zy:null,__zz:function(){var j=qx.util.Serializer.toNativeObject(this.getModel());this._storage.setItem(this._key,j);},_applyModel:function(l,k){if(k){k.removeListenerById(this.__zy);k.dispose();this.__zy=null;};if(l){this.__zy=l.addListener(c,this._storeModel,this);this._storeModel();}else {this._storage.removeItem(this._key);};},_storeModel:null,_initializeModel:function(){this._setModel(this._storage.getItem(this._key));},_setModel:function(n){this._marshaler.toClass(n,true);if(this.getModel()){this.getModel().dispose();};var m=this._marshaler.toModel(n,true);if(m===undefined){m=null;};this.setModel(m);},getKey:function(){return this._key;}},destruct:function(){if(this.getModel()){this.getModel().dispose();};if(this._marshaler){this._marshaler.dispose();};}});})();(function(){var a="qx.util.Function",b="undefined";qx.Bootstrap.define(a,{statics:{debounce:function(d,c,e){var f=function(){arguments.callee.immediate=!!(e);arguments.callee.args=qx.lang.Array.fromArguments(arguments);var g=this;var i=arguments.callee.intervalId;if(typeof i===b){var h=window.setInterval((function(){if(!this.fired){window.clearInterval(this.intervalId);delete this.intervalId;if(this.immediate===false){d.apply(g,this.args);};};this.fired=false;}).bind(arguments.callee),c);arguments.callee.intervalId=h;if(arguments.callee.immediate){d.apply(g,arguments.callee.args);};};arguments.callee.fired=true;};return f;},throttle:function(n,m,q){if(typeof q===b){q={};};var k,l,o;var p=null;var r=0;var j=function(){r=q.leading===false?0:new Date();p=null;o=n.apply(k,l);};return function(){var s=new Date();if(!r&&q.leading===false){r=s;};var t=m-(s-r);k=this;l=arguments;if(t<=0){window.clearTimeout(p);p=null;r=s;o=n.apply(k,l);}else if(!p&&q.trailing!==false){p=window.setTimeout(j,t);};return o;};}}});})();(function(){var a="html.storage.local",b="html.storage.userdata",c="qx.bom.Storage";qx.Bootstrap.define(c,{statics:{__zA:null,getLocal:function(){if(qx.core.Environment.get(a)){return qx.bom.storage.Web.getLocal();}else if(qx.core.Environment.get(b)){return qx.bom.storage.UserData.getLocal();};return qx.bom.storage.Memory.getLocal();},getSession:function(){if(qx.core.Environment.get(a)){return qx.bom.storage.Web.getSession();}else if(qx.core.Environment.get(b)){return qx.bom.storage.UserData.getSession();};return qx.bom.storage.Memory.getSession();}}});})();(function(){var a="local",b="session",c="Storage",d="qx.bom.storage.Web",f="Storage full.";qx.Bootstrap.define(d,{statics:{__zB:null,__zC:null,getLocal:function(){if(this.__zB){return this.__zB;};return this.__zB=new qx.bom.storage.Web(a);},getSession:function(){if(this.__zC){return this.__zC;};return this.__zC=new qx.bom.storage.Web(b);}},construct:function(g){this.__or=g;},members:{__or:null,getStorage:function(){return window[this.__or+c];},getLength:function(){return this.getStorage(this.__or).length;},setItem:function(h,j){j=qx.lang.Json.stringify(j);try{this.getStorage(this.__or).setItem(h,j);}catch(e){throw new Error(f);};},getItem:function(l){var k=this.getStorage(this.__or).getItem(l);if(qx.lang.Type.isString(k)){k=qx.lang.Json.parse(k);}else if(k&&k.value&&qx.lang.Type.isString(k.value)){k=qx.lang.Json.parse(k.value);};return k;},removeItem:function(m){this.getStorage(this.__or).removeItem(m);},clear:function(){var n=this.getStorage(this.__or);if(!n.clear){for(var i=n.length-1;i>=0;i-- ){n.removeItem(n.key(i));};}else {n.clear();};},getKey:function(o){return this.getStorage(this.__or).key(o);},forEach:function(p,r){var length=this.getLength();for(var i=0;i=h._packages.length&&j){j.call(self);};},this._loader);};};},load:function(n,self){if(this._checkCompleteLoading(n,self)){return;};this._readyState=a;if(n){this._appendPartListener(n,self,this);};this.__zK=this._packages.length;for(var i=0;i=s.length){r.call(self);return;};var v=new qx.bom.request.Script();v.open(e,u.shift());v.onload=function(){p+=1;v.dispose();if((qx.bom.client.Engine.getName()==c)){setTimeout(function(){q.call(self,u,r,self);},0);}else {q.call(self,u,r,self);};};v.onerror=function(){if(self.__zM==d){clearTimeout(self.__eq);v.dispose();return t.call(self);};};window.setTimeout(function(){v.send();});};q(s.concat());},__zS:qx.$$loader.importPackageData}});})();(function(){var a="Package not available: ",b=', ',c="complete",d='" not found in parts (',e="function",f=')',g='Part "',h="qx.Part";qx.Bootstrap.define(h,{construct:function(l){var j=l.parts[l.boot][0];this.__zT=l;this.__zU={};this.__zV={};this.__zW={};this.__zX={};for(var o in l.packages){var n=new qx.io.part.Package(this.__Ab(l.packages[o].uris),o,o==j);this.__zX[o]=n;};this.__zY={};var m=l.parts;var k=l.closureParts||{};for(var name in m){var r=m[name];var q=[];for(var i=0;i=G.length){var J=[];for(var i=0;i=L.length){var N=[];for(var i=0;i206&&cm<300){return true;};qx.log.Logger.debug(this,I+cm+V+cn+m);return false;};};},statusCodeToString:function(cp){switch(cp){case -1:return h;case 0:var cq=window.location.href;if(qx.lang.String.startsWith(cq.toLowerCase(),bS)){return bB;}else {return F;};break;case 200:return bD;case 304:return M;case 206:return t;case 204:return bL;case 300:return A;case 301:return R;case 302:return W;case 303:return r;case 305:return bJ;case 400:return cc;case 401:return y;case 402:return B;case 403:return bH;case 404:return bF;case 405:return J;case 406:return bO;case 407:return S;case 408:return bP;case 409:return bK;case 410:return q;case 411:return G;case 412:return j;case 413:return bT;case 414:return f;case 415:return bQ;case 500:return k;case 501:return E;case 502:return p;case 503:return bV;case 504:return cb;case 505:return N;case 12002:return v;case 12029:return P;case 12030:return P;case 12031:return P;case 12152:return Q;case 13030:return g;default:return bU;};}},properties:{request:{check:O,nullable:true},implementation:{check:d,nullable:true,apply:Y},state:{check:[bM,U,bN,bI,u,bY,H],init:bM,event:L,apply:D}},members:{send:function(){var cu=this.getRequest();if(!cu){return this.error(bX);};qx.io.remote.Exchange.initTypes();var cs=qx.io.remote.Exchange.typesOrder;var cr=qx.io.remote.Exchange.typesSupported;var cw=cu.getResponseType();var cx={};if(cu.getAsynchronous()){cx.asynchronous=true;}else {cx.synchronous=true;};if(cu.getCrossDomain()){cx.crossDomain=true;};if(cu.getFileUpload()){cx.fileUpload=true;};for(var cv in cu.getFormFields()){cx.programaticFormFields=true;break;};var cy,ct;for(var i=0,l=cs.length;i0){cI.setData(cK.join(c));};}else {cI.setData(cL);};cI.setResponseType(cH.getResponseType());cI.addListener(U,this._onsending,this);cI.addListener(bN,this._onreceiving,this);cI.addListener(bI,this._oncompleted,this);cI.addListener(u,this._onabort,this);cI.addListener(bY,this._ontimeout,this);cI.addListener(H,this._onfailed,this);};},_applyState:function(cQ,cO){{};switch(cQ){case U:this.fireEvent(U);break;case bN:this.fireEvent(bN);break;case bI:case u:case bY:case H:var cR=this.getImplementation();if(!cR){break;};this.__Ac();if(this.hasListener(cQ)){var cP=qx.event.Registration.createEvent(cQ,qx.io.remote.Response);if(cQ==bI){var cN=cR.getResponseContent();cP.setContent(cN);if(cN===null){{};cQ=H;};}else if(cQ==H){cP.setContent(cR.getResponseContent());};cP.setStatusCode(cR.getStatusCode());cP.setResponseHeaders(cR.getResponseHeaders());this.dispatchEvent(cP);};this.setImplementation(null);cR.dispose();break;};}},environment:{"qx.debug.io.remote":false,"qx.debug.io.remote.data":false},destruct:function(){var cS=this.getImplementation();if(cS){this.setImplementation(null);cS.dispose();};this.setRequest(null);}});})();(function(){var a="Boolean",b="setRequestHeader is abstract",c="getFetchedLength is abstract",d="getStatusText is abstract",e="getStatusCode is abstract",f="GET",g="aborted",h="Object",i="send is abstract",j="receiving",k="_applyState",l="qx.event.type.Event",m="changeState",n="String",o="getResponseHeader is abstract",p="sending",q="getResponseHeaders is abstract",r="completed",s="failed",t="getResponseText is abstract",u="abstract",v="configured",w="qx.io.remote.transport.Abstract",x="getResponseXml is abstract",y="created",z="timeout";qx.Class.define(w,{type:u,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.setRequestHeaders({});this.setParameters({});this.setFormFields({});},events:{"created":l,"configured":l,"sending":l,"receiving":l,"completed":l,"aborted":l,"failed":l,"timeout":l},properties:{url:{check:n,nullable:true},method:{check:n,nullable:true,init:f},asynchronous:{check:a,nullable:true,init:true},data:{check:n,nullable:true},username:{check:n,nullable:true},password:{check:n,nullable:true},state:{check:[y,v,p,j,r,g,z,s],init:y,event:m,apply:k},requestHeaders:{check:h,nullable:true},parameters:{check:h,nullable:true},formFields:{check:h,nullable:true},responseType:{check:n,nullable:true},useBasicHttpAuth:{check:a,nullable:true}},members:{send:function(){throw new Error(i);},abort:function(){{};this.setState(g);},timeout:function(){{};this.setState(z);},failed:function(){{};this.setState(s);},setRequestHeader:function(A,B){throw new Error(b);},getResponseHeader:function(C){throw new Error(o);},getResponseHeaders:function(){throw new Error(q);},getStatusCode:function(){throw new Error(e);},getStatusText:function(){throw new Error(d);},getResponseText:function(){throw new Error(t);},getResponseXml:function(){throw new Error(x);},getFetchedLength:function(){throw new Error(c);},_applyState:function(E,D){{};switch(E){case y:this.fireEvent(y);break;case v:this.fireEvent(v);break;case p:this.fireEvent(p);break;case j:this.fireEvent(j);break;case r:this.fireEvent(r);break;case g:this.fireEvent(g);break;case s:this.fireEvent(s);break;case z:this.fireEvent(z);break;};return true;}},destruct:function(){this.setRequestHeaders(null);this.setParameters(null);this.setFormFields(null);}});})();(function(){var a="application/xml",b=")!",c="qx.io.remote.transport.XmlHttp",d="Boolean",f="': ",g="application/json",h='Referer',j="text/html",k="Could not execute json: [",m="engine.version",n='Basic ',o="aborted",p="\n",q="string",r="Failed with exception: ",t='Authorization',u="Missing Document Element!",v="send",w="sending",x="XML-File is not well-formed!",y="receiving",z="Response was not a valid xml document [",A="No valid responseType specified (",B="
Could not execute json: \n",C="text/plain",D="text/javascript",E="Could not load from file: ",F="browser.documentmode",G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",H="Could not execute javascript: [",I="",J="mshtml",K=':',L="]",M="completed",N="failed",O="&",P="engine.name",Q="parseerror",R="configured",S="?",T="file:",U="webkit",V="=",W="created",X="timeout",Y="Failed to send data to URL '",bb="object";qx.Class.define(c,{extend:qx.io.remote.transport.Abstract,statics:{handles:{synchronous:true,asynchronous:true,crossDomain:false,fileUpload:false,programaticFormFields:false,responseTypes:[C,D,g,a,j]},createRequestObject:qx.core.Environment.select(P,{"default":function(){return new XMLHttpRequest;},"mshtml":function(){if(window.ActiveXObject&&qx.xml.Document.XMLHTTP){return new ActiveXObject(qx.xml.Document.XMLHTTP);};if(window.XMLHttpRequest){return new XMLHttpRequest;};}}),isSupported:function(){return !!this.createRequestObject();}},properties:{parseJson:{check:d,init:true}},members:{__Ad:false,__Ae:0,__ys:null,getRequest:function(){if(this.__ys===null){this.__ys=qx.io.remote.transport.XmlHttp.createRequestObject();this.__ys.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);};return this.__ys;},send:function(){this.__Ae=0;var bg=this.getRequest();var bc=this.getMethod();var bj=this.getAsynchronous();var bi=this.getUrl();var be=(window.location.protocol===T&&!(/^http(s){0,1}\:/.test(bi)));this.__Ad=be;var bm=this.getParameters(false);var bk=[];for(var bd in bm){var bh=bm[bd];if(bh instanceof Array){for(var i=0;i0){bi+=(bi.indexOf(S)>=0?O:S)+bk.join(O);};if(this.getData()===null){var bm=this.getParameters(true);var bk=[];for(var bd in bm){var bh=bm[bd];if(bh instanceof Array){for(var i=0;i0){this.setData(bk.join(O));};};var bl=function(bw){var bv=G;var bq=I;var bp,bo,bn;var bs,bt,bu,br;var i=0;do {bp=bw.charCodeAt(i++ );bo=bw.charCodeAt(i++ );bn=bw.charCodeAt(i++ );bs=bp>>2;bt=((bp&3)<<4)|(bo>>4);bu=((bo&15)<<2)|(bn>>6);br=bn&63;if(isNaN(bo)){bu=br=64;}else if(isNaN(bn)){br=64;};bq+=bv.charAt(bs)+bv.charAt(bt)+bv.charAt(bu)+bv.charAt(br);}while(i/,I);bW.loadXML(s);};if(!bW.documentElement){throw new Error(u);};if(bW.documentElement.tagName==Q){throw new Error(x);};}else {throw new Error(z+this.getRequest().responseText+L);};return bW;},getFetchedLength:function(){var bY=this.getResponseText();return typeof bY==q?bY.length:0;},getResponseContent:function(){var ca=this.getState();if(ca!==M&&ca!=N){{};return null;};{};var cb=this.getResponseText();if(ca==N){{};return cb;};switch(this.getResponseType()){case C:case j:{};return cb;case g:{};try{if(cb&&cb.length>0){var cc;if(this.getParseJson()){cc=qx.lang.Json.parse(cb);cc=(cc===0?0:(cc||null));}else {cc=cb;};return cc;}else {return null;};}catch(cd){this.error(k+cb+L,cd);return B+cb+p;};case D:{};try{if(cb&&cb.length>0){var cc=window.eval(cb);return (cc===0?0:(cc||null));}else {return null;};}catch(ce){this.error(H+cb+L,ce);return null;};case a:cb=this.getResponseXml();{};return (cb===0?0:(cb||null));default:this.warn(A+this.getResponseType()+b);return null;};},_applyState:function(cg,cf){{};switch(cg){case W:this.fireEvent(W);break;case R:this.fireEvent(R);break;case w:this.fireEvent(w);break;case y:this.fireEvent(y);break;case M:this.fireEvent(M);break;case N:this.fireEvent(N);break;case o:this.getRequest().abort();this.fireEvent(o);break;case X:this.getRequest().abort();this.fireEvent(X);break;};}},defer:function(){qx.io.remote.Exchange.registerType(qx.io.remote.transport.XmlHttp,c);},destruct:function(){var ch=this.getRequest();if(ch){ch.onreadystatechange=(function(){});switch(ch.readyState){case 1:case 2:case 3:ch.abort();};};this.__ys=null;}});})();(function(){var a="&",b="Ignore Ready State Change",c="Illegal parameter name. The following prefix is used internally by qooxdoo): ",d="",e="_ScriptTransport_data",f="?",g="application/json",h=")!",j="script",k="=",l="timeout",m="completed",n="_ScriptTransport_",o="text/plain",p="text/javascript",q="_ScriptTransport_id",r="No valid responseType specified (",s="aborted",t="utf-8",u="failed",v="qx.io.remote.transport.Script";qx.Class.define(v,{extend:qx.io.remote.transport.Abstract,construct:function(){qx.io.remote.transport.Abstract.call(this);var w= ++qx.io.remote.transport.Script.__Af;if(w>=2000000000){qx.io.remote.transport.Script.__Af=w=1;};this.__fQ=null;this.__Af=w;},statics:{__Af:0,_instanceRegistry:{},ScriptTransport_PREFIX:n,ScriptTransport_ID_PARAM:q,ScriptTransport_DATA_PARAM:e,handles:{synchronous:false,asynchronous:true,crossDomain:true,fileUpload:false,programaticFormFields:false,responseTypes:[o,p,g]},isSupported:function(){return true;},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4},_requestFinished:qx.event.GlobalError.observeMethod(function(x,content){var y=qx.io.remote.transport.Script._instanceRegistry[x];if(y==null){{};}else {y._responseContent=content;y._switchReadyState(qx.io.remote.transport.Script._numericMap.complete);};})},members:{__Ae:0,__fQ:null,__Af:null,send:function(){var B=this.getUrl();B+=(B.indexOf(f)>=0?a:f)+qx.io.remote.transport.Script.ScriptTransport_ID_PARAM+k+this.__Af;var E=this.getParameters();var D=[];for(var A in E){if(A.indexOf(qx.io.remote.transport.Script.ScriptTransport_PREFIX)==0){this.error(c+qx.io.remote.transport.Script.ScriptTransport_PREFIX);};var C=E[A];if(C instanceof Array){for(var i=0;i0){B+=a+D.join(a);};var z=this.getData();if(z!=null){B+=a+qx.io.remote.transport.Script.ScriptTransport_DATA_PARAM+k+encodeURIComponent(z);};qx.io.remote.transport.Script._instanceRegistry[this.__Af]=this;this.__fQ=document.createElement(j);this.__fQ.charset=t;this.__fQ.src=B;{};document.body.appendChild(this.__fQ);},_switchReadyState:function(F){switch(this.getState()){case m:case s:case u:case l:this.warn(b);return;};while(this.__Ae0){U+=(U.indexOf(E)>=0?G:E)+X.join(G);};if(this.getData()===null){var Y=this.getParameters(true);var X=[];for(var T in Y){var V=Y[T];if(V instanceof Array){for(var i=0;i0){this.setData(X.join(G));};};var R=this.getFormFields();for(var T in R){var W=document.createElement(l);W.name=T;W.appendChild(document.createTextNode(R[T]));this.__Ag.appendChild(W);};this.__Ag.action=U;this.__Ag.method=S;this.__cP.appendChild(document.createTextNode(this.getData()));this.__Ag.submit();this.setState(u);},_onload:qx.event.GlobalError.observeMethod(function(e){if(qx.core.Environment.get(B)==J&&this.getIframeHtmlContent()==t){return;};if(this.__Ag.src){return;};this._switchReadyState(qx.io.remote.transport.Iframe._numericMap.complete);}),_onreadystatechange:qx.event.GlobalError.observeMethod(function(e){this._switchReadyState(qx.io.remote.transport.Iframe._numericMap[this.__nH.readyState]);}),_switchReadyState:function(ba){switch(this.getState()){case w:case k:case z:case K:this.warn(C);return;};while(this.__Ae0?qx.lang.Json.parse(bg):null;}catch(bh){return this.error(j+bg+f,bh);};case q:bg=this.getIframeHtmlContent();{};try{return bg&&bg.length>0?window.eval(bg):null;}catch(bi){return this.error(y+bg+f,bi);};case a:bg=this.getIframeDocument();{};return bg;default:this.warn(n+this.getResponseType()+b);return null;};}},defer:function(){qx.io.remote.Exchange.registerType(qx.io.remote.transport.Iframe,F);},destruct:function(){if(this.__nH){qx.event.Registration.removeListener(this.__nH,o,this._onload,this);qx.bom.Event.removeNativeListener(this.__nH,v,this.__Ah);if((qx.core.Environment.get(B)==g)){this.__nH.src=qx.util.ResourceManager.getInstance().toUri(L);};qx.dom.Element.remove(this.__nH);};if(this.__Ag){qx.dom.Element.remove(this.__Ag);};this.__nH=this.__Ag=this.__cP=null;}});})();(function(){var a="Object",b="_applyResponseHeaders",c="Integer",d="qx.io.remote.Response";qx.Class.define(d,{extend:qx.event.type.Event,properties:{state:{check:c,nullable:true},statusCode:{check:c,nullable:true},content:{nullable:true},responseHeaders:{check:a,nullable:true,apply:b}},members:{__Ai:null,clone:function(e){var f=qx.event.type.Event.prototype.clone.call(this,e);f.setType(this.getType());f.setState(this.getState());f.setStatusCode(this.getStatusCode());f.setContent(this.getContent());f.setResponseHeaders(this.getResponseHeaders());return f;},getResponseHeader:function(g){if(this.__Ai){return this.__Ai[g.toLowerCase()]||null;};return null;},_applyResponseHeaders:function(i,h){var j={};if(i!==null){Object.keys(i).forEach(function(k){j[k.toLowerCase()]=i[k];});this.__Ai=j;};}}});})();(function(){var a="application/xml",b="Boolean",c="application/json",d="text/html",f="application/x-www-form-urlencoded",g="qx.io.remote.Exchange",h="GET",i="Pragma",j="aborted",k="Integer",l="X-Qooxdoo-Response-Type",m="HEAD",n="qx.io.remote.Request",o="no-url-params-on-post",p="failed",q="_applyResponseType",r="_applyState",s="qx.event.type.Event",t="queued",u="text/javascript",w="changeState",x="PUT",y="_applyProhibitCaching",z="String",A="",B="sending",C="nocache",D="completed",E="qx.io.remote.Response",F="_applyMethod",G="DELETE",H="POST",I="receiving",J="boolean",K="configured",L="no-cache",M="Aborting already sent request!",N="Cache-Control",O="Content-Type",P="timeout",Q="text/plain";qx.Class.define(n,{extend:qx.core.Object,construct:function(S,R,T){qx.core.Object.call(this);this.__yt={};this.__Aj={};this.__Ak={};this.__Al={};if(S!==undefined){this.setUrl(S);};if(R!==undefined){this.setMethod(R);};if(T!==undefined){this.setResponseType(T);};this.setProhibitCaching(true);this.__Am= ++qx.io.remote.Request.__Am;},events:{"created":s,"configured":s,"sending":s,"receiving":s,"completed":E,"aborted":s,"failed":E,"timeout":E},statics:{__Am:0,methodAllowsRequestBody:function(U){return (U==H)||(U==x);}},properties:{url:{check:z,init:A},method:{check:[h,H,x,m,G],apply:F,init:h},asynchronous:{check:b,init:true},data:{check:z,nullable:true},username:{check:z,nullable:true},password:{check:z,nullable:true},state:{check:[K,t,B,I,D,j,P,p],init:K,apply:r,event:w},responseType:{check:[Q,u,c,a,d],init:Q,apply:q},timeout:{check:k,nullable:true},prohibitCaching:{check:function(v){return typeof v==J||v===o;},init:true,apply:y},crossDomain:{check:b,init:false},fileUpload:{check:b,init:false},transport:{check:g,nullable:true},useBasicHttpAuth:{check:b,init:false},parseJson:{check:b,init:true}},members:{__yt:null,__Aj:null,__Ak:null,__Al:null,__Am:null,send:function(){qx.io.remote.RequestQueue.getInstance().add(this);},abort:function(){qx.io.remote.RequestQueue.getInstance().abort(this);},reset:function(){switch(this.getState()){case B:case I:this.error(M);case t:this.abort();break;};},isConfigured:function(){return this.getState()===K;},isQueued:function(){return this.getState()===t;},isSending:function(){return this.getState()===B;},isReceiving:function(){return this.getState()===I;},isCompleted:function(){return this.getState()===D;},isAborted:function(){return this.getState()===j;},isTimeout:function(){return this.getState()===P;},isFailed:function(){return this.getState()===p;},__An:qx.event.GlobalError.observeMethod(function(e){var V=e.clone();V.setTarget(this);this.dispatchEvent(V);}),_onqueued:function(e){this.setState(t);this.__An(e);},_onsending:function(e){this.setState(B);this.__An(e);},_onreceiving:function(e){this.setState(I);this.__An(e);},_oncompleted:function(e){this.setState(D);this.__An(e);this.dispose();},_onaborted:function(e){this.setState(j);this.__An(e);this.dispose();},_ontimeout:function(e){this.setState(P);this.__An(e);this.dispose();},_onfailed:function(e){this.setState(p);this.__An(e);this.dispose();},_applyState:function(X,W){{};},_applyProhibitCaching:function(ba,Y){if(!ba){this.removeParameter(C);this.removeRequestHeader(i);this.removeRequestHeader(N);return;};if(ba!==o||this.getMethod()!=H){this.setParameter(C,new Date().valueOf());}else {this.removeParameter(C);};this.setRequestHeader(i,L);this.setRequestHeader(N,L);},_applyMethod:function(bc,bb){if(qx.io.remote.Request.methodAllowsRequestBody(bc)){this.setRequestHeader(O,f);}else {this.removeRequestHeader(O);};var bd=this.getProhibitCaching();this._applyProhibitCaching(bd,bd);},_applyResponseType:function(bf,be){this.setRequestHeader(l,bf);},setRequestHeader:function(bg,bh){this.__yt[bg]=bh;},removeRequestHeader:function(bi){delete this.__yt[bi];},getRequestHeader:function(bj){return this.__yt[bj]||null;},getRequestHeaders:function(){return this.__yt;},setParameter:function(bl,bm,bk){if(bk){this.__Ak[bl]=bm;}else {this.__Aj[bl]=bm;};},removeParameter:function(bn,bo){if(bo){delete this.__Ak[bn];}else {delete this.__Aj[bn];};},getParameter:function(bp,bq){if(bq){return this.__Ak[bp]||null;}else {return this.__Aj[bp]||null;};},getParameters:function(br){return (br?this.__Ak:this.__Aj);},setFormField:function(bs,bt){this.__Al[bs]=bt;},removeFormField:function(bu){delete this.__Al[bu];},getFormField:function(bv){return this.__Al[bv]||null;},getFormFields:function(){return this.__Al;},getSequenceNumber:function(){return this.__Am;}},destruct:function(){this.setTransport(null);this.__yt=this.__Aj=this.__Ak=this.__Al=null;}});})();(function(){var a="_on",b="Boolean",c=" handler ",d="__Ao",f="ms",g="aborted",h="Integer",j=" threw an error: ",k="Timeout: transport ",l="singleton",m="interval",n="receiving",o="queued",p="io.maxrequests",q="_applyEnabled",r="sending",s="completed",t="ms > ",u="failed",v="_onaborted",w="__dE",x="Request ",y="qx.io.remote.RequestQueue",z="timeout";qx.Class.define(y,{type:l,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__el=[];this.__Ao=[];this.__Ap=0;this.__dE=new qx.event.Timer(500);this.__dE.addListener(m,this._oninterval,this);},properties:{enabled:{init:true,check:b,apply:q},maxTotalRequests:{check:h,nullable:true},maxConcurrentRequests:{check:h,init:qx.core.Environment.get(p)},defaultTimeout:{check:h,init:5000}},members:{__el:null,__Ao:null,__Ap:null,__dE:null,getRequestQueue:function(){return this.__el;},getActiveQueue:function(){return this.__Ao;},_debug:function(){{var A;};},_check:function(){this._debug();if(this.__Ao.length==0&&this.__el.length==0){this.__dE.stop();};if(!this.getEnabled()){return;};if(this.__el.length==0||(this.__el[0].isAsynchronous()&&this.__Ao.length>=this.getMaxConcurrentRequests())){return;};if(this.getMaxTotalRequests()!=null&&this.__Ap>=this.getMaxTotalRequests()){return;};var B=this.__el.shift();var C=new qx.io.remote.Exchange(B);this.__Ap++ ;this.__Ao.push(C);this._debug();C.addListener(r,this._onsending,this);C.addListener(n,this._onreceiving,this);C.addListener(s,this._oncompleted,this);C.addListener(g,this._oncompleted,this);C.addListener(z,this._oncompleted,this);C.addListener(u,this._oncompleted,this);C._start=(new Date).valueOf();C.send();if(this.__el.length>0){this._check();};},_remove:function(D){qx.lang.Array.remove(this.__Ao,D);D.dispose();this._check();},__Aq:0,_onsending:function(e){{};e.getTarget().getRequest()._onsending(e);},_onreceiving:function(e){e.getTarget().getRequest()._onreceiving(e);},_oncompleted:function(e){{};var E=e.getTarget().getRequest();var F=a+e.getType();this._remove(e.getTarget());try{if(E[F]){E[F](e);};}catch(G){this.error(x+E+c+F+j,G);try{if(E[v]){var event=qx.event.Registration.createEvent(g,qx.event.type.Event);E[v](event);};}catch(H){};};},_oninterval:function(e){var O=this.__Ao;if(O.length==0){this.__dE.stop();return;};var J=(new Date).valueOf();var M;var K;var N=this.getDefaultTimeout();var L;var I;for(var i=O.length-1;i>=0;i-- ){M=O[i];K=M.getRequest();if(K.isAsynchronous()){L=K.getTimeout();if(L==0){continue;};if(L==null){L=N;};I=J-M._start;if(I>L){this.warn(k+M.toHashCode());this.warn(I+t+L+f);M.timeout();};};};},_applyEnabled:function(Q,P){if(Q){this._check();};this.__dE.setEnabled(Q);},add:function(R){R.setState(o);if(R.isAsynchronous()){this.__el.push(R);}else {this.__el.unshift(R);};this._check();if(this.getEnabled()){this.__dE.start();};},abort:function(S){var T=S.getTransport();if(T){T.abort();}else if(qx.lang.Array.contains(this.__el,S)){qx.lang.Array.remove(this.__el,S);};}},destruct:function(){this._disposeArray(d);this._disposeObjects(w);this.__el=null;}});})();(function(){var a=")!",b=") does not match requested id ",c="Boolean",d="new Date(Date.UTC(",e="application/json",f=")",g="application/x-www-form-urlencoded",h="?instanceId=",j="Received id (",k="aborted",l="Integer",n="string",o="Object",p="qx.io.remote.Rpc",q="error",r=",",s="))",t=" error ",u='(',v="qx.event.type.Event",w="qx1",x="Local error ",y=": ",z="refreshSession",A="Application error ",B="Local time-out expired for ",C="",D="Transport error ",E=" (",F="(",G="TIMEOUT OCCURRED",H="/.qxrpc",I="completed",J="POST",K="failed",L="result",M="UNEXPECTED origin ",N="Error ",O="String",P=')',Q="Content-Type",R="2.0",S=".",T="timeout",U="Aborted ",V="Server error ",W="No data in response to ",X="id";qx.Class.define(p,{extend:qx.core.Object,construct:function(Y,ba){qx.core.Object.call(this);if(Y!==undefined){this.setUrl(Y);};if(ba!=null){this.setServiceName(ba);};if(qx.core.ServerSettings){this.__Ar=qx.core.ServerSettings.serverPathSuffix;};},events:{"completed":v,"aborted":v,"failed":v,"timeout":v},statics:{origin:{server:1,application:2,transport:3,local:4},localError:{timeout:1,abort:2,nodata:3},CONVERT_DATES:null,RESPONSE_JSON:null,makeServerURL:function(bb){var bc=null;if(qx.core.ServerSettings){bc=qx.core.ServerSettings.serverPathPrefix+H+qx.core.ServerSettings.serverPathSuffix;if(bb!=null){bc+=h+bb;};};return bc;}},properties:{timeout:{check:l,nullable:true},crossDomain:{check:c,init:false},url:{check:O,nullable:true},serviceName:{check:O,nullable:true},serverData:{check:o,nullable:true},username:{check:O,nullable:true},password:{check:O,nullable:true},useBasicHttpAuth:{check:c,nullable:true},protocol:{init:w,check:function(bd){return bd==w||bd==R;}}},members:{__As:null,__Ar:null,createRequest:function(){return new qx.io.remote.Request(this.getUrl(),J,e);},createRpcData:function(bj,bh,be,bg){var bi;var bf;if(this.getProtocol()==w){bi={"service":bh==z?null:this.getServiceName(),"method":bh,"id":bj,"params":be};if(bg){bi.server_data=bg;};}else {bf=this.getServiceName();if(bf&&bf!=C){bf+=S;}else {bf=C;};bi={"jsonrpc":R,"method":bf+bh,"id":bj,"params":be};};return bi;},_callInternal:function(args,callType,refreshSession){var self=this;var offset=(callType==0?0:1);var whichMethod=(refreshSession?z:args[offset]);var handler=args[0];var argsArray=[];var eventTarget=this;var protocol=this.getProtocol();for(var i=offset+1;i=0){var m=bx.match(/new Date\(Date.UTC\((\d+),(\d+),(\d+),(\d+),(\d+),(\d+),(\d+)\)\)/);return new Date(Date.UTC(m[1],m[2],m[3],m[4],m[5],m[6],m[7]));};};return bx;});}else {response=response&&response.length>0?eval(u+response+P):null;};}else {response=qx.lang.Json.parse(response);};};id=response[X];if(id!=this.getSequenceNumber()){this.warn(j+id+b+F+this.getSequenceNumber()+a);};var eventType=I;var exTest=response[q];if(exTest!=null){result=null;addToStringToObject(exTest);ex=exTest;eventType=K;}else {result=response[L];if(refreshSession){result=eval(F+result+f);var newSuffix=qx.core.ServerSettings.serverPathSuffix;if(self.__Ar!=newSuffix){self.__As=self.__Ar;self.__Ar=newSuffix;};self.setUrl(self.fixUrl(self.getUrl()));};};handleRequestFinished(eventType,eventTarget);});var replacer=null;if(this._isConvertDates()){replacer=function(bz,bA){bA=this[bz];if(qx.lang.Type.isDate(bA)){var by=bA.getUTCFullYear()+r+bA.getUTCMonth()+r+bA.getUTCDate()+r+bA.getUTCHours()+r+bA.getUTCMinutes()+r+bA.getUTCSeconds()+r+bA.getUTCMilliseconds();return d+by+s;};return bA;};};req.setData(qx.lang.Json.stringify(rpcData,replacer));req.setAsynchronous(callType>0);if(req.getCrossDomain()){req.setRequestHeader(Q,g);}else {req.setRequestHeader(Q,e);};req.setParseJson(false);req.send();if(callType==0){if(ex!=null){var error=new Error(ex.toString());error.rpcdetails=ex;throw error;};return result;}else {return req;};},fixUrl:function(bB){if(this.__As==null||this.__Ar==null||this.__As==C||this.__As==this.__Ar){return bB;};var bC=bB.indexOf(this.__As);if(bC==-1){return bB;};return (bB.substring(0,bC)+this.__Ar+bB.substring(bC+this.__As.length));},callSync:function(bD){return this._callInternal(arguments,0);},callAsync:function(bE,bF){return this._callInternal(arguments,1);},callAsyncListeners:function(bG,bH){return this._callInternal(arguments,2);},refreshSession:function(bJ){if(qx.core.ServerSettings&&qx.core.ServerSettings.serverPathSuffix){var bI=(new Date()).getTime()-qx.core.ServerSettings.lastSessionRefresh;if(bI/1000>(qx.core.ServerSettings.sessionTimeoutInSeconds-30)){this._callInternal([bJ],1,true);}else {bJ(true);};}else {bJ(false);};},_isConvertDates:function(){return !!(qx.io.remote.Rpc.CONVERT_DATES);},_isResponseJson:function(){return !!(qx.io.remote.Rpc.RESPONSE_JSON);},abort:function(bK){bK.abort();}}});})();(function(){var a="qx.io.remote.RpcError";qx.Class.define(a,{statics:{qx1:{origin:{Server:1,Application:2,Transport:3,Client:4},error:{server:{ScriptError:-1,Unknown:0,IllegalService:1,ServiceNotFound:2,ClassNotFound:3,MethodNotFound:4,ParameterMismatch:5,PermissionDenied:6}}},v2:{error:{ParseError:-32700,InvalidRequest:-32600,MethodNotFound:-32601,InvalidParams:-32602,InternalError:-32603,PermissionDenied:-32000}}}});})();(function(){var a="qx.io.request.authentication.IAuthentication";qx.Interface.define(a,{members:{getAuthHeaders:function(){}}});})();(function(){var a="qx.io.request.authentication.Basic",b=':',c="Authorization",d="Basic ";qx.Class.define(a,{extend:qx.core.Object,implement:qx.io.request.authentication.IAuthentication,construct:function(e,f){this.__At=qx.util.Base64.encode(e+b+f);},members:{__At:null,getAuthHeaders:function(){return [{key:c,value:d+this.__At}];}},destruct:function(){this.__At=null;}});})();(function(){var a='9',b='B',c='W',d='x',e='U',f='Q',g='z',h='L',j='',m='H',n='N',o='S',p='d',q='J',r='f',s='7',t='X',u='5',v='c',w='t',x='1',y='Z',z='o',A='p',B='m',C='v',D='i',E='r',F='3',G='D',H='=',I='F',J='k',K='y',L='8',M='C',N='T',O='utf',P='O',Q='P',R='M',S='V',T='I',U='R',V='g',W='e',X='a',Y='K',bB='Y',bC='b',bD='w',bx='u',by="qx.util.Base64",bz='4',bA='q',bH='/',bI='0',bJ='6',bP='l',bE='2',bF='G',bG='h',bv='E',bL='n',bw='s',bM='A',bN='j',bO="undefined",bK='+';qx.Class.define(by,{statics:{__Au:[bM,b,M,G,bv,I,bF,m,T,q,Y,h,R,n,P,Q,f,U,o,N,e,S,c,t,bB,y,X,bC,v,p,W,r,V,bG,D,bN,J,bP,B,bL,z,A,bA,E,bw,w,bx,C,bD,d,K,g,bI,x,bE,F,bz,u,bJ,s,L,a,bK,bH],encode:function(bW,bY){var bV;if(typeof bY==bO){var bS=document.characterSet||document.charset;bV=bS.toLowerCase().indexOf(O)!=-1;if(!bV&&window.btoa instanceof Function){return btoa(bW);};}else {bV=!bY;};var bT=H;var bR=this.__Au;var length=bW.length;var bX=[];var bU=[];var i=0;var bQ=this.__Av;while(i>2]);bU.push(bR[(bX[k]&3)<<4]);bU.push(bT+bT);break;};if(k+2===l){bU.push(bR[bX[k]>>2]);bU.push(bR[(bX[k]&3)<<4|bX[k+1]>>4]);bU.push(bR[(bX[k+1]&15)<<2]);bU.push(bT);break;};bU.push(bR[bX[k]>>2]);bU.push(bR[(bX[k]&3)<<4|bX[k+1]>>4]);bU.push(bR[(bX[k+1]&15)<<2|bX[k+2]>>6]);bU.push(bR[bX[k+2]&63]);};return bU.join(j);},__Av:function(cb,ca,cc){if(cb<128){ca.push(cb);return;};if(cb<256&&cc){ca.push(cb);return;};if(cb<2048){ca.push(192|cb>>6);ca.push(128|cb&63);return;};if(cb<65536){ca.push(224|cb>>12);ca.push(128|(cb>>6)&63);ca.push(128|cb&63);return;}else {ca.push(240|cb>>18);ca.push(128|(cb>>12)&63);ca.push(128|(cb>>6)&63);ca.push(128|cb&63);return;};},__Aw:function(cg,cj){var ch=j;var ci=[];if(cj){ci=cg;}else {for(var i=0;i>7===0){ci.push(ce);};if(ce>>5===6){var cd=cg[ ++i];ci.push(((ce&28)>>2)<<8|((ce&3)<<6)|cd&63);};if(ce>>4===14){var cf=[cg[ ++i],cg[ ++i]];ci.push((ce&15)<<12|((cf[0]&60)>>2)<<8|(cf[0]&3)<<6|(cf[1]&63));};if(ce>>3===30){var cf=[cg[ ++i],cg[ ++i],cg[ ++i]];ci.push((ce&7)<<18|(ce&48)<<16|(cf[0]&15)<<12|((cf[1]&60)>>2)<<8|(cf[1]&3)<<6|(cf[2]&63));};};};for(var i=0,l=ci.length;i>4;ck.push(cw);var cn=ct.charAt(i++ );if(cn!==H){var cq=cm.indexOf(cn);var cv=(cp&15)<<4|(cq&60)>>2;ck.push(cv);};cn=ct.charAt(i++ );if(cn!==H){var cx=cm.indexOf(cn);var cu=(cq&3)<<6|cx;ck.push(cu);};};return this.__Aw(ck,!cl);}}});})();(function(){var a=") already exists",b="Error",c="qx.io.rest.Resource",d="interval",f="qx.event.type.Rest",g="get",h="Method with name of action (",i="Success",j="undefined",k="success",l="error";qx.Class.define(c,{extend:qx.core.Object,construct:function(m){qx.core.Object.call(this);this.__Ax={};this.__Ay={};this.__Az={};this._resource=this._tailorResource(this._getResource());try{if(typeof m!==j){{};this.__AB(m);};}catch(e){this.dispose();throw e;};},events:{"success":f,"actionSuccess":f,"error":f,"actionError":f},statics:{POLL_THROTTLE_LIMIT:100,POLL_THROTTLE_COUNT:30,REQUIRED:true,placeholdersFromUrl:function(n){return qx.bom.rest.Resource.placeholdersFromUrl(n);}},members:{_resource:null,__Ax:null,__Ay:null,__Az:null,_getResource:function(o){return new qx.bom.rest.Resource(o);},_tailorResource:function(p){p.setRequestFactory(this._getRequest);p.setRequestHandler({onsuccess:{callback:function(r,q){return function(){var s=[r.getResponse(),null,false,r,q,r.getPhase()];this.fireEvent(q+i,qx.event.type.Rest,s);this.fireEvent(k,qx.event.type.Rest,s);};},context:this},onfail:{callback:function(u,t){return function(){var v=[u.getResponse(),null,false,u,t,u.getPhase()];this.fireEvent(t+b,qx.event.type.Rest,v);this.fireEvent(l,qx.event.type.Rest,v);};},context:this},onloadend:{callback:function(x,w){return function(){x.dispose();};},context:this}});return p;},configureRequest:function(y){this._resource.configureRequest(y);},_getRequest:function(){return new qx.io.request.Xhr();},map:function(z,B,A,C){this.__AA(z,B,A,C);this._resource.map(z,B,A,C);},__AA:function(E,G,D,F){this.__Az[E]=[G,D,F];if(E==g){this[E]=undefined;};if(typeof this[E]!==j&&this[E]!==null&&this[E].action!==true){throw new Error(h+E+a);};this.__AC(E+i);this.__AC(E+b);this[E]=qx.lang.Function.bind(function(){Array.prototype.unshift.call(arguments,E);return this.invoke.apply(this,arguments);},this);this[E].action=true;},invoke:function(H,I,J){var I=(I==null)?{}:I;this.__Az[H].params=I;return this._resource.invoke(H,I,J);},setBaseUrl:function(K){this._resource.setBaseUrl(K);},abort:function(L){this._resource.abort(L);},refresh:function(M){this._resource.refresh(M);},poll:function(R,N,Q,S){if(this.__Ay[R]){this.__Ay[R].dispose();};if(typeof Q==j){Q=this.__Az[R].params;};if(S){this.invoke(R,Q);};var P=function(){var U=this.getRequestsByAction(R),T=(U)?U[0]:null;if(!S&&!T){this.invoke(R,Q);return;};if(T&&(T.isDone()||T.isDisposed())){this.refresh(R);};};var O=this.__Ay[R]=new qx.event.Timer(N);O.addListener(d,P,this._resource);O.start();return O;},longPoll:function(ba){var W=this,Y,bb=0;function V(){var bc=Y&&((new Date())-Y)W._getThrottleCount()){{};return true;};};if(!bc){bb=0;};return false;};var X=this.__Ax[ba]=this.addListener(ba+i,function bd(){if(W.isDisposed()){return;};if(!V()){Y=new Date();W.refresh(ba);};});this.invoke(ba);return X;},_getRequestConfig:function(be,bf){return this._resource._getRequestConfig(be,bf);},_getThrottleLimit:function(){return qx.io.rest.Resource.POLL_THROTTLE_LIMIT;},_getThrottleCount:function(){return qx.io.rest.Resource.POLL_THROTTLE_COUNT;},__AB:function(bg){Object.keys(bg).forEach(function(bi){var bj=bg[bi],bl=bj.method,bh=bj.url,bk=bj.check;{};this.map(bi,bl,bh,bk);},this);},__AC:function(bm){if(!this.constructor.$$events){this.constructor.$$events={};};if(!this.constructor.$$events[bm]){this.constructor.$$events[bm]=f;};}},destruct:function(){var bn;if(this.__Ay){for(bn in this.__Ay){var bp=this.__Ay[bn];bp.stop();bp.dispose();};};if(this.__Ax){for(bn in this.__Ax){var bo=this.__Ax[bn];this.removeListenerById(bo);};};this._resource.destruct();this._resource=this.__Az=this.__Ay=this.__Ax=null;}});})();(function(){var a="Number",b="qx.io.request.AbstractRequest",c="qx.event.type.Rest",d="String";qx.Class.define(c,{extend:qx.event.type.Data,properties:{request:{check:b},action:{check:d},phase:{check:d},id:{check:a}},members:{init:function(j,e,g,f,h,i){qx.event.type.Data.prototype.init.call(this,j,e,g);this.setRequest(f);this.setAction(h);this.setPhase(i);this.setId(parseInt(f.toHashCode(),10));return this;},clone:function(k){var l=qx.event.type.Data.prototype.clone.call(this,k);l.setAction(this.getAction());l.setPhase(this.getPhase());l.setRequest(this.getRequest());return l;}}});})();(function(){var a="function",b="=?(\\w+)?}",c="' is invalid",d="loadEnd",f="Started",g="Parameter '",h="GET",i="sent",j="Method with name of action (",k="'",l="error",m="Content-Type",n="onreadystatechange",o="get",p="{",q="Sent",r="success",s=") doesn't support other HTTP methods than 'GET'",t=") already exists",u="Error",v="",w="qx.bom.rest.Resource",x="Request (",y="Missing parameter '",z="Success",A="readystatechange",B="started",C="fail",D="undefined",E="No route for action ";qx.Bootstrap.define(w,{extend:qx.event.Emitter,construct:function(F){this.__AD={};this.__Az={};this.__Ay={};this.__Ax={};try{if(typeof F!==D){{};this.__AB(F);};}catch(e){this.dispose();throw e;};},events:{"success":w,"actionSuccess":w,"error":w,"actionError":w,"sent":w,"actionSent":w,"started":w,"actionStarted":w},statics:{POLL_THROTTLE_LIMIT:100,POLL_THROTTLE_COUNT:30,REQUIRED:true,placeholdersFromUrl:function(G){var I=/\{(\w+)(=\w+)?\}/g,J,H=[];while((J=I.exec(G))){H.push(J[1]);};return H;}},members:{__AD:null,__Az:null,__AE:null,__Ay:null,__Ax:null,__AF:null,__AG:null,__AH:null,setRequestFactory:function(K){this.__AH=K;},setRequestHandler:function(L){this.__AG=L;},_getRequestHandler:function(){return (this.__AG===null)?{onsuccess:{callback:function(N,M){return function(){var O={"id":parseInt(N.toHashCode(),10),"response":N.getResponse(),"request":N,"action":M};this.emit(M+z,O);this.emit(r,O);};},context:this},onfail:{callback:function(Q,P){return function(){var R={"id":parseInt(Q.toHashCode(),10),"response":Q.getResponse(),"request":Q,"action":P};this.emit(P+u,R);this.emit(l,R);};},context:this},onloadend:{callback:function(T,S){return function(){window.setTimeout(function(){T.dispose();},0);};},context:this},onreadystatechange:{callback:function(V,U){return function(){if(V.getTransport().readyState===qx.bom.request.Xhr.HEADERS_RECEIVED){var W={"id":parseInt(V.toHashCode(),10),"request":V,"action":U};this.emit(U+q,W);this.emit(i,W);};if(V.getTransport().readyState===qx.bom.request.Xhr.OPENED){var X={"id":parseInt(V.toHashCode(),10),"request":V,"action":U};this.emit(U+f,X);this.emit(B,X);};};},context:this}}:this.__AG;},getRequestsByAction:function(Y){var ba=(this.__AD!==null&&Y in this.__AD);return ba?this.__AD[Y]:null;},configureRequest:function(bb){this.__AF=bb;},_getRequest:function(){return (this.__AH===null)?new qx.bom.request.SimpleXhr():this.__AH();},__AI:function(bc){var bd=this._getRequest();if(!qx.lang.Type.isArray(this.__AD[bc])){this.__AD[bc]=[];};this.__AD[bc].push(bd);return bd;},map:function(bf,bh,be,bg){this.__Az[bf]=[bh,be,bg];this.__AD[bf]=[];if(bf==o){this[bf]=undefined;};if(typeof this[bf]!==D&&this[bf]!==null&&this[bf].action!==true){throw new Error(j+bf+t);};this.__AC(bf+z);this.__AC(bf+u);this[bf]=qx.lang.Function.bind(function(){Array.prototype.unshift.call(arguments,bf);return this.invoke.apply(this,arguments);},this);this[bf].action=true;},invoke:function(bm,bk,bi){var bj=this.__AI(bm),bk=bk==null?{}:bk,bn=this._getRequestConfig(bm,bk);this.__Az[bm].params=bk;this.__AJ(bk,bn.check);this.__zH(bj,bn,bi);if(this.__AF){this.__AF.call(this,bj,bm,bk,bi);};this.__AK(bj,bn,bi);var bl=this._getRequestHandler();bj.addListenerOnce(r,bl.onsuccess.callback(bj,bm),bl.onsuccess.context);bj.addListenerOnce(C,bl.onfail.callback(bj,bm),bl.onfail.context);bj.addListenerOnce(d,bl.onloadend.callback(bj,bm),bl.onloadend.context);if(bl.hasOwnProperty(n)){bj.addListener(A,bl.onreadystatechange.callback(bj,bm),bl.onreadystatechange.context);};bj.send();return parseInt(bj.toHashCode(),10);},setBaseUrl:function(bo){this.__AE=bo;},__AJ:function(bp,bq){if(typeof bq!==D){{};Object.keys(bq).forEach(function(br){{};if(bq[br]===qx.bom.rest.Resource.REQUIRED&&typeof bp[br]===D){throw new Error(y+br+k);};if(!(bq[br]&&typeof bq[br].test==a)){return;};if(!bq[br].test(bp[br])){throw new Error(g+br+c);};});};},__zH:function(bt,bs,bu){bt.setUrl(bs.url);if(!bt.setMethod&&bs.method!==h){throw new Error(x+bt.classname+s);};if(bt.setMethod){bt.setMethod(bs.method);};if(bu){bt.setRequestData(bu);};},__AK:function(bx,bv,bw){if(bw){var by=bx.getRequestHeader(m);if(bx.getMethod&&qx.util.Request.methodAllowsRequestBody(bx.getMethod())){if(/application\/.*\+?json/.test(by)){bw=qx.lang.Json.stringify(bw);bx.setRequestData(bw);};};};},abort:function(bB){if(qx.lang.Type.isNumber(bB)){var bE=bB;var bD=qx.core.ObjectRegistry.getPostId();var bz=qx.core.ObjectRegistry.fromHashCode(bE+bD);if(bz){bz.abort();};}else {var bC=bB;var bA=this.__AD[bC];if(this.__AD[bC]){bA.forEach(function(bF){bF.abort();});};};},refresh:function(bG){this.invoke(bG,this.__Az[bG].params);},poll:function(bH,bJ,bK,bI){if(this.__Ay[bH]){this.stopPollByAction(bH);};if(typeof bK==D){bK=this.__Az[bH].params;};if(bI){this.invoke(bH,bK);};var bL=(function(bM){return function(){var bN=bM.__AD[bH][0];if(!bI&&!bN){bM.invoke(bH,bK);return;};if(bN.isDone()||bN.isDisposed()){bM.refresh(bH);};};})(this);this._startPoll(bH,bL,bJ);},_startPoll:function(bO,bP,bQ){this.__Ay[bO]={"id":window.setInterval(bP,bQ),"interval":bQ,"listener":bP};},stopPollByAction:function(bR){if(bR in this.__Ay){var bS=this.__Ay[bR].id;window.clearInterval(bS);};},restartPollByAction:function(bT){if(bT in this.__Ay){var bU=this.__Ay[bT];this.stopPollByAction(bT);this._startPoll(bT,bU.listener,bU.interval);};},longPoll:function(ca){var bW=this,bY,cb=0;function bV(){var cc=bY&&((new Date())-bY)bW._getThrottleCount()){{};return true;};};if(!cc){cb=0;};return false;};var bX=this.__Ax[ca]=this.addListener(ca+z,function cd(){if(bW.isDisposed()){return;};if(!bV()){bY=new Date();bW.refresh(ca);};});this.invoke(ca);return bX;},_getRequestConfig:function(ci,ch){var cf=this.__Az[ci];var ch=qx.lang.Object.clone(ch);if(!qx.lang.Type.isArray(cf)){throw new Error(E+ci);};var cg=cf[0],ce=this.__AE!==null?this.__AE+cf[1]:cf[1],ck=cf[2],cj=qx.bom.rest.Resource.placeholdersFromUrl(ce);ch=ch||{};cj.forEach(function(cn){var cl=new RegExp(p+cn+b),cm=ce.match(cl)[1];if(typeof ch[cn]===D){if(cm){ch[cn]=cm;}else {ch[cn]=v;};};ce=ce.replace(cl,ch[cn]);});return {method:cg,url:ce,check:ck};},_getThrottleLimit:function(){return qx.bom.rest.Resource.POLL_THROTTLE_LIMIT;},_getThrottleCount:function(){return qx.bom.rest.Resource.POLL_THROTTLE_COUNT;},__AB:function(co){Object.keys(co).forEach(function(cq){var cr=co[cq],ct=cr.method,cp=cr.url,cs=cr.check;{};this.map(cq,ct,cp,cs);},this);},__AC:function(cu){if(!this.constructor.$$events){this.constructor.$$events={};};if(!this.constructor.$$events[cu]){this.constructor.$$events[cu]=w;};},isDisposed:function(){return this.$$disposed||false;},dispose:function(){if(this.$$disposed){return;};this.$$disposed=true;{};this.destruct();{var cw,cx,cv,cy;};},destruct:function(){var cz;for(cz in this.__AD){if(this.__AD[cz]){this.__AD[cz].forEach(function(cB){cB.dispose();});};};if(this.__Ay){for(cz in this.__Ay){this.stopPollByAction(cz);};};if(this.__Ax){for(cz in this.__Ax){var cA=this.__Ax[cz];this.removeListenerById(cA);};};this.__AD=this.__Az=this.__Ay=null;}}});})();(function(){var a="error",b="",c="loadEnd",d="application/x-www-form-urlencoded",f="Cache-Control",g="Content-Type",h="fail",i="GET",j="success",k="undefined",l="POST",m="timeout",n="qx.bom.request.SimpleXhr",o="abort";qx.Bootstrap.define(n,{extend:qx.event.Emitter,construct:function(p,q){if(p!==undefined){this.setUrl(p);};this.useCaching(true);this.setMethod((q!==undefined)?q:i);this._transport=this._registerTransportListener(this._createTransport());qx.core.ObjectRegistry.register(this);this.__yt={};this.__yG=this._createResponseParser();},members:{setRequestHeader:function(r,s){this.__yt[r]=s;return this;},getRequestHeader:function(t){return this.__yt[t];},getResponseHeader:function(u){return this._transport.getResponseHeader(u);},getAllResponseHeaders:function(){return this._transport.getAllResponseHeaders();},setUrl:function(v){if(qx.lang.Type.isString(v)){this.__yM=v;};return this;},getUrl:function(){return this.__yM;},setMethod:function(w){if(qx.util.Request.isMethod(w)){this.__AL=w;};return this;},getMethod:function(){return this.__AL;},setRequestData:function(x){if(qx.lang.Type.isString(x)||qx.lang.Type.isObject(x)){this.__AM=x;};return this;},getRequestData:function(){return this.__AM;},getResponse:function(){if(this.__yA!==null){return this.__yA;}else {return (this._transport.responseXML!==null)?this._transport.responseXML:this._transport.responseText;};return null;},getTransport:function(){return this._transport;},setParser:function(y){return this.__yG.setParser(y);},setTimeout:function(z){if(qx.lang.Type.isNumber(z)){this.__es=z;};return this;},getTimeout:function(){return this.__es;},useCaching:function(A){if(qx.lang.Type.isBoolean(A)){this.__c=A;};return this;},isCaching:function(){return this.__c;},isDone:function(){return (this._transport.readyState===qx.bom.request.Xhr.DONE);},toHashCode:function(){return this.$$hash;},isDisposed:function(){return !!this.__yQ;},send:function(){var G=this.getTimeout(),D=(this.getRequestData()!==null),E=this.__yt.hasOwnProperty(f),B=qx.util.Request.methodAllowsRequestBody(this.getMethod()),H=this.getRequestHeader(g),C=this._serializeData(this.getRequestData(),H);if(this.getMethod()===i&&D){this.setUrl(qx.util.Uri.appendParamsToUrl(this.getUrl(),C));};if(this.isCaching()===false&&!E){this.setUrl(qx.util.Uri.appendParamsToUrl(this.getUrl(),{nocache:new Date().valueOf()}));};if(G){this._transport.timeout=G;};this._transport.open(this.getMethod(),this.getUrl(),true);for(var F in this.__yt){this._transport.setRequestHeader(F,this.__yt[F]);};if(!B){this._transport.send();}else {if(typeof H===k){this._transport.setRequestHeader(g,d);};this._transport.send(C);};},abort:function(){this._transport.abort();return this;},dispose:function(){if(this._transport.dispose()){this.__yG=null;this.__yQ=true;return true;};return false;},_transport:null,_createTransport:function(){return new qx.bom.request.Xhr();},_registerTransportListener:function(I){I.onreadystatechange=qx.lang.Function.bind(this._onReadyStateChange,this);I.onloadend=qx.lang.Function.bind(this._onLoadEnd,this);I.ontimeout=qx.lang.Function.bind(this._onTimeout,this);I.onerror=qx.lang.Function.bind(this._onError,this);I.onabort=qx.lang.Function.bind(this._onAbort,this);return I;},_createResponseParser:function(){return new qx.util.ResponseParser();},_setResponse:function(J){this.__yA=J;},_serializeData:function(N,M){var K=this.getMethod()===l,L=/application\/.*\+?json/.test(M);if(!N){return null;};if(qx.lang.Type.isString(N)){return N;};if(L&&(qx.lang.Type.isObject(N)||qx.lang.Type.isArray(N))){return qx.lang.Json.stringify(N);};if(qx.lang.Type.isObject(N)){return qx.util.Uri.toParameter(N,K);};return null;},__yt:null,__AM:null,__AL:b,__yM:b,__yA:null,__yG:null,__c:null,__es:null,__yQ:null,addListenerOnce:function(name,O,P){this.once(name,O,P);return this;},addListener:function(name,Q,R){this._transport._emitter.on(name,Q,R);return this;},_onReadyStateChange:function(){{};if(this.isDone()){this.__yF();};},__yF:function(){{};var T=this._transport.responseText;var S=this._transport.getResponseHeader(g);if(qx.util.Request.isSuccessful(this._transport.status)){{};this._setResponse(this.__yG.parse(T,S));this.emit(j);}else {try{this._setResponse(this.__yG.parse(T,S));}catch(e){};if(this._transport.status!==0){this.emit(h);};};},_onLoadEnd:function(){this.emit(c);},_onAbort:function(){this.emit(o);},_onTimeout:function(){this.emit(m);this.emit(h);},_onError:function(){this.emit(a);this.emit(h);}}});})();(function(){var a="base.theme.Appearance";qx.Theme.define(a,{extend:qx.theme.simple.Appearance,appearances:{}});})();(function(){var a="base.theme.Color";qx.Theme.define(a,{extend:qx.theme.simple.Color,colors:{}});})();(function(){var a="base.theme.Font";qx.Theme.define(a,{extend:qx.theme.simple.Font,fonts:{}});})();(function(){var a="base.theme.Decoration";qx.Theme.define(a,{extend:qx.theme.simple.Decoration,decorations:{}});})();(function(){var a="base.theme.Theme";qx.Theme.define(a,{meta:{color:base.theme.Color,decoration:base.theme.Decoration,font:base.theme.Font,icon:qx.theme.icon.Oxygen,appearance:base.theme.Appearance}});})();
 
 qx.$$loader.init();
 
diff --git a/src/cats/commands/commander.ts b/src/cats/commands/commander.ts
index 94aebcff..5a225276 100644
--- a/src/cats/commands/commander.ts
+++ b/src/cats/commands/commander.ts
@@ -100,7 +100,7 @@ module Cats.Commands {
 	registerCommand(id:COMMANDNAME, fn:Function)  {
 	    
 	    var name = COMMANDNAME[id];
-	    console.log(name);
+	    /* console.log(name); */
 	    
         this.registry.set(id, {
             name: name,