1import{c as b,r as a,ay as j,j as e,L as n,as as N,B as w,H as v}from"./index-Cshou3OC.js";import{A as o}from"./arrow-left-e7SZWsLz.js";import{P as y}from"./puzzle-DxMr9BsB.js";import{S as k,H as S}from"./sparkles-BfcM01Dj.js";import{L as E}from"./link-2-bZ_c7zFg.js";import{S as _}from"./shield-F7LSsDgs.js";import{F as R}from"./file-text-6bXh8050.js";import{S as B}from"./scale-BzekabJl.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 I=[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]],C=b("MousePointer2",I),l={chrome:"https://chromewebstore.google.com/detail/kjb-reader-sidepanel/gbnipepkpenjgdpjfepgcgddmgbofmah",firefox:"https://addons.mozilla.org/en-US/firefox/addon/kjb-reader-sidepanel/",opera:"https://base44.app/api/apps/6a713d810d97fdb5921ed14e/files/mp/public/6a713d810d97fdb5921ed14e/1154a38a3_kjb-reader-opera-v04259.zip",edge:"https://microsoftedge.microsoft.com/addons/detail/kjb-reader-sidepanel/bphmmbiepbhfnfijaapbmpimkkjdceee"},P="v0.4.272",A=[{heading:"Single Verses",items:["Ephesians 1:13","Romans 3:25","Hebrews 9:12"]},{heading:"Verse Ranges",items:["1 Corinthians 15:1-4","Romans 3:23-25","Ephesians 2:8-9"]},{heading:"Whole Chapters",items:["Psalm 23","Isaiah 53","Psalm 119","Hebrews 13"]},{heading:"Chapter Ranges",items:["Romans 1-3","Ephesians 1-2"]}],M=[{light:"https://media.base44.com/images/public/6a8011c360ff52dad38eb2f3/426f5c30f_Screenshot2026-08-16012745.png",dark:"https://media.base44.com/images/public/6a8011c360ff52dad38eb2f3/426f5c30f_Screenshot2026-08-16012745.png",label:"Results"},{light:"https://media.base44.com/images/public/6a8011c360ff52dad38eb2f3/2d3c47491_Screenshot2026-08-16012601.png",dark:"https://media.base44.com/images/public/6a8011c360ff52dad38eb2f3/2d3c47491_Screenshot2026-08-16012601.png",label:"Read"},{light:"https://media.base44.com/images/public/6a8011c360ff52dad38eb2f3/64c3a9b7b_Screenshot2026-08-16012624.png",dark:"https://media.base44.com/images/public/6a8011c360ff52dad38eb2f3/64c3a9b7b_Screenshot2026-08-16012624.png",label:"Gospel"},{light:"https://media.base44.com/images/public/6a8011c360ff52dad38eb2f3/6ed4814da_Screenshot2026-08-16012656.png",dark:"https://media.base44.com/images/public/6a8011c360ff52dad38eb2f3/6ed4814da_Screenshot2026-08-16012656.png",label:"Resources"}],J=[{icon:N,title:"Instant Verse Lookup",desc:"Auto-detect Bible references on any web page. Verses become clickable links that open in the sidebar."},{icon:w,title:"Read the KJB",desc:"Full King James Bible (Pure Cambridge Edition) with chapter navigation, verse numbers, and pilcrows."},{icon:C,title:"Right-Click Search",desc:"Select any text on a page, right-click, and look it up in the KJB sidebar instantly."},{icon:k,title:"Advanced Search",desc:"Wildcards (? and *), whole-word match, case sensitivity, and Old/New Testament filtering."},{icon:v,title:"Gospel Tab",desc:e.jsxs(e.Fragment,{children:["Built-in salvation guide with ",e.jsx("span",{className:"notranslate",translate:"no",children:"1 Corinthians 15:1-4, Romans 3:25"}),", and verified KJB preachers."]})},{icon:E,title:"Resources Tab",desc:"Quick links to KJBI.org, Discord bot, KJB defence materials, and ministry websites."}];function D(){const[i,c]=a.useState(l),[m,x]=a.useState(P),[h,f]=a.useState(!0),[p,g]=a.useState("https://base44.app/api/apps/6a713d810d97fdb5921ed14e/files/mp/public/6a713d810d97fdb5921ed14e/679d87279_icon128.png"),[L,u]=a.useState(M),d=s=>{var t;c({chrome:l.chrome,edge:l.edge,firefox:s.firefox||l.firefox,opera:s.opera||l.opera}),s.version&&x(s.version),f(s.show_instructions!==!1),s.hero_icon&&g(s.hero_icon),(t=s.mockups)!=null&&t.length&&u(s.mockups.map(r=>({light:r.src,dark:r.src,label:r.label})))};return a.useEffect(()=>{let s=!1;return(async()=>{try{const t=await j.entities.ExtensionConfig.list("-updated_date",1),r=t&&t[0];if(s||!r)return;d(r);try{localStorage.setItem("kjb-extension-config-cache",JSON.stringify(r))}catch{}}catch{if(s)return;try{const r=localStorage.getItem("kjb-extension-config-cache");r&&d(JSON.parse(r))}catch{}}})(),()=>{s=!0}},[]),e.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[e.jsxs("div",{className:"w-full bg-muted/40 border-b border-border py-2 flex items-center justify-center gap-1.5",children:[e.jsx("img",{src:"https://base44.com/favicon.ico",alt:"Base44",className:"w-4 h-4 rounded-sm"}),e.jsxs("p",{className:"font-sans",style:{fontSize:"12px",color:"#888"},children:["Made with"," ",e.jsx("a",{href:"https://base44.com/superagents",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-foreground transition-colors",children:"Base44 Superagent"})]})]}),e.jsxs("div",{className:"w-full max-w-[1200px] mx-auto px-5 sm:px-8 lg:px-12 py-10 pb-24",children:[e.jsx("div",{className:"mb-8",children:e.jsxs(n,{to:"/resources",className:"inline-flex items-center gap-2 px-4 py-2 rounded-xl bg-transparent border border-border font-sans text-sm font-medium text-muted-foreground hover:text-foreground hover:border-accent transition-all duration-200",children:[e.jsx(o,{className:"w-4 h-4"}),"Back to Resources"]})}),e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("img",{src:p,alt:"KJB Reader SidePanel",className:"block mx-auto w-16 h-16 rounded-2xl shadow-lg mb-5"}),e.jsx("h1",{className:"font-serif text-4xl sm:text-5xl font-bold text-foreground mb-4",children:"KJB Reader -Â SidePanel"}),e.jsx("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full mb-5 bg-primary/15 border border-primary/40",children:e.jsx("span",{className:"font-sans text-xs font-semibold text-primary",children:m})}),e.jsx("div",{className:"max-w-2xl mx-auto rounded-xl px-4 py-3 mb-5 bg-primary/10 border border-primary/35",children:e.jsxs("p",{className:"font-sans text-xs leading-relaxed text-primary",children:[e.jsx("strong",{children:"Desktop & Edge Mobile"})," â Available for Chrome, Edge, Brave, Firefox, and Opera on desktop. Also tested on Microsoft Edge mobile. Other mobile browsers may not support browser extensions."]})}),e.jsx("p",{className:"font-sans text-base mb-6 text-muted-foreground",children:"Read, search, and look up Bible verses from any web page."}),e.jsxs("div",{className:"flex flex-row flex-wrap items-start justify-center gap-3 w-full sm:w-auto",children:[e.jsxs("a",{href:i.chrome,target:"_blank",rel:"noopener noreferrer",title:"Get for Chrome/Brave â Chrome Web Store",className:"inline-flex flex-col items-center justify-start self-start transition-all duration-200 hover:scale-[1.02] active:scale-[0.98]",children:[e.jsx("img",{src:"https://developer.chrome.com/static/docs/webstore/branding/image/HRs9MPufa1J1h5glNhut.png",alt:"Available in the Chrome Web Store",className:"h-[58px] w-auto rounded-lg shadow-lg"}),e.jsx("span",{className:"font-sans text-[11px] font-medium text-transparent mt-1","aria-hidden":"true",children:"Â "})]}),e.jsxs("a",{href:i.edge,target:"_blank",rel:"noopener noreferrer",title:"Get for Microsoft Edge â Edge Add-ons",className:"inline-flex flex-col items-center justify-start self-start transition-all duration-200 hover:scale-[1.02] active:scale-[0.98]",children:[e.jsx("img",{src:"https://learn.microsoft.com/en-us
6/microsoft-edge/extensions/publish/add-ons-badge-images/microsoft-edge-add-ons-badge.png",alt:"Get it from Microsoft Edge",className:"h-[58px] w-auto rounded-lg shadow-lg"}),e.jsx("span",{className:"font-sans text-[11px] font-medium text-muted-foreground mt-1",children:"Works on mobile"})]}),e.jsxs("a",{href:i.firefox,target:"_blank",rel:"noopener noreferrer",title:"Get for Firefox â addons.mozilla.org",className:"inline-flex flex-col items-center justify-start self-start transition-all duration-200 hover:scale-[1.02] active:scale-[0.98]",children:[e.jsx("img",{src:"https://blog.mozilla.org/addons/files/2015/11/AMO-button_1.png",alt:"Get the Add-on for Firefox",className:"h-[58px] w-auto rounded-lg shadow-lg"}),e.jsx("span",{className:"font-sans text-[11px] font-medium text-transparent mt-1","aria-hidden":"true",children:"Â "})]}),e.jsx("a",{href:i.opera,target:"_blank",rel:"noopener noreferrer",className:"inline-flex flex-col items-center justify-center self-start gap-2 px-8 py-4 rounded-xl font-sans text-base font-semibold text-white transition-all duration-200 hover:scale-[1.02] active:scale-[0.98] shadow-lg bg-green-500 hover:bg-green-600",children:e.jsxs("span",{className:"inline-flex items-center gap-2",children:[e.jsx(y,{className:"w-5 h-5"}),"Get for Opera"]})})]})]}),e.jsxs("div",{className:"mb-12",children:[e.jsx("h2",{className:"font-serif text-2xl font-bold text-foreground mb-6 text-center",children:"See It In Action"}),e.jsx("div",{className:"w-full rounded-xl border border-border bg-card shadow-lg overflow-hidden",children:e.jsx("img",{src:"https://media.base44.com/images/public/6a8011c360ff52dad38eb2f3/b38904652_62b1eeff0_unified-all-browsers.png",alt:"KJB Reader Extension preview",loading:"lazy",className:"w-full h-auto"})})]}),e.jsxs("div",{className:"mb-12",children:[e.jsx("h2",{className:"font-serif text-2xl font-bold text-foreground mb-2 text-center",children:"Try These Examples"}),e.jsx("p",{className:"font-sans text-sm text-center mb-6 text-muted-foreground",children:"Install the extension, then click any reference below to look it up instantly in the side panel."}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-
65",children:A.map(s=>e.jsxs("div",{className:"p-5 rounded-2xl border border-border bg-card shadow-sm",children:[e.jsx("p",{className:"font-sans font-semibold text-sm text-foreground mb-4",children:s.heading}),e.jsx("div",{className:"flex flex-col gap-3",children:s.items.map(t=>e.jsx("p",{className:"notranslate font-sans text-foreground",translate:"no",style:{fontSize:"18px",lineHeight:"1.4"},children:t},t))})]},s.heading))})]}),e.jsxs("div",{className:"mb-12",children:[e.jsx("h2",{className:"font-serif text-2xl font-bold text-foreground mb-6 text-center",children:"Features"}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5",children:J.map(s=>{const t=s.icon;return e.jsxs("div",{className:"flex items-start gap-3 p-5 rounded-2xl border border-border bg-card shadow-sm hover:shadow-lg hover:-translate-y-0.5 active:scale-[0.98] transition-all duration-200",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 flex items-center justify-center rounded-xl text-white shadow-md",style:{background:"linear-gradient(135deg, #2563eb, #06b6d4)"},children:e.jsx(t,{className:"w-5 h-5"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"font-sans font-semibold text-sm text-foreground mb-1",children:s.title}),e.jsx("p",{className:"font-sans text-xs leading-relaxed text-muted-foreground",children:s.desc})]})]},s.title)})})]}),h&&e.jsxs("div",{className:"rounded-2xl p-6 sm:p-7 mb-8 shadow-lg bg-card border border-border",children:[e.jsx("h2",{className:"font-serif text-xl font-semibold text-foreground mb-5",children:"Installation Instructions"}),e.jsxs("ol",{className:"space-y-3 font-sans text-sm leading-relaxed text-foreground/90",children:[e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex-shrink-0 w-6 h-6 rounded-full flex items-center justify-center text-xs font-bold text-primary-foreground bg-primary",children:"1"}),e.jsx("span",{children:"Download the .zip file using the button above"})]}),e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex-shrink-0 w-6 h-6 rounded-full flex items-center justify-center text-xs font-bold text-primary-foreground bg-primary",children:"2"}),e.jsx("span",{children:"Extract/unzip the downloaded file"})]}),e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex-shrink-0 w-6 h-6 rounded-full flex items-center justify-center text-xs font-bold text-primary-foreground bg-primary",children:"3"}),e.jsxs("span",{children:["Open Chrome and go to ",e.jsx("code",{className:"px-1.5 py-0.5 rounded font-sans text-xs bg-muted text-primary",children:"chrome://extensions"})]})]}),e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex-shrink-0 w-6 h-6 rounded-full flex items-center justify-center text-xs font-bold text-primary-foreground bg-primary",children:"4"}),e.jsx("span",{children:"Enable âDeveloper modeâ (toggle in top right)"})]}),e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex-shrink-0 w-6 h-6 rounded-full flex items-center justify-center text-xs font-bold text-primary-foreground bg-primary",children:"5"}),e.jsx("span",{children:"Click âLoad unpackedâ and select the extracted folder"})]}),e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex-shrink-0 w-6 h-6 rounded-full flex items-center justify-center text-xs font-bold text-primary-foreground bg-primary",children:"6"}),e.jsx("span",{children:"The KJB SidePanel icon will appear in your toolbar"})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:[e.jsxs(n,{to:"/extension-privacy",className:"flex items-center gap-3 px-5 py-4 rounded-2xl border border-border bg-card/70 backdrop-blur-xl shadow-sm hover:shadow-lg hover:border-accent/40 hover:-translate-y-0.5 active:scale-[0.98] transition-all duration-200 group",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 flex items-center justify-center rounded-xl text-white shadow-md bg-gradient-to-br from-violet-500 to-purple-600",children:e.jsx(_,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left flex-1 min-w-0",children:[e.jsx("p",{className:"font-sans font-medium text-sm text-foreground group-hover:text-accent transition-colors",children:"Extension Privacy Policy"}),e.jsx("p",{className:"font-sans text-xs text-muted-foreground",children:"How the extension handles your data"})]}),e.jsx(o,{className:"w-4 h-4 text-muted-foreground rotate-180 group-hover:text-accent transition-colors"})]}),e.jsxs(n,{to:"/extension-terms",className:"flex items-center gap-3 px-5 py-4 rounded-2xl border border-border bg-card/70 backdrop-blur-xl shadow-sm hover:shadow-lg hover:border-accent/40 hover:-translate-y-0.5 active:scale-[0.98] transition-all duration-200 group",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 flex items-center justify-center rounded-xl text-white shadow-md bg-gradient-to-br from-emerald-500 to-teal-600",children:e.jsx(R,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left flex-1 min-w-0",children:[e.jsx("p",{className:"font-sans font-medium text-sm text-foreground group-hover:text-accent transition-colors",children:"Extension Terms of Service"}),e.jsx("p",{className:"font-sans text-xs text-muted-foreground",children:"Terms for using the extension"})]}),e.jsx(o,{className:"w-4 h-4 text-muted-foreground rotate-180 group-hover:text-accent transition-colors"})]}),e.jsxs(n,{to:"/extension-license",className:"flex items-center gap-3 px-5 py-4 rounded-2xl border border-border bg-card/70 backdrop-blur-xl shadow-sm hover:shadow-lg hover:border-accent/40 hover:-translate-y-0.5 active:scale-[0.98] transition-all duration-200 group",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 flex items-center justify-center rounded-xl text-white shadow-md bg-gradient-to-br from-amber-500 to-orange-600",children:e.jsx(B,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left flex-1 min-w-0",children:[e.jsx("p",{className:"font-sans font-medium text-sm text-foreground group-hover:text-accent transition-colors",children:"Extension MIT License"}),e.jsx("p",{className:"font-sans text-xs text-muted-foreground",children:"Open-source licence terms"})]}),e.jsx(o,{className:"w-4 h-4 text-muted-foreground rotate-180 group-hover:text-accent transition-colors"})]}),e.jsxs(n,{to:"/extension/change-log",className:"flex items-center gap-3 px-5 py-4 rounded-2xl border border-border bg-card/70 backdrop-blur-xl shadow-sm hover:shadow-lg hover:border-accent/40 hover:-translate-y-0.5 active:scale-[0.98] transition-all duration-200 group",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 flex items-center justify-center rounded-xl text-white shadow-md bg-gradient-to-br from-blue-500 to-indigo-600",children:e.jsx(S,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left flex-1 min-w-0",children:[e.jsx("p",{className:"font-sans font-medium text-sm text-foreground group-hover:text-accent transition-colors",children:"Changelog"}),e.jsx("p",{className:"font-sans text-xs text-muted-foreground",children:"Full version history"})]}),e.jsx(o,{className:"w-4 h-4 text-muted-foreground rotate-180 group-hover:text-accent transition-colors"})]})]})]})]})}export{D as default};
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.