1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:weroad":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`79a97413-c9e8-46cc-b789-80bf68501bee`,e._sentryDebugIdIdentifier=`sentry-dbid-79a97413-c9e8-46cc-b789-80bf68501bee`)}catch{}})();import{o as e,s as t}from"./C1Cn6SRa.js";import{xt as n}from"./BSXR3eMi.js";import{n as r}from"./Cl2uAWea.js";import{t as i}from"./Ci8UjNx3.js";function a(e){return new URL(globalThis.location.href)}function o(e){let{hostname:t}=new URL(e),n=t.split(`.`);if(n.length<=2)return`.${t}`;let r=n.pop();return`.${n.pop()}.${r}`}var s=e=>{try{return decodeURIComponent(e)}catch{return e}},c={decode:e=>{if(!e)return null;let t=e.split(`,`).filter(Boolean).map(s);return t.length?t:null},encode:e=>Array.isArray(e)?e.filter(Boolean).map(encodeURIComponent).join(`,`):``},l=`wr_user_id`;function u(e){return e?btoa(JSON.stringify(e)):``}function d(e){if(!e)return null;try{return JSON.parse(atob(e))}catch{return null}}function f(){let n=t().public,r=e(),a=i(l,{domain:o(n.frontendUrl),path:`/`,maxAge:2592e3,sameSite:`lax`,secure:n.environment===`production`,encode:u,decode:d}),s=()=>r.$auth?.tokenPayload?.sub??null;function c({id:e,marketingConsent:t=null}){a.value=e?{sub:s(),id:e,marketingConsent:t}:null}function f(){let e=a.value;return!r.$auth?.loggedIn||!e?null:e.sub===s()?e.id:null}function p(){let e=a.value;return!r.$auth?.loggedIn||!e?null:e.sub===s()?e.marketingConsent??null:null}return{set:c,trustedId:f,trustedMarketingConsent:p}}var p=r(`user`,()=>{let e=n(null),t=f();function r(n){e.value=n,t.set({id:n?.id??null,marketingConsent:n?.acceptedFlags?.marketing??null})}return{userData:e,setUserData:r}});export{a,o as i,f as n,c as r,p as t};
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.