ctrlpanel/public/plugins/pdfmake/pdfmake.min.js

3 lines
1.2 MiB
JavaScript
Raw Permalink Normal View History

/*! pdfmake v0.1.70, @license MIT, @link http://pdfmake.org */
!function webpackUniversalModuleDefinition(n,i){if("object"==typeof exports&&"object"==typeof module)module.exports=i();else if("function"==typeof define&&define.amd)define([],i);else{var o=i();for(var u in o)("object"==typeof exports?exports:n)[u]=o[u]}}("undefined"!=typeof self?self:this,(function(){return function(n){var i={};function __webpack_require__(o){if(i[o])return i[o].exports;var u=i[o]={i:o,l:!1,exports:{}};return n[o].call(u.exports,u,u.exports,__webpack_require__),u.l=!0,u.exports}return __webpack_require__.m=n,__webpack_require__.c=i,__webpack_require__.d=function(n,i,o){__webpack_require__.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:o})},__webpack_require__.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},__webpack_require__.t=function(n,i){if(1&i&&(n=__webpack_require__(n)),8&i)return n;if(4&i&&"object"==typeof n&&n&&n.__esModule)return n;var o=Object.create(null);if(__webpack_require__.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:n}),2&i&&"string"!=typeof n)for(var u in n)__webpack_require__.d(o,u,function(i){return n[i]}.bind(null,u));return o},__webpack_require__.n=function(n){var i=n&&n.__esModule?function getDefault(){return n.default}:function getModuleExports(){return n};return __webpack_require__.d(i,"a",i),i},__webpack_require__.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=302)}([function(n,i,o){"use strict";function isArray(n){return Array.isArray(n)}n.exports={isString:function isString(n){return"string"==typeof n||n instanceof String},isNumber:function isNumber(n){return"number"==typeof n||n instanceof Number},isBoolean:function isBoolean(n){return"boolean"==typeof n},isArray:isArray,isFunction:function isFunction(n){return"function"==typeof n},isObject:function isObject(n){return null!==n&&"object"==typeof n},isNull:function isNull(n){return null===n},isUndefined:function isUndefined(n){return void 0===n},pack:function pack(){for(var n={},i=0,o=arguments.length;i<o;i++){var u=arguments[i];if(u)for(var p in u)u.hasOwnProperty(p)&&(n[p]=u[p])}return n},fontStringify:function fontStringify(n,i){return"font"===n?"font":i},offsetVector:function offsetVector(n,i,o){switch(n.type){case"ellipse":case"rect":n.x+=i,n.y+=o;break;case"line":n.x1+=i,n.x2+=i,n.y1+=o,n.y2+=o;break;case"polyline":for(var u=0,p=n.points.length;u<p;u++)n.points[u].x+=i,n.points[u].y+=o}},getNodeId:function getNodeId(n){if(n.id)return n.id;if(isArray(n.text))for(var i=0,o=n.text.length;i<o;i++){var u=getNodeId(n.text[i]);if(u)return u}return null}}},function(n,i,o){var u=o(3),p=o(54).f,g=o(18),y=o(25),w=o(139),x=o(203),_=o(145);n.exports=function(n,i){var o,k,P,E,O,B=n.target,I=n.global,D=n.stat;if(o=I?u:D?u[B]||w(B,{}):(u[B]||{}).prototype)for(k in i){if(E=i[k],P=n.noTargetGet?(O=p(o,k))&&O.value:o[k],!_(I?k:B+(D?".":"#")+k,n.forced)&&void 0!==P){if(typeof E==typeof P)continue;x(E,P)}(n.sham||P&&P.sham)&&g(E,"sham",!0),y(o,k,E,n)}}},function(n,i,o){var u;n.exports=(u=u||function(n,i){var o=Object.create||function(){function F(){}return function(n){var i;return F.prototype=n,i=new F,F.prototype=null,i}}(),u={},p=u.lib={},g=p.Base={extend:function(n){var i=o(this);return n&&i.mixIn(n),i.hasOwnProperty("init")&&this.init!==i.init||(i.init=function(){i.$super.init.apply(this,arguments)}),i.init.prototype=i,i.$super=this,i},create:function(){var n=this.extend();return n.init.apply(n,arguments),n},init:function(){},mixIn:function(n){for(var i in n)n.hasOwnProperty(i)&&(this[i]=n[i]);n.hasOwnProperty("toString")&&(this.toString=n.toString)},clone:function(){return this.init.prototype.extend(this)}},y=p.WordArray=g.extend({init:function(n,i){n=this.words=n||[],this.sigBytes=null!=i?i:4*n.length},toString:function(n){return(n||x).stringify(this)},concat:function(n){var i=this.words,o=n.words,u=this.sigBytes,p=n.sigBytes;if(this.clamp(),u%4)for(var g=0;g<p;g++){var y=o[g>>>2]>>>24-g%4*8&255;i[u+g>>>2]|
//# sourceMappingURL=pdfmake.min.js.map