1((deploymentId,publicationDomain,logDomain,sessionId,chatPublication,feature,debug=!1)=>{(async()=>{let u,resp;try{let controller=new AbortController,timeoutId=setTimeout(()=>controller.abort(),5e3);try{resp=await fetch(`https://user.${publicationDomain}/user/`,{credentials:"include",signal:controller.signal})}finally{clearTimeout(timeoutId)}u=await resp.json(),window.cre_chat_data={f:u?.response?.user?.firstName??"",l:u?.response?.user?.lastName??"",e:u?.response?.user?.email??"",p:""},fetch(logDomain,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:window.cre_chat_data,context:"GUP User Fetch",sessionId,publication:chatPublication,feature,app:"CRE-Chat",type:"info",url:window.location.href},null,2)})}catch(e){window.cre_chat_data={f:"",l:"",e:"",p:""},fetch(logDomain,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:e,context:"GUP User Fetch Failed",sessionId,publication:chatPublication,feature,app:"CRE-Chat",type:"error",url:window.location.href},null,2)})}window.Genesys&&window.Genesys.c&&window.Genesys.c.deploymentId!==deploymentId&&delete window.Genesys,window.Genesys||((g,e,n,es,ys)=>{g._genesysJs=e,g[e]=g[e]||((...args)=>{(g[e].q=g[e].q||[]).push(...args)}),g[e].t=+new Date,g[e].c=es,(ys=document.createElement("script")).async=!0,ys.src=n,ys.charset="utf-8",ys.onload=()=>{let setCustomerData=event=>{window.Genesys("command","Database.set",{messaging:{customAttributes:{Attr_Website:window.location.origin,Attr_Publication:chatPublication,Attr_firstName:window.cre_chat_data.f??"",Attr_lastName:window.cre_chat_data.l??"",Attr_email:window.cre_chat_data.e??"",Attr_PhoneNumber:window.cre_chat_data.p??"","context.firstName":window.cre_chat_data.f??"","context.lastName":window.cre_chat_data.l??""}}},data=>{fetch(logDomain,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data,context:`${event}`,sessionId,publication:chatPublication,feature,app:"CRE-Chat",type:"info",url:window.location.href},null,2)})},error=>{fetch(logDomain,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:error,context:`${event} - Error`,sessionId,publication:chatPublication,feature,app:"CRE-Chat",type:"error",url:window.location.href},null,2)})})};window.Genesys("subscribe","Messenger.ready",()=>{setCustomerData("Messenger.ready")}),window.Genesys("subscribe","Messenger.opened",()=>{setCustomerData("Messenger.opened")}),window.Genesys("subscribe","MessagingService.conversationCleared",()=>{setCustomerData("MessagingService.conversationCleared")}),window.Genesys("subscribe","Database.updated",event=>{fetch(logDomain,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:event.data,context:"Genesys Database Updated",sessionId,publication:chatPublication,feature,app:"CRE-Chat",type:"info",url:window.location.href},null,2)})})},ys.onerror=e=>{fetch(logDomain,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:e,context:"Genesys Initialization",sessionId,publication:chatPublication,feature,app:"CRE-Chat",type:"error",url:window.location.href})})},document.head.appendChild(ys)})(window,"Genesys","https://apps.usw2.pure.cloud/genesys-bootstrap/genesys.min.js",{environment:"prod-usw2",deploymentId,debug})})()})( 'f19e6ceb-424c-4599-8093-49b98a89b465', 'stargazette.com', 'https://chat.stargazette.com/api/logging', '034b4b33-bd18-4b78-8dcb-9503234abb0d', 'stargazette', 'service', false )
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.