function raphaelpaint(){var gb='',hb='" for "gwt:onLoadErrorFn"',ib='" for "gwt:onPropertyErrorFn"',jb='"><\/script>',kb='#',lb='/',mb='27C662E7CAAF119CBE4A7A9F76F1CDA4',nb=':',ob='<script id="',pb='=',qb='?',rb='Bad handler "',sb='DOMContentLoaded',tb='SCRIPT',ub='Single-script hosted mode not yet implemented. See issue ',vb='__gwt_marker_raphaelpaint',wb='base',xb='clear.cache.gif',yb='content',zb='gwt.codesvr=',Ab='gwt.hosted=',Bb='gwt.hybrid',Cb='gwt:onLoadErrorFn',Db='gwt:onPropertyErrorFn',Eb='gwt:property',Fb='http://code.google.com/p/google-web-toolkit/issues/detail?id=2079',Gb='img',Hb='meta',Ib='name',Jb='raphaelpaint';var k=gb,l=hb,m=ib,n=jb,o=kb,p=lb,q=mb,r=nb,s=ob,t=pb,u=qb,v=rb,w=sb,x=tb,y=ub,z=vb,A=wb,B=xb,C=yb,D=zb,E=Ab,F=Bb,G=Cb,H=Db,I=Eb,J=Fb,K=Gb,L=Hb,M=Ib,N=Jb;var O=window,P=document,Q,R,S=k,T={},U=[],V=[],W=[],X=0,Y,Z;if(!O.__gwt_stylesLoaded){O.__gwt_stylesLoaded={}}if(!O.__gwt_scriptsLoaded){O.__gwt_scriptsLoaded={}}function $(){var b=false;try{var c=O.location.search;return (c.indexOf(D)!=-1||(c.indexOf(E)!=-1||O.external&&O.external.gwtOnLoad))&&c.indexOf(F)==-1}catch(a){}$=function(){return b};return b}
function _(){if(Q&&R){Q(Y,N,S,X)}}
function ab(){var e,f=z,g;P.write(s+f+n);g=P.getElementById(f);e=g&&g.previousSibling;while(e&&e.tagName!=x){e=e.previousSibling}function h(a){var b=a.lastIndexOf(o);if(b==-1){b=a.length}var c=a.indexOf(u);if(c==-1){c=a.length}var d=a.lastIndexOf(p,Math.min(c,b));return d>=0?a.substring(0,d+1):k}
;if(e&&e.src){S=h(e.src)}if(S==k){var i=P.getElementsByTagName(A);if(i.length>0){S=i[i.length-1].href}else{S=h(P.location.href)}}else if(S.match(/^\w+:\/\//)){}else{var j=P.createElement(K);j.src=S+B;S=h(j.src)}if(g){g.parentNode.removeChild(g)}}
function bb(){var b=document.getElementsByTagName(L);for(var c=0,d=b.length;c<d;++c){var e=b[c],f=e.getAttribute(M),g;if(f){if(f==I){g=e.getAttribute(C);if(g){var h,i=g.indexOf(t);if(i>=0){f=g.substring(0,i);h=g.substring(i+1)}else{f=g;h=k}T[f]=h}}else if(f==H){g=e.getAttribute(C);if(g){try{Z=eval(g)}catch(a){alert(v+g+m)}}}else if(f==G){g=e.getAttribute(C);if(g){try{Y=eval(g)}catch(a){alert(v+g+l)}}}}}}
raphaelpaint.onScriptLoad=function(a){raphaelpaint=null;Q=a;_()};if($()){alert(y+J);return}ab();bb();try{var cb;cb=q;var db=cb.indexOf(r);if(db!=-1){X=Number(cb.substring(db+1))}}catch(a){return}var eb;function fb(){if(!R){R=true;_();if(P.removeEventListener){P.removeEventListener(w,fb,false)}if(eb){clearInterval(eb)}}}
if(P.addEventListener){P.addEventListener(w,function(){fb()},false)}var eb=setInterval(function(){if(/loaded|complete/.test(P.readyState)){fb()}},50)}
raphaelpaint();(function () {var $gwt_version = "2.5.1";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $stats = $wnd.__gwtStatsEvent ? function(a) {$wnd.__gwtStatsEvent(a)} : null;var $strongName = '27C662E7CAAF119CBE4A7A9F76F1CDA4';function M(){}
function U(){}
function df(){}
function qb(){}
function Ac(){}
function fe(){}
function Sc(a,b){}
function ob(){db()}
function s(){gb(db())}
function Ce(a){this.d=a}
function Pd(a,b){Ne(a.d,b)}
function be(a,b){Kd(a.c,b)}
function He(b,a){b.color(a)}
function Ic(){s.call(this)}
function Oc(){s.call(this)}
function Qc(){s.call(this)}
function he(){Id.call(this)}
function Id(){this.g=Jd(this)}
function J(){J=df;I=new M}
function md(){jd();return fd}
function Dd(){Ad();return qd}
function Je(b,a){return b.add(a)}
function Ne(b,a){return b.val(a)}
function Ye(b,a){return b.path(a)}
function Me(b,a){return b.text(a)}
function Pe(a){return $wnd.$(a)}
function Qe(a){return $wnd.$(a)}
function wc(a){return pb($doc,a)}
function uc(a){return new sc[a]}
function v(b,a){b[b.length]=a}
function _d(a,b){b.remove();$d(a)}
function _e(c,a,b){c.animate(a,b)}
function Ae(a,b,c){b[Cf]=c;ze(a,b)}
function Le(c,a,b){return c.on(a,b)}
function Re(c,a,b){c[a]=b;return c}
function Se(c,a,b){c[a]=b;return c}
function Te(c,a,b){c[a]=b;return c}
function Ue(c,a,b){c[a]=b;return c}
function xe(a,b){this.b=a;this.c=b}
function Kc(a,b){this.b=a;this.c=b}
function kd(a,b){Kc.call(this,a,b)}
function Bd(a,b){Kc.call(this,a,b)}
function Yd(a,b){!!a.k&&Ae(a.o,a.k,b)}
function Ke(c,a,b){return c.css(a,b)}
function af(c,a,b){return c.attr(a,b)}
function Vc(b,a){return b.indexOf(a)}
function _c(a){return sb(mc,gf,1,a,0)}
function Q(a){return parseInt(a)||-1}
function F(a){$wnd.clearTimeout(a)}
function ke(a){this.b=a;Id.call(this)}
function ne(a){this.b=a;Id.call(this)}
function qe(a){this.b=a;Id.call(this)}
function Xd(a){a.d.b=null;a.c.c.hide()}
function ae(a,b){a.d.c=b;Ke(a.e,wf,a.d.c)}
function de(a,b){a.d.e=b;Ke(a.f,wf,a.d.e)}
function zb(a,b){return a.cM&&!!a.cM[b]}
function Cb(a,b){return a!=null&&zb(a,b)}
function Wc(b,a){return b.lastIndexOf(a)}
function pb(b,a){return b.getElementById(a)}
function Jd(b){return function(a){b.t(a)}}
function ld(a){jd();return Mc((od(),nd),a)}
function Cd(a){Ad();return Mc((Fd(),Ed),a)}
function od(){od=df;nd=Lc((jd(),fd))}
function Fd(){Fd=df;Ed=Lc((Ad(),qd))}
function gb(){var a;a=eb(new ob);ib(a)}
function N(a,b){!a&&(a=[]);v(a,b);return a}
function Ec(a){var b=sc[a.c];a=null;return b}
function T(){try{null.a()}catch(a){return a}}
function Zc(b,a){return b.substr(a,b.length-a)}
function Xc(c,a,b){return c.lastIndexOf(a,b)}
function Ve(d,a,b,c){return d.circle(a,b,c)}
function Ze(e,a,b,c,d){return e.rect(a,b,c,d)}
function We(e,a,b,c,d){return e.ellipse(a,b,c,d)}
function $e(a,b,c){return $wnd.Raphael(a,b,c)}
function A(a,b,c){return a.apply(b,c);var d}
function Xe(c,a,b){return c.getElementByPoint(a,b)}
function Db(a){return a!=null&&a.tM!=df&&!zb(a,1)}
function Fc(a){return typeof a=='number'&&a>0}
function $d(a){if(a.g){a.g.remove();a.g=null}}
function qc(a){if(Cb(a,3)){return a}return new t(a)}
function t(a){s.call(this);this.b=a;fb(new ob,this)}
function te(a,b){this.b=a;this.c=b;Id.call(this)}
function cd(){this.f=(Ad(),rd);this.d=(jd(),gd)}
function wb(){wb=df;ub=[];vb=[];xb(new qb,ub,vb)}
function db(){db=df;Error.stackTraceLimit=128}
function Ge(c,b){c.onchange=function(a){b.u(a)}}
function R(a,b){a.length>=b&&a.splice(0,b);return a}
function Cc(a,b,c){var d;d=new Ac;Fc(c)&&Gc(c,d);return d}
function Dc(a,b,c,d){var e;e=new Ac;Fc(c)&&Gc(c,e);e.b=d;return e}
function sb(a,b,c,d,e){var f;f=rb(e,d);tb(a,b,c,f);return f}
function tb(a,b,c,d){wb();yb(d,ub,vb);d.cZ=a;d.cM=b;return d}
function fb(a,b){var c;c=hb(a,Db(b.b)?Bb(b.b):null);ib(c)}
function D(a,b,c){var d;d=B();try{return A(a,b,c)}finally{E(d)}}
function Zd(a,b,c){var d;d=we(a.n,a.d.f,a.d.c,a.d.e,b,c);!!d&&ce(a,d)}
function ee(a){Uc(zf,a.d.b)?be(a,a.d.c):Uc(Bf,a.d.b)&&be(a,a.d.e)}
function Ie(a,b,c,d,e){return $wnd.Raphael.colorpicker(a,b,c,d,e)}
function Uc(a,b){if(b==null){return false}return String(a)==b}
function Ab(a,b){if(a!=null&&!(a.cM&&a.cM[b])){throw new Ic}return a}
function Bb(a){if(a!=null&&(a.tM==df||zb(a,1))){throw new Ic}return a}
function Oe(b){var a=parseInt(b.val(),10);return $wnd.isNaN(a)?0:a}
function hb(a,b){var c;c=$(a,b);return c.length==0?(new U).r(b):R(c,1)}
function eb(a){var b;b=R(hb(a,T()),3);b.length==0&&(b=R((new U).p(),1));return b}
function Bc(a,b,c){var d;d=new Ac;Fc(c!=0?-c:0)&&Gc(c!=0?-c:0,d);return d}
function xb(a,b,c){var d=0,e;for(var f in a){if(e=a[f]){b[d]=f;c[d]=e;++d}}}
function yb(a,b,c){wb();for(var d=0,e=b.length;d<e;++d){a[b[d]]=c[d]}}
function Lc(a){var b,c,d,e;b={};for(d=0,e=a.length;d<e;++d){c=a[d];b[of+c.b]=c}return b}
function r(a){var b,c,d;c=sb(lc,gf,0,a.length,0);for(d=0,b=a.length;d<b;++d){if(!a[d]){throw new Qc}c[d]=a[d]}}
function $(a,b){var c,d,e;e=b&&b.stack?b.stack.split('\n'):[];for(c=0,d=e.length;c<d;++c){e[c]=a.q(e[c])}return e}
function dd(a){var b,c,d,e,f,g;c=[];for(e=Ab(a.b&&a.b(),2),f=0,g=e.length;f<g;++f){d=e[f];b=wc(d.b);!!b&&v(c,b)}return c}
function K(a){var b,c;if(a.b){c=null;do{b=a.b;a.b=null;c=O(b,c)}while(a.b);a.b=c}}
function L(a){var b,c;if(a.c){c=null;do{b=a.c;a.c=null;c=O(b,c)}while(a.c);a.c=c}}
function E(a){a&&L((J(),I));--x;if(a){if(z!=-1){F(z);z=-1}}}
function G(){return $wnd.setTimeout(function(){x!=0&&(x=0);z=-1},10)}
function C(b){return function(){try{return D(b,this,arguments)}catch(a){throw a}}}
function Mc(a,b){var c;c=a[of+b];if(c){return c}if(b==null){throw new Qc}throw new Oc}
function Td(a){var b;$d(a);b=a.k.getBBox(false);a.g=Ze(a.i,b.x,b.y,b.width,b.height).attr(yf,'#9a9a9a')}
function gwtOnLoad(b,c,d,e){$moduleName=c;$moduleBase=d;if(b)try{kf(pc)()}catch(a){b(c)}else{kf(pc)()}}
function jd(){jd=df;gd=new kd('move',0);id=new kd('scale',1);hd=new kd('rotate',2);fd=tb(nc,jf,0,[gd,id,hd])}
function Qd(a){Id.call(this);this.c=a;this.b=$wnd.$('#rotate-div').hide();this.d=$wnd.$('#rot-slider');Le(this.d,'change',this.g)}
function B(){var a;if(x!=0){a=(new Date).getTime();if(a-y>2000){y=a;z=G()}}if(x++==0){K((J(),I));return true}return false}
function bf(g,f){g.drag(function(a,b,c,d,e){f.z(this,c,d,a,b,e)},function(a,b,c){f.A(this,a,b,c)},function(a){f.w(this,a)})}
function ce(a,b){a.k=b;Td(a);Pd(a.j,b[Cf]||0);ae(a,b.attr(Af));de(a,b.attr(yf));Uc(zf,a.d.b)?be(a,a.d.c):Uc(Bf,a.d.b)&&be(a,a.d.e)}
function Ud(a,b){if(Uc(zf,a.d.b)){a.d.c=b;Ke(a.e,wf,a.d.c);!!a.k&&af(a.k,Af,b)}else if(Uc(Bf,a.d.b)){a.d.e=b;Ke(a.f,wf,a.d.e);!!a.k&&af(a.k,yf,b)}}
function ze(a,b){var c,d;c=b;d='t'+(c[Ff]||0)+Jf+(c[Gf]||0)+'r'+(c[Cf]||0)+'s'+(c[Hf]||0)+Jf+(c[If]||0);b.transform(d);Td(a.d)}
function Kd(a,b){var c,d;c=$wnd.Raphael.color(b);d=c.hex;Ke(Ke(Me(a.d,d),wf,d),'color',c.v<0.5?'#fff':'#000');He(a.e,d);Ud(a.f,d)}
function $c(c){if(c.length==0||c[0]>vf&&c[c.length-1]>vf){return c}var a=c.replace(/^(\s*)/,lf);var b=a.replace(/\s*$/,lf);return b}
function cf(){if(typeof $wnd.tizen!=='undefined'&&$wnd.tizen.application){return $wnd.tizen.application.getCurrentApplication()}return null}
function O(b,c){var d,e,f;for(d=0,e=b.length;d<e;++d){f=b[d];try{f[1]?f[0].B()&&(c=N(c,f)):f[0].B()}catch(a){a=qc(a);if(!Cb(a,3))throw a}}return c}
function Vd(){var a;a=cf();if(!a){$wnd.alert('Not supported')}else{if($wnd.confirm('Exit?')){a.exit();$wnd.tlib.logger.info('Application closed')}}}
function Gc(a,b){var c;b.c=a;if(a==2){c=String.prototype}else{if(a>0){var d=Ec(b);if(d){c=d.prototype}else{d=sc[a]=function(){};d.cZ=b;return}}else{return}}c.cZ=b}
function rb(a,b){var c=new Array(b);if(a==3){for(var d=0;d<b;++d){var e=new Object;e.l=e.m=e.h=0;c[d]=e}}else if(a>0){var e=[null,0,false][a];for(var d=0;d<b;++d){c[d]=e}}return c}
function vc(a){return $stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date).getTime(),type:'onModuleLoadStart',className:a})}
function P(a){var b,c,d;d=lf;a=$c(a);b=a.indexOf(mf);c=a.indexOf('function')==0?8:0;if(b==-1){b=Vc(a,ad(64));c=a.indexOf('function ')==0?9:0}b!=-1&&(d=$c(a.substr(c,b-c)));return d.length>0?d:nf}
function ad(a){var b,c;if(a>=65536){b=55296+(~~(a-65536)>>10&1023)&65535;c=56320+(a-65536&1023)&65535;return String.fromCharCode(b)+String.fromCharCode(c)}else{return String.fromCharCode(a&65535)}}
function tc(a,b,c){var d=sc[a];if(d&&!d.cZ){_=d.prototype}else{!d&&(d=sc[a]=function(){});_=d.prototype=b<0?{}:uc(b);_.cM=c}for(var e=3;e<arguments.length;++e){arguments[e].prototype=_}if(d.cZ){_.cZ=d.cZ;d.cZ=null}}
function Ld(a){Id.call(this);this.f=a;this.c=$wnd.$('#color-picker');this.e=Ie(360,160,300,'#eee',this.c[0]);this.c.hide();Ge(this.e,this);this.d=Le($wnd.$('#output'),'keyup',this.g);this.b=Le($wnd.$('#cp-close'),xf,this.g)}
function Be(a,b,c,d){var e,f,g,h;e=b;h=Cd(Ab(e[Ef]||null,1));switch(h.c){case 6:case 4:f=g=c>d?a.e+10*c/660:a.f+10*d/1050;break;case 7:case 3:case 8:case 5:f=a.e+10*c/660;g=a.f+10*d/1050;break;case 0:case 2:case 1:default:return;}e[Hf]=f;e[If]=g}
function Ad(){Ad=df;rd=new Bd('arrow',0);vd=new Bd('eraser',1);td=new Bd('clear',2);wd=new Bd('rectangle',3);xd=new Bd('square',4);zd=new Bd('triangle',5);sd=new Bd('circle',6);ud=new Bd('ellipse',7);yd=new Bd('star',8);qd=tb(oc,jf,0,[rd,vd,td,wd,xd,zd,sd,ud,yd])}
function ib(a){var b,c,d,e,f,g,h,i,j;j=sb(lc,gf,0,a.length,0);for(e=0,f=j.length;e<f;++e){i=Yc(a[e],pf,0);b=-1;d='Unknown';if(i.length==2&&i[1]!=null){h=i[1];g=Wc(h,ad(58));c=Xc(h,ad(58),g-1);d=h.substr(0,c-0);if(g!=-1&&c!=-1){Q(h.substr(c+1,g-(c+1)));b=Q(Zc(h,g+1))}}j[e]=new Sc(i[0],d+qf+b)}r(j)}
function pc(){var a;!!$stats&&vc('com.google.gwt.useragent.client.UserAgentAsserter');a=yc();Uc(rf,a)||($wnd.alert('ERROR: Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (safari) does not match the runtime user.agent value ('+a+'). Expect more errors.\n'),undefined);!!$stats&&vc('com.google.gwt.user.client.DocumentModeAsserter');xc();!!$stats&&vc('org.tizen.gwt.sample.raphaelpaint.client.RaphaelPaint');Wd(new fe)}
function Yc(l,a,b){var c=new RegExp(a,'g');var d=[];var e=0;var f=l;var g=null;while(true){var h=c.exec(f);if(h==null||f==lf||e==b-1&&b>0){d[e]=f;break}else{d[e]=f.substring(0,h.index);f=f.substring(h.index+h[0].length,f.length);c.lastIndex=0;if(g==f){d[e]=f.substring(0,1);f=f.substring(1)}g=f;e++}}if(b==0&&l.length>0){var i=d.length;while(i>0&&d[i-1]==lf){--i}i<d.length&&d.splice(i,d.length-i)}var j=_c(d.length);for(var k=0;k<d.length;++k){j[k]=d[k]}return j}
function we(a,b,c,d,e,f){var g,h,i;switch(b.c){case 6:g=Ve(a.b,e,f,30);break;case 7:g=We(a.b,e,f,60,30);break;case 3:g=Ze(a.b,e,f,80,50);break;case 4:g=Ze(a.b,e,f,50,50);break;case 8:h=Df+e+vf+f+' l 14 20 l 24 0 l -15 19 l 8 23 l -23 -8 l -20 14 l 0 -24 l -20 -14 l 24 -7 z';g=Ye(a.b,h);break;case 5:i=Df+e+vf+f+' l 30 -60 l 30 60 z';g=Ye(a.b,i);break;case 0:case 2:case 1:default:return null;}g.attr(Af,c);g.attr(yf,d);Te(Te(Te(Te(Te(Ue(g,Ef,b.b),Ff,0),Gf,0),Hf,1),If,1),Cf,0);bf(g,a.c);return g}
function Wd(a){var b;a.d=new cd;a.o=new Ce(a);a.b=$doc.getElementById('canvas_container');a.i=$e(a.b,660,1050);a.n=new xe(a.i,a.o);a.c=new Ld(a);a.j=new Qd(a);a.e=$wnd.$('#fill-color-label');Ke(a.e,wf,a.d.c);a.f=$wnd.$('#stroke-color-label');Ke(a.f,wf,a.d.e);Le($wnd.$('#close'),xf,(new he).g);Le(Qe(a.b),xf,(new ke(a)).g);Le(Pe((jd(),dd(Zb))),xf,(new ne(a)).g);Le(Je(Qe($doc.getElementById(zf)),$doc.getElementById(Bf)),xf,(new qe(a)).g);b=$wnd.$('#move-scale-rotate');Le(Pe((Ad(),dd($b))),xf,(new te(a,b)).g)}
function yc(){var b=navigator.userAgent.toLowerCase();var c=function(a){return parseInt(a[1])*1000+parseInt(a[2])};if(function(){return b.indexOf(tf)!=-1}())return tf;if(function(){return b.indexOf('webkit')!=-1}())return rf;if(function(){return b.indexOf(uf)!=-1&&$doc.documentMode>=9}())return 'ie9';if(function(){return b.indexOf(uf)!=-1&&$doc.documentMode>=8}())return 'ie8';if(function(){var a=/msie ([0-9]+)\.([0-9]+)/.exec(b);if(a&&a.length==3)return c(a)>=6000}())return 'ie6';if(function(){return b.indexOf('gecko')!=-1}())return 'gecko1_8';return 'unknown'}
function xc(){var a,b,c;b=$doc.compatMode;a=tb(mc,gf,1,[sf]);for(c=0;c<a.length;++c){if(Uc(a[c],b)){return}}a.length==1&&Uc(sf,a[0])&&Uc('BackCompat',b)?"GWT no longer supports Quirks Mode (document.compatMode=' BackCompat').<br>Make sure your application's host HTML page has a Standards Mode (document.compatMode=' CSS1Compat') doctype,<br>e.g. by using &lt;!doctype html&gt; at the start of your application's HTML page.<br><br>To continue using this unsupported rendering mode and risk layout problems, suppress this message by adding<br>the following line to your*.gwt.xml module file:<br>&nbsp;&nbsp;&lt;extend-configuration-property name=\"document.compatMode\" value=\""+b+'"/&gt;':"Your *.gwt.xml module configuration prohibits the use of the current doucment rendering mode (document.compatMode=' "+b+"').<br>Modify your application's host HTML page doctype, or update your custom 'document.compatMode' configuration property settings."}
var lf='',vf=' ',mf='(',Jf=',',of=':',qf='@',pf='@@',sf='CSS1Compat',Df='M ',Nf='[Ljava.lang.',Pf='[Lorg.tizen.gwt.sample.raphaelpaint.client.',nf='anonymous',wf='background-color',xf='click',Mf='com.google.gwt.core.client.',Qf='com.google.gwt.core.client.impl.',Af='fill',Kf='fill-opacity',zf='fillColor',Lf='java.lang.',uf='msie',tf='opera',Of='org.tizen.gwt.sample.raphaelpaint.client.',Cf='rotation',rf='safari',Hf='scaleX',If='scaleY',yf='stroke',Bf='strokeColor',Ef='toolName',Ff='translateX',Gf='translateY';var _,sc={},hf={3:1},gf={},jf={2:1};tc(1,-1,gf);_.tM=df;tc(8,1,hf);tc(7,8,hf);tc(6,7,hf);tc(5,6,hf,t);_.b=null;tc(12,1,{});var x=0,y=0,z=-1;tc(14,12,{},M);_.b=null;_.c=null;var I;tc(17,1,{},U);_.p=function V(){var a={};var b=[];var c=arguments.callee.caller.caller;while(c){var d=this.q(c.toString());b.push(d);var e=of+d;var f=a[e];if(f){var g,h;for(g=0,h=f.length;g<h;g++){if(f[g]===c){return b}}}(f||(a[e]=[])).push(c);c=c.caller}return b};_.q=function W(a){return P(a)};_.r=function X(a){return []};tc(19,17,{});_.p=function ab(){return R(this.r(T()),this.s())};_.r=function bb(a){return $(this,a)};_.s=function cb(){return 2};tc(18,19,{});_.p=function jb(){return eb(this)};_.q=function kb(a){var b,c,d,e;if(a.length==0){return nf}e=$c(a);e.indexOf('at ')==0&&(e=Zc(e,3));c=e.indexOf('[');c!=-1&&(e=$c(e.substr(0,c-0))+$c(Zc(e,e.indexOf(']',c)+1)));c=e.indexOf(mf);if(c==-1){c=e.indexOf(qf);if(c==-1){d=e;e=lf}else{d=$c(Zc(e,c+1));e=$c(e.substr(0,c-0))}}else{b=e.indexOf(')',c);d=e.substr(c+1,b-(c+1));e=$c(e.substr(0,c-0))}c=Vc(e,ad(46));c!=-1&&(e=Zc(e,c+1));return (e.length>0?e:nf)+pf+d};_.r=function lb(a){return hb(this,a)};_.s=function mb(){return 3};tc(20,18,{},ob);tc(26,1,{},qb);var ub,vb;tc(40,1,{},Ac);_.b=null;_.c=0;tc(41,6,hf,Ic);tc(42,1,{});_.b=null;_.c=0;tc(43,6,hf,Oc);tc(44,6,hf,Qc);tc(45,1,{},Sc);_=String.prototype;_.cM={1:1};tc(46,1,{},cd);_.b=null;_.c='#dfed48';_.e='#0d0d0d';tc(48,42,{},kd);var fd,gd,hd,id;var nd;tc(50,42,{},Bd);var qd,rd,sd,td,ud,vd,wd,xd,yd,zd;var Ed;tc(53,1,{});_.g=null;tc(52,53,{},Ld);_.u=function Md(a){Kd(this,a)};_.t=function Nd(a){var b;b=a.delegateTarget;b==this.b[0]?Xd(this.f):b==this.d[0]&&Kd(this,$c(this.d.text()))};_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;tc(54,53,{},Qd);_.t=function Rd(a){Yd(this.c,Oe(this.d))};_.b=null;_.c=null;_.d=null;tc(55,1,{},fe);_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;_.g=null;_.i=null;_.j=null;_.k=null;_.n=null;_.o=null;tc(56,53,{},he);_.t=function ie(a){Vd()};tc(57,53,{},ke);_.t=function le(a){var b,c,d,e;a.preventDefault();d=a.pageX;e=a.pageY;switch(this.b.d.f.c){case 0:b=Xe(this.b.i,d,e);if(!b){if(this.b.k){this.b.k=null;$d(this.b)}}else{ce(this.b,b)}break;case 6:case 7:case 3:case 4:case 8:case 5:c=this.b.b.getBoundingClientRect();Zd(this.b,d-c.left,e-c.top);}};_.b=null;tc(58,53,{},ne);_.t=function oe(a){this.b.d.d=(jd(),ld(a.delegateTarget.id));switch(this.b.d.d.c){case 0:case 1:this.b.j.b.hide();break;case 2:Pd(this.b.j,!this.b.k?0:this.b.k[Cf]||0);this.b.j.b.show();}};_.b=null;tc(59,53,{},qe);_.t=function re(a){var b,c;b=a.delegateTarget;c=b.id;if(Uc(c,this.b.d.b)){this.b.d.b=null;this.b.c.c.hide();b.checked=false}else{this.b.d.b==null&&this.b.c.c.show();this.b.d.b=c;b.checked=true;ee(this.b)}};_.b=null;tc(60,53,{},te);_.t=function ue(a){this.b.d.f=(Ad(),Cd(a.delegateTarget.id));switch(this.b.d.f.c){case 0:this.c.show();break;case 2:this.c.hide();this.b.i.clear();$d(this.b);!!this.b.k&&(this.b.k=null);break;case 6:case 7:case 1:case 3:case 4:case 8:case 5:this.c.hide();}};_.b=null;_.c=null;tc(61,1,{},xe);_.b=null;_.c=null;tc(62,1,{},Ce);_.w=function De(a,b){this.d.d.f==(Ad(),rd)&&_e(a,Te({},Kf,1),500)};_.z=function Ee(a,b,c,d,e,f){if(this.d.d.f==(Ad(),rd)){switch(this.d.d.d.c){case 0:Se(Se(a,Ff,this.b+d),Gf,this.c+e);break;case 1:Be(this,a,d,e);break;default:return;}ze(this,a)}};_.A=function Fe(a,b,c,d){var e;if(this.d.d.f==(Ad(),rd)){ce(this.d,a);_e(a,Re({},Kf,0.4),500);e=a;switch(this.d.d.d.c){case 0:this.b=e[Ff]||0;this.c=e[Gf]||0;break;case 1:this.e=e[Hf]||0;this.f=e[If]||0;}}else this.d.d.f==vd&&_d(this.d,a)};_.b=0;_.c=0;_.d=null;_.e=0;_.f=0;var kf=C;var Tb=Cc(Lf,'Object',1),Fb=Cc(Mf,'JavaScriptObject$',9),kc=Bc(Nf,'Object;',76),Xb=Cc(Lf,'Throwable',8),Qb=Cc(Lf,'Exception',7),Ub=Cc(Lf,'RuntimeException',6),Vb=Cc(Lf,'StackTraceElement',45),lc=Bc(Nf,'StackTraceElement;',78),Mb=Cc('com.google.gwt.lang.','SeedUtil',32),Pb=Cc(Lf,'Enum',42),Ob=Cc(Lf,'Class',40),Wb=Cc(Lf,'String',2),mc=Bc(Nf,'String;',77),gc=Cc(Of,'RaphaelPaint',55),jc=Cc('org.tizen.gwt.sample.raphaelpaint.client.overlay.','JQueryHandler',53),bc=Cc(Of,'RaphaelPaint$1',56),cc=Cc(Of,'RaphaelPaint$2',57),dc=Cc(Of,'RaphaelPaint$3',58),ec=Cc(Of,'RaphaelPaint$4',59),fc=Cc(Of,'RaphaelPaint$5',60),Nb=Cc(Lf,'ClassCastException',41),Eb=Cc(Mf,'JavaScriptException',5),Yb=Cc(Of,'Config',46),ic=Cc(Of,'Transforms',62),hc=Cc(Of,'ShapeDrawer',61),_b=Cc(Of,'MyColorPicker',52),ac=Cc(Of,'MyRotationSlider',54),$b=Dc(Of,'Enums$Tool',50,Dd),oc=Bc(Pf,'Enums$Tool;',79),Zb=Dc(Of,'Enums$Operation',48,md),nc=Bc(Pf,'Enums$Operation;',80),Lb=Cc(Qf,'StackTraceCreator$Collector',17),Kb=Cc(Qf,'StackTraceCreator$CollectorMoz',19),Jb=Cc(Qf,'StackTraceCreator$CollectorChrome',18),Ib=Cc(Qf,'StackTraceCreator$CollectorChromeNoSourceMap',20),Gb=Cc(Mf,'Scheduler',12),Hb=Cc(Qf,'SchedulerImpl',14),Sb=Cc(Lf,'NullPointerException',44),Rb=Cc(Lf,'IllegalArgumentException',43);if (raphaelpaint) raphaelpaint.onScriptLoad(gwtOnLoad);})();