import{D as s}from"./dayjs.min-D0T-nrYO.js";import{r as a}from"./PostCard-BkAnZ_5k.js";s.extend(a);const c={install:i=>{i.provide("throttle",function(e,r){let t,n;return function(){let o=this,l=+new Date,u=arguments;t&&l<t+r?(clearTimeout(n),n=setTimeout(function(){t=l,e.apply(o,u)},r)):(t=l,e.apply(o,u))}}),i.provide("debounce",function(e,r){let t;return function(){let n=arguments,o=this;clearTimeout(t),t=setTimeout(function(){e.apply(o,n)},r)}}),i.provide("formatDate",function(e){return s(e).format("DD/MM/YYYY")})}};export{c as H};