PageSourceSearch

https://www.kbtx.com/pf/resources/dist/__global/js/gdm-onetrust-connector.js?d=593&mxId=00000000

js kbtx.com collected 2026-09-24 09:03:03 UTC 4,103 bytes, 1 lines download raw bytes

1!function(){"use strict";var n={1131:function(n,t,e){var o;e.d(t,{a:function(){return s},o:function(){return r}});let i="true"===new URLSearchParams(null===(o=window)||void 0===o||null===(o=o.location)||void 0===o?void 0:o.search).get("debug-gdm-onetrust");const r=n=>{i=n},s=(n,...t)=>{i&&console.debug("[gdm-onetrust-connector]"+(n?`[${n}]`:""),...t)}}},t={};function e(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={exports:{}};return n[o](r,r.exports,e),r.exports}e.d=function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)};const o=()=>{var n;return Object.fromEntries(("undefined"!=typeof window&&(null===(n=document)||void 0===n?void 0:n.cookie)||"").split("; ").filter(n=>n).map(n=>n.split(/=(.*)/s).map(decodeURIComponent)))};var i=e(1131);const r=()=>{var n;const t=((null===(n=o())||void 0===n?void 0:n.OptanonConsent)||"").match(/consentId=([^&]*)/);return t?decodeURIComponent(t[1]):null},s=()=>{try{var n;const t=((null===(n=o())||void 0===n?void 0:n.OptanonConsent)||"").match(/uspString=([^&]*)/);if(t)return decodeURIComponent(t[1]);if(window.__uspapi){let n=null;return window.__uspapi("getUSPData",1,(t,e)=>{e&&(n=(null==t?void 0:t.uspString)||null)}),n}}catch(n){(0,i.a)("getUspString","error:",n)}return null},a=()=>{try{if(window.__gpp){let n=null;return window.__gpp("ping",(t,e)=>{e&&(n=(null==t?void 0:t.gppString)||null)}),n}}catch(n){(0,i.a)("getGppString","error:",n)}return null},d=()=>{try{var n,t;if(null!==(n=window)&&void 0!==n&&null!==(n=n.OneTrust)&&void 0!==n&&n.GetDomainData)return(null===(t=window.OneTrust.GetDomainData())||void 0===t?void 0:t.ConsentModel)||null}catch(n){(0,i.a)("getConsentModel","error:",n)}return null},l=()=>{try{var n;if(null!==(n=window)&&void 0!==n&&null!==(n=n.OneTrust)&&void 0!==n&&n.getGeolocationData)return window.OneTrust.getGeolocationData()}catch(n){(0,i.a)("getGeolocation","error:",n)}return null},u=()=>{try{if(window.__tcfapi){let n=null;return window.__tcfapi("getTCData",2,(t,e)=>{e&&(n=(null==t?void 0:t.tcString)||null)}),n}}catch(n){(0,i.a)("getTcString","error:",n)}return null},c=n=>{const t=(()=>{var n;const t=((null===(n=o())||void 0===n?void 0:n.OptanonConsent)||"").match(/groups=([^&]*)/);if(!t)return{};const e=decodeURIComponent(t[1]).split(",").filter(Boolean),i={};return e.forEach(n=>{const[t,e]=n.split(":");t&&(i[t]="1"===e)}),i})(),e={isAllowed:!(Object.keys(t).length>0)||n.every(n=>!1!==t[n]),categories:t,gppString:a(),uspString:s(),consentModel:d(),geolocation:l(),c
1onsentId:r(),isIABConsent:"function"==typeof window.__tcfapi||null,tcString:u()};return(0,i.a)("buildResponse",e),e};new class{constructor({isDebug:n}={}){this.listeners=[],this.isConsentChangedEventSet=!1,this.isCmpLoadedEventSet=!1,n&&(0,i.o)(!0),this.init()}register({blockedCategoryIds:n=[],callback:t}){"function"==typeof t&&((0,i.a)("register","blockedCategoryIds:",n),this.listeners.push({blockedCategoryIds:n,callback:t}),t(c(n)))}notifyListeners(){(0,i.a)("notifyListeners","consent state changed"),this.listeners.forEach(({blockedCategoryIds:n,callback:t})=>{t(c(n))})}setConsentChangedEvent(){this.isConsentChangedEventSet||((0,i.a)("setConsentChangedEvent","OneTrust available, binding"),window.OneTrust.OnConsentChanged(()=>{(0,i.a)("OnConsentChanged","fired"),this.notifyListeners()}),this.isConsentChangedEventSet=!0)}setCmpLoadedEvent(){this.isCmpLoadedEventSet||((0,i.a)("setCmpLoadedEvent","waiting for CMP load"),window.addEventListener("OneTrustCmpLoadedAndReady",()=>{(0,i.a)("setCmpLoadedEvent","CMP loaded"),this.setConsentChangedEvent()}),this.isCmpLoadedEventSet=!0)}init(){var n,t;(0,i.a)("init","running"),null!==(n=window)&&void 0!==n&&n.OneTrust?this.setConsentChangedEvent():this.setCmpLoadedEvent();const e=(null===(t=window._gdmOneTrust)||void 0===t?void 0:t._pending)||[];(0,i.a)("init",`draining ${e.length} pending registrations`),e.forEach(n=>this.register(n)),window._gdmOneTrust=this,window._gdmOneTrust._pending={push:n=>this.register(n)},(0,i.a)("init","complete")}}}();

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.