Viewing File: /usr/local/cpanel/base/frontend/jupiter/js/CookieHelper.min.js

var isWebMail=0,NVData_pending=0;function DidSetNvData(e,a){if(NVData_pending=0,e)for(var t=0;t<e.length;t++)null!=e[t].set?null!=a&&a(e[t].set):alert("Invalid Data in response from json-api: "+o.responseText);else alert("Invalid json response from json-api: "+o.responseText)}function FailSetNvData(e){}function SetNvData(e,a,t,n){void 0===window.cpanel_jsonapi2&&alert("You must load jsonapi.js before using SetNvData into this page: "+window.location.href),cpanel_jsonapi2((function(e){DidSetNvData(e,t)}),"NVData","set","names",e,e,a,"__nvdata::nocache",n?1:0),NVData_pending=1,NVData[e]=a}function GotNvData(e,a){if(e)if(a)for(var t=0;t<e.length;t++)if(e[t].name){var n="";e[t].value&&(n=e[t].value),a(e[t].name,unescape(n))}else alert("Invalid Data in response from NVData get");else alert("GetNvData call is missing a callback function on: "+window.location.href);else alert("Invalid json response from json-api NVData get")}function FailGetNvData(e){}function GetNvData(e,a){void 0===window.cpanel_jsonapi2&&alert("You must load jsonapi.js before using SetNvData into this page: "+window.location.href),cpanel_jsonapi2((function(e){GotNvData(e,a)}),"NVData","get","names",e)}function SetCookie(e,a,t,n){document.cookie=e+"="+escape(a)+(t?"; expires="+t.toGMTString():"")+(n?"; path="+n:"")}function GetCookie(e){for(var a=document.cookie,t=e+"=",n=a.length,i=0;i<n;){var o=i+t.length;if(a.substring(i,o)==t){var s=a.indexOf(";",o);return-1==s&&(s=n),unescape(a.substring(o,s))}if(0==(i=a.indexOf(" ",i)+1))break}return null}function include_dom(e){var a=document.getElementsByTagName("head").item(0),t=document.createElement("script");return t.setAttribute("language","javascript"),t.setAttribute("type","text/javascript"),t.setAttribute("src",e),a.appendChild(t),!1}
Back to Directory File Manager