1import{d as dt,u as rt,i as z,r as n,o as et,w as A,a as ut,j as st,e as d,b as r,k as I,l as pt,m as vt,p as ct,g as t,f as G,v as m,x as D,t as a,Q as mt,G as S,F as X,y as ot,B as K}from"./app-D8aYVF87.js";import{_ as gt}from"./AppLayout.vue_vue_type_script_setup_true_lang-C4oVZZTp.js";import{H as ft}from"./HistoryBreakdownModal-CfMnFDGO.js";import{_ as bt}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */import"./Primitive-SmALb3gF.js";import"./VisuallyHidden-BR-mgmwZ.js";import"./createLucideIcon-CoY9UKie.js";const xt={class:"w-full md:max-w-7xl md:mx-auto px-3 sm:px-4 md:px-6 pt-4 sm:pt-5 md:pt-6 history-page"},yt={class:"hidden md:flex items-center justify-between gap-2 mb-6"},ht=["disabled"],_t={key:0},kt={key:1},wt={class:"md:hidden flex items-center justify-between gap-2 mb-3"},Ct=["disabled"],$t={class:"mb-4 hidden md:grid grid-cols-12 gap-3"},Dt={class:"col-span-5 flex items-center gap-2 card"},Rt={class:"col-span-5 relative"},jt={class:"flex items-center gap-2"},Lt={class:"text-sm text-[var(--foreground)]/80"},Ut={class:"grid grid-cols-2 gap-3"},Bt={class:"rounded-xl ring-1 ring-black/10 dark:ring-white/10 p-3"},Vt={class:"rounded-xl ring-1 ring-black/10 dark:ring-white/10 p-3"},Ht={class:"mt-3 flex items-center justify-between"},St={class:"flex gap-2"},Tt={class:"flex gap-2"},Ft={class:"col-span-2 flex items-center justify-end gap-2 card"},Mt={class:"mb-4 grid grid-cols-3 gap-2 sm:gap-3"},Ot={class:"kpi"},Nt={class:"kpi-value"},Pt={class:"kpi"},Et={class:"kpi-value"},zt={class:"kpi"},At={class:"kpi-value"},It={class:"hidden md:block overflow-hidden rounded-2xl bg-[var(--card)] shadow-soft ring-1 ring-black/5 dark:ring-white/10"},Gt={class:"overflow-x-auto"},Xt={class:"min-w-full divide-y divide-black/5 dark:divide-white/10 text-sm"},Kt={class:"text-left text-xs uppercase text-[var(--muted-foreground)]"},Qt={class:"px-4 py-3 text-right"},Zt={class:"th-sort"},qt=["value"],Jt={class:"px-4 py-3 text-right"},Wt={class:"th-sort"},Yt=["value"],te={class:"px-4 py-3 text-right"},ee={class:"th-sort"},se=["value"],oe={class:"px-4 py-3 text-right"},le={class:"th-sort"},ae=["value"],ne={key:0},ie={key:1},de={class:"px-4 py-2 tabular-nums"},re={class:"px-4 py-2"},ue={class:"px-4 py-2 text-right tabular-nums"},pe={class:"px-4 py-2 text-right tabular-nums"},ve={class:"px-4 py-2 text-right tabular-nums"},ce={class:"px-4 py-2 text-right tabular-nums"},me={class:"px-4 py-2 text-right"},ge=["onClick"],fe={class:"flex items-center justify-between border-t border-black/10 dark:border-white/10 px-4 py-3 text-sm"},be={class:"space-x-2"},xe=["disabled"],ye=["disabled"],he={class:"md:hidden space-y-2"},_e={key:0,class:"card p-4 text-center text-sm text-[var(--muted-foreground)]"},ke={key:1,class:"card p-4 text-center text-sm text-[var(--muted-foreground)]"},we={class:"flex items-center justify-between gap-2"},Ce={class:"text-[13.5px] font-semibold text-[var(--foreground)]"},$e=["onClick"],De={class:"mt-2 flex items-stretch gap-1.5"},Re={class:"mini-kpi"},je={class:"mini-kpi-value"},Le={class:"mini-kpi mini-kpi-green"},Ue={class:"mini-kpi-value mini-green"},Be={class:"mini-kpi mini-kpi-red"},Ve={class:"mini-kpi-value mini-red"},He={class:"mini-kpi"},Se={class:"mini-kpi-value"},Te={class:"flex items-center justify-between px-1 py-2 text-sm text-[var(--muted-foreground)]"},Fe={class:"space-x-2"},Me=["disabled"],Oe=["disabled"],Ne={key:0,class:"fixed inset-0 z-[60]"},Pe={class:"absolute bottom-0 left-0 right-0 max-h-[80vh] rounded-t-2xl bg-[var(--card)] shadow-2xl"},Ee={class:"p-4 pb-20 space-y-3 overflow-auto max-h-[80vh]"},ze={class:"card flex items-center gap-2 p-2.5"},Ae={class:"card p-3"},Ie={class:"grid grid-cols-1 gap-2"},Ge={class:"mt-2 flex gap-2"},Xe={class:"card p-3"},Ke={class:"flex gap-2"},Qe={class:"card p-3"},Ze={class:"absolute bottom-0 left-0 right-0 p-3 bg-[var(--card)]/90 border-t border-black/10 dark:border-white/10"},qe={class:"flex gap-2"},Je=dt({__name:"history",setup(We){const u=rt().props.initial||{},R=z({total:0,today:0,month:0}),j=n([]),l=z({current_page:1,per_page:25,total:0,last_page:1}),x=n(u?.filters?.phone||""),p=n(u?.filters?.start_date||""),v=n(u?.filters?.end_date||""),y=n(typeof u?.filters?.per_page=="number"?u.filters.per_page:25),c=n(u?.filters?.sort_by||""),h=n(u?.filters?.sort_dir||"desc"),i=z({total:"",delivered:"",returned:"",ratio:""});function Q(){i.total=i.delivered=i.returned=i.ratio="",c.value&&(i[c.value]=h.value==="desc"?"Highest":"Lowest")}function B(o,e){if(i.total=i.delivered=i.returned=i.ratio="",i[o]=e,!e){c.value="",l.current_page=1,f(1);return}c.value=o,h.value=e==="Highest"?"desc":"asc",l.current_page=1,f(1)}const g=n(!1),L=n(!1),k=n(!1),U=n(!1);let Z;function lt(o){if(!o)return null;const e=o.replace(" ","T")+":00+06:00",s=new Date(e);return isNaN(s.getTime())?null:s}function q(o){const e=lt(o);return e?new Intl.DateTimeFormat("en-GB",{timeZone:"Asia/Dhaka",day:"2-digit",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}).format(e).replace(","," â¢"):o}async function f(o){g.value=!0;try{const e={phone:x.value||void 0,start_date:p.value||void 0,end_date:v.value||void 0,per_page:y.value===0?"all":y.value,page:o??l.current_page,sort_by:c.value||void 0,sort_dir:c.value?h.value:void 0},{data:s}=await K.get("/api/search/history",{params:e});Object.assign(R,s.cards||{total:0,today:0,month:0}),j.value=s.rows||[],Object.assign(l,s.meta||{current_page:1,per_page:y.value||25,total:j.value.length,last_page:1})}finally{g.value=!1}}et(()=>{Object.assign(R,u.cards||{total:0,today:0,month:0}),j.value=u.rows||[],u.meta&&Object.assign(l,u.meta),Q()});const J=()=>{x.value="",p.value="",v.value="",l.current_page=1,f(1)},T=()=>{l.current_page=1,f(1)};A([x,p,v],()=>{window.clearTimeout(Z),Z=window.setTimeout(()=>{l.current_page=1,f(1)},300)}),A(y,()=>{l.current_page=1,f(1)}),A([c,h],()=>{Q()});function w(o){const e=new Date,s=new Date;s.setDate(e.getDate()-(o-1)),p.value=s.toISOString().slice(0,10),v.value=e.toISOString().slice(0,10)}async function W(){L.value=!0;try{const o={phone:x.value||void 0,start_date:p.value||void 0,end_date:v.value||void 0,per_page:"all",sort_by:c.value||void 0,sort_dir:c.value?h.value:void 0},e="/api/search/history/export";try{const{data:s}=await K.get(e,{params:o,responseType:"blob"}),_=new Blob([s],{type:"text/csv;charset=utf-8;"}),C=URL.createObjectURL(_),$=document.createElement("a");$.href=C,$.download=`fraudspy_history_${Date.now()}.csv`,$.click(),URL.revokeObjectURL(C);return}catch{const _=[["Phone","Date","Total","Delivered","Returned","Ratio"],...j.value.map(b=>[b.phone,q(b.date),b.total,b.delivered,b.returned,(typeof b.ratio=="number"?b.ratio.toFixed(2):b.ratio)+"%"])].map(b=>b.map(it=>{const E=String(it??"");return/[",\n]/.test(E)?`"${E.replace(/"/g,'""')}"`:E}).join(",")).join(` 2`),C=new Blob([_],{type:"text/csv;charset=utf-8;"}),$=URL.createObjectURL(C),P=document.createElement("a");P.href=$,P.download=`fraudspy_history_page_${l.current_page}.csv`,P.click(),URL.revokeObjectURL($)}}finally{L.value=!1}}const F=n(!1),M=n(!1),V=n(null);function at(o,e,s){if(typeof route=="function")try{return e?route(o,e):route(o)}catch{}return s??`/api/search/history/${e}`}async function Y(o){F.value=!0,M.value=!0,V.value=null;try{const e=at("search.history.show",o.id,`/api/search/history/${o.id}`),{data:s}=await K.get(e);V.value=s?.id?s:{id:o.id,public_id:o.public_id??o.id,phone:o.phone,overall:{total:o.total,delivered:o.delivered,returned:o.returned,ratio:o.ratio},items:[]}}catch{V.value={id:o.id,public_id:o.public_id??o.id,phone:o.phone,overall:{total:o.total,delivered:o.delivered,returned:o.returned,ratio:o.ratio},items:[]}}finally{M.value=!1}}const O=n(null),N=n(null);function tt(o){const e=o.target;k.value&&O.value&&!O.value.contains(e)&&N.value&&!N.value.contains(e)&&(k.value=!1)}et(()=>document.addEventListener("mousedown",tt)),ut(()=>document.removeEventListener("mousedown",tt));const nt=st(()=>{if(!p.value&&!v.value)return"dd/mm/yyyy â dd/mm/yyyy";const o=e=>{if(!e)return"â";const[s,_,C]=e.split("-");return`${C}/${_}/${s}`};return`${o(p.value)} â ${o(v.value)}`}),H=st(()=>j.value);return(o,e)=>(r(),d(X,null,[I(pt(vt),{title:"Search History"}),I(gt,{breadcrumbs:[{title:"Home",href:"/"},{title:"Search",href:"/search"},{title:"History",href:"/search/history"}]},{default:ct(()=>[t("div",xt,[t("div",yt,[e[31]||(e[31]=t("h1",{class:"text-2xl font-bold text-[var(--foreground)]"},"Search History",-1)),t("button",{class:"btn-primary shrink-0",disabled:L.value||g.value,onClick:W},[L.value?(r(),d("span",kt,"Exportingâ¦")):(r(),d("span",_t,"Export CSV"))],8,ht)]),t("div",wt,[t("button",{class:"btn-plain",onClick:e[0]||(e[0]=s=>U.value=!0)},"Open Filters"),t("button",{class:"btn-primary btn-xs",disabled:L.value||g.value,onClick:W},"Export",8,Ct)]),t("div",$t,[t("div",Dt,[e[32]||(e[32]=t("svg",{class:"h-5 w-5 text-[var(--muted-foreground)]",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-4.35-4.35M10 18a8 8 0 100-16 8 8 0 000 16z"})],-1)),m(t("input",{"onUpdate:modelValue":e[1]||(e[1]=s=>x.value=s),placeholder:"Filter by phone (e.g., 01Xâ¦)",class:"w-full rounded-md bg-transparent px-2 py-1.5 text-[var(--foreground)] outline-none placeholder:text-[var(--muted-foreground)]"},null,512),[[D,x.value]]),t("button",{class:"btn-primary btn-sm",onClick:T},"Filter")]),t("div",Rt,[t("button",{ref_key:"calBtn",ref:N,onClick:e[2]||(e[2]=s=>
2k.value=!k.value),class:"card w-full flex items-center justify-between"},[t("div",jt,[e[33]||(e[33]=t("svg",{class:"h-5 w-5 text-[var(--muted-foreground)]",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 7V3m8 4V3M3 11h18M5 19h14a2 2 0 002-2v-6H3v6a2 2 0 002 2z"})],-1)),t("span",Lt,a(nt.value),1)]),e[34]||(e[34]=t("svg",{class:"h-4 w-4 text-[var(--muted-foreground)]",viewBox:"0 0 20 20",fill:"currentColor"},[t("path",{d:"M5.23 7.21a.75.75 0 011.06.02L10 10.94l3.71-3.71a.75.75 0 111.06 1.06l-4.24 4.24a.75.75 0 01-1.06 0L5.21 8.29a.75.75 0 01.02-1.08z"})],-1))],512),m(t("div",{ref_key:"calRef",ref:O,class:"absolute z-50 mt-2 w-[560px] max-w-[90vw] rounded-2xl bg-[var(--card)] ring-1 ring-black/10 dark:ring-white/10 shadow-2xl p-3"},[t("div",Ut,[t("div",Bt,[e[35]||(e[35]=t("div",{class:"text-xs text-[var(--muted-foreground)] mb-1"},"From",-1)),m(t("input",{"onUpdate:modelValue":e[3]||(e[3]=s=>p.value=s),type:"date",class:"w-full rounded-lg bg-black/5 dark:bg-white/10 px-3 py-2 text-sm outline-none"},null,512),[[D,p.value]])]),t("div",Vt,[e[36]||(e[36]=t("div",{class:"text-xs text-[var(--muted-foreground)] mb-1"},"To",-1)),m(t("input",{"onUpdate:modelValue":e[4]||(e[4]=s=>v.value=s),type:"date",class:"w-full rounded-lg bg-black/5 dark:bg-white/10 px-3 py-2 text-sm outline-none"},null,512),[[D,v.value]])])]),t("div",Ht,[t("div",St,[t("button",{class:"chip",onClick:e[5]||(e[5]=s=>w(1))},"Today"),t("button",{class:"chip",onClick:e[6]||(e[6]=s=>w(7))},"7d"),t("button",{class:"chip",onClick:e[7]||(e[7]=s=>w(30))},"30d"),t("button",{class:"chip",onClick:J},"Reset")]),t("div",Tt,[t("button",{class:"chip",onClick:e[8]||(e[8]=s=>k.value=!1)},"Close"),t("button",{class:"btn-primary btn-xs",onClick:T},"Apply")])])],512),[[mt,k.value]])]),t("div",Ft,[e[38]||(e[38]=t("label",{for:"pp",class:"text-sm text-[var(--muted-foreground)]"},"Rows:",-1)),m(t("select",{id:"pp","onUpdate:modelValue":e[9]||(e[9]=s=>y.value=s),class:"select-base"},[...e[37]||(e[37]=[t("option",{value:25},"25",-1),t("option",{value:50},"50",-1),t("option",{value:100},"100",-1),t("option",{value:250},"250",-1),t("option",{value:500},"500",-1),t("option",{value:1e3},"1000",-1),t("option",{value:0},"All",-1)])],512),[[S,y.value]])])]),t("div",Mt,[t("div",Ot,[e[39]||(e[39]=t("div",{class:"kpi-label"},"Total",-1)),t("div",Nt,a(R.total),1)]),t("div",Pt,[e[40]||(e[40]=t("div",{class:"kpi-label"},"Today",-1)),t("div",Et,a(R.today),1)]),t("div",zt,[e[41]||(e[41]=t("div",{class:"kpi-label"},"This Month",-1)),t("div",At,a(R.month),1)])]),t("div",It,[t("div",Gt,[t("table",Xt,[t("thead",Kt,[t("tr",null,[e[50]||(e[50]=t("th",{class:"px-4 py-3"},"Date",-1)),e[51]||(e[51]=t("th",{class:"px-4 py-3"},"Phone",-1)),t("th",Qt,[t("div",Zt,[e[43]||(e[43]=t("span",null,"Total",-1)),t("select",{class:"select-mini",value:i.total,onChange:e[10]||(e[10]=s=>B("total",s.target.value))},[...e[42]||(e[42]=[t("option",{value:""},"â",-1),t("option",null,"Highest",-1),t("option",null,"Lowest",-1)])],40,qt)])]),t("th",Jt,[t("div",Wt,[e[45]||(e[45]=t("span",null,"Delivered",-1)),t("select",{class:"select-mini",value:i.delivered,onChange:e[11]||(e[11]=s=>B("delivered",s.target.value))},[...e[44]||(e[44]=[t("option",{value:""},"â",-1),t("option",null,"Highest",-1),t("option",null,"Lowest",-1)])],40,Yt)])]),t("th",te,[t("div",ee,[e[47]||(e[47]=t("span",null,"Returned",-1)),t("select",{class:"select-mini",value:i.returned,onChange:e[12]||(e[12]=s=>B("returned",s.target.value))},[...e[46]||(e[46]=[t("option",{value:""},"â",-1),t("option",null,"Highest",-1),t("option",null,"Lowest",-1)])],40,se)])]),t("th",oe,[t("div",le,[e[49]||(e[49]=t("span",null,"Ratio",-1)),t("select",{class:"select-mini",value:i.ratio,onChange:e[13]||(e[13]=s=>B("ratio",s.target.value))},[...e[48]||(e[48]=[t("option",{value:""},"â",-1),t("option",null,"Highest",-1),t("option",null,"Lowest",-1)])],40,ae)])]),e[52]||(e[52]=t("th",{class:"px-4 py-3 text-right"},"Action",-1))])]),t("tbody",null,[g.value?(r(),d("tr",ne,[...e[53]||(e[53]=[t("td",{colspan:"7",class:"px-4 py-6 text-center text-sm text-[var(--muted-foreground)]"},"Loadingâ¦",-1)])])):H.value.length===0?(r(),d("tr",ie,[...e[54]||(e[54]=[t("td",{colspan:"7",class:"px-4 py-6 text-center text-sm text-[var(--muted-foreground)]"},"No data",-1)])])):G("",!0),(r(!0),d(X,null,ot(H.value,s=>(r(),d("tr",{key:s.id,class:"odd:bg-black/0 even:bg-black/5"},[t("td",de,a(q(s.date)),1),t("td",re,a(s.phone),1),t("td",ue,a(s.total),1),t("td",pe,a(s.delivered),1),t("td",ve,a(s.returned),1),t("td",ce,a(typeof s.ratio=="number"?s.ratio.toFixed(2):s.ratio)+"%",1),t("td",me,[t("button",{class:"btn-primary btn-xs",onClick:_=>Y(s)},"View",8,ge)])]))),128))])])]),t("div",fe,[t("div",null,"Page "+a(l.current_page)+" of "+a(l.last_page)+" ⢠"+a(l.total)+" rows",1),t("div",be,[t("button",{class:"chip",disabled:l.current_page<=1||g.value,onClick:e[14]||(e[14]=s=>f(l.current_page-1))},"Prev",8,xe),t("button",{class:"chip",disabled:l.current_page>=l.last_page||g.value,onClick:e[15]||(e[15]=s=>f(l.current_page+1))}
2,"Next",8,ye)])])]),t("div",he,[g.value?(r(),d("div",_e,"Loadingâ¦")):H.value.length===0?(r(),d("div",ke,"No data")):G("",!0),(r(!0),d(X,null,ot(H.value,s=>(r(),d("div",{key:s.id,class:"card p-3"},[t("div",we,[t("div",Ce,a(s.phone),1),t("button",{class:"btn-primary btn-xs",onClick:_=>Y(s)},"View",8,$e)]),t("div",De,[t("div",Re,[e[55]||(e[55]=t("div",{class:"mini-kpi-label"},"Total",-1)),t("div",je,a(s.total),1)]),t("div",Le,[e[56]||(e[56]=t("div",{class:"mini-kpi-label"},"Delivered",-1)),t("div",Ue,a(s.delivered),1)]),t("div",Be,[e[57]||(e[57]=t("div",{class:"mini-kpi-label"},"Returned",-1)),t("div",Ve,a(s.returned),1)]),t("div",He,[e[58]||(e[58]=t("div",{class:"mini-kpi-label"},"Ratio",-1)),t("div",Se,a(typeof s.ratio=="number"?s.ratio.toFixed(2):s.ratio)+"%",1)])])]))),128)),t("div",Te,[t("div",null,"Page "+a(l.current_page)+" / "+a(l.last_page),1),t("div",Fe,[t("button",{class:"chip",disabled:l.current_page<=1||g.value,onClick:e[16]||(e[16]=s=>f(l.current_page-1))},"Prev",8,Me),t("button",{class:"chip",disabled:l.current_page>=l.last_page||g.value,onClick:e[17]||(e[17]=s=>f(l.current_page+1))},"Next",8,Oe)])])])]),U.value?(r(),d("div",Ne,[t("div",{class:"absolute inset-0 bg-black/40",onClick:e[18]||(e[18]=s=>U.value=!1)}),t("div",Pe,[t("div",Ee,[e[66]||(e[66]=t("div",{class:"text-base font-semibold"},"Filters",-1)),t("div",ze,[e[59]||(e[59]=t("svg",{class:"h-5 w-5 text-[var(--muted-foreground)]",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-4.35-4.35M10 18a8 8 0 100-16 8 8 0 000 16z"})],-1)),m(t("input",{"onUpdate:modelValue":e[19]||(e[19]=s=>x.value=s),placeholder:"Filter by phone (e.g., 01Xâ¦)",class:"w-full rounded-md bg-transparent px-2 py-1.5 text-[var(--foreground)] outline-none placeholder:text-[var(--muted-foreground)]"},null,512),[[D,x.value]])]),t("div",Ae,[e[60]||(e[60]=t("div",{class:"text-[12px] text-[var(--muted-foreground)] mb-2"},"Date range",-1)),t("div",Ie,[m(t("input",{"onUpdate:modelValue":e[20]||(e[20]=s=>p.value=s),type:"date",class:"select-base w-full"},null,512),[[D,p.value]]),m(t("input",{"onUpdate:modelValue":e[21]||(e[21]=s=>v.value=s),type:"date",class:"select-base w-full"},null,512),[[D,v.value]])]),t("div",Ge,[t("button",{class:"chip",onClick:e[22]||(e[22]=s=>w(1))},"Today"),t("button",{class:"chip",onClick:e[23]||(e[23]=s=>w(7))},"7d"),t("button",{class:"chip",onClick:e[24]||(e[24]=s=>w(30))},"30d"),t("button",{class:"chip",onClick:J},"Reset")])]),t("div",Xe,[e[63]||(e[63]=t("div",{class:"text-[12px] text-[var(--muted-foreground)] mb-2"},"Sort",-1)),t("div",Ke,[m(t("select",{"onUpdate:modelValue":e[25]||(e[25]=s=>c.value=s),class:"select-base flex-1"},[...e[61]||(e[61]=[t("option",{value:""},"None",-1),t("option",{value:"total"},"Total",-1),t("option",{value:"delivered"},"Delivered",-1),t("option",{value:"returned"},"Returned",-1),t("option",{value:"ratio"},"Ratio",-1)])],512),[[S,c.value]]),m(t("select",{"onUpdate:modelValue":e[26]||(e[26]=s=>h.value=s),class:"select-base w-36"},[...e[62]||(e[62]=[t("option",{value:"desc"},"Highest",-1),t("option",{value:"asc"},"Lowest",-1)])],512),[[S,h.value]])])]),t("div",Qe,[e[65]||(e[65]=t("div",{class:"text-[12px] text-[var(--muted-foreground)] mb-2"},"Rows",-1)),m(t("select",{"onUpdate:modelValue":e[27]||(e[27]=s=>y.value=s),class:"select-base w-full"},[...e[64]||(e[64]=[t("option",{value:25},"25",-1),t("option",{value:50},"50",-1),t("option",{value:100},"100",-1),t("option",{value:250},"250",-1),t("option",{value:500},"500",-1),t("option",{value:1e3},"1000",-1),t("option",{value:0},"All",-1)])],512),[[S,y.value]])])]),t("div",Ze,[t("div",qe,[t("button",{class:"btn-plain flex-1",onClick:e[28]||(e[28]=s=>U.value=!1)},"Close"),t("button",{class:"btn-primary flex-1",onClick:e[29]||(e[29]=s=>{U.value=!1,T()})},"Apply")])])])])):G("",!0),I(ft,{open:F.value,loading:M.value,data:V.value,onClose:e[30]||(e[30]=s=>F.value=!1)},null,8,["open","loading","data"])]),_:1})],64))}}),ds=bt(Je,[["__scopeId","data-v-b4f12438"]]);export{ds 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.