Pleroma/priv/static/static/js/3.bde677e65143f0cd1105.js

21 lines
77 KiB
JavaScript
Raw Normal View History

(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{626:function(t,e,a){var n=a(240),i=a(239),r=a(241);t.exports=function(t){return n(t)||i(t)||r()}},648:function(t,e,a){var n=a(242),i=a(243),r=a(649),o=a(650),s=a(244),h=a(55),c=/^\s+|\s+$/g;t.exports=function(t,e,a){if((t=h(t))&&(a||void 0===e))return t.replace(c,"");if(!t||!(e=n(e)))return t;var u=s(t),l=s(e),d=o(u,l),m=r(u,l)+1;return i(u,d,m).join("")}},649:function(t,e,a){var n=a(156);t.exports=function(t,e){for(var a=t.length;a--&&n(e,t[a],0)>-1;);return a}},650:function(t,e,a){var n=a(156);t.exports=function(t,e){for(var a=-1,i=t.length;++a<i&&n(e,t[a],0)>-1;);return a}},659:function(t,e,a){"use strict";(function(t){
/*!
* vue-qrcode v1.0.0
* https://fengyuanchen.github.io/vue-qrcode
*
* Copyright 2018-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-10-21T13:04:02.951Z
*/
var a="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function n(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}var i=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t,e){t.exports=function t(e,a,i){function r(s,h){if(!a[s]){if(!e[s]){if(!h&&n)return n();if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=a[s]={exports:{}};e[s][0].call(u.exports,(function(t){return r(e[s][1][t]||t)}),u,u.exports,t,e,a,i)}return a[s].exports}for(var o=n,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(t,e,a){var n=t("./utils").getSymbolSize;a.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,a=n(t),i=145===a?26:2*Math.ceil((a-13)/(2*e-2)),r=[a-7],o=1;o<e-1;o++)r[o]=r[o-1]-i;return r.push(6),r.reverse()},a.getPositions=function(t){for(var e=[],n=a.getRowColCoords(t),i=n.length,r=0;r<i;r++)for(var o=0;o<i;o++)0===r&&0===o||0===r&&o===i-1||r===i-1&&0===o||e.push([n[r],n[o]]);return e}},{"./utils":20}],2:[function(t,e,a){var n=t("./mode"),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function r(t){this.mode=n.ALPHANUMERIC,this.data=t}r.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var a=45*i.indexOf(this.data[e]);a+=i.indexOf(this.data[e+1]),t.put(a,11)}this.data.length%2&&t.put(i.indexOf(this.data[e]),6)},e.exports=r},{"./mode":13}],3:[function(t,e,a){function n(){this.buffer=[],this.length=0}n.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var a=0;a<e;a++)this.putBit(1==(t>>>e-a-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},e.exports=n},{}],4:[function(t,e,a){var n=t("../utils/buffer");function i(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new n(t*t),this.data.fill(0),this.reservedBit=new n(t*t),this.reservedBit.fill(0)}i.prototype.set=function(t,e,a,n){var i=t*this.size+e;this.data[i]=a,n&&(this.reservedBit[i]=!0)},i.prototype.get=function(t,e){return this.data[t*this.size+e]},i.prototype.xor=function(t,e,a){this.data[t*this.size+e]^=a},i.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},e.exports=i},{"../utils/buffer":27}],5:[function(t,e,a){var n=t("../utils/buffer"),i=t("./mode");function r(t){this.mode=i.BYTE,this.data=new n(t)}r.getBitsLength=function(t){return 8*t},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){for(var e=0,a=this.data.length;e<a;e++)t.put(this.data[e],8)},e.exports=r},{"../utils/buffer":27,"./mode":13}],6:[function(t,e,a){var n=t("./error-correction-level"),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],r=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,
/*!
* Cropper.js v1.4.3
* https://fengyuanchen.github.io/cropperjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-10-24T13:07:15.032Z
*/function n(t){return(n="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})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var a=0;a<e.length;a++){var n=e[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t){return function(t){if(Array.isArray(t)){for(var e=0,a=new Array(t.length);e<t.length;e++)a[e]=t[e];return a}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var s="undefined"!=typeof window,h=s?window:{},c="".concat("cropper","-crop"),u="".concat("cropper","-disabled"),l="".concat("cropper","-hidden"),d="".concat("cropper","-hide"),m="".concat("cropper","-invisible"),f="".concat("cropper","-modal"),p="".concat("cropper","-move"),g="".concat("cropper","Action"),v="".concat("cropper","Preview"),w=h.PointerEvent?"pointerdown":"touchstart mousedown",y=h.PointerEvent?"pointermove":"touchmove mousemove",b=h.PointerEvent?"pointerup pointercancel":"touchend touchcancel mouseup",N=/^(?:e|w|s|n|se|sw|ne|nw|all|crop|move|zoom)$/,x=/^data:/,C=/^data:image\/jpeg;base64,/,M=/^(?:img|canvas)$/i,E={viewMode:0,dragMode:"crop",initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},k=Number.isNaN||h.isNaN;function B(t){return"number"==typeof t&&!k(t)}function T(t){return void 0===t}function A(t){return"object"===n(t)&&null!==t}var D=Object.prototype.hasOwnProperty;function R(t){if(!A(t))return!1;try{var e=t.constructor,a=e.prototype;return e&&a&&D.call(a,"isPrototypeOf")}catch(t){return!1}}function S(t){return"function"==typeof t}function L(t,e){if(t&&S(e))if(Array.isArray(t)||B(t.length)){var a,n=t.length;for(a=0;a<n&&!1!==e.call(t,t[a],a,t);a+=1);}else A(t)&&Object.keys(t).forEach((function(a){e.call(t,t[a],a,t)}));return t}var P=Object.assign||function(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),n=1;n<e;n++)a[n-1]=arguments[n];return A(t)&&a.length>0&&a.forEach((function(e){A(e)&&Object.keys(e).forEach((function(a){t[a]=e[a]}))})),t},I=/\.\d*(?:0|9){12}\d*$/;function z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return I.test(t)?Math.round(t*e)/e:t}var O=/^(?:width|height|left|top|marginLeft|marginTop)$/;function Y(t,e){var a=t.style;L(e,(function(t,e){O.test(e)&&B(t)&&(t+="px"),a[e]=t}))}function H(t,e){if(e)if(B(t.length))L(t,(function(t){H(t,e)}));else if(t.classList)t.classList.add(e);else{var a=t.className.trim();a?a.indexOf(e)<0&&(t.className="".concat(a," ").concat(e)):t.className=e}}function U(t,e){e&&(B(t.length)?L(t,(function(t){U(t,e)})):t.classList?t.classList.remove(e):t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,"")))}function j(t,e,a){e&&(B(t.length)?L(t,(function(t){j(t,e,a)})):a?H(t,e):U(t,e))}var _=/([a-z\d])([A-Z])/g;function W(t){return t.replace(_,"$1-$2").toLowerCase()}function X(t,e){return A(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(W(e)))}function K(t,e,a){A(a)?t[e]=a:t.dataset?t.dataset[e]=a:t.setAttribute("data-".concat(W(e)),a)}var F=/\s\s*/,q=function(){var t=!1;if(s){var e=!1,a=function(){},n=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(t){e=t}});h.addEventListener("test",a,n),h.removeEventListener("test",a,n)}return t}();function J(t,e,a){var
//# sourceMappingURL=3.bde677e65143f0cd1105.js.map