(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,87391,e=>{"use strict";var t=e.i(18050),s=e.i(71645),a=e.i(73435),l=e.i(78085),r=e.i(8164),n=e.i(52775);let i={download:r.IconDownload,github:r.IconGithub,play:r.IconPlay};function o({eyebrow:e,repo:s,handle:a,releaseTag:r,tone:o="local",size:d="regular",actions:c}){let x="compact"===d;return(0,t.jsxs)("section",{className:(0,n.default)("tb-frame-soft","web"===o?"bg-[#eef8ff]":"bg-[#fffdf9]",x?"p-3":"p-4"),children:[(0,t.jsx)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("div",{className:"text-[11px] font-bold uppercase tracking-[0.18em] text-slate-500",children:e}),(0,t.jsxs)("div",{className:(0,n.default)("mt-2 flex flex-wrap items-center gap-2",x?"text-xs":"text-sm"),children:[(0,t.jsx)("code",{className:"rounded-full border-2 border-[#25314d] bg-white px-2.5 py-1 font-mono font-semibold text-[#25314d]",children:a}),r?(0,t.jsxs)("span",{className:"rounded-full bg-[#ecffe5] px-2.5 py-1 text-[11px] font-bold text-[#25314d]",children:["Release ",r]}):null]}),(0,t.jsx)("div",{className:"mt-3 font-mono text-xs text-slate-600",children:s})]})}),(0,t.jsx)("div",{className:"mt-4 flex flex-wrap gap-2",children:c.map(e=>{if("copy"===e.type)return(0,t.jsx)(l.CopyButton,{text:e.text,label:e.label},`${s}:${e.label}`);if("button"===e.type){let a="primary"===e.emphasis;return(0,t.jsx)("button",{type:"button",className:(0,n.default)("tb-focus-ring",a?"tb-button-primary w-full":"tb-button-secondary"),onClick:e.onClick,children:e.label},`${s}:${e.label}`)}let a=i[e.icon],r="primary"===e.emphasis;return(0,t.jsxs)("a",{className:(0,n.default)("tb-focus-ring",r?"tb-button-primary":"tb-button-secondary"),href:e.href,target:"_blank",rel:"noreferrer",children:[(0,t.jsx)(a,{className:"size-4"}),e.label]},`${s}:${e.label}`)})})]})}var d=e.i(96382),c=e.i(13856);function x({task:e,onClose:l}){let[r,n]=(0,s.useState)({}),[i,x]=(0,s.useState)({});if((0,s.useEffect)(()=>{if(!e)return;let t=e.repo;if(void 0!==r[t]||i[t])return;let s=!1;return fetch(e.readme_snapshot_path).then(e=>{if(!e.ok)throw Error("README snapshot missing");return e.text()}).then(e=>{s||n(s=>({...s,[t]:e}))}).catch(()=>{s||x(e=>({...e,[t]:!0}))}),()=>{s=!0}},[i,r,e]),(0,s.useEffect)(()=>{if(!e)return;let t=document.body.style.overflow;function s(e){"Escape"===e.key&&l()}return document.body.style.overflow="hidden",window.addEventListener("keydown",s),()=>{document.body.style.overflow=t,window.removeEventListener("keydown",s)}},[l,e]),!e)return null;let m=r[e.repo],p=!!i[e.repo],f=void 0===m&&!p,u=e.web_variant,h=e.repo;return(0,t.jsx)("div",{className:"fixed inset-0 z-[70] bg-slate-950/35 backdrop-blur-sm",onClick:l,children:(0,t.jsxs)("div",{className:"absolute inset-y-0 right-0 w-full max-w-3xl overflow-y-auto border-l border-slate-200 bg-white shadow-2xl",onClick:e=>e.stopPropagation(),role:"dialog","aria-modal":"true","aria-label":`${(0,c.taskTitle)(e)} details`,children:[(0,t.jsx)("div",{className:"sticky top-0 z-10 border-b border-slate-200 bg-white/95 px-5 py-4 backdrop-blur",children:(0,t.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("div",{className:"text-[11px] font-semibold uppercase tracking-[0.18em] text-slate-500",children:"Task details"}),(0,t.jsx)("div",{className:"mt-2 font-heading text-2xl font-semibold tracking-tight text-slate-900",children:(0,c.taskTitle)(e)}),(0,t.jsxs)("div",{className:"mt-2 flex flex-wrap items-center gap-2 text-xs text-slate-600",children:[(0,t.jsx)("code",{className:"rounded-full border border-slate-200 bg-slate-50 px-2.5 py-1 font-mono text-[11px] text-slate-700",children:(0,c.taskHandle)(e)}),(0,t.jsx)("code",{className:"rounded-full border border-slate-200 bg-slate-50 px-2.5 py-1 font-mono text-[11px] text-slate-700",children:e.repo})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("button",{type:"button",className:"tb-focus-ring rounded-lg border border-slate-200 bg-white px-3 py-2 text-sm font-semibold text-slate-800 hover:border-brand-200 hover:bg-brand-50",onClick:function(){window.location.assign((0,d.taskDetailHref)(h))},children:"Open full page"}),(0,t.jsx)("button",{type:"button",className:"tb-focus-ring rounded-lg border border-slate-200 bg-white px-3 py-2 text-sm font-semibold text-slate-800 hover:border-brand-200 hover:bg-brand-50",onClick:l,children:"Close"})]})]})}),(0,t.jsxs)("div",{className:"space-y-6 px-5 py-5",children:[(0,t.jsxs)("div",{className:"grid gap-3 lg:grid-cols-2",children:[(0,t.jsx)(o,{eyebrow:"Local / PsyFlow",handle:(0,c.taskHandle)(e),repo:e.repo,releaseTag:e.release_tag,tone:"local",actions:[{type:"copy",label:"Copy Clone",text:(0,c.localCloneCommand)(e)},{label:"Open Repo",href:e.html_url,icon:"github"},{label:"Download",href:`${e.html_url}/archive/refs/heads/${e.default_branch}.zip`,icon:"download"}]}),u?(0,t.jsx)(o,{eyebrow:"Preview",handle:(0,c.taskHandle)(u),repo:u.repo,releaseTag:u.release_tag,tone:"web",actions:[{label:"Run Preview",href:u.run_url,icon:"play",emphasis:"primary"},{label:"Open Repo",href:u.html_url,icon:"github"}]}):null]}),(0,t.jsxs)("section",{className:"rounded-3xl border border-slate-200 bg-white p-5 shadow-sm",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-[11px] font-semibold uppercase tracking-[0.18em] text-slate-500",children:"README snapshot"}),(0,t.jsx)("div",{className:"mt-1 text-sm text-slate-700",children:"The drawer loads the tracked markdown snapshot on demand, including any task-flow image referenced in the README."})]}),(0,t.jsx)("a",{className:"tb-focus-ring rounded-lg border border-slate-200 bg-white px-3 py-2 text-sm font-semibold text-slate-800 hover:border-brand-200 hover:bg-brand-50",href:e.html_url,target:"_blank",rel:"noreferrer",children:"View on GitHub"})]}),f?(0,t.jsx)("div",{className:"mt-6 rounded-2xl border border-slate-200 bg-slate-50 p-5 text-sm text-slate-700",children:"Loading README snapshot..."}):p?(0,t.jsx)("div",{className:"mt-6 rounded-2xl border border-slate-200 bg-slate-50 p-5 text-sm text-slate-700",children:"README content is not available in this build."}):(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(a.Markdown,{markdown:m??"",repoFullName:e.full_name,defaultBranch:e.default_branch,htmlUrl:e.html_url})})]})]})]})})}e.s(["TaskDrawer",()=>x],87391)},74365,e=>{"use strict";var t=e.i(18050),s=e.i(52775),a=e.i(8164),l=e.i(71645),r=e.i(22041);function n(e){return e.trim().toLowerCase()}function i(){return{maturity:new Set,preview:new Set,paradigm:new Set,response:new Set,modality:new Set,language:new Set}}function o(e,t){let s=new Set;if("maturity"===t){for(let t of e){let e=String(t.maturity??"").trim();e&&s.add(e)}return Array.from(s).sort((e,t)=>e.localeCompare(t))}if("preview"===t)return e.some(e=>(0,r.taskHasPreview)(e))&&s.add("With preview"),e.some(e=>!(0,r.taskHasPreview)(e))&&s.add("Without preview"),Array.from(s);for(let a of e)for(let e of a.tags?.[t]??[])e?.trim()&&s.add(e.trim());return Array.from(s).sort((e,t)=>e.localeCompare(t))}var d=e.i(6949);function c({label:e,selected:a,onClick:l,title:r}){return(0,t.jsx)("button",{type:"button",title:r,className:(0,s.default)("tb-focus-ring inline-flex items-center gap-2 rounded-full border-2 px-3 py-1 text-xs font-bold transition-colors","border-[#25314d] cursor-pointer",a?"bg-[#39d95d] text-white":"bg-white text-[#25314d] hover:bg-[#e2f3fb]"),onClick:l,children:(0,t.jsx)("span",{className:"truncate",children:e})})}var x=e.i(75379),m=e.i(13856),p=e.i(27092);let f={download:a.IconDownload,github:a.IconGithub,play:a.IconPlay};function u({href:e,label:a,icon:l,tone:r="local",className:n}){let i=f[l];return(0,t.jsxs)("a",{className:(0,s.default)("tb-focus-ring","preview-primary"===r?"tb-button-primary":"preview"===r?"tb-button-ghost bg-[#ffe9de]":"tb-button-secondary bg-[#d7ebf6]",n),href:e,target:"_blank",rel:"noreferrer",children:[(0,t.jsx)(i,{className:"size-4"}),a]})}function h({task:e,onOpen:s}){let a=e.web_variant;return(0,t.jsxs)("article",{className:"tb-frame bg-[#fffdf9] p-4 sm:p-5",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("h2",{className:"min-w-0 font-heading text-[2rem] font-bold leading-[0.95] text-[#25314d] sm:text-[2.35rem]",children:(0,m.taskTitle)(e)}),(0,t.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2 text-xs text-slate-600",children:[(0,t.jsx)("code",{className:"rounded-full border-2 border-[#25314d] bg-white px-2.5 py-1 font-mono text-[11px] font-semibold text-[#25314d]",children:(0,m.taskHandle)(e)}),e.maturity?(0,t.jsx)(p.MaturityBadge,{maturity:e.maturity}):null,a?(0,t.jsx)("span",{className:"rounded-full bg-[#ecffe5] px-3 py-1 text-[11px] font-bold text-[#25314d]",children:"Preview ready"}):null,(0,t.jsx)("span",{className:"rounded-full bg-[#e2f3fb] px-4 py-2 text-[11px] font-bold text-[#25314d]",children:(0,x.formatShortDate)(e.last_updated)})]})]}),(0,t.jsxs)("div",{className:"mt-4 grid gap-4 xl:grid-cols-[minmax(0,1fr)_auto] xl:items-start",children:[(0,t.jsx)("p",{className:"max-w-4xl text-sm leading-7 text-slate-700 sm:text-base",children:e.short_description||"No description provided."}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2 xl:flex-col xl:items-end",children:[(0,t.jsx)("button",{type:"button",className:"tb-focus-ring tb-button-primary min-w-[190px] whitespace-nowrap",onClick:()=>s(e),children:"Expand details"}),a?(0,t.jsx)(u,{href:a.run_url,label:"Run Preview",icon:"play",tone:"preview-primary",className:"min-w-[190px] whitespace-nowrap justify-center"}):null]})]}),(0,t.jsxs)("div",{className:"mt-6 space-y-3",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center",children:[(0,t.jsx)("div",{className:"text-[11px] font-bold uppercase tracking-[0.18em] text-slate-500 sm:min-w-[88px]",children:"PsyFlow"}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(u,{href:e.html_url,label:"Task Repo",icon:"github",tone:"local"}),(0,t.jsx)(u,{href:`${e.html_url}/archive/refs/heads/${e.default_branch}.zip`,label:"Download",icon:"download",tone:"local"})]})]}),a?(0,t.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center",children:[(0,t.jsx)("div",{className:"text-[11px] font-bold uppercase tracking-[0.18em] text-slate-500 sm:min-w-[88px]",children:"Preview"}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(u,{href:a.html_url,label:"Preview Repo",icon:"github",tone:"preview"}),(0,t.jsx)(u,{href:`${a.html_url}/archive/refs/heads/${a.default_branch}.zip`,label:"Download",icon:"download",tone:"preview"})]})]}):null]})]})}var b=e.i(87391);function g({title:e,facet:s,values:a,selected:l,onToggle:r,isOpen:n,onToggleOpen:i}){return 0===a.length?null:(0,t.jsxs)("section",{className:"tb-frame-soft p-4",children:[(0,t.jsxs)("button",{type:"button",className:"tb-focus-ring flex w-full items-center justify-between gap-3 rounded-lg text-left",onClick:i,children:[(0,t.jsx)("h3",{className:"font-heading text-xl font-bold text-[#25314d]",children:e}),(0,t.jsx)("div",{className:"text-xs font-bold text-slate-600",children:l[s].size>0?`${l[s].size} selected`:`${a.length} options`})]}),n?(0,t.jsx)("div",{className:"mt-4 flex flex-wrap gap-2",children:a.map(e=>(0,t.jsx)(c,{label:"maturity"===s?(0,p.formatMaturityLabel)(e):e,selected:l[s].has(e),onClick:()=>r(s,e)},`${s}:${e}`))}):null]})}function w({currentPage:e,totalPages:l,totalItems:r,startIndex:n,endIndex:i,onPageChange:o}){if(l<=1)return null;let d=Array.from({length:l},(e,t)=>t+1);return(0,t.jsxs)("div",{className:"tb-frame flex flex-col gap-4 bg-[#fffdf9] px-4 py-4 sm:flex-row sm:items-center sm:justify-between sm:px-5",children:[(0,t.jsxs)("div",{className:"text-sm text-slate-700",children:["Showing ",(0,t.jsx)("span",{className:"font-bold text-[#25314d]",children:n+1}),"-",(0,t.jsx)("span",{className:"font-bold text-[#25314d]",children:i})," of"," ",(0,t.jsx)("span",{className:"font-bold text-[#25314d]",children:r})," tasks"]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsxs)("button",{type:"button",className:(0,s.default)("tb-focus-ring inline-flex min-w-[112px] items-center justify-center gap-2 rounded-[16px] border-2 border-[#25314d] px-4 py-2 text-sm font-bold text-[#25314d]",1===e?"cursor-not-allowed bg-slate-100 text-slate-400":"bg-white hover:bg-[#eef8ff]"),onClick:()=>o(e-1),disabled:1===e,children:[(0,t.jsx)(a.IconChevronLeft,{className:"size-4"}),"Previous"]}),(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:d.map(a=>(0,t.jsx)("button",{type:"button",className:(0,s.default)("tb-focus-ring min-w-11 rounded-[14px] border-2 px-3 py-2 text-sm font-bold",a===e?"border-[#25314d] bg-[#25314d] text-white":"border-[#25314d] bg-white text-[#25314d] hover:bg-[#eef8ff]"),onClick:()=>o(a),"aria-current":a===e?"page":void 0,children:a},a))}),(0,t.jsxs)("button",{type:"button",className:(0,s.default)("tb-focus-ring inline-flex min-w-[112px] items-center justify-center gap-2 rounded-[16px] border-2 border-[#25314d] px-4 py-2 text-sm font-bold text-[#25314d]",e===l?"cursor-not-allowed bg-slate-100 text-slate-400":"bg-white hover:bg-[#eef8ff]"),onClick:()=>o(e+1),disabled:e===l,children:["Next",(0,t.jsx)(a.IconChevronRight,{className:"size-4"})]})]})]})}function v({tasks:e}){let s=(0,d.useTasksWithHtmlCompanions)(e),[a,c]=(0,l.useState)(""),[x,m]=(0,l.useState)(()=>i()),[p,f]=(0,l.useState)(null),[u,v]=(0,l.useState)(1),[j,y]=(0,l.useState)({maturity:!0,preview:!0,paradigm:!0}),N=(0,l.useDeferredValue)(a),k=(0,l.useMemo)(()=>o(s,"maturity"),[s]),C=(0,l.useMemo)(()=>o(s,"preview"),[s]),S=(0,l.useMemo)(()=>o(s,"paradigm"),[s]),_=(0,l.useMemo)(()=>s.filter(e=>(0,r.taskHasPreview)(e)).length,[s]),T=(0,l.useMemo)(()=>s.filter(e=>{let t;return!(t=n(N))||[e.id??"",e.title??"",e.repo,e.short_description??"",e.maturity??"",e.web_variant?.id??"",e.web_variant?.repo??"",e.web_variant?.title??"",...e.keywords??[],...e.tags.paradigm??[],...e.tags.response??[],...e.tags.modality??[],...e.tags.language??[]].join(" ").toLowerCase().includes(t)}).filter(e=>(function(e,t){if(!function(e,t){if(!t||0===t.size)return!0;let s=n(e.maturity??"");if(!s)return!1;for(let e of t)if(s===n(e))return!0;return!1}(e,t.maturity)||!function(e,t){if(!t||0===t.size)return!0;let s=(0,r.taskHasPreview)(e),a=Array.from(t).map(n);return!!(a.includes("with preview")&&s||a.includes("without preview")&&!s)}(e,t.preview))return!1;for(let s of["paradigm","response","modality","language"]){let a=t[s];if(!a||0===a.size)continue;let l=new Set((e.tags?.[s]??[]).map(n)),r=!1;for(let e of a)if(l.has(n(e))){r=!0;break}if(!r)return!1}return!0})(e,x)).sort((e,t)=>{let s=String(e.title??e.repo).toLowerCase(),a=String(t.title??t.repo).toLowerCase();return s.localeCompare(a)}),[N,s,x]),P=Math.max(1,Math.ceil(T.length/15)),E=Math.min(u,P),M=(E-1)*15,z=Math.min(M+15,T.length),R=T.slice(M,z),$=(0,l.useMemo)(()=>s.find(e=>e.repo===p)??null,[p,s]),D=a.trim().length>0||x.maturity.size>0||x.preview.size>0||x.paradigm.size>0||x.response.size>0||x.modality.size>0||x.language.size>0;function I(e){v(Math.max(1,Math.min(e,P)))}function L(){1!==E&&I(1)}function O(e,t){L(),m(s=>{let a={maturity:new Set(s.maturity),preview:new Set(s.preview),paradigm:new Set(s.paradigm),response:new Set(s.response),modality:new Set(s.modality),language:new Set(s.language)};return a[e].has(t)?a[e].delete(t):a[e].add(t),a})}function A(){L(),c(""),m(i())}return(0,l.useEffect)(()=>{let e=()=>{let e;v(!Number.isFinite(e=Number.parseInt(new URLSearchParams(window.location.search).get("page")??"1",10))||e<1?1:e)};return e(),window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]),(0,l.useEffect)(()=>{let e=new URLSearchParams(window.location.search);1===E?e.delete("page"):e.set("page",String(E));let t=e.toString(),s=t?`${window.location.pathname}?${t}`:window.location.pathname;window.history.replaceState(null,"",s)},[E]),(0,t.jsxs)("section",{className:"space-y-8 lg:pt-6",children:[(0,t.jsxs)("div",{className:"max-w-4xl",children:[(0,t.jsx)("div",{className:"tb-section-chip bg-[#f5d7cf]",children:"Task Explorer"}),(0,t.jsxs)("div",{className:"mt-5 font-heading text-5xl font-bold leading-[0.94] text-[#25314d] sm:text-6xl",children:["Find The Right Task,",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-[#39d95d]",children:"Filter Faster,"}),(0,t.jsx)("br",{}),"Expand Only What Matters."]}),(0,t.jsx)("div",{className:"mt-5 max-w-2xl text-base leading-8 text-slate-700",children:"This explorer keeps the denser list workflow while adopting the clearer, stronger page language from the rest of the site."}),(0,t.jsxs)("div",{className:"mt-8 flex flex-wrap gap-4",children:[(0,t.jsxs)("div",{className:"tb-frame-soft min-w-[160px] bg-[#fffdf9] px-5 py-4",children:[(0,t.jsx)("div",{className:"font-heading text-3xl font-bold text-[#25314d]",children:s.length}),(0,t.jsx)("div",{className:"text-sm text-slate-600",children:"Total tasks"})]}),(0,t.jsxs)("div",{className:"tb-frame-soft min-w-[160px] bg-[#eef8ff] px-5 py-4",children:[(0,t.jsx)("div",{className:"font-heading text-3xl font-bold text-[#25314d]",children:_}),(0,t.jsx)("div",{className:"text-sm text-slate-600",children:"With preview"})]})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-12",children:[(0,t.jsx)("aside",{className:"lg:col-span-4 xl:col-span-3",children:(0,t.jsxs)("div",{className:"space-y-4 lg:sticky lg:top-32",children:[(0,t.jsxs)("section",{className:"tb-frame p-4",children:[(0,t.jsxs)("label",{className:"block",htmlFor:"task-explorer-search",children:[(0,t.jsx)("span",{className:"text-xs font-bold uppercase tracking-[0.18em] text-slate-500",children:"Search"}),(0,t.jsx)("input",{id:"task-explorer-search",value:a,onChange:e=>{L(),c(e.target.value)},placeholder:"Search title, task ID, preview ID, repo...",className:"tb-focus-ring mt-3 w-full rounded-[18px] border-2 border-[#25314d] bg-white px-4 py-3 text-sm text-[#25314d] placeholder:text-slate-400"})]}),(0,t.jsxs)("div",{className:"mt-4 flex flex-wrap items-center justify-between gap-3",children:[(0,t.jsxs)("div",{className:"text-sm text-slate-700",children:["Showing ",(0,t.jsx)("span",{className:"font-bold text-[#25314d]",children:T.length})," of"," ",(0,t.jsx)("span",{className:"font-bold text-[#25314d]",children:s.length})]}),D?(0,t.jsx)("button",{type:"button",className:"tb-focus-ring tb-button-secondary text-sm",onClick:A,children:"Clear"}):null]})]}),(0,t.jsx)(g,{title:"Maturity",facet:"maturity",values:k,selected:x,onToggle:O,isOpen:j.maturity,onToggleOpen:()=>y(e=>({...e,maturity:!e.maturity}))}),(0,t.jsx)(g,{title:"Preview",facet:"preview",values:C,selected:x,onToggle:O,isOpen:j.preview,onToggleOpen:()=>y(e=>({...e,preview:!e.preview}))}),(0,t.jsx)(g,{title:"Task Type",facet:"paradigm",values:S,selected:x,onToggle:O,isOpen:j.paradigm,onToggleOpen:()=>y(e=>({...e,paradigm:!e.paradigm}))})]})}),(0,t.jsxs)("section",{className:"space-y-4 lg:col-span-8 xl:col-span-9",children:[(0,t.jsx)(w,{currentPage:E,totalPages:P,totalItems:T.length,startIndex:M,endIndex:z,onPageChange:I}),0===T.length?(0,t.jsxs)("div",{className:"tb-frame p-10 text-center",children:[(0,t.jsx)("div",{className:"font-heading text-3xl font-bold text-[#25314d]",children:"No matches"}),(0,t.jsx)("div",{className:"mt-3 text-sm text-slate-700",children:"Try clearing filters or searching by task name, repo handle, or preview ID."}),(0,t.jsx)("div",{className:"mt-5",children:(0,t.jsx)("button",{type:"button",className:"tb-focus-ring tb-button-primary",onClick:A,children:"Reset explorer"})})]}):R.map(e=>(0,t.jsx)(h,{task:e,onOpen:e=>f(e.repo)},e.repo)),(0,t.jsx)(w,{currentPage:E,totalPages:P,totalItems:T.length,startIndex:M,endIndex:z,onPageChange:I})]})]}),(0,t.jsx)(b.TaskDrawer,{task:$,onClose:()=>f(null)})]})}e.s(["GalleryClient",()=>v],74365)}]);