PageSourceSearch

https://secretcon.co.uk/build/assets/SalesByWidget-DHW263Cq.js

js secretcon.co.uk collected 2026-10-07 15:00:00 UTC 2,262 bytes, 1 lines download raw bytes

1import{d,o as i,a as t,x as n,t as s,e as c,F as o,h as v}from"./app-DqTdKgW5.js";const x={class:"w-full max-w-md p-4 bg-white border border-gray-200 rounded-lg shadow sm:p-5 dark:bg-neutral-800 dark:border-neutral-700"},p={class:"flex items-center justify-between mb-4"},_={class:"text-l font-bold leading-none text-gray-900 dark:text-white"},w={class:"flow-root divide-y divide-gray-200 dark:divide-neutral-700 text-sm font-medium text-gray-900 truncate dark:text-white"},f={class:"flex text-sm"},m={key:0,class:"w-1/4"},g={class:"w-1/4"},u={class:"p-2 font-bold"},h={class:"w-1/6"},y={class:"p-2 text-center"},k={class:"w-1/6"},b={class:"p-2 text-center"},B={class:"w-1/6 bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-300"},S={class:"p-2 text-center"},j={key:0,class:"w-1/4"},N={class:"p-2 text-right bg-yellow-100 text-yellow-800 dark:bg-neutral-800 dark:text-yellow-300"},F={__name:"SalesByWidget",props:{event:Object,sales:Object,title:String},setup(l){return(r,e)=>(i(),d("div",x,[t("div",p,[t("h5",_,s(l.title),1)]),t("div",w,[t("div",f,[e[1]||(e[1]=n('<div class="w-1/4"><div class="p-2"></div></div><div class="w-1/6"><div class="p-2 text-center"><i class="fa-solid fa-users"></i></div></div><div class="w-1/6"><div class="p-2 text-center"><i class="fa-solid fa-percent"></i></div></div><div class="w-1/6"><div class="p-2 text-center text-red-800 dark:text-red-300"><i class="fa-solid fa-percent"></i></div></div>',4)),r.can("event.stats")?(i(),d("div",m,[...e[0]||(e[0]=[t("div",{class:"p-2 text-center text-yellow-800 dark:text-yellow-300"},[t("i",{class:"fa-solid fa-sterling-sign"})],-1)])])):c("",!0)]),(i(!0),d(o,null,v(l.sales,a=>(i(),d("div",{class:"flex text-xs",key:l.sales.name},[t("div",g,[t("div",u,s(a.name),1)]),t("div",h,[t("div",y,s(a.count),1)]),t("div",k,[t("div",b,s(a.percentage),1)]),t("div",B,[t("div",S,s(a.max_percentage),1)]),r.can("event.stats")?(i(),d("div",j,[t("div",N," £"+s(a.net),1)])):c("",!0)]))),128))]),e[2]||(e[2]=n('<div class="text-right"><span class="text-xs w-1/2 py-1 mr-2"><i class="fa-solid fa-percent mr-1"></i> current sales </span><span class="text-xs py-1 w-1/2 text-red-800 dark:text-red-300"><i class="fa-solid fa-percent mr-1"></i> max capacity </span></div>',1))]))}};export{F 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.