wiki/static/js/excalidraw-assets/vendor-881ef50682618d9bd3d3.js

2 lines
52 KiB
JavaScript
Raw Permalink Normal View History

2022-09-02 17:44:10 +08:00
/*! For license information please see vendor-881ef50682618d9bd3d3.js.LICENSE.txt */
(self.webpackChunkExcalidraw=self.webpackChunkExcalidraw||[]).push([[736],{6233:function(t,e){var a;a=function(t){t.version="0.3.0";var e=function(){for(var t=0,e=new Array(256),a=0;256!=a;++a)t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=a)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1,e[a]=t;return"undefined"!=typeof Int32Array?new Int32Array(e):e}(),a="undefined"!=typeof Buffer;function n(t){for(var a=-1,n=0,i=t.length-7;n<i;)a=(a=(a=(a=(a=(a=(a=(a=a>>>8^e[255&(a^t[n++])])>>>8^e[255&(a^t[n++])])>>>8^e[255&(a^t[n++])])>>>8^e[255&(a^t[n++])])>>>8^e[255&(a^t[n++])])>>>8^e[255&(a^t[n++])])>>>8^e[255&(a^t[n++])])>>>8^e[255&(a^t[n++])];for(;n<i+7;)a=a>>>8^e[255&(a^t[n++])];return-1^a}t.table=e,t.bstr=function(t){if(t.length>32768&&a)return n(new Buffer(t));for(var i=-1,r=t.length-1,s=0;s<r;)i=e[255&(i^t.charCodeAt(s++))]^i>>>8,i=e[255&(i^t.charCodeAt(s++))]^i>>>8;return s===r&&(i=i>>>8^e[255&(i^t.charCodeAt(s))]),-1^i},t.buf=function(t){if(t.length>1e4)return n(t);for(var a=-1,i=0,r=t.length-3;i<r;)a=(a=(a=(a=a>>>8^e[255&(a^t[i++])])>>>8^e[255&(a^t[i++])])>>>8^e[255&(a^t[i++])])>>>8^e[255&(a^t[i++])];for(;i<r+3;)a=a>>>8^e[255&(a^t[i++])];return-1^a},t.str=function(t){for(var a,n,i=-1,r=0,s=t.length;r<s;)(a=t.charCodeAt(r++))<128?i=i>>>8^e[255&(i^a)]:a<2048?i=(i=i>>>8^e[255&(i^(192|a>>6&31))])>>>8^e[255&(i^(128|63&a))]:a>=55296&&a<57344?(a=64+(1023&a),n=1023&t.charCodeAt(r++),i=(i=(i=(i=i>>>8^e[255&(i^(240|a>>8&7))])>>>8^e[255&(i^(128|a>>2&63))])>>>8^e[255&(i^(128|n>>6&15|3&a))])>>>8^e[255&(i^(128|63&n))]):i=(i=(i=i>>>8^e[255&(i^(224|a>>12&15))])>>>8^e[255&(i^(128|a>>6&63))])>>>8^e[255&(i^(128|63&a))];return-1^i}},"undefined"==typeof DO_NOT_EXPORT_CRC?a(e):a({})},2744:function(t,e,a){"use strict";var n={};(0,a(9187).assign)(n,a(4395),a(578),a(2684)),t.exports=n},4395:function(t,e,a){"use strict";var n=a(7651),i=a(9187),r=a(8592),s=a(5604),o=a(249),l=Object.prototype.toString;function h(t){if(!(this instanceof h))return new h(t);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var a=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==a)throw new Error(s[a]);if(e.header&&n.deflateSetHeader(this.strm,e.header),e.dictionary){var d;if(d="string"==typeof e.dictionary?r.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(a=n.deflateSetDictionary(this.strm,d)))throw new Error(s[a]);this._dict_set=!0}}function d(t,e){var a=new h(e);if(a.push(t,!0),a.err)throw a.msg||s[a.err];return a.result}h.prototype.push=function(t,e){var a,s,o=this.strm,h=this.options.chunkSize;if(this.ended)return!1;s=e===~~e?e:!0===e?4:0,"string"==typeof t?o.input=r.string2buf(t):"[object ArrayBuffer]"===l.call(t)?o.input=new Uint8Array(t):o.input=t,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new i.Buf8(h),o.next_out=0,o.avail_out=h),1!==(a=n.deflate(o,s))&&0!==a)return this.onEnd(a),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||4!==s&&2!==s)||("string"===this.options.to?this.onData(r.buf2binstring(i.shrinkBuf(o.output,o.next_out))):this.onData(i.shrinkBuf(o.output,o.next_out)))}while((o.avail_in>0||0===o.avail_out)&&1!==a);return 4===s?(a=n.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,0===a):2!==s||(this.onEnd(0),o.avail_out=0,!0)},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Deflate=h,e.deflate=d,e.deflateRaw=function(t,e){return(e=e||{}).raw=!0,d(t,e)},e.gzip=function(t,e){return(e=e||{}).gzip=!0,d(t,e)}},578:function(t