PageSourceSearch

https://identity.anpost.com/js/GenesisExchange_Gigya.min.js

js anpost.com collected 2026-10-01 08:52:48 UTC 2,281 bytes, 1 lines download raw bytes

1function GenesisExchange_Gigya(t){this.conf=t,this.processAction=function(t){if(void 0===this.conf||void 0===this.conf.eventMap)return null;var e=this.eventLookup(t);if("object"==typeof e&&null!=e){var n={};"object"==typeof e.mapVars&&(n=this.genEVarMap(t,e.mapVars)),"string"==typeof e.omtrEvents?n.events=e.omtrEvents:"object"==typeof e.omtrEvents&&(n.events=e.omtrEvents.join(",")),this.slb(n)}},this.eventLookup=function(t){var e="",n="";if(void 0===t.eventName)return null;e=t.eventName,void 0!==t.source&&(n=t.source);for(var r=0;r<this.conf.eventMap.length;r++){var o=this.conf.eventMap[r];if(!(o.gigEvent.toLowerCase()!=e.toLowerCase()&&o.gigEvent.toLowerCase()!="on"+e.toLowerCase()||"string"==typeof o.gigSource&&o.gigSource.toLowerCase()!=n.toLowerCase()))return o}return null},this.genEVarMap=function(t,e){for(var n={},r=0;r<e.length;r++){var o=e[r].split("=");if(2==o.length){var i=o[0].replace(/^\s+|\s+$/g,""),s=o[1].replace(/^\s+|\s+$/g,"");s="()"==s.substr(s.length-2)?s.substr(0,s.length-2):s;var f=this.getFieldValue(t,s);void 0!==n[i]&&""!=n[i]?n[i]=n[i]+":"+f:n[i]=f}else n[o[0]]=""}return n},this.getFieldValue=function(t,e){if("function"==typeof this.conf[e])return this.conf[e].call(this.conf,t);if("function"==typeof this[e])return this[e].call(this,t);for(var n=e.split("."),r=t,o=0;o<n.length;o++){if(void 0===r[n[o]])return e;r=r[n[o]]}if("string"==typeof r||"number"==typeof r)return r;if("number"==typeof r.length){var i="";for(o=0;o<r.length;o++)i+=(i?",":"")+r[o];return i}if("object"==typeof r){i="";for(var s in r)i+=(i?",":"")+s;return i}return e},this.slb=function(t){if("undefined"!=typeof s_gi){var e,n,r=this.conf.omtrAccount?this.conf.omtrAccount:window.s_account,o=s_gi(r),i="",s={};for(var f in e=o.linkTrackVars,n=o.linkTrackEvents,t)s[f]=o[f]?o[f]:"",t[f]&&(o[f]=t[f]),i+=(i?",":"")+f,"events"==f&&(o.linkTrackEvents=o.events=o[f]);for(var a in o.linkTrackVars=i||(o.linkTrackEvents="None"),o.tl(!0,"o",this.conf.linkName),o.linkTrackVars=e,o.linkTrackEvents=n,s)o[a]=s[a]}},this.precision=function(t,e){return"string"==typeof e?parseFloat(e).toFixed(t):e},this.providerList=function(t){var e="";if("object"==typeof t&&"object"==typeof t.user&&"object"==typeof t.user.identities)for(var n in t.user.identities)e+=(e?",":"")+n;return e}}

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.