1!function(){var e={5630:function(){function e(e){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"wrap_content_outcome_decided",outcome_data:e}),dispatchEvent(new CustomEvent("wrap_content_outcome_decided",{detail:e}))}document.addEventListener("fp_event_tracker",t=>{const n=t?.detail;if(n&&"object"==typeof n){switch(window.marfeel=window.marfeel||{cmd:[]},window.dataLayer=window.dataLayer||[],n.event_type){case"purchased":window.marfeel.cmd.push(["compass",function(e){e.trackConversion("subscribe")}]),window.dataLayer.push({event:"subscribe"});break;case"sign_up_resolved":window.marfeel.cmd.push(["compass",function(e){e.trackConversion("Registration")}]),window.dataLayer.push({event:"registration"});break;case"cart_items_displayed":window.marfeel.cmd.push(["compass",function(e){e.trackConversion("paywall")}]),window.dataLayer.push({event:"paywall"});break;case"content_displayed":case"non_premium_content":case"premium_content":e(n)}"newsletter_registration"===n.object_type&&(window.marfeel.cmd.push(["compass",function(e){e.trackConversion("Newsletter Elections")}]),window.dataLayer.push({event:"newsletter_registration"}))}}),window.addEventListener("load",()=>{setTimeout(()=>{window.dataLayer=window.dataLayer||[],0===window.dataLayer.filter(e=>"wrap_content_outcome_decided"===e.event).length&&e({})},1e3)})}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var t=function t(n,r){function o(t,o,i){if("undefined"!=typeof document){"number"==typeof(i=e({},r,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in i)i[s]&&(a+="; "+s,!0!==i[s]&&(a+="="+i[s].split(";")[0]));return document.cookie=t+"="+n.write(o,t)+a}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],r={},o=0;o<t.length;o++){var i=t[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(r[s]=n.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(t,n){o(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const r="thewrap_verified_subscription",o={hasEntitlements:!1,id:"",status:"anonymous"};function i(){t.remove(r,{path:"/"})}async function a(e){const t="string"==typeof e?e.trim():"";if(""===t)return o;try{const e=await fetch("/wp-json/the-wrap/v1/verify-subscription",{method:"POST",credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({access_token:t})});if(!e.ok)return o;const n=await e.json();if(!n||"object"!=typeof n)return o;const{has_entitlements:r,id:i,status:a}=n;return{hasEntitlements:!0===r,id:"string"==typeof i?i:"",status:"string"==typeof a&&""!==a?a:"anonymous"}}catch{return o}}async function s(e){const n=t.get(r);if("string"==typeof n&&""!==n)try{const e=JSON.parse(n);if(e&&"object"==typeof e){const{hasEntitlements:t,id:n,status:r}=e;return{hasEntitlements:!0===t,id:"string"==typeof n?n:"",status:"string"==typeof r&&""!==r?r:"anonymous"}}}catch{}const o=await a(e);return t.set(r,JSON.stringify(o),{path:"/",expires:2}),o}window.theWrap=window.theWrap||{},window.theWrap.verifyFlipPaySubscription=a,window.theWrap.checkSubscriberStatus=s,window.theWrap.clearSubscriberStatus=i,document.addEventListener("fp_event_tracker",e=>{const t=e?.detail;if(t&&"object"==typeof t)if("fp_login"===t.event){const e=t?.access_token;"string"==typeof e&&(i(),s(e))}else"fp_logout"===t.event&&i()});var c=window.wp.apiFetch,d=n.n(c),p=window.wp.url;const u=t.get("thewrap_hs_identity");if("attempted"!==u&&"connected"!==u){const e=t.get("blaize_session");e&&d()({path:(0,p.addQueryArgs)("/thewrap/v1/hsid/connect",{blaize_session:e})}).then(e=>{"object"==typeof e&&null!==e&&"email"in e&&"string"==typeof e.email?(window._hsq=window._hsq||[],window._hsq.push(["identify",{email:e.email}],["trackPageView"]),t.set("thewrap_hs_identity","connected",{expires:30})):t.set("thewrap_hs_identity","attempted",{expires:1})}).catch(()=>{t.set("thewrap_hs_identity","attempted",{expires:1})})}n(5630);const f="thewrap_ad_targeting",w="thewrap_ad_targeting_session",l="thewrap_ad_targeting_retry",y=30/1440;function h(){t.remove(f,{path:"/"}),t.remove(w,{path:"/"})}function m(){t.set(l,"1",{path:"/",expires:y})}function v(e){let t=5381;for(let n=0;n<e.length;n+=1)t=(t<<5)+t+e.charCodeAt(n)|0;return(t>>>0).toString(36)}let _=null,g="";async function b(){const e=function(){const e=t.get("fp.user");if("string"!=typeof e||""===e)return"";try{const t=JSON.parse(e);if(t&&"object"==typeof t&&"access_token"in t){const{access_token:e}=t;return"string"==typeof e?e.trim():""}}catch{return""}return""}();if(""!==e){if(t.get(w)===v(e)){if(function(){const e=t.get(f);if(void 0===e)return!1;try{const t=JSON.parse(e);return null!==t&&"object"==typeof t&&!Array.isArray(t)}catch{return!1}}())return}else h();void 0===t.get(l)&&await async function(e){""!==e&&(null===_||g!==e?(g=e,_=async function(e){try{const n=await fetch("/wp-json/the-wrap/v1/ad-targeting",{method:"POST",credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({access_token:e})});if(!n.ok)return void m();const r=await n.json();if(!r||"object"!=typeof r||Array.isArray(r))return void m();t.set(f,JSON.stringify(r),{path:"/",expires:.5}),t.set(w,v(e),{path:"/",expires:.5}),t.remove(l,{path:"/"})}catch{m()}}(e).finally(()=>{_=null,g=""}),await _):await _)}(e)}else h()}document.addEventListener("fp_event_tracker",e=>{const t=e.detail;t&&"object"==typeof t&&("fp_login"===t.event&&"string"==typeof t.access_token?(h(),b()):"fp_logout"===t.event&&h())}),document.addEventListener("wrap-user-datalayer-complete",()=>{b()}),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>{b()}):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.