(function(){ if (!window.qx) window.qx = {}; qx.$$start = new Date(); if (!qx.$$environment) qx.$$environment = {}; var envinfo = {"qx.application":"websynapse.Application","qx.debug":false,"qx.debug.databinding":false,"qx.debug.dispose":false,"qx.debug.io":false,"qx.debug.ui.queue":false,"qx.emulatemouse":true,"qx.optimization.basecalls":true,"qx.optimization.comments":true,"qx.optimization.privates":true,"qx.optimization.strings":true,"qx.optimization.variables":true,"qx.optimization.variants":true,"qx.optimization.whitespace":true,"qx.revision":"","qx.theme":"websynapse.theme.Theme","qx.version":"4.1","widgetbrowser.themes":"qx.theme.Indigo qx.theme.Modern qx.theme.Simple qx.theme.Classic"}; for (var k in envinfo) qx.$$environment[k] = envinfo[k]; if (!qx.$$libraries) qx.$$libraries = {}; var libinfo = {"__out__":{"sourceUri":"script"},"qx":{"resourceUri":"resource","sourceUri":"script","sourceViewUri":"https://github.com/qooxdoo/qooxdoo/blob/%{qxGitBranch}/framework/source/class/%{classFilePath}#L%{lineNumber}"},"websynapse":{"resourceUri":"resource","sourceUri":"script"}}; for (var k in libinfo) qx.$$libraries[k] = libinfo[k]; qx.$$resources = {}; qx.$$translations = {"C":null,"es":null,"es_ES":null}; qx.$$locales = {"C":null,"es":null,"es_ES":null}; qx.$$packageData = {}; qx.$$g = {} qx.$$loader = { parts : {"boot":[0]}, packages : {"0":{"uris":["__out__:websynapse.74494d1529fd.js"]}}, urisBefore : [], cssBefore : [], boot : "boot", closureParts : {}, bootIsInline : true, addNoCacheParam : false, decodeUris : function(compressedUris) { var libs = qx.$$libraries; var uris = []; for (var i=0; i0) { for (var i=0, m=l.cssBefore.length; i0){ loadScriptList(l.urisBefore, function(){ l.initUris(); }); } else { l.initUris(); } } // Load qooxdoo boot stuff qx.$$loader.initUris = function(){ var l=qx.$$loader; var bootPackageHash=l.parts[l.boot][0]; if (l.bootIsInline){ l.importPackageData(qx.$$packageData[bootPackageHash]); l.signalStartup(); } else { loadScriptList(l.decodeUris(l.packages[l.parts[l.boot][0]].uris), function(){ // Opera needs this extra time to parse the scripts window.setTimeout(function(){ l.importPackageData(qx.$$packageData[bootPackageHash] || {}); l.signalStartup(); }, 0); }); } } })(); qx.$$packageData['0']={"locales":{"C":{"alternateQuotationEnd":"’","alternateQuotationStart":"‘","cldr_am":"AM","cldr_date_format_full":"EEEE, MMMM d, y","cldr_date_format_long":"MMMM d, y","cldr_date_format_medium":"MMM d, y","cldr_date_format_short":"M/d/yy","cldr_date_time_format_EHm":"E HH:mm","cldr_date_time_format_EHms":"E HH:mm:ss","cldr_date_time_format_Ed":"d E","cldr_date_time_format_Ehm":"E h:mm a","cldr_date_time_format_Ehms":"E h:mm:ss a","cldr_date_time_format_Gy":"y G","cldr_date_time_format_GyMMM":"MMM y G","cldr_date_time_format_GyMMMEd":"E, MMM d, y G","cldr_date_time_format_GyMMMd":"MMM d, y G","cldr_date_time_format_H":"HH","cldr_date_time_format_Hm":"HH:mm","cldr_date_time_format_Hms":"HH:mm:ss","cldr_date_time_format_M":"L","cldr_date_time_format_MEd":"E, M/d","cldr_date_time_format_MMM":"LLL","cldr_date_time_format_MMMEd":"E, MMM d","cldr_date_time_format_MMMd":"MMM d","cldr_date_time_format_Md":"M/d","cldr_date_time_format_d":"d","cldr_date_time_format_h":"h a","cldr_date_time_format_hm":"h:mm a","cldr_date_time_format_hms":"h:mm:ss a","cldr_date_time_format_ms":"mm:ss","cldr_date_time_format_y":"y","cldr_date_time_format_yM":"M/y","cldr_date_time_format_yMEd":"E, M/d/y","cldr_date_time_format_yMMM":"MMM y","cldr_date_time_format_yMMMEd":"E, MMM d, y","cldr_date_time_format_yMMMd":"MMM d, y","cldr_date_time_format_yMd":"M/d/y","cldr_date_time_format_yQQQ":"QQQ y","cldr_date_time_format_yQQQQ":"QQQQ y","cldr_day_format_abbreviated_fri":"Fri","cldr_day_format_abbreviated_mon":"Mon","cldr_day_format_abbreviated_sat":"Sat","cldr_day_format_abbreviated_sun":"Sun","cldr_day_format_abbreviated_thu":"Thu","cldr_day_format_abbreviated_tue":"Tue","cldr_day_format_abbreviated_wed":"Wed","cldr_day_format_short_fri":"Fr","cldr_day_format_short_mon":"Mo","cldr_day_format_short_sat":"Sa","cldr_day_format_short_sun":"Su","cldr_day_format_short_thu":"Th","cldr_day_format_short_tue":"Tu","cldr_day_format_short_wed":"We","cldr_day_format_wide_fri":"Friday","cldr_day_format_wide_mon":"Monday","cldr_day_format_wide_sat":"Saturday","cldr_day_format_wide_sun":"Sunday","cldr_day_format_wide_thu":"Thursday","cldr_day_format_wide_tue":"Tuesday","cldr_day_format_wide_wed":"Wednesday","cldr_day_stand-alone_narrow_fri":"F","cldr_day_stand-alone_narrow_mon":"M","cldr_day_stand-alone_narrow_sat":"S","cldr_day_stand-alone_narrow_sun":"S","cldr_day_stand-alone_narrow_thu":"T","cldr_day_stand-alone_narrow_tue":"T","cldr_day_stand-alone_narrow_wed":"W","cldr_month_format_abbreviated_1":"Jan","cldr_month_format_abbreviated_10":"Oct","cldr_month_format_abbreviated_11":"Nov","cldr_month_format_abbreviated_12":"Dec","cldr_month_format_abbreviated_2":"Feb","cldr_month_format_abbreviated_3":"Mar","cldr_month_format_abbreviated_4":"Apr","cldr_month_format_abbreviated_5":"May","cldr_month_format_abbreviated_6":"Jun","cldr_month_format_abbreviated_7":"Jul","cldr_month_format_abbreviated_8":"Aug","cldr_month_format_abbreviated_9":"Sep","cldr_month_format_wide_1":"January","cldr_month_format_wide_10":"October","cldr_month_format_wide_11":"November","cldr_month_format_wide_12":"December","cldr_month_format_wide_2":"February","cldr_month_format_wide_3":"March","cldr_month_format_wide_4":"April","cldr_month_format_wide_5":"May","cldr_month_format_wide_6":"June","cldr_month_format_wide_7":"July","cldr_month_format_wide_8":"August","cldr_month_format_wide_9":"September","cldr_month_stand-alone_narrow_1":"J","cldr_month_stand-alone_narrow_10":"O","cldr_month_stand-alone_narrow_11":"N","cldr_month_stand-alone_narrow_12":"D","cldr_month_stand-alone_narrow_2":"F","cldr_month_stand-alone_narrow_3":"M","cldr_month_stand-alone_narrow_4":"A","cldr_month_stand-alone_narrow_5":"M","cldr_month_stand-alone_narrow_6":"J","cldr_month_stand-alone_narrow_7":"J","cldr_month_stand-alone_narrow_8":"A","cldr_month_stand-alone_narrow_9":"S","cldr_number_decimal_separator":".","cldr_number_group_separator":",","cldr_number_percent_format":"#,##0%","cldr_pm":"PM","cldr_time_format_full":"h:mm:ss a zzzz","cldr_time_format_long":"h:mm:ss a z","cldr_time_format_medium":"h:mm:ss a","cldr_time_format_short":"h:mm a","quotationEnd":"”","quotationStart":"“"},"es":{"alternateQuotationEnd":"”","alternateQuotationStart":"“","cldr_am":"a. m.","cldr_date_format_full":"EEEE, d 'de' MMMM 'de' y","cldr_date_format_long":"d 'de' MMMM 'de' y","cldr_date_format_medium":"d/M/y","cldr_date_format_short":"d/M/yy","cldr_date_time_format_EHm":"E, H:mm","cldr_date_time_format_EHms":"E, H:mm:ss","cldr_date_time_format_Ed":"E d","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 'de' y G","cldr_date_time_format_GyMMMEd":"E, d 'de' MMMM 'de' y G","cldr_date_time_format_GyMMMd":"d MMM 'de' y G","cldr_date_time_format_H":"H","cldr_date_time_format_Hm":"H:mm","cldr_date_time_format_Hms":"H:mm:ss","cldr_date_time_format_M":"L","cldr_date_time_format_MEd":"E, d/M","cldr_date_time_format_MMM":"LLL","cldr_date_time_format_MMMEd":"E d 'de' MMM","cldr_date_time_format_MMMMd":"d 'de' MMMM","cldr_date_time_format_MMMd":"d 'de' MMM","cldr_date_time_format_MMMdd":"dd-MMM","cldr_date_time_format_MMd":"d/M","cldr_date_time_format_MMdd":"d/M","cldr_date_time_format_Md":"d/M","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":"EEE, d/M/y","cldr_date_time_format_yMM":"M/y","cldr_date_time_format_yMMM":"MMM 'de' y","cldr_date_time_format_yMMMEd":"EEE, d 'de' MMMM 'de' y","cldr_date_time_format_yMMMM":"MMMM 'de' y","cldr_date_time_format_yMMMd":"d 'de' MMM 'de' y","cldr_date_time_format_yMd":"d/M/y","cldr_date_time_format_yQQQ":"QQQ y","cldr_date_time_format_yQQQQ":"QQQQ 'de' y","cldr_day_format_abbreviated_fri":"vie.","cldr_day_format_abbreviated_mon":"lun.","cldr_day_format_abbreviated_sat":"sáb.","cldr_day_format_abbreviated_sun":"dom.","cldr_day_format_abbreviated_thu":"jue.","cldr_day_format_abbreviated_tue":"mar.","cldr_day_format_abbreviated_wed":"mié.","cldr_day_format_narrow_fri":"V","cldr_day_format_narrow_mon":"L","cldr_day_format_narrow_sat":"S","cldr_day_format_narrow_sun":"D","cldr_day_format_narrow_thu":"J","cldr_day_format_narrow_tue":"M","cldr_day_format_narrow_wed":"X","cldr_day_format_short_fri":"VI","cldr_day_format_short_mon":"LU","cldr_day_format_short_sat":"SA","cldr_day_format_short_sun":"DO","cldr_day_format_short_thu":"JU","cldr_day_format_short_tue":"MA","cldr_day_format_short_wed":"MI","cldr_day_format_wide_fri":"viernes","cldr_day_format_wide_mon":"lunes","cldr_day_format_wide_sat":"sábado","cldr_day_format_wide_sun":"domingo","cldr_day_format_wide_thu":"jueves","cldr_day_format_wide_tue":"martes","cldr_day_format_wide_wed":"miércoles","cldr_day_stand-alone_abbreviated_fri":"Vie.","cldr_day_stand-alone_abbreviated_mon":"Lun.","cldr_day_stand-alone_abbreviated_sat":"Sáb.","cldr_day_stand-alone_abbreviated_sun":"Dom.","cldr_day_stand-alone_abbreviated_thu":"Jue.","cldr_day_stand-alone_abbreviated_tue":"Mar.","cldr_day_stand-alone_abbreviated_wed":"Mié.","cldr_day_stand-alone_narrow_fri":"V","cldr_day_stand-alone_narrow_mon":"L","cldr_day_stand-alone_narrow_sat":"S","cldr_day_stand-alone_narrow_sun":"D","cldr_day_stand-alone_narrow_thu":"J","cldr_day_stand-alone_narrow_tue":"M","cldr_day_stand-alone_narrow_wed":"X","cldr_day_stand-alone_short_fri":"VI","cldr_day_stand-alone_short_mon":"LU","cldr_day_stand-alone_short_sat":"SA","cldr_day_stand-alone_short_sun":"DO","cldr_day_stand-alone_short_thu":"JU","cldr_day_stand-alone_short_tue":"MA","cldr_day_stand-alone_short_wed":"MI","cldr_day_stand-alone_wide_fri":"Viernes","cldr_day_stand-alone_wide_mon":"Lunes","cldr_day_stand-alone_wide_sat":"Sábado","cldr_day_stand-alone_wide_sun":"Domingo","cldr_day_stand-alone_wide_thu":"Jueves","cldr_day_stand-alone_wide_tue":"Martes","cldr_day_stand-alone_wide_wed":"Miércoles","cldr_month_format_abbreviated_1":"ene.","cldr_month_format_abbreviated_10":"oct.","cldr_month_format_abbreviated_11":"nov.","cldr_month_format_abbreviated_12":"dic.","cldr_month_format_abbreviated_2":"feb.","cldr_month_format_abbreviated_3":"mar.","cldr_month_format_abbreviated_4":"abr.","cldr_month_format_abbreviated_5":"may.","cldr_month_format_abbreviated_6":"jun.","cldr_month_format_abbreviated_7":"jul.","cldr_month_format_abbreviated_8":"ago.","cldr_month_format_abbreviated_9":"sept.","cldr_month_format_narrow_1":"E","cldr_month_format_narrow_10":"O","cldr_month_format_narrow_11":"N","cldr_month_format_narrow_12":"D","cldr_month_format_narrow_2":"F","cldr_month_format_narrow_3":"M","cldr_month_format_narrow_4":"A","cldr_month_format_narrow_5":"M","cldr_month_format_narrow_6":"J","cldr_month_format_narrow_7":"J","cldr_month_format_narrow_8":"A","cldr_month_format_narrow_9":"S","cldr_month_format_wide_1":"enero","cldr_month_format_wide_10":"octubre","cldr_month_format_wide_11":"noviembre","cldr_month_format_wide_12":"diciembre","cldr_month_format_wide_2":"febrero","cldr_month_format_wide_3":"marzo","cldr_month_format_wide_4":"abril","cldr_month_format_wide_5":"mayo","cldr_month_format_wide_6":"junio","cldr_month_format_wide_7":"julio","cldr_month_format_wide_8":"agosto","cldr_month_format_wide_9":"septiembre","cldr_month_stand-alone_abbreviated_1":"Ene.","cldr_month_stand-alone_abbreviated_10":"Oct.","cldr_month_stand-alone_abbreviated_11":"Nov.","cldr_month_stand-alone_abbreviated_12":"Dic.","cldr_month_stand-alone_abbreviated_2":"Feb.","cldr_month_stand-alone_abbreviated_3":"Mar.","cldr_month_stand-alone_abbreviated_4":"Abr.","cldr_month_stand-alone_abbreviated_5":"May.","cldr_month_stand-alone_abbreviated_6":"Jun.","cldr_month_stand-alone_abbreviated_7":"Jul.","cldr_month_stand-alone_abbreviated_8":"Ago.","cldr_month_stand-alone_abbreviated_9":"Sept.","cldr_month_stand-alone_narrow_1":"E","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_month_stand-alone_wide_1":"Enero","cldr_month_stand-alone_wide_10":"Octubre","cldr_month_stand-alone_wide_11":"Noviembre","cldr_month_stand-alone_wide_12":"Diciembre","cldr_month_stand-alone_wide_2":"Febrero","cldr_month_stand-alone_wide_3":"Marzo","cldr_month_stand-alone_wide_4":"Abril","cldr_month_stand-alone_wide_5":"Mayo","cldr_month_stand-alone_wide_6":"Junio","cldr_month_stand-alone_wide_7":"Julio","cldr_month_stand-alone_wide_8":"Agosto","cldr_month_stand-alone_wide_9":"Septiembre","cldr_number_decimal_separator":",","cldr_number_group_separator":".","cldr_number_percent_format":"#,##0%","cldr_pm":"p. m.","cldr_time_format_full":"H:mm:ss (zzzz)","cldr_time_format_long":"H:mm:ss z","cldr_time_format_medium":"H:mm:ss","cldr_time_format_short":"H:mm","quotationEnd":"»","quotationStart":"«"},"es_ES":{}},"resources":{"qx/decoration/Modern/arrows-combined.png":[87,8,"png","qx"],"qx/decoration/Modern/arrows/down-invert.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-74,0],"qx/decoration/Modern/arrows/down-small.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-49,0],"qx/decoration/Modern/arrows/down.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-20,0],"qx/decoration/Modern/arrows/forward.png":[10,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-59,0],"qx/decoration/Modern/arrows/left.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-44,0],"qx/decoration/Modern/arrows/rewind.png":[10,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-10,0],"qx/decoration/Modern/arrows/right-invert.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-5,0],"qx/decoration/Modern/arrows/right.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-54,0],"qx/decoration/Modern/arrows/up-invert.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-28,0],"qx/decoration/Modern/arrows/up-small.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-82,0],"qx/decoration/Modern/arrows/up.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-36,0],"qx/decoration/Modern/colorselector-combined.gif":[46,11,"gif","qx"],"qx/decoration/Modern/colorselector/brightness-field.png":[19,256,"png","qx"],"qx/decoration/Modern/colorselector/brightness-handle.gif":[35,11,"gif","qx","qx/decoration/Modern/colorselector-combined.gif",0,0],"qx/decoration/Modern/colorselector/huesaturation-field.jpg":[256,256,"jpeg","qx"],"qx/decoration/Modern/colorselector/huesaturation-handle.gif":[11,11,"gif","qx","qx/decoration/Modern/colorselector-combined.gif",-35,0],"qx/decoration/Modern/cursors-combined.gif":[71,20,"gif","qx"],"qx/decoration/Modern/cursors/alias.gif":[19,15,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-52,0],"qx/decoration/Modern/cursors/copy.gif":[19,15,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-33,0],"qx/decoration/Modern/cursors/move.gif":[13,9,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-20,0],"qx/decoration/Modern/cursors/nodrop.gif":[20,20,"gif","qx","qx/decoration/Modern/cursors-combined.gif",0,0],"qx/decoration/Modern/form/checked.png":[6,6,"png","qx"],"qx/decoration/Modern/form/tooltip-error-arrow-right.png":[11,14,"png","qx"],"qx/decoration/Modern/form/tooltip-error-arrow.png":[11,14,"png","qx"],"qx/decoration/Modern/form/undetermined.png":[6,2,"png","qx"],"qx/decoration/Modern/menu-checkradio-combined.gif":[64,7,"gif","qx"],"qx/decoration/Modern/menu/checkbox-invert.gif":[16,7,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-16,0],"qx/decoration/Modern/menu/checkbox.gif":[16,7,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-48,0],"qx/decoration/Modern/menu/radiobutton-invert.gif":[16,5,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-32,0],"qx/decoration/Modern/menu/radiobutton.gif":[16,5,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",0,0],"qx/decoration/Modern/scrollbar-combined.png":[54,12,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-down.png":[6,4,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-28,0],"qx/decoration/Modern/scrollbar/scrollbar-left.png":[4,6,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-50,0],"qx/decoration/Modern/scrollbar/scrollbar-right.png":[4,6,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-46,0],"qx/decoration/Modern/scrollbar/scrollbar-up.png":[6,4,"png","qx","qx/decoration/Modern/scrollbar-combined.png",0,0],"qx/decoration/Modern/splitpane-knobs-combined.png":[8,9,"png","qx"],"qx/decoration/Modern/splitpane/knob-horizontal.png":[1,8,"png","qx","qx/decoration/Modern/splitpane-knobs-combined.png",0,-1],"qx/decoration/Modern/splitpane/knob-vertical.png":[8,1,"png","qx","qx/decoration/Modern/splitpane-knobs-combined.png",0,0],"qx/decoration/Modern/table-combined.png":[94,18,"png","qx"],"qx/decoration/Modern/table/ascending.png":[8,5,"png","qx","qx/decoration/Modern/table-combined.png",0,0],"qx/decoration/Modern/table/boolean-false.png":[14,14,"png","qx","qx/decoration/Modern/table-combined.png",-80,0],"qx/decoration/Modern/table/boolean-true.png":[14,14,"png","qx","qx/decoration/Modern/table-combined.png",-26,0],"qx/decoration/Modern/table/descending.png":[8,5,"png","qx","qx/decoration/Modern/table-combined.png",-18,0],"qx/decoration/Modern/table/select-column-order.png":[10,9,"png","qx","qx/decoration/Modern/table-combined.png",-8,0],"qx/decoration/Modern/toolbar/toolbar-handle-knob.gif":[1,8,"gif","qx"],"qx/decoration/Modern/toolbar/toolbar-part.gif":[7,1,"gif","qx"],"qx/decoration/Modern/tree-combined.png":[32,8,"png","qx"],"qx/decoration/Modern/tree/closed-selected.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-24,0],"qx/decoration/Modern/tree/closed.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-16,0],"qx/decoration/Modern/tree/open-selected.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-8,0],"qx/decoration/Modern/tree/open.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",0,0],"qx/decoration/Modern/window-captionbar-buttons-combined.png":[108,9,"png","qx"],"qx/decoration/Modern/window/close-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-27,0],"qx/decoration/Modern/window/close-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-9,0],"qx/decoration/Modern/window/close-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-90,0],"qx/decoration/Modern/window/maximize-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-18,0],"qx/decoration/Modern/window/maximize-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-81,0],"qx/decoration/Modern/window/maximize-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-54,0],"qx/decoration/Modern/window/minimize-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-63,0],"qx/decoration/Modern/window/minimize-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-72,0],"qx/decoration/Modern/window/minimize-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-36,0],"qx/decoration/Modern/window/restore-active-hovered.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",0,0],"qx/decoration/Modern/window/restore-active.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-99,0],"qx/decoration/Modern/window/restore-inactive.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-45,0],"qx/icon/Tango/16/actions/dialog-cancel.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/dialog-ok.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/view-refresh.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/window-close.png":[16,16,"png","qx"],"qx/icon/Tango/16/apps/office-calendar.png":[16,16,"png","qx"],"qx/icon/Tango/16/apps/utilities-color-chooser.png":[16,16,"png","qx"],"qx/icon/Tango/16/mimetypes/office-document.png":[16,16,"png","qx"],"qx/icon/Tango/16/places/folder-open.png":[16,16,"png","qx"],"qx/icon/Tango/16/places/folder.png":[16,16,"png","qx"],"qx/icon/Tango/22/mimetypes/office-document.png":[22,22,"png","qx"],"qx/icon/Tango/22/places/folder-open.png":[22,22,"png","qx"],"qx/icon/Tango/22/places/folder.png":[22,22,"png","qx"],"qx/icon/Tango/32/mimetypes/office-document.png":[32,32,"png","qx"],"qx/icon/Tango/32/places/folder-open.png":[32,32,"png","qx"],"qx/icon/Tango/32/places/folder.png":[32,32,"png","qx"],"qx/static/blank.gif":[1,1,"gif","qx"],"qx/static/blank.png":[1,1,"png","qx"],"websynapse/Crystal-Inventory-Summary.pdf":"websynapse","websynapse/Crystal-Item-Master.pdf":"websynapse","websynapse/Crystal-Revenue-Reporting-Codes.pdf":"websynapse","websynapse/Crystal-Shipping-Detail.pdf":"websynapse","websynapse/Pencil-icon.png":[24,24,"png","websynapse"],"websynapse/customer-home-image.jpg":[1280,390,"jpeg","websynapse"],"websynapse/customer-login-image.jpg":[1600,1014,"jpeg","websynapse"],"websynapse/dialog-apply.png":[22,22,"png","websynapse"],"websynapse/dialog-cancel.png":[22,22,"png","websynapse"],"websynapse/edit-delete.png":[22,22,"png","websynapse"],"websynapse/edit-find-16.png":[16,16,"png","websynapse"],"websynapse/edit-find.png":[22,22,"png","websynapse"],"websynapse/edit-undo.png":[22,22,"png","websynapse"],"websynapse/eraser-icon.png":[16,16,"png","websynapse"],"websynapse/excel-icon.png":[24,24,"png","websynapse"],"websynapse/excel24.png":[24,24,"png","websynapse"],"websynapse/excel36.png":[64,64,"png","websynapse"],"websynapse/go-home.png":[22,22,"png","websynapse"],"websynapse/go-next.png":[22,22,"png","websynapse"],"websynapse/go-previous.png":[22,22,"png","websynapse"],"websynapse/list-add-16.png":[16,16,"png","websynapse"],"websynapse/list-add.png":[22,22,"png","websynapse"],"websynapse/list-remove-16.png":[16,16,"png","websynapse"],"websynapse/list-remove.png":[22,22,"png","websynapse"],"websynapse/loginbg.jpg":[1600,1014,"jpeg","websynapse"],"websynapse/logo.gif":[91,28,"gif","websynapse"],"websynapse/logo.jpg":[91,28,"jpeg","websynapse"],"websynapse/logo_main2.jpg":[327,73,"jpeg","websynapse"],"websynapse/pdf-icon.png":[24,24,"png","websynapse"],"websynapse/pdf24.png":[24,24,"png","websynapse"],"websynapse/pdf36.png":[64,64,"png","websynapse"],"websynapse/spinner1.gif":[214,206,"gif","websynapse"],"websynapse/spinner128.gif":[128,128,"gif","websynapse"],"websynapse/system-search.png":[22,22,"png","websynapse"],"websynapse/waitIcon.gif":[60,60,"gif","websynapse"]},"translations":{"C":{},"es":{"%1 of %2 rows":"%1 de %2 filas","%1 rows":"%1 filas","Cancel":"Cancelar","Last month":"Último mes","Last year":"Último año","Next month":"Mes siguiente","Next year":"Año siguiente","Reset column widths":"Reestablecer anchos de columnas","This field is required":"Este cuadro es obligatorio","key_full_Alt":"Alt","key_full_Apps":"Aplicaciones","key_full_Backspace":"Retroceso","key_full_CapsLock":"Bloqueo Mayúsculas","key_full_Control":"Control","key_full_Delete":"Suprimir","key_full_Down":"Flecha abajo","key_full_End":"Fin","key_full_Enter":"Intro","key_full_Escape":"Escape","key_full_Home":"Inicio","key_full_Insert":"Insertar","key_full_Left":"Flecha izquierda","key_full_Meta":"Meta","key_full_NumLock":"Bloqueo Numérico","key_full_PageDown":"Avanzar Página","key_full_PageUp":"Retroceder Página","key_full_Pause":"Pausa","key_full_PrintScreen":"Imprimir Pantalla","key_full_Right":"Flecha derecha","key_full_Scroll":"Bloq. Despl.","key_full_Shift":"Mayúscula","key_full_Space":"Espacio","key_full_Tab":"Tabulador","key_full_Up":"Flecha arriba","key_full_Win":"Windows","key_short_Alt":"Alt","key_short_Apps":"Aplic","key_short_Backspace":"Retroceso","key_short_CapsLock":"BloqMayús","key_short_Control":"Ctrl","key_short_Delete":"Supr","key_short_Down":"Abajo","key_short_End":"Fin","key_short_Enter":"Intro","key_short_Escape":"Esc","key_short_Home":"Inicio","key_short_Insert":"Insert","key_short_Left":"Izquierda","key_short_Meta":"Meta","key_short_NumLock":"BloqNum","key_short_PageDown":"AvPág","key_short_PageUp":"RePág","key_short_Pause":"Pausa","key_short_PrintScreen":"ImprPant","key_short_Right":"Derecha","key_short_Scroll":"BloqDespl","key_short_Shift":"Mayús","key_short_Space":"Espacio","key_short_Tab":"Tab","key_short_Up":"Arriba","key_short_Win":"Win","one of one row":"una de una fila","one row":"una fila"}}}; (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 a="qx.Mixin",b=".prototype",c="]",d='Conflict between mixin "',e="constructor",f="Array",g='"!',h='" and "',j="destruct",k='" in property "',m="Mixin",n='" in member "',o="[Mixin ";qx.Bootstrap.define(a,{statics:{define:function(name,q){if(q){if(q.include&&!(qx.Bootstrap.getClass(q.include)===f)){q.include=[q.include];};{};var r=q.statics?q.statics:{};qx.Bootstrap.setDisplayNames(r,name);for(var p in r){if(r[p] instanceof Function){r[p].$$mixin=r;};};if(q.construct){r.$$constructor=q.construct;qx.Bootstrap.setDisplayName(q.construct,name,e);};if(q.include){r.$$includes=q.include;};if(q.properties){r.$$properties=q.properties;};if(q.members){r.$$members=q.members;qx.Bootstrap.setDisplayNames(q.members,name+b);};for(var p in r.$$members){if(r.$$members[p] instanceof Function){r.$$members[p].$$mixin=r;};};if(q.events){r.$$events=q.events;};if(q.destruct){r.$$destructor=q.destruct;qx.Bootstrap.setDisplayName(q.destruct,name,j);};}else {var r={};};r.$$type=m;r.name=name;r.toString=this.genericToString;r.basename=qx.Bootstrap.createNamespace(name,r);this.$$registry[name]=r;return r;},checkCompatibility:function(t){var u=this.flatten(t);var v=u.length;if(v<2){return true;};var w={};var x={};var z={};var y;for(var i=0;i=1;i-- ){var I=J[i];var parent=J[i-1];if(qx.Bootstrap.isFunction(I)||qx.Bootstrap.objectGetLength(I)===0){delete parent[K[i-1]];}else {break;};};},isDefined:qx.util.OOUtil.classIsDefined,getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry);},getByName:qx.Bootstrap.getByName,include:function(M,L){{};qx.Class.__W(M,L,false);},patch:function(O,N){{};qx.Class.__W(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(!bk){this.__bi(bq.targetObject,bq.targetPropertyChain,bq.options.converter());}else {this.__bh(bq.targetObject,bq.targetPropertyChain);};}else {this.__bh(bq.targetObject,bq.targetPropertyChain);};break;};if(j==bq.propertyNames.length-1){if(qx.Class.implementsInterface(bo,qx.data.IListData)){var bs=bq.arrayIndexValues[j]===N?bo.length-1:bq.arrayIndexValues[j];var bl=bo.getItem(bs);this.__bm(bl,bq.targetObject,bq.targetPropertyChain,bq.options,bq.sources[bq.index]);bq.listenerIds[j]=this.__bo(bo,s,bq.targetObject,bq.targetPropertyChain,bq.options,bq.arrayIndexValues[j]);}else {if(bq.propertyNames[j]!=null&&bo[u+qx.lang.String.firstUp(bq.propertyNames[j])]!=null){var bl=bo[u+qx.lang.String.firstUp(bq.propertyNames[j])]();this.__bm(bl,bq.targetObject,bq.targetPropertyChain,bq.options,bq.sources[bq.index]);};var bm=this.__bg(bo,bq.propertyNames[j]);bq.listenerIds[j]=this.__bo(bo,bm,bq.targetObject,bq.targetPropertyChain,bq.options);};}else {if(bq.listeners[j]==null){var bn=qx.lang.Function.bind(this.__be,this,bq);bq.listeners.push(bn);};if(qx.Class.implementsInterface(bo,qx.data.IListData)){var bm=s;}else {var bm=this.__bg(bo,bq.propertyNames[j]);};bq.listenerIds[j]=bo.addListener(bm,bq.listeners[j]);};};},__bf:function(bu,bC,bG,by,bA){var bx=by.split(D);var bv=this.__bn(bx);var bF=[];var bE=[];var bz=[];var bD=[];var bw=bG;for(var i=0;icN){return;};}else {var cQ=e.getData();};{};cQ=qx.data.SingleValueBinding.__bq(cQ,cM,cK,cI,cE);{};try{if(cQ!==undefined){qx.data.SingleValueBinding.__bi(cM,cK,cQ);}else {qx.data.SingleValueBinding.__bh(cM,cK);};if(cI&&cI.onUpdate){cI.onUpdate(cE,cM,cQ);};}catch(cR){if(!(cR instanceof qx.core.ValidationError)){throw cR;};if(cI&&cI.onSetFail){cI.onSetFail(cR);}else {qx.log.Logger.warn(r+cQ+H+cM+a+cR);};};};if(!cG){cG=z;};cJ=qx.lang.Function.bind(cJ,cE,cG);var cL=cE.addListener(cH,cJ);return cL;},__bp:function(cX,cS,cV,cY,cW){var cT;cT=cS.toHashCode();if(this.__bc[cT]===undefined){this.__bc[cT]=[];};var cU=[cX,cS,cV,cY,cW];this.__bc[cT].push(cU);cT=cY.toHashCode();if(this.__bd[cT]===undefined){this.__bd[cT]=[];};this.__bd[cT].push(cU);},__bq:function(dd,dj,dc,df,da){if(df&&df.converter){var dg;if(dj.getModel){dg=dj.getModel();};return df.converter(dd,dg,da,dj);}else {var de=this.__bk(dc);var db=this.__bl(dj,de);var dk=dc.substring(dc.lastIndexOf(D)+1,dc.length);if(db==null){return dd;};var dh=qx.Class.getPropertyDefinition(db.constructor,dk);var di=dh==null?z:dh.check;return this.__bs(dd,di);};},__br:function(dl,dn){var dm=qx.Class.getPropertyDefinition(dl.constructor,dn);if(dm==null){return null;};return dm.event;},__bs:function(dr,dq){var dp=qx.lang.Type.getClass(dr);if((dp==J||dp==x)&&(dq==l||dq==E)){dr=parseInt(dr,10);};if((dp==b||dp==J||dp==L)&&dq==x){dr=dr+z;};if((dp==J||dp==x)&&(dq==J||dq==A)){dr=parseFloat(dr);};return dr;},removeBindingFromObject:function(ds,dw){if(dw.type==f){for(var i=0;i=0;i-- ){this.removeBindingFromObject(dy,dx[i][0]);};};},removeRelatedBindings:function(dA,dB){{};var dD=this.getAllBindingsForObject(dA);if(dD!=undefined){for(var i=dD.length-1;i>=0;i-- ){var dC=dD[i][1];var dz=dD[i][3];if(dC===dB||dz===dB){this.removeBindingFromObject(dA,dD[i][0]);};};};},getAllBindingsForObject:function(dF){var dG=dF.toHashCode();if(this.__bc[dG]===undefined){this.__bc[dG]=[];};var dH=this.__bc[dG];var dE=this.__bd[dG]?this.__bd[dG]:[];return qx.lang.Array.unique(dH.concat(dE));},removeAllBindings:function(){for(var dJ in this.__bc){var dI=qx.core.ObjectRegistry.fromHashCode(dJ);if(dI==null){delete this.__bc[dJ];continue;};this.removeAllBindingsForObject(dI);};this.__bc={};},getAllBindings:function(){return this.__bc;},showBindingInLog:function(dL,dN){var dM;for(var i=0;i=0){this.__bv[v]=u;};};return u;},hyphenate:function(z){var y=this.__bv[z];if(!y){y=z.replace(/[A-Z]/g,function(A){return (j+A.charAt(0).toLowerCase());});if(z.indexOf(a)==-1){this.__bv[z]=y;};};return y;},capitalize:function(C){if(this.__bu===null){var B=c;this.__bu=new RegExp(n+this.__bt.replace(/[0-9A-F]{4}/g,function(D){return B+D;})+t+this.__bt.replace(/[0-9A-F]{4}/g,function(E){return B+E;})+b,k);};return C.replace(this.__bu,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="mshtml",b="engine.name",c="[object Array]",d="qx.lang.Array",e="Cannot clean-up map entry doneObjects[",f="]",g="qx",h="number",j="][",k="string";qx.Bootstrap.define(d,{statics:{cast:function(m,o,p){if(m.constructor===o){return m;};if(qx.data&&qx.data.IListData){if(qx.Class&&qx.Class.hasInterface(m,qx.data.IListData)){var m=m.toArray();};};var n=new o;if((qx.core.Environment.get(b)==a)){if(m.item){for(var i=p||0,l=m.length;iX){X=W[i];};};return X===undefined?null:X;},min:function(ba){{};var i,bc=ba.length,bb=ba[0];for(i=1;i=1&&k[1]){return k[1]+b;};return a;},globalEval:function(data){if(window.execScript){return window.execScript(data);}else {return eval.call(window,data);};},create:function(n,m){{};if(!m){return n;};if(!(m.self||m.args||m.delay!=null||m.periodical!=null||m.attempt)){return n;};return function(event){{};var p=qx.lang.Array.fromArguments(arguments);if(m.args){p=m.args.concat(p);};if(m.delay||m.periodical){var o=function(){return n.apply(m.self||this,p);};if(qx.core.Environment.get(c)){o=qx.event.GlobalError.observeMethod(o);};if(m.delay){return window.setTimeout(o,m.delay);};if(m.periodical){return window.setInterval(o,m.periodical);};}else if(m.attempt){var q=false;try{q=n.apply(m.self||this,p);}catch(r){};return q;}else {return n.apply(m.self||this,p);};};},bind:function(s,self,t){return this.create(s,{self:self,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null});},curry:function(u,v){return this.create(u,{args:arguments.length>1?qx.lang.Array.fromArguments(arguments,1):null});},listener:function(x,self,y){if(arguments.length<3){return function(event){return x.call(self||this,event||window.event);};}else {var w=qx.lang.Array.fromArguments(arguments,2);return function(event){var z=[event||window.event];z.push.apply(z,w);x.apply(self||this,z);};};},attempt:function(A,self,B){return this.create(A,{self:self,attempt:true,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null})();},delay:function(D,C,self,E){return this.create(D,{delay:C,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();},periodical:function(G,F,self,H){return this.create(G,{periodical:F,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();}}});})();(function(){var a="qx.globalErrorHandling",b="qx.event.GlobalError";qx.Bootstrap.define(b,{statics:{__bB:null,__bC:null,__bD:null,__bE:function(){if(qx.core&&qx.core.Environment){return qx.core.Environment.get(a);}else {return !!qx.Bootstrap.getEnvironmentSetting(a);};},setErrorHandler:function(c,d){this.__bB=c||null;this.__bD=d||window;if(this.__bE()){if(c&&window.onerror){var e=qx.Bootstrap.bind(this.__bF,this);if(this.__bC==null){this.__bC=window.onerror;};var self=this;window.onerror=function(f,g,h){self.__bC(f,g,h);e(f,g,h);};};if(c&&!window.onerror){window.onerror=qx.Bootstrap.bind(this.__bF,this);};if(this.__bB==null){if(this.__bC!=null){window.onerror=this.__bC;this.__bC=null;}else {window.onerror=null;};};};},__bF:function(i,j,k){if(this.__bB){this.handleError(new qx.core.WindowError(i,j,k));};},observeMethod:function(l){if(this.__bE()){var self=this;return function(){if(!self.__bB){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.__bB){this.__bB.call(this.__bD,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.__bG=c;this.__bH=e||a;this.__bI=f===undefined?-1:f;},members:{__bG:null,__bH:null,__bI:null,toString:function(){return this.__bG;},getUri:function(){return this.__bH;},getLineNumber:function(){return this.__bI;}}});})();(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.__bG=a+(e&&e.message?e.message:e);var d=Error.call(this,this.__bG);if(d.stack){this.stack=d.stack;};if(d.stacktrace){this.stacktrace=d.stacktrace;};this.__bJ=c;this.__bK=e;},members:{__bK:null,__bJ:null,__bG:null,toString:function(){return this.__bG;},getArguments:function(){return this.__bJ;},getSourceException:function(){return this.__bK;}},destruct:function(){this.__bK=null;this.__bJ=null;this.__bG=null;}});})();(function(){var a="qx.lang.Type",b="Error",c="RegExp",d="Date",e="Number",f="Boolean";qx.Bootstrap.define(a,{statics:{getClass:qx.Bootstrap.getClass,isString:qx.Bootstrap.isString,isArray:qx.Bootstrap.isArray,isObject:qx.Bootstrap.isObject,isFunction:qx.Bootstrap.isFunction,isRegExp:function(g){return this.getClass(g)==c;},isNumber:function(h){return (h!==null&&(this.getClass(h)==e||h instanceof Number));},isBoolean:function(i){return (i!==null&&(this.getClass(i)==f||i instanceof Boolean));},isDate:function(j){return (j!==null&&(this.getClass(j)==d||j instanceof Date));},isError:function(k){return (k!==null&&(this.getClass(k)==b||k instanceof Error));}}});})();(function(){var a=" != ",b="qx.core.Object",c="Expected value to be an array but found ",d="' (rgb(",f=") was fired.",g="Expected value to be an integer >= 0 but found ",h="' to be not equal with '",j="' to '",k="Expected object '",m="Called assertTrue with '",n="Expected value to be a map but found ",o="The function did not raise an exception!",p="Expected value to be undefined but found ",q="Expected value to be a DOM element but found '",r="Expected value to be a regular expression but found ",s="' to implement the interface '",t="Expected value to be null but found ",u="Invalid argument 'type'",v="Called assert with 'false'",w="Assertion error! ",x="'",y="null",z="' but found '",A="'undefined'",B=",",C="' must must be a key of the map '",D="Expected '",E="The String '",F="Expected value to be a string but found ",G="Event (",H="Expected value to be the CSS color '",I="!",J="Expected value not to be undefined but found undefined!",K="qx.util.ColorUtil",L=": ",M="The raised exception does not have the expected type! ",N=") not fired.",O="'!",P="qx.core.Assert",Q="",R="Expected value to be typeof object but found ",S="' but found ",T="' (identical) but found '",U="' must have any of the values defined in the array '",V="Expected value to be a number but found ",W="Called assertFalse with '",X="qx.ui.core.Widget",Y="]",bJ="Expected value to be a qooxdoo object but found ",bK="' arguments.",bL="Expected value '%1' to be in the range '%2'..'%3'!",bF="Array[",bG="' does not match the regular expression '",bH="' to be not identical with '",bI="Expected [",bP="' arguments but found '",bQ="', which cannot be converted to a CSS color!",bR=", ",cg="qx.core.AssertionError",bM="Expected value to be a boolean but found ",bN="Expected value not to be null but found null!",bO="))!",bD="Expected value to be a qooxdoo widget but found ",bU="The value '",bE="Expected value to be typeof '",bV="\n Stack trace: \n",bW="Expected value to be typeof function but found ",cb="Expected value to be an integer but found ",bS="Called fail().",cf="The parameter 're' must be a string or a regular expression.",bT=")), but found value '",bX="qx.util.ColorUtil not available! Your code must have a dependency on 'qx.util.ColorUtil'",bY="Expected value to be a number >= 0 but found ",ca="Expected value to be instanceof '",cc="], but found [",cd="Wrong number of arguments given. Expected '",ce="object";qx.Bootstrap.define(P,{statics:{__bL:true,__bM:function(ch,ci){var cm=Q;for(var i=1,l=arguments.length;i10){cn=bF+co.length+Y;}else if((co instanceof Object)&&(co.toString==null)){cn=qx.lang.Json.stringify(co,null,2);}else {try{cn=co.toString();}catch(e){cn=Q;};};return cn;},assert:function(cq,cp){cq==true||this.__bM(cp||Q,v);},fail:function(cr,cs){var ct=cs?Q:bS;this.__bM(cr||Q,ct);},assertTrue:function(cv,cu){(cv===true)||this.__bM(cu||Q,m,cv,x);},assertFalse:function(cx,cw){(cx===false)||this.__bM(cw||Q,W,cx,x);},assertEquals:function(cy,cz,cA){cy==cz||this.__bM(cA||Q,D,cy,z,cz,O);},assertNotEquals:function(cB,cC,cD){cB!=cC||this.__bM(cD||Q,D,cB,h,cC,O);},assertIdentical:function(cE,cF,cG){cE===cF||this.__bM(cG||Q,D,cE,T,cF,O);},assertNotIdentical:function(cH,cI,cJ){cH!==cI||this.__bM(cJ||Q,D,cH,bH,cI,O);},assertNotUndefined:function(cL,cK){cL!==undefined||this.__bM(cK||Q,J);},assertUndefined:function(cN,cM){cN===undefined||this.__bM(cM||Q,p,cN,I);},assertNotNull:function(cP,cO){cP!==null||this.__bM(cO||Q,bN);},assertNull:function(cR,cQ){cR===null||this.__bM(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.__bM(cV||Q,E,cX,bG,cW.toString(),O);},assertArgumentsCount:function(db,dc,dd,cY){var da=db.length;(da>=dc&&da<=dd)||this.__bM(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.__bM(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.__bM(ds||Q,G,event,f);dn.removeListenerById(dt);},assertException:function(dx,dw,dv,du){var dw=dw||Error;var dy;try{this.__bL=false;dx();}catch(dz){dy=dz;}finally{this.__bL=true;};if(dy==null){this.__bM(du||Q,o);};dy instanceof dw||this.__bM(du||Q,M,dw,a,dy);if(dv){this.assertMatch(dy.toString(),dv,du);};},assertInArray:function(dC,dB,dA){dB.indexOf(dC)!==-1||this.__bM(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.__bM(dR||Q,bY,dS,I);},assertInteger:function(dU,dT){(qx.lang.Type.isNumber(dU)&&isFinite(dU)&&dU%1===0)||this.__bM(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.__bM(dV||Q,g,dX,I);},assertInRange:function(eb,ec,ea,dY){(eb>=ec&&eb<=ea)||this.__bM(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.__bM(ed||Q,R,(ee),I);},assertArray:function(eh,eg){qx.lang.Type.isArray(eh)||this.__bM(eg||Q,c,eh,I);},assertMap:function(ej,ei){qx.lang.Type.isObject(ej)||this.__bM(ei||Q,n,ej,I);},assertRegExp:function(el,ek){qx.lang.Type.isRegExp(el)||this.__bM(ek||Q,r,el,I);},assertType:function(eo,en,em){this.assertString(en,u);typeof (eo)===en||this.__bM(em||Q,bE,en,S,eo,I);},assertInstance:function(er,es,ep){var eq=es.classname||es+Q;er instanceof es||this.__bM(ep||Q,ca,eq,S,er,I);},assertInterface:function(ev,eu,et){qx.Class&&qx.Class.implementsInterface(ev,eu)||this.__bM(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.__bM(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.__bM(eB||Q,H,ey,d,ey.join(B),bT,ez,d,eA.join(B),bO);},assertElement:function(eG,eF){!!(eG&&eG.nodeType===1)||this.__bM(eF||Q,q,eG,O);},assertQxObject:function(eI,eH){this.__bO(eI,b)||this.__bM(eH||Q,bJ,eI,I);},assertQxWidget:function(eK,eJ){this.__bO(eK,X)||this.__bM(eJ||Q,bD,eK,I);},__bO:function(eM,eL){if(!eM){return false;};var eN=eM.constructor;while(eN){if(eN.classname===eL){return true;};eN=eN.superclass;};return false;}}});})();(function(){var a=": ",b="qx.type.BaseError",c="",d="error";qx.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.__bP=e||c;this.message=f||qx.type.BaseError.DEFAULTMESSAGE;},statics:{DEFAULTMESSAGE:d},members:{__bQ:null,__bP:null,message:null,getComment:function(){return this.__bP;},toString:function(){return this.__bP+(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.__bR=qx.dev.StackTrace.getStackTrace();},members:{__bR:null,getStackTrace:function(){return this.__bR;}}});})();(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.__bS(bb);T.push(ba+m+Q);};if(T.length>0){return this.__bU(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.__bS(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.__bS(bb);T.push(ba+m+Q+m+P);};if(T.length>0){return this.__bU(T);};R=/Line\ (\d+?)\ of\ linked\ script\ (.*?)$/gm;while((S=R.exec(U))!=null){Q=S[1];bb=S[2];ba=this.__bS(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.__bS(O[2]);T.push(bf+m+Q);};};}else if(bd.sourceURL&&bd.line){T.push(this.__bS(bd.sourceURL)+m+bd.line);};return this.__bU(T);},__bS: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.__bT(bh);},__bT: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;},__bU: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,__j:{},__bV:0,__bW:[],__bX:d,__bY:{},register:function(n){var q=this.__j;if(!q){return;};var p=n.$$hash;if(p==null){var o=this.__bW;if(o.length>0&&true){p=o.pop();}else {p=(this.__bV++ )+this.__bX;};n.$$hash=p;{};};{};q[p]=n;},unregister:function(r){var s=r.$$hash;if(s==null){return;};var t=this.__j;if(t&&t[s]){delete t[s];this.__bW.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.__bW;if(w.length>0){x=w.pop();}else {x=(this.__bV++ )+this.__bX;};return v.$$hash=x;},clearHashCode:function(y){{};var z=y.$$hash;if(z!=null){this.__bW.push(z);try{delete y.$$hash;}catch(A){if(y.removeAttribute){y.removeAttribute(g);};};};},fromHashCode:function(B){return this.__j[B]||null;},shutdown:function(){this.inShutDown=true;var D=this.__j;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(;i1)))/4)-cD((dm-1901+dn)/100)+cD((dm-1601+dn)/400);};};if(!(cG={}.hasOwnProperty)){cG=function(dp){var dq={},dr;if((dq.__ca=null,dq.__ca={"toString":1},dq).toString!=cr){cG=function(ds){var dt=this.__ca,du=ds in (this.__ca=null,this);this.__ca=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="qx.event.type.Data",b="qx.event.type.Event",c="qx.data.IListData";qx.Interface.define(c,{events:{"change":a,"changeLength":b},members:{getItem:function(d){},setItem:function(e,f){},splice:function(g,h,i){},contains:function(j){},getLength:function(){},toArray:function(){}}});})();(function(){var a="qx.core.ValidationError";qx.Class.define(a,{extend:qx.type.BaseError});})();(function(){var a="qx.util.RingBuffer";qx.Bootstrap.define(a,{extend:Object,construct:function(b){this.setMaxEntries(b||50);},members:{__cb:0,__cc:0,__cd:false,__ce:0,__cf:null,__cg:null,setMaxEntries:function(c){this.__cg=c;this.clear();},getMaxEntries:function(){return this.__cg;},addEntry:function(d){this.__cf[this.__cb]=d;this.__cb=this.__ch(this.__cb,1);var e=this.getMaxEntries();if(this.__ccthis.__cc){f=this.__cc;};if(j&&this.__cd&&(f>this.__ce)){f=this.__ce;};if(f>0){var h=this.__ch(this.__cb,-1);var g=this.__ch(h,-f+1);var i;if(g<=h){i=this.__cf.slice(g,h+1);}else {i=this.__cf.slice(g,this.__cc).concat(this.__cf.slice(0,h+1));};}else {i=[];};return i;},clear:function(){this.__cf=new Array(this.getMaxEntries());this.__cc=0;this.__ce=0;this.__cb=0;},__ch: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.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:{__ci:F,setLevel:function(K){this.__ci=K;},getLevel:function(){return this.__ci;},setTreshold:function(L){this.__cl.setMaxMessages(L);},getTreshold:function(){return this.__cl.getMaxMessages();},__cj:{},__ck:0,register:function(P){if(P.$$id){return;};var M=this.__ck++ ;this.__cj[M]=P;P.$$id=M;var N=this.__cm;var O=this.__cl.getAllLogEvents();for(var i=0,l=O.length;i=N[this.__ci]){P.process(O[i]);};};},unregister:function(Q){var R=Q.$$id;if(R==null){return;};delete this.__cj[R];delete Q.$$id;},debug:function(T,S){qx.log.Logger.__cn(F,arguments);},info:function(V,U){qx.log.Logger.__cn(f,arguments);},warn:function(X,W){qx.log.Logger.__cn(q,arguments);},error:function(ba,Y){qx.log.Logger.__cn(m,arguments);},trace:function(bb){var bc=qx.dev.StackTrace.getStackTrace();qx.log.Logger.__cn(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.__cl.clearHistory();},__cl:new qx.log.appender.RingBuffer(50),__cm:{debug:0,info:1,warn:2,error:3},__cn:function(bz,bB){var bE=this.__cm;if(bE[bz]20){bM.push(c+(l-i)+e);break;};bM.push(this.__cp(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.__cp(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;i=8){return qx.bom.client.Engine.DOCUMENT_MODE===5;}else {return document.compatMode!==a;};},__cx:{"webkit":i,"gecko":p,"mshtml":q,"opera":H}[qx.bom.client.Engine.getName()]},defer:function(U){qx.core.Environment.add(k,U.getName);qx.core.Environment.add(C,U.getVersion);qx.core.Environment.add(J,U.getDocumentMode);qx.core.Environment.add(j,U.getQuirksMode);}});})();(function(){var a="qx.bom.client.CssTransition",b="E",c="transitionEnd",d="e",e="nd",f="transition",g="css.transition",h="Trans";qx.Bootstrap.define(a,{statics:{getTransitionName:function(){return qx.bom.Style.getPropertyName(f);},getSupport:function(){var name=qx.bom.client.CssTransition.getTransitionName();if(!name){return null;};var i=qx.bom.Event.getEventName(window,c);i=i==c?i.toLowerCase():i;if(!i){i=name+(name.indexOf(h)>0?b:d)+e;};return {name:name,"end-event":i};}},defer:function(j){qx.core.Environment.add(g,j.getSupport);}});})();(function(){var a="__cD",b="UNKNOWN_",c="|bubble",d="",e="_",f="c",g="|",h="unload",j="|capture",k="DOM_",m="WIN_",n="QX_",o="qx.event.Manager",p="capture",q="__cC",r="DOCUMENT_";qx.Class.define(o,{extend:Object,construct:function(s,t){this.__cy=s;this.__cz=qx.core.ObjectRegistry.toHashCode(s);this.__cA=t;if(s.qx!==qx){var self=this;qx.bom.Event.addNativeListener(s,h,qx.event.GlobalError.observeMethod(function(){qx.bom.Event.removeNativeListener(s,h,arguments.callee);self.dispose();}));};this.__cB={};this.__cC={};this.__cD={};this.__cE={};},statics:{__cF:0,getNextUniqueId:function(){return (this.__cF++ )+d;}},members:{__cA:null,__cB:null,__cD:null,__cG:null,__cC:null,__cE:null,__cy:null,__cz:null,getWindow:function(){return this.__cy;},getWindowId:function(){return this.__cz;},getHandler:function(v){var u=this.__cC[v.classname];if(u){return u;};return this.__cC[v.classname]=new v(this);},getDispatcher:function(x){var w=this.__cD[x.classname];if(w){return w;};return this.__cD[x.classname]=new x(this,this.__cA);},getListeners:function(z,D,y){var B=z.$$hash||qx.core.ObjectRegistry.toHashCode(z);var E=this.__cB[B];if(!E){return null;};var C=D+(y?j:c);var A=E[C];return A?A.concat():null;},getAllListeners:function(){return this.__cB;},serializeListeners:function(G){var K=G.$$hash||qx.core.ObjectRegistry.toHashCode(G);var O=this.__cB[K];var J=[];if(O){var H,N,F,I,L;for(var M in O){H=M.indexOf(g);N=M.substring(0,H);F=M.charAt(H+1)==f;I=O[M];for(var i=0,l=I.length;i0);},importListeners:function(bg,bi){{};var bm=bg.$$hash||qx.core.ObjectRegistry.toHashCode(bg);var bo=this.__cB[bm]={};var bk=qx.event.Manager;for(var bh in bi){var bl=bi[bh];var bn=bl.type+(bl.capture?j:c);var bj=bo[bn];if(!bj){bj=bo[bn]=[];this.__cH(bg,bl.type,bl.capture);};bj.push({handler:bl.listener,context:bl.self,unique:bl.unique||(bk.__cF++ )+d});};},addListener:function(br,by,bt,self,bp){{var bv;};var bq=br.$$hash||qx.core.ObjectRegistry.toHashCode(br);var bz=this.__cB[bq];if(!bz){bz=this.__cB[bq]={};};var bu=by+(bp?j:c);var bs=bz[bu];if(!bs){bs=bz[bu]=[];};if(bs.length===0){this.__cH(br,by,bp);};var bx=(qx.event.Manager.__cF++ )+d;var bw={handler:bt,context:self,unique:bx};bs.push(bw);return bu+g+bx;},findHandler:function(bE,bN){var bL=false,bD=false,bO=false,bA=false;var bK;if(bE.nodeType===1){bL=true;bK=k+bE.tagName.toLowerCase()+e+bN;}else if(bE.nodeType===9){bA=true;bK=r+bN;}else if(bE==this.__cy){bD=true;bK=m+bN;}else if(bE.classname){bO=true;bK=n+bE.classname+e+bN;}else {bK=b+bE+e+bN;};var bC=this.__cE;if(bC[bK]){return bC[bK];};var bJ=this.__cA.getHandlers();var bF=qx.event.IEventHandler;var bH,bI,bG,bB;for(var i=0,l=bJ.length;i0){cs=cu.split(g);cv=cs[0];cq=cs[1]===p;this.__cI(cr,cv,cq);};};delete this.__cB[ct];return true;},deleteAllListeners:function(cx){delete this.__cB[cx];},__cI:function(cB,cA,cy){var cz=this.findHandler(cB,cA);if(cz){cz.unregisterEvent(cB,cA,cy);return;};{};},dispatchEvent:function(cD,event){{var cH;};var cI=event.getType();if(!event.getBubbles()&&!this.hasListener(cD,cI)){qx.event.Pool.getInstance().poolObject(event);return true;};if(!event.getTarget()){event.setTarget(cD);};var cG=this.__cA.getDispatchers();var cF;var cC=false;for(var i=0,l=cG.length;i=0;i-- ){s=r[i];if(s){s.dispose();};};}catch(t){throw new Error(h+p+d+q+f+t);};r.length=0;q[p]=null;},disposeMap:function(v,u){var w=v[u];if(!w){return;};if(qx.core.ObjectRegistry.inShutDown){v[u]=null;return;};try{var y;for(var x in w){y=w[x];if(w.hasOwnProperty(x)&&y){y.dispose();};};}catch(z){throw new Error(g+u+d+v+f+z);};v[u]=null;},disposeTriggeredBy:function(A,C){var B=C.dispose;C.dispose=function(){B.call(C);A.dispose();};},destroyContainer:function(E){{};var D=[];this._collectContainerChildren(E,D);var F=D.length;for(var i=F-1;i>=0;i-- ){D[i].destroy();};E.destroy();},_collectContainerChildren:function(I,H){var J=I.getChildren();for(var i=0;ithis.getSize()){if(k.destroy){k.destroy();}else {k.dispose();};return;};k.$$pooled=true;m.push(k);}},destruct:function(){var p=this.__cN;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,m,this._onNativeLoadWrapped);}else {var self=this;var z=function(){try{document.documentElement.doScroll(l);if(document.body){self._onNativeLoadWrapped();};}catch(A){window.setTimeout(z,100);};};z();};qx.bom.Event.addNativeListener(this._window,i,this._onNativeLoadWrapped);};this._onNativeUnloadWrapped=qx.lang.Function.bind(this._onNativeUnload,this);qx.bom.Event.addNativeListener(this._window,j,this._onNativeUnloadWrapped);},_stopObserver:function(){if(this._onNativeLoadWrapped){qx.bom.Event.removeNativeListener(this._window,i,this._onNativeLoadWrapped);};qx.bom.Event.removeNativeListener(this._window,j,this._onNativeUnloadWrapped);this._onNativeLoadWrapped=null;this._onNativeUnloadWrapped=null;},_onNativeLoad:qx.event.GlobalError.observeMethod(function(){this.__ii=true;this.__il();}),_onNativeUnload:qx.event.GlobalError.observeMethod(function(){if(!this.__ik){this.__ik=true;try{qx.event.Registration.fireEvent(this._window,n);}catch(e){throw e;}finally{qx.core.ObjectRegistry.shutdown();};};})},destruct:function(){this._stopObserver();this._window=null;},defer:function(B){qx.event.Registration.addHandler(B);}});})();(function(){var a="ready",b="shutdown",c="beforeunload",d="qx.core.Init";qx.Class.define(d,{statics:{getApplication:qx.core.BaseInit.getApplication,ready:qx.core.BaseInit.ready,__ig:function(e){var f=this.getApplication();if(f){e.setReturnValue(f.close());};},__ih: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.__ih,h);qx.event.Registration.addListener(window,c,h.__ig,h);}});})();(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:{__gh:null,_createRootWidget:function(){throw new Error(a);},getRoot:function(){return this.__gh;},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.__gh=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.__gh=null;}});})();(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();},__cY: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.util.ValueManager",b="abstract";qx.Class.define(a,{type:b,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this._dynamic={};},members:{_dynamic:null,resolveDynamic:function(c){return this._dynamic[c];},isDynamic:function(d){return !!this._dynamic[d];},resolve:function(e){if(e&&this._dynamic[e]){return this._dynamic[e];};return e;},_setDynamic:function(f){this._dynamic=f;},_getDynamic:function(){return this._dynamic;}},destruct:function(){this._dynamic=null;}});})();(function(){var a="Could not parse color: ",b="_applyTheme",c="qx.theme.manager.Color",d="Theme",e="changeTheme",f="string",g="singleton";qx.Class.define(c,{type:g,extend:qx.util.ValueManager,properties:{theme:{check:d,nullable:true,apply:b,event:e}},members:{_applyTheme:function(j){var h={};if(j){var i=j.colors;for(var name in i){h[name]=this.__da(i,name);};};this._setDynamic(h);},__da:function(l,name){var k=l[name];if(typeof k===f){if(!qx.util.ColorUtil.isCssString(k)){if(l[k]!=undefined){return this.__da(l,k);};throw new Error(a+k);};return k;}else if(k instanceof Array){return qx.util.ColorUtil.rgbToRgbString(k);};throw new Error(a+k);},resolve:function(p){var o=this._dynamic;var m=o[p];if(m){return m;};var n=this.getTheme();if(n!==null&&n.colors[p]){return o[p]=n.colors[p];};return p;},isDynamic:function(s){var r=this._dynamic;if(s&&(r[s]!==undefined)){return true;};var q=this.getTheme();if(q!==null&&s&&(q.colors[s]!==undefined)){r[s]=q.colors[s];return true;};return false;}}});})();(function(){var a="Could not parse color: ",c="",d="Invalid hex value: ",e="Could not convert system colors to RGB: ",h="(",j=")",k="#",l="a",m="Invalid hex3 value: ",n="qx.theme.manager.Color",o="qx.util.ColorUtil",q="Invalid hex6 value: ",s="rgb",u=",";qx.Bootstrap.define(o,{statics:{REGEXP:{hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rgb:/^rgb\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/,rgba:/^rgba\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/},SYSTEM:{activeborder:true,activecaption:true,appworkspace:true,background:true,buttonface:true,buttonhighlight:true,buttonshadow:true,buttontext:true,captiontext:true,graytext:true,highlight:true,highlighttext:true,inactiveborder:true,inactivecaption:true,inactivecaptiontext:true,infobackground:true,infotext:true,menu:true,menutext:true,scrollbar:true,threeddarkshadow:true,threedface:true,threedhighlight:true,threedlightshadow:true,threedshadow:true,window:true,windowframe:true,windowtext:true},NAMED:{black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:[-1,-1,-1],magenta:[255,0,255],orange:[255,165,0],brown:[165,42,42]},isNamedColor:function(v){return this.NAMED[v]!==undefined;},isSystemColor:function(w){return this.SYSTEM[w]!==undefined;},supportsThemes:function(){if(qx.Class){return qx.Class.isDefined(n);};return false;},isThemedColor:function(x){if(!this.supportsThemes()){return false;};if(qx.theme&&qx.theme.manager&&qx.theme.manager.Color){return qx.theme.manager.Color.getInstance().isDynamic(x);};return false;},stringToRgb:function(y){if(this.supportsThemes()&&this.isThemedColor(y)){y=qx.theme.manager.Color.getInstance().resolveDynamic(y);};if(this.isNamedColor(y)){return this.NAMED[y].concat();}else if(this.isSystemColor(y)){throw new Error(e+y);}else if(this.isRgbaString(y)){return this.__dc(y);}else if(this.isRgbString(y)){return this.__db();}else if(this.isHex3String(y)){return this.__dd();}else if(this.isHex6String(y)){return this.__de();};throw new Error(a+y);},cssStringToRgb:function(z){if(this.isNamedColor(z)){return this.NAMED[z];}else if(this.isSystemColor(z)){throw new Error(e+z);}else if(this.isRgbString(z)){return this.__db();}else if(this.isRgbaString(z)){return this.__dc();}else if(this.isHex3String(z)){return this.__dd();}else if(this.isHex6String(z)){return this.__de();};throw new Error(a+z);},stringToRgbString:function(A){return this.rgbToRgbString(this.stringToRgb(A));},rgbToRgbString:function(B){return s+(B[3]!==undefined?l:c)+h+B.join(u)+j;},rgbToHexString:function(C){return (k+qx.lang.String.pad(C[0].toString(16).toUpperCase(),2)+qx.lang.String.pad(C[1].toString(16).toUpperCase(),2)+qx.lang.String.pad(C[2].toString(16).toUpperCase(),2));},isValidPropertyValue:function(D){return (this.isThemedColor(D)||this.isNamedColor(D)||this.isHex3String(D)||this.isHex6String(D)||this.isRgbString(D)||this.isRgbaString(D));},isCssString:function(E){return (this.isSystemColor(E)||this.isNamedColor(E)||this.isHex3String(E)||this.isHex6String(E)||this.isRgbString(E)||this.isRgbaString(E));},isHex3String:function(F){return this.REGEXP.hex3.test(F);},isHex6String:function(G){return this.REGEXP.hex6.test(G);},isRgbString:function(H){return this.REGEXP.rgb.test(H);},isRgbaString:function(I){return this.REGEXP.rgba.test(I);},__db:function(){var L=parseInt(RegExp.$1,10);var K=parseInt(RegExp.$2,10);var J=parseInt(RegExp.$3,10);return [L,K,J];},__dc:function(){var P=parseInt(RegExp.$1,10);var O=parseInt(RegExp.$2,10);var M=parseInt(RegExp.$3,10);var N=parseInt(RegExp.$4,10);if(P===0&&O===0&M===0&&N===0){return [-1,-1,-1];};return [P,O,M];},__dd:function(){var S=parseInt(RegExp.$1,16)*17;var R=parseInt(RegExp.$2,16)*17;var Q=parseInt(RegExp.$3,16)*17;return [S,R,Q];},__de:function(){var V=(parseInt(RegExp.$1,16)*16)+parseInt(RegExp.$2,16);var U=(parseInt(RegExp.$3,16)*16)+parseInt(RegExp.$4,16);var T=(parseInt(RegExp.$5,16)*16)+parseInt(RegExp.$6,16);return [V,U,T];},hex3StringToRgb:function(W){if(this.isHex3String(W)){return this.__dd(W);};throw new Error(m+W);},hex3StringToHex6String:function(X){if(this.isHex3String(X)){return this.rgbToHexString(this.hex3StringToRgb(X));};return X;},hex6StringToRgb:function(Y){if(this.isHex6String(Y)){return this.__de(Y);};throw new Error(q+Y);},hexStringToRgb:function(ba){if(this.isHex3String(ba)){return this.__dd(ba);};if(this.isHex6String(ba)){return this.__de(ba);};throw new Error(d+ba);},rgbToHsb:function(bi){var bc,bd,bf;var bm=bi[0];var bj=bi[1];var bb=bi[2];var bl=(bm>bj)?bm:bj;if(bb>bl){bl=bb;};var be=(bm=1.0){bo%=1.0;};if(bp>1.0){bp=1.0;};if(bq>1.0){bq=1.0;};var br=Math.floor(255*bq);var bs={};if(bp==0.0){bs.red=bs.green=bs.blue=br;}else {bo*=6.0;i=Math.floor(bo);f=bo-i;p=Math.floor(br*(1.0-bp));r=Math.floor(br*(1.0-(bp*f)));t=Math.floor(br*(1.0-(bp*(1.0-f))));switch(i){case 0:bs.red=br;bs.green=t;bs.blue=p;break;case 1:bs.red=r;bs.green=br;bs.blue=p;break;case 2:bs.red=p;bs.green=br;bs.blue=t;break;case 3:bs.red=p;bs.green=r;bs.blue=br;break;case 4:bs.red=t;bs.green=p;bs.blue=br;break;case 5:bs.red=br;bs.green=p;bs.blue=r;break;};};return [bs.red,bs.green,bs.blue];},randomColor:function(){var r=Math.round(Math.random()*255);var g=Math.round(Math.random()*255);var b=Math.round(Math.random()*255);return this.rgbToRgbString([r,g,b]);}}});})();(function(){var a="mshtml",b="engine.name",c="__dh",d="_applyTheme",e="",f="'.",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.__df=[];this.__dg=(qx.core.Environment.get(b)==a&&qx.core.Environment.get(r)<9);},properties:{theme:{check:n,nullable:true,apply:d,event:p}},members:{__dh:null,__df:null,__dg: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+f);};var G=e;var v=B.getStyles(true);for(var D in v){if(qx.Bootstrap.isObject(v[D])){var x=e;var F=v[D];var C=false;for(var y in F){C=true;x+=y+s+F[y]+k;};var E=this.__dg?A:A+(C?s:e);this.__df.push(E+D);w.addRule(E+D,x);continue;};G+=D+s+v[D]+k;};if(G){w.addRule(A,G);this.__df.push(A);};return z;},removeAllCssClasses:function(){for(var i=0;i=0; --i){if(B[i].selectorText==E){C.deleteRule(i);};};}else {var B=C.rules;var D=B.length;for(var i=D-1;i>=0; --i){if(B[i].selectorText==E){C.removeRule(i);};};};},removeSheet:function(G){var F=G.ownerNode?G.ownerNode:G.owningElement;qx.dom.Element.removeChild(F,F.parentNode);},removeAllRules:function(I){if(qx.core.Environment.get(m)){var H=I.cssRules;var J=H.length;for(var i=J-1;i>=0;i-- ){I.deleteRule(i);};}else {var H=I.rules;var J=H.length;for(var i=J-1;i>=0;i-- ){I.removeRule(i);};};},addImport:function(L,K){if(qx.core.Environment.get(c)){L.addImport(K);}else {L.insertRule(g+K+k,L.cssRules.length);};},removeImport:function(M,N){if(qx.core.Environment.get(l)){var O=M.imports;var P=O.length;for(var i=P-1;i>=0;i-- ){if(O[i].href==N||O[i].href==qx.util.Uri.getAbsolute(N)){M.removeImport(i);};};}else {var Q=M.cssRules;var P=Q.length;for(var i=P-1;i>=0;i-- ){if(Q[i].href==N){M.deleteRule(i);};};};},removeAllImports:function(S){if(qx.core.Environment.get(l)){var U=S.imports;var T=U.length;for(var i=T-1;i>=0;i-- ){S.removeImport(i);};}else {var R=S.cssRules;var T=R.length;for(var i=T-1;i>=0;i-- ){if(R[i].type==R[i].IMPORT_RULE){S.deleteRule(i);};};};}}});})();(function(){var a="engine.name",b="",c="none",d="qx.dom.Element",e="webkit",f="The tag name is missing!",g="div";qx.Bootstrap.define(d,{statics:{hasChild:function(parent,h){return h.parentNode===parent;},hasChildren:function(j){return !!j.firstChild;},hasChildElements:function(k){k=k.firstChild;while(k){if(k.nodeType===1){return true;};k=k.nextSibling;};return false;},getParentElement:function(m){return m.parentNode;},isInDom:function(p,n){if(!n){n=window;};var o=n.document.getElementsByTagName(p.nodeName);for(var i=0,l=o.length;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="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.__dq={};this.add(j,b);},members:{__dq: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.__dq[n]){return this.__dq[n];};var l=n.substring(0,n.indexOf(i));var k=this.__dq[l];if(k!==undefined){m[n]=k+n.substring(l.length);};};return n;},add:function(o,q){this.__dq[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.__dq[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.__dq){v[w]=this.__dq[w];};return v;}},destruct:function(){this.__dq=null;}});})();(function(){var a="Microsoft.XMLHTTP",b="xhr",c="io.ssl",d="io.xhr",e="",f="file:",g="https:",h="webkit",i="gecko",j="activex",k="opera",l=".",m="io.maxrequests",n="qx.bom.client.Transport";qx.Bootstrap.define(n,{statics:{getMaxConcurrentRequestCount:function(){var p;var r=qx.bom.client.Engine.getVersion().split(l);var o=0;var s=0;var q=0;if(r[0]){o=r[0];};if(r[1]){s=r[1];};if(r[2]){q=r[2];};if(window.maxConnectionsPerServer){p=window.maxConnectionsPerServer;}else if(qx.bom.client.Engine.getName()==k){p=8;}else if(qx.bom.client.Engine.getName()==h){p=4;}else if(qx.bom.client.Engine.getName()==i&&((o>1)||((o==1)&&(s>9))||((o==1)&&(s==9)&&(q>=1)))){p=6;}else {p=2;};return p;},getSsl:function(){return window.location.protocol===g;},getXmlHttpRequest:function(){var t=window.ActiveXObject?(function(){if(window.location.protocol!==f){try{new window.XMLHttpRequest();return b;}catch(u){};};try{new window.ActiveXObject(a);return j;}catch(v){};})():(function(){try{new window.XMLHttpRequest();return b;}catch(w){};})();return t||e;}},defer:function(x){qx.core.Environment.add(m,x.getMaxConcurrentRequestCount);qx.core.Environment.add(c,x.getSsl);qx.core.Environment.add(d,x.getXmlHttpRequest);}});})();(function(){var a="singleton",b="qx.util.LibraryManager";qx.Class.define(b,{extend:qx.core.Object,type:a,statics:{__dr:qx.$$libraries||{}},members:{has:function(c){return !!this.self(arguments).__dr[c];},get:function(d,e){return this.self(arguments).__dr[d][e]?this.self(arguments).__dr[d][e]:null;},set:function(f,g,h){this.self(arguments).__dr[f][g]=h;}}});})();(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:{__j:qx.$$resources||{},__ds:{}},members:{has:function(r){return !!this.self(arguments).__j[r];},getData:function(s){return this.self(arguments).__j[s]||null;},getImageWidth:function(u){var t=this.self(arguments).__j[u];return t?t[0]:null;},getImageHeight:function(w){var v=this.self(arguments).__j[w];return v?v[1]:null;},getImageFormat:function(y){var x=this.self(arguments).__j[y];return x?x[2]:null;},getCombinedFormat:function(D){var A=e;var C=this.self(arguments).__j[D];var z=C&&C.length>4&&typeof (C[4])==i&&this.constructor.__j[C[4]];if(z){var E=C[4];var B=this.constructor.__j[E];A=B[2];};return A;},toUri:function(I){if(I==null){return I;};var F=this.self(arguments).__j[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).__ds[H];};return G+qx.util.LibraryManager.getInstance().get(H,n)+m+I;},toDataUri:function(L){var K=this.constructor.__j[L];var N=this.constructor.__j[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.__ds[Q]=e;continue;};if(O.match(/^\/\//)!=null){P.__ds[Q]=window.location.protocol;}else if(O.match(/^\//)!=null){P.__ds[Q]=window.location.protocol+c+window.location.host;}else if(O.match(/^\.\//)!=null){var S=document.URL;P.__ds[Q]=S.substring(0,S.lastIndexOf(m)+1);}else if(O.match(/^http/)!=null){P.__ds[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.__ds[Q]=T.substring(0,T.lastIndexOf(m)+1);};};};};}});})();(function(){var a="innerWidthRight",b="innerColorBottom",c="css.borderradius",d="px ",e='""',f="_applyDoubleBorder",g="border-top",h="inset 0 -",i="css.boxsizing",j="innerWidthTop",k="100%",l="border-left",m="innerColorRight",n="css.boxshadow",o="innerColorTop",p="innerColorLeft",q="inset ",r="shorthand",s="inset -",t="Color",u="border-box",v="qx.ui.decoration.MDoubleBorder",w="border-bottom",x=":before",y="inset 0 ",z="px solid ",A="innerWidthBottom",B="css.rgba",C="inherit",D="Number",E="innerWidthLeft",F="px 0 ",G="inset 0 0 0 ",H="border-right",I=" ",J=",",K="absolute";qx.Mixin.define(v,{include:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MBackgroundImage],construct:function(){this._getDefaultInsetsForBorder=this.__dv;this._styleBorder=this.__dt;},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:{__dt: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.__du(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};};},__du: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(){{};},__dv: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="foo",b="css.borderimage.standardsyntax",c="borderRadius",d="boxSizing",e="stretch",f="css.borderradius",g="content",h="css.inlineblock",j="css.gradient.filter",k="css.appearance",l="css.opacity",m="div",n="pointerEvents",o="css.gradient.radial",p="css.pointerevents",q="input",r="color",s="string",t="borderImage",u="userSelect",v="progid:",w="css.textShadow.filter",x="css.usermodify",y="flexbox",z='url("foo.png") 4 4 4 4 fill stretch',A="css.boxmodel",B="qx.bom.client.Css",C="css.boxshadow",D="appearance",E="-ms-flexbox",F="placeholder",G="-moz-none",H="backgroundImage",I="css.textShadow",J="DXImageTransform.Microsoft.Shadow",K="flex",L="css.alphaimageloaderneeded",M="css.gradient.legacywebkit",N="css.flexboxSyntax",O="linear-gradient(0deg, #fff, #000)",P="textShadow",Q="auto",R="css.borderimage",S="foo.png",T="rgba(1, 2, 3, 0.5)",U="color=#666666,direction=45",V="radial-gradient(0px 0px, cover, red 50%, blue 100%)",W="rgba",X="(",Y="-webkit-flex",bD='url("foo.png") 4 4 4 4 stretch',bE="css.gradient.linear",bF="DXImageTransform.Microsoft.Gradient",bz="css.userselect",bA="span",bB="css.boxsizing",bC="-webkit-gradient(linear,0% 0%,100% 100%,from(white), to(red))",bJ="mshtml",bK="css.rgba",bL=");",bT="4 fill",bG="none",bH="startColorStr=#550000FF, endColorStr=#55FFFF00",bI="detect",bx="css.placeholder",bO="css.textoverflow",by="inline-block",bP="-moz-inline-box",bQ="textOverflow",bR="userModify",bM="boxShadow",bS="css.userselect.none",bN="border";qx.Bootstrap.define(B,{statics:{__dw:null,getBoxModel:function(){var content=qx.bom.client.Engine.getName()!==bJ||!qx.bom.client.Browser.getQuirksMode();return content?g:bN;},getTextOverflow:function(){return qx.bom.Style.getPropertyName(bQ);},getPlaceholder:function(){var i=document.createElement(q);return F in i;},getAppearance:function(){return qx.bom.Style.getPropertyName(D);},getBorderRadius:function(){return qx.bom.Style.getPropertyName(c);},getBoxShadow:function(){return qx.bom.Style.getPropertyName(bM);},getBorderImage:function(){return qx.bom.Style.getPropertyName(t);},getBorderImageSyntax:function(){var bV=qx.bom.client.Css.getBorderImage();if(!bV){return null;};var bU=document.createElement(m);if(bV===t){bU.style[bV]=z;if(bU.style.borderImageSource.indexOf(S)>=0&&bU.style.borderImageSlice.indexOf(bT)>=0&&bU.style.borderImageRepeat.indexOf(e)>=0){return true;};}else {bU.style[bV]=bD;if(bU.style[bV].indexOf(S)>=0){return false;};};return null;},getUserSelect:function(){return qx.bom.Style.getPropertyName(u);},getUserSelectNone:function(){var bX=qx.bom.client.Css.getUserSelect();if(bX){var bW=document.createElement(bA);bW.style[bX]=G;return bW.style[bX]===G?G:bG;};return null;},getUserModify:function(){return qx.bom.Style.getPropertyName(bR);},getLinearGradient:function(){qx.bom.client.Css.__dw=false;var cc=O;var bY=document.createElement(m);var ca=qx.bom.Style.getAppliedStyle(bY,H,cc);if(!ca){cc=bC;var ca=qx.bom.Style.getAppliedStyle(bY,H,cc,false);if(ca){qx.bom.client.Css.__dw=true;};};if(!ca){return null;};var cb=/(.*?)\(/.exec(ca);return cb?cb[1]:null;},getFilterGradient:function(){return qx.bom.client.Css.__dx(bF,bH);},getRadialGradient:function(){var cg=V;var cd=document.createElement(m);var ce=qx.bom.Style.getAppliedStyle(cd,H,cg);if(!ce){return null;};var cf=/(.*?)\(/.exec(ce);return cf?cf[1]:null;},getLegacyWebkitGradient:function(){if(qx.bom.client.Css.__dw===null){qx.bom.client.Css.getLinearGradient();};return qx.bom.client.Css.__dw;},getRgba:function(){var ch;try{ch=document.createElement(m);}catch(ci){ch=document.createElement();};try{ch.style[r]=T;if(ch.style[r].indexOf(W)!=-1){return true;};}catch(cj){};return false;},getBoxSizing:function(){return qx.bom.Style.getPropertyName(d);},getInlineBlock:function(){var ck=document.createElement(bA);ck.style.display=by;if(ck.style.display==by){return by;};ck.style.display=bP;if(ck.style.display!==bP){return bP;};return null;},getOpacity:function(){return (typeof document.documentElement.style.opacity==s);},getTextShadow:function(){return !!qx.bom.Style.getPropertyName(P);},getFilterTextShadow:function(){return qx.bom.client.Css.__dx(J,U);},__dx:function(co,cm){var cn=false;var cp=v+co+X+cm+bL;var cl=document.createElement(m);document.body.appendChild(cl);cl.style.filter=cp;if(cl.filters&&cl.filters.length>0&&cl.filters.item(co).enabled==true){cn=true;};document.body.removeChild(cl);return cn;},getAlphaImageLoaderNeeded:function(){return qx.bom.client.Engine.getName()==bJ&&qx.bom.client.Browser.getDocumentMode()<9;},getPointerEvents:function(){var cq=document.documentElement;if(n in cq.style){var cs=cq.style.pointerEvents;cq.style.pointerEvents=Q;cq.style.pointerEvents=a;var cr=cq.style.pointerEvents==Q;cq.style.pointerEvents=cs;return cr;};return false;},getFlexboxSyntax:function(){var cu=null;var ct=document.createElement(bI);var cv=[{value:K,syntax:K},{value:E,syntax:y},{value:Y,syntax:K}];for(var i=0;i0){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.__dy(T);return {top:this.getSliceTop()||U[0],right:this.getSliceRight()||U[1],bottom:this.getSliceBottom()||U[2],left:this.getSliceLeft()||U[3]};},_applyBorderImage:function(){{};},__dy:function(bc){var bb=this.getBorderImageMode();var bd=0;var Y=0;var ba=0;var be=0;var bf=/(.*)(\.[a-z]+)$/.exec(bc);var V=bf[1];var X=bf[2];var W=qx.util.ResourceManager.getInstance();if(bb==I||bb==v){bd=W.getImageHeight(V+i+X);ba=W.getImageHeight(V+p+X);};if(bb==I||bb==D){Y=W.getImageWidth(V+m+X);be=W.getImageWidth(V+e+X);};return [bd,Y,ba,be];}}});})();(function(){var a=" 0",b="),to(",c="px",d="css.borderradius",e="from(",f=")",g="background-image",h="background",i="filter",j="background-size",k="', ",l="0",m="_applyLinearBackgroundGradient",n="-webkit-gradient(linear,",o="startColorPosition",p="background-color",q="deg, ",r="url(",s="css.gradient.legacywebkit",t="EndColorStr='#FF",u="startColor",v="shorthand",w="Color",x="px 100%",y="StartColorStr='#FF",z="vertical",A="",B="transparent",C="qx.ui.decoration.MLinearBackgroundGradient",D="% 100%",E="endColorPosition",F="canvas",G="(",H="css.gradient.linear",I="';)",J="endColor",K=", ",L="css.gradient.filter",M="horizontal",N="Number",O="100% ",P='2d',Q="%",R=" ",S="white",T="linear-gradient",U='progid:DXImageTransform.Microsoft.Gradient(GradientType=',V=",";qx.Mixin.define(C,{properties:{startColor:{check:w,nullable:true,apply:m},endColor:{check:w,nullable:true,apply:m},orientation:{check:[M,z],init:z,apply:m},startColorPosition:{check:N,init:0,apply:m},endColorPosition:{check:N,init:100,apply:m},colorPositionUnit:{check:[c,Q],init:Q,apply:m},gradientStart:{group:[u,o],mode:v},gradientEnd:{group:[J,E],mode:v}},members:{__dz:null,_styleLinearBackgroundGradient:function(W){var bj=this.__dA();var bn=bj.start;var bh=bj.end;var bf;if(!bn||!bh){return;};var bq=this.getColorPositionUnit();if(qx.core.Environment.get(s)){bq=bq===c?A:bq;if(this.getOrientation()==M){var bm=this.getStartColorPosition()+bq+a+bq;var bk=this.getEndColorPosition()+bq+a+bq;}else {var bm=l+bq+R+this.getStartColorPosition()+bq;var bk=l+bq+R+this.getEndColorPosition()+bq;};var bb=e+bn+b+bh+f;bf=n+bm+V+bk+V+bb+f;W[h]=bf;}else if(qx.core.Environment.get(L)&&!qx.core.Environment.get(H)&&qx.core.Environment.get(d)){if(!this.__dz){this.__dz=document.createElement(F);};var X=this.getOrientation()==z;var bj=this.__dA();var bg=X?200:1;var ba=X?1:200;var be=Math.max(100,this.getEndColorPosition()-this.getStartColorPosition());if(bq===c){if(X){bg=Math.max(bg,this.getEndColorPosition()-this.getStartColorPosition());}else {ba=Math.max(ba,this.getEndColorPosition()-this.getStartColorPosition());};}else {if(X){bg=Math.max(bg,(this.getEndColorPosition()-this.getStartColorPosition())*2);}else {ba=Math.max(ba,(this.getEndColorPosition()-this.getStartColorPosition())*2);};};this.__dz.width=ba;this.__dz.height=bg;var bd=this.__dz.getContext(P);if(X){var bp=bd.createLinearGradient(0,0,0,bg);}else {var bp=bd.createLinearGradient(0,0,ba,0);};if(bq===Q){bp.addColorStop(Math.max(0,this.getStartColorPosition())/be,bj.start);bp.addColorStop(this.getEndColorPosition()/be,bj.end);}else {var bc=X?bg:ba;bp.addColorStop(Math.max(0,this.getStartColorPosition())/bc,bj.start);bp.addColorStop(this.getEndColorPosition()/bc,bj.end);};bd.fillStyle=bp;bd.fillRect(0,0,ba,bg);var bf=r+this.__dz.toDataURL()+f;W[g]=bf;if(bq===Q){if(X){W[j]=O+be+Q;}else {W[j]=be+D;};}else {W[j]=X?bg+x:O+ba+c;};}else if(qx.core.Environment.get(L)&&!qx.core.Environment.get(H)){var bj=this.__dA();var bo=this.getOrientation()==M?1:0;var bn=bj.start;var bh=bj.end;if(!qx.util.ColorUtil.isHex6String(bn)){bn=qx.util.ColorUtil.stringToRgb(bn);bn=qx.util.ColorUtil.rgbToHexString(bn);};if(!qx.util.ColorUtil.isHex6String(bh)){bh=qx.util.ColorUtil.stringToRgb(bh);bh=qx.util.ColorUtil.rgbToHexString(bh);};bn=bn.substring(1,bn.length);bh=bh.substring(1,bh.length);bf=U+bo+K+y+bn+k+t+bh+I;if(W[i]){W[i]+=K+bf;}else {W[i]=bf;};if(!W[p]||W[p]==B){W[p]=S;};}else {var br=this.getOrientation()==M?0:270;var bi=bn+R+this.getStartColorPosition()+bq;var Y=bh+R+this.getEndColorPosition()+bq;var bl=qx.core.Environment.get(H);if(bl===T){br=this.getOrientation()==M?br+90:br-90;};bf=bl+G+br+q+bi+V+Y+f;if(W[g]){W[g]+=K+bf;}else {W[g]=bf;};};},__dA:function(){{var bs=qx.theme.manager.Color.getInstance();var bu=bs.resolve(this.getStartColor());var bt=bs.resolve(this.getEndColor());};return {start:bu,end:bt};},_applyLinearBackgroundGradient:function(){{};}}});})();(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="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:{__dB: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.__dB=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.__dB;}}});})();(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(m){var l=this._dynamic;var i=l[m];if(i){return i;};var k=this.getTheme();if(k!==null&&k.fonts[m]){var j=this.__dD(k.fonts[m]);return l[m]=(new j).set(k.fonts[m]);};return m;},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.__dD(o.fonts[q]);p[q]=(new n).set(o.fonts[q]);return true;};return false;},__dC: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.__dC(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.__dC(v,x);};var w=this.__dD(v[x]);u[x]=(new w).set(v[x]);u[x].themed=true;};};this._setDynamic(u);},__dD: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.__dE={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;},__dF:{fontFamily:r,fontSize:r,fontWeight:r,fontStyle:r,textDecoration:r,lineHeight:1.2,color:r,textShadow:r},getDefaultStyles:function(){return this.__dF;}},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:{__dE:null,_applySize:function(M,L){this.__dE.fontSize=M===null?null:M+b;},_applyLineHeight:function(O,N){this.__dE.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.__dE.fontFamily=R;},_applyBold:function(T,S){this.__dE.fontWeight=T==null?null:T?v:t;},_applyItalic:function(V,U){this.__dE.fontStyle=V==null?null:V?s:t;},_applyDecoration:function(X,W){this.__dE.textDecoration=X==null?null:X;},_applyColor:function(ba,Y){this.__dE.color=null;if(ba){this.__dE.color=qx.theme.manager.Color.getInstance().resolve(ba);};},_applyTextShadow:function(bc,bb){this.__dE.textShadow=bc==null?null:bc;},getStyles:function(){return this.__dE;}}});})();(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:{__dG:null,_applySources:function(h,k){var f=[];for(var i=0,l=h.length;i1){bm=bm+g+br[1];};if(this.__dL){bm=qx.util.Uri.getAbsolute(bm);};bn.push(bm);};if(qx.core.Environment.get(T)==S&&(parseInt(qx.core.Environment.get(Q))<9||qx.core.Environment.get(E)<9)){if(!this.__dN){this.__dN=new qx.event.Timer(100);this.__dN.addListener(t,this.__dP,this);};if(!this.__dN.isEnabled()){this.__dN.start();};this.__dJ.push([bo,bn,bq,bs]);}else {this.__dO(bo,bn,bq,bs);};},remove:function(bu){var bt=null;for(var i=0,l=this.__dH.length;i=9)||(bz==v&&bw>=3.6)||(bz==u&&bw>=6)){bv.push(bh);};if((bz==P&&bw>=10)||(bz==G&&bw>=3.1)||(bz==v&&bw>=3.5)||(bz==u&&bw>=4)||(bz==F&&by==z&&bx>=4.2)){bv.push(J);};if(bz==bi&&bw>=4){bv.push(y);};if(bz==p&&by==z&&bx>=4.1){bv.push(f);};return bv;},removeStyleSheet:function(){this.__dH=[];if(this.__dM){qx.bom.Stylesheet.removeSheet(this.__dM);};this.__dM=null;},__dO:function(bC,bE,bB,bF){if(!qx.lang.Array.contains(this.__dH,bC)){var bG=this.__dR(bE);var bD=this.__dS(bC,bG);if(!bD){throw new Error(R+bC+w);};if(!this.__dM){this.__dM=qx.bom.Stylesheet.createElement();};try{this.__dU(bD);}catch(bH){{};};this.__dH.push(bC);};if(!this.__dI[bC]){this.__dI[bC]=new qx.bom.webfonts.Validator(bC);this.__dI[bC].setTimeout(qx.bom.webfonts.Manager.VALIDATION_TIMEOUT);this.__dI[bC].addListenerOnce(s,this.__dQ,this);};if(bB){var bA=bF||window;this.__dI[bC].addListenerOnce(s,bB,bA);};this.__dI[bC].validate();},__dP:function(){if(this.__dJ.length==0){this.__dN.stop();return;};var bI=this.__dJ.shift();this.__dO.apply(this,bI);},__dQ:function(bJ){var bK=bJ.getData();if(bK.valid===false){qx.event.Timer.once(function(){this.remove(bK.family);},this,250);};},__dR:function(bL){var bN=qx.bom.webfonts.Manager.FONT_FORMATS;var bM={};for(var i=0,l=bL.length;i0?this.__dK:qx.bom.webfonts.Manager.FONT_FORMATS;for(var i=0,l=bR.length;i=this.getTimeout()){this.__ee.stop();this._reset();this.fireDataEvent(b,{family:this.getFontFamily(),valid:false});};};}},destruct:function(){this._reset();this.__ee.stop();this.__ee.removeListener(h,this.__eh,this);this._disposeObjects(m);}});})();(function(){var a="mshtml",b="engine.name",c="qx.bom.element.Dimension",d="0px",e="paddingRight",f="paddingLeft",g="opera",h="overflowY",i="paddingTop",j="overflowX",k="browser.documentmode",l="paddingBottom";qx.Bootstrap.define(c,{statics:{getWidth:function(n){var m=this._getBoundingClientRect(n);return Math.round(m.right-m.left);},getHeight:function(p){var o=this._getBoundingClientRect(p);return Math.round(o.bottom-o.top);},_getBoundingClientRect:function(t){var s=t.getBoundingClientRect();if(qx.core.Environment.get(k)===11&&!!document.msFullscreenElement&&window!==window.top&&this.__ei(t)){var q={};for(var r in s){q[r]=s[r]*100;};s=q;};return s;},__ei:function(u){if(document.msFullscreenElement===u){return true;};return qx.dom.Hierarchy.contains(document.msFullscreenElement,u);},getSize:function(v){return {width:this.getWidth(v),height:this.getHeight(v)};},__ej:{visible:true,hidden:true},getContentWidth:function(z){var w=qx.bom.element.Style;var x=qx.bom.element.Style.get(z,j);var y=parseInt(w.get(z,f)||d,10);var C=parseInt(w.get(z,e)||d,10);if(this.__ej[x]){var B=z.clientWidth;if((qx.core.Environment.get(b)==g)||qx.dom.Node.isBlockNode(z)){B=B-y-C;};if(qx.core.Environment.get(b)==a){if(B===0&&z.offsetHeight===0){return z.offsetWidth;};};return B;}else {if(z.clientWidth>=z.scrollWidth){return Math.max(z.clientWidth,z.scrollWidth)-y-C;}else {var A=z.scrollWidth-y;if(qx.core.Environment.get(b)==a){A-=C;};return A;};};},getContentHeight:function(H){var D=qx.bom.element.Style;var G=qx.bom.element.Style.get(H,h);var F=parseInt(D.get(H,i)||d,10);var E=parseInt(D.get(H,l)||d,10);if(this.__ej[G]){return H.clientHeight-F-E;}else {if(H.clientHeight>=H.scrollHeight){return Math.max(H.clientHeight,H.scrollHeight)-F-E;}else {return H.scrollHeight-F;};};},getContentSize:function(I){return {width:this.getContentWidth(I),height:this.getContentHeight(I)};}}});})();(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="engine.name",b=");",c="",d=")",e="zoom:1;filter:alpha(opacity=",f="qx.bom.element.Opacity",g="css.opacity",h=";",i="opacity:",j="alpha(opacity=",k="opacity",l="filter";qx.Bootstrap.define(f,{statics:{compile:qx.core.Environment.select(a,{"mshtml":function(m){if(m>=1){m=1;};if(m<0.00001){m=0;};if(qx.core.Environment.get(g)){return i+m+h;}else {return e+(m*100)+b;};},"default":function(n){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:{__ek:{},compile:function(o){return a+(this.__ek[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.__ek[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.__ek[g]=l;u.__ek[j]=e;};}});})();(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:{__el:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__em:function(j){var i=this.__el;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.__em(m)){return f;};};return a;},set:function(o,n){if(qx.core.Environment.get(c)){try{o.style[qx.core.Environment.get(c)]=n;}catch(p){{};};}else {{};};},reset:function(q){this.set(q,d);}}});})();(function(){var a="clip:auto;",b="rect(",c=")",d=");",e="",f="px",g="Could not parse clip string: ",h="qx.bom.element.Clip",i="string",j="clip:rect(",k=" ",l="clip",m="rect(auto,auto,auto,auto)",n="rect(auto, auto, auto, auto)",o="auto",p=",";qx.Bootstrap.define(h,{statics:{compile:function(q){if(!q){return a;};var v=q.left;var top=q.top;var u=q.width;var t=q.height;var r,s;if(v==null){r=(u==null?o:u+f);v=o;}else {r=(u==null?o:v+u+f);v=v+f;};if(top==null){s=(t==null?o:t+f);top=o;}else {s=(t==null?o:top+t+f);top=top+f;};return j+top+p+r+p+s+p+v+d;},get:function(z,D){var x=qx.bom.element.Style.get(z,l,D,false);var C,top,A,E;var w,y;if(typeof x===i&&x!==o&&x!==e){x=x.trim();if(/\((.*)\)/.test(x)){var F=RegExp.$1;if(/,/.test(F)){var B=F.split(p);}else {var B=F.split(k);};top=B[0].trim();w=B[1].trim();y=B[2].trim();C=B[3].trim();if(C===o){C=null;};if(top===o){top=null;};if(w===o){w=null;};if(y===o){y=null;};if(top!=null){top=parseInt(top,10);};if(w!=null){w=parseInt(w,10);};if(y!=null){y=parseInt(y,10);};if(C!=null){C=parseInt(C,10);};if(w!=null&&C!=null){A=w-C;}else if(w!=null){A=w;};if(y!=null&&top!=null){E=y-top;}else if(y!=null){E=y;};}else {throw new Error(g+x);};};return {left:C||null,top:top||null,width:A||null,height:E||null};},set:function(L,G){if(!G){L.style.clip=m;return;};var M=G.left;var top=G.top;var K=G.width;var J=G.height;var H,I;if(M==null){H=(K==null?o:K+f);M=o;}else {H=(K==null?o:M+K+f);M=M+f;};if(top==null){I=(J==null?o:J+f);top=o;}else {I=(J==null?o:top+J+f);top=top+f;};L.style.clip=b+top+p+H+p+I+p+M+c;},reset:function(N){N.style.clip=n;}}});})();(function(){var a="qx.bom.element.Style",b="css.borderimage",c="css.userselect",d="css.boxsizing",e="pixelLeft",f="css.textoverflow",g="px",h="Cascaded styles are not supported in this browser!",i="pixelBottom",j="style",k="pixelHeight",l="pixelWidth",m="css.appearance",n="pixelRight",o="css.usermodify",p="\"\"",q="",r="pixelTop",s=";",t=":";qx.Bootstrap.define(a,{statics:{__en:null,__eo:null,__ep:function(){var v={"appearance":qx.core.Environment.get(m),"userSelect":qx.core.Environment.get(c),"textOverflow":qx.core.Environment.get(f),"borderImage":qx.core.Environment.get(b),"userModify":qx.core.Environment.get(o),"boxSizing":qx.core.Environment.get(d)};this.__eo={};for(var u in qx.lang.Object.clone(v)){if(!v[u]){delete v[u];}else {this.__eo[u]=qx.bom.Style.getCssName(v[u]);};};this.__en=v;},__eq:function(name){var w=qx.bom.Style.getPropertyName(name);if(w){this.__en[name]=w;};return w;},__er:{width:l,height:k,left:e,right:n,top:r,bottom:i},__es:{clip:qx.bom.element.Clip,cursor:qx.bom.element.Cursor,opacity:qx.bom.element.Opacity,boxSizing:qx.bom.element.BoxSizing},compile:function(x){var A=[];var B=this.__es;var z=this.__eo;var name,y;for(name in x){y=x[name];if(y==null){continue;};name=this.__en[name]||this.__eq(name)||name;if(B[name]){A.push(B[name].compile(y));}else {if(!z[name]){z[name]=qx.bom.Style.getCssName(name);};A.push(z[name],t,y===q?p:y,s);};};return A.join(q);},setCss:function(D,C){D.setAttribute(j,C);},getCss:function(E){return E.getAttribute(j);},isPropertySupported:function(F){return (this.__es[F]||this.__en[F]||F in document.documentElement.style);},COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function(I,name,G,H){{};name=this.__en[name]||this.__eq(name)||name;if(H!==false&&this.__es[name]){this.__es[name].set(I,G);}else {I.style[name]=G!==null?G:q;};},setStyles:function(P,J,Q){{};var M=this.__en;var N=this.__es;var K=P.style;for(var O in J){var L=J[O];var name=M[O]||this.__eq(O)||O;if(L===undefined){if(Q!==false&&N[name]){N[name].reset(P);}else {K[name]=q;};}else {if(Q!==false&&N[name]){N[name].set(P,L);}else {K[name]=L!==null?L:q;};};};},reset:function(S,name,R){name=this.__en[name]||this.__eq(name)||name;if(R!==false&&this.__es[name]){this.__es[name].reset(S);}else {S.style[name]=q;};},get:function(W,name,Y,bb){name=this.__en[name]||this.__eq(name)||name;if(bb!==false&&this.__es[name]){return this.__es[name].get(W,Y);};switch(Y){case this.LOCAL_MODE:return W.style[name]||q;case this.CASCADED_MODE:if(W.currentStyle){return W.currentStyle[name]||q;};throw new Error(h);default:var U=qx.dom.Node.getDocument(W);var X=U.defaultView?U.defaultView.getComputedStyle:undefined;if(X!==undefined){var T=X(W,null);if(T&&T[name]){return T[name];};}else {if(!W.currentStyle){return W.style[name]||q;};var bd=W.currentStyle[name]||W.style[name]||q;if(/^-?[\.\d]+(px)?$/i.test(bd)){return bd;};var bc=this.__er[name];if(bc&&(bc in W.style)){var ba=W.style[name];W.style[name]=bd||0;var V=W.style[bc]+g;W.style[name]=ba;return V;};return bd;};return W.style[name]||q;};}},defer:function(be){be.__ep();}});})();(function(){var a="engine.name",b="CSS1Compat",c="position:absolute;width:0;height:0;width:1",d="engine.version",e="qx.bom.Document",f="1px",g="div";qx.Bootstrap.define(e,{statics:{isQuirksMode:qx.core.Environment.select(a,{"mshtml":function(h){if(qx.core.Environment.get(d)>=8){return (h||window).document.documentMode===5;}else {return (h||window).document.compatMode!==b;};},"webkit":function(i){if(document.compatMode===undefined){var j=(i||window).document.createElement(g);j.style.cssText=c;return j.style.width===f?true:false;}else {return (i||window).document.compatMode!==b;};},"default":function(k){return (k||window).document.compatMode!==b;}}),isStandardMode:function(l){return !this.isQuirksMode(l);},getWidth:function(m){var o=(m||window).document;var n=qx.bom.Viewport.getWidth(m);var scroll=this.isStandardMode(m)?o.documentElement.scrollWidth:o.body.scrollWidth;return Math.max(scroll,n);},getHeight:function(p){var r=(p||window).document;var q=qx.bom.Viewport.getHeight(p);var scroll=this.isStandardMode(p)?r.documentElement.scrollHeight:r.body.scrollHeight;return Math.max(scroll,q);}}});})();(function(){var a="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;},__et: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};};},__eu: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.__eu==null){this.__eu=this.__et(p);};q=this.__eu[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="qx.theme.manager.Icon",b="Theme",c="changeTheme",d="_applyTheme",e="singleton";qx.Class.define(a,{type:e,extend:qx.core.Object,properties:{theme:{check:b,nullable:true,apply:d,event:c}},members:{_applyTheme:function(i,g){var h=qx.util.AliasManager.getInstance();if(g){for(var f in g.aliases){h.remove(f);};};if(i){for(var f in i.aliases){h.add(f,i.aliases[f]);};};}}});})();(function(){var a="Missing appearance: ",b="_applyTheme",c="string",d="qx.theme.manager.Appearance",e=":",f="Theme",g="changeTheme",h="/",j="singleton";qx.Class.define(d,{type:j,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__ev={};this.__ew={};},properties:{theme:{check:f,nullable:true,event:g,apply:b}},members:{__ex:{},__ev:null,__ew:null,_applyTheme:function(){this.__ew={};this.__ev={};},__ey: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.__ey(v,u,l,w);};};};for(var i=0;i0){P+=e+E;};};var F=this.__ev;if(F[P]!==undefined){return F[P];};if(!J){J=this.__ex;};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.__ev=this.__ew=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.__ez(w.include);w.patch=this.__ez(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.__eC(v,w);this.__eA(v,w);this.$$registry[name]=v;for(var i=0,a=w.include,l=a.length;iP.width){P.width=P.minWidth;};if(P.maxWidthP.height){P.height=P.minHeight;};if(P.maxHeight=0;i-- ){var g=f[i];if(g.hasValidLayout()){continue;};if(g.isRootWidget()&&!g.hasUserBounds()){var j=g.getSizeHint();g.renderLayout(0,0,j.width,j.height);}else {var h=g.getBounds();g.renderLayout(h.left,h.top,h.width,h.height);};};},getNestingLevel:function(l){var k=this.__eG;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;},__eH:function(){var t=qx.ui.core.queue.Visibility;this.__eG={};var s=[];var r=this.__dJ;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;},__eI:function(){var x=[];var z=this.__eH();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="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="qxWeb",b="data-qx-class";qx.Bootstrap.define(a,{extend:qx.type.BaseArray,statics:{__eg:[],$$qx:qx,$init:function(g,e){var f=[];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="ipod",b="pc",c="ps3",d=")",e="device.type",f="psp",g="wii",h="xbox",i="\.",j="ipad",k="ds",l="(",m="mobile",n="tablet",o="ontouchstart",p="g",q="iphone",r="|",s="qx.bom.client.Device",t="desktop",u="device.name",v="device.touch",w="undefined",x="device.pixelRatio";qx.Bootstrap.define(s,{statics:{__cu:{"iPod":a,"iPad":j,"iPhone":q,"PSP":f,"PLAYSTATION 3":c,"Nintendo Wii":g,"Nintendo DS":k,"XBOX":h,"Xbox":h},getName:function(){var A=[];for(var z in qx.bom.client.Device.__cu){A.push(z);};var B=new RegExp(l+A.join(r).replace(/\./g,i)+d,p);var y=B.exec(navigator.userAgent);if(y&&y[1]){return qx.bom.client.Device.__cu[y[1]];};return b;},getType:function(){return qx.bom.client.Device.detectDeviceType(navigator.userAgent);},detectDeviceType:function(C){if(qx.bom.client.Device.detectTabletDevice(C)){return n;}else if(qx.bom.client.Device.detectMobileDevice(C)){return m;};return t;},detectMobileDevice:function(D){return /android.+mobile|ip(hone|od)|bada\/|blackberry|BB10|maemo|opera m(ob|in)i|fennec|NetFront|phone|psp|symbian|IEMobile|windows (ce|phone)|xda/i.test(D);},detectTabletDevice:function(F){var G=(/MSIE 10/i.test(F))&&(/ARM/i.test(F))&&!(/windows phone/i.test(F));var E=(!(/android.+mobile|Tablet PC/i.test(F))&&(/Android|ipad|tablet|playbook|silk|kindle|psp/i.test(F)));return G||E;},getDevicePixelRatio:function(){if(typeof window.devicePixelRatio!==w){return window.devicePixelRatio;};return 1;},getTouch:function(){return ((o in window)||window.navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0);}},defer:function(H){qx.core.Environment.add(u,H.getName);qx.core.Environment.add(v,H.getTouch);qx.core.Environment.add(e,H.getType);qx.core.Environment.add(x,H.getDevicePixelRatio);}});})();(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;},copyEventsTo:function(bs){var bq=this.concat();var br=bs.concat();for(var i=bq.length-1;i>=0;i-- ){var bn=bq[i].getElementsByTagName(c);for(var j=0;j=0;i-- ){var bn=br[i].getElementsByTagName(c);for(var j=0;j=0;j-- ){var bp=bo[name][j].listener;if(bp.original){bp=bp.original;};qxWeb(br[i]).on(name,bp,bo[name][j].ctx);};};};},__eY:false,ready:function(bu){if(document.readyState===s){window.setTimeout(bu,1);return;};var bv=function(){qx.module.Event.__eY=true;bu();};qxWeb(window).on(h,bv);var bw=function(){qxWeb(window).off(h,bv);bu();};if(qxWeb.env.get(b)!==a||qxWeb.env.get(r)>8){qx.bom.Event.addNativeListener(document,q,bw);}else {var bx=function(){if(qx.module.Event.__eY){return;};try{document.documentElement.doScroll(n);if(document.body){bw();};}catch(by){window.setTimeout(bx,100);};};bx();};},hover:function(bz,bA){this.on(g,bz,this);if(qx.lang.Type.isFunction(bA)){this.on(f,bA,this);};return this;},onMatchTarget:function(bC,bD,bF,bE){bE=bE!==undefined?bE:this;var bB=function(e){var bG=qxWeb(e.getTarget());if(bG.is(bD)){bF.call(bE,bG,qxWeb.object.clone(e));};};this.forEach(function(bH){var bI={type:bC,listener:bB,callback:bF,context:bE};if(!bH.$$matchTargetInfo){bH.$$matchTargetInfo=[];};bH.$$matchTargetInfo.push(bI);});this.on(bC,bB);return this;},offMatchTarget:function(bJ,bK,bM,bL){bL=bL!==undefined?bL:this;this.forEach(function(bN){if(bN.$$matchTargetInfo&&qxWeb.type.get(bN.$$matchTargetInfo)==d){var bO=bN.$$matchTargetInfo;for(var i=bO.length-1;i>=0;i-- ){var bP=bO[i];if(bP.type==bJ&&bP.callback==bM&&bP.context==bL){this.off(bJ,bP.listener);bO.splice(i,1);};};if(bO.length===0){bN.$$matchTargetInfo=null;};};},this);return this;},$registerNormalization:function(bT,bQ){if(!qx.lang.Type.isArray(bT)){bT=[bT];};var bR=qx.module.Event.__eU;for(var i=0,l=bT.length;i0){return;};};};s.$$pointerHandler.dispose();s.$$pointerHandler=undefined;};}},defer:function(t){qxWeb.$registerEventHook(t.TYPES,t.register,t.unregister);}});})();(function(){var a="qx.event.Emitter",b="*";qx.Bootstrap.define(a,{extend:Object,statics:{__fa:[]},members:{__eW:null,__fb:null,on:function(name,c,d){var e=qx.event.Emitter.__fa.length;this.__fc(name).push({listener:c,ctx:d,id:e,name:name});qx.event.Emitter.__fa.push({name:name,listener:c,ctx:d});return e;},once:function(name,f,g){var h=qx.event.Emitter.__fa.length;this.__fc(name).push({listener:f,ctx:g,once:true,id:h});qx.event.Emitter.__fa.push({name:name,listener:f,ctx:g});return h;},off:function(name,m,k){var l=this.__fc(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.__fa[n.id]=null;return n.id;};};return null;},offById:function(p){var o=qx.event.Emitter.__fa[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.__fc(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.__eW;},getEntryById:function(F){for(var name in this.__eW){var E=this.__eW[name];for(var i=0,j=E.length;i=0;i-- ){var bk=new qx.event.type.dom.Pointer(m,bf,{identifier:this.__fi[i].identifier,target:bf.target,pointerType:g,pointerId:this.__fi[i].identifier+2});this._fireEvent(bk,m,bf.target);};this.__fm=null;this.__fi=[];return;};if(bf.type==o&&this.__fm===null){this.__fm=bi[0].identifier;};for(var i=0,l=bi.length;i1){return;};if(bn.type==H&&bp>0){return;};if(bn.type==J){this.__fh[bn.which]=0;return;};var bq=new qx.event.type.dom.Pointer(bs,bn,bt);this._fireEvent(bq,bs,bo);},_determineActiveTouches:function(bx,bw){if(bx==o){for(var i=0;i=8){bj.READONLY_PROPERTIES=bj.READONLY_PROPERTIES.concat(bj.MOUSE_PROPERTIES);};}});})();(function(){var a="start",b="animationEnd",c="",d="none",e="browser.name",f="browser.version",g="qx.module.Animation",h="animationIteration",j="end",k="animationStart",l="ease-in",m="iteration",n="ease-out",o="ie",p="display";qx.Bootstrap.define(g,{events:{"animationStart":undefined,"animationIteration":undefined,"animationEnd":undefined},statics:{getAnimationHandles:function(){var q=[];for(var i=0;i1){bb[ba[0]]=ba[1].replace(u,h);};};return bb;},__fF:function(bw,bh,bo,bi,be,bq){var bp=new Array(bw);var bm=1;bp[0]=this.__fE(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.__fp){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.__fE(bi[100]);return bp;},__fG:function(by){return by.substring((parseFloat(by)+h).length,by.length);},__fH:function(bC,bB,bz,x){var bA=parseFloat(bC)-parseFloat(bB);return (parseFloat(bB)+bA*qx.bom.AnimationFrame.calculateTiming(bz,x))+this.__fG(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.__fJ(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.__fJ(bH,bJ.keyFrames[bL]);}else {this.__fJ(bH,bI);};bH.$$animation=null;bK.el=null;bK.ended=true;bK.animationId=null;bK.emit(s,bH);return bK;},__fI:function(bN,bM){if(bM==undefined){return bN;};if(bM==n){return Number.MAX_VALUE;};return bN*bM;},__fJ: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];};};},__fK:function(bT,bR){var bU=100;for(var i=0;ithis.__fB){bS=bS/2;};return Math.round(bS);},__fL:function(bW){var bV=Object.keys(bW);for(var i=0;i-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.__fN=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)){bj.style.visibility=bg.__gj?q:N;};};};delete bd[bf];};var scroll=this._scroll;for(var bf in scroll){bg=scroll[bf];var bo=bg.__gg;if(bo&&bo.offsetWidth){var ba=true;if(bg.__gm!=null){bg.__gg.scrollLeft=bg.__gm;delete bg.__gm;};if(bg.__gn!=null){bg.__gg.scrollTop=bg.__gn;delete bg.__gn;};var bk=bg.__gk;if(bk!=null){var be=bk.element.getDomElement();if(be&&be.offsetWidth){qx.bom.element.Scroll.intoViewX(be,bo,bk.align);delete bg.__gk;}else {ba=false;};};var bl=bg.__gl;if(bl!=null){var be=bl.element.getDomElement();if(be&&be.offsetWidth){qx.bom.element.Scroll.intoViewY(be,bo,bl.align);delete bg.__gl;}else {ba=false;};};if(ba){delete scroll[bf];};};};var Y={"releaseCapture":1,"blur":1,"deactivate":1};for(var i=0;i0){this._insertChildren();};}else {this._syncData();if(this.__gu){this._syncChildren();};};delete this.__gu;},_insertChildren:function(){var bv=this.__gt;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.__gi||bD.__gv!==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.__fW]){return true;};return false;},setSelectable:function(cG){this.setAttribute(A,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.__fW];},include:function(){if(this.__gi){return this;};delete this.__gi;if(this.__gv){this.__gv._scheduleChildrenUpdate();};return this;},exclude:function(){if(!this.__gi){return this;};this.__gi=false;if(this.__gv){this.__gv._scheduleChildrenUpdate();};return this;},isIncluded:function(){return this.__gi===true;},fadeIn:function(cH){var cI=qxWeb(this.__gg);if(cI.isPlaying()){cI.stop();};if(!this.__gg){this.__gw();cI.push(this.__gg);};if(this.__gg){cI.fadeIn(cH);return cI.getAnimationHandles()[0];};},fadeOut:function(cJ){var cK=qxWeb(this.__gg);if(cK.isPlaying()){cK.stop();};if(this.__gg){cK.fadeOut(cJ).once(n,function(){this.hide();qx.html.Element.flush();},this);return cK.getAnimationHandles()[0];};},show:function(){if(this.__gj){return this;};if(this.__gg){qx.html.Element._visibility[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};if(this.__gv){this.__gv._scheduleChildrenUpdate();};delete this.__gj;return this;},hide:function(){if(!this.__gj){return this;};if(this.__gg){qx.html.Element._visibility[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};this.__gj=false;return this;},isVisible:function(){return this.__gj===true;},scrollChildIntoViewX:function(cO,cM,cP){var cL=this.__gg;var cN=cO.getDomElement();if(cP!==false&&cL&&cL.offsetWidth&&cN&&cN.offsetWidth){qx.bom.element.Scroll.intoViewX(cN,cL,cM);}else {this.__gk={element:cO,align:cM};qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};delete this.__gm;},scrollChildIntoViewY:function(cT,cR,cU){var cQ=this.__gg;var cS=cT.getDomElement();if(cU!==false&&cQ&&cQ.offsetWidth&&cS&&cS.offsetWidth){qx.bom.element.Scroll.intoViewY(cS,cQ,cR);}else {this.__gl={element:cT,align:cR};qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};delete this.__gn;},scrollToX:function(x,cV){var cW=this.__gg;if(cV!==true&&cW&&cW.offsetWidth){cW.scrollLeft=x;delete this.__gm;}else {this.__gm=x;qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};delete this.__gk;},getScrollX:function(){var cX=this.__gg;if(cX){return cX.scrollLeft;};return this.__gm||0;},scrollToY:function(y,da){var cY=this.__gg;if(da!==true&&cY&&cY.offsetWidth){cY.scrollTop=y;delete this.__gn;}else {this.__gn=y;qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};delete this.__gl;},getScrollY:function(){var dc=this.__gg;if(dc){return dc.scrollTop;};return this.__gn||0;},disableScrolling:function(){this.enableScrolling();this.scrollToX(0);this.scrollToY(0);this.addListener(L,this.__gC,this);},enableScrolling:function(){this.removeListener(L,this.__gC,this);},__gB:null,__gC:function(e){if(!this.__gB){this.__gB=true;this.__gg.scrollTop=0;this.__gg.scrollLeft=0;delete this.__gB;};},getTextSelection:function(){var dd=this.__gg;if(dd){return qx.bom.Selection.get(dd);};return null;},getTextSelectionLength:function(){var de=this.__gg;if(de){return qx.bom.Selection.getLength(de);};return null;},getTextSelectionStart:function(){var df=this.__gg;if(df){return qx.bom.Selection.getStart(df);};return null;},getTextSelectionEnd:function(){var dg=this.__gg;if(dg){return qx.bom.Selection.getEnd(dg);};return null;},setTextSelection:function(dh,di){var dj=this.__gg;if(dj){qx.bom.Selection.set(dj,dh,di);return;};qx.html.Element.__ga[this.toHashCode()]={element:this,start:dh,end:di};qx.html.Element._scheduleFlush(w);},clearTextSelection:function(){var dk=this.__gg;if(dk){qx.bom.Selection.clear(dk);};delete qx.html.Element.__ga[this.toHashCode()];},__gD:function(dl,dm){var dn=qx.html.Element._actions;dn.push({type:dl,element:this,args:dm||[]});qx.html.Element._scheduleFlush(w);},focus:function(){this.__gD(f);},blur:function(){this.__gD(g);},activate:function(){this.__gD(F);},deactivate:function(){this.__gD(k);},capture:function(dp){this.__gD(p,[dp!==false]);},releaseCapture:function(){this.__gD(u);},setStyle:function(dq,dr,ds){if(!this.__fX){this.__fX={};};if(this.__fX[dq]==dr){return this;};if(dr==null){delete this.__fX[dq];}else {this.__fX[dq]=dr;};if(this.__gg){if(ds){qx.bom.element.Style.set(this.__gg,dq,dr);return this;};if(!this.__go){this.__go={};};this.__go[dq]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};return this;},setStyles:function(du,dw){var dv=qx.bom.element.Style;if(!this.__fX){this.__fX={};};if(this.__gg){if(!this.__go){this.__go={};};for(var dt in du){var dx=du[dt];if(this.__fX[dt]==dx){continue;};if(dx==null){delete this.__fX[dt];}else {this.__fX[dt]=dx;};if(dw){dv.set(this.__gg,dt,dx);continue;};this.__go[dt]=true;};qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(w);}else {for(var dt in du){var dx=du[dt];if(this.__fX[dt]==dx){continue;};if(dx==null){delete this.__fX[dt];}else {this.__fX[dt]=dx;};};};return this;},removeStyle:function(dz,dy){this.setStyle(dz,null,dy);return this;},getStyle:function(dA){return this.__fX?this.__fX[dA]:null;},getAllStyles:function(){return this.__fX||null;},setAttribute:function(dB,dC,dD){if(!this.__fY){this.__fY={};};if(this.__fY[dB]==dC){return this;};if(dC==null){delete this.__fY[dB];}else {this.__fY[dB]=dC;};if(this.__gg){if(dD){qx.bom.element.Attribute.set(this.__gg,dB,dC);return this;};if(!this.__gp){this.__gp={};};this.__gp[dB]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};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.__fY?this.__fY[dJ]:null;},addClass:function(name){var dK=((this.getAttribute(j)||z)+M+name).trim();this.setAttribute(j,dK);},removeClass:function(name){var dL=this.getAttribute(j);if(dL){this.setAttribute(j,(dL.replace(name,z)).trim());};},_applyProperty:function(name,dM){},_setProperty:function(dN,dO,dP){if(!this.__gr){this.__gr={};};if(this.__gr[dN]==dO){return this;};if(dO==null){delete this.__gr[dN];}else {this.__gr[dN]=dO;};if(this.__gg){if(dP){this._applyProperty(dN,dO);return this;};if(!this.__gq){this.__gq={};};this.__gq[dN]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};return this;},_removeProperty:function(dR,dQ){return this._setProperty(dR,null,dQ);},_getProperty:function(dT){var dS=this.__gr;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.__gg){return qx.event.Registration.addListener(this.__gg,ea,dW,self,dV);};if(!this.__gs){this.__gs={};};if(dV==null){dV=false;};var dY=qx.event.Manager.getNextUniqueId();var eb=ea+(dV?d:t)+dY;this.__gs[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.__gg){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.__gg,ej,ed,self,ec);}else {var ef=this.__gs;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.__gg){qx.event.Registration.removeListenerById(this.__gg,ek);}else {delete this.__gs[ek];};return this;},hasListener:function(en,em){if(this.$$disposed){return false;};if(this.__gg){return qx.event.Registration.hasListener(this.__gg,en,em);};var eo=this.__gs;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.__gg){return qx.event.Registration.getManager(this.__gg).serializeListeners(this.__gg);};var er=[];for(var et in this.__gs){var es=this.__gs[et];er.push({type:es.type,handler:es.listener,self:es.self,capture:es.capture});};return er;}},defer:function(eu){eu.__gE=new qx.util.DeferredCall(eu.flush,eu);},destruct:function(){var ev=this.__gg;if(ev){qx.event.Registration.getManager(ev).removeAllListeners(ev);ev.$$element=z;};if(!qx.core.ObjectRegistry.inShutDown){var parent=this.__gv;if(parent&&!parent.$$disposed){parent.remove(this);};};this._disposeArray(o);this.__fY=this.__fX=this.__gs=this.__gr=this.__gp=this.__go=this.__gq=this.__gg=this.__gv=this.__gk=this.__gl=null;}});})();(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.__fV=g;this.__gF={};qx.event.handler.Appear.__gG[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,__gG:{},refresh:function(){var h=this.__gG;for(var i in h){h[i].refresh();};}},members:{__fV:null,__gF:null,canHandleEvent:function(k,j){},registerEvent:function(o,p,m){var n=qx.core.ObjectRegistry.toHashCode(o)+p;var l=this.__gF;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.__gF;if(!q){return;};if(q[s]){delete q[s];};},refresh:function(){var A=this.__gF;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.__fV.dispatchEvent(x,z);};};}},destruct:function(){this.__fV=this.__gF=null;delete qx.event.handler.Appear.__gG[this.$$hash];},defer:function(B){qx.event.Registration.addHandler(B);}});})();(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;j0){var bg=Date.now()-qx.event.handler.GestureCore.DOUBLETAP_TIME;for(var bi in this.__gM){if(bi=Math.abs(cp.y))?E:n;var ch=cp[cr];var ci=cm.SWIPE_DIRECTION[cr][ch<0?0:1];var co=(cn!==0)?ch/cn:0;var cl={startTime:cq.startTime,duration:cn,axis:cr,direction:ci,distance:ch,velocity:co};return cl;},__gX:function(cs,ct,cu){ct.delta=this._getDeltaCoordinates(ct);this._fireEvent(ct,cs,ct.target||cu);},_fireRoll:function(cw,cv,cx){if(cw.type===qx.core.Environment.get(g).type){cw.delta={x:qx.util.Wheel.getDelta(cw,E)*qx.event.handler.GestureCore.ROLL_FACTOR,y:qx.util.Wheel.getDelta(cw,n)*qx.event.handler.GestureCore.ROLL_FACTOR};cw.delta.axis=Math.abs(cw.delta.x/cw.delta.y)<1?n:E;cw.pointerType=j;}else {var cy=this.__gL[cw.pointerId];cw.delta={x:-cy.velocityX,y:-cy.velocityY,axis:Math.abs(cy.velocityX/cy.velocityY)<1?n:E};};this._fireEvent(cw,h,cw.target||cx);},__gY:function(cz,cB){if(!cz.isPrimary){var cA=this._calcAngle();cz.angle=Math.round((cA-this.__gR)%360);this._fireEvent(cz,k,this.__gP);};},__ha:function(cE,cF){if(!cE.isPrimary){var cC=this._calcDistance();var cD=cC/this.__gT;cE.scale=(Math.round(cD*100)/100);this._fireEvent(cE,b,this.__gP);};},__hb:function(cG,cH){var cI=this.__gL[cG.pointerId];if(cI){this._fireEvent(cG,f,cG.target||cH);cI.longTapTimer=null;cI.isTap=false;};},__hc:function(cJ){if(cJ.longTapTimer){window.clearTimeout(cJ.longTapTimer);cJ.longTapTimer=null;};},isBelowTapMaxDistance:function(event){var cK=this._calcDelta(event);var cL=qx.event.handler.GestureCore;return (Math.abs(cK.x)<=cL.TAP_MAX_DISTANCE&&Math.abs(cK.y)<=cL.TAP_MAX_DISTANCE);},dispose:function(){for(var cM in this.__gL){this.__hc(cM);};this._stopObserver();this.__fe=this.__ff=null;}}});})();(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.__hd(f);};if(d===a){var x=0;if(e.wheelDelta!==undefined){if(e.wheelDeltaX!==undefined){x=e.wheelDeltaX?this.__hd(-e.wheelDeltaX):0;};}else {if(e.axis&&e.axis==e.HORIZONTAL_AXIS&&(e.detail!==undefined)&&(e.detail>0)){x=this.__hd(e.detail);}else if(e.deltaX!==undefined){x=this.__hd(e.deltaX);};};return x;};if(d===b){var y=0;if(e.wheelDelta!==undefined){if(e.wheelDeltaY!==undefined){y=e.wheelDeltaY?this.__hd(-e.wheelDeltaY):0;}else {y=this.__hd(-e.wheelDelta);};}else {if(!(e.axis&&e.axis==e.HORIZONTAL_AXIS)&&(e.detail!==undefined)&&(e.detail>0)){y=this.__hd(e.detail);}else if(e.deltaY!==undefined){y=this.__hd(e.deltaY);};};return y;};return 0;},__hd:function(j){var g=Math.abs(j);if(qx.util.Wheel.MINSCROLL==null||qx.util.Wheel.MINSCROLL>g){qx.util.Wheel.MINSCROLL=g;this.__he();};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="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="textarea",l="_applyActive",m='character',n="input",o="ios",p="",q="qxSelectable",r="tabIndex",s="off",t="on",u="activate",v="focusin",w="mshtml",x="engine.name",y="mouseup",z="DOMFocusOut",A="focusout",B="qxKeepFocus",C="draggesture",D="qxKeepActive";qx.Class.define(g,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(E){qx.core.Object.call(this);this._manager=E;this._window=E.getWindow();this._document=this._window.document;this._root=this._document.documentElement;this._body=this._document.body;if((qx.core.Environment.get(b)==o&&parseFloat(qx.core.Environment.get(f))>6)&&(!qx.application.Inline||!qx.core.Init.getApplication() instanceof qx.application.Inline)){this.__hA=true;};this._initObserver();},properties:{active:{apply:l,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(x,{"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:{__hB:null,__hC:null,__hD:null,__hE:null,__hF:null,__hG:null,__hH:null,__hI:null,__hJ:null,__hK:null,__hL:p,__hM:p,__hA:false,__hN:null,canHandleEvent:function(G,F){},registerEvent:function(J,I,H){},unregisterEvent:function(M,L,K){},focus:function(N){if((qx.core.Environment.get(x)==w)){window.setTimeout(function(){try{N.focus();var O=qx.bom.Selection.get(N);if(O.length==0){var P=N.createTextRange();P.moveStart(m,N.value.length);P.collapse();P.select();};}catch(Q){};},0);}else {try{N.focus();}catch(R){};};this.setFocus(N);this.setActive(N);},activate:function(S){this.setActive(S);},blur:function(T){try{T.blur();}catch(U){};if(this.getActive()===T){this.resetActive();};if(this.getFocus()===T){this.resetFocus();};},deactivate:function(V){if(this.getActive()===V){this.resetActive();};},tryActivate:function(X){var W=this.__ic(X);if(W){this.setActive(W);};},__hn:function(Y,bb,be,bd){var bc=qx.event.Registration;var ba=bc.createEvent(be,qx.event.type.Focus,[Y,bb,bd]);bc.dispatchEvent(Y,ba);},_windowFocused:true,__hO:function(){if(this._windowFocused){this._windowFocused=false;this.__hn(this._window,null,c,false);};},__hP:function(){if(!this._windowFocused){this._windowFocused=true;this.__hn(this._window,null,e,false);};},_initObserver:qx.core.Environment.select(x,{"gecko":function(){this.__hB=qx.lang.Function.listener(this.__hV,this);this.__hC=qx.lang.Function.listener(this.__hW,this);this.__hD=qx.lang.Function.listener(this.__hU,this);this.__hE=qx.lang.Function.listener(this.__hT,this);this.__hF=qx.lang.Function.listener(this.__hQ,this);qx.bom.Event.addNativeListener(this._document,d,this.__hB,true);qx.bom.Event.addNativeListener(this._document,y,this.__hC,true);qx.bom.Event.addNativeListener(this._window,e,this.__hD,true);qx.bom.Event.addNativeListener(this._window,c,this.__hE,true);qx.bom.Event.addNativeListener(this._window,C,this.__hF,true);},"mshtml":function(){this.__hB=qx.lang.Function.listener(this.__hV,this);this.__hC=qx.lang.Function.listener(this.__hW,this);this.__hH=qx.lang.Function.listener(this.__hR,this);this.__hI=qx.lang.Function.listener(this.__hS,this);this.__hG=qx.lang.Function.listener(this.__hY,this);qx.bom.Event.addNativeListener(this._document,d,this.__hB);qx.bom.Event.addNativeListener(this._document,y,this.__hC);qx.bom.Event.addNativeListener(this._document,v,this.__hH);qx.bom.Event.addNativeListener(this._document,A,this.__hI);qx.bom.Event.addNativeListener(this._document,a,this.__hG);},"webkit":function(){this.__hB=qx.lang.Function.listener(this.__hV,this);this.__hC=qx.lang.Function.listener(this.__hW,this);this.__hI=qx.lang.Function.listener(this.__hS,this);this.__hD=qx.lang.Function.listener(this.__hU,this);this.__hE=qx.lang.Function.listener(this.__hT,this);this.__hG=qx.lang.Function.listener(this.__hY,this);qx.bom.Event.addNativeListener(this._document,d,this.__hB,true);qx.bom.Event.addNativeListener(this._document,y,this.__hC,true);qx.bom.Event.addNativeListener(this._document,a,this.__hG,false);qx.bom.Event.addNativeListener(this._window,z,this.__hI,true);qx.bom.Event.addNativeListener(this._window,e,this.__hD,true);qx.bom.Event.addNativeListener(this._window,c,this.__hE,true);},"opera":function(){this.__hB=qx.lang.Function.listener(this.__hV,this);this.__hC=qx.lang.Function.listener(this.__hW,this);this.__hH=qx.lang.Function.listener(this.__hR,this);this.__hI=qx.lang.Function.listener(this.__hS,this);qx.bom.Event.addNativeListener(this._document,d,this.__hB,true);qx.bom.Event.addNativeListener(this._document,y,this.__hC,true);qx.bom.Event.addNativeListener(this._window,i,this.__hH,true);qx.bom.Event.addNativeListener(this._window,z,this.__hI,true);}}),_stopObserver:qx.core.Environment.select(x,{"gecko":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__hB,true);qx.bom.Event.removeNativeListener(this._document,y,this.__hC,true);qx.bom.Event.removeNativeListener(this._window,e,this.__hD,true);qx.bom.Event.removeNativeListener(this._window,c,this.__hE,true);qx.bom.Event.removeNativeListener(this._window,C,this.__hF,true);},"mshtml":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__hB);qx.bom.Event.removeNativeListener(this._document,y,this.__hC);qx.bom.Event.removeNativeListener(this._document,v,this.__hH);qx.bom.Event.removeNativeListener(this._document,A,this.__hI);qx.bom.Event.removeNativeListener(this._document,a,this.__hG);},"webkit":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__hB,true);qx.bom.Event.removeNativeListener(this._document,y,this.__hC,true);qx.bom.Event.removeNativeListener(this._document,a,this.__hG,false);qx.bom.Event.removeNativeListener(this._window,z,this.__hI,true);qx.bom.Event.removeNativeListener(this._window,e,this.__hD,true);qx.bom.Event.removeNativeListener(this._window,c,this.__hE,true);},"opera":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__hB,true);qx.bom.Event.removeNativeListener(this._document,y,this.__hC,true);qx.bom.Event.removeNativeListener(this._window,i,this.__hH,true);qx.bom.Event.removeNativeListener(this._window,z,this.__hI,true);}}),__hQ:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"gecko":function(bf){var bg=qx.bom.Event.getTarget(bf);if(!this.__id(bg)){qx.bom.Event.preventDefault(bf);};},"default":null})),__hR:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"mshtml":function(bi){this.__hP();var bj=qx.bom.Event.getTarget(bi);var bh=this.__ib(bj);if(bh){this.setFocus(bh);};this.tryActivate(bj);},"opera":function(bk){var bl=qx.bom.Event.getTarget(bk);if(bl==this._document||bl==this._window){this.__hP();if(this.__hJ){this.setFocus(this.__hJ);delete this.__hJ;};if(this.__hK){this.setActive(this.__hK);delete this.__hK;};}else {this.setFocus(bl);this.tryActivate(bl);if(!this.__id(bl)){bl.selectionStart=0;bl.selectionEnd=0;};};},"default":null})),__hS:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"mshtml":function(bm){var bn=qx.bom.Event.getRelatedTarget(bm);if(bn==null){this.__hO();this.resetFocus();this.resetActive();};},"webkit":function(bo){var bp=qx.bom.Event.getTarget(bo);if(bp===this.getFocus()){this.resetFocus();};if(bp===this.getActive()){this.resetActive();};},"opera":function(bq){var br=qx.bom.Event.getTarget(bq);if(br==this._document){this.__hO();this.__hJ=this.getFocus();this.__hK=this.getActive();this.resetFocus();this.resetActive();}else {if(br===this.getFocus()){this.resetFocus();};if(br===this.getActive()){this.resetActive();};};},"default":null})),__hT:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"gecko":function(bs){var bt=qx.bom.Event.getTarget(bs);if(bt===this._window||bt===this._document){this.__hO();this.resetActive();this.resetFocus();};},"webkit":function(bu){var bv=qx.bom.Event.getTarget(bu);if(bv===this._window||bv===this._document){this.__hO();this.__hJ=this.getFocus();this.__hK=this.getActive();this.resetActive();this.resetFocus();};},"default":null})),__hU:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"gecko":function(bw){var bx=qx.bom.Event.getTarget(bw);if(bx===this._window||bx===this._document){this.__hP();bx=this._body;};this.setFocus(bx);this.tryActivate(bx);},"webkit":function(by){var bz=qx.bom.Event.getTarget(by);if(bz===this._window||bz===this._document){this.__hP();if(this.__hJ){this.setFocus(this.__hJ);delete this.__hJ;};if(this.__hK){this.setActive(this.__hK);delete this.__hK;};}else {this.__hN=by.relatedTarget;this.setFocus(bz);this.__hN=null;this.tryActivate(bz);};},"default":null})),__hV:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"mshtml":function(bB){var bC=qx.bom.Event.getTarget(bB);var bA=this.__ib(bC);if(bA){if(!this.__id(bC)){bC.unselectable=t;try{document.selection.empty();}catch(bD){};try{bA.focus();}catch(bE){};};}else {qx.bom.Event.preventDefault(bB);if(!this.__id(bC)){bC.unselectable=t;};};},"webkit":function(bG){var bH=qx.bom.Event.getTarget(bG);var bF=this.__ib(bH);if(bF){this.setFocus(bF);}else {qx.bom.Event.preventDefault(bG);};},"gecko":function(bJ){var bK=qx.bom.Event.getTarget(bJ);var bI=this.__ib(bK);if(bI){this.setFocus(bI);}else {qx.bom.Event.preventDefault(bJ);};},"opera":function(bN){var bO=qx.bom.Event.getTarget(bN);var bL=this.__ib(bO);if(!this.__id(bO)){qx.bom.Event.preventDefault(bN);if(bL){var bM=this.getFocus();if(bM&&bM.selectionEnd){bM.selectionStart=0;bM.selectionEnd=0;bM.blur();};if(bL){this.setFocus(bL);};};}else if(bL){this.setFocus(bL);};},"default":null})),__hW:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"mshtml":function(bP){var bQ=qx.bom.Event.getTarget(bP);if(bQ.unselectable){bQ.unselectable=s;};this.tryActivate(this.__hX(bQ));},"gecko":function(bR){var bS=qx.bom.Event.getTarget(bR);while(bS&&bS.offsetWidth===undefined){bS=bS.parentNode;};if(bS){this.tryActivate(bS);};},"webkit":function(bT){var bU=qx.bom.Event.getTarget(bT);this.tryActivate(this.__hX(bU));},"opera":function(bV){var bW=qx.bom.Event.getTarget(bV);this.tryActivate(this.__hX(bW));},"default":null})),__hX:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"mshtml":function(bX){var bY=this.getFocus();if(bY&&bX!=bY&&(bY.nodeName.toLowerCase()===n||bY.nodeName.toLowerCase()===k)){bX=bY;};return bX;},"webkit":function(ca){var cb=this.getFocus();if(cb&&ca!=cb&&(cb.nodeName.toLowerCase()===n||cb.nodeName.toLowerCase()===k)){ca=cb;};return ca;},"default":function(cc){return cc;}})),__hY:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"mshtml":function(cd){var ce=qx.bom.Event.getTarget(cd);if(!this.__id(ce)){qx.bom.Event.preventDefault(cd);};},"webkit":function(cf){var cg=qx.bom.Event.getTarget(cf);if(!this.__id(cg)){qx.bom.Event.preventDefault(cf);};},"default":null})),__ia:function(ch){var ci=qx.bom.element.Attribute.get(ch,r);if(ci>=1){return true;};var cj=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;if(ci>=0&&cj[ch.tagName]){return true;};return false;},__ib:function(ck){while(ck&&ck.nodeType===1){if(ck.getAttribute(B)==t){return null;};if(this.__ia(ck)){return ck;};ck=ck.parentNode;};return this._body;},__ic:function(cl){var cm=cl;while(cl&&cl.nodeType===1){if(cl.getAttribute(D)==t){return null;};cl=cl.parentNode;};return cm;},__id:function(cn){while(cn&&cn.nodeType===1){var co=cn.getAttribute(q);if(co!=null){return co===t;};cn=cn.parentNode;};return true;},_applyActive:function(cq,cp){if(cp){this.__hn(cp,cq,j,true);};if(cq){this.__hn(cq,cp,u,true);};if(this.__hA){window.scrollTo(0,0);};},_applyFocus:function(cs,cr){if(cr){this.__hn(cr,cs,A,true);};if(cs){this.__hn(cs,cr,v,true);};if(cr){this.__hn(cr,cs,c,false);};if(cs){this.__hn(cs,cr||this.__hN,e,false);};}},destruct:function(){this._stopObserver();this._manager=this._window=this._document=this._root=this._body=this.__ie=this.__hN=null;},defer:function(cu){qx.event.Registration.addHandler(cu);var cv=cu.FOCUSABLE_ELEMENTS;for(var ct in cv){cv[ct.toUpperCase()]=1;};}});})();(function(){var a="engine.name",b="qx.bom.Selection",c="character",d="button",e='character',f="#text",g="webkit",h="input",i="gecko",j="EndToEnd",k="opera",l="StartToStart",m="html.selection",n="textarea",o="body";qx.Bootstrap.define(b,{statics:{getSelectionObject:qx.core.Environment.select(m,{"selection":function(p){return p.selection;},"default":function(q){return qx.dom.Node.getWindow(q).getSelection();}}),get:qx.core.Environment.select(m,{"selection":function(r){var s=qx.bom.Range.get(qx.dom.Node.getDocument(r));return s.text;},"default":function(t){if(this.__im(t)){return t.value.substring(t.selectionStart,t.selectionEnd);}else {return this.getSelectionObject(qx.dom.Node.getDocument(t)).toString();};}}),getLength:qx.core.Environment.select(m,{"selection":function(u){var w=this.get(u);var v=qx.util.StringSplit.split(w,/\r\n/);return w.length-(v.length-1);},"default":function(x){if(qx.core.Environment.get(a)==k){var B,C,A;if(this.__im(x)){var z=x.selectionStart;var y=x.selectionEnd;B=x.value.substring(z,y);C=y-z;}else {B=qx.bom.Selection.get(x);C=B.length;};A=qx.util.StringSplit.split(B,/\r\n/);return C-(A.length-1);};if(this.__im(x)){return x.selectionEnd-x.selectionStart;}else {return this.get(x).length;};}}),getStart:qx.core.Environment.select(m,{"selection":function(D){if(this.__im(D)){var I=qx.bom.Range.get();if(!D.contains(I.parentElement())){return -1;};var J=qx.bom.Range.get(D);var H=D.value.length;J.moveToBookmark(I.getBookmark());J.moveEnd(e,H);return H-J.text.length;}else {var J=qx.bom.Range.get(D);var F=J.parentElement();var K=qx.bom.Range.get();try{K.moveToElementText(F);}catch(M){return 0;};var E=qx.bom.Range.get(qx.dom.Node.getBodyElement(D));E.setEndPoint(l,J);E.setEndPoint(j,K);if(K.compareEndPoints(l,E)==0){return 0;};var G;var L=0;while(true){G=E.moveStart(c,-1);if(K.compareEndPoints(l,E)==0){break;};if(G==0){break;}else {L++ ;};};return ++L;};},"default":function(N){if(qx.core.Environment.get(a)===i||qx.core.Environment.get(a)===g){if(this.__im(N)){return N.selectionStart;}else {var P=qx.dom.Node.getDocument(N);var O=this.getSelectionObject(P);if(O.anchorOffsetbc.anchorOffset){return bc.focusOffset;}else {return bc.anchorOffset;};};};if(this.__im(bb)){return bb.selectionEnd;}else {return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bb)).focusOffset;};}}),__im: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="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="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.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="resize",b="os.name",c="qx.event.handler.Orientation",d="landscape",e="android",f="portrait",g="orientationchange";qx.Class.define(c,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(h){qx.core.Object.call(this);this.__fV=h;this.__cy=h.getWindow();this._initObserver();},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{orientationchange:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__fV:null,__cy:null,__in:null,_currentOrientation:null,__io:null,canHandleEvent:function(j,i){},registerEvent:function(m,l,k){},unregisterEvent:function(p,o,n){},_initObserver:function(){this.__io=qx.lang.Function.listener(this._onNative,this);this.__in=qx.bom.Event.supportsEvent(this.__cy,g)?g:a;var Event=qx.bom.Event;Event.addNativeListener(this.__cy,this.__in,this.__io);},_stopObserver:function(){var Event=qx.bom.Event;Event.removeNativeListener(this.__cy,this.__in,this.__io);},_onNative:qx.event.GlobalError.observeMethod(function(q){var r=0;if(qx.core.Environment.get(b)==e){r=300;};qx.lang.Function.delay(this._onOrientationChange,r,this,q);}),_onOrientationChange:function(s){var u=qx.bom.Viewport;var t=u.getOrientation(s.target);if(this._currentOrientation!=t){this._currentOrientation=t;var v=u.isLandscape(s.target)?d:f;qx.event.Registration.fireEvent(this.__cy,g,qx.event.type.Orientation,[t,v]);};}},destruct:function(){this._stopObserver();this.__fV=this.__cy=null;},defer:function(w){qx.event.Registration.addHandler(w);}});})();(function(){var a="landscape",b="qx.event.type.Orientation",c="portrait";qx.Class.define(b,{extend:qx.event.type.Event,members:{__ip:null,__iq:null,init:function(d,e){qx.event.type.Event.prototype.init.call(this,false,false);this.__ip=d;this.__iq=e;return this;},clone:function(f){var g=qx.event.type.Event.prototype.clone.call(this,f);g.__ip=this.__ip;g.__iq=this.__iq;return g;},getOrientation:function(){return this.__ip;},isLandscape:function(){return this.__iq==a;},isPortrait:function(){return this.__iq==c;}}});})();(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.__ir=F;this.__ff=G;this._initTouchObserver();this.__is=[];this.__it={};},members:{__ir:null,__ff:null,__iu:null,__iv:null,__it:null,__iw:null,__ix:null,__iy:null,__is:null,__iz:null,_initTouchObserver:function(){this.__iu=qx.lang.Function.listener(this._onTouchEvent,this);this.__iz=[E,a,n,t];if(qx.core.Environment.get(h)){var H=parseInt(qx.core.Environment.get(e),10);if(H==10){this.__iz=[c,u,p,j];}else {this.__iz=[o,A,m,f];};};for(var i=0;i1){this.__ix=this._getScalingDistance(V.touches[0],V.touches[1]);this.__iy=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.__ix;};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.__iy;};V.delta=this._calcTouchesDelta(V.targetTouches);};this._fireEvent(V,ba,this.__iv);if(qx.core.Environment.get(h)){if(ba==n||ba==t){delete this.__is[V.pointerId];};};if(ba==n||ba==t&&V.changedTouches[0]){delete this.__it[V.changedTouches[0].identifier];};},_detectTouchesByPointer:function(bd,bf){var bc=[];if(bf==E){this.__is[bd.pointerId]=bd;}else if(bf==a){this.__is[bd.pointerId]=bd;};for(var be in this.__is){var bb=this.__is[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.__iA(bi);if(bh){bj=bh;};};return bj;},__iA: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.__iC(g).pageX;},getDocumentTop:function(h){return this.__iC(h).pageY;},getScreenLeft:function(j){return this.__iC(j).screenX;},getScreenTop:function(k){return this.__iC(k).screenY;},getViewportLeft:function(l){return this.__iC(l).clientX;},getViewportTop:function(m){return this.__iC(m).clientY;},getIdentifier:function(n){return this.__iC(n).identifier;},__iC:function(o){o=o==null?0:o;return this.__iD()[o];},__iD:function(){var p=(this._isTouchEnd()?this.getChangedTargetTouches():this.getTargetTouches());return p;},_isTouchEnd:function(){return (this.getType()==c||this.getType()==a);}}});})();(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:{__iE:false,__iF:null,__iG:null,__iH: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.__iI){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.__iI=true;};}else {if(G===m){this.__iJ(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);};};};};},__iJ: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.__iI){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.__iI;}catch(R){Q.__iI=null;};};}else {if(P===m){this.__iK(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);};};};},__iK: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.__iG){this.__iG=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.__iG){this.__iG=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.__iH){this.__iH=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.__iE=true;};},"default":null}),_onKeyUp:qx.core.Environment.select(v,{"opera":function(e){if(e.keyCode===13){this.__iE=false;};},"default":null}),_onInput:qx.event.GlobalError.observeMethod(function(e){var bc=qx.bom.Event.getTarget(e);var bb=bc.tagName.toLowerCase();if(!this.__iE||bb!==m){if((qx.core.Environment.get(v)==s)&&qx.core.Environment.get(r)<10.6){this.__iF=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){J=K[i];for(var j=0,F=B.length;j7&&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.__iL=this.__cy=this.__cA=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="function",b="plugin.silverlight.version",c="Silverlight",d="Skype.Detection",f="QuickTimeCheckObject.QuickTimeCheck.1",g="Adobe Acrobat",h="plugin.windowsmedia",k="QuickTime",l="plugin.silverlight",m="pdf",n="wmv",o="qx.bom.client.Plugin",p="application/x-skype",q=',',r="plugin.divx",s='=',t="Chrome PDF Viewer",u="divx",v="Windows Media",w="",x="mshtml",y="skype.click2call",z="plugin.skype",A="plugin.gears",B="plugin.quicktime",C="plugin.windowsmedia.version",D="quicktime",E="DivX Web Player",F="AgControl.AgControl",G="Microsoft.XMLHTTP",H="silverlight",I="plugin.pdf",J="plugin.pdf.version",K="MSXML2.DOMDocument.6.0",L="WMPlayer.OCX.7",M="AcroPDF.PDF",N="plugin.activex",O="plugin.quicktime.version",P="plugin.divx.version",Q="npdivx.DivXBrowserPlugin.1",R="object";qx.Bootstrap.define(o,{statics:{getGears:function(){return !!(window.google&&window.google.gears);},getActiveX:function(){if(typeof window.ActiveXObject===a){return true;};try{return (typeof (new window.ActiveXObject(G))===R||typeof (new window.ActiveXObject(K))===R);}catch(S){return false;};},getSkype:function(){if(qx.bom.client.Plugin.getActiveX()){try{new ActiveXObject(d);return true;}catch(e){};};var T=navigator.mimeTypes;if(T){if(p in T){return true;};for(var i=0;i1){bl=bl[0].split(s);if(bl.length===2){return bl[1];};};};bl=bh.versionInfo;if(bl!=undefined){return bl;};bl=bh.version;if(bl!=undefined){return bl;};bl=bh.settings.version;if(bl!=undefined){return bl;};}catch(bo){return w;};return w;}else {var bm=navigator.plugins;var bk=/([0-9]\.[0-9])/g;for(var i=0;iparent.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="useraction",b=" due to exceptions in user code. The application has to be reloaded!",c="event.touch",d="qx.ui.core.queue.Manager",f=" times in a row",g="Fatal Error: Flush terminated ";qx.Class.define(d,{statics:{__iS:false,__fN:false,__iT:{},__iU:0,MAX_RETRIES:10,scheduleFlush:function(h){var self=qx.ui.core.queue.Manager;self.__iT[h]=true;if(!self.__iS){self.__fN=false;qx.bom.AnimationFrame.request(function(){if(self.__fN){self.__fN=false;return;};self.flush();},self);self.__iS=true;};},flush:function(){var self=qx.ui.core.queue.Manager;if(self.__iV){return;};self.__iV=true;self.__fN=true;var i=self.__iT;self.__iW(function(){while(i.visibility||i.widget||i.appearance||i.layout||i.element){if(i.widget){delete i.widget;{qx.ui.core.queue.Widget.flush();};};if(i.visibility){delete i.visibility;{qx.ui.core.queue.Visibility.flush();};};if(i.appearance){delete i.appearance;{qx.ui.core.queue.Appearance.flush();};};if(i.widget||i.visibility||i.appearance){continue;};if(i.layout){delete i.layout;{qx.ui.core.queue.Layout.flush();};};if(i.widget||i.visibility||i.appearance||i.layout){continue;};if(i.element){delete i.element;qx.html.Element.flush();};};},function(){self.__iS=false;});self.__iW(function(){if(i.dispose){delete i.dispose;{qx.ui.core.queue.Dispose.flush();};};},function(){self.__iV=false;});self.__iU=0;},__iW:function(j,k){var self=qx.ui.core.queue.Manager;try{j();}catch(e){{};self.__iS=false;self.__iV=false;self.__iU+=1;if(self.__iU<=self.MAX_RETRIES){self.scheduleFlush();}else {throw new Error(g+(self.__iU-1)+f+b);};throw e;}finally{k();};},__iX:function(e){qx.ui.core.queue.Manager.flush();}},defer:function(l){qx.html.Element._scheduleFlush=l.scheduleFlush;qx.event.Registration.addListener(window,a,qx.core.Environment.get(c)?l.__iX:l.flush);}});})();(function(){var a="qx.ui.core.queue.Widget",b="widget",c="$$default";qx.Class.define(a,{statics:{__dJ:[],__iT:{},remove:function(e,g){var d=this.__dJ;if(!qx.lang.Array.contains(d,e)){return;};var f=e.$$hash;if(g==null){qx.lang.Array.remove(d,e);delete this.__iT[f];return;};if(this.__iT[f]){delete this.__iT[f][g];if(qx.lang.Object.getLength(this.__iT[f])==0){qx.lang.Array.remove(d,e);};};},add:function(j,l){var h=this.__dJ;if(!qx.lang.Array.contains(h,j)){h.unshift(j);};if(l==null){l=c;};var k=j.$$hash;if(!this.__iT[k]){this.__iT[k]={};};this.__iT[k][l]=true;qx.ui.core.queue.Manager.scheduleFlush(b);},flush:function(){var m=this.__dJ;var n,o;for(var i=m.length-1;i>=0;i-- ){n=m[i];o=this.__iT[n.$$hash];m.splice(i,1);n.syncWidget(o);};if(m.length!=0){return;};this.__dJ=[];this.__iT={};}}});})();(function(){var a="qx.ui.core.queue.Visibility",b="visibility";qx.Class.define(a,{statics:{__dJ:[],__cO:{},remove:function(c){delete this.__cO[c.$$hash];qx.lang.Array.remove(this.__dJ,c);},isVisible:function(d){return this.__cO[d.$$hash]||false;},__iY:function(f){var h=this.__cO;var g=f.$$hash;var e;if(f.isExcluded()){e=false;}else {var parent=f.$$parent;if(parent){e=this.__iY(parent);}else {e=f.isRootWidget();};};return h[g]=e;},add:function(k){var j=this.__dJ;if(qx.lang.Array.contains(j,k)){return;};j.unshift(k);qx.ui.core.queue.Manager.scheduleFlush(b);},flush:function(){var o=this.__dJ;var p=this.__cO;for(var i=o.length-1;i>=0;i-- ){var n=o[i].$$hash;if(p[n]!=null){o[i].addChildrenToQueue(o);};};var l={};for(var i=o.length-1;i>=0;i-- ){var n=o[i].$$hash;l[n]=p[n];p[n]=null;};for(var i=o.length-1;i>=0;i-- ){var m=o[i];var n=m.$$hash;o.splice(i,1);if(p[n]==null){this.__iY(m);};if(p[n]&&p[n]!=l[n]){m.checkAppearanceNeeds();};};this.__dJ=[];}}});})();(function(){var a="appearance",b="qx.ui.core.queue.Appearance";qx.Class.define(b,{statics:{__dJ:[],remove:function(c){qx.lang.Array.remove(this.__dJ,c);},add:function(e){var d=this.__dJ;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.__dJ,f);},flush:function(){var j=qx.ui.core.queue.Visibility;var g=this.__dJ;var h;for(var i=g.length-1;i>=0;i-- ){h=g[i];g.splice(i,1);if(j.isVisible(h)){h.syncAppearance();}else {h.$$stateChanges=true;};};}}});})();(function(){var a="dispose",b="qx.ui.core.queue.Dispose";qx.Class.define(b,{statics:{__dJ:[],add:function(d){var c=this.__dJ;if(qx.lang.Array.contains(c,d)){return;};c.unshift(d);qx.ui.core.queue.Manager.scheduleFlush(a);},isEmpty:function(){return this.__dJ.length==0;},flush:function(){var e=this.__dJ;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.__dJ=[];}}});})();(function(){var a="backgroundColor",b="drag",c="_applyNativeContextMenu",d="touch",f="div",g="_applyBackgroundColor",h="qx.event.type.Data",j="_applyFocusable",k=" requires a layout, but no one was defined!",m="qx.event.type.KeyInput",n="focused",o="disabled",p="move",q="createChildControl",r="qxanonymous",s="Unsupported control: ",t="dragstart",u="Font",v="qx.dynlocale",w="dragchange",x="_applyEnabled",y="_applySelectable",z="Number",A="_applyKeepActive",B="qx.event.type.Pinch",C="dragend",D="_applyVisibility",E="Child control '",F="qxDraggable",G="qx.event.type.Roll",H="syncAppearance",I="paddingLeft",J="' of widget ",K="qx.event.type.Mouse",L="_applyPadding",M="#",N="At least one child in control ",O="visible",P="qx.event.type.Event",Q="qx.event.type.MouseWheel",R="__jh",S="_applyCursor",T="changeVisibility",U="_applyDraggable",V="resize",W="Decorator",X="Remove Error: ",Y="zIndex",cK="changeTextColor",cL="$$widget",cM="changeContextMenu",cG="on",cH="paddingTop",cI="opacity",cJ="This widget has no children!",cR="changeSelectable",cS="_applyAnonymous",cT="none",cU="__ja",cN="outline",cO="hidden",cP="_applyAppearance",cQ="hovered",cY="_applyOpacity",dB="Boolean",eo="px",da="qx.ui.core.Widget",cV="longtap",cW="default",ej="TabIndex property must be between 1 and 32000",cX="_applyFont",db="cursor",dc="qxDroppable",dd="__jf",di="' already created!",dj="changeZIndex",dk=": ",de="Color",df="changeEnabled",dg="Abstract method call: _getContentHeightForWidth()!",dh="changeFont",dp="qx.event.type.Focus",dq="_applyDecorator",dr="_applyZIndex",ds="_applyTextColor",dl="Widget is not focusable!",dm="qx.ui.menu.Menu",ek="engine.name",dn="qx.event.type.Drag",dw="qx.event.type.KeySequence",dx="excluded",en="DOM element is not yet created!",dy="_applyToolTipText",dt="Exception while creating child control '",du="qx.event.type.Rotate",em="_applyDroppable",dv=" is not a child of this widget!",dz="true",dA="widget",dM="changeDecorator",dL="qx.event.type.Tap",dK="Integer",dQ="_applyTabIndex",dP="__je",dO="changeAppearance",dN="qx.event.type.Track",dF="shorthand",dE="/",dD="String",dC="border-box",dJ="",dI="_applyContextMenu",dH="changeToolTipText",dG="padding",dX="tabIndex",dW="paddingBottom",dV="beforeContextmenuOpen",dU="changeNativeContextMenu",ec="undefined",eb="qx.ui.tooltip.ToolTip",ea="contextmenu",dY="_applyKeepFocus",dT="paddingRight",dS="changeBackgroundColor",dR="changeLocale",ef="qx.event.type.Pointer",ee="qxKeepFocus",ed="opera",ei="qx.event.type.Touch",eh="qxKeepActive",eg="absolute";qx.Class.define(da,{extend:qx.ui.core.LayoutItem,include:[qx.locale.MTranslation],construct:function(){qx.ui.core.LayoutItem.call(this);this.__ja=this.__jg();this.initFocusable();this.initSelectable();this.initNativeContextMenu();},events:{appear:P,disappear:P,createChildControl:h,resize:h,move:h,syncAppearance:h,mousemove:K,mouseover:K,mouseout:K,mousedown:K,mouseup:K,click:K,dblclick:K,contextmenu:K,beforeContextmenuOpen:h,mousewheel:Q,touchstart:ei,touchend:ei,touchmove:ei,touchcancel:ei,tap:dL,longtap:dL,dbltap:dL,swipe:ei,rotate:du,pinch:B,track:dN,roll:G,pointermove:ef,pointerover:ef,pointerout:ef,pointerdown:ef,pointerup:ef,pointercancel:ef,keyup:dw,keydown:dw,keypress:dw,keyinput:m,focus:dp,blur:dp,focusin:dp,focusout:dp,activate:dp,deactivate:dp,capture:P,losecapture:P,drop:dn,dragleave:dn,dragover:dn,drag:dn,dragstart:dn,dragend:dn,dragchange:dn,droprequest:dn},properties:{paddingTop:{check:dK,init:0,apply:L,themeable:true},paddingRight:{check:dK,init:0,apply:L,themeable:true},paddingBottom:{check:dK,init:0,apply:L,themeable:true},paddingLeft:{check:dK,init:0,apply:L,themeable:true},padding:{group:[cH,dT,dW,I],mode:dF,themeable:true},zIndex:{nullable:true,init:10,apply:dr,event:dj,check:dK,themeable:true},decorator:{nullable:true,init:null,apply:dq,event:dM,check:W,themeable:true},backgroundColor:{nullable:true,check:de,apply:g,event:dS,themeable:true},textColor:{nullable:true,check:de,apply:ds,event:cK,themeable:true,inheritable:true},font:{nullable:true,apply:cX,check:u,event:dh,themeable:true,inheritable:true,dereference:true},opacity:{check:z,apply:cY,themeable:true,nullable:true,init:null},cursor:{check:dD,apply:S,themeable:true,inheritable:true,nullable:true,init:null},toolTip:{check:eb,nullable:true},toolTipText:{check:dD,nullable:true,event:dH,apply:dy},toolTipIcon:{check:dD,nullable:true,event:dH},blockToolTip:{check:dB,init:false},visibility:{check:[O,cO,dx],init:O,apply:D,event:T},enabled:{init:true,check:dB,inheritable:true,apply:x,event:df},anonymous:{init:false,check:dB,apply:cS},tabIndex:{check:dK,nullable:true,apply:dQ},focusable:{check:dB,init:false,apply:j},keepFocus:{check:dB,init:false,apply:dY},keepActive:{check:dB,init:false,apply:A},draggable:{check:dB,init:false,apply:U},droppable:{check:dB,init:false,apply:em},selectable:{check:dB,init:false,event:cR,apply:y},contextMenu:{check:dm,apply:dI,nullable:true,event:cM},nativeContextMenu:{check:dB,init:false,themeable:true,event:dU,apply:c},appearance:{check:dD,init:dA,apply:cP,event:dO}},statics:{DEBUG:false,getWidgetByElement:function(es,eq){while(es){var ep=es.$$widget;if(ep!=null){var er=qx.core.ObjectRegistry.fromHashCode(ep);if(!eq||!er.getAnonymous()){return er;};};try{es=es.parentNode;}catch(e){return null;};};return null;},contains:function(parent,et){while(et){et=et.getLayoutParent();if(parent==et){return true;};};return false;},__jb:new qx.util.ObjectPool()},members:{__ja:null,__jc:null,__jd:null,__je:null,_getLayout:function(){return this.__je;},_setLayout:function(eu){{};if(this.__je){this.__je.connectToWidget(null);};if(eu){eu.connectToWidget(this);};this.__je=eu;qx.ui.core.queue.Layout.add(this);},setLayoutParent:function(parent){if(this.$$parent===parent){return;};var content=this.getContentElement();if(this.$$parent&&!this.$$parent.$$disposed){this.$$parent.getContentElement().remove(content);};this.$$parent=parent||null;if(parent&&!parent.$$disposed){this.$$parent.getContentElement().add(content);};this.$$refreshInheritables();qx.ui.core.queue.Visibility.add(this);},_updateInsets:null,renderLayout:function(eB,top,ey,ew){var eC=qx.ui.core.LayoutItem.prototype.renderLayout.call(this,eB,top,ey,ew);if(!eC){return null;};if(qx.lang.Object.isEmpty(eC)&&!this._updateInsets){return null;};var content=this.getContentElement();var eF=eC.size||this._updateInsets;var eD=eo;var ev={};if(eC.position){ev.left=eB+eD;ev.top=top+eD;};if(eF||eC.margin){ev.width=ey+eD;ev.height=ew+eD;};if(Object.keys(ev).length>0){content.setStyles(ev);};if(eF||eC.local||eC.margin){if(this.__je&&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.__je.renderLayout(innerWidth,innerHeight,ex);}else if(this.hasLayoutChildren()){throw new Error(N+this._findTopControl()+k);};};if(eC.position&&this.hasListener(p)){this.fireDataEvent(p,this.getBounds());};if(eC.size&&this.hasListener(V)){this.fireDataEvent(V,this.getBounds());};delete this._updateInsets;return eC;},__jf:null,clearSeparators:function(){var eH=this.__jf;if(!eH){return;};var eI=qx.ui.core.Widget.__jb;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;},__jg:function(){var fx=this._createContentElement();fx.setAttribute(cL,this.toHashCode());{};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:cO,overflowY:cO});},getContentElement:function(){return this.__ja;},__jh:null,getLayoutChildren:function(){var fz=this.__jh;if(!fz){return this.__ji;};var fA;for(var i=0,l=fz.length;i=0;i-- ){this.__jk(ga[i]);};qx.ui.core.queue.Layout.add(this);return ga;},_afterAddChild:null,_afterRemoveChild:null,__jj: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);};},__jk:function(gd){{};if(gd.getLayoutParent()!==this){throw new Error(X+gd+dv);};gd.setLayoutParent(null);if(this.__je){this.__je.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.__jl(name,gj);},__jl: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+eo);},_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.__jd){return;};var gq=qx.locale.Manager.getInstance();this.__jd=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(Y,gx==null?0:gx);},_applyVisibility:function(gz,gy){var content=this.getContentElement();if(gz===O){content.show();}else {content.hide();};var parent=this.$$parent;if(parent&&(gy==null||gz==null||gy===dx||gz===dx)){parent.invalidateLayoutChildren();};qx.ui.core.queue.Visibility.add(this);},_applyOpacity:function(gB,gA){this.getContentElement().setStyle(cI,gB==1?null:gB);},_applyCursor:function(gD,gC){if(gD==null&&!this.isSelectable()){gD=cW;};this.getContentElement().setStyle(db,gD,qx.core.Environment.get(ek)==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);};},__jm:null,$$stateChanges:null,_forwardStates:null,hasState:function(gM){var gL=this.__jm;return !!gL&&!!gL[gM];},addState:function(gQ){var gP=this.__jm;if(!gP){gP=this.__jm={};};if(gP[gQ]){return;};this.__jm[gQ]=true;if(gQ===cQ){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.__jp;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.__jm;if(!gU||!gU[gV]){return;};delete this.__jm[gV];if(gV===cQ){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.__jp;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.__jm;if(!hb){hb=this.__jm={};};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.__jp;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);};};};},__jn:null,__jo:null,syncAppearance:function(){var hi=this.__jm;var hh=this.__jn;var hj=qx.theme.manager.Appearance.getInstance();var hf=qx.core.Property.$$method.setThemed;var hn=qx.core.Property.$$method.resetThemed;if(this.__jo){delete this.__jo;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.__jn=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(H,this.__jm);},_applyAppearance:function(hp,ho){this.updateAppearance();},checkAppearanceNeeds:function(){if(!this.__jc){qx.ui.core.queue.Appearance.add(this);this.__jc=true;}else if(this.$$stateChanges){qx.ui.core.queue.Appearance.add(this);delete this.$$stateChanges;};},updateAppearance:function(){this.__jo=true;qx.ui.core.queue.Appearance.add(this);var hs=this.__jp;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(cN,cT);}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?cG:null);},_applyKeepActive:function(hD){var hC=this.getContentElement();hC.setAttribute(eh,hD?cG:null);},_applyTabIndex:function(hE){if(hE==null){hE=1;}else if(hE<1||hE>32000){throw new Error(ej);};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(cQ);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(cV,this._onContextMenuOpen);hL.removeListener(T,this._onBeforeContextMenuOpen,this);};};if(hM){hM.setOpener(this);hM.addState(ea);if(!hL){this.addListener(ea,this._onContextMenuOpen);this.addListener(cV,this._onContextMenuOpen);hM.addListener(T,this._onBeforeContextMenuOpen,this);};};},_onContextMenuOpen:function(e){if(e.getType()==cV){if(e.getPointerType()!==d){return;};};this.getContextMenu().openAtPointer(e);e.stop();},_onBeforeContextMenuOpen:function(e){if(e.getData()==O&&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(C,this._onDragEnd);this.addListener(w,this._onDragChange);}else {this.removeListener(t,this._onDragStart);this.removeListener(b,this._onDrag);this.removeListener(C,this._onDragEnd);this.removeListener(w,this._onDragChange);};this.getContentElement().setAttribute(F,hO?cG:null);},_applyDroppable:function(hQ,hP){if(!this.isEnabled()&&hQ===true){hQ=false;};this.getContentElement().setAttribute(dc,hQ?cG:null);},_onDragStart:function(e){this._getDragDropCursor().placeToPointer(e);this.getApplicationRoot().setGlobalCursor(cW);},_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(dl);};},blur:function(){if(this.isFocusable()){this.getFocusElement().blur();}else {throw new Error(dl);};},activate:function(){this.getContentElement().activate();},deactivate:function(){this.getContentElement().deactivate();},tabFocus:function(){this.getFocusElement().focus();},hasChildControl:function(ii){if(!this.__jp){return false;};return !!this.__jp[ii];},__jp:null,_getCreatedChildControls:function(){return this.__jp;},getChildControl:function(il,ik){if(!this.__jp){if(ik){return null;};this.__jp={};};var ij=this.__jp[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.__jm;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.__jp[iw];return it;},_createChildControl:function(iB){if(!this.__jp){this.__jp={};}else if(this.__jp[iB]){throw new Error(E+iB+di);};var iy=iB.indexOf(M);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=dt+iB+J+this.toString()+dk+iC.message;throw iC;};if(!ix){throw new Error(s+iB);};ix.$$subcontrol=iB;ix.$$subparent=this;var iz=this.__jm;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.__jp[iB]=ix;},_createChildControlImpl:function(iE,iD){return null;},_disposeChildControls:function(){var iI=this.__jp;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.__jp;},_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+eo;}else {throw new Error(en);};},setDomTop:function(iP){var iO=this.getContentElement().getDomElement();if(iO){iO.style.top=iP+eo;}else {throw new Error(en);};},setDomPosition:function(iR,top){var iQ=this.getContentElement().getDomElement();if(iQ){iQ.style.left=iR+eo;iQ.style.top=top+eo;}else {throw new Error(en);};},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;ibt||Math.abs(bz.y)>bt)){if(!this._start(e)){this.clearSession();return;};};};if(!this.__jz){return;};if(!this.__hn(h,this.__jt,this.__js,true,e)){this.clearSession();};var bu=e.getTarget();var bx=this.getCursor();if(!bx){bx=qx.ui.core.DragDropCursor.getInstance();};var bw=bx.getContentElement().getDomElement();if(bu!==bw){var bv=this.__jH(bu);if(bv&&bv!=this.__js){if(this.__js){this.__hn(F,this.__js,this.__jt,false,e);};this.__jA=true;this.__js=bv;this.__jA=this.__hn(H,bv,this.__jt,true,e);}else if(!bv&&this.__js){this.__hn(F,this.__js,this.__jt,false,e);this.__js=null;this.__jA=false;qx.event.Timer.once(this.__jF,this,0);};};var by=this.__jw;by.Control=e.isCtrlPressed();by.Shift=e.isShiftPressed();by.Alt=e.isAltPressed();this.__jF();},_getDelta:function(e){if(!this.__jD){return null;};var bA=e.getDocumentLeft()-this.__jD.left;var bB=e.getDocumentTop()-this.__jD.top;return {"x":bA,"y":bB};},_onPointerup:function(e){if(!e.isPrimary()){return;};if(this.__jA&&this.__jB){this.__hn(l,this.__js,this.__jt,false,e);};if(e.getTarget()==this.__jt){e.stopPropagation();};this.clearSession();},_onRoll:function(e){e.stop();},_onWindowBlur:function(e){this.clearSession();},_onKeyDown:function(e){var bC=e.getKeyIdentifier();switch(bC){case C:case q:case r:if(!this.__jw[bC]){this.__jw[bC]=true;this.__jF();};};},_onKeyUp:function(e){var bD=e.getKeyIdentifier();switch(bD){case C:case q:case r:if(this.__jw[bD]){this.__jw[bD]=false;this.__jF();};};},_onKeyPress:function(e){var bE=e.getKeyIdentifier();switch(bE){case g:this.clearSession();};}},destruct:function(){this.__jt=this.__js=this.__fV=this.__gh=this.__ju=this.__jv=this.__jw=this.__c=null;},defer:function(bF){qx.event.Registration.addHandler(bF);}});})();(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();},getDragTarget:function(){return this.getManager().getDragTarget();},stopSession:function(){this.getManager().clearSession();}}});})();(function(){var a="best-fit",b="placementRight",c="Boolean",d="bottom-right",e="' ",f="widget",g="placementLeft",h="qx.ui.core.MPlacement",i="left-top",j="Integer",k="left-middle",l="right-middle",m="top-center",n="[qx.ui.core.MPlacement.setMoveDirection()], the value was '",o="offsetRight",p="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:{__gj:null,__jI:J,setVisibleElement:function(K){this.__gj=K;},getVisibleElement:function(){return this.__gj;},setMoveDirection:function(L){if(L===A||L===J){this.__jI=L;}else {throw new Error(v+n+L+e+D);};},getMoveDirection:function(){return this.__jI;}},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:{__jJ:null,__jK:null,__jL:null,getLayoutLocation:function(N){var P,O,R,top;O=N.getBounds();if(!O){return null;};R=O.left;top=O.top;var Q=O;N=N.getLayoutParent();while(N&&!N.isRootWidget()){O=N.getBounds();R+=O.left;top+=O.top;P=N.getInsets();R+=P.left;top+=P.top;N=N.getLayoutParent();};if(N.isRootWidget()){var M=N.getContentLocation();if(M){R+=M.left;top+=M.top;};};return {left:R,top:top,right:R+Q.width,bottom:top+Q.height};},moveTo:function(Y,top){var X=qx.ui.core.MPlacement.getVisibleElement();if(X){var W=this.getBounds();var V=X.getContentLocation();if(W&&V){var U=top+W.height;var T=Y+W.width;if((T>V.left&&YV.top&&top=0&&r+s<=q;}}});})();(function(){var a="qx.util.placement.DirectAxis";qx.Bootstrap.define(a,{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(d,e,f,b,c){return this._moveToEdgeAndAlign(d,e,f,c);}}});})();(function(){var a="qx.util.placement.KeepAlignAxis",b="edge-start",c="edge-end";qx.Bootstrap.define(a,{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,_isInRange:qx.util.placement.AbstractAxis._isInRange,computeStart:function(k,f,g,d,j){var i=this._moveToEdgeAndAlign(k,f,g,j);var e,h;if(this._isInRange(i,k,d)){return i;};if(j==b||j==c){e=f.start-g.end;h=f.end+g.start;}else {e=f.end-g.end;h=f.start+g.start;};if(e>d-h){i=Math.max(0,e-k);}else {i=h;};return i;}}});})();(function(){var a="qx.util.placement.BestFitAxis";qx.Bootstrap.define(a,{statics:{_isInRange:qx.util.placement.AbstractAxis._isInRange,_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(g,c,d,b,f){var e=this._moveToEdgeAndAlign(g,c,d,f);if(this._isInRange(e,g,b)){return e;};if(e<0){e=Math.min(0,b-g);};if(e+g>b){e=Math.max(0,b-g);};return e;}}});})();(function(){var a="Image could not be loaded: ",b="Boolean",c="px",d=".png",e="background-image",f="__jW",g="engine.version",h="scale",i="changeSource",j="div",k="aborted",l="nonScaled",m="qx.ui.basic.Image",n="0 0",o=", no-repeat",p="loaded",q="backgroundImage",r="backgroundRepeat",s="-disabled.$1",t="class",u="qx.event.type.Event",v="loadingFailed",w="css.alphaimageloaderneeded",x="String",y="browser.documentmode",z="backgroundPosition",A="border-box",B="left",C="_applySource",D="$$widget",E="top",F="scaled",G=", ",H="image",I="mshtml",J="engine.name",K=", 0 0",L="_applyScale",M="position",N="replacement",O="img",P="no-repeat",Q="background-position",R="hidden",S="alphaScaled",T=",",U="absolute";qx.Class.define(m,{extend:qx.ui.core.Widget,construct:function(V){this.__jW={};qx.ui.core.Widget.call(this);if(V){this.setSource(V);};},properties:{source:{check:x,init:null,nullable:true,event:i,apply:C,themeable:true},scale:{check:b,init:false,themeable:true,apply:L},appearance:{refine:true,init:H},allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false}},events:{loadingFailed:u,loaded:u,aborted:u},members:{__jX:null,__jY:null,__iq:null,__jW:null,__ka:null,__kb:null,__kc:0,_onChangeTheme:function(){qx.ui.core.Widget.prototype._onChangeTheme.call(this);this._styleSource();},getContentElement:function(){return this.__kg();},_createContentElement:function(){return this.__kg();},_getContentHint:function(){return {width:this.__jX||0,height:this.__jY||0};},_applyDecorator:function(Y,X){qx.ui.core.Widget.prototype._applyDecorator.call(this,Y,X);var ba=this.getSource();ba=qx.util.AliasManager.getInstance().resolve(ba);var W=this.getContentElement();if(this.__kb){W=W.getChild(0);};this.__ko(W,ba);},_applyPadding:function(bc,bb,name){qx.ui.core.Widget.prototype._applyPadding.call(this,bc,bb,name);var bd=this.getContentElement();if(this.__kb){bd.getChild(0).setStyles({top:this.getPaddingTop()||0,left:this.getPaddingLeft()||0});}else {bd.setPadding(this.getPaddingLeft()||0,this.getPaddingTop()||0);};},renderLayout:function(bg,top,be,bh){qx.ui.core.Widget.prototype.renderLayout.call(this,bg,top,be,bh);var bf=this.getContentElement();if(this.__kb){bf.getChild(0).setStyles({width:be-(this.getPaddingLeft()||0)-(this.getPaddingRight()||0),height:bh-(this.getPaddingTop()||0)-(this.getPaddingBottom()||0),top:this.getPaddingTop()||0,left:this.getPaddingLeft()||0});};},_applyEnabled:function(bj,bi){qx.ui.core.Widget.prototype._applyEnabled.call(this,bj,bi);if(this.getSource()){this._styleSource();};},_applySource:function(bl,bk){if(bk){if(qx.io.ImageLoader.isLoading(bk)){qx.io.ImageLoader.abort(bk);};};this._styleSource();},_applyScale:function(bm){this._styleSource();},__kd:function(bn){this.__iq=bn;},__ke:function(){if(this.__iq==null){var bp=this.getSource();var bo=false;if(bp!=null){bo=qx.lang.String.endsWith(bp,d);};if(this.getScale()&&bo&&qx.core.Environment.get(w)){this.__iq=S;}else if(this.getScale()){this.__iq=F;}else {this.__iq=l;};};return this.__iq;},__kf:function(bs){var br;var bq;if(bs==S){br=true;bq=j;}else if(bs==l){br=false;bq=j;}else {br=true;bq=O;};var bu=new qx.html.Image(bq);bu.setAttribute(D,this.toHashCode());bu.setScale(br);bu.setStyles({"overflowX":R,"overflowY":R,"boxSizing":A});if(qx.core.Environment.get(w)){var bt=this.__kb=new qx.html.Element(j);bt.setAttribute(D,this.toHashCode());bt.setStyle(M,U);bt.add(bu);return bt;};return bu;},__kg:function(){if(this.$$disposed){return null;};var bv=this.__ke();if(this.__jW[bv]==null){this.__jW[bv]=this.__kf(bv);};var bw=this.__jW[bv];if(!this.__ka){this.__ka=bw;};return bw;},_styleSource:function(){var bx=qx.util.AliasManager.getInstance().resolve(this.getSource());var bA=this.getContentElement();if(this.__kb){bA=bA.getChild(0);};if(!bx){bA.resetSource();return;};this.__kj(bx);if((qx.core.Environment.get(J)==I)&&(parseInt(qx.core.Environment.get(g),10)<9||qx.core.Environment.get(y)<9)){var by=this.getScale()?h:P;bA.tagNameHint=qx.bom.element.Decoration.getTagName(by,bx);};var bz=this.__ki();if(qx.util.ResourceManager.getInstance().has(bx)){this.__kl(bz,bx);this.__kh();}else if(qx.io.ImageLoader.isLoaded(bx)){this.__km(bz,bx);this.__kh();}else {this.__kn(bz,bx);};},__kh:function(){this.__kc++ ;qx.bom.AnimationFrame.request(function(bB){if(bB===this.__kc){this.fireEvent(p);}else {this.fireEvent(k);};}.bind(this,this.__kc));},__ki:function(){var bC=this.__ka;if(this.__kb){bC=bC.getChild(0);};return bC;},__kj:qx.core.Environment.select(J,{"mshtml":function(bE){var bF=qx.core.Environment.get(w);var bD=qx.lang.String.endsWith(bE,d);if(bF&&bD){if(this.getScale()&&this.__ke()!=S){this.__kd(S);}else if(!this.getScale()&&this.__ke()!=l){this.__kd(l);};}else {if(this.getScale()&&this.__ke()!=F){this.__kd(F);}else if(!this.getScale()&&this.__ke()!=l){this.__kd(l);};};this.__kk(this.__kg());},"default":function(bG){if(this.getScale()&&this.__ke()!=F){this.__kd(F);}else if(!this.getScale()&&this.__ke(l)){this.__kd(l);};this.__kk(this.__kg());}}),__kk:function(bK){var bJ=this.__ka;if(bJ!=bK){if(bJ!=null){var bV=c;var bH={};var bP=this.getBounds();if(bP!=null){bH.width=bP.width+bV;bH.height=bP.height+bV;};var bQ=this.getInsets();bH.left=parseInt(bJ.getStyle(B)||bQ.left)+bV;bH.top=parseInt(bJ.getStyle(E)||bQ.top)+bV;bH.zIndex=10;var bN=this.__kb?bK.getChild(0):bK;bN.setStyles(bH,true);bN.setSelectable(this.getSelectable());if(!bJ.isVisible()){bK.hide();};if(!bJ.isIncluded()){bK.exclude();};var bS=bJ.getParent();if(bS){var bI=bS.getChildren().indexOf(bJ);bS.removeAt(bI);bS.addAt(bK,bI);};var bM=bN.getNodeName();bN.setSource(null);var bL=this.__ki();bN.tagNameHint=bM;bN.setAttribute(t,bL.getAttribute(t));qx.html.Element.flush();var bU=bL.getDomElement();var bT=bK.getDomElement();var bR=bJ.getListeners()||[];bR.forEach(function(bW){bK.addListener(bW.type,bW.handler,bW.self,bW.capture);});if(bU&&bT){var bO=bU.$$hash;bU.$$hash=bT.$$hash;bT.$$hash=bO;};this.__ka=bK;};};},__kl:function(bY,cb){var ca=qx.util.ResourceManager.getInstance();if(!this.getEnabled()){var bX=cb.replace(/\.([a-z]+)$/,s);if(ca.has(bX)){cb=bX;this.addState(N);}else {this.removeState(N);};};if(bY.getSource()===cb){return;};this.__ko(bY,cb);this.__kq(ca.getImageWidth(cb),ca.getImageHeight(cb));},__km:function(cc,cg){var ce=qx.io.ImageLoader;this.__ko(cc,cg);var cf=ce.getWidth(cg);var cd=ce.getHeight(cg);this.__kq(cf,cd);},__kn:function(ch,ck){var cl=qx.io.ImageLoader;{var cj,ci,self;};if(!cl.isFailed(ck)){cl.load(ck,this.__kp,this);}else {if(ch!=null){ch.resetSource();};};},__ko:function(cm,cr){if(cm.getNodeName()==j){var cu=qx.theme.manager.Decoration.getInstance().resolve(this.getDecorator());if(cu){var cs=(cu.getStartColor()&&cu.getEndColor());var cq=cu.getBackgroundImage();if(cs||cq){var cn=this.getScale()?h:P;var co=qx.bom.element.Decoration.getAttributes(cr,cn);var cp=cu.getStyles(true);var ct={"backgroundImage":co.style.backgroundImage,"backgroundPosition":(co.style.backgroundPosition||n),"backgroundRepeat":(co.style.backgroundRepeat||P)};if(cq){ct[z]+=T+cp[Q]||n;ct[r]+=G+cu.getBackgroundRepeat();};if(cs){ct[z]+=K;ct[r]+=o;};ct[q]+=T+cp[e];cm.setStyles(ct);return;};}else {cm.setSource(null);};};cm.setSource(cr);},__kp:function(cv,cw){if(this.$$disposed===true){return;};if(cv!==qx.util.AliasManager.getInstance().resolve(this.getSource())){this.fireEvent(k);return;};if(cw.failed){this.warn(a+cv);this.fireEvent(v);}else if(cw.aborted){this.fireEvent(k);return;}else {this.fireEvent(p);};this.__km(this.__ki(),cv);},__kq:function(cx,cy){if(cx!==this.__jX||cy!==this.__jY){this.__jX=cx;this.__jY=cy;qx.ui.core.queue.Layout.add(this);};}},destruct:function(){delete this.__ka;if(this.__kb){delete this.__kb;};this._disposeMap(f);}});})();(function(){var a="load",b="",c="qx.io.ImageLoader",d="html.image.naturaldimensions";qx.Bootstrap.define(c,{statics:{__cO:{},__kr:{width:null,height:null},__ks:/\.(png|gif|jpg|jpeg|bmp)\b/i,__kt:/^data:image\/(png|gif|jpg|jpeg|bmp)\b/i,isLoaded:function(e){var f=this.__cO[e];return !!(f&&f.loaded);},isFailed:function(g){var h=this.__cO[g];return !!(h&&h.failed);},isLoading:function(j){var k=this.__cO[j];return !!(k&&k.loading);},getFormat:function(p){var o=this.__cO[p];if(!o||!o.format){var m=this.__kt.exec(p);if(m!=null){var n=(o&&qx.lang.Type.isNumber(o.width)?o.width:this.__kr.width);var q=(o&&qx.lang.Type.isNumber(o.height)?o.height:this.__kr.height);o={loaded:true,format:m[1],width:n,height:q};};};return o?o.format:null;},getSize:function(r){var s=this.__cO[r];return s?{width:s.width,height:s.height}:this.__kr;},getWidth:function(t){var u=this.__cO[t];return u?u.width:null;},getHeight:function(v){var w=this.__cO[v];return w?w.height:null;},load:function(z,y,A){var B=this.__cO[z];if(!B){B=this.__cO[z]={};};if(y&&!A){A=window;};if(B.loaded||B.loading||B.failed){if(y){if(B.loading){B.callbacks.push(y,A);}else {y.call(A,z,B);};};}else {B.loading=true;B.callbacks=[];if(y){B.callbacks.push(y,A);};var x=new Image();var C=qx.lang.Function.listener(this.__ku,this,x,z);x.onload=C;x.onerror=C;x.src=z;B.element=x;};},abort:function(D){var G=this.__cO[D];if(G&&!G.loaded){G.aborted=true;var F=G.callbacks;var E=G.element;E.onload=E.onerror=null;E.src=b;delete G.callbacks;delete G.element;delete G.loading;for(var i=0,l=F.length;i0){var bm=[];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.__lr();};var bl=qx.ui.layout.Util;var X=this.__gt;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.__lo=this.__lp=this.__gt=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 x,r;var G,L;var C=this.getGap();var J=this.getCenter();var M=[d,m,c,j];if(M.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];L=G.getSizeHint();x=Math.min(L.maxWidth,Math.max(E,L.minWidth));r=L.height;N=z.computeHorizontalAlignOffset(g,x,E)+D.left;G.renderLayout(N,u,x,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];x=G.getSizeHint().width;if(x>0){if(!p&&G instanceof qx.ui.basic.Label){p=G;}else {w-=x;};I++ ;};};if(I>1){var H=(I-1)*C;w-=H;};if(p){var L=p.getSizeHint();var B=Math.max(L.minWidth,Math.min(w,L.maxWidth));w-=B;};if(J&&w>0){N+=Math.round(w/2);};for(var i=A;i!=v;i+=s){G=t[i];L=G.getSizeHint();r=Math.min(L.maxHeight,Math.max(y,L.minHeight));if(G===p){x=B;}else {x=L.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,L.height,y);G.renderLayout(N,u,x,r);if(x>0){N+=x+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:{__ls:null,__lt:null,__lu:null,__lv:null,_getContentHint:function(){if(this.__lt){this.__lw=this.__lx();delete this.__lt;};return {width:this.__lw.width,height:this.__lw.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.__lx(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);};},__lw:{width:0,height:0},_applyFont:function(Y,X){if(X&&this.__ls&&this.__lv){this.__ls.removeListenerById(this.__lv);this.__lv=null;};var W;if(Y){this.__ls=qx.theme.manager.Font.getInstance().resolve(Y);if(this.__ls instanceof qx.bom.webfonts.WebFont){this.__lv=this.__ls.addListener(h,this._onWebFontStatusChange,this);};W=this.__ls.getStyles();}else {this.__ls=null;W=qx.bom.Font.getDefaultStyles();};if(this.getTextColor()!=null){delete W[m];};this.getContentElement().setStyles(W);this.__lt=true;qx.ui.core.queue.Layout.add(this);},__lx:function(bc){var bb=qx.bom.Label;var be=this.getFont();var ba=be?this.__ls.getStyles():qx.bom.Font.getDefaultStyles();var content=this.getValue()||O;var bd=this.getRich();if(this.__lv){this.__ly();};return bd?bb.getHtmlSize(content,ba,bc):bb.getTextSize(content,ba);},__ly: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.__lu);this.__lu=null;};if(bh!=null){bh.bind(u,this,u);this.__lu=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.__lt=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.__lt=true;qx.ui.core.queue.Layout.add(this);}.bind(this),0);};this.__lt=true;qx.ui.core.queue.Layout.add(this);};},_applyValue:function(bo,bn){this.getContentElement().setValue(bo);this.__lt=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.__ls&&this.__lv){this.__ls.removeListenerById(this.__lv);};this.__ls=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:{__lz: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.__lz;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.__lz==j){return this;};this.__lz=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:{__lA:{fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1},__lB:function(){var z=this.__lD(false);document.body.insertBefore(z,document.body.firstChild);return this._textElement=z;},__lC:function(){var A=this.__lD(true);document.body.insertBefore(A,document.body.firstChild);return this._htmlElement=A;},__lD: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.__lA){C[F]=t;};B.appendChild(E);};};return B;},__lE: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.__lA){M.style[N]=t;};M.setAttribute(e,g);I.appendChild(M);}else {qx.bom.element.Style.setStyles(I,this.__lE(L));};if(content){this.setValue(I,content);};return I;},__lF:null,setSanitizer:function(O){{};qx.bom.Label.__lF=O;},setValue:function(Q,P){P=P||q;if(Q.useHtml){if(qx.bom.Label.__lF&&typeof (qx.bom.Label.__lF)===b){P=qx.bom.Label.__lF(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.__lC();U.style.width=T!=undefined?T+c:j;U.innerHTML=content;return this.__lG(U,S);},getTextSize:function(W,V){var X=this._textElement||this.__lB();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.__lG(X,V);},__lG:function(bd,Y){var ba=this.__lA;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="__qG",d="changeVisibility",f="__fV",g="changeActive",h="qx.ui.window.MDesktop",i="qx.ui.window.Window";qx.Mixin.define(h,{properties:{activeWindow:{check:i,apply:a,init:null,nullable:true}},members:{__qG:null,__fV:null,getWindowManager:function(){if(!this.__fV){this.setWindowManager(new qx.ui.window.Window.DEFAULT_MANAGER_CLASS());};return this.__fV;},supportsMaximize:function(){return true;},setWindowManager:function(j){if(this.__fV){this.__fV.setDesktop(null);};j.setDesktop(this);this.__fV=j;},_onChangeActive:function(e){if(e.getData()){this.setActiveWindow(e.getTarget());}else if(this.getActiveWindow()==e.getTarget()){this.setActiveWindow(null);};},_applyActiveWindow:function(l,k){this.getWindowManager().changeActiveWindow(l,k);this.getWindowManager().updateStack();},_onChangeModal:function(e){this.getWindowManager().updateStack();},_onChangeVisibility:function(){this.getWindowManager().updateStack();},_afterAddChild:function(m){if(qx.Class.isDefined(i)&&m instanceof qx.ui.window.Window){this._addWindow(m);};},_addWindow:function(n){if(!qx.lang.Array.contains(this.getWindows(),n)){this.getWindows().push(n);n.addListener(g,this._onChangeActive,this);n.addListener(b,this._onChangeModal,this);n.addListener(d,this._onChangeVisibility,this);};if(n.getActive()){this.setActiveWindow(n);};this.getWindowManager().updateStack();},_afterRemoveChild:function(o){if(qx.Class.isDefined(i)&&o instanceof qx.ui.window.Window){this._removeWindow(o);};},_removeWindow:function(p){qx.lang.Array.remove(this.getWindows(),p);p.removeListener(g,this._onChangeActive,this);p.removeListener(b,this._onChangeModal,this);p.removeListener(d,this._onChangeVisibility,this);this.getWindowManager().updateStack();},getWindows:function(){if(!this.__qG){this.__qG=[];};return this.__qG;}},destruct:function(){this._disposeArray(c);this._disposeObjects(f);}});})();(function(){var a="_applyBlockerColor",b="Number",c="__qH",d="qx.ui.core.MBlocker",e="_applyBlockerOpacity",f="Color";qx.Mixin.define(d,{properties:{blockerColor:{check:f,init:null,nullable:true,apply:a,themeable:true},blockerOpacity:{check:b,init:1,apply:e,themeable:true}},members:{__qH: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.__qH&&this.__qH.isBlocked();},unblock:function(){if(this.__qH){this.__qH.unblock();};},forceUnblock:function(){if(this.__qH){this.__qH.forceUnblock();};},blockContent:function(k){this.getBlocker().blockContent(k);},getBlocker:function(){if(!this.__qH){this.__qH=this._createBlocker();};return this.__qH;}},destruct:function(){this._disposeObjects(c);}});})();(function(){var a="qx.dyntheme",b="backgroundColor",c="_applyOpacity",d="Boolean",f="px",g="__qH",h="keydown",j="deactivate",k="changeTheme",l="opacity",m="__cY",n="Tab",o="qx.event.type.Event",p="move",q="Color",r="resize",s="zIndex",t="appear",u="qx.ui.root.Abstract",v="keyup",w="keypress",x="Number",y="unblocked",z="qx.ui.core.Blocker",A="disappear",B="blocked",C="_applyColor";qx.Class.define(z,{extend:qx.core.Object,events:{blocked:o,unblocked:o},construct:function(D){qx.core.Object.call(this);this._widget=D;D.addListener(r,this.__si,this);D.addListener(p,this.__si,this);D.addListener(A,this.__sk,this);if(qx.Class.isDefined(u)&&D instanceof qx.ui.root.Abstract){this._isRoot=true;this.setKeepBlockerActive(true);};if(qx.core.Environment.get(a)){qx.theme.manager.Meta.getInstance().addListener(k,this._onChangeTheme,this);};this.__se=[];this.__sf=[];},properties:{color:{check:q,init:null,nullable:true,apply:C,themeable:true},opacity:{check:x,init:1,apply:c,themeable:true},keepBlockerActive:{check:d,init:false}},members:{__qH:null,__sg:0,__se:null,__sf:null,__cY:null,_widget:null,_isRoot:false,__sh:null,__si:function(e){var E=e.getData();if(this.isBlocked()){this._updateBlockerBounds(E);};},__sj:function(){this._updateBlockerBounds(this._widget.getBounds());if(this._widget.isRootWidget()){this._widget.getContentElement().add(this.getBlockerElement());}else {this._widget.getLayoutParent().getContentElement().add(this.getBlockerElement());};},__sk:function(){if(this.isBlocked()){this.getBlockerElement().getParent().remove(this.getBlockerElement());this._widget.addListenerOnce(t,this.__sj,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.__sl(b,G);},_applyOpacity:function(K,J){this.__sl(l,K);},_onChangeTheme:qx.core.Environment.select(a,{"true":function(){this._applyColor(this.getColor());},"false":null}),__sl:function(M,N){var L=[];this.__qH&&L.push(this.__qH);for(var i=0;i0){Q=this.__sf.pop();if(Q&&!Q.isDisposed()&&Q.isFocusable()){Q.focus();};};var R=this.__se.length;if(R>0){Q=this.__se.pop();if(Q&&!Q.isDisposed()){Q.activate();};};},__sm:function(){return new qx.html.Blocker(this.getColor(),this.getOpacity());},getBlockerElement:function(S){if(!this.__qH){this.__qH=this.__sm();this.__qH.setStyle(s,15);if(!S){if(this._isRoot){S=this._widget;}else {S=this._widget.getLayoutParent();};};S.getContentElement().add(this.__qH);this.__qH.exclude();};return this.__qH;},block:function(){this._block();},_block:function(T,V){if(!this._isRoot&&!this._widget.getLayoutParent()){this.__sh=this._widget.addListenerOnce(t,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(s,T);};this.__sg++ ;if(this.__sg<2){this._backupActiveWidget();var W=this._widget.getBounds();if(W){this._updateBlockerBounds(W);};U.include();if(!V){U.activate();};U.addListener(j,this.__sp,this);U.addListener(w,this.__so,this);U.addListener(h,this.__so,this);U.addListener(v,this.__so,this);this.fireEvent(B,qx.event.type.Event);};},isBlocked:function(){return this.__sg>0;},unblock:function(){if(this.__sh){this._widget.removeListenerById(this.__sh);};if(!this.isBlocked()){return;};this.__sg-- ;if(this.__sg<1){this.__sn();this.__sg=0;};},forceUnblock:function(){if(!this.isBlocked()){return;};this.__sg=0;this.__sn();},__sn:function(){this._restoreActiveWidget();var X=this.getBlockerElement();X.removeListener(j,this.__sp,this);X.removeListener(w,this.__so,this);X.removeListener(h,this.__so,this);X.removeListener(v,this.__so,this);X.exclude();this.fireEvent(y,qx.event.type.Event);},blockContent:function(Y){this._block(Y,true);},__so:function(e){if(e.getKeyIdentifier()==n){e.stop();};},__sp:function(){if(this.getKeepBlockerActive()){this.getBlockerElement().activate();};}},destruct:function(){if(qx.core.Environment.get(a)){qx.theme.manager.Meta.getInstance().removeListener(k,this._onChangeTheme,this);};this._widget.removeListener(r,this.__si,this);this._widget.removeListener(p,this.__si,this);this._widget.removeListener(t,this.__sj,this);this._widget.removeListener(A,this.__sk,this);if(this.__sh){this._widget.removeListenerById(this.__sh);};this._disposeObjects(g,m);this.__se=this.__sf=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.__sq,this);this.addListener(A,this.__sq,this);},members:{_stopPropagation:function(e){e.stopPropagation();},__sq: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.__qJ,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:{__qI: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.__qI;if(!x){this.__qI=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();},__qJ: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.__qI=null;},defer:function(I,J){qx.ui.core.MChildrenHandling.remap(J);}});})();(function(){var a="__nA",b="keypress",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.__nA={};},members:{__nA:null,__nB:null,__nC:null,__nD:null,connectTo:function(m){m.addListener(b,this.__hz,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.__nA[n.$$hash]=n;},removeRoot:function(o){delete this.__nA[o.$$hash];},getActiveWidget:function(){return this.__nB;},isActive:function(p){return this.__nB==p;},getFocusedWidget:function(){return this.__nC;},isFocused:function(q){return this.__nC==q;},isFocusRoot:function(r){return !!this.__nA[r.$$hash];},_onActivate:function(e){var t=e.getTarget();this.__nB=t;var s=this.__nE(t);if(s!=this.__nD){this.__nD=s;};},_onDeactivate:function(e){var u=e.getTarget();if(this.__nB==u){this.__nB=null;};},_onFocusIn:function(e){var v=e.getTarget();if(v!=this.__nC){this.__nC=v;v.visualizeFocus();};},_onFocusOut:function(e){var w=e.getTarget();if(w==this.__nC){this.__nC=null;w.visualizeBlur();};},__hz:function(e){if(e.getKeyIdentifier()!=f){return;};if(!this.__nD){return;};e.stopPropagation();e.preventDefault();var x=this.__nC;if(!e.isShiftPressed()){var y=x?this.__nI(x):this.__nG();}else {var y=x?this.__nJ(x):this.__nH();};if(y){y.tabFocus();};},__nE:function(z){var A=this.__nA;while(z){if(A[z.$$hash]){return z;};z=z.getLayoutParent();};return null;},__nF: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;},__nG:function(){return this.__nM(this.__nD,null);},__nH:function(){return this.__nN(this.__nD,null);},__nI:function(M){var N=this.__nD;if(N==M){return this.__nG();};while(M&&M.getAnonymous()){M=M.getLayoutParent();};if(M==null){return [];};var O=[];this.__nK(N,M,O);O.sort(this.__nF);var P=O.length;return P>0?O[0]:this.__nG();},__nJ:function(Q){var R=this.__nD;if(R==Q){return this.__nH();};while(Q&&Q.getAnonymous()){Q=Q.getLayoutParent();};if(Q==null){return [];};var S=[];this.__nL(R,Q,S);S.sort(this.__nF);var T=S.length;return T>0?S[T-1]:this.__nH();},__nK:function(parent,U,V){var X=parent.getLayoutChildren();var W;for(var i=0,l=X.length;i0){ba.push(bb);};this.__nL(bb,Y,ba);};};},__nM:function(parent,bd){var bf=parent.getLayoutChildren();var be;for(var i=0,l=bf.length;i0){bg=bh;};};bg=this.__nN(bh,bg);};};return bg;}},destruct:function(){this._disposeMap(a);this.__nC=this.__nB=this.__nD=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.__cy=qx.dom.Node.getWindow(B);this.__qK=B;qx.ui.root.Abstract.call(this);qx.event.Registration.addListener(this.__cy,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.__qL,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:{__cy:null,__qK:null,_createContentElement:function(){var D=this.__qK;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.__cy);var J=qx.bom.Viewport.getHeight(this.__cy);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);},__qL: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.__cy=this.__qK=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;i0){return;};if(this.__qS){try{this.__qS.destroy();this.__qS=null;}catch(L){};};}}});})();(function(){var b="text",c="Excel2007",d="TIMEOUT",e="websynapse.common.util.Statics",f="static",g="source",h=" []",j="MODIFY",k="TRANSIENT",l=": ",m="appesc",n="VARCHAR",o="Error",q="",r="NUMBER",s="Session Timeout, Please Log Back in to Re-Validate Your Credentials",t="DATE",u="OKAY",v="/",w="] ",x="PDF",y="INQUIRY",z="MM/dd/yyyy",A="integer",B=" [";qx.Class.define(e,{type:f,statics:{USERNAME:null,USER_ACCESS:null,CURR_CUSTID:null,CURR_FACILITY:null,CURR_FACNAME:null,HELP_URL:null,REPORT_DEST:null,REPORT_URL:null,REPORT_PATH:null,REPORT_FORMAT:null,REPORTS:null,USERREPORTS:null,USER_CUSTOMERS:null,USER_FACILITIES:null,CUST_USER_FACILITIES:null,CUST_SHIPTO:null,CUST_BILLTO:null,CUST_SHIPPER:null,CUST_LOTREQUIRED_DFLT:null,CUSTDICT:null,LAST_ACTIVITY_DTTM:null,TIMEOUT_MINUTES:null,MASSENTRY_ALLOWED:null,PAGE_SIZE:null,COMBO_LISTS:null,COMBO_LISTS_PHP:null,RESOURCE_NAMESPACE:null,APPLICATION:null,DATEFORMAT_MDY:null,PHP_BASE:null,MAIN_WINDOW:null,REFRESH_USER_MAINT:null,REPORT_TYPE_EXCEL:c,REPORT_TYPE_PDF:x,ORDER_SEARCH_INQUIRY:y,ORDER_SEARCH_MODIFY:j,DONE_ORDER_ID:null,WIDGET_TYPE_VARCHAR:n,WIDGET_TYPE_DATE:t,WIDGET_TYPE_NUMBER:r,WIDGET_TYPE_TRANSIENT:k,initStatics:function(D,C,F,E){var p=websynapse.common.util.Statics;p.COMBO_LISTS={};p.DATEFORMAT_MDY=new qx.util.format.DateFormat(z);p.APPLICATION=D;p.RESOURCE_NAMESPACE=C;p.PHP_BASE=F;p.COMBO_LISTS_PHP=E;p.REFRESH_USER_MAINT=true;},showResults:function(H){for(var I in H){var G=H[I];if(G){new websynapse.common.util.Errmsg(G);}else {new websynapse.common.util.Errmsg(qx.locale.Manager.tr(o)+l+qx.locale.Manager.tr(g)+B+I+w+qx.locale.Manager.tr(b)+h);};break;};},phpPath:function(J){return websynapse.common.util.Statics.PHP_BASE+J;},mapToArrayOfArrays:function(O,M,L){var N=[];for(var i=0;ibc){websynapse.common.util.Statics.timeoutAction(bb);return d;};websynapse.common.util.Statics.LAST_ACTIVITY_DTTM=new Date();return u;},timeoutAction:function(be){var bd=qx.lang.Function.bind(function(){be.fireEvent(m);},this);new websynapse.common.util.CallbackDialog(s,bd);},getResource:function(bf){return websynapse.common.util.Statics.RESOURCE_NAMESPACE+v+bf;},getAbsolutePosition:function(bh){var bj=bh.getBounds();var bi=0;var top=0;if(bj!=null){bi=bi+(bj.left!=null?bj.left:0);top=top+(bj.top!=null?bj.top:0);};if(bh.getLayoutParent()){var bg=this.getAbsolutePosition(bh.getLayoutParent());bi=bi+bg.left;top=top+bg.top;};return {"left":bi,"top":top};}}});})();(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.__kW=qx.locale.Manager.getInstance().getLocale();this.__lR=qx.locale.Manager.getInstance().bind(C,this,C);}else {this.__kW=gi;this.setLocale(gi);};this.__lS=this.__kW;if(gj!=null){this.__lT=gj.toString();if(this.__lT in qx.util.format.DateFormat.ISO_MASKS){if(this.__lT===dK){this.__lU=true;};this.__lT=qx.util.format.DateFormat.ISO_MASKS[this.__lT];};}else {this.__lT=qx.locale.Date.getDateFormat(ev,this.__kW)+fS+qx.locale.Date.getDateTimeFormat(ek,U,this.__kW);};},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.__lT!=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.__lT!=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:{__lR:null,__kW:null,__lS:null,__lT:null,__lV:null,__lW:null,__lX:null,__lU:null,__lY: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.__mi();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.__lY(parseInt(gW/4)+1,hg);};if(hg==3){hp=fm+(parseInt(gW/4)+1);};break;case L:if(hg==1||hg==2){hp=this.__lY(parseInt(gW/4)+1,hg);};if(hg==3){hp=fm+(parseInt(gW/4)+1);};break;case fc:hp=this.__lY(this.__ma(hj),hg);break;case fG:hp=this.__lY(ha,hg);break;case ea:hp=this.__lY(this.__mc(hj),hg);break;case c:hp=this.__md(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.__lY(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.__lY(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.__lY(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.__lY(hh,hg);break;case fn:hp=this.__lY((hh==0)?24:hh,hg);break;case fw:hp=this.__lY(hh%12,hg);break;case eD:hp=this.__lY(((hh%12)==0)?12:(hh%12),hg);break;case fX:hp=this.__lY(ho,hg);break;case eF:hp=this.__lY(hf,hg);break;case eX:hp=this.__lY(hm,3);if(hghp.length){hp+=ge;};};break;case eQ:if(hg>=1&&hg<=4){hp=T+((hi>0)?a:W)+this.__lY(Math.abs(gT),2)+y+this.__lY(hl,2);};break;case fY:if(hg>=1&&hg<=3){hp=((hi>0)?a:W)+this.__lY(Math.abs(gT),2)+this.__lY(hl,2);}else {hp=T+((hi>0)?a:W)+this.__lY(Math.abs(gT),2)+y+this.__lY(hl,2);};break;};hn+=hp;};};return hn;},parse:function(hw){this.__mj();var hz=this.__lV.regex.exec(hw);if(hz==null){throw new Error(n+hw+fI+this.__lT);};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.__lX.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.__lX.push({type:fx,text:hI});hI=dL;};}else {hI+=hH;i++ ;};break;};};if(hG!=null){this.__lX.push({type:fC,character:hG,size:hE});}else if(hI.length>0){this.__lX.push({type:fx,text:hI});};},__mj:function(){if(this.__lV!=null){return;};var hM=this.__lT;this.__ml();this.__mi();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],ik,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.__mm.getTerritory()||this.__mm.getLanguage();};return bF.toUpperCase();},__mn:function(bI,bH,bL,bK){var bJ=this.__mm.localize(bL,[],bK);if(bJ==bL){var bG=bL.replace(e+bI+e,e+bH+e);return this.__mm.localize(bG,[],bK);}else {return bJ;};}}});})();(function(){var a="qx.ui.window.IWindowManager";qx.Interface.define(a,{members:{setDesktop:function(b){this.assertInterface(b,qx.ui.window.IDesktop);},changeActiveWindow:function(c,d){},updateStack:function(){},bringToFront:function(e){this.assertInstance(e,qx.ui.window.Window);},sendToBack:function(f){this.assertInstance(f,qx.ui.window.Window);}}});})();(function(){var a="qx.ui.window.IDesktop";qx.Interface.define(a,{members:{setWindowManager:function(b){this.assertInterface(b,qx.ui.window.IWindowManager);},getWindows:function(){},supportsMaximize:function(){},blockContent:function(c){this.assertInteger(c);},unblock:function(){},isBlocked:function(){}}});})();(function(){var a="__mN",b="qx.ui.window.Manager";qx.Class.define(b,{extend:qx.core.Object,implement:qx.ui.window.IWindowManager,members:{__mN:null,setDesktop:function(c){this.__mN=c;this.updateStack();},getDesktop:function(){return this.__mN;},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.__mN.forceUnblock();var h=this.__mN.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.__mN.setActiveWindow(k);},bringToFront:function(o){var n=this.__mN.getWindows();var p=qx.lang.Array.remove(n,o);if(p){n.push(o);this.updateStack();};},sendToBack:function(r){var q=this.__mN.getWindows();var s=qx.lang.Array.remove(q,r);if(s){q.unshift(r);this.updateStack();};}},destruct:function(){this._disposeObjects(a);}});})();(function(){var a="indexOf",b="addAfter",c="add",d="addBefore",e="_",f="addAt",g="hasChildren",h="removeAt",i="removeAll",j="getChildren",k="remove",l="qx.ui.core.MRemoteChildrenHandling";qx.Mixin.define(l,{members:{__mO: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.__mO(j);},hasChildren:function(){return this.__mO(g);},add:function(s,r){return this.__mO(c,s,r);},remove:function(t){return this.__mO(k,t);},removeAll:function(){return this.__mO(i);},indexOf:function(u){return this.__mO(a,u);},addAt:function(x,v,w){this.__mO(f,x,v,w);},addBefore:function(y,A,z){this.__mO(d,y,A,z);},addAfter:function(D,B,C){this.__mO(b,D,B,C);},removeAt:function(E){return this.__mO(h,E);}}});})();(function(){var a="__mQ",b="pointerup",c="Boolean",d="losecapture",f="move",g="qx.ui.core.MMovable",h="__mP",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:{__mP:null,__mQ:null,__mR:null,__mS:null,__mT:null,__mU:null,__mV:null,__mW:false,__mX:null,__mY:0,_activateMoveHandle:function(o){if(this.__mP){throw new Error(i);};this.__mP=o;o.addListener(j,this._onMovePointerDown,this);o.addListener(b,this._onMovePointerUp,this);o.addListener(l,this._onMovePointerMove,this);o.addListener(d,this.__nd,this);},__na:function(){var p=this.__mQ;if(!p){p=this.__mQ=new qx.ui.core.Widget();p.setAppearance(n);p.exclude();qx.core.Init.getApplication().getRoot().add(p);};return p;},__nb:function(){var location=this.getContentLocation();var r=this.getBounds();var q=this.__na();q.setUserBounds(location.left,location.top,r.width,r.height);q.show();q.setZIndex(this.getZIndex()+1);},__nc:function(e){var t=this.__mR;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.__mS+s;var w=this.__mT+v;return {viewportLeft:parseInt(u,10),viewportTop:parseInt(w,10),parentLeft:parseInt(u-this.__mU,10),parentTop:parseInt(w-this.__mV,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.__mX=parent.getBlockerColor();this.__mY=parent.getBlockerOpacity();parent.setBlockerColor(null);parent.setBlockerOpacity(1);parent.blockContent(this.getZIndex()-1);this.__mW=true;};};this.__mR={left:x.left,top:x.top,right:x.left+z.width,bottom:x.top+z.height};var y=this.getContentLocation();this.__mU=x.left;this.__mV=x.top;this.__mS=y.left-e.getDocumentLeft();this.__mT=y.top-e.getDocumentTop();this.addState(f);this.__mP.capture();if(this.getUseMoveFrame()){this.__nb();};e.stop();},_onMovePointerMove:function(e){if(!this.hasState(f)){return;};var B=this.__nc(e);if(this.getUseMoveFrame()){this.__na().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._onMoveRoll,this)){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.__mW){parent.unblock();parent.setBlockerColor(this.__mX);parent.setBlockerOpacity(this.__mY);this.__mX=null;this.__mY=0;this.__mW=false;};};this.__mP.releaseCapture();var D=this.__nc(e);var C=this.getLayoutParent().getInsets();this.setLayoutProperties({left:D.parentLeft-(C.left||0),top:D.parentTop-(C.top||0)});if(this.getUseMoveFrame()){this.__na().exclude();};e.stopPropagation();},__nd:function(e){if(!this.hasState(f)){return;};this.removeState(f);if(this.getUseMoveFrame()){this.__na().exclude();};}},destruct:function(){this._disposeObjects(a,h);this.__mR=null;}});})();(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="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:{__ne:{contentPaddingTop:b,contentPaddingRight:n,contentPaddingBottom:d,contentPaddingLeft:t},__nf:{contentPaddingTop:s,contentPaddingRight:l,contentPaddingBottom:u,contentPaddingLeft:i},__ng:{contentPaddingTop:j,contentPaddingRight:a,contentPaddingBottom:p,contentPaddingLeft:r},_applyContentPadding:function(z,w,name,y){var A=this._getContentPaddingTarget();if(z==null){var x=this.__ng[name];A[x]();}else {if(y==m||y==e){var B=this.__nf[name];A[B](z);}else {var B=this.__ne[name];A[B](z);};};}}});})();(function(){var a="Boolean",b="w-resize",c="touch",d="sw-resize",f="n-resize",g="resizableRight",h="ne-resize",i="se-resize",j="Integer",k="e-resize",l="resizableLeft",m="move",n="shorthand",o="maximized",p="resize",q="nw-resize",r="pointerup",s="pointerdown",t="qx.ui.core.MResizable",u="losecapture",v="resize-frame",w="resizableBottom",x="s-resize",y="pointermove",z="resizableTop",A="pointerout";qx.Mixin.define(t,{construct:function(){var content=this.getContentElement();content.addListener(s,this.__nt,this,true);content.addListener(r,this.__nu,this);content.addListener(y,this.__nw,this);content.addListener(A,this.__nx,this);content.addListener(u,this.__nv,this);var B=content.getDomElement();if(B==null){B=window;};this.__nh=qx.event.Registration.getManager(B).getHandler(qx.event.handler.DragDrop);},properties:{resizableTop:{check:a,init:true},resizableRight:{check:a,init:true},resizableBottom:{check:a,init:true},resizableLeft:{check:a,init:true},resizable:{group:[z,g,w,l],mode:n},resizeSensitivity:{check:j,init:5},useResizeFrame:{check:a,init:true}},members:{__nh:null,__ni:null,__nj:null,__nk:null,__nl:null,__nm:null,__nn:null,RESIZE_TOP:1,RESIZE_BOTTOM:2,RESIZE_LEFT:4,RESIZE_RIGHT:8,_getResizeFrame:function(){var C=this.__ni;if(!C){C=this.__ni=new qx.ui.core.Widget();C.setAppearance(v);C.exclude();qx.core.Init.getApplication().getRoot().add(C);};return C;},__no:function(){var location=this.getContentLocation();var D=this._getResizeFrame();D.setUserBounds(location.left,location.top,location.right-location.left,location.bottom-location.top);D.show();D.setZIndex(this.getZIndex()+1);},__np:function(e){var F=this.__nj;var E=this.getSizeHint();var I=this.__nn;var H=this.__nm;var J=H.width;var G=H.height;var L=H.left;var top=H.top;var K;if((F&this.RESIZE_TOP)||(F&this.RESIZE_BOTTOM)){K=Math.max(I.top,Math.min(I.bottom,e.getDocumentTop()))-this.__nl;if(F&this.RESIZE_TOP){G-=K;}else {G+=K;};if(GE.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.__nk;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};},__nq:{'1':f,'2':x,'4':b,'8':k,'5':q,'6':d,'9':h,'10':i},__nr:function(e){var location=this.getContentLocation();var O=this.getResizeSensitivity();var N=e.getDocumentLeft();var P=e.getDocumentTop();var M=this.__ns(location,N,P,O);if(M>0){M=M|this.__ns(location,N,P,O*2);};this.__nj=M;},__ns: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&&R0){E=D[i].getSizeHint();F[i]={min:E.minHeight,value:I[i],max:E.maxHeight,flex:L};};};var B=N.computeFlexOffsets(F,G,P);for(i in B){y=B[i].offset;I[i]+=y;P+=y;};};var top=D[0].getMarginTop();if(P0){if(T){top+=x+M;this._renderSeparator(T,{top:top+R.top,left:R.left,height:Q,width:O});top+=Q+M+S.getMarginTop();}else {top+=N.collapseMargins(M,x,S.getMarginTop());};};S.renderLayout(V+R.left,top+R.top,J,z);top+=z;x=S.getMarginBottom();};},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__lr();};var W=qx.ui.layout.Util;var bl=this.__gt;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.__mD=this.__lp=this.__gt=null;}});})();(function(){var a="' must be defined!",b="height",c="hAlign",d="vAlign",e="Integer",f="'",g="_applyLayoutChange",h="qx.ui.layout.Grid",m="maxHeight",n="Cannot add widget '",o="width",p=") for '",q="'!. ",r="top",s="minHeight",t="' in this cell (",u=", ",v="The layout properties 'row' and 'column' of the child widget '",w="minWidth",z="flex",A="left",B="maxWidth",C="There is already a widget '";qx.Class.define(h,{extend:qx.ui.layout.Abstract,construct:function(E,D){qx.ui.layout.Abstract.call(this);this.__ms=[];this.__mt=[];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:{__mu:null,__ms:null,__mt:null,__mv:null,__mw:null,__mx:null,__my:null,__mz:null,__mA:null,verifyLayoutProperty:null,__mB: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.__mu=L;this.__mv=G;this.__mw=J;this.__mx=I;this.__my=F;this.__mz=null;this.__mA=null;delete this._invalidChildrenCache;},_setRowData:function(S,Q,R){var P=this.__ms[S];if(!P){this.__ms[S]={};this.__ms[S][Q]=R;}else {P[Q]=R;};},_setColumnData:function(T,V,W){var U=this.__mt[T];if(!U){this.__mt[T]={};this.__mt[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.__mt[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.__ms[bi]||{};return {vAlign:bh.vAlign||r,hAlign:bh.hAlign||A};},getCellWidget:function(bk,bj){if(this._invalidChildrenCache){this.__mB();};var bk=this.__mu[bk]||{};return bk[bj]||null;},getRowCount:function(){if(this._invalidChildrenCache){this.__mB();};return this.__mx+1;},getColumnCount:function(){if(this._invalidChildrenCache){this.__mB();};return this.__my+1;},getCellAlign:function(bs,bm){var br=r;var bp=A;var bq=this.__ms[bs];var bn=this.__mt[bm];var bl=this.__mu[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.__mt[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.__ms[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.__mt[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.__mt[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.__mt[bM]||{};return bN.minWidth||0;},setRowMaxHeight:function(bP,bO){this._setRowData(bP,m,bO);this._applyLayoutChange();return this;},getRowMaxHeight:function(bR){var bQ=this.__ms[bR]||{};return bQ.maxHeight||Infinity;},setRowHeight:function(bS,bT){this._setRowData(bS,b,bT);this._applyLayoutChange();return this;},getRowHeight:function(bV){var bU=this.__ms[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.__ms[ca]||{};return bY.minHeight||0;},__mC: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.__mw.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.__mC(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.__mw.length>0){this._fixHeightsRowSpan(cY);};this.__mz=cY;return cY;},_getColWidths:function(){if(this.__mA!=null){return this.__mA;};var df=[];var dc=this.__my;var de=this.__mx;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.__mu[dl][dk];if(!db){continue;};var dg=db.getLayoutProperties().colSpan||0;if(dg>1){continue;};var dj=this.__mC(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.__mv.length>0){this._fixWidthsColSpan(df);};this.__mA=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.__mB();};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.__my;var dC=this.__mx;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.__mu[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.__mu=this.__ms=this.__mt=this.__mv=this.__mw=this.__mA=this.__mz=null;}});})();(function(){var a="toolTipText",b="icon",c="label",d="qx.ui.core.MExecutable",f="value",g="qx.event.type.Event",h="execute",j="_applyCommand",k="enabled",l="menu",m="changeCommand";qx.Mixin.define(d,{events:{"execute":g},properties:{command:{check:function(n){return n instanceof qx.ui.core.Command||n instanceof qx.ui.command.Command;},apply:j,event:m,nullable:true}},members:{__lH:null,__lI:false,__lJ:null,_bindableProperties:[k,c,b,a,f,l],execute:function(){var o=this.getCommand();if(o){if(this.__lI){this.__lI=false;}else {this.__lI=true;o.execute(this);};};this.fireEvent(h);},__lK:function(e){if(this.__lI){this.__lI=false;return;};this.__lI=true;this.execute();},_applyCommand:function(r,p){if(p!=null){p.removeListenerById(this.__lJ);};if(r!=null){this.__lJ=r.addListener(h,this.__lK,this);};var q=this.__lH;if(q==null){this.__lH=q={};};var u;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.__lP[bg]||qx.lang.String.firstUp(bg);if(bf.isValidKeyIdentifier(bh)){return bh;}else {return z;};},toString:function(){var bj=this.__lM;var bk=[];for(var bi in this.__lL){if(this.__lL[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.__lL=this.__lM=null;}});})();(function(){var a="End",b="key_full_Meta",c="PrintScreen",d="NumLock",e="Escape",f="Left",g="Meta",h="key_short_Alt",i="key_short_Control_Mac",j="key_short_Insert",k="Del",l="Pause",m="Num",n="key_full_Enter",o="key_full_Control",p="qx.locale.Key",q="Tabulator",r="key_full_Space",s="key_short_Meta",t="key_short_PageUp",u="key_short_Pause",v="key_full_Down",w="key_short_Apps",x="key_short_Win",y="key_full_Right",z="os.name",A="key_short_Up",B="key_full_PageDown",C="key_full_Alt",D="PgDn",E="Down",F="Esc",G="key_full_Insert",H="osx",I="Ctrl",J="key_short_Space",K="key_short_Backspace",L="key_short_Home",M="key_short_Down",N="Home",O="Apps",P="PgUp",Q="Win",R="_Mac",S="key_short_CapsLock",T="Right",U="Backspace",V="PageUp",W="key_full_Up",X="Space",Y="key_full_Home",bX="Up",bY="key_full_Backspace",ca="PageDown",bT="CapsLock",bU="Ins",bV="Control",bW="key_short_PrintScreen",cf="Tab",cg="Shift",ch="key_full_Apps",ci="key_short_Tab",cb="key_short_End",cc="_",cd="Caps",ce="key_short_NumLock",cm="key_full_Scroll",cI="key_short_Left",cJ="key_short_Scroll",cn="key_",cj="key_full_Pause",ck="Enter",cL="key_short_Right",cl="key_full_PrintScreen",co="key_full_Win",cp="key_full_Control_Mac",cq="key_short_Shift",cu="key_short_PageDown",cM="key_short_Enter",cv="key_short_Control",cr="Insert",cs="key_short_Escape",cK="Scroll",ct="key_full_Tab",cA="Print",cB="Delete",cC="key_full_CapsLock",cD="key_full_Escape",cw="key_short_Delete",cx="key_full_PageUp",cy="key_full_Shift",cz="Alt",cE="key_full_NumLock",cF="key_full_Delete",cG="key_full_End",cH="key_full_Left";qx.Class.define(p,{statics:{getKeyName:function(cR,cO,cN){{};var cQ=cn+cR+cc+cO;if(qx.core.Environment.get(z)==H&&cO==bV){cQ+=R;};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(K)]=U;cU[cT.marktr(ci)]=cf;cU[cT.marktr(J)]=X;cU[cT.marktr(cM)]=ck;cU[cT.marktr(cq)]=cg;cU[cT.marktr(cv)]=I;cU[cT.marktr(i)]=I;cU[cT.marktr(h)]=cz;cU[cT.marktr(S)]=cd;cU[cT.marktr(s)]=g;cU[cT.marktr(cs)]=F;cU[cT.marktr(cI)]=f;cU[cT.marktr(A)]=bX;cU[cT.marktr(cL)]=T;cU[cT.marktr(M)]=E;cU[cT.marktr(t)]=P;cU[cT.marktr(cu)]=D;cU[cT.marktr(cb)]=a;cU[cT.marktr(L)]=N;cU[cT.marktr(j)]=bU;cU[cT.marktr(cw)]=k;cU[cT.marktr(ce)]=m;cU[cT.marktr(bW)]=cA;cU[cT.marktr(cJ)]=cK;cU[cT.marktr(u)]=l;cU[cT.marktr(x)]=Q;cU[cT.marktr(w)]=O;cU[cT.marktr(bY)]=U;cU[cT.marktr(ct)]=q;cU[cT.marktr(r)]=X;cU[cT.marktr(n)]=ck;cU[cT.marktr(cy)]=cg;cU[cT.marktr(o)]=bV;cU[cT.marktr(cp)]=bV;cU[cT.marktr(C)]=cz;cU[cT.marktr(cC)]=bT;cU[cT.marktr(b)]=g;cU[cT.marktr(cD)]=e;cU[cT.marktr(cH)]=f;cU[cT.marktr(W)]=bX;cU[cT.marktr(y)]=T;cU[cT.marktr(v)]=E;cU[cT.marktr(cx)]=V;cU[cT.marktr(B)]=ca;cU[cT.marktr(cG)]=a;cU[cT.marktr(Y)]=N;cU[cT.marktr(G)]=cr;cU[cT.marktr(cF)]=cB;cU[cT.marktr(cE)]=d;cU[cT.marktr(cl)]=c;cU[cT.marktr(cm)]=cK;cU[cT.marktr(cj)]=l;cU[cT.marktr(co)]=Q;cU[cT.marktr(ch)]=O;cS._keyNames=cU;}});})();(function(){var a="Please use qx.ui.command.Command instead.",b="qx.ui.core.Command";qx.Class.define(b,{extend:qx.ui.command.Command,construct:function(c){qx.log.Logger.deprecatedMethodWarning(arguments.callee,a);qx.ui.command.Command.call(this,c);}});})();(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="qx.ui.form.Button",b="pointerup",c="Enter",d="pressed",f="pointerover",g="hovered",h="pointerdown",i="Space",j="keydown",k="abandoned",l="tap",m="dbltap",n="button",o="keyup",p="pointerout";qx.Class.define(a,{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(q,s,r){qx.ui.basic.Atom.call(this,q,s);if(r!=null){this.setCommand(r);};this.addListener(f,this._onPointerOver);this.addListener(p,this._onPointerOut);this.addListener(h,this._onPointerDown);this.addListener(b,this._onPointerUp);this.addListener(l,this._onTap);this.addListener(j,this._onKeyDown);this.addListener(o,this._onKeyUp);this.addListener(m,this._onStopEvent);},properties:{appearance:{refine:true,init:n},focusable:{refine:true,init:true}},members:{_forwardStates:{focused:true,hovered:true,pressed:true,disabled:true},press:function(){if(this.hasState(k)){return;};this.addState(d);},release:function(){if(this.hasState(d)){this.removeState(d);};},reset:function(){this.removeState(d);this.removeState(k);this.removeState(g);},_onPointerOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;};if(this.hasState(k)){this.removeState(k);this.addState(d);};this.addState(g);},_onPointerOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;};this.removeState(g);if(this.hasState(d)){this.removeState(d);this.addState(k);};},_onPointerDown:function(e){if(!e.isLeftPressed()){return;};e.stopPropagation();this.capture();this.removeState(k);this.addState(d);},_onPointerUp:function(e){this.releaseCapture();var t=this.hasState(d);var u=this.hasState(k);if(t){this.removeState(d);};if(u){this.removeState(k);};e.stopPropagation();},_onTap:function(e){this.execute();e.stopPropagation();},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case c:case i:this.removeState(k);this.addState(d);e.stopPropagation();};},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case c:case i:if(this.hasState(d)){this.removeState(k);this.removeState(d);this.execute();e.stopPropagation();};};}}});})();(function(){var a="dblclick",b="appear",c="captionbar",d="websynapse.common.util.Dialog";qx.Class.define(d,{extend:qx.ui.window.Window,construct:function(){qx.ui.window.Window.call(this);var f=this.getChildControl(c);f.addListener(a,function(e){e.stop();},this,true);this.addListenerOnce(b,function(){this.center();},this);},members:{__lk:null,setInParam:function(g){this.__lk=g;},getInParam:function(){return this.__lk;}}});})();(function(){var a="function",b="Error",c="red",d="close",e="websynapse.common.util.Errmsg",f="Close",g="execute";qx.Class.define(e,{extend:websynapse.common.util.Dialog,construct:function(h,k){function i(){this.destroy();if(k){if(a==typeof k){k();}else {k.focus();if(/textfield/.test(k.toString().toLowerCase())){k.setTextSelection(0);};};};};websynapse.common.util.Dialog.call(this);this.set({caption:this.tr(b),modal:true,showMaximize:false,showMinimize:false});this.setLayout(new qx.ui.layout.VBox(10));this.add(new qx.ui.basic.Label(h).set({rich:true,width:200,textColor:c}));var j=new qx.ui.form.Button(this.tr(f)).set({height:25});j.addListener(g,i,this);this.add(j);this.addListener(d,i,this);this.open();this.center();}});})();(function(){var a="red",b="close",c="websynapse.common.util.CallbackDialog",d="execute",e="Close";qx.Class.define(c,{extend:websynapse.common.util.Dialog,construct:function(f,g){function h(){this.destroy();g();};websynapse.common.util.Dialog.call(this);this.set({modal:true,showMaximize:false,showMinimize:false});this.setLayout(new qx.ui.layout.VBox(10));this.add(new qx.ui.basic.Label(f).set({rich:true,width:200,textColor:a}));var i=new qx.ui.form.Button(this.tr(e)).set({height:25});i.addListener(d,h,this);this.add(i);this.addListener(b,h,this);this.open();this.center();}});})();(function(){var b="qx.ui.form.TextField",c="Need ",d="There are unsaved changes.
Are you sure you want to leave page?",e="sans-serif",f="Pencil-icon.png",g="Save Action Should Be Overridden",h="changescreen",j="changeValue",k="N",l="key",m="Click to Change Customer",n="execute",o="qx.event.type.Data",p="User: ",q="Click to Change Facility",r=" data",s="list-add.png",t="Facility: ",u="websynapse.common.ui.screens.AbstractScreen",v="screen-background",w="POST",x="input",y=" - ",z="center",A="type",B="qx.event.type.Event",C="changeSelection",D="popscreen",E="custid-red",F="opcode",G="qx.ui.form.RadioButtonGroup",H=" not implemented yet!!",I="VARCHAR",J="Y",K="shadow-label",L="",M="listname",N="oldValue",O="newValue",P="parent",Q="qx.ui.form.CheckBox",R="textfield",S="homescreen",T="lists",U="right",V=", ",W="websynapse.common.ui.widgets.UpperTextField",X="qx.ui.form.DateField",Y="Verdana",bp="click",bq="bold",br="pushscreen",bl="qx.ui.form.TextArea",bm="dialog-cancel.png",bn="list-remove.png",bo="3px 3px 3px #C0C0C0",bs="column",bt="left",bu="websynapse.common.ui.widgets.SelectBox",bv="dialog-apply.png";qx.Class.define(u,{extend:qx.ui.container.Composite,construct:function(bx){qx.ui.container.Composite.call(this);this.setLayout(new qx.ui.layout.VBox());this.setDecorator(v);if(bx!=null&&bx!=L){this._titlePanel=new qx.ui.container.Composite(new qx.ui.layout.HBox(0,z));var bA=new qx.ui.container.Composite(new qx.ui.layout.HBox(5,bt)).set({paddingLeft:5});bA.add(this._lblCurrentUser=new qx.ui.basic.Label(p+websynapse.common.util.Statics.USERNAME).set({font:bq}));this._titlePanel.add(bA,{flex:1});this._titlePanel.add(this._title=new qx.ui.basic.Label().set({value:bx,margin:5,font:new qx.bom.Font(18,[Y,e]).set({bold:true,textShadow:bo}),decorator:K,textAlign:z,alignX:z}),{flex:1});var bB=new qx.ui.container.Composite(new qx.ui.layout.VBox(2)).set({marginRight:5});var by=new qx.ui.container.Composite(new qx.ui.layout.HBox(5,U));by.add(this._lblCurrentCustomer=new qx.ui.basic.Label(websynapse.common.util.Statics.CURR_CUSTID.custid+y+websynapse.common.util.Statics.CURR_CUSTID.name));this._lblCurrentCustomer.setTextColor(E);this._lblCurrentCustomer.setFont(bq);this._lblCurrentCustomer.setToolTipText(m);this._lblCurrentCustomer.addListener(bp,this._changeCustomerAction,this);var bw=new qx.ui.container.Composite(new qx.ui.layout.HBox(5,U));bw.add(this._lblCurrentFacility=new qx.ui.basic.Label(t+websynapse.common.util.Statics.CURR_FACILITY+V+websynapse.common.util.Statics.CURR_FACNAME));this._lblCurrentFacility.setTextColor(E);this._lblCurrentFacility.setFont(bq);this._lblCurrentFacility.setToolTipText(q);this._lblCurrentFacility.addListener(bp,this._changeFacilityAction,this);bB.add(by);bB.add(bw);this._titlePanel.add(bB,{flex:1});this.add(this._titlePanel);};this._requiredData=new Array();this._registeredWidgets=new Array();this._btnApply=new qx.ui.form.Button(null,websynapse.common.util.Statics.getResource(bv));this._btnApply.setEnabled(false);this._applyListener=this._btnApply.addListener(n,this._saveAction,this);this._btnCancel=new qx.ui.form.Button(null,websynapse.common.util.Statics.getResource(bm));this._btnCancel.setEnabled(false);this._cancelListener=this._btnCancel.addListener(n,this._cancelAction,this);this._btnAdd=new qx.ui.form.Button(null,websynapse.common.util.Statics.getResource(s));this._btnEdit=new qx.ui.form.Button(null,websynapse.common.util.Statics.getResource(f));this._btnDelete=new qx.ui.form.Button(null,websynapse.common.util.Statics.getResource(bn));var bz=websynapse.common.util.Statics.APPLICATION;this.addListener(br,bz.pushScreen,bz);this.addListener(D,bz.popScreen,bz);this.addListener(h,bz.changeScreen,bz);this.addListener(S,bz.homeScreen,bz);},events:{"appesc":B,"appok":B,"changescreen":o,"pushscreen":o,"popscreen":B,"homescreen":o},members:{_requiredData:null,_btnApply:null,_applyListener:null,_btnCancel:null,_cancelListener:null,_btnAdd:null,_btnEdit:null,_btnDelete:null,_titlePanel:null,_title:null,_lblCurrentUser:null,_lblCurrentCustomer:null,_lblCurrentFacility:null,__lc:null,__ld:null,__lh:null,__lk:null,__St:null,_registeredWidgets:null,setInParam:function(bC){this.__lk=bC;},getInParam:function(){return this.__lk;},_changeLayout:function(bD){if(this._titlePanel!=null){this.remove(this._titlePanel);};this.setLayout(bD);},_newFormattedLabel:function(bE){return new qx.ui.basic.Label().set({rich:true,value:bE});},_getRequiredData:function(){for(var i=0;i0){return;};var cp=new websynapse.common.util.Request(websynapse.common.util.Statics.COMBO_LISTS_PHP,this.__Su,this);cp.setMethod(w);cp.setParameter(F,T);cp.setParameter(M,cq);cp.send();},__Su:function(cr){if(M in cr){websynapse.common.util.Statics.COMBO_LISTS[cr.listname]=cr.listdata;};if(this._hasRequiredData){this._requiredDataCompleted();};},_requiredDataCompleted:function(){},_changeCustomerAction:function(){var cs=new websynapse.ChangeCustomerDialog();cs.setInParam({screen:this.classname});cs.openAndCenter();},_changeFacilityAction:function(){var ct=new websynapse.ChangeFacilityDialog();ct.setInParam({screen:this.classname});ct.openAndCenter();},validateLeavingScreen:function(screen,cv){if(this._isScreenDirty()){var cu=qx.lang.Function.bind(function(){this.fireDataEvent(h,{screen:screen,param:cv,validate:true});},this);new websynapse.common.util.CallbackConfirmationDialog(this.tr(d),cu);return true;};return false;},validateGoToHome:function(){if(this._isScreenDirty()){var cw=qx.lang.Function.bind(function(){this.fireDataEvent(S,{validate:true});},this);new websynapse.common.util.CallbackConfirmationDialog(this.tr(d),cw);return true;};return false;}}});})();(function(){var a="",b="qx.ui.form.MForm",c="Boolean",d="_applyValid",f="changeLocale",g="changeRequired",h="changeValid",i="qx.dynlocale",j="changeInvalidMessage",k="String",l="invalid";qx.Mixin.define(b,{construct:function(){if(qx.core.Environment.get(i)){qx.locale.Manager.getInstance().addListener(f,this.__mE,this);};},properties:{valid:{check:c,init:true,apply:d,event:h},required:{check:c,init:false,event:g},invalidMessage:{check:k,init:a,event:j},requiredInvalidMessage:{check:k,nullable:true,event:j}},members:{_applyValid:function(n,m){n?this.removeState(l):this.addState(l);},__mE:qx.core.Environment.select(i,{"true":function(e){var o=this.getInvalidMessage();if(o&&o.translate){this.setInvalidMessage(o.translate());};var p=this.getRequiredInvalidMessage();if(p&&p.translate){this.setRequiredInvalidMessage(p.translate());};},"false":null})},destruct:function(){if(qx.core.Environment.get(i)){qx.locale.Manager.getInstance().removeListener(f,this.__mE,this);};}});})();(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="loadEnd",b="qx.io.request.AbstractRequest",c="changePhase",d="GET",f="sent",g="qx.event.type.Data",h="qx.io.request.authentication.IAuthentication",i="error",j="fail",k="loading",l="load",m="qx.event.type.Event",n="abort",o="success",p="String",q="",r="opened",s="POST",t="statusError",u="readyStateChange",v="Abstract method call",w="abstract",x="unsent",y="changeResponse",z="Number",A="Content-Type",B="timeout",C="undefined";qx.Class.define(b,{type:w,extend:qx.core.Object,construct:function(D){qx.core.Object.call(this);if(D!==undefined){this.setUrl(D);};this.__nQ={};var E=this._transport=this._createTransport();this._setPhase(x);this.__Sv=qx.lang.Function.bind(this._onReadyStateChange,this);this.__Sw=qx.lang.Function.bind(this._onLoad,this);this.__Sx=qx.lang.Function.bind(this._onLoadEnd,this);this.__Sy=qx.lang.Function.bind(this._onAbort,this);this.__rN=qx.lang.Function.bind(this._onTimeout,this);this.__Sz=qx.lang.Function.bind(this._onError,this);E.onreadystatechange=this.__Sv;E.onload=this.__Sw;E.onloadend=this.__Sx;E.onabort=this.__Sy;E.ontimeout=this.__rN;E.onerror=this.__Sz;},events:{"readyStateChange":m,"success":m,"load":m,"loadEnd":m,"abort":m,"timeout":m,"error":m,"statusError":m,"fail":m,"changeResponse":g,"changePhase":g},properties:{url:{check:p},timeout:{check:z,nullable:true,init:0},requestData:{check:function(F){return qx.lang.Type.isString(F)||qx.Class.isSubClassOf(F.constructor,qx.core.Object)||qx.lang.Type.isObject(F)||qx.lang.Type.isArray(F);},nullable:true},authentication:{check:h,nullable:true}},members:{__Sv:null,__Sw:null,__Sx:null,__Sy:null,__rN:null,__Sz:null,__SA:null,__rQ:null,__SB:null,__nQ:null,__SC:null,_transport:null,_createTransport:function(){throw new Error(v);},_getConfiguredUrl:function(){},_getConfiguredRequestHeaders:function(){},_getParsedResponse:function(){throw new Error(v);},_getMethod:function(){return d;},_isAsync:function(){return true;},send:function(){var K=this._transport,G,J,H,I;G=this._getConfiguredUrl();if(/\#/.test(G)){G=G.replace(/\#.*/,q);};K.timeout=this.getTimeout();J=this._getMethod();H=this._isAsync();{};K.open(J,G,H);this._setPhase(r);I=this._serializeData(this.getRequestData());this._setRequestHeaders();{};J==d?K.send():K.send(I);this._setPhase(f);},abort:function(){{};this.__rQ=true;this.__SB=n;this._transport.abort();},_setRequestHeaders:function(){var M=this._transport,L=this._getAllRequestHeaders();for(var N in L){M.setRequestHeader(N,L[N]);};},_getAllRequestHeaders:function(){var O={};qx.lang.Object.mergeWith(O,this._getConfiguredRequestHeaders());qx.lang.Object.mergeWith(O,this.__SD());qx.lang.Object.mergeWith(O,this.__SC);qx.lang.Object.mergeWith(O,this.__nQ);return O;},__SD:function(){var Q=this.getAuthentication(),P={};if(Q){Q.getAuthHeaders().forEach(function(R){P[R.key]=R.value;});return P;};},setRequestHeader:function(S,T){this.__nQ[S]=T;},getRequestHeader:function(U){return this.__nQ[U];},removeRequestHeader:function(V){if(this.__nQ[V]){delete this.__nQ[V];};},getTransport:function(){return this._transport;},getReadyState:function(){return this._transport.readyState;},getPhase:function(){return this.__SB;},getStatus:function(){return this._transport.status;},getStatusText:function(){return this._transport.statusText;},getResponseText:function(){return this._transport.responseText;},getAllResponseHeaders:function(){return this._transport.getAllResponseHeaders();},getResponseHeader:function(W){return this._transport.getResponseHeader(W);},overrideResponseContentType:function(X){return this._transport.overrideMimeType(X);},getResponseContentType:function(){return this.getResponseHeader(A);},isDone:function(){return this.getReadyState()===4;},getResponse:function(){return this.__SA;},_setResponse:function(ba){var Y=ba;if(this.__SA!==ba){this.__SA=ba;this.fireEvent(y,qx.event.type.Data,[this.__SA,Y]);};},_onReadyStateChange:function(){var bb=this.getReadyState();{};this.fireEvent(u);if(this.__rQ){return;};if(bb===3){this._setPhase(k);};if(this.isDone()){this.__SE();};},__SE:function(){{};this._setPhase(l);if(qx.util.Request.isSuccessful(this.getStatus())){{};this._setResponse(this._getParsedResponse());this._fireStatefulEvent(o);}else {try{this._setResponse(this._getParsedResponse());}catch(e){};if(this.getStatus()!==0){this._fireStatefulEvent(t);this.fireEvent(j);};};},_onLoad:function(){this.fireEvent(l);},_onLoadEnd:function(){this.fireEvent(a);},_onAbort:function(){this._fireStatefulEvent(n);},_onTimeout:function(){this._fireStatefulEvent(B);this.fireEvent(j);},_onError:function(){this.fireEvent(i);this.fireEvent(j);},_fireStatefulEvent:function(bc){{};this._setPhase(bc);this.fireEvent(bc);},_setPhase:function(bd){var be=this.__SB;{};this.__SB=bd;this.fireDataEvent(c,bd,be);},_serializeData:function(bh){var bf=typeof this.getMethod!==C&&this.getMethod()==s,bg=/application\/.*\+?json/.test(this.getRequestHeader(A));if(!bh){return null;};if(qx.lang.Type.isString(bh)){return bh;};if(qx.Class.isSubClassOf(bh.constructor,qx.core.Object)){return qx.util.Serializer.toUriParameter(bh);};if(bg&&(qx.lang.Type.isObject(bh)||qx.lang.Type.isArray(bh))){return qx.lang.Json.stringify(bh);};if(qx.lang.Type.isObject(bh)){return qx.util.Uri.toParameter(bh,bf);};}},environment:{"qx.debug.io":false},destruct:function(){var bj=this._transport,bi=function(){};if(this._transport){bj.onreadystatechange=bj.onload=bj.onloadend=bj.onabort=bj.ontimeout=bj.onerror=bi;window.setTimeout(function(){bj.dispose();},0);};}});})();(function(){var a="HEAD",b="CONNECT",c="OPTIONS",d="PUT",e="GET",f="PATCH",g="//",h="DELETE",i="POST",j="TRACE",k="qx.util.Request";qx.Bootstrap.define(k,{statics:{isCrossDomain:function(l){var n=qx.util.Uri.parseUri(l),location=window.location;if(!location){return false;};var m=location.protocol;if(!(l.indexOf(g)!==-1)){return false;};if(m.substr(0,m.length-1)==n.protocol&&location.host===n.host&&location.port===n.port){return false;};return true;},isSuccessful:function(status){return (status>=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="qx.util.Serializer",b='\\\\',c='\\f',d='"',e="null",f='\\"',g="}",h="get",j="{",k='\\r',l="",m='\\t',n="]",o="Class",p="Interface",q="[",r="Mixin",s='":',t="&",u='\\b',v="=",w='\\n',x=",";qx.Class.define(a,{statics:{toUriParameter:function(z,C,y){var E=l;var B=qx.util.PropertyUtil.getAllProperties(z.constructor);for(var name in B){if(B[name].group!=undefined){continue;};var A=z[h+qx.lang.String.firstUp(name)]();if(qx.lang.Type.isArray(A)){var D=qx.data&&qx.data.IListData&&qx.Class.hasInterface(A&&A.constructor,qx.data.IListData);for(var i=0;iqx.bom.request.Xhr.UNSENT){this.dispose();this.__SQ();};this.__SN.onreadystatechange=this.__SG;try{{};this.__SN.open(V,R,S,U,T);}catch(W){if(!qx.util.Request.isCrossDomain(R)){throw W;};if(!this.__SL){this.__SM=W;};if(this.__SL){if(window.XDomainRequest){this.readyState=4;this.__SN=new XDomainRequest();this.__SN.onerror=qx.Bootstrap.bind(function(){this._emit(F);this._emit(m);this._emit(n);},this);{};this.__SN.open(V,R,S,U,T);return;};window.setTimeout(qx.Bootstrap.bind(function(){if(this.__rS){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.__SN.readyState>0){this.__SN.setRequestHeader(f,j);};if(qx.core.Environment.get(u)===C&&parseInt(qx.core.Environment.get(g),10)<2&&!this.__SL){this.readyState=qx.bom.request.Xhr.OPENED;this._emit(F);};},setRequestHeader:function(X,Y){this.__Tc();if(X==D||X==f||X==c||X==J){this.__SK=true;};this.__SN.setRequestHeader(X,Y);return this;},send:function(bb){this.__Tc();if(!this.__SL&&this.__SM){throw this.__SM;};if(qx.core.Environment.get(u)===y&&this.timeout===0){this.timeout=10000;};if(this.timeout>0){this.__SO=window.setTimeout(this.__rN,this.timeout);};bb=typeof bb==O?null:bb;var ba=qx.Bootstrap.getClass(bb);bb=(bb!==null&&this.__SP.indexOf(ba)===-1)?bb.toString():bb;try{{};this.__SN.send(bb);}catch(bd){if(!this.__SL){throw bd;};if(this._getProtocol()===H){this.readyState=2;this.__ST();var bc=this;window.setTimeout(function(){if(bc.__rS){return;};bc.readyState=3;bc.__ST();bc.readyState=4;bc.__ST();});};};if(qx.core.Environment.get(u)===C&&!this.__SL){this.__SS();};this.__SJ=true;return this;},abort:function(){this.__Tc();this.__rQ=true;this.__SN.abort();if(this.__SN){this.readyState=this.__SN.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.__Tc();return this.__SN.getResponseHeader(bg);},getAllResponseHeaders:function(){this.__Tc();return this.__SN.getAllResponseHeaders();},overrideMimeType:function(bh){this.__Tc();if(this.__SN.overrideMimeType){this.__SN.overrideMimeType(bh);}else {throw new Error(P);};return this;},getRequest:function(){return this.__SN;},dispose:function(){if(this.__rS){return false;};window.clearTimeout(this.__SO);if(window.detachEvent){window.detachEvent(h,this.__SI);};try{this.__SN.onreadystatechange;}catch(bj){return false;};var bi=function(){};this.__SN.onreadystatechange=bi;this.__SN.onload=bi;this.__SN.onerror=bi;this.abort();this.__SN=null;this.__rS=true;return true;},isDisposed:function(){return !!this.__rS;},_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.__rR;var bm=/^(\w+:)\/\//;if(bl!==null&&bl.match){var bn=bl.match(bm);if(bn&&bn[1]){return bn[1];};};return window.location.protocol;},__SN:null,__SL:null,__SG:null,__SH:null,__SI:null,__rN:null,__SJ:null,__rR:null,__rQ:null,__fU:null,__rS:null,__SO:null,__SM:null,__SK:null,__SP:null,__SQ:function(){this.__SN=this._createNativeXhr();this.__SN.onreadystatechange=this.__SG;if(this.__SN.onabort){this.__SN.onabort=this.__SH;};this.__rS=this.__SJ=this.__rQ=false;this.__SP=[N,o,l,r,I];},__SR:function(){if(!this.__rQ){this.abort();};},__SS:function(){var bo=this.__SN,bp=true;{};if(this.readyState==bo.readyState){return;};this.readyState=bo.readyState;if(this.readyState===qx.bom.request.Xhr.DONE&&this.__rQ&&!this.__SJ){return;};if(!this.__SL&&(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.__SX();this.__SY();};};this.__ST();if(this.readyState==qx.bom.request.Xhr.DONE){if(bo){bo.onreadystatechange=function(){};};};},__ST:function(){if(this.readyState===qx.bom.request.Xhr.DONE){window.clearTimeout(this.__SO);};this._emit(F);if(this.readyState===qx.bom.request.Xhr.DONE){this.__SU();};},__SU:function(){if(this.__fU){this._emit(B);if(qx.core.Environment.get(u)===y){this._emit(m);};this.__fU=false;}else {if(this.__rQ){this._emit(q);}else {if(this.__SV()){this._emit(m);}else {this._emit(p);};};};this._emit(n);},__SV:function(){var br;if(this._getProtocol()===H){br=!this.responseText;}else {br=!this.statusText;};return br;},__SW:function(){var bs=this.__SN;this.readyState=qx.bom.request.Xhr.DONE;this.__fU=true;bs.abort();this.responseText=t;this.responseXML=null;this.__ST();},__SX:function(){var bt=this.readyState===qx.bom.request.Xhr.DONE;if(this._getProtocol()===H&&this.status===0&&bt){if(!this.__SV()){this.status=200;};};if(this.status===1223){this.status=204;};if(qx.core.Environment.get(u)===y){if(bt&&this.__SK&&!this.__rQ&&this.status===0){this.status=304;};};},__SY: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;};},__Ta:function(){try{if(this){this.dispose();};}catch(e){};},__Tb: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);},__Tc:function(){if(this.__rS){throw new Error(w);};}},defer:function(){qx.core.Environment.add(k,false);}});})();(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:{__Td: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.__Td=qx.util.ResponseParser.PARSER[h];};{};return this.__Td=h;},_getParser:function(j){var i=this.__Td,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="oracle",b="useraccess",c="php",d="Oracle error - ",f="request completed with status error",g="User Access error - ",h="websynapse.common.util.Request",i="stack",j="Request Aborted",k="abort",l="success",m="Request Timeout",n=":",o="",p="statusError",q="Oracle application error - ",r="POST",s="request timeout",t="PHP error - ",u="Request Error",v="request aborted",w="timeout",x="Request exception: ",y="oraAppErr";qx.Class.define(h,{extend:qx.io.request.Xhr,construct:function(G,z,E,A,D,F){var B=websynapse.common.util.Statics.phpPath(G);qx.io.request.Xhr.call(this,B);this.setMethod(r);websynapse.common.util.Statics.recordActivity(E);this.__Te={};this.__Tf=G;this.__Tg=z;this.__Th=E;this.__Ti=A;this.__Tj=D;var C=websynapse.common.util.Statics.APPLICATION;C.incrementGlassPane(F);this.addListener(l,function(e){var I=websynapse.common.util.Statics.APPLICATION;I.decrementGlassPane();var J=this.getResponse();try{var H=qx.lang.Json.parse(J);if(y in H.results){console.log(q+H.results.oraAppErr);new websynapse.common.util.ExceptionMsg(H.results.oraAppErr,o);if(A){var K=qx.lang.Function.bind(A,D);K(e);};}else if(c in H.results){console.log(t+H.results.php);new websynapse.common.util.ExceptionMsg(H.results.php,o);if(A){var K=qx.lang.Function.bind(A,D);K(e);};}else if(a in H.results){console.log(d+H.results.oracle);new websynapse.common.util.ExceptionMsg(H.results.oracle,o);if(A){var K=qx.lang.Function.bind(A,D);K(e);};}else if(b in H.results){console.log(g+H.results.useraccess);new websynapse.common.util.ExceptionMsg(H.results.useraccess,o);}else if(z){var K=qx.lang.Function.bind(z,E);K(H);};}catch(L){console.log(x+L.name+n+L.message);if(i in L){console.log(L.stack);};if(A){var K=qx.lang.Function.bind(A,D);K(L,J);}else {new websynapse.common.util.ExceptionMsg(L,J,this.__Tk);};};});this.addListener(p,function(e){var M=websynapse.common.util.Statics.APPLICATION;M.decrementGlassPane();console.log(f);if(A){var N=qx.lang.Function.bind(A,D);N(e);}else {new websynapse.common.util.ExceptionMsg(u,o);};});this.addListener(k,function(e){var O=websynapse.common.util.Statics.APPLICATION;O.decrementGlassPane();console.log(v);if(A){var P=qx.lang.Function.bind(A,D);P(e);}else {new websynapse.common.util.ExceptionMsg(j,o);};});this.addListener(w,function(e){var Q=websynapse.common.util.Statics.APPLICATION;Q.decrementGlassPane();console.log(s);if(A){var R=qx.lang.Function.bind(A,D);R(e);}else {new websynapse.common.util.ExceptionMsg(m,o);};});},members:{__Tk:null,__Tf:null,__Tg:null,__Th:null,__Ti:null,__Tj:null,__Te:null,setFocusField:function(S){this.__Tk=S;},setParameter:function(T,U){this.__Te[T]=U;},setFormField:function(V,W){this.__Te[V]=W;},send:function(){this.setRequestData(this.__Te);qx.io.request.Xhr.prototype.send.call(this);}}});})();(function(){var a="red",b="websynapse.common.util.ExceptionMsg",c="
",d="Exception",e="Close",f="close",g="execute";qx.Class.define(b,{extend:websynapse.common.util.Dialog,construct:function(k,h){function i(){this.destroy();};websynapse.common.util.Dialog.call(this);this.set({caption:this.tr(d),modal:true,showMaximize:false,showMinimize:false});this.setLayout(new qx.ui.layout.VBox(10));this.add(new qx.ui.basic.Label(k+c+h).set({rich:true,width:200,textColor:a}));var j=new qx.ui.form.Button(this.tr(e)).set({height:25});j.addListener(g,i,this);this.add(j);this.addListener(f,i,this);this.open();this.center();}});})();(function(){var a="screen-background",b="websynapse.common.ui.screens.AbstractDialogScreen";qx.Class.define(b,{extend:qx.ui.window.Window,construct:function(c,e,d){qx.ui.window.Window.call(this,c);this.setLayout(e);this.setDecorator(a);this.set({showMinimize:false,allowMinimize:false,showMaximize:false,allowMaximize:false,showClose:true,modal:true,showStatusbar:false,allowClose:true,resizable:false});if(d){this.__lk=d;};},events:{},members:{__lk:null,setInParam:function(f){this.__lk=f;},getInParam:function(){return this.__lk;},openAndCenter:function(){this._preOpenAction();this.open();this.center();},_preOpenAction:function(){}}});})();(function(){var a="websynapse.order.OrderShipDetails",b="websynapse.order.OrderSummary",c="Change Customer Request Failed",d="websynapse.reports.ReportList",f="websynapse.reports.ReportSetup",g="custname",h="longtap",j="Please select a customer",k="bottom",l="Change Customer",m="execute",n="websynapse.inventory.InventorySummary",o="",p="dialog-cancel.png",q="POST",r="idName",t="websynapse.order.OrderSearch",u="websynapse.inventory.InventoryDetail",v="input",w=":",x="changeSelection",y="Filter",z="websynapse.inventory.PickNotShipDetail",A="change_customer",B="name",C="custid",D="websynapse.inventory.CommitDetail",E="utility.php",F="websynapse.inventory.InventorySearch",G="minIndex",H="Cancel",I="cellDblclick",J="websynapse.order.OrderItems",K="enter",L="Name",M="opcode",N="bold",O="rounded-table",P="Change Customer Request Denied - Licensing",Q="|",R=".*",S="login",T="left",U="Apply",V="websynapse.ChangeCustomerDialog",W="ID",X="dialog-apply.png";qx.Class.define(V,{extend:websynapse.common.ui.screens.AbstractDialogScreen,construct:function(parent){websynapse.common.ui.screens.AbstractDialogScreen.call(this,this.tr(l),new qx.ui.layout.VBox(),null);this.set({maxHeight:250});this.__Tl=parent;var Y=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:T}));Y.add(new qx.ui.basic.Label(this.tr(j)).set({alignY:k,font:N,paddingLeft:5}));Y.add(new qx.ui.container.Composite().set({alignY:k,maxHeight:10}),{flex:1});var ba=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginRight:10});ba.add(new qx.ui.basic.Label(this.tr(y)+w).set({alignY:k,marginRight:5,font:N}));ba.add(this.__Tm=new qx.ui.form.TextField().set({alignY:k,maxLength:10}));Y.add(ba);this.add(Y,{flex:0});var bd=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:T})).set({margin:5});var bc=[{"column":C,"header":this.tr(W),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":B,"header":this.tr(L),"width":300,"minWidth":250,"maxWidth":300,"disappearOrder":-1},{"column":r,"hidden":1}];this.__tF=new websynapse.common.ui.widgets.table.ResizableTable(bc).set({showCellFocusIndicator:false,columnVisibilityButtonVisible:false});this.__tF.setDecorator(O);bd.add(this.__tF,{flex:1});this.add(bd,{flex:1});var bb=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginTop:10});bb.add(new qx.ui.container.Composite().set({maxWidth:75,alignY:k,maxHeight:10}),{flex:1});bb.add(this.__Tn=new qx.ui.form.Button(this.tr(U),websynapse.common.util.Statics.getResource(X)).set({paddingTop:0,paddingBottom:0}),{flex:0});bb.add(new qx.ui.container.Composite().set({maxWidth:75,alignY:k,maxHeight:10}),{flex:1});bb.add(this.__To=new qx.ui.form.Button(this.tr(H),websynapse.common.util.Statics.getResource(p)),{flex:0});bb.add(new qx.ui.container.Composite().set({maxWidth:75,alignY:k,maxHeight:10}),{flex:1});this.add(bb,{flex:0});this.__Tq();},members:{__Tn:null,__To:null,__Tl:null,__Tp:null,__tF:null,__Tm:null,__Tq:function(){this.__Tn.setEnabled(false);this.__To.addListener(m,function(){this.close();},this);this.__Tm.addListener(v,this.__Tr,this);this.__Tn.addListener(m,this.__Ts,this);this.__tF.addListener(I,this.__Ts,this);this.__tF.addListener(h,this.__Ts,this);this.__tF.getSelectionModel().addListener(x,this._enableButtons,this);},__Tr:function(e){var be=this.__tF.getTableModel();be.resetHiddenRows();var bf=this.__Tm.getValue();if(bf!=null&&bf!=o){be.addNotRegex(R+bf+R,r,true);be.applyFilters();};},_enableButtons:function(){this.__Tn.setEnabled(this.__tF.getSelectionModel().getSelectedCount()>0);},__Ts:function(){var bj=this.__tF.getSelectionModel();var bk=bj.getSelectedRanges()[0];var bg=bk[G];var bh=this.__tF.getTableModel().getRowDataAsMap(bg);var bi=new websynapse.common.util.Request(E,this.__Tt,this,this.__Tu,this);bi.setMethod(q);bi.setParameter(M,A);bi.setParameter(C,bh.custid);bi.setParameter(g,bh.name);bi.send();},__Tt:function(bo){if(S in bo){new websynapse.common.util.ExceptionMsg(this.tr(P),o);this.close();return;};var s=websynapse.common.util.Statics;s.CURR_CUSTID=bo.current_customer;s.CUST_USER_FACILITIES=bo.user_customer_lists[0].custuserfacility;s.CUST_SHIPTO=bo.user_customer_lists[0].custshipto;s.CUST_BILLTO=bo.user_customer_lists[0].custbillto;s.CUST_SHIPPER=bo.user_customer_lists[0].custshipper;s.CUST_LOTREQUIRED_DFLT=bo.user_customer_lists[0].custlotdflt.key;s.CUSTDICT=bo.user_customer_lists[0].custdict;var bm=this.getInParam();if(bm.screen==F||bm.screen==n||bm.screen==u||bm.screen==D||bm.screen==z){s.MAIN_WINDOW.changeScreen(websynapse.inventory.InventorySearch,bm);}else if(bm.screen==t||bm.screen==b||bm.screen==J||bm.screen==a){s.MAIN_WINDOW.homeScreen();}else if(bm.screen==d||bm.screen==f){s.MAIN_WINDOW.changeScreen(websynapse.reports.ReportList,bm);}else {s.MAIN_WINDOW.homeScreen();};var bl=0;for(var i=0;i=19){cf=o;}else {cf=M;};qx.ui.style.Stylesheet.getInstance().addRule(cf,W+cd+H);}else if(qx.core.Environment.get(bO)==bC){cf=C;qx.ui.style.Stylesheet.getInstance().addRule(cf,W+cd);}else if(qx.core.Environment.get(bO)==bN){cf=U;qx.ui.style.Stylesheet.getInstance().addRule(cf,W+cd+H);};}},construct:function(cg){qx.ui.core.Widget.call(this);this.__mG=!qx.core.Environment.get(bS);if(cg!=null){this.setValue(cg);};this.getContentElement().addListener(z,this._onChangeContent,this);if(this.__mG){this.addListener(j,this._syncPlaceholder,this);}else {qx.ui.form.AbstractField.__mF();this.getContentElement().addClass(E);};if(qx.core.Environment.get(bH)){qx.locale.Manager.getInstance().addListener(bU,this._onChangeLocale,this);};},events:{"input":u,"changeValue":u},properties:{textAlign:{check:[cb,y,bD],nullable:true,themeable:true,apply:d},readOnly:{check:f,apply:K,event:bX,init:false},selectable:{refine:true,init:true},focusable:{refine:true,init:true},maxLength:{apply:T,check:G,init:Infinity},liveUpdate:{check:f,init:false},placeholder:{check:bT,nullable:true,apply:bY},filter:{check:h,nullable:true,init:null}},members:{__mH:true,_placeholder:null,__iG:null,__iH:null,__mG:true,__ls:null,__lv:null,getFocusElement:function(){var ch=this.getContentElement();if(ch){return ch;};},_createInputElement:function(){return new qx.html.Input(b);},renderLayout:function(cq,top,cl,cj){var ci=this._updateInsets;var co=qx.ui.core.Widget.prototype.renderLayout.call(this,cq,top,cl,cj);if(!co){return;};var cm=co.size||ci;var cp=g;if(cm||co.local||co.margin){var innerWidth=cl;var innerHeight=cj;};var cn=this.getContentElement();if(ci&&this.__mG){if(this.__mG){var ck=this.getInsets();this._getPlaceholderElement().setStyles({paddingTop:ck.top+cp,paddingRight:ck.right+cp,paddingBottom:ck.bottom+cp,paddingLeft:ck.left+cp});};};if(cm||co.margin){if(this.__mG){var ck=this.getInsets();this._getPlaceholderElement().setStyles({"width":(innerWidth-ck.left-ck.right)+cp,"height":(innerHeight-ck.top-ck.bottom)+cp});};cn.setStyles({"width":innerWidth+cp,"height":innerHeight+cp});this._renderContentElement(innerHeight,cn);};if(co.position){if(this.__mG){this._getPlaceholderElement().setStyles({"left":cq+cp,"top":top+cp});};};},_renderContentElement:function(innerHeight,cr){},_createContentElement:function(){var cs=this._createInputElement();cs.setSelectable(this.getSelectable());cs.setEnabled(this.getEnabled());cs.addListener(r,this._onHtmlInput,this);cs.setAttribute(bI,bJ);cs.addClass(X);if((qx.core.Environment.get(bO)==bN)&&(qx.core.Environment.get(L)==8)){cs.setStyles({backgroundImage:I+qx.util.ResourceManager.getInstance().toUri(bV)+i});};return cs;},_applyEnabled:function(cv,cu){qx.ui.core.Widget.prototype._applyEnabled.call(this,cv,cu);this.getContentElement().setEnabled(cv);if(this.__mG){if(cv){this._showPlaceholder();}else {this._removePlaceholder();};}else {var ct=this.getContentElement();ct.setAttribute(B,cv?this.getPlaceholder():Q);};},__mI:{width:16,height:16},_getContentHint:function(){return {width:this.__mI.width*10,height:this.__mI.height||16};},_applyFont:function(cy,cx){if(cx&&this.__ls&&this.__lv){this.__ls.removeListenerById(this.__lv);this.__lv=null;};var cw;if(cy){this.__ls=qx.theme.manager.Font.getInstance().resolve(cy);if(this.__ls instanceof qx.bom.webfonts.WebFont){this.__lv=this.__ls.addListener(A,this._onWebFontStatusChange,this);};cw=this.__ls.getStyles();}else {cw=qx.bom.Font.getDefaultStyles();};if(this.getTextColor()!=null){delete cw[s];};if(qx.core.Environment.get(bO)==bN&&qx.core.Environment.get(L)<11){qx.html.Element.flush();this.getContentElement().setStyles(cw,true);}else {this.getContentElement().setStyles(cw);};if(this.__mG){delete cw[s];this._getPlaceholderElement().setStyles(cw);};if(cy){this.__mI=qx.bom.Label.getTextSize(m,cw);}else {delete this.__mI;};qx.ui.core.queue.Layout.add(this);},_applyTextColor:function(cA,cz){if(cA){this.getContentElement().setStyle(s,qx.theme.manager.Color.getInstance().resolve(cA));}else {this.getContentElement().removeStyle(s);};},_applyMaxLength:function(cC,cB){if(cC){this.getContentElement().setAttribute(bE,cC);}else {this.getContentElement().removeAttribute(bE);};},tabFocus:function(){qx.ui.core.Widget.prototype.tabFocus.call(this);this.selectAllText();},_getTextSize:function(){return this.__mI;},_onHtmlInput:function(e){var cF=e.getData();var cE=true;this.__mH=false;if(this.__iH&&this.__iH===cF){cE=false;};if(this.getFilter()!=null){var cH=Q;var cD=cF.search(this.getFilter());var cG=cF;while(cD>=0){cH=cH+(cG.charAt(cD));cG=cG.substring(cD+1,cG.length);cD=cG.search(this.getFilter());};if(cH!=cF){cE=false;cF=cH;this.getContentElement().setValue(cF);};};if(cE){this.fireDataEvent(r,cF,this.__iH);this.__iH=cF;if(this.getLiveUpdate()){this.__mJ(cF);};};},_onWebFontStatusChange:function(cJ){if(cJ.getData().valid===true){var cI=this.__ls.getStyles();this.__mI=qx.bom.Label.getTextSize(m,cI);qx.ui.core.queue.Layout.add(this);};},__mJ:function(cL){var cK=this.__iG;this.__iG=cL;if(cK!=cL){this.fireNonBubblingEvent(bR,qx.event.type.Data,[cL,cK]);};},setValue:function(cP){if(cP===null){if(this.__mH){return cP;};cP=Q;this.__mH=true;}else {this.__mH=false;if(this.__mG){this._removePlaceholder();};};if(qx.lang.Type.isString(cP)){var cO=this.getContentElement();if(cO.getValue()!=cP){var cM=cO.getValue();cO.setValue(cP);var cN=this.__mH?null:cP;this.__iG=cM;this.__mJ(cN);this.__iH=this.__iG;};if(this.__mG){this._showPlaceholder();};return cP;};throw new Error(l+cP);},getValue:function(){var cQ=this.getContentElement().getValue();return this.__mH?null:cQ;},resetValue:function(){this.setValue(null);},_onChangeContent:function(e){this.__mH=e.getData()===null;this.__mJ(e.getData());},getTextSelection:function(){return this.getContentElement().getTextSelection();},getTextSelectionLength:function(){return this.getContentElement().getTextSelectionLength();},getTextSelectionStart:function(){return this.getContentElement().getTextSelectionStart();},getTextSelectionEnd:function(){return this.getContentElement().getTextSelectionEnd();},setTextSelection:function(cR,cS){this.getContentElement().setTextSelection(cR,cS);},clearTextSelection:function(){this.getContentElement().clearTextSelection();},selectAllText:function(){this.setTextSelection(0);},setLayoutParent:function(parent){qx.ui.core.Widget.prototype.setLayoutParent.call(this,parent);if(this.__mG){if(parent){this.getLayoutParent().getContentElement().add(this._getPlaceholderElement());}else {var cT=this._getPlaceholderElement();cT.getParent().remove(cT);};};},_showPlaceholder:function(){var cV=this.getValue()||Q;var cU=this.getPlaceholder();if(cU!=null&&cV==Q&&!this.hasState(D)&&!this.hasState(P)){if(this.hasState(w)){this._syncPlaceholder();}else {this.addState(w);};};},_onPointerDownPlaceholder:function(){window.setTimeout(function(){this.focus();}.bind(this),0);},_removePlaceholder:function(){if(this.hasState(w)){if(this.__mG){this._getPlaceholderElement().setStyle(S,bQ);};this.removeState(w);};},_syncPlaceholder:function(){if(this.hasState(w)&&this.__mG){this._getPlaceholderElement().setStyle(S,F);};},_getPlaceholderElement:function(){if(this._placeholder==null){this._placeholder=new qx.html.Label();var cW=qx.theme.manager.Color.getInstance();this._placeholder.setStyles({"zIndex":11,"position":ca,"color":cW.resolve(bW),"whiteSpace":bG,"cursor":b,"visibility":bQ});this._placeholder.addListener(bL,this._onPointerDownPlaceholder,this);};return this._placeholder;},_onChangeLocale:qx.core.Environment.select(bH,{"true":function(e){var content=this.getPlaceholder();if(content&&content.translate){this.setPlaceholder(content.translate());};},"false":null}),_onChangeTheme:function(){qx.ui.core.Widget.prototype._onChangeTheme.call(this);if(this._placeholder){this._placeholder.dispose();this._placeholder=null;};if(!this.__mG&&qx.ui.form.AbstractField.__dn){qx.bom.Stylesheet.removeSheet(qx.ui.form.AbstractField.__dn);qx.ui.form.AbstractField.__dn=null;qx.ui.form.AbstractField.__mF();};},_applyPlaceholder:function(cY,cX){if(this.__mG){this._getPlaceholderElement().setValue(cY);if(cY!=null){this.addListener(v,this._removePlaceholder,this);this.addListener(bK,this._showPlaceholder,this);this._showPlaceholder();}else {this.removeListener(v,this._removePlaceholder,this);this.removeListener(bK,this._showPlaceholder,this);this._removePlaceholder();};}else {if(this.getEnabled()){this.getContentElement().setAttribute(B,cY);};};},_applyTextAlign:function(db,da){this.getContentElement().setStyle(R,db);},_applyReadOnly:function(dd,dc){var de=this.getContentElement();de.setAttribute(a,dd);if(dd){this.addState(N);this.setFocusable(false);}else {this.removeState(N);this.setFocusable(true);};}},defer:function(df){var dg=t+bP+bB+J+Y+c+V+bM+p+x+n;qx.ui.style.Stylesheet.getInstance().addRule(q,dg);},destruct:function(){if(this._placeholder){this._placeholder.removeListener(bL,this._onPointerDownPlaceholder,this);var parent=this._placeholder.getParent();if(parent){parent.remove(this._placeholder);};this._placeholder.dispose();};this._placeholder=this.__ls=null;if(qx.core.Environment.get(bH)){qx.locale.Manager.getInstance().removeListener(bU,this._onChangeLocale,this);};if(this.__ls&&this.__lv){this.__ls.removeListenerById(this.__lv);};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.__mK=s;},members:{__mK:null,__mL:null,__mM:null,_createDomElement:function(){return qx.bom.Input.create(this.__mK);},_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.__mM=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.__mL?null:d});};};},setSelectable:qx.core.Environment.select(a,{"webkit":function(x){this.__mL=x;qx.html.Element.prototype.setSelectable.call(this,this.__mM&&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.__mK===n){this._setProperty(c,C,D);}else {throw new Error(e);};return this;},getWrap:function(){if(this.__mK===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:{__ju:{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;i0){return o;}else if(y.bottom<=x&&y.bottom>0){return g;}else {return null;};},_getAxis:function(A){if(this.__pe.indexOf(A)!==-1){return a;}else if(this.__pf.indexOf(A)!==-1){return q;}else {throw new Error(l+A+f);};},_getThresholdByEdgeType:function(B){if(this.__pe.indexOf(B)!==-1){return this.getDragScrollThresholdX();}else if(this.__pf.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.__pg.stop();};S.scrollBy(R);},__ph:function(e){if(this.__pg){this.__pg.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.__pg){this.__pg.dispose();};this.__pg=new qx.event.Timer(50);this.__pg.addListener(h,function(be,bg,bf){this._scrollBy(be,bg,bf);}.bind(this,U,bd,bb));this.__pg.start();e.stopPropagation();return;}else {U=this._findScrollableParent(U);};};},__pi:function(e){if(this.__pg){this.__pg.stop();};}},destruct:function(){if(this.__pg){this.__pg.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="qx.nativeScrollBars",b="qx.ui.core.scroll.MScrollBarFactory";qx.core.Environment.add(a,false);qx.Mixin.define(b,{members:{_createScrollBar:function(c){if(qx.core.Environment.get(a)){return new qx.ui.core.scroll.NativeScrollBar(c);}else {return new qx.ui.core.scroll.ScrollBar(c);};}}});})();(function(){var a='qx.event.type.Event',b="qx.ui.core.scroll.IScrollBar",c="qx.event.type.Data";qx.Interface.define(b,{events:{"scroll":c,"scrollAnimationEnd":a},properties:{orientation:{},maximum:{},position:{},knobFactor:{}},members:{scrollTo:function(e,d){this.assertNumber(e);},scrollBy:function(g,f){this.assertNumber(g);},scrollBySteps:function(i,h){this.assertNumber(i);}}});})();(function(){var a="qx.ui.core.scroll.NativeScrollBar",b="px",c="PositiveNumber",d="frame",f="end",g="box-sizing",h="Integer",i="track",j="hidden",k="content-box",l="pointerup",m="vertical",n="_applyOrientation",o="scrollAnimationEnd",p="appear",q="pointerdown",r="PositiveInteger",s='qx.event.type.Event',t="mshtml",u="engine.name",v="horizontal",w="Number",x="_applyPosition",y="scrollbar",z="_applyMaximum",A="__pk",B="pointermove",C="native",D="scroll";qx.Class.define(a,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(E){qx.ui.core.Widget.call(this);this.addState(C);this.getContentElement().addListener(D,this._onScroll,this);this.addListener(q,this._stopPropagation,this);this.addListener(l,this._stopPropagation,this);this.addListener(B,this._stopPropagation,this);this.addListener(p,this._onAppear,this);this.getContentElement().add(this._getScrollPaneElement());this.getContentElement().setStyle(g,k);if(E!=null){this.setOrientation(E);}else {this.initOrientation();};this.addListener(i,function(e){e.stopPropagation();},this);},events:{scrollAnimationEnd:s},properties:{appearance:{refine:true,init:y},orientation:{check:[v,m],init:v,apply:n},maximum:{check:r,apply:z,init:100},position:{check:w,init:0,apply:x,event:D},singleStep:{check:h,init:20},knobFactor:{check:c,nullable:true}},members:{__pj:null,__pk:null,__kc:null,__pl:null,_getScrollPaneElement:function(){if(!this.__pk){this.__pk=new qx.html.Element();};return this.__pk;},renderLayout:function(G,top,F,I){var H=qx.ui.core.Widget.prototype.renderLayout.call(this,G,top,F,I);this._updateScrollBar();return H;},_getContentHint:function(){var J=qx.bom.element.Scroll.getScrollbarWidth();return {width:this.__pj?100:J,maxWidth:this.__pj?null:J,minWidth:this.__pj?null:J,height:this.__pj?J:100,maxHeight:this.__pj?J:null,minHeight:this.__pj?J:null};},_applyEnabled:function(L,K){qx.ui.core.Widget.prototype._applyEnabled.call(this,L,K);this._updateScrollBar();},_applyMaximum:function(M){this._updateScrollBar();},_applyPosition:function(N){var content=this.getContentElement();if(this.__pj){content.scrollToX(N);}else {content.scrollToY(N);};},_applyOrientation:function(Q,O){var P=this.__pj=Q===v;this.set({allowGrowX:P,allowShrinkX:P,allowGrowY:!P,allowShrinkY:!P});if(P){this.replaceState(m,v);}else {this.replaceState(v,m);};this.getContentElement().setStyles({overflowX:P?D:j,overflowY:P?j:D});qx.ui.core.queue.Layout.add(this);},_updateScrollBar:function(){var S=this.__pj;var T=this.getBounds();if(!T){return;};if(this.isEnabled()){var U=S?T.width:T.height;var R=this.getMaximum()+U;}else {R=0;};if(qx.core.Environment.get(u)==t){var T=this.getBounds();this.getContentElement().setStyles({left:(S?T.left:(T.left-1))+b,top:(S?(T.top-1):T.top)+b,width:(S?T.width:T.width+1)+b,height:(S?T.height+1:T.height)+b});};this._getScrollPaneElement().setStyles({left:0,top:0,width:(S?R:1)+b,height:(S?1:R)+b});this.updatePosition(this.getPosition());},scrollTo:function(W,V){this.stopScrollAnimation();if(V){var X=this.getPosition();this.__pl=new qx.bom.AnimationFrame();this.__pl.on(d,function(ba){var Y=parseInt(ba/V*(W-X)+X);this.updatePosition(Y);},this);this.__pl.on(f,function(){this.setPosition(Math.max(0,Math.min(this.getMaximum(),W)));this.__pl=null;this.fireEvent(o);},this);this.__pl.startSequence(V);}else {this.updatePosition(W);};},updatePosition:function(bb){this.setPosition(Math.max(0,Math.min(this.getMaximum(),bb)));},scrollBy:function(bd,bc){this.scrollTo(this.getPosition()+bd,bc);},scrollBySteps:function(bf,be){var bg=this.getSingleStep();this.scrollBy(bf*bg,be);},stopScrollAnimation:function(){if(this.__pl){this.__pl.cancelSequence();this.__pl=null;};},_onScroll:function(e){var bh=this.getContentElement();var bi=this.__pj?bh.getScrollX():bh.getScrollY();this.setPosition(bi);},_onAppear:function(e){this._applyPosition(this.getPosition());},_stopPropagation:function(e){e.stopPropagation();}},destruct:function(){this._disposeObjects(A);}});})();(function(){var a="slider",b="slideAnimationEnd",c="PositiveNumber",d="changeValue",f="Integer",g="execute",h="track",i="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getMaximum()",j="_applyKnobFactor",k="visible",l="qx.event.type.Event",m="knob",n="button-begin",o="hidden",p="qx.ui.core.scroll.ScrollBar",q="resize",r="vertical",s="_applyOrientation",t="scrollAnimationEnd",u="_applyPageStep",v="right",w="PositiveInteger",x="horizontal",y="up",z="_applyPosition",A="scrollbar",B="_applyMaximum",C="left",D="button-end",E="down",F="scroll";qx.Class.define(p,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(G){qx.ui.core.Widget.call(this);this._createChildControl(n);this._createChildControl(a).addListener(q,this._onResizeSlider,this);this._createChildControl(D);if(G!=null){this.setOrientation(G);}else {this.initOrientation();};this.addListener(h,function(e){e.stopPropagation();},this);},events:{"scrollAnimationEnd":l},properties:{appearance:{refine:true,init:A},orientation:{check:[x,r],init:x,apply:s},maximum:{check:w,apply:B,init:100},position:{check:i,init:0,apply:z,event:F},singleStep:{check:f,init:20},pageStep:{check:f,init:10,apply:u},knobFactor:{check:c,apply:j,nullable:true}},members:{__pm:2,__pn:0,_computeSizeHint:function(){var H=qx.ui.core.Widget.prototype._computeSizeHint.call(this);if(this.getOrientation()===x){this.__pn=H.minWidth;H.minWidth=0;}else {this.__pn=H.minHeight;H.minHeight=0;};return H;},renderLayout:function(M,top,J,I){var L=qx.ui.core.Widget.prototype.renderLayout.call(this,M,top,J,I);var K=this.getOrientation()===x;if(this.__pn>=(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?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.__pr){return;};var bw=this.__pj;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.__po=qx.bom.element.Location.get(this.getContentElement().getDomElement())[bv];bB+=by;var bx=this.__pp=qx.bom.element.Location.get(bu.getContentElement().getDomElement())[bv];if(e.getTarget()===bu){this.__pr=true;if(!this.__pw){this.__pw=new qx.event.Timer(100);this.__pw.addListener(r,this._fireValue,this);};this.__pw.start();this.__ps=bA+bB-bx;bu.addState(c);}else {this.__pt=true;this.__pu=bA<=bx?-1:1;this.__pA(e);this._onInterval();if(!this.__cY){this.__cY=new qx.event.Timer(100);this.__cY.addListener(r,this._onInterval,this);};this.__cY.start();};this.addListener(w,this._onPointerMove);this.capture();e.stopPropagation();},_onPointerUp:function(e){if(this.__pr){this.releaseCapture();delete this.__pr;this.__pw.stop();this._fireValue();delete this.__ps;this.getChildControl(P).removeState(c);if(e.getType()===B){var bE;var bF;var bD;if(this.__pj){bE=e.getDocumentLeft()-(this._valueToPosition(this.getValue())+this.__po);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.__po);bD=qx.bom.element.Location.get(this.getContentElement().getDomElement())[G];bF=e.getDocumentLeft()-(bD+this.getChildControl(P).getBounds().left);};if(bF<0||bF>this.__pq||bE<0||bE>this.__pq){this.getChildControl(P).removeState(b);};};}else if(this.__pt){this.__cY.stop();this.releaseCapture();delete this.__pt;delete this.__pu;delete this.__pv;};this.removeListener(w,this._onPointerMove);if(e.getType()===B){e.stopPropagation();};},_onPointerMove:function(e){if(this.__pr){var bH=this.__pj?e.getDocumentLeft():e.getDocumentTop();var bG=bH-this.__ps;this.slideTo(this._positionToValue(bG));}else if(this.__pt){this.__pA(e);};e.stopPropagation();},_onInterval:function(e){var bI=this.getValue()+(this.__pu*this.getPageStep());if(bIthis.getMaximum()){bI=this.getMaximum();};var bJ=this.__pu==-1;if((bJ&&bI<=this.__pv)||(!bJ&&bI>=this.__pv)){bI=this.__pv;};this.slideTo(bI);},_onUpdate:function(e){var bL=this.getInnerSize();var bM=this.getChildControl(P).getBounds();var bK=this.__pj?E:x;this._updateKnobSize();this.__pz=bL[bK]-bM[bK];this.__pq=bM[bK];this._updateKnobPosition();},__pj:false,__pz:0,__pA:function(e){var bN=this.__pj;var bU=bN?e.getDocumentLeft():e.getDocumentTop();var bX=this.__po;var bO=this.__pp;var bY=this.__pq;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.__pu<0?I:Q;bR=bW+(Math[bS]((bR-bW)/bT)*bT);};if(this.__pv==null||(this.__pu==-1&&bR<=this.__pv)||(this.__pu==1&&bR>=this.__pv)){this.__pv=bR;};},_positionToValue:function(cb){var ca=this.__pz;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.__pz;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.__pj){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.__pj){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.__pC(cu,ct);}else {this.updatePosition(cu);};},updatePosition:function(cv){this.setValue(this.__pB(cv));},stopSlideAnimation:function(){if(this.__pl){this.__pl.cancelSequence();this.__pl=null;};},__pB:function(cw){if(cwthis.getMaximum()){cw=this.getMaximum();}else {cw=this.getMinimum()+Math.round((cw-this.getMinimum())/this.getSingleStep())*this.getSingleStep();};return cw;},__pC:function(cy,cx){cy=this.__pB(cy);var cz=this.getValue();this.__pl=new qx.bom.AnimationFrame();this.__pl.on(i,function(cA){this.setValue(parseInt(cA/cx*(cy-cz)+cz));},this);this.__pl.on(j,function(){this.setValue(cy);this.__pl=null;this.fireEvent(O);},this);this.__pl.startSequence(cx);},_applyOrientation:function(cD,cC){var cB=this.getChildControl(P);this.__pj=cD===N;if(this.__pj){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.__pj){this.getChildControl(P).resetWidth();}else {this.getChildControl(P).resetHeight();};};},_applyValue:function(cH,cG){if(cH!=null){this._updateKnobPosition();if(this.__pr){this.__py=[cH,cG];}else {this.fireEvent(h,qx.event.type.Data,[cH,cG]);};}else {this.resetValue();};},_fireValue:function(){if(!this.__py){return;};var cI=this.__py;this.__py=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="horizontal",b="qx.ui.core.scroll.ScrollSlider",c="keypress",d="roll";qx.Class.define(b,{extend:qx.ui.form.Slider,construct:function(e){qx.ui.form.Slider.call(this,e);this.removeListener(c,this._onKeyPress);this.removeListener(d,this._onRoll);},members:{getSizeHint:function(f){var g=qx.ui.form.Slider.prototype.getSizeHint.call(this);if(this.getOrientation()===a){g.width=0;}else {g.height=0;};return g;}}});})();(function(){var a="press",b="hovered",c="qx.ui.form.RepeatButton",d="release",f="Enter",g="pressed",h="__cY",i="interval",j="qx.event.type.Event",k="Space",l="abandoned",m="Integer",n="execute";qx.Class.define(c,{extend:qx.ui.form.Button,construct:function(o,p){qx.ui.form.Button.call(this,o,p);this.__cY=new qx.event.AcceleratingTimer();this.__cY.addListener(i,this._onInterval,this);},events:{"execute":j,"press":j,"release":j},properties:{interval:{check:m,init:100},firstInterval:{check:m,init:500},minTimer:{check:m,init:20},timerDecrease:{check:m,init:2}},members:{__pD:null,__cY:null,press:function(){if(this.isEnabled()){if(!this.hasState(g)){this.__pE();};this.removeState(l);this.addState(g);};},release:function(q){if(!this.isEnabled()){return;};if(this.hasState(g)){if(!this.__pD){this.execute();};};this.removeState(g);this.removeState(l);this.__pF();},_applyEnabled:function(s,r){qx.ui.form.Button.prototype._applyEnabled.call(this,s,r);if(!s){if(this.isCapturing()){this.releaseCapture();};this.removeState(g);this.removeState(l);this.__pF();};},_onPointerOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;};if(this.hasState(l)){this.removeState(l);this.addState(g);this.__cY.start();};this.addState(b);},_onPointerOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;};this.removeState(b);if(this.hasState(g)){this.removeState(g);this.addState(l);this.__cY.stop();};},_onPointerDown:function(e){if(!e.isLeftPressed()){return;};this.capture();this.__pE();e.stopPropagation();},_onPointerUp:function(e){this.releaseCapture();if(!this.hasState(l)){this.addState(b);if(this.hasState(g)&&!this.__pD){this.execute();};};this.__pF();e.stopPropagation();},_onTap:function(e){},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case f:case k:if(this.hasState(g)){if(!this.__pD){this.execute();};this.removeState(g);this.removeState(l);e.stopPropagation();this.__pF();};};},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case f:case k:this.removeState(l);this.addState(g);e.stopPropagation();this.__pE();};},_onInterval:function(e){this.__pD=true;this.fireEvent(n);},__pE:function(){this.fireEvent(a);this.__pD=false;this.__cY.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();this.removeState(l);this.addState(g);},__pF:function(){this.fireEvent(d);this.__cY.stop();this.removeState(l);this.removeState(g);}},destruct:function(){this._disposeObjects(h);}});})();(function(){var a="Integer",b="__cY",c="interval",d="qx.event.type.Event",e="qx.event.AcceleratingTimer";qx.Class.define(e,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__cY=new qx.event.Timer(this.getInterval());this.__cY.addListener(c,this._onInterval,this);},events:{"interval":d},properties:{interval:{check:a,init:100},firstInterval:{check:a,init:500},minimum:{check:a,init:20},decrease:{check:a,init:2}},members:{__cY:null,__pG:null,start:function(){this.__cY.setInterval(this.getFirstInterval());this.__cY.start();},stop:function(){this.__cY.stop();this.__pG=null;},_onInterval:function(){this.__cY.stop();if(this.__pG==null){this.__pG=this.getInterval();};this.__pG=Math.max(this.getMinimum(),this.__pG-this.getDecrease());this.__cY.setInterval(this.__pG);this.__cY.start();this.fireEvent(c);}},destruct:function(){this._disposeObjects(b);}});})();(function(){var a="_applyStatusBarVisible",b="columnVisibilityMenuCreateStart",c="function",d="blur",e="qx.ui.table.Table",f="Boolean",g="_applyFocusCellOnPointerMove",h="columnVisibilityMenuCreateEnd",k="__cY",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="_applyHeaderCellHeight",C="Up",D="qx.event.type.Data",E="statusbar",F="Function",G="menu",H="qx.ui.table.ITableModel",I="column-button",J="_applySelectionModel",K="changeLocale",L="menu-button",M="_applyResetSelectionOnHeaderTap",N="_applyAdditionalStatusBarText",O="table",P="_applyColumnVisibilityButtonVisible",Q="__sJ",R="changeTableModel",S="qx.event.type.Event",T="tableWidthChanged",U="changeSelection",V="_applyHeaderCellsVisible",W="Object",X="_applyShowCellFocusIndicator",Y="resize",bP="changeScrollY",bQ="_applyTableModel",bR="End",bL="__sB",bM="_applyKeepFirstVisibleRowComplete",bN="widthChanged",bO="one of one row",bV="Home",bW="__sC",bX="_applyRowHeight",cq="F2",bS="appear",bT="visibilityChanged",bU="qx.dynlocale",bI="%1 rows",co="qx.ui.table.selection.Model",bK='"',cb="one row",cc="PageDown",bJ="%1 of %2 rows",bY="keypress",cm="changeRowHeight",ca="Enter",cd="Number",ce="metaDataChanged",cf="header",cj="__sI",ck="_applyContextMenuFromDataCellsOnly",cn="__sK",cp="qx.ui.table.IRowRenderer",cg="Right",ch="orderChanged",ci="qx.ui.table.pane.CellEvent",cl="Space";qx.Class.define(e,{extend:qx.ui.core.Widget,include:qx.ui.core.MDragDropScrolling,construct:function(cr,ct){qx.ui.core.Widget.call(this);if(!ct){ct={};};if(ct.initiallyHiddenColumns){this.setInitiallyHiddenColumns(ct.initiallyHiddenColumns);};if(ct.selectionManager){this.setNewSelectionManager(ct.selectionManager);};if(ct.selectionModel){this.setNewSelectionModel(ct.selectionModel);};if(ct.tableColumnModel){this.setNewTableColumnModel(ct.tableColumnModel);};if(ct.tablePane){this.setNewTablePane(ct.tablePane);};if(ct.tablePaneHeader){this.setNewTablePaneHeader(ct.tablePaneHeader);};if(ct.tablePaneScroller){this.setNewTablePaneScroller(ct.tablePaneScroller);};if(ct.tablePaneModel){this.setNewTablePaneModel(ct.tablePaneModel);};if(ct.columnMenu){this.setNewColumnMenu(ct.columnMenu);};this._setLayout(new qx.ui.layout.VBox());this.__sB=new qx.ui.container.Composite(new qx.ui.layout.HBox());this._add(this.__sB,{flex:1});this.setDataRowRenderer(new qx.ui.table.rowrenderer.Default(this));this.__sC=this.getNewSelectionManager()(this);this.setSelectionModel(this.getNewSelectionModel()(this));this.setTableModel(cr||this.getEmptyTableModel());this.setMetaColumnCounts([-1]);this.setTabIndex(1);this.addListener(bY,this._onKeyPress);this.addListener(q,this._onFocusChanged);this.addListener(d,this._onFocusChanged);var cs=new qx.ui.core.Widget().set({height:0});this._add(cs);cs.addListener(Y,this._onResize,this);this.__sD=null;this.__sE=null;if(qx.core.Environment.get(bU)){qx.locale.Manager.getInstance().addListener(K,this._onChangeLocale,this);};this.initStatusBarVisible();cr=this.getTableModel();if(cr.init&&typeof (cr.init)==c){cr.init(this);};},events:{"columnVisibilityMenuCreateStart":D,"columnVisibilityMenuCreateEnd":D,"tableWidthChanged":S,"verticalScrollBarChanged":D,"cellTap":ci,"cellDbltap":ci,"cellContextmenu":ci,"dataEdited":D},statics:{__sF:{cellTap:1,cellDbltap:1,cellContextmenu:1}},properties:{appearance:{refine:true,init:O},focusable:{refine:true,init:true},minWidth:{refine:true,init:50},initiallyHiddenColumns:{init:null},selectable:{refine:true,init:false},selectionModel:{check:co,apply:J,event:w},tableModel:{check:H,apply:bQ,event:R},rowHeight:{check:cd,init:20,apply:bX,event:cm,themeable:true},forceLineHeight:{check:f,init:true},headerCellsVisible:{check:f,init:true,apply:V,themeable:true},headerCellHeight:{check:A,init:16,apply:B,event:t,nullable:true,themeable:true},statusBarVisible:{check:f,init:true,apply:a},additionalStatusBarText:{nullable:true,init:null,apply:N},columnVisibilityButtonVisible:{check:f,init:true,apply:P,themeable:true},metaColumnCounts:{check:W,apply:o},focusCellOnPointerMove:{check:f,init:false,apply:g},rowFocusChangeModifiesSelection:{check:f,init:true},showCellFocusIndicator:{check:f,init:true,apply:X},contextMenuFromDataCellsOnly:{check:f,init:true,apply:ck},keepFirstVisibleRowComplete:{check:f,init:true,apply:bM},alwaysUpdateCells:{check:f,init:false},resetSelectionOnHeaderTap:{check:f,init:true,apply:M},dataRowRenderer:{check:cp,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(cu){return new qx.ui.table.selection.Manager(cu);}},newSelectionModel:{check:F,init:function(cv){return new qx.ui.table.selection.Model(cv);}},newTableColumnModel:{check:F,init:function(cw){return new qx.ui.table.columnmodel.Basic(cw);}},newTablePane:{check:F,init:function(cx){return new qx.ui.table.pane.Pane(cx);}},newTablePaneHeader:{check:F,init:function(cy){return new qx.ui.table.pane.Header(cy);}},newTablePaneScroller:{check:F,init:function(cz){return new qx.ui.table.pane.Scroller(cz);}},newTablePaneModel:{check:F,init:function(cA){return new qx.ui.table.pane.Model(cA);}}},members:{__sD:null,__sE:null,__sB:null,__sC:null,__sG:null,__sH:null,__su:null,__sI:null,__sJ:null,__sK:null,__sL:null,__cY:null,_createChildControlImpl:function(cE,cD){var cB;switch(cE){case E:cB=new qx.ui.basic.Label();cB.set({allowGrowX:true});this._add(cB);break;case I:cB=this.getNewColumnMenu()();cB.set({focusable:false});var cC=cB.factory(G,{table:this});cC.addListener(bS,this._initColumnMenu,this);break;};return cB||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,cE);},_applySelectionModel:function(cG,cF){this.__sC.setSelectionModel(cG);if(cF!=null){cF.removeListener(U,this._onSelectionChanged,this);};cG.addListener(U,this._onSelectionChanged,this);},_applyRowHeight:function(cJ,cI){var cH=this._getPaneScrollerArr();for(var i=0;idh){var dp=qx.event.Registration.getManager(de[0]);for(var dg in qx.ui.table.Table.__sF){dj[dg]={};dj[dg].capture=dp.getListeners(de[0],dg,true);dj[dg].bubble=dp.getListeners(de[0],dg,false);};};this._cleanUpMetaColumns(dl.length);var dk=0;for(var i=0;ide.length){var dq=this.getTableColumnModel();for(var i=de.length;i0){var df=dj[dg].capture;for(var j=0;j0){var dt=dj[dg].bubble;for(var j=0;j=dM;i-- ){dL[i].destroy();};};},_onChangeLocale:function(dN){this.updateContent();this._updateStatusBar();},_onChangeTheme:function(){qx.ui.core.Widget.prototype._onChangeTheme.call(this);this.getDataRowRenderer().initThemeValues();this.updateContent();this._updateStatusBar();},_onSelectionChanged:function(dP){var dO=this._getPaneScrollerArr();for(var i=0;i=dX&&this.__sE<(dX+eb)){this.setFocusedCell();};};for(var i=0;i0){this.getSelectionModel().setSelectionInterval(0,ej-1);};break;default:ei=false;break;};}else {switch(em){case cl:this.__sC.handleSelectKeyDown(this.__sE,en);break;case cq:case ca:this.startEditing();ei=true;break;case bV:this.setFocusedCell(this.__sD,0,true);break;case bR:var ej=this.getTableModel().getRowCount();this.setFocusedCell(this.__sD,ej-1,true);break;case y:this.moveFocusedCell(-1,0);break;case cg:this.moveFocusedCell(1,0);break;case C:this.moveFocusedCell(0,-1);break;case z:this.moveFocusedCell(0,1);break;case p:case cc:var eh=this.getPaneScroller(0);var ek=eh.getTablePane();var eg=this.getRowHeight();var ef=(em==p)?-1:1;ej=ek.getVisibleRowCount()-1;eh.setScrollY(eh.getScrollY()+ef*ej*eg);this.moveFocusedCell(0,ef*ej);break;default:ei=false;};};};if(el!=this.__sE&&this.getRowFocusChangeModifiesSelection()){this.__sC.handleMoveKeyDown(this.__sE,en);};if(ei){en.preventDefault();en.stopPropagation();};},_onFocusChanged:function(ep){var eo=this._getPaneScrollerArr();for(var i=0;i=fe.left&&ff<=fe.right){return i;};};return -1;},_getMetaColumnAtColumnX:function(fh){var fi=this.getMetaColumnCounts();var fj=0;for(var i=0;i=0){if(fl==0){fn=this.trn(cb,bI,fm,fm);}else {fn=this.trn(bO,bJ,fm,fl,fm);};};if(this.__sG){if(fn){fn+=this.__sG;}else {fn=this.__sG;};};if(fn){this.getChildControl(E).setValue(fn);};};},_updateScrollerWidths:function(){var fo=this._getPaneScrollerArr();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.__pK;for(var i=0;i=0;i-- ){N[i].exclude();};};},getActiveMenu:function(){var O=this.__pK;return O.length>0?O[O.length-1]:null;},scheduleOpen:function(P){this.cancelClose(P);if(P.isVisible()){if(this.__sQ){this.cancelOpen(this.__sQ);};}else if(this.__sQ!=P){this.__sQ=P;this.__sO.restartWith(P.getOpenInterval());};},scheduleClose:function(Q){this.cancelOpen(Q);if(!Q.isVisible()){if(this.__sR){this.cancelClose(this.__sR);};}else if(this.__sR!=Q){this.__sR=Q;this.__sP.restartWith(Q.getCloseInterval());};},cancelOpen:function(R){if(this.__sQ==R){this.__sO.stop();this.__sQ=null;};},cancelClose:function(S){if(this.__sR==S){this.__sP.stop();this.__sR=null;};},_onOpenInterval:function(e){this.__sO.stop();this.__sQ.open();this.__sQ=null;},_onCloseInterval:function(e){this.__sP.stop();this.__sR.exclude();this.__sR=null;},preventContextMenuOnce:function(){qx.event.Registration.addListener(document.body,h,this.__sS,this,true);},__sS: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.__sS,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.__pK.length>0&&!this._isInMenu(U)){this.hideAll();};},__sT:{"Enter":1,"Space":1},__pb:{"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.__pb[W]||(this.__sT[W]&&V.getSelectedButton())){e.stopPropagation();};},_onKeyPress:function(e){var ba=this.getActiveMenu();if(!ba){return;};var X=e.getKeyIdentifier();var bc=this.__pb[X];var Y=this.__sT[X];if(bc){switch(X){case f: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 d: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(c)){var bE=e.clone();bE.setBubbles(false);bE.setTarget(bD);bD.dispatchEvent(bE);};this.hideAll();},_onKeyPressSpace:function(bF,bG,e){if(bG.hasListener(c)){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.__pK.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,c,this._onKeyPress,this,true);this._disposeObjects(a,g);this._disposeArray(k);}});})();(function(){var a="Boolean",b="pointerover",c="qx.ui.core.Widget",d="excluded",f="selected",g="Integer",h="slidebar",j="menu",k="visible",l="_applySelectedButton",m="_applySpacingY",n="resize",o="_blocker",p="_applyCloseInterval",q="_applyBlockerColor",r="The menu instance needs a configured 'opener' widget!",s="_applyIconColumnWidth",t="qx.ui.menu.Menu",u="_applyOpenedButton",v="Color",w="Number",x="_applyOpenInterval",y="Unknown target: ",z="_applySpacingX",A="_applyBlockerOpacity",B="Could not open menu instance because 'opener' widget is not visible",C="_applyArrowColumnWidth",D="pointerout";qx.Class.define(t,{extend:qx.ui.core.Widget,include:[qx.ui.core.MPlacement,qx.ui.core.MRemoteChildrenHandling],construct:function(){qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.menu.Layout);var E=this.getApplicationRoot();E.add(this);this.addListener(b,this._onPointerOver);this.addListener(D,this._onPointerOut);this.addListener(n,this._onResize,this);E.addListener(n,this._onResize,this);this._blocker=new qx.ui.core.Blocker(E);this.initVisibility();this.initKeepFocus();this.initKeepActive();},properties:{appearance:{refine:true,init:j},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},visibility:{refine:true,init:d},keepFocus:{refine:true,init:true},keepActive:{refine:true,init:true},spacingX:{check:g,apply:z,init:0,themeable:true},spacingY:{check:g,apply:m,init:0,themeable:true},iconColumnWidth:{check:g,init:0,themeable:true,apply:s},arrowColumnWidth:{check:g,init:0,themeable:true,apply:C},blockerColor:{check:v,init:null,nullable:true,apply:q,themeable:true},blockerOpacity:{check:w,init:1,apply:A,themeable:true},selectedButton:{check:c,nullable:true,apply:l},openedButton:{check:c,nullable:true,apply:u},opener:{check:c,nullable:true},openInterval:{check:g,themeable:true,init:250,apply:x},closeInterval:{check:g,themeable:true,init:250,apply:p},blockBackground:{check:a,themeable:true,init:false}},members:{__sU:null,__sV:null,_blocker:null,open:function(){if(this.getOpener()!=null){var F=this.placeToWidget(this.getOpener(),true);if(F){this.__sX();this.show();this._placementTarget=this.getOpener();}else {this.warn(B);};}else {this.warn(r);};},openAtPointer:function(e){this.placeToPointer(e);this.__sX();this.show();this._placementTarget={left:e.getDocumentLeft(),top:e.getDocumentTop()};},openAtPoint:function(G){this.placeToPoint(G);this.__sX();this.show();this._placementTarget=G;},addSeparator:function(){this.add(new qx.ui.menu.Separator);},getColumnSizes:function(){return this._getMenuLayout().getColumnSizes();},getSelectables:function(){var H=[];var I=this.getChildren();for(var i=0;ibo){this._assertSlideBar(function(){this.setHeight(bo-top);});}else {this.setHeight(null);};},_assertSlideBar:function(br){if(this.hasChildControl(h)){return br.call(this);};this.__sV=br;qx.ui.core.queue.Widget.add(this);},syncWidget:function(bs){this.getChildControl(h);if(this.__sV){this.__sV.call(this);delete this.__sV;};},_onResize:function(){if(this.isVisible()){var bt=this._placementTarget;if(!bt){return;}else if(bt instanceof qx.ui.core.Widget){this.placeToWidget(bt,true);}else if(bt.top!==undefined){this.placeToPoint(bt);}else {throw new Error(y+bt);};this.__sX();};},_onPointerOver:function(e){var bv=qx.ui.menu.Manager.getInstance();bv.cancelClose(this);var bw=e.getTarget();if(bw.isEnabled()&&bw instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(bw);var bu=bw.getMenu&&bw.getMenu();if(bu){bu.setOpener(bw);bv.scheduleOpen(bu);this.__sU=bu;}else {var bx=this.getOpenedButton();if(bx){bv.scheduleClose(bx.getMenu());};if(this.__sU){bv.cancelOpen(this.__sU);this.__sU=null;};};}else if(!this.getOpenedButton()){this.resetSelectedButton();};},_onPointerOut:function(e){var by=qx.ui.menu.Manager.getInstance();if(!qx.ui.core.Widget.contains(this,e.getRelatedTarget())){var bz=this.getOpenedButton();bz?this.setSelectedButton(bz):this.resetSelectedButton();if(bz){by.cancelClose(bz.getMenu());};if(this.__sU){by.cancelOpen(this.__sU);};};}},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="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:{__sY:null,_computeSizeHint:function(){var q=this._getLayoutChildren();var o,g,k;var e=this.getSpanColumn();var j=this.__sY=[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;};};},__ta:function(v){while(!(v instanceof qx.ui.menu.Menu)){v=v.getLayoutParent();};return v;},_computeSizeHint:function(){var y=this._getLayoutChildren();var x=0;var z=0;for(var i=0,l=y.length;i0&&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(TM){O=M;};this.stopScrollAnimation();if(L){var N=this.getScrollX();this.__ob=new qx.bom.AnimationFrame();this.__ob.on(o,function(){this.setScrollX(O);this.__ob=null;this.fireEvent(c);},this);this.__ob.on(i,function(Q){var P=parseInt(Q/L*(O-N)+N);this.setScrollX(P);},this);this.__ob.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.__ob=new qx.bom.AnimationFrame();this.__ob.on(o,function(){this.setScrollY(U);this.__ob=null;this.fireEvent(c);},this);this.__ob.on(i,function(W){var V=parseInt(W/R*(U-T)+T);this.setScrollY(V);},this);this.__ob.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.__ob){this.__ob.cancelSequence();this.__ob=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;iF);}else if(this.__tb.length>0){do {var Q=this.__tb[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.__tb.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.__td(Q);G+=I;if(E&&this.__tb.length==0){E.setVisibility(y);};}else {return;};};}while(F>=G&&this.__tb.length>0);};},__td:function(R){R.setVisibility(o);this.__tb.shift();this.fireDataEvent(m,R);},__te:function(S){if(!S){return;};this.__tb.unshift(S);S.setVisibility(y);this.fireDataEvent(A,S);},_getNextToHide:function(){for(var i=this.__tc.length-1;i>=0;i-- ){var T=this.__tc[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.__tc[W]!=undefined){throw new Error(v);};this.__tc[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;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])+>/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="-",b="Boolean",c='{0,1}[0-9]{3}){0,}){0,1}',d="^",e="Number string '",f="' does not match the number format",g="Wrong argument type. String is expected.",h="0",i="NaN",j='(',k="-Infinity",l="String",m="",n='([0-9]{1,3}(?:',o="qx.util.format.NumberFormat",p='([-+]){0,1}',q="g",r="Wrong number of arguments.",s="Number",t="$",u='\\d+){0,1}',v=".",w="changeNumberFormat",x="Infinity";qx.Class.define(o,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(y){qx.core.Object.call(this);if(arguments.length>0){if(arguments.length===1){if(qx.lang.Type.isString(y)){this.__kW=y;}else {throw new Error(g);};}else {throw new Error(r);};};},properties:{minimumIntegerDigits:{check:s,init:0},maximumIntegerDigits:{check:s,nullable:true},minimumFractionDigits:{check:s,init:0},maximumFractionDigits:{check:s,nullable:true},groupingUsed:{check:b,init:true},prefix:{check:l,init:m,event:w},postfix:{check:l,init:m,event:w}},members:{__kW:null,format:function(E){switch(E){case Infinity:return x;case -Infinity:return k;case NaN:return i;};var C=(E<0);if(C){E=-E;};if(this.getMaximumFractionDigits()!=null){var K=Math.pow(10,this.getMaximumFractionDigits());E=Math.round(E*K)/K;};var I=String(Math.floor(E)).length;var z=m+E;var G=z.substring(0,I);while(G.lengththis.getMaximumIntegerDigits()){G=G.substring(G.length-this.getMaximumIntegerDigits());};var F=z.substring(I+1);while(F.lengththis.getMaximumFractionDigits()){F=F.substring(0,this.getMaximumFractionDigits());};if(this.getGroupingUsed()){var B=G;G=m;var J;for(J=B.length;J>3;J-=3){G=m+qx.locale.Number.getGroupSeparator(this.__kW)+B.substring(J-3,J)+G;};G=B.substring(0,J)+G;};var D=this.getPrefix()?this.getPrefix():m;var A=this.getPostfix()?this.getPostfix():m;var H=D+(C?a:m)+G;if(F.length>0){H+=m+qx.locale.Number.getDecimalSeparator(this.__kW)+F;};H+=A;return H;},parse:function(T){var P=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this.__kW)+m);var N=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this.__kW)+m);var L=new RegExp(d+qx.lang.String.escapeRegexpChars(this.getPrefix())+p+n+P+c+j+N+u+qx.lang.String.escapeRegexpChars(this.getPostfix())+t);var O=L.exec(T);if(O==null){throw new Error(e+T+f);};var Q=(O[1]==a);var S=O[2]||h;var R=O[3];S=S.replace(new RegExp(P,q),m);var M=(Q?a:m)+S;if(R!=null&&R.length!=0){R=R.replace(new RegExp(N),m);M+=v+R;};return parseFloat(M);}}});})();(function(){var a="cldr_number_decimal_separator",b="cldr_number_percent_format",c="qx.locale.Number",d="cldr_number_group_separator";qx.Class.define(c,{statics:{getDecimalSeparator:function(e){return qx.locale.Manager.getInstance().localize(a,[],e);},getGroupSeparator:function(f){return qx.locale.Manager.getInstance().localize(d,[],f);},getPercentFormat:function(g){return qx.locale.Manager.getInstance().localize(b,[],g);}}});})();(function(){var a="qx.ui.table.ICellEditorFactory";qx.Interface.define(a,{members:{createCellEditor:function(b){return true;},getCellEditorValue:function(c){return true;}}});})();(function(){var a="Function",b="abstract",c="",d="number",e="appear",f="Abstract method call!",g="qx.ui.table.celleditor.AbstractField";qx.Class.define(g,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,type:b,properties:{validationFunction:{check:a,nullable:true,init:null}},members:{_createEditor:function(){throw new Error(f);},createCellEditor:function(h){var i=this._createEditor();i.originalValue=h.value;if(h.value===null||h.value===undefined){h.value=c;};i.setValue(c+h.value);i.addListener(e,function(){i.selectAllText();});return i;},getCellEditorValue:function(j){var k=j.getValue();var l=this.getValidationFunction();if(l){k=l(k,j.originalValue);};if(typeof j.originalValue==d){k=parseFloat(k);};return k;}}});})();(function(){var a="number",b="qx.ui.table.celleditor.TextField",c="table-editor-textfield";qx.Class.define(b,{extend:qx.ui.table.celleditor.AbstractField,members:{getCellEditorValue:function(d){var e=d.getValue();var f=this.getValidationFunction();if(f){e=f(e,d.originalValue);};if(typeof d.originalValue==a){if(e!=null){e=parseFloat(e);};};return e;},_createEditor:function(){var g=new qx.ui.form.TextField();g.setAppearance(c);return g;}}});})();(function(){var a="qx.ui.table.IHeaderRenderer";qx.Interface.define(a,{members:{createHeaderCell:function(b){return true;},updateHeaderCell:function(c,d){return true;}}});})();(function(){var a="qx.ui.table.headerrenderer.Default",b="sortedAscending",c="sorted",d="String";qx.Class.define(a,{extend:qx.core.Object,implement:qx.ui.table.IHeaderRenderer,statics:{STATE_SORTED:c,STATE_SORTED_ASCENDING:b},properties:{toolTip:{check:d,init:null,nullable:true}},members:{createHeaderCell:function(e){var f=new qx.ui.table.headerrenderer.HeaderCell();this.updateHeaderCell(e,f);return f;},updateHeaderCell:function(j,i){var h=qx.ui.table.headerrenderer.Default;if(j.name&&j.name.translate){i.setLabel(j.name.translate());}else {i.setLabel(j.name);};var g=i.getToolTip();if(this.getToolTip()!=null){if(g==null){g=new qx.ui.tooltip.ToolTip(this.getToolTip());i.setToolTip(g);qx.util.DisposeUtil.disposeTriggeredBy(g,i);}else {g.setLabel(this.getToolTip());};};j.sorted?i.addState(h.STATE_SORTED):i.removeState(h.STATE_SORTED);j.sortedAscending?i.addState(h.STATE_SORTED_ASCENDING):i.removeState(h.STATE_SORTED_ASCENDING);}}});})();(function(){var a="_applySortIcon",b="_applyIcon",c="icon",d="label",e="table-header-cell",f="qx.ui.table.headerrenderer.HeaderCell",g="_applyLabel",h="String",i="sort-icon";qx.Class.define(f,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this);var j=new qx.ui.layout.Grid();j.setRowFlex(0,1);j.setColumnFlex(1,1);j.setColumnFlex(2,1);this.setLayout(j);},properties:{appearance:{refine:true,init:e},label:{check:h,init:null,nullable:true,apply:g},sortIcon:{check:h,init:null,nullable:true,apply:a,themeable:true},icon:{check:h,init:null,nullable:true,apply:b}},members:{_applyLabel:function(l,k){if(l){this._showChildControl(d).setValue(l);}else {this._excludeChildControl(d);};},_applySortIcon:function(n,m){if(n){this._showChildControl(i).setSource(n);}else {this._excludeChildControl(i);};},_applyIcon:function(p,o){if(p){this._showChildControl(c).setSource(p);}else {this._excludeChildControl(c);};},_createChildControlImpl:function(s,r){var q;switch(s){case d:q=new qx.ui.basic.Label(this.getLabel()).set({anonymous:true,allowShrinkX:true});this._add(q,{row:0,column:1});break;case i:q=new qx.ui.basic.Image(this.getSortIcon());q.setAnonymous(true);this._add(q,{row:0,column:2});break;case c:q=new qx.ui.basic.Image(this.getIcon()).set({anonymous:true,allowShrinkX:true});this._add(q,{row:0,column:0});break;};return q||qx.ui.container.Composite.prototype._createChildControlImpl.call(this,s);}}});})();(function(){var a="__tt",b="visibilityChanged",c="__ts",d="orderChanged",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="__tu",o="visibilityChangedPre";qx.Class.define(f,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__to=[];this.__tp=[];},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:{__su:null,__tq:null,__tp:null,__to:null,__tr:null,__ts:null,__tt:null,__tu:null,init:function(s,v){{};this.__tr=[];var r=qx.ui.table.columnmodel.Basic.DEFAULT_WIDTH;var t=this.__ts||(this.__ts=new qx.ui.table.columnmodel.Basic.DEFAULT_HEADER_RENDERER());var q=this.__tt||(this.__tt=new qx.ui.table.columnmodel.Basic.DEFAULT_DATA_RENDERER());var p=this.__tu||(this.__tu=new qx.ui.table.columnmodel.Basic.DEFAULT_EDITOR_FACTORY());this.__to=[];this.__tp=[];var u;if(v){u=v.getInitiallyHiddenColumns();};u=u||[];for(var z=0;z=T&&U=Y&&Y!==-1){this.__tA();};},__tA:function(){this.__tx=[];this.__tz=0;},__tB:function(bc,ba,bb){if(!ba&&!bb&&this.__tx[bc]){return this.__tx[bc];}else {return null;};},__tC:function(bh,bg,be,bf){var bd=this.getMaxCacheLines();if(!be&&!bf&&!this.__tx[bh]&&bd>0){this._applyMaxCacheLines(bd);this.__tx[bh]=bg;this.__tz+=1;};},updateContent:function(bi,bl,bk,bj){if(bi){this.__tA();};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.__ty){this.__ty=document.createElement(g);};var ck=a;ck+=this._getRowsHtml(ci+ce,Math.abs(cn));ck+=e;this.__ty.innerHTML=ck;var cj=this.__ty.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.__sE!==null){this._updateRowStyles(this.__sE-cn);this._updateRowStyles(this.__sE);};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.__tw=cx;this.__sH=cr;this.fireEvent(t);}},destruct:function(){this.__ty=this.__tv=this.__tx=null;this.removeListener(k,this._onTrack,this);}});})();(function(){var a="first",b="hovered",c="__tv",d="last",e="qx.ui.table.pane.Header";qx.Class.define(e,{extend:qx.ui.core.Widget,construct:function(f){qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.HBox());this.__qH=new qx.ui.core.Blocker(this);this.__tv=f;},members:{__tv:null,__tD:null,__tE:null,__qH:null,getPaneScroller:function(){return this.__tv;},getTable:function(){return this.__tv.getTable();},getBlocker:function(){return this.__qH;},onColOrderChanged:function(){this._updateContent(true);},onPaneModelChanged:function(){this._updateContent(true);},onTableModelMetaDataChanged:function(){this._updateContent();},setColumnWidth:function(h,g,i){var j=this.getHeaderWidgetAtColumn(h);if(j!=null){j.setWidth(g);};},setPointerOverColumn:function(l){if(l!=this.__tE){if(this.__tE!=null){var k=this.getHeaderWidgetAtColumn(this.__tE);if(k!=null){k.removeState(b);};};if(l!=null){this.getHeaderWidgetAtColumn(l).addState(b);};this.__tE=l;};},getHeaderWidgetAtColumn:function(n){var m=this.getPaneScroller().getTablePaneModel().getX(n);return this._getChildren()[m];},showColumnMoveFeedback:function(y,x){var r=this.getContentLocation();if(this.__tD==null){var w=this.getTable();var o=this.getPaneScroller().getTablePaneModel().getX(y);var q=this._getChildren()[o];var s=w.getTableModel();var u=w.getTableColumnModel();var v={xPos:o,col:y,name:s.getColumnName(y),table:w};var t=u.getHeaderCellRenderer(y);var p=t.createHeaderCell(v);var z=q.getBounds();p.setWidth(z.width);p.setHeight(z.height);p.setZIndex(1000000);p.setOpacity(0.8);p.setLayoutProperties({top:r.top});this.getApplicationRoot().add(p);this.__tD=p;};this.__tD.setLayoutProperties({left:r.left+x});this.__tD.show();},hideColumnMoveFeedback:function(){if(this.__tD!=null){this.__tD.destroy();this.__tD=null;};},isShowingColumnMoveFeedback:function(){return this.__tD!=null;},_updateContent:function(B){var L=this.getTable();var E=L.getTableModel();var H=L.getTableColumnModel();var A=this.getPaneScroller().getTablePaneModel();var D=this._getChildren();var F=A.getColumnCount();var I=E.getSortColumnIndex();if(B){this._cleanUpCells();};var J={};J.sortedAscending=E.isSortAscending();for(var x=0;x=0;x-- ){var N=O[x];N.destroy();};}},destruct:function(){this.__qH.dispose();this._disposeObjects(c);}});})();(function(){var a="changeScrollX",b="Boolean",c="__cY",d="scroll",g="focus-indicator",h="_paneClipper",i="changeHorizontalScrollBarVisible",j="cellDbltap",k="excluded",l="bottom",m="_applyScrollTimeout",n="__tG",o="_applyTablePaneModel",p="Integer",q="cellTap",r="roll",s="qx.event.type.Data",t="dataEdited",u="mouse",v="changeVerticalScrollBarVisible",w="interval",y="qx.ui.table.pane.Scroller",z="scrollbar-y",A="table-scroller-focus-indicator",B="_headerClipper",C="visible",D="__tL",E="__tI",F="resize-line",G="_applyShowCellFocusIndicator",H="__tK",I="__tM",J="header",K="dbltap",L="resize",M="pointerup",N="vertical",O="changeScrollY",P="__tH",Q="editing",R="appear",S="pointerdown",T="modelChanged",U="changeTablePaneModel",V="beforeSort",W="scrollbar-x",X="horizontal",Y="table-scroller",bv="losecapture",bw="contextmenu",bx="col-resize",br="disappear",bs="_applyVerticalScrollBarVisible",bt="_applyHorizontalScrollBarVisible",bu="__tJ",bB="os.scrollBarOverlayed",bC="pane",bD="cellContextmenu",bF="close",by="tap",bz="pointermove",bA="qx.ui.table.pane.Model",bq="qx.ui.table.pane.CellEvent",bE="pointerout";qx.Class.define(y,{extend:qx.ui.core.Widget,include:[qx.ui.core.scroll.MScrollBarFactory],construct:function(bG){qx.ui.core.Widget.call(this);this.__tF=bG;var bH=new qx.ui.layout.Grid();bH.setColumnFlex(0,1);bH.setRowFlex(1,1);this._setLayout(bH);this.__tG=this._showChildControl(J);this.__tH=this._showChildControl(bC);this.__tI=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({minWidth:0});this._add(this.__tI,{row:0,column:0,colSpan:2});this._headerClipper=this._createHeaderClipper();this._headerClipper.add(this.__tG);this._headerClipper.addListener(bv,this._onChangeCaptureHeader,this);this._headerClipper.addListener(bz,this._onPointermoveHeader,this);this._headerClipper.addListener(S,this._onPointerdownHeader,this);this._headerClipper.addListener(M,this._onPointerupHeader,this);this._headerClipper.addListener(by,this._onTapHeader,this);this.__tI.add(this._headerClipper,{flex:1});this._paneClipper=this._createPaneClipper();this._paneClipper.add(this.__tH);this._paneClipper.addListener(r,this._onRoll,this);this._paneClipper.addListener(bz,this._onPointermovePane,this);this._paneClipper.addListener(S,this._onPointerdownPane,this);this._paneClipper.addListener(by,this._onTapPane,this);this._paneClipper.addListener(bw,this._onContextMenu,this);this._paneClipper.addListener(K,this._onDbltapPane,this);this._paneClipper.addListener(L,this._onResizePane,this);if(qx.core.Environment.get(bB)){this.__tJ=new qx.ui.container.Composite();this.__tJ.setLayout(new qx.ui.layout.Canvas());this.__tJ.add(this._paneClipper,{edge:0});this._add(this.__tJ,{row:1,column:0});}else {this._add(this._paneClipper,{row:1,column:0});};this.__tK=this._showChildControl(W);this.__tL=this._showChildControl(z);this.__tM=this.getChildControl(g);this.initShowCellFocusIndicator();this.getChildControl(F).hide();this.addListener(bE,this._onPointerout,this);this.addListener(R,this._onAppear,this);this.addListener(br,this._onDisappear,this);this.__cY=new qx.event.Timer();this.__cY.addListener(w,this._oninterval,this);this.initScrollTimeout();},statics:{MIN_COLUMN_WIDTH:10,RESIZE_REGION_RADIUS:5,TAP_TOLERANCE:5,HORIZONTAL_SCROLLBAR:1,VERTICAL_SCROLLBAR:2},events:{"changeScrollY":s,"changeScrollX":s,"cellTap":bq,"cellDbltap":bq,"cellContextmenu":bq,"beforeSort":s},properties:{horizontalScrollBarVisible:{check:b,init:false,apply:bt,event:i},verticalScrollBarVisible:{check:b,init:false,apply:bs,event:v},tablePaneModel:{check:bA,apply:o,event:U},liveResize:{check:b,init:false},focusCellOnPointerMove:{check:b,init:false},selectBeforeFocus:{check:b,init:false},showCellFocusIndicator:{check:b,init:true,apply:G},contextMenuFromDataCellsOnly:{check:b,init:true},resetSelectionOnHeaderTap:{check:b,init:true},scrollTimeout:{check:p,init:100,apply:m},appearance:{refine:true,init:Y}},members:{__sH:null,__tF:null,__tN:null,__tO:null,__tP:null,_moveColumn:null,__tQ:null,_lastMoveTargetX:null,_lastMoveTargetScroller:null,__tR:null,__tS:null,__tT:null,__tU:null,__tV:null,__tW:false,__tX:null,__tY:null,__ua:null,__sD:null,__sE:null,_cellEditor:null,__ub:null,__uc:null,__tK:null,__tL:null,__tG:null,_headerClipper:null,__tH:null,_paneClipper:null,__tJ:null,__tM:null,__tI:null,__cY:null,getPaneInsetRight:function(){var bK=this.getTopRightWidget();var bL=bK&&bK.isVisible()&&bK.getBounds()?bK.getBounds().width+bK.getMarginLeft()+bK.getMarginRight():0;var bJ=this.__tL;var bI=this.getVerticalScrollBarVisible()?this.getVerticalScrollBarWidth()+bJ.getMarginLeft()+bJ.getMarginRight():0;return Math.max(bL,bI);},setPaneWidth:function(bM){if(this.isVerticalScrollBarVisible()){bM+=this.getPaneInsetRight();};this.setWidth(bM);},_createChildControlImpl:function(bP,bO){var bN;switch(bP){case J:bN=(this.getTable().getNewTablePaneHeader())(this);break;case bC:bN=(this.getTable().getNewTablePane())(this);break;case g:bN=new qx.ui.table.pane.FocusIndicator(this);bN.setUserBounds(0,0,0,0);bN.setZIndex(1000);bN.addListener(M,this._onPointerupFocusIndicator,this);this._paneClipper.add(bN);bN.show();bN.setDecorator(null);break;case F:bN=new qx.ui.core.Widget();bN.setUserBounds(0,0,0,0);bN.setZIndex(1000);this._paneClipper.add(bN);break;case W:bN=this._createScrollBar(X).set({alignY:l});bN.addListener(d,this._onScrollX,this);if(this.__tJ!=null){bN.setMinHeight(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this.__tJ.add(bN,{bottom:0,right:0,left:0});}else {this._add(bN,{row:2,column:0});};break;case z:bN=this._createScrollBar(N);bN.addListener(d,this._onScrollY,this);if(this.__tJ!=null){this.__tJ.add(bN,{right:0,bottom:0,top:0});}else {this._add(bN,{row:1,column:1});};break;};return bN||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bP);},_applyHorizontalScrollBarVisible:function(bR,bQ){this.__tK.setVisibility(bR?C:k);},_applyVerticalScrollBarVisible:function(bT,bS){this.__tL.setVisibility(bT?C:k);},_applyTablePaneModel:function(bV,bU){if(bU!=null){bU.removeListener(T,this._onPaneModelChanged,this);};bV.addListener(T,this._onPaneModelChanged,this);},_applyShowCellFocusIndicator:function(bX,bW){if(bX){this.__tM.setDecorator(A);this._updateFocusIndicator();}else {if(this.__tM){this.__tM.setDecorator(null);};};},getScrollY:function(){return this.__tL.getPosition();},setScrollY:function(scrollY,bY){this.__tL.scrollTo(scrollY);if(bY){this._updateContent();};},getScrollX:function(){return this.__tK.getPosition();},setScrollX:function(scrollX){this.__tK.scrollTo(scrollX);},getTable:function(){return this.__tF;},_createPaneClipper:function(){return new qx.ui.table.pane.Clipper();},_createHeaderClipper:function(){return new qx.ui.table.pane.Clipper();},onColVisibilityChanged:function(){this.updateHorScrollBarMaximum();this._updateFocusIndicator();},setColumnWidth:function(cc,cb){this.__tG.setColumnWidth(cc,cb);this.__tH.setColumnWidth(cc,cb);var ca=this.getTablePaneModel();var x=ca.getX(cc);if(x!=-1){this.updateHorScrollBarMaximum();this._updateFocusIndicator();};},onColOrderChanged:function(){this.__tG.onColOrderChanged();this.__tH.onColOrderChanged();this.updateHorScrollBarMaximum();},onTableModelDataChanged:function(cg,ce,ch,cf){this.__tH.onTableModelDataChanged(cg,ce,ch,cf);var cd=this.getTable().getTableModel().getRowCount();if(cd!=this.__sH){this.updateVerScrollBarMaximum();if(this.getFocusedRow()>=cd){if(cd==0){this.setFocusedCell(null,null);}else {this.setFocusedCell(this.getFocusedColumn(),cd-1);};};this.__sH=cd;};},onSelectionChanged:function(){this.__tH.onSelectionChanged();},onFocusChanged:function(){this.__tH.onFocusChanged();},onTableModelMetaDataChanged:function(){this.__tG.onTableModelMetaDataChanged();this.__tH.onTableModelMetaDataChanged();},_onPaneModelChanged:function(){this.__tG.onPaneModelChanged();this.__tH.onPaneModelChanged();},_onResizePane:function(){this.updateHorScrollBarMaximum();this.updateVerScrollBarMaximum();this._updateContent();this.__tG._updateContent();this.__tF._updateScrollBarVisibility();},updateHorScrollBarMaximum:function(){var cm=this._paneClipper.getInnerSize();if(!cm){return;};var cj=this.getTablePaneModel().getTotalWidth();var ck=this.__tK;if(cm.width0&&cy.y<1){cy.y=1;}else if(cy.y<0&&cy.y>-1){cy.y=-1;};this.__tL.scrollBy(parseInt(cy.y,10));var cw=cy.y!=0&&!this.__ud(this.__tL,cy.y);if(cy.x>0&&cy.x<1){cy.x=1;}else if(cy.x<0&&cy.x>-1){cy.x=-1;};this.__tK.scrollBy(parseInt(cy.x,10));if(this.__tY&&this.getFocusCellOnPointerMove()){this._focusCellAtPagePos(this.__tY,this.__ua);};cw=cw||(cy.x!=0&&!this.__ud(this.__tK,cy.x));if(cw){e.stop();}else {e.stopMomentum();};},__ud:function(cA,cB){var cz=cA.getPosition();return (cB<0&&cz<=0)||(cB>0&&cz>=cA.getMaximum());},__ue:function(cH){var cF=this.getTable();var cI=this.__tG.getHeaderWidgetAtColumn(this.__tS);var cC=cI.getSizeHint().minWidth;var cE=Math.max(cC,this.__tU+cH-this.__tT);if(this.getLiveResize()){var cD=cF.getTableColumnModel();cD.setColumnWidth(this.__tS,cE,true);}else {this.__tG.setColumnWidth(this.__tS,cE,true);var cG=this.getTablePaneModel();this._showResizeLine(cG.getColumnLeft(this.__tS)+cE);};this.__tT+=cE-this.__tU;this.__tU=cE;},__uf:function(cL){var cK=qx.ui.table.pane.Scroller.TAP_TOLERANCE;if(this.__tG.isShowingColumnMoveFeedback()||cL>this.__tR+cK||cLdr){dq-- ;};du.moveColumn(dr,dq);this._updateFocusIndicator();};};this._moveColumn=null;this._lastMoveTargetX=null;this._headerClipper.releaseCapture();},_onPointerupHeader:function(e){var dy=this.getTable();if(!dy.getEnabled()){return;};if(this.__tS!=null){this._stopResizeHeader();this.__tX=true;e.stop();}else if(this._moveColumn!=null){this._stopMoveHeader();e.stop();};},_onTapHeader:function(e){if(this.__tX){this.__tX=false;return;};var dD=this.getTable();if(!dD.getEnabled()){return;};var dB=dD.getTableModel();var dC=e.getDocumentLeft();var dA=this._getResizeColumnForPageX(dC);if(dA==-1){var dG=this._getColumnForPageX(dC);if(dG!=null&&dB.isColumnSortable(dG)){var dz=dB.getSortColumnIndex();var dE=(dG!=dz)?true:!dB.isSortAscending();var dF={column:dG,ascending:dE,tapEvent:e};if(this.fireDataEvent(V,dF,null,true)){if(dD.isEditing()){dD.stopEditing();};dB.sortByColumn(dG,dE);if(this.getResetSelectionOnHeaderTap()){dD.getSelectionModel().resetSelection();};};};};e.stop();},_onTapPane:function(e){var dK=this.getTable();if(!dK.getEnabled()){return;};var dI=e.getDocumentLeft();var dJ=e.getDocumentTop();var dM=this._getRowForPagePos(dI,dJ);var dL=this._getColumnForPageX(dI);if(dM!=null&&dL!=null){var dH=this.getSelectBeforeFocus();if(dH){dK.getSelectionManager().handleTap(dM,e);};if(!this.getFocusCellOnPointerMove()){this._focusCellAtPagePos(dI,dJ);};if(!dH){dK.getSelectionManager().handleTap(dM,e);};if(this.__tM.isHidden()||(this.__tV&&!this.__tW&&!this.isEditing()&&dM==this.__tV.row&&dL==this.__tV.col)){this.fireEvent(q,qx.ui.table.pane.CellEvent,[this,e,dM,dL],true);this.__tW=true;};};},_onContextMenu:function(e){var dO=e.getDocumentLeft();var dP=e.getDocumentTop();var dR=this._getRowForPagePos(dO,dP);var dQ=this._getColumnForPageX(dO);if(dR===null&&this.getContextMenuFromDataCellsOnly()){return;};if(!this.getShowCellFocusIndicator()||dR===null||(this.__tV&&dR==this.__tV.row&&dQ==this.__tV.col)){this.fireEvent(bD,qx.ui.table.pane.CellEvent,[this,e,dR,dQ],true);var dN=this.getTable().getContextMenu();if(dN){if(dN.getChildren().length>0){dN.openAtPointer(e);}else {dN.exclude();};e.preventDefault();};};},_onContextMenuOpen:function(e){},_onDbltapPane:function(e){var dU=e.getDocumentLeft();var dV=e.getDocumentTop();var dT=this._getColumnForPageX(dU);if(dT!==null){this._focusCellAtPagePos(dU,dV);this.startEditing();var dS=this._getRowForPagePos(dU,dV);if(dS!=-1&&dS!=null){this.fireEvent(j,qx.ui.table.pane.CellEvent,[this,e,dS],true);};};},_onPointerout:function(e){var dW=this.getTable();if(!dW.getEnabled()){return;};if(this.__tS==null){this.setCursor(null);this.getApplicationRoot().setGlobalCursor(null);};this.__tG.setPointerOverColumn(null);if(this.getFocusCellOnPointerMove()){this.__tF.setFocusedCell();};},_showResizeLine:function(x){var dY=this._showChildControl(F);var dX=dY.getWidth();var ea=this._paneClipper.getBounds();dY.setUserBounds(x-Math.round(dX/2),0,dX,ea.height);},_hideResizeLine:function(){this._excludeChildControl(F);},showColumnMoveFeedback:function(ej){var ek=this.getTablePaneModel();var ed=this.getTable().getTableColumnModel();var ee=this.__tH.getContentLocation().left;var ei=ek.getColumnCount();var ef=0;var en=0;var ec=ee;for(var eb=0;eb=(fc-fa)&&fb<=(fc+fa)){return fh;};};return -1;},_getRowForPagePos:function(fo,fp){var fi=this.__tH.getContentLocation();if(fofi.right){return null;};if(fp>=fi.top&&fp<=fi.bottom){var fj=this.getTable().getRowHeight();var scrollY=this.__tL.getPosition();if(this.getTable().getKeepFirstVisibleRowComplete()){scrollY=Math.floor(scrollY/fj)*fj;};var fm=scrollY+fp-fi.top;var fq=Math.floor(fm/fj);var fk=this.getTable().getTableModel();var fn=fk.getRowCount();return (fq=fl.top&&fp<=fl.bottom&&fo<=fl.right){return -1;};return null;},setTopRightWidget:function(fr){var fs=this.__uc;if(fs!=null){this.__tI.remove(fs);};if(fr!=null){this.__tI.add(fr);};this.__uc=fr;},getTopRightWidget:function(){return this.__uc;},getHeader:function(){return this.__tG;},getTablePane:function(){return this.__tH;},getVerticalScrollBarWidth:function(){var ft=this.__tL;return ft.isVisible()?(ft.getSizeHint().width||0):0;},getNeededScrollBars:function(fx,fy){var fJ=this.__tL;var fI=fJ.getSizeHint().width+fJ.getMarginLeft()+fJ.getMarginRight();var fD=this.__tK;var fG=fD.getSizeHint().height+fD.getMarginTop()+fD.getMarginBottom();var fA=this._paneClipper.getInnerSize();var fu=fA?fA.width:0;if(this.getVerticalScrollBarVisible()){fu+=fI;};var fE=fA?fA.height:0;if(this.getHorizontalScrollBarVisible()){fE+=fG;};var fB=this.getTable().getTableModel();var fC=fB.getRowCount();var fv=this.getTablePaneModel().getTotalWidth();var fF=this.getTable().getRowHeight()*fC;var fw=false;var fK=false;if(fv>fu){fw=true;if(fF>fE-fG){fK=true;};}else if(fF>fE){fK=true;if(!fy&&(fv>fu-fI)){fw=true;};};var fz=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;var fH=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;return ((fx||fw)?fz:0)|((fy||!fK)?0:fH);},getPaneClipper:function(){return this._paneClipper;},getScrollAreaContainer:function(){return this.getPaneClipper();},_applyScrollTimeout:function(fM,fL){this._startInterval(fM);},_startInterval:function(fN){this.__cY.setInterval(fN);this.__cY.start();},_stopInterval:function(){this.__cY.stop();},_postponedUpdateContent:function(){this._updateContent();},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.__tO&&!this.__tH._layoutPending){this.__tO=false;this._updateContent();};}),_updateContent:function(){var fV=this._paneClipper.getInnerSize();if(!fV){return;};var fT=fV.height;var scrollX=this.__tK.getPosition();var scrollY=this.__tL.getPosition();var fP=this.getTable().getRowHeight();var fR=Math.floor(scrollY/fP);var fU=this.__tH.getFirstVisibleRow();this.__tH.setFirstVisibleRow(fR);var fQ=Math.ceil(fT/fP);var fO=0;var fS=this.getTable().getKeepFirstVisibleRowComplete();if(!fS){fQ++ ;fO=scrollY%fP;};this.__tH.setVisibleRowCount(fQ);if(fR!=fU){this._updateFocusIndicator();};this._paneClipper.scrollToX(scrollX);if(!fS){this._paneClipper.scrollToY(fO);};},_updateFocusIndicator:function(){var fW=this.getTable();if(!fW.getEnabled()){return;};this.__tM.moveToCell(this.__sD,this.__sE);}},destruct:function(){this._stopInterval();var fX=this.getTablePaneModel();if(fX){fX.dispose();};this.__tV=this.__uc=this.__tF=null;this._disposeObjects(H,D,B,h,I,n,P,E,c,bu);}});})();(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.__qO=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:{__qO:null,_onKeyPress:function(e){var i=e.getKeyIdentifier();if(i!==a&&i!==c){e.stopPropagation();};},moveToCell:function(p,q){if(!this.__qO.getShowCellFocusIndicator()&&!this.__qO.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.__qO.getTablePaneModel().getX(p);if(j==-1){this.hide();this.setRow(null);this.setColumn(null);}else {var o=this.__qO.getTable();var m=o.getTableColumnModel();var n=this.__qO.getTablePaneModel();var l=this.__qO.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.__qO=null;}});})();(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:{__pd: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.__pd=e.getPointerId();},_onRoll:function(e){if(e.getPointerType()==a){return;};if(this.__pd&&e.getMomentum()){qx.event.Registration.getManager(e.getOriginalTarget()).getHandler(qx.event.handler.Gesture).gestureCancel(this.__pd);e.stopMomentum();this.__pd=null;return;};this.__pd=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="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="os.version",b="os.name",c="qx.mobile.nativescroll",d="osx",e="qx.nativeScrollBars",f="event.mspointer",g="android",h="firefox",i="os.scrollBarOverlayed",j="browser.version",k="ios",l=".",m="browser.name",n="qx.bom.client.Scroll";qx.Bootstrap.define(n,{statics:{scrollBarOverlayed:function(){var o=qx.bom.element.Scroll.getScrollbarWidth();var q=qx.bom.client.OperatingSystem.getName()===d;var p=qx.core.Environment.get(e);return o===0&&q&&p;},getNativeScroll:function(){if(qx.core.Environment.get(b)==k&&parseInt(qx.core.Environment.get(j),10)>7){return true;};if(qx.core.Environment.get(m)==h){return true;};if(qx.core.Environment.get(b)==g){var s=qx.core.Environment.get(a);var r=s.split(l);if(r[0]>4||(r.length>1&&r[0]>3&&r[1]>3)){return true;};};if(qx.core.Environment.get(f)){return true;};return false;}},defer:function(t){qx.core.Environment.add(i,t.scrollBarOverlayed);qx.core.Environment.add(c,t.getNativeScroll);}});})();(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&&is){this.__ug=s-r;}else {this.__ug=t;};};return this.__ug;},getColumnAtX:function(v){var u=this.getFirstColumnX();return this.__uh.getVisibleColumnAtX(u+v);},getX:function(z){var w=this.getFirstColumnX();var y=this.getMaxColumnCount();var x=this.__uh.getVisibleX(z)-w;if(x>=0&&(y==-1||xn)?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.__sv.length){throw new Error(c+bj+g+this.__sv.length+e);};return this.__sv[bj][bk];},setValue:function(bm,bl,bo){if(this.__sv[bl][bm]!=bo){this.__sv[bl][bm]=bo;if(this.hasListener(f)){var bn={firstRow:bl,lastRow:bl,firstColumn:bm,lastColumn:bm};this.fireDataEvent(f,bn);};if(bm==this.__sw){this.clearSorting();};};},setData:function(bq,bp){this.__sv=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.__sv;},setDataAsMapArray:function(bt,bs,bu){this.setData(this._mapArray2RowArr(bt,bs),bu);},addRows:function(bx,bw,bv){if(bw==null){bw=this.__sv.length;};bx.splice(0,0,bw,0);Array.prototype.splice.apply(this.__sv,bx);var by={firstRow:bw,lastRow:this.__sv.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,Math.max(this.__sv.length,bF.length));Array.prototype.splice.apply(this.__sv,bF);var bG={firstRow:bE,lastRow:this.__sv.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.__sv.splice(bM,bN);var bO={firstRow:bM,lastRow:this.__sv.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;ithis.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;i0){this.set({maxWidth:p});};this.addListener(a,this._tableWidthChanged,this);this.addListener(f,this.startFiltering,this);this.addListener(n,this.startFiltering,this);};},members:{filterColumn:null,filterColName:null,filterData:null,filterOpen:null,_tableWidthChanged:function(){var y=this.getBounds()[d];var B=this.getTableColumnModel();for(var i=0;i0){var z=this.__TB(B,A,x[l]);B.setColumnVisible(A,y>=z);};};},__TB:function(F,G,H){var E=0;for(var i=0;iH)||(D[l]<0)){if(j in D&&D[j]==1){continue;};if(!F.isColumnVisible(C)){continue;};E=E+F.getColumnWidth(C);};};return E;},__TC:function(J){var L=0;for(var i=0;i=this.__ul.length){throw new Error(a);};this.__ul[p].setColumnWidth(o,q);this.__un.schedule();},setMinWidth:function(s,r){if(s>=this.__ul.length){throw new Error(a);};this.__ul[s].setMinWidth(r);this.__un.schedule();},setMaxWidth:function(u,t){if(u>=this.__ul.length){throw new Error(a);};this.__ul[u].setMaxWidth(t);this.__un.schedule();},set:function(w,v){for(var x in v){switch(x){case f:this.setWidth(w,v[x]);break;case e: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.__up||this.getInitializeWidthsOnEveryAppear()){this._computeColumnsFlexWidth();this.__up=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.__ul;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);},_preOpenAction:function(){var R=[];var P=this.__TE.getTableModel();for(var i=0;iW[i+1].value){X=true;Y=W[i+1].value;W[i+1].value=W[i].value;W[i].value=Y;};};};if(X==false)break;};}}});})();(function(){var a="inventory.php",b="search_init",c="eq",d="item",f="excluded",g="bottom",h="productgroups",i="key",j="execute",k="dblclick",l="equals",m="custid",n="co",o="contains",p="Item",q="visible",r=":",s="changeSelection",t="pushscreen",u="sw",v="Product Group",w="websynapse/edit-find.png",x="",y="websynapse.inventory.InventorySearch",z="appear",A="facility",B="starts with",C="POST",D="bold",E="opcode",F="keypress",G="enter",H="DoubleClick for List",I="websynapse/edit-undo.png",J="Inventory Inquiry",K="Facility",L="hidden",M="left",N="productgroup",O="items",P="",Q="display";qx.Class.define(y,{extend:websynapse.common.ui.screens.AbstractScreen,construct:function(){websynapse.common.ui.screens.AbstractScreen.call(this,this.tr(J));this._requiredData=[];var U=new qx.ui.container.Composite(new qx.ui.layout.HBox(5).set({alignX:M,alignY:g})).set({marginLeft:10,marginRight:10});var toolbar=this.__TI=new qx.ui.toolbar.ToolBar;toolbar.setDecorator(null);toolbar.add(this.__TJ=new qx.ui.form.Button(null,w));toolbar.add(this.__TK=new qx.ui.form.Button(null,I).set({marginLeft:5}));U.add(toolbar);this.add(U);var T=new qx.ui.container.Composite(new qx.ui.layout.VBox(10)).set({margin:10});var R=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:M,alignY:g}));R.add(new qx.ui.basic.Label(this.tr(K)+r).set({font:D,alignY:g}));R.add(this.__TL=new websynapse.common.ui.widgets.SelectBox(true,this.tr(P)).set({marginLeft:5,alignY:g}));T.add(R);var S=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:M,alignY:g}));S.add(new qx.ui.basic.Label(this.tr(v)+r).set({font:D,alignY:g}));S.add(this.__TM=new websynapse.common.ui.widgets.SelectBox(true,P).set({marginLeft:5,alignY:g}));T.add(S);var S=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:M,alignY:g}));S.add(new qx.ui.basic.Label(this.tr(p)+r).set({font:D,alignY:g}));S.add(this.__TN=new websynapse.common.ui.widgets.SelectBox(true,this.tr(P)).set({marginLeft:5,alignY:g}));S.add(this.__TO=new websynapse.common.ui.widgets.UpperTextField().set({marginLeft:5,alignY:g,maxLength:20,width:200,maxWidth:200,visibility:L}));this.__TO.setPlaceholder(H);S.add(this.__TP=new websynapse.common.ui.widgets.SelectBox(false).set({marginLeft:5,width:250,minWidth:150}));T.add(S);this.add(T,{flex:1});this._getRequiredData();this.__TR();this.__TQ=this.addListener(z,this.__eg,this);},members:{__TQ:null,__TI:null,__TJ:null,__TK:null,__TL:null,__TM:null,__TN:null,__TO:null,__TP:null,__TR:function(e){this.__TN.addListener(s,this.__TS,this);this.__TK.addListener(j,this.__TT,this);this.__TJ.addListener(j,this.__TV,this);this.__TO.addListener(k,function(W){var X=new websynapse.order.SelectItemDialog();X.setCaller(this);X.setInParam({screen:this.classname});X.openAndCenter();},this);function V(e){var Y=e.getKeyIdentifier().toLowerCase();if(G==Y){this.__TV();};};this.addListener(F,V,this);},__TS:function(){var ba=this.__TN.getSelection();var bb=this.__TN.isSelectionEmpty()?x:ba[0].getUserData(i);this.__TO.setValue(x);this.__TO.setVisibility(bb!=x?q:f);this.__TP.setVisibility(f);},setItem:function(bc){this.__TO.setValue(bc);},__TT:function(){this.__TL.resetSelection();this.__TM.resetSelection();this.__TN.resetSelection();this.__TP.resetSelection();this.__TO.setValue(x);},__eg:function(){this.__TL.removeAll();this.__TL.loadList(websynapse.common.util.Statics.USER_FACILITIES,null,A,A);this.__TL.selectItem(websynapse.common.util.Statics.CURR_FACILITY);this.__TM.removeAll();this.__TM.loadList([]);var bd=[{key:c,value:this.tr(l)},{key:u,value:this.tr(B)},{key:n,value:this.tr(o)}];this.__TN.removeAll();this.__TN.loadList(bd);var be=new websynapse.common.util.Request(a,this.__TU,this);be.setMethod(C);be.setFormField(E,b);be.setFormField(m,websynapse.common.util.Statics.CURR_CUSTID.custid);be.send();this.removeListenerById(this.__TQ);},__TU:function(bf){if(h in bf){this.__TM.removeAll();this.__TM.loadList(bf.productgroups,null,N,N);};if(O in bf){this.__TP.removeAll();this.__TP.loadList(bf.items,null,d,Q);};},__TV:function(){var bj=this.__TL.getSelection();var bi=this.__TL.isSelectionEmpty()?x:bj[0].getUserData(i);bj=this.__TM.getSelection();var bk=this.__TM.isSelectionEmpty()?x:bj[0].getUserData(i);bj=this.__TN.getSelection();var bh=this.__TN.isSelectionEmpty()?x:bj[0].getUserData(i);var bg=this.__TO.getValue();var bm=bg;var bl={custid:websynapse.common.util.Statics.CURR_CUSTID.custid,facility:bi,productGroup:bk,itemExpression:bh,itemString:bg,itemSelected:bm};this.fireDataEvent(t,{"screen":websynapse.inventory.InventorySummary,"inparam":bl});}}});})();(function(){var a=" array contains ",b="__fV",c="qx.ui.core.MSingleSelectionHandling",d=" items!",f="changeSelection",g="changeSelected",h="Could only select one item, but the selection",i="qx.event.type.Data";qx.Mixin.define(c,{events:{"changeSelection":i},members:{__fV:null,getSelection:function(){var j=this.__os().getSelected();if(j){return [j];}else {return [];};},setSelection:function(k){switch(k.length){case 0:this.resetSelection();break;case 1:this.__os().setSelected(k[0]);break;default:throw new Error(h+a+k.length+d);};},resetSelection:function(){this.__os().resetSelected();},isSelected:function(l){return this.__os().isSelected(l);},isSelectionEmpty:function(){return this.__os().isSelectionEmpty();},getSelectables:function(m){return this.__os().getSelectables(m);},_onChangeSelected:function(e){var o=e.getData();var n=e.getOldData();o==null?o=[]:o=[o];n==null?n=[]:n=[n];this.fireDataEvent(f,o,n);},__os:function(){if(this.__fV==null){var p=this;this.__fV=new qx.ui.core.SingleSelectionManager({getItems:function(){return p._getItems();},isItemSelectable:function(q){if(p._isItemSelectable){return p._isItemSelectable(q);}else {return q.isVisible();};}});this.__fV.addListener(g,this._onChangeSelected,this);};this.__fV.setAllowEmptySelection(this._isAllowEmptySelection());return this.__fV;}},destruct:function(){this._disposeObjects(b);}});})();(function(){var a=", because it is not a child element!",b="__ou",c="__ot",d="Boolean",e="qx.ui.core.SingleSelectionManager",f="__ov",g="Could not check if ",h=" is selected,",j="Could not select ",k="changeSelected",l=" because it is not a child element!",m="qx.event.type.Data";qx.Class.define(e,{extend:qx.core.Object,construct:function(n){qx.core.Object.call(this);{};this.__ot=n;},events:{"changeSelected":m},properties:{allowEmptySelection:{check:d,init:true,apply:f}},members:{__ou:null,__ot:null,getSelected:function(){return this.__ou;},setSelected:function(o){if(!this.__ox(o)){throw new Error(j+o+a);};this.__ow(o);},resetSelected:function(){this.__ow(null);},isSelected:function(p){if(!this.__ox(p)){throw new Error(g+p+h+l);};return this.__ou===p;},isSelectionEmpty:function(){return this.__ou==null;},getSelectables:function(r){var q=this.__ot.getItems();var s=[];for(var i=0;i=0;i-- ){if(!s[i].getEnabled()){s.splice(i,1);};};};return s;},__ov:function(u,t){if(!u){this.__ow(this.__ou);};},__ow:function(v){var y=this.__ou;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.__ou=w;this.fireDataEvent(k,w,y);},__ox:function(z){var A=this.__ot.getItems();for(var i=0;i1){this.__oD=[];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.abs(B.length-I.length);};this.fireDataEvent(g,{start:F,end:E,type:M,added:B,removed:I},null);};for(var i=0;i=0;i-- ){this.__oD.unshift(arguments[i]);this.__oE();this.__oF(0,this.length);this.fireDataEvent(o,{value:[this.__oD[0]],name:m,old:[this.__oD[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.__oD;},getItem:function(R){return this.__oD[R];},setItem:function(S,U){var T=this.__oD[S];if(T===U){return;};this.__oD[S]=U;this._registerEventChaining(U,T,S);if(this.length!=this.__oD.length){this.__oE();};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.__oD.indexOf(V);},lastIndexOf:function(W){return this.__oD.lastIndexOf(W);},toString:function(){if(this.__oD!=null){return this.__oD.toString();};return f;},contains:function(X){return this.__oD.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;i]+?>/g,i);K=qx.bom.String.unescape(K);};return K;},_onBlur:function(e){this.close();},_onKeyPress:function(e){var L=e.getKeyIdentifier();var M=this.getChildControl(w);if(M.isHidden()&&(L==u||L==b)){e.stopPropagation();}else if(!M.isHidden()&&L==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 c="os.name",d="Abstract method call: _getLastSelectable()",f="Could not select more than one items in mode: ",g="Boolean",h="one",j="Abstract method call: _getLocation()",k="Left",m="Abstract method call: _scrollBy()",n="The method getSelectedItem() is only supported in 'single' and 'one' selection mode!",o="Abstract method call: _scrollItemIntoView()",p="Escape",q="Abstract method call: _isSelectable()",r="Space",s="Abstract method call: _getPage()",t="right",u="lead",v="Down",w="Abstract method call: _getFirstSelectable()",x="Up",y="qx.event.type.Data",z="under",A="A",B="_applyMode",C="PageDown",D="Can not select multiple items in selection mode: ",E="osx",F="mouse",G="interval",H="Abstract method call: _styleSelectable()",I="anchor",J="Abstract method call: _capture()",K="Abstract method call: _getDimension()",L="The method invertSelection() is only supported in 'multi' and 'additive' selection mode!",M="!",N="Abstract method call: _getScroll()",O="Abstract method call: _getRelatedSelectable()",P="End",Q="quick",R="selected",S="key",T="Abstract method call: _getSelectableLocationX()",U="__oI",V="multi",W="left",X="Abstract method call: _selectableToHashCode()",Y="Home",bt="Can not select all items in selection mode: ",bu="single",bv="Right",bp="Abstract method call: getSelectables()",bq="Abstract method call: _getSelectableLocationY()",br="additive",bs="abstract",bA="changeSelection",bB="above",bC="Abstract method call: _getSelectableRange()",bD="tap",bw="drag",bx="PageUp",by="qx.ui.core.selection.Abstract",bz="Abstract method call: _releaseCapture()";qx.Class.define(by,{type:bs,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__ga={};},events:{"changeSelection":y},properties:{mode:{check:[bu,V,br,h],init:bu,apply:B},drag:{check:g,init:false},quick:{check:g,init:false}},members:{__oG:0,__oH:0,__oI:null,__oJ:null,__oK:null,__oL:null,__oM:null,__oN:null,__oO:null,__oP:null,__oQ:null,__oR:null,__oS:null,__oT:null,__oU:null,__oV:null,__oW:null,__ga:null,__oX:null,__oY:null,_userInteraction:false,__pa:null,getSelectionContext:function(){return this.__oV;},selectAll:function(){var bE=this.getMode();if(bE==bu||bE==h){throw new Error(bt+bE);};this._selectAllItems();this._fireChange();},selectItem:function(bF){this._setSelectedItem(bF);var bG=this.getMode();if(bG!==bu&&bG!==h){this._setLeadItem(bF);this._setAnchorItem(bF);};this._scrollItemIntoView(bF);this._fireChange();},addItem:function(bH){var bI=this.getMode();if(bI===bu||bI===h){this._setSelectedItem(bH);}else {if(this._getAnchorItem()==null){this._setAnchorItem(bH);};this._setLeadItem(bH);this._addToSelection(bH);};this._scrollItemIntoView(bH);this._fireChange();},removeItem:function(bJ){this._removeFromSelection(bJ);if(this.getMode()===h&&this.isSelectionEmpty()){var bK=this._applyDefaultSelection();if(bK==bJ){return;};};if(this.getLeadItem()==bJ){this._setLeadItem(null);};if(this._getAnchorItem()==bJ){this._setAnchorItem(null);};this._fireChange();},selectItemRange:function(bL,bM){var bN=this.getMode();if(bN==bu||bN==h){throw new Error(D+bN);};this._selectItemRange(bL,bM);this._setAnchorItem(bL);this._setLeadItem(bM);this._scrollItemIntoView(bM);this._fireChange();},clearSelection:function(){if(this.getMode()==h){var bO=this._applyDefaultSelection(true);if(bO!=null){return;};};this._clearSelection();this._setLeadItem(null);this._setAnchorItem(null);this._fireChange();},replaceSelection:function(bP){var bQ=this.getMode();if(bQ==h||bQ===bu){if(bP.length>1){throw new Error(f+bQ+M);};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.__ga);},getSortedSelection:function(){var bU=this.getSelectables();var bT=qx.lang.Object.getValues(this.__ga);bT.sort(function(a,b){return bU.indexOf(a)-bU.indexOf(b);});return bT;},isItemSelected:function(bV){var bW=this._selectableToHashCode(bV);return this.__ga[bW]!==undefined;},isSelectionEmpty:function(){return qx.lang.Object.isEmpty(this.__ga);},invertSelection:function(){var bY=this.getMode();if(bY===bu||bY===h){throw new Error(L);};var bX=this.getSelectables();for(var i=0;ithis.__oN){this.__oS=1;}else if(cIthis.__oO){this.__oT=1;}else if(cJlocation.right){this.__oG=this.__oQ-location.right;}else {this.__oG=0;};if(this.__oRlocation.bottom){this.__oH=this.__oR-location.bottom;}else {this.__oH=0;};if(!this.__oI){this.__oI=new qx.event.Timer(100);this.__oI.addListener(G,this._onInterval,this);};this.__oI.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.__oP){return;};if(this.__oU){this._fireChange(bD);};delete this.__oP;delete this.__oK;delete this.__oL;this._releaseCapture();if(this.__oI){this.__oI.stop();};},_onInterval:function(e){this._scrollBy(this.__oG,this.__oH);this.__oJ=this._getScroll();this._autoSelect();},_autoSelect:function(){var cT=this._getDimension();var cM=Math.max(0,Math.min(this.__oQ-this.__oM.left,cT.width))+this.__oJ.left;var cL=Math.max(0,Math.min(this.__oR-this.__oM.top,cT.height))+this.__oJ.top;if(this.__oK===cM&&this.__oL===cL){return;};this.__oK=cM;this.__oL=cL;var cQ=this._getAnchorItem();var cO=cQ;var cR=this.__oS;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.__oT;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);},__pb:{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)==E&&event.isMetaPressed());var da=event.isShiftPressed();var db=false;if(df===A&&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.__pb[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 P: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 C:dc=this._getPage(dd,false);break;};}else {switch(df){case Y:case v:case bv:case C:dc=this._getFirstSelectable();break;case P: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.__pa=this._getScroll().top;this._scrollItemIntoView(dc);};};if(db){event.stop();this._fireChange(S);};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.__ga[dD]==null&&this._isSelectable(dC)){this.__ga[dD]=dC;this._styleSelectable(dC,R,true);this.__oU=true;};},_toggleInSelection:function(dE){var dF=this._selectableToHashCode(dE);if(this.__ga[dF]==null){this.__ga[dF]=dE;this._styleSelectable(dE,R,true);}else {delete this.__ga[dF];this._styleSelectable(dE,R,false);};this.__oU=true;},_removeFromSelection:function(dG){var dH=this._selectableToHashCode(dG);if(this.__ga[dH]!=null){delete this.__ga[dH];this._styleSelectable(dG,R,false);this.__oU=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.__ln.getOrientation()===a;var P=this.__ln.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="Boolean",b="one",c="pointerover",d="__fV",f="qx.event.type.Data",g=", because it is not a child element!",h="_applyDragSelection",j="Could not add + ",k=" from selection, because it is not a child element!",l="changeSelection",m="Could not test if ",n="Could not remove ",o="addItem",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.__fV=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(o,E.handleAddItem,E);this.addListener(A,E.handleRemoveItem,E);E.addListener(l,this._onSelectionChange,this);},events:{"changeSelection":f},properties:{selectionMode:{check:[r,p,w,b],init:r,apply:v},dragSelection:{check:a,init:false,apply:h},quickSelection:{check:a,init:false,apply:q}},members:{__fV:null,selectAll:function(){this.__fV.selectAll();},isSelected:function(G){if(!qx.ui.core.Widget.contains(this,G)){throw new Error(m+G+u);};return this.__fV.isItemSelected(G);},addToSelection:function(H){if(!qx.ui.core.Widget.contains(this,H)){throw new Error(j+H+D);};this.__fV.addItem(H);},removeFromSelection:function(I){if(!qx.ui.core.Widget.contains(this,I)){throw new Error(n+I+k);};this.__fV.removeItem(I);},selectRange:function(J,K){this.__fV.selectItemRange(J,K);},resetSelection:function(){this.__fV.clearSelection();},setSelection:function(L){for(var i=0;i1000){this.__pI=s;};this.__pI+=e.getChar();var K=this.findItemByLabelFuzzy(this.__pI);if(K){this.setSelection([K]);};this.__pJ=(new Date).valueOf();},findItemByLabelFuzzy:function(M){M=M.toLowerCase();var L=this.getChildren();for(var i=0,l=L.length;i0){O[0].removeListener(h,this.__pP,this);O[0].removeListener(g,this.__pQ,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.__pN=Q[0];}else {this.setSelection([Q[0]]);this.__pN=null;};Q[0].addListener(h,this.__pP,this);Q[0].addListener(g,this.__pQ,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(ba0){for(var a=0;a0);},_preOpenAction:function(){var bb=new websynapse.common.util.Request(y,this.__TY,this,this.__Ua,this);bb.setMethod(x);bb.setParameter(z,L);bb.setParameter(g,websynapse.common.util.Statics.CURR_CUSTID.custid);bb.setParameter(r,this.__TX);bb.send();},__TY:function(bc){this.__Tw(bc.custitems);this.__tF.refreshData(bc.custitems);},__Ua:function(){new websynapse.common.util.ExceptionMsg(this.tr(t),q);this.close();},__Tw:function(bd){for(var i=0;i0?L:co);},__Ux:function(cP){var cN=null;if(cP===websynapse.common.util.Statics.REPORT_TYPE_EXCEL){cN=ct;}else if(cP===websynapse.common.util.Statics.REPORT_TYPE_PDF){cN=cd;}else {new websynapse.common.util.ExceptionMsg(this.tr(V)+bU+cP,cz);};this.__Ur.loadAllData();var cO=new websynapse.common.util.Request(cN,this.__Uy,this,this.__Uz,this);cO.setTimeout(120000);cO.setFormField(K,cP);cO.setFormField(M,this.tr(cx));cO.setFormField(cj,qx.lang.Json.stringify(this.__Uh));cO.setFormField(J,qx.lang.Json.stringify(this.__tF.getTableModel().getDataAsMapArray()));cO.send();},__Uy:function(cQ){if(l in cQ){if(this.__Ul!=null&&this.indexOf(this.__Ul)>=0){this.remove(this.__Ul);};this.__Ul=new qx.ui.embed.Iframe(U+cQ.filename);this.add(this.__Ul);this.__Ul.set({width:0,height:0,decorator:null});};this.__Ur.resetPaging();},__Uz:function(){this.__Ur.resetPaging();new websynapse.common.util.ExceptionMsg(bT,cz);},__UA:function(e){var cT=this.__tF.getSelectionModel();var cU=cT.getSelectedRanges()[0];var cR=cU[Y];var cS=this.__tF.getTableModel().getRowDataAsMap(cR);this.fireDataEvent(bV,{"screen":websynapse.inventory.InventoryDetail,"inparam":cS});},__Tr:function(e){},__UB:function(){this.__Ur.firstPage();this.__Tf();},__UC:function(){this.__Ur.lastPage();this.__Tf();},__UD:function(){this.__Ur.nextPage();this.__Tf();},__UE:function(){this.__Ur.prevPage();this.__Tf();},__Tf:function(){this.__Ut.remove(this.__Us);var cX=this.__Ur.getPageSize();var cY=this.__Ur.getMaxRow();var cW=(this.__Ur.getHiRow()0)?this.__Ur.getLoRow():0;this.__Us=new qx.ui.basic.Label(cB+cV+cH+cW+G+this.__Ur.getMaxRow()).set({font:t});this.__Ut.add(this.__Us);this.__Us.setVisibility(L);this.__Uo.setVisibility((cWcX)?L:W);this.__Un.setVisibility((this.__Ur.getHiRow()>cX)?L:W);},__UF:function(){this.removeListenerById(this.__TQ);var db=this.getInParam();this.__Uh=[];this.__Uu=P;var da=new websynapse.common.util.Request(R,this.__UH,this,this.__UI,this,this.tr(ce));da.setTimeout(120000);da.setMethod(D);da.setFormField(s,c);da.setFormField(f,u);da.setFormField(cg,cK);da.setFormField(cJ,Q);da.setFormField(cf,db.custid);da.send();},__UG:function(dk){var dj=dk[cy];var dd=dk[j];var di=parseInt(dk[k]);var dh=parseInt(dk[ci]);var dc=dk[ca]==O?cz:dk[ca];var df=dk[cc];var de=cz;var dg=S;if(dj.substr(0,3)==F){dg=x;};if(di==0){de={column:dj,hidden:1};}else if(df==Q&&dg!=S){de={column:dj,header:dd,width:di,minWidth:di,maxWidth:di+15,disappearOrder:dh,hideTypes:dc,type:dg};}else if(df==Q){de={column:dj,header:dd,width:di,minWidth:di,maxWidth:di+15,disappearOrder:dh,hideTypes:dc};}else {de={column:dj,header:dd,width:di,minWidth:di,maxWidth:di+15,disappearOrder:dh,hideTypes:dc,hidden:1};};this.__Uh.push(de);},__UH:function(dl){if(cn in dl){for(var i=0;i=0){this.remove(this.__Ul);};this.__Ul=null;},this);},__TU:function(dO){var dN=this.__Ur.getPageSize();this.__Ut.remove(this.__Us);if(C in dO){this.__Ur.refreshData(dO.tabledata);};var dP=this.__Ur.getMaxRow();var dM=(this.__Ur.getHiRow()0)?this.__Ur.getLoRow():0;this.__Us=new qx.ui.basic.Label(cB+dL+cH+dM+G+this.__Ur.getMaxRow()).set({font:t});this.__Ut.add(this.__Us);this.__Us.setVisibility(L);this.__Uq.setVisibility((this.__Ur.getMaxRow()>dN)?L:W);this.__Up.setVisibility((this.__Ur.getHiRow()>dN)?L:W);this.__Uo.setVisibility((dM0;this.__Vh=0;},members:{__gt:null,__Vf:null,__Vg:null,__Vh:null,computeNextLine:function(k){var k=k||Infinity;if(!this.__Vg){throw new Error(a);};var p=this.__gt;var n=0;var f=0;var o=[];var j=[];for(var i=this.__Vh;ik){this.__Vh=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.__Vh=i+1;break;};};if(i>=p.length){this.__Vg=false;};return {height:n,width:f,children:o,gapsBefore:j};},__Vi:function(r){var s=r==this.__Vh;if(s){return this.__gt[r].getMarginLeft();}else {return Math.max(this.__gt[r-1].getMarginRight(),this.__gt[r].getMarginLeft(),this.__Vf);};},hasMoreLines:function(){return this.__Vg;}}});})();(function(){var a="regex cannot be null!",b="font-weight",c="==",d="Condition not recognized or value1/value2 is null!",e=";",f="",g=">",h="text-align",j="between",k="regex",l="<",m='g',n="Condition not recognized or value is null!",o=":",p="qx.ui.table.cellrenderer.Conditional",q="!between",r=">=",s="color",t="font-style",u="!=",v="<=";qx.Class.define(p,{extend:qx.ui.table.cellrenderer.Default,construct:function(y,w,x,z){qx.ui.table.cellrenderer.Default.call(this);this.numericAllowed=[c,u,g,l,r,v];this.betweenAllowed=[j,q];this.conditions=[];this.__uV=y||f;this.__uW=w||f;this.__uX=x||f;this.__uY=z||f;},members:{__uV:null,__uW:null,__uX:null,__uY:null,__va:function(B,A){if(B[1]!=null){A[h]=B[1];};if(B[2]!=null){A[s]=B[2];};if(B[3]!=null){A[t]=B[3];};if(B[4]!=null){A[b]=B[4];};},addNumericCondition:function(J,I,G,F,C,E,D){var H=null;if(qx.lang.Array.contains(this.numericAllowed,J)){if(I!=null){H=[J,G,F,C,E,I,D];};};if(H!=null){this.conditions.push(H);}else {throw new Error(n);};},addBetweenCondition:function(R,Q,S,O,N,K,M,L){if(qx.lang.Array.contains(this.betweenAllowed,R)){if(Q!=null&&S!=null){var P=[R,O,N,K,M,Q,S,L];};};if(P!=null){this.conditions.push(P);}else {throw new Error(d);};},addRegex:function(T,Y,X,U,W,V){if(T!=null){var ba=[k,Y,X,U,W,T,V];};if(ba!=null){this.conditions.push(ba);}else {throw new Error(a);};},_getCellStyle:function(bi){var bf=bi.table.getTableModel();var i;var be;var bb;var bd={"text-align":this.__uV,"color":this.__uW,"font-style":this.__uX,"font-weight":this.__uY};for(i in this.conditions){be=false;if(qx.lang.Array.contains(this.numericAllowed,this.conditions[i][0])){if(this.conditions[i][6]==null){bb=bi.value;}else {bb=bf.getValueById(this.conditions[i][6],bi.row);};switch(this.conditions[i][0]){case c:if(bb==this.conditions[i][5]){be=true;};break;case u:if(bb!=this.conditions[i][5]){be=true;};break;case g:if(bb>this.conditions[i][5]){be=true;};break;case l: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]==k){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.__va(this.conditions[i],bd);};};var bg=[];for(var bh in bd){if(bd[bh]){bg.push(bh,o,bd[bh],e);};};return bg.join(f);}},destruct:function(){this.numericAllowed=this.betweenAllowed=this.conditions=null;}});})();(function(){var a="qooxdoo-table-cell qooxdoo-table-cell-right",b="0",c="qx.util.format.NumberFormat",d="qx.ui.table.cellrenderer.Number",e="";qx.Class.define(d,{extend:qx.ui.table.cellrenderer.Conditional,properties:{numberFormat:{check:c,init:null,nullable:true}},members:{_getContentHtml:function(f){var g=this.getNumberFormat();if(g){if(f.value||f.value==0){return g.format(f.value);}else {return e;};}else {return f.value==0?b:(f.value||e);};},_getCellClass:function(h){return a;}}});})();(function(){var a="qx.ui.table.cellrenderer.String",b="qooxdoo-table-cell",c="";qx.Class.define(a,{extend:qx.ui.table.cellrenderer.Conditional,members:{_getContentHtml:function(d){return qx.bom.String.escape(d.value||c);},_getCellClass:function(e){return b;}}});})();(function(){var a="css.inlineblock",b="repeat",c="px",d="scale",e="_identifyImage is abstract",f="string",g="static",h="'",i="qx.ui.table.cellrenderer.AbstractImage",j="}",k=" text-align:center;",l="scale-x",m="repeat-y",n=".qooxdoo-table-cell-icon {",o="",p="
",q="top",r="abstract",s=" qooxdoo-table-cell-icon",t="no-repeat",u="repeat-x",v=" padding-top:1px;",w="title='",x="scale-y";qx.Class.define(i,{extend:qx.ui.table.cellrenderer.Abstract,type:r,construct:function(){qx.ui.table.cellrenderer.Abstract.call(this);var y=this.self(arguments);if(!y.stylesheet){y.stylesheet=qx.bom.Stylesheet.createElement(n+k+v+j);};},properties:{repeat:{check:function(A){var z=[d,l,x,b,u,m,t];return qx.lang.Array.contains(z,A);},init:t}},members:{__Vj:16,__Vk:16,__Vl:null,_insetY:2,_identifyImage:function(B){throw new Error(e);},_getImageInfos:function(C){var D=this._identifyImage(C);if(D==null||typeof D==f){D={url:D,tooltip:null};};if(!D.imageWidth||!D.imageHeight){var E=this.__Vm(D.url);D.imageWidth=E.width;D.imageHeight=E.height;};D.width=D.imageWidth;D.height=D.imageHeight;return D;},__Vm:function(H){var I=qx.util.ResourceManager.getInstance();var G=qx.io.ImageLoader;var F,J;if(I.has(H)){F=I.getImageWidth(H);J=I.getImageHeight(H);}else if(G.isLoaded(H)){F=G.getWidth(H);J=G.getHeight(H);}else {F=this.__Vj;J=this.__Vk;};return {width:F,height:J};},createDataCellHtml:function(K,L){this.__Vl=this._getImageInfos(K);return qx.ui.table.cellrenderer.Abstract.prototype.createDataCellHtml.call(this,K,L);},_getCellClass:function(M){return qx.ui.table.cellrenderer.Abstract.prototype._getCellClass.call(this)+s;},_getContentHtml:function(N){var content=p;if(this.__Vl.url){content=qx.bom.element.Decoration.create(this.__Vl.url,this.getRepeat(),{width:this.__Vl.width+c,height:this.__Vl.height+c,display:qx.core.Environment.get(a),verticalAlign:q,position:g});};return content;},_getCellAttributes:function(O){var P=this.__Vl.tooltip;if(P){return w+P+h;}else {return o;};}},destruct:function(){this.__Vl=null;}});})();(function(){var a="qx.dyntheme",b="_applyIconTrue",c="decoration/table/boolean-true.png",d="qx.ui.table.cellrenderer.Boolean",e=";padding-top:4px;",f="decoration/table/boolean-false.png",g="_applyIconFalse",h="changeTheme",i="String";qx.Class.define(d,{extend:qx.ui.table.cellrenderer.AbstractImage,construct:function(){qx.ui.table.cellrenderer.AbstractImage.call(this);this.__Vn=qx.util.AliasManager.getInstance();this.initIconTrue();this.initIconFalse();if(qx.core.Environment.get(a)){qx.theme.manager.Meta.getInstance().addListener(h,this._onChangeTheme,this);};},properties:{iconTrue:{check:i,init:c,apply:b},iconFalse:{check:i,init:f,apply:g}},members:{__Vo:null,__Vp:false,__Vn:null,_onChangeTheme:qx.core.Environment.select(a,{"true":function(){this._applyIconTrue(this.getIconTrue());this._applyIconFalse(this.getIconFalse());},"false":null}),_applyIconTrue:function(j){this.__Vo=this.__Vn.resolve(j);},_applyIconFalse:function(k){this.__Vp=this.__Vn.resolve(k);},_insetY:5,_getCellStyle:function(l){return qx.ui.table.cellrenderer.AbstractImage.prototype._getCellStyle.call(this,l)+e;},_identifyImage:function(m){var n={imageWidth:11,imageHeight:11};switch(m.value){case true:n.url=this.__Vo;break;case false:n.url=this.__Vp;break;default:n.url=null;break;};return n;}},destruct:function(){this.__Vn=null;if(qx.core.Environment.get(a)){qx.theme.manager.Meta.getInstance().removeListener(h,this._onChangeTheme,this);};}});})();(function(){var a="Inventory Class",b="inventory.php",c="Reference",d="item",f="tabledata",g="Quantity Ordered",h="spinner128.gif",i="commit_detail",j="Loading...",k="websynapse.inventory.CommitDetail",l="PO",m="Customer",n="Quantity Committed",o="shiptoname",p="center",q="Order ID",r="Item",s=":",t="lotnumber",u="invstatus",v="invclass",w="custid",x="Inventory Status",y="UOM",z="opcode",A="appear",B="facility",C="orderid",D="right",E="POST",F="po",G="qtycommit",H="bold",I="Ship To",J="Committed Inventory",K="uom",L="rounded-table",M="qtyorder",N="Lot",O="Facility",P="left",Q="reference";qx.Class.define(k,{extend:websynapse.common.ui.screens.AbstractScreen,construct:function(){websynapse.common.ui.screens.AbstractScreen.call(this,J);this._requiredData=[];var U=new qx.ui.container.Composite(new qx.ui.layout.Flow().set({alignX:P,spacingX:10})).set({margin:10});var bd=new qx.ui.container.Composite(new qx.ui.layout.HBox());bd.add(new qx.ui.basic.Label(this.tr(m)+s).set({font:H}));bd.add(this.__UV=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(bd);var V=new qx.ui.container.Composite(new qx.ui.layout.HBox());V.add(new qx.ui.basic.Label(this.tr(O)+s).set({font:H}));V.add(this.__UW=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(V);var bb=new qx.ui.container.Composite(new qx.ui.layout.HBox());bb.add(new qx.ui.basic.Label(this.tr(r)+s).set({font:H}));bb.add(this.__UX=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(bb);var Y=new qx.ui.container.Composite(new qx.ui.layout.HBox());Y.add(new qx.ui.basic.Label(this.tr(N)+s).set({font:H}));Y.add(this.__Vq=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(Y,{lineBreak:true});var W=new qx.ui.container.Composite(new qx.ui.layout.HBox());W.add(new qx.ui.basic.Label(this.tr(x)+s).set({font:H}));W.add(this.__Vr=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(W);var R=new qx.ui.container.Composite(new qx.ui.layout.HBox());R.add(new qx.ui.basic.Label(this.tr(a)+s).set({font:H}));R.add(this.__Vs=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(R);this.add(U,{flex:1});var bc=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:P})).set({margin:10});var ba=[{"column":C,"header":this.tr(q),"width":75,"minWidth":75,"maxWidth":75,"disappearOrder":-1},{"column":Q,"header":this.tr(c),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":F,"header":this.tr(l),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":o,"header":this.tr(I),"width":150,"minWidth":100,"maxWidth":200,"disappearOrder":-1},{"column":K,"header":this.tr(y),"width":75,"minWidth":75,"maxWidth":75,"disappearOrder":-1},{"column":M,"header":this.tr(g),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":G,"header":this.tr(n),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1}];this.__tF=new websynapse.common.ui.widgets.table.ResizableTable(ba).set({showCellFocusIndicator:false,columnVisibilityButtonVisible:false,headerCellHeight:32});this.__tF.setDecorator(L);this.__tF.setSpinnerImage(h);var S=new qx.util.format.NumberFormat().set({groupingUsed:true,maximumFractionDigits:0});var T=new qx.ui.table.cellrenderer.Number(D).set({numberFormat:S});this.__tF.getTableColumnModel().setDataCellRenderer(5,T);this.__tF.getTableColumnModel().setDataCellRenderer(6,T);var X=new qx.ui.table.cellrenderer.String(p);this.__tF.getTableColumnModel().setDataCellRenderer(0,X);this.__tF.getTableColumnModel().setDataCellRenderer(1,X);this.__tF.getTableColumnModel().setDataCellRenderer(4,X);bc.add(this.__tF,{flex:1});this.add(bc,{flex:1000});this.__TR();this.__TQ=this.addListener(A,this.__eg,this);},members:{__TQ:null,__tF:null,__ut:null,__UV:null,__UW:null,__UX:null,__Vr:null,__Vs:null,__TR:function(e){},__eg:function(){var bf=this.getInParam();this.__UV.setValue(bf.custid);this.__UW.setValue(bf.facility);this.__UX.setValue(bf.item);this.__Vq.setValue(bf.lotnumber);this.__Vr.setValue(bf.invstatusabbrev);this.__Vs.setValue(bf.inventoryclassabbrev);var be=new websynapse.common.util.Request(b,this.__TU,this,this.__UR,this,this.tr(j));be.setTimeout(120000);be.setMethod(E);be.setFormField(z,i);be.setFormField(w,bf.custid);be.setFormField(B,bf.facility);be.setFormField(d,bf.item);be.setFormField(t,bf.lotnumber);be.setFormField(v,bf.inventoryclass);be.setFormField(u,bf.invstatus);be.send();this.removeListenerById(this.__TQ);},__TU:function(bg){if(f in bg){this.__tF.refreshData(bg.tabledata);};},__UR:function(e){}}});})();(function(){var a="Inventory Class",b="inventory.php",c="Reference",d="picknotship_detail",f="item",g="Quantity Picked",h="tabledata",i="Quantity Ordered",j="spinner128.gif",k="Loading...",l="PO",m="Customer",n="center",o="shiptoname",p="Order ID",q="Item",r=":",s="lotnumber",t="websynapse.inventory.PickNotShipDetail",u="invstatus",v="invclass",w="custid",x="Inventory Status",y="UOM",z="appear",A="facility",B="qtypick",C="orderid",D="right",E="POST",F="po",G="opcode",H="bold",I="Ship To",J="rounded-table",K="Picked But Not Shipped",L="uom",M="qtyorder",N="Lot",O="Facility",P="left",Q="reference";qx.Class.define(t,{extend:websynapse.common.ui.screens.AbstractScreen,construct:function(){websynapse.common.ui.screens.AbstractScreen.call(this,this.tr(K));this._requiredData=[];var U=new qx.ui.container.Composite(new qx.ui.layout.Flow().set({alignX:P,spacingX:10})).set({margin:10});var bd=new qx.ui.container.Composite(new qx.ui.layout.HBox());bd.add(new qx.ui.basic.Label(this.tr(m)+r).set({font:H}));bd.add(this.__UV=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(bd);var V=new qx.ui.container.Composite(new qx.ui.layout.HBox());V.add(new qx.ui.basic.Label(this.tr(O)+r).set({font:H}));V.add(this.__UW=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(V);var bb=new qx.ui.container.Composite(new qx.ui.layout.HBox());bb.add(new qx.ui.basic.Label(this.tr(q)+r).set({font:H}));bb.add(this.__UX=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(bb);var Y=new qx.ui.container.Composite(new qx.ui.layout.HBox());Y.add(new qx.ui.basic.Label(this.tr(N)+r).set({font:H}));Y.add(this.__Vq=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(Y,{lineBreak:true});var W=new qx.ui.container.Composite(new qx.ui.layout.HBox());W.add(new qx.ui.basic.Label(this.tr(x)+r).set({font:H}));W.add(this.__Vr=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(W);var R=new qx.ui.container.Composite(new qx.ui.layout.HBox());R.add(new qx.ui.basic.Label(this.tr(a)+r).set({font:H}));R.add(this.__Vs=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(R);this.add(U,{flex:1});var bc=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:P})).set({margin:10});var ba=[{"column":C,"header":this.tr(p),"width":75,"minWidth":75,"maxWidth":75,"disappearOrder":-1},{"column":Q,"header":this.tr(c),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":F,"header":this.tr(l),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":o,"header":this.tr(I),"width":150,"minWidth":100,"maxWidth":200,"disappearOrder":-1},{"column":L,"header":this.tr(y),"width":75,"minWidth":75,"maxWidth":75,"disappearOrder":-1},{"column":M,"header":this.tr(i),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":B,"header":this.tr(g),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1}];this.__tF=new websynapse.common.ui.widgets.table.ResizableTable(ba).set({showCellFocusIndicator:false,columnVisibilityButtonVisible:false,headerCellHeight:32});this.__tF.setDecorator(J);this.__tF.setSpinnerImage(j);var S=new qx.util.format.NumberFormat().set({groupingUsed:true,maximumFractionDigits:0});var T=new qx.ui.table.cellrenderer.Number(D).set({numberFormat:S});this.__tF.getTableColumnModel().setDataCellRenderer(5,T);this.__tF.getTableColumnModel().setDataCellRenderer(6,T);var X=new qx.ui.table.cellrenderer.String(n);this.__tF.getTableColumnModel().setDataCellRenderer(0,X);this.__tF.getTableColumnModel().setDataCellRenderer(1,X);this.__tF.getTableColumnModel().setDataCellRenderer(4,X);bc.add(this.__tF,{flex:1});this.add(bc,{flex:1000});this.__TR();this.__TQ=this.addListener(z,this.__eg,this);},members:{__TQ:null,__tF:null,__ut:null,__UV:null,__UW:null,__UX:null,__Vr:null,__Vs:null,__TR:function(e){},__eg:function(){var bf=this.getInParam();this.__UV.setValue(bf.custid);this.__UW.setValue(bf.facility);this.__UX.setValue(bf.item);this.__Vq.setValue(bf.lotnumber);this.__Vr.setValue(bf.invstatusabbrev);this.__Vs.setValue(bf.inventoryclassabbrev);var be=new websynapse.common.util.Request(b,this.__TU,this,this.__UR,this,this.tr(k));be.setTimeout(120000);be.setMethod(E);be.setFormField(G,d);be.setFormField(w,bf.custid);be.setFormField(A,bf.facility);be.setFormField(f,bf.item);be.setFormField(s,bf.lotnumber);be.setFormField(v,bf.inventoryclass);be.setFormField(u,bf.invstatus);be.send();this.removeListenerById(this.__TQ);},__TU:function(bg){if(h in bg){this.__tF.refreshData(bg.tabledata);};},__UR:function(e){}}});})();(function(){var a="websynapse.common.util.Paging";qx.Class.define(a,{extend:qx.core.Object,construct:function(b,c){qx.core.Object.call(this);this.__Vt=parseInt(b);this.__Vu=parseInt(b);this.__tF=c;},members:{__Vv:1,__Vu:websynapse.common.util.Statics.PAGE_SIZE,__Vt:websynapse.common.util.Statics.PAGE_SIZE,__tF:null,__Vw:null,loadAllData:function(){if(this.__Vw){this.__tF.getSelectionModel().resetSelection();this.__tF._tableModel.setData(websynapse.common.util.Statics.mapToArrayOfArrays(this.__Vw,this.__tF.getColumnIds(),this.__tF.getColumnTypes()));};},resetPaging:function(){if(this.__Vw){this.__tF.getSelectionModel().resetSelection();this.__tF._tableModel.setData(websynapse.common.util.Statics.mapToArrayOfArraysPage(this.__Vw,this.__tF.getColumnIds(),this.__tF.getColumnTypes(),this.__Vv,this.__Vu));};},refreshData:function(d){this.__Vw=d;this.__tF.getSelectionModel().resetSelection();this.__tF._tableModel.setData(websynapse.common.util.Statics.mapToArrayOfArraysPage(this.__Vw,this.__tF.getColumnIds(),this.__tF.getColumnTypes(),this.__Vv,this.__Vu));},firstPage:function(){this.__Vv=1;this.__Vu=parseInt(this.__Vt);this.__tF.getSelectionModel().resetSelection();this.__tF._tableModel.setData(websynapse.common.util.Statics.mapToArrayOfArraysPage(this.__Vw,this.__tF.getColumnIds(),this.__tF.getColumnTypes(),this.__Vv,this.__Vu));},lastPage:function(){var x=this.getMaxRow()/this.getPageSize();this.__Vv=((~~x)*this.getPageSize())+1;this.__Vu=this.getMaxRow();this.__tF.getSelectionModel().resetSelection();this.__tF._tableModel.setData(websynapse.common.util.Statics.mapToArrayOfArraysPage(this.__Vw,this.__tF.getColumnIds(),this.__tF.getColumnTypes(),this.__Vv,this.__Vu));},nextPage:function(){this.__Vv+=parseInt(this.__Vt);this.__Vu+=parseInt(this.__Vt);this.__tF.getSelectionModel().resetSelection();this.__tF._tableModel.setData(websynapse.common.util.Statics.mapToArrayOfArraysPage(this.__Vw,this.__tF.getColumnIds(),this.__tF.getColumnTypes(),this.__Vv,this.__Vu));},prevPage:function(){this.__Vv-=parseInt(this.__Vt);this.__Vu=parseInt(this.__Vv)+parseInt(this.__Vt)-1;if(this.__Vv<1){this.__Vv=1;this.__Vu=parseInt(this.__Vt);};this.__tF.getSelectionModel().resetSelection();this.__tF._tableModel.setData(websynapse.common.util.Statics.mapToArrayOfArraysPage(this.__Vw,this.__tF.getColumnIds(),this.__tF.getColumnTypes(),this.__Vv,this.__Vu));},getMaxRow:function(){return this.__Vw.length;},getLoRow:function(){return parseInt(this.__Vv);},getHiRow:function(){return parseInt(this.__Vu);},getPageSize:function(){return parseInt(this.__Vt);}}});})();(function(){var a="Cancel",b="dialog-cancel.png",c="red",d="close",e="execute",f="websynapse.common.util.CallbackConfirmationDialog",g="Ok",h="bottom",i="Confirm",j="dialog-apply.png";qx.Class.define(f,{extend:websynapse.common.util.Dialog,construct:function(k,l){websynapse.common.util.Dialog.call(this);this.__bB=l;this.set({modal:true,showMaximize:false,showMinimize:false,width:250,maxWidth:250,caption:i});this.setLayout(new qx.ui.layout.VBox(10));this.add(new qx.ui.basic.Label(k).set({rich:true,width:200,textColor:c}));var m=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginTop:10});m.add(new qx.ui.container.Composite().set({alignY:h,maxHeight:10}),{flex:1});m.add(this.__Tn=new qx.ui.form.Button(g,websynapse.common.util.Statics.getResource(j)).set({paddingTop:0,paddingBottom:0}),{flex:0});m.add(new qx.ui.container.Composite().set({alignY:h,maxHeight:10}),{flex:1});m.add(this.__To=new qx.ui.form.Button(a,websynapse.common.util.Statics.getResource(b)),{flex:0});m.add(new qx.ui.container.Composite().set({alignY:h,maxHeight:10}),{flex:1});this.add(m);this.__TR();this.open();this.center();},members:{__Tn:null,__To:null,__bB:null,__TR:function(){this.__To.addListener(e,this.__Vx,this);this.addListener(d,this.__Vx,this);this.__Tn.addListener(e,this.__Vy,this);},__Vx:function(){this.destroy();},__Vy:function(){this.destroy();this.__bB();}}});})();(function(){var a="websynapse.reports.ReportList",b="Report List",c="Select Report",d="longtap",f="tabledata",g="excluded",h="spinner128.gif",i="bottom",j="execute",k="report_list",l="custid",m="Loading...",n="reports.php",o="center",p="visible",q="changeSelection",r="pushscreen",s="name",t="cellDbltap",u="",v="appear",w="minIndex",x="Report Title",y="POST",z="opcode",A="rounded-table",B="id";qx.Class.define(a,{extend:websynapse.common.ui.screens.AbstractScreen,construct:function(){websynapse.common.ui.screens.AbstractScreen.call(this,this.tr(b));var C=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginLeft:10,marginRight:10});;C.add(this.__uv=new qx.ui.form.Button(this.tr(c)).set({visibility:g,marginBottom:5,alignY:i,allowGrowY:false}));C.add(new qx.ui.container.Composite().set({alignY:i,maxHeight:10}),{flex:1});this.add(C);var D=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:o})).set({marginLeft:10,marginRight:10,marginBottom:10});this.__Uh=[{column:B,hidden:1},{column:s,header:this.tr(x),width:650,minWidth:650,maxWidth:850,disappearOrder:-1},];this.__tF=new websynapse.common.ui.widgets.table.ResizableTable(this.__Uh).set({showCellFocusIndicator:false,columnVisibilityButtonVisible:false,headerCellHeight:32});this.__tF.setDecorator(A);this.__tF.setSpinnerImage(h);D.add(this.__tF,{flex:1});this.add(D,{flex:1});this.add(this.__Ul=new qx.ui.embed.Iframe(u).set({width:0,height:0,decorator:null}));this.__TR();this.__TQ=this.addListener(v,this.__eg,this);},members:{__TQ:null,__tF:null,__Uh:null,__ut:null,__Ul:null,__uv:null,__TR:function(e){this.__tF.addListener(t,this.__UA,this);this.__tF.addListener(d,this.__UA,this);this.__uv.addListener(j,this.__UA,this);this.__tF.getSelectionModel().addListener(q,this.__Uw,this);},__Uw:function(){var E=this.__tF.getSelectionModel().getSelectedCount();this.__uv.setVisibility(E>0?p:g);},__UA:function(e){var H=this.__tF.getSelectionModel();var I=H.getSelectedRanges()[0];var F=I[w];var G=this.__tF.getTableModel().getRowDataAsMap(F);this.fireDataEvent(r,{"screen":websynapse.reports.ReportSetup,"inparam":G});},__eg:function(){var K=this.getInParam();var J=new websynapse.common.util.Request(n,this.__TU,this,this.__UR,this,this.tr(m));J.setTimeout(120000);J.setMethod(y);J.setFormField(z,k);J.setFormField(l,websynapse.common.util.Statics.CURR_CUSTID.custid);J.send();},__TU:function(L){if(f in L){this.__tF.getSelectionModel().resetSelection();this.__tF.refreshData(L.tabledata);};},__UR:function(e){}}});})();(function(){var a="Saving...",b="CUSTID",c="Database Request Failed",d="Word For Windows",f="Rich Text Format",g="CustomerID",h="varchar",j="range",k="report_parm_request",l="filename",m="reports.php",n=".pdf$",o="set_report_parms",p="Report Setup",q="FACIL",r="errmsg",s="XLSX",t="Excel Record",u="number",v="Crystal Report",w=".doc$",x="HTML40",y="get_report_parms",z="opcode",A="bold",B='load',C="Facility",D="Report Formats",E="PDF",F="Missing or Invalid Parameters:",G="Word",H="sans-serif",I="Check If True",J=".xlsx$",K="Error Updating Report Parms",L="execute",M="Crystal",N="Loading...",O="visible",P="parmdata",Q=":",R="middle",S="Report Has No Parameters",T=".xls$",U="Excel",V="Run Report",W="3px 3px 3px #C0C0C0",X="rptfmt",Y="websynapse.reports.ReportSetup",bV="CUST",bW="HTML 4.0",bX="Cust ID",bR="CUSTOMER",bS="Choose Format",bT="POST",bU="center",cd='_blank',ce="HTML32",cf="y-M-d",cg="custid",bY="required",ca="date",cb="right",cc='',ck="rptid",cD="
",cE="HTML 3.2",cl="left",ch="False",ci="updatedata",cG="rpturl",cj="RTF",cm="rptdest",cn="Crystal Reports Error: ",co="IN_FAC",cs=".htm$",cH="FACILITY",ct="excluded",cp="Getting Report Parameters...",cq="bottom",cF=".rpt$",cr="True",cy="resp",cz=".rtf$",cI="report_create_request",cA="Creating Report...",cu="",cv="appear",cw="Please Select a Report Type",cx="Verdana",cB="boolean",cC="Report: ";qx.Class.define(Y,{extend:websynapse.common.ui.screens.AbstractScreen,construct:function(){websynapse.common.ui.screens.AbstractScreen.call(this,this.tr(p));var cJ=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginLeft:10,marginRight:10});;cJ.add(this.__Vz=new qx.ui.form.Button(this.tr(V)).set({visibility:ct,marginBottom:5,alignY:cq,allowGrowY:false}));this.__Vz.setVisibility(O);cJ.add(new qx.ui.container.Composite().set({alignY:cq,maxHeight:10}),{flex:1});this.add(cJ);this.__VA=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:bU})).set({marginLeft:10,marginRight:10,marginBottom:10});this.__VA.add(this.__VB=new qx.ui.basic.Label(cu).set({font:A}));this.add(this.__VA,{flex:1});this.__VC=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:cl,alignY:cq}));this.__VC.add(this.__VD=new websynapse.common.ui.widgets.SelectBox(true,this.tr(bS)).set({marginLeft:5,alignY:cq}));this.__VE=new qx.ui.container.Composite(new qx.ui.layout.Grid(10,2)).set({marginLeft:10,marginRight:10,marginBottom:10});this.__VA.add(this.__VE,{flex:1});this.__TR();this.__TQ=this.addListener(cv,this.__eg,this);},members:{__TQ:null,__VA:null,__VE:null,__VB:null,__VF:null,__Vz:null,__VG:null,__VD:null,__VC:null,__VH:null,__TR:function(e){this.__Vz.addListener(L,this.__VI,this);},__VI:function(){var cK=0;var cN=cu;var cM=this.__VH;var cL=this.__VD.getSelectedValue();if(cL==cu){new websynapse.common.util.ExceptionMsg(this.tr(cw),cu);return;};for(var i=0;i1)cN+=cD;cN+=cM.parmdata[i].descr;continue;};if(cM.parmdata[i].type==h){cM.parmdata[i].val=e;}else if(cM.parmdata[i].type==ca||cM.parmdata[i].type==j){cM.parmdata[i].val=websynapse.reports.ReportUtility.formatDate(e);}else if(cM.parmdata[i].type==u){if(websynapse.reports.ReportUtility.isNumeric(e)){cM.parmdata[i].val=e;}else {cK++ ;if(cK>1)cN+=cD;cN+=cM.parmdata[i].descr;continue;};}else if(cM.parmdata[i].type==j){cM.parmdata[i].val=e;};};if(cM.parmdata.length>0){if(cK>0){new websynapse.common.util.ExceptionMsg(this.tr(F),cN);return;}else {this.__VM(cM);};}else {this.__VJ(cM);};},__VJ:function(cQ){var cO=this.__VD.getSelectedValue();if(cO==cu){new websynapse.common.util.ExceptionMsg(this.tr(cw),cu);return;};websynapse.common.util.Statics.REPORT_FORMAT=cO;var cR=this.getInParam();var cP=new websynapse.common.util.Request(m,this.__VK,this,this.__VL,this,this.tr(cA));cP.setTimeout(120000);cP.setMethod(bT);cP.setFormField(z,cI);cP.setFormField(cg,websynapse.common.util.Statics.CURR_CUSTID.custid);cP.setFormField(ck,websynapse.common.util.Statics.REPORT_PATH+cR.id);cP.setFormField(X,cO);cP.setFormField(cm,websynapse.common.util.Statics.REPORT_DEST);cP.setFormField(cG,websynapse.common.util.Statics.REPORT_URL);cP.send();},__VK:function(cU){if(r in cU){new websynapse.common.util.ExceptionMsg(cn+cU.errmsg,cu);return;};var cS=cu;if(l in cU){cS=cU.filename;};if(cS.match(n)||cS.match(T)||cS.match(J)||cS.match(w)||cS.match(cF)||cS.match(cs)||cS.match(cz)){}else {new websynapse.common.util.ExceptionMsg(cn+cU.filename,cu);return;};var cT=qx.bom.Window.open(cS,cd);qx.bom.Event.addNativeListener(cT,B,function(e){var cV=qx.dom.Node.getBodyElement(cT);var cW=qx.dom.Node.getDocumentElement(cT);if((cW&&qx.dom.Hierarchy.isEmpty(cW))||(cV&&qx.dom.Hierarchy.isEmpty(cV))){cT.close();};});},__VL:function(da,cX){var cY=JSON.parse(cX);this.__VK(cY);},__VM:function(dc){var dd=this.getInParam();var db=new websynapse.common.util.Request(m,this.__VN,this,this.__VO,this,this.tr(a));db.setTimeout(120000);db.setMethod(bT);db.setFormField(z,o);db.setFormField(cg,websynapse.common.util.Statics.CURR_CUSTID.custid);db.setFormField(ck,websynapse.common.util.Statics.REPORT_PATH+dd.id);db.setFormField(ci,qx.lang.Json.stringify(websynapse.reports.ReportUtility.formatSaveData(dc.parmdata)));db.send();},__VN:function(de){var de=this.__VH;this.__VJ(de);},__VO:function(){new websynapse.common.util.ExceptionMsg(this.tr(K),cu);},__TT:function(){this.__VD.removeAll();var dg=[{key:E,value:E},{key:s,value:U},{key:s,value:t},{key:G,value:d},{key:M,value:v},{key:ce,value:cE},{key:x,value:bW},{key:cj,value:f}];this.__VD.loadList(dg);this.__VD.selectItem(websynapse.common.util.Statics.REPORT_FORMAT);},__eg:function(){this.__TT();var di=this.getInParam();this.__VF=di.name;this.__VA.remove(this.__VB);this.__VA.add(this.__VB=new qx.ui.basic.Label(cC+this.__VF).set({font:new qx.bom.Font(14,[cx,H]).set({bold:true,textShadow:W})}));var dh=new websynapse.common.util.Request(m,this.__TU,this,this.__UR,this,this.tr(cp));dh.setTimeout(120000);dh.setMethod(bT);dh.setFormField(z,k);dh.setFormField(cg,websynapse.common.util.Statics.CURR_CUSTID.custid);dh.setFormField(ck,websynapse.common.util.Statics.REPORT_PATH+di.id);dh.send();},__TU:function(dj){if(cy in dj){this.__VP();};},__VP:function(){var dl=this.getInParam();var dk=new websynapse.common.util.Request(m,this.__VQ,this,this.__UR,this,this.tr(N));dk.setTimeout(120000);dk.setMethod(bT);dk.setFormField(z,y);dk.setFormField(cg,websynapse.common.util.Statics.CURR_CUSTID.custid);dk.setFormField(ck,websynapse.common.util.Statics.REPORT_PATH+dl.id);dk.send();},__VQ:function(dq){if(P in dq){this.__VH=dq;this.__VE.removeAll();this.__VG=[];var dm=new qx.ui.basic.Label(this.tr(D)+Q).set({font:A,alignY:cq});this.__VE.add(dm,{row:1,column:1});this.__VE.add(this.__VC,{row:1,column:2});var dp=new qx.util.format.DateFormat(cf);for(var i=0;i=0||dq.parmdata[i].descr.toUpperCase().indexOf(co)>=0||dq.parmdata[i].descr.toUpperCase().indexOf(q)>=0){this.__VG[i].setValue(websynapse.common.util.Statics.CURR_FACILITY);this.__VG[i].setReadOnly(true);}else if(dq.parmdata[i].descr==g||dq.parmdata[i].descr==bX||dq.parmdata[i].descr.toUpperCase().indexOf(b)>=0||dq.parmdata[i].descr.toUpperCase().indexOf(bR)>=0||dq.parmdata[i].descr.toUpperCase().indexOf(bV)>=0){this.__VG[i].setValue(websynapse.common.util.Statics.CURR_CUSTID.custid);this.__VG[i].setReadOnly(true);};}else if(dq.parmdata[i].type==ca||dq.parmdata[i].type==j){this.__VE.add(this.__VG[i]=new qx.ui.form.DateField().set({width:200}),{row:i+2,column:2});this.__VG[i].setDateFormat(dp);}else if(dq.parmdata[i].type==u){this.__VE.add(this.__VG[i]=new qx.ui.form.TextField().set({maxLength:20,width:200}),{row:i+2,column:2});this.__VG[i].setFilter(/[0-9]/);}else if(dq.parmdata[i].type==j){this.__VE.add(this.__VG[i]=new qx.ui.form.TextField().set({maxLength:20,width:200}),{row:i+2,column:2});}else if(dq.parmdata[i].type==cB){this.__VE.add(this.__VG[i]=new qx.ui.form.CheckBox(this.tr(I)).set({marginLeft:5}),{row:i+2,column:2});};};if(dq.parmdata.length==0){var dr=new qx.ui.basic.Label(S);dr.set({alignX:cb,font:A,alignY:R});this.__VE.add(dr,{row:2,column:1});};};},__UR:function(e){new websynapse.common.util.ExceptionMsg(c,cu);}}});})();(function(){var a="-",b="name",c="0",d="",e="websynapse.reports.ReportUtility",f="Required Field",g="message",h="|",j="tab",k="form",l="field",m="key",n="Invalid Number Format",o='&',p="static";qx.Class.define(e,{type:p,statics:{REQUIRED_FIELD:f,INVALID_NUMBER_FORMAT:n,addValidationItem:function(s,q,r,name){s.add(q);q.setUserData(j,r);q.setUserData(b,name);},invalidFormData:function(u){var v=[];var t=u.getInvalidFormItems();for(var i=0;i0){U.push(T[i].num+h+T[i].type+h+T[i].val);};};return U;}}});})();(function(){var a="Validation Errors",b="rounded-table",c="websynapse.reports.ReportValidationDialog",d="left",e="Field",f="message",g="Tab",h="form",i="Message",j="field";qx.Class.define(c,{extend:websynapse.common.ui.screens.AbstractDialogScreen,construct:function(parent){websynapse.common.ui.screens.AbstractDialogScreen.call(this,this.tr(a),new qx.ui.layout.VBox(),null);this.set({maxHeight:250});this.__Tl=parent;var l=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:d})).set({margin:5});var k=[{"column":h,"header":this.tr(g),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":j,"header":this.tr(e),"width":150,"minWidth":150,"maxWidth":150,"disappearOrder":-1},{"column":f,"header":this.tr(i),"width":150,"minWidth":150,"maxWidth":200,"disappearOrder":-1}];this.__tF=new websynapse.common.ui.widgets.table.ResizableTable(k).set({showCellFocusIndicator:false,columnVisibilityButtonVisible:false});this.__tF.setDecorator(b);l.add(this.__tF,{flex:1});this.add(l,{flex:1});this.__Tq();},members:{__Tn:null,__To:null,__Tl:null,__Tp:null,__tF:null,__Tq:function(){},_preOpenAction:function(){var m=this.getInParam();this.__tF.refreshData(m.data);}}});})();(function(){var a="no",b="px",c="qx.bom.Window",d="Cross-Domain Scripting problem: Could not resize window!",e="' is not supported for native windows.",f="interval",g="dialogWidth",h="resizable",i=":",j="yes",k="dialogTop",l="qxNativeWindow",m="Cross-Domain Scripting problem: Could not move window!",n="",o="Option '",p="javascript:/",q="dialogLeft",r="dialogHeight",s="' is not supported for modal windows.",t='load',u="scrollbars",v="=",w=";",x="scroll",y=",";qx.Class.define(c,{statics:{__qH:null,__VR:null,__cY:null,__VS:{"top":k,left:q,width:g,height:r,scrollbars:x,resizable:h},__VT:{"top":1,left:1,width:1,height:1,dependent:1,resizable:1,status:1,location:1,menubar:1,scrollbars:1,toolbar:1},__VU:function(){return window.showModalDialog!=null;},open:function(z,name,H,E,A,D,self){var C=null;if(z==null){z=p;};if(name==null){name=l+new Date().getTime();};if(A==null){A=true;};var G=this.__VV(H,E&&A);if(E){if(this.__VU()&&A){C=window.showModalDialog(z,[window.self],G);}else {this.getBlocker().block();if(this.__cY==null){this.__cY=new qx.event.Timer(500);this.__cY.addListener(f,this.__VW,this);};this.__VR=window.open(z,name,G);this.__cY.restart();C=this.__VR;};}else {C=window.open(z,name,G);};if(C&&D&&(D instanceof Function)){var F=self||C;var B=qx.lang.Function.bind(D,F);qx.bom.Event.addNativeListener(C,t,function(){B();qx.bom.Event.removeNativeListener(C,t,arguments.callee);});};return C;},__VV:function(K,O){var M;var J;var N=[];if(O&&this.__VU()){for(var L in K){if(qx.bom.Window.__VS[L]){var I=n;if(L!=u&&L!=h){I=b;};J=qx.bom.Window.__VS[L]+i+K[L]+I;N.push(J);}else {qx.log.Logger.warn(o+L+s);};};M=N.join(w);}else {for(var L in K){if(qx.bom.Window.__VT[L]){if(qx.lang.Type.isBoolean(K[L])){J=L+v+(K[L]?j:a);}else {J=L+v+K[L];};N.push(J);}else {qx.log.Logger.warn(o+L+e);};};M=N.join(y);};return M;},__VW:function(){if(this.isClosed(this.__VR)){this.getBlocker().unblock();this.__cY.stop();};},getBlocker:function(){if(this.__qH==null){this.__qH=new qx.bom.Blocker;};return this.__qH;},close:function(P){if(P){return P.close();};},isClosed:function(Q){var closed=true;if(Q){try{closed=Q.closed;}catch(R){};};return closed;},moveTo:function(S,top,T){if(!qx.bom.Window.isClosed(S)){try{S.moveTo(T,top);}catch(U){qx.log.Logger.error(m,U);};};},resizeTo:function(V,W,X){if(!qx.bom.Window.isClosed(V)){try{V.resizeTo(W,X);}catch(Y){qx.log.Logger.error(d,Y);};};}}});})();(function(){var a="resize",b="mshtml",c="backgroundColor",d="block",f="transparent",g="px",h="zIndex",i="src",j="engine.name",k="0px",l="allowTransparency",m="div",n="javascript:false;",o="qx.bom.Blocker",p="absolute";qx.Class.define(o,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__eg();},members:{__VX:null,__UU:null,__VY:null,__Wa:false,__Wb:10000,__Wc:0,__Wd:f,block:function(r){if(!this.__Wa){this.__VY=r;var q=this.__Wg();this.__Wh(q);this.__Wa=true;};},unblock:function(){if(this.__Wa){this.__Wi();this.__Wa=false;};},isBlocked:function(){return this.__Wa;},getBlockerElement:function(){return this.__UU;},setBlockerColor:function(s){qx.bom.element.Style.set(this.__UU,c,s);},getBlockerColor:function(){return qx.bom.element.Style.get(this.__UU,c);},setBlockerOpacity:function(t){qx.bom.element.Opacity.set(this.__UU,t);},getBlockerOpacity:function(){return qx.bom.element.Opacity.get(this.__UU);},setBlockerZIndex:function(u){qx.bom.element.Style.set(this.__UU,h,u);},getBlockerZIndex:function(){return qx.bom.element.Style.get(this.__UU,h);},__eg:function(){this.__We();if((qx.core.Environment.get(j)==b)){this.__Wf();};qx.event.Registration.addListener(window,a,this.__Wj,this);},__We:function(){this.__UU=qx.dom.Element.create(m);qx.bom.element.Style.setStyles(this.__UU,{display:d,opacity:this.__Wc,backgroundColor:this.__Wd});this.setBlockerZIndex(this.__Wb);},__Wf:function(){this.__VX=qx.bom.Iframe.create();qx.bom.element.Attribute.set(this.__VX,l,false);qx.bom.element.Attribute.set(this.__VX,i,n);qx.bom.element.Style.setStyles(this.__VX,{display:d,opacity:this.__Wc});},__Wg:function(){var v={position:p};if(this.__Wl()){v.left=k;v.top=k;v.right=null;v.bottom=null;v.width=qx.bom.Document.getWidth()+g;v.height=qx.bom.Document.getHeight()+g;}else {v.width=qx.bom.element.Dimension.getWidth(this.__VY)+g;v.height=qx.bom.element.Dimension.getHeight(this.__VY)+g;v.left=qx.bom.element.Location.getLeft(this.__VY)+g;v.top=qx.bom.element.Location.getTop(this.__VY)+g;};return v;},__Wh:function(w){var x=document.body;qx.bom.element.Style.setStyles(this.__UU,w);qx.dom.Element.insertEnd(this.__UU,x);if((qx.core.Environment.get(j)==b)){w.zIndex=this.getBlockerZIndex()-1;qx.bom.element.Style.setStyles(this.__VX,w);qx.dom.Element.insertEnd(this.__VX,document.body);};},__Wi:function(){qx.dom.Element.remove(this.__UU);if((qx.core.Environment.get(j)==b)){qx.dom.Element.remove(this.__VX);};},__Wj:function(e){if(this.__Wl()){this.__Wk({width:k,height:k});qx.event.Timer.once(function(){var y={width:qx.bom.Document.getWidth()+g,height:qx.bom.Document.getHeight()+g};this.__Wk(y);},this,0);};},__Wk:function(z){qx.bom.element.Style.setStyles(this.__UU,z);if((qx.core.Environment.get(j)==b)){qx.bom.element.Style.setStyles(this.__VX,z);};},__Wl:function(){return (this.__VY==null||qx.dom.Node.isWindow(this.__VY)||qx.dom.Node.isDocument(this.__VY));}},destruct:function(){qx.event.Registration.removeListener(window,a,this.__Wj,this);this.__VX=this.__UU=this.__VY=null;}});})();(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:{__ux:null,__uy:null,getDefaultDateFormatter:function(){var K=qx.locale.Date.getDateFormat(y).toString();if(K==this.__ux){return this.__uy;};if(this.__uy){this.__uy.dispose();};this.__uy=new qx.util.format.DateFormat(K,qx.locale.Manager.getInstance().getLocale());this.__ux=K;return this.__uy;}},members:{__uz:null,_forwardStates:{focused:true,invalid:true},_setDefaultDateFormat:function(){this.setDateFormat(qx.ui.form.DateField.getDefaultDateFormatter());},_addLocaleChangeListener:function(){if(qx.core.Environment.get(x)){this.__uz=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.__uz){qx.locale.Manager.getInstance().removeListenerById(this.__uz);};};}});})();(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:{__uA:null,__uB:null,__uC: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.__uA=[];for(var i=0;i<7;i++ ){bI=this.getChildControl(F+i);bG.add(bI,{column:i+1,row:0});this.__uA.push(bI);};this.__uB=[];this.__uC=[];for(var y=0;y<6;y++ ){var bI=this.getChildControl(R+(y+1));bG.add(bI,{column:0,row:y+1});this.__uC.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.__uB.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.__uB[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.__uA[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.__uC[cr].setValue(cz.format(cv));for(var i=0;i<7;i++ ){var cA=this.__uB[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.__uA=this.__uB=this.__uC=null;}});})();(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="__Nj",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.__Nj=[];this.addListener(o,this.__pO,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:{__Nj:null,getItems:function(){return this.__Nj;},add:function(u){var v=this.__Nj;var t;for(var i=0,l=arguments.length;i0&&!this.getSelection()[0]){this.setSelection([v[0]]);};},remove:function(w){var x=this.__Nj;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.__Nj;},_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);},__Wm:function(){var bj=this.__tF.getSelectionModel();var bk=bj.getSelectedRanges()[0];var bg=bk[I];var bh=this.__tF.getTableModel().getRowDataAsMap(bg);var bi=new websynapse.common.util.Request(E,this.__Wn,this,this.__Wo,this);bi.setMethod(o);bi.setParameter(P,K);bi.setParameter(m,websynapse.common.util.Statics.CURR_CUSTID.custid);bi.setParameter(G,bh.key);bi.setParameter(A,bh.value);bi.send();},__Wn:function(bl){var s=websynapse.common.util.Statics;s.CURR_FACILITY=bl.current_facility.facility;s.CURR_FACNAME=bl.current_facility.name;var bm=this.getInParam();if(bm.screen==F||bm.screen==k||bm.screen==r||bm.screen==C||bm.screen==y){s.MAIN_WINDOW.changeScreen(websynapse.inventory.InventorySearch,bm);}else if(bm.screen==q||bm.screen==z||bm.screen==M||bm.screen==a){s.MAIN_WINDOW.homeScreen();}else if(bm.screen==b||bm.screen==c){s.MAIN_WINDOW.changeScreen(websynapse.reports.ReportList,bm);}else {s.MAIN_WINDOW.homeScreen();};this.close();},__Wo:function(){new websynapse.common.util.ExceptionMsg(this.tr(l),B);this.close();},__Tv:function(e){var bn=e.getKeyIdentifier().toLowerCase();if(N==bn&&this.__matchingPasswords()){this.__resetPassword();};},_preOpenAction:function(){this.__Tw(websynapse.common.util.Statics.CUST_USER_FACILITIES);this.__tF.refreshData(websynapse.common.util.Statics.CUST_USER_FACILITIES);},__Tw:function(bo){for(var i=0;i1?G:k);websynapse.common.util.Statics.recordActivity(this);},homeScreen:function(bw){if(bw===undefined){bw=false;};websynapse.common.util.Statics.recordActivity(this);if(!bw&&this.__qM[0].classname!=b){if(this.__qM[0].validateGoToHome()){return;};};var bx=this.__Sr.getChildren();for(var i=0;i0){this.__Xd.setVisibility(z);}else {this.__Xd.setVisibility(j);};},__Xj:function(){var bY=this.__Xe.getSelection();var bX=this.__Xe.isSelectionEmpty()?f:bY[0].getUserData(m);if(bX==f||bX==s||bX==I){this.__Xf.setVisibility(j);this.__Xg.setVisibility(j);return;};this.__Xf.setVisibility(z);this.__Xg.setVisibility(z);},__Xk:function(){this.__TT();this.__Xe.resetSelection();},__TT:function(){this.__WX.removeAll();this.__WX.loadList(websynapse.common.util.Statics.COMBO_LISTS.ordertype,o);var ca=[{key:bE,value:L+this.tr(b)},{key:F,value:a+this.tr(b)},{key:bx,value:d+this.tr(b)},{key:q,value:h+this.tr(b)},{key:U,value:bI+this.tr(b)}];this.__Xa.removeAll();this.__Xa.loadList(ca);this.__WY.resetSelectByAll();this.__Xc.setValue(I);this.__Xd.setVisibility(j);this.__Xf.setVisibility(j);this.__Xg.setVisibility(j);},__eg:function(){this.__TT();var cb=this.getInParam();if(cb.type==websynapse.common.util.Statics.ORDER_SEARCH_MODIFY){this._title.setValue(this.tr(t));};this.removeListenerById(this.__TQ);this.__Xl();},__Xl:function(){var cc=new websynapse.common.util.Request(D,this.__TU,this,this.__UR,this,this.tr(c));cc.setTimeout(120000);cc.setMethod(X);cc.setFormField(bA,P);cc.setFormField(C,o);cc.send();},__TU:function(cd){if(by in cd){this.__Xh=cd.queries;this.__Xe.removeAll();this.__Xe.loadList(this.__Xh,null,bH,bH);};},__UR:function(){this.__Xh=[{key:f,value:f}];this.__Xe.removeAll();this.__Xe.loadList(this.__Xh);},_requiredDataCompleted:function(){this.__TT();},__Xm:function(){var cf=this.__Xe.getSelection();var cg=this.__Xe.isSelectionEmpty()?f:cf[0].getUserData(m);if(cg==f||cg==s||cg==I)return;var ce=qx.lang.Function.bind(function(){this.__Xn(cg);},this);new websynapse.common.util.CallbackConfirmationDialog(this.tr(N),ce);},__Xn:function(ch){var ci=new websynapse.common.util.Request(D,this.__Xo,this,this.__Xp,this,this.tr(K));ci.setTimeout(120000);ci.setMethod(X);ci.setFormField(bA,W);ci.setFormField(M,websynapse.common.util.Statics.CURR_CUSTID.custid);ci.setFormField(C,o);ci.setFormField(n,ch);ci.send();},__Xo:function(cj){this.__TT();this.__Xl();},__Xp:function(){},__Xq:function(){var cl=this.__Xe.getSelection();var ck=this.__Xe.isSelectionEmpty()?f:cl[0].getUserData(m);if(ck==f||ck==s||ck==I)return;var cm=new websynapse.common.util.Request(D,this.__Xr,this,this.__Xs,this,this.tr(bC));cm.setTimeout(120000);cm.setMethod(X);cm.setFormField(bA,S);cm.setFormField(M,websynapse.common.util.Statics.CURR_CUSTID.custid);cm.setFormField(C,o);cm.setFormField(n,ck);cm.send();},__Xr:function(cn){if(bz in cn){this.__TT();for(var i=0;i0);},__XQ:function(){var bb=this.__tF.getSelectionModel();var bc=bb.getSelectedRanges()[0];var Y=bc[z];var ba=this.__tF.getTableModel().getRowDataAsMap(Y);this.__bB(ba.carrier,qx.lang.Json.parse(ba.deliveryServiceStringify));this.close();},_preOpenAction:function(){if(w in websynapse.common.util.Statics.COMBO_LISTS){this.__XT();}else {var bd=new websynapse.common.util.Request(I,this.__XR,this,this.__XS,this);bd.setMethod(C);bd.setParameter(E,h);bd.send();};},__XR:function(be){if(w in be){websynapse.common.util.Statics.COMBO_LISTS.carriers=be.carriers;};this.__XT();},__XS:function(){var bf=qx.lang.Function.bind(function(){this.close();},this);new websynapse.common.util.CallbackDialog(this.tr(b),bf);},__XT:function(){this.__Tw(websynapse.common.util.Statics.COMBO_LISTS.carriers);if(this.__XO==K){this.__tF.refreshDataFilter(websynapse.common.util.Statics.COMBO_LISTS.carriers,d,K);}else {this.__tF.refreshData(websynapse.common.util.Statics.COMBO_LISTS.carriers);};},__Tw:function(bh){for(var i=0;i0){var fh=this.__tF.getSelectionModel();var ff=fh.getSelectedRanges()[0];var fm=ff[dw];var fj=this.__tF.getTableModel().getRowDataAsMap(fm);fk=fj[dA];fe=fj[K];this.__Ya=fj[eL];};var fi=(fk==eb||fk==eW||fk==dR)?true:false;this.__XU.setVisibility(fg&&fd>0?df:eu);this.__XV.setVisibility(fg&&fi&&fd>0?df:eu);this.__XY.setVisibility(this.__Ya!=ew?df:eu);this.__XX.setVisibility(fl&&fk==dy&&fe!=X?df:dp);},__Yb:function(){this.__tF.resetSelection();var fn=this.__tF.getTableModel();fn.resetHiddenRows();if(this.__XW.getValue()){fn.addNotRegex(dT,dd,true);fn.applyFilters();};},__Yc:function(){var fq=this.__tF.getSelectionModel();var fs=fq.getSelectedRanges()[0];var fo=fs[dw];var fp=this.__tF.getTableModel().getRowDataAsMap(fo);var fr=new websynapse.order.SelectAttachmentDialog();fr.setCaller(this);fr.setOrder(fp[er].split(b)[0]);fr.setInParam({screen:this.classname});fr.openAndCenter();},setAttachment:function(a){this.__Ya=a;var ft=new websynapse.common.util.Request(q,this.__Yd,this,this.__Ye,this,this.tr(m));ft.setTimeout(120000);ft.setMethod(dn);ft.setFormField(F,em);ft.setFormField(eR,this.__Ya);ft.setFormField(ec,websynapse.common.util.Statics.REPORT_DEST);ft.setFormField(dW,websynapse.common.util.Statics.REPORT_URL);ft.send();},__Yd:function(fw){var fu=ew;if(p in fw){fu=fw.filename;};if(fu.match(t)||fu.match(db)||fu.match(C)||fu.match(E)||fu.match(el)||fu.match(eo)||fu.match(eK)||fu.match(ey)||fu.match(R)||fu.match(dc)||fu.match(O)){}else {new websynapse.common.util.ExceptionMsg(k+fw.filename,ew);return;};var fv=qx.bom.Window.open(fu,dJ);qx.bom.Event.addNativeListener(fv,ef,function(e){var fx=qx.dom.Node.getBodyElement(fv);var fy=qx.dom.Node.getDocumentElement(fv);if((fy&&qx.dom.Hierarchy.isEmpty(fy))||(fx&&qx.dom.Hierarchy.isEmpty(fx))){fv.close();};});},__Ye:function(fB,fz){var fA=JSON.parse(fz);this.__Yd(fA);},__UA:function(){if(this.__mK==websynapse.common.util.Statics.ORDER_SEARCH_MODIFY){this.__Yf();}else {this.__Yg();};},__Yf:function(){var fE=this.__tF.getSelectionModel();var fG=fE.getSelectedRanges()[0];var fC=fG[dw];var fD=this.__tF.getTableModel().getRowDataAsMap(fC);websynapse.common.util.Statics.DONE_ORDER_ID=ew;var fF=fD.orderstatus==dy&&fD.websynapse_order_status!=X;if(fF&&fD.ordertype==dD){this.fireDataEvent(dF,{"screen":websynapse.order.OrderModifyOutbound,"inparam":fD});}else if(fF&&fD.ordertype==x){this.fireDataEvent(dF,{"screen":websynapse.order.OrderModifyInbound,"inparam":fD});};},__UB:function(){this.__Ur.firstPage();this.__Tf();},__UC:function(){this.__Ur.lastPage();this.__Tf();},__UD:function(){this.__Ur.nextPage();this.__Tf();},__UE:function(){this.__Ur.prevPage();this.__Tf();},__Tf:function(){this.__Ut.remove(this.__Us);var fJ=this.__Ur.getPageSize();var fK=this.__Ur.getMaxRow();var fI=(this.__Ur.getHiRow()0)?this.__Ur.getLoRow():0;this.__Us=new qx.ui.basic.Label(eD+fH+eA+fI+T+this.__Ur.getMaxRow()).set({font:G});this.__Ut.add(this.__Us);this.__Us.setVisibility(df);this.__Uo.setVisibility((fIfJ)?df:dp);this.__Un.setVisibility((this.__Ur.getHiRow()>fJ)?df:dp);},__Yg:function(){var fN=this.__tF.getSelectionModel();var fP=fN.getSelectedRanges()[0];var fL=fP[dw];var fM=this.__tF.getTableModel().getRowDataAsMap(fL);var fO=this.getInParam();fM[W]=fO.orderType;this.fireDataEvent(dF,{"screen":websynapse.order.OrderItems,"inparam":fM});},__Yh:function(){var fS=this.__tF.getSelectionModel();var fT=fS.getSelectedRanges()[0];var fQ=fT[dw];var fR=this.__tF.getTableModel().getRowDataAsMap(fQ);this.fireDataEvent(dF,{"screen":websynapse.order.OrderShipDetails,"inparam":fR});},__Ux:function(fW){var fU=null;if(fW===websynapse.common.util.Statics.REPORT_TYPE_EXCEL){fU=en;}else if(fW===websynapse.common.util.Statics.REPORT_TYPE_PDF){fU=eg;}else {new websynapse.common.util.ExceptionMsg(this.tr(fb)+dK+fW,ew);};this.__Ur.loadAllData();var fV=new websynapse.common.util.Request(fU,this.__Uy,this,this.__Uz,this,this.tr(ed));fV.setTimeout(120000);fV.setFormField(de,fW);fV.setFormField(da,this.tr(w));fV.setFormField(eq,qx.lang.Json.stringify(this.__Yi()));fV.setFormField(Y,qx.lang.Json.stringify(this.__tF.getTableModel().getDataAsMapArray()));fV.send();},__Yi:function(){var ga=[];var gb=this.__tF.getTableModel();var fY=this.__tF.getTableColumnModel();for(var i=0;i=0){this.remove(this.__Ul);};this.__Ul=new qx.ui.embed.Iframe(dU+gc.filename);this.add(this.__Ul);this.__Ul.set({width:0,height:0,decorator:null});};this.__Ur.resetPaging();},__Uz:function(){this.__Ur.resetPaging();new websynapse.common.util.ExceptionMsg(dI,ew);},__eg:function(){this.__Ur=new websynapse.common.util.Paging(websynapse.common.util.Statics.PAGE_SIZE,this.__tF);var ge=this.getInParam();this.__mK=ge.type;if(this.__mK==websynapse.common.util.Statics.ORDER_SEARCH_MODIFY){this.__Ue.setVisibility(eu);this.__Uf.setVisibility(eu);this.__XW.setVisibility(df);this.__XW.setValue(true);this._title.setValue(this.tr(eO));};var gd=new websynapse.common.util.Request(di,this.__TU,this,this.__UR,this,this.tr(dG));gd.setTimeout(120000);gd.setMethod(dn);gd.setFormField(F,dO);gd.setFormField(eX,ge.custid);gd.setFormField(dv,ge.orderType);gd.setFormField(ej,ge.orderAge);gd.setFormField(du,qx.lang.Json.stringify(ge.qualifiers));gd.setFormField(eI,ge.hdrpassthru);gd.send();if(this.__mK==websynapse.common.util.Statics.ORDER_SEARCH_INQUIRY){this.__TQ=this.addListener(eE,function(){if(this.__Ul==null){return;};if(this.indexOf(this.__Ul)>=0){this.remove(this.__Ul);};this.__Ul=null;},this);};},__TU:function(gk){var gi=this.__Ur.getPageSize();this.__Ut.remove(this.__Us);if(dY in gk){this.__ut=gk.tabledata;this.__Tw(gk.tabledata);this.__Ur.refreshData(gk.tabledata);var gg=this.getInParam();this.__Yj(gg.orderType);if(this.__mK==websynapse.common.util.Statics.ORDER_SEARCH_MODIFY){this.__Yb();};var gf=this.__Ur.getMaxRow();var gh=(this.__Ur.getHiRow()0)?this.__Ur.getLoRow():0;this.__Us=new qx.ui.basic.Label(eD+gj+eA+gh+T+this.__Ur.getMaxRow()).set({font:G});this.__Ut.add(this.__Us);this.__Us.setVisibility(df);this.__Uo.setVisibility((ghgi)?df:dp);this.__Up.setVisibility((this.__Ur.getHiRow()>gi)?df:dp);this.__tF.getTableColumnModel().addListener(d,this.__Uv,this);this.__tF.getTableColumnModel().addListener(dm,this.__Uv,this);this.__tF.getTableColumnModel().addListener(ek,this.__Uv,this);};},__Tw:function(gn){for(var i=0;i0);},_preOpenAction:function(){var U=new websynapse.common.util.Request(o,this.__Yk,this,this.__Yl,this);U.setMethod(y);U.setParameter(A,p);U.setParameter(x,this.__vo);U.send();},__Yk:function(V){this.__Tw(V.attachments);this.__tF.refreshData(V.attachments);},__Yl:function(){new websynapse.common.util.ExceptionMsg(this.tr(a),r);this.close();},__Tw:function(W){for(var i=0;iS.length){throw new Error(n+S.length);};if(N==null){N=S.length;};var P=Q.getButton();var O=this.getChildControl(m);var R=this.getChildControl(A);Q.exclude();O.addAt(P,N);R.addAt(Q,N);this.__PJ.add(P);Q.addState(this.__Ym[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(m);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.__PJ.remove(V);W.removeState(this.__Ym[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);},__Ym:null,_applyBarPosition:function(be,bg){var bb=this.getChildControl(m);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();if(bg){var bd=this.__Ym[bg];bb.removeState(bd);bh.removeState(bd);for(var i=0,l=bf.length;iN){this.getContentElement().setStyle(G,k);}else {this.getContentElement().setStyle(G,F);};};var P=Math.max(Q,this.__uO);this._setAreaHeight(P);}else {this.getContentElement().addListenerOnce(u,function(){this.__uP();},this);};};},_getAreaHeight:function(){return this.getInnerSize().height;},_setAreaHeight:function(R){if(this._getAreaHeight()!==R){this.__uN=R;qx.ui.core.queue.Layout.add(this);qx.ui.core.queue.Manager.flush();this.__uT();};},_getScrolledAreaHeight:function(){var T=this.__uQ();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.__uS(T);if(qx.core.Environment.get(A)==z&&qx.core.Environment.get(q)==8){if(!S.scrollTop){qx.html.Element.flush();};};return S.scrollTop;};},__uQ:function(){this.__uM=this.__uM||this.__uR();return this.__uM;},__uR: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.__uS(V);return V;},__uS: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.__uP();},_applyMinimalLineHeight:function(){qx.ui.core.queue.Layout.add(this);},_applyAutoSize:function(be,bd){{};if(be){this.__uP();this.addListener(a,this.__uP,this);if(!this.getBounds()){this.addListenerOnce(u,function(){this.getContentElement().setStyle(G,F);});}else {this.getContentElement().setStyle(G,F);};}else {this.removeListener(a,this.__uP);this.getContentElement().setStyle(G,k);};},_applyDimension:function(bf){qx.ui.form.AbstractField.prototype._applyDimension.call(this);{};if(bf===this.getMaxHeight()){this.__uP();};},__uT: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);},__uU: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.__uN||bi.height;};return bi;}},destruct:function(){this.setAutoSize(false);if(this.__uM){this.__uM.dispose();};}});})();(function(){var a="name",b="'",c="Unknown Carrier",d="websynapse.order.OrderUtility",e="",f="Required Field",g="message",h="|",j="tab",k="0",l="form",m="field",n="key",o="Invalid Number Format",p='&',q="static",r="'";qx.Class.define(d,{type:q,statics:{REQUIRED_FIELD:f,INVALID_NUMBER_FORMAT:o,addValidationItem:function(u,s,t,name){u.add(s);s.setUserData(j,t);s.setUserData(a,name);},invalidFormData:function(w){var x=[];var v=w.getInvalidFormItems();for(var i=0;i0;if(cs){p.fldShipTo.loadList(websynapse.common.util.Statics.CUST_SHIPTO);}else {p.fldShipToOneTime.setValue(true);};p.fldShipToState.loadList(websynapse.common.util.Statics.COMBO_LISTS.state);p.fldShipToCountry.loadList(websynapse.common.util.Statics.COMBO_LISTS.country);p.fldShipmentType.loadList(websynapse.common.util.Statics.COMBO_LISTS.shipmenttype);p._registerWidget(p.fldShipTo,bM,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToOneTime,a,s.WIDGET_TYPE_TRANSIENT);p._registerWidget(p.fldShipmentType,bQ,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldCarrier,D,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldDeliveryService,M,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldSaturdayOk,x,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldArrivalDate,F,s.WIDGET_TYPE_DATE);p._registerWidget(p.fldShipDate,Y,s.WIDGET_TYPE_DATE);p._registerWidget(p.fldShipToCompanyName,z,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToContactName,ce,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToStreet1,c,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToStreet2,X,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToCity,bW,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToState,H,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToPostalCode,f,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToCountry,A,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToPhone,cf,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToFax,T,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToEmail,C,s.WIDGET_TYPE_VARCHAR);},__YH:function(e){var p=this._parent;p.fldShipDate.addListener(cd,function(){this.__YK();},this);p.fldArrivalDate.addListener(cd,function(){this.__YJ();},this);},__YI:function(e){var p=this._parent;this.__YF.setVisibility(e.getData()?v:m);var ct=websynapse.common.util.Statics.CUST_SHIPTO!=null&&websynapse.common.util.Statics.CUST_SHIPTO.length>0;p.fldBillToUseShipTo.setEnabled(e.getData());p.fldShipTo.setEnabled(!e.getData()&&ct);if(!ct&&!p.fldShipToOneTime.getValue()){p.fldShipToOneTime.setValue(true);};if(!p.fldShipToOneTime.getValue()){p.fldBillToUseShipTo.setValue(false);}else {p.fldShipTo.resetSelection();};this.__YD.validate();},__YJ:function(){var p=this._parent;var cv=p.fldArrivalDate.getValue();var cu=p.fldShipDate.getValue();if(cu!=null)return;if(cv==null||cv.length==0)return;var cx=websynapse.order.OrderUtility.formatDate(cv,S);var cw=new websynapse.common.util.Request(L,this.__YL,this,this.__YM,this,this.tr(bY));cw.setTimeout(120000);cw.setMethod(bH);cw.setFormField(bO,r);cw.setFormField(y,websynapse.common.util.Statics.CURR_FACILITY);cw.setFormField(bM,p.fldShipTo.getUserData(bV));cw.setFormField(F,cx);cw.send();},__YK:function(){var p=this._parent;var cz=p.fldArrivalDate.getValue();var cy=p.fldShipDate.getValue();if(cz!=null)return;if(cy==null||cy.length==0)return;var cB=websynapse.order.OrderUtility.formatDate(cy,S);var cA=new websynapse.common.util.Request(L,this.__YL,this,this.__YM,this,this.tr(bP));cA.setTimeout(120000);cA.setMethod(bH);cA.setFormField(bO,j);cA.setFormField(y,websynapse.common.util.Statics.CURR_FACILITY);cA.setFormField(bM,p.fldShipTo.getUserData(bV));cA.setFormField(Y,cB);cA.send();},__YL:function(cD){var p=this._parent;if(Y in cD){var cC=new Date(cD.shipdate);p.fldShipDate.setValue(cC);}else if(F in cD){var cC=new Date(cD.arrivaldate);p.fldArrivalDate.setValue(cC);};},__YM:function(){new websynapse.common.util.ExceptionMsg(this.tr(B),S);},__YN:function(){var p=this._parent;var cE=p.fldCarrier.getValue();var cF=this.__YO(websynapse.common.util.Statics.COMBO_LISTS.carriers,cE);p.fldDeliveryService.removeAll();if(cF!=null)p.fldDeliveryService.loadList(cF);p.fldDeliveryService.setEnabled(cE!=null&&cE!=S&&cF!=null&&cF.length>0);},__YO:function(cI,cG){this.__YG=U;for(var i=0;i0);p.fldCarrier.setUserData(bV,cL);p._enableSaveButtons();this.__YC();},__YC:function(){if(!this.validate()||!this._parent.validationManager.isValid()){this._parent.validationManager.validate();};},validate:function(){var cN=true;var p=this._parent;var cO=websynapse.order.OrderUtility;cN=cO.checkRequiredSelectionField(p.fldShipTo,cN,p.fldShipToOneTime.getValue());cN=cO.checkRequiredTextField(p.fldCarrier,cN);cN=cO.checkRequiredCarrierField(p.fldCarrier,cN);cN=cO.checkRequiredTextField(p.fldArrivalDate,cN);cN=cO.checkRequiredTextField(p.fldShipDate,cN);cN=cO.checkRequiredSelectionField(p.fldShipmentType,cN);cN=cO.checkRequiredTextField(p.fldShipToCompanyName,cN,!p.fldShipToOneTime.getValue());cN=cO.checkRequiredTextField(p.fldShipToStreet1,cN,!p.fldShipToOneTime.getValue());cN=cO.checkRequiredTextField(p.fldShipToCity,cN,!p.fldShipToOneTime.getValue());cN=cO.checkRequiredSelectionField(p.fldShipToState,cN,!p.fldShipToOneTime.getValue());cN=cO.checkRequiredTextField(p.fldShipToPostalCode,cN,!p.fldShipToOneTime.getValue());if(this.__YG==Q){cN=cO.checkRequiredSelectionField(p.fldDeliveryService,cN);};return cN;}}});})();(function(){var a="Shipment Terms",b="Use Ship To One Time",c="Bill To Postal Code",d="PPD",f="Phone",g="excluded",h="billtoshipto",i="Email",j="Company Name",k="input",l="Bill To Company Name",m="billtocontact",n="Bill To City",o="billtoemail",q="Bill To",r="billtoonetime",t="Street 2",u="billtostate",v="visible",w=":",x="changeSelection",y="middle",z="billtocity",A="billtoaddr2",B="Street",C="One Time",D="Bill To State",E="City",F="billtoaddr1",G="billtopostalcode",H="billtoname",I="Bill To Country",J="Fax",K="right",L="billtofax",M="screenready",N="Contact Name",O="consignee",P="Bill To Street",Q="websynapse.order.OutboundBillTo",R="bold",S="3RD",T="State",U="Country",V="Postal Code:",W="billtocountrycode",X="shipterms",Y="left",bc="changeValue",bd="billtophone";qx.Class.define(Q,{extend:websynapse.common.ui.screens.AbstractTabScreen,construct:function(bi,parent){websynapse.common.ui.screens.AbstractTabScreen.call(this,new qx.ui.layout.VBox(),bi,parent);this.setDecorator(null);var be=new qx.ui.container.Scroll();var bh=new qx.ui.container.Composite(new qx.ui.layout.Grid(5,5));var p=this._parent;this.__YD=p.validationManager;var bj=websynapse.order.OrderUtility;bh.add(new qx.ui.basic.Label(this.tr(a)+w).set({alignX:K,font:R,alignY:y}),{row:1,column:1});bh.add(p.fldShipmentTerms=new websynapse.common.ui.widgets.SelectBox(true).set({width:200,minWidth:200,maxWidth:200}),{row:1,column:2});bh.add(new qx.ui.container.Composite().set({maxHeight:30,height:30,width:10,minWidth:10,maxWidth:10}),{row:1,column:3});bj.addValidationItem(p.validationManager,p.fldShipmentTerms,this._tab,this.tr(a));bh.add(new qx.ui.basic.Label(this.tr(q)+w).set({alignX:K,font:R,alignY:y}),{row:2,column:1});var bg=new qx.ui.container.Composite(new qx.ui.layout.HBox());bg.add(p.fldBillTo=new websynapse.common.ui.widgets.SelectBox(true));bj.addValidationItem(p.validationManager,p.fldBillTo,this._tab,this.tr(q));bg.add(p.fldBillToOneTime=new qx.ui.form.CheckBox(this.tr(C)).set({marginLeft:5}));bg.add(p.fldBillToUseShipTo=new qx.ui.form.CheckBox(this.tr(b)).set({marginLeft:5,enabled:false}));bh.add(bg,{row:2,column:2,colSpan:4});this.__YQ=new qx.ui.container.Composite(new qx.ui.layout.Grid(5,5));this.__YQ.add(new qx.ui.basic.Label(this.tr(j)+w).set({alignX:K,font:R,alignY:y}),{row:1,column:1});this.__YQ.add(p.fldBillToCompanyName=new websynapse.common.ui.widgets.UpperTextField().set({width:325,minWidth:325,maxWidth:325,alignX:Y,allowGrowX:false,maxLength:40}),{row:1,column:2});bj.addValidationItem(p.validationManager,p.fldBillToCompanyName,this._tab,this.tr(l));this.__YQ.add(new qx.ui.basic.Label(this.tr(N)+w).set({alignX:K,font:R,alignY:y}),{row:2,column:1});this.__YQ.add(p.fldBillToContactName=new websynapse.common.ui.widgets.UpperTextField().set({width:325,minWidth:325,maxWidth:325,alignX:Y,allowGrowX:false,maxLength:40}),{row:2,column:2});this.__YQ.add(new qx.ui.basic.Label(this.tr(B)+w).set({alignX:K,font:R,alignY:y}),{row:3,column:1});this.__YQ.add(p.fldBillToStreet1=new websynapse.common.ui.widgets.UpperTextField().set({width:325,minWidth:325,maxWidth:325,alignX:Y,allowGrowX:false,maxLength:40}),{row:3,column:2});bj.addValidationItem(p.validationManager,p.fldBillToStreet1,this._tab,this.tr(P));this.__YQ.add(new qx.ui.basic.Label(this.tr(t)+w).set({alignX:K,font:R,alignY:y}),{row:4,column:1});this.__YQ.add(p.fldBillToStreet2=new websynapse.common.ui.widgets.UpperTextField().set({width:325,minWidth:325,maxWidth:325,alignX:Y,allowGrowX:false,maxLength:40}),{row:4,column:2});this.__YQ.add(new qx.ui.basic.Label(this.tr(E)+w).set({alignX:K,font:R,alignY:y}),{row:5,column:1});this.__YQ.add(p.fldBillToCity=new websynapse.common.ui.widgets.UpperTextField().set({width:240,minWidth:240,maxWidth:240,alignX:Y,allowGrowX:false,maxLength:30}),{row:5,column:2});bj.addValidationItem(p.validationManager,p.fldBillToCity,this._tab,this.tr(n));this.__YQ.add(new qx.ui.basic.Label(this.tr(T)+w).set({alignX:K,font:R,alignY:y}),{row:6,column:1});var bf=new qx.ui.container.Composite(new qx.ui.layout.HBox());bf.add(p.fldBillToState=new websynapse.common.ui.widgets.SelectBox(true).set({width:120,minWidth:120,maxWidth:120}));bj.addValidationItem(p.validationManager,p.fldBillToState,this._tab,this.tr(D));bf.add(new qx.ui.basic.Label(V).set({alignX:K,font:R,alignY:y,marginLeft:20}));bf.add(p.fldBillToPostalCode=new websynapse.common.ui.widgets.UpperTextField().set({width:100,minWidth:100,maxWidth:100,alignX:Y,allowGrowX:false,maxLength:12,marginLeft:5}));bj.addValidationItem(p.validationManager,p.fldBillToPostalCode,this._tab,this.tr(c));this.__YQ.add(bf,{row:6,column:2});this.__YQ.add(new qx.ui.basic.Label(this.tr(U)+w).set({alignX:K,font:R,alignY:y}),{row:7,column:1});this.__YQ.add(p.fldBillToCountry=new websynapse.common.ui.widgets.SelectBox(true).set({width:300,minWidth:300,maxWidth:300}),{row:7,column:2});bj.addValidationItem(p.validationManager,p.fldBillToCountry,this._tab,this.tr(I));this.__YQ.add(new qx.ui.basic.Label(this.tr(f)+w).set({alignX:K,font:R,alignY:y}),{row:8,column:1});this.__YQ.add(p.fldBillToPhone=new qx.ui.form.TextField().set({width:240,minWidth:240,maxWidth:240,alignX:Y,allowGrowX:false,maxLength:25}),{row:8,column:2});this.__YQ.add(new qx.ui.basic.Label(this.tr(J)+w).set({alignX:K,font:R,alignY:y}),{row:9,column:1});this.__YQ.add(p.fldBillToFax=new qx.ui.form.TextField().set({width:240,minWidth:240,maxWidth:240,alignX:Y,allowGrowX:false,maxLength:25}),{row:9,column:2});this.__YQ.add(new qx.ui.basic.Label(this.tr(i)+w).set({alignX:K,font:R,alignY:y}),{row:10,column:1});this.__YQ.add(p.fldBillToEmail=new qx.ui.form.TextField().set({width:325,minWidth:325,maxWidth:325,alignX:Y,allowGrowX:false,maxLength:255}),{row:10,column:2});this.__YQ.add(new qx.ui.container.Composite().set({maxHeight:10}),{row:11,column:1});bh.add(this.__YQ,{row:3,column:1,colSpan:5});this.__YQ.setVisibility(g);be.add(bh);this.add(be,{flex:1});this.__Ws();this.addListener(M,this.__eg,this);},members:{__YB:null,__TQ:null,__YF:null,__YD:null,__Ws:function(e){var p=this._parent;p.fldShipmentTerms.addListener(x,this.__YR,this);p.fldBillTo.addListener(x,this.__YC,this);p.fldBillToOneTime.addListener(bc,this.__YS,this);p.fldBillToUseShipTo.addListener(bc,this.__YT,this);p.fldBillToCompanyName.addListener(k,this.__YC,this);p.fldBillToStreet1.addListener(k,this.__YC,this);p.fldBillToCity.addListener(k,this.__YC,this);p.fldBillToState.addListener(x,this.__YC,this);p.fldBillToPostalCode.addListener(k,this.__YC,this);p.fldBillToCountry.addListener(x,this.__YC,this);},__eg:function(e){var p=this._parent;var s=websynapse.common.util.Statics;var bk=websynapse.common.util.Statics.CUST_BILLTO!=null&&websynapse.common.util.Statics.CUST_BILLTO.length>0;if(bk){p.fldBillTo.loadList(websynapse.common.util.Statics.CUST_BILLTO);}else {};p.fldShipmentTerms.loadList(websynapse.common.util.Statics.COMBO_LISTS.shipmentterms);p.fldBillToState.loadList(websynapse.common.util.Statics.COMBO_LISTS.state);p.fldBillToCountry.loadList(websynapse.common.util.Statics.COMBO_LISTS.country);p._registerWidget(p.fldShipmentTerms,X,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillTo,O,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToOneTime,r,s.WIDGET_TYPE_TRANSIENT);p._registerWidget(p.fldBillToUseShipTo,h,s.WIDGET_TYPE_TRANSIENT);p._registerWidget(p.fldBillToCompanyName,H,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToContactName,m,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToStreet1,F,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToStreet2,A,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToCity,z,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToState,u,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToPostalCode,G,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToCountry,W,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToPhone,bd,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToFax,L,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToEmail,o,s.WIDGET_TYPE_VARCHAR);p.fldShipmentTerms.selectItem(d);},__YR:function(){var p=this._parent;if(p.fldShipmentTerms.getSelectedValue()==S){p.fldBillToOneTime.setValue(true);}else {p.fldBillToOneTime.setValue(false);};this.__YC();},__YS:function(e){var p=this._parent;this.__YQ.setVisibility(e.getData()?v:g);if(e.getData()){p.fldBillToUseShipTo.setValue(false);p.fldBillTo.resetSelection();};var bl=websynapse.common.util.Statics.CUST_BILLTO!=null&&websynapse.common.util.Statics.CUST_BILLTO.length>0;p.fldBillTo.setEnabled(!e.getData()&&bl&&!p.fldBillToUseShipTo.getValue());if(p.fldShipmentTerms.getSelectedValue()==S){p.fldBillToOneTime.setValue(true);};this.__YC();},__YT:function(e){var p=this._parent;if(e.getData()){this._parent.fldBillToOneTime.setValue(false);p.fldBillTo.resetSelection();};var bm=websynapse.common.util.Statics.CUST_BILLTO!=null&&websynapse.common.util.Statics.CUST_BILLTO.length>0;p.fldBillTo.setEnabled(!e.getData()&&bm&&!p.fldBillToOneTime.getValue());if(p.fldBillToOneTime.getValue()==S){p.fldBillToOneTime.setValue(true);};this.__YC();},__YC:function(){if(!this.validate()||!this._parent.validationManager.isValid()){this.__YD.validate();};},validate:function(){var bn=true;var p=this._parent;var bo=websynapse.order.OrderUtility;bn=bo.checkRequiredTextField(p.fldBillToCompanyName,bn,!p.fldBillToOneTime.getValue());bn=bo.checkRequiredTextField(p.fldBillToStreet1,bn,!p.fldBillToOneTime.getValue());bn=bo.checkRequiredTextField(p.fldBillToCity,bn,!p.fldBillToOneTime.getValue());bn=bo.checkRequiredSelectionField(p.fldBillToState,bn,!p.fldBillToOneTime.getValue());bn=bo.checkRequiredTextField(p.fldBillToPostalCode,bn,!p.fldBillToOneTime.getValue());bn=bo.checkRequiredSelectionField(p.fldShipmentTerms,bn);return bn;}}});})();(function(){var a="message",b="HDR",c="hdrpassthrunum",d="hdrpassthrudate",f="button",g="PassThru Num",h="0",j="websynapse.order.HeaderPassThruEntry",k="PassThru Doll",l="input",m=":",n="middle",o=": ",q="hdrpassthruchar",r="name",t="",u="hdrpassthrudoll",v="textfield",w="PassThru Date",x="Invalid Number Format",y="screenready",z="bold",A="tab",B=" ",C="PassThru Char",D="MM/dd/yyyy";qx.Class.define(j,{extend:websynapse.common.ui.screens.AbstractTabScreen,construct:function(J,parent){websynapse.common.ui.screens.AbstractTabScreen.call(this,new qx.ui.layout.VBox(),J,parent);this.setDecorator(null);var F=new qx.ui.container.Scroll();var I=new qx.ui.container.Composite(new qx.ui.layout.Flow(20,10));var p=this._parent;var K=websynapse.order.OrderUtility;p.fldCharPassThrus={};for(var i=1;i0){var ch=this.__tF.getSelectionModel();var ci=ch.getSelectedRanges()[0];var ck=ci[j];var cj=this.__tF.getTableModel().getRowDataAsMap(ck);var status=cj[O];};this.__bae.setVisibility(cg>0&&status==g&&this.__baj!=D?N:o);this.__baf.setVisibility(cg>0&&status==bS&&this.__baj!=D?N:o);this.__bag.setVisibility(cg>0&&status==bS&&this.__baj!=D?N:o);},__bal:function(){var co=this.getInParam();var cl=this.__tF.getSelectionModel().getSelectedCount();var cp=Q;var cs=Q;if(cl>0){var cr=this.__tF.getSelectionModel();var cm=cr.getSelectedRanges()[0];var ct=cm[j];var cq=this.__tF.getTableModel().getRowDataAsMap(ct);cp=cq[l];cs=cq[f];};var cn=new websynapse.common.util.Request(bC,this.__bar,this,this.__bat,this,A);cn.setTimeout(120000);cn.setMethod(bH);cn.setFormField(bE,bD);cn.setFormField(z,websynapse.common.util.Statics.CURR_CUSTID.custid);cn.setFormField(V,websynapse.common.util.Statics.CURR_FACILITY);cn.setFormField(Y,co.ordershipid.split(a)[0]);cn.setFormField(t,co.ordershipid.split(a)[1]);cn.setFormField(l,cp);cn.setFormField(f,cs);cn.send();this.removeListenerById(this.__TQ);},__bam:function(){var cx=this.getInParam();var cu=this.__tF.getSelectionModel().getSelectedCount();var cy=Q;var cB=Q;if(cu>0){var cA=this.__tF.getSelectionModel();var cv=cA.getSelectedRanges()[0];var cC=cv[j];var cz=this.__tF.getTableModel().getRowDataAsMap(cC);cy=cz[l];cB=cz[f];};var cw=new websynapse.common.util.Request(bC,this.__bar,this,this.__bat,this,A);cw.setTimeout(120000);cw.setMethod(bH);cw.setFormField(bE,w);cw.setFormField(z,websynapse.common.util.Statics.CURR_CUSTID.custid);cw.setFormField(V,websynapse.common.util.Statics.CURR_FACILITY);cw.setFormField(Y,cx.ordershipid.split(a)[0]);cw.setFormField(t,cx.ordershipid.split(a)[1]);cw.setFormField(l,cy);cw.setFormField(f,cB);cw.send();this.removeListenerById(this.__TQ);},__ban:function(){var cG=this.getInParam();var cD=this.__tF.getSelectionModel().getSelectedCount();var cH=Q;var cK=Q;if(cD>0){var cJ=this.__tF.getSelectionModel();var cE=cJ.getSelectedRanges()[0];var cL=cE[j];var cI=this.__tF.getTableModel().getRowDataAsMap(cL);cH=cI[l];cK=cI[f];};var cF=new websynapse.common.util.Request(bC,this.__bar,this,this.__bat,this,A);cF.setTimeout(120000);cF.setMethod(bH);cF.setFormField(bE,bU);cF.setFormField(z,websynapse.common.util.Statics.CURR_CUSTID.custid);cF.setFormField(V,websynapse.common.util.Statics.CURR_FACILITY);cF.setFormField(Y,cG.ordershipid.split(a)[0]);cF.setFormField(t,cG.ordershipid.split(a)[1]);cF.setFormField(l,cH);cF.setFormField(f,cK);cF.send();this.removeListenerById(this.__TQ);},__bao:function(){return this.__tF.getTableModel().getRowCount();},__bap:function(){var cM=qx.lang.Function.bind(function(){this.__baq();},this);new websynapse.common.util.CallbackConfirmationDialog(this.tr(d),cM);},__baq:function(){var cO=this.getInParam();var cN=new websynapse.common.util.Request(bC,this.__bas,this,this.__bat,this,bJ);cN.setTimeout(120000);cN.setMethod(bH);cN.setFormField(bE,E);cN.setFormField(z,websynapse.common.util.Statics.CURR_CUSTID.custid);cN.setFormField(V,websynapse.common.util.Statics.CURR_FACILITY);cN.setFormField(Y,cO.ordershipid.split(a)[0]);cN.setFormField(t,cO.ordershipid.split(a)[1]);cN.setFormField(k,this.__bak);cN.send();},__eg:function(){var cQ=this.getInParam();this.__bai.setValue(cQ.ordershipid);var cP=new websynapse.common.util.Request(bC,this.__TU,this,this.__UR,this,A);cP.setTimeout(120000);cP.setMethod(bH);cP.setFormField(bE,bP);cP.setFormField(Y,cQ.ordershipid.split(a)[0]);cP.setFormField(t,cQ.ordershipid.split(a)[1]);cP.send();},__TU:function(cR){if(n in cR){this.__Tw(cR.tabledata);this.__tF.refreshData(cR.tabledata);};this.__baj=Q;if(bV in cR){this.__baj=cR.wsstatus[0].websynapse_order_status;};this.__bac.setVisibility(this.__baj!=D?N:o);this.__bad.setVisibility(this.__baj!=D&&websynapse.common.util.Statics.MASSENTRY_ALLOWED==C&&cR.tabledata.length==0?N:o);this.__bah.setVisibility(this.__bao()>0&&this.__baj==K?N:o);},__bar:function(cS){if(v in cS){this.__eg();};},__bas:function(cT){var cU=this.getInParam();if(v in cT){if(this.__bak==C){new websynapse.common.util.ExceptionMsg(this.tr(b),Q);this.fireDataEvent(I,{});}else {new websynapse.common.util.ExceptionMsg(this.tr(s),Q);this.fireDataEvent(I,{});};};},__bat:function(cV){},__bau:function(){var cX=this.getInParam();var cW=new websynapse.common.util.Request(bC,this.__bav,this,this.__UR,this,T);cW.setTimeout(120000);cW.setMethod(bH);cW.setFormField(bE,x);cW.send();},__bav:function(cY){if(v in cY){this.__bak=cY.releasefromhold;this.__eg();}else {new websynapse.common.util.ExceptionMsg(this.tr(bB),Q);};},__Tw:function(da){for(var i=0;i0){this.__baD.selectItem(dh.baseuom[0].baseuom);};if(dh.uomdata.length==0){this.__baD.loadList(dh.baseuom,null,ce,ce);};};};},__baP:function(e){var di=qx.lang.Function.bind(function(){this.fireDataEvent(cr,{});},this);new websynapse.common.util.CallbackDialog(this.tr(u)+r+e,di);},__eg:function(){var dk=this.getInParam();this.__bai.setValue(dk.ordershipid);var dj=new websynapse.common.util.Request(bN,this.__TU,this,this.__UR,this,bU);dj.setTimeout(120000);dj.setMethod(k);dj.setFormField(bO,cd);dj.setFormField(D,websynapse.common.util.Statics.CURR_CUSTID.custid);dj.setFormField(bX,dk.ordershipid.split(a)[0]);dj.setFormField(v,dk.ordershipid.split(a)[1]);dj.send();},__TU:function(dl){if(H in dl){this.__baz.removeAll();this.__baz.loadList(dl.items,null,n,ck,[M]);this.__Nj=dl.items;};if(G in dl){this.__TX=dl.ordertype[0].ordertype;};},__UR:function(e){var dm=qx.lang.Function.bind(function(){this.fireDataEvent(cr,{});},this);new websynapse.common.util.CallbackDialog(this.tr(co)+r+e,dm);},__wi:function(dn){var dp=this.__baS(dn);if(this.__TX!=x){if(dp==x||dp==l||dp==bT){return bT;};return bM;};if(dp==x||dp==l){return bT;};return bM;},__baQ:function(dq,ds){var dr=this.__baS(dq);if(this.__TX!=x){if(dr==x||dr==l||dr==bT){if(ds!=null&&ds!=W)return cf;else return P;};return cf;};if(dr==x){if(ds!=null&&ds!=W)return cf;else return P;};return cf;},__baR:function(dt){for(var i=0;idt)break;};return cm;},__baS:function(dv){for(var i=0;idv)break;};return this.__baT();},__baT:function(){return websynapse.common.util.Statics.CUST_LOTREQUIRED_DFLT==m?bM:websynapse.common.util.Statics.CUST_LOTREQUIRED_DFLT;}}});})();(function(){var a="-",b="get_allocable_items",c="Item: ",d="item",f="changeValue",g="displayic",h="Description",j="LAYR",k="Refresh Screen",l="changeSelection",m="Display Instructions/Comments",n="Lot
Number",o="Mass Entry of Order Items",p="Order now complete and released.",q="Fetching Items...",r="bolcomments",s="Error Updating Database",t="CS",u="facility",v="Order:",w="opcode",y="bold",z="Qty Allocable",A="Inventory
Status",B="descr",C="yn",D="lotnumber",E="Must Order at least one Item.",F="tabledata",G="qty",H="uoms",I="results",J="table key pressed: ",K="get_mass_item_settings",L=", LotNumber is Required.",M="inventoryclass",N="visible",O="Instructions",P="invstatus",Q="(none)",R="Error Converting UOM Quantity",S="Quantity",T="Inventory
Class",U="Order now complete and available for release.",V="N",W="OKAY",X="Y",Y="invclassdescr",cj="orders.php",ck="integer",cl="keypress",cf="Display Inventory Class",cg="hidden",ch="websynapse.order.MassAddOrderItems",ci="minIndex",cq="BOL
Comments",cr="spinner128.gif",cs="Fetching Settings...",ct="O",cm="cellTap",cn="allocable",co="Display Inventory Status",cp="dataEdited",cx="POST",cW="add_order_items",cX="Item",cy="lotrequired",cu="origallocable",cv="custid",df="AV",cw="orderid",cz="right",cA="Initialization Failure",cB="rounded-table",cF="Are you sure you want to refresh? Will lose entered data.",dg="|",cG=", Cannot Order More Than Allocable.",cC="left",cD="updatedata",de="instructions",cE="excluded",cK="bottom",cL="shipid",cM="EA",cN="'",cH="releaseorder",cI="'",dh="execute",cJ="popscreen",cR="Initialization Failed",cS="baseuom",dj="invclass",cT="invstatusdescr",cO="",cP="UOM",di="newqty",cQ="appear",cU="Updating Order...",cV="Order Items are Complete",db="convert_qty_uom",da="uom",cY="Converting Quantity...",dd="RG",dc="PLT";qx.Class.define(ch,{extend:websynapse.common.ui.screens.AbstractScreen,construct:function(){websynapse.common.ui.screens.AbstractScreen.call(this,this.tr(o));var dn=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginLeft:10,marginTop:10});dn.add(this.__baU=new qx.ui.form.CheckBox(this.tr(co)).set({font:y,alignY:cK}));this.__baU.setValue(false);this.__baU.setVisibility(N);dn.add(this.__baV=new qx.ui.form.CheckBox(this.tr(cf)).set({font:y,alignY:cK,marginLeft:5}));this.__baV.setValue(false);this.__baV.setVisibility(N);dn.add(this.__baW=new qx.ui.form.CheckBox(this.tr(m)).set({font:y,alignY:cK,marginLeft:5}));this.__baW.setValue(false);this.__baW.setVisibility(N);dn.add(this.__baX=new qx.ui.form.Button(this.tr(k)).set({marginLeft:5}));this.__baX.setVisibility(cg);dn.add(this.__bah=new qx.ui.form.Button(this.tr(cV)).set({marginLeft:5}));this.__bah.setVisibility(cg);this.add(dn);var dt=new qx.ui.container.Composite(new qx.ui.layout.Flow().set({alignX:cC,spacingX:10})).set({margin:10});var dl=new qx.ui.container.Composite(new qx.ui.layout.HBox());dl.add(new qx.ui.basic.Label(v).set({font:y}));dl.add(this.__bai=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});dt.add(dl);this.add(dt);var ds=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:cC})).set({margin:10});this.__Uh=[{column:d,header:this.tr(cX),width:75,minWidth:75,maxWidth:125,disappearOrder:-1},{column:B,header:this.tr(h),width:100,minWidth:100,maxWidth:125,disappearOrder:-1},{column:D,header:this.tr(n),width:75,minWidth:75,maxWidth:75,disappearOrder:-1},{column:cT,header:this.tr(A),width:80,minWidth:75,maxWidth:90,disappearOrder:-1},{column:Y,header:this.tr(T),width:80,minWidth:75,maxWidth:90,disappearOrder:-1},{column:cn,header:this.tr(z),width:60,minWidth:60,maxWidth:60,disappearOrder:-1,type:ck},{column:G,header:this.tr(S),width:60,minWidth:60,maxWidth:60,disappearOrder:-1,type:ck},{column:da,header:this.tr(cP),width:60,minWidth:60,maxWidth:60,disappearOrder:-1},{column:H,hidden:1},{column:de,header:this.tr(O),width:100,minWidth:100,maxWidth:150,disappearOrder:-1},{column:r,header:this.tr(cq),width:100,minWidth:100,maxWidth:150,disappearOrder:-1},{column:cy,hidden:1},{column:cS,hidden:1},{column:P,hidden:1},{column:M,hidden:1},{column:cu,hidden:1},];this.__tF=new websynapse.common.ui.widgets.table.ResizableTable(this.__Uh).set({showCellFocusIndicator:true,columnVisibilityButtonVisible:false,headerCellHeight:32});this.__tF.setDecorator(cB);this.__tF.setSpinnerImage(cr);var dk=new qx.util.format.NumberFormat().set({groupingUsed:true,maximumFractionDigits:0});var dm=new qx.ui.table.cellrenderer.Number(cz).set({numberFormat:dk});var dq=this.__tF.getTableModel();this.__tF.getTableColumnModel().setDataCellRenderer(dq.getColumnIndexById(G),dm);this.__tF.getTableColumnModel().setDataCellRenderer(dq.getColumnIndexById(cn),dm);this.__tF.getTableColumnModel().setDataCellRenderer(dq.getColumnIndexById(cu),dm);dq.setColumnEditable(dq.getColumnIndexById(G),true);dq.setColumnEditable(dq.getColumnIndexById(de),true);dq.setColumnEditable(dq.getColumnIndexById(r),true);dq.setColumnEditable(dq.getColumnIndexById(da),true);dq.setColumnEditable(dq.getColumnIndexById(H),true);var dr=this.__tF.getTableColumnModel();this.__baY=new websynapse.common.ui.widgets.celleditor.SelectBox(this.__tF);this.__baY.setListData([t,cM,dc,j]);dr.setCellEditorFactory(dq.getColumnIndexById(da),this.__baY);var dp=new websynapse.common.ui.widgets.celleditor.TextField(this.__tF);dr.setCellEditorFactory(dq.getColumnIndexById(G),dp);dr.setCellEditorFactory(dq.getColumnIndexById(de),dp);dr.setCellEditorFactory(dq.getColumnIndexById(r),dp);ds.add(this.__tF,{flex:1});this.add(ds,{flex:1});this.__bba=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginLeft:10,marginRight:10});this.__bba.add(this.__bbb=new qx.ui.form.Button(this.tr(cV)).set({marginBottom:5,alignY:cK,allowGrowY:false}));this.__bbb.setVisibility(cg);this.add(this.__bba);this.__TR();this.__TQ=this.addListener(cQ,this.__bau,this);},members:{__TQ:null,__tF:null,__Uh:null,__ut:null,__Ui:null,__baU:null,__baV:null,__baW:null,__bbc:null,__bak:null,__baX:null,__bah:null,__bbb:null,__bbd:null,__baY:null,__TR:function(e){this.__tF.getSelectionModel().addListener(l,this.__Uw,this);this.__baX.addListener(dh,this.__bbi,this);this.__bah.addListener(dh,this.__bbm,this);this.__bbb.addListener(dh,this.__bbm,this);this.__tF.addListener(cp,this.__bbh,this);this.__tF.addListener(cm,this.__bbg,this);this.__tF.addListener(cl,this.__Tv,this);},__Uw:function(){var du=this.__tF.getSelectionModel().getSelectedCount();if(du>0){var dx=this.__tF.getSelectionModel();var dy=dx.getSelectedRanges()[0];var dw=dy[ci];var dv=this.__tF.getTableModel().getRowDataAsMap(dw);this.__bbt(dw);};},__bbe:function(){this.__baX.setVisibility(N);},__bbf:function(){this.__baX.setVisibility(cg);},__Tv:function(e){var dz=e.getKeyIdentifier().toLowerCase();console.log(J+dz);},__bbg:function(e){this.__tF.startEditing();},__bbh:function(dA){this.__bah.setVisibility(this.__bbr()>0?N:cE);this.__bbb.setVisibility(this.__bbr()>0?N:cE);var dC=this.__tF.getTableModel();var dD=this.__tF.getTableColumnModel();var dF=this.__tF.getFocusedColumn();var dE=dC.getColumnIndexById(G);var dB=dC.getColumnIndexById(da);if(dF!=dB&&dF!=dE)return;var dG=this.__tF.getFocusedRow();this.__bbj(dG);},__bau:function(){var dI=this.getInParam();var dH=new websynapse.common.util.Request(cj,this.__bav,this,this.__UR,this,cs);dH.setTimeout(120000);dH.setMethod(cx);dH.setFormField(w,K);dH.send();},__bbi:function(){if(this.__bbr()>0){var dJ=qx.lang.Function.bind(function(){this.__eg();},this);new websynapse.common.util.CallbackConfirmationDialog(this.tr(cF),dJ);}else this.__eg();},__eg:function(){var dL=this.getInParam();this.__bai.setValue(dL.ordershipid);var dK=new websynapse.common.util.Request(cj,this.__TU,this,this.__UR,this,q);dK.setTimeout(120000);dK.setMethod(cx);dK.setFormField(w,b);dK.setFormField(cv,websynapse.common.util.Statics.CURR_CUSTID.custid);dK.setFormField(u,websynapse.common.util.Statics.CURR_FACILITY);dK.setFormField(cw,dL.ordershipid.split(a)[0]);dK.setFormField(cL,dL.ordershipid.split(a)[1]);dK.setFormField(P,this.__baU.getValue()?X:V);dK.setFormField(dj,this.__baV.getValue()?X:V);dK.setFormField(g,this.__baW.getValue()?X:V);dK.send();this.__bbf();},__TU:function(dR){var dO=this.__tF.getTableModel();var dP=this.__tF.getTableColumnModel();var dQ=dO.getColumnIndexById(cT);var dN=dO.getColumnIndexById(Y);var dS=dO.getColumnIndexById(de);var dM=dO.getColumnIndexById(r);dP.setColumnVisible(dQ,this.__baU.getValue()?true:false);dP.setColumnVisible(dN,this.__baV.getValue()?true:false);dP.setColumnVisible(dS,this.__baW.getValue()?true:false);dP.setColumnVisible(dM,this.__baW.getValue()?true:false);if(F in dR){this.__tF.refreshData(dR.tabledata);this.__ut=dR.tabledata;this.__Tw();};},__bav:function(dT){if(I in dT){this.__baU.setValue(dT.invstatus==X?true:false);this.__baV.setValue(dT.invclass==X?true:false);this.__baW.setValue(dT.displayic==X?true:false);this.__bbc=dT.allowgtallocable;this.__bak=dT.releasefromhold;this.__baU.addListener(f,this.__bbe,this);this.__baV.addListener(f,this.__bbe,this);this.__baW.addListener(f,this.__bbe,this);this.__eg();}else {new websynapse.common.util.ExceptionMsg(this.tr(cA),cO);};},__bbj:function(ec){var dV=this.getInParam();var dY=this.__tF.getTableModel();this.__bbd=ec;var dX=dY.getValue(dY.getColumnIndexById(d),ec);var dW=dY.getValue(dY.getColumnIndexById(G),ec);var eb=dY.getValue(dY.getColumnIndexById(da),ec);var ea=dY.getValue(dY.getColumnIndexById(cS),ec);var dU=new websynapse.common.util.Request(cj,this.__bbk,this,this.__bbl,this,cY);dU.setTimeout(120000);dU.setMethod(cx);dU.setFormField(w,db);dU.setFormField(cv,websynapse.common.util.Statics.CURR_CUSTID.custid);dU.setFormField(d,dX);dU.setFormField(G,dW);dU.setFormField(da,eb);dU.setFormField(cS,ea);dU.setFormField(C,X);dU.send();},__bbk:function(ee){var ed=this.__tF.getTableModel();if(di in ee){var eg=ed.getValue(ed.getColumnIndexById(cu),this.__bbd);var ef=Number(eg)-Number(ee.newqty);ed.setValue(ed.getColumnIndexById(cn),this.__bbd,ef);};},__bbl:function(eh){new websynapse.common.util.ExceptionMsg(this.tr(R),cO);},__bbm:function(){var ei=this.__bbo();if(ei!=W){new websynapse.common.util.ExceptionMsg(ei,cO);return;};var ek=this.getInParam();this.__bak=V;this.__bai.setValue(ek.ordershipid);var ej=new websynapse.common.util.Request(cj,this.__bbn,this,this.__bat,this,cU);ej.setTimeout(120000);ej.setMethod(cx);ej.setFormField(w,cW);ej.setFormField(cv,websynapse.common.util.Statics.CURR_CUSTID.custid);ej.setFormField(u,websynapse.common.util.Statics.CURR_FACILITY);ej.setFormField(cw,ek.ordershipid.split(a)[0]);ej.setFormField(cL,ek.ordershipid.split(a)[1]);ej.setFormField(cD,qx.lang.Json.stringify(this.__bbp()));ej.setFormField(P,this.__baU.getValue()?X:V);ej.setFormField(dj,this.__baV.getValue()?X:V);ej.setFormField(g,this.__baW.getValue()?X:V);ej.setFormField(cH,this.__bak);ej.send();},__bbn:function(el){var em=this.getInParam();if(this.__bak==X){if(I in el){new websynapse.common.util.ExceptionMsg(this.tr(p),cO);this.fireDataEvent(cJ,{});}else {new websynapse.common.util.ExceptionMsg(el.relmsg,cO);};}else {if(I in el){new websynapse.common.util.ExceptionMsg(this.tr(U),cO);this.fireDataEvent(cJ,{});}else {new websynapse.common.util.ExceptionMsg(el.savemsg,cO);};};},__bbo:function(){var x=W;if(this.__bbr()==0){return E;};var eo=this.__tF.getTableModel();for(var i=0;i0){if(er<0&&this.__bbc!=X){return c+et+cG;};if(ex==ct&&(ew==cO||ew==Q)){return c+et+L;};};};return x;},__bbp:function(){var x=[];var ez=this.__tF.getTableModel();for(var i=0;i0){x.push(this.__bbq(i));};};return x;},__bbq:function(eC){var eB=this.__tF.getTableModel();return eB.getValue(eB.getColumnIndexById(d),eC)+dg+eB.getValue(eB.getColumnIndexById(G),eC)+dg+eB.getValue(eB.getColumnIndexById(da),eC)+dg+this.__ber(eB.getValue(eB.getColumnIndexById(P),eC))+dg+this.__bes(eB.getValue(eB.getColumnIndexById(M),eC))+dg+eB.getValue(eB.getColumnIndexById(cy),eC)+dg+eB.getValue(eB.getColumnIndexById(D),eC)+dg+this.__bbx(eB.getValue(eB.getColumnIndexById(de),eC))+dg+this.__bbx(eB.getValue(eB.getColumnIndexById(r),eC));},__ber:function(eD){if(eD)return eD;return df;},__bes:function(eE){if(eE)return eE;return dd;},__bbr:function(){var eG=0;var eF=this.__tF.getTableModel();for(var i=0;i0){break;};};return eG;},__Tw:function(){var eK=this.__tF.getTableModel();var eM=this.__tF.getTableColumnModel();var eP=eK.getColumnIndexById(H);var eL=eK.getColumnIndexById(da);var eJ=eK.getColumnIndexById(cS);var eN=eK.getColumnIndexById(cn);var eO=eK.getColumnIndexById(cu);for(var i=0;i0;if(I){p.fldSupplier.loadList(websynapse.common.util.Statics.CUST_SHIPPER);}else {p.fldSupplier.setEnabled(false);};p._registerWidget(p.fldFacility,E,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldCustomerPO,z,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldPriority,j,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldReference,B,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldSupplier,d,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldAppointmentDate,a,s.WIDGET_TYPE_DATE);p._registerWidget(p.fldInstructions,l,s.WIDGET_TYPE_VARCHAR);p.fldPriority.selectItem(c);p.fldFacility.selectItem(websynapse.common.util.Statics.CURR_FACILITY);},__YC:function(){if(this._parent.noValidation){return;};if(!this.validate()||!this._parent.validationManager.isValid()){this._parent.validationManager.validate();};},validate:function(){var K=true;var L=websynapse.order.OrderUtility;var p=this._parent;K=L.checkRequiredSelectionField(p.fldFacility,K);return K;}}});})();(function(){var a="-",b="Revert changes?",c="Saving...",d="Duplicate Reference Not Allowed, Please Re-Enter.",f="Checking...",g="Save changes?",j="Status",k="excluded",l="Items",m="shipid",n="Error Finding Order Information",o="execute",p="Modify Inbound Order",q="Order Not Modifiable",r="",s="Loading...",t="Y",u="DONE",v="There are unsaved changes.
Are you sure you want to leave page?",w="websynapse.order.OrderModifyInbound",x="order_header",y="visible",z=":",A="popscreen",B="middle",C="Error Updating Order",D="pushscreen",E="check_order_modifiable",F="hdrpassthruchar",G="custid",H="hdrpassthrudoll",I="Order",J="check_order_duplicate",K="textfield",L="fmthdrpassthrudate",M="Type",N="0",O="orderid",P="right",Q="POST",R="orders.php",S="ref",T="po",U="opcode",V="bold",W="websynapse/edit-undo.png",X="Error Checking Order",Y="hdrpassthrunum",bh="
",bi="W",bj="order_modify",bf="OK",bg="updatedata";qx.Class.define(w,{extend:websynapse.order.OrderCreateInbound,construct:function(){websynapse.order.OrderCreateInbound.call(this);this._title.setValue(this.tr(p));this.noValidation=true;this._btnCancel.setIcon(W);this._btnCancel.set({marginLeft:5,enabled:true});this._buttonPanel.addAfter(this._btnCancel,this._btnApply);this._btnItems=new qx.ui.form.Button(l);this._buttonPanel.addAfter(this._btnItems,this._btnExit);this._informationPanel=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginTop:5,marginLeft:10});this._informationPanel.add(new qx.ui.basic.Label(this.tr(I)+z).set({alignX:P,font:V,alignY:B}));this._informationPanel.add(this._lblOrder=new qx.ui.basic.Label().set({marginLeft:5}));this._informationPanel.add(new qx.ui.basic.Label(this.tr(M)+z).set({alignX:P,font:V,alignY:B,marginLeft:20}));this._informationPanel.add(this._lblOrderType=new qx.ui.basic.Label().set({marginLeft:5}));this._informationPanel.add(new qx.ui.basic.Label(this.tr(j)+z).set({alignX:P,font:V,alignY:B,marginLeft:20}));this._informationPanel.add(this._lblOrderStatus=new qx.ui.basic.Label().set({marginLeft:5}));this.addAfter(this._informationPanel,this._buttonPanel);this.__YX();},members:{_informationPanel:null,_lblOrder:null,_lblOrderType:null,_lblOrderStatus:null,_btnItems:null,__YW:null,__YX:function(){this._btnCancel.removeListenerById(this._cancelListener);this._btnCancel.addListener(o,this._preCancelAction,this);this._btnItems.addListener(o,function(){this.fireDataEvent(D,{"screen":websynapse.order.ModifyOrderItems,"inparam":this.getInParam()});},this);},_saveAction:function(){var bk=qx.lang.Function.bind(function(){this.__YY();},this);new websynapse.common.util.CallbackConfirmationDialog(this.tr(g),bk);},__YY:function(){var bm=this.getInParam();var bl=new websynapse.common.util.Request(R,this.__baa,this,this.__baa,this,this.tr(c));bl.setTimeout(120000);bl.setMethod(Q);bl.setFormField(U,E);bl.setFormField(O,bm.ordershipid.split(a)[0]);bl.setFormField(m,bm.ordershipid.split(a)[1]);bl.send();},_checkDupOrder:function(){var bo=this.getInParam();var bn=new websynapse.common.util.Request(R,this._checkDupCompleted,this,this._checkDupFailed,this,this.tr(f));bn.setTimeout(120000);bn.setMethod(Q);bn.setFormField(U,J);bn.setFormField(G,websynapse.common.util.Statics.CURR_CUSTID.custid);bn.setFormField(S,this.fldReference.getValue());bn.setFormField(T,this.fldCustomerPO.getValue());bn.setFormField(O,bo.ordershipid.split(a)[0]);bn.setFormField(m,bo.ordershipid.split(a)[1]);bn.send();},_checkDupCompleted:function(bp){if(bp.answer==t||bp.answer==bi){new websynapse.common.util.ExceptionMsg(this.tr(d),r);}else {this._saveOrder();};},_checkDupFailed:function(){new websynapse.common.util.ExceptionMsg(this.tr(X),r);},_saveOrder:function(){var br=this.getInParam();var bq=new websynapse.common.util.Request(R,this._saveCompleted,this,this._saveFailed,this,this.tr(c));bq.setTimeout(120000);bq.setMethod(Q);bq.setFormField(U,bj);bq.setFormField(O,br.ordershipid.split(a)[0]);bq.setFormField(m,br.ordershipid.split(a)[1]);bq.setFormField(bg,qx.lang.Json.stringify(websynapse.order.OrderUtility.formatSaveData(this._getSaveData(true))));bq.send();},_saveCompleted:function(bs){this.__TU(bs);},_saveFailed:function(){new websynapse.common.util.ExceptionMsg(this.tr(C),r);},__baa:function(bt){if(bt.answer==bf)this._checkDupOrder();else new websynapse.common.util.ExceptionMsg(q,r);},_exitAction:function(){if(this._isScreenDirty()){var bu=qx.lang.Function.bind(function(){this.fireDataEvent(A,{});},this);new websynapse.common.util.CallbackConfirmationDialog(this.tr(v),bu);return;};this.fireDataEvent(A,{});},_enableSaveButtons:function(){var bv=this._isScreenDirty();this._btnApply.setEnabled(bv&&this.validationManager.isValid()&&this.__YW.websynapse_order_status!=u);this._btnCancel.setEnabled(bv);},_changeValid:function(e){this._validationButton.setVisibility(e.getData()?k:y);this._enableSaveButtons();},_init:function(){websynapse.order.OrderCreateInbound.prototype._init.call(this);var bx=this.getInParam();this._lblOrder.setValue(bx.ordershipid);var bw=new websynapse.common.util.Request(R,this.__TU,this,this.__UR,this,this.tr(s));bw.setTimeout(120000);bw.setMethod(Q);bw.setFormField(U,x);bw.setFormField(O,bx.ordershipid.split(a)[0]);bw.setFormField(m,bx.ordershipid.split(a)[1]);bw.send();},__TU:function(bC){this.__YW=bC.header;var h=this.__YW;var bB=websynapse.order.OrderUtility.cleanString;var by=this.getInParam();by.websynapse_order_status=this.__YW.websynapse_order_status;try{this._lblOrderType.setValue(h.ordertypeabbrev);this._lblOrderStatus.setValue(h.orderstatusabbrev);this.fldFacility.selectItem(h.tofacility);this.fldCustomerPO.setValue(h.po);this.fldSupplier.selectItem(h.shipper);this.fldAppointmentDate.getChildControl(K).setValue(h.fmtapptdate);this.fldPriority.selectItem(h.dfltpriority);this.fldReference.setValue(h.reference);this.fldInstructions.setValue(h.comment1);for(var i=1;i0){var bM=this.__tF.getSelectionModel();var bN=bM.getSelectedRanges()[0];var bL=bN[g];var bK=this.__tF.getTableModel().getRowDataAsMap(bL);this.__bbz=bK[q];};this.__bby.setVisibility(this.__bbz!=I?y:j);},__bbA:function(){var bO=new websynapse.common.util.Request(bs,this.__bbB,this,this.__UR,this,this.tr(P));bO.setTimeout(120000);bO.setMethod(X);bO.setFormField(bo,bA);bO.setFormField(bB,this.__bbz);bO.send();},__eg:function(){var bQ=this.getInParam();this.__bai.setValue(bQ.ordershipid);var bP=new websynapse.common.util.Request(bs,this.__TU,this,this.__UR,this,this.tr(t));bP.setTimeout(120000);bP.setMethod(X);bP.setFormField(bo,B);bP.setFormField(U,bQ.ordershipid.split(b)[0]);bP.setFormField(p,bQ.ordershipid.split(b)[1]);bP.send();this.removeListenerById(this.__TQ);},__bbB:function(bS){if(R in bS){var bR=qx.bom.Window.open(bS.url,m);qx.bom.Event.addNativeListener(bR,K,function(e){var bT=qx.dom.Node.getBodyElement(bR);var bU=qx.dom.Node.getDocumentElement(bR);if((bU&&qx.dom.Hierarchy.isEmpty(bU))||(bT&&qx.dom.Hierarchy.isEmpty(bT))){bR.close();};});}else {new websynapse.common.util.ExceptionMsg(F,I);};},__TU:function(bW){if(i in bW){this.__tF.refreshData(bW.tabledata);if(bW.tabledata.length==0){var bV=qx.lang.Function.bind(function(){this.fireDataEvent(D,{});},this);new websynapse.common.util.CallbackDialog(this.tr(Y),bV);};};},__UR:function(e){}}});})();(function(){var a="black",b="websynapse/list-remove-16.png",c="excluded",d="bottom",f="execute",g="'",h="input",j="visible",k="legend",l="changeSelection",m="pushscreen",n="addItem",o="Enter Reference",p="Select References",q=":",r="websynapse/edit-find.png",s="",t="ordertype",u="multi",v="removeItem",w="appear",x="References",y="enter",z="keypress",A="bold",B="websynapse/edit-undo.png",C="left",D="websynapse/list-add-16.png",E="websynapse.order.OrderCancelSelect",F=",";qx.Class.define(E,{extend:websynapse.common.ui.screens.AbstractScreen,construct:function(){websynapse.common.ui.screens.AbstractScreen.call(this,this.tr(p));this._requiredData=[t];var I=new qx.ui.container.Composite(new qx.ui.layout.HBox(5).set({alignX:C,alignY:d})).set({marginLeft:10,marginRight:10});var toolbar=this.__TI=new qx.ui.toolbar.ToolBar;toolbar.setDecorator(null);toolbar.add(this.__TJ=new qx.ui.form.Button(null,r));this.__TJ.setEnabled(false);toolbar.add(this.__TK=new qx.ui.form.Button(null,B).set({marginLeft:5}));I.add(toolbar);this.add(I);var H=new qx.ui.container.Composite(new qx.ui.layout.VBox(10)).set({margin:10});var K=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:C,alignY:d}));K.add(new qx.ui.basic.Label(this.tr(o)+q).set({font:A,alignY:d}));K.add(this.__bbC=new websynapse.common.ui.widgets.UpperTextField().set({marginLeft:5,alignY:d,maxLength:20,width:175}));K.add(this.__bbD=new qx.ui.form.Button(null,D).set({marginLeft:5,alignY:d,allowGrowY:false}));K.add(this.__bbE=new qx.ui.form.Button(null,b).set({marginLeft:5,alignY:d,allowGrowY:false}));K.add(new qx.ui.container.Composite().set({alignY:d,maxHeight:30}));this.__bbD.setVisibility(c);this.__bbE.setVisibility(c);H.add(K);var G=this._borderlessGroupBox(this.tr(x)+q).set({marginLeft:0,maxWidth:200});G.getChildrenContainer().setDecorator(null);var J=G.getChildControl(k);J.setTextColor(a);G.add(this.__bbF=new qx.ui.form.List().set({selectionMode:u}));H.add(G);this.add(H,{flex:1});this.__TR();this.__TQ=this.addListener(w,this.__eg,this);},members:{__TQ:null,__TI:null,__TJ:null,__TK:null,__bbC:null,__bbF:null,__bbD:null,__bbE:null,__TR:function(e){this.__TK.addListener(f,this.__TT,this);this.__TJ.addListener(f,this.__Xw,this);this.__bbC.addListener(h,this.__bbJ,this);this.__bbC.addListener(z,this.__bbI,this);this.__bbD.addListener(f,this.__bbG,this);this.__bbE.addListener(f,this.__bbH,this);this.__bbF.addListener(n,this.__bbJ,this);this.__bbF.addListener(v,this.__bbJ,this);this.__bbF.addListener(l,this.__bbJ,this);},__bbG:function(){var M=this.__bbC.getValue();this.__bbC.setValue(s);if(M==null||M==s){return;};var L=this.__bbF.getSelectables(true);for(var i=0;iM){break;};};this.__bbF.addAt(new qx.ui.form.ListItem(M),i);this.__bbC.focus();},__bbH:function(){var N=this.__bbF.getSelection();for(var i=0;i0);this.__bbE.setVisibility(this.__bbF.getSelection().length>0?j:c);var P=this.__bbC.getValue();this.__bbD.setVisibility(P!=null&&P!=s?j:c);},__TT:function(){this.__bbC.setValue(s);this.__bbF.removeAll();this.__bbC.focus();},__eg:function(){this.__TT();this.removeListenerById(this.__TQ);},__TU:function(Q){},__Xw:function(){var R={custid:websynapse.common.util.Statics.CURR_CUSTID.custid,references:this.__bbK()};this.fireDataEvent(m,{"screen":websynapse.order.OrderCancelDetail,"inparam":R});},__bbK:function(){var T=s;var S=this.__bbF.getSelectables(true);for(var i=0;i0){this.__bbU.set({enabled:true,visibility:F});}else {this.__bbU.set({enabled:false,visibility:T});};},this);this.__tF.addListener(l,this.__UA,this);this.__tF.addListener(bT,this.__UA,this);this.__Uj.addListener(B,this.__UA,this);this.__bbU.addListener(B,this.__bbY,this);this.__bbT.addListener(ct,function(){this.__bbX=new websynapse.admin.AssignPasswordDialog();this.__bbX.setInParam(this.getInParam());this.__bbX.openAndCenter();},this);this.__tF.getSelectionModel().addListener(g,this._enableButtons,this);},_enableButtons:function(){if(this.__tF.getSelectionModel().getSelectedCount()>0&&this._hasRequiredData()){this.__Uj.set({enabled:true,visibility:F});}else {this.__Uj.set({enabled:false,visibility:T});};},__UA:function(e){var cM=this.__tF.getSelectionModel();var cN=cM.getSelectedRanges()[0];var cK=cN[cg];if(this._hasRequiredData()){var cL=this.__tF.getTableModel().getRowDataAsMap(cK);this.fireDataEvent(cd,{"screen":websynapse.admin.UserDetail,"inparam":this.__bcc(cL.nameid)});}else {console.log(this.tr(cq));};},__bbY:function(){var cO=this.__bbT.getValue();this.__bcd(cO);},__bca:function(){if(this.__bbV==bP){new websynapse.common.util.ExceptionMsg(this.tr(cs),cp);return;};if(this.__bbX==null||this.__bbX.usrPassword==null){new websynapse.common.util.ExceptionMsg(this.tr(n),cp);return;};var cR=this.__bbT.getValue();var cQ=c+websynapse.common.util.Statics.CURR_CUSTID.custid+K;var cS=co+websynapse.common.util.Statics.CURR_FACILITY+Y;var cP=L+cl+cR+b+V+this.__bbX.usrPassword+b+cr+U+k+websynapse.common.util.Statics.CURR_FACILITY+b+cv+f+bY+o+cD+bV+R+ci+x+ce+H+C+M+m+cn+cS+cm+cj+cQ+cm+bS+cC;this.__bcb=JSON.parse(cP);this.fireDataEvent(cd,{"screen":websynapse.admin.UserDetail,"inparam":this.__bcb});this.__bbT.setValue(cp);this.__bbU.set({enabled:false,visibility:T});},__bcc:function(cU){if(this.__ut==null){return null;};for(var i=0;i0){this.__bbV=bP;};};this.__bca();},__eg:function(){if(websynapse.common.util.Statics.REFRESH_USER_MAINT){var db=new websynapse.common.util.Request(W,this.__TU,this,this.__UR,this,this.tr(D));db.setMethod(O);db.setParameter(r,j);db.setParameter(bW,websynapse.common.util.Statics.CURR_CUSTID.custid);db.send();};},__TU:function(dc){if(J in dc){this.__Tw(dc.users);this.__tF.refreshData(dc.users);this.__ut=dc.users;};},__UR:function(e){new websynapse.common.util.ExceptionMsg(a,cp);},__Tw:function(dd){for(var i=0;i0){this.__ou.resetSelection();this.__bbN();};},this);this.__ou.addListener(M,function(){if(this.__ou.getSelection().length>0){this.__bdk.resetSelection();this.__bbN();};},this);this.__bdj.addListener(bw,function(){this.__bdl.set({maxHeight:this.__bdp()});},this);this.__bdk.addListener(I,function(e){if(this.__bdk.getSelection().length==0){e.preventDefault();};e.addAction(bB);e.addType(d);},this);this.__ou.addListener(I,function(e){if(this.__ou.getSelection().length==0){e.preventDefault();};e.addAction(bB);e.addType(d);},this);this.__bdk.addListener(D,function(e){var bF=e.getCurrentType();var bG=this.__bdk.getSelection();var bH=[];for(var i=0;i0){this.__bdr(this.__bdk,this.__ou);}else if(this.__ou.getSelection().length>0){this.__bdr(this.__ou,this.__bdk);};},this);},__bdp:function(){var bN=0;var bO=this.__bdk.getBounds();bN=bN+bO.height;return bN;},__bdq:function(bQ){var bP=bQ.clone();bP.setUserData(p,bQ.getUserData(p));bP.setUserData(g,bQ.getUserData(g));return bP;},__bdr:function(bU,bT){var bS=bU.getSelection();for(var i=0;ibV.getLabel()){break;};};bW.addAt(bV,i);},__eg:function(e){var bY=e.getData();this.setInParam(bY);this._registerWidget(this.__bdf,X);this.__bcK(bY);},__bcK:function(cc){cc[s]=cc.allcusts==n?n:bx;this.__bdk.removeAll();this.__ou.removeAll();var ca=websynapse.common.util.Statics.USER_CUSTOMERS;this.__bdu(ca);this.__bdk.loadList(ca,a);this.__bdf.setSelection([cc.calcAllCusts==n?this.__bdg:this.__bdh]);for(var i=0;i0){this.__bdm.setIcon(websynapse.common.util.Statics.getResource(bt));this.__bdm.setEnabled(true);}else if(this.__ou.getSelection().length>0){this.__bdm.setIcon(websynapse.common.util.Statics.getResource(bo));this.__bdm.setEnabled(true);}else {this.__bdm.setIcon(websynapse.common.util.Statics.getResource(bt));this.__bdm.setEnabled(false);};this._enableSaveButtons();},_isScreenDirty:function(){var cj=websynapse.common.ui.screens.AbstractTabScreen.prototype._isScreenDirty.call(this);if(!cj){cj=this.__bdt();};return cj;},__bdt:function(){var ck=this.__bdk.getSelectables(true);for(var i=0;i=0;i-- ){this.__PJ.remove(y[i]);};return this._removeAll();},getSelection:function(){return this.__PJ.getSelection();},setSelection:function(z){this.__PJ.setSelection(z);},resetSelection:function(){this.__PJ.resetSelection();},isSelected:function(A){return this.__PJ.isSelected(A);},isSelectionEmpty:function(){return this.__PJ.isSelectionEmpty();},getSelectables:function(B){return this.__PJ.getSelectables(B);}},destruct:function(){this._disposeObjects(g);}});})();(function(){var a="initlist",b="key",c="available",d="websynapse.common.ui.widgets.List";qx.Class.define(d,{extend:qx.ui.form.List,construct:function(){qx.ui.form.List.call(this);},members:{loadList:function(g,e){for(var i=0;i0){this.__ou.resetSelection();this.__bbN();};},this);this.__ou.addListener(J,function(){if(this.__ou.getSelection().length>0){this.__bdk.resetSelection();this.__bbN();};},this);this.__bdj.addListener(bs,function(){this.__bdl.set({maxHeight:this.__bdp()});},this);this.__bdk.addListener(F,function(e){if(this.__bdk.getSelection().length==0){e.preventDefault();};e.addAction(bn);e.addType(M);},this);this.__ou.addListener(F,function(e){if(this.__ou.getSelection().length==0){e.preventDefault();};e.addAction(bn);e.addType(M);},this);this.__bdk.addListener(A,function(e){var bx=e.getCurrentType();var by=this.__bdk.getSelection();var bz=[];for(var i=0;i0){this.__bdr(this.__bdk,this.__ou);}else if(this.__ou.getSelection().length>0){this.__bdr(this.__ou,this.__bdk);};},this);},__bdp:function(){var bF=0;var bG=this.__bdk.getBounds();bF=bF+bG.height;return bF;},__bdq:function(bI){var bH=bI.clone();bH.setUserData(o,bI.getUserData(o));bH.setUserData(f,bI.getUserData(f));return bH;},__bdr:function(bM,bL){var bK=bM.getSelection();for(var i=0;ibN.getLabel()){break;};};bO.addAt(bN,i);},__eg:function(e){var bQ=e.getData();this.setInParam(bQ);this._registerWidget(this.__bdf,r);this.__bcK(bQ);},__bcK:function(bS){bS[d]=bS.chgfacility==m?m:bt;this.__bdk.removeAll();this.__ou.removeAll();var bR=websynapse.common.util.Statics.USER_FACILITIES;this.__bcM(bR);this.__bdk.loadList(bR,o);this.__bdf.setSelection([bS.calcAllFacilty==m?this.__bdg:this.__bdh]);for(var i=0;i0){this.__bdm.setIcon(websynapse.common.util.Statics.getResource(X));this.__bdm.setEnabled(true);}else if(this.__ou.getSelection().length>0){this.__bdm.setIcon(websynapse.common.util.Statics.getResource(bo));this.__bdm.setEnabled(true);}else {this.__bdm.setIcon(websynapse.common.util.Statics.getResource(X));this.__bdm.setEnabled(false);};this._enableSaveButtons();},_isScreenDirty:function(){var cd=websynapse.common.ui.screens.AbstractTabScreen.prototype._isScreenDirty.call(this);if(!cd){cd=this.__bdt();};return cd;},__bdt:function(){var ce=this.__bdk.getSelectables(true);for(var i=0;i0){this.__ou.resetSelection();this.__bbN();};},this);this.__ou.addListener(M,function(){if(this.__ou.getSelection().length>0){this.__bdk.resetSelection();this.__bbN();};},this);this.__bdj.addListener(bu,function(){this.__bdl.set({maxHeight:this.__bdp()});},this);this.__bdk.addListener(I,function(e){if(this.__bdk.getSelection().length==0){e.preventDefault();};e.addAction(by);e.addType(P);},this);this.__ou.addListener(I,function(e){if(this.__ou.getSelection().length==0){e.preventDefault();};e.addAction(by);e.addType(P);},this);this.__bdk.addListener(D,function(e){var bD=e.getCurrentType();var bE=this.__bdk.getSelection();var bF=[];for(var i=0;i0){this.__bdr(this.__bdk,this.__ou);}else if(this.__ou.getSelection().length>0){this.__bdr(this.__ou,this.__bdk);};},this);},__bdp:function(){var bL=0;var bM=this.__bdk.getBounds();bL=bL+bM.height;return bL;},__bdq:function(bO){var bN=bO.clone();bN.setUserData(q,bO.getUserData(q));bN.setUserData(f,bO.getUserData(f));return bN;},__bdr:function(bS,bR){var bQ=bS.getSelection();for(var i=0;ibT.getLabel()){break;};};bU.addAt(bT,i);},__eg:function(e){var bW=e.getData();this.setInParam(bW);this._registerWidget(this.__bdf,o);this.__bcK(bW);},__bcK:function(ca){var bY=this.getInParam();ca[O]=websynapse.common.util.Statics.USERREPORTS;this.__bdk.removeAll();this.__ou.removeAll();var cb=websynapse.common.util.Statics.REPORTS;this.__bdx(cb);this.__bdk.loadList(cb,a);for(var i=0;i0){this.__bdm.setIcon(websynapse.common.util.Statics.getResource(Y));this.__bdm.setEnabled(true);}else if(this.__ou.getSelection().length>0){this.__bdm.setIcon(websynapse.common.util.Statics.getResource(bn));this.__bdm.setEnabled(true);}else {this.__bdm.setIcon(websynapse.common.util.Statics.getResource(Y));this.__bdm.setEnabled(false);};this._enableSaveButtons();},_isScreenDirty:function(){var ci=websynapse.common.ui.screens.AbstractTabScreen.prototype._isScreenDirty.call(this);if(!ci){ci=this.__bdt();};return ci;},__bdt:function(){var cj=this.__bdk.getSelectables(true);for(var i=0;i=this.getMaxConcurrentRequests())){return;};if(this.getMaxTotalRequests()!=null&&this.__nX>=this.getMaxTotalRequests()){return;};var B=this.__dJ.shift();var C=new qx.io.remote.Exchange(B);this.__nX++ ;this.__nW.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.__dJ.length>0){this._check();};},_remove:function(D){qx.lang.Array.remove(this.__nW,D);D.dispose();this._check();},__nY: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.__nW;if(O.length==0){this.__cY.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.__cY.setEnabled(Q);},add:function(R){R.setState(o);if(R.isAsynchronous()){this.__dJ.push(R);}else {this.__dJ.unshift(R);};this._check();if(this.getEnabled()){this.__cY.start();};},abort:function(S){var T=S.getTransport();if(T){T.abort();}else if(qx.lang.Array.contains(this.__dJ,S)){qx.lang.Array.remove(this.__dJ,S);};}},destruct:function(){this._disposeArray(w);this._disposeObjects(d);this.__dJ=null;}});})();(function(){var a="], ",b="qx.io.remote.transport.XmlHttp",c="qx.io.remote.transport.Abstract",d="Request-URL too large",f="MSHTML-specific HTTP status code",g="Not available",h="Precondition failed",j="Server error",k=")",m="There is no transport implementation available to handle this request: ",n="qx.io.remote.Exchange",o="Bad gateway",p="Gone",q="See other",r="Timeout: forcing state to timeout",s="Partial content",t="aborted",u="Server timeout",v="qx.io.remote.transport.Script",w="No supported transport types were found!",x="Unauthorized",y="=",z="Multiple choices",A="Proxy authentication required",B="Payment required",C="Request handler throws error",D="_applyState",E="Not implemented",F='Unknown status code. Possibly due to a cross-domain request?',G="Length required",H="failed",I="Unknown status code: ",J="Method not allowed",K="qx.event.type.Event",L="changeState",M="Not modified",N="HTTP version not supported",O="qx.io.remote.Request",P="Connection dropped",Q="Connection closed by server",R="Moved permanently",S="_applyImplementation",T="",U="sending",V=" (",W="Moved temporarily",X="Timeout: implementation ",Y="Forbidden",bH="completed",bI="&",bJ="Use proxy",bD="Ok",bE="qx.io.remote.Response",bF="Not found",bG=", ",bN="receiving",bO="Not acceptable",bP="Request time-out",cc="Bad request",bK="Conflict",bL="No content",bM="configured",bB='Unknown status code. Possibly due to application URL using \'file:\' protocol?',bS="file:",bC="qx.io.remote.transport.Iframe",bT="Request entity too large",bU="Unknown status code",bY="timeout",bQ="Unsupported media type",cb="Gateway time-out",bR="created",bV="Out of resources",bW="undefined",bX="Please attach a request object first",ca=" [";qx.Class.define(n,{extend:qx.core.Object,construct:function(cd){qx.core.Object.call(this);this.setRequest(cd);cd.setTransport(this);},events:{"sending":K,"receiving":K,"completed":bE,"aborted":K,"failed":bE,"timeout":bE},statics:{typesOrder:[b,bC,v],typesReady:false,typesAvailable:{},typesSupported:{},registerType:function(ce,cf){qx.io.remote.Exchange.typesAvailable[cf]=ce;},initTypes:function(){if(qx.io.remote.Exchange.typesReady){return;};for(var cg in qx.io.remote.Exchange.typesAvailable){var ch=qx.io.remote.Exchange.typesAvailable[cg];if(ch.isSupported()){qx.io.remote.Exchange.typesSupported[cg]=ch;};};qx.io.remote.Exchange.typesReady=true;if(qx.lang.Object.isEmpty(qx.io.remote.Exchange.typesSupported)){throw new Error(w);};},canHandle:function(ck,cj,ci){if(!qx.lang.Array.contains(ck.handles.responseTypes,ci)){return false;};for(var cl in cj){if(!ck.handles[cl]){return false;};};return true;},_nativeMap:{'0':bR,'1':bM,'2':U,'3':bN,'4':bH},wasSuccessful:function(cm,cn,co){if(co){switch(cm){case null:case 0:return true;case -1:return cn<4;default:return typeof cm===bW;};}else {switch(cm){case -1:{};return cn<4;case 200:case 304:return true;case 201:case 202:case 203:case 204:case 205:return true;case 206:{};return cn!==4;case 300:case 301:case 302:case 303:case 305:case 400:case 401:case 402:case 403:case 404:case 405:case 406:case 407:case 408:case 409:case 410:case 411:case 412:case 413:case 414:case 415:case 500:case 501:case 502:case 503:case 504:case 505:{};return false;case 12002:case 12007:case 12029:case 12030:case 12031:case 12152:case 13030:{};return false;default:if(cm>206&&cm<300){return true;};qx.log.Logger.debug(this,I+cm+V+cn+k);return false;};};},statusCodeToString:function(cp){switch(cp){case -1:return g;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 s;case 204:return bL;case 300:return z;case 301:return R;case 302:return W;case 303:return q;case 305:return bJ;case 400:return cc;case 401:return x;case 402:return B;case 403:return Y;case 404:return bF;case 405:return J;case 406:return bO;case 407:return A;case 408:return bP;case 409:return bK;case 410:return p;case 411:return G;case 412:return h;case 413:return bT;case 414:return d;case 415:return bQ;case 500:return j;case 501:return E;case 502:return o;case 503:return bV;case 504:return cb;case 505:return N;case 12002:return u;case 12029:return P;case 12030:return P;case 12031:return P;case 12152:return Q;case 13030:return f;default:return bU;};}},properties:{request:{check:O,nullable:true},implementation:{check:c,nullable:true,apply:S},state:{check:[bM,U,bN,bH,t,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(bI));};}else {cI.setData(cL);};cI.setResponseType(cH.getResponseType());cI.addListener(U,this._onsending,this);cI.addListener(bN,this._onreceiving,this);cI.addListener(bH,this._oncompleted,this);cI.addListener(t,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 bH:case t:case bY:case H:var cR=this.getImplementation();if(!cR){break;};this.__oa();if(this.hasListener(cQ)){var cP=qx.event.Registration.createEvent(cQ,qx.io.remote.Response);if(cQ==bH){var cN=cR.getResponseContent();cP.setContent(cN);if(cN===null){{};cQ=H;};}else if(cQ==H){cP.setContent(cR.getResponseContent());};cP.setStatusCode(cR.getStatusCode());cP.setResponseHeaders(cR.getResponseHeaders());this.dispatchEvent(cP);};this.setImplementation(null);cR.dispose();break;};}},environment:{"qx.debug.io.remote":false,"qx.debug.io.remote.data":false},destruct:function(){var cS=this.getImplementation();if(cS){this.setImplementation(null);cS.dispose();};this.setRequest(null);}});})();(function(){var a="Boolean",b="setRequestHeader is abstract",c="getFetchedLength is abstract",d="getStatusText is abstract",e="getStatusCode is abstract",f="GET",g="aborted",h="Object",i="send is abstract",j="receiving",k="_applyState",l="qx.event.type.Event",m="changeState",n="String",o="getResponseHeader is abstract",p="sending",q="getResponseHeaders is abstract",r="completed",s="failed",t="getResponseText is abstract",u="abstract",v="configured",w="qx.io.remote.transport.Abstract",x="getResponseXml is abstract",y="created",z="timeout";qx.Class.define(w,{type:u,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.setRequestHeaders({});this.setParameters({});this.setFormFields({});},events:{"created":l,"configured":l,"sending":l,"receiving":l,"completed":l,"aborted":l,"failed":l,"timeout":l},properties:{url:{check:n,nullable:true},method:{check:n,nullable:true,init:f},asynchronous:{check:a,nullable:true,init:true},data:{check:n,nullable:true},username:{check:n,nullable:true},password:{check:n,nullable:true},state:{check:[y,v,p,j,r,g,z,s],init:y,event:m,apply:k},requestHeaders:{check:h,nullable:true},parameters:{check:h,nullable:true},formFields:{check:h,nullable:true},responseType:{check:n,nullable:true},useBasicHttpAuth:{check:a,nullable:true}},members:{send:function(){throw new Error(i);},abort:function(){{};this.setState(g);},timeout:function(){{};this.setState(z);},failed:function(){{};this.setState(s);},setRequestHeader:function(A,B){throw new Error(b);},getResponseHeader:function(C){throw new Error(o);},getResponseHeaders:function(){throw new Error(q);},getStatusCode:function(){throw new Error(e);},getStatusText:function(){throw new Error(d);},getResponseText:function(){throw new Error(t);},getResponseXml:function(){throw new Error(x);},getFetchedLength:function(){throw new Error(c);},_applyState:function(E,D){{};switch(E){case y:this.fireEvent(y);break;case v:this.fireEvent(v);break;case p:this.fireEvent(p);break;case j:this.fireEvent(j);break;case r:this.fireEvent(r);break;case g:this.fireEvent(g);break;case s:this.fireEvent(s);break;case z:this.fireEvent(z);break;};return true;}},destruct:function(){this.setRequestHeaders(null);this.setParameters(null);this.setFormFields(null);}});})();(function(){var a="application/xml",b=")!",c="application/json",d="text/html",f=")",g="gecko",h="frame_",j="Could not execute json: (",k="aborted",l="textarea",m="_data_",n="No valid responseType specified (",o="load",p="text/plain",q="text/javascript",r="pre",s="javascript:void(0)",t="",u="sending",v="readystatechange",w="completed",x="form",y="Could not execute javascript: (",z="failed",A="mshtml",B="engine.name",C="Ignore Ready State Change",D="form_",E="?",F="qx.io.remote.transport.Iframe",G="&",H="=",I="none",J="opera",K="timeout",L="qx/static/blank.gif",M="display";qx.Class.define(F,{extend:qx.io.remote.transport.Abstract,construct:function(){qx.io.remote.transport.Abstract.call(this);var N=(new Date).valueOf();var O=h+N;var P=D+N;var Q;if((qx.core.Environment.get(B)==A)){Q=s;};this.__ob=qx.bom.Iframe.create({id:O,name:O,src:Q});qx.bom.element.Style.set(this.__ob,M,I);this.__oc=qx.dom.Element.create(x,{id:P,name:P,target:O});qx.bom.element.Style.set(this.__oc,M,I);qx.dom.Element.insertEnd(this.__oc,qx.dom.Node.getBodyElement(document));this.__cO=qx.dom.Element.create(l,{id:m,name:m});qx.dom.Element.insertEnd(this.__cO,this.__oc);qx.dom.Element.insertEnd(this.__ob,qx.dom.Node.getBodyElement(document));qx.event.Registration.addListener(this.__ob,o,this._onload,this);this.__od=qx.lang.Function.listener(this._onreadystatechange,this);qx.bom.Event.addNativeListener(this.__ob,v,this.__od);},statics:{handles:{synchronous:false,asynchronous:true,crossDomain:false,fileUpload:true,programaticFormFields:true,responseTypes:[p,q,c,a,d]},isSupported:function(){return true;},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4}},members:{__cO:null,__oe:0,__oc:null,__ob:null,__od:null,send:function(){var S=this.getMethod();var U=this.getUrl();var Y=this.getParameters(false);var X=[];for(var T in Y){var V=Y[T];if(V instanceof Array){for(var i=0;i0){U+=(U.indexOf(E)>=0?G:E)+X.join(G);};if(this.getData()===null){var Y=this.getParameters(true);var X=[];for(var T in Y){var V=Y[T];if(V instanceof Array){for(var i=0;i0){this.setData(X.join(G));};};var R=this.getFormFields();for(var T in R){var W=document.createElement(l);W.name=T;W.appendChild(document.createTextNode(R[T]));this.__oc.appendChild(W);};this.__oc.action=U;this.__oc.method=S;this.__cO.appendChild(document.createTextNode(this.getData()));this.__oc.submit();this.setState(u);},_onload:qx.event.GlobalError.observeMethod(function(e){if(qx.core.Environment.get(B)==J&&this.getIframeHtmlContent()==t){return;};if(this.__oc.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.__ob.readyState]);}),_switchReadyState:function(ba){switch(this.getState()){case w:case k:case z:case K:this.warn(C);return;};while(this.__oe0?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.__ob){qx.event.Registration.removeListener(this.__ob,o,this._onload,this);qx.bom.Event.removeNativeListener(this.__ob,v,this.__od);if((qx.core.Environment.get(B)==g)){this.__ob.src=qx.util.ResourceManager.getInstance().toUri(L);};qx.dom.Element.remove(this.__ob);};if(this.__oc){qx.dom.Element.remove(this.__oc);};this.__ob=this.__oc=this.__cO=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.__og;if(w>=2000000000){qx.io.remote.transport.Script.__og=w=1;};this.__gg=null;this.__og=w;},statics:{__og: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:{__oe:0,__gg:null,__og:null,send:function(){var B=this.getUrl();B+=(B.indexOf(f)>=0?a:f)+qx.io.remote.transport.Script.ScriptTransport_ID_PARAM+k+this.__og;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.__og]=this;this.__gg=document.createElement(j);this.__gg.charset=t;this.__gg.src=B;{};document.body.appendChild(this.__gg);},_switchReadyState:function(F){switch(this.getState()){case m:case s:case u:case l:this.warn(b);return;};while(this.__oe0){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.__oi=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:{__oj: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.__oj){return this.__oj[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.__oj=j;};}}});})();(function(){var a="button-checked",b="window-resize-frame",c="decoration/window/maximize-active-hovered.png",d="radiobutton-hovered",e="decoration/arrows/right.png",f="background-application",g="keyboard-focus",h="group-item",i="scrollbar/button",j="decoration/cursors/",k="icon/16/actions/dialog-ok.png",l="border-invalid",m="combobox/button",n="icon/16/apps/office-calendar.png",o="slidebar",p="menu",q="table-scroller-focus-indicator",r="move-frame",s="nodrop",t="decoration/table/boolean-true.png",u="table-header-cell",v="app-header",w="row-layer",x="icon/16/places/folder.png",y="text-inactive",z="image",A="radiobutton",B="move",C="window-resize-frame-incl-statusbar",D="radiobutton-checked-focused",E="decoration/window/restore-active-hovered.png",F="window-captionbar-inactive",G="list",H="text-label",I="tree-folder",J="right.png",K="tabview-page-button-bottom-inactive",L="tooltip-error",M="decoration/tree/closed.png",N="window-statusbar",O="button-hovered",P="bold",Q="decoration/scrollbar/scrollbar-",R="background-tip",S="scrollbar-slider-horizontal-disabled",T="text-disabled",U="table-scroller-header",V="radiobutton-disabled",W="scrollbar-slider-horizontal",X="button-pressed",Y="table-pane",fD="decoration/window/close-active.png",fz="native",fE="checkbox-hovered",fA="decoration/window/minimize-active-hovered.png",fB="input-disabled",fw="virtual-list",fC="menubar",fJ="groupbox",fK="icon/16/actions/dialog-cancel.png",fL="tabview-page-button-top-inactive",fM="tabview-page-button-left-inactive",fF="menu-slidebar",fG="toolbar-button-checked",fH="decoration/arrows/left.png",fI="decoration/tree/open-selected.png",fQ="tree-item",gs="radiobutton-checked",fR="decoration/window/minimize-inactive.png",fS="menu-button",fN="button-focused",fO="input",ht="text-light",fP="menu-slidebar-button",fT="decoration/arrows/down.png",fU="middle",fV="group",gb="tree",gc="tabview-page-button-right-inactive",gd="decoration/window/minimize-active.png",fW="decoration/window/restore-inactive.png",fX="input-focused-invalid",fY="text-active",ga="splitpane",gh="text-input",gi="combobox/textfield",hy="decoration/window/close-active-hovered.png",gj="invalid",ge="qx/icon/Tango/16/actions/window-close.png",gf="combobox",hx="button-disabled",gg="tabview-page-button-left-active",gn="slidebar/button-forward",go="border-separator",hD="treevirtual-contract",gp="decoration/window/maximize-inactive.png",gk="scrollbar",gl="icon/22/places/folder-open.png",hB="right-top",gm="scrollarea",gq="background-splitpane",gr="datechooser/nav-button",gD="scrollbar-vertical",gC="decoration/toolbar/toolbar-handle-knob.gif",gB="icon/22/mimetypes/office-document.png",gH="text-selected",gG="cell",gF="button-checked-focused",gE="text-title",gw="best-fit",gv="decoration/tree/closed-selected.png",gu="text-hovered",gt="qx.theme.modern.Appearance",gA="decoration/tree/open.png",gz="default",gy="decoration/arrows/up-invert.png",gx="checkbox-disabled",gO="selected",gN="toolbar-button-hovered",gM="decoration/form/checked.png",gL="button",gS="progressive-table-header",gR="decoration/menu/radiobutton.gif",gQ="window-incl-statusbar",gP="decoration/arrows/down-small.png",gK="decoration/arrows/forward.png",gJ="decoration/table/descending.png",gI="decoration/form/undetermined.png",he="tree-file",hd="decoration/form/tooltip-error-arrow-right.png",hc="keep-align",hi="scrollbar-slider-vertical",hh="center",hg="toolbar",hf="alias",gW="decoration/window/restore-active.png",gV="datechooser",gU="toolbar-button",gT="decoration/table/boolean-false.png",hb="qx/static/blank.png",ha="window-pane",gY="icon/32/mimetypes/office-document.png",gX="slidebar/button-backward",ho="radiobutton-checked-disabled",hn="tabview-pane",hm="decoration/arrows/rewind.png",hl="checkbox-focused",hs="selectbox",hr="background-light",hq="top",hp="right",hk="main",hj="button-frame",eB="progressbar-background",eA="radiobutton-checked-hovered",hE="popup",ey="treevirtual-folder",ez="checkbox",ex="table-header-cell-hovered",hC="window",ev="icon/16/mimetypes/office-document.png",ew="treevirtual-expand",eu="text-gray",hz="left",es="decoration/menu/radiobutton-invert.gif",et="text-placeholder",er="atom",eK="up.png",eL="slider",eI="background-medium",eJ="decoration/table/select-column-order.png",eG="down.png",eH="widget",eF="groupitem-text",eq="tabview-page-button-top-active",eD="icon/32/places/folder-open.png",eE="icon/22/places/folder.png",eC="decoration/window/maximize-active.png",eY="decoration/window/close-inactive.png",eW="toolbar-part",eX="decoration/splitpane/knob-vertical.png",eU="left.png",eV="decoration/menu/checkbox-invert.gif",eT="table",hw="decoration/arrows/up.png",eR="table-statusbar",eS="decoration/form/tooltip-error-arrow.png",eQ="window-captionbar-active",hA="copy",eO="radiobutton-focused",eP="decoration/arrows/down-invert.png",eM="decoration/menu/checkbox.gif",eN="",fh="window-caption-active-text",fi="decoration/splitpane/knob-horizontal.png",ff="textfield",fg="icon/32/places/folder.png",fd="toolbar-separator",fe="tabview-page-button-bottom-active",fc="decoration/arrows/up-small.png",hv="decoration/table/ascending.png",fa="small",fb="tabview-page-button-right-active",fv="spinner",hu="tooltip",fx="-disabled",fs="label",fr="scrollbar-horizontal",fu="-invalid",ft="progressbar",fo="progressive-table-header-cell",fn="menu-separator",fq="pane",fp="decoration/arrows/right-invert.png",fk="icon/16/places/folder-open.png",fj="qx/static/blank.gif",fm=".gif",fl="icon/16/actions/view-refresh.png",fy="input-focused";qx.Theme.define(gt,{appearances:{"widget":{},"root":{style:function(hF){return {backgroundColor:f,textColor:H,font:gz};}},"label":{style:function(hG){return {textColor:hG.disabled?T:undefined};}},"move-frame":{style:function(hH){return {decorator:hk};}},"resize-frame":r,"dragdrop-cursor":{style:function(hI){var hJ=s;if(hI.copy){hJ=hA;}else if(hI.move){hJ=B;}else if(hI.alias){hJ=hf;};return {source:j+hJ+fm,position:hB,offset:[2,16,2,6]};}},"image":{style:function(hK){return {opacity:!hK.replacement&&hK.disabled?0.3:1};}},"atom":{},"atom/label":fs,"atom/icon":z,"popup":{style:function(hL){return {decorator:hE,backgroundColor:hr};}},"button-frame":{alias:er,style:function(hM){var hP,hO;var hN=[3,9];if(hM.checked&&hM.focused&&!hM.inner){hP=gF;hO=undefined;hN=[1,7];}else if(hM.disabled){hP=hx;hO=undefined;}else if(hM.pressed){hP=X;hO=gu;}else if(hM.checked){hP=a;hO=undefined;}else if(hM.hovered){hP=O;hO=gu;}else if(hM.focused&&!hM.inner){hP=fN;hO=undefined;hN=[1,7];}else {hP=gL;hO=undefined;};if(hM.invalid&&!hM.disabled){hP+=fu;};return {decorator:hP,textColor:hO,padding:hN,margin:[1,0]};}},"button-frame/image":{style:function(hQ){return {opacity:!hQ.replacement&&hQ.disabled?0.5:1};}},"button":{alias:hj,include:hj,style:function(hR){return {center:true};}},"hover-button":{alias:er,include:er,style:function(hS){var hT=hS.hovered?gO:undefined;return {decorator:hT,textColor:hS.hovered?gH:undefined};}},"menubutton":{include:gL,alias:gL,style:function(hU){return {icon:fT,iconPosition:hp};}},"splitbutton":{},"splitbutton/button":gL,"splitbutton/arrow":{alias:gL,include:gL,style:function(hV,hW){return {icon:fT,padding:[hW.padding[0],hW.padding[1]-6],marginLeft:1};}},"form-renderer-label":{include:fs,style:function(){return {paddingTop:4};}},"checkbox":{alias:er,style:function(hX){var hY;if(hX.checked){hY=gM;}else if(hX.undetermined){hY=gI;}else {hY=fj;};return {icon:hY,minWidth:14,gap:8,paddingLeft:2};}},"checkbox/icon":{style:function(ia){var ic;if(ia.disabled){ic=gx;}else if(ia.focused){ic=hl;}else if(ia.hovered){ic=fE;}else {ic=ez;};ic+=ia.invalid&&!ia.disabled?fu:eN;var ib=ia.undetermined?[3,1]:1;return {decorator:ic,padding:ib,width:10,height:10};}},"radiobutton":{alias:er,style:function(id){return {icon:hb,gap:8,paddingLeft:2};}},"radiobutton/icon":{style:function(ie){var ig;if(ie.disabled&&!ie.checked){ig=V;}else if(ie.checked&&ie.focused){ig=D;}else if(ie.checked&&ie.disabled){ig=ho;}else if(ie.checked&&ie.hovered){ig=eA;}else if(ie.checked){ig=gs;}else if(ie.focused){ig=eO;}else if(ie.hovered){ig=d;}else {ig=A;};ig+=ie.invalid&&!ie.disabled?fu:eN;return {decorator:ig,width:10,height:10};}},"textfield":{style:function(ih){var im;var ik=!!ih.focused;var ii=!!ih.invalid;var ij=!!ih.disabled;if(ik&&ii&&!ij){im=fX;}else if(ik&&!ii&&!ij){im=fy;}else if(ij){im=fB;}else if(!ik&&ii&&!ij){im=l;}else {im=fO;};var il;if(ih.disabled){il=T;}else if(ih.showingPlaceholder){il=et;}else {il=gh;};return {decorator:im,padding:[2,4,1],textColor:il};}},"textarea":{include:ff,style:function(io){return {padding:4};}},"spinner":{style:function(ip){var is;var ir=!!ip.focused;var it=!!ip.invalid;var iq=!!ip.disabled;if(ir&&it&&!iq){is=fX;}else if(ir&&!it&&!iq){is=fy;}else if(iq){is=fB;}else if(!ir&&it&&!iq){is=l;}else {is=fO;};return {decorator:is};}},"spinner/textfield":{style:function(iu){return {marginRight:2,padding:[2,4,1],textColor:iu.disabled?T:gh};}},"spinner/upbutton":{alias:hj,include:hj,style:function(iv,iw){return {icon:fc,padding:[iw.padding[0]-1,iw.padding[1]-5],margin:0};}},"spinner/downbutton":{alias:hj,include:hj,style:function(ix,iy){return {icon:gP,padding:[iy.padding[0]-1,iy.padding[1]-5],margin:0};}},"datefield":gf,"datefield/button":{alias:m,include:m,style:function(iz){return {icon:n,padding:[0,3],decorator:undefined};}},"datefield/textfield":gi,"datefield/list":{alias:gV,include:gV,style:function(iA){return {decorator:undefined};}},"groupbox":{style:function(iB){return {legendPosition:hq};}},"groupbox/legend":{alias:er,style:function(iC){return {padding:[1,0,1,4],textColor:iC.invalid?gj:gE,font:P};}},"groupbox/frame":{style:function(iD){return {padding:10,margin:1,decorator:fV};}},"check-groupbox":fJ,"check-groupbox/legend":{alias:ez,include:ez,style:function(iE){return {padding:[1,0,1,4],textColor:iE.invalid?gj:gE,font:P};}},"radio-groupbox":fJ,"radio-groupbox/legend":{alias:A,include:A,style:function(iF){return {padding:[1,0,1,4],textColor:iF.invalid?gj:gE,font:P};}},"scrollarea":{style:function(iG){return {minWidth:50,minHeight:50};}},"scrollarea/corner":{style:function(iH){return {backgroundColor:f};}},"scrollarea/pane":eH,"scrollarea/scrollbar-x":gk,"scrollarea/scrollbar-y":gk,"scrollbar":{style:function(iI){if(iI[fz]){return {};};return {width:iI.horizontal?undefined:16,height:iI.horizontal?16:undefined,decorator:(iI.horizontal?fr:gD),padding:1};}},"scrollbar/slider":{alias:eL,style:function(iJ){return {padding:iJ.horizontal?[0,1,0,1]:[1,0,1,0]};}},"scrollbar/slider/knob":{include:hj,style:function(iK){var iL=iK.horizontal?W:hi;if(iK.disabled){iL+=fx;};return {decorator:iL,minHeight:iK.horizontal?undefined:9,minWidth:iK.horizontal?9:undefined,padding:undefined,margin:0};}},"scrollbar/button":{alias:hj,include:hj,style:function(iM){var iO=Q;if(iM.left){iO+=eU;}else if(iM.right){iO+=J;}else if(iM.up){iO+=eK;}else {iO+=eG;};if(iM.left||iM.right){var iN=iM.left?3:4;return {padding:[3,0,3,iN],icon:iO,width:15,height:14,margin:0};}else {return {padding:3,icon:iO,width:14,height:15,margin:0};};}},"scrollbar/button-begin":i,"scrollbar/button-end":i,"slider":{style:function(iP){var iS;var iR=!!iP.focused;var iT=!!iP.invalid;var iQ=!!iP.disabled;if(iR&&iT&&!iQ){iS=fX;}else if(iR&&!iT&&!iQ){iS=fy;}else if(iQ){iS=fB;}else if(!iR&&iT&&!iQ){iS=l;}else {iS=fO;};return {decorator:iS};}},"slider/knob":{include:hj,style:function(iU){return {decorator:iU.disabled?S:W,height:14,width:14,padding:0,margin:0};}},"list":{alias:gm,style:function(iV){var iY;var iX=!!iV.focused;var ja=!!iV.invalid;var iW=!!iV.disabled;if(iX&&ja&&!iW){iY=fX;}else if(iX&&!ja&&!iW){iY=fy;}else if(iW){iY=fB;}else if(!iX&&ja&&!iW){iY=l;}else {iY=fO;};return {backgroundColor:hr,decorator:iY};}},"list/pane":eH,"listitem":{alias:er,style:function(jb){return {padding:jb.dragover?[4,4,2,4]:4,textColor:jb.selected?gH:undefined,decorator:jb.selected?gO:undefined,opacity:jb.drag?0.5:undefined};}},"slidebar":{},"slidebar/scrollpane":{},"slidebar/content":{},"slidebar/button-forward":{alias:hj,include:hj,style:function(jc){return {padding:5,center:true,icon:jc.vertical?fT:e};}},"slidebar/button-backward":{alias:hj,include:hj,style:function(jd){return {padding:5,center:true,icon:jd.vertical?hw:fH};}},"tabview":{style:function(je){return {contentPadding:16};}},"tabview/bar":{alias:o,style:function(jf){var jg={marginBottom:jf.barTop?-1:0,marginTop:jf.barBottom?-4:0,marginLeft:jf.barRight?-3:0,marginRight:jf.barLeft?-1:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0};if(jf.barTop||jf.barBottom){jg.paddingLeft=5;jg.paddingRight=7;}else {jg.paddingTop=5;jg.paddingBottom=7;};return jg;}},"tabview/bar/button-forward":{include:gn,alias:gn,style:function(jh){if(jh.barTop||jh.barBottom){return {marginTop:2,marginBottom:2};}else {return {marginLeft:2,marginRight:2};};}},"tabview/bar/button-backward":{include:gX,alias:gX,style:function(ji){if(ji.barTop||ji.barBottom){return {marginTop:2,marginBottom:2};}else {return {marginLeft:2,marginRight:2};};}},"tabview/bar/scrollpane":{},"tabview/pane":{style:function(jj){return {decorator:hn,marginBottom:jj.barBottom?-1:0,marginTop:jj.barTop?-1:0,marginLeft:jj.barLeft?-1:0,marginRight:jj.barRight?-1:0};}},"tabview-page":{alias:eH,include:eH,style:function(jk){return {padding:[4,3]};}},"tabview-page/button":{alias:er,style:function(jl){var jr,jn=0;var jq=0,jm=0,jo=0,jp=0;if(jl.checked){if(jl.barTop){jr=eq;jn=[5,11];jo=jl.firstTab?0:-5;jp=jl.lastTab?0:-5;}else if(jl.barBottom){jr=fe;jn=[5,11];jo=jl.firstTab?0:-5;jp=jl.lastTab?0:-5;jq=3;}else if(jl.barRight){jr=fb;jn=[5,10];jq=jl.firstTab?0:-5;jm=jl.lastTab?0:-5;jo=2;}else {jr=gg;jn=[5,10];jq=jl.firstTab?0:-5;jm=jl.lastTab?0:-5;};}else {if(jl.barTop){jr=fL;jn=[3,9];jq=4;jo=jl.firstTab?5:1;jp=1;}else if(jl.barBottom){jr=K;jn=[3,9];jm=4;jo=jl.firstTab?5:1;jp=1;jq=3;}else if(jl.barRight){jr=gc;jn=[3,9];jp=5;jq=jl.firstTab?5:1;jm=1;jo=3;}else {jr=fM;jn=[3,9];jo=5;jq=jl.firstTab?5:1;jm=1;jp=1;};};return {zIndex:jl.checked?10:5,decorator:jr,padding:jn,marginTop:jq,marginBottom:jm,marginLeft:jo,marginRight:jp,textColor:jl.disabled?T:jl.checked?fY:y};}},"tabview-page/button/label":{alias:fs,style:function(js){return {padding:js.focused?[0,1,0,1]:[1,2,1,2],decorator:js.focused?g:undefined};}},"tabview-page/button/close-button":{alias:er,style:function(jt){return {icon:ge};}},"toolbar":{style:function(ju){return {decorator:hg,spacing:2};}},"toolbar/part":{style:function(jv){return {decorator:eW,spacing:2};}},"toolbar/part/container":{style:function(jw){return {paddingLeft:2,paddingRight:2};}},"toolbar/part/handle":{style:function(jx){return {source:gC,marginLeft:3,marginRight:3};}},"toolbar-button":{alias:er,style:function(jy){var jz;if(jy.pressed||(jy.checked&&!jy.hovered)||(jy.checked&&jy.disabled)){jz=fG;}else if(jy.hovered&&!jy.disabled){jz=gN;};return {marginTop:2,marginBottom:2,padding:(jy.pressed||jy.checked||jy.hovered)&&!jy.disabled||(jy.disabled&&jy.checked)?3:5,decorator:jz};}},"toolbar-menubutton":{alias:gU,include:gU,style:function(jA){return {showArrow:true};}},"toolbar-menubutton/arrow":{alias:z,include:z,style:function(jB){return {source:gP};}},"toolbar-splitbutton":{style:function(jC){return {marginTop:2,marginBottom:2};}},"toolbar-splitbutton/button":{alias:gU,include:gU,style:function(jD){return {icon:fT,marginTop:undefined,marginBottom:undefined};}},"toolbar-splitbutton/arrow":{alias:gU,include:gU,style:function(jE){if(jE.pressed||jE.checked||(jE.hovered&&!jE.disabled)){var jF=1;}else {var jF=3;};return {padding:jF,icon:fT,marginTop:undefined,marginBottom:undefined};}},"toolbar-separator":{style:function(jG){return {decorator:fd,margin:7};}},"tree":G,"tree-item":{style:function(jH){var jI=jH.selected?gO:undefined;return {padding:[2,6],textColor:jH.selected?gH:undefined,decorator:jI,opacity:jH.drag?0.5:undefined};}},"tree-item/icon":{include:z,style:function(jJ){return {paddingRight:5};}},"tree-item/label":fs,"tree-item/open":{include:z,style:function(jK){var jL;if(jK.selected&&jK.opened){jL=fI;}else if(jK.selected&&!jK.opened){jL=gv;}else if(jK.opened){jL=gA;}else {jL=M;};return {padding:[0,5,0,2],source:jL};}},"tree-folder":{include:fQ,alias:fQ,style:function(jM){var jO,jN;if(jM.small){jO=jM.opened?fk:x;jN=fk;}else if(jM.large){jO=jM.opened?eD:fg;jN=eD;}else {jO=jM.opened?gl:eE;jN=gl;};return {icon:jO,iconOpened:jN};}},"tree-file":{include:fQ,alias:fQ,style:function(jP){return {icon:jP.small?ev:jP.large?gY:gB};}},"treevirtual":eT,"treevirtual-folder":{style:function(jQ){return {icon:jQ.opened?fk:x};}},"treevirtual-file":{include:ey,alias:ey,style:function(jR){return {icon:ev};}},"treevirtual-line":{style:function(jS){return {icon:fj};}},"treevirtual-contract":{style:function(jT){return {icon:gA,paddingLeft:5,paddingTop:2};}},"treevirtual-expand":{style:function(jU){return {icon:M,paddingLeft:5,paddingTop:2};}},"treevirtual-only-contract":hD,"treevirtual-only-expand":ew,"treevirtual-start-contract":hD,"treevirtual-start-expand":ew,"treevirtual-end-contract":hD,"treevirtual-end-expand":ew,"treevirtual-cross-contract":hD,"treevirtual-cross-expand":ew,"treevirtual-end":{style:function(jV){return {icon:fj};}},"treevirtual-cross":{style:function(jW){return {icon:fj};}},"tooltip":{include:hE,style:function(jX){return {backgroundColor:R,padding:[1,3,2,3],offset:[15,5,5,5]};}},"tooltip/atom":er,"tooltip-error":{style:function(jY){return {placeMethod:eH,offset:[-3,1,0,0],arrowPosition:jY.placementLeft?hz:hp,position:hB,showTimeout:100,hideTimeout:10000,padding:[0,4,4,0]};}},"tooltip-error/arrow":{include:z,style:function(ka){var kb=ka.placementLeft?hd:eS;return {source:kb,padding:[6,0,0,0],zIndex:10000001};}},"tooltip-error/atom":{include:hE,style:function(kc){return {textColor:gH,backgroundColor:undefined,decorator:L,font:P,padding:[3,4,4,4],margin:[1,0,0,0],maxWidth:333};}},"window":{style:function(kd){return {decorator:kd.showStatusbar?gQ:hC,contentPadding:[10,10,10,10],margin:kd.maximized?0:[0,5,5,0]};}},"window-resize-frame":{style:function(ke){return {decorator:ke.showStatusbar?C:b};}},"window/pane":{style:function(kf){return {decorator:ha};}},"window/captionbar":{style:function(kg){return {decorator:(kg.active?eQ:F),textColor:kg.active?fh:eu,minHeight:26,paddingRight:2};}},"window/icon":{style:function(kh){return {margin:[5,0,3,6]};}},"window/title":{style:function(ki){return {alignY:fU,font:P,marginLeft:6,marginRight:12};}},"window/minimize-button":{alias:er,style:function(kj){return {icon:kj.active?kj.hovered?fA:gd:fR,margin:[4,8,2,0]};}},"window/restore-button":{alias:er,style:function(kk){return {icon:kk.active?kk.hovered?E:gW:fW,margin:[5,8,2,0]};}},"window/maximize-button":{alias:er,style:function(kl){return {icon:kl.active?kl.hovered?c:eC:gp,margin:[4,8,2,0]};}},"window/close-button":{alias:er,style:function(km){return {icon:km.active?km.hovered?hy:fD:eY,margin:[4,8,2,0]};}},"window/statusbar":{style:function(kn){return {padding:[2,6],decorator:N,minHeight:18};}},"window/statusbar-text":{style:function(ko){return {font:fa};}},"iframe":{style:function(kp){return {decorator:hk};}},"resizer":{style:function(kq){return {decorator:fq};}},"splitpane":{style:function(kr){return {decorator:ga};}},"splitpane/splitter":{style:function(ks){return {width:ks.horizontal?3:undefined,height:ks.vertical?3:undefined,backgroundColor:gq};}},"splitpane/splitter/knob":{style:function(kt){return {source:kt.horizontal?fi:eX};}},"splitpane/slider":{style:function(ku){return {width:ku.horizontal?3:undefined,height:ku.vertical?3:undefined,backgroundColor:gq};}},"selectbox":hj,"selectbox/atom":er,"selectbox/popup":hE,"selectbox/list":{alias:G},"selectbox/arrow":{include:z,style:function(kv){return {source:fT,paddingLeft:5};}},"datechooser":{style:function(kw){var kz;var ky=!!kw.focused;var kA=!!kw.invalid;var kx=!!kw.disabled;if(ky&&kA&&!kx){kz=fX;}else if(ky&&!kA&&!kx){kz=fy;}else if(kx){kz=fB;}else if(!ky&&kA&&!kx){kz=l;}else {kz=fO;};return {padding:2,decorator:kz,backgroundColor:hr};}},"datechooser/navigation-bar":{},"datechooser/nav-button":{include:hj,alias:hj,style:function(kB){var kC={padding:[2,4]};if(kB.lastYear){kC.icon=hm;kC.marginRight=1;}else if(kB.lastMonth){kC.icon=fH;}else if(kB.nextYear){kC.icon=gK;kC.marginLeft=1;}else if(kB.nextMonth){kC.icon=e;};return kC;}},"datechooser/last-year-button-tooltip":hu,"datechooser/last-month-button-tooltip":hu,"datechooser/next-year-button-tooltip":hu,"datechooser/next-month-button-tooltip":hu,"datechooser/last-year-button":gr,"datechooser/last-month-button":gr,"datechooser/next-month-button":gr,"datechooser/next-year-button":gr,"datechooser/month-year-label":{style:function(kD){return {font:P,textAlign:hh,textColor:kD.disabled?T:undefined};}},"datechooser/date-pane":{style:function(kE){return {textColor:kE.disabled?T:undefined,marginTop:2};}},"datechooser/weekday":{style:function(kF){return {textColor:kF.disabled?T:kF.weekend?ht:undefined,textAlign:hh,paddingTop:2,backgroundColor:eI};}},"datechooser/week":{style:function(kG){return {textAlign:hh,padding:[2,4],backgroundColor:eI};}},"datechooser/day":{style:function(kH){var kI=kH.disabled?undefined:kH.selected?gO:undefined;return {textAlign:hh,decorator:kI,textColor:kH.disabled?T:kH.selected?gH:kH.otherMonth?ht:undefined,font:kH.today?P:undefined,padding:[2,4]};}},"combobox":{style:function(kJ){var kM;var kL=!!kJ.focused;var kN=!!kJ.invalid;var kK=!!kJ.disabled;if(kL&&kN&&!kK){kM=fX;}else if(kL&&!kN&&!kK){kM=fy;}else if(kK){kM=fB;}else if(!kL&&kN&&!kK){kM=l;}else {kM=fO;};return {decorator:kM};}},"combobox/popup":hE,"combobox/list":{alias:G},"combobox/button":{include:hj,alias:hj,style:function(kO,kP){var kQ={icon:fT,padding:[kP.padding[0],kP.padding[1]-6],margin:undefined};if(kO.selected){kQ.decorator=fN;};return kQ;}},"combobox/textfield":{include:ff,style:function(kR){return {decorator:undefined};}},"menu":{style:function(kS){var kT={decorator:p,spacingX:6,spacingY:1,iconColumnWidth:16,arrowColumnWidth:4,placementModeY:kS.submenu||kS.contextmenu?gw:hc};if(kS.submenu){kT.position=hB;kT.offset=[-2,-3];};return kT;}},"menu/slidebar":fF,"menu-slidebar":eH,"menu-slidebar-button":{style:function(kU){var kV=kU.hovered?gO:undefined;return {decorator:kV,padding:7,center:true};}},"menu-slidebar/button-backward":{include:fP,style:function(kW){return {icon:kW.hovered?gy:hw};}},"menu-slidebar/button-forward":{include:fP,style:function(kX){return {icon:kX.hovered?eP:fT};}},"menu-separator":{style:function(kY){return {height:0,decorator:fn,margin:[4,2]};}},"menu-button":{alias:er,style:function(la){var lb=la.selected?gO:undefined;return {decorator:lb,textColor:la.selected?gH:undefined,padding:[4,6]};}},"menu-button/icon":{include:z,style:function(lc){return {alignY:fU};}},"menu-button/label":{include:fs,style:function(ld){return {alignY:fU,padding:1};}},"menu-button/shortcut":{include:fs,style:function(le){return {alignY:fU,marginLeft:14,padding:1};}},"menu-button/arrow":{include:z,style:function(lf){return {source:lf.selected?fp:e,alignY:fU};}},"menu-checkbox":{alias:fS,include:fS,style:function(lg){return {icon:!lg.checked?undefined:lg.selected?eV:eM};}},"menu-radiobutton":{alias:fS,include:fS,style:function(lh){return {icon:!lh.checked?undefined:lh.selected?es:gR};}},"menubar":{style:function(li){return {decorator:fC};}},"menubar-button":{alias:er,style:function(lj){var lk=(lj.pressed||lj.hovered)&&!lj.disabled?gO:undefined;return {decorator:lk,textColor:lj.pressed||lj.hovered?gH:undefined,padding:[3,8]};}},"colorselector":eH,"colorselector/control-bar":eH,"colorselector/control-pane":eH,"colorselector/visual-pane":fJ,"colorselector/preset-grid":eH,"colorselector/colorbucket":{style:function(ll){return {decorator:hk,width:16,height:16};}},"colorselector/preset-field-set":fJ,"colorselector/input-field-set":{include:fJ,alias:fJ,style:function(){return {paddingTop:20};}},"colorselector/preview-field-set":{include:fJ,alias:fJ,style:function(){return {paddingTop:20};}},"colorselector/hex-field-composite":eH,"colorselector/hex-field":ff,"colorselector/rgb-spinner-composite":eH,"colorselector/rgb-spinner-red":fv,"colorselector/rgb-spinner-green":fv,"colorselector/rgb-spinner-blue":fv,"colorselector/hsb-spinner-composite":eH,"colorselector/hsb-spinner-hue":fv,"colorselector/hsb-spinner-saturation":fv,"colorselector/hsb-spinner-brightness":fv,"colorselector/preview-content-old":{style:function(lm){return {decorator:hk,width:50,height:10};}},"colorselector/preview-content-new":{style:function(ln){return {decorator:hk,backgroundColor:hr,width:50,height:10};}},"colorselector/hue-saturation-field":{style:function(lo){return {decorator:hk,margin:5};}},"colorselector/brightness-field":{style:function(lp){return {decorator:hk,margin:[5,7]};}},"colorselector/hue-saturation-pane":eH,"colorselector/hue-saturation-handle":eH,"colorselector/brightness-pane":eH,"colorselector/brightness-handle":eH,"colorpopup":{alias:hE,include:hE,style:function(lq){return {padding:5,backgroundColor:f};}},"colorpopup/field":{style:function(lr){return {decorator:hk,margin:2,width:14,height:14,backgroundColor:hr};}},"colorpopup/selector-button":gL,"colorpopup/auto-button":gL,"colorpopup/preview-pane":fJ,"colorpopup/current-preview":{style:function(ls){return {height:20,padding:4,marginLeft:4,decorator:hk,allowGrowX:true};}},"colorpopup/selected-preview":{style:function(lt){return {height:20,padding:4,marginRight:4,decorator:hk,allowGrowX:true};}},"colorpopup/colorselector-okbutton":{alias:gL,include:gL,style:function(lu){return {icon:k};}},"colorpopup/colorselector-cancelbutton":{alias:gL,include:gL,style:function(lv){return {icon:fK};}},"table":{alias:eH,style:function(lw){return {decorator:eT};}},"table/statusbar":{style:function(lx){return {decorator:eR,padding:[0,2]};}},"table/column-button":{alias:hj,style:function(ly){return {decorator:U,padding:3,icon:eJ};}},"table-column-reset-button":{include:fS,alias:fS,style:function(){return {icon:fl};}},"table-scroller":eH,"table-scroller/scrollbar-x":gk,"table-scroller/scrollbar-y":gk,"table-scroller/header":{style:function(lz){return {decorator:U,textColor:lz.disabled?T:undefined};}},"table-scroller/pane":{style:function(lA){return {backgroundColor:Y};}},"table-scroller/focus-indicator":{style:function(lB){return {decorator:q};}},"table-scroller/resize-line":{style:function(lC){return {backgroundColor:go,width:2};}},"table-header-cell":{alias:er,style:function(lD){return {minWidth:13,minHeight:20,padding:lD.hovered?[3,4,2,4]:[3,4],decorator:lD.hovered?ex:u,sortIcon:lD.sorted?(lD.sortedAscending?hv:gJ):undefined};}},"table-header-cell/label":{style:function(lE){return {minWidth:0,alignY:fU,paddingRight:5};}},"table-header-cell/sort-icon":{style:function(lF){return {alignY:fU,alignX:hp,opacity:lF.disabled?0.3:1};}},"table-header-cell/icon":{style:function(lG){return {minWidth:0,alignY:fU,paddingRight:5,opacity:lG.disabled?0.3:1};}},"table-editor-textfield":{include:ff,style:function(lH){return {decorator:undefined,padding:[2,2],backgroundColor:hr};}},"table-editor-selectbox":{include:hs,alias:hs,style:function(lI){return {padding:[0,2],backgroundColor:hr};}},"table-editor-combobox":{include:gf,alias:gf,style:function(lJ){return {decorator:undefined,backgroundColor:hr};}},"progressive-table-header":{alias:eH,style:function(lK){return {decorator:gS};}},"progressive-table-header-cell":{alias:er,style:function(lL){return {minWidth:40,minHeight:25,paddingLeft:6,decorator:fo};}},"app-header":{style:function(lM){return {font:P,textColor:gH,padding:[8,12],decorator:v};}},"app-header-label":fs,"app-splitpane":{alias:ga,style:function(lN){return {padding:0};}},"virtual-list":G,"virtual-list/row-layer":w,"row-layer":eH,"group-item":{include:fs,alias:fs,style:function(lO){return {padding:4,decorator:h,textColor:eF,font:P};}},"virtual-selectbox":hs,"virtual-selectbox/dropdown":hE,"virtual-selectbox/dropdown/list":{alias:fw},"virtual-combobox":gf,"virtual-combobox/dropdown":hE,"virtual-combobox/dropdown/list":{alias:fw},"virtual-tree":{include:gb,alias:gb,style:function(lP){return {itemHeight:26};}},"virtual-tree-folder":I,"virtual-tree-file":he,"column-layer":eH,"cell":{style:function(lQ){return {textColor:lQ.selected?gH:H,padding:[3,6],font:gz};}},"cell-string":gG,"cell-number":{include:gG,style:function(lR){return {textAlign:hp};}},"cell-image":gG,"cell-boolean":{include:gG,style:function(lS){return {iconTrue:t,iconFalse:gT};}},"cell-atom":gG,"cell-date":gG,"cell-html":gG,"progressbar":{style:function(lT){return {decorator:ft,padding:[1],backgroundColor:eB,width:200,height:20};}},"progressbar/progress":{style:function(lU){return {decorator:(lU.disabled?h:gO)};}}}});})();(function(){var a="rounded-input-focused-invalid",b="rounded-input-focused",c="label",d="rounded-input",e="rounded-input-disabled",f="rounded-border-invalid",g="background-light",h="scrollarea",i="websynapse.theme.Appearance";qx.Theme.define(i,{extend:qx.theme.modern.Appearance,appearances:{"toolbar/part/handle":{style:function(j){return {source:null,marginLeft:0,marginRight:0};}},"rounded-list":{alias:h,style:function(k){var n;var m=!!k.focused;var o=!!k.invalid;var l=!!k.disabled;if(m&&o&&!l){n=a;}else if(m&&!o&&!l){n=b;}else if(l){n=e;}else if(!m&&o&&!l){n=f;}else {n=d;};return {backgroundColor:g,decorator:n};}},"tabview-page/button/label":{alias:c,style:function(p){return {padding:p.focused?[0,1,0,1]:[1,2,1,2],decorator:p.focused?undefined:undefined};}}}});})();(function(){var a="Tango",b="qx/icon/Tango",c="qx.theme.icon.Tango";qx.Theme.define(c,{title:a,aliases:{"icon":b}});})();(function(){var a="Liberation Sans",b="Tahoma",c="os.name",d="sans-serif",e="monospace",f="win",g="Arial",h="Lucida Grande",i="osx",j="Courier New",k="os.version",l="Lucida Console",m="7",n="Monaco",o="Candara",p="Segoe UI",q="Consolas",r="vista",s="qx.theme.modern.Font",t="DejaVu Sans Mono";qx.Theme.define(s,{fonts:{"default":{size:(qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r))?12:11,lineHeight:1.4,family:qx.core.Environment.get(c)==i?[h]:((qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r)))?[p,o]:[b,a,g,d]},"bold":{size:(qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r))?12:11,lineHeight:1.4,family:qx.core.Environment.get(c)==i?[h]:((qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r)))?[p,o]:[b,a,g,d],bold:true},"small":{size:(qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r))?11:10,lineHeight:1.4,family:qx.core.Environment.get(c)==i?[h]:((qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r)))?[p,o]:[b,a,g,d]},"monospace":{size:11,lineHeight:1.4,family:qx.core.Environment.get(c)==i?[l,n]:((qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r)))?[q]:[q,t,j,e]}}});})();(function(){var a="websynapse.theme.Font";qx.Theme.define(a,{extend:qx.theme.modern.Font,fonts:{}});})();(function(){var a="black",b="#EEEEEE",c="#1a1a1a",d="#ffffdd",e="#b6b6b6",f="#004DAD",g="#BABABA",h="#005BC3",i="#334866",j="#00204D",k="#CECECE",l="gray",m="#D9D9D9",n="#D8D8D8",o="#99C3FE",p="#001533",q="#B3B3B3",r="#F4F4F4",s="#D5D5D5",t="#fffefe",u="#C3C3C3",v="#E4E4E4",w="#DDDDDD",x="#FF9999",y="css.rgba",z="#E8E8E9",A="#084FAA",B="#AFAFAF",C="white",D="#C5C5C5",E="rgba(0, 0, 0, 0.4)",F="#DBDBDB",G="#4a4a4a",H="#83BAEA",I="#D7E7F4",J="#07125A",K="#084FAB",L="#FAF2F2",M="#87AFE7",N="#F7EAEA",O="#777D8D",P="#FBFBFB",Q="#CACACA",R="#909090",S="#9B9B9B",T="#F0F9FE",U="#314a6e",V="#B4B4B4",W="#787878",X="qx.theme.modern.Color",Y="#000000",cb="#26364D",cc="#A7A7A7",cd="#D1E4FF",bW="#5CB0FD",bX="#FCFCFC",bY="#EAEAEA",ca="#003B91",ci="#80B4EF",cj="#FF6B78",ck="#949494",cl="#808080",ce="#F3F3F3",cf="#930000",cg="#7B7B7B",ch="#F0F0F0",cp="#C82C2C",cN="#DFDFDF",cO="#B6B6B6",cq="#0880EF",cm="#4d4d4d",cn="#f4f4f4",cQ="#7B7A7E",co="#D0D0D0",cr="#f8f8f8",cs="#404955",ct="#959595",cx="#AAAAAA",cR="#F7E9E9",cy="#314A6E",cu="#C72B2B",cv="#FAFAFA",cP="#FBFCFB",cw="#B2D2FF",cD="#666666",cE="#CBC8CD",cF="#999999",cG="#8EB8D6",cz="#b8b8b8",cA="#727272",cB="#33508D",cC="#E8E8E8",cK="#CCCCCC",cL="#CCC",cS="#EFEFEF",cM="#F2F2F2",cH="#F1F1F1",cI="#990000",cJ="#00368A";qx.Theme.define(X,{colors:{"background-application":cN,"background-pane":ce,"background-light":bX,"background-medium":b,"background-splitpane":B,"background-tip":d,"background-tip-error":cu,"background-odd":v,"progressbar-background":C,"text-light":R,"text-gray":G,"text-label":c,"text-title":U,"text-input":Y,"text-hovered":p,"text-disabled":cQ,"text-selected":t,"text-active":cb,"text-inactive":cs,"text-placeholder":cE,"border-inner-scrollbar":C,"border-main":cm,"menu-separator-top":D,"menu-separator-bottom":cv,"border-separator":cl,"border-toolbar-button-outer":e,"border-toolbar-border-inner":cr,"border-toolbar-separator-right":cn,"border-toolbar-separator-left":cz,"border-input":i,"border-inner-input":C,"border-disabled":cO,"border-pane":j,"border-button":cD,"border-column":cK,"border-focused":o,"invalid":cI,"border-focused-invalid":x,"border-dragover":cB,"keyboard-focus":a,"table-pane":ce,"table-focus-indicator":cq,"table-row-background-focused-selected":K,"table-row-background-focused":ci,"table-row-background-selected":K,"table-row-background-even":ce,"table-row-background-odd":v,"table-row-selected":t,"table-row":c,"table-row-line":cL,"table-column-line":cL,"table-header-hovered":C,"progressive-table-header":cx,"progressive-table-header-border-right":cM,"progressive-table-row-background-even":r,"progressive-table-row-background-odd":v,"progressive-progressbar-background":l,"progressive-progressbar-indicator-done":cK,"progressive-progressbar-indicator-undone":C,"progressive-progressbar-percent-background":l,"progressive-progressbar-percent-text":C,"selected-start":f,"selected-end":cJ,"background-selected":cJ,"tabview-background":J,"shadow":qx.core.Environment.get(y)?E:cF,"pane-start":P,"pane-end":ch,"group-background":cC,"group-border":V,"radiobutton-background":cS,"checkbox-border":cy,"checkbox-focus":M,"checkbox-hovered":cw,"checkbox-hovered-inner":cd,"checkbox-inner":b,"checkbox-start":v,"checkbox-end":ce,"checkbox-disabled-border":W,"checkbox-disabled-inner":Q,"checkbox-disabled-start":co,"checkbox-disabled-end":n,"checkbox-hovered-inner-invalid":L,"checkbox-hovered-invalid":cR,"radiobutton-checked":h,"radiobutton-disabled":s,"radiobutton-checked-disabled":cg,"radiobutton-hovered-invalid":N,"tooltip-error":cp,"scrollbar-start":cK,"scrollbar-end":cH,"scrollbar-slider-start":b,"scrollbar-slider-end":u,"button-border-disabled":ct,"button-start":ch,"button-end":B,"button-disabled-start":r,"button-disabled-end":g,"button-hovered-start":T,"button-hovered-end":cG,"button-focused":H,"border-invalid":cf,"input-start":ch,"input-end":cP,"input-focused-start":I,"input-focused-end":bW,"input-focused-inner-invalid":cj,"input-border-disabled":S,"input-border-inner":C,"toolbar-start":cS,"toolbar-end":w,"window-border":j,"window-border-caption":cA,"window-caption-active-text":C,"window-caption-active-start":A,"window-caption-active-end":ca,"window-caption-inactive-start":cM,"window-caption-inactive-end":F,"window-statusbar-background":cS,"tabview-start":bX,"tabview-end":b,"tabview-inactive":O,"tabview-inactive-start":bY,"tabview-inactive-end":k,"table-header-start":cC,"table-header-end":q,"menu-start":z,"menu-end":m,"menubar-start":cC,"groupitem-start":cc,"groupitem-end":ck,"groupitem-text":C,"virtual-row-layer-background-even":C,"virtual-row-layer-background-odd":C}});})();(function(){var a="websynapse.theme.Color",b="#FF3300";qx.Theme.define(a,{extend:qx.theme.modern.Color,colors:{"shadow-color":[136,136,136],"custid-red":b}});})();(function(){var a="button-checked-focused",b="window-resize-frame",c="checkbox-disabled-border",d="group-background",e="menu-end",f="keyboard-focus",g="button-disabled-start",h="selected-end",i="table-header-hovered",j="border-invalid",k="decoration/toolbar/toolbar-part.gif",l="border-separator",m="window-border-caption",n="radiobutton-hovered",o="button-hovered-end",p="border-input",q="radiobutton",r="repeat-y",s="border-dragover",t="border-inner-input",u="radiobutton-checked-focused",v="groupitem-end",w="group-border",x="input-start",y="button-hovered-start",z="tooltip-error",A="button-hovered",B="selected-start",C="progressive-table-header-border-right",D="button-border-disabled",E="scrollbar-slider-horizontal",F="button-pressed",G="window-statusbar-background",H="tabview-end",I="radiobutton-hovered-invalid",J="checkbox-hovered",K="radiobutton-background",L="window-captionbar-active",M="checkbox-hovered-inner",N="toolbar-button-hovered",O="window-caption-active-end",P="solid",Q="button-start",R="dotted",S="radiobutton-disabled",T="radiobutton-checked",U="checkbox-disabled-end",V="window-caption-active-start",W="window-border",X="button-focused",Y="input",cv="tabview-inactive",cw="qx/decoration/Modern",cx="border-toolbar-separator-left",cr="invalid",cs="button-disabled",ct="horizontal",cu="table-header-start",cC="background-splitpane",cD="button-end",cE="button-checked",cF="border-toolbar-border-inner",cy="px",cz="input-border-disabled",cA="scrollbar-slider-vertical",cB="checkbox-inner",cJ="button",dk="button-disabled-end",dI="toolbar-end",cK="groupitem-start",cG="menu-start",cH="input-focused-start",dD="scrollbar-start",cI="scrollbar-slider-start",cL="radiobutton-checked-disabled",cM="checkbox-focused",cN="border-toolbar-button-outer",cS="background-light",cT="qx.theme.modern.Decoration",cU="checkbox-hovered-invalid",cO="radiobutton-checked-hovered",cP="tabview-page-button-top-inactive",cQ="#243B58",cR="checkbox",cY="checkbox-focus",da="window",dF="checkbox-disabled-inner",db="border-toolbar-separator-right",cV="tabview-inactive-start",cW="scrollbar-end",dE="table-header-end",cX="tabview-background",df="checkbox-end",dg="border-button",dH="tabview-inactive-end",dh="input-end",dc="tabview-page-button-top-active",dd="input-focused-inner-invalid",dG="menu-separator-top",de="shadow",di="window-caption-inactive-start",dj="scrollbar-slider-end",dw="background-pane",dv="pane-end",du="input-focused-end",dA="menubar-start",dz="toolbar-start",dy="radiobutton-focused",dx="pane-start",dp="table-focus-indicator",dn="menu-separator-bottom",dm="#1D2D45",dl="border-main",dt="scrollbar-horizontal",ds="window-caption-inactive-end",dr="checkbox-border",dq="tabview-start",dC="checkbox-hovered-inner-invalid",dB="input-focused";qx.Theme.define(cT,{aliases:{decoration:cw},decorations:{"main":{style:{width:1,color:dl}},"selected":{style:{startColorPosition:0,endColorPosition:100,startColor:B,endColor:h}},"dragover":{style:{bottom:[2,P,s]}},"pane":{style:{width:1,color:cX,radius:3,shadowColor:de,shadowBlurRadius:2,shadowLength:0,gradientStart:[dx,0],gradientEnd:[dv,100]}},"group":{style:{backgroundColor:d,radius:4,color:w,width:1}},"keyboard-focus":{style:{width:1,color:f,style:R}},"radiobutton":{style:{backgroundColor:K,radius:5,width:1,innerWidth:2,color:dr,innerColor:K,shadowLength:0,shadowBlurRadius:0,shadowColor:cY}},"radiobutton-checked":{include:q,style:{backgroundColor:T}},"radiobutton-checked-focused":{include:T,style:{shadowBlurRadius:4}},"radiobutton-checked-hovered":{include:T,style:{innerColor:J}},"radiobutton-focused":{include:q,style:{shadowBlurRadius:4}},"radiobutton-hovered":{include:q,style:{backgroundColor:J,innerColor:J}},"radiobutton-disabled":{include:q,style:{innerColor:S,backgroundColor:S,color:c}},"radiobutton-checked-disabled":{include:S,style:{backgroundColor:cL}},"radiobutton-invalid":{include:q,style:{color:cr}},"radiobutton-checked-invalid":{include:T,style:{color:cr}},"radiobutton-checked-focused-invalid":{include:u,style:{color:cr,shadowColor:cr}},"radiobutton-checked-hovered-invalid":{include:cO,style:{color:cr,innerColor:I}},"radiobutton-focused-invalid":{include:dy,style:{color:cr,shadowColor:cr}},"radiobutton-hovered-invalid":{include:n,style:{color:cr,innerColor:I,backgroundColor:I}},"separator-horizontal":{style:{widthLeft:1,colorLeft:l}},"separator-vertical":{style:{widthTop:1,colorTop:l}},"tooltip-error":{style:{backgroundColor:z,radius:4,shadowColor:de,shadowBlurRadius:2,shadowLength:1}},"popup":{style:{width:1,color:dl,shadowColor:de,shadowBlurRadius:3,shadowLength:1}},"scrollbar-horizontal":{style:{gradientStart:[dD,0],gradientEnd:[cW,100]}},"scrollbar-vertical":{include:dt,style:{orientation:ct}},"scrollbar-slider-horizontal":{style:{gradientStart:[cI,0],gradientEnd:[dj,100],color:dl,width:1,radius:3}},"scrollbar-slider-vertical":{include:E,style:{orientation:ct}},"scrollbar-slider-horizontal-disabled":{include:E,style:{color:D}},"scrollbar-slider-vertical-disabled":{include:cA,style:{color:D}},"button":{style:{radius:3,color:dg,width:1,startColor:Q,endColor:cD,startColorPosition:35,endColorPosition:100}},"button-disabled":{include:cJ,style:{color:D,startColor:g,endColor:dk}},"button-hovered":{include:cJ,style:{startColor:y,endColor:o}},"button-checked":{include:cJ,style:{endColor:Q,startColor:cD}},"button-pressed":{include:cJ,style:{endColor:y,startColor:o}},"button-focused":{style:{radius:3,color:dg,width:1,innerColor:X,innerWidth:2,startColor:Q,endColor:cD,startColorPosition:30,endColorPosition:100}},"button-checked-focused":{include:X,style:{endColor:Q,startColor:cD}},"button-invalid":{include:cJ,style:{color:j}},"button-disabled-invalid":{include:cs,style:{color:j}},"button-hovered-invalid":{include:A,style:{color:j}},"button-checked-invalid":{include:cE,style:{color:j}},"button-pressed-invalid":{include:F,style:{color:j}},"button-focused-invalid":{include:X,style:{color:j}},"button-checked-focused-invalid":{include:a,style:{color:j}},"checkbox":{style:{width:1,color:dr,innerWidth:1,innerColor:cB,backgroundColor:df,shadowLength:0,shadowBlurRadius:0,shadowColor:cY}},"checkbox-hovered":{include:cR,style:{innerColor:M,backgroundColor:J}},"checkbox-focused":{include:cR,style:{shadowBlurRadius:4}},"checkbox-disabled":{include:cR,style:{color:c,innerColor:dF,backgroundColor:U}},"checkbox-invalid":{include:cR,style:{color:cr}},"checkbox-hovered-invalid":{include:J,style:{color:cr,innerColor:dC,backgroundColor:cU}},"checkbox-focused-invalid":{include:cM,style:{color:cr,shadowColor:cr}},"input":{style:{color:p,innerColor:t,innerWidth:1,width:1,backgroundColor:cS,startColor:x,endColor:dh,startColorPosition:0,endColorPosition:12,colorPositionUnit:cy}},"border-invalid":{include:Y,style:{color:j}},"input-focused":{include:Y,style:{startColor:cH,innerColor:du,endColorPosition:4}},"input-focused-invalid":{include:dB,style:{innerColor:dd,color:j}},"input-disabled":{include:Y,style:{color:cz}},"toolbar":{style:{startColorPosition:40,endColorPosition:60,startColor:dz,endColor:dI}},"toolbar-button-hovered":{style:{color:cN,width:1,innerWidth:1,innerColor:cF,radius:2,gradientStart:[Q,30],gradientEnd:[cD,100]}},"toolbar-button-checked":{include:N,style:{gradientStart:[cD,30],gradientEnd:[Q,100]}},"toolbar-separator":{style:{widthLeft:1,widthRight:1,colorLeft:cx,colorRight:db,styleLeft:P,styleRight:P}},"toolbar-part":{style:{backgroundImage:k,backgroundRepeat:r}},"tabview-pane":{style:{width:1,color:W,radius:3,gradientStart:[dq,90],gradientEnd:[H,100]}},"tabview-page-button-top-active":{style:{radius:[3,3,0,0],width:[1,1,0,1],color:cX,backgroundColor:dq,shadowLength:1,shadowColor:de,shadowBlurRadius:2}},"tabview-page-button-top-inactive":{style:{radius:[3,3,0,0],color:cv,colorBottom:cX,width:1,gradientStart:[cV,0],gradientEnd:[dH,100]}},"tabview-page-button-bottom-active":{include:dc,style:{radius:[0,0,3,3],width:[0,1,1,1],backgroundColor:cV,shadowLength:0,shadowBlurRadius:0}},"tabview-page-button-bottom-inactive":{include:cP,style:{radius:[0,0,3,3],width:[0,1,1,1],colorBottom:cv,colorTop:cX}},"tabview-page-button-left-active":{include:dc,style:{radius:[3,0,0,3],width:[1,0,1,1],shadowLength:0,shadowBlurRadius:0}},"tabview-page-button-left-inactive":{include:cP,style:{radius:[3,0,0,3],width:[1,0,1,1],colorBottom:cv,colorRight:cX}},"tabview-page-button-right-active":{include:dc,style:{radius:[0,3,3,0],width:[1,1,1,0],shadowLength:0,shadowBlurRadius:0}},"tabview-page-button-right-inactive":{include:cP,style:{radius:[0,3,3,0],width:[1,1,1,0],colorBottom:cv,colorLeft:cX}},"splitpane":{style:{backgroundColor:dw,width:3,color:cC,style:P}},"window":{style:{radius:[5,5,0,0],shadowBlurRadius:4,shadowLength:2,shadowColor:de}},"window-incl-statusbar":{include:da,style:{radius:[5,5,5,5]}},"window-resize-frame":{style:{radius:[5,5,0,0],width:1,color:dl}},"window-resize-frame-incl-statusbar":{include:b,style:{radius:[5,5,5,5]}},"window-captionbar-active":{style:{width:1,color:W,colorBottom:m,radius:[5,5,0,0],gradientStart:[V,30],gradientEnd:[O,70]}},"window-captionbar-inactive":{include:L,style:{gradientStart:[di,30],gradientEnd:[ds,70]}},"window-statusbar":{style:{backgroundColor:G,width:[0,1,1,1],color:W,radius:[0,0,5,5]}},"window-pane":{style:{backgroundColor:dw,width:1,color:W,widthTop:0}},"table":{style:{width:1,color:dl,style:P}},"table-statusbar":{style:{widthTop:1,colorTop:dl,style:P}},"table-scroller-header":{style:{gradientStart:[cu,10],gradientEnd:[dE,90],widthBottom:1,colorBottom:dl}},"table-header-cell":{style:{widthRight:1,colorRight:l,styleRight:P}},"table-header-cell-hovered":{style:{widthRight:1,colorRight:l,styleRight:P,widthBottom:1,colorBottom:i,styleBottom:P}},"table-scroller-focus-indicator":{style:{width:2,color:dp,style:P}},"progressive-table-header":{style:{width:1,color:dl,style:P}},"progressive-table-header-cell":{style:{gradientStart:[cu,10],gradientEnd:[dE,90],widthRight:1,colorRight:C}},"menu":{style:{gradientStart:[cG,0],gradientEnd:[e,100],shadowColor:de,shadowBlurRadius:2,shadowLength:1,width:1,color:dl}},"menu-separator":{style:{widthTop:1,colorTop:dG,widthBottom:1,colorBottom:dn}},"menubar":{style:{gradientStart:[dA,0],gradientEnd:[e,100],width:1,color:l}},"app-header":{style:{gradientStart:[cQ,0],gradientEnd:[dm,100]}},"progressbar":{style:{width:1,color:p}},"group-item":{style:{startColorPosition:0,endColorPosition:100,startColor:cK,endColor:v}}}});})();(function(){var a="button-checked",b="button-checked-focused",c="black",d="button-hovered",e="#EEEEEE",f="input-disabled",g="websynapse.theme.Decoration",h="border-invalid",i="input-focused-inner-invalid",j="input",k="button",l="button-focused",m="table",n="center",o="shadow-color",p="#CCCCCC",q="#930000",r="input-focused-invalid",s="group-border",t="websynapse/customer-home-image.jpg",u="rounded",v="button-disabled",w="horizontal",x="no-repeat",y="websynapse/customer-login-image.jpg",z="button-pressed",A="white",B="input-focused";qx.Theme.define(g,{extend:qx.theme.modern.Decoration,decorations:{"toolbar-part":{style:{backgroundImage:null,backgroundRepeat:x}},"background-left":{style:{backgroundColor:c,orientation:w,startColor:p,endColor:c,startColorPosition:0,endColorPosition:100}},"background-right":{style:{backgroundColor:c,orientation:w,startColor:c,endColor:p,startColorPosition:0,endColorPosition:100}},"screen-background":{style:{backgroundColor:e}},"home-background":{style:{backgroundImage:t,backgroundRepeat:x,backgroundPositionX:n}},"login-background":{style:{backgroundImage:y,backgroundRepeat:x,backgroundPositionX:n}},"rounded":{decorator:[qx.ui.decoration.MBorderRadius],style:{radius:3}},"rounded-table":{include:m,decorator:[qx.ui.decoration.MBorderRadius],style:{radius:3}},"rounded-input-focused-invalid":{include:r,decorator:[qx.ui.decoration.MBorderRadius],style:{radius:3}},"rounded-input-focused":{include:B,decorator:[qx.ui.decoration.MBorderRadius],style:{radius:3}},"rounded-input-disabled":{include:f,decorator:[qx.ui.decoration.MBorderRadius],style:{radius:3}},"rounded-border-invalid":{include:h,decorator:[qx.ui.decoration.MBorderRadius],style:{radius:3}},"rounded-input":{include:j,decorator:[qx.ui.decoration.MBorderRadius],style:{radius:3}},"shadow-label":{shadowColor:o,shadowHorizontalLength:5,shadowVerticalLength:5,shadowBlurRadius:5},"rounded-shadow-container":{include:u,style:{backgroundColor:A,shadowColor:o,shadowHorizontalLength:5,shadowVerticalLength:5,shadowBlurRadius:5}},"groupbox-clear-background":{style:{radius:4,color:s,width:1}},"border-invalid":{include:j,style:{color:q,innerWidth:2,width:3}},"input-focused-invalid":{include:B,style:{innerColor:i,color:h,innerWidth:0,width:3}},"button-invalid":{include:k,style:{color:h,width:3}},"button-disabled-invalid":{include:v,style:{color:h,width:3}},"button-hovered-invalid":{include:d,style:{color:h,width:3}},"button-checked-invalid":{include:a,style:{color:h,width:3}},"button-pressed-invalid":{include:z,style:{color:h,width:3}},"button-focused-invalid":{include:l,style:{color:h,width:3}},"button-checked-focused-invalid":{include:b,style:{color:h,width:3}}}});})();(function(){var a="websynapse.theme.Theme";qx.Theme.define(a,{meta:{color:websynapse.theme.Color,decoration:websynapse.theme.Decoration,font:websynapse.theme.Font,icon:qx.theme.icon.Tango,appearance:websynapse.theme.Appearance}});})(); qx.$$loader.init();