PageSourceSearch

https://bethesdamagazine.com/wp-content/cache/min/1/sync/2872569.js?ver=1785327715

js bethesdamagazine.com collected 2026-09-24 08:36:45 UTC 6,190 bytes, 1 lines download raw bytes

1window._iub=window._iub||[];window._iub.googleConsentModeV2=!0;(function(){"use strict";const _={COOKIE:"cookie",LOCAL_STORAGE:"local_storage"},m=function(e){return Array.isArray?Array.isArray(e):{}.toString.call(e)==="[object Array]"},C=(e,o,t,n)=>{let s;const a=e||{},r=o||{};return s=m(a)?[]:{},Object.keys(a).forEach(i=>{s[i]=a[i]}),Object.keys(r).forEach(i=>{typeof r[i]!="object"||r[i]===null||r[i]instanceof HTMLElement?s[i]=r[i]:(typeof s[i]!="object"&&(s[i]=m(r[i])?[]:{}),s[i]=C(s[i],r[i]))}),s},v=(e,o)=>C(e,o);function S(e,o){var t,n,s,a;return e===void 0&&(e={}),o===void 0&&(o={}),v((t=(n=o)==null?void 0:n.storage)!=null?t:{},(s=(a=e)==null?void 0:a.storage)!=null?s:{})}let f=null;function D(e,o){return e===void 0&&(e={}),o===void 0&&(o={}),f||(f=v(o!=null?o:{},e!=null?e:{}),f)}function k(e,o){const t=[],n=document.cookie.split(/\s*;\s*/);for(let a=0;a<n.length;a++){const r=n[a].split("="),i=r[0],c=r[1],w=i.match(new RegExp("^"+e+"(-(\\d+))?$"));if(!w)continue;const u=parseInt(w[2],10)||0;t[u]=c}if(!t.length)return"";const s=t.join("");try{return JSON.parse(s)}catch{return JSON.parse(decodeURIComponent(s))}}function O(e,o){const t=window.localStorage.getItem(e);return t===null?"":JSON.parse(t)}function I(e,o,t){let n="";switch(t){case _.LOCAL_STORAGE:n=O(e);break;case _.COOKIE:default:n=k(e);break}return n}function A(){var e;const o=D(_iub.csConfiguration,_iub.csSiteConf);return o.siteId&&(e=o.storage)!=null&&e.useSiteId?"s"+o.siteId:o.cookiePolicyId}function M(){const e=S(_iub.csConfiguration,_iub.csSiteConf),o=(e==null?void 0:e.type)||_.COOKIE,t=A(),n=I("_iub_cs-"+t,!1,o),s=I("_iub_cs-"+t+"-uspr",!1,o);return{coreStorage:n,usprStorage:s}}const l={analytics_storage:{purposes:[4],usPurposes:["s"]},ad_storage:{purposes:[5],usPurposes:["s","sh","adv"]},functionality_storage:{purposes:[2],usPurposes:[]},personalization_storage:{purposes:[3],usPurposes:[]},security_storage:{purposes:[2],usPurposes:[]},ad_personalization:{purposes:[5],usPurposes:["sh","adv"]},ad_user_data:{purposes:[5],usPurposes:["sh","adv"]}};function T(){const e=M(),o=e.coreStorage,t=e.usprStorage,n={};let s=!1,a=!1,r=null;return o&&(o.purposes?(s=!0,Object.keys(o.purposes).map(i=>{n[i]=o.purposes[i]})):r=o.consent||!1),t&&(a=!0,Object.keys(t).map(i=>{n[i]=t[i]})),{hasPurposes:s,hasUSPurposes:a,allPurposes:n,coreConsent:r}}function g(e){let o=e===void 0?{dataLayerName:"dataLayer",gtagName:"gtag"}:e,t=o.dataLayerName,n=o.gtagName;t&&(window[t]=window[t]||[],n&&typeof window[n]!="function"&&(window[n]=function(){window[t].push(arguments)}))}function b(e,o){return e===void 0&&(e="dataLayer"),h("consent","default",e,o)!==!1}function h(e,o,t,n){if(t===void 0&&(t="dataLayer"),!window[t]||!window[t].length)return!1;for(let s=0;s<window[t].length;s++){const a=window[t][s];if(a){if(n){if(a===e&&window[t][s+1]===o)return s}else if(a[0]===e&&a[1]===o)return s}}return!1}function L(e){const o=T(),t=o.allPurposes,n=o.hasPurposes,s=o.hasUSPurposes,a=o.coreConsent,r={};return Object.keys(e).forEach(i=>{const c=e[i],w=!n&&a===null&&s;let u=!1;n&&c.purposes&&(u=c.purposes.every(y=>t[y])),!n&&a!==null&&(u=a),s&&(u||w)&&c.usPurposes&&(u=c.usPurposes.every(y=>t[y])),r[i]=u?"granted":"denied"}),r}function d(){return!!window._iub&&!!window._iub.csConfiguration&&window._iub.csConfiguration.googleConsentMode!==!1}function N(){return!!window._iub&&!!window._iub.csConfiguration&&window._iub.csConfiguration.uetConsentMode!==!1}function j(){return!!window._iub&&!!window._iub.csConfiguration&&window._iub.csConfiguration.googleEnableAdvertiserConsentMode===!0}function E(){window._iub&&window._iub instanceof Object&&(_iub.comoImplementationLogged=!0)}function U(){return!!window._iub&&window._iub instanceof Object&&_iub.comoImplementationLogged!==!0}function P(){return window._iub&&window._iub.csConfiguration&&window._iub.csConfiguration.logLevel?window._iub.csConfiguration.logLevel:"warning"}function F(){const e=P();["debug","info"].indexOf(e)!==-1&&console.info("[IUBCS|INFO]: The default consent or the TCF stub has been correctly found before Google Tag Manager is initialized.")}function G(){const e=P();["debug","info","warn"].indexOf(e)!==-1&&console.warn("[IUBCS|WARN]: Google Tag Manager initialized before setting the default consent or before embedding the TCF stub.")}function x(){if(!d()||!U())return;E();const e="google_tag_manager"in window,o="__tcfapi"in window,t=j();e&&!b()&&!t||e&&!o&&t?G():F()}function z(e,o){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(o.indexOf(n)!==-1)continue;t[n]=e[n]}return t}const J=["ad_user_data","ad_personalization"];function p(){var e,o;return((e=window._iub.csConfiguration)==null?void 0:e.googleConsentModeDataLayerName)||((o=window._iub.csSiteConf)==null?void 0:o.googleConsentModeDataLayerName)||"dataLayer"}function W(e){var o;if(!d())return;const t=p();if(x(),((o=(e!=null?e:{}).skipIfDataLayer)!=null?o:!0)&&b(t))return;g({dataLayerName:t,gtagName:"gtag"});let a=l;window._iub.googleConsentModeV2!==!0&&(l.ad_user_data,l.ad_personalization,a=z(l,J));const r=L(a);window.gtag("consent","default",r)}function R(e){if(!d())return;const o=p();g({dataLayerName:o,gtagName:"gtag"}),window.gtag("set","url_passthrough",e!=null?e:!0)}function V(e){if(!d())return;const o=p();g({dataLayerName:o,gtagName:"gtag"}),window.gtag("set","ads_data_redaction",e!=null?e:!0)}function $(){if(!d())return;const e=p();g({dataLayerName:e,gtagName:"gtag"}),h("set","developer_id.dZTJkMz",e)===!1&&window.gtag("set","developer_id.dZTJkMz",!0)}function q(){return"_iub"in window&&_iub.csConfiguration&&_iub.csConfiguration.googleConsentMode==="template"}function K(e){var o;if(!N()||((o=(e!=null?e:{}).skipIfDataLayer)!=null?o:!0)&&b("uetq",!0))return;g({dataLayerName:"uetq",gtagName:null});const s={ad_storage:l.ad_storage},a=L(s);window.uetq.push("consent","default",a)}function B(){if(window._iub=window._iub||[],K({skipIfDataLayer:!1}),!q()){var e,o,t,n;$(),W({skipIfDataLayer:!1}),R((e=(o=_iub.csConfiguration)==null?void 0:o.googleUrlPassthrough)!=null?e:!0),V((t=(n=_iub.csConfiguration)==null?void 0:n.googleAdsDataRedaction)!=null?t:!0)}}window._iub=window._iub||[],_iub.syncjsVersion="0.0.36",B()})()

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.