1import{a as d,Z as g}from"./client-D9htv5mt.js";import{d as f}from"./debounce-NvnnSDeq.js";import{a as E}from"./leftArrow-DAnWWIoC.js";import{r as n}from"./react-vendor-n58YcWca.js";const o={},a="REGISTRY_CHANGED",h=["page_actions","account","shortcuts","translations"];class C extends g{notifyChange(){this.publish(a)}onChange(e,s){return this.subscribe(a,e,s)}}const u="com.Genius.site_command_registry_events",r=new C;d&&(window[u]=r);const w=(t,e)=>r.onChange(t,e),c=f(()=>{r.notifyChange()},100),S=t=>(t.forEach(e=>{o[e.id]=e}),c(),()=>l(t)),l=t=>{t.forEach(e=>{Reflect.deleteProperty(o,e.id)}),c()},b=t=>{const e={};return Object.values(o).forEach(s=>{if(!e[s.sectionId]){const i=h.indexOf(s.sectionId);if(i===-1)throw new Error(`Invalid section id ${s.sectionId}`);e[s.sectionId]={id:s.sectionId,heading:t(`site_command_palette.sections.${s.sectionId}`),order:i,items:[]}}e[s.sectionId].items.push(s)}),E(Object.values(e),["order"])},R=(t,e)=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21.48 21.59",ref:e,...t},n.createElement("path",{d:"M21.48 20.18L14.8 13.5a8.38 8.38 0 1 0-1.43 1.4l6.69 6.69zM2 8.31a6.32 6.32 0 1 1 6.32 6.32A6.32 6.32 0 0 1 2 8.31z"})),y=n.forwardRef(R);export{y as F,b as g,w as o,S as r}; 2//# sourceMappingURL=magnifyingGlass-0jLJmnnn.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.