1import{d as Z,q as g,c as v,i as ee,a4 as j,b as l,o as c,e as t,C as p,x as _,v as C,a7 as te,S as ae,P,F as f,l as y,u as A,j as G,w as x,B as N,n as I}from"./vue-runtimeBcw72k-n.js";import{b as H}from"./search-provider.utilsCsDdSKl9.js";import{_ as ie}from"./chunkReloadRecoveryC4XyrbqR.js";import"./cjs-helpersC4iS2aBk.js";import"./OperationQueueDV3oPNrt.js";import"./item-name.utilsCH3lkmjj.js";import"./dexie2jmnBxhj.js";import"./item.typesx7Q7rrX9.js";import"./content.typesCQ2lHcy0.js";import"./constantsDsHwd9pV.js";import"./extraction.pure.utilsDQPW8yIh.js";import"./url.utilsCetgXmY_.js";import"./bootstrap-vue-nextD6HU9H8G.js";const ne=`hostname,organization,source_type,categories,region_scope,confidence_tier,recommended_use,caution_flags,notes 2nih.gov,National Institutes of Health,government,"health-medical|medical-evidence|public-health",US,authoritative,"final-authority|evidence-review|policy-text",,"US biomedical research and health guidance umbrella" 3cdc.gov,Centers for Disease Control and Prevention,government,"public-health|health-medical|data-statistics",US,authoritative,"final-authority|data-lookup|policy-text",,"Disease guidance, surveillance, prevention, and outbreak data" 4who.int,World Health Organization,multilateral,"public-health|health-medical|global-development|data-statistics",Global,authoritative,"final-authority|data-lookup|policy-text",,"Global health guidance, situation reports, and statistics" 5fda.gov,Food and Drug Administration,government,"health-medical|public-health|policy-law",US,authoritative,"final-authority|policy-text|data-lookup",,"Drug, device, food safety, approvals, and recalls" 6medlineplus.gov,National Library of Medicine,government,"health-medical|education-reference",US,high-confidence,"explainer|topic-orientation|citation-finding",patient-summary,"Plain-language patient and family medical reference" 7cochrane.org,Cochrane,nonprofit,"health-medical|medical-evidence|academic-literature",Global,high-confidence,"evidence-review|final-authority|citation-finding",,"Systematic reviews and evidence syntheses" 8nejm.org,New England Journal of Medicine,journal,"health-medical|medical-evidence|academic-literature",Global,high-confidence,"evidence-review|citation-finding",article-level-variance,"High-impact clinical research and review articles" 9thelancet.com,The Lancet,journal,"health-medical|public-health|academic-literature",Global,high-confidence,"evidence-review|citation-finding",article-level-variance,"Major medical and public-health journal" 10bmj.com,BMJ,journal,"health-medical|public-health|academic-literature",Global,high-confidence,"evidence-review|citation-finding",article-level-variance,"Clinical research, analysis, and reviews" 11jamanetwork.com,JAMA Network,journal,"health-medical|medical-evidence|academic-literature",Global,high-confidence,"evidence-review|citation-finding",article-level-variance,"Peer-reviewed medical journals and viewpoints" 12aap.org,American Academy of Pediatrics,professional-society,"health-medical|pediatrics|education-reference",US,high-confidence,"final-authority|explainer|policy-text",institutional-guidance,"Pediatric policy and family guidance" 13nhs.uk,National Health Service,government,"health-medical|public-health|education-reference",UK,high-confidence,"explainer|topic-orientation|final-authority",patient-summary,"Evidence-backed patient guidance and care navigation" 14nice.org.uk,National Institute for Health and Care Excellence,government,"health-medical|medical-evidence|policy-law",UK,authoritative,"final-authority|evidence-review|policy-text",,"Evidence-based clinical and care guidance" 15mayoclinic.org,Mayo Clinic,clinical-institution,"health-medical|education-reference",US,high-confidence,"explainer|topic-orientation",patient-summary,"Reliable patient-facing disease and treatment overviews" 16clevelandclinic.org,Cleveland Clinic,clinical-institution,"health-medical|education-reference",US,high-confidence,"explainer|topic-orientation",patient-summary,"Strong patient education and specialty explainers" 17hopkinsmedicine.org,Johns Hopkins Medicine,clinical-institution,"health-medical|education-reference",US,high-confidence,"explainer|topic-orientation",patient-summary,"Academic medical center guidance and disease explainers" 18nature.com,Nature,journal,"science-general|academic-literature",Global,high-confidence,"evidence-review|citation-finding",article-level-variance,"Top-tier journal and review coverage across sciences" 19science.org,AAAS / Science,journal,"science-general|academic-literature",Global,high-confidence,"evidence-review|citation-finding",article-level-variance,"Flagship multidisciplinary science journal" 20cell.com,Cell Press,journal,"science-general|academic-literature|health-medical",Global,high-confidence,"evidence-review|citation-finding",article-level-variance,"Life sciences journals and review content" 21pnas.org,Proceedings of the National Academy of Sciences,journal,"science-general|academic-literature",US,high-confidence,"evidence-review|citation-finding",article-level-variance,"Broad peer-reviewed research across disciplines"
22plos.org,PLOS,nonprofit,"science-general|health-medical|academic-literature",Global,high-confidence,"evidence-review|citation-finding",article-level-variance,"Open-access journals across science and medicine" 23annualreviews.org,Annual Reviews,nonprofit,"science-general|health-medical|academic-literature",Global,high-confidence,"evidence-review|topic-orientation|citation-finding",review-journal,"High-quality review articles for topic grounding" 24arxiv.org,arXiv,preprint-server,"science-general|technology-cybersecurity|academic-literature",Global,provisional,"emerging-research|citation-finding",preprint,"Fast-moving research; useful but not peer reviewed" 25nsf.gov,National Science Foundation,government,"science-general|policy-law|data-statistics",US,authoritative,"data-lookup|policy-text|topic-orientation",,"Research funding priorities and science indicators" 26nasa.gov,NASA,government,"science-general|environment-climate|data-statistics",US,authoritative,"data-lookup|final-authority|explainer",,"Space and Earth science data, imagery, and reports" 27noaa.gov,NOAA,government,"environment-climate|data-statistics|science-general",US,authoritative,"data-lookup|final-authority|policy-text",,"Climate, weather, ocean, and fisheries data" 28usgs.gov,U.S. Geological Survey,government,"environment-climate|data-statistics|science-general",US,authoritative,"data-lookup|final-authority|explainer",,"Earthquakes, water, geology, and ecosystem data" 29epa.gov,Environmental Protection Agency,government,"environment-climate|public-health|policy-law",US,authoritative,"final-authority|policy-text|data-lookup",,"Environmental regulation, exposure guidance, and assessments" 30ipcc.ch,Intergovernmental Panel on Climate Change,multilateral,"environment-climate|academic-literature|global-development",Global,authoritative,"final-authority|evidence-review|citation-finding",consensus-assessment,"Consensus climate assessment reports" 31unep.org,UN Environment Programme,multilateral,"environment-climate|global-development|policy-law",Global,authoritative,"policy-text|topic-orientation|data-lookup",,"UN environmental policy and program resources" 32census.gov,U.S. Census Bureau,government,"data-statistics|economics-finance|policy-law",US,authoritative,"data-lookup|final-authority",,"Population, housing, business, and demographic data" 33bls.gov,Bureau of Labor Statistics,government,"data-statistics|economics-finance",US,authoritative,"data-lookup|final-authority",,"Employment, inflation, wages, and productivity" 34bea.gov,Bureau of Economic Analysis,government,"data-statistics|economics-finance",US,authoritative,"data-lookup|final-authority",,"GDP, income, trade, and regional accounts" 35federalreserve.gov,Federal Reserve,government,"economics-finance|data-statistics|policy-law",US,authoritative,"policy-text|data-lookup|final-authority",,"Monetary policy, research, and supervisory guidance" 36fred.stlouisfed.org,FRED,government,"economics-finance|data-statistics",US,high-confidence,"data-lookup|topic-orientation",aggregated-data,"Large macroeconomic time-series library" 37sec.gov,Securities and Exchange Commission,government,"economics-finance|policy-law|data-statistics",US,authoritative,"final-authority|policy-text|data-lookup",,"Company filings, market regulation, and enforcement" 38cbo.gov,Congressional Budget Office,government,"economics-finance|policy-law|data-statistics",US,authoritative,"data-lookup|policy-text|evidence-review",,"Budget projections and policy scoring" 39gao.gov,Government Accountability Office,government,"policy-law|economics-finance|data-statistics",US,authoritative,"evidence-review|policy-text|data-lookup",,"Audits, program evaluations, and oversight reports" 40oecd.org,OECD,multilateral,"economics-finance|data-statistics|education-reference|policy-law",Global,authoritative,"data-lookup|policy-text|cross-country-comparison",,"Cross-country data and policy comparisons" 41imf.org,International Monetary Fund,multilateral,"economics-finance|global-development|data-statistics",Global,authoritative,"data-lookup|policy-text|cross-country-comparison",,"Macroeconomic outlooks and country reports" 42worldbank.org,World Bank,multilateral,"global-development|economics-finance|data-statistics",Global,authoritative,"data-lookup|policy-text|cross-country-comparison",,"Development indicators, country anal
42ysis, and project docs" 43wto.org,World Trade Organization,multilateral,"economics-finance|policy-law|global-development",Global,authoritative,"policy-text|final-authority|cross-country-comparison",,"Trade rules, disputes, and agreement materials" 44ourworldindata.org,Our World in Data,nonprofit,"data-statistics|public-health|environment-climate|economics-finance",Global,high-confidence,"topic-orientation|data-lookup|citation-finding",aggregated-data,"Well-curated charts with transparent source links" 45congress.gov,U.S. Congress,government,"policy-law|history-culture",US,authoritative,"primary-documents|policy-text|final-authority",,"Bills, statutes, hearings, and committee materials" 46govinfo.gov,U.S. Government Publishing Office,government,"policy-law|history-culture",US,authoritative,"primary-documents|policy-text|final-authority",,"Primary federal documents, CFR, and congressional records" 47supremecourt.gov,Supreme Court of the United States,government,"policy-law|history-culture",US,authoritative,"primary-documents|policy-text|final-authority",,"Opinions, orders, and oral argument materials" 48justice.gov,U.S. Department of Justice,government,"policy-law",US,authoritative,"policy-text|final-authority",,"DOJ policy, enforcement, civil rights, and antitrust materials" 49ftc.gov,Federal Trade Commission,government,"policy-law|economics-finance|technology-cybersecurity",US,authoritative,"policy-text|final-authority|data-lookup",,"Consumer protection, antitrust, and privacy enforcement" 50europa.eu,European Union,government,"policy-law|global-development|technology-cybersecurity",EU,authoritative,"policy-text|primary-documents|final-authority",,"EU law, regulation, policy, and official publications" 51un.org,United Nations,multilateral,"global-development|policy-law|history-culture",Global,authoritative,"policy-text|primary-documents|final-authority",,"UN resolutions, treaties, agencies, and reports" 52unesco.org,UNESCO,multilateral,"education-reference|history-culture|science-general",Global,authoritative,"policy-text|topic-orientation|data-lookup",,"Education, culture, and science policy resources" 53ed.gov,U.S. Department of Education,government,"education-reference|policy-law|data-statistics",US,authoritative,"policy-text|data-lookup|final-authority",,"Education policy, grants, and national resources" 54nist.gov,National Institute of Standards and Technology,government,"technology-cybersecurity|science-general|policy-law",US,authoritative,"standards-reference|policy-text|final-authority",,"Standards, AI, cybersecurity, and measurement science" 55cisa.gov,Cybersecurity and Infrastructure Security Agency,government,"technology-cybersecurity|policy-law",US,authoritative,"final-authority|policy-text|current-awareness",,"Cybersecurity advisories and operational guidance" 56ietf.org,Internet Engineering Task Force,standards-body,"technology-cybersecurity|science-general",Global,authoritative,"standards-reference|final-authority",,"Internet standards and RFCs" 57w3.org,World Wide Web Consortium,standards-body,"technology-cybersecurity|education-reference",Global,authoritative,"standards-reference|final-authority|explainer",,"Web standards and accessibility guidance" 58owasp.org,OWASP,nonprofit,"technology-cybersecurity|education-reference",Global,high-confidence,"standards-reference|explainer|topic-orientation",community-standard,"Application security guidance and testing standards" 59britannica.com,Encyclopaedia Britannica,reference,"education-reference|history-culture|science-general",Global,high-confidence,"topic-orientation|explainer",secondary-summary,"General reference for fast orientation and fact checking" 60wikipedia.org,Wikipedia,reference,"education-reference|history-culture|science-general",Global,orientation-only,"topic-orientation|citation-finding",user-edited,"Good orientation and citation discovery; verify important claims against primary or institutional sources" 61jstor.org,JSTOR,nonprofit,"history-culture|education-reference|academic-literature",Global,high-confidence,"evidence-review|citation-finding|topic-orientation",archive-access,"Scholarly archive with strong humanities and social science coverage" 62loc.gov,Library of Congress,government,"history-culture|education-reference|policy-law",US,authoritative,"primary-documents|citation-finding|topic-orientation",,"Primary sources, archives, and research guides" 63archives.gov,National Archives,government,"history-culture|policy-law",US,authoritative,"primary-documents|final-authority|citation-finding",,"Primary documents and historical records" 64si.edu,Smithsonian Institution,museum-research,"history-culture|science-general|education-reference",US,high-confidence,"topic-orientation|explainer|citation-finding",museum-summary,"Museum-backed research, collections, and explainers" 65pewresearch.org,Pew Research Center,nonprofit,"data-statistics|policy-law|world-affairs-news",Global,high-confidence,"data-lookup|topic-orientation|current-awareness",survey-method-dependence,"Survey data, social trends, and public opinion research" 66rand.org,RAND Corporation,research-org,"policy-law|economics-finance|technology-cybersecurity",US,high-confidence,"evidence-review|topic-orientation|citation-finding",think-tank,"Policy analysis with transparent methods and citations" 67nber.org,National Bureau of Economic Research,research-org,"economics-finance|academic-literature",US,provisional,"emerging-research|citation-finding",working-paper,"Influential economics working papers; not all are peer reviewed" 68reuters.com,Reuters,news-wire,"world-affairs-news|economics-finance|policy-law",Global,high-confidence,"current-awareness|topic-orientation",reporting-not-primary,"Fast, low-opinion wire coverage" 69apnews.com,Associated Press,news-wire,"world-affairs-news|policy-law",Global,high-confidence,"current-awareness|topic-orientation",reporting-not-primary,"Straight-ne
69ws wire service with broad coverage" 70bbc.com,BBC,public-broadcaster,"world-affairs-news|science-general|history-culture",Global,high-confidence,"current-awareness|topic-orientation|explainer",reporting-not-primary,"Broad explanatory reporting and backgrounders" 71npr.org,NPR,public-broadcaster,"world-affairs-news|science-general|policy-law",US,high-confidence,"current-awareness|topic-orientation|explainer",reporting-not-primary,"Strong explanatory reporting and interviews" 72statnews.com,STAT,news-organization,"health-medical|public-health|world-affairs-news",US,high-confidence,"current-awareness|topic-orientation|citation-finding",reporting-not-primary,"Health and biotech reporting with domain expertise"`,L={authoritative:0,"high-confidence":1,"current-awareness":2,provisional:3,"orientation-only":4},$=[{key:"google",label:"Google",baseUrl:H("google","")},{key:"bing",label:"Bing",baseUrl:H("bing","")}],T=[{id:"strict",label:"Strict",detail:"Only primary and institutional sources.",allowedTiers:["authoritative"]},{id:"balanced",label:"Balanced",detail:"Primary sources plus strong journals and research summaries.",allowedTiers:["authoritative","high-confidence"]},{id:"timely",label:"Timely",detail:"Balanced sources plus reputable current-awareness reporting.",allowedTiers:["authoritative","high-confidence","current-awareness"]}
72,{id:"discovery",label:"Discovery",detail:"Everything above plus provisional and orientation sources.",allowedTiers:["authoritative","high-confidence","current-awareness","provisional","orientation-only"]}];function V(i){const n=[];let m="",d=!1;for(let u=0;u<i.length;u+=1){const o=i[u];if(o==='"'){const r=i[u+1];if(d&&r==='"'){m+='"',u+=1;continue}d=!d;continue}if(o===","&&!d){n.push(m),m="";continue}m+=o}return n.push(m),n}function R(i){return String(i||"").split("|").map(n=>n.trim()).filter(Boolean)}function oe(i){const n=i.replace(/\r\n/g,` 73`).replace(/\r/g,` 74`).split(` 75`).map(d=>d.trim()).filter(Boolean);if(n.length===0)return[];const m=V(n[0]);return n.slice(1).map(d=>{const u=V(d),o=m.reduce((r,h,b)=>(r[h]=u[b]||"",r),{});return{hostname:o.hostname,organization:o.organization,sourceType:o.source_type,categories:R(o.categories),regionScope:o.region_scope,confidenceTier:o.confidence_tier||"high-confidence",recommendedUse:R(o.recommended_use),cautionFlags:R(o.caution_flags),notes:o.notes}})}const B=oe(ne);function W(i){return i.split("-").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join(" ")}const re=Array.from(new Set(B.flatMap(i=>i.categories))).sort((i,n)=>i.localeCompare(n)).map(i=>({value:i,label:W(i)})),le=Array.from(new Set(B.flatMap(i=>i.recommendedUse))).sort((i,n)=>i.localeCompare(n)).map(i=>({value:i,label:W(i)}));function ce(i){const n=String(i.category||"").trim(),m=String(i.recommendedUse||"").trim(),d=T.find(o=>o.id===i.profileId)||T[1],u=new Set(d.allowedTiers);return B.filter(o=>u.has(o.confidenceTier)).filter(o=>!n||o.categories.includes(n)).filter(o=>!m||o.recommendedUse.includes(m)).sort((o,r)=>{const h=L[o.confidenceTier]??99,b=L[r.confidenceTier]??99;return h!==b?h-b:o.organization.localeCompare(r.organization)})}function se(i,n){const m=String(i||"").trim(),d=n.length===1?`site:${n[0]}`:`(${n.map(u=>`site:${u}`).join(" OR ")})`;return[m,d].filter(Boolean).join(" ")}function de(i){const n=String(i.query||"").trim(),m=i.maxHosts?Math.max(1,i.maxHosts):Number.MAX_SAFE_INTEGER,d=Array.from(new Set((i.hosts||[]).map(r=>String(r).trim()).filter(Boolean))).slice(0,m),u=$.find(r=>r.key===i.engineKey);if(!u||!n||d.length===0)return null;const o=se(n,d);return{url:`${u.baseUrl}${encodeURIComponent(o)}`,queryText:o,hosts:d}}const ue={class:"trusted-search-shell p-3 p-md-4 p-xl-5"},me={class:"mx-auto trusted-search-simple-wrap text-center mb-4"},pe={class:"small text-muted mb-0"},he={class:"trusted-search-surface rounded-4 p-4 p-md-4 mt-4 text-start"},ve={class:"row g-3 align-items-center"},ge={class:"col-lg"},fe={class:"col-lg-3 col-xl-3"},ye=["value"],be={key:0,class:"d-flex justify-content-center mt-3"},we={class:"trusted-search-sources-label"},Se={class:"trusted-search-sources-menu-body px-3 py-2"},xe={class:"trusted-search-source-row"},ke={class:"d-flex justify-content-center mt-4"},Ue={class:"pt-3 pt-md-4 border-top"},_e={key:0,class:"mt-4"},Ce={class:"row g-4 mb-4"},Ae={class:"col-xl-8"},Ge={class:"trusted-search-subpanel rounded-4 p-4 h-100"},Te={class:"row g-3"},Ee={class:"col-md-6"},je=["value"],Pe={class:"col-md-6"},Ne=["value"],Re={class:"mt-4"},Be={class:"d-flex flex-wrap gap-2"},Oe=["onClick"],Fe={class:"small text-muted mt-2"},Me={class:"col-xl-4"},De={class:"trusted-search-subpanel rounded-4 p-4 h-100"},Ie={class:"display-6 fw-semibold lh-1 mb-1"},He={class:"small text-muted mb-3"},Le={key:0,class:"d-flex flex-wrap gap-2 mb-3"},Ve={key:1,class:"small text-muted"},$e={key:2,class:"small text-muted"},We={key:0,class:"alert alert-secondary py-3 px-4 mb-0"},qe={key:1,class:"alert alert-warning py-3 px-4 mb-0"},ze={key:2,class:"trusted-search-subpanel rounded-4 p-4"},Je={class:"small text-muted mb-3"},Ke={class:"d-flex flex-wrap gap-2"},Qe=Z({__name:"StandaloneTrustedSearchApp",setup(i){const n=g(""),m=g(""),d=g(""),u=g("discovery"),o=g("google"),r=g([]),h=g(!1),b=v(()=>T.find(s=>s.id===u.value)),w=v(()=>ce({category:m.value,recommendedUse:d.value,profileId:u.value})),E=v(()=>Array.from(new Map(w.value.map(s=>[s.hostname,s])).values())),k=v(()=>E.value.map(s=>s.hostname)),q=v(()=>E.value),O=v(()=>k.value.length>0&&r.value.length===k.value.length),z=v(()=>O.value?`Sources: all (${r.value.length})`:r.value.length===0?"Sources: none":`Sources: ${r.value.length} selected`),S=v(()=>de({engineKey:o.value,query:n.value,hosts:r.value})),J=v(()=>{var s;return!!((s=S.value)!=null&&s.url)});ee(k,s=>{r.value=[...s]},{immediate:!0});function K(s){r.value=s?[...k.value]:[]}function Q(s,e){if(e){r.value.includes(s)||(r.value=[...r.value,s]);return}r.value=r.value.filter(U=>U!==s)}function F(){var e;const s=(e=S.value)==null?void 0:e.url;s&&window.open(s,"_blank","noopener,noreferrer")}return(s,e)=>{var M;const U=j("b-form-checkbox"),X=j("b-dropdown"),Y=j("b-button");return c(),l("div",ue,[t("div",me,[e[11]||(e[11]=t("h1",{class:"display-5 fw-semibold mb-2"},"Trusted Search",-1)),t("div",pe,p(w.value.length)+" sources. Reputable sites only.",1),t("div",he,[t("div",ve,[t("div",ge,[C(t("input",{"onUpdate:modelValue":e[0]||(e[0]=a=>n.value=a),class:"form-control form-control-lg trusted-search-control",type:"text",placeholder:"chicken pox",onKeyup:e[1]||(e[1]=ae(a=>F(),["enter"]))},null,544),[[te,n.value]])]),t("div",fe,[C(t("select",{"onUpdate:modelValue":e[2]||(e[2]=a=>o.value=a),class:"form-select trusted-search-control"},[(c(!0),l(f,null,y(A($),a=>(c(),l("option",{key:`simple-${a.key}`,value:a.key},p(a.label),9,ye))),128))],512),[[P,o.value]])])]),q.value.length>0?(c(),l("div",be,[G(X,{variant:"outline-secondary",class:"trusted-search-sources-dropdown","menu-class":"trusted-search-sources-menu","no-caret":""},{"button-content":x(()=>[t("span",we,p(z.value),1),e[7]||(e[7]=t("span",{class:"trusted-search-advanced-chevron ms-2","aria-hidden":"true"},"â¾",-1))]),default:x(()=>[t("div",Se,[t("label",xe,[G(U,{"model-value":O.value,"onUpdate:modelValue":K},{default:x(()=>[...e[8]||(e[8]=[N(" All sources ",-1)])]),_:1},8,["model-value"])]),e[9]||(e[9]=t("div",{class:"trusted-search-sources-divider my-2"},null,-1)),(c(!0),l(f,null,y(E.value,a=>(c(),l("label",{key:a.hostname,class:"trusted-search-source-row"},[G(U,{"model-value":r.value.includes(a.hostname),"onUpdate:modelValue":D=>Q(a.hostname,D)},{default:x(()=>[N(p(a.hostname),1)]),_:2},1032,["model-value","onUpdate:modelValue"])]))),128))])]),_:1})])):_("",!0),t("div",ke,[G(Y,{class:"btn-pill px-4",variant:"primary",disabled:!J.value,onClick:e[3]||(e[3]=a=>F())},{default:x(()=>[...e[10]||(e[10]=[N("Search",-1)])]),_:1},8,["disabled"])])])]),t("div",Ue,[t("button",{type:"button",class:"btn btn-subtle trusted-search-advanced-toggle w-100 d-flex align-items-center justify-content-between",onClick:e[4]||(e[4]=a=>h.value=!h.value)},[e[12]||(e[12]=t("span",null,[t("span",{class:"fw-semibold me-2"},"Advanced"),t("span",{class:"small text-muted"},"Filters, source profile, and selected hosts")],-1)),t("span",{class:I(["trusted-search-advanced-chevron",{"trusted-search-advanced-chevron--open":h.value}]),"aria-hidden":"true"},"â¾",2)]),h.value?(c(),l("div",_e,[t("div",Ce,[t("div",Ae,[t("div",Ge,[t("div",Te,[t("div",Ee,[e[14]||(e[14]=t("label",{class:"form-label small text-muted mb-1"},"Category",-1)),C(t("select",{"onUpdate:modelValue":e[5]||(e[5]=a=>m.value=a),class:"form-select"},[e[13]||(e[13]=t("option",{value:""},"All categories",-1)),(c(!0),l(f,null,y(A(re),a=>(c(),l("option",{key:a.value,value:a.value},p(a.label),9,je))),128))],512),[[P,m.value]])]),t("div",Pe,[e[16]||(e[16]=t("label",{class:"form-label small text-muted mb-1"},"Use case",-1)),C(t("select",{"onUpdate:modelValue":e[6]||(e[6]=a=>d.value=a),class:"form-select"},[e[15]||(e[15]=t("option",{value:""},"Any use",-1)),(c(!0),l(f,null,y(A(le),a=>(c(),l("option",{key:a.value,value:a.value},p(a.label),9,Ne))),128))],512),[[P,d.value]])])]),t("div",Re,[e[17]||(e[17]=t("div",{class:"small text-uppercase text-muted fw-semibold mb-2"},"Source profile",-1)),t("div",Be,[(c(!0),l(f,null,y(A(T),a=>(c(),l("button",{key:a.id,type:"button",class:I(["btn btn-sm btn-pill",u.value===a.id?"btn-primary":"btn-outline-secondary"]),onClick:D=>u.value=a.id},p(a.label),11,Oe))),128))]),t("div",Fe,p((M=b.value)==null?void 0:M.detail),1)])])]),t("div",Me,[t("div",De,[e[18]||(e[18]=t("div",{class:"small text-uppercase text-muted fw-semibold mb-2"},"Current slice",-1)),t("div",Ie,p(w.value.length),1),e[19]||(e[19]=t("div",{class:"text-muted mb-3"},"matching sources",-1)),t("div",He,p(r.value.length)+" selected.",1),w.value.length>0?(c(),l("div",Le,[(c(!0),l(f,null,y(r.value,a=>(c(),l("span",{key:a,class:"badge rounded-pill trusted-search-host-badge px-3 py-2"},p(a),1))),128))])):_("",!0),r.value.length===0?(c(),l("div",Ve,"No selected hosts yet.")):w.value.length===0?(c(),l("div",$e,"Try a broader profile or clear the use-case filter.")):_("",!0)])])]),n.value.trim()?S.value?(c(),l("div",ze,[e[20]||(e[20]=t("div",{class:"small text-uppercase text-muted fw-semibold mb-2"},"Query preview",-1)),t("div",Je,p(S.value.queryText),1),t("div",Ke,[(c(!0),l(f,null,y(S.value.hosts,a=>(c(),l("span",{key:a,class:"badge rounded-pill trusted-search-host-badge px-3 py-2"},p(a),1))),128))])])):(c(),l("div",qe,"No sources matched this filter set.")):(c(),l("div",We,"Enter a search topic to build one direct query."))])):_("",!0)])])}}}),dt=ie(Qe,[["__scopeId","data-v-cac1682f"]]);export{dt as default};
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.