From b6030809eeddd67da6e1c9ab8d122c46c6ac4515 Mon Sep 17 00:00:00 2001 From: Chris Eskew Date: Tue, 19 Mar 2024 11:37:22 -0500 Subject: [PATCH] corrected small bug in export for the Basic Flowchart --- published/ville.Diagram/index.js | 4 ++-- source/class/wax/demo/Application.js | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/published/ville.Diagram/index.js b/published/ville.Diagram/index.js index d8dcddd..a476dfd 100644 --- a/published/ville.Diagram/index.js +++ b/published/ville.Diagram/index.js @@ -9,7 +9,7 @@ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */n.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,u=(1<>1,c=-7,h=n?i-1:0,d=n?-1:1,f=e[t+h];h+=d;o=f&(1<<-c)-1;f>>=-c;c+=a;for(;c>0;o=256*o+e[t+h],h+=d,c-=8);s=o&(1<<-c)-1;o>>=-c;c+=r;for(;c>0;s=256*s+e[t+h],h+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,r);o-=l}return(f?-1:1)*s*Math.pow(2,o-r)};n.write=function(e,t,n,r,i,o){var s,a,u,l=8*o-i-1,c=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,_=r?1:-1,p=t<0||0===t&&1/t<0?1:0;t=Math.abs(t);if(isNaN(t)||t===1/0){a=isNaN(t)?1:0;s=c}else{s=Math.floor(Math.log(t)/Math.LN2);if(t*(u=Math.pow(2,-s))<1){s--;u*=2}if((t+=s+h>=1?d/u:d*Math.pow(2,1-h))*u>=2){s++;u/=2}if(s+h>=c){a=0;s=c}else if(s+h>=1){a=(t*u-1)*Math.pow(2,i);s+=h}else{a=t*Math.pow(2,h-1)*Math.pow(2,i);s=0}}for(;i>=8;e[n+f]=255&a,f+=_,a/=256,i-=8);s=s<0;e[n+f]=255&s,f+=_,s/=256,l-=8);e[n+f-_]|=128*p}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/ieee754/index.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/ieee754")},{_process:148,buffer:63,timers:185}],131:[function(e,t,n){(function(e,n,r,i,o,s,a,u,l,c,h){(function(){"use strict";"function"==typeof Object.create?t.exports=function(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}}:t.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype;e.prototype=new n;e.prototype.constructor=e}}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/inherits/inherits_browser.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/inherits")},{_process:148,buffer:63,timers:185}],132:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("inherits"),r=e("hash-base"),i=e("safe-buffer").Buffer,o=new Array(16);function s(){r.call(this,64);this._a=1732584193;this._b=4023233417;this._c=2562383102;this._d=271733878}n(s,r);s.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,s=this._d;n=u(n,r,i,s,e[0],3614090360,7);s=u(s,n,r,i,e[1],3905402710,12);i=u(i,s,n,r,e[2],606105819,17);r=u(r,i,s,n,e[3],3250441966,22);n=u(n,r,i,s,e[4],4118548399,7);s=u(s,n,r,i,e[5],1200080426,12);i=u(i,s,n,r,e[6],2821735955,17);r=u(r,i,s,n,e[7],4249261313,22);n=u(n,r,i,s,e[8],1770035416,7);s=u(s,n,r,i,e[9],2336552879,12);i=u(i,s,n,r,e[10],4294925233,17);r=u(r,i,s,n,e[11],2304563134,22);n=u(n,r,i,s,e[12],1804603682,7);s=u(s,n,r,i,e[13],4254626195,12);i=u(i,s,n,r,e[14],2792965006,17);n=l(n,r=u(r,i,s,n,e[15],1236535329,22),i,s,e[1],4129170786,5);s=l(s,n,r,i,e[6],3225465664,9);i=l(i,s,n,r,e[11],643717713,14);r=l(r,i,s,n,e[0],3921069994,20);n=l(n,r,i,s,e[5],3593408605,5);s=l(s,n,r,i,e[10],38016083,9);i=l(i,s,n,r,e[15],3634488961,14);r=l(r,i,s,n,e[4],3889429448,20);n=l(n,r,i,s,e[9],568446438,5);s=l(s,n,r,i,e[14],3275163606,9);i=l(i,s,n,r,e[3],4107603335,14);r=l(r,i,s,n,e[8],1163531501,20);n=l(n,r,i,s,e[13],2850285829,5);s=l(s,n,r,i,e[2],4243563512,9);i=l(i,s,n,r,e[7],1735328473,14);n=c(n,r=l(r,i,s,n,e[12],2368359562,20),i,s,e[5],4294588738,4);s=c(s,n,r,i,e[8],2272392833,11);i=c(i,s,n,r,e[11],1839030562,16);r=c(r,i,s,n,e[14],4259657740,23);n=c(n,r,i,s,e[1],2763975236,4);s=c(s,n,r,i,e[4],1272893353,11);i=c(i,s,n,r,e[7],4139469664,16);r=c(r,i,s,n,e[10],3200236656,23);n=c(n,r,i,s,e[13],681279174,4);s=c(s,n,r,i,e[0],3936430074,11);i=c(i,s,n,r,e[3],3572445317,16);r=c(r,i,s,n,e[6],76029189,23);n=c(n,r,i,s,e[9],3654602809,4);s=c(s,n,r,i,e[12],3873151461,11);i=c(i,s,n,r,e[15],530742520,16);n=h(n,r=c(r,i,s,n,e[2],3299628645,23),i,s,e[0],4096336452,6);s=h(s,n,r,i,e[7],1126891415,10);i=h(i,s,n,r,e[14],2878612391,15);r=h(r,i,s,n,e[5],4237533241,21);n=h(n,r,i,s,e[12],1700485571,6);s=h(s,n,r,i,e[3],2399980690,10);i=h(i,s,n,r,e[10],4293915773,15);r=h(r,i,s,n,e[1],2240044497,21);n=h(n,r,i,s,e[8],1873313359,6);s=h(s,n,r,i,e[15],4264355552,10);i=h(i,s,n,r,e[6],2734768916,15);r=h(r,i,s,n,e[13],1309151649,21);n=h(n,r,i,s,e[4],4149444226,6);s=h(s,n,r,i,e[11],3174756917,10);i=h(i,s,n,r,e[2],718787259,15);r=h(r,i,s,n,e[9],3951481745,21);this._a=this._a+n|0;this._b=this._b+r|0;this._c=this._c+i|0;this._d=this._d+s|0};s.prototype._digest=function(){this._block[this._blockOffset++]=128;if(this._blockOffset>56){this._block.fill(0,this._blockOffset,64);this._update();this._blockOffset=0}this._block.fill(0,this._blockOffset,56);this._block.writeUInt32LE(this._length[0],56);this._block.writeUInt32LE(this._length[1],60);this._update();var e=i.allocUnsafe(16);e.writeInt32LE(this._a,0);e.writeInt32LE(this._b,4);e.writeInt32LE(this._c,8);e.writeInt32LE(this._d,12);return e};function a(e,t){return e<>>32-t}function u(e,t,n,r,i,o,s){return a(e+(t&n|~t&r)+i+o|0,s)+t|0}function l(e,t,n,r,i,o,s){return a(e+(t&r|n&~r)+i+o|0,s)+t|0}function c(e,t,n,r,i,o,s){return a(e+(t^n^r)+i+o|0,s)+t|0}function h(e,t,n,r,i,o,s){return a(e+(n^(t|~r))+i+o|0,s)+t|0}t.exports=s}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/md5.js/index.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/md5.js")},{_process:148,buffer:63,"hash-base":101,inherits:131,"safe-buffer":159,timers:185}],133:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("bn.js"),r=e("brorand");function i(e){this.rand=e||new r.Rand}t.exports=i;i.create=function(e){return new i(e)};i.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(e)>=0);return i};i.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))};i.prototype.test=function(e,t,r){var i=e.bitLength(),o=n.mont(e),s=new n(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var a=e.subn(1),u=0;!a.testn(u);u++);for(var l=e.shrn(u),c=a.toRed(o);t>0;t--){var h=this._randrange(new n(2),a);r&&r(h);var d=h.toRed(o).redPow(l);if(0!==d.cmp(s)&&0!==d.cmp(c)){for(var f=1;f0;t--){var c=this._randrange(new n(2),s),h=e.gcd(c);if(0!==h.cmpn(1))return h;var d=c.toRed(i).redPow(u);if(0!==d.cmp(o)&&0!==d.cmp(l)){for(var f=1;f0?e:t};s.min=function(e,t){return e.cmp(t)<0?e:t};s.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"===n(e))return this._initArray(e,t,r);"hex"===t&&(t=16);i(t===(0|t)&&t>=2&&t<=36);var o=0;if("-"===(e=e.toString().replace(/\s+/g,""))[0]){o++;this.negative=1}if(o=0;r-=3){s=e[r]|e[r-1]<<8|e[r-2]<<16;this.words[o]|=s<>>26-a&67108863;if((a+=24)>=26){a-=26;o++}}else if("le"===n)for(r=0,o=0;r>>26-a&67108863;if((a+=24)>=26){a-=26;o++}}return this.strip()};function u(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(e,t,n){var r=u(e,n);n-1>=t&&(r|=u(e,n-1)<<4);return r}s.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6);this.words=new Array(this.length);for(var r=0;r=t;r-=2){i=l(e,t,r)<=18){o-=18;s+=1;this.words[s]|=i>>>26}else o+=8}else{for(r=(e.length-t)%2==0?t+1:t;r=18){o-=18;s+=1;this.words[s]|=i>>>26}else o+=8}}this.strip()};function c(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s=49?a-49+10:a>=17?a-17+10:a}return i}s.prototype._parseBase=function(e,t,n){this.words=[0];this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--;i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,u=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()};s.prototype._normSign=function(){1===this.length&&0===this.words[0]&&(this.negative=0);return this};s.prototype.inspect=function(){return(this.red?""};var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];s.prototype.toString=function(e,t){t=0|t||1;var n;if(16===(e=e||10)||"hex"===e){n="";for(var r=0,o=0,s=0;s>>24-r&16777215)||s!==this.length-1?h[6-u.length]+u+n:u+n;if((r+=2)>=26){r-=26;s--}}0!==o&&(n=o.toString(16)+n);for(;n.length%t!=0;)n="0"+n;0!==this.negative&&(n="-"+n);return n}if(e===(0|e)&&e>=2&&e<=36){var l=d[e],c=f[e];n="";var _=this.clone();_.negative=0;for(;!_.isZero();){var p=_.modn(c).toString(e);n=(_=_.idivn(c)).isZero()?p+n:h[l-p.length]+p+n}this.isZero()&&(n="0"+n);for(;n.length%t!=0;)n="0"+n;0!==this.negative&&(n="-"+n);return n}i(!1,"Base should be between 2 and 36")};s.prototype.toNumber=function(){var e=this.words[0];2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits");return 0!==this.negative?-e:e};s.prototype.toJSON=function(){return this.toString(16)};s.prototype.toBuffer=function(e,t){i(void 0!==a);return this.toArrayLike(a,e,t)};s.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};s.prototype.toArrayLike=function(e,t,n){var r=this.byteLength(),o=n||Math.max(1,r);i(r<=o,"byte array longer than desired length");i(o>0,"Requested array length <= 0");this.strip();var s,a,u="le"===t,l=new e(o),c=this.clone();if(u){for(a=0;!c.isZero();a++){s=c.andln(255);c.iushrn(8);l[a]=s}for(;a=4096){n+=13;t>>>=13}if(t>=64){n+=7;t>>>=7}if(t>=8){n+=4;t>>>=4}if(t>=2){n+=2;t>>>=2}return n+t};s.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;if(0==(8191&t)){n+=13;t>>>=13}if(0==(127&t)){n+=7;t>>>=7}if(0==(15&t)){n+=4;t>>>=4}if(0==(3&t)){n+=2;t>>>=2}0==(1&t)&&n++;return n};s.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t};s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)};s.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)};s.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)};s.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)};s.prototype.iuxor=function(e){var t,n;if(this.length>e.length){t=this;n=e}else{t=e;n=this}for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)};s.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)};s.prototype.inotn=function(e){i("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t);n>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-n);return this.strip()};s.prototype.notn=function(e){return this.clone().inotn(e)};s.prototype.setn=function(e,t){i("number"==typeof e&&e>=0);var n=e/26|0,r=e%26;this._expand(n+1);this.words[n]=t?this.words[n]|1<e.length){n=this;r=e}else{n=e;r=this}for(var i=0,o=0;o>>26}for(;0!==i&&o>>26}this.length=n.length;if(0!==i){this.words[this.length]=i;this.length++}else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)};s.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);e.negative=1;return t._normSign()}if(0!==this.negative){this.negative=0;this.iadd(e);this.negative=1;return this._normSign()}var n,r,i=this.cmp(e);if(0===i){this.negative=0;this.length=1;this.words[0]=0;return this}if(i>0){n=this;r=e}else{n=e;r=this}for(var o=0,s=0;s>26;this.words[s]=67108863&t}for(;0!==o&&s>26;this.words[s]=67108863&t}if(0===o&&s>>26,h=67108863&u,d=Math.min(l,t.length-1),f=Math.max(0,l-e.length+1);f<=d;f++){var _=l-f|0;c+=(s=(i=0|e.words[_])*(o=0|t.words[f])+h)/67108864|0;h=67108863&s}n.words[l]=0|h;u=0|c}0!==u?n.words[l]=0|u:n.length--;return n.strip()}var p=function(e,t,n){var r,i,o,s=e.words,a=t.words,u=n.words,l=0,c=0|s[0],h=8191&c,d=c>>>13,f=0|s[1],_=8191&f,p=f>>>13,m=0|s[2],g=8191&m,v=m>>>13,b=0|s[3],y=8191&b,x=b>>>13,w=0|s[4],q=8191&w,P=w>>>13,E=0|s[5],M=8191&E,C=E>>>13,S=0|s[6],A=8191&S,D=S>>>13,I=0|s[7],k=8191&I,B=I>>>13,T=0|s[8],O=8191&T,L=T>>>13,R=0|s[9],F=8191&R,N=R>>>13,$=0|a[0],j=8191&$,W=$>>>13,U=0|a[1],H=8191&U,z=U>>>13,V=0|a[2],G=8191&V,K=V>>>13,Y=0|a[3],X=8191&Y,Z=Y>>>13,J=0|a[4],Q=8191&J,ee=J>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],he=8191&ce,de=ce>>>13,fe=0|a[9],_e=8191&fe,pe=fe>>>13;n.negative=e.negative^t.negative;n.length=19;var me=(l+(r=Math.imul(h,j))|0)+((8191&(i=(i=Math.imul(h,W))+Math.imul(d,j)|0))<<13)|0;l=((o=Math.imul(d,W))+(i>>>13)|0)+(me>>>26)|0;me&=67108863;r=Math.imul(_,j);i=(i=Math.imul(_,W))+Math.imul(p,j)|0;o=Math.imul(p,W);var ge=(l+(r=r+Math.imul(h,H)|0)|0)+((8191&(i=(i=i+Math.imul(h,z)|0)+Math.imul(d,H)|0))<<13)|0;l=((o=o+Math.imul(d,z)|0)+(i>>>13)|0)+(ge>>>26)|0;ge&=67108863;r=Math.imul(g,j);i=(i=Math.imul(g,W))+Math.imul(v,j)|0;o=Math.imul(v,W);r=r+Math.imul(_,H)|0;i=(i=i+Math.imul(_,z)|0)+Math.imul(p,H)|0;o=o+Math.imul(p,z)|0;var ve=(l+(r=r+Math.imul(h,G)|0)|0)+((8191&(i=(i=i+Math.imul(h,K)|0)+Math.imul(d,G)|0))<<13)|0;l=((o=o+Math.imul(d,K)|0)+(i>>>13)|0)+(ve>>>26)|0;ve&=67108863;r=Math.imul(y,j);i=(i=Math.imul(y,W))+Math.imul(x,j)|0;o=Math.imul(x,W);r=r+Math.imul(g,H)|0;i=(i=i+Math.imul(g,z)|0)+Math.imul(v,H)|0;o=o+Math.imul(v,z)|0;r=r+Math.imul(_,G)|0;i=(i=i+Math.imul(_,K)|0)+Math.imul(p,G)|0;o=o+Math.imul(p,K)|0;var be=(l+(r=r+Math.imul(h,X)|0)|0)+((8191&(i=(i=i+Math.imul(h,Z)|0)+Math.imul(d,X)|0))<<13)|0;l=((o=o+Math.imul(d,Z)|0)+(i>>>13)|0)+(be>>>26)|0;be&=67108863;r=Math.imul(q,j);i=(i=Math.imul(q,W))+Math.imul(P,j)|0;o=Math.imul(P,W);r=r+Math.imul(y,H)|0;i=(i=i+Math.imul(y,z)|0)+Math.imul(x,H)|0;o=o+Math.imul(x,z)|0;r=r+Math.imul(g,G)|0;i=(i=i+Math.imul(g,K)|0)+Math.imul(v,G)|0;o=o+Math.imul(v,K)|0;r=r+Math.imul(_,X)|0;i=(i=i+Math.imul(_,Z)|0)+Math.imul(p,X)|0;o=o+Math.imul(p,Z)|0;var ye=(l+(r=r+Math.imul(h,Q)|0)|0)+((8191&(i=(i=i+Math.imul(h,ee)|0)+Math.imul(d,Q)|0))<<13)|0;l=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(ye>>>26)|0;ye&=67108863;r=Math.imul(M,j);i=(i=Math.imul(M,W))+Math.imul(C,j)|0;o=Math.imul(C,W);r=r+Math.imul(q,H)|0;i=(i=i+Math.imul(q,z)|0)+Math.imul(P,H)|0;o=o+Math.imul(P,z)|0;r=r+Math.imul(y,G)|0;i=(i=i+Math.imul(y,K)|0)+Math.imul(x,G)|0;o=o+Math.imul(x,K)|0;r=r+Math.imul(g,X)|0;i=(i=i+Math.imul(g,Z)|0)+Math.imul(v,X)|0;o=o+Math.imul(v,Z)|0;r=r+Math.imul(_,Q)|0;i=(i=i+Math.imul(_,ee)|0)+Math.imul(p,Q)|0;o=o+Math.imul(p,ee)|0;var xe=(l+(r=r+Math.imul(h,ne)|0)|0)+((8191&(i=(i=i+Math.imul(h,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(xe>>>26)|0;xe&=67108863;r=Math.imul(A,j);i=(i=Math.imul(A,W))+Math.imul(D,j)|0;o=Math.imul(D,W);r=r+Math.imul(M,H)|0;i=(i=i+Math.imul(M,z)|0)+Math.imul(C,H)|0;o=o+Math.imul(C,z)|0;r=r+Math.imul(q,G)|0;i=(i=i+Math.imul(q,K)|0)+Math.imul(P,G)|0;o=o+Math.imul(P,K)|0;r=r+Math.imul(y,X)|0;i=(i=i+Math.imul(y,Z)|0)+Math.imul(x,X)|0;o=o+Math.imul(x,Z)|0;r=r+Math.imul(g,Q)|0;i=(i=i+Math.imul(g,ee)|0)+Math.imul(v,Q)|0;o=o+Math.imul(v,ee)|0;r=r+Math.imul(_,ne)|0;i=(i=i+Math.imul(_,re)|0)+Math.imul(p,ne)|0;o=o+Math.imul(p,re)|0;var we=(l+(r=r+Math.imul(h,oe)|0)|0)+((8191&(i=(i=i+Math.imul(h,se)|0)+Math.imul(d,oe)|0))<<13)|0;l=((o=o+Math.imul(d,se)|0)+(i>>>13)|0)+(we>>>26)|0;we&=67108863;r=Math.imul(k,j);i=(i=Math.imul(k,W))+Math.imul(B,j)|0;o=Math.imul(B,W);r=r+Math.imul(A,H)|0;i=(i=i+Math.imul(A,z)|0)+Math.imul(D,H)|0;o=o+Math.imul(D,z)|0;r=r+Math.imul(M,G)|0;i=(i=i+Math.imul(M,K)|0)+Math.imul(C,G)|0;o=o+Math.imul(C,K)|0;r=r+Math.imul(q,X)|0;i=(i=i+Math.imul(q,Z)|0)+Math.imul(P,X)|0;o=o+Math.imul(P,Z)|0;r=r+Math.imul(y,Q)|0;i=(i=i+Math.imul(y,ee)|0)+Math.imul(x,Q)|0;o=o+Math.imul(x,ee)|0;r=r+Math.imul(g,ne)|0;i=(i=i+Math.imul(g,re)|0)+Math.imul(v,ne)|0;o=o+Math.imul(v,re)|0;r=r+Math.imul(_,oe)|0;i=(i=i+Math.imul(_,se)|0)+Math.imul(p,oe)|0;o=o+Math.imul(p,se)|0;var qe=(l+(r=r+Math.imul(h,ue)|0)|0)+((8191&(i=(i=i+Math.imul(h,le)|0)+Math.imul(d,ue)|0))<<13)|0;l=((o=o+Math.imul(d,le)|0)+(i>>>13)|0)+(qe>>>26)|0;qe&=67108863;r=Math.imul(O,j);i=(i=Math.imul(O,W))+Math.imul(L,j)|0;o=Math.imul(L,W);r=r+Math.imul(k,H)|0;i=(i=i+Math.imul(k,z)|0)+Math.imul(B,H)|0;o=o+Math.imul(B,z)|0;r=r+Math.imul(A,G)|0;i=(i=i+Math.imul(A,K)|0)+Math.imul(D,G)|0;o=o+Math.imul(D,K)|0;r=r+Math.imul(M,X)|0;i=(i=i+Math.imul(M,Z)|0)+Math.imul(C,X)|0;o=o+Math.imul(C,Z)|0;r=r+Math.imul(q,Q)|0;i=(i=i+Math.imul(q,ee)|0)+Math.imul(P,Q)|0;o=o+Math.imul(P,ee)|0;r=r+Math.imul(y,ne)|0;i=(i=i+Math.imul(y,re)|0)+Math.imul(x,ne)|0;o=o+Math.imul(x,re)|0;r=r+Math.imul(g,oe)|0;i=(i=i+Math.imul(g,se)|0)+Math.imul(v,oe)|0;o=o+Math.imul(v,se)|0;r=r+Math.imul(_,ue)|0;i=(i=i+Math.imul(_,le)|0)+Math.imul(p,ue)|0;o=o+Math.imul(p,le)|0;var Pe=(l+(r=r+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,de)|0)+Math.imul(d,he)|0))<<13)|0;l=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(Pe>>>26)|0;Pe&=67108863;r=Math.imul(F,j);i=(i=Math.imul(F,W))+Math.imul(N,j)|0;o=Math.imul(N,W);r=r+Math.imul(O,H)|0;i=(i=i+Math.imul(O,z)|0)+Math.imul(L,H)|0;o=o+Math.imul(L,z)|0;r=r+Math.imul(k,G)|0;i=(i=i+Math.imul(k,K)|0)+Math.imul(B,G)|0;o=o+Math.imul(B,K)|0;r=r+Math.imul(A,X)|0;i=(i=i+Math.imul(A,Z)|0)+Math.imul(D,X)|0;o=o+Math.imul(D,Z)|0;r=r+Math.imul(M,Q)|0;i=(i=i+Math.imul(M,ee)|0)+Math.imul(C,Q)|0;o=o+Math.imul(C,ee)|0;r=r+Math.imul(q,ne)|0;i=(i=i+Math.imul(q,re)|0)+Math.imul(P,ne)|0;o=o+Math.imul(P,re)|0;r=r+Math.imul(y,oe)|0;i=(i=i+Math.imul(y,se)|0)+Math.imul(x,oe)|0;o=o+Math.imul(x,se)|0;r=r+Math.imul(g,ue)|0;i=(i=i+Math.imul(g,le)|0)+Math.imul(v,ue)|0;o=o+Math.imul(v,le)|0;r=r+Math.imul(_,he)|0;i=(i=i+Math.imul(_,de)|0)+Math.imul(p,he)|0;o=o+Math.imul(p,de)|0;var Ee=(l+(r=r+Math.imul(h,_e)|0)|0)+((8191&(i=(i=i+Math.imul(h,pe)|0)+Math.imul(d,_e)|0))<<13)|0;l=((o=o+Math.imul(d,pe)|0)+(i>>>13)|0)+(Ee>>>26)|0;Ee&=67108863;r=Math.imul(F,H);i=(i=Math.imul(F,z))+Math.imul(N,H)|0;o=Math.imul(N,z);r=r+Math.imul(O,G)|0;i=(i=i+Math.imul(O,K)|0)+Math.imul(L,G)|0;o=o+Math.imul(L,K)|0;r=r+Math.imul(k,X)|0;i=(i=i+Math.imul(k,Z)|0)+Math.imul(B,X)|0;o=o+Math.imul(B,Z)|0;r=r+Math.imul(A,Q)|0;i=(i=i+Math.imul(A,ee)|0)+Math.imul(D,Q)|0;o=o+Math.imul(D,ee)|0;r=r+Math.imul(M,ne)|0;i=(i=i+Math.imul(M,re)|0)+Math.imul(C,ne)|0;o=o+Math.imul(C,re)|0;r=r+Math.imul(q,oe)|0;i=(i=i+Math.imul(q,se)|0)+Math.imul(P,oe)|0;o=o+Math.imul(P,se)|0;r=r+Math.imul(y,ue)|0;i=(i=i+Math.imul(y,le)|0)+Math.imul(x,ue)|0;o=o+Math.imul(x,le)|0;r=r+Math.imul(g,he)|0;i=(i=i+Math.imul(g,de)|0)+Math.imul(v,he)|0;o=o+Math.imul(v,de)|0;var Me=(l+(r=r+Math.imul(_,_e)|0)|0)+((8191&(i=(i=i+Math.imul(_,pe)|0)+Math.imul(p,_e)|0))<<13)|0;l=((o=o+Math.imul(p,pe)|0)+(i>>>13)|0)+(Me>>>26)|0;Me&=67108863;r=Math.imul(F,G);i=(i=Math.imul(F,K))+Math.imul(N,G)|0;o=Math.imul(N,K);r=r+Math.imul(O,X)|0;i=(i=i+Math.imul(O,Z)|0)+Math.imul(L,X)|0;o=o+Math.imul(L,Z)|0;r=r+Math.imul(k,Q)|0;i=(i=i+Math.imul(k,ee)|0)+Math.imul(B,Q)|0;o=o+Math.imul(B,ee)|0;r=r+Math.imul(A,ne)|0;i=(i=i+Math.imul(A,re)|0)+Math.imul(D,ne)|0;o=o+Math.imul(D,re)|0;r=r+Math.imul(M,oe)|0;i=(i=i+Math.imul(M,se)|0)+Math.imul(C,oe)|0;o=o+Math.imul(C,se)|0;r=r+Math.imul(q,ue)|0;i=(i=i+Math.imul(q,le)|0)+Math.imul(P,ue)|0;o=o+Math.imul(P,le)|0;r=r+Math.imul(y,he)|0;i=(i=i+Math.imul(y,de)|0)+Math.imul(x,he)|0;o=o+Math.imul(x,de)|0;var Ce=(l+(r=r+Math.imul(g,_e)|0)|0)+((8191&(i=(i=i+Math.imul(g,pe)|0)+Math.imul(v,_e)|0))<<13)|0;l=((o=o+Math.imul(v,pe)|0)+(i>>>13)|0)+(Ce>>>26)|0;Ce&=67108863;r=Math.imul(F,X);i=(i=Math.imul(F,Z))+Math.imul(N,X)|0;o=Math.imul(N,Z);r=r+Math.imul(O,Q)|0;i=(i=i+Math.imul(O,ee)|0)+Math.imul(L,Q)|0;o=o+Math.imul(L,ee)|0;r=r+Math.imul(k,ne)|0;i=(i=i+Math.imul(k,re)|0)+Math.imul(B,ne)|0;o=o+Math.imul(B,re)|0;r=r+Math.imul(A,oe)|0;i=(i=i+Math.imul(A,se)|0)+Math.imul(D,oe)|0;o=o+Math.imul(D,se)|0;r=r+Math.imul(M,ue)|0;i=(i=i+Math.imul(M,le)|0)+Math.imul(C,ue)|0;o=o+Math.imul(C,le)|0;r=r+Math.imul(q,he)|0;i=(i=i+Math.imul(q,de)|0)+Math.imul(P,he)|0;o=o+Math.imul(P,de)|0;var Se=(l+(r=r+Math.imul(y,_e)|0)|0)+((8191&(i=(i=i+Math.imul(y,pe)|0)+Math.imul(x,_e)|0))<<13)|0;l=((o=o+Math.imul(x,pe)|0)+(i>>>13)|0)+(Se>>>26)|0;Se&=67108863;r=Math.imul(F,Q);i=(i=Math.imul(F,ee))+Math.imul(N,Q)|0;o=Math.imul(N,ee);r=r+Math.imul(O,ne)|0;i=(i=i+Math.imul(O,re)|0)+Math.imul(L,ne)|0;o=o+Math.imul(L,re)|0;r=r+Math.imul(k,oe)|0;i=(i=i+Math.imul(k,se)|0)+Math.imul(B,oe)|0;o=o+Math.imul(B,se)|0;r=r+Math.imul(A,ue)|0;i=(i=i+Math.imul(A,le)|0)+Math.imul(D,ue)|0;o=o+Math.imul(D,le)|0;r=r+Math.imul(M,he)|0;i=(i=i+Math.imul(M,de)|0)+Math.imul(C,he)|0;o=o+Math.imul(C,de)|0;var Ae=(l+(r=r+Math.imul(q,_e)|0)|0)+((8191&(i=(i=i+Math.imul(q,pe)|0)+Math.imul(P,_e)|0))<<13)|0;l=((o=o+Math.imul(P,pe)|0)+(i>>>13)|0)+(Ae>>>26)|0;Ae&=67108863;r=Math.imul(F,ne);i=(i=Math.imul(F,re))+Math.imul(N,ne)|0;o=Math.imul(N,re);r=r+Math.imul(O,oe)|0;i=(i=i+Math.imul(O,se)|0)+Math.imul(L,oe)|0;o=o+Math.imul(L,se)|0;r=r+Math.imul(k,ue)|0;i=(i=i+Math.imul(k,le)|0)+Math.imul(B,ue)|0;o=o+Math.imul(B,le)|0;r=r+Math.imul(A,he)|0;i=(i=i+Math.imul(A,de)|0)+Math.imul(D,he)|0;o=o+Math.imul(D,de)|0;var De=(l+(r=r+Math.imul(M,_e)|0)|0)+((8191&(i=(i=i+Math.imul(M,pe)|0)+Math.imul(C,_e)|0))<<13)|0;l=((o=o+Math.imul(C,pe)|0)+(i>>>13)|0)+(De>>>26)|0;De&=67108863;r=Math.imul(F,oe);i=(i=Math.imul(F,se))+Math.imul(N,oe)|0;o=Math.imul(N,se);r=r+Math.imul(O,ue)|0;i=(i=i+Math.imul(O,le)|0)+Math.imul(L,ue)|0;o=o+Math.imul(L,le)|0;r=r+Math.imul(k,he)|0;i=(i=i+Math.imul(k,de)|0)+Math.imul(B,he)|0;o=o+Math.imul(B,de)|0;var Ie=(l+(r=r+Math.imul(A,_e)|0)|0)+((8191&(i=(i=i+Math.imul(A,pe)|0)+Math.imul(D,_e)|0))<<13)|0;l=((o=o+Math.imul(D,pe)|0)+(i>>>13)|0)+(Ie>>>26)|0;Ie&=67108863;r=Math.imul(F,ue);i=(i=Math.imul(F,le))+Math.imul(N,ue)|0;o=Math.imul(N,le);r=r+Math.imul(O,he)|0;i=(i=i+Math.imul(O,de)|0)+Math.imul(L,he)|0;o=o+Math.imul(L,de)|0;var ke=(l+(r=r+Math.imul(k,_e)|0)|0)+((8191&(i=(i=i+Math.imul(k,pe)|0)+Math.imul(B,_e)|0))<<13)|0;l=((o=o+Math.imul(B,pe)|0)+(i>>>13)|0)+(ke>>>26)|0;ke&=67108863;r=Math.imul(F,he);i=(i=Math.imul(F,de))+Math.imul(N,he)|0;o=Math.imul(N,de);var Be=(l+(r=r+Math.imul(O,_e)|0)|0)+((8191&(i=(i=i+Math.imul(O,pe)|0)+Math.imul(L,_e)|0))<<13)|0;l=((o=o+Math.imul(L,pe)|0)+(i>>>13)|0)+(Be>>>26)|0;Be&=67108863;var Te=(l+(r=Math.imul(F,_e))|0)+((8191&(i=(i=Math.imul(F,pe))+Math.imul(N,_e)|0))<<13)|0;l=((o=Math.imul(N,pe))+(i>>>13)|0)+(Te>>>26)|0;Te&=67108863;u[0]=me;u[1]=ge;u[2]=ve;u[3]=be;u[4]=ye;u[5]=xe;u[6]=we;u[7]=qe;u[8]=Pe;u[9]=Ee;u[10]=Me;u[11]=Ce;u[12]=Se;u[13]=Ae;u[14]=De;u[15]=Ie;u[16]=ke;u[17]=Be;u[18]=Te;if(0!==l){u[19]=l;n.length++}return n};Math.imul||(p=_);function m(e,t,n){return(new g).mulp(e,t,n)}s.prototype.mulTo=function(e,t){var n,r=this.length+e.length;n=10===this.length&&10===e.length?p(this,e,t):r<63?_(this,e,t):r<1024?function(e,t,n){n.negative=t.negative^e.negative;n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26;s&=67108863}n.words[o]=a;r=s;s=i}0!==r?n.words[o]=r:n.length--;return n.strip()}(this,e,t):m(this,e,t);return n};function g(e,t){this.x=e;this.y=t}g.prototype.makeRBT=function(e){for(var t=new Array(e),n=s.prototype._countBits(e)-1,r=0;r>=1}return r};g.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13;n[2*s+1]=8191&o;o>>>=13}for(s=2*t;s>=26;t+=r/67108864|0;t+=o>>>26;this.words[n]=67108863&o}if(0!==t){this.words[n]=t;this.length++}return this};s.prototype.muln=function(e){return this.clone().imuln(e)};s.prototype.sqr=function(){return this.mul(this)};s.prototype.isqr=function(){return this.imul(this.clone())};s.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}(e);if(0===t.length)return new s(1);for(var n=this,r=0;r=0);var t,n=e%26,r=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t>>26-n}if(s){this.words[t]=s;this.length++}}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0);var r;r=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s){this.length-=s;for(l=0;l=0&&(0!==c||l>=r);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o;c=h&a}u&&0!==c&&(u.words[u.length++]=c);if(0===this.length){this.words[0]=0;this.length=1}return this.strip()};s.prototype.ishrn=function(e,t,n){i(0===this.negative);return this.iushrn(e,t,n)};s.prototype.shln=function(e){return this.clone().ishln(e)};s.prototype.ushln=function(e){return this.clone().iushln(e)};s.prototype.shrn=function(e){return this.clone().ishrn(e)};s.prototype.ushrn=function(e){return this.clone().iushrn(e)};s.prototype.testn=function(e){i("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,r=1<=0);var t=e%26,n=(e-t)/26;i(0===this.negative,"imaskn works only with positive numbers");if(this.length<=n)return this;0!==t&&n++;this.length=Math.min(n,this.length);if(0!==t){var r=67108863^67108863>>>t<=67108864;t++){this.words[t]-=67108864;t===this.length-1?this.words[t+1]=1:this.words[t+1]++}this.length=Math.max(this.length,t+1);return this};s.prototype.isubn=function(e){i("number"==typeof e);i(e<67108864);if(e<0)return this.iaddn(-e);if(0!==this.negative){this.negative=0;this.iaddn(e);this.negative=1;return this}this.words[0]-=e;if(1===this.length&&this.words[0]<0){this.words[0]=-this.words[0];this.negative=1}else for(var t=0;t>26)-(u/67108864|0);this.words[r+n]=67108863&o}for(;r>26;this.words[r+n]=67108863&o}if(0===a)return this.strip();i(-1===a);a=0;for(r=0;r>26;this.words[r]=67108863&o}this.negative=1;return this.strip()};s.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,o=0|i.words[i.length-1];if(0!==(n=26-this._countBits(o))){i=i.ushln(n);r.iushln(n);o=0|i.words[i.length-1]}var a,u=r.length-i.length;if("mod"!==t){(a=new s(null)).length=u+1;a.words=new Array(a.length);for(var l=0;l=0;h--){var d=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);d=Math.min(d/o|0,67108863);r._ishlnsubmul(i,d,h);for(;0!==r.negative;){d--;r.negative=0;r._ishlnsubmul(i,1,h);r.isZero()||(r.negative^=1)}a&&(a.words[h]=d)}a&&a.strip();r.strip();"div"!==t&&0!==n&&r.iushrn(n);return{div:a||null,mod:r}};s.prototype.divmod=function(e,t,n){i(!e.isZero());if(this.isZero())return{div:new s(0),mod:new s(0)};var r,o,a;if(0!==this.negative&&0===e.negative){a=this.neg().divmod(e,t);"mod"!==t&&(r=a.div.neg());if("div"!==t){o=a.mod.neg();n&&0!==o.negative&&o.iadd(e)}return{div:r,mod:o}}if(0===this.negative&&0!==e.negative){a=this.divmod(e.neg(),t);"mod"!==t&&(r=a.div.neg());return{div:r,mod:a.mod}}if(0!=(this.negative&e.negative)){a=this.neg().divmod(e.neg(),t);if("div"!==t){o=a.mod.neg();n&&0!==o.negative&&o.isub(e)}return{div:a.div,mod:o}}return e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new s(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modn(e.words[0]))}:this._wordDiv(e,t)};s.prototype.div=function(e){return this.divmod(e,"div",!1).div};s.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod};s.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod};s.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)};s.prototype.modn=function(e){i(e<=67108863);for(var t=(1<<26)%e,n=0,r=this.length-1;r>=0;r--)n=(t*n+(0|this.words[r]))%e;return n};s.prototype.idivn=function(e){i(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var r=(0|this.words[n])+67108864*t;this.words[n]=r/e|0;t=r%e}return this.strip()};s.prototype.divn=function(e){return this.clone().idivn(e)};s.prototype.egcd=function(e){i(0===e.negative);i(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new s(1),o=new s(0),a=new s(0),u=new s(1),l=0;t.isEven()&&n.isEven();){t.iushrn(1);n.iushrn(1);++l}for(var c=n.clone(),h=t.clone();!t.isZero();){for(var d=0,f=1;0==(t.words[0]&f)&&d<26;++d,f<<=1);if(d>0){t.iushrn(d);for(;d-- >0;){if(r.isOdd()||o.isOdd()){r.iadd(c);o.isub(h)}r.iushrn(1);o.iushrn(1)}}for(var _=0,p=1;0==(n.words[0]&p)&&_<26;++_,p<<=1);if(_>0){n.iushrn(_);for(;_-- >0;){if(a.isOdd()||u.isOdd()){a.iadd(c);u.isub(h)}a.iushrn(1);u.iushrn(1)}}if(t.cmp(n)>=0){t.isub(n);r.isub(a);o.isub(u)}else{n.isub(t);a.isub(r);u.isub(o)}}return{a:a,b:u,gcd:n.iushln(l)}};s.prototype._invmp=function(e){i(0===e.negative);i(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r,o=new s(1),a=new s(0),u=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,c=1;0==(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);for(;l-- >0;){o.isOdd()&&o.iadd(u);o.iushrn(1)}}for(var h=0,d=1;0==(n.words[0]&d)&&h<26;++h,d<<=1);if(h>0){n.iushrn(h);for(;h-- >0;){a.isOdd()&&a.iadd(u);a.iushrn(1)}}if(t.cmp(n)>=0){t.isub(n);o.isub(a)}else{n.isub(t);a.isub(o)}}(r=0===t.cmpn(1)?o:a).cmpn(0)<0&&r.iadd(e);return r};s.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0;n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++){t.iushrn(1);n.iushrn(1)}for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n;n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)};s.prototype.invm=function(e){return this.egcd(e).a.umod(e)};s.prototype.isEven=function(){return 0==(1&this.words[0])};s.prototype.isOdd=function(){return 1==(1&this.words[0])};s.prototype.andln=function(e){return this.words[0]&e};s.prototype.bincn=function(e){i("number"==typeof e);var t=e%26,n=(e-t)/26,r=1<>>26;a&=67108863;this.words[s]=a}if(0!==o){this.words[s]=o;this.length++}return this};s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]};s.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;this.strip();if(this.length>1)t=1;else{n&&(e=-e);i(e<=67108863,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t};s.prototype.gtn=function(e){return 1===this.cmpn(e)};s.prototype.gt=function(e){return 1===this.cmp(e)};s.prototype.gten=function(e){return this.cmpn(e)>=0};s.prototype.gte=function(e){return this.cmp(e)>=0};s.prototype.ltn=function(e){return-1===this.cmpn(e)};s.prototype.lt=function(e){return-1===this.cmp(e)};s.prototype.lten=function(e){return this.cmpn(e)<=0};s.prototype.lte=function(e){return this.cmp(e)<=0};s.prototype.eqn=function(e){return 0===this.cmpn(e)};s.prototype.eq=function(e){return 0===this.cmp(e)};s.red=function(e){return new P(e)};s.prototype.toRed=function(e){i(!this.red,"Already a number in reduction context");i(0===this.negative,"red works only with positives");return e.convertTo(this)._forceRed(e)};s.prototype.fromRed=function(){i(this.red,"fromRed works only with numbers in reduction context");return this.red.convertFrom(this)};s.prototype._forceRed=function(e){this.red=e;return this};s.prototype.forceRed=function(e){i(!this.red,"Already a number in reduction context");return this._forceRed(e)};s.prototype.redAdd=function(e){i(this.red,"redAdd works only with red numbers");return this.red.add(this,e)};s.prototype.redIAdd=function(e){i(this.red,"redIAdd works only with red numbers");return this.red.iadd(this,e)};s.prototype.redSub=function(e){i(this.red,"redSub works only with red numbers");return this.red.sub(this,e)};s.prototype.redISub=function(e){i(this.red,"redISub works only with red numbers");return this.red.isub(this,e)};s.prototype.redShl=function(e){i(this.red,"redShl works only with red numbers");return this.red.shl(this,e)};s.prototype.redMul=function(e){i(this.red,"redMul works only with red numbers");this.red._verify2(this,e);return this.red.mul(this,e)};s.prototype.redIMul=function(e){i(this.red,"redMul works only with red numbers");this.red._verify2(this,e);return this.red.imul(this,e)};s.prototype.redSqr=function(){i(this.red,"redSqr works only with red numbers");this.red._verify1(this);return this.red.sqr(this)};s.prototype.redISqr=function(){i(this.red,"redISqr works only with red numbers");this.red._verify1(this);return this.red.isqr(this)};s.prototype.redSqrt=function(){i(this.red,"redSqrt works only with red numbers");this.red._verify1(this);return this.red.sqrt(this)};s.prototype.redInvm=function(){i(this.red,"redInvm works only with red numbers");this.red._verify1(this);return this.red.invm(this)};s.prototype.redNeg=function(){i(this.red,"redNeg works only with red numbers");this.red._verify1(this);return this.red.neg(this)};s.prototype.redPow=function(e){i(this.red&&!e.red,"redPow(normalNum)");this.red._verify1(this);return this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e;this.p=new s(t,16);this.n=this.p.bitLength();this.k=new s(1).iushln(this.n).isub(this.p);this.tmp=this._tmp()}b.prototype._tmp=function(){var e=new s(null);e.words=new Array(Math.ceil(this.n/13));return e};b.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp);t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip();return n};b.prototype.split=function(e,t){e.iushrn(this.n,0,t)};b.prototype.imulK=function(e){return e.imul(this.k)};function y(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}o(y,b);y.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22;o=s}o>>>=22;e.words[i-10]=o;0===o&&e.length>10?e.length-=10:e.length-=9}};y.prototype.imulK=function(e){e.words[e.length]=0;e.words[e.length+1]=0;e.length+=2;for(var t=0,n=0;n>>=26;e.words[n]=i;t=r}0!==t&&(e.words[e.length++]=t);return e};s._prime=function(e){if(v[e])return v[e];var t;if("k256"===e)t=new y;else if("p224"===e)t=new x;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new q}v[e]=t;return t};function P(e){if("string"==typeof e){var t=s._prime(e);this.m=t.p;this.prime=t}else{i(e.gtn(1),"modulus must be greater than 1");this.m=e;this.prime=null}}P.prototype._verify1=function(e){i(0===e.negative,"red works only with positives");i(e.red,"red works only with red numbers")};P.prototype._verify2=function(e,t){i(0==(e.negative|t.negative),"red works only with positives");i(e.red&&e.red===t.red,"red works only with red numbers")};P.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)};P.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)};P.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);n.cmp(this.m)>=0&&n.isub(this.m);return n._forceRed(this)};P.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);n.cmp(this.m)>=0&&n.isub(this.m);return n};P.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);n.cmpn(0)<0&&n.iadd(this.m);return n._forceRed(this)};P.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);n.cmpn(0)<0&&n.iadd(this.m);return n};P.prototype.shl=function(e,t){this._verify1(e);return this.imod(e.ushln(t))};P.prototype.imul=function(e,t){this._verify2(e,t);return this.imod(e.imul(t))};P.prototype.mul=function(e,t){this._verify2(e,t);return this.imod(e.mul(t))};P.prototype.isqr=function(e){return this.imul(e,e.clone())};P.prototype.sqr=function(e){return this.mul(e,e)};P.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);i(t%2==1);if(3===t){var n=this.m.add(new s(1)).iushrn(2);return this.pow(e,n)}for(var r=this.m.subn(1),o=0;!r.isZero()&&0===r.andln(1);){o++;r.iushrn(1)}i(!r.isZero());var a=new s(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new s(2*c*c).toRed(this);for(;0!==this.pow(c,l).cmp(u);)c.redIAdd(u);for(var h=this.pow(c,r),d=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),_=o;0!==f.cmp(a);){for(var p=f,m=0;0!==p.cmp(a);m++)p=p.redSqr();i(m<_);var g=this.pow(h,new s(1).iushln(_-m-1));d=d.redMul(g);h=g.redSqr();f=f.redMul(h);_=m}return d};P.prototype.invm=function(e){var t=e._invmp(this.m);if(0!==t.negative){t.negative=0;return this.imod(t).redNeg()}return this.imod(t)};P.prototype.pow=function(e,t){if(t.isZero())return new s(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new s(1).toRed(this);n[1]=e;for(var r=2;r=0;r--){for(var l=t.words[r],c=u-1;c>=0;c--){var h=l>>c&1;i!==n[0]&&(i=this.sqr(i));if(0!==h||0!==o){o<<=1;o|=h;if(4===++a||0===r&&0===c){i=this.mul(i,n[o]);a=0;o=0}}else a=0}u=26}return i};P.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t};P.prototype.convertFrom=function(e){var t=e.clone();t.red=null;return t};s.mont=function(e){return new E(e)};function E(e){P.call(this,e);this.shift=this.m.bitLength();this.shift%26!=0&&(this.shift+=26-this.shift%26);this.r=new s(1).iushln(this.shift);this.r2=this.imod(this.r.sqr());this.rinv=this.r._invmp(this.m);this.minv=this.rinv.mul(this.r).isubn(1).div(this.m);this.minv=this.minv.umod(this.r);this.minv=this.r.sub(this.minv)}o(E,P);E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))};E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));t.red=null;return t};E.prototype.imul=function(e,t){if(e.isZero()||t.isZero()){e.words[0]=0;e.length=1;return e}var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m));return o._forceRed(this)};E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new s(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m));return o._forceRed(this)};E.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t)}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/miller-rabin/node_modules/bn.js/lib/bn.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/miller-rabin/node_modules/bn.js/lib")},{_process:148,buffer:19,timers:185}],135:[function(e,t,n){(function(e,n,r,i,o,s,a,u,l,c,h){(function(){"use strict";t.exports=e;function e(e,t){if(!e)throw new Error(t||"Assertion failed")}e.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/minimalistic-assert/index.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/minimalistic-assert")},{_process:148,buffer:63,timers:185}],136:[function(e,t,n){(function(e,t,r,i,o,s,a,u,l,c,h){(function(){"use strict";var e=n;e.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"!=typeof e){for(var r=0;r>8,s=255&i;o?n.push(o,s):n.push(s)}return n};function t(e){return 1===e.length?"0"+e:e}e.zero2=t;function r(e){for(var n="",r=0;r=6?"utf-8":"binary"}else r="utf-8";t.exports=r}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/pbkdf2/lib/default-encoding.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/pbkdf2/lib")},{_process:148,buffer:63,timers:185}],145:[function(e,t,n){(function(e,n,r,i,o,s,a,u,l,c,h){(function(){"use strict";var e=Math.pow(2,30)-1;t.exports=function(t,n){if("number"!=typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!=typeof n)throw new TypeError("Key length not a number");if(n<0||n>e||n!=n)throw new TypeError("Bad key length")}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/pbkdf2/lib/precondition.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/pbkdf2/lib")},{_process:148,buffer:63,timers:185}],146:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("create-hash/md5"),r=e("ripemd160"),i=e("sha.js"),o=e("safe-buffer").Buffer,s=e("./precondition"),a=e("./default-encoding"),u=e("./to-buffer"),l=o.alloc(128),c={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(e,t,s){var a=function(e){function t(t){return i(e).update(t).digest()}function o(e){return(new r).update(e).digest()}return"rmd160"===e||"ripemd160"===e?o:"md5"===e?n:t}(e),u="sha512"===e||"sha384"===e?128:64;t.length>u?t=a(t):t.length1)for(var n=1;n0?e:t};s.min=function(e,t){return e.cmp(t)<0?e:t};s.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"===n(e))return this._initArray(e,t,r);"hex"===t&&(t=16);i(t===(0|t)&&t>=2&&t<=36);var o=0;if("-"===(e=e.toString().replace(/\s+/g,""))[0]){o++;this.negative=1}if(o=0;r-=3){s=e[r]|e[r-1]<<8|e[r-2]<<16;this.words[o]|=s<>>26-a&67108863;if((a+=24)>=26){a-=26;o++}}else if("le"===n)for(r=0,o=0;r>>26-a&67108863;if((a+=24)>=26){a-=26;o++}}return this.strip()};function u(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(e,t,n){var r=u(e,n);n-1>=t&&(r|=u(e,n-1)<<4);return r}s.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6);this.words=new Array(this.length);for(var r=0;r=t;r-=2){i=l(e,t,r)<=18){o-=18;s+=1;this.words[s]|=i>>>26}else o+=8}else{for(r=(e.length-t)%2==0?t+1:t;r=18){o-=18;s+=1;this.words[s]|=i>>>26}else o+=8}}this.strip()};function c(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s=49?a-49+10:a>=17?a-17+10:a}return i}s.prototype._parseBase=function(e,t,n){this.words=[0];this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--;i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,u=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()};s.prototype._normSign=function(){1===this.length&&0===this.words[0]&&(this.negative=0);return this};s.prototype.inspect=function(){return(this.red?""};var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];s.prototype.toString=function(e,t){t=0|t||1;var n;if(16===(e=e||10)||"hex"===e){n="";for(var r=0,o=0,s=0;s>>24-r&16777215)||s!==this.length-1?h[6-u.length]+u+n:u+n;if((r+=2)>=26){r-=26;s--}}0!==o&&(n=o.toString(16)+n);for(;n.length%t!=0;)n="0"+n;0!==this.negative&&(n="-"+n);return n}if(e===(0|e)&&e>=2&&e<=36){var l=d[e],c=f[e];n="";var _=this.clone();_.negative=0;for(;!_.isZero();){var p=_.modn(c).toString(e);n=(_=_.idivn(c)).isZero()?p+n:h[l-p.length]+p+n}this.isZero()&&(n="0"+n);for(;n.length%t!=0;)n="0"+n;0!==this.negative&&(n="-"+n);return n}i(!1,"Base should be between 2 and 36")};s.prototype.toNumber=function(){var e=this.words[0];2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits");return 0!==this.negative?-e:e};s.prototype.toJSON=function(){return this.toString(16)};s.prototype.toBuffer=function(e,t){i(void 0!==a);return this.toArrayLike(a,e,t)};s.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};s.prototype.toArrayLike=function(e,t,n){var r=this.byteLength(),o=n||Math.max(1,r);i(r<=o,"byte array longer than desired length");i(o>0,"Requested array length <= 0");this.strip();var s,a,u="le"===t,l=new e(o),c=this.clone();if(u){for(a=0;!c.isZero();a++){s=c.andln(255);c.iushrn(8);l[a]=s}for(;a=4096){n+=13;t>>>=13}if(t>=64){n+=7;t>>>=7}if(t>=8){n+=4;t>>>=4}if(t>=2){n+=2;t>>>=2}return n+t};s.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;if(0==(8191&t)){n+=13;t>>>=13}if(0==(127&t)){n+=7;t>>>=7}if(0==(15&t)){n+=4;t>>>=4}if(0==(3&t)){n+=2;t>>>=2}0==(1&t)&&n++;return n};s.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t};s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)};s.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)};s.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)};s.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)};s.prototype.iuxor=function(e){var t,n;if(this.length>e.length){t=this;n=e}else{t=e;n=this}for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)};s.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)};s.prototype.inotn=function(e){i("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t);n>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-n);return this.strip()};s.prototype.notn=function(e){return this.clone().inotn(e)};s.prototype.setn=function(e,t){i("number"==typeof e&&e>=0);var n=e/26|0,r=e%26;this._expand(n+1);this.words[n]=t?this.words[n]|1<e.length){n=this;r=e}else{n=e;r=this}for(var i=0,o=0;o>>26}for(;0!==i&&o>>26}this.length=n.length;if(0!==i){this.words[this.length]=i;this.length++}else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)};s.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);e.negative=1;return t._normSign()}if(0!==this.negative){this.negative=0;this.iadd(e);this.negative=1;return this._normSign()}var n,r,i=this.cmp(e);if(0===i){this.negative=0;this.length=1;this.words[0]=0;return this}if(i>0){n=this;r=e}else{n=e;r=this}for(var o=0,s=0;s>26;this.words[s]=67108863&t}for(;0!==o&&s>26;this.words[s]=67108863&t}if(0===o&&s>>26,h=67108863&u,d=Math.min(l,t.length-1),f=Math.max(0,l-e.length+1);f<=d;f++){var _=l-f|0;c+=(s=(i=0|e.words[_])*(o=0|t.words[f])+h)/67108864|0;h=67108863&s}n.words[l]=0|h;u=0|c}0!==u?n.words[l]=0|u:n.length--;return n.strip()}var p=function(e,t,n){var r,i,o,s=e.words,a=t.words,u=n.words,l=0,c=0|s[0],h=8191&c,d=c>>>13,f=0|s[1],_=8191&f,p=f>>>13,m=0|s[2],g=8191&m,v=m>>>13,b=0|s[3],y=8191&b,x=b>>>13,w=0|s[4],q=8191&w,P=w>>>13,E=0|s[5],M=8191&E,C=E>>>13,S=0|s[6],A=8191&S,D=S>>>13,I=0|s[7],k=8191&I,B=I>>>13,T=0|s[8],O=8191&T,L=T>>>13,R=0|s[9],F=8191&R,N=R>>>13,$=0|a[0],j=8191&$,W=$>>>13,U=0|a[1],H=8191&U,z=U>>>13,V=0|a[2],G=8191&V,K=V>>>13,Y=0|a[3],X=8191&Y,Z=Y>>>13,J=0|a[4],Q=8191&J,ee=J>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],he=8191&ce,de=ce>>>13,fe=0|a[9],_e=8191&fe,pe=fe>>>13;n.negative=e.negative^t.negative;n.length=19;var me=(l+(r=Math.imul(h,j))|0)+((8191&(i=(i=Math.imul(h,W))+Math.imul(d,j)|0))<<13)|0;l=((o=Math.imul(d,W))+(i>>>13)|0)+(me>>>26)|0;me&=67108863;r=Math.imul(_,j);i=(i=Math.imul(_,W))+Math.imul(p,j)|0;o=Math.imul(p,W);var ge=(l+(r=r+Math.imul(h,H)|0)|0)+((8191&(i=(i=i+Math.imul(h,z)|0)+Math.imul(d,H)|0))<<13)|0;l=((o=o+Math.imul(d,z)|0)+(i>>>13)|0)+(ge>>>26)|0;ge&=67108863;r=Math.imul(g,j);i=(i=Math.imul(g,W))+Math.imul(v,j)|0;o=Math.imul(v,W);r=r+Math.imul(_,H)|0;i=(i=i+Math.imul(_,z)|0)+Math.imul(p,H)|0;o=o+Math.imul(p,z)|0;var ve=(l+(r=r+Math.imul(h,G)|0)|0)+((8191&(i=(i=i+Math.imul(h,K)|0)+Math.imul(d,G)|0))<<13)|0;l=((o=o+Math.imul(d,K)|0)+(i>>>13)|0)+(ve>>>26)|0;ve&=67108863;r=Math.imul(y,j);i=(i=Math.imul(y,W))+Math.imul(x,j)|0;o=Math.imul(x,W);r=r+Math.imul(g,H)|0;i=(i=i+Math.imul(g,z)|0)+Math.imul(v,H)|0;o=o+Math.imul(v,z)|0;r=r+Math.imul(_,G)|0;i=(i=i+Math.imul(_,K)|0)+Math.imul(p,G)|0;o=o+Math.imul(p,K)|0;var be=(l+(r=r+Math.imul(h,X)|0)|0)+((8191&(i=(i=i+Math.imul(h,Z)|0)+Math.imul(d,X)|0))<<13)|0;l=((o=o+Math.imul(d,Z)|0)+(i>>>13)|0)+(be>>>26)|0;be&=67108863;r=Math.imul(q,j);i=(i=Math.imul(q,W))+Math.imul(P,j)|0;o=Math.imul(P,W);r=r+Math.imul(y,H)|0;i=(i=i+Math.imul(y,z)|0)+Math.imul(x,H)|0;o=o+Math.imul(x,z)|0;r=r+Math.imul(g,G)|0;i=(i=i+Math.imul(g,K)|0)+Math.imul(v,G)|0;o=o+Math.imul(v,K)|0;r=r+Math.imul(_,X)|0;i=(i=i+Math.imul(_,Z)|0)+Math.imul(p,X)|0;o=o+Math.imul(p,Z)|0;var ye=(l+(r=r+Math.imul(h,Q)|0)|0)+((8191&(i=(i=i+Math.imul(h,ee)|0)+Math.imul(d,Q)|0))<<13)|0;l=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(ye>>>26)|0;ye&=67108863;r=Math.imul(M,j);i=(i=Math.imul(M,W))+Math.imul(C,j)|0;o=Math.imul(C,W);r=r+Math.imul(q,H)|0;i=(i=i+Math.imul(q,z)|0)+Math.imul(P,H)|0;o=o+Math.imul(P,z)|0;r=r+Math.imul(y,G)|0;i=(i=i+Math.imul(y,K)|0)+Math.imul(x,G)|0;o=o+Math.imul(x,K)|0;r=r+Math.imul(g,X)|0;i=(i=i+Math.imul(g,Z)|0)+Math.imul(v,X)|0;o=o+Math.imul(v,Z)|0;r=r+Math.imul(_,Q)|0;i=(i=i+Math.imul(_,ee)|0)+Math.imul(p,Q)|0;o=o+Math.imul(p,ee)|0;var xe=(l+(r=r+Math.imul(h,ne)|0)|0)+((8191&(i=(i=i+Math.imul(h,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(xe>>>26)|0;xe&=67108863;r=Math.imul(A,j);i=(i=Math.imul(A,W))+Math.imul(D,j)|0;o=Math.imul(D,W);r=r+Math.imul(M,H)|0;i=(i=i+Math.imul(M,z)|0)+Math.imul(C,H)|0;o=o+Math.imul(C,z)|0;r=r+Math.imul(q,G)|0;i=(i=i+Math.imul(q,K)|0)+Math.imul(P,G)|0;o=o+Math.imul(P,K)|0;r=r+Math.imul(y,X)|0;i=(i=i+Math.imul(y,Z)|0)+Math.imul(x,X)|0;o=o+Math.imul(x,Z)|0;r=r+Math.imul(g,Q)|0;i=(i=i+Math.imul(g,ee)|0)+Math.imul(v,Q)|0;o=o+Math.imul(v,ee)|0;r=r+Math.imul(_,ne)|0;i=(i=i+Math.imul(_,re)|0)+Math.imul(p,ne)|0;o=o+Math.imul(p,re)|0;var we=(l+(r=r+Math.imul(h,oe)|0)|0)+((8191&(i=(i=i+Math.imul(h,se)|0)+Math.imul(d,oe)|0))<<13)|0;l=((o=o+Math.imul(d,se)|0)+(i>>>13)|0)+(we>>>26)|0;we&=67108863;r=Math.imul(k,j);i=(i=Math.imul(k,W))+Math.imul(B,j)|0;o=Math.imul(B,W);r=r+Math.imul(A,H)|0;i=(i=i+Math.imul(A,z)|0)+Math.imul(D,H)|0;o=o+Math.imul(D,z)|0;r=r+Math.imul(M,G)|0;i=(i=i+Math.imul(M,K)|0)+Math.imul(C,G)|0;o=o+Math.imul(C,K)|0;r=r+Math.imul(q,X)|0;i=(i=i+Math.imul(q,Z)|0)+Math.imul(P,X)|0;o=o+Math.imul(P,Z)|0;r=r+Math.imul(y,Q)|0;i=(i=i+Math.imul(y,ee)|0)+Math.imul(x,Q)|0;o=o+Math.imul(x,ee)|0;r=r+Math.imul(g,ne)|0;i=(i=i+Math.imul(g,re)|0)+Math.imul(v,ne)|0;o=o+Math.imul(v,re)|0;r=r+Math.imul(_,oe)|0;i=(i=i+Math.imul(_,se)|0)+Math.imul(p,oe)|0;o=o+Math.imul(p,se)|0;var qe=(l+(r=r+Math.imul(h,ue)|0)|0)+((8191&(i=(i=i+Math.imul(h,le)|0)+Math.imul(d,ue)|0))<<13)|0;l=((o=o+Math.imul(d,le)|0)+(i>>>13)|0)+(qe>>>26)|0;qe&=67108863;r=Math.imul(O,j);i=(i=Math.imul(O,W))+Math.imul(L,j)|0;o=Math.imul(L,W);r=r+Math.imul(k,H)|0;i=(i=i+Math.imul(k,z)|0)+Math.imul(B,H)|0;o=o+Math.imul(B,z)|0;r=r+Math.imul(A,G)|0;i=(i=i+Math.imul(A,K)|0)+Math.imul(D,G)|0;o=o+Math.imul(D,K)|0;r=r+Math.imul(M,X)|0;i=(i=i+Math.imul(M,Z)|0)+Math.imul(C,X)|0;o=o+Math.imul(C,Z)|0;r=r+Math.imul(q,Q)|0;i=(i=i+Math.imul(q,ee)|0)+Math.imul(P,Q)|0;o=o+Math.imul(P,ee)|0;r=r+Math.imul(y,ne)|0;i=(i=i+Math.imul(y,re)|0)+Math.imul(x,ne)|0;o=o+Math.imul(x,re)|0;r=r+Math.imul(g,oe)|0;i=(i=i+Math.imul(g,se)|0)+Math.imul(v,oe)|0;o=o+Math.imul(v,se)|0;r=r+Math.imul(_,ue)|0;i=(i=i+Math.imul(_,le)|0)+Math.imul(p,ue)|0;o=o+Math.imul(p,le)|0;var Pe=(l+(r=r+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,de)|0)+Math.imul(d,he)|0))<<13)|0;l=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(Pe>>>26)|0;Pe&=67108863;r=Math.imul(F,j);i=(i=Math.imul(F,W))+Math.imul(N,j)|0;o=Math.imul(N,W);r=r+Math.imul(O,H)|0;i=(i=i+Math.imul(O,z)|0)+Math.imul(L,H)|0;o=o+Math.imul(L,z)|0;r=r+Math.imul(k,G)|0;i=(i=i+Math.imul(k,K)|0)+Math.imul(B,G)|0;o=o+Math.imul(B,K)|0;r=r+Math.imul(A,X)|0;i=(i=i+Math.imul(A,Z)|0)+Math.imul(D,X)|0;o=o+Math.imul(D,Z)|0;r=r+Math.imul(M,Q)|0;i=(i=i+Math.imul(M,ee)|0)+Math.imul(C,Q)|0;o=o+Math.imul(C,ee)|0;r=r+Math.imul(q,ne)|0;i=(i=i+Math.imul(q,re)|0)+Math.imul(P,ne)|0;o=o+Math.imul(P,re)|0;r=r+Math.imul(y,oe)|0;i=(i=i+Math.imul(y,se)|0)+Math.imul(x,oe)|0;o=o+Math.imul(x,se)|0;r=r+Math.imul(g,ue)|0;i=(i=i+Math.imul(g,le)|0)+Math.imul(v,ue)|0;o=o+Math.imul(v,le)|0;r=r+Math.imul(_,he)|0;i=(i=i+Math.imul(_,de)|0)+Math.imul(p,he)|0;o=o+Math.imul(p,de)|0;var Ee=(l+(r=r+Math.imul(h,_e)|0)|0)+((8191&(i=(i=i+Math.imul(h,pe)|0)+Math.imul(d,_e)|0))<<13)|0;l=((o=o+Math.imul(d,pe)|0)+(i>>>13)|0)+(Ee>>>26)|0;Ee&=67108863;r=Math.imul(F,H);i=(i=Math.imul(F,z))+Math.imul(N,H)|0;o=Math.imul(N,z);r=r+Math.imul(O,G)|0;i=(i=i+Math.imul(O,K)|0)+Math.imul(L,G)|0;o=o+Math.imul(L,K)|0;r=r+Math.imul(k,X)|0;i=(i=i+Math.imul(k,Z)|0)+Math.imul(B,X)|0;o=o+Math.imul(B,Z)|0;r=r+Math.imul(A,Q)|0;i=(i=i+Math.imul(A,ee)|0)+Math.imul(D,Q)|0;o=o+Math.imul(D,ee)|0;r=r+Math.imul(M,ne)|0;i=(i=i+Math.imul(M,re)|0)+Math.imul(C,ne)|0;o=o+Math.imul(C,re)|0;r=r+Math.imul(q,oe)|0;i=(i=i+Math.imul(q,se)|0)+Math.imul(P,oe)|0;o=o+Math.imul(P,se)|0;r=r+Math.imul(y,ue)|0;i=(i=i+Math.imul(y,le)|0)+Math.imul(x,ue)|0;o=o+Math.imul(x,le)|0;r=r+Math.imul(g,he)|0;i=(i=i+Math.imul(g,de)|0)+Math.imul(v,he)|0;o=o+Math.imul(v,de)|0;var Me=(l+(r=r+Math.imul(_,_e)|0)|0)+((8191&(i=(i=i+Math.imul(_,pe)|0)+Math.imul(p,_e)|0))<<13)|0;l=((o=o+Math.imul(p,pe)|0)+(i>>>13)|0)+(Me>>>26)|0;Me&=67108863;r=Math.imul(F,G);i=(i=Math.imul(F,K))+Math.imul(N,G)|0;o=Math.imul(N,K);r=r+Math.imul(O,X)|0;i=(i=i+Math.imul(O,Z)|0)+Math.imul(L,X)|0;o=o+Math.imul(L,Z)|0;r=r+Math.imul(k,Q)|0;i=(i=i+Math.imul(k,ee)|0)+Math.imul(B,Q)|0;o=o+Math.imul(B,ee)|0;r=r+Math.imul(A,ne)|0;i=(i=i+Math.imul(A,re)|0)+Math.imul(D,ne)|0;o=o+Math.imul(D,re)|0;r=r+Math.imul(M,oe)|0;i=(i=i+Math.imul(M,se)|0)+Math.imul(C,oe)|0;o=o+Math.imul(C,se)|0;r=r+Math.imul(q,ue)|0;i=(i=i+Math.imul(q,le)|0)+Math.imul(P,ue)|0;o=o+Math.imul(P,le)|0;r=r+Math.imul(y,he)|0;i=(i=i+Math.imul(y,de)|0)+Math.imul(x,he)|0;o=o+Math.imul(x,de)|0;var Ce=(l+(r=r+Math.imul(g,_e)|0)|0)+((8191&(i=(i=i+Math.imul(g,pe)|0)+Math.imul(v,_e)|0))<<13)|0;l=((o=o+Math.imul(v,pe)|0)+(i>>>13)|0)+(Ce>>>26)|0;Ce&=67108863;r=Math.imul(F,X);i=(i=Math.imul(F,Z))+Math.imul(N,X)|0;o=Math.imul(N,Z);r=r+Math.imul(O,Q)|0;i=(i=i+Math.imul(O,ee)|0)+Math.imul(L,Q)|0;o=o+Math.imul(L,ee)|0;r=r+Math.imul(k,ne)|0;i=(i=i+Math.imul(k,re)|0)+Math.imul(B,ne)|0;o=o+Math.imul(B,re)|0;r=r+Math.imul(A,oe)|0;i=(i=i+Math.imul(A,se)|0)+Math.imul(D,oe)|0;o=o+Math.imul(D,se)|0;r=r+Math.imul(M,ue)|0;i=(i=i+Math.imul(M,le)|0)+Math.imul(C,ue)|0;o=o+Math.imul(C,le)|0;r=r+Math.imul(q,he)|0;i=(i=i+Math.imul(q,de)|0)+Math.imul(P,he)|0;o=o+Math.imul(P,de)|0;var Se=(l+(r=r+Math.imul(y,_e)|0)|0)+((8191&(i=(i=i+Math.imul(y,pe)|0)+Math.imul(x,_e)|0))<<13)|0;l=((o=o+Math.imul(x,pe)|0)+(i>>>13)|0)+(Se>>>26)|0;Se&=67108863;r=Math.imul(F,Q);i=(i=Math.imul(F,ee))+Math.imul(N,Q)|0;o=Math.imul(N,ee);r=r+Math.imul(O,ne)|0;i=(i=i+Math.imul(O,re)|0)+Math.imul(L,ne)|0;o=o+Math.imul(L,re)|0;r=r+Math.imul(k,oe)|0;i=(i=i+Math.imul(k,se)|0)+Math.imul(B,oe)|0;o=o+Math.imul(B,se)|0;r=r+Math.imul(A,ue)|0;i=(i=i+Math.imul(A,le)|0)+Math.imul(D,ue)|0;o=o+Math.imul(D,le)|0;r=r+Math.imul(M,he)|0;i=(i=i+Math.imul(M,de)|0)+Math.imul(C,he)|0;o=o+Math.imul(C,de)|0;var Ae=(l+(r=r+Math.imul(q,_e)|0)|0)+((8191&(i=(i=i+Math.imul(q,pe)|0)+Math.imul(P,_e)|0))<<13)|0;l=((o=o+Math.imul(P,pe)|0)+(i>>>13)|0)+(Ae>>>26)|0;Ae&=67108863;r=Math.imul(F,ne);i=(i=Math.imul(F,re))+Math.imul(N,ne)|0;o=Math.imul(N,re);r=r+Math.imul(O,oe)|0;i=(i=i+Math.imul(O,se)|0)+Math.imul(L,oe)|0;o=o+Math.imul(L,se)|0;r=r+Math.imul(k,ue)|0;i=(i=i+Math.imul(k,le)|0)+Math.imul(B,ue)|0;o=o+Math.imul(B,le)|0;r=r+Math.imul(A,he)|0;i=(i=i+Math.imul(A,de)|0)+Math.imul(D,he)|0;o=o+Math.imul(D,de)|0;var De=(l+(r=r+Math.imul(M,_e)|0)|0)+((8191&(i=(i=i+Math.imul(M,pe)|0)+Math.imul(C,_e)|0))<<13)|0;l=((o=o+Math.imul(C,pe)|0)+(i>>>13)|0)+(De>>>26)|0;De&=67108863;r=Math.imul(F,oe);i=(i=Math.imul(F,se))+Math.imul(N,oe)|0;o=Math.imul(N,se);r=r+Math.imul(O,ue)|0;i=(i=i+Math.imul(O,le)|0)+Math.imul(L,ue)|0;o=o+Math.imul(L,le)|0;r=r+Math.imul(k,he)|0;i=(i=i+Math.imul(k,de)|0)+Math.imul(B,he)|0;o=o+Math.imul(B,de)|0;var Ie=(l+(r=r+Math.imul(A,_e)|0)|0)+((8191&(i=(i=i+Math.imul(A,pe)|0)+Math.imul(D,_e)|0))<<13)|0;l=((o=o+Math.imul(D,pe)|0)+(i>>>13)|0)+(Ie>>>26)|0;Ie&=67108863;r=Math.imul(F,ue);i=(i=Math.imul(F,le))+Math.imul(N,ue)|0;o=Math.imul(N,le);r=r+Math.imul(O,he)|0;i=(i=i+Math.imul(O,de)|0)+Math.imul(L,he)|0;o=o+Math.imul(L,de)|0;var ke=(l+(r=r+Math.imul(k,_e)|0)|0)+((8191&(i=(i=i+Math.imul(k,pe)|0)+Math.imul(B,_e)|0))<<13)|0;l=((o=o+Math.imul(B,pe)|0)+(i>>>13)|0)+(ke>>>26)|0;ke&=67108863;r=Math.imul(F,he);i=(i=Math.imul(F,de))+Math.imul(N,he)|0;o=Math.imul(N,de);var Be=(l+(r=r+Math.imul(O,_e)|0)|0)+((8191&(i=(i=i+Math.imul(O,pe)|0)+Math.imul(L,_e)|0))<<13)|0;l=((o=o+Math.imul(L,pe)|0)+(i>>>13)|0)+(Be>>>26)|0;Be&=67108863;var Te=(l+(r=Math.imul(F,_e))|0)+((8191&(i=(i=Math.imul(F,pe))+Math.imul(N,_e)|0))<<13)|0;l=((o=Math.imul(N,pe))+(i>>>13)|0)+(Te>>>26)|0;Te&=67108863;u[0]=me;u[1]=ge;u[2]=ve;u[3]=be;u[4]=ye;u[5]=xe;u[6]=we;u[7]=qe;u[8]=Pe;u[9]=Ee;u[10]=Me;u[11]=Ce;u[12]=Se;u[13]=Ae;u[14]=De;u[15]=Ie;u[16]=ke;u[17]=Be;u[18]=Te;if(0!==l){u[19]=l;n.length++}return n};Math.imul||(p=_);function m(e,t,n){return(new g).mulp(e,t,n)}s.prototype.mulTo=function(e,t){var n,r=this.length+e.length;n=10===this.length&&10===e.length?p(this,e,t):r<63?_(this,e,t):r<1024?function(e,t,n){n.negative=t.negative^e.negative;n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26;s&=67108863}n.words[o]=a;r=s;s=i}0!==r?n.words[o]=r:n.length--;return n.strip()}(this,e,t):m(this,e,t);return n};function g(e,t){this.x=e;this.y=t}g.prototype.makeRBT=function(e){for(var t=new Array(e),n=s.prototype._countBits(e)-1,r=0;r>=1}return r};g.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13;n[2*s+1]=8191&o;o>>>=13}for(s=2*t;s>=26;t+=r/67108864|0;t+=o>>>26;this.words[n]=67108863&o}if(0!==t){this.words[n]=t;this.length++}return this};s.prototype.muln=function(e){return this.clone().imuln(e)};s.prototype.sqr=function(){return this.mul(this)};s.prototype.isqr=function(){return this.imul(this.clone())};s.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}(e);if(0===t.length)return new s(1);for(var n=this,r=0;r=0);var t,n=e%26,r=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t>>26-n}if(s){this.words[t]=s;this.length++}}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0);var r;r=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s){this.length-=s;for(l=0;l=0&&(0!==c||l>=r);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o;c=h&a}u&&0!==c&&(u.words[u.length++]=c);if(0===this.length){this.words[0]=0;this.length=1}return this.strip()};s.prototype.ishrn=function(e,t,n){i(0===this.negative);return this.iushrn(e,t,n)};s.prototype.shln=function(e){return this.clone().ishln(e)};s.prototype.ushln=function(e){return this.clone().iushln(e)};s.prototype.shrn=function(e){return this.clone().ishrn(e)};s.prototype.ushrn=function(e){return this.clone().iushrn(e)};s.prototype.testn=function(e){i("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,r=1<=0);var t=e%26,n=(e-t)/26;i(0===this.negative,"imaskn works only with positive numbers");if(this.length<=n)return this;0!==t&&n++;this.length=Math.min(n,this.length);if(0!==t){var r=67108863^67108863>>>t<=67108864;t++){this.words[t]-=67108864;t===this.length-1?this.words[t+1]=1:this.words[t+1]++}this.length=Math.max(this.length,t+1);return this};s.prototype.isubn=function(e){i("number"==typeof e);i(e<67108864);if(e<0)return this.iaddn(-e);if(0!==this.negative){this.negative=0;this.iaddn(e);this.negative=1;return this}this.words[0]-=e;if(1===this.length&&this.words[0]<0){this.words[0]=-this.words[0];this.negative=1}else for(var t=0;t>26)-(u/67108864|0);this.words[r+n]=67108863&o}for(;r>26;this.words[r+n]=67108863&o}if(0===a)return this.strip();i(-1===a);a=0;for(r=0;r>26;this.words[r]=67108863&o}this.negative=1;return this.strip()};s.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,o=0|i.words[i.length-1];if(0!==(n=26-this._countBits(o))){i=i.ushln(n);r.iushln(n);o=0|i.words[i.length-1]}var a,u=r.length-i.length;if("mod"!==t){(a=new s(null)).length=u+1;a.words=new Array(a.length);for(var l=0;l=0;h--){var d=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);d=Math.min(d/o|0,67108863);r._ishlnsubmul(i,d,h);for(;0!==r.negative;){d--;r.negative=0;r._ishlnsubmul(i,1,h);r.isZero()||(r.negative^=1)}a&&(a.words[h]=d)}a&&a.strip();r.strip();"div"!==t&&0!==n&&r.iushrn(n);return{div:a||null,mod:r}};s.prototype.divmod=function(e,t,n){i(!e.isZero());if(this.isZero())return{div:new s(0),mod:new s(0)};var r,o,a;if(0!==this.negative&&0===e.negative){a=this.neg().divmod(e,t);"mod"!==t&&(r=a.div.neg());if("div"!==t){o=a.mod.neg();n&&0!==o.negative&&o.iadd(e)}return{div:r,mod:o}}if(0===this.negative&&0!==e.negative){a=this.divmod(e.neg(),t);"mod"!==t&&(r=a.div.neg());return{div:r,mod:a.mod}}if(0!=(this.negative&e.negative)){a=this.neg().divmod(e.neg(),t);if("div"!==t){o=a.mod.neg();n&&0!==o.negative&&o.isub(e)}return{div:a.div,mod:o}}return e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new s(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modn(e.words[0]))}:this._wordDiv(e,t)};s.prototype.div=function(e){return this.divmod(e,"div",!1).div};s.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod};s.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod};s.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)};s.prototype.modn=function(e){i(e<=67108863);for(var t=(1<<26)%e,n=0,r=this.length-1;r>=0;r--)n=(t*n+(0|this.words[r]))%e;return n};s.prototype.idivn=function(e){i(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var r=(0|this.words[n])+67108864*t;this.words[n]=r/e|0;t=r%e}return this.strip()};s.prototype.divn=function(e){return this.clone().idivn(e)};s.prototype.egcd=function(e){i(0===e.negative);i(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new s(1),o=new s(0),a=new s(0),u=new s(1),l=0;t.isEven()&&n.isEven();){t.iushrn(1);n.iushrn(1);++l}for(var c=n.clone(),h=t.clone();!t.isZero();){for(var d=0,f=1;0==(t.words[0]&f)&&d<26;++d,f<<=1);if(d>0){t.iushrn(d);for(;d-- >0;){if(r.isOdd()||o.isOdd()){r.iadd(c);o.isub(h)}r.iushrn(1);o.iushrn(1)}}for(var _=0,p=1;0==(n.words[0]&p)&&_<26;++_,p<<=1);if(_>0){n.iushrn(_);for(;_-- >0;){if(a.isOdd()||u.isOdd()){a.iadd(c);u.isub(h)}a.iushrn(1);u.iushrn(1)}}if(t.cmp(n)>=0){t.isub(n);r.isub(a);o.isub(u)}else{n.isub(t);a.isub(r);u.isub(o)}}return{a:a,b:u,gcd:n.iushln(l)}};s.prototype._invmp=function(e){i(0===e.negative);i(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r,o=new s(1),a=new s(0),u=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,c=1;0==(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);for(;l-- >0;){o.isOdd()&&o.iadd(u);o.iushrn(1)}}for(var h=0,d=1;0==(n.words[0]&d)&&h<26;++h,d<<=1);if(h>0){n.iushrn(h);for(;h-- >0;){a.isOdd()&&a.iadd(u);a.iushrn(1)}}if(t.cmp(n)>=0){t.isub(n);o.isub(a)}else{n.isub(t);a.isub(o)}}(r=0===t.cmpn(1)?o:a).cmpn(0)<0&&r.iadd(e);return r};s.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0;n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++){t.iushrn(1);n.iushrn(1)}for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n;n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)};s.prototype.invm=function(e){return this.egcd(e).a.umod(e)};s.prototype.isEven=function(){return 0==(1&this.words[0])};s.prototype.isOdd=function(){return 1==(1&this.words[0])};s.prototype.andln=function(e){return this.words[0]&e};s.prototype.bincn=function(e){i("number"==typeof e);var t=e%26,n=(e-t)/26,r=1<>>26;a&=67108863;this.words[s]=a}if(0!==o){this.words[s]=o;this.length++}return this};s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]};s.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;this.strip();if(this.length>1)t=1;else{n&&(e=-e);i(e<=67108863,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t};s.prototype.gtn=function(e){return 1===this.cmpn(e)};s.prototype.gt=function(e){return 1===this.cmp(e)};s.prototype.gten=function(e){return this.cmpn(e)>=0};s.prototype.gte=function(e){return this.cmp(e)>=0};s.prototype.ltn=function(e){return-1===this.cmpn(e)};s.prototype.lt=function(e){return-1===this.cmp(e)};s.prototype.lten=function(e){return this.cmpn(e)<=0};s.prototype.lte=function(e){return this.cmp(e)<=0};s.prototype.eqn=function(e){return 0===this.cmpn(e)};s.prototype.eq=function(e){return 0===this.cmp(e)};s.red=function(e){return new P(e)};s.prototype.toRed=function(e){i(!this.red,"Already a number in reduction context");i(0===this.negative,"red works only with positives");return e.convertTo(this)._forceRed(e)};s.prototype.fromRed=function(){i(this.red,"fromRed works only with numbers in reduction context");return this.red.convertFrom(this)};s.prototype._forceRed=function(e){this.red=e;return this};s.prototype.forceRed=function(e){i(!this.red,"Already a number in reduction context");return this._forceRed(e)};s.prototype.redAdd=function(e){i(this.red,"redAdd works only with red numbers");return this.red.add(this,e)};s.prototype.redIAdd=function(e){i(this.red,"redIAdd works only with red numbers");return this.red.iadd(this,e)};s.prototype.redSub=function(e){i(this.red,"redSub works only with red numbers");return this.red.sub(this,e)};s.prototype.redISub=function(e){i(this.red,"redISub works only with red numbers");return this.red.isub(this,e)};s.prototype.redShl=function(e){i(this.red,"redShl works only with red numbers");return this.red.shl(this,e)};s.prototype.redMul=function(e){i(this.red,"redMul works only with red numbers");this.red._verify2(this,e);return this.red.mul(this,e)};s.prototype.redIMul=function(e){i(this.red,"redMul works only with red numbers");this.red._verify2(this,e);return this.red.imul(this,e)};s.prototype.redSqr=function(){i(this.red,"redSqr works only with red numbers");this.red._verify1(this);return this.red.sqr(this)};s.prototype.redISqr=function(){i(this.red,"redISqr works only with red numbers");this.red._verify1(this);return this.red.isqr(this)};s.prototype.redSqrt=function(){i(this.red,"redSqrt works only with red numbers");this.red._verify1(this);return this.red.sqrt(this)};s.prototype.redInvm=function(){i(this.red,"redInvm works only with red numbers");this.red._verify1(this);return this.red.invm(this)};s.prototype.redNeg=function(){i(this.red,"redNeg works only with red numbers");this.red._verify1(this);return this.red.neg(this)};s.prototype.redPow=function(e){i(this.red&&!e.red,"redPow(normalNum)");this.red._verify1(this);return this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e;this.p=new s(t,16);this.n=this.p.bitLength();this.k=new s(1).iushln(this.n).isub(this.p);this.tmp=this._tmp()}b.prototype._tmp=function(){var e=new s(null);e.words=new Array(Math.ceil(this.n/13));return e};b.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp);t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip();return n};b.prototype.split=function(e,t){e.iushrn(this.n,0,t)};b.prototype.imulK=function(e){return e.imul(this.k)};function y(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}o(y,b);y.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22;o=s}o>>>=22;e.words[i-10]=o;0===o&&e.length>10?e.length-=10:e.length-=9}};y.prototype.imulK=function(e){e.words[e.length]=0;e.words[e.length+1]=0;e.length+=2;for(var t=0,n=0;n>>=26;e.words[n]=i;t=r}0!==t&&(e.words[e.length++]=t);return e};s._prime=function(e){if(v[e])return v[e];var t;if("k256"===e)t=new y;else if("p224"===e)t=new x;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new q}v[e]=t;return t};function P(e){if("string"==typeof e){var t=s._prime(e);this.m=t.p;this.prime=t}else{i(e.gtn(1),"modulus must be greater than 1");this.m=e;this.prime=null}}P.prototype._verify1=function(e){i(0===e.negative,"red works only with positives");i(e.red,"red works only with red numbers")};P.prototype._verify2=function(e,t){i(0==(e.negative|t.negative),"red works only with positives");i(e.red&&e.red===t.red,"red works only with red numbers")};P.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)};P.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)};P.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);n.cmp(this.m)>=0&&n.isub(this.m);return n._forceRed(this)};P.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);n.cmp(this.m)>=0&&n.isub(this.m);return n};P.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);n.cmpn(0)<0&&n.iadd(this.m);return n._forceRed(this)};P.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);n.cmpn(0)<0&&n.iadd(this.m);return n};P.prototype.shl=function(e,t){this._verify1(e);return this.imod(e.ushln(t))};P.prototype.imul=function(e,t){this._verify2(e,t);return this.imod(e.imul(t))};P.prototype.mul=function(e,t){this._verify2(e,t);return this.imod(e.mul(t))};P.prototype.isqr=function(e){return this.imul(e,e.clone())};P.prototype.sqr=function(e){return this.mul(e,e)};P.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);i(t%2==1);if(3===t){var n=this.m.add(new s(1)).iushrn(2);return this.pow(e,n)}for(var r=this.m.subn(1),o=0;!r.isZero()&&0===r.andln(1);){o++;r.iushrn(1)}i(!r.isZero());var a=new s(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new s(2*c*c).toRed(this);for(;0!==this.pow(c,l).cmp(u);)c.redIAdd(u);for(var h=this.pow(c,r),d=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),_=o;0!==f.cmp(a);){for(var p=f,m=0;0!==p.cmp(a);m++)p=p.redSqr();i(m<_);var g=this.pow(h,new s(1).iushln(_-m-1));d=d.redMul(g);h=g.redSqr();f=f.redMul(h);_=m}return d};P.prototype.invm=function(e){var t=e._invmp(this.m);if(0!==t.negative){t.negative=0;return this.imod(t).redNeg()}return this.imod(t)};P.prototype.pow=function(e,t){if(t.isZero())return new s(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new s(1).toRed(this);n[1]=e;for(var r=2;r=0;r--){for(var l=t.words[r],c=u-1;c>=0;c--){var h=l>>c&1;i!==n[0]&&(i=this.sqr(i));if(0!==h||0!==o){o<<=1;o|=h;if(4===++a||0===r&&0===c){i=this.mul(i,n[o]);a=0;o=0}}else a=0}u=26}return i};P.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t};P.prototype.convertFrom=function(e){var t=e.clone();t.red=null;return t};s.mont=function(e){return new E(e)};function E(e){P.call(this,e);this.shift=this.m.bitLength();this.shift%26!=0&&(this.shift+=26-this.shift%26);this.r=new s(1).iushln(this.shift);this.r2=this.imod(this.r.sqr());this.rinv=this.r._invmp(this.m);this.minv=this.rinv.mul(this.r).isubn(1).div(this.m);this.minv=this.minv.umod(this.r);this.minv=this.r.sub(this.minv)}o(E,P);E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))};E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));t.red=null;return t};E.prototype.imul=function(e,t){if(e.isZero()||t.isZero()){e.words[0]=0;e.length=1;return e}var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m));return o._forceRed(this)};E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new s(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m));return o._forceRed(this)};E.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t)}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/public-encrypt/node_modules/bn.js/lib/bn.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/public-encrypt/node_modules/bn.js/lib")},{_process:148,buffer:19,timers:185}],152:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("parse-asn1"),r=e("./mgf"),i=e("./xor"),o=e("bn.js"),s=e("browserify-rsa"),a=e("create-hash"),u=e("./withPublic"),l=e("safe-buffer").Buffer;t.exports=function(e,t,c){var h;h=e.padding?e.padding:c?1:4;var d,f=n(e),_=f.modulus.byteLength();if(t.length>_||new o(t).cmp(f.modulus)>=0)throw new Error("decryption error");d=c?u(new o(t),f):s(t,f);var p=l.alloc(_-d.length);d=l.concat([p,d],_);if(4===h)return function(e,t){var n=e.modulus.byteLength(),o=a("sha1").update(l.alloc(0)).digest(),s=o.length;if(0!==t[0])throw new Error("decryption error");var u=t.slice(1,s+1),c=t.slice(s+1),h=i(u,r(c,s)),d=i(c,r(h,n-s-1));if(function(e,t){e=l.from(e);t=l.from(t);var n=0,r=e.length;if(e.length!==t.length){n++;r=Math.min(e.length,t.length)}var i=-1;for(;++i=t.length){o++;break}var s=t.slice(2,i-1);("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++;s.length<8&&o++;if(o)throw new Error("decryption error");return t.slice(i)}(0,d,c);if(3===h)return d;throw new Error("unknown padding")}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/public-encrypt/privateDecrypt.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/public-encrypt")},{"./mgf":150,"./withPublic":154,"./xor":155,_process:148,"bn.js":151,"browserify-rsa":40,buffer:63,"create-hash":67,"parse-asn1":141,"safe-buffer":159,timers:185}],153:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("parse-asn1"),r=e("randombytes"),i=e("create-hash"),o=e("./mgf"),s=e("./xor"),a=e("bn.js"),u=e("./withPublic"),l=e("browserify-rsa"),c=e("safe-buffer").Buffer;t.exports=function(e,t,h){var d;d=e.padding?e.padding:h?1:4;var f,_=n(e);if(4===d)f=function(e,t){var n=e.modulus.byteLength(),u=t.length,l=i("sha1").update(c.alloc(0)).digest(),h=l.length,d=2*h;if(u>n-d-2)throw new Error("message too long");var f=c.alloc(n-u-d-2),_=n-h-1,p=r(h),m=s(c.concat([l,f,c.alloc(1,1),t],_),o(p,_)),g=s(p,o(m,h));return new a(c.concat([c.alloc(1),g,m],n))}(_,t);else if(1===d)f=function(e,t,n){var i,o=t.length,s=e.modulus.byteLength();if(o>s-11)throw new Error("message too long");i=n?c.alloc(s-o-3,255):function(e){var t,n=c.allocUnsafe(e),i=0,o=r(2*e),s=0;for(;i=0)throw new Error("data too long for modulus")}return h?l(f,_):u(f,_)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/public-encrypt/publicEncrypt.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/public-encrypt")},{"./mgf":150,"./withPublic":154,"./xor":155,_process:148,"bn.js":151,"browserify-rsa":40,buffer:63,"create-hash":67,"parse-asn1":141,randombytes:156,"safe-buffer":159,timers:185}],154:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("bn.js"),r=e("safe-buffer").Buffer;t.exports=function(e,t){return r.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/public-encrypt/withPublic.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/public-encrypt")},{_process:148,"bn.js":151,buffer:63,"safe-buffer":159,timers:185}],155:[function(e,t,n){(function(e,n,r,i,o,s,a,u,l,c,h){(function(){"use strict";t.exports=function(e,t){for(var n=e.length,r=-1;++ro)throw new RangeError("requested too many random bytes");var r=s.allocUnsafe(e);if(e>0)if(e>i)for(var u=0;uc||e<0)throw new TypeError("offset must be a uint32");if(e>u||e>t)throw new RangeError("offset out of range")}function d(e,t,n){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>c||e<0)throw new TypeError("size must be a uint32");if(e+t>n||e>u)throw new RangeError("buffer too small")}if(l&&l.getRandomValues||!t.browser){n.randomFill=function(e,t,n,i){if(!(a.isBuffer(e)||e instanceof r.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t){i=t;t=0;n=e.length}else if("function"==typeof n){i=n;n=e.length-t}else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');h(t,e.length);d(n,t,e.length);return f(e,t,n,i)};n.randomFillSync=function(e,t,n){void 0===t&&(t=0);if(!(a.isBuffer(e)||e instanceof r.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');h(t,e.length);void 0===n&&(n=e.length-t);d(n,t,e.length);return f(e,t,n)}}else{n.randomFill=i;n.randomFillSync=i}function f(e,n,r,i){if(t.browser){var o=e.buffer,a=new Uint8Array(o,n,r);l.getRandomValues(a);if(i){t.nextTick((function(){i(null,e)}));return}return e}if(!i){s(r).copy(e,n);return e}s(r,(function(t,r){if(t)return i(t);r.copy(e,n);i(null,e)}))}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/randomfill/browser.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/randomfill")},{_process:148,buffer:63,randombytes:156,"safe-buffer":159,timers:185}],158:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("buffer").Buffer,r=e("inherits"),i=e("hash-base"),o=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],a=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],c=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function d(){i.call(this,64);this._a=1732584193;this._b=4023233417;this._c=2562383102;this._d=271733878;this._e=3285377520}r(d,i);d.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,i=0|this._c,d=0|this._d,b=0|this._e,y=0|this._a,x=0|this._b,w=0|this._c,q=0|this._d,P=0|this._e,E=0;E<80;E+=1){var M,C;if(E<16){M=_(n,r,i,d,b,e[s[E]],c[0],u[E]);C=v(y,x,w,q,P,e[a[E]],h[0],l[E])}else if(E<32){M=p(n,r,i,d,b,e[s[E]],c[1],u[E]);C=g(y,x,w,q,P,e[a[E]],h[1],l[E])}else if(E<48){M=m(n,r,i,d,b,e[s[E]],c[2],u[E]);C=m(y,x,w,q,P,e[a[E]],h[2],l[E])}else if(E<64){M=g(n,r,i,d,b,e[s[E]],c[3],u[E]);C=p(y,x,w,q,P,e[a[E]],h[3],l[E])}else{M=v(n,r,i,d,b,e[s[E]],c[4],u[E]);C=_(y,x,w,q,P,e[a[E]],h[4],l[E])}n=b;b=d;d=f(i,10);i=r;r=M;y=P;P=q;q=f(w,10);w=x;x=C}var S=this._b+i+q|0;this._b=this._c+d+P|0;this._c=this._d+b+y|0;this._d=this._e+n+x|0;this._e=this._a+r+w|0;this._a=S};d.prototype._digest=function(){this._block[this._blockOffset++]=128;if(this._blockOffset>56){this._block.fill(0,this._blockOffset,64);this._update();this._blockOffset=0}this._block.fill(0,this._blockOffset,56);this._block.writeUInt32LE(this._length[0],56);this._block.writeUInt32LE(this._length[1],60);this._update();var e=n.alloc?n.alloc(20):new n(20);e.writeInt32LE(this._a,0);e.writeInt32LE(this._b,4);e.writeInt32LE(this._c,8);e.writeInt32LE(this._d,12);e.writeInt32LE(this._e,16);return e};function f(e,t){return e<>>32-t}function _(e,t,n,r,i,o,s,a){return f(e+(t^n^r)+o+s|0,a)+i|0}function p(e,t,n,r,i,o,s,a){return f(e+(t&n|~t&r)+o+s|0,a)+i|0}function m(e,t,n,r,i,o,s,a){return f(e+((t|~n)^r)+o+s|0,a)+i|0}function g(e,t,n,r,i,o,s,a){return f(e+(t&r|n&~r)+o+s|0,a)+i|0}function v(e,t,n,r,i,o,s,a){return f(e+(t^(n|~r))+o+s|0,a)+i|0}t.exports=d}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/ripemd160/index.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/ripemd160")},{_process:148,buffer:63,"hash-base":101,inherits:131,timers:185}],159:[function(e,t,n){(function(r,i,o,s,a,u,l,c,h,d,f){(function(){"use strict"; /*! safe-buffer. MIT License. Feross Aboukhadijeh */var r=e("buffer"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}if(i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow)t.exports=r;else{o(r,n);n.Buffer=s}function s(e,t,n){return i(e,t,n)}s.prototype=Object.create(i.prototype);o(i,s);s.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)};s.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0);return r};s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)};s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/safe-buffer/index.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/safe-buffer")},{_process:148,buffer:63,timers:185}],160:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i,o=e("buffer"),s=o.Buffer,a={};for(i in o)o.hasOwnProperty(i)&&"SlowBuffer"!==i&&"Buffer"!==i&&(a[i]=o[i]);var u=a.Buffer={};for(i in s)s.hasOwnProperty(i)&&"allocUnsafe"!==i&&"allocUnsafeSlow"!==i&&(u[i]=s[i]);a.Buffer.prototype=s.prototype;u.from&&u.from!==Uint8Array.from||(u.from=function(e,t,n){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+r(e));if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+r(e));return s(e,t,n)});u.alloc||(u.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+r(e));if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var i=s(e);t&&0!==t.length?"string"==typeof n?i.fill(t,n):i.fill(t):i.fill(0);return i});if(!a.kStringMaxLength)try{a.kStringMaxLength=n.binding("buffer").kStringMaxLength}catch(e){}if(!a.constants){a.constants={MAX_LENGTH:a.kMaxLength};a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)}t.exports=a}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/safer-buffer/safer.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/safer-buffer")},{_process:148,buffer:63,timers:185}],161:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("safe-buffer").Buffer;function r(e,t){this._block=n.alloc(e);this._finalSize=t;this._blockSize=e;this._len=0}r.prototype.update=function(e,t){if("string"==typeof e){t=t||"utf8";e=n.from(e,t)}for(var r=this._block,i=this._blockSize,o=e.length,s=this._len,a=0;a=this._finalSize){this._update(this._block);this._block.fill(0)}var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8);this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o};r.prototype._update=function(){throw new Error("_update must be implemented by subclass")};t.exports=r}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js/hash.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js")},{_process:148,buffer:63,"safe-buffer":159,timers:185}],162:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=t.exports=function(e){e=e.toLowerCase();var t=n[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};n.sha=e("./sha");n.sha1=e("./sha1");n.sha224=e("./sha224");n.sha256=e("./sha256");n.sha384=e("./sha384");n.sha512=e("./sha512")}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js/index.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js")},{"./sha":163,"./sha1":164,"./sha224":165,"./sha256":166,"./sha384":167,"./sha512":168,_process:148,buffer:63,timers:185}],163:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("inherits"),r=e("./hash"),i=e("safe-buffer").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function a(){this.init();this._w=s;r.call(this,64,56)}n(a,r);a.prototype.init=function(){this._a=1732584193;this._b=4023233417;this._c=2562383102;this._d=271733878;this._e=3285377520;return this};function u(e){return e<<30|e>>>2}function l(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}a.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,c=0|this._e,h=0;h<16;++h)n[h]=e.readInt32BE(4*h);for(;h<80;++h)n[h]=n[h-3]^n[h-8]^n[h-14]^n[h-16];for(var d=0;d<80;++d){var f=~~(d/20),_=((t=r)<<5|t>>>27)+l(f,i,s,a)+c+n[d]+o[f]|0;c=a;a=s;s=u(i);i=r;r=_}this._a=r+this._a|0;this._b=i+this._b|0;this._c=s+this._c|0;this._d=a+this._d|0;this._e=c+this._e|0};a.prototype._hash=function(){var e=i.allocUnsafe(20);e.writeInt32BE(0|this._a,0);e.writeInt32BE(0|this._b,4);e.writeInt32BE(0|this._c,8);e.writeInt32BE(0|this._d,12);e.writeInt32BE(0|this._e,16);return e};t.exports=a}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js/sha.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js")},{"./hash":161,_process:148,buffer:63,inherits:131,"safe-buffer":159,timers:185}],164:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("inherits"),r=e("./hash"),i=e("safe-buffer").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function a(){this.init();this._w=s;r.call(this,64,56)}n(a,r);a.prototype.init=function(){this._a=1732584193;this._b=4023233417;this._c=2562383102;this._d=271733878;this._e=3285377520;return this};function u(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function c(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}a.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,h=0|this._e,d=0;d<16;++d)n[d]=e.readInt32BE(4*d);for(;d<80;++d)n[d]=(t=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|t>>>31;for(var f=0;f<80;++f){var _=~~(f/20),p=u(r)+c(_,i,s,a)+h+n[f]+o[_]|0;h=a;a=s;s=l(i);i=r;r=p}this._a=r+this._a|0;this._b=i+this._b|0;this._c=s+this._c|0;this._d=a+this._d|0;this._e=h+this._e|0};a.prototype._hash=function(){var e=i.allocUnsafe(20);e.writeInt32BE(0|this._a,0);e.writeInt32BE(0|this._b,4);e.writeInt32BE(0|this._c,8);e.writeInt32BE(0|this._d,12);e.writeInt32BE(0|this._e,16);return e};t.exports=a}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js/sha1.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js")},{"./hash":161,_process:148,buffer:63,inherits:131,"safe-buffer":159,timers:185}],165:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("inherits"),r=e("./sha256"),i=e("./hash"),o=e("safe-buffer").Buffer,s=new Array(64);function a(){this.init();this._w=s;i.call(this,64,56)}n(a,r);a.prototype.init=function(){this._a=3238371032;this._b=914150663;this._c=812702999;this._d=4144912697;this._e=4290775857;this._f=1750603025;this._g=1694076839;this._h=3204075428;return this};a.prototype._hash=function(){var e=o.allocUnsafe(28);e.writeInt32BE(this._a,0);e.writeInt32BE(this._b,4);e.writeInt32BE(this._c,8);e.writeInt32BE(this._d,12);e.writeInt32BE(this._e,16);e.writeInt32BE(this._f,20);e.writeInt32BE(this._g,24);return e};t.exports=a}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js/sha224.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js")},{"./hash":161,"./sha256":166,_process:148,buffer:63,inherits:131,"safe-buffer":159,timers:185}],166:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("inherits"),r=e("./hash"),i=e("safe-buffer").Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function a(){this.init();this._w=s;r.call(this,64,56)}n(a,r);a.prototype.init=function(){this._a=1779033703;this._b=3144134277;this._c=1013904242;this._d=2773480762;this._e=1359893119;this._f=2600822924;this._g=528734635;this._h=1541459225;return this};function u(e,t,n){return n^e&(t^n)}function l(e,t,n){return e&t|n&(e|t)}function c(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function d(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}a.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,f=0|this._e,_=0|this._f,p=0|this._g,m=0|this._h,g=0;g<16;++g)n[g]=e.readInt32BE(4*g);for(;g<64;++g)n[g]=(((t=n[g-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[g-7]+d(n[g-15])+n[g-16]|0;for(var v=0;v<64;++v){var b=m+h(f)+u(f,_,p)+o[v]+n[v]|0,y=c(r)+l(r,i,s)|0;m=p;p=_;_=f;f=a+b|0;a=s;s=i;i=r;r=b+y|0}this._a=r+this._a|0;this._b=i+this._b|0;this._c=s+this._c|0;this._d=a+this._d|0;this._e=f+this._e|0;this._f=_+this._f|0;this._g=p+this._g|0;this._h=m+this._h|0};a.prototype._hash=function(){var e=i.allocUnsafe(32);e.writeInt32BE(this._a,0);e.writeInt32BE(this._b,4);e.writeInt32BE(this._c,8);e.writeInt32BE(this._d,12);e.writeInt32BE(this._e,16);e.writeInt32BE(this._f,20);e.writeInt32BE(this._g,24);e.writeInt32BE(this._h,28);return e};t.exports=a}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js/sha256.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js")},{"./hash":161,_process:148,buffer:63,inherits:131,"safe-buffer":159,timers:185}],167:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("inherits"),r=e("./sha512"),i=e("./hash"),o=e("safe-buffer").Buffer,s=new Array(160);function a(){this.init();this._w=s;i.call(this,128,112)}n(a,r);a.prototype.init=function(){this._ah=3418070365;this._bh=1654270250;this._ch=2438529370;this._dh=355462360;this._eh=1731405415;this._fh=2394180231;this._gh=3675008525;this._hh=1203062813;this._al=3238371032;this._bl=914150663;this._cl=812702999;this._dl=4144912697;this._el=4290775857;this._fl=1750603025;this._gl=1694076839;this._hl=3204075428;return this};a.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r);e.writeInt32BE(n,r+4)}t(this._ah,this._al,0);t(this._bh,this._bl,8);t(this._ch,this._cl,16);t(this._dh,this._dl,24);t(this._eh,this._el,32);t(this._fh,this._fl,40);return e};t.exports=a}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js/sha384.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js")},{"./hash":161,"./sha512":168,_process:148,buffer:63,inherits:131,"safe-buffer":159,timers:185}],168:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("inherits"),r=e("./hash"),i=e("safe-buffer").Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function a(){this.init();this._w=s;r.call(this,128,112)}n(a,r);a.prototype.init=function(){this._ah=1779033703;this._bh=3144134277;this._ch=1013904242;this._dh=2773480762;this._eh=1359893119;this._fh=2600822924;this._gh=528734635;this._hh=1541459225;this._al=4089235720;this._bl=2227873595;this._cl=4271175723;this._dl=1595750129;this._el=2917565137;this._fl=725511199;this._gl=4215389547;this._hl=327033209;return this};function u(e,t,n){return n^e&(t^n)}function l(e,t,n){return e&t|n&(e|t)}function c(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function d(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function _(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function p(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function m(e,t){return e>>>0>>0?1:0}a.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,s=0|this._dh,a=0|this._eh,g=0|this._fh,v=0|this._gh,b=0|this._hh,y=0|this._al,x=0|this._bl,w=0|this._cl,q=0|this._dl,P=0|this._el,E=0|this._fl,M=0|this._gl,C=0|this._hl,S=0;S<32;S+=2){t[S]=e.readInt32BE(4*S);t[S+1]=e.readInt32BE(4*S+4)}for(;S<160;S+=2){var A=t[S-30],D=t[S-30+1],I=d(A,D),k=f(D,A),B=_(A=t[S-4],D=t[S-4+1]),T=p(D,A),O=t[S-14],L=t[S-14+1],R=t[S-32],F=t[S-32+1],N=k+L|0,$=I+O+m(N,k)|0;$=($=$+B+m(N=N+T|0,T)|0)+R+m(N=N+F|0,F)|0;t[S]=$;t[S+1]=N}for(var j=0;j<160;j+=2){$=t[j];N=t[j+1];var W=l(n,r,i),U=l(y,x,w),H=c(n,y),z=c(y,n),V=h(a,P),G=h(P,a),K=o[j],Y=o[j+1],X=u(a,g,v),Z=u(P,E,M),J=C+G|0,Q=b+V+m(J,C)|0;Q=(Q=(Q=Q+X+m(J=J+Z|0,Z)|0)+K+m(J=J+Y|0,Y)|0)+$+m(J=J+N|0,N)|0;var ee=z+U|0,te=H+W+m(ee,z)|0;b=v;C=M;v=g;M=E;g=a;E=P;a=s+Q+m(P=q+J|0,q)|0;s=i;q=w;i=r;w=x;r=n;x=y;n=Q+te+m(y=J+ee|0,J)|0}this._al=this._al+y|0;this._bl=this._bl+x|0;this._cl=this._cl+w|0;this._dl=this._dl+q|0;this._el=this._el+P|0;this._fl=this._fl+E|0;this._gl=this._gl+M|0;this._hl=this._hl+C|0;this._ah=this._ah+n+m(this._al,y)|0;this._bh=this._bh+r+m(this._bl,x)|0;this._ch=this._ch+i+m(this._cl,w)|0;this._dh=this._dh+s+m(this._dl,q)|0;this._eh=this._eh+a+m(this._el,P)|0;this._fh=this._fh+g+m(this._fl,E)|0;this._gh=this._gh+v+m(this._gl,M)|0;this._hh=this._hh+b+m(this._hl,C)|0};a.prototype._hash=function(){var e=i.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r);e.writeInt32BE(n,r+4)}t(this._ah,this._al,0);t(this._bh,this._bl,8);t(this._ch,this._cl,16);t(this._dh,this._dl,24);t(this._eh,this._el,32);t(this._fh,this._fl,40);t(this._gh,this._gl,48);t(this._hh,this._hl,56);return e};t.exports=a}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js/sha512.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/sha.js")},{"./hash":161,_process:148,buffer:63,inherits:131,"safe-buffer":159,timers:185}],169:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";t.exports=r;var n=e("events").EventEmitter;e("inherits")(r,n);r.Readable=e("readable-stream/lib/_stream_readable.js");r.Writable=e("readable-stream/lib/_stream_writable.js");r.Duplex=e("readable-stream/lib/_stream_duplex.js");r.Transform=e("readable-stream/lib/_stream_transform.js");r.PassThrough=e("readable-stream/lib/_stream_passthrough.js");r.finished=e("readable-stream/lib/internal/streams/end-of-stream.js");r.pipeline=e("readable-stream/lib/internal/streams/pipeline.js");r.Stream=r;function r(){n.call(this)}r.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}r.on("data",i);function o(){r.readable&&r.resume&&r.resume()}e.on("drain",o);if(!(e._isStdio||t&&!1===t.end)){r.on("end",a);r.on("close",u)}var s=!1;function a(){if(!s){s=!0;e.end()}}function u(){if(!s){s=!0;"function"==typeof e.destroy&&e.destroy()}}function l(e){c();if(0===n.listenerCount(this,"error"))throw e}r.on("error",l);e.on("error",l);function c(){r.removeListener("data",i);e.removeListener("drain",o);r.removeListener("end",a);r.removeListener("close",u);r.removeListener("error",l);e.removeListener("error",l);r.removeListener("end",c);r.removeListener("close",c);e.removeListener("close",c)}r.on("end",c);r.on("close",c);e.on("close",c);e.emit("pipe",r);return e}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/index.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify")},{_process:148,buffer:63,events:99,inherits:131,"readable-stream/lib/_stream_duplex.js":171,"readable-stream/lib/_stream_passthrough.js":172,"readable-stream/lib/_stream_readable.js":173,"readable-stream/lib/_stream_transform.js":174,"readable-stream/lib/_stream_writable.js":175,"readable-stream/lib/internal/streams/end-of-stream.js":179,"readable-stream/lib/internal/streams/pipeline.js":181,timers:185}],170:[function(e,t,n){(function(e,n,r,i,o,s,a,u,l,c,h){(function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}var n={};function r(e,t,r){r||(r=Error);var i=function(e){!function(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}(n,e);function n(n,r,i){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,i))||this}return n}(r);i.prototype.name=r.name;i.prototype.code=e;n[e]=i}function i(e,t){if(Array.isArray(e)){var n=e.length;e=e.map((function(e){return String(e)}));return n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}r("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError);r("ERR_INVALID_ARG_TYPE",(function(t,n,r){var o,s,a,u;if("string"==typeof n&&(s="not ",n.substr(!a||a<0?0:+a,s.length)===s)){o="must not be";n=n.replace(/^not /,"")}else o="must be";if(function(e,t,n){(void 0===n||n>e.length)&&(n=e.length);return e.substring(n-t.length,n)===t}(t," argument"))u="The ".concat(t," ").concat(o," ").concat(i(n,"type"));else{var l=function(e,t,n){"number"!=typeof n&&(n=0);return!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(t,".")?"property":"argument";u='The "'.concat(t,'" ').concat(l," ").concat(o," ").concat(i(n,"type"))}return u+=". Received type ".concat(e(r))}),TypeError);r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");r("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"}));r("ERR_STREAM_PREMATURE_CLOSE","Premature close");r("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"}));r("ERR_MULTIPLE_CALLBACK","Callback called multiple times");r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");r("ERR_STREAM_WRITE_AFTER_END","write after end");r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);r("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError);r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");t.exports.codes=n}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream")},{_process:148,buffer:63,timers:185}],171:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=l;var i=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(l,i);for(var s=r(o.prototype),a=0;a0){"string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t));if(r)o.endEmitted?w(e,new x):C(e,o,t,!0);else if(o.ended)w(e,new b);else{if(o.destroyed)return!1;o.reading=!1;if(o.decoder&&!n){t=o.decoder.write(t);o.objectMode||0!==t.length?C(e,o,t,!1):k(e,o)}else C(e,o,t,!1)}}else if(!r){o.reading=!1;k(e,o)}}return!o.ended&&(o.lengtht.highWaterMark&&(t.highWaterMark=function(e){if(e>=S)e=S;else{e--;e|=e>>>1;e|=e>>>2;e|=e>>>4;e|=e>>>8;e|=e>>>16;e++}return e}(e));if(e<=t.length)return e;if(!t.ended){t.needReadable=!0;return 0}return t.length}E.prototype.read=function(e){l("read",e);e=parseInt(e,10);var t=this._readableState,n=e;0!==e&&(t.emittedReadable=!1);if(0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended)){l("read: emitReadable",t.length,t.ended);0===t.length&&t.ended?N(this):D(this);return null}if(0===(e=A(e,t))&&t.ended){0===t.length&&N(this);return null}var r,i=t.needReadable;l("need readable",i);(0===t.length||t.length-e0?F(e,t):null)){t.needReadable=t.length<=t.highWaterMark;e=0}else{t.length-=e;t.awaitDrain=0}if(0===t.length){t.ended||(t.needReadable=!0);n!==e&&t.ended&&N(this)}null!==r&&this.emit("data",r);return r};function D(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable);t.needReadable=!1;if(!t.emittedReadable){l("emitReadable",t.flowing);t.emittedReadable=!0;n.nextTick(I,e)}}function I(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended);if(!t.destroyed&&(t.length||t.ended)){e.emit("readable");t.emittedReadable=!1}t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark;R(e)}function k(e,t){if(!t.readingMore){t.readingMore=!0;n.nextTick(B,e,t)}}function B(e,t){for(;!t.reading&&!t.ended&&(t.length1&&-1!==j(i.pipes,e))&&!h){l("false write response, pause",i.awaitDrain);i.awaitDrain++}r.pause()}}function f(t){l("onerror",t);m();e.removeListener("error",f);0===o(e,"error")&&w(e,t)}!function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f);function _(){e.removeListener("finish",p);m()}e.once("close",_);function p(){l("onfinish");e.removeListener("close",_);m()}e.once("finish",p);function m(){l("unpipe");r.unpipe(e)}e.emit("pipe",r);if(!i.flowing){l("pipe resume");r.resume()}return e};E.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount){if(e&&e!==t.pipes)return this;e||(e=t.pipes);t.pipes=null;t.pipesCount=0;t.flowing=!1;e&&e.emit("unpipe",this,n);return this}if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null;t.pipesCount=0;t.flowing=!1;for(var o=0;o0;!1!==i.flowing&&this.resume()}else if("readable"===e&&!i.endEmitted&&!i.readableListening){i.readableListening=i.needReadable=!0;i.flowing=!1;i.emittedReadable=!1;l("on readable",i.length,i.reading);i.length?D(this):i.reading||n.nextTick(O,this)}return r};E.prototype.addListener=E.prototype.on;E.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);"readable"===e&&n.nextTick(T,this);return r};E.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);"readable"!==e&&void 0!==e||n.nextTick(T,this);return t};function T(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0;t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function O(e){l("readable nexttick read 0");e.read(0)}E.prototype.resume=function(){var e=this._readableState;if(!e.flowing){l("resume");e.flowing=!e.readableListening;!function(e,t){if(!t.resumeScheduled){t.resumeScheduled=!0;n.nextTick(L,e,t)}}(this,e)}e.paused=!1;return this};function L(e,t){l("resume",t.reading);t.reading||e.read(0);t.resumeScheduled=!1;e.emit("resume");R(e);t.flowing&&!t.reading&&e.read(0)}E.prototype.pause=function(){l("call pause flowing=%j",this._readableState.flowing);if(!1!==this._readableState.flowing){l("pause");this._readableState.flowing=!1;this.emit("pause")}this._readableState.paused=!0;return this};function R(e){var t=e._readableState;l("flow",t.flowing);for(;t.flowing&&null!==e.read(););}E.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;e.on("end",(function(){l("wrapped end");if(n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}));e.on("data",(function(i){l("wrapped data");n.decoder&&(i=n.decoder.write(i));if((!n.objectMode||null!=i)&&(n.objectMode||i&&i.length)){if(!t.push(i)){r=!0;e.pause()}}}));for(var i in e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o=t.length){n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length);t.buffer.clear()}else n=t.buffer.consume(e,t.decoder);return n}function N(e){var t=e._readableState;l("endReadable",t.endEmitted);if(!t.endEmitted){t.ended=!0;n.nextTick($,t,e)}}function $(e,t){l("endReadableNT",e.endEmitted,e.length);if(!e.endEmitted&&0===e.length){e.endEmitted=!0;t.readable=!1;t.emit("end");if(e.autoDestroy){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}}"function"==typeof Symbol&&(E.from=function(t,n){void 0===f&&(f=e("./internal/streams/from"));return f(E,t,n)});function j(e,t){for(var n=0,r=e.length;n-1))throw new x(e);this._writableState.defaultEncoding=e;return this};Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function M(e,t,n,r,i,o,s){t.writelen=r;t.writecb=s;t.writing=!0;t.sync=!0;t.destroyed?t.onwrite(new v("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite);t.sync=!1}function C(e,t,n,r){n||function(e,t){if(0===t.length&&t.needDrain){t.needDrain=!1;e.emit("drain")}}(e,t);t.pendingcb--;r();I(e,t)}function S(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),s=t.corkedRequestsFree;s.entry=n;for(var a=0,u=!0;n;){o[a]=n;n.isBuf||(u=!1);n=n.next;a+=1}o.allBuffers=u;M(e,t,!0,t.length,o,"",s.finish);t.pendingcb++;t.lastBufferedRequest=null;if(s.next){t.corkedRequestsFree=s.next;s.next=null}else t.corkedRequestsFree=new i(t);t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,h=n.callback;M(e,t,!1,t.objectMode?1:l.length,l,c,h);n=n.next;t.bufferedRequestCount--;if(t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n;t.bufferProcessing=!1}E.prototype._write=function(e,t,n){n(new p("_write()"))};E.prototype._writev=null;E.prototype.end=function(e,t,r){var i=this._writableState;if("function"==typeof e){r=e;e=null;t=null}else if("function"==typeof t){r=t;t=null}null!=e&&this.write(e,t);if(i.corked){i.corked=1;this.uncork()}i.ending||function(e,t,r){t.ending=!0;I(e,t);r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0;e.writable=!1}(this,i,r);return this};Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function A(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function D(e,t){e._final((function(n){t.pendingcb--;n&&w(e,n);t.prefinished=!0;e.emit("prefinish");I(e,t)}))}function I(e,t){var r=A(t);if(r){!function(e,t){if(!t.prefinished&&!t.finalCalled)if("function"!=typeof e._final||t.destroyed){t.prefinished=!0;e.emit("prefinish")}else{t.pendingcb++;t.finalCalled=!0;n.nextTick(D,e,t)}}(e,t);if(0===t.pendingcb){t.finished=!0;e.emit("finish");if(t.autoDestroy){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}}}return r}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}});E.prototype.destroy=h.destroy;E.prototype._undestroy=h.undestroy;E.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/lib")},{"../errors":170,"./_stream_duplex":171,"./internal/streams/destroy":178,"./internal/streams/state":182,"./internal/streams/stream":183,_process:148,buffer:63,inherits:131,timers:185,"util-deprecate":186}],176:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i;function o(e,t,n){(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}var s=e("./end-of-stream"),a=Symbol("lastResolve"),u=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),h=Symbol("lastPromise"),d=Symbol("handlePromise"),f=Symbol("stream");function _(e,t){return{value:e,done:t}}function p(e){var t=e[a];if(null!==t){var n=e[f].read();if(null!==n){e[h]=null;e[a]=null;e[u]=null;t(_(n,!1))}}}function m(e){n.nextTick(p,e)}var g=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((o(i={get stream(){return this[f]},next:function(){var e=this,t=this[l];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(_(void 0,!0));if(this[f].destroyed)return new Promise((function(t,r){n.nextTick((function(){e[l]?r(e[l]):t(_(void 0,!0))}))}));var r,i=this[h];if(i)r=new Promise(function(e,t){return function(n,r){e.then((function(){t[c]?n(_(void 0,!0)):t[d](n,r)}),r)}}(i,this));else{var o=this[f].read();if(null!==o)return Promise.resolve(_(o,!1));r=new Promise(this[d])}this[h]=r;return r}},Symbol.asyncIterator,(function(){return this})),o(i,"return",(function(){var e=this;return new Promise((function(t,n){e[f].destroy(null,(function(e){e?n(e):t(_(void 0,!0))}))}))})),i),g);t.exports=function(e){var t,n=Object.create(v,(o(t={},f,{value:e,writable:!0}),o(t,a,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,c,{value:e._readableState.endEmitted,writable:!0}),o(t,d,{value:function(e,t){var r=n[f].read();if(r){n[h]=null;n[a]=null;n[u]=null;e(_(r,!1))}else{n[a]=e;n[u]=t}},writable:!0}),t));n[h]=null;s(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[u];if(null!==t){n[h]=null;n[a]=null;n[u]=null;t(e)}n[l]=e}else{var r=n[a];if(null!==r){n[h]=null;n[a]=null;n[u]=null;r(_(void 0,!0))}n[c]=!0}}));e.on("readable",m.bind(null,n));return n}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/async_iterator.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams")},{"./end-of-stream":179,_process:148,buffer:63,timers:185}],177:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t0?this.tail.next=t:this.head=t;this.tail=t;++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t);this.head=t;++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;1===this.length?this.head=this.tail=null:this.head=this.head.next;--this.length;return e}}},{key:"clear",value:function(){this.head=this.tail=null;this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return u.alloc(0);for(var t,n,r,i=u.allocUnsafe(e>>>0),o=this.head,s=0;o;){t=o.data,n=i,r=s,u.prototype.copy.call(t,n,r);s+=o.data.length;o=o.next}return i}},{key:"consume",value:function(e,t){var n;if(ei.length?i.length:e;o===i.length?r+=i:r+=i.slice(0,e);if(0===(e-=o)){if(o===i.length){++n;t.next?this.head=t.next:this.head=this.tail=null}else{this.head=t;t.data=i.slice(o)}break}++n}this.length-=n;return r}},{key:"_getBuffer",value:function(e){var t=u.allocUnsafe(e),n=this.head,r=1;n.data.copy(t);e-=n.data.length;for(;n=n.next;){var i=n.data,o=e>i.length?i.length:e;i.copy(t,t.length-e,0,o);if(0===(e-=o)){if(o===i.length){++r;n.next?this.head=n.next:this.head=this.tail=null}else{this.head=n;n.data=i.slice(o)}break}++r}this.length-=r;return t}},{key:c,value:function(e,t){return l(this,i(i({},t),{},{depth:0,customInspect:!1}))}}]);return e}()}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/buffer_list.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams")},{_process:148,buffer:63,timers:185,util:19}],178:[function(e,t,n){(function(e,n,r,i,o,s,a,u,l,c,h){(function(){"use strict";function n(e,t){i(e,t);r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}t.exports={destroy:function(t,o){var s=this,a=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;if(a||u){if(o)o(t);else if(t)if(this._writableState){if(!this._writableState.errorEmitted){this._writableState.errorEmitted=!0;e.nextTick(i,this,t)}}else e.nextTick(i,this,t);return this}this._readableState&&(this._readableState.destroyed=!0);this._writableState&&(this._writableState.destroyed=!0);this._destroy(t||null,(function(t){if(!o&&t)if(s._writableState)if(s._writableState.errorEmitted)e.nextTick(r,s);else{s._writableState.errorEmitted=!0;e.nextTick(n,s,t)}else e.nextTick(n,s,t);else if(o){e.nextTick(r,s);o(t)}else e.nextTick(r,s)}));return this},undestroy:function(){if(this._readableState){this._readableState.destroyed=!1;this._readableState.reading=!1;this._readableState.ended=!1;this._readableState.endEmitted=!1}if(this._writableState){this._writableState.destroyed=!1;this._writableState.ended=!1;this._writableState.ending=!1;this._writableState.finalCalled=!1;this._writableState.prefinished=!1;this._writableState.finished=!1;this._writableState.errorEmitted=!1}},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams")},{_process:148,buffer:63,timers:185}],179:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function r(){}t.exports=function e(t,i,o){if("function"==typeof i)return e(t,null,i);i||(i={});o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i0,(function(e){c||(c=e);e&&d.forEach(a);if(!s){d.forEach(a);h(c)}}))}));return r.reduce(u)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/pipeline.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams")},{"../../../errors":170,"./end-of-stream":179,_process:148,buffer:63,timers:185}],182:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var n=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,r,i){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0){throw new n(i?r:"highWaterMark",o)}return Math.floor(o)}return e.objectMode?16:16384}}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams")},{"../../../errors":170,_process:148,buffer:63,timers:185}],183:[function(e,t,n){(function(n,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";t.exports=e("events").EventEmitter}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/stream-browser.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams")},{_process:148,buffer:63,events:99,timers:185}],184:[function(e,t,n){(function(t,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var t=e("safe-buffer").Buffer,r=t.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};n.StringDecoder=i;function i(e){this.encoding=function(e){var n=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase();t=!0}}(e);if("string"!=typeof n&&(t.isEncoding===r||!r(e)))throw new Error("Unknown encoding: "+e);return n||e}(e);var n;switch(this.encoding){case"utf16le":this.text=a;this.end=u;n=4;break;case"utf8":this.fillLast=s;n=4;break;case"base64":this.text=l;this.end=c;n=3;break;default:this.write=h;this.end=d;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=t.allocUnsafe(n)}i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed;this.lastNeed=0}else n=0;return n=0){i>0&&(e.lastNeed=i-1);return i}if(--r=0){i>0&&(e.lastNeed=i-2);return i}if(--r=0){i>0&&(2===i?i=0:e.lastNeed=i-3);return i}return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);e.copy(this.lastChar,0,r);return e.toString("utf8",t,r)};i.prototype.fillLast=function(e){if(this.lastNeed<=e.length){e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length);this.lastNeed-=e.length};function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0])){e.lastNeed=0;return"�"}if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1])){e.lastNeed=1;return"�"}if(e.lastNeed>2&&t.length>2&&128!=(192&t[2])){e.lastNeed=2;return"�"}}}(this,e);if(void 0!==n)return n;if(this.lastNeed<=e.length){e.copy(this.lastChar,t,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,t,0,e.length);this.lastNeed-=e.length}function a(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1];return n.slice(0,-1)}}return n}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=e[e.length-1];return e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;if(0===n)return e.toString("base64",t);this.lastNeed=3-n;this.lastTotal=3;if(1===n)this.lastChar[0]=e[e.length-1];else{this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1]}return e.toString("base64",t,e.length-n)}function c(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/string_decoder/lib/string_decoder.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/string_decoder/lib")},{_process:148,buffer:63,"safe-buffer":159,timers:185}],185:[function(e,t,n){(function(t,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";var t=e("process/browser.js").nextTick,r=Function.prototype.apply,i=Array.prototype.slice,o={},s=0;n.setTimeout=function(){return new a(r.call(setTimeout,window,arguments),clearTimeout)};n.setInterval=function(){return new a(r.call(setInterval,window,arguments),clearInterval)};n.clearTimeout=n.clearInterval=function(e){e.close()};function a(e,t){this._id=e;this._clearFn=t}a.prototype.unref=a.prototype.ref=function(){};a.prototype.close=function(){this._clearFn.call(window,this._id)};n.enroll=function(e,t){clearTimeout(e._idleTimeoutId);e._idleTimeout=t};n.unenroll=function(e){clearTimeout(e._idleTimeoutId);e._idleTimeout=-1};n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))};n.setImmediate="function"==typeof l?l:function(e){var r=s++,a=!(arguments.length<2)&&i.call(arguments,1);o[r]=!0;t((function(){if(o[r]){a?e.apply(null,a):e.call(null);n.clearImmediate(r)}}));return r};n.clearImmediate="function"==typeof c?c:function(e){delete o[e]}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/timers-browserify/main.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/timers-browserify")},{_process:148,buffer:63,"process/browser.js":148,timers:185}],186:[function(e,t,n){(function(e,n,r,i,o,s,a,u,l,c,h){(function(){"use strict";t.exports=function(t,n){if(e("noDeprecation"))return t;var r=!1;return function(){if(!r){if(e("throwDeprecation"))throw new Error(n);e("traceDeprecation")?console.trace(n):console.warn(n);r=!0}return t.apply(this,arguments)}};function e(e){try{if(!n.localStorage)return!1}catch(e){return!1}var t=n.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/util-deprecate/browser.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/util-deprecate")},{_process:148,buffer:63,timers:185}],crypto:[function(e,t,n){(function(t,r,i,o,s,a,u,l,c,h,d){(function(){"use strict";n.randomBytes=n.rng=n.pseudoRandomBytes=n.prng=e("randombytes");n.createHash=n.Hash=e("create-hash");n.createHmac=n.Hmac=e("create-hmac");var t=e("browserify-sign/algos"),r=Object.keys(t),i=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(r);n.getHashes=function(){return i};var o=e("pbkdf2");n.pbkdf2=o.pbkdf2;n.pbkdf2Sync=o.pbkdf2Sync;var s=e("browserify-cipher");n.Cipher=s.Cipher;n.createCipher=s.createCipher;n.Cipheriv=s.Cipheriv;n.createCipheriv=s.createCipheriv;n.Decipher=s.Decipher;n.createDecipher=s.createDecipher;n.Decipheriv=s.Decipheriv;n.createDecipheriv=s.createDecipheriv;n.getCiphers=s.getCiphers;n.listCiphers=s.listCiphers;var a=e("diffie-hellman");n.DiffieHellmanGroup=a.DiffieHellmanGroup;n.createDiffieHellmanGroup=a.createDiffieHellmanGroup;n.getDiffieHellman=a.getDiffieHellman;n.createDiffieHellman=a.createDiffieHellman;n.DiffieHellman=a.DiffieHellman;var u=e("browserify-sign");n.createSign=u.createSign;n.Sign=u.Sign;n.createVerify=u.createVerify;n.Verify=u.Verify;n.createECDH=e("create-ecdh");var l=e("public-encrypt");n.publicEncrypt=l.publicEncrypt;n.privateEncrypt=l.privateEncrypt;n.publicDecrypt=l.publicDecrypt;n.privateDecrypt=l.privateDecrypt;var c=e("randomfill");n.randomFill=c.randomFill;n.randomFillSync=c.randomFillSync;n.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))};n.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate,e("timers").clearImmediate,"/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/crypto-browserify/index.js","/../../../../../../usr/local/lib/node_modules/@qooxdoo/framework/node_modules/crypto-browserify")},{_process:148,"browserify-cipher":37,"browserify-sign":44,"browserify-sign/algos":41,buffer:63,"create-ecdh":65,"create-hash":67,"create-hmac":69,"diffie-hellman":77,pbkdf2:142,"public-encrypt":149,randombytes:156,randomfill:157,timers:185}]},{},[]);function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){window.qx||(window.qx={});qx.Bootstrap={genericToString:function(){return"[Class "+this.classname+"]"},createNamespace:function(e,t){for(var n=e.split("."),r=n[0],i=qx.$$namespaceRoot&&qx.$$namespaceRoot[r]?qx.$$namespaceRoot:window,o=0,s=n.length-1;o-1){var i=n.slice(0,r),o=n.slice(r+1),s=qx.Bootstrap.getByName(i);if(null!=s)return[s,o]}}return[void 0,void 0]},getAsync:function(e,t,n){var r=this;if(null==this.__P_3_0[e]){var i=this._asyncChecks[e];if(i)i((function(i){r.__P_3_0[e]=i;t.call(n,i)}));else{var o=this._getClassNameFromEnvKey(e);if(null==o[0]){if(qx.Bootstrap.DEBUG){qx.Bootstrap.warn("The environment key '"+e+"' is undefined.");qx.Bootstrap.trace(this)}}else{o[0][o[1]]((function(i){r.__P_3_0[e]=i;t.call(n,i)}))}}}else window.setTimeout((function(){t.call(n,r.__P_3_0[e])}),0)},select:function(e,t){return this.__P_3_1(this.get(e),t)},selectAsync:function(e,t,n){this.getAsync(e,(function(r){this.__P_3_1(e,t).call(n,r)}),this)},__P_3_1:function(e,t){var n=t[e];if(t.hasOwnProperty(e))return n;for(var r in t)if(-1!=r.indexOf("|"))for(var i=r.split("|"),o=0;o=0;n--)if(this[n]===e)return n;return-1},forEach:function(e,t){for(var n=this.length,r=0;r=0;r--)r in this&&(n=e.call(void 0,n,this[r],r,this));return n},includes:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return!1;var i,o,s=0|t,a=Math.max(s>=0?s:r-Math.abs(s),0);for(;a-1){r=o;i=s}}var a=null;if(r){for(var u=i-1;u>-1;u--){var l=r.$$flatIncludes[u];if(l.$$members[n]){a=l.$$members[n];break}}!a&&r.prototype[n]&&(a=r.prototype[n].base)&&a.self&&(a=a.base);!a&&r.superclass&&(a=r.superclass.prototype[n])}if(a){e.$$mixinBaseClassMethods||(e.$$mixinBaseClassMethods={});e.$$mixinBaseClassMethods[t.name]||(e.$$mixinBaseClassMethods[t.name]={});e.$$mixinBaseClassMethods[t.name][n]=a}return a},genericToString:function(){return"[Mixin "+this.name+"]"},$$registry:{},__P_31_0:qx.core.Environment.select("qx.debug",{true:{include:"object",statics:"object",members:"object",properties:"object",events:"object",destruct:"function",construct:"function"},default:null}),__P_31_1:qx.core.Environment.select("qx.debug",{true:function(e,t){var n=this.__P_31_0;for(var r in t){if(!n[r])throw new Error('The configuration key "'+r+'" in mixin "'+e+'" is not allowed!');if(null==t[r])throw new Error('Invalid key "'+r+'" in mixin "'+e+'"! The value is undefined/null!');if(null!==n[r]&&_typeof(t[r])!==n[r])throw new Error('Invalid type of key "'+r+'" in mixin "'+e+'"! The type of the key must be "'+n[r]+'"!')}for(var i=["statics","members","properties","events"],o=0,s=i.length;on.length)&&(t=n.length);t-=e.length;var r=n.indexOf(e,t);return-1!==r&&r===t},codePointAt:function(e){if(null==this)throw TypeError();var t=String(this),n=t.length,r=e?Number(e):0;r!=r&&(r=0);if(!(r<0||r>=n)){var i,o=t.charCodeAt(r);return o>=55296&&o<=56319&&n>r+1&&(i=t.charCodeAt(r+1))>=56320&&i<=57343?1024*(o-55296)+i-56320+65536:o}},fromCodePoint:function(e){for(var t=[],n=0,r="",i=0,o=arguments.length;i!==o;++i){var s=+arguments[i];if(!(s<1114111&&s>>>0===s))throw RangeError("Invalid code point: "+s);if(s<=65535)n=t.push(s);else{s-=65536;n=t.push(55296+(s>>10),s%1024+56320)}if(n>=16383){r+=String.fromCharCode.apply(null,t);t.length=0}}return r+String.fromCharCode.apply(null,t)}},defer:function(e){qx.core.Environment.get("ecmascript.string.trim")||(String.prototype.trim=e.trim);qx.core.Environment.get("ecmascript.string.startsWith")||(String.prototype.startsWith=e.startsWith);qx.core.Environment.get("ecmascript.string.endsWith")||(String.prototype.endsWith=e.endsWith);qx.core.Environment.get("ecmascript.string.codePointAt")||(String.prototype.codePointAt=e.codePointAt);qx.core.Environment.get("ecmascript.string.fromCodePoint")||(String.fromCodePoint=e.fromCodePoint)}});qx.lang.normalize.String.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.EcmaScript":{defer:"load",require:!0}},environment:{provided:[],required:{"ecmascript.object.keys":{defer:!0,className:"qx.bom.client.EcmaScript"},"ecmascript.object.values":{defer:!0,className:"qx.bom.client.EcmaScript"},"ecmascript.object.is":{defer:!0,className:"qx.bom.client.EcmaScript"},"ecmascript.object.assign":{defer:!0,className:"qx.bom.client.EcmaScript"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.lang.normalize.Object",{statics:{keys:qx.Bootstrap.keys,values:function(e){for(var t=[],n=Object.keys(e),r=0,i=n.length;r=1;r--){var i=n[r],o=n[r-1];if(!(r==n.length-1&&qx.Bootstrap.isFunction(i)||0===qx.Bootstrap.objectGetLength(i)))break;delete o[t[r-1]]}},isDefined:qx.util.OOUtil.classIsDefined,getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry)},getByName:qx.Bootstrap.getByName,include:function(e,t){qx.Class.__P_4_7(e,t,!1)},patch:function(e,t){qx.Class.__P_4_7(e,t,!0);return qx.Class.getByName(e.classname)},isClass:function(e){return e&&"Class"===e.$$type&&e.constructor===e},isSubClassOf:function(e,t){return!!e&&(e==t||e.prototype instanceof t)},getPropertyDefinition:qx.util.OOUtil.getPropertyDefinition,getProperties:function(e){for(var t=[];e;){e.$$properties&&t.push.apply(t,Object.keys(e.$$properties));e=e.superclass}return t},getByProperty:function(e,t){for(;e;){if(e.$$properties&&e.$$properties[t])return e;e=e.superclass}return null},hasProperty:qx.util.OOUtil.hasProperty,getEventType:qx.util.OOUtil.getEventType,supportsEvent:qx.util.OOUtil.supportsEvent,hasOwnMixin:function(e,t){return e.$$includes&&-1!==e.$$includes.indexOf(t)},getByMixin:function(e,t){for(var n,r,i;e;){if(e.$$includes)for(r=0,i=(n=e.$$flatIncludes).length;rt.length?n:t;for(var r=0;r=0)){var o=null,s=i.split("."),a=/(.*?)\(/.exec(s[s.length-1]);if(a&&2==a.length){o=a[1];s.pop()}"prototype"==s[s.length-1]&&s.pop();var u,l=s.join("."),c=t[r].split(":"),h=c[0],d=c[1];c[2]&&(u=c[2]);var f=qx.Class&&qx.Class.getByName(h)?h:l;o&&(f+="."+o);f+=":"+d;u&&(f+=":"+u);e[r]=f}}}else e=this.getStackTraceFromCaller(arguments)}return e},getStackTraceFromCaller:function(e){var t=[],n=null;if(!function(){return void 0===this}())try{n=qx.lang.Function.getCaller(e)}catch(e){}for(var r={};n;){var i=qx.lang.Function.getName(n);t.push(i);try{n=n.caller}catch(e){break}if(!n)break;var o=qx.core.ObjectRegistry.toHashCode(n);if(r[o]){t.push("...");break}r[o]=n}return t},getStackTraceFromError:function(e){var t,n,r,i,o,s,a,u=[],l=qx.dev.StackTrace.hasEnvironmentCheck?qx.core.Environment.get("ecmascript.error.stacktrace"):null;if("stack"===l){if(!e.stack)return u;t=/@(.+):(\d+)$/gm;for(;null!=(n=t.exec(e.stack));){a=n[1];i=n[2];r=this.__P_169_0(a);u.push(r+":"+i)}if(u.length>0)return this.__P_169_1(u);t=/at (.*)/gm;for(var c=/(\(\) \[as [^\]]+\]\s)?\((.*?)(:[\d:]+)\)/,h=/(.*?)(:[\d:]+$)/;null!=(n=t.exec(e.stack));){var d=c.exec(n[1]);if(d){r=this.__P_169_0(d[2]);u.push(r+d[3])}else if(d=h.exec(n[1])){r=this.__P_169_0(d[1]);u.push(r+d[2])}else u.push(n[1])}}else if("stacktrace"===l){var f=e.stacktrace;if(!f)return u;f.indexOf("Error created at")>=0&&(f=f.split("Error created at")[0]);t=/line\ (\d+?),\ column\ (\d+?)\ in\ (?:.*?)\ in\ (.*?):[^\/]/gm;for(;null!=(n=t.exec(f));){i=n[1];o=n[2];a=n[3];r=this.__P_169_0(a);u.push(r+":"+i+":"+o)}if(u.length>0)return this.__P_169_1(u);t=/Line\ (\d+?)\ of\ linked\ script\ (.*?)$/gm;for(;null!=(n=t.exec(f));){i=n[1];a=n[2];r=this.__P_169_0(a);u.push(r+":"+i)}}else if(e.message&&e.message.indexOf("Backtrace:")>=0)for(var _=e.message.split("Backtrace:")[1].trim().split("\n"),p=0;p<_.length;p++){var m=_[p].match(/\s*Line ([0-9]+) of.* (\S.*)/);if(m&&m.length>=2){i=m[1];s=this.__P_169_0(m[2]);u.push(s+":"+i)}}else e.sourceURL&&e.line&&u.push(this.__P_169_0(e.sourceURL)+":"+e.line);return this.__P_169_1(u)},__P_169_0:function(e){if("function"==typeof qx.dev.StackTrace.FILENAME_TO_CLASSNAME){var t=qx.dev.StackTrace.FILENAME_TO_CLASSNAME(e);0;return t}return qx.dev.StackTrace.__P_169_2(e)},__P_169_2:function(e){var t="/source/class/",n=e.indexOf(t);if(n<0){t="/transpiled/";n=e.indexOf(t)}var r=e.indexOf("?");r>=0&&(e=e.substring(0,r));return-1==n?e:e.substring(n+t.length).replace(/\//g,".").replace(/\.js$/,"")},__P_169_1:function(e){if("function"==typeof qx.dev.StackTrace.FORMAT_STACKTRACE){e=qx.dev.StackTrace.FORMAT_STACKTRACE(e);0}return e}},defer:function(e){e.hasEnvironmentCheck=qx.bom&&qx.bom.client&&qx.bom.client.EcmaScript&&qx.bom.client.EcmaScript.getStackTrace}});qx.dev.StackTrace.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.RingBuffer",{extend:Object,construct:function(e){this.setMaxEntries(e||50)},members:{__P_188_0:0,__P_188_1:0,__P_188_2:!1,__P_188_3:0,__P_188_4:null,__P_188_5:null,setMaxEntries:function(e){this.__P_188_5=e;this.clear()},getMaxEntries:function(){return this.__P_188_5},addEntry:function(e){this.__P_188_4[this.__P_188_0]=e;this.__P_188_0=this.__P_188_6(this.__P_188_0,1);var t=this.getMaxEntries();this.__P_188_1this.__P_188_1&&(e=this.__P_188_1);t&&this.__P_188_2&&e>this.__P_188_3&&(e=this.__P_188_3);if(e>0){var n,r=this.__P_188_6(this.__P_188_0,-1),i=this.__P_188_6(r,1-e);n=i<=r?this.__P_188_4.slice(i,r+1):this.__P_188_4.slice(i,this.__P_188_1).concat(this.__P_188_4.slice(0,r+1))}else n=[];return n},clear:function(){this.__P_188_4=new Array(this.getMaxEntries());this.__P_188_1=0;this.__P_188_3=0;this.__P_188_0=0},__P_188_6:function(e,t){var n=this.getMaxEntries(),r=(e+t)%n;r<0&&(r+=n);return r}}});qx.util.RingBuffer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.RingBuffer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.log.appender.RingBuffer",{extend:qx.util.RingBuffer,construct:function(e){this.setMaxMessages(e||50)},members:{setMaxMessages:function(e){this.setMaxEntries(e)},getMaxMessages:function(){return this.getMaxEntries()},process:function(e){this.addEntry(e)},getAllLogEvents:function(){return this.getAllEntries()},retrieveLogEvents:function(e,t){return this.getEntries(e,t)},clearHistory:function(){this.clear()}}});qx.log.appender.RingBuffer.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.dev.StackTrace":{require:!0,defer:"runtime"},"qx.Bootstrap":{usage:"dynamic",defer:"runtime",require:!0},"qx.lang.Array":{},"qx.log.appender.RingBuffer":{usage:"dynamic",require:!0},"qx.lang.Function":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.log.Logger",{statics:{__P_133_0:"debug",setLevel:function(e){this.__P_133_0=e},getLevel:function(){return this.__P_133_0},setTreshold:function(e){this.__P_133_1.setMaxMessages(e)},getTreshold:function(){return this.__P_133_1.getMaxMessages()},__P_133_2:[],__P_133_3:{},__P_133_4:[],__P_133_5:0,register:function(e){if(!e.$$id){var t=this.__P_133_5++,n=e.appenderName||e.classname;this.__P_133_2[t]=e;this.__P_133_3[n]=e;e.$$id=t;for(var r=this.__P_133_1.getAllLogEvents(),i=0,o=r.length;i20){r.push("...(+"+(s-o)+")");break}r.push(this.__P_133_11(e[o],!1))}}else r="[...("+e.length+")]";break;case"map":if(t){var a,u=[];for(var l in e)u.push(l);u.sort();r=[];for(o=0,s=u.length;o20){r.push("...(+"+(s-o)+")");break}l=u[o];(a=this.__P_133_11(e[l],!1)).key=l;r.push(a)}}else{var c=0;for(var l in e)c++;r="{...("+c+")}"}}return{type:n,text:r,trace:i}}},defer:function(e){for(var t=qx.Bootstrap.$$logs,n=0;n=8&&t},getDispatchEvent:function(){return"function"==typeof document.dispatchEvent},getCustomEvent:function(){if(!window.CustomEvent)return!1;try{new window.CustomEvent("foo");return!0}catch(e){return!1}},getMouseEvent:function(){if(!window.MouseEvent)return!1;try{new window.MouseEvent("foo");return!0}catch(e){return!1}},getMouseCreateEvent:function(){try{var e=document.createEvent("MouseEvents"),t=e.pageX;e.initMouseEvent("click",!1,!1,window,0,0,0,t+1,0,!1,!1,!1,!1,0,null);return e.pageX!==t?"MouseEvents":"UIEvents"}catch(e){return"UIEvents"}},getMouseWheel:function(e){e||(e=window);for(var t=[e,e.document,e.document.body],n=e,r="DOMMouseScroll",i=0;i-1}},defer:function(e){qx.core.Environment.add("engine.version",e.getVersion);qx.core.Environment.add("engine.name",e.getName)}});qx.bom.client.Engine.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{usage:"dynamic",require:!0},"qx.bom.client.OperatingSystem":{},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["browser.name","browser.version","browser.documentmode","browser.quirksmode"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.Browser",{statics:{getName:function(){return qx.bom.client.Browser.detectName(navigator.userAgent)},detectName:function(e){var t=new RegExp("("+qx.bom.client.Browser.__P_14_0+")(/|)?([0-9]+.[0-9])?"),n=e.match(t);if(!n)return"";var r=n[1].toLowerCase(),i=qx.bom.client.Engine.getName();if("webkit"===i)e.match(/Edge\/\d+\.\d+/)?r="edge":"android"===r?r="mobile chrome":-1!==e.indexOf("Mobile Safari")||-1!==e.indexOf("Mobile/")?r="mobile safari":-1!=e.indexOf(" OPR/")&&(r="opera");else if("mshtml"===i){if("msie"===r||"trident"===r){r="ie";"ce"===qx.bom.client.OperatingSystem.getVersion()&&(r="iemobile");t=new RegExp("IEMobile");e.match(t)&&(r="iemobile")}}else"opera"===i&&("opera mobi"===r?r="operamobile":"opera mini"===r&&(r="operamini"));return r},getVersion:function(){var e=navigator.userAgent,t=new RegExp("("+qx.bom.client.Browser.__P_14_0+")(/| )([0-9]+.[0-9])"),n=e.match(t);if(!n)return"";var r=n[1].toLowerCase(),i=n[3];e.match(/Version(\/| )([0-9]+\.[0-9])/)&&(i=RegExp.$2);if("mshtml"==qx.bom.client.Engine.getName()){i=qx.bom.client.Engine.getVersion();"msie"===r&&"ce"==qx.bom.client.OperatingSystem.getVersion()&&(i="5.0")}if("webkit"==qx.bom.client.Engine.getName()||"opera"==qx.bom.client.Browser.getName()){e.match(/OPR(\/| )([0-9]+\.[0-9])/)&&(i=RegExp.$2);e.match(/Edge\/([\d+\.*]+)/)&&(i=RegExp.$1)}return i},getDocumentMode:function(){return document.documentMode?document.documentMode:0},getQuirksMode:function(){return"mshtml"==qx.bom.client.Engine.getName()&&parseFloat(qx.bom.client.Engine.getVersion())>=8?5===qx.bom.client.Engine.DOCUMENT_MODE:"CSS1Compat"!==document.compatMode},__P_14_0:{webkit:"AdobeAIR|Titanium|Fluid|Chrome|Android|Epiphany|Konqueror|iCab|iPad|iPhone|OmniWeb|Maxthon|Pre|PhantomJS|Mobile Safari|Safari",gecko:"prism|Fennec|Camino|Kmeleon|Galeon|Netscape|SeaMonkey|Namoroka|Firefox",mshtml:"IEMobile|Maxthon|MSIE|Trident",opera:"Opera Mini|Opera Mobi|Opera"}[qx.bom.client.Engine.getName()]},defer:function(e){qx.core.Environment.add("browser.name",e.getName);qx.core.Environment.add("browser.version",e.getVersion);qx.core.Environment.add("browser.documentmode",e.getDocumentMode);qx.core.Environment.add("browser.quirksmode",e.getQuirksMode)}});qx.bom.client.Browser.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.Style":{},"qx.bom.Event":{},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["css.transition"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.CssTransition",{statics:{getTransitionName:function(){return qx.bom.Style.getPropertyName("transition")},getSupport:function(){var e=qx.bom.client.CssTransition.getTransitionName();if(!e)return null;var t=qx.bom.Event.getEventName(window,"transitionEnd");(t="transitionEnd"==t?t.toLowerCase():t)||(t=e+(e.indexOf("Trans")>0?"E":"e")+"nd");return{name:e,"end-event":t}}},defer:function(e){qx.core.Environment.add("css.transition",e.getSupport)}});qx.bom.client.CssTransition.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Event":{require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.CssTransition":{require:!0},"qx.bom.Style":{},"qx.lang.String":{}},environment:{provided:[],required:{"event.passive":{className:"qx.bom.client.Event"},"engine.name":{className:"qx.bom.client.Engine"},"browser.name":{className:"qx.bom.client.Browser"},"browser.documentmode":{className:"qx.bom.client.Browser"},"css.transition":{className:"qx.bom.client.CssTransition"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Event",{statics:{addNativeListener:function(e,t,n,r,i){e.addEventListener?void 0!==i&&qx.core.Environment.get("event.passive")?e.addEventListener(t,n,{capture:!!r,passive:!!i}):e.addEventListener(t,n,!!r):e.attachEvent?e.attachEvent("on"+t,n):void 0!==e["on"+t]&&(e["on"+t]=n)},removeNativeListener:function(e,t,n,r){if(e.removeEventListener)e.removeEventListener(t,n,!!r);else if(e.detachEvent)try{e.detachEvent("on"+t,n)}catch(e){if(-2146828218!==e.number)throw e}else void 0!==e["on"+t]&&(e["on"+t]=null)},getTarget:function(e){return e.target||e.srcElement},getRelatedTarget:function(e){if(void 0!==e.relatedTarget){if("gecko"==qx.core.Environment.get("engine.name"))try{e.relatedTarget&&e.relatedTarget.nodeType}catch(e){return null}return e.relatedTarget}return void 0===e.fromElement||"mouseover"!==e.type&&"pointerover"!==e.type?void 0!==e.toElement?e.toElement:null:e.fromElement},preventDefault:function(e){if(e.preventDefault)e.preventDefault();else{try{e.keyCode=0}catch(e){}e.returnValue=!1}},stopPropagation:function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},fire:function(e,t){if(document.createEvent){(n=document.createEvent("HTMLEvents")).initEvent(t,!0,!0);return!e.dispatchEvent(n)}var n=document.createEventObject();return e.fireEvent("on"+t,n)},supportsEvent:function(e,t){var n=qx.core.Environment.get("browser.name"),r=qx.core.Environment.get("engine.name");if(-1!=t.toLowerCase().indexOf("transitionend")&&"mshtml"===r&&qx.core.Environment.get("browser.documentmode")>9)return!0;if("webkit"===r&&["mobile safari","safari"].indexOf(n)>-1){if(["loadeddata","progress","timeupdate","seeked","canplay","play","playing","pause","loadedmetadata","ended","volumechange"].indexOf(t.toLowerCase())>-1)return!0}if(e!=window&&-1!=t.toLowerCase().indexOf("transitionend")){var i=qx.core.Environment.get("css.transition");return i&&i["end-event"]==t}var o="on"+t.toLowerCase(),s=o in e;if(!s){s="function"==typeof e[o];if(!s&&e.setAttribute){e.setAttribute(o,"return;");s="function"==typeof e[o];e.removeAttribute(o)}}return s},getEventName:function(e,t){for(var n=[""].concat(qx.bom.Style.VENDOR_PREFIXES),r=0,i=n.length;r0)},importListeners:function(e,t){var n=e.$$hash||qx.core.ObjectRegistry.toHashCode(e),r=this.__P_117_3[n]={},i=qx.event.Manager;for(var o in t){var s=t[o],a=s.type+(s.capture?"|capture":"|bubble"),u=r[a];if(!u){u=r[a]=[];this.__P_117_12(e,s.type,s.capture)}u.push({handler:s.listener,context:s.self,unique:s.unique||i.__P_117_9+++""})}},addListener:function(e,t,n,r,i){var o=e.$$hash||qx.core.ObjectRegistry.toHashCode(e),s=this.__P_117_3[o];s||(s=this.__P_117_3[o]={});var a=t+(i?"|capture":"|bubble"),u=s[a];u||(u=s[a]=[]);0===u.length&&this.__P_117_12(e,t,i);var l=qx.event.Manager.__P_117_9+++"",c={handler:n,context:r,unique:l};u.push(c);return a+"|"+l},findHandler:function(e,t){var n,r=!1,i=!1,o=!1,s=!1;if(1===e.nodeType){r=!0;n="DOM_"+e.tagName.toLowerCase()+"_"+t}else if(9===e.nodeType){s=!0;n="DOCUMENT_"+t}else if(e==this.__P_117_0){i=!0;n="WIN_"+t}else if(e.classname){o=!0;n="QX_"+e.classname+"_"+t}else n="UNKNOWN_"+e+"_"+t;var a=this.__P_117_6;if(a[n])return a[n];for(var u,l,c,h,d=this.__P_117_2.getHandlers(),f=qx.event.IEventHandler,_=0,p=d.length;_0){t=s.split("|");o[s].forEach((function(e){this.__P_117_14(e.unique)}),this);n=t[0];r="capture"===t[1];this.__P_117_13(e,n,r)}delete this.__P_117_3[i];return!0},deleteAllListeners:function(e){delete this.__P_117_3[e]},__P_117_13:function(e,t,n){var r=this.findHandler(e,t);r&&r.unregisterEvent(e,t,n)},dispatchEvent:function(e,t){var n=qx.event.Manager.__P_117_10;if(n.length)for(var r=0;rr&&(r=e[t]);return void 0===r?null:r},min:function(e){var t,n=e.length,r=e[0];for(t=1;t=1&&r[1]?r[1]+"()":"anonymous()"},globalEval:function(e){return window.execScript?window.execScript(e):eval.call(window,e)},create:function(e,t){return t&&(t.self||t.args||null!=t.delay||null!=t.periodical||t.attempt||t.always)?function(n){var r=qx.lang.Array.fromArguments(arguments);t.args&&(r=t.args.concat(r));if(!t.delay&&!t.periodical){if(t.attempt){var i=!1;try{i=e.apply(t.self||this,r)}catch(e){}return i}return e.apply(t.self||this,r)}var o=function(){return e.apply(t.self||this,r)};qx.core.Environment.get("qx.globalErrorHandling")&&(o=qx.event.GlobalError.observeMethod(o));return t.delay?window.setTimeout(o,t.delay):t.periodical?window.setInterval(o,t.periodical):void 0}:e},bind:function(e,t,n){return this.create(e,{self:t,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null})},curry:function(e,t){return this.create(e,{args:arguments.length>1?qx.lang.Array.fromArguments(arguments,1):null})},listener:function(e,t,n){if(arguments.length<3)return function(n){return e.call(t||this,n||window.event)};var r=qx.lang.Array.fromArguments(arguments,2);return function(n){var i=[n||window.event];i.push.apply(i,r);e.apply(t||this,i)}},attempt:function(e,t,n){return this.create(e,{self:t,attempt:!0,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null})()},delay:function(e,t,n,r){return this.create(e,{delay:t,self:n,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})()},periodical:function(e,t,n,r){return this.create(e,{periodical:t,self:n,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})()}}});qx.lang.Function.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.Manager":{require:!0},"qx.dom.Node":{require:!0},"qx.lang.Function":{require:!0},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.ObjectRegistry":{},"qx.event.type.Event":{},"qx.event.Pool":{},"qx.event.Utils":{},"qx.Promise":{}},environment:{provided:[],required:{"qx.promise":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.Registration",{statics:{__P_43_0:{},getManager:function(e){null==e?e=window:e.nodeType?e=qx.dom.Node.getWindow(e):qx.dom.Node.isWindow(e)||(e=window);var t=e.$$hash||qx.core.ObjectRegistry.toHashCode(e),n=this.__P_43_0[t];if(!n){n=new qx.event.Manager(e,this);this.__P_43_0[t]=n}return n},removeManager:function(e){var t=e.getWindowId();delete this.__P_43_0[t]},addListener:function(e,t,n,r,i){return this.getManager(e).addListener(e,t,n,r,i)},removeListener:function(e,t,n,r,i){return this.getManager(e).removeListener(e,t,n,r,i)},removeListenerById:function(e,t){return this.getManager(e).removeListenerById(e,t)},removeAllListeners:function(e){return this.getManager(e).removeAllListeners(e)},deleteAllListeners:function(e){var t=e.$$hash;t&&this.getManager(e).deleteAllListeners(t)},hasListener:function(e,t,n){return this.getManager(e).hasListener(e,t,n)},serializeListeners:function(e){return this.getManager(e).serializeListeners(e)},createEvent:function(e,t,n){null==t&&(t=qx.event.type.Event);var r=qx.event.Pool.getInstance().getObject(t);n?r.init.apply(r,n):r.init();e&&r.setType(e);return r},dispatchEvent:function(e,t){return this.getManager(e).dispatchEvent(e,t)},__P_43_1:function(e,t,n,r){var i=this.createEvent(t,n||null,r);this.getManager(e).dispatchEvent(e,i);return i},fireEvent:function(e,t,n,r){var i=this.createEvent(t,n||null,r),o={},s=this;qx.event.Utils.then(o,(function(){return s.getManager(e).dispatchEvent(e,i)}));return qx.event.Utils.then(o,(function(){return!i.getDefaultPrevented()}))},fireEventAsync:function(e,t,n,r){return qx.Promise.resolve(this.fireEvent(e,t,n,r))},__P_43_2:function(e,t,n,r){var i=this.getManager(e);if(!i.hasListener(e,t,!1))return null;var o=this.createEvent(t,n||null,r);i.dispatchEvent(e,o);return o},fireNonBubblingEvent:function(e,t,n,r){var i=this.__P_43_2.apply(this,arguments);return null===i||!i.getDefaultPrevented()},fireNonBubblingEventAsync:qx.core.Environment.select("qx.promise",{true:function(e,t,n,r){var i=this.__P_43_2.apply(this,arguments);return null===i?qx.Promise.resolve(!0):i.promise()},false:function(){throw new Error(this.classname+".fireNonBubblingEventAsync not supported because qx.promise==false")}}),PRIORITY_FIRST:-32e3,PRIORITY_NORMAL:0,PRIORITY_LAST:32e3,__P_43_3:[],addHandler:function(e){this.__P_43_3.push(e);this.__P_43_3.sort((function(e,t){return e.PRIORITY-t.PRIORITY}))},getHandlers:function(){return this.__P_43_3},__P_43_4:[],addDispatcher:function(e,t){this.__P_43_4.push(e);this.__P_43_4.sort((function(e,t){return e.PRIORITY-t.PRIORITY}))},getDispatchers:function(){return this.__P_43_4}}});qx.event.Registration.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,s=Object.create(o.prototype),a=new D(r||[]);return i(s,"_invoke",{value:M(e,n,a)}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",f="suspendedYield",_="executing",p="completed",m={};function g(){}function v(){}function b(){}var y={};l(y,s,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(I([])));w&&w!==n&&r.call(w,s)&&(y=w);var q=b.prototype=g.prototype=Object.create(y);function P(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(i,o,s,a){var u=h(e[i],e,o);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==_typeof(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(c).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,a)}))}a(u.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function M(t,n,r){var i=d;return function(o,s){if(i===_)throw new Error("Generator is already running");if(i===p){if("throw"===o)throw s;return{value:e,done:!0}}for(r.method=o,r.arg=s;;){var a=r.delegate;if(a){var u=C(a,r);if(u){if(u===m)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=_;var l=h(t,n,r);if("normal"===l.type){if(i=r.done?p:f,l.arg===m)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=p,r.method="throw",r.arg=l.arg)}}}function C(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=h(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var s=o.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function I(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var u=r.call(s,"catchLoc"),l=r.call(s,"finallyLoc");if(u&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function asyncGeneratorStep(e,t,n,r,i,o,s){try{var a=e[o](s),u=a.value}catch(e){n(e);return}a.done?t(u):Promise.resolve(u).then(r,i)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){asyncGeneratorStep(o,r,i,s,a,"next",e)}function a(e){asyncGeneratorStep(o,r,i,s,a,"throw",e)}s(void 0)}))}}!function(){var e={dependsOn:{"qx.event.dispatch.Direct":{},"qx.event.handler.Object":{},"qx.Mixin":{usage:"dynamic",require:!0},"qx.event.Registration":{require:!0},"qx.Promise":{},"qx.event.type.Data":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.core.MEvent",{members:{__P_114_0:qx.event.Registration,addListener:function(e,t,n,r){return this.$$disposed?null:this.__P_114_0.addListener(this,e,t,n,r)},addListenerOnce:function(e,t,n,r){var i,o=this;n||(n=this);var s=function(e){o.removeListenerById(i);t.call(n,e)};t.$$wrapped_callback||(t.$$wrapped_callback={});t.$$wrapped_callback[e+this.toHashCode()]=s;return i=this.addListener(e,s,n,r)},removeListener:function(e,t,n,r){if(!this.$$disposed){if(t.$$wrapped_callback&&t.$$wrapped_callback[e+this.$$hash]){var i=t.$$wrapped_callback[e+this.$$hash];delete t.$$wrapped_callback[e+this.$$hash];t=i}return this.__P_114_0.removeListener(this,e,t,n,r)}return!1},removeListenerById:function(e){return!this.$$disposed&&this.__P_114_0.removeListenerById(this,e)},hasListener:function(e,t){return this.__P_114_0.hasListener(this,e,t)},dispatchEvent:function(e){return!!this.$$disposed||this.__P_114_0.dispatchEvent(this,e)},__P_114_1:null,__P_114_2:null,__P_114_3:function(e){var t=this;if(!qx.Promise.isPromise(e))return e;this.__P_114_1||(this.__P_114_1={});e instanceof qx.Promise||(e=qx.Promise.resolve(e));var n=e.toHashCode(),r=e.then((function(e){delete t.__P_114_1[n];var r=t.__P_114_2;if(r&&0==Object.keys(t.__P_114_1).length){t.__P_114_1=null;t.__P_114_2=null;r.resolve()}return e})).catch((function(e){delete t.__P_114_1[n];var r=t.__P_114_2;if(r&&0==Object.keys(t.__P_114_1).length){t.__P_114_1=null;t.__P_114_2=null;r.reject(e)}throw e}));this.__P_114_1[n]=r;return r},waitForPendingEvents:function(){var e=this;return _asyncToGenerator(_regeneratorRuntime().mark((function t(){var n;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.__P_114_1){t.next=2;break}return t.abrupt("return");case 2:e.__P_114_2||(e.__P_114_2=new qx.Promise);n=e.__P_114_2;t.next=6;return n;case 6:case"end":return t.stop()}}),t)})))()},fireEvent:function(e,t,n){return!!this.$$disposed||this.__P_114_3(this.__P_114_0.fireEvent(this,e,t,n))},fireEventAsync:function(e,t,n){return this.$$disposed?qx.Promise.resolve(!0):this.__P_114_3(this.__P_114_0.fireEventAsync(this,e,t,n))},fireNonBubblingEvent:function(e,t,n){return!!this.$$disposed||this.__P_114_3(this.__P_114_0.fireNonBubblingEvent(this,e,t,n))},fireNonBubblingEventAsync:function(e,t,n){return this.$$disposed?qx.Promise.resolve(!0):this.__P_114_3(this.__P_114_0.fireNonBubblingEventAsync(this,e,t,n))},fireDataEvent:function(e,t,n,r){if(!this.$$disposed){void 0===n&&(n=null);return this.__P_114_3(this.__P_114_0.fireEvent(this,e,qx.event.type.Data,[t,n,!!r]))}return!0},fireDataEventAsync:function(e,t,n,r){if(!this.$$disposed){void 0===n&&(n=null);return this.__P_114_3(this.__P_114_0.fireEventAsync(this,e,qx.event.type.Data,[t,n,!!r]))}return qx.Promise.resolve(!0)}}});qx.core.MEvent.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.core.Property":{},"qx.Bootstrap":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.core.MProperty",{members:{set:function(e,t){var n=qx.core.Property.$$method.set;if(qx.Bootstrap.isString(e)){if(!this[n[e]]){if(null!=this["set"+qx.Bootstrap.firstUp(e)]){this["set"+qx.Bootstrap.firstUp(e)](t);return this}throw new Error("No such property: "+e+" in "+this.classname+" ("+this+")")}return this[n[e]](t)}for(var r in e){if(!this[n[r]]){if(null!=this["set"+qx.Bootstrap.firstUp(r)]){this["set"+qx.Bootstrap.firstUp(r)](e[r]);continue}throw new Error("No such property: "+r+" in "+this.classname+" ("+this+")")}this[n[r]](e[r])}return this},get:function(e){var t=qx.core.Property.$$method.get;if(!this[t[e]]){if(null!=this["get"+qx.Bootstrap.firstUp(e)])return this["get"+qx.Bootstrap.firstUp(e)]();throw new Error("No such property: "+e+" in "+this.classname+" ("+this+")")}return this[t[e]]()},reset:function(e){var t=qx.core.Property.$$method.reset;if(!this[t[e]]){if(null!=this["reset"+qx.Bootstrap.firstUp(e)]){this["reset"+qx.Bootstrap.firstUp(e)]();return}throw new Error("No such property: "+e+" in "+this.classname+" ("+this+")")}this[t[e]]()},isPropertyInitialized:function(e){return void 0!==this["$$user_"+e]||void 0!==this["$$init_"+e]}}});qx.core.MProperty.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.core.Object":{}},environment:{provided:[],required:{"qx.core.Object.allowUndefinedObjectId":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.core.MObjectId",{properties:{qxOwner:{init:null,check:"qx.core.Object",nullable:!0,apply:"_applyQxOwner"},qxObjectId:{init:null,check:function(e){return null===e||"string"==typeof e&&e.indexOf("/")<0},nullable:!0,apply:"_applyQxObjectId"}},members:{__P_115_0:null,__P_115_1:!1,_applyQxOwner:function(e,t){if(!this.__P_115_1)throw new Error("Please use API methods to change owner, not the property")},_applyQxObjectId:function(e,t){if(!this.__P_115_1){var n=this.getQxOwner();n&&n.__P_115_2(this,e,t);this._cascadeQxObjectIdChanges()}},__P_115_2:function(e,t,n){delete this.__P_115_0[n];this.__P_115_0[t]=e},_cascadeQxObjectIdChanges:function(){if("function"==typeof this.getContentElement){var e=this.getContentElement();e&&e.updateObjectId()}if(this.__P_115_0)for(var t in this.__P_115_0){var n=this.__P_115_0[t];n instanceof qx.core.Object&&n._cascadeQxObjectIdChanges()}},getQxObject:function(e){if(this.__P_115_0){var t=this.__P_115_0[e];if(void 0!==t)return t}var n=null,r=e.indexOf("#");if(r>-1){n=e.substring(r+1);e=e.substring(0,r)}var i=void 0;if(e.indexOf("/")>-1){var o=e.split("/"),s=this;o.every((function(e){if(!e.length)return!0;if(!s)return!1;var t=s.getQxObject(e);if(void 0!==t){s=t;return!0}}))&&(i=s)}else i=this._createQxObject(e);if(i&&n){return i.getChildControl(n)}if(!qx.core.Environment.get("qx.core.Object.allowUndefinedObjectId")&&void 0===i)throw new Error("Cannot find a QX Object in ".concat(this.classname," [").concat(this,"] with id=").concat(e));return i},_createQxObject:function(e){var t=this._createQxObjectImpl(e);void 0!==t&&this.addOwnedQxObject(t,e);return t},_createQxObjectImpl:function(e){},addOwnedQxObject:function(e,t){this.__P_115_0||(this.__P_115_0={});if(e instanceof qx.core.Object){var n=e.getQxOwner();if(n!==this){e.__P_115_1=!0;try{n&&n.__P_115_3(e);void 0===t&&(t=e.getQxObjectId());if(!t)throw new Error("Cannot register an object that has no ID, obj="+e);if(this.__P_115_0[t])throw new Error("Cannot register an object with ID '"+t+"' because that ID is already in use, this="+this+", obj="+e);if(null!=e.getQxOwner())throw new Error("Cannot register an object with ID '"+t+"' because it is already owned by another object this="+this+", obj="+e);e.setQxOwner(this);e.setQxObjectId(t);e._cascadeQxObjectIdChanges()}finally{e.__P_115_1=!1}this.__P_115_0[t]=e}}else{if(!t)throw new Error("Cannot register an object that has no ID, obj="+e);if(this.__P_115_0[t])throw new Error("Cannot register an object with ID '"+t+"' because that ID is already in use, this="+this+", obj="+e);this.__P_115_0[t]=e}},removeOwnedQxObject:function(e){if(!this.__P_115_0)throw new Error("Cannot discard object because it is not owned by this, this="+this+", object="+n);var t,n;if("string"==typeof e){if(e.indexOf("/")>-1)throw new Error("Cannot discard owned objects based on a path");t=e;if(void 0===(n=this.__P_115_0[t]))return}else{if(!((n=e)instanceof qx.core.Object))throw new Error("Cannot discard object by reference because it is not a Qooxdoo object, please remove it using the original ID; object="+n);t=n.getQxObjectId();if(this.__P_115_0[t]!==n)throw new Error("Cannot discard object because it is not owned by this, this="+this+", object="+n)}if(null!==n)if(n instanceof qx.core.Object){n.__P_115_1=!0;try{this.__P_115_3(n);n._cascadeQxObjectIdChanges()}finally{n.__P_115_1=!1}}else{this.__P_115_3(n);delete this.__P_115_0[t]}},__P_115_3:function(e){if(null!==e){var t=e.getQxObjectId();e.setQxOwner(null);delete this.__P_115_0[t]}},getOwnedQxObjects:function(){return this.__P_115_0?Object.values(this.__P_115_0):[]}}});qx.core.MObjectId.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.lang.Type",{statics:{getClass:qx.Bootstrap.getClass,isString:qx.Bootstrap.isString,isArray:qx.Bootstrap.isArray,isObject:qx.Bootstrap.isObject,isFunction:qx.Bootstrap.isFunction,isFunctionOrAsyncFunction:qx.Bootstrap.isFunctionOrAsyncFunction,isRegExp:function(e){return"RegExp"===this.getClass(e)},isNumber:function(e){return null!==e&&("Number"===this.getClass(e)||e instanceof Number)},isBoolean:function(e){return null!==e&&("Boolean"===this.getClass(e)||e instanceof Boolean)},isDate:function(e){return null!==e&&("Date"===this.getClass(e)||e instanceof Date)},isError:function(e){return null!==e&&("Error"===this.getClass(e)||e instanceof Error)},isPromise:function(e){return null!=e&&this.isFunction(e.then)}}});qx.lang.Type.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.lang.Type":{require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.core.AssertionError":{},"qx.lang.Json":{},"qx.lang.Number":{},"qx.lang.String":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.core.Assert",{statics:{__P_159_0:!0,__P_159_1:function(e,t){for(var n="",r=1,i=arguments.length;r10)t="Array["+e.length+"]";else if(e instanceof Object&&null==e.toString)t=qx.lang.Json.stringify(e,null,2);else try{t=e.toString()}catch(e){t=""}return t},assert:function(e,t){1==e||this.__P_159_1(t||"","Called assert with 'false'")},fail:function(e,t){var n=t?"":"Called fail().";this.__P_159_1(e||"",n)},assertTrue:function(e,t){!0===e||this.__P_159_1(t||"","Called assertTrue with '",e,"'")},assertFalse:function(e,t){!1===e||this.__P_159_1(t||"","Called assertFalse with '",e,"'")},assertEquals:function(e,t,n){e==t||this.__P_159_1(n||"","Expected '",e,"' but found '",t,"'!")},assertNotEquals:function(e,t,n){e!=t||this.__P_159_1(n||"","Expected '",e,"' to be not equal with '",t,"'!")},assertEqualsFloat:function(e,t,n){this.assertNumber(e);this.assertNumber(t);qx.lang.Number.equals(e,t)||this.__P_159_1(n||"","Expected '",e,"' to be equal with '",t,"'!")},assertNotEqualsFloat:function(e,t,n){this.assertNumber(e);this.assertNumber(t);!qx.lang.Number.equals(e,t)||this.__P_159_1(n||"","Expected '",e,"' to be not equal with '",t,"'!")},assertIdentical:function(e,t,n){e===t||this.__P_159_1(n||"","Expected '",e,"' (identical) but found '",t,"'!")},assertNotIdentical:function(e,t,n){e!==t||this.__P_159_1(n||"","Expected '",e,"' to be not identical with '",t,"'!")},assertNotUndefined:function(e,t){void 0!==e||this.__P_159_1(t||"","Expected value not to be undefined but found undefined!")},assertUndefined:function(e,t){void 0===e||this.__P_159_1(t||"","Expected value to be undefined but found ",e,"!")},assertNotNull:function(e,t){null!==e||this.__P_159_1(t||"","Expected value not to be null but found null!")},assertNull:function(e,t){null===e||this.__P_159_1(t||"","Expected value to be null but found ",e,"!")},assertJsonEquals:function(e,t,n){this.assertEquals(qx.lang.Json.stringify(e),qx.lang.Json.stringify(t),n)},assertMatch:function(e,t,n){this.assertString(e);this.assert(qx.lang.Type.isRegExp(t)||qx.lang.Type.isString(t),"The parameter 're' must be a string or a regular expression.");e.search(t)>=0||this.__P_159_1(n||"","The String '",e,"' does not match the regular expression '",t.toString(),"'!")},assertArgumentsCount:function(e,t,n,r){var i=e.length;i>=t&&i<=n||this.__P_159_1(r||"","Wrong number of arguments given. Expected '",t,"' to '",n,"' arguments but found '",i,"' arguments.")},assertEventFired:function(e,t,n,r,i){var o,s=!1;try{o=e.addListener(t,(function(t){r&&r.call(e,t);s=!0}),e);n.call(e)}catch(e){throw e}finally{try{e.removeListenerById(o)}catch(e){}}!0===s||this.__P_159_1(i||"","Event (",t,") not fired.")},assertEventNotFired:function(e,t,n,r){var i=!1,o=e.addListener(t,(function(e){i=!0}),e);n.call();!1===i||this.__P_159_1(r||"","Event (",t,") was fired.");e.removeListenerById(o)},assertException:function(e,t,n,r){var i;t=t||Error;try{this.__P_159_0=!1;e()}catch(e){i=e}finally{this.__P_159_0=!0}null==i&&this.__P_159_1(r||"","The function did not raise an exception!");i instanceof t||this.__P_159_1(r||"","The raised exception does not have the expected type! ",t," != ",i);n&&this.assertMatch(i.toString(),n,r)},assertInArray:function(e,t,n){-1!==t.indexOf(e)||this.__P_159_1(n||"","The value '",e,"' must have any of the values defined in the array '",t,"'")},assertNotInArray:function(e,t,n){-1===t.indexOf(e)||this.__P_159_1(n||"",qx.lang.String.format("The value '%1' must not have any of the values defined in the array '%2'",[e,t]))},assertArrayEquals:function(e,t,n){this.assertArray(e,n);this.assertArray(t,n);n=n||"Expected ["+e.join(", ")+"], but found ["+t.join(", ")+"]";e.length!==t.length&&this.fail(n,!0);for(var r=0;r=0||this.__P_159_1(t||"","Expected value to be a number >= 0 but found ",e,"!")},assertInteger:function(e,t){qx.lang.Type.isNumber(e)&&isFinite(e)&&e%1==0||this.__P_159_1(t||"","Expected value to be an integer but found ",e,"!")},assertPositiveInteger:function(e,t){qx.lang.Type.isNumber(e)&&isFinite(e)&&e%1==0&&e>=0||this.__P_159_1(t||"","Expected value to be an integer >= 0 but found ",e,"!")},assertInRange:function(e,t,n,r){e>=t&&e<=n||this.__P_159_1(r||"",qx.lang.String.format("Expected value '%1' to be in the range '%2'..'%3'!",[e,t,n]))},assertObject:function(e,t){null!==e&&(qx.lang.Type.isObject(e)||"object"===_typeof(e))||this.__P_159_1(t||"","Expected value to be typeof object but found ",e,"!")},assertArray:function(e,t){qx.lang.Type.isArray(e)||this.__P_159_1(t||"","Expected value to be an array but found ",e,"!")},assertMap:function(e,t){qx.lang.Type.isObject(e)||this.__P_159_1(t||"","Expected value to be a map but found ",e,"!")},assertRegExp:function(e,t){qx.lang.Type.isRegExp(e)||this.__P_159_1(t||"","Expected value to be a regular expression but found ",e,"!")},assertType:function(e,t,n){this.assertString(t,"Invalid argument 'type'");_typeof(e)===t||this.__P_159_1(n||"","Expected value to be typeof '",t,"' but found ",e,"!")},assertInstance:function(e,t,n){var r=t.classname||t+"";e instanceof t||this.__P_159_1(n||"","Expected value to be instanceof '",r,"' but found ",e,"!")},assertInterface:function(e,t,n){qx.Class&&qx.Class.implementsInterface(e,t)||this.__P_159_1(n||"","Expected object '",e,"' to implement the interface '",t,"'!")},assertCssColor:function(e,t,n){var r=qx.Class?qx.Class.getByName("qx.util.ColorUtil"):null;if(!r)throw new Error("qx.util.ColorUtil not available! Your code must have a dependency on 'qx.util.ColorUtil'");var i=r.stringToRgb(e);try{var o=r.stringToRgb(t)}catch(r){this.__P_159_1(n||"","Expected value to be the CSS color '",e,"' (rgb(",i.join(","),")), but found value '",t,"', which cannot be converted to a CSS color!")}i[0]==o[0]&&i[1]==o[1]&&i[2]==o[2]||this.__P_159_1(n||"","Expected value to be the CSS color '",i,"' (rgb(",i.join(","),")), but found value '",t,"' (rgb(",o.join(","),"))!")},assertElement:function(e,t){e&&1===e.nodeType||this.__P_159_1(t||"","Expected value to be a DOM element but found '",e,"'!")},assertQxObject:function(e,t){this.__P_159_3(e,"qx.core.Object")||this.__P_159_1(t||"","Expected value to be a qooxdoo object but found ",e,"!")},assertQxWidget:function(e,t){this.__P_159_3(e,"qx.ui.core.Widget")||this.__P_159_1(t||"","Expected value to be a qooxdoo widget but found ",e,"!")},__P_159_3:function(e,t){if(!e)return!1;for(var n=e.constructor;n;){if(n.classname===t)return!0;n=n.superclass}return!1}}});qx.core.Assert.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Assert":{require:!0},"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.core.MAssert",{members:{assert:function(e,t){qx.core.Assert.assert(e,t)},fail:function(e,t){qx.core.Assert.fail(e,t)},assertTrue:function(e,t){qx.core.Assert.assertTrue(e,t)},assertFalse:function(e,t){qx.core.Assert.assertFalse(e,t)},assertEquals:function(e,t,n){qx.core.Assert.assertEquals(e,t,n)},assertNotEquals:function(e,t,n){qx.core.Assert.assertNotEquals(e,t,n)},assertEqualsFloat:function(e,t,n){qx.core.Assert.assertEqualsFloat(e,t,n)},assertNotEqualsFloat:function(e,t,n){qx.core.Assert.assertNotEqualsFloat(e,t,n)},assertIdentical:function(e,t,n){qx.core.Assert.assertIdentical(e,t,n)},assertNotIdentical:function(e,t,n){qx.core.Assert.assertNotIdentical(e,t,n)},assertNotUndefined:function(e,t){qx.core.Assert.assertNotUndefined(e,t)},assertUndefined:function(e,t){qx.core.Assert.assertUndefined(e,t)},assertNotNull:function(e,t){qx.core.Assert.assertNotNull(e,t)},assertNull:function(e,t){qx.core.Assert.assertNull(e,t)},assertJsonEquals:function(e,t,n){qx.core.Assert.assertJsonEquals(e,t,n)},assertMatch:function(e,t,n){qx.core.Assert.assertMatch(e,t,n)},assertArgumentsCount:function(e,t,n,r){qx.core.Assert.assertArgumentsCount(e,t,n,r)},assertEventFired:function(e,t,n,r,i){qx.core.Assert.assertEventFired(e,t,n,r,i)},assertEventNotFired:function(e,t,n,r){qx.core.Assert.assertEventNotFired(e,t,n,r)},assertException:function(e,t,n,r){qx.core.Assert.assertException(e,t,n,r)},assertInArray:function(e,t,n){qx.core.Assert.assertInArray(e,t,n)},assertNotInArray:function(e,t,n){qx.core.Assert.assertNotInArray(e,t,n)},assertArrayEquals:function(e,t,n){qx.core.Assert.assertArrayEquals(e,t,n)},assertKeyInMap:function(e,t,n){qx.core.Assert.assertKeyInMap(e,t,n)},assertFunction:function(e,t){qx.core.Assert.assertFunction(e,t)},assertString:function(e,t){qx.core.Assert.assertString(e,t)},assertBoolean:function(e,t){qx.core.Assert.assertBoolean(e,t)},assertNumber:function(e,t){qx.core.Assert.assertNumber(e,t)},assertPositiveNumber:function(e,t){qx.core.Assert.assertPositiveNumber(e,t)},assertInteger:function(e,t){qx.core.Assert.assertInteger(e,t)},assertPositiveInteger:function(e,t){qx.core.Assert.assertPositiveInteger(e,t)},assertInRange:function(e,t,n,r){qx.core.Assert.assertInRange(e,t,n,r)},assertObject:function(e,t){qx.core.Assert.assertObject(e,t)},assertArray:function(e,t){qx.core.Assert.assertArray(e,t)},assertMap:function(e,t){qx.core.Assert.assertMap(e,t)},assertRegExp:function(e,t){qx.core.Assert.assertRegExp(e,t)},assertType:function(e,t,n){qx.core.Assert.assertType(e,t,n)},assertInstance:function(e,t,n){qx.core.Assert.assertInstance(e,t,n)},assertInterface:function(e,t,n){qx.core.Assert.assertInterface(e,t,n)},assertCssColor:function(e,t,n){qx.core.Assert.assertCssColor(e,t,n)},assertElement:function(e,t){qx.core.Assert.assertElement(e,t)},assertQxObject:function(e,t){qx.core.Assert.assertQxObject(e,t)},assertQxWidget:function(e,t){qx.core.Assert.assertQxWidget(e,t)}}});qx.core.MAssert.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.ObjectRegistry":{require:!0},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.data.MBinding":{require:!0},"qx.core.MLogging":{require:!0},"qx.core.MEvent":{require:!0},"qx.core.MProperty":{require:!0},"qx.core.MObjectId":{require:!0},"qx.core.MAssert":{require:!0},"qx.core.Property":{require:!0},"qx.core.IDisposable":{},"qx.util.Uuid":{},"qx.event.Registration":{},"qx.util.DisposeUtil":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.core.Object",{extend:Object,include:qx.core.Environment.filter({"module.databinding":qx.data.MBinding,"module.logger":qx.core.MLogging,"module.events":qx.core.MEvent,"module.property":qx.core.MProperty,"module.objectid":qx.core.MObjectId,"qx.debug":qx.core.MAssert}),construct:function(){},statics:{$$type:"Object"},members:{__P_41_0:qx.core.Property,toHashCode:function(){this.$$hash||this.$$disposed||(qx.Class.hasInterface(this.constructor,qx.core.IDisposable)?qx.core.ObjectRegistry.register(this):qx.core.ObjectRegistry.toHashCode(this));return this.$$hash},toUuid:function(){this.$$uuid||(this.$$uuid=qx.util.Uuid.createUuidV4());return this.$$uuid},setExplicitUuid:function(e){if(Boolean(this.$$uuid))throw new Error("Cannot change the UUID of an object once set");this.$$uuid=e},toString:function(){return this.classname+"["+this.toHashCode()+"]"},base:function(e,t){var n=e.callee.base;n||(n=this[e.callee.name].base);return 1===arguments.length?n.call(this):n.apply(this,Array.prototype.slice.call(arguments,1))},self:function(e){return e.callee.self},clone:function(){for(var e,t=this.constructor,n=new t,r=qx.Class.getProperties(t),i=this.__P_41_0.$$store.user,o=this.__P_41_0.$$method.set,s=0,a=r.length;st){var n=e[e.length-1];if(n instanceof qx.core.Object||qx.Class.isClass(n)){e.pop();for(var r=0;r0;){var t=e.shift();if("function"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}};a.prototype._drainQueues=function(){this._drainQueue(this._normalQueue);this._reset();this._haveDrainedQueues=!0;this._drainQueue(this._lateQueue)};a.prototype._queueTick=function(){if(!this._isTickUsed){this._isTickUsed=!0;this._schedule(this.drainQueues)}};a.prototype._reset=function(){this._isTickUsed=!1};t.exports=a;t.exports.firstLineError=r},{"./queue":26,"./schedule":29,"./util":36}],3:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){var i=!1,o=function(e,t){this._reject(t)},s=function(e,t){t.promiseRejectionQueued=!0;t.bindingPromise._then(o,o,null,this,e)},a=function(e,t){0==(50397184&this._bitField)&&this._resolveCallback(t.target)},u=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(o){if(!i){i=!0;e.prototype._propagateFrom=r.propagateFromFunction();e.prototype._boundValue=r.boundValueFunction()}var l=n(o),c=new e(t);c._propagateFrom(this,1);var h=this._target();c._setBoundTo(l);if(l instanceof e){var d={promiseRejectionQueued:!1,promise:c,target:h,bindingPromise:l};h._then(t,s,void 0,c,d);l._then(a,u,void 0,c,d);c._setOnCancel(l)}else c._resolveCallback(h);return c};e.prototype._setBoundTo=function(e){if(void 0!==e){this._bitField=2097152|this._bitField;this._boundTo=e}else this._bitField=-2097153&this._bitField};e.prototype._isBound=function(){return 2097152==(2097152&this._bitField)};e.bind=function(t,n){return e.resolve(n).bind(t)}}},{}],4:[function(e,t,n){"use strict";var r;"undefined"!=typeof Promise&&(r=Promise);function i(){try{Promise===o&&(Promise=r)}catch(e){}return o}var o=e("./promise")();o.noConflict=i;t.exports=o},{"./promise":22}],5:[function(e,t,n){"use strict";var r=Object.create;if(r){var i=r(null),o=r(null);i[" size"]=o[" size"]=0}t.exports=function(t){var n,r=e("./util"),i=r.canEvaluate;r.isIdentifier;function o(e,n){var i;null!=e&&(i=e[n]);if("function"!=typeof i){var o="Object "+r.classString(e)+" has no method '"+r.toString(n)+"'";throw new t.TypeError(o)}return i}function s(e){return o(e,this.pop()).apply(e,this)}t.prototype.call=function(e){var t=[].slice.call(arguments,1);t.push(e);return this._then(s,void 0,void 0,t,void 0)};function a(e){return e[this]}function u(e){var t=+this;t<0&&(t=Math.max(0,t+e.length));return e[t]}t.prototype.get=function(e){var t;if("number"==typeof e)t=u;else if(i){var r=n(e);t=null!==r?r:a}else t=a;return this._then(t,void 0,void 0,e,void 0)}}},{"./util":36}],6:[function(e,t,n){"use strict";t.exports=function(t,n,r,i){var o=e("./util"),s=o.tryCatch,a=o.errorObj,u=t._async;t.prototype.break=t.prototype.cancel=function(){if(!i.cancellation())return this._warn("cancellation is disabled");for(var e=this,t=e;e._isCancellable();){if(!e._cancelBy(t)){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}var n=e._cancellationParent;if(null==n||!n._isCancellable()){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}e._isFollowing()&&e._followee().cancel();e._setWillBeCancelled();t=e;e=n}};t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--};t.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0};t.prototype._cancelBy=function(e){if(e===this){this._branchesRemainingToCancel=0;this._invokeOnCancel();return!0}this._branchHasCancelled();if(this._enoughBranchesHaveCancelled()){this._invokeOnCancel();return!0}return!1};t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()};t.prototype._cancel=function(){if(this._isCancellable()){this._setCancelled();u.invoke(this._cancelPromises,this,void 0)}};t.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()};t.prototype._unsetOnCancel=function(){this._onCancelField=void 0};t.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()};t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()};t.prototype._doInvokeOnCancel=function(e,t){if(o.isArray(e))for(var n=0;n=0)return n[e]}r.CapturedTrace=null;r.create=i;r.deactivateLongStackTraces=function(){};r.activateLongStackTraces=function(){var n=e.prototype._pushContext,i=e.prototype._popContext,s=e._peekContext,a=e.prototype._peekContext,u=e.prototype._promiseCreated;r.deactivateLongStackTraces=function(){e.prototype._pushContext=n;e.prototype._popContext=i;e._peekContext=s;e.prototype._peekContext=a;e.prototype._promiseCreated=u;t=!1};t=!0;e.prototype._pushContext=r.prototype._pushContext;e.prototype._popContext=r.prototype._popContext;e._peekContext=e.prototype._peekContext=o;e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}};return r}},{}],9:[function(e,t,n){"use strict";t.exports=function(t,n){var r,i,o,s=t._getDomain,a=t._async,u=e("./errors").Warning,l=e("./util"),c=l.canAttachTrace,h=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,d=/\((?:timers\.js):\d+:\d+\)/,f=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,_=null,p=null,m=!1,g=!(0==l.env("BLUEBIRD_DEBUG")),v=!(0==l.env("BLUEBIRD_WARNINGS")||!g&&!l.env("BLUEBIRD_WARNINGS")),b=!(0==l.env("BLUEBIRD_LONG_STACK_TRACES")||!g&&!l.env("BLUEBIRD_LONG_STACK_TRACES")),y=0!=l.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(v||!!l.env("BLUEBIRD_W_FORGOTTEN_RETURN"));t.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=-1048577&e._bitField|524288};t.prototype._ensurePossibleRejectionHandled=function(){if(0==(524288&this._bitField)){this._setRejectionIsUnhandled();a.invokeLater(this._notifyUnhandledRejection,this,void 0)}};t.prototype._notifyUnhandledRejectionIsHandled=function(){Y("rejectionHandled",r,void 0,this)};t.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField};t.prototype._returnedNonUndefined=function(){return 0!=(268435456&this._bitField)};t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified();Y("unhandledRejection",i,e,this)}};t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField};t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField};t.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0};t.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField};t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField;if(this._isUnhandledRejectionNotified()){this._unsetUnhandledRejectionIsNotified();this._notifyUnhandledRejectionIsHandled()}};t.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0};t.prototype._warn=function(e,t,n){return j(e,t,n||this)};t.onPossiblyUnhandledRejection=function(e){var t=s();i="function"==typeof e?null===t?e:l.domainBind(t,e):void 0};t.onUnhandledRejectionHandled=function(e){var t=s();r="function"==typeof e?null===t?e:l.domainBind(t,e):void 0};var x=function(){};t.longStackTraces=function(){if(a.haveItemsQueued()&&!oe.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!oe.longStackTraces&&J()){var e=t.prototype._captureStackTrace,r=t.prototype._attachExtraTrace;oe.longStackTraces=!0;x=function(){if(a.haveItemsQueued()&&!oe.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");t.prototype._captureStackTrace=e;t.prototype._attachExtraTrace=r;n.deactivateLongStackTraces();a.enableTrampoline();oe.longStackTraces=!1};t.prototype._captureStackTrace=R;t.prototype._attachExtraTrace=F;n.activateLongStackTraces();a.disableTrampolineIfNecessary()}};t.hasLongStackTraces=function(){return oe.longStackTraces&&J()};var w=function(){try{if("function"==typeof CustomEvent){var e=new CustomEvent("CustomEvent");l.global.dispatchEvent(e);return function(e,t){var n=new CustomEvent(e.toLowerCase(),{detail:t,cancelable:!0});return!l.global.dispatchEvent(n)}}if("function"==typeof Event){e=new Event("CustomEvent");l.global.dispatchEvent(e);return function(e,t){var n=new Event(e.toLowerCase(),{cancelable:!0});n.detail=t;return!l.global.dispatchEvent(n)}}(e=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{});l.global.dispatchEvent(e);return function(e,t){var n=document.createEvent("CustomEvent");n.initCustomEvent(e.toLowerCase(),!1,!0,t);return!l.global.dispatchEvent(n)}}catch(e){}return function(){return!1}}(),q=l.isNode?function(){return process.emit.apply(process,arguments)}:l.global?function(e){var t="on"+e.toLowerCase(),n=l.global[t];if(!n)return!1;n.apply(l.global,[].slice.call(arguments,1));return!0}:function(){return!1};function P(e,t){return{promise:t}}var E={promiseCreated:P,promiseFulfilled:P,promiseRejected:P,promiseResolved:P,promiseCancelled:P,promiseChained:function(e,t,n){return{promise:t,child:n}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,n){return{reason:t,promise:n}},rejectionHandled:P},M=function(e){var t=!1;try{t=q.apply(null,arguments)}catch(e){a.throwLater(e);t=!0}var n=!1;try{n=w(e,E[e].apply(null,arguments))}catch(e){a.throwLater(e);n=!0}return n||t};t.config=function(e){"longStackTraces"in(e=Object(e))&&(e.longStackTraces?t.longStackTraces():!e.longStackTraces&&t.hasLongStackTraces()&&x());if("warnings"in e){var n=e.warnings;oe.warnings=!!n;y=oe.warnings;l.isObject(n)&&"wForgottenReturn"in n&&(y=!!n.wForgottenReturn)}if("cancellation"in e&&e.cancellation&&!oe.cancellation){if(a.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");t.prototype._clearCancellationData=k;t.prototype._propagateFrom=B;t.prototype._onCancel=D;t.prototype._setOnCancel=I;t.prototype._attachCancellationCallback=A;t.prototype._execute=S;O=B;oe.cancellation=!0}if("monitoring"in e)if(e.monitoring&&!oe.monitoring){oe.monitoring=!0;t.prototype._fireEvent=M}else if(!e.monitoring&&oe.monitoring){oe.monitoring=!1;t.prototype._fireEvent=C}};function C(){return!1}t.prototype._fireEvent=C;t.prototype._execute=function(e,t,n){try{e(t,n)}catch(e){return e}};t.prototype._onCancel=function(){};t.prototype._setOnCancel=function(e){};t.prototype._attachCancellationCallback=function(e){};t.prototype._captureStackTrace=function(){};t.prototype._attachExtraTrace=function(){};t.prototype._clearCancellationData=function(){};t.prototype._propagateFrom=function(e,t){};function S(e,t,n){var r=this;try{e(t,n,(function(e){if("function"!=typeof e)throw new TypeError("onCancel must be a function, got: "+l.toString(e));r._attachCancellationCallback(e)}))}catch(e){return e}}function A(e){if(!this._isCancellable())return this;var t=this._onCancel();void 0!==t?l.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function D(){return this._onCancelField}function I(e){this._onCancelField=e}function k(){this._cancellationParent=void 0;this._onCancelField=void 0}function B(e,t){if(0!=(1&t)){this._cancellationParent=e;var n=e._branchesRemainingToCancel;void 0===n&&(n=0);e._branchesRemainingToCancel=n+1}0!=(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function T(e,t){0!=(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}var O=T;function L(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e}function R(){this._trace=new re(this._peekContext())}function F(e,t){if(c(e)){var n=this._trace;void 0!==n&&t&&(n=n._parent);if(void 0!==n)n.attachExtraTrace(e);else if(!e.__P_102_13){var r=G(e);l.notEnumerableProp(e,"stack",r.message+"\n"+r.stack.join("\n"));l.notEnumerableProp(e,"__P_102_13",!0)}}}function N(e,t,n,r,i){if(void 0===e&&null!==t&&y){if(void 0!==i&&i._returnedNonUndefined())return;if(0==(65535&r._bitField))return;n&&(n+=" ");var o="",s="";if(t._trace){for(var a=t._trace.stack.split("\n"),u=z(a),l=u.length-1;l>=0;--l){var c=u[l];if(!d.test(c)){var h=c.match(f);h&&(o="at "+h[1]+":"+h[2]+":"+h[3]+" ");break}}if(u.length>0){var _=u[0];for(l=0;l0&&(s="\n"+a[l-1]);break}}}var p="a promise was created in a "+n+"handler "+o+"but was not returned from it, see http://goo.gl/rRqMUw"+s;r._warn(p,!0,t)}}function $(e,t){var n=e+" is deprecated and will be removed in a future version.";t&&(n+=" Use "+t+" instead.");return j(n)}function j(e,n,r){if(oe.warnings){var i,o=new u(e);if(n)r._attachExtraTrace(o);else if(oe.longStackTraces&&(i=t._peekContext()))i.attachExtraTrace(o);else{var s=G(o);o.stack=s.message+"\n"+s.stack.join("\n")}M("warning",o)||K(o,"",!0)}}function W(e,t){for(var n=0;n=0;--a)if(r[a]===o){s=a;break}for(a=s;a>=0;--a){var u=r[a];if(t[i]!==u)break;t.pop();i--}t=r}}function z(e){for(var t=[],n=0;n0&&(t=t.slice(n));return t}function G(e){var t=e.stack;return{message:e.toString(),stack:z(t="string"==typeof t&&t.length>0?V(e):[" (No stack trace)"])}}function K(e,t,n){if("undefined"!=typeof console){var r;if(l.isObject(e)){var i=e.stack;r=t+p(i,e)}else r=t+String(e);"function"==typeof o?o(r,n):"function"!=typeof console.log&&"object"!==_typeof(console.log)||console.log(r)}}function Y(e,t,n,r){var i=!1;try{if("function"==typeof t){i=!0;"rejectionHandled"===e?t(r):t(n,r)}}catch(e){a.throwLater(e)}"unhandledRejection"===e?M(e,n,r)||i||K(n,"Unhandled rejection "):M(e,r)}function X(e){var t;if("function"==typeof e)t="[function "+(e.name||"anonymous")+"]";else{t=e&&"function"==typeof e.toString?e.toString():l.toString(e);if(/\[object [a-zA-Z0-9$_]+\]/.test(t))try{t=JSON.stringify(e)}catch(e){}0===t.length&&(t="(empty array)")}return"(<"+Z(t)+">, no stack trace)"}function Z(e){var t=41;return e.length=a||(Q=function(e){if(h.test(e))return!0;var t=te(e);return!!(t&&t.fileName===n&&s<=t.line&&t.line<=a)})}}function re(e){this._parent=e;this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);ie(this,re);t>32&&this.uncycle()}l.inherits(re,Error);n.CapturedTrace=re;re.prototype.uncycle=function(){var e=this._length;if(!(e<2)){for(var t=[],n={},r=0,i=this;void 0!==i;++r){t.push(i);i=i._parent}for(r=(e=this._length=r)-1;r>=0;--r){var o=t[r].stack;void 0===n[o]&&(n[o]=r)}for(r=0;r0){t[s-1]._parent=void 0;t[s-1]._length=1}t[r]._parent=void 0;t[r]._length=1;var a=r>0?t[r-1]:this;if(s=0;--l){t[l]._length=u;u++}return}}}};re.prototype.attachExtraTrace=function(e){if(!e.__P_102_13){this.uncycle();for(var t=G(e),n=t.message,r=[t.stack],i=this;void 0!==i;){r.push(z(i.stack.split("\n")));i=i._parent}H(r);U(r);l.notEnumerableProp(e,"stack",W(n,r));l.notEnumerableProp(e,"__P_102_13",!0)}};var ie=function(){var e=/^\s*at\s*/,t=function(e,t){return"string"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():X(t)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6;_=e;p=t;var n=Error.captureStackTrace;Q=function(e){return h.test(e)};return function(e,t){Error.stackTraceLimit+=6;n(e,t);Error.stackTraceLimit-=6}}var r,i=new Error;if("string"==typeof i.stack&&i.stack.split("\n")[0].indexOf("stackDetection@")>=0){_=/@/;p=t;m=!0;return function(e){e.stack=(new Error).stack}}try{throw new Error}catch(e){r="stack"in e}if(!("stack"in i)&&r&&"number"==typeof Error.stackTraceLimit){_=e;p=t;return function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6}}p=function(e,t){return"string"==typeof e?e:"object"!==_typeof(t)&&"function"!=typeof t||void 0===t.name||void 0===t.message?X(t):t.toString()};return null}();if("undefined"!=typeof console&&void 0!==console.warn){o=function(e){console.warn(e)};l.isNode&&process.stderr.isTTY?o=function(e,t){var n=t?"":"";console.warn(n+e+"\n")}:l.isNode||"string"!=typeof(new Error).stack||(o=function(e,t){console.warn("%c"+e,t?"color: darkorange":"color: red")})}var oe={warnings:v,longStackTraces:!1,cancellation:!1,monitoring:!1};b&&t.longStackTraces();return{longStackTraces:function(){return oe.longStackTraces},warnings:function(){return oe.warnings},cancellation:function(){return oe.cancellation},monitoring:function(){return oe.monitoring},propagateFromFunction:function(){return O},boundValueFunction:function(){return L},checkForgottenReturns:N,setBounds:ne,warn:j,deprecated:$,CapturedTrace:re,fireDomEvent:w,fireGlobalEvent:q}}},{"./errors":12,"./util":36}],10:[function(e,t,n){"use strict";t.exports=function(e){function t(){return this.value}function n(){throw this.reason}e.prototype.return=e.prototype.thenReturn=function(n){n instanceof e&&n.suppressUnhandledRejections();return this._then(t,void 0,void 0,{value:n},void 0)};e.prototype.throw=e.prototype.thenThrow=function(e){return this._then(n,void 0,void 0,{reason:e},void 0)};e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:e},void 0);var t=arguments[1],r=function(){throw t};return this.caught(e,r)};e.prototype.catchReturn=function(n){if(arguments.length<=1){n instanceof e&&n.suppressUnhandledRejections();return this._then(void 0,t,void 0,{value:n},void 0)}var r=arguments[1];r instanceof e&&r.suppressUnhandledRejections();var i=function(){return r};return this.caught(n,i)}}},{}],11:[function(e,t,n){"use strict";t.exports=function(e,t){var n=e.reduce,r=e.all;function i(){return r(this)}function o(e,r){return n(e,r,t,t)}e.prototype.each=function(e){return n(this,e,t,0)._then(i,void 0,void 0,this,void 0)};e.prototype.mapSeries=function(e){return n(this,e,t,t)};e.each=function(e,r){return n(e,r,t,0)._then(i,void 0,void 0,e,void 0)};e.mapSeries=o}},{}],12:[function(e,t,n){"use strict";var r,i,o=e("./es5"),s=o.freeze,a=e("./util"),u=a.inherits,l=a.notEnumerableProp;function c(e,t){function n(r){if(!(this instanceof n))return new n(r);l(this,"message","string"==typeof r?r:t);l(this,"name",e);Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}u(n,Error);return n}var h=c("Warning","warning"),d=c("CancellationError","cancellation error"),f=c("TimeoutError","timeout error"),_=c("AggregateError","aggregate error");try{r=TypeError;i=RangeError}catch(e){r=c("TypeError","type error");i=c("RangeError","range error")}for(var p="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),m=0;m1?e.cancelPromise._reject(t):e.cancelPromise._cancel();e.cancelPromise=null;return!0}return!1}function l(){return h.call(this,this.promise._target()._settledValue())}function c(e){if(!u(this,e)){o.e=e;return o}}function h(e){var r=this.promise,s=this.handler;if(!this.called){this.called=!0;var h=this.isFinallyHandler()?s.call(r._boundValue()):s.call(r._boundValue(),e);if(void 0!==h){r._setReturnedNonUndefined();var d=n(h,r);if(d instanceof t){if(null!=this.cancelPromise){if(d._isCancelled()){var f=new i("late cancellation observer");r._attachExtraTrace(f);o.e=f;return o}d.isPending()&&d._attachCancellationCallback(new a(this))}return d._then(l,c,void 0,this,void 0)}}}if(r.isRejected()){u(this);o.e=e;return o}u(this);return e}t.prototype._passThrough=function(e,t,n,r){return"function"!=typeof e?this.then():this._then(n,r,void 0,new s(this,t,e),void 0)};t.prototype.lastly=t.prototype.finally=function(e){return this._passThrough(e,0,h,h)};t.prototype.tap=function(e){return this._passThrough(e,1,h)};return s}},{"./util":36}],16:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o,s){var a=e("./errors").TypeError,u=e("./util"),l=u.errorObj,c=u.tryCatch,h=[];function d(e,n,r){for(var o=0;o0&&"function"==typeof arguments[t]&&(e=arguments[t]);var r=[].slice.call(arguments);e&&r.pop();var i=new n(r).promise();return void 0!==e?i.spread(e):i}}},{"./util":36}],18:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o,s){var a=t._getDomain,u=e("./util"),l=u.tryCatch,c=u.errorObj;function h(e,t,n,r){this.constructor$(e);this._promise._captureStackTrace();var i=a();this._callback=null===i?t:u.domainBind(i,t);this._preservedValues=r===o?new Array(this.length()):null;this._limit=n;this._inFlight=0;this._queue=[];this._init$(void 0,-2)}u.inherits(h,n);h.prototype._init=function(){};h.prototype._promiseFulfilled=function(e,n){var r=this._values,o=this.length(),a=this._preservedValues,u=this._limit;if(n<0){r[n=-1*n-1]=e;if(u>=1){this._inFlight--;this._drainQueue();if(this._isResolved())return!0}}else{if(u>=1&&this._inFlight>=u){r[n]=e;this._queue.push(n);return!1}null!==a&&(a[n]=e);var h=this._promise,d=this._callback,f=h._boundValue();h._pushContext();var _=l(d).call(f,e,n,o),p=h._popContext();s.checkForgottenReturns(_,p,null!==a?"Promise.filter":"Promise.map",h);if(_===c){this._reject(_.e);return!0}var m=i(_,this._promise);if(m instanceof t){var g=(m=m._target())._bitField;if(0==(50397184&g)){u>=1&&this._inFlight++;r[n]=m;m._proxy(this,-1*(n+1));return!1}if(0==(33554432&g)){if(0!=(16777216&g)){this._reject(m._reason());return!0}this._cancel();return!0}_=m._value()}r[n]=_}if(++this._totalResolved>=o){null!==a?this._filter(r,a):this._resolve(r);return!0}return!1};h.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight=1?s:0,o).promise()}t.prototype.map=function(e,t){return d(this,e,t,null)};t.map=function(e,t,n,r){return d(e,t,n,r)}}},{"./util":36}],19:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o){var s=e("./util"),a=s.tryCatch;t.method=function(e){if("function"!=typeof e)throw new t.TypeError("expecting a function but got "+s.classString(e));return function(){var r=new t(n);r._captureStackTrace();r._pushContext();var i=a(e).apply(this,arguments),s=r._popContext();o.checkForgottenReturns(i,s,"Promise.method",r);r._resolveFromSyncValue(i);return r}};t.attempt=t.try=function(e){if("function"!=typeof e)return i("expecting a function but got "+s.classString(e));var r,u=new t(n);u._captureStackTrace();u._pushContext();if(arguments.length>1){o.deprecated("calling Promise.try with more than 1 argument");var l=arguments[1],c=arguments[2];r=s.isArray(l)?a(e).apply(c,l):a(e).call(c,l)}else r=a(e)();var h=u._popContext();o.checkForgottenReturns(r,h,"Promise.try",u);u._resolveFromSyncValue(r);return u};t.prototype._resolveFromSyncValue=function(e){e===s.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},{"./util":36}],20:[function(e,t,n){"use strict";var r=e("./util"),i=r.maybeWrapAsError,o=e("./errors").OperationalError,s=e("./es5");function a(e){return e instanceof Error&&s.getPrototypeOf(e)===Error.prototype}var u=/^(?:name|message|stack|cause)$/;function l(e){var t;if(a(e)){(t=new o(e)).name=e.name;t.message=e.message;t.stack=e.stack;for(var n=s.keys(e),i=0;i1){var n,r=new Array(t-1),o=0;for(n=0;n0&&"function"!=typeof e&&"function"!=typeof t){var n=".then() only accepts functions but was passed: "+u.classString(e);arguments.length>1&&(n+=", "+u.classString(t));this._warn(n)}return this._then(e,t,void 0,void 0,void 0)};A.prototype.done=function(e,t){this._then(e,t,void 0,void 0,void 0)._setIsFinal()};A.prototype.spread=function(e){return"function"!=typeof e?i("expecting a function but got "+u.classString(e)):this.all()._then(e,void 0,void 0,m,void 0)};A.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};if(this.isFulfilled()){e.fulfillmentValue=this.value();e.isFulfilled=!0}else if(this.isRejected()){e.rejectionReason=this.reason();e.isRejected=!0}return e};A.prototype.all=function(){arguments.length>0&&this._warn(".all() was passed arguments but it does not take any");return new b(this).promise()};A.prototype.error=function(e){return this.caught(u.originatesFromRejection,e)};A.getNewLibraryCopy=t.exports;A.is=function(e){return e instanceof A};A.fromNode=A.fromCallback=function(e){var t=new A(p);t._captureStackTrace();var n=arguments.length>1&&!!Object(arguments[1]).multiArgs,r=C(e)(E(t,n));r===M&&t._rejectCallback(r.e,!0);t._isFateSealed()||t._setAsyncGuaranteed();return t};A.all=function(e){return new b(e).promise()};A.cast=function(e){var t=v(e);if(!(t instanceof A)){(t=new A(p))._captureStackTrace();t._setFulfilled();t._rejectionHandler0=e}return t};A.resolve=A.fulfilled=A.cast;A.reject=A.rejected=function(e){var t=new A(p);t._captureStackTrace();t._rejectCallback(e,!0);return t};A.setScheduler=function(e){if("function"!=typeof e)throw new f("expecting a function but got "+u.classString(e));return h.setScheduler(e)};A.prototype._then=function(e,t,n,r,i){var o=void 0!==i,a=o?i:new A(p),l=this._target(),c=l._bitField;if(!o){a._propagateFrom(this,3);a._captureStackTrace();void 0===r&&0!=(2097152&this._bitField)&&(r=0!=(50397184&c)?this._boundValue():l===this?void 0:this._boundTo);this._fireEvent("promiseChained",this,a)}var d=s();if(0!=(50397184&c)){var f,m,g=l._settlePromiseCtx;if(0!=(33554432&c)){m=l._rejectionHandler0;f=e}else if(0!=(16777216&c)){m=l._fulfillmentHandler0;f=t;l._unsetRejectionIsUnhandled()}else{g=l._settlePromiseLateCancellationObserver;m=new _("late cancellation observer");l._attachExtraTrace(m);f=t}h.invoke(g,l,{handler:null===d?f:"function"==typeof f&&u.domainBind(d,f),promise:a,receiver:r,value:m})}else l._addCallbacks(e,t,a,r,d);return a};A.prototype._length=function(){return 65535&this._bitField};A.prototype._isFateSealed=function(){return 0!=(117506048&this._bitField)};A.prototype._isFollowing=function(){return 67108864==(67108864&this._bitField)};A.prototype._setLength=function(e){this._bitField=-65536&this._bitField|65535&e};A.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField;this._fireEvent("promiseFulfilled",this)};A.prototype._setRejected=function(){this._bitField=16777216|this._bitField;this._fireEvent("promiseRejected",this)};A.prototype._setFollowing=function(){this._bitField=67108864|this._bitField;this._fireEvent("promiseResolved",this)};A.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField};A.prototype._isFinal=function(){return(4194304&this._bitField)>0};A.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField};A.prototype._setCancelled=function(){this._bitField=65536|this._bitField;this._fireEvent("promiseCancelled",this)};A.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField};A.prototype._setAsyncGuaranteed=function(){h.hasCustomScheduler()||(this._bitField=134217728|this._bitField)};A.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];if(t!==a)return void 0===t&&this._isBound()?this._boundValue():t};A.prototype._promiseAt=function(e){return this[4*e-4+2]};A.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]};A.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]};A.prototype._boundValue=function(){};A.prototype._migrateCallback0=function(e){e._bitField;var t=e._fulfillmentHandler0,n=e._rejectionHandler0,r=e._promise0,i=e._receiverAt(0);void 0===i&&(i=a);this._addCallbacks(t,n,r,i,null)};A.prototype._migrateCallbackAt=function(e,t){var n=e._fulfillmentHandlerAt(t),r=e._rejectionHandlerAt(t),i=e._promiseAt(t),o=e._receiverAt(t);void 0===o&&(o=a);this._addCallbacks(n,r,i,o,null)};A.prototype._addCallbacks=function(e,t,n,r,i){var o=this._length();if(o>=65531){o=0;this._setLength(0)}if(0===o){this._promise0=n;this._receiver0=r;"function"==typeof e&&(this._fulfillmentHandler0=null===i?e:u.domainBind(i,e));"function"==typeof t&&(this._rejectionHandler0=null===i?t:u.domainBind(i,t))}else{var s=4*o-4;this[s+2]=n;this[s+3]=r;"function"==typeof e&&(this[s+0]=null===i?e:u.domainBind(i,e));"function"==typeof t&&(this[s+1]=null===i?t:u.domainBind(i,t))}this._setLength(o+1);return o};A.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)};A.prototype._resolveCallback=function(e,t){if(0==(117506048&this._bitField)){if(e===this)return this._rejectCallback(n(),!1);var r=v(e,this);if(!(r instanceof A))return this._fulfill(e);t&&this._propagateFrom(r,2);var i=r._target();if(i!==this){var o=i._bitField;if(0==(50397184&o)){var s=this._length();s>0&&i._migrateCallback0(this);for(var a=1;a>>16)){if(e===this){var r=n();this._attachExtraTrace(r);return this._reject(r)}this._setFulfilled();this._rejectionHandler0=e;(65535&t)>0&&(0!=(134217728&t)?this._settlePromises():h.settlePromises(this))}};A.prototype._reject=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){this._setRejected();this._fulfillmentHandler0=e;if(this._isFinal())return h.fatalError(e,u.isNode);(65535&t)>0?h.settlePromises(this):this._ensurePossibleRejectionHandled()}};A.prototype._fulfillPromises=function(e,t){for(var n=1;n0){if(0!=(16842752&e)){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,e);this._rejectPromises(t,n)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,e);this._fulfillPromises(t,r)}this._setLength(0)}this._clearCancellationData()};A.prototype._settledValue=function(){var e=this._bitField;return 0!=(33554432&e)?this._rejectionHandler0:0!=(16777216&e)?this._fulfillmentHandler0:void 0};function D(e){this.promise._resolveCallback(e)}function I(e){this.promise._rejectCallback(e,!1)}A.defer=A.pending=function(){w.deprecated("Promise.defer","new Promise");return{promise:new A(p),resolve:D,reject:I}};u.notEnumerableProp(A,"_makeSelfResolutionError",n);e("./method")(A,p,v,i,w);e("./bind")(A,p,v,w);e("./cancel")(A,b,i,w);e("./direct_resolve")(A);e("./synchronous_inspection")(A);e("./join")(A,b,v,p,h,s);A.Promise=A;A.version="3.4.5";e("./map.js")(A,b,i,v,p,w);e("./call_get.js")(A);e("./using.js")(A,i,v,x,p,w);e("./timers.js")(A,p,w);e("./generators.js")(A,i,p,v,o,w);e("./nodeify.js")(A);e("./promisify.js")(A,p);e("./props.js")(A,b,v,i);e("./race.js")(A,p,v,i);e("./reduce.js")(A,b,i,v,p,w);e("./settle.js")(A,b,w);e("./some.js")(A,b,i);e("./filter.js")(A,p);e("./each.js")(A,p);e("./any.js")(A);u.toFastProperties(A);u.toFastProperties(A.prototype);function k(e){var t=new A(p);t._fulfillmentHandler0=e;t._rejectionHandler0=e;t._promise0=e;t._receiver0=e}k({a:1});k({b:2});k({c:3});k(1);k((function(){}));k(void 0);k(!1);k(new A(p));w.setBounds(c.firstLineError,u.lastLineError);return A}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36}],23:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o){var s=e("./util");s.isArray;function a(e){switch(e){case-2:return[];case-3:return{}}}function u(e){var r=this._promise=new t(n);e instanceof t&&r._propagateFrom(e,3);r._setOnCancel(this);this._values=e;this._length=0;this._totalResolved=0;this._init(void 0,-2)}s.inherits(u,o);u.prototype.length=function(){return this._length};u.prototype.promise=function(){return this._promise};u.prototype._init=function e(n,o){var u=r(this._values,this._promise);if(u instanceof t){var l=(u=u._target())._bitField;this._values=u;if(0==(50397184&l)){this._promise._setAsyncGuaranteed();return u._then(e,this._reject,void 0,this,o)}if(0==(33554432&l))return 0!=(16777216&l)?this._reject(u._reason()):this._cancel();u=u._value()}if(null!==(u=s.asArray(u)))0!==u.length?this._iterate(u):-5===o?this._resolveEmptyArray():this._resolve(a(o));else{var c=i("expecting an array or an iterable object but got "+s.classString(u)).reason();this._promise._rejectCallback(c,!1)}};u.prototype._iterate=function(e){var n=this.getActualLength(e.length);this._length=n;this._values=this.shouldCopyValues()?new Array(n):this._values;for(var i=this._promise,o=!1,s=null,a=0;a=this._length){this._resolve(this._values);return!0}return!1};u.prototype._promiseCancelled=function(){this._cancel();return!0};u.prototype._promiseRejected=function(e){this._totalResolved++;this._reject(e);return!0};u.prototype._resultCancelled=function(){if(!this._isResolved()){var e=this._values;this._cancel();if(e instanceof t)e.cancel();else for(var n=0;n=this._length){var n;if(this._isMap)n=c(this._values);else{n={};for(var r=this.length(),i=0,o=this.length();i>1};function d(e){var n,o=r(e);if(!a(o))return i("cannot await properties of a non-object\n\n See http://goo.gl/MqrFmX\n");n=o instanceof t?o._then(t.props,void 0,void 0,void 0,void 0):new h(o).promise();o instanceof t&&n._propagateFrom(o,2);return n}t.prototype.props=function(){return d(this)};t.props=function(e){return d(e)}}},{"./es5":13,"./util":36}],26:[function(e,t,n){"use strict";function r(e,t,n,r,i){for(var o=0;o=this._length){this._resolve(this._values);return!0}return!1};o.prototype._promiseFulfilled=function(e,t){var n=new i;n._bitField=33554432;n._settledValueField=e;return this._promiseResolved(t,n)};o.prototype._promiseRejected=function(e,t){var n=new i;n._bitField=16777216;n._settledValueField=e;return this._promiseResolved(t,n)};t.settle=function(e){r.deprecated(".settle()",".reflect()");return new o(e).promise()};t.prototype.settle=function(){return t.settle(this)}}},{"./util":36}],31:[function(e,t,n){"use strict";t.exports=function(t,n,r){var i=e("./util"),o=e("./errors").RangeError,s=e("./errors").AggregateError,a=i.isArray,u={};function l(e){this.constructor$(e);this._howMany=0;this._unwrap=!1;this._initialized=!1}i.inherits(l,n);l.prototype._init=function(){if(this._initialized)if(0!==this._howMany){this._init$(void 0,-5);var e=a(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])};l.prototype.init=function(){this._initialized=!0;this._init()};l.prototype.setUnwrap=function(){this._unwrap=!0};l.prototype.howMany=function(){return this._howMany};l.prototype.setHowMany=function(e){this._howMany=e};l.prototype._promiseFulfilled=function(e){this._addFulfilled(e);if(this._fulfilled()===this.howMany()){this._values.length=this.howMany();1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values);return!0}return!1};l.prototype._promiseRejected=function(e){this._addRejected(e);return this._checkOutcome()};l.prototype._promiseCancelled=function(){if(this._values instanceof t||null==this._values)return this._cancel();this._addRejected(u);return this._checkOutcome()};l.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new s,t=this.length();t0?this._reject(e):this._cancel();return!0}return!1};l.prototype._fulfilled=function(){return this._totalResolved};l.prototype._rejected=function(){return this._values.length-this.length()};l.prototype._addRejected=function(e){this._values.push(e)};l.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e};l.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()};l.prototype._getRangeError=function(e){var t="Input array must contain at least "+this._howMany+" items but contains only "+e+" items";return new o(t)};l.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function c(e,t){if((0|t)!==t||t<0)return r("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var n=new l(e),i=n.promise();n.setHowMany(t);n.init();return i}t.some=function(e,t){return c(e,t)};t.prototype.some=function(e){return c(this,e)};t._SomePromiseArray=l}},{"./errors":12,"./util":36}],32:[function(e,t,n){"use strict";t.exports=function(e){function t(e){if(void 0!==e){e=e._target();this._bitField=e._bitField;this._settledValueField=e._isFateSealed()?e._settledValue():void 0}else{this._bitField=0;this._settledValueField=void 0}}t.prototype._settledValue=function(){return this._settledValueField};var n=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},r=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},i=t.prototype.isFulfilled=function(){return 0!=(33554432&this._bitField)},o=t.prototype.isRejected=function(){return 0!=(16777216&this._bitField)},s=t.prototype.isPending=function(){return 0==(50397184&this._bitField)},a=t.prototype.isResolved=function(){return 0!=(50331648&this._bitField)};t.prototype.isCancelled=function(){return 0!=(8454144&this._bitField)};e.prototype.__P_102_16=function(){return 65536==(65536&this._bitField)};e.prototype._isCancelled=function(){return this._target().__P_102_16()};e.prototype.isCancelled=function(){return 0!=(8454144&this._target()._bitField)};e.prototype.isPending=function(){return s.call(this._target())};e.prototype.isRejected=function(){return o.call(this._target())};e.prototype.isFulfilled=function(){return i.call(this._target())};e.prototype.isResolved=function(){return a.call(this._target())};e.prototype.value=function(){return n.call(this._target())};e.prototype.reason=function(){var e=this._target();e._unsetRejectionIsUnhandled();return r.call(e)};e.prototype._value=function(){return this._settledValue()};e.prototype._reason=function(){this._unsetRejectionIsUnhandled();return this._settledValue()};e.PromiseInspection=t}},{}],33:[function(e,t,n){"use strict";t.exports=function(t,n){var r=e("./util"),i=r.errorObj,o=r.isObject;function s(e,r){if(o(e)){if(e instanceof t)return e;var s=u(e);if(s===i){r&&r._pushContext();var a=t.reject(s.e);r&&r._popContext();return a}if("function"==typeof s){if(c(e)){a=new t(n);e._then(a._fulfill,a._reject,void 0,a,null);return a}return h(e,s,r)}}return e}function a(e){return e.then}function u(e){try{return a(e)}catch(e){i.e=e;return i}}var l={}.hasOwnProperty;function c(e){try{return l.call(e,"_promise0")}catch(e){return!1}}function h(e,o,s){var a=new t(n),u=a;s&&s._pushContext();a._captureStackTrace();s&&s._popContext();var l=!0,c=r.tryCatch(o).call(e,h,d);l=!1;if(a&&c===i){a._rejectCallback(c.e,!0,!0);a=null}function h(e){if(a){a._resolveCallback(e);a=null}}function d(e){if(a){a._rejectCallback(e,l,!0);a=null}}return u}return s}},{"./util":36}],34:[function(e,t,n){"use strict";t.exports=function(t,n,r){var i=e("./util"),o=t.TimeoutError;function s(e){this.handle=e}s.prototype._resultCancelled=function(){clearTimeout(this.handle)};var a=function(e){return u(+this).thenReturn(e)},u=t.delay=function(e,i){var o,u;if(void 0!==i){o=t.resolve(i)._then(a,null,null,e,void 0);r.cancellation()&&i instanceof t&&o._setOnCancel(i)}else{o=new t(n);u=setTimeout((function(){o._fulfill()}),+e);r.cancellation()&&o._setOnCancel(new s(u));o._captureStackTrace()}o._setAsyncGuaranteed();return o};t.prototype.delay=function(e){return u(e,this)};var l=function(e,t,n){var r;r="string"!=typeof t?t instanceof Error?t:new o("operation timed out"):new o(t);i.markAsOriginatingFromRejection(r);e._attachExtraTrace(r);e._reject(r);null!=n&&n.cancel()};function c(e){clearTimeout(this.handle);return e}function h(e){clearTimeout(this.handle);throw e}t.prototype.timeout=function(e,t){e=+e;var n,i,o=new s(setTimeout((function(){n.isPending()&&l(n,t,i)}),e));if(r.cancellation()){i=this.then();(n=i._then(c,h,void 0,o,void 0))._setOnCancel(o)}else n=this._then(c,h,void 0,o,void 0);return n}}},{"./util":36}],35:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o,s){var a=e("./util"),u=e("./errors").TypeError,l=e("./util").inherits,c=a.errorObj,h=a.tryCatch,d={};function f(e){setTimeout((function(){throw e}),0)}function _(e){var t=r(e);t!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer());return t}function p(e,n){var i=0,s=e.length,a=new t(o);function u(){if(i>=s)return a._fulfill();var o=_(e[i++]);if(o instanceof t&&o._isDisposable()){try{o=r(o._getDisposer().tryDispose(n),e.promise)}catch(e){return f(e)}if(o instanceof t)return o._then(u,f,null,null,null)}u()}u();return a}function m(e,t,n){this._data=e;this._promise=t;this._context=n}m.prototype.data=function(){return this._data};m.prototype.promise=function(){return this._promise};m.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():d};m.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=t!==d?this.doDispose(t,e):null;void 0!==n&&n._popContext();this._promise._unsetDisposable();this._data=null;return r};m.isDisposer=function(e){return null!=e&&"function"==typeof e.resource&&"function"==typeof e.tryDispose};function g(e,t,n){this.constructor$(e,t,n)}l(g,m);g.prototype.doDispose=function(e,t){return this.data().call(e,e,t)};function v(e){if(m.isDisposer(e)){this.resources[this.index]._setDisposable(e);return e.promise()}return e}function b(e){this.length=e;this.promise=null;this[e-1]=null}b.prototype._resultCancelled=function(){for(var e=this.length,n=0;n0};t.prototype._getDisposer=function(){return this._disposer};t.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField;this._disposer=void 0};t.prototype.disposer=function(e){if("function"==typeof e)return new g(e,this,i());throw new u}}},{"./errors":12,"./util":36}],36:[function(e,t,n){"use strict";var r,i=e("./es5"),o="undefined"==typeof navigator,s={e:{}},a="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0!==this?this:null;function u(){try{var e=r;r=null;return e.apply(this,arguments)}catch(e){s.e=e;return s}}function l(e){r=e;return u}var c=function(e,t){var n={}.hasOwnProperty;function r(){this.constructor=e;this.constructor$=t;for(var r in t.prototype)n.call(t.prototype,r)&&"$"!==r.charAt(r.length-1)&&(this[r+"$"]=t.prototype[r])}r.prototype=t.prototype;e.prototype=new r;return e.prototype};function h(e){return null==e||!0===e||!1===e||"string"==typeof e||"number"==typeof e}function d(e){return"function"==typeof e||"object"===_typeof(e)&&null!==e}function f(e){return h(e)?new Error(E(e)):e}function _(e,t){var n,r=e.length,i=new Array(r+1);for(n=0;n1,r=t.length>0&&!(1===t.length&&"constructor"===t[0]),o=b.test(e+"")&&i.names(e).length>0;if(n||r||o)return!0}return!1}catch(e){return!1}}function x(e){function t(){}t.prototype=e;for(var n=8;n--;)new t;return e}var w=/^[a-z$_][a-z$_0-9]*$/i;function q(e){return w.test(e)}function P(e,t,n){for(var r=new Array(e),i=0;i10||N[0]>0);$.isNode&&$.toFastProperties(process);try{throw new Error}catch(e){$.lastLineError=e}t.exports=$},{"./es5":13}]},{},[4])(4));qx.Promise.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.lang.normalize.String":{require:!0,defer:"runtime"},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Function":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.lang.String",{statics:{__P_40_0:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",__P_40_1:null,__P_40_2:{},__P_40_3:{},__P_40_4:null,camelCase:function(e){var t=this.__P_40_2[e];if(!t){t=e.replace(/\-([a-z])/g,(function(e,t){return t.toUpperCase()}));this.__P_40_2[e]=t}return t},hyphenate:function(e){var t=this.__P_40_3[e];if(!t){t=e.replace(/[A-Z]/g,(function(e){return"-"+e.charAt(0).toLowerCase()}));this.__P_40_3[e]=t}return t},capitalize:function(e){if(null===this.__P_40_1){this.__P_40_1=new RegExp("(^|[^"+this.__P_40_0.replace(/[0-9A-F]{4}/g,(function(e){return"\\u"+e}))+"])["+this.__P_40_0.replace(/[0-9A-F]{4}/g,(function(e){return"\\u"+e}))+"]","g")}return e.replace(this.__P_40_1,(function(e){return e.toUpperCase()}))},isUpperCase:function(e){return qx.lang.String.__P_40_5.upper.test(e)},isLowerCase:function(e){return qx.lang.String.__P_40_5.lower.test(e)},isLetters:function(e){return qx.lang.String.__P_40_5.letter.test(e)},isDigits:function(e){return qx.lang.String.__P_40_5.digit.test(e)},clean:function(e){return e.replace(/\s+/g," ").trim()},trimLeft:function(e){return e.replace(/^\s+/,"")},trimRight:function(e){return e.replace(/\s+$/,"")},startsWith:function(e,t){return e.startsWith(t)},endsWith:function(e,t){return e.endsWith(t)},repeat:function(e,t){return e.length>0?new Array(t+1).join(e):""},pad:function(e,t,n){var r=t-e.length;if(r>0){void 0===n&&(n="0");return this.repeat(n,r)+e}return e},firstUp:qx.Bootstrap.firstUp,firstLow:qx.Bootstrap.firstLow,contains:function(e,t){return-1!=e.indexOf(t)},format:function(e,t){var n=e;Array.isArray(t)||(t=[t]);var r=1===t.length&&"object"===_typeof(t[0]);return n=n.replace(/%(\d+)|%{(\S[^}\s]*)}/g,(function(e,n,i){if(i)return r?t[0][i]:i;if(n&&n>0&&t.length>=n){return t[n-1]}return e}))},escapeRegexpChars:function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},toArray:function(e){return e.split(/\B|\b/g)},stripTags:function(e){return e.replace(/<\/?[^>]+>/gi,"")},stripScripts:function(e,t){var n="",r=e.replace(/]*>([\s\S]*?)<\/script>/gi,(function(){n+=arguments[1]+"\n";return""}));!0===t&&qx.lang.Function.globalEval(n);return r},quote:function(e){return'"'+e.replace(/\\/g,"\\\\").replace(/\"/g,'\\"')+'"'}},defer:function(e){e.__P_40_5={letter:RegExp(/^(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])+$/),upper:RegExp(/^(?:[A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1C90-\u1CBA\u1CBD-\u1CBF\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2F\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uA7B8\uA7BA\uA7BC\uA7BE\uA7C0\uA7C2\uA7C4-\uA7C7\uA7C9\uA7D0\uA7D6\uA7D8\uA7F5\uFF21-\uFF3A]|\uD801[\uDC00-\uDC27\uDCB0-\uDCD3\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD81B[\uDE40-\uDE5F]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21])+$/),lower:RegExp(/^(?:[a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0560-\u0588\u10D0-\u10FA\u10FD-\u10FF\u13F8-\u13FD\u1C80-\u1C88\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5F\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7AF\uA7B5\uA7B7\uA7B9\uA7BB\uA7BD\uA7BF\uA7C1\uA7C3\uA7C8\uA7CA\uA7D1\uA7D3\uA7D5\uA7D7\uA7D9\uA7F6\uA7FA\uAB30-\uAB5A\uAB60-\uAB68\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A]|\uD801[\uDC28-\uDC4F\uDCD8-\uDCFB\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD81B[\uDE60-\uDE7F]|\uD835[\uDC1A-\uDC33\uDC4E-\uDC54\uDC56-\uDC67\uDC82-\uDC9B\uDCB6-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDCEA-\uDD03\uDD1E-\uDD37\uDD52-\uDD6B\uDD86-\uDD9F\uDDBA-\uDDD3\uDDEE-\uDE07\uDE22-\uDE3B\uDE56-\uDE6F\uDE8A-\uDEA5\uDEC2-\uDEDA\uDEDC-\uDEE1\uDEFC-\uDF14\uDF16-\uDF1B\uDF36-\uDF4E\uDF50-\uDF55\uDF70-\uDF88\uDF8A-\uDF8F\uDFAA-\uDFC2\uDFC4-\uDFC9\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E\uDF25-\uDF2A]|\uD83A[\uDD22-\uDD43])+$/),digit:RegExp(/^(?:[0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]|\uD801[\uDCA0-\uDCA9]|\uD803[\uDD30-\uDD39]|\uD804[\uDC66-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF39]|\uD806[\uDCE0-\uDCE9\uDD50-\uDD59]|\uD807[\uDC50-\uDC59\uDD50-\uDD59\uDDA0-\uDDA9\uDF50-\uDF59]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD839[\uDCF0-\uDCF9]|\uD83A[\uDD50-\uDD59]|\uD83E[\uDFF0-\uDFF9])+$/)}}});qx.lang.String.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.AssertionError":{},"qx.core.Object":{},"qx.log.Logger":{},"qx.lang.String":{},"qx.lang.Function":{},"qx.data.IListData":{},"qx.core.ValidationError":{},"qx.lang.Type":{},"qx.lang.Array":{},"qx.core.ObjectRegistry":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.data.SingleValueBinding",{statics:{__P_164_0:{},__P_164_1:{},bind:function(e,t,n,r,i){var o=this.__P_164_2(e,t,n,r,i),s=t.split("."),a=this.__P_164_3(s),u=[],l=[],c=[],h=[],d=e,f=null;try{for(var _=0;_0}r?this.__P_164_10(e.targetObject,e.targetPropertyChain):this.__P_164_9(e.targetObject,e.targetPropertyChain,e.options.converter())}else this.__P_164_10(e.targetObject,e.targetPropertyChain);break}if(t==e.propertyNames.length-1)if(qx.Class.implementsInterface(n,qx.data.IListData)&&""!==e.arrayIndexValues[t]){var o="last"===e.arrayIndexValues[t]?n.length-1:e.arrayIndexValues[t],s=n.getItem(o);this.__P_164_5(s,e.targetObject,e.targetPropertyChain,e.options,e.sources[e.index]);e.listenerIds[t]=this.__P_164_6(n,"change",e.targetObject,e.targetPropertyChain,e.options,e.arrayIndexValues[t])}else{if(null!=e.propertyNames[t]&&null!=n["get"+qx.lang.String.firstUp(e.propertyNames[t])]){s=n["get"+qx.lang.String.firstUp(e.propertyNames[t])]();this.__P_164_5(s,e.targetObject,e.targetPropertyChain,e.options,e.sources[e.index])}if(!(u=this.__P_164_4(n,e.propertyNames[t]))){e.sources[t]=null;this.__P_164_10(e.targetObject,e.targetPropertyChain);return}e.listenerIds[t]=this.__P_164_6(n,u,e.targetObject,e.targetPropertyChain,e.options)}else{if(null==e.listeners[t]){var a=qx.lang.Function.bind(this.__P_164_7,this,e);e.listeners.push(a)}if(qx.Class.implementsInterface(n,qx.data.IListData))var u="change";else u=this.__P_164_4(n,e.propertyNames[t]);if(!u){e.sources[t]=null;this.__P_164_10(e.targetObject,e.targetPropertyChain);return}e.listenerIds[t]=n.addListener(u,e.listeners[t])}}},__P_164_2:function(e,t,n,r,i){for(var o=r.split("."),s=this.__P_164_3(o),a=[],u=[],l=[],c=[],h=n,d=0;da)return}else var u=o.getData();u=qx.data.SingleValueBinding.__P_164_11(u,n,r,i,e);var l;try{l=void 0!==u?qx.data.SingleValueBinding.__P_164_9(n,r,u):qx.data.SingleValueBinding.__P_164_10(n,r);i&&i.onUpdate&&i.onUpdate(e,n,u)}catch(e){if(!(e instanceof qx.core.ValidationError))throw e;i&&i.onSetFail?i.onSetFail(e):qx.log.Logger.warn("Failed so set value "+u+" on "+n+". Error message: "+e)}return l};o||(o="");s=qx.lang.Function.bind(s,e,o);return e.addListener(t,s)},__P_164_8:function(e,t,n,r,i){var o;o=t.toHashCode();void 0===this.__P_164_0[o]&&(this.__P_164_0[o]=[]);var s=[e,t,n,r,i];this.__P_164_0[o].push(s);o=r.toHashCode();void 0===this.__P_164_1[o]&&(this.__P_164_1[o]=[]);this.__P_164_1[o].push(s)},__P_164_11:function(e,t,n,r,i){if(r&&r.converter){var o;t.getModel&&(o=t.getModel());return r.converter(e,o,i,t)}var s=this.__P_164_12(n),a=this.__P_164_13(t,s),u=n.substring(n.lastIndexOf(".")+1,n.length);if(null==a)return e;var l=qx.Class.getPropertyDefinition(a.constructor,u),c=null==l?"":l.check;return this.__P_164_16(e,c)},__P_164_14:function(e,t){var n=qx.Class.getPropertyDefinition(e.constructor,t);return null==n?null:n.event},__P_164_16:function(e,t){var n=qx.lang.Type.getClass(e);"Number"!=n&&"String"!=n||"Integer"!=t&&"PositiveInteger"!=t||(e=parseInt(e,10));"Boolean"!=n&&"Number"!=n&&"Date"!=n||"String"!=t||(e+="");"Number"!=n&&"String"!=n||"Number"!=t&&"PositiveNumber"!=t||(e=parseFloat(e));return e},removeBindingFromObject:function(e,t){if("deepBinding"==t.type){for(var n=0;n=0;n--)this.removeBindingFromObject(e,t[n][0]);var r=e.toHashCode();delete this.__P_164_0[r];delete this.__P_164_1[r]},removeRelatedBindings:function(e,t){var n=this.getAllBindingsForObject(e);if(null!=n)for(var r=n.length-1;r>=0;r--){var i=n[r][1],o=n[r][3];i!==t&&o!==t||this.removeBindingFromObject(e,n[r][0])}},getAllBindingsForObject:function(e){var t=e.toHashCode(),n=this.__P_164_0[t],r=this.__P_164_1[t];return n||r?n?r?qx.lang.Array.unique(n.concat(r)):qx.lang.Array.clone(n):qx.lang.Array.clone(r):[]},removeAllBindings:function(){for(var e in this.__P_164_0){var t=qx.core.ObjectRegistry.fromHashCode(e);null!=t?this.removeAllBindingsForObject(t):delete this.__P_164_0[e]}this.__P_164_0={}},getAllBindings:function(){return this.__P_164_0},showBindingInLog:function(e,t){for(var n,r=0;rthis.getSize())e.destroy?e.destroy():e.dispose();else{e.$$pooled=!0;n.push(e)}}}},destruct:function(){var e,t,n,r,i=this.__P_87_0;for(e in i)for(n=0,r=(t=i[e]).length;n=0;i--)(r=n[i])&&r.dispose()}catch(n){throw new Error("The array field: "+t+" of object: "+e+" has non disposable entries: "+n)}n.length=0;e[t]=null}},disposeMap:function(e,t){var n=e[t];if(n)if(qx.core.ObjectRegistry.inShutDown)e[t]=null;else{try{var r;for(var i in n){r=n[i];n.hasOwnProperty(i)&&r&&r.dispose()}}catch(n){throw new Error("The map field: "+t+" of object: "+e+" has non disposable entries: "+n)}e[t]=null}},disposeTriggeredBy:function(e,t){var n=t.dispose;t.dispose=function(){n.call(t);e.dispose()}},destroyContainer:function(e){var t=[];this._collectContainerChildren(e,t);for(var n=t.length-1;n>=0;n--)t[n].destroy();e.destroy()},_collectContainerChildren:function(e,t){for(var n=e.getChildren(),r=0;r1){this.__P_26_0=[];for(var t=0;t=e.getLength()?{done:!0}:{value:e.getItem(t++)}}}},concat:function(e){if(e=qx.lang.Array.toNativeArray(e))var t=this.__P_26_0.concat(e);else t=this.__P_26_0.concat();return new qx.data.Array(t)},join:function(e){return this.__P_26_0.join(e)},pop:function(){var e=this.__P_26_0.pop();this.__P_26_1();this._registerEventChaining(null,e,this.length-1);this.fireDataEvent("changeBubble",{value:[],name:this.length+"",old:[e],item:this});this.fireDataEvent("change",{start:this.length-1,end:this.length-1,type:"remove",removed:[e],added:[]},null);return e},push:function(e){for(var t=0;t0,u=arguments.length>2;if(a||u){var l,c;o=qx.lang.Array.fromArguments(arguments,2);if(0==i.length){l="add";c=e+o.length}else if(0==o.length){l="remove";c=this.length-1}else{l="add/remove";c=e+Math.max(o.length,i.length)-1}this.fireDataEvent("change",{start:e,end:c,type:l,added:o,removed:i},null)}for(s=0;s=0;t--){this.__P_26_0.unshift(arguments[t]);this.__P_26_1();this.__P_26_2(0,this.length);this.fireDataEvent("changeBubble",{value:[this.__P_26_0[0]],name:"0",old:[this.__P_26_0[1]],item:this});this.fireDataEvent("change",{start:0,end:this.length-1,type:"add",added:[arguments[t]],removed:[]},null)}return this.length},toArray:function(){return this.__P_26_0},getItem:function(e){return this.__P_26_0[e]},setItem:function(e,t){var n=this.__P_26_0[e];if(n!==t){this.__P_26_0[e]=t;this._registerEventChaining(t,n,e);this.length!=this.__P_26_0.length&&this.__P_26_1();this.fireDataEvent("changeBubble",{value:[t],name:e+"",old:[n],item:this});this.fireDataEvent("change",{start:e,end:e,type:"add/remove",added:[t],removed:[n]},null)}},getLength:function(){return this.length},indexOf:function(e){return this.__P_26_0.indexOf(e)},lastIndexOf:function(e){return this.__P_26_0.lastIndexOf(e)},toString:function(){return null!=this.__P_26_0?this.__P_26_0.toString():""},contains:function(e){return this.includes(e)},includes:function(e){return-1!==this.__P_26_0.indexOf(e)},copy:function(){return this.concat()},insertAt:function(e,t){this.splice(e,0,t).dispose()},insertBefore:function(e,t){var n=this.indexOf(e);-1==n?this.push(t):this.splice(n,0,t).dispose()},insertAfter:function(e,t){var n=this.indexOf(e);-1==n||n==this.length-1?this.push(t):this.splice(n+1,0,t).dispose()},removeAt:function(e){var t=this.splice(e,1),n=t.getItem(0);t.dispose();return n},removeAll:function(){for(var e=0;ee&&(e=this.getItem(t));return void 0===e?null:e},min:function(){for(var e=this.getItem(0),t=1;t1)))/4)-_((e-1901+t)/100)+_((e-1601+t)/400)};(n={}.hasOwnProperty)||(n=function(e){var t,r={};if((r.__proto__=null,r.__proto__={toString:1},r).toString!=o)n=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);this.__proto__=t;return n};else{t=r.constructor;n=function(e){var n=(this.constructor||t).prototype;return e in this&&!(e in n&&this[e]===n[e])}}r=null;return n.call(this,e)});var g={boolean:1,number:1,string:1,undefined:1};r=function(e,t){var r,i,s,a,u=0;(r=function(){this.valueOf=0}).prototype.valueOf=0;i=new r;for(s in i)n.call(i,s)&&u++;r=i=null;if(u)a=2==u?function(e,t){var r,i={},s=o.call(e)==l;for(r in e)s&&"prototype"===r||n.call(i,r)||!(i[r]=1)||!n.call(e,r)||t(r)}:function(e,t){var r,i,s=o.call(e)==l;for(r in e)s&&"prototype"===r||!n.call(e,r)||(i="constructor"===r)||t(r);(i||n.call(e,r="constructor"))&&t(r)};else{i=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"];a=function(e,t){var r,s,a=o.call(e)==l,u=!a&&"function"!=typeof e.constructor&&function(e,t){var n=_typeof(e[t]);return"object"==n?!!e[t]:!g[n]}(e,"hasOwnProperty")?e.hasOwnProperty:n;for(r in e)a&&"prototype"===r||!u.call(e,r)||t(r);for(s=i.length;r=i[--s];u.call(e,r)&&t(r));}}return a(e,t)};if(!I("json-stringify")){var v={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},b=function(e,t){return("000000"+(t||0)).slice(-e)},y=function(e){var t,n='"',r=0,i=e.length,o=i>10&&f;o&&(t=e.split(""));for(;r-1/0&&O<1/0){if(m){w=_(O/864e5);for(v=_(w/365.2425)+1970-1;m(v+1,0)<=w;v++);for(x=_((w-m(v,0))/30.42);m(v,x+1)<=w;x++);w=1+w-m(v,x);P=_((q=(O%864e5+864e5)%864e5)/36e5)%24;E=_(q/6e4)%60;M=_(q/1e3)%60;C=q%1e3}else{v=O.getUTCFullYear();x=O.getUTCMonth();w=O.getUTCDate();P=O.getUTCHours();E=O.getUTCMinutes();M=O.getUTCSeconds();C=O.getUTCMilliseconds()}O=(v<=0||v>=1e4?(v<0?"-":"+")+b(6,v<0?-v:v):b(4,v))+"-"+b(2,x+1)+"-"+b(2,w)+"T"+b(2,P)+":"+b(2,E)+":"+b(2,M)+"."+b(3,C)+"Z"}else O=null;a&&(O=a.call(s,t,O));if(null===O)return"null";if("[object Boolean]"==(g=o.call(O)))return""+O;if(g==c)return O>-1/0&&O<1/0?""+O:"null";if(g==h)return y(""+O);if("object"===_typeof(O)){for(I=p.length;I--;)if(p[I]===O)throw TypeError();p.push(O);S=[];k=f;f+=l;if(g==d){for(D=0,I=O.length;D0)for(r="",n>10&&(n=10);r.length=48&&i<=57||i>=97&&i<=102||i>=65&&i<=70||M();e+=P("0x"+o.slice(t,w));break;default:M()}else{if(34==i)break;i=o.charCodeAt(w);t=w;for(;i>=32&&92!=i&&34!=i;)i=o.charCodeAt(++w);e+=o.slice(t,w)}if(34==o.charCodeAt(w)){w++;return e}M();default:t=w;if(45==i){r=!0;i=o.charCodeAt(++w)}if(i>=48&&i<=57){48==i&&((i=o.charCodeAt(w+1))>=48&&i<=57)&&M();r=!1;for(;w=48&&i<=57);w++);if(46==o.charCodeAt(w)){n=++w;for(;n=48&&i<=57);n++);n==w&&M();w=n}if(101==(i=o.charCodeAt(w))||69==i){43!=(i=o.charCodeAt(++w))&&45!=i||w++;for(n=w;n=48&&i<=57);n++);n==w&&M();w=n}return+o.slice(t,w)}r&&M();if("true"===o.slice(w,w+4)){w+=4;return!0}if("false"===o.slice(w,w+5)){w+=5;return!1}if("null"===o.slice(w,w+4)){w+=4;return null}M()}return"$"},S=function e(t){var n,r;"$"===t&&M();if("string"==typeof t){if("@"===(f?t.charAt(0):t[0]))return t.slice(1);if("["===t){n=[];for(;"]"!==(t=C());r||(r=!0)){r&&(","===t?"]"===(t=C())&&M():M());","===t&&M();n.push(e(t))}return n}if("{"===t){n={};for(;"}"!=(t=C());r||(r=!0)){r&&(","===t?"}"===(t=C())&&M():M());","!==t&&"string"==typeof t&&"@"===(f?t.charAt(0):t[0])&&":"===C()||M();n[t.slice(1)]=e(C())}return n}M()}return t},A=function(e,t,n){var r=D(e,t,n);r===i?delete e[t]:e[t]=r},D=function(e,t,n){var i,s=e[t];if("object"===_typeof(s)&&s)if(o.call(s)==d)for(i=s.length;i--;)A(s,i,n);else r(s,(function(e){A(s,e,n)}));return n.call(e,t,s)};a.parse=function(e,t){var n,r;w=0;q=""+e;n=S(C());"$"!=C()&&M();w=q=null;return t&&o.call(t)==l?D(((r={})[""]=n,r),"",t):n}}}s}function I(e){if("bug-string-char-index"===e)return"a"!="a"[0];var t,n='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}',r="json"===e;if(r||"json-stringify"===e||"json-parse"===e){if("json-stringify"==e||r){var s=a.stringify,l="function"==typeof s&&u;if(l){(t=function(){return 1}).toJSON=t;try{l="0"===s(0)&&"0"===s(new Number)&&'""'===s(new String)&&s(o)===i&&s(i)===i&&s()===i&&"1"===s(t)&&"[1]"===s([t])&&"[null]"===s([i])&&"null"===s(null)&&"[null,null,null]"===s([i,o,null])&&s({a:[t,!0,!1,null,"\0\b\n\f\r\t"]})==n&&"1"===s(null,t)&&"[\n 1,\n 2\n]"===s([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'===s(new Date(-864e13))&&'"+275760-09-13T00:00:00.000Z"'===s(new Date(864e13))&&'"-000001-01-01T00:00:00.000Z"'===s(new Date(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'===s(new Date(-1))}catch(e){l=!1}}if(!r)return l}if("json-parse"===e||r){var c=a.parse;if("function"==typeof c)try{if(0===c("0")&&!c(!1)){var h=5==(t=c(n)).a.length&&1===t.a[0];if(h){try{h=!c('"\t"')}catch(e){}if(h)try{h=1!==c("01")}catch(e){}}}}catch(e){h=!1}if(!r)return h}return l&&h}}}(this||window)}();qx.lang.Json.stringify=window.JSON.stringify;qx.lang.Json.parse=window.JSON.parse;qx.lang.Json.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.lang.Number",{statics:{isInRange:function(e,t,n){return e>=t&&e<=n},isBetweenRange:function(e,t,n){return e>t&&en?n:null!=t&&es.BUFFER_SIZE){r=0;e=s.randomBytes(s.BUFFER_SIZE)}return e.slice(r,r+=t)}(16);t[6]=15&t[6]|64;t[8]=63&t[8]|128;return t}function s(){var e=o();return i[e[0]]+i[e[1]]+i[e[2]]+i[e[3]]+"-"+i[e[4]]+i[e[5]]+"-"+i[e[6]]+i[e[7]]+"-"+i[e[8]]+i[e[9]]+"-"+i[e[10]]+i[e[11]]+i[e[12]]+i[e[13]]+i[e[14]]+i[e[15]]}}();qx.util.Uuid.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.type.BaseError":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.core.ValidationError",{extend:qx.type.BaseError});qx.core.ValidationError.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.lang.normalize.Object":{require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Type":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.lang.Object",{statics:{empty:function(e){for(var t in e)e.hasOwnProperty(t)&&delete e[t]},isEmpty:function(e){for(var t in e)return!1;return!0},getLength:qx.Bootstrap.objectGetLength,getValues:function(e){return Object.values(e)},mergeWith:qx.Bootstrap.objectMergeWith,clone:function(e,t){if(qx.lang.Type.isObject(e)){r={};for(var n in e)r[n]=t?qx.lang.Object.clone(e[n],t):e[n];return r}if(qx.lang.Type.isArray(e)){for(var r=[],i=0;i8)qx.bom.Event.addNativeListener(this._window,"DOMContentLoaded",this._onNativeLoadWrapped);else if("undefined"!=typeof document){var e=this;!function t(){try{document.documentElement.doScroll("left");document.body&&e._onNativeLoadWrapped()}catch(e){window.setTimeout(t,100)}}()}qx.bom.Event.addNativeListener(this._window,"load",this._onNativeLoadWrapped)}if("rhino"!=qx.core.Environment.get("runtime.name")&&"node.js"!=qx.core.Environment.get("runtime.name")){this._onNativeUnloadWrapped=qx.lang.Function.bind(this._onNativeUnload,this);qx.bom.Event.addNativeListener(this._window,"unload",this._onNativeUnloadWrapped)}},_stopObserver:function(){this._onNativeLoadWrapped&&qx.bom.Event.removeNativeListener(this._window,"load",this._onNativeLoadWrapped);qx.bom.Event.removeNativeListener(this._window,"unload",this._onNativeUnloadWrapped);this._onNativeLoadWrapped=null;this._onNativeUnloadWrapped=null},_onNativeLoad:function(){qx.core.Environment.select("qx.globalErrorHandling",{true:qx.event.GlobalError.observeMethod(this.__P_104_7),false:this.__P_104_7}).apply(this,arguments)},__P_104_7:function(){this.__P_104_0=!0;this.__P_104_5()},_onNativeUnload:function(){qx.core.Environment.select("qx.globalErrorHandling",{true:qx.event.GlobalError.observeMethod(this.__P_104_8),false:this.__P_104_8}).apply(this,arguments)},__P_104_8:function(){if(!this.__P_104_4){this.__P_104_4=!0;try{qx.event.Registration.fireEvent(this._window,"shutdown")}catch(e){throw e}}}},destruct:function(){this._stopObserver();this._window=null},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Application.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Event":{require:!0},"qx.bom.Event":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Native",{extend:qx.event.type.Event,members:{init:function(e,t,n,r,i){qx.event.type.Native.superclass.prototype.init.call(this,r,i);this._target=t||qx.bom.Event.getTarget(e);this._relatedTarget=n||qx.bom.Event.getRelatedTarget(e);e.timeStamp&&(this._timeStamp=e.timeStamp);this._native=e;this._returnValue=null;return this},clone:function(e){var t=qx.event.type.Native.superclass.prototype.clone.call(this,e);t._native=this._cloneNativeEvent(this._native,{});t._returnValue=this._returnValue;return t},_cloneNativeEvent:function(e,t){t.preventDefault=function(){};return t},preventDefault:function(){qx.event.type.Native.superclass.prototype.preventDefault.call(this);qx.bom.Event.preventDefault(this._native)},getNativeEvent:function(){return this._native},setReturnValue:function(e){this._returnValue=e},getReturnValue:function(){return this._returnValue}}});qx.event.type.Native.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.type.Native":{require:!0,defer:"runtime"},"qx.event.Pool":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.lang.Function":{},"qx.bom.Event":{},"qx.event.GlobalError":{require:!0}},environment:{provided:[],required:{"qx.globalErrorHandling":{className:"qx.event.GlobalError"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Window",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this._manager=e;this._window=e.getWindow();this._initWindowObserver()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{error:1,load:1,beforeunload:1,unload:1,resize:1,scroll:1,beforeshutdown:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:!0},members:{canHandleEvent:function(e,t){},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){},_initWindowObserver:function(){this._onNativeWrapper=qx.lang.Function.listener(this._onNative,this);var e=qx.event.handler.Window.SUPPORTED_TYPES;for(var t in e)qx.bom.Event.addNativeListener(this._window,t,this._onNativeWrapper)},_stopWindowObserver:function(){var e=qx.event.handler.Window.SUPPORTED_TYPES;for(var t in e)qx.bom.Event.removeNativeListener(this._window,t,this._onNativeWrapper)},_onNative:function(){qx.core.Environment.select("qx.globalErrorHandling",{true:qx.event.GlobalError.observeMethod(this.__P_105_0),false:this.__P_105_0}).apply(this,arguments)},__P_105_0:function(e){if(!this.isDisposed()){var t,n=this._window;try{t=n.document}catch(e){return}var r=t.documentElement,i=qx.bom.Event.getTarget(e);if(null==i||i===n||i===t||i===r){var o=qx.event.Registration.createEvent(e.type,qx.event.type.Native,[e,n]);qx.event.Registration.dispatchEvent(n,o);var s=o.getReturnValue();if(null!=s){e.returnValue=s;return s}}}}},destruct:function(){this._stopWindowObserver();this._manager=this._window=null},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Window.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.log.Logger":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.Bootstrap":{},"qx.event.handler.Application":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"},"os.name":{className:"qx.bom.client.OperatingSystem"},"qx.debug.startupTimings":{},"qx.application":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.core.BaseInit",{statics:{__P_106_0:null,getApplication:function(){return this.__P_106_0||null},ready:function(){if(!this.__P_106_0){""==qx.core.Environment.get("engine.name")&&qx.log.Logger.warn("Could not detect engine!");""==qx.core.Environment.get("engine.version")&&qx.log.Logger.warn("Could not detect the version of the engine!");""==qx.core.Environment.get("os.name")&&qx.log.Logger.warn("Could not detect operating system!");qx.core.Environment.get("qx.debug.startupTimings")&&qx.log.Logger.debug(this,"Load runtime: "+(new Date-qx.Bootstrap.LOADSTART)+"ms");var e=qx.core.Environment.get("qx.application"),t=qx.Class.getByName(e);if(t){this.__P_106_0=new t;var n=new Date;this.__P_106_0.main();qx.core.Environment.get("qx.debug.startupTimings")&&qx.log.Logger.debug(this,"Main runtime: "+(new Date-n)+"ms");n=new Date;this.__P_106_0.finalize();qx.core.Environment.get("qx.debug.startupTimings")&&qx.log.Logger.debug(this,"Finalize runtime: "+(new Date-n)+"ms");qx.event.handler.Application.onAppInstanceInitialized()}else qx.log.Logger.warn("Missing application class: "+e)}},__P_106_1:function(e){var t=this.__P_106_0;t&&t.close()},__P_106_2:function(){var e=this.__P_106_0;e&&e.terminate()}}});qx.core.BaseInit.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Application":{require:!0,defer:"runtime"},"qx.event.handler.Window":{require:!0,defer:"runtime"},"qx.event.dispatch.Direct":{require:!0,defer:"runtime"},"qx.Class":{usage:"dynamic",require:!0},"qx.core.BaseInit":{require:!0},"qx.event.Registration":{defer:"runtime"}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.core.Init",{statics:{getApplication:qx.core.BaseInit.getApplication,ready:qx.core.BaseInit.ready,__P_33_0:function(e){var t=this.getApplication();t&&e.setReturnValue(t.close())},__P_33_1:function(){var e=this.getApplication();e&&e.terminate()}},defer:function(e){qx.event.Registration.addListener(window,"ready",e.ready,e);qx.event.Registration.addListener(window,"shutdown",e.__P_33_1,e);qx.event.Registration.addListener(window,"beforeunload",e.__P_33_0,e)}});qx.core.Init.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.application.IApplication",{members:{main:function(){},finalize:function(){},close:function(){},terminate:function(){}}});qx.application.IApplication.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.locale.MTranslation",{members:{tr:function(e,t){var n=qx.locale.Manager;if(n)return n.tr.apply(n,arguments);throw new Error("To enable localization please include qx.locale.Manager into your build!")},trn:function(e,t,n,r){var i=qx.locale.Manager;if(i)return i.trn.apply(i,arguments);throw new Error("To enable localization please include qx.locale.Manager into your build!")},trc:function(e,t,n){var r=qx.locale.Manager;if(r)return r.trc.apply(r,arguments);throw new Error("To enable localization please include qx.locale.Manager into your build!")},trnc:function(e,t,n,r,i){var o=qx.locale.Manager;if(o)return o.trnc.apply(o,arguments);throw new Error("To enable localization please include qx.locale.Manager into your build!")},marktr:function(e){var t=qx.locale.Manager;if(t)return t.marktr.apply(t,arguments);throw new Error("To enable localization please include qx.locale.Manager into your build!")}}});qx.locale.MTranslation.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Init":{require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.application.IApplication":{require:!0},"qx.locale.MTranslation":{require:!0},"qx.theme.manager.Meta":{},"qx.ui.tooltip.Manager":{},"qx.ui.style.Stylesheet":{},"qx.ui.core.queue.Manager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.application.AbstractGui",{type:"abstract",extend:qx.core.Object,implement:[qx.application.IApplication],include:qx.locale.MTranslation,members:{__P_34_0:null,_createRootWidget:function(){throw new Error("Abstract method call")},getRoot:function(){return this.__P_34_0},main:function(){qx.theme.manager.Meta.getInstance().initialize();qx.ui.tooltip.Manager.getInstance();var e=["-webkit-touch-callout: none;","-ms-touch-select: none;","-webkit-tap-highlight-color: rgba(0,0,0,0);","-webkit-tap-highlight-color: transparent;"].join("");qx.ui.style.Stylesheet.getInstance().addRule("*",e);this.__P_34_0=this._createRootWidget();window.scrollTo(0,0)},finalize:function(){this.render()},render:function(){qx.ui.core.queue.Manager.flush()},close:function(e){},terminate:function(){}}});qx.application.AbstractGui.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Init":{require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.application.AbstractGui":{require:!0},"qx.ui.root.Application":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.application.Standalone",{extend:qx.application.AbstractGui,members:{_createRootWidget:function(){return new qx.ui.root.Application(document)}}});qx.application.Standalone.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.application.Standalone":{require:!0},"qx.ui.decoration.Decorator":{},"ville.connect.MClipPath":{},"qx.ui.core.Blocker":{},"qx.ui.container.Composite":{},"qx.ui.layout.Dock":{},"qx.ui.layout.Canvas":{},"qx.ui.layout.VBox":{},"qx.ui.container.Stack":{},"qx.ui.layout.HBox":{},"qx.ui.container.Scroll":{},"qx.ui.toolbar.ToolBar":{},"qx.ui.toolbar.Part":{},"qx.ui.toolbar.Button":{},"qx.ui.toolbar.MenuButton":{},"qx.ui.popup.Popup":{},"qx.ui.menu.Menu":{},"qx.ui.menu.Button":{},"qx.ui.basic.Atom":{},"qx.ui.form.Button":{},"qx.bom.client.Browser":{require:!0},"qx.bom.element.Animation":{},"ville.connect.Connect":{},"qx.Theme":{},"qx.theme.manager.Appearance":{},"ville.connect.Appearance":{},"qx.theme.manager.Decoration":{},"ville.connect.Decoration":{},"qx.theme.manager.Color":{},"ville.connect.Color":{},"qx.ui.window.Manager":{},"qx.ui.window.Desktop":{},"wax.demo.DiagramData":{},"qx.ui.window.Window":{},"qx.ui.layout.Grow":{},"qx.ui.form.TextArea":{},"qx.ui.core.Widget":{},"qx.bom.element.Transform":{},"qx.ui.layout.Flow":{},"qx.data.Array":{},"qx.ui.basic.Label":{},"wax.demo.MenuButton":{},"qx.ui.form.RadioGroup":{}},environment:{provided:[],required:{"browser.name":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("wax.demo.Application",{extend:qx.application.Standalone,properties:{demoMode:{check:["desktop","mobile"],init:"desktop"}},members:{_blocker:null,_northBox:null,_westBox:null,_eastBox:null,main:function(){wax.demo.Application.superclass.prototype.main.call(this);qx.Class.include(qx.ui.decoration.Decorator,ville.connect.MClipPath);var e=this.getRoot();this._blocker=new qx.ui.core.Blocker(e).set({color:"black",opacity:.08});var t=new qx.ui.container.Composite(new qx.ui.layout.Dock(0,0)).set({backgroundColor:"transparent"}),n=this._northBox=new qx.ui.container.Composite(new qx.ui.layout.Canvas).set({backgroundColor:"white",decorator:"topheader"}),r=this._westBox=new qx.ui.container.Composite(new qx.ui.layout.VBox(0)).set({backgroundColor:"white",padding:[10,0,10,0],decorator:"leftside"}),i=this._eastBox=new qx.ui.container.Composite(new qx.ui.layout.VBox(0)).set({backgroundColor:"white",padding:[10,0,10,0]}),o=(new qx.ui.container.Stack).set({backgroundColor:"white",padding:0}),s=new qx.ui.container.Composite(new qx.ui.layout.HBox(4)).set({alignY:"middle",padding:[0,4,0,4],decorator:"bottombar"}),a=(new qx.ui.container.Scroll).set({scrollbarX:"off",minWidth:230,padding:0,margin:0,contentPadding:[0,0,0,0]}),u=(new qx.ui.container.Scroll).set({scrollbarX:"off",minWidth:230,padding:0,margin:0,contentPadding:[0,0,0,0]}),l=(new qx.ui.container.Scroll).set({padding:0,margin:0,contentPadding:[0,0,0,0]}),c=(new qx.ui.toolbar.ToolBar).set({backgroundColor:"white"}),h=new qx.ui.toolbar.Part,d=new qx.ui.toolbar.Part,f=new qx.ui.toolbar.Button("MainMenu","wax/demo/round-menu-24px.svg").set({show:"icon"}),_=new qx.ui.toolbar.MenuButton("ProfileMenu","wax/demo/round-account_circle-24px.svg").set({show:"icon",showArrow:!1}),p=(new qx.ui.popup.Popup).set({allowStretchX:!0,allowStretchY:!0,padding:10});p.setLayout(new qx.ui.layout.VBox(0));var m=(new qx.ui.menu.Menu).set({spacingX:12}),g=new qx.ui.menu.Button("About Connect","wax/demo/info-24px.svg").set({padding:10});g.getChildControl("icon").set({width:24,height:24});var v=this.__P_2_0();v.getLayout().set({spacing:20});v.set({width:430,height:460,contentPadding:0});var b=(new qx.ui.container.Scroll).set({allowStretchY:!0,padding:0,margin:0,contentPadding:[0,24,0,24]}),y=new qx.ui.basic.Atom('Project Github page: https://github.com/sqville/ville.Connect',"wax/demo/ville_Connect.png").set({rich:!0,iconPosition:"top",gap:30,paddingTop:30});y.getChildControl("label").set({wrap:!0});b.add(y);v.add(b,{flex:1});var x=new qx.ui.form.Button("Close Window").set({marginBottom:18,maxWidth:300,alignX:"center",alignY:"middle"});v.add(x);x.addListener("execute",(function(e){v.close()}),this);e.addListener("resize",(function(e){v.center()}),this);g.addListener("execute",(function(e){v.restore();v.center();v.show()}),this);f.addListener("execute",(function(e){"edge"!=qx.core.Environment.get("browser.name")&&this._blocker.blockContent(f.getZIndex());p.setHeight(parseInt(this.getRoot().getContentElement().getStyle("height")));p.show()}),this);p.addListener("disappear",(function(e){this._blocker.unblock()}),this);a.add(r);u.add(i);l.add(o);t.add(n,{edge:"north"});t.add(o,{edge:"center"});e.add(t,{edge:0});m.add(g);_.setMenu(m);var w=new qx.ui.basic.Atom("Wax","wax/demo/ville_Diagram_logo.svg").set({font:"hym-app-header",gap:10,padding:0,visibility:"hidden"});w.getChildControl("icon").set({scale:!0,width:41,height:38});h.add(f);d.add(_);c.add(h);c.addSpacer();c.add(w);c.addSpacer();c.add(d);n.add(c,{left:0,right:0});t.add(s,{edge:"south"});h.setVisibility("visible");w.setVisibility("visible");var q={duration:300,timing:"ease-out",keyFrames:{0:{opacity:0},100:{opacity:.07}}};this._blocker.addListener("blocked",(function(e){var t;(t=this._blocker.getBlockerElement().getDomElement())&&qx.bom.element.Animation.animate(t,q)}),this);this._blocker.addListener("unblocked",(function(e){var t;(t=this._blocker.getBlockerElement().getDomElement())&&qx.bom.element.Animation.animateReverse(t,q)}),this);var P=new qx.ui.container.Composite(new qx.ui.layout.Canvas),E=new qx.ui.container.Composite(new qx.ui.layout.Canvas),M=new qx.ui.container.Composite(new qx.ui.layout.Canvas),C=new ville.connect.Connect;qx.Theme.include(qx.theme.manager.Appearance.getInstance().getTheme(),ville.connect.Appearance);qx.Theme.include(qx.theme.manager.Decoration.getInstance().getTheme(),ville.connect.Decoration);qx.Theme.include(qx.theme.manager.Color.getInstance().getTheme(),ville.connect.Color);var S=new qx.ui.window.Manager,A=new qx.ui.window.Desktop(S),D=wax.demo.DiagramData.DIAGRAMS.NetworkDiagram;if(null!=D.elements)for(var I=0;I>.5?e:this.push(e):arguments.length&&this.push.apply(this,arguments)}function t(){}t.prototype=[];e.prototype=new t;e.prototype.length=0;qx.type.BaseArray=function(t){if("mshtml"==qx.core.Environment.get("engine.name")){e.prototype={length:0,$$isArray:!0};for(var n="pop.push.reverse.shift.sort.splice.unshift.join.slice".split("."),r=n.length;r;)e.prototype[n[--r]]=Array.prototype[n[r]]}var i=Array.prototype.slice;e.prototype.concat=function(){for(var t=this.slice(0),n=0,r=arguments.length;n1)))/4)-_((e-1901+t)/100)+_((e-1601+t)/400)};(n={}.hasOwnProperty)||(n=function(e){var t,r={};if((r.__proto__=null,r.__proto__={toString:1},r).toString!=o)n=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);this.__proto__=t;return n};else{t=r.constructor;n=function(e){var n=(this.constructor||t).prototype;return e in this&&!(e in n&&this[e]===n[e])}}r=null;return n.call(this,e)});var g={boolean:1,number:1,string:1,undefined:1};r=function(e,t){var r,i,s,a,u=0;(r=function(){this.valueOf=0}).prototype.valueOf=0;i=new r;for(s in i)n.call(i,s)&&u++;r=i=null;if(u)a=2==u?function(e,t){var r,i={},s=o.call(e)==l;for(r in e)s&&"prototype"===r||n.call(i,r)||!(i[r]=1)||!n.call(e,r)||t(r)}:function(e,t){var r,i,s=o.call(e)==l;for(r in e)s&&"prototype"===r||!n.call(e,r)||(i="constructor"===r)||t(r);(i||n.call(e,r="constructor"))&&t(r)};else{i=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"];a=function(e,t){var r,s,a=o.call(e)==l,u=!a&&"function"!=typeof e.constructor&&function(e,t){var n=_typeof(e[t]);return"object"==n?!!e[t]:!g[n]}(e,"hasOwnProperty")?e.hasOwnProperty:n;for(r in e)a&&"prototype"===r||!u.call(e,r)||t(r);for(s=i.length;r=i[--s];u.call(e,r)&&t(r));}}return a(e,t)};if(!I("json-stringify")){var v={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},b=function(e,t){return("000000"+(t||0)).slice(-e)},y=function(e){var t,n='"',r=0,i=e.length,o=i>10&&f;o&&(t=e.split(""));for(;r-1/0&&O<1/0){if(m){w=_(O/864e5);for(v=_(w/365.2425)+1970-1;m(v+1,0)<=w;v++);for(x=_((w-m(v,0))/30.42);m(v,x+1)<=w;x++);w=1+w-m(v,x);P=_((q=(O%864e5+864e5)%864e5)/36e5)%24;E=_(q/6e4)%60;M=_(q/1e3)%60;C=q%1e3}else{v=O.getUTCFullYear();x=O.getUTCMonth();w=O.getUTCDate();P=O.getUTCHours();E=O.getUTCMinutes();M=O.getUTCSeconds();C=O.getUTCMilliseconds()}O=(v<=0||v>=1e4?(v<0?"-":"+")+b(6,v<0?-v:v):b(4,v))+"-"+b(2,x+1)+"-"+b(2,w)+"T"+b(2,P)+":"+b(2,E)+":"+b(2,M)+"."+b(3,C)+"Z"}else O=null;a&&(O=a.call(s,t,O));if(null===O)return"null";if("[object Boolean]"==(g=o.call(O)))return""+O;if(g==c)return O>-1/0&&O<1/0?""+O:"null";if(g==h)return y(""+O);if("object"===_typeof(O)){for(I=p.length;I--;)if(p[I]===O)throw TypeError();p.push(O);S=[];k=f;f+=l;if(g==d){for(D=0,I=O.length;D0)for(r="",n>10&&(n=10);r.length=48&&i<=57||i>=97&&i<=102||i>=65&&i<=70||M();e+=P("0x"+o.slice(t,w));break;default:M()}else{if(34==i)break;i=o.charCodeAt(w);t=w;for(;i>=32&&92!=i&&34!=i;)i=o.charCodeAt(++w);e+=o.slice(t,w)}if(34==o.charCodeAt(w)){w++;return e}M();default:t=w;if(45==i){r=!0;i=o.charCodeAt(++w)}if(i>=48&&i<=57){48==i&&((i=o.charCodeAt(w+1))>=48&&i<=57)&&M();r=!1;for(;w=48&&i<=57);w++);if(46==o.charCodeAt(w)){n=++w;for(;n=48&&i<=57);n++);n==w&&M();w=n}if(101==(i=o.charCodeAt(w))||69==i){43!=(i=o.charCodeAt(++w))&&45!=i||w++;for(n=w;n=48&&i<=57);n++);n==w&&M();w=n}return+o.slice(t,w)}r&&M();if("true"===o.slice(w,w+4)){w+=4;return!0}if("false"===o.slice(w,w+5)){w+=5;return!1}if("null"===o.slice(w,w+4)){w+=4;return null}M()}return"$"},S=function e(t){var n,r;"$"===t&&M();if("string"==typeof t){if("@"===(f?t.charAt(0):t[0]))return t.slice(1);if("["===t){n=[];for(;"]"!==(t=C());r||(r=!0)){r&&(","===t?"]"===(t=C())&&M():M());","===t&&M();n.push(e(t))}return n}if("{"===t){n={};for(;"}"!=(t=C());r||(r=!0)){r&&(","===t?"}"===(t=C())&&M():M());","!==t&&"string"==typeof t&&"@"===(f?t.charAt(0):t[0])&&":"===C()||M();n[t.slice(1)]=e(C())}return n}M()}return t},A=function(e,t,n){var r=D(e,t,n);r===i?delete e[t]:e[t]=r},D=function(e,t,n){var i,s=e[t];if("object"===_typeof(s)&&s)if(o.call(s)==d)for(i=s.length;i--;)A(s,i,n);else r(s,(function(e){A(s,e,n)}));return n.call(e,t,s)};a.parse=function(e,t){var n,r;w=0;q=""+e;n=S(C());"$"!=C()&&M();w=q=null;return t&&o.call(t)==l?D(((r={})[""]=n,r),"",t):n}}}s}function I(e){if("bug-string-char-index"===e)return"a"!="a"[0];var t,n='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}',r="json"===e;if(r||"json-stringify"===e||"json-parse"===e){if("json-stringify"==e||r){var s=a.stringify,l="function"==typeof s&&u;if(l){(t=function(){return 1}).toJSON=t;try{l="0"===s(0)&&"0"===s(new Number)&&'""'===s(new String)&&s(o)===i&&s(i)===i&&s()===i&&"1"===s(t)&&"[1]"===s([t])&&"[null]"===s([i])&&"null"===s(null)&&"[null,null,null]"===s([i,o,null])&&s({a:[t,!0,!1,null,"\0\b\n\f\r\t"]})==n&&"1"===s(null,t)&&"[\n 1,\n 2\n]"===s([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'===s(new Date(-864e13))&&'"+275760-09-13T00:00:00.000Z"'===s(new Date(864e13))&&'"-000001-01-01T00:00:00.000Z"'===s(new Date(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'===s(new Date(-1))}catch(e){l=!1}}if(!r)return l}if("json-parse"===e||r){var c=a.parse;if("function"==typeof c)try{if(0===c("0")&&!c(!1)){var h=5==(t=c(n)).a.length&&1===t.a[0];if(h){try{h=!c('"\t"')}catch(e){}if(h)try{h=1!==c("01")}catch(e){}}}}catch(e){h=!1}if(!r)return h}return l&&h}}}(this||window)}();qx.lang.Json.stringify=window.JSON.stringify;qx.lang.Json.parse=window.JSON.parse;qx.lang.Json.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.lang.Number",{statics:{isInRange:function(e,t,n){return e>=t&&e<=n},isBetweenRange:function(e,t,n){return e>t&&en?n:null!=t&&es.BUFFER_SIZE){r=0;e=s.randomBytes(s.BUFFER_SIZE)}return e.slice(r,r+=t)}(16);t[6]=15&t[6]|64;t[8]=63&t[8]|128;return t}function s(){var e=o();return i[e[0]]+i[e[1]]+i[e[2]]+i[e[3]]+"-"+i[e[4]]+i[e[5]]+"-"+i[e[6]]+i[e[7]]+"-"+i[e[8]]+i[e[9]]+"-"+i[e[10]]+i[e[11]]+i[e[12]]+i[e[13]]+i[e[14]]+i[e[15]]}}();qx.util.Uuid.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.type.BaseError":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.core.ValidationError",{extend:qx.type.BaseError});qx.core.ValidationError.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.lang.normalize.Object":{require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Type":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.lang.Object",{statics:{empty:function(e){for(var t in e)e.hasOwnProperty(t)&&delete e[t]},isEmpty:function(e){for(var t in e)return!1;return!0},getLength:qx.Bootstrap.objectGetLength,getValues:function(e){return Object.values(e)},mergeWith:qx.Bootstrap.objectMergeWith,clone:function(e,t){if(qx.lang.Type.isObject(e)){r={};for(var n in e)r[n]=t?qx.lang.Object.clone(e[n],t):e[n];return r}if(qx.lang.Type.isArray(e)){for(var r=[],i=0;i8)qx.bom.Event.addNativeListener(this._window,"DOMContentLoaded",this._onNativeLoadWrapped);else if("undefined"!=typeof document){var e=this;!function t(){try{document.documentElement.doScroll("left");document.body&&e._onNativeLoadWrapped()}catch(e){window.setTimeout(t,100)}}()}qx.bom.Event.addNativeListener(this._window,"load",this._onNativeLoadWrapped)}if("rhino"!=qx.core.Environment.get("runtime.name")&&"node.js"!=qx.core.Environment.get("runtime.name")){this._onNativeUnloadWrapped=qx.lang.Function.bind(this._onNativeUnload,this);qx.bom.Event.addNativeListener(this._window,"unload",this._onNativeUnloadWrapped)}},_stopObserver:function(){this._onNativeLoadWrapped&&qx.bom.Event.removeNativeListener(this._window,"load",this._onNativeLoadWrapped);qx.bom.Event.removeNativeListener(this._window,"unload",this._onNativeUnloadWrapped);this._onNativeLoadWrapped=null;this._onNativeUnloadWrapped=null},_onNativeLoad:function(){qx.core.Environment.select("qx.globalErrorHandling",{true:qx.event.GlobalError.observeMethod(this.__P_104_7),false:this.__P_104_7}).apply(this,arguments)},__P_104_7:function(){this.__P_104_0=!0;this.__P_104_5()},_onNativeUnload:function(){qx.core.Environment.select("qx.globalErrorHandling",{true:qx.event.GlobalError.observeMethod(this.__P_104_8),false:this.__P_104_8}).apply(this,arguments)},__P_104_8:function(){if(!this.__P_104_4){this.__P_104_4=!0;try{qx.event.Registration.fireEvent(this._window,"shutdown")}catch(e){throw e}}}},destruct:function(){this._stopObserver();this._window=null},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Application.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Event":{require:!0},"qx.bom.Event":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Native",{extend:qx.event.type.Event,members:{init:function(e,t,n,r,i){qx.event.type.Native.superclass.prototype.init.call(this,r,i);this._target=t||qx.bom.Event.getTarget(e);this._relatedTarget=n||qx.bom.Event.getRelatedTarget(e);e.timeStamp&&(this._timeStamp=e.timeStamp);this._native=e;this._returnValue=null;return this},clone:function(e){var t=qx.event.type.Native.superclass.prototype.clone.call(this,e);t._native=this._cloneNativeEvent(this._native,{});t._returnValue=this._returnValue;return t},_cloneNativeEvent:function(e,t){t.preventDefault=function(){};return t},preventDefault:function(){qx.event.type.Native.superclass.prototype.preventDefault.call(this);qx.bom.Event.preventDefault(this._native)},getNativeEvent:function(){return this._native},setReturnValue:function(e){this._returnValue=e},getReturnValue:function(){return this._returnValue}}});qx.event.type.Native.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.type.Native":{require:!0,defer:"runtime"},"qx.event.Pool":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.lang.Function":{},"qx.bom.Event":{},"qx.event.GlobalError":{require:!0}},environment:{provided:[],required:{"qx.globalErrorHandling":{className:"qx.event.GlobalError"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Window",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this._manager=e;this._window=e.getWindow();this._initWindowObserver()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{error:1,load:1,beforeunload:1,unload:1,resize:1,scroll:1,beforeshutdown:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:!0},members:{canHandleEvent:function(e,t){},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){},_initWindowObserver:function(){this._onNativeWrapper=qx.lang.Function.listener(this._onNative,this);var e=qx.event.handler.Window.SUPPORTED_TYPES;for(var t in e)qx.bom.Event.addNativeListener(this._window,t,this._onNativeWrapper)},_stopWindowObserver:function(){var e=qx.event.handler.Window.SUPPORTED_TYPES;for(var t in e)qx.bom.Event.removeNativeListener(this._window,t,this._onNativeWrapper)},_onNative:function(){qx.core.Environment.select("qx.globalErrorHandling",{true:qx.event.GlobalError.observeMethod(this.__P_105_0),false:this.__P_105_0}).apply(this,arguments)},__P_105_0:function(e){if(!this.isDisposed()){var t,n=this._window;try{t=n.document}catch(e){return}var r=t.documentElement,i=qx.bom.Event.getTarget(e);if(null==i||i===n||i===t||i===r){var o=qx.event.Registration.createEvent(e.type,qx.event.type.Native,[e,n]);qx.event.Registration.dispatchEvent(n,o);var s=o.getReturnValue();if(null!=s){e.returnValue=s;return s}}}}},destruct:function(){this._stopWindowObserver();this._manager=this._window=null},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Window.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.log.Logger":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.Bootstrap":{},"qx.event.handler.Application":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"},"os.name":{className:"qx.bom.client.OperatingSystem"},"qx.debug.startupTimings":{},"qx.application":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.core.BaseInit",{statics:{__P_106_0:null,getApplication:function(){return this.__P_106_0||null},ready:function(){if(!this.__P_106_0){""==qx.core.Environment.get("engine.name")&&qx.log.Logger.warn("Could not detect engine!");""==qx.core.Environment.get("engine.version")&&qx.log.Logger.warn("Could not detect the version of the engine!");""==qx.core.Environment.get("os.name")&&qx.log.Logger.warn("Could not detect operating system!");qx.core.Environment.get("qx.debug.startupTimings")&&qx.log.Logger.debug(this,"Load runtime: "+(new Date-qx.Bootstrap.LOADSTART)+"ms");var e=qx.core.Environment.get("qx.application"),t=qx.Class.getByName(e);if(t){this.__P_106_0=new t;var n=new Date;this.__P_106_0.main();qx.core.Environment.get("qx.debug.startupTimings")&&qx.log.Logger.debug(this,"Main runtime: "+(new Date-n)+"ms");n=new Date;this.__P_106_0.finalize();qx.core.Environment.get("qx.debug.startupTimings")&&qx.log.Logger.debug(this,"Finalize runtime: "+(new Date-n)+"ms");qx.event.handler.Application.onAppInstanceInitialized()}else qx.log.Logger.warn("Missing application class: "+e)}},__P_106_1:function(e){var t=this.__P_106_0;t&&t.close()},__P_106_2:function(){var e=this.__P_106_0;e&&e.terminate()}}});qx.core.BaseInit.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Application":{require:!0,defer:"runtime"},"qx.event.handler.Window":{require:!0,defer:"runtime"},"qx.event.dispatch.Direct":{require:!0,defer:"runtime"},"qx.Class":{usage:"dynamic",require:!0},"qx.core.BaseInit":{require:!0},"qx.event.Registration":{defer:"runtime"}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.core.Init",{statics:{getApplication:qx.core.BaseInit.getApplication,ready:qx.core.BaseInit.ready,__P_33_0:function(e){var t=this.getApplication();t&&e.setReturnValue(t.close())},__P_33_1:function(){var e=this.getApplication();e&&e.terminate()}},defer:function(e){qx.event.Registration.addListener(window,"ready",e.ready,e);qx.event.Registration.addListener(window,"shutdown",e.__P_33_1,e);qx.event.Registration.addListener(window,"beforeunload",e.__P_33_0,e)}});qx.core.Init.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.application.IApplication",{members:{main:function(){},finalize:function(){},close:function(){},terminate:function(){}}});qx.application.IApplication.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.locale.MTranslation",{members:{tr:function(e,t){var n=qx.locale.Manager;if(n)return n.tr.apply(n,arguments);throw new Error("To enable localization please include qx.locale.Manager into your build!")},trn:function(e,t,n,r){var i=qx.locale.Manager;if(i)return i.trn.apply(i,arguments);throw new Error("To enable localization please include qx.locale.Manager into your build!")},trc:function(e,t,n){var r=qx.locale.Manager;if(r)return r.trc.apply(r,arguments);throw new Error("To enable localization please include qx.locale.Manager into your build!")},trnc:function(e,t,n,r,i){var o=qx.locale.Manager;if(o)return o.trnc.apply(o,arguments);throw new Error("To enable localization please include qx.locale.Manager into your build!")},marktr:function(e){var t=qx.locale.Manager;if(t)return t.marktr.apply(t,arguments);throw new Error("To enable localization please include qx.locale.Manager into your build!")}}});qx.locale.MTranslation.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Init":{require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.application.IApplication":{require:!0},"qx.locale.MTranslation":{require:!0},"qx.theme.manager.Meta":{},"qx.ui.tooltip.Manager":{},"qx.ui.style.Stylesheet":{},"qx.ui.core.queue.Manager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.application.AbstractGui",{type:"abstract",extend:qx.core.Object,implement:[qx.application.IApplication],include:qx.locale.MTranslation,members:{__P_34_0:null,_createRootWidget:function(){throw new Error("Abstract method call")},getRoot:function(){return this.__P_34_0},main:function(){qx.theme.manager.Meta.getInstance().initialize();qx.ui.tooltip.Manager.getInstance();var e=["-webkit-touch-callout: none;","-ms-touch-select: none;","-webkit-tap-highlight-color: rgba(0,0,0,0);","-webkit-tap-highlight-color: transparent;"].join("");qx.ui.style.Stylesheet.getInstance().addRule("*",e);this.__P_34_0=this._createRootWidget();window.scrollTo(0,0)},finalize:function(){this.render()},render:function(){qx.ui.core.queue.Manager.flush()},close:function(e){},terminate:function(){}}});qx.application.AbstractGui.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Init":{require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.application.AbstractGui":{require:!0},"qx.ui.root.Application":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.application.Standalone",{extend:qx.application.AbstractGui,members:{_createRootWidget:function(){return new qx.ui.root.Application(document)}}});qx.application.Standalone.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.application.Standalone":{require:!0},"qx.ui.decoration.Decorator":{},"ville.connect.MClipPath":{},"qx.ui.core.Blocker":{},"qx.ui.container.Composite":{},"qx.ui.layout.Dock":{},"qx.ui.layout.Canvas":{},"qx.ui.layout.VBox":{},"qx.ui.container.Stack":{},"qx.ui.layout.HBox":{},"qx.ui.container.Scroll":{},"qx.ui.toolbar.ToolBar":{},"qx.ui.toolbar.Part":{},"qx.ui.toolbar.Button":{},"qx.ui.toolbar.MenuButton":{},"qx.ui.popup.Popup":{},"qx.ui.menu.Menu":{},"qx.ui.menu.Button":{},"qx.ui.basic.Atom":{},"qx.ui.form.Button":{},"qx.bom.client.Browser":{require:!0},"qx.bom.element.Animation":{},"ville.connect.Connect":{},"qx.Theme":{},"qx.theme.manager.Appearance":{},"ville.connect.Appearance":{},"qx.theme.manager.Decoration":{},"ville.connect.Decoration":{},"qx.theme.manager.Color":{},"ville.connect.Color":{},"qx.ui.window.Manager":{},"qx.ui.window.Desktop":{},"wax.demo.DiagramData":{},"qx.ui.window.Window":{},"qx.ui.layout.Grow":{},"qx.ui.form.TextArea":{},"qx.ui.core.Widget":{},"qx.bom.element.Transform":{},"qx.ui.layout.Flow":{},"qx.data.Array":{},"qx.ui.basic.Label":{},"wax.demo.MenuButton":{},"qx.ui.form.RadioGroup":{}},environment:{provided:[],required:{"browser.name":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("wax.demo.Application",{extend:qx.application.Standalone,properties:{demoMode:{check:["desktop","mobile"],init:"desktop"}},members:{_blocker:null,_northBox:null,_westBox:null,_eastBox:null,main:function(){wax.demo.Application.superclass.prototype.main.call(this);qx.Class.include(qx.ui.decoration.Decorator,ville.connect.MClipPath);var e=this.getRoot();this._blocker=new qx.ui.core.Blocker(e).set({color:"black",opacity:.08});var t=new qx.ui.container.Composite(new qx.ui.layout.Dock(0,0)).set({backgroundColor:"transparent"}),n=this._northBox=new qx.ui.container.Composite(new qx.ui.layout.Canvas).set({backgroundColor:"white",decorator:"topheader"}),r=this._westBox=new qx.ui.container.Composite(new qx.ui.layout.VBox(0)).set({backgroundColor:"white",padding:[10,0,10,0],decorator:"leftside"}),i=this._eastBox=new qx.ui.container.Composite(new qx.ui.layout.VBox(0)).set({backgroundColor:"white",padding:[10,0,10,0]}),o=(new qx.ui.container.Stack).set({backgroundColor:"white",padding:0}),s=new qx.ui.container.Composite(new qx.ui.layout.HBox(4)).set({alignY:"middle",padding:[0,4,0,4],decorator:"bottombar"}),a=(new qx.ui.container.Scroll).set({scrollbarX:"off",minWidth:230,padding:0,margin:0,contentPadding:[0,0,0,0]}),u=(new qx.ui.container.Scroll).set({scrollbarX:"off",minWidth:230,padding:0,margin:0,contentPadding:[0,0,0,0]}),l=(new qx.ui.container.Scroll).set({padding:0,margin:0,contentPadding:[0,0,0,0]}),c=(new qx.ui.toolbar.ToolBar).set({backgroundColor:"white"}),h=new qx.ui.toolbar.Part,d=new qx.ui.toolbar.Part,f=new qx.ui.toolbar.Button("MainMenu","wax/demo/round-menu-24px.svg").set({show:"icon"}),_=new qx.ui.toolbar.MenuButton("ProfileMenu","wax/demo/round-account_circle-24px.svg").set({show:"icon",showArrow:!1}),p=(new qx.ui.popup.Popup).set({allowStretchX:!0,allowStretchY:!0,padding:10});p.setLayout(new qx.ui.layout.VBox(0));var m=(new qx.ui.menu.Menu).set({spacingX:12}),g=new qx.ui.menu.Button("About Connect","wax/demo/info-24px.svg").set({padding:10});g.getChildControl("icon").set({width:24,height:24});var v=this.__P_2_0();v.getLayout().set({spacing:20});v.set({width:430,height:460,contentPadding:0});var b=(new qx.ui.container.Scroll).set({allowStretchY:!0,padding:0,margin:0,contentPadding:[0,24,0,24]}),y=new qx.ui.basic.Atom('Project Github page: https://github.com/sqville/ville.Connect',"wax/demo/ville_Connect.png").set({rich:!0,iconPosition:"top",gap:30,paddingTop:30});y.getChildControl("label").set({wrap:!0});b.add(y);v.add(b,{flex:1});var x=new qx.ui.form.Button("Close Window").set({marginBottom:18,maxWidth:300,alignX:"center",alignY:"middle"});v.add(x);x.addListener("execute",(function(e){v.close()}),this);e.addListener("resize",(function(e){v.center()}),this);g.addListener("execute",(function(e){v.restore();v.center();v.show()}),this);f.addListener("execute",(function(e){"edge"!=qx.core.Environment.get("browser.name")&&this._blocker.blockContent(f.getZIndex());p.setHeight(parseInt(this.getRoot().getContentElement().getStyle("height")));p.show()}),this);p.addListener("disappear",(function(e){this._blocker.unblock()}),this);a.add(r);u.add(i);l.add(o);t.add(n,{edge:"north"});t.add(o,{edge:"center"});e.add(t,{edge:0});m.add(g);_.setMenu(m);var w=new qx.ui.basic.Atom("Wax","wax/demo/ville_Diagram_logo.svg").set({font:"hym-app-header",gap:10,padding:0,visibility:"hidden"});w.getChildControl("icon").set({scale:!0,width:41,height:38});h.add(f);d.add(_);c.add(h);c.addSpacer();c.add(w);c.addSpacer();c.add(d);n.add(c,{left:0,right:0});t.add(s,{edge:"south"});h.setVisibility("visible");w.setVisibility("visible");var q={duration:300,timing:"ease-out",keyFrames:{0:{opacity:0},100:{opacity:.07}}};this._blocker.addListener("blocked",(function(e){var t;(t=this._blocker.getBlockerElement().getDomElement())&&qx.bom.element.Animation.animate(t,q)}),this);this._blocker.addListener("unblocked",(function(e){var t;(t=this._blocker.getBlockerElement().getDomElement())&&qx.bom.element.Animation.animateReverse(t,q)}),this);var P=new qx.ui.container.Composite(new qx.ui.layout.Canvas),E=new qx.ui.container.Composite(new qx.ui.layout.Canvas),M=new qx.ui.container.Composite(new qx.ui.layout.Canvas),C=new ville.connect.Connect;qx.Theme.include(qx.theme.manager.Appearance.getInstance().getTheme(),ville.connect.Appearance);qx.Theme.include(qx.theme.manager.Decoration.getInstance().getTheme(),ville.connect.Decoration);qx.Theme.include(qx.theme.manager.Color.getInstance().getTheme(),ville.connect.Color);var S=new qx.ui.window.Manager,A=new qx.ui.window.Desktop(S),D=wax.demo.DiagramData.DIAGRAMS.NetworkDiagram;if(null!=D.elements)for(var I=0;I>.5?e:this.push(e):arguments.length&&this.push.apply(this,arguments)}function t(){}t.prototype=[];e.prototype=new t;e.prototype.length=0;qx.type.BaseArray=function(t){if("mshtml"==qx.core.Environment.get("engine.name")){e.prototype={length:0,$$isArray:!0};for(var n="pop.push.reverse.shift.sort.splice.unshift.join.slice".split("."),r=n.length;r;)e.prototype[n[--r]]=Array.prototype[n[r]]}var i=Array.prototype.slice;e.prototype.concat=function(){for(var t=this.slice(0),n=0,r=arguments.length;n+~]|"+L+")"+L+"*"),H=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),z=new RegExp(N),V=new RegExp("^"+R+"$"),G={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Q=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){d()},ie=ve((function(e){return!0===e.disabled}),{dir:"parentNode",next:"legend"});try{k.apply(A=B.call(x.childNodes),x.childNodes);A[x.childNodes.length].nodeType}catch(e){k={apply:A.length?function(e,t){I.apply(e,B.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function oe(e,t,r,i){var o,a,l,c,h,_,g,v=t&&t.ownerDocument,w=t?t.nodeType:9;r=r||[];if("string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!i){(t?t.ownerDocument||t:x)!==f&&d(t);t=t||f;if(p){if(11!==w&&(h=Z.exec(e)))if(o=h[1]){if(9===w){if(!(l=t.getElementById(o)))return r;if(l.id===o){r.push(l);return r}}else if(v&&(l=v.getElementById(o))&&b(t,l)&&l.id===o){r.push(l);return r}}else{if(h[2]){k.apply(r,t.getElementsByTagName(e));return r}if((o=h[3])&&n.getElementsByClassName&&t.getElementsByClassName){k.apply(r,t.getElementsByClassName(o));return r}}if(n.qsa&&!M[e+" "]&&(!m||!m.test(e))){if(1!==w){v=t;g=e}else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=y);a=(_=s(e)).length;for(;a--;)_[a]="#"+c+" "+ge(_[a]);g=_.join(",");v=J.test(e)&&pe(t.parentNode)||t}if(g)try{k.apply(r,v.querySelectorAll(g));return r}catch(e){}finally{c===y&&t.removeAttribute("id")}}}}return u(e.replace(j,"$1"),t,r,i)}function se(){var e=[];return function t(n,i){e.push(n+" ")>r.cacheLength&&delete t[e.shift()];return t[n+" "]=i}}function ae(e){e[y]=!0;return e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function le(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function de(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function fe(e){return function(t){return"label"in t&&t.disabled===e||"form"in t&&t.disabled===e||"form"in t&&!1===t.disabled&&(t.isDisabled===e||t.isDisabled!==!e&&("label"in t||!ie(t))!==e)}}function _e(e){return ae((function(t){t=+t;return ae((function(n,r){for(var i,o=e([],n.length,t),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))}))}))}function pe(e){return e&&void 0!==e.getElementsByTagName&&e}n=oe.support={};o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName};d=oe.setDocument=function(e){var t,i,s=e?e.ownerDocument||e:x;if(s===f||9!==s.nodeType||!s.documentElement)return f;_=(f=s).documentElement;p=!o(f);x!==f&&(i=f.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re));n.attributes=ue((function(e){e.className="i";return!e.getAttribute("className")}));n.getElementsByTagName=ue((function(e){e.appendChild(f.createComment(""));return!e.getElementsByTagName("*").length}));n.getElementsByClassName=X.test(f.getElementsByClassName);n.getById=ue((function(e){_.appendChild(e).id=y;return!f.getElementsByName||!f.getElementsByName(y).length}));if(n.getById){r.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}};r.filter.ID=function(e){var t=e.replace(Q,ee);return function(e){return e.getAttribute("id")===t}}}else{delete r.find.ID;r.filter.ID=function(e){var t=e.replace(Q,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}}r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o};r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)};g=[];m=[];if(n.qsa=X.test(f.querySelectorAll)){ue((function(e){_.appendChild(e).innerHTML="";e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+L+"*(?:''|\"\")");e.querySelectorAll("[selected]").length||m.push("\\["+L+"*(?:value|"+O+")");e.querySelectorAll("[id~="+y+"-]").length||m.push("~=");e.querySelectorAll(":checked").length||m.push(":checked");e.querySelectorAll("a#"+y+"+*").length||m.push(".#.+[+~]")}));ue((function(e){e.innerHTML="";var t=f.createElement("input");t.setAttribute("type","hidden");e.appendChild(t).setAttribute("name","D");e.querySelectorAll("[name=d]").length&&m.push("name"+L+"*[*^$|!~]?=");2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled");_.appendChild(e).disabled=!0;2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled");e.querySelectorAll("*,:x");m.push(",.*:")}))}(n.matchesSelector=X.test(v=_.matches||_.webkitMatchesSelector||_.mozMatchesSelector||_.oMatchesSelector||_.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=v.call(e,"*");v.call(e,"[s!='']:x");g.push("!=",N)}));m=m.length&&new RegExp(m.join("|"));g=g.length&&new RegExp(g.join("|"));t=X.test(_.compareDocumentPosition);b=t||X.test(_.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1};C=t?function(e,t){if(e===t){h=!0;return 0}var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===f||e.ownerDocument===x&&b(x,e)?-1:t===f||t.ownerDocument===x&&b(x,t)?1:c?T(c,e)-T(c,t):0:4&r?-1:1)}:function(e,t){if(e===t){h=!0;return 0}var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===f?-1:t===f?1:i?-1:o?1:c?T(c,e)-T(c,t):0;if(i===o)return ce(e,t);n=e;for(;n=n.parentNode;)s.unshift(n);n=t;for(;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?ce(s[r],a[r]):s[r]===x?-1:a[r]===x?1:0};return f};oe.matches=function(e,t){return oe(e,null,null,t)};oe.matchesSelector=function(e,t){(e.ownerDocument||e)!==f&&d(e);t=t.replace(H,"='$1']");if(n.matchesSelector&&p&&!M[t+" "]&&(!g||!g.test(t))&&(!m||!m.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,f,null,[e]).length>0};oe.contains=function(e,t){(e.ownerDocument||e)!==f&&d(e);return b(e,t)};oe.attr=function(e,t){(e.ownerDocument||e)!==f&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&S.call(r.attrHandle,t.toLowerCase())?i(e,t,!p):void 0;return void 0!==o?o:n.attributes||!p?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null};oe.escape=function(e){return(e+"").replace(te,ne)};oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};oe.uniqueSort=function(e){var t,r=[],i=0,o=0;h=!n.detectDuplicates;c=!n.sortStable&&e.slice(0);e.sort(C);if(h){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}c=null;return e};i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n};r=oe.selectors={cacheLength:50,createPseudo:ae,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(Q,ee);e[3]=(e[3]||e[4]||e[5]||"").replace(Q,ee);"~="===e[2]&&(e[3]=" "+e[3]+" ");return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if("nth"===e[1].slice(0,3)){e[3]||oe.error(e[0]);e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3]));e[5]=+(e[7]+e[8]||"odd"===e[3])}else e[3]&&oe.error(e[0]);return e},PSEUDO:function(e){var t,n=!e[6]&&e[2];if(G.CHILD.test(e[0]))return null;if(e[3])e[2]=e[4]||e[5]||"";else if(n&&z.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)){e[0]=e[0].slice(0,t);e[2]=n.slice(0,t)}return e.slice(0,3)}},filter:{TAG:function(e){var t=e.replace(Q,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=P[e+" "];return t||(t=new RegExp("(^|"+L+")"+e+"("+L+"|$)"))&&P(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);if(null==i)return"!="===t;if(!t)return!0;i+="";return"="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-")}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,h,d,f,_,p=o!==s?"nextSibling":"previousSibling",m=t.parentNode,g=a&&t.nodeName.toLowerCase(),v=!u&&!a,b=!1;if(m){if(o){for(;p;){d=t;for(;d=d[p];)if(a?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;_=p="only"===e&&!_&&"nextSibling"}return!0}_=[s?m.firstChild:m.lastChild];if(s&&v){b=(f=(l=(c=(h=(d=m)[y]||(d[y]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===w&&l[1])&&l[2];d=f&&m.childNodes[f];for(;d=++f&&d&&d[p]||(b=f=0)||_.pop();)if(1===d.nodeType&&++b&&d===t){c[e]=[w,f,b];break}}else{v&&(b=f=(l=(c=(h=(d=t)[y]||(d[y]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===w&&l[1]);if(!1===b)for(;d=++f&&d&&d[p]||(b=f=0)||_.pop();)if((a?d.nodeName.toLowerCase()===g:1===d.nodeType)&&++b){v&&((c=(h=d[y]||(d[y]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]=[w,b]);if(d===t)break}}return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);if(i[y])return i(t);if(i.length>1){n=[e,e,"",t];return r.setFilters.hasOwnProperty(e.toLowerCase())?ae((function(e,n){for(var r,o=i(e,t),s=o.length;s--;)e[r=T(e,o[s])]=!(n[r]=o[s])})):function(e){return i(e,0,n)}}return i}},pseudos:{not:ae((function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[y]?ae((function(e,t,n,i){for(var o,s=r(e,null,i,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))})):function(e,i,o){t[0]=e;r(t,null,o,n);t[0]=null;return!n.pop()}})),has:ae((function(e){return function(t){return oe(e,t).length>0}})),contains:ae((function(e){e=e.replace(Q,ee);return function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}})),lang:ae((function(e){V.test(e||"")||oe.error("unsupported lang: "+e);e=e.replace(Q,ee).toLowerCase();return function(t){var n;do{if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===_},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:fe(!1),disabled:fe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){e.parentNode&&e.parentNode.selectedIndex;return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:_e((function(){return[0]})),last:_e((function(e,t){return[t-1]})),eq:_e((function(e,t,n){return[n<0?n+t:n]})),even:_e((function(e,t){for(var n=0;n=0;)e.push(r);return e})),gt:_e((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function ye(e,t,n,r,i){for(var o,s=[],a=0,u=e.length,l=null!=t;a-1&&(o[l]=!(s[l]=h))}}else{g=ye(g===s?g.splice(_,g.length):g);i?i(null,s,g,u):k.apply(s,g)}}))}function we(e){for(var t,n,i,o=e.length,s=r.relative[e[0].type],a=s||r.relative[" "],u=s?1:0,c=ve((function(e){return e===t}),a,!0),h=ve((function(e){return T(t,e)>-1}),a,!0),d=[function(e,n,r){var i=!s&&(r||n!==l)||((t=n).nodeType?c(e,n,r):h(e,n,r));t=null;return i}];u1&&be(d),u>1&&ge(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(j,"$1"),n,u0,i=e.length>0,o=function(o,s,a,u,c){var h,_,m,g=0,v="0",b=o&&[],y=[],x=l,q=o||i&&r.find.TAG("*",c),P=w+=null==x?1:Math.random()||.1,E=q.length;c&&(l=s===f||s||c);for(;v!==E&&null!=(h=q[v]);v++){if(i&&h){_=0;if(!s&&h.ownerDocument!==f){d(h);a=!p}for(;m=e[_++];)if(m(h,s||f,a)){u.push(h);break}c&&(w=P)}if(n){(h=!m&&h)&&g--;o&&b.push(h)}}g+=v;if(n&&v!==g){_=0;for(;m=t[_++];)m(b,y,s,a);if(o){if(g>0)for(;v--;)b[v]||y[v]||(y[v]=D.call(u));y=ye(y)}k.apply(u,y);c&&!o&&y.length>0&&g+t.length>1&&oe.uniqueSort(u)}if(c){w=P;l=x}return b};return n?ae(o):o}(o,i));a.selector=e}return a};u=oe.select=function(e,t,i,o){var u,l,c,h,d,f="function"==typeof e&&e,_=!o&&s(e=f.selector||e);i=i||[];if(1===_.length){if((l=_[0]=_[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&n.getById&&9===t.nodeType&&p&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(Q,ee),t)||[])[0]))return i;f&&(t=t.parentNode);e=e.slice(l.shift().value.length)}u=G.needsContext.test(e)?0:l.length;for(;u--;){c=l[u];if(r.relative[h=c.type])break;if((d=r.find[h])&&(o=d(c.matches[0].replace(Q,ee),J.test(l[0].type)&&pe(t.parentNode)||t))){l.splice(u,1);if(!(e=o.length&&ge(l))){k.apply(i,o);return i}break}}}(f||a(e,_))(o,t,!p,i,!t||J.test(e)&&pe(t.parentNode)||t);return i};n.sortStable=y.split("").sort(C).join("")===y;n.detectDuplicates=!!h;d();n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))}));ue((function(e){e.innerHTML="";return"#"===e.firstChild.getAttribute("href")}))||le("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}));n.attributes&&ue((function(e){e.innerHTML="";e.firstChild.setAttribute("value","");return""===e.firstChild.getAttribute("value")}))||le("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}));ue((function(e){return null==e.getAttribute("disabled")}))||le(O,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}));qx.bom.Selector.query=function(e,t){return oe(e,t)};qx.bom.Selector.matches=function(e,t){return oe(e,null,null,t)}}(window);qx.bom.Selector.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.lang.normalize.Function":{require:!0},"qx.lang.normalize.String":{require:!0},"qx.lang.normalize.Date":{require:!0},"qx.lang.normalize.Array":{require:!0},"qx.lang.normalize.Error":{require:!0},"qx.lang.normalize.Object":{require:!0},"qx.lang.normalize.Number":{require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.module.Polyfill",{});qx.module.Polyfill.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["device.name","device.touch","device.type","device.pixelRatio"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.Device",{statics:{__P_135_0:{"Windows Phone":"iemobile",iPod:"ipod",iPad:"ipad",iPhone:"iphone",PSP:"psp","PLAYSTATION 3":"ps3","Nintendo Wii":"wii","Nintendo DS":"ds",XBOX:"xbox",Xbox:"xbox"},getName:function(){var e=[];for(var t in qx.bom.client.Device.__P_135_0)e.push(t);var n=new RegExp("("+e.join("|").replace(/\./g,".")+")","g").exec(navigator.userAgent);return n&&n[1]?qx.bom.client.Device.__P_135_0[n[1]]:"pc"},getType:function(){return qx.bom.client.Device.detectDeviceType(navigator.userAgent)},detectDeviceType:function(e){return qx.bom.client.Device.detectTabletDevice(e)?"tablet":qx.bom.client.Device.detectMobileDevice(e)?"mobile":"desktop"},detectMobileDevice:function(e){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(e)},detectTabletDevice:function(e){var t="MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,n=/MSIE 10/i.test(e)&&/ARM/i.test(e)&&!/windows phone/i.test(e),r=!/android.+mobile|Tablet PC/i.test(e)&&/Android|ipad|tablet|playbook|silk|kindle|psp/i.test(e);return n||r||t},getDevicePixelRatio:function(){return void 0!==window.devicePixelRatio?window.devicePixelRatio:1},getTouch:function(){return"ontouchstart"in window||window.navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0}},defer:function(e){qx.core.Environment.add("device.name",e.getName);qx.core.Environment.add("device.touch",e.getTouch);qx.core.Environment.add("device.type",e.getType);qx.core.Environment.add("device.pixelRatio",e.getDevicePixelRatio)}});qx.bom.client.Device.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Browser":{defer:"load",require:!0},"qx.bom.client.Engine":{defer:"load",require:!0},"qx.bom.client.Device":{defer:"load",require:!0},"qx.bom.client.Event":{defer:"load",require:!0},qxWeb:{defer:"runtime"}},environment:{provided:[],required:{"browser.name":{defer:!0,className:"qx.bom.client.Browser"},"browser.version":{defer:!0,className:"qx.bom.client.Browser"},"browser.quirksmode":{defer:!0,className:"qx.bom.client.Browser"},"browser.documentmode":{defer:!0,className:"qx.bom.client.Browser"},"engine.name":{defer:!0,className:"qx.bom.client.Engine"},"engine.version":{defer:!0,className:"qx.bom.client.Engine"},"device.name":{defer:!0,className:"qx.bom.client.Device"},"device.type":{defer:!0,className:"qx.bom.client.Device"},"event.touch":{defer:!0,className:"qx.bom.client.Event"},"event.mspointer":{defer:!0,className:"qx.bom.client.Event"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.module.Environment",{statics:{get:function(e){return qx.core.Environment.get(e)},add:function(e,t){qx.core.Environment.add(e,t);return this}},defer:function(e){qx.core.Environment.get("browser.name");qx.core.Environment.get("browser.version");qx.core.Environment.get("browser.quirksmode");qx.core.Environment.get("browser.documentmode");qx.core.Environment.get("engine.name");qx.core.Environment.get("engine.version");qx.core.Environment.get("device.name");qx.core.Environment.get("device.type");qx.core.Environment.get("event.touch");qx.core.Environment.get("event.mspointer");qxWeb.$attachAll(this,"env")}});qx.module.Environment.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.module.event.PointerHandler":{defer:"runtime"},"qx.module.Polyfill":{require:!0,defer:"runtime"},"qx.module.Environment":{require:!0,defer:"runtime"},"qx.Bootstrap":{usage:"dynamic",require:!0},qxWeb:{defer:"runtime"},"qx.bom.Event":{},"qx.lang.Type":{},"qx.lang.Array":{},"qx.event.Emitter":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.module.Event",{statics:{__P_174_0:{},__P_174_1:{on:{},off:{}},__P_174_2:!1,ready:function(e){if("complete"!==document.readyState){var t=function(){qx.module.Event.__P_174_2=!0;e()};qxWeb(window).on("load",t);var n=function(){qxWeb(window).off("load",t);e()};if("mshtml"!==qxWeb.env.get("engine.name")||qxWeb.env.get("browser.documentmode")>8)qx.bom.Event.addNativeListener(document,"DOMContentLoaded",n);else{!function e(){if(!qx.module.Event.__P_174_2)try{document.documentElement.doScroll("left");document.body&&n()}catch(t){window.setTimeout(e,100)}}()}}else window.setTimeout(e,1)},$registerEventNormalization:function(e,t){qx.lang.Type.isArray(e)||(e=[e]);for(var n=qx.module.Event.__P_174_0,r=0,i=e.length;r0},copyEventsTo:function(e){for(var t=this.concat(),n=e.concat(),r=t.length-1;r>=0;r--)for(var i=t[r].getElementsByTagName("*"),o=0;o=0;r--)for(i=n[r].getElementsByTagName("*"),o=0;o=0;o--){var l=a[u][o].listener;l.original&&(l=l.original);qxWeb(n[r]).on(u,l,a[u][o].ctx)}}}},hover:function(e,t){this.on("pointerover",e,this);qx.lang.Type.isFunction(t)&&this.on("pointerout",t,this);return this},onMatchTarget:function(e,t,n,r){r=void 0!==r?r:this;var i=function(e){var i=qxWeb(e.getTarget());if(i.is(t))n.call(r,i,qxWeb.object.clone(e));else for(var o="string"==typeof t?this.find(t):qxWeb(t),s=0,a=o.length;s=0;o--){var s=i[o];if(s.type==e&&s.callback==n&&s.context==r){this.off(e,s.listener);i.splice(o,1)}}0===i.length&&(t.$$matchTargetInfo=null)}}),this);return this}},defer:function(e){qxWeb.$attachAll(this);qxWeb.$attachStatic({$registerEventNormalization:e.$registerEventNormalization,$unregisterEventNormalization:e.$unregisterEventNormalization,$getEventNormalizationRegistry:e.$getEventNormalizationRegistry,$registerEventHook:e.$registerEventHook,$unregisterEventHook:e.$unregisterEventHook,$getEventHookRegistry:e.$getEventHookRegistry})}});qx.module.Event.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.module.Event":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Event":{require:!0},"qx.event.Emitter":{},"qx.event.handler.PointerCore":{},qxWeb:{defer:"runtime"}},environment:{provided:[],required:{"event.dispatchevent":{className:"qx.bom.client.Event"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.module.event.PointerHandler",{statics:{TYPES:["pointermove","pointerover","pointerout","pointerdown","pointerup","pointercancel","gesturebegin","gesturemove","gesturefinish","gesturecancel"],register:function(e,t){if(!e.$$pointerHandler){qx.core.Environment.get("event.dispatchevent")||e.$$emitter||(e.$$emitter=new qx.event.Emitter);e.$$pointerHandler=new qx.event.handler.PointerCore(e,e.$$emitter)}},unregister:function(e){if(e.$$pointerHandler){if("qx.event.handler.Pointer"===e.$$pointerHandler.classname)return;var t=e.$$emitter.getListeners();for(var n in t)if(-1!==qx.module.event.PointerHandler.TYPES.indexOf(n)&&t[n].length>0)return;e.$$pointerHandler.dispose();e.$$pointerHandler=void 0}}},defer:function(e){qxWeb.$registerEventHook(e.TYPES,e.register,e.unregister)}});qx.module.event.PointerHandler.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.module.Css":{require:!0,defer:"runtime"},"qx.module.Event":{require:!0,defer:"runtime"},"qx.module.Environment":{require:!0,defer:"runtime"},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Animation":{},qxWeb:{defer:"runtime"}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.module.Animation",{events:{animationStart:void 0,animationIteration:void 0,animationEnd:void 0},statics:{_fadeOut:{duration:700,timing:"ease-out",keep:100,keyFrames:{0:{opacity:1},100:{opacity:0,display:"none"}}},_fadeIn:{duration:700,timing:"ease-in",keep:100,keyFrames:{0:{opacity:0},100:{opacity:1}}},_animate:function(e,t,n){this._forEachElement((function(r,i){r.$$animation&&r.$$animation.stop();var o;o=n?qx.bom.element.Animation.animateReverse(r,e,t):qx.bom.element.Animation.animate(r,e,t);var s=this;if(0==i){o.on("start",(function(){s.emit("animationStart")}),o);o.on("iteration",(function(){s.emit("animationIteration")}),o)}o.on("end",(function(){for(var e=0;e-1){o=r.substring(0,a);s=r.substring(a+1);n=qx.core.Id.getQxObject(o).getQxObject(s)}else{s=r;i;n=i.getQxObject(r)}}}n||(n=qx.html.Factory.getInstance().createElement(t.nodeName,t.attributes));return{htmlNode:n,domNode:t,children:e(t)}}));return n}(e)};!function e(t){var n=t.children.map((function(t){e(t);return t.htmlNode}));t.htmlNode._useNodeImpl(t.domNode,n)}(o);this.flush();this._insertChildren();r&&qx.core.Id.getInstance().unregister(this);t&&this.setQxObjectId(null)},_useNodeImpl:function(e,t){if(this._domNode)throw new Error("Could not overwrite existing element!");this._connectDomNode(e);this._copyData(!0,!0);var n={},r=this._children?qx.lang.Array.clone(this._children):null;t.forEach((function(e){n[e.toHashCode()]=e}));this._children=t;r&&r.forEach((function(e){if(!n[e.toHashCode()]){e._domNode&&e._domNode.parentElement&&e._domNode.parentElement.removeChild(e._domNode);e._parent=null}}));var i=this;this._children.forEach((function(e){e._parent=i;if(e._domNode&&e._domNode.parentElement!==i._domNode){e._domNode.parentElement.removeChild(e._domNode);this._domNode&&this._domNode.appendChild(e._domNode)}}));this._domNode&&this._scheduleChildrenUpdate()},_connectDomNode:function(e){this._domNode=e;e.$$elementObject=this;e.$$element=this.toHashCode();if(this._qxObject){e.$$qxObjectHash=this._qxObject.toHashCode();e.$$qxObject=this._qxObject}},isInDocument:function(){if(document.body)for(var e=this._domNode;null!=e;e=e.parentElement)if(e===document.body)return!0;return!1},updateObjectId:function(){if(qx.core.Environment.get("module.objectid")){var e=this.getQxObjectId();!e&&this._qxObject&&(e=this._qxObject.getQxObjectId());this.setAttribute("data-qx-object-id",e,!0)}},_cascadeQxObjectIdChanges:function(){qx.core.Environment.get("module.objectid")&&this.updateObjectId();qx.html.Node.superclass.prototype._cascadeQxObjectIdChanges.call(this)},_scheduleChildrenUpdate:function(){if(!this._modifiedChildren&&this._domNode){this._modifiedChildren=!0;qx.html.Element._modified[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}},_flush:function(){this.flush()},flush:function(){var e,t=this._children;if(t){e=t.length;for(var n,r=0;r0&&this._insertChildren()}delete this._modifiedChildren},isRoot:function(){throw new Error("No implementation for "+this.classname+".isRoot")},isInRoot:function(){for(var e=this;e;){if(e.isRoot())return!0;e=e._parent}return!1},_willBeSeeable:function(){if(!qx.html.Element._hasRoots)return!1;for(var e=this;e;){if(e.isRoot())return!0;if(!e._included||!e.isVisible())return!1;e=e._parent}return!1},_insertChildren:function(){var e=this._children;if(e){var t,n=e.length;if(n>2){for(var r=document.createDocumentFragment(),i=0;i=0;u--){n=s[u];(t=qx.html.Node.fromDomNode(n))&&t._included&&t._parent===this||o.removeChild(n)}for(u=0;u=0&&t.style.borderImageSlice.indexOf("4 fill")>=0&&t.style.borderImageRepeat.indexOf("stretch")>=0)return!0}else{t.style[e]='url("foo.png") 4 4 4 4 stretch';if(t.style[e].indexOf("foo.png")>=0)return!1}return null},getUserSelect:function(){return qx.bom.Style.getPropertyName("userSelect")},getUserSelectNone:function(){var e=qx.bom.client.Css.getUserSelect();if(e){var t=document.createElement("span");t.style[e]="-moz-none";return"-moz-none"===t.style[e]?"-moz-none":"none"}return null},getUserModify:function(){return qx.bom.Style.getPropertyName("userModify")},getFloat:function(){var e=document.documentElement.style;return void 0!==e.cssFloat?"cssFloat":void 0!==e.styleFloat?"styleFloat":null},getLinearGradient:function(){qx.bom.client.Css.__P_95_0=!1;var e="linear-gradient(0deg, #fff, #000)",t=document.createElement("div");if(!(n=qx.bom.Style.getAppliedStyle(t,"backgroundImage",e))){e="-webkit-gradient(linear,0% 0%,100% 100%,from(white), to(red))";var n;(n=qx.bom.Style.getAppliedStyle(t,"backgroundImage",e,!1))&&(qx.bom.client.Css.__P_95_0=!0)}if(!n)return null;var r=/(.*?)\(/.exec(n);return r?r[1]:null},getRadialGradient:function(){var e=document.createElement("div"),t=qx.bom.Style.getAppliedStyle(e,"backgroundImage","radial-gradient(0px 0px, cover, red 50%, blue 100%)");if(!t)return null;var n=/(.*?)\(/.exec(t);return n?n[1]:null},getLegacyWebkitGradient:function(){null===qx.bom.client.Css.__P_95_0&&qx.bom.client.Css.getLinearGradient();return qx.bom.client.Css.__P_95_0},getRgba:function(){var e;try{e=document.createElement("div")}catch(t){e=document.createElement()}try{e.style.color="rgba(1, 2, 3, 0.5)";if(-1!=e.style.color.indexOf("rgba"))return!0}catch(e){}return!1},getBoxSizing:function(){return qx.bom.Style.getPropertyName("boxSizing")},getInlineBlock:function(){var e=document.createElement("span");e.style.display="inline-block";if("inline-block"==e.style.display)return"inline-block";e.style.display="-moz-inline-box";return"-moz-inline-box"!==e.style.display?"-moz-inline-box":null},getOpacity:function(){return"string"==typeof document.documentElement.style.opacity},getTextShadow:function(){return!!qx.bom.Style.getPropertyName("textShadow")},getAlphaImageLoaderNeeded:function(){return"mshtml"==qx.bom.client.Engine.getName()&&qx.bom.client.Browser.getDocumentMode()<9},getPointerEvents:function(){var e=document.documentElement;if("pointerEvents"in e.style){var t=e.style.pointerEvents;e.style.pointerEvents="auto";e.style.pointerEvents="foo";var n="auto"==e.style.pointerEvents;e.style.pointerEvents=t;return n}return!1},getFlexboxSyntax:function(){for(var e=null,t=document.createElement("detect"),n=[{value:"flex",syntax:"flex"},{value:"-ms-flexbox",syntax:"flexbox"},{value:"-webkit-flex",syntax:"flex"}],r=0;r=8||(g.style.visibility=e.isVisible()?"visible":"hidden"))}delete c[a]}else delete c[a]}var h=this._scroll;for(var a in h){if((y=(e=h[a])._domNode)&&y.offsetWidth){var d=!0;if(null!=e.__P_81_10){e._domNode.scrollLeft=e.__P_81_10;delete e.__P_81_10}if(null!=e.__P_81_11){e._domNode.scrollTop=e.__P_81_11;delete e.__P_81_11}var f=e.__P_81_12;if(null!=f){if((p=f.element.getDomElement())&&p.offsetWidth){qx.bom.element.Scroll.intoViewX(p,y,f.align);delete e.__P_81_12}else d=!1}var _=e.__P_81_13;if(null!=_){var p;if((p=_.element.getDomElement())&&p.offsetWidth){qx.bom.element.Scroll.intoViewY(p,y,_.align);delete e.__P_81_13}else d=!1}d&&delete h[a]}}var m={releaseCapture:1,blur:1,deactivate:1};for(u=0;u");for(var s=0;s")}else qx.html.Element.__P_81_5[this._nodeName]?e(">"):e(">")},connectWidget:function(e){return this.connectObject(e)},disconnectWidget:function(e){return this.disconnectObject(e)},_addChildImpl:function(e){qx.html.Element.superclass.prototype._addChildImpl.call(this,e);this.__P_81_17=!0},_removeChildImpl:function(e){qx.html.Element.superclass.prototype._removeChildImpl.call(this,e);this.__P_81_17=!0},getQxObject:function(e){if(this.__P_81_17){this.importQxObjectIds();this.__P_81_17=!1}return qx.html.Element.superclass.prototype.getQxObject.call(this,e)},importQxObjectIds:function(){var e=this,t=this.getQxObjectId(),n=this.getAttribute("data-qx-object-id");t?this.setAttribute("data-qx-object-id",t,!0):n&&this.setQxObjectId(n);var r=this.getChildren();r&&r.forEach((function r(i){if(i instanceof qx.html.Element){var o=i.getQxObjectId(),s=i.getAttribute("data-qx-object-id");if(o){s&&!s.endsWith(o)&&e.warn("Attribute ID ".concat(s," is not compatible with the qxObjectId ").concat(o,"; the qxObjectId will take prescedence"));i.setAttribute("data-qx-object-id",o,!0)}else if(s){var a=s?s.split("/"):[];if(1==a.length)e.addOwnedQxObject(i,s);else if(a.length>1){var u=null;if(a[0]==n||a[0]==t)if(2==a.length)u=e;else{var l=qx.lang.Array.clone(a);l.shift();l.pop();l=l.join("/");u=e.getQxObject(l)}else u=qx.core.Id.getQxObject(s);if(!u)throw new Error("Cannot resolve object id ancestors, id=".concat(s));u.addOwnedQxObject(i,a[a.length-1])}}var c=i.getChildren();c&&c.forEach(r)}}))},_copyData:function(e,t){qx.html.Element.superclass.prototype._copyData.call(this,e,t);var n,r=this._domNode;if(n=this.__P_81_1){var i=qx.bom.element.Attribute;if(e){var o,s={};((o=this.getAttribute("class"))?o.split(" "):[]).forEach((function(e){e.startsWith("qx-")&&(s[e]=!0)}));(o=i.get(r,"class"))instanceof window.SVGAnimatedString&&(o=o.baseVal);(o?o.split(" "):[]).forEach((function(e){return s[e]=!0}));var a=s=Object.keys(s);if(a.length){this.setCssClass(a[0]);this.setAttribute("class",s.join(" "))}else{this.setCssClass(null);this.setAttribute("class",null)}}for(var u in n)i.set(r,u,n[u])}if(n=this.__P_81_0){var l=qx.bom.element.Style;e?l.setStyles(r,n):l.setCss(r,l.compile(n))}if(e){c=r.style.display||"";this.setVisible("none"!=c)}else{var c;""!=(c=r.style.display||"")||this.isVisible()?"none"==c&&this.isVisible()&&(r.style.display=""):r.style.display="none"}},_syncData:function(){qx.html.Element.superclass.prototype._syncData.call(this);var e,t=this._domNode,n=qx.bom.element.Attribute,r=qx.bom.element.Style;if(e=this.__P_81_16){if(s=this.__P_81_1){var i;for(var o in e)void 0!==(i=s[o])?n.set(t,o,i):n.reset(t,o)}this.__P_81_16=null}if(e=this.__P_81_15){var s;if(s=this.__P_81_0){var a={};for(var o in e)a[o]=s[o];r.setStyles(t,a)}this.__P_81_15=null}},setRoot:function(e){e&&!this.__P_81_14?qx.html.Element._hasRoots++:!e&&this.__P_81_14&&qx.html.Element._hasRoots--;this.__P_81_14=e},isRoot:function(){return this.__P_81_14},useMarkup:function(e){if(this._domNode)throw new Error("Could not overwrite existing element!");if("mshtml"==qx.core.Environment.get("engine.name"))var t=document.createElement("div");else t=qx.dom.Element.getHelperElement();t.innerHTML=e;this.useElement(t.firstChild);return this._domNode},useElement:function(e){this.useNode(e)},isFocusable:function(){var e=this.getAttribute("tabIndex");if(e>=1)return!0;var t=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;return!!(e>=0&&t[this._nodeName])},setSelectable:function(e){this.setAttribute("qxSelectable",e?"on":"off");var t=qx.core.Environment.get("css.userselect");t&&this.setStyle(t,e?"text":qx.core.Environment.get("css.userselect.none"))},isNativelyFocusable:function(){return!!qx.event.handler.Focus.FOCUSABLE_ELEMENTS[this._nodeName]},fadeIn:function(e){var t=qxWeb(this._domNode);t.isPlaying()&&t.stop();if(!this._domNode){this.flush();t.push(this._domNode)}if(this._domNode){t.fadeIn(e).once("animationEnd",(function(){this.show();qx.html.Element.flush()}),this);return t.getAnimationHandles()[0]}},fadeOut:function(e){var t=qxWeb(this._domNode);t.isPlaying()&&t.stop();if(this._domNode){t.fadeOut(e).once("animationEnd",(function(){this.hide();qx.html.Element.flush()}),this);return t.getAnimationHandles()[0]}},_applyVisible:function(e,t){qx.html.Element.superclass.prototype._applyVisible.call(this,e,t);if(e){if(this._domNode){qx.html.Element._visibility[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}this._parent&&this._parent._scheduleChildrenUpdate()}else if(this._domNode){qx.html.Element._visibility[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}},show:function(){this.setVisible(!0);return this},hide:function(){this.setVisible(!1);return this},scrollChildIntoViewX:function(e,t,n){var r=this._domNode,i=e.getDomElement();if(!1!==n&&r&&r.offsetWidth&&i&&i.offsetWidth)qx.bom.element.Scroll.intoViewX(i,r,t);else{this.__P_81_12={element:e,align:t};qx.html.Element._scroll[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}delete this.__P_81_10},scrollChildIntoViewY:function(e,t,n){var r=this._domNode,i=e.getDomElement();if(!1!==n&&r&&r.offsetWidth&&i&&i.offsetWidth)qx.bom.element.Scroll.intoViewY(i,r,t);else{this.__P_81_13={element:e,align:t};qx.html.Element._scroll[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}delete this.__P_81_11},scrollToX:function(e,t){var n=this._domNode;if(!0!==t&&n&&n.offsetWidth){n.scrollLeft=e;delete this.__P_81_10}else{this.__P_81_10=e;qx.html.Element._scroll[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}delete this.__P_81_12},getScrollX:function(){var e=this._domNode;return e?e.scrollLeft:this.__P_81_10||0},scrollToY:function(e,t){var n=this._domNode;if(!0!==t&&n&&n.offsetWidth){n.scrollTop=e;delete this.__P_81_11}else{this.__P_81_11=e;qx.html.Element._scroll[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}delete this.__P_81_13},getScrollY:function(){var e=this._domNode;return e?e.scrollTop:this.__P_81_11||0},disableScrolling:function(){this.enableScrolling();this.scrollToX(0);this.scrollToY(0);this.addListener("scroll",this.__P_81_18,this)},enableScrolling:function(){this.removeListener("scroll",this.__P_81_18,this)},__P_81_19:null,__P_81_18:function(e){if(!this.__P_81_19){this.__P_81_19=!0;this._domNode.scrollTop=0;this._domNode.scrollLeft=0;delete this.__P_81_19}},setText:function(e){var t=this,n=this._children?qx.lang.Array.clone(this._children):[];if(n[0]instanceof qx.html.Text){n[0].setText(e);n.shift();n.forEach((function(e){t.remove(e)}))}else{n.forEach((function(e){t.remove(e)}));this.add(new qx.html.Text(e))}},getText:function(){var e=[];this._children&&this._children.forEach((function(t){e.push(t.getText())}));return e.join("")},getTextSelection:function(){var e=this._domNode;return e?qx.bom.Selection.get(e):null},getTextSelectionLength:function(){var e=this._domNode;return e?qx.bom.Selection.getLength(e):null},getTextSelectionStart:function(){var e=this._domNode;return e?qx.bom.Selection.getStart(e):null},getTextSelectionEnd:function(){var e=this._domNode;return e?qx.bom.Selection.getEnd(e):null},setTextSelection:function(e,t){var n=this._domNode;if(n)qx.bom.Selection.set(n,e,t);else{qx.html.Element.__P_81_2[this.toHashCode()]={element:this,start:e,end:t};qx.html.Element._scheduleFlush("element")}},clearTextSelection:function(){var e=this._domNode;e&&qx.bom.Selection.clear(e);delete qx.html.Element.__P_81_2[this.toHashCode()]},__P_81_20:function(e,t){qx.html.Element._actions.push({type:e,element:this,args:t||[]});qx.html.Element._scheduleFlush("element")},focus:function(){this.__P_81_20("focus")},blur:function(){this.__P_81_20("blur")},activate:function(){this.__P_81_20("activate")},deactivate:function(){this.__P_81_20("deactivate")},capture:function(e){this.__P_81_20("capture",[!1!==e])},releaseCapture:function(){this.__P_81_20("releaseCapture")},setStyle:function(e,t,n){this.__P_81_0||(this.__P_81_0={});if(this.__P_81_0[e]==t)return this;this._applyStyle(e,t,this.__P_81_0[e]);null==t?delete this.__P_81_0[e]:this.__P_81_0[e]=t;if(this._domNode){if(n){qx.bom.element.Style.set(this._domNode,e,t);return this}this.__P_81_15||(this.__P_81_15={});this.__P_81_15[e]=!0;qx.html.Element._modified[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}return this},_applyStyle:function(e,t,n){},setStyles:function(e,t){var n=qx.bom.element.Style;this.__P_81_0||(this.__P_81_0={});if(this._domNode){this.__P_81_15||(this.__P_81_15={});for(var r in e){var i=e[r];if(this.__P_81_0[r]!=i){this._applyStyle(r,i,this.__P_81_0[r]);null==i?delete this.__P_81_0[r]:this.__P_81_0[r]=i;t?n.set(this._domNode,r,i):this.__P_81_15[r]=!0}}qx.html.Element._modified[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}else for(var r in e){i=e[r];if(this.__P_81_0[r]!=i){this._applyStyle(r,i,this.__P_81_0[r]);null==i?delete this.__P_81_0[r]:this.__P_81_0[r]=i}}return this},removeStyle:function(e,t){this.setStyle(e,null,t);return this},getStyle:function(e){return this.__P_81_0?this.__P_81_0[e]:null},getAllStyles:function(){return this.__P_81_0||null},__P_81_21:function(){var e={};(this.getAttribute("class")||"").split(" ").forEach((function(t){t&&(e[t.toLowerCase()]=t)}));return e},__P_81_22:function(e){var t=this.getCssClass(),n=[];if(t){n.push(t);delete e[t.toLowerCase()]}qx.lang.Array.append(n,Object.values(e));return n.length?n.join(" "):null},addClass:function(e){var t=this,n=this.__P_81_21(),r=(this.getCssClass()||"").toLowerCase();e.split(" ").forEach((function(e){var i=e.toLowerCase();i==r&&t.setCssClass(null);n[i]=e}));this.setAttribute("class",this.__P_81_22(n));return this},removeClass:function(e){var t=this,n=this.__P_81_21(),r=(this.getCssClass()||"").toLowerCase();e.split(" ").forEach((function(e){var i=e.toLowerCase();i==r&&t.setCssClass(null);delete n[i]}));this.setAttribute("class",this.__P_81_22(n));return this},removeAllClasses:function(){this.setCssClass(null);this.setAttribute("class","")},_applyCssClass:function(e,t){var n=this.__P_81_21();t&&t.split(" ").forEach((function(e){return delete n[e.toLowerCase()]}));e&&e.split(" ").forEach((function(e){return n[e.toLowerCase()]=e}));this.setAttribute("class",this.__P_81_22(n))},getDimensions:function(e){if(!this._domNode)return{left:0,top:0,right:0,bottom:0,width:0,height:0,content:{width:0,height:0}};var t=qx.bom.element.Location.get(this._domNode,e);t.content=qx.bom.element.Dimension.getContentSize(this._domNode);t.width=t.right-t.left;t.height=t.bottom-t.top;return t},canBeSeen:function(){if(this._domNode&&this.isVisible()){var e=this._domNode.getBoundingClientRect();if(e.top>0||e.left>0||e.width>0||e.height>0)return!0}return!1},setAttribute:function(e,t,n){this.__P_81_1||(this.__P_81_1={});if(this.__P_81_1[e]==t)return this;null==t?delete this.__P_81_1[e]:this.__P_81_1[e]=t;"data-qx-object-id"==e&&this.setQxObjectId(t);if(this._domNode){if(n){qx.bom.element.Attribute.set(this._domNode,e,t);return this}this.__P_81_16||(this.__P_81_16={});this.__P_81_16[e]=!0;qx.html.Element._modified[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}return this},setAttributes:function(e,t){for(var n in e)this.setAttribute(n,e[n],t);return this},removeAttribute:function(e,t){return this.setAttribute(e,null,t)},getAttribute:function(e){return this.__P_81_1?this.__P_81_1[e]:null}},defer:function(e){e.__P_81_6=new qx.util.DeferredCall(e.flush,e);e.__P_81_5={};["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].forEach((function(t){e.__P_81_5[t]=!0}))},destruct:function(){var e=this.toHashCode();if(e){delete qx.html.Element._modified[e];delete qx.html.Element._scroll[e]}this.setRoot(!1);this.__P_81_1=this.__P_81_0=this.__P_81_16=this.__P_81_15=this.__P_81_12=this.__P_81_13=null}});qx.html.Element.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.theme.manager.Meta":{construct:!0},"qx.util.PropertyUtil":{},"qx.ui.core.queue.Layout":{},"qx.core.Init":{},"qx.ui.core.queue.Visibility":{},"qx.lang.Object":{}},environment:{provided:[],required:{"qx.dyntheme":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.LayoutItem",{type:"abstract",extend:qx.core.Object,construct:function(){qx.core.Object.constructor.call(this);qx.theme.manager.Meta.getInstance().addListener("changeTheme",this._onChangeTheme,this)},properties:{minWidth:{check:"Integer",nullable:!0,apply:"_applyDimension",init:null,themeable:!0},width:{check:"Integer",event:"changeWidth",nullable:!0,apply:"_applyDimension",init:null,themeable:!0},maxWidth:{check:"Integer",nullable:!0,apply:"_applyDimension",init:null,themeable:!0},minHeight:{check:"Integer",nullable:!0,apply:"_applyDimension",init:null,themeable:!0},height:{check:"Integer",event:"changeHeight",nullable:!0,apply:"_applyDimension",init:null,themeable:!0},maxHeight:{check:"Integer",nullable:!0,apply:"_applyDimension",init:null,themeable:!0},allowGrowX:{check:"Boolean",apply:"_applyStretching",init:!0,themeable:!0},allowShrinkX:{check:"Boolean",apply:"_applyStretching",init:!0,themeable:!0},allowGrowY:{check:"Boolean",apply:"_applyStretching",init:!0,themeable:!0},allowShrinkY:{check:"Boolean",apply:"_applyStretching",init:!0,themeable:!0},allowStretchX:{group:["allowGrowX","allowShrinkX"],mode:"shorthand",themeable:!0},allowStretchY:{group:["allowGrowY","allowShrinkY"],mode:"shorthand",themeable:!0},marginTop:{check:"Integer",init:0,apply:"_applyMargin",themeable:!0},marginRight:{check:"Integer",init:0,apply:"_applyMargin",themeable:!0},marginBottom:{check:"Integer",init:0,apply:"_applyMargin",themeable:!0},marginLeft:{check:"Integer",init:0,apply:"_applyMargin",themeable:!0},margin:{group:["marginTop","marginRight","marginBottom","marginLeft"],mode:"shorthand",themeable:!0},alignX:{check:["left","center","right"],nullable:!0,apply:"_applyAlign",themeable:!0},alignY:{check:["top","middle","bottom","baseline"],nullable:!0,apply:"_applyAlign",themeable:!0}},members:{_onChangeTheme:qx.core.Environment.select("qx.dyntheme",{true:function(){var e=qx.util.PropertyUtil.getAllProperties(this.constructor);for(var t in e){if(e[t].themeable){null==qx.util.PropertyUtil.getUserValue(this,t)&&qx.util.PropertyUtil.resetThemed(this,t)}}},false:null}),__P_86_0:null,__P_86_1:null,__P_86_2:null,__P_86_3:null,__P_86_4:null,__P_86_5:null,__P_86_6:null,getBounds:function(){return this.__P_86_5||this.__P_86_1||null},clearSeparators:function(){},renderSeparator:function(e,t){},renderLayout:function(e,t,n,r){if(this.isDisposed())return null;var i=this.__P_86_1;i||(i=this.__P_86_1={});var o={};if(e!==i.left||t!==i.top){o.position=!0;i.left=e;i.top=t}if(n!==i.width||r!==i.height){o.size=!0;i.width=n;i.height=r}if(this.__P_86_2){o.local=!0;delete this.__P_86_2}if(this.__P_86_4){o.margin=!0;delete this.__P_86_4}if(null==this.getHeight()&&this._hasHeightForWidth()){var s=this._getHeightForWidth(n);if(null!=s&&s!==this.__P_86_0){this.__P_86_0=s;qx.ui.core.queue.Layout.add(this)}}return o},isExcluded:function(){return!1},hasValidLayout:function(){return!this.__P_86_2},scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this)},invalidateLayoutCache:function(){this.__P_86_2=!0;this.__P_86_3=null},getSizeHint:function(e){var t=this.__P_86_3;if(t)return t;if(!1===e)return null;t=this.__P_86_3=this._computeSizeHint();this._hasHeightForWidth()&&this.__P_86_0&&null==this.getHeight()&&(t.height=this.__P_86_0);t.minWidth>t.width&&(t.width=t.minWidth);t.maxWidtht.height&&(t.height=t.minHeight);t.maxHeight=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();s=e.done;return e},e:function(e){a=!0;o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);return"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&o.setStyles(u);if(s||i.local||i.margin)if(this.__P_23_5&&this.hasLayoutChildren()){var l=this.getInsets(),c=n-l.left-l.right,h=r-l.top-l.bottom,d=this.getDecorator(),f={left:0,right:0,top:0,bottom:0};d&&(f=(d=qx.theme.manager.Decoration.getInstance().resolve(d)).getPadding());var _={top:this.getPaddingTop()+f.top,right:this.getPaddingRight()+f.right,bottom:this.getPaddingBottom()+f.bottom,left:this.getPaddingLeft()+f.left};this.__P_23_5.renderLayout(c,h,_)}else if(this.hasLayoutChildren())throw new Error("At least one child in control "+this._findTopControl()+" requires a layout, but no one was defined!");i.position&&this.hasListener("move")&&this.fireDataEvent("move",this.getBounds());i.size&&this.hasListener("resize")&&this.fireDataEvent("resize",this.getBounds());delete this._updateInsets;return i},__P_23_6:null,clearSeparators:function(){var e=this.__P_23_6;if(e){for(var t,n=qx.ui.core.Widget.__P_23_2,r=this.getContentElement(),i=0,o=e.length;in&&null!=n&&(t=n)}if(null==i){i=l;null!=s.minHeight&&(i+=s.minHeight)>o&&null!=o&&(i=o)}null==n&&(null==s.maxWidth?n=1/0:(n=s.maxWidth+u)0},__P_23_1:function(){var e=this._createContentElement();e.connectObject(this);e.setStyles({"touch-action":"none","-ms-touch-action":"none"});var t={zIndex:10,boxSizing:"border-box"};qx.ui.root.Inline&&this instanceof qx.ui.root.Inline||(t.position="absolute");e.setStyles(t);return e},_createContentElement:function(){return new qx.html.Element("div",{overflowX:"hidden",overflowY:"hidden"})},getContentElement:function(){return this.__P_23_0},__P_23_7:null,getLayoutChildren:function(){var e,t=this.__P_23_7;if(!t)return this.__P_23_8;for(var n=0,r=t.length;n=0;t--)this.__P_23_10(e[t]);qx.ui.core.queue.Layout.add(this);return e},_afterAddChild:null,_afterRemoveChild:null,__P_23_9:function(e,t){var n=e.getLayoutParent();n&&n!=this&&n._remove(e);e.setLayoutParent(this);t?e.setLayoutProperties(t):this.updateLayoutProperties();this._afterAddChild&&this._afterAddChild(e)},__P_23_10:function(e){if(e.getLayoutParent()!==this)throw new Error("Remove Error: "+e+" is not a child of this widget!");e.setLayoutParent(null);this.__P_23_5&&this.__P_23_5.invalidateChildrenCache();qx.ui.core.queue.Layout.add(this);this._afterRemoveChild&&this._afterRemoveChild(e)},capture:function(e){this.getContentElement().capture(e)},releaseCapture:function(){this.getContentElement().releaseCapture()},isCapturing:function(){var e=this.getContentElement().getDomElement();return!!e&&e==qx.event.Registration.getManager(e).getDispatcher(qx.event.dispatch.MouseCapture).getCaptureElement()},_applyPadding:function(e,t,n){this._updateInsets=!0;qx.ui.core.queue.Layout.add(this);this.__P_23_11(n,e)},__P_23_11:function(e,t){var n=this.getContentElement(),r=this.getDecorator();if(r=qx.theme.manager.Decoration.getInstance().resolve(r)){var i=qx.Bootstrap.firstLow(e.replace("padding",""));t+=r.getPadding()[i]||0}n.setStyle(e,t+"px")},_applyDecorator:function(e,t){var n=this.getContentElement();if(t){t=qx.theme.manager.Decoration.getInstance().getCssClassName(t);n.removeClass(t)}if(e){e=qx.theme.manager.Decoration.getInstance().addCssClass(e);n.addClass(e)}(e||t)&&qx.ui.core.queue.Layout.add(this)},_applyToolTipText:function(e,t){var n=this;if(!this.__P_23_4){var r=qx.locale.Manager.getInstance();this.__P_23_4=r.addListener("changeLocale",(function(){var e=n.getToolTipText();e&&e.translate&&n.setToolTipText(e.translate())}))}},_applyTextColor:function(e,t){},_applyZIndex:function(e,t){this.getContentElement().setStyle("zIndex",null==e?0:e)},_applyVisibility:function(e,t){var n=this.getContentElement();"visible"===e?n.show():n.hide();var r=this.$$parent;!r||null!=t&&null!=e&&"excluded"!==t&&"excluded"!==e||r.invalidateLayoutChildren();qx.ui.core.queue.Visibility.add(this)},_applyOpacity:function(e,t){this.getContentElement().setStyle("opacity",1==e?null:e)},_applyCursor:function(e,t){null!=e||this.isSelectable()||(e="default");this.getContentElement().setStyle("cursor",e,"opera"==qx.core.Environment.get("engine.name"))},_applyBackgroundColor:function(e,t){var n=this.getBackgroundColor(),r=this.getContentElement(),i=qx.theme.manager.Color.getInstance().resolve(n);r.setStyle("backgroundColor",i)},_applyFont:function(e,t){},_onChangeTheme:function(){if(!this.isDisposed()){qx.ui.core.Widget.superclass.prototype._onChangeTheme.call(this);this.updateAppearance();var e=this.getDecorator();this._applyDecorator(null,e);this._applyDecorator(e);e=this.getFont();qx.lang.Type.isString(e)&&this._applyFont(e,e);e=this.getTextColor();qx.lang.Type.isString(e)&&this._applyTextColor(e,e);e=this.getBackgroundColor();qx.lang.Type.isString(e)&&this._applyBackgroundColor(e,e)}},__P_23_12:null,$$stateChanges:null,_forwardStates:null,hasState:function(e){var t=this.__P_23_12;return!!t&&!!t[e]},addState:function(e){var t=this.__P_23_12;t||(t=this.__P_23_12={});if(!t[e]){this.__P_23_12[e]=!0;"hovered"===e?this.syncAppearance():qx.ui.core.queue.Visibility.isVisible(this)?qx.ui.core.queue.Appearance.add(this):this.$$stateChanges=!0;var n=this._forwardStates,r=this.__P_23_13;if(n&&n[e]&&r){for(var i in r)r[i]instanceof qx.ui.core.Widget&&r[i].addState(e)}}},removeState:function(e){var t=this.__P_23_12;if(t&&t[e]){delete this.__P_23_12[e];"hovered"===e?this.syncAppearance():qx.ui.core.queue.Visibility.isVisible(this)?qx.ui.core.queue.Appearance.add(this):this.$$stateChanges=!0;var n=this._forwardStates,r=this.__P_23_13;if(n&&n[e]&&r)for(var i in r){var o=r[i];o instanceof qx.ui.core.Widget&&o.removeState(e)}}},replaceState:function(e,t){var n=this.__P_23_12;n||(n=this.__P_23_12={});n[t]||(n[t]=!0);n[e]&&delete n[e];qx.ui.core.queue.Visibility.isVisible(this)?qx.ui.core.queue.Appearance.add(this):this.$$stateChanges=!0;var r=this._forwardStates,i=this.__P_23_13;if(r&&r[t]&&i)for(var o in i){var s=i[o];s instanceof qx.ui.core.Widget&&s.replaceState(e,t)}},__P_23_14:null,__P_23_15:null,syncAppearance:function(){var e=this.__P_23_12,t=this.__P_23_14,n=qx.theme.manager.Appearance.getInstance(),r=qx.core.Property.$$method.setThemed,i=qx.core.Property.$$method.resetThemed;if(this.__P_23_15){delete this.__P_23_15;if(t){var o=n.styleFrom(t,e,null,this.getAppearance());t=null}}if(!t){var s=this,a=[];do{a.push(s.$$subcontrol||s.getAppearance())}while(s=s.$$subparent);t=a.reverse().join("/").replace(/#[0-9]+/g,"");this.__P_23_14=t}var u=n.styleFrom(t,e,null,this.getAppearance());if(u){if(o)for(var l in o)void 0===u[l]&&this[i[l]]();for(var l in u)void 0===u[l]?this[i[l]]():this[r[l]](u[l])}else if(o)for(var l in o)this[i[l]]();this.fireDataEvent("syncAppearance",this.__P_23_12)},_applyAppearance:function(e,t){this.updateAppearance()},checkAppearanceNeeds:function(){if(this.__P_23_3){if(this.$$stateChanges){qx.ui.core.queue.Appearance.add(this);delete this.$$stateChanges}}else{qx.ui.core.queue.Appearance.add(this);this.__P_23_3=!0}},updateAppearance:function(){this.__P_23_15=!0;qx.ui.core.queue.Appearance.add(this);var e=this.__P_23_13;if(e){var t;for(var n in e)(t=e[n])instanceof qx.ui.core.Widget&&t.updateAppearance()}},syncWidget:function(e){},getEventTarget:function(){for(var e=this;e.getAnonymous();)if(!(e=e.getLayoutParent()))return null;return e},getFocusTarget:function(){var e=this;if(!e.getEnabled())return null;for(;e.getAnonymous()||!e.getFocusable();)if(!(e=e.getLayoutParent())||!e.getEnabled())return null;return e},getFocusElement:function(){return this.getContentElement()},isTabable:function(){return!!this.getContentElement().getDomElement()&&this.isFocusable()},_applyFocusable:function(e,t){var n=this.getFocusElement();if(e){var r=this.getTabIndex();null==r&&(r=1);n.setAttribute("tabIndex",r);n.setStyle("outline","none")}else n.isNativelyFocusable()?n.setAttribute("tabIndex",-1):t&&n.setAttribute("tabIndex",null)},_applyKeepFocus:function(e){this.getFocusElement().setAttribute("qxKeepFocus",e?"on":null)},_applyKeepActive:function(e){this.getContentElement().setAttribute("qxKeepActive",e?"on":null)},_applyTabIndex:function(e){if(null==e)e=1;else if(e<1||e>32e3)throw new Error("TabIndex property must be between 1 and 32000");this.getFocusable()&&null!=e&&this.getFocusElement().setAttribute("tabIndex",e)},_applySelectable:function(e,t){null!==t&&this._applyCursor(this.getCursor());this.getContentElement().setSelectable(e)},_applyEnabled:function(e,t){if(!1===e){this.addState("disabled");this.removeState("hovered");if(this.isFocusable()){this.removeState("focused");this._applyFocusable(!1,!0)}this.isDraggable()&&this._applyDraggable(!1,!0);this.isDroppable()&&this._applyDroppable(!1,!0)}else{this.removeState("disabled");this.isFocusable()&&this._applyFocusable(!0,!1);this.isDraggable()&&this._applyDraggable(!0,!1);this.isDroppable()&&this._applyDroppable(!0,!1)}},_applyNativeContextMenu:function(e,t,n){},_applyContextMenu:function(e,t){if(t){t.removeState("contextmenu");t.getOpener()==this&&t.resetOpener();if(!e){this.removeListener("contextmenu",this._onContextMenuOpen);this.removeListener("longtap",this._onContextMenuOpen);t.removeListener("changeVisibility",this._onBeforeContextMenuOpen,this)}}if(e){e.setOpener(this);e.addState("contextmenu");if(!t){this.addListener("contextmenu",this._onContextMenuOpen);this.addListener("longtap",this._onContextMenuOpen);e.addListener("changeVisibility",this._onBeforeContextMenuOpen,this)}}},_onContextMenuOpen:function(e){if("longtap"!=e.getType()||"touch"===e.getPointerType()){this.getContextMenu().openAtPointer(e);e.stop()}},_onBeforeContextMenuOpen:function(e){"visible"==e.getData()&&this.hasListener("beforeContextmenuOpen")&&this.fireDataEvent("beforeContextmenuOpen",e)},_onStopEvent:function(e){e.stopPropagation()},_getDragDropCursor:function(){return qx.ui.core.DragDropCursor.getInstance()},_applyDraggable:function(e,t){this.isEnabled()||!0!==e||(e=!1);this._getDragDropCursor();if(e){this.addListener("dragstart",this._onDragStart);this.addListener("drag",this._onDrag);this.addListener("dragend",this._onDragEnd);this.addListener("dragchange",this._onDragChange)}else{this.removeListener("dragstart",this._onDragStart);this.removeListener("drag",this._onDrag);this.removeListener("dragend",this._onDragEnd);this.removeListener("dragchange",this._onDragChange)}this.getContentElement().setAttribute("qxDraggable",e?"on":null)},_applyDroppable:function(e,t){this.isEnabled()||!0!==e||(e=!1);this.getContentElement().setAttribute("qxDroppable",e?"on":null)},_onDragStart:function(e){this._getDragDropCursor().placeToPointer(e);this.getApplicationRoot().setGlobalCursor("default")},_onDrag:function(e){this._getDragDropCursor().placeToPointer(e)},_onDragEnd:function(e){this._getDragDropCursor().moveTo(-1e3,-1e3);this.getApplicationRoot().resetGlobalCursor()},_onDragChange:function(e){var t=this._getDragDropCursor(),n=e.getCurrentAction();n?t.setAction(n):t.resetAction()},visualizeFocus:function(){this.addState("focused")},visualizeBlur:function(){this.removeState("focused")},scrollChildIntoView:function(e,t,n,r){r=void 0===r||r;var i,o=qx.ui.core.queue.Layout;if(r){r=!o.isScheduled(e);i=e.getLayoutParent();r&&i&&(r=!o.isScheduled(i))&&i.getChildren().forEach((function(e){r=r&&!o.isScheduled(e)}))}this.scrollChildIntoViewX(e,t,r);this.scrollChildIntoViewY(e,n,r)},scrollChildIntoViewX:function(e,t,n){this.getContentElement().scrollChildIntoViewX(e.getContentElement(),t,n)},scrollChildIntoViewY:function(e,t,n){this.getContentElement().scrollChildIntoViewY(e.getContentElement(),t,n)},focus:function(){if(this.isFocusable())this.getFocusElement().focus();else if(qx.ui.core.Widget.UNFOCUSABLE_WIDGET_FOCUS_BLUR_ERROR)throw new Error("Widget is not focusable!")},blur:function(){if(this.isFocusable())this.getFocusElement().blur();else if(qx.ui.core.Widget.UNFOCUSABLE_WIDGET_FOCUS_BLUR_ERROR)throw new Error("Widget is not focusable!")},activate:function(){this.getContentElement().activate()},deactivate:function(){this.getContentElement().deactivate()},tabFocus:function(){this.getFocusElement().focus()},hasChildControl:function(e){return!!this.__P_23_13&&!!this.__P_23_13[e]},__P_23_13:null,_getCreatedChildControls:function(){return this.__P_23_13},getChildControl:function(e,t){if(!this.__P_23_13){if(t)return null;this.__P_23_13={}}var n=this.__P_23_13[e];return n||(!0===t?null:this._createChildControl(e))},_showChildControl:function(e){var t=this.getChildControl(e);t.show();return t},_excludeChildControl:function(e){var t=this.getChildControl(e,!0);t&&t.exclude()},_isChildControlVisible:function(e){var t=this.getChildControl(e,!0);return!!t&&t.isVisible()},_releaseChildControl:function(e){var t=this.getChildControl(e,!1);if(!t)throw new Error("Unsupported control: "+e);delete t.$$subcontrol;delete t.$$subparent;var n=this.__P_23_12,r=this._forwardStates;if(n&&r&&t instanceof qx.ui.core.Widget)for(var i in n)r[i]&&t.removeState(i);delete this.__P_23_13[e];return t},_createChildControl:function(e){if(this.__P_23_13){if(this.__P_23_13[e])throw new Error("Child control '"+e+"' already created!")}else this.__P_23_13={};var t=e.indexOf("#");try{if(-1==t)var n=this._createChildControlImpl(e);else n=this._createChildControlImpl(e.substring(0,t),e.substring(t+1,e.length))}catch(t){t.message="Exception while creating child control '"+e+"' of widget "+this.toString()+": "+t.message;throw t}if(!n)throw new Error("Unsupported control: "+e);n.$$subcontrol=e;n.$$subparent=this;var r=this.__P_23_12,i=this._forwardStates;if(r&&i&&n instanceof qx.ui.core.Widget)for(var o in r)i[o]&&n.addState(o);if(n.$$resyncNeeded){delete n.$$resyncNeeded;n.updateAppearance()}this.fireDataEvent("createChildControl",n);return this.__P_23_13[e]=n},_createChildControlImpl:function(e,t){return null},_disposeChildControls:function(){var e=this.__P_23_13;if(e){var t=qx.ui.core.Widget;for(var n in e){var r=e[n];t.contains(this,r)?r.dispose():r.destroy()}delete this.__P_23_13}},_findTopControl:function(){for(var e=this;e;){if(!e.$$subparent)return e;e=e.$$subparent}return null},getSubcontrolId:function(){return this.$$subcontrol||null},getContentLocation:function(e){var t=this.getContentElement().getDomElement();return t?qx.bom.element.Location.get(t,e):null},setDomLeft:function(e){var t=this.getContentElement().getDomElement();if(!t)throw new Error("DOM element is not yet created!");t.style.left=e+"px"},setDomTop:function(e){var t=this.getContentElement().getDomElement();if(!t)throw new Error("DOM element is not yet created!");t.style.top=e+"px"},setDomPosition:function(e,t){var n=this.getContentElement().getDomElement();if(!n)throw new Error("DOM element is not yet created!");n.style.left=e+"px";n.style.top=t+"px"},setAriaLabel:function(e){this.getContentElement().setAttribute("aria-label",e)},addAriaLabelledBy:function(){for(var e=arguments.length,t=new Array(e),n=0;n-1||e.preventDefault()}}},_applyNativeHelp:function(e,t){if(qx.core.Environment.get("event.help")){!1===t&&qx.bom.Event.removeNativeListener(document,"help",(function(){return!1}));!1===e&&qx.bom.Event.addNativeListener(document,"help",(function(){return!1}))}}},destruct:function(){this.__P_108_1=null},defer:function(e,t){qx.ui.core.MChildrenHandling.remap(t)}});qx.ui.root.Abstract.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.bom.element.Location":{},"qx.ui.core.Widget":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.FocusHandler",{extend:qx.core.Object,type:"singleton",construct:function(){qx.core.Object.constructor.call(this);this.__P_46_0={}},properties:{useTabNavigation:{check:"Boolean",init:!0}},members:{__P_46_0:null,__P_46_1:null,__P_46_2:null,__P_46_3:null,connectTo:function(e){e.addListener("keypress",this.__P_46_4,this);e.addListener("focusin",this._onFocusIn,this,!0);e.addListener("focusout",this._onFocusOut,this,!0);e.addListener("activate",this._onActivate,this,!0);e.addListener("deactivate",this._onDeactivate,this,!0)},addRoot:function(e){this.__P_46_0[e.toHashCode()]=e},removeRoot:function(e){delete this.__P_46_0[e.toHashCode()]},getActiveWidget:function(){return this.__P_46_1},isActive:function(e){return this.__P_46_1==e},getFocusedWidget:function(){return this.__P_46_2},isFocused:function(e){return this.__P_46_2==e},isFocusRoot:function(e){return!!this.__P_46_0[e.toHashCode()]},_onActivate:function(e){var t=e.getTarget();this.__P_46_1=t;var n=this.__P_46_5(t);n!=this.__P_46_3&&(this.__P_46_3=n)},_onDeactivate:function(e){var t=e.getTarget();this.__P_46_1==t&&(this.__P_46_1=null)},_onFocusIn:function(e){var t=e.getTarget();if(t!=this.__P_46_2){this.__P_46_2=t;t.visualizeFocus()}},_onFocusOut:function(e){var t=e.getTarget();if(t==this.__P_46_2){this.__P_46_2=null;t.visualizeBlur()}},__P_46_4:function(e){if("Tab"==e.getKeyIdentifier()&&this.isUseTabNavigation()&&this.__P_46_3){e.stopPropagation();e.preventDefault();var t=this.__P_46_2;if(e.isShiftPressed())n=t?this.__P_46_8(t):this.__P_46_9();else var n=t?this.__P_46_6(t):this.__P_46_7();n&&n.tabFocus()}},__P_46_5:function(e){for(var t=this.__P_46_0;e;){if(t[e.toHashCode()])return e;e=e.getLayoutParent()}return null},__P_46_10:function(e,t){if(e===t)return 0;var n=e.getTabIndex()||0,r=t.getTabIndex()||0;if(n!=r)return n-r;var i=e.getContentElement().getDomElement(),o=t.getContentElement().getDomElement(),s=qx.bom.element.Location,a=s.get(i),u=s.get(o);if(a.top!=u.top)return a.top-u.top;if(a.left!=u.left)return a.left-u.left;var l=e.getZIndex(),c=t.getZIndex();return l!=c?l-c:0},__P_46_7:function(){return this.__P_46_11(this.__P_46_3,null)},__P_46_9:function(){return this.__P_46_12(this.__P_46_3,null)},__P_46_6:function(e){var t=this.__P_46_3;if(t==e)return this.__P_46_7();for(;e&&e.getAnonymous();)e=e.getLayoutParent();if(null==e)return[];var n=[];this.__P_46_13(t,e,n);n.sort(this.__P_46_10);return n.length>0?n[0]:this.__P_46_7()},__P_46_8:function(e){var t=this.__P_46_3;if(t==e)return this.__P_46_9();for(;e&&e.getAnonymous();)e=e.getLayoutParent();if(null==e)return[];var n=[];this.__P_46_14(t,e,n);n.sort(this.__P_46_10);var r=n.length;return r>0?n[r-1]:this.__P_46_9()},__P_46_13:function(e,t,n){for(var r,i=e.getLayoutChildren(),o=0,s=i.length;o0&&n.push(r);this.__P_46_14(r,t,n)}},__P_46_11:function(e,t){for(var n,r=e.getLayoutChildren(),i=0,o=r.length;i0)&&(t=n);t=this.__P_46_12(n,t)}return t}},destruct:function(){this._disposeMap("__P_46_0");this.__P_46_2=this.__P_46_1=this.__P_46_3=null}});qx.ui.core.FocusHandler.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.lang.Array":{},"qx.ui.core.queue.Manager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.queue.Visibility",{statics:{__P_88_0:[],__P_88_1:{},__P_88_2:{},remove:function(e){if(this.__P_88_1[e.toHashCode()]){delete this.__P_88_1[e.toHashCode()];qx.lang.Array.remove(this.__P_88_0,e)}delete this.__P_88_2[e.toHashCode()]},isVisible:function(e){return this.__P_88_2[e.toHashCode()]||!1},__P_88_3:function(e){var t,n=this.__P_88_2,r=e.toHashCode();if(e.isExcluded())t=!1;else{var i=e.$$parent;t=i?this.__P_88_3(i):e.isRootWidget()}return n[r]=t},add:function(e){if(!this.__P_88_1[e.toHashCode()]){this.__P_88_0.unshift(e);this.__P_88_1[e.toHashCode()]=e;qx.ui.core.queue.Manager.scheduleFlush("visibility")}},flush:function(){for(var e=this.__P_88_0,t=this.__P_88_2,n=e.length-1;n>=0;n--){null!=t[o=e[n].toHashCode()]&&e[n].addChildrenToQueue(e)}var r={};for(n=e.length-1;n>=0;n--){r[o=e[n].toHashCode()]=t[o];t[o]=null}for(n=e.length-1;n>=0;n--){var i=e[n],o=i.toHashCode();e.splice(n,1);null==t[o]&&this.__P_88_3(i);t[o]&&t[o]!=r[o]&&i.checkAppearanceNeeds()}this.__P_88_0=[];this.__P_88_1={}}}});qx.ui.core.queue.Visibility.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Window":{require:!0},"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.root.Abstract":{construct:!0,require:!0},"qx.dom.Node":{construct:!0},"qx.event.Registration":{construct:!0},"qx.ui.layout.Canvas":{construct:!0},"qx.ui.core.queue.Layout":{construct:!0},"qx.ui.core.FocusHandler":{construct:!0},"qx.bom.client.OperatingSystem":{construct:!0,require:!0},"qx.ui.core.Widget":{construct:!0},"qx.bom.client.Engine":{require:!0},"qx.html.Root":{},"qx.bom.Viewport":{},"qx.bom.element.Style":{},"qx.dom.Element":{}},environment:{provided:[],required:{"os.name":{construct:!0,className:"qx.bom.client.OperatingSystem"},"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.root.Application",{extend:qx.ui.root.Abstract,construct:function(e){this.__P_35_0=qx.dom.Node.getWindow(e);this.__P_35_1=e;qx.ui.root.Abstract.constructor.call(this);qx.event.Registration.addListener(this.__P_35_0,"resize",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("-webkit-backface-visibility","hidden");this.addListener("touchmove",this.__P_35_2,this);"ios"==qx.core.Environment.get("os.name")&&this.getContentElement().addListener("tap",(function(e){for(var t=qx.ui.core.Widget.getWidgetByElement(e.getTarget());t&&!t.isFocusable();)t=t.getLayoutParent();t&&t.isFocusable()&&t.getContentElement().focus()}),this,!0)},members:{__P_35_0:null,__P_35_1:null,_createContentElement:function(){var e=this.__P_35_1;"webkit"==qx.core.Environment.get("engine.name")&&(e.body||window.alert("The application could not be started due to a missing body tag in the HTML file!"));var t=e.documentElement.style,n=e.body.style;t.overflow=n.overflow="hidden";t.padding=t.margin=n.padding=n.margin="0px";t.width=t.height=n.width=n.height="100%";var r=e.createElement("div");e.body.appendChild(r);var i=new qx.html.Root(r);i.setStyles({position:"absolute",overflowX:"hidden",overflowY:"hidden"});i.connectObject(this);return i},_onResize:function(e){qx.ui.core.queue.Layout.add(this);qx.ui.popup&&qx.ui.popup.Manager&&qx.ui.popup.Manager.getInstance().hideAll();qx.ui.menu&&qx.ui.menu.Manager&&qx.ui.menu.Manager.getInstance().hideAll()},_computeSizeHint:function(){var e=qx.bom.Viewport.getWidth(this.__P_35_0),t=qx.bom.Viewport.getHeight(this.__P_35_0);return{minWidth:e,width:e,maxWidth:e,minHeight:t,height:t,maxHeight:t}},_applyPadding:function(e,t,n){if(e&&("paddingTop"==n||"paddingLeft"==n))throw new Error("The root widget does not support 'left', or 'top' paddings!");qx.ui.root.Application.superclass.prototype._applyPadding.call(this,e,t,n)},__P_35_2:function(e){for(var t=e.getOriginalTarget();t&&t.style;){var n="none"!==qx.bom.element.Style.get(t,"touch-action")&&""!==qx.bom.element.Style.get(t,"touch-action"),r="touch"===qx.bom.element.Style.get(t,"-webkit-overflow-scrolling"),i="hidden"!=qx.bom.element.Style.get(t,"overflowX"),o="hidden"!=qx.bom.element.Style.get(t,"overflowY");if(n||r||o||i)return;t=t.parentNode}e.preventDefault()},destroy:function(){if(!this.$$disposed){qx.dom.Element.remove(this.getContentElement().getDomElement());qx.ui.root.Application.superclass.prototype.destroy.call(this)}}},destruct:function(){this.__P_35_0=this.__P_35_1=null}});qx.ui.root.Application.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.decoration.IDecorator",{members:{getStyles:function(){},getPadding:function(){},getInsets:function(){}}});qx.ui.decoration.IDecorator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.ui.decoration.IDecorator":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.decoration.Abstract",{extend:qx.core.Object,implement:[qx.ui.decoration.IDecorator],type:"abstract",members:{__P_36_0:null,_getDefaultInsets:function(){throw new Error("Abstract method called.")},_isInitialized:function(){throw new Error("Abstract method called.")},_resetInsets:function(){this.__P_36_0=null},getInsets:function(){this.__P_36_0||(this.__P_36_0=this._getDefaultInsets());return this.__P_36_0}},destruct:function(){this.__P_36_0=null}});qx.ui.decoration.Abstract.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.theme.manager.Color":{}},environment:{provided:[],required:{"qx.theme":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBackgroundColor",{properties:{backgroundColor:{check:"Color",nullable:!0,apply:"_applyBackgroundColor"}},members:{_styleBackgroundColor:function(e){var t=this.getBackgroundColor();t&&qx.core.Environment.get("qx.theme")&&(t=qx.theme.manager.Color.getInstance().resolve(t));t&&(e["background-color"]=t)},_applyBackgroundColor:function(){}}});qx.ui.decoration.MBackgroundColor.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBorderRadius",{properties:{radiusTopLeft:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radiusTopRight:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radiusBottomLeft:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radiusBottomRight:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radius:{group:["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"],mode:"shorthand"}},members:{_styleBorderRadius:function(e){e["-webkit-background-clip"]="padding-box";e["background-clip"]="padding-box";var t=!1,n=this.getRadiusTopLeft();if(n>0){t=!0;e["-moz-border-radius-topleft"]=n+"px";e["-webkit-border-top-left-radius"]=n+"px";e["border-top-left-radius"]=n+"px"}if((n=this.getRadiusTopRight())>0){t=!0;e["-moz-border-radius-topright"]=n+"px";e["-webkit-border-top-right-radius"]=n+"px";e["border-top-right-radius"]=n+"px"}if((n=this.getRadiusBottomLeft())>0){t=!0;e["-moz-border-radius-bottomleft"]=n+"px";e["-webkit-border-bottom-left-radius"]=n+"px";e["border-bottom-left-radius"]=n+"px"}if((n=this.getRadiusBottomRight())>0){t=!0;e["-moz-border-radius-bottomright"]=n+"px";e["-webkit-border-bottom-right-radius"]=n+"px";e["border-bottom-right-radius"]=n+"px"}t&&"webkit"==qx.core.Environment.get("engine.name")?e["-webkit-background-clip"]="padding-box":e["background-clip"]="padding-box"},_applyBorderRadius:function(){}}});qx.ui.decoration.MBorderRadius.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.bom.client.Css":{require:!0},"qx.bom.Style":{},"qx.theme.manager.Color":{}},environment:{provided:[],required:{"css.boxshadow":{className:"qx.bom.client.Css"},"qx.theme":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBoxShadow",{properties:{shadowHorizontalLength:{nullable:!0,apply:"_applyBoxShadow"},shadowVerticalLength:{nullable:!0,apply:"_applyBoxShadow"},shadowBlurRadius:{nullable:!0,apply:"_applyBoxShadow"},shadowSpreadRadius:{nullable:!0,apply:"_applyBoxShadow"},shadowColor:{nullable:!0,apply:"_applyBoxShadow"},inset:{init:!1,apply:"_applyBoxShadow"},shadowLength:{group:["shadowHorizontalLength","shadowVerticalLength"],mode:"shorthand"}},members:{_styleBoxShadow:function(e){var t=qx.core.Environment.get("css.boxshadow");if(t&&(null!=this.getShadowVerticalLength()||null!=this.getShadowHorizontalLength())){t=qx.bom.Style.getCssName(t);var n=null;qx.core.Environment.get("qx.theme")&&(n=qx.theme.manager.Color.getInstance());(function(r,i,o,s,a,u){for(var l=0;l0&&(e["border-top"]=s+"px "+this.getStyleTop()+" "+(n||""));(s=this.getWidthRight())>0&&(e["border-right"]=s+"px "+this.getStyleRight()+" "+(r||""));(s=this.getWidthBottom())>0&&(e["border-bottom"]=s+"px "+this.getStyleBottom()+" "+(i||""));(s=this.getWidthLeft())>0&&(e["border-left"]=s+"px "+this.getStyleLeft()+" "+(o||""));e.position="absolute"},_getDefaultInsetsForBorder:function(){return{top:this.getWidthTop(),right:this.getWidthRight(),bottom:this.getWidthBottom(),left:this.getWidthLeft()}},_applyWidth:function(){this._applyStyle();this._resetInsets()},_applyStyle:function(){}}});qx.ui.decoration.MSingleBorder.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.lang.Type":{},"qx.util.AliasManager":{},"qx.util.ResourceManager":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBackgroundImage",{properties:{backgroundImage:{nullable:!0,apply:"_applyBackgroundImage"},backgroundRepeat:{init:"repeat",apply:"_applyBackgroundImage"},backgroundPositionX:{nullable:!0,apply:"_applyBackgroundPosition"},backgroundPositionY:{nullable:!0,apply:"_applyBackgroundPosition"},backgroundOrigin:{nullable:!0,apply:"_applyBackgroundImage"},backgroundPosition:{group:["backgroundPositionY","backgroundPositionX"]},orderGradientsFront:{check:"Boolean",init:!1}},members:{_styleBackgroundImage:function(e){if(this.getBackgroundImage()){"background"in e?qx.lang.Type.isArray(e.background)||(e.background=[e.background]):e.background=[];(function(t,n,r,i,o){for(var s=0;s0&&(e["border-top"]=s+"px "+this.getStyleTop()+" "+t.top);(s=this.getWidthRight())>0&&(e["border-right"]=s+"px "+this.getStyleRight()+" "+t.right);(s=this.getWidthBottom())>0&&(e["border-bottom"]=s+"px "+this.getStyleBottom()+" "+t.bottom);(s=this.getWidthLeft())>0&&(e["border-left"]=s+"px "+this.getStyleLeft()+" "+t.left);var a=this.getInnerOpacity();a<1&&this.__P_37_2(n,a);if(r.top>0||r.right>0||r.bottom>0||r.left>0){var u=(r.top||0)+"px solid "+n.top,l=(r.right||0)+"px solid "+n.right,c=(r.bottom||0)+"px solid "+n.bottom,h=(r.left||0)+"px solid "+n.left;e[":before"]={width:"100%",height:"100%",position:"absolute",content:'""',"border-top":u,"border-right":l,"border-bottom":c,"border-left":h,left:0,top:0};var d=qx.bom.Style.getCssName(qx.core.Environment.get("css.boxsizing"));e[":before"][d]="border-box";var f=qx.core.Environment.get("css.borderradius");if(f){f=qx.bom.Style.getCssName(f);e[":before"][f]="inherit"}var _=[];if(n.top&&r.top&&n.top==n.bottom&&n.top==n.right&&n.top==n.left&&r.top==r.bottom&&r.top==r.right&&r.top==r.left)_.push("inset 0 0 0 "+r.top+"px "+n.top);else{n.top&&_.push("inset 0 "+(r.top||0)+"px "+n.top);n.right&&_.push("inset -"+(r.right||0)+"px 0 "+n.right);n.bottom&&_.push("inset 0 -"+(r.bottom||0)+"px "+n.bottom);n.left&&_.push("inset "+(r.left||0)+"px 0 "+n.left)}_.length>0&&i&&(e[i=qx.bom.Style.getCssName(i)]?e[i]+=","+_.join(","):e[i]=_.join(","))}else e[":before"]={border:0}},__P_37_2:function(e,t){if(qx.core.Environment.get("css.rgba"))for(var n in e){var r=qx.util.ColorUtil.stringToRgb(e[n]);r.push(t);var i=qx.util.ColorUtil.rgbToRgbString(r);e[n]=i}},_applyDoubleBorder:function(){},__P_37_0:function(){return{top:this.getWidthTop()+this.getInnerWidthTop(),right:this.getWidthRight()+this.getInnerWidthRight(),bottom:this.getWidthBottom()+this.getInnerWidthBottom(),left:this.getWidthLeft()+this.getInnerWidthLeft()}}}});qx.ui.decoration.MDoubleBorder.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.bom.client.Css":{require:!0},"qx.lang.Type":{},"qx.util.ColorUtil":{},"qx.theme.manager.Color":{}},environment:{provided:[],required:{"css.gradient.legacywebkit":{className:"qx.bom.client.Css"},"css.gradient.linear":{className:"qx.bom.client.Css"},"css.borderradius":{className:"qx.bom.client.Css"},"qx.theme":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MLinearBackgroundGradient",{properties:{startColor:{nullable:!0,apply:"_applyLinearBackgroundGradient"},endColor:{nullable:!0,apply:"_applyLinearBackgroundGradient"},orientation:{init:"vertical",apply:"_applyLinearBackgroundGradient"},startColorPosition:{init:0,apply:"_applyLinearBackgroundGradient"},endColorPosition:{init:100,apply:"_applyLinearBackgroundGradient"},colorPositionUnit:{init:"%",apply:"_applyLinearBackgroundGradient"},gradientStart:{group:["startColor","startColorPosition"],mode:"shorthand"},gradientEnd:{group:["endColor","endColorPosition"],mode:"shorthand"}},members:{_styleLinearBackgroundGradient:function(e){var t=[];if(this.getStartColor()&&this.getEndColor()){var n=this.__P_38_0;qx.core.Environment.get("css.gradient.legacywebkit")?n=this.__P_38_1:!qx.core.Environment.get("css.gradient.linear")&&qx.core.Environment.get("css.borderradius")?n=this.__P_38_2:qx.core.Environment.get("css.gradient.linear")||(n=this.__P_38_3);(function(r,i,o,s,a,u){for(var l=0;l=71&&(e.transform||(e.transform="translateZ(0)"));t=qx.bom.Style.getCssName(t.name);(function(n,r,i,o){for(var s=0;st[o]&&(t[o]=r[o])}return null!=t.top?t:{top:0,right:0,bottom:0,left:0}},_isInitialized:function(){return this.__P_5_0},_getExtendedPropertyValueArrays:function(e){for(var t=e.map((function(e){var t=this.get(e);qx.lang.Type.isArray(t)||(t=[t]);return t}),this),n=Math.max.apply(Math,t.map((function(e){return e.length}))),r=0;r0&&(e=this.__P_6_3.pop())&&!e.isDisposed()&&e.isFocusable()&&e.focus();this.__P_6_2.length>0&&(e=this.__P_6_2.pop())&&!e.isDisposed()&&e.activate()},__P_6_10:function(){return new qx.html.Blocker(this.getColor(),this.getOpacity())},getBlockerElement:function(e){if(!this.__P_6_4){this.__P_6_4=this.__P_6_10();this.__P_6_4.setStyle("zIndex",15);e||(e=this._isRoot?this._widget:this._widget.getLayoutParent());e.getContentElement().add(this.__P_6_4);this.__P_6_4.exclude()}return this.__P_6_4},block:function(){this._block()},_block:function(e,t){if(this._isRoot||this._widget.getLayoutParent()){var n;n=this._isRoot||t?this._widget:this._widget.getLayoutParent();var r=this.getBlockerElement(n);null!=e&&r.setStyle("zIndex",e);this.__P_6_5++;if(this.__P_6_5<2){this._backupActiveWidget();var i=this._widget.getBounds();i&&this._updateBlockerBounds(i);r.include();t||r.activate();r.addListener("deactivate",this.__P_6_11,this);r.addListener("keypress",this.__P_6_12,this);r.addListener("keydown",this.__P_6_12,this);r.addListener("keyup",this.__P_6_12,this);this.fireEvent("blocked",qx.event.type.Event)}}else this.__P_6_7||(this.__P_6_7=this._widget.addListenerOnce("appear",this._block.bind(this,e)))},isBlocked:function(){return this.__P_6_5>0},unblock:function(){if(this.__P_6_7){this._widget.removeListenerById(this.__P_6_7);this.__P_6_7=null}if(this.isBlocked()){this.__P_6_5--;if(this.__P_6_5<1){this.__P_6_13();this.__P_6_5=0}}},forceUnblock:function(){if(this.__P_6_7){this._widget.removeListenerById(this.__P_6_7);this.__P_6_7=null}if(this.isBlocked()){this.__P_6_5=0;this.__P_6_13()}},__P_6_13:function(){this._restoreActiveWidget();var e=this.getBlockerElement();e.removeListener("deactivate",this.__P_6_11,this);e.removeListener("keypress",this.__P_6_12,this);e.removeListener("keydown",this.__P_6_12,this);e.removeListener("keyup",this.__P_6_12,this);e.exclude();this.fireEvent("unblocked",qx.event.type.Event)},blockContent:function(e){this._block(e,!0)},__P_6_12:function(e){"Tab"==e.getKeyIdentifier()&&e.stop()},__P_6_11:function(){this.getKeepBlockerActive()&&!qx.ui.core.FocusHandler.getInstance().isFocusRoot(this._widget)&&this.getBlockerElement().activate()}},destruct:function(){qx.theme.manager.Meta.getInstance().removeListener("changeTheme",this._onChangeTheme,this);this._widget.removeListener("resize",this.__P_6_0,this);this._widget.removeListener("move",this.__P_6_0,this);this._widget.removeListener("appear",this.__P_6_8,this);this._widget.removeListener("disappear",this.__P_6_1,this);this.__P_6_7&&this._widget.removeListenerById(this.__P_6_7);this._disposeObjects("__P_6_4","__P_6_6");this.__P_6_2=this.__P_6_3=this._widget=null}});qx.ui.core.Blocker.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MLayoutHandling",{members:{setLayout:function(e){this._setLayout(e)},getLayout:function(){return this._getLayout()}},statics:{remap:function(e){e.getLayout=e._getLayout;e.setLayout=e._setLayout}}});qx.ui.core.MLayoutHandling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MChildrenHandling":{require:!0},"qx.ui.core.MLayoutHandling":{require:!0},"qx.event.type.Data":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.container.Composite",{extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MLayoutHandling],construct:function(e){qx.ui.core.Widget.constructor.call(this);null!=e&&this._setLayout(e)},events:{addChildWidget:"qx.event.type.Data",removeChildWidget:"qx.event.type.Data"},members:{_afterAddChild:function(e){this.fireNonBubblingEvent("addChildWidget",qx.event.type.Data,[e])},_afterRemoveChild:function(e){this.fireNonBubblingEvent("removeChildWidget",qx.event.type.Data,[e])}}});qx.ui.container.Composite.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.ui.core.LayoutItem":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Abstract",{type:"abstract",extend:qx.core.Object,members:{__P_48_0:null,_invalidChildrenCache:null,__P_48_1:null,invalidateLayoutCache:function(){this.__P_48_0=null},renderLayout:function(e,t,n){this.warn("Missing renderLayout() implementation!")},getSizeHint:function(){return this.__P_48_0?this.__P_48_0:this.__P_48_0=this._computeSizeHint()},hasHeightForWidth:function(){return!1},getHeightForWidth:function(e){this.warn("Missing getHeightForWidth() implementation!");return null},_computeSizeHint:function(){return null},invalidateChildrenCache:function(){this._invalidChildrenCache=!0},verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true:function(e,t,n){},false:null}),_clearSeparators:function(){var e=this.__P_48_1;e instanceof qx.ui.core.LayoutItem&&e.clearSeparators()},_renderSeparator:function(e,t){this.__P_48_1.renderSeparator(e,t)},connectToWidget:function(e){if(e&&this.__P_48_1)throw new Error("It is not possible to manually set the connected widget.");this.__P_48_1=e;this.invalidateChildrenCache()},_getWidget:function(){return this.__P_48_1},_applyLayoutChange:function(){this.__P_48_1&&this.__P_48_1.scheduleLayoutUpdate()},_getLayoutChildren:function(){return this.__P_48_1.getLayoutChildren()}},destruct:function(){this.__P_48_1=this.__P_48_0=null}});qx.ui.layout.Abstract.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{construct:!0,require:!0},"qx.ui.layout.Util":{},"qx.theme.manager.Decoration":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Dock",{extend:qx.ui.layout.Abstract,construct:function(e,t,n,r){qx.ui.layout.Abstract.constructor.call(this);e&&this.setSpacingX(e);t&&this.setSpacingY(t);n&&this.setSeparatorX(n);r&&this.setSeparatorY(r)},properties:{sort:{check:["auto","y","x"],init:"auto",apply:"_applySort"},separatorX:{check:"Decorator",nullable:!0,apply:"_applyLayoutChange"},separatorY:{check:"Decorator",nullable:!0,apply:"_applyLayoutChange"},connectSeparators:{check:"Boolean",init:!1,apply:"_applyLayoutChange"},spacingX:{check:"Integer",init:0,apply:"_applyLayoutChange"},spacingY:{check:"Integer",init:0,apply:"_applyLayoutChange"}},members:{__P_7_0:null,__P_7_1:null,verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true:function(e,t,n){this.assertInArray(t,["flex","edge","height","width"],"The property '"+t+"' is not supported by the Dock layout!");if("edge"===t)this.assertInArray(n,["north","south","west","east","center"]);else if("flex"===t){this.assertNumber(n);this.assert(n>=0)}else this.assertMatch(n,qx.ui.layout.Util.PERCENT_VALUE)},false:null}),_applySort:function(){this._invalidChildrenCache=!0;this._applyLayoutChange()},__P_7_2:{north:1,south:2,west:3,east:4,center:5},__P_7_3:{1:"top",2:"bottom",3:"left",4:"right"},__P_7_4:function(){for(var e,t,n=this._getLayoutChildren(),r=n.length,i=[],o=[],s=[],a="y"===this.getSort(),u="x"===this.getSort(),l=0;lo.maxWidth&&(P=o.maxWidth));null!=s.height&&((E=Math.floor(t*parseFloat(s.height)/100))o.maxHeight&&(E=o.maxHeight));f[y]=P;_[y]=E;switch(h[y]){case 1:case 2:b+=E+i.getMarginTop()+i.getMarginBottom()+g;p.y&&(b+=p.y+g);break;case 3:case 4:v+=P+i.getMarginLeft()+i.getMarginRight()+m;p.x&&(v+=p.x+m);break;default:v+=P+i.getMarginLeft()+i.getMarginRight()+m;b+=E+i.getMarginTop()+i.getMarginBottom()+g;p.x&&(v+=p.x+m);p.y&&(b+=p.y+g)}}if(v!=e){r={};v0){o=i.getSizeHint();r[y]={min:o.minWidth,value:f[y],max:o.maxWidth,flex:a}}}}var x=l.computeFlexOffsets(r,e,v);for(var y in x){u=x[y].offset;f[y]+=u;v+=u}}if(b!=t){r={};b0){o=i.getSizeHint();r[y]={min:o.minHeight,value:_[y],max:o.maxHeight,flex:a}}}}x=l.computeFlexOffsets(r,t,b);for(var y in x){u=x[y].offset;_[y]+=u;b+=u}}this._clearSeparators();var w,q,P,E,M,C,S,A,D,I,k,B,T,O,L=this.getSeparatorX(),R=this.getSeparatorY(),F=this.getConnectSeparators(),N=0,$=0,j=this.__P_7_3;for(y=0;yo.maxWidth&&(P=o.maxWidth);E=_[y];q=N+l.computeVerticalAlignOffset(j[C],E,t,k,B);w=$+l.computeHorizontalAlignOffset(i.getAlignX()||"left",P,e,T,O);if(p.y){A=1==C?N+E+k+g+B:N+t-E-k-g-B-p.y;S=w;D=e;if(F&&S>0){S-=m+T;D+=2*m}else S-=T;this._renderSeparator(R,{left:S+n.left,top:A+n.top,width:D,height:p.y})}M=E+k+B+g;p.y&&(M+=p.y+g);t-=M;1==C&&(N+=M);break;case 3:case 4:(E=t-k-B)o.maxHeight&&(E=o.maxHeight);P=f[y];w=$+l.computeHorizontalAlignOffset(j[C],P,e,T,O);q=N+l.computeVerticalAlignOffset(i.getAlignY()||"top",E,t,k,B);if(p.x){S=3==C?$+P+T+m+O:$+e-P-T-m-O-p.x;A=q;I=t;if(F&&A>0){A-=g+k;I+=2*g}else A-=k;this._renderSeparator(L,{left:S+n.left,top:A+n.top,width:p.x,height:I})}M=P+T+O+m;p.x&&(M+=p.x+m);e-=M;3==C&&($+=M);break;default:E=t-k-B;(P=e-T-O)o.maxWidth&&(P=o.maxWidth);Eo.maxHeight&&(E=o.maxHeight);w=$+l.computeHorizontalAlignOffset(i.getAlignX()||"left",P,e,T,O);q=N+l.computeVerticalAlignOffset(i.getAlignY()||"top",E,t,k,B)}i.renderLayout(w+n.left,q+n.top,P,E)}},_getSeparatorWidths:function(){var e=this.getSeparatorX(),t=this.getSeparatorY();if(e||t)var n=qx.theme.manager.Decoration.getInstance();if(e)var r=n.resolve(e).getInsets(),i=r.left+r.right;if(t)var o=n.resolve(t).getInsets(),s=o.top+o.bottom;return{x:i||0,y:s||0}},_computeSizeHint:function(){this._invalidChildrenCache&&this.__P_7_4();var e,t,n,r,i=this.__P_7_0,o=this.__P_7_1,s=i.length,a=0,u=0,l=0,c=0,h=0,d=0,f=0,_=0,p=this._getSeparatorWidths(),m=this.getSpacingX(),g=this.getSpacingY(),v=-m,b=-g;p.x&&(v-=p.x+m);p.y&&(b-=p.y+g);for(var y=0;yi.maxWidth&&(c=i.maxWidth);s+=p}else{null==(c=o.width)?c=i.width:(c=Math.round(parseFloat(c)*e/100))i.maxWidth&&(c=i.maxWidth);if(null==s&&null==u)switch(r.getAlignX()){case"center":s=Math.round((e-i.width)/2-f);break;case"right":u=0}null!=u?s=e-c-u-f:null==s?s=p:s+=p}if(null!=a&&null!=l){(h=t-a-l-d-_)i.maxHeight&&(h=i.maxHeight);a+=d}else{null==(h=o.height)?h=i.height:(h=Math.round(parseFloat(h)*t/100))i.maxHeight&&(h=i.maxHeight);if(null==a&&null==l)switch(r.getAlignY()){case"middle":a=Math.round((t-i.height)/2-_);break;case"bottom":l=0}null!=l?a=t-h-l-_:null==a?a=d:a+=d}s+=n.left;a+=n.top;r.renderLayout(s,a,c,h)}},_computeSizeHint:function(){for(var e,t,n,r,i,o,s,a,u,l,c,h=0,d=0,f=0,_=0,p=this._getLayoutChildren(),m=this.isDesktop(),g=0,v=p.length;g=0)}else"flexShrink"==t?this.assertBoolean(n):this.assert(!1,"The property '"+t+"' is not supported by the VBox layout!")},false:null}),renderLayout:function(e,t,n){this._invalidChildrenCache&&this.__P_8_4();var r,i,o,s,a=this.__P_8_3,u=a.length,l=qx.ui.layout.Util,c=this.getSpacing(),h=this.getSeparator(),d=[],f=r=h?l.computeVerticalSeparatorGaps(a,c,h):l.computeVerticalGaps(a,c,!0);for(i=0;iy.maxHeight&&(q=y.maxHeight);d.push(q);f+=q}if(this.__P_8_2&&f!=t){var _,p,m={},g=f>t;for(i=0;i0){y=a[i].getSizeHint();m[i]={min:y.minHeight,value:d[i],max:y.maxHeight,flex:_};if(g){var v=a[i].getLayoutProperties();v&&v.flexShrink&&(m[i].min=0)}}var b=l.computeFlexOffsets(m,t,f);for(i in b){p=b[i].offset;d[i]+=p;f+=p}}var y,x,w,q,P,E,M,C=a[0].getMarginTop();if(f0)if(h){C+=P+c;this._renderSeparator(h,{top:C+n.top,left:n.left,height:A,width:e});C+=A+c+o.getMarginTop()}else C+=l.collapseMargins(c,P,o.getMarginTop());o.renderLayout(x+n.left,C+n.top,w,q);C+=q;P=o.getMarginBottom()}},_computeSizeHint:function(){this._invalidChildrenCache&&this.__P_8_4();for(var e,t,n,r=qx.ui.layout.Util,i=this.__P_8_3,o=0,s=0,a=0,u=0,l=0,c=0,h=i.length;cl&&(l=t.width+n);t.minWidth+n>u&&(u=t.minWidth+n)}o+=a;var _,p=this.getSpacing(),m=this.getSeparator();return{minHeight:o+(_=m?r.computeVerticalSeparatorGaps(i,p,m):r.computeVerticalGaps(i,p,!0)),height:s+_,minWidth:u,width:l}}},destruct:function(){this.__P_8_0=this.__P_8_1=this.__P_8_3=null}});qx.ui.layout.VBox.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IField",{events:{changeValue:"qx.event.type.Data"},members:{setValue:function(e){return 1==arguments.length},resetValue:function(){},getValue:function(){}}});qx.ui.form.IField.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.core.ISingleSelection",{events:{changeSelection:"qx.event.type.Data"},members:{getSelection:function(){return!0},setSelection:function(e){return 1==arguments.length},resetSelection:function(){return!0},isSelected:function(e){return 1==arguments.length},isSelectionEmpty:function(){return!0},getSelectables:function(e){return 1==arguments.length}}});qx.ui.core.ISingleSelection.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{},"qx.ui.core.SingleSelectionManager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MSingleSelectionHandling",{events:{changeValue:"qx.event.type.Data",changeSelection:"qx.event.type.Data"},members:{__P_49_0:null,setValue:function(e){if(null===e){this.resetSelection();return null}if(e instanceof qx.ui.core.Widget){this.__P_49_1().setSelected(e);return null}return new TypeError("Given argument is not null or a {qx.ui.core.Widget}.")},getValue:function(){return this.__P_49_1().getSelected()||null},resetValue:function(){this.__P_49_1().resetSelected()},getSelection:function(){var e=this.__P_49_1().getSelected();return e?[e]:[]},setSelection:function(e){switch(e.length){case 0:this.resetSelection();break;case 1:this.__P_49_1().setSelected(e[0]);break;default:throw new Error("Could only select one item, but the selection array contains "+e.length+" items!")}},resetSelection:function(){this.__P_49_1().resetSelected()},isSelected:function(e){return this.__P_49_1().isSelected(e)},isSelectionEmpty:function(){return this.__P_49_1().isSelectionEmpty()},getSelectables:function(e){return this.__P_49_1().getSelectables(e)},_onChangeSelected:function(e){var t=e.getData(),n=e.getOldData();this.fireDataEvent("changeValue",t,n);t=null==t?[]:[t];n=null==n?[]:[n];this.fireDataEvent("changeSelection",t,n)},__P_49_1:function(){if(null==this.__P_49_0){var e=this;this.__P_49_0=new qx.ui.core.SingleSelectionManager({getItems:function(){return e._getItems()},isItemSelectable:function(t){return e._isItemSelectable?e._isItemSelectable(t):t.isVisible()}});this.__P_49_0.addListener("changeSelected",this._onChangeSelected,this)}this.__P_49_0.setAllowEmptySelection(this._isAllowEmptySelection());return this.__P_49_0}},destruct:function(){this._disposeObjects("__P_49_0")}});qx.ui.core.MSingleSelectionHandling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.form.IField":{require:!0},"qx.ui.core.ISingleSelection":{require:!0},"qx.ui.core.MSingleSelectionHandling":{require:!0},"qx.ui.core.MChildrenHandling":{require:!0},"qx.ui.layout.Grow":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.container.Stack",{extend:qx.ui.core.Widget,implement:[qx.ui.form.IField,qx.ui.core.ISingleSelection],include:[qx.ui.core.MSingleSelectionHandling,qx.ui.core.MChildrenHandling],construct:function(){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.layout.Grow);this.addListener("changeSelection",this.__P_9_0,this)},properties:{dynamic:{check:"Boolean",init:!1,apply:"_applyDynamic"}},members:{_applyDynamic:function(e){for(var t=this._getChildren(),n=this.getSelection()[0],r=0,i=t.length;r=0)}else"flexShrink"===t?this.assertBoolean(n):this.assert(!1,"The property '"+t+"' is not supported by the HBox layout!")},false:null}),renderLayout:function(e,t,n){this._invalidChildrenCache&&this.__P_10_4();var r,i,o,s,a=this.__P_10_3,u=a.length,l=qx.ui.layout.Util,c=this.getSpacing(),h=this.getSeparator(),d=[],f=r=h?l.computeHorizontalSeparatorGaps(a,c,h):l.computeHorizontalGaps(a,c,!0);for(i=0;iy.maxWidth&&(q=y.maxWidth);d.push(q);f+=q}if(this.__P_10_2&&f!=e){var _,p,m={},g=f>e;for(i=0;i0){y=a[i].getSizeHint();m[i]={min:y.minWidth,value:d[i],max:y.maxWidth,flex:_};if(g){var v=a[i].getLayoutProperties();v&&v.flexShrink&&(m[i].min=0)}}var b=l.computeFlexOffsets(m,e,f);for(i in b){p=b[i].offset;d[i]+=p;f+=p}}var y,x,w,q,P,E,M,C=a[0].getMarginLeft();if(f0)if(h){C+=P+c;this._renderSeparator(h,{left:C+n.left,top:n.top,width:A,height:t});C+=A+c+o.getMarginLeft()}else C+=l.collapseMargins(c,P,o.getMarginLeft());o.renderLayout(C+n.left,x+n.top,q,w);C+=q;P=o.getMarginRight()}},_computeSizeHint:function(){this._invalidChildrenCache&&this.__P_10_4();for(var e,t,n,r=qx.ui.layout.Util,i=this.__P_10_3,o=0,s=0,a=0,u=0,l=0,c=0,h=i.length;cl&&(l=t.height+n);t.minHeight+n>u&&(u=t.minHeight+n)}o+=a;var _,p=this.getSpacing(),m=this.getSeparator();return{minWidth:o+(_=m?r.computeHorizontalSeparatorGaps(i,p,m):r.computeHorizontalGaps(i,p,!0)),width:s+_,minHeight:u,height:l}}},destruct:function(){this.__P_10_0=this.__P_10_1=this.__P_10_3=null}});qx.ui.layout.HBox.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{usage:"dynamic",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.ui.core.scroll.ScrollBar":{}},environment:{provided:["qx.nativeScrollBars"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.core.Environment.add("qx.nativeScrollBars",!1);qx.Mixin.define("qx.ui.core.scroll.MScrollBarFactory",{members:{_createScrollBar:function(e){return new qx.ui.core.scroll.ScrollBar(e)}}});qx.ui.core.scroll.MScrollBarFactory.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.scroll.MRoll",{members:{_cancelRoll:null,_addRollHandling:function(){this.addListener("roll",this._onRoll,this);this.addListener("pointerdown",this._onPointerDownForRoll,this)},_removeRollHandling:function(){this.removeListener("roll",this._onRoll,this);this.removeListener("pointerdown",this._onPointerDownForRoll,this)},_onPointerDownForRoll:function(e){this._cancelRoll=e.getPointerId()},_onRoll:function(e){if("mouse"!=e.getPointerType())if(this._cancelRoll&&e.getMomentum()){e.stopMomentum();this._cancelRoll=null}else{this._cancelRoll=null;var t=this._isChildControlVisible("scrollbar-x"),n=this._isChildControlVisible("scrollbar-y"),r=n?this.getChildControl("scrollbar-y",!0):null,i=t?this.getChildControl("scrollbar-x",!0):null,o=e.getDelta().y,s=e.getDelta().x,a=!n,u=!t;if(r){0!==o&&r.scrollBy(parseInt(o,10));var l=r.getPosition(),c=r.getMaximum();(o<0&&l<=0||o>0&&l>=c)&&(a=!0)}if(i){0!==s&&i.scrollBy(parseInt(s,10));l=i.getPosition(),c=i.getMaximum();(s<0&&l<=0||s>0&&l>=c)&&(u=!0)}u&&a&&e.stopMomentum();(a||0!==s)&&(u||0!==o)&&(u&&a||0===s||0===o)||e.stop()}}}});qx.ui.core.scroll.MRoll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.ui.core.DragDropScrolling":{construct:!0},"qx.Class":{},"qx.ui.core.scroll.MScrollBarFactory":{},"qx.ui.core.Widget":{},"qx.event.Timer":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MDragDropScrolling",{construct:function(){var e=this;this instanceof qx.ui.core.DragDropScrolling&&(e=this._getWidget());e.addListener("drag",this.__P_122_0,this);e.addListener("dragend",this.__P_122_1,this);this.__P_122_2=["left","right"];this.__P_122_3=["top","bottom"]},properties:{dragScrollThresholdX:{check:"Integer",init:30},dragScrollThresholdY:{check:"Integer",init:30},dragScrollSlowDownFactor:{check:"Float",init:.1}},members:{__P_122_4:null,__P_122_2:null,__P_122_3:null,_findScrollableParent:function(e){var t=e;if(null===t)return null;for(;t.getLayoutParent();){t=t.getLayoutParent();if(this._isScrollable(t))return t}return null},_isScrollable:function(e){return qx.Class.hasMixin(e.constructor,qx.ui.core.scroll.MScrollBarFactory)},_getBounds:function(e){var t=e.getContentLocation();e.getScrollAreaContainer&&(t=e.getScrollAreaContainer().getContentLocation());return t},_getEdgeType:function(e,t,n){return-1*e.left<=t&&e.left<0?"left":-1*e.top<=n&&e.top<0?"top":e.right<=t&&e.right>0?"right":e.bottom<=n&&e.bottom>0?"bottom":null},_getAxis:function(e){if(-1!==this.__P_122_2.indexOf(e))return"x";if(-1!==this.__P_122_3.indexOf(e))return"y";throw new Error("Invalid edge type given ("+e+"). Must be: 'left', 'right', 'top' or 'bottom'")},_getThresholdByEdgeType:function(e){return-1!==this.__P_122_2.indexOf(e)?this.getDragScrollThresholdX():-1!==this.__P_122_3.indexOf(e)?this.getDragScrollThresholdY():void 0},_isScrollbarVisible:function(e,t){return!(!e||!e._isChildControlVisible)&&e._isChildControlVisible("scrollbar-"+t)},_isScrollbarExceedingMaxPos:function(e,t,n){var r;return!e||((r=e.getPosition()+n)>e.getMaximum()||r<0)},_calculateThresholdExceedance:function(e,t){var n=t-Math.abs(e);return e<0?-1*n:n},_calculateScrollAmount:function(e,t){return Math.floor(e/100*t*this.getDragScrollSlowDownFactor())},_scrollBy:function(e,t,n){var r=e.getChildControl("scrollbar-"+t,!0);if(r){var i=r.getBounds(),o="x"===t?i.width:i.height,s=this._calculateScrollAmount(o,n);this._isScrollbarExceedingMaxPos(r,t,s)&&this.__P_122_4.stop();r.scrollBy(s)}},__P_122_0:function(e){this.__P_122_4&&this.__P_122_4.stop();var t;if(t=e.getOriginalTarget()instanceof qx.ui.core.Widget?e.getOriginalTarget():qx.ui.core.Widget.getWidgetByElement(e.getOriginalTarget())){var n;n=this._isScrollable(t)?t:this._findScrollableParent(t);for(;n;){var r,i,o=this._getBounds(n),s=e.getDocumentLeft(),a=e.getDocumentTop(),u={left:o.left-s,right:o.right-s,top:o.top-a,bottom:o.bottom-a},l=0;if(r=this._getEdgeType(u,this.getDragScrollThresholdX(),this.getDragScrollThresholdY())){i=this._getAxis(r);if(this._isScrollbarVisible(n,i)){l=this._calculateThresholdExceedance(u[r],this._getThresholdByEdgeType(r));this.__P_122_4&&this.__P_122_4.dispose();this.__P_122_4=new qx.event.Timer(50);this.__P_122_4.addListener("interval",function(e,t,n){this._scrollBy(e,t,n)}.bind(this,n,i,l));this.__P_122_4.start();e.stopPropagation();return}n=this._findScrollableParent(n)}else n=this._findScrollableParent(n)}}},__P_122_1:function(e){this.__P_122_4&&this.__P_122_4.stop()}},destruct:function(){this.__P_122_4&&this.__P_122_4.dispose()}});qx.ui.core.MDragDropScrolling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Scroll":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.Event":{require:!0}},environment:{provided:["os.scrollBarOverlayed","qx.mobile.nativescroll"],required:{"os.name":{className:"qx.bom.client.OperatingSystem"},"browser.version":{className:"qx.bom.client.Browser"},"browser.name":{className:"qx.bom.client.Browser"},"os.version":{className:"qx.bom.client.OperatingSystem"},"event.mspointer":{className:"qx.bom.client.Event"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.Scroll",{statics:{scrollBarOverlayed:function(){var e=qx.bom.element.Scroll.getScrollbarWidth(),t="osx"===qx.bom.client.OperatingSystem.getName();return 0===e&&t&&!1},getNativeScroll:function(){if("ios"==qx.core.Environment.get("os.name")&&parseInt(qx.core.Environment.get("browser.version"),10)>7)return!0;if("firefox"==qx.core.Environment.get("browser.name"))return!0;if("android"==qx.core.Environment.get("os.name")){var e=qx.core.Environment.get("os.version").split(".");if(e[0]>4||e.length>1&&e[0]>3&&e[1]>3)return!0}return!!qx.core.Environment.get("event.mspointer")}},defer:function(e){qx.core.Environment.add("os.scrollBarOverlayed",e.scrollBarOverlayed);qx.core.Environment.add("qx.mobile.nativescroll",e.getNativeScroll)}});qx.bom.client.Scroll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.ui.core.MDragDropScrolling":{require:!0},"qx.core.Init":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.DragDropScrolling",{extend:qx.core.Object,include:[qx.ui.core.MDragDropScrolling],construct:function(e){qx.core.Object.constructor.call(this);this._widget=e},members:{_widget:null,_getWidget:function(){return this._widget||qx.core.Init.getApplication().getRoot()}}});qx.ui.core.DragDropScrolling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.scroll.MScrollBarFactory":{require:!0},"qx.ui.core.scroll.MRoll":{require:!0},"qx.ui.core.MDragDropScrolling":{require:!0},"qx.bom.client.Scroll":{construct:!0,require:!0},"qx.ui.layout.Canvas":{construct:!0},"qx.ui.layout.Grid":{construct:!0},"qx.ui.core.scroll.ScrollPane":{},"qx.ui.core.queue.Manager":{}},environment:{provided:[],required:{"os.scrollBarOverlayed":{construct:!0,className:"qx.bom.client.Scroll"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.scroll.AbstractScrollArea",{extend:qx.ui.core.Widget,include:[qx.ui.core.scroll.MScrollBarFactory,qx.ui.core.scroll.MRoll,qx.ui.core.MDragDropScrolling],type:"abstract",statics:{DEFAULT_SCROLLBAR_WIDTH:14},construct:function(){qx.ui.core.Widget.constructor.call(this);if(qx.core.Environment.get("os.scrollBarOverlayed"))this._setLayout(new qx.ui.layout.Canvas);else{var e=new qx.ui.layout.Grid;e.setColumnFlex(0,1);e.setRowFlex(0,1);this._setLayout(e)}var t=2*qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH+14;this.set({minHeight:t,minWidth:t});this._addRollHandling()},events:{scrollAnimationXEnd:"qx.event.type.Event",scrollAnimationYEnd:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"scrollarea"},width:{refine:!0,init:0},height:{refine:!0,init:0},scrollbarX:{check:["auto","on","off"],init:"auto",themeable:!0,apply:"_computeScrollbars"},scrollbarY:{check:["auto","on","off"],init:"auto",themeable:!0,apply:"_computeScrollbars"},scrollbar:{group:["scrollbarX","scrollbarY"]}},members:{_createChildControlImpl:function(e,t){var n;switch(e){case"pane":(n=new qx.ui.core.scroll.ScrollPane).addListener("update",this._computeScrollbars,this);n.addListener("scrollX",this._onScrollPaneX,this);n.addListener("scrollY",this._onScrollPaneY,this);qx.core.Environment.get("os.scrollBarOverlayed")?this._add(n,{edge:0}):this._add(n,{row:0,column:0});break;case"scrollbar-x":(n=this._createScrollBar("horizontal")).setMinWidth(0);n.exclude();n.addListener("scroll",this._onScrollBarX,this);n.addListener("changeVisibility",this._onChangeScrollbarXVisibility,this);n.addListener("scrollAnimationEnd",this._onScrollAnimationEnd.bind(this,"X"));if(qx.core.Environment.get("os.scrollBarOverlayed")){n.setMinHeight(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(n,{bottom:0,right:0,left:0})}else this._add(n,{row:1,column:0});break;case"scrollbar-y":(n=this._createScrollBar("vertical")).setMinHeight(0);n.exclude();n.addListener("scroll",this._onScrollBarY,this);n.addListener("changeVisibility",this._onChangeScrollbarYVisibility,this);n.addListener("scrollAnimationEnd",this._onScrollAnimationEnd.bind(this,"Y"));if(qx.core.Environment.get("os.scrollBarOverlayed")){n.setMinWidth(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(n,{right:0,bottom:0,top:0})}else this._add(n,{row:0,column:1});break;case"corner":(n=new qx.ui.core.Widget).setWidth(0);n.setHeight(0);n.exclude();qx.core.Environment.get("os.scrollBarOverlayed")||this._add(n,{row:1,column:1})}return n||qx.ui.core.scroll.AbstractScrollArea.superclass.prototype._createChildControlImpl.call(this,e)},getPaneSize:function(){return this.getChildControl("pane").getInnerSize()},getItemTop:function(e){return this.getChildControl("pane").getItemTop(e)},getItemBottom:function(e){return this.getChildControl("pane").getItemBottom(e)},getItemLeft:function(e){return this.getChildControl("pane").getItemLeft(e)},getItemRight:function(e){return this.getChildControl("pane").getItemRight(e)},scrollToX:function(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-x").scrollTo(e,t)},scrollByX:function(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-x").scrollBy(e,t)},getScrollX:function(){var e=this.getChildControl("scrollbar-x",!0);return e?e.getPosition():0},scrollToY:function(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-y").scrollTo(e,t)},scrollByY:function(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-y").scrollBy(e,t)},getScrollY:function(){var e=this.getChildControl("scrollbar-y",!0);return e?e.getPosition():0},stopScrollAnimationX:function(){var e=this.getChildControl("scrollbar-x",!0);e&&e.stopScrollAnimation()},stopScrollAnimationY:function(){var e=this.getChildControl("scrollbar-y",!0);e&&e.stopScrollAnimation()},_onScrollAnimationEnd:function(e){this.fireEvent("scrollAnimation"+e+"End")},_onScrollBarX:function(e){this.getChildControl("pane").scrollToX(e.getData())},_onScrollBarY:function(e){this.getChildControl("pane").scrollToY(e.getData())},_onScrollPaneX:function(e){var t=this.getChildControl("scrollbar-x");t&&t.updatePosition(e.getData())},_onScrollPaneY:function(e){var t=this.getChildControl("scrollbar-y");t&&t.updatePosition(e.getData())},_onChangeScrollbarXVisibility:function(e){var t=this._isChildControlVisible("scrollbar-x"),n=this._isChildControlVisible("scrollbar-y");t||this.scrollToX(0);t&&n?this._showChildControl("corner"):this._excludeChildControl("corner")},_onChangeScrollbarYVisibility:function(e){var t=this._isChildControlVisible("scrollbar-x"),n=this._isChildControlVisible("scrollbar-y");n||this.scrollToY(0);t&&n?this._showChildControl("corner"):this._excludeChildControl("corner")},_computeScrollbars:function(){var e=this.getChildControl("pane");if(e.getChildren()[0]){var t=this.getInnerSize(),n=e.getInnerSize(),r=e.getScrollSize();if(n&&r){var i=this.getScrollbarX(),o=this.getScrollbarY();if("auto"===i&&"auto"===o){var s=r.width>t.width,a=r.height>t.height;!s&&!a||s&&a||(s?a=r.height>n.height:a&&(s=r.width>n.width))}else{s="on"===i,a="on"===o;r.width>(s?n.width:t.width)&&"auto"===i&&(s=!0);r.height>(s?n.height:t.height)&&"auto"===o&&(a=!0)}if(s){var u=this.getChildControl("scrollbar-x");u.show();u.setMaximum(Math.max(0,r.width-n.width));u.setKnobFactor(0===r.width?0:n.width/r.width)}else this._excludeChildControl("scrollbar-x");if(a){var l=this.getChildControl("scrollbar-y");l.show();l.setMaximum(Math.max(0,r.height-n.height));l.setKnobFactor(0===r.height?0:n.height/r.height)}else this._excludeChildControl("scrollbar-y")}}else{this._excludeChildControl("scrollbar-x");this._excludeChildControl("scrollbar-y")}}}});qx.ui.core.scroll.AbstractScrollArea.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MContentPadding",{properties:{contentPaddingTop:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPaddingRight:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPaddingBottom:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPaddingLeft:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPadding:{group:["contentPaddingTop","contentPaddingRight","contentPaddingBottom","contentPaddingLeft"],mode:"shorthand",themeable:!0}},members:{__P_50_0:{contentPaddingTop:"setPaddingTop",contentPaddingRight:"setPaddingRight",contentPaddingBottom:"setPaddingBottom",contentPaddingLeft:"setPaddingLeft"},__P_50_1:{contentPaddingTop:"setThemedPaddingTop",contentPaddingRight:"setThemedPaddingRight",contentPaddingBottom:"setThemedPaddingBottom",contentPaddingLeft:"setThemedPaddingLeft"},__P_50_2:{contentPaddingTop:"resetPaddingTop",contentPaddingRight:"resetPaddingRight",contentPaddingBottom:"resetPaddingBottom",contentPaddingLeft:"resetPaddingLeft"},_applyContentPadding:function(e,t,n,r){var i=this._getContentPaddingTarget();if(null==e){i[this.__P_50_2[n]]()}else if("setThemed"==r||"resetThemed"==r){i[this.__P_50_1[n]](e)}else{i[this.__P_50_0[n]](e)}}}});qx.ui.core.MContentPadding.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{construct:!0,require:!0},"qx.lang.Object":{},"qx.ui.layout.Util":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Grid",{extend:qx.ui.layout.Abstract,construct:function(e,t){qx.ui.layout.Abstract.constructor.call(this);this.__P_77_0=[];this.__P_77_1=[];e&&this.setSpacingX(e);t&&this.setSpacingY(t)},properties:{spacingX:{check:"Integer",init:0,apply:"_applyLayoutChange"},spacingY:{check:"Integer",init:0,apply:"_applyLayoutChange"},allowGrowSpannedCellWidth:{check:"Boolean",init:!1,apply:"_applyLayoutChange"}},members:{__P_77_2:null,__P_77_0:null,__P_77_1:null,__P_77_3:null,__P_77_4:null,__P_77_5:null,__P_77_6:null,__P_77_7:null,__P_77_8:null,verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true:function(e,t,n){this.assert(1=={row:1,column:1,rowSpan:1,colSpan:1}[t],"The property '"+t+"' is not supported by the Grid layout!");this.assertInteger(n);this.assert(n>=0,"Value must be positive")},false:null}),__P_77_9:function(){for(var e=[],t=[],n=[],r=-1,i=-1,o=this._getLayoutChildren(),s=0,a=o.length;s1&&n.push(u);l.colSpan>1&&t.push(u)}for(f=0;f<=r;f++)null==e[f]&&(e[f]=[]);this.__P_77_2=e;this.__P_77_3=t;this.__P_77_4=n;this.__P_77_5=r;this.__P_77_6=i;this.__P_77_7=null;this.__P_77_8=null;delete this._invalidChildrenCache},_setRowData:function(e,t,n){var r=this.__P_77_0[e];if(r)r[t]=n;else{this.__P_77_0[e]={};this.__P_77_0[e][t]=n}},_setColumnData:function(e,t,n){var r=this.__P_77_1[e];if(r)r[t]=n;else{this.__P_77_1[e]={};this.__P_77_1[e][t]=n}},setSpacing:function(e){this.setSpacingY(e);this.setSpacingX(e);return this},setColumnAlign:function(e,t,n){this._setColumnData(e,"hAlign",t);this._setColumnData(e,"vAlign",n);this._applyLayoutChange();return this},getColumnAlign:function(e){var t=this.__P_77_1[e]||{};return{vAlign:t.vAlign||"top",hAlign:t.hAlign||"left"}},setRowAlign:function(e,t,n){this._setRowData(e,"hAlign",t);this._setRowData(e,"vAlign",n);this._applyLayoutChange();return this},getRowAlign:function(e){var t=this.__P_77_0[e]||{};return{vAlign:t.vAlign||"top",hAlign:t.hAlign||"left"}},getCellWidget:function(e,t){this._invalidChildrenCache&&this.__P_77_9();return(e=this.__P_77_2[e]||{})[t]||null},getRowCount:function(){this._invalidChildrenCache&&this.__P_77_9();return this.__P_77_5+1},getColumnCount:function(){this._invalidChildrenCache&&this.__P_77_9();return this.__P_77_6+1},getCellAlign:function(e,t){var n="top",r="left",i=this.__P_77_0[e],o=this.__P_77_1[t],s=this.__P_77_2[e][t];if(s)var a={vAlign:s.getAlignY(),hAlign:s.getAlignX()};else a={};a.vAlign?n=a.vAlign:i&&i.vAlign?n=i.vAlign:o&&o.vAlign&&(n=o.vAlign);a.hAlign?r=a.hAlign:o&&o.hAlign?r=o.hAlign:i&&i.hAlign&&(r=i.hAlign);return{vAlign:n,hAlign:r}},setColumnFlex:function(e,t){this._setColumnData(e,"flex",t);this._applyLayoutChange();return this},getColumnFlex:function(e){var t=this.__P_77_1[e]||{};return void 0!==t.flex?t.flex:0},setRowFlex:function(e,t){this._setRowData(e,"flex",t);this._applyLayoutChange();return this},getRowFlex:function(e){var t=this.__P_77_0[e]||{};return void 0!==t.flex?t.flex:0},setColumnMaxWidth:function(e,t){this._setColumnData(e,"maxWidth",t);this._applyLayoutChange();return this},getColumnMaxWidth:function(e){var t=this.__P_77_1[e]||{};return void 0!==t.maxWidth?t.maxWidth:1/0},setColumnWidth:function(e,t){this._setColumnData(e,"width",t);this._applyLayoutChange();return this},getColumnWidth:function(e){var t=this.__P_77_1[e]||{};return void 0!==t.width?t.width:null},setColumnMinWidth:function(e,t){this._setColumnData(e,"minWidth",t);this._applyLayoutChange();return this},getColumnMinWidth:function(e){return(this.__P_77_1[e]||{}).minWidth||0},setRowMaxHeight:function(e,t){this._setRowData(e,"maxHeight",t);this._applyLayoutChange();return this},getRowMaxHeight:function(e){return(this.__P_77_0[e]||{}).maxHeight||1/0},setRowHeight:function(e,t){this._setRowData(e,"height",t);this._applyLayoutChange();return this},getRowHeight:function(e){var t=this.__P_77_0[e]||{};return void 0!==t.height?t.height:null},setRowMinHeight:function(e,t){this._setRowData(e,"minHeight",t);this._applyLayoutChange();return this},getRowMinHeight:function(e){return(this.__P_77_0[e]||{}).minHeight||0},_getOuterSize:function(e){var t=e.getSizeHint(),n=e.getMarginLeft()+e.getMarginRight(),r=e.getMarginTop()+e.getMarginBottom();return{height:t.height+r,width:t.width+n,minHeight:t.minHeight+r,minWidth:t.minWidth+n,maxHeight:t.maxHeight+r,maxWidth:t.maxWidth+n}},_fixHeightsRowSpan:function(e){for(var t=this.getSpacingY(),n=0,r=this.__P_77_4.length;n0&&(c[d]={min:f.minHeight,value:f.height,max:f.maxHeight,flex:_});u+=f.height;l+=f.minHeight}if(u0&&(d[_]={min:p.minWidth,value:p.width,max:p.maxWidth,flex:m});c+=p.width;h+=p.minWidth}if(c1)){var u=this._getOuterSize(a);i=this.getRowFlex(r)>0?Math.max(i,u.minHeight):Math.max(i,u.height);o=Math.max(o,u.height)}}}i=Math.max(i,this.getRowMinHeight(r));var l=this.getRowMaxHeight(r);if(null!==this.getRowHeight(r))o=this.getRowHeight(r);else o=Math.max(i,Math.min(o,l));e[r]={minHeight:i,height:o,maxHeight:l}}this.__P_77_4.length>0&&this._fixHeightsRowSpan(e);this.__P_77_7=e;return e},_getColWidths:function(){if(null!=this.__P_77_8)return this.__P_77_8;for(var e=[],t=this.__P_77_6,n=this.__P_77_5,r=0;r<=t;r++){for(var i,o=0,s=0,a=0;a<=n;a++){var u=this.__P_77_2[a][r];if(u){if(!((u.getLayoutProperties().colSpan||0)>1)){var l=this._getOuterSize(u);s=Math.max(s,l.minWidth);o=Math.max(o,l.width)}}}s=Math.max(s,this.getColumnMinWidth(r));i=this.getColumnMaxWidth(r);if(null!==this.getColumnWidth(r))o=this.getColumnWidth(r);else o=Math.max(s,Math.min(o,i));e[r]={minWidth:s,width:o,maxWidth:i}}this._getColSpans().length>0&&this._fixWidthsColSpan(e);this.__P_77_8=e;return e},_getColumnFlexOffsets:function(e){var t=this.getSizeHint(),n=e-t.width;if(0==n)return{};for(var r=this._getColWidths(),i={},o=0,s=r.length;o0||a.width==a.minWidth&&n<0||(i[o]={min:a.minWidth,value:a.width,max:a.maxWidth,flex:u})}return qx.ui.layout.Util.computeFlexOffsets(i,e,t.width)},_getRowFlexOffsets:function(e){var t=this.getSizeHint(),n=e-t.height;if(0==n)return{};for(var r=this._getRowHeights(),i={},o=0,s=r.length;o0||a.height==a.minHeight&&n<0||(i[o]={min:a.minHeight,value:a.height,max:a.maxHeight,flex:u})}return qx.ui.layout.Util.computeFlexOffsets(i,e,t.height)},_getColSpans:function(){return this.__P_77_3},renderLayout:function(e,t,n){this._invalidChildrenCache&&this.__P_77_9();for(var r,i=qx.ui.layout.Util,o=this.getSpacingX(),s=this.getSpacingY(),a=this._getColWidths(),u=this._getColumnFlexOffsets(e),l=[],c=this.__P_77_6,h=this.__P_77_5,d=0;d<=c;d++){r=u[d]?u[d].offset:0;l[d]=a[d].width+r}for(var f=this._getRowHeights(),_=this._getRowFlexOffsets(t),p=[],m=0;m<=h;m++){r=_[m]?_[m].offset:0;p[m]=f[m].height+r}var g=0;for(d=0;d<=c;d++){var v=0;for(m=0;m<=h;m++){var b=this.__P_77_2[m][d];if(b){var y=b.getLayoutProperties();if(y.row===m&&y.column===d){for(var x=o*(y.colSpan-1),w=0;w0?t+=o.minWidth:t+=o.width;n+=o.width}var s=this._getRowHeights(),a=0,u=0;for(r=0,i=s.length;r0?a+=l.minHeight:a+=l.height;u+=l.height}var c=this.getSpacingX()*(e.length-1),h=this.getSpacingY()*(s.length-1);return{minWidth:t+c,width:n+c,minHeight:a+h,height:u+h}}},destruct:function(){this.__P_77_2=this.__P_77_0=this.__P_77_1=this.__P_77_3=this.__P_77_4=this.__P_77_8=this.__P_77_7=null}});qx.ui.layout.Grid.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.scroll.AbstractScrollArea":{construct:!0,require:!0},"qx.ui.core.MContentPadding":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.container.Scroll",{extend:qx.ui.core.scroll.AbstractScrollArea,include:[qx.ui.core.MContentPadding],construct:function(e){qx.ui.core.scroll.AbstractScrollArea.constructor.call(this);e&&this.add(e)},members:{add:function(e){this.getChildControl("pane").add(e)},remove:function(e){this.getChildControl("pane").remove(e)},getChildren:function(){return this.getChildControl("pane").getChildren()},_getContentPaddingTarget:function(){return this.getChildControl("pane")}}});qx.ui.container.Scroll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MChildrenHandling":{require:!0},"qx.ui.layout.HBox":{construct:!0},"qx.ui.menu.Menu":{},"qx.util.PropertyUtil":{},"qx.ui.core.Spacer":{},"qx.ui.toolbar.Separator":{},"qx.ui.menubar.Button":{},"qx.ui.toolbar.Part":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.ToolBar",{extend:qx.ui.core.Widget,include:qx.ui.core.MChildrenHandling,construct:function(e){qx.ui.core.Widget.constructor.call(this);this.getContentElement().setAttribute("role","toolbar");this._setLayout(e||new qx.ui.layout.HBox);this.__P_11_0=[];this.__P_11_1=[]},properties:{appearance:{refine:!0,init:"toolbar"},openMenu:{check:"qx.ui.menu.Menu",event:"changeOpenMenu",nullable:!0},show:{init:"both",check:["both","label","icon"],inheritable:!0,apply:"_applyShow",event:"changeShow"},spacing:{nullable:!0,check:"Integer",themeable:!0,apply:"_applySpacing"},overflowIndicator:{check:"qx.ui.core.Widget",nullable:!0,apply:"_applyOverflowIndicator"},overflowHandling:{init:!1,check:"Boolean",apply:"_applyOverflowHandling"}},events:{hideItem:"qx.event.type.Data",showItem:"qx.event.type.Data"},members:{__P_11_0:null,__P_11_1:null,_computeSizeHint:function(){var e=qx.ui.toolbar.ToolBar.superclass.prototype._computeSizeHint.call(this);if(this.getOverflowHandling()){var t=0,n=this.getOverflowIndicator();n&&(t=n.getSizeHint().width+this.getSpacing());e.minWidth=t}return e},_onResize:function(e){this._recalculateOverflow(e.getData().width)},_recalculateOverflow:function(e,t){if(this.getOverflowHandling()){t=t||this.getSizeHint().width;var n=this.getOverflowIndicator(),r=0;n&&(r=n.getSizeHint().width);null==e&&null!=this.getBounds()&&(e=this.getBounds().width);if(null!=e)if(ee);else if(this.__P_11_0.length>0)do{var u=this.__P_11_0[0];if(u){o=u.getMarginLeft()+u.getMarginRight();o=Math.max(o,this.getSpacing());if(null==u.getContentElement().getDomElement()){u.syncAppearance();u.invalidateLayoutCache()}var l=u.getSizeHint().width,c=!1;if(1==this.__P_11_0.length&&r>0){c=e>t-r+l+(o-this.getSpacing())}if(!(e>t+l+o||c))return;this.__P_11_3(u);t+=l;n&&0==this.__P_11_0.length&&n.setVisibility("excluded")}}while(e>=t&&this.__P_11_0.length>0)}},__P_11_3:function(e){e.setVisibility("visible");this.__P_11_0.shift();this.fireDataEvent("showItem",e)},__P_11_2:function(e){if(e){this.__P_11_0.unshift(e);e.setVisibility("excluded");this.fireDataEvent("hideItem",e)}},_getNextToHide:function(){for(var e=this.__P_11_1.length-1;e>=0;e--){var t=this.__P_11_1[e];if(t&&t.getVisibility&&"visible"==t.getVisibility())return t}var n=this._getChildren();for(e=n.length-1;e>=0;e--){var r=n[e];if(r!=this.getOverflowIndicator()&&(r.getVisibility&&"visible"==r.getVisibility()))return r}},setRemovePriority:function(e,t,n){if(!n&&null!=this.__P_11_1[t])throw new Error("Priority already in use!");this.__P_11_1[t]=e},_applyOverflowHandling:function(e,t){this.invalidateLayoutCache();var n=this.getLayoutParent();n&&n.invalidateLayoutCache();var r=this.getBounds();r&&r.width&&this._recalculateOverflow(r.width);if(e)this.addListener("resize",this._onResize,this);else{this.removeListener("resize",this._onResize,this);var i=this.getOverflowIndicator();i&&i.setVisibility("excluded");for(var o=0;o0){g+=i;v!=_&&(g+=d)}a+=Math.round((t-g)/2)}var b=a;for(v=_;v!=p;v+=m){q=(o=c[v]).getSizeHint();r=Math.min(q.maxWidth,Math.max(e,q.minWidth));i=q.height;s=u.computeHorizontalAlignOffset("center",r,e)+n.left;o.renderLayout(s,b,r,i);i>0&&(b=a+i+d)}}else{var y=e,x=null,w=0;for(v=_;v!=p;v+=m)if((r=(o=c[v]).getSizeHint().width)>0){!x&&o instanceof qx.ui.basic.Label?x=o:y-=r;w++}if(w>1){y-=(w-1)*d}if(x){var q=x.getSizeHint(),P=Math.max(q.minWidth,Math.min(y,q.maxWidth));y-=P}f&&y>0&&(s+=Math.round(y/2));for(v=_;v!=p;v+=m){q=(o=c[v]).getSizeHint();i=Math.min(q.maxHeight,Math.max(t,q.minHeight));r=o===x?P:q.width;var E="middle";"top-left"==l||"top-right"==l?E="top":"bottom-left"!=l&&"bottom-right"!=l||(E="bottom");b=a+u.computeVerticalAlignOffset(E,q.height,t);o.renderLayout(s,b,r,i);r>0&&(s+=r+d)}}},_computeSizeHint:function(){var e,t=this._getLayoutChildren(),n=t.length;if(1===n){var r;e={width:(r=t[0].getSizeHint()).width,height:r.height,minWidth:r.minWidth,minHeight:r.minHeight}}else{var i=0,o=0,s=0,a=0,u=this.getIconPosition(),l=this.getGap();if("top"===u||"bottom"===u){for(var c=0,h=0;h0){a+=r.height;s+=r.minHeight;c++}}if(c>1){a+=d=(c-1)*l;s+=d}}else{for(c=0,h=0;h0){o+=r.width;i+=r.minWidth;c++}}if(c>1){var d;o+=d=(c-1)*l;i+=d}}e={minWidth:i,width:o,minHeight:s,height:a}}return e}}});qx.ui.layout.Atom.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.basic.Atom":{construct:!0,require:!0},"qx.ui.core.MExecutable":{require:!0},"qx.ui.form.IExecutable":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.Button",{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(e,t,n){qx.ui.basic.Atom.constructor.call(this,e,t);null!=n&&this.setCommand(n);this.getContentElement().setAttribute("role","button");this.addListener("pointerover",this._onPointerOver);this.addListener("pointerout",this._onPointerOut);this.addListener("pointerdown",this._onPointerDown);this.addListener("pointerup",this._onPointerUp);this.addListener("tap",this._onTap);this.addListener("keydown",this._onKeyDown);this.addListener("keyup",this._onKeyUp);this.addListener("dblclick",(function(e){e.stopPropagation()}))},properties:{appearance:{refine:!0,init:"button"},focusable:{refine:!0,init:!0}},members:{_forwardStates:{focused:!0,hovered:!0,pressed:!0,disabled:!0},press:function(){this.hasState("abandoned")||this.addState("pressed")},release:function(){this.hasState("pressed")&&this.removeState("pressed")},reset:function(){this.removeState("pressed");this.removeState("abandoned");this.removeState("hovered")},_onPointerOver:function(e){if(this.isEnabled()&&e.getTarget()===this){if(this.hasState("abandoned")){this.removeState("abandoned");this.addState("pressed")}this.addState("hovered")}},_onPointerOut:function(e){if(this.isEnabled()&&e.getTarget()===this){this.removeState("hovered");if(this.hasState("pressed")){this.removeState("pressed");this.addState("abandoned")}}},_onPointerDown:function(e){if(e.isLeftPressed()){e.stopPropagation();this.capture();this.removeState("abandoned");this.addState("pressed")}},_onPointerUp:function(e){this.releaseCapture();var t=this.hasState("pressed"),n=this.hasState("abandoned");t&&this.removeState("pressed");n&&this.removeState("abandoned");e.stopPropagation()},_onTap:function(e){this.execute();e.stopPropagation()},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":this.removeState("abandoned");this.addState("pressed");e.stopPropagation()}},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":if(this.hasState("pressed")){this.removeState("abandoned");this.removeState("pressed");this.execute();e.stopPropagation()}}}}});qx.ui.form.Button.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Button":{require:!0},"qx.ui.toolbar.PartContainer":{},"qx.ui.core.queue.Appearance":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.Button",{extend:qx.ui.form.Button,properties:{appearance:{refine:!0,init:"toolbar-button"},show:{refine:!0,init:"inherit"}},members:{_applyVisibility:function(e,t){qx.ui.toolbar.Button.superclass.prototype._applyVisibility.call(this,e,t);var n=this.getLayoutParent();n&&n instanceof qx.ui.toolbar.PartContainer&&qx.ui.core.queue.Appearance.add(n)}}});qx.ui.toolbar.Button.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Button":{construct:!0,require:!0},"qx.ui.menu.Menu":{},"qx.ui.core.FocusHandler":{},"qx.ui.menu.Manager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.MenuButton",{extend:qx.ui.form.Button,construct:function(e,t,n){qx.ui.form.Button.constructor.call(this,e,t);null!=n&&this.setMenu(n);this.getContentElement().setAttribute("role","button")},properties:{menu:{check:"qx.ui.menu.Menu",nullable:!0,apply:"_applyMenu",event:"changeMenu"},appearance:{refine:!0,init:"menubutton"}},members:{_applyVisibility:function(e,t){qx.ui.form.MenuButton.superclass.prototype._applyVisibility.call(this,e,t);var n=this.getMenu();"visible"!=e&&n&&n.hide()},_applyMenu:function(e,t){if(t){t.removeListener("changeVisibility",this._onMenuChange,this);t.resetOpener()}if(e){e.addListener("changeVisibility",this._onMenuChange,this);e.setOpener(this);e.removeState("submenu");e.removeState("contextmenu")}var n=this.getContentElement();if(n)if(e){n.setAttribute("aria-haspopup","menu");n.setAttribute("aria-expanded",e.isVisible());n.setAttribute("aria-controls",e.getContentElement().getAttribute("id"))}else{n.removeAttribute("aria-haspopup");n.removeAttribute("aria-expanded");n.removeAttribute("aria-controls")}},open:function(e){var t=this.getMenu();if(t){this.isFocusable()&&!qx.ui.core.FocusHandler.getInstance().isFocused(this)&&this.focus();qx.ui.menu.Manager.getInstance().hideAll();t.setOpener(this);t.open();if(e){var n=t.getSelectables()[0];n&&t.setSelectedButton(n)}}},_onMenuChange:function(e){var t=this.getMenu().isVisible();t?this.addState("pressed"):this.removeState("pressed");this.getContentElement().setAttribute("aria-expanded",t)},_onPointerDown:function(e){qx.ui.form.MenuButton.superclass.prototype._onPointerDown.call(this,e);if("left"==e.getButton()){var t=this.getMenu();if(t){t.isVisible()?t.exclude():this.open();e.stopPropagation()}}},_onPointerUp:function(e){qx.ui.form.MenuButton.superclass.prototype._onPointerUp.call(this,e);e.stopPropagation()},_onPointerOver:function(e){this.addState("hovered")},_onPointerOut:function(e){this.removeState("hovered")},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case"Space":case"Enter":this.removeState("abandoned");this.addState("pressed");var t=this.getMenu();t&&(t.isVisible()?t.exclude():this.open());e.stopPropagation()}},_onKeyUp:function(e){}}});qx.ui.form.MenuButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.MenuButton":{require:!0},"qx.ui.toolbar.ToolBar":{},"qx.ui.menu.Manager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.menubar.Button",{extend:qx.ui.form.MenuButton,properties:{appearance:{refine:!0,init:"menubar-button"},show:{refine:!0,init:"inherit"}},members:{getMenuBar:function(){for(var e=this;e;){if(e instanceof qx.ui.toolbar.ToolBar)return e;e=e.getLayoutParent()}return null},open:function(e){qx.ui.menubar.Button.superclass.prototype.open.call(this,e);var t=this.getMenuBar();t&&t._setAllowMenuOpenHover(!0)},_onMenuChange:function(e){var t=this.getMenu(),n=this.getMenuBar();if(t.isVisible()){this.addState("pressed");n&&n.setOpenMenu(t)}else{this.removeState("pressed");if(n&&n.getOpenMenu()==t){n.resetOpenMenu();n._setAllowMenuOpenHover(!1)}}},_onPointerUp:function(e){qx.ui.menubar.Button.superclass.prototype._onPointerUp.call(this,e);var t=this.getMenu();t&&t.isVisible()&&!this.hasState("pressed")&&this.addState("pressed")},_onPointerOver:function(e){this.addState("hovered");if(this.getMenu()&&"mouse"==e.getPointerType()){var t=this.getMenuBar();if(t&&t._isAllowMenuOpenHover()){qx.ui.menu.Manager.getInstance().hideAll();t._setAllowMenuOpenHover(!0);this.isEnabled()&&this.open()}}}}});qx.ui.menubar.Button.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.menubar.Button":{require:!0},"qx.ui.toolbar.PartContainer":{},"qx.ui.core.queue.Appearance":{},"qx.ui.basic.Image":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.MenuButton",{extend:qx.ui.menubar.Button,properties:{appearance:{refine:!0,init:"toolbar-menubutton"},showArrow:{check:"Boolean",init:!1,themeable:!0,apply:"_applyShowArrow"}},members:{_applyVisibility:function(e,t){qx.ui.toolbar.MenuButton.superclass.prototype._applyVisibility.call(this,e,t);var n=this.getMenu();"visible"!=e&&n&&n.hide();var r=this.getLayoutParent();r&&r instanceof qx.ui.toolbar.PartContainer&&qx.ui.core.queue.Appearance.add(r)},_createChildControlImpl:function(e,t){var n;if("arrow"===e){(n=new qx.ui.basic.Image).setAnonymous(!0);this._addAt(n,10)}return n||qx.ui.toolbar.MenuButton.superclass.prototype._createChildControlImpl.call(this,e)},_applyShowArrow:function(e,t){e?this._showChildControl("arrow"):this._excludeChildControl("arrow")}}});qx.ui.toolbar.MenuButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.lang.Function":{},"qx.event.Idle":{},"qx.bom.element.Location":{},"qx.util.placement.Placement":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MPlacement",{statics:{__P_54_0:null,__P_54_1:"left",setVisibleElement:function(e){this.__P_54_0=e},getVisibleElement:function(){return this.__P_54_0},setMoveDirection:function(e){if("top"!==e&&"left"!==e)throw new Error("Invalid value for the parameter 'direction' [qx.ui.core.MPlacement.setMoveDirection()], the value was '"+e+"' but 'top' or 'left' are allowed.");this.__P_54_1=e},getMoveDirection:function(){return this.__P_54_1}},properties:{position:{check:["top-left","top-center","top-right","bottom-left","bottom-center","bottom-right","left-top","left-middle","left-bottom","right-top","right-middle","right-bottom"],init:"bottom-left",themeable:!0},placeMethod:{check:["widget","pointer"],init:"pointer",themeable:!0},domMove:{check:"Boolean",init:!1},placementModeX:{check:["direct","keep-align","best-fit"],init:"keep-align",themeable:!0},placementModeY:{check:["direct","keep-align","best-fit"],init:"keep-align",themeable:!0},offsetLeft:{check:"Integer",init:0,themeable:!0},offsetTop:{check:"Integer",init:0,themeable:!0},offsetRight:{check:"Integer",init:0,themeable:!0},offsetBottom:{check:"Integer",init:0,themeable:!0},offset:{group:["offsetTop","offsetRight","offsetBottom","offsetLeft"],mode:"shorthand",themeable:!0}},members:{__P_54_2:null,__P_54_3:null,__P_54_4:null,getLayoutLocation:function(e){var t,n,r,i;if(!(n=e.getBounds()))return null;r=n.left;i=n.top;var o=n;e=e.getLayoutParent();for(;e&&!e.isRootWidget();){r+=(n=e.getBounds()).left;i+=n.top;r+=(t=e.getInsets()).left;i+=t.top;e=e.getLayoutParent()}if(e&&e.isRootWidget()){var s=e.getContentLocation();if(s){r+=s.left;i+=s.top}}return{left:r,top:i,right:r+o.width,bottom:i+o.height}},moveTo:function(e,t){var n=qx.ui.core.MPlacement.getVisibleElement();if(n){var r=this.getBounds(),i=n.getContentLocation();if(r&&i){var o=t+r.height;if(e+r.width>i.left&&ei.top&&tt?this._assertSlideBar((function(){this.setHeight(t-n)})):this.setHeight(null)}else this.addListenerOnce("resize",this.__P_13_2,this)},_assertSlideBar:function(e){if(this.hasChildControl("slidebar"))return e.call(this);this.__P_13_1=e;qx.ui.core.queue.Widget.add(this)},syncWidget:function(e){this.getChildControl("slidebar");if(this.__P_13_1){this.__P_13_1.call(this);delete this.__P_13_1}},_afterAddChild:function(e){if(e instanceof qx.ui.menu.AbstractButton){var t=e.getContentElement();t.setAttribute("id","menu-item-"+e.toHashCode());t.setAttribute("role","menuitem")}},_onResize:function(){if(this.isVisible()){var e=this._placementTarget;if(!e)return;if(e instanceof qx.ui.core.Widget)this.placeToWidget(e,!0);else{if(void 0===e.top)throw new Error("Unknown target: "+e);this.placeToPoint(e)}this.__P_13_2()}},_onPointerOver:function(e){var t=qx.ui.menu.Manager.getInstance();t.cancelClose(this);var n=e.getTarget();if(n.isEnabled()&&n instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(n);var r=n.getMenu&&n.getMenu();if(r){r.setOpener(n);t.scheduleOpen(r);this.__P_13_0=r}else{var i=this.getOpenedButton();i&&t.scheduleClose(i.getMenu());if(this.__P_13_0){t.cancelOpen(this.__P_13_0);this.__P_13_0=null}}}else this.getOpenedButton()||this.resetSelectedButton()},_onPointerOut:function(e){var t=qx.ui.menu.Manager.getInstance();if(!qx.ui.core.Widget.contains(this,e.getRelatedTarget())){var n=this.getOpenedButton();n?this.setSelectedButton(n):this.resetSelectedButton();n&&t.cancelClose(n.getMenu());this.__P_13_0&&t.cancelOpen(this.__P_13_0)}},__P_13_4:function(){var e,t=this.getParentMenu();if(!t)return this.getOpener();for(;t;){e=t.getOpener();t=t.getParentMenu()}return e}},destruct:function(){qx.core.ObjectRegistry.inShutDown||qx.ui.menu.Manager.getInstance().remove(this);this.getApplicationRoot().removeListener("resize",this._onResize,this);this._placementTarget=null;this._disposeObjects("_blocker")}});qx.ui.menu.Menu.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MExecutable":{require:!0},"qx.ui.form.IExecutable":{require:!0},"qx.ui.menu.ButtonLayout":{construct:!0},"qx.ui.menu.Menu":{},"qx.ui.basic.Image":{},"qx.ui.basic.Label":{},"qx.event.Timer":{},"qx.ui.menu.Manager":{},"qx.locale.Manager":{},"qx.core.ObjectRegistry":{}},environment:{provided:[],required:{"qx.dynlocale":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.menu.AbstractButton",{extend:qx.ui.core.Widget,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],type:"abstract",construct:function(){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.menu.ButtonLayout);this.addListener("tap",this._onTap);this.addListener("keypress",this._onKeyPress);this.addListener("changeCommand",this._onChangeCommand,this)},properties:{blockToolTip:{refine:!0,init:!0},label:{check:"String",apply:"_applyLabel",nullable:!0,event:"changeLabel"},menu:{check:"qx.ui.menu.Menu",apply:"_applyMenu",nullable:!0,dereference:!0,event:"changeMenu"},icon:{check:"String",apply:"_applyIcon",themeable:!0,nullable:!0,event:"changeIcon"},showCommandLabel:{check:"Boolean",apply:"_applyShowCommandLabel",themeable:!0,init:!0,event:"changeShowCommandLabel"}},members:{_createChildControlImpl:function(e,t){var n;switch(e){case"icon":(n=new qx.ui.basic.Image).setAnonymous(!0);this._add(n,{column:0});break;case"label":(n=new qx.ui.basic.Label).setAnonymous(!0);this._add(n,{column:1});break;case"shortcut":(n=new qx.ui.basic.Label).setAnonymous(!0);this.getShowCommandLabel()||n.exclude();this._add(n,{column:2});break;case"arrow":(n=new qx.ui.basic.Image).setAnonymous(!0);this._add(n,{column:3})}return n||qx.ui.menu.AbstractButton.superclass.prototype._createChildControlImpl.call(this,e)},_forwardStates:{selected:1},getChildrenSizes:function(){var e=0,t=0,n=0,r=0;if(this._isChildControlVisible("icon")){var i=this.getChildControl("icon");e=i.getMarginLeft()+i.getSizeHint().width+i.getMarginRight()}if(this._isChildControlVisible("label")){var o=this.getChildControl("label");t=o.getMarginLeft()+o.getSizeHint().width+o.getMarginRight()}if(this._isChildControlVisible("shortcut")){var s=this.getChildControl("shortcut");n=s.getMarginLeft()+s.getSizeHint().width+s.getMarginRight()}if(this._isChildControlVisible("arrow")){var a=this.getChildControl("arrow");r=a.getMarginLeft()+a.getSizeHint().width+a.getMarginRight()}return[e,t,n,r]},_onTap:function(e){if(e.isLeftPressed()){this.execute();qx.event.Timer.once(qx.ui.menu.Manager.getInstance().hideAll,qx.ui.menu.Manager.getInstance(),0)}else this.getContextMenu()||qx.ui.menu.Manager.getInstance().preventContextMenuOnce()},_onKeyPress:function(e){this.execute()},_onChangeCommand:function(e){var t=e.getData();if(null!=t){e.getOldData()||qx.locale.Manager.getInstance().addListener("changeLocale",this._onChangeLocale,this);t||qx.locale.Manager.getInstance().removeListener("changeLocale",this._onChangeLocale,this);var n=null!=t?t.toString():"";this.getChildControl("shortcut").setValue(n)}},_onChangeLocale:qx.core.Environment.select("qx.dynlocale",{true:function(e){var t=this.getCommand();null!=t&&this.getChildControl("shortcut").setValue(t.toString())},false:null}),_applyIcon:function(e,t){e?this._showChildControl("icon").setSource(e):this._excludeChildControl("icon")},_applyLabel:function(e,t){e?this._showChildControl("label").setValue(e):this._excludeChildControl("label")},_applyMenu:function(e,t){if(t){t.removeListener("changeVisibility",this._onMenuChange,this);t.resetOpener();t.removeState("submenu")}if(e){this._showChildControl("arrow");e.addListener("changeVisibility",this._onMenuChange,this);e.setOpener(this);e.addState("submenu")}else this._excludeChildControl("arrow");var n=this.getContentElement();if(n)if(e){n.setAttribute("aria-haspopup","menu");n.setAttribute("aria-expanded",e.isVisible());n.setAttribute("aria-controls",e.getContentElement().getAttribute("id"))}else{n.removeAttribute("aria-haspopup");n.removeAttribute("aria-expanded");n.removeAttribute("aria-controls")}},_onMenuChange:function(e){this.getContentElement().setAttribute("aria-expanded",this.getMenu().isVisible())},_applyShowCommandLabel:function(e,t){e?this._showChildControl("shortcut"):this._excludeChildControl("shortcut")}},destruct:function(){this.removeListener("changeCommand",this._onChangeCommand,this);this.getMenu()&&(qx.core.ObjectRegistry.inShutDown||this.getMenu().destroy());qx.locale.Manager.getInstance().removeListener("changeLocale",this._onChangeLocale,this)}});qx.ui.menu.AbstractButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0},"qx.lang.Array":{},"qx.ui.layout.Util":{},"qx.ui.menu.Menu":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.menu.ButtonLayout",{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true:function(e,t,n){this.assert("column"==t,"The property '"+t+"' is not supported by the MenuButton layout!")},false:null}),renderLayout:function(e,t,n){for(var r,i=this._getLayoutChildren(),o=[],s=0,a=i.length;s0&&(d+=l[s]+c)}},__P_131_0:function(e){for(;!(e instanceof qx.ui.menu.Menu);)e=e.getLayoutParent();return e},_computeSizeHint:function(){for(var e=this._getLayoutChildren(),t=0,n=0,r=0,i=e.length;r=0;--n)r[n].selectorText==t&&e.deleteRule(n);else{var r;for(n=(r=e.rules).length-1;n>=0;--n)r[n].selectorText==t&&e.removeRule(n)}},removeSheet:function(e){var t=e.ownerNode?e.ownerNode:e.owningElement;qx.dom.Element.removeChild(t,t.parentNode)},removeAllRules:function(e){if(qx.core.Environment.get("html.stylesheet.deleterule"))for(var t=e.cssRules.length-1;t>=0;t--)e.deleteRule(t);else for(t=e.rules.length-1;t>=0;t--)e.removeRule(t)},addImport:function(e,t){qx.core.Environment.get("html.stylesheet.addimport")?e.addImport(t):e.insertRule('@import "'+t+'";',e.cssRules.length)},removeImport:function(e,t){if(qx.core.Environment.get("html.stylesheet.removeimport"))for(var n=e.imports,r=n.length-1;r>=0;r--)n[r].href!=t&&n[r].href!=qx.util.Uri.getAbsolute(t)||e.removeImport(r);else{var i=e.cssRules;for(r=i.length-1;r>=0;r--)i[r].href==t&&e.deleteRule(r)}},removeAllImports:function(e){if(qx.core.Environment.get("html.stylesheet.removeimport"))for(var t=e.imports.length-1;t>=0;t--)e.removeImport(t);else{var n=e.cssRules;for(t=n.length-1;t>=0;t--)n[t].type==n[t].IMPORT_RULE&&e.deleteRule(t)}}}});qx.bom.Stylesheet.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.bom.Stylesheet":{require:!0,defer:"runtime"},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.Style":{},"qx.bom.Event":{},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["css.animation","css.animation.requestframe"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.CssAnimation",{statics:{getSupport:function(){var e=qx.bom.client.CssAnimation.getName();return null!=e?{name:e,"play-state":qx.bom.client.CssAnimation.getPlayState(),"start-event":qx.bom.client.CssAnimation.getAnimationStart(),"iteration-event":qx.bom.client.CssAnimation.getAnimationIteration(),"end-event":qx.bom.client.CssAnimation.getAnimationEnd(),"fill-mode":qx.bom.client.CssAnimation.getFillMode(),keyframes:qx.bom.client.CssAnimation.getKeyFrames()}:null},getFillMode:function(){return qx.bom.Style.getPropertyName("AnimationFillMode")},getPlayState:function(){return qx.bom.Style.getPropertyName("AnimationPlayState")},getName:function(){return qx.bom.Style.getPropertyName("animation")},getAnimationStart:function(){if(qx.bom.Event.supportsEvent(window,"webkitanimationstart"))return"webkitAnimationStart";return{msAnimation:"MSAnimationStart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"animationstart",OAnimation:"oAnimationStart",animation:"animationstart"}[this.getName()]},getAnimationIteration:function(){if(qx.bom.Event.supportsEvent(window,"webkitanimationiteration"))return"webkitAnimationIteration";return{msAnimation:"MSAnimationIteration",WebkitAnimation:"webkitAnimationIteration",MozAnimation:"animationiteration",OAnimation:"oAnimationIteration",animation:"animationiteration"}[this.getName()]},getAnimationEnd:function(){if(qx.bom.Event.supportsEvent(window,"webkitanimationend"))return"webkitAnimationEnd";return{msAnimation:"MSAnimationEnd",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}[this.getName()]},getKeyFrames:function(){for(var e=qx.bom.Style.VENDOR_PREFIXES,t=[],n=0;ni?i-a:n-a,o,n>i?n-i+o:i-n+o);e.getContentElement().removeStyle("transform",!0)},_positionHorizontalLine:function(e,t,n,r,i,o,s){var a=parseInt(o/2,10);e.setUserBounds(t>r?r-a:t-a,n-a,t>r?t-r+o:r-t+o,o);e.getContentElement().removeStyle("transform",!0)},_positionDiagonalLine:function(e,t,n,r,i,o,s){var a=parseInt(o/2,10),u=t>r?r-a:t-a,l=n-a,c=Math.abs(t-r+o),h=Math.abs(t-r),d=Math.abs(n-i),f=Math.round(Math.sqrt(h*h+d*d)),_=Math.asin(d/f),p=0,m=f-c;if(nr){p=-Math.round(180*_/Math.PI);u-=m}else p=Math.round(180*_/Math.PI);else if(t>r){p=Math.round(180*_/Math.PI);u-=m}else p=-Math.round(180*_/Math.PI);var g=t1)throw new Error("You can only define one theme category per file! Invalid theme: "+e)}if(t.meta){var u;for(var r in t.meta){u=t.meta[r];if(void 0===this.__P_16_6[r])throw new Error('The key "'+r+'" is not allowed inside a meta theme block.');if(_typeof(u)!==this.__P_16_6[r])throw new Error('The type of the key "'+r+'" inside the meta block is wrong.');if("object"!==_typeof(u)||null===u||"Theme"!==u.$$type)throw new Error('The content of a meta theme must reference to other themes. The value for "'+r+'" in theme "'+e+'" is invalid: '+u)}}if(t.extend&&"Theme"!==t.extend.$$type)throw new Error('Invalid extend in theme "'+e+'": '+t.extend);if(t.include)for(o=0,s=t.include.length;o0;){u.unshift(l.pop());if((o=i[l.join(a)])&&"string"==typeof(s=o.alias||o)){var h=s+a+u.join(a);return this.__P_17_3(h,t,n,c)}}for(var d=0;d0&&(a+=":"+l)}var h,d=this.__P_17_0;if(d[n.name]&&void 0!==d[n.name][a])return d[n.name][a];t||(t=this.__P_17_2);if(s.include||s.base){var f;s.include&&(f=this.styleFrom(s.include,t,n,r));var _=s.style(t,f);h={};if(s.base){var p=this.styleFrom(o,t,s.base,r);if(s.include)for(var m in p)f.hasOwnProperty(m)||_.hasOwnProperty(m)||(h[m]=p[m]);else for(var g in p)_.hasOwnProperty(g)||(h[g]=p[g])}if(s.include)for(var v in f)_.hasOwnProperty(v)||(h[v]=f[v]);for(var b in _)h[b]=_[b]}else h=s.style(t);d[n.name]||(d[n.name]={});return d[n.name][a]=h||null}}});qx.theme.manager.Appearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("ville.connect.Appearance",{appearances:{connector:{include:"widget",style:function(e){return{backgroundColor:"#FF00FF",padding:0,zIndex:9}}}}});ville.connect.Appearance.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.Engine":{construct:!0,require:!0},"qx.bom.client.Browser":{construct:!0,require:!0},"qx.lang.Type":{},"qx.ui.style.Stylesheet":{},"qx.Bootstrap":{},"qx.ui.decoration.Decorator":{},"qx.ui.decoration.IDecorator":{},"qx.lang.Object":{},"qx.util.AliasManager":{}},environment:{provided:[],required:{"engine.name":{construct:!0,className:"qx.bom.client.Engine"},"browser.documentmode":{construct:!0,className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.theme.manager.Decoration",{type:"singleton",extend:qx.core.Object,implement:[qx.core.IDisposable],statics:{CSS_CLASSNAME_PREFIX:"qx-"},construct:function(){qx.core.Object.constructor.call(this);this.__P_18_0=[];this.__P_18_1="mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9},properties:{theme:{check:"Theme",nullable:!0,apply:"_applyTheme",event:"changeTheme"}},members:{__P_18_2:null,__P_18_0:null,__P_18_1:!1,getCssClassName:function(e){var t=qx.theme.manager.Decoration.CSS_CLASSNAME_PREFIX;return qx.lang.Type.isString(e)?t+e:t+e.toHashCode()},addCssClass:function(e){var t=qx.ui.style.Stylesheet.getInstance(),n=e,r="."+(e=this.getCssClassName(e));if(t.hasRule(r))return e;qx.lang.Type.isString(n)&&(n=this.resolve(n));if(!n)throw new Error("Unable to resolve decorator '"+e+"'.");var i="",o=n.getStyles(!0);Object.keys(o).sort().forEach((function(e){if(qx.Bootstrap.isObject(o[e])){var n="",s=o[e],a=!1;for(var u in s){a=!0;n+=u+":"+s[u]+";"}var l=this.__P_18_1?r:r+(a?":":"");this.__P_18_0.push(l+e);t.addRule(l+e,n)}else i+=e+":"+o[e]+";"}),this);if(i){t.addRule(r,i);this.__P_18_0.push(r)}return e},removeAllCssClasses:function(){for(var e=0;ei.getZIndex())&&(i=a)}}this.__P_20_0.setActiveWindow(i)},bringToFront:function(e){var t=this.__P_20_0.getWindows();if(qx.lang.Array.remove(t,e)){t.push(e);this.updateStack()}},sendToBack:function(e){var t=this.__P_20_0.getWindows();if(qx.lang.Array.remove(t,e)){t.unshift(e);this.updateStack()}}},destruct:function(){this._disposeObjects("__P_20_0")}});qx.ui.window.Manager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qx.ui.window.IWindowManager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.window.IDesktop",{members:{setWindowManager:function(e){this.assertInterface(e,qx.ui.window.IWindowManager)},getWindows:function(){},supportsMaximize:function(){},blockContent:function(e){this.assertInteger(e)},unblock:function(){},isBlocked:function(){}}});qx.ui.window.IDesktop.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MChildrenHandling":{require:!0},"qx.ui.window.MDesktop":{require:!0},"qx.ui.core.MBlocker":{require:!0},"qx.ui.window.IDesktop":{require:!0},"qx.ui.window.Window":{construct:!0},"qx.ui.layout.Canvas":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.window.Desktop",{extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.window.MDesktop,qx.ui.core.MBlocker],implement:qx.ui.window.IDesktop,construct:function(e){qx.ui.core.Widget.constructor.call(this);e=e||new qx.ui.window.Window.DEFAULT_MANAGER_CLASS;this.getContentElement().disableScrolling();this._setLayout((new qx.ui.layout.Canvas).set({desktop:!0}));this.setWindowManager(e)}});qx.ui.window.Desktop.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("wax.demo.DiagramData",{extend:qx.core.Object,statics:{DIAGRAMS:{BasicFlowchart:{elements:[{id:1,left:300,top:10,properties:{},options:{content:"Start",shape:"circle-pill"}},{id:2,left:300,top:110,properties:{},options:{content:"Step 1",shape:"square-rectangle-sharp"}},{id:3,left:293,top:240,properties:{},options:{content:"Decision",shape:"diamond"}},{id:4,left:500,top:290,properties:{},options:{content:"Step 2",shape:"square-rectangle-sharp"}},{id:5,left:300,top:430,properties:{},options:{content:"End",shape:"circle-pill"}},{id:6,left:800,top:500,properties:{visibility:"hidden"},options:{content:"label",shape:"square-rectangle-sharp"}}],connections:[{elementA:1,elementB:2,properties:{appearance:"connector",decorator:"connector-solid"},options:{anchorA:"vertical",anchorB:"vertical",anchorAposition:"center-bottom",anchorBposition:"center",anchorBoffsetTop:10}},{elementA:2,elementB:3,properties:{appearance:"connector",decorator:"connector-solid"},options:{anchorA:"vertical",anchorB:"vertical"}},{elementA:3,elementB:4,properties:{appearance:"connector",decorator:"connector-solid"},options:{anchorA:"horizontal",anchorB:"horizontal"}},{elementA:4,elementB:2,properties:{appearance:"connector",decorator:"connector-solid"},options:{anchorA:"vertical",anchorB:"horizontal"}},{elementA:3,elementB:5,properties:{appearance:"connector",decorator:"connector-solid"},options:{anchorA:"vertical",anchorB:"vertical"}}]},NetworkDiagram:{elements:[{id:1,left:10,top:40,properties:{backgroundColor:"transparent"},options:{content:"Server",image:"wax/demo/server_02.png"}},{id:2,left:150,top:200,properties:{},options:{content:"6 Port Switch",image:"wax/demo/switch_02.png"}},{id:3,left:300,top:30,properties:{},options:{content:"Router",image:"wax/demo/router_01.png"}},{id:4,left:500,top:170,properties:{},options:{content:"ISP",image:"wax/demo/isp_01.png"}},{id:5,left:750,top:70,properties:{},options:{content:"Cloud",image:"wax/demo/cloud_01.png"}},{id:6,left:50,top:370,properties:{},options:{content:"Printer",image:"wax/demo/printer_02.png"}},{id:7,left:270,top:370,properties:{},options:{content:"Workstation",image:"wax/demo/computer_02.png"}},{id:8,left:520,top:370,properties:{},options:{content:"Workstation",image:"wax/demo/computer_02.png"}},{id:9,left:700,top:400,properties:{visibility:"hidden"},options:{content:"A simple network diagram"}}],connections:[{elementA:1,elementB:2,properties:{appearance:"connector",decorator:"connector-solid"},options:{anchorA:"vertical",anchorB:"horizontal",anchorAposition:"center-bottom",anchorBposition:"left-middle",strokeWidth:6,startArrow:"clippy-arrow",startArrowsize:22,endArrow:"clippy-arrow",endArrowsize:22}},{elementA:2,elementB:3,properties:{appearance:"connector",decorator:"connector-solid"},options:{anchorA:"vertical",anchorB:"horizontal",anchorAposition:"center-top",anchorBposition:"left-middle",startArrow:"clippy-arrow",startArrowsize:42,endArrow:"clippy-arrow",endArrowsize:42}},{elementA:3,elementB:4,properties:{appearance:"connector",decorator:"connector-dashed-large"},options:{anchorA:"horizontal",anchorB:"vertical",anchorAposition:"right-middle",anchorBposition:"center-top",startArrow:"clippy-arrow",startArrowsize:42,endArrow:"clippy-arrow",endArrowsize:42}},{elementA:4,elementB:5,properties:{appearance:"connector",decorator:"connector-dashed-small"},options:{anchorA:"horizontal",anchorB:"horizontal",anchorAposition:"right-middle",anchorBposition:"left-middle",startArrow:"clippy-arrow",startArrowsize:22,endArrow:"clippy-arrow",endArrowsize:22,strokeWidth:4}},{elementA:2,elementB:6,properties:{backgroundColor:"gray"},options:{anchorA:"vertical",anchorB:"vertical",anchorAposition:"center-bottom",strokeWidth:6}},{elementA:2,elementB:7,properties:{backgroundColor:"gray"},options:{anchorA:"vertical",anchorB:"vertical",anchorAposition:"center-bottom",strokeWidth:6}},{elementA:2,elementB:8,properties:{backgroundColor:"gray"},options:{anchorA:"vertical",anchorB:"vertical",anchorAposition:"center-bottom",strokeWidth:6}}]}}}});wax.demo.DiagramData.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MRemoteLayoutHandling",{members:{setLayout:function(e){var t=this.getChildrenContainer();t===this?t._setLayout(e):t.setLayout(e)},getLayout:function(){var e=this.getChildrenContainer();return e===this?e._getLayout():e.getLayout()}}});qx.ui.core.MRemoteLayoutHandling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.event.Registration":{construct:!0},"qx.event.handler.DragDrop":{construct:!0},"qx.ui.core.Widget":{},"qx.core.Init":{},"qx.lang.Object":{},"qx.core.ObjectRegistry":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MResizable",{construct:function(){var e=this.getContentElement();e.addListener("pointerdown",this.__P_75_0,this,!0);e.addListener("pointerup",this.__P_75_1,this);e.addListener("pointermove",this.__P_75_2,this);e.addListener("pointerout",this.__P_75_3,this);e.addListener("losecapture",this.__P_75_4,this);var t=e.getDomElement();null==t&&(t=window);this.__P_75_5=qx.event.Registration.getManager(t).getHandler(qx.event.handler.DragDrop)},properties:{resizableTop:{check:"Boolean",init:!0},resizableRight:{check:"Boolean",init:!0},resizableBottom:{check:"Boolean",init:!0},resizableLeft:{check:"Boolean",init:!0},resizable:{group:["resizableTop","resizableRight","resizableBottom","resizableLeft"],mode:"shorthand"},resizeSensitivity:{check:"Integer",init:5},useResizeFrame:{check:"Boolean",init:!0}},members:{__P_75_5:null,__P_75_6:null,__P_75_7:null,__P_75_8:null,__P_75_9:null,__P_75_10:null,__P_75_11:null,RESIZE_TOP:1,RESIZE_BOTTOM:2,RESIZE_LEFT:4,RESIZE_RIGHT:8,_getResizeFrame:function(){var e=this.__P_75_6;if(!e){(e=this.__P_75_6=new qx.ui.core.Widget).setAppearance("resize-frame");e.exclude();qx.core.Init.getApplication().getRoot().add(e)}return e},__P_75_12:function(){var e=this.getContentLocation(),t=this._getResizeFrame();t.setUserBounds(e.left,e.top,e.right-e.left,e.bottom-e.top);t.show();t.setZIndex(this.getZIndex()+1)},__P_75_13:function(e){var t,n=this.__P_75_7,r=this.getSizeHint(),i=this.__P_75_11,o=this.__P_75_10,s=o.width,a=o.height,u=o.left,l=o.top;if(n&this.RESIZE_TOP||n&this.RESIZE_BOTTOM){t=Math.max(i.top,Math.min(i.bottom,e.getDocumentTop()))-this.__P_75_9;n&this.RESIZE_TOP?a-=t:a+=t;ar.maxHeight&&(a=r.maxHeight);n&this.RESIZE_TOP&&(l+=o.height-a)}if(n&this.RESIZE_LEFT||n&this.RESIZE_RIGHT){t=Math.max(i.left,Math.min(i.right,e.getDocumentLeft()))-this.__P_75_8;n&this.RESIZE_LEFT?s-=t:s+=t;sr.maxWidth&&(s=r.maxWidth);n&this.RESIZE_LEFT&&(u+=o.width-s)}return{viewportLeft:u,viewportTop:l,parentLeft:o.bounds.left+u-o.left,parentTop:o.bounds.top+l-o.top,width:s,height:a}},__P_75_14:{1:"n-resize",2:"s-resize",4:"w-resize",8:"e-resize",5:"nw-resize",6:"sw-resize",9:"ne-resize",10:"se-resize"},__P_75_15:function(e){var t=this.getContentLocation(),n=this.getResizeSensitivity(),r=e.getDocumentLeft(),i=e.getDocumentTop(),o=this.__P_75_16(t,r,i,n);o>0&&(o|=this.__P_75_16(t,r,i,2*n));this.__P_75_7=o},__P_75_16:function(e,t,n,r){var i=0;this.getResizableTop()&&Math.abs(e.top-n)e.left-r&&te.left-r&&te.top-r&&ne.top-r&&n localList["+i+"] callListener");return e.handler.call(o,t)}m("captureList["+n+"] => localList["+i+"] is blacklisted")}),!0);return i===qx.event.Utils.ABORT||t.getPropagationStopped()?qx.event.Utils.reject(p):i}))}));qx.event.Utils.then(p,(function(){t.setEventPhase(qx.event.type.Event.AT_TARGET);t.setCurrentTarget(e);m("targetList="+u.length);return qx.event.Utils.series(u,(function(n,r){m("targetList["+r+"] localList.length="+n.length);var i=qx.event.Utils.series(n,(function(n,i){m("targetList["+r+"] -> localList["+i+"] callListener");o=n.context||e;m("Calling target serial="+f+", type="+t.getType());return n.handler.call(o,t)}),!0);return i===qx.event.Utils.ABORT||t.getPropagationStopped()?qx.event.Utils.reject(p):i}))}));qx.event.Utils.then(p,(function(){t.setEventPhase(qx.event.type.Event.BUBBLING_PHASE);m("bubbleList="+l.length);return qx.event.Utils.series(l,(function(e,n){m("bubbleList["+n+"] localList.length="+e.length);var r=c[n];t.setCurrentTarget(r);var i=qx.event.Utils.series(e,(function(e,i){m("bubbleList["+n+"] -> localList["+i+"] callListener");o=e.context||r;return e.handler.call(o,t)}),!0);return i===qx.event.Utils.ABORT||t.getPropagationStopped()?qx.event.Utils.reject(p):i}))}));false;return p.promise}}});qx.event.dispatch.AbstractBubbling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.dispatch.AbstractBubbling":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.dispatch.DomBubbling",{extend:qx.event.dispatch.AbstractBubbling,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL},members:{_getParent:function(e){return e.parentNode},canDispatchEvent:function(e,t,n){return void 0!==e.nodeType&&t.getBubbles()}},defer:function(e){qx.event.Registration.addDispatcher(e)}});qx.event.dispatch.DomBubbling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Native":{require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"},"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Dom",{extend:qx.event.type.Native,statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8,CAPSLOCK_MASK:16,NUMLOCK_MASK:32,SCROLLLOCK_MASK:64},members:{_cloneNativeEvent:function(e,t){(t=qx.event.type.Dom.superclass.prototype._cloneNativeEvent.call(this,e,t)).shiftKey=e.shiftKey;t.ctrlKey=e.ctrlKey;t.altKey=e.altKey;t.metaKey=e.metaKey;if("function"==typeof e.getModifierState){t.numLock=e.getModifierState("NumLock");t.capsLock=e.getModifierState("CapsLock");t.scrollLock=e.getModifierState("ScrollLock")}else{t.numLock=!1;t.capsLock=!1;t.scrollLock=!1}return t},getModifiers:function(){var e=0,t=this._native;t.shiftKey&&(e|=qx.event.type.Dom.SHIFT_MASK);t.ctrlKey&&(e|=qx.event.type.Dom.CTRL_MASK);t.altKey&&(e|=qx.event.type.Dom.ALT_MASK);t.metaKey&&(e|=qx.event.type.Dom.META_MASK);return e},getKeyLockState:function(){var e=0,t=this._native;t.capsLock&&(e|=qx.event.type.Dom.CAPSLOCK_MASK);t.numLock&&(e|=qx.event.type.Dom.NUMLOCK_MASK);t.scrollLock&&(e|=qx.event.type.Dom.SCROLLLOCK_MASK);return e},isCtrlPressed:function(){return this._native.ctrlKey},isShiftPressed:function(){return this._native.shiftKey},isAltPressed:function(){return this._native.altKey},isMetaPressed:function(){return this._native.metaKey},isCapsLocked:function(){return this._native.capsLock},isNumLocked:function(){return this._native.numLock},isScrollLocked:function(){return this._native.scrollLock},isCtrlOrCommandPressed:function(){return"osx"==qx.core.Environment.get("os.name")&&"opera"!=qx.core.Environment.get("engine.name")?this._native.metaKey:this._native.ctrlKey}}});qx.event.type.Dom.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Dom":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.Engine":{require:!0},"qx.dom.Node":{},"qx.bom.Viewport":{}},environment:{provided:[],required:{"browser.name":{className:"qx.bom.client.Browser"},"browser.documentmode":{className:"qx.bom.client.Browser"},"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Mouse",{extend:qx.event.type.Dom,members:{_cloneNativeEvent:function(e,t){t=qx.event.type.Mouse.superclass.prototype._cloneNativeEvent.call(this,e,t);switch(e.type){case"mousemove":case"mouseenter":case"mouseleave":case"mouseover":case"mouseout":t.button=-1;break;default:t.button=e.button}t.buttons=e.buttons;t.clientX=Math.round(e.clientX);t.clientY=Math.round(e.clientY);t.pageX=e.pageX?Math.round(e.pageX):void 0;t.pageY=e.pageY?Math.round(e.pageY):void 0;t.screenX=Math.round(e.screenX);t.screenY=Math.round(e.screenY);t.wheelDelta=e.wheelDelta;t.wheelDeltaX=e.wheelDeltaX;t.wheelDeltaY=e.wheelDeltaY;t.delta=e.delta;t.deltaX=e.deltaX;t.deltaY=e.deltaY;t.deltaZ=e.deltaZ;t.detail=e.detail;t.axis=e.axis;t.wheelX=e.wheelX;t.wheelY=e.wheelY;t.HORIZONTAL_AXIS=e.HORIZONTAL_AXIS;t.srcElement=e.srcElement;t.target=e.target;return t},__P_178_0:{0:"left",2:"right",1:"middle"},__P_178_1:{0:"none",1:"left",2:"right",4:"middle"},__P_178_2:{1:"left",2:"right",4:"middle"},stop:function(){this.stopPropagation()},getButton:function(){switch(this._type){case"contextmenu":return"right";case"click":if("ie"===qx.core.Environment.get("browser.name")&&qx.core.Environment.get("browser.documentmode")<9)return"left";default:return"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<=8?this.__P_178_2[this._native.button]||"none":-1===this._native.button?this.__P_178_1[this._native.buttons]||"none":this.__P_178_0[this._native.button]||"none"}},isLeftPressed:function(){return"left"===this.getButton()},isMiddlePressed:function(){return"middle"===this.getButton()},isRightPressed:function(){return"right"===this.getButton()},getRelatedTarget:function(){return this._relatedTarget},getViewportLeft:function(){return Math.round(this._native.clientX)},getViewportTop:function(){return Math.round(this._native.clientY)},getDocumentLeft:function(){if(void 0!==this._native.pageX)return Math.round(this._native.pageX);if(this._native.srcElement){var e=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(e)}return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(window)},getDocumentTop:function(){if(void 0!==this._native.pageY)return Math.round(this._native.pageY);if(this._native.srcElement){var e=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(e)}return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(window)},getScreenLeft:function(){return Math.round(this._native.screenX)},getScreenTop:function(){return Math.round(this._native.screenY)}}});qx.event.type.Mouse.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Mouse":{require:!0},"qx.bom.Event":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Pointer",{extend:qx.event.type.Mouse,members:{_cloneNativeEvent:function(e,t){(t=qx.event.type.Pointer.superclass.prototype._cloneNativeEvent.call(this,e,t)).pointerId=e.pointerId;t.width=e.width;t.height=e.height;t.pressure=e.pressure;t.tiltX=e.tiltX;t.tiltY=e.tiltY;t.pointerType=e.pointerType;t.isPrimary=e.isPrimary;t._original=e._original;t.MSPOINTER_TYPE_MOUSE=e.MSPOINTER_TYPE_MOUSE;t.MSPOINTER_TYPE_PEN=e.MSPOINTER_TYPE_PEN;t.MSPOINTER_TYPE_TOUCH=e.MSPOINTER_TYPE_TOUCH;return t},getDocumentLeft:function(){var e=qx.event.type.Pointer.superclass.prototype.getDocumentLeft.call(this);0==e&&"touch"==this.getPointerType()&&void 0!==this._native._original&&(e=Math.round(this._native._original.changedTouches[0].pageX)||0);return e},getDocumentTop:function(){var e=qx.event.type.Pointer.superclass.prototype.getDocumentTop.call(this);0==e&&"touch"==this.getPointerType()&&void 0!==this._native._original&&(e=Math.round(this._native._original.changedTouches[0].pageY)||0);return e},getPointerId:function(){return this._native.pointerId||0},getWidth:function(){return this._native.width||0},getHeight:function(){return this._native.height||0},getPressure:function(){return this._native.pressure||0},getTiltX:function(){return this._native.tiltX||0},getTiltY:function(){return this._native.tiltY||0},getOriginalTarget:function(){if(this._native&&this._native._original){var e=this._native._original;try{if(0==e.type.indexOf("touch")&&e.changedTouches[0])return document.elementFromPoint(e.changedTouches[0].clientX,e.changedTouches[0].clientY)}catch(e){return qx.bom.Event.getTarget(this._native)}return qx.bom.Event.getTarget(e)}return this._native?qx.bom.Event.getTarget(this._native):qx.event.type.Pointer.superclass.prototype.getOriginalTarget.call(this)},getPointerType:function(){if("string"==typeof this._native.pointerType)return this._native.pointerType;if("number"==typeof this._native.pointerType){if(this._native.pointerType==this._native.MSPOINTER_TYPE_MOUSE)return"mouse";if(this._native.pointerType==this._native.MSPOINTER_TYPE_PEN)return"pen";if(this._native.pointerType==this._native.MSPOINTER_TYPE_TOUCH)return"touch"}return""},isPrimary:function(){return!!this._native.isPrimary}}});qx.event.type.Pointer.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Event":{require:!0},"qx.lang.Object":{}},environment:{provided:[],required:{"event.customevent":{className:"qx.bom.client.Event"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.type.dom.Custom",{extend:Object,statics:{PROPERTIES:{bubbles:!1,cancelable:!0}},construct:function(e,t,n){this._type=e;this._event=this._createEvent();this._initEvent(t,n);this._event._original=t;this._event.preventDefault=function(){if(this._original.preventDefault)this._original.preventDefault();else try{this._original.returnValue=!1}catch(e){}};this._event.stopPropagation&&(this._event._nativeStopPropagation=this._event.stopPropagation);this._event.stopPropagation=function(){this._stopped=!0;if(this._nativeStopPropagation){this._original.stopPropagation();this._nativeStopPropagation()}else this._original.cancelBubble=!0};return this._event},members:{_type:null,_event:null,_createEvent:function(){var e;qx.core.Environment.get("event.customevent")?e=new window.CustomEvent(this._type):"function"==typeof document.createEvent?e=document.createEvent("UIEvents"):"object"==_typeof(document.createEventObject)&&((e={}).type=this._type);return e},_initEvent:function(e,t){t=t||{};var n=qx.lang.Object.clone(qx.event.type.dom.Custom.PROPERTIES);for(var r in t)n[r]=t[r];this._event.initEvent&&this._event.initEvent(this._type,n.bubbles,n.cancelable);for(var r in n)try{this._event[r]=n[r]}catch(e){}}}});qx.event.type.dom.Custom.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.event.type.dom.Custom":{construct:!0,require:!0},"qx.dom.Node":{},"qx.bom.Viewport":{},"qx.bom.client.Event":{require:!0},"qx.bom.client.Engine":{defer:"load",require:!0},"qx.bom.client.OperatingSystem":{defer:"load",require:!0}},environment:{provided:[],required:{"event.mouseevent":{className:"qx.bom.client.Event"},"event.mousecreateevent":{className:"qx.bom.client.Event"},"engine.name":{defer:!0,className:"qx.bom.client.Engine"},"os.name":{defer:!0,className:"qx.bom.client.OperatingSystem"},"os.version":{defer:!0,className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.type.dom.Pointer",{extend:qx.event.type.dom.Custom,statics:{MOUSE_PROPERTIES:["bubbles","cancelable","view","detail","screenX","screenY","clientX","clientY","pageX","pageY","ctrlKey","altKey","shiftKey","metaKey","button","which","relatedTarget","fromElement","toElement"],POINTER_PROPERTIES:{pointerId:1,width:0,height:0,pressure:.5,tiltX:0,tiltY:0,pointerType:"",isPrimary:!1},READONLY_PROPERTIES:[],BIND_METHODS:["getPointerType","getViewportLeft","getViewportTop","getDocumentLeft","getDocumentTop","getScreenLeft","getScreenTop"],getPointerType:function(){if("string"==typeof this.pointerType)return this.pointerType;if("number"==typeof this.pointerType){if(this.pointerType==this.MSPOINTER_TYPE_MOUSE)return"mouse";if(this.pointerType==this.MSPOINTER_TYPE_PEN)return"pen";if(this.pointerType==this.MSPOINTER_TYPE_TOUCH)return"touch"}return""},getViewportLeft:function(){return this.clientX},getViewportTop:function(){return this.clientY},getDocumentLeft:function(){if(void 0!==this.pageX)return this.pageX;var e=qx.dom.Node.getWindow(this.srcElement);return this.clientX+qx.bom.Viewport.getScrollLeft(e)},getDocumentTop:function(){if(void 0!==this.pageY)return this.pageY;var e=qx.dom.Node.getWindow(this.srcElement);return this.clientY+qx.bom.Viewport.getScrollTop(e)},getScreenLeft:function(){return this.screenX},getScreenTop:function(){return this.screenY},normalize:function(e){for(var t=qx.event.type.dom.Pointer.BIND_METHODS,n=0,r=t.length;n=8&&(e.READONLY_PROPERTIES=e.READONLY_PROPERTIES.concat(e.MOUSE_PROPERTIES))}});qx.event.type.dom.Pointer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.bom.client.Event":{require:!0,construct:!0},"qx.bom.client.Device":{require:!0,construct:!0},"qx.core.Environment":{defer:"load",usage:"dynamic",construct:!0,require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.Engine":{construct:!0,require:!0},"qx.bom.client.Browser":{construct:!0,require:!0},"qx.lang.Function":{},"qx.dom.Node":{},"qx.event.Emitter":{},"qx.bom.Event":{},"qx.event.type.dom.Pointer":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.lang.Array":{},"qx.event.Utils":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine",construct:!0},"browser.documentmode":{load:!0,className:"qx.bom.client.Browser",construct:!0},"event.mspointer":{construct:!0,className:"qx.bom.client.Event"},"device.touch":{construct:!0,className:"qx.bom.client.Device"},"os.name":{className:"qx.bom.client.OperatingSystem"},"event.dispatchevent":{className:"qx.bom.client.Event"},"browser.name":{className:"qx.bom.client.Browser"},"browser.version":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.handler.PointerCore",{extend:Object,implement:[qx.core.IDisposable],statics:{MOUSE_TO_POINTER_MAPPING:{mousedown:"pointerdown",mouseup:"pointerup",mousemove:"pointermove",mouseout:"pointerout",mouseover:"pointerover"},TOUCH_TO_POINTER_MAPPING:{touchstart:"pointerdown",touchend:"pointerup",touchmove:"pointermove",touchcancel:"pointercancel"},MSPOINTER_TO_POINTER_MAPPING:{MSPointerDown:"pointerdown",MSPointerMove:"pointermove",MSPointerUp:"pointerup",MSPointerCancel:"pointercancel",MSPointerLeave:"pointerleave",MSPointerEnter:"pointerenter",MSPointerOver:"pointerover",MSPointerOut:"pointerout"},POINTER_TO_GESTURE_MAPPING:{pointerdown:"gesturebegin",pointerup:"gesturefinish",pointercancel:"gesturecancel",pointermove:"gesturemove"},LEFT_BUTTON:"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<=8?1:0,SIM_MOUSE_DISTANCE:25,SIM_MOUSE_DELAY:2500,__P_182_0:null},construct:function(e,t){this.__P_182_1=e;this.__P_182_2=t;this.__P_182_3=[];this.__P_182_4=[];this.__P_182_5=[];this._processedFlag="$$qx"+this.classname.substr(this.classname.lastIndexOf(".")+1)+"Processed";var n=qx.core.Environment.get("engine.name"),r=parseInt(qx.core.Environment.get("browser.documentmode"),10);if("mshtml"==n&&10==r){this.__P_182_3=["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerCancel","MSPointerOver","MSPointerOut","pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout"];this._initPointerObserver()}else{qx.core.Environment.get("event.mspointer")&&(this.__P_182_6=!0);this.__P_182_3=["pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout"];this._initPointerObserver()}if(!qx.core.Environment.get("event.mspointer")){if(qx.core.Environment.get("device.touch")){this.__P_182_3=["touchstart","touchend","touchmove","touchcancel"];this._initObserver(this._onTouchEvent)}this.__P_182_3=["mousedown","mouseup","mousemove","mouseover","mouseout","contextmenu"];this._initObserver(this._onMouseEvent)}},members:{__P_182_1:null,__P_182_2:null,__P_182_3:null,__P_182_6:!1,__P_182_7:null,__P_182_8:0,__P_182_4:null,__P_182_9:null,__P_182_5:null,_processedFlag:null,_initPointerObserver:function(){this._initObserver(this._onPointerEvent)},_initObserver:function(e,t){this.__P_182_7=qx.lang.Function.listener(e,this);this.__P_182_3.forEach(function(e){if(t&&qx.dom.Node.isDocument(this.__P_182_1)){this.__P_182_1.$$emitter||(this.__P_182_1.$$emitter=new qx.event.Emitter);this.__P_182_1.$$emitter.on(e,this.__P_182_7)}else qx.bom.Event.addNativeListener(this.__P_182_1,e,this.__P_182_7)}.bind(this))},_onPointerEvent:function(e){if(qx.core.Environment.get("event.mspointer")&&(10!==qx.core.Environment.get("browser.documentmode")||-1!=e.type.toLowerCase().indexOf("ms"))){this.__P_182_6||e.stopPropagation();var t=qx.event.handler.PointerCore.MSPOINTER_TO_POINTER_MAPPING[e.type]||e.type,n=qx.bom.Event.getTarget(e),r=new qx.event.type.dom.Pointer(t,e);this._fireEvent(r,t,n)}},_onTouchEvent:function(e){if(!e[this._processedFlag]){e[this._processedFlag]=!0;var t=qx.event.handler.PointerCore.TOUCH_TO_POINTER_MAPPING[e.type],n=e.changedTouches;this._determineActiveTouches(e.type,n);if(e.touches.length=0;r--){var i=new qx.event.type.dom.Pointer("pointercancel",e,{identifier:this.__P_182_5[r].identifier,target:e.target,pointerType:"touch",pointerId:this.__P_182_5[r].identifier+2});this._fireEvent(i,"pointercancel",e.target)}this.__P_182_9=null;this.__P_182_5=[]}else{"touchstart"==e.type&&null===this.__P_182_9&&(this.__P_182_9=n[0].identifier);r=0;for(var o=n.length;r1||"mouseup"==e.type&&r>0))if("contextmenu"!=e.type){var s=new qx.event.type.dom.Pointer(t,e,i);this._fireEvent(s,t,n)}else this.__P_182_4[e.which]=0}}},_determineActiveTouches:function(e,t){if("touchstart"==e)for(var n=0;n0){var i=Date.now()-qx.event.handler.GestureCore.DOUBLETAP_TIME;for(var o in this.__P_183_3)if(o=Math.abs(i.y)?"x":"y",a=i[s],u=r.SWIPE_DIRECTION[s][a<0?0:1],l=0!==o?a/o:0;return{startTime:n.startTime,duration:o,axis:s,direction:u,distance:a,velocity:l}},__P_183_19:function(e,t,n){t.delta=this._getDeltaCoordinates(t);this._fireEvent(t,e,t.target||n)},__P_183_25:function(e,t,n){e.delta={x:qx.util.Wheel.getDelta(e,"x")*n,y:qx.util.Wheel.getDelta(e,"y")*n};e.delta.axis=Math.abs(e.delta.x/e.delta.y)<1?"y":"x";e.pointerType="wheel";this._fireEvent(e,"roll",e.target||t)},__P_183_26:function(e){var t=qx.event.handler.GestureCore.ROLL_FACTOR;qx.util.Wheel.IS_TOUCHPAD&&(t=qx.event.handler.GestureCore.TOUCHPAD_ROLL_FACTOR);this.__P_183_16=(new Date).getTime();for(var n=this.__P_183_6.length,r=0;rqx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_THRESHOLD?qx.util.Wheel.IS_TOUCHPAD=!0:qx.util.Wheel.IS_TOUCHPAD=!1;this.__P_183_15=!0},_isTouchPadDetectionEnabled:function(){return"osx"==qx.core.Environment.get("os.name")&&qx.core.Environment.get("os.version")>=10.12},_fireRoll:function(e,t,n){var r,i;if(e.type===qx.core.Environment.get("event.mousewheel").type)if(this._isTouchPadDetectionEnabled()){r=(new Date).getTime();i=qx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_TIMEOUT;if(this.__P_183_16>0&&r-this.__P_183_16>i){this.__P_183_15=!1;this.__P_183_6=[];this.__P_183_16=0}if(!this.__P_183_15){if(0===this.__P_183_6.length){this.__P_183_13=r;qx.event.Timer.once((function(){if(!this.__P_183_15){this.__P_183_27();this.__P_183_26(n)}}),this,qx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_PERIOD+50)}this.__P_183_6.push(e);this.__P_183_14++;r-this.__P_183_13>qx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_PERIOD&&this.__P_183_27()}if(this.__P_183_15){0===this.__P_183_6.length&&this.__P_183_6.push(e);this.__P_183_26(n)}}else this.__P_183_25(e,n,qx.event.handler.GestureCore.ROLL_FACTOR);else{var o=this.__P_183_2[e.pointerId];e.delta={x:-o.velocityX,y:-o.velocityY,axis:Math.abs(o.velocityX/o.velocityY)<1?"y":"x"};this._fireEvent(e,"roll",e.target||n)}},__P_183_20:function(e,t){if(!e.isPrimary){var n=this._calcAngle();e.angle=Math.round((n-this.__P_183_10)%360);this._fireEvent(e,"rotate",this.__P_183_8)}},__P_183_21:function(e,t){if(!e.isPrimary){var n=this._calcDistance()/this.__P_183_12;e.scale=Math.round(100*n)/100;this._fireEvent(e,"pinch",this.__P_183_8)}},__P_183_18:function(e,t){var n=this.__P_183_2[e.pointerId];if(n){this._fireEvent(e,"longtap",e.target||t);n.longTapTimer=null;n.isTap=!1}},__P_183_17:function(e){if(e.longTapTimer){window.clearTimeout(e.longTapTimer);e.longTapTimer=null}},dispose:function(){for(var e in this.__P_183_2)this.__P_183_17(e);this._stopObserver();this.__P_183_0=this.__P_183_1=null}}});qx.event.handler.GestureCore.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Tap",{extend:qx.event.type.Pointer});qx.event.type.Tap.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Swipe",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(e,t){(t=qx.event.type.Swipe.superclass.prototype._cloneNativeEvent.call(this,e,t)).swipe=e.swipe;return t},getStartTime:function(){return this._native.swipe.startTime},getDuration:function(){return this._native.swipe.duration},getAxis:function(){return this._native.swipe.axis},getDirection:function(){return this._native.swipe.direction},getVelocity:function(){return this._native.swipe.velocity},getDistance:function(){return this._native.swipe.distance}}});qx.event.type.Swipe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Rotate",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(e,t){(t=qx.event.type.Rotate.superclass.prototype._cloneNativeEvent.call(this,e,t)).angle=e.angle;return t},getAngle:function(){return this._native.angle}}});qx.event.type.Rotate.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Pinch",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(e,t){(t=qx.event.type.Pinch.superclass.prototype._cloneNativeEvent.call(this,e,t)).scale=e.scale;return t},getScale:function(){return this._native.scale}}});qx.event.type.Pinch.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Track",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(e,t){(t=qx.event.type.Track.superclass.prototype._cloneNativeEvent.call(this,e,t)).delta=e.delta;return t},getDelta:function(){return this._native.delta}}});qx.event.type.Track.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0},"qx.event.Registration":{},"qx.event.handler.Gesture":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Roll",{extend:qx.event.type.Pointer,members:{stop:function(){this.stopPropagation();this.preventDefault()},_cloneNativeEvent:function(e,t){(t=qx.event.type.Roll.superclass.prototype._cloneNativeEvent.call(this,e,t)).delta=e.delta;t.momentum=e.momentum;t.timeoutId=e.timeoutId;return t},getMomentum:function(){return this._native.momentum},stopMomentum:function(){this._native.timeoutId&&qx.event.Registration.getManager(this._originalTarget).getHandler(qx.event.handler.Gesture).stopMomentum(this._native.timeoutId)},getDelta:function(){return this._native.delta}}});qx.event.type.Roll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Pointer":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.handler.GestureCore":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.event.type.Tap":{require:!0},"qx.event.type.Swipe":{require:!0},"qx.event.type.Rotate":{require:!0},"qx.event.type.Pinch":{require:!0},"qx.event.type.Track":{require:!0},"qx.event.type.Roll":{require:!0},"qx.lang.Function":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.Event":{},"qx.bom.client.Event":{},"qx.event.type.Pointer":{},"qx.event.type.Data":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Gesture",{extend:qx.event.handler.GestureCore,implement:[qx.event.IEventHandler,qx.core.IDisposable],statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{tap:1,swipe:1,longtap:1,dbltap:1,rotate:1,pinch:1,track:1,trackstart:1,trackend:1,roll:1},GESTURE_EVENTS:["gesturebegin","gesturefinish","gesturemove","gesturecancel"],TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT,IGNORE_CAN_HANDLE:!0,EVENT_CLASSES:{tap:qx.event.type.Tap,longtap:qx.event.type.Tap,dbltap:qx.event.type.Tap,swipe:qx.event.type.Swipe,rotate:qx.event.type.Rotate,pinch:qx.event.type.Pinch,track:qx.event.type.Track,trackstart:qx.event.type.Track,trackend:qx.event.type.Track,roll:qx.event.type.Roll}},construct:function(e){this.__P_151_0=e;this.__P_151_1=e.getWindow();this.__P_151_2=this.__P_151_1.document;qx.event.handler.GestureCore.apply(this,[this.__P_151_2])},members:{__P_151_0:null,__P_151_1:null,__P_151_2:null,__P_151_3:null,__P_151_4:null,__P_151_5:null,getWindow:function(){return this.__P_151_1},canHandleEvent:function(e,t){},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){},_initObserver:function(){this.__P_151_3=qx.lang.Function.listener(this.checkAndFireGesture,this);qx.event.handler.Gesture.GESTURE_EVENTS.forEach(function(e){qx.event.Registration.addListener(this.__P_151_2,e,this.__P_151_3,this)}.bind(this));if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9){this.__P_151_4=qx.lang.Function.listener(this._onDblClick,this);qx.bom.Event.addNativeListener(this.__P_151_2,"dblclick",this.__P_151_4)}var e=qx.bom.client.Event.getMouseWheel(this.__P_151_1);this.__P_151_5=qx.lang.Function.listener(this._fireRoll,this);qx.bom.Event.addNativeListener(e.target,e.type,this.__P_151_5,!0,!1)},checkAndFireGesture:function(e,t,n){this.__P_151_6("checkAndFireGesture",[e.getNativeEvent(),e.getType(),e.getTarget()])},_stopObserver:function(){qx.event.handler.Gesture.GESTURE_EVENTS.forEach(function(e){qx.event.Registration.removeListener(this.__P_151_2,e,this.__P_151_3)}.bind(this));"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9&&qx.bom.Event.removeNativeListener(this.__P_151_2,"dblclick",this.__P_151_4);var e=qx.bom.client.Event.getMouseWheel(this.__P_151_1);qx.bom.Event.removeNativeListener(e.target,e.type,this.__P_151_5)},_hasIntermediaryHandler:function(e){return!1},_fireEvent:function(e,t,n){n||(n=qx.bom.Event.getTarget(e));t||(t=e.type);var r=qx.event.handler.Gesture.EVENT_CLASSES[t]||qx.event.type.Pointer;n&&n.nodeType&&qx.event.Registration.fireEvent(n,t,r,[e,n,null,!0,!0]);qx.event.Registration.fireEvent(this.__P_151_1,"useraction",qx.event.type.Data,[t])},dispose:function(){this._stopObserver();this.__P_151_6("dispose");this.__P_151_0=this.__P_151_1=this.__P_151_2=this.__P_151_4=null},__P_151_6:function(e,t){qx.event.handler.GestureCore.prototype[e].apply(this,t||[])}},defer:function(e){qx.event.Registration.addHandler(e);qx.event.Registration.addListener(window,"appinitialized",(function(){qx.event.Registration.getManager(document).getHandler(e)}))}});qx.event.handler.Gesture.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.UserAction":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",construct:!0,usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.Engine":{construct:!0,defer:"load",require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.event.type.KeyInput":{},"qx.event.Utils":{},"qx.event.type.Data":{},"qx.event.type.KeySequence":{},"qx.bom.client.Browser":{require:!0},"qx.event.util.Keyboard":{},"qx.event.handler.Focus":{},"qx.lang.Function":{},"qx.bom.Event":{},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.core.ObjectRegistry":{}},environment:{provided:[],required:{"engine.name":{construct:!0,className:"qx.bom.client.Engine",load:!0,defer:!0},"browser.version":{className:"qx.bom.client.Browser",load:!0},"engine.version":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Keyboard",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this.__P_145_0=e;this.__P_145_1=e.getWindow();"gecko"==qx.core.Environment.get("engine.name")?this.__P_145_2=this.__P_145_1:this.__P_145_2=this.__P_145_1.document.documentElement;this.__P_145_3={};this._initKeyObserver()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{keyup:1,keydown:1,keypress:1,keyinput:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!0},members:{__P_145_4:null,__P_145_0:null,__P_145_1:null,__P_145_2:null,__P_145_3:null,__P_145_5:null,__P_145_6:null,__P_145_7:null,canHandleEvent:function(e,t){},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){},_fireInputEvent:function(e,t){var n=this.__P_145_8(),r={},i=this;if(n&&0!=n.offsetWidth){var o=qx.event.Registration.createEvent("keyinput",qx.event.type.KeyInput,[e,n,t]);qx.event.Utils.then(r,(function(){i.__P_145_0.dispatchEvent(n,o)}))}if(this.__P_145_1){i=this;qx.event.Utils.then(r,(function(){return qx.event.Registration.fireEvent(i.__P_145_1,"useraction",qx.event.type.Data,["keyinput"])}))}return r.promise},_fireSequenceEvent:function(e,t,n){var r=this.__P_145_8(),i=e.keyCode,o={},s=this,a=qx.event.Registration.createEvent(t,qx.event.type.KeySequence,[e,r,n]);qx.event.Utils.then(o,(function(){return s.__P_145_0.dispatchEvent(r,a)}));a.getDefaultPrevented()&&"keydown"==t&&("mshtml"==qx.core.Environment.get("engine.name")||"webkit"==qx.core.Environment.get("engine.name")||"gecko"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.version")>=29)&&(qx.event.util.Keyboard.isNonPrintableKeyCode(i)||this._emulateKeyPress[i]||qx.event.Utils.then(o,(function(){return s._fireSequenceEvent(e,"keypress",n)})));this.__P_145_1&&qx.event.Utils.then(o,(function(){return qx.event.Registration.fireEvent(s.__P_145_1,"useraction",qx.event.type.Data,[t])}));return o.promise},__P_145_8:function(){var e=this.__P_145_0.getHandler(qx.event.handler.Focus),t=e.getActive();t&&0!=t.offsetWidth||(t=e.getFocus());t&&0!=t.offsetWidth||(t=this.__P_145_0.getWindow().document.body);return t},_initKeyObserver:function(){this.__P_145_4=qx.lang.Function.listener(this.__P_145_9,this);this.__P_145_7=qx.lang.Function.listener(this.__P_145_10,this);var e=qx.bom.Event;e.addNativeListener(this.__P_145_2,"keyup",this.__P_145_4);e.addNativeListener(this.__P_145_2,"keydown",this.__P_145_4);e.addNativeListener(this.__P_145_2,"keypress",this.__P_145_7)},_stopKeyObserver:function(){var e=qx.bom.Event;e.removeNativeListener(this.__P_145_2,"keyup",this.__P_145_4);e.removeNativeListener(this.__P_145_2,"keydown",this.__P_145_4);e.removeNativeListener(this.__P_145_2,"keypress",this.__P_145_7);for(var t in this.__P_145_6||{}){var n=this.__P_145_6[t];e.removeNativeListener(n.target,"keypress",n.callback)}delete this.__P_145_6},__P_145_9:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{"gecko|webkit|mshtml":function(e){var t,n=e.type;t=e.keyCode;var r={},i=this;qx.event.Utils.track(r,this._idealKeyHandler(t,0,n,e));if("keydown"==n){var o=e.ctrlKey||e.altKey||e.metaKey;(qx.event.util.Keyboard.isNonPrintableKeyCode(t)||this._emulateKeyPress[t]||o)&&qx.event.Utils.then(r,(function(){return i._idealKeyHandler(t,0,"keypress",e)}))}this.__P_145_3[t]=n;return r.promise},opera:function(e){this.__P_145_5=e.keyCode;return this._idealKeyHandler(e.keyCode,0,e.type,e)}})),__P_145_11:qx.core.Environment.select("engine.name",{gecko:function(e,t,n){if("keydown"===t&&(33==n||34==n||38==n||40==n)&&"text"==e.type&&"input"===e.tagName.toLowerCase()&&"off"!==e.getAttribute("autoComplete")){this.__P_145_6||(this.__P_145_6={});var r=qx.core.ObjectRegistry.toHashCode(e);if(this.__P_145_6[r])return;var i=this;this.__P_145_6[r]={target:e,callback:function(e){qx.bom.Event.stopPropagation(e);i.__P_145_10(e)}};var o=qx.event.GlobalError.observeMethod(this.__P_145_6[r].callback);qx.bom.Event.addNativeListener(e,"keypress",o)}},default:null}),__P_145_10:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml:function(e){e=window.event||e;return this._charCode2KeyCode[e.keyCode]?this._idealKeyHandler(this._charCode2KeyCode[e.keyCode],0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)},gecko:function(e){if(qx.core.Environment.get("engine.version")<66){var t=e.charCode,n=e.type;return this._idealKeyHandler(e.keyCode,t,n,e)}return this._charCode2KeyCode[e.keyCode]?this._idealKeyHandler(this._charCode2KeyCode[e.keyCode],0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)},webkit:function(e){return this._charCode2KeyCode[e.keyCode]?this._idealKeyHandler(this._charCode2KeyCode[e.keyCode],0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)},opera:function(e){var t=e.keyCode,n=e.type;return t!=this.__P_145_5?this._idealKeyHandler(0,this.__P_145_5,n,e):qx.event.util.Keyboard.keyCodeToIdentifierMap[e.keyCode]?this._idealKeyHandler(e.keyCode,0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)}})),_idealKeyHandler:function(e,t,n,r){var i;if(e||!e&&!t){i=qx.event.util.Keyboard.keyCodeToIdentifier(e);return this._fireSequenceEvent(r,n,i)}i=qx.event.util.Keyboard.charCodeToIdentifier(t);var o={},s=this;qx.event.Utils.track(o,this._fireSequenceEvent(r,"keypress",i));return qx.event.Utils.then(o,(function(){return s._fireInputEvent(r,t)}))},_emulateKeyPress:qx.core.Environment.select("engine.name",{mshtml:{8:!0,9:!0},webkit:{8:!0,9:!0,27:!0},gecko:qx.core.Environment.get("browser.version")>=65?{8:!0,9:!0,27:!0}:{},default:{}}),_identifierToKeyCode:function(e){return qx.event.util.Keyboard.identifierToKeyCodeMap[e]||e.charCodeAt(0)}},destruct:function(){this._stopKeyObserver();this.__P_145_5=this.__P_145_0=this.__P_145_1=this.__P_145_2=this.__P_145_3=null},defer:function(e,t){qx.event.Registration.addHandler(e);"opera"!==qx.core.Environment.get("engine.name")&&(t._charCode2KeyCode={13:13,27:27})}});qx.event.handler.Keyboard.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.event.IEventHandler":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Capture",{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{capture:!0,losecapture:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!0},members:{canHandleEvent:function(e,t){},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){}},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Capture.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Gesture":{require:!0,defer:"runtime"},"qx.event.handler.Keyboard":{require:!0,defer:"runtime"},"qx.event.handler.Capture":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{construct:!0,defer:"runtime",require:!0},"qx.ui.core.Widget":{},"qx.event.Utils":{},"qx.Promise":{},"qx.event.type.Drag":{},"qx.ui.core.DragDropCursor":{},"qx.bom.element.Style":{}},environment:{provided:[],required:{"qx.promise":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.DragDrop",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this.__P_85_0=e;this.__P_85_1=e.getWindow().document.documentElement;this.__P_85_0.addListener(this.__P_85_1,"longtap",this._onLongtap,this);this.__P_85_0.addListener(this.__P_85_1,"pointerdown",this._onPointerdown,this,!0);qx.event.Registration.addListener(window,"blur",this._onWindowBlur,this);this.__P_85_2()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{dragstart:1,dragend:1,dragover:1,dragleave:1,drop:1,drag:1,dragchange:1,droprequest:1},IGNORE_CAN_HANDLE:!0,ALLOWED_BUTTONS:["left"],MIN_DRAG_DISTANCE:5},properties:{cursor:{check:"qx.ui.core.Widget",nullable:!0,init:null}},members:{__P_85_0:null,__P_85_1:null,__P_85_3:null,__P_85_4:null,__P_85_5:null,__P_85_6:null,__P_85_7:null,__P_85_8:null,__P_85_9:null,__P_85_10:null,__P_85_11:!1,__P_85_12:!1,__P_85_13:!1,__P_85_14:null,__P_85_15:null,canHandleEvent:function(e,t){},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){},addType:function(e){this.__P_85_5[e]=!0},addAction:function(e){this.__P_85_6[e]=!0},supportsType:function(e){return!!this.__P_85_5[e]},supportsAction:function(e){return!!this.__P_85_6[e]},setDropAllowed:function(e){this.__P_85_12=e;this.__P_85_16()},getData:function(e){if(!this.__P_85_12||!this.__P_85_3)throw new Error("This method must not be used outside the drop event listener!");if(!this.__P_85_5[e])throw new Error("Unsupported data type: "+e+"!");if(!this.__P_85_8[e]){this.__P_85_9=e;this.__P_85_17("droprequest",this.__P_85_4,this.__P_85_3,!1,!1)}if(!this.__P_85_8[e])throw new Error("Please use a droprequest listener to the drag source to fill the manager with data!");return this.__P_85_8[e]||null},getDataAsync:function(e){if(!this.__P_85_12||!this.__P_85_3)throw new Error("This method must not be used outside the drop event listener!");if(!this.__P_85_5[e])throw new Error("Unsupported data type: "+e+"!");var t={},n=this;this.__P_85_8[e]||qx.event.Utils.then(t,(function(){n.__P_85_9=e;return n.__P_85_17("droprequest",n.__P_85_4,n.__P_85_3,!1)}));return qx.event.Utils.then(t,(function(){if(!this.__P_85_8[e])throw new Error("Please use a droprequest listener to the drag source to fill the manager with data!");return this.__P_85_8[e]||null}))},getCurrentAction:function(){this.__P_85_16();return this.__P_85_10},getCurrentActionAsync:qx.core.Environment.select("qx.promise",{true:function(){var e=this;return qx.Promise.resolve(e.__P_85_16()).then((function(){return e.__P_85_10}))},false:function(){throw new Error(this.classname+".getCurrentActionAsync not supported because qx.promise==false")}}),getDragTarget:function(){return this.__P_85_14},addData:function(e,t){this.__P_85_8[e]=t},getCurrentType:function(){return this.__P_85_9},isSessionActive:function(){return this.__P_85_11},__P_85_2:function(){this.__P_85_5={};this.__P_85_6={};this.__P_85_7={};this.__P_85_8={}},__P_85_16:function(){if(null==this.__P_85_4)return qx.Promise.reject();var e=this.__P_85_6,t=this.__P_85_7,n=null;this.__P_85_12&&(t.Shift&&t.Control&&e.alias?n="alias":t.Shift&&t.Alt&&e.copy?n="copy":t.Shift&&e.move?n="move":t.Alt&&e.alias?n="alias":t.Control&&e.copy?n="copy":e.move?n="move":e.copy?n="copy":e.alias&&(n="alias"));var r=this,i={},o=this.__P_85_10;if(n!=o&&this.__P_85_3){qx.event.Utils.catch((function(){r.__P_85_13=!1;n=null}));qx.event.Utils.then(i,(function(){r.__P_85_10=n;return r.__P_85_17("dragchange",r.__P_85_3,r.__P_85_4,!0)}));qx.event.Utils.then(i,(function(e){r.__P_85_13=e;e||(n=null)}))}return qx.event.Utils.then(i,(function(){if(n!=o){r.__P_85_10=n;return r.__P_85_17("dragchange",r.__P_85_4,r.__P_85_3,!1)}}))},__P_85_17:function(e,t,n,r,i,o){var s=qx.event.Registration,a=s.createEvent(e,qx.event.type.Drag,[r,i]);t!==n&&a.setRelatedTarget(n);var u=s.dispatchEvent(t,a);return void 0===o||o?qx.Promise.resolve(u).then((function(){return!a.getDefaultPrevented()})):u},__P_85_18:function(e){for(;e&&1==e.nodeType;){if("on"==e.getAttribute("qxDraggable"))return e;e=e.parentNode}return null},__P_85_19:function(e){for(;e&&1==e.nodeType;){if("on"==e.getAttribute("qxDroppable"))return e;e=e.parentNode}return null},clearSession:function(){this.__P_85_0.removeListener(this.__P_85_1,"pointermove",this._onPointermove,this);this.__P_85_0.removeListener(this.__P_85_1,"pointerup",this._onPointerup,this,!0);this.__P_85_0.removeListener(this.__P_85_1,"keydown",this._onKeyDown,this,!0);this.__P_85_0.removeListener(this.__P_85_1,"keyup",this._onKeyUp,this,!0);this.__P_85_0.removeListener(this.__P_85_1,"keypress",this._onKeyPress,this,!0);this.__P_85_0.removeListener(this.__P_85_1,"roll",this._onRoll,this,!0);var e={},t=this;this.__P_85_4&&qx.event.Utils.then(e,(function(){return t.__P_85_17("dragend",t.__P_85_4,t.__P_85_3,!1)}));return qx.event.Utils.then(e,(function(){t.__P_85_12=!1;t.__P_85_3=null;if(t.__P_85_14){t.__P_85_14.removeState("drag");t.__P_85_14=null}t.__P_85_4=null;t.__P_85_11=!1;t.__P_85_15=null;t.__P_85_2()}))},_onLongtap:function(e){if("touch"==e.getPointerType()){this.__P_85_0.addListener(this.__P_85_1,"roll",this._onRoll,this,!0);return this._start(e)}},_start:function(e){var t=-1!==qx.event.handler.DragDrop.ALLOWED_BUTTONS.indexOf(e.getButton());if(!e.isPrimary()||!t)return!1;var n=this.__P_85_15?this.__P_85_15.target:e.getTarget(),r=this.__P_85_18(n);if(r){this.__P_85_4=r;for(var i=qx.ui.core.Widget.getWidgetByElement(this.__P_85_15.original);i&&i.isAnonymous();)i=i.getLayoutParent();if(i){this.__P_85_14=i;i.addState("drag")}var o=this,s={};qx.event.Utils.catch((function(){o.__P_85_11=!1}));qx.event.Utils.then(s,(function(){return o.__P_85_17("dragstart",o.__P_85_4,o.__P_85_3,!0,e)}));return qx.event.Utils.then(s,(function(e){if(e){o.__P_85_0.addListener(o.__P_85_1,"keydown",o._onKeyDown,o,!0);o.__P_85_0.addListener(o.__P_85_1,"keyup",o._onKeyUp,o,!0);o.__P_85_0.addListener(o.__P_85_1,"keypress",o._onKeyPress,o,!0);o.__P_85_11=!0}}))}},_onPointerdown:function(e){if(e.isPrimary()){this.__P_85_15={target:e.getTarget(),original:e.getOriginalTarget(),left:e.getDocumentLeft(),top:e.getDocumentTop()};this.__P_85_0.addListener(this.__P_85_1,"pointermove",this._onPointermove,this);this.__P_85_0.addListener(this.__P_85_1,"pointerup",this._onPointerup,this,!0)}},_onPointermove:function(e){if(e.isPrimary()){var t=this,n={};qx.event.Utils.catch((function(){return t.clearSession()}));if(!t.__P_85_11&&"mouse"==e.getPointerType()){var r=t._getDelta(e),i=qx.event.handler.DragDrop.MIN_DRAG_DISTANCE;r&&(Math.abs(r.x)>i||Math.abs(r.y)>i)&&qx.event.Utils.then(n,(function(){return t._start(e)}))}return qx.event.Utils.then(n,(function(){if(t.__P_85_11){var n={};qx.event.Utils.then(n,(function(){return t.__P_85_17("drag",t.__P_85_4,t.__P_85_3,!0,e)}));qx.event.Utils.then(n,(function(n){n||this.clearSession();var r=e.getTarget();t.__P_85_15.target===r&&(r=e.getNativeEvent().view.document.elementFromPoint(e.getDocumentLeft(),e.getDocumentTop()));var i=t.getCursor();i||(i=qx.ui.core.DragDropCursor.getInstance());var o=i.getContentElement().getDomElement();if(o&&(r===o||o.contains(r))){var s=qx.bom.element.Style.get(o,"display");qx.bom.element.Style.set(o,"display","none");r=e.getNativeEvent().view.document.elementFromPoint(e.getDocumentLeft(),e.getDocumentTop());qx.bom.element.Style.set(o,"display",s)}if(r!==o){var a=t.__P_85_19(r);if(a&&a!=t.__P_85_3){var u=t.__P_85_3;t.__P_85_12=!0;t.__P_85_3=a;var l={};qx.event.Utils.catch(l,(function(){t.__P_85_3=null;t.__P_85_12=!1}));u&&qx.event.Utils.then(l,(function(){return t.__P_85_17("dragleave",u,t.__P_85_4,!1,e)}));qx.event.Utils.then(l,(function(){return t.__P_85_17("dragover",a,t.__P_85_4,!0,e)}));return qx.event.Utils.then(l,(function(e){t.__P_85_12=e}))}if(!a&&t.__P_85_3){l={};qx.event.Utils.then(l,(function(){return t.__P_85_17("dragleave",t.__P_85_3,t.__P_85_4,!1,e)}));return qx.event.Utils.then(l,(function(){t.__P_85_3=null;t.__P_85_12=!1;return t.__P_85_16()}))}}}));return qx.event.Utils.then(n,(function(){var n=t.__P_85_7;n.Control=e.isCtrlPressed();n.Shift=e.isShiftPressed();n.Alt=e.isAltPressed();return t.__P_85_16()}))}}))}},_getDelta:function(e){return this.__P_85_15?{x:e.getDocumentLeft()-this.__P_85_15.left,y:e.getDocumentTop()-this.__P_85_15.top}:null},_onPointerup:function(e){if(e.isPrimary()){var t={},n=this;this.__P_85_12&&this.__P_85_13&&qx.event.Utils.then(t,(function(){return n.__P_85_17("drop",n.__P_85_3,n.__P_85_4,!1,e)}));return qx.event.Utils.then(t,(function(){e.getTarget()==n.__P_85_4&&e.stopPropagation();return n.clearSession()}))}},_onRoll:function(e){e.stop()},_onWindowBlur:function(e){return this.clearSession()},_onKeyDown:function(e){var t=e.getKeyIdentifier();switch(t){case"Alt":case"Control":case"Shift":if(!this.__P_85_7[t]){this.__P_85_7[t]=!0;return this.__P_85_16()}}},_onKeyUp:function(e){var t=e.getKeyIdentifier();switch(t){case"Alt":case"Control":case"Shift":if(this.__P_85_7[t]){this.__P_85_7[t]=!1;return this.__P_85_16()}}},_onKeyPress:function(e){if("Escape"===e.getKeyIdentifier())return this.clearSession()}},destruct:function(){qx.event.Registration.removeListener(window,"blur",this._onWindowBlur,this);this.__P_85_4=this.__P_85_3=this.__P_85_0=this.__P_85_1=this.__P_85_5=this.__P_85_6=this.__P_85_7=this.__P_85_8=null},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.DragDrop.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MRemoteChildrenHandling":{require:!0},"qx.ui.core.MRemoteLayoutHandling":{require:!0},"qx.ui.core.MResizable":{require:!0},"qx.ui.core.MMovable":{require:!0},"qx.ui.core.MContentPadding":{require:!0},"qx.ui.layout.VBox":{construct:!0},"qx.core.Init":{construct:!0},"qx.ui.core.FocusHandler":{construct:!0},"qx.ui.window.Manager":{require:!0},"qx.ui.container.Composite":{},"qx.ui.layout.HBox":{},"qx.ui.basic.Label":{},"qx.ui.layout.Grid":{},"qx.ui.basic.Image":{},"qx.ui.form.Button":{},"qx.event.type.Event":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.window.Window",{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling,qx.ui.core.MResizable,qx.ui.core.MMovable,qx.ui.core.MContentPadding],construct:function(e,t){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.layout.VBox);this._createChildControl("captionbar");this._createChildControl("pane");null!=t&&this.setIcon(t);null!=e&&this.setCaption(e);this._updateCaptionBar();this.addListener("pointerdown",this._onWindowPointerDown,this,!0);this.addListener("focusout",this._onWindowFocusOut,this);qx.core.Init.getApplication().getRoot().add(this);this.initVisibility();this.initActive();this.initModal();qx.ui.core.FocusHandler.getInstance().addRoot(this);this._getResizeFrame().setAppearance("window-resize-frame");this.getContentElement().setAttribute("role","dialog");this.addAriaLabelledBy(this.getChildControl("title"));this.addAriaDescribedBy(this.getChildControl("statusbar-text"))},statics:{DEFAULT_MANAGER_CLASS:qx.ui.window.Manager},events:{beforeClose:"qx.event.type.Event",close:"qx.event.type.Event",beforeMinimize:"qx.event.type.Event",minimize:"qx.event.type.Event",beforeMaximize:"qx.event.type.Event",maximize:"qx.event.type.Event",beforeRestore:"qx.event.type.Event",restore:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"window"},visibility:{refine:!0,init:"excluded"},focusable:{refine:!0,init:!0},active:{check:"Boolean",init:!1,apply:"_applyActive",event:"changeActive"},alwaysOnTop:{check:"Boolean",init:!1,event:"changeAlwaysOnTop"},modal:{check:"Boolean",init:!1,event:"changeModal",apply:"_applyModal"},caption:{apply:"_applyCaptionBarChange",event:"changeCaption",nullable:!0},icon:{check:"String",nullable:!0,apply:"_applyCaptionBarChange",event:"changeIcon",themeable:!0},status:{check:"String",nullable:!0,apply:"_applyStatus",event:"changeStatus"},showClose:{check:"Boolean",init:!0,apply:"_applyCaptionBarChange",themeable:!0},showMaximize:{check:"Boolean",init:!0,apply:"_applyCaptionBarChange",themeable:!0},showMinimize:{check:"Boolean",init:!0,apply:"_applyCaptionBarChange",themeable:!0},allowClose:{check:"Boolean",init:!0,apply:"_applyCaptionBarChange"},allowMaximize:{check:"Boolean",init:!0,apply:"_applyCaptionBarChange"},allowMinimize:{check:"Boolean",init:!0,apply:"_applyCaptionBarChange"},showStatusbar:{check:"Boolean",init:!1,apply:"_applyShowStatusbar"},centerOnAppear:{init:!1,check:"Boolean",apply:"_applyCenterOnAppear"},centerOnContainerResize:{init:!1,check:"Boolean",apply:"_applyCenterOnContainerResize"},autoDestroy:{check:"Boolean",init:!1}},members:{__P_21_0:null,__P_21_1:null,__P_21_2:null,__P_21_3:null,getChildrenContainer:function(){return this.getChildControl("pane")},_forwardStates:{active:!0,maximized:!0,showStatusbar:!0,modal:!0},setLayoutParent:function(e){var t;if((t=this.getLayoutParent())&&this.__P_21_3){t.removeListenerById(this.__P_21_3);this.__P_21_3=null}qx.ui.window.Window.superclass.prototype.setLayoutParent.call(this,e);e&&this.getCenterOnContainerResize()&&(this.__P_21_3=e.addListener("resize",this.center,this))},_createChildControlImpl:function(e,t){var n;switch(e){case"statusbar":n=new qx.ui.container.Composite(new qx.ui.layout.HBox);this._add(n);n.add(this.getChildControl("statusbar-text"));break;case"statusbar-text":(n=new qx.ui.basic.Label).setValue(this.getStatus());break;case"pane":n=new qx.ui.container.Composite;this._add(n,{flex:1});break;case"captionbar":var r=new qx.ui.layout.Grid;r.setRowFlex(0,1);r.setColumnFlex(1,1);n=new qx.ui.container.Composite(r);this._add(n);n.addListener("dbltap",this._onCaptionPointerDblTap,this);this._activateMoveHandle(n);break;case"icon":n=new qx.ui.basic.Image(this.getIcon());this.getChildControl("captionbar").add(n,{row:0,column:0});break;case"title":(n=new qx.ui.basic.Label(this.getCaption())).setWidth(0);n.setAllowGrowX(!0);this.getChildControl("captionbar").add(n,{row:0,column:1});break;case"minimize-button":(n=new qx.ui.form.Button).setFocusable(!1);n.addListener("execute",this._onMinimizeButtonTap,this);this.getChildControl("captionbar").add(n,{row:0,column:2});break;case"restore-button":(n=new qx.ui.form.Button).setFocusable(!1);n.addListener("execute",this._onRestoreButtonTap,this);this.getChildControl("captionbar").add(n,{row:0,column:3});break;case"maximize-button":(n=new qx.ui.form.Button).setFocusable(!1);n.addListener("execute",this._onMaximizeButtonTap,this);this.getChildControl("captionbar").add(n,{row:0,column:4});break;case"close-button":(n=new qx.ui.form.Button).setFocusable(!1);n.addListener("execute",this._onCloseButtonTap,this);this.getChildControl("captionbar").add(n,{row:0,column:6})}return n||qx.ui.window.Window.superclass.prototype._createChildControlImpl.call(this,e)},_updateCaptionBar:function(){var e,t=this.getIcon();if(t){this.getChildControl("icon").setSource(t);this._showChildControl("icon")}else this._excludeChildControl("icon");var n=this.getCaption();if(n){this.getChildControl("title").setValue(n);this._showChildControl("title")}else this._excludeChildControl("title");if(this.getShowMinimize()){this._showChildControl("minimize-button");e=this.getChildControl("minimize-button");this.getAllowMinimize()?e.resetEnabled():e.setEnabled(!1)}else this._excludeChildControl("minimize-button");if(this.getShowMaximize()){if(this.isMaximized()){this._showChildControl("restore-button");this._excludeChildControl("maximize-button")}else{this._showChildControl("maximize-button");this._excludeChildControl("restore-button")}e=this.getChildControl("maximize-button");this.getAllowMaximize()?e.resetEnabled():e.setEnabled(!1)}else{this._excludeChildControl("maximize-button");this._excludeChildControl("restore-button")}if(this.getShowClose()){this._showChildControl("close-button");e=this.getChildControl("close-button");this.getAllowClose()?e.resetEnabled():e.setEnabled(!1)}else this._excludeChildControl("close-button")},close:function(){if((this.getAutoDestroy()||this.isVisible())&&this.fireNonBubblingEvent("beforeClose",qx.event.type.Event,[!1,!0])){this.hide();this.fireEvent("close");this.getAutoDestroy()&&this.dispose()}},open:function(){this.show();this.setActive(!0);this.focus()},center:function(){var e=this.getLayoutParent();if(e){var t=e.getBounds();if(t){var n=this.getSizeHint(),r=Math.round((t.width-n.width)/2),i=Math.round((t.height-n.height)/2);i<0&&(i=0);this.moveTo(r,i);return}}},maximize:function(){if(!this.isMaximized()){var e=this.getLayoutParent();if(null!=e&&e.supportsMaximize()&&this.fireNonBubblingEvent("beforeMaximize",qx.event.type.Event,[!1,!0])){this.isVisible()||this.open();var t=this.getLayoutProperties();this.__P_21_1=void 0===t.left?0:t.left;this.__P_21_0=void 0===t.top?0:t.top;this.setLayoutProperties({left:null,top:null,edge:0});this.addState("maximized");this._updateCaptionBar();this.fireEvent("maximize")}}},minimize:function(){if(this.isVisible()&&this.fireNonBubblingEvent("beforeMinimize",qx.event.type.Event,[!1,!0])){var e=this.getLayoutProperties();this.__P_21_1=void 0===e.left?0:e.left;this.__P_21_0=void 0===e.top?0:e.top;this.removeState("maximized");this.hide();this.fireEvent("minimize")}},restore:function(){if("normal"!==this.getMode()&&this.fireNonBubblingEvent("beforeRestore",qx.event.type.Event,[!1,!0])){this.isVisible()||this.open();var e=this.__P_21_1,t=this.__P_21_0;this.setLayoutProperties({edge:null,left:e,top:t});this.removeState("maximized");this._updateCaptionBar();this.fireEvent("restore")}},moveTo:function(e,t){this.isMaximized()||this.setLayoutProperties({left:e,top:t})},isMaximized:function(){return this.hasState("maximized")},getMode:function(){return this.isVisible()?this.isMaximized()?"maximized":"normal":"minimized"},_applyActive:function(e,t){e?this.addState("active"):this.removeState("active")},_applyModal:function(e,t){e?this.addState("modal"):this.removeState("modal");this.getContentElement().setAttribute("aria-modal",e)},_getContentPaddingTarget:function(){return this.getChildControl("pane")},_applyShowStatusbar:function(e,t){var n=this._getResizeFrame();if(e){this.addState("showStatusbar");n.addState("showStatusbar")}else{this.removeState("showStatusbar");n.removeState("showStatusbar")}e?this._showChildControl("statusbar"):this._excludeChildControl("statusbar")},_applyCaptionBarChange:function(e,t){this._updateCaptionBar()},_applyStatus:function(e,t){var n=this.getChildControl("statusbar-text",!0);n&&n.setValue(e)},_applyFocusable:function(e,t){"mshtml"!==qx.core.Environment.get("engine.name")&&qx.ui.window.Window.superclass.prototype._applyFocusable.call(this,e,t)},_applyCenterOnAppear:function(e,t){if(null!==this.__P_21_2){this.removeListenerById(this.__P_21_2);this.__P_21_2=null}e&&(this.__P_21_2=this.addListener("appear",this.center,this))},_applyCenterOnContainerResize:function(e,t){var n=this.getLayoutParent();if(null!==this.__P_21_3){n.removeListenerById(this.__P_21_3);this.__P_21_3=null}e&&n&&(this.__P_21_3=n.addListener("resize",this.center,this))},_onWindowEventStop:function(e){e.stopPropagation()},_onWindowPointerDown:function(e){this.setActive(!0)},_onWindowFocusOut:function(e){if(!this.getModal()){var t=e.getRelatedTarget();null==t||qx.ui.core.Widget.contains(this,t)||this.setActive(!1)}},_onCaptionPointerDblTap:function(e){!this.getAllowMaximize()||e.getTarget()!==this.getChildControl("captionbar")&&e.getTarget()!==this.getChildControl("title")||(this.isMaximized()?this.restore():this.maximize())},_onMinimizeButtonTap:function(e){this.minimize();this.getChildControl("minimize-button").reset()},_onRestoreButtonTap:function(e){this.restore();this.getChildControl("restore-button").reset()},_onMaximizeButtonTap:function(e){this.maximize();this.getChildControl("maximize-button").reset()},_onCloseButtonTap:function(e){this.close();this.getChildControl("close-button").reset()}},destruct:function(){var e,t;qx.ui.core.FocusHandler.getInstance().removeRoot(this);if(t=this.getLayoutParent()){(e=this.__P_21_3)&&t.removeListenerById(e);t.remove(this)}}});qx.ui.window.Window.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Grow",{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true:function(e,t,n){this.assert(!1,"The property '"+t+"' is not supported by the Grow layout!")},false:null}),renderLayout:function(e,t,n){for(var r,i,o,s,a=this._getLayoutChildren(),u=0,l=a.length;ui.maxWidth&&(o=i.maxWidth);(s=t)i.maxHeight&&(s=i.maxHeight);r.renderLayout(n.left,n.top,o,s)}},_computeSizeHint:function(){for(var e,t=this._getLayoutChildren(),n=0,r=0,i=0,o=0,s=1/0,a=1/0,u=0,l=t.length;u=3&&(parseInt(t[1])<4||4===parseInt(t[1])&&parseInt(t[2])<4)){var n=/(\w{2})-(\w{2})/i.exec(navigator.userAgent);n&&(e=n[0])}}return e.toLowerCase()}},defer:function(e){qx.core.Environment.add("locale",e.getLocale);qx.core.Environment.add("locale.variant",e.getVariant);qx.core.Environment.add("locale.default","C")}});qx.bom.client.Locale.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.dispatch.Direct":{require:!0},"qx.locale.LocalizedString":{require:!0},"qx.bom.client.Locale":{require:!0},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.lang.Array":{},"qx.lang.String":{}},environment:{provided:[],required:{locale:{className:"qx.bom.client.Locale"},"locale.default":{className:"qx.bom.client.Locale",load:!0},"locale.variant":{className:"qx.bom.client.Locale"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.locale.Manager",{type:"singleton",extend:qx.core.Object,construct:function(){qx.core.Object.constructor.call(this);this.__P_90_0=qx.$$translations||{};this.__P_90_1=qx.$$locales||{};this.initLocale();this.__P_90_2=this.getLocale()},statics:{tr:function(e,t){var n=qx.lang.Array.fromArguments(arguments,1);return qx.locale.Manager.getInstance().translate(e,n)},trn:function(e,t,n,r){var i=qx.lang.Array.fromArguments(arguments);i.splice(0,3);return 1!=n?qx.locale.Manager.getInstance().translate(t,i):qx.locale.Manager.getInstance().translate(e,i)},trc:function(e,t,n){var r=qx.lang.Array.fromArguments(arguments);r.splice(0,2);return qx.locale.Manager.getInstance().translate(t,r)},trnc:function(e,t,n,r,i){var o=qx.lang.Array.fromArguments(arguments);o.splice(0,4);return 1!=r?qx.locale.Manager.getInstance().translate(n,o):qx.locale.Manager.getInstance().translate(t,o)},marktr:function(e){return e}},properties:{locale:{check:"String",apply:"_applyLocale",event:"changeLocale",init:function(){var e=qx.core.Environment.get("locale");if(!e||""===e)return qx.core.Environment.get("locale.default");var t=qx.core.Environment.get("locale.variant");""!==t&&(e+="_"+t);return e}()}},members:{__P_90_3:qx.core.Environment.get("locale.default"),__P_90_4:null,__P_90_5:null,__P_90_0:null,__P_90_1:null,__P_90_2:null,getLanguage:function(){return this.__P_90_5},getTerritory:function(){return this.getLocale().split("_")[1]||""},getAvailableLocales:function(e){var t=[];for(var n in this.__P_90_1)if(n!=this.__P_90_3){if(null===this.__P_90_1[n]&&!e)continue;t.push(n)}return t},__P_90_6:function(e){if(null==e)return null;var t=e.indexOf("_");return-1==t?e:e.substring(0,t)},_applyLocale:function(e,t){this.__P_90_4=e;this.__P_90_5=this.__P_90_6(e)},addTranslation:function(e,t){var n=this.__P_90_0;if(n[e])for(var r in t)n[e][r]=t[r];else n[e]=t},addLocale:function(e,t){var n=this.__P_90_1;if(n[e])for(var r in t)n[e][r]=t[r];else n[e]=t},translate:function(e,t,n){var r=this.__P_90_0;return this.__P_90_7(r,e,t,n)},localize:function(e,t,n){var r=this.__P_90_1;return this.__P_90_7(r,e,t,n)},__P_90_7:function(e,t,n,r){var i;if(!e)return t;if(r)var o=this.__P_90_6(r);else{r=this.__P_90_4;o=this.__P_90_5}!i&&e[r]&&(i=e[r][t]);!i&&e[o]&&(i=e[o][t]);!i&&e[this.__P_90_3]&&(i=e[this.__P_90_3][t]);i||(i=t);if(n.length>0){for(var s=[],a=0;a=19?"input::-moz-placeholder, textarea::-moz-placeholder":"input:-moz-placeholder, textarea:-moz-placeholder";else if("webkit"==t&&"edge"!=n)e="input.qx-placeholder-color::-webkit-input-placeholder, textarea.qx-placeholder-color::-webkit-input-placeholder";else if("mshtml"==t||"edge"==n){e=["input.qx-placeholder-color","-ms-input-placeholder, textarea.qx-placeholder-color","-ms-input-placeholder"].join("edge"==n?"::":":");qx.ui.style.Stylesheet.getInstance().addRule(e,"color: "+s+" !important")}}}},construct:function(e){qx.ui.core.Widget.constructor.call(this);this.__P_78_3=!qx.core.Environment.get("css.placeholder");null!=e&&this.setValue(e);this.getContentElement().addListener("change",this._onChangeContent,this);if(this.__P_78_3)this.addListener("syncAppearance",this._syncPlaceholder,this);else{qx.ui.form.AbstractField.__P_78_2();this.getContentElement().addClass("qx-placeholder-color")}qx.locale.Manager.getInstance().addListener("changeLocale",this._onChangeLocale,this)},events:{input:"qx.event.type.Data",changeValue:"qx.event.type.Data"},properties:{textAlign:{check:["left","center","right"],nullable:!0,themeable:!0,apply:"_applyTextAlign"},readOnly:{check:"Boolean",apply:"_applyReadOnly",event:"changeReadOnly",init:!1},selectable:{refine:!0,init:!0},focusable:{refine:!0,init:!0},maxLength:{apply:"_applyMaxLength",check:"PositiveInteger",init:1/0},liveUpdate:{check:"Boolean",init:!1},liveUpdateOnRxMatch:{check:"RegExp",transform:"_string2RegExp",init:null},placeholder:{check:"String",nullable:!0,apply:"_applyPlaceholder"},filter:{check:"RegExp",nullable:!0,init:null}},members:{__P_78_4:!0,_placeholder:null,__P_78_5:null,__P_78_6:null,__P_78_3:!0,__P_78_7:null,__P_78_8:null,getFocusElement:function(){var e=this.getContentElement();if(e)return e},_createInputElement:function(){return new qx.html.Input("text")},renderLayout:function(e,t,n,r){var i=this._updateInsets,o=qx.ui.form.AbstractField.superclass.prototype.renderLayout.call(this,e,t,n,r);if(o){var s=o.size||i,a="px";if(s||o.local||o.margin)var u=n,l=r;var c=this.getContentElement();if(i&&this.__P_78_3&&this.__P_78_3){var h=this.getInsets();this._getPlaceholderElement().setStyles({paddingTop:h.top+a,paddingRight:h.right+a,paddingBottom:h.bottom+a,paddingLeft:h.left+a})}if(s||o.margin){if(this.__P_78_3){h=this.getInsets();this._getPlaceholderElement().setStyles({width:u-h.left-h.right+a,height:l-h.top-h.bottom+a})}c.setStyles({width:u+a,height:l+a});this._renderContentElement(l,c)}o.position&&this.__P_78_3&&this._getPlaceholderElement().setStyles({left:e+a,top:t+a})}},_renderContentElement:function(e,t){},_createContentElement:function(){var e=this._createInputElement();e.setSelectable(this.getSelectable());e.setEnabled(this.getEnabled());e.addListener("input",this._onHtmlInput,this);e.setAttribute("spellcheck","false");e.addClass("qx-abstract-field");"mshtml"==qx.core.Environment.get("engine.name")&&8==qx.core.Environment.get("browser.documentmode")&&e.setStyles({backgroundImage:"url("+qx.util.ResourceManager.getInstance().toUri("qx/static/blank.gif")+")"});return e},_applyEnabled:function(e,t){qx.ui.form.AbstractField.superclass.prototype._applyEnabled.call(this,e,t);this.getContentElement().setEnabled(e);if(this.__P_78_3)e?this._showPlaceholder():this._removePlaceholder();else{this.getContentElement().setAttribute("placeholder",e?this.getPlaceholder():"")}},__P_78_9:{width:16,height:16},_getContentHint:function(){return{width:10*this.__P_78_9.width,height:this.__P_78_9.height||16}},_applyFont:function(e,t){if(t&&this.__P_78_7&&this.__P_78_8){this.__P_78_7.removeListenerById(this.__P_78_8);this.__P_78_8=null}var n;if(e){qx.lang.Type.isString(e)&&(e=qx.theme.manager.Font.getInstance().resolve(e));this.__P_78_7=e;this.__P_78_7 instanceof qx.bom.webfonts.WebFont&&!this.__P_78_7.isValid()&&(this.__P_78_8=this.__P_78_7.addListener("changeStatus",this._onWebFontStatusChange,this));n=this.__P_78_7.getStyles()}else n=qx.bom.Font.getDefaultStyles();null!=this.getTextColor()&&delete n.color;if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<11){qx.html.Element.flush();this.getContentElement().setStyles(n,!0)}else this.getContentElement().setStyles(n);if(this.__P_78_3){delete n.color;this._getPlaceholderElement().setStyles(n)}e?this.__P_78_9=qx.bom.Label.getTextSize("A",n):delete this.__P_78_9;qx.ui.core.queue.Layout.add(this)},_applyTextColor:function(e,t){e?this.getContentElement().setStyle("color",qx.theme.manager.Color.getInstance().resolve(e)):this.getContentElement().removeStyle("color")},_applyMaxLength:function(e,t){e?this.getContentElement().setAttribute("maxLength",e):this.getContentElement().removeAttribute("maxLength")},_string2RegExp:function(e,t){qx.lang.Type.isString(e)&&(e=new RegExp(e));return e},tabFocus:function(){qx.ui.form.AbstractField.superclass.prototype.tabFocus.call(this);this.selectAllText()},_getTextSize:function(){return this.__P_78_9},_onHtmlInput:function(e){var t=e.getData(),n=!0;this.__P_78_4=!1;this.__P_78_6&&this.__P_78_6===t&&(n=!1);if(null!=this.getFilter()){var r=this._validateInput(t);if(r!=t){n=this.__P_78_6!==r;t=r;this.getContentElement().setValue(t)}}if(n){this.fireDataEvent("input",t,this.__P_78_6);this.__P_78_6=t;if(this.getLiveUpdate())this.__P_78_10(t);else{var i=this.getLiveUpdateOnRxMatch();i&&t.match(i)&&this.__P_78_10(t)}}},_onWebFontStatusChange:function(e){if(!0===e.getData().valid){var t=this.__P_78_7.getStyles();this.__P_78_9=qx.bom.Label.getTextSize("A",t);qx.ui.core.queue.Layout.add(this)}},__P_78_10:function(e){var t=this.__P_78_5;this.__P_78_5=e;t!=e&&this.fireNonBubblingEvent("changeValue",qx.event.type.Data,[e,t])},setValue:function(e){if(this.isDisposed())return null;if(null===e){if(this.__P_78_4)return e;e="";this.__P_78_4=!0}else{this.__P_78_4=!1;this.__P_78_3&&this._removePlaceholder()}if(qx.lang.Type.isString(e)){var t=this.getContentElement();if(t.getValue()!=e){var n=t.getValue();t.setValue(e);var r=this.__P_78_4?null:e;this.__P_78_5=n;this.__P_78_10(r);this.__P_78_6=this.__P_78_5}this.__P_78_3&&this._showPlaceholder();return e}throw new Error("Invalid value type: "+e)},getValue:function(){return this.isDisposed()||this.__P_78_4?null:this.getContentElement().getValue()},resetValue:function(){this.setValue(null)},_onChangeContent:function(e){this.__P_78_4=null===e.getData();this.__P_78_10(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(e,t){this.getContentElement().setTextSelection(e,t)},clearTextSelection:function(){this.getContentElement().clearTextSelection()},selectAllText:function(){this.setTextSelection(0)},setLayoutParent:function(e){qx.ui.form.AbstractField.superclass.prototype.setLayoutParent.call(this,e);if(this.__P_78_3)if(e)this.getLayoutParent().getContentElement().add(this._getPlaceholderElement());else{var t=this._getPlaceholderElement();t.getParent().remove(t)}},_showPlaceholder:function(){var e=this.getValue()||"";null==this.getPlaceholder()||""!=e||this.hasState("focused")||this.hasState("disabled")||(this.hasState("showingPlaceholder")?this._syncPlaceholder():this.addState("showingPlaceholder"))},_onPointerDownPlaceholder:function(){window.setTimeout(function(){this.focus()}.bind(this),0)},_removePlaceholder:function(){if(this.hasState("showingPlaceholder")){this.__P_78_3&&this._getPlaceholderElement().setStyle("visibility","hidden");this.removeState("showingPlaceholder")}},_syncPlaceholder:function(){this.hasState("showingPlaceholder")&&this.__P_78_3&&this._getPlaceholderElement().setStyle("visibility","visible")},_getPlaceholderElement:function(){if(null==this._placeholder){this._placeholder=new qx.html.Label;var e=qx.theme.manager.Color.getInstance();this._placeholder.setStyles({zIndex:11,position:"absolute",color:e.resolve("text-placeholder"),whiteSpace:"normal",cursor:"text",visibility:"hidden"});this._placeholder.addListener("pointerdown",this._onPointerDownPlaceholder,this)}return this._placeholder},_onChangeLocale:qx.core.Environment.select("qx.dynlocale",{true:function(e){var t=this.getPlaceholder();t&&t.translate&&this.setPlaceholder(t.translate())},false:null}),_onChangeTheme:function(){qx.ui.form.AbstractField.superclass.prototype._onChangeTheme.call(this);if(this._placeholder){this._placeholder.dispose();this._placeholder=null}if(!this.__P_78_3&&qx.ui.form.AbstractField.__P_78_0){qx.bom.Stylesheet.removeSheet(qx.ui.form.AbstractField.__P_78_0);qx.ui.form.AbstractField.__P_78_0=null;qx.ui.form.AbstractField.__P_78_2()}},_validateInput:function(e){var t=e,n=this.getFilter();if(null!==n){t="";for(var r=e.search(n),i=e;r>=0&&i.length>0;){t+=i.charAt(r);r=(i=i.substring(r+1,i.length)).search(n)}}return t},_applyPlaceholder:function(e,t){var n=this;if(this.__P_78_3){this._getPlaceholderElement().setValue(e);if(null!=e){this.addListener("focusin",this._removePlaceholder,this);this.addListener("focusout",this._showPlaceholder,this);this._showPlaceholder()}else{this.removeListener("focusin",this._removePlaceholder,this);this.removeListener("focusout",this._showPlaceholder,this);this._removePlaceholder()}}else if(this.getEnabled()){this.getContentElement().setAttribute("placeholder",e);"firefox"===qx.core.Environment.get("browser.name")&&parseFloat(qx.core.Environment.get("browser.version"))<36&&"textarea"===this.getContentElement().getNodeName()&&!this.getContentElement().getDomElement()&&this.addListenerOnce("appear",(function(){n.getContentElement().getDomElement().removeAttribute("placeholder");n.getContentElement().getDomElement().setAttribute("placeholder",e)}))}},_applyTextAlign:function(e,t){this.getContentElement().setStyle("textAlign",e)},_applyReadOnly:function(e,t){this.getContentElement().setAttribute("readOnly",e);if(e){this.addState("readonly");this.setFocusable(!1)}else{this.removeState("readonly");this.setFocusable(!0)}}},defer:function(e){qx.ui.style.Stylesheet.getInstance().addRule(".qx-abstract-field","border: none;padding: 0;margin: 0;display : block;background : transparent;outline: none;appearance: none;position: absolute;autoComplete: off;resize: none;border-radius: 0;")},destruct:function(){if(this._placeholder){this._placeholder.removeListener("pointerdown",this._onPointerDownPlaceholder,this);var e=this._placeholder.getParent();e&&e.remove(this._placeholder);this._placeholder.dispose()}this._placeholder=this.__P_78_7=null;qx.locale.Manager.getInstance().removeListener("changeLocale",this._onChangeLocale,this);this.__P_78_7&&this.__P_78_8&&this.__P_78_7.removeListenerById(this.__P_78_8);this.getContentElement().removeListener("input",this._onHtmlInput,this)}});qx.ui.form.AbstractField.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.AbstractField":{construct:!0,require:!0},"qx.ui.core.queue.Layout":{},"qx.ui.core.queue.Manager":{},"qx.html.Element":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.Element":{},"qx.html.Input":{},"qx.bom.element.Dimension":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.TextArea",{extend:qx.ui.form.AbstractField,construct:function(e){qx.ui.form.AbstractField.constructor.call(this,e);this.initWrap();this.addListener("roll",this._onRoll,this);this.addListener("resize",this._onResize,this)},properties:{wrap:{check:"Boolean",init:!0,apply:"_applyWrap"},appearance:{refine:!0,init:"textarea"},singleStep:{check:"Integer",init:20},minimalLineHeight:{check:"Integer",apply:"_applyMinimalLineHeight",init:4},autoSize:{check:"Boolean",apply:"_applyAutoSize",init:!1}},members:{__P_22_0:null,__P_22_1:null,__P_22_2:null,setValue:function(e){e=qx.ui.form.TextArea.superclass.prototype.setValue.call(this,e);this.__P_22_3();return e},_onRoll:function(e){if("wheel"==e.getPointerType()){var t=this.getContentElement(),n=t.getScrollY();t.scrollToY(n+e.getDelta().y/30*this.getSingleStep());t.getScrollY()!=n&&e.stop()}},_onResize:function(e){if(this.__P_22_0){this.__P_22_0.dispose();this.__P_22_0=null;this.__P_22_3()}},__P_22_3:function(){var e=this;if(this.isAutoSize()){if(this.__P_22_4()&&this.getBounds()){this.__P_22_2=this.__P_22_2||this._getAreaHeight();var t=Math.round(this._getScrolledAreaHeight());if(this.getMaxHeight()){var n=this.getInsets();t>-n.top+this.getMaxHeight()-n.bottom?this.getContentElement().setStyle("overflowY","auto"):this.getContentElement().setStyle("overflowY","hidden")}var r=Math.max(t,this.__P_22_2);this._setAreaHeight(r)}else this.getContentElement().addListenerOnce("appear",(function(){e.__P_22_3()}))}},_getAreaHeight:function(){return this.getInnerSize().height},_setAreaHeight:function(e){if(this._getAreaHeight()!==e){this.__P_22_1=e;qx.ui.core.queue.Layout.add(this);qx.ui.core.queue.Manager.flush();this.__P_22_5()}},_getScrolledAreaHeight:function(){var e=this.__P_22_4(),t=e.getDomElement();if(t){if(!t.parentNode){qx.html.Element.flush();return this._getScrolledAreaHeight()}"webkit"!==qx.core.Environment.get("engine.name")&&"mshtml"!=qx.core.Environment.get("engine.name")||e.setWrap(!this.getWrap(),!0);e.setWrap(this.getWrap(),!0);"webkit"!==qx.core.Environment.get("engine.name")&&"mshtml"!=qx.core.Environment.get("engine.name")||(t.style.overflow="hidden");if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")>=8){t.style.overflow="visible";t.style.overflowX="hidden"}e.setValue(this.getValue()||"");if("mshtml"==qx.core.Environment.get("engine.name")){t.style.height="auto";qx.html.Element.flush();t.style.height="0"}this.__P_22_6(e);"mshtml"==qx.core.Environment.get("engine.name")&&8==qx.core.Environment.get("browser.documentmode")&&(t.scrollTop||qx.html.Element.flush());return t.scrollTop}},__P_22_4:function(){this.__P_22_0=this.__P_22_0||this.__P_22_7();return this.__P_22_0},__P_22_7:function(){var e,t,n,r;if(!(e=this.getContentElement()).getDomElement())return null;n=qx.bom.Element.clone(e.getDomElement());(r=new qx.html.Input("textarea")).useNode(n);(t=r).setStyles({position:"absolute",top:0,left:"-9999px",height:0,overflow:"hidden"},!0);t.removeAttribute("id");t.removeAttribute("name");t.setAttribute("tabIndex","-1");t.setValue(e.getValue()||"");t.insertBefore(e);this.__P_22_6(t);return t},__P_22_6:function(e){(e=e.getDomElement())&&(e.scrollTop=1e4)},_createInputElement:function(){return new qx.html.Input("textarea",{overflowX:"auto",overflowY:"auto"})},_applyWrap:function(e,t){this.getContentElement().setWrap(e);if(this._placeholder){var n=e?"normal":"nowrap";this._placeholder.setStyle("whiteSpace",n)}this.__P_22_3()},_applyMinimalLineHeight:function(){qx.ui.core.queue.Layout.add(this)},_applyAutoSize:function(e,t){if(e){this.__P_22_3();this.addListener("input",this.__P_22_3,this);this.getBounds()?this.getContentElement().setStyle("overflowY","hidden"):this.addListenerOnce("appear",(function(){this.getContentElement().setStyle("overflowY","hidden")}))}else{this.removeListener("input",this.__P_22_3);this.getContentElement().setStyle("overflowY","auto")}},_applyDimension:function(e){qx.ui.form.TextArea.superclass.prototype._applyDimension.call(this);e===this.getMaxHeight()&&this.__P_22_3()},__P_22_5:function(){var e=this.getContentElement(),t=e.getDomElement(),n=e.getStyle("width");e.setStyle("width",parseInt(n,10)+1e3+"px",!0);t&&qx.bom.element.Dimension.getWidth(t);e.setStyle("width",n,!0)},__P_22_8:function(){this.isAutoSize()&&this.getHeight()&&this.warn("autoSize is ignored when the height property is set. If you want to set an initial height, use the minHeight property instead.")},_getContentHint:function(){var e=qx.ui.form.TextArea.superclass.prototype._getContentHint.call(this);e.height=e.height*this.getMinimalLineHeight();e.width=20*this._getTextSize().width;this.isAutoSize()&&(e.height=this.__P_22_1||e.height);return e}},destruct:function(){this.setAutoSize(!1);this.__P_22_0&&this.__P_22_0.dispose()}});qx.ui.form.TextArea.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.Style":{},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["css.transform","css.transform.3d"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.CssTransform",{statics:{getSupport:function(){var e=qx.bom.client.CssTransform.getName();return null!=e?{name:e,style:qx.bom.client.CssTransform.getStyle(),origin:qx.bom.client.CssTransform.getOrigin(),"3d":qx.bom.client.CssTransform.get3D(),perspective:qx.bom.client.CssTransform.getPerspective(),"perspective-origin":qx.bom.client.CssTransform.getPerspectiveOrigin(),"backface-visibility":qx.bom.client.CssTransform.getBackFaceVisibility()}:null},getStyle:function(){return qx.bom.Style.getPropertyName("transformStyle")},getPerspective:function(){return qx.bom.Style.getPropertyName("perspective")},getPerspectiveOrigin:function(){return qx.bom.Style.getPropertyName("perspectiveOrigin")},getBackFaceVisibility:function(){return qx.bom.Style.getPropertyName("backfaceVisibility")},getOrigin:function(){return qx.bom.Style.getPropertyName("transformOrigin")},getName:function(){return qx.bom.Style.getPropertyName("transform")},get3D:function(){return null!=qx.bom.client.CssTransform.getPerspective()}},defer:function(e){qx.core.Environment.add("css.transform",e.getSupport);qx.core.Environment.add("css.transform.3d",e.get3D)}});qx.bom.client.CssTransform.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.CssTransform":{require:!0},"qx.bom.Style":{}},environment:{provided:[],required:{"css.transform":{load:!0,className:"qx.bom.client.CssTransform"},"css.transform.3d":{className:"qx.bom.client.CssTransform"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Transform",{statics:{__P_24_0:qx.core.Environment.get("css.transform"),transform:function(e,t){var n=this.getTransformValue(t);if(null!=this.__P_24_0){var r=this.__P_24_0.name;e.style[r]=n}},translate:function(e,t){this.transform(e,{translate:t})},scale:function(e,t){this.transform(e,{scale:t})},rotate:function(e,t){this.transform(e,{rotate:t})},skew:function(e,t){this.transform(e,{skew:t})},getCss:function(e){var t=this.getTransformValue(e);if(null!=this.__P_24_0){var n=this.__P_24_0.name;return qx.bom.Style.getCssName(n)+":"+t+";"}return""},setOrigin:function(e,t){null!=this.__P_24_0&&(e.style[this.__P_24_0.origin]=t)},getOrigin:function(e){return null!=this.__P_24_0?e.style[this.__P_24_0.origin]:""},setStyle:function(e,t){null!=this.__P_24_0&&(e.style[this.__P_24_0.style]=t)},getStyle:function(e){return null!=this.__P_24_0?e.style[this.__P_24_0.style]:""},setPerspective:function(e,t){null!=this.__P_24_0&&(e.style[this.__P_24_0.perspective]=t+"px")},getPerspective:function(e){return null!=this.__P_24_0?e.style[this.__P_24_0.perspective]:""},setPerspectiveOrigin:function(e,t){null!=this.__P_24_0&&(e.style[this.__P_24_0["perspective-origin"]]=t)},getPerspectiveOrigin:function(e){if(null!=this.__P_24_0){var t=e.style[this.__P_24_0["perspective-origin"]];if(""!=t)return t;var n=e.style[this.__P_24_0["perspective-origin"]+"X"],r=e.style[this.__P_24_0["perspective-origin"]+"Y"];if(""!=n)return n+" "+r}return""},setBackfaceVisibility:function(e,t){null!=this.__P_24_0&&(e.style[this.__P_24_0["backface-visibility"]]=t?"visible":"hidden")},getBackfaceVisibility:function(e){return null==this.__P_24_0||"visible"==e.style[this.__P_24_0["backface-visibility"]]},getTransformValue:function(e){var t="",n=["translate","scale"];for(var r in e){var i=e[r];qx.Bootstrap.isArray(i)?3===i.length&&n.indexOf(r)>-1&&qx.core.Environment.get("css.transform.3d")?t+=this._compute3dProperty(r,i):t+=this._computeAxisProperties(r,i):t+=r+"("+i+") "}return t.trim()},_compute3dProperty:function(e,t){var n="";e+="3d";for(var r=0;r';e.firstChild.style.behavior="url(#default#VML)";var t="object"==_typeof(e.firstChild.adj);document.body.removeChild(e);return t},getCanvas:function(){return!!window.CanvasRenderingContext2D},getDataUrl:function(e){var t=new Image;t.onload=t.onerror=function(){window.setTimeout((function(){e.call(null,1==t.width&&1==t.height)}),0)};t.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw=="},getDataset:function(){return!!document.documentElement.dataset},getContains:function(){return void 0!==document.documentElement.contains},getCompareDocumentPosition:function(){return"function"==typeof document.documentElement.compareDocumentPosition},getTextContent:function(){return void 0!==document.createElement("span").textContent},getFullScreen:function(){return document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled||!1},getConsole:function(){return void 0!==window.console},getNaturalDimensions:function(){var e=document.createElement("img");return"number"==typeof e.naturalHeight&&"number"==typeof e.naturalWidth},getHistoryState:function(){return void 0!==window.onpopstate&&void 0!==window.history.replaceState&&void 0!==window.history.pushState},getSelection:function(){return"function"==typeof window.getSelection?"getSelection":"object"===_typeof(document.selection)?"selection":null},getIsEqualNode:function(){return"function"==typeof document.documentElement.isEqualNode}},defer:function(e){qx.core.Environment.add("html.webworker",e.getWebWorker);qx.core.Environment.add("html.filereader",e.getFileReader);qx.core.Environment.add("html.geolocation",e.getGeoLocation);qx.core.Environment.add("html.audio",e.getAudio);qx.core.Environment.add("html.audio.ogg",e.getAudioOgg);qx.core.Environment.add("html.audio.mp3",e.getAudioMp3);qx.core.Environment.add("html.audio.wav",e.getAudioWav);qx.core.Environment.add("html.audio.au",e.getAudioAu);qx.core.Environment.add("html.audio.aif",e.getAudioAif);qx.core.Environment.add("html.video",e.getVideo);qx.core.Environment.add("html.video.ogg",e.getVideoOgg);qx.core.Environment.add("html.video.h264",e.getVideoH264);qx.core.Environment.add("html.video.webm",e.getVideoWebm);qx.core.Environment.add("html.storage.local",e.getLocalStorage);qx.core.Environment.add("html.storage.session",e.getSessionStorage);qx.core.Environment.add("html.storage.userdata",e.getUserDataStorage);qx.core.Environment.add("html.classlist",e.getClassList);qx.core.Environment.add("html.xpath",e.getXPath);qx.core.Environment.add("html.xul",e.getXul);qx.core.Environment.add("html.canvas",e.getCanvas);qx.core.Environment.add("html.svg",e.getSvg);qx.core.Environment.add("html.vml",e.getVml);qx.core.Environment.add("html.dataset",e.getDataset);qx.core.Environment.addAsync("html.dataurl",e.getDataUrl);qx.core.Environment.add("html.element.contains",e.getContains);qx.core.Environment.add("html.element.compareDocumentPosition",e.getCompareDocumentPosition);qx.core.Environment.add("html.element.textcontent",e.getTextContent);qx.core.Environment.add("html.console",e.getConsole);qx.core.Environment.add("html.image.naturaldimensions",e.getNaturalDimensions);qx.core.Environment.add("html.history.state",e.getHistoryState);qx.core.Environment.add("html.selection",e.getSelection);qx.core.Environment.add("html.node.isequalnode",e.getIsEqualNode);qx.core.Environment.add("html.fullscreen",e.getFullScreen)}});qx.bom.client.Html.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.form.IStringForm":{require:!0},"qx.locale.Manager":{construct:!0},"qx.bom.client.Css":{require:!0},"qx.bom.client.Html":{require:!0},"qx.html.Label":{},"qx.theme.manager.Color":{},"qx.lang.Type":{},"qx.theme.manager.Font":{},"qx.bom.webfonts.WebFont":{},"qx.ui.core.queue.Layout":{},"qx.bom.Font":{},"qx.bom.Label":{},"qx.lang.Object":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"css.textoverflow":{className:"qx.bom.client.Css"},"html.xul":{className:"qx.bom.client.Html"},"os.name":{className:"qx.bom.client.OperatingSystem"},"engine.name":{className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"},"qx.dynlocale":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.basic.Label",{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm],construct:function(e){qx.ui.core.Widget.constructor.call(this);null!=e&&this.setValue(e);qx.locale.Manager.getInstance().addListener("changeLocale",this._onChangeLocale,this)},properties:{rich:{check:"Boolean",init:!1,event:"changeRich",apply:"_applyRich"},wrap:{check:"Boolean",init:!0,apply:"_applyWrap"},breakWithinWords:{check:"Boolean",init:!1,apply:"_applyBreakWithinWords"},value:{check:"String",apply:"_applyValue",event:"changeValue",nullable:!0},buddy:{check:"qx.ui.core.Widget",apply:"_applyBuddy",nullable:!0,init:null,dereference:!0},textAlign:{check:["left","center","right","justify"],nullable:!0,themeable:!0,apply:"_applyTextAlign",event:"changeTextAlign"},appearance:{refine:!0,init:"label"},selectable:{refine:!0,init:!1},allowGrowX:{refine:!0,init:!1},allowGrowY:{refine:!0,init:!1},allowShrinkY:{refine:!0,init:!1}},members:{__P_27_0:null,__P_27_1:null,__P_27_2:null,__P_27_3:null,_getContentHint:function(){if(this.__P_27_1){this.__P_27_4=this.__P_27_5();delete this.__P_27_1}return{width:this.__P_27_4.width,height:this.__P_27_4.height}},_hasHeightForWidth:function(){return this.getRich()&&this.getWrap()},_applySelectable:function(e){!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")&&e&&!this.isRich()||qx.ui.basic.Label.superclass.prototype._applySelectable.call(this,e)},_getContentHeightForWidth:function(e){return this.getRich()||this.getWrap()?this.__P_27_5(e).height:null},_createContentElement:function(){return new qx.html.Label},_applyTextAlign:function(e,t){this.getContentElement().setStyle("textAlign",e)},_applyTextColor:function(e,t){e?this.getContentElement().setStyle("color",qx.theme.manager.Color.getInstance().resolve(e)):this.getContentElement().removeStyle("color")},__P_27_4:{width:0,height:0},_applyFont:function(e,t){var n,r=this;if(t&&this.__P_27_0&&this.__P_27_3){this.__P_27_0.removeListenerById(this.__P_27_3);this.__P_27_3=null}if(e){qx.lang.Type.isString(e)&&(e=qx.theme.manager.Font.getInstance().resolve(e));this.__P_27_0=e;this.__P_27_0 instanceof qx.bom.webfonts.WebFont&&!this.__P_27_0.isValid()&&(this.__P_27_3=this.__P_27_0.addListener("changeStatus",(function(e){if(e.getData().valid){r.__P_27_1=!0;qx.ui.core.queue.Layout.add(r)}})));n=this.__P_27_0.getStyles()}else{this.__P_27_0=null;n=qx.bom.Font.getDefaultStyles()}null!=this.getTextColor()&&delete n.color;this.getContentElement().setStyles(n);this.__P_27_1=!0;qx.ui.core.queue.Layout.add(this)},__P_27_5:function(e){var t=qx.bom.Label,n=this.getFont()?this.__P_27_0.getStyles():qx.bom.Font.getDefaultStyles(),r=this.getValue()||"A",i=this.getRich();this.__P_27_3&&this.__P_27_6();i&&this.getBreakWithinWords()&&((n=qx.lang.Object.clone(n)).wordBreak="break-all");return i?t.getHtmlSize(r,n,e):t.getTextSize(r,n)},__P_27_6:function(){if(this.getContentElement()&&"osx"==qx.core.Environment.get("os.name")&&"gecko"==qx.core.Environment.get("engine.name")&&parseInt(qx.core.Environment.get("engine.version"),10)<16&&parseInt(qx.core.Environment.get("engine.version"),10)>9){var e=this.getContentElement().getDomElement();e&&(e.innerHTML=e.innerHTML)}},_applyBuddy:function(e,t){if(null!=t){this.removeRelatedBindings(t);this.removeListenerById(this.__P_27_2);this.__P_27_2=null}if(null!=e){e.bind("enabled",this,"enabled");this.__P_27_2=this.addListener("tap",(function(){e.isFocusable()&&e.focus.apply(e);"toggleValue"in e&&"function"==typeof e.toggleValue&&e.toggleValue()}))}},_applyRich:function(e){this.getContentElement().setRich(e);this.__P_27_1=!0;qx.ui.core.queue.Layout.add(this)},_applyWrap:function(e,t){e&&this.isRich();if(this.isRich()){var n=e?"normal":"nowrap";this.getContentElement().setStyle("whiteSpace",n)}},_applyBreakWithinWords:function(e,t){this.getContentElement().setStyle("wordBreak",this.isRich()&&e?"break-all":"normal")},_onChangeLocale:qx.core.Environment.select("qx.dynlocale",{true:function(e){var t=this.getValue();t&&t.translate&&this.setValue(t.translate())},false:null}),_applyValue:qx.core.Environment.select("qx.dynlocale",{true:function(e,t){e&&e.translate?this.getContentElement().setValue(e.translate()):this.getContentElement().setValue(e);this.__P_27_1=!0;qx.ui.core.queue.Layout.add(this)},false:function(e,t){this.getContentElement().setValue(e);this.__P_27_1=!0;qx.ui.core.queue.Layout.add(this)}})},destruct:function(){qx.locale.Manager.getInstance().removeListener("changeLocale",this._onChangeLocale,this);this.__P_27_0&&this.__P_27_3&&this.__P_27_0.removeListenerById(this.__P_27_3);this.__P_27_0=null}});qx.ui.basic.Label.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.form.MModelProperty",{properties:{model:{nullable:!0,event:"changeModel",apply:"_applyModel",dereference:!0}},members:{_applyModel:function(e,t){}}});qx.ui.form.MModelProperty.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qx.ui.form.RadioGroup":{}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IRadioItem",{events:{changeValue:"qx.event.type.Data"},members:{setValue:function(e){},getValue:function(){},setGroup:function(e){this.assertInstance(e,qx.ui.form.RadioGroup)},getGroup:function(){}}});qx.ui.form.IRadioItem.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qx.ui.form.IField":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IBooleanForm",{extend:qx.ui.form.IField,events:{changeValue:"qx.event.type.Data"},members:{setValue:function(e){return 1==arguments.length},resetValue:function(){},getValue:function(){}}});qx.ui.form.IBooleanForm.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IModel",{events:{changeModel:"qx.event.type.Data"},members:{setModel:function(e){},getModel:function(){},resetModel:function(){}}});qx.ui.form.IModel.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Button":{construct:!0,require:!0},"qx.ui.form.MForm":{require:!0},"qx.ui.form.MModelProperty":{require:!0},"qx.ui.form.IRadioItem":{require:!0},"qx.ui.form.IForm":{require:!0},"qx.ui.form.IBooleanForm":{require:!0},"qx.ui.form.IModel":{require:!0},"qx.ui.form.RadioGroup":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.RadioButton",{extend:qx.ui.form.Button,include:[qx.ui.form.MForm,qx.ui.form.MModelProperty],implement:[qx.ui.form.IRadioItem,qx.ui.form.IForm,qx.ui.form.IBooleanForm,qx.ui.form.IModel],construct:function(e){qx.ui.form.Button.constructor.call(this,e);var t=this.getContentElement();t.setAttribute("role","radio");t.setAttribute("aria-checked",!1);this.addListener("execute",this._onExecute);this.addListener("keypress",this._onKeyPress)},properties:{group:{check:"qx.ui.form.RadioGroup",nullable:!0,apply:"_applyGroup"},value:{check:"Boolean",nullable:!0,event:"changeValue",apply:"_applyValue",init:!1},appearance:{refine:!0,init:"radiobutton"},allowGrowX:{refine:!0,init:!1}},members:{_forwardStates:{checked:!0,focused:!0,invalid:!0,hovered:!0},_bindableProperties:["enabled","label","toolTipText","value","menu"],_applyValue:function(e,t){e?this.addState("checked"):this.removeState("checked");this.getContentElement().setAttribute("aria-checked",Boolean(e))},_applyGroup:function(e,t){t&&t.remove(this);e&&e.add(this)},_onExecute:function(e){var t=this.getGroup();t&&t.getAllowEmptySelection()?this.toggleValue():this.setValue(!0)},_onKeyPress:function(e){var t=this.getGroup();if(t)switch(e.getKeyIdentifier()){case"Left":case"Up":t.selectPrevious();break;case"Right":case"Down":t.selectNext()}}}});qx.ui.form.RadioButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.RadioButton":{construct:!0,require:!0},"qx.ui.form.IRadioItem":{require:!0},"qx.ui.basic.Label":{construct:!0},"qx.ui.core.Spacer":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("wax.demo.MenuButton",{extend:qx.ui.form.RadioButton,implement:qx.ui.form.IRadioItem,construct:function(e,t,n,r){qx.ui.form.RadioButton.constructor.call(this,e);if(void 0!==t){this.setIcon(t);void 0!==n&&this.getChildControl("icon").set({scale:n})}if(void 0!==r){var i=new qx.ui.basic.Label(r).set({alignX:"right",appearance:"mainmenuindicator"});this._add(new qx.ui.core.Spacer(30,1));this._add(i)}},properties:{appearance:{refine:!0,init:"mainmenubutton"},allowGrowX:{refine:!0,init:!0}}});wax.demo.MenuButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IModelSelection",{members:{setModelSelection:function(e){},getModelSelection:function(){}}});qx.ui.form.IModelSelection.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.data.Array":{construct:!0},"qx.lang.Array":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.form.MModelSelection",{construct:function(){this.__P_101_0=new qx.data.Array;this.__P_101_0.addListener("change",this.__P_101_1,this);this.addListener("changeSelection",this.__P_101_2,this)},events:{changeModelSelection:"qx.event.type.Data"},members:{__P_101_0:null,__P_101_3:!1,__P_101_2:function(){if(!this.__P_101_3){for(var e=this.getSelection(),t=[],n=0;n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();s=e.done;return e},e:function(e){a=!0;o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);return"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&!this.getSelection()[0]&&this.setSelection([n[0]])},remove:function(e){var t=this.__P_28_0,n=this.getGroupedProperty(),r=qx.lang.String.firstUp(n);if(t.includes(e)){qx.lang.Array.remove(t,e);e.get(this.getGroupProperty())===this&&e.reset(this.getGroupProperty());e.removeListener("change"+r,this._onItemChangeChecked,this);e.get(n)&&this.resetSelection()}},getChildren:function(){return this.__P_28_0},_onItemChangeChecked:function(e){var t=e.getTarget(),n=this.getGroupedProperty();t.get(n)?this.setSelection([t]):this.getSelection()[0]==t&&this.resetSelection()},_applyGroupedProperty:function(e,t){for(var n,r=qx.lang.String.firstUp(t),i=qx.lang.String.firstUp(e),o=0;o=0;i--){var o=r[i];if(o.listener==t&&o.ctx==n){r.splice(i,1);qx.event.Emitter.__P_167_0[o.id]=null;return o.id}}return null},offById:function(e){var t=qx.event.Emitter.__P_167_0[e];t&&this.off(t.name,t.listener,t.ctx);return null},addListener:function(e,t,n){return this.on(e,t,n)},addListenerOnce:function(e,t,n){return this.once(e,t,n)},removeListener:function(e,t,n){this.off(e,t,n)},removeListenerById:function(e){this.offById(e)},emit:function(e,t){for(var n=this.__P_167_3(e).concat(),r=[],i=0;i=0;i--){var o;(o=n[i]).listener.call(o.ctx,t)}},getListeners:function(){return this.__P_167_1},getEntryById:function(e){for(var t in this.__P_167_1)for(var n=this.__P_167_1[t],r=0,i=n.length;r=t+e){this.emit("end");this.id=null}else{var i=Math.max(r-t,0);this.emit("frame",i);this.id=qx.bom.AnimationFrame.request(n,this)}}),this)},cancelSequence:function(){this.__P_127_0=!0}},statics:{TIMEOUT:30,calculateTiming:function(e,t){if("ease-in"==e)var n=[3.1223e-7,.0757,1.2646,-.167,-.4387,.2654];else if("ease-out"==e)n=[-7.0198e-8,1.652,-.551,-.0458,.1255,-.1807];else{if("linear"==e)return t;if("ease-in-out"==e)n=[2.482e-7,-.2289,3.3466,-1.0857,-1.7354,.7034];else n=[-.0021,.2472,9.8054,-21.6869,17.7611,-5.1226]}for(var r=0,i=0;i=0;r--){e=n[r];t=this.__P_58_1[e.toHashCode()];n.splice(r,1);e.syncWidget(t)}if(0==n.length){this.__P_58_0=[];this.__P_58_1={}}}}});qx.ui.core.queue.Widget.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.lang.Array":{},"qx.ui.core.queue.Manager":{},"qx.ui.core.queue.Visibility":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.queue.Appearance",{statics:{__P_53_0:[],__P_53_1:{},remove:function(e){if(this.__P_53_1[e.toHashCode()]){qx.lang.Array.remove(this.__P_53_0,e);delete this.__P_53_1[e.toHashCode()]}},add:function(e){if(!this.__P_53_1[e.toHashCode()]){this.__P_53_0.unshift(e);this.__P_53_1[e.toHashCode()]=e;qx.ui.core.queue.Manager.scheduleFlush("appearance")}},has:function(e){return!!this.__P_53_1[e.toHashCode()]},flush:function(){for(var e,t=qx.ui.core.queue.Visibility,n=this.__P_53_0,r=n.length-1;r>=0;r--){e=n[r];n.splice(r,1);delete this.__P_53_1[e.toHashCode()];t.isVisible(e)?e.syncAppearance():e.$$stateChanges=!0}}}});qx.ui.core.queue.Appearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.queue.Manager":{},"qx.ui.core.queue.Visibility":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.queue.Layout",{statics:{__P_79_0:{},__P_79_1:{},remove:function(e){delete this.__P_79_0[e.toHashCode()]},add:function(e){this.__P_79_0[e.toHashCode()]=e;qx.ui.core.queue.Manager.scheduleFlush("layout")},isScheduled:function(e){return!!this.__P_79_0[e.toHashCode()]},flush:function(){for(var e=this.__P_79_2(),t=e.length-1;t>=0;t--){var n=e[t];if(!n.hasValidLayout())if(n.isRootWidget()&&!n.hasUserBounds()){var r=n.getSizeHint();n.renderLayout(0,0,r.width,r.height)}else{var i=n.getBounds();i&&n.renderLayout(i.left,i.top,i.width,i.height)}}},getNestingLevel:function(e){for(var t=this.__P_79_1,n=0,r=e;;){if(null!=t[r.toHashCode()]){n+=t[r.toHashCode()];break}if(!r.$$parent)break;r=r.$$parent;n+=1}for(var i=n;e&&e!==r;){t[e.toHashCode()]=i--;e=e.$$parent}return n},__P_79_3:function(){var e=qx.ui.core.queue.Visibility;this.__P_79_1={};var t,n,r=[],i=this.__P_79_0;for(var o in i){t=i[o];if(e.isVisible(t)){r[n=this.getNestingLevel(t)]||(r[n]={});r[n][o]=t;delete i[o]}}return r},__P_79_2:function(){for(var e=[],t=this.__P_79_3(),n=t.length-1;n>=0;n--)if(t[n])for(var r in t[n]){var i=t[n][r];if(0==n||i.isRootWidget()||i.hasUserBounds()){e.push(i);i.invalidateLayoutCache()}else{var o=i.getSizeHint(!1);if(o){i.invalidateLayoutCache();var s=i.getSizeHint(),a=!i.getBounds()||o.minWidth!==s.minWidth||o.width!==s.width||o.maxWidth!==s.maxWidth||o.minHeight!==s.minHeight||o.height!==s.height||o.maxHeight!==s.maxHeight}else a=!0;if(a){var u=i.getLayoutParent();t[n-1]||(t[n-1]={});t[n-1][u.toHashCode()]=u}else e.push(i)}}return e}}});qx.ui.core.queue.Layout.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.queue.Manager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.queue.Dispose",{statics:{__P_92_0:[],add:function(e){var t=this.__P_92_0;if(!t.includes(e)){t.unshift(e);qx.ui.core.queue.Manager.scheduleFlush("dispose")}},isEmpty:function(){return 0==this.__P_92_0.length},flush:function(){for(var e=this.__P_92_0,t=e.length-1;t>=0;t--){var n=e[t];e.splice(t,1);n.dispose()}0==e.length&&(this.__P_92_0=[])}}});qx.ui.core.queue.Dispose.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.bom.client.Engine":{require:!0},"qx.dom.Node":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Dimension",{statics:{getWidth:function(e){var t=e.getBoundingClientRect();return Math.round(t.right-t.left)},getHeight:function(e){var t=e.getBoundingClientRect();return Math.round(t.bottom-t.top)},getSize:function(e){return{width:this.getWidth(e),height:this.getHeight(e)}},getOuterHeight:function(e,t){if(t){var n=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-top"),10),r=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-bottom"),10);return e.offsetHeight+n+r}return e.offsetHeight},getOuterWidth:function(e,t){if(t){var n=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-left"),10),r=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-right"),10);return e.offsetWidth+n+r}return e.offsetWidth},getOuterSize:function(e,t){return{width:this.getOuterWidth(e,t),height:this.getOuterHeight(e,t)}},__P_83_0:{visible:!0,hidden:!0},getContentWidth:function(e){var t=qx.bom.element.Style,n=qx.bom.element.Style.get(e,"overflowX"),r=parseInt(t.get(e,"paddingLeft")||"0px",10),i=parseInt(t.get(e,"paddingRight")||"0px",10);if(this.__P_83_0[n]){var o=e.clientWidth;("opera"==qx.core.Environment.get("engine.name")||qx.dom.Node.isBlockNode(e))&&(o=o-r-i);return"mshtml"==qx.core.Environment.get("engine.name")&&0===o&&0===e.offsetHeight?e.offsetWidth:o}if(e.clientWidth>=e.scrollWidth)return Math.max(e.clientWidth,e.scrollWidth)-r-i;var s=e.scrollWidth-r;"mshtml"==qx.core.Environment.get("engine.name")&&(s-=i);return s},getContentHeight:function(e){var t=qx.bom.element.Style,n=qx.bom.element.Style.get(e,"overflowY"),r=parseInt(t.get(e,"paddingTop")||"0px",10),i=parseInt(t.get(e,"paddingBottom")||"0px",10);return this.__P_83_0[n]?e.clientHeight-r-i:e.clientHeight>=e.scrollHeight?Math.max(e.clientHeight,e.scrollHeight)-r-i:e.scrollHeight-r},getContentSize:function(e){return{width:this.getContentWidth(e),height:this.getContentHeight(e)}}}});qx.bom.element.Dimension.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.Viewport":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Document",{statics:{isQuirksMode:qx.core.Environment.select("engine.name",{mshtml:function(e){return qx.core.Environment.get("engine.version")>=8?5===(e||window).document.documentMode:"CSS1Compat"!==(e||window).document.compatMode},webkit:function(e){if(void 0===document.compatMode){var t=(e||window).document.createElement("div");t.style.cssText="position:absolute;width:0;height:0;width:1";return"1px"===t.style.width}return"CSS1Compat"!==(e||window).document.compatMode},default:function(e){return"CSS1Compat"!==(e||window).document.compatMode}}),isStandardMode:function(e){return!this.isQuirksMode(e)},getWidth:function(e){var t=(e||window).document,n=qx.bom.Viewport.getWidth(e),r=this.isStandardMode(e)?t.documentElement.scrollWidth:t.body.scrollWidth;return Math.max(r,n)},getHeight:function(e){var t=(e||window).document,n=qx.bom.Viewport.getHeight(e),r=this.isStandardMode(e)?t.documentElement.scrollHeight:t.body.scrollHeight;return Math.max(r,n)}}});qx.bom.Document.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.Document":{},"qx.bom.client.OperatingSystem":{require:!0}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Viewport",{statics:{getWidth:function(e){var t=(e=e||window).document;return qx.bom.Document.isStandardMode(e)?t.documentElement.clientWidth:t.body.clientWidth},getHeight:function(e){var t=(e=e||window).document;return"ios"==qx.core.Environment.get("os.name")&&window.innerHeight!=t.documentElement.clientHeight?window.innerHeight:qx.bom.Document.isStandardMode(e)?t.documentElement.clientHeight:t.body.clientHeight},getScrollLeft:function(e){if(void 0!==(e=e||window).pageXOffset)return e.pageXOffset;var t=e.document;return t.documentElement.scrollLeft||t.body.scrollLeft},getScrollTop:function(e){if(void 0!==(e=e||window).pageYOffset)return e.pageYOffset;var t=e.document;return t.documentElement.scrollTop||t.body.scrollTop},__P_109_0:function(e){var t=this.getWidth(e)>this.getHeight(e)?90:0,n=e.orientation;return null==n||Math.abs(n%180)==t?{"-270":90,"-180":180,"-90":-90,0:0,90:90,180:180,270:-90}:{"-270":180,"-180":-90,"-90":0,0:90,90:180,180:-90,270:0}},__P_109_1:null,getOrientation:function(e){var t=(e=e||window.top).orientation;if(null==t)t=this.getWidth(e)>this.getHeight(e)?90:0;else{null==this.__P_109_1&&(this.__P_109_1=this.__P_109_0(e));t=this.__P_109_1[t]}return t},isLandscape:function(e){var t=this.getOrientation(e);return-90===t||90===t},isPortrait:function(e){var t=this.getOrientation(e);return 0===t||180===t}}});qx.bom.Viewport.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.dom.Node":{},"qx.bom.Viewport":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.element.BoxSizing":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"browser.quirksmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Location",{statics:{__P_91_0:function(e,t){return qx.bom.element.Style.get(e,t,qx.bom.element.Style.COMPUTED_MODE,!1)},__P_91_1:function(e,t){return parseInt(qx.bom.element.Style.get(e,t,qx.bom.element.Style.COMPUTED_MODE,!1),10)||0},__P_91_2:function(e){var t=0,n=0,r=qx.dom.Node.getWindow(e);return{left:t-=qx.bom.Viewport.getScrollLeft(r),top:n-=qx.bom.Viewport.getScrollTop(r)}},__P_91_3:qx.core.Environment.select("engine.name",{mshtml:function(e){var t=qx.dom.Node.getDocument(e),n=t.body,r=0,i=0;r-=n.clientLeft+t.documentElement.clientLeft;i-=n.clientTop+t.documentElement.clientTop;if(!qx.core.Environment.get("browser.quirksmode")){r+=this.__P_91_1(n,"borderLeftWidth");i+=this.__P_91_1(n,"borderTopWidth")}return{left:r,top:i}},webkit:function(e){var t=qx.dom.Node.getDocument(e).body;return{left:t.offsetLeft,top:t.offsetTop}},gecko:function(e){var t=qx.dom.Node.getDocument(e).body,n=t.offsetLeft,r=t.offsetTop;if("border-box"!==qx.bom.element.BoxSizing.get(t)){n+=this.__P_91_1(t,"borderLeftWidth");r+=this.__P_91_1(t,"borderTopWidth")}return{left:n,top:r}},default:function(e){var t=qx.dom.Node.getDocument(e).body;return{left:t.offsetLeft,top:t.offsetTop}}}),__P_91_4:function(e){var t=e.getBoundingClientRect();return{left:Math.round(t.left),top:Math.round(t.top)}},get:function(e,t){if("BODY"==e.tagName)var n=this.__P_91_5(e),r=n.left,i=n.top;else{var o=this.__P_91_3(e),s=this.__P_91_4(e),a=this.__P_91_2(e);r=s.left+o.left-a.left,i=s.top+o.top-a.top}var u,l;if(e instanceof SVGElement){var c=e.getBoundingClientRect();u=c.width;l=c.height}else{u=e.offsetWidth;l=e.offsetHeight}var h=r+u,d=i+l;if(t){if("padding"==t||"scroll"==t){var f=qx.bom.element.Style.get(e,"overflowX");"scroll"!=f&&"auto"!=f||(h+=e.scrollWidth-u+this.__P_91_1(e,"borderLeftWidth")+this.__P_91_1(e,"borderRightWidth"));var _=qx.bom.element.Style.get(e,"overflowY");"scroll"!=_&&"auto"!=_||(d+=e.scrollHeight-l+this.__P_91_1(e,"borderTopWidth")+this.__P_91_1(e,"borderBottomWidth"))}switch(t){case"padding":r+=this.__P_91_1(e,"paddingLeft");i+=this.__P_91_1(e,"paddingTop");h-=this.__P_91_1(e,"paddingRight");d-=this.__P_91_1(e,"paddingBottom");case"scroll":r-=e.scrollLeft;i-=e.scrollTop;h-=e.scrollLeft;d-=e.scrollTop;case"border":r+=this.__P_91_1(e,"borderLeftWidth");i+=this.__P_91_1(e,"borderTopWidth");h-=this.__P_91_1(e,"borderRightWidth");d-=this.__P_91_1(e,"borderBottomWidth");break;case"margin":r-=this.__P_91_1(e,"marginLeft");i-=this.__P_91_1(e,"marginTop");h+=this.__P_91_1(e,"marginRight");d+=this.__P_91_1(e,"marginBottom")}}return{left:r,top:i,right:h,bottom:d}},__P_91_5:function(e){var t=e.offsetTop,n=e.offsetLeft;t+=this.__P_91_1(e,"marginTop");n+=this.__P_91_1(e,"marginLeft");if("gecko"===qx.core.Environment.get("engine.name")){t+=this.__P_91_1(e,"borderLeftWidth");n+=this.__P_91_1(e,"borderTopWidth")}return{left:n,top:t}},getLeft:function(e,t){return this.get(e,t).left},getTop:function(e,t){return this.get(e,t).top},getRight:function(e,t){return this.get(e,t).right},getBottom:function(e,t){return this.get(e,t).bottom},getRelative:function(e,t,n,r){var i=this.get(e,n),o=this.get(t,r);return{left:i.left-o.left,top:i.top-o.top,right:i.right-o.right,bottom:i.bottom-o.bottom}},getPosition:function(e){return this.getRelative(e,this.getOffsetParent(e))},getOffsetParent:function(e){if(e instanceof SVGElement)return document.body;for(var t=e.offsetParent||document.body,n=qx.bom.element.Style;t&&!/^body|html$/i.test(t.tagName)&&"static"===n.get(t,"position");)t=t.offsetParent;return t}}});qx.bom.element.Location.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.lang.normalize.String":{require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Clip",{statics:{compile:function(e){if(!e)return"clip:auto;";var t,n,r=e.left,i=e.top,o=e.width,s=e.height;if(null==r){t=null==o?"auto":o+"px";r="auto"}else{t=null==o?"auto":r+o+"px";r+="px"}if(null==i){n=null==s?"auto":s+"px";i="auto"}else{n=null==s?"auto":i+s+"px";i+="px"}return"clip:rect("+i+","+t+","+n+","+r+");"},get:function(e,t){var n,r,i,o,s,a,u=qx.bom.element.Style.get(e,"clip",t,!1);if("string"==typeof u&&"auto"!==u&&""!==u){u=u.trim();if(!/\((.*)\)/.test(u))throw new Error("Could not parse clip string: "+u);var l=RegExp.$1;if(/,/.test(l))var c=l.split(",");else c=l.split(" ");r=c[0].trim();s=c[1].trim();a=c[2].trim();"auto"===(n=c[3].trim())&&(n=null);"auto"===r&&(r=null);"auto"===s&&(s=null);"auto"===a&&(a=null);null!=r&&(r=parseInt(r,10));null!=s&&(s=parseInt(s,10));null!=a&&(a=parseInt(a,10));null!=n&&(n=parseInt(n,10));null!=s&&null!=n?i=s-n:null!=s&&(i=s);null!=a&&null!=r?o=a-r:null!=a&&(o=a)}return{left:n||null,top:r||null,width:i||null,height:o||null}},set:function(e,t){if(t){var n,r,i=t.left,o=t.top,s=t.width,a=t.height;if(null==i){n=null==s?"auto":s+"px";i="auto"}else{n=null==s?"auto":i+s+"px";i+="px"}if(null==o){r=null==a?"auto":a+"px";o="auto"}else{r=null==a?"auto":o+a+"px";o+="px"}e.style.clip="rect("+o+","+n+","+r+","+i+")"}else e.style.clip="rect(auto,auto,auto,auto)"},reset:function(e){e.style.clip="rect(auto, auto, auto, auto)"}}});qx.bom.element.Clip.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.bom.client.Engine":{defer:"load",require:!0},"qx.bom.client.Browser":{defer:"load",require:!0}},environment:{provided:[],required:{"engine.name":{defer:!0,className:"qx.bom.client.Engine"},"engine.version":{defer:!0,className:"qx.bom.client.Engine"},"browser.documentmode":{defer:!0,className:"qx.bom.client.Browser"},"browser.quirksmode":{defer:!0,className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Cursor",{statics:{__P_162_0:{},compile:function(e){return"cursor:"+(this.__P_162_0[e]||e)+";"},get:function(e,t){return qx.bom.element.Style.get(e,"cursor",t,!1)},set:function(e,t){e.style.cursor=this.__P_162_0[t]||t},reset:function(e){e.style.cursor=""}},defer:function(e){if("mshtml"==qx.core.Environment.get("engine.name")&&(parseFloat(qx.core.Environment.get("engine.version"))<9||qx.core.Environment.get("browser.documentmode")<9)&&!qx.core.Environment.get("browser.quirksmode")){e.__P_162_0["nesw-resize"]="ne-resize";e.__P_162_0["nwse-resize"]="nw-resize"}}});qx.bom.element.Cursor.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Css":{require:!0},"qx.bom.element.Style":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"css.opacity":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Opacity",{statics:{compile:qx.core.Environment.select("engine.name",{mshtml:function(e){e>=1&&(e=1);e<1e-5&&(e=0);return qx.core.Environment.get("css.opacity")?"opacity:"+e+";":"zoom:1;filter:alpha(opacity="+100*e+");"},default:function(e){return"opacity:"+e+";"}}),set:qx.core.Environment.select("engine.name",{mshtml:function(e,t){if(qx.core.Environment.get("css.opacity"))e.style.opacity=t;else{var n=qx.bom.element.Style.get(e,"filter",qx.bom.element.Style.COMPUTED_MODE,!1);t>=1&&(t=1);t<1e-5&&(t=0);e.currentStyle&&e.currentStyle.hasLayout||(e.style.zoom=1);e.style.filter=n.replace(/alpha\([^\)]*\)/gi,"")+"alpha(opacity="+100*t+")"}},default:function(e,t){e.style.opacity=t}}),reset:qx.core.Environment.select("engine.name",{mshtml:function(e){if(qx.core.Environment.get("css.opacity"))e.style.opacity="";else{var t=qx.bom.element.Style.get(e,"filter",qx.bom.element.Style.COMPUTED_MODE,!1);e.style.filter=t.replace(/alpha\([^\)]*\)/gi,"")}},default:function(e){e.style.opacity=""}}),get:qx.core.Environment.select("engine.name",{mshtml:function(e,t){if(qx.core.Environment.get("css.opacity")){return null!=(r=qx.bom.element.Style.get(e,"opacity",t,!1))?parseFloat(r):1}var n=qx.bom.element.Style.get(e,"filter",t,!1);if(n){var r;if((r=n.match(/alpha\(opacity=(.*)\)/))&&r[1])return parseFloat(r[1])/100}return 1},default:function(e,t){var n=qx.bom.element.Style.get(e,"opacity",t,!1);return null!=n?parseFloat(n):1}})}});qx.bom.element.Opacity.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Css":{require:!0},"qx.bom.Style":{},"qx.bom.element.Style":{},"qx.bom.Document":{},"qx.dom.Node":{}},environment:{provided:[],required:{"css.boxsizing":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.BoxSizing",{statics:{__P_157_0:{tags:{button:!0,select:!0},types:{search:!0,button:!0,submit:!0,reset:!0,checkbox:!0,radio:!0}},__P_157_1:function(e){var t=this.__P_157_0;return t.tags[e.tagName.toLowerCase()]||t.types[e.type]},compile:function(e){if(qx.core.Environment.get("css.boxsizing")){return qx.bom.Style.getCssName(qx.core.Environment.get("css.boxsizing"))+":"+e+";"}},get:function(e){return qx.core.Environment.get("css.boxsizing")?qx.bom.element.Style.get(e,"boxSizing",null,!1)||"":qx.bom.Document.isStandardMode(qx.dom.Node.getWindow(e))&&!this.__P_157_1(e)?"content-box":"border-box"},set:function(e,t){if(qx.core.Environment.get("css.boxsizing"))try{e.style[qx.core.Environment.get("css.boxsizing")]=t}catch(e){}},reset:function(e){this.set(e,"")}}});qx.bom.element.BoxSizing.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.lang.String":{require:!0,defer:"runtime"},"qx.bom.client.Css":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.bom.Style":{},"qx.bom.element.Clip":{require:!0},"qx.bom.element.Cursor":{require:!0},"qx.bom.element.Opacity":{require:!0},"qx.bom.element.BoxSizing":{require:!0},"qx.dom.Node":{}},environment:{provided:[],required:{"css.appearance":{className:"qx.bom.client.Css"},"css.userselect":{className:"qx.bom.client.Css"},"css.textoverflow":{className:"qx.bom.client.Css"},"css.borderimage":{className:"qx.bom.client.Css"},"css.float":{className:"qx.bom.client.Css"},"css.usermodify":{className:"qx.bom.client.Css"},"css.boxsizing":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Style",{statics:{__P_110_0:null,__P_110_1:null,__P_110_2:function(){var e={appearance:qx.core.Environment.get("css.appearance"),userSelect:qx.core.Environment.get("css.userselect"),textOverflow:qx.core.Environment.get("css.textoverflow"),borderImage:qx.core.Environment.get("css.borderimage"),float:qx.core.Environment.get("css.float"),userModify:qx.core.Environment.get("css.usermodify"),boxSizing:qx.core.Environment.get("css.boxsizing")};this.__P_110_1={};for(var t in qx.lang.Object.clone(e))e[t]?"float"===t?this.__P_110_1.cssFloat=t:this.__P_110_1[t]=qx.bom.Style.getCssName(e[t]):delete e[t];this.__P_110_0=e},__P_110_3:function(e){var t=qx.bom.Style.getPropertyName(e);t&&(this.__P_110_0[e]=t);return t},__P_110_4:{width:"pixelWidth",height:"pixelHeight",left:"pixelLeft",right:"pixelRight",top:"pixelTop",bottom:"pixelBottom"},__P_110_5:{clip:qx.bom.element.Clip,cursor:qx.bom.element.Cursor,opacity:qx.bom.element.Opacity,boxSizing:qx.bom.element.BoxSizing},compile:function(e){var t,n,r=[],i=this.__P_110_5,o=this.__P_110_1;for(t in e)if(null!=(n=e[t]))if(i[t=this.__P_110_1[t]||t])r.push(i[t].compile(n));else{o[t]||(o[t]=qx.bom.Style.getCssName(t));r.push(o[t],":",""===n?'""':n,";")}return r.join("")},setCss:function(e,t){e.setAttribute("style",t)},getCss:function(e){return e.getAttribute("style")},isPropertySupported:function(e){return this.__P_110_5[e]||this.__P_110_0[e]||e in document.documentElement.style},COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function(e,t,n,r){t=this.__P_110_0[t]||this.__P_110_3(t)||t;!1!==r&&this.__P_110_5[t]?this.__P_110_5[t].set(e,n):e.style[t]=null!==n?n:""},setStyles:function(e,t,n){var r=this.__P_110_0,i=this.__P_110_5,o=e.style;for(var s in t){var a=t[s],u=r[s]||this.__P_110_3(s)||s;void 0===a?!1!==n&&i[u]?i[u].reset(e):o[u]="":!1!==n&&i[u]?i[u].set(e,a):o[u]=null!==a?a:""}},reset:function(e,t,n){t=this.__P_110_0[t]||this.__P_110_3(t)||t;!1!==n&&this.__P_110_5[t]?this.__P_110_5[t].reset(e):e.style[t]=""},get:function(e,t,n,r){t=this.__P_110_0[t]||this.__P_110_3(t)||t;if(!1!==r&&this.__P_110_5[t])return this.__P_110_5[t].get(e,n);switch(n){case this.LOCAL_MODE:return e.style[t]||"";case this.CASCADED_MODE:if(e.currentStyle)return e.currentStyle[t]||"";throw new Error("Cascaded styles are not supported in this browser!");default:var i=qx.dom.Node.getDocument(e),o=i.defaultView?i.defaultView.getComputedStyle:void 0;if(void 0===o){if(!e.currentStyle)return e.style[t]||"";var s=e.currentStyle[t]||e.style[t]||"";if(/^-?[\.\d]+(px)?$/i.test(s))return s;var a=this.__P_110_4[t];if(a&&a in e.style){var u=e.style[t];e.style[t]=s||0;var l=e.style[a]+"px";e.style[t]=u;return l}return s}var c=o(e,null);return c&&c[t]?c[t]:e.style[t]||""}}},defer:function(e){e.__P_110_2()}});qx.bom.element.Style.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Html":{require:!0}},environment:{provided:[],required:{"html.classlist":{load:!0,className:"qx.bom.client.Html"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Class",{statics:{__P_189_0:/\s+/g,__P_189_1:/^\s+|\s+$/g,add:{native:function(e,t){t.length>0&&e.classList.add(t);return t},default:function(e,t){this.has(e,t)||(e.className+=(e.className?" ":"")+t);return t}}[qx.core.Environment.get("html.classlist")?"native":"default"],addClasses:{native:function(e,t){for(var n=0;n0&&e.classList.add(t[n]);return e.className},default:function(e,t){var n,r={},i=e.className;if(i){for(var o=0,s=(n=i.split(this.__P_189_0)).length;o=0;r--)n[t[r].name]=t[r].value;t=n}var i={};if(t.style){t.style.split(/;/).forEach((function(e){var t=e.indexOf(":"),n=e.substring(0,t),r=e.substring(t+1).trim();n&&(i[n]=r)}));delete t.style}var o=t["data-qx-classname"];if(o)qx.Class.getByName(o)}var s=this.__P_176_0[e];if(s)for(r=s.length-1;r>-1;r--){var a=s[r];if(a.classname&&qx.Class.getByName(a.classname)===a)return new a(e,i,t);var u=a(e,i,t);if(u)return u}return new qx.html.Element(e,i,t)}}});qx.html.Factory.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.core.Init":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.core.Id",{extend:qx.core.Object,type:"singleton",members:{__P_142_0:null,__P_142_1:null,_createQxObject:function(e){return this._createQxObjectImpl(e)},_createQxObjectImpl:function(e){if(this.__P_142_0){var t=this.__P_142_0[e];if(void 0!==t)return t}if("application"===e)return qx.core.Init.getApplication()||void 0},getAbsoluteIdOf:function(e,t){if(this.__P_142_1&&this.__P_142_1[e.toHashCode()])return e.getQxObjectId();for(var n=[],r=qx.core.Init.getApplication();e;){var i=e.getQxObjectId();if(!i){t||this.error("Cannot determine an absolute Object ID because one of the ancestor ObjectID's is null (got as far as "+n.join("/")+")");return null}n.unshift(i);var o=e.getQxOwner();if(!o){t||this.error("Cannot determine a global absolute Object ID because the topmost object is not registered");return null}var s=null;if(s=o===r?"application":this.__P_142_1&&this.__P_142_1[o.toHashCode()]||null){n.unshift(s);break}e=o}return n.join("/")},register:function(e,t){if(!this.__P_142_0){this.__P_142_0={};this.__P_142_1={}}t||(t=e.getQxObjectId());this.__P_142_0[t]=e;this.__P_142_1[e.toHashCode()]=t;e._cascadeQxObjectIdChanges()},unregister:function(e){if(!this.__P_142_0)return!1;var t;if("string"==typeof e)t=e;else{var n=e.toHashCode();if(!(t=this.__P_142_1[n]))return!1}var r=this.__P_142_0[t];if(r){delete this.__P_142_0[t];delete this.__P_142_1[r.toHashCode()];r._cascadeQxObjectIdChanges();return!0}return!1},getRegisteredObjects:function(){return this.__P_142_0}},statics:{getQxObject:function(e){return this.getInstance().getQxObject(e)},getAbsoluteIdOf:function(e,t){return this.getInstance().getAbsoluteIdOf(e,t)}}});qx.core.Id.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.UserAction":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.lang.Function":{construct:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.bom.Event":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.event.type.Mouse":{},"qx.event.type.MouseWheel":{},"qx.event.type.Data":{},"qx.bom.client.Event":{},"qx.bom.client.Engine":{require:!0},"qx.dom.Hierarchy":{}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"},"engine.name":{className:"qx.bom.client.Engine",load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Mouse",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this.__P_146_0=e;this.__P_146_1=e.getWindow();this.__P_146_2=this.__P_146_1.document;this.__P_146_3=qx.lang.Function.listener(this._onNative,this);this._initButtonObserver();this._initMoveObserver();this._initWheelObserver()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{auxclick:1,click:1,contextmenu:1,dblclick:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,mousewheel:1},NON_BUBBLING_EVENTS:{mouseenter:!0,mouseleave:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT+qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:!0},members:{__P_146_4:null,__P_146_5:null,__P_146_6:null,__P_146_7:null,__P_146_8:null,__P_146_0:null,__P_146_1:null,__P_146_2:null,__P_146_9:null,__P_146_3:null,canHandleEvent:function(e,t){},registerEvent:function(e,t,n){qx.event.handler.Mouse.NON_BUBBLING_EVENTS[t]?qx.bom.Event.addNativeListener(e,t,this.__P_146_3):"ios"===qx.core.Environment.get("os.name")&&(e["on"+t]=function(){return null})},unregisterEvent:function(e,t,n){qx.event.handler.Mouse.NON_BUBBLING_EVENTS[t]?qx.bom.Event.removeNativeListener(e,t,this.__P_146_3):"ios"===qx.core.Environment.get("os.name")&&(e["on"+t]=void 0)},_onNative:qx.event.GlobalError.observeMethod((function(e){var t=qx.bom.Event.getTarget(e);qx.event.Registration.fireNonBubblingEvent(t,e.type,qx.event.type.Mouse,[e,t,void 0,void 0,e.cancelable])})),__P_146_10:function(e,t,n){n||(n=qx.bom.Event.getTarget(e));n&&n.nodeType&&qx.event.Registration.fireEvent(n,t||e.type,"mousewheel"==t?qx.event.type.MouseWheel:qx.event.type.Mouse,[e,n,null,!0,!0]);qx.event.Registration.fireEvent(this.__P_146_1,"useraction",qx.event.type.Data,[t||e.type])},preventNextClick:function(){this.__P_146_9=!0},_initButtonObserver:function(){this.__P_146_4=qx.lang.Function.listener(this._onButtonEvent,this);var e=qx.bom.Event;e.addNativeListener(this.__P_146_2,"mousedown",this.__P_146_4);e.addNativeListener(this.__P_146_2,"mouseup",this.__P_146_4);e.addNativeListener(this.__P_146_2,"click",this.__P_146_4);e.addNativeListener(this.__P_146_2,"auxclick",this.__P_146_4);e.addNativeListener(this.__P_146_2,"dblclick",this.__P_146_4);e.addNativeListener(this.__P_146_2,"contextmenu",this.__P_146_4)},_initMoveObserver:function(){this.__P_146_5=qx.lang.Function.listener(this._onMoveEvent,this);var e=qx.bom.Event;e.addNativeListener(this.__P_146_2,"mousemove",this.__P_146_5);e.addNativeListener(this.__P_146_2,"mouseout",this.__P_146_5);e.addNativeListener(this.__P_146_2,"mouseover",this.__P_146_5)},_initWheelObserver:function(){this.__P_146_6=qx.lang.Function.listener(this._onWheelEvent,this);var e=qx.bom.client.Event.getMouseWheel(this.__P_146_1);qx.bom.Event.addNativeListener(e.target,e.type,this.__P_146_6)},_stopButtonObserver:function(){var e=qx.bom.Event;e.removeNativeListener(this.__P_146_2,"mousedown",this.__P_146_4);e.removeNativeListener(this.__P_146_2,"mouseup",this.__P_146_4);e.removeNativeListener(this.__P_146_2,"click",this.__P_146_4);e.removeNativeListener(this.__P_146_2,"dblclick",this.__P_146_4);e.removeNativeListener(this.__P_146_2,"contextmenu",this.__P_146_4)},_stopMoveObserver:function(){var e=qx.bom.Event;e.removeNativeListener(this.__P_146_2,"mousemove",this.__P_146_5);e.removeNativeListener(this.__P_146_2,"mouseover",this.__P_146_5);e.removeNativeListener(this.__P_146_2,"mouseout",this.__P_146_5)},_stopWheelObserver:function(){var e=qx.bom.client.Event.getMouseWheel(this.__P_146_1);qx.bom.Event.removeNativeListener(e.target,e.type,this.__P_146_6)},_onMoveEvent:qx.event.GlobalError.observeMethod((function(e){this.__P_146_10(e)})),_onButtonEvent:qx.event.GlobalError.observeMethod((function(e){var t=e.type,n=qx.bom.Event.getTarget(e);if("click"==t&&this.__P_146_9)delete this.__P_146_9;else{"gecko"!=qx.core.Environment.get("engine.name")&&"webkit"!=qx.core.Environment.get("engine.name")||n&&3==n.nodeType&&(n=n.parentNode);var r=qx.event.handler.DragDrop&&this.__P_146_0.getHandler(qx.event.handler.DragDrop).isSessionActive();if(!r||"click"!=t){this.__P_146_11&&this.__P_146_11(e,t,n);this.__P_146_10(e,t,n);"auxclick"==t&&1==e.button&&this.__P_146_10(e,"click",n);this.__P_146_12&&this.__P_146_12(e,t,n);this.__P_146_13&&!r&&this.__P_146_13(e,t,n);this.__P_146_7=t}}})),_onWheelEvent:qx.event.GlobalError.observeMethod((function(e){this.__P_146_10(e,"mousewheel")})),__P_146_12:qx.core.Environment.select("engine.name",{opera:function(e,t,n){"mouseup"==t&&2==e.button&&this.__P_146_10(e,"contextmenu",n)},default:null}),__P_146_11:qx.core.Environment.select("engine.name",{mshtml:function(e,t,n){void 0===e.target&&("mouseup"==t&&"click"==this.__P_146_7?this.__P_146_10(e,"mousedown",n):"dblclick"==t&&this.__P_146_10(e,"click",n))},default:null}),__P_146_13:qx.core.Environment.select("engine.name",{mshtml:null,default:function(e,t,n){switch(t){case"mousedown":this.__P_146_8=n;break;case"mouseup":if(n!==this.__P_146_8){var r=qx.dom.Hierarchy.getCommonParent(n,this.__P_146_8);r&&this.__P_146_10(e,"click",r)}}}})},destruct:function(){this._stopButtonObserver();this._stopMoveObserver();this._stopWheelObserver();this.__P_146_0=this.__P_146_1=this.__P_146_2=this.__P_146_8=null},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Mouse.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.core.ObjectRegistry":{},"qx.lang.Function":{},"qx.bom.Event":{},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.event.type.Native":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Element",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this._manager=e;this._registeredEvents={}},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{abort:!0,load:!0,scroll:!0,select:!0,reset:!0,submit:!0},CANCELABLE:{selectstart:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!1},members:{canHandleEvent:function(e,t){return"load"!==t||"iframe"!==e.tagName.toLowerCase()},registerEvent:function(e,t,n){var r=qx.core.ObjectRegistry.toHashCode(e)+"-"+t,i=qx.lang.Function.listener(this._onNative,this,r);qx.bom.Event.addNativeListener(e,t,i);this._registeredEvents[r]={element:e,type:t,listener:i}},unregisterEvent:function(e,t,n){if(this._registeredEvents){var r=qx.core.ObjectRegistry.toHashCode(e)+"-"+t,i=this._registeredEvents[r];i&&qx.bom.Event.removeNativeListener(e,t,i.listener);delete this._registeredEvents[r]}},_onNative:qx.event.GlobalError.observeMethod((function(e,t){var n=this._registeredEvents;if(n){var r=n[t],i=e.cancelable||this.constructor.CANCELABLE[r.type];qx.event.Registration.fireNonBubblingEvent(r.element,r.type,qx.event.type.Native,[e,void 0,void 0,void 0,i])}}))},destruct:function(){var e,t=this._registeredEvents;for(var n in t){e=t[n];qx.bom.Event.removeNativeListener(e.element,e.type,e.listener)}this._manager=this._registeredEvents=null},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Element.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.core.ObjectRegistry":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.event.Utils":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Appear",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this.__P_141_0=e;this.__P_141_1={};qx.event.handler.Appear.__P_141_2[this.toHashCode()]=this},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{appear:!0,disappear:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!0,__P_141_2:{},refresh:function(){var e=this.__P_141_2;for(var t in e)e[t].refresh()}},members:{__P_141_0:null,__P_141_1:null,canHandleEvent:function(e,t){},registerEvent:function(e,t,n){var r=qx.core.ObjectRegistry.toHashCode(e)+t,i=this.__P_141_1;if(i&&!i[r]){i[r]=e;e.$$displayed=e.offsetWidth>0}},unregisterEvent:function(e,t,n){var r=qx.core.ObjectRegistry.toHashCode(e)+t,i=this.__P_141_1;i&&i[r]&&delete i[r]},refresh:function(){var e=this.__P_141_1,t="mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9,n={},r=this;Object.keys(e).forEach((function(i){var o=e[i];void 0!==o&&qx.event.Utils.then(n,(function(){var e=o.offsetWidth>0;!e&&t&&(e=o.offsetWidth>0);if(!!o.$$displayed!==e){o.$$displayed=e;var n=qx.event.Registration.createEvent(e?"appear":"disappear");return r.__P_141_0.dispatchEvent(o,n)}}))}));return n.promise}},destruct:function(){this.__P_141_0=this.__P_141_1=null;delete qx.event.handler.Appear.__P_141_2[this.toHashCode()]},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Appear.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.lang.Function":{},"qx.bom.Event":{},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.Viewport":{},"qx.event.type.Orientation":{}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Orientation",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this.__P_179_0=e;this.__P_179_1=e.getWindow();this._initObserver()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{orientationchange:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:!0},members:{__P_179_0:null,__P_179_1:null,__P_179_2:null,_currentOrientation:null,__P_179_3:null,canHandleEvent:function(e,t){},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){},_initObserver:function(){this.__P_179_3=qx.lang.Function.listener(this._onNative,this);this.__P_179_2=qx.bom.Event.supportsEvent(this.__P_179_1,"orientationchange")?"orientationchange":"resize";qx.bom.Event.addNativeListener(this.__P_179_1,this.__P_179_2,this.__P_179_3)},_stopObserver:function(){qx.bom.Event.removeNativeListener(this.__P_179_1,this.__P_179_2,this.__P_179_3)},_onNative:qx.event.GlobalError.observeMethod((function(e){var t=0;"android"==qx.core.Environment.get("os.name")&&(t=300);qx.lang.Function.delay(this._onOrientationChange,t,this,e)})),_onOrientationChange:function(e){var t=qx.bom.Viewport,n=t.getOrientation(e.target);if(this._currentOrientation!=n){this._currentOrientation=n;var r=t.isLandscape(e.target)?"landscape":"portrait";qx.event.Registration.fireEvent(this.__P_179_1,"orientationchange",qx.event.type.Orientation,[n,r])}}},destruct:function(){this._stopObserver();this.__P_179_0=this.__P_179_1=null},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Orientation.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Device":{require:!0},"qx.lang.Function":{},"qx.bom.client.Event":{require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.Event":{},"qx.bom.client.Browser":{require:!0},"qx.bom.element.Style":{}},environment:{provided:[],required:{"os.name":{load:!0,className:"qx.bom.client.OperatingSystem"},"device.touch":{load:!0,className:"qx.bom.client.Device"},"event.mspointer":{className:"qx.bom.client.Event"},"engine.version":{className:"qx.bom.client.Engine"},"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.handler.TouchCore",{extend:Object,implement:[qx.core.IDisposable],statics:{TAP_MAX_DISTANCE:"android"!=qx.core.Environment.get("os.name")?10:40,SWIPE_DIRECTION:{x:["left","right"],y:["up","down"]},SWIPE_MIN_DISTANCE:"android"!=qx.core.Environment.get("os.name")?11:41,SWIPE_MIN_VELOCITY:0,LONGTAP_TIME:qx.core.Environment.get("device.touch")?500:99999},construct:function(e,t){this.__P_180_0=e;this.__P_180_1=t;this._initTouchObserver();this.__P_180_2=[];this.__P_180_3={}},members:{__P_180_0:null,__P_180_1:null,__P_180_4:null,__P_180_5:null,__P_180_3:null,__P_180_6:null,__P_180_7:null,__P_180_8:null,__P_180_2:null,__P_180_9:null,_initTouchObserver:function(){this.__P_180_4=qx.lang.Function.listener(this._onTouchEvent,this);this.__P_180_9=["touchstart","touchmove","touchend","touchcancel"];if(qx.core.Environment.get("event.mspointer")){var e=parseInt(qx.core.Environment.get("engine.version"),10);this.__P_180_9=10==e?["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerCancel"]:["pointerdown","pointermove","pointerup","pointercancel"]}for(var t=0;t1){this.__P_180_7=this._getScalingDistance(e.touches[0],e.touches[1]);this.__P_180_8=this._getRotationAngle(e.touches[0],e.touches[1])}for(var r=0;r1){var o=this._getScalingDistance(e.targetTouches[0],e.targetTouches[1]);e.scale=o/this.__P_180_7}if((void 0===e.rotation||qx.core.Environment.get("event.mspointer"))&&e.targetTouches.length>1){var s=this._getRotationAngle(e.targetTouches[0],e.targetTouches[1]);e._rotation=s-this.__P_180_8}e.delta=this._calcTouchesDelta(e.targetTouches)}this._fireEvent(e,t,this.__P_180_5);qx.core.Environment.get("event.mspointer")&&("touchend"!=t&&"touchcancel"!=t||delete this.__P_180_2[e.pointerId]);"touchend"!=t&&"touchcancel"!=t||!e.changedTouches[0]||delete this.__P_180_3[e.changedTouches[0].identifier]},_detectTouchesByPointer:function(e,t){var n=[];("touchstart"==t||"touchmove"==t)&&(this.__P_180_2[e.pointerId]=e);for(var r in this.__P_180_2){var i=this.__P_180_2[r];n.push(i)}return n},_mapPointerEvent:function(e){return-1!==(e=e.toLowerCase()).indexOf("pointerdown")?"touchstart":-1!==e.indexOf("pointerup")?"touchend":-1!==e.indexOf("pointermove")?"touchmove":-1!==e.indexOf("pointercancel")?"touchcancel":e},_getTarget:function(e){var t=qx.bom.Event.getTarget(e);if("webkit"==qx.core.Environment.get("engine.name"))t&&3==t.nodeType&&(t=t.parentNode);else if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<11){var n=this.__P_180_10(e);n&&(t=n)}return t},__P_180_10:function(e){var t=null,n=null;if(e&&e.touches&&0!==e.touches.length){t=e.touches[0].clientX;n=e.touches[0].clientY}var r=document.msElementsFromPoint(t,n);if(r)for(var i=0;i=9&&qx.core.Environment.get("browser.documentmode")<9)){if(!e.__P_149_4){var r=e.tagName.toLowerCase(),i=e.type;"text"!==i&&"password"!==i&&"textarea"!==r&&"checkbox"!==i&&"radio"!==i||qx.bom.Event.addNativeListener(e,"propertychange",this._onPropertyWrapper);"checkbox"!==i&&"radio"!==i&&qx.bom.Event.addNativeListener(e,"change",this._onChangeValueWrapper);if("text"===i||"password"===i){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,e);qx.bom.Event.addNativeListener(e,"keypress",this._onKeyPressWrapped)}e.__P_149_4=!0}}else if("input"===t)this.__P_149_5(e);else if("change"===t){"radio"===e.type||"checkbox"===e.type?qx.bom.Event.addNativeListener(e,"change",this._onChangeCheckedWrapper):qx.bom.Event.addNativeListener(e,"change",this._onChangeValueWrapper);if(!("opera"!=qx.core.Environment.get("engine.name")&&"mshtml"!=qx.core.Environment.get("engine.name")||"text"!==e.type&&"password"!==e.type)){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,e);qx.bom.Event.addNativeListener(e,"keypress",this._onKeyPressWrapped)}}},__P_149_5:qx.core.Environment.select("engine.name",{mshtml:function(e){if(qx.core.Environment.get("engine.version")>=9&&qx.core.Environment.get("browser.documentmode")>=9){qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper);if("text"===e.type||"password"===e.type||"textarea"===e.type){this._inputFixWrapper=qx.lang.Function.listener(this._inputFix,this,e);qx.bom.Event.addNativeListener(e,"keyup",this._inputFixWrapper)}}},webkit:function(e){var t=e.tagName.toLowerCase();parseFloat(qx.core.Environment.get("engine.version"))<532&&"textarea"==t&&qx.bom.Event.addNativeListener(e,"keypress",this._onInputWrapper);qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper)},opera:function(e){qx.bom.Event.addNativeListener(e,"keyup",this._onKeyUpWrapper);qx.bom.Event.addNativeListener(e,"keydown",this._onKeyDownWrapper);qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper)},default:function(e){qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper)}}),unregisterEvent:function(e,t){if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("engine.version")<9&&qx.core.Environment.get("browser.documentmode")<9){if(e.__P_149_4){var n=e.tagName.toLowerCase(),r=e.type;"text"!==r&&"password"!==r&&"textarea"!==n&&"checkbox"!==r&&"radio"!==r||qx.bom.Event.removeNativeListener(e,"propertychange",this._onPropertyWrapper);"checkbox"!==r&&"radio"!==r&&qx.bom.Event.removeNativeListener(e,"change",this._onChangeValueWrapper);"text"!==r&&"password"!==r||qx.bom.Event.removeNativeListener(e,"keypress",this._onKeyPressWrapped);try{delete e.__P_149_4}catch(t){e.__P_149_4=null}}}else{"input"===t?this.__P_149_6(e):"change"===t&&("radio"===e.type||"checkbox"===e.type?qx.bom.Event.removeNativeListener(e,"change",this._onChangeCheckedWrapper):qx.bom.Event.removeNativeListener(e,"change",this._onChangeValueWrapper));"opera"!=qx.core.Environment.get("engine.name")&&"mshtml"!=qx.core.Environment.get("engine.name")||"text"!==e.type&&"password"!==e.type||qx.bom.Event.removeNativeListener(e,"keypress",this._onKeyPressWrapped)}},__P_149_6:qx.core.Environment.select("engine.name",{mshtml:function(e){if(qx.core.Environment.get("engine.version")>=9&&qx.core.Environment.get("browser.documentmode")>=9){qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper);"text"!==e.type&&"password"!==e.type&&"textarea"!==e.type||qx.bom.Event.removeNativeListener(e,"keyup",this._inputFixWrapper)}},webkit:function(e){var t=e.tagName.toLowerCase();parseFloat(qx.core.Environment.get("engine.version"))<532&&"textarea"==t&&qx.bom.Event.removeNativeListener(e,"keypress",this._onInputWrapper);qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper)},opera:function(e){qx.bom.Event.removeNativeListener(e,"keyup",this._onKeyUpWrapper);qx.bom.Event.removeNativeListener(e,"keydown",this._onKeyDownWrapper);qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper)},default:function(e){qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper)}}),_onKeyPress:qx.core.Environment.select("engine.name",{mshtml:function(e,t){if(13===e.keyCode&&t.value!==this.__P_149_2){this.__P_149_2=t.value;qx.event.Registration.fireEvent(t,"change",qx.event.type.Data,[t.value])}},opera:function(e,t){if(13===e.keyCode&&t.value!==this.__P_149_2){this.__P_149_2=t.value;qx.event.Registration.fireEvent(t,"change",qx.event.type.Data,[t.value])}},default:null}),_inputFix:qx.core.Environment.select("engine.name",{mshtml:function(e,t){if((46===e.keyCode||8===e.keyCode)&&t.value!==this.__P_149_3){this.__P_149_3=t.value;qx.event.Registration.fireEvent(t,"input",qx.event.type.Data,[t.value])}},default:null}),_onKeyDown:qx.core.Environment.select("engine.name",{opera:function(e){13===e.keyCode&&(this.__P_149_0=!0)},default:null}),_onKeyUp:qx.core.Environment.select("engine.name",{opera:function(e){13===e.keyCode&&(this.__P_149_0=!1)},default:null}),_onInput:qx.event.GlobalError.observeMethod((function(e){var t=qx.bom.Event.getTarget(e),n=t.tagName.toLowerCase();this.__P_149_0&&"input"===n||("opera"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.version")<10.6?this.__P_149_1=window.setTimeout((function(){qx.event.Registration.fireEvent(t,"input",qx.event.type.Data,[t.value])}),0):qx.event.Registration.fireEvent(t,"input",qx.event.type.Data,[t.value]))})),_onChangeValue:qx.event.GlobalError.observeMethod((function(e){var t=qx.bom.Event.getTarget(e),n=t.value;if("select-multiple"===t.type){n=[];for(var r=0,i=t.options,o=i.length;r0){u=h[i];for(var f=0,_=a.length;f<_;f++){c=a[f];n.addListener(u,c.type,c.handler,c.self,c.capture)}}}}return s}}});qx.bom.Element.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.dom.Node":{},"qx.bom.client.Html":{require:!0},"qx.lang.Array":{}},environment:{provided:[],required:{"html.element.contains":{className:"qx.bom.client.Html"},"html.element.compareDocumentPosition":{className:"qx.bom.client.Html"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.dom.Hierarchy",{statics:{getNodeIndex:function(e){for(var t=0;e&&(e=e.previousSibling);)t++;return t},getElementIndex:function(e){for(var t=0,n=qx.dom.Node.ELEMENT;e&&(e=e.previousSibling);)e.nodeType==n&&t++;return t},getNextElementSibling:function(e){for(;e&&(e=e.nextSibling)&&!qx.dom.Node.isElement(e););return e||null},getPreviousElementSibling:function(e){for(;e&&(e=e.previousSibling)&&!qx.dom.Node.isElement(e););return e||null},contains:function(e,t){if(qx.core.Environment.get("html.element.contains")){if(qx.dom.Node.isDocument(e)){var n=qx.dom.Node.getDocument(t);return e&&n==e}return!qx.dom.Node.isDocument(t)&&e.contains(t)}if(qx.core.Environment.get("html.element.compareDocumentPosition"))return!!(16&e.compareDocumentPosition(t));for(;t;){if(e==t)return!0;t=t.parentNode}return!1},isRendered:function(e){var t=e.ownerDocument||e.document;if(qx.core.Environment.get("html.element.contains"))return!!e.parentNode&&t.body.contains(e);if(qx.core.Environment.get("html.element.compareDocumentPosition"))return!!(16&t.compareDocumentPosition(e));for(;e;){if(e==t.body)return!0;e=e.parentNode}return!1},isDescendantOf:function(e,t){return this.contains(t,e)},getCommonParent:function(e,t){if(e===t)return e;if(qx.core.Environment.get("html.element.contains")){for(;e&&qx.dom.Node.isElement(e);){if(e.contains(t))return e;e=e.parentNode}return null}for(var n=[];e||t;){if(e){if(n.includes(e))return e;n.push(e);e=e.parentNode}if(t){if(n.includes(t))return t;n.push(t);t=t.parentNode}}return null},getAncestors:function(e){return this._recursivelyCollect(e,"parentNode")},getChildElements:function(e){if(!(e=e.firstChild))return[];var t=this.getNextSiblings(e);1===e.nodeType&&t.unshift(e);return t},getDescendants:function(e){return qx.lang.Array.fromCollection(e.getElementsByTagName("*"))},getFirstDescendant:function(e){e=e.firstChild;for(;e&&1!=e.nodeType;)e=e.nextSibling;return e},getLastDescendant:function(e){e=e.lastChild;for(;e&&1!=e.nodeType;)e=e.previousSibling;return e},getPreviousSiblings:function(e){return this._recursivelyCollect(e,"previousSibling")},getNextSiblings:function(e){return this._recursivelyCollect(e,"nextSibling")},_recursivelyCollect:function(e,t){for(var n=[];e=e[t];)1==e.nodeType&&n.push(e);return n},getSiblings:function(e){return this.getPreviousSiblings(e).reverse().concat(this.getNextSiblings(e))},isEmpty:function(e){e=e.firstChild;for(;e;){if(e.nodeType===qx.dom.Node.ELEMENT||e.nodeType===qx.dom.Node.TEXT)return!1;e=e.nextSibling}return!0},cleanWhitespace:function(e){for(var t=e.firstChild;t;){var n=t.nextSibling;3!=t.nodeType||/\S/.test(t.nodeValue)||e.removeChild(t);t=n}}}});qx.dom.Hierarchy.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.bom.client.Engine":{require:!0},"qx.dom.Node":{},"qx.bom.Viewport":{},"qx.bom.element.Location":{},"qx.event.Registration":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.element.Scroll",{statics:{__P_140_0:null,getScrollbarWidth:function(){if(null!==this.__P_140_0)return this.__P_140_0;var e=qx.bom.element.Style,t=function(t,n){return parseInt(e.get(t,n),10)||0},n=function(n){return"none"==e.get(n,"borderRightStyle")?0:t(n,"borderRightWidth")},r=qx.core.Environment.select("engine.name",{mshtml:function(t){return"hidden"==e.get(t,"overflowY")||0==t.clientWidth?n(t):Math.max(0,t.offsetWidth-t.clientLeft-t.clientWidth)},default:function(r){if(0==r.clientWidth){var i=e.get(r,"overflow"),o="scroll"==i||"-moz-scrollbars-vertical"==i?16:0;return Math.max(0,n(r)+o)}return Math.max(0,r.offsetWidth-r.clientWidth-function(n){return"none"==e.get(n,"borderLeftStyle")?0:t(n,"borderLeftWidth")}(r))}}),i=document.createElement("div"),o=i.style;o.height=o.width="100px";o.overflow="scroll";document.body.appendChild(i);var s,a=r(s=i)-n(s);this.__P_140_0=a;document.body.removeChild(i);return this.__P_140_0},intoViewX:function(e,t,n){var r,i,o,s,a,u,l,c,h,d,f,_,p,m,g,v=e.parentNode,b=qx.dom.Node.getDocument(e),y=b.body,x="left"===n,w="right"===n;t=t?t.parentNode:b;for(;v&&v!=t;){if(v.scrollWidth>v.clientWidth&&(v===y||"visible"!=qx.bom.element.Style.get(v,"overflowY"))){if(v===y){o=(i=v.scrollLeft)+qx.bom.Viewport.getWidth();s=qx.bom.Viewport.getWidth();a=v.clientWidth;v.scrollWidth;u=0;l=0;c=0}else{i=(r=qx.bom.element.Location.get(v)).left;o=r.right;s=v.offsetWidth;a=v.clientWidth;v.scrollWidth;c=s-a-(u=parseInt(qx.bom.element.Style.get(v,"borderLeftWidth"),10)||0)-(l=parseInt(qx.bom.element.Style.get(v,"borderRightWidth"),10)||0)}d=(h=qx.bom.element.Location.get(e)).left;f=h.right;_=e.offsetWidth;p=d-i-u;m=f-o+l;g=0;x?g=p:w?g=m+c:p<0||_>a?g=p:m>0&&(g=m+c);v.scrollLeft+=g;qx.event.Registration.fireNonBubblingEvent(v,"scroll")}if(v===y)break;v=v.parentNode}},intoViewY:function(e,t,n){var r,i,o,s,a,u,l,c,h,d,f,_,p,m,g,v=e.parentNode,b=qx.dom.Node.getDocument(e),y=b.body,x="top"===n,w="bottom"===n;t=t?t.parentNode:b;for(;v&&v!=t;){if(v.scrollHeight>v.clientHeight&&(v===y||"visible"!=qx.bom.element.Style.get(v,"overflowY"))){if(v===y){o=(i=v.scrollTop)+qx.bom.Viewport.getHeight();s=qx.bom.Viewport.getHeight();a=v.clientHeight;v.scrollHeight;u=0;l=0;c=0}else{i=(r=qx.bom.element.Location.get(v)).top;o=r.bottom;s=v.offsetHeight;a=v.clientHeight;v.scrollHeight;c=s-a-(u=parseInt(qx.bom.element.Style.get(v,"borderTopWidth"),10)||0)-(l=parseInt(qx.bom.element.Style.get(v,"borderBottomWidth"),10)||0)}d=(h=qx.bom.element.Location.get(e)).top;f=h.bottom;_=e.offsetHeight;p=d-i-u;m=f-o+l;g=0;x?g=p:w?g=m+c:p<0||_>a?g=p:m>0&&(g=m+c);v.scrollTop+=g;qx.event.Registration.fireNonBubblingEvent(v,"scroll")}if(v===y)break;v=v.parentNode}},intoView:function(e,t,n,r){this.intoViewX(e,t,n);this.intoViewY(e,t,r)}}});qx.bom.element.Scroll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Html":{require:!0},"qx.dom.Node":{},"qx.bom.Range":{},"qx.util.StringSplit":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"html.selection":{load:!0,className:"qx.bom.client.Html"},"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Selection",{statics:{getSelectionObject:qx.core.Environment.select("html.selection",{selection:function(e){return e.selection},default:function(e){return qx.dom.Node.getWindow(e).getSelection()}}),get:qx.core.Environment.select("html.selection",{selection:function(e){return qx.bom.Range.get(qx.dom.Node.getDocument(e)).text},default:function(e){return this.__P_119_0(e)?e.value.substring(e.selectionStart,e.selectionEnd):this.getSelectionObject(qx.dom.Node.getDocument(e)).toString()}}),getLength:qx.core.Environment.select("html.selection",{selection:function(e){var t=this.get(e),n=qx.util.StringSplit.split(t,/\r\n/);return t.length-(n.length-1)},default:function(e){if("opera"==qx.core.Environment.get("engine.name")){var t,n;if(this.__P_119_0(e)){var r=e.selectionStart,i=e.selectionEnd;t=e.value.substring(r,i);n=i-r}else n=(t=qx.bom.Selection.get(e)).length;return n-(qx.util.StringSplit.split(t,/\r\n/).length-1)}return this.__P_119_0(e)?e.selectionEnd-e.selectionStart:this.get(e).length}}),getStart:qx.core.Environment.select("html.selection",{selection:function(e){if(this.__P_119_0(e)){var t=qx.bom.Range.get();if(!e.contains(t.parentElement()))return-1;var n=qx.bom.Range.get(e),r=e.value.length;n.moveToBookmark(t.getBookmark());n.moveEnd("character",r);return r-n.text.length}var i=(n=qx.bom.Range.get(e)).parentElement(),o=qx.bom.Range.get();try{o.moveToElementText(i)}catch(e){return 0}var s,a=qx.bom.Range.get(qx.dom.Node.getBodyElement(e));a.setEndPoint("StartToStart",n);a.setEndPoint("EndToEnd",o);if(0==o.compareEndPoints("StartToStart",a))return 0;for(var u=0;;){s=a.moveStart("character",-1);if(0==o.compareEndPoints("StartToStart",a))break;if(0==s)break;u++}return++u},default:function(e){if("gecko"===qx.core.Environment.get("engine.name")||"webkit"===qx.core.Environment.get("engine.name")){if(this.__P_119_0(e))return e.selectionStart;var t=qx.dom.Node.getDocument(e),n=this.getSelectionObject(t);return n.anchorOffsetn.anchorOffset?n.focusOffset:n.anchorOffset}return this.__P_119_0(e)?e.selectionEnd:qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(e)).focusOffset}}),__P_119_0:function(e){return qx.dom.Node.isElement(e)&&("input"==e.nodeName.toLowerCase()||"textarea"==e.nodeName.toLowerCase())},set:qx.core.Environment.select("html.selection",{selection:function(e,t,n){var r;qx.dom.Node.isDocument(e)&&(e=e.body);if(qx.dom.Node.isElement(e)||qx.dom.Node.isText(e))switch(e.nodeName.toLowerCase()){case"input":case"textarea":case"button":void 0===n&&(n=e.value.length);if(t>=0&&t<=e.value.length&&n>=0&&n<=e.value.length){(r=qx.bom.Range.get(e)).collapse(!0);r.moveStart("character",t);r.moveEnd("character",n-t);r.select();return!0}break;case"#text":void 0===n&&(n=e.nodeValue.length);if(t>=0&&t<=e.nodeValue.length&&n>=0&&n<=e.nodeValue.length){(r=qx.bom.Range.get(qx.dom.Node.getBodyElement(e))).moveToElementText(e.parentNode);r.collapse(!0);r.moveStart("character",t);r.moveEnd("character",n-t);r.select();return!0}break;default:void 0===n&&(n=e.childNodes.length-1);if(e.childNodes[t]&&e.childNodes[n]){(r=qx.bom.Range.get(qx.dom.Node.getBodyElement(e))).moveToElementText(e.childNodes[t]);r.collapse(!0);var i=qx.bom.Range.get(qx.dom.Node.getBodyElement(e));i.moveToElementText(e.childNodes[n]);r.setEndPoint("EndToEnd",i);r.select();return!0}}return!1},default:function(e,t,n){var r=e.nodeName.toLowerCase();if(!qx.dom.Node.isElement(e)||"input"!=r&&"textarea"!=r){var i=!1,o=qx.dom.Node.getWindow(e).getSelection(),s=qx.bom.Range.get(e);if(qx.dom.Node.isText(e)){void 0===n&&(n=e.length);t>=0&&t=0&&n<=e.length&&(i=!0)}else if(qx.dom.Node.isElement(e)){void 0===n&&(n=e.childNodes.length-1);t>=0&&e.childNodes[t]&&n>=0&&e.childNodes[n]&&(i=!0)}else if(qx.dom.Node.isDocument(e)){e=e.body;void 0===n&&(n=e.childNodes.length-1);t>=0&&e.childNodes[t]&&n>=0&&e.childNodes[n]&&(i=!0)}if(i){o.isCollapsed||o.collapseToStart();s.setStart(e,t);qx.dom.Node.isText(e)?s.setEnd(e,n):s.setEndAfter(e.childNodes[n]);o.rangeCount>0&&o.removeAllRanges();o.addRange(s);return!0}}else{void 0===n&&(n=e.value.length);if(t>=0&&t<=e.value.length&&n>=0&&n<=e.value.length){e.focus();e.select();try{e.setSelectionRange(t,n)}catch(e){}return!0}}return!1}}),setAll:function(e){return qx.bom.Selection.set(e,0)},clear:qx.core.Environment.select("html.selection",{selection:function(e){var t=qx.bom.Range.get(e).parentElement(),n=qx.bom.Range.get(qx.dom.Node.getDocument(e));qx.dom.Node.isText(e)&&(e=e.parentNode);if(t==n.parentElement()&&t==e){qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(e)).empty()}},default:function(e){var t=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(e)),n=e.nodeName.toLowerCase();if(!qx.dom.Node.isElement(e)||"input"!=n&&"textarea"!=n)if(qx.dom.Node.isDocument(e)||"body"==n)t.collapse(e.body?e.body:e,0);else{var r=qx.bom.Range.get(e);if(!r.collapsed){var i=r.commonAncestorContainer;(qx.dom.Node.isElement(e)&&qx.dom.Node.isText(i)?i.parentNode:i)==e&&t.collapse(e,0)}}else{try{e.setSelectionRange(0,0)}catch(e){}qx.bom.Element&&qx.bom.Element.blur&&qx.bom.Element.blur(e)}}})}});qx.bom.Selection.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.dispatch.DomBubbling":{defer:"runtime"},"qx.core.Environment":{defer:"load",construct:!0,usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.OperatingSystem":{construct:!0,require:!0},"qx.core.Init":{construct:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.Selection":{},"qx.event.type.Focus":{},"qx.lang.Function":{},"qx.bom.Event":{},"qx.bom.client.Browser":{require:!0},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{},"qx.bom.element.Attribute":{}},environment:{provided:[],required:{"os.name":{construct:!0,className:"qx.bom.client.OperatingSystem"},"os.version":{construct:!0,className:"qx.bom.client.OperatingSystem"},"engine.name":{load:!0,className:"qx.bom.client.Engine"},"browser.name":{load:!0,className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Focus",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this._manager=e;this._window=e.getWindow();this._document=this._window.document;this._root=this._document.documentElement;this._body=this._document.body;"ios"==qx.core.Environment.get("os.name")&&parseFloat(qx.core.Environment.get("os.version"))>6&&parseFloat(qx.core.Environment.get("os.version"))<15&&(!qx.application.Inline||!qx.core.Init.getApplication()instanceof qx.application.Inline)&&(this.__P_44_0=!0);this._initObserver()},properties:{active:{apply:"_applyActive",nullable:!0},focus:{apply:"_applyFocus",nullable:!0}},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{focus:1,blur:1,focusin:1,focusout:1,activate:1,deactivate:1},IGNORE_CAN_HANDLE:!0,FOCUSABLE_ELEMENTS:qx.core.Environment.select("engine.name",{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:{__P_44_1:null,__P_44_2:null,__P_44_3:null,__P_44_4:null,__P_44_5:null,__P_44_6:null,__P_44_7:null,__P_44_8:null,__P_44_9:null,__P_44_10:null,__P_44_11:"",__P_44_12:"",__P_44_0:!1,__P_44_13:null,canHandleEvent:function(e,t){},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){},focus:function(e){"mshtml"==qx.core.Environment.get("engine.name")?window.setTimeout((function(){try{e.focus();if(0==qx.bom.Selection.get(e).length&&"function"==typeof e.createTextRange){var t=e.createTextRange();t.moveStart("character",e.value.length);t.collapse();t.select()}}catch(e){}}),0):window.setTimeout((function(){try{e.focus()}catch(e){}}),0);this.setFocus(e);this.setActive(e)},activate:function(e){this.setActive(e)},blur:function(e){try{e.blur()}catch(e){}this.getActive()===e&&this.resetActive();this.getFocus()===e&&this.resetFocus()},deactivate:function(e){this.getActive()===e&&this.resetActive()},tryActivate:function(e){var t=this.__P_44_14(e);t&&this.setActive(t)},__P_44_15:function(e,t,n,r){var i=qx.event.Registration,o=i.createEvent(n,qx.event.type.Focus,[e,t,r]);return i.dispatchEvent(e,o)},_windowFocused:!0,__P_44_16:function(){if(this._windowFocused){this._windowFocused=!1;this.__P_44_15(this._window,null,"blur",!1)}},__P_44_17:function(){if(!this._windowFocused){this._windowFocused=!0;this.__P_44_15(this._window,null,"focus",!1)}},_initObserver:qx.core.Environment.select("engine.name",{gecko:function(){this.__P_44_1=qx.lang.Function.listener(this.__P_44_18,this);this.__P_44_2=qx.lang.Function.listener(this.__P_44_19,this);this.__P_44_3=qx.lang.Function.listener(this.__P_44_20,this);this.__P_44_4=qx.lang.Function.listener(this.__P_44_21,this);this.__P_44_5=qx.lang.Function.listener(this.__P_44_22,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_44_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_44_2,!0);qx.bom.Event.addNativeListener(this._window,"focus",this.__P_44_3,!0);qx.bom.Event.addNativeListener(this._window,"blur",this.__P_44_4,!0);qx.bom.Event.addNativeListener(this._window,"draggesture",this.__P_44_5,!0)},mshtml:function(){this.__P_44_1=qx.lang.Function.listener(this.__P_44_18,this);this.__P_44_2=qx.lang.Function.listener(this.__P_44_19,this);this.__P_44_7=qx.lang.Function.listener(this.__P_44_23,this);this.__P_44_8=qx.lang.Function.listener(this.__P_44_24,this);this.__P_44_6=qx.lang.Function.listener(this.__P_44_25,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_44_1);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_44_2);qx.bom.Event.addNativeListener(this._document,"focusin",this.__P_44_7);qx.bom.Event.addNativeListener(this._document,"focusout",this.__P_44_8);qx.bom.Event.addNativeListener(this._document,"selectstart",this.__P_44_6)},webkit:qx.core.Environment.select("browser.name",{edge:function(e){this.__P_44_1=qx.lang.Function.listener(this.__P_44_18,this);this.__P_44_2=qx.lang.Function.listener(this.__P_44_19,this);this.__P_44_8=qx.lang.Function.listener(this.__P_44_24,this);this.__P_44_7=qx.lang.Function.listener(this.__P_44_23,this);this.__P_44_6=qx.lang.Function.listener(this.__P_44_25,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_44_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_44_2,!0);qx.bom.Event.addNativeListener(this._document,"selectstart",this.__P_44_6,!1);qx.bom.Event.addNativeListener(this._document,"focusin",this.__P_44_7);qx.bom.Event.addNativeListener(this._document,"focusout",this.__P_44_8)},default:function(e){this.__P_44_1=qx.lang.Function.listener(this.__P_44_18,this);this.__P_44_2=qx.lang.Function.listener(this.__P_44_19,this);this.__P_44_8=qx.lang.Function.listener(this.__P_44_24,this);this.__P_44_3=qx.lang.Function.listener(this.__P_44_20,this);this.__P_44_4=qx.lang.Function.listener(this.__P_44_21,this);this.__P_44_6=qx.lang.Function.listener(this.__P_44_25,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_44_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_44_2,!0);qx.bom.Event.addNativeListener(this._document,"selectstart",this.__P_44_6,!1);qx.bom.Event.addNativeListener(this._window,"DOMFocusOut",this.__P_44_8,!0);qx.bom.Event.addNativeListener(this._window,"focus",this.__P_44_3,!0);qx.bom.Event.addNativeListener(this._window,"blur",this.__P_44_4,!0)}}),opera:function(){this.__P_44_1=qx.lang.Function.listener(this.__P_44_18,this);this.__P_44_2=qx.lang.Function.listener(this.__P_44_19,this);this.__P_44_7=qx.lang.Function.listener(this.__P_44_23,this);this.__P_44_8=qx.lang.Function.listener(this.__P_44_24,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_44_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_44_2,!0);qx.bom.Event.addNativeListener(this._window,"DOMFocusIn",this.__P_44_7,!0);qx.bom.Event.addNativeListener(this._window,"DOMFocusOut",this.__P_44_8,!0)}}),_stopObserver:qx.core.Environment.select("engine.name",{gecko:function(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_44_1,!0);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_44_2,!0);qx.bom.Event.removeNativeListener(this._window,"focus",this.__P_44_3,!0);qx.bom.Event.removeNativeListener(this._window,"blur",this.__P_44_4,!0);qx.bom.Event.removeNativeListener(this._window,"draggesture",this.__P_44_5,!0)},mshtml:function(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_44_1);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_44_2);qx.bom.Event.removeNativeListener(this._document,"focusin",this.__P_44_7);qx.bom.Event.removeNativeListener(this._document,"focusout",this.__P_44_8);qx.bom.Event.removeNativeListener(this._document,"selectstart",this.__P_44_6)},webkit:qx.core.Environment.select("browser.name",{edge:function(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_44_1);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_44_2);qx.bom.Event.removeNativeListener(this._document,"focusin",this.__P_44_7);qx.bom.Event.removeNativeListener(this._document,"focusout",this.__P_44_8);qx.bom.Event.removeNativeListener(this._document,"selectstart",this.__P_44_6)},default:function(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_44_1,!0);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_44_2,!0);qx.bom.Event.removeNativeListener(this._document,"selectstart",this.__P_44_6,!1);qx.bom.Event.removeNativeListener(this._window,"DOMFocusOut",this.__P_44_8,!0);qx.bom.Event.removeNativeListener(this._window,"focus",this.__P_44_3,!0);qx.bom.Event.removeNativeListener(this._window,"blur",this.__P_44_4,!0)}}),opera:function(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_44_1,!0);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_44_2,!0);qx.bom.Event.removeNativeListener(this._window,"DOMFocusIn",this.__P_44_7,!0);qx.bom.Event.removeNativeListener(this._window,"DOMFocusOut",this.__P_44_8,!0)}}),__P_44_22:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{gecko:function(e){var t=qx.bom.Event.getTarget(e);this.__P_44_26(t)||qx.bom.Event.preventDefault(e)},default:null})),__P_44_23:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml:function(e){this.__P_44_17();var t=qx.bom.Event.getTarget(e),n=this.__P_44_27(t);n&&this.setFocus(n);this.tryActivate(t)},webkit:qx.core.Environment.select("browser.name",{edge:function(e){this.__P_44_17();var t=qx.bom.Event.getTarget(e),n=this.__P_44_27(t);n&&this.setFocus(n);this.tryActivate(t)},default:null}),opera:function(e){var t=qx.bom.Event.getTarget(e);if(t==this._document||t==this._window){this.__P_44_17();if(this.__P_44_9){this.setFocus(this.__P_44_9);delete this.__P_44_9}if(this.__P_44_10){this.setActive(this.__P_44_10);delete this.__P_44_10}}else{this.setFocus(t);this.tryActivate(t);if(!this.__P_44_26(t)){t.selectionStart=0;t.selectionEnd=0}}},default:null})),__P_44_24:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml:function(e){if(null==qx.bom.Event.getRelatedTarget(e)){this.__P_44_16();this.resetFocus();this.resetActive()}},webkit:qx.core.Environment.select("browser.name",{edge:function(e){if(null==qx.bom.Event.getRelatedTarget(e)){this.__P_44_16();this.resetFocus();this.resetActive()}},default:function(e){var t=qx.bom.Event.getTarget(e);t===this.getFocus()&&this.resetFocus();t===this.getActive()&&this.resetActive()}}),opera:function(e){var t=qx.bom.Event.getTarget(e);if(t==this._document){this.__P_44_16();this.__P_44_9=this.getFocus();this.__P_44_10=this.getActive();this.resetFocus();this.resetActive()}else{t===this.getFocus()&&this.resetFocus();t===this.getActive()&&this.resetActive()}},default:null})),__P_44_21:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{gecko:function(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_44_16();this.resetActive();this.resetFocus()}},webkit:function(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_44_16();this.__P_44_9=this.getFocus();this.__P_44_10=this.getActive();this.resetActive();this.resetFocus()}},default:null})),__P_44_20:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{gecko:function(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_44_17();t=this._body}this.setFocus(t);this.tryActivate(t)},webkit:function(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_44_17();if(this.__P_44_9){this.setFocus(this.__P_44_9);delete this.__P_44_9}if(this.__P_44_10){this.setActive(this.__P_44_10);delete this.__P_44_10}}else{this.__P_44_13=e.relatedTarget;this.setFocus(t);this.__P_44_13=null;this.tryActivate(t)}},default:null})),__P_44_18:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml:function(e){var t=qx.bom.Event.getTarget(e),n=this.__P_44_27(t);if(n){if(!this.__P_44_26(t)){t.unselectable="on";try{document.selection&&document.selection.empty()}catch(e){}try{n.focus()}catch(e){}}}else{qx.bom.Event.preventDefault(e);this.__P_44_26(t)||(t.unselectable="on")}},webkit:function(e){var t=qx.bom.Event.getTarget(e),n=this.__P_44_27(t);n?this.setFocus(n):qx.bom.Event.preventDefault(e)},gecko:function(e){var t=qx.bom.Event.getTarget(e),n=this.__P_44_27(t);n?this.setFocus(n):qx.bom.Event.preventDefault(e)},opera:function(e){var t=qx.bom.Event.getTarget(e),n=this.__P_44_27(t);if(this.__P_44_26(t))n&&this.setFocus(n);else{qx.bom.Event.preventDefault(e);if(n){var r=this.getFocus();if(r&&r.selectionEnd){r.selectionStart=0;r.selectionEnd=0;r.blur()}n&&this.setFocus(n)}}},default:null})),__P_44_19:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml:function(e){var t=qx.bom.Event.getTarget(e);t.unselectable&&(t.unselectable="off");this.tryActivate(this.__P_44_28(t))},gecko:function(e){for(var t=qx.bom.Event.getTarget(e);t&&void 0===t.offsetWidth;)t=t.parentNode;t&&this.tryActivate(t)},webkit:function(e){var t=qx.bom.Event.getTarget(e);this.tryActivate(this.__P_44_28(t))},opera:function(e){var t=qx.bom.Event.getTarget(e);this.tryActivate(this.__P_44_28(t))},default:null})),__P_44_29:function(e){var t=this.getFocus();if(t&&e!=t){if("input"===t.nodeName.toLowerCase()||"textarea"===t.nodeName.toLowerCase())return t;if(qx.Class.isClass("qx.ui.core.Widget"))var n=qx.ui.core.Widget.getWidgetByElement(t),r=n&&n.getChildControl&&n.getChildControl("textfield",!0);if(r)return r.getContentElement().getDomElement()}return e},__P_44_28:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml:function(e){return this.__P_44_29(e)},webkit:function(e){return this.__P_44_29(e)},default:function(e){return e}})),__P_44_25:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml:function(e){var t=qx.bom.Event.getTarget(e);this.__P_44_26(t)||qx.bom.Event.preventDefault(e)},webkit:function(e){var t=qx.bom.Event.getTarget(e);this.__P_44_26(t)||qx.bom.Event.preventDefault(e)},default:null})),__P_44_30:function(e){var t=qx.bom.element.Attribute.get(e,"tabIndex");if(t>=1)return!0;var n=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;return!!(t>=0&&n[e.tagName])},__P_44_27:function(e){for(;e&&1===e.nodeType;){if("on"==e.getAttribute("qxKeepFocus"))return null;if(this.__P_44_30(e))return e;e=e.parentNode}return this._body},__P_44_14:function(e){for(var t=e;e&&1===e.nodeType;){if("on"==e.getAttribute("qxKeepActive"))return null;e=e.parentNode}return t},__P_44_26:function(e){for(;e&&1===e.nodeType;){var t=e.getAttribute("qxSelectable");if(null!=t)return"on"===t;e=e.parentNode}return!0},_applyActive:function(e,t){t&&this.__P_44_15(t,e,"deactivate",!0);e&&this.__P_44_15(e,t,"activate",!0);this.__P_44_0&&window.scrollTo(0,0)},_applyFocus:function(e,t){t&&this.__P_44_15(t,e,"focusout",!0);e&&this.__P_44_15(e,t,"focusin",!0);t&&this.__P_44_15(t,e,"blur",!1);e&&this.__P_44_15(e,t||this.__P_44_13,"focus",!1)}},destruct:function(){this._stopObserver();this._manager=this._window=this._document=this._root=this._body=this.__P_44_31=this.__P_44_13=null},defer:function(e){qx.event.Registration.addHandler(e);var t=e.FOCUSABLE_ELEMENTS;for(var n in t)t[n.toUpperCase()]=1}});qx.event.handler.Focus.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Focus":{defer:"runtime"},"qx.event.handler.Window":{defer:"runtime"},"qx.event.handler.Capture":{defer:"runtime"},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.dispatch.AbstractBubbling":{construct:!0,require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.dom.Hierarchy":{},"qx.bom.Event":{},"qx.event.type.Event":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.OperatingSystem":{require:!0}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"browser.documentmode":{load:!0,className:"qx.bom.client.Browser"},"os.version":{load:!0,className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.dispatch.MouseCapture",{extend:qx.event.dispatch.AbstractBubbling,construct:function(e,t){qx.event.dispatch.AbstractBubbling.constructor.call(this,e);this.__P_89_0=e.getWindow();this.__P_89_1=t;e.addListener(this.__P_89_0,"blur",this.releaseCapture,this);e.addListener(this.__P_89_0,"focus",this.releaseCapture,this);e.addListener(this.__P_89_0,"scroll",this.releaseCapture,this)},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST},members:{__P_89_1:null,__P_89_2:null,__P_89_3:!0,__P_89_0:null,_getParent:function(e){return e.parentNode},canDispatchEvent:function(e,t,n){return!(!this.__P_89_2||!this.__P_89_4[n])},dispatchEvent:function(e,t,n){if("click"!=n){!this.__P_89_3&&qx.dom.Hierarchy.contains(this.__P_89_2,e)||(e=this.__P_89_2);return qx.event.dispatch.MouseCapture.superclass.prototype.dispatchEvent.call(this,e,t,n)}t.stopPropagation();this.releaseCapture()},__P_89_4:{mouseup:1,mousedown:1,click:1,dblclick:1,mousemove:1,mouseout:1,mouseover:1,pointerdown:1,pointerup:1,pointermove:1,pointerover:1,pointerout:1,tap:1,dbltap:1},activateCapture:function(e,t){t=!1!==t;if(this.__P_89_2!==e||this.__P_89_3!=t){this.__P_89_2&&this.releaseCapture();if(this.hasNativeCapture){this.nativeSetCapture(e,t);var n=this;qx.bom.Event.addNativeListener(e,"losecapture",(function t(){qx.bom.Event.removeNativeListener(e,"losecapture",t);n.releaseCapture()}))}this.__P_89_3=t;this.__P_89_2=e;this.__P_89_1.fireEvent(e,"capture",qx.event.type.Event,[!0,!1])}},getCaptureElement:function(){return this.__P_89_2},releaseCapture:function(){var e=this.__P_89_2;if(e){this.__P_89_2=null;this.__P_89_1.fireEvent(e,"losecapture",qx.event.type.Event,[!0,!1]);this.nativeReleaseCapture(e)}},hasNativeCapture:"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9||parseInt(qx.core.Environment.get("os.version"),10)>7&&qx.core.Environment.get("browser.documentmode")>9,nativeSetCapture:qx.core.Environment.select("engine.name",{mshtml:function(e,t){e.setCapture(!1!==t)},default:function(){}}),nativeReleaseCapture:qx.core.Environment.select("engine.name",{mshtml:function(e){e.releaseCapture()},default:function(){}})},defer:function(e){qx.event.Registration.addDispatcher(e)}});qx.event.dispatch.MouseCapture.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.element.Attribute":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.dom.Element",{statics:{hasChild:function(e,t){return t.parentNode===e},hasChildren:function(e){return!!e.firstChild},hasChildElements:function(e){e=e.firstChild;for(;e;){if(1===e.nodeType)return!0;e=e.nextSibling}return!1},getParentElement:function(e){return e.parentNode},isInDom:function(e,t){t||(t=window);for(var n=t.document.getElementsByTagName(e.nodeName),r=0,i=n.length;rn?n:t)+"px");else{var r=qx.util.AliasManager.getInstance().resolve(this.getSource()),i=r.split("/"),o=this.__P_52_20(r),s=parseInt(i[2]||o.getSize());e.setStyle("fontSize",s+"px")}},_applyDimension:function(){qx.ui.basic.Image.superclass.prototype._applyDimension.call(this);if(this.getSource()&&qx.lang.String.startsWith(this.getSource(),"@")){var e=this.getContentElement();if(e){var t=this.getSizeHint(),n=this.getWidth()||t.width||40,r=this.getHeight()||t.height||40;this.__P_52_22(e,n,r)}}else this.__P_52_21()},__P_52_17:function(e,t){var n=qx.io.ImageLoader;this.__P_52_8(e,t);var r=n.getWidth(t),i=n.getHeight(t);this.__P_52_21(r,i)},__P_52_18:function(e,t){var n=qx.io.ImageLoader;n.isFailed(t)?this.__P_52_12(e):n.load(t,this.__P_52_23,this)},__P_52_12:function(e){null!=e&&(e instanceof qx.html.Image?e.resetSource():e.resetValue())},__P_52_20:function(e){var t=qx.theme.manager.Font.getInstance().resolve(e.match(/@([^/]+)/)[1]);if("string"==typeof t)throw new Error("Cannot find font in virtual image source: '".concat(e,"'"));return t},__P_52_8:function(e,t){if(t&&qx.lang.String.startsWith(t,"@")){var n=qx.util.ResourceManager.getInstance(),r=this.__P_52_20(t),i=qx.lang.Object.clone(r.getStyles());delete i.color;e.setStyles(i);e.setStyle("font");e.setStyle("display","table-cell");e.setStyle("verticalAlign","middle");e.setStyle("textAlign","center");this.__P_52_22(e,this.__P_52_1,this.__P_52_2);var o=n.fromFontUriToCharCode(t);e.setValue(String.fromCharCode(o))}else{if("div"==e.getNodeName()){var s=qx.theme.manager.Decoration.getInstance().resolve(this.getDecorator());if(s){var a=s.getStartColor()&&s.getEndColor(),u=s.getBackgroundImage();if(a||u){var l=this.getScale()?"scale":"no-repeat",c=qx.bom.element.Decoration.getAttributes(t,l),h=s.getStyles(!0),d={backgroundImage:c.style.backgroundImage,backgroundPosition:c.style.backgroundPosition||"0 0",backgroundRepeat:c.style.backgroundRepeat||"no-repeat",position:"absolute"};if(u){d.backgroundPosition+=","+h["background-position"]||"0 0";d.backgroundRepeat+=", "+s.getBackgroundRepeat()}if(a){d.backgroundPosition+=", 0 0";d.backgroundRepeat+=", no-repeat"}d.backgroundImage+=","+(h["background-image"]||h.background);e.setStyles(d);return}}else e.setSource&&e.setSource(null)}if(e.setSource){e.setSource(t);e.setStyle("position","absolute")}}},__P_52_23:function(e,t){if(!0!==this.$$disposed)if(e===qx.util.AliasManager.getInstance().resolve(this.getSource())){if(t.failed){this.warn("Image could not be loaded: "+e);this.fireEvent("loadingFailed")}else{if(t.aborted){this.fireEvent("aborted");return}this.fireEvent("loaded")}this.__P_52_17(this.__P_52_14(),e)}else this.fireEvent("aborted")},__P_52_21:function(e,t){void 0===e&&(e=this.__P_52_1);void 0===t&&(t=this.__P_52_2);this._recalc(e,t)&&qx.ui.core.queue.Layout.add(this)},_recalc:function(e,t){var n=this.getMaxWidth(),r=this.getMaxHeight(),i=this.getMinWidth(),o=this.getMinHeight(),s=e,a=t,u=t/e;switch(this.getForceRatio()){case"height":null!==r&&a>r?s=(a=r)/u:an?a=(s=n)*u:sn?a=(s=n)*u:sr&&(s=(a=r)/u)}s=Math.round(s);a=Math.round(a);if(s!=this.__P_52_1||a!=this.__P_52_2){this.__P_52_1=s;this.__P_52_2=a;return!0}return!1}},destruct:function(){for(var e in this.__P_52_0)this.__P_52_0.hasOwnProperty(e)&&this.__P_52_0[e].disconnectObject(this);delete this.__P_52_4;this.__P_52_5&&delete this.__P_52_5;this._disposeMap("__P_52_0")}});qx.ui.basic.Image.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.basic.Image":{construct:!0,require:!0},"qx.ui.core.MPlacement":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.DragDropCursor",{extend:qx.ui.basic.Image,include:qx.ui.core.MPlacement,type:"singleton",construct:function(){qx.ui.basic.Image.constructor.call(this);this.setZIndex(1e8);this.setDomMove(!0);this.getApplicationRoot().add(this,{left:-1e3,top:-1e3})},properties:{appearance:{refine:!0,init:"dragdrop-cursor"},action:{check:["alias","copy","move"],apply:"_applyAction",nullable:!0}},members:{_applyAction:function(e,t){t&&this.removeState(t);e&&this.addState(e)}}});qx.ui.core.DragDropCursor.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Root",{extend:qx.html.Element,construct:function(e){qx.html.Element.constructor.call(this);null!=e&&this.useNode(e)},members:{useNode:function(e){qx.html.Root.superclass.prototype.useNode.call(this,e);this.setRoot(!0);qx.html.Element._modified[this.toHashCode()]=this}}});qx.html.Root.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.util.ValueManager":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.AliasManager",{type:"singleton",extend:qx.util.ValueManager,construct:function(){qx.util.ValueManager.constructor.call(this);this.__P_71_0={};this.add("static","qx/static")},members:{__P_71_0:null,_preprocess:function(e){var t=this._getDynamic();if(!1===t[e])return e;if(void 0===t[e]){if("/"===e.charAt(0)||"."===e.charAt(0)||0===e.indexOf("http://")||"0"===e.indexOf("https://")||0===e.indexOf("file://")){t[e]=!1;return e}if(this.__P_71_0[e])return this.__P_71_0[e];var n=e.substring(0,e.indexOf("/")),r=this.__P_71_0[n];void 0!==r&&(t[e]=r+e.substring(n.length))}return e},add:function(e,t){this.__P_71_0[e]=t;var n=this._getDynamic();for(var r in n)r.substring(0,r.indexOf("/"))===e&&(n[r]=t+r.substring(e.length))},remove:function(e){delete this.__P_71_0[e]},resolve:function(e){var t=this._getDynamic();null!=e&&(e=this._preprocess(e));return t[e]||e},getAliases:function(){var e={};for(var t in this.__P_71_0)e[t]=this.__P_71_0[t];return e}}});qx.util.AliasManager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["io.maxrequests","io.ssl","io.xhr"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.Transport",{statics:{getMaxConcurrentRequestCount:function(){var e=qx.bom.client.Engine.getVersion().split("."),t=0,n=0,r=0;e[0]&&(t=e[0]);e[1]&&(n=e[1]);e[2]&&(r=e[2]);return window.maxConnectionsPerServer?window.maxConnectionsPerServer:"opera"==qx.bom.client.Engine.getName()?8:"webkit"==qx.bom.client.Engine.getName()?4:"gecko"==qx.bom.client.Engine.getName()&&(t>1||1==t&&n>9||1==t&&9==n&&r>=1)?6:2},getSsl:function(){return"https:"===window.location.protocol},getXmlHttpRequest:function(){return(window.ActiveXObject?function(){if("file:"!==window.location.protocol)try{new window.XMLHttpRequest;return"xhr"}catch(e){}try{new window.ActiveXObject("Microsoft.XMLHTTP");return"activex"}catch(e){}}():function(){try{new window.XMLHttpRequest;return"xhr"}catch(e){}}())||""}},defer:function(e){qx.core.Environment.add("io.maxrequests",e.getMaxConcurrentRequestCount);qx.core.Environment.add("io.ssl",e.getSsl);qx.core.Environment.add("io.xhr",e.getXmlHttpRequest)}});qx.bom.client.Transport.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.bom.client.Device":{},"qx.bom.client.Engine":{defer:"load",require:!0},"qx.bom.client.Transport":{defer:"load",require:!0},"qx.util.LibraryManager":{defer:"runtime"}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine",defer:!0},"io.ssl":{className:"qx.bom.client.Transport",defer:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.ResourceManager",{extend:qx.core.Object,type:"singleton",construct:function(){qx.core.Object.constructor.call(this)},statics:{__P_112_0:qx.$$resources||{},__P_112_1:{}},members:{findHighResolutionSource:function(e,t){var n=["3","2","1.5"];t||(t=parseFloat(qx.bom.client.Device.getDevicePixelRatio().toFixed(2)));if(t<=1)return!1;for(var r,i,o=n.length;o>0&&t>n[--o];);for(i=o;i>=0;i--)if(r=this.getHighResolutionSource(e,n[i]))return r;for(i=o+1;i-1){var r="@"+t+"x",i=e.slice(0,n)+r+e.slice(n);if(this.has(i))return i}return null},getIds:function(e){var t=qx.util.ResourceManager.__P_112_0;return t?Object.keys(t).filter((function(t){return!e||-1!=t.indexOf(e)})):null},has:function(e){return!!qx.util.ResourceManager.__P_112_0[e]},getData:function(e){return qx.util.ResourceManager.__P_112_0[e]||null},getImageWidth:function(e){var t;if(e&&e.startsWith("@")){var n=e.split("/");(t=parseInt(n[2],10))&&(e=n[0]+"/"+n[1])}var r=qx.util.ResourceManager.__P_112_0[e];if(t&&r){return Math.ceil(t/r[1]*r[0])}return r?r[0]:null},getImageHeight:function(e){if(e&&e.startsWith("@")){var t=e.split("/"),n=parseInt(t[2],10);if(n)return n}var r=qx.util.ResourceManager.__P_112_0[e];return r?r[1]:null},getImageFormat:function(e){if(e&&e.startsWith("@"))return"font";var t=qx.util.ResourceManager.__P_112_0[e];return t?t[2]:null},getCombinedFormat:function(e){var t="",n=qx.util.ResourceManager.__P_112_0[e];if(n&&n.length>4&&"string"==typeof n[4]&&this.constructor.__P_112_0[n[4]]){var r=n[4];t=this.constructor.__P_112_0[r][2]}return t},toUri:function(e){if(null==e)return e;var t=qx.util.ResourceManager.__P_112_0[e];if(!t)return e;if("string"==typeof t)var n=t;else{if(!(n=t[3]))return e}var r="";"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("io.ssl")&&(r=qx.util.ResourceManager.__P_112_1[n]);return r+qx.util.LibraryManager.getInstance().get(n,"resourceUri")+"/"+e},toDataUri:function(e){var t,n=this.constructor.__P_112_0[e],r=n?this.constructor.__P_112_0[n[4]]:null;if(r){var i=r[4][e];t="data:image/"+i.type+";"+i.encoding+","+i.data}else t=this.toUri(e);return t},isFontUri:function(e){return!!e&&e.startsWith("@")},fromFontUriToCharCode:function(e){var t=e.split("/"),n=e;t.length>2&&(n=t[0]+"/"+t[1]);var r=this.getData(n),i=null;if(r)i=r[2];else{var o=e.match(/@([^/]+)\/(.*)$/)[2];if(o){i=parseInt(o,16);isNaN(i)&&(i=null)}}if(!i)throw new Error("Cannot determine charCode from source: ".concat(e));return i}},defer:function(e){if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("io.ssl"))for(var t in qx.$$libraries){var n;if(qx.util.LibraryManager.getInstance().get(t,"resourceUri")){n=qx.util.LibraryManager.getInstance().get(t,"resourceUri");var r,i=document.getElementsByTagName("base");i.length>0&&(r=i[0].href);if(null!=n.match(/^\/\//))e.__P_112_1[t]=window.location.protocol;else if(null!=n.match(/^\//))e.__P_112_1[t]=r||window.location.protocol+"//"+window.location.host;else if(null!=n.match(/^\.\//)){var o=document.URL;e.__P_112_1[t]=o.substring(0,o.lastIndexOf("/")+1)}else if(null!=n.match(/^http/))e.__P_112_1[t]="";else{if(!r){var s=window.location.href.indexOf("?");r=-1==s?window.location.href:window.location.href.substring(0,s)}e.__P_112_1[t]=r.substring(0,r.lastIndexOf("/")+1)}}else e.__P_112_1[t]=""}}});qx.util.ResourceManager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.LibraryManager",{extend:qx.core.Object,type:"singleton",statics:{__P_163_0:qx.$$libraries||{}},members:{has:function(e){return!!qx.util.LibraryManager.__P_163_0[e]},get:function(e,t){return qx.util.LibraryManager.__P_163_0[e][t]?qx.util.LibraryManager.__P_163_0[e][t]:null},set:function(e,t,n){qx.util.LibraryManager.__P_163_0[e][t]=n}}});qx.util.LibraryManager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.String":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.ColorUtil",{statics:{REGEXP:{hexShort:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])?$/,hexLong:/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})?$/,hex3:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,hex6:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,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,2}[0-9]*)\s*\)$/},SYSTEM:{activeborder:!0,activecaption:!0,appworkspace:!0,background:!0,buttonface:!0,buttonhighlight:!0,buttonshadow:!0,buttontext:!0,captiontext:!0,graytext:!0,highlight:!0,highlighttext:!0,inactiveborder:!0,inactivecaption:!0,inactivecaptiontext:!0,infobackground:!0,infotext:!0,menu:!0,menutext:!0,scrollbar:!0,threeddarkshadow:!0,threedface:!0,threedhighlight:!0,threedlightshadow:!0,threedshadow:!0,window:!0,windowframe:!0,windowtext:!0},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(e){return void 0!==this.NAMED[e]},isSystemColor:function(e){return void 0!==this.SYSTEM[e]},supportsThemes:function(){return!!qx.Class&&qx.Class.isDefined("qx.theme.manager.Color")},isThemedColor:function(e){return!!this.supportsThemes()&&(!!(qx.theme&&qx.theme.manager&&qx.theme.manager.Color)&&qx.theme.manager.Color.getInstance().isDynamic(e))},stringToRgb:function(e){this.supportsThemes()&&this.isThemedColor(e)&&(e=qx.theme.manager.Color.getInstance().resolveDynamic(e));return this.cssStringToRgb(e)},cssStringToRgb:function(e){var t;if(this.isNamedColor(e))t=this.NAMED[e].concat();else{if(this.isSystemColor(e))throw new Error("Could not convert system colors to RGB: "+e);this.isRgbaString(e)?t=this.__P_72_0(e):this.isRgbString(e)?t=this.__P_72_1():this.ishexShortString(e)?t=this.__P_72_2():this.ishexLongString(e)&&(t=this.__P_72_3())}if(t){3===t.length&&1==t[3]&&t.pop();return t}throw new Error("Could not parse color: "+e)},stringToRgbString:function(e){return this.rgbToRgbString(this.stringToRgb(e))},rgbToRgbString:function(e){return"rgb"+(4===e.length?"a":"")+"("+e.map((function(e){return Math.round(1e3*e)/1e3})).join(",")+")"},rgbToHexString:function(e){return"#"+qx.lang.String.pad(e[0].toString(16).toUpperCase(),2)+qx.lang.String.pad(e[1].toString(16).toUpperCase(),2)+qx.lang.String.pad(e[2].toString(16).toUpperCase(),2)+(4===e.length&&1!==e[3]?qx.lang.String.pad(Math.round(255*e[3]).toString(16).toUpperCase(),2):"")},isValidPropertyValue:function(e){return this.isThemedColor(e)||this.isNamedColor(e)||this.ishexShortString(e)||this.ishexLongString(e)||this.isRgbString(e)||this.isRgbaString(e)},isCssString:function(e){return this.isSystemColor(e)||this.isNamedColor(e)||this.ishexShortString(e)||this.ishexLongString(e)||this.isRgbString(e)||this.isRgbaString(e)},ishexShortString:function(e){return this.REGEXP.hexShort.test(e)},isHex3String:function(e){return this.REGEXP.hex3.test(e)},isHex6String:function(e){return this.REGEXP.hex6.test(e)},ishexLongString:function(e){return this.REGEXP.hexLong.test(e)},isRgbString:function(e){return this.REGEXP.rgb.test(e)},isRgbaString:function(e){return this.REGEXP.rgba.test(e)},__P_72_1:function(){return[parseInt(RegExp.$1,10),parseInt(RegExp.$2,10),parseInt(RegExp.$3,10)]},__P_72_0:function(){var e=parseInt(RegExp.$1,10),t=parseInt(RegExp.$2,10),n=parseInt(RegExp.$3,10),r=parseFloat(RegExp.$4,10);return 0===e&&0===t&0===n&&0===r?[-1,-1,-1]:1==r?[e,t,n]:[e,t,n,r]},__P_72_2:function(){var e=17*parseInt(RegExp.$1,16),t=17*parseInt(RegExp.$2,16),n=17*parseInt(RegExp.$3,16),r=Math.round(parseInt(RegExp.$4||"f",16)/15*1e3)/1e3;return 1==r?[e,t,n]:[e,t,n,r]},__P_72_4:function(){return[17*parseInt(RegExp.$1,16),17*parseInt(RegExp.$2,16),17*parseInt(RegExp.$3,16)]},__P_72_5:function(){return[16*parseInt(RegExp.$1,16)+parseInt(RegExp.$2,16),16*parseInt(RegExp.$3,16)+parseInt(RegExp.$4,16),16*parseInt(RegExp.$5,16)+parseInt(RegExp.$6,16)]},__P_72_3:function(){var e=parseInt(RegExp.$1,16),t=parseInt(RegExp.$2,16),n=parseInt(RegExp.$3,16),r=Math.round(parseInt(RegExp.$4||"ff",16)/255*1e3)/1e3;return 1==r?[e,t,n]:[e,t,n,r]},hex3StringToRgb:function(e){if(this.isHex3String(e))return this.__P_72_4(e);throw new Error("Invalid hex3 value: "+e)},hex3StringToHex6String:function(e){return this.isHex3String(e)?this.rgbToHexString(this.hex3StringToRgb(e)):e},hex6StringToRgb:function(e){if(this.isHex6String(e))return this.__P_72_5(e);throw new Error("Invalid hex6 value: "+e)},hexStringToRgb:function(e){if(this.ishexShortString(e))return this.__P_72_2(e);if(this.ishexLongString(e))return this.__P_72_3(e);throw new Error("Invalid hex value: "+e)},rgbToHsb:function(e){var t,n,r,i=e[0],o=e[1],s=e[2],a=i>o?i:o;s>a&&(a=s);var u=i=1&&(s%=1);a>1&&(a=1);u>1&&(u=1);var l=Math.floor(255*u),c={};if(0==a)c.red=c.green=c.blue=l;else{n=(s*=6)-(t=Math.floor(s));r=Math.floor(l*(1-a));i=Math.floor(l*(1-a*n));o=Math.floor(l*(1-a*(1-n)));switch(t){case 0:c.red=l;c.green=o;c.blue=r;break;case 1:c.red=i;c.green=l;c.blue=r;break;case 2:c.red=r;c.green=l;c.blue=o;break;case 3:c.red=r;c.green=i;c.blue=l;break;case 4:c.red=o;c.green=r;c.blue=l;break;case 5:c.red=l;c.green=r;c.blue=i}}return[c.red,c.green,c.blue]},rgbToHsl:function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(t,n,r),o=i-Math.min(t,n,r),s=1-Math.abs(i+i-o-1),a=o&&(i==t?(n-r)/o:i==n?2+(r-t)/o:4+(t-n)/o);return[60*(a<0?a+6:a),100*(s?o/s:0),100*(i+i-o)/2]},hslToRgb:function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n*Math.min(r,1-r),o=function(e){var n=(e+t/30)%12;return r-i*Math.max(Math.min(n-3,9-n,1),-1)};return[o(0),o(8),o(4)].map((function(e){return Math.round(2550*e)/10}))},randomColor:function(){var e=Math.round(255*Math.random()),t=Math.round(255*Math.random()),n=Math.round(255*Math.random());return this.rgbToRgbString([e,t,n])},__P_72_6:function(e,t,n,r){var i=this.stringToRgb(e);for(var o in t)if(0!=t[o])switch(o){case"red":i[0]=n(i[0],t[o],255);break;case"green":i[1]=n(i[1],t[o],255);break;case"blue":i[2]=n(i[2],t[o],255);break;case"alpha":i[3]=n(i[3]||1,t[o],1);break;case"hue":if(!r)throw new Error("Invalid key in map: "+o);(a=this.rgbToHsb(i))[0]=r(a[0],t[o]);var s=this.hsbToRgb(a);s[3]=i[3];i=s;break;case"saturation":(a=this.rgbToHsb(i))[1]=n(a[1],t[o],100);(s=this.hsbToRgb(a))[3]=i[3];i=s;break;case"brightness":var a;(a=this.rgbToHsb(i))[2]=n(a[2],t[o],100);(s=this.hsbToRgb(a))[3]=i[3];i=s;break;case"lightness":var u=this.rgbToHsl(i);u[2]=n(u[2],t[o],100);(s=this.hslToRgb(u))[3]=i[3];i=s;break;default:throw new Error("Invalid key in tune map: "+o)}4===i.length&&(void 0===i[3]||i[3]>=1?i.pop():i[3]<0&&(i[3]=0));[0,1,2].forEach((function(e){i[e]<0?i[e]=0:i[e]>255&&(i[e]=255)}));return this.rgbToRgbString(i)},scale:function(e,t){return this.__P_72_6(e,t,(function(e,t,n){e>n&&(e=n);if(t>0){t>100&&(t=100);return e+(n-e)*t/100}t<-100&&(t=-100);return e+e*t/100}))},adjust:function(e,t){return this.__P_72_6(e,t,(function(e,t,n){return(e+=t)>n?n:e<0?0:e}),(function(e,t){e+=t;for(;e>=360;)e-=360;for(;e<0;)e+=360;return e}))},luminance:function(e){var t=this.stringToRgb(e),n=function(e){var n=t[e]/255;return n<.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)};return.2126*n(0)+.7152*n(1)+.0722*n(2)},contrast:function(e,t){var n=this.luminance(e)+.05,r=this.luminance(t)+.5;return Math.max(n,r)/Math.min(n,r)},chooseContrastingColor:function(e,t,n,r){"string"==typeof e&&(e=qx.util.ColorUtil.stringToRgb(e));t||(t=128);return(299*e[0]+587*e[1]+114*e[2])/1e3>=t?n||"#000":r||"#fff"}}});qx.util.ColorUtil.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.theme.manager.Color":{construct:!0},"qx.bom.client.Engine":{construct:!0,require:!0},"qx.util.ResourceManager":{construct:!0}},environment:{provided:[],required:{"engine.name":{construct:!0,className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Blocker",{extend:qx.html.Element,construct:function(e,t){var n={position:"absolute",opacity:t||0,backgroundColor:e=e?qx.theme.manager.Color.getInstance().resolve(e):null};if("mshtml"==qx.core.Environment.get("engine.name")){n.backgroundImage="url("+qx.util.ResourceManager.getInstance().toUri("qx/static/blank.gif")+")";n.backgroundRepeat="repeat"}qx.html.Element.constructor.call(this,"div",n);this.addListener("mousedown",this._stopPropagation,this);this.addListener("mouseup",this._stopPropagation,this);this.addListener("click",this._stopPropagation,this);this.addListener("dblclick",this._stopPropagation,this);this.addListener("mousemove",this._stopPropagation,this);this.addListener("mouseover",this._stopPropagation,this);this.addListener("mouseout",this._stopPropagation,this);this.addListener("mousewheel",this._stopPropagation,this);this.addListener("roll",this._stopPropagation,this);this.addListener("contextmenu",this._stopPropagation,this);this.addListener("pointerdown",this._stopPropagation,this);this.addListener("pointerup",this._stopPropagation,this);this.addListener("pointermove",this._stopPropagation,this);this.addListener("pointerover",this._stopPropagation,this);this.addListener("pointerout",this._stopPropagation,this);this.addListener("tap",this._stopPropagation,this);this.addListener("dbltap",this._stopPropagation,this);this.addListener("swipe",this._stopPropagation,this);this.addListener("longtap",this._stopPropagation,this);this.addListener("appear",this.__P_45_0,this);this.addListener("disappear",this.__P_45_0,this)},members:{_stopPropagation:function(e){e.stopPropagation()},__P_45_0:function(){var e=this.getStyle("cursor");this.setStyle("cursor",null,!0);this.setStyle("cursor",e,!0)}}});qx.html.Blocker.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.theme.manager.Decoration":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Util",{statics:{PERCENT_VALUE:/[0-9]+(?:\.[0-9]+)?%/,computeFlexOffsets:function(e,t,n){var r,i,o,s,a,u,l=t>n,c=Math.abs(t-n),h={};for(i in e){r=e[i];h[i]={potential:l?r.max-r.value:r.value-r.min,flex:l?r.flex:1/r.flex,offset:0}}for(;0!=c;){s=1/0;o=0;for(i in h)if((r=h[i]).potential>0){o+=r.flex;s=Math.min(s,r.potential/r.flex)}if(0==o)break;s=Math.min(c,s*o)/o;a=0;for(i in h)if((r=h[i]).potential>0){if((a+=(u=Math.min(c,r.potential,Math.ceil(s*r.flex)))-s*r.flex)>=1){a-=1;u-=1}r.potential-=u;l?r.offset+=u:r.offset-=u;c-=u}}return h},computeHorizontalAlignOffset:function(e,t,n,r,i){null==r&&(r=0);null==i&&(i=0);var o=0;switch(e){case"left":o=r;break;case"right":o=n-t-i;break;case"center":(o=Math.round((n-t)/2))0&&(t=Math.max(t,o))}return t+n},computeHorizontalGaps:function(e,t,n){null==t&&(t=0);var r=0;if(n){r+=e[0].getMarginLeft();for(var i=1,o=e.length;in||i>o)if(t>n&&i>o){t=n;i=o}else if(t>n){i+=t-n;t=n;i>o&&(i=o)}else if(i>o){t+=i-o;i=o;t>n&&(t=n)}return{begin:t,end:i}}}});qx.ui.layout.Util.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.SingleSelectionManager",{extend:qx.core.Object,construct:function(e){qx.core.Object.constructor.call(this);this.__P_121_0=e},events:{changeSelected:"qx.event.type.Data"},properties:{allowEmptySelection:{check:"Boolean",init:!0,apply:"__P_121_1"}},members:{__P_121_2:null,__P_121_0:null,getSelected:function(){return this.__P_121_2},setSelected:function(e){if(!this.__P_121_3(e))throw new Error("Could not select "+e+", because it is not a child element!");this.__P_121_4(e)},resetSelected:function(){this.__P_121_4(null)},isSelected:function(e){if(!this.__P_121_3(e))throw new Error("Could not check if "+e+" is selected, because it is not a child element!");return this.__P_121_2===e},isSelectionEmpty:function(){return null==this.__P_121_2},getSelectables:function(e){for(var t=this.__P_121_0.getItems(),n=[],r=0;r=0;r--)n[r].getEnabled()||n.splice(r,1);return n},__P_121_1:function(e,t){e||this.__P_121_4(this.__P_121_2)},__P_121_4:function(e){var t=this.__P_121_2,n=e;if(null==n||t!==n){if(!this.isAllowEmptySelection()&&null==n){var r=this.getSelectables(!0)[0];r&&(n=r)}this.__P_121_2=n;this.fireDataEvent("changeSelected",n,t)}},__P_121_3:function(e){for(var t=this.__P_121_0.getItems(),n=0;n=0&&value<=this.getMaximum()",init:0,apply:"_applyPosition",event:"scroll"},singleStep:{check:"Integer",init:20},pageStep:{check:"Integer",init:10,apply:"_applyPageStep"},knobFactor:{check:"PositiveNumber",apply:"_applyKnobFactor",nullable:!0}},members:{__P_165_0:2,__P_165_1:0,_computeSizeHint:function(){var e=qx.ui.core.scroll.ScrollBar.superclass.prototype._computeSizeHint.call(this);if("horizontal"===this.getOrientation()){this.__P_165_1=e.minWidth;e.minWidth=0}else{this.__P_165_1=e.minHeight;e.minHeight=0}return e},renderLayout:function(e,t,n,r){var i=qx.ui.core.scroll.ScrollBar.superclass.prototype.renderLayout.call(this,e,t,n,r),o="horizontal"===this.getOrientation();if(this.__P_165_1>=(o?n:r)){this.getChildControl("button-begin").setVisibility("hidden");this.getChildControl("button-end").setVisibility("hidden")}else{this.getChildControl("button-begin").setVisibility("visible");this.getChildControl("button-end").setVisibility("visible")}return i},_createChildControlImpl:function(e,t){var n;switch(e){case"slider":(n=new qx.ui.core.scroll.ScrollSlider).setPageStep(100);n.setFocusable(!1);n.addListener("changeValue",this._onChangeSliderValue,this);n.addListener("slideAnimationEnd",this._onSlideAnimationEnd,this);this._add(n,{flex:1});break;case"button-begin":(n=new qx.ui.form.RepeatButton).setFocusable(!1);n.addListener("execute",this._onExecuteBegin,this);this._add(n);break;case"button-end":(n=new qx.ui.form.RepeatButton).setFocusable(!1);n.addListener("execute",this._onExecuteEnd,this);this._add(n)}return n||qx.ui.core.scroll.ScrollBar.superclass.prototype._createChildControlImpl.call(this,e)},_applyMaximum:function(e){this.getChildControl("slider").setMaximum(e)},_applyPosition:function(e){this.getChildControl("slider").setValue(e)},_applyKnobFactor:function(e){this.getChildControl("slider").setKnobFactor(e)},_applyPageStep:function(e){this.getChildControl("slider").setPageStep(e)},_applyOrientation:function(e,t){this.getContentElement().setAttribute("aria-orientation",e);var n=this._getLayout();n&&n.dispose();if("horizontal"===e){this._setLayout(new qx.ui.layout.HBox);this.setAllowStretchX(!0);this.setAllowStretchY(!1);this.replaceState("vertical","horizontal");this.getChildControl("button-begin").replaceState("up","left");this.getChildControl("button-end").replaceState("down","right")}else{this._setLayout(new qx.ui.layout.VBox);this.setAllowStretchX(!1);this.setAllowStretchY(!0);this.replaceState("horizontal","vertical");this.getChildControl("button-begin").replaceState("left","up");this.getChildControl("button-end").replaceState("right","down")}this.getChildControl("slider").setOrientation(e)},scrollTo:function(e,t){this.getChildControl("slider").slideTo(e,t)},scrollBy:function(e,t){this.getChildControl("slider").slideBy(e,t)},scrollBySteps:function(e,t){var n=this.getSingleStep();this.getChildControl("slider").slideBy(e*n,t)},updatePosition:function(e){this.getChildControl("slider").updatePosition(e)},stopScrollAnimation:function(){this.getChildControl("slider").stopSlideAnimation()},_onExecuteBegin:function(e){this.scrollBy(-this.getSingleStep(),50)},_onExecuteEnd:function(e){this.scrollBy(this.getSingleStep(),50)},_onSlideAnimationEnd:function(){this.fireEvent("scrollAnimationEnd")},_onChangeSliderValue:function(e){this.setPosition(e.getData())},_onResizeSlider:function(e){var t=this.getChildControl("slider").getChildControl("knob"),n=t.getSizeHint(),r=!1,i=this.getChildControl("slider").getInnerSize();"vertical"==this.getOrientation()?i.height=0&&value<=this.getScrollMaxX()",apply:"_applyScrollX",transform:"_transformScrollX",event:"scrollX",init:0},scrollY:{check:"qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxY()",apply:"_applyScrollY",transform:"_transformScrollY",event:"scrollY",init:0}},members:{__P_123_0:null,add:function(e){var t=this._getChildren()[0];if(t){this._remove(t);t.removeListener("resize",this._onUpdate,this)}if(e){this._add(e);e.addListener("resize",this._onUpdate,this)}},remove:function(e){if(e){this._remove(e);e.removeListener("resize",this._onUpdate,this)}},getChildren:function(){return this._getChildren()},_onUpdate:function(e){this.fireEvent("update")},_onScroll:function(e){var t=this.getContentElement();this.setScrollX(t.getScrollX());this.setScrollY(t.getScrollY())},_onAppear:function(e){var t=this.getContentElement(),n=this.getScrollX();n!=t.getScrollX()&&t.scrollToX(n);var r=this.getScrollY();r!=t.getScrollY()&&t.scrollToY(r)},getItemTop:function(e){var t=0;do{t+=e.getBounds().top;e=e.getLayoutParent()}while(e&&e!==this);return t},getItemBottom:function(e){return this.getItemTop(e)+e.getBounds().height},getItemLeft:function(e){var t,n=0;do{n+=e.getBounds().left;(t=e.getLayoutParent())&&(n+=t.getInsets().left);e=t}while(e&&e!==this);return n},getItemRight:function(e){return this.getItemLeft(e)+e.getBounds().width},getScrollSize:function(){return this.getChildren()[0].getBounds()},getScrollMaxX:function(){var e=this.getInnerSize(),t=this.getScrollSize();return e&&t?Math.max(0,t.width-e.width):0},getScrollMaxY:function(){var e=this.getInnerSize(),t=this.getScrollSize();return e&&t?Math.max(0,t.height-e.height):0},scrollToX:function(e,t){var n=this.getScrollMaxX();e<0?e=0:e>n&&(e=n);this.stopScrollAnimation();if(t){var r=this.getScrollX();this.__P_123_0=new qx.bom.AnimationFrame;this.__P_123_0.on("end",(function(){this.setScrollX(e);this.__P_123_0=null;this.fireEvent("scrollAnimationEnd")}),this);this.__P_123_0.on("frame",(function(n){var i=parseInt(n/t*(e-r)+r);this.setScrollX(i)}),this);this.__P_123_0.startSequence(t)}else this.setScrollX(e)},scrollToY:function(e,t){var n=this.getScrollMaxY();e<0?e=0:e>n&&(e=n);this.stopScrollAnimation();if(t){var r=this.getScrollY();this.__P_123_0=new qx.bom.AnimationFrame;this.__P_123_0.on("end",(function(){this.setScrollY(e);this.__P_123_0=null;this.fireEvent("scrollAnimationEnd")}),this);this.__P_123_0.on("frame",(function(n){var i=parseInt(n/t*(e-r)+r);this.setScrollY(i)}),this);this.__P_123_0.startSequence(t)}else this.setScrollY(e)},scrollByX:function(e,t){this.scrollToX(this.getScrollX()+e,t)},scrollByY:function(e,t){this.scrollToY(this.getScrollY()+e,t)},stopScrollAnimation:function(){if(this.__P_123_0){this.__P_123_0.cancelSequence();this.__P_123_0=null}},_applyScrollX:function(e){this.getContentElement().scrollToX(e)},_transformScrollX:function(e){return Math.round(e)},_applyScrollY:function(e){this.getContentElement().scrollToY(e)},_transformScrollY:function(e){return Math.round(e)}}});qx.ui.core.scroll.ScrollPane.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.LayoutItem":{construct:!0,require:!0},"qx.ui.core.queue.Dispose":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.Spacer",{extend:qx.ui.core.LayoutItem,construct:function(e,t){qx.ui.core.LayoutItem.constructor.call(this);this.setWidth(null!=e?e:0);this.setHeight(null!=t?t:0)},members:{checkAppearanceNeeds:function(){},addChildrenToQueue:function(e){},destroy:function(){if(!this.$$disposed){var e=this.$$parent;e&&e._remove(this);qx.ui.core.queue.Dispose.add(this)}}}});qx.ui.core.Spacer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.Separator",{extend:qx.ui.core.Widget,properties:{appearance:{refine:!0,init:"toolbar-separator"},anonymous:{refine:!0,init:!0},width:{refine:!0,init:0},height:{refine:!0,init:0}}});qx.ui.toolbar.Separator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.container.Composite":{construct:!0,require:!0},"qx.ui.layout.HBox":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.PartContainer",{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.constructor.call(this);this._setLayout(new qx.ui.layout.HBox)},events:{changeChildren:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"toolbar/part/container"},show:{init:"both",check:["both","label","icon"],inheritable:!0,event:"changeShow"}},members:{_afterAddChild:function(e){this.fireEvent("changeChildren")},_afterRemoveChild:function(e){this.fireEvent("changeChildren")}}});qx.ui.toolbar.PartContainer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.bom.Shortcut":{construct:!0},"qx.ui.menu.Menu":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.command.Command",{extend:qx.core.Object,construct:function(e){qx.core.Object.constructor.call(this);this._shortcut=new qx.bom.Shortcut(e);this._shortcut.addListener("execute",this.execute,this);void 0!==e&&this.setShortcut(e)},events:{execute:"qx.event.type.Data"},properties:{active:{init:!0,check:"Boolean",event:"changeActive",apply:"_applyActive"},enabled:{init:!0,check:"Boolean",event:"changeEnabled",apply:"_applyEnabled"},shortcut:{check:"String",apply:"_applyShortcut",nullable:!0},label:{check:"String",nullable:!0,event:"changeLabel"},icon:{check:"String",nullable:!0,event:"changeIcon"},toolTipText:{check:"String",nullable:!0,event:"changeToolTipText"},value:{nullable:!0,event:"changeValue"},menu:{check:"qx.ui.menu.Menu",nullable:!0,event:"changeMenu"}},members:{_shortcut:null,_applyActive:function(e){!1===e?this._shortcut.setEnabled(!1):this._shortcut.setEnabled(this.getEnabled())},_applyEnabled:function(e){this.getActive()&&this._shortcut.setEnabled(e)},_applyShortcut:function(e){this._shortcut.setShortcut(e)},execute:function(e){this.getActive()&&this.getEnabled()&&this.fireDataEvent("execute",e)},toString:function(){return this._shortcut?this._shortcut.toString():qx.ui.command.Command.superclass.prototype.toString.call(this)}},destruct:function(){this._shortcut.removeListener("execute",this.execute,this);this._disposeObjects("_shortcut")}});qx.ui.command.Command.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.Registration":{construct:!0},"qx.bom.client.Event":{construct:!0,require:!0},"qx.bom.Element":{construct:!0},"qx.event.Timer":{construct:!0},"qx.ui.menu.Menu":{},"qx.ui.menu.AbstractButton":{},"qx.lang.Array":{},"qx.ui.core.Widget":{},"qx.ui.menubar.Button":{},"qx.ui.menu.Button":{}},environment:{provided:[],required:{"event.touch":{construct:!0,className:"qx.bom.client.Event"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.menu.Manager",{type:"singleton",extend:qx.core.Object,construct:function(){qx.core.Object.constructor.call(this);this.__P_57_0=[];var e=document.body,t=qx.event.Registration;t.addListener(window.document.documentElement,"pointerdown",this._onPointerDown,this,!0);t.addListener(e,"roll",this._onRoll,this,!0);t.addListener(e,"keydown",this._onKeyUpDown,this,!0);t.addListener(e,"keyup",this._onKeyUpDown,this,!0);t.addListener(e,"keypress",this._onKeyPress,this,!0);qx.core.Environment.get("event.touch")||qx.bom.Element.addListener(window,"blur",this.hideAll,this);this.__P_57_1=new qx.event.Timer;this.__P_57_1.addListener("interval",this._onOpenInterval,this);this.__P_57_2=new qx.event.Timer;this.__P_57_2.addListener("interval",this._onCloseInterval,this)},members:{__P_57_3:null,__P_57_4:null,__P_57_1:null,__P_57_2:null,__P_57_0:null,_getChild:function(e,t,n,r){for(var i,o=e.getChildren(),s=o.length,a=t;a=0;a+=n)if((i=o[a]).isEnabled()&&!i.isAnonymous()&&i.isVisible())return i;if(r){a=a==s?0:s-1;for(;a!=t;a+=n)if((i=o[a]).isEnabled()&&!i.isAnonymous()&&i.isVisible())return i}return null},_isInMenu:function(e){for(;e;){if(e instanceof qx.ui.menu.Menu)return!0;e=e.getLayoutParent()}return!1},_isMenuOpener:function(e){for(var t=this.__P_57_0,n=0;n=0;t--)e[t].exclude()},getActiveMenu:function(){var e=this.__P_57_0;return e.length>0?e[e.length-1]:null},scheduleOpen:function(e){this.cancelClose(e);if(e.isVisible())this.__P_57_3&&this.cancelOpen(this.__P_57_3);else if(this.__P_57_3!=e){this.__P_57_3=e;this.__P_57_1.restartWith(e.getOpenInterval())}},scheduleClose:function(e){this.cancelOpen(e);if(e.isVisible()){if(this.__P_57_4!=e){this.__P_57_4=e;this.__P_57_2.restartWith(e.getCloseInterval())}}else this.__P_57_4&&this.cancelClose(this.__P_57_4)},cancelOpen:function(e){if(this.__P_57_3==e){this.__P_57_1.stop();this.__P_57_3=null}},cancelClose:function(e){if(this.__P_57_4==e){this.__P_57_2.stop();this.__P_57_4=null}},_onOpenInterval:function(e){this.__P_57_1.stop();this.__P_57_3.open();this.__P_57_3=null},_onCloseInterval:function(e){this.__P_57_2.stop();this.__P_57_4.exclude();this.__P_57_4=null},preventContextMenuOnce:function(){qx.event.Registration.addListener(document.body,"contextmenu",this.__P_57_5,this,!0)},__P_57_5:function(e){var t=e.getTarget();t=qx.ui.core.Widget.getWidgetByElement(t,!0);if(this._isInMenu(t)){e.stopPropagation();e.preventDefault()}qx.event.Registration.removeListener(document.body,"contextmenu",this.__P_57_5,this,!0)},_onPointerDown:function(e){var t=e.getTarget();null!=(t=qx.ui.core.Widget.getWidgetByElement(t,!0))?t.getMenu&&t.getMenu()&&t.getMenu().isVisible()||this.__P_57_0.length>0&&!this._isInMenu(t)&&this.hideAll():this.hideAll()},__P_57_6:{Enter:1,Space:1},__P_57_7:{Tab:1,Escape:1,Up:1,Down:1,Left:1,Right:1},_onKeyUpDown:function(e){var t=this.getActiveMenu();if(t){var n=e.getKeyIdentifier();(this.__P_57_7[n]||this.__P_57_6[n]&&t.getSelectedButton())&&e.stopPropagation()}},_onKeyPress:function(e){var t=this.getActiveMenu();if(t){var n=e.getKeyIdentifier(),r=this.__P_57_7[n],i=this.__P_57_6[n];if(r){switch(n){case"Up":this._onKeyPressUp(t);break;case"Down":this._onKeyPressDown(t);break;case"Left":this._onKeyPressLeft(t);break;case"Right":this._onKeyPressRight(t);break;case"Tab":case"Escape":this.hideAll()}e.stopPropagation();e.preventDefault()}else if(i){var o=t.getSelectedButton();if(o){switch(n){case"Enter":this._onKeyPressEnter(t,o,e);break;case"Space":this._onKeyPressSpace(t,o,e)}e.stopPropagation();e.preventDefault()}}}},_onKeyPressUp:function(e){var t=e.getSelectedButton(),n=e.getChildren(),r=t?e.indexOf(t)-1:n.length-1,i=this._getChild(e,r,-1,!0);i?e.setSelectedButton(i):e.resetSelectedButton()},_onKeyPressDown:function(e){var t=e.getSelectedButton(),n=t?e.indexOf(t)+1:0,r=this._getChild(e,n,1,!0);r?e.setSelectedButton(r):e.resetSelectedButton()},_onKeyPressLeft:function(e){var t=e.getOpener();if(t)if(t instanceof qx.ui.menu.AbstractButton){var n=t.getLayoutParent();n.resetOpenedButton();n.setSelectedButton(t)}else if(t instanceof qx.ui.menubar.Button){var r=t.getMenuBar().getMenuButtons(),i=r.indexOf(t);if(-1===i)return;for(var o=null,s=r.length,a=1;a<=s;a++){var u=r[(i-a+s)%s];if(u.isEnabled()&&u.isVisible()){o=u;break}}o&&o!=t&&o.open(!0)}},_onKeyPressRight:function(e){var t=e.getSelectedButton();if(t){var n=t.getMenu();if(n){e.setOpenedButton(t);(r=this._getChild(n,0,1))&&n.setSelectedButton(r);return}}else if(!e.getOpenedButton()){var r;if(r=this._getChild(e,0,1)){e.setSelectedButton(r);r.getMenu()&&e.setOpenedButton(r);return}}var i=e.getOpener();if(i instanceof qx.ui.menu.Button&&t){for(;i&&(i=i.getLayoutParent())instanceof qx.ui.menu.Menu&&!((i=i.getOpener())instanceof qx.ui.menubar.Button););if(!i)return}if(i instanceof qx.ui.menubar.Button){var o=i.getMenuBar().getMenuButtons(),s=o.indexOf(i);if(-1===s)return;for(var a=null,u=o.length,l=1;l<=u;l++){var c=o[(s+l)%u];if(c.isEnabled()&&c.isVisible()){a=c;break}}a&&a!=i&&a.open(!0)}},_onKeyPressEnter:function(e,t,n){if(t.hasListener("keypress")){var r=n.clone();r.setBubbles(!1);r.setTarget(t);t.dispatchEvent(r)}this.hideAll()},_onKeyPressSpace:function(e,t,n){if(t.hasListener("keypress")){var r=n.clone();r.setBubbles(!1);r.setTarget(t);t.dispatchEvent(r)}},_onRoll:function(e){var t=e.getTarget();t=qx.ui.core.Widget.getWidgetByElement(t,!0);this.__P_57_0.length>0&&!this._isInMenu(t)&&!this._isMenuOpener(t)&&!e.getMomentum()&&this.hideAll()}},destruct:function(){var e=qx.event.Registration,t=document.body;e.removeListener(window.document.documentElement,"pointerdown",this._onPointerDown,this,!0);e.removeListener(t,"keydown",this._onKeyUpDown,this,!0);e.removeListener(t,"keyup",this._onKeyUpDown,this,!0);e.removeListener(t,"keypress",this._onKeyPress,this,!0);this._disposeObjects("__P_57_1","__P_57_2");this._disposeArray("__P_57_0")}});qx.ui.menu.Manager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Timer":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.Idle",{extend:qx.core.Object,implement:[qx.core.IDisposable],type:"singleton",construct:function(){qx.core.Object.constructor.call(this)},events:{interval:"qx.event.type.Event"},properties:{timeoutInterval:{check:"Number",init:100,apply:"_applyTimeoutInterval"}},members:{__P_128_0:null,_applyTimeoutInterval:function(e){this.__P_128_0&&this.__P_128_0.setInterval(e)},_onInterval:function(){this.fireEvent("interval")},__P_128_1:function(){if(!this.__P_128_0&&this.hasListener("interval")){var e=new qx.event.Timer(this.getTimeoutInterval());e.addListener("interval",this._onInterval,this);e.start();this.__P_128_0=e}},__P_128_2:function(){if(this.__P_128_0&&!this.hasListener("interval")){this.__P_128_0.stop();this.__P_128_0.dispose();this.__P_128_0=null}},addListener:function(e,t,n,r){var i=qx.event.Idle.superclass.prototype.addListener.call(this,e,t,n,r);this.__P_128_1();return i},addListenerOnce:function(e,t,n,r){var i=qx.event.Idle.superclass.prototype.addListenerOnce.call(this,e,t,n,r);this.__P_128_1();return i},removeListener:function(e,t,n,r){var i=qx.event.Idle.superclass.prototype.removeListener.call(this,e,t,n,r);this.__P_128_2();return i},removeListenerById:function(e){var t=qx.event.Idle.superclass.prototype.removeListenerById.call(this,e);this.__P_128_2();return t}},destruct:function(){this.__P_128_0&&this.__P_128_0.stop();this.__P_128_0=null}});qx.event.Idle.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.util.placement.DirectAxis":{construct:!0},"qx.util.placement.KeepAlignAxis":{},"qx.util.placement.BestFitAxis":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.placement.Placement",{extend:qx.core.Object,construct:function(){qx.core.Object.constructor.call(this);this.__P_129_0=qx.util.placement.DirectAxis},properties:{axisX:{check:"Class"},axisY:{check:"Class"},edge:{check:["top","right","bottom","left"],init:"top"},align:{check:["top","right","bottom","left","center","middle"],init:"right"}},statics:{__P_129_1:null,compute:function(e,t,n,r,i,o,s){this.__P_129_1=this.__P_129_1||new qx.util.placement.Placement;var a=i.split("-"),u=a[0],l=a[1];this.__P_129_1.set({axisX:this.__P_129_2(o),axisY:this.__P_129_2(s),edge:u,align:l});return this.__P_129_1.compute(e,t,n,r)},__P_129_3:null,__P_129_4:null,__P_129_5:null,__P_129_2:function(e){switch(e){case"direct":this.__P_129_3=this.__P_129_3||qx.util.placement.DirectAxis;return this.__P_129_3;case"keep-align":this.__P_129_4=this.__P_129_4||qx.util.placement.KeepAlignAxis;return this.__P_129_4;case"best-fit":this.__P_129_5=this.__P_129_5||qx.util.placement.BestFitAxis;return this.__P_129_5;default:throw new Error("Invalid 'mode' argument!'")}}},members:{__P_129_0:null,compute:function(e,t,n,r){return{left:(this.getAxisX()||this.__P_129_0).computeStart(e.width,{start:n.left,end:n.right},{start:r.left,end:r.right},t.width,this.__P_129_6()),top:(this.getAxisY()||this.__P_129_0).computeStart(e.height,{start:n.top,end:n.bottom},{start:r.top,end:r.bottom},t.height,this.__P_129_7())}},__P_129_6:function(){var e=this.getEdge(),t=this.getAlign();return"left"==e?"edge-start":"right"==e?"edge-end":"left"==t?"align-start":"center"==t?"align-center":"right"==t?"align-end":void 0},__P_129_7:function(){var e=this.getEdge(),t=this.getAlign();return"top"==e?"edge-start":"bottom"==e?"edge-end":"top"==t?"align-start":"middle"==t?"align-center":"bottom"==t?"align-end":void 0}},destruct:function(){this._disposeObjects("__P_129_0")}});qx.util.placement.Placement.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.Registration":{construct:!0},"qx.bom.Element":{construct:!0},"qx.ui.core.Widget":{require:!0},"qx.lang.Array":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.popup.Manager",{type:"singleton",extend:qx.core.Object,construct:function(){qx.core.Object.constructor.call(this);this.__P_55_0=[];qx.event.Registration.addListener(document.documentElement,"pointerdown",this.__P_55_1,this,!0);qx.bom.Element.addListener(window,"blur",this.hideAll,this)},properties:{containsFunction:{check:"Function",init:qx.ui.core.Widget.contains}},members:{__P_55_0:null,add:function(e){this.__P_55_0.push(e);this.__P_55_2()},remove:function(e){qx.lang.Array.remove(this.__P_55_0,e);this.__P_55_2()},hideAll:function(){for(var e=this.__P_55_0.length,t={};e--;)(t=this.__P_55_0[e]).getAutoHide()&&t.exclude()},__P_55_2:function(){for(var e=1e7,t=0;t0&&r>=i||0==t?e.stopMomentum():e.stop()}else{t=e.getDelta().y;var o;r=n.getScrollY(),i=n.getScrollMaxY();(o=parseInt(t))<0&&r<=0||o>0&&r>=i||0==t?e.stopMomentum():e.stop()}this.scrollBy(parseInt(t,10));e.getMomentum()&&e.stop()}},_onScroll:function(){this._updateArrowsEnabled()},_onScrollAnimationEnd:function(){this.fireEvent("scrollAnimationEnd")},_onResize:function(e){var t=this.getChildControl("scrollpane").getChildren()[0];if(t){var n=this.getInnerSize(),r=t.getBounds();if("horizontal"===this.getOrientation()?r.width>n.width:r.height>n.height){this._showArrows();this._updateArrowsEnabled()}else this._hideArrows()}},_onExecuteBackward:function(){this.scrollBy(-this.getScrollStep())},_onExecuteForward:function(){this.scrollBy(this.getScrollStep())},_updateArrowsEnabled:function(){if(this.getEnabled()){var e=this.getChildControl("scrollpane");if("horizontal"===this.getOrientation())var t=e.getScrollX(),n=e.getScrollMaxX();else t=e.getScrollY(),n=e.getScrollMaxY();this.getChildControl("button-backward").setEnabled(t>0);this.getChildControl("button-forward").setEnabled(t0';return t.firstChild.href}}});qx.util.Uri.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.CssAnimation":{require:!0},"qx.bom.Stylesheet":{},"qx.bom.Event":{},"qx.lang.String":{},"qx.bom.element.AnimationHandle":{},"qx.bom.element.Transform":{},"qx.bom.Style":{},"qx.bom.client.OperatingSystem":{defer:"load",require:!0}},environment:{provided:[],required:{"css.animation":{load:!0,className:"qx.bom.client.CssAnimation"},"qx.debug":{load:!0},"os.name":{defer:!0,className:"qx.bom.client.OperatingSystem"},"os.version":{defer:!0,className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.AnimationCss",{statics:{__P_63_0:null,__P_63_1:"Anni",__P_63_2:0,__P_63_3:{},__P_63_4:{scale:!0,rotate:!0,skew:!0,translate:!0},__P_63_5:qx.core.Environment.get("css.animation"),animateReverse:function(e,t,n){return this._animate(e,t,n,!0)},animate:function(e,t,n){return this._animate(e,t,n,!1)},_animate:function(e,t,n,r){this.__P_63_6(t);var i=t.keep;null!=i&&(r||t.alternate&&t.repeat%2==0)&&(i=100-i);this.__P_63_0||(this.__P_63_0=qx.bom.Stylesheet.createElement());var o=t.keyFrames;null==n&&(n=t.duration);if(null!=this.__P_63_5){var s=this.__P_63_7(o,r)+" "+n+"ms "+t.timing+" "+(t.delay?t.delay+"ms ":"")+t.repeat+" "+(t.alternate?"alternate":"");qx.bom.Event.addNativeListener(e,this.__P_63_5["start-event"],this.__P_63_8);qx.bom.Event.addNativeListener(e,this.__P_63_5["iteration-event"],this.__P_63_9);qx.bom.Event.addNativeListener(e,this.__P_63_5["end-event"],this.__P_63_10);e.style[qx.lang.String.camelCase(this.__P_63_5.name)]=s;i&&100==i&&this.__P_63_5["fill-mode"]&&(e.style[this.__P_63_5["fill-mode"]]="forwards")}var a=new qx.bom.element.AnimationHandle;a.desc=t;a.el=e;a.keep=i;e.$$animation=a;null!=t.origin&&qx.bom.element.Transform.setOrigin(e,t.origin);null==this.__P_63_5&&window.setTimeout((function(){qx.bom.element.AnimationCss.__P_63_10({target:e})}),0);return a},__P_63_8:function(e){e.target.$$animation&&e.target.$$animation.emit("start",e.target)},__P_63_9:function(e){null!=e.target&&null!=e.target.$$animation&&e.target.$$animation.emit("iteration",e.target)},__P_63_10:function(e){var t=e.target,n=t.$$animation;if(n){var r=n.desc;if(null!=qx.bom.element.AnimationCss.__P_63_5){var i=qx.lang.String.camelCase(qx.bom.element.AnimationCss.__P_63_5.name);t.style[i]="";qx.bom.Event.removeNativeListener(t,qx.bom.element.AnimationCss.__P_63_5.name,qx.bom.element.AnimationCss.__P_63_10)}null!=r.origin&&qx.bom.element.Transform.setOrigin(t,"");qx.bom.element.AnimationCss.__P_63_11(t,r.keyFrames[n.keep]);t.$$animation=null;n.el=null;n.ended=!0;n.emit("end",t)}},__P_63_11:function(e,t){var n;for(var r in t)if(r in qx.bom.element.AnimationCss.__P_63_4){n||(n={});n[r]=t[r]}else e.style[qx.lang.String.camelCase(r)]=t[r];n&&qx.bom.element.Transform.transform(e,n)},__P_63_6:function(e){e.hasOwnProperty("alternate")||(e.alternate=!1);e.hasOwnProperty("keep")||(e.keep=null);e.hasOwnProperty("repeat")||(e.repeat=1);e.hasOwnProperty("timing")||(e.timing="linear");e.hasOwnProperty("origin")||(e.origin=null)},__P_63_12:qx.core.Environment.select("qx.debug",{true:function(e){var t=["origin","duration","keep","keyFrames","delay","repeat","timing","alternate"];for(var n in e)-1==t.indexOf(n)&&qx.Bootstrap.warn("Unknown key '"+n+"' in the animation description.");if(null==e.keyFrames)qx.Bootstrap.warn("No 'keyFrames' given > 0");else for(var r in e.keyFrames)(r<0||r>100)&&qx.Bootstrap.warn("Keyframe position needs to be between 0 and 100")},default:null}),__P_63_7:function(e,t){var n="";for(var r in e){n+=(t?-(r-100):r)+"% {";var i,o=e[r];for(var s in o)if(s in this.__P_63_4){i||(i={});i[s]=o[s]}else{var a=qx.bom.Style.getPropertyName(s);n+=((null!==a?qx.bom.Style.getCssName(a):"")||s)+":"+o[s]+";"}i&&(n+=qx.bom.element.Transform.getCss(i));n+="} "}if(this.__P_63_3[n])return this.__P_63_3[n];var u=this.__P_63_1+this.__P_63_2++,l=this.__P_63_5.keyframes+" "+u;qx.bom.Stylesheet.addRule(this.__P_63_0,l,n);this.__P_63_3[n]=u;return u},__P_63_13:function(){this.__P_63_2=0;if(this.__P_63_0){this.__P_63_0.ownerNode.remove();this.__P_63_0=null;this.__P_63_3={}}}},defer:function(e){"ios"===qx.core.Environment.get("os.name")&&parseInt(qx.core.Environment.get("os.version"))>=8&&document.addEventListener("visibilitychange",(function(){document.hidden||e.__P_63_13()}),!1)}});qx.bom.element.AnimationCss.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.bom.element.AnimationHandle":{},"qx.bom.Style":{},"qx.bom.element.Transform":{},"qx.util.ColorUtil":{},"qx.bom.AnimationFrame":{},"qx.lang.String":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.AnimationJs",{statics:{__P_64_0:30,__P_64_1:["%","in","cm","mm","em","ex","pt","pc","px"],__P_64_2:{scale:!0,rotate:!0,skew:!0,translate:!0},animate:function(e,t,n){return this._animate(e,t,n,!1)},animateReverse:function(e,t,n){return this._animate(e,t,n,!0)},_animate:function(e,t,n,r){if(e.$$animation)return e.$$animation;t=qx.lang.Object.clone(t,!0);null==n&&(n=t.duration);var i=t.keyFrames,o=this.__P_64_3(i),s=this.__P_64_4(n,o),a=parseInt(n/s,10);this.__P_64_5(i,e);var u=this.__P_64_6(a,s,o,i,n,t.timing),l=new qx.bom.element.AnimationHandle;l.jsAnimation=!0;if(r){u.reverse();l.reverse=!0}l.desc=t;l.el=e;l.delta=u;l.stepTime=s;l.steps=a;e.$$animation=l;l.i=0;l.initValues={};l.repeatSteps=this.__P_64_7(a,t.repeat);var c=t.delay||0,h=this;l.delayId=window.setTimeout((function(){l.delayId=null;h.play(l)}),c);return l},__P_64_5:function(e,t){var n={};for(var r in e)for(var i in e[r]){var o=qx.bom.Style.getPropertyName(i);if(o&&o!=i){var s=qx.bom.Style.getCssName(o);e[r][s]=e[r][i];delete e[r][i];i=s}if(null==n[i]){var a=e[r][i];n[i]="string"==typeof a?this.__P_64_8(a):""}}for(var r in e){var u=e[r];for(var i in n)if(null==u[i]){i in t.style?window.getComputedStyle?u[i]=window.getComputedStyle(t,null)[i]:u[i]=t.style[i]:u[i]=t[i];""===u[i]&&-1!=this.__P_64_1.indexOf(n[i])&&(u[i]="0"+n[i])}}},__P_64_9:function(e){e=qx.lang.Object.clone(e);var t;for(var n in e)if(n in this.__P_64_2){t||(t={});t[n]=e[n];delete e[n]}if(t){var r=qx.bom.element.Transform.getCss(t).split(":");r.length>1&&(e[r[0]]=r[1].replace(";",""))}return e},__P_64_6:function(e,t,n,r,i,o){var s=new Array(e),a=1;s[0]=this.__P_64_9(r[0]);for(var u=r[0],l=r[n[a]],c=Math.floor(n[a]/(t/i*100)),h=1,d=1;dn[a]){u=l;l=r[n[++a]];c=Math.floor(n[a]/(t/i*100))-c;h=1}s[d]={};var f;for(var _ in l){var p=l[_]+"";if(_ in this.__P_64_2){f||(f={});if(qx.Bootstrap.isArray(u[_])){qx.Bootstrap.isArray(l[_])||(l[_]=[l[_]]);f[_]=[];for(var m=0;m1&&(s[d][P[0]]=P[1].replace(";",""))}h++}s[s.length-1]=this.__P_64_9(r[100]);return s},__P_64_8:function(e){return e.substring((parseFloat(e)+"").length,e.length)},__P_64_10:function(e,t,n,r){var i=parseFloat(e)-parseFloat(t);return parseFloat(t)+i*qx.bom.AnimationFrame.calculateTiming(n,r)+this.__P_64_8(e)},play:function(e){e.emit("start",e.el);var t=window.setInterval((function(){e.repeatSteps--;var t=e.delta[e.i%e.steps];if(0===e.i)for(var n in t)void 0===e.initValues[n]&&(void 0!==e.el[n]?e.initValues[n]=e.el[n]:qx.bom.element.Style?e.initValues[n]=qx.bom.element.Style.get(e.el,qx.lang.String.camelCase(n)):e.initValues[n]=e.el.style[qx.lang.String.camelCase(n)]);qx.bom.element.AnimationJs.__P_64_11(e.el,t);e.i++;if(e.i%e.steps==0){e.emit("iteration",e.el);e.desc.alternate&&e.delta.reverse()}e.repeatSteps<0&&qx.bom.element.AnimationJs.stop(e)}),e.stepTime);e.animationId=t;return e},pause:function(e){window.clearInterval(e.animationId);e.animationId=null;return e},stop:function(e){var t=e.desc,n=e.el,r=e.initValues;e.animationId&&window.clearInterval(e.animationId);e.delayId&&window.clearTimeout(e.delayId);if(null==n)return e;var i=t.keep;if(null==i||e.stopped)this.__P_64_11(n,r);else{(e.reverse||t.alternate&&t.repeat&&t.repeat%2==0)&&(i=100-i);this.__P_64_11(n,this.__P_64_9(t.keyFrames[i]))}n.$$animation=null;e.el=null;e.ended=!0;e.animationId=null;e.emit("end",n);return e},__P_64_7:function(e,t){return null==t?e:"infinite"==t?Number.MAX_VALUE:e*t},__P_64_11:function(e,t){for(var n in t)if(void 0!==t[n])if(void 0===e.style[n]&&n in e)e[n]=t[n];else{var r=qx.bom.Style.getPropertyName(n)||n;qx.bom.element.Style?qx.bom.element.Style.set(e,r,t[n]):e.style[r]=t[n]}},__P_64_4:function(e,t){for(var n=100,r=0;rthis.__P_64_0;)i/=2;return Math.round(i)},__P_64_3:function(e){for(var t=Object.keys(e),n=0;ne&&this.setMinimum(e);this.getValue()>e?this.setValue(e):this._updateButtons()},_applyEnabled:function(e,t){qx.ui.form.Spinner.superclass.prototype._applyEnabled.call(this,e,t);this._updateButtons()},_checkValue:function(e){return"number"==typeof e&&e>=this.getMinimum()&&e<=this.getMaximum()},_applyValue:function(e,t){var n=this.getChildControl("textfield");this._updateButtons();this.__P_66_0=e;null!==e?this.getNumberFormat()?n.setValue(this.getNumberFormat().format(e)):n.setValue(e+""):n.setValue("")},_applyEditable:function(e,t){var n=this.getChildControl("textfield");n&&n.setReadOnly(!e)},_applyWrap:function(e,t){this._updateButtons()},_applyNumberFormat:function(e,t){this.getChildControl("textfield").setFilter(this._getFilterRegExp());t&&t.removeListener("changeNumberFormat",this._onChangeNumberFormat,this);var n=this.getNumberFormat();null!==n&&n.addListener("changeNumberFormat",this._onChangeNumberFormat,this);this._applyValue(this.__P_66_0,void 0)},_getContentPaddingTarget:function(){return this.getChildControl("textfield")},_updateButtons:function(){var e=this.getChildControl("upbutton"),t=this.getChildControl("downbutton"),n=this.getValue();if(this.getEnabled())if(this.getWrap()){e.setEnabled(!0);t.setEnabled(!0)}else{null!==n&&nthis.getMinimum()?t.setEnabled(!0):t.setEnabled(!1)}else{e.setEnabled(!1);t.setEnabled(!1)}},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case"PageUp":this.__P_66_1=!0;this.getChildControl("textfield").fireNonBubblingEvent("changeValue",qx.event.type.Data);this.getChildControl("upbutton").press();break;case"Up":this.getChildControl("textfield").fireNonBubblingEvent("changeValue",qx.event.type.Data);this.getChildControl("upbutton").press();break;case"PageDown":this.__P_66_2=!0;this.getChildControl("textfield").fireNonBubblingEvent("changeValue",qx.event.type.Data);this.getChildControl("downbutton").press();break;case"Down":this.getChildControl("textfield").fireNonBubblingEvent("changeValue",qx.event.type.Data);this.getChildControl("downbutton").press();break;default:return}e.stopPropagation();e.preventDefault()},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case"PageUp":this.getChildControl("upbutton").release();this.__P_66_1=!1;break;case"Up":this.getChildControl("upbutton").release();break;case"PageDown":this.getChildControl("downbutton").release();this.__P_66_2=!1;break;case"Down":this.getChildControl("downbutton").release()}},_onRoll:function(e){if("wheel"==e.getPointerType()){var t=e.getDelta().y;t<0?this._countUp():t>0&&this._countDown();e.stop()}},_onTextChange:function(e){var t,n=this.getChildControl("textfield");if(this.getNumberFormat())try{t=this.getNumberFormat().parse(n.getValue())}catch(e){}void 0===t&&(t=parseFloat(n.getValue()));if(isNaN(t))this._applyValue(this.__P_66_0,void 0);else{t>this.getMaximum()?t=this.getMaximum():tthis.getMaximum()){var t=this.getMaximum()-e;e=this.getMinimum()-t-1}this.gotoValue(e)},_countDown:function(){if(this.__P_66_2)var e=this.getValue()-this.getPageStep();else e=this.getValue()-this.getSingleStep();if(this.getWrap()&&e0?r=this.__P_191_0(e.detail):void 0!==e.deltaX&&(r=this.__P_191_0(e.deltaX));return r}if("y"===t){var i=0;void 0!==e.wheelDelta?i=void 0!==e.wheelDeltaY?e.wheelDeltaY?this.__P_191_0(-e.wheelDeltaY):0:this.__P_191_0(-e.wheelDelta):(!e.axis||e.axis!=e.HORIZONTAL_AXIS)&&void 0!==e.detail&&e.detail>0?i=this.__P_191_0(e.detail):void 0!==e.deltaY&&(i=this.__P_191_0(e.deltaY));return i}return 0},__P_191_0:function(e){if(qx.util.Wheel.IS_TOUCHPAD){qx.util.Wheel.MINSCROLL=null;qx.util.Wheel.MAXSCROLL=null;qx.util.Wheel.FACTOR=1;return e}var t=Math.abs(e);if(0===t)return 0;if(null==qx.util.Wheel.MINSCROLL||qx.util.Wheel.MINSCROLL>t){qx.util.Wheel.MINSCROLL=t;this.__P_191_1()}if(null==qx.util.Wheel.MAXSCROLL||qx.util.Wheel.MAXSCROLL=this.charCodeA&&e<=this.charCodeZ||(e>=this.charCode0&&e<=this.charCode9||(!!this.specialCharCodeMap[e]||(!!this.numpadToCharCode[e]||!!this.isNonPrintableKeyCode(e))))},isNonPrintableKeyCode:function(e){return!!this.keyCodeToIdentifierMap[e]},isValidKeyIdentifier:function(e){if(this.identifierToKeyCodeMap[e])return!0;if(1!=e.length)return!1;if(e>="0"&&e<="9")return!0;if(e>="A"&&e<="Z")return!0;switch(e){case"+":case"-":case"*":case"/":case",":return!0;default:return!1}},isPrintableKeyIdentifier:function(e){return"Space"===e||!this.identifierToKeyCodeMap[e]}},defer:function(e){if(!e.identifierToKeyCodeMap){e.identifierToKeyCodeMap={};for(var t in e.keyCodeToIdentifierMap)e.identifierToKeyCodeMap[e.keyCodeToIdentifierMap[t]]=parseInt(t,10);for(var t in e.specialCharCodeMap)e.identifierToKeyCodeMap[e.specialCharCodeMap[t]]=parseInt(t,10)}}});qx.event.util.Keyboard.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Event":{require:!0},"qx.dom.Node":{},"qx.bom.Viewport":{},"qx.event.Registration":{},"qx.event.handler.DragDrop":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Drag",{extend:qx.event.type.Event,members:{init:function(e,t){qx.event.type.Drag.superclass.prototype.init.call(this,!0,e);if(t){this._native=t.getNativeEvent()||null;this._originalTarget=t.getOriginalTarget()||null}else{this._native=null;this._originalTarget=null}return this},clone:function(e){var t=qx.event.type.Drag.superclass.prototype.clone.call(this,e);t._native=this._native;return t},getDocumentLeft:function(){if(null==this._native)return 0;var e=this._native.pageX;if(void 0!==e){0==e&&"touch"==this._native.pointerType&&(e=this._native._original.changedTouches[0].pageX||0);return Math.round(e)}var t=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(t)},getDocumentTop:function(){if(null==this._native)return 0;var e=this._native.pageY;if(void 0!==e){0==e&&"touch"==this._native.pointerType&&(e=this._native._original.changedTouches[0].pageY||0);return Math.round(e)}var t=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(t)},getManager:function(){return qx.event.Registration.getManager(this.getTarget()).getHandler(qx.event.handler.DragDrop)},addType:function(e){this.getManager().addType(e)},addAction:function(e){this.getManager().addAction(e)},supportsType:function(e){return this.getManager().supportsType(e)},supportsAction:function(e){return this.getManager().supportsAction(e)},addData:function(e,t){this.getManager().addData(e,t)},getData:function(e){return this.getManager().getData(e)},getDataAsync:function(e){return this.getManager().getDataAsync(e)},getCurrentType:function(){return this.getManager().getCurrentType()},getCurrentAction:function(){return this.getDefaultPrevented()?null:this.getManager().getCurrentAction()},getCurrentActionAsync:function(){return this.getDefaultPrevented()?null:this.getManager().getCurrentActionAsync()},setDropAllowed:function(e){this.getManager().setDropAllowed(e)},getDragTarget:function(){return this.getManager().getDragTarget()},stopSession:function(){this.getManager().clearSession()}}});qx.event.type.Drag.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.bom.Input":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine",load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Input",{extend:qx.html.Element,construct:function(e,t,n){if("select"===e||"textarea"===e)var r=e;else r="input";qx.html.Element.constructor.call(this,r,t,n);this.__P_82_0=e;this.registerProperty("value",this._getValueProperty,this._setValueProperty);this.registerProperty("wrap",null,this._setWrapProperty)},members:{__P_82_0:null,__P_82_1:null,__P_82_2:null,_useNodeImpl:function(e,t){qx.html.Input.superclass.prototype._useNodeImpl.call(this,e,t)},_createDomElement:function(){return qx.bom.Input.create(this.__P_82_0)},_setValueProperty:function(e){var t=this.getDomElement();qx.bom.Input.setValue(t,e)},_getValueProperty:function(){var e=this.getDomElement();return qx.bom.Input.getValue(e)},_setWrapProperty:function(e){var t=this.getDomElement();qx.bom.Input.setWrap(t,e);this.setStyle("overflow",t.style.overflow,!0);this.setStyle("overflowX",t.style.overflowX,!0);this.setStyle("overflowY",t.style.overflowY,!0)},setEnabled:function(e){this.__P_82_2=e;this.setAttribute("disabled",!1===e);"webkit"==qx.core.Environment.get("engine.name")&&(e?this.setStyles({userModify:null,userSelect:this.__P_82_1?null:"none"}):this.setStyles({userModify:"read-only",userSelect:"none"}))},setSelectable:qx.core.Environment.select("engine.name",{webkit:function(e){this.__P_82_1=e;qx.html.Input.superclass.prototype.setSelectable.call(this,this.__P_82_2&&e)},default:function(e){qx.html.Input.superclass.prototype.setSelectable.call(this,e)}}),setValue:function(e){var t=this.getDomElement();t?t.value!=e&&qx.bom.Input.setValue(t,e):this._setProperty("value",e);return this},getValue:function(){var e=this.getDomElement();return e?qx.bom.Input.getValue(e):this._getProperty("value")||""},setWrap:function(e,t){if("textarea"!==this.__P_82_0)throw new Error("Text wrapping is only support by textareas!");this._setProperty("wrap",e,t);return this},getWrap:function(){if("textarea"===this.__P_82_0)return this._getProperty("wrap");throw new Error("Text wrapping is only support by textareas!")}}});qx.html.Input.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.lang.String":{},"qx.theme.manager.Font":{},"qx.theme.manager.Color":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.Font",{extend:qx.core.Object,construct:function(e,t){qx.core.Object.constructor.call(this);this.__P_99_0={fontFamily:"",fontSize:null,fontWeight:null,fontStyle:null,textDecoration:null,lineHeight:null,color:null,textShadow:null,letterSpacing:null};void 0!==e&&this.setSize(e);void 0!==t&&this.setFamily(t)},statics:{fromString:function(e){for(var t,n=new qx.bom.Font,r=e.split(/\s+/),i=[],o=0;o0&&n.setFamily(i);return n},fromConfig:function(e){var t=new qx.bom.Font;t.set(e);return t},__P_99_1:{fontFamily:"",fontSize:"",fontWeight:"",fontStyle:"",textDecoration:"",lineHeight:1.2,color:"",textShadow:"",letterSpacing:""},getDefaultStyles:function(){return this.__P_99_1}},properties:{size:{check:"Integer",nullable:!0,apply:"_applySize"},lineHeight:{check:"Number",nullable:!0,apply:"_applyLineHeight"},comparisonString:{check:"String",init:null,nullable:!0},version:{check:function(e){return null===e||"string"==typeof e&&/^[a-zA-Z0-9.-]+$/.test(e)},init:null,nullable:!0},family:{check:"Array",nullable:!0,apply:"_applyFamily"},bold:{check:"Boolean",nullable:!0,apply:"_applyBold"},italic:{check:"Boolean",nullable:!0,apply:"_applyItalic"},decoration:{check:["underline","line-through","overline"],nullable:!0,apply:"_applyDecoration"},color:{check:"Color",nullable:!0,apply:"_applyColor"},textShadow:{nullable:!0,check:"String",apply:"_applyTextShadow"},weight:{nullable:!0,check:"String",apply:"_applyWeight"},letterSpacing:{check:"Integer",nullable:!0,apply:"_applyLetterSpacing"},fontName:{check:"String",nullable:!0,apply:"_applyFontName"}},members:{__P_99_0:null,loadComplete:function(){},_applySize:function(e,t){this.__P_99_0.fontSize=null===e?null:e+"px"},_applyLineHeight:function(e,t){this.__P_99_0.lineHeight=null===e?null:e},_applyFamily:function(e,t){for(var n="",r=0,i=e.length;r0?n+="'"+e[r]+"'":n+=e[r];r!==i-1&&(n+=",")}this.__P_99_0.fontFamily=n},_applyFontName:function(e){if(e){var t=qx.theme.manager.Font.getInstance().getManifestFonts()[e];if(t){var n={};["family","comparisonString"].forEach((function(e){void 0!==t[e]&&(n[e]=t[e])}));this.set(n)}else this.warn("Cannot find a font called "+e)}},_applyBold:function(e,t){this.__P_99_0.fontWeight=null==e?null:e?"bold":"normal"},_applyItalic:function(e,t){this.__P_99_0.fontStyle=null==e?null:e?"italic":"normal"},_applyDecoration:function(e,t){this.__P_99_0.textDecoration=null==e?null:e},_applyColor:function(e,t){this.__P_99_0.color=null;e&&(this.__P_99_0.color=qx.theme.manager.Color.getInstance().resolve(e))},_applyWeight:function(e,t){this.__P_99_0.fontWeight=e},_applyTextShadow:function(e,t){this.__P_99_0.textShadow=null==e?null:e},_applyLetterSpacing:function(e,t){this.__P_99_0.letterSpacing=null===e?null:e+"px"},getStyles:function(){return this.__P_99_0}}});qx.bom.Font.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,s=Object.create(o.prototype),a=new D(r||[]);return i(s,"_invoke",{value:M(e,n,a)}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",f="suspendedYield",_="executing",p="completed",m={};function g(){}function v(){}function b(){}var y={};l(y,s,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(I([])));w&&w!==n&&r.call(w,s)&&(y=w);var q=b.prototype=g.prototype=Object.create(y);function P(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(i,o,s,a){var u=h(e[i],e,o);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==_typeof(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(c).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,a)}))}a(u.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function M(t,n,r){var i=d;return function(o,s){if(i===_)throw new Error("Generator is already running");if(i===p){if("throw"===o)throw s;return{value:e,done:!0}}for(r.method=o,r.arg=s;;){var a=r.delegate;if(a){var u=C(a,r);if(u){if(u===m)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=_;var l=h(t,n,r);if("normal"===l.type){if(i=r.done?p:f,l.arg===m)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=p,r.method="throw",r.arg=l.arg)}}}function C(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=h(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var s=o.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function I(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var u=r.call(s,"catchLoc"),l=r.call(s,"finallyLoc");if(u&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function asyncGeneratorStep(e,t,n,r,i,o,s){try{var a=e[o](s),u=a.value}catch(e){n(e);return}a.done?t(u):Promise.resolve(u).then(r,i)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){asyncGeneratorStep(o,r,i,s,a,"next",e)}function a(e){asyncGeneratorStep(o,r,i,s,a,"throw",e)}s(void 0)}))}}function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();s=e.done;return e},e:function(e){a=!0;o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);return"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1?t.setValid(!0):t.setValid(!1)}))},checkValid:function(){var e=this;return _asyncToGenerator(_regeneratorRuntime().mark((function t(){return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.next=2;return e.__P_98_2;case 2:case"end":return t.stop()}}),t)})))()},__P_98_0:function(e){this.fireDataEvent("changeStatus",{family:this.getFamily(),valid:e})}},statics:{VALIDATION_TIMEOUT:5e3}});qx.bom.webfonts.WebFont.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.dom.Element":{},"qx.bom.client.Css":{require:!0},"qx.bom.client.Html":{require:!0},"qx.bom.element.Style":{},"qx.bom.element.Attribute":{},"qx.bom.element.Dimension":{}},environment:{provided:[],required:{"css.textoverflow":{className:"qx.bom.client.Css"},"html.xul":{className:"qx.bom.client.Html"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Label",{statics:{__P_100_0:{fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1,wordBreak:1,letterSpacing:1},__P_100_1:function(){var e=this.__P_100_2(!1);document.body.insertBefore(e,document.body.firstChild);return this._textElement=e},__P_100_3:function(){var e=this.__P_100_2(!0);document.body.insertBefore(e,document.body.firstChild);return this._htmlElement=e},__P_100_2:function(e){var t=qx.dom.Element.create("div");(n=t.style).width=n.height="auto";n.left=n.top="-1000px";n.visibility="hidden";n.position="absolute";n.overflow="visible";n.display="block";if(e)n.whiteSpace="normal";else{n.whiteSpace="nowrap";if(!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")){var n,r=document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul","label");(n=r.style).padding="0";n.margin="0";n.width="auto";for(var i in this.__P_100_0)n[i]="inherit";t.appendChild(r)}}return t},__P_100_4:function(e){var t={overflow:"hidden"};if(e)t.whiteSpace="normal";else if(!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul"))t.display="block";else{t.whiteSpace="nowrap";t[qx.core.Environment.get("css.textoverflow")]="ellipsis"}return t},create:function(e,t,n){n||(n=window);var r=n.document.createElement("div");t&&(r.useHtml=!0);if(!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")){var i=n.document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul","label"),o=i.style;o.cursor="inherit";o.color="inherit";o.overflow="hidden";o.maxWidth="100%";o.padding="0";o.margin="0";o.width="auto";for(var s in this.__P_100_0)i.style[s]="inherit";i.setAttribute("crop","end");r.appendChild(i)}else qx.bom.element.Style.setStyles(r,this.__P_100_4(t));e&&this.setValue(r,e);return r},__P_100_5:null,setSanitizer:function(e){qx.bom.Label.__P_100_5=e},setValue:function(e,t){t=t||"";if(e.useHtml){qx.bom.Label.__P_100_5&&"function"==typeof qx.bom.Label.__P_100_5&&(t=qx.bom.Label.__P_100_5(t));e.innerHTML=t}else!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")?e.firstChild.setAttribute("value",t):qx.bom.element.Attribute.set(e,"text",t)},getValue:function(e){return e.useHtml?e.innerHTML:!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")?e.firstChild.getAttribute("value")||"":qx.bom.element.Attribute.get(e,"text")},getHtmlSize:function(e,t,n){var r=this._htmlElement||this.__P_100_3();r.style.width=null!=n?n+"px":"auto";r.innerHTML=e;return this.__P_100_6(r,t)},getTextSize:function(e,t){var n=this._textElement||this.__P_100_1();!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")?n.firstChild.setAttribute("value",e):qx.bom.element.Attribute.set(n,"text",e);return this.__P_100_6(n,t)},__P_100_6:function(e,t){var n=this.__P_100_0;t||(t={});for(var r in n)e.style[r]=t[r]||"";var i=qx.bom.element.Dimension.getSize(e);i.width++;return i}}});qx.bom.Label.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.bom.Label":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Label",{extend:qx.html.Element,construct:function(e,t,n){qx.html.Element.constructor.call(this,e,t,n);this.registerProperty("value",null,this._setValueProperty)},members:{__P_96_0:null,_setValueProperty:function(e){var t=this.getDomElement();qx.bom.Label.setValue(t,e)},_createDomElement:function(){var e=this.__P_96_0,t=qx.bom.Label.create(this._content,e);t.style.overflow="hidden";return t},_copyData:function(e,t){return qx.html.Label.superclass.prototype._copyData.call(this,!0,t)},setRich:function(e){if(this.getDomElement())throw new Error("The label mode cannot be modified after initial creation");e=!!e;if(this.__P_96_0==e)return this;this.__P_96_0=e;return this},setValue:function(e){this._setProperty("value",e);return this},getValue:function(){return this._getProperty("value")},resetValue:function(){return this._removeProperty("value")}}});qx.html.Label.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.LineSizeIterator",{extend:Object,construct:function(e,t){this.__P_93_0=e;this.__P_93_1=t;this.__P_93_2=e.length>0;this.__P_93_3=0},members:{__P_93_0:null,__P_93_1:null,__P_93_2:null,__P_93_3:null,computeNextLine:function(e){e=e||1/0;if(!this.__P_93_2)throw new Error("No more lines to compute");for(var t=this.__P_93_0,n=0,r=0,i=[],o=[],s=this.__P_93_3;se){this.__P_93_3=s;break}var h=u.height+a.getMarginTop()+a.getMarginBottom();i.push(a);o.push(l);r+=c;n=Math.max(n,h);if(a.getLayoutProperties().lineBreak){this.__P_93_3=s+1;break}}s>=t.length&&(this.__P_93_2=!1);return{height:n,width:r,children:i,gapsBefore:o}},__P_93_4:function(e){return e==this.__P_93_3?this.__P_93_0[e].getMarginLeft():Math.max(this.__P_93_0[e-1].getMarginRight(),this.__P_93_0[e].getMarginLeft(),this.__P_93_1)},hasMoreLines:function(){return this.__P_93_2}}});qx.ui.layout.LineSizeIterator.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,s=Object.create(o.prototype),a=new D(r||[]);return i(s,"_invoke",{value:M(e,n,a)}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",f="suspendedYield",_="executing",p="completed",m={};function g(){}function v(){}function b(){}var y={};l(y,s,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(I([])));w&&w!==n&&r.call(w,s)&&(y=w);var q=b.prototype=g.prototype=Object.create(y);function P(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(i,o,s,a){var u=h(e[i],e,o);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==_typeof(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(c).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,a)}))}a(u.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function M(t,n,r){var i=d;return function(o,s){if(i===_)throw new Error("Generator is already running");if(i===p){if("throw"===o)throw s;return{value:e,done:!0}}for(r.method=o,r.arg=s;;){var a=r.delegate;if(a){var u=C(a,r);if(u){if(u===m)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=_;var l=h(t,n,r);if("normal"===l.type){if(i=r.done?p:f,l.arg===m)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=p,r.method="throw",r.arg=l.arg)}}}function C(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=h(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var s=o.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function I(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var u=r.call(s,"catchLoc"),l=r.call(s,"finallyLoc");if(u&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function asyncGeneratorStep(e,t,n,r,i,o,s){try{var a=e[o](s),u=a.value}catch(e){n(e);return}a.done?t(u):Promise.resolve(u).then(r,i)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){asyncGeneratorStep(o,r,i,s,a,"next",e)}function a(e){asyncGeneratorStep(o,r,i,s,a,"throw",e)}s(void 0)}))}}!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.bom.webfonts.Validator":{},"qx.bom.webfonts.WebFont":{},"qx.util.ResourceManager":{},"qx.lang.Array":{},"qx.Promise":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.Stylesheet":{},"qx.bom.client.OperatingSystem":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"},"browser.name":{className:"qx.bom.client.Browser"},"browser.version":{className:"qx.bom.client.Browser"},"os.name":{className:"qx.bom.client.OperatingSystem"},"os.version":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.webfonts.WebFontLoader",{extend:qx.core.Object,construct:function(e){qx.core.Object.constructor.call(this);this.setFontFamily(e);this.__P_158_0={}},properties:{fontFamily:{check:"String"},fontFaces:{nullable:!0,apply:"_applyFontFaces"},css:{nullable:!0,check:"Array"},comparisonString:{check:"String",init:null,nullable:!0},version:{check:function(e){return null===e||"string"==typeof e&&/^[a-zA-Z0-9.-]+$/.test(e)},init:null,nullable:!0}},members:{__P_158_1:null,__P_158_2:null,_validators:null,getValidator:function(e,t){var n=(e=e||"normal")+"::"+(t=t||"normal"),r=this.__P_158_0[n];if(!r){(r=this.__P_158_0[n]=new qx.bom.webfonts.Validator(this.getFontFamily(),this.getComparisonString(),e,t)).setTimeout(qx.bom.webfonts.WebFont.VALIDATION_TIMEOUT);r.validate()}return r},load:function(){var e=this;return _asyncToGenerator(_regeneratorRuntime().mark((function t(){var n;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(e.getCss()||[]).forEach((function(t){t.match(/^https?:/)||(t=qx.util.ResourceManager.getInstance().toUri(t));if(e.getVersion()){t+=t.indexOf("?")<0?"?":"&";t+=e.getVersion()}qx.bom.webfonts.WebFontLoader.__P_158_3(t)}));if(n=e.getFontFaces()){n.forEach((function(t){t.paths&&(t.paths=t.paths.map((function(t){t.match(/^https?:/)||(t=qx.util.ResourceManager.getInstance().toUri(t));if(e.getVersion()){t+=t.indexOf("?")<0?"?":"&";t+=e.getVersion()}return t})))}));e.__P_158_1=qx.lang.Array.clone(n);e.__P_158_2=new qx.Promise}e.__P_158_4();case 4:case"end":return t.stop()}}),t)})))()},promiseLoaded:function(){var e=this;return _asyncToGenerator(_regeneratorRuntime().mark((function t(){return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.next=2;return e.__P_158_2;case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},__P_158_4:function(){var e=this;if(null!=this.__P_158_1){var t=this.__P_158_1.pop();this.__P_158_5(t);if(0==this.__P_158_1.length){this.__P_158_1=null;this.__P_158_2.resolve(!0)}"mshtml"==qx.core.Environment.get("engine.name")&&(parseInt(qx.core.Environment.get("engine.version"))<9||qx.core.Environment.get("browser.documentmode")<9)?setTimeout((function(){return e.__P_158_4()}),100):this.__P_158_4()}},__P_158_5:function(e){var t=e.fontFamily||this.getFontFamily(),n=qx.bom.webfonts.WebFontLoader.createFontLookupKey(t,e.fontWeight||"normal",e.fontStyle||"normal");if(!qx.bom.webfonts.WebFontLoader.__P_158_6[n]){if(!qx.bom.webfonts.WebFontLoader.__P_158_7){var r=qx.bom.Stylesheet.createElement();qx.bom.webfonts.WebFontLoader.__P_158_7=r}for(var i=new RegExp(".("+qx.bom.webfonts.WebFontLoader.getPreferredFormats().join("|")+")"),o=[],s=0;s0&&(c+=", ");c+="url('"+new URL(o[h].url,document.baseURI).href+"')";h>0&&(c+=" format('"+o[h].format+"')")}var d="font-family: "+t+";\n";d+=(c+=";\n")+"\n";d+="font-style: "+(e.fontStyle||"normal")+";\n";d="@font-face {\n"+(d+="font-weight: "+(e.fontWeight||"normal")+";\n")+"}\n";var f=qx.bom.webfonts.WebFontLoader.__P_158_7;try{if("ie"==qx.core.Environment.get("browser.name")&&qx.core.Environment.get("browser.documentmode")<9){var _=qx.bom.webfonts.WebFontLoader.__P_158_8(f.cssText);_+=d;f.cssText=_}else f.insertRule(d,f.cssRules.length)}catch(e){}qx.bom.webfonts.WebFontLoader.__P_158_6[n]=!0}},_applyFontFaces:function(e,t){for(var n=[],r=0,i=e.length;r=14||"firefox"==t&&n>=69||"chrome"==t&&n>=36)&&e.push("woff2");("ie"==t&&qx.core.Environment.get("browser.documentmode")>=9||"edge"==t&&n>=12||"firefox"==t&&n>=3.6||"chrome"==t&&n>=6)&&e.push("woff");("edge"==t&&n>=12||"opera"==t&&n>=10||"safari"==t&&n>=3.1||"firefox"==t&&n>=3.5||"chrome"==t&&n>=4||"mobile safari"==t&&"ios"==r&&i>=4.2)&&e.push("ttf");"ie"==t&&n>=4&&e.push("eot");"mobileSafari"==t&&"ios"==r&&i>=4.1&&e.push("svg");return qx.bom.webfonts.WebFontLoader.__P_158_9=e},__P_158_8:function(e){return e.replace("'eot)","'eot')").replace("('embedded-opentype)","('embedded-opentype')")}}});qx.bom.webfonts.WebFontLoader.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.bom.element.Decoration":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Image",{extend:qx.html.Element,construct:function(e,t,n){qx.html.Element.constructor.call(this,e,t,n);this.registerProperty("source",null,this._setSourceProperty,(function(e,t,n){return n.value&&e("src="+JSON.stringify(n.value))}));this.registerProperty("scale",null,this._setScaleProperty)},members:{__P_125_0:null,__P_125_1:null,tagNameHint:null,setPadding:function(e,t){this.__P_125_1=e;this.__P_125_0=t;"div"==this.getNodeName()&&this.setStyle("backgroundPosition",e+"px "+t+"px")},_setSourceProperty:function(e){var t=this.getDomElement(),n=this.getAllStyles()||{};"div"==this.getNodeName()&&this.getStyle("backgroundImage")&&(n.backgroundRepeat=null);var r=this._getProperty("source"),i=this._getProperty("scale")?"scale":"no-repeat";if(null!=r){r=r||null;n.paddingTop=this.__P_125_0;n.paddingLeft=this.__P_125_1;qx.bom.element.Decoration.update(t,r,i,n)}},_setScaleProperty:function(e){},_removeProperty:function(e,t){"source"==e?this._setProperty(e,"",t):this._setProperty(e,null,t)},_createDomElement:function(){var e=this._getProperty("scale")?"scale":"no-repeat";if("mshtml"==qx.core.Environment.get("engine.name")){var t=this._getProperty("source");null!=this.tagNameHint?this.setNodeName(this.tagNameHint):this.setNodeName(qx.bom.element.Decoration.getTagName(e,t))}else this.setNodeName(qx.bom.element.Decoration.getTagName(e));return qx.html.Image.superclass.prototype._createDomElement.call(this)},_copyData:function(e,t){return qx.html.Image.superclass.prototype._copyData.call(this,!0,t)},setSource:function(e){this._setProperty("source",e);return this},getSource:function(){return this._getProperty("source")},resetSource:function(){"webkit"==qx.core.Environment.get("engine.name")?this._setProperty("source","qx/static/blank.gif"):this._removeProperty("source",!0);return this},setScale:function(e){this._setProperty("scale",e);return this},getScale:function(){return this._getProperty("scale")}}});qx.html.Image.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.bom.Iframe":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Iframe",{extend:qx.html.Element,construct:function(e,t,n){qx.html.Element.constructor.call(this,"iframe",t,n);this.registerProperty("source",null,this._setSourceProperty);this.setSource(e);this.addListener("navigate",this.__P_190_0,this);qx.html.Element._modified[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")},events:{load:"qx.event.type.Event",navigate:"qx.event.type.Data"},members:{_setSourceProperty:function(e){var t=this.getDomElement();e!==qx.bom.Iframe.queryCurrentUrl(t)&&qx.bom.Iframe.setSource(t,e)},_createDomElement:function(){return qx.bom.Iframe.create()},getWindow:function(){var e=this.getDomElement();return e?qx.bom.Iframe.getWindow(e):null},getDocument:function(){var e=this.getDomElement();return e?qx.bom.Iframe.getDocument(e):null},getBody:function(){var e=this.getDomElement();return e?qx.bom.Iframe.getBody(e):null},setSource:function(e){this._setProperty("source",e,!0);return this},getSource:function(){return this._getProperty("source")},setName:function(e){this.setAttribute("name",e);return this},getName:function(){return this.getAttribute("name")},reload:function(){if(this.getDomElement()){var e=this.getSource();this.setSource(null);this.setSource(e)}},__P_190_0:function(e){var t=e.getData();t&&this.setSource(t)}}});qx.html.Iframe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Mouse":{require:!0},"qx.util.Wheel":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.MouseWheel",{extend:qx.event.type.Mouse,members:{stop:function(){this.stopPropagation();this.preventDefault()},getWheelDelta:function(e){return qx.util.Wheel.getDelta(this._native,e)}}});qx.event.type.MouseWheel.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Event":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Orientation",{extend:qx.event.type.Event,members:{__P_192_0:null,__P_192_1:null,init:function(e,t){qx.event.type.Orientation.superclass.prototype.init.call(this,!1,!1);this.__P_192_0=e;this.__P_192_1=t;return this},clone:function(e){var t=qx.event.type.Orientation.superclass.prototype.clone.call(this,e);t.__P_192_0=this.__P_192_0;t.__P_192_1=this.__P_192_1;return t},getOrientation:function(){return this.__P_192_0},isLandscape:function(){return"landscape"==this.__P_192_1},isPortrait:function(){return"portrait"==this.__P_192_1}}});qx.event.type.Orientation.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Dom":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Touch",{extend:qx.event.type.Dom,members:{_cloneNativeEvent:function(e,t){(t=qx.event.type.Touch.superclass.prototype._cloneNativeEvent.call(this,e,t)).pageX=e.pageX;t.pageY=e.pageY;t.offsetX=e.offsetX;t.offsetY=e.offsetY;t.layerX=e.offsetX||e.layerX;t.layerY=e.offsetY||e.layerY;t.scale=e.scale;t.rotation=e.rotation;t._rotation=e._rotation;t.delta=e.delta;t.srcElement=e.srcElement;t.targetTouches=[];for(var n=0;n1},getScale:function(){return this._native.scale},getRotation:function(){return void 0===this._native._rotation?this._native.rotation:this._native._rotation},getDelta:function(){return this._native.delta},getDocumentLeft:function(e){return this.__P_181_1(e).pageX},getDocumentTop:function(e){return this.__P_181_1(e).pageY},getScreenLeft:function(e){return this.__P_181_1(e).screenX},getScreenTop:function(e){return this.__P_181_1(e).screenY},getViewportLeft:function(e){return this.__P_181_1(e).clientX},getViewportTop:function(e){return this.__P_181_1(e).clientY},getIdentifier:function(e){return this.__P_181_1(e).identifier},__P_181_1:function(e){e=null==e?0:e;return this.__P_181_0()[e]},__P_181_0:function(){return this._isTouchEnd()?this.getChangedTargetTouches():this.getTargetTouches()},_isTouchEnd:function(){return"touchend"==this.getType()||"touchcancel"==this.getType()}}});qx.event.type.Touch.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{},"qx.bom.client.Browser":{},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["plugin.gears","plugin.quicktime","plugin.quicktime.version","plugin.windowsmedia","plugin.windowsmedia.version","plugin.divx","plugin.divx.version","plugin.silverlight","plugin.silverlight.version","plugin.pdf","plugin.pdf.version","plugin.activex","plugin.skype"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.Plugin",{statics:{getGears:function(){return!(!window.google||!window.google.gears)},getActiveX:function(){if("function"==typeof window.ActiveXObject)return!0;try{return void 0!==window.ActiveXObject&&("object"===_typeof(new window.ActiveXObject("Microsoft.XMLHTTP"))||"object"===_typeof(new window.ActiveXObject("MSXML2.DOMDocument.6.0")))}catch(e){return!1}},getSkype:function(){if(qx.bom.client.Plugin.getActiveX())try{new window.ActiveXObject("Skype.Detection");return!0}catch(e){}var e=navigator.mimeTypes;if(e){if("application/x-skype"in e)return!0;for(var t=0;t1&&2===(r=r[0].split("=")).length)return r[1];if(null!=(r=i.versionInfo))return r;if(null!=(r=i.version))return r;if(null!=(r=i.settings.version))return r}catch(e){return""}return""}for(var o=navigator.plugins,s=/([0-9]\.[0-9])/g,a=0;a").documentElement;return"function"==typeof e.getAttributeNS&&"function"==typeof e.setAttributeNS},getCreateElementNS:function(){return"function"==typeof qx.xml.Document.create().createElementNS},getCreateNode:function(){return void 0!==qx.xml.Document.create().createNode},getQualifiedItem:function(){return void 0!==qx.xml.Document.fromString("").documentElement.attributes.getQualifiedItem}},defer:function(e){qx.core.Environment.add("xml.implementation",e.getImplementation);qx.core.Environment.add("xml.domparser",e.getDomParser);qx.core.Environment.add("xml.selectsinglenode",e.getSelectSingleNode);qx.core.Environment.add("xml.selectnodes",e.getSelectNodes);qx.core.Environment.add("xml.getelementsbytagnamens",e.getElementsByTagNameNS);qx.core.Environment.add("xml.domproperties",e.getDomProperties);qx.core.Environment.add("xml.attributens",e.getAttributeNS);qx.core.Environment.add("xml.createelementns",e.getCreateElementNS);qx.core.Environment.add("xml.createnode",e.getCreateNode);qx.core.Environment.add("xml.getqualifieditem",e.getQualifiedItem)}});qx.bom.client.Xml.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Plugin":{defer:"load",require:!0},"qx.bom.client.Xml":{require:!0}},environment:{provided:[],required:{"plugin.activex":{className:"qx.bom.client.Plugin",defer:!0},"xml.implementation":{className:"qx.bom.client.Xml"},"xml.domparser":{className:"qx.bom.client.Xml"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.xml.Document",{statics:{DOMDOC:null,XMLHTTP:null,isXmlDocument:function(e){return 9===e.nodeType?"HTML"!==e.documentElement.nodeName:!!e.ownerDocument&&this.isXmlDocument(e.ownerDocument)},create:function(e,t){if(qx.core.Environment.get("plugin.activex")){var n=new ActiveXObject(this.DOMDOC);"MSXML2.DOMDocument.3.0"==this.DOMDOC&&n.setProperty("SelectionLanguage","XPath");if(t){var r='\n<';r+=t;e&&(r+=" xmlns='"+e+"'");r+=" />";n.loadXML(r)}return n}if(qx.core.Environment.get("xml.implementation"))return document.implementation.createDocument(e||"",t||"",null);throw new Error("No XML implementation available!")},fromString:function(e){if(qx.core.Environment.get("plugin.activex")){var t=qx.xml.Document.create();t.loadXML(e);return t}if(qx.core.Environment.get("xml.domparser")){return(new DOMParser).parseFromString(e,"text/xml")}throw new Error("No XML implementation available!")}},defer:function(e){if(qx.core.Environment.get("plugin.activex"))for(var t=["MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.3.0"],n=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0"],r=0,i=t.length;r0?n.getRangeAt(0):t.createRange()}})}});qx.bom.Range.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.StringSplit",{statics:{split:function(e,t,n){if("[object RegExp]"!==Object.prototype.toString.call(t))return String.prototype.split.call(e,t,n);var r,i,o,s,a=[],u=0,l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":""),c=(t=RegExp(t.source,l+"g"),void 0===/()??/.exec("")[1]);e+="";c||(r=RegExp("^"+t.source+"$(?!\\s)",l));if(void 0===n||+n<0)n=1/0;else if(!(n=Math.floor(+n)))return[];for(;i=t.exec(e);){if((o=i.index+i[0].length)>u){a.push(e.slice(u,i.index));!c&&i.length>1&&i[0].replace(r,(function(){for(var e=1;e1&&i.index=n)break}t.lastIndex===i.index&&t.lastIndex++}u===e.length?!s&&t.test("")||a.push(""):a.push(e.slice(u));return a.length>n?a.slice(0,n):a}}});qx.util.StringSplit.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Event":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Focus",{extend:qx.event.type.Event,members:{init:function(e,t,n){qx.event.type.Focus.superclass.prototype.init.call(this,n,!1);this._target=e;this._relatedTarget=t;return this}}});qx.event.type.Focus.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Type":{},"qx.util.ResourceManager":{},"qx.lang.Function":{},"qx.event.GlobalError":{require:!0},"qx.bom.client.Engine":{}},environment:{provided:[],required:{"qx.globalErrorHandling":{className:"qx.event.GlobalError"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.io.ImageLoader",{statics:{__P_124_0:{},__P_124_1:{width:null,height:null},__P_124_2:/\.(png|gif|jpg|jpeg|bmp)\b/i,__P_124_3:/^data:image\/(png|gif|jpg|jpeg|bmp)\b/i,isLoaded:function(e){var t=this.__P_124_0[e];return!(!t||!t.loaded)},isFailed:function(e){var t=this.__P_124_0[e];return!(!t||!t.failed)},isLoading:function(e){var t=this.__P_124_0[e];return!(!t||!t.loading)},getFormat:function(e){var t=this.__P_124_0[e];if(!t||!t.format){var n=this.__P_124_3.exec(e);if(null!=n){var r=t&&qx.lang.Type.isNumber(t.width)?t.width:this.__P_124_1.width,i=t&&qx.lang.Type.isNumber(t.height)?t.height:this.__P_124_1.height;t={loaded:!0,format:n[1],width:r,height:i}}}return t?t.format:null},getSize:function(e){var t=this.__P_124_0[e];return t?{width:t.width,height:t.height}:this.__P_124_1},getWidth:function(e){var t=this.__P_124_0[e];return t?t.width:null},getHeight:function(e){var t=this.__P_124_0[e];return t?t.height:null},load:function(e,t,n){var r=this.__P_124_0[e];r||(r=this.__P_124_0[e]={});t&&!n&&(n=window);if(r.loaded||r.loading||r.failed)t&&(r.loading?r.callbacks.push(t,n):t.call(n,e,r));else{r.loading=!0;r.callbacks=[];t&&r.callbacks.push(t,n);var i=qx.util.ResourceManager.getInstance();if(i.isFontUri(e)){var o=document.createElement("div"),s=i.fromFontUriToCharCode(e);o.value=String.fromCharCode(s);r.element=o;return}o=document.createElement("img");var a=qx.lang.Function.listener(this.__P_124_4,this,o,e);o.onload=a;o.onerror=a;o.src=e;r.element=o}},abort:function(e){var t=this.__P_124_0[e];if(t&&!t.loaded){t.aborted=!0;var n=t.callbacks,r=t.element;r.onload=r.onerror=null;r.src="";delete t.callbacks;delete t.element;delete t.loading;for(var i=0,o=n.length;iparseInt(n.height)?n.height:n.width;u.display=n.display;u.verticalAlign=n.verticalAlign;u.position=n.position;o="";for(var l in u)if(u.hasOwnProperty(l)){var c=u[l];null!==c&&(o+=qx.bom.Style.getCssName(l)+": "+c+";")}var h=s.fromFontUriToCharCode(e);return'
'+String.fromCharCode(h)+"
"}return"img"===r?'':'
'},getTagName:function(e,t){return t&&qx.core.Environment.get("css.alphaimageloaderneeded")&&this.__P_126_1[e]&&t.endsWith(".png")?"div":this.__P_126_2[e]},getAttributes:function(e,t,n){n||(n={});if("mshtml"==qx.core.Environment.get("engine.name")){n.fontSize=0;n.lineHeight=0}else"webkit"==qx.core.Environment.get("engine.name")&&(n.WebkitUserDrag="none");var r,i=qx.util.ResourceManager.getInstance().getImageFormat(e)||qx.io.ImageLoader.getFormat(e);if(qx.core.Environment.get("css.alphaimageloaderneeded")&&this.__P_126_1[t]&&"png"===i){var o=this.__P_126_3(e);this.__P_126_4(n,o.width,o.height);r=this.processAlphaFix(n,t,e)}else{delete n.clip;r="scale"===t?this.__P_126_5(n,t,e):"scale-x"===t||"scale-y"===t?this.__P_126_6(n,t,e):this.__P_126_7(n,t,e)}return r},__P_126_4:function(e,t,n){null==e.width&&null!=t&&(e.width=t+"px");null==e.height&&null!=n&&(e.height=n+"px")},__P_126_3:function(e){return{width:qx.util.ResourceManager.getInstance().getImageWidth(e)||qx.io.ImageLoader.getWidth(e),height:qx.util.ResourceManager.getInstance().getImageHeight(e)||qx.io.ImageLoader.getHeight(e)}},processAlphaFix:function(e,t,n){if("repeat"==t||"repeat-x"==t||"repeat-y"==t)return e;var r="no-repeat"==t?"crop":"scale",i="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+qx.util.ResourceManager.getInstance().toUri(n)+"', sizingMethod='"+r+"')";e.filter=i;e.backgroundImage=e.backgroundRepeat="";delete e["background-image"];delete e["background-repeat"];return{style:e}},__P_126_5:function(e,t,n){var r=qx.util.ResourceManager.getInstance().toUri(n),i=this.__P_126_3(n);this.__P_126_4(e,i.width,i.height);return{src:r,style:e}},__P_126_6:function(e,t,n){var r=qx.util.ResourceManager.getInstance(),i=r.getCombinedFormat(n),o=this.__P_126_3(n);if(i){var s=r.getData(n),a=s[4];return{src:"b64"==i?r.toDataUri(n):r.toUri(a),style:e="scale-x"===t?this.__P_126_8(e,s,o.height):this.__P_126_9(e,s,o.width)}}"scale-x"==t?e.height=null==o.height?null:o.height+"px":"scale-y"==t&&(e.width=null==o.width?null:o.width+"px");return{src:r.toUri(n),style:e}},__P_126_8:function(e,t,n){var r=qx.util.ResourceManager.getInstance().getImageHeight(t[4]);e.clip={top:-t[6],height:n};e.height=r+"px";null!=e.top?e.top=parseInt(e.top,10)+t[6]+"px":null!=e.bottom&&(e.bottom=parseInt(e.bottom,10)+n-r-t[6]+"px");return e},__P_126_9:function(e,t,n){var r=qx.util.ResourceManager.getInstance().getImageWidth(t[4]);e.clip={left:-t[5],width:n};e.width=r+"px";null!=e.left?e.left=parseInt(e.left,10)+t[5]+"px":null!=e.right&&(e.right=parseInt(e.right,10)+n-r-t[5]+"px");return e},__P_126_7:function(e,t,n){var r=qx.util.ResourceManager.getInstance(),i=r.getCombinedFormat(n),o=this.__P_126_3(n);if(i&&"repeat"!==t){var s=r.getData(n),a=s[4];if("b64"==i)var u=r.toDataUri(n),l=0,c=0;else{u=r.toUri(a),l=s[5],c=s[6];if(e.paddingTop||e.paddingLeft||e.paddingRight||e.paddingBottom){var h=e.paddingTop||0,d=e.paddingLeft||0;l+=e.paddingLeft||0;c+=e.paddingTop||0;e.clip={left:d,top:h,width:o.width,height:o.height}}}var f=qx.bom.element.Background.getStyles(u,t,l,c);for(var _ in f)e[_]=f[_];null==o.width||null!=e.width||"repeat-y"!=t&&"no-repeat"!==t||(e.width=o.width+"px");null==o.height||null!=e.height||"repeat-x"!=t&&"no-repeat"!==t||(e.height=o.height+"px");return{style:e}}h=e.paddingTop||0,d=e.paddingLeft||0;e.backgroundPosition=d+"px "+h+"px";this.__P_126_4(e,o.width,o.height);this.__P_126_10(e,n,t);return{style:e}},__P_126_10:function(e,t,n){var r=null,i=null;if(e.backgroundPosition){var o=e.backgroundPosition.split(" ");i=parseInt(o[0],10);isNaN(i)&&(i=o[0]);r=parseInt(o[1],10);isNaN(r)&&(r=o[1])}var s=qx.bom.element.Background.getStyles(t,n,i,r);for(var a in s)e[a]=s[a];e.filter&&(e.filter="")},__P_126_11:function(e){if(this.DEBUG&&qx.util.ResourceManager.getInstance().has(e)&&-1==e.indexOf("qx/icon")&&!this.__P_126_0[e]){qx.log.Logger.debug("Potential clipped image candidate: "+e);this.__P_126_0[e]=!0}}}});qx.bom.element.Decoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.form.IForm":{require:!0},"qx.ui.form.INumberForm":{require:!0},"qx.ui.form.IRange":{require:!0},"qx.ui.form.MForm":{require:!0},"qx.ui.layout.Canvas":{construct:!0},"qx.theme.manager.Decoration":{},"qx.bom.element.Location":{},"qx.event.Timer":{},"qx.bom.AnimationFrame":{},"qx.event.type.Data":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.Slider",{extend:qx.ui.core.Widget,implement:[qx.ui.form.IForm,qx.ui.form.INumberForm,qx.ui.form.IRange],include:[qx.ui.form.MForm],construct:function(e){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.layout.Canvas);this.getContentElement().setAttribute("role","slider");this.addListener("keypress",this._onKeyPress,this);this.addListener("roll",this._onRoll,this);this.addListener("pointerdown",this._onPointerDown,this);this.addListener("pointerup",this._onPointerUp,this);this.addListener("losecapture",this._onPointerUp,this);this.addListener("resize",this._onUpdate,this);this.addListener("contextmenu",this._onStopEvent,this);this.addListener("tap",this._onStopEvent,this);this.addListener("dbltap",this._onStopEvent,this);null!=e?this.setOrientation(e):this.initOrientation()},events:{changeValue:"qx.event.type.Data",slideAnimationEnd:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"slider"},focusable:{refine:!0,init:!0},orientation:{check:["horizontal","vertical"],init:"horizontal",apply:"_applyOrientation"},value:{check:"typeof value==='number'&&value>=this.getMinimum()&&value<=this.getMaximum()",init:0,apply:"_applyValue",nullable:!0},minimum:{check:"Integer",init:0,apply:"_applyMinimum",event:"changeMinimum"},maximum:{check:"Integer",init:100,apply:"_applyMaximum",event:"changeMaximum"},singleStep:{check:"Integer",init:1},pageStep:{check:"Integer",init:10},knobFactor:{check:"Number",apply:"_applyKnobFactor",nullable:!0}},members:{__P_194_0:null,__P_194_1:null,__P_194_2:null,__P_194_3:null,__P_194_4:null,__P_194_5:null,__P_194_6:null,__P_194_7:null,__P_194_8:null,__P_194_9:null,__P_194_10:null,__P_194_11:null,__P_194_12:null,_forwardStates:{invalid:!0},renderLayout:function(e,t,n,r){qx.ui.form.Slider.superclass.prototype.renderLayout.call(this,e,t,n,r);this._updateKnobPosition()},_createChildControlImpl:function(e,t){var n;if("knob"===e){(n=new qx.ui.core.Widget).addListener("resize",this._onUpdate,this);n.addListener("pointerover",this._onPointerOver,this);n.addListener("pointerout",this._onPointerOut,this);this._add(n)}return n||qx.ui.form.Slider.superclass.prototype._createChildControlImpl.call(this,e)},_onPointerOver:function(e){this.addState("hovered")},_onPointerOut:function(e){this.removeState("hovered")},_onRoll:function(e){if("wheel"==e.getPointerType()){var t="horizontal"===this.getOrientation()?"x":"y",n=e.getDelta()[t],r=n>0?1:n<0?-1:0;this.slideBy(r*this.getSingleStep());e.stop()}},_onKeyPress:function(e){var t="horizontal"===this.getOrientation(),n=t?"Left":"Up",r=t?"Right":"Down";switch(e.getKeyIdentifier()){case r:this.slideForward();break;case n:this.slideBack();break;case"PageDown":this.slidePageForward(100);break;case"PageUp":this.slidePageBack(100);break;case"Home":this.slideToBegin(200);break;case"End":this.slideToEnd(200);break;default:return}e.stop()},_onPointerDown:function(e){if(!this.__P_194_3){var t=this.__P_194_13,n=this.getChildControl("knob"),r=t?"left":"top",i=t?e.getDocumentLeft():e.getDocumentTop(),o=this.getDecorator();o=qx.theme.manager.Decoration.getInstance().resolve(o);if(t)var s=o?o.getInsets().left:0,a=(this.getPaddingLeft()||0)+s;else s=o?o.getInsets().top:0,a=(this.getPaddingTop()||0)+s;var u=this.__P_194_0=qx.bom.element.Location.get(this.getContentElement().getDomElement())[r];u+=a;var l=this.__P_194_1=qx.bom.element.Location.get(n.getContentElement().getDomElement())[r];if(e.getTarget()===n){this.__P_194_3=!0;if(!this.__P_194_9){this.__P_194_9=new qx.event.Timer(100);this.__P_194_9.addListener("interval",this._fireValue,this)}this.__P_194_9.start();this.__P_194_4=i+u-l;n.addState("pressed")}else{this.__P_194_5=!0;this.__P_194_6=i<=l?-1:1;this.__P_194_14(e);this._onInterval();if(!this.__P_194_8){this.__P_194_8=new qx.event.Timer(100);this.__P_194_8.addListener("interval",this._onInterval,this)}this.__P_194_8.start()}this.addListener("pointermove",this._onPointerMove,this);this.capture();e.stopPropagation()}},_onPointerUp:function(e){if(this.__P_194_3){this.releaseCapture();delete this.__P_194_3;this.__P_194_9.stop();this._fireValue();delete this.__P_194_4;this.getChildControl("knob").removeState("pressed");if("pointerup"===e.getType()){var t,n,r;if(this.__P_194_13){t=e.getDocumentLeft()-(this._valueToPosition(this.getValue())+this.__P_194_0);r=qx.bom.element.Location.get(this.getContentElement().getDomElement()).top;n=e.getDocumentTop()-(r+this.getChildControl("knob").getBounds().top)}else{t=e.getDocumentTop()-(this._valueToPosition(this.getValue())+this.__P_194_0);r=qx.bom.element.Location.get(this.getContentElement().getDomElement()).left;n=e.getDocumentLeft()-(r+this.getChildControl("knob").getBounds().left)}(n<0||n>this.__P_194_2||t<0||t>this.__P_194_2)&&this.getChildControl("knob").removeState("hovered")}}else if(this.__P_194_5){this.__P_194_8.stop();this.releaseCapture();delete this.__P_194_5;delete this.__P_194_6;delete this.__P_194_7}this.removeListener("pointermove",this._onPointerMove,this);"pointerup"===e.getType()&&e.stopPropagation()},_onPointerMove:function(e){if(this.__P_194_3){var t=(this.__P_194_13?e.getDocumentLeft():e.getDocumentTop())-this.__P_194_4;this.slideTo(this._positionToValue(t))}else this.__P_194_5&&this.__P_194_14(e);e.stopPropagation()},_onInterval:function(e){var t=this.getValue()+this.__P_194_6*this.getPageStep();tthis.getMaximum()&&(t=this.getMaximum());var n=-1==this.__P_194_6;(n&&t<=this.__P_194_7||!n&&t>=this.__P_194_7)&&(t=this.__P_194_7);this.slideTo(t)},_onUpdate:function(e){var t=this.getInnerSize(),n=this.getChildControl("knob").getBounds(),r=this.__P_194_13?"width":"height";this._updateKnobSize();this.__P_194_15=t[r]-n[r];this.__P_194_2=n[r];this._updateKnobPosition()},__P_194_13:!1,__P_194_15:0,__P_194_14:function(e){var t=this.__P_194_13?e.getDocumentLeft():e.getDocumentTop(),n=this.__P_194_0,r=this.__P_194_1,i=this.__P_194_2,o=t-n;t>=r&&(o-=i);var s=this._positionToValue(o),a=this.getMinimum(),u=this.getMaximum();if(su)s=u;else{var l=this.getValue(),c=this.getPageStep(),h=this.__P_194_6<0?"floor":"ceil";s=l+Math[h]((s-l)/c)*c}(null==this.__P_194_7||-1==this.__P_194_6&&s<=this.__P_194_7||1==this.__P_194_6&&s>=this.__P_194_7)&&(this.__P_194_7=s)},_positionToValue:function(e){var t=this.__P_194_15;if(null==t||0==t)return 0;var n=e/t;n<0?n=0:n>1&&(n=1);var r=this.getMaximum()-this.getMinimum();return this.getMinimum()+Math.round(r*n)},_valueToPosition:function(e){var t=this.__P_194_15;if(null==t)return 0;var n=this.getMaximum()-this.getMinimum();if(0==n)return 0;var r=(e=e-this.getMinimum())/n;r<0?r=0:r>1&&(r=1);return Math.round(t*r)},_updateKnobPosition:function(){this._setKnobPosition(this._valueToPosition(this.getValue()))},_setKnobPosition:function(e){var t=this.getChildControl("knob"),n=this.getDecorator();n=qx.theme.manager.Decoration.getInstance().resolve(n);var r=t.getContentElement();if(this.__P_194_13){n&&n.getPadding()&&(e+=n.getPadding().left);e+=this.getPaddingLeft()||0;r.setStyle("left",e+"px",!0)}else{n&&n.getPadding()&&(e+=n.getPadding().top);e+=this.getPaddingTop()||0;r.setStyle("top",e+"px",!0)}},_updateKnobSize:function(){var e=this.getKnobFactor();if(null!=e){var t=this.getInnerSize();null!=t&&(this.__P_194_13?this.getChildControl("knob").setWidth(Math.round(e*t.width)):this.getChildControl("knob").setHeight(Math.round(e*t.height)))}},slideToBegin:function(e){this.slideTo(this.getMinimum(),e)},slideToEnd:function(e){this.slideTo(this.getMaximum(),e)},slideForward:function(){this.slideBy(this.getSingleStep())},slideBack:function(){this.slideBy(-this.getSingleStep())},slidePageForward:function(e){this.slideBy(this.getPageStep(),e)},slidePageBack:function(e){this.slideBy(-this.getPageStep(),e)},slideBy:function(e,t){this.slideTo(this.getValue()+e,t)},slideTo:function(e,t){this.stopSlideAnimation();t?this.__P_194_16(e,t):this.updatePosition(e)},updatePosition:function(e){this.setValue(this.__P_194_17(e))},stopSlideAnimation:function(){if(this.__P_194_12){this.__P_194_12.cancelSequence();this.__P_194_12=null}},__P_194_17:function(e){return e=ethis.getMaximum()?this.getMaximum():this.getMinimum()+Math.round((e-this.getMinimum())/this.getSingleStep())*this.getSingleStep()},__P_194_16:function(e,t){e=this.__P_194_17(e);var n=this.getValue();this.__P_194_12=new qx.bom.AnimationFrame;this.__P_194_12.on("frame",(function(r){this.setValue(parseInt(r/t*(e-n)+n))}),this);this.__P_194_12.on("end",(function(){this.setValue(e);this.__P_194_12=null;this.fireEvent("slideAnimationEnd")}),this);this.__P_194_12.startSequence(t)},_applyOrientation:function(e,t){this.getContentElement().setAttribute("aria-orientation",e);var n=this.getChildControl("knob");this.__P_194_13="horizontal"===e;if(this.__P_194_13){this.removeState("vertical");n.removeState("vertical");this.addState("horizontal");n.addState("horizontal");n.setLayoutProperties({top:0,right:null,bottom:0})}else{this.removeState("horizontal");n.removeState("horizontal");this.addState("vertical");n.addState("vertical");n.setLayoutProperties({right:0,bottom:null,left:0})}this._updateKnobPosition()},_applyKnobFactor:function(e,t){null!=e?this._updateKnobSize():this.__P_194_13?this.getChildControl("knob").resetWidth():this.getChildControl("knob").resetHeight()},_applyValue:function(e,t){if(null!=e){this.getContentElement().setAttribute("aria-valuenow",e);this._updateKnobPosition();this.__P_194_3?this.__P_194_11=[e,t]:this.fireEvent("changeValue",qx.event.type.Data,[e,t])}else this.resetValue()},_fireValue:function(){if(this.__P_194_11){var e=this.__P_194_11;this.__P_194_11=null;this.fireEvent("changeValue",qx.event.type.Data,e)}},_applyMinimum:function(e,t){this.getContentElement().setAttribute("aria-valuemin",e);this.getValue()e&&this.setValue(e);this._updateKnobPosition()}}});qx.ui.form.Slider.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Slider":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.scroll.ScrollSlider",{extend:qx.ui.form.Slider,construct:function(e){qx.ui.form.Slider.constructor.call(this,e);this.removeListener("keypress",this._onKeyPress);this.removeListener("roll",this._onRoll)},members:{_createChildControlImpl:function(e,t){var n;if("knob"===e)(n=qx.ui.core.scroll.ScrollSlider.superclass.prototype._createChildControlImpl.call(this,e)).addListener("dblclick",(function(e){e.stopPropagation()}));return n||qx.ui.core.scroll.ScrollSlider.superclass.prototype._createChildControlImpl.call(this,e)},getSizeHint:function(e){var t=qx.ui.core.scroll.ScrollSlider.superclass.prototype.getSizeHint.call(this);"horizontal"===this.getOrientation()?t.width=0:t.height=0;return t}}});qx.ui.core.scroll.ScrollSlider.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Button":{construct:!0,require:!0},"qx.event.AcceleratingTimer":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.RepeatButton",{extend:qx.ui.form.Button,construct:function(e,t){qx.ui.form.Button.constructor.call(this,e,t);this.__P_137_0=new qx.event.AcceleratingTimer;this.__P_137_0.addListener("interval",this._onInterval,this)},events:{execute:"qx.event.type.Event",press:"qx.event.type.Event",release:"qx.event.type.Event"},properties:{interval:{check:"Integer",init:100},firstInterval:{check:"Integer",init:500},minTimer:{check:"Integer",init:20},timerDecrease:{check:"Integer",init:2}},members:{__P_137_1:null,__P_137_0:null,press:function(){if(this.isEnabled()){this.hasState("pressed")||this.__P_137_2();this.removeState("abandoned");this.addState("pressed")}},release:function(e){if(this.isEnabled()){this.hasState("pressed")&&(this.__P_137_1||this.execute());this.removeState("pressed");this.removeState("abandoned");this.__P_137_3()}},_applyEnabled:function(e,t){qx.ui.form.RepeatButton.superclass.prototype._applyEnabled.call(this,e,t);if(!e){this.isCapturing()&&this.releaseCapture();this.removeState("pressed");this.removeState("abandoned");this.__P_137_3()}},_onPointerOver:function(e){if(this.isEnabled()&&e.getTarget()===this){if(this.hasState("abandoned")){this.removeState("abandoned");this.addState("pressed");this.__P_137_0.start()}this.addState("hovered")}},_onPointerOut:function(e){if(this.isEnabled()&&e.getTarget()===this){this.removeState("hovered");if(this.hasState("pressed")){this.removeState("pressed");this.addState("abandoned");this.__P_137_0.stop()}}},_onPointerDown:function(e){if(e.isLeftPressed()){this.capture();this.__P_137_2();e.stopPropagation()}},_onPointerUp:function(e){this.releaseCapture();if(!this.hasState("abandoned")){this.addState("hovered");this.hasState("pressed")&&!this.__P_137_1&&this.execute()}this.__P_137_3();e.stopPropagation()},_onTap:function(e){},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":if(this.hasState("pressed")){this.__P_137_1||this.execute();this.removeState("pressed");this.removeState("abandoned");e.stopPropagation();this.__P_137_3()}}},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":this.removeState("abandoned");this.addState("pressed");e.stopPropagation();this.__P_137_2()}},_onInterval:function(e){this.__P_137_1=!0;this.fireEvent("execute")},__P_137_2:function(){this.fireEvent("press");this.__P_137_1=!1;this.__P_137_0.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();this.removeState("abandoned");this.addState("pressed")},__P_137_3:function(){this.fireEvent("release");this.__P_137_0.stop();this.removeState("abandoned");this.removeState("pressed")}},destruct:function(){this._disposeObjects("__P_137_0")}});qx.ui.form.RepeatButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{},"qx.event.util.Keyboard":{},"qx.lang.String":{},"qx.locale.Key":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.Shortcut",{extend:qx.core.Object,implement:[qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this.__P_170_0={};this.__P_170_1=null;null!=e&&this.setShortcut(e);this.initEnabled()},events:{execute:"qx.event.type.Data"},properties:{enabled:{init:!0,check:"Boolean",event:"changeEnabled",apply:"_applyEnabled"},shortcut:{check:"String",apply:"_applyShortcut",nullable:!0},autoRepeat:{check:"Boolean",init:!1}},members:{__P_170_0:"",__P_170_1:"",execute:function(e){this.fireDataEvent("execute",e)},__P_170_2:function(e){if(this.getEnabled()&&this.__P_170_3(e)){this.isAutoRepeat()||this.execute(e.getTarget());e.stop()}},__P_170_4:function(e){if(this.getEnabled()&&this.__P_170_3(e)){this.isAutoRepeat()&&this.execute(e.getTarget());e.stop()}},_applyEnabled:function(e,t){if(e){qx.event.Registration.addListener(document.documentElement,"keydown",this.__P_170_2,this);qx.event.Registration.addListener(document.documentElement,"keypress",this.__P_170_4,this)}else{qx.event.Registration.removeListener(document.documentElement,"keydown",this.__P_170_2,this);qx.event.Registration.removeListener(document.documentElement,"keypress",this.__P_170_4,this)}},_applyShortcut:function(e,t){if(e){if(-1!=e.search(/[\s]+/)){var n="Whitespaces are not allowed within shortcuts";this.error(n);throw new Error(n)}this.__P_170_0={Control:!1,Shift:!1,Meta:!1,Alt:!1};this.__P_170_1=null;for(var r,i=[];e.length>0&&-1!=r;){r=e.search(/[-+]+/);i.push(1==e.length||-1==r?e:e.substring(0,r));e=e.substring(r+1)}for(var o=i.length,s=0;s="a"&&e<="z")return e.toUpperCase();e=e.toLowerCase();var n=this.__P_170_6[e]||qx.lang.String.firstUp(e);return t.isValidKeyIdentifier(n)?n:"Unidentified"},toString:function(){var e=this.__P_170_1,t=[];for(var n in this.__P_170_0)this.__P_170_0[n]&&t.push(qx.locale.Key.getKeyName("short",n));e&&t.push(qx.locale.Key.getKeyName("short",e));return t.join("+")}},destruct:function(){this.setEnabled(!1);this.__P_170_0=this.__P_170_1=null}});qx.bom.Shortcut.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.AbstractAxis",{extend:Object,statics:{computeStart:function(e,t,n,r,i){throw new Error("abstract method call!")},_moveToEdgeAndAlign:function(e,t,n,r){switch(r){case"edge-start":return t.start-n.end-e;case"edge-end":return t.end+n.start;case"align-start":return t.start+n.start;case"align-center":return t.start+parseInt((t.end-t.start-e)/2,10)+n.start;case"align-end":return t.end-n.end-e}},_isInRange:function(e,t,n){return e>=0&&e+t<=n}}});qx.util.placement.AbstractAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.placement.AbstractAxis":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.DirectAxis",{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(e,t,n,r,i){return this._moveToEdgeAndAlign(e,t,n,i)}}});qx.util.placement.DirectAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.placement.AbstractAxis":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.KeepAlignAxis",{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,_isInRange:qx.util.placement.AbstractAxis._isInRange,computeStart:function(e,t,n,r,i){var o,s,a=this._moveToEdgeAndAlign(e,t,n,i);if(this._isInRange(a,e,r))return a;if("edge-start"==i||"edge-end"==i){o=t.start-n.end;s=t.end+n.start}else{o=t.end-n.end;s=t.start+n.start}return a=o>r-s?Math.max(0,o-e):s}}});qx.util.placement.KeepAlignAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.placement.AbstractAxis":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.BestFitAxis",{statics:{_isInRange:qx.util.placement.AbstractAxis._isInRange,_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(e,t,n,r,i){var o=this._moveToEdgeAndAlign(e,t,n,i);if(this._isInRange(o,e,r))return o;o<0&&(o=Math.min(0,r-e));o+e>r&&(o=Math.max(0,r-e));return o}}});qx.util.placement.BestFitAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.basic.Atom":{construct:!0,require:!0},"qx.ui.core.MExecutable":{require:!0},"qx.ui.form.IExecutable":{require:!0},"qx.event.AcceleratingTimer":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.HoverButton",{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(e,t){qx.ui.basic.Atom.constructor.call(this,e,t);this.addListener("pointerover",this._onPointerOver,this);this.addListener("pointerout",this._onPointerOut,this);this.__P_132_0=new qx.event.AcceleratingTimer;this.__P_132_0.addListener("interval",this._onInterval,this)},properties:{appearance:{refine:!0,init:"hover-button"},interval:{check:"Integer",init:80},firstInterval:{check:"Integer",init:200},minTimer:{check:"Integer",init:20},timerDecrease:{check:"Integer",init:2}},members:{__P_132_0:null,_onPointerOver:function(e){if(this.isEnabled()&&e.getTarget()===this){this.__P_132_0.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();this.addState("hovered")}},_onPointerOut:function(e){this.__P_132_0.stop();this.removeState("hovered");this.isEnabled()&&e.getTarget()},_onInterval:function(){this.isEnabled()?this.execute():this.__P_132_0.stop()}},destruct:function(){this._disposeObjects("__P_132_0")}});qx.ui.form.HoverButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.event.Emitter":{require:!0},"qx.bom.client.CssAnimation":{construct:!0,require:!0}},environment:{provided:[],required:{"css.animation":{construct:!0,className:"qx.bom.client.CssAnimation"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.AnimationHandle",{extend:qx.event.Emitter,construct:function(){var e=qx.core.Environment.get("css.animation");this.__P_134_0=e&&e["play-state"];this.__P_134_1=!0;this.addListenerOnce("end",this.__P_134_2,this)},events:{start:"Element",end:"Element",iteration:"Element"},members:{__P_134_0:null,__P_134_1:!1,__P_134_3:!1,isPlaying:function(){return this.__P_134_1},isEnded:function(){return this.__P_134_3},isPaused:function(){return"paused"==this.el.style[this.__P_134_0]},pause:function(){if(this.el){this.el.style[this.__P_134_0]="paused";this.el.$$animation.__P_134_1=!1;this.animationId&&qx.bom.element.AnimationJs&&qx.bom.element.AnimationJs.pause(this)}},play:function(){if(this.el){this.el.style[this.__P_134_0]="running";this.el.$$animation.__P_134_1=!0;null!=this.i&&qx.bom.element.AnimationJs&&qx.bom.element.AnimationJs.play(this)}},stop:function(){if(this.el&&qx.core.Environment.get("css.animation")&&!this.jsAnimation){this.el.style[this.__P_134_0]="";this.el.style[qx.core.Environment.get("css.animation").name]="";this.el.$$animation.__P_134_1=!1;this.el.$$animation.__P_134_3=!0}else if(this.jsAnimation){this.stopped=!0;qx.bom.element.AnimationJs.stop(this)}},__P_134_2:function(){this.__P_134_1=!1;this.__P_134_3=!0}}});qx.bom.element.AnimationHandle.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.util.format.IFormat",{members:{format:function(e){},parse:function(e){}}});qx.util.format.IFormat.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.util.format.IFormat":{require:!0},"qx.core.IDisposable":{require:!0},"qx.lang.Type":{construct:!0},"qx.locale.Manager":{construct:!0},"qx.locale.Number":{},"qx.lang.String":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.format.NumberFormat",{extend:qx.core.Object,implement:[qx.util.format.IFormat,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);if(arguments.length>0){if(1!==arguments.length)throw new Error("Wrong number of arguments.");if(!qx.lang.Type.isString(e))throw new Error("Wrong argument type. String is expected.");this.setLocale(e)}if(!e){this.setLocale(qx.locale.Manager.getInstance().getLocale());qx.locale.Manager.getInstance().bind("locale",this,"locale")}},properties:{minimumIntegerDigits:{check:"Number",init:0},maximumIntegerDigits:{check:"Number",nullable:!0},minimumFractionDigits:{check:"Number",init:0},maximumFractionDigits:{check:"Number",nullable:!0},groupingUsed:{check:"Boolean",init:!0},prefix:{check:"String",init:"",event:"changeNumberFormat"},postfix:{check:"String",init:"",event:"changeNumberFormat"},locale:{check:"String",init:null,event:"changeLocale"}},members:{format:function(e){if(isNaN(e))return"NaN";switch(e){case 1/0:return"Infinity";case-1/0:return"-Infinity"}var t=e<0;t&&(e=-e);if(null!=this.getMaximumFractionDigits()){var n=Math.pow(10,this.getMaximumFractionDigits());e=Math.round(e*n)/n}for(var r=String(Math.floor(e)).length,i=""+e,o=i.substring(0,r);o.lengththis.getMaximumIntegerDigits()&&(o=o.substring(o.length-this.getMaximumIntegerDigits()));for(var s=i.substring(r+1);s.lengththis.getMaximumFractionDigits()&&(s=s.substring(0,this.getMaximumFractionDigits()));if(this.getGroupingUsed()){var a,u=o;o="";for(a=u.length;a>3;a-=3)o=""+qx.locale.Number.getGroupSeparator(this.getLocale())+u.substring(a-3,a)+o;o=u.substring(0,a)+o}var l=this.getPrefix()?this.getPrefix():"",c=this.getPostfix()?this.getPostfix():"",h=l+(t?"-":"")+o;s.length>0&&(h+=""+qx.locale.Number.getDecimalSeparator(this.getLocale())+s);return h+=c},parse:function(e){var t=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this.getLocale())+""),n=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this.getLocale())+""),r=new RegExp("^("+qx.lang.String.escapeRegexpChars(this.getPrefix())+")?([-+]){0,1}([0-9]{1,3}(?:"+t+"{0,1}[0-9]{3}){0,}){0,1}("+n+"\\d+){0,1}("+qx.lang.String.escapeRegexpChars(this.getPostfix())+")?$").exec(e);if(null==r)throw new Error("Number string '"+e+"' does not match the number format");var i="-"==r[2],o=r[3]||"0",s=r[4],a=(i?"-":"")+(o=o.replace(new RegExp(t,"g"),""));null!=s&&0!=s.length&&(a+="."+(s=s.replace(new RegExp(n),"")));return parseFloat(a)}},destruct:function(){qx.locale.Manager.getInstance().removeRelatedBindings(this)}});qx.util.format.NumberFormat.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.locale.Manager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.locale.Number",{statics:{getDecimalSeparator:function(e){return qx.locale.Manager.getInstance().localize("cldr_number_decimal_separator",[],e)},getGroupSeparator:function(e){return qx.locale.Manager.getInstance().localize("cldr_number_group_separator",[],e)},getPercentFormat:function(e){return qx.locale.Manager.getInstance().localize("cldr_number_percent_format",[],e)}}});qx.locale.Number.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.dom.Element":{},"qx.lang.Type":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine",load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Input",{statics:{__P_153_0:{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(e,t,n){var r;t=t?qx.lang.Object.clone(t):{};if("textarea"===e||"select"===e)r=e;else{r="input";t.type=e}return qx.dom.Element.create(r,t,n)},setValue:function(e,t){var n=e.nodeName.toLowerCase(),r=e.type,i=qx.lang.Type;"number"==typeof t&&(t+="");if("checkbox"===r||"radio"===r)i.isArray(t)?e.checked=t.includes(e.value):e.checked=e.value==t;else if("select"===n){for(var o,s,a=i.isArray(t),u=e.options,l=0,c=u.length;l=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var u=r.call(s,"catchLoc"),l=r.call(s,"finallyLoc");if(u&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function asyncGeneratorStep(e,t,n,r,i,o,s){try{var a=e[o](s),u=a.value}catch(e){n(e);return}a.done?t(u):Promise.resolve(u).then(r,i)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){asyncGeneratorStep(o,r,i,s,a,"next",e)}function a(e){asyncGeneratorStep(o,r,i,s,a,"throw",e)}s(void 0)}))}}!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.Promise":{construct:!0},"qx.bom.Label":{},"qx.bom.client.Browser":{require:!0},"qx.event.Timer":{},"qx.bom.element.Dimension":{},"qx.lang.Object":{},"qx.bom.element.Style":{}},environment:{provided:[],required:{"browser.name":{className:"qx.bom.client.Browser"},"browser.version":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.webfonts.Validator",{extend:qx.core.Object,construct:function(e,t,n,r){qx.core.Object.constructor.call(this);t&&this.setComparisonString(t);n&&this.setFontWeight(n);r&&this.setFontStyle(r);if(e){this.setFontFamily(e);this.__P_186_0=this._getRequestedHelpers()}this.__P_186_1=new qx.Promise},statics:{COMPARISON_FONTS:{sans:["Arial","Helvetica","sans-serif"],serif:["Times New Roman","Georgia","serif"]},HELPER_CSS:{position:"absolute",margin:"0",padding:"0",top:"-1000px",left:"-1000px",fontSize:"350px",width:"auto",height:"auto",lineHeight:"normal",fontVariant:"normal",visibility:"hidden"},COMPARISON_STRING:"WEei",__P_186_2:null,__P_186_3:null,removeDefaultHelperElements:function(){var e=qx.bom.webfonts.Validator.__P_186_3;if(e)for(var t in e)document.body.removeChild(e[t]);delete qx.bom.webfonts.Validator.__P_186_3}},properties:{fontFamily:{nullable:!0,init:null,apply:"_applyFontFamily"},fontWeight:{nullable:!0,check:"String",apply:"_applyFontWeight"},fontStyle:{nullable:!0,check:"String",apply:"_applyFontStyle"},comparisonString:{nullable:!0,init:null},timeout:{check:"Integer",init:5e3}},events:{changeStatus:"qx.event.type.Data"},members:{__P_186_0:null,__P_186_4:null,__P_186_5:null,__P_186_1:null,validate:function(){var e=this;if(!this.__P_186_5){var t=function(t){e.__P_186_4&&e.__P_186_4.stop();e._reset();e.__P_186_1.resolve(t);e.fireDataEvent("changeStatus",{family:e.getFontFamily(),valid:t})};if(document.fonts&&"function"==typeof document.fonts.load){this.__P_186_5=(new Date).getTime();var n="".concat(this.getFontStyle()||"normal"," ").concat(this.getFontWeight()||"normal"," 14px ").concat(this.getFontFamily()),r=function(){var r=_asyncToGenerator(_regeneratorRuntime().mark((function r(){return _regeneratorRuntime().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:r.prev=0;r.next=3;return document.fonts.load(n);case 3:r.next=5;return document.fonts.ready;case 5:qx.bom.Label.getTextSize("Hello World",{fontFamily:e.getFontFamily(),fontStyle:e.getFontStyle(),fontWeight:e.getFontWeight()});setTimeout((function(){return t(e._isFontValid())}),100);r.next=13;break;case 9:r.prev=9;r.t0=r.catch(0);e.warn("Exception while loading font ".concat(n,": ")+r.t0);t(!1);case 13:case"end":return r.stop()}}),r,null,[[0,9]])})));return function(){return r.apply(this,arguments)}}();r()}else{this.__P_186_5=(new Date).getTime();"".concat(this.getFontStyle()||"normal"," ").concat(this.getFontWeight()||"normal"," 14px ").concat(this.getFontFamily());var i=function(){if(e._isFontValid())"safari"==qx.core.Environment.get("browser.name")&&parseFloat(qx.core.Environment.get("browser.version"))>=8?setTimeout((function(){return t(!0)}),100):t(!0);else{(new Date).getTime()-e.__P_186_5>=e.getTimeout()&&t(!1)}};qx.event.Timer.once((function(){e.__P_186_4=new qx.event.Timer(100);e.__P_186_4.addListener("interval",i);e.__P_186_4.start()}),this,0)}}},isValid:function(){var e=this;return _asyncToGenerator(_regeneratorRuntime().mark((function t(){return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.next=2;return e.__P_186_1;case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},_reset:function(){if(this.__P_186_0){for(var e in this.__P_186_0){var t=this.__P_186_0[e];document.body.removeChild(t)}this.__P_186_0=null}},_isFontValid:function(){qx.bom.webfonts.Validator.__P_186_2||this.__P_186_6();this.__P_186_0||(this.__P_186_0=this._getRequestedHelpers());this.__P_186_0.sans.style.visibility="visible";this.__P_186_0.sans.style.visibility="hidden";this.__P_186_0.serif.style.visibility="visible";this.__P_186_0.serif.style.visibility="hidden";var e=qx.bom.element.Dimension.getWidth(this.__P_186_0.sans),t=qx.bom.element.Dimension.getWidth(this.__P_186_0.serif),n=qx.bom.webfonts.Validator;return e!==n.__P_186_2.sans||t!==n.__P_186_2.serif},_getRequestedHelpers:function(){var e=[this.getFontFamily()].concat(qx.bom.webfonts.Validator.COMPARISON_FONTS.sans),t=[this.getFontFamily()].concat(qx.bom.webfonts.Validator.COMPARISON_FONTS.serif);return{sans:this._getHelperElement(e,this.getComparisonString()),serif:this._getHelperElement(t,this.getComparisonString())}},_getHelperElement:function(e,t){var n=qx.lang.Object.clone(qx.bom.webfonts.Validator.HELPER_CSS);e&&(n.fontFamily?n.fontFamily+=","+e.join(","):n.fontFamily=e.join(","));this.getFontWeight()&&(n.fontWeight=this.getFontWeight());this.getFontStyle()&&(n.fontStyle=this.getFontStyle());var r=document.createElement("span");r.innerHTML=t||qx.bom.webfonts.Validator.COMPARISON_STRING;qx.bom.element.Style.setStyles(r,n);document.body.appendChild(r);return r},_applyFontFamily:function(e,t){e!==t&&this._reset()},_applyFontWeight:function(e,t){e!==t&&this._reset()},_applyFontStyle:function(e,t){e!==t&&this._reset()},__P_186_6:function(){var e=qx.bom.webfonts.Validator;e.__P_186_3||(e.__P_186_3={sans:this._getHelperElement(e.COMPARISON_FONTS.sans),serif:this._getHelperElement(e.COMPARISON_FONTS.serif)});e.__P_186_2={sans:qx.bom.element.Dimension.getWidth(e.__P_186_3.sans),serif:qx.bom.element.Dimension.getWidth(e.__P_186_3.serif)}}},destruct:function(){this._reset();null!=this.__P_186_4&&this.__P_186_4.stop();this._disposeObjects("__P_186_4")}});qx.bom.webfonts.Validator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.event.IEventHandler":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.bom.Iframe":{},"qx.event.type.Data":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Iframe",{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{load:1,navigate:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!1,onevent:qx.event.GlobalError.observeMethod((function(e){var t=qx.bom.Iframe.queryCurrentUrl(e);if(t!==e.$$url){qx.event.Registration.fireEvent(e,"navigate",qx.event.type.Data,[t]);e.$$url=t}qx.event.Registration.fireEvent(e,"load")}))},members:{canHandleEvent:function(e,t){return"iframe"===e.tagName.toLowerCase()},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){}},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Iframe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Iframe":{require:!0},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.dom.Element":{},"qx.dom.Hierarchy":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.log.Logger":{},"qx.bom.Event":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.Iframe",{statics:{DEFAULT_ATTRIBUTES:{frameBorder:0,frameSpacing:0,marginWidth:0,marginHeight:0,hspace:0,vspace:0,border:0,allowTransparency:!0},create:function(e,t){e=e?qx.lang.Object.clone(e):{};var n=qx.bom.Iframe.DEFAULT_ATTRIBUTES;for(var r in n)r in e||(e[r]=n[r]);var i=qx.dom.Element.create("iframe",e,t);"onload"in e||(i.onload=function(){qx.event.handler.Iframe.onevent(i)});return i},getWindow:function(e){try{return e.contentWindow}catch(e){return null}},getDocument:function(e){if("contentDocument"in e)try{return e.contentDocument}catch(e){return null}try{var t=this.getWindow(e);return t?t.document:null}catch(e){return null}},getBody:function(e){try{var t=this.getDocument(e);return t?t.getElementsByTagName("body")[0]:null}catch(e){return null}},setSource:function(e,t){try{if(this.getWindow(e)&&qx.dom.Hierarchy.isRendered(e))try{if("webkit"==qx.core.Environment.get("engine.name")&&"osx"==qx.core.Environment.get("os.name")){var n=this.getWindow(e);n&&n.stop()}this.getWindow(e).location.replace(t)}catch(n){e.src=t}else e.src=t;this.__P_195_0(e)}catch(e){qx.log.Logger.warn("Iframe source could not be set!")}},queryCurrentUrl:function(e){var t=this.getDocument(e);try{if(t&&t.location)return t.location.href}catch(e){}return""},__P_195_0:function(e){qx.bom.Event.addNativeListener(e,"load",(function t(){qx.bom.Event.removeNativeListener(e,"load",t);e.$$url=qx.bom.Iframe.queryCurrentUrl(e)}))}}});qx.bom.Iframe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.util.ResourceManager":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.element.Background",{statics:{__P_166_0:["background-image:url(",null,");","background-position:",null,";","background-repeat:",null,";"],__P_166_1:{backgroundImage:null,backgroundPosition:null,backgroundRepeat:null},__P_166_2:function(e,t){var n=qx.core.Environment.get("engine.name"),r=qx.core.Environment.get("engine.version");"gecko"==n&&r<1.9&&e==t&&"number"==typeof e&&(t+=.01);if(e)var i="number"==typeof e?e+"px":e;else i="0";if(t)var o="number"==typeof t?t+"px":t;else o="0";return i+" "+o},compile:function(e,t,n,r){var i=this.__P_166_2(n,r),o=qx.util.ResourceManager.getInstance().toUri(e),s=this.__P_166_0;s[1]="'"+o+"'";s[4]=i;s[7]=t;return s.join("")},getStyles:function(e,t,n,r){if(!e)return this.__P_166_1;var i={backgroundPosition:this.__P_166_2(n,r),backgroundImage:"url('"+qx.util.ResourceManager.getInstance().toUri(e)+"')"};null!=t&&(i.backgroundRepeat=t);return i},set:function(e,t,n,r,i){var o=this.getStyles(t,n,r,i);for(var s in o)e.style[s]=o[s]}}});qx.bom.element.Background.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Timer":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.AcceleratingTimer",{extend:qx.core.Object,implement:[qx.core.IDisposable],construct:function(){qx.core.Object.constructor.call(this);this.__P_168_0=new qx.event.Timer(this.getInterval());this.__P_168_0.addListener("interval",this._onInterval,this)},events:{interval:"qx.event.type.Event"},properties:{interval:{check:"Integer",init:100},firstInterval:{check:"Integer",init:500},minimum:{check:"Integer",init:20},decrease:{check:"Integer",init:2}},members:{__P_168_0:null,__P_168_1:null,start:function(){this.__P_168_0.setInterval(this.getFirstInterval());this.__P_168_0.start()},stop:function(){this.__P_168_0.stop();this.__P_168_1=null},_onInterval:function(){this.__P_168_0.stop();null==this.__P_168_1&&(this.__P_168_1=this.getInterval());this.__P_168_1=Math.max(this.getMinimum(),this.__P_168_1-this.getDecrease());this.__P_168_0.setInterval(this.__P_168_1);this.__P_168_0.start();this.fireEvent("interval")}},destruct:function(){this._disposeObjects("__P_168_0")}});qx.event.AcceleratingTimer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.locale.Manager":{defer:"runtime"}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.locale.Key",{statics:{getKeyName:function(e,t,n){var r="key_"+e+"_"+t;"osx"==qx.core.Environment.get("os.name")&&"Control"==t&&(r+="_Mac");var i=qx.locale.Manager.getInstance().translate(r,[],n);return i==r?qx.locale.Key._keyNames[r]||t:i}},defer:function(e){var t={},n=qx.locale.Manager;t[n.marktr("key_short_Backspace")]="Backspace";t[n.marktr("key_short_Tab")]="Tab";t[n.marktr("key_short_Space")]="Space";t[n.marktr("key_short_Enter")]="Enter";t[n.marktr("key_short_Shift")]="Shift";t[n.marktr("key_short_Control")]="Ctrl";t[n.marktr("key_short_Control_Mac")]="Ctrl";t[n.marktr("key_short_Alt")]="Alt";t[n.marktr("key_short_CapsLock")]="Caps";t[n.marktr("key_short_Meta")]="Meta";t[n.marktr("key_short_Escape")]="Esc";t[n.marktr("key_short_Left")]="Left";t[n.marktr("key_short_Up")]="Up";t[n.marktr("key_short_Right")]="Right";t[n.marktr("key_short_Down")]="Down";t[n.marktr("key_short_PageUp")]="PgUp";t[n.marktr("key_short_PageDown")]="PgDn";t[n.marktr("key_short_End")]="End";t[n.marktr("key_short_Home")]="Home";t[n.marktr("key_short_Insert")]="Ins";t[n.marktr("key_short_Delete")]="Del";t[n.marktr("key_short_NumLock")]="Num";t[n.marktr("key_short_PrintScreen")]="Print";t[n.marktr("key_short_Scroll")]="Scroll";t[n.marktr("key_short_Pause")]="Pause";t[n.marktr("key_short_Win")]="Win";t[n.marktr("key_short_Apps")]="Apps";t[n.marktr("key_full_Backspace")]="Backspace";t[n.marktr("key_full_Tab")]="Tabulator";t[n.marktr("key_full_Space")]="Space";t[n.marktr("key_full_Enter")]="Enter";t[n.marktr("key_full_Shift")]="Shift";t[n.marktr("key_full_Control")]="Control";t[n.marktr("key_full_Control_Mac")]="Control";t[n.marktr("key_full_Alt")]="Alt";t[n.marktr("key_full_CapsLock")]="CapsLock";t[n.marktr("key_full_Meta")]="Meta";t[n.marktr("key_full_Escape")]="Escape";t[n.marktr("key_full_Left")]="Left";t[n.marktr("key_full_Up")]="Up";t[n.marktr("key_full_Right")]="Right";t[n.marktr("key_full_Down")]="Down";t[n.marktr("key_full_PageUp")]="PageUp";t[n.marktr("key_full_PageDown")]="PageDown";t[n.marktr("key_full_End")]="End";t[n.marktr("key_full_Home")]="Home";t[n.marktr("key_full_Insert")]="Insert";t[n.marktr("key_full_Delete")]="Delete";t[n.marktr("key_full_NumLock")]="NumLock";t[n.marktr("key_full_PrintScreen")]="PrintScreen";t[n.marktr("key_full_Scroll")]="Scroll";t[n.marktr("key_full_Pause")]="Pause";t[n.marktr("key_full_Win")]="Win";t[n.marktr("key_full_Apps")]="Apps";e._keyNames=t}});qx.locale.Key.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Theme":{usage:"dynamic",require:!0},"qx.bom.client.Css":{require:!0}},environment:{provided:[],required:{"css.rgba":{load:!0,className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.indigo.Color",{colors:{background:"white","dark-blue":"#323335","light-background":"#F4F4F4",font:"#262626",highlight:"#3D72C9","highlight-shade":"#5583D0","background-selected":"#3D72C9","background-selected-disabled":"#CDCDCD","background-selected-dark":"#323335","background-disabled":"#F7F7F7","background-disabled-checked":"#BBBBBB","background-pane":"white","tabview-unselected":"#1866B5","tabview-button-border":"#134983","tabview-label-active-disabled":"#D9D9D9",link:"#24B","scrollbar-bright":"#F1F1F1","scrollbar-dark":"#EBEBEB",button:"#E8F0E3","button-border":"#BBB","button-border-hovered":"#939393",invalid:"#C00F00","button-box-bright":"#F9F9F9","button-box-dark":"#E3E3E3","button-box-bright-pressed":"#BABABA","button-box-dark-pressed":"#EBEBEB","border-lead":"#888888","window-border":"#dddddd","window-border-inner":"#F4F4F4","white-box-border":"#dddddd",shadow:qx.core.Environment.get("css.rgba")?"rgba(0, 0, 0, 0.4)":"#666666","border-main":"#dddddd","border-light":"#B7B7B7","border-light-shadow":"#686868","border-separator":"#808080",text:"#262626","text-disabled":"#A7A6AA","text-selected":"white","text-placeholder":"#CBC8CD",tooltip:"#FE0","tooltip-text":"black","table-header":[242,242,242],"table-focus-indicator":"#3D72C9","table-header-cell":[235,234,219],"table-row-background-focused-selected":"#3D72C9","table-row-background-focused":"#F4F4F4","table-row-background-selected":[51,94,168],"table-row-background-even":"white","table-row-background-odd":"white","table-row-selected":[255,255,255],"table-row":[0,0,0],"table-row-line":"#EEE","table-column-line":"#EEE","progressive-table-header":"#AAAAAA","progressive-table-row-background-even":[250,248,243],"progressive-table-row-background-odd":[255,255,255],"progressive-progressbar-background":"gray","progressive-progressbar-indicator-done":"#CCCCCC","progressive-progressbar-indicator-undone":"white","progressive-progressbar-percent-background":"gray","progressive-progressbar-percent-text":"white"}});qx.theme.indigo.Color.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.indigo.Color":{require:!0},"qx.bom.client.Css":{require:!0}},environment:{provided:[],required:{"css.rgba":{load:!0,className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("wax.demo.theme.Color",{extend:qx.theme.indigo.Color,colors:{"table-row-background-selected":"#A9A9A9","table-row-background-focused-selected":"#A9A9A9","progressbar-base":qx.core.Environment.get("css.rgba")?"rgba(229, 229, 229, 1)":"#E5E5E5","progressbar-gray":qx.core.Environment.get("css.rgba")?"rgba(136, 136, 136, 1)":"#888888","progressbar-complete":qx.core.Environment.get("css.rgba")?"rgba(33, 186, 69, 1)":"#21BA45","progressbar-warning":qx.core.Environment.get("css.rgba")?"rgba(242, 192, 55, 1)":"#F2C037","progressbar-error":qx.core.Environment.get("css.rgba")?"rgba(219, 40, 40, 1)":"#DB2828"}});wax.demo.theme.Color.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.test.MDecoration",{decorations:{"test-ui-basic-image-toolbar-part":{style:{backgroundImage:"decoration/toolbar/toolbar-part.gif",backgroundRepeat:"repeat-y"}}}});qx.test.MDecoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.test.MDecoration":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.simple.Decoration",{include:[qx.test.MDecoration],aliases:{decoration:"qx/decoration/Simple"},decorations:{"border-blue":{style:{width:4,color:"background-selected"}},main:{style:{width:1,color:"border-main"}},"main-dark":{style:{width:1,color:"button-border"}},popup:{style:{width:1,color:"window-border",shadowLength:2,shadowBlurRadius:5,shadowColor:"shadow"}},dragover:{style:{bottom:[2,"solid","dark-blue"]}},"button-box":{style:{radius:3,width:1,color:"button-border",gradientStart:["button-box-bright",40],gradientEnd:["button-box-dark",70],backgroundColor:"button-box-bright"}},"button-box-pressed":{include:"button-box",style:{gradientStart:["button-box-bright-pressed",40],gradientEnd:["button-box-dark-pressed",70],backgroundColor:"button-box-bright-pressed"}},"button-box-pressed-hovered":{include:"button-box-pressed",style:{color:"button-border-hovered"}},"button-box-hovered":{include:"button-box",style:{color:"button-border-hovered"}},"button-box-invalid":{include:"button-box",style:{color:"invalid"}},"button-box-pressed-invalid":{include:"button-box-pressed",style:{color:"invalid"}},"button-box-hovered-invalid":{include:"button-box-invalid"},"button-box-pressed-hovered-invalid":{include:"button-box-pressed-invalid"},"button-box-focused":{include:"button-box",style:{color:"background-selected"}},"button-box-pressed-focused":{include:"button-box-pressed",style:{color:"background-selected"}},"button-box-hovered-focused":{include:"button-box-focused"},"button-box-pressed-hovered-focused":{include:"button-box-pressed-focused"},"button-box-right":{include:"button-box",style:{radius:[0,3,3,0]}},"button-box-pressed-right":{include:"button-box-pressed",style:{radius:[0,3,3,0]}},"button-box-pressed-hovered-right":{include:"button-box-pressed-hovered",style:{radius:[0,3,3,0]}},"button-box-hovered-right":{include:"button-box-hovered",style:{radius:[0,3,3,0]}},"button-box-focused-right":{include:"button-box-focused",style:{radius:[0,3,3,0]}},"button-box-hovered-focused-right":{include:"button-box-hovered-focused",style:{radius:[0,3,3,0]}},"button-box-pressed-focused-right":{include:"button-box-pressed-focused",style:{radius:[0,3,3,0]}},"button-box-pressed-hovered-focused-right":{include:"button-box-pressed-hovered-focused",style:{radius:[0,3,3,0]}},"button-box-right-borderless":{include:"button-box",style:{radius:[0,3,3,0],width:[1,1,1,0]}},"button-box-pressed-right-borderless":{include:"button-box-pressed",style:{radius:[0,3,3,0],width:[1,1,1,0]}},"button-box-pressed-hovered-right-borderless":{include:"button-box-pressed-hovered",style:{radius:[0,3,3,0],width:[1,1,1,0]}},"button-box-hovered-right-borderless":{include:"button-box-hovered",style:{radius:[0,3,3,0],width:[1,1,1,0]}},"button-box-top-right":{include:"button-box",style:{radius:[0,3,0,0],width:[1,1,1,0]}},"button-box-pressed-top-right":{include:"button-box-pressed",style:{radius:[0,3,0,0],width:[1,1,1,0]}},"button-box-pressed-hovered-top-right":{include:"button-box-pressed-hovered",style:{radius:[0,3,0,0],width:[1,1,1,0]}},"button-box-hovered-top-right":{include:"button-box-hovered",style:{radius:[0,3,0,0],width:[1,1,1,0]}},"button-box-bottom-right":{include:"button-box",style:{radius:[0,0,3,0],width:[0,1,1,0]}},"button-box-pressed-bottom-right":{include:"button-box-pressed",style:{radius:[0,0,3,0],width:[0,1,1,0]}},"button-box-pressed-hovered-bottom-right":{include:"button-box-pressed-hovered",style:{radius:[0,0,3,0],width:[0,1,1,0]}},"button-box-hovered-bottom-right":{include:"button-box-hovered",style:{radius:[0,0,3,0],width:[0,1,1,0]}},"button-box-bottom-left":{include:"button-box",style:{radius:[0,0,0,3],width:[0,0,1,1]}},"button-box-pressed-bottom-left":{include:"button-box-pressed",style:{radius:[0,0,0,3],width:[0,0,1,1]}},"button-box-pressed-hovered-bottom-left":{include:"button-box-pressed-hovered",style:{radius:[0,0,0,3],width:[0,0,1,1]}},"button-box-hovered-bottom-left":{include:"button-box-hovered",style:{radius:[0,0,0,3],width:[0,0,1,1]}},"button-box-top-left":{include:"button-box",style:{radius:[3,0,0,0],width:[1,0,0,1]}},"button-box-pressed-top-left":{include:"button-box-pressed",style:{radius:[3,0,0,0],width:[1,0,0,1]}},"button-box-pressed-hovered-top-left":{include:"button-box-pressed-hovered",style:{radius:[3,0,0,0],width:[1,0,0,1]}},"button-box-hovered-top-left":{include:"button-box-hovered",style:{radius:[3,0,0,0],width:[1,0,0,1]}},"button-box-middle":{include:"button-box",style:{radius:0,width:[1,0,1,1]}},"button-box-pressed-middle":{include:"button-box-pressed",style:{radius:0,width:[1,0,1,1]}},"button-box-pressed-hovered-middle":{include:"button-box-pressed-hovered",style:{radius:0,width:[1,0,1,1]}},"button-box-hovered-middle":{include:"button-box-hovered",style:{radius:0,width:[1,0,1,1]}},"button-box-left":{include:"button-box",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"button-box-pressed-left":{include:"button-box-pressed",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"button-box-pressed-hovered-left":{include:"button-box-pressed-hovered",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"button-box-hovered-left":{include:"button-box-hovered",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"button-box-focused-left":{include:"button-box-focused",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"button-box-hovered-focused-left":{include:"button-box-hovered-focused",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"button-box-pressed-hovered-focused-left":{include:"button-box-pressed-hovered-focused",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"button-box-pressed-focused-left":{include:"button-box-pressed-focused",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"separator-horizontal":{style:{widthLeft:1,colorLeft:"border-separator"}},"separator-vertical":{style:{widthTop:1,colorTop:"border-separator"}},"scroll-knob":{style:{radius:3,width:1,color:"button-border",backgroundColor:"scrollbar-bright"}},"scroll-knob-pressed":{include:"scroll-knob",style:{backgroundColor:"scrollbar-dark"}},"scroll-knob-hovered":{include:"scroll-knob",style:{color:"button-border-hovered"}},"scroll-knob-pressed-hovered":{include:"scroll-knob-pressed",style:{color:"button-border-hovered"}},"button-hover":{style:{backgroundColor:"button",radius:3}},window:{style:{width:1,color:"window-border",innerWidth:4,innerColor:"window-border-inner",shadowLength:1,shadowBlurRadius:3,shadowColor:"shadow",backgroundColor:"background"}},"window-active":{include:"window",style:{shadowLength:2,shadowBlurRadius:5}},"window-caption":{style:{width:[0,0,2,0],color:"window-border-inner"}},"white-box":{style:{width:1,color:"white-box-border",shadowBlurRadius:2,shadowColor:"#999999",radius:7,backgroundColor:"white",shadowLength:0}},inset:{style:{width:1,color:["border-light-shadow","border-light","border-light","border-light"]}},"focused-inset":{style:{width:2,color:"background-selected"}},"border-invalid":{style:{width:2,color:"invalid"}},"lead-item":{style:{width:1,style:"dotted",color:"border-lead"}},tooltip:{style:{width:1,color:"tooltip-text",shadowLength:1,shadowBlurRadius:2,shadowColor:"shadow"}},"tooltip-error":{style:{radius:5,backgroundColor:"invalid"}},"toolbar-separator":{style:{widthLeft:1,colorLeft:"button-border"}},"menu-separator":{style:{widthTop:1,colorTop:"background-selected"}},"menubar-button-hovered":{style:{width:1,color:"border-main",radius:3,backgroundColor:"white"}},"menubar-button-pressed":{include:"menubar-button-hovered",style:{radius:[3,3,0,0],width:[1,1,0,1]}},"datechooser-date-pane":{style:{widthTop:1,colorTop:"gray",style:"solid"}},"datechooser-weekday":{style:{widthBottom:1,colorBottom:"gray",style:"solid"}},"datechooser-week":{style:{widthRight:1,colorRight:"gray",style:"solid"}},"datechooser-week-header":{style:{widthBottom:1,colorBottom:"gray",widthRight:1,colorRight:"gray",style:"solid"}},"tabview-page-button-top":{style:{width:[1,1,0,1],backgroundColor:"background",color:"border-main",radius:[3,3,0,0]}},"tabview-page-button-bottom":{include:"tabview-page-button-top",style:{radius:[0,0,3,3],width:[0,1,1,1]}},"tabview-page-button-left":{include:"tabview-page-button-top",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"tabview-page-button-right":{include:"tabview-page-button-top",style:{radius:[0,3,3,0],width:[1,1,1,0]}},statusbar:{style:{widthTop:1,colorTop:"background-selected",styleTop:"solid"}},"table-scroller-focus-indicator":{style:{width:2,color:"table-focus-indicator",style:"solid"}},"table-header":{include:"button-box",style:{radius:0,width:[1,0,1,0]}},"table-header-column-button":{include:"table-header",style:{width:1,color:"button-border"}},"table-header-cell":{style:{widthRight:1,color:"button-border"}},"table-header-cell-first":{include:"table-header-cell",style:{widthLeft:1}},"virtual-background-header":{style:{gradientStart:["button-box-bright",40],gradientEnd:["button-box-dark",70],backgroundColor:"button-box-bright"}},"virtual-background-span":{include:"table-header-cell",style:{color:"table-row-line",width:[0,0,1,0]}},"progressive-table-header":{include:"button-box",style:{radius:0,width:[1,0,1,1]}},"progressive-table-header-cell":{style:{widthRight:1,color:"button-border"}},progressbar:{style:{backgroundColor:"#FFF",width:1,color:"border-separator"}},radiobutton:{style:{radius:10,width:1,color:"button-border",innerColor:"background",innerWidth:2}},"radiobutton-focused":{include:"radiobutton",style:{color:"background-selected"}},"radiobutton-invalid":{include:"radiobutton",style:{color:"invalid"}},checkbox:{style:{width:1,color:"button-border"}},"checkbox-focused":{include:"checkbox",style:{color:"background-selected"}},"checkbox-invalid":{include:"checkbox",style:{color:"invalid"}}}});qx.theme.simple.Decoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.simple.Decoration":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.indigo.Decoration",{extend:qx.theme.simple.Decoration,aliases:{decoration:"qx/decoration/Simple"},decorations:{window:{style:{width:1,color:"window-border",shadowLength:1,shadowBlurRadius:3,shadowColor:"shadow",backgroundColor:"background",radius:3}},"window-caption":{style:{radius:[3,3,0,0],color:"window-border",widthBottom:1}},"window-caption-active":{style:{radius:[3,3,0,0],color:"highlight",widthBottom:3}},"white-box":{style:{width:1,color:"white-box-border",backgroundColor:"white"}},statusbar:{style:{widthTop:1,colorTop:"border-main",styleTop:"solid"}},"app-header":{style:{innerWidthBottom:1,innerColorBottom:"highlight-shade",widthBottom:9,colorBottom:"highlight",gradientStart:["#505154",0],gradientEnd:["#323335",100],backgroundColor:"#323335"}}}});qx.theme.indigo.Decoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.indigo.Decoration":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("wax.demo.theme.Decoration",{extend:qx.theme.indigo.Decoration,decorations:{nobgimg:{style:{backgroundImage:"",backgroundRepeat:"no-repeat",backgroundPositionX:"right",backgroundPositionY:"center"}},"tablelist-list":{style:{width:1,color:"gray"}},"groupbox-open":{style:{backgroundImage:"wax/baseline-expand_less-24px.svg",backgroundRepeat:"no-repeat",backgroundPositionX:"right",backgroundPositionY:"center"}},"groupbox-closed":{style:{backgroundImage:"wax/demo/baseline-expand_more-24px.svg",backgroundRepeat:"no-repeat",backgroundPositionX:"right",backgroundPositionY:"center"}},"page-button-right":{style:{backgroundImage:"wax/demo/chevron_right-24px.svg",backgroundRepeat:"no-repeat",backgroundPositionX:"right",backgroundPositionY:"center"}},"white-box":{style:{width:1,color:"white-box-border",radius:3}},"connected-top-box":{include:"white-box",style:{width:[1,0,0,0],radius:[0,0,0,0]}},"border-me":{style:{width:1,color:"black",style:"solid"}},topheader:{style:{width:[0,0,1,0],color:"white-box-border",style:"solid"}},leftside:{style:{width:[0,1,0,0],color:"white-box-border",style:"solid"}},bottombar:{style:{width:[1,0,0,0],color:"white-box-border",style:"solid"}},"mainmenubutton-box":{style:{radius:0,width:0,backgroundColor:"white"}},"mainmenubutton-box-pressed":{include:"mainmenubutton-box",style:{width:[0,0,0,5],radius:[1,0,0,1],color:["button-box-bright-pressed","button-box-bright-pressed","button-box-bright-pressed","blue"],backgroundColor:"white"}},"mainmenubutton-box-pressed-hovered":{include:"mainmenubutton-box-pressed",style:{color:"button-border-hovered"}},"mainmenubutton-box-hovered":{include:"mainmenubutton-box-pressed",style:{color:["button-box-bright-pressed","button-box-bright-pressed","button-box-bright-pressed","#cccccc"],backgroundColor:"white"}},mainmenuindicator:{style:{radius:3}},"window-captionbar-default":{style:{width:0}},element:{style:{width:1,color:"transparent",backgroundColor:"background",radius:0}},"element-active":{style:{width:1,color:"window-border",backgroundColor:"background",radius:3}},"element-caption":{style:{radius:0,color:"transparent",widthBottom:0}},"element-caption-active":{style:{radius:[3,3,0,0],color:"window-border"}},"circle-pill":{style:{color:"black",width:2,radius:1550}},"square-rectangle-sharp":{style:{color:"black",width:2,radius:0}},"square-rectangle-rounded":{style:{color:"black",width:2,radius:12}},diamond:{style:{color:"black",width:2,radius:0}},progressbar:{style:{backgroundColor:"#FFF",radius:0,width:0,color:"border-separator"}},"progressbar-trans":{radius:0,width:0},"upload-area":{style:{width:1,radius:3,style:"dashed",color:"gray"}},"upload-area-dragover":{include:"upload-area",style:{style:"solid",color:"orange"}}}});wax.demo.theme.Decoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.indigo.Font",{fonts:{default:{size:12,fontName:"qx.theme.indigo.defaultFont",color:"font",lineHeight:1.8},bold:{size:12,fontName:"qx.theme.indigo.defaultFont",bold:!0,color:"font",lineHeight:1.8},headline:{size:22,family:["serif"],fontName:"JosefinSlab"},small:{size:11,fontName:"qx.theme.indigo.defaultFont",color:"font",lineHeight:1.8},monospace:{size:11,fontName:"qx.theme.monospace",color:"font",lineHeight:1.8}}});qx.theme.indigo.Font.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.indigo.Font":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("wax.demo.theme.Font",{extend:qx.theme.indigo.Font,fonts:{default:{size:14,family:["Lato","Helvetica Neue","arial","Helvetica","sans-serif"],color:"text",lineHeight:1.5},"default-bold":{include:"default",bold:!0},monospace:{size:14,family:["DejaVu Sans Mono","Courier New","monospace"],color:"font",lineHeight:1.8},mainmenubutton:{include:"default",size:16},"mainmenubutton-hym":{include:"default-bold",size:10,lineHeight:1.2},mainmenuindicator:{include:"default-bold",size:14},headeratom:{include:"default-bold",size:16},"control-header":{include:"default",size:32},"area-header":{include:"default",size:21},"hym-app-header":{include:"default",family:["-apple-system","BlinkMacSystemFont","Helvetica Neue","arial","Helvetica","sans-serif"],bold:!0,size:16}}});wax.demo.theme.Font.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.icon.Tango",{title:"Tango",aliases:{icon:"qx/icon/Tango"}});qx.theme.icon.Tango.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.test.MAppearance",{appearances:{"test-slider":{},"test-slider/knob":{include:"button-frame",style:function(e){return{height:14,width:14,padding:0,margin:0}}},"test-font-label":{style:function(e){return{textColor:"blue"}}}}});qx.test.MAppearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.test.MAppearance":{require:!0},"qx.theme.simple.Image":{}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.simple.Appearance",{include:[qx.test.MAppearance],appearances:{widget:{},label:{style:function(e){return{textColor:e.disabled?"text-disabled":void 0}}},image:{style:function(e){return{opacity:!e.replacement&&e.disabled?.3:void 0}}},atom:{},"atom/label":"label","atom/icon":"image",root:{style:function(e){return{backgroundColor:"background",textColor:"text",font:"default"}}},popup:{style:function(e){return{decorator:"popup",backgroundColor:"background-pane"}}},tooltip:{include:"popup",style:function(e){return{backgroundColor:"tooltip",textColor:"tooltip-text",decorator:"tooltip",padding:[1,3,2,3],offset:[10,5,5,5]}}},"tooltip/atom":"atom","tooltip-error":{include:"tooltip",style:function(e){return{textColor:"text-selected",showTimeout:100,hideTimeout:1e4,decorator:"tooltip-error",font:"bold",backgroundColor:void 0}}},"tooltip-error/atom":"atom",iframe:{style:function(e){return{backgroundColor:"white",decorator:"main-dark"}}},"move-frame":{style:function(e){return{decorator:"main-dark"}}},"resize-frame":"move-frame","dragdrop-cursor":{style:function(e){var t="nodrop";e.copy?t="copy":e.move?t="move":e.alias&&(t="alias");return{source:qx.theme.simple.Image.URLS["cursor-"+t],position:"right-top",offset:[2,16,2,6]}}},slidebar:{},"slidebar/scrollpane":{},"slidebar/content":{},"slidebar/button-forward":{alias:"button",include:"button",style:function(e){return{icon:qx.theme.simple.Image.URLS["arrow-"+(e.vertical?"down":"right")]}}},"slidebar/button-backward":{alias:"button",include:"button",style:function(e){return{icon:qx.theme.simple.Image.URLS["arrow-"+(e.vertical?"up":"left")]}}},table:"widget","table/statusbar":{style:function(e){return{decorator:"statusbar",padding:[2,5]}}},"table/column-button":{alias:"button",style:function(e){return{decorator:"table-header-column-button",padding:3,icon:qx.theme.simple.Image.URLS["select-column-order"]}}},"table-column-reset-button":{include:"menu-button",alias:"menu-button",style:function(){return{icon:"icon/16/actions/view-refresh.png"}}},"table-scroller/scrollbar-x":"scrollbar","table-scroller/scrollbar-y":"scrollbar","table-scroller":"widget","table-scroller/header":{style:function(){return{decorator:"table-header"}}},"table-scroller/pane":{},"table-scroller/focus-indicator":{style:function(e){return{decorator:"main"}}},"table-scroller/resize-line":{style:function(e){return{backgroundColor:"button-border",width:3}}},"table-header-cell":{alias:"atom",style:function(e){return{decorator:e.first?"table-header-cell-first":"table-header-cell",minWidth:13,font:"bold",paddingTop:3,paddingLeft:5,cursor:e.disabled?void 0:"pointer",sortIcon:e.sorted?qx.theme.simple.Image.URLS["table-"+(e.sortedAscending?"ascending":"descending")]:void 0}}},"table-header-cell/icon":{include:"atom/icon",style:function(e){return{paddingRight:5}}},"table-header-cell/sort-icon":{style:function(e){return{alignY:"middle",alignX:"right",paddingRight:5}}},"table-editor-textfield":{include:"textfield",style:function(e){return{decorator:void 0,padding:[2,2]}}},"table-editor-selectbox":{include:"selectbox",alias:"selectbox",style:function(e){return{padding:[0,2]}}},"table-editor-combobox":{include:"combobox",alias:"combobox",style:function(e){return{decorator:void 0}}},"progressive-table-header":{style:function(e){return{decorator:"progressive-table-header"}}},"progressive-table-header-cell":{style:function(e){return{decorator:"progressive-table-header-cell",padding:[5,6,5,6]}}},treevirtual:{include:"textfield",alias:"table",style:function(e,t){return{padding:[t.padding[0]+2,t.padding[1]+1]}}},"treevirtual-folder":{style:function(e){return{icon:e.opened?"icon/16/places/folder-open.png":"icon/16/places/folder.png",opacity:e.drag?.5:void 0}}},"treevirtual-file":{include:"treevirtual-folder",alias:"treevirtual-folder",style:function(e){return{icon:"icon/16/mimetypes/text-plain.png",opacity:e.drag?.5:void 0}}},"treevirtual-line":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-line"]}}},"treevirtual-contract":{style:function(e){return{icon:qx.theme.simple.Image.URLS["tree-minus"]}}},"treevirtual-expand":{style:function(e){return{icon:qx.theme.simple.Image.URLS["tree-plus"]}}},"treevirtual-only-contract":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-minus-only"]}}},"treevirtual-only-expand":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-plus-only"]}}},"treevirtual-start-contract":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-minus-start"]}}},"treevirtual-start-expand":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-plus-start"]}}},"treevirtual-end-contract":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-minus-end"]}}},"treevirtual-end-expand":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-plus-end"]}}},"treevirtual-cross-contract":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-minus-cross"]}}},"treevirtual-cross-expand":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-plus-cross"]}}},"treevirtual-end":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-end"]}}},"treevirtual-cross":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-cross"]}}},"treevirtual-node-editor-textfield":{include:"textfield",style:function(e){return{decorator:void 0,padding:[2,2]}}},resizer:{style:function(e){return{decorator:"main-dark"}}},splitpane:{},"splitpane/splitter":{style:function(e){return{backgroundColor:"light-background"}}},"splitpane/splitter/knob":{style:function(e){return{source:qx.theme.simple.Image.URLS["knob-"+(e.horizontal?"horizontal":"vertical")],padding:2}}},"splitpane/slider":{style:function(e){return{backgroundColor:"border-light-shadow",opacity:.3}}},menu:{style:function(e){var t={backgroundColor:"background",decorator:"main",spacingX:6,spacingY:1,iconColumnWidth:16,arrowColumnWidth:4,padding:1,placementModeY:e.submenu||e.contextmenu?"best-fit":"keep-align"};if(e.submenu){t.position="right-top";t.offset=[-2,-3]}e.contextmenu&&(t.offset=4);return t}},"menu/slidebar":"menu-slidebar","menu-slidebar":"widget","menu-slidebar-button":{style:function(e){return{backgroundColor:e.hovered?"background-selected":void 0,padding:6,center:!0}}},"menu-slidebar/button-backward":{include:"menu-slidebar-button",style:function(e){return{icon:qx.theme.simple.Image.URLS["arrow-up"+(e.hovered?"-invert":"")]}}},"menu-slidebar/button-forward":{include:"menu-slidebar-button",style:function(e){return{icon:qx.theme.simple.Image.URLS["arrow-down"+(e.hovered?"-invert":"")]}}},"menu-separator":{style:function(e){return{height:0,decorator:"menu-separator",marginTop:4,marginBottom:4,marginLeft:2,marginRight:2}}},"menu-button":{alias:"atom",style:function(e){return{backgroundColor:e.selected?"background-selected":void 0,textColor:e.selected?"text-selected":void 0,padding:[2,6]}}},"menu-button/icon":{include:"image",style:function(e){return{alignY:"middle"}}},"menu-button/label":{include:"label",style:function(e){return{alignY:"middle",padding:1}}},"menu-button/shortcut":{include:"label",style:function(e){return{alignY:"middle",marginLeft:14,padding:1}}},"menu-button/arrow":{include:"image",style:function(e){return{source:qx.theme.simple.Image.URLS["arrow-right"+(e.selected?"-invert":"")],alignY:"middle"}}},"menu-checkbox":{alias:"menu-button",include:"menu-button",style:function(e){return{icon:e.checked?qx.theme.simple.Image.URLS["menu-checkbox"+(e.selected?"-invert":"")]:void 0}}},"menu-radiobutton":{alias:"menu-button",include:"menu-button",style:function(e){return{icon:e.checked?qx.theme.simple.Image.URLS["menu-radiobutton"+(e.selected?"-invert":"")]:void 0}}},menubar:{style:function(e){return{backgroundColor:"light-background",padding:[4,2]}}},"menubar-button":{style:function(e){var t,n=[2,6];if(!e.disabled)if(e.pressed){t="menubar-button-pressed";n=[1,5,2,5]}else if(e.hovered){t="menubar-button-hovered";n=[1,5]}return{padding:n,cursor:e.disabled?void 0:"pointer",textColor:"link",decorator:t}}},"virtual-list":"list","virtual-list/row-layer":"row-layer","row-layer":"widget","column-layer":"widget","virtual-background-span":{alias:"widget",style:function(e){var t={decorator:"virtual-background-span"};if(e.header){t.decorator="virtual-background-header";t.backgroundColor="table-header-cell"}else e.selected?t.backgroundColor="table-row-background-selected":e.odd?t.backgroundColor="table-row-background-odd":t.backgroundColor="table-row-background-even";return t}},"virtual-list-header-cell":{alias:"atom",style:function(e){return{font:"bold",paddingTop:3,paddingLeft:5}}},"group-item":{include:"label",alias:"label",style:function(e){return{padding:4,backgroundColor:"#BABABA",textColor:"white",font:"bold"}}},"virtual-selectbox":"selectbox","virtual-selectbox/dropdown":"popup","virtual-selectbox/dropdown/list":{alias:"virtual-list"},"virtual-combobox":"combobox","virtual-combobox/dropdown":"popup","virtual-combobox/dropdown/list":{alias:"virtual-list"},"virtual-tree":{include:"tree",alias:"tree",style:function(e){return{itemHeight:21}}},"virtual-tree-folder":"tree-folder","virtual-tree-file":"tree-file",cell:{style:function(e){return{backgroundColor:e.selected?"table-row-background-selected":"table-row-background-even",textColor:e.selected?"text-selected":"text",padding:[3,6]}}},"cell-string":"cell","cell-number":{include:"cell",style:function(e){return{textAlign:"right"}}},"cell-image":"cell","cell-boolean":"cell","cell-atom":"cell","cell-date":"cell","cell-html":"cell",scrollbar:{},"scrollbar/slider":{},"scrollbar/slider/knob":{style:function(e){var t="scroll-knob";e.disabled||(!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="scroll-knob-pressed-hovered":(e.pressed||e.checked)&&(t="scroll-knob-pressed"):t="scroll-knob-hovered");return{height:14,width:14,cursor:e.disabled?void 0:"pointer",decorator:t,minHeight:e.horizontal?void 0:20,minWidth:e.horizontal?20:void 0}}},"scrollbar/button":{style:function(e){var t={padding:4},n="";if(e.left){n="left";t.marginRight=2}else if(e.right){n+="right";t.marginLeft=2}else if(e.up){n+="up";t.marginBottom=2}else{n+="down";t.marginTop=2}t.icon=qx.theme.simple.Image.URLS["arrow-"+n];t.cursor="pointer";t.decorator="button-box";return t}},"scrollbar/button-begin":"scrollbar/button","scrollbar/button-end":"scrollbar/button","scrollarea/corner":{style:function(e){return{backgroundColor:"background"}}},scrollarea:"widget","scrollarea/pane":"widget","scrollarea/scrollbar-x":"scrollbar","scrollarea/scrollbar-y":"scrollbar",textfield:{style:function(e){var t,n,r;t=e.disabled?"text-disabled":e.showingPlaceholder?"text-placeholder":void 0;if(e.disabled){n="inset";r=[2,3]}else if(e.invalid){n="border-invalid";r=[1,2]}else if(e.focused){n="focused-inset";r=[1,2]}else{r=[2,3];n="inset"}return{decorator:n,padding:r,textColor:t,backgroundColor:e.disabled?"background-disabled":"white"}}},textarea:"textfield","radiobutton/icon":{style:function(e){var t,n="radiobutton";e.focused&&!e.invalid&&(n="radiobutton-focused");n+=e.invalid&&!e.disabled?"-invalid":"";e.disabled&&e.checked?t="background-disabled-checked":e.disabled?t="background-disabled":e.checked&&(t="background-selected");return{decorator:n,width:12,height:12,backgroundColor:t}}},radiobutton:{style:function(e){return{icon:qx.theme.simple.Image.URLS.blank}}},"form-renderer-label":{include:"label",style:function(){return{paddingTop:3}}},checkbox:{alias:"atom",style:function(e){return{icon:e.checked?qx.theme.simple.Image.URLS["checkbox-checked"]:e.undetermined?qx.theme.simple.Image.URLS["checkbox-undetermined"]:qx.theme.simple.Image.URLS.blank,gap:6}}},"checkbox/icon":{style:function(e){var t,n="checkbox";e.focused&&!e.invalid&&(n="checkbox-focused");n+=e.invalid&&!e.disabled?"-invalid":"";e.checked?t=2:e.undetermined&&(t=[4,2]);return{decorator:n,width:12,height:12,padding:t,backgroundColor:"white"}}},spinner:{style:function(e){var t;e.invalid&&!e.disabled&&(t="border-invalid");return{decorator:t,textColor:e.disabled?"text-disabled":void 0}}},"spinner/textfield":"textfield","spinner/upbutton":{alias:"combobox/button",include:"combobox/button",style:function(e){var t="button-box-top-right";!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered-top-right":(e.pressed||e.checked)&&(t="button-box-pressed-top-right"):t="button-box-hovered-top-right";return{icon:qx.theme.simple.Image.URLS["arrow-up-small"],decorator:t,width:17}}},"spinner/downbutton":{alias:"combobox/button",include:"combobox/button",style:function(e){var t="button-box-bottom-right";!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered-bottom-right":(e.pressed||e.checked)&&(t="button-box-pressed-bottom-right"):t="button-box-hovered-bottom-right";return{icon:qx.theme.simple.Image.URLS["arrow-down-small"],decorator:t,width:17}}},selectbox:"button-frame","selectbox/atom":"atom","selectbox/popup":"popup","selectbox/list":{alias:"list",include:"list",style:function(){return{decorator:void 0}}},"selectbox/arrow":{include:"image",style:function(e){return{source:qx.theme.simple.Image.URLS["arrow-down"],paddingRight:4,paddingLeft:5}}},combobox:{style:function(e){var t;e.invalid&&!e.disabled&&(t="border-invalid");return{decorator:t}}},"combobox/button":{alias:"button-frame",include:"button-frame",style:function(e){var t="button-box-right-borderless";!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered-right-borderless":(e.pressed||e.checked)&&(t="button-box-pressed-right-borderless"):t="button-box-hovered-right-borderless";return{icon:qx.theme.simple.Image.URLS["arrow-down"],decorator:t,padding:[0,5],width:19}}},"combobox/popup":"popup","combobox/list":{alias:"list"},"combobox/textfield":"textfield",datefield:"textfield","datefield/button":{alias:"combobox/button",include:"combobox/button",style:function(e){return{icon:"icon/16/apps/office-calendar.png",padding:[0,0,0,3],backgroundColor:void 0,decorator:void 0,width:19}}},"datefield/textfield":{alias:"textfield",include:"textfield",style:function(e){return{decorator:void 0,padding:0}}},"datefield/list":{alias:"datechooser",include:"datechooser",style:function(e){return{decorator:void 0}}},list:{alias:"scrollarea",include:"textfield"},listitem:{alias:"atom",style:function(e){var t,n=[3,5,3,5];e.lead&&(n=[2,4,2,4]);e.dragover&&(n[2]-=2);if(e.selected){t="background-selected";e.disabled&&(t+="-disabled")}return{gap:4,padding:n,backgroundColor:t,textColor:e.selected?"text-selected":void 0,decorator:e.lead?"lead-item":e.dragover?"dragover":void 0,opacity:e.drag?.5:void 0}}},slider:{style:function(e){var t,n;if(e.disabled){t="inset";n=[2,3]}else if(e.invalid){t="border-invalid";n=[1,2]}else if(e.focused){t="focused-inset";n=[1,2]}else{n=[2,3];t="inset"}return{decorator:t,padding:n}}},"slider/knob":"scrollbar/slider/knob","button-frame":{alias:"atom",style:function(e){var t="button-box";e.disabled||(!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered":(e.pressed||e.checked)&&(t="button-box-pressed"):t="button-box-hovered");e.invalid&&!e.disabled?t+="-invalid":e.focused&&(t+="-focused");return{decorator:t,padding:[3,8],cursor:e.disabled?void 0:"pointer",minWidth:5,minHeight:5}}},"button-frame/label":{alias:"atom/label",style:function(e){return{textColor:e.disabled?"text-disabled":void 0}}},button:{alias:"button-frame",include:"button-frame",style:function(e){return{center:!0}}},"toggle-button":"button","hover-button":{alias:"button",include:"button",style:function(e){return{decorator:e.hovered?"button-hover":void 0}}},menubutton:{include:"button",alias:"button",style:function(e){return{icon:qx.theme.simple.Image.URLS["arrow-down"],iconPosition:"right"}}},splitbutton:{},"splitbutton/button":{alias:"atom",style:function(e){var t="button-box";if(!e.disabled){(e.pressed||e.checked)&&(t+="-pressed");e.hovered&&(t+="-hovered")}e.focused&&(t+="-focused");return{decorator:t+="-left",padding:[3,8],cursor:e.disabled?void 0:"pointer"}}},"splitbutton/arrow":{style:function(e){var t="button-box";if(!e.disabled){(e.pressed||e.checked)&&(t+="-pressed");e.hovered&&(t+="-hovered")}e.focused&&(t+="-focused");t+="-right";return{icon:qx.theme.simple.Image.URLS["arrow-down"],decorator:t,cursor:e.disabled?void 0:"pointer",padding:[3,4]}}},groupbox:{},"groupbox/legend":{alias:"atom",style:function(e){return{textColor:e.invalid?"invalid":void 0,padding:5,margin:4,font:"bold"}}},"groupbox/frame":{style:function(e){return{backgroundColor:"background",padding:[6,9],margin:[18,2,2,2],decorator:"white-box"}}},"check-groupbox":"groupbox","check-groupbox/legend":{alias:"checkbox",include:"checkbox",style:function(e){return{textColor:e.invalid?"invalid":void 0,padding:5,margin:4,font:"bold"}}},"radio-groupbox":"groupbox","radio-groupbox/legend":{alias:"radiobutton",include:"radiobutton",style:function(e){return{textColor:e.invalid?"invalid":void 0,padding:5,margin:4,font:"bold"}}},"tree-folder/open":{include:"image",style:function(e){return{source:e.opened?qx.theme.simple.Image.URLS["tree-minus"]:qx.theme.simple.Image.URLS["tree-plus"]}}},"tree-folder":{style:function(e){var t;if(e.selected){t="background-selected";e.disabled&&(t+="-disabled")}return{padding:[2,8,2,5],icon:e.opened?"icon/16/places/folder-open.png":"icon/16/places/folder.png",backgroundColor:t,iconOpened:"icon/16/places/folder-open.png",opacity:e.drag?.5:void 0}}},"tree-folder/icon":{include:"image",style:function(e){return{padding:[0,4,0,0]}}},"tree-folder/label":{style:function(e){return{padding:[1,2],textColor:e.selected&&!e.disabled?"text-selected":void 0}}},"tree-file":{include:"tree-folder",alias:"tree-folder",style:function(e){return{icon:"icon/16/mimetypes/text-plain.png",opacity:e.drag?.5:void 0}}},tree:{include:"list",alias:"list",style:function(e){return{contentPadding:e.invalid&&!e.disabled?[3,0]:[4,1],padding:e.focused?0:1}}},window:{style:function(e){return{contentPadding:[10,10,10,10],backgroundColor:"background",decorator:e.maximized?void 0:e.active?"window-active":"window"}}},"window-resize-frame":"resize-frame","window/pane":{},"window/captionbar":{style:function(e){return{backgroundColor:e.active?"light-background":"background-disabled",padding:8,font:"bold",decorator:"window-caption"}}},"window/icon":{style:function(e){return{marginRight:4}}},"window/title":{style:function(e){return{cursor:"default",font:"bold",marginRight:20,alignY:"middle"}}},"window/minimize-button":{alias:"button",style:function(e){return{icon:qx.theme.simple.Image.URLS["window-minimize"],padding:[1,2],cursor:e.disabled?void 0:"pointer"}}},"window/restore-button":{alias:"button",style:function(e){return{icon:qx.theme.simple.Image.URLS["window-restore"],padding:[1,2],cursor:e.disabled?void 0:"pointer"}}},"window/maximize-button":{alias:"button",style:function(e){return{icon:qx.theme.simple.Image.URLS["window-maximize"],padding:[1,2],cursor:e.disabled?void 0:"pointer"}}},"window/close-button":{alias:"button",style:function(e){return{marginLeft:2,icon:qx.theme.simple.Image.URLS["window-close"],padding:[1,2],cursor:e.disabled?void 0:"pointer"}}},"window/statusbar":{style:function(e){return{decorator:"statusbar",padding:[2,6]}}},"window/statusbar-text":"label",datechooser:{style:function(e){return{decorator:"main",minWidth:220}}},"datechooser/navigation-bar":{style:function(e){return{backgroundColor:"background",textColor:e.disabled?"text-disabled":e.invalid?"invalid":void 0,padding:[2,10]}}},"datechooser/last-year-button-tooltip":"tooltip","datechooser/last-month-button-tooltip":"tooltip","datechooser/next-year-button-tooltip":"tooltip","datechooser/next-month-button-tooltip":"tooltip","datechooser/last-year-button":"datechooser/button","datechooser/last-month-button":"datechooser/button","datechooser/next-year-button":"datechooser/button","datechooser/next-month-button":"datechooser/button","datechooser/button/icon":{},"datechooser/button":{style:function(e){var t={width:17,show:"icon",cursor:e.disabled?void 0:"pointer"};e.lastYear?t.icon=qx.theme.simple.Image.URLS["arrow-rewind"]:e.lastMonth?t.icon=qx.theme.simple.Image.URLS["arrow-left"]:e.nextYear?t.icon=qx.theme.simple.Image.URLS["arrow-forward"]:e.nextMonth&&(t.icon=qx.theme.simple.Image.URLS["arrow-right"]);return t}},"datechooser/month-year-label":{style:function(e){return{font:"bold",textAlign:"center"}}},"datechooser/date-pane":{style:function(e){return{decorator:"datechooser-date-pane",backgroundColor:"background"}}},"datechooser/weekday":{style:function(e){return{decorator:"datechooser-weekday",font:"bold",textAlign:"center",textColor:e.disabled?"text-disabled":e.weekend?"background-selected-dark":"background",backgroundColor:e.weekend?"background":"background-selected-dark",paddingTop:2}}},"datechooser/day":{style:function(e){return{textAlign:"center",decorator:e.today?"main":void 0,textColor:e.disabled?"text-disabled":e.selected?"text-selected":e.otherMonth?"text-disabled":void 0,backgroundColor:e.disabled?void 0:e.selected?"background-selected":void 0,padding:e.today?[1,3]:[2,4]}}},"datechooser/week":{style:function(e){return{textAlign:"center",textColor:"background-selected-dark",padding:[2,4],decorator:e.header?"datechooser-week-header":"datechooser-week"}}},progressbar:{style:function(e){return{decorator:"progressbar",padding:1,backgroundColor:"white",width:200,height:20}}},"progressbar/progress":{style:function(e){return{backgroundColor:e.disabled?"background-disabled-checked":"background-selected"}}},toolbar:{style:function(e){return{backgroundColor:"light-background",padding:0}}},"toolbar/part":{style:function(e){return{margin:[0,15]}}},"toolbar/part/container":{},"toolbar/part/handle":{},"toolbar-separator":{style:function(e){return{decorator:"toolbar-separator",margin:[7,0],width:4}}},"toolbar-button":{alias:"atom",style:function(e){var t="button-box";e.disabled?t="button-box":!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered":(e.pressed||e.checked)&&(t="button-box-pressed"):t="button-box-hovered";e.left?t+="-left":e.right?t+="-right":e.middle&&(t+="-middle");var n=[7,10];(e.left||e.middle||e.right)&&(n=[7,0]);return{cursor:e.disabled?void 0:"pointer",decorator:t,margin:n,padding:[3,5]}}},"toolbar-menubutton":{alias:"toolbar-button",include:"toolbar-button",style:function(e){return{showArrow:!0}}},"toolbar-menubutton/arrow":{alias:"image",include:"image",style:function(e){return{source:qx.theme.simple.Image.URLS["arrow-down"],cursor:e.disabled?void 0:"pointer",padding:[0,5],marginLeft:2}}},"toolbar-splitbutton":{},"toolbar-splitbutton/button":{alias:"toolbar-button",include:"toolbar-button",style:function(e){var t="button-box";e.disabled?t="button-box":!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered":(e.pressed||e.checked)&&(t="button-box-pressed"):t="button-box-hovered";var n=[7,0,7,10];(e.left||e.middle||e.right)&&(n=[7,0,7,0]);e.left?t+="-left":e.right||e.middle?t+="-middle":t+="-left";return{icon:qx.theme.simple.Image.URLS["arrow-down"],decorator:t,margin:n}}},"toolbar-splitbutton/arrow":{alias:"toolbar-button",include:"toolbar-button",style:function(e){var t="button-box";e.disabled?t="button-box":!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered":(e.pressed||e.checked)&&(t="button-box-pressed"):t="button-box-hovered";var n=[7,10,7,0];(e.left||e.middle||e.right)&&(n=[7,0,7,0]);e.left?t+="-middle":e.right?t+="-right":e.middle?t+="-middle":t+="-right";return{icon:qx.theme.simple.Image.URLS["arrow-down"],decorator:t,margin:n}}},tabview:{},"tabview/bar":{alias:"slidebar",style:function(e){var t=0,n=0,r=0,i=0;e.barTop?r-=1:e.barBottom?t-=1:e.barRight?i-=1:n-=1;return{marginBottom:r,marginTop:t,marginLeft:i,marginRight:n}}},"tabview/bar/button-forward":{include:"slidebar/button-forward",alias:"slidebar/button-forward",style:function(e){return e.barTop?{marginTop:4,marginBottom:2,decorator:null}:e.barBottom?{marginTop:2,marginBottom:4,decorator:null}:e.barLeft?{marginLeft:4,marginRight:2,decorator:null}:{marginLeft:2,marginRight:4,decorator:null}}},"tabview/bar/button-backward":{include:"slidebar/button-backward",alias:"slidebar/button-backward",style:function(e){return e.barTop?{marginTop:4,marginBottom:2,decorator:null}:e.barBottom?{marginTop:2,marginBottom:4,decorator:null}:e.barLeft?{marginLeft:4,marginRight:2,decorator:null}:{marginLeft:2,marginRight:4,decorator:null}}},"tabview/pane":{style:function(e){return{backgroundColor:"background",decorator:"main",padding:10}}},"tabview-page":"widget","tabview-page/button":{style:function(e){var t;if(e.barTop||e.barBottom)var n=[8,16,8,13];else n=[8,4,8,4];if(e.checked)e.barTop?t="tabview-page-button-top":e.barBottom?t="tabview-page-button-bottom":e.barRight?t="tabview-page-button-right":e.barLeft&&(t="tabview-page-button-left");else{for(var r=0;r+~]|"+L+")"+L+"*"),H=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),z=new RegExp(N),V=new RegExp("^"+R+"$"),G={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Q=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){d()},ie=ve((function(e){return!0===e.disabled}),{dir:"parentNode",next:"legend"});try{k.apply(A=B.call(x.childNodes),x.childNodes);A[x.childNodes.length].nodeType}catch(e){k={apply:A.length?function(e,t){I.apply(e,B.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function oe(e,t,r,i){var o,a,l,c,h,_,g,v=t&&t.ownerDocument,w=t?t.nodeType:9;r=r||[];if("string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!i){(t?t.ownerDocument||t:x)!==f&&d(t);t=t||f;if(p){if(11!==w&&(h=Z.exec(e)))if(o=h[1]){if(9===w){if(!(l=t.getElementById(o)))return r;if(l.id===o){r.push(l);return r}}else if(v&&(l=v.getElementById(o))&&b(t,l)&&l.id===o){r.push(l);return r}}else{if(h[2]){k.apply(r,t.getElementsByTagName(e));return r}if((o=h[3])&&n.getElementsByClassName&&t.getElementsByClassName){k.apply(r,t.getElementsByClassName(o));return r}}if(n.qsa&&!M[e+" "]&&(!m||!m.test(e))){if(1!==w){v=t;g=e}else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=y);a=(_=s(e)).length;for(;a--;)_[a]="#"+c+" "+ge(_[a]);g=_.join(",");v=J.test(e)&&pe(t.parentNode)||t}if(g)try{k.apply(r,v.querySelectorAll(g));return r}catch(e){}finally{c===y&&t.removeAttribute("id")}}}}return u(e.replace(j,"$1"),t,r,i)}function se(){var e=[];return function t(n,i){e.push(n+" ")>r.cacheLength&&delete t[e.shift()];return t[n+" "]=i}}function ae(e){e[y]=!0;return e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function le(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function de(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function fe(e){return function(t){return"label"in t&&t.disabled===e||"form"in t&&t.disabled===e||"form"in t&&!1===t.disabled&&(t.isDisabled===e||t.isDisabled!==!e&&("label"in t||!ie(t))!==e)}}function _e(e){return ae((function(t){t=+t;return ae((function(n,r){for(var i,o=e([],n.length,t),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))}))}))}function pe(e){return e&&void 0!==e.getElementsByTagName&&e}n=oe.support={};o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName};d=oe.setDocument=function(e){var t,i,s=e?e.ownerDocument||e:x;if(s===f||9!==s.nodeType||!s.documentElement)return f;_=(f=s).documentElement;p=!o(f);x!==f&&(i=f.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re));n.attributes=ue((function(e){e.className="i";return!e.getAttribute("className")}));n.getElementsByTagName=ue((function(e){e.appendChild(f.createComment(""));return!e.getElementsByTagName("*").length}));n.getElementsByClassName=X.test(f.getElementsByClassName);n.getById=ue((function(e){_.appendChild(e).id=y;return!f.getElementsByName||!f.getElementsByName(y).length}));if(n.getById){r.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}};r.filter.ID=function(e){var t=e.replace(Q,ee);return function(e){return e.getAttribute("id")===t}}}else{delete r.find.ID;r.filter.ID=function(e){var t=e.replace(Q,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}}r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o};r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)};g=[];m=[];if(n.qsa=X.test(f.querySelectorAll)){ue((function(e){_.appendChild(e).innerHTML="";e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+L+"*(?:''|\"\")");e.querySelectorAll("[selected]").length||m.push("\\["+L+"*(?:value|"+O+")");e.querySelectorAll("[id~="+y+"-]").length||m.push("~=");e.querySelectorAll(":checked").length||m.push(":checked");e.querySelectorAll("a#"+y+"+*").length||m.push(".#.+[+~]")}));ue((function(e){e.innerHTML="";var t=f.createElement("input");t.setAttribute("type","hidden");e.appendChild(t).setAttribute("name","D");e.querySelectorAll("[name=d]").length&&m.push("name"+L+"*[*^$|!~]?=");2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled");_.appendChild(e).disabled=!0;2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled");e.querySelectorAll("*,:x");m.push(",.*:")}))}(n.matchesSelector=X.test(v=_.matches||_.webkitMatchesSelector||_.mozMatchesSelector||_.oMatchesSelector||_.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=v.call(e,"*");v.call(e,"[s!='']:x");g.push("!=",N)}));m=m.length&&new RegExp(m.join("|"));g=g.length&&new RegExp(g.join("|"));t=X.test(_.compareDocumentPosition);b=t||X.test(_.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1};C=t?function(e,t){if(e===t){h=!0;return 0}var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===f||e.ownerDocument===x&&b(x,e)?-1:t===f||t.ownerDocument===x&&b(x,t)?1:c?T(c,e)-T(c,t):0:4&r?-1:1)}:function(e,t){if(e===t){h=!0;return 0}var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===f?-1:t===f?1:i?-1:o?1:c?T(c,e)-T(c,t):0;if(i===o)return ce(e,t);n=e;for(;n=n.parentNode;)s.unshift(n);n=t;for(;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?ce(s[r],a[r]):s[r]===x?-1:a[r]===x?1:0};return f};oe.matches=function(e,t){return oe(e,null,null,t)};oe.matchesSelector=function(e,t){(e.ownerDocument||e)!==f&&d(e);t=t.replace(H,"='$1']");if(n.matchesSelector&&p&&!M[t+" "]&&(!g||!g.test(t))&&(!m||!m.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,f,null,[e]).length>0};oe.contains=function(e,t){(e.ownerDocument||e)!==f&&d(e);return b(e,t)};oe.attr=function(e,t){(e.ownerDocument||e)!==f&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&S.call(r.attrHandle,t.toLowerCase())?i(e,t,!p):void 0;return void 0!==o?o:n.attributes||!p?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null};oe.escape=function(e){return(e+"").replace(te,ne)};oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};oe.uniqueSort=function(e){var t,r=[],i=0,o=0;h=!n.detectDuplicates;c=!n.sortStable&&e.slice(0);e.sort(C);if(h){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}c=null;return e};i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n};r=oe.selectors={cacheLength:50,createPseudo:ae,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(Q,ee);e[3]=(e[3]||e[4]||e[5]||"").replace(Q,ee);"~="===e[2]&&(e[3]=" "+e[3]+" ");return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if("nth"===e[1].slice(0,3)){e[3]||oe.error(e[0]);e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3]));e[5]=+(e[7]+e[8]||"odd"===e[3])}else e[3]&&oe.error(e[0]);return e},PSEUDO:function(e){var t,n=!e[6]&&e[2];if(G.CHILD.test(e[0]))return null;if(e[3])e[2]=e[4]||e[5]||"";else if(n&&z.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)){e[0]=e[0].slice(0,t);e[2]=n.slice(0,t)}return e.slice(0,3)}},filter:{TAG:function(e){var t=e.replace(Q,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=P[e+" "];return t||(t=new RegExp("(^|"+L+")"+e+"("+L+"|$)"))&&P(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);if(null==i)return"!="===t;if(!t)return!0;i+="";return"="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-")}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,h,d,f,_,p=o!==s?"nextSibling":"previousSibling",m=t.parentNode,g=a&&t.nodeName.toLowerCase(),v=!u&&!a,b=!1;if(m){if(o){for(;p;){d=t;for(;d=d[p];)if(a?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;_=p="only"===e&&!_&&"nextSibling"}return!0}_=[s?m.firstChild:m.lastChild];if(s&&v){b=(f=(l=(c=(h=(d=m)[y]||(d[y]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===w&&l[1])&&l[2];d=f&&m.childNodes[f];for(;d=++f&&d&&d[p]||(b=f=0)||_.pop();)if(1===d.nodeType&&++b&&d===t){c[e]=[w,f,b];break}}else{v&&(b=f=(l=(c=(h=(d=t)[y]||(d[y]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===w&&l[1]);if(!1===b)for(;d=++f&&d&&d[p]||(b=f=0)||_.pop();)if((a?d.nodeName.toLowerCase()===g:1===d.nodeType)&&++b){v&&((c=(h=d[y]||(d[y]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]=[w,b]);if(d===t)break}}return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);if(i[y])return i(t);if(i.length>1){n=[e,e,"",t];return r.setFilters.hasOwnProperty(e.toLowerCase())?ae((function(e,n){for(var r,o=i(e,t),s=o.length;s--;)e[r=T(e,o[s])]=!(n[r]=o[s])})):function(e){return i(e,0,n)}}return i}},pseudos:{not:ae((function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[y]?ae((function(e,t,n,i){for(var o,s=r(e,null,i,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))})):function(e,i,o){t[0]=e;r(t,null,o,n);t[0]=null;return!n.pop()}})),has:ae((function(e){return function(t){return oe(e,t).length>0}})),contains:ae((function(e){e=e.replace(Q,ee);return function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}})),lang:ae((function(e){V.test(e||"")||oe.error("unsupported lang: "+e);e=e.replace(Q,ee).toLowerCase();return function(t){var n;do{if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===_},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:fe(!1),disabled:fe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){e.parentNode&&e.parentNode.selectedIndex;return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:_e((function(){return[0]})),last:_e((function(e,t){return[t-1]})),eq:_e((function(e,t,n){return[n<0?n+t:n]})),even:_e((function(e,t){for(var n=0;n=0;)e.push(r);return e})),gt:_e((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function ye(e,t,n,r,i){for(var o,s=[],a=0,u=e.length,l=null!=t;a-1&&(o[l]=!(s[l]=h))}}else{g=ye(g===s?g.splice(_,g.length):g);i?i(null,s,g,u):k.apply(s,g)}}))}function we(e){for(var t,n,i,o=e.length,s=r.relative[e[0].type],a=s||r.relative[" "],u=s?1:0,c=ve((function(e){return e===t}),a,!0),h=ve((function(e){return T(t,e)>-1}),a,!0),d=[function(e,n,r){var i=!s&&(r||n!==l)||((t=n).nodeType?c(e,n,r):h(e,n,r));t=null;return i}];u1&&be(d),u>1&&ge(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(j,"$1"),n,u0,i=e.length>0,o=function(o,s,a,u,c){var h,_,m,g=0,v="0",b=o&&[],y=[],x=l,q=o||i&&r.find.TAG("*",c),P=w+=null==x?1:Math.random()||.1,E=q.length;c&&(l=s===f||s||c);for(;v!==E&&null!=(h=q[v]);v++){if(i&&h){_=0;if(!s&&h.ownerDocument!==f){d(h);a=!p}for(;m=e[_++];)if(m(h,s||f,a)){u.push(h);break}c&&(w=P)}if(n){(h=!m&&h)&&g--;o&&b.push(h)}}g+=v;if(n&&v!==g){_=0;for(;m=t[_++];)m(b,y,s,a);if(o){if(g>0)for(;v--;)b[v]||y[v]||(y[v]=D.call(u));y=ye(y)}k.apply(u,y);c&&!o&&y.length>0&&g+t.length>1&&oe.uniqueSort(u)}if(c){w=P;l=x}return b};return n?ae(o):o}(o,i));a.selector=e}return a};u=oe.select=function(e,t,i,o){var u,l,c,h,d,f="function"==typeof e&&e,_=!o&&s(e=f.selector||e);i=i||[];if(1===_.length){if((l=_[0]=_[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&n.getById&&9===t.nodeType&&p&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(Q,ee),t)||[])[0]))return i;f&&(t=t.parentNode);e=e.slice(l.shift().value.length)}u=G.needsContext.test(e)?0:l.length;for(;u--;){c=l[u];if(r.relative[h=c.type])break;if((d=r.find[h])&&(o=d(c.matches[0].replace(Q,ee),J.test(l[0].type)&&pe(t.parentNode)||t))){l.splice(u,1);if(!(e=o.length&&ge(l))){k.apply(i,o);return i}break}}}(f||a(e,_))(o,t,!p,i,!t||J.test(e)&&pe(t.parentNode)||t);return i};n.sortStable=y.split("").sort(C).join("")===y;n.detectDuplicates=!!h;d();n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))}));ue((function(e){e.innerHTML="";return"#"===e.firstChild.getAttribute("href")}))||le("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}));n.attributes&&ue((function(e){e.innerHTML="";e.firstChild.setAttribute("value","");return""===e.firstChild.getAttribute("value")}))||le("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}));ue((function(e){return null==e.getAttribute("disabled")}))||le(O,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}));qx.bom.Selector.query=function(e,t){return oe(e,t)};qx.bom.Selector.matches=function(e,t){return oe(e,null,null,t)}}(window);qx.bom.Selector.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.lang.normalize.Function":{require:!0},"qx.lang.normalize.String":{require:!0},"qx.lang.normalize.Date":{require:!0},"qx.lang.normalize.Array":{require:!0},"qx.lang.normalize.Error":{require:!0},"qx.lang.normalize.Object":{require:!0},"qx.lang.normalize.Number":{require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.module.Polyfill",{});qx.module.Polyfill.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["device.name","device.touch","device.type","device.pixelRatio"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.Device",{statics:{__P_135_0:{"Windows Phone":"iemobile",iPod:"ipod",iPad:"ipad",iPhone:"iphone",PSP:"psp","PLAYSTATION 3":"ps3","Nintendo Wii":"wii","Nintendo DS":"ds",XBOX:"xbox",Xbox:"xbox"},getName:function(){var e=[];for(var t in qx.bom.client.Device.__P_135_0)e.push(t);var n=new RegExp("("+e.join("|").replace(/\./g,".")+")","g").exec(navigator.userAgent);return n&&n[1]?qx.bom.client.Device.__P_135_0[n[1]]:"pc"},getType:function(){return qx.bom.client.Device.detectDeviceType(navigator.userAgent)},detectDeviceType:function(e){return qx.bom.client.Device.detectTabletDevice(e)?"tablet":qx.bom.client.Device.detectMobileDevice(e)?"mobile":"desktop"},detectMobileDevice:function(e){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(e)},detectTabletDevice:function(e){var t="MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,n=/MSIE 10/i.test(e)&&/ARM/i.test(e)&&!/windows phone/i.test(e),r=!/android.+mobile|Tablet PC/i.test(e)&&/Android|ipad|tablet|playbook|silk|kindle|psp/i.test(e);return n||r||t},getDevicePixelRatio:function(){return void 0!==window.devicePixelRatio?window.devicePixelRatio:1},getTouch:function(){return"ontouchstart"in window||window.navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0}},defer:function(e){qx.core.Environment.add("device.name",e.getName);qx.core.Environment.add("device.touch",e.getTouch);qx.core.Environment.add("device.type",e.getType);qx.core.Environment.add("device.pixelRatio",e.getDevicePixelRatio)}});qx.bom.client.Device.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Browser":{defer:"load",require:!0},"qx.bom.client.Engine":{defer:"load",require:!0},"qx.bom.client.Device":{defer:"load",require:!0},"qx.bom.client.Event":{defer:"load",require:!0},qxWeb:{defer:"runtime"}},environment:{provided:[],required:{"browser.name":{defer:!0,className:"qx.bom.client.Browser"},"browser.version":{defer:!0,className:"qx.bom.client.Browser"},"browser.quirksmode":{defer:!0,className:"qx.bom.client.Browser"},"browser.documentmode":{defer:!0,className:"qx.bom.client.Browser"},"engine.name":{defer:!0,className:"qx.bom.client.Engine"},"engine.version":{defer:!0,className:"qx.bom.client.Engine"},"device.name":{defer:!0,className:"qx.bom.client.Device"},"device.type":{defer:!0,className:"qx.bom.client.Device"},"event.touch":{defer:!0,className:"qx.bom.client.Event"},"event.mspointer":{defer:!0,className:"qx.bom.client.Event"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.module.Environment",{statics:{get:function(e){return qx.core.Environment.get(e)},add:function(e,t){qx.core.Environment.add(e,t);return this}},defer:function(e){qx.core.Environment.get("browser.name");qx.core.Environment.get("browser.version");qx.core.Environment.get("browser.quirksmode");qx.core.Environment.get("browser.documentmode");qx.core.Environment.get("engine.name");qx.core.Environment.get("engine.version");qx.core.Environment.get("device.name");qx.core.Environment.get("device.type");qx.core.Environment.get("event.touch");qx.core.Environment.get("event.mspointer");qxWeb.$attachAll(this,"env")}});qx.module.Environment.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.module.event.PointerHandler":{defer:"runtime"},"qx.module.Polyfill":{require:!0,defer:"runtime"},"qx.module.Environment":{require:!0,defer:"runtime"},"qx.Bootstrap":{usage:"dynamic",require:!0},qxWeb:{defer:"runtime"},"qx.bom.Event":{},"qx.lang.Type":{},"qx.lang.Array":{},"qx.event.Emitter":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.module.Event",{statics:{__P_174_0:{},__P_174_1:{on:{},off:{}},__P_174_2:!1,ready:function(e){if("complete"!==document.readyState){var t=function(){qx.module.Event.__P_174_2=!0;e()};qxWeb(window).on("load",t);var n=function(){qxWeb(window).off("load",t);e()};if("mshtml"!==qxWeb.env.get("engine.name")||qxWeb.env.get("browser.documentmode")>8)qx.bom.Event.addNativeListener(document,"DOMContentLoaded",n);else{!function e(){if(!qx.module.Event.__P_174_2)try{document.documentElement.doScroll("left");document.body&&n()}catch(t){window.setTimeout(e,100)}}()}}else window.setTimeout(e,1)},$registerEventNormalization:function(e,t){qx.lang.Type.isArray(e)||(e=[e]);for(var n=qx.module.Event.__P_174_0,r=0,i=e.length;r0},copyEventsTo:function(e){for(var t=this.concat(),n=e.concat(),r=t.length-1;r>=0;r--)for(var i=t[r].getElementsByTagName("*"),o=0;o=0;r--)for(i=n[r].getElementsByTagName("*"),o=0;o=0;o--){var l=a[u][o].listener;l.original&&(l=l.original);qxWeb(n[r]).on(u,l,a[u][o].ctx)}}}},hover:function(e,t){this.on("pointerover",e,this);qx.lang.Type.isFunction(t)&&this.on("pointerout",t,this);return this},onMatchTarget:function(e,t,n,r){r=void 0!==r?r:this;var i=function(e){var i=qxWeb(e.getTarget());if(i.is(t))n.call(r,i,qxWeb.object.clone(e));else for(var o="string"==typeof t?this.find(t):qxWeb(t),s=0,a=o.length;s=0;o--){var s=i[o];if(s.type==e&&s.callback==n&&s.context==r){this.off(e,s.listener);i.splice(o,1)}}0===i.length&&(t.$$matchTargetInfo=null)}}),this);return this}},defer:function(e){qxWeb.$attachAll(this);qxWeb.$attachStatic({$registerEventNormalization:e.$registerEventNormalization,$unregisterEventNormalization:e.$unregisterEventNormalization,$getEventNormalizationRegistry:e.$getEventNormalizationRegistry,$registerEventHook:e.$registerEventHook,$unregisterEventHook:e.$unregisterEventHook,$getEventHookRegistry:e.$getEventHookRegistry})}});qx.module.Event.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.module.Event":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Event":{require:!0},"qx.event.Emitter":{},"qx.event.handler.PointerCore":{},qxWeb:{defer:"runtime"}},environment:{provided:[],required:{"event.dispatchevent":{className:"qx.bom.client.Event"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.module.event.PointerHandler",{statics:{TYPES:["pointermove","pointerover","pointerout","pointerdown","pointerup","pointercancel","gesturebegin","gesturemove","gesturefinish","gesturecancel"],register:function(e,t){if(!e.$$pointerHandler){qx.core.Environment.get("event.dispatchevent")||e.$$emitter||(e.$$emitter=new qx.event.Emitter);e.$$pointerHandler=new qx.event.handler.PointerCore(e,e.$$emitter)}},unregister:function(e){if(e.$$pointerHandler){if("qx.event.handler.Pointer"===e.$$pointerHandler.classname)return;var t=e.$$emitter.getListeners();for(var n in t)if(-1!==qx.module.event.PointerHandler.TYPES.indexOf(n)&&t[n].length>0)return;e.$$pointerHandler.dispose();e.$$pointerHandler=void 0}}},defer:function(e){qxWeb.$registerEventHook(e.TYPES,e.register,e.unregister)}});qx.module.event.PointerHandler.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.module.Css":{require:!0,defer:"runtime"},"qx.module.Event":{require:!0,defer:"runtime"},"qx.module.Environment":{require:!0,defer:"runtime"},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Animation":{},qxWeb:{defer:"runtime"}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.module.Animation",{events:{animationStart:void 0,animationIteration:void 0,animationEnd:void 0},statics:{_fadeOut:{duration:700,timing:"ease-out",keep:100,keyFrames:{0:{opacity:1},100:{opacity:0,display:"none"}}},_fadeIn:{duration:700,timing:"ease-in",keep:100,keyFrames:{0:{opacity:0},100:{opacity:1}}},_animate:function(e,t,n){this._forEachElement((function(r,i){r.$$animation&&r.$$animation.stop();var o;o=n?qx.bom.element.Animation.animateReverse(r,e,t):qx.bom.element.Animation.animate(r,e,t);var s=this;if(0==i){o.on("start",(function(){s.emit("animationStart")}),o);o.on("iteration",(function(){s.emit("animationIteration")}),o)}o.on("end",(function(){for(var e=0;e-1){o=r.substring(0,a);s=r.substring(a+1);n=qx.core.Id.getQxObject(o).getQxObject(s)}else{s=r;i;n=i.getQxObject(r)}}}n||(n=qx.html.Factory.getInstance().createElement(t.nodeName,t.attributes));return{htmlNode:n,domNode:t,children:e(t)}}));return n}(e)};!function e(t){var n=t.children.map((function(t){e(t);return t.htmlNode}));t.htmlNode._useNodeImpl(t.domNode,n)}(o);this.flush();this._insertChildren();r&&qx.core.Id.getInstance().unregister(this);t&&this.setQxObjectId(null)},_useNodeImpl:function(e,t){if(this._domNode)throw new Error("Could not overwrite existing element!");this._connectDomNode(e);this._copyData(!0,!0);var n={},r=this._children?qx.lang.Array.clone(this._children):null;t.forEach((function(e){n[e.toHashCode()]=e}));this._children=t;r&&r.forEach((function(e){if(!n[e.toHashCode()]){e._domNode&&e._domNode.parentElement&&e._domNode.parentElement.removeChild(e._domNode);e._parent=null}}));var i=this;this._children.forEach((function(e){e._parent=i;if(e._domNode&&e._domNode.parentElement!==i._domNode){e._domNode.parentElement.removeChild(e._domNode);this._domNode&&this._domNode.appendChild(e._domNode)}}));this._domNode&&this._scheduleChildrenUpdate()},_connectDomNode:function(e){this._domNode=e;e.$$elementObject=this;e.$$element=this.toHashCode();if(this._qxObject){e.$$qxObjectHash=this._qxObject.toHashCode();e.$$qxObject=this._qxObject}},isInDocument:function(){if(document.body)for(var e=this._domNode;null!=e;e=e.parentElement)if(e===document.body)return!0;return!1},updateObjectId:function(){if(qx.core.Environment.get("module.objectid")){var e=this.getQxObjectId();!e&&this._qxObject&&(e=this._qxObject.getQxObjectId());this.setAttribute("data-qx-object-id",e,!0)}},_cascadeQxObjectIdChanges:function(){qx.core.Environment.get("module.objectid")&&this.updateObjectId();qx.html.Node.superclass.prototype._cascadeQxObjectIdChanges.call(this)},_scheduleChildrenUpdate:function(){if(!this._modifiedChildren&&this._domNode){this._modifiedChildren=!0;qx.html.Element._modified[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}},_flush:function(){this.flush()},flush:function(){var e,t=this._children;if(t){e=t.length;for(var n,r=0;r0&&this._insertChildren()}delete this._modifiedChildren},isRoot:function(){throw new Error("No implementation for "+this.classname+".isRoot")},isInRoot:function(){for(var e=this;e;){if(e.isRoot())return!0;e=e._parent}return!1},_willBeSeeable:function(){if(!qx.html.Element._hasRoots)return!1;for(var e=this;e;){if(e.isRoot())return!0;if(!e._included||!e.isVisible())return!1;e=e._parent}return!1},_insertChildren:function(){var e=this._children;if(e){var t,n=e.length;if(n>2){for(var r=document.createDocumentFragment(),i=0;i=0;u--){n=s[u];(t=qx.html.Node.fromDomNode(n))&&t._included&&t._parent===this||o.removeChild(n)}for(u=0;u=0&&t.style.borderImageSlice.indexOf("4 fill")>=0&&t.style.borderImageRepeat.indexOf("stretch")>=0)return!0}else{t.style[e]='url("foo.png") 4 4 4 4 stretch';if(t.style[e].indexOf("foo.png")>=0)return!1}return null},getUserSelect:function(){return qx.bom.Style.getPropertyName("userSelect")},getUserSelectNone:function(){var e=qx.bom.client.Css.getUserSelect();if(e){var t=document.createElement("span");t.style[e]="-moz-none";return"-moz-none"===t.style[e]?"-moz-none":"none"}return null},getUserModify:function(){return qx.bom.Style.getPropertyName("userModify")},getFloat:function(){var e=document.documentElement.style;return void 0!==e.cssFloat?"cssFloat":void 0!==e.styleFloat?"styleFloat":null},getLinearGradient:function(){qx.bom.client.Css.__P_95_0=!1;var e="linear-gradient(0deg, #fff, #000)",t=document.createElement("div");if(!(n=qx.bom.Style.getAppliedStyle(t,"backgroundImage",e))){e="-webkit-gradient(linear,0% 0%,100% 100%,from(white), to(red))";var n;(n=qx.bom.Style.getAppliedStyle(t,"backgroundImage",e,!1))&&(qx.bom.client.Css.__P_95_0=!0)}if(!n)return null;var r=/(.*?)\(/.exec(n);return r?r[1]:null},getRadialGradient:function(){var e=document.createElement("div"),t=qx.bom.Style.getAppliedStyle(e,"backgroundImage","radial-gradient(0px 0px, cover, red 50%, blue 100%)");if(!t)return null;var n=/(.*?)\(/.exec(t);return n?n[1]:null},getLegacyWebkitGradient:function(){null===qx.bom.client.Css.__P_95_0&&qx.bom.client.Css.getLinearGradient();return qx.bom.client.Css.__P_95_0},getRgba:function(){var e;try{e=document.createElement("div")}catch(t){e=document.createElement()}try{e.style.color="rgba(1, 2, 3, 0.5)";if(-1!=e.style.color.indexOf("rgba"))return!0}catch(e){}return!1},getBoxSizing:function(){return qx.bom.Style.getPropertyName("boxSizing")},getInlineBlock:function(){var e=document.createElement("span");e.style.display="inline-block";if("inline-block"==e.style.display)return"inline-block";e.style.display="-moz-inline-box";return"-moz-inline-box"!==e.style.display?"-moz-inline-box":null},getOpacity:function(){return"string"==typeof document.documentElement.style.opacity},getTextShadow:function(){return!!qx.bom.Style.getPropertyName("textShadow")},getAlphaImageLoaderNeeded:function(){return"mshtml"==qx.bom.client.Engine.getName()&&qx.bom.client.Browser.getDocumentMode()<9},getPointerEvents:function(){var e=document.documentElement;if("pointerEvents"in e.style){var t=e.style.pointerEvents;e.style.pointerEvents="auto";e.style.pointerEvents="foo";var n="auto"==e.style.pointerEvents;e.style.pointerEvents=t;return n}return!1},getFlexboxSyntax:function(){for(var e=null,t=document.createElement("detect"),n=[{value:"flex",syntax:"flex"},{value:"-ms-flexbox",syntax:"flexbox"},{value:"-webkit-flex",syntax:"flex"}],r=0;r=8||(g.style.visibility=e.isVisible()?"visible":"hidden"))}delete c[a]}else delete c[a]}var h=this._scroll;for(var a in h){if((y=(e=h[a])._domNode)&&y.offsetWidth){var d=!0;if(null!=e.__P_81_10){e._domNode.scrollLeft=e.__P_81_10;delete e.__P_81_10}if(null!=e.__P_81_11){e._domNode.scrollTop=e.__P_81_11;delete e.__P_81_11}var f=e.__P_81_12;if(null!=f){if((p=f.element.getDomElement())&&p.offsetWidth){qx.bom.element.Scroll.intoViewX(p,y,f.align);delete e.__P_81_12}else d=!1}var _=e.__P_81_13;if(null!=_){var p;if((p=_.element.getDomElement())&&p.offsetWidth){qx.bom.element.Scroll.intoViewY(p,y,_.align);delete e.__P_81_13}else d=!1}d&&delete h[a]}}var m={releaseCapture:1,blur:1,deactivate:1};for(u=0;u");for(var s=0;s")}else qx.html.Element.__P_81_5[this._nodeName]?e(">"):e(">")},connectWidget:function(e){return this.connectObject(e)},disconnectWidget:function(e){return this.disconnectObject(e)},_addChildImpl:function(e){qx.html.Element.superclass.prototype._addChildImpl.call(this,e);this.__P_81_17=!0},_removeChildImpl:function(e){qx.html.Element.superclass.prototype._removeChildImpl.call(this,e);this.__P_81_17=!0},getQxObject:function(e){if(this.__P_81_17){this.importQxObjectIds();this.__P_81_17=!1}return qx.html.Element.superclass.prototype.getQxObject.call(this,e)},importQxObjectIds:function(){var e=this,t=this.getQxObjectId(),n=this.getAttribute("data-qx-object-id");t?this.setAttribute("data-qx-object-id",t,!0):n&&this.setQxObjectId(n);var r=this.getChildren();r&&r.forEach((function r(i){if(i instanceof qx.html.Element){var o=i.getQxObjectId(),s=i.getAttribute("data-qx-object-id");if(o){s&&!s.endsWith(o)&&e.warn("Attribute ID ".concat(s," is not compatible with the qxObjectId ").concat(o,"; the qxObjectId will take prescedence"));i.setAttribute("data-qx-object-id",o,!0)}else if(s){var a=s?s.split("/"):[];if(1==a.length)e.addOwnedQxObject(i,s);else if(a.length>1){var u=null;if(a[0]==n||a[0]==t)if(2==a.length)u=e;else{var l=qx.lang.Array.clone(a);l.shift();l.pop();l=l.join("/");u=e.getQxObject(l)}else u=qx.core.Id.getQxObject(s);if(!u)throw new Error("Cannot resolve object id ancestors, id=".concat(s));u.addOwnedQxObject(i,a[a.length-1])}}var c=i.getChildren();c&&c.forEach(r)}}))},_copyData:function(e,t){qx.html.Element.superclass.prototype._copyData.call(this,e,t);var n,r=this._domNode;if(n=this.__P_81_1){var i=qx.bom.element.Attribute;if(e){var o,s={};((o=this.getAttribute("class"))?o.split(" "):[]).forEach((function(e){e.startsWith("qx-")&&(s[e]=!0)}));(o=i.get(r,"class"))instanceof window.SVGAnimatedString&&(o=o.baseVal);(o?o.split(" "):[]).forEach((function(e){return s[e]=!0}));var a=s=Object.keys(s);if(a.length){this.setCssClass(a[0]);this.setAttribute("class",s.join(" "))}else{this.setCssClass(null);this.setAttribute("class",null)}}for(var u in n)i.set(r,u,n[u])}if(n=this.__P_81_0){var l=qx.bom.element.Style;e?l.setStyles(r,n):l.setCss(r,l.compile(n))}if(e){c=r.style.display||"";this.setVisible("none"!=c)}else{var c;""!=(c=r.style.display||"")||this.isVisible()?"none"==c&&this.isVisible()&&(r.style.display=""):r.style.display="none"}},_syncData:function(){qx.html.Element.superclass.prototype._syncData.call(this);var e,t=this._domNode,n=qx.bom.element.Attribute,r=qx.bom.element.Style;if(e=this.__P_81_16){if(s=this.__P_81_1){var i;for(var o in e)void 0!==(i=s[o])?n.set(t,o,i):n.reset(t,o)}this.__P_81_16=null}if(e=this.__P_81_15){var s;if(s=this.__P_81_0){var a={};for(var o in e)a[o]=s[o];r.setStyles(t,a)}this.__P_81_15=null}},setRoot:function(e){e&&!this.__P_81_14?qx.html.Element._hasRoots++:!e&&this.__P_81_14&&qx.html.Element._hasRoots--;this.__P_81_14=e},isRoot:function(){return this.__P_81_14},useMarkup:function(e){if(this._domNode)throw new Error("Could not overwrite existing element!");if("mshtml"==qx.core.Environment.get("engine.name"))var t=document.createElement("div");else t=qx.dom.Element.getHelperElement();t.innerHTML=e;this.useElement(t.firstChild);return this._domNode},useElement:function(e){this.useNode(e)},isFocusable:function(){var e=this.getAttribute("tabIndex");if(e>=1)return!0;var t=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;return!!(e>=0&&t[this._nodeName])},setSelectable:function(e){this.setAttribute("qxSelectable",e?"on":"off");var t=qx.core.Environment.get("css.userselect");t&&this.setStyle(t,e?"text":qx.core.Environment.get("css.userselect.none"))},isNativelyFocusable:function(){return!!qx.event.handler.Focus.FOCUSABLE_ELEMENTS[this._nodeName]},fadeIn:function(e){var t=qxWeb(this._domNode);t.isPlaying()&&t.stop();if(!this._domNode){this.flush();t.push(this._domNode)}if(this._domNode){t.fadeIn(e).once("animationEnd",(function(){this.show();qx.html.Element.flush()}),this);return t.getAnimationHandles()[0]}},fadeOut:function(e){var t=qxWeb(this._domNode);t.isPlaying()&&t.stop();if(this._domNode){t.fadeOut(e).once("animationEnd",(function(){this.hide();qx.html.Element.flush()}),this);return t.getAnimationHandles()[0]}},_applyVisible:function(e,t){qx.html.Element.superclass.prototype._applyVisible.call(this,e,t);if(e){if(this._domNode){qx.html.Element._visibility[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}this._parent&&this._parent._scheduleChildrenUpdate()}else if(this._domNode){qx.html.Element._visibility[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}},show:function(){this.setVisible(!0);return this},hide:function(){this.setVisible(!1);return this},scrollChildIntoViewX:function(e,t,n){var r=this._domNode,i=e.getDomElement();if(!1!==n&&r&&r.offsetWidth&&i&&i.offsetWidth)qx.bom.element.Scroll.intoViewX(i,r,t);else{this.__P_81_12={element:e,align:t};qx.html.Element._scroll[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}delete this.__P_81_10},scrollChildIntoViewY:function(e,t,n){var r=this._domNode,i=e.getDomElement();if(!1!==n&&r&&r.offsetWidth&&i&&i.offsetWidth)qx.bom.element.Scroll.intoViewY(i,r,t);else{this.__P_81_13={element:e,align:t};qx.html.Element._scroll[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}delete this.__P_81_11},scrollToX:function(e,t){var n=this._domNode;if(!0!==t&&n&&n.offsetWidth){n.scrollLeft=e;delete this.__P_81_10}else{this.__P_81_10=e;qx.html.Element._scroll[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}delete this.__P_81_12},getScrollX:function(){var e=this._domNode;return e?e.scrollLeft:this.__P_81_10||0},scrollToY:function(e,t){var n=this._domNode;if(!0!==t&&n&&n.offsetWidth){n.scrollTop=e;delete this.__P_81_11}else{this.__P_81_11=e;qx.html.Element._scroll[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}delete this.__P_81_13},getScrollY:function(){var e=this._domNode;return e?e.scrollTop:this.__P_81_11||0},disableScrolling:function(){this.enableScrolling();this.scrollToX(0);this.scrollToY(0);this.addListener("scroll",this.__P_81_18,this)},enableScrolling:function(){this.removeListener("scroll",this.__P_81_18,this)},__P_81_19:null,__P_81_18:function(e){if(!this.__P_81_19){this.__P_81_19=!0;this._domNode.scrollTop=0;this._domNode.scrollLeft=0;delete this.__P_81_19}},setText:function(e){var t=this,n=this._children?qx.lang.Array.clone(this._children):[];if(n[0]instanceof qx.html.Text){n[0].setText(e);n.shift();n.forEach((function(e){t.remove(e)}))}else{n.forEach((function(e){t.remove(e)}));this.add(new qx.html.Text(e))}},getText:function(){var e=[];this._children&&this._children.forEach((function(t){e.push(t.getText())}));return e.join("")},getTextSelection:function(){var e=this._domNode;return e?qx.bom.Selection.get(e):null},getTextSelectionLength:function(){var e=this._domNode;return e?qx.bom.Selection.getLength(e):null},getTextSelectionStart:function(){var e=this._domNode;return e?qx.bom.Selection.getStart(e):null},getTextSelectionEnd:function(){var e=this._domNode;return e?qx.bom.Selection.getEnd(e):null},setTextSelection:function(e,t){var n=this._domNode;if(n)qx.bom.Selection.set(n,e,t);else{qx.html.Element.__P_81_2[this.toHashCode()]={element:this,start:e,end:t};qx.html.Element._scheduleFlush("element")}},clearTextSelection:function(){var e=this._domNode;e&&qx.bom.Selection.clear(e);delete qx.html.Element.__P_81_2[this.toHashCode()]},__P_81_20:function(e,t){qx.html.Element._actions.push({type:e,element:this,args:t||[]});qx.html.Element._scheduleFlush("element")},focus:function(){this.__P_81_20("focus")},blur:function(){this.__P_81_20("blur")},activate:function(){this.__P_81_20("activate")},deactivate:function(){this.__P_81_20("deactivate")},capture:function(e){this.__P_81_20("capture",[!1!==e])},releaseCapture:function(){this.__P_81_20("releaseCapture")},setStyle:function(e,t,n){this.__P_81_0||(this.__P_81_0={});if(this.__P_81_0[e]==t)return this;this._applyStyle(e,t,this.__P_81_0[e]);null==t?delete this.__P_81_0[e]:this.__P_81_0[e]=t;if(this._domNode){if(n){qx.bom.element.Style.set(this._domNode,e,t);return this}this.__P_81_15||(this.__P_81_15={});this.__P_81_15[e]=!0;qx.html.Element._modified[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}return this},_applyStyle:function(e,t,n){},setStyles:function(e,t){var n=qx.bom.element.Style;this.__P_81_0||(this.__P_81_0={});if(this._domNode){this.__P_81_15||(this.__P_81_15={});for(var r in e){var i=e[r];if(this.__P_81_0[r]!=i){this._applyStyle(r,i,this.__P_81_0[r]);null==i?delete this.__P_81_0[r]:this.__P_81_0[r]=i;t?n.set(this._domNode,r,i):this.__P_81_15[r]=!0}}qx.html.Element._modified[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}else for(var r in e){i=e[r];if(this.__P_81_0[r]!=i){this._applyStyle(r,i,this.__P_81_0[r]);null==i?delete this.__P_81_0[r]:this.__P_81_0[r]=i}}return this},removeStyle:function(e,t){this.setStyle(e,null,t);return this},getStyle:function(e){return this.__P_81_0?this.__P_81_0[e]:null},getAllStyles:function(){return this.__P_81_0||null},__P_81_21:function(){var e={};(this.getAttribute("class")||"").split(" ").forEach((function(t){t&&(e[t.toLowerCase()]=t)}));return e},__P_81_22:function(e){var t=this.getCssClass(),n=[];if(t){n.push(t);delete e[t.toLowerCase()]}qx.lang.Array.append(n,Object.values(e));return n.length?n.join(" "):null},addClass:function(e){var t=this,n=this.__P_81_21(),r=(this.getCssClass()||"").toLowerCase();e.split(" ").forEach((function(e){var i=e.toLowerCase();i==r&&t.setCssClass(null);n[i]=e}));this.setAttribute("class",this.__P_81_22(n));return this},removeClass:function(e){var t=this,n=this.__P_81_21(),r=(this.getCssClass()||"").toLowerCase();e.split(" ").forEach((function(e){var i=e.toLowerCase();i==r&&t.setCssClass(null);delete n[i]}));this.setAttribute("class",this.__P_81_22(n));return this},removeAllClasses:function(){this.setCssClass(null);this.setAttribute("class","")},_applyCssClass:function(e,t){var n=this.__P_81_21();t&&t.split(" ").forEach((function(e){return delete n[e.toLowerCase()]}));e&&e.split(" ").forEach((function(e){return n[e.toLowerCase()]=e}));this.setAttribute("class",this.__P_81_22(n))},getDimensions:function(e){if(!this._domNode)return{left:0,top:0,right:0,bottom:0,width:0,height:0,content:{width:0,height:0}};var t=qx.bom.element.Location.get(this._domNode,e);t.content=qx.bom.element.Dimension.getContentSize(this._domNode);t.width=t.right-t.left;t.height=t.bottom-t.top;return t},canBeSeen:function(){if(this._domNode&&this.isVisible()){var e=this._domNode.getBoundingClientRect();if(e.top>0||e.left>0||e.width>0||e.height>0)return!0}return!1},setAttribute:function(e,t,n){this.__P_81_1||(this.__P_81_1={});if(this.__P_81_1[e]==t)return this;null==t?delete this.__P_81_1[e]:this.__P_81_1[e]=t;"data-qx-object-id"==e&&this.setQxObjectId(t);if(this._domNode){if(n){qx.bom.element.Attribute.set(this._domNode,e,t);return this}this.__P_81_16||(this.__P_81_16={});this.__P_81_16[e]=!0;qx.html.Element._modified[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")}return this},setAttributes:function(e,t){for(var n in e)this.setAttribute(n,e[n],t);return this},removeAttribute:function(e,t){return this.setAttribute(e,null,t)},getAttribute:function(e){return this.__P_81_1?this.__P_81_1[e]:null}},defer:function(e){e.__P_81_6=new qx.util.DeferredCall(e.flush,e);e.__P_81_5={};["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].forEach((function(t){e.__P_81_5[t]=!0}))},destruct:function(){var e=this.toHashCode();if(e){delete qx.html.Element._modified[e];delete qx.html.Element._scroll[e]}this.setRoot(!1);this.__P_81_1=this.__P_81_0=this.__P_81_16=this.__P_81_15=this.__P_81_12=this.__P_81_13=null}});qx.html.Element.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.theme.manager.Meta":{construct:!0},"qx.util.PropertyUtil":{},"qx.ui.core.queue.Layout":{},"qx.core.Init":{},"qx.ui.core.queue.Visibility":{},"qx.lang.Object":{}},environment:{provided:[],required:{"qx.dyntheme":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.LayoutItem",{type:"abstract",extend:qx.core.Object,construct:function(){qx.core.Object.constructor.call(this);qx.theme.manager.Meta.getInstance().addListener("changeTheme",this._onChangeTheme,this)},properties:{minWidth:{check:"Integer",nullable:!0,apply:"_applyDimension",init:null,themeable:!0},width:{check:"Integer",event:"changeWidth",nullable:!0,apply:"_applyDimension",init:null,themeable:!0},maxWidth:{check:"Integer",nullable:!0,apply:"_applyDimension",init:null,themeable:!0},minHeight:{check:"Integer",nullable:!0,apply:"_applyDimension",init:null,themeable:!0},height:{check:"Integer",event:"changeHeight",nullable:!0,apply:"_applyDimension",init:null,themeable:!0},maxHeight:{check:"Integer",nullable:!0,apply:"_applyDimension",init:null,themeable:!0},allowGrowX:{check:"Boolean",apply:"_applyStretching",init:!0,themeable:!0},allowShrinkX:{check:"Boolean",apply:"_applyStretching",init:!0,themeable:!0},allowGrowY:{check:"Boolean",apply:"_applyStretching",init:!0,themeable:!0},allowShrinkY:{check:"Boolean",apply:"_applyStretching",init:!0,themeable:!0},allowStretchX:{group:["allowGrowX","allowShrinkX"],mode:"shorthand",themeable:!0},allowStretchY:{group:["allowGrowY","allowShrinkY"],mode:"shorthand",themeable:!0},marginTop:{check:"Integer",init:0,apply:"_applyMargin",themeable:!0},marginRight:{check:"Integer",init:0,apply:"_applyMargin",themeable:!0},marginBottom:{check:"Integer",init:0,apply:"_applyMargin",themeable:!0},marginLeft:{check:"Integer",init:0,apply:"_applyMargin",themeable:!0},margin:{group:["marginTop","marginRight","marginBottom","marginLeft"],mode:"shorthand",themeable:!0},alignX:{check:["left","center","right"],nullable:!0,apply:"_applyAlign",themeable:!0},alignY:{check:["top","middle","bottom","baseline"],nullable:!0,apply:"_applyAlign",themeable:!0}},members:{_onChangeTheme:qx.core.Environment.select("qx.dyntheme",{true:function(){var e=qx.util.PropertyUtil.getAllProperties(this.constructor);for(var t in e){if(e[t].themeable){null==qx.util.PropertyUtil.getUserValue(this,t)&&qx.util.PropertyUtil.resetThemed(this,t)}}},false:null}),__P_86_0:null,__P_86_1:null,__P_86_2:null,__P_86_3:null,__P_86_4:null,__P_86_5:null,__P_86_6:null,getBounds:function(){return this.__P_86_5||this.__P_86_1||null},clearSeparators:function(){},renderSeparator:function(e,t){},renderLayout:function(e,t,n,r){if(this.isDisposed())return null;var i=this.__P_86_1;i||(i=this.__P_86_1={});var o={};if(e!==i.left||t!==i.top){o.position=!0;i.left=e;i.top=t}if(n!==i.width||r!==i.height){o.size=!0;i.width=n;i.height=r}if(this.__P_86_2){o.local=!0;delete this.__P_86_2}if(this.__P_86_4){o.margin=!0;delete this.__P_86_4}if(null==this.getHeight()&&this._hasHeightForWidth()){var s=this._getHeightForWidth(n);if(null!=s&&s!==this.__P_86_0){this.__P_86_0=s;qx.ui.core.queue.Layout.add(this)}}return o},isExcluded:function(){return!1},hasValidLayout:function(){return!this.__P_86_2},scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this)},invalidateLayoutCache:function(){this.__P_86_2=!0;this.__P_86_3=null},getSizeHint:function(e){var t=this.__P_86_3;if(t)return t;if(!1===e)return null;t=this.__P_86_3=this._computeSizeHint();this._hasHeightForWidth()&&this.__P_86_0&&null==this.getHeight()&&(t.height=this.__P_86_0);t.minWidth>t.width&&(t.width=t.minWidth);t.maxWidtht.height&&(t.height=t.minHeight);t.maxHeight=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();s=e.done;return e},e:function(e){a=!0;o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);return"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&o.setStyles(u);if(s||i.local||i.margin)if(this.__P_23_5&&this.hasLayoutChildren()){var l=this.getInsets(),c=n-l.left-l.right,h=r-l.top-l.bottom,d=this.getDecorator(),f={left:0,right:0,top:0,bottom:0};d&&(f=(d=qx.theme.manager.Decoration.getInstance().resolve(d)).getPadding());var _={top:this.getPaddingTop()+f.top,right:this.getPaddingRight()+f.right,bottom:this.getPaddingBottom()+f.bottom,left:this.getPaddingLeft()+f.left};this.__P_23_5.renderLayout(c,h,_)}else if(this.hasLayoutChildren())throw new Error("At least one child in control "+this._findTopControl()+" requires a layout, but no one was defined!");i.position&&this.hasListener("move")&&this.fireDataEvent("move",this.getBounds());i.size&&this.hasListener("resize")&&this.fireDataEvent("resize",this.getBounds());delete this._updateInsets;return i},__P_23_6:null,clearSeparators:function(){var e=this.__P_23_6;if(e){for(var t,n=qx.ui.core.Widget.__P_23_2,r=this.getContentElement(),i=0,o=e.length;in&&null!=n&&(t=n)}if(null==i){i=l;null!=s.minHeight&&(i+=s.minHeight)>o&&null!=o&&(i=o)}null==n&&(null==s.maxWidth?n=1/0:(n=s.maxWidth+u)0},__P_23_1:function(){var e=this._createContentElement();e.connectObject(this);e.setStyles({"touch-action":"none","-ms-touch-action":"none"});var t={zIndex:10,boxSizing:"border-box"};qx.ui.root.Inline&&this instanceof qx.ui.root.Inline||(t.position="absolute");e.setStyles(t);return e},_createContentElement:function(){return new qx.html.Element("div",{overflowX:"hidden",overflowY:"hidden"})},getContentElement:function(){return this.__P_23_0},__P_23_7:null,getLayoutChildren:function(){var e,t=this.__P_23_7;if(!t)return this.__P_23_8;for(var n=0,r=t.length;n=0;t--)this.__P_23_10(e[t]);qx.ui.core.queue.Layout.add(this);return e},_afterAddChild:null,_afterRemoveChild:null,__P_23_9:function(e,t){var n=e.getLayoutParent();n&&n!=this&&n._remove(e);e.setLayoutParent(this);t?e.setLayoutProperties(t):this.updateLayoutProperties();this._afterAddChild&&this._afterAddChild(e)},__P_23_10:function(e){if(e.getLayoutParent()!==this)throw new Error("Remove Error: "+e+" is not a child of this widget!");e.setLayoutParent(null);this.__P_23_5&&this.__P_23_5.invalidateChildrenCache();qx.ui.core.queue.Layout.add(this);this._afterRemoveChild&&this._afterRemoveChild(e)},capture:function(e){this.getContentElement().capture(e)},releaseCapture:function(){this.getContentElement().releaseCapture()},isCapturing:function(){var e=this.getContentElement().getDomElement();return!!e&&e==qx.event.Registration.getManager(e).getDispatcher(qx.event.dispatch.MouseCapture).getCaptureElement()},_applyPadding:function(e,t,n){this._updateInsets=!0;qx.ui.core.queue.Layout.add(this);this.__P_23_11(n,e)},__P_23_11:function(e,t){var n=this.getContentElement(),r=this.getDecorator();if(r=qx.theme.manager.Decoration.getInstance().resolve(r)){var i=qx.Bootstrap.firstLow(e.replace("padding",""));t+=r.getPadding()[i]||0}n.setStyle(e,t+"px")},_applyDecorator:function(e,t){var n=this.getContentElement();if(t){t=qx.theme.manager.Decoration.getInstance().getCssClassName(t);n.removeClass(t)}if(e){e=qx.theme.manager.Decoration.getInstance().addCssClass(e);n.addClass(e)}(e||t)&&qx.ui.core.queue.Layout.add(this)},_applyToolTipText:function(e,t){var n=this;if(!this.__P_23_4){var r=qx.locale.Manager.getInstance();this.__P_23_4=r.addListener("changeLocale",(function(){var e=n.getToolTipText();e&&e.translate&&n.setToolTipText(e.translate())}))}},_applyTextColor:function(e,t){},_applyZIndex:function(e,t){this.getContentElement().setStyle("zIndex",null==e?0:e)},_applyVisibility:function(e,t){var n=this.getContentElement();"visible"===e?n.show():n.hide();var r=this.$$parent;!r||null!=t&&null!=e&&"excluded"!==t&&"excluded"!==e||r.invalidateLayoutChildren();qx.ui.core.queue.Visibility.add(this)},_applyOpacity:function(e,t){this.getContentElement().setStyle("opacity",1==e?null:e)},_applyCursor:function(e,t){null!=e||this.isSelectable()||(e="default");this.getContentElement().setStyle("cursor",e,"opera"==qx.core.Environment.get("engine.name"))},_applyBackgroundColor:function(e,t){var n=this.getBackgroundColor(),r=this.getContentElement(),i=qx.theme.manager.Color.getInstance().resolve(n);r.setStyle("backgroundColor",i)},_applyFont:function(e,t){},_onChangeTheme:function(){if(!this.isDisposed()){qx.ui.core.Widget.superclass.prototype._onChangeTheme.call(this);this.updateAppearance();var e=this.getDecorator();this._applyDecorator(null,e);this._applyDecorator(e);e=this.getFont();qx.lang.Type.isString(e)&&this._applyFont(e,e);e=this.getTextColor();qx.lang.Type.isString(e)&&this._applyTextColor(e,e);e=this.getBackgroundColor();qx.lang.Type.isString(e)&&this._applyBackgroundColor(e,e)}},__P_23_12:null,$$stateChanges:null,_forwardStates:null,hasState:function(e){var t=this.__P_23_12;return!!t&&!!t[e]},addState:function(e){var t=this.__P_23_12;t||(t=this.__P_23_12={});if(!t[e]){this.__P_23_12[e]=!0;"hovered"===e?this.syncAppearance():qx.ui.core.queue.Visibility.isVisible(this)?qx.ui.core.queue.Appearance.add(this):this.$$stateChanges=!0;var n=this._forwardStates,r=this.__P_23_13;if(n&&n[e]&&r){for(var i in r)r[i]instanceof qx.ui.core.Widget&&r[i].addState(e)}}},removeState:function(e){var t=this.__P_23_12;if(t&&t[e]){delete this.__P_23_12[e];"hovered"===e?this.syncAppearance():qx.ui.core.queue.Visibility.isVisible(this)?qx.ui.core.queue.Appearance.add(this):this.$$stateChanges=!0;var n=this._forwardStates,r=this.__P_23_13;if(n&&n[e]&&r)for(var i in r){var o=r[i];o instanceof qx.ui.core.Widget&&o.removeState(e)}}},replaceState:function(e,t){var n=this.__P_23_12;n||(n=this.__P_23_12={});n[t]||(n[t]=!0);n[e]&&delete n[e];qx.ui.core.queue.Visibility.isVisible(this)?qx.ui.core.queue.Appearance.add(this):this.$$stateChanges=!0;var r=this._forwardStates,i=this.__P_23_13;if(r&&r[t]&&i)for(var o in i){var s=i[o];s instanceof qx.ui.core.Widget&&s.replaceState(e,t)}},__P_23_14:null,__P_23_15:null,syncAppearance:function(){var e=this.__P_23_12,t=this.__P_23_14,n=qx.theme.manager.Appearance.getInstance(),r=qx.core.Property.$$method.setThemed,i=qx.core.Property.$$method.resetThemed;if(this.__P_23_15){delete this.__P_23_15;if(t){var o=n.styleFrom(t,e,null,this.getAppearance());t=null}}if(!t){var s=this,a=[];do{a.push(s.$$subcontrol||s.getAppearance())}while(s=s.$$subparent);t=a.reverse().join("/").replace(/#[0-9]+/g,"");this.__P_23_14=t}var u=n.styleFrom(t,e,null,this.getAppearance());if(u){if(o)for(var l in o)void 0===u[l]&&this[i[l]]();for(var l in u)void 0===u[l]?this[i[l]]():this[r[l]](u[l])}else if(o)for(var l in o)this[i[l]]();this.fireDataEvent("syncAppearance",this.__P_23_12)},_applyAppearance:function(e,t){this.updateAppearance()},checkAppearanceNeeds:function(){if(this.__P_23_3){if(this.$$stateChanges){qx.ui.core.queue.Appearance.add(this);delete this.$$stateChanges}}else{qx.ui.core.queue.Appearance.add(this);this.__P_23_3=!0}},updateAppearance:function(){this.__P_23_15=!0;qx.ui.core.queue.Appearance.add(this);var e=this.__P_23_13;if(e){var t;for(var n in e)(t=e[n])instanceof qx.ui.core.Widget&&t.updateAppearance()}},syncWidget:function(e){},getEventTarget:function(){for(var e=this;e.getAnonymous();)if(!(e=e.getLayoutParent()))return null;return e},getFocusTarget:function(){var e=this;if(!e.getEnabled())return null;for(;e.getAnonymous()||!e.getFocusable();)if(!(e=e.getLayoutParent())||!e.getEnabled())return null;return e},getFocusElement:function(){return this.getContentElement()},isTabable:function(){return!!this.getContentElement().getDomElement()&&this.isFocusable()},_applyFocusable:function(e,t){var n=this.getFocusElement();if(e){var r=this.getTabIndex();null==r&&(r=1);n.setAttribute("tabIndex",r);n.setStyle("outline","none")}else n.isNativelyFocusable()?n.setAttribute("tabIndex",-1):t&&n.setAttribute("tabIndex",null)},_applyKeepFocus:function(e){this.getFocusElement().setAttribute("qxKeepFocus",e?"on":null)},_applyKeepActive:function(e){this.getContentElement().setAttribute("qxKeepActive",e?"on":null)},_applyTabIndex:function(e){if(null==e)e=1;else if(e<1||e>32e3)throw new Error("TabIndex property must be between 1 and 32000");this.getFocusable()&&null!=e&&this.getFocusElement().setAttribute("tabIndex",e)},_applySelectable:function(e,t){null!==t&&this._applyCursor(this.getCursor());this.getContentElement().setSelectable(e)},_applyEnabled:function(e,t){if(!1===e){this.addState("disabled");this.removeState("hovered");if(this.isFocusable()){this.removeState("focused");this._applyFocusable(!1,!0)}this.isDraggable()&&this._applyDraggable(!1,!0);this.isDroppable()&&this._applyDroppable(!1,!0)}else{this.removeState("disabled");this.isFocusable()&&this._applyFocusable(!0,!1);this.isDraggable()&&this._applyDraggable(!0,!1);this.isDroppable()&&this._applyDroppable(!0,!1)}},_applyNativeContextMenu:function(e,t,n){},_applyContextMenu:function(e,t){if(t){t.removeState("contextmenu");t.getOpener()==this&&t.resetOpener();if(!e){this.removeListener("contextmenu",this._onContextMenuOpen);this.removeListener("longtap",this._onContextMenuOpen);t.removeListener("changeVisibility",this._onBeforeContextMenuOpen,this)}}if(e){e.setOpener(this);e.addState("contextmenu");if(!t){this.addListener("contextmenu",this._onContextMenuOpen);this.addListener("longtap",this._onContextMenuOpen);e.addListener("changeVisibility",this._onBeforeContextMenuOpen,this)}}},_onContextMenuOpen:function(e){if("longtap"!=e.getType()||"touch"===e.getPointerType()){this.getContextMenu().openAtPointer(e);e.stop()}},_onBeforeContextMenuOpen:function(e){"visible"==e.getData()&&this.hasListener("beforeContextmenuOpen")&&this.fireDataEvent("beforeContextmenuOpen",e)},_onStopEvent:function(e){e.stopPropagation()},_getDragDropCursor:function(){return qx.ui.core.DragDropCursor.getInstance()},_applyDraggable:function(e,t){this.isEnabled()||!0!==e||(e=!1);this._getDragDropCursor();if(e){this.addListener("dragstart",this._onDragStart);this.addListener("drag",this._onDrag);this.addListener("dragend",this._onDragEnd);this.addListener("dragchange",this._onDragChange)}else{this.removeListener("dragstart",this._onDragStart);this.removeListener("drag",this._onDrag);this.removeListener("dragend",this._onDragEnd);this.removeListener("dragchange",this._onDragChange)}this.getContentElement().setAttribute("qxDraggable",e?"on":null)},_applyDroppable:function(e,t){this.isEnabled()||!0!==e||(e=!1);this.getContentElement().setAttribute("qxDroppable",e?"on":null)},_onDragStart:function(e){this._getDragDropCursor().placeToPointer(e);this.getApplicationRoot().setGlobalCursor("default")},_onDrag:function(e){this._getDragDropCursor().placeToPointer(e)},_onDragEnd:function(e){this._getDragDropCursor().moveTo(-1e3,-1e3);this.getApplicationRoot().resetGlobalCursor()},_onDragChange:function(e){var t=this._getDragDropCursor(),n=e.getCurrentAction();n?t.setAction(n):t.resetAction()},visualizeFocus:function(){this.addState("focused")},visualizeBlur:function(){this.removeState("focused")},scrollChildIntoView:function(e,t,n,r){r=void 0===r||r;var i,o=qx.ui.core.queue.Layout;if(r){r=!o.isScheduled(e);i=e.getLayoutParent();r&&i&&(r=!o.isScheduled(i))&&i.getChildren().forEach((function(e){r=r&&!o.isScheduled(e)}))}this.scrollChildIntoViewX(e,t,r);this.scrollChildIntoViewY(e,n,r)},scrollChildIntoViewX:function(e,t,n){this.getContentElement().scrollChildIntoViewX(e.getContentElement(),t,n)},scrollChildIntoViewY:function(e,t,n){this.getContentElement().scrollChildIntoViewY(e.getContentElement(),t,n)},focus:function(){if(this.isFocusable())this.getFocusElement().focus();else if(qx.ui.core.Widget.UNFOCUSABLE_WIDGET_FOCUS_BLUR_ERROR)throw new Error("Widget is not focusable!")},blur:function(){if(this.isFocusable())this.getFocusElement().blur();else if(qx.ui.core.Widget.UNFOCUSABLE_WIDGET_FOCUS_BLUR_ERROR)throw new Error("Widget is not focusable!")},activate:function(){this.getContentElement().activate()},deactivate:function(){this.getContentElement().deactivate()},tabFocus:function(){this.getFocusElement().focus()},hasChildControl:function(e){return!!this.__P_23_13&&!!this.__P_23_13[e]},__P_23_13:null,_getCreatedChildControls:function(){return this.__P_23_13},getChildControl:function(e,t){if(!this.__P_23_13){if(t)return null;this.__P_23_13={}}var n=this.__P_23_13[e];return n||(!0===t?null:this._createChildControl(e))},_showChildControl:function(e){var t=this.getChildControl(e);t.show();return t},_excludeChildControl:function(e){var t=this.getChildControl(e,!0);t&&t.exclude()},_isChildControlVisible:function(e){var t=this.getChildControl(e,!0);return!!t&&t.isVisible()},_releaseChildControl:function(e){var t=this.getChildControl(e,!1);if(!t)throw new Error("Unsupported control: "+e);delete t.$$subcontrol;delete t.$$subparent;var n=this.__P_23_12,r=this._forwardStates;if(n&&r&&t instanceof qx.ui.core.Widget)for(var i in n)r[i]&&t.removeState(i);delete this.__P_23_13[e];return t},_createChildControl:function(e){if(this.__P_23_13){if(this.__P_23_13[e])throw new Error("Child control '"+e+"' already created!")}else this.__P_23_13={};var t=e.indexOf("#");try{if(-1==t)var n=this._createChildControlImpl(e);else n=this._createChildControlImpl(e.substring(0,t),e.substring(t+1,e.length))}catch(t){t.message="Exception while creating child control '"+e+"' of widget "+this.toString()+": "+t.message;throw t}if(!n)throw new Error("Unsupported control: "+e);n.$$subcontrol=e;n.$$subparent=this;var r=this.__P_23_12,i=this._forwardStates;if(r&&i&&n instanceof qx.ui.core.Widget)for(var o in r)i[o]&&n.addState(o);if(n.$$resyncNeeded){delete n.$$resyncNeeded;n.updateAppearance()}this.fireDataEvent("createChildControl",n);return this.__P_23_13[e]=n},_createChildControlImpl:function(e,t){return null},_disposeChildControls:function(){var e=this.__P_23_13;if(e){var t=qx.ui.core.Widget;for(var n in e){var r=e[n];t.contains(this,r)?r.dispose():r.destroy()}delete this.__P_23_13}},_findTopControl:function(){for(var e=this;e;){if(!e.$$subparent)return e;e=e.$$subparent}return null},getSubcontrolId:function(){return this.$$subcontrol||null},getContentLocation:function(e){var t=this.getContentElement().getDomElement();return t?qx.bom.element.Location.get(t,e):null},setDomLeft:function(e){var t=this.getContentElement().getDomElement();if(!t)throw new Error("DOM element is not yet created!");t.style.left=e+"px"},setDomTop:function(e){var t=this.getContentElement().getDomElement();if(!t)throw new Error("DOM element is not yet created!");t.style.top=e+"px"},setDomPosition:function(e,t){var n=this.getContentElement().getDomElement();if(!n)throw new Error("DOM element is not yet created!");n.style.left=e+"px";n.style.top=t+"px"},setAriaLabel:function(e){this.getContentElement().setAttribute("aria-label",e)},addAriaLabelledBy:function(){for(var e=arguments.length,t=new Array(e),n=0;n-1||e.preventDefault()}}},_applyNativeHelp:function(e,t){if(qx.core.Environment.get("event.help")){!1===t&&qx.bom.Event.removeNativeListener(document,"help",(function(){return!1}));!1===e&&qx.bom.Event.addNativeListener(document,"help",(function(){return!1}))}}},destruct:function(){this.__P_108_1=null},defer:function(e,t){qx.ui.core.MChildrenHandling.remap(t)}});qx.ui.root.Abstract.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.bom.element.Location":{},"qx.ui.core.Widget":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.FocusHandler",{extend:qx.core.Object,type:"singleton",construct:function(){qx.core.Object.constructor.call(this);this.__P_46_0={}},properties:{useTabNavigation:{check:"Boolean",init:!0}},members:{__P_46_0:null,__P_46_1:null,__P_46_2:null,__P_46_3:null,connectTo:function(e){e.addListener("keypress",this.__P_46_4,this);e.addListener("focusin",this._onFocusIn,this,!0);e.addListener("focusout",this._onFocusOut,this,!0);e.addListener("activate",this._onActivate,this,!0);e.addListener("deactivate",this._onDeactivate,this,!0)},addRoot:function(e){this.__P_46_0[e.toHashCode()]=e},removeRoot:function(e){delete this.__P_46_0[e.toHashCode()]},getActiveWidget:function(){return this.__P_46_1},isActive:function(e){return this.__P_46_1==e},getFocusedWidget:function(){return this.__P_46_2},isFocused:function(e){return this.__P_46_2==e},isFocusRoot:function(e){return!!this.__P_46_0[e.toHashCode()]},_onActivate:function(e){var t=e.getTarget();this.__P_46_1=t;var n=this.__P_46_5(t);n!=this.__P_46_3&&(this.__P_46_3=n)},_onDeactivate:function(e){var t=e.getTarget();this.__P_46_1==t&&(this.__P_46_1=null)},_onFocusIn:function(e){var t=e.getTarget();if(t!=this.__P_46_2){this.__P_46_2=t;t.visualizeFocus()}},_onFocusOut:function(e){var t=e.getTarget();if(t==this.__P_46_2){this.__P_46_2=null;t.visualizeBlur()}},__P_46_4:function(e){if("Tab"==e.getKeyIdentifier()&&this.isUseTabNavigation()&&this.__P_46_3){e.stopPropagation();e.preventDefault();var t=this.__P_46_2;if(e.isShiftPressed())n=t?this.__P_46_8(t):this.__P_46_9();else var n=t?this.__P_46_6(t):this.__P_46_7();n&&n.tabFocus()}},__P_46_5:function(e){for(var t=this.__P_46_0;e;){if(t[e.toHashCode()])return e;e=e.getLayoutParent()}return null},__P_46_10:function(e,t){if(e===t)return 0;var n=e.getTabIndex()||0,r=t.getTabIndex()||0;if(n!=r)return n-r;var i=e.getContentElement().getDomElement(),o=t.getContentElement().getDomElement(),s=qx.bom.element.Location,a=s.get(i),u=s.get(o);if(a.top!=u.top)return a.top-u.top;if(a.left!=u.left)return a.left-u.left;var l=e.getZIndex(),c=t.getZIndex();return l!=c?l-c:0},__P_46_7:function(){return this.__P_46_11(this.__P_46_3,null)},__P_46_9:function(){return this.__P_46_12(this.__P_46_3,null)},__P_46_6:function(e){var t=this.__P_46_3;if(t==e)return this.__P_46_7();for(;e&&e.getAnonymous();)e=e.getLayoutParent();if(null==e)return[];var n=[];this.__P_46_13(t,e,n);n.sort(this.__P_46_10);return n.length>0?n[0]:this.__P_46_7()},__P_46_8:function(e){var t=this.__P_46_3;if(t==e)return this.__P_46_9();for(;e&&e.getAnonymous();)e=e.getLayoutParent();if(null==e)return[];var n=[];this.__P_46_14(t,e,n);n.sort(this.__P_46_10);var r=n.length;return r>0?n[r-1]:this.__P_46_9()},__P_46_13:function(e,t,n){for(var r,i=e.getLayoutChildren(),o=0,s=i.length;o0&&n.push(r);this.__P_46_14(r,t,n)}},__P_46_11:function(e,t){for(var n,r=e.getLayoutChildren(),i=0,o=r.length;i0)&&(t=n);t=this.__P_46_12(n,t)}return t}},destruct:function(){this._disposeMap("__P_46_0");this.__P_46_2=this.__P_46_1=this.__P_46_3=null}});qx.ui.core.FocusHandler.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.lang.Array":{},"qx.ui.core.queue.Manager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.queue.Visibility",{statics:{__P_88_0:[],__P_88_1:{},__P_88_2:{},remove:function(e){if(this.__P_88_1[e.toHashCode()]){delete this.__P_88_1[e.toHashCode()];qx.lang.Array.remove(this.__P_88_0,e)}delete this.__P_88_2[e.toHashCode()]},isVisible:function(e){return this.__P_88_2[e.toHashCode()]||!1},__P_88_3:function(e){var t,n=this.__P_88_2,r=e.toHashCode();if(e.isExcluded())t=!1;else{var i=e.$$parent;t=i?this.__P_88_3(i):e.isRootWidget()}return n[r]=t},add:function(e){if(!this.__P_88_1[e.toHashCode()]){this.__P_88_0.unshift(e);this.__P_88_1[e.toHashCode()]=e;qx.ui.core.queue.Manager.scheduleFlush("visibility")}},flush:function(){for(var e=this.__P_88_0,t=this.__P_88_2,n=e.length-1;n>=0;n--){null!=t[o=e[n].toHashCode()]&&e[n].addChildrenToQueue(e)}var r={};for(n=e.length-1;n>=0;n--){r[o=e[n].toHashCode()]=t[o];t[o]=null}for(n=e.length-1;n>=0;n--){var i=e[n],o=i.toHashCode();e.splice(n,1);null==t[o]&&this.__P_88_3(i);t[o]&&t[o]!=r[o]&&i.checkAppearanceNeeds()}this.__P_88_0=[];this.__P_88_1={}}}});qx.ui.core.queue.Visibility.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Window":{require:!0},"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.root.Abstract":{construct:!0,require:!0},"qx.dom.Node":{construct:!0},"qx.event.Registration":{construct:!0},"qx.ui.layout.Canvas":{construct:!0},"qx.ui.core.queue.Layout":{construct:!0},"qx.ui.core.FocusHandler":{construct:!0},"qx.bom.client.OperatingSystem":{construct:!0,require:!0},"qx.ui.core.Widget":{construct:!0},"qx.bom.client.Engine":{require:!0},"qx.html.Root":{},"qx.bom.Viewport":{},"qx.bom.element.Style":{},"qx.dom.Element":{}},environment:{provided:[],required:{"os.name":{construct:!0,className:"qx.bom.client.OperatingSystem"},"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.root.Application",{extend:qx.ui.root.Abstract,construct:function(e){this.__P_35_0=qx.dom.Node.getWindow(e);this.__P_35_1=e;qx.ui.root.Abstract.constructor.call(this);qx.event.Registration.addListener(this.__P_35_0,"resize",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("-webkit-backface-visibility","hidden");this.addListener("touchmove",this.__P_35_2,this);"ios"==qx.core.Environment.get("os.name")&&this.getContentElement().addListener("tap",(function(e){for(var t=qx.ui.core.Widget.getWidgetByElement(e.getTarget());t&&!t.isFocusable();)t=t.getLayoutParent();t&&t.isFocusable()&&t.getContentElement().focus()}),this,!0)},members:{__P_35_0:null,__P_35_1:null,_createContentElement:function(){var e=this.__P_35_1;"webkit"==qx.core.Environment.get("engine.name")&&(e.body||window.alert("The application could not be started due to a missing body tag in the HTML file!"));var t=e.documentElement.style,n=e.body.style;t.overflow=n.overflow="hidden";t.padding=t.margin=n.padding=n.margin="0px";t.width=t.height=n.width=n.height="100%";var r=e.createElement("div");e.body.appendChild(r);var i=new qx.html.Root(r);i.setStyles({position:"absolute",overflowX:"hidden",overflowY:"hidden"});i.connectObject(this);return i},_onResize:function(e){qx.ui.core.queue.Layout.add(this);qx.ui.popup&&qx.ui.popup.Manager&&qx.ui.popup.Manager.getInstance().hideAll();qx.ui.menu&&qx.ui.menu.Manager&&qx.ui.menu.Manager.getInstance().hideAll()},_computeSizeHint:function(){var e=qx.bom.Viewport.getWidth(this.__P_35_0),t=qx.bom.Viewport.getHeight(this.__P_35_0);return{minWidth:e,width:e,maxWidth:e,minHeight:t,height:t,maxHeight:t}},_applyPadding:function(e,t,n){if(e&&("paddingTop"==n||"paddingLeft"==n))throw new Error("The root widget does not support 'left', or 'top' paddings!");qx.ui.root.Application.superclass.prototype._applyPadding.call(this,e,t,n)},__P_35_2:function(e){for(var t=e.getOriginalTarget();t&&t.style;){var n="none"!==qx.bom.element.Style.get(t,"touch-action")&&""!==qx.bom.element.Style.get(t,"touch-action"),r="touch"===qx.bom.element.Style.get(t,"-webkit-overflow-scrolling"),i="hidden"!=qx.bom.element.Style.get(t,"overflowX"),o="hidden"!=qx.bom.element.Style.get(t,"overflowY");if(n||r||o||i)return;t=t.parentNode}e.preventDefault()},destroy:function(){if(!this.$$disposed){qx.dom.Element.remove(this.getContentElement().getDomElement());qx.ui.root.Application.superclass.prototype.destroy.call(this)}}},destruct:function(){this.__P_35_0=this.__P_35_1=null}});qx.ui.root.Application.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.decoration.IDecorator",{members:{getStyles:function(){},getPadding:function(){},getInsets:function(){}}});qx.ui.decoration.IDecorator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.ui.decoration.IDecorator":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.decoration.Abstract",{extend:qx.core.Object,implement:[qx.ui.decoration.IDecorator],type:"abstract",members:{__P_36_0:null,_getDefaultInsets:function(){throw new Error("Abstract method called.")},_isInitialized:function(){throw new Error("Abstract method called.")},_resetInsets:function(){this.__P_36_0=null},getInsets:function(){this.__P_36_0||(this.__P_36_0=this._getDefaultInsets());return this.__P_36_0}},destruct:function(){this.__P_36_0=null}});qx.ui.decoration.Abstract.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.theme.manager.Color":{}},environment:{provided:[],required:{"qx.theme":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBackgroundColor",{properties:{backgroundColor:{check:"Color",nullable:!0,apply:"_applyBackgroundColor"}},members:{_styleBackgroundColor:function(e){var t=this.getBackgroundColor();t&&qx.core.Environment.get("qx.theme")&&(t=qx.theme.manager.Color.getInstance().resolve(t));t&&(e["background-color"]=t)},_applyBackgroundColor:function(){}}});qx.ui.decoration.MBackgroundColor.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBorderRadius",{properties:{radiusTopLeft:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radiusTopRight:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radiusBottomLeft:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radiusBottomRight:{nullable:!0,check:"Integer",apply:"_applyBorderRadius"},radius:{group:["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"],mode:"shorthand"}},members:{_styleBorderRadius:function(e){e["-webkit-background-clip"]="padding-box";e["background-clip"]="padding-box";var t=!1,n=this.getRadiusTopLeft();if(n>0){t=!0;e["-moz-border-radius-topleft"]=n+"px";e["-webkit-border-top-left-radius"]=n+"px";e["border-top-left-radius"]=n+"px"}if((n=this.getRadiusTopRight())>0){t=!0;e["-moz-border-radius-topright"]=n+"px";e["-webkit-border-top-right-radius"]=n+"px";e["border-top-right-radius"]=n+"px"}if((n=this.getRadiusBottomLeft())>0){t=!0;e["-moz-border-radius-bottomleft"]=n+"px";e["-webkit-border-bottom-left-radius"]=n+"px";e["border-bottom-left-radius"]=n+"px"}if((n=this.getRadiusBottomRight())>0){t=!0;e["-moz-border-radius-bottomright"]=n+"px";e["-webkit-border-bottom-right-radius"]=n+"px";e["border-bottom-right-radius"]=n+"px"}t&&"webkit"==qx.core.Environment.get("engine.name")?e["-webkit-background-clip"]="padding-box":e["background-clip"]="padding-box"},_applyBorderRadius:function(){}}});qx.ui.decoration.MBorderRadius.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.bom.client.Css":{require:!0},"qx.bom.Style":{},"qx.theme.manager.Color":{}},environment:{provided:[],required:{"css.boxshadow":{className:"qx.bom.client.Css"},"qx.theme":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBoxShadow",{properties:{shadowHorizontalLength:{nullable:!0,apply:"_applyBoxShadow"},shadowVerticalLength:{nullable:!0,apply:"_applyBoxShadow"},shadowBlurRadius:{nullable:!0,apply:"_applyBoxShadow"},shadowSpreadRadius:{nullable:!0,apply:"_applyBoxShadow"},shadowColor:{nullable:!0,apply:"_applyBoxShadow"},inset:{init:!1,apply:"_applyBoxShadow"},shadowLength:{group:["shadowHorizontalLength","shadowVerticalLength"],mode:"shorthand"}},members:{_styleBoxShadow:function(e){var t=qx.core.Environment.get("css.boxshadow");if(t&&(null!=this.getShadowVerticalLength()||null!=this.getShadowHorizontalLength())){t=qx.bom.Style.getCssName(t);var n=null;qx.core.Environment.get("qx.theme")&&(n=qx.theme.manager.Color.getInstance());(function(r,i,o,s,a,u){for(var l=0;l0&&(e["border-top"]=s+"px "+this.getStyleTop()+" "+(n||""));(s=this.getWidthRight())>0&&(e["border-right"]=s+"px "+this.getStyleRight()+" "+(r||""));(s=this.getWidthBottom())>0&&(e["border-bottom"]=s+"px "+this.getStyleBottom()+" "+(i||""));(s=this.getWidthLeft())>0&&(e["border-left"]=s+"px "+this.getStyleLeft()+" "+(o||""));e.position="absolute"},_getDefaultInsetsForBorder:function(){return{top:this.getWidthTop(),right:this.getWidthRight(),bottom:this.getWidthBottom(),left:this.getWidthLeft()}},_applyWidth:function(){this._applyStyle();this._resetInsets()},_applyStyle:function(){}}});qx.ui.decoration.MSingleBorder.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.lang.Type":{},"qx.util.AliasManager":{},"qx.util.ResourceManager":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MBackgroundImage",{properties:{backgroundImage:{nullable:!0,apply:"_applyBackgroundImage"},backgroundRepeat:{init:"repeat",apply:"_applyBackgroundImage"},backgroundPositionX:{nullable:!0,apply:"_applyBackgroundPosition"},backgroundPositionY:{nullable:!0,apply:"_applyBackgroundPosition"},backgroundOrigin:{nullable:!0,apply:"_applyBackgroundImage"},backgroundPosition:{group:["backgroundPositionY","backgroundPositionX"]},orderGradientsFront:{check:"Boolean",init:!1}},members:{_styleBackgroundImage:function(e){if(this.getBackgroundImage()){"background"in e?qx.lang.Type.isArray(e.background)||(e.background=[e.background]):e.background=[];(function(t,n,r,i,o){for(var s=0;s0&&(e["border-top"]=s+"px "+this.getStyleTop()+" "+t.top);(s=this.getWidthRight())>0&&(e["border-right"]=s+"px "+this.getStyleRight()+" "+t.right);(s=this.getWidthBottom())>0&&(e["border-bottom"]=s+"px "+this.getStyleBottom()+" "+t.bottom);(s=this.getWidthLeft())>0&&(e["border-left"]=s+"px "+this.getStyleLeft()+" "+t.left);var a=this.getInnerOpacity();a<1&&this.__P_37_2(n,a);if(r.top>0||r.right>0||r.bottom>0||r.left>0){var u=(r.top||0)+"px solid "+n.top,l=(r.right||0)+"px solid "+n.right,c=(r.bottom||0)+"px solid "+n.bottom,h=(r.left||0)+"px solid "+n.left;e[":before"]={width:"100%",height:"100%",position:"absolute",content:'""',"border-top":u,"border-right":l,"border-bottom":c,"border-left":h,left:0,top:0};var d=qx.bom.Style.getCssName(qx.core.Environment.get("css.boxsizing"));e[":before"][d]="border-box";var f=qx.core.Environment.get("css.borderradius");if(f){f=qx.bom.Style.getCssName(f);e[":before"][f]="inherit"}var _=[];if(n.top&&r.top&&n.top==n.bottom&&n.top==n.right&&n.top==n.left&&r.top==r.bottom&&r.top==r.right&&r.top==r.left)_.push("inset 0 0 0 "+r.top+"px "+n.top);else{n.top&&_.push("inset 0 "+(r.top||0)+"px "+n.top);n.right&&_.push("inset -"+(r.right||0)+"px 0 "+n.right);n.bottom&&_.push("inset 0 -"+(r.bottom||0)+"px "+n.bottom);n.left&&_.push("inset "+(r.left||0)+"px 0 "+n.left)}_.length>0&&i&&(e[i=qx.bom.Style.getCssName(i)]?e[i]+=","+_.join(","):e[i]=_.join(","))}else e[":before"]={border:0}},__P_37_2:function(e,t){if(qx.core.Environment.get("css.rgba"))for(var n in e){var r=qx.util.ColorUtil.stringToRgb(e[n]);r.push(t);var i=qx.util.ColorUtil.rgbToRgbString(r);e[n]=i}},_applyDoubleBorder:function(){},__P_37_0:function(){return{top:this.getWidthTop()+this.getInnerWidthTop(),right:this.getWidthRight()+this.getInnerWidthRight(),bottom:this.getWidthBottom()+this.getInnerWidthBottom(),left:this.getWidthLeft()+this.getInnerWidthLeft()}}}});qx.ui.decoration.MDoubleBorder.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.bom.client.Css":{require:!0},"qx.lang.Type":{},"qx.util.ColorUtil":{},"qx.theme.manager.Color":{}},environment:{provided:[],required:{"css.gradient.legacywebkit":{className:"qx.bom.client.Css"},"css.gradient.linear":{className:"qx.bom.client.Css"},"css.borderradius":{className:"qx.bom.client.Css"},"qx.theme":{}}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.decoration.MLinearBackgroundGradient",{properties:{startColor:{nullable:!0,apply:"_applyLinearBackgroundGradient"},endColor:{nullable:!0,apply:"_applyLinearBackgroundGradient"},orientation:{init:"vertical",apply:"_applyLinearBackgroundGradient"},startColorPosition:{init:0,apply:"_applyLinearBackgroundGradient"},endColorPosition:{init:100,apply:"_applyLinearBackgroundGradient"},colorPositionUnit:{init:"%",apply:"_applyLinearBackgroundGradient"},gradientStart:{group:["startColor","startColorPosition"],mode:"shorthand"},gradientEnd:{group:["endColor","endColorPosition"],mode:"shorthand"}},members:{_styleLinearBackgroundGradient:function(e){var t=[];if(this.getStartColor()&&this.getEndColor()){var n=this.__P_38_0;qx.core.Environment.get("css.gradient.legacywebkit")?n=this.__P_38_1:!qx.core.Environment.get("css.gradient.linear")&&qx.core.Environment.get("css.borderradius")?n=this.__P_38_2:qx.core.Environment.get("css.gradient.linear")||(n=this.__P_38_3);(function(r,i,o,s,a,u){for(var l=0;l=71&&(e.transform||(e.transform="translateZ(0)"));t=qx.bom.Style.getCssName(t.name);(function(n,r,i,o){for(var s=0;st[o]&&(t[o]=r[o])}return null!=t.top?t:{top:0,right:0,bottom:0,left:0}},_isInitialized:function(){return this.__P_5_0},_getExtendedPropertyValueArrays:function(e){for(var t=e.map((function(e){var t=this.get(e);qx.lang.Type.isArray(t)||(t=[t]);return t}),this),n=Math.max.apply(Math,t.map((function(e){return e.length}))),r=0;r0&&(e=this.__P_6_3.pop())&&!e.isDisposed()&&e.isFocusable()&&e.focus();this.__P_6_2.length>0&&(e=this.__P_6_2.pop())&&!e.isDisposed()&&e.activate()},__P_6_10:function(){return new qx.html.Blocker(this.getColor(),this.getOpacity())},getBlockerElement:function(e){if(!this.__P_6_4){this.__P_6_4=this.__P_6_10();this.__P_6_4.setStyle("zIndex",15);e||(e=this._isRoot?this._widget:this._widget.getLayoutParent());e.getContentElement().add(this.__P_6_4);this.__P_6_4.exclude()}return this.__P_6_4},block:function(){this._block()},_block:function(e,t){if(this._isRoot||this._widget.getLayoutParent()){var n;n=this._isRoot||t?this._widget:this._widget.getLayoutParent();var r=this.getBlockerElement(n);null!=e&&r.setStyle("zIndex",e);this.__P_6_5++;if(this.__P_6_5<2){this._backupActiveWidget();var i=this._widget.getBounds();i&&this._updateBlockerBounds(i);r.include();t||r.activate();r.addListener("deactivate",this.__P_6_11,this);r.addListener("keypress",this.__P_6_12,this);r.addListener("keydown",this.__P_6_12,this);r.addListener("keyup",this.__P_6_12,this);this.fireEvent("blocked",qx.event.type.Event)}}else this.__P_6_7||(this.__P_6_7=this._widget.addListenerOnce("appear",this._block.bind(this,e)))},isBlocked:function(){return this.__P_6_5>0},unblock:function(){if(this.__P_6_7){this._widget.removeListenerById(this.__P_6_7);this.__P_6_7=null}if(this.isBlocked()){this.__P_6_5--;if(this.__P_6_5<1){this.__P_6_13();this.__P_6_5=0}}},forceUnblock:function(){if(this.__P_6_7){this._widget.removeListenerById(this.__P_6_7);this.__P_6_7=null}if(this.isBlocked()){this.__P_6_5=0;this.__P_6_13()}},__P_6_13:function(){this._restoreActiveWidget();var e=this.getBlockerElement();e.removeListener("deactivate",this.__P_6_11,this);e.removeListener("keypress",this.__P_6_12,this);e.removeListener("keydown",this.__P_6_12,this);e.removeListener("keyup",this.__P_6_12,this);e.exclude();this.fireEvent("unblocked",qx.event.type.Event)},blockContent:function(e){this._block(e,!0)},__P_6_12:function(e){"Tab"==e.getKeyIdentifier()&&e.stop()},__P_6_11:function(){this.getKeepBlockerActive()&&!qx.ui.core.FocusHandler.getInstance().isFocusRoot(this._widget)&&this.getBlockerElement().activate()}},destruct:function(){qx.theme.manager.Meta.getInstance().removeListener("changeTheme",this._onChangeTheme,this);this._widget.removeListener("resize",this.__P_6_0,this);this._widget.removeListener("move",this.__P_6_0,this);this._widget.removeListener("appear",this.__P_6_8,this);this._widget.removeListener("disappear",this.__P_6_1,this);this.__P_6_7&&this._widget.removeListenerById(this.__P_6_7);this._disposeObjects("__P_6_4","__P_6_6");this.__P_6_2=this.__P_6_3=this._widget=null}});qx.ui.core.Blocker.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MLayoutHandling",{members:{setLayout:function(e){this._setLayout(e)},getLayout:function(){return this._getLayout()}},statics:{remap:function(e){e.getLayout=e._getLayout;e.setLayout=e._setLayout}}});qx.ui.core.MLayoutHandling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MChildrenHandling":{require:!0},"qx.ui.core.MLayoutHandling":{require:!0},"qx.event.type.Data":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.container.Composite",{extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MLayoutHandling],construct:function(e){qx.ui.core.Widget.constructor.call(this);null!=e&&this._setLayout(e)},events:{addChildWidget:"qx.event.type.Data",removeChildWidget:"qx.event.type.Data"},members:{_afterAddChild:function(e){this.fireNonBubblingEvent("addChildWidget",qx.event.type.Data,[e])},_afterRemoveChild:function(e){this.fireNonBubblingEvent("removeChildWidget",qx.event.type.Data,[e])}}});qx.ui.container.Composite.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.ui.core.LayoutItem":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Abstract",{type:"abstract",extend:qx.core.Object,members:{__P_48_0:null,_invalidChildrenCache:null,__P_48_1:null,invalidateLayoutCache:function(){this.__P_48_0=null},renderLayout:function(e,t,n){this.warn("Missing renderLayout() implementation!")},getSizeHint:function(){return this.__P_48_0?this.__P_48_0:this.__P_48_0=this._computeSizeHint()},hasHeightForWidth:function(){return!1},getHeightForWidth:function(e){this.warn("Missing getHeightForWidth() implementation!");return null},_computeSizeHint:function(){return null},invalidateChildrenCache:function(){this._invalidChildrenCache=!0},verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true:function(e,t,n){},false:null}),_clearSeparators:function(){var e=this.__P_48_1;e instanceof qx.ui.core.LayoutItem&&e.clearSeparators()},_renderSeparator:function(e,t){this.__P_48_1.renderSeparator(e,t)},connectToWidget:function(e){if(e&&this.__P_48_1)throw new Error("It is not possible to manually set the connected widget.");this.__P_48_1=e;this.invalidateChildrenCache()},_getWidget:function(){return this.__P_48_1},_applyLayoutChange:function(){this.__P_48_1&&this.__P_48_1.scheduleLayoutUpdate()},_getLayoutChildren:function(){return this.__P_48_1.getLayoutChildren()}},destruct:function(){this.__P_48_1=this.__P_48_0=null}});qx.ui.layout.Abstract.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{construct:!0,require:!0},"qx.ui.layout.Util":{},"qx.theme.manager.Decoration":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Dock",{extend:qx.ui.layout.Abstract,construct:function(e,t,n,r){qx.ui.layout.Abstract.constructor.call(this);e&&this.setSpacingX(e);t&&this.setSpacingY(t);n&&this.setSeparatorX(n);r&&this.setSeparatorY(r)},properties:{sort:{check:["auto","y","x"],init:"auto",apply:"_applySort"},separatorX:{check:"Decorator",nullable:!0,apply:"_applyLayoutChange"},separatorY:{check:"Decorator",nullable:!0,apply:"_applyLayoutChange"},connectSeparators:{check:"Boolean",init:!1,apply:"_applyLayoutChange"},spacingX:{check:"Integer",init:0,apply:"_applyLayoutChange"},spacingY:{check:"Integer",init:0,apply:"_applyLayoutChange"}},members:{__P_7_0:null,__P_7_1:null,verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true:function(e,t,n){this.assertInArray(t,["flex","edge","height","width"],"The property '"+t+"' is not supported by the Dock layout!");if("edge"===t)this.assertInArray(n,["north","south","west","east","center"]);else if("flex"===t){this.assertNumber(n);this.assert(n>=0)}else this.assertMatch(n,qx.ui.layout.Util.PERCENT_VALUE)},false:null}),_applySort:function(){this._invalidChildrenCache=!0;this._applyLayoutChange()},__P_7_2:{north:1,south:2,west:3,east:4,center:5},__P_7_3:{1:"top",2:"bottom",3:"left",4:"right"},__P_7_4:function(){for(var e,t,n=this._getLayoutChildren(),r=n.length,i=[],o=[],s=[],a="y"===this.getSort(),u="x"===this.getSort(),l=0;lo.maxWidth&&(P=o.maxWidth));null!=s.height&&((E=Math.floor(t*parseFloat(s.height)/100))o.maxHeight&&(E=o.maxHeight));f[y]=P;_[y]=E;switch(h[y]){case 1:case 2:b+=E+i.getMarginTop()+i.getMarginBottom()+g;p.y&&(b+=p.y+g);break;case 3:case 4:v+=P+i.getMarginLeft()+i.getMarginRight()+m;p.x&&(v+=p.x+m);break;default:v+=P+i.getMarginLeft()+i.getMarginRight()+m;b+=E+i.getMarginTop()+i.getMarginBottom()+g;p.x&&(v+=p.x+m);p.y&&(b+=p.y+g)}}if(v!=e){r={};v0){o=i.getSizeHint();r[y]={min:o.minWidth,value:f[y],max:o.maxWidth,flex:a}}}}var x=l.computeFlexOffsets(r,e,v);for(var y in x){u=x[y].offset;f[y]+=u;v+=u}}if(b!=t){r={};b0){o=i.getSizeHint();r[y]={min:o.minHeight,value:_[y],max:o.maxHeight,flex:a}}}}x=l.computeFlexOffsets(r,t,b);for(var y in x){u=x[y].offset;_[y]+=u;b+=u}}this._clearSeparators();var w,q,P,E,M,C,S,A,D,I,k,B,T,O,L=this.getSeparatorX(),R=this.getSeparatorY(),F=this.getConnectSeparators(),N=0,$=0,j=this.__P_7_3;for(y=0;yo.maxWidth&&(P=o.maxWidth);E=_[y];q=N+l.computeVerticalAlignOffset(j[C],E,t,k,B);w=$+l.computeHorizontalAlignOffset(i.getAlignX()||"left",P,e,T,O);if(p.y){A=1==C?N+E+k+g+B:N+t-E-k-g-B-p.y;S=w;D=e;if(F&&S>0){S-=m+T;D+=2*m}else S-=T;this._renderSeparator(R,{left:S+n.left,top:A+n.top,width:D,height:p.y})}M=E+k+B+g;p.y&&(M+=p.y+g);t-=M;1==C&&(N+=M);break;case 3:case 4:(E=t-k-B)o.maxHeight&&(E=o.maxHeight);P=f[y];w=$+l.computeHorizontalAlignOffset(j[C],P,e,T,O);q=N+l.computeVerticalAlignOffset(i.getAlignY()||"top",E,t,k,B);if(p.x){S=3==C?$+P+T+m+O:$+e-P-T-m-O-p.x;A=q;I=t;if(F&&A>0){A-=g+k;I+=2*g}else A-=k;this._renderSeparator(L,{left:S+n.left,top:A+n.top,width:p.x,height:I})}M=P+T+O+m;p.x&&(M+=p.x+m);e-=M;3==C&&($+=M);break;default:E=t-k-B;(P=e-T-O)o.maxWidth&&(P=o.maxWidth);Eo.maxHeight&&(E=o.maxHeight);w=$+l.computeHorizontalAlignOffset(i.getAlignX()||"left",P,e,T,O);q=N+l.computeVerticalAlignOffset(i.getAlignY()||"top",E,t,k,B)}i.renderLayout(w+n.left,q+n.top,P,E)}},_getSeparatorWidths:function(){var e=this.getSeparatorX(),t=this.getSeparatorY();if(e||t)var n=qx.theme.manager.Decoration.getInstance();if(e)var r=n.resolve(e).getInsets(),i=r.left+r.right;if(t)var o=n.resolve(t).getInsets(),s=o.top+o.bottom;return{x:i||0,y:s||0}},_computeSizeHint:function(){this._invalidChildrenCache&&this.__P_7_4();var e,t,n,r,i=this.__P_7_0,o=this.__P_7_1,s=i.length,a=0,u=0,l=0,c=0,h=0,d=0,f=0,_=0,p=this._getSeparatorWidths(),m=this.getSpacingX(),g=this.getSpacingY(),v=-m,b=-g;p.x&&(v-=p.x+m);p.y&&(b-=p.y+g);for(var y=0;yi.maxWidth&&(c=i.maxWidth);s+=p}else{null==(c=o.width)?c=i.width:(c=Math.round(parseFloat(c)*e/100))i.maxWidth&&(c=i.maxWidth);if(null==s&&null==u)switch(r.getAlignX()){case"center":s=Math.round((e-i.width)/2-f);break;case"right":u=0}null!=u?s=e-c-u-f:null==s?s=p:s+=p}if(null!=a&&null!=l){(h=t-a-l-d-_)i.maxHeight&&(h=i.maxHeight);a+=d}else{null==(h=o.height)?h=i.height:(h=Math.round(parseFloat(h)*t/100))i.maxHeight&&(h=i.maxHeight);if(null==a&&null==l)switch(r.getAlignY()){case"middle":a=Math.round((t-i.height)/2-_);break;case"bottom":l=0}null!=l?a=t-h-l-_:null==a?a=d:a+=d}s+=n.left;a+=n.top;r.renderLayout(s,a,c,h)}},_computeSizeHint:function(){for(var e,t,n,r,i,o,s,a,u,l,c,h=0,d=0,f=0,_=0,p=this._getLayoutChildren(),m=this.isDesktop(),g=0,v=p.length;g=0)}else"flexShrink"==t?this.assertBoolean(n):this.assert(!1,"The property '"+t+"' is not supported by the VBox layout!")},false:null}),renderLayout:function(e,t,n){this._invalidChildrenCache&&this.__P_8_4();var r,i,o,s,a=this.__P_8_3,u=a.length,l=qx.ui.layout.Util,c=this.getSpacing(),h=this.getSeparator(),d=[],f=r=h?l.computeVerticalSeparatorGaps(a,c,h):l.computeVerticalGaps(a,c,!0);for(i=0;iy.maxHeight&&(q=y.maxHeight);d.push(q);f+=q}if(this.__P_8_2&&f!=t){var _,p,m={},g=f>t;for(i=0;i0){y=a[i].getSizeHint();m[i]={min:y.minHeight,value:d[i],max:y.maxHeight,flex:_};if(g){var v=a[i].getLayoutProperties();v&&v.flexShrink&&(m[i].min=0)}}var b=l.computeFlexOffsets(m,t,f);for(i in b){p=b[i].offset;d[i]+=p;f+=p}}var y,x,w,q,P,E,M,C=a[0].getMarginTop();if(f0)if(h){C+=P+c;this._renderSeparator(h,{top:C+n.top,left:n.left,height:A,width:e});C+=A+c+o.getMarginTop()}else C+=l.collapseMargins(c,P,o.getMarginTop());o.renderLayout(x+n.left,C+n.top,w,q);C+=q;P=o.getMarginBottom()}},_computeSizeHint:function(){this._invalidChildrenCache&&this.__P_8_4();for(var e,t,n,r=qx.ui.layout.Util,i=this.__P_8_3,o=0,s=0,a=0,u=0,l=0,c=0,h=i.length;cl&&(l=t.width+n);t.minWidth+n>u&&(u=t.minWidth+n)}o+=a;var _,p=this.getSpacing(),m=this.getSeparator();return{minHeight:o+(_=m?r.computeVerticalSeparatorGaps(i,p,m):r.computeVerticalGaps(i,p,!0)),height:s+_,minWidth:u,width:l}}},destruct:function(){this.__P_8_0=this.__P_8_1=this.__P_8_3=null}});qx.ui.layout.VBox.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IField",{events:{changeValue:"qx.event.type.Data"},members:{setValue:function(e){return 1==arguments.length},resetValue:function(){},getValue:function(){}}});qx.ui.form.IField.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.core.ISingleSelection",{events:{changeSelection:"qx.event.type.Data"},members:{getSelection:function(){return!0},setSelection:function(e){return 1==arguments.length},resetSelection:function(){return!0},isSelected:function(e){return 1==arguments.length},isSelectionEmpty:function(){return!0},getSelectables:function(e){return 1==arguments.length}}});qx.ui.core.ISingleSelection.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{},"qx.ui.core.SingleSelectionManager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MSingleSelectionHandling",{events:{changeValue:"qx.event.type.Data",changeSelection:"qx.event.type.Data"},members:{__P_49_0:null,setValue:function(e){if(null===e){this.resetSelection();return null}if(e instanceof qx.ui.core.Widget){this.__P_49_1().setSelected(e);return null}return new TypeError("Given argument is not null or a {qx.ui.core.Widget}.")},getValue:function(){return this.__P_49_1().getSelected()||null},resetValue:function(){this.__P_49_1().resetSelected()},getSelection:function(){var e=this.__P_49_1().getSelected();return e?[e]:[]},setSelection:function(e){switch(e.length){case 0:this.resetSelection();break;case 1:this.__P_49_1().setSelected(e[0]);break;default:throw new Error("Could only select one item, but the selection array contains "+e.length+" items!")}},resetSelection:function(){this.__P_49_1().resetSelected()},isSelected:function(e){return this.__P_49_1().isSelected(e)},isSelectionEmpty:function(){return this.__P_49_1().isSelectionEmpty()},getSelectables:function(e){return this.__P_49_1().getSelectables(e)},_onChangeSelected:function(e){var t=e.getData(),n=e.getOldData();this.fireDataEvent("changeValue",t,n);t=null==t?[]:[t];n=null==n?[]:[n];this.fireDataEvent("changeSelection",t,n)},__P_49_1:function(){if(null==this.__P_49_0){var e=this;this.__P_49_0=new qx.ui.core.SingleSelectionManager({getItems:function(){return e._getItems()},isItemSelectable:function(t){return e._isItemSelectable?e._isItemSelectable(t):t.isVisible()}});this.__P_49_0.addListener("changeSelected",this._onChangeSelected,this)}this.__P_49_0.setAllowEmptySelection(this._isAllowEmptySelection());return this.__P_49_0}},destruct:function(){this._disposeObjects("__P_49_0")}});qx.ui.core.MSingleSelectionHandling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.form.IField":{require:!0},"qx.ui.core.ISingleSelection":{require:!0},"qx.ui.core.MSingleSelectionHandling":{require:!0},"qx.ui.core.MChildrenHandling":{require:!0},"qx.ui.layout.Grow":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.container.Stack",{extend:qx.ui.core.Widget,implement:[qx.ui.form.IField,qx.ui.core.ISingleSelection],include:[qx.ui.core.MSingleSelectionHandling,qx.ui.core.MChildrenHandling],construct:function(){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.layout.Grow);this.addListener("changeSelection",this.__P_9_0,this)},properties:{dynamic:{check:"Boolean",init:!1,apply:"_applyDynamic"}},members:{_applyDynamic:function(e){for(var t=this._getChildren(),n=this.getSelection()[0],r=0,i=t.length;r=0)}else"flexShrink"===t?this.assertBoolean(n):this.assert(!1,"The property '"+t+"' is not supported by the HBox layout!")},false:null}),renderLayout:function(e,t,n){this._invalidChildrenCache&&this.__P_10_4();var r,i,o,s,a=this.__P_10_3,u=a.length,l=qx.ui.layout.Util,c=this.getSpacing(),h=this.getSeparator(),d=[],f=r=h?l.computeHorizontalSeparatorGaps(a,c,h):l.computeHorizontalGaps(a,c,!0);for(i=0;iy.maxWidth&&(q=y.maxWidth);d.push(q);f+=q}if(this.__P_10_2&&f!=e){var _,p,m={},g=f>e;for(i=0;i0){y=a[i].getSizeHint();m[i]={min:y.minWidth,value:d[i],max:y.maxWidth,flex:_};if(g){var v=a[i].getLayoutProperties();v&&v.flexShrink&&(m[i].min=0)}}var b=l.computeFlexOffsets(m,e,f);for(i in b){p=b[i].offset;d[i]+=p;f+=p}}var y,x,w,q,P,E,M,C=a[0].getMarginLeft();if(f0)if(h){C+=P+c;this._renderSeparator(h,{left:C+n.left,top:n.top,width:A,height:t});C+=A+c+o.getMarginLeft()}else C+=l.collapseMargins(c,P,o.getMarginLeft());o.renderLayout(C+n.left,x+n.top,q,w);C+=q;P=o.getMarginRight()}},_computeSizeHint:function(){this._invalidChildrenCache&&this.__P_10_4();for(var e,t,n,r=qx.ui.layout.Util,i=this.__P_10_3,o=0,s=0,a=0,u=0,l=0,c=0,h=i.length;cl&&(l=t.height+n);t.minHeight+n>u&&(u=t.minHeight+n)}o+=a;var _,p=this.getSpacing(),m=this.getSeparator();return{minWidth:o+(_=m?r.computeHorizontalSeparatorGaps(i,p,m):r.computeHorizontalGaps(i,p,!0)),width:s+_,minHeight:u,height:l}}},destruct:function(){this.__P_10_0=this.__P_10_1=this.__P_10_3=null}});qx.ui.layout.HBox.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{usage:"dynamic",require:!0},"qx.Mixin":{usage:"dynamic",require:!0},"qx.ui.core.scroll.ScrollBar":{}},environment:{provided:["qx.nativeScrollBars"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.core.Environment.add("qx.nativeScrollBars",!1);qx.Mixin.define("qx.ui.core.scroll.MScrollBarFactory",{members:{_createScrollBar:function(e){return new qx.ui.core.scroll.ScrollBar(e)}}});qx.ui.core.scroll.MScrollBarFactory.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.scroll.MRoll",{members:{_cancelRoll:null,_addRollHandling:function(){this.addListener("roll",this._onRoll,this);this.addListener("pointerdown",this._onPointerDownForRoll,this)},_removeRollHandling:function(){this.removeListener("roll",this._onRoll,this);this.removeListener("pointerdown",this._onPointerDownForRoll,this)},_onPointerDownForRoll:function(e){this._cancelRoll=e.getPointerId()},_onRoll:function(e){if("mouse"!=e.getPointerType())if(this._cancelRoll&&e.getMomentum()){e.stopMomentum();this._cancelRoll=null}else{this._cancelRoll=null;var t=this._isChildControlVisible("scrollbar-x"),n=this._isChildControlVisible("scrollbar-y"),r=n?this.getChildControl("scrollbar-y",!0):null,i=t?this.getChildControl("scrollbar-x",!0):null,o=e.getDelta().y,s=e.getDelta().x,a=!n,u=!t;if(r){0!==o&&r.scrollBy(parseInt(o,10));var l=r.getPosition(),c=r.getMaximum();(o<0&&l<=0||o>0&&l>=c)&&(a=!0)}if(i){0!==s&&i.scrollBy(parseInt(s,10));l=i.getPosition(),c=i.getMaximum();(s<0&&l<=0||s>0&&l>=c)&&(u=!0)}u&&a&&e.stopMomentum();(a||0!==s)&&(u||0!==o)&&(u&&a||0===s||0===o)||e.stop()}}}});qx.ui.core.scroll.MRoll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.ui.core.DragDropScrolling":{construct:!0},"qx.Class":{},"qx.ui.core.scroll.MScrollBarFactory":{},"qx.ui.core.Widget":{},"qx.event.Timer":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MDragDropScrolling",{construct:function(){var e=this;this instanceof qx.ui.core.DragDropScrolling&&(e=this._getWidget());e.addListener("drag",this.__P_122_0,this);e.addListener("dragend",this.__P_122_1,this);this.__P_122_2=["left","right"];this.__P_122_3=["top","bottom"]},properties:{dragScrollThresholdX:{check:"Integer",init:30},dragScrollThresholdY:{check:"Integer",init:30},dragScrollSlowDownFactor:{check:"Float",init:.1}},members:{__P_122_4:null,__P_122_2:null,__P_122_3:null,_findScrollableParent:function(e){var t=e;if(null===t)return null;for(;t.getLayoutParent();){t=t.getLayoutParent();if(this._isScrollable(t))return t}return null},_isScrollable:function(e){return qx.Class.hasMixin(e.constructor,qx.ui.core.scroll.MScrollBarFactory)},_getBounds:function(e){var t=e.getContentLocation();e.getScrollAreaContainer&&(t=e.getScrollAreaContainer().getContentLocation());return t},_getEdgeType:function(e,t,n){return-1*e.left<=t&&e.left<0?"left":-1*e.top<=n&&e.top<0?"top":e.right<=t&&e.right>0?"right":e.bottom<=n&&e.bottom>0?"bottom":null},_getAxis:function(e){if(-1!==this.__P_122_2.indexOf(e))return"x";if(-1!==this.__P_122_3.indexOf(e))return"y";throw new Error("Invalid edge type given ("+e+"). Must be: 'left', 'right', 'top' or 'bottom'")},_getThresholdByEdgeType:function(e){return-1!==this.__P_122_2.indexOf(e)?this.getDragScrollThresholdX():-1!==this.__P_122_3.indexOf(e)?this.getDragScrollThresholdY():void 0},_isScrollbarVisible:function(e,t){return!(!e||!e._isChildControlVisible)&&e._isChildControlVisible("scrollbar-"+t)},_isScrollbarExceedingMaxPos:function(e,t,n){var r;return!e||((r=e.getPosition()+n)>e.getMaximum()||r<0)},_calculateThresholdExceedance:function(e,t){var n=t-Math.abs(e);return e<0?-1*n:n},_calculateScrollAmount:function(e,t){return Math.floor(e/100*t*this.getDragScrollSlowDownFactor())},_scrollBy:function(e,t,n){var r=e.getChildControl("scrollbar-"+t,!0);if(r){var i=r.getBounds(),o="x"===t?i.width:i.height,s=this._calculateScrollAmount(o,n);this._isScrollbarExceedingMaxPos(r,t,s)&&this.__P_122_4.stop();r.scrollBy(s)}},__P_122_0:function(e){this.__P_122_4&&this.__P_122_4.stop();var t;if(t=e.getOriginalTarget()instanceof qx.ui.core.Widget?e.getOriginalTarget():qx.ui.core.Widget.getWidgetByElement(e.getOriginalTarget())){var n;n=this._isScrollable(t)?t:this._findScrollableParent(t);for(;n;){var r,i,o=this._getBounds(n),s=e.getDocumentLeft(),a=e.getDocumentTop(),u={left:o.left-s,right:o.right-s,top:o.top-a,bottom:o.bottom-a},l=0;if(r=this._getEdgeType(u,this.getDragScrollThresholdX(),this.getDragScrollThresholdY())){i=this._getAxis(r);if(this._isScrollbarVisible(n,i)){l=this._calculateThresholdExceedance(u[r],this._getThresholdByEdgeType(r));this.__P_122_4&&this.__P_122_4.dispose();this.__P_122_4=new qx.event.Timer(50);this.__P_122_4.addListener("interval",function(e,t,n){this._scrollBy(e,t,n)}.bind(this,n,i,l));this.__P_122_4.start();e.stopPropagation();return}n=this._findScrollableParent(n)}else n=this._findScrollableParent(n)}}},__P_122_1:function(e){this.__P_122_4&&this.__P_122_4.stop()}},destruct:function(){this.__P_122_4&&this.__P_122_4.dispose()}});qx.ui.core.MDragDropScrolling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Scroll":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.Event":{require:!0}},environment:{provided:["os.scrollBarOverlayed","qx.mobile.nativescroll"],required:{"os.name":{className:"qx.bom.client.OperatingSystem"},"browser.version":{className:"qx.bom.client.Browser"},"browser.name":{className:"qx.bom.client.Browser"},"os.version":{className:"qx.bom.client.OperatingSystem"},"event.mspointer":{className:"qx.bom.client.Event"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.Scroll",{statics:{scrollBarOverlayed:function(){var e=qx.bom.element.Scroll.getScrollbarWidth(),t="osx"===qx.bom.client.OperatingSystem.getName();return 0===e&&t&&!1},getNativeScroll:function(){if("ios"==qx.core.Environment.get("os.name")&&parseInt(qx.core.Environment.get("browser.version"),10)>7)return!0;if("firefox"==qx.core.Environment.get("browser.name"))return!0;if("android"==qx.core.Environment.get("os.name")){var e=qx.core.Environment.get("os.version").split(".");if(e[0]>4||e.length>1&&e[0]>3&&e[1]>3)return!0}return!!qx.core.Environment.get("event.mspointer")}},defer:function(e){qx.core.Environment.add("os.scrollBarOverlayed",e.scrollBarOverlayed);qx.core.Environment.add("qx.mobile.nativescroll",e.getNativeScroll)}});qx.bom.client.Scroll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.ui.core.MDragDropScrolling":{require:!0},"qx.core.Init":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.DragDropScrolling",{extend:qx.core.Object,include:[qx.ui.core.MDragDropScrolling],construct:function(e){qx.core.Object.constructor.call(this);this._widget=e},members:{_widget:null,_getWidget:function(){return this._widget||qx.core.Init.getApplication().getRoot()}}});qx.ui.core.DragDropScrolling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.scroll.MScrollBarFactory":{require:!0},"qx.ui.core.scroll.MRoll":{require:!0},"qx.ui.core.MDragDropScrolling":{require:!0},"qx.bom.client.Scroll":{construct:!0,require:!0},"qx.ui.layout.Canvas":{construct:!0},"qx.ui.layout.Grid":{construct:!0},"qx.ui.core.scroll.ScrollPane":{},"qx.ui.core.queue.Manager":{}},environment:{provided:[],required:{"os.scrollBarOverlayed":{construct:!0,className:"qx.bom.client.Scroll"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.scroll.AbstractScrollArea",{extend:qx.ui.core.Widget,include:[qx.ui.core.scroll.MScrollBarFactory,qx.ui.core.scroll.MRoll,qx.ui.core.MDragDropScrolling],type:"abstract",statics:{DEFAULT_SCROLLBAR_WIDTH:14},construct:function(){qx.ui.core.Widget.constructor.call(this);if(qx.core.Environment.get("os.scrollBarOverlayed"))this._setLayout(new qx.ui.layout.Canvas);else{var e=new qx.ui.layout.Grid;e.setColumnFlex(0,1);e.setRowFlex(0,1);this._setLayout(e)}var t=2*qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH+14;this.set({minHeight:t,minWidth:t});this._addRollHandling()},events:{scrollAnimationXEnd:"qx.event.type.Event",scrollAnimationYEnd:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"scrollarea"},width:{refine:!0,init:0},height:{refine:!0,init:0},scrollbarX:{check:["auto","on","off"],init:"auto",themeable:!0,apply:"_computeScrollbars"},scrollbarY:{check:["auto","on","off"],init:"auto",themeable:!0,apply:"_computeScrollbars"},scrollbar:{group:["scrollbarX","scrollbarY"]}},members:{_createChildControlImpl:function(e,t){var n;switch(e){case"pane":(n=new qx.ui.core.scroll.ScrollPane).addListener("update",this._computeScrollbars,this);n.addListener("scrollX",this._onScrollPaneX,this);n.addListener("scrollY",this._onScrollPaneY,this);qx.core.Environment.get("os.scrollBarOverlayed")?this._add(n,{edge:0}):this._add(n,{row:0,column:0});break;case"scrollbar-x":(n=this._createScrollBar("horizontal")).setMinWidth(0);n.exclude();n.addListener("scroll",this._onScrollBarX,this);n.addListener("changeVisibility",this._onChangeScrollbarXVisibility,this);n.addListener("scrollAnimationEnd",this._onScrollAnimationEnd.bind(this,"X"));if(qx.core.Environment.get("os.scrollBarOverlayed")){n.setMinHeight(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(n,{bottom:0,right:0,left:0})}else this._add(n,{row:1,column:0});break;case"scrollbar-y":(n=this._createScrollBar("vertical")).setMinHeight(0);n.exclude();n.addListener("scroll",this._onScrollBarY,this);n.addListener("changeVisibility",this._onChangeScrollbarYVisibility,this);n.addListener("scrollAnimationEnd",this._onScrollAnimationEnd.bind(this,"Y"));if(qx.core.Environment.get("os.scrollBarOverlayed")){n.setMinWidth(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(n,{right:0,bottom:0,top:0})}else this._add(n,{row:0,column:1});break;case"corner":(n=new qx.ui.core.Widget).setWidth(0);n.setHeight(0);n.exclude();qx.core.Environment.get("os.scrollBarOverlayed")||this._add(n,{row:1,column:1})}return n||qx.ui.core.scroll.AbstractScrollArea.superclass.prototype._createChildControlImpl.call(this,e)},getPaneSize:function(){return this.getChildControl("pane").getInnerSize()},getItemTop:function(e){return this.getChildControl("pane").getItemTop(e)},getItemBottom:function(e){return this.getChildControl("pane").getItemBottom(e)},getItemLeft:function(e){return this.getChildControl("pane").getItemLeft(e)},getItemRight:function(e){return this.getChildControl("pane").getItemRight(e)},scrollToX:function(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-x").scrollTo(e,t)},scrollByX:function(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-x").scrollBy(e,t)},getScrollX:function(){var e=this.getChildControl("scrollbar-x",!0);return e?e.getPosition():0},scrollToY:function(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-y").scrollTo(e,t)},scrollByY:function(e,t){qx.ui.core.queue.Manager.flush();this.getChildControl("scrollbar-y").scrollBy(e,t)},getScrollY:function(){var e=this.getChildControl("scrollbar-y",!0);return e?e.getPosition():0},stopScrollAnimationX:function(){var e=this.getChildControl("scrollbar-x",!0);e&&e.stopScrollAnimation()},stopScrollAnimationY:function(){var e=this.getChildControl("scrollbar-y",!0);e&&e.stopScrollAnimation()},_onScrollAnimationEnd:function(e){this.fireEvent("scrollAnimation"+e+"End")},_onScrollBarX:function(e){this.getChildControl("pane").scrollToX(e.getData())},_onScrollBarY:function(e){this.getChildControl("pane").scrollToY(e.getData())},_onScrollPaneX:function(e){var t=this.getChildControl("scrollbar-x");t&&t.updatePosition(e.getData())},_onScrollPaneY:function(e){var t=this.getChildControl("scrollbar-y");t&&t.updatePosition(e.getData())},_onChangeScrollbarXVisibility:function(e){var t=this._isChildControlVisible("scrollbar-x"),n=this._isChildControlVisible("scrollbar-y");t||this.scrollToX(0);t&&n?this._showChildControl("corner"):this._excludeChildControl("corner")},_onChangeScrollbarYVisibility:function(e){var t=this._isChildControlVisible("scrollbar-x"),n=this._isChildControlVisible("scrollbar-y");n||this.scrollToY(0);t&&n?this._showChildControl("corner"):this._excludeChildControl("corner")},_computeScrollbars:function(){var e=this.getChildControl("pane");if(e.getChildren()[0]){var t=this.getInnerSize(),n=e.getInnerSize(),r=e.getScrollSize();if(n&&r){var i=this.getScrollbarX(),o=this.getScrollbarY();if("auto"===i&&"auto"===o){var s=r.width>t.width,a=r.height>t.height;!s&&!a||s&&a||(s?a=r.height>n.height:a&&(s=r.width>n.width))}else{s="on"===i,a="on"===o;r.width>(s?n.width:t.width)&&"auto"===i&&(s=!0);r.height>(s?n.height:t.height)&&"auto"===o&&(a=!0)}if(s){var u=this.getChildControl("scrollbar-x");u.show();u.setMaximum(Math.max(0,r.width-n.width));u.setKnobFactor(0===r.width?0:n.width/r.width)}else this._excludeChildControl("scrollbar-x");if(a){var l=this.getChildControl("scrollbar-y");l.show();l.setMaximum(Math.max(0,r.height-n.height));l.setKnobFactor(0===r.height?0:n.height/r.height)}else this._excludeChildControl("scrollbar-y")}}else{this._excludeChildControl("scrollbar-x");this._excludeChildControl("scrollbar-y")}}}});qx.ui.core.scroll.AbstractScrollArea.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MContentPadding",{properties:{contentPaddingTop:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPaddingRight:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPaddingBottom:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPaddingLeft:{check:"Integer",init:0,apply:"_applyContentPadding",themeable:!0},contentPadding:{group:["contentPaddingTop","contentPaddingRight","contentPaddingBottom","contentPaddingLeft"],mode:"shorthand",themeable:!0}},members:{__P_50_0:{contentPaddingTop:"setPaddingTop",contentPaddingRight:"setPaddingRight",contentPaddingBottom:"setPaddingBottom",contentPaddingLeft:"setPaddingLeft"},__P_50_1:{contentPaddingTop:"setThemedPaddingTop",contentPaddingRight:"setThemedPaddingRight",contentPaddingBottom:"setThemedPaddingBottom",contentPaddingLeft:"setThemedPaddingLeft"},__P_50_2:{contentPaddingTop:"resetPaddingTop",contentPaddingRight:"resetPaddingRight",contentPaddingBottom:"resetPaddingBottom",contentPaddingLeft:"resetPaddingLeft"},_applyContentPadding:function(e,t,n,r){var i=this._getContentPaddingTarget();if(null==e){i[this.__P_50_2[n]]()}else if("setThemed"==r||"resetThemed"==r){i[this.__P_50_1[n]](e)}else{i[this.__P_50_0[n]](e)}}}});qx.ui.core.MContentPadding.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{construct:!0,require:!0},"qx.lang.Object":{},"qx.ui.layout.Util":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Grid",{extend:qx.ui.layout.Abstract,construct:function(e,t){qx.ui.layout.Abstract.constructor.call(this);this.__P_77_0=[];this.__P_77_1=[];e&&this.setSpacingX(e);t&&this.setSpacingY(t)},properties:{spacingX:{check:"Integer",init:0,apply:"_applyLayoutChange"},spacingY:{check:"Integer",init:0,apply:"_applyLayoutChange"},allowGrowSpannedCellWidth:{check:"Boolean",init:!1,apply:"_applyLayoutChange"}},members:{__P_77_2:null,__P_77_0:null,__P_77_1:null,__P_77_3:null,__P_77_4:null,__P_77_5:null,__P_77_6:null,__P_77_7:null,__P_77_8:null,verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true:function(e,t,n){this.assert(1=={row:1,column:1,rowSpan:1,colSpan:1}[t],"The property '"+t+"' is not supported by the Grid layout!");this.assertInteger(n);this.assert(n>=0,"Value must be positive")},false:null}),__P_77_9:function(){for(var e=[],t=[],n=[],r=-1,i=-1,o=this._getLayoutChildren(),s=0,a=o.length;s1&&n.push(u);l.colSpan>1&&t.push(u)}for(f=0;f<=r;f++)null==e[f]&&(e[f]=[]);this.__P_77_2=e;this.__P_77_3=t;this.__P_77_4=n;this.__P_77_5=r;this.__P_77_6=i;this.__P_77_7=null;this.__P_77_8=null;delete this._invalidChildrenCache},_setRowData:function(e,t,n){var r=this.__P_77_0[e];if(r)r[t]=n;else{this.__P_77_0[e]={};this.__P_77_0[e][t]=n}},_setColumnData:function(e,t,n){var r=this.__P_77_1[e];if(r)r[t]=n;else{this.__P_77_1[e]={};this.__P_77_1[e][t]=n}},setSpacing:function(e){this.setSpacingY(e);this.setSpacingX(e);return this},setColumnAlign:function(e,t,n){this._setColumnData(e,"hAlign",t);this._setColumnData(e,"vAlign",n);this._applyLayoutChange();return this},getColumnAlign:function(e){var t=this.__P_77_1[e]||{};return{vAlign:t.vAlign||"top",hAlign:t.hAlign||"left"}},setRowAlign:function(e,t,n){this._setRowData(e,"hAlign",t);this._setRowData(e,"vAlign",n);this._applyLayoutChange();return this},getRowAlign:function(e){var t=this.__P_77_0[e]||{};return{vAlign:t.vAlign||"top",hAlign:t.hAlign||"left"}},getCellWidget:function(e,t){this._invalidChildrenCache&&this.__P_77_9();return(e=this.__P_77_2[e]||{})[t]||null},getRowCount:function(){this._invalidChildrenCache&&this.__P_77_9();return this.__P_77_5+1},getColumnCount:function(){this._invalidChildrenCache&&this.__P_77_9();return this.__P_77_6+1},getCellAlign:function(e,t){var n="top",r="left",i=this.__P_77_0[e],o=this.__P_77_1[t],s=this.__P_77_2[e][t];if(s)var a={vAlign:s.getAlignY(),hAlign:s.getAlignX()};else a={};a.vAlign?n=a.vAlign:i&&i.vAlign?n=i.vAlign:o&&o.vAlign&&(n=o.vAlign);a.hAlign?r=a.hAlign:o&&o.hAlign?r=o.hAlign:i&&i.hAlign&&(r=i.hAlign);return{vAlign:n,hAlign:r}},setColumnFlex:function(e,t){this._setColumnData(e,"flex",t);this._applyLayoutChange();return this},getColumnFlex:function(e){var t=this.__P_77_1[e]||{};return void 0!==t.flex?t.flex:0},setRowFlex:function(e,t){this._setRowData(e,"flex",t);this._applyLayoutChange();return this},getRowFlex:function(e){var t=this.__P_77_0[e]||{};return void 0!==t.flex?t.flex:0},setColumnMaxWidth:function(e,t){this._setColumnData(e,"maxWidth",t);this._applyLayoutChange();return this},getColumnMaxWidth:function(e){var t=this.__P_77_1[e]||{};return void 0!==t.maxWidth?t.maxWidth:1/0},setColumnWidth:function(e,t){this._setColumnData(e,"width",t);this._applyLayoutChange();return this},getColumnWidth:function(e){var t=this.__P_77_1[e]||{};return void 0!==t.width?t.width:null},setColumnMinWidth:function(e,t){this._setColumnData(e,"minWidth",t);this._applyLayoutChange();return this},getColumnMinWidth:function(e){return(this.__P_77_1[e]||{}).minWidth||0},setRowMaxHeight:function(e,t){this._setRowData(e,"maxHeight",t);this._applyLayoutChange();return this},getRowMaxHeight:function(e){return(this.__P_77_0[e]||{}).maxHeight||1/0},setRowHeight:function(e,t){this._setRowData(e,"height",t);this._applyLayoutChange();return this},getRowHeight:function(e){var t=this.__P_77_0[e]||{};return void 0!==t.height?t.height:null},setRowMinHeight:function(e,t){this._setRowData(e,"minHeight",t);this._applyLayoutChange();return this},getRowMinHeight:function(e){return(this.__P_77_0[e]||{}).minHeight||0},_getOuterSize:function(e){var t=e.getSizeHint(),n=e.getMarginLeft()+e.getMarginRight(),r=e.getMarginTop()+e.getMarginBottom();return{height:t.height+r,width:t.width+n,minHeight:t.minHeight+r,minWidth:t.minWidth+n,maxHeight:t.maxHeight+r,maxWidth:t.maxWidth+n}},_fixHeightsRowSpan:function(e){for(var t=this.getSpacingY(),n=0,r=this.__P_77_4.length;n0&&(c[d]={min:f.minHeight,value:f.height,max:f.maxHeight,flex:_});u+=f.height;l+=f.minHeight}if(u0&&(d[_]={min:p.minWidth,value:p.width,max:p.maxWidth,flex:m});c+=p.width;h+=p.minWidth}if(c1)){var u=this._getOuterSize(a);i=this.getRowFlex(r)>0?Math.max(i,u.minHeight):Math.max(i,u.height);o=Math.max(o,u.height)}}}i=Math.max(i,this.getRowMinHeight(r));var l=this.getRowMaxHeight(r);if(null!==this.getRowHeight(r))o=this.getRowHeight(r);else o=Math.max(i,Math.min(o,l));e[r]={minHeight:i,height:o,maxHeight:l}}this.__P_77_4.length>0&&this._fixHeightsRowSpan(e);this.__P_77_7=e;return e},_getColWidths:function(){if(null!=this.__P_77_8)return this.__P_77_8;for(var e=[],t=this.__P_77_6,n=this.__P_77_5,r=0;r<=t;r++){for(var i,o=0,s=0,a=0;a<=n;a++){var u=this.__P_77_2[a][r];if(u){if(!((u.getLayoutProperties().colSpan||0)>1)){var l=this._getOuterSize(u);s=Math.max(s,l.minWidth);o=Math.max(o,l.width)}}}s=Math.max(s,this.getColumnMinWidth(r));i=this.getColumnMaxWidth(r);if(null!==this.getColumnWidth(r))o=this.getColumnWidth(r);else o=Math.max(s,Math.min(o,i));e[r]={minWidth:s,width:o,maxWidth:i}}this._getColSpans().length>0&&this._fixWidthsColSpan(e);this.__P_77_8=e;return e},_getColumnFlexOffsets:function(e){var t=this.getSizeHint(),n=e-t.width;if(0==n)return{};for(var r=this._getColWidths(),i={},o=0,s=r.length;o0||a.width==a.minWidth&&n<0||(i[o]={min:a.minWidth,value:a.width,max:a.maxWidth,flex:u})}return qx.ui.layout.Util.computeFlexOffsets(i,e,t.width)},_getRowFlexOffsets:function(e){var t=this.getSizeHint(),n=e-t.height;if(0==n)return{};for(var r=this._getRowHeights(),i={},o=0,s=r.length;o0||a.height==a.minHeight&&n<0||(i[o]={min:a.minHeight,value:a.height,max:a.maxHeight,flex:u})}return qx.ui.layout.Util.computeFlexOffsets(i,e,t.height)},_getColSpans:function(){return this.__P_77_3},renderLayout:function(e,t,n){this._invalidChildrenCache&&this.__P_77_9();for(var r,i=qx.ui.layout.Util,o=this.getSpacingX(),s=this.getSpacingY(),a=this._getColWidths(),u=this._getColumnFlexOffsets(e),l=[],c=this.__P_77_6,h=this.__P_77_5,d=0;d<=c;d++){r=u[d]?u[d].offset:0;l[d]=a[d].width+r}for(var f=this._getRowHeights(),_=this._getRowFlexOffsets(t),p=[],m=0;m<=h;m++){r=_[m]?_[m].offset:0;p[m]=f[m].height+r}var g=0;for(d=0;d<=c;d++){var v=0;for(m=0;m<=h;m++){var b=this.__P_77_2[m][d];if(b){var y=b.getLayoutProperties();if(y.row===m&&y.column===d){for(var x=o*(y.colSpan-1),w=0;w0?t+=o.minWidth:t+=o.width;n+=o.width}var s=this._getRowHeights(),a=0,u=0;for(r=0,i=s.length;r0?a+=l.minHeight:a+=l.height;u+=l.height}var c=this.getSpacingX()*(e.length-1),h=this.getSpacingY()*(s.length-1);return{minWidth:t+c,width:n+c,minHeight:a+h,height:u+h}}},destruct:function(){this.__P_77_2=this.__P_77_0=this.__P_77_1=this.__P_77_3=this.__P_77_4=this.__P_77_8=this.__P_77_7=null}});qx.ui.layout.Grid.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.scroll.AbstractScrollArea":{construct:!0,require:!0},"qx.ui.core.MContentPadding":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.container.Scroll",{extend:qx.ui.core.scroll.AbstractScrollArea,include:[qx.ui.core.MContentPadding],construct:function(e){qx.ui.core.scroll.AbstractScrollArea.constructor.call(this);e&&this.add(e)},members:{add:function(e){this.getChildControl("pane").add(e)},remove:function(e){this.getChildControl("pane").remove(e)},getChildren:function(){return this.getChildControl("pane").getChildren()},_getContentPaddingTarget:function(){return this.getChildControl("pane")}}});qx.ui.container.Scroll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MChildrenHandling":{require:!0},"qx.ui.layout.HBox":{construct:!0},"qx.ui.menu.Menu":{},"qx.util.PropertyUtil":{},"qx.ui.core.Spacer":{},"qx.ui.toolbar.Separator":{},"qx.ui.menubar.Button":{},"qx.ui.toolbar.Part":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.ToolBar",{extend:qx.ui.core.Widget,include:qx.ui.core.MChildrenHandling,construct:function(e){qx.ui.core.Widget.constructor.call(this);this.getContentElement().setAttribute("role","toolbar");this._setLayout(e||new qx.ui.layout.HBox);this.__P_11_0=[];this.__P_11_1=[]},properties:{appearance:{refine:!0,init:"toolbar"},openMenu:{check:"qx.ui.menu.Menu",event:"changeOpenMenu",nullable:!0},show:{init:"both",check:["both","label","icon"],inheritable:!0,apply:"_applyShow",event:"changeShow"},spacing:{nullable:!0,check:"Integer",themeable:!0,apply:"_applySpacing"},overflowIndicator:{check:"qx.ui.core.Widget",nullable:!0,apply:"_applyOverflowIndicator"},overflowHandling:{init:!1,check:"Boolean",apply:"_applyOverflowHandling"}},events:{hideItem:"qx.event.type.Data",showItem:"qx.event.type.Data"},members:{__P_11_0:null,__P_11_1:null,_computeSizeHint:function(){var e=qx.ui.toolbar.ToolBar.superclass.prototype._computeSizeHint.call(this);if(this.getOverflowHandling()){var t=0,n=this.getOverflowIndicator();n&&(t=n.getSizeHint().width+this.getSpacing());e.minWidth=t}return e},_onResize:function(e){this._recalculateOverflow(e.getData().width)},_recalculateOverflow:function(e,t){if(this.getOverflowHandling()){t=t||this.getSizeHint().width;var n=this.getOverflowIndicator(),r=0;n&&(r=n.getSizeHint().width);null==e&&null!=this.getBounds()&&(e=this.getBounds().width);if(null!=e)if(ee);else if(this.__P_11_0.length>0)do{var u=this.__P_11_0[0];if(u){o=u.getMarginLeft()+u.getMarginRight();o=Math.max(o,this.getSpacing());if(null==u.getContentElement().getDomElement()){u.syncAppearance();u.invalidateLayoutCache()}var l=u.getSizeHint().width,c=!1;if(1==this.__P_11_0.length&&r>0){c=e>t-r+l+(o-this.getSpacing())}if(!(e>t+l+o||c))return;this.__P_11_3(u);t+=l;n&&0==this.__P_11_0.length&&n.setVisibility("excluded")}}while(e>=t&&this.__P_11_0.length>0)}},__P_11_3:function(e){e.setVisibility("visible");this.__P_11_0.shift();this.fireDataEvent("showItem",e)},__P_11_2:function(e){if(e){this.__P_11_0.unshift(e);e.setVisibility("excluded");this.fireDataEvent("hideItem",e)}},_getNextToHide:function(){for(var e=this.__P_11_1.length-1;e>=0;e--){var t=this.__P_11_1[e];if(t&&t.getVisibility&&"visible"==t.getVisibility())return t}var n=this._getChildren();for(e=n.length-1;e>=0;e--){var r=n[e];if(r!=this.getOverflowIndicator()&&(r.getVisibility&&"visible"==r.getVisibility()))return r}},setRemovePriority:function(e,t,n){if(!n&&null!=this.__P_11_1[t])throw new Error("Priority already in use!");this.__P_11_1[t]=e},_applyOverflowHandling:function(e,t){this.invalidateLayoutCache();var n=this.getLayoutParent();n&&n.invalidateLayoutCache();var r=this.getBounds();r&&r.width&&this._recalculateOverflow(r.width);if(e)this.addListener("resize",this._onResize,this);else{this.removeListener("resize",this._onResize,this);var i=this.getOverflowIndicator();i&&i.setVisibility("excluded");for(var o=0;o0){g+=i;v!=_&&(g+=d)}a+=Math.round((t-g)/2)}var b=a;for(v=_;v!=p;v+=m){q=(o=c[v]).getSizeHint();r=Math.min(q.maxWidth,Math.max(e,q.minWidth));i=q.height;s=u.computeHorizontalAlignOffset("center",r,e)+n.left;o.renderLayout(s,b,r,i);i>0&&(b=a+i+d)}}else{var y=e,x=null,w=0;for(v=_;v!=p;v+=m)if((r=(o=c[v]).getSizeHint().width)>0){!x&&o instanceof qx.ui.basic.Label?x=o:y-=r;w++}if(w>1){y-=(w-1)*d}if(x){var q=x.getSizeHint(),P=Math.max(q.minWidth,Math.min(y,q.maxWidth));y-=P}f&&y>0&&(s+=Math.round(y/2));for(v=_;v!=p;v+=m){q=(o=c[v]).getSizeHint();i=Math.min(q.maxHeight,Math.max(t,q.minHeight));r=o===x?P:q.width;var E="middle";"top-left"==l||"top-right"==l?E="top":"bottom-left"!=l&&"bottom-right"!=l||(E="bottom");b=a+u.computeVerticalAlignOffset(E,q.height,t);o.renderLayout(s,b,r,i);r>0&&(s+=r+d)}}},_computeSizeHint:function(){var e,t=this._getLayoutChildren(),n=t.length;if(1===n){var r;e={width:(r=t[0].getSizeHint()).width,height:r.height,minWidth:r.minWidth,minHeight:r.minHeight}}else{var i=0,o=0,s=0,a=0,u=this.getIconPosition(),l=this.getGap();if("top"===u||"bottom"===u){for(var c=0,h=0;h0){a+=r.height;s+=r.minHeight;c++}}if(c>1){a+=d=(c-1)*l;s+=d}}else{for(c=0,h=0;h0){o+=r.width;i+=r.minWidth;c++}}if(c>1){var d;o+=d=(c-1)*l;i+=d}}e={minWidth:i,width:o,minHeight:s,height:a}}return e}}});qx.ui.layout.Atom.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.basic.Atom":{construct:!0,require:!0},"qx.ui.core.MExecutable":{require:!0},"qx.ui.form.IExecutable":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.Button",{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(e,t,n){qx.ui.basic.Atom.constructor.call(this,e,t);null!=n&&this.setCommand(n);this.getContentElement().setAttribute("role","button");this.addListener("pointerover",this._onPointerOver);this.addListener("pointerout",this._onPointerOut);this.addListener("pointerdown",this._onPointerDown);this.addListener("pointerup",this._onPointerUp);this.addListener("tap",this._onTap);this.addListener("keydown",this._onKeyDown);this.addListener("keyup",this._onKeyUp);this.addListener("dblclick",(function(e){e.stopPropagation()}))},properties:{appearance:{refine:!0,init:"button"},focusable:{refine:!0,init:!0}},members:{_forwardStates:{focused:!0,hovered:!0,pressed:!0,disabled:!0},press:function(){this.hasState("abandoned")||this.addState("pressed")},release:function(){this.hasState("pressed")&&this.removeState("pressed")},reset:function(){this.removeState("pressed");this.removeState("abandoned");this.removeState("hovered")},_onPointerOver:function(e){if(this.isEnabled()&&e.getTarget()===this){if(this.hasState("abandoned")){this.removeState("abandoned");this.addState("pressed")}this.addState("hovered")}},_onPointerOut:function(e){if(this.isEnabled()&&e.getTarget()===this){this.removeState("hovered");if(this.hasState("pressed")){this.removeState("pressed");this.addState("abandoned")}}},_onPointerDown:function(e){if(e.isLeftPressed()){e.stopPropagation();this.capture();this.removeState("abandoned");this.addState("pressed")}},_onPointerUp:function(e){this.releaseCapture();var t=this.hasState("pressed"),n=this.hasState("abandoned");t&&this.removeState("pressed");n&&this.removeState("abandoned");e.stopPropagation()},_onTap:function(e){this.execute();e.stopPropagation()},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":this.removeState("abandoned");this.addState("pressed");e.stopPropagation()}},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":if(this.hasState("pressed")){this.removeState("abandoned");this.removeState("pressed");this.execute();e.stopPropagation()}}}}});qx.ui.form.Button.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Button":{require:!0},"qx.ui.toolbar.PartContainer":{},"qx.ui.core.queue.Appearance":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.Button",{extend:qx.ui.form.Button,properties:{appearance:{refine:!0,init:"toolbar-button"},show:{refine:!0,init:"inherit"}},members:{_applyVisibility:function(e,t){qx.ui.toolbar.Button.superclass.prototype._applyVisibility.call(this,e,t);var n=this.getLayoutParent();n&&n instanceof qx.ui.toolbar.PartContainer&&qx.ui.core.queue.Appearance.add(n)}}});qx.ui.toolbar.Button.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Button":{construct:!0,require:!0},"qx.ui.menu.Menu":{},"qx.ui.core.FocusHandler":{},"qx.ui.menu.Manager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.MenuButton",{extend:qx.ui.form.Button,construct:function(e,t,n){qx.ui.form.Button.constructor.call(this,e,t);null!=n&&this.setMenu(n);this.getContentElement().setAttribute("role","button")},properties:{menu:{check:"qx.ui.menu.Menu",nullable:!0,apply:"_applyMenu",event:"changeMenu"},appearance:{refine:!0,init:"menubutton"}},members:{_applyVisibility:function(e,t){qx.ui.form.MenuButton.superclass.prototype._applyVisibility.call(this,e,t);var n=this.getMenu();"visible"!=e&&n&&n.hide()},_applyMenu:function(e,t){if(t){t.removeListener("changeVisibility",this._onMenuChange,this);t.resetOpener()}if(e){e.addListener("changeVisibility",this._onMenuChange,this);e.setOpener(this);e.removeState("submenu");e.removeState("contextmenu")}var n=this.getContentElement();if(n)if(e){n.setAttribute("aria-haspopup","menu");n.setAttribute("aria-expanded",e.isVisible());n.setAttribute("aria-controls",e.getContentElement().getAttribute("id"))}else{n.removeAttribute("aria-haspopup");n.removeAttribute("aria-expanded");n.removeAttribute("aria-controls")}},open:function(e){var t=this.getMenu();if(t){this.isFocusable()&&!qx.ui.core.FocusHandler.getInstance().isFocused(this)&&this.focus();qx.ui.menu.Manager.getInstance().hideAll();t.setOpener(this);t.open();if(e){var n=t.getSelectables()[0];n&&t.setSelectedButton(n)}}},_onMenuChange:function(e){var t=this.getMenu().isVisible();t?this.addState("pressed"):this.removeState("pressed");this.getContentElement().setAttribute("aria-expanded",t)},_onPointerDown:function(e){qx.ui.form.MenuButton.superclass.prototype._onPointerDown.call(this,e);if("left"==e.getButton()){var t=this.getMenu();if(t){t.isVisible()?t.exclude():this.open();e.stopPropagation()}}},_onPointerUp:function(e){qx.ui.form.MenuButton.superclass.prototype._onPointerUp.call(this,e);e.stopPropagation()},_onPointerOver:function(e){this.addState("hovered")},_onPointerOut:function(e){this.removeState("hovered")},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case"Space":case"Enter":this.removeState("abandoned");this.addState("pressed");var t=this.getMenu();t&&(t.isVisible()?t.exclude():this.open());e.stopPropagation()}},_onKeyUp:function(e){}}});qx.ui.form.MenuButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.MenuButton":{require:!0},"qx.ui.toolbar.ToolBar":{},"qx.ui.menu.Manager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.menubar.Button",{extend:qx.ui.form.MenuButton,properties:{appearance:{refine:!0,init:"menubar-button"},show:{refine:!0,init:"inherit"}},members:{getMenuBar:function(){for(var e=this;e;){if(e instanceof qx.ui.toolbar.ToolBar)return e;e=e.getLayoutParent()}return null},open:function(e){qx.ui.menubar.Button.superclass.prototype.open.call(this,e);var t=this.getMenuBar();t&&t._setAllowMenuOpenHover(!0)},_onMenuChange:function(e){var t=this.getMenu(),n=this.getMenuBar();if(t.isVisible()){this.addState("pressed");n&&n.setOpenMenu(t)}else{this.removeState("pressed");if(n&&n.getOpenMenu()==t){n.resetOpenMenu();n._setAllowMenuOpenHover(!1)}}},_onPointerUp:function(e){qx.ui.menubar.Button.superclass.prototype._onPointerUp.call(this,e);var t=this.getMenu();t&&t.isVisible()&&!this.hasState("pressed")&&this.addState("pressed")},_onPointerOver:function(e){this.addState("hovered");if(this.getMenu()&&"mouse"==e.getPointerType()){var t=this.getMenuBar();if(t&&t._isAllowMenuOpenHover()){qx.ui.menu.Manager.getInstance().hideAll();t._setAllowMenuOpenHover(!0);this.isEnabled()&&this.open()}}}}});qx.ui.menubar.Button.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.menubar.Button":{require:!0},"qx.ui.toolbar.PartContainer":{},"qx.ui.core.queue.Appearance":{},"qx.ui.basic.Image":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.MenuButton",{extend:qx.ui.menubar.Button,properties:{appearance:{refine:!0,init:"toolbar-menubutton"},showArrow:{check:"Boolean",init:!1,themeable:!0,apply:"_applyShowArrow"}},members:{_applyVisibility:function(e,t){qx.ui.toolbar.MenuButton.superclass.prototype._applyVisibility.call(this,e,t);var n=this.getMenu();"visible"!=e&&n&&n.hide();var r=this.getLayoutParent();r&&r instanceof qx.ui.toolbar.PartContainer&&qx.ui.core.queue.Appearance.add(r)},_createChildControlImpl:function(e,t){var n;if("arrow"===e){(n=new qx.ui.basic.Image).setAnonymous(!0);this._addAt(n,10)}return n||qx.ui.toolbar.MenuButton.superclass.prototype._createChildControlImpl.call(this,e)},_applyShowArrow:function(e,t){e?this._showChildControl("arrow"):this._excludeChildControl("arrow")}}});qx.ui.toolbar.MenuButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.lang.Function":{},"qx.event.Idle":{},"qx.bom.element.Location":{},"qx.util.placement.Placement":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MPlacement",{statics:{__P_54_0:null,__P_54_1:"left",setVisibleElement:function(e){this.__P_54_0=e},getVisibleElement:function(){return this.__P_54_0},setMoveDirection:function(e){if("top"!==e&&"left"!==e)throw new Error("Invalid value for the parameter 'direction' [qx.ui.core.MPlacement.setMoveDirection()], the value was '"+e+"' but 'top' or 'left' are allowed.");this.__P_54_1=e},getMoveDirection:function(){return this.__P_54_1}},properties:{position:{check:["top-left","top-center","top-right","bottom-left","bottom-center","bottom-right","left-top","left-middle","left-bottom","right-top","right-middle","right-bottom"],init:"bottom-left",themeable:!0},placeMethod:{check:["widget","pointer"],init:"pointer",themeable:!0},domMove:{check:"Boolean",init:!1},placementModeX:{check:["direct","keep-align","best-fit"],init:"keep-align",themeable:!0},placementModeY:{check:["direct","keep-align","best-fit"],init:"keep-align",themeable:!0},offsetLeft:{check:"Integer",init:0,themeable:!0},offsetTop:{check:"Integer",init:0,themeable:!0},offsetRight:{check:"Integer",init:0,themeable:!0},offsetBottom:{check:"Integer",init:0,themeable:!0},offset:{group:["offsetTop","offsetRight","offsetBottom","offsetLeft"],mode:"shorthand",themeable:!0}},members:{__P_54_2:null,__P_54_3:null,__P_54_4:null,getLayoutLocation:function(e){var t,n,r,i;if(!(n=e.getBounds()))return null;r=n.left;i=n.top;var o=n;e=e.getLayoutParent();for(;e&&!e.isRootWidget();){r+=(n=e.getBounds()).left;i+=n.top;r+=(t=e.getInsets()).left;i+=t.top;e=e.getLayoutParent()}if(e&&e.isRootWidget()){var s=e.getContentLocation();if(s){r+=s.left;i+=s.top}}return{left:r,top:i,right:r+o.width,bottom:i+o.height}},moveTo:function(e,t){var n=qx.ui.core.MPlacement.getVisibleElement();if(n){var r=this.getBounds(),i=n.getContentLocation();if(r&&i){var o=t+r.height;if(e+r.width>i.left&&ei.top&&tt?this._assertSlideBar((function(){this.setHeight(t-n)})):this.setHeight(null)}else this.addListenerOnce("resize",this.__P_13_2,this)},_assertSlideBar:function(e){if(this.hasChildControl("slidebar"))return e.call(this);this.__P_13_1=e;qx.ui.core.queue.Widget.add(this)},syncWidget:function(e){this.getChildControl("slidebar");if(this.__P_13_1){this.__P_13_1.call(this);delete this.__P_13_1}},_afterAddChild:function(e){if(e instanceof qx.ui.menu.AbstractButton){var t=e.getContentElement();t.setAttribute("id","menu-item-"+e.toHashCode());t.setAttribute("role","menuitem")}},_onResize:function(){if(this.isVisible()){var e=this._placementTarget;if(!e)return;if(e instanceof qx.ui.core.Widget)this.placeToWidget(e,!0);else{if(void 0===e.top)throw new Error("Unknown target: "+e);this.placeToPoint(e)}this.__P_13_2()}},_onPointerOver:function(e){var t=qx.ui.menu.Manager.getInstance();t.cancelClose(this);var n=e.getTarget();if(n.isEnabled()&&n instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(n);var r=n.getMenu&&n.getMenu();if(r){r.setOpener(n);t.scheduleOpen(r);this.__P_13_0=r}else{var i=this.getOpenedButton();i&&t.scheduleClose(i.getMenu());if(this.__P_13_0){t.cancelOpen(this.__P_13_0);this.__P_13_0=null}}}else this.getOpenedButton()||this.resetSelectedButton()},_onPointerOut:function(e){var t=qx.ui.menu.Manager.getInstance();if(!qx.ui.core.Widget.contains(this,e.getRelatedTarget())){var n=this.getOpenedButton();n?this.setSelectedButton(n):this.resetSelectedButton();n&&t.cancelClose(n.getMenu());this.__P_13_0&&t.cancelOpen(this.__P_13_0)}},__P_13_4:function(){var e,t=this.getParentMenu();if(!t)return this.getOpener();for(;t;){e=t.getOpener();t=t.getParentMenu()}return e}},destruct:function(){qx.core.ObjectRegistry.inShutDown||qx.ui.menu.Manager.getInstance().remove(this);this.getApplicationRoot().removeListener("resize",this._onResize,this);this._placementTarget=null;this._disposeObjects("_blocker")}});qx.ui.menu.Menu.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MExecutable":{require:!0},"qx.ui.form.IExecutable":{require:!0},"qx.ui.menu.ButtonLayout":{construct:!0},"qx.ui.menu.Menu":{},"qx.ui.basic.Image":{},"qx.ui.basic.Label":{},"qx.event.Timer":{},"qx.ui.menu.Manager":{},"qx.locale.Manager":{},"qx.core.ObjectRegistry":{}},environment:{provided:[],required:{"qx.dynlocale":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.menu.AbstractButton",{extend:qx.ui.core.Widget,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],type:"abstract",construct:function(){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.menu.ButtonLayout);this.addListener("tap",this._onTap);this.addListener("keypress",this._onKeyPress);this.addListener("changeCommand",this._onChangeCommand,this)},properties:{blockToolTip:{refine:!0,init:!0},label:{check:"String",apply:"_applyLabel",nullable:!0,event:"changeLabel"},menu:{check:"qx.ui.menu.Menu",apply:"_applyMenu",nullable:!0,dereference:!0,event:"changeMenu"},icon:{check:"String",apply:"_applyIcon",themeable:!0,nullable:!0,event:"changeIcon"},showCommandLabel:{check:"Boolean",apply:"_applyShowCommandLabel",themeable:!0,init:!0,event:"changeShowCommandLabel"}},members:{_createChildControlImpl:function(e,t){var n;switch(e){case"icon":(n=new qx.ui.basic.Image).setAnonymous(!0);this._add(n,{column:0});break;case"label":(n=new qx.ui.basic.Label).setAnonymous(!0);this._add(n,{column:1});break;case"shortcut":(n=new qx.ui.basic.Label).setAnonymous(!0);this.getShowCommandLabel()||n.exclude();this._add(n,{column:2});break;case"arrow":(n=new qx.ui.basic.Image).setAnonymous(!0);this._add(n,{column:3})}return n||qx.ui.menu.AbstractButton.superclass.prototype._createChildControlImpl.call(this,e)},_forwardStates:{selected:1},getChildrenSizes:function(){var e=0,t=0,n=0,r=0;if(this._isChildControlVisible("icon")){var i=this.getChildControl("icon");e=i.getMarginLeft()+i.getSizeHint().width+i.getMarginRight()}if(this._isChildControlVisible("label")){var o=this.getChildControl("label");t=o.getMarginLeft()+o.getSizeHint().width+o.getMarginRight()}if(this._isChildControlVisible("shortcut")){var s=this.getChildControl("shortcut");n=s.getMarginLeft()+s.getSizeHint().width+s.getMarginRight()}if(this._isChildControlVisible("arrow")){var a=this.getChildControl("arrow");r=a.getMarginLeft()+a.getSizeHint().width+a.getMarginRight()}return[e,t,n,r]},_onTap:function(e){if(e.isLeftPressed()){this.execute();qx.event.Timer.once(qx.ui.menu.Manager.getInstance().hideAll,qx.ui.menu.Manager.getInstance(),0)}else this.getContextMenu()||qx.ui.menu.Manager.getInstance().preventContextMenuOnce()},_onKeyPress:function(e){this.execute()},_onChangeCommand:function(e){var t=e.getData();if(null!=t){e.getOldData()||qx.locale.Manager.getInstance().addListener("changeLocale",this._onChangeLocale,this);t||qx.locale.Manager.getInstance().removeListener("changeLocale",this._onChangeLocale,this);var n=null!=t?t.toString():"";this.getChildControl("shortcut").setValue(n)}},_onChangeLocale:qx.core.Environment.select("qx.dynlocale",{true:function(e){var t=this.getCommand();null!=t&&this.getChildControl("shortcut").setValue(t.toString())},false:null}),_applyIcon:function(e,t){e?this._showChildControl("icon").setSource(e):this._excludeChildControl("icon")},_applyLabel:function(e,t){e?this._showChildControl("label").setValue(e):this._excludeChildControl("label")},_applyMenu:function(e,t){if(t){t.removeListener("changeVisibility",this._onMenuChange,this);t.resetOpener();t.removeState("submenu")}if(e){this._showChildControl("arrow");e.addListener("changeVisibility",this._onMenuChange,this);e.setOpener(this);e.addState("submenu")}else this._excludeChildControl("arrow");var n=this.getContentElement();if(n)if(e){n.setAttribute("aria-haspopup","menu");n.setAttribute("aria-expanded",e.isVisible());n.setAttribute("aria-controls",e.getContentElement().getAttribute("id"))}else{n.removeAttribute("aria-haspopup");n.removeAttribute("aria-expanded");n.removeAttribute("aria-controls")}},_onMenuChange:function(e){this.getContentElement().setAttribute("aria-expanded",this.getMenu().isVisible())},_applyShowCommandLabel:function(e,t){e?this._showChildControl("shortcut"):this._excludeChildControl("shortcut")}},destruct:function(){this.removeListener("changeCommand",this._onChangeCommand,this);this.getMenu()&&(qx.core.ObjectRegistry.inShutDown||this.getMenu().destroy());qx.locale.Manager.getInstance().removeListener("changeLocale",this._onChangeLocale,this)}});qx.ui.menu.AbstractButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0},"qx.lang.Array":{},"qx.ui.layout.Util":{},"qx.ui.menu.Menu":{}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.menu.ButtonLayout",{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true:function(e,t,n){this.assert("column"==t,"The property '"+t+"' is not supported by the MenuButton layout!")},false:null}),renderLayout:function(e,t,n){for(var r,i=this._getLayoutChildren(),o=[],s=0,a=i.length;s0&&(d+=l[s]+c)}},__P_131_0:function(e){for(;!(e instanceof qx.ui.menu.Menu);)e=e.getLayoutParent();return e},_computeSizeHint:function(){for(var e=this._getLayoutChildren(),t=0,n=0,r=0,i=e.length;r=0;--n)r[n].selectorText==t&&e.deleteRule(n);else{var r;for(n=(r=e.rules).length-1;n>=0;--n)r[n].selectorText==t&&e.removeRule(n)}},removeSheet:function(e){var t=e.ownerNode?e.ownerNode:e.owningElement;qx.dom.Element.removeChild(t,t.parentNode)},removeAllRules:function(e){if(qx.core.Environment.get("html.stylesheet.deleterule"))for(var t=e.cssRules.length-1;t>=0;t--)e.deleteRule(t);else for(t=e.rules.length-1;t>=0;t--)e.removeRule(t)},addImport:function(e,t){qx.core.Environment.get("html.stylesheet.addimport")?e.addImport(t):e.insertRule('@import "'+t+'";',e.cssRules.length)},removeImport:function(e,t){if(qx.core.Environment.get("html.stylesheet.removeimport"))for(var n=e.imports,r=n.length-1;r>=0;r--)n[r].href!=t&&n[r].href!=qx.util.Uri.getAbsolute(t)||e.removeImport(r);else{var i=e.cssRules;for(r=i.length-1;r>=0;r--)i[r].href==t&&e.deleteRule(r)}},removeAllImports:function(e){if(qx.core.Environment.get("html.stylesheet.removeimport"))for(var t=e.imports.length-1;t>=0;t--)e.removeImport(t);else{var n=e.cssRules;for(t=n.length-1;t>=0;t--)n[t].type==n[t].IMPORT_RULE&&e.deleteRule(t)}}}});qx.bom.Stylesheet.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.bom.Stylesheet":{require:!0,defer:"runtime"},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.Style":{},"qx.bom.Event":{},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["css.animation","css.animation.requestframe"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.CssAnimation",{statics:{getSupport:function(){var e=qx.bom.client.CssAnimation.getName();return null!=e?{name:e,"play-state":qx.bom.client.CssAnimation.getPlayState(),"start-event":qx.bom.client.CssAnimation.getAnimationStart(),"iteration-event":qx.bom.client.CssAnimation.getAnimationIteration(),"end-event":qx.bom.client.CssAnimation.getAnimationEnd(),"fill-mode":qx.bom.client.CssAnimation.getFillMode(),keyframes:qx.bom.client.CssAnimation.getKeyFrames()}:null},getFillMode:function(){return qx.bom.Style.getPropertyName("AnimationFillMode")},getPlayState:function(){return qx.bom.Style.getPropertyName("AnimationPlayState")},getName:function(){return qx.bom.Style.getPropertyName("animation")},getAnimationStart:function(){if(qx.bom.Event.supportsEvent(window,"webkitanimationstart"))return"webkitAnimationStart";return{msAnimation:"MSAnimationStart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"animationstart",OAnimation:"oAnimationStart",animation:"animationstart"}[this.getName()]},getAnimationIteration:function(){if(qx.bom.Event.supportsEvent(window,"webkitanimationiteration"))return"webkitAnimationIteration";return{msAnimation:"MSAnimationIteration",WebkitAnimation:"webkitAnimationIteration",MozAnimation:"animationiteration",OAnimation:"oAnimationIteration",animation:"animationiteration"}[this.getName()]},getAnimationEnd:function(){if(qx.bom.Event.supportsEvent(window,"webkitanimationend"))return"webkitAnimationEnd";return{msAnimation:"MSAnimationEnd",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}[this.getName()]},getKeyFrames:function(){for(var e=qx.bom.Style.VENDOR_PREFIXES,t=[],n=0;ni?i-a:n-a,o,n>i?n-i+o:i-n+o);e.getContentElement().removeStyle("transform",!0)},_positionHorizontalLine:function(e,t,n,r,i,o,s){var a=parseInt(o/2,10);e.setUserBounds(t>r?r-a:t-a,n-a,t>r?t-r+o:r-t+o,o);e.getContentElement().removeStyle("transform",!0)},_positionDiagonalLine:function(e,t,n,r,i,o,s){var a=parseInt(o/2,10),u=t>r?r-a:t-a,l=n-a,c=Math.abs(t-r+o),h=Math.abs(t-r),d=Math.abs(n-i),f=Math.round(Math.sqrt(h*h+d*d)),_=Math.asin(d/f),p=0,m=f-c;if(nr){p=-Math.round(180*_/Math.PI);u-=m}else p=Math.round(180*_/Math.PI);else if(t>r){p=Math.round(180*_/Math.PI);u-=m}else p=-Math.round(180*_/Math.PI);var g=t1)throw new Error("You can only define one theme category per file! Invalid theme: "+e)}if(t.meta){var u;for(var r in t.meta){u=t.meta[r];if(void 0===this.__P_16_6[r])throw new Error('The key "'+r+'" is not allowed inside a meta theme block.');if(_typeof(u)!==this.__P_16_6[r])throw new Error('The type of the key "'+r+'" inside the meta block is wrong.');if("object"!==_typeof(u)||null===u||"Theme"!==u.$$type)throw new Error('The content of a meta theme must reference to other themes. The value for "'+r+'" in theme "'+e+'" is invalid: '+u)}}if(t.extend&&"Theme"!==t.extend.$$type)throw new Error('Invalid extend in theme "'+e+'": '+t.extend);if(t.include)for(o=0,s=t.include.length;o0;){u.unshift(l.pop());if((o=i[l.join(a)])&&"string"==typeof(s=o.alias||o)){var h=s+a+u.join(a);return this.__P_17_3(h,t,n,c)}}for(var d=0;d0&&(a+=":"+l)}var h,d=this.__P_17_0;if(d[n.name]&&void 0!==d[n.name][a])return d[n.name][a];t||(t=this.__P_17_2);if(s.include||s.base){var f;s.include&&(f=this.styleFrom(s.include,t,n,r));var _=s.style(t,f);h={};if(s.base){var p=this.styleFrom(o,t,s.base,r);if(s.include)for(var m in p)f.hasOwnProperty(m)||_.hasOwnProperty(m)||(h[m]=p[m]);else for(var g in p)_.hasOwnProperty(g)||(h[g]=p[g])}if(s.include)for(var v in f)_.hasOwnProperty(v)||(h[v]=f[v]);for(var b in _)h[b]=_[b]}else h=s.style(t);d[n.name]||(d[n.name]={});return d[n.name][a]=h||null}}});qx.theme.manager.Appearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("ville.connect.Appearance",{appearances:{connector:{include:"widget",style:function(e){return{backgroundColor:"#FF00FF",padding:0,zIndex:9}}}}});ville.connect.Appearance.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.Engine":{construct:!0,require:!0},"qx.bom.client.Browser":{construct:!0,require:!0},"qx.lang.Type":{},"qx.ui.style.Stylesheet":{},"qx.Bootstrap":{},"qx.ui.decoration.Decorator":{},"qx.ui.decoration.IDecorator":{},"qx.lang.Object":{},"qx.util.AliasManager":{}},environment:{provided:[],required:{"engine.name":{construct:!0,className:"qx.bom.client.Engine"},"browser.documentmode":{construct:!0,className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.theme.manager.Decoration",{type:"singleton",extend:qx.core.Object,implement:[qx.core.IDisposable],statics:{CSS_CLASSNAME_PREFIX:"qx-"},construct:function(){qx.core.Object.constructor.call(this);this.__P_18_0=[];this.__P_18_1="mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9},properties:{theme:{check:"Theme",nullable:!0,apply:"_applyTheme",event:"changeTheme"}},members:{__P_18_2:null,__P_18_0:null,__P_18_1:!1,getCssClassName:function(e){var t=qx.theme.manager.Decoration.CSS_CLASSNAME_PREFIX;return qx.lang.Type.isString(e)?t+e:t+e.toHashCode()},addCssClass:function(e){var t=qx.ui.style.Stylesheet.getInstance(),n=e,r="."+(e=this.getCssClassName(e));if(t.hasRule(r))return e;qx.lang.Type.isString(n)&&(n=this.resolve(n));if(!n)throw new Error("Unable to resolve decorator '"+e+"'.");var i="",o=n.getStyles(!0);Object.keys(o).sort().forEach((function(e){if(qx.Bootstrap.isObject(o[e])){var n="",s=o[e],a=!1;for(var u in s){a=!0;n+=u+":"+s[u]+";"}var l=this.__P_18_1?r:r+(a?":":"");this.__P_18_0.push(l+e);t.addRule(l+e,n)}else i+=e+":"+o[e]+";"}),this);if(i){t.addRule(r,i);this.__P_18_0.push(r)}return e},removeAllCssClasses:function(){for(var e=0;ei.getZIndex())&&(i=a)}}this.__P_20_0.setActiveWindow(i)},bringToFront:function(e){var t=this.__P_20_0.getWindows();if(qx.lang.Array.remove(t,e)){t.push(e);this.updateStack()}},sendToBack:function(e){var t=this.__P_20_0.getWindows();if(qx.lang.Array.remove(t,e)){t.unshift(e);this.updateStack()}}},destruct:function(){this._disposeObjects("__P_20_0")}});qx.ui.window.Manager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qx.ui.window.IWindowManager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.window.IDesktop",{members:{setWindowManager:function(e){this.assertInterface(e,qx.ui.window.IWindowManager)},getWindows:function(){},supportsMaximize:function(){},blockContent:function(e){this.assertInteger(e)},unblock:function(){},isBlocked:function(){}}});qx.ui.window.IDesktop.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MChildrenHandling":{require:!0},"qx.ui.window.MDesktop":{require:!0},"qx.ui.core.MBlocker":{require:!0},"qx.ui.window.IDesktop":{require:!0},"qx.ui.window.Window":{construct:!0},"qx.ui.layout.Canvas":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.window.Desktop",{extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.window.MDesktop,qx.ui.core.MBlocker],implement:qx.ui.window.IDesktop,construct:function(e){qx.ui.core.Widget.constructor.call(this);e=e||new qx.ui.window.Window.DEFAULT_MANAGER_CLASS;this.getContentElement().disableScrolling();this._setLayout((new qx.ui.layout.Canvas).set({desktop:!0}));this.setWindowManager(e)}});qx.ui.window.Desktop.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("wax.demo.DiagramData",{extend:qx.core.Object,statics:{DIAGRAMS:{BasicFlowchart:{elements:[{id:1,left:300,top:10,properties:{},options:{content:"Start",shape:"circle-pill"}},{id:2,left:300,top:110,properties:{},options:{content:"Step 1",shape:"square-rectangle-sharp"}},{id:3,left:293,top:240,properties:{},options:{content:"Decision",shape:"diamond"}},{id:4,left:500,top:290,properties:{},options:{content:"Step 2",shape:"square-rectangle-sharp"}},{id:5,left:300,top:430,properties:{},options:{content:"End",shape:"circle-pill"}},{id:6,left:800,top:500,properties:{visibility:"hidden"},options:{content:"label",shape:"square-rectangle-sharp"}}],connections:[{elementA:1,elementB:2,properties:{appearance:"connector",decorator:"connector-solid"},options:{anchorA:"vertical",anchorB:"vertical",anchorAposition:"center-bottom",anchorBposition:"center",anchorBoffsetTop:10}},{elementA:2,elementB:3,properties:{appearance:"connector",decorator:"connector-solid"},options:{anchorA:"vertical",anchorB:"vertical"}},{elementA:3,elementB:4,properties:{appearance:"connector",decorator:"connector-solid"},options:{anchorA:"horizontal",anchorB:"horizontal"}},{elementA:4,elementB:2,properties:{appearance:"connector",decorator:"connector-solid"},options:{anchorA:"vertical",anchorB:"horizontal"}},{elementA:3,elementB:5,properties:{appearance:"connector",decorator:"connector-solid"},options:{anchorA:"vertical",anchorB:"vertical"}}]},NetworkDiagram:{elements:[{id:1,left:10,top:40,properties:{backgroundColor:"transparent"},options:{content:"Server",image:"wax/demo/server_02.png"}},{id:2,left:150,top:200,properties:{},options:{content:"6 Port Switch",image:"wax/demo/switch_02.png"}},{id:3,left:300,top:30,properties:{},options:{content:"Router",image:"wax/demo/router_01.png"}},{id:4,left:500,top:170,properties:{},options:{content:"ISP",image:"wax/demo/isp_01.png"}},{id:5,left:750,top:70,properties:{},options:{content:"Cloud",image:"wax/demo/cloud_01.png"}},{id:6,left:50,top:370,properties:{},options:{content:"Printer",image:"wax/demo/printer_02.png"}},{id:7,left:270,top:370,properties:{},options:{content:"Workstation",image:"wax/demo/computer_02.png"}},{id:8,left:520,top:370,properties:{},options:{content:"Workstation",image:"wax/demo/computer_02.png"}},{id:9,left:700,top:400,properties:{visibility:"hidden"},options:{content:"A simple network diagram"}}],connections:[{elementA:1,elementB:2,properties:{appearance:"connector",decorator:"connector-solid"},options:{anchorA:"vertical",anchorB:"horizontal",anchorAposition:"center-bottom",anchorBposition:"left-middle",strokeWidth:6,startArrow:"clippy-arrow",startArrowsize:22,endArrow:"clippy-arrow",endArrowsize:22}},{elementA:2,elementB:3,properties:{appearance:"connector",decorator:"connector-solid"},options:{anchorA:"vertical",anchorB:"horizontal",anchorAposition:"center-top",anchorBposition:"left-middle",startArrow:"clippy-arrow",startArrowsize:42,endArrow:"clippy-arrow",endArrowsize:42}},{elementA:3,elementB:4,properties:{appearance:"connector",decorator:"connector-dashed-large"},options:{anchorA:"horizontal",anchorB:"vertical",anchorAposition:"right-middle",anchorBposition:"center-top",startArrow:"clippy-arrow",startArrowsize:42,endArrow:"clippy-arrow",endArrowsize:42}},{elementA:4,elementB:5,properties:{appearance:"connector",decorator:"connector-dashed-small"},options:{anchorA:"horizontal",anchorB:"horizontal",anchorAposition:"right-middle",anchorBposition:"left-middle",startArrow:"clippy-arrow",startArrowsize:22,endArrow:"clippy-arrow",endArrowsize:22,strokeWidth:4}},{elementA:2,elementB:6,properties:{backgroundColor:"gray"},options:{anchorA:"vertical",anchorB:"vertical",anchorAposition:"center-bottom",strokeWidth:6}},{elementA:2,elementB:7,properties:{backgroundColor:"gray"},options:{anchorA:"vertical",anchorB:"vertical",anchorAposition:"center-bottom",strokeWidth:6}},{elementA:2,elementB:8,properties:{backgroundColor:"gray"},options:{anchorA:"vertical",anchorB:"vertical",anchorAposition:"center-bottom",strokeWidth:6}}]}}}});wax.demo.DiagramData.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MRemoteLayoutHandling",{members:{setLayout:function(e){var t=this.getChildrenContainer();t===this?t._setLayout(e):t.setLayout(e)},getLayout:function(){var e=this.getChildrenContainer();return e===this?e._getLayout():e.getLayout()}}});qx.ui.core.MRemoteLayoutHandling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.event.Registration":{construct:!0},"qx.event.handler.DragDrop":{construct:!0},"qx.ui.core.Widget":{},"qx.core.Init":{},"qx.lang.Object":{},"qx.core.ObjectRegistry":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.core.MResizable",{construct:function(){var e=this.getContentElement();e.addListener("pointerdown",this.__P_75_0,this,!0);e.addListener("pointerup",this.__P_75_1,this);e.addListener("pointermove",this.__P_75_2,this);e.addListener("pointerout",this.__P_75_3,this);e.addListener("losecapture",this.__P_75_4,this);var t=e.getDomElement();null==t&&(t=window);this.__P_75_5=qx.event.Registration.getManager(t).getHandler(qx.event.handler.DragDrop)},properties:{resizableTop:{check:"Boolean",init:!0},resizableRight:{check:"Boolean",init:!0},resizableBottom:{check:"Boolean",init:!0},resizableLeft:{check:"Boolean",init:!0},resizable:{group:["resizableTop","resizableRight","resizableBottom","resizableLeft"],mode:"shorthand"},resizeSensitivity:{check:"Integer",init:5},useResizeFrame:{check:"Boolean",init:!0}},members:{__P_75_5:null,__P_75_6:null,__P_75_7:null,__P_75_8:null,__P_75_9:null,__P_75_10:null,__P_75_11:null,RESIZE_TOP:1,RESIZE_BOTTOM:2,RESIZE_LEFT:4,RESIZE_RIGHT:8,_getResizeFrame:function(){var e=this.__P_75_6;if(!e){(e=this.__P_75_6=new qx.ui.core.Widget).setAppearance("resize-frame");e.exclude();qx.core.Init.getApplication().getRoot().add(e)}return e},__P_75_12:function(){var e=this.getContentLocation(),t=this._getResizeFrame();t.setUserBounds(e.left,e.top,e.right-e.left,e.bottom-e.top);t.show();t.setZIndex(this.getZIndex()+1)},__P_75_13:function(e){var t,n=this.__P_75_7,r=this.getSizeHint(),i=this.__P_75_11,o=this.__P_75_10,s=o.width,a=o.height,u=o.left,l=o.top;if(n&this.RESIZE_TOP||n&this.RESIZE_BOTTOM){t=Math.max(i.top,Math.min(i.bottom,e.getDocumentTop()))-this.__P_75_9;n&this.RESIZE_TOP?a-=t:a+=t;ar.maxHeight&&(a=r.maxHeight);n&this.RESIZE_TOP&&(l+=o.height-a)}if(n&this.RESIZE_LEFT||n&this.RESIZE_RIGHT){t=Math.max(i.left,Math.min(i.right,e.getDocumentLeft()))-this.__P_75_8;n&this.RESIZE_LEFT?s-=t:s+=t;sr.maxWidth&&(s=r.maxWidth);n&this.RESIZE_LEFT&&(u+=o.width-s)}return{viewportLeft:u,viewportTop:l,parentLeft:o.bounds.left+u-o.left,parentTop:o.bounds.top+l-o.top,width:s,height:a}},__P_75_14:{1:"n-resize",2:"s-resize",4:"w-resize",8:"e-resize",5:"nw-resize",6:"sw-resize",9:"ne-resize",10:"se-resize"},__P_75_15:function(e){var t=this.getContentLocation(),n=this.getResizeSensitivity(),r=e.getDocumentLeft(),i=e.getDocumentTop(),o=this.__P_75_16(t,r,i,n);o>0&&(o|=this.__P_75_16(t,r,i,2*n));this.__P_75_7=o},__P_75_16:function(e,t,n,r){var i=0;this.getResizableTop()&&Math.abs(e.top-n)e.left-r&&te.left-r&&te.top-r&&ne.top-r&&n localList["+i+"] callListener");return e.handler.call(o,t)}m("captureList["+n+"] => localList["+i+"] is blacklisted")}),!0);return i===qx.event.Utils.ABORT||t.getPropagationStopped()?qx.event.Utils.reject(p):i}))}));qx.event.Utils.then(p,(function(){t.setEventPhase(qx.event.type.Event.AT_TARGET);t.setCurrentTarget(e);m("targetList="+u.length);return qx.event.Utils.series(u,(function(n,r){m("targetList["+r+"] localList.length="+n.length);var i=qx.event.Utils.series(n,(function(n,i){m("targetList["+r+"] -> localList["+i+"] callListener");o=n.context||e;m("Calling target serial="+f+", type="+t.getType());return n.handler.call(o,t)}),!0);return i===qx.event.Utils.ABORT||t.getPropagationStopped()?qx.event.Utils.reject(p):i}))}));qx.event.Utils.then(p,(function(){t.setEventPhase(qx.event.type.Event.BUBBLING_PHASE);m("bubbleList="+l.length);return qx.event.Utils.series(l,(function(e,n){m("bubbleList["+n+"] localList.length="+e.length);var r=c[n];t.setCurrentTarget(r);var i=qx.event.Utils.series(e,(function(e,i){m("bubbleList["+n+"] -> localList["+i+"] callListener");o=e.context||r;return e.handler.call(o,t)}),!0);return i===qx.event.Utils.ABORT||t.getPropagationStopped()?qx.event.Utils.reject(p):i}))}));false;return p.promise}}});qx.event.dispatch.AbstractBubbling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.dispatch.AbstractBubbling":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.dispatch.DomBubbling",{extend:qx.event.dispatch.AbstractBubbling,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL},members:{_getParent:function(e){return e.parentNode},canDispatchEvent:function(e,t,n){return void 0!==e.nodeType&&t.getBubbles()}},defer:function(e){qx.event.Registration.addDispatcher(e)}});qx.event.dispatch.DomBubbling.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Native":{require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"},"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Dom",{extend:qx.event.type.Native,statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8,CAPSLOCK_MASK:16,NUMLOCK_MASK:32,SCROLLLOCK_MASK:64},members:{_cloneNativeEvent:function(e,t){(t=qx.event.type.Dom.superclass.prototype._cloneNativeEvent.call(this,e,t)).shiftKey=e.shiftKey;t.ctrlKey=e.ctrlKey;t.altKey=e.altKey;t.metaKey=e.metaKey;if("function"==typeof e.getModifierState){t.numLock=e.getModifierState("NumLock");t.capsLock=e.getModifierState("CapsLock");t.scrollLock=e.getModifierState("ScrollLock")}else{t.numLock=!1;t.capsLock=!1;t.scrollLock=!1}return t},getModifiers:function(){var e=0,t=this._native;t.shiftKey&&(e|=qx.event.type.Dom.SHIFT_MASK);t.ctrlKey&&(e|=qx.event.type.Dom.CTRL_MASK);t.altKey&&(e|=qx.event.type.Dom.ALT_MASK);t.metaKey&&(e|=qx.event.type.Dom.META_MASK);return e},getKeyLockState:function(){var e=0,t=this._native;t.capsLock&&(e|=qx.event.type.Dom.CAPSLOCK_MASK);t.numLock&&(e|=qx.event.type.Dom.NUMLOCK_MASK);t.scrollLock&&(e|=qx.event.type.Dom.SCROLLLOCK_MASK);return e},isCtrlPressed:function(){return this._native.ctrlKey},isShiftPressed:function(){return this._native.shiftKey},isAltPressed:function(){return this._native.altKey},isMetaPressed:function(){return this._native.metaKey},isCapsLocked:function(){return this._native.capsLock},isNumLocked:function(){return this._native.numLock},isScrollLocked:function(){return this._native.scrollLock},isCtrlOrCommandPressed:function(){return"osx"==qx.core.Environment.get("os.name")&&"opera"!=qx.core.Environment.get("engine.name")?this._native.metaKey:this._native.ctrlKey}}});qx.event.type.Dom.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Dom":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.Engine":{require:!0},"qx.dom.Node":{},"qx.bom.Viewport":{}},environment:{provided:[],required:{"browser.name":{className:"qx.bom.client.Browser"},"browser.documentmode":{className:"qx.bom.client.Browser"},"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Mouse",{extend:qx.event.type.Dom,members:{_cloneNativeEvent:function(e,t){t=qx.event.type.Mouse.superclass.prototype._cloneNativeEvent.call(this,e,t);switch(e.type){case"mousemove":case"mouseenter":case"mouseleave":case"mouseover":case"mouseout":t.button=-1;break;default:t.button=e.button}t.buttons=e.buttons;t.clientX=Math.round(e.clientX);t.clientY=Math.round(e.clientY);t.pageX=e.pageX?Math.round(e.pageX):void 0;t.pageY=e.pageY?Math.round(e.pageY):void 0;t.screenX=Math.round(e.screenX);t.screenY=Math.round(e.screenY);t.wheelDelta=e.wheelDelta;t.wheelDeltaX=e.wheelDeltaX;t.wheelDeltaY=e.wheelDeltaY;t.delta=e.delta;t.deltaX=e.deltaX;t.deltaY=e.deltaY;t.deltaZ=e.deltaZ;t.detail=e.detail;t.axis=e.axis;t.wheelX=e.wheelX;t.wheelY=e.wheelY;t.HORIZONTAL_AXIS=e.HORIZONTAL_AXIS;t.srcElement=e.srcElement;t.target=e.target;return t},__P_178_0:{0:"left",2:"right",1:"middle"},__P_178_1:{0:"none",1:"left",2:"right",4:"middle"},__P_178_2:{1:"left",2:"right",4:"middle"},stop:function(){this.stopPropagation()},getButton:function(){switch(this._type){case"contextmenu":return"right";case"click":if("ie"===qx.core.Environment.get("browser.name")&&qx.core.Environment.get("browser.documentmode")<9)return"left";default:return"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<=8?this.__P_178_2[this._native.button]||"none":-1===this._native.button?this.__P_178_1[this._native.buttons]||"none":this.__P_178_0[this._native.button]||"none"}},isLeftPressed:function(){return"left"===this.getButton()},isMiddlePressed:function(){return"middle"===this.getButton()},isRightPressed:function(){return"right"===this.getButton()},getRelatedTarget:function(){return this._relatedTarget},getViewportLeft:function(){return Math.round(this._native.clientX)},getViewportTop:function(){return Math.round(this._native.clientY)},getDocumentLeft:function(){if(void 0!==this._native.pageX)return Math.round(this._native.pageX);if(this._native.srcElement){var e=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(e)}return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(window)},getDocumentTop:function(){if(void 0!==this._native.pageY)return Math.round(this._native.pageY);if(this._native.srcElement){var e=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(e)}return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(window)},getScreenLeft:function(){return Math.round(this._native.screenX)},getScreenTop:function(){return Math.round(this._native.screenY)}}});qx.event.type.Mouse.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Mouse":{require:!0},"qx.bom.Event":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Pointer",{extend:qx.event.type.Mouse,members:{_cloneNativeEvent:function(e,t){(t=qx.event.type.Pointer.superclass.prototype._cloneNativeEvent.call(this,e,t)).pointerId=e.pointerId;t.width=e.width;t.height=e.height;t.pressure=e.pressure;t.tiltX=e.tiltX;t.tiltY=e.tiltY;t.pointerType=e.pointerType;t.isPrimary=e.isPrimary;t._original=e._original;t.MSPOINTER_TYPE_MOUSE=e.MSPOINTER_TYPE_MOUSE;t.MSPOINTER_TYPE_PEN=e.MSPOINTER_TYPE_PEN;t.MSPOINTER_TYPE_TOUCH=e.MSPOINTER_TYPE_TOUCH;return t},getDocumentLeft:function(){var e=qx.event.type.Pointer.superclass.prototype.getDocumentLeft.call(this);0==e&&"touch"==this.getPointerType()&&void 0!==this._native._original&&(e=Math.round(this._native._original.changedTouches[0].pageX)||0);return e},getDocumentTop:function(){var e=qx.event.type.Pointer.superclass.prototype.getDocumentTop.call(this);0==e&&"touch"==this.getPointerType()&&void 0!==this._native._original&&(e=Math.round(this._native._original.changedTouches[0].pageY)||0);return e},getPointerId:function(){return this._native.pointerId||0},getWidth:function(){return this._native.width||0},getHeight:function(){return this._native.height||0},getPressure:function(){return this._native.pressure||0},getTiltX:function(){return this._native.tiltX||0},getTiltY:function(){return this._native.tiltY||0},getOriginalTarget:function(){if(this._native&&this._native._original){var e=this._native._original;try{if(0==e.type.indexOf("touch")&&e.changedTouches[0])return document.elementFromPoint(e.changedTouches[0].clientX,e.changedTouches[0].clientY)}catch(e){return qx.bom.Event.getTarget(this._native)}return qx.bom.Event.getTarget(e)}return this._native?qx.bom.Event.getTarget(this._native):qx.event.type.Pointer.superclass.prototype.getOriginalTarget.call(this)},getPointerType:function(){if("string"==typeof this._native.pointerType)return this._native.pointerType;if("number"==typeof this._native.pointerType){if(this._native.pointerType==this._native.MSPOINTER_TYPE_MOUSE)return"mouse";if(this._native.pointerType==this._native.MSPOINTER_TYPE_PEN)return"pen";if(this._native.pointerType==this._native.MSPOINTER_TYPE_TOUCH)return"touch"}return""},isPrimary:function(){return!!this._native.isPrimary}}});qx.event.type.Pointer.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Event":{require:!0},"qx.lang.Object":{}},environment:{provided:[],required:{"event.customevent":{className:"qx.bom.client.Event"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.type.dom.Custom",{extend:Object,statics:{PROPERTIES:{bubbles:!1,cancelable:!0}},construct:function(e,t,n){this._type=e;this._event=this._createEvent();this._initEvent(t,n);this._event._original=t;this._event.preventDefault=function(){if(this._original.preventDefault)this._original.preventDefault();else try{this._original.returnValue=!1}catch(e){}};this._event.stopPropagation&&(this._event._nativeStopPropagation=this._event.stopPropagation);this._event.stopPropagation=function(){this._stopped=!0;if(this._nativeStopPropagation){this._original.stopPropagation();this._nativeStopPropagation()}else this._original.cancelBubble=!0};return this._event},members:{_type:null,_event:null,_createEvent:function(){var e;qx.core.Environment.get("event.customevent")?e=new window.CustomEvent(this._type):"function"==typeof document.createEvent?e=document.createEvent("UIEvents"):"object"==_typeof(document.createEventObject)&&((e={}).type=this._type);return e},_initEvent:function(e,t){t=t||{};var n=qx.lang.Object.clone(qx.event.type.dom.Custom.PROPERTIES);for(var r in t)n[r]=t[r];this._event.initEvent&&this._event.initEvent(this._type,n.bubbles,n.cancelable);for(var r in n)try{this._event[r]=n[r]}catch(e){}}}});qx.event.type.dom.Custom.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.event.type.dom.Custom":{construct:!0,require:!0},"qx.dom.Node":{},"qx.bom.Viewport":{},"qx.bom.client.Event":{require:!0},"qx.bom.client.Engine":{defer:"load",require:!0},"qx.bom.client.OperatingSystem":{defer:"load",require:!0}},environment:{provided:[],required:{"event.mouseevent":{className:"qx.bom.client.Event"},"event.mousecreateevent":{className:"qx.bom.client.Event"},"engine.name":{defer:!0,className:"qx.bom.client.Engine"},"os.name":{defer:!0,className:"qx.bom.client.OperatingSystem"},"os.version":{defer:!0,className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.type.dom.Pointer",{extend:qx.event.type.dom.Custom,statics:{MOUSE_PROPERTIES:["bubbles","cancelable","view","detail","screenX","screenY","clientX","clientY","pageX","pageY","ctrlKey","altKey","shiftKey","metaKey","button","which","relatedTarget","fromElement","toElement"],POINTER_PROPERTIES:{pointerId:1,width:0,height:0,pressure:.5,tiltX:0,tiltY:0,pointerType:"",isPrimary:!1},READONLY_PROPERTIES:[],BIND_METHODS:["getPointerType","getViewportLeft","getViewportTop","getDocumentLeft","getDocumentTop","getScreenLeft","getScreenTop"],getPointerType:function(){if("string"==typeof this.pointerType)return this.pointerType;if("number"==typeof this.pointerType){if(this.pointerType==this.MSPOINTER_TYPE_MOUSE)return"mouse";if(this.pointerType==this.MSPOINTER_TYPE_PEN)return"pen";if(this.pointerType==this.MSPOINTER_TYPE_TOUCH)return"touch"}return""},getViewportLeft:function(){return this.clientX},getViewportTop:function(){return this.clientY},getDocumentLeft:function(){if(void 0!==this.pageX)return this.pageX;var e=qx.dom.Node.getWindow(this.srcElement);return this.clientX+qx.bom.Viewport.getScrollLeft(e)},getDocumentTop:function(){if(void 0!==this.pageY)return this.pageY;var e=qx.dom.Node.getWindow(this.srcElement);return this.clientY+qx.bom.Viewport.getScrollTop(e)},getScreenLeft:function(){return this.screenX},getScreenTop:function(){return this.screenY},normalize:function(e){for(var t=qx.event.type.dom.Pointer.BIND_METHODS,n=0,r=t.length;n=8&&(e.READONLY_PROPERTIES=e.READONLY_PROPERTIES.concat(e.MOUSE_PROPERTIES))}});qx.event.type.dom.Pointer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.bom.client.Event":{require:!0,construct:!0},"qx.bom.client.Device":{require:!0,construct:!0},"qx.core.Environment":{defer:"load",usage:"dynamic",construct:!0,require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.Engine":{construct:!0,require:!0},"qx.bom.client.Browser":{construct:!0,require:!0},"qx.lang.Function":{},"qx.dom.Node":{},"qx.event.Emitter":{},"qx.bom.Event":{},"qx.event.type.dom.Pointer":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.lang.Array":{},"qx.event.Utils":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine",construct:!0},"browser.documentmode":{load:!0,className:"qx.bom.client.Browser",construct:!0},"event.mspointer":{construct:!0,className:"qx.bom.client.Event"},"device.touch":{construct:!0,className:"qx.bom.client.Device"},"os.name":{className:"qx.bom.client.OperatingSystem"},"event.dispatchevent":{className:"qx.bom.client.Event"},"browser.name":{className:"qx.bom.client.Browser"},"browser.version":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.handler.PointerCore",{extend:Object,implement:[qx.core.IDisposable],statics:{MOUSE_TO_POINTER_MAPPING:{mousedown:"pointerdown",mouseup:"pointerup",mousemove:"pointermove",mouseout:"pointerout",mouseover:"pointerover"},TOUCH_TO_POINTER_MAPPING:{touchstart:"pointerdown",touchend:"pointerup",touchmove:"pointermove",touchcancel:"pointercancel"},MSPOINTER_TO_POINTER_MAPPING:{MSPointerDown:"pointerdown",MSPointerMove:"pointermove",MSPointerUp:"pointerup",MSPointerCancel:"pointercancel",MSPointerLeave:"pointerleave",MSPointerEnter:"pointerenter",MSPointerOver:"pointerover",MSPointerOut:"pointerout"},POINTER_TO_GESTURE_MAPPING:{pointerdown:"gesturebegin",pointerup:"gesturefinish",pointercancel:"gesturecancel",pointermove:"gesturemove"},LEFT_BUTTON:"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<=8?1:0,SIM_MOUSE_DISTANCE:25,SIM_MOUSE_DELAY:2500,__P_182_0:null},construct:function(e,t){this.__P_182_1=e;this.__P_182_2=t;this.__P_182_3=[];this.__P_182_4=[];this.__P_182_5=[];this._processedFlag="$$qx"+this.classname.substr(this.classname.lastIndexOf(".")+1)+"Processed";var n=qx.core.Environment.get("engine.name"),r=parseInt(qx.core.Environment.get("browser.documentmode"),10);if("mshtml"==n&&10==r){this.__P_182_3=["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerCancel","MSPointerOver","MSPointerOut","pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout"];this._initPointerObserver()}else{qx.core.Environment.get("event.mspointer")&&(this.__P_182_6=!0);this.__P_182_3=["pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout"];this._initPointerObserver()}if(!qx.core.Environment.get("event.mspointer")){if(qx.core.Environment.get("device.touch")){this.__P_182_3=["touchstart","touchend","touchmove","touchcancel"];this._initObserver(this._onTouchEvent)}this.__P_182_3=["mousedown","mouseup","mousemove","mouseover","mouseout","contextmenu"];this._initObserver(this._onMouseEvent)}},members:{__P_182_1:null,__P_182_2:null,__P_182_3:null,__P_182_6:!1,__P_182_7:null,__P_182_8:0,__P_182_4:null,__P_182_9:null,__P_182_5:null,_processedFlag:null,_initPointerObserver:function(){this._initObserver(this._onPointerEvent)},_initObserver:function(e,t){this.__P_182_7=qx.lang.Function.listener(e,this);this.__P_182_3.forEach(function(e){if(t&&qx.dom.Node.isDocument(this.__P_182_1)){this.__P_182_1.$$emitter||(this.__P_182_1.$$emitter=new qx.event.Emitter);this.__P_182_1.$$emitter.on(e,this.__P_182_7)}else qx.bom.Event.addNativeListener(this.__P_182_1,e,this.__P_182_7)}.bind(this))},_onPointerEvent:function(e){if(qx.core.Environment.get("event.mspointer")&&(10!==qx.core.Environment.get("browser.documentmode")||-1!=e.type.toLowerCase().indexOf("ms"))){this.__P_182_6||e.stopPropagation();var t=qx.event.handler.PointerCore.MSPOINTER_TO_POINTER_MAPPING[e.type]||e.type,n=qx.bom.Event.getTarget(e),r=new qx.event.type.dom.Pointer(t,e);this._fireEvent(r,t,n)}},_onTouchEvent:function(e){if(!e[this._processedFlag]){e[this._processedFlag]=!0;var t=qx.event.handler.PointerCore.TOUCH_TO_POINTER_MAPPING[e.type],n=e.changedTouches;this._determineActiveTouches(e.type,n);if(e.touches.length=0;r--){var i=new qx.event.type.dom.Pointer("pointercancel",e,{identifier:this.__P_182_5[r].identifier,target:e.target,pointerType:"touch",pointerId:this.__P_182_5[r].identifier+2});this._fireEvent(i,"pointercancel",e.target)}this.__P_182_9=null;this.__P_182_5=[]}else{"touchstart"==e.type&&null===this.__P_182_9&&(this.__P_182_9=n[0].identifier);r=0;for(var o=n.length;r1||"mouseup"==e.type&&r>0))if("contextmenu"!=e.type){var s=new qx.event.type.dom.Pointer(t,e,i);this._fireEvent(s,t,n)}else this.__P_182_4[e.which]=0}}},_determineActiveTouches:function(e,t){if("touchstart"==e)for(var n=0;n0){var i=Date.now()-qx.event.handler.GestureCore.DOUBLETAP_TIME;for(var o in this.__P_183_3)if(o=Math.abs(i.y)?"x":"y",a=i[s],u=r.SWIPE_DIRECTION[s][a<0?0:1],l=0!==o?a/o:0;return{startTime:n.startTime,duration:o,axis:s,direction:u,distance:a,velocity:l}},__P_183_19:function(e,t,n){t.delta=this._getDeltaCoordinates(t);this._fireEvent(t,e,t.target||n)},__P_183_25:function(e,t,n){e.delta={x:qx.util.Wheel.getDelta(e,"x")*n,y:qx.util.Wheel.getDelta(e,"y")*n};e.delta.axis=Math.abs(e.delta.x/e.delta.y)<1?"y":"x";e.pointerType="wheel";this._fireEvent(e,"roll",e.target||t)},__P_183_26:function(e){var t=qx.event.handler.GestureCore.ROLL_FACTOR;qx.util.Wheel.IS_TOUCHPAD&&(t=qx.event.handler.GestureCore.TOUCHPAD_ROLL_FACTOR);this.__P_183_16=(new Date).getTime();for(var n=this.__P_183_6.length,r=0;rqx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_THRESHOLD?qx.util.Wheel.IS_TOUCHPAD=!0:qx.util.Wheel.IS_TOUCHPAD=!1;this.__P_183_15=!0},_isTouchPadDetectionEnabled:function(){return"osx"==qx.core.Environment.get("os.name")&&qx.core.Environment.get("os.version")>=10.12},_fireRoll:function(e,t,n){var r,i;if(e.type===qx.core.Environment.get("event.mousewheel").type)if(this._isTouchPadDetectionEnabled()){r=(new Date).getTime();i=qx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_TIMEOUT;if(this.__P_183_16>0&&r-this.__P_183_16>i){this.__P_183_15=!1;this.__P_183_6=[];this.__P_183_16=0}if(!this.__P_183_15){if(0===this.__P_183_6.length){this.__P_183_13=r;qx.event.Timer.once((function(){if(!this.__P_183_15){this.__P_183_27();this.__P_183_26(n)}}),this,qx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_PERIOD+50)}this.__P_183_6.push(e);this.__P_183_14++;r-this.__P_183_13>qx.event.handler.GestureCore.TOUCHPAD_WHEEL_EVENTS_PERIOD&&this.__P_183_27()}if(this.__P_183_15){0===this.__P_183_6.length&&this.__P_183_6.push(e);this.__P_183_26(n)}}else this.__P_183_25(e,n,qx.event.handler.GestureCore.ROLL_FACTOR);else{var o=this.__P_183_2[e.pointerId];e.delta={x:-o.velocityX,y:-o.velocityY,axis:Math.abs(o.velocityX/o.velocityY)<1?"y":"x"};this._fireEvent(e,"roll",e.target||n)}},__P_183_20:function(e,t){if(!e.isPrimary){var n=this._calcAngle();e.angle=Math.round((n-this.__P_183_10)%360);this._fireEvent(e,"rotate",this.__P_183_8)}},__P_183_21:function(e,t){if(!e.isPrimary){var n=this._calcDistance()/this.__P_183_12;e.scale=Math.round(100*n)/100;this._fireEvent(e,"pinch",this.__P_183_8)}},__P_183_18:function(e,t){var n=this.__P_183_2[e.pointerId];if(n){this._fireEvent(e,"longtap",e.target||t);n.longTapTimer=null;n.isTap=!1}},__P_183_17:function(e){if(e.longTapTimer){window.clearTimeout(e.longTapTimer);e.longTapTimer=null}},dispose:function(){for(var e in this.__P_183_2)this.__P_183_17(e);this._stopObserver();this.__P_183_0=this.__P_183_1=null}}});qx.event.handler.GestureCore.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Tap",{extend:qx.event.type.Pointer});qx.event.type.Tap.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Swipe",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(e,t){(t=qx.event.type.Swipe.superclass.prototype._cloneNativeEvent.call(this,e,t)).swipe=e.swipe;return t},getStartTime:function(){return this._native.swipe.startTime},getDuration:function(){return this._native.swipe.duration},getAxis:function(){return this._native.swipe.axis},getDirection:function(){return this._native.swipe.direction},getVelocity:function(){return this._native.swipe.velocity},getDistance:function(){return this._native.swipe.distance}}});qx.event.type.Swipe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Rotate",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(e,t){(t=qx.event.type.Rotate.superclass.prototype._cloneNativeEvent.call(this,e,t)).angle=e.angle;return t},getAngle:function(){return this._native.angle}}});qx.event.type.Rotate.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Pinch",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(e,t){(t=qx.event.type.Pinch.superclass.prototype._cloneNativeEvent.call(this,e,t)).scale=e.scale;return t},getScale:function(){return this._native.scale}}});qx.event.type.Pinch.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Track",{extend:qx.event.type.Pointer,members:{_cloneNativeEvent:function(e,t){(t=qx.event.type.Track.superclass.prototype._cloneNativeEvent.call(this,e,t)).delta=e.delta;return t},getDelta:function(){return this._native.delta}}});qx.event.type.Track.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Pointer":{require:!0},"qx.event.Registration":{},"qx.event.handler.Gesture":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Roll",{extend:qx.event.type.Pointer,members:{stop:function(){this.stopPropagation();this.preventDefault()},_cloneNativeEvent:function(e,t){(t=qx.event.type.Roll.superclass.prototype._cloneNativeEvent.call(this,e,t)).delta=e.delta;t.momentum=e.momentum;t.timeoutId=e.timeoutId;return t},getMomentum:function(){return this._native.momentum},stopMomentum:function(){this._native.timeoutId&&qx.event.Registration.getManager(this._originalTarget).getHandler(qx.event.handler.Gesture).stopMomentum(this._native.timeoutId)},getDelta:function(){return this._native.delta}}});qx.event.type.Roll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Pointer":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.handler.GestureCore":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.event.type.Tap":{require:!0},"qx.event.type.Swipe":{require:!0},"qx.event.type.Rotate":{require:!0},"qx.event.type.Pinch":{require:!0},"qx.event.type.Track":{require:!0},"qx.event.type.Roll":{require:!0},"qx.lang.Function":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.Event":{},"qx.bom.client.Event":{},"qx.event.type.Pointer":{},"qx.event.type.Data":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Gesture",{extend:qx.event.handler.GestureCore,implement:[qx.event.IEventHandler,qx.core.IDisposable],statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{tap:1,swipe:1,longtap:1,dbltap:1,rotate:1,pinch:1,track:1,trackstart:1,trackend:1,roll:1},GESTURE_EVENTS:["gesturebegin","gesturefinish","gesturemove","gesturecancel"],TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT,IGNORE_CAN_HANDLE:!0,EVENT_CLASSES:{tap:qx.event.type.Tap,longtap:qx.event.type.Tap,dbltap:qx.event.type.Tap,swipe:qx.event.type.Swipe,rotate:qx.event.type.Rotate,pinch:qx.event.type.Pinch,track:qx.event.type.Track,trackstart:qx.event.type.Track,trackend:qx.event.type.Track,roll:qx.event.type.Roll}},construct:function(e){this.__P_151_0=e;this.__P_151_1=e.getWindow();this.__P_151_2=this.__P_151_1.document;qx.event.handler.GestureCore.apply(this,[this.__P_151_2])},members:{__P_151_0:null,__P_151_1:null,__P_151_2:null,__P_151_3:null,__P_151_4:null,__P_151_5:null,getWindow:function(){return this.__P_151_1},canHandleEvent:function(e,t){},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){},_initObserver:function(){this.__P_151_3=qx.lang.Function.listener(this.checkAndFireGesture,this);qx.event.handler.Gesture.GESTURE_EVENTS.forEach(function(e){qx.event.Registration.addListener(this.__P_151_2,e,this.__P_151_3,this)}.bind(this));if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9){this.__P_151_4=qx.lang.Function.listener(this._onDblClick,this);qx.bom.Event.addNativeListener(this.__P_151_2,"dblclick",this.__P_151_4)}var e=qx.bom.client.Event.getMouseWheel(this.__P_151_1);this.__P_151_5=qx.lang.Function.listener(this._fireRoll,this);qx.bom.Event.addNativeListener(e.target,e.type,this.__P_151_5,!0,!1)},checkAndFireGesture:function(e,t,n){this.__P_151_6("checkAndFireGesture",[e.getNativeEvent(),e.getType(),e.getTarget()])},_stopObserver:function(){qx.event.handler.Gesture.GESTURE_EVENTS.forEach(function(e){qx.event.Registration.removeListener(this.__P_151_2,e,this.__P_151_3)}.bind(this));"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9&&qx.bom.Event.removeNativeListener(this.__P_151_2,"dblclick",this.__P_151_4);var e=qx.bom.client.Event.getMouseWheel(this.__P_151_1);qx.bom.Event.removeNativeListener(e.target,e.type,this.__P_151_5)},_hasIntermediaryHandler:function(e){return!1},_fireEvent:function(e,t,n){n||(n=qx.bom.Event.getTarget(e));t||(t=e.type);var r=qx.event.handler.Gesture.EVENT_CLASSES[t]||qx.event.type.Pointer;n&&n.nodeType&&qx.event.Registration.fireEvent(n,t,r,[e,n,null,!0,!0]);qx.event.Registration.fireEvent(this.__P_151_1,"useraction",qx.event.type.Data,[t])},dispose:function(){this._stopObserver();this.__P_151_6("dispose");this.__P_151_0=this.__P_151_1=this.__P_151_2=this.__P_151_4=null},__P_151_6:function(e,t){qx.event.handler.GestureCore.prototype[e].apply(this,t||[])}},defer:function(e){qx.event.Registration.addHandler(e);qx.event.Registration.addListener(window,"appinitialized",(function(){qx.event.Registration.getManager(document).getHandler(e)}))}});qx.event.handler.Gesture.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.UserAction":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",construct:!0,usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.Engine":{construct:!0,defer:"load",require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.event.type.KeyInput":{},"qx.event.Utils":{},"qx.event.type.Data":{},"qx.event.type.KeySequence":{},"qx.bom.client.Browser":{require:!0},"qx.event.util.Keyboard":{},"qx.event.handler.Focus":{},"qx.lang.Function":{},"qx.bom.Event":{},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.core.ObjectRegistry":{}},environment:{provided:[],required:{"engine.name":{construct:!0,className:"qx.bom.client.Engine",load:!0,defer:!0},"browser.version":{className:"qx.bom.client.Browser",load:!0},"engine.version":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Keyboard",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this.__P_145_0=e;this.__P_145_1=e.getWindow();"gecko"==qx.core.Environment.get("engine.name")?this.__P_145_2=this.__P_145_1:this.__P_145_2=this.__P_145_1.document.documentElement;this.__P_145_3={};this._initKeyObserver()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{keyup:1,keydown:1,keypress:1,keyinput:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!0},members:{__P_145_4:null,__P_145_0:null,__P_145_1:null,__P_145_2:null,__P_145_3:null,__P_145_5:null,__P_145_6:null,__P_145_7:null,canHandleEvent:function(e,t){},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){},_fireInputEvent:function(e,t){var n=this.__P_145_8(),r={},i=this;if(n&&0!=n.offsetWidth){var o=qx.event.Registration.createEvent("keyinput",qx.event.type.KeyInput,[e,n,t]);qx.event.Utils.then(r,(function(){i.__P_145_0.dispatchEvent(n,o)}))}if(this.__P_145_1){i=this;qx.event.Utils.then(r,(function(){return qx.event.Registration.fireEvent(i.__P_145_1,"useraction",qx.event.type.Data,["keyinput"])}))}return r.promise},_fireSequenceEvent:function(e,t,n){var r=this.__P_145_8(),i=e.keyCode,o={},s=this,a=qx.event.Registration.createEvent(t,qx.event.type.KeySequence,[e,r,n]);qx.event.Utils.then(o,(function(){return s.__P_145_0.dispatchEvent(r,a)}));a.getDefaultPrevented()&&"keydown"==t&&("mshtml"==qx.core.Environment.get("engine.name")||"webkit"==qx.core.Environment.get("engine.name")||"gecko"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.version")>=29)&&(qx.event.util.Keyboard.isNonPrintableKeyCode(i)||this._emulateKeyPress[i]||qx.event.Utils.then(o,(function(){return s._fireSequenceEvent(e,"keypress",n)})));this.__P_145_1&&qx.event.Utils.then(o,(function(){return qx.event.Registration.fireEvent(s.__P_145_1,"useraction",qx.event.type.Data,[t])}));return o.promise},__P_145_8:function(){var e=this.__P_145_0.getHandler(qx.event.handler.Focus),t=e.getActive();t&&0!=t.offsetWidth||(t=e.getFocus());t&&0!=t.offsetWidth||(t=this.__P_145_0.getWindow().document.body);return t},_initKeyObserver:function(){this.__P_145_4=qx.lang.Function.listener(this.__P_145_9,this);this.__P_145_7=qx.lang.Function.listener(this.__P_145_10,this);var e=qx.bom.Event;e.addNativeListener(this.__P_145_2,"keyup",this.__P_145_4);e.addNativeListener(this.__P_145_2,"keydown",this.__P_145_4);e.addNativeListener(this.__P_145_2,"keypress",this.__P_145_7)},_stopKeyObserver:function(){var e=qx.bom.Event;e.removeNativeListener(this.__P_145_2,"keyup",this.__P_145_4);e.removeNativeListener(this.__P_145_2,"keydown",this.__P_145_4);e.removeNativeListener(this.__P_145_2,"keypress",this.__P_145_7);for(var t in this.__P_145_6||{}){var n=this.__P_145_6[t];e.removeNativeListener(n.target,"keypress",n.callback)}delete this.__P_145_6},__P_145_9:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{"gecko|webkit|mshtml":function(e){var t,n=e.type;t=e.keyCode;var r={},i=this;qx.event.Utils.track(r,this._idealKeyHandler(t,0,n,e));if("keydown"==n){var o=e.ctrlKey||e.altKey||e.metaKey;(qx.event.util.Keyboard.isNonPrintableKeyCode(t)||this._emulateKeyPress[t]||o)&&qx.event.Utils.then(r,(function(){return i._idealKeyHandler(t,0,"keypress",e)}))}this.__P_145_3[t]=n;return r.promise},opera:function(e){this.__P_145_5=e.keyCode;return this._idealKeyHandler(e.keyCode,0,e.type,e)}})),__P_145_11:qx.core.Environment.select("engine.name",{gecko:function(e,t,n){if("keydown"===t&&(33==n||34==n||38==n||40==n)&&"text"==e.type&&"input"===e.tagName.toLowerCase()&&"off"!==e.getAttribute("autoComplete")){this.__P_145_6||(this.__P_145_6={});var r=qx.core.ObjectRegistry.toHashCode(e);if(this.__P_145_6[r])return;var i=this;this.__P_145_6[r]={target:e,callback:function(e){qx.bom.Event.stopPropagation(e);i.__P_145_10(e)}};var o=qx.event.GlobalError.observeMethod(this.__P_145_6[r].callback);qx.bom.Event.addNativeListener(e,"keypress",o)}},default:null}),__P_145_10:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml:function(e){e=window.event||e;return this._charCode2KeyCode[e.keyCode]?this._idealKeyHandler(this._charCode2KeyCode[e.keyCode],0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)},gecko:function(e){if(qx.core.Environment.get("engine.version")<66){var t=e.charCode,n=e.type;return this._idealKeyHandler(e.keyCode,t,n,e)}return this._charCode2KeyCode[e.keyCode]?this._idealKeyHandler(this._charCode2KeyCode[e.keyCode],0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)},webkit:function(e){return this._charCode2KeyCode[e.keyCode]?this._idealKeyHandler(this._charCode2KeyCode[e.keyCode],0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)},opera:function(e){var t=e.keyCode,n=e.type;return t!=this.__P_145_5?this._idealKeyHandler(0,this.__P_145_5,n,e):qx.event.util.Keyboard.keyCodeToIdentifierMap[e.keyCode]?this._idealKeyHandler(e.keyCode,0,e.type,e):this._idealKeyHandler(0,e.keyCode,e.type,e)}})),_idealKeyHandler:function(e,t,n,r){var i;if(e||!e&&!t){i=qx.event.util.Keyboard.keyCodeToIdentifier(e);return this._fireSequenceEvent(r,n,i)}i=qx.event.util.Keyboard.charCodeToIdentifier(t);var o={},s=this;qx.event.Utils.track(o,this._fireSequenceEvent(r,"keypress",i));return qx.event.Utils.then(o,(function(){return s._fireInputEvent(r,t)}))},_emulateKeyPress:qx.core.Environment.select("engine.name",{mshtml:{8:!0,9:!0},webkit:{8:!0,9:!0,27:!0},gecko:qx.core.Environment.get("browser.version")>=65?{8:!0,9:!0,27:!0}:{},default:{}}),_identifierToKeyCode:function(e){return qx.event.util.Keyboard.identifierToKeyCodeMap[e]||e.charCodeAt(0)}},destruct:function(){this._stopKeyObserver();this.__P_145_5=this.__P_145_0=this.__P_145_1=this.__P_145_2=this.__P_145_3=null},defer:function(e,t){qx.event.Registration.addHandler(e);"opera"!==qx.core.Environment.get("engine.name")&&(t._charCode2KeyCode={13:13,27:27})}});qx.event.handler.Keyboard.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.event.IEventHandler":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Capture",{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{capture:!0,losecapture:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!0},members:{canHandleEvent:function(e,t){},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){}},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Capture.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Gesture":{require:!0,defer:"runtime"},"qx.event.handler.Keyboard":{require:!0,defer:"runtime"},"qx.event.handler.Capture":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{construct:!0,defer:"runtime",require:!0},"qx.ui.core.Widget":{},"qx.event.Utils":{},"qx.Promise":{},"qx.event.type.Drag":{},"qx.ui.core.DragDropCursor":{},"qx.bom.element.Style":{}},environment:{provided:[],required:{"qx.promise":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.DragDrop",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this.__P_85_0=e;this.__P_85_1=e.getWindow().document.documentElement;this.__P_85_0.addListener(this.__P_85_1,"longtap",this._onLongtap,this);this.__P_85_0.addListener(this.__P_85_1,"pointerdown",this._onPointerdown,this,!0);qx.event.Registration.addListener(window,"blur",this._onWindowBlur,this);this.__P_85_2()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{dragstart:1,dragend:1,dragover:1,dragleave:1,drop:1,drag:1,dragchange:1,droprequest:1},IGNORE_CAN_HANDLE:!0,ALLOWED_BUTTONS:["left"],MIN_DRAG_DISTANCE:5},properties:{cursor:{check:"qx.ui.core.Widget",nullable:!0,init:null}},members:{__P_85_0:null,__P_85_1:null,__P_85_3:null,__P_85_4:null,__P_85_5:null,__P_85_6:null,__P_85_7:null,__P_85_8:null,__P_85_9:null,__P_85_10:null,__P_85_11:!1,__P_85_12:!1,__P_85_13:!1,__P_85_14:null,__P_85_15:null,canHandleEvent:function(e,t){},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){},addType:function(e){this.__P_85_5[e]=!0},addAction:function(e){this.__P_85_6[e]=!0},supportsType:function(e){return!!this.__P_85_5[e]},supportsAction:function(e){return!!this.__P_85_6[e]},setDropAllowed:function(e){this.__P_85_12=e;this.__P_85_16()},getData:function(e){if(!this.__P_85_12||!this.__P_85_3)throw new Error("This method must not be used outside the drop event listener!");if(!this.__P_85_5[e])throw new Error("Unsupported data type: "+e+"!");if(!this.__P_85_8[e]){this.__P_85_9=e;this.__P_85_17("droprequest",this.__P_85_4,this.__P_85_3,!1,!1)}if(!this.__P_85_8[e])throw new Error("Please use a droprequest listener to the drag source to fill the manager with data!");return this.__P_85_8[e]||null},getDataAsync:function(e){if(!this.__P_85_12||!this.__P_85_3)throw new Error("This method must not be used outside the drop event listener!");if(!this.__P_85_5[e])throw new Error("Unsupported data type: "+e+"!");var t={},n=this;this.__P_85_8[e]||qx.event.Utils.then(t,(function(){n.__P_85_9=e;return n.__P_85_17("droprequest",n.__P_85_4,n.__P_85_3,!1)}));return qx.event.Utils.then(t,(function(){if(!this.__P_85_8[e])throw new Error("Please use a droprequest listener to the drag source to fill the manager with data!");return this.__P_85_8[e]||null}))},getCurrentAction:function(){this.__P_85_16();return this.__P_85_10},getCurrentActionAsync:qx.core.Environment.select("qx.promise",{true:function(){var e=this;return qx.Promise.resolve(e.__P_85_16()).then((function(){return e.__P_85_10}))},false:function(){throw new Error(this.classname+".getCurrentActionAsync not supported because qx.promise==false")}}),getDragTarget:function(){return this.__P_85_14},addData:function(e,t){this.__P_85_8[e]=t},getCurrentType:function(){return this.__P_85_9},isSessionActive:function(){return this.__P_85_11},__P_85_2:function(){this.__P_85_5={};this.__P_85_6={};this.__P_85_7={};this.__P_85_8={}},__P_85_16:function(){if(null==this.__P_85_4)return qx.Promise.reject();var e=this.__P_85_6,t=this.__P_85_7,n=null;this.__P_85_12&&(t.Shift&&t.Control&&e.alias?n="alias":t.Shift&&t.Alt&&e.copy?n="copy":t.Shift&&e.move?n="move":t.Alt&&e.alias?n="alias":t.Control&&e.copy?n="copy":e.move?n="move":e.copy?n="copy":e.alias&&(n="alias"));var r=this,i={},o=this.__P_85_10;if(n!=o&&this.__P_85_3){qx.event.Utils.catch((function(){r.__P_85_13=!1;n=null}));qx.event.Utils.then(i,(function(){r.__P_85_10=n;return r.__P_85_17("dragchange",r.__P_85_3,r.__P_85_4,!0)}));qx.event.Utils.then(i,(function(e){r.__P_85_13=e;e||(n=null)}))}return qx.event.Utils.then(i,(function(){if(n!=o){r.__P_85_10=n;return r.__P_85_17("dragchange",r.__P_85_4,r.__P_85_3,!1)}}))},__P_85_17:function(e,t,n,r,i,o){var s=qx.event.Registration,a=s.createEvent(e,qx.event.type.Drag,[r,i]);t!==n&&a.setRelatedTarget(n);var u=s.dispatchEvent(t,a);return void 0===o||o?qx.Promise.resolve(u).then((function(){return!a.getDefaultPrevented()})):u},__P_85_18:function(e){for(;e&&1==e.nodeType;){if("on"==e.getAttribute("qxDraggable"))return e;e=e.parentNode}return null},__P_85_19:function(e){for(;e&&1==e.nodeType;){if("on"==e.getAttribute("qxDroppable"))return e;e=e.parentNode}return null},clearSession:function(){this.__P_85_0.removeListener(this.__P_85_1,"pointermove",this._onPointermove,this);this.__P_85_0.removeListener(this.__P_85_1,"pointerup",this._onPointerup,this,!0);this.__P_85_0.removeListener(this.__P_85_1,"keydown",this._onKeyDown,this,!0);this.__P_85_0.removeListener(this.__P_85_1,"keyup",this._onKeyUp,this,!0);this.__P_85_0.removeListener(this.__P_85_1,"keypress",this._onKeyPress,this,!0);this.__P_85_0.removeListener(this.__P_85_1,"roll",this._onRoll,this,!0);var e={},t=this;this.__P_85_4&&qx.event.Utils.then(e,(function(){return t.__P_85_17("dragend",t.__P_85_4,t.__P_85_3,!1)}));return qx.event.Utils.then(e,(function(){t.__P_85_12=!1;t.__P_85_3=null;if(t.__P_85_14){t.__P_85_14.removeState("drag");t.__P_85_14=null}t.__P_85_4=null;t.__P_85_11=!1;t.__P_85_15=null;t.__P_85_2()}))},_onLongtap:function(e){if("touch"==e.getPointerType()){this.__P_85_0.addListener(this.__P_85_1,"roll",this._onRoll,this,!0);return this._start(e)}},_start:function(e){var t=-1!==qx.event.handler.DragDrop.ALLOWED_BUTTONS.indexOf(e.getButton());if(!e.isPrimary()||!t)return!1;var n=this.__P_85_15?this.__P_85_15.target:e.getTarget(),r=this.__P_85_18(n);if(r){this.__P_85_4=r;for(var i=qx.ui.core.Widget.getWidgetByElement(this.__P_85_15.original);i&&i.isAnonymous();)i=i.getLayoutParent();if(i){this.__P_85_14=i;i.addState("drag")}var o=this,s={};qx.event.Utils.catch((function(){o.__P_85_11=!1}));qx.event.Utils.then(s,(function(){return o.__P_85_17("dragstart",o.__P_85_4,o.__P_85_3,!0,e)}));return qx.event.Utils.then(s,(function(e){if(e){o.__P_85_0.addListener(o.__P_85_1,"keydown",o._onKeyDown,o,!0);o.__P_85_0.addListener(o.__P_85_1,"keyup",o._onKeyUp,o,!0);o.__P_85_0.addListener(o.__P_85_1,"keypress",o._onKeyPress,o,!0);o.__P_85_11=!0}}))}},_onPointerdown:function(e){if(e.isPrimary()){this.__P_85_15={target:e.getTarget(),original:e.getOriginalTarget(),left:e.getDocumentLeft(),top:e.getDocumentTop()};this.__P_85_0.addListener(this.__P_85_1,"pointermove",this._onPointermove,this);this.__P_85_0.addListener(this.__P_85_1,"pointerup",this._onPointerup,this,!0)}},_onPointermove:function(e){if(e.isPrimary()){var t=this,n={};qx.event.Utils.catch((function(){return t.clearSession()}));if(!t.__P_85_11&&"mouse"==e.getPointerType()){var r=t._getDelta(e),i=qx.event.handler.DragDrop.MIN_DRAG_DISTANCE;r&&(Math.abs(r.x)>i||Math.abs(r.y)>i)&&qx.event.Utils.then(n,(function(){return t._start(e)}))}return qx.event.Utils.then(n,(function(){if(t.__P_85_11){var n={};qx.event.Utils.then(n,(function(){return t.__P_85_17("drag",t.__P_85_4,t.__P_85_3,!0,e)}));qx.event.Utils.then(n,(function(n){n||this.clearSession();var r=e.getTarget();t.__P_85_15.target===r&&(r=e.getNativeEvent().view.document.elementFromPoint(e.getDocumentLeft(),e.getDocumentTop()));var i=t.getCursor();i||(i=qx.ui.core.DragDropCursor.getInstance());var o=i.getContentElement().getDomElement();if(o&&(r===o||o.contains(r))){var s=qx.bom.element.Style.get(o,"display");qx.bom.element.Style.set(o,"display","none");r=e.getNativeEvent().view.document.elementFromPoint(e.getDocumentLeft(),e.getDocumentTop());qx.bom.element.Style.set(o,"display",s)}if(r!==o){var a=t.__P_85_19(r);if(a&&a!=t.__P_85_3){var u=t.__P_85_3;t.__P_85_12=!0;t.__P_85_3=a;var l={};qx.event.Utils.catch(l,(function(){t.__P_85_3=null;t.__P_85_12=!1}));u&&qx.event.Utils.then(l,(function(){return t.__P_85_17("dragleave",u,t.__P_85_4,!1,e)}));qx.event.Utils.then(l,(function(){return t.__P_85_17("dragover",a,t.__P_85_4,!0,e)}));return qx.event.Utils.then(l,(function(e){t.__P_85_12=e}))}if(!a&&t.__P_85_3){l={};qx.event.Utils.then(l,(function(){return t.__P_85_17("dragleave",t.__P_85_3,t.__P_85_4,!1,e)}));return qx.event.Utils.then(l,(function(){t.__P_85_3=null;t.__P_85_12=!1;return t.__P_85_16()}))}}}));return qx.event.Utils.then(n,(function(){var n=t.__P_85_7;n.Control=e.isCtrlPressed();n.Shift=e.isShiftPressed();n.Alt=e.isAltPressed();return t.__P_85_16()}))}}))}},_getDelta:function(e){return this.__P_85_15?{x:e.getDocumentLeft()-this.__P_85_15.left,y:e.getDocumentTop()-this.__P_85_15.top}:null},_onPointerup:function(e){if(e.isPrimary()){var t={},n=this;this.__P_85_12&&this.__P_85_13&&qx.event.Utils.then(t,(function(){return n.__P_85_17("drop",n.__P_85_3,n.__P_85_4,!1,e)}));return qx.event.Utils.then(t,(function(){e.getTarget()==n.__P_85_4&&e.stopPropagation();return n.clearSession()}))}},_onRoll:function(e){e.stop()},_onWindowBlur:function(e){return this.clearSession()},_onKeyDown:function(e){var t=e.getKeyIdentifier();switch(t){case"Alt":case"Control":case"Shift":if(!this.__P_85_7[t]){this.__P_85_7[t]=!0;return this.__P_85_16()}}},_onKeyUp:function(e){var t=e.getKeyIdentifier();switch(t){case"Alt":case"Control":case"Shift":if(this.__P_85_7[t]){this.__P_85_7[t]=!1;return this.__P_85_16()}}},_onKeyPress:function(e){if("Escape"===e.getKeyIdentifier())return this.clearSession()}},destruct:function(){qx.event.Registration.removeListener(window,"blur",this._onWindowBlur,this);this.__P_85_4=this.__P_85_3=this.__P_85_0=this.__P_85_1=this.__P_85_5=this.__P_85_6=this.__P_85_7=this.__P_85_8=null},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.DragDrop.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.core.MRemoteChildrenHandling":{require:!0},"qx.ui.core.MRemoteLayoutHandling":{require:!0},"qx.ui.core.MResizable":{require:!0},"qx.ui.core.MMovable":{require:!0},"qx.ui.core.MContentPadding":{require:!0},"qx.ui.layout.VBox":{construct:!0},"qx.core.Init":{construct:!0},"qx.ui.core.FocusHandler":{construct:!0},"qx.ui.window.Manager":{require:!0},"qx.ui.container.Composite":{},"qx.ui.layout.HBox":{},"qx.ui.basic.Label":{},"qx.ui.layout.Grid":{},"qx.ui.basic.Image":{},"qx.ui.form.Button":{},"qx.event.type.Event":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.window.Window",{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling,qx.ui.core.MResizable,qx.ui.core.MMovable,qx.ui.core.MContentPadding],construct:function(e,t){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.layout.VBox);this._createChildControl("captionbar");this._createChildControl("pane");null!=t&&this.setIcon(t);null!=e&&this.setCaption(e);this._updateCaptionBar();this.addListener("pointerdown",this._onWindowPointerDown,this,!0);this.addListener("focusout",this._onWindowFocusOut,this);qx.core.Init.getApplication().getRoot().add(this);this.initVisibility();this.initActive();this.initModal();qx.ui.core.FocusHandler.getInstance().addRoot(this);this._getResizeFrame().setAppearance("window-resize-frame");this.getContentElement().setAttribute("role","dialog");this.addAriaLabelledBy(this.getChildControl("title"));this.addAriaDescribedBy(this.getChildControl("statusbar-text"))},statics:{DEFAULT_MANAGER_CLASS:qx.ui.window.Manager},events:{beforeClose:"qx.event.type.Event",close:"qx.event.type.Event",beforeMinimize:"qx.event.type.Event",minimize:"qx.event.type.Event",beforeMaximize:"qx.event.type.Event",maximize:"qx.event.type.Event",beforeRestore:"qx.event.type.Event",restore:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"window"},visibility:{refine:!0,init:"excluded"},focusable:{refine:!0,init:!0},active:{check:"Boolean",init:!1,apply:"_applyActive",event:"changeActive"},alwaysOnTop:{check:"Boolean",init:!1,event:"changeAlwaysOnTop"},modal:{check:"Boolean",init:!1,event:"changeModal",apply:"_applyModal"},caption:{apply:"_applyCaptionBarChange",event:"changeCaption",nullable:!0},icon:{check:"String",nullable:!0,apply:"_applyCaptionBarChange",event:"changeIcon",themeable:!0},status:{check:"String",nullable:!0,apply:"_applyStatus",event:"changeStatus"},showClose:{check:"Boolean",init:!0,apply:"_applyCaptionBarChange",themeable:!0},showMaximize:{check:"Boolean",init:!0,apply:"_applyCaptionBarChange",themeable:!0},showMinimize:{check:"Boolean",init:!0,apply:"_applyCaptionBarChange",themeable:!0},allowClose:{check:"Boolean",init:!0,apply:"_applyCaptionBarChange"},allowMaximize:{check:"Boolean",init:!0,apply:"_applyCaptionBarChange"},allowMinimize:{check:"Boolean",init:!0,apply:"_applyCaptionBarChange"},showStatusbar:{check:"Boolean",init:!1,apply:"_applyShowStatusbar"},centerOnAppear:{init:!1,check:"Boolean",apply:"_applyCenterOnAppear"},centerOnContainerResize:{init:!1,check:"Boolean",apply:"_applyCenterOnContainerResize"},autoDestroy:{check:"Boolean",init:!1}},members:{__P_21_0:null,__P_21_1:null,__P_21_2:null,__P_21_3:null,getChildrenContainer:function(){return this.getChildControl("pane")},_forwardStates:{active:!0,maximized:!0,showStatusbar:!0,modal:!0},setLayoutParent:function(e){var t;if((t=this.getLayoutParent())&&this.__P_21_3){t.removeListenerById(this.__P_21_3);this.__P_21_3=null}qx.ui.window.Window.superclass.prototype.setLayoutParent.call(this,e);e&&this.getCenterOnContainerResize()&&(this.__P_21_3=e.addListener("resize",this.center,this))},_createChildControlImpl:function(e,t){var n;switch(e){case"statusbar":n=new qx.ui.container.Composite(new qx.ui.layout.HBox);this._add(n);n.add(this.getChildControl("statusbar-text"));break;case"statusbar-text":(n=new qx.ui.basic.Label).setValue(this.getStatus());break;case"pane":n=new qx.ui.container.Composite;this._add(n,{flex:1});break;case"captionbar":var r=new qx.ui.layout.Grid;r.setRowFlex(0,1);r.setColumnFlex(1,1);n=new qx.ui.container.Composite(r);this._add(n);n.addListener("dbltap",this._onCaptionPointerDblTap,this);this._activateMoveHandle(n);break;case"icon":n=new qx.ui.basic.Image(this.getIcon());this.getChildControl("captionbar").add(n,{row:0,column:0});break;case"title":(n=new qx.ui.basic.Label(this.getCaption())).setWidth(0);n.setAllowGrowX(!0);this.getChildControl("captionbar").add(n,{row:0,column:1});break;case"minimize-button":(n=new qx.ui.form.Button).setFocusable(!1);n.addListener("execute",this._onMinimizeButtonTap,this);this.getChildControl("captionbar").add(n,{row:0,column:2});break;case"restore-button":(n=new qx.ui.form.Button).setFocusable(!1);n.addListener("execute",this._onRestoreButtonTap,this);this.getChildControl("captionbar").add(n,{row:0,column:3});break;case"maximize-button":(n=new qx.ui.form.Button).setFocusable(!1);n.addListener("execute",this._onMaximizeButtonTap,this);this.getChildControl("captionbar").add(n,{row:0,column:4});break;case"close-button":(n=new qx.ui.form.Button).setFocusable(!1);n.addListener("execute",this._onCloseButtonTap,this);this.getChildControl("captionbar").add(n,{row:0,column:6})}return n||qx.ui.window.Window.superclass.prototype._createChildControlImpl.call(this,e)},_updateCaptionBar:function(){var e,t=this.getIcon();if(t){this.getChildControl("icon").setSource(t);this._showChildControl("icon")}else this._excludeChildControl("icon");var n=this.getCaption();if(n){this.getChildControl("title").setValue(n);this._showChildControl("title")}else this._excludeChildControl("title");if(this.getShowMinimize()){this._showChildControl("minimize-button");e=this.getChildControl("minimize-button");this.getAllowMinimize()?e.resetEnabled():e.setEnabled(!1)}else this._excludeChildControl("minimize-button");if(this.getShowMaximize()){if(this.isMaximized()){this._showChildControl("restore-button");this._excludeChildControl("maximize-button")}else{this._showChildControl("maximize-button");this._excludeChildControl("restore-button")}e=this.getChildControl("maximize-button");this.getAllowMaximize()?e.resetEnabled():e.setEnabled(!1)}else{this._excludeChildControl("maximize-button");this._excludeChildControl("restore-button")}if(this.getShowClose()){this._showChildControl("close-button");e=this.getChildControl("close-button");this.getAllowClose()?e.resetEnabled():e.setEnabled(!1)}else this._excludeChildControl("close-button")},close:function(){if((this.getAutoDestroy()||this.isVisible())&&this.fireNonBubblingEvent("beforeClose",qx.event.type.Event,[!1,!0])){this.hide();this.fireEvent("close");this.getAutoDestroy()&&this.dispose()}},open:function(){this.show();this.setActive(!0);this.focus()},center:function(){var e=this.getLayoutParent();if(e){var t=e.getBounds();if(t){var n=this.getSizeHint(),r=Math.round((t.width-n.width)/2),i=Math.round((t.height-n.height)/2);i<0&&(i=0);this.moveTo(r,i);return}}},maximize:function(){if(!this.isMaximized()){var e=this.getLayoutParent();if(null!=e&&e.supportsMaximize()&&this.fireNonBubblingEvent("beforeMaximize",qx.event.type.Event,[!1,!0])){this.isVisible()||this.open();var t=this.getLayoutProperties();this.__P_21_1=void 0===t.left?0:t.left;this.__P_21_0=void 0===t.top?0:t.top;this.setLayoutProperties({left:null,top:null,edge:0});this.addState("maximized");this._updateCaptionBar();this.fireEvent("maximize")}}},minimize:function(){if(this.isVisible()&&this.fireNonBubblingEvent("beforeMinimize",qx.event.type.Event,[!1,!0])){var e=this.getLayoutProperties();this.__P_21_1=void 0===e.left?0:e.left;this.__P_21_0=void 0===e.top?0:e.top;this.removeState("maximized");this.hide();this.fireEvent("minimize")}},restore:function(){if("normal"!==this.getMode()&&this.fireNonBubblingEvent("beforeRestore",qx.event.type.Event,[!1,!0])){this.isVisible()||this.open();var e=this.__P_21_1,t=this.__P_21_0;this.setLayoutProperties({edge:null,left:e,top:t});this.removeState("maximized");this._updateCaptionBar();this.fireEvent("restore")}},moveTo:function(e,t){this.isMaximized()||this.setLayoutProperties({left:e,top:t})},isMaximized:function(){return this.hasState("maximized")},getMode:function(){return this.isVisible()?this.isMaximized()?"maximized":"normal":"minimized"},_applyActive:function(e,t){e?this.addState("active"):this.removeState("active")},_applyModal:function(e,t){e?this.addState("modal"):this.removeState("modal");this.getContentElement().setAttribute("aria-modal",e)},_getContentPaddingTarget:function(){return this.getChildControl("pane")},_applyShowStatusbar:function(e,t){var n=this._getResizeFrame();if(e){this.addState("showStatusbar");n.addState("showStatusbar")}else{this.removeState("showStatusbar");n.removeState("showStatusbar")}e?this._showChildControl("statusbar"):this._excludeChildControl("statusbar")},_applyCaptionBarChange:function(e,t){this._updateCaptionBar()},_applyStatus:function(e,t){var n=this.getChildControl("statusbar-text",!0);n&&n.setValue(e)},_applyFocusable:function(e,t){"mshtml"!==qx.core.Environment.get("engine.name")&&qx.ui.window.Window.superclass.prototype._applyFocusable.call(this,e,t)},_applyCenterOnAppear:function(e,t){if(null!==this.__P_21_2){this.removeListenerById(this.__P_21_2);this.__P_21_2=null}e&&(this.__P_21_2=this.addListener("appear",this.center,this))},_applyCenterOnContainerResize:function(e,t){var n=this.getLayoutParent();if(null!==this.__P_21_3){n.removeListenerById(this.__P_21_3);this.__P_21_3=null}e&&n&&(this.__P_21_3=n.addListener("resize",this.center,this))},_onWindowEventStop:function(e){e.stopPropagation()},_onWindowPointerDown:function(e){this.setActive(!0)},_onWindowFocusOut:function(e){if(!this.getModal()){var t=e.getRelatedTarget();null==t||qx.ui.core.Widget.contains(this,t)||this.setActive(!1)}},_onCaptionPointerDblTap:function(e){!this.getAllowMaximize()||e.getTarget()!==this.getChildControl("captionbar")&&e.getTarget()!==this.getChildControl("title")||(this.isMaximized()?this.restore():this.maximize())},_onMinimizeButtonTap:function(e){this.minimize();this.getChildControl("minimize-button").reset()},_onRestoreButtonTap:function(e){this.restore();this.getChildControl("restore-button").reset()},_onMaximizeButtonTap:function(e){this.maximize();this.getChildControl("maximize-button").reset()},_onCloseButtonTap:function(e){this.close();this.getChildControl("close-button").reset()}},destruct:function(){var e,t;qx.ui.core.FocusHandler.getInstance().removeRoot(this);if(t=this.getLayoutParent()){(e=this.__P_21_3)&&t.removeListenerById(e);t.remove(this)}}});qx.ui.window.Window.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.layout.Abstract":{require:!0}},environment:{provided:[],required:{"qx.debug":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Grow",{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:qx.core.Environment.select("qx.debug",{true:function(e,t,n){this.assert(!1,"The property '"+t+"' is not supported by the Grow layout!")},false:null}),renderLayout:function(e,t,n){for(var r,i,o,s,a=this._getLayoutChildren(),u=0,l=a.length;ui.maxWidth&&(o=i.maxWidth);(s=t)i.maxHeight&&(s=i.maxHeight);r.renderLayout(n.left,n.top,o,s)}},_computeSizeHint:function(){for(var e,t=this._getLayoutChildren(),n=0,r=0,i=0,o=0,s=1/0,a=1/0,u=0,l=t.length;u=3&&(parseInt(t[1])<4||4===parseInt(t[1])&&parseInt(t[2])<4)){var n=/(\w{2})-(\w{2})/i.exec(navigator.userAgent);n&&(e=n[0])}}return e.toLowerCase()}},defer:function(e){qx.core.Environment.add("locale",e.getLocale);qx.core.Environment.add("locale.variant",e.getVariant);qx.core.Environment.add("locale.default","C")}});qx.bom.client.Locale.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.dispatch.Direct":{require:!0},"qx.locale.LocalizedString":{require:!0},"qx.bom.client.Locale":{require:!0},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.lang.Array":{},"qx.lang.String":{}},environment:{provided:[],required:{locale:{className:"qx.bom.client.Locale"},"locale.default":{className:"qx.bom.client.Locale",load:!0},"locale.variant":{className:"qx.bom.client.Locale"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.locale.Manager",{type:"singleton",extend:qx.core.Object,construct:function(){qx.core.Object.constructor.call(this);this.__P_90_0=qx.$$translations||{};this.__P_90_1=qx.$$locales||{};this.initLocale();this.__P_90_2=this.getLocale()},statics:{tr:function(e,t){var n=qx.lang.Array.fromArguments(arguments,1);return qx.locale.Manager.getInstance().translate(e,n)},trn:function(e,t,n,r){var i=qx.lang.Array.fromArguments(arguments);i.splice(0,3);return 1!=n?qx.locale.Manager.getInstance().translate(t,i):qx.locale.Manager.getInstance().translate(e,i)},trc:function(e,t,n){var r=qx.lang.Array.fromArguments(arguments);r.splice(0,2);return qx.locale.Manager.getInstance().translate(t,r)},trnc:function(e,t,n,r,i){var o=qx.lang.Array.fromArguments(arguments);o.splice(0,4);return 1!=r?qx.locale.Manager.getInstance().translate(n,o):qx.locale.Manager.getInstance().translate(t,o)},marktr:function(e){return e}},properties:{locale:{check:"String",apply:"_applyLocale",event:"changeLocale",init:function(){var e=qx.core.Environment.get("locale");if(!e||""===e)return qx.core.Environment.get("locale.default");var t=qx.core.Environment.get("locale.variant");""!==t&&(e+="_"+t);return e}()}},members:{__P_90_3:qx.core.Environment.get("locale.default"),__P_90_4:null,__P_90_5:null,__P_90_0:null,__P_90_1:null,__P_90_2:null,getLanguage:function(){return this.__P_90_5},getTerritory:function(){return this.getLocale().split("_")[1]||""},getAvailableLocales:function(e){var t=[];for(var n in this.__P_90_1)if(n!=this.__P_90_3){if(null===this.__P_90_1[n]&&!e)continue;t.push(n)}return t},__P_90_6:function(e){if(null==e)return null;var t=e.indexOf("_");return-1==t?e:e.substring(0,t)},_applyLocale:function(e,t){this.__P_90_4=e;this.__P_90_5=this.__P_90_6(e)},addTranslation:function(e,t){var n=this.__P_90_0;if(n[e])for(var r in t)n[e][r]=t[r];else n[e]=t},addLocale:function(e,t){var n=this.__P_90_1;if(n[e])for(var r in t)n[e][r]=t[r];else n[e]=t},translate:function(e,t,n){var r=this.__P_90_0;return this.__P_90_7(r,e,t,n)},localize:function(e,t,n){var r=this.__P_90_1;return this.__P_90_7(r,e,t,n)},__P_90_7:function(e,t,n,r){var i;if(!e)return t;if(r)var o=this.__P_90_6(r);else{r=this.__P_90_4;o=this.__P_90_5}!i&&e[r]&&(i=e[r][t]);!i&&e[o]&&(i=e[o][t]);!i&&e[this.__P_90_3]&&(i=e[this.__P_90_3][t]);i||(i=t);if(n.length>0){for(var s=[],a=0;a=19?"input::-moz-placeholder, textarea::-moz-placeholder":"input:-moz-placeholder, textarea:-moz-placeholder";else if("webkit"==t&&"edge"!=n)e="input.qx-placeholder-color::-webkit-input-placeholder, textarea.qx-placeholder-color::-webkit-input-placeholder";else if("mshtml"==t||"edge"==n){e=["input.qx-placeholder-color","-ms-input-placeholder, textarea.qx-placeholder-color","-ms-input-placeholder"].join("edge"==n?"::":":");qx.ui.style.Stylesheet.getInstance().addRule(e,"color: "+s+" !important")}}}},construct:function(e){qx.ui.core.Widget.constructor.call(this);this.__P_78_3=!qx.core.Environment.get("css.placeholder");null!=e&&this.setValue(e);this.getContentElement().addListener("change",this._onChangeContent,this);if(this.__P_78_3)this.addListener("syncAppearance",this._syncPlaceholder,this);else{qx.ui.form.AbstractField.__P_78_2();this.getContentElement().addClass("qx-placeholder-color")}qx.locale.Manager.getInstance().addListener("changeLocale",this._onChangeLocale,this)},events:{input:"qx.event.type.Data",changeValue:"qx.event.type.Data"},properties:{textAlign:{check:["left","center","right"],nullable:!0,themeable:!0,apply:"_applyTextAlign"},readOnly:{check:"Boolean",apply:"_applyReadOnly",event:"changeReadOnly",init:!1},selectable:{refine:!0,init:!0},focusable:{refine:!0,init:!0},maxLength:{apply:"_applyMaxLength",check:"PositiveInteger",init:1/0},liveUpdate:{check:"Boolean",init:!1},liveUpdateOnRxMatch:{check:"RegExp",transform:"_string2RegExp",init:null},placeholder:{check:"String",nullable:!0,apply:"_applyPlaceholder"},filter:{check:"RegExp",nullable:!0,init:null}},members:{__P_78_4:!0,_placeholder:null,__P_78_5:null,__P_78_6:null,__P_78_3:!0,__P_78_7:null,__P_78_8:null,getFocusElement:function(){var e=this.getContentElement();if(e)return e},_createInputElement:function(){return new qx.html.Input("text")},renderLayout:function(e,t,n,r){var i=this._updateInsets,o=qx.ui.form.AbstractField.superclass.prototype.renderLayout.call(this,e,t,n,r);if(o){var s=o.size||i,a="px";if(s||o.local||o.margin)var u=n,l=r;var c=this.getContentElement();if(i&&this.__P_78_3&&this.__P_78_3){var h=this.getInsets();this._getPlaceholderElement().setStyles({paddingTop:h.top+a,paddingRight:h.right+a,paddingBottom:h.bottom+a,paddingLeft:h.left+a})}if(s||o.margin){if(this.__P_78_3){h=this.getInsets();this._getPlaceholderElement().setStyles({width:u-h.left-h.right+a,height:l-h.top-h.bottom+a})}c.setStyles({width:u+a,height:l+a});this._renderContentElement(l,c)}o.position&&this.__P_78_3&&this._getPlaceholderElement().setStyles({left:e+a,top:t+a})}},_renderContentElement:function(e,t){},_createContentElement:function(){var e=this._createInputElement();e.setSelectable(this.getSelectable());e.setEnabled(this.getEnabled());e.addListener("input",this._onHtmlInput,this);e.setAttribute("spellcheck","false");e.addClass("qx-abstract-field");"mshtml"==qx.core.Environment.get("engine.name")&&8==qx.core.Environment.get("browser.documentmode")&&e.setStyles({backgroundImage:"url("+qx.util.ResourceManager.getInstance().toUri("qx/static/blank.gif")+")"});return e},_applyEnabled:function(e,t){qx.ui.form.AbstractField.superclass.prototype._applyEnabled.call(this,e,t);this.getContentElement().setEnabled(e);if(this.__P_78_3)e?this._showPlaceholder():this._removePlaceholder();else{this.getContentElement().setAttribute("placeholder",e?this.getPlaceholder():"")}},__P_78_9:{width:16,height:16},_getContentHint:function(){return{width:10*this.__P_78_9.width,height:this.__P_78_9.height||16}},_applyFont:function(e,t){if(t&&this.__P_78_7&&this.__P_78_8){this.__P_78_7.removeListenerById(this.__P_78_8);this.__P_78_8=null}var n;if(e){qx.lang.Type.isString(e)&&(e=qx.theme.manager.Font.getInstance().resolve(e));this.__P_78_7=e;this.__P_78_7 instanceof qx.bom.webfonts.WebFont&&!this.__P_78_7.isValid()&&(this.__P_78_8=this.__P_78_7.addListener("changeStatus",this._onWebFontStatusChange,this));n=this.__P_78_7.getStyles()}else n=qx.bom.Font.getDefaultStyles();null!=this.getTextColor()&&delete n.color;if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<11){qx.html.Element.flush();this.getContentElement().setStyles(n,!0)}else this.getContentElement().setStyles(n);if(this.__P_78_3){delete n.color;this._getPlaceholderElement().setStyles(n)}e?this.__P_78_9=qx.bom.Label.getTextSize("A",n):delete this.__P_78_9;qx.ui.core.queue.Layout.add(this)},_applyTextColor:function(e,t){e?this.getContentElement().setStyle("color",qx.theme.manager.Color.getInstance().resolve(e)):this.getContentElement().removeStyle("color")},_applyMaxLength:function(e,t){e?this.getContentElement().setAttribute("maxLength",e):this.getContentElement().removeAttribute("maxLength")},_string2RegExp:function(e,t){qx.lang.Type.isString(e)&&(e=new RegExp(e));return e},tabFocus:function(){qx.ui.form.AbstractField.superclass.prototype.tabFocus.call(this);this.selectAllText()},_getTextSize:function(){return this.__P_78_9},_onHtmlInput:function(e){var t=e.getData(),n=!0;this.__P_78_4=!1;this.__P_78_6&&this.__P_78_6===t&&(n=!1);if(null!=this.getFilter()){var r=this._validateInput(t);if(r!=t){n=this.__P_78_6!==r;t=r;this.getContentElement().setValue(t)}}if(n){this.fireDataEvent("input",t,this.__P_78_6);this.__P_78_6=t;if(this.getLiveUpdate())this.__P_78_10(t);else{var i=this.getLiveUpdateOnRxMatch();i&&t.match(i)&&this.__P_78_10(t)}}},_onWebFontStatusChange:function(e){if(!0===e.getData().valid){var t=this.__P_78_7.getStyles();this.__P_78_9=qx.bom.Label.getTextSize("A",t);qx.ui.core.queue.Layout.add(this)}},__P_78_10:function(e){var t=this.__P_78_5;this.__P_78_5=e;t!=e&&this.fireNonBubblingEvent("changeValue",qx.event.type.Data,[e,t])},setValue:function(e){if(this.isDisposed())return null;if(null===e){if(this.__P_78_4)return e;e="";this.__P_78_4=!0}else{this.__P_78_4=!1;this.__P_78_3&&this._removePlaceholder()}if(qx.lang.Type.isString(e)){var t=this.getContentElement();if(t.getValue()!=e){var n=t.getValue();t.setValue(e);var r=this.__P_78_4?null:e;this.__P_78_5=n;this.__P_78_10(r);this.__P_78_6=this.__P_78_5}this.__P_78_3&&this._showPlaceholder();return e}throw new Error("Invalid value type: "+e)},getValue:function(){return this.isDisposed()||this.__P_78_4?null:this.getContentElement().getValue()},resetValue:function(){this.setValue(null)},_onChangeContent:function(e){this.__P_78_4=null===e.getData();this.__P_78_10(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(e,t){this.getContentElement().setTextSelection(e,t)},clearTextSelection:function(){this.getContentElement().clearTextSelection()},selectAllText:function(){this.setTextSelection(0)},setLayoutParent:function(e){qx.ui.form.AbstractField.superclass.prototype.setLayoutParent.call(this,e);if(this.__P_78_3)if(e)this.getLayoutParent().getContentElement().add(this._getPlaceholderElement());else{var t=this._getPlaceholderElement();t.getParent().remove(t)}},_showPlaceholder:function(){var e=this.getValue()||"";null==this.getPlaceholder()||""!=e||this.hasState("focused")||this.hasState("disabled")||(this.hasState("showingPlaceholder")?this._syncPlaceholder():this.addState("showingPlaceholder"))},_onPointerDownPlaceholder:function(){window.setTimeout(function(){this.focus()}.bind(this),0)},_removePlaceholder:function(){if(this.hasState("showingPlaceholder")){this.__P_78_3&&this._getPlaceholderElement().setStyle("visibility","hidden");this.removeState("showingPlaceholder")}},_syncPlaceholder:function(){this.hasState("showingPlaceholder")&&this.__P_78_3&&this._getPlaceholderElement().setStyle("visibility","visible")},_getPlaceholderElement:function(){if(null==this._placeholder){this._placeholder=new qx.html.Label;var e=qx.theme.manager.Color.getInstance();this._placeholder.setStyles({zIndex:11,position:"absolute",color:e.resolve("text-placeholder"),whiteSpace:"normal",cursor:"text",visibility:"hidden"});this._placeholder.addListener("pointerdown",this._onPointerDownPlaceholder,this)}return this._placeholder},_onChangeLocale:qx.core.Environment.select("qx.dynlocale",{true:function(e){var t=this.getPlaceholder();t&&t.translate&&this.setPlaceholder(t.translate())},false:null}),_onChangeTheme:function(){qx.ui.form.AbstractField.superclass.prototype._onChangeTheme.call(this);if(this._placeholder){this._placeholder.dispose();this._placeholder=null}if(!this.__P_78_3&&qx.ui.form.AbstractField.__P_78_0){qx.bom.Stylesheet.removeSheet(qx.ui.form.AbstractField.__P_78_0);qx.ui.form.AbstractField.__P_78_0=null;qx.ui.form.AbstractField.__P_78_2()}},_validateInput:function(e){var t=e,n=this.getFilter();if(null!==n){t="";for(var r=e.search(n),i=e;r>=0&&i.length>0;){t+=i.charAt(r);r=(i=i.substring(r+1,i.length)).search(n)}}return t},_applyPlaceholder:function(e,t){var n=this;if(this.__P_78_3){this._getPlaceholderElement().setValue(e);if(null!=e){this.addListener("focusin",this._removePlaceholder,this);this.addListener("focusout",this._showPlaceholder,this);this._showPlaceholder()}else{this.removeListener("focusin",this._removePlaceholder,this);this.removeListener("focusout",this._showPlaceholder,this);this._removePlaceholder()}}else if(this.getEnabled()){this.getContentElement().setAttribute("placeholder",e);"firefox"===qx.core.Environment.get("browser.name")&&parseFloat(qx.core.Environment.get("browser.version"))<36&&"textarea"===this.getContentElement().getNodeName()&&!this.getContentElement().getDomElement()&&this.addListenerOnce("appear",(function(){n.getContentElement().getDomElement().removeAttribute("placeholder");n.getContentElement().getDomElement().setAttribute("placeholder",e)}))}},_applyTextAlign:function(e,t){this.getContentElement().setStyle("textAlign",e)},_applyReadOnly:function(e,t){this.getContentElement().setAttribute("readOnly",e);if(e){this.addState("readonly");this.setFocusable(!1)}else{this.removeState("readonly");this.setFocusable(!0)}}},defer:function(e){qx.ui.style.Stylesheet.getInstance().addRule(".qx-abstract-field","border: none;padding: 0;margin: 0;display : block;background : transparent;outline: none;appearance: none;position: absolute;autoComplete: off;resize: none;border-radius: 0;")},destruct:function(){if(this._placeholder){this._placeholder.removeListener("pointerdown",this._onPointerDownPlaceholder,this);var e=this._placeholder.getParent();e&&e.remove(this._placeholder);this._placeholder.dispose()}this._placeholder=this.__P_78_7=null;qx.locale.Manager.getInstance().removeListener("changeLocale",this._onChangeLocale,this);this.__P_78_7&&this.__P_78_8&&this.__P_78_7.removeListenerById(this.__P_78_8);this.getContentElement().removeListener("input",this._onHtmlInput,this)}});qx.ui.form.AbstractField.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.AbstractField":{construct:!0,require:!0},"qx.ui.core.queue.Layout":{},"qx.ui.core.queue.Manager":{},"qx.html.Element":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.Element":{},"qx.html.Input":{},"qx.bom.element.Dimension":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.TextArea",{extend:qx.ui.form.AbstractField,construct:function(e){qx.ui.form.AbstractField.constructor.call(this,e);this.initWrap();this.addListener("roll",this._onRoll,this);this.addListener("resize",this._onResize,this)},properties:{wrap:{check:"Boolean",init:!0,apply:"_applyWrap"},appearance:{refine:!0,init:"textarea"},singleStep:{check:"Integer",init:20},minimalLineHeight:{check:"Integer",apply:"_applyMinimalLineHeight",init:4},autoSize:{check:"Boolean",apply:"_applyAutoSize",init:!1}},members:{__P_22_0:null,__P_22_1:null,__P_22_2:null,setValue:function(e){e=qx.ui.form.TextArea.superclass.prototype.setValue.call(this,e);this.__P_22_3();return e},_onRoll:function(e){if("wheel"==e.getPointerType()){var t=this.getContentElement(),n=t.getScrollY();t.scrollToY(n+e.getDelta().y/30*this.getSingleStep());t.getScrollY()!=n&&e.stop()}},_onResize:function(e){if(this.__P_22_0){this.__P_22_0.dispose();this.__P_22_0=null;this.__P_22_3()}},__P_22_3:function(){var e=this;if(this.isAutoSize()){if(this.__P_22_4()&&this.getBounds()){this.__P_22_2=this.__P_22_2||this._getAreaHeight();var t=Math.round(this._getScrolledAreaHeight());if(this.getMaxHeight()){var n=this.getInsets();t>-n.top+this.getMaxHeight()-n.bottom?this.getContentElement().setStyle("overflowY","auto"):this.getContentElement().setStyle("overflowY","hidden")}var r=Math.max(t,this.__P_22_2);this._setAreaHeight(r)}else this.getContentElement().addListenerOnce("appear",(function(){e.__P_22_3()}))}},_getAreaHeight:function(){return this.getInnerSize().height},_setAreaHeight:function(e){if(this._getAreaHeight()!==e){this.__P_22_1=e;qx.ui.core.queue.Layout.add(this);qx.ui.core.queue.Manager.flush();this.__P_22_5()}},_getScrolledAreaHeight:function(){var e=this.__P_22_4(),t=e.getDomElement();if(t){if(!t.parentNode){qx.html.Element.flush();return this._getScrolledAreaHeight()}"webkit"!==qx.core.Environment.get("engine.name")&&"mshtml"!=qx.core.Environment.get("engine.name")||e.setWrap(!this.getWrap(),!0);e.setWrap(this.getWrap(),!0);"webkit"!==qx.core.Environment.get("engine.name")&&"mshtml"!=qx.core.Environment.get("engine.name")||(t.style.overflow="hidden");if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")>=8){t.style.overflow="visible";t.style.overflowX="hidden"}e.setValue(this.getValue()||"");if("mshtml"==qx.core.Environment.get("engine.name")){t.style.height="auto";qx.html.Element.flush();t.style.height="0"}this.__P_22_6(e);"mshtml"==qx.core.Environment.get("engine.name")&&8==qx.core.Environment.get("browser.documentmode")&&(t.scrollTop||qx.html.Element.flush());return t.scrollTop}},__P_22_4:function(){this.__P_22_0=this.__P_22_0||this.__P_22_7();return this.__P_22_0},__P_22_7:function(){var e,t,n,r;if(!(e=this.getContentElement()).getDomElement())return null;n=qx.bom.Element.clone(e.getDomElement());(r=new qx.html.Input("textarea")).useNode(n);(t=r).setStyles({position:"absolute",top:0,left:"-9999px",height:0,overflow:"hidden"},!0);t.removeAttribute("id");t.removeAttribute("name");t.setAttribute("tabIndex","-1");t.setValue(e.getValue()||"");t.insertBefore(e);this.__P_22_6(t);return t},__P_22_6:function(e){(e=e.getDomElement())&&(e.scrollTop=1e4)},_createInputElement:function(){return new qx.html.Input("textarea",{overflowX:"auto",overflowY:"auto"})},_applyWrap:function(e,t){this.getContentElement().setWrap(e);if(this._placeholder){var n=e?"normal":"nowrap";this._placeholder.setStyle("whiteSpace",n)}this.__P_22_3()},_applyMinimalLineHeight:function(){qx.ui.core.queue.Layout.add(this)},_applyAutoSize:function(e,t){if(e){this.__P_22_3();this.addListener("input",this.__P_22_3,this);this.getBounds()?this.getContentElement().setStyle("overflowY","hidden"):this.addListenerOnce("appear",(function(){this.getContentElement().setStyle("overflowY","hidden")}))}else{this.removeListener("input",this.__P_22_3);this.getContentElement().setStyle("overflowY","auto")}},_applyDimension:function(e){qx.ui.form.TextArea.superclass.prototype._applyDimension.call(this);e===this.getMaxHeight()&&this.__P_22_3()},__P_22_5:function(){var e=this.getContentElement(),t=e.getDomElement(),n=e.getStyle("width");e.setStyle("width",parseInt(n,10)+1e3+"px",!0);t&&qx.bom.element.Dimension.getWidth(t);e.setStyle("width",n,!0)},__P_22_8:function(){this.isAutoSize()&&this.getHeight()&&this.warn("autoSize is ignored when the height property is set. If you want to set an initial height, use the minHeight property instead.")},_getContentHint:function(){var e=qx.ui.form.TextArea.superclass.prototype._getContentHint.call(this);e.height=e.height*this.getMinimalLineHeight();e.width=20*this._getTextSize().width;this.isAutoSize()&&(e.height=this.__P_22_1||e.height);return e}},destruct:function(){this.setAutoSize(!1);this.__P_22_0&&this.__P_22_0.dispose()}});qx.ui.form.TextArea.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.Style":{},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["css.transform","css.transform.3d"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.CssTransform",{statics:{getSupport:function(){var e=qx.bom.client.CssTransform.getName();return null!=e?{name:e,style:qx.bom.client.CssTransform.getStyle(),origin:qx.bom.client.CssTransform.getOrigin(),"3d":qx.bom.client.CssTransform.get3D(),perspective:qx.bom.client.CssTransform.getPerspective(),"perspective-origin":qx.bom.client.CssTransform.getPerspectiveOrigin(),"backface-visibility":qx.bom.client.CssTransform.getBackFaceVisibility()}:null},getStyle:function(){return qx.bom.Style.getPropertyName("transformStyle")},getPerspective:function(){return qx.bom.Style.getPropertyName("perspective")},getPerspectiveOrigin:function(){return qx.bom.Style.getPropertyName("perspectiveOrigin")},getBackFaceVisibility:function(){return qx.bom.Style.getPropertyName("backfaceVisibility")},getOrigin:function(){return qx.bom.Style.getPropertyName("transformOrigin")},getName:function(){return qx.bom.Style.getPropertyName("transform")},get3D:function(){return null!=qx.bom.client.CssTransform.getPerspective()}},defer:function(e){qx.core.Environment.add("css.transform",e.getSupport);qx.core.Environment.add("css.transform.3d",e.get3D)}});qx.bom.client.CssTransform.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.CssTransform":{require:!0},"qx.bom.Style":{}},environment:{provided:[],required:{"css.transform":{load:!0,className:"qx.bom.client.CssTransform"},"css.transform.3d":{className:"qx.bom.client.CssTransform"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Transform",{statics:{__P_24_0:qx.core.Environment.get("css.transform"),transform:function(e,t){var n=this.getTransformValue(t);if(null!=this.__P_24_0){var r=this.__P_24_0.name;e.style[r]=n}},translate:function(e,t){this.transform(e,{translate:t})},scale:function(e,t){this.transform(e,{scale:t})},rotate:function(e,t){this.transform(e,{rotate:t})},skew:function(e,t){this.transform(e,{skew:t})},getCss:function(e){var t=this.getTransformValue(e);if(null!=this.__P_24_0){var n=this.__P_24_0.name;return qx.bom.Style.getCssName(n)+":"+t+";"}return""},setOrigin:function(e,t){null!=this.__P_24_0&&(e.style[this.__P_24_0.origin]=t)},getOrigin:function(e){return null!=this.__P_24_0?e.style[this.__P_24_0.origin]:""},setStyle:function(e,t){null!=this.__P_24_0&&(e.style[this.__P_24_0.style]=t)},getStyle:function(e){return null!=this.__P_24_0?e.style[this.__P_24_0.style]:""},setPerspective:function(e,t){null!=this.__P_24_0&&(e.style[this.__P_24_0.perspective]=t+"px")},getPerspective:function(e){return null!=this.__P_24_0?e.style[this.__P_24_0.perspective]:""},setPerspectiveOrigin:function(e,t){null!=this.__P_24_0&&(e.style[this.__P_24_0["perspective-origin"]]=t)},getPerspectiveOrigin:function(e){if(null!=this.__P_24_0){var t=e.style[this.__P_24_0["perspective-origin"]];if(""!=t)return t;var n=e.style[this.__P_24_0["perspective-origin"]+"X"],r=e.style[this.__P_24_0["perspective-origin"]+"Y"];if(""!=n)return n+" "+r}return""},setBackfaceVisibility:function(e,t){null!=this.__P_24_0&&(e.style[this.__P_24_0["backface-visibility"]]=t?"visible":"hidden")},getBackfaceVisibility:function(e){return null==this.__P_24_0||"visible"==e.style[this.__P_24_0["backface-visibility"]]},getTransformValue:function(e){var t="",n=["translate","scale"];for(var r in e){var i=e[r];qx.Bootstrap.isArray(i)?3===i.length&&n.indexOf(r)>-1&&qx.core.Environment.get("css.transform.3d")?t+=this._compute3dProperty(r,i):t+=this._computeAxisProperties(r,i):t+=r+"("+i+") "}return t.trim()},_compute3dProperty:function(e,t){var n="";e+="3d";for(var r=0;r';e.firstChild.style.behavior="url(#default#VML)";var t="object"==_typeof(e.firstChild.adj);document.body.removeChild(e);return t},getCanvas:function(){return!!window.CanvasRenderingContext2D},getDataUrl:function(e){var t=new Image;t.onload=t.onerror=function(){window.setTimeout((function(){e.call(null,1==t.width&&1==t.height)}),0)};t.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw=="},getDataset:function(){return!!document.documentElement.dataset},getContains:function(){return void 0!==document.documentElement.contains},getCompareDocumentPosition:function(){return"function"==typeof document.documentElement.compareDocumentPosition},getTextContent:function(){return void 0!==document.createElement("span").textContent},getFullScreen:function(){return document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled||!1},getConsole:function(){return void 0!==window.console},getNaturalDimensions:function(){var e=document.createElement("img");return"number"==typeof e.naturalHeight&&"number"==typeof e.naturalWidth},getHistoryState:function(){return void 0!==window.onpopstate&&void 0!==window.history.replaceState&&void 0!==window.history.pushState},getSelection:function(){return"function"==typeof window.getSelection?"getSelection":"object"===_typeof(document.selection)?"selection":null},getIsEqualNode:function(){return"function"==typeof document.documentElement.isEqualNode}},defer:function(e){qx.core.Environment.add("html.webworker",e.getWebWorker);qx.core.Environment.add("html.filereader",e.getFileReader);qx.core.Environment.add("html.geolocation",e.getGeoLocation);qx.core.Environment.add("html.audio",e.getAudio);qx.core.Environment.add("html.audio.ogg",e.getAudioOgg);qx.core.Environment.add("html.audio.mp3",e.getAudioMp3);qx.core.Environment.add("html.audio.wav",e.getAudioWav);qx.core.Environment.add("html.audio.au",e.getAudioAu);qx.core.Environment.add("html.audio.aif",e.getAudioAif);qx.core.Environment.add("html.video",e.getVideo);qx.core.Environment.add("html.video.ogg",e.getVideoOgg);qx.core.Environment.add("html.video.h264",e.getVideoH264);qx.core.Environment.add("html.video.webm",e.getVideoWebm);qx.core.Environment.add("html.storage.local",e.getLocalStorage);qx.core.Environment.add("html.storage.session",e.getSessionStorage);qx.core.Environment.add("html.storage.userdata",e.getUserDataStorage);qx.core.Environment.add("html.classlist",e.getClassList);qx.core.Environment.add("html.xpath",e.getXPath);qx.core.Environment.add("html.xul",e.getXul);qx.core.Environment.add("html.canvas",e.getCanvas);qx.core.Environment.add("html.svg",e.getSvg);qx.core.Environment.add("html.vml",e.getVml);qx.core.Environment.add("html.dataset",e.getDataset);qx.core.Environment.addAsync("html.dataurl",e.getDataUrl);qx.core.Environment.add("html.element.contains",e.getContains);qx.core.Environment.add("html.element.compareDocumentPosition",e.getCompareDocumentPosition);qx.core.Environment.add("html.element.textcontent",e.getTextContent);qx.core.Environment.add("html.console",e.getConsole);qx.core.Environment.add("html.image.naturaldimensions",e.getNaturalDimensions);qx.core.Environment.add("html.history.state",e.getHistoryState);qx.core.Environment.add("html.selection",e.getSelection);qx.core.Environment.add("html.node.isequalnode",e.getIsEqualNode);qx.core.Environment.add("html.fullscreen",e.getFullScreen)}});qx.bom.client.Html.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.form.IStringForm":{require:!0},"qx.locale.Manager":{construct:!0},"qx.bom.client.Css":{require:!0},"qx.bom.client.Html":{require:!0},"qx.html.Label":{},"qx.theme.manager.Color":{},"qx.lang.Type":{},"qx.theme.manager.Font":{},"qx.bom.webfonts.WebFont":{},"qx.ui.core.queue.Layout":{},"qx.bom.Font":{},"qx.bom.Label":{},"qx.lang.Object":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"css.textoverflow":{className:"qx.bom.client.Css"},"html.xul":{className:"qx.bom.client.Html"},"os.name":{className:"qx.bom.client.OperatingSystem"},"engine.name":{className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"},"qx.dynlocale":{load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.basic.Label",{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm],construct:function(e){qx.ui.core.Widget.constructor.call(this);null!=e&&this.setValue(e);qx.locale.Manager.getInstance().addListener("changeLocale",this._onChangeLocale,this)},properties:{rich:{check:"Boolean",init:!1,event:"changeRich",apply:"_applyRich"},wrap:{check:"Boolean",init:!0,apply:"_applyWrap"},breakWithinWords:{check:"Boolean",init:!1,apply:"_applyBreakWithinWords"},value:{check:"String",apply:"_applyValue",event:"changeValue",nullable:!0},buddy:{check:"qx.ui.core.Widget",apply:"_applyBuddy",nullable:!0,init:null,dereference:!0},textAlign:{check:["left","center","right","justify"],nullable:!0,themeable:!0,apply:"_applyTextAlign",event:"changeTextAlign"},appearance:{refine:!0,init:"label"},selectable:{refine:!0,init:!1},allowGrowX:{refine:!0,init:!1},allowGrowY:{refine:!0,init:!1},allowShrinkY:{refine:!0,init:!1}},members:{__P_27_0:null,__P_27_1:null,__P_27_2:null,__P_27_3:null,_getContentHint:function(){if(this.__P_27_1){this.__P_27_4=this.__P_27_5();delete this.__P_27_1}return{width:this.__P_27_4.width,height:this.__P_27_4.height}},_hasHeightForWidth:function(){return this.getRich()&&this.getWrap()},_applySelectable:function(e){!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")&&e&&!this.isRich()||qx.ui.basic.Label.superclass.prototype._applySelectable.call(this,e)},_getContentHeightForWidth:function(e){return this.getRich()||this.getWrap()?this.__P_27_5(e).height:null},_createContentElement:function(){return new qx.html.Label},_applyTextAlign:function(e,t){this.getContentElement().setStyle("textAlign",e)},_applyTextColor:function(e,t){e?this.getContentElement().setStyle("color",qx.theme.manager.Color.getInstance().resolve(e)):this.getContentElement().removeStyle("color")},__P_27_4:{width:0,height:0},_applyFont:function(e,t){var n,r=this;if(t&&this.__P_27_0&&this.__P_27_3){this.__P_27_0.removeListenerById(this.__P_27_3);this.__P_27_3=null}if(e){qx.lang.Type.isString(e)&&(e=qx.theme.manager.Font.getInstance().resolve(e));this.__P_27_0=e;this.__P_27_0 instanceof qx.bom.webfonts.WebFont&&!this.__P_27_0.isValid()&&(this.__P_27_3=this.__P_27_0.addListener("changeStatus",(function(e){if(e.getData().valid){r.__P_27_1=!0;qx.ui.core.queue.Layout.add(r)}})));n=this.__P_27_0.getStyles()}else{this.__P_27_0=null;n=qx.bom.Font.getDefaultStyles()}null!=this.getTextColor()&&delete n.color;this.getContentElement().setStyles(n);this.__P_27_1=!0;qx.ui.core.queue.Layout.add(this)},__P_27_5:function(e){var t=qx.bom.Label,n=this.getFont()?this.__P_27_0.getStyles():qx.bom.Font.getDefaultStyles(),r=this.getValue()||"A",i=this.getRich();this.__P_27_3&&this.__P_27_6();i&&this.getBreakWithinWords()&&((n=qx.lang.Object.clone(n)).wordBreak="break-all");return i?t.getHtmlSize(r,n,e):t.getTextSize(r,n)},__P_27_6:function(){if(this.getContentElement()&&"osx"==qx.core.Environment.get("os.name")&&"gecko"==qx.core.Environment.get("engine.name")&&parseInt(qx.core.Environment.get("engine.version"),10)<16&&parseInt(qx.core.Environment.get("engine.version"),10)>9){var e=this.getContentElement().getDomElement();e&&(e.innerHTML=e.innerHTML)}},_applyBuddy:function(e,t){if(null!=t){this.removeRelatedBindings(t);this.removeListenerById(this.__P_27_2);this.__P_27_2=null}if(null!=e){e.bind("enabled",this,"enabled");this.__P_27_2=this.addListener("tap",(function(){e.isFocusable()&&e.focus.apply(e);"toggleValue"in e&&"function"==typeof e.toggleValue&&e.toggleValue()}))}},_applyRich:function(e){this.getContentElement().setRich(e);this.__P_27_1=!0;qx.ui.core.queue.Layout.add(this)},_applyWrap:function(e,t){e&&this.isRich();if(this.isRich()){var n=e?"normal":"nowrap";this.getContentElement().setStyle("whiteSpace",n)}},_applyBreakWithinWords:function(e,t){this.getContentElement().setStyle("wordBreak",this.isRich()&&e?"break-all":"normal")},_onChangeLocale:qx.core.Environment.select("qx.dynlocale",{true:function(e){var t=this.getValue();t&&t.translate&&this.setValue(t.translate())},false:null}),_applyValue:qx.core.Environment.select("qx.dynlocale",{true:function(e,t){e&&e.translate?this.getContentElement().setValue(e.translate()):this.getContentElement().setValue(e);this.__P_27_1=!0;qx.ui.core.queue.Layout.add(this)},false:function(e,t){this.getContentElement().setValue(e);this.__P_27_1=!0;qx.ui.core.queue.Layout.add(this)}})},destruct:function(){qx.locale.Manager.getInstance().removeListener("changeLocale",this._onChangeLocale,this);this.__P_27_0&&this.__P_27_3&&this.__P_27_0.removeListenerById(this.__P_27_3);this.__P_27_0=null}});qx.ui.basic.Label.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.form.MModelProperty",{properties:{model:{nullable:!0,event:"changeModel",apply:"_applyModel",dereference:!0}},members:{_applyModel:function(e,t){}}});qx.ui.form.MModelProperty.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qx.ui.form.RadioGroup":{}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IRadioItem",{events:{changeValue:"qx.event.type.Data"},members:{setValue:function(e){},getValue:function(){},setGroup:function(e){this.assertInstance(e,qx.ui.form.RadioGroup)},getGroup:function(){}}});qx.ui.form.IRadioItem.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0},"qx.ui.form.IField":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IBooleanForm",{extend:qx.ui.form.IField,events:{changeValue:"qx.event.type.Data"},members:{setValue:function(e){return 1==arguments.length},resetValue:function(){},getValue:function(){}}});qx.ui.form.IBooleanForm.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IModel",{events:{changeModel:"qx.event.type.Data"},members:{setModel:function(e){},getModel:function(){},resetModel:function(){}}});qx.ui.form.IModel.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Button":{construct:!0,require:!0},"qx.ui.form.MForm":{require:!0},"qx.ui.form.MModelProperty":{require:!0},"qx.ui.form.IRadioItem":{require:!0},"qx.ui.form.IForm":{require:!0},"qx.ui.form.IBooleanForm":{require:!0},"qx.ui.form.IModel":{require:!0},"qx.ui.form.RadioGroup":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.RadioButton",{extend:qx.ui.form.Button,include:[qx.ui.form.MForm,qx.ui.form.MModelProperty],implement:[qx.ui.form.IRadioItem,qx.ui.form.IForm,qx.ui.form.IBooleanForm,qx.ui.form.IModel],construct:function(e){qx.ui.form.Button.constructor.call(this,e);var t=this.getContentElement();t.setAttribute("role","radio");t.setAttribute("aria-checked",!1);this.addListener("execute",this._onExecute);this.addListener("keypress",this._onKeyPress)},properties:{group:{check:"qx.ui.form.RadioGroup",nullable:!0,apply:"_applyGroup"},value:{check:"Boolean",nullable:!0,event:"changeValue",apply:"_applyValue",init:!1},appearance:{refine:!0,init:"radiobutton"},allowGrowX:{refine:!0,init:!1}},members:{_forwardStates:{checked:!0,focused:!0,invalid:!0,hovered:!0},_bindableProperties:["enabled","label","toolTipText","value","menu"],_applyValue:function(e,t){e?this.addState("checked"):this.removeState("checked");this.getContentElement().setAttribute("aria-checked",Boolean(e))},_applyGroup:function(e,t){t&&t.remove(this);e&&e.add(this)},_onExecute:function(e){var t=this.getGroup();t&&t.getAllowEmptySelection()?this.toggleValue():this.setValue(!0)},_onKeyPress:function(e){var t=this.getGroup();if(t)switch(e.getKeyIdentifier()){case"Left":case"Up":t.selectPrevious();break;case"Right":case"Down":t.selectNext()}}}});qx.ui.form.RadioButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.RadioButton":{construct:!0,require:!0},"qx.ui.form.IRadioItem":{require:!0},"qx.ui.basic.Label":{construct:!0},"qx.ui.core.Spacer":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("wax.demo.MenuButton",{extend:qx.ui.form.RadioButton,implement:qx.ui.form.IRadioItem,construct:function(e,t,n,r){qx.ui.form.RadioButton.constructor.call(this,e);if(void 0!==t){this.setIcon(t);void 0!==n&&this.getChildControl("icon").set({scale:n})}if(void 0!==r){var i=new qx.ui.basic.Label(r).set({alignX:"right",appearance:"mainmenuindicator"});this._add(new qx.ui.core.Spacer(30,1));this._add(i)}},properties:{appearance:{refine:!0,init:"mainmenubutton"},allowGrowX:{refine:!0,init:!0}}});wax.demo.MenuButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.ui.form.IModelSelection",{members:{setModelSelection:function(e){},getModelSelection:function(){}}});qx.ui.form.IModelSelection.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Mixin":{usage:"dynamic",require:!0},"qx.data.Array":{construct:!0},"qx.lang.Array":{}}};qx.Bootstrap.executePendingDefers(e);qx.Mixin.define("qx.ui.form.MModelSelection",{construct:function(){this.__P_101_0=new qx.data.Array;this.__P_101_0.addListener("change",this.__P_101_1,this);this.addListener("changeSelection",this.__P_101_2,this)},events:{changeModelSelection:"qx.event.type.Data"},members:{__P_101_0:null,__P_101_3:!1,__P_101_2:function(){if(!this.__P_101_3){for(var e=this.getSelection(),t=[],n=0;n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();s=e.done;return e},e:function(e){a=!0;o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);return"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&!this.getSelection()[0]&&this.setSelection([n[0]])},remove:function(e){var t=this.__P_28_0,n=this.getGroupedProperty(),r=qx.lang.String.firstUp(n);if(t.includes(e)){qx.lang.Array.remove(t,e);e.get(this.getGroupProperty())===this&&e.reset(this.getGroupProperty());e.removeListener("change"+r,this._onItemChangeChecked,this);e.get(n)&&this.resetSelection()}},getChildren:function(){return this.__P_28_0},_onItemChangeChecked:function(e){var t=e.getTarget(),n=this.getGroupedProperty();t.get(n)?this.setSelection([t]):this.getSelection()[0]==t&&this.resetSelection()},_applyGroupedProperty:function(e,t){for(var n,r=qx.lang.String.firstUp(t),i=qx.lang.String.firstUp(e),o=0;o=0;i--){var o=r[i];if(o.listener==t&&o.ctx==n){r.splice(i,1);qx.event.Emitter.__P_167_0[o.id]=null;return o.id}}return null},offById:function(e){var t=qx.event.Emitter.__P_167_0[e];t&&this.off(t.name,t.listener,t.ctx);return null},addListener:function(e,t,n){return this.on(e,t,n)},addListenerOnce:function(e,t,n){return this.once(e,t,n)},removeListener:function(e,t,n){this.off(e,t,n)},removeListenerById:function(e){this.offById(e)},emit:function(e,t){for(var n=this.__P_167_3(e).concat(),r=[],i=0;i=0;i--){var o;(o=n[i]).listener.call(o.ctx,t)}},getListeners:function(){return this.__P_167_1},getEntryById:function(e){for(var t in this.__P_167_1)for(var n=this.__P_167_1[t],r=0,i=n.length;r=t+e){this.emit("end");this.id=null}else{var i=Math.max(r-t,0);this.emit("frame",i);this.id=qx.bom.AnimationFrame.request(n,this)}}),this)},cancelSequence:function(){this.__P_127_0=!0}},statics:{TIMEOUT:30,calculateTiming:function(e,t){if("ease-in"==e)var n=[3.1223e-7,.0757,1.2646,-.167,-.4387,.2654];else if("ease-out"==e)n=[-7.0198e-8,1.652,-.551,-.0458,.1255,-.1807];else{if("linear"==e)return t;if("ease-in-out"==e)n=[2.482e-7,-.2289,3.3466,-1.0857,-1.7354,.7034];else n=[-.0021,.2472,9.8054,-21.6869,17.7611,-5.1226]}for(var r=0,i=0;i=0;r--){e=n[r];t=this.__P_58_1[e.toHashCode()];n.splice(r,1);e.syncWidget(t)}if(0==n.length){this.__P_58_0=[];this.__P_58_1={}}}}});qx.ui.core.queue.Widget.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.lang.Array":{},"qx.ui.core.queue.Manager":{},"qx.ui.core.queue.Visibility":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.queue.Appearance",{statics:{__P_53_0:[],__P_53_1:{},remove:function(e){if(this.__P_53_1[e.toHashCode()]){qx.lang.Array.remove(this.__P_53_0,e);delete this.__P_53_1[e.toHashCode()]}},add:function(e){if(!this.__P_53_1[e.toHashCode()]){this.__P_53_0.unshift(e);this.__P_53_1[e.toHashCode()]=e;qx.ui.core.queue.Manager.scheduleFlush("appearance")}},has:function(e){return!!this.__P_53_1[e.toHashCode()]},flush:function(){for(var e,t=qx.ui.core.queue.Visibility,n=this.__P_53_0,r=n.length-1;r>=0;r--){e=n[r];n.splice(r,1);delete this.__P_53_1[e.toHashCode()];t.isVisible(e)?e.syncAppearance():e.$$stateChanges=!0}}}});qx.ui.core.queue.Appearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.queue.Manager":{},"qx.ui.core.queue.Visibility":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.queue.Layout",{statics:{__P_79_0:{},__P_79_1:{},remove:function(e){delete this.__P_79_0[e.toHashCode()]},add:function(e){this.__P_79_0[e.toHashCode()]=e;qx.ui.core.queue.Manager.scheduleFlush("layout")},isScheduled:function(e){return!!this.__P_79_0[e.toHashCode()]},flush:function(){for(var e=this.__P_79_2(),t=e.length-1;t>=0;t--){var n=e[t];if(!n.hasValidLayout())if(n.isRootWidget()&&!n.hasUserBounds()){var r=n.getSizeHint();n.renderLayout(0,0,r.width,r.height)}else{var i=n.getBounds();i&&n.renderLayout(i.left,i.top,i.width,i.height)}}},getNestingLevel:function(e){for(var t=this.__P_79_1,n=0,r=e;;){if(null!=t[r.toHashCode()]){n+=t[r.toHashCode()];break}if(!r.$$parent)break;r=r.$$parent;n+=1}for(var i=n;e&&e!==r;){t[e.toHashCode()]=i--;e=e.$$parent}return n},__P_79_3:function(){var e=qx.ui.core.queue.Visibility;this.__P_79_1={};var t,n,r=[],i=this.__P_79_0;for(var o in i){t=i[o];if(e.isVisible(t)){r[n=this.getNestingLevel(t)]||(r[n]={});r[n][o]=t;delete i[o]}}return r},__P_79_2:function(){for(var e=[],t=this.__P_79_3(),n=t.length-1;n>=0;n--)if(t[n])for(var r in t[n]){var i=t[n][r];if(0==n||i.isRootWidget()||i.hasUserBounds()){e.push(i);i.invalidateLayoutCache()}else{var o=i.getSizeHint(!1);if(o){i.invalidateLayoutCache();var s=i.getSizeHint(),a=!i.getBounds()||o.minWidth!==s.minWidth||o.width!==s.width||o.maxWidth!==s.maxWidth||o.minHeight!==s.minHeight||o.height!==s.height||o.maxHeight!==s.maxHeight}else a=!0;if(a){var u=i.getLayoutParent();t[n-1]||(t[n-1]={});t[n-1][u.toHashCode()]=u}else e.push(i)}}return e}}});qx.ui.core.queue.Layout.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.queue.Manager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.queue.Dispose",{statics:{__P_92_0:[],add:function(e){var t=this.__P_92_0;if(!t.includes(e)){t.unshift(e);qx.ui.core.queue.Manager.scheduleFlush("dispose")}},isEmpty:function(){return 0==this.__P_92_0.length},flush:function(){for(var e=this.__P_92_0,t=e.length-1;t>=0;t--){var n=e[t];e.splice(t,1);n.dispose()}0==e.length&&(this.__P_92_0=[])}}});qx.ui.core.queue.Dispose.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.bom.client.Engine":{require:!0},"qx.dom.Node":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Dimension",{statics:{getWidth:function(e){var t=e.getBoundingClientRect();return Math.round(t.right-t.left)},getHeight:function(e){var t=e.getBoundingClientRect();return Math.round(t.bottom-t.top)},getSize:function(e){return{width:this.getWidth(e),height:this.getHeight(e)}},getOuterHeight:function(e,t){if(t){var n=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-top"),10),r=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-bottom"),10);return e.offsetHeight+n+r}return e.offsetHeight},getOuterWidth:function(e,t){if(t){var n=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-left"),10),r=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-right"),10);return e.offsetWidth+n+r}return e.offsetWidth},getOuterSize:function(e,t){return{width:this.getOuterWidth(e,t),height:this.getOuterHeight(e,t)}},__P_83_0:{visible:!0,hidden:!0},getContentWidth:function(e){var t=qx.bom.element.Style,n=qx.bom.element.Style.get(e,"overflowX"),r=parseInt(t.get(e,"paddingLeft")||"0px",10),i=parseInt(t.get(e,"paddingRight")||"0px",10);if(this.__P_83_0[n]){var o=e.clientWidth;("opera"==qx.core.Environment.get("engine.name")||qx.dom.Node.isBlockNode(e))&&(o=o-r-i);return"mshtml"==qx.core.Environment.get("engine.name")&&0===o&&0===e.offsetHeight?e.offsetWidth:o}if(e.clientWidth>=e.scrollWidth)return Math.max(e.clientWidth,e.scrollWidth)-r-i;var s=e.scrollWidth-r;"mshtml"==qx.core.Environment.get("engine.name")&&(s-=i);return s},getContentHeight:function(e){var t=qx.bom.element.Style,n=qx.bom.element.Style.get(e,"overflowY"),r=parseInt(t.get(e,"paddingTop")||"0px",10),i=parseInt(t.get(e,"paddingBottom")||"0px",10);return this.__P_83_0[n]?e.clientHeight-r-i:e.clientHeight>=e.scrollHeight?Math.max(e.clientHeight,e.scrollHeight)-r-i:e.scrollHeight-r},getContentSize:function(e){return{width:this.getContentWidth(e),height:this.getContentHeight(e)}}}});qx.bom.element.Dimension.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.Viewport":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Document",{statics:{isQuirksMode:qx.core.Environment.select("engine.name",{mshtml:function(e){return qx.core.Environment.get("engine.version")>=8?5===(e||window).document.documentMode:"CSS1Compat"!==(e||window).document.compatMode},webkit:function(e){if(void 0===document.compatMode){var t=(e||window).document.createElement("div");t.style.cssText="position:absolute;width:0;height:0;width:1";return"1px"===t.style.width}return"CSS1Compat"!==(e||window).document.compatMode},default:function(e){return"CSS1Compat"!==(e||window).document.compatMode}}),isStandardMode:function(e){return!this.isQuirksMode(e)},getWidth:function(e){var t=(e||window).document,n=qx.bom.Viewport.getWidth(e),r=this.isStandardMode(e)?t.documentElement.scrollWidth:t.body.scrollWidth;return Math.max(r,n)},getHeight:function(e){var t=(e||window).document,n=qx.bom.Viewport.getHeight(e),r=this.isStandardMode(e)?t.documentElement.scrollHeight:t.body.scrollHeight;return Math.max(r,n)}}});qx.bom.Document.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.Document":{},"qx.bom.client.OperatingSystem":{require:!0}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Viewport",{statics:{getWidth:function(e){var t=(e=e||window).document;return qx.bom.Document.isStandardMode(e)?t.documentElement.clientWidth:t.body.clientWidth},getHeight:function(e){var t=(e=e||window).document;return"ios"==qx.core.Environment.get("os.name")&&window.innerHeight!=t.documentElement.clientHeight?window.innerHeight:qx.bom.Document.isStandardMode(e)?t.documentElement.clientHeight:t.body.clientHeight},getScrollLeft:function(e){if(void 0!==(e=e||window).pageXOffset)return e.pageXOffset;var t=e.document;return t.documentElement.scrollLeft||t.body.scrollLeft},getScrollTop:function(e){if(void 0!==(e=e||window).pageYOffset)return e.pageYOffset;var t=e.document;return t.documentElement.scrollTop||t.body.scrollTop},__P_109_0:function(e){var t=this.getWidth(e)>this.getHeight(e)?90:0,n=e.orientation;return null==n||Math.abs(n%180)==t?{"-270":90,"-180":180,"-90":-90,0:0,90:90,180:180,270:-90}:{"-270":180,"-180":-90,"-90":0,0:90,90:180,180:-90,270:0}},__P_109_1:null,getOrientation:function(e){var t=(e=e||window.top).orientation;if(null==t)t=this.getWidth(e)>this.getHeight(e)?90:0;else{null==this.__P_109_1&&(this.__P_109_1=this.__P_109_0(e));t=this.__P_109_1[t]}return t},isLandscape:function(e){var t=this.getOrientation(e);return-90===t||90===t},isPortrait:function(e){var t=this.getOrientation(e);return 0===t||180===t}}});qx.bom.Viewport.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.dom.Node":{},"qx.bom.Viewport":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.element.BoxSizing":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"browser.quirksmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Location",{statics:{__P_91_0:function(e,t){return qx.bom.element.Style.get(e,t,qx.bom.element.Style.COMPUTED_MODE,!1)},__P_91_1:function(e,t){return parseInt(qx.bom.element.Style.get(e,t,qx.bom.element.Style.COMPUTED_MODE,!1),10)||0},__P_91_2:function(e){var t=0,n=0,r=qx.dom.Node.getWindow(e);return{left:t-=qx.bom.Viewport.getScrollLeft(r),top:n-=qx.bom.Viewport.getScrollTop(r)}},__P_91_3:qx.core.Environment.select("engine.name",{mshtml:function(e){var t=qx.dom.Node.getDocument(e),n=t.body,r=0,i=0;r-=n.clientLeft+t.documentElement.clientLeft;i-=n.clientTop+t.documentElement.clientTop;if(!qx.core.Environment.get("browser.quirksmode")){r+=this.__P_91_1(n,"borderLeftWidth");i+=this.__P_91_1(n,"borderTopWidth")}return{left:r,top:i}},webkit:function(e){var t=qx.dom.Node.getDocument(e).body;return{left:t.offsetLeft,top:t.offsetTop}},gecko:function(e){var t=qx.dom.Node.getDocument(e).body,n=t.offsetLeft,r=t.offsetTop;if("border-box"!==qx.bom.element.BoxSizing.get(t)){n+=this.__P_91_1(t,"borderLeftWidth");r+=this.__P_91_1(t,"borderTopWidth")}return{left:n,top:r}},default:function(e){var t=qx.dom.Node.getDocument(e).body;return{left:t.offsetLeft,top:t.offsetTop}}}),__P_91_4:function(e){var t=e.getBoundingClientRect();return{left:Math.round(t.left),top:Math.round(t.top)}},get:function(e,t){if("BODY"==e.tagName)var n=this.__P_91_5(e),r=n.left,i=n.top;else{var o=this.__P_91_3(e),s=this.__P_91_4(e),a=this.__P_91_2(e);r=s.left+o.left-a.left,i=s.top+o.top-a.top}var u,l;if(e instanceof SVGElement){var c=e.getBoundingClientRect();u=c.width;l=c.height}else{u=e.offsetWidth;l=e.offsetHeight}var h=r+u,d=i+l;if(t){if("padding"==t||"scroll"==t){var f=qx.bom.element.Style.get(e,"overflowX");"scroll"!=f&&"auto"!=f||(h+=e.scrollWidth-u+this.__P_91_1(e,"borderLeftWidth")+this.__P_91_1(e,"borderRightWidth"));var _=qx.bom.element.Style.get(e,"overflowY");"scroll"!=_&&"auto"!=_||(d+=e.scrollHeight-l+this.__P_91_1(e,"borderTopWidth")+this.__P_91_1(e,"borderBottomWidth"))}switch(t){case"padding":r+=this.__P_91_1(e,"paddingLeft");i+=this.__P_91_1(e,"paddingTop");h-=this.__P_91_1(e,"paddingRight");d-=this.__P_91_1(e,"paddingBottom");case"scroll":r-=e.scrollLeft;i-=e.scrollTop;h-=e.scrollLeft;d-=e.scrollTop;case"border":r+=this.__P_91_1(e,"borderLeftWidth");i+=this.__P_91_1(e,"borderTopWidth");h-=this.__P_91_1(e,"borderRightWidth");d-=this.__P_91_1(e,"borderBottomWidth");break;case"margin":r-=this.__P_91_1(e,"marginLeft");i-=this.__P_91_1(e,"marginTop");h+=this.__P_91_1(e,"marginRight");d+=this.__P_91_1(e,"marginBottom")}}return{left:r,top:i,right:h,bottom:d}},__P_91_5:function(e){var t=e.offsetTop,n=e.offsetLeft;t+=this.__P_91_1(e,"marginTop");n+=this.__P_91_1(e,"marginLeft");if("gecko"===qx.core.Environment.get("engine.name")){t+=this.__P_91_1(e,"borderLeftWidth");n+=this.__P_91_1(e,"borderTopWidth")}return{left:n,top:t}},getLeft:function(e,t){return this.get(e,t).left},getTop:function(e,t){return this.get(e,t).top},getRight:function(e,t){return this.get(e,t).right},getBottom:function(e,t){return this.get(e,t).bottom},getRelative:function(e,t,n,r){var i=this.get(e,n),o=this.get(t,r);return{left:i.left-o.left,top:i.top-o.top,right:i.right-o.right,bottom:i.bottom-o.bottom}},getPosition:function(e){return this.getRelative(e,this.getOffsetParent(e))},getOffsetParent:function(e){if(e instanceof SVGElement)return document.body;for(var t=e.offsetParent||document.body,n=qx.bom.element.Style;t&&!/^body|html$/i.test(t.tagName)&&"static"===n.get(t,"position");)t=t.offsetParent;return t}}});qx.bom.element.Location.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.lang.normalize.String":{require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Clip",{statics:{compile:function(e){if(!e)return"clip:auto;";var t,n,r=e.left,i=e.top,o=e.width,s=e.height;if(null==r){t=null==o?"auto":o+"px";r="auto"}else{t=null==o?"auto":r+o+"px";r+="px"}if(null==i){n=null==s?"auto":s+"px";i="auto"}else{n=null==s?"auto":i+s+"px";i+="px"}return"clip:rect("+i+","+t+","+n+","+r+");"},get:function(e,t){var n,r,i,o,s,a,u=qx.bom.element.Style.get(e,"clip",t,!1);if("string"==typeof u&&"auto"!==u&&""!==u){u=u.trim();if(!/\((.*)\)/.test(u))throw new Error("Could not parse clip string: "+u);var l=RegExp.$1;if(/,/.test(l))var c=l.split(",");else c=l.split(" ");r=c[0].trim();s=c[1].trim();a=c[2].trim();"auto"===(n=c[3].trim())&&(n=null);"auto"===r&&(r=null);"auto"===s&&(s=null);"auto"===a&&(a=null);null!=r&&(r=parseInt(r,10));null!=s&&(s=parseInt(s,10));null!=a&&(a=parseInt(a,10));null!=n&&(n=parseInt(n,10));null!=s&&null!=n?i=s-n:null!=s&&(i=s);null!=a&&null!=r?o=a-r:null!=a&&(o=a)}return{left:n||null,top:r||null,width:i||null,height:o||null}},set:function(e,t){if(t){var n,r,i=t.left,o=t.top,s=t.width,a=t.height;if(null==i){n=null==s?"auto":s+"px";i="auto"}else{n=null==s?"auto":i+s+"px";i+="px"}if(null==o){r=null==a?"auto":a+"px";o="auto"}else{r=null==a?"auto":o+a+"px";o+="px"}e.style.clip="rect("+o+","+n+","+r+","+i+")"}else e.style.clip="rect(auto,auto,auto,auto)"},reset:function(e){e.style.clip="rect(auto, auto, auto, auto)"}}});qx.bom.element.Clip.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.bom.client.Engine":{defer:"load",require:!0},"qx.bom.client.Browser":{defer:"load",require:!0}},environment:{provided:[],required:{"engine.name":{defer:!0,className:"qx.bom.client.Engine"},"engine.version":{defer:!0,className:"qx.bom.client.Engine"},"browser.documentmode":{defer:!0,className:"qx.bom.client.Browser"},"browser.quirksmode":{defer:!0,className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Cursor",{statics:{__P_162_0:{},compile:function(e){return"cursor:"+(this.__P_162_0[e]||e)+";"},get:function(e,t){return qx.bom.element.Style.get(e,"cursor",t,!1)},set:function(e,t){e.style.cursor=this.__P_162_0[t]||t},reset:function(e){e.style.cursor=""}},defer:function(e){if("mshtml"==qx.core.Environment.get("engine.name")&&(parseFloat(qx.core.Environment.get("engine.version"))<9||qx.core.Environment.get("browser.documentmode")<9)&&!qx.core.Environment.get("browser.quirksmode")){e.__P_162_0["nesw-resize"]="ne-resize";e.__P_162_0["nwse-resize"]="nw-resize"}}});qx.bom.element.Cursor.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Css":{require:!0},"qx.bom.element.Style":{}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"css.opacity":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Opacity",{statics:{compile:qx.core.Environment.select("engine.name",{mshtml:function(e){e>=1&&(e=1);e<1e-5&&(e=0);return qx.core.Environment.get("css.opacity")?"opacity:"+e+";":"zoom:1;filter:alpha(opacity="+100*e+");"},default:function(e){return"opacity:"+e+";"}}),set:qx.core.Environment.select("engine.name",{mshtml:function(e,t){if(qx.core.Environment.get("css.opacity"))e.style.opacity=t;else{var n=qx.bom.element.Style.get(e,"filter",qx.bom.element.Style.COMPUTED_MODE,!1);t>=1&&(t=1);t<1e-5&&(t=0);e.currentStyle&&e.currentStyle.hasLayout||(e.style.zoom=1);e.style.filter=n.replace(/alpha\([^\)]*\)/gi,"")+"alpha(opacity="+100*t+")"}},default:function(e,t){e.style.opacity=t}}),reset:qx.core.Environment.select("engine.name",{mshtml:function(e){if(qx.core.Environment.get("css.opacity"))e.style.opacity="";else{var t=qx.bom.element.Style.get(e,"filter",qx.bom.element.Style.COMPUTED_MODE,!1);e.style.filter=t.replace(/alpha\([^\)]*\)/gi,"")}},default:function(e){e.style.opacity=""}}),get:qx.core.Environment.select("engine.name",{mshtml:function(e,t){if(qx.core.Environment.get("css.opacity")){return null!=(r=qx.bom.element.Style.get(e,"opacity",t,!1))?parseFloat(r):1}var n=qx.bom.element.Style.get(e,"filter",t,!1);if(n){var r;if((r=n.match(/alpha\(opacity=(.*)\)/))&&r[1])return parseFloat(r[1])/100}return 1},default:function(e,t){var n=qx.bom.element.Style.get(e,"opacity",t,!1);return null!=n?parseFloat(n):1}})}});qx.bom.element.Opacity.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Css":{require:!0},"qx.bom.Style":{},"qx.bom.element.Style":{},"qx.bom.Document":{},"qx.dom.Node":{}},environment:{provided:[],required:{"css.boxsizing":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.BoxSizing",{statics:{__P_157_0:{tags:{button:!0,select:!0},types:{search:!0,button:!0,submit:!0,reset:!0,checkbox:!0,radio:!0}},__P_157_1:function(e){var t=this.__P_157_0;return t.tags[e.tagName.toLowerCase()]||t.types[e.type]},compile:function(e){if(qx.core.Environment.get("css.boxsizing")){return qx.bom.Style.getCssName(qx.core.Environment.get("css.boxsizing"))+":"+e+";"}},get:function(e){return qx.core.Environment.get("css.boxsizing")?qx.bom.element.Style.get(e,"boxSizing",null,!1)||"":qx.bom.Document.isStandardMode(qx.dom.Node.getWindow(e))&&!this.__P_157_1(e)?"content-box":"border-box"},set:function(e,t){if(qx.core.Environment.get("css.boxsizing"))try{e.style[qx.core.Environment.get("css.boxsizing")]=t}catch(e){}},reset:function(e){this.set(e,"")}}});qx.bom.element.BoxSizing.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.lang.String":{require:!0,defer:"runtime"},"qx.bom.client.Css":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.bom.Style":{},"qx.bom.element.Clip":{require:!0},"qx.bom.element.Cursor":{require:!0},"qx.bom.element.Opacity":{require:!0},"qx.bom.element.BoxSizing":{require:!0},"qx.dom.Node":{}},environment:{provided:[],required:{"css.appearance":{className:"qx.bom.client.Css"},"css.userselect":{className:"qx.bom.client.Css"},"css.textoverflow":{className:"qx.bom.client.Css"},"css.borderimage":{className:"qx.bom.client.Css"},"css.float":{className:"qx.bom.client.Css"},"css.usermodify":{className:"qx.bom.client.Css"},"css.boxsizing":{className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Style",{statics:{__P_110_0:null,__P_110_1:null,__P_110_2:function(){var e={appearance:qx.core.Environment.get("css.appearance"),userSelect:qx.core.Environment.get("css.userselect"),textOverflow:qx.core.Environment.get("css.textoverflow"),borderImage:qx.core.Environment.get("css.borderimage"),float:qx.core.Environment.get("css.float"),userModify:qx.core.Environment.get("css.usermodify"),boxSizing:qx.core.Environment.get("css.boxsizing")};this.__P_110_1={};for(var t in qx.lang.Object.clone(e))e[t]?"float"===t?this.__P_110_1.cssFloat=t:this.__P_110_1[t]=qx.bom.Style.getCssName(e[t]):delete e[t];this.__P_110_0=e},__P_110_3:function(e){var t=qx.bom.Style.getPropertyName(e);t&&(this.__P_110_0[e]=t);return t},__P_110_4:{width:"pixelWidth",height:"pixelHeight",left:"pixelLeft",right:"pixelRight",top:"pixelTop",bottom:"pixelBottom"},__P_110_5:{clip:qx.bom.element.Clip,cursor:qx.bom.element.Cursor,opacity:qx.bom.element.Opacity,boxSizing:qx.bom.element.BoxSizing},compile:function(e){var t,n,r=[],i=this.__P_110_5,o=this.__P_110_1;for(t in e)if(null!=(n=e[t]))if(i[t=this.__P_110_1[t]||t])r.push(i[t].compile(n));else{o[t]||(o[t]=qx.bom.Style.getCssName(t));r.push(o[t],":",""===n?'""':n,";")}return r.join("")},setCss:function(e,t){e.setAttribute("style",t)},getCss:function(e){return e.getAttribute("style")},isPropertySupported:function(e){return this.__P_110_5[e]||this.__P_110_0[e]||e in document.documentElement.style},COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function(e,t,n,r){t=this.__P_110_0[t]||this.__P_110_3(t)||t;!1!==r&&this.__P_110_5[t]?this.__P_110_5[t].set(e,n):e.style[t]=null!==n?n:""},setStyles:function(e,t,n){var r=this.__P_110_0,i=this.__P_110_5,o=e.style;for(var s in t){var a=t[s],u=r[s]||this.__P_110_3(s)||s;void 0===a?!1!==n&&i[u]?i[u].reset(e):o[u]="":!1!==n&&i[u]?i[u].set(e,a):o[u]=null!==a?a:""}},reset:function(e,t,n){t=this.__P_110_0[t]||this.__P_110_3(t)||t;!1!==n&&this.__P_110_5[t]?this.__P_110_5[t].reset(e):e.style[t]=""},get:function(e,t,n,r){t=this.__P_110_0[t]||this.__P_110_3(t)||t;if(!1!==r&&this.__P_110_5[t])return this.__P_110_5[t].get(e,n);switch(n){case this.LOCAL_MODE:return e.style[t]||"";case this.CASCADED_MODE:if(e.currentStyle)return e.currentStyle[t]||"";throw new Error("Cascaded styles are not supported in this browser!");default:var i=qx.dom.Node.getDocument(e),o=i.defaultView?i.defaultView.getComputedStyle:void 0;if(void 0===o){if(!e.currentStyle)return e.style[t]||"";var s=e.currentStyle[t]||e.style[t]||"";if(/^-?[\.\d]+(px)?$/i.test(s))return s;var a=this.__P_110_4[t];if(a&&a in e.style){var u=e.style[t];e.style[t]=s||0;var l=e.style[a]+"px";e.style[t]=u;return l}return s}var c=o(e,null);return c&&c[t]?c[t]:e.style[t]||""}}},defer:function(e){e.__P_110_2()}});qx.bom.element.Style.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Html":{require:!0}},environment:{provided:[],required:{"html.classlist":{load:!0,className:"qx.bom.client.Html"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.Class",{statics:{__P_189_0:/\s+/g,__P_189_1:/^\s+|\s+$/g,add:{native:function(e,t){t.length>0&&e.classList.add(t);return t},default:function(e,t){this.has(e,t)||(e.className+=(e.className?" ":"")+t);return t}}[qx.core.Environment.get("html.classlist")?"native":"default"],addClasses:{native:function(e,t){for(var n=0;n0&&e.classList.add(t[n]);return e.className},default:function(e,t){var n,r={},i=e.className;if(i){for(var o=0,s=(n=i.split(this.__P_189_0)).length;o=0;r--)n[t[r].name]=t[r].value;t=n}var i={};if(t.style){t.style.split(/;/).forEach((function(e){var t=e.indexOf(":"),n=e.substring(0,t),r=e.substring(t+1).trim();n&&(i[n]=r)}));delete t.style}var o=t["data-qx-classname"];if(o)qx.Class.getByName(o)}var s=this.__P_176_0[e];if(s)for(r=s.length-1;r>-1;r--){var a=s[r];if(a.classname&&qx.Class.getByName(a.classname)===a)return new a(e,i,t);var u=a(e,i,t);if(u)return u}return new qx.html.Element(e,i,t)}}});qx.html.Factory.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.core.Init":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.core.Id",{extend:qx.core.Object,type:"singleton",members:{__P_142_0:null,__P_142_1:null,_createQxObject:function(e){return this._createQxObjectImpl(e)},_createQxObjectImpl:function(e){if(this.__P_142_0){var t=this.__P_142_0[e];if(void 0!==t)return t}if("application"===e)return qx.core.Init.getApplication()||void 0},getAbsoluteIdOf:function(e,t){if(this.__P_142_1&&this.__P_142_1[e.toHashCode()])return e.getQxObjectId();for(var n=[],r=qx.core.Init.getApplication();e;){var i=e.getQxObjectId();if(!i){t||this.error("Cannot determine an absolute Object ID because one of the ancestor ObjectID's is null (got as far as "+n.join("/")+")");return null}n.unshift(i);var o=e.getQxOwner();if(!o){t||this.error("Cannot determine a global absolute Object ID because the topmost object is not registered");return null}var s=null;if(s=o===r?"application":this.__P_142_1&&this.__P_142_1[o.toHashCode()]||null){n.unshift(s);break}e=o}return n.join("/")},register:function(e,t){if(!this.__P_142_0){this.__P_142_0={};this.__P_142_1={}}t||(t=e.getQxObjectId());this.__P_142_0[t]=e;this.__P_142_1[e.toHashCode()]=t;e._cascadeQxObjectIdChanges()},unregister:function(e){if(!this.__P_142_0)return!1;var t;if("string"==typeof e)t=e;else{var n=e.toHashCode();if(!(t=this.__P_142_1[n]))return!1}var r=this.__P_142_0[t];if(r){delete this.__P_142_0[t];delete this.__P_142_1[r.toHashCode()];r._cascadeQxObjectIdChanges();return!0}return!1},getRegisteredObjects:function(){return this.__P_142_0}},statics:{getQxObject:function(e){return this.getInstance().getQxObject(e)},getAbsoluteIdOf:function(e,t){return this.getInstance().getAbsoluteIdOf(e,t)}}});qx.core.Id.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.UserAction":{require:!0,defer:"runtime"},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.lang.Function":{construct:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.bom.Event":{},"qx.bom.client.OperatingSystem":{require:!0},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.event.type.Mouse":{},"qx.event.type.MouseWheel":{},"qx.event.type.Data":{},"qx.bom.client.Event":{},"qx.bom.client.Engine":{require:!0},"qx.dom.Hierarchy":{}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"},"engine.name":{className:"qx.bom.client.Engine",load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Mouse",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this.__P_146_0=e;this.__P_146_1=e.getWindow();this.__P_146_2=this.__P_146_1.document;this.__P_146_3=qx.lang.Function.listener(this._onNative,this);this._initButtonObserver();this._initMoveObserver();this._initWheelObserver()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{auxclick:1,click:1,contextmenu:1,dblclick:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,mousewheel:1},NON_BUBBLING_EVENTS:{mouseenter:!0,mouseleave:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT+qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:!0},members:{__P_146_4:null,__P_146_5:null,__P_146_6:null,__P_146_7:null,__P_146_8:null,__P_146_0:null,__P_146_1:null,__P_146_2:null,__P_146_9:null,__P_146_3:null,canHandleEvent:function(e,t){},registerEvent:function(e,t,n){qx.event.handler.Mouse.NON_BUBBLING_EVENTS[t]?qx.bom.Event.addNativeListener(e,t,this.__P_146_3):"ios"===qx.core.Environment.get("os.name")&&(e["on"+t]=function(){return null})},unregisterEvent:function(e,t,n){qx.event.handler.Mouse.NON_BUBBLING_EVENTS[t]?qx.bom.Event.removeNativeListener(e,t,this.__P_146_3):"ios"===qx.core.Environment.get("os.name")&&(e["on"+t]=void 0)},_onNative:qx.event.GlobalError.observeMethod((function(e){var t=qx.bom.Event.getTarget(e);qx.event.Registration.fireNonBubblingEvent(t,e.type,qx.event.type.Mouse,[e,t,void 0,void 0,e.cancelable])})),__P_146_10:function(e,t,n){n||(n=qx.bom.Event.getTarget(e));n&&n.nodeType&&qx.event.Registration.fireEvent(n,t||e.type,"mousewheel"==t?qx.event.type.MouseWheel:qx.event.type.Mouse,[e,n,null,!0,!0]);qx.event.Registration.fireEvent(this.__P_146_1,"useraction",qx.event.type.Data,[t||e.type])},preventNextClick:function(){this.__P_146_9=!0},_initButtonObserver:function(){this.__P_146_4=qx.lang.Function.listener(this._onButtonEvent,this);var e=qx.bom.Event;e.addNativeListener(this.__P_146_2,"mousedown",this.__P_146_4);e.addNativeListener(this.__P_146_2,"mouseup",this.__P_146_4);e.addNativeListener(this.__P_146_2,"click",this.__P_146_4);e.addNativeListener(this.__P_146_2,"auxclick",this.__P_146_4);e.addNativeListener(this.__P_146_2,"dblclick",this.__P_146_4);e.addNativeListener(this.__P_146_2,"contextmenu",this.__P_146_4)},_initMoveObserver:function(){this.__P_146_5=qx.lang.Function.listener(this._onMoveEvent,this);var e=qx.bom.Event;e.addNativeListener(this.__P_146_2,"mousemove",this.__P_146_5);e.addNativeListener(this.__P_146_2,"mouseout",this.__P_146_5);e.addNativeListener(this.__P_146_2,"mouseover",this.__P_146_5)},_initWheelObserver:function(){this.__P_146_6=qx.lang.Function.listener(this._onWheelEvent,this);var e=qx.bom.client.Event.getMouseWheel(this.__P_146_1);qx.bom.Event.addNativeListener(e.target,e.type,this.__P_146_6)},_stopButtonObserver:function(){var e=qx.bom.Event;e.removeNativeListener(this.__P_146_2,"mousedown",this.__P_146_4);e.removeNativeListener(this.__P_146_2,"mouseup",this.__P_146_4);e.removeNativeListener(this.__P_146_2,"click",this.__P_146_4);e.removeNativeListener(this.__P_146_2,"dblclick",this.__P_146_4);e.removeNativeListener(this.__P_146_2,"contextmenu",this.__P_146_4)},_stopMoveObserver:function(){var e=qx.bom.Event;e.removeNativeListener(this.__P_146_2,"mousemove",this.__P_146_5);e.removeNativeListener(this.__P_146_2,"mouseover",this.__P_146_5);e.removeNativeListener(this.__P_146_2,"mouseout",this.__P_146_5)},_stopWheelObserver:function(){var e=qx.bom.client.Event.getMouseWheel(this.__P_146_1);qx.bom.Event.removeNativeListener(e.target,e.type,this.__P_146_6)},_onMoveEvent:qx.event.GlobalError.observeMethod((function(e){this.__P_146_10(e)})),_onButtonEvent:qx.event.GlobalError.observeMethod((function(e){var t=e.type,n=qx.bom.Event.getTarget(e);if("click"==t&&this.__P_146_9)delete this.__P_146_9;else{"gecko"!=qx.core.Environment.get("engine.name")&&"webkit"!=qx.core.Environment.get("engine.name")||n&&3==n.nodeType&&(n=n.parentNode);var r=qx.event.handler.DragDrop&&this.__P_146_0.getHandler(qx.event.handler.DragDrop).isSessionActive();if(!r||"click"!=t){this.__P_146_11&&this.__P_146_11(e,t,n);this.__P_146_10(e,t,n);"auxclick"==t&&1==e.button&&this.__P_146_10(e,"click",n);this.__P_146_12&&this.__P_146_12(e,t,n);this.__P_146_13&&!r&&this.__P_146_13(e,t,n);this.__P_146_7=t}}})),_onWheelEvent:qx.event.GlobalError.observeMethod((function(e){this.__P_146_10(e,"mousewheel")})),__P_146_12:qx.core.Environment.select("engine.name",{opera:function(e,t,n){"mouseup"==t&&2==e.button&&this.__P_146_10(e,"contextmenu",n)},default:null}),__P_146_11:qx.core.Environment.select("engine.name",{mshtml:function(e,t,n){void 0===e.target&&("mouseup"==t&&"click"==this.__P_146_7?this.__P_146_10(e,"mousedown",n):"dblclick"==t&&this.__P_146_10(e,"click",n))},default:null}),__P_146_13:qx.core.Environment.select("engine.name",{mshtml:null,default:function(e,t,n){switch(t){case"mousedown":this.__P_146_8=n;break;case"mouseup":if(n!==this.__P_146_8){var r=qx.dom.Hierarchy.getCommonParent(n,this.__P_146_8);r&&this.__P_146_10(e,"click",r)}}}})},destruct:function(){this._stopButtonObserver();this._stopMoveObserver();this._stopWheelObserver();this.__P_146_0=this.__P_146_1=this.__P_146_2=this.__P_146_8=null},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Mouse.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.core.ObjectRegistry":{},"qx.lang.Function":{},"qx.bom.Event":{},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.event.type.Native":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Element",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this._manager=e;this._registeredEvents={}},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{abort:!0,load:!0,scroll:!0,select:!0,reset:!0,submit:!0},CANCELABLE:{selectstart:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!1},members:{canHandleEvent:function(e,t){return"load"!==t||"iframe"!==e.tagName.toLowerCase()},registerEvent:function(e,t,n){var r=qx.core.ObjectRegistry.toHashCode(e)+"-"+t,i=qx.lang.Function.listener(this._onNative,this,r);qx.bom.Event.addNativeListener(e,t,i);this._registeredEvents[r]={element:e,type:t,listener:i}},unregisterEvent:function(e,t,n){if(this._registeredEvents){var r=qx.core.ObjectRegistry.toHashCode(e)+"-"+t,i=this._registeredEvents[r];i&&qx.bom.Event.removeNativeListener(e,t,i.listener);delete this._registeredEvents[r]}},_onNative:qx.event.GlobalError.observeMethod((function(e,t){var n=this._registeredEvents;if(n){var r=n[t],i=e.cancelable||this.constructor.CANCELABLE[r.type];qx.event.Registration.fireNonBubblingEvent(r.element,r.type,qx.event.type.Native,[e,void 0,void 0,void 0,i])}}))},destruct:function(){var e,t=this._registeredEvents;for(var n in t){e=t[n];qx.bom.Event.removeNativeListener(e.element,e.type,e.listener)}this._manager=this._registeredEvents=null},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Element.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.core.ObjectRegistry":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.event.Utils":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Appear",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this.__P_141_0=e;this.__P_141_1={};qx.event.handler.Appear.__P_141_2[this.toHashCode()]=this},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{appear:!0,disappear:!0},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!0,__P_141_2:{},refresh:function(){var e=this.__P_141_2;for(var t in e)e[t].refresh()}},members:{__P_141_0:null,__P_141_1:null,canHandleEvent:function(e,t){},registerEvent:function(e,t,n){var r=qx.core.ObjectRegistry.toHashCode(e)+t,i=this.__P_141_1;if(i&&!i[r]){i[r]=e;e.$$displayed=e.offsetWidth>0}},unregisterEvent:function(e,t,n){var r=qx.core.ObjectRegistry.toHashCode(e)+t,i=this.__P_141_1;i&&i[r]&&delete i[r]},refresh:function(){var e=this.__P_141_1,t="mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9,n={},r=this;Object.keys(e).forEach((function(i){var o=e[i];void 0!==o&&qx.event.Utils.then(n,(function(){var e=o.offsetWidth>0;!e&&t&&(e=o.offsetWidth>0);if(!!o.$$displayed!==e){o.$$displayed=e;var n=qx.event.Registration.createEvent(e?"appear":"disappear");return r.__P_141_0.dispatchEvent(o,n)}}))}));return n.promise}},destruct:function(){this.__P_141_0=this.__P_141_1=null;delete qx.event.handler.Appear.__P_141_2[this.toHashCode()]},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Appear.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.lang.Function":{},"qx.bom.Event":{},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.Viewport":{},"qx.event.type.Orientation":{}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Orientation",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this.__P_179_0=e;this.__P_179_1=e.getWindow();this._initObserver()},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{orientationchange:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:!0},members:{__P_179_0:null,__P_179_1:null,__P_179_2:null,_currentOrientation:null,__P_179_3:null,canHandleEvent:function(e,t){},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){},_initObserver:function(){this.__P_179_3=qx.lang.Function.listener(this._onNative,this);this.__P_179_2=qx.bom.Event.supportsEvent(this.__P_179_1,"orientationchange")?"orientationchange":"resize";qx.bom.Event.addNativeListener(this.__P_179_1,this.__P_179_2,this.__P_179_3)},_stopObserver:function(){qx.bom.Event.removeNativeListener(this.__P_179_1,this.__P_179_2,this.__P_179_3)},_onNative:qx.event.GlobalError.observeMethod((function(e){var t=0;"android"==qx.core.Environment.get("os.name")&&(t=300);qx.lang.Function.delay(this._onOrientationChange,t,this,e)})),_onOrientationChange:function(e){var t=qx.bom.Viewport,n=t.getOrientation(e.target);if(this._currentOrientation!=n){this._currentOrientation=n;var r=t.isLandscape(e.target)?"landscape":"portrait";qx.event.Registration.fireEvent(this.__P_179_1,"orientationchange",qx.event.type.Orientation,[n,r])}}},destruct:function(){this._stopObserver();this.__P_179_0=this.__P_179_1=null},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Orientation.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.bom.client.Device":{require:!0},"qx.lang.Function":{},"qx.bom.client.Event":{require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.Event":{},"qx.bom.client.Browser":{require:!0},"qx.bom.element.Style":{}},environment:{provided:[],required:{"os.name":{load:!0,className:"qx.bom.client.OperatingSystem"},"device.touch":{load:!0,className:"qx.bom.client.Device"},"event.mspointer":{className:"qx.bom.client.Event"},"engine.version":{className:"qx.bom.client.Engine"},"engine.name":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.event.handler.TouchCore",{extend:Object,implement:[qx.core.IDisposable],statics:{TAP_MAX_DISTANCE:"android"!=qx.core.Environment.get("os.name")?10:40,SWIPE_DIRECTION:{x:["left","right"],y:["up","down"]},SWIPE_MIN_DISTANCE:"android"!=qx.core.Environment.get("os.name")?11:41,SWIPE_MIN_VELOCITY:0,LONGTAP_TIME:qx.core.Environment.get("device.touch")?500:99999},construct:function(e,t){this.__P_180_0=e;this.__P_180_1=t;this._initTouchObserver();this.__P_180_2=[];this.__P_180_3={}},members:{__P_180_0:null,__P_180_1:null,__P_180_4:null,__P_180_5:null,__P_180_3:null,__P_180_6:null,__P_180_7:null,__P_180_8:null,__P_180_2:null,__P_180_9:null,_initTouchObserver:function(){this.__P_180_4=qx.lang.Function.listener(this._onTouchEvent,this);this.__P_180_9=["touchstart","touchmove","touchend","touchcancel"];if(qx.core.Environment.get("event.mspointer")){var e=parseInt(qx.core.Environment.get("engine.version"),10);this.__P_180_9=10==e?["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerCancel"]:["pointerdown","pointermove","pointerup","pointercancel"]}for(var t=0;t1){this.__P_180_7=this._getScalingDistance(e.touches[0],e.touches[1]);this.__P_180_8=this._getRotationAngle(e.touches[0],e.touches[1])}for(var r=0;r1){var o=this._getScalingDistance(e.targetTouches[0],e.targetTouches[1]);e.scale=o/this.__P_180_7}if((void 0===e.rotation||qx.core.Environment.get("event.mspointer"))&&e.targetTouches.length>1){var s=this._getRotationAngle(e.targetTouches[0],e.targetTouches[1]);e._rotation=s-this.__P_180_8}e.delta=this._calcTouchesDelta(e.targetTouches)}this._fireEvent(e,t,this.__P_180_5);qx.core.Environment.get("event.mspointer")&&("touchend"!=t&&"touchcancel"!=t||delete this.__P_180_2[e.pointerId]);"touchend"!=t&&"touchcancel"!=t||!e.changedTouches[0]||delete this.__P_180_3[e.changedTouches[0].identifier]},_detectTouchesByPointer:function(e,t){var n=[];("touchstart"==t||"touchmove"==t)&&(this.__P_180_2[e.pointerId]=e);for(var r in this.__P_180_2){var i=this.__P_180_2[r];n.push(i)}return n},_mapPointerEvent:function(e){return-1!==(e=e.toLowerCase()).indexOf("pointerdown")?"touchstart":-1!==e.indexOf("pointerup")?"touchend":-1!==e.indexOf("pointermove")?"touchmove":-1!==e.indexOf("pointercancel")?"touchcancel":e},_getTarget:function(e){var t=qx.bom.Event.getTarget(e);if("webkit"==qx.core.Environment.get("engine.name"))t&&3==t.nodeType&&(t=t.parentNode);else if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<11){var n=this.__P_180_10(e);n&&(t=n)}return t},__P_180_10:function(e){var t=null,n=null;if(e&&e.touches&&0!==e.touches.length){t=e.touches[0].clientX;n=e.touches[0].clientY}var r=document.msElementsFromPoint(t,n);if(r)for(var i=0;i=9&&qx.core.Environment.get("browser.documentmode")<9)){if(!e.__P_149_4){var r=e.tagName.toLowerCase(),i=e.type;"text"!==i&&"password"!==i&&"textarea"!==r&&"checkbox"!==i&&"radio"!==i||qx.bom.Event.addNativeListener(e,"propertychange",this._onPropertyWrapper);"checkbox"!==i&&"radio"!==i&&qx.bom.Event.addNativeListener(e,"change",this._onChangeValueWrapper);if("text"===i||"password"===i){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,e);qx.bom.Event.addNativeListener(e,"keypress",this._onKeyPressWrapped)}e.__P_149_4=!0}}else if("input"===t)this.__P_149_5(e);else if("change"===t){"radio"===e.type||"checkbox"===e.type?qx.bom.Event.addNativeListener(e,"change",this._onChangeCheckedWrapper):qx.bom.Event.addNativeListener(e,"change",this._onChangeValueWrapper);if(!("opera"!=qx.core.Environment.get("engine.name")&&"mshtml"!=qx.core.Environment.get("engine.name")||"text"!==e.type&&"password"!==e.type)){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,e);qx.bom.Event.addNativeListener(e,"keypress",this._onKeyPressWrapped)}}},__P_149_5:qx.core.Environment.select("engine.name",{mshtml:function(e){if(qx.core.Environment.get("engine.version")>=9&&qx.core.Environment.get("browser.documentmode")>=9){qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper);if("text"===e.type||"password"===e.type||"textarea"===e.type){this._inputFixWrapper=qx.lang.Function.listener(this._inputFix,this,e);qx.bom.Event.addNativeListener(e,"keyup",this._inputFixWrapper)}}},webkit:function(e){var t=e.tagName.toLowerCase();parseFloat(qx.core.Environment.get("engine.version"))<532&&"textarea"==t&&qx.bom.Event.addNativeListener(e,"keypress",this._onInputWrapper);qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper)},opera:function(e){qx.bom.Event.addNativeListener(e,"keyup",this._onKeyUpWrapper);qx.bom.Event.addNativeListener(e,"keydown",this._onKeyDownWrapper);qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper)},default:function(e){qx.bom.Event.addNativeListener(e,"input",this._onInputWrapper)}}),unregisterEvent:function(e,t){if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("engine.version")<9&&qx.core.Environment.get("browser.documentmode")<9){if(e.__P_149_4){var n=e.tagName.toLowerCase(),r=e.type;"text"!==r&&"password"!==r&&"textarea"!==n&&"checkbox"!==r&&"radio"!==r||qx.bom.Event.removeNativeListener(e,"propertychange",this._onPropertyWrapper);"checkbox"!==r&&"radio"!==r&&qx.bom.Event.removeNativeListener(e,"change",this._onChangeValueWrapper);"text"!==r&&"password"!==r||qx.bom.Event.removeNativeListener(e,"keypress",this._onKeyPressWrapped);try{delete e.__P_149_4}catch(t){e.__P_149_4=null}}}else{"input"===t?this.__P_149_6(e):"change"===t&&("radio"===e.type||"checkbox"===e.type?qx.bom.Event.removeNativeListener(e,"change",this._onChangeCheckedWrapper):qx.bom.Event.removeNativeListener(e,"change",this._onChangeValueWrapper));"opera"!=qx.core.Environment.get("engine.name")&&"mshtml"!=qx.core.Environment.get("engine.name")||"text"!==e.type&&"password"!==e.type||qx.bom.Event.removeNativeListener(e,"keypress",this._onKeyPressWrapped)}},__P_149_6:qx.core.Environment.select("engine.name",{mshtml:function(e){if(qx.core.Environment.get("engine.version")>=9&&qx.core.Environment.get("browser.documentmode")>=9){qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper);"text"!==e.type&&"password"!==e.type&&"textarea"!==e.type||qx.bom.Event.removeNativeListener(e,"keyup",this._inputFixWrapper)}},webkit:function(e){var t=e.tagName.toLowerCase();parseFloat(qx.core.Environment.get("engine.version"))<532&&"textarea"==t&&qx.bom.Event.removeNativeListener(e,"keypress",this._onInputWrapper);qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper)},opera:function(e){qx.bom.Event.removeNativeListener(e,"keyup",this._onKeyUpWrapper);qx.bom.Event.removeNativeListener(e,"keydown",this._onKeyDownWrapper);qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper)},default:function(e){qx.bom.Event.removeNativeListener(e,"input",this._onInputWrapper)}}),_onKeyPress:qx.core.Environment.select("engine.name",{mshtml:function(e,t){if(13===e.keyCode&&t.value!==this.__P_149_2){this.__P_149_2=t.value;qx.event.Registration.fireEvent(t,"change",qx.event.type.Data,[t.value])}},opera:function(e,t){if(13===e.keyCode&&t.value!==this.__P_149_2){this.__P_149_2=t.value;qx.event.Registration.fireEvent(t,"change",qx.event.type.Data,[t.value])}},default:null}),_inputFix:qx.core.Environment.select("engine.name",{mshtml:function(e,t){if((46===e.keyCode||8===e.keyCode)&&t.value!==this.__P_149_3){this.__P_149_3=t.value;qx.event.Registration.fireEvent(t,"input",qx.event.type.Data,[t.value])}},default:null}),_onKeyDown:qx.core.Environment.select("engine.name",{opera:function(e){13===e.keyCode&&(this.__P_149_0=!0)},default:null}),_onKeyUp:qx.core.Environment.select("engine.name",{opera:function(e){13===e.keyCode&&(this.__P_149_0=!1)},default:null}),_onInput:qx.event.GlobalError.observeMethod((function(e){var t=qx.bom.Event.getTarget(e),n=t.tagName.toLowerCase();this.__P_149_0&&"input"===n||("opera"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.version")<10.6?this.__P_149_1=window.setTimeout((function(){qx.event.Registration.fireEvent(t,"input",qx.event.type.Data,[t.value])}),0):qx.event.Registration.fireEvent(t,"input",qx.event.type.Data,[t.value]))})),_onChangeValue:qx.event.GlobalError.observeMethod((function(e){var t=qx.bom.Event.getTarget(e),n=t.value;if("select-multiple"===t.type){n=[];for(var r=0,i=t.options,o=i.length;r0){u=h[i];for(var f=0,_=a.length;f<_;f++){c=a[f];n.addListener(u,c.type,c.handler,c.self,c.capture)}}}}return s}}});qx.bom.Element.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.dom.Node":{},"qx.bom.client.Html":{require:!0},"qx.lang.Array":{}},environment:{provided:[],required:{"html.element.contains":{className:"qx.bom.client.Html"},"html.element.compareDocumentPosition":{className:"qx.bom.client.Html"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.dom.Hierarchy",{statics:{getNodeIndex:function(e){for(var t=0;e&&(e=e.previousSibling);)t++;return t},getElementIndex:function(e){for(var t=0,n=qx.dom.Node.ELEMENT;e&&(e=e.previousSibling);)e.nodeType==n&&t++;return t},getNextElementSibling:function(e){for(;e&&(e=e.nextSibling)&&!qx.dom.Node.isElement(e););return e||null},getPreviousElementSibling:function(e){for(;e&&(e=e.previousSibling)&&!qx.dom.Node.isElement(e););return e||null},contains:function(e,t){if(qx.core.Environment.get("html.element.contains")){if(qx.dom.Node.isDocument(e)){var n=qx.dom.Node.getDocument(t);return e&&n==e}return!qx.dom.Node.isDocument(t)&&e.contains(t)}if(qx.core.Environment.get("html.element.compareDocumentPosition"))return!!(16&e.compareDocumentPosition(t));for(;t;){if(e==t)return!0;t=t.parentNode}return!1},isRendered:function(e){var t=e.ownerDocument||e.document;if(qx.core.Environment.get("html.element.contains"))return!!e.parentNode&&t.body.contains(e);if(qx.core.Environment.get("html.element.compareDocumentPosition"))return!!(16&t.compareDocumentPosition(e));for(;e;){if(e==t.body)return!0;e=e.parentNode}return!1},isDescendantOf:function(e,t){return this.contains(t,e)},getCommonParent:function(e,t){if(e===t)return e;if(qx.core.Environment.get("html.element.contains")){for(;e&&qx.dom.Node.isElement(e);){if(e.contains(t))return e;e=e.parentNode}return null}for(var n=[];e||t;){if(e){if(n.includes(e))return e;n.push(e);e=e.parentNode}if(t){if(n.includes(t))return t;n.push(t);t=t.parentNode}}return null},getAncestors:function(e){return this._recursivelyCollect(e,"parentNode")},getChildElements:function(e){if(!(e=e.firstChild))return[];var t=this.getNextSiblings(e);1===e.nodeType&&t.unshift(e);return t},getDescendants:function(e){return qx.lang.Array.fromCollection(e.getElementsByTagName("*"))},getFirstDescendant:function(e){e=e.firstChild;for(;e&&1!=e.nodeType;)e=e.nextSibling;return e},getLastDescendant:function(e){e=e.lastChild;for(;e&&1!=e.nodeType;)e=e.previousSibling;return e},getPreviousSiblings:function(e){return this._recursivelyCollect(e,"previousSibling")},getNextSiblings:function(e){return this._recursivelyCollect(e,"nextSibling")},_recursivelyCollect:function(e,t){for(var n=[];e=e[t];)1==e.nodeType&&n.push(e);return n},getSiblings:function(e){return this.getPreviousSiblings(e).reverse().concat(this.getNextSiblings(e))},isEmpty:function(e){e=e.firstChild;for(;e;){if(e.nodeType===qx.dom.Node.ELEMENT||e.nodeType===qx.dom.Node.TEXT)return!1;e=e.nextSibling}return!0},cleanWhitespace:function(e){for(var t=e.firstChild;t;){var n=t.nextSibling;3!=t.nodeType||/\S/.test(t.nodeValue)||e.removeChild(t);t=n}}}});qx.dom.Hierarchy.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.element.Style":{},"qx.bom.client.Engine":{require:!0},"qx.dom.Node":{},"qx.bom.Viewport":{},"qx.bom.element.Location":{},"qx.event.Registration":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.element.Scroll",{statics:{__P_140_0:null,getScrollbarWidth:function(){if(null!==this.__P_140_0)return this.__P_140_0;var e=qx.bom.element.Style,t=function(t,n){return parseInt(e.get(t,n),10)||0},n=function(n){return"none"==e.get(n,"borderRightStyle")?0:t(n,"borderRightWidth")},r=qx.core.Environment.select("engine.name",{mshtml:function(t){return"hidden"==e.get(t,"overflowY")||0==t.clientWidth?n(t):Math.max(0,t.offsetWidth-t.clientLeft-t.clientWidth)},default:function(r){if(0==r.clientWidth){var i=e.get(r,"overflow"),o="scroll"==i||"-moz-scrollbars-vertical"==i?16:0;return Math.max(0,n(r)+o)}return Math.max(0,r.offsetWidth-r.clientWidth-function(n){return"none"==e.get(n,"borderLeftStyle")?0:t(n,"borderLeftWidth")}(r))}}),i=document.createElement("div"),o=i.style;o.height=o.width="100px";o.overflow="scroll";document.body.appendChild(i);var s,a=r(s=i)-n(s);this.__P_140_0=a;document.body.removeChild(i);return this.__P_140_0},intoViewX:function(e,t,n){var r,i,o,s,a,u,l,c,h,d,f,_,p,m,g,v=e.parentNode,b=qx.dom.Node.getDocument(e),y=b.body,x="left"===n,w="right"===n;t=t?t.parentNode:b;for(;v&&v!=t;){if(v.scrollWidth>v.clientWidth&&(v===y||"visible"!=qx.bom.element.Style.get(v,"overflowY"))){if(v===y){o=(i=v.scrollLeft)+qx.bom.Viewport.getWidth();s=qx.bom.Viewport.getWidth();a=v.clientWidth;v.scrollWidth;u=0;l=0;c=0}else{i=(r=qx.bom.element.Location.get(v)).left;o=r.right;s=v.offsetWidth;a=v.clientWidth;v.scrollWidth;c=s-a-(u=parseInt(qx.bom.element.Style.get(v,"borderLeftWidth"),10)||0)-(l=parseInt(qx.bom.element.Style.get(v,"borderRightWidth"),10)||0)}d=(h=qx.bom.element.Location.get(e)).left;f=h.right;_=e.offsetWidth;p=d-i-u;m=f-o+l;g=0;x?g=p:w?g=m+c:p<0||_>a?g=p:m>0&&(g=m+c);v.scrollLeft+=g;qx.event.Registration.fireNonBubblingEvent(v,"scroll")}if(v===y)break;v=v.parentNode}},intoViewY:function(e,t,n){var r,i,o,s,a,u,l,c,h,d,f,_,p,m,g,v=e.parentNode,b=qx.dom.Node.getDocument(e),y=b.body,x="top"===n,w="bottom"===n;t=t?t.parentNode:b;for(;v&&v!=t;){if(v.scrollHeight>v.clientHeight&&(v===y||"visible"!=qx.bom.element.Style.get(v,"overflowY"))){if(v===y){o=(i=v.scrollTop)+qx.bom.Viewport.getHeight();s=qx.bom.Viewport.getHeight();a=v.clientHeight;v.scrollHeight;u=0;l=0;c=0}else{i=(r=qx.bom.element.Location.get(v)).top;o=r.bottom;s=v.offsetHeight;a=v.clientHeight;v.scrollHeight;c=s-a-(u=parseInt(qx.bom.element.Style.get(v,"borderTopWidth"),10)||0)-(l=parseInt(qx.bom.element.Style.get(v,"borderBottomWidth"),10)||0)}d=(h=qx.bom.element.Location.get(e)).top;f=h.bottom;_=e.offsetHeight;p=d-i-u;m=f-o+l;g=0;x?g=p:w?g=m+c:p<0||_>a?g=p:m>0&&(g=m+c);v.scrollTop+=g;qx.event.Registration.fireNonBubblingEvent(v,"scroll")}if(v===y)break;v=v.parentNode}},intoView:function(e,t,n,r){this.intoViewX(e,t,n);this.intoViewY(e,t,r)}}});qx.bom.element.Scroll.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Html":{require:!0},"qx.dom.Node":{},"qx.bom.Range":{},"qx.util.StringSplit":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"html.selection":{load:!0,className:"qx.bom.client.Html"},"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Selection",{statics:{getSelectionObject:qx.core.Environment.select("html.selection",{selection:function(e){return e.selection},default:function(e){return qx.dom.Node.getWindow(e).getSelection()}}),get:qx.core.Environment.select("html.selection",{selection:function(e){return qx.bom.Range.get(qx.dom.Node.getDocument(e)).text},default:function(e){return this.__P_119_0(e)?e.value.substring(e.selectionStart,e.selectionEnd):this.getSelectionObject(qx.dom.Node.getDocument(e)).toString()}}),getLength:qx.core.Environment.select("html.selection",{selection:function(e){var t=this.get(e),n=qx.util.StringSplit.split(t,/\r\n/);return t.length-(n.length-1)},default:function(e){if("opera"==qx.core.Environment.get("engine.name")){var t,n;if(this.__P_119_0(e)){var r=e.selectionStart,i=e.selectionEnd;t=e.value.substring(r,i);n=i-r}else n=(t=qx.bom.Selection.get(e)).length;return n-(qx.util.StringSplit.split(t,/\r\n/).length-1)}return this.__P_119_0(e)?e.selectionEnd-e.selectionStart:this.get(e).length}}),getStart:qx.core.Environment.select("html.selection",{selection:function(e){if(this.__P_119_0(e)){var t=qx.bom.Range.get();if(!e.contains(t.parentElement()))return-1;var n=qx.bom.Range.get(e),r=e.value.length;n.moveToBookmark(t.getBookmark());n.moveEnd("character",r);return r-n.text.length}var i=(n=qx.bom.Range.get(e)).parentElement(),o=qx.bom.Range.get();try{o.moveToElementText(i)}catch(e){return 0}var s,a=qx.bom.Range.get(qx.dom.Node.getBodyElement(e));a.setEndPoint("StartToStart",n);a.setEndPoint("EndToEnd",o);if(0==o.compareEndPoints("StartToStart",a))return 0;for(var u=0;;){s=a.moveStart("character",-1);if(0==o.compareEndPoints("StartToStart",a))break;if(0==s)break;u++}return++u},default:function(e){if("gecko"===qx.core.Environment.get("engine.name")||"webkit"===qx.core.Environment.get("engine.name")){if(this.__P_119_0(e))return e.selectionStart;var t=qx.dom.Node.getDocument(e),n=this.getSelectionObject(t);return n.anchorOffsetn.anchorOffset?n.focusOffset:n.anchorOffset}return this.__P_119_0(e)?e.selectionEnd:qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(e)).focusOffset}}),__P_119_0:function(e){return qx.dom.Node.isElement(e)&&("input"==e.nodeName.toLowerCase()||"textarea"==e.nodeName.toLowerCase())},set:qx.core.Environment.select("html.selection",{selection:function(e,t,n){var r;qx.dom.Node.isDocument(e)&&(e=e.body);if(qx.dom.Node.isElement(e)||qx.dom.Node.isText(e))switch(e.nodeName.toLowerCase()){case"input":case"textarea":case"button":void 0===n&&(n=e.value.length);if(t>=0&&t<=e.value.length&&n>=0&&n<=e.value.length){(r=qx.bom.Range.get(e)).collapse(!0);r.moveStart("character",t);r.moveEnd("character",n-t);r.select();return!0}break;case"#text":void 0===n&&(n=e.nodeValue.length);if(t>=0&&t<=e.nodeValue.length&&n>=0&&n<=e.nodeValue.length){(r=qx.bom.Range.get(qx.dom.Node.getBodyElement(e))).moveToElementText(e.parentNode);r.collapse(!0);r.moveStart("character",t);r.moveEnd("character",n-t);r.select();return!0}break;default:void 0===n&&(n=e.childNodes.length-1);if(e.childNodes[t]&&e.childNodes[n]){(r=qx.bom.Range.get(qx.dom.Node.getBodyElement(e))).moveToElementText(e.childNodes[t]);r.collapse(!0);var i=qx.bom.Range.get(qx.dom.Node.getBodyElement(e));i.moveToElementText(e.childNodes[n]);r.setEndPoint("EndToEnd",i);r.select();return!0}}return!1},default:function(e,t,n){var r=e.nodeName.toLowerCase();if(!qx.dom.Node.isElement(e)||"input"!=r&&"textarea"!=r){var i=!1,o=qx.dom.Node.getWindow(e).getSelection(),s=qx.bom.Range.get(e);if(qx.dom.Node.isText(e)){void 0===n&&(n=e.length);t>=0&&t=0&&n<=e.length&&(i=!0)}else if(qx.dom.Node.isElement(e)){void 0===n&&(n=e.childNodes.length-1);t>=0&&e.childNodes[t]&&n>=0&&e.childNodes[n]&&(i=!0)}else if(qx.dom.Node.isDocument(e)){e=e.body;void 0===n&&(n=e.childNodes.length-1);t>=0&&e.childNodes[t]&&n>=0&&e.childNodes[n]&&(i=!0)}if(i){o.isCollapsed||o.collapseToStart();s.setStart(e,t);qx.dom.Node.isText(e)?s.setEnd(e,n):s.setEndAfter(e.childNodes[n]);o.rangeCount>0&&o.removeAllRanges();o.addRange(s);return!0}}else{void 0===n&&(n=e.value.length);if(t>=0&&t<=e.value.length&&n>=0&&n<=e.value.length){e.focus();e.select();try{e.setSelectionRange(t,n)}catch(e){}return!0}}return!1}}),setAll:function(e){return qx.bom.Selection.set(e,0)},clear:qx.core.Environment.select("html.selection",{selection:function(e){var t=qx.bom.Range.get(e).parentElement(),n=qx.bom.Range.get(qx.dom.Node.getDocument(e));qx.dom.Node.isText(e)&&(e=e.parentNode);if(t==n.parentElement()&&t==e){qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(e)).empty()}},default:function(e){var t=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(e)),n=e.nodeName.toLowerCase();if(!qx.dom.Node.isElement(e)||"input"!=n&&"textarea"!=n)if(qx.dom.Node.isDocument(e)||"body"==n)t.collapse(e.body?e.body:e,0);else{var r=qx.bom.Range.get(e);if(!r.collapsed){var i=r.commonAncestorContainer;(qx.dom.Node.isElement(e)&&qx.dom.Node.isText(i)?i.parentNode:i)==e&&t.collapse(e,0)}}else{try{e.setSelectionRange(0,0)}catch(e){}qx.bom.Element&&qx.bom.Element.blur&&qx.bom.Element.blur(e)}}})}});qx.bom.Selection.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.dispatch.DomBubbling":{defer:"runtime"},"qx.core.Environment":{defer:"load",construct:!0,usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.IEventHandler":{require:!0},"qx.core.IDisposable":{require:!0},"qx.bom.client.OperatingSystem":{construct:!0,require:!0},"qx.core.Init":{construct:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.Selection":{},"qx.event.type.Focus":{},"qx.lang.Function":{},"qx.bom.Event":{},"qx.bom.client.Browser":{require:!0},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{},"qx.bom.element.Attribute":{}},environment:{provided:[],required:{"os.name":{construct:!0,className:"qx.bom.client.OperatingSystem"},"os.version":{construct:!0,className:"qx.bom.client.OperatingSystem"},"engine.name":{load:!0,className:"qx.bom.client.Engine"},"browser.name":{load:!0,className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Focus",{extend:qx.core.Object,implement:[qx.event.IEventHandler,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this._manager=e;this._window=e.getWindow();this._document=this._window.document;this._root=this._document.documentElement;this._body=this._document.body;"ios"==qx.core.Environment.get("os.name")&&parseFloat(qx.core.Environment.get("os.version"))>6&&parseFloat(qx.core.Environment.get("os.version"))<15&&(!qx.application.Inline||!qx.core.Init.getApplication()instanceof qx.application.Inline)&&(this.__P_44_0=!0);this._initObserver()},properties:{active:{apply:"_applyActive",nullable:!0},focus:{apply:"_applyFocus",nullable:!0}},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{focus:1,blur:1,focusin:1,focusout:1,activate:1,deactivate:1},IGNORE_CAN_HANDLE:!0,FOCUSABLE_ELEMENTS:qx.core.Environment.select("engine.name",{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:{__P_44_1:null,__P_44_2:null,__P_44_3:null,__P_44_4:null,__P_44_5:null,__P_44_6:null,__P_44_7:null,__P_44_8:null,__P_44_9:null,__P_44_10:null,__P_44_11:"",__P_44_12:"",__P_44_0:!1,__P_44_13:null,canHandleEvent:function(e,t){},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){},focus:function(e){"mshtml"==qx.core.Environment.get("engine.name")?window.setTimeout((function(){try{e.focus();if(0==qx.bom.Selection.get(e).length&&"function"==typeof e.createTextRange){var t=e.createTextRange();t.moveStart("character",e.value.length);t.collapse();t.select()}}catch(e){}}),0):window.setTimeout((function(){try{e.focus()}catch(e){}}),0);this.setFocus(e);this.setActive(e)},activate:function(e){this.setActive(e)},blur:function(e){try{e.blur()}catch(e){}this.getActive()===e&&this.resetActive();this.getFocus()===e&&this.resetFocus()},deactivate:function(e){this.getActive()===e&&this.resetActive()},tryActivate:function(e){var t=this.__P_44_14(e);t&&this.setActive(t)},__P_44_15:function(e,t,n,r){var i=qx.event.Registration,o=i.createEvent(n,qx.event.type.Focus,[e,t,r]);return i.dispatchEvent(e,o)},_windowFocused:!0,__P_44_16:function(){if(this._windowFocused){this._windowFocused=!1;this.__P_44_15(this._window,null,"blur",!1)}},__P_44_17:function(){if(!this._windowFocused){this._windowFocused=!0;this.__P_44_15(this._window,null,"focus",!1)}},_initObserver:qx.core.Environment.select("engine.name",{gecko:function(){this.__P_44_1=qx.lang.Function.listener(this.__P_44_18,this);this.__P_44_2=qx.lang.Function.listener(this.__P_44_19,this);this.__P_44_3=qx.lang.Function.listener(this.__P_44_20,this);this.__P_44_4=qx.lang.Function.listener(this.__P_44_21,this);this.__P_44_5=qx.lang.Function.listener(this.__P_44_22,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_44_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_44_2,!0);qx.bom.Event.addNativeListener(this._window,"focus",this.__P_44_3,!0);qx.bom.Event.addNativeListener(this._window,"blur",this.__P_44_4,!0);qx.bom.Event.addNativeListener(this._window,"draggesture",this.__P_44_5,!0)},mshtml:function(){this.__P_44_1=qx.lang.Function.listener(this.__P_44_18,this);this.__P_44_2=qx.lang.Function.listener(this.__P_44_19,this);this.__P_44_7=qx.lang.Function.listener(this.__P_44_23,this);this.__P_44_8=qx.lang.Function.listener(this.__P_44_24,this);this.__P_44_6=qx.lang.Function.listener(this.__P_44_25,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_44_1);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_44_2);qx.bom.Event.addNativeListener(this._document,"focusin",this.__P_44_7);qx.bom.Event.addNativeListener(this._document,"focusout",this.__P_44_8);qx.bom.Event.addNativeListener(this._document,"selectstart",this.__P_44_6)},webkit:qx.core.Environment.select("browser.name",{edge:function(e){this.__P_44_1=qx.lang.Function.listener(this.__P_44_18,this);this.__P_44_2=qx.lang.Function.listener(this.__P_44_19,this);this.__P_44_8=qx.lang.Function.listener(this.__P_44_24,this);this.__P_44_7=qx.lang.Function.listener(this.__P_44_23,this);this.__P_44_6=qx.lang.Function.listener(this.__P_44_25,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_44_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_44_2,!0);qx.bom.Event.addNativeListener(this._document,"selectstart",this.__P_44_6,!1);qx.bom.Event.addNativeListener(this._document,"focusin",this.__P_44_7);qx.bom.Event.addNativeListener(this._document,"focusout",this.__P_44_8)},default:function(e){this.__P_44_1=qx.lang.Function.listener(this.__P_44_18,this);this.__P_44_2=qx.lang.Function.listener(this.__P_44_19,this);this.__P_44_8=qx.lang.Function.listener(this.__P_44_24,this);this.__P_44_3=qx.lang.Function.listener(this.__P_44_20,this);this.__P_44_4=qx.lang.Function.listener(this.__P_44_21,this);this.__P_44_6=qx.lang.Function.listener(this.__P_44_25,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_44_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_44_2,!0);qx.bom.Event.addNativeListener(this._document,"selectstart",this.__P_44_6,!1);qx.bom.Event.addNativeListener(this._window,"DOMFocusOut",this.__P_44_8,!0);qx.bom.Event.addNativeListener(this._window,"focus",this.__P_44_3,!0);qx.bom.Event.addNativeListener(this._window,"blur",this.__P_44_4,!0)}}),opera:function(){this.__P_44_1=qx.lang.Function.listener(this.__P_44_18,this);this.__P_44_2=qx.lang.Function.listener(this.__P_44_19,this);this.__P_44_7=qx.lang.Function.listener(this.__P_44_23,this);this.__P_44_8=qx.lang.Function.listener(this.__P_44_24,this);qx.bom.Event.addNativeListener(this._document,"mousedown",this.__P_44_1,!0);qx.bom.Event.addNativeListener(this._document,"mouseup",this.__P_44_2,!0);qx.bom.Event.addNativeListener(this._window,"DOMFocusIn",this.__P_44_7,!0);qx.bom.Event.addNativeListener(this._window,"DOMFocusOut",this.__P_44_8,!0)}}),_stopObserver:qx.core.Environment.select("engine.name",{gecko:function(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_44_1,!0);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_44_2,!0);qx.bom.Event.removeNativeListener(this._window,"focus",this.__P_44_3,!0);qx.bom.Event.removeNativeListener(this._window,"blur",this.__P_44_4,!0);qx.bom.Event.removeNativeListener(this._window,"draggesture",this.__P_44_5,!0)},mshtml:function(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_44_1);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_44_2);qx.bom.Event.removeNativeListener(this._document,"focusin",this.__P_44_7);qx.bom.Event.removeNativeListener(this._document,"focusout",this.__P_44_8);qx.bom.Event.removeNativeListener(this._document,"selectstart",this.__P_44_6)},webkit:qx.core.Environment.select("browser.name",{edge:function(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_44_1);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_44_2);qx.bom.Event.removeNativeListener(this._document,"focusin",this.__P_44_7);qx.bom.Event.removeNativeListener(this._document,"focusout",this.__P_44_8);qx.bom.Event.removeNativeListener(this._document,"selectstart",this.__P_44_6)},default:function(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_44_1,!0);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_44_2,!0);qx.bom.Event.removeNativeListener(this._document,"selectstart",this.__P_44_6,!1);qx.bom.Event.removeNativeListener(this._window,"DOMFocusOut",this.__P_44_8,!0);qx.bom.Event.removeNativeListener(this._window,"focus",this.__P_44_3,!0);qx.bom.Event.removeNativeListener(this._window,"blur",this.__P_44_4,!0)}}),opera:function(){qx.bom.Event.removeNativeListener(this._document,"mousedown",this.__P_44_1,!0);qx.bom.Event.removeNativeListener(this._document,"mouseup",this.__P_44_2,!0);qx.bom.Event.removeNativeListener(this._window,"DOMFocusIn",this.__P_44_7,!0);qx.bom.Event.removeNativeListener(this._window,"DOMFocusOut",this.__P_44_8,!0)}}),__P_44_22:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{gecko:function(e){var t=qx.bom.Event.getTarget(e);this.__P_44_26(t)||qx.bom.Event.preventDefault(e)},default:null})),__P_44_23:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml:function(e){this.__P_44_17();var t=qx.bom.Event.getTarget(e),n=this.__P_44_27(t);n&&this.setFocus(n);this.tryActivate(t)},webkit:qx.core.Environment.select("browser.name",{edge:function(e){this.__P_44_17();var t=qx.bom.Event.getTarget(e),n=this.__P_44_27(t);n&&this.setFocus(n);this.tryActivate(t)},default:null}),opera:function(e){var t=qx.bom.Event.getTarget(e);if(t==this._document||t==this._window){this.__P_44_17();if(this.__P_44_9){this.setFocus(this.__P_44_9);delete this.__P_44_9}if(this.__P_44_10){this.setActive(this.__P_44_10);delete this.__P_44_10}}else{this.setFocus(t);this.tryActivate(t);if(!this.__P_44_26(t)){t.selectionStart=0;t.selectionEnd=0}}},default:null})),__P_44_24:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml:function(e){if(null==qx.bom.Event.getRelatedTarget(e)){this.__P_44_16();this.resetFocus();this.resetActive()}},webkit:qx.core.Environment.select("browser.name",{edge:function(e){if(null==qx.bom.Event.getRelatedTarget(e)){this.__P_44_16();this.resetFocus();this.resetActive()}},default:function(e){var t=qx.bom.Event.getTarget(e);t===this.getFocus()&&this.resetFocus();t===this.getActive()&&this.resetActive()}}),opera:function(e){var t=qx.bom.Event.getTarget(e);if(t==this._document){this.__P_44_16();this.__P_44_9=this.getFocus();this.__P_44_10=this.getActive();this.resetFocus();this.resetActive()}else{t===this.getFocus()&&this.resetFocus();t===this.getActive()&&this.resetActive()}},default:null})),__P_44_21:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{gecko:function(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_44_16();this.resetActive();this.resetFocus()}},webkit:function(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_44_16();this.__P_44_9=this.getFocus();this.__P_44_10=this.getActive();this.resetActive();this.resetFocus()}},default:null})),__P_44_20:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{gecko:function(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_44_17();t=this._body}this.setFocus(t);this.tryActivate(t)},webkit:function(e){var t=qx.bom.Event.getTarget(e);if(t===this._window||t===this._document){this.__P_44_17();if(this.__P_44_9){this.setFocus(this.__P_44_9);delete this.__P_44_9}if(this.__P_44_10){this.setActive(this.__P_44_10);delete this.__P_44_10}}else{this.__P_44_13=e.relatedTarget;this.setFocus(t);this.__P_44_13=null;this.tryActivate(t)}},default:null})),__P_44_18:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml:function(e){var t=qx.bom.Event.getTarget(e),n=this.__P_44_27(t);if(n){if(!this.__P_44_26(t)){t.unselectable="on";try{document.selection&&document.selection.empty()}catch(e){}try{n.focus()}catch(e){}}}else{qx.bom.Event.preventDefault(e);this.__P_44_26(t)||(t.unselectable="on")}},webkit:function(e){var t=qx.bom.Event.getTarget(e),n=this.__P_44_27(t);n?this.setFocus(n):qx.bom.Event.preventDefault(e)},gecko:function(e){var t=qx.bom.Event.getTarget(e),n=this.__P_44_27(t);n?this.setFocus(n):qx.bom.Event.preventDefault(e)},opera:function(e){var t=qx.bom.Event.getTarget(e),n=this.__P_44_27(t);if(this.__P_44_26(t))n&&this.setFocus(n);else{qx.bom.Event.preventDefault(e);if(n){var r=this.getFocus();if(r&&r.selectionEnd){r.selectionStart=0;r.selectionEnd=0;r.blur()}n&&this.setFocus(n)}}},default:null})),__P_44_19:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml:function(e){var t=qx.bom.Event.getTarget(e);t.unselectable&&(t.unselectable="off");this.tryActivate(this.__P_44_28(t))},gecko:function(e){for(var t=qx.bom.Event.getTarget(e);t&&void 0===t.offsetWidth;)t=t.parentNode;t&&this.tryActivate(t)},webkit:function(e){var t=qx.bom.Event.getTarget(e);this.tryActivate(this.__P_44_28(t))},opera:function(e){var t=qx.bom.Event.getTarget(e);this.tryActivate(this.__P_44_28(t))},default:null})),__P_44_29:function(e){var t=this.getFocus();if(t&&e!=t){if("input"===t.nodeName.toLowerCase()||"textarea"===t.nodeName.toLowerCase())return t;if(qx.Class.isClass("qx.ui.core.Widget"))var n=qx.ui.core.Widget.getWidgetByElement(t),r=n&&n.getChildControl&&n.getChildControl("textfield",!0);if(r)return r.getContentElement().getDomElement()}return e},__P_44_28:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml:function(e){return this.__P_44_29(e)},webkit:function(e){return this.__P_44_29(e)},default:function(e){return e}})),__P_44_25:qx.event.GlobalError.observeMethod(qx.core.Environment.select("engine.name",{mshtml:function(e){var t=qx.bom.Event.getTarget(e);this.__P_44_26(t)||qx.bom.Event.preventDefault(e)},webkit:function(e){var t=qx.bom.Event.getTarget(e);this.__P_44_26(t)||qx.bom.Event.preventDefault(e)},default:null})),__P_44_30:function(e){var t=qx.bom.element.Attribute.get(e,"tabIndex");if(t>=1)return!0;var n=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;return!!(t>=0&&n[e.tagName])},__P_44_27:function(e){for(;e&&1===e.nodeType;){if("on"==e.getAttribute("qxKeepFocus"))return null;if(this.__P_44_30(e))return e;e=e.parentNode}return this._body},__P_44_14:function(e){for(var t=e;e&&1===e.nodeType;){if("on"==e.getAttribute("qxKeepActive"))return null;e=e.parentNode}return t},__P_44_26:function(e){for(;e&&1===e.nodeType;){var t=e.getAttribute("qxSelectable");if(null!=t)return"on"===t;e=e.parentNode}return!0},_applyActive:function(e,t){t&&this.__P_44_15(t,e,"deactivate",!0);e&&this.__P_44_15(e,t,"activate",!0);this.__P_44_0&&window.scrollTo(0,0)},_applyFocus:function(e,t){t&&this.__P_44_15(t,e,"focusout",!0);e&&this.__P_44_15(e,t,"focusin",!0);t&&this.__P_44_15(t,e,"blur",!1);e&&this.__P_44_15(e,t||this.__P_44_13,"focus",!1)}},destruct:function(){this._stopObserver();this._manager=this._window=this._document=this._root=this._body=this.__P_44_31=this.__P_44_13=null},defer:function(e){qx.event.Registration.addHandler(e);var t=e.FOCUSABLE_ELEMENTS;for(var n in t)t[n.toUpperCase()]=1}});qx.event.handler.Focus.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Focus":{defer:"runtime"},"qx.event.handler.Window":{defer:"runtime"},"qx.event.handler.Capture":{defer:"runtime"},"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.event.dispatch.AbstractBubbling":{construct:!0,require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.dom.Hierarchy":{},"qx.bom.Event":{},"qx.event.type.Event":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.client.OperatingSystem":{require:!0}},environment:{provided:[],required:{"engine.name":{load:!0,className:"qx.bom.client.Engine"},"browser.documentmode":{load:!0,className:"qx.bom.client.Browser"},"os.version":{load:!0,className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.dispatch.MouseCapture",{extend:qx.event.dispatch.AbstractBubbling,construct:function(e,t){qx.event.dispatch.AbstractBubbling.constructor.call(this,e);this.__P_89_0=e.getWindow();this.__P_89_1=t;e.addListener(this.__P_89_0,"blur",this.releaseCapture,this);e.addListener(this.__P_89_0,"focus",this.releaseCapture,this);e.addListener(this.__P_89_0,"scroll",this.releaseCapture,this)},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST},members:{__P_89_1:null,__P_89_2:null,__P_89_3:!0,__P_89_0:null,_getParent:function(e){return e.parentNode},canDispatchEvent:function(e,t,n){return!(!this.__P_89_2||!this.__P_89_4[n])},dispatchEvent:function(e,t,n){if("click"!=n){!this.__P_89_3&&qx.dom.Hierarchy.contains(this.__P_89_2,e)||(e=this.__P_89_2);return qx.event.dispatch.MouseCapture.superclass.prototype.dispatchEvent.call(this,e,t,n)}t.stopPropagation();this.releaseCapture()},__P_89_4:{mouseup:1,mousedown:1,click:1,dblclick:1,mousemove:1,mouseout:1,mouseover:1,pointerdown:1,pointerup:1,pointermove:1,pointerover:1,pointerout:1,tap:1,dbltap:1},activateCapture:function(e,t){t=!1!==t;if(this.__P_89_2!==e||this.__P_89_3!=t){this.__P_89_2&&this.releaseCapture();if(this.hasNativeCapture){this.nativeSetCapture(e,t);var n=this;qx.bom.Event.addNativeListener(e,"losecapture",(function t(){qx.bom.Event.removeNativeListener(e,"losecapture",t);n.releaseCapture()}))}this.__P_89_3=t;this.__P_89_2=e;this.__P_89_1.fireEvent(e,"capture",qx.event.type.Event,[!0,!1])}},getCaptureElement:function(){return this.__P_89_2},releaseCapture:function(){var e=this.__P_89_2;if(e){this.__P_89_2=null;this.__P_89_1.fireEvent(e,"losecapture",qx.event.type.Event,[!0,!1]);this.nativeReleaseCapture(e)}},hasNativeCapture:"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("browser.documentmode")<9||parseInt(qx.core.Environment.get("os.version"),10)>7&&qx.core.Environment.get("browser.documentmode")>9,nativeSetCapture:qx.core.Environment.select("engine.name",{mshtml:function(e,t){e.setCapture(!1!==t)},default:function(){}}),nativeReleaseCapture:qx.core.Environment.select("engine.name",{mshtml:function(e){e.releaseCapture()},default:function(){}})},defer:function(e){qx.event.Registration.addDispatcher(e)}});qx.event.dispatch.MouseCapture.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.bom.element.Attribute":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.dom.Element",{statics:{hasChild:function(e,t){return t.parentNode===e},hasChildren:function(e){return!!e.firstChild},hasChildElements:function(e){e=e.firstChild;for(;e;){if(1===e.nodeType)return!0;e=e.nextSibling}return!1},getParentElement:function(e){return e.parentNode},isInDom:function(e,t){t||(t=window);for(var n=t.document.getElementsByTagName(e.nodeName),r=0,i=n.length;rn?n:t)+"px");else{var r=qx.util.AliasManager.getInstance().resolve(this.getSource()),i=r.split("/"),o=this.__P_52_20(r),s=parseInt(i[2]||o.getSize());e.setStyle("fontSize",s+"px")}},_applyDimension:function(){qx.ui.basic.Image.superclass.prototype._applyDimension.call(this);if(this.getSource()&&qx.lang.String.startsWith(this.getSource(),"@")){var e=this.getContentElement();if(e){var t=this.getSizeHint(),n=this.getWidth()||t.width||40,r=this.getHeight()||t.height||40;this.__P_52_22(e,n,r)}}else this.__P_52_21()},__P_52_17:function(e,t){var n=qx.io.ImageLoader;this.__P_52_8(e,t);var r=n.getWidth(t),i=n.getHeight(t);this.__P_52_21(r,i)},__P_52_18:function(e,t){var n=qx.io.ImageLoader;n.isFailed(t)?this.__P_52_12(e):n.load(t,this.__P_52_23,this)},__P_52_12:function(e){null!=e&&(e instanceof qx.html.Image?e.resetSource():e.resetValue())},__P_52_20:function(e){var t=qx.theme.manager.Font.getInstance().resolve(e.match(/@([^/]+)/)[1]);if("string"==typeof t)throw new Error("Cannot find font in virtual image source: '".concat(e,"'"));return t},__P_52_8:function(e,t){if(t&&qx.lang.String.startsWith(t,"@")){var n=qx.util.ResourceManager.getInstance(),r=this.__P_52_20(t),i=qx.lang.Object.clone(r.getStyles());delete i.color;e.setStyles(i);e.setStyle("font");e.setStyle("display","table-cell");e.setStyle("verticalAlign","middle");e.setStyle("textAlign","center");this.__P_52_22(e,this.__P_52_1,this.__P_52_2);var o=n.fromFontUriToCharCode(t);e.setValue(String.fromCharCode(o))}else{if("div"==e.getNodeName()){var s=qx.theme.manager.Decoration.getInstance().resolve(this.getDecorator());if(s){var a=s.getStartColor()&&s.getEndColor(),u=s.getBackgroundImage();if(a||u){var l=this.getScale()?"scale":"no-repeat",c=qx.bom.element.Decoration.getAttributes(t,l),h=s.getStyles(!0),d={backgroundImage:c.style.backgroundImage,backgroundPosition:c.style.backgroundPosition||"0 0",backgroundRepeat:c.style.backgroundRepeat||"no-repeat",position:"absolute"};if(u){d.backgroundPosition+=","+h["background-position"]||"0 0";d.backgroundRepeat+=", "+s.getBackgroundRepeat()}if(a){d.backgroundPosition+=", 0 0";d.backgroundRepeat+=", no-repeat"}d.backgroundImage+=","+(h["background-image"]||h.background);e.setStyles(d);return}}else e.setSource&&e.setSource(null)}if(e.setSource){e.setSource(t);e.setStyle("position","absolute")}}},__P_52_23:function(e,t){if(!0!==this.$$disposed)if(e===qx.util.AliasManager.getInstance().resolve(this.getSource())){if(t.failed){this.warn("Image could not be loaded: "+e);this.fireEvent("loadingFailed")}else{if(t.aborted){this.fireEvent("aborted");return}this.fireEvent("loaded")}this.__P_52_17(this.__P_52_14(),e)}else this.fireEvent("aborted")},__P_52_21:function(e,t){void 0===e&&(e=this.__P_52_1);void 0===t&&(t=this.__P_52_2);this._recalc(e,t)&&qx.ui.core.queue.Layout.add(this)},_recalc:function(e,t){var n=this.getMaxWidth(),r=this.getMaxHeight(),i=this.getMinWidth(),o=this.getMinHeight(),s=e,a=t,u=t/e;switch(this.getForceRatio()){case"height":null!==r&&a>r?s=(a=r)/u:an?a=(s=n)*u:sn?a=(s=n)*u:sr&&(s=(a=r)/u)}s=Math.round(s);a=Math.round(a);if(s!=this.__P_52_1||a!=this.__P_52_2){this.__P_52_1=s;this.__P_52_2=a;return!0}return!1}},destruct:function(){for(var e in this.__P_52_0)this.__P_52_0.hasOwnProperty(e)&&this.__P_52_0[e].disconnectObject(this);delete this.__P_52_4;this.__P_52_5&&delete this.__P_52_5;this._disposeMap("__P_52_0")}});qx.ui.basic.Image.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.basic.Image":{construct:!0,require:!0},"qx.ui.core.MPlacement":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.DragDropCursor",{extend:qx.ui.basic.Image,include:qx.ui.core.MPlacement,type:"singleton",construct:function(){qx.ui.basic.Image.constructor.call(this);this.setZIndex(1e8);this.setDomMove(!0);this.getApplicationRoot().add(this,{left:-1e3,top:-1e3})},properties:{appearance:{refine:!0,init:"dragdrop-cursor"},action:{check:["alias","copy","move"],apply:"_applyAction",nullable:!0}},members:{_applyAction:function(e,t){t&&this.removeState(t);e&&this.addState(e)}}});qx.ui.core.DragDropCursor.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Root",{extend:qx.html.Element,construct:function(e){qx.html.Element.constructor.call(this);null!=e&&this.useNode(e)},members:{useNode:function(e){qx.html.Root.superclass.prototype.useNode.call(this,e);this.setRoot(!0);qx.html.Element._modified[this.toHashCode()]=this}}});qx.html.Root.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.util.ValueManager":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.AliasManager",{type:"singleton",extend:qx.util.ValueManager,construct:function(){qx.util.ValueManager.constructor.call(this);this.__P_71_0={};this.add("static","qx/static")},members:{__P_71_0:null,_preprocess:function(e){var t=this._getDynamic();if(!1===t[e])return e;if(void 0===t[e]){if("/"===e.charAt(0)||"."===e.charAt(0)||0===e.indexOf("http://")||"0"===e.indexOf("https://")||0===e.indexOf("file://")){t[e]=!1;return e}if(this.__P_71_0[e])return this.__P_71_0[e];var n=e.substring(0,e.indexOf("/")),r=this.__P_71_0[n];void 0!==r&&(t[e]=r+e.substring(n.length))}return e},add:function(e,t){this.__P_71_0[e]=t;var n=this._getDynamic();for(var r in n)r.substring(0,r.indexOf("/"))===e&&(n[r]=t+r.substring(e.length))},remove:function(e){delete this.__P_71_0[e]},resolve:function(e){var t=this._getDynamic();null!=e&&(e=this._preprocess(e));return t[e]||e},getAliases:function(){var e={};for(var t in this.__P_71_0)e[t]=this.__P_71_0[t];return e}}});qx.util.AliasManager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["io.maxrequests","io.ssl","io.xhr"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.Transport",{statics:{getMaxConcurrentRequestCount:function(){var e=qx.bom.client.Engine.getVersion().split("."),t=0,n=0,r=0;e[0]&&(t=e[0]);e[1]&&(n=e[1]);e[2]&&(r=e[2]);return window.maxConnectionsPerServer?window.maxConnectionsPerServer:"opera"==qx.bom.client.Engine.getName()?8:"webkit"==qx.bom.client.Engine.getName()?4:"gecko"==qx.bom.client.Engine.getName()&&(t>1||1==t&&n>9||1==t&&9==n&&r>=1)?6:2},getSsl:function(){return"https:"===window.location.protocol},getXmlHttpRequest:function(){return(window.ActiveXObject?function(){if("file:"!==window.location.protocol)try{new window.XMLHttpRequest;return"xhr"}catch(e){}try{new window.ActiveXObject("Microsoft.XMLHTTP");return"activex"}catch(e){}}():function(){try{new window.XMLHttpRequest;return"xhr"}catch(e){}}())||""}},defer:function(e){qx.core.Environment.add("io.maxrequests",e.getMaxConcurrentRequestCount);qx.core.Environment.add("io.ssl",e.getSsl);qx.core.Environment.add("io.xhr",e.getXmlHttpRequest)}});qx.bom.client.Transport.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.bom.client.Device":{},"qx.bom.client.Engine":{defer:"load",require:!0},"qx.bom.client.Transport":{defer:"load",require:!0},"qx.util.LibraryManager":{defer:"runtime"}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine",defer:!0},"io.ssl":{className:"qx.bom.client.Transport",defer:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.ResourceManager",{extend:qx.core.Object,type:"singleton",construct:function(){qx.core.Object.constructor.call(this)},statics:{__P_112_0:qx.$$resources||{},__P_112_1:{}},members:{findHighResolutionSource:function(e,t){var n=["3","2","1.5"];t||(t=parseFloat(qx.bom.client.Device.getDevicePixelRatio().toFixed(2)));if(t<=1)return!1;for(var r,i,o=n.length;o>0&&t>n[--o];);for(i=o;i>=0;i--)if(r=this.getHighResolutionSource(e,n[i]))return r;for(i=o+1;i-1){var r="@"+t+"x",i=e.slice(0,n)+r+e.slice(n);if(this.has(i))return i}return null},getIds:function(e){var t=qx.util.ResourceManager.__P_112_0;return t?Object.keys(t).filter((function(t){return!e||-1!=t.indexOf(e)})):null},has:function(e){return!!qx.util.ResourceManager.__P_112_0[e]},getData:function(e){return qx.util.ResourceManager.__P_112_0[e]||null},getImageWidth:function(e){var t;if(e&&e.startsWith("@")){var n=e.split("/");(t=parseInt(n[2],10))&&(e=n[0]+"/"+n[1])}var r=qx.util.ResourceManager.__P_112_0[e];if(t&&r){return Math.ceil(t/r[1]*r[0])}return r?r[0]:null},getImageHeight:function(e){if(e&&e.startsWith("@")){var t=e.split("/"),n=parseInt(t[2],10);if(n)return n}var r=qx.util.ResourceManager.__P_112_0[e];return r?r[1]:null},getImageFormat:function(e){if(e&&e.startsWith("@"))return"font";var t=qx.util.ResourceManager.__P_112_0[e];return t?t[2]:null},getCombinedFormat:function(e){var t="",n=qx.util.ResourceManager.__P_112_0[e];if(n&&n.length>4&&"string"==typeof n[4]&&this.constructor.__P_112_0[n[4]]){var r=n[4];t=this.constructor.__P_112_0[r][2]}return t},toUri:function(e){if(null==e)return e;var t=qx.util.ResourceManager.__P_112_0[e];if(!t)return e;if("string"==typeof t)var n=t;else{if(!(n=t[3]))return e}var r="";"mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("io.ssl")&&(r=qx.util.ResourceManager.__P_112_1[n]);return r+qx.util.LibraryManager.getInstance().get(n,"resourceUri")+"/"+e},toDataUri:function(e){var t,n=this.constructor.__P_112_0[e],r=n?this.constructor.__P_112_0[n[4]]:null;if(r){var i=r[4][e];t="data:image/"+i.type+";"+i.encoding+","+i.data}else t=this.toUri(e);return t},isFontUri:function(e){return!!e&&e.startsWith("@")},fromFontUriToCharCode:function(e){var t=e.split("/"),n=e;t.length>2&&(n=t[0]+"/"+t[1]);var r=this.getData(n),i=null;if(r)i=r[2];else{var o=e.match(/@([^/]+)\/(.*)$/)[2];if(o){i=parseInt(o,16);isNaN(i)&&(i=null)}}if(!i)throw new Error("Cannot determine charCode from source: ".concat(e));return i}},defer:function(e){if("mshtml"==qx.core.Environment.get("engine.name")&&qx.core.Environment.get("io.ssl"))for(var t in qx.$$libraries){var n;if(qx.util.LibraryManager.getInstance().get(t,"resourceUri")){n=qx.util.LibraryManager.getInstance().get(t,"resourceUri");var r,i=document.getElementsByTagName("base");i.length>0&&(r=i[0].href);if(null!=n.match(/^\/\//))e.__P_112_1[t]=window.location.protocol;else if(null!=n.match(/^\//))e.__P_112_1[t]=r||window.location.protocol+"//"+window.location.host;else if(null!=n.match(/^\.\//)){var o=document.URL;e.__P_112_1[t]=o.substring(0,o.lastIndexOf("/")+1)}else if(null!=n.match(/^http/))e.__P_112_1[t]="";else{if(!r){var s=window.location.href.indexOf("?");r=-1==s?window.location.href:window.location.href.substring(0,s)}e.__P_112_1[t]=r.substring(0,r.lastIndexOf("/")+1)}}else e.__P_112_1[t]=""}}});qx.util.ResourceManager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.LibraryManager",{extend:qx.core.Object,type:"singleton",statics:{__P_163_0:qx.$$libraries||{}},members:{has:function(e){return!!qx.util.LibraryManager.__P_163_0[e]},get:function(e,t){return qx.util.LibraryManager.__P_163_0[e][t]?qx.util.LibraryManager.__P_163_0[e][t]:null},set:function(e,t,n){qx.util.LibraryManager.__P_163_0[e][t]=n}}});qx.util.LibraryManager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.String":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.ColorUtil",{statics:{REGEXP:{hexShort:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])?$/,hexLong:/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})?$/,hex3:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,hex6:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,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,2}[0-9]*)\s*\)$/},SYSTEM:{activeborder:!0,activecaption:!0,appworkspace:!0,background:!0,buttonface:!0,buttonhighlight:!0,buttonshadow:!0,buttontext:!0,captiontext:!0,graytext:!0,highlight:!0,highlighttext:!0,inactiveborder:!0,inactivecaption:!0,inactivecaptiontext:!0,infobackground:!0,infotext:!0,menu:!0,menutext:!0,scrollbar:!0,threeddarkshadow:!0,threedface:!0,threedhighlight:!0,threedlightshadow:!0,threedshadow:!0,window:!0,windowframe:!0,windowtext:!0},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(e){return void 0!==this.NAMED[e]},isSystemColor:function(e){return void 0!==this.SYSTEM[e]},supportsThemes:function(){return!!qx.Class&&qx.Class.isDefined("qx.theme.manager.Color")},isThemedColor:function(e){return!!this.supportsThemes()&&(!!(qx.theme&&qx.theme.manager&&qx.theme.manager.Color)&&qx.theme.manager.Color.getInstance().isDynamic(e))},stringToRgb:function(e){this.supportsThemes()&&this.isThemedColor(e)&&(e=qx.theme.manager.Color.getInstance().resolveDynamic(e));return this.cssStringToRgb(e)},cssStringToRgb:function(e){var t;if(this.isNamedColor(e))t=this.NAMED[e].concat();else{if(this.isSystemColor(e))throw new Error("Could not convert system colors to RGB: "+e);this.isRgbaString(e)?t=this.__P_72_0(e):this.isRgbString(e)?t=this.__P_72_1():this.ishexShortString(e)?t=this.__P_72_2():this.ishexLongString(e)&&(t=this.__P_72_3())}if(t){3===t.length&&1==t[3]&&t.pop();return t}throw new Error("Could not parse color: "+e)},stringToRgbString:function(e){return this.rgbToRgbString(this.stringToRgb(e))},rgbToRgbString:function(e){return"rgb"+(4===e.length?"a":"")+"("+e.map((function(e){return Math.round(1e3*e)/1e3})).join(",")+")"},rgbToHexString:function(e){return"#"+qx.lang.String.pad(e[0].toString(16).toUpperCase(),2)+qx.lang.String.pad(e[1].toString(16).toUpperCase(),2)+qx.lang.String.pad(e[2].toString(16).toUpperCase(),2)+(4===e.length&&1!==e[3]?qx.lang.String.pad(Math.round(255*e[3]).toString(16).toUpperCase(),2):"")},isValidPropertyValue:function(e){return this.isThemedColor(e)||this.isNamedColor(e)||this.ishexShortString(e)||this.ishexLongString(e)||this.isRgbString(e)||this.isRgbaString(e)},isCssString:function(e){return this.isSystemColor(e)||this.isNamedColor(e)||this.ishexShortString(e)||this.ishexLongString(e)||this.isRgbString(e)||this.isRgbaString(e)},ishexShortString:function(e){return this.REGEXP.hexShort.test(e)},isHex3String:function(e){return this.REGEXP.hex3.test(e)},isHex6String:function(e){return this.REGEXP.hex6.test(e)},ishexLongString:function(e){return this.REGEXP.hexLong.test(e)},isRgbString:function(e){return this.REGEXP.rgb.test(e)},isRgbaString:function(e){return this.REGEXP.rgba.test(e)},__P_72_1:function(){return[parseInt(RegExp.$1,10),parseInt(RegExp.$2,10),parseInt(RegExp.$3,10)]},__P_72_0:function(){var e=parseInt(RegExp.$1,10),t=parseInt(RegExp.$2,10),n=parseInt(RegExp.$3,10),r=parseFloat(RegExp.$4,10);return 0===e&&0===t&0===n&&0===r?[-1,-1,-1]:1==r?[e,t,n]:[e,t,n,r]},__P_72_2:function(){var e=17*parseInt(RegExp.$1,16),t=17*parseInt(RegExp.$2,16),n=17*parseInt(RegExp.$3,16),r=Math.round(parseInt(RegExp.$4||"f",16)/15*1e3)/1e3;return 1==r?[e,t,n]:[e,t,n,r]},__P_72_4:function(){return[17*parseInt(RegExp.$1,16),17*parseInt(RegExp.$2,16),17*parseInt(RegExp.$3,16)]},__P_72_5:function(){return[16*parseInt(RegExp.$1,16)+parseInt(RegExp.$2,16),16*parseInt(RegExp.$3,16)+parseInt(RegExp.$4,16),16*parseInt(RegExp.$5,16)+parseInt(RegExp.$6,16)]},__P_72_3:function(){var e=parseInt(RegExp.$1,16),t=parseInt(RegExp.$2,16),n=parseInt(RegExp.$3,16),r=Math.round(parseInt(RegExp.$4||"ff",16)/255*1e3)/1e3;return 1==r?[e,t,n]:[e,t,n,r]},hex3StringToRgb:function(e){if(this.isHex3String(e))return this.__P_72_4(e);throw new Error("Invalid hex3 value: "+e)},hex3StringToHex6String:function(e){return this.isHex3String(e)?this.rgbToHexString(this.hex3StringToRgb(e)):e},hex6StringToRgb:function(e){if(this.isHex6String(e))return this.__P_72_5(e);throw new Error("Invalid hex6 value: "+e)},hexStringToRgb:function(e){if(this.ishexShortString(e))return this.__P_72_2(e);if(this.ishexLongString(e))return this.__P_72_3(e);throw new Error("Invalid hex value: "+e)},rgbToHsb:function(e){var t,n,r,i=e[0],o=e[1],s=e[2],a=i>o?i:o;s>a&&(a=s);var u=i=1&&(s%=1);a>1&&(a=1);u>1&&(u=1);var l=Math.floor(255*u),c={};if(0==a)c.red=c.green=c.blue=l;else{n=(s*=6)-(t=Math.floor(s));r=Math.floor(l*(1-a));i=Math.floor(l*(1-a*n));o=Math.floor(l*(1-a*(1-n)));switch(t){case 0:c.red=l;c.green=o;c.blue=r;break;case 1:c.red=i;c.green=l;c.blue=r;break;case 2:c.red=r;c.green=l;c.blue=o;break;case 3:c.red=r;c.green=i;c.blue=l;break;case 4:c.red=o;c.green=r;c.blue=l;break;case 5:c.red=l;c.green=r;c.blue=i}}return[c.red,c.green,c.blue]},rgbToHsl:function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(t,n,r),o=i-Math.min(t,n,r),s=1-Math.abs(i+i-o-1),a=o&&(i==t?(n-r)/o:i==n?2+(r-t)/o:4+(t-n)/o);return[60*(a<0?a+6:a),100*(s?o/s:0),100*(i+i-o)/2]},hslToRgb:function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n*Math.min(r,1-r),o=function(e){var n=(e+t/30)%12;return r-i*Math.max(Math.min(n-3,9-n,1),-1)};return[o(0),o(8),o(4)].map((function(e){return Math.round(2550*e)/10}))},randomColor:function(){var e=Math.round(255*Math.random()),t=Math.round(255*Math.random()),n=Math.round(255*Math.random());return this.rgbToRgbString([e,t,n])},__P_72_6:function(e,t,n,r){var i=this.stringToRgb(e);for(var o in t)if(0!=t[o])switch(o){case"red":i[0]=n(i[0],t[o],255);break;case"green":i[1]=n(i[1],t[o],255);break;case"blue":i[2]=n(i[2],t[o],255);break;case"alpha":i[3]=n(i[3]||1,t[o],1);break;case"hue":if(!r)throw new Error("Invalid key in map: "+o);(a=this.rgbToHsb(i))[0]=r(a[0],t[o]);var s=this.hsbToRgb(a);s[3]=i[3];i=s;break;case"saturation":(a=this.rgbToHsb(i))[1]=n(a[1],t[o],100);(s=this.hsbToRgb(a))[3]=i[3];i=s;break;case"brightness":var a;(a=this.rgbToHsb(i))[2]=n(a[2],t[o],100);(s=this.hsbToRgb(a))[3]=i[3];i=s;break;case"lightness":var u=this.rgbToHsl(i);u[2]=n(u[2],t[o],100);(s=this.hslToRgb(u))[3]=i[3];i=s;break;default:throw new Error("Invalid key in tune map: "+o)}4===i.length&&(void 0===i[3]||i[3]>=1?i.pop():i[3]<0&&(i[3]=0));[0,1,2].forEach((function(e){i[e]<0?i[e]=0:i[e]>255&&(i[e]=255)}));return this.rgbToRgbString(i)},scale:function(e,t){return this.__P_72_6(e,t,(function(e,t,n){e>n&&(e=n);if(t>0){t>100&&(t=100);return e+(n-e)*t/100}t<-100&&(t=-100);return e+e*t/100}))},adjust:function(e,t){return this.__P_72_6(e,t,(function(e,t,n){return(e+=t)>n?n:e<0?0:e}),(function(e,t){e+=t;for(;e>=360;)e-=360;for(;e<0;)e+=360;return e}))},luminance:function(e){var t=this.stringToRgb(e),n=function(e){var n=t[e]/255;return n<.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)};return.2126*n(0)+.7152*n(1)+.0722*n(2)},contrast:function(e,t){var n=this.luminance(e)+.05,r=this.luminance(t)+.5;return Math.max(n,r)/Math.min(n,r)},chooseContrastingColor:function(e,t,n,r){"string"==typeof e&&(e=qx.util.ColorUtil.stringToRgb(e));t||(t=128);return(299*e[0]+587*e[1]+114*e[2])/1e3>=t?n||"#000":r||"#fff"}}});qx.util.ColorUtil.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.theme.manager.Color":{construct:!0},"qx.bom.client.Engine":{construct:!0,require:!0},"qx.util.ResourceManager":{construct:!0}},environment:{provided:[],required:{"engine.name":{construct:!0,className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Blocker",{extend:qx.html.Element,construct:function(e,t){var n={position:"absolute",opacity:t||0,backgroundColor:e=e?qx.theme.manager.Color.getInstance().resolve(e):null};if("mshtml"==qx.core.Environment.get("engine.name")){n.backgroundImage="url("+qx.util.ResourceManager.getInstance().toUri("qx/static/blank.gif")+")";n.backgroundRepeat="repeat"}qx.html.Element.constructor.call(this,"div",n);this.addListener("mousedown",this._stopPropagation,this);this.addListener("mouseup",this._stopPropagation,this);this.addListener("click",this._stopPropagation,this);this.addListener("dblclick",this._stopPropagation,this);this.addListener("mousemove",this._stopPropagation,this);this.addListener("mouseover",this._stopPropagation,this);this.addListener("mouseout",this._stopPropagation,this);this.addListener("mousewheel",this._stopPropagation,this);this.addListener("roll",this._stopPropagation,this);this.addListener("contextmenu",this._stopPropagation,this);this.addListener("pointerdown",this._stopPropagation,this);this.addListener("pointerup",this._stopPropagation,this);this.addListener("pointermove",this._stopPropagation,this);this.addListener("pointerover",this._stopPropagation,this);this.addListener("pointerout",this._stopPropagation,this);this.addListener("tap",this._stopPropagation,this);this.addListener("dbltap",this._stopPropagation,this);this.addListener("swipe",this._stopPropagation,this);this.addListener("longtap",this._stopPropagation,this);this.addListener("appear",this.__P_45_0,this);this.addListener("disappear",this.__P_45_0,this)},members:{_stopPropagation:function(e){e.stopPropagation()},__P_45_0:function(){var e=this.getStyle("cursor");this.setStyle("cursor",null,!0);this.setStyle("cursor",e,!0)}}});qx.html.Blocker.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.theme.manager.Decoration":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.Util",{statics:{PERCENT_VALUE:/[0-9]+(?:\.[0-9]+)?%/,computeFlexOffsets:function(e,t,n){var r,i,o,s,a,u,l=t>n,c=Math.abs(t-n),h={};for(i in e){r=e[i];h[i]={potential:l?r.max-r.value:r.value-r.min,flex:l?r.flex:1/r.flex,offset:0}}for(;0!=c;){s=1/0;o=0;for(i in h)if((r=h[i]).potential>0){o+=r.flex;s=Math.min(s,r.potential/r.flex)}if(0==o)break;s=Math.min(c,s*o)/o;a=0;for(i in h)if((r=h[i]).potential>0){if((a+=(u=Math.min(c,r.potential,Math.ceil(s*r.flex)))-s*r.flex)>=1){a-=1;u-=1}r.potential-=u;l?r.offset+=u:r.offset-=u;c-=u}}return h},computeHorizontalAlignOffset:function(e,t,n,r,i){null==r&&(r=0);null==i&&(i=0);var o=0;switch(e){case"left":o=r;break;case"right":o=n-t-i;break;case"center":(o=Math.round((n-t)/2))0&&(t=Math.max(t,o))}return t+n},computeHorizontalGaps:function(e,t,n){null==t&&(t=0);var r=0;if(n){r+=e[0].getMarginLeft();for(var i=1,o=e.length;in||i>o)if(t>n&&i>o){t=n;i=o}else if(t>n){i+=t-n;t=n;i>o&&(i=o)}else if(i>o){t+=i-o;i=o;t>n&&(t=n)}return{begin:t,end:i}}}});qx.ui.layout.Util.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.SingleSelectionManager",{extend:qx.core.Object,construct:function(e){qx.core.Object.constructor.call(this);this.__P_121_0=e},events:{changeSelected:"qx.event.type.Data"},properties:{allowEmptySelection:{check:"Boolean",init:!0,apply:"__P_121_1"}},members:{__P_121_2:null,__P_121_0:null,getSelected:function(){return this.__P_121_2},setSelected:function(e){if(!this.__P_121_3(e))throw new Error("Could not select "+e+", because it is not a child element!");this.__P_121_4(e)},resetSelected:function(){this.__P_121_4(null)},isSelected:function(e){if(!this.__P_121_3(e))throw new Error("Could not check if "+e+" is selected, because it is not a child element!");return this.__P_121_2===e},isSelectionEmpty:function(){return null==this.__P_121_2},getSelectables:function(e){for(var t=this.__P_121_0.getItems(),n=[],r=0;r=0;r--)n[r].getEnabled()||n.splice(r,1);return n},__P_121_1:function(e,t){e||this.__P_121_4(this.__P_121_2)},__P_121_4:function(e){var t=this.__P_121_2,n=e;if(null==n||t!==n){if(!this.isAllowEmptySelection()&&null==n){var r=this.getSelectables(!0)[0];r&&(n=r)}this.__P_121_2=n;this.fireDataEvent("changeSelected",n,t)}},__P_121_3:function(e){for(var t=this.__P_121_0.getItems(),n=0;n=0&&value<=this.getMaximum()",init:0,apply:"_applyPosition",event:"scroll"},singleStep:{check:"Integer",init:20},pageStep:{check:"Integer",init:10,apply:"_applyPageStep"},knobFactor:{check:"PositiveNumber",apply:"_applyKnobFactor",nullable:!0}},members:{__P_165_0:2,__P_165_1:0,_computeSizeHint:function(){var e=qx.ui.core.scroll.ScrollBar.superclass.prototype._computeSizeHint.call(this);if("horizontal"===this.getOrientation()){this.__P_165_1=e.minWidth;e.minWidth=0}else{this.__P_165_1=e.minHeight;e.minHeight=0}return e},renderLayout:function(e,t,n,r){var i=qx.ui.core.scroll.ScrollBar.superclass.prototype.renderLayout.call(this,e,t,n,r),o="horizontal"===this.getOrientation();if(this.__P_165_1>=(o?n:r)){this.getChildControl("button-begin").setVisibility("hidden");this.getChildControl("button-end").setVisibility("hidden")}else{this.getChildControl("button-begin").setVisibility("visible");this.getChildControl("button-end").setVisibility("visible")}return i},_createChildControlImpl:function(e,t){var n;switch(e){case"slider":(n=new qx.ui.core.scroll.ScrollSlider).setPageStep(100);n.setFocusable(!1);n.addListener("changeValue",this._onChangeSliderValue,this);n.addListener("slideAnimationEnd",this._onSlideAnimationEnd,this);this._add(n,{flex:1});break;case"button-begin":(n=new qx.ui.form.RepeatButton).setFocusable(!1);n.addListener("execute",this._onExecuteBegin,this);this._add(n);break;case"button-end":(n=new qx.ui.form.RepeatButton).setFocusable(!1);n.addListener("execute",this._onExecuteEnd,this);this._add(n)}return n||qx.ui.core.scroll.ScrollBar.superclass.prototype._createChildControlImpl.call(this,e)},_applyMaximum:function(e){this.getChildControl("slider").setMaximum(e)},_applyPosition:function(e){this.getChildControl("slider").setValue(e)},_applyKnobFactor:function(e){this.getChildControl("slider").setKnobFactor(e)},_applyPageStep:function(e){this.getChildControl("slider").setPageStep(e)},_applyOrientation:function(e,t){this.getContentElement().setAttribute("aria-orientation",e);var n=this._getLayout();n&&n.dispose();if("horizontal"===e){this._setLayout(new qx.ui.layout.HBox);this.setAllowStretchX(!0);this.setAllowStretchY(!1);this.replaceState("vertical","horizontal");this.getChildControl("button-begin").replaceState("up","left");this.getChildControl("button-end").replaceState("down","right")}else{this._setLayout(new qx.ui.layout.VBox);this.setAllowStretchX(!1);this.setAllowStretchY(!0);this.replaceState("horizontal","vertical");this.getChildControl("button-begin").replaceState("left","up");this.getChildControl("button-end").replaceState("right","down")}this.getChildControl("slider").setOrientation(e)},scrollTo:function(e,t){this.getChildControl("slider").slideTo(e,t)},scrollBy:function(e,t){this.getChildControl("slider").slideBy(e,t)},scrollBySteps:function(e,t){var n=this.getSingleStep();this.getChildControl("slider").slideBy(e*n,t)},updatePosition:function(e){this.getChildControl("slider").updatePosition(e)},stopScrollAnimation:function(){this.getChildControl("slider").stopSlideAnimation()},_onExecuteBegin:function(e){this.scrollBy(-this.getSingleStep(),50)},_onExecuteEnd:function(e){this.scrollBy(this.getSingleStep(),50)},_onSlideAnimationEnd:function(){this.fireEvent("scrollAnimationEnd")},_onChangeSliderValue:function(e){this.setPosition(e.getData())},_onResizeSlider:function(e){var t=this.getChildControl("slider").getChildControl("knob"),n=t.getSizeHint(),r=!1,i=this.getChildControl("slider").getInnerSize();"vertical"==this.getOrientation()?i.height=0&&value<=this.getScrollMaxX()",apply:"_applyScrollX",transform:"_transformScrollX",event:"scrollX",init:0},scrollY:{check:"qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxY()",apply:"_applyScrollY",transform:"_transformScrollY",event:"scrollY",init:0}},members:{__P_123_0:null,add:function(e){var t=this._getChildren()[0];if(t){this._remove(t);t.removeListener("resize",this._onUpdate,this)}if(e){this._add(e);e.addListener("resize",this._onUpdate,this)}},remove:function(e){if(e){this._remove(e);e.removeListener("resize",this._onUpdate,this)}},getChildren:function(){return this._getChildren()},_onUpdate:function(e){this.fireEvent("update")},_onScroll:function(e){var t=this.getContentElement();this.setScrollX(t.getScrollX());this.setScrollY(t.getScrollY())},_onAppear:function(e){var t=this.getContentElement(),n=this.getScrollX();n!=t.getScrollX()&&t.scrollToX(n);var r=this.getScrollY();r!=t.getScrollY()&&t.scrollToY(r)},getItemTop:function(e){var t=0;do{t+=e.getBounds().top;e=e.getLayoutParent()}while(e&&e!==this);return t},getItemBottom:function(e){return this.getItemTop(e)+e.getBounds().height},getItemLeft:function(e){var t,n=0;do{n+=e.getBounds().left;(t=e.getLayoutParent())&&(n+=t.getInsets().left);e=t}while(e&&e!==this);return n},getItemRight:function(e){return this.getItemLeft(e)+e.getBounds().width},getScrollSize:function(){return this.getChildren()[0].getBounds()},getScrollMaxX:function(){var e=this.getInnerSize(),t=this.getScrollSize();return e&&t?Math.max(0,t.width-e.width):0},getScrollMaxY:function(){var e=this.getInnerSize(),t=this.getScrollSize();return e&&t?Math.max(0,t.height-e.height):0},scrollToX:function(e,t){var n=this.getScrollMaxX();e<0?e=0:e>n&&(e=n);this.stopScrollAnimation();if(t){var r=this.getScrollX();this.__P_123_0=new qx.bom.AnimationFrame;this.__P_123_0.on("end",(function(){this.setScrollX(e);this.__P_123_0=null;this.fireEvent("scrollAnimationEnd")}),this);this.__P_123_0.on("frame",(function(n){var i=parseInt(n/t*(e-r)+r);this.setScrollX(i)}),this);this.__P_123_0.startSequence(t)}else this.setScrollX(e)},scrollToY:function(e,t){var n=this.getScrollMaxY();e<0?e=0:e>n&&(e=n);this.stopScrollAnimation();if(t){var r=this.getScrollY();this.__P_123_0=new qx.bom.AnimationFrame;this.__P_123_0.on("end",(function(){this.setScrollY(e);this.__P_123_0=null;this.fireEvent("scrollAnimationEnd")}),this);this.__P_123_0.on("frame",(function(n){var i=parseInt(n/t*(e-r)+r);this.setScrollY(i)}),this);this.__P_123_0.startSequence(t)}else this.setScrollY(e)},scrollByX:function(e,t){this.scrollToX(this.getScrollX()+e,t)},scrollByY:function(e,t){this.scrollToY(this.getScrollY()+e,t)},stopScrollAnimation:function(){if(this.__P_123_0){this.__P_123_0.cancelSequence();this.__P_123_0=null}},_applyScrollX:function(e){this.getContentElement().scrollToX(e)},_transformScrollX:function(e){return Math.round(e)},_applyScrollY:function(e){this.getContentElement().scrollToY(e)},_transformScrollY:function(e){return Math.round(e)}}});qx.ui.core.scroll.ScrollPane.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.LayoutItem":{construct:!0,require:!0},"qx.ui.core.queue.Dispose":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.Spacer",{extend:qx.ui.core.LayoutItem,construct:function(e,t){qx.ui.core.LayoutItem.constructor.call(this);this.setWidth(null!=e?e:0);this.setHeight(null!=t?t:0)},members:{checkAppearanceNeeds:function(){},addChildrenToQueue:function(e){},destroy:function(){if(!this.$$disposed){var e=this.$$parent;e&&e._remove(this);qx.ui.core.queue.Dispose.add(this)}}}});qx.ui.core.Spacer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.Separator",{extend:qx.ui.core.Widget,properties:{appearance:{refine:!0,init:"toolbar-separator"},anonymous:{refine:!0,init:!0},width:{refine:!0,init:0},height:{refine:!0,init:0}}});qx.ui.toolbar.Separator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.container.Composite":{construct:!0,require:!0},"qx.ui.layout.HBox":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.toolbar.PartContainer",{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.constructor.call(this);this._setLayout(new qx.ui.layout.HBox)},events:{changeChildren:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"toolbar/part/container"},show:{init:"both",check:["both","label","icon"],inheritable:!0,event:"changeShow"}},members:{_afterAddChild:function(e){this.fireEvent("changeChildren")},_afterRemoveChild:function(e){this.fireEvent("changeChildren")}}});qx.ui.toolbar.PartContainer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.bom.Shortcut":{construct:!0},"qx.ui.menu.Menu":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.command.Command",{extend:qx.core.Object,construct:function(e){qx.core.Object.constructor.call(this);this._shortcut=new qx.bom.Shortcut(e);this._shortcut.addListener("execute",this.execute,this);void 0!==e&&this.setShortcut(e)},events:{execute:"qx.event.type.Data"},properties:{active:{init:!0,check:"Boolean",event:"changeActive",apply:"_applyActive"},enabled:{init:!0,check:"Boolean",event:"changeEnabled",apply:"_applyEnabled"},shortcut:{check:"String",apply:"_applyShortcut",nullable:!0},label:{check:"String",nullable:!0,event:"changeLabel"},icon:{check:"String",nullable:!0,event:"changeIcon"},toolTipText:{check:"String",nullable:!0,event:"changeToolTipText"},value:{nullable:!0,event:"changeValue"},menu:{check:"qx.ui.menu.Menu",nullable:!0,event:"changeMenu"}},members:{_shortcut:null,_applyActive:function(e){!1===e?this._shortcut.setEnabled(!1):this._shortcut.setEnabled(this.getEnabled())},_applyEnabled:function(e){this.getActive()&&this._shortcut.setEnabled(e)},_applyShortcut:function(e){this._shortcut.setShortcut(e)},execute:function(e){this.getActive()&&this.getEnabled()&&this.fireDataEvent("execute",e)},toString:function(){return this._shortcut?this._shortcut.toString():qx.ui.command.Command.superclass.prototype.toString.call(this)}},destruct:function(){this._shortcut.removeListener("execute",this.execute,this);this._disposeObjects("_shortcut")}});qx.ui.command.Command.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.Registration":{construct:!0},"qx.bom.client.Event":{construct:!0,require:!0},"qx.bom.Element":{construct:!0},"qx.event.Timer":{construct:!0},"qx.ui.menu.Menu":{},"qx.ui.menu.AbstractButton":{},"qx.lang.Array":{},"qx.ui.core.Widget":{},"qx.ui.menubar.Button":{},"qx.ui.menu.Button":{}},environment:{provided:[],required:{"event.touch":{construct:!0,className:"qx.bom.client.Event"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.menu.Manager",{type:"singleton",extend:qx.core.Object,construct:function(){qx.core.Object.constructor.call(this);this.__P_57_0=[];var e=document.body,t=qx.event.Registration;t.addListener(window.document.documentElement,"pointerdown",this._onPointerDown,this,!0);t.addListener(e,"roll",this._onRoll,this,!0);t.addListener(e,"keydown",this._onKeyUpDown,this,!0);t.addListener(e,"keyup",this._onKeyUpDown,this,!0);t.addListener(e,"keypress",this._onKeyPress,this,!0);qx.core.Environment.get("event.touch")||qx.bom.Element.addListener(window,"blur",this.hideAll,this);this.__P_57_1=new qx.event.Timer;this.__P_57_1.addListener("interval",this._onOpenInterval,this);this.__P_57_2=new qx.event.Timer;this.__P_57_2.addListener("interval",this._onCloseInterval,this)},members:{__P_57_3:null,__P_57_4:null,__P_57_1:null,__P_57_2:null,__P_57_0:null,_getChild:function(e,t,n,r){for(var i,o=e.getChildren(),s=o.length,a=t;a=0;a+=n)if((i=o[a]).isEnabled()&&!i.isAnonymous()&&i.isVisible())return i;if(r){a=a==s?0:s-1;for(;a!=t;a+=n)if((i=o[a]).isEnabled()&&!i.isAnonymous()&&i.isVisible())return i}return null},_isInMenu:function(e){for(;e;){if(e instanceof qx.ui.menu.Menu)return!0;e=e.getLayoutParent()}return!1},_isMenuOpener:function(e){for(var t=this.__P_57_0,n=0;n=0;t--)e[t].exclude()},getActiveMenu:function(){var e=this.__P_57_0;return e.length>0?e[e.length-1]:null},scheduleOpen:function(e){this.cancelClose(e);if(e.isVisible())this.__P_57_3&&this.cancelOpen(this.__P_57_3);else if(this.__P_57_3!=e){this.__P_57_3=e;this.__P_57_1.restartWith(e.getOpenInterval())}},scheduleClose:function(e){this.cancelOpen(e);if(e.isVisible()){if(this.__P_57_4!=e){this.__P_57_4=e;this.__P_57_2.restartWith(e.getCloseInterval())}}else this.__P_57_4&&this.cancelClose(this.__P_57_4)},cancelOpen:function(e){if(this.__P_57_3==e){this.__P_57_1.stop();this.__P_57_3=null}},cancelClose:function(e){if(this.__P_57_4==e){this.__P_57_2.stop();this.__P_57_4=null}},_onOpenInterval:function(e){this.__P_57_1.stop();this.__P_57_3.open();this.__P_57_3=null},_onCloseInterval:function(e){this.__P_57_2.stop();this.__P_57_4.exclude();this.__P_57_4=null},preventContextMenuOnce:function(){qx.event.Registration.addListener(document.body,"contextmenu",this.__P_57_5,this,!0)},__P_57_5:function(e){var t=e.getTarget();t=qx.ui.core.Widget.getWidgetByElement(t,!0);if(this._isInMenu(t)){e.stopPropagation();e.preventDefault()}qx.event.Registration.removeListener(document.body,"contextmenu",this.__P_57_5,this,!0)},_onPointerDown:function(e){var t=e.getTarget();null!=(t=qx.ui.core.Widget.getWidgetByElement(t,!0))?t.getMenu&&t.getMenu()&&t.getMenu().isVisible()||this.__P_57_0.length>0&&!this._isInMenu(t)&&this.hideAll():this.hideAll()},__P_57_6:{Enter:1,Space:1},__P_57_7:{Tab:1,Escape:1,Up:1,Down:1,Left:1,Right:1},_onKeyUpDown:function(e){var t=this.getActiveMenu();if(t){var n=e.getKeyIdentifier();(this.__P_57_7[n]||this.__P_57_6[n]&&t.getSelectedButton())&&e.stopPropagation()}},_onKeyPress:function(e){var t=this.getActiveMenu();if(t){var n=e.getKeyIdentifier(),r=this.__P_57_7[n],i=this.__P_57_6[n];if(r){switch(n){case"Up":this._onKeyPressUp(t);break;case"Down":this._onKeyPressDown(t);break;case"Left":this._onKeyPressLeft(t);break;case"Right":this._onKeyPressRight(t);break;case"Tab":case"Escape":this.hideAll()}e.stopPropagation();e.preventDefault()}else if(i){var o=t.getSelectedButton();if(o){switch(n){case"Enter":this._onKeyPressEnter(t,o,e);break;case"Space":this._onKeyPressSpace(t,o,e)}e.stopPropagation();e.preventDefault()}}}},_onKeyPressUp:function(e){var t=e.getSelectedButton(),n=e.getChildren(),r=t?e.indexOf(t)-1:n.length-1,i=this._getChild(e,r,-1,!0);i?e.setSelectedButton(i):e.resetSelectedButton()},_onKeyPressDown:function(e){var t=e.getSelectedButton(),n=t?e.indexOf(t)+1:0,r=this._getChild(e,n,1,!0);r?e.setSelectedButton(r):e.resetSelectedButton()},_onKeyPressLeft:function(e){var t=e.getOpener();if(t)if(t instanceof qx.ui.menu.AbstractButton){var n=t.getLayoutParent();n.resetOpenedButton();n.setSelectedButton(t)}else if(t instanceof qx.ui.menubar.Button){var r=t.getMenuBar().getMenuButtons(),i=r.indexOf(t);if(-1===i)return;for(var o=null,s=r.length,a=1;a<=s;a++){var u=r[(i-a+s)%s];if(u.isEnabled()&&u.isVisible()){o=u;break}}o&&o!=t&&o.open(!0)}},_onKeyPressRight:function(e){var t=e.getSelectedButton();if(t){var n=t.getMenu();if(n){e.setOpenedButton(t);(r=this._getChild(n,0,1))&&n.setSelectedButton(r);return}}else if(!e.getOpenedButton()){var r;if(r=this._getChild(e,0,1)){e.setSelectedButton(r);r.getMenu()&&e.setOpenedButton(r);return}}var i=e.getOpener();if(i instanceof qx.ui.menu.Button&&t){for(;i&&(i=i.getLayoutParent())instanceof qx.ui.menu.Menu&&!((i=i.getOpener())instanceof qx.ui.menubar.Button););if(!i)return}if(i instanceof qx.ui.menubar.Button){var o=i.getMenuBar().getMenuButtons(),s=o.indexOf(i);if(-1===s)return;for(var a=null,u=o.length,l=1;l<=u;l++){var c=o[(s+l)%u];if(c.isEnabled()&&c.isVisible()){a=c;break}}a&&a!=i&&a.open(!0)}},_onKeyPressEnter:function(e,t,n){if(t.hasListener("keypress")){var r=n.clone();r.setBubbles(!1);r.setTarget(t);t.dispatchEvent(r)}this.hideAll()},_onKeyPressSpace:function(e,t,n){if(t.hasListener("keypress")){var r=n.clone();r.setBubbles(!1);r.setTarget(t);t.dispatchEvent(r)}},_onRoll:function(e){var t=e.getTarget();t=qx.ui.core.Widget.getWidgetByElement(t,!0);this.__P_57_0.length>0&&!this._isInMenu(t)&&!this._isMenuOpener(t)&&!e.getMomentum()&&this.hideAll()}},destruct:function(){var e=qx.event.Registration,t=document.body;e.removeListener(window.document.documentElement,"pointerdown",this._onPointerDown,this,!0);e.removeListener(t,"keydown",this._onKeyUpDown,this,!0);e.removeListener(t,"keyup",this._onKeyUpDown,this,!0);e.removeListener(t,"keypress",this._onKeyPress,this,!0);this._disposeObjects("__P_57_1","__P_57_2");this._disposeArray("__P_57_0")}});qx.ui.menu.Manager.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Timer":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.Idle",{extend:qx.core.Object,implement:[qx.core.IDisposable],type:"singleton",construct:function(){qx.core.Object.constructor.call(this)},events:{interval:"qx.event.type.Event"},properties:{timeoutInterval:{check:"Number",init:100,apply:"_applyTimeoutInterval"}},members:{__P_128_0:null,_applyTimeoutInterval:function(e){this.__P_128_0&&this.__P_128_0.setInterval(e)},_onInterval:function(){this.fireEvent("interval")},__P_128_1:function(){if(!this.__P_128_0&&this.hasListener("interval")){var e=new qx.event.Timer(this.getTimeoutInterval());e.addListener("interval",this._onInterval,this);e.start();this.__P_128_0=e}},__P_128_2:function(){if(this.__P_128_0&&!this.hasListener("interval")){this.__P_128_0.stop();this.__P_128_0.dispose();this.__P_128_0=null}},addListener:function(e,t,n,r){var i=qx.event.Idle.superclass.prototype.addListener.call(this,e,t,n,r);this.__P_128_1();return i},addListenerOnce:function(e,t,n,r){var i=qx.event.Idle.superclass.prototype.addListenerOnce.call(this,e,t,n,r);this.__P_128_1();return i},removeListener:function(e,t,n,r){var i=qx.event.Idle.superclass.prototype.removeListener.call(this,e,t,n,r);this.__P_128_2();return i},removeListenerById:function(e){var t=qx.event.Idle.superclass.prototype.removeListenerById.call(this,e);this.__P_128_2();return t}},destruct:function(){this.__P_128_0&&this.__P_128_0.stop();this.__P_128_0=null}});qx.event.Idle.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.util.placement.DirectAxis":{construct:!0},"qx.util.placement.KeepAlignAxis":{},"qx.util.placement.BestFitAxis":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.placement.Placement",{extend:qx.core.Object,construct:function(){qx.core.Object.constructor.call(this);this.__P_129_0=qx.util.placement.DirectAxis},properties:{axisX:{check:"Class"},axisY:{check:"Class"},edge:{check:["top","right","bottom","left"],init:"top"},align:{check:["top","right","bottom","left","center","middle"],init:"right"}},statics:{__P_129_1:null,compute:function(e,t,n,r,i,o,s){this.__P_129_1=this.__P_129_1||new qx.util.placement.Placement;var a=i.split("-"),u=a[0],l=a[1];this.__P_129_1.set({axisX:this.__P_129_2(o),axisY:this.__P_129_2(s),edge:u,align:l});return this.__P_129_1.compute(e,t,n,r)},__P_129_3:null,__P_129_4:null,__P_129_5:null,__P_129_2:function(e){switch(e){case"direct":this.__P_129_3=this.__P_129_3||qx.util.placement.DirectAxis;return this.__P_129_3;case"keep-align":this.__P_129_4=this.__P_129_4||qx.util.placement.KeepAlignAxis;return this.__P_129_4;case"best-fit":this.__P_129_5=this.__P_129_5||qx.util.placement.BestFitAxis;return this.__P_129_5;default:throw new Error("Invalid 'mode' argument!'")}}},members:{__P_129_0:null,compute:function(e,t,n,r){return{left:(this.getAxisX()||this.__P_129_0).computeStart(e.width,{start:n.left,end:n.right},{start:r.left,end:r.right},t.width,this.__P_129_6()),top:(this.getAxisY()||this.__P_129_0).computeStart(e.height,{start:n.top,end:n.bottom},{start:r.top,end:r.bottom},t.height,this.__P_129_7())}},__P_129_6:function(){var e=this.getEdge(),t=this.getAlign();return"left"==e?"edge-start":"right"==e?"edge-end":"left"==t?"align-start":"center"==t?"align-center":"right"==t?"align-end":void 0},__P_129_7:function(){var e=this.getEdge(),t=this.getAlign();return"top"==e?"edge-start":"bottom"==e?"edge-end":"top"==t?"align-start":"middle"==t?"align-center":"bottom"==t?"align-end":void 0}},destruct:function(){this._disposeObjects("__P_129_0")}});qx.util.placement.Placement.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.event.Registration":{construct:!0},"qx.bom.Element":{construct:!0},"qx.ui.core.Widget":{require:!0},"qx.lang.Array":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.popup.Manager",{type:"singleton",extend:qx.core.Object,construct:function(){qx.core.Object.constructor.call(this);this.__P_55_0=[];qx.event.Registration.addListener(document.documentElement,"pointerdown",this.__P_55_1,this,!0);qx.bom.Element.addListener(window,"blur",this.hideAll,this)},properties:{containsFunction:{check:"Function",init:qx.ui.core.Widget.contains}},members:{__P_55_0:null,add:function(e){this.__P_55_0.push(e);this.__P_55_2()},remove:function(e){qx.lang.Array.remove(this.__P_55_0,e);this.__P_55_2()},hideAll:function(){for(var e=this.__P_55_0.length,t={};e--;)(t=this.__P_55_0[e]).getAutoHide()&&t.exclude()},__P_55_2:function(){for(var e=1e7,t=0;t0&&r>=i||0==t?e.stopMomentum():e.stop()}else{t=e.getDelta().y;var o;r=n.getScrollY(),i=n.getScrollMaxY();(o=parseInt(t))<0&&r<=0||o>0&&r>=i||0==t?e.stopMomentum():e.stop()}this.scrollBy(parseInt(t,10));e.getMomentum()&&e.stop()}},_onScroll:function(){this._updateArrowsEnabled()},_onScrollAnimationEnd:function(){this.fireEvent("scrollAnimationEnd")},_onResize:function(e){var t=this.getChildControl("scrollpane").getChildren()[0];if(t){var n=this.getInnerSize(),r=t.getBounds();if("horizontal"===this.getOrientation()?r.width>n.width:r.height>n.height){this._showArrows();this._updateArrowsEnabled()}else this._hideArrows()}},_onExecuteBackward:function(){this.scrollBy(-this.getScrollStep())},_onExecuteForward:function(){this.scrollBy(this.getScrollStep())},_updateArrowsEnabled:function(){if(this.getEnabled()){var e=this.getChildControl("scrollpane");if("horizontal"===this.getOrientation())var t=e.getScrollX(),n=e.getScrollMaxX();else t=e.getScrollY(),n=e.getScrollMaxY();this.getChildControl("button-backward").setEnabled(t>0);this.getChildControl("button-forward").setEnabled(t0';return t.firstChild.href}}});qx.util.Uri.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.CssAnimation":{require:!0},"qx.bom.Stylesheet":{},"qx.bom.Event":{},"qx.lang.String":{},"qx.bom.element.AnimationHandle":{},"qx.bom.element.Transform":{},"qx.bom.Style":{},"qx.bom.client.OperatingSystem":{defer:"load",require:!0}},environment:{provided:[],required:{"css.animation":{load:!0,className:"qx.bom.client.CssAnimation"},"qx.debug":{load:!0},"os.name":{defer:!0,className:"qx.bom.client.OperatingSystem"},"os.version":{defer:!0,className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.AnimationCss",{statics:{__P_63_0:null,__P_63_1:"Anni",__P_63_2:0,__P_63_3:{},__P_63_4:{scale:!0,rotate:!0,skew:!0,translate:!0},__P_63_5:qx.core.Environment.get("css.animation"),animateReverse:function(e,t,n){return this._animate(e,t,n,!0)},animate:function(e,t,n){return this._animate(e,t,n,!1)},_animate:function(e,t,n,r){this.__P_63_6(t);var i=t.keep;null!=i&&(r||t.alternate&&t.repeat%2==0)&&(i=100-i);this.__P_63_0||(this.__P_63_0=qx.bom.Stylesheet.createElement());var o=t.keyFrames;null==n&&(n=t.duration);if(null!=this.__P_63_5){var s=this.__P_63_7(o,r)+" "+n+"ms "+t.timing+" "+(t.delay?t.delay+"ms ":"")+t.repeat+" "+(t.alternate?"alternate":"");qx.bom.Event.addNativeListener(e,this.__P_63_5["start-event"],this.__P_63_8);qx.bom.Event.addNativeListener(e,this.__P_63_5["iteration-event"],this.__P_63_9);qx.bom.Event.addNativeListener(e,this.__P_63_5["end-event"],this.__P_63_10);e.style[qx.lang.String.camelCase(this.__P_63_5.name)]=s;i&&100==i&&this.__P_63_5["fill-mode"]&&(e.style[this.__P_63_5["fill-mode"]]="forwards")}var a=new qx.bom.element.AnimationHandle;a.desc=t;a.el=e;a.keep=i;e.$$animation=a;null!=t.origin&&qx.bom.element.Transform.setOrigin(e,t.origin);null==this.__P_63_5&&window.setTimeout((function(){qx.bom.element.AnimationCss.__P_63_10({target:e})}),0);return a},__P_63_8:function(e){e.target.$$animation&&e.target.$$animation.emit("start",e.target)},__P_63_9:function(e){null!=e.target&&null!=e.target.$$animation&&e.target.$$animation.emit("iteration",e.target)},__P_63_10:function(e){var t=e.target,n=t.$$animation;if(n){var r=n.desc;if(null!=qx.bom.element.AnimationCss.__P_63_5){var i=qx.lang.String.camelCase(qx.bom.element.AnimationCss.__P_63_5.name);t.style[i]="";qx.bom.Event.removeNativeListener(t,qx.bom.element.AnimationCss.__P_63_5.name,qx.bom.element.AnimationCss.__P_63_10)}null!=r.origin&&qx.bom.element.Transform.setOrigin(t,"");qx.bom.element.AnimationCss.__P_63_11(t,r.keyFrames[n.keep]);t.$$animation=null;n.el=null;n.ended=!0;n.emit("end",t)}},__P_63_11:function(e,t){var n;for(var r in t)if(r in qx.bom.element.AnimationCss.__P_63_4){n||(n={});n[r]=t[r]}else e.style[qx.lang.String.camelCase(r)]=t[r];n&&qx.bom.element.Transform.transform(e,n)},__P_63_6:function(e){e.hasOwnProperty("alternate")||(e.alternate=!1);e.hasOwnProperty("keep")||(e.keep=null);e.hasOwnProperty("repeat")||(e.repeat=1);e.hasOwnProperty("timing")||(e.timing="linear");e.hasOwnProperty("origin")||(e.origin=null)},__P_63_12:qx.core.Environment.select("qx.debug",{true:function(e){var t=["origin","duration","keep","keyFrames","delay","repeat","timing","alternate"];for(var n in e)-1==t.indexOf(n)&&qx.Bootstrap.warn("Unknown key '"+n+"' in the animation description.");if(null==e.keyFrames)qx.Bootstrap.warn("No 'keyFrames' given > 0");else for(var r in e.keyFrames)(r<0||r>100)&&qx.Bootstrap.warn("Keyframe position needs to be between 0 and 100")},default:null}),__P_63_7:function(e,t){var n="";for(var r in e){n+=(t?-(r-100):r)+"% {";var i,o=e[r];for(var s in o)if(s in this.__P_63_4){i||(i={});i[s]=o[s]}else{var a=qx.bom.Style.getPropertyName(s);n+=((null!==a?qx.bom.Style.getCssName(a):"")||s)+":"+o[s]+";"}i&&(n+=qx.bom.element.Transform.getCss(i));n+="} "}if(this.__P_63_3[n])return this.__P_63_3[n];var u=this.__P_63_1+this.__P_63_2++,l=this.__P_63_5.keyframes+" "+u;qx.bom.Stylesheet.addRule(this.__P_63_0,l,n);this.__P_63_3[n]=u;return u},__P_63_13:function(){this.__P_63_2=0;if(this.__P_63_0){this.__P_63_0.ownerNode.remove();this.__P_63_0=null;this.__P_63_3={}}}},defer:function(e){"ios"===qx.core.Environment.get("os.name")&&parseInt(qx.core.Environment.get("os.version"))>=8&&document.addEventListener("visibilitychange",(function(){document.hidden||e.__P_63_13()}),!1)}});qx.bom.element.AnimationCss.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.bom.element.AnimationHandle":{},"qx.bom.Style":{},"qx.bom.element.Transform":{},"qx.util.ColorUtil":{},"qx.bom.AnimationFrame":{},"qx.lang.String":{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.AnimationJs",{statics:{__P_64_0:30,__P_64_1:["%","in","cm","mm","em","ex","pt","pc","px"],__P_64_2:{scale:!0,rotate:!0,skew:!0,translate:!0},animate:function(e,t,n){return this._animate(e,t,n,!1)},animateReverse:function(e,t,n){return this._animate(e,t,n,!0)},_animate:function(e,t,n,r){if(e.$$animation)return e.$$animation;t=qx.lang.Object.clone(t,!0);null==n&&(n=t.duration);var i=t.keyFrames,o=this.__P_64_3(i),s=this.__P_64_4(n,o),a=parseInt(n/s,10);this.__P_64_5(i,e);var u=this.__P_64_6(a,s,o,i,n,t.timing),l=new qx.bom.element.AnimationHandle;l.jsAnimation=!0;if(r){u.reverse();l.reverse=!0}l.desc=t;l.el=e;l.delta=u;l.stepTime=s;l.steps=a;e.$$animation=l;l.i=0;l.initValues={};l.repeatSteps=this.__P_64_7(a,t.repeat);var c=t.delay||0,h=this;l.delayId=window.setTimeout((function(){l.delayId=null;h.play(l)}),c);return l},__P_64_5:function(e,t){var n={};for(var r in e)for(var i in e[r]){var o=qx.bom.Style.getPropertyName(i);if(o&&o!=i){var s=qx.bom.Style.getCssName(o);e[r][s]=e[r][i];delete e[r][i];i=s}if(null==n[i]){var a=e[r][i];n[i]="string"==typeof a?this.__P_64_8(a):""}}for(var r in e){var u=e[r];for(var i in n)if(null==u[i]){i in t.style?window.getComputedStyle?u[i]=window.getComputedStyle(t,null)[i]:u[i]=t.style[i]:u[i]=t[i];""===u[i]&&-1!=this.__P_64_1.indexOf(n[i])&&(u[i]="0"+n[i])}}},__P_64_9:function(e){e=qx.lang.Object.clone(e);var t;for(var n in e)if(n in this.__P_64_2){t||(t={});t[n]=e[n];delete e[n]}if(t){var r=qx.bom.element.Transform.getCss(t).split(":");r.length>1&&(e[r[0]]=r[1].replace(";",""))}return e},__P_64_6:function(e,t,n,r,i,o){var s=new Array(e),a=1;s[0]=this.__P_64_9(r[0]);for(var u=r[0],l=r[n[a]],c=Math.floor(n[a]/(t/i*100)),h=1,d=1;dn[a]){u=l;l=r[n[++a]];c=Math.floor(n[a]/(t/i*100))-c;h=1}s[d]={};var f;for(var _ in l){var p=l[_]+"";if(_ in this.__P_64_2){f||(f={});if(qx.Bootstrap.isArray(u[_])){qx.Bootstrap.isArray(l[_])||(l[_]=[l[_]]);f[_]=[];for(var m=0;m1&&(s[d][P[0]]=P[1].replace(";",""))}h++}s[s.length-1]=this.__P_64_9(r[100]);return s},__P_64_8:function(e){return e.substring((parseFloat(e)+"").length,e.length)},__P_64_10:function(e,t,n,r){var i=parseFloat(e)-parseFloat(t);return parseFloat(t)+i*qx.bom.AnimationFrame.calculateTiming(n,r)+this.__P_64_8(e)},play:function(e){e.emit("start",e.el);var t=window.setInterval((function(){e.repeatSteps--;var t=e.delta[e.i%e.steps];if(0===e.i)for(var n in t)void 0===e.initValues[n]&&(void 0!==e.el[n]?e.initValues[n]=e.el[n]:qx.bom.element.Style?e.initValues[n]=qx.bom.element.Style.get(e.el,qx.lang.String.camelCase(n)):e.initValues[n]=e.el.style[qx.lang.String.camelCase(n)]);qx.bom.element.AnimationJs.__P_64_11(e.el,t);e.i++;if(e.i%e.steps==0){e.emit("iteration",e.el);e.desc.alternate&&e.delta.reverse()}e.repeatSteps<0&&qx.bom.element.AnimationJs.stop(e)}),e.stepTime);e.animationId=t;return e},pause:function(e){window.clearInterval(e.animationId);e.animationId=null;return e},stop:function(e){var t=e.desc,n=e.el,r=e.initValues;e.animationId&&window.clearInterval(e.animationId);e.delayId&&window.clearTimeout(e.delayId);if(null==n)return e;var i=t.keep;if(null==i||e.stopped)this.__P_64_11(n,r);else{(e.reverse||t.alternate&&t.repeat&&t.repeat%2==0)&&(i=100-i);this.__P_64_11(n,this.__P_64_9(t.keyFrames[i]))}n.$$animation=null;e.el=null;e.ended=!0;e.animationId=null;e.emit("end",n);return e},__P_64_7:function(e,t){return null==t?e:"infinite"==t?Number.MAX_VALUE:e*t},__P_64_11:function(e,t){for(var n in t)if(void 0!==t[n])if(void 0===e.style[n]&&n in e)e[n]=t[n];else{var r=qx.bom.Style.getPropertyName(n)||n;qx.bom.element.Style?qx.bom.element.Style.set(e,r,t[n]):e.style[r]=t[n]}},__P_64_4:function(e,t){for(var n=100,r=0;rthis.__P_64_0;)i/=2;return Math.round(i)},__P_64_3:function(e){for(var t=Object.keys(e),n=0;ne&&this.setMinimum(e);this.getValue()>e?this.setValue(e):this._updateButtons()},_applyEnabled:function(e,t){qx.ui.form.Spinner.superclass.prototype._applyEnabled.call(this,e,t);this._updateButtons()},_checkValue:function(e){return"number"==typeof e&&e>=this.getMinimum()&&e<=this.getMaximum()},_applyValue:function(e,t){var n=this.getChildControl("textfield");this._updateButtons();this.__P_66_0=e;null!==e?this.getNumberFormat()?n.setValue(this.getNumberFormat().format(e)):n.setValue(e+""):n.setValue("")},_applyEditable:function(e,t){var n=this.getChildControl("textfield");n&&n.setReadOnly(!e)},_applyWrap:function(e,t){this._updateButtons()},_applyNumberFormat:function(e,t){this.getChildControl("textfield").setFilter(this._getFilterRegExp());t&&t.removeListener("changeNumberFormat",this._onChangeNumberFormat,this);var n=this.getNumberFormat();null!==n&&n.addListener("changeNumberFormat",this._onChangeNumberFormat,this);this._applyValue(this.__P_66_0,void 0)},_getContentPaddingTarget:function(){return this.getChildControl("textfield")},_updateButtons:function(){var e=this.getChildControl("upbutton"),t=this.getChildControl("downbutton"),n=this.getValue();if(this.getEnabled())if(this.getWrap()){e.setEnabled(!0);t.setEnabled(!0)}else{null!==n&&nthis.getMinimum()?t.setEnabled(!0):t.setEnabled(!1)}else{e.setEnabled(!1);t.setEnabled(!1)}},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case"PageUp":this.__P_66_1=!0;this.getChildControl("textfield").fireNonBubblingEvent("changeValue",qx.event.type.Data);this.getChildControl("upbutton").press();break;case"Up":this.getChildControl("textfield").fireNonBubblingEvent("changeValue",qx.event.type.Data);this.getChildControl("upbutton").press();break;case"PageDown":this.__P_66_2=!0;this.getChildControl("textfield").fireNonBubblingEvent("changeValue",qx.event.type.Data);this.getChildControl("downbutton").press();break;case"Down":this.getChildControl("textfield").fireNonBubblingEvent("changeValue",qx.event.type.Data);this.getChildControl("downbutton").press();break;default:return}e.stopPropagation();e.preventDefault()},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case"PageUp":this.getChildControl("upbutton").release();this.__P_66_1=!1;break;case"Up":this.getChildControl("upbutton").release();break;case"PageDown":this.getChildControl("downbutton").release();this.__P_66_2=!1;break;case"Down":this.getChildControl("downbutton").release()}},_onRoll:function(e){if("wheel"==e.getPointerType()){var t=e.getDelta().y;t<0?this._countUp():t>0&&this._countDown();e.stop()}},_onTextChange:function(e){var t,n=this.getChildControl("textfield");if(this.getNumberFormat())try{t=this.getNumberFormat().parse(n.getValue())}catch(e){}void 0===t&&(t=parseFloat(n.getValue()));if(isNaN(t))this._applyValue(this.__P_66_0,void 0);else{t>this.getMaximum()?t=this.getMaximum():tthis.getMaximum()){var t=this.getMaximum()-e;e=this.getMinimum()-t-1}this.gotoValue(e)},_countDown:function(){if(this.__P_66_2)var e=this.getValue()-this.getPageStep();else e=this.getValue()-this.getSingleStep();if(this.getWrap()&&e0?r=this.__P_191_0(e.detail):void 0!==e.deltaX&&(r=this.__P_191_0(e.deltaX));return r}if("y"===t){var i=0;void 0!==e.wheelDelta?i=void 0!==e.wheelDeltaY?e.wheelDeltaY?this.__P_191_0(-e.wheelDeltaY):0:this.__P_191_0(-e.wheelDelta):(!e.axis||e.axis!=e.HORIZONTAL_AXIS)&&void 0!==e.detail&&e.detail>0?i=this.__P_191_0(e.detail):void 0!==e.deltaY&&(i=this.__P_191_0(e.deltaY));return i}return 0},__P_191_0:function(e){if(qx.util.Wheel.IS_TOUCHPAD){qx.util.Wheel.MINSCROLL=null;qx.util.Wheel.MAXSCROLL=null;qx.util.Wheel.FACTOR=1;return e}var t=Math.abs(e);if(0===t)return 0;if(null==qx.util.Wheel.MINSCROLL||qx.util.Wheel.MINSCROLL>t){qx.util.Wheel.MINSCROLL=t;this.__P_191_1()}if(null==qx.util.Wheel.MAXSCROLL||qx.util.Wheel.MAXSCROLL=this.charCodeA&&e<=this.charCodeZ||(e>=this.charCode0&&e<=this.charCode9||(!!this.specialCharCodeMap[e]||(!!this.numpadToCharCode[e]||!!this.isNonPrintableKeyCode(e))))},isNonPrintableKeyCode:function(e){return!!this.keyCodeToIdentifierMap[e]},isValidKeyIdentifier:function(e){if(this.identifierToKeyCodeMap[e])return!0;if(1!=e.length)return!1;if(e>="0"&&e<="9")return!0;if(e>="A"&&e<="Z")return!0;switch(e){case"+":case"-":case"*":case"/":case",":return!0;default:return!1}},isPrintableKeyIdentifier:function(e){return"Space"===e||!this.identifierToKeyCodeMap[e]}},defer:function(e){if(!e.identifierToKeyCodeMap){e.identifierToKeyCodeMap={};for(var t in e.keyCodeToIdentifierMap)e.identifierToKeyCodeMap[e.keyCodeToIdentifierMap[t]]=parseInt(t,10);for(var t in e.specialCharCodeMap)e.identifierToKeyCodeMap[e.specialCharCodeMap[t]]=parseInt(t,10)}}});qx.event.util.Keyboard.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Event":{require:!0},"qx.dom.Node":{},"qx.bom.Viewport":{},"qx.event.Registration":{},"qx.event.handler.DragDrop":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Drag",{extend:qx.event.type.Event,members:{init:function(e,t){qx.event.type.Drag.superclass.prototype.init.call(this,!0,e);if(t){this._native=t.getNativeEvent()||null;this._originalTarget=t.getOriginalTarget()||null}else{this._native=null;this._originalTarget=null}return this},clone:function(e){var t=qx.event.type.Drag.superclass.prototype.clone.call(this,e);t._native=this._native;return t},getDocumentLeft:function(){if(null==this._native)return 0;var e=this._native.pageX;if(void 0!==e){0==e&&"touch"==this._native.pointerType&&(e=this._native._original.changedTouches[0].pageX||0);return Math.round(e)}var t=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(t)},getDocumentTop:function(){if(null==this._native)return 0;var e=this._native.pageY;if(void 0!==e){0==e&&"touch"==this._native.pointerType&&(e=this._native._original.changedTouches[0].pageY||0);return Math.round(e)}var t=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(t)},getManager:function(){return qx.event.Registration.getManager(this.getTarget()).getHandler(qx.event.handler.DragDrop)},addType:function(e){this.getManager().addType(e)},addAction:function(e){this.getManager().addAction(e)},supportsType:function(e){return this.getManager().supportsType(e)},supportsAction:function(e){return this.getManager().supportsAction(e)},addData:function(e,t){this.getManager().addData(e,t)},getData:function(e){return this.getManager().getData(e)},getDataAsync:function(e){return this.getManager().getDataAsync(e)},getCurrentType:function(){return this.getManager().getCurrentType()},getCurrentAction:function(){return this.getDefaultPrevented()?null:this.getManager().getCurrentAction()},getCurrentActionAsync:function(){return this.getDefaultPrevented()?null:this.getManager().getCurrentActionAsync()},setDropAllowed:function(e){this.getManager().setDropAllowed(e)},getDragTarget:function(){return this.getManager().getDragTarget()},stopSession:function(){this.getManager().clearSession()}}});qx.event.type.Drag.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.bom.Input":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine",load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Input",{extend:qx.html.Element,construct:function(e,t,n){if("select"===e||"textarea"===e)var r=e;else r="input";qx.html.Element.constructor.call(this,r,t,n);this.__P_82_0=e;this.registerProperty("value",this._getValueProperty,this._setValueProperty);this.registerProperty("wrap",null,this._setWrapProperty)},members:{__P_82_0:null,__P_82_1:null,__P_82_2:null,_useNodeImpl:function(e,t){qx.html.Input.superclass.prototype._useNodeImpl.call(this,e,t)},_createDomElement:function(){return qx.bom.Input.create(this.__P_82_0)},_setValueProperty:function(e){var t=this.getDomElement();qx.bom.Input.setValue(t,e)},_getValueProperty:function(){var e=this.getDomElement();return qx.bom.Input.getValue(e)},_setWrapProperty:function(e){var t=this.getDomElement();qx.bom.Input.setWrap(t,e);this.setStyle("overflow",t.style.overflow,!0);this.setStyle("overflowX",t.style.overflowX,!0);this.setStyle("overflowY",t.style.overflowY,!0)},setEnabled:function(e){this.__P_82_2=e;this.setAttribute("disabled",!1===e);"webkit"==qx.core.Environment.get("engine.name")&&(e?this.setStyles({userModify:null,userSelect:this.__P_82_1?null:"none"}):this.setStyles({userModify:"read-only",userSelect:"none"}))},setSelectable:qx.core.Environment.select("engine.name",{webkit:function(e){this.__P_82_1=e;qx.html.Input.superclass.prototype.setSelectable.call(this,this.__P_82_2&&e)},default:function(e){qx.html.Input.superclass.prototype.setSelectable.call(this,e)}}),setValue:function(e){var t=this.getDomElement();t?t.value!=e&&qx.bom.Input.setValue(t,e):this._setProperty("value",e);return this},getValue:function(){var e=this.getDomElement();return e?qx.bom.Input.getValue(e):this._getProperty("value")||""},setWrap:function(e,t){if("textarea"!==this.__P_82_0)throw new Error("Text wrapping is only support by textareas!");this._setProperty("wrap",e,t);return this},getWrap:function(){if("textarea"===this.__P_82_0)return this._getProperty("wrap");throw new Error("Text wrapping is only support by textareas!")}}});qx.html.Input.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.lang.String":{},"qx.theme.manager.Font":{},"qx.theme.manager.Color":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.Font",{extend:qx.core.Object,construct:function(e,t){qx.core.Object.constructor.call(this);this.__P_99_0={fontFamily:"",fontSize:null,fontWeight:null,fontStyle:null,textDecoration:null,lineHeight:null,color:null,textShadow:null,letterSpacing:null};void 0!==e&&this.setSize(e);void 0!==t&&this.setFamily(t)},statics:{fromString:function(e){for(var t,n=new qx.bom.Font,r=e.split(/\s+/),i=[],o=0;o0&&n.setFamily(i);return n},fromConfig:function(e){var t=new qx.bom.Font;t.set(e);return t},__P_99_1:{fontFamily:"",fontSize:"",fontWeight:"",fontStyle:"",textDecoration:"",lineHeight:1.2,color:"",textShadow:"",letterSpacing:""},getDefaultStyles:function(){return this.__P_99_1}},properties:{size:{check:"Integer",nullable:!0,apply:"_applySize"},lineHeight:{check:"Number",nullable:!0,apply:"_applyLineHeight"},comparisonString:{check:"String",init:null,nullable:!0},version:{check:function(e){return null===e||"string"==typeof e&&/^[a-zA-Z0-9.-]+$/.test(e)},init:null,nullable:!0},family:{check:"Array",nullable:!0,apply:"_applyFamily"},bold:{check:"Boolean",nullable:!0,apply:"_applyBold"},italic:{check:"Boolean",nullable:!0,apply:"_applyItalic"},decoration:{check:["underline","line-through","overline"],nullable:!0,apply:"_applyDecoration"},color:{check:"Color",nullable:!0,apply:"_applyColor"},textShadow:{nullable:!0,check:"String",apply:"_applyTextShadow"},weight:{nullable:!0,check:"String",apply:"_applyWeight"},letterSpacing:{check:"Integer",nullable:!0,apply:"_applyLetterSpacing"},fontName:{check:"String",nullable:!0,apply:"_applyFontName"}},members:{__P_99_0:null,loadComplete:function(){},_applySize:function(e,t){this.__P_99_0.fontSize=null===e?null:e+"px"},_applyLineHeight:function(e,t){this.__P_99_0.lineHeight=null===e?null:e},_applyFamily:function(e,t){for(var n="",r=0,i=e.length;r0?n+="'"+e[r]+"'":n+=e[r];r!==i-1&&(n+=",")}this.__P_99_0.fontFamily=n},_applyFontName:function(e){if(e){var t=qx.theme.manager.Font.getInstance().getManifestFonts()[e];if(t){var n={};["family","comparisonString"].forEach((function(e){void 0!==t[e]&&(n[e]=t[e])}));this.set(n)}else this.warn("Cannot find a font called "+e)}},_applyBold:function(e,t){this.__P_99_0.fontWeight=null==e?null:e?"bold":"normal"},_applyItalic:function(e,t){this.__P_99_0.fontStyle=null==e?null:e?"italic":"normal"},_applyDecoration:function(e,t){this.__P_99_0.textDecoration=null==e?null:e},_applyColor:function(e,t){this.__P_99_0.color=null;e&&(this.__P_99_0.color=qx.theme.manager.Color.getInstance().resolve(e))},_applyWeight:function(e,t){this.__P_99_0.fontWeight=e},_applyTextShadow:function(e,t){this.__P_99_0.textShadow=null==e?null:e},_applyLetterSpacing:function(e,t){this.__P_99_0.letterSpacing=null===e?null:e+"px"},getStyles:function(){return this.__P_99_0}}});qx.bom.Font.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,s=Object.create(o.prototype),a=new D(r||[]);return i(s,"_invoke",{value:M(e,n,a)}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",f="suspendedYield",_="executing",p="completed",m={};function g(){}function v(){}function b(){}var y={};l(y,s,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(I([])));w&&w!==n&&r.call(w,s)&&(y=w);var q=b.prototype=g.prototype=Object.create(y);function P(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(i,o,s,a){var u=h(e[i],e,o);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==_typeof(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(c).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,a)}))}a(u.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function M(t,n,r){var i=d;return function(o,s){if(i===_)throw new Error("Generator is already running");if(i===p){if("throw"===o)throw s;return{value:e,done:!0}}for(r.method=o,r.arg=s;;){var a=r.delegate;if(a){var u=C(a,r);if(u){if(u===m)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=_;var l=h(t,n,r);if("normal"===l.type){if(i=r.done?p:f,l.arg===m)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=p,r.method="throw",r.arg=l.arg)}}}function C(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=h(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var s=o.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function I(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var u=r.call(s,"catchLoc"),l=r.call(s,"finallyLoc");if(u&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function asyncGeneratorStep(e,t,n,r,i,o,s){try{var a=e[o](s),u=a.value}catch(e){n(e);return}a.done?t(u):Promise.resolve(u).then(r,i)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){asyncGeneratorStep(o,r,i,s,a,"next",e)}function a(e){asyncGeneratorStep(o,r,i,s,a,"throw",e)}s(void 0)}))}}function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();s=e.done;return e},e:function(e){a=!0;o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);return"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1?t.setValid(!0):t.setValid(!1)}))},checkValid:function(){var e=this;return _asyncToGenerator(_regeneratorRuntime().mark((function t(){return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.next=2;return e.__P_98_2;case 2:case"end":return t.stop()}}),t)})))()},__P_98_0:function(e){this.fireDataEvent("changeStatus",{family:this.getFamily(),valid:e})}},statics:{VALIDATION_TIMEOUT:5e3}});qx.bom.webfonts.WebFont.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.dom.Element":{},"qx.bom.client.Css":{require:!0},"qx.bom.client.Html":{require:!0},"qx.bom.element.Style":{},"qx.bom.element.Attribute":{},"qx.bom.element.Dimension":{}},environment:{provided:[],required:{"css.textoverflow":{className:"qx.bom.client.Css"},"html.xul":{className:"qx.bom.client.Html"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Label",{statics:{__P_100_0:{fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1,wordBreak:1,letterSpacing:1},__P_100_1:function(){var e=this.__P_100_2(!1);document.body.insertBefore(e,document.body.firstChild);return this._textElement=e},__P_100_3:function(){var e=this.__P_100_2(!0);document.body.insertBefore(e,document.body.firstChild);return this._htmlElement=e},__P_100_2:function(e){var t=qx.dom.Element.create("div");(n=t.style).width=n.height="auto";n.left=n.top="-1000px";n.visibility="hidden";n.position="absolute";n.overflow="visible";n.display="block";if(e)n.whiteSpace="normal";else{n.whiteSpace="nowrap";if(!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")){var n,r=document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul","label");(n=r.style).padding="0";n.margin="0";n.width="auto";for(var i in this.__P_100_0)n[i]="inherit";t.appendChild(r)}}return t},__P_100_4:function(e){var t={overflow:"hidden"};if(e)t.whiteSpace="normal";else if(!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul"))t.display="block";else{t.whiteSpace="nowrap";t[qx.core.Environment.get("css.textoverflow")]="ellipsis"}return t},create:function(e,t,n){n||(n=window);var r=n.document.createElement("div");t&&(r.useHtml=!0);if(!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")){var i=n.document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul","label"),o=i.style;o.cursor="inherit";o.color="inherit";o.overflow="hidden";o.maxWidth="100%";o.padding="0";o.margin="0";o.width="auto";for(var s in this.__P_100_0)i.style[s]="inherit";i.setAttribute("crop","end");r.appendChild(i)}else qx.bom.element.Style.setStyles(r,this.__P_100_4(t));e&&this.setValue(r,e);return r},__P_100_5:null,setSanitizer:function(e){qx.bom.Label.__P_100_5=e},setValue:function(e,t){t=t||"";if(e.useHtml){qx.bom.Label.__P_100_5&&"function"==typeof qx.bom.Label.__P_100_5&&(t=qx.bom.Label.__P_100_5(t));e.innerHTML=t}else!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")?e.firstChild.setAttribute("value",t):qx.bom.element.Attribute.set(e,"text",t)},getValue:function(e){return e.useHtml?e.innerHTML:!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")?e.firstChild.getAttribute("value")||"":qx.bom.element.Attribute.get(e,"text")},getHtmlSize:function(e,t,n){var r=this._htmlElement||this.__P_100_3();r.style.width=null!=n?n+"px":"auto";r.innerHTML=e;return this.__P_100_6(r,t)},getTextSize:function(e,t){var n=this._textElement||this.__P_100_1();!qx.core.Environment.get("css.textoverflow")&&qx.core.Environment.get("html.xul")?n.firstChild.setAttribute("value",e):qx.bom.element.Attribute.set(n,"text",e);return this.__P_100_6(n,t)},__P_100_6:function(e,t){var n=this.__P_100_0;t||(t={});for(var r in n)e.style[r]=t[r]||"";var i=qx.bom.element.Dimension.getSize(e);i.width++;return i}}});qx.bom.Label.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.bom.Label":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Label",{extend:qx.html.Element,construct:function(e,t,n){qx.html.Element.constructor.call(this,e,t,n);this.registerProperty("value",null,this._setValueProperty)},members:{__P_96_0:null,_setValueProperty:function(e){var t=this.getDomElement();qx.bom.Label.setValue(t,e)},_createDomElement:function(){var e=this.__P_96_0,t=qx.bom.Label.create(this._content,e);t.style.overflow="hidden";return t},_copyData:function(e,t){return qx.html.Label.superclass.prototype._copyData.call(this,!0,t)},setRich:function(e){if(this.getDomElement())throw new Error("The label mode cannot be modified after initial creation");e=!!e;if(this.__P_96_0==e)return this;this.__P_96_0=e;return this},setValue:function(e){this._setProperty("value",e);return this},getValue:function(){return this._getProperty("value")},resetValue:function(){return this._removeProperty("value")}}});qx.html.Label.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.layout.LineSizeIterator",{extend:Object,construct:function(e,t){this.__P_93_0=e;this.__P_93_1=t;this.__P_93_2=e.length>0;this.__P_93_3=0},members:{__P_93_0:null,__P_93_1:null,__P_93_2:null,__P_93_3:null,computeNextLine:function(e){e=e||1/0;if(!this.__P_93_2)throw new Error("No more lines to compute");for(var t=this.__P_93_0,n=0,r=0,i=[],o=[],s=this.__P_93_3;se){this.__P_93_3=s;break}var h=u.height+a.getMarginTop()+a.getMarginBottom();i.push(a);o.push(l);r+=c;n=Math.max(n,h);if(a.getLayoutProperties().lineBreak){this.__P_93_3=s+1;break}}s>=t.length&&(this.__P_93_2=!1);return{height:n,width:r,children:i,gapsBefore:o}},__P_93_4:function(e){return e==this.__P_93_3?this.__P_93_0[e].getMarginLeft():Math.max(this.__P_93_0[e-1].getMarginRight(),this.__P_93_0[e].getMarginLeft(),this.__P_93_1)},hasMoreLines:function(){return this.__P_93_2}}});qx.ui.layout.LineSizeIterator.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,s=Object.create(o.prototype),a=new D(r||[]);return i(s,"_invoke",{value:M(e,n,a)}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",f="suspendedYield",_="executing",p="completed",m={};function g(){}function v(){}function b(){}var y={};l(y,s,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(I([])));w&&w!==n&&r.call(w,s)&&(y=w);var q=b.prototype=g.prototype=Object.create(y);function P(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(i,o,s,a){var u=h(e[i],e,o);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==_typeof(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(c).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,a)}))}a(u.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function M(t,n,r){var i=d;return function(o,s){if(i===_)throw new Error("Generator is already running");if(i===p){if("throw"===o)throw s;return{value:e,done:!0}}for(r.method=o,r.arg=s;;){var a=r.delegate;if(a){var u=C(a,r);if(u){if(u===m)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=_;var l=h(t,n,r);if("normal"===l.type){if(i=r.done?p:f,l.arg===m)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=p,r.method="throw",r.arg=l.arg)}}}function C(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=h(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var s=o.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function I(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var u=r.call(s,"catchLoc"),l=r.call(s,"finallyLoc");if(u&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function asyncGeneratorStep(e,t,n,r,i,o,s){try{var a=e[o](s),u=a.value}catch(e){n(e);return}a.done?t(u):Promise.resolve(u).then(r,i)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){asyncGeneratorStep(o,r,i,s,a,"next",e)}function a(e){asyncGeneratorStep(o,r,i,s,a,"throw",e)}s(void 0)}))}}!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.bom.webfonts.Validator":{},"qx.bom.webfonts.WebFont":{},"qx.util.ResourceManager":{},"qx.lang.Array":{},"qx.Promise":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.Browser":{require:!0},"qx.bom.Stylesheet":{},"qx.bom.client.OperatingSystem":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"},"browser.documentmode":{className:"qx.bom.client.Browser"},"browser.name":{className:"qx.bom.client.Browser"},"browser.version":{className:"qx.bom.client.Browser"},"os.name":{className:"qx.bom.client.OperatingSystem"},"os.version":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.webfonts.WebFontLoader",{extend:qx.core.Object,construct:function(e){qx.core.Object.constructor.call(this);this.setFontFamily(e);this.__P_158_0={}},properties:{fontFamily:{check:"String"},fontFaces:{nullable:!0,apply:"_applyFontFaces"},css:{nullable:!0,check:"Array"},comparisonString:{check:"String",init:null,nullable:!0},version:{check:function(e){return null===e||"string"==typeof e&&/^[a-zA-Z0-9.-]+$/.test(e)},init:null,nullable:!0}},members:{__P_158_1:null,__P_158_2:null,_validators:null,getValidator:function(e,t){var n=(e=e||"normal")+"::"+(t=t||"normal"),r=this.__P_158_0[n];if(!r){(r=this.__P_158_0[n]=new qx.bom.webfonts.Validator(this.getFontFamily(),this.getComparisonString(),e,t)).setTimeout(qx.bom.webfonts.WebFont.VALIDATION_TIMEOUT);r.validate()}return r},load:function(){var e=this;return _asyncToGenerator(_regeneratorRuntime().mark((function t(){var n;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(e.getCss()||[]).forEach((function(t){t.match(/^https?:/)||(t=qx.util.ResourceManager.getInstance().toUri(t));if(e.getVersion()){t+=t.indexOf("?")<0?"?":"&";t+=e.getVersion()}qx.bom.webfonts.WebFontLoader.__P_158_3(t)}));if(n=e.getFontFaces()){n.forEach((function(t){t.paths&&(t.paths=t.paths.map((function(t){t.match(/^https?:/)||(t=qx.util.ResourceManager.getInstance().toUri(t));if(e.getVersion()){t+=t.indexOf("?")<0?"?":"&";t+=e.getVersion()}return t})))}));e.__P_158_1=qx.lang.Array.clone(n);e.__P_158_2=new qx.Promise}e.__P_158_4();case 4:case"end":return t.stop()}}),t)})))()},promiseLoaded:function(){var e=this;return _asyncToGenerator(_regeneratorRuntime().mark((function t(){return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.next=2;return e.__P_158_2;case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},__P_158_4:function(){var e=this;if(null!=this.__P_158_1){var t=this.__P_158_1.pop();this.__P_158_5(t);if(0==this.__P_158_1.length){this.__P_158_1=null;this.__P_158_2.resolve(!0)}"mshtml"==qx.core.Environment.get("engine.name")&&(parseInt(qx.core.Environment.get("engine.version"))<9||qx.core.Environment.get("browser.documentmode")<9)?setTimeout((function(){return e.__P_158_4()}),100):this.__P_158_4()}},__P_158_5:function(e){var t=e.fontFamily||this.getFontFamily(),n=qx.bom.webfonts.WebFontLoader.createFontLookupKey(t,e.fontWeight||"normal",e.fontStyle||"normal");if(!qx.bom.webfonts.WebFontLoader.__P_158_6[n]){if(!qx.bom.webfonts.WebFontLoader.__P_158_7){var r=qx.bom.Stylesheet.createElement();qx.bom.webfonts.WebFontLoader.__P_158_7=r}for(var i=new RegExp(".("+qx.bom.webfonts.WebFontLoader.getPreferredFormats().join("|")+")"),o=[],s=0;s0&&(c+=", ");c+="url('"+new URL(o[h].url,document.baseURI).href+"')";h>0&&(c+=" format('"+o[h].format+"')")}var d="font-family: "+t+";\n";d+=(c+=";\n")+"\n";d+="font-style: "+(e.fontStyle||"normal")+";\n";d="@font-face {\n"+(d+="font-weight: "+(e.fontWeight||"normal")+";\n")+"}\n";var f=qx.bom.webfonts.WebFontLoader.__P_158_7;try{if("ie"==qx.core.Environment.get("browser.name")&&qx.core.Environment.get("browser.documentmode")<9){var _=qx.bom.webfonts.WebFontLoader.__P_158_8(f.cssText);_+=d;f.cssText=_}else f.insertRule(d,f.cssRules.length)}catch(e){}qx.bom.webfonts.WebFontLoader.__P_158_6[n]=!0}},_applyFontFaces:function(e,t){for(var n=[],r=0,i=e.length;r=14||"firefox"==t&&n>=69||"chrome"==t&&n>=36)&&e.push("woff2");("ie"==t&&qx.core.Environment.get("browser.documentmode")>=9||"edge"==t&&n>=12||"firefox"==t&&n>=3.6||"chrome"==t&&n>=6)&&e.push("woff");("edge"==t&&n>=12||"opera"==t&&n>=10||"safari"==t&&n>=3.1||"firefox"==t&&n>=3.5||"chrome"==t&&n>=4||"mobile safari"==t&&"ios"==r&&i>=4.2)&&e.push("ttf");"ie"==t&&n>=4&&e.push("eot");"mobileSafari"==t&&"ios"==r&&i>=4.1&&e.push("svg");return qx.bom.webfonts.WebFontLoader.__P_158_9=e},__P_158_8:function(e){return e.replace("'eot)","'eot')").replace("('embedded-opentype)","('embedded-opentype')")}}});qx.bom.webfonts.WebFontLoader.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.bom.element.Decoration":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Image",{extend:qx.html.Element,construct:function(e,t,n){qx.html.Element.constructor.call(this,e,t,n);this.registerProperty("source",null,this._setSourceProperty,(function(e,t,n){return n.value&&e("src="+JSON.stringify(n.value))}));this.registerProperty("scale",null,this._setScaleProperty)},members:{__P_125_0:null,__P_125_1:null,tagNameHint:null,setPadding:function(e,t){this.__P_125_1=e;this.__P_125_0=t;"div"==this.getNodeName()&&this.setStyle("backgroundPosition",e+"px "+t+"px")},_setSourceProperty:function(e){var t=this.getDomElement(),n=this.getAllStyles()||{};"div"==this.getNodeName()&&this.getStyle("backgroundImage")&&(n.backgroundRepeat=null);var r=this._getProperty("source"),i=this._getProperty("scale")?"scale":"no-repeat";if(null!=r){r=r||null;n.paddingTop=this.__P_125_0;n.paddingLeft=this.__P_125_1;qx.bom.element.Decoration.update(t,r,i,n)}},_setScaleProperty:function(e){},_removeProperty:function(e,t){"source"==e?this._setProperty(e,"",t):this._setProperty(e,null,t)},_createDomElement:function(){var e=this._getProperty("scale")?"scale":"no-repeat";if("mshtml"==qx.core.Environment.get("engine.name")){var t=this._getProperty("source");null!=this.tagNameHint?this.setNodeName(this.tagNameHint):this.setNodeName(qx.bom.element.Decoration.getTagName(e,t))}else this.setNodeName(qx.bom.element.Decoration.getTagName(e));return qx.html.Image.superclass.prototype._createDomElement.call(this)},_copyData:function(e,t){return qx.html.Image.superclass.prototype._copyData.call(this,!0,t)},setSource:function(e){this._setProperty("source",e);return this},getSource:function(){return this._getProperty("source")},resetSource:function(){"webkit"==qx.core.Environment.get("engine.name")?this._setProperty("source","qx/static/blank.gif"):this._removeProperty("source",!0);return this},setScale:function(e){this._setProperty("scale",e);return this},getScale:function(){return this._getProperty("scale")}}});qx.html.Image.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.html.Element":{construct:!0,require:!0},"qx.bom.Iframe":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.html.Iframe",{extend:qx.html.Element,construct:function(e,t,n){qx.html.Element.constructor.call(this,"iframe",t,n);this.registerProperty("source",null,this._setSourceProperty);this.setSource(e);this.addListener("navigate",this.__P_190_0,this);qx.html.Element._modified[this.toHashCode()]=this;qx.html.Element._scheduleFlush("element")},events:{load:"qx.event.type.Event",navigate:"qx.event.type.Data"},members:{_setSourceProperty:function(e){var t=this.getDomElement();e!==qx.bom.Iframe.queryCurrentUrl(t)&&qx.bom.Iframe.setSource(t,e)},_createDomElement:function(){return qx.bom.Iframe.create()},getWindow:function(){var e=this.getDomElement();return e?qx.bom.Iframe.getWindow(e):null},getDocument:function(){var e=this.getDomElement();return e?qx.bom.Iframe.getDocument(e):null},getBody:function(){var e=this.getDomElement();return e?qx.bom.Iframe.getBody(e):null},setSource:function(e){this._setProperty("source",e,!0);return this},getSource:function(){return this._getProperty("source")},setName:function(e){this.setAttribute("name",e);return this},getName:function(){return this.getAttribute("name")},reload:function(){if(this.getDomElement()){var e=this.getSource();this.setSource(null);this.setSource(e)}},__P_190_0:function(e){var t=e.getData();t&&this.setSource(t)}}});qx.html.Iframe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Mouse":{require:!0},"qx.util.Wheel":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.MouseWheel",{extend:qx.event.type.Mouse,members:{stop:function(){this.stopPropagation();this.preventDefault()},getWheelDelta:function(e){return qx.util.Wheel.getDelta(this._native,e)}}});qx.event.type.MouseWheel.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Event":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Orientation",{extend:qx.event.type.Event,members:{__P_192_0:null,__P_192_1:null,init:function(e,t){qx.event.type.Orientation.superclass.prototype.init.call(this,!1,!1);this.__P_192_0=e;this.__P_192_1=t;return this},clone:function(e){var t=qx.event.type.Orientation.superclass.prototype.clone.call(this,e);t.__P_192_0=this.__P_192_0;t.__P_192_1=this.__P_192_1;return t},getOrientation:function(){return this.__P_192_0},isLandscape:function(){return"landscape"==this.__P_192_1},isPortrait:function(){return"portrait"==this.__P_192_1}}});qx.event.type.Orientation.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Dom":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Touch",{extend:qx.event.type.Dom,members:{_cloneNativeEvent:function(e,t){(t=qx.event.type.Touch.superclass.prototype._cloneNativeEvent.call(this,e,t)).pageX=e.pageX;t.pageY=e.pageY;t.offsetX=e.offsetX;t.offsetY=e.offsetY;t.layerX=e.offsetX||e.layerX;t.layerY=e.offsetY||e.layerY;t.scale=e.scale;t.rotation=e.rotation;t._rotation=e._rotation;t.delta=e.delta;t.srcElement=e.srcElement;t.targetTouches=[];for(var n=0;n1},getScale:function(){return this._native.scale},getRotation:function(){return void 0===this._native._rotation?this._native.rotation:this._native._rotation},getDelta:function(){return this._native.delta},getDocumentLeft:function(e){return this.__P_181_1(e).pageX},getDocumentTop:function(e){return this.__P_181_1(e).pageY},getScreenLeft:function(e){return this.__P_181_1(e).screenX},getScreenTop:function(e){return this.__P_181_1(e).screenY},getViewportLeft:function(e){return this.__P_181_1(e).clientX},getViewportTop:function(e){return this.__P_181_1(e).clientY},getIdentifier:function(e){return this.__P_181_1(e).identifier},__P_181_1:function(e){e=null==e?0:e;return this.__P_181_0()[e]},__P_181_0:function(){return this._isTouchEnd()?this.getChangedTargetTouches():this.getTargetTouches()},_isTouchEnd:function(){return"touchend"==this.getType()||"touchcancel"==this.getType()}}});qx.event.type.Touch.$$dbClassInfo=e}();function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{},"qx.bom.client.Browser":{},"qx.core.Environment":{defer:"runtime"}},environment:{provided:["plugin.gears","plugin.quicktime","plugin.quicktime.version","plugin.windowsmedia","plugin.windowsmedia.version","plugin.divx","plugin.divx.version","plugin.silverlight","plugin.silverlight.version","plugin.pdf","plugin.pdf.version","plugin.activex","plugin.skype"],required:{}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.client.Plugin",{statics:{getGears:function(){return!(!window.google||!window.google.gears)},getActiveX:function(){if("function"==typeof window.ActiveXObject)return!0;try{return void 0!==window.ActiveXObject&&("object"===_typeof(new window.ActiveXObject("Microsoft.XMLHTTP"))||"object"===_typeof(new window.ActiveXObject("MSXML2.DOMDocument.6.0")))}catch(e){return!1}},getSkype:function(){if(qx.bom.client.Plugin.getActiveX())try{new window.ActiveXObject("Skype.Detection");return!0}catch(e){}var e=navigator.mimeTypes;if(e){if("application/x-skype"in e)return!0;for(var t=0;t1&&2===(r=r[0].split("=")).length)return r[1];if(null!=(r=i.versionInfo))return r;if(null!=(r=i.version))return r;if(null!=(r=i.settings.version))return r}catch(e){return""}return""}for(var o=navigator.plugins,s=/([0-9]\.[0-9])/g,a=0;a").documentElement;return"function"==typeof e.getAttributeNS&&"function"==typeof e.setAttributeNS},getCreateElementNS:function(){return"function"==typeof qx.xml.Document.create().createElementNS},getCreateNode:function(){return void 0!==qx.xml.Document.create().createNode},getQualifiedItem:function(){return void 0!==qx.xml.Document.fromString("").documentElement.attributes.getQualifiedItem}},defer:function(e){qx.core.Environment.add("xml.implementation",e.getImplementation);qx.core.Environment.add("xml.domparser",e.getDomParser);qx.core.Environment.add("xml.selectsinglenode",e.getSelectSingleNode);qx.core.Environment.add("xml.selectnodes",e.getSelectNodes);qx.core.Environment.add("xml.getelementsbytagnamens",e.getElementsByTagNameNS);qx.core.Environment.add("xml.domproperties",e.getDomProperties);qx.core.Environment.add("xml.attributens",e.getAttributeNS);qx.core.Environment.add("xml.createelementns",e.getCreateElementNS);qx.core.Environment.add("xml.createnode",e.getCreateNode);qx.core.Environment.add("xml.getqualifieditem",e.getQualifiedItem)}});qx.bom.client.Xml.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.bom.client.Plugin":{defer:"load",require:!0},"qx.bom.client.Xml":{require:!0}},environment:{provided:[],required:{"plugin.activex":{className:"qx.bom.client.Plugin",defer:!0},"xml.implementation":{className:"qx.bom.client.Xml"},"xml.domparser":{className:"qx.bom.client.Xml"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.xml.Document",{statics:{DOMDOC:null,XMLHTTP:null,isXmlDocument:function(e){return 9===e.nodeType?"HTML"!==e.documentElement.nodeName:!!e.ownerDocument&&this.isXmlDocument(e.ownerDocument)},create:function(e,t){if(qx.core.Environment.get("plugin.activex")){var n=new ActiveXObject(this.DOMDOC);"MSXML2.DOMDocument.3.0"==this.DOMDOC&&n.setProperty("SelectionLanguage","XPath");if(t){var r='\n<';r+=t;e&&(r+=" xmlns='"+e+"'");r+=" />";n.loadXML(r)}return n}if(qx.core.Environment.get("xml.implementation"))return document.implementation.createDocument(e||"",t||"",null);throw new Error("No XML implementation available!")},fromString:function(e){if(qx.core.Environment.get("plugin.activex")){var t=qx.xml.Document.create();t.loadXML(e);return t}if(qx.core.Environment.get("xml.domparser")){return(new DOMParser).parseFromString(e,"text/xml")}throw new Error("No XML implementation available!")}},defer:function(e){if(qx.core.Environment.get("plugin.activex"))for(var t=["MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.3.0"],n=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0"],r=0,i=t.length;r0?n.getRangeAt(0):t.createRange()}})}});qx.bom.Range.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.StringSplit",{statics:{split:function(e,t,n){if("[object RegExp]"!==Object.prototype.toString.call(t))return String.prototype.split.call(e,t,n);var r,i,o,s,a=[],u=0,l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":""),c=(t=RegExp(t.source,l+"g"),void 0===/()??/.exec("")[1]);e+="";c||(r=RegExp("^"+t.source+"$(?!\\s)",l));if(void 0===n||+n<0)n=1/0;else if(!(n=Math.floor(+n)))return[];for(;i=t.exec(e);){if((o=i.index+i[0].length)>u){a.push(e.slice(u,i.index));!c&&i.length>1&&i[0].replace(r,(function(){for(var e=1;e1&&i.index=n)break}t.lastIndex===i.index&&t.lastIndex++}u===e.length?!s&&t.test("")||a.push(""):a.push(e.slice(u));return a.length>n?a.slice(0,n):a}}});qx.util.StringSplit.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.event.type.Event":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.type.Focus",{extend:qx.event.type.Event,members:{init:function(e,t,n){qx.event.type.Focus.superclass.prototype.init.call(this,n,!1);this._target=e;this._relatedTarget=t;return this}}});qx.event.type.Focus.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Type":{},"qx.util.ResourceManager":{},"qx.lang.Function":{},"qx.event.GlobalError":{require:!0},"qx.bom.client.Engine":{}},environment:{provided:[],required:{"qx.globalErrorHandling":{className:"qx.event.GlobalError"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.io.ImageLoader",{statics:{__P_124_0:{},__P_124_1:{width:null,height:null},__P_124_2:/\.(png|gif|jpg|jpeg|bmp)\b/i,__P_124_3:/^data:image\/(png|gif|jpg|jpeg|bmp)\b/i,isLoaded:function(e){var t=this.__P_124_0[e];return!(!t||!t.loaded)},isFailed:function(e){var t=this.__P_124_0[e];return!(!t||!t.failed)},isLoading:function(e){var t=this.__P_124_0[e];return!(!t||!t.loading)},getFormat:function(e){var t=this.__P_124_0[e];if(!t||!t.format){var n=this.__P_124_3.exec(e);if(null!=n){var r=t&&qx.lang.Type.isNumber(t.width)?t.width:this.__P_124_1.width,i=t&&qx.lang.Type.isNumber(t.height)?t.height:this.__P_124_1.height;t={loaded:!0,format:n[1],width:r,height:i}}}return t?t.format:null},getSize:function(e){var t=this.__P_124_0[e];return t?{width:t.width,height:t.height}:this.__P_124_1},getWidth:function(e){var t=this.__P_124_0[e];return t?t.width:null},getHeight:function(e){var t=this.__P_124_0[e];return t?t.height:null},load:function(e,t,n){var r=this.__P_124_0[e];r||(r=this.__P_124_0[e]={});t&&!n&&(n=window);if(r.loaded||r.loading||r.failed)t&&(r.loading?r.callbacks.push(t,n):t.call(n,e,r));else{r.loading=!0;r.callbacks=[];t&&r.callbacks.push(t,n);var i=qx.util.ResourceManager.getInstance();if(i.isFontUri(e)){var o=document.createElement("div"),s=i.fromFontUriToCharCode(e);o.value=String.fromCharCode(s);r.element=o;return}o=document.createElement("img");var a=qx.lang.Function.listener(this.__P_124_4,this,o,e);o.onload=a;o.onerror=a;o.src=e;r.element=o}},abort:function(e){var t=this.__P_124_0[e];if(t&&!t.loaded){t.aborted=!0;var n=t.callbacks,r=t.element;r.onload=r.onerror=null;r.src="";delete t.callbacks;delete t.element;delete t.loading;for(var i=0,o=n.length;iparseInt(n.height)?n.height:n.width;u.display=n.display;u.verticalAlign=n.verticalAlign;u.position=n.position;o="";for(var l in u)if(u.hasOwnProperty(l)){var c=u[l];null!==c&&(o+=qx.bom.Style.getCssName(l)+": "+c+";")}var h=s.fromFontUriToCharCode(e);return'
'+String.fromCharCode(h)+"
"}return"img"===r?'':'
'},getTagName:function(e,t){return t&&qx.core.Environment.get("css.alphaimageloaderneeded")&&this.__P_126_1[e]&&t.endsWith(".png")?"div":this.__P_126_2[e]},getAttributes:function(e,t,n){n||(n={});if("mshtml"==qx.core.Environment.get("engine.name")){n.fontSize=0;n.lineHeight=0}else"webkit"==qx.core.Environment.get("engine.name")&&(n.WebkitUserDrag="none");var r,i=qx.util.ResourceManager.getInstance().getImageFormat(e)||qx.io.ImageLoader.getFormat(e);if(qx.core.Environment.get("css.alphaimageloaderneeded")&&this.__P_126_1[t]&&"png"===i){var o=this.__P_126_3(e);this.__P_126_4(n,o.width,o.height);r=this.processAlphaFix(n,t,e)}else{delete n.clip;r="scale"===t?this.__P_126_5(n,t,e):"scale-x"===t||"scale-y"===t?this.__P_126_6(n,t,e):this.__P_126_7(n,t,e)}return r},__P_126_4:function(e,t,n){null==e.width&&null!=t&&(e.width=t+"px");null==e.height&&null!=n&&(e.height=n+"px")},__P_126_3:function(e){return{width:qx.util.ResourceManager.getInstance().getImageWidth(e)||qx.io.ImageLoader.getWidth(e),height:qx.util.ResourceManager.getInstance().getImageHeight(e)||qx.io.ImageLoader.getHeight(e)}},processAlphaFix:function(e,t,n){if("repeat"==t||"repeat-x"==t||"repeat-y"==t)return e;var r="no-repeat"==t?"crop":"scale",i="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+qx.util.ResourceManager.getInstance().toUri(n)+"', sizingMethod='"+r+"')";e.filter=i;e.backgroundImage=e.backgroundRepeat="";delete e["background-image"];delete e["background-repeat"];return{style:e}},__P_126_5:function(e,t,n){var r=qx.util.ResourceManager.getInstance().toUri(n),i=this.__P_126_3(n);this.__P_126_4(e,i.width,i.height);return{src:r,style:e}},__P_126_6:function(e,t,n){var r=qx.util.ResourceManager.getInstance(),i=r.getCombinedFormat(n),o=this.__P_126_3(n);if(i){var s=r.getData(n),a=s[4];return{src:"b64"==i?r.toDataUri(n):r.toUri(a),style:e="scale-x"===t?this.__P_126_8(e,s,o.height):this.__P_126_9(e,s,o.width)}}"scale-x"==t?e.height=null==o.height?null:o.height+"px":"scale-y"==t&&(e.width=null==o.width?null:o.width+"px");return{src:r.toUri(n),style:e}},__P_126_8:function(e,t,n){var r=qx.util.ResourceManager.getInstance().getImageHeight(t[4]);e.clip={top:-t[6],height:n};e.height=r+"px";null!=e.top?e.top=parseInt(e.top,10)+t[6]+"px":null!=e.bottom&&(e.bottom=parseInt(e.bottom,10)+n-r-t[6]+"px");return e},__P_126_9:function(e,t,n){var r=qx.util.ResourceManager.getInstance().getImageWidth(t[4]);e.clip={left:-t[5],width:n};e.width=r+"px";null!=e.left?e.left=parseInt(e.left,10)+t[5]+"px":null!=e.right&&(e.right=parseInt(e.right,10)+n-r-t[5]+"px");return e},__P_126_7:function(e,t,n){var r=qx.util.ResourceManager.getInstance(),i=r.getCombinedFormat(n),o=this.__P_126_3(n);if(i&&"repeat"!==t){var s=r.getData(n),a=s[4];if("b64"==i)var u=r.toDataUri(n),l=0,c=0;else{u=r.toUri(a),l=s[5],c=s[6];if(e.paddingTop||e.paddingLeft||e.paddingRight||e.paddingBottom){var h=e.paddingTop||0,d=e.paddingLeft||0;l+=e.paddingLeft||0;c+=e.paddingTop||0;e.clip={left:d,top:h,width:o.width,height:o.height}}}var f=qx.bom.element.Background.getStyles(u,t,l,c);for(var _ in f)e[_]=f[_];null==o.width||null!=e.width||"repeat-y"!=t&&"no-repeat"!==t||(e.width=o.width+"px");null==o.height||null!=e.height||"repeat-x"!=t&&"no-repeat"!==t||(e.height=o.height+"px");return{style:e}}h=e.paddingTop||0,d=e.paddingLeft||0;e.backgroundPosition=d+"px "+h+"px";this.__P_126_4(e,o.width,o.height);this.__P_126_10(e,n,t);return{style:e}},__P_126_10:function(e,t,n){var r=null,i=null;if(e.backgroundPosition){var o=e.backgroundPosition.split(" ");i=parseInt(o[0],10);isNaN(i)&&(i=o[0]);r=parseInt(o[1],10);isNaN(r)&&(r=o[1])}var s=qx.bom.element.Background.getStyles(t,n,i,r);for(var a in s)e[a]=s[a];e.filter&&(e.filter="")},__P_126_11:function(e){if(this.DEBUG&&qx.util.ResourceManager.getInstance().has(e)&&-1==e.indexOf("qx/icon")&&!this.__P_126_0[e]){qx.log.Logger.debug("Potential clipped image candidate: "+e);this.__P_126_0[e]=!0}}}});qx.bom.element.Decoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.core.Widget":{construct:!0,require:!0},"qx.ui.form.IForm":{require:!0},"qx.ui.form.INumberForm":{require:!0},"qx.ui.form.IRange":{require:!0},"qx.ui.form.MForm":{require:!0},"qx.ui.layout.Canvas":{construct:!0},"qx.theme.manager.Decoration":{},"qx.bom.element.Location":{},"qx.event.Timer":{},"qx.bom.AnimationFrame":{},"qx.event.type.Data":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.Slider",{extend:qx.ui.core.Widget,implement:[qx.ui.form.IForm,qx.ui.form.INumberForm,qx.ui.form.IRange],include:[qx.ui.form.MForm],construct:function(e){qx.ui.core.Widget.constructor.call(this);this._setLayout(new qx.ui.layout.Canvas);this.getContentElement().setAttribute("role","slider");this.addListener("keypress",this._onKeyPress,this);this.addListener("roll",this._onRoll,this);this.addListener("pointerdown",this._onPointerDown,this);this.addListener("pointerup",this._onPointerUp,this);this.addListener("losecapture",this._onPointerUp,this);this.addListener("resize",this._onUpdate,this);this.addListener("contextmenu",this._onStopEvent,this);this.addListener("tap",this._onStopEvent,this);this.addListener("dbltap",this._onStopEvent,this);null!=e?this.setOrientation(e):this.initOrientation()},events:{changeValue:"qx.event.type.Data",slideAnimationEnd:"qx.event.type.Event"},properties:{appearance:{refine:!0,init:"slider"},focusable:{refine:!0,init:!0},orientation:{check:["horizontal","vertical"],init:"horizontal",apply:"_applyOrientation"},value:{check:"typeof value==='number'&&value>=this.getMinimum()&&value<=this.getMaximum()",init:0,apply:"_applyValue",nullable:!0},minimum:{check:"Integer",init:0,apply:"_applyMinimum",event:"changeMinimum"},maximum:{check:"Integer",init:100,apply:"_applyMaximum",event:"changeMaximum"},singleStep:{check:"Integer",init:1},pageStep:{check:"Integer",init:10},knobFactor:{check:"Number",apply:"_applyKnobFactor",nullable:!0}},members:{__P_194_0:null,__P_194_1:null,__P_194_2:null,__P_194_3:null,__P_194_4:null,__P_194_5:null,__P_194_6:null,__P_194_7:null,__P_194_8:null,__P_194_9:null,__P_194_10:null,__P_194_11:null,__P_194_12:null,_forwardStates:{invalid:!0},renderLayout:function(e,t,n,r){qx.ui.form.Slider.superclass.prototype.renderLayout.call(this,e,t,n,r);this._updateKnobPosition()},_createChildControlImpl:function(e,t){var n;if("knob"===e){(n=new qx.ui.core.Widget).addListener("resize",this._onUpdate,this);n.addListener("pointerover",this._onPointerOver,this);n.addListener("pointerout",this._onPointerOut,this);this._add(n)}return n||qx.ui.form.Slider.superclass.prototype._createChildControlImpl.call(this,e)},_onPointerOver:function(e){this.addState("hovered")},_onPointerOut:function(e){this.removeState("hovered")},_onRoll:function(e){if("wheel"==e.getPointerType()){var t="horizontal"===this.getOrientation()?"x":"y",n=e.getDelta()[t],r=n>0?1:n<0?-1:0;this.slideBy(r*this.getSingleStep());e.stop()}},_onKeyPress:function(e){var t="horizontal"===this.getOrientation(),n=t?"Left":"Up",r=t?"Right":"Down";switch(e.getKeyIdentifier()){case r:this.slideForward();break;case n:this.slideBack();break;case"PageDown":this.slidePageForward(100);break;case"PageUp":this.slidePageBack(100);break;case"Home":this.slideToBegin(200);break;case"End":this.slideToEnd(200);break;default:return}e.stop()},_onPointerDown:function(e){if(!this.__P_194_3){var t=this.__P_194_13,n=this.getChildControl("knob"),r=t?"left":"top",i=t?e.getDocumentLeft():e.getDocumentTop(),o=this.getDecorator();o=qx.theme.manager.Decoration.getInstance().resolve(o);if(t)var s=o?o.getInsets().left:0,a=(this.getPaddingLeft()||0)+s;else s=o?o.getInsets().top:0,a=(this.getPaddingTop()||0)+s;var u=this.__P_194_0=qx.bom.element.Location.get(this.getContentElement().getDomElement())[r];u+=a;var l=this.__P_194_1=qx.bom.element.Location.get(n.getContentElement().getDomElement())[r];if(e.getTarget()===n){this.__P_194_3=!0;if(!this.__P_194_9){this.__P_194_9=new qx.event.Timer(100);this.__P_194_9.addListener("interval",this._fireValue,this)}this.__P_194_9.start();this.__P_194_4=i+u-l;n.addState("pressed")}else{this.__P_194_5=!0;this.__P_194_6=i<=l?-1:1;this.__P_194_14(e);this._onInterval();if(!this.__P_194_8){this.__P_194_8=new qx.event.Timer(100);this.__P_194_8.addListener("interval",this._onInterval,this)}this.__P_194_8.start()}this.addListener("pointermove",this._onPointerMove,this);this.capture();e.stopPropagation()}},_onPointerUp:function(e){if(this.__P_194_3){this.releaseCapture();delete this.__P_194_3;this.__P_194_9.stop();this._fireValue();delete this.__P_194_4;this.getChildControl("knob").removeState("pressed");if("pointerup"===e.getType()){var t,n,r;if(this.__P_194_13){t=e.getDocumentLeft()-(this._valueToPosition(this.getValue())+this.__P_194_0);r=qx.bom.element.Location.get(this.getContentElement().getDomElement()).top;n=e.getDocumentTop()-(r+this.getChildControl("knob").getBounds().top)}else{t=e.getDocumentTop()-(this._valueToPosition(this.getValue())+this.__P_194_0);r=qx.bom.element.Location.get(this.getContentElement().getDomElement()).left;n=e.getDocumentLeft()-(r+this.getChildControl("knob").getBounds().left)}(n<0||n>this.__P_194_2||t<0||t>this.__P_194_2)&&this.getChildControl("knob").removeState("hovered")}}else if(this.__P_194_5){this.__P_194_8.stop();this.releaseCapture();delete this.__P_194_5;delete this.__P_194_6;delete this.__P_194_7}this.removeListener("pointermove",this._onPointerMove,this);"pointerup"===e.getType()&&e.stopPropagation()},_onPointerMove:function(e){if(this.__P_194_3){var t=(this.__P_194_13?e.getDocumentLeft():e.getDocumentTop())-this.__P_194_4;this.slideTo(this._positionToValue(t))}else this.__P_194_5&&this.__P_194_14(e);e.stopPropagation()},_onInterval:function(e){var t=this.getValue()+this.__P_194_6*this.getPageStep();tthis.getMaximum()&&(t=this.getMaximum());var n=-1==this.__P_194_6;(n&&t<=this.__P_194_7||!n&&t>=this.__P_194_7)&&(t=this.__P_194_7);this.slideTo(t)},_onUpdate:function(e){var t=this.getInnerSize(),n=this.getChildControl("knob").getBounds(),r=this.__P_194_13?"width":"height";this._updateKnobSize();this.__P_194_15=t[r]-n[r];this.__P_194_2=n[r];this._updateKnobPosition()},__P_194_13:!1,__P_194_15:0,__P_194_14:function(e){var t=this.__P_194_13?e.getDocumentLeft():e.getDocumentTop(),n=this.__P_194_0,r=this.__P_194_1,i=this.__P_194_2,o=t-n;t>=r&&(o-=i);var s=this._positionToValue(o),a=this.getMinimum(),u=this.getMaximum();if(su)s=u;else{var l=this.getValue(),c=this.getPageStep(),h=this.__P_194_6<0?"floor":"ceil";s=l+Math[h]((s-l)/c)*c}(null==this.__P_194_7||-1==this.__P_194_6&&s<=this.__P_194_7||1==this.__P_194_6&&s>=this.__P_194_7)&&(this.__P_194_7=s)},_positionToValue:function(e){var t=this.__P_194_15;if(null==t||0==t)return 0;var n=e/t;n<0?n=0:n>1&&(n=1);var r=this.getMaximum()-this.getMinimum();return this.getMinimum()+Math.round(r*n)},_valueToPosition:function(e){var t=this.__P_194_15;if(null==t)return 0;var n=this.getMaximum()-this.getMinimum();if(0==n)return 0;var r=(e=e-this.getMinimum())/n;r<0?r=0:r>1&&(r=1);return Math.round(t*r)},_updateKnobPosition:function(){this._setKnobPosition(this._valueToPosition(this.getValue()))},_setKnobPosition:function(e){var t=this.getChildControl("knob"),n=this.getDecorator();n=qx.theme.manager.Decoration.getInstance().resolve(n);var r=t.getContentElement();if(this.__P_194_13){n&&n.getPadding()&&(e+=n.getPadding().left);e+=this.getPaddingLeft()||0;r.setStyle("left",e+"px",!0)}else{n&&n.getPadding()&&(e+=n.getPadding().top);e+=this.getPaddingTop()||0;r.setStyle("top",e+"px",!0)}},_updateKnobSize:function(){var e=this.getKnobFactor();if(null!=e){var t=this.getInnerSize();null!=t&&(this.__P_194_13?this.getChildControl("knob").setWidth(Math.round(e*t.width)):this.getChildControl("knob").setHeight(Math.round(e*t.height)))}},slideToBegin:function(e){this.slideTo(this.getMinimum(),e)},slideToEnd:function(e){this.slideTo(this.getMaximum(),e)},slideForward:function(){this.slideBy(this.getSingleStep())},slideBack:function(){this.slideBy(-this.getSingleStep())},slidePageForward:function(e){this.slideBy(this.getPageStep(),e)},slidePageBack:function(e){this.slideBy(-this.getPageStep(),e)},slideBy:function(e,t){this.slideTo(this.getValue()+e,t)},slideTo:function(e,t){this.stopSlideAnimation();t?this.__P_194_16(e,t):this.updatePosition(e)},updatePosition:function(e){this.setValue(this.__P_194_17(e))},stopSlideAnimation:function(){if(this.__P_194_12){this.__P_194_12.cancelSequence();this.__P_194_12=null}},__P_194_17:function(e){return e=ethis.getMaximum()?this.getMaximum():this.getMinimum()+Math.round((e-this.getMinimum())/this.getSingleStep())*this.getSingleStep()},__P_194_16:function(e,t){e=this.__P_194_17(e);var n=this.getValue();this.__P_194_12=new qx.bom.AnimationFrame;this.__P_194_12.on("frame",(function(r){this.setValue(parseInt(r/t*(e-n)+n))}),this);this.__P_194_12.on("end",(function(){this.setValue(e);this.__P_194_12=null;this.fireEvent("slideAnimationEnd")}),this);this.__P_194_12.startSequence(t)},_applyOrientation:function(e,t){this.getContentElement().setAttribute("aria-orientation",e);var n=this.getChildControl("knob");this.__P_194_13="horizontal"===e;if(this.__P_194_13){this.removeState("vertical");n.removeState("vertical");this.addState("horizontal");n.addState("horizontal");n.setLayoutProperties({top:0,right:null,bottom:0})}else{this.removeState("horizontal");n.removeState("horizontal");this.addState("vertical");n.addState("vertical");n.setLayoutProperties({right:0,bottom:null,left:0})}this._updateKnobPosition()},_applyKnobFactor:function(e,t){null!=e?this._updateKnobSize():this.__P_194_13?this.getChildControl("knob").resetWidth():this.getChildControl("knob").resetHeight()},_applyValue:function(e,t){if(null!=e){this.getContentElement().setAttribute("aria-valuenow",e);this._updateKnobPosition();this.__P_194_3?this.__P_194_11=[e,t]:this.fireEvent("changeValue",qx.event.type.Data,[e,t])}else this.resetValue()},_fireValue:function(){if(this.__P_194_11){var e=this.__P_194_11;this.__P_194_11=null;this.fireEvent("changeValue",qx.event.type.Data,e)}},_applyMinimum:function(e,t){this.getContentElement().setAttribute("aria-valuemin",e);this.getValue()e&&this.setValue(e);this._updateKnobPosition()}}});qx.ui.form.Slider.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Slider":{construct:!0,require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.core.scroll.ScrollSlider",{extend:qx.ui.form.Slider,construct:function(e){qx.ui.form.Slider.constructor.call(this,e);this.removeListener("keypress",this._onKeyPress);this.removeListener("roll",this._onRoll)},members:{_createChildControlImpl:function(e,t){var n;if("knob"===e)(n=qx.ui.core.scroll.ScrollSlider.superclass.prototype._createChildControlImpl.call(this,e)).addListener("dblclick",(function(e){e.stopPropagation()}));return n||qx.ui.core.scroll.ScrollSlider.superclass.prototype._createChildControlImpl.call(this,e)},getSizeHint:function(e){var t=qx.ui.core.scroll.ScrollSlider.superclass.prototype.getSizeHint.call(this);"horizontal"===this.getOrientation()?t.width=0:t.height=0;return t}}});qx.ui.core.scroll.ScrollSlider.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.form.Button":{construct:!0,require:!0},"qx.event.AcceleratingTimer":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.RepeatButton",{extend:qx.ui.form.Button,construct:function(e,t){qx.ui.form.Button.constructor.call(this,e,t);this.__P_137_0=new qx.event.AcceleratingTimer;this.__P_137_0.addListener("interval",this._onInterval,this)},events:{execute:"qx.event.type.Event",press:"qx.event.type.Event",release:"qx.event.type.Event"},properties:{interval:{check:"Integer",init:100},firstInterval:{check:"Integer",init:500},minTimer:{check:"Integer",init:20},timerDecrease:{check:"Integer",init:2}},members:{__P_137_1:null,__P_137_0:null,press:function(){if(this.isEnabled()){this.hasState("pressed")||this.__P_137_2();this.removeState("abandoned");this.addState("pressed")}},release:function(e){if(this.isEnabled()){this.hasState("pressed")&&(this.__P_137_1||this.execute());this.removeState("pressed");this.removeState("abandoned");this.__P_137_3()}},_applyEnabled:function(e,t){qx.ui.form.RepeatButton.superclass.prototype._applyEnabled.call(this,e,t);if(!e){this.isCapturing()&&this.releaseCapture();this.removeState("pressed");this.removeState("abandoned");this.__P_137_3()}},_onPointerOver:function(e){if(this.isEnabled()&&e.getTarget()===this){if(this.hasState("abandoned")){this.removeState("abandoned");this.addState("pressed");this.__P_137_0.start()}this.addState("hovered")}},_onPointerOut:function(e){if(this.isEnabled()&&e.getTarget()===this){this.removeState("hovered");if(this.hasState("pressed")){this.removeState("pressed");this.addState("abandoned");this.__P_137_0.stop()}}},_onPointerDown:function(e){if(e.isLeftPressed()){this.capture();this.__P_137_2();e.stopPropagation()}},_onPointerUp:function(e){this.releaseCapture();if(!this.hasState("abandoned")){this.addState("hovered");this.hasState("pressed")&&!this.__P_137_1&&this.execute()}this.__P_137_3();e.stopPropagation()},_onTap:function(e){},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":if(this.hasState("pressed")){this.__P_137_1||this.execute();this.removeState("pressed");this.removeState("abandoned");e.stopPropagation();this.__P_137_3()}}},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case"Enter":case"Space":this.removeState("abandoned");this.addState("pressed");e.stopPropagation();this.__P_137_2()}},_onInterval:function(e){this.__P_137_1=!0;this.fireEvent("execute")},__P_137_2:function(){this.fireEvent("press");this.__P_137_1=!1;this.__P_137_0.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();this.removeState("abandoned");this.addState("pressed")},__P_137_3:function(){this.fireEvent("release");this.__P_137_0.stop();this.removeState("abandoned");this.removeState("pressed")}},destruct:function(){this._disposeObjects("__P_137_0")}});qx.ui.form.RepeatButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Registration":{},"qx.event.util.Keyboard":{},"qx.lang.String":{},"qx.locale.Key":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.Shortcut",{extend:qx.core.Object,implement:[qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);this.__P_170_0={};this.__P_170_1=null;null!=e&&this.setShortcut(e);this.initEnabled()},events:{execute:"qx.event.type.Data"},properties:{enabled:{init:!0,check:"Boolean",event:"changeEnabled",apply:"_applyEnabled"},shortcut:{check:"String",apply:"_applyShortcut",nullable:!0},autoRepeat:{check:"Boolean",init:!1}},members:{__P_170_0:"",__P_170_1:"",execute:function(e){this.fireDataEvent("execute",e)},__P_170_2:function(e){if(this.getEnabled()&&this.__P_170_3(e)){this.isAutoRepeat()||this.execute(e.getTarget());e.stop()}},__P_170_4:function(e){if(this.getEnabled()&&this.__P_170_3(e)){this.isAutoRepeat()&&this.execute(e.getTarget());e.stop()}},_applyEnabled:function(e,t){if(e){qx.event.Registration.addListener(document.documentElement,"keydown",this.__P_170_2,this);qx.event.Registration.addListener(document.documentElement,"keypress",this.__P_170_4,this)}else{qx.event.Registration.removeListener(document.documentElement,"keydown",this.__P_170_2,this);qx.event.Registration.removeListener(document.documentElement,"keypress",this.__P_170_4,this)}},_applyShortcut:function(e,t){if(e){if(-1!=e.search(/[\s]+/)){var n="Whitespaces are not allowed within shortcuts";this.error(n);throw new Error(n)}this.__P_170_0={Control:!1,Shift:!1,Meta:!1,Alt:!1};this.__P_170_1=null;for(var r,i=[];e.length>0&&-1!=r;){r=e.search(/[-+]+/);i.push(1==e.length||-1==r?e:e.substring(0,r));e=e.substring(r+1)}for(var o=i.length,s=0;s="a"&&e<="z")return e.toUpperCase();e=e.toLowerCase();var n=this.__P_170_6[e]||qx.lang.String.firstUp(e);return t.isValidKeyIdentifier(n)?n:"Unidentified"},toString:function(){var e=this.__P_170_1,t=[];for(var n in this.__P_170_0)this.__P_170_0[n]&&t.push(qx.locale.Key.getKeyName("short",n));e&&t.push(qx.locale.Key.getKeyName("short",e));return t.join("+")}},destruct:function(){this.setEnabled(!1);this.__P_170_0=this.__P_170_1=null}});qx.bom.Shortcut.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.AbstractAxis",{extend:Object,statics:{computeStart:function(e,t,n,r,i){throw new Error("abstract method call!")},_moveToEdgeAndAlign:function(e,t,n,r){switch(r){case"edge-start":return t.start-n.end-e;case"edge-end":return t.end+n.start;case"align-start":return t.start+n.start;case"align-center":return t.start+parseInt((t.end-t.start-e)/2,10)+n.start;case"align-end":return t.end-n.end-e}},_isInRange:function(e,t,n){return e>=0&&e+t<=n}}});qx.util.placement.AbstractAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.placement.AbstractAxis":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.DirectAxis",{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(e,t,n,r,i){return this._moveToEdgeAndAlign(e,t,n,i)}}});qx.util.placement.DirectAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.placement.AbstractAxis":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.KeepAlignAxis",{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,_isInRange:qx.util.placement.AbstractAxis._isInRange,computeStart:function(e,t,n,r,i){var o,s,a=this._moveToEdgeAndAlign(e,t,n,i);if(this._isInRange(a,e,r))return a;if("edge-start"==i||"edge-end"==i){o=t.start-n.end;s=t.end+n.start}else{o=t.end-n.end;s=t.start+n.start}return a=o>r-s?Math.max(0,o-e):s}}});qx.util.placement.KeepAlignAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.util.placement.AbstractAxis":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.util.placement.BestFitAxis",{statics:{_isInRange:qx.util.placement.AbstractAxis._isInRange,_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(e,t,n,r,i){var o=this._moveToEdgeAndAlign(e,t,n,i);if(this._isInRange(o,e,r))return o;o<0&&(o=Math.min(0,r-e));o+e>r&&(o=Math.max(0,r-e));return o}}});qx.util.placement.BestFitAxis.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.ui.basic.Atom":{construct:!0,require:!0},"qx.ui.core.MExecutable":{require:!0},"qx.ui.form.IExecutable":{require:!0},"qx.event.AcceleratingTimer":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.ui.form.HoverButton",{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(e,t){qx.ui.basic.Atom.constructor.call(this,e,t);this.addListener("pointerover",this._onPointerOver,this);this.addListener("pointerout",this._onPointerOut,this);this.__P_132_0=new qx.event.AcceleratingTimer;this.__P_132_0.addListener("interval",this._onInterval,this)},properties:{appearance:{refine:!0,init:"hover-button"},interval:{check:"Integer",init:80},firstInterval:{check:"Integer",init:200},minTimer:{check:"Integer",init:20},timerDecrease:{check:"Integer",init:2}},members:{__P_132_0:null,_onPointerOver:function(e){if(this.isEnabled()&&e.getTarget()===this){this.__P_132_0.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();this.addState("hovered")}},_onPointerOut:function(e){this.__P_132_0.stop();this.removeState("hovered");this.isEnabled()&&e.getTarget()},_onInterval:function(){this.isEnabled()?this.execute():this.__P_132_0.stop()}},destruct:function(){this._disposeObjects("__P_132_0")}});qx.ui.form.HoverButton.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",construct:!0,require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.event.Emitter":{require:!0},"qx.bom.client.CssAnimation":{construct:!0,require:!0}},environment:{provided:[],required:{"css.animation":{construct:!0,className:"qx.bom.client.CssAnimation"}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.element.AnimationHandle",{extend:qx.event.Emitter,construct:function(){var e=qx.core.Environment.get("css.animation");this.__P_134_0=e&&e["play-state"];this.__P_134_1=!0;this.addListenerOnce("end",this.__P_134_2,this)},events:{start:"Element",end:"Element",iteration:"Element"},members:{__P_134_0:null,__P_134_1:!1,__P_134_3:!1,isPlaying:function(){return this.__P_134_1},isEnded:function(){return this.__P_134_3},isPaused:function(){return"paused"==this.el.style[this.__P_134_0]},pause:function(){if(this.el){this.el.style[this.__P_134_0]="paused";this.el.$$animation.__P_134_1=!1;this.animationId&&qx.bom.element.AnimationJs&&qx.bom.element.AnimationJs.pause(this)}},play:function(){if(this.el){this.el.style[this.__P_134_0]="running";this.el.$$animation.__P_134_1=!0;null!=this.i&&qx.bom.element.AnimationJs&&qx.bom.element.AnimationJs.play(this)}},stop:function(){if(this.el&&qx.core.Environment.get("css.animation")&&!this.jsAnimation){this.el.style[this.__P_134_0]="";this.el.style[qx.core.Environment.get("css.animation").name]="";this.el.$$animation.__P_134_1=!1;this.el.$$animation.__P_134_3=!0}else if(this.jsAnimation){this.stopped=!0;qx.bom.element.AnimationJs.stop(this)}},__P_134_2:function(){this.__P_134_1=!1;this.__P_134_3=!0}}});qx.bom.element.AnimationHandle.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Interface":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Interface.define("qx.util.format.IFormat",{members:{format:function(e){},parse:function(e){}}});qx.util.format.IFormat.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.util.format.IFormat":{require:!0},"qx.core.IDisposable":{require:!0},"qx.lang.Type":{construct:!0},"qx.locale.Manager":{construct:!0},"qx.locale.Number":{},"qx.lang.String":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.util.format.NumberFormat",{extend:qx.core.Object,implement:[qx.util.format.IFormat,qx.core.IDisposable],construct:function(e){qx.core.Object.constructor.call(this);if(arguments.length>0){if(1!==arguments.length)throw new Error("Wrong number of arguments.");if(!qx.lang.Type.isString(e))throw new Error("Wrong argument type. String is expected.");this.setLocale(e)}if(!e){this.setLocale(qx.locale.Manager.getInstance().getLocale());qx.locale.Manager.getInstance().bind("locale",this,"locale")}},properties:{minimumIntegerDigits:{check:"Number",init:0},maximumIntegerDigits:{check:"Number",nullable:!0},minimumFractionDigits:{check:"Number",init:0},maximumFractionDigits:{check:"Number",nullable:!0},groupingUsed:{check:"Boolean",init:!0},prefix:{check:"String",init:"",event:"changeNumberFormat"},postfix:{check:"String",init:"",event:"changeNumberFormat"},locale:{check:"String",init:null,event:"changeLocale"}},members:{format:function(e){if(isNaN(e))return"NaN";switch(e){case 1/0:return"Infinity";case-1/0:return"-Infinity"}var t=e<0;t&&(e=-e);if(null!=this.getMaximumFractionDigits()){var n=Math.pow(10,this.getMaximumFractionDigits());e=Math.round(e*n)/n}for(var r=String(Math.floor(e)).length,i=""+e,o=i.substring(0,r);o.lengththis.getMaximumIntegerDigits()&&(o=o.substring(o.length-this.getMaximumIntegerDigits()));for(var s=i.substring(r+1);s.lengththis.getMaximumFractionDigits()&&(s=s.substring(0,this.getMaximumFractionDigits()));if(this.getGroupingUsed()){var a,u=o;o="";for(a=u.length;a>3;a-=3)o=""+qx.locale.Number.getGroupSeparator(this.getLocale())+u.substring(a-3,a)+o;o=u.substring(0,a)+o}var l=this.getPrefix()?this.getPrefix():"",c=this.getPostfix()?this.getPostfix():"",h=l+(t?"-":"")+o;s.length>0&&(h+=""+qx.locale.Number.getDecimalSeparator(this.getLocale())+s);return h+=c},parse:function(e){var t=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this.getLocale())+""),n=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this.getLocale())+""),r=new RegExp("^("+qx.lang.String.escapeRegexpChars(this.getPrefix())+")?([-+]){0,1}([0-9]{1,3}(?:"+t+"{0,1}[0-9]{3}){0,}){0,1}("+n+"\\d+){0,1}("+qx.lang.String.escapeRegexpChars(this.getPostfix())+")?$").exec(e);if(null==r)throw new Error("Number string '"+e+"' does not match the number format");var i="-"==r[2],o=r[3]||"0",s=r[4],a=(i?"-":"")+(o=o.replace(new RegExp(t,"g"),""));null!=s&&0!=s.length&&(a+="."+(s=s.replace(new RegExp(n),"")));return parseFloat(a)}},destruct:function(){qx.locale.Manager.getInstance().removeRelatedBindings(this)}});qx.util.format.NumberFormat.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.locale.Manager":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.locale.Number",{statics:{getDecimalSeparator:function(e){return qx.locale.Manager.getInstance().localize("cldr_number_decimal_separator",[],e)},getGroupSeparator:function(e){return qx.locale.Manager.getInstance().localize("cldr_number_group_separator",[],e)},getPercentFormat:function(e){return qx.locale.Manager.getInstance().localize("cldr_number_percent_format",[],e)}}});qx.locale.Number.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Bootstrap":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.dom.Element":{},"qx.lang.Type":{},"qx.bom.client.Engine":{require:!0}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine",load:!0}}}};qx.Bootstrap.executePendingDefers(e);qx.Bootstrap.define("qx.bom.Input",{statics:{__P_153_0:{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(e,t,n){var r;t=t?qx.lang.Object.clone(t):{};if("textarea"===e||"select"===e)r=e;else{r="input";t.type=e}return qx.dom.Element.create(r,t,n)},setValue:function(e,t){var n=e.nodeName.toLowerCase(),r=e.type,i=qx.lang.Type;"number"==typeof t&&(t+="");if("checkbox"===r||"radio"===r)i.isArray(t)?e.checked=t.includes(e.value):e.checked=e.value==t;else if("select"===n){for(var o,s,a=i.isArray(t),u=e.options,l=0,c=u.length;l=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var u=r.call(s,"catchLoc"),l=r.call(s,"finallyLoc");if(u&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function asyncGeneratorStep(e,t,n,r,i,o,s){try{var a=e[o](s),u=a.value}catch(e){n(e);return}a.done?t(u):Promise.resolve(u).then(r,i)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){asyncGeneratorStep(o,r,i,s,a,"next",e)}function a(e){asyncGeneratorStep(o,r,i,s,a,"throw",e)}s(void 0)}))}}!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.Promise":{construct:!0},"qx.bom.Label":{},"qx.bom.client.Browser":{require:!0},"qx.event.Timer":{},"qx.bom.element.Dimension":{},"qx.lang.Object":{},"qx.bom.element.Style":{}},environment:{provided:[],required:{"browser.name":{className:"qx.bom.client.Browser"},"browser.version":{className:"qx.bom.client.Browser"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.webfonts.Validator",{extend:qx.core.Object,construct:function(e,t,n,r){qx.core.Object.constructor.call(this);t&&this.setComparisonString(t);n&&this.setFontWeight(n);r&&this.setFontStyle(r);if(e){this.setFontFamily(e);this.__P_186_0=this._getRequestedHelpers()}this.__P_186_1=new qx.Promise},statics:{COMPARISON_FONTS:{sans:["Arial","Helvetica","sans-serif"],serif:["Times New Roman","Georgia","serif"]},HELPER_CSS:{position:"absolute",margin:"0",padding:"0",top:"-1000px",left:"-1000px",fontSize:"350px",width:"auto",height:"auto",lineHeight:"normal",fontVariant:"normal",visibility:"hidden"},COMPARISON_STRING:"WEei",__P_186_2:null,__P_186_3:null,removeDefaultHelperElements:function(){var e=qx.bom.webfonts.Validator.__P_186_3;if(e)for(var t in e)document.body.removeChild(e[t]);delete qx.bom.webfonts.Validator.__P_186_3}},properties:{fontFamily:{nullable:!0,init:null,apply:"_applyFontFamily"},fontWeight:{nullable:!0,check:"String",apply:"_applyFontWeight"},fontStyle:{nullable:!0,check:"String",apply:"_applyFontStyle"},comparisonString:{nullable:!0,init:null},timeout:{check:"Integer",init:5e3}},events:{changeStatus:"qx.event.type.Data"},members:{__P_186_0:null,__P_186_4:null,__P_186_5:null,__P_186_1:null,validate:function(){var e=this;if(!this.__P_186_5){var t=function(t){e.__P_186_4&&e.__P_186_4.stop();e._reset();e.__P_186_1.resolve(t);e.fireDataEvent("changeStatus",{family:e.getFontFamily(),valid:t})};if(document.fonts&&"function"==typeof document.fonts.load){this.__P_186_5=(new Date).getTime();var n="".concat(this.getFontStyle()||"normal"," ").concat(this.getFontWeight()||"normal"," 14px ").concat(this.getFontFamily()),r=function(){var r=_asyncToGenerator(_regeneratorRuntime().mark((function r(){return _regeneratorRuntime().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:r.prev=0;r.next=3;return document.fonts.load(n);case 3:r.next=5;return document.fonts.ready;case 5:qx.bom.Label.getTextSize("Hello World",{fontFamily:e.getFontFamily(),fontStyle:e.getFontStyle(),fontWeight:e.getFontWeight()});setTimeout((function(){return t(e._isFontValid())}),100);r.next=13;break;case 9:r.prev=9;r.t0=r.catch(0);e.warn("Exception while loading font ".concat(n,": ")+r.t0);t(!1);case 13:case"end":return r.stop()}}),r,null,[[0,9]])})));return function(){return r.apply(this,arguments)}}();r()}else{this.__P_186_5=(new Date).getTime();"".concat(this.getFontStyle()||"normal"," ").concat(this.getFontWeight()||"normal"," 14px ").concat(this.getFontFamily());var i=function(){if(e._isFontValid())"safari"==qx.core.Environment.get("browser.name")&&parseFloat(qx.core.Environment.get("browser.version"))>=8?setTimeout((function(){return t(!0)}),100):t(!0);else{(new Date).getTime()-e.__P_186_5>=e.getTimeout()&&t(!1)}};qx.event.Timer.once((function(){e.__P_186_4=new qx.event.Timer(100);e.__P_186_4.addListener("interval",i);e.__P_186_4.start()}),this,0)}}},isValid:function(){var e=this;return _asyncToGenerator(_regeneratorRuntime().mark((function t(){return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.next=2;return e.__P_186_1;case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},_reset:function(){if(this.__P_186_0){for(var e in this.__P_186_0){var t=this.__P_186_0[e];document.body.removeChild(t)}this.__P_186_0=null}},_isFontValid:function(){qx.bom.webfonts.Validator.__P_186_2||this.__P_186_6();this.__P_186_0||(this.__P_186_0=this._getRequestedHelpers());this.__P_186_0.sans.style.visibility="visible";this.__P_186_0.sans.style.visibility="hidden";this.__P_186_0.serif.style.visibility="visible";this.__P_186_0.serif.style.visibility="hidden";var e=qx.bom.element.Dimension.getWidth(this.__P_186_0.sans),t=qx.bom.element.Dimension.getWidth(this.__P_186_0.serif),n=qx.bom.webfonts.Validator;return e!==n.__P_186_2.sans||t!==n.__P_186_2.serif},_getRequestedHelpers:function(){var e=[this.getFontFamily()].concat(qx.bom.webfonts.Validator.COMPARISON_FONTS.sans),t=[this.getFontFamily()].concat(qx.bom.webfonts.Validator.COMPARISON_FONTS.serif);return{sans:this._getHelperElement(e,this.getComparisonString()),serif:this._getHelperElement(t,this.getComparisonString())}},_getHelperElement:function(e,t){var n=qx.lang.Object.clone(qx.bom.webfonts.Validator.HELPER_CSS);e&&(n.fontFamily?n.fontFamily+=","+e.join(","):n.fontFamily=e.join(","));this.getFontWeight()&&(n.fontWeight=this.getFontWeight());this.getFontStyle()&&(n.fontStyle=this.getFontStyle());var r=document.createElement("span");r.innerHTML=t||qx.bom.webfonts.Validator.COMPARISON_STRING;qx.bom.element.Style.setStyles(r,n);document.body.appendChild(r);return r},_applyFontFamily:function(e,t){e!==t&&this._reset()},_applyFontWeight:function(e,t){e!==t&&this._reset()},_applyFontStyle:function(e,t){e!==t&&this._reset()},__P_186_6:function(){var e=qx.bom.webfonts.Validator;e.__P_186_3||(e.__P_186_3={sans:this._getHelperElement(e.COMPARISON_FONTS.sans),serif:this._getHelperElement(e.COMPARISON_FONTS.serif)});e.__P_186_2={sans:qx.bom.element.Dimension.getWidth(e.__P_186_3.sans),serif:qx.bom.element.Dimension.getWidth(e.__P_186_3.serif)}}},destruct:function(){this._reset();null!=this.__P_186_4&&this.__P_186_4.stop();this._disposeObjects("__P_186_4")}});qx.bom.webfonts.Validator.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{require:!0},"qx.event.IEventHandler":{require:!0},"qx.event.Registration":{defer:"runtime",require:!0},"qx.event.GlobalError":{usage:"dynamic",require:!0},"qx.bom.Iframe":{},"qx.event.type.Data":{}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.handler.Iframe",{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{load:1,navigate:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:!1,onevent:qx.event.GlobalError.observeMethod((function(e){var t=qx.bom.Iframe.queryCurrentUrl(e);if(t!==e.$$url){qx.event.Registration.fireEvent(e,"navigate",qx.event.type.Data,[t]);e.$$url=t}qx.event.Registration.fireEvent(e,"load")}))},members:{canHandleEvent:function(e,t){return"iframe"===e.tagName.toLowerCase()},registerEvent:function(e,t,n){},unregisterEvent:function(e,t,n){}},defer:function(e){qx.event.Registration.addHandler(e)}});qx.event.handler.Iframe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.event.handler.Iframe":{require:!0},"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.lang.Object":{},"qx.dom.Element":{},"qx.dom.Hierarchy":{},"qx.bom.client.Engine":{require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.log.Logger":{},"qx.bom.Event":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.Iframe",{statics:{DEFAULT_ATTRIBUTES:{frameBorder:0,frameSpacing:0,marginWidth:0,marginHeight:0,hspace:0,vspace:0,border:0,allowTransparency:!0},create:function(e,t){e=e?qx.lang.Object.clone(e):{};var n=qx.bom.Iframe.DEFAULT_ATTRIBUTES;for(var r in n)r in e||(e[r]=n[r]);var i=qx.dom.Element.create("iframe",e,t);"onload"in e||(i.onload=function(){qx.event.handler.Iframe.onevent(i)});return i},getWindow:function(e){try{return e.contentWindow}catch(e){return null}},getDocument:function(e){if("contentDocument"in e)try{return e.contentDocument}catch(e){return null}try{var t=this.getWindow(e);return t?t.document:null}catch(e){return null}},getBody:function(e){try{var t=this.getDocument(e);return t?t.getElementsByTagName("body")[0]:null}catch(e){return null}},setSource:function(e,t){try{if(this.getWindow(e)&&qx.dom.Hierarchy.isRendered(e))try{if("webkit"==qx.core.Environment.get("engine.name")&&"osx"==qx.core.Environment.get("os.name")){var n=this.getWindow(e);n&&n.stop()}this.getWindow(e).location.replace(t)}catch(n){e.src=t}else e.src=t;this.__P_195_0(e)}catch(e){qx.log.Logger.warn("Iframe source could not be set!")}},queryCurrentUrl:function(e){var t=this.getDocument(e);try{if(t&&t.location)return t.location.href}catch(e){}return""},__P_195_0:function(e){qx.bom.Event.addNativeListener(e,"load",(function t(){qx.bom.Event.removeNativeListener(e,"load",t);e.$$url=qx.bom.Iframe.queryCurrentUrl(e)}))}}});qx.bom.Iframe.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.client.Engine":{require:!0},"qx.util.ResourceManager":{}},environment:{provided:[],required:{"engine.name":{className:"qx.bom.client.Engine"},"engine.version":{className:"qx.bom.client.Engine"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.bom.element.Background",{statics:{__P_166_0:["background-image:url(",null,");","background-position:",null,";","background-repeat:",null,";"],__P_166_1:{backgroundImage:null,backgroundPosition:null,backgroundRepeat:null},__P_166_2:function(e,t){var n=qx.core.Environment.get("engine.name"),r=qx.core.Environment.get("engine.version");"gecko"==n&&r<1.9&&e==t&&"number"==typeof e&&(t+=.01);if(e)var i="number"==typeof e?e+"px":e;else i="0";if(t)var o="number"==typeof t?t+"px":t;else o="0";return i+" "+o},compile:function(e,t,n,r){var i=this.__P_166_2(n,r),o=qx.util.ResourceManager.getInstance().toUri(e),s=this.__P_166_0;s[1]="'"+o+"'";s[4]=i;s[7]=t;return s.join("")},getStyles:function(e,t,n,r){if(!e)return this.__P_166_1;var i={backgroundPosition:this.__P_166_2(n,r),backgroundImage:"url('"+qx.util.ResourceManager.getInstance().toUri(e)+"')"};null!=t&&(i.backgroundRepeat=t);return i},set:function(e,t,n,r,i){var o=this.getStyles(t,n,r,i);for(var s in o)e.style[s]=o[s]}}});qx.bom.element.Background.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Class":{usage:"dynamic",require:!0},"qx.core.Object":{construct:!0,require:!0},"qx.core.IDisposable":{require:!0},"qx.event.Timer":{construct:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.event.AcceleratingTimer",{extend:qx.core.Object,implement:[qx.core.IDisposable],construct:function(){qx.core.Object.constructor.call(this);this.__P_168_0=new qx.event.Timer(this.getInterval());this.__P_168_0.addListener("interval",this._onInterval,this)},events:{interval:"qx.event.type.Event"},properties:{interval:{check:"Integer",init:100},firstInterval:{check:"Integer",init:500},minimum:{check:"Integer",init:20},decrease:{check:"Integer",init:2}},members:{__P_168_0:null,__P_168_1:null,start:function(){this.__P_168_0.setInterval(this.getFirstInterval());this.__P_168_0.start()},stop:function(){this.__P_168_0.stop();this.__P_168_1=null},_onInterval:function(){this.__P_168_0.stop();null==this.__P_168_1&&(this.__P_168_1=this.getInterval());this.__P_168_1=Math.max(this.getMinimum(),this.__P_168_1-this.getDecrease());this.__P_168_0.setInterval(this.__P_168_1);this.__P_168_0.start();this.fireEvent("interval")}},destruct:function(){this._disposeObjects("__P_168_0")}});qx.event.AcceleratingTimer.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",require:!0},"qx.Class":{usage:"dynamic",require:!0},"qx.bom.client.OperatingSystem":{require:!0},"qx.locale.Manager":{defer:"runtime"}},environment:{provided:[],required:{"os.name":{className:"qx.bom.client.OperatingSystem"}}}};qx.Bootstrap.executePendingDefers(e);qx.Class.define("qx.locale.Key",{statics:{getKeyName:function(e,t,n){var r="key_"+e+"_"+t;"osx"==qx.core.Environment.get("os.name")&&"Control"==t&&(r+="_Mac");var i=qx.locale.Manager.getInstance().translate(r,[],n);return i==r?qx.locale.Key._keyNames[r]||t:i}},defer:function(e){var t={},n=qx.locale.Manager;t[n.marktr("key_short_Backspace")]="Backspace";t[n.marktr("key_short_Tab")]="Tab";t[n.marktr("key_short_Space")]="Space";t[n.marktr("key_short_Enter")]="Enter";t[n.marktr("key_short_Shift")]="Shift";t[n.marktr("key_short_Control")]="Ctrl";t[n.marktr("key_short_Control_Mac")]="Ctrl";t[n.marktr("key_short_Alt")]="Alt";t[n.marktr("key_short_CapsLock")]="Caps";t[n.marktr("key_short_Meta")]="Meta";t[n.marktr("key_short_Escape")]="Esc";t[n.marktr("key_short_Left")]="Left";t[n.marktr("key_short_Up")]="Up";t[n.marktr("key_short_Right")]="Right";t[n.marktr("key_short_Down")]="Down";t[n.marktr("key_short_PageUp")]="PgUp";t[n.marktr("key_short_PageDown")]="PgDn";t[n.marktr("key_short_End")]="End";t[n.marktr("key_short_Home")]="Home";t[n.marktr("key_short_Insert")]="Ins";t[n.marktr("key_short_Delete")]="Del";t[n.marktr("key_short_NumLock")]="Num";t[n.marktr("key_short_PrintScreen")]="Print";t[n.marktr("key_short_Scroll")]="Scroll";t[n.marktr("key_short_Pause")]="Pause";t[n.marktr("key_short_Win")]="Win";t[n.marktr("key_short_Apps")]="Apps";t[n.marktr("key_full_Backspace")]="Backspace";t[n.marktr("key_full_Tab")]="Tabulator";t[n.marktr("key_full_Space")]="Space";t[n.marktr("key_full_Enter")]="Enter";t[n.marktr("key_full_Shift")]="Shift";t[n.marktr("key_full_Control")]="Control";t[n.marktr("key_full_Control_Mac")]="Control";t[n.marktr("key_full_Alt")]="Alt";t[n.marktr("key_full_CapsLock")]="CapsLock";t[n.marktr("key_full_Meta")]="Meta";t[n.marktr("key_full_Escape")]="Escape";t[n.marktr("key_full_Left")]="Left";t[n.marktr("key_full_Up")]="Up";t[n.marktr("key_full_Right")]="Right";t[n.marktr("key_full_Down")]="Down";t[n.marktr("key_full_PageUp")]="PageUp";t[n.marktr("key_full_PageDown")]="PageDown";t[n.marktr("key_full_End")]="End";t[n.marktr("key_full_Home")]="Home";t[n.marktr("key_full_Insert")]="Insert";t[n.marktr("key_full_Delete")]="Delete";t[n.marktr("key_full_NumLock")]="NumLock";t[n.marktr("key_full_PrintScreen")]="PrintScreen";t[n.marktr("key_full_Scroll")]="Scroll";t[n.marktr("key_full_Pause")]="Pause";t[n.marktr("key_full_Win")]="Win";t[n.marktr("key_full_Apps")]="Apps";e._keyNames=t}});qx.locale.Key.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Theme":{usage:"dynamic",require:!0},"qx.bom.client.Css":{require:!0}},environment:{provided:[],required:{"css.rgba":{load:!0,className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.indigo.Color",{colors:{background:"white","dark-blue":"#323335","light-background":"#F4F4F4",font:"#262626",highlight:"#3D72C9","highlight-shade":"#5583D0","background-selected":"#3D72C9","background-selected-disabled":"#CDCDCD","background-selected-dark":"#323335","background-disabled":"#F7F7F7","background-disabled-checked":"#BBBBBB","background-pane":"white","tabview-unselected":"#1866B5","tabview-button-border":"#134983","tabview-label-active-disabled":"#D9D9D9",link:"#24B","scrollbar-bright":"#F1F1F1","scrollbar-dark":"#EBEBEB",button:"#E8F0E3","button-border":"#BBB","button-border-hovered":"#939393",invalid:"#C00F00","button-box-bright":"#F9F9F9","button-box-dark":"#E3E3E3","button-box-bright-pressed":"#BABABA","button-box-dark-pressed":"#EBEBEB","border-lead":"#888888","window-border":"#dddddd","window-border-inner":"#F4F4F4","white-box-border":"#dddddd",shadow:qx.core.Environment.get("css.rgba")?"rgba(0, 0, 0, 0.4)":"#666666","border-main":"#dddddd","border-light":"#B7B7B7","border-light-shadow":"#686868","border-separator":"#808080",text:"#262626","text-disabled":"#A7A6AA","text-selected":"white","text-placeholder":"#CBC8CD",tooltip:"#FE0","tooltip-text":"black","table-header":[242,242,242],"table-focus-indicator":"#3D72C9","table-header-cell":[235,234,219],"table-row-background-focused-selected":"#3D72C9","table-row-background-focused":"#F4F4F4","table-row-background-selected":[51,94,168],"table-row-background-even":"white","table-row-background-odd":"white","table-row-selected":[255,255,255],"table-row":[0,0,0],"table-row-line":"#EEE","table-column-line":"#EEE","progressive-table-header":"#AAAAAA","progressive-table-row-background-even":[250,248,243],"progressive-table-row-background-odd":[255,255,255],"progressive-progressbar-background":"gray","progressive-progressbar-indicator-done":"#CCCCCC","progressive-progressbar-indicator-undone":"white","progressive-progressbar-percent-background":"gray","progressive-progressbar-percent-text":"white"}});qx.theme.indigo.Color.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.core.Environment":{defer:"load",usage:"dynamic",require:!0},"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.indigo.Color":{require:!0},"qx.bom.client.Css":{require:!0}},environment:{provided:[],required:{"css.rgba":{load:!0,className:"qx.bom.client.Css"}}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("wax.demo.theme.Color",{extend:qx.theme.indigo.Color,colors:{"table-row-background-selected":"#A9A9A9","table-row-background-focused-selected":"#A9A9A9","progressbar-base":qx.core.Environment.get("css.rgba")?"rgba(229, 229, 229, 1)":"#E5E5E5","progressbar-gray":qx.core.Environment.get("css.rgba")?"rgba(136, 136, 136, 1)":"#888888","progressbar-complete":qx.core.Environment.get("css.rgba")?"rgba(33, 186, 69, 1)":"#21BA45","progressbar-warning":qx.core.Environment.get("css.rgba")?"rgba(242, 192, 55, 1)":"#F2C037","progressbar-error":qx.core.Environment.get("css.rgba")?"rgba(219, 40, 40, 1)":"#DB2828"}});wax.demo.theme.Color.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.test.MDecoration",{decorations:{"test-ui-basic-image-toolbar-part":{style:{backgroundImage:"decoration/toolbar/toolbar-part.gif",backgroundRepeat:"repeat-y"}}}});qx.test.MDecoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.test.MDecoration":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.simple.Decoration",{include:[qx.test.MDecoration],aliases:{decoration:"qx/decoration/Simple"},decorations:{"border-blue":{style:{width:4,color:"background-selected"}},main:{style:{width:1,color:"border-main"}},"main-dark":{style:{width:1,color:"button-border"}},popup:{style:{width:1,color:"window-border",shadowLength:2,shadowBlurRadius:5,shadowColor:"shadow"}},dragover:{style:{bottom:[2,"solid","dark-blue"]}},"button-box":{style:{radius:3,width:1,color:"button-border",gradientStart:["button-box-bright",40],gradientEnd:["button-box-dark",70],backgroundColor:"button-box-bright"}},"button-box-pressed":{include:"button-box",style:{gradientStart:["button-box-bright-pressed",40],gradientEnd:["button-box-dark-pressed",70],backgroundColor:"button-box-bright-pressed"}},"button-box-pressed-hovered":{include:"button-box-pressed",style:{color:"button-border-hovered"}},"button-box-hovered":{include:"button-box",style:{color:"button-border-hovered"}},"button-box-invalid":{include:"button-box",style:{color:"invalid"}},"button-box-pressed-invalid":{include:"button-box-pressed",style:{color:"invalid"}},"button-box-hovered-invalid":{include:"button-box-invalid"},"button-box-pressed-hovered-invalid":{include:"button-box-pressed-invalid"},"button-box-focused":{include:"button-box",style:{color:"background-selected"}},"button-box-pressed-focused":{include:"button-box-pressed",style:{color:"background-selected"}},"button-box-hovered-focused":{include:"button-box-focused"},"button-box-pressed-hovered-focused":{include:"button-box-pressed-focused"},"button-box-right":{include:"button-box",style:{radius:[0,3,3,0]}},"button-box-pressed-right":{include:"button-box-pressed",style:{radius:[0,3,3,0]}},"button-box-pressed-hovered-right":{include:"button-box-pressed-hovered",style:{radius:[0,3,3,0]}},"button-box-hovered-right":{include:"button-box-hovered",style:{radius:[0,3,3,0]}},"button-box-focused-right":{include:"button-box-focused",style:{radius:[0,3,3,0]}},"button-box-hovered-focused-right":{include:"button-box-hovered-focused",style:{radius:[0,3,3,0]}},"button-box-pressed-focused-right":{include:"button-box-pressed-focused",style:{radius:[0,3,3,0]}},"button-box-pressed-hovered-focused-right":{include:"button-box-pressed-hovered-focused",style:{radius:[0,3,3,0]}},"button-box-right-borderless":{include:"button-box",style:{radius:[0,3,3,0],width:[1,1,1,0]}},"button-box-pressed-right-borderless":{include:"button-box-pressed",style:{radius:[0,3,3,0],width:[1,1,1,0]}},"button-box-pressed-hovered-right-borderless":{include:"button-box-pressed-hovered",style:{radius:[0,3,3,0],width:[1,1,1,0]}},"button-box-hovered-right-borderless":{include:"button-box-hovered",style:{radius:[0,3,3,0],width:[1,1,1,0]}},"button-box-top-right":{include:"button-box",style:{radius:[0,3,0,0],width:[1,1,1,0]}},"button-box-pressed-top-right":{include:"button-box-pressed",style:{radius:[0,3,0,0],width:[1,1,1,0]}},"button-box-pressed-hovered-top-right":{include:"button-box-pressed-hovered",style:{radius:[0,3,0,0],width:[1,1,1,0]}},"button-box-hovered-top-right":{include:"button-box-hovered",style:{radius:[0,3,0,0],width:[1,1,1,0]}},"button-box-bottom-right":{include:"button-box",style:{radius:[0,0,3,0],width:[0,1,1,0]}},"button-box-pressed-bottom-right":{include:"button-box-pressed",style:{radius:[0,0,3,0],width:[0,1,1,0]}},"button-box-pressed-hovered-bottom-right":{include:"button-box-pressed-hovered",style:{radius:[0,0,3,0],width:[0,1,1,0]}},"button-box-hovered-bottom-right":{include:"button-box-hovered",style:{radius:[0,0,3,0],width:[0,1,1,0]}},"button-box-bottom-left":{include:"button-box",style:{radius:[0,0,0,3],width:[0,0,1,1]}},"button-box-pressed-bottom-left":{include:"button-box-pressed",style:{radius:[0,0,0,3],width:[0,0,1,1]}},"button-box-pressed-hovered-bottom-left":{include:"button-box-pressed-hovered",style:{radius:[0,0,0,3],width:[0,0,1,1]}},"button-box-hovered-bottom-left":{include:"button-box-hovered",style:{radius:[0,0,0,3],width:[0,0,1,1]}},"button-box-top-left":{include:"button-box",style:{radius:[3,0,0,0],width:[1,0,0,1]}},"button-box-pressed-top-left":{include:"button-box-pressed",style:{radius:[3,0,0,0],width:[1,0,0,1]}},"button-box-pressed-hovered-top-left":{include:"button-box-pressed-hovered",style:{radius:[3,0,0,0],width:[1,0,0,1]}},"button-box-hovered-top-left":{include:"button-box-hovered",style:{radius:[3,0,0,0],width:[1,0,0,1]}},"button-box-middle":{include:"button-box",style:{radius:0,width:[1,0,1,1]}},"button-box-pressed-middle":{include:"button-box-pressed",style:{radius:0,width:[1,0,1,1]}},"button-box-pressed-hovered-middle":{include:"button-box-pressed-hovered",style:{radius:0,width:[1,0,1,1]}},"button-box-hovered-middle":{include:"button-box-hovered",style:{radius:0,width:[1,0,1,1]}},"button-box-left":{include:"button-box",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"button-box-pressed-left":{include:"button-box-pressed",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"button-box-pressed-hovered-left":{include:"button-box-pressed-hovered",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"button-box-hovered-left":{include:"button-box-hovered",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"button-box-focused-left":{include:"button-box-focused",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"button-box-hovered-focused-left":{include:"button-box-hovered-focused",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"button-box-pressed-hovered-focused-left":{include:"button-box-pressed-hovered-focused",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"button-box-pressed-focused-left":{include:"button-box-pressed-focused",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"separator-horizontal":{style:{widthLeft:1,colorLeft:"border-separator"}},"separator-vertical":{style:{widthTop:1,colorTop:"border-separator"}},"scroll-knob":{style:{radius:3,width:1,color:"button-border",backgroundColor:"scrollbar-bright"}},"scroll-knob-pressed":{include:"scroll-knob",style:{backgroundColor:"scrollbar-dark"}},"scroll-knob-hovered":{include:"scroll-knob",style:{color:"button-border-hovered"}},"scroll-knob-pressed-hovered":{include:"scroll-knob-pressed",style:{color:"button-border-hovered"}},"button-hover":{style:{backgroundColor:"button",radius:3}},window:{style:{width:1,color:"window-border",innerWidth:4,innerColor:"window-border-inner",shadowLength:1,shadowBlurRadius:3,shadowColor:"shadow",backgroundColor:"background"}},"window-active":{include:"window",style:{shadowLength:2,shadowBlurRadius:5}},"window-caption":{style:{width:[0,0,2,0],color:"window-border-inner"}},"white-box":{style:{width:1,color:"white-box-border",shadowBlurRadius:2,shadowColor:"#999999",radius:7,backgroundColor:"white",shadowLength:0}},inset:{style:{width:1,color:["border-light-shadow","border-light","border-light","border-light"]}},"focused-inset":{style:{width:2,color:"background-selected"}},"border-invalid":{style:{width:2,color:"invalid"}},"lead-item":{style:{width:1,style:"dotted",color:"border-lead"}},tooltip:{style:{width:1,color:"tooltip-text",shadowLength:1,shadowBlurRadius:2,shadowColor:"shadow"}},"tooltip-error":{style:{radius:5,backgroundColor:"invalid"}},"toolbar-separator":{style:{widthLeft:1,colorLeft:"button-border"}},"menu-separator":{style:{widthTop:1,colorTop:"background-selected"}},"menubar-button-hovered":{style:{width:1,color:"border-main",radius:3,backgroundColor:"white"}},"menubar-button-pressed":{include:"menubar-button-hovered",style:{radius:[3,3,0,0],width:[1,1,0,1]}},"datechooser-date-pane":{style:{widthTop:1,colorTop:"gray",style:"solid"}},"datechooser-weekday":{style:{widthBottom:1,colorBottom:"gray",style:"solid"}},"datechooser-week":{style:{widthRight:1,colorRight:"gray",style:"solid"}},"datechooser-week-header":{style:{widthBottom:1,colorBottom:"gray",widthRight:1,colorRight:"gray",style:"solid"}},"tabview-page-button-top":{style:{width:[1,1,0,1],backgroundColor:"background",color:"border-main",radius:[3,3,0,0]}},"tabview-page-button-bottom":{include:"tabview-page-button-top",style:{radius:[0,0,3,3],width:[0,1,1,1]}},"tabview-page-button-left":{include:"tabview-page-button-top",style:{radius:[3,0,0,3],width:[1,0,1,1]}},"tabview-page-button-right":{include:"tabview-page-button-top",style:{radius:[0,3,3,0],width:[1,1,1,0]}},statusbar:{style:{widthTop:1,colorTop:"background-selected",styleTop:"solid"}},"table-scroller-focus-indicator":{style:{width:2,color:"table-focus-indicator",style:"solid"}},"table-header":{include:"button-box",style:{radius:0,width:[1,0,1,0]}},"table-header-column-button":{include:"table-header",style:{width:1,color:"button-border"}},"table-header-cell":{style:{widthRight:1,color:"button-border"}},"table-header-cell-first":{include:"table-header-cell",style:{widthLeft:1}},"virtual-background-header":{style:{gradientStart:["button-box-bright",40],gradientEnd:["button-box-dark",70],backgroundColor:"button-box-bright"}},"virtual-background-span":{include:"table-header-cell",style:{color:"table-row-line",width:[0,0,1,0]}},"progressive-table-header":{include:"button-box",style:{radius:0,width:[1,0,1,1]}},"progressive-table-header-cell":{style:{widthRight:1,color:"button-border"}},progressbar:{style:{backgroundColor:"#FFF",width:1,color:"border-separator"}},radiobutton:{style:{radius:10,width:1,color:"button-border",innerColor:"background",innerWidth:2}},"radiobutton-focused":{include:"radiobutton",style:{color:"background-selected"}},"radiobutton-invalid":{include:"radiobutton",style:{color:"invalid"}},checkbox:{style:{width:1,color:"button-border"}},"checkbox-focused":{include:"checkbox",style:{color:"background-selected"}},"checkbox-invalid":{include:"checkbox",style:{color:"invalid"}}}});qx.theme.simple.Decoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.simple.Decoration":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.indigo.Decoration",{extend:qx.theme.simple.Decoration,aliases:{decoration:"qx/decoration/Simple"},decorations:{window:{style:{width:1,color:"window-border",shadowLength:1,shadowBlurRadius:3,shadowColor:"shadow",backgroundColor:"background",radius:3}},"window-caption":{style:{radius:[3,3,0,0],color:"window-border",widthBottom:1}},"window-caption-active":{style:{radius:[3,3,0,0],color:"highlight",widthBottom:3}},"white-box":{style:{width:1,color:"white-box-border",backgroundColor:"white"}},statusbar:{style:{widthTop:1,colorTop:"border-main",styleTop:"solid"}},"app-header":{style:{innerWidthBottom:1,innerColorBottom:"highlight-shade",widthBottom:9,colorBottom:"highlight",gradientStart:["#505154",0],gradientEnd:["#323335",100],backgroundColor:"#323335"}}}});qx.theme.indigo.Decoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.indigo.Decoration":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("wax.demo.theme.Decoration",{extend:qx.theme.indigo.Decoration,decorations:{nobgimg:{style:{backgroundImage:"",backgroundRepeat:"no-repeat",backgroundPositionX:"right",backgroundPositionY:"center"}},"tablelist-list":{style:{width:1,color:"gray"}},"groupbox-open":{style:{backgroundImage:"wax/baseline-expand_less-24px.svg",backgroundRepeat:"no-repeat",backgroundPositionX:"right",backgroundPositionY:"center"}},"groupbox-closed":{style:{backgroundImage:"wax/demo/baseline-expand_more-24px.svg",backgroundRepeat:"no-repeat",backgroundPositionX:"right",backgroundPositionY:"center"}},"page-button-right":{style:{backgroundImage:"wax/demo/chevron_right-24px.svg",backgroundRepeat:"no-repeat",backgroundPositionX:"right",backgroundPositionY:"center"}},"white-box":{style:{width:1,color:"white-box-border",radius:3}},"connected-top-box":{include:"white-box",style:{width:[1,0,0,0],radius:[0,0,0,0]}},"border-me":{style:{width:1,color:"black",style:"solid"}},topheader:{style:{width:[0,0,1,0],color:"white-box-border",style:"solid"}},leftside:{style:{width:[0,1,0,0],color:"white-box-border",style:"solid"}},bottombar:{style:{width:[1,0,0,0],color:"white-box-border",style:"solid"}},"mainmenubutton-box":{style:{radius:0,width:0,backgroundColor:"white"}},"mainmenubutton-box-pressed":{include:"mainmenubutton-box",style:{width:[0,0,0,5],radius:[1,0,0,1],color:["button-box-bright-pressed","button-box-bright-pressed","button-box-bright-pressed","blue"],backgroundColor:"white"}},"mainmenubutton-box-pressed-hovered":{include:"mainmenubutton-box-pressed",style:{color:"button-border-hovered"}},"mainmenubutton-box-hovered":{include:"mainmenubutton-box-pressed",style:{color:["button-box-bright-pressed","button-box-bright-pressed","button-box-bright-pressed","#cccccc"],backgroundColor:"white"}},mainmenuindicator:{style:{radius:3}},"window-captionbar-default":{style:{width:0}},element:{style:{width:1,color:"transparent",backgroundColor:"background",radius:0}},"element-active":{style:{width:1,color:"window-border",backgroundColor:"background",radius:3}},"element-caption":{style:{radius:0,color:"transparent",widthBottom:0}},"element-caption-active":{style:{radius:[3,3,0,0],color:"window-border"}},"circle-pill":{style:{color:"black",width:2,radius:1550}},"square-rectangle-sharp":{style:{color:"black",width:2,radius:0}},"square-rectangle-rounded":{style:{color:"black",width:2,radius:12}},diamond:{style:{color:"black",width:2,radius:0}},progressbar:{style:{backgroundColor:"#FFF",radius:0,width:0,color:"border-separator"}},"progressbar-trans":{radius:0,width:0},"upload-area":{style:{width:1,radius:3,style:"dashed",color:"gray"}},"upload-area-dragover":{include:"upload-area",style:{style:"solid",color:"orange"}}}});wax.demo.theme.Decoration.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.indigo.Font",{fonts:{default:{size:12,fontName:"qx.theme.indigo.defaultFont",color:"font",lineHeight:1.8},bold:{size:12,fontName:"qx.theme.indigo.defaultFont",bold:!0,color:"font",lineHeight:1.8},headline:{size:22,family:["serif"],fontName:"JosefinSlab"},small:{size:11,fontName:"qx.theme.indigo.defaultFont",color:"font",lineHeight:1.8},monospace:{size:11,fontName:"qx.theme.monospace",color:"font",lineHeight:1.8}}});qx.theme.indigo.Font.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.theme.indigo.Font":{require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("wax.demo.theme.Font",{extend:qx.theme.indigo.Font,fonts:{default:{size:14,family:["Lato","Helvetica Neue","arial","Helvetica","sans-serif"],color:"text",lineHeight:1.5},"default-bold":{include:"default",bold:!0},monospace:{size:14,family:["DejaVu Sans Mono","Courier New","monospace"],color:"font",lineHeight:1.8},mainmenubutton:{include:"default",size:16},"mainmenubutton-hym":{include:"default-bold",size:10,lineHeight:1.2},mainmenuindicator:{include:"default-bold",size:14},headeratom:{include:"default-bold",size:16},"control-header":{include:"default",size:32},"area-header":{include:"default",size:21},"hym-app-header":{include:"default",family:["-apple-system","BlinkMacSystemFont","Helvetica Neue","arial","Helvetica","sans-serif"],bold:!0,size:16}}});wax.demo.theme.Font.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.icon.Tango",{title:"Tango",aliases:{icon:"qx/icon/Tango"}});qx.theme.icon.Tango.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.test.MAppearance",{appearances:{"test-slider":{},"test-slider/knob":{include:"button-frame",style:function(e){return{height:14,width:14,padding:0,margin:0}}},"test-font-label":{style:function(e){return{textColor:"blue"}}}}});qx.test.MAppearance.$$dbClassInfo=e}();!function(){var e={dependsOn:{"qx.Theme":{usage:"dynamic",require:!0},"qx.test.MAppearance":{require:!0},"qx.theme.simple.Image":{}}};qx.Bootstrap.executePendingDefers(e);qx.Theme.define("qx.theme.simple.Appearance",{include:[qx.test.MAppearance],appearances:{widget:{},label:{style:function(e){return{textColor:e.disabled?"text-disabled":void 0}}},image:{style:function(e){return{opacity:!e.replacement&&e.disabled?.3:void 0}}},atom:{},"atom/label":"label","atom/icon":"image",root:{style:function(e){return{backgroundColor:"background",textColor:"text",font:"default"}}},popup:{style:function(e){return{decorator:"popup",backgroundColor:"background-pane"}}},tooltip:{include:"popup",style:function(e){return{backgroundColor:"tooltip",textColor:"tooltip-text",decorator:"tooltip",padding:[1,3,2,3],offset:[10,5,5,5]}}},"tooltip/atom":"atom","tooltip-error":{include:"tooltip",style:function(e){return{textColor:"text-selected",showTimeout:100,hideTimeout:1e4,decorator:"tooltip-error",font:"bold",backgroundColor:void 0}}},"tooltip-error/atom":"atom",iframe:{style:function(e){return{backgroundColor:"white",decorator:"main-dark"}}},"move-frame":{style:function(e){return{decorator:"main-dark"}}},"resize-frame":"move-frame","dragdrop-cursor":{style:function(e){var t="nodrop";e.copy?t="copy":e.move?t="move":e.alias&&(t="alias");return{source:qx.theme.simple.Image.URLS["cursor-"+t],position:"right-top",offset:[2,16,2,6]}}},slidebar:{},"slidebar/scrollpane":{},"slidebar/content":{},"slidebar/button-forward":{alias:"button",include:"button",style:function(e){return{icon:qx.theme.simple.Image.URLS["arrow-"+(e.vertical?"down":"right")]}}},"slidebar/button-backward":{alias:"button",include:"button",style:function(e){return{icon:qx.theme.simple.Image.URLS["arrow-"+(e.vertical?"up":"left")]}}},table:"widget","table/statusbar":{style:function(e){return{decorator:"statusbar",padding:[2,5]}}},"table/column-button":{alias:"button",style:function(e){return{decorator:"table-header-column-button",padding:3,icon:qx.theme.simple.Image.URLS["select-column-order"]}}},"table-column-reset-button":{include:"menu-button",alias:"menu-button",style:function(){return{icon:"icon/16/actions/view-refresh.png"}}},"table-scroller/scrollbar-x":"scrollbar","table-scroller/scrollbar-y":"scrollbar","table-scroller":"widget","table-scroller/header":{style:function(){return{decorator:"table-header"}}},"table-scroller/pane":{},"table-scroller/focus-indicator":{style:function(e){return{decorator:"main"}}},"table-scroller/resize-line":{style:function(e){return{backgroundColor:"button-border",width:3}}},"table-header-cell":{alias:"atom",style:function(e){return{decorator:e.first?"table-header-cell-first":"table-header-cell",minWidth:13,font:"bold",paddingTop:3,paddingLeft:5,cursor:e.disabled?void 0:"pointer",sortIcon:e.sorted?qx.theme.simple.Image.URLS["table-"+(e.sortedAscending?"ascending":"descending")]:void 0}}},"table-header-cell/icon":{include:"atom/icon",style:function(e){return{paddingRight:5}}},"table-header-cell/sort-icon":{style:function(e){return{alignY:"middle",alignX:"right",paddingRight:5}}},"table-editor-textfield":{include:"textfield",style:function(e){return{decorator:void 0,padding:[2,2]}}},"table-editor-selectbox":{include:"selectbox",alias:"selectbox",style:function(e){return{padding:[0,2]}}},"table-editor-combobox":{include:"combobox",alias:"combobox",style:function(e){return{decorator:void 0}}},"progressive-table-header":{style:function(e){return{decorator:"progressive-table-header"}}},"progressive-table-header-cell":{style:function(e){return{decorator:"progressive-table-header-cell",padding:[5,6,5,6]}}},treevirtual:{include:"textfield",alias:"table",style:function(e,t){return{padding:[t.padding[0]+2,t.padding[1]+1]}}},"treevirtual-folder":{style:function(e){return{icon:e.opened?"icon/16/places/folder-open.png":"icon/16/places/folder.png",opacity:e.drag?.5:void 0}}},"treevirtual-file":{include:"treevirtual-folder",alias:"treevirtual-folder",style:function(e){return{icon:"icon/16/mimetypes/text-plain.png",opacity:e.drag?.5:void 0}}},"treevirtual-line":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-line"]}}},"treevirtual-contract":{style:function(e){return{icon:qx.theme.simple.Image.URLS["tree-minus"]}}},"treevirtual-expand":{style:function(e){return{icon:qx.theme.simple.Image.URLS["tree-plus"]}}},"treevirtual-only-contract":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-minus-only"]}}},"treevirtual-only-expand":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-plus-only"]}}},"treevirtual-start-contract":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-minus-start"]}}},"treevirtual-start-expand":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-plus-start"]}}},"treevirtual-end-contract":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-minus-end"]}}},"treevirtual-end-expand":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-plus-end"]}}},"treevirtual-cross-contract":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-minus-cross"]}}},"treevirtual-cross-expand":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-plus-cross"]}}},"treevirtual-end":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-end"]}}},"treevirtual-cross":{style:function(e){return{icon:qx.theme.simple.Image.URLS["treevirtual-cross"]}}},"treevirtual-node-editor-textfield":{include:"textfield",style:function(e){return{decorator:void 0,padding:[2,2]}}},resizer:{style:function(e){return{decorator:"main-dark"}}},splitpane:{},"splitpane/splitter":{style:function(e){return{backgroundColor:"light-background"}}},"splitpane/splitter/knob":{style:function(e){return{source:qx.theme.simple.Image.URLS["knob-"+(e.horizontal?"horizontal":"vertical")],padding:2}}},"splitpane/slider":{style:function(e){return{backgroundColor:"border-light-shadow",opacity:.3}}},menu:{style:function(e){var t={backgroundColor:"background",decorator:"main",spacingX:6,spacingY:1,iconColumnWidth:16,arrowColumnWidth:4,padding:1,placementModeY:e.submenu||e.contextmenu?"best-fit":"keep-align"};if(e.submenu){t.position="right-top";t.offset=[-2,-3]}e.contextmenu&&(t.offset=4);return t}},"menu/slidebar":"menu-slidebar","menu-slidebar":"widget","menu-slidebar-button":{style:function(e){return{backgroundColor:e.hovered?"background-selected":void 0,padding:6,center:!0}}},"menu-slidebar/button-backward":{include:"menu-slidebar-button",style:function(e){return{icon:qx.theme.simple.Image.URLS["arrow-up"+(e.hovered?"-invert":"")]}}},"menu-slidebar/button-forward":{include:"menu-slidebar-button",style:function(e){return{icon:qx.theme.simple.Image.URLS["arrow-down"+(e.hovered?"-invert":"")]}}},"menu-separator":{style:function(e){return{height:0,decorator:"menu-separator",marginTop:4,marginBottom:4,marginLeft:2,marginRight:2}}},"menu-button":{alias:"atom",style:function(e){return{backgroundColor:e.selected?"background-selected":void 0,textColor:e.selected?"text-selected":void 0,padding:[2,6]}}},"menu-button/icon":{include:"image",style:function(e){return{alignY:"middle"}}},"menu-button/label":{include:"label",style:function(e){return{alignY:"middle",padding:1}}},"menu-button/shortcut":{include:"label",style:function(e){return{alignY:"middle",marginLeft:14,padding:1}}},"menu-button/arrow":{include:"image",style:function(e){return{source:qx.theme.simple.Image.URLS["arrow-right"+(e.selected?"-invert":"")],alignY:"middle"}}},"menu-checkbox":{alias:"menu-button",include:"menu-button",style:function(e){return{icon:e.checked?qx.theme.simple.Image.URLS["menu-checkbox"+(e.selected?"-invert":"")]:void 0}}},"menu-radiobutton":{alias:"menu-button",include:"menu-button",style:function(e){return{icon:e.checked?qx.theme.simple.Image.URLS["menu-radiobutton"+(e.selected?"-invert":"")]:void 0}}},menubar:{style:function(e){return{backgroundColor:"light-background",padding:[4,2]}}},"menubar-button":{style:function(e){var t,n=[2,6];if(!e.disabled)if(e.pressed){t="menubar-button-pressed";n=[1,5,2,5]}else if(e.hovered){t="menubar-button-hovered";n=[1,5]}return{padding:n,cursor:e.disabled?void 0:"pointer",textColor:"link",decorator:t}}},"virtual-list":"list","virtual-list/row-layer":"row-layer","row-layer":"widget","column-layer":"widget","virtual-background-span":{alias:"widget",style:function(e){var t={decorator:"virtual-background-span"};if(e.header){t.decorator="virtual-background-header";t.backgroundColor="table-header-cell"}else e.selected?t.backgroundColor="table-row-background-selected":e.odd?t.backgroundColor="table-row-background-odd":t.backgroundColor="table-row-background-even";return t}},"virtual-list-header-cell":{alias:"atom",style:function(e){return{font:"bold",paddingTop:3,paddingLeft:5}}},"group-item":{include:"label",alias:"label",style:function(e){return{padding:4,backgroundColor:"#BABABA",textColor:"white",font:"bold"}}},"virtual-selectbox":"selectbox","virtual-selectbox/dropdown":"popup","virtual-selectbox/dropdown/list":{alias:"virtual-list"},"virtual-combobox":"combobox","virtual-combobox/dropdown":"popup","virtual-combobox/dropdown/list":{alias:"virtual-list"},"virtual-tree":{include:"tree",alias:"tree",style:function(e){return{itemHeight:21}}},"virtual-tree-folder":"tree-folder","virtual-tree-file":"tree-file",cell:{style:function(e){return{backgroundColor:e.selected?"table-row-background-selected":"table-row-background-even",textColor:e.selected?"text-selected":"text",padding:[3,6]}}},"cell-string":"cell","cell-number":{include:"cell",style:function(e){return{textAlign:"right"}}},"cell-image":"cell","cell-boolean":"cell","cell-atom":"cell","cell-date":"cell","cell-html":"cell",scrollbar:{},"scrollbar/slider":{},"scrollbar/slider/knob":{style:function(e){var t="scroll-knob";e.disabled||(!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="scroll-knob-pressed-hovered":(e.pressed||e.checked)&&(t="scroll-knob-pressed"):t="scroll-knob-hovered");return{height:14,width:14,cursor:e.disabled?void 0:"pointer",decorator:t,minHeight:e.horizontal?void 0:20,minWidth:e.horizontal?20:void 0}}},"scrollbar/button":{style:function(e){var t={padding:4},n="";if(e.left){n="left";t.marginRight=2}else if(e.right){n+="right";t.marginLeft=2}else if(e.up){n+="up";t.marginBottom=2}else{n+="down";t.marginTop=2}t.icon=qx.theme.simple.Image.URLS["arrow-"+n];t.cursor="pointer";t.decorator="button-box";return t}},"scrollbar/button-begin":"scrollbar/button","scrollbar/button-end":"scrollbar/button","scrollarea/corner":{style:function(e){return{backgroundColor:"background"}}},scrollarea:"widget","scrollarea/pane":"widget","scrollarea/scrollbar-x":"scrollbar","scrollarea/scrollbar-y":"scrollbar",textfield:{style:function(e){var t,n,r;t=e.disabled?"text-disabled":e.showingPlaceholder?"text-placeholder":void 0;if(e.disabled){n="inset";r=[2,3]}else if(e.invalid){n="border-invalid";r=[1,2]}else if(e.focused){n="focused-inset";r=[1,2]}else{r=[2,3];n="inset"}return{decorator:n,padding:r,textColor:t,backgroundColor:e.disabled?"background-disabled":"white"}}},textarea:"textfield","radiobutton/icon":{style:function(e){var t,n="radiobutton";e.focused&&!e.invalid&&(n="radiobutton-focused");n+=e.invalid&&!e.disabled?"-invalid":"";e.disabled&&e.checked?t="background-disabled-checked":e.disabled?t="background-disabled":e.checked&&(t="background-selected");return{decorator:n,width:12,height:12,backgroundColor:t}}},radiobutton:{style:function(e){return{icon:qx.theme.simple.Image.URLS.blank}}},"form-renderer-label":{include:"label",style:function(){return{paddingTop:3}}},checkbox:{alias:"atom",style:function(e){return{icon:e.checked?qx.theme.simple.Image.URLS["checkbox-checked"]:e.undetermined?qx.theme.simple.Image.URLS["checkbox-undetermined"]:qx.theme.simple.Image.URLS.blank,gap:6}}},"checkbox/icon":{style:function(e){var t,n="checkbox";e.focused&&!e.invalid&&(n="checkbox-focused");n+=e.invalid&&!e.disabled?"-invalid":"";e.checked?t=2:e.undetermined&&(t=[4,2]);return{decorator:n,width:12,height:12,padding:t,backgroundColor:"white"}}},spinner:{style:function(e){var t;e.invalid&&!e.disabled&&(t="border-invalid");return{decorator:t,textColor:e.disabled?"text-disabled":void 0}}},"spinner/textfield":"textfield","spinner/upbutton":{alias:"combobox/button",include:"combobox/button",style:function(e){var t="button-box-top-right";!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered-top-right":(e.pressed||e.checked)&&(t="button-box-pressed-top-right"):t="button-box-hovered-top-right";return{icon:qx.theme.simple.Image.URLS["arrow-up-small"],decorator:t,width:17}}},"spinner/downbutton":{alias:"combobox/button",include:"combobox/button",style:function(e){var t="button-box-bottom-right";!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered-bottom-right":(e.pressed||e.checked)&&(t="button-box-pressed-bottom-right"):t="button-box-hovered-bottom-right";return{icon:qx.theme.simple.Image.URLS["arrow-down-small"],decorator:t,width:17}}},selectbox:"button-frame","selectbox/atom":"atom","selectbox/popup":"popup","selectbox/list":{alias:"list",include:"list",style:function(){return{decorator:void 0}}},"selectbox/arrow":{include:"image",style:function(e){return{source:qx.theme.simple.Image.URLS["arrow-down"],paddingRight:4,paddingLeft:5}}},combobox:{style:function(e){var t;e.invalid&&!e.disabled&&(t="border-invalid");return{decorator:t}}},"combobox/button":{alias:"button-frame",include:"button-frame",style:function(e){var t="button-box-right-borderless";!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered-right-borderless":(e.pressed||e.checked)&&(t="button-box-pressed-right-borderless"):t="button-box-hovered-right-borderless";return{icon:qx.theme.simple.Image.URLS["arrow-down"],decorator:t,padding:[0,5],width:19}}},"combobox/popup":"popup","combobox/list":{alias:"list"},"combobox/textfield":"textfield",datefield:"textfield","datefield/button":{alias:"combobox/button",include:"combobox/button",style:function(e){return{icon:"icon/16/apps/office-calendar.png",padding:[0,0,0,3],backgroundColor:void 0,decorator:void 0,width:19}}},"datefield/textfield":{alias:"textfield",include:"textfield",style:function(e){return{decorator:void 0,padding:0}}},"datefield/list":{alias:"datechooser",include:"datechooser",style:function(e){return{decorator:void 0}}},list:{alias:"scrollarea",include:"textfield"},listitem:{alias:"atom",style:function(e){var t,n=[3,5,3,5];e.lead&&(n=[2,4,2,4]);e.dragover&&(n[2]-=2);if(e.selected){t="background-selected";e.disabled&&(t+="-disabled")}return{gap:4,padding:n,backgroundColor:t,textColor:e.selected?"text-selected":void 0,decorator:e.lead?"lead-item":e.dragover?"dragover":void 0,opacity:e.drag?.5:void 0}}},slider:{style:function(e){var t,n;if(e.disabled){t="inset";n=[2,3]}else if(e.invalid){t="border-invalid";n=[1,2]}else if(e.focused){t="focused-inset";n=[1,2]}else{n=[2,3];t="inset"}return{decorator:t,padding:n}}},"slider/knob":"scrollbar/slider/knob","button-frame":{alias:"atom",style:function(e){var t="button-box";e.disabled||(!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered":(e.pressed||e.checked)&&(t="button-box-pressed"):t="button-box-hovered");e.invalid&&!e.disabled?t+="-invalid":e.focused&&(t+="-focused");return{decorator:t,padding:[3,8],cursor:e.disabled?void 0:"pointer",minWidth:5,minHeight:5}}},"button-frame/label":{alias:"atom/label",style:function(e){return{textColor:e.disabled?"text-disabled":void 0}}},button:{alias:"button-frame",include:"button-frame",style:function(e){return{center:!0}}},"toggle-button":"button","hover-button":{alias:"button",include:"button",style:function(e){return{decorator:e.hovered?"button-hover":void 0}}},menubutton:{include:"button",alias:"button",style:function(e){return{icon:qx.theme.simple.Image.URLS["arrow-down"],iconPosition:"right"}}},splitbutton:{},"splitbutton/button":{alias:"atom",style:function(e){var t="button-box";if(!e.disabled){(e.pressed||e.checked)&&(t+="-pressed");e.hovered&&(t+="-hovered")}e.focused&&(t+="-focused");return{decorator:t+="-left",padding:[3,8],cursor:e.disabled?void 0:"pointer"}}},"splitbutton/arrow":{style:function(e){var t="button-box";if(!e.disabled){(e.pressed||e.checked)&&(t+="-pressed");e.hovered&&(t+="-hovered")}e.focused&&(t+="-focused");t+="-right";return{icon:qx.theme.simple.Image.URLS["arrow-down"],decorator:t,cursor:e.disabled?void 0:"pointer",padding:[3,4]}}},groupbox:{},"groupbox/legend":{alias:"atom",style:function(e){return{textColor:e.invalid?"invalid":void 0,padding:5,margin:4,font:"bold"}}},"groupbox/frame":{style:function(e){return{backgroundColor:"background",padding:[6,9],margin:[18,2,2,2],decorator:"white-box"}}},"check-groupbox":"groupbox","check-groupbox/legend":{alias:"checkbox",include:"checkbox",style:function(e){return{textColor:e.invalid?"invalid":void 0,padding:5,margin:4,font:"bold"}}},"radio-groupbox":"groupbox","radio-groupbox/legend":{alias:"radiobutton",include:"radiobutton",style:function(e){return{textColor:e.invalid?"invalid":void 0,padding:5,margin:4,font:"bold"}}},"tree-folder/open":{include:"image",style:function(e){return{source:e.opened?qx.theme.simple.Image.URLS["tree-minus"]:qx.theme.simple.Image.URLS["tree-plus"]}}},"tree-folder":{style:function(e){var t;if(e.selected){t="background-selected";e.disabled&&(t+="-disabled")}return{padding:[2,8,2,5],icon:e.opened?"icon/16/places/folder-open.png":"icon/16/places/folder.png",backgroundColor:t,iconOpened:"icon/16/places/folder-open.png",opacity:e.drag?.5:void 0}}},"tree-folder/icon":{include:"image",style:function(e){return{padding:[0,4,0,0]}}},"tree-folder/label":{style:function(e){return{padding:[1,2],textColor:e.selected&&!e.disabled?"text-selected":void 0}}},"tree-file":{include:"tree-folder",alias:"tree-folder",style:function(e){return{icon:"icon/16/mimetypes/text-plain.png",opacity:e.drag?.5:void 0}}},tree:{include:"list",alias:"list",style:function(e){return{contentPadding:e.invalid&&!e.disabled?[3,0]:[4,1],padding:e.focused?0:1}}},window:{style:function(e){return{contentPadding:[10,10,10,10],backgroundColor:"background",decorator:e.maximized?void 0:e.active?"window-active":"window"}}},"window-resize-frame":"resize-frame","window/pane":{},"window/captionbar":{style:function(e){return{backgroundColor:e.active?"light-background":"background-disabled",padding:8,font:"bold",decorator:"window-caption"}}},"window/icon":{style:function(e){return{marginRight:4}}},"window/title":{style:function(e){return{cursor:"default",font:"bold",marginRight:20,alignY:"middle"}}},"window/minimize-button":{alias:"button",style:function(e){return{icon:qx.theme.simple.Image.URLS["window-minimize"],padding:[1,2],cursor:e.disabled?void 0:"pointer"}}},"window/restore-button":{alias:"button",style:function(e){return{icon:qx.theme.simple.Image.URLS["window-restore"],padding:[1,2],cursor:e.disabled?void 0:"pointer"}}},"window/maximize-button":{alias:"button",style:function(e){return{icon:qx.theme.simple.Image.URLS["window-maximize"],padding:[1,2],cursor:e.disabled?void 0:"pointer"}}},"window/close-button":{alias:"button",style:function(e){return{marginLeft:2,icon:qx.theme.simple.Image.URLS["window-close"],padding:[1,2],cursor:e.disabled?void 0:"pointer"}}},"window/statusbar":{style:function(e){return{decorator:"statusbar",padding:[2,6]}}},"window/statusbar-text":"label",datechooser:{style:function(e){return{decorator:"main",minWidth:220}}},"datechooser/navigation-bar":{style:function(e){return{backgroundColor:"background",textColor:e.disabled?"text-disabled":e.invalid?"invalid":void 0,padding:[2,10]}}},"datechooser/last-year-button-tooltip":"tooltip","datechooser/last-month-button-tooltip":"tooltip","datechooser/next-year-button-tooltip":"tooltip","datechooser/next-month-button-tooltip":"tooltip","datechooser/last-year-button":"datechooser/button","datechooser/last-month-button":"datechooser/button","datechooser/next-year-button":"datechooser/button","datechooser/next-month-button":"datechooser/button","datechooser/button/icon":{},"datechooser/button":{style:function(e){var t={width:17,show:"icon",cursor:e.disabled?void 0:"pointer"};e.lastYear?t.icon=qx.theme.simple.Image.URLS["arrow-rewind"]:e.lastMonth?t.icon=qx.theme.simple.Image.URLS["arrow-left"]:e.nextYear?t.icon=qx.theme.simple.Image.URLS["arrow-forward"]:e.nextMonth&&(t.icon=qx.theme.simple.Image.URLS["arrow-right"]);return t}},"datechooser/month-year-label":{style:function(e){return{font:"bold",textAlign:"center"}}},"datechooser/date-pane":{style:function(e){return{decorator:"datechooser-date-pane",backgroundColor:"background"}}},"datechooser/weekday":{style:function(e){return{decorator:"datechooser-weekday",font:"bold",textAlign:"center",textColor:e.disabled?"text-disabled":e.weekend?"background-selected-dark":"background",backgroundColor:e.weekend?"background":"background-selected-dark",paddingTop:2}}},"datechooser/day":{style:function(e){return{textAlign:"center",decorator:e.today?"main":void 0,textColor:e.disabled?"text-disabled":e.selected?"text-selected":e.otherMonth?"text-disabled":void 0,backgroundColor:e.disabled?void 0:e.selected?"background-selected":void 0,padding:e.today?[1,3]:[2,4]}}},"datechooser/week":{style:function(e){return{textAlign:"center",textColor:"background-selected-dark",padding:[2,4],decorator:e.header?"datechooser-week-header":"datechooser-week"}}},progressbar:{style:function(e){return{decorator:"progressbar",padding:1,backgroundColor:"white",width:200,height:20}}},"progressbar/progress":{style:function(e){return{backgroundColor:e.disabled?"background-disabled-checked":"background-selected"}}},toolbar:{style:function(e){return{backgroundColor:"light-background",padding:0}}},"toolbar/part":{style:function(e){return{margin:[0,15]}}},"toolbar/part/container":{},"toolbar/part/handle":{},"toolbar-separator":{style:function(e){return{decorator:"toolbar-separator",margin:[7,0],width:4}}},"toolbar-button":{alias:"atom",style:function(e){var t="button-box";e.disabled?t="button-box":!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered":(e.pressed||e.checked)&&(t="button-box-pressed"):t="button-box-hovered";e.left?t+="-left":e.right?t+="-right":e.middle&&(t+="-middle");var n=[7,10];(e.left||e.middle||e.right)&&(n=[7,0]);return{cursor:e.disabled?void 0:"pointer",decorator:t,margin:n,padding:[3,5]}}},"toolbar-menubutton":{alias:"toolbar-button",include:"toolbar-button",style:function(e){return{showArrow:!0}}},"toolbar-menubutton/arrow":{alias:"image",include:"image",style:function(e){return{source:qx.theme.simple.Image.URLS["arrow-down"],cursor:e.disabled?void 0:"pointer",padding:[0,5],marginLeft:2}}},"toolbar-splitbutton":{},"toolbar-splitbutton/button":{alias:"toolbar-button",include:"toolbar-button",style:function(e){var t="button-box";e.disabled?t="button-box":!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered":(e.pressed||e.checked)&&(t="button-box-pressed"):t="button-box-hovered";var n=[7,0,7,10];(e.left||e.middle||e.right)&&(n=[7,0,7,0]);e.left?t+="-left":e.right||e.middle?t+="-middle":t+="-left";return{icon:qx.theme.simple.Image.URLS["arrow-down"],decorator:t,margin:n}}},"toolbar-splitbutton/arrow":{alias:"toolbar-button",include:"toolbar-button",style:function(e){var t="button-box";e.disabled?t="button-box":!e.hovered||e.pressed||e.checked?e.hovered&&(e.pressed||e.checked)?t="button-box-pressed-hovered":(e.pressed||e.checked)&&(t="button-box-pressed"):t="button-box-hovered";var n=[7,10,7,0];(e.left||e.middle||e.right)&&(n=[7,0,7,0]);e.left?t+="-middle":e.right?t+="-right":e.middle?t+="-middle":t+="-right";return{icon:qx.theme.simple.Image.URLS["arrow-down"],decorator:t,margin:n}}},tabview:{},"tabview/bar":{alias:"slidebar",style:function(e){var t=0,n=0,r=0,i=0;e.barTop?r-=1:e.barBottom?t-=1:e.barRight?i-=1:n-=1;return{marginBottom:r,marginTop:t,marginLeft:i,marginRight:n}}},"tabview/bar/button-forward":{include:"slidebar/button-forward",alias:"slidebar/button-forward",style:function(e){return e.barTop?{marginTop:4,marginBottom:2,decorator:null}:e.barBottom?{marginTop:2,marginBottom:4,decorator:null}:e.barLeft?{marginLeft:4,marginRight:2,decorator:null}:{marginLeft:2,marginRight:4,decorator:null}}},"tabview/bar/button-backward":{include:"slidebar/button-backward",alias:"slidebar/button-backward",style:function(e){return e.barTop?{marginTop:4,marginBottom:2,decorator:null}:e.barBottom?{marginTop:2,marginBottom:4,decorator:null}:e.barLeft?{marginLeft:4,marginRight:2,decorator:null}:{marginLeft:2,marginRight:4,decorator:null}}},"tabview/pane":{style:function(e){return{backgroundColor:"background",decorator:"main",padding:10}}},"tabview-page":"widget","tabview-page/button":{style:function(e){var t;if(e.barTop||e.barBottom)var n=[8,16,8,13];else n=[8,4,8,4];if(e.checked)e.barTop?t="tabview-page-button-top":e.barBottom?t="tabview-page-button-bottom":e.barRight?t="tabview-page-button-right":e.barLeft&&(t="tabview-page-button-left");else{for(var r=0;r