(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;ia.length)&&(b=a.length);for(var c=0,d=Array(b);c>16),b=4294967295&18e3*(65535&b)+(b>>16),this._mz=a,this._mw=b;var c=(4294967295&(a<<16)+b)/4294967296;return .5+c},Srand.inRange=Srand.prototype.inRange=function(c,a){return c+this.random()*(a-c)},Srand.intInRange=Srand.prototype.intInRange=function(a,b){return a+Math.floor(this.random()*(b-a+1))},Srand.choice=Srand.prototype.choice=function(a){if(0===a.length)throw new Error("Cannot choose random element from empty array.");var b=this.intInRange(0,a.length-1);return a[b]},Srand.choices=Srand.prototype.choices=function(a,b){for(var c=Array(b),d=0;da.length)throw new Error("Sample size cannot exceed population size.");if(b===a.length)return _toConsumableArray(a);for(var c,d=a.length-1,e=Array(b),f={},g=0;g