text: // This file is a part of stdlib. License is Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0
  import r from"./../../../../utils/define-nonenumerable-read-only-property.js";import t from"./../../../../math/base/special/betaln.js";import a from"./../../../../math/base/assert/is-nan.js";import n from"./../../../../math/base/special/log1p.js";import o from"./../../../../math/base/special/ln.js";import e from"./../../../../constants/math/float64-pinf.js";import i from"./../../../../constants/math/float64-ninf.js";import s from"./../../../../utils/constant-function.js";var f=t,m=a,p=n,u=o,l=e,c=i;function j(r,t,a){var n;return m(r)||m(t)||m(a)||t<=0||a<=0?NaN:r<0||r>1?c:0===r?t<1?l:t>1?c:u(a):1===r?a<1?l:a>1?c:u(t):(n=(t-1)*u(r),n+=(a-1)*p(-r),n-=f(t,a))}var b=s,h=t,v=a,N=n,d=o,y=i,g=e;function x(r,t){var a;return v(r)||v(t)||r<=0||t<=0?b(NaN):(a=h(r,t),function(n){var o;if(v(n))return NaN;if(n<0||n>1)return y;if(0===n)return r<1?g:r>1?y:d(t);if(1===n)return t<1?g:t>1?y:d(r);return o=-a,o+=(r-1)*d(n)+(t-1)*N(-n)})}var k=r,q=j,w=x;k(q,"factory",w);export default q;
  //# sourceMappingURL=logpdf.js.map