vendor: 2,470 bytes, lines 1-7
1/** 2 * Bundled by jsDelivr using Rollup v4.62.2 and esbuild v0.28.1. 3 * Original file: /npm/[email protected]/src/index.js 4 * 5 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files 6 */ 7function R(t){return t}var z=1,F=2,C=3,h=4,E=1e-6;function B(t){return"translate("+t+",0)"}function L(t){return"translate(0,"+t+")"}function N(t){return r=>+t(r)}function T(t,r){return r=Math.max(0,t.bandwidth()-r*2)/2,t.round()&&(r=Math.round(r)),l=>+t(l)+r}function X(){return!this.__axis}function V(t,r){var l=[],m=null,p=null,c=6,a=6,b=3,e=typeof window<"u"&&window.devicePixelRatio>1?0:.5,o=t===z||t===h?-1:1,x=t===h||t===F?"x":"y",S=t===z||t===C?B:L;function i(n){var I=m??(r.ticks?r.ticks.apply(r,l):r.domain()),O=p??(r.tickFormat?r.tickFormat.apply(r,l):R),P=Math.max(c,0)+b,H=r.range(),y=+H[0]+e,A=+H[H.length-1]+e,v=(r.bandwidth?T:N)(r.copy(),e),g=n.selection?n.selection():n,f=g.selectAll(".domain").data([null]),u=g.selectAll(".tick").data(I,r).order(),_=u.exit(),M=u.enter().append("g").attr("class","tick"),d=u.select("line"),k=u.select("text");f=f.merge(f.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),u=u.merge(M),d=d.merge(M.append("line").attr("stroke","currentColor").attr(x+"2",o*c)),k=k.merge(M.append("text").attr("fill","currentColor").attr(x,o*P).attr("dy",t===z?"0em":t===C?"0.71em":"0.32em")),n!==g&&(f=f.transition(n),u=u.transition(n),d=d.transition(n),k=k.transition(n),_=_.transition(n).attr("opacity",E).attr("transform",function(s){return isFinite(s=v(s))?S(s+e):this.getAttribute("transform")}),M.attr("opacity",E).attr("transform",function(s){var w=this.parentNode.__axis;return S((w&&isFinite(w=w(s))?w:v(s))+e)})),_.remove(),f.attr("d",t===h||t===F?a?"M"+o*a+","+y+"H"+e+"V"+A+"H"+o*a:"M"+e+","+y+"V"+A:a?"M"+y+","+o*a+"V"+e+"H"+A+"V"+o*a:"M"+y+","+e+"H"+A),u.attr("opacity",1).attr("transform",function(s){return S(v(s)+e)}),d.attr(x+"2",o*c),k.attr(x,o*P).text(O),g.filter(X).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===F?"start":t===h?"end":"middle"),g.each(function(){this.__axis=v})}return i.scale=function(n){return arguments.length?(r=n,i):r},i.ticks=function(){return l=Array.from(arguments),i},i.tickArguments=function(n){return arguments.length?(l=n==null?[]:Array.from(n),i):l.slice()},i.tickValues=function(n){return arguments.length?(m=n==null?null:Array.from(n),i):m&&m.slice()}
7,i.tickFormat=function(n){return arguments.length?(p=n,i):p},i.tickSize=function(n){return arguments.length?(c=a=+n,i):c},i.tickSizeInner=function(n){return arguments.length?(c=+n,i):c},i.tickSizeOuter=function(n){return arguments.length?(a=+n,i):a},i.tickPadding=function(n){return arguments.length?(b=+n,i):b},i.offset=function(n){return arguments.length?(e=+n,i):e},i}function Y(t){return V(z,t)}function j(t){return V(F,t)}function q(t){return V(C,t)}function D(t){return V(h,t)}export{q as axisBottom,D as axisLeft,j as axisRight,Y as axisTop};
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.