PageSourceSearch

https://www.boot.dev/_nuxt/CAwUFDD0.js

js boot.dev collected 2026-09-24 17:12:30 UTC 1,278 bytes, 1 lines download raw bytes

1import{at as e}from"./dNVL65FL.js";import"./7bw-1-Bc.js";import{c as t,t as n}from"./CMNmbyhX.js";import{K as r,Ot as i,s as a}from"./Wh7plutV.js";import{t as o}from"./Bp1y_Lav.js";import{o as s}from"./Jhzqc6dB.js";import{t as c}from"./DIWjVFMY.js";import{t as l}from"./CQcKTGs-.js";function u(){let{bookmarks:u}=t(o()),{dedupeCall:d}=s(),{getLesson:f}=c(),{createToast:p}=n(),m=()=>d(`bookmarks`,h);async function h(){let e=await i();return u.value=e,e}let{mutate:g}=l({mutation:r,onMutate(t){let n=u.value.findIndex(e=>e.lessonUUID===t);if(n===-1)return()=>{};let r=u.value[n];if(r)return u.value.splice(n,1),p({type:`success`,text:`Bookmark removed!`,onClick:()=>{e(`/bookmarks`)}}),()=>{u.value.splice(n,0,r)}}}),{mutate:_}=l({mutation:a,onMutate(t){if(u.value.find(e=>e.lessonUUID===t))return()=>{};let n=f(t),r={lessonTitle:n?.lesson.title??`Placeholder`,lessonUUID:t,createdAt:new Date().toISOString(),courseUUID:n?.lesson.courseUUID??`00000000-0000-0000-0000-000000000000`};return p({type:`success`,text:`Bookmarked! View all bookmarks.`,onClick:()=>{e(`/bookmarks`)}}),u.value.unshift(r),()=>{u.value.shift()}}});function v(e){return u.value.some(t=>t.lessonUUID===e)}return{bookmarks:u,removeBookmark:g,bookmarkContent:_,loadBookmarks:m,isBookmarked:v}}export{u 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.