META-INF.web-resources.voila-runtime.jquery.calculator.jquery.calculator.pack.js Maven / Gradle / Ivy
/* http://keith-wood.name/calculator.html
Calculator field entry extension for jQuery v1.3.2.
Written by Keith Wood (kbwood{at}iinet.com.au) October 2008.
Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and
MIT (http://dev.jquery.com/browser/trunk/jquery/MIT-LICENSE.txt) licenses.
Please attribute the author if you use it. */
eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(z($){I s=\'w\';z 22(){v.1s=N;v.1C=[];v.1p=12;v.2l=12;v.1q={\'6v\':[\'0\',v.W,N,\'\',\'0\',\'0\'],\'6w\':[\'1\',v.W,N,\'\',\'1\',\'1\'],\'6x\':[\'2\',v.W,N,\'\',\'2\',\'2\'],\'6y\':[\'3\',v.W,N,\'\',\'3\',\'3\'],\'6z\':[\'4\',v.W,N,\'\',\'4\',\'4\'],\'6A\':[\'5\',v.W,N,\'\',\'5\',\'5\'],\'6B\':[\'6\',v.W,N,\'\',\'6\',\'6\'],\'6C\':[\'7\',v.W,N,\'\',\'7\',\'7\'],\'6D\':[\'8\',v.W,N,\'\',\'8\',\'8\'],\'6E\':[\'9\',v.W,N,\'\',\'9\',\'9\'],\'6F\':[\'A\',v.W,N,\'23-W\',\'A\',\'a\'],\'6G\':[\'B\',v.W,N,\'23-W\',\'B\',\'b\'],\'6H\':[\'C\',v.W,N,\'23-W\',\'C\',\'c\'],\'6I\':[\'D\',v.W,N,\'23-W\',\'D\',\'d\'],\'6J\':[\'E\',v.W,N,\'23-W\',\'E\',\'e\'],\'6K\':[\'F\',v.W,N,\'23-W\',\'F\',\'f\'],\'14.\':[\'.\',v.W,N,\'4j\',\'6L\',\'.\'],\'14+\':[\'+\',v.1v,v.3o,\'1K 4k\',\'6M\',\'+\'],\'14-\':[\'-\',v.1v,v.3p,\'1K 4l\',\'6N\',\'-\'],\'14*\':[\'*\',v.1v,v.3q,\'1K 6O\',\'6P\',\'*\'],\'14/\':[\'/\',v.1v,v.3r,\'1K 6Q\',\'6R\',\'/\'],\'14%\':[\'%\',v.Y,v.4m,\'1K 6S\',\'6T\',\'%\'],\'14=\':[\'=\',v.Y,v.3s,\'1K 6U\',\'6V\',\'=\'],\'+-\':[\'±\',v.Y,v.4n,\'1K 6W-6X\',\'6Y\',\'#\'],\'2m\':[\'4o\',v.Y,v.4p,\'4o\',\'2m\',\'p\'],\'1X\':[\'1/x\',v.Y,v.4q,\'1D 6Z\',\'70\',\'i\'],\'71\':[\'2n\',v.Y,v.4r,\'1D 2n\',\'72\',\'l\'],\'4s\':[\'4t\',v.Y,v.4u,\'1D 4t\',\'4s\',\'n\'],\'73\':[\'eⁿ\',v.Y,v.4v,\'1D 4w\',\'74\',\'E\'],\'75\':[\'x²\',v.Y,v.4x,\'1D 76\',\'77\',\'@\'],\'78\':[\'√\',v.Y,v.4y,\'1D 4z\',\'79\',\'!\'],\'7a\':[\'x^y\',v.1v,v.4A,\'1D 7b\',\'7c\',\'^\'],\'7d\':[\'7e\',v.Y,v.4B,\'4C\',\'7f\',\'?\'],\'7g\':[\'3t\',v.Y,v.4D,\'25 3t\',\'7h\',\'s\'],\'7i\':[\'3u\',v.Y,v.4E,\'25 3u\',\'7j\',\'o\'],\'7k\':[\'3v\',v.Y,v.4F,\'25 3v\',\'7l\',\'t\'],\'7m\':[\'3w\',v.Y,v.4G,\'25 3w\',\'7n\',\'S\'],\'7o\':[\'3x\',v.Y,v.4H,\'25 3x\',\'7p\',\'O\'],\'7q\':[\'3y\',v.Y,v.4I,\'25 3y\',\'7r\',\'T\'],\'4J\':[\'#7s\',v.Y,v.4K,\'17 1L-2o\',\'7t\',\'x\'],\'4L\':[\'#7u\',v.Y,v.4M,\'17 1L-7v\',\'7w\',\'r\'],\'4N\':[\'#7x\',v.Y,v.4O,\'17 1L-7y\',\'7z\',\'m\'],\'M+\':[\'#7A\',v.Y,v.4P,\'17 1L-4k\',\'7B\',\'>\'],\'M-\':[\'#7C\',v.Y,v.4Q,\'17 1L-4l\',\'7D\',\'<\'],\'7E\':[\'#4R\',v.1c,v.4S,\'1a 4R\',\'7F\',\'B\'],\'7G\':[\'#4T\',v.1c,v.4U,\'1a 4T\',\'7H\',\'C\'],\'7I\':[\'#4V\',v.1c,v.4W,\'1a 4V\',\'7J\',\'D\'],\'7K\':[\'#4X\',v.1c,v.4Y,\'1a 4X\',\'7L\',\'H\'],\'7M\':[\'#2H\',v.1c,v.4Z,\'2I 2H\',\'7N\',\'G\'],\'7O\':[\'#2J\',v.1c,v.50,\'2I 2J\',\'7P\',\'R\'],\'51\':[\'#7Q\',v.1c,v.52,\'7R\',\'7S\',8,\'7T\'],\'53\':[\'#7U\',v.1c,v.54,\'2o-55\',\'7V\',36,\'7W\'],\'56\':[\'#2o\',v.1c,v.57,\'2o\',\'7X\',35,\'7Y\'],\'@X\':[\'#58\',v.1c,v.3z,\'58\',\'7Z\',27,\'80\'],\'@U\':[\'#59\',v.1c,v.5a,\'59\',\'81\',13,\'82\'],\'@E\':[\'#5b\',v.1c,v.3A,\'5b\',\'83\',46,\'84\'],\' \':[\'\',v.26,N,\'26\',\'85\'],\'14 \':[\'\',v.26,N,\'86-26\',\'87\'],\'??\':[\'??\',v.Y,v.1E]};v.2K={};v.2L={};28(I a 2M v.1q){J(v.1q[a][4]){v[v.1q[a][4]]=a}J(v.1q[a][5]){J(29 v.1q[a][5]==\'2N\'){v.2K[v.1q[a][5]]=a}15{v.2L[v.1q[a][5]]=a}}}v.3B=[];v.3B[\'\']={2a:\'.\',5c:\'...\',5d:\'88 1t w\',89:\'5e\',8a:\'5e 1t w\',8b:\'5f\',8c:\'5f 1t 8d 2b\',8e:\'2O\',8f:\'2O 1t 2b 3C 1t 8g\',8h:\'51\',8i:\'2O 1t 3D W\',8j:\'53\',8k:\'2O 1t 3D 2N\',8l:\'56\',8m:\'8n 1t w\',8o:\'4J\',8p:\'5g 1t 17\',8q:\'4L\',8r:\'5h 1t 2b 3C 17\',8s:\'4N\',8t:\'8u 1t 2b 2M 17\',8v:\'M+\',8w:\'8x 1M 17\',8y:\'M-\',8z:\'8A 3C 17\',8B:\'8C\',8D:\'2c 1M 1v\',8E:\'8F\',8G:\'2c 1M 8H\',8I:\'8J\',8K:\'2c 1M 4j\',8L:\'8M\',8N:\'2c 1M 8O\',8P:\'8Q\',8R:\'2c 1M 2H\',8S:\'8T\',8U:\'2c 1M 2J\',2p:12};v.2P={3E:\'1w\',5i:\'\',5j:12,5k:N,3F:\'2Q\',3G:{},3H:\'3I\',5l:\'\',3J:12,5m:\'\',3K:\'\',5n:v.5o,2b:0,1a:10,5p:10,3L:12,3M:\'8V\',5q:24*60*60,5r:\'\',2q:12,5s:19,5t:N,5u:N,5v:N};$.2R(v.2P,v.3B[\'\']);v.2S=$(\'<1b 1d="\'+v.2T+\'" 3N="3O: 5w;">1b>\').1N(v.5x)}$.2R(22.5y,{1F:\'8W\',W:\'d\',1v:\'b\',Y:\'u\',1c:\'c\',26:\'s\',2T:\'w-8X\',2U:\'w-8Y\',3P:\'w-2V\',1G:\'w-8Z\',3Q:\'w-1k\',2r:\'w-90\',3R:\'w-5z\',2W:\'w-91\',2X:\'w-2d\',2Y:\'w-92\',5o:[\' 5A\',\'5B+@X\',\'5C-@U\',\'5D*@E\',\'5E.14=14/\'],93:[\'@X@U@E 5A\',\'94 14 95 5D+\',\'96 97 5C-\',\'98 99 5B*\',\'9a M+14 5E.+-14/\',\'9b 14 M-14 14%14=\'],9c:z(a){3S(v.2P,a||{});P v},9d:z(a,b,c,d,e,f,g,h){v.1q[a]=[b,(29 c==\'9e\'?(c?v.1v:v.Y):c),d,e,f,g,h];J(f){v[f]=a}J(g){J(29 g==\'2N\'){v.2K[g]=a}15{v.2L[g]=a}}P v},5F:z(a,b){I c=$(a);I d=a.3T.2s()!=\'2Z\';I e=(!d?c:$(\'<2Z 2t="30" 1d="\'+v.2r+\'"/>\'));I f={Q:e,1e:d,17:0,V:(d?$(\'<1b 1d="\'+v.2U+\'">1b>\'):v.2S)};f.1O=$.2R({},b||{});J(v.L(f,\'3L\')){I g=v.5G(f);J(g&&!9f(g)){f.17=g}}v.5H(a,f);J(d){c.2V(e).2V(f.V).3U(\'1N.w\',z(){e.1w()});v.2u(f,\'0\');v.3V(f);v.1l(f)}15 J($(a).9g(\':1k\')){v.5I(a)}},5H:z(d,e){I f=$(d);J(f.1P(v.1F)){P}I g=v.L(e,\'5l\');I h=v.L(e,\'2p\');J(g){f[h?\'5J\':\'5K\'](\'<1x 1d="\'+v.3P+\'">\'+g+\'1x>\')}J(!e.1e){I i=v.L(e,\'3E\');J(i==\'1w\'||i==\'3W\'){f.1w(v.2e)}J(i==\'1f\'||i==\'3W\'||i==\'5L\'){I j=v.L(e,\'5c\');I k=v.L(e,\'5d\');I l=v.L(e,\'5i\');I m=$(v.L(e,\'5j\')?$(\'<31/>\').2v({3X:l,9h:k,3Y:k}):$(\'<1f 2t="1f" 3Y="\'+k+\'">1f>\').5M(l==\'\'?j:$(\'<31/>\').2v({3X:l})));f[h?\'5J\':\'5K\'](m);m.1Q(v.1G).1N(z(){J($.w.1p&&$.w.32==d){$.w.1R()}15{$.w.2e(d)}P 12})}}e.Q.3Z(v.33).40(v.34).41(v.37);J(e.1e){e.V.3Z(v.33).40(v.34).41(v.37);e.Q.1w(z(){J(!$.w.2w(f[0])){e.42=19;$(\'.\'+$.w.3R,e.V).1Q($.w.2W)}}).5N(z(){e.42=12;$(\'.\'+$.w.3R,e.V).2x($.w.2W)})}f.1Q(v.1F).3U("9i.w",z(a,b,c){e.1O[b]=c}).3U("9j.w",z(a,b){P v.L(e,b)});$.1u(d,s,e);$.1u(e.Q[0],s,e)},9k:z(a){I b=$(a);J(!b.1P(v.1F)){P}I c=$.1u(a,s);c.Q.2y(\'3Z\',v.33).2y(\'40\',v.34).2y(\'41\',v.37);b.2f(\'.\'+v.3P).38().1S().2f(\'.\'+v.1G).38().1S().9l(\'.\'+v.2r).38().1S().2x(v.1F).2y(\'1w\',v.2e).2y(\'1N.w\').5O();$.5P(c.Q[0],s);$.5P(a,s)},9m:z(b){I c=$(b);J(!c.1P(v.1F)){P}I d=b.3T.2s();J(d==\'2Z\'){b.1k=12;c.2f(\'1f.\'+v.1G).2g(z(){v.1k=12}).1S().2f(\'31.\'+v.1G).1m({5Q:\'1.0\',5R:\'\'})}15 J(d==\'1b\'||d==\'1x\'){c.1H(\'.\'+v.2r+\',1f\').2v(\'1k\',\'\').1S().43(\'.\'+v.3Q).38()}v.1C=$.5S(v.1C,z(a){P(a==b?N:a)})},5I:z(b){I c=$(b);J(!c.1P(v.1F)){P}I d=b.3T.2s();J(d==\'2Z\'){b.1k=19;c.2f(\'1f.\'+v.1G).2g(z(){v.1k=19}).1S().2f(\'31.\'+v.1G).1m({5Q:\'0.5\',5R:\'5T\'})}15 J(d==\'1b\'||d==\'1x\'){I e=c.43(\'.\'+v.2U);I f=e.44();I g={1i:0,1g:0};e.39().2g(z(){J($(v).1m(\'3a\')==\'9n\'){g=$(v).44();P 12}});c.1H(\'.\'+v.2r+\',1f\').2v(\'1k\',\'1k\').1S().9o(\'<1b 1d="\'+v.3Q+\'" 3N="1T: \'+e.2h()+\'2i; 45: \'+e.2z()+\'2i; 1i: \'+(f.1i-g.1i)+\'2i; 1g: \'+(f.1g-g.1g)+\'2i;">1b>\')}v.1C=$.5S(v.1C,z(a){P(a==b?N:a)});v.1C[v.1C.1U]=b},2w:z(a){P(a&&$.9p(a,v.1C)>-1)},9q:z(a,b,c){I d=b||{};J(29 b==\'5U\'){d={};d[b]=c}I e=$.1u(a,s);J(e){J(v.1s==e){v.1R()}3S(e.1O,d);J(e.1e){v.3V(e)}v.1l(e)}},2e:z(b){b=b.1V||b;J($.w.2w(b)||$.w.32==b){P}I c=$.1u(b,s);$.w.1R(N,\'\');$.w.32=b;$.w.1W=$.w.47(b);$.w.1W[1]+=b.9r;I d=12;$(b).39().2g(z(){d|=$(v).1m(\'3a\')==\'5V\';P!d});J(d&&$.1y.2A){$.w.1W[0]-=1n.1I.3b;$.w.1W[1]-=1n.1I.3c}I e={1i:$.w.1W[0],1g:$.w.1W[1]};$.w.1W=N;c.V.1m({3a:\'5W\',3O:\'9s\',1g:\'-5X\',1T:($.1y.2A?\'5X\':\'9t\')});I f=$.w.L(c,\'5t\');J(f){f.1J((c.Q?c.Q[0]:N),[(c.1e?c.K:c.Q.1Y()),c])}$.w.2u(c,c.Q.1Y());$.w.1l(c);e=$.w.5Y(c,e,d);c.V.1m({3a:(d?\'5V\':\'5W\'),3O:\'5w\',1i:e.1i+\'2i\',1g:e.1g+\'2i\'});I g=$.w.L(c,\'3F\');I h=$.w.L(c,\'3H\');h=(h==\'3I\'&&$.1j&&$.1j.3d>=\'1.8\'?\'5Z\':h);I i=z(){$.w.1p=19;I a=$.w.48(c.V);c.V.1H(\'3e.\'+$.w.2Y).1m({1i:-a[0],1g:-a[1],1T:c.V.2h(),45:c.V.2z()})};J($.3f&&$.3f[g]){I j=c.V.1u();28(I k 2M j){J(k.3g(/^61\\.62\\./)){j[k]=c.V.1m(k.1o(/61\\.62\\./,\'\'))}}c.V.1u(j).2Q(g,$.w.L(c,\'3G\'),h,i)}15{c.V[g||\'2Q\']((g?h:\'\'),i)}J(!g){i()}J(c.Q[0].2t!=\'63\'){c.Q[0].1w()}$.w.1s=c},2u:z(a,b){I c=v.L(a,\'1a\');I d=v.L(a,\'2a\');b=\'\'+(b||0);b=(d!=\'.\'?b.1o(1z 2j(d),\'.\'):b);a.K=(c==10?1Z(b):20(b,c))||0;a.Z=v.21(a);a.1r=a.49=0;a.1h=a.2B=v.1E;a.1B=19},5G:z(a){I b=1z 2j(\'^.*\'+v.L(a,\'3M\')+\'=([^;]*).*$\');P 1Z(1n.64.1o(b,\'$1\'))},2C:z(a){J(!v.L(a,\'3L\')){P}I b=v.L(a,\'5q\');J(29 b==\'2N\'){I c=1z 65();c.9u(c.9v()+b*9w);b=c.66()}15 J(b.9x==65){b=c.66()}15{b=\'\'}1n.64=v.L(a,\'3M\')+\'=\'+a.17+\'; 9y=\'+b+\'; 9z=\'+v.L(a,\'5r\')},3V:z(a){a.K=v.L(a,\'2b\')||0;a.Z=v.21(a)},1l:z(a){I b=v.48(a.V);a.V.5M(v.67(a)).1H(\'3e.\'+v.2Y).1m({1i:-b[0],1g:-b[1],1T:a.V.2h(),45:a.V.2z()});a.V.2x().1Q(v.L(a,\'5m\')+(v.L(a,\'3J\')?\' 1j-3h 1j-3h-9A\':\'\')+(v.L(a,\'2p\')?\' w-9B \':\'\')+\' \'+(a.1e?v.2U:v.2T));J(v.1s==a){a.Q.1w()}},48:z(c){I d=z(a){I b=($.1y.4a?1:0);P{9C:1+b,9D:3+b,9E:5+b}[a]||a};P[1Z(d(c.1m(\'68-1i-1T\'))),1Z(d(c.1m(\'68-1g-1T\')))]},5Y:z(a,b,c){I d=a.Q?v.47(a.Q[0]):N;I e=69.9F||1n.1I.9G;I f=69.9H||1n.1I.9I;I g=1n.1I.3b||1n.4b.3b;I h=1n.1I.3c||1n.4b.3c;J(($.1y.4a&&20($.1y.3d,10)<7)||$.1y.2A){I i=0;$(\'.w-6a\',a.V).1H(\'1f:3D\').2g(z(){i=11.4c(i,v.9J+v.9K+20($(v).1m(\'9L-9M\'),10))});a.V.1m(\'1T\',i)}J(v.L(a,\'2p\')||(b.1i+a.V.2h()-g)>e){b.1i=11.4c((c?0:g),d[0]+(a.Q?a.Q.2h():0)-(c?g:0)-a.V.2h()-(c&&$.1y.2A?1n.1I.3b:0))}15{b.1i-=(c?g:0)}J((b.1g+a.V.2z()-h)>f){b.1g=11.4c((c?0:h),d[1]-(c?h:0)-a.V.2z()-(c&&$.1y.2A?1n.1I.3c:0))}15{b.1g-=(c?h:0)}P b},47:z(a){9N(a&&(a.2t==\'63\'||a.9O!=1)){a=a.9P}I b=$(a).44();P[b.1i,b.1g]},1R:z(a,b){I c=v.1s;J(!c||(a&&c!=$.1u(a,s))){P}J(v.1p){b=(b!=N?b:v.L(c,\'3H\'));b=(b==\'3I\'&&$.1j&&$.1j.3d>=\'1.8\'?\'5Z\':b);I d=v.L(c,\'3F\');J($.3f&&$.3f[d]){c.V.4d(d,v.L(c,\'3G\'),b)}15{c.V[(d==\'9Q\'?\'9R\':(d==\'9S\'?\'9T\':\'4d\'))](d?b:\'\')}}I e=v.L(c,\'5v\');J(e){e.1J((c.Q?c.Q[0]:N),[(c.1e?c.K:c.Q.1Y()),c])}J(v.1p){v.1p=12;v.32=N}v.1s=N},6b:z(a){J(!$.w.1s){P}I b=$(a.1V);J(!b.39().6c().1P($.w.2T)&&!b.1P($.w.1F)&&!b.39().6c().1P($.w.1G)&&$.w.1p){$.w.1R()}},5x:z(){J($.w.1s&&$.w.1s.Q){$.w.1s.Q.1w()}},33:z(e){I a=12;I b=$.1u(e.1V,s);I c=(b&&b.1e?$(e.1V).6d()[0]:N);J(e.2D==9){$.w.2S.9U(19,19);$.w.1R();J(b&&b.1e){b.Q.5N()}}15 J($.w.1p||(c&&!$.w.2w(c))){J(e.2D==18){J(!$.w.2l){b.V.1H(\'.\'+$.w.2X).2Q();$.w.2l=19}a=19}15{I d=$.w.2K[e.2D];J(d){$(\'1f[2d="\'+d+\'"]\',b.V).6e(\':1k\').1N();a=19}}}15 J(e.2D==36&&e.9V&&b&&!b.1e){$.w.2e(v)}J(a){e.9W();e.9X()}P!a},34:z(e){J($.w.2l){I a=$.1u(e.1V,s);a.V.1H(\'.\'+$.w.2X).4d();$.w.2l=12}},37:z(e){I a=$.1u(e.1V,s);J(!a){P 19}I b=(a&&a.1e?$(e.1V).6d()[0]:N);I c=9Y.9Z(e.6f==4e?e.2D:e.6f);I d=$.w.L(a,\'1a\');I f=$.w.L(a,\'2a\');I g=$.w.L(a,\'3E\');I h=$.w.L(a,\'5k\')||$.w.6g;J(!$.w.1p&&!b&&(g==\'a0\'||g==\'5L\')&&h.1J(a.Q,[c,e,a.Q.1Y(),d,f])){$.w.2e(v);$.w.1p=19}J($.w.1p||(b&&!$.w.2w(b))){I i=$.w.2L[c==f?\'.\':c];J(i){$(\'1f[2d="\'+i+\'"]\',a.V).6e(\':1k\').1N()}P 12}J(c>=\' \'&&$.w.L(a,\'5s\')){I j=1z 2j(\'^-?\'+(d==10?\'[0-9]*(\\\\\'+f+\'[0-9]*)?\':\'[\'+\'6h\'.a1(0,d)+\']*\')+\'$\');P(a.Q.1Y()+c).2s().3g(j)!=N}P 19},6g:z(a,b,c,d,e){P a>\' \'&&!(a==\'-\'&&c==\'\')&&(\'6h\'.2k(0,d)+\'.\'+e).6i(a.2s())==-1},L:z(a,b){P a.1O[b]!==4e?a.1O[b]:v.2P[b]},67:z(a){I b=v.L(a,\'3J\');I c=v.L(a,\'2p\');I d=v.L(a,\'3K\');I e=v.L(a,\'5n\');I f=v.L(a,\'1a\');I g=v.L(a,\'2q\');I h=(!d?\'\':\'<1b 1d="w-3K\'+(b?\' 1j-3h-6j 1j-a2-a3\':\'\')+\'">\'+d+\'1b>\')+\'<1b 1d="w-5z\'+(b?\' 1j-3h-6j\':\'\')+(a.42?\' \'+v.2W:\'\')+\'"><1x>\'+a.Z+\'1x>1b>\';28(I i=0;i\';28(I j=0;j1x>\':(a.1e&&(m[2]==\'.3z\'||m[2]==\'.3A\')?\'\':\'<1f 2t="1f" 2d="\'+l+\'"\'+(m[1]==v.1c?\' 1d="w-a9\'+(m[0].3g(/^#1a/)?(m[0].1o(/^#1a/,\'\')==f?q||\' w-1a-2F\':r):(m[0]==\'#2H\'?(g?q||\' w-2I-2F\':r):(m[0]==\'#2J\'?(!g?q||\' w-2I-2F\':r):r))):(m[1]==v.W?(20(m[0],16)>=f||(f!=10&&m[0]==\'.\')?\' 1k="1k"\':\'\')+\' 1d="w-W\':(m[1]==v.1v?\' 1d="w-6l\':\' 1d="w-6l\'+(m[0].3g(/^#1L(5g|5h)$/)&&!a.17?\' w-1L-5O\':\'\'))))+(b?\' 1j-2E-5T\':\'\')+(p?\' \'+p:\'\')+\'" \'+(o?\'3Y="\'+o+\'"\':\'\')+\'>\'+(l==\'14.\'?v.L(a,\'2a\'):n)+(m[5]&&m[5]!=m[0]?\'<1x 1d="\'+v.2X+(b?\' 1j-2E-55\':\'\')+(m[6]?\' w-aa\':\'\')+\'">\'+(m[6]||m[5])+\'1x>\':\'\')+\'1f>\'))}h+=\'1b>\'}h+=\'<1b 3N="2o: 3W;">1b>\'+(!a.1e&&$.1y.4a&&20($.1y.3d,10)<7?\'<3e 3X="ab:12;" 1d="\'+v.2Y+\'">3e>\':\'\');h=$(h);h.1H(\'1f\').ac(z(){$.w.4f=v.ad}).6m(z(){$(v).1Q(\'w-ae-af\'+(b?\' 1j-2E-2F\':\'\'))}).ag(z(){$(v).2x().1Q($.w.4f)}).ah(z(){$(v).2x().1Q($.w.4f)}).1N(z(){$.w.6n(a,$(v))});P h},21:z(a){I b=v.L(a,\'5p\');I c=1z 6o(a.K).6p(b).6q();I d=c.1o(/^.+(e.+)$/,\'$1\').1o(/^[^e].*$/,\'\');J(d){c=1z 6o(c.1o(/e.+$/,\'\')).6p(b).6q()}P 1Z(c.1o(/0+$/,\'\')+d).ai(v.L(a,\'1a\')).aj().1o(/\\./,v.L(a,\'2a\'))},1A:z(a,b){I c=v.L(a,\'5u\');J(c){c.1J((a.Q?a.Q[0]:N),[b,a.Z,a])}},6n:z(a,b){I c=v.1q[b.2v(\'2d\')];J(!c){P}I d=b.30().2k(0,b.30().1U-b.43(\'.w-2d\').30().1U);ak(c[1]){3i v.1c:c[2].1J(v,[a,d]);3j;3i v.W:v.6r(a,d);3j;3i v.1v:v.6s(a,c[2],d);3j;3i v.Y:v.4g(a,c[2],d);3j}J($.w.1p||a.1e){a.Q.1w()}},1E:z(a){},6r:z(a,b){I c=v.L(a,\'2a\');a.Z=(a.1B?\'\':a.Z);J(b==c&&a.Z.6i(b)>-1){P}a.Z=(a.Z+b).1o(/^0(\\d)/,\'$1\').1o(1z 2j(\'^(-?)([\\\\.\'+c+\'])\'),\'$10$2\');J(c!=\'.\'){a.Z=a.Z.1o(1z 2j(\'^\'+c),\'0.\')}I d=v.L(a,\'1a\');I e=(c!=\'.\'?a.Z.1o(1z 2j(c),\'.\'):a.Z);a.K=(d==10?1Z(e):20(e,d));a.1B=12;v.1A(a,b);v.1l(a)},6s:z(a,b,c){J(!a.1B&&a.1h){a.1h(a);I d=v.L(a,\'1a\');a.K=(d==10?a.K:11.4h(a.K));a.Z=v.21(a)}a.1r=a.K;a.1B=19;a.1h=b;v.1A(a,c);v.1l(a)},3o:z(a){a.K=a.1r+a.K},3p:z(a){a.K=a.1r-a.K},3q:z(a){a.K=a.1r*a.K},3r:z(a){a.K=a.1r/a.K},4A:z(a){a.K=11.al(a.1r,a.K)},4g:z(a,b,c){a.1B=19;b.1J(v,[a]);I d=v.L(a,\'1a\');a.K=(d==10?a.K:11.4h(a.K));a.Z=v.21(a);v.1A(a,c);v.1l(a)},4n:z(a){a.K=-1*a.K;a.Z=v.21(a);a.1B=12},4p:z(a){a.K=11.2m},4m:z(a){J(a.1h==v.3o){a.K=a.1r*(1+a.K/3k)}15 J(a.1h==v.3p){a.K=a.1r*(1-a.K/3k)}15 J(a.1h==v.3q){a.K=a.1r*a.K/3k}15 J(a.1h==v.3r){a.K=a.1r/a.K*3k}a.2B=a.1h;a.1h=v.1E},3s:z(a){J(a.1h==v.1E){J(a.2B!=v.1E){a.1r=a.K;a.K=a.49;a.2B(a)}}15{a.2B=a.1h;a.49=a.K;a.1h(a);a.1h=v.1E}},4P:z(a){a.17+=a.K;v.2C(a)},4Q:z(a){a.17-=a.K;v.2C(a)},4O:z(a){a.17=a.K;v.2C(a)},4M:z(a){a.K=a.17},4K:z(a){a.17=0;v.2C(a)},4D:z(a){v.3l(a,11.3t)},4E:z(a){v.3l(a,11.3u)},4F:z(a){v.3l(a,11.3v)},3l:z(a,b){I c=v.L(a,\'2q\');a.K=b(a.K*(c?11.2m/6t:1))},4G:z(a){v.3m(a,11.3w)},4H:z(a){v.3m(a,11.3x)},4I:z(a){v.3m(a,11.3y)},3m:z(a,b){a.K=b(a.K);J(v.L(a,\'2q\')){a.K=a.K/11.2m*6t}},4q:z(a){a.K=1/a.K},4r:z(a){a.K=11.2n(a.K)/11.2n(10)},4u:z(a){a.K=11.2n(a.K)},4v:z(a){a.K=11.4w(a.K)},4x:z(a){a.K*=a.K},4y:z(a){a.K=11.4z(a.K)},4B:z(a){a.K=11.4C()},4S:z(a,b){v.2G(a,b,2)},4U:z(a,b){v.2G(a,b,8)},4W:z(a,b){v.2G(a,b,10)},4Y:z(a,b){v.2G(a,b,16)},2G:z(a,b,c){a.1O.1a=c;a.K=(c==10?a.K:11.4h(a.K));a.Z=v.21(a);a.1B=19;v.1A(a,b);v.1l(a)},4Z:z(a,b){v.4i(a,b,19)},50:z(a,b){v.4i(a,b,12)},4i:z(a,b,c){a.1O.2q=c;v.1A(a,b);v.1l(a)},52:z(a,b){a.Z=a.Z.2k(0,a.Z.1U-1)||\'0\';I c=v.L(a,\'1a\');a.K=(c==10?1Z(a.Z):20(a.Z,c));v.1A(a,b);v.1l(a)},54:z(a,b){a.Z=\'0\';a.K=0;a.1B=19;v.1A(a,b);v.1l(a)},57:z(a,b){v.2u(a,0);v.1A(a,b);v.1l(a)},3z:z(a,b){v.3n(a,b,a.Q.1Y())},5a:z(a,b){J(a.1h!=v.1E){v.4g(a,v.3s,b)}v.3n(a,b,a.Z)},3A:z(a,b){v.2u(a,0);v.1l(a);v.3n(a,b,\'\')},3n:z(a,b,c){J(a.1e){v.1s=a}15{a.Q.1Y(c)}v.1A(a,b);v.1R(a.Q[0])}});z 3S(a,b){$.2R(a,b);28(I c 2M b){J(b[c]==N||b[c]==4e){a[c]=b[c]}}P a}$.1D.w=z(a){I b=am.5y.an.ao(ap,1);J(a==\'aq\'){P $.w[\'14\'+a+\'22\'].1J($.w,[v[0]].6u(b))}P v.2g(z(){J(29 a==\'5U\'){J(!$.w[\'14\'+a+\'22\']){ar\'as at: \'+a;}$.w[\'14\'+a+\'22\'].1J($.w,[v].6u(b))}15{$.w.5F(v,a)}})};$.w=1z 22();$(z(){$(1n.4b).2V($.w.2S).6m($.w.6b)})})(au);',62,651,'|||||||||||||||||||||||||||||||this|calculator|||function|||||||||var|if|curValue|_get||null||return|_input|||||_mainDiv|digit||unary|dispValue||Math|false||_|else||memory||true|base|div|control|class|_inline|button|top|_pendingOp|left|ui|disabled|_updateCalculator|css|document|replace|_showingCalculator|_keyDefs|prevValue|_curInst|the|data|binary|focus|span|browser|new|_sendButton|_newValue|_disabledFields|fn|_noOp|markerClassName|_triggerClass|find|documentElement|apply|arith|mem|to|click|settings|hasClass|addClass|_hideCalculator|end|width|length|target|_pos||val|parseFloat|parseInt|_setDisplay|Calculator|hex||trig|space||for|typeof|decimalChar|value|Switch|keystroke|_showCalculator|siblings|each|outerWidth|px|RegExp|substr|_showingKeystrokes|PI|log|clear|isRTL|useDegrees|_inlineEntryClass|toLowerCase|type|_reset|attr|_isDisabledCalculator|removeClass|unbind|outerHeight|opera|_savedOp|_setMemoryCookie|keyCode|state|active|_changeBase|degrees|angle|radians|_keyCodes|_keyChars|in|number|Erase|_defaults|show|extend|mainDiv|_mainDivClass|_inlineClass|append|_focussedClass|_keystrokeClass|_coverClass|input|text|img|_lastInput|_doKeyDown|_doKeyUp|||_doKeyPress|remove|parents|position|scrollLeft|scrollTop|version|iframe|effects|match|widget|case|break|100|_trig|_atrig|_finished|_add|_subtract|_multiply|_divide|_equals|sin|cos|tan|asin|acos|atan|_close|_erase|regional|from|last|showOn|showAnim|showOptions|duration|normal|useThemeRoller|prompt|memoryAsCookie|cookieName|style|display|_appendClass|_disableClass|_resultClass|extendRemove|nodeName|bind|_setValue|both|src|title|keydown|keyup|keypress|_focussed|children|offset|height||_findPos|_getBorders|_savedValue|msie|body|max|hide|undefined|_saveClasses|_unaryOp|floor|_degreesRadians|decimal|add|subtract|_percent|_plusMinus|pi|_pi|_inverse|_log|LN|ln|_ln|_exp|exp|_sqr|_sqrt|sqrt|_power|_random|random|_sin|_cos|_tan|_asin|_acos|_atan|MC|_memClear|MR|_memRecall|MS|_memStore|_memAdd|_memSubtract|base2|_base2|base8|_base8|base10|_base10|base16|_base16|_degrees|_radians|BS|_undo|CE|_clearError|error|CA|_clear|close|use|_use|erase|buttonText|buttonStatus|Close|Use|Clear|Recall|buttonImage|buttonImageOnly|isOperator|appendText|calculatorClass|layout|standardLayout|precision|cookieExpires|cookiePath|constrainInput|onOpen|onButton|onClose|none|_focusEntry|prototype|result|BSCECA|_1_2_3_|_4_5_6_|_7_8_9_|_0_|_attachCalculator|_getMemoryCookie|_connectCalculator|_disableCalculator|before|after|opbutton|html|blur|empty|removeData|opacity|cursor|map|default|string|fixed|absolute|1000px|_checkOffset|_default||ec|storage|hidden|cookie|Date|toUTCString|_generateHTML|border|window|row|_checkExternalClick|andSelf|parent|not|charCode|_isOperator|0123456789abcdef|indexOf|header|charAt|oper|mousedown|_handleButton|Number|toFixed|valueOf|_digit|_binaryOp|180|concat|_0|_1|_2|_3|_4|_5|_6|_7|_8|_9|_A|_B|_C|_D|_E|_F|DECIMAL|ADD|SUBTRACT|multiply|MULTIPLY|divide|DIVIDE|percent|PERCENT|equals|EQUALS|plus|minus|PLUS_MINUS|inverse|INV|LG|LOG|EX|EXP|SQ|sqr|SQR|SR|SQRT|XY|power|POWER|RN|rnd|RANDOM|SN|SIN|CS|COS|TN|TAN|AS|ASIN|AC|ACOS|AT|ATAN|memClear|MEM_CLEAR|memRecall|recall|MEM_RECALL|memStore|store|MEM_STORE|memAdd|MEM_ADD|memSubtract|MEM_SUBTRACT|BB|BASE_2|BO|BASE_8|BD|BASE_10|BH|BASE_16|DG|DEGREES|RD|RADIANS|backspace|undo|UNDO|BSp|clearError|CLEAR_ERROR|Hom|CLEAR|End|CLOSE|Esc|USE|Ent|ERASE|Del|SPACE|half|HALF_SPACE|Open|closeText|closeStatus|useText|useStatus|current|eraseText|eraseStatus|field|backspaceText|backspaceStatus|clearErrorText|clearErrorStatus|clearText|clearStatus|Reset|memClearText|memClearStatus|memRecallText|memRecallStatus|memStoreText|memStoreStatus|Store|memAddText|memAddStatus|Add|memSubtractText|memSubtractStatus|Subtract|base2Text|Bin|base2Status|base8Text|Oct|base8Status|octal|base10Text|Dec|base10Status|base16Text|Hex|base16Status|hexadecimal|degreesText|Deg|degreesStatus|radiansText|Rad|radiansStatus|calculatorMemory|hasCalculator|popup|inline|trigger|keyentry|focussed|cover|scientificLayout|DGRD|MC_|SNASSRLG_|MR_|CSACSQLN_|MS_|TNATXYEX_|PIRN1X|setDefaults|addKeyDef|boolean|isNaN|is|alt|setData|getData|_destroyCalculator|prev|_enableCalculator|relative|prepend|inArray|_changeCalculator|offsetHeight|block|auto|setTime|getTime|1000|constructor|expires|path|content|rtl|thin|medium|thick|innerWidth|clientWidth|innerHeight|clientHeight|offsetLeft|offsetWidth|margin|right|while|nodeType|nextSibling|slideDown|slideUp|fadeIn|fadeOut|stop|ctrlKey|preventDefault|stopPropagation|String|fromCharCode|operator|substring|corner|all|Text|Status|split|join|highlight|ctrl|keyname|javascript|mouseover|className|key|down|mouseup|mouseout|toString|toUpperCase|switch|pow|Array|slice|call|arguments|isDisabled|throw|Unknown|operation|jQuery'.split('|'),0,{}))
© 2015 - 2025 Weber Informatics LLC | Privacy Policy