0% found this document useful (0 votes)
20K views6 pages

F

This document defines functions for hashing and cryptographic operations using the CryptoJS library. It begins by defining constants and initializing the CryptoJS namespace. It then defines word and word array objects for 64-bit operations. Various hashing algorithms are defined, including SHA-512 and an extension of SHA-512 called SHA-384.

Uploaded by

Roger Wong
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20K views6 pages

F

This document defines functions for hashing and cryptographic operations using the CryptoJS library. It begins by defining constants and initializing the CryptoJS namespace. It then defines word and word array objects for 64-bit operations. Various hashing algorithms are defined, including SHA-512 and an extension of SHA-512 called SHA-384.

Uploaded by

Roger Wong
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

var com_sas_ci_acs=com_sas_ci_acs||

{};com_sas_ci_acs.version="1.1.0";com_sas_ci_acs.webmarketing=!
1;com_sas_ci_acs.newvid=!1;
(function(){var
a={sessionStorage:"sessionStorage",localStorage:"localStorage"},e;for(e in a)
(function(a){try{var
c=window[a];c.setItem("a","b");c.getItem("a");c.removeItem("a");return!1}catch(g)
{return!0}})(e)?com_sas_ci_acs[a[e]]={_data:{},setItem:function(a,c){return
this._data[a]=String(c)},getItem:function(a){return this._data.hasOwnProperty(a)?
this._data[a]:void 0},removeItem:function(a){return delete
this._data[a]},clear:function(){return
this._data={}}}:com_sas_ci_acs[a[e]]=window[e]})();
var CryptoJS=CryptoJS||function(a,e){var f={},c=f.lib={},g=function()
{},h=c.Base={extend:function(a){g.prototype=this;var c=new
g;a&&c.mixIn(a);c.hasOwnProperty("init")||(c.init=function(){c.
$super.init.apply(this,arguments)});c.init.prototype=c;c.$super=this;return
c},create:function(){var a=this.extend();a.init.apply(a,arguments);return
a},init:function(){},mixIn:function(a){for(var c in
a)a.hasOwnProperty(c)&&(this[c]=a[c]);a.hasOwnProperty("toString")&&(this.toString=
a.toString)},clone:function(){return this.init.prototype.extend(this)}},
m=c.WordArray=h.extend({init:function(a,c){a=this.words=a||[];this.sigBytes=c!=e?
c:4*a.length},toString:function(a){return(a||y).stringify(this)},concat:function(a)
{var c=this.words,e=a.words,f=this.sigBytes;a=a.sigBytes;this.clamp();if(f
%4)for(var n=0;n<a;n++)c[f+n>>>2]|=(e[n>>>2]>>>24-n%4*8&255)<<24-(f+n)%4*8;else
if(65535<e.length)for(n=0;n<a;n+=4)c[f+n>>>2]=e[n>>>2];else
c.push.apply(c,e);this.sigBytes+=a;return this},clamp:function(){var
c=this.words,e=this.sigBytes;c[e>>>2]&=4294967295<<32-
e%4*8;c.length=a.ceil(e/4)},clone:function(){var
a=h.clone.call(this);a.words=this.words.slice(0);return a},random:function(c)
{for(var e=[],f=0;f<c;f+=4)e.push(4294967296*a.random()|0);return new
m.init(e,c)}}),k=f.enc={},y=k.Hex={stringify:function(a){var
c=a.words;a=a.sigBytes;for(var e=[],f=0;f<a;f++){var n=c[f>>>2]>>>24-f
%4*8&255;e.push((n>>>4).toString(16));e.push((n&15).toString(16))}return
e.join("")},parse:function(a){for(var c=a.length,e=[],f=0;f<c;f+=2)e[f>>>3]|
=parseInt(a.substr(f,2),16)<<
24-f%8*4;return new m.init(e,c/2)}},r=k.Latin1={stringify:function(a){var
c=a.words;a=a.sigBytes;for(var e=[],f=0;f<a;f+
+)e.push(String.fromCharCode(c[f>>>2]>>>24-f%4*8&255));return
e.join("")},parse:function(a){for(var c=a.length,e=[],f=0;f<c;f++)e[f>>>2]|
=(a.charCodeAt(f)&255)<<24-f%4*8;return new
m.init(e,c)}},x=k.Utf8={stringify:function(a){try{return
decodeURIComponent(escape(r.stringify(a)))}catch(ta){throw Error("Malformed UTF-8
data");}},parse:function(a){return r.parse(unescape(encodeURIComponent(a)))}},
z=c.BufferedBlockAlgorithm=h.extend({reset:function(){this._data=new
m.init;this._nDataBytes=0},_append:function(a){"string"==typeof
a&&(a=x.parse(a));this._data.concat(a);this._nDataBytes+=a.sigBytes},_process:funct
ion(c){var e=this._data,f=e.words,g=e.sigBytes,h=this.blockSize,n=g/(4*h);n=c?
a.ceil(n):a.max((n|0)-this._minBufferSize,0);c=n*h;g=a.min(4*c,g);if(c){for(var
k=0;k<c;k+=h)this._doProcessBlock(f,k);k=f.splice(0,c);e.sigBytes-=g}return new
m.init(k,g)},clone:function(){var a=h.clone.call(this);
a._data=this._data.clone();return
a},_minBufferSize:0});c.Hasher=z.extend({cfg:h.extend(),init:function(a)
{this.cfg=this.cfg.extend(a);this.reset()},reset:function()
{z.reset.call(this);this._doReset()},update:function(a)
{this._append(a);this._process();return this},finalize:function(a)
{a&&this._append(a);return
this._doFinalize()},blockSize:16,_createHelper:function(a){return function(c,e)
{return(new a.init(e)).finalize(c)}},_createHmacHelper:function(a){return
function(c,e){return(new qa.HMAC.init(a,
e)).finalize(c)}}});var qa=f.algo={};return f}(Math);
(function(a){var
e=CryptoJS,f=e.lib,c=f.Base,g=f.WordArray;e=e.x64={};e.Word=c.extend({init:function
(a,c){this.high=a;this.low=c}});e.WordArray=c.extend({init:function(c,e)
{c=this.words=c||[];this.sigBytes=e!=a?e:8*c.length},toX32:function(){for(var
a=this.words,c=a.length,e=[],f=0;f<c;f++){var
r=a[f];e.push(r.high);e.push(r.low)}return
g.create(e,this.sigBytes)},clone:function(){for(var
a=c.clone.call(this),e=a.words=this.words.slice(0),f=e.length,g=0;g<f;g+
+)e[g]=e[g].clone();return a}})})();
(function(){function a(){return g.create.apply(g,arguments)}var
e=CryptoJS,f=e.lib.Hasher,c=e.x64,g=c.Word,h=c.WordArray;c=e.algo;for(var
m=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921
009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,29
37671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542)
,a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(216207
8206,991336113),a(2614888103,633803317),
a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(2643470
78,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431
235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2
821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891
,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936
),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(139618
2291,
2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,12067591
42),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(325
9730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1
432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),
a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571
,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036
899),
a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(236185
2424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,29993
51573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(
3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421
,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),
a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(12880334
70,
3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,124618959
1)],k=[],y=0;80>y;y++)k[y]=a();c=c.SHA512=f.extend({_doReset:function()
{this._hash=new h.init([new g.init(1779033703,4089235720),new
g.init(3144134277,2227873595),new g.init(1013904242,4271175723),new
g.init(2773480762,1595750129),new g.init(1359893119,2917565137),new
g.init(2600822924,725511199),new g.init(528734635,4215389547),new
g.init(1541459225,327033209)])},_doProcessBlock:function(a,c){var
e=this._hash.words,
f=e[0],g=e[1],h=e[2],l=e[3],q=e[4],r=e[5],x=e[6];e=e[7];for(var
y=f.high,T=f.low,ha=g.high,U=g.low,ia=h.high,V=h.low,ja=l.high,W=l.low,ka=q.high,X=
q.low,la=r.high,Y=r.low,ma=x.high,Z=x.low,na=e.high,aa=e.low,D=y,A=T,N=ha,L=U,O=ia,
M=V,da=ja,P=W,E=ka,B=X,ba=la,Q=Y,ca=ma,R=Z,ea=na,S=aa,F=0;80>F;F++){var
I=k[F];if(16>F)var C=I.high=a[c+2*F]|0,t=I.low=a[c+2*F+1]|0;else{C=k[F-
15];t=C.high;var G=C.low;C=(t>>>1|G<<31)^(t>>>8|G<<24)^t>>>7;G=(G>>>1|
t<<31)^(G>>>8|t<<24)^(G>>>7|t<<25);var K=k[F-2];t=K.high;var w=
K.low;K=(t>>>19|w<<13)^(t<<3|w>>>29)^t>>>6;w=(w>>>19|t<<13)^(w<<3|t>>>29)^(w>>>6|
t<<26);t=k[F-7];var fa=t.high,J=k[F-16],H=J.high;J=J.low;t=G+t.low;C=C+fa+
(t>>>0<G>>>0?1:0);t+=w;C=C+K+(t>>>0<w>>>0?1:0);t+=J;C=C+H+(t>>>0<J>>>0?
1:0);I.high=C;I.low=t}fa=E&ba^~E&ca;J=B&Q^~B&R;I=D&N^D&O^N&O;var
ra=A&L^A&M^L&M;G=(D>>>28|A<<4)^(D<<30|A>>>2)^(D<<25|A>>>7);K=(A>>>28|D<<4)^(A<<30|
D>>>2)^(A<<25|D>>>7);w=m[F];var sa=w.high,oa=w.low;w=S+((B>>>14|E<<18)^(B>>>18|
E<<14)^(B<<23|E>>>9));H=ea+((E>>>14|B<<18)^(E>>>18|
B<<14)^(E<<23|B>>>9))+(w>>>0<S>>>0?1:0);w+=J;H=H+fa+(w>>>0<J>>>0?1:0);w+=oa;H=H+sa+
(w>>>0<oa>>>0?1:0);w+=t;H=H+C+(w>>>0<t>>>0?1:0);t=K+ra;I=G+I+(t>>>0<K>>>0?
1:0);ea=ca;S=R;ca=ba;R=Q;ba=E;Q=B;B=P+w|0;E=da+H+(B>>>0<P>>>0?1:0)|
0;da=O;P=M;O=N;M=L;N=D;L=A;A=w+t|0;D=H+I+(A>>>0<w>>>0?1:0)|
0}T=f.low=T+A;f.high=y+D+(T>>>0<A>>>0?1:0);U=g.low=U+L;g.high=ha+N+(U>>>0<L>>>0?
1:0);V=h.low=V+M;h.high=ia+O+(V>>>0<M>>>0?1:0);W=l.low=W+P;l.high=ja+da+
(W>>>0<P>>>0?1:0);X=q.low=X+B;q.high=ka+E+(X>>>0<B>>>0?1:0);Y=r.low=
Y+Q;r.high=la+ba+(Y>>>0<Q>>>0?1:0);Z=x.low=Z+R;x.high=ma+ca+(Z>>>0<R>>>0?
1:0);aa=e.low=aa+S;e.high=na+ea+(aa>>>0<S>>>0?1:0)},_doFinalize:function(){var
a=this._data,c=a.words,e=8*this._nDataBytes,f=8*a.sigBytes;c[f>>>5]|=128<<24-f
%32;c[(f+128>>>10<<5)+30]=Math.floor(e/4294967296);c[(f+128>>>10<<5)+31]=e;a.sigByt
es=4*c.length;this._process();return this._hash.toX32()},clone:function(){var
a=f.clone.call(this);a._hash=this._hash.clone();return
a},blockSize:32});e.SHA512=f._createHelper(c);e.HmacSHA512=
f._createHmacHelper(c)})();
(function(){var a=CryptoJS,e=a.x64,f=e.Word,c=e.WordArray;e=a.algo;var
g=e.SHA512;e=e.SHA384=g.extend({_doReset:function(){this._hash=new c.init([new
f.init(3418070365,3238371032),new f.init(1654270250,914150663),new
f.init(2438529370,812702999),new f.init(355462360,4144912697),new
f.init(1731405415,4290775857),new f.init(2394180231,1750603025),new
f.init(3675008525,1694076839),new
f.init(1203062813,3204075428)])},_doFinalize:function(){var
a=g._doFinalize.call(this);a.sigBytes-=16;return a}});a.SHA384=
g._createHelper(e);a.HmacSHA384=g._createHmacHelper(e)})();
(function(){var a=function(a){return"undefined"!==typeof a&&null!==a};try{var
e="sas-ci360-hidden",f=document.getElementById("ob-script-
async");if(a(f)&&"object"===typeof f.attributes&&"undefined"!==typeof
f.attributes.getNamedItem){var
c=f.attributes.getNamedItem("hiddenClass");a(c)&&a(c.value)&&(e=c.value)}if("functi
on"===typeof document.querySelectorAll){var
g=document.querySelectorAll("."+e);for(a=0;a<g.length;a+
+)g[a].style.visibility="hidden"}g=document;var h=new MutationObserver(function(a)
{a.forEach(function(a){for(var c=
0;c<a.addedNodes.length;c++){var f=a.addedNodes[c];f instanceof
Element&&"undefined"!==typeof f.classList&&null!
==f.classList&&f.classList.contains(e)&&(f.style.visibility="hidden")}})});h.observ
e(g,{childList:!0,subtree:!0});"function"===typeof
window.addEventListener&&window.addEventListener("load",function()
{h.disconnect()});setTimeout(function(){if("function"===typeof
document.querySelectorAll)for(var
a=document.querySelectorAll("."+e),c=0;c<a.length;c+
+)a[c].style.visibility="visible"},2E3)}catch(m){console.log("error in mutation
observer registration "+
m)}})();var sasScript=document.getElementById("ob-script-async");if(sasScript){var
overrideDomain=sasScript.getAttribute("overrideDomain");overrideDomain&&(com_sas_ci
_acs.overrideDomain=overrideDomain)}
com_sas_ci_acs.ap=function(){var a=3;return{i:function(e,f,c){if("undefined"!
==typeof com_sas_ci_acs.ob_configure&&"undefined"!==typeof
com_sas_ci_acs.ob_configure.getLoadId()&&0<com_sas_ci_acs.ob_configure.getLoadId().
length&&"undefined"!==typeof com_sas_ci_acs.api_engine)return
com_sas_ci_acs.api_engine.i(e,f,c);setTimeout(function(){0<--
a&&com_sas_ci_acs.ap.i(e,f,c)},1E3)}}}();
com_sas_ci_acs.ob_util_jsvar={nextChar:function(a,e,f){var
c=a.indexOf(e);a=a.indexOf(f);return-1===c&&-1==a?"":-1===c?f:-1===a?e:c<a?
e:f},tokenizeObjectString:function(a){for(var e=[];0<a.length;){var
f=a.indexOf("."),c=a.indexOf("[");if(0!==f&&0!==c){var
g=this.nextChar(a,".","[");"."===g?(e.push(a.substring(0,f)),a=a.slice(f)):"["===g?
(e.push(a.substring(0,c)),a=a.slice(c)):(e.push(a),a="")}else 0===f?
(a=a.slice(1),c=this.nextChar(a,".","["),""!==c?
(c=a.indexOf(c),e.push(a.substring(0,c)),a=a.slice(c)):
(e.push(a),a="")):0===c?(f=a.charAt(1),"'"===f||'"'===f?
(c+=1,f=a.charAt(c),f=a.slice(c+1).indexOf(f)
+c+1,g=f+1,e.push(a.substring(c+1,f)),a=a.slice(g+1)):
(c=a.indexOf("]"),e.push(a.substring(1,c)),a=a.slice(c+1))):a=""}return
e},getVariableFromObjectString:function(a){for(var e=a.length,f=0,c=window;null!
=c&&f<e;)c=c[a[f++]];return f&&f===e?c:void 0},getJsVariable:function(a){try{var
e=this.tokenizeObjectString(a);return this.getVariableFromObjectString(e)}catch(f)
{com_sas_ci_acs.ob_util.log("exception occurred in getJsVariable for '"+
a+"' : "+f)}}};
com_sas_ci_acs.ob_util_async={load_guid:"",custom_domain:"",cts_boot_base:0,virtual
Spots:[],registerSpot:function(a,e,f,c,g){var
h={};h.spot_id=a;h.selector=e;h.callback=f;h.parameters=c;h.observers=g;this.virtua
lSpots[a]=h},getTabId:function(){var
a=com_sas_ci_acs.sessionStorage.getItem("_ciutbid_");this.notBlank(a)||
(a=Math.floor(1E12*Math.random()
+1).toString(),com_sas_ci_acs.sessionStorage.setItem("_ciutbid_",a));return
a},notBlank:function(a){return"undefined"!==typeof a&&null!
==a&&a},commonSubDomain:function(a){for(var e=
a.split("."),f=document.domain.split("."),c=e.length-1,g=f.length-
1,h="",m=0;0<=c&&0<=g;){if(e[c]===f[g])h="."+e[c]+h,m++;else break;c--;g--}return
1<m?h:a.substring(a.indexOf("."))},extractParam:function(a,e){return e&&a?
(a=a.replace(/[\[\]]/g,"\\$&"),e=e.replace(/^\s+|\s+$/gm,""),(a=(new
RegExp(encodeURIComponent(a)+"(=([^&#]*)|#|
$)")).exec(e))&&a[2]&&decodeURIComponent(a[2].replace(/\+/g," "))||
null):null},cdtInfo:function(){try{var
a=(this.extractParam("_ci_",document.URL)||"").split("*");return 6==
a.length&&a[3]==CryptoJS.SHA384(navigator.userAgent||"").toString().substring(0,30)
&&parseInt(a[4])+1E4>(new Date).getTime()&&(screen.height||"1")+""+
(screen.width||"1")==a[5]&&a[0]&&a[1]&&{vid:a[0],sid:a[1],hb:a[2]}||null}catch(e)
{return null}},ckR:function(a){var e=a+"=";a=document.cookie;var
f=a.indexOf(e);return-1!=f?(e=f+e.length,f=a.indexOf(";",e),-
1==f&&(f=a.length),a.substring(e,f)):null},ckW:function(a,e,f,c,g){var
h=null;if(null!=c){var m=c.indexOf(",");-1<m&&(m<c.length-1&&(h=c.substring(m+
1)),c=c.substring(0,m))}m="";g&&(m="; expires="+(new
Date(g)).toGMTString());c=null==c||0==c.length?"":";
domain="+c;document.cookie=a+"="+e+m+";
path="+f+c;null==com_sas_ci_acs.ob_util_async.ckR(a)&&null!=h&&(c=null==h||
0==h.length?"":"; domain="+h,document.cookie=a+"="+e+m+";
path="+f+c)},uickW:function(a,e,f,c){var g=null;if(null!=c){var h=c.indexOf(",");-
1<h&&(h<c.length-1&&(g=c.substring(h+1)),c=c.substring(0,h))}c=null==c||
0==c.length?"":"; domain="+c;document.cookie=a+"="+e+"; path="+f+c;null==
com_sas_ci_acs.ob_util_async.ckR(a)&&null!=g&&(c=null==g||0==g.length?"":";
domain="+g,document.cookie=a+"="+e+"; path="+f+c)},sckW:function(a,e,f,c,g,h){var
m=null;if(null!=c){var k=c.indexOf(",");-1<k&&(k<c.length-
1&&(m=c.substring(k+1)),c=c.substring(0,k))}null==f&&(f="/");void 0!
==g&&(null==g&&(g=0),e=e+"."+g);void 0!==h&&(null==h&&(h=0),e=e+"."+h);c=null==c||
0==c.length?"":"; domain="+c;document.cookie=a+"="+e+";
path="+f+c;null==com_sas_ci_acs.ob_util_async.ckR(a)&&null!=m&&(c=null==m||
0==m.length?
"":"; domain="+m,document.cookie=a+"="+e+"; path="+f+c)},removeCdt:function(a){var
e=function(a,c,e){return c&&e};return
a.replace(/(&?)_ci_=.*?(&|$)/g,e).replace(/(&?)_ga=.*?(&|$)/g,e).replace(/
(&?)adobe_mc=.*?(&|$)/g,e)},parseUri:function(a){var
e=document.createElement("a");e.href=a;return{protocol:e.protocol.replace(":",""),h
ost:e.hostname,port:e.port,path:("/"!==e.pathname.charAt(0)?"/":"")
+e.pathname,search:this.removeCdt(e.search.substring(1))}},location:function(){var
a=new String(location.protocol);
return a.substr(0,a.length-1)},flash:function(a,e,f,c,g,h){a={e:!1,v:""};
(f=navigator.plugins)&&f.length&&((g=f["Shockwave Flash"])||(g=f["Shockwave Flash
2.0"]),g&&(a.e=!0,h=g.description))&&(a.v=h.substr(h.indexOf("Flash")
+6));if("Microsoft Internet Explorer"==navigator.appName)for(e=15;0<e;e--)try{c=new
ActiveXObject("ShockwaveFlash.ShockwaveFlash."+e);a.e=!
0;a.v=c.GetVariable("$version");break}catch(m){}return
a},java:function(a,e,f,c,g,h,m,k,y){a={e:!1,v:""};if("Microsoft Internet
Explorer"==
navigator.appName)a:for(f=2;0<f;f--)for(g=9;0<=g;g--)for(h=5;0<=h;h--)
{d=f+"."+g+"."+h;try{new ActiveXObject("JavaWebStart.isInstalled."+d+".0");a.e=!
0;a.v=d;break a}catch(r){}}else for(f=navigator.mimeTypes,e=0;e<f.length;e++)k=new
String(f[e].type),0==k.indexOf("application/x-java-applet")&&(a.e=!
0,y=k.split("sion=")[1],y>a.v&&(a.v=y));if(""!=a.v)return
a;a.e=navigator.javaEnabled();a.v=a.e&&"undefined"!=typeof java?
java.lang.System.getProperty("java.version"):"";return a},isUndefined:function(a)
{return"undefined"==
typeof a?!0:!1}};
(function(a,e,f){var c,g=e.getElementsByTagName(f)[0],h=function(a){var
c=e.getElementById("ob-script-async");return null!=c&&"object"==typeof
c.attributes&&"undefined"!=typeof c.attributes.getNamedItem?
(a=c.attributes.getNamedItem(a)||
c.attributes.getNamedItem("data-"+a))&&a.value&&a.value.trim()||
null:null},m=function(a,c){var f=h(c);null!
=f&&(c=e.createAttribute(c),c.nodeValue=f,a.attributes.setNamedItem(c))},k=function
(c,f,g){var l="?version="+com_sas_ci_acs.version;l+="&domain="+
(com_sas_ci_acs.overrideDomain||
e.domain);f=h(f);if(g){var
q=com_sas_ci_acs.ob_util_async.cdtInfo();q&&(l+="&cdt=o");var m=q?
q.vid:com_sas_ci_acs.ob_util_async.ckR("_SI_VID_1."+f);null!=m&&(l+="&vid="+m);var
k=q?q.sid:com_sas_ci_acs.ob_util_async.ckR("_SI_SID_1."+f);m=(new
Date).getTime();null!=k&&(l+="&sid="+k.split(".")[0],2<k.length?(q=k.split(".")
[1],k=k.split(".")[2],q=m-
q,q>k&&(k=q),l+="&hb="+k):q&&q.hb&&(l+="&hb="+q.hb))}l+="&p="+encodeURIComponent(co
m_sas_ci_acs.ob_util_async.parseUri(e.URL).path);l+="&params="+encodeURIComponent(c
om_sas_ci_acs.ob_util_async.parseUri(e.URL).search);
l+="&page_title="+encodeURIComponent(e.title);l+="&referrer="+encodeURIComponent(e.
referrer);l+="&uri="+encodeURIComponent(e.URL);l+="&requestedfile="+encodeURICompon
ent(com_sas_ci_acs.ob_util_async.parseUri(e.URL).path);com_sas_ci_acs.sasMobileSess
ionId&&(l+="&sasMobileSessionId="+com_sas_ci_acs.sasMobileSessionId);com_sas_ci_acs
.sasMobileVid&&(l+="&sasMobileVid="+com_sas_ci_acs.sasMobileVid);g&&(l=l+
("&cts="+m)+("&tzo="+(new
Date).getTimezoneOffset()));l+="&platform="+navigator.platform;l+="&port="+
location.port;l+="&protocol="+com_sas_ci_acs.ob_util_async.location();g&&(l+="&flas
h_enabled="+com_sas_ci_acs.ob_util_async.flash().e,l+="&flash_version="+com_sas_ci_
acs.ob_util_async.flash().v,l+="&java_enabled="+com_sas_ci_acs.ob_util_async.java()
.e,l+="&java_version="+com_sas_ci_acs.ob_util_async.java().v,l+="&screen_info="+scr
een.width+"x"+screen.height+"@"+screen.colorDepth);q=com_sas_ci_acs.ob_util_async.i
sUndefined(navigator.language)?
navigator.browserLanguage:navigator.language;l+="&browser_language="+
q;q=com_sas_ci_acs.ob_util_async.isUndefined(e.charset)?
e.characterSet:e.charset;l+="&character_set="+q;if(g)
{l+="&csz="+e.documentElement.outerHTML.length;l+="&bsz="+a.innerWidth+"x"+a.innerH
eight;l+="&tab_id="+com_sas_ci_acs.ob_util_async.getTabId();var
n=(q=window.ci360)&&q.a&&JSON.parse(JSON.stringify(q.a))||{};if(n&&n.identity)
{q=n.identity.type;var r=n.identity.name;k=n.identity.obscure||!1;var
x={url:function(){return
com_sas_ci_acs.ob_util_async.extractParam(r,window.location.href)},jsvar:function()
{return com_sas_ci_acs.ob_util_jsvar.getJsVariable(r)},
"default":function(){return
com_sas_ci_acs.ob_util_async.ckR(r)}};n=(x[n.identity.source||"cookie"]||
x["default"])();q&&n&&(l=l+("&login_event_type="+q)+("&login_event="+(k?
CryptoJS.SHA384(n+f):n)),k&&(l+="&ffobscure.1=login_event"))}}q=a.frames;g&&q&&q.na
me&&0==q.name.indexOf("inlineBrowserIFrame-")&&(l+="&swm=1");c+=null!
=f?"/"+f:"";g&&(c+="/"+m);return c+l},y=function(a,h,k,l,q){return function()
{try{if(!
e.getElementById(h))if(c=e.createElement(f),c.type="text/javascript",c.async=1,c.sr
c=a,h&&
(c.id=h),h&&k&&m(c,k),h&&l&&m(c,l),q&&(c.onload=function()
{q()},c.onreadystatechange=function()
{if("loaded"==c.readyState||"complete"==c.readyState)c.onreadystatechange=null,q()}
),"ob-tag-boot"==h){var n=e.getElementById("ob-
script");n.parentNode.insertBefore(c,n.nextSibling)}else"ob-tag-boot-p"===h?
(n=e.getElementById("ob-tag-boot"),n.parentNode.insertBefore(c,n.nextSibling)):
(g.parentNode||(g=e.getElementsByTagName(f)
[0]),g.parentNode.insertBefore(c,g))}catch(pa){console.log("error in ot_boot add:
"+
pa)}}},r=h("src");if(null!=r&&0<r.length){var
x=document.createElement("a");x.href=r;r=x.protocol+"//"+x.host;com_sas_ci_acs.ob_u
til_async.custom_domain=r;b=r+"/t/s/c";p=r+"/t/s/p";u=r+"/js/ot-min.js";v="";var
z=document.getElementById("ob-script-async");v=z&&z.getAttribute("verbose")?
r+"/js/ot-api.verbose.min.js":r+"/js/ot-
api.min.js";z=a.frames;r="sas_web_marketing."+h("a");x=com_sas_ci_acs.ob_util_async
.commonSubDomain(x.host);z&&z.name&&0==z.name.indexOf("inlineBrowserIFrame-")?
com_sas_ci_acs.ob_util_async.uickW(r,
"1","/",x):(z=new Date,z.setTime(z.getTime()-864E5),expires=";
expires="+z.toGMTString(),document.cookie=r+"=0"+expires+"; domain="+x+";
path=/")}x=y(v,"ob-script-api","a","opt",function(){(new
com_sas_ci_acs.ob_injector).injectAll()});com_sas_ci_acs.ob_util_async.cts_boot_bas
e=(new Date).getTime();x=y(k(p,"a",!1),"ob-tag-boot-p","a","opt",x);k=y(k(b,"a",!
0),"ob-tag-
boot","a","opt",x);null==com_sas_ci_acs.ob_util_async.ckR("_SI_DNT")&&y(u,"ob-
script","a","opt",k)()})(window,document,"script");

You might also like