PageSourceSearch

https://rabbikahane.org/_next/static/chunks/c643642ff4117547.js

js rabbikahane.org collected 2026-10-02 13:02:02 UTC 5,044 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,97568,e=>{"use strict";let t=class{static DEFAULT_API_BASE_URL="http://localhost:3001";static get API_BASE_URL(){let e="https://rabbikahane.org",t=e?.replace(/\/$/,"")??this.DEFAULT_API_BASE_URL;return console.log("🔧 [Config] ENV NEXT_PUBLIC_API_BASE_URL:",e),console.log("🔧 [Config] Final API_BASE_URL:",t),t}static get BACKEND_URL(){return this.API_BASE_URL}static get IMAGES_API_URL(){return`${this.API_BASE_URL}/api/tenImages`}static get IMAGES_PAGINATION_API_URL(){return`${this.API_BASE_URL}/api`}static get bioUrl(){return`${this.API_BASE_URL}/api/bio`}static get videosUrl(){return`${this.API_BASE_URL}/api/videos`}static get booksUrl(){let e=`${this.API_BASE_URL}/api/books`;return console.log("📚 [Config] Books URL:",e),e}static get kahanaYomiUrl(){return`${this.API_BASE_URL}/api/kahana-yomi`}};e.s(["default",0,t])},59224,e=>{"use strict";var t=e.i(43476),s=e.i(71645),r=e.i(97568);let a=new class{async getAllBio(){try{let e=await fetch(`${r.default.bioUrl}`);if(!e.ok)throw Error(`HTTP error! status: ${e.status}`);return await e.json()}catch(e){throw console.error("שגיאה בקבלת נתוני ביוגרפיה:",e),e}}async getBioById(e){try{let t=await fetch(`${r.default.bioUrl}/${e}`);if(!t.ok){if(404===t.status)return null;throw Error(`HTTP error! status: ${t.status}`)}return await t.json()}catch(e){throw console.error("שגיאה בקבלת רשומת ביוגרפיה:",e),e}}};function i(){let[e,r]=(0,s.useState)([]),[i,l]=(0,s.useState)(!0),[n,c]=(0,s.useState)(0),[o,d]=(0,s.useState)(new Set),m=(0,s.useRef)(null),h=(0,s.useRef)(null),u=(0,s.useRef)(new Map);return(0,s.useEffect)(()=>{(async()=>{try{l(!0);let e=await a.getAllBio();r(e)}catch(e){console.error("Error fetching bio:",e)}finally{l(!1)}})()},[]),(0,s.useEffect)(()=>{let e=()=>{if(h.current&&m.current){let e=h.current.getBoundingClientRect().top,t=h.current.offsetHeight,s=window.innerHeight;c(Math.max(0,Math.min(1,(s/2-e)/(t-s))))}};return window.addEventListener("scroll",e),e(),()=>window.removeEventListener("scroll",e)},[e]),(0,t.jsxs)("div",{className:"biography-page",dir:"rtl",children:[(0,t.jsxs)("div",{className:"biography-header",children:[(0,t.jsxs)("nav",{className:"text-sm text-center",style:{marginTop:"3rem",marginBottom:"2rem"},children:[(0,t.jsx)("a",{href:"/",className:"text-gray-400 hover:text-gray-200",children:"דף הבית"}),(0,t.jsx)("span",{className:"mx-2 text-gray-400",children:">"}),(0,t.jsx)("span",{className:"text-white",children:"ביוגרפיה"})]}),(0,t.jsx)("h1",{className:"biography-title",children:"ביוגרפיה"}),(0,t.jsx)("p",{className:"biography-subtitle",style:{marginBottom:"4rem"},children:"חייו ופועלו"})]}),i&&(0,t.jsx)("div",{className:"text-center text-gray-700 text-xl py-20",children:"טוען..."}),!i&&e.length>0&&(0,t.jsxs)("div",{className:"timeline-container",ref:h,children:[(0,t.jsx)("div",{className:"timeline-track",children:(0,t.jsx)("img",{src:"/assets/Line 4.png",alt:"timeline line",className:"timeline-line-img"})}),(0,t.jsxs)("div",{className:"train-container",ref:m,style:{top:`${n*(h.current?.offsetHeight||374)}px`},children:[(0,t.jsxs)("div",{className:"smoke-container",children:[(0,t.jsx)("div",{className:"smoke-particle"}),(0,t.jsx)("div",{className:"smoke-particle"}),(0,t.jsx)("div",{className:"smoke-particle"}),(0,t.jsx)("div",{className:"smoke-particle"}),(0,t.jsx)("div",{className:"smoke-particle"}),(0,t.jsx)("div",{className:"smoke-particle"}),(0,t.jsx)("div",{className:"smoke-particle"}),(0,t.jsx)("div",{className:"smoke-particle"})]}),(0,t.jsx)("img",{src:"/assets/train.png",alt:"train",className:"train-img"})]}),e.map((e,s)=>{let r=o.has(e.id),a=r?e.text:(e=>{let t=document.createElement("div");t.innerHTML=e;let s=(t.textContent||t.innerText||"").trim().split(/\s+/);if(s.length<=100)return e;let r=s.slice(0,100).join(" ")+"...";return`<p>${r}</p>`})(e.text),i=e.text.length>600;return(0,t.jsx)("div",{ref:t=>{t?u.current.set(e.id,t):u.current.delete(e.id)},className:`timeline-event ${s%2==0?"right":"left"}`,children:(0,t.jsxs)("div",{className:"event-card",children:[e.title&&(0,t.jsx)("h3",{className:"event-title",children:e.title}),(0,t.jsx)("div",{className:"event-text",dangerouslySetInnerHTML:{__html:a}}),i&&(0,t.jsx)("button",{onClick:()=>{var t;return t=e.id,void d(e=>{let s=new Set(e);return s.has(t)?(s.delete(t),setTimeout(()=>{let e=u.current.get(t);if(e){let t=e.getBoundingClientRect().top+window.pageYOffset+-120;window.scrollTo({top:t,behavior:"smooth"})}},100)):s.add(t),s})},className:"read-more-btn",children:r?"הצג פחות ↑":"קרא עוד ↓"})]})},e.id)})]}),!i&&0===e.length&&(0,t.jsx)("div",{className:"text-center text-gray-700 text-xl py-20",children:"אין נתונים זמינים"}),(0,t.jsx)("div",{className:"biography-cta",children:(0,t.jsx)("a",{href:"/",className:"cta-button",children:"חזרה לדף הבית ←"})})]})}e.s(["default",()=>i],59224)}]);

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.