1import{D as l,aP as m,j as e,L as x,e as d,aW as h,M as r,dJ as p}from"./index-CaclCRGe.js";import{b as u}from"./pages-CrCZmySz.js";import{E as b}from"./external-link-Dd1OQMHf.js";import"./ads-NEuadhdC.js";import"./listing-BGmQHneg.js";import"./chevron-right-CmhdJG_P.js";import"./provider-icons-buWTiGix.js";import"./popover-DzKgUcJn.js";import"./useQuery-CujtdMQv.js";import"./daily-chart-DaZ1VwO2.js";import"./ashkelon-crossword-ChvNWFb6.js";import"./cinema-providers-BhxiPS6K.js";const w=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],j=l("arrow-right",w);function g({article:t,related:n,latest:o=[]}){const i=`/article/${encodeURIComponent(t.slug)}`,a=m(i),s=t.status==="published";async function c(){try{await navigator.clipboard.writeText(a),r.success("××§×ש×ר ××עתק")}catch{r.error("×× × ××ª× ××עת××§ ×ת ××§×ש×ר")}}return e.jsxs("div",{children:[e.jsx("div",{className:"sticky top-0 z-[60] border-b border-white/10 bg-black/90 text-white backdrop-blur-md",children:e.jsxs("div",{className:"mx-auto flex h-12 max-w-7xl items-center justify-between gap-2 border-white/10 px-3 sm:gap-6 sm:border-x sm:px-6",children:[e.jsxs(x,{to:"/admin/articles/$id",params:{id:t.$id},className:"inline-flex shrink-0 items-center gap-1.5 text-sm text-white/50 transition-colors hover:text-white",children:[e.jsx(j,{className:"size-3.5"}),"ער×××"]}),e.jsxs("p",{className:"min-w-0 truncate text-center text-xs text-white/45 sm:text-sm",children:["תצ××× ××§××××",e.jsx("span",{className:"mx-2 text-white/20","aria-hidden":!0,children:"·"}),e.jsx("span",{className:d(s?"text-emerald-300/90":"text-amber-200/90"),children:s?"×פ×רס×":"×××××"})]}),e.jsxs("div",{className:"flex shrink-0 items-center gap-2 sm:gap-4",children:[e.jsxs("button",{type:"button",onClick:()=>{c()},title:a,className:"inline-flex items-center gap-1.5 text-sm text-white/50 transition-colors hover:text-white",children:[e.jsx(h,{className:"size-3.5"}),e.jsx("span",{className:"hidden sm:inline",children:"×עתק×"})]}),s?e.jsxs("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-sm text-white/50 transition-colors hover:text-white",children:[e.jsx(b,{className:"size-3.5"}),e.jsx("span",{className:"hidden sm:inline",children:"××תר"})]}):null]})]})}),e.jsx(u,{article:t,related:n,latest:o})]})}function U(){const t=p.useLoaderData();return e.jsx(g,{article:t.article,related:t.related,latest:t.latest})}export{U as component}; 2//# sourceMappingURL=admin.articles_._id_.preview-CFGEp---.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.