PageSourceSearch

https://eifel-gold.netlify.app/jspdf.plugin.autotable.min.js

js eifel-gold.netlify.app collected 2026-10-03 10:41:20 UTC 61,540 bytes, 1,728 lines download raw bytes

1/*!
2 *
3 *             jsPDF AutoTable plugin v3.2.11
4 *
5 *             Copyright (c) 2014 Simon Bengtsson, https://github.com/simonbengtsson/jsPDF-AutoTable
6 *             Licensed under the MIT License.
7 *             http://opensource.org/licenses/mit-license
8 *
9 *             * /if (typeof window === 'object') window.jspdfAutoTableVersion = '" + newVersion + "';/*"
10 *
11 */
12!(function(t, e) {
13  if ('object' == typeof exports && 'object' == typeof module)
14    module.exports = e(require('jspdf'))
15  else if ('function' == typeof define && define.amd) define(['jspdf'], e)
16  else {
17    var n = 'object' == typeof exports ? e(require('jspdf')) : e(t.jsPDF)
18    for (var o in n) ('object' == typeof exports ? exports : t)[o] = n[o]
19  }
20})(window, function(n) {
21  return (
22    (i = {}),
23    (r.m = o = [
24      function(t, n, e) {
25        'use strict'
26        Object.defineProperty(n, '__esModule', { value: !0 })
27        var o,
28          r = null,
29          i = null
30        ;(n.globalDefaults = {}),
31          (n.documentDefaults = {}),
32          (n.default = function() {
33            return i
34          }),
35          (n.getGlobalOptions = function() {
36            return n.globalDefaults
37          }),
38          (n.getDocumentOptions = function() {
39            return n.documentDefaults
40          })
41        var l =
42          ((a.prototype.pageHeight = function() {
43            return this.pageSize().height
44          }),
45          (a.prototype.pageWidth = function() {
46            return this.pageSize().width
47          }),
48          (a.prototype.pageSize = function() {
49            var t = this.doc.internal.pageSize
50            return (
51              null == t.width &&
52                (t = { width: t.getWidth(), height: t.getHeight() }),
53              t
54            )
55          }),
56          (a.prototype.scaleFactor = function() {
57            return this.doc.internal.scaleFactor
58          }),
59          (a.prototype.pageNumber = function() {
60            var t = this.doc.internal.getCurrentPageInfo()
61            return t ? t.pageNumber : this.doc.internal.getNumberOfPages()
62          }),
63          a)
64        function a(t) {
65          this.doc = t
66        }
67        ;(n.setupState = function(t) {
68          ;(o = i),
69            (i = new l(t)),
70            t !== r && ((r = t), (n.documentDefaults = {}))
71        }),
72          (n.resetState = function() {
73            i = o
74          }),
75          (n.setDefaults = function(t, e) {
76            void 0 === e && (e = null),
77              e
78                ? ((n.documentDefaults = t || {}), (r = e))
79                : (n.globalDefaults = t || {})
80          })
81      },
82      function(t, e, n) {
83        'use strict'
84        var o =
85          (this && this.__spreadArrays) ||
86          function() {
87            for (var t = 0, e = 0, n = arguments.length; e < n; e++)
88              t += arguments[e].length
89            var o = Array(t),
90              r = 0
91            for (e = 0; e < n; e++)
92              for (var i = arguments[e], l = 0, a = i.length; l < a; l++, r++)
93                o[r] = i[l]
94            return o
95          }
96        Object.defineProperty(e, '__esModule', { value: !0 })
97        var r = n(2),
98          a = n(0),
99          i = n(3)
100        function s(t, e) {
101          d(e)
102          var n = (Array.isArray(t) ? t : [t])
103            .map(function(t) {
104              return a.default().doc.getTextWidth(t)
105            })
106            .map(function(t) {
107              return Math.floor(1e4 * t) / 1e4
108            })
109            .reduce(function(t, e) {
110              return Math.max(t, e)
111            }, 0)
112          e.fontSize, a.default().scaleFactor()
113          return n
114        }
115        function l(t) {
116          var e = 0 < t.lineWidth,
117            n = t.fillColor || 0 === t.fillColor
118          return e && n ? 'DF' : e ? 'S' : !!n && 'F'
119        }
120        function d(o) {
121          var t = a.default().doc,
122            r = {
123              fillColor: t.setFillColor,
124              textColor: t.setTextColor,
125              fontStyle: t.setFontStyle,
126              lineColor: t.setDrawColor,
127              lineWidth: t.setLineWidth,
128              font: t.setFont,
129              fontSize: t.setFontSize,
130            }
131          Object.keys(r).forEach(function(t) {
132            var e = o[t],
133              n = r[t]
134            void 0 !== e && (Array.isArray(e) ? n.apply(this, e) : n(e))
135          })
136        }
137        ;(e.getStringWidth = s),
138          (e.ellipsize = function n(t, o, r, i) {
139            if ((void 0 === i && (i = '...'), Array.isArray(t))) {
140              var l = []
141              return (
142                t.forEach(function(t, e) {
143                  l[e] = n(t, o, r, i)
144                }),
145                l
146              )
147            }
148            var e = 1e4 * a.default().scaleFactor()
149            if ((o = Math.ceil(o * e) / e) >= s(t, r)) return t
150            for (; o < s(t + i, r) && !(t.length <= 1); )
151              t = t.substring(0, t.length - 1)
152            return t.trim() + i
153          }),
154          (e.addTableBorder = function() {
155            var t = a.default().table,
156              e = {
157                lineWidth: t.settings.tableLineWidth,
158                lineColor: t.settings.tableLineColor,
159              }
160            d(e)
161            var n = l(e)
162            n &&
163              a
164                .default()
165                .doc.rect(
166                  t.pageStartX,
167                  t.pageStartY,
168                  t.width,
169                  t.cursor.y - t.pageStartY,
170                  n
171                )
172          }),
173          (e.getFillStyle = l),
174          (e.applyUserStyles = function() {
175            d(a.default().table.userStyles)
176          }),
177          (e.applyStyles = d),
178          (e.marginOrPadding = function(t, e) {
179            var n = {}
180            if (Array.isArray(t))
181              4 <= t.length
182                ? (n = { top: t[0], right: t[1], bottom: t[2], left
182: t[3] })
183                : 3 === t.length
184                ? (n = { top: t[0], right: t[1], bottom: t[2], left: t[1] })
185                : 2 === t.length
186                ? (n = { top: t[0], right: t[1], bottom: t[0], left: t[1] })
187                : (t = 1 === t.length ? t[0] : e)
188            else if ('object' == typeof t) {
189              t.vertical && ((t.top = t.vertical), (t.bottom = t.vertical)),
190                t.horizontal &&
191                  ((t.right = t.horizontal), (t.left = t.horizontal))
192              for (
193                var o = 0, r = ['top', 'right', 'bottom', 'left'];
194                o < r.length;
195                o++
196              ) {
197                var i = r[o]
198                n[i] = t[i] || 0 === t[i] ? t[i] : e
199              }
200            }
201            return (
202              'number' == typeof t &&
203                (n = { top: t, right: t, bottom: t, left: t }),
204              n
205            )
206          }),
207          (e.styles = function(t) {
208            return (
209              (t = Array.isArray(t) ? t : [t]),
210              i.assign.apply(void 0, o([r.defaultStyles()], t))
211            )
212          })
213      },
214      function(t, e, n) {
215        'use strict'
216        Object.defineProperty(e, '__esModule', { value: !0 }),
217          (e.FONT_ROW_RATIO = 1.15)
218        var o = n(0)
219        ;(e.defaultConfig = function() {
220          return {
221            html: null,
222            head: null,
223            body: null,
224            foot: null,
225            includeHiddenHtml: !1,
226            startY: null,
227            margin: 40 / o.default().scaleFactor(),
228            pageBreak: 'auto',
229            rowPageBreak: 'auto',
230            tableWidth: 'auto',
231            showHead: 'everyPage',
232            showFoot: 'everyPage',
233            tableLineWidth: 0,
234            tableLineColor: 200,
235            tableId: null,
236            theme: 'striped',
237            useCss: !1,
238            styles: {},
239            headStyles: {},
240            bodyStyles: {},
241            footStyles: {},
242            alternateRowStyles: {},
243            columnStyles: {},
244            didParseCell: function(t) {},
245            willDrawCell: function(t) {},
246            didDrawCell: function(t) {},
247            didDrawPage: function(t) {},
248          }
249        }),
250          (e.defaultStyles = function() {
251            return {
252              font: 'helvetica',
253              fontStyle: 'normal',
254              overflow: 'linebreak',
255              fillColor: !1,
256              textColor: 20,
257              halign: 'left',
258              valign: 'top',
259              fontSize: 10,
260              cellPadding: 5 / o.default().scaleFactor(),
261              lineColor: 200,
262              lineWidth: 0 / o.default().scaleFactor(),
263              cellWidth: 'auto',
264              minCellHeight: 0,
265            }
266          }),
267          (e.getTheme = function(t) {
268            return {
269              striped: {
270                table: { fillColor: 255, textColor: 80, fontStyle: 'normal' },
271                head: {
272                  textColor: 255,
273                  fillColor: [41, 128, 185],
274                  fontStyle: 'bold',
275                },
276                body: {},
277                foot: {
278                  textColor: 255,
279                  fillColor: [41, 128, 185],
280                  fontStyle: 'bold',
281                },
282                alternateRow: { fillColor: 245 },
283              },
284              grid: {
285                table: {
286                  fillColor: 255,
287                  textColor: 80,
288                  fontStyle: 'normal',
289                  lineWidth: 0.1,
290                },
291                head: {
292                  textColor: 255,
293                  fillColor: [26, 188, 156],
294                  fontStyle: 'bold',
295                  lineWidth: 0,
296                },
297                body: {},
298                foot: {
299                  textColor: 255,
300                  fillColor: [26, 188, 156],
301                  fontStyle: 'bold',
302                  lineWidth: 0,
303                },
304                alternateRow: {},
305              },
306              plain: {
307                head: { fontStyle: 'bold' },
308                foot: { fontStyle: 'bold' },
309              },
310            }[t]
311          })
312      },
313      function(t, e, n) {
314        'use strict'
315        Object.defineProperty(e, '__esModule', { value: !0 }),
316          (e.assign = function(t) {
317            for (var e = [], n = 1; n < arguments.length; n++)
318              e[n - 1] = arguments[n]
319            if (null == t)
320              throw new TypeError('Cannot convert undefined or null to object')
321            for (var o = Object(t), r = 1; r < arguments.length; r++) {
322              var i = arguments[r]
323              if (null != i)
324                for (var l in i)
325                  Object.prototype.hasOwnProperty.call(i, l) && (o[l] = i[l])
326            }
327            return o
328          })
329      },
330      function(t, e, n) {
331        'use strict'
332        Object.defineProperty(e, '__esModule', { value: !0 })
333        var l = n(2),
334          a = n(0),
335          s = n(10),
336          o = n(1),
337          i = n(5),
338          r = function() {
339            ;(this.didParseCell = []),
340              (this.willDrawCell = []),
341              (this.didDrawCell = []),
342              (this.didDrawPage = [])
343          },
344          d =
345            (Object.defineProperty(u.prototype, 'pageCount', {
346              get: function() {
347                return this.pageNumber
348              },
349              enumerable: !0,
350              configurable: !0,
351            }),
352            (u.prototype.allRows = function() {
353              return this.head.concat(this.body).concat(this.foot)
354            }),
355            (u.prototype.callCellHooks = function(t, e, n, o) {
356              for (var r = 0, i = t; r < i.length; r++)
357                if (!1 === (0, i[r])(new s.CellHookData(e, n, o))) return !1
358              return !0
359            }),
360            (u.prototype.callEndPageHooks = function() {
361              o.applyUserStyles()
362              for (var t = 0, e = this.cellHooks.didDrawPage; t < e.length; t++)
363                (0, e[t])(new s.HookData())
364            }),
365            (u.prototype.margin = function(t) {
366              return o.marginOrPadding(
367                this.settings.margin,
368                l.defaultConfig().margin
369              )[t]
370            }),
371            u)
372        function u() {
373          ;(this.columns = []),
374            (this.head = []),
375            (this.body = []),
376            (this.foot = []),
377            (this.height = 0),
378            (this.width = 0),
379            (this.preferredWidth = 0),
380            (this.wrappedWidth = 0),
381            (this.minWidth = 0),
382            (this.headHeight = 0),
383            (this.footHeight = 0),
384            (this.startPageNumber = 1),
385            (this.pageNumber = 1),
386            (this.styles = {
387              styles: {},
388              headStyles: {},
389              bodyStyles: {},
390              footStyles: {},
391              alternateRowStyles: {},
392              columnStyles: {},
393            }),
394            (this.cellHooks = new r())
395        }
396        e.Table = d
397        var c =
398          (Object.defineProperty(h.prototype, 'pageCount', {
399            get: function() {
400              return this.pageNumber
401            },
402            enumerable: !0,
403            configurable: !0,
404          }),
405          (h.prototype.canEntireRowFit = function(t) {
406            return this.maxCellHeight <= t
407          }),
408          (h.prototype.getMinimumRowHeight = function() {
409            var i = this
410            return a.default().table.columns.reduce(function(t, e) {
411              var n = i.cells[e.index]
412              if (!n) return 0
413              var o =
414                  (n.styles.fontSize / a.default().scaleFactor()) *
415                  l.FONT_ROW_RATIO,
416                r = n.padding('vertical') + o
417              return t < r ? r : t
418            }, 0)
419          }),
420          h)
421        function h(t, e, n) {
422          ;(this.cells = {}),
423            (this.height = 0),
424            (this.maxCellHeight = 0),
425            (this.pageNumber = 1),
426            (this.spansMultiplePages = !1),
427            (this.raw = t)._element && (this.raw = t._element),
428            (this.index = e),
429            (this.section = n)
430        }
431        e.Row = c
432        var f =
433          ((g.prototype.getContentHeight = function() {
434            return (
435              (Array.isArray(this.text) ? this.text.length : 1) *
436                ((this.styles.fontSize / a.default().scaleFactor()) *
437                  l.FONT_ROW_RATIO) +
438              this.padding('vertical')
439            )
440          }),
441          (g.prototype.padding = function(t) {
442            var e = o.marginOrPadding(
443              this.styles.cellPadding,
444              o.styles([]).cellPadding
445            )
446            return 'vertical' === t
447              ? e.top + e.bottom
448              : 'horizontal' === t
449              ? e.left + e.right
450              : e[t]
451          }),
452          g)
453        function g(t, e, n) {
454          var o
455          ;(this.contentHeight = 0),
456            (this.contentWidth = 0),
457            (this.wrappedWidth = 0),
458            (this.minWidth = 0),
459            (this.textPos = {}),
460            (this.height = 0),
461            (this.width = 0),
462            (this.rowSpan = (t && t.rowSpan) || 1),
463            (this.colSpan = (t && t.colSpan) || 1),
464            (this.styles = i(e, (t && t.styles) || {})),
465            (this.section = n)
466          var r = t && null != t.content ? t.content : t
467          ;(r = r && null != r.title ? r.title : r),
468            (this.raw = t && t._element ? t._element : t),
469            (o = null != r ? '' + r : '')
470          this.text = o.split(/\r\n|\r|\n/g)
471        }
472        e.Cell = f
473        function p(t, e, n) {
474          ;(this.preferredWidth = 0),
475            (this.minWidth = 0),
476            (this.wrappedWidth = 0),
477            (this.width = 0),
478            (this.dataKey = t),
479            (this.raw = e),
480            (this.index = n)
481        }
482        e.Column = p
483      },
484      function(t, e, n) {
485        'use strict'
486        /*
487object-assign
488(c) Sindre Sorhus
489@license MIT
490*/ var s =
491            Object.getOwnPropertySymbols,
492          d = Object.prototype.hasOwnProperty,
493          u = Object.prototype.propertyIsEnumerable
494        t.exports = (function() {
495          try {
496            if (!Object.assign) return !1
497            var t = new String('abc')
498            if (((t[5] = 'de'), '5' === Object.getOwnPropertyNames(t)[0]))
499              return !1
500            for (var e = {}, n = 0; n < 10; n++)
501              e['_' + String.fromCharCode(n)] = n
502            if (
503              '0123456789' !==
504              Object.getOwnPropertyNames(e)
505                .map(function(t) {
506                  return e[t]
507                })
508                .join('')
509            )
510              return !1
511            var o = {}
512            return (
513              'abcdefghijklmnopqrst'.split('').forEach(function(t) {
514                o[t] = t
515              }),
516              'abcdefghijklmnopqrst' ===
517                Object.keys(Object.assign({}, o)).join('')
518            )
519          } catch (t) {
520            return !1
521          }
522        })()
523          ? Object.assign
524          : function(t, e) {
525              for (
526                var n,
527                  o,
528                  r = (function(t) {
529                    if (null == t)
530                      throw new TypeError(
531                        'Object.assign cannot be called with null or undefined'
532                      )
533                    return Object(t)
534                  })(t),
535                  i = 1;
536                i < arguments.length;
537                i++
538              ) {
539                for (var l in (n = Object(arguments[i])))
540                  d.call(n, l) && (r[l] = n[l])
541                if (s) {
542                  o = s(n)
543                  for (var a = 0; a < o.length; a++)
544                    u.call(n, o[a]) && (r[o[a]] = n[o[a]])
545                }
546              }
547              return r
548            }
549      },
550      function(t, e, n) {
551        'use strict'
552        Object.defineProperty(e, '__esModule', { value: !0 })
553        var f = n(13),
554          g = n(0)
555        function a(t, e, n, o) {
556          var r = []
557          if (!e) return r
558          for (var i = 0; i < e.rows.length; i++) {
559            for (
560              var l = e.rows[i],
561                a = [],
562                s = o
563                  ? f.parseCss(l, g.default().scaleFactor(), [
564                      'cellPadding',
565                      'lineWidth',
566                      'lineColor',
567                    ])
568                  : {},
569                d = 0;
570              d < l.cells.length;
571              d++
572            ) {
573              var u = l.cells[d],
574                c = t.getComputedStyle(u)
575              if (n || 'none' !== c.display) {
576                var h = o ? f.parseCss(u, g.default().scaleFactor()) : {}
577                a.push({
578                  rowSpan: u.rowSpan,
579                  colSpan: u.colSpan,
580                  styles: o ? h : null,
581                  _element: u,
582                  content: p(u),
583                })
584              }
585            }
586            0 < a.length &&
587              (n || 'none' !== s.display) &&
588              ((a._element = l), r.push(a))
589          }
590          return r
591        }
592        function p(t) {
593          var e = t.cloneNode(!0)
594          return (
595            (e.innerHTML = e.innerHTML.replace(/\n/g, '').replace(/ +/g, ' ')),
596            (e.innerHTML = e.innerHTML
597              .split('<br>')
598              .map(function(t) {
599                return t.trim()
600              })
601              .join('\n')),
602            e.innerText || e.textContent || ''
603          )
604        }
605        e.parseHtml = function(t, e, n) {
606          var o
607          if (
608            (void 0 === e && (e = !1),
609            void 0 === n && (n = !1),
610            (o = 'string' == typeof t ? window.document.querySelector(t) : t))
611          ) {
612            for (
613              var r = a(window, o.tHead, e, n), i = [], l = 0;
614              l < o.tBodies.length;
615              l++
616            )
617              i = i.concat(a(window, o.tBodies[l], e, n))
618            return { head: r, body: i, foot: a(window, o.tFoot, e, n) }
619          }
620          console.error('Html table could not be found with input: ', t)
621        }
622      },
623      function(t, e) {
624        t.exports = n
625      },
626      function(t, e, n) {
627        'use strict'
628        Object.defineProperty(e, '__esModule', { value: !0 })
629        var o = n(9),
630          r = n(11),
631          i = n(12),
632          l = n(0)
633        n(15)
634        var a = n(1),
635          s = n(6),
636          d = n(7)
637        ;(d.API.autoTable = function() {
638          for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]
639          l.setupState(this)
640          var n = i.parseInput(t)
641          return (
642            r.calculateWidths(n),
643            o.drawTable(n),
644            (n.finalY = n.cursor.y),
645            (this.previousAutoTable = n),
646            (this.lastAutoTable = n),
647            (this.autoTable.previous = n),
648            a.applyUserStyles(),
649            l.resetState(),
650            this
651          )
652        }),
653          (d.API.lastAutoTable = !1),
654          (d.API.previousAutoTable = !1),
655          (d.API.autoTable.previous = !1),
656          (d.API.autoTableSetDefaults = function(t) {
657            return l.setDefaults(t, this), this
658          }),
659          (d.autoTableSetDefaults = function(t, e) {
660            return l.setDefaults(t, e), this
661          }),
662          (d.API.autoTableHtmlToJson = function(t, e) {
663            if (((e = e || !1), !(t && t instanceof HTMLTableElement)))
664              return (
665                console.error(
666                  'A HTMLTableElement has to be sent to autoTableHtmlToJson'
667                ),
668                null
669              )
670            var n = s.parseHtml(t, e, !1),
671              o = n.head,
672              r = n.body,
673              i = n.foot
674            return { columns: o[0] || r[0] || i[0], rows: r, data: r }
675          }),
676          (d.API.autoTableEndPosY = function() {
677            console.error(
678              'Use of deprecated function: autoTableEndPosY. Use doc.previousAutoTable.finalY instead.'
679            )
680            var t = this.previousAutoTable
681            return t.cursor && 'number' == typeof t.cursor.y ? t.cursor.y : 0
682          }),
683          (d.API.autoTableAddPageContent = function(t) {
684            return (
685              console.error(
686                'Use of deprecated function: autoTableAddPageContent. Use jsPDF.autoTableSetDefaults({didDrawPage: () => {}}) instead.'
687              ),
688              d.API.autoTable.globalDefaults ||
689                (d.API.autoTable.globalDefaults = {}),
690              (d.API.autoTable.globalDefaults.addPageContent = t),
691              this
692            )
693          }),
694          (d.API.autoTableAddPage = function() {
695            return (
696              console.error(
697                'Use of deprecated function: autoTableAddPage. Use doc.addPage()'
698              ),
699              this.addPage(),
700              this
701            )
702          })
703      },
704      function(t, e, n) {
705        'use strict'
706        Object.defineProperty(e, '__esModule', { value: !0 })
707        var m = n(2),
708          a = n(1),
709          v = n(4),
710          b = n(0),
711          w = n(5)
712        function l(t, e, n) {
713          var o,
714            r,
715            i,
716            l,
717            a,
718            s = new v.Row(t.raw, -1, t.section)
719          ;(s.spansMultiplePages = !0),
720            (t.spansMultiplePages = !0),
721            (t.height = 0)
722          for (
723            var d = (t.maxCellHeight = 0), u = n.columns;
724            d < u.length;
725            d++
726          ) {
727            var c = u[d]
728            if ((y = t.cells[c.index])) {
729              Array.isArray(y.text) || (y.text = [y.text])
730              var h = new v.Cell(y.raw, {}, y.section)
731              ;((h = w(h, y)).textPos = w({}, y.textPos)), (h.text = [])
732              var f =
733                ((r = e),
734                void 0,
735                (i =
736                  ((o = y).styles.fontSize / b.default().scaleFactor()) *
737                  m.FONT_ROW_RATIO),
738                (l = o.padding('vertical')),
739                (a = Math.floor((r - l) / i)),
740                Math.max(0, a))
741              y.text.length > f && (h.text = y.text.splice(f, y.text.length)),
742                (y.contentHeight = y.getContentHeight()),
743                y.contentHeight > t.height &&
744                  ((t.height = y.contentHeight),
745                  (t.maxCellHeight = y.contentHeight)),
746                (h.contentHeight = h.getContentHeight()),
747                h.contentHeight > s.height &&
748                  ((s.height = h.contentHeight),
749                  (s.maxCellHeight = h.contentHeight)),
750                (s.cells[c.index] = h)
751            }
752          }
753          for (var g = 0, p = n.columns; g < p.length; g++) {
754            var y
755            c = p[g]
756            ;(h = s.cells[c.index]) && (h.height = s.height),
757              (y = t.cells[c.index]) && (y.height = t.height)
758          }
759          return s
760        }
761        function s(n, t, e) {
762          var o =
763              b.default().pageHeight() - (e.margin('top') - e.margin('bottom')),
764            r = n.getMinimumRowHeight() < t
765          if (n.getMinimumRowHeight() > o)
766            return (
767              console.error(
768                'Will not be able to print row ' +
769                  n.index +
770                  " correctly since it's minimum height is larger than page height"
771              ),
772              !0
773            )
774          var i =
775            0 <
776            e.columns.filter(function(t) {
777              var e = n.cells[t.index]
778              return !!e && 1 < e.rowSpan
779            }).length
780          return (
781            r &&
782            (n.maxCellHeight > o
783              ? (i &&
784                  console.error(
785                    'The content of row ' +
786                      n.index +
787                      ' will not be drawn correctly since drawing rows with a height larger than the page height and has cells with rowspans is not supported.'
788                  ),
789                !0)
790              : !i && 'avoid' !== e.settings.rowPageBreak)
791          )
792        }
793        function d(t) {
794          var e = b.default().table
795          ;(e.cursor.x = e.margin('left')),
796            (t.y = e.cursor.y),
797            (t.x = e.cursor.x)
798          for (var n = 0, o = e.columns; n < o.length; n++) {
799            var r = o[n],
800              i = t.cells[r.index]
801            if (i)
802              if (
803                (a.applyStyles(i.styles),
804                (i.x = e.cursor.x),
805                (i.y = t.y),
806                'top' === i.styles.valign
807                  ? (i.textPos.y = e.cursor.y + i.padding('top'))
808                  : 'bottom' === i.styles.valign
809                  ? (i.textPos.y = e.cursor.y + i.height - i.padding('bottom'))
810                  : (i.textPos.y = e.cursor.y + i.height / 2),
811                'right' === i.styles.halign
812                  ? (i.textPos.x = i.x + i.width - i.padding('right'))
813                  : 'center' === i.styles.halign
814                  ? (i.textPos.x = i.x + i.width / 2)
815                  : (i.textPos.x = i.x + i.padding('left')),
816                !1 !== e.callCellHooks(e.cellHooks.willDrawCell, i, t, r))
817              ) {
818                var l = a.getFillStyle(i.styles)
819                l &&
820                  b.default().doc.rect(i.x, e.cursor.y, i.width, i.height, l),
821                  b
822                    .default()
823                    .doc.autoTableText(i.text, i.textPos.x, i.textPos.y, {
824                      halign: i.styles.halign,
825                      valign: i.styles.valign,
826                      maxWidth: Math.ceil(
827                        i.width - i.padding('left') - i.padding('right')
828                      ),
829                    }),
830                  e.callCellHooks(e.cellHooks.didDrawCell, i, t, r),
831                  (e.cursor.x += r.width)
832              } else e.cursor.x += r.width
833            else e.cursor.x += r.width
834          }
835          e.cursor.y += t.height
836        }
837        function u(t) {
838          var e = b.default().table,
839            n = e.margin('bottom'),
840            o = e.settings.showFoot
841          return (
842            (!0 === o || 'everyPage' === o || ('lastPage' === o && t)) &&
843              (n += e.footHeight),
844            b.default().pageHeight() - e.cursor.y - n
845          )
846        }
847        function c() {
848          var t = b.default().table
849          a.applyUserStyles(),
850            (!0 !== t.settings.showFoot &&
851              'everyPage' !== t.settings.showFoot) ||
852              t.foot.forEach(function(t) {
853                return d(t)
854              }),
855            (t.finalY = t.cursor.y),
856            t.callEndPageHooks(),
857            a.addTableBorder(),
858            o(b.default().doc),
859            t.pageNumber++,
860            (t.cursor = { x: t.margin('left'), y: t.margin('top') }),
861            (t.pageStartX = t.cursor.x),
862            (t.pageStartY = t.cursor.y),
863            (!0 !== t.settings.showHead &&
864              'everyPage' !== t.settings.showHead) ||
865              t.head.forEach(function(t) {
866                return d(t)
867              })
868        }
869        function o(t) {
870          var e = b.default().pageNumber()
871          t.setPage(e + 1), b.default().pageNumber() === e && t.addPage()
872        }
873        ;(e.drawTable = function(n) {
874          var t = n.settings
875          n.cursor = {
876            x: n.margin('left'),
877            y: null == t.startY ? n.margin('top') : t.startY,
878          }
879          var e = t.startY + n.margin('bottom') + n.headHeight + n.footHeight
880          'avoid' === t.pageBreak && (e += n.height),
881            ('always' === t.pageBreak ||
882              (null != t.startY &&
883                !1 !== t.startY &&
884                e > b.default().pageHeight())) &&
885              (o(b.default().doc), (n.cursor.y = n.margin('top'))),
886            (n.pageStartX = n.cursor.x),
887            (n.pageStartY = n.cursor.y),
888            (n.startPageNumber = b.default().pageNumber()),
889            a.applyUserStyles(),
890            (!0 !== t.showHead &&
891              'firstPage' !== t.showHead &&
892              'everyPage' !== t.showHead) ||
893              n.head.forEach(function(t) {
894                return d(t)
895              }),
896            a.applyUserStyles(),
897            n.body.forEach(function(t, e) {
898              !(function t(e, n) {
899                var o = b.default().table
900                var r = u(n)
901                if (e.canEntireRowFit(r)) d(e)
902                else if (s(e, r, o)) {
903                  var i = l(e, r, o)
904                  d(e), c(), t(i, n)
905                } else c(), t(e, n)
906              })(t, e === n.body.length - 1)
907            }),
908            a.applyUserStyles(),
909            (!0 !== t.showFoot &&
910              'lastPage' !== t.showFoot &&
911              'everyPage' !== t.showFoot) ||
912              n.foot.forEach(function(t) {
913                return d(t)
914              }),
915            a.addTableBorder(),
916            n.callEndPageHooks()
917        }),
918          (e.addPage = c)
919      },
920      function(t, e, n) {
921        'use strict'
922        var o,
923          r =
924            (this && this.__extends) ||
925            ((o = function(t, e) {
926              return (o =
927                Object.setPrototypeOf ||
928                ({ __proto__: [] } instanceof Array &&
929                  function(t, e) {
930                    t.__proto__ = e
931                  }) ||
932                function(t, e) {
933                  for (var n in e) e.hasOwnProperty(n) && (t[n] = e[n])
934                })(t, e)
935            }),
936            function(t, e) {
937              function n() {
938                this.constructor = t
939              }
940              o(t, e),
941                (t.prototype =
942                  null === e
943                    ? Object.create(e)
944                    : ((n.prototype = e.prototype), new n()))
945            })
946        Object.defineProperty(e, '__esModule', { value: !0 })
947        var i = n(0),
948          l =
949            (Object.defineProperty(a.prototype, 'pageCount', {
950              get: function() {
951                return this.pageNumber
952              },
953              enumerable: !0,
954              configurable: !0,
955            }),
956            a)
957        function a() {
958          var t = i.default().table
959          ;(this.table = t),
960            (this.pageNumber = t.pageNumber),
961            (this.settings = t.settings),
962            (this.cursor = t.cursor),
963            (this.doc = i.default().doc)
964        }
965        e.HookData = l
966        var s,
967          d = (r(u, (s = l)), u)
968        function u(t, e, n) {
969          var o = s.call(this) || this
970          return (
971            (o.cell = t),
972            (o.row = e),
973            (o.column = n),
974            (o.section = e.section),
975            o
976          )
977        }
978        e.CellHookData = d
979      },
980      function(t, e, n) {
981        'use strict'
982        Object.defineProperty(e, '__esModule', { value: !0 })
983        var c = n(1),
984          p = n(0)
985        e.calculateWidths = function(t) {
986          ;(10 / p.default().scaleFactor()) * t.columns.length > t.width
987            ? console.error('Columns could not fit on page')
988            : t.minWidth > t.width &&
989              console.error("Column widths too wide and can't fit page"),
990            (function t(e, n, o) {
991              var r = n - o
992              for (var i = 0; i < e.length; i++) {
993                for (
994                  var l = e[i],
995                    a = l.wrappedWidth / o,
996                    s = r * a,
997                    d = l.wrappedWidth + s,
998                    u = !1,
999                    c = 0,
1000                    h = p.default().table.allRows();
1001                  c < h.length;
1002                  c++
1003                ) {
1004                  var f = h[c],
1005                    g = f.cells[l.index]
1006                  if (g && 'number' == typeof g.styles.cellWidth) {
1007                    u = !0
1008                    break
1009                  }
1010                }
1011                if (d < l.minWidth || u) {
1012                  ;(l.width = l.minWidth + 1 / p.default().scaleFactor()),
1013                    (o -= l.wrappedWidth),
1014                    (n -= l.width),
1015                    e.splice(i, 1),
1016                    t(e, n, o)
1017                  break
1018                }
1019                l.width = d
1020              }
1021            })(t.columns.slice(0), t.width, t.wrappedWidth),
1022            (function(t) {
1023              for (var e = t.allRows(), n = 0; n < e.length; n++)
1024                for (
1025                  var o = e[n], r = null, i = 0, l = 0, a = 0;
1026                  a < t.columns.length;
1027                  a++
1028                ) {
1029                  var s = t.columns[a],
1030                    d = null
1031                  if (1 < (l -= 1) && t.columns[a + 1])
1032                    (i += s.width), delete o.cells[s.index]
1033                  else {
1034                    if (r) (d = r), delete o.cells[s.index], (r = null)
1035                    else {
1036                      if (!(d = o.cells[s.index])) continue
1037                      if (((l = d.colSpan), (i = 0), 1 < d.colSpan)) {
1038                        ;(r = d), (i += s.width)
1039                        continue
1040                      }
1041                    }
1042                    d.width = s.width + i
1043                  }
1044                }
1045            })(t),
1046            (function(t) {
1047              for (
1048                var e = { count: 0, height: 0 }, n = 0, o = t.allRows();
1049                n < o.length;
1050                n++
1051              ) {
1052                for (var r = o[n], i = 0, l = t.columns; i < l.length; i++) {
1053                  var a = l[i],
1054                    s = r.cells[a.index]
1055                  if (s) {
1056                    c.applyStyles(s.styles)
1057                    var d = s.width - s.padding('horizontal')
1058                    'linebreak' === s.styles.overflow
1059                      ? (s.text = p
1060                          .default()
1061                          .doc.splitTextToSize(
1062                            s.text,
1063                            d + 1 / (p.default().scaleFactor() || 1),
1064                            { fontSize: s.styles.fontSize }
1065                          ))
1066                      : 'ellipsize' === s.styles.overflow
1067                      ? (s.text = c.ellipsize(s.text, d, s.styles))
1068                      : 'hidden' === s.styles.overflow
1069                      ? (s.text = c.ellipsize(s.text, d, s.styles, ''))
1070                      : 'function' == typeof s.styles.overflow &&
1071                        (s.text = s.styles.overflow(s.text, d)),
1072                      (s.contentHeight = s.getContentHeight()),
1073                      s.styles.minCellHeight > s.contentHeight &&
1074                        (s.contentHeight = s.styles.minCellHeight)
1075                    var u = s.contentHeight / s.rowSpan
1076                    1 < s.rowSpan && e.count * e.height < u * s.rowSpan
1077                      ? (e = { height: u, count: s.rowSpan })
1078                      : e && 0 < e.count && e.height > u && (u = e.height),
1079                      u > r.height && ((r.height = u), (r.maxCellHeight = u))
1080                  }
1081                }
1082                e.count--
1083              }
1084            })(t),
1085            (function(t) {
1086              for (
1087                var e = {}, n = 1, o = t.allRows(), r = 0;
1088                r < o.length;
1089                r++
1090              ) {
1091                for (var i = o[r], l = 0, a = t.columns; l < a.length; l++) {
1092                  var s = a[l],
1093                    d = e[s.index]
1094                  if (1 < n) n--, delete i.cells[s.index]
1095                  else if (d)
1096                    (d.cell.height += i.height),
1097                      d.cell.height > i.maxCellHeight &&
1098                        (d.row.maxCellHeight = d.cell.height),
1099                      (n = d.cell.colSpan),
1100                      delete i.cells[s.index],
1101                      d.left--,
1102                      d.left <= 1 && delete e[s.index]
1103                  else {
1104                    var u = i.cells[s.index]
1105                    if (!u) continue
1106                    if (((u.height = i.height), 1 < u.rowSpan)) {
1107                      var c = o.length - r,
1108                        h = u.rowSpan > c ? c : u.rowSpan
1109                      e[s.index] = { cell: u, left: h, row: i }
1110                    }
1111                  }
1112                }
1113                'head' === i.section && (t.headHeight += i.maxCellHeight),
1114                  'foot' === i.section && (t.footHeight += i.maxCellHeight),
1115                  (t.height += i.height)
1116              }
1117            })(t)
1118        }
1119      },
1120      function(t, e, n) {
1121        'use strict'
1122        var C =
1123          (this && this.__spreadArrays) ||
1124          function() {
1125            for (var t = 0, e = 0, n = arguments.length; e < n; e++)
1126              t += arguments[e].length
1127            var o = Array(t),
1128              r = 0
1129            for (e = 0; e < n; e++)
1130              for (var i = arguments[e], l = 0, a = i.length; l < a; l++, r++)
1131                o[r] = i[l]
1132            return o
1133          }
1134        Object.defineProperty(e, '__esModule', { value: !0 })
1135        var W = n(4),
1136          H = n(2),
1137          m = n(6),
1138          O = n(3),
1139          v = n(1),
1140          T = n(0),
1141          b = n(14)
1142        e.parseInput = function(t) {
1143          var e = (function(t) {
1144              {
1145                if (1 === t.length) return t[0]
1146                var e = t[2] || {}
1147                return (
1148                  (e.body = t[1]),
1149                  (e.columns = t[0]),
1150                  e.columns.forEach(function(t) {
1151                    'object' == typeof t &&
1152                      null == t.header &&
1153                      (t.header = t.title)
1154                  }),
1155                  e
1156                )
1157              }
1158            })(t),
1159            n = [T.getGlobalOptions(), T.getDocumentOptions(), e]
1160          b.default(n)
1161          var o = new W.Table()
1162          ;(T.default().table = o).id = e.tableId
1163          var r = T.default().doc
1164          o.userStyles = {
1165            textColor: r.getTextColor ? r.getTextColor() : 0,
1166            fontSize: r.internal.getFontSize(),
1167            fontStyle: r.internal.getFont().fontStyle,
1168            font: r.internal.getFont().fontName,
1169          }
1170          for (
1171            var i = function(e) {
1172                var t = n.map(function(t) {
1173                  return t[e] || {}
1174                })
1175                o.styles[e] = O.assign.apply(void 0, C([{}], t))
1176              },
1177              l = 0,
1178              a = Object.keys(o.styles);
1179            l < a.length;
1180            l++
1181          ) {
1182            i(a[l])
1183          }
1184          for (var s = 0, d = n; s < d.length; s++)
1185            for (
1186              var u = d[s], c = 0, h = Object.keys(o.cellHooks);
1187              c < h.length;
1188              c++
1189            ) {
1190              var f = h[c]
1191              u && 'function' == typeof u[f] && o.cellHooks[f].push(u[f])
1192            }
1193          ;
1193(o.settings = O.assign.apply(void 0, C([{}, H.defaultConfig()], n))),
1194            (o.settings.margin = v.marginOrPadding(
1195              o.settings.margin,
1196              H.defaultConfig().margin
1197            )),
1198            'auto' === o.settings.theme &&
1199              (o.settings.theme = o.settings.useCss ? 'plain' : 'striped'),
1200            !1 === o.settings.startY && delete o.settings.startY
1201          var g = T.default().doc.previousAutoTable,
1202            p =
1203              g &&
1204              g.startPageNumber + g.pageNumber - 1 === T.default().pageNumber()
1205          null == o.settings.startY &&
1206            p &&
1207            (o.settings.startY = g.finalY + 20 / T.default().scaleFactor())
1208          var y = {}
1209          return (
1210            o.settings.html &&
1211              (y =
1212                m.parseHtml(
1213                  o.settings.html,
1214                  o.settings.includeHiddenHtml,
1215                  o.settings.useCss
1216                ) || {}),
1217            (o.settings.head = y.head || o.settings.head || []),
1218            (o.settings.body = y.body || o.settings.body || []),
1219            (o.settings.foot = y.foot || o.settings.foot || []),
1220            (function(P) {
1221              var n = P.settings
1222              P.columns = (function(t) {
1223                {
1224                  if (t.columns)
1225                    return t.columns.map(function(t, e) {
1226                      var n = t.dataKey || t.key || e
1227                      return new W.Column(n, t, e)
1228                    })
1229                  var r = t.head[0] || t.body[0] || t.foot[0] || [],
1230                    i = []
1231                  return (
1232                    Object.keys(r)
1233                      .filter(function(t) {
1234                        return '_element' !== t
1235                      })
1236                      .forEach(function(t) {
1237                        for (
1238                          var e = r[t] && r[t].colSpan ? r[t].colSpan : 1,
1239                            n = 0;
1240                          n < e;
1241                          n++
1242                        ) {
1243                          var o = void 0
1244                          ;(o = Array.isArray(r)
1245                            ? i.length
1246                            : t + (0 < n ? '_' + n : '')),
1247                            i.push(new W.Column(o, o, i.length))
1248                        }
1249                      }),
1250                    i
1251                  )
1252                }
1253              })(n)
1254              for (
1255                var t = function(x) {
1256                    var S = {},
1257                      t = n[x]
1258                    if (0 === t.length && n.columns && 'body' !== x) {
1259                      var e = (function(t, o) {
1260                        var r = {}
1261                        return (
1262                          t.columns.forEach(function(t) {
1263                            var e = t.raw
1264                            if ('head' === o) {
1265                              var n = e && e.header ? e.header : e
1266                              n && (r[t.dataKey] = n)
1267                            } else 'foot' === o && e.footer && (r[t.dataKey] = e.footer)
1268                          }),
1269                          0 < Object.keys(r).length ? r : null
1270                        )
1271                      })(P, x)
1272                      e && t.push(e)
1273                    }
1274                    t.forEach(function(t, e) {
1275                      var n = 0,
1276                        o = new W.Row(t, e, x)
1277                      P[x].push(o)
1278                      for (
1279                        var r,
1280                          i,
1281                          l,
1282                          a,
1283                          s,
1284                          d,
1285                          u,
1286                          c,
1287                          h,
1288                          f = 0,
1289                          g = 0,
1290                          p = 0,
1291                          y = P.columns;
1292                        p < y.length;
1293                        p++
1294                      ) {
1295                        var m = y[p]
1296                        if (null == S[m.index] || 0 === S[m.index].left)
1297                          if (0 === g) {
1298                            var v = void 0
1299                            v = Array.isArray(t)
1300                              ? t[m.index - f - n]
1301                              : t[m.dataKey]
1302                            var b =
1303                                ((r = x),
1304                                (i = m),
1305                                (l = e),
1306                                void 0,
1307                                (a = T.default().table),
1308                                (s = H.getTheme(a.settings.theme)),
1309                                (d = [
1310                                  s.table,
1311                                  s[r],
1312                                  a.styles.styles,
1313                                  a.styles[r + 'Styles'],
1314                                ]),
1315                                (u =
1316                                  a.styles.columnStyles[i.dataKey] ||
1317                                  a.styles.columnStyles[i.index] ||
1318                                  {}),
1319                                (c = 'body' === r ? u : {}),
1320                                (h =
1321                                  'body' === r && l % 2 == 0
1322                                    ? O.assign(
1323                                        {},
1324                                        s.alternateRow,
1325                                        a.styles.alternateRowStyles
1326                                      )
1327                                    : {}),
1328                                O.assign.apply(
1329                                  void 0,
1330                                  C([H.defaultStyles()], C(d, [h, c]))
1331                                )),
1332                              w = new W.Cell(v, b, x)
1333                            ;
1333(o.cells[m.dataKey] = w),
1334                              (g = (o.cells[m.index] = w).colSpan - 1),
1335                              (S[m.index] = { left: w.rowSpan - 1, times: g })
1336                          } else g--, f++
1337                        else S[m.index].left--, (g = S[m.index].times), n++
1338                      }
1339                    })
1340                  },
1341                  e = 0,
1342                  o = ['head', 'body', 'foot'];
1343                e < o.length;
1344                e++
1345              ) {
1346                t(o[e])
1347              }
1348              P.allRows().forEach(function(t) {
1349                for (var e = 0, n = P.columns; e < n.length; e++) {
1350                  var o = n[e],
1351                    r = t.cells[o.index]
1352                  if (r)
1353                    if (
1354                      (P.callCellHooks(P.cellHooks.didParseCell, r, t, o),
1355                      (r.contentWidth =
1356                        r.padding('horizontal') +
1357                        v.getStringWidth(r.text, r.styles)),
1358                      'number' == typeof r.styles.cellWidth)
1359                    )
1360                      (r.minWidth = r.styles.cellWidth),
1361                        (r.wrappedWidth = r.styles.cellWidth)
1362                    else if ('wrap' === r.styles.cellWidth)
1363                      (r.minWidth = r.contentWidth),
1364                        (r.wrappedWidth = r.contentWidth)
1365                    else {
1366                      var i = 10 / T.default().scaleFactor()
1367                      ;(r.minWidth = r.styles.minCellWidth || i),
1368                        (r.wrappedWidth = r.contentWidth),
1369                        r.minWidth > r.wrappedWidth &&
1370                          (r.wrappedWidth = r.minWidth)
1371                    }
1372                }
1373              }),
1374                P.allRows().forEach(function(t) {
1375                  for (var e = 0, n = P.columns; e < n.length; e++) {
1376                    var o = n[e],
1377                      r = t.cells[o.index]
1378                    if (r && 1 === r.colSpan)
1379                      r.wrappedWidth > o.wrappedWidth &&
1380                        (o.wrappedWidth = r.wrappedWidth),
1381                        r.minWidth > o.minWidth && (o.minWidth = r.minWidth)
1382                    else {
1383                      var i = (
1384                        P.styles.columnStyles[o.dataKey] ||
1385                        P.styles.columnStyles[o.index] ||
1386                        {}
1387                      ).cellWidth
1388                      i &&
1389                        'number' == typeof i &&
1390                        ((o.minWidth = i), (o.wrappedWidth = i))
1391                    }
1392                    r &&
1393                      (1 < r.colSpan &&
1394                        !o.minWidth &&
1395                        (o.minWidth = r.minWidth),
1396                      1 < r.colSpan &&
1397                        !o.wrappedWidth &&
1398                        (o.wrappedWidth = r.minWidth),
1399                      P.callCellHooks(P.cellHooks.didParseCell, r, t, o))
1400                  }
1401                })
1402            })(o),
1403            (o.minWidth = o.columns.reduce(function(t, e) {
1404              return t + e.minWidth
1405            }, 0)),
1406            (o.wrappedWidth = o.columns.reduce(function(t, e) {
1407              return t + e.wrappedWidth
1408            }, 0)),
1409            'number' == typeof o.settings.tableWidth
1410              ? (o.width = o.settings.tableWidth)
1411              : 'wrap' === o.settings.tableWidth
1412              ? (o.width = o.wrappedWidth)
1413              : (o.width =
1414                  T.default().pageWidth() -
1415                  o.margin('left') -
1416                  o.margin('right')),
1417            o
1418          )
1419        }
1420      },
1421      function(t, e, n) {
1422        'use strict'
1423        Object.defineProperty(e, '__esModule', { value: !0 })
1424        var a = n(1),
1425          s = n(0)
1426        function d(t, e) {
1427          var n = (function t(e, n) {
1428            if (!e) return null
1429            var o = window.getComputedStyle(e)[n]
1430            return 'rgba(0, 0, 0, 0)' === o ||
1431              'transparent' === o ||
1432              'initial' === o ||
1433              'inherit' === o
1434              ? t(e.parentElement, n)
1435              : o
1436          })(t, e)
1437          if (!n) return null
1438          var o = n.match(
1439            /^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d*\.?\d*))?\)$/
1440          )
1441          if (!o || !Array.isArray(o)) return null
1442          var r = [parseInt(o[1]), parseInt(o[2]), parseInt(o[3])]
1443          return 0 === parseInt(o[4]) ||
1444            isNaN(r[0]) ||
1445            isNaN(r[1]) ||
1446            isNaN(r[2])
1447            ? null
1448            : r
1449        }
1450        e.parseCss = function(t, e, o) {
1451          void 0 === o && (o = [])
1452          var r = {},
1453            n = window.getComputedStyle(t)
1454          function i(t, e, n) {
1455            void 0 === n && (n = []),
1456              (0 !== n.length && -1 === n.indexOf(e)) ||
1457                -1 !== o.indexOf(t) ||
1458                (0 !== e && !e) ||
1459                (r[t] = e)
1460          }
1461          i('fillColor', d(t, 'backgroundColor')),
1462            i(
1463              'fontStyle',
1464              (function(t) {
1465                var e = ''
1466                ;('bold' === t.fontWeight ||
1467                  'bolder' === t.fontWeight ||
1468                  700 <= parseInt(t.fontWeight)) &&
1469                  (e += 'bold')
1470                ;('italic' !== t.fontStyle && 'oblique' !== t.fontStyle) ||
1471                  (e += 'italic')
1472                return e
1473              })(n)
1474            ),
1475            i('textColor', d(t, 'color')),
1476            i('halign', n.textAlign, ['left', 'right', 'center', 'justify']),
1477            i('valign', n.verticalAlign, ['middle', 'bottom', 'top']),
1478            i('fontSize', parseInt(n.fontSize || '') / (96 / 72)),
1479            i(
1480              'cellPadding',
1481              (function(t, e, n, o) {
1482                if (!t) return null
1483                var r = 96 / (72 / o),
1484                  i = (parseInt(n) - parseInt(e)) / o / 2,
1485                  l = t.split(' ').map(function(t) {
1486                    return parseInt(t) / r
1487                  })
1488                ;
1488(l = a.marginOrPadding(l, 0)), i > l.top && (l.top = i)
1489                i > l.bottom && (l.bottom = i)
1490                return l
1491              })(n.padding, n.fontSize, n.lineHeight, e)
1492            ),
1493            i('lineWidth', parseInt(n.borderTopWidth || '') / (96 / 72) / e),
1494            i('lineColor', d(t, 'borderTopColor'))
1495          var l = (n.fontFamily || '').toLowerCase()
1496          return s.default().doc.getFontList()[l] && i('font', l), r
1497        }
1498      },
1499      function(t, e, n) {
1500        'use strict'
1501        Object.defineProperty(e, '__esModule', { value: !0 })
1502        var l = n(1)
1503        function a(t) {
1504          t.rowHeight
1505            ? (console.error(
1506                'Use of deprecated style rowHeight. It is renamed to minCellHeight.'
1507              ),
1508              t.minCellHeight || (t.minCellHeight = t.rowHeight))
1509            : t.columnWidth &&
1510              (console.error(
1511                'Use of deprecated style columnWidth. It is renamed to cellWidth.'
1512              ),
1513              t.cellWidth || (t.cellWidth = t.columnWidth))
1514        }
1515        e.default = function(t) {
1516          for (
1517            var e = function(o) {
1518                o &&
1519                  'object' != typeof o &&
1520                  console.error(
1521                    'The options parameter should be of type object, is: ' +
1522                      typeof o
1523                  ),
1524                  void 0 !== o.extendWidth &&
1525                    ((o.tableWidth = o.extendWidth ? 'auto' : 'wrap'),
1526                    console.error(
1527                      'Use of deprecated option: extendWidth, use tableWidth instead.'
1528                    )),
1529                  void 0 !== o.margins &&
1530                    (void 0 === o.margin && (o.margin = o.margins),
1531                    console.error(
1532                      'Use of deprecated option: margins, use margin instead.'
1533                    )),
1534                  o.startY &&
1535                    'number' != typeof o.startY &&
1536                    (console.error('Invalid value for startY option', o.startY),
1537                    delete o.startY),
1538                  !o.didDrawPage &&
1539                    (o.afterPageContent ||
1540                      o.beforePageContent ||
1541                      o.afterPageAdd) &&
1542                    (console.error(
1543                      'The afterPageContent, beforePageContent and afterPageAdd hooks are deprecated. Use didDrawPage instead'
1544                    ),
1545                    (o.didDrawPage = function(t) {
1546                      l.applyUserStyles(),
1547                        o.beforePageContent && o.beforePageContent(t),
1548                        l.applyUserStyles(),
1549                        o.afterPageContent && o.afterPageContent(t),
1550                        l.applyUserStyles(),
1551                        o.afterPageAdd && 1 < t.pageNumber && t.afterPageAdd(t),
1552                        l.applyUserStyles()
1553                    })),
1554                  [
1555                    'createdHeaderCell',
1556                    'drawHeaderRow',
1557                    'drawRow',
1558                    'drawHeaderCell',
1559                  ].forEach(function(t) {
1560                    o[t] &&
1561                      console.error(
1562                        'The "' +
1563                          t +
1564                          '" hook has changed in version 3.0, check the changelog for how to migrate.'
1565                      )
1566                  }),
1567                  [
1568                    ['showFoot', 'showFooter'],
1569                    ['showHead', 'showHeader'],
1570                    ['didDrawPage', 'addPageContent'],
1571                    ['didParseCell', 'createdCell'],
1572                    ['headStyles', 'headerStyles'],
1573                  ].forEach(function(t) {
1574                    var e = t[0],
1575                      n = t[1]
1576                    o[n] &&
1577                      (console.error(
1578                        'Use of deprecated option ' +
1579                          n +
1580                          '. Use ' +
1581                          e +
1582                          ' instead'
1583                      ),
1584                      (o[e] = o[n]))
1585                  }),
1586                  [
1587                    ['padding', 'cellPadding'],
1588                    ['lineHeight', 'rowHeight'],
1589                    'fontSize',
1590                    'overflow',
1591                  ].forEach(function(t) {
1592                    var e = 'string' == typeof t ? t : t[0],
1593                      n = 'string' == typeof t ? t : t[1]
1594                    void 0 !== o[e] &&
1595                      (void 0 === o.styles[n] && (o.styles[n] = o[e]),
1596                      console.error(
1597                        'Use of deprecated option: ' +
1598                          e +
1599                          ', use the style ' +
1600                          n +
1601                          ' instead.'
1602                      ))
1603                  })
1604                for (
1605                  var t = 0,
1606                    e = ['styles', 'bodyStyles', 'headStyles', 'footStyles'];
1607                  t < e.length;
1608                  t++
1609                ) {
1610                  a(o[e[t]] || {})
1611                }
1612                for (
1613                  var n = o.columnStyles || {}, r = 0, i = Object.keys(n);
1614                  r < i.length;
1615                  r++
1616                ) {
1617                  a(n[i[r]] || {})
1618                }
1619              },
1620              n = 0,
1621              o = t;
1622            n < o.length;
1623            n++
1624          ) {
1625            e(o[n])
1626          }
1627        }
1628      },
1629      function(t, e, n) {
1630        n(7).API.autoTableText = function(t, e, n, o) {
1631          o = o || {}
1632          ;('number' == typeof e && 'number' == typeof n) ||
1633            console.error(
1634              'The x and y parameters are required. Missing for text: ',
1635              t
1636            )
1637          var r = this.internal.scaleFactor,
1638            i = this.internal.getFontSize() / r,
1639            l = null,
1640            a = 1
1641          if (
1642            (('middle' !== o.valign &&
1643              'bottom' !== o.valign &&
1644              'center' !== o.halign &&
1645              'right' !== o.halign) ||
1646              (a =
1647                (l = 'string' == typeof t ? t.split(/\r\n|\r|\n/g) : t)
1648                  .length || 1),
1649            (n += i * (2 - 1.15)),
1650            'middle' === o.valign
1651              ? (n -= (a / 2) * i * 1.15)
1652              : 'bottom' === o.valign && (n -= a * i * 1.15),
1653            'center' === o.halign || 'right' === o.halign)
1654          ) {
1655            var s = i
1656            if (('center' === o.halign && (s *= 0.5), 1 <= a)) {
1657              for (var d = 0; d < l.length; d++)
1658                this.text(l[d], e - this.getStringUnitWidth(l[d]) * s, n),
1659                  (n += 1.15 * i)
1660              return this
1661            }
1662            e -= this.getStringUnitWidth(t) * s
1663          }
1664          return (
1665            'justify' === o.halign
1666              ? this.text(t, e, n, {
1667                  maxWidth: o.maxWidth || 100,
1668                  align: 'justify',
1669                })
1670              : this.text(t, e, n),
1671            this
1672          )
1673        }
1674      },
1675    ]),
1676    (r.c = i),
1677    (r.d = function(t, e, n) {
1678      r.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: n })
1679    }),
1680    (r.r = function(t) {
1681      'undefined' != typeof Symbol &&
1682        Symbol.toStringTag &&
1683        Object.defineProperty(t, Symbol.toStringTag, { value: 'Module' }),
1684        Object.defineProperty(t, '__esModule', { value: !0 })
1685    }),
1686    (r.t = function(e, t) {
1687      if ((1 & t && (e = r(e)), 8 & t)) return e
1688      if (4 & t && 'object' == typeof e && e && e.__esModule) return e
1689      var n = Object.create(null)
1690      if (
1691        (r.r(n),
1692        Object.defineProperty(n, 'default', { enumerable: !0, value: e }),
1693        2 & t && 'string' != typeof e)
1694      )
1695        for (var o in e)
1696          r.d(
1697            n,
1698            o,
1699            function(t) {
1700              return e[t]
1701            }.bind(null, o)
1702          )
1703      return n
1704    }),
1705    (r.n = function(t) {
1706      var e =
1707        t && t.__esModule
1708          ? function() {
1709              return t.default
1710            }
1711          : function() {
1712              return t
1713            }
1714      return r.d(e, 'a', e), e
1715    }),
1716    (r.o = function(t, e) {
1717      return Object.prototype.hasOwnProperty.call(t, e)
1718    }),
1719    (r.p = ''),
1720    r((r.s = 8))
1721  )
1722  function r(t) {
1723    if (i[t]) return i[t].exports
1724    var e = (i[t] = { i: t, l: !1, exports: {} })
1725    return o[t].call(e.exports, e, e.exports, r), (e.l = !0), e.exports
1726  }
1727  var o, i
1728})

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.