You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/public/js/app.js

2 lines
42 KiB
JavaScript

/*! For license information please see app.js.LICENSE.txt */
(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[5847],{7640:(e,o,t)=>{"use strict";t.r(o)},9901:function(){function e(o){return e="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(o)}!function(){var o="object"===("undefined"==typeof window?"undefined":e(window))?window:"object"===("undefined"==typeof self?"undefined":e(self))?self:this,t=o.BlobBuilder||o.WebKitBlobBuilder||o.MSBlobBuilder||o.MozBlobBuilder;o.URL=o.URL||o.webkitURL||function(e,o){return(o=document.createElement("a")).href=e,o};var r=o.Blob,a=URL.createObjectURL,i=URL.revokeObjectURL,s=o.Symbol&&o.Symbol.toStringTag,n=!1,c=!1,d=!!o.ArrayBuffer,u=t&&t.prototype.append&&t.prototype.getBlob;try{n=2===new Blob(["ä"]).size,c=2===new Blob([new Uint8Array([1,2])]).size}catch(e){}function p(e){return e.map((function(e){if(e.buffer instanceof ArrayBuffer){var o=e.buffer;if(e.byteLength!==o.byteLength){var t=new Uint8Array(e.byteLength);t.set(new Uint8Array(o,e.byteOffset,e.byteLength)),o=t.buffer}return o}return e}))}function m(e,o){o=o||{};var r=new t;return p(e).forEach((function(e){r.append(e)})),o.type?r.getBlob(o.type):r.getBlob()}function f(e,o){return new r(p(e),o||{})}o.Blob&&(m.prototype=Blob.prototype,f.prototype=Blob.prototype);var h="function"==typeof TextEncoder?TextEncoder.prototype.encode.bind(new TextEncoder):function(e){for(var t=0,r=e.length,a=o.Uint8Array||Array,i=0,s=Math.max(32,r+(r>>1)+7),n=new a(s>>3<<3);t<r;){var l=e.charCodeAt(t++);if(l>=55296&&l<=56319){if(t<r){var c=e.charCodeAt(t);56320==(64512&c)&&(++t,l=((1023&l)<<10)+(1023&c)+65536)}if(l>=55296&&l<=56319)continue}if(i+4>n.length){s+=8,s=(s*=1+t/e.length*2)>>3<<3;var d=new Uint8Array(s);d.set(n),n=d}if(4294967168&l){if(4294965248&l)if(4294901760&l){if(4292870144&l)continue;n[i++]=l>>18&7|240,n[i++]=l>>12&63|128,n[i++]=l>>6&63|128}else n[i++]=l>>12&15|224,n[i++]=l>>6&63|128;else n[i++]=l>>6&31|192;n[i++]=63&l|128}else n[i++]=l}return n.slice(0,i)},y="function"==typeof TextDecoder?TextDecoder.prototype.decode.bind(new TextDecoder):function(e){for(var o=e.length,t=[],r=0;r<o;){var a,i,s,n,l=e[r],c=null,d=l>239?4:l>223?3:l>191?2:1;if(r+d<=o)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(a=e[r+1]))&&(n=(31&l)<<6|63&a)>127&&(c=n);break;case 3:a=e[r+1],i=e[r+2],128==(192&a)&&128==(192&i)&&(n=(15&l)<<12|(63&a)<<6|63&i)>2047&&(n<55296||n>57343)&&(c=n);break;case 4:a=e[r+1],i=e[r+2],s=e[r+3],128==(192&a)&&128==(192&i)&&128==(192&s)&&(n=(15&l)<<18|(63&a)<<12|(63&i)<<6|63&s)>65535&&n<1114112&&(c=n)}null===c?(c=65533,d=1):c>65535&&(c-=65536,t.push(c>>>10&1023|55296),c=56320|1023&c),t.push(c),r+=d}var u=t.length,p="";for(r=0;r<u;)p+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return p};function g(){var e=!!o.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,t=o.XMLHttpRequest&&o.XMLHttpRequest.prototype.send;e&&t&&(XMLHttpRequest.prototype.send=function(e){e instanceof Blob?(this.setRequestHeader("Content-Type",e.type),t.call(this,e)):t.call(this,e)});try{new File([],"")}catch(e){try{var r=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')();o.File=r}catch(e){r=function(e,o,t){var r=new Blob(e,t),a=t&&void 0!==t.lastModified?new Date(t.lastModified):new Date;return r.name=o.replace(/\//g,":"),r.lastModifiedDate=a,r.lastModified=+a,r.toString=function(){return"[object File]"},s&&(r[s]="File"),r};o.File=r}}}n?(g(),o.Blob=c?o.Blob:f):u?(g(),o.Blob=m):function(){function e(e){for(var o=new Array(e.byteLength),t=new Uint8Array(e),r=o.length;r--;)o[r]=t[r];return o}function t(e){for(var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",t=[],r=0;r<e.length;r+=3){var a=e[r],i=r