File size: 436 Bytes
c0bb696
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/** @format */
const UaJtfh = () => {
  return {
    rows: [],
    init() {
      this.rows = [];
      return this;
    },
    insert(s) {
      this.rows.unshift(s);
      return this;
    },
    append(s) {
      this.rows.push(s);
      return this;
    },
    text(ln = "") {
      return this.rows.join(ln);
    },
    html(ln = "") {
      const h = this.rows.join(ln).replace(/\s+|\[rn\]/g, " ");
      return h;
    },
  };
};