//#region ../../node_modules/d3-transition/src/transition/styleTween.js
function e(e, t, n) {
	return function(r) {
		this.style.setProperty(e, t.call(this, r), n);
	};
}
function t(t, n, r) {
	var i, a;
	function o() {
		var o = n.apply(this, arguments);
		return o !== a && (i = (a = o) && e(t, o, r)), i;
	}
	return o._value = n, o;
}
function n(e, n, r) {
	var i = "style." + (e += "");
	if (arguments.length < 2) return (i = this.tween(i)) && i._value;
	if (n == null) return this.tween(i, null);
	if (typeof n != "function") throw Error();
	return this.tween(i, t(e, n, r ?? ""));
}
//#endregion
export { n as default };
