pixelfed/public/js/admin.js

2 lines
293 KiB
JavaScript
Raw Normal View History

2022-02-18 05:31:41 +00:00
/*! For license information please see admin.js.LICENSE.txt */
2024-10-06 06:53:38 +00:00
(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[9567],{95366:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var s=a(2e4);a(87980);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function n(){n=function(){return e};var t,e={},a=Object.prototype,s=a.hasOwnProperty,o=Object.defineProperty||function(t,e,a){t[e]=a.value},r="function"==typeof Symbol?Symbol:{},l=r.iterator||"@@iterator",c=r.asyncIterator||"@@asyncIterator",d=r.toStringTag||"@@toStringTag";function u(t,e,a){return Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,a){return t[e]=a}}function m(t,e,a,s){var i=e&&e.prototype instanceof b?e:b,n=Object.create(i.prototype),r=new D(s||[]);return o(n,"_invoke",{value:A(t,a,r)}),n}function p(t,e,a){try{return{type:"normal",arg:t.call(e,a)}}catch(t){return{type:"throw",arg:t}}}e.wrap=m;var v="suspendedStart",f="suspendedYield",h="executing",g="completed",_={};function b(){}function C(){}function w(){}var y={};u(y,l,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(M([])));k&&k!==a&&s.call(k,l)&&(y=k);var S=w.prototype=b.prototype=Object.create(y);function R(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function a(n,o,r,l){var c=p(t[n],t,o);if("throw"!==c.type){var d=c.arg,u=d.value;return u&&"object"==i(u)&&s.call(u,"__await")?e.resolve(u.__await).then((function(t){a("next",t,r,l)}),(function(t){a("throw",t,r,l)})):e.resolve(u).then((function(t){d.value=t,r(d)}),(function(t){return a("throw",t,r,l)}))}l(c.arg)}var n;o(this,"_invoke",{value:function(t,s){function i(){return new e((function(e,i){a(t,s,e,i)}))}return n=n?n.then(i,i):i()}})}function A(e,a,s){var i=v;return function(n,o){if(i===h)throw Error("Generator is already running");if(i===g){if("throw"===n)throw o;return{value:t,done:!0}}for(s.method=n,s.arg=o;;){var r=s.delegate;if(r){var l=I(r,s);if(l){if(l===_)continue;return l}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(i===v)throw i=g,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);i=h;var c=p(e,a,s);if("normal"===c.type){if(i=s.done?g:f,c.arg===_)continue;return{value:c.arg,done:s.done}}"throw"===c.type&&(i=g,s.method="throw",s.arg=c.arg)}}}function I(e,a){var s=a.method,i=e.iterator[s];if(i===t)return a.delegate=null,"throw"===s&&e.iterator.return&&(a.method="return",a.arg=t,I(e,a),"throw"===a.method)||"return"!==s&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+s+"' method")),_;var n=p(i,e.iterator,a.arg);if("throw"===n.type)return a.method="throw",a.arg=n.arg,a.delegate=null,_;var o=n.arg;return o?o.done?(a[e.resultName]=o.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=t),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function M(e){if(e||""===e){var a=e[l];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function a(){for(;++n<e.length;)if(s.call(e,n))return a.value=e[n],a.done=!1,a;return a.value=t,a.done=!0,a};return o.next=o}}throw new TypeError(i(e)+" is not iterable")}return C.prototype=w,o(S,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:C,configurable:!0}),C.displayName=u(w,d,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===C||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,u(t,d