/**
 * @license
 * Copyright 2023 Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
function p(e=5){return Math.random().toString(36).substring(2,2+e)}function m(e){return typeof e!="undefined"&&e!==null}function x(e){return typeof e=="string"}function g(e){return typeof e=="number"}function d(e){return typeof e!="string"?!1:!isNaN(e)&&!isNaN(parseFloat(e))}function a(e){return e instanceof Date}function w(e){return a(e)?!isNaN(e.getTime()):!1}function y(e){return typeof e=="function"}function h(e){return e instanceof Array}function N(e){return e instanceof Object}function b(e){return e!=null&&""+e!="false"}function D(e){return+e}function T(e){return e?typeof e=="string"?e.replace(/ |\[|]|\"/g,"").split(",").map(t=>Number(t)):typeof e=="number"?[e]:e.map(t=>Number(t)):[]}function E(e,t){return e===t||typeof e=="object"&&typeof t=="object"&&JSON.stringify(e)===JSON.stringify(t)}function S(e,t,u=!1){let o,r,s,n,f=0,l=()=>{let i=Date.now()-f;i<t&&i>=0?n=setTimeout(l,t-i):(n=null,u||(s=e.apply(o,r),n||(o=r=null)))};return function(){o=this,r=arguments,f=Date.now();let i=u&&!n;return n||(n=setTimeout(l,t)),i&&(s=e.apply(o,r),o=r=null),s}}function v(e,t,u){let o,r,s,n,f=0;u=u||{};let l=()=>{f=u.leading===!1?0:Date.now(),n=null,s=e.apply(o,r),n||(o=r=null)};return function(){let i=Date.now();!f&&u.leading===!1&&(f=i);let c=t-(i-f);return o=this,r=arguments,c<=0||c>t?(n&&(clearTimeout(n),n=null),f=i,s=e.apply(o,r),n||(o=r=null)):!n&&u.trailing!==!1&&(n=setTimeout(l,c)),s}}export{p as a,m as b,x as c,g as d,d as e,a as f,w as g,y as h,h as i,N as j,b as k,D as l,T as m,E as n,S as o,v as p};
//# sourceMappingURL=chunk.J2M2MXP2.js.map
