PageSourceSearch

https://cdn.myshows.me/_nuxt/useUserAppSettings.v1zxuZs1.js

js myshows.me collected 2026-09-24 21:25:52 UTC 1,648 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`06dff022`},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:myshows":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`502535da-1dfa-43e0-b3bc-e7b83a7ed72d`,e._sentryDebugIdIdentifier=`sentry-dbid-502535da-1dfa-43e0-b3bc-e7b83a7ed72d`)}catch{}})();import{o as e}from"./nuxt.84Pk65tH.js";import{g as t}from"./runtime-core.esm-bundler.i25R54oR.js";import{t as n}from"./state.Cm_9qViM.js";var r=()=>{let r=n(`userAppSettings`,()=>null),{$api:i}=e();async function a(){r.value=await i.app.userSettings()}async function o(e){r.value&&Object.assign(r.value,e);try{await i.app.saveUserSetting({settings:e})}catch(e){console.log(e)}}function s(){return r.value?.notifications??[]}function c(e){return s().find(t=>t.key===e)}function l(e){let t=s().find(t=>t.key===e);return t?.activeAt?Date.now()<new Date(t.activeAt).getTime():!1}async function u(e,t,n){await o({notifications:[...s().filter(e=>t.includes(e.key)).filter(t=>t.key!==e),{key:e,closedAt:new Date().toISOString(),activeAt:n.toISOString()}]})}return{userAppSettings:r,fetch:a,saveSetting:o,isNotificationClosed:l,getNotificationBanner:c,closeNotificationBanner:u,notAddToWatching:t(()=>r.value?.notAddToWatching??!1)}};export{r 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.