PageSourceSearch

https://elabins.com/_next/static/chunks/app/(app)/apps/page-992391e5da562206.js

js elabins.com collected 2026-10-02 12:42:41 UTC 10,035 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[28455,33657,65819,69935,87852],{14585:(e,t,r)=>{"use strict";r.d(t,{default:()=>i});var l=r(49675),a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},s=r(20069);let n=(0,l.createContext)({}),i=(0,l.forwardRef)((e,t)=>{var r,i,c;let{color:o,size:d,strokeWidth:u,absoluteStrokeWidth:p,className:m="",children:h,iconNode:f,...x}=e,{size:b=24,strokeWidth:v=2,absoluteStrokeWidth:j=!1,color:y="currentColor",className:g=""}=null!=(r=(0,l.useContext)(n))?r:{},k=(null!=p?p:j)?24*Number(null!=u?u:v)/Number(null!=d?d:b):null!=u?u:v;return(0,l.createElement)("svg",{ref:t,...a,width:null!=(i=null!=d?d:b)?i:a.width,height:null!=(c=null!=d?d:b)?c:a.height,stroke:null!=o?o:y,strokeWidth:k,className:(0,s.z)("lucide",g,m),...!h&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(x)&&{"aria-hidden":"true"},...x},[...f.map(e=>{let[t,r]=e;return(0,l.createElement)(t,r)}),...Array.isArray(h)?h:[h]])})},20069:(e,t,r)=>{"use strict";r.d(t,{z:()=>l});let l=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()}},28455:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__iconNode:()=>a,default:()=>s});var l=r(40604);let a=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],s=(0,l.A)("check",a)},33657:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__iconNode:()=>a,default:()=>s});var l=r(40604);let a=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],s=(0,l.A)("chevron-down",a)},40604:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var l=r(49675),a=r(20069);let s=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var n=r(14585);let i=(e,t)=>{let r=(0,l.forwardRef)((r,i)=>{let{className:c,...o}=r;return(0,l.createElement)(n.default,{ref:i,iconNode:t,className:(0,a.z)("lucide-".concat(s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),c),...o})});return r.displayName=s(e),r}},62275:(e,t,r)=>{Promise.resolve().then(r.bind(r,40808)),Promise.resolve().then(r.bind(r,14585)),Promise.resolve().then(r.t.bind(r,79892,23)),Promise.resolve().then(r.bind(r,91142))},65819:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__iconNode:()=>a,default:()=>s});var l=r(40604);let a=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],s=(0,l.A)("search",a)},69935:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__iconNode:()=>a,default:()=>s});var l=r(40604);let a=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],s=(0,l.A)("x",a)},91142:(e,t,r)=>{"use strict";r.d(t,{AppsArchiveFilters:()=>h});var l=r(34075),a=r(49675),s=r(644),n=r(40808),i=r(33657),c=r(28455),o=r(65819),d=r(69935);let u=[{id:"web",label:"web"},{id:"android",label:"android"},{id:"ios",label:"ios"},{id:"desktop",label:"desktop"},{id:"cross",label:"cross"}],p=[{id:"active",label:"active"},{id:"development",label:"in development"},{id:"abandoned",label:"abandoned"},{id:"discontinued",label:"discontinued"}],m=[{id:"featured",label:"featured"},{id:"title",label:"title (a–z)"}],h=e=>{let{current:t,counts:r}=e,a=null!==t.platform||null!==t.lifecycle||t.q.length>0;return(0,l.jsxs)("div",{className:"archive-controls",children:[(0,l.jsxs)("div",{className:"archive-row head",children:[(0,l.jsx)(b,{value:t.platform,counts:r.perPlatform}),(0,l.jsxs)("div",{className:"control-cluster",children:[(0,l.jsx)(v,{value:t.lifecycle,counts:r.perLifecycle}),(0,l.jsx)(j,{value:t.sort}),(0,l.jsx)(y,{value:t.q})]})]}),a&&(0,l.jsx)(g,{platform:t.platform,lifecycle:t.lifecycle,query:t.q})]})};function f(){var e;let t=(0,s.useRouter)(),r=null!=(e=(0,s.usePathname)())?e:"/apps",l=(0,s.useSearchParams)(),{startRouteTransition:a}=(0,n.useRouteTransition)();return{set:e=>{var s;let n=new URLSearchParams(null!=(s=null==l?void 0:l.toString())?s:"");e(n);let i=n.toString();a(()=>t.push(i?"".concat(r,"?").concat(i):r))}}}function x(e,t){(0,a.useEffect)(()=>{let r=r=>{e.current&&!e.current.contains(r.target)&&t()};return document.addEventListener("mousedown",r),()=>document.removeEventListener("mousedown",r)},[e,t])}function b(e){let{value:t,counts:r}
1=e,{set:a}=f(),s=e=>a(t=>e?t.set("platform",e):t.delete("platform"));return(0,l.jsxs)("div",{className:"chip-strip",children:[(0,l.jsxs)("button",{className:"chip ".concat(t?"":"active"),onClick:()=>s(null),type:"button",children:["all",(0,l.jsx)("span",{className:"ct",children:r.all})]}),u.map(e=>{var a;return(0,l.jsxs)("button",{className:"chip ".concat(t===e.id?"active":""),onClick:()=>s(e.id),type:"button",children:[e.label,(0,l.jsx)("span",{className:"ct",children:null!=(a=r[e.id])?a:0})]},e.id)})]})}function v(e){var t;let{value:r,counts:s}=e,{set:n}=f(),[o,d]=(0,a.useState)(!1),u=(0,a.useRef)(null);x(u,()=>d(!1));let m=p.find(e=>e.id===r),h=e=>{n(t=>e?t.set("lifecycle",e):t.delete("lifecycle"))};return(0,l.jsxs)("div",{className:"relative",ref:u,children:[(0,l.jsxs)("button",{className:"ctrl ".concat(r?"active":""),"aria-expanded":o,onClick:()=>d(e=>!e),type:"button",children:[(0,l.jsx)("span",{className:"key",children:"status:"})," ",null!=(t=null==m?void 0:m.label)?t:"all",(0,l.jsx)(i.default,{size:12})]}),o&&(0,l.jsxs)(N,{style:{width:220},children:[(0,l.jsx)(w,{title:"lifecycle",action:r?{label:"clear",onClick:()=>h(null)}:void 0}),(0,l.jsx)("div",{className:"grid gap-1",children:p.map(e=>{var t;return(0,l.jsxs)("button",{onClick:()=>{h(e.id),d(!1)},className:"flex items-center justify-between px-3 py-2 rounded-md font-mono text-[0.82rem] text-left border-0 cursor-pointer ".concat(r===e.id?"bg-surface-hi text-brand-secondary":"bg-transparent text-fg-muted"),type:"button",children:[(0,l.jsx)("span",{children:e.label}),(0,l.jsxs)("span",{className:"flex items-center gap-2 text-[0.7rem] text-fg-dim",children:[null!=(t=s[e.id])?t:0,r===e.id&&(0,l.jsx)(c.default,{size:13})]})]},e.id)})})]})]})}function j(e){var t;let{value:r}
1=e,{set:s}=f(),[n,o]=(0,a.useState)(!1),d=(0,a.useRef)(null);x(d,()=>o(!1));let u=null!=(t=m.find(e=>e.id===r))?t:m[0];return(0,l.jsxs)("div",{className:"relative",ref:d,children:[(0,l.jsxs)("button",{className:"ctrl","aria-expanded":n,onClick:()=>o(e=>!e),type:"button",children:[(0,l.jsx)("span",{className:"key",children:"sort:"})," ",u.label,(0,l.jsx)(i.default,{size:12})]}),n&&(0,l.jsxs)(N,{style:{width:200},children:[(0,l.jsx)(w,{title:"Sort by"}),(0,l.jsx)("div",{className:"grid gap-1",children:m.map(e=>(0,l.jsxs)("button",{onClick:()=>{let t;t=e.id,s(e=>"featured"===t?e.delete("sort"):e.set("sort",t)),o(!1)},className:"flex items-center justify-between px-3 py-2 rounded-md font-mono text-[0.82rem] text-left border-0 cursor-pointer ".concat(r===e.id?"bg-surface-hi text-brand-secondary":"bg-transparent text-fg-muted"),type:"button",children:[(0,l.jsx)("span",{children:e.label}),r===e.id&&(0,l.jsx)(c.default,{size:13})]},e.id))})]})]})}function y(e){let{value:t}=e,{set:r}=f(),[s,n]=(0,a.useState)(t);return(0,a.useEffect)(()=>n(t),[t]),(0,a.useEffect)(()=>{if(s===t)return;let e=setTimeout(()=>r(e=>s?e.set("q",s):e.delete("q")),250);return()=>clearTimeout(e)},[s,t,r]),(0,l.jsxs)("div",{className:"search-box",children:[(0,l.jsx)(o.default,{size:14}),(0,l.jsx)("input",{type:"search",value:s,onChange:e=>n(e.target.value),placeholder:"search apps…","aria-label":"search apps"}),s&&(0,l.jsx)("button",{type:"button",onClick:()=>{n(""),r(e=>e.delete("q"))},className:"text-fg-dim hover:text-fg","aria-label":"clear search",children:(0,l.jsx)(d.default,{size:13})})]})}function g(e){var t;let{platform:r,lifecycle:a,query:s}=e,{set:n}=f(),i=null==(t=p.find(e=>e.id===a))?void 0:t.label;return(0,l.jsx)("div",{className:"archive-row",children:(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-2 font-mono text-[0.72rem]",children:[(0,l.jsx)("span",{className:"text-fg-dim uppercase tracking-widest",children:"active:"}),r&&(0,l.jsxs)(k,{color:"primary",onClear:()=>n(e=>e.delete("platform")),children:["platform: ","cross"===r?"cross-platform":r]}),a&&(0,l.jsxs)(k,{color:"secondary",onClear:()=>n(e=>e.delete("lifecycle")),children:["status: ",i]}),s&&(0,l.jsxs)(k,{color:"secondary",onClear:()=>n(e=>e.delete("q")),children:["“",s,"”"]}),(0,l.jsx)("button",{type:"button",onClick:()=>n(e=>{e.delete("platform"),e.delete("lifecycle"),e.delete("q")}),className:"text-fg-dim uppercase tracking-widest hover:text-[var(--primary)] bg-transparent border-0 cursor-pointer",children:"clear all"})]})})}function k(e){let{children:t,color:r,onClear:a}=e;return(0,l.jsxs)("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 rounded-full border",style:"primary"===r?{background:"hsla(350, 80%, 55%, 0.12)",borderColor:"hsla(350, 80%, 55%, 0.3)",color:"var(--primary-soft)"}:{background:"hsla(217, 91%, 60%, 0.12)",borderColor:"hsla(217, 91%, 60%, 0.3)",color:"var(--secondary)"},children:[t,(0,l.jsx)("button",{type:"button",onClick:a,className:"opacity-70 hover:opacity-100","aria-label":"clear filter",children:(0,l.jsx)(d.default,{size:11})})]})}function N(e){let{children:t,style:r}=e;return(0,l.jsx)("div",{className:"absolute right-0 z-30 p-4 rounded-md w-80",style:{top:"calc(100% + 8px)",background:"var(--bg-elev)",border:"1px solid var(--border-hi)",boxShadow:"0 12px 32px -12px rgba(0,0,0,0.5), 0 0 0 1px var(--border)",animation:"pop-in 0.18s ease",...r},children:t})}function w(e){let{title:t,action:r}=e;return(0,l.jsxs)("h5",{className:"font-mono text-[0.7rem] tracking-widest uppercase text-fg-dim font-medium mb-3 flex justify-between m-0",children:[(0,l.jsx)("span",{children:t}),r&&(0,l.jsx)("button",{onClick:r.onClick,className:"bg-transparent border-0 p-0 text-[var(--secondary)] font-inherit text-inherit tracking-inherit normal-case cursor-pointer",type:"button",children:r.label})]})}}},e=>{e.O(0,[11916,27815,37209,13843,70827,79892,3008,91827,77358],()=>e(e.s=62275)),_N_E=e.O()}]);

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.