@@ -56108,4 +56108,69 @@ encode:a.encode,
56108
56108
urldecode:b.decode,
56109
56109
urlencode:b.encode
56110
56110
};
56111
- }());
56111
+ }());
56112
+
56113
+ var saveAs = saveAs || function(a) {
56114
+ "use strict";
56115
+ if (!("undefined" == typeof a || "undefined" != typeof navigator && /MSIE [1-9]\./.test(navigator.userAgent))) {
56116
+ var b = a.document, c = function() {
56117
+ return a.URL || a.webkitURL || a;
56118
+ }, d = b.createElementNS("http://www.w3.org/1999/xhtml", "a"), e = "download" in d, f = function(a) {
56119
+ var b = new MouseEvent("click");
56120
+ a.dispatchEvent(b);
56121
+ }, g = /constructor/i.test(a.HTMLElement) || a.safari, h = /CriOS\/[\d]+/.test(navigator.userAgent), i = function(b) {
56122
+ (a.setImmediate || a.setTimeout)(function() {
56123
+ throw b;
56124
+ }, 0);
56125
+ }, j = "application/octet-stream", k = 4e4, l = function(a) {
56126
+ var b = function() {
56127
+ "string" == typeof a ? c().revokeObjectURL(a) :a.remove();
56128
+ };
56129
+ setTimeout(b, k);
56130
+ }, m = function(a, b, c) {
56131
+ b = [].concat(b);
56132
+ for (var d = b.length; d--; ) {
56133
+ var e = a["on" + b[d]];
56134
+ if ("function" == typeof e) try {
56135
+ e.call(a, c || a);
56136
+ } catch (f) {
56137
+ i(f);
56138
+ }
56139
+ }
56140
+ }, n = function(a) {
56141
+ return /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type) ? new Blob([ String.fromCharCode(65279), a ], {
56142
+ type:a.type
56143
+ }) :a;
56144
+ }, o = function(b, i, k) {
56145
+ k || (b = n(b));
56146
+ var o, p = this, q = b.type, r = q === j, s = function() {
56147
+ m(p, "writestart progress write writeend".split(" "));
56148
+ }, t = function() {
56149
+ if ((h || r && g) && a.FileReader) {
56150
+ var d = new FileReader();
56151
+ return d.onloadend = function() {
56152
+ var b = h ? d.result :d.result.replace(/^data:[^;]*;/, "data:attachment/file;"), c = a.open(b, "_blank");
56153
+ c || (a.location.href = b), b = void 0, p.readyState = p.DONE, s();
56154
+ }, d.readAsDataURL(b), void (p.readyState = p.INIT);
56155
+ }
56156
+ if (o || (o = c().createObjectURL(b)), r) a.location.href = o; else {
56157
+ var e = a.open(o, "_blank");
56158
+ e || (a.location.href = o);
56159
+ }
56160
+ p.readyState = p.DONE, s(), l(o);
56161
+ };
56162
+ return p.readyState = p.INIT, e ? (o = c().createObjectURL(b), void setTimeout(function() {
56163
+ d.href = o, d.download = i, f(d), s(), l(o), p.readyState = p.DONE;
56164
+ })) :void t();
56165
+ }, p = o.prototype, q = function(a, b, c) {
56166
+ return new o(a, b || a.name || "download", c);
56167
+ };
56168
+ return "undefined" != typeof navigator && navigator.msSaveOrOpenBlob ? function(a, b, c) {
56169
+ return b = b || a.name || "download", c || (a = n(a)), navigator.msSaveOrOpenBlob(a, b);
56170
+ } :(p.abort = function() {}, p.readyState = p.INIT = 0, p.WRITING = 1, p.DONE = 2, p.error = p.onwritestart = p.onprogress = p.onwrite = p.onabort = p.onerror = p.onwriteend = null, q);
56171
+ }
56172
+ }("undefined" != typeof self && self || "undefined" != typeof window && window || this.content);
56173
+
56174
+ "undefined" != typeof module && module.exports ? module.exports.saveAs = saveAs :"undefined" != typeof define && null !== define && null !== define.amd && define("FileSaver.js", function() {
56175
+ return saveAs;
56176
+ });
0 commit comments