1import{c as i}from"./index-Cshou3OC.js";/** 2 * @license lucide-react v0.475.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const u=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],h=i("FolderPlus",u);/** 7 * @license lucide-react v0.475.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const S=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],v=i("Folder",S),c="kjb-saved-verses",a="Favourites";function l(e){return e==="Favorites"?a:e}function g(){try{const e=localStorage.getItem("kjb-saved-folders");if(!e)return;const r=JSON.parse(e);if(!Array.isArray(r)||!r.includes("Favorites"))return;const s=r.map(l);localStorage.setItem("kjb-saved-folders",JSON.stringify(s))}catch{}}g();function d(){try{const e=JSON.parse(localStorage.getItem(c)||"[]");return Array.isArray(e)?e.map(r=>({...r,folder:l(r.folder||a)})):[]}catch{return[]}}function f(){try{const e=JSON.parse(localStorage.getItem("kjb-saved-folders")||"[]"),r=(Array.isArray(e)?e:[]).map(l);return r.includes(a)||r.unshift(a),r}catch{return[a]}}function b(e){const r=f();r.includes(e)||(r.push(e),localStorage.setItem("kjb-saved-folders",JSON.stringify(r)))}function p(e,r,s){return d().some(t=>t.abbr===e&&t.chapter===r&&t.verse===s)}function y(e){const r=d();p(e.abbr,e.chapter,e.verse)||(r.unshift({...e,folder:e.folder||a}),localStorage.setItem(c,JSON.stringify(r)))}function F(e,r,s,t){const o=d().map(n=>n.abbr===e&&n.chapter===r&&n.verse===s?{...n,folder:t}:n);localStorage.setItem(c,JSON.stringify(o))}function k(e,r,s){const t=d().filter(o=>!(o.abbr===e&&o.chapter===r&&o.verse===s));localStorage.setItem(c,JSON.stringify(t))}function N(e){if(e===a)return;const r=f().filter(t=>t!==e);localStorage.setItem("kjb-saved-folders",JSON.stringify(r));const s=d().map(t=>t.folder===e?{...t,folder:a}:t);localStorage.setItem(c,JSON.stringify(s))}export{v as F,h as a,d as b,b as c,N as d,f as g,p as i,k as r,y as s,F as u};
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.