PageSourceSearch

https://mstdn.jp/packs/settings-Cq4pjZIN.js

js mstdn.jp collected 2026-09-24 08:40:44 UTC 791 bytes, 2 lines download raw bytes

1var e=class{constructor(e=null){this.keyBase=e}generateKey(e){let t=typeof e==`string`?e:String(e);return this.keyBase?[this.keyBase,`id${t}`].join(`.`):t}set(e,t){let n=this.generateKey(e);try{let e=JSON.stringify(t);return localStorage.setItem(n,e),t}catch{return null}}get(e){let t=this.generateKey(e);try{let e=localStorage.getItem(t);return e===null?null:JSON.parse(e)}catch{return null}}remove(e){let t=this.get(e);if(t!==null){let t=this.generateKey(e);try{localStorage.removeItem(t)}catch{}}return t}},t=new e(`mastodon_push_notification_data`),n=new e(`mastodon_tag_history`),r=new e(`mastodon_banner_settings`),i=new e(`mastodon_search_history`),a=new e(`mastodon_player`),o=new e(`wrapstodon`);export{n as a,i,a as n,o,t as r,r as t};
2//# sourceMappingURL=settings-Cq4pjZIN.js.map

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.