1(()=>{"use strict";const e=window.wp.hooks,o="surecookie_geo_data",t=(e,t)=>{try{sessionStorage.setItem(o,JSON.stringify({version:e,payload:t}))}catch(e){}},n=(e={})=>{const o=e.geo_decision_fallback;return o&&"object"==typeof o?{...o}:{}},a=(e,o={},t={})=>{return a=((e,o={},t={})=>{if(e&&!e.use_default&&e.settings)return{...n(o),...e.settings,active_law_id:e.id||o.active_law_id,geo_preset_id:e.geo_preset_id||e.id||"",is_fallback:!1};if(e&&e.use_default&&e.fallback_preset){const t=e.fallback_preset;return{...n(o),...t.settings||{},active_law_id:t.id||o.active_law_id,geo_preset_id:t.id||"",is_fallback:!0}}if(e&&e.use_default){if("hide"===(e.fallback_mode||t.geo_fallback_mode||"show")&&("no_preset_match"===e.reason||"localhost"===e.reason))return{...n(o),banner_enabled:!1,blocking_enabled:!1,consent_model:"opt-out"};if("geo_not_configured"===e.reason)return n(o);if("no_preset_match"===e.reason)return{...n(o),banner_enabled:!1,blocking_enabled:!1,consent_model:"opt-out"}}return n(o)})(e,o,t),a&&"object"==typeof a?void 0===a.blocking_enabled?a:{...a,blocking:Boolean(a.blocking_enabled)}:a;var a};document.cookie.includes(o+"=")&&(document.cookie=o+"=; Max-Age=0; Path=/"),(0,e.addFilter)("surecookie.publicSettingsResolvers","surecookie-pro/geolocation",(e=[])=>{const r=Array.isArray(e)?[...e]:[],s=((e={})=>async(r={})=>
1{const s=Number(e.geo_cache_version||1),i=(e=>{try{const t=sessionStorage.getItem(o);if(!t)return null;const n=JSON.parse(t);return n&&"object"==typeof n&&Number(n.version||1)===e&&n.payload?n.payload:null}catch(e){return null}})(s);if(i)return a(i,r,e);if(!e.geo_api_url)return n(r);try{const o=await fetch(e.geo_api_url,{method:"GET",credentials:"omit",headers:{Accept:"application/json"}}),n=await o.json();if(!n||!1===n.success)throw new Error("invalid_geo_response");const i={use_default:Boolean(n.use_default),reason:n.reason||"",country_code:n.country_code||"",id:n.id||"",geo_preset_id:n.geo_preset_id||n.id||"",settings:n.settings||null,fallback_mode:n.fallback_mode||"",fallback_preset:n.fallback_preset||null};return t(s,i),a(i,r,e)}catch(o){const n={use_default:!0,reason:"saas_error"};return t(s,n),a(n,r,e)}})(window.surecookieProGeoConfig||{});return r.push(async(e={})=>((e,o={})=>(e?.consent_model&&o.wpConsentCategoryMap&&(window.wp_consent_type="opt-out"===e.consent_model?"optout":"optin"),e))(await s(e),e)),r})})();
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.