import{d as e}from"./objectSpread2-DtFdQpqy.js";import{a as t,n}from"./preload-helper-EQ20WQt-.js";import{c as r,l as i}from"./prop-types-DdDwMzX7.js";import{ft as a,lt as o}from"./poll-D7UTo6nN.js";import{sn as s}from"./status_quoted-C2Bl8ONr.js";var c=e(t()),l=n(),u=r({load_more:{id:`status.load_more`,defaultMessage:`Load more`}}),d=({disabled:e,param:t,onClick:n})=>{let r=i(),[d,f]=(0,c.useState)(!1);return(0,l.jsx)(`button`,{className:`load-more load-gap`,disabled:e,onClick:(0,c.useCallback)(()=>{f(!0),n(t)},[f,t,n]),"aria-label":r.formatMessage(u.load_more),title:r.formatMessage(u.load_more),type:`button`,children:d?(0,l.jsx)(a,{}):(0,l.jsx)(o,{id:`ellipsis-h`,icon:s})})};export{d as t};
//# sourceMappingURL=load_gap-jv5zeYge.js.map