git-truck 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import{a as s,b as D,c as I,d as O,e as t,m as L,n as V}from"/build/_shared/chunk-YLJSRSGG.js";import{A as H,K as w,L as x,Q as E,a as Z,c as n,s as a}from"/build/_shared/chunk-7N2WUEGE.js";import{c as r,d as M,k as d,q as N,r as h,v as G}from"/build/_shared/chunk-2BPXJFRU.js";var c=r(D()),j=r(O());var R="/build/_assets/truck-7F5JWBYT.gif";var i=r(G()),T=n.div`
1
+ import{a as s,b as D,c as I,d as O,e as t,m as L,n as V}from"/build/_shared/chunk-CWCEXXYS.js";import{A as H,K as w,L as x,Q as E,a as Z,c as n,s as a}from"/build/_shared/chunk-Y7QOL3BF.js";import{c as r,d as M,k as d,q as N,r as h,v as G}from"/build/_shared/chunk-2BPXJFRU.js";var c=r(D()),j=r(O());var R="/build/_assets/truck-7F5JWBYT.gif";var i=r(G()),T=n.div`
2
2
  padding: 0.5em 2em;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1 +0,0 @@
1
- import{M as b,N as v,O as y,P as S,d as x}from"/build/_shared/chunk-7N2WUEGE.js";import{a as M,b as m,c as s,d as E,e as p,f as k,v as d}from"/build/_shared/chunk-2BPXJFRU.js";var W,L=M(()=>{W="ab".substr(-1)==="b"?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}});var T=m((O,z)=>{z.exports={}});var j=m((D,A)=>{A.exports={}});var G=m(($,w)=>{w.exports={}});var B=s(d());var H=e=>{var n;let r=`calc(${((n=e.size)!=null?n:e.xs)?.5:e.sm?.75:e.md?1:e.lg?1.5:e.xl?2:e.xxl?3:1} * var(--unit))`,i={height:e.horizontal?"1px":r,width:e.horizontal?r:"1px",...e.horizontal?{display:"inline-block"}:{}};return(0,B.jsx)("div",{"aria-hidden":!0,style:i})};H.defaultProps={size:null,sm:!1,md:!1,lg:!1,xl:!1,horizontal:!1};function V(e){return e?new Date(e*1e3).toLocaleString("en-gb",{day:"2-digit",month:"short",year:"numeric"}):"Invalid date"}function N(e){return new Date(e).toLocaleString("da-dk",{day:"2-digit",month:"2-digit",year:"2-digit"})}function q(e){return new Date(e).toLocaleString("en-gb",{hour:"2-digit",minute:"2-digit",day:"2-digit",month:"short",year:"2-digit"})}function C(e){let t=Date.now(),r=60*60*1e3,i=24*r,n=t-e*1e3;if(n<0)return"Unknown time ago";if(n>i){let a=Math.floor(n/i);return`${a} day${a>1?"s":""} ago`}let l=Math.floor(n/r);return l>1?`${l} hours ago`:l===1?"1 hour ago":"<1 hour ago"}var U=e=>e[e.length-1],_=e=>e.length<=1?[]:e.slice(0,e.length-1);function J(e){return e.includes("\\")?"\\":"/"}var K=(e,t)=>[e,t].join("/");k();var u=s(E());var g=u.forwardRef(function(e,t){var r={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return u.createElement(x,p({iconAttrs:r,iconVerticalAlign:"middle",iconViewBox:"0 0 16 16"},e,{ref:t}),u.createElement("path",{fillRule:"evenodd",d:"M11.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zm-2.25.75a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.492 2.492 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25zM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zM3.5 3.25a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0z"}))});g.displayName="GitBranch";var o=s(d());function re({headGroups:e,analyzedHeads:t,iconColor:r,disabled:i,...n}){let l=Object.entries(e),a=l.reduce((c,f)=>c.concat(Object.keys(f)),[]);return(0,o.jsxs)(y,{children:[(0,o.jsx)(g,{display:"inline-block",height:"1em",color:r!=null?r:"#333"}),a.length===1?(0,o.jsx)(S,{children:a[0]}):(0,o.jsx)(b,{inline:!0,...n,children:l.map(([c,f])=>Object.entries(f).length>0?(0,o.jsx)("optgroup",{label:c,children:Object.entries(f).map(([h,P])=>{let R=t[P];return(0,o.jsx)(v,{value:h,disabled:i,title:R?"Analyzed":"Not analyzed",children:h},h)})},c):null)})]})}export{L as a,T as b,j as c,G as d,H as e,V as f,N as g,q as h,C as i,U as j,_ as k,J as l,K as m,re as n};