1"use strict"; 2 3var iesSessionInitialized = false; 4var piSession = window.piSession; 5 6(function() { 7 8 try { 9 var sessionId = getGlobalProperty('ies-client-id'); 10 if (piSession) { 11 piSession.initialize(sessionId, { 12 "useDefaultIdleTimoutWarningPopup": true, 13 "loginSuccessUrl" : window.location.href 14 }); 15 iesSessionInitialized = true; 16 } else { 17 console.warn("piSession is null, cannot initialize session."); 18 } 19 } catch (e) { 20 console.error("Error during piSession initialization;", e); 21 piSession = null; 22 } 23 24 function getGlobalProperty(key, defaultValue) { 25 if (globalProperties) { 26 for (var itemKey in globalProperties.globalProperties) { 27 if(globalProperties.globalProperties[itemKey][key]) { 28 return globalProperties.globalProperties[itemKey][key]; 29 } 30 } 31 return defaultValue; 32 33 } else { 34 return defaultValue; 35 } 36 } 37})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.