1import{l as c,L as o,e as u,f as d}from"./movie-card-runtime-BsWugIRi.js";const s={id:"all",label:"å
¨é¨"};function f(r){const t=new Set(r.flatMap(i=>i.categories));return[s,...u.filter(i=>t.has(i.label)).map(i=>({id:i.kind,label:i.label})),...t.has(o.label)?[o]:[]]}function y(r,t,i=[]){const l=[s,...r.slice().sort((e,a)=>e.order-a.order).filter(e=>e.count>0).map(e=>({id:e.kind,label:e.label,count:e.count})),...t>0?[{...o,count:t}]:[]];if(i.length===0)return l;const n=new Map(f(i).slice(1).map(e=>[e.id,e]));for(const e of l.slice(1))n.set(e.id,e);return[s,...u.flatMap(e=>{const a=n.get(e.kind);return a?[a]:[]}),...n.has(o.id)?[n.get(o.id)]:[]]}function C(r,t,i){const l=t.trim().toLocaleLowerCase(),n=c(i),e=n?"kind"in n?d(n.kind):o.label:void 0;return r.filter(a=>i!==s.id&&(!e||!a.categories.includes(e))?!1:l?[a.title,a.subtitle,...a.categories].join(" ").toLocaleLowerCase().includes(l):!0)}function L(r){return r===s.id?void 0:c(r)}function m(r,t){return r.some(i=>i.id===t)?t:s.id}function p(r){const t=r.trim();return!t||/[\u3400-\u9fff]/u.test(t)?!1:/[a-z]/iu.test(t)&&/^[a-z\s'`-]+$/iu.test(t)}function k(r){return[d(r.kind,"æªåç±»")??"æªåç±»"]}export{f as a,y as b,k as c,C as f,p as i,L as l,m as r};
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.