Mise en route du suivi.
[aidenligne_francais_universite.git] / dist / javascript / dragdrop_interface.js
1 /*
2 * Interface elements for jQuery - http://interface.eyecon.ro
3 *
4 * Copyright (c) 2006 Stefan Petre
5 * Dual licensed under the MIT (MIT-LICENSE.txt)
6 * and GPL (GPL-LICENSE.txt) licenses.
7 */
8 eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[(function(e){return d[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}('6.M={4Z:z(e,s){J l=0;J t=0;J 26=0;J 22=0;J w=6.C(e,\'1S\');J h=6.C(e,\'1T\');J 10=e.3c;J R=e.3d;3b(e.3a){l+=e.2b+(e.16?A(e.16.2H)||0:0);t+=e.2k+(e.16?A(e.16.2E)||0:0);9(s){26+=e.1r.1A||0;22+=e.1r.1n||0}e=e.3a}l+=e.2b+(e.16?A(e.16.2H)||0:0);t+=e.2k+(e.16?A(e.16.2E)||0:0);22=t-22;26=l-26;v{x:l,y:t,4A:26,4B:22,w:w,h:h,10:10,R:R}},1C:z(e){J x=0;J y=0;J 35=n;O=e.L;9(6(e).C(\'N\')==\'15\'){2e=O.1M;2n=O.1b;O.1M=\'36\';O.N=\'2L\';O.1b=\'2v\';35=D}u=e;3b(u){x+=u.2b+(u.16&&!6.1t.2c?A(u.16.2H)||0:0);y+=u.2k+(u.16&&!6.1t.2c?A(u.16.2E)||0:0);u=u.3a}u=e;3b(u&&u.4C.4D()!=\'Y\'){x-=u.1A||0;y-=u.1n||0;u=u.1r}9(35){O.N=\'15\';O.1b=2n;O.1M=2e}v{x:x,y:y}},1u:z(e){J w=6.C(e,\'1S\');J h=6.C(e,\'1T\');J 10=0;J R=0;O=e.L;9(6(e).C(\'N\')!=\'15\'){10=e.3c;R=e.3d}P{2e=O.1M;2n=O.1b;O.1M=\'36\';O.N=\'2L\';O.1b=\'2v\';10=e.3c;R=e.3d;O.N=\'15\';O.1b=2n;O.1M=2e}v{w:w,h:h,10:10,R:R}},3v:z(e){9(e){w=e.27;h=e.2a}P{1U=E.18;w=1H.2Z||2J.2Z||(1U&&1U.27)||E.Y.27;h=1H.3h||2J.3h||(1U&&1U.2a)||E.Y.2a}v{w:w,h:h}},4G:z(e){9(e){t=e.1n;l=e.1A;w=e.3e;h=e.2V;2I=0;2G=0}P{9(E.18&&E.18.1n){t=E.18.1n;l=E.18.1A;w=E.18.3e;h=E.18.2V}P 9(E.Y){t=E.Y.1n;l=E.Y.1A;w=E.Y.3e;h=E.Y.2V}2I=2J.2Z||E.18.27||E.Y.27||0;2G=2J.3h||E.18.2a||E.Y.2a||0}v{t:t,l:l,w:w,h:h,2I:2I,2G:2G}},4J:z(e,1I){u=6(e);t=u.C(\'3l\')||\'\';r=u.C(\'2M\')||\'\';b=u.C(\'2W\')||\'\';l=u.C(\'2N\')||\'\';9(1I)v{t:A(t)||0,r:A(r)||0,b:A(b)||0,l:A(l)};P v{t:t,r:r,b:b,l:l}},4K:z(e,1I){u=6(e);t=u.C(\'4S\')||\'\';r=u.C(\'4L\')||\'\';b=u.C(\'4M\')||\'\';l=u.C(\'4N\')||\'\';9(1I)v{t:A(t)||0,r:A(r)||0,b:A(b)||0,l:A(l)};P v{t:t,r:r,b:b,l:l}},2d:z(e,1I){u=6(e);t=u.C(\'2E\')||\'\';r=u.C(\'4O\')||\'\';b=u.C(\'4P\')||\'\';l=u.C(\'2H\')||\'\';9(1I)v{t:A(t)||0,r:A(r)||0,b:A(b)||0,l:A(l)||0};P v{t:t,r:r,b:b,l:l}},2Y:z(23){x=23.4R||(23.4T+(E.18.1A||E.Y.1A))||0;y=23.4V||(23.4X+(E.18.1n||E.Y.1n))||0;v{x:x,y:y}}};6.g={H:Z,8:Z,2K:z(){v j.2o(z(){9(j.2O){j.1V=Z;6(j).34(\'3r\',6.g.30)}})},3s:z(e){9(6.g.8!=Z){6.g.2w(e);v n}J 7=j.1V;6(E).2S(\'3A\',6.g.2X).2S(\'3B\',6.g.2w);7.5.T=6.M.2Y(e);7.5.17=7.5.T;7.5.2g=n;7.5.4Y=j!=j.1V;6.g.8=7;9(7.5.1y&&j!=j.1V){3m=6.M.1C(7.1r);3n=6.M.1u(7);3o={x:A(6.C(7,\'19\'))||0,y:A(6.C(7,\'1a\'))||0};F=7.5.17.x-3m.x-3n.10/2-3o.x;G=7.5.17.y-3m.y-3n.R/2-3o.y;6.31.50(7,[F,G])}v n},30:z(e){7=6.g.8;7.5.2g=D;2i=7.L;7.5.1G=6.C(7,\'N\');7.5.24=6.C(7,\'1b\');9(!7.5.47)7.5.47=7.5.24;7.5.S={x:A(6.C(7,\'19\'))||0,y:A(6.C(7,\'1a\'))||0};7.5.2q=0;7.5.2r=0;9(6.1t.3q){3p=6.M.2d(7,D);7.5.2q=3p.l||0;7.5.2r=3p.t||0}7.5.B=6.1x(6.M.1C(7),6.M.1u(7));9(7.5.24!=\'48\'&&7.5.24!=\'2v\'){2i.1b=\'48\'}6.g.H.3w();14=7.51(D);6(14).C({N:\'2L\',19:\'1E\',1a:\'1E\'});14.L.3l=\'0\';14.L.2M=\'0\';14.L.2W=\'0\';14.L.2N=\'0\';6.g.H.20(14);9(7.5.1O)7.5.1O.1w(7,[14]);12=6.g.H.W(0).L;9(7.5.3f){12.1S=\'49\';12.1T=\'49\'}P{12.1T=7.5.B.R+\'1e\';12.1S=7.5.B.10+\'1e\'}12.N=\'2L\';12.3l=\'1E\';12.2M=\'1E\';12.2W=\'1E\';12.2N=\'1E\';6.1x(7.5.B,6.M.1u(14));9(7.5.V){9(7.5.V.19){7.5.S.x+=7.5.T.x-7.5.B.x-7.5.V.19;7.5.B.x=7.5.T.x-7.5.V.19}9(7.5.V.1a){7.5.S.y+=7.5.T.y-7.5.B.y-7.5.V.1a;7.5.B.y=7.5.T.y-7.5.V.1a}9(7.5.V.2P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q.13[i]!=Z){c=6.q.13[i].W(0);9(6.32.3F(6.g.8,c.k.a)){9(c.k.m==n){c.k.p=6.1x(6.M.1C(c),6.M.1u(c));c.k.m=D}9(c.k.1h){6.q.13[i].2t(c.k.1h)}6.q.U[i]=6.q.13[i];9(6.I&&c.k.s==D){c.k.u=6(\'.\'+c.k.a,c);7.L.N=\'15\';6.I.3J(c);7.L.N=7.5.1G;2f=D}}}}9(2f){6.I.4f()}},45:z(){6.q.U={};28(i 1Q 6.q.13){9(6.q.13[i]!=Z){c=6.q.13[i].W(0);9(6.32.3F(6.g.8,c.k.a)){c.k.p=6.1x(6.M.1C(c),6.M.1u(c));9(c.k.1h){6.q.13[i].2t(c.k.1h)}6.q.U[i]=6.q.13[i];9(6.I&&c.k.s==D){c.k.u=6(\'.\'+c.k.a,c);7.L.N=\'15\';6.I.3J(c);7.L.N=7.5.1G;2f=D}}}}},33:z(e){9(6.g.8==Z){v}6.q.1i=n;J i;37=n;28(i 1Q 6.q.U){c=6.q.U[i].W(0);9(6.q.1i==n&&6.q[c.k.t](c.k.p.x,c.k.p.y,c.k.p.10,c.k.p.R)){9(c.k.1v&&c.k.h==n){6.q.U[i].2D(c.k.1h);6.q.U[i].2t(c.k.1v)}9(c.k.h==n&&c.k.2h){37=D}c.k.h=D;6.q.1i=c;9(6.I&&c.k.s==D){6.I.H.W(0).32=c.k.3G;6.I.33(c)}}P{9(c.k.2s&&c.k.h==D){c.k.2s.1w(c,[e,14,c.k.11])}9(c.k.1v){6.q.U[i].2D(c.k.1v);6.q.U[i].2t(c.k.1h)}c.k.h=n}}9(6.I&&6.q.1i==n){6.I.H.W(0).L.N=\'15\';6(\'Y\').20(6.I.H.W(0))}9(37){6.q.1i.k.2h.1w(6.q.1i,[e,14])}},3Z:z(e){J i;28(i 1Q 6.q.U){c=6.q.U[i].W(0);9(c.k.1h){6.q.U[i].2D(c.k.1h)}9(c.k.1v){6.q.U[i].2D(c.k.1v)}9(c.k.s){6.I.40[6.I.40.3i]=i}9(c.k.2m&&c.k.h==D){c.k.h=n;c.k.2m.1w(c,[e,c.k.11])}c.k.m=n;c.k.h=n}6.q.U={}},2K:z(){v j.2o(z(){9(j.2u){9(j.k.s){1o=6.44(j,\'1o\');6.I.43[1o]=Z;6(\'.\'+j.k.a,j).46()}6.q.13[\'d\'+j.2U]=Z;j.2u=n;j.f=Z}})},2p:z(o){v j.2o(z(){9(j.2u==D||!o.3u||!6.M||!6.g){v}j.k={a:o.3u,1h:o.4e,1v:o.4g,3G:o.4l,2m:o.4m||o.2m,2h:o.2h||o.4q,2s:o.2s||o.4s,t:o.2y&&(o.2y==\'3T\'||o.2y==\'3V\')?o.2y:\'T\',11:o.11?o.11:n,m:n,h:n};9(o.4H==D&&6.I){1o=6.44(j,\'1o\');6.I.43[1o]=j.k.a;j.k.s=D;9(o.2T){j.k.2T=o.2T;j.k.4h=6.I.4n(1o).4r}}j.2u=D;j.2U=A(1f.4F()*4Q);6.q.13[\'d\'+j.2U]=6(j);6.q.1W++})}};6.3U.1x({4I:6.q.2K,4c:6.q.2p});6.4t=6.q.45;',62,312,'|||||dragCfg|jQuery|elm|dragged|if|||iEL||||iDrag|||this|dropCfg|||false|||iDrop||||el|return||||function|parseInt|oC|css|true|document|dx|dy|helper|iSort|var|containment|style|iUtil|display|es|else|cont|hb|oR|pointer|highlighted|cursorAt|get|axis|body|null|wb|fx|dhs|zones|clonedEl|none|currentStyle|currentPointer|documentElement|left|top|position|opacity|constructor|px|Math|zoney|ac|overzone|onDrag|zonex|els|grid|scrollTop|id|ny|nx|parentNode|newCoords|browser|getSize|hc|apply|extend|si|onChange|scrollLeft|dh|getPosition|zonew|0px|onSlide|oD|window|toInteger|ghosting|zIndex|zoneh|visibility|onStop|onStart|gx|in|parentBorders|width|height|de|dragElem|count|nRy|Function|gy|append|insideParent|st|event|oP|contBorders|sl|clientWidth|for|nRx|clientHeight|offsetLeft|opera|getBorder|oldVisibility|oneIsSortable|init|onHover|dEs|hidehelper|offsetTop|prot|onDrop|oldPosition|each|build|diffX|diffY|onOut|addClass|isDroppable|absolute|dragstop|horizontally|tolerance|ActiveXObject|so|vertically|snapDistance|removeClass|borderTopWidth|parent|ih|borderLeftWidth|iw|self|destroy|block|marginRight|marginLeft|isDraggable|right|bottom|dhe|bind|onchange|idsa|scrollHeight|marginBottom|dragmove|getPointer|innerWidth|dragstart|iSlider|className|checkhover|unbind|restoreStyle|hidden|applyOnHover|revert|hpc|offsetParent|while|offsetWidth|offsetHeight|scrollWidth|autoSize|user|innerHeight|length|clnt|fractions|marginTop|parentPos|sliderSize|sliderPos|oldBorder|msie|mousedown|draginit|getContainment|accept|getClient|empty|filter|alpha|100|mousemove|mouseup|highlight|new|custom|has|shc|snapToGrid|abs|measure|fitToContainer|min|max|pow|distance|div|dragHelper|cursor|move|fit|fn|intersect|onselectstart|ondragstart|handle|checkdrop|changed|String|Array|collected|attr|remeasure|DraggableDestroy|initialPosition|relative|auto|modifyContainer|Draggable|Droppable|hide|activeclass|start|hoverclass|os|animate|check|lastSi|helperclass|ondrop|serialize|sqrt|Object|onhover|hash|onout|recallDroppables|listStyle|overflow|mozUserSelect|userSelect|find|parseFloat|sx|sy|tagName|toLowerCase|test|random|getScroll|sortable|DroppableDestroy|getMargins|getPadding|paddingRight|paddingBottom|paddingLeft|borderRightWidth|borderBottomWidth|10000|pageX|paddingTop|clientX|typeof|pageY|number|clientY|fromHandler|getPos|dragmoveBy|cloneNode'.split('|'),0,{}))