Sleepyfx's picture
download
raw
6.21 kB
import{aO as S,aP as M,aQ as N,aR as k,aS as D}from"./index.js";import{i as I}from"./init.js";import{e as m,f as T,a as E,b as _}from"./defaultLocale.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"5607a67ae46e2e1edcf54c44fca81ea75c27b372"}}catch{}})();try{(function(){var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new n.Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="a8483b91-ab4c-4afd-a535-39eb04df33be",n._sentryDebugIdIdentifier="sentry-dbid-a8483b91-ab4c-4afd-a535-39eb04df33be")})()}catch{}function g(n,e){return n==null||e==null?NaN:n<e?-1:n>e?1:n>=e?0:NaN}function j(n,e){return n==null||e==null?NaN:e<n?-1:e>n?1:e>=n?0:NaN}function b(n){let e,t,r;n.length!==2?(e=g,t=(o,c)=>g(n(o),c),r=(o,c)=>n(o)-c):(e=n===g||n===j?n:q,t=n,r=n);function u(o,c,i=0,h=o.length){if(i<h){if(e(c,c)!==0)return h;do{const l=i+h>>>1;t(o[l],c)<0?i=l+1:h=l}while(i<h)}return i}function f(o,c,i=0,h=o.length){if(i<h){if(e(c,c)!==0)return h;do{const l=i+h>>>1;t(o[l],c)<=0?i=l+1:h=l}while(i<h)}return i}function a(o,c,i=0,h=o.length){const l=u(o,c,i,h-1);return l>i&&r(o[l-1],c)>-r(o[l],c)?l-1:l}return{left:u,center:a,right:f}}function q(){return 0}function F(n){return n===null?NaN:+n}const P=b(g),z=P.right;b(F).center;const B=Math.sqrt(50),O=Math.sqrt(10),V=Math.sqrt(2);function y(n,e,t){const r=(e-n)/Math.max(0,t),u=Math.floor(Math.log10(r)),f=r/Math.pow(10,u),a=f>=B?10:f>=O?5:f>=V?2:1;let o,c,i;return u<0?(i=Math.pow(10,-u)/a,o=Math.round(n*i),c=Math.round(e*i),o/i<n&&++o,c/i>e&&--c,i=-i):(i=Math.pow(10,u)*a,o=Math.round(n/i),c=Math.round(e/i),o*i<n&&++o,c*i>e&&--c),c<o&&.5<=t&&t<2?y(n,e,t*2):[o,c,i]}function $(n,e,t){if(e=+e,n=+n,t=+t,!(t>0))return[];if(n===e)return[n];const r=e<n,[u,f,a]=r?y(e,n,t):y(n,e,t);if(!(f>=u))return[];const o=f-u+1,c=new Array(o);if(r)if(a<0)for(let i=0;i<o;++i)c[i]=(f-i)/-a;else for(let i=0;i<o;++i)c[i]=(f-i)*a;else if(a<0)for(let i=0;i<o;++i)c[i]=(u+i)/-a;else for(let i=0;i<o;++i)c[i]=(u+i)*a;return c}function p(n,e,t){return e=+e,n=+n,t=+t,y(n,e,t)[2]}function x(n,e,t){e=+e,n=+n,t=+t;const r=e<n,u=r?p(e,n,t):p(n,e,t);return(r?-1:1)*(u<0?1/-u:u)}function L(n,e){e||(e=[]);var t=n?Math.min(e.length,n.length):0,r=e.slice(),u;return function(f){for(u=0;u<t;++u)r[u]=n[u]*(1-f)+e[u]*f;return r}}function Q(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function Y(n,e){var t=e?e.length:0,r=n?Math.min(t,n.length):0,u=new Array(r),f=new Array(t),a;for(a=0;a<r;++a)u[a]=w(n[a],e[a]);for(;a<t;++a)f[a]=e[a];return function(o){for(a=0;a<r;++a)f[a]=u[a](o);return f}}function C(n,e){var t=new Date;return n=+n,e=+e,function(r){return t.setTime(n*(1-r)+e*r),t}}function G(n,e){var t={},r={},u;(n===null||typeof n!="object")&&(n={}),(e===null||typeof e!="object")&&(e={});for(u in e)u in n?t[u]=w(n[u],e[u]):r[u]=e[u];return function(f){for(u in t)r[u]=t[u](f);return r}}function w(n,e){var t=typeof e,r;return e==null||t==="boolean"?S(e):(t==="number"?M:t==="string"?(r=N(e))?(e=r,k):D:e instanceof N?k:e instanceof Date?C:Q(e)?L:Array.isArray(e)?Y:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?G:M)(n,e)}function H(n,e){return n=+n,e=+e,function(t){return Math.round(n*(1-t)+e*t)}}function J(n){return Math.max(0,-m(Math.abs(n)))}function K(n,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(m(e)/3)))*3-m(Math.abs(n)))}function U(n,e){return n=Math.abs(n),e=Math.abs(e)-n,Math.max(0,m(e)-m(n))+1}function W(n){return function(){return n}}function X(n){return+n}var A=[0,1];function d(n){return n}function v(n,e){return(e-=n=+n)?function(t){return(t-n)/e}:W(isNaN(e)?NaN:.5)}function Z(n,e){var t;return n>e&&(t=n,n=e,e=t),function(r){return Math.max(n,Math.min(e,r))}}function nn(n,e,t){var r=n[0],u=n[1],f=e[0],a=e[1];return u<r?(r=v(u,r),f=t(a,f)):(r=v(r,u),f=t(f,a)),function(o){return f(r(o))}}function en(n,e,t){var r=Math.min(n.length,e.length)-1,u=new Array(r),f=new Array(r),a=-1;for(n[r]<n[0]&&(n=n.slice().reverse(),e=e.slice().reverse());++a<r;)u[a]=v(n[a],n[a+1]),f[a]=t(e[a],e[a+1]);return function(o){var c=z(n,o,1,r)-1;return f[c](u[c](o))}}function rn(n,e){return e.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())}function tn(){var n=A,e=A,t=w,r,u,f,a=d,o,c,i;function h(){var s=Math.min(n.length,e.length);return a!==d&&(a=Z(n[0],n[s-1])),o=s>2?en:nn,c=i=null,l}function l(s){return s==null||isNaN(s=+s)?f:(c||(c=o(n.map(r),e,t)))(r(a(s)))}return l.invert=function(s){return a(u((i||(i=o(e,n.map(r),M)))(s)))},l.domain=function(s){return arguments.length?(n=Array.from(s,X),h()):n.slice()},l.range=function(s){return arguments.length?(e=Array.from(s),h()):e.slice()},l.rangeRound=function(s){return e=Array.from(s),t=H,h()},l.clamp=function(s){return arguments.length?(a=s?!0:d,h()):a!==d},l.interpolate=function(s){return arguments.length?(t=s,h()):t},l.unknown=function(s){return arguments.length?(f=s,l):f},function(s,R){return r=s,u=R,h()}}function un(){return tn()(d,d)}function an(n,e,t,r){var u=x(n,e,t),f;switch(r=T(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(e));return r.precision==null&&!isNaN(f=K(u,a))&&(r.precision=f),E(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(f=U(u,Math.max(Math.abs(n),Math.abs(e))))&&(r.precision=f-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(f=J(u))&&(r.precision=f-(r.type==="%")*2);break}}return _(r)}function on(n){var e=n.domain;return n.ticks=function(t){var r=e();return $(r[0],r[r.length-1],t??10)},n.tickFormat=function(t,r){var u=e();return an(u[0],u[u.length-1],t??10,r)},n.nice=function(t){t==null&&(t=10);var r=e(),u=0,f=r.length-1,a=r[u],o=r[f],c,i,h=10;for(o<a&&(i=a,a=o,o=i,i=u,u=f,f=i);h-- >0;){if(i=p(a,o,t),i===c)return r[u]=a,r[f]=o,e(r);if(i>0)a=Math.floor(a/i)*i,o=Math.ceil(o/i)*i;else if(i<0)a=Math.ceil(a*i)/i,o=Math.floor(o*i)/i;else break;c=i}return n},n}function fn(){var n=un();return n.copy=function(){return rn(n,fn())},I.apply(n,arguments),on(n)}export{rn as a,b,un as c,fn as l,x as t};
//# sourceMappingURL=linear.js.map

Xet Storage Details

Size:
6.21 kB
·
Xet hash:
7e8e349081ec3e4622ecb3ab73d0e70c6d3989b78203f8e1ad7e680cb06ec28b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.