connectid.analytics.yahoo.com
Open in
urlscan Pro
2600:9000:223c:400:10:dd8:5e40:93a1
Public Scan
URL:
https://connectid.analytics.yahoo.com/connectId-gpt.js
Submission: On August 21 via api from IT — Scanned from IT
Submission: On August 21 via api from IT — Scanned from IT
Form analysis
0 forms found in the DOMText Content
(()=>{var t={78:(t,e)=>{!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=2)}([function(t,e,n){var o=n(3);t.exports=function(t,e,n){return(e=o(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,n,o){"use strict";o.r(n);var r=o(0),c=o.n(r),i=function(t,e){t?/^[a-f0-9]{64}$/gi.test(t||"")?e(t):function(t,e){if("string"==typeof t&&t)if(window.crypto&&crypto.subtle&&crypto.subtle.digest){var n=new TextEncoder("utf-8").encode(t.trim().toLowerCase());crypto.subtle.digest("SHA-256",n).then((function(t){var n=Array.from(new Uint8Array(t));e(n.map((function(t){return"00".concat(t.toString(16)).slice(-2)})).join(""))}))}else e(t.indexOf("@")>-1?void 0:t);else e()}(t,e):e(void 0)},u=function(){for(var t="".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"connectId","="),e=document.cookie.split(";"),n=0;n<e.length;n++){var o=(e[n]||"").trim();if(0===o.indexOf(t))return o.substring(t.length,o.length)}return""},a=function(t){var e;try{e=window.location.hostname.match(/[\w-]+\.([\w]+|co.uk)$/)[0]}catch(t){}document.cookie="".concat("connectId","=").concat(t,";Max-Age=").concat(31536e3,";Domain=").concat(e,";path=/;Secure;SameSite=None")},p=u,l=function(){var t=u();t||(t=function(){try{return localStorage.getItem("connectId")||""}catch(t){return{}}}())&&a(t);try{return JSON.parse(t)||{}}catch(t){return{}}},d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{var e=JSON.stringify(t);a(e),function(t){try{localStorage.setItem("connectId",t)}catch(t){}}(e)}catch(t){}};function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){c()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var g=function(t,e){return!t||new Date(t).getTime()+e<Date.now()},v={syncIds:function(t){var e=t.pixelId,n=t.he,o=t.puid,r=t.yahoo1p;(function(t){var e=t.he,n=t.puid;if(!t.pixelId)return!1;var o=l(),r=o.he,c=o.puid,i=o.ttl,u=o.lastSynced;return e&&e!==r||n&&n!==c||function(){var t=function(t){var e=/[\w]+\.([\w]+|co.uk)$/;try{return new URL(t).hostname.match(e)[0]}catch(n){return new URL("https://".concat(t)).hostname.match(e)[0]}};try{var e=t(document.referrer),n=t(window.location.hostname);return!!e&&e!==n&&["yahoo.com","aol.com","aol.ca","aol.de","aol.co.uk","engadget.com","techcrunch.com","autoblog.com"].indexOf(e)>-1}catch(t){return!1}}()||g(u,i||864e5)})({pixelId:e,he:n,puid:o})&&function(t){!function(t){"function"!=typeof window.__gpp?t({msg:"API not found"}):window.__gpp("addEventListener",(function(e,n){var o,r;n&&"error"!==(null==e||null===(o=e.pingData)||void 0===o?void 0:o.cmpStatus)?"ready"===(null==e||null===(r=e.pingData)||void 0===r?void 0:r.signalStatus)&&t(e):t({})}))}((function(e,n){!function(t){"function"!=typeof window.__tcfapi?t({msg:"API not found"}):window.__tcfapi("addEventListener",2,(function(e,n){n&&"error"!==(null==e?void 0:e.cmpStatus)?"tcloaded"!==(null==e?void 0:e.eventStatus)&&"useractioncomplete"!==(null==e?void 0:e.eventStatus)||t(e):t({})}))}((function(n,o){!function(t){"function"!=typeof window.__uspapi?t({msg:"API not found"}):window.__uspapi("getUSPData",null,(function(e,n){t(n?e:{})}))}((function(o,r){var c,i,u;t({gpp:null==e||null===(c=e.pingData)||void 0===c?void 0:c.gppString,gppSid:(null==e||null===(i=e.pingData)||void 0===i||null===(u=i.applicableSections)||void 0===u?void 0:u.join(","))||"-1",uspString:null==o?void 0:o.uspString,gdprApplies:null==n?void 0:n.gdprApplies,tcString:null==n?void 0:n.tcString})}))}))}))}((function(t){var c=l(),i=n||c.he,u=o;o||!c.puid||g(c.lastUsed,2592e6)||(u=c.puid);var a="https://ups.analytics.yahoo.com/ups/".concat(e,"/fed"),p=window.location,s=p.protocol,v=p.host,y=p.pathname;!function(t,e,n){var o=new XMLHttpRequest,r=Object.keys(e).map((function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))})).join("&");o.onreadystatechange=function(){if(o.readyState===XMLHttpRequest.DONE)if(0===o.status||o.status>=200&&o.status<400)try{n(JSON.parse(o.responseText))}catch(t){n()}else n()};try{o.withCredentials=!0,o.open("GET","".concat(t,"?").concat(r),!0),o.send(e)}catch(t){}}(a,f(f(f(f(f(f(f(f(f({},i?{he:i}:{}),u?{puid:u}:{}),void 0!==t.gpp?{gpp:t.gpp}:{}),void 0!==t.gppSid?{gpp_sid:t.gppSid}:{}),void 0!==t.gdprApplies?{gdpr:t.gdprApplies}:{}),void 0!==t.tcString?{gdpr_consent:t.tcString}:{}),void 0!==t.uspString?{us_privacy:t.uspString}:{}),void 0!==r?{"1p":r}:{}),{},{v:1,url:"".concat(s,"//").concat(v).concat(y)}),(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};d({connectId:t.connectId,he:i,puid:u||t.puid,ttl:60*Math.min(t.ttl||24,24)*60*1e3,lastUsed:Date.now(),lastSynced:Date.now()})}))}))}},y=v;function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?m(Object(n),!0).forEach((function(e){c()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var b=function(t,e){var n=t.pixelId,o=t.email,r=t.puid,c=t.yahoo1p;if(function(){try{var t=window.localStorage.getItem("connectIdOptOut"),e=window.localStorage.getItem("_pbjs_id_optout"),n=window.localStorage.getItem("_pubcid_optout");return"1"===t||e||n}catch(t){return!1}}())return document.cookie="".concat("connectId","=;Max-Age=0;path=/;Secure;SameSite=None"),function(){try{localStorage.removeItem("connectId")}catch(t){}}(),void e({});var u=p("yahooId");i(o||u,(function(t){i(r,(function(o){y.syncIds({pixelId:n,he:t,puid:o,yahoo1p:c});var r=l();!t&&!o||!t&&r.he||t&&t===r.he||!o&&r.puid||o&&o===r.puid?e({connectId:r.connectId}):e({}),r.connectId&&d(w(w({},r),{},{lastUsed:Date.now()}))}))}))};n.default={getIds:b},e.getIds=b},function(t,e,n){var o=n(1).default,r=n(4);t.exports=function(t){var e=r(t,"string");return"symbol"===o(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var o=n(1).default;t.exports=function(t,e){if("object"!==o(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}])},712:(t,e,n)=>{"use strict";t.exports=n(78)}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var c=e[o]={exports:{}};return t[o](c,c.exports,n),c.exports}(()=>{"use strict";var t=n(712);window.googletag=window.googletag||{cmd:[]},window.googletag.secureSignalProviders=window.googletag.secureSignalProviders||[],googletag.secureSignalProviders.push({id:"yahoo.com",collectorFunction:()=>new Promise((e=>{t.getIds({pixelId:58813},(t=>{e(t.connectId)}))}))})})()})();