"use client";
import { linearish as u } from "./linear.js";
import { transformer as i, copy as s } from "./continuous.js";
import { initRange as c } from "./init.js";
function o(n) {
  return function(t) {
    return Math.sign(t) * Math.log1p(Math.abs(t / n));
  };
}
function a(n) {
  return function(t) {
    return Math.sign(t) * Math.expm1(Math.abs(t)) * n;
  };
}
function m(n) {
  var t = 1, r = n(o(t), a(t));
  return r.constant = function(e) {
    return arguments.length ? n(o(t = +e), a(t)) : t;
  }, u(r);
}
function f() {
  var n = m(i());
  return n.copy = function() {
    return s(n, f()).constant(n.constant());
  }, c.apply(n, arguments);
}
export {
  f as default,
  m as symlogish
};
