import{__exports as r}from"../../../../_virtual/wrapString.mjs";import{__require as e}from"../../../slice-ansi/index.mjs";import{__require as t}from"../../../string-width/index.mjs";var i;function u(){if(i)return r;i=1;var u=r&&r.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(r,"__esModule",{value:!0}),r.wrapString=void 0;const n=u(e()),o=u(t());return r.wrapString=(r,e)=>{let t=r;const i=[];do{i.push((0,n.default)(t,0,e)),t=(0,n.default)(t,e).trim()}while((0,o.default)(t));return i},r}export{u as __require};