source: extensions/GMaps/js/gmapsMarkup.packed.js @ 8184

Last change on this file since 8184 was 7616, checked in by grum, 14 years ago

fix bug:2004 - Cache table becomes very huge
fix bug:2005 - Category map is not displayed when a [gmaps] map is inserted in category description

  • Property svn:executable set to *
File size: 5.9 KB
Line 
1/* file: gmapsMarkup.js - v1.1.0 | packed on 2010/11/04 with http://joliclic.free.fr/php/javascript-packer/ */
2eval(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}('f V=[s,{w:32,h:32,x:15,y:31},{w:32,h:32,x:15,y:31},{w:32,h:32,x:10,y:31},{w:30,h:2M,x:4,y:39},];9 2m(){P.1Q=9(8,S){f z=p l.3.2O(p l.3.1i(8.11.25,8.11.2b),p l.3.1i(8.11.1W,8.11.1X)),5=p l.3.2B($("#"+8.m).1P(0),{2D:\'#2J\',3h:8.3c,3d:8.1n,3f:z.1V(),1g:(8.1g==-1)?E:v,2V:(8.1g==-1)?E:v,21:(8.21==\'n\')?E:v,22:(8.22==\'n\')?E:v,1k:(8.1k==-1)?E:v,3b:{33:8.1k},2Z:\'\',});6(8.1Z!=\'\'){F=p l.3.2Y(8.1Z,{2X:v});F.1T(5)}A{F=s}1Y=/^37(\\d\\d)3e.*/i;C=1Y.3g(8.T);6(C!=s)C=p 38(C[1]);6(C!=s){5.T=p l.3.3a(\'1w/1v/1O/\'+8.T,p l.3.2U(V[C].w,V[C].h),p l.3.1U(0,0),p l.3.1U(V[C].x,V[C].y))}A{5.T=s}5.z=z;5.F=F;5.k=p 2G();5.S=S;5.I=8.I;5.O=8.O;5.Q=0;5.1j=8.1j;5.1e=E;8.q=5;6(8.2H){6(8.12){12(5.z,S)}A{5.2E(5.z.1V())}}6(8.2q){17(5)}A{1m(S)}};f 17=9(5){6(5.Y()==s)N(E);5.Q++;1s={1x:2.1x,Q:5.Q,z:{1W:5.Y().24().1t(),1X:5.Y().24().1h(),25:5.Y().2c().1t(),2b:5.Y().2c().1h()},I:5.I,O:5.O,2R:20,1b:5.S,};$.2t({2u:"2s",2r:"1w/1v/2n.2i",2w:v,2g:{2j:"2k.3.2P",1s:1s},1J:9(1a){M=$.2L(1a);6(2.3[M.1b].q.Q==M.Q){M.k.3i(1G);26(2.3[M.1b].q,M.k);1m(M.1b)}}})};f 26=9(5,k){6(5==s)N(E);6(5.k.u>0){f i=0;3P(i<5.k.u){1l=1A(5.k[i].D,k);6(1l==-1){5.k[i].j.1T(s);5.k.2e(i,1)}A{k.2e(1l,1);i++}}}W(f i=0;i<k.u;i++){f j=p l.3.3H({3I:p l.3.1i(k[i].1t,k[i].1h),5:5,1D:k[i].1q});6(5.T!=s)j.3J(5.T);j.B=k[i];j.B.r=0;5.k.3R({j:j,D:k[i].D});6(5.1j){l.3.Z.13(j,\'1K\',9(){1H(P)})}W(f g=0;g<j.B.J.u;g++){3T(j.B.J[g].3V(0)){2f\'G\':j.B.J[g]=\'./3W/\'+j.B.J[g].1C(1);1F;2f\'U\':j.B.J[g]=\'./3p/\'+j.B.J[g].1C(1);1F}}}};f 1G=9(1f,1c){6(1f.D<1c.D){N(-1)}A 6(1f.D<1c.D){N(1)}N(0)};f 1A=9(1S,1d){W(f i=0;i<1d.u;i++){6(1d[i].D==1S)N(i)}N(-1)};f 1H=9(j){2.7=j.B;2.K.2p();2.K.2x($(\'#1B\').3k().1N(1o).1P(0));2.K.3l(j.5,j);16(2.7.r)};f 1o=9(i,e){6(e.m!=\'\')e.m=\'c\'+e.m;$(e).3m().1N(1o)};f 16=9(g){2.7.r=g;6(2.7.1I[g]==\'\'){$(\'#1M\').H(\'&3u;\')}A{$(\'#1M\').H(2.7.1I[g])}$(\'#X\').3C(\'27\',2.7.J[g]);$(\'#X\').2o();6(2.7.18[g].u==1){$(\'#X\').1u(\'1K\',9(){2h.3A=2.7.18[2.7.r][0]})}A{$(\'#1L\').H(\'\');W(f i=0;i<2.7.18[g].u;i++){$(\'#1L\').o(\'<28><a 3v="\'+2.7.18[g][i]+\'">\'+2.7.3w[g][i]+\'</a></28>\')}$(\'#X, #1p\').1u(\'3y\',9(){$(\'#1p\').t(\'R\',\'2z\')}).1u(\'3x\',9(){$(\'#1p\').t(\'R\',\'14\')})}6(2.7.1r>1){$(\'#2y\').H((g+1)+\'/\'+2.7.1q);$(\'#2v, #2l\').t(\'R\',\'3D-2z\')}A{$(\'#2y\').H(2.7.1q);$(\'#2v, #2l\').t(\'R\',\'14\')}};P.1z=9(){2.7.r--;6(2.7.r<0)2.7.r=2.7.1r-1;16(2.7.r)};P.2d=9(){2.7.r++;6(2.7.r>=2.7.1r)2.7.r=0;16(2.7.r)};f 12=9(z,b){2.3[b].q.3n(z);6(2.3[b].3o&&2.3[b].q.3r()>2.3[b].1n){2.3[b].q.3q(2.3[b].1n)}};f 1m=9(b){6(b>-1&&!2.3[b].q.1e){$(\'#\'+2.3[b].m+\' 23, #\'+2.3[b].m+\' a\').t(\'3M-3Q\',\'3O.0%\');6(2.3[b].2q){l.3.Z.13(2.3[b].q,\'3N\',9(){17(P)});l.3.Z.13(2.3[b].q,\'3s\',9(){17(P);2.K.2p()})}6(2.3[b].2S&&2.3[b].q.F!=s){l.3.Z.2K(2.3[b].q.F,\'2I\',9(){12(2.3[b].q.F.2A(),b)})}2.3[b].q.1e=v}}}$(2h).2W(9(){f 19=p 2m();2.7=s;2.K=p l.3.3F();l.3.Z.13(2.K,\'34\',9(){2.K.2x(\'\');$(\'#X\').2o()});$.2t({2u:"2s",2r:"1w/1v/2n.2i",2w:v,2g:{2j:"2k.3.3t",3B:2.3E,3z:\'y\'},1J:9(1a){2.1x=1a;W(f i=0;i<2.3.u;i++){$(\'#\'+2.3[i].m).t({I:2.3[i].I+\'1R\',O:2.3[i].O+\'1R\'});19.1Q(2.3[i],i)}}});6($(\'#1E\').u==0){$(\'3j\').o($(\'<L/>\',{m:\'1E\',t:{R:\'14\'},}).o($(\'<L/>\',{m:\'1B\'}).o($(\'<L/>\',{m:\'3G\',H:\'(1D)\'})).o($(\'<3U/>\',{m:\'3X\'}).o($(\'<3K/>\').o($(\'<1y/>\',{t:{I:\'29\'}}).o($(\'<L m="3S" 2a="19.1z();"/>\'))).o($(\'<1y/>\').o($(\'<1O/>\',{m:\'3L\',27:\'\'}))).o($(\'<1y/>\',{t:{I:\'29\'}}).o($(\'<L m="2N" 2a="19.2d();">\'))))).o($(\'<L/>\',{m:\'2T\',H:\'0/0 2F\'})).o($(\'<L/>\',{m:\'2Q\',t:{R:\'14\'}}).o($(\'<23/>\',{H:\'35\'})).o($(\'<2C/>\',{m:\'36\'})))))}});',62,246,'||gmapsMarkup|maps||map|if|currentInfo|properties|function||mapIndex||||var|index|||marker|markers|google|id||append|new|gMap|displayed|null|css|length|true||||bounds|else|info|iM|uId|false|kmlFile||html|width|imgTn|infoWindow|div|tmp|return|height|this|callId|display|gmapsIndex|markerImg||markerImgProp|for|ciGMIWC_img|getBounds|event||mapBounds|fitToBounds|addListener|none||displayPictureInfo|loadMarkers|imgCatsUrl|mm|msg|loadIndex|m2|markerList|initialized|m1|navigationControl|lng|LatLng|allowBubble|mapTypeControl|newListIndex|initializeMapViewport|zoomLevel|renameId|ciGMIWC_showcat|nbImgTxt|nbImg|datas|lat|bind|GMaps|plugins|requestId|td|displayPicturePrev|markerInList|iGMapsInfoWindowContent|substr|title|iGMapsInfoWindow|break|compareMarkers|displayWindowInfo|imgName|success|click|ciGMIWC_showcatList|ciGMIWC_title|each|img|get|createMap|px|uniqueId|setMap|Point|getCenter|north|east|re|kmlFileUrl||scaleControl|streetViewControl|span|getNorthEast|south|applyMarkers|src|li|28px|onclick|west|getSouthWest|displayPictureNext|splice|case|data|window|php|ajaxfct|public|ciWARight|markupMaps|gmaps_ajax|unbind|close|markerVisible|url|POST|ajax|type|ciWALeft|async|setContent|ciGMIWC_picnum|block|getDefaultViewport|Map|ul|backgroundColor|setCenter|photo|Array|geolocated|defaultviewport_changed|ffffff|addListenerOnce|parseJSON|40|iWARight|LatLngBounds|getMarkers|iGMIWC_showcat|distanceTreshold|kmlZoom|iGMIWC_picnum|Size|scrollwheel|load|preserveViewport|KmlLayer|markerTitle||||style|closeclick|gmaps_i_show_this_picture_in|iGMIWC_showcatList|mS|Number||MarkerImage|mapTypeControlOptions|mapType|zoom|_|center|exec|mapTypeId|sort|body|clone|open|children|fitBounds|zoomLevelMaxActivated|upload|setZoom|getZoom|zoom_changed|init|nbsp|href|imgCatsNames|mouseleave|mouseenter|mapId|location|category|attr|inline|categoryId|InfoWindow|iGMIWC_title|Marker|position|setIcon|tr|iGMIWC_img|font|dragend|55|while|size|push|iWALeft|switch|table|charAt|galleries|iGMIWC_thumb'.split('|'),0,{}))
Note: See TracBrowser for help on using the repository browser.