pixelfed/public/js/app.js

1 line
26 KiB
JavaScript
Raw Normal View History

2021-10-20 01:47:12 +00:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"+lRy":function(e,t){},0:function(e,t,r){r("JO1w"),r("+lRy"),r("xWuY"),r("BLqG"),r("YfGV"),e.exports=r("RvBz")},"8FsP":function(e,t){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(){var e="object"===("undefined"==typeof window?"undefined":r(window))?window:"object"===("undefined"==typeof self?"undefined":r(self))?self:this,t=e.BlobBuilder||e.WebKitBlobBuilder||e.MSBlobBuilder||e.MozBlobBuilder;e.URL=e.URL||e.webkitURL||function(e,t){return(t=document.createElement("a")).href=e,t};var n=e.Blob,o=URL.createObjectURL,i=URL.revokeObjectURL,a=e.Symbol&&e.Symbol.toStringTag,s=!1,u=!1,f=!!e.ArrayBuffer,c=t&&t.prototype.append&&t.prototype.getBlob;try{s=2===new Blob(["ä"]).size,u=2===new Blob([new Uint8Array([1,2])]).size}catch(e){}function h(e){return e.map((function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var r=new Uint8Array(e.byteLength);r.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=r.buffer}return t}return e}))}function d(e,r){r=r||{};var n=new t;return h(e).forEach((function(e){n.append(e)})),r.type?n.getBlob(r.type):n.getBlob()}function p(e,t){return new n(h(e),t||{})}e.Blob&&(d.prototype=Blob.prototype,p.prototype=Blob.prototype);var b="function"==typeof TextEncoder?TextEncoder.prototype.encode.bind(new TextEncoder):function(t){for(var r=0,n=t.length,o=e.Uint8Array||Array,i=0,a=Math.max(32,n+(n>>1)+7),s=new o(a>>3<<3);r<n;){var l=t.charCodeAt(r++);if(l>=55296&&l<=56319){if(r<n){var u=t.charCodeAt(r);56320==(64512&u)&&(++r,l=((1023&l)<<10)+(1023&u)+65536)}if(l>=55296&&l<=56319)continue}if(i+4>s.length){a+=8,a=(a*=1+r/t.length*2)>>3<<3;var f=new Uint8Array(a);f.set(s),s=f}if(0!=(4294967168&l)){if(0==(4294965248&l))s[i++]=l>>6&31|192;else if(0==(4294901760&l))s[i++]=l>>12&15|224,s[i++]=l>>6&63|128;else{if(0!=(4292870144&l))continue;s[i++]=l>>18&7|240,s[i++]=l>>12&63|128,s[i++]=l>>6&63|128}s[i++]=63&l|128}else s[i++]=l}return s.slice(0,i)},y="function"==typeof TextDecoder?TextDecoder.prototype.decode.bind(new TextDecoder):function(e){for(var t=e.length,r=[],n=0;n<t;){var o,i,a,s,l=e[n],u=null,f=l>239?4:l>223?3:l>191?2:1;if(n+f<=t)switch(f){case 1:l<128&&(u=l);break;case 2:128==(192&(o=e[n+1]))&&(s=(31&l)<<6|63&o)>127&&(u=s);break;case 3:o=e[n+1],i=e[n+2],128==(192&o)&&128==(192&i)&&(s=(15&l)<<12|(63&o)<<6|63&i)>2047&&(s<55296||s>57343)&&(u=s);break;case 4:o=e[n+1],i=e[n+2],a=e[n+3],128==(192&o)&&128==(192&i)&&128==(192&a)&&(s=(15&l)<<18|(63&o)<<12|(63&i)<<6|63&a)>65535&&s<1114112&&(u=s)}null===u?(u=65533,f=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),n+=f}var c=r.length,h="";for(n=0;n<c;)h+=String.fromCharCode.apply(String,r.slice(n,n+=4096));return h};function w(){var t=!!e.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,r=e.XMLHttpRequest&&e.XMLHttpRequest.prototype.send;t&&r&&(XMLHttpRequest.prototype.send=function(e){e instanceof Blob?(this.setRequestHeader("Content-Type",e.type),r.call(this,e)):r.call(this,e)});try{new File([],"")}catch(t){try{var n=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name.replace(///g, ":");this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date();this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();e.File=n}catch(t){n=function(e,t,r){var n=new Blob(e,r),o=r&&void 0!==r.lastModified?new Date(r.lastModified):new Date;return n.name=t.replace(/\//g,":"),n.lastModifiedDate=o,n.lastModified=+o,n.toString=function(){return"[object File]"},a&&(n[a]="File"),n};e.File=n}}}s?(w(),e.Blob=u?e.Blob:p):c?(w(),e.Blob=d):function(){function t(e){for(var t=new Array(e.byteLength),r=new Uint8Array(e),n=t.length;n--;)t[n]=r[n];return t}function r(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVW