pixelfed/public/js/app.js

1 line
1.1 MiB
JavaScript
Raw Normal View History

2018-06-04 02:19:46 +00:00
!function(t){var e={};function c(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.m=t,c.c=e,c.d=function(t,e,n){c.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},c.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return c.d(e,"a",e),e},c.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},c.p="/",c(c.s=0)}({"/7en":function(t,e,c){var n,r;"undefined"!=typeof window&&window,void 0===(r="function"==typeof(n=function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var c=this._events=this._events||{},n=c[t]=c[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var c=this._onceEvents=this._onceEvents||{};return(c[t]=c[t]||{})[e]=!0,this}},e.off=function(t,e){var c=this._events&&this._events[t];if(c&&c.length){var n=c.indexOf(e);return-1!=n&&c.splice(n,1),this}},e.emitEvent=function(t,e){var c=this._events&&this._events[t];if(c&&c.length){c=c.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],r=0;r<c.length;r++){var i=c[r];n&&n[i]&&(this.off(t,i),delete n[i]),i.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})?n.call(e,c,e,t):n)||(t.exports=r)},0:function(t,e,c){c("sV/x"),t.exports=c("xZZD")},"162o":function(t,e,c){(function(t){var n=Function.prototype.apply;function r(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new r(n.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new r(n.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},c("mypn"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(e,c("DuR2"))},"21It":function(t,e,c){"use strict";var n=c("FtD3");t.exports=function(t,e,c){var r=c.config.validateStatus;c.status&&r&&!r(c.status)?e(n("Request failed with status code "+c.status,c.config,null,c.request,c)):t(c)}},"3H+/":function(t,e,c){var n,r;!function(i,o){n=[c("/7en"),c("h803")],void 0===(r=function(t,e){return o(i,t,e)}.apply(e,n))||(t.exports=r)}(window,function(t,e,c){var n=t.jQuery,r={};function i(t,e){var o=c.getQueryElement(t);if(o){if((t=o).infiniteScrollGUID){var l=r[t.infiniteScrollGUID];return l.option(e),l}this.element=t,this.options=c.extend({},i.defaults),this.option(e),n&&(this.$element=n(this.element)),this.create()}else console.error("Bad element for InfiniteScroll: "+(o||t))}i.defaults={},i.create={},i.destroy={};var o=i.prototype;c.extend(o,e.prototype);var l=0;o.create=function(){var t=this.guid=++l;if(this.element.infiniteScrollGUID=t,r[t]=this,this.pageIndex=1,this.loadCount=0,this.updateGetPath(),this.getPath&&this.getPath())for(var e in this.updateGetAbsolutePath(),this.log("initialized",[this.element.className]),this.callOnInit(),i.create)i.create[e].call(this);else console.error("Disabling InfiniteScroll")},o.option=function(t){c.extend(this.options,t)},o.callOnInit=function(){var t=this.options.onInit;t&&t.call(this,this)},o.dispatchEvent=function(t,e,c){this.log(t,c);var r=e?[e].concat(c):c;if(this.emitEvent(t,r),n&&this.$element){var i=t+=".infiniteScroll";if(e){var o=n.Event(e);o.type=t,i=o}this.$element.trigger(i,c)}};var s={initialized:function(t){return"on "+t},request:function(t){return"URL: "+t},load:function(t,e){return(t.title||"")+". URL: "+e},error:function(t,e){return t+". URL: "+e},append:functi